diff --git a/snaps-simulator/2.4.2/197e6c5de22e1c2551e0.svg b/snaps-simulator/2.4.2/197e6c5de22e1c2551e0.svg new file mode 100644 index 0000000000..60252b600b --- /dev/null +++ b/snaps-simulator/2.4.2/197e6c5de22e1c2551e0.svg @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/snaps-simulator/2.4.2/6d7a85270ea40d85523a.svg b/snaps-simulator/2.4.2/6d7a85270ea40d85523a.svg new file mode 100644 index 0000000000..6f627f30fe --- /dev/null +++ b/snaps-simulator/2.4.2/6d7a85270ea40d85523a.svg @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/snaps-simulator/2.4.2/assets/android-chrome-144x144.png b/snaps-simulator/2.4.2/assets/android-chrome-144x144.png new file mode 100644 index 0000000000..5a2e2db54a Binary files /dev/null and b/snaps-simulator/2.4.2/assets/android-chrome-144x144.png differ diff --git a/snaps-simulator/2.4.2/assets/android-chrome-192x192.png b/snaps-simulator/2.4.2/assets/android-chrome-192x192.png new file mode 100644 index 0000000000..7dfff809b3 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/android-chrome-192x192.png differ diff --git a/snaps-simulator/2.4.2/assets/android-chrome-256x256.png b/snaps-simulator/2.4.2/assets/android-chrome-256x256.png new file mode 100644 index 0000000000..21b1d96065 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/android-chrome-256x256.png differ diff --git a/snaps-simulator/2.4.2/assets/android-chrome-36x36.png b/snaps-simulator/2.4.2/assets/android-chrome-36x36.png new file mode 100644 index 0000000000..274dff6457 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/android-chrome-36x36.png differ diff --git a/snaps-simulator/2.4.2/assets/android-chrome-384x384.png b/snaps-simulator/2.4.2/assets/android-chrome-384x384.png new file mode 100644 index 0000000000..59ff6ae078 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/android-chrome-384x384.png differ diff --git a/snaps-simulator/2.4.2/assets/android-chrome-48x48.png b/snaps-simulator/2.4.2/assets/android-chrome-48x48.png new file mode 100644 index 0000000000..fc05b7b28b Binary files /dev/null and b/snaps-simulator/2.4.2/assets/android-chrome-48x48.png differ diff --git a/snaps-simulator/2.4.2/assets/android-chrome-512x512.png b/snaps-simulator/2.4.2/assets/android-chrome-512x512.png new file mode 100644 index 0000000000..3512ba197c Binary files /dev/null and b/snaps-simulator/2.4.2/assets/android-chrome-512x512.png differ diff --git a/snaps-simulator/2.4.2/assets/android-chrome-72x72.png b/snaps-simulator/2.4.2/assets/android-chrome-72x72.png new file mode 100644 index 0000000000..2fdececa97 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/android-chrome-72x72.png differ diff --git a/snaps-simulator/2.4.2/assets/android-chrome-96x96.png b/snaps-simulator/2.4.2/assets/android-chrome-96x96.png new file mode 100644 index 0000000000..308fc49299 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/android-chrome-96x96.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-icon-1024x1024.png b/snaps-simulator/2.4.2/assets/apple-touch-icon-1024x1024.png new file mode 100644 index 0000000000..b9b543539f Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-icon-1024x1024.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-icon-114x114.png b/snaps-simulator/2.4.2/assets/apple-touch-icon-114x114.png new file mode 100644 index 0000000000..8a6581e652 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-icon-114x114.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-icon-120x120.png b/snaps-simulator/2.4.2/assets/apple-touch-icon-120x120.png new file mode 100644 index 0000000000..212926f3d2 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-icon-120x120.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-icon-144x144.png b/snaps-simulator/2.4.2/assets/apple-touch-icon-144x144.png new file mode 100644 index 0000000000..0cb27bf1eb Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-icon-144x144.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-icon-152x152.png b/snaps-simulator/2.4.2/assets/apple-touch-icon-152x152.png new file mode 100644 index 0000000000..f72fd952f0 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-icon-152x152.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-icon-167x167.png b/snaps-simulator/2.4.2/assets/apple-touch-icon-167x167.png new file mode 100644 index 0000000000..5bfed3a2df Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-icon-167x167.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-icon-180x180.png b/snaps-simulator/2.4.2/assets/apple-touch-icon-180x180.png new file mode 100644 index 0000000000..7fc7672dab Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-icon-180x180.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-icon-57x57.png b/snaps-simulator/2.4.2/assets/apple-touch-icon-57x57.png new file mode 100644 index 0000000000..7e96b4ada1 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-icon-57x57.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-icon-60x60.png b/snaps-simulator/2.4.2/assets/apple-touch-icon-60x60.png new file mode 100644 index 0000000000..a6ebe034df Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-icon-60x60.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-icon-72x72.png b/snaps-simulator/2.4.2/assets/apple-touch-icon-72x72.png new file mode 100644 index 0000000000..31d427b9e4 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-icon-72x72.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-icon-76x76.png b/snaps-simulator/2.4.2/assets/apple-touch-icon-76x76.png new file mode 100644 index 0000000000..d048d67e30 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-icon-76x76.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-icon-precomposed.png b/snaps-simulator/2.4.2/assets/apple-touch-icon-precomposed.png new file mode 100644 index 0000000000..7fc7672dab Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-icon-precomposed.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-icon.png b/snaps-simulator/2.4.2/assets/apple-touch-icon.png new file mode 100644 index 0000000000..7fc7672dab Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-icon.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1125x2436.png b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1125x2436.png new file mode 100644 index 0000000000..5dfd6971e4 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1125x2436.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1136x640.png b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1136x640.png new file mode 100644 index 0000000000..94795d74a5 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1136x640.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1170x2532.png b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1170x2532.png new file mode 100644 index 0000000000..64f3b850b5 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1170x2532.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1242x2208.png b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1242x2208.png new file mode 100644 index 0000000000..ea2ce5f102 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1242x2208.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1242x2688.png b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1242x2688.png new file mode 100644 index 0000000000..6ce4289f98 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1242x2688.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1284x2778.png b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1284x2778.png new file mode 100644 index 0000000000..86d2e27287 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1284x2778.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1334x750.png b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1334x750.png new file mode 100644 index 0000000000..b0514c0374 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1334x750.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1536x2048.png b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1536x2048.png new file mode 100644 index 0000000000..656ed7f8ab Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1536x2048.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1620x2160.png b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1620x2160.png new file mode 100644 index 0000000000..d34006e382 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1620x2160.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1668x2224.png b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1668x2224.png new file mode 100644 index 0000000000..3bdea1797b Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1668x2224.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1668x2388.png b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1668x2388.png new file mode 100644 index 0000000000..a16cd0d22d Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1668x2388.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1792x828.png b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1792x828.png new file mode 100644 index 0000000000..abfd3de285 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-1792x828.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-startup-image-2048x1536.png b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-2048x1536.png new file mode 100644 index 0000000000..c678f2e360 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-2048x1536.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-startup-image-2048x2732.png b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-2048x2732.png new file mode 100644 index 0000000000..ad72eafb5f Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-2048x2732.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-startup-image-2160x1620.png b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-2160x1620.png new file mode 100644 index 0000000000..63b9484dde Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-2160x1620.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-startup-image-2208x1242.png b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-2208x1242.png new file mode 100644 index 0000000000..652b8be955 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-2208x1242.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-startup-image-2224x1668.png b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-2224x1668.png new file mode 100644 index 0000000000..055349e030 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-2224x1668.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-startup-image-2388x1668.png b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-2388x1668.png new file mode 100644 index 0000000000..a33733e4ee Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-2388x1668.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-startup-image-2436x1125.png b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-2436x1125.png new file mode 100644 index 0000000000..b47aedb0ca Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-2436x1125.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-startup-image-2532x1170.png b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-2532x1170.png new file mode 100644 index 0000000000..595dc361b3 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-2532x1170.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-startup-image-2688x1242.png b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-2688x1242.png new file mode 100644 index 0000000000..809aa6ddb2 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-2688x1242.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-startup-image-2732x2048.png b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-2732x2048.png new file mode 100644 index 0000000000..cddb8cc067 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-2732x2048.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-startup-image-2778x1284.png b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-2778x1284.png new file mode 100644 index 0000000000..58ddfb7fc9 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-2778x1284.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-startup-image-640x1136.png b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-640x1136.png new file mode 100644 index 0000000000..a28aa9bf24 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-640x1136.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-startup-image-750x1334.png b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-750x1334.png new file mode 100644 index 0000000000..a2e6fabf6d Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-750x1334.png differ diff --git a/snaps-simulator/2.4.2/assets/apple-touch-startup-image-828x1792.png b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-828x1792.png new file mode 100644 index 0000000000..f5a95bd7e0 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/apple-touch-startup-image-828x1792.png differ diff --git a/snaps-simulator/2.4.2/assets/browserconfig.xml b/snaps-simulator/2.4.2/assets/browserconfig.xml new file mode 100644 index 0000000000..c0d71f482a --- /dev/null +++ b/snaps-simulator/2.4.2/assets/browserconfig.xml @@ -0,0 +1,12 @@ + + + + + + + + + #fff + + + \ No newline at end of file diff --git a/snaps-simulator/2.4.2/assets/favicon-16x16.png b/snaps-simulator/2.4.2/assets/favicon-16x16.png new file mode 100644 index 0000000000..795ec9d3ee Binary files /dev/null and b/snaps-simulator/2.4.2/assets/favicon-16x16.png differ diff --git a/snaps-simulator/2.4.2/assets/favicon-32x32.png b/snaps-simulator/2.4.2/assets/favicon-32x32.png new file mode 100644 index 0000000000..9facb52680 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/favicon-32x32.png differ diff --git a/snaps-simulator/2.4.2/assets/favicon-48x48.png b/snaps-simulator/2.4.2/assets/favicon-48x48.png new file mode 100644 index 0000000000..fc05b7b28b Binary files /dev/null and b/snaps-simulator/2.4.2/assets/favicon-48x48.png differ diff --git a/snaps-simulator/2.4.2/assets/favicon.ico b/snaps-simulator/2.4.2/assets/favicon.ico new file mode 100644 index 0000000000..bfebc573d6 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/favicon.ico differ diff --git a/snaps-simulator/2.4.2/assets/manifest.webmanifest b/snaps-simulator/2.4.2/assets/manifest.webmanifest new file mode 100644 index 0000000000..7f0ddbc00e --- /dev/null +++ b/snaps-simulator/2.4.2/assets/manifest.webmanifest @@ -0,0 +1,68 @@ +{ + "name": "@metamask/snaps-simulator", + "short_name": "@metamask/snaps-simulator", + "description": "A simulator for MetaMask Snaps, to be used for testing and development", + "dir": "auto", + "lang": "en-US", + "display": "standalone", + "orientation": "any", + "start_url": "/?homescreen=1", + "background_color": "#fff", + "theme_color": "#fff", + "icons": [ + { + "src": "android-chrome-36x36.png", + "sizes": "36x36", + "type": "image/png", + "purpose": "any" + }, + { + "src": "android-chrome-48x48.png", + "sizes": "48x48", + "type": "image/png", + "purpose": "any" + }, + { + "src": "android-chrome-72x72.png", + "sizes": "72x72", + "type": "image/png", + "purpose": "any" + }, + { + "src": "android-chrome-96x96.png", + "sizes": "96x96", + "type": "image/png", + "purpose": "any" + }, + { + "src": "android-chrome-144x144.png", + "sizes": "144x144", + "type": "image/png", + "purpose": "any" + }, + { + "src": "android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png", + "purpose": "any" + }, + { + "src": "android-chrome-256x256.png", + "sizes": "256x256", + "type": "image/png", + "purpose": "any" + }, + { + "src": "android-chrome-384x384.png", + "sizes": "384x384", + "type": "image/png", + "purpose": "any" + }, + { + "src": "android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "any" + } + ] +} \ No newline at end of file diff --git a/snaps-simulator/2.4.2/assets/mstile-144x144.png b/snaps-simulator/2.4.2/assets/mstile-144x144.png new file mode 100644 index 0000000000..5a2e2db54a Binary files /dev/null and b/snaps-simulator/2.4.2/assets/mstile-144x144.png differ diff --git a/snaps-simulator/2.4.2/assets/mstile-150x150.png b/snaps-simulator/2.4.2/assets/mstile-150x150.png new file mode 100644 index 0000000000..e6b2059bbc Binary files /dev/null and b/snaps-simulator/2.4.2/assets/mstile-150x150.png differ diff --git a/snaps-simulator/2.4.2/assets/mstile-310x150.png b/snaps-simulator/2.4.2/assets/mstile-310x150.png new file mode 100644 index 0000000000..7887f08192 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/mstile-310x150.png differ diff --git a/snaps-simulator/2.4.2/assets/mstile-310x310.png b/snaps-simulator/2.4.2/assets/mstile-310x310.png new file mode 100644 index 0000000000..3b45605e60 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/mstile-310x310.png differ diff --git a/snaps-simulator/2.4.2/assets/mstile-70x70.png b/snaps-simulator/2.4.2/assets/mstile-70x70.png new file mode 100644 index 0000000000..0d97577187 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/mstile-70x70.png differ diff --git a/snaps-simulator/2.4.2/assets/yandex-browser-50x50.png b/snaps-simulator/2.4.2/assets/yandex-browser-50x50.png new file mode 100644 index 0000000000..3f2eac24d1 Binary files /dev/null and b/snaps-simulator/2.4.2/assets/yandex-browser-50x50.png differ diff --git a/snaps-simulator/2.4.2/assets/yandex-browser-manifest.json b/snaps-simulator/2.4.2/assets/yandex-browser-manifest.json new file mode 100644 index 0000000000..c5ae1bfca3 --- /dev/null +++ b/snaps-simulator/2.4.2/assets/yandex-browser-manifest.json @@ -0,0 +1,9 @@ +{ + "version": "2.4.2", + "api_version": 1, + "layout": { + "logo": "yandex-browser-50x50.png", + "color": "#fff", + "show_title": true + } +} \ No newline at end of file diff --git a/snaps-simulator/2.4.2/index.html b/snaps-simulator/2.4.2/index.html new file mode 100644 index 0000000000..f9c31b3ade --- /dev/null +++ b/snaps-simulator/2.4.2/index.html @@ -0,0 +1 @@ +Snaps Simulator
\ No newline at end of file diff --git a/snaps-simulator/2.4.2/main.js b/snaps-simulator/2.4.2/main.js new file mode 100644 index 0000000000..f001739d35 --- /dev/null +++ b/snaps-simulator/2.4.2/main.js @@ -0,0 +1,182 @@ +(()=>{var e={7209:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ObjectMultiplex=void 0;let i=n(7525),o=r(n(9928)),a=n(9067),s=Symbol("IGNORE_SUBSTREAM");class u extends i.Duplex{constructor(e={}){super(Object.assign(Object.assign({},e),{objectMode:!0})),this._substreams={}}createStream(e){if(this.destroyed)throw Error(`ObjectMultiplex - parent stream for name "${e}" already destroyed`);if(this._readableState.ended||this._writableState.ended)throw Error(`ObjectMultiplex - parent stream for name "${e}" already ended`);if(!e)throw Error("ObjectMultiplex - name must not be empty");if(this._substreams[e])throw Error(`ObjectMultiplex - Substream for name "${e}" already exists`);let t=new a.Substream({parent:this,name:e});return this._substreams[e]=t,function(e,t){let n=(0,o.default)(t);(0,i.finished)(e,{readable:!1},n),(0,i.finished)(e,{writable:!1},n)}(this,e=>t.destroy(e||void 0)),t}ignoreStream(e){if(!e)throw Error("ObjectMultiplex - name must not be empty");if(this._substreams[e])throw Error(`ObjectMultiplex - Substream for name "${e}" already exists`);this._substreams[e]=s}_read(){}_write(e,t,n){let{name:r,data:i}=e;if(!r)return console.warn(`ObjectMultiplex - malformed chunk without name "${e}"`),n();let o=this._substreams[r];return o?o!==s&&o.push(i):console.warn(`ObjectMultiplex - orphaned data for stream "${r}"`),n()}}t.ObjectMultiplex=u},9067:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Substream=void 0;let r=n(7525);class i extends r.Duplex{constructor({parent:e,name:t}){super({objectMode:!0}),this._parent=e,this._name=t}_read(){}_write(e,t,n){this._parent.push({name:this._name,data:e}),n()}}t.Substream=i},9952:(e,t,n)=>{"use strict";let r=n(7209);e.exports=r.ObjectMultiplex},470:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BasePostMessageStream=void 0;let r=n(7525),i=()=>void 0;class o extends r.Duplex{constructor(){super({objectMode:!0}),this._init=!1,this._haveSyn=!1,this._log=()=>null}_handshake(){this._write("SYN",null,i),this.cork()}_onData(e){if(this._init)try{this.push(e),this._log(e,!1)}catch(e){this.emit("error",e)}else"SYN"===e?(this._haveSyn=!0,this._write("ACK",null,i)):"ACK"===e&&(this._init=!0,this._haveSyn||this._write("ACK",null,i),this.uncork())}_read(){}_write(e,t,n){"ACK"!==e&&"SYN"!==e&&this._log(e,!0),this._postMessage(e),n()}_setLogger(e){this._log=e}}t.BasePostMessageStream=o},6993:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebWorkerParentPostMessageStream=void 0;let r=n(470),i=n(7131);class o extends r.BasePostMessageStream{constructor({worker:e}){super(),this._target=i.DEDICATED_WORKER_NAME,this._worker=e,this._worker.onmessage=this._onMessage.bind(this),this._handshake()}_postMessage(e){this._worker.postMessage({target:this._target,data:e})}_onMessage(e){let t=e.data;(0,i.isValidStreamMessage)(t)&&this._onData(t.data)}_destroy(){this._worker.onmessage=null,this._worker=null}}t.WebWorkerParentPostMessageStream=o},672:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebWorkerPostMessageStream=void 0;let r=n(470),i=n(7131);class o extends r.BasePostMessageStream{constructor(){if("undefined"==typeof self||"undefined"==typeof WorkerGlobalScope)throw Error("WorkerGlobalScope not found. This class should only be instantiated in a WebWorker.");super(),this._name=i.DEDICATED_WORKER_NAME,self.addEventListener("message",this._onMessage.bind(this)),this._handshake()}_postMessage(e){self.postMessage({data:e})}_onMessage(e){let t=e.data;(0,i.isValidStreamMessage)(t)&&t.target===this._name&&this._onData(t.data)}_destroy(){}}t.WebWorkerPostMessageStream=o},5968:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(2121),t),i(n(672),t),i(n(6993),t),i(n(7410),t),i(n(470),t)},7410:function(e,t,n){"use strict";var r,i,o=this&&this.__classPrivateFieldSet||function(e,t,n,r,i){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n},a=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.BrowserRuntimePostMessageStream=void 0;let s=n(470),u=n(7131);class l extends s.BasePostMessageStream{constructor({name:e,target:t}){super(),r.set(this,void 0),i.set(this,void 0),o(this,r,e,"f"),o(this,i,t,"f"),this._onMessage=this._onMessage.bind(this),this._getRuntime().onMessage.addListener(this._onMessage),this._handshake()}_postMessage(e){this._getRuntime().sendMessage({target:a(this,i,"f"),data:e})}_onMessage(e){(0,u.isValidStreamMessage)(e)&&e.target===a(this,r,"f")&&this._onData(e.data)}_getRuntime(){var e,t;if("chrome"in globalThis&&"function"==typeof(null===(e=null==chrome?void 0:chrome.runtime)||void 0===e?void 0:e.sendMessage))return chrome.runtime;if("browser"in globalThis&&"function"==typeof(null===(t=null==browser?void 0:browser.runtime)||void 0===t?void 0:t.sendMessage))return browser.runtime;throw Error("browser.runtime.sendMessage is not a function. This class should only be instantiated in a web extension.")}_destroy(){this._getRuntime().onMessage.removeListener(this._onMessage)}}t.BrowserRuntimePostMessageStream=l,r=new WeakMap,i=new WeakMap},7131:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValidStreamMessage=t.DEDICATED_WORKER_NAME=void 0;let r=n(6241);t.DEDICATED_WORKER_NAME="dedicatedWorker",t.isValidStreamMessage=function(e){return(0,r.isObject)(e)&&!!e.data&&("number"==typeof e.data||"object"==typeof e.data||"string"==typeof e.data)}},2121:(e,t,n)=>{"use strict";var r,i;Object.defineProperty(t,"__esModule",{value:!0}),t.WindowPostMessageStream=void 0;let o=n(6241),a=n(470),s=n(7131),u=null===(r=Object.getOwnPropertyDescriptor(MessageEvent.prototype,"source"))||void 0===r?void 0:r.get;(0,o.assert)(u,"MessageEvent.prototype.source getter is not defined.");let l=null===(i=Object.getOwnPropertyDescriptor(MessageEvent.prototype,"origin"))||void 0===i?void 0:i.get;(0,o.assert)(l,"MessageEvent.prototype.origin getter is not defined.");class c extends a.BasePostMessageStream{constructor({name:e,target:t,targetOrigin:n=location.origin,targetWindow:r=window}){if(super(),"undefined"==typeof window||"function"!=typeof window.postMessage)throw Error("window.postMessage is not a function. This class should only be instantiated in a Window.");this._name=e,this._target=t,this._targetOrigin=n,this._targetWindow=r,this._onMessage=this._onMessage.bind(this),window.addEventListener("message",this._onMessage,!1),this._handshake()}_postMessage(e){this._targetWindow.postMessage({target:this._target,data:e},this._targetOrigin)}_onMessage(e){let t=e.data;("*"===this._targetOrigin||l.call(e)===this._targetOrigin)&&u.call(e)===this._targetWindow&&(0,s.isValidStreamMessage)(t)&&t.target===this._name&&this._onData(t.data)}_destroy(){window.removeEventListener("message",this._onMessage,!1)}}t.WindowPostMessageStream=c},8484:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertExhaustive=t.assertStruct=t.assert=t.AssertionError=void 0;let r=n(7715);function i(e,t){var n,r;return"string"==typeof(null===(r=null===(n=null==e?void 0:e.prototype)||void 0===n?void 0:n.constructor)||void 0===r?void 0:r.name)?new e({message:t}):e({message:t})}class o extends Error{constructor(e){super(e.message),this.code="ERR_ASSERTION"}}t.AssertionError=o,t.assert=function(e,t="Assertion failed.",n=o){if(!e){if(t instanceof Error)throw t;throw i(n,t)}},t.assertStruct=function(e,t,n="Assertion failed",a=o){try{(0,r.assert)(e,t)}catch(e){throw i(a,`${n}: ${function(e){let t="object"==typeof e&&null!==e&&"message"in e?e.message:String(e);return t.endsWith(".")?t.slice(0,-1):t}(e)}.`)}},t.assertExhaustive=function(e){throw Error("Invalid branch reached. Should be detected during compilation.")}},4137:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.base64=void 0;let r=n(7715),i=n(8484);t.base64=(e,t={})=>{var n,o;let a,s;let u=null!==(n=t.paddingRequired)&&void 0!==n&&n,l=null!==(o=t.characterSet)&&void 0!==o?o:"base64";return"base64"===l?a=String.raw`[A-Za-z0-9+\/]`:((0,i.assert)("base64url"===l),a=String.raw`[-_A-Za-z0-9]`),s=u?RegExp(`^(?:${a}{4})*(?:${a}{3}=|${a}{2}==)?$`,"u"):RegExp(`^(?:${a}{4})*(?:${a}{2,3}|${a}{3}=|${a}{2}==)?$`,"u"),(0,r.pattern)(e,s)}},4020:(e,t,n)=>{"use strict";var r=n(8834).Buffer;Object.defineProperty(t,"__esModule",{value:!0}),t.createDataView=t.concatBytes=t.valueToBytes=t.stringToBytes=t.numberToBytes=t.signedBigIntToBytes=t.bigIntToBytes=t.hexToBytes=t.bytesToString=t.bytesToNumber=t.bytesToSignedBigInt=t.bytesToBigInt=t.bytesToHex=t.assertIsBytes=t.isBytes=void 0;let i=n(8484),o=n(9789),a=function(){let e=[];return()=>{if(0===e.length)for(let t=0;t<256;t++)e.push(t.toString(16).padStart(2,"0"));return e}}();function s(e){return e instanceof Uint8Array}function u(e){(0,i.assert)(s(e),"Value must be a Uint8Array.")}function l(e){if(u(e),0===e.length)return"0x";let t=a(),n=Array(e.length);for(let r=0;r=BigInt(0),"Value must be a non-negative bigint.");let t=e.toString(16);return _(t)}function d(e){(0,i.assert)("number"==typeof e,"Value must be a number."),(0,i.assert)(e>=0,"Value must be a non-negative number."),(0,i.assert)(Number.isSafeInteger(e),"Value is not a safe integer. Use `bigIntToBytes` instead.");let t=e.toString(16);return _(t)}function f(e){return(0,i.assert)("string"==typeof e,"Value must be a string."),new TextEncoder().encode(e)}function m(e){if("bigint"==typeof e)return p(e);if("number"==typeof e)return d(e);if("string"==typeof e)return e.startsWith("0x")?_(e):f(e);if(s(e))return e;throw TypeError(`Unsupported value type: "${typeof e}".`)}t.isBytes=s,t.assertIsBytes=u,t.bytesToHex=l,t.bytesToBigInt=c,t.bytesToSignedBigInt=function(e){u(e);let t=BigInt(0);for(let n of e)t=(t<0,"Byte length must be greater than 0."),(0,i.assert)(function(e,t){(0,i.assert)(t>0);let n=e>>BigInt(31);return!((~e&n)+(e&~n)>>BigInt(8*t+-1))}(e,t),"Byte length is too small to represent the given value.");let n=e,r=new Uint8Array(t);for(let e=0;e>=BigInt(8);return r.reverse()},t.numberToBytes=d,t.stringToBytes=f,t.valueToBytes=m,t.concatBytes=function(e){let t=Array(e.length),n=0;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChecksumStruct=void 0;let r=n(7715),i=n(4137);t.ChecksumStruct=(0,r.size)((0,i.base64)((0,r.string)(),{paddingRequired:!0}),44,44)},9063:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createHex=t.createBytes=t.createBigInt=t.createNumber=void 0;let r=n(7715),i=n(8484),o=n(4020),a=n(9789),s=(0,r.union)([(0,r.number)(),(0,r.bigint)(),(0,r.string)(),a.StrictHexStruct]),u=(0,r.coerce)((0,r.number)(),s,Number),l=(0,r.coerce)((0,r.bigint)(),s,BigInt);(0,r.union)([a.StrictHexStruct,(0,r.instance)(Uint8Array)]);let c=(0,r.coerce)((0,r.instance)(Uint8Array),(0,r.union)([a.StrictHexStruct]),o.hexToBytes),_=(0,r.coerce)(a.StrictHexStruct,(0,r.instance)(Uint8Array),o.bytesToHex);t.createNumber=function(e){try{let t=(0,r.create)(e,u);return(0,i.assert)(Number.isFinite(t),`Expected a number-like value, got "${e}".`),t}catch(t){if(t instanceof r.StructError)throw Error(`Expected a number-like value, got "${e}".`);throw t}},t.createBigInt=function(e){try{return(0,r.create)(e,l)}catch(e){if(e instanceof r.StructError)throw Error(`Expected a number-like value, got "${String(e.value)}".`);throw e}},t.createBytes=function(e){if("string"==typeof e&&"0x"===e.toLowerCase())return new Uint8Array;try{return(0,r.create)(e,c)}catch(e){if(e instanceof r.StructError)throw Error(`Expected a bytes-like value, got "${String(e.value)}".`);throw e}},t.createHex=function(e){if(e instanceof Uint8Array&&0===e.length||"string"==typeof e&&"0x"===e.toLowerCase())return"0x";try{return(0,r.create)(e,_)}catch(e){if(e instanceof r.StructError)throw Error(`Expected a bytes-like value, got "${String(e.value)}".`);throw e}}},1283:function(e,t){"use strict";var n,r,i=this&&this.__classPrivateFieldSet||function(e,t,n,r,i){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n},o=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.FrozenSet=t.FrozenMap=void 0;class a{constructor(e){n.set(this,void 0),i(this,n,new Map(e),"f"),Object.freeze(this)}get size(){return o(this,n,"f").size}[(n=new WeakMap,Symbol.iterator)](){return o(this,n,"f")[Symbol.iterator]()}entries(){return o(this,n,"f").entries()}forEach(e,t){return o(this,n,"f").forEach((n,r,i)=>e.call(t,n,r,this))}get(e){return o(this,n,"f").get(e)}has(e){return o(this,n,"f").has(e)}keys(){return o(this,n,"f").keys()}values(){return o(this,n,"f").values()}toString(){return`FrozenMap(${this.size}) {${this.size>0?` ${[...this.entries()].map(([e,t])=>`${String(e)} => ${String(t)}`).join(", ")} `:""}}`}}t.FrozenMap=a;class s{constructor(e){r.set(this,void 0),i(this,r,new Set(e),"f"),Object.freeze(this)}get size(){return o(this,r,"f").size}[(r=new WeakMap,Symbol.iterator)](){return o(this,r,"f")[Symbol.iterator]()}entries(){return o(this,r,"f").entries()}forEach(e,t){return o(this,r,"f").forEach((n,r,i)=>e.call(t,n,r,this))}has(e){return o(this,r,"f").has(e)}keys(){return o(this,r,"f").keys()}values(){return o(this,r,"f").values()}toString(){return`FrozenSet(${this.size}) {${this.size>0?` ${[...this.values()].map(e=>String(e)).join(", ")} `:""}}`}}t.FrozenSet=s,Object.freeze(a),Object.freeze(a.prototype),Object.freeze(s),Object.freeze(s.prototype)},3342:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},9789:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.remove0x=t.add0x=t.assertIsStrictHexString=t.assertIsHexString=t.isStrictHexString=t.isHexString=t.StrictHexStruct=t.HexStruct=void 0;let r=n(7715),i=n(8484);function o(e){return(0,r.is)(e,t.HexStruct)}function a(e){return(0,r.is)(e,t.StrictHexStruct)}t.HexStruct=(0,r.pattern)((0,r.string)(),/^(?:0x)?[0-9a-f]+$/iu),t.StrictHexStruct=(0,r.pattern)((0,r.string)(),/^0x[0-9a-f]+$/iu),t.isHexString=o,t.isStrictHexString=a,t.assertIsHexString=function(e){(0,i.assert)(o(e),"Value must be a hexadecimal string.")},t.assertIsStrictHexString=function(e){(0,i.assert)(a(e),'Value must be a hexadecimal string, starting with "0x".')},t.add0x=function(e){return e.startsWith("0x")?e:e.startsWith("0X")?`0x${e.substring(2)}`:`0x${e}`},t.remove0x=function(e){return e.startsWith("0x")||e.startsWith("0X")?e.substring(2):e}},6241:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(8484),t),i(n(4137),t),i(n(4020),t),i(n(795),t),i(n(9063),t),i(n(1283),t),i(n(3342),t),i(n(9789),t),i(n(9098),t),i(n(6969),t),i(n(1740),t),i(n(6173),t),i(n(508),t),i(n(6962),t),i(n(5148),t),i(n(8638),t),i(n(6745),t)},9098:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getJsonRpcIdValidator=t.assertIsJsonRpcError=t.isJsonRpcError=t.assertIsJsonRpcFailure=t.isJsonRpcFailure=t.assertIsJsonRpcSuccess=t.isJsonRpcSuccess=t.assertIsJsonRpcResponse=t.isJsonRpcResponse=t.assertIsPendingJsonRpcResponse=t.isPendingJsonRpcResponse=t.JsonRpcResponseStruct=t.JsonRpcFailureStruct=t.JsonRpcSuccessStruct=t.PendingJsonRpcResponseStruct=t.assertIsJsonRpcRequest=t.isJsonRpcRequest=t.assertIsJsonRpcNotification=t.isJsonRpcNotification=t.JsonRpcNotificationStruct=t.JsonRpcRequestStruct=t.JsonRpcParamsStruct=t.JsonRpcErrorStruct=t.JsonRpcIdStruct=t.JsonRpcVersionStruct=t.jsonrpc2=t.getJsonSize=t.isValidJson=t.JsonStruct=t.UnsafeJsonStruct=void 0;let r=n(7715),i=n(8484);t.UnsafeJsonStruct=(0,r.union)([(0,r.literal)(null),(0,r.boolean)(),(0,r.define)("finite number",e=>(0,r.is)(e,(0,r.number)())&&Number.isFinite(e)),(0,r.string)(),(0,r.array)((0,r.lazy)(()=>t.UnsafeJsonStruct)),(0,r.record)((0,r.string)(),(0,r.lazy)(()=>t.UnsafeJsonStruct))]),t.JsonStruct=(0,r.define)("Json",(e,n)=>{function r(e,t){let r=t.validator(e,n),i=[...r];return!(i.length>0)||i}try{let n=r(e,t.UnsafeJsonStruct);if(!0!==n)return n;return r(JSON.parse(JSON.stringify(e)),t.UnsafeJsonStruct)}catch(e){if(e instanceof RangeError)return"Circular reference detected";return!1}}),t.isValidJson=function(e){return(0,r.is)(e,t.JsonStruct)},t.getJsonSize=function(e){(0,i.assertStruct)(e,t.JsonStruct,"Invalid JSON value");let n=JSON.stringify(e);return new TextEncoder().encode(n).byteLength},t.jsonrpc2="2.0",t.JsonRpcVersionStruct=(0,r.literal)(t.jsonrpc2),t.JsonRpcIdStruct=(0,r.nullable)((0,r.union)([(0,r.number)(),(0,r.string)()])),t.JsonRpcErrorStruct=(0,r.object)({code:(0,r.integer)(),message:(0,r.string)(),data:(0,r.optional)(t.JsonStruct),stack:(0,r.optional)((0,r.string)())}),t.JsonRpcParamsStruct=(0,r.optional)((0,r.union)([(0,r.record)((0,r.string)(),t.JsonStruct),(0,r.array)(t.JsonStruct)])),t.JsonRpcRequestStruct=(0,r.object)({id:t.JsonRpcIdStruct,jsonrpc:t.JsonRpcVersionStruct,method:(0,r.string)(),params:t.JsonRpcParamsStruct}),t.JsonRpcNotificationStruct=(0,r.omit)(t.JsonRpcRequestStruct,["id"]),t.isJsonRpcNotification=function(e){return(0,r.is)(e,t.JsonRpcNotificationStruct)},t.assertIsJsonRpcNotification=function(e,n){(0,i.assertStruct)(e,t.JsonRpcNotificationStruct,"Invalid JSON-RPC notification",n)},t.isJsonRpcRequest=function(e){return(0,r.is)(e,t.JsonRpcRequestStruct)},t.assertIsJsonRpcRequest=function(e,n){(0,i.assertStruct)(e,t.JsonRpcRequestStruct,"Invalid JSON-RPC request",n)},t.PendingJsonRpcResponseStruct=(0,r.object)({id:t.JsonRpcIdStruct,jsonrpc:t.JsonRpcVersionStruct,result:(0,r.optional)((0,r.unknown)()),error:(0,r.optional)(t.JsonRpcErrorStruct)}),t.JsonRpcSuccessStruct=(0,r.object)({id:t.JsonRpcIdStruct,jsonrpc:t.JsonRpcVersionStruct,result:t.JsonStruct}),t.JsonRpcFailureStruct=(0,r.object)({id:t.JsonRpcIdStruct,jsonrpc:t.JsonRpcVersionStruct,error:t.JsonRpcErrorStruct}),t.JsonRpcResponseStruct=(0,r.union)([t.JsonRpcSuccessStruct,t.JsonRpcFailureStruct]),t.isPendingJsonRpcResponse=function(e){return(0,r.is)(e,t.PendingJsonRpcResponseStruct)},t.assertIsPendingJsonRpcResponse=function(e,n){(0,i.assertStruct)(e,t.PendingJsonRpcResponseStruct,"Invalid pending JSON-RPC response",n)},t.isJsonRpcResponse=function(e){return(0,r.is)(e,t.JsonRpcResponseStruct)},t.assertIsJsonRpcResponse=function(e,n){(0,i.assertStruct)(e,t.JsonRpcResponseStruct,"Invalid JSON-RPC response",n)},t.isJsonRpcSuccess=function(e){return(0,r.is)(e,t.JsonRpcSuccessStruct)},t.assertIsJsonRpcSuccess=function(e,n){(0,i.assertStruct)(e,t.JsonRpcSuccessStruct,"Invalid JSON-RPC success response",n)},t.isJsonRpcFailure=function(e){return(0,r.is)(e,t.JsonRpcFailureStruct)},t.assertIsJsonRpcFailure=function(e,n){(0,i.assertStruct)(e,t.JsonRpcFailureStruct,"Invalid JSON-RPC failure response",n)},t.isJsonRpcError=function(e){return(0,r.is)(e,t.JsonRpcErrorStruct)},t.assertIsJsonRpcError=function(e,n){(0,i.assertStruct)(e,t.JsonRpcErrorStruct,"Invalid JSON-RPC error",n)},t.getJsonRpcIdValidator=function(e){let{permitEmptyString:t,permitFractions:n,permitNull:r}=Object.assign({permitEmptyString:!0,permitFractions:!1,permitNull:!0},e);return e=>!!("number"==typeof e&&(n||Number.isInteger(e))||"string"==typeof e&&(t||e.length>0)||r&&null===e)}},6969:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1740:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.createModuleLogger=t.createProjectLogger=void 0;let i=r(n(5130)),o=(0,i.default)("metamask");t.createProjectLogger=function(e){return o.extend(e)},t.createModuleLogger=function(e,t){return e.extend(t)}},6173:(e,t)=>{"use strict";function n(e){return 127>=e.charCodeAt(0)}Object.defineProperty(t,"__esModule",{value:!0}),t.calculateNumberSize=t.calculateStringSize=t.isASCII=t.isPlainObject=t.ESCAPE_CHARACTERS_REGEXP=t.JsonSize=t.hasProperty=t.isObject=t.isNullOrUndefined=t.isNonEmptyArray=void 0,t.isNonEmptyArray=function(e){return Array.isArray(e)&&e.length>0},t.isNullOrUndefined=function(e){return null==e},t.isObject=function(e){return!!e&&"object"==typeof e&&!Array.isArray(e)},t.hasProperty=(e,t)=>Object.hasOwnProperty.call(e,t),function(e){e[e.Null=4]="Null",e[e.Comma=1]="Comma",e[e.Wrapper=1]="Wrapper",e[e.True=4]="True",e[e.False=5]="False",e[e.Quote=1]="Quote",e[e.Colon=1]="Colon",e[e.Date=24]="Date"}(t.JsonSize||(t.JsonSize={})),t.ESCAPE_CHARACTERS_REGEXP=/"|\\|\n|\r|\t/gu,t.isPlainObject=function(e){if("object"!=typeof e||null===e)return!1;try{let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}catch(e){return!1}},t.isASCII=n,t.calculateStringSize=function(e){var r;let i=e.split("").reduce((e,t)=>n(t)?e+1:e+2,0);return i+(null!==(r=e.match(t.ESCAPE_CHARACTERS_REGEXP))&&void 0!==r?r:[]).length},t.calculateNumberSize=function(e){return e.toString().length}},508:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hexToBigInt=t.hexToNumber=t.bigIntToHex=t.numberToHex=void 0;let r=n(8484),i=n(9789);t.numberToHex=e=>((0,r.assert)("number"==typeof e,"Value must be a number."),(0,r.assert)(e>=0,"Value must be a non-negative number."),(0,r.assert)(Number.isSafeInteger(e),"Value is not a safe integer. Use `bigIntToHex` instead."),(0,i.add0x)(e.toString(16))),t.bigIntToHex=e=>((0,r.assert)("bigint"==typeof e,"Value must be a bigint."),(0,r.assert)(e>=0,"Value must be a non-negative bigint."),(0,i.add0x)(e.toString(16))),t.hexToNumber=e=>{(0,i.assertIsHexString)(e);let t=parseInt(e,16);return(0,r.assert)(Number.isSafeInteger(t),"Value is not a safe integer. Use `hexToBigInt` instead."),t},t.hexToBigInt=e=>((0,i.assertIsHexString)(e),BigInt((0,i.add0x)(e)))},6962:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},5148:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timeSince=t.inMilliseconds=t.Duration=void 0,function(e){e[e.Millisecond=1]="Millisecond",e[e.Second=1e3]="Second",e[e.Minute=6e4]="Minute",e[e.Hour=36e5]="Hour",e[e.Day=864e5]="Day",e[e.Week=6048e5]="Week",e[e.Year=31536e6]="Year"}(t.Duration||(t.Duration={}));let n=e=>Number.isInteger(e)&&e>=0,r=(e,t)=>{if(!n(e))throw Error(`"${t}" must be a non-negative integer. Received: "${e}".`)};t.inMilliseconds=function(e,t){return r(e,"count"),e*t},t.timeSince=function(e){return r(e,"timestamp"),Date.now()-e}},8638:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},6745:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.satisfiesVersionRange=t.gtRange=t.gtVersion=t.assertIsSemVerRange=t.assertIsSemVerVersion=t.isValidSemVerRange=t.isValidSemVerVersion=t.VersionRangeStruct=t.VersionStruct=void 0;let r=n(7699),i=n(7715),o=n(8484);t.VersionStruct=(0,i.refine)((0,i.string)(),"Version",e=>null!==(0,r.valid)(e)||`Expected SemVer version, got "${e}"`),t.VersionRangeStruct=(0,i.refine)((0,i.string)(),"Version range",e=>null!==(0,r.validRange)(e)||`Expected SemVer range, got "${e}"`),t.isValidSemVerVersion=function(e){return(0,i.is)(e,t.VersionStruct)},t.isValidSemVerRange=function(e){return(0,i.is)(e,t.VersionRangeStruct)},t.assertIsSemVerVersion=function(e){(0,o.assertStruct)(e,t.VersionStruct)},t.assertIsSemVerRange=function(e){(0,o.assertStruct)(e,t.VersionRangeStruct)},t.gtVersion=function(e,t){return(0,r.gt)(e,t)},t.gtRange=function(e,t){return(0,r.gtr)(e,t)},t.satisfiesVersionRange=function(e,t){return(0,r.satisfies)(e,t,{includePrerelease:!0})}},8856:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.EthereumProviderError=t.JsonRpcError=void 0;let i=n(5554),o=r(n(6920)),a=n(7962);class s extends Error{constructor(e,t,n){if(!Number.isInteger(e))throw Error('"code" must be an integer.');if(!t||"string"!=typeof t)throw Error('"message" must be a non-empty string.');super(t),this.code=e,void 0!==n&&(this.data=n)}serialize(){let e={code:this.code,message:this.message};return void 0!==this.data&&(e.data=this.data,(0,i.isPlainObject)(this.data)&&(e.data.cause=(0,a.serializeCause)(this.data.cause))),this.stack&&(e.stack=this.stack),e}toString(){return(0,o.default)(this.serialize(),u,2)}}function u(e,t){if("[Circular]"!==t)return t}t.JsonRpcError=s,t.EthereumProviderError=class extends s{constructor(e,t,n){if(!(Number.isInteger(e)&&e>=1e3&&e<=4999))throw Error('"code" must be an integer such that: 1000 <= code <= 4999');super(e,t,n)}}},5191:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.errorValues=t.errorCodes=void 0,t.errorCodes={rpc:{invalidInput:-32e3,resourceNotFound:-32001,resourceUnavailable:-32002,transactionRejected:-32003,methodNotSupported:-32004,limitExceeded:-32005,parse:-32700,invalidRequest:-32600,methodNotFound:-32601,invalidParams:-32602,internal:-32603},provider:{userRejectedRequest:4001,unauthorized:4100,unsupportedMethod:4200,disconnected:4900,chainDisconnected:4901}},t.errorValues={"-32700":{standard:"JSON RPC 2.0",message:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."},"-32600":{standard:"JSON RPC 2.0",message:"The JSON sent is not a valid Request object."},"-32601":{standard:"JSON RPC 2.0",message:"The method does not exist / is not available."},"-32602":{standard:"JSON RPC 2.0",message:"Invalid method parameter(s)."},"-32603":{standard:"JSON RPC 2.0",message:"Internal JSON-RPC error."},"-32000":{standard:"EIP-1474",message:"Invalid input."},"-32001":{standard:"EIP-1474",message:"Resource not found."},"-32002":{standard:"EIP-1474",message:"Resource unavailable."},"-32003":{standard:"EIP-1474",message:"Transaction rejected."},"-32004":{standard:"EIP-1474",message:"Method not supported."},"-32005":{standard:"EIP-1474",message:"Request limit exceeded."},4001:{standard:"EIP-1193",message:"User rejected the request."},4100:{standard:"EIP-1193",message:"The requested account and/or method has not been authorized by the user."},4200:{standard:"EIP-1193",message:"The requested method is not supported by this Ethereum provider."},4900:{standard:"EIP-1193",message:"The provider is disconnected from all chains."},4901:{standard:"EIP-1193",message:"The provider is disconnected from the specified chain."}}},6748:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.providerErrors=t.rpcErrors=void 0;let r=n(8856),i=n(5191),o=n(7962);function a(e,t){let[n,i]=u(t);return new r.JsonRpcError(e,n??(0,o.getMessageFromCode)(e),i)}function s(e,t){let[n,i]=u(t);return new r.EthereumProviderError(e,n??(0,o.getMessageFromCode)(e),i)}function u(e){if(e){if("string"==typeof e)return[e];if("object"==typeof e&&!Array.isArray(e)){let{message:t,data:n}=e;if(t&&"string"!=typeof t)throw Error("Must specify string message.");return[t??void 0,n]}}return[]}t.rpcErrors={parse:e=>a(i.errorCodes.rpc.parse,e),invalidRequest:e=>a(i.errorCodes.rpc.invalidRequest,e),invalidParams:e=>a(i.errorCodes.rpc.invalidParams,e),methodNotFound:e=>a(i.errorCodes.rpc.methodNotFound,e),internal:e=>a(i.errorCodes.rpc.internal,e),server:e=>{if(!e||"object"!=typeof e||Array.isArray(e))throw Error("Ethereum RPC Server errors must provide single object argument.");let{code:t}=e;if(!Number.isInteger(t)||t>-32005||t<-32099)throw Error('"code" must be an integer such that: -32099 <= code <= -32005');return a(t,e)},invalidInput:e=>a(i.errorCodes.rpc.invalidInput,e),resourceNotFound:e=>a(i.errorCodes.rpc.resourceNotFound,e),resourceUnavailable:e=>a(i.errorCodes.rpc.resourceUnavailable,e),transactionRejected:e=>a(i.errorCodes.rpc.transactionRejected,e),methodNotSupported:e=>a(i.errorCodes.rpc.methodNotSupported,e),limitExceeded:e=>a(i.errorCodes.rpc.limitExceeded,e)},t.providerErrors={userRejectedRequest:e=>s(i.errorCodes.provider.userRejectedRequest,e),unauthorized:e=>s(i.errorCodes.provider.unauthorized,e),unsupportedMethod:e=>s(i.errorCodes.provider.unsupportedMethod,e),disconnected:e=>s(i.errorCodes.provider.disconnected,e),chainDisconnected:e=>s(i.errorCodes.provider.chainDisconnected,e),custom:e=>{if(!e||"object"!=typeof e||Array.isArray(e))throw Error("Ethereum Provider custom errors must provide single object argument.");let{code:t,message:n,data:i}=e;if(!n||"string"!=typeof n)throw Error('"message" must be a nonempty string');return new r.EthereumProviderError(t,n,i)}}},774:(e,t,n)=>{"use strict";t.Zk=t.gK=t.PY=t.IB=t.uc=void 0;var r=n(8856);Object.defineProperty(t,"uc",{enumerable:!0,get:function(){return r.JsonRpcError}});var i=n(7962);Object.defineProperty(t,"IB",{enumerable:!0,get:function(){return i.serializeCause}});var o=n(6748);Object.defineProperty(t,"PY",{enumerable:!0,get:function(){return o.rpcErrors}}),Object.defineProperty(t,"gK",{enumerable:!0,get:function(){return o.providerErrors}});var a=n(5191);Object.defineProperty(t,"Zk",{enumerable:!0,get:function(){return a.errorCodes}})},7962:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serializeCause=t.serializeError=t.isValidCode=t.getMessageFromCode=t.JSON_RPC_SERVER_ERROR_MESSAGE=void 0;let r=n(5554),i=n(5191),o=i.errorCodes.rpc.internal,a={code:o,message:s(o)};function s(e,n="Unspecified error message. This is a bug, please report it."){if(u(e)){let n=e.toString();if((0,r.hasProperty)(i.errorValues,n))return i.errorValues[n].message;if(e>=-32099&&e<=-32e3)return t.JSON_RPC_SERVER_ERROR_MESSAGE}return n}function u(e){return Number.isInteger(e)}function l(e){return Array.isArray(e)?e.map(e=>(0,r.isValidJson)(e)?e:(0,r.isObject)(e)?c(e):null):(0,r.isObject)(e)?c(e):(0,r.isValidJson)(e)?e:null}function c(e){return Object.getOwnPropertyNames(e).reduce((t,n)=>{let i=e[n];return(0,r.isValidJson)(i)&&(t[n]=i),t},{})}t.JSON_RPC_SERVER_ERROR_MESSAGE="Unspecified server error.",t.getMessageFromCode=s,t.isValidCode=u,t.serializeError=function(e,{fallbackError:t=a,shouldIncludeStack:n=!0}={}){if(!(0,r.isJsonRpcError)(t))throw Error("Must provide fallback error with integer number code and string message.");let i=function(e,t){if(e&&"object"==typeof e&&"serialize"in e&&"function"==typeof e.serialize)return e.serialize();if((0,r.isJsonRpcError)(e))return e;let n=l(e),i={...t,data:{cause:n}};return i}(e,t);return n||delete i.stack,i},t.serializeCause=l},8792:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(function(e){return e&&e.__esModule?e:{default:e}})(n(5130)).default.call(void 0,"metamask");t.createProjectLogger=function(e){return r.extend(e)},t.createModuleLogger=function(e,t){return e.extend(t)}},99:()=>{},668:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)};t.__privateGet=(e,t,r)=>(n(e,t,"read from private field"),r?r.call(e):t.get(e)),t.__privateAdd=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},t.__privateSet=(e,t,r,i)=>(n(e,t,"write to private field"),i?i.call(e,r):t.set(e,r),r)},7665:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4966),i=n(7699),o=n(7715),a=o.refine.call(void 0,o.string.call(void 0),"Version",e=>null!==i.valid.call(void 0,e)||`Expected SemVer version, got "${e}"`),s=o.refine.call(void 0,o.string.call(void 0),"Version range",e=>null!==i.validRange.call(void 0,e)||`Expected SemVer range, got "${e}"`);t.VersionStruct=a,t.VersionRangeStruct=s,t.isValidSemVerVersion=function(e){return o.is.call(void 0,e,a)},t.isValidSemVerRange=function(e){return o.is.call(void 0,e,s)},t.assertIsSemVerVersion=function(e){r.assertStruct.call(void 0,e,a)},t.assertIsSemVerRange=function(e){r.assertStruct.call(void 0,e,s)},t.gtVersion=function(e,t){return i.gt.call(void 0,e,t)},t.gtRange=function(e,t){return i.gtr.call(void 0,e,t)},t.satisfiesVersionRange=function(e,t){return i.satisfies.call(void 0,e,t,{includePrerelease:!0})}},5709:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,r=((n=r||{})[n.Millisecond=1]="Millisecond",n[n.Second=1e3]="Second",n[n.Minute=6e4]="Minute",n[n.Hour=36e5]="Hour",n[n.Day=864e5]="Day",n[n.Week=6048e5]="Week",n[n.Year=31536e6]="Year",n),i=e=>Number.isInteger(e)&&e>=0,o=(e,t)=>{if(!i(e))throw Error(`"${t}" must be a non-negative integer. Received: "${e}".`)};t.Duration=r,t.inMilliseconds=function(e,t){return o(e,"count"),e*t},t.timeSince=function(e){return o(e,"timestamp"),Date.now()-e}},8826:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4966),i=n(7715);t.base64=(e,t={})=>{let n,o;let a=function(e,t){return null!=e?e:t()}(t.paddingRequired,()=>!1),s=function(e,t){return null!=e?e:t()}(t.characterSet,()=>"base64");return"base64"===s?n=String.raw`[A-Za-z0-9+\/]`:(r.assert.call(void 0,"base64url"===s),n=String.raw`[-_A-Za-z0-9]`),o=a?RegExp(`^(?:${n}{4})*(?:${n}{3}=|${n}{2}==)?$`,"u"):RegExp(`^(?:${n}{4})*(?:${n}{2,3}|${n}{3}=|${n}{2}==)?$`,"u"),i.pattern.call(void 0,e,o)}},4966:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6472),i=n(7715);function o(e,t){return"string"==typeof function(e){let t;let n=e[0],r=1;for(;rn.call(t,...e)),t=void 0)}return n}([e,"optionalAccess",e=>e.prototype,"optionalAccess",e=>e.constructor,"optionalAccess",e=>e.name])?new e({message:t}):e({message:t})}var a=class extends Error{constructor(e){super(e.message),this.code="ERR_ASSERTION"}};t.AssertionError=a,t.assert=function(e,t="Assertion failed.",n=a){if(!e){if(t instanceof Error)throw t;throw o(n,t)}},t.assertStruct=function(e,t,n="Assertion failed",s=a){try{i.assert.call(void 0,e,t)}catch(e){throw o(s,`${n}: ${r.getErrorMessage.call(void 0,e).replace(/\.$/u,"")}.`)}},t.assertExhaustive=function(e){throw Error("Invalid branch reached. Should be detected during compilation.")}},1715:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7580),i=n(4966),o=n(7715),a=o.union.call(void 0,[o.number.call(void 0),o.bigint.call(void 0),o.string.call(void 0),r.StrictHexStruct]),s=o.coerce.call(void 0,o.number.call(void 0),a,Number),u=o.coerce.call(void 0,o.bigint.call(void 0),a,BigInt);o.union.call(void 0,[r.StrictHexStruct,o.instance.call(void 0,Uint8Array)]);var l=o.coerce.call(void 0,o.instance.call(void 0,Uint8Array),o.union.call(void 0,[r.StrictHexStruct]),r.hexToBytes),c=o.coerce.call(void 0,r.StrictHexStruct,o.instance.call(void 0,Uint8Array),r.bytesToHex);t.createNumber=function(e){try{let t=o.create.call(void 0,e,s);return i.assert.call(void 0,Number.isFinite(t),`Expected a number-like value, got "${e}".`),t}catch(t){if(t instanceof o.StructError)throw Error(`Expected a number-like value, got "${e}".`);throw t}},t.createBigInt=function(e){try{return o.create.call(void 0,e,u)}catch(e){if(e instanceof o.StructError)throw Error(`Expected a number-like value, got "${String(e.value)}".`);throw e}},t.createBytes=function(e){if("string"==typeof e&&"0x"===e.toLowerCase())return new Uint8Array;try{return o.create.call(void 0,e,l)}catch(e){if(e instanceof o.StructError)throw Error(`Expected a bytes-like value, got "${String(e.value)}".`);throw e}},t.createHex=function(e){if(e instanceof Uint8Array&&0===e.length||"string"==typeof e&&"0x"===e.toLowerCase())return"0x";try{return o.create.call(void 0,e,c)}catch(e){if(e instanceof o.StructError)throw Error(`Expected a bytes-like value, got "${String(e.value)}".`);throw e}}},631:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(8826),i=n(7715),o=i.size.call(void 0,r.base64.call(void 0,i.string.call(void 0),{paddingRequired:!0}),44,44);t.ChecksumStruct=o},7121:()=>{},6472:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5064),i=n(9498);function o(e){return"object"==typeof e&&null!==e&&"code"in e}function a(e){return"object"==typeof e&&null!==e&&"message"in e}t.isErrorWithCode=o,t.isErrorWithMessage=a,t.isErrorWithStack=function(e){return"object"==typeof e&&null!==e&&"stack"in e},t.getErrorMessage=function(e){return a(e)&&"string"==typeof e.message?e.message:r.isNullOrUndefined.call(void 0,e)?"":String(e)},t.wrapError=function(e,t){if(e instanceof Error||r.isObject.call(void 0,e)&&"Error"===e.constructor.name){let n;return n=2===Error.length?Error(t,{cause:e}):new i.ErrorWithCause(t,{cause:e}),o(e)&&(n.code=e.code),n}return t.length>0?Error(`${String(e)}: ${t}`):Error(String(e))}},8823:()=>{},3775:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4966),i=n(5064),o=n(7715),a=e=>o.object.call(void 0,e);function s({path:e,branch:t}){let n=e[e.length-1];return i.hasProperty.call(void 0,t[t.length-2],n)}function u(e){return new o.Struct({...e,type:`optional ${e.type}`,validator:(t,n)=>!s(n)||e.validator(t,n),refiner:(t,n)=>!s(n)||e.refiner(t,n)})}var l=o.union.call(void 0,[o.literal.call(void 0,null),o.boolean.call(void 0),o.define.call(void 0,"finite number",e=>o.is.call(void 0,e,o.number.call(void 0))&&Number.isFinite(e)),o.string.call(void 0),o.array.call(void 0,o.lazy.call(void 0,()=>l)),o.record.call(void 0,o.string.call(void 0),o.lazy.call(void 0,()=>l))]),c=o.coerce.call(void 0,l,o.any.call(void 0),e=>(r.assertStruct.call(void 0,e,l),JSON.parse(JSON.stringify(e,(e,t)=>{if("__proto__"!==e&&"constructor"!==e)return t}))));function _(e){return o.create.call(void 0,e,c)}var p=o.literal.call(void 0,"2.0"),d=o.nullable.call(void 0,o.union.call(void 0,[o.number.call(void 0),o.string.call(void 0)])),f=a({code:o.integer.call(void 0),message:o.string.call(void 0),data:u(c),stack:u(o.string.call(void 0))}),m=o.union.call(void 0,[o.record.call(void 0,o.string.call(void 0),c),o.array.call(void 0,c)]),h=a({id:d,jsonrpc:p,method:o.string.call(void 0),params:u(m)}),y=a({jsonrpc:p,method:o.string.call(void 0),params:u(m)}),g=o.object.call(void 0,{id:d,jsonrpc:p,result:o.optional.call(void 0,o.unknown.call(void 0)),error:o.optional.call(void 0,f)}),b=a({id:d,jsonrpc:p,result:c}),v=a({id:d,jsonrpc:p,error:f}),x=o.union.call(void 0,[b,v]);t.object=a,t.exactOptional=u,t.UnsafeJsonStruct=l,t.JsonStruct=c,t.isValidJson=function(e){try{return _(e),!0}catch(e){return!1}},t.getSafeJson=_,t.getJsonSize=function(e){r.assertStruct.call(void 0,e,c,"Invalid JSON value");let t=JSON.stringify(e);return new TextEncoder().encode(t).byteLength},t.jsonrpc2="2.0",t.JsonRpcVersionStruct=p,t.JsonRpcIdStruct=d,t.JsonRpcErrorStruct=f,t.JsonRpcParamsStruct=m,t.JsonRpcRequestStruct=h,t.JsonRpcNotificationStruct=y,t.isJsonRpcNotification=function(e){return o.is.call(void 0,e,y)},t.assertIsJsonRpcNotification=function(e,t){r.assertStruct.call(void 0,e,y,"Invalid JSON-RPC notification",t)},t.isJsonRpcRequest=function(e){return o.is.call(void 0,e,h)},t.assertIsJsonRpcRequest=function(e,t){r.assertStruct.call(void 0,e,h,"Invalid JSON-RPC request",t)},t.PendingJsonRpcResponseStruct=g,t.JsonRpcSuccessStruct=b,t.JsonRpcFailureStruct=v,t.JsonRpcResponseStruct=x,t.isPendingJsonRpcResponse=function(e){return o.is.call(void 0,e,g)},t.assertIsPendingJsonRpcResponse=function(e,t){r.assertStruct.call(void 0,e,g,"Invalid pending JSON-RPC response",t)},t.isJsonRpcResponse=function(e){return o.is.call(void 0,e,x)},t.assertIsJsonRpcResponse=function(e,t){r.assertStruct.call(void 0,e,x,"Invalid JSON-RPC response",t)},t.isJsonRpcSuccess=function(e){return o.is.call(void 0,e,b)},t.assertIsJsonRpcSuccess=function(e,t){r.assertStruct.call(void 0,e,b,"Invalid JSON-RPC success response",t)},t.isJsonRpcFailure=function(e){return o.is.call(void 0,e,v)},t.assertIsJsonRpcFailure=function(e,t){r.assertStruct.call(void 0,e,v,"Invalid JSON-RPC failure response",t)},t.isJsonRpcError=function(e){return o.is.call(void 0,e,f)},t.assertIsJsonRpcError=function(e,t){r.assertStruct.call(void 0,e,f,"Invalid JSON-RPC error",t)},t.getJsonRpcIdValidator=function(e){let{permitEmptyString:t,permitFractions:n,permitNull:r}={permitEmptyString:!0,permitFractions:!1,permitNull:!0,...e};return e=>!!("number"==typeof e&&(n||Number.isInteger(e))||"string"==typeof e&&(t||e.length>0)||r&&null===e)}},7580:(e,t,n)=>{"use strict";var r=n(8834).Buffer;Object.defineProperty(t,"__esModule",{value:!0});var i=n(4966),o=n(125),a=n(7715),s=n(6237),u=function(){let e=[];return()=>{if(0===e.length)for(let t=0;t<256;t++)e.push(t.toString(16).padStart(2,"0"));return e}}();function l(e){return e instanceof Uint8Array}function c(e){i.assert.call(void 0,l(e),"Value must be a Uint8Array.")}function _(e){if(c(e),0===e.length)return"0x";let t=u(),n=Array(e.length);for(let r=0;rn.call(t,...e)),t=void 0)}return n}([e,"optionalAccess",e=>e.toLowerCase,"optionalCall",e=>e()]))return new Uint8Array;T(e);let t=C(e).toLowerCase(),n=t.length%2==0?t:`0${t}`,r=new Uint8Array(n.length/2);for(let e=0;e=BigInt(0),"Value must be a non-negative bigint.");let t=e.toString(16);return d(t)}function m(e){i.assert.call(void 0,"number"==typeof e,"Value must be a number."),i.assert.call(void 0,e>=0,"Value must be a non-negative number."),i.assert.call(void 0,Number.isSafeInteger(e),"Value is not a safe integer. Use `bigIntToBytes` instead.");let t=e.toString(16);return d(t)}function h(e){return i.assert.call(void 0,"string"==typeof e,"Value must be a string."),new TextEncoder().encode(e)}function y(e){if("bigint"==typeof e)return f(e);if("number"==typeof e)return m(e);if("string"==typeof e)return e.startsWith("0x")?d(e):h(e);if(l(e))return e;throw TypeError(`Unsupported value type: "${typeof e}".`)}var g=a.pattern.call(void 0,a.string.call(void 0),/^(?:0x)?[0-9a-f]+$/iu),b=a.pattern.call(void 0,a.string.call(void 0),/^0x[0-9a-f]+$/iu),v=a.pattern.call(void 0,a.string.call(void 0),/^0x[0-9a-f]{40}$/u),x=a.pattern.call(void 0,a.string.call(void 0),/^0x[0-9a-fA-F]{40}$/u);function D(e){return a.is.call(void 0,e,g)}function S(e){return a.is.call(void 0,e,b)}function T(e){i.assert.call(void 0,D(e),"Value must be a hexadecimal string.")}function E(e){i.assert.call(void 0,a.is.call(void 0,e,x),"Invalid hex address.");let t=C(e.toLowerCase()),n=C(_(o.keccak_256.call(void 0,t)));return`0x${t.split("").map((e,t)=>{let r=n[t];return i.assert.call(void 0,a.is.call(void 0,r,a.string.call(void 0)),"Hash shorter than address."),parseInt(r,16)>7?e.toUpperCase():e}).join("")}`}function w(e){return!!a.is.call(void 0,e,x)&&E(e)===e}function A(e){return e.startsWith("0x")?e:e.startsWith("0X")?`0x${e.substring(2)}`:`0x${e}`}function C(e){return e.startsWith("0x")||e.startsWith("0X")?e.substring(2):e}t.HexStruct=g,t.StrictHexStruct=b,t.HexAddressStruct=v,t.HexChecksumAddressStruct=x,t.isHexString=D,t.isStrictHexString=S,t.assertIsHexString=T,t.assertIsStrictHexString=function(e){i.assert.call(void 0,S(e),'Value must be a hexadecimal string, starting with "0x".')},t.isValidHexAddress=function(e){return a.is.call(void 0,e,v)||w(e)},t.getChecksumAddress=E,t.isValidChecksumAddress=w,t.add0x=A,t.remove0x=C,t.isBytes=l,t.assertIsBytes=c,t.bytesToHex=_,t.bytesToBigInt=p,t.bytesToSignedBigInt=function(e){c(e);let t=BigInt(0);for(let n of e)t=(t<0,"Byte length must be greater than 0."),i.assert.call(void 0,function(e,t){i.assert.call(void 0,t>0);let n=e>>BigInt(31);return!((~e&n)+(e&~n)>>BigInt(8*t+-1))}(e,t),"Byte length is too small to represent the given value.");let n=e,r=new Uint8Array(t);for(let e=0;e>=BigInt(8);return r.reverse()},t.numberToBytes=m,t.stringToBytes=h,t.base64ToBytes=function(e){return i.assert.call(void 0,"string"==typeof e,"Value must be a string."),s.base64.decode(e)},t.valueToBytes=y,t.concatBytes=function(e){let t=Array(e.length),n=0;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,r=((n=r||{})[n.Null=4]="Null",n[n.Comma=1]="Comma",n[n.Wrapper=1]="Wrapper",n[n.True=4]="True",n[n.False=5]="False",n[n.Quote=1]="Quote",n[n.Colon=1]="Colon",n[n.Date=24]="Date",n),i=/"|\\|\n|\r|\t/gu;function o(e){return 127>=e.charCodeAt(0)}t.isNonEmptyArray=function(e){return Array.isArray(e)&&e.length>0},t.isNullOrUndefined=function(e){return null==e},t.isObject=function(e){return!!e&&"object"==typeof e&&!Array.isArray(e)},t.hasProperty=(e,t)=>Object.hasOwnProperty.call(e,t),t.getKnownPropertyNames=function(e){return Object.getOwnPropertyNames(e)},t.JsonSize=r,t.ESCAPE_CHARACTERS_REGEXP=i,t.isPlainObject=function(e){if("object"!=typeof e||null===e)return!1;try{let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}catch(e){return!1}},t.isASCII=o,t.calculateStringSize=function(e){var t;let n=e.split("").reduce((e,t)=>o(t)?e+1:e+2,0);return n+(null!=(t=e.match(i))?t:[]).length},t.calculateNumberSize=function(e){return e.toString().length}},7473:()=>{},3467:(e,t,n)=>{"use strict";function r(e){let t;let n=e[0],r=1;for(;rn.call(t,...e)),t=void 0)}return n}Object.defineProperty(t,"__esModule",{value:!0});var i=n(7715),o=/^(?[-a-z0-9]{3,8}):(?[-_a-zA-Z0-9]{1,32})$/u,a=/^[-a-z0-9]{3,8}$/u,s=/^[-_a-zA-Z0-9]{1,32}$/u,u=/^(?(?[-a-z0-9]{3,8}):(?[-_a-zA-Z0-9]{1,32})):(?[-.%a-zA-Z0-9]{1,128})$/u,l=/^[-.%a-zA-Z0-9]{1,128}$/u,c=i.pattern.call(void 0,i.string.call(void 0),o),_=i.pattern.call(void 0,i.string.call(void 0),a),p=i.pattern.call(void 0,i.string.call(void 0),s),d=i.pattern.call(void 0,i.string.call(void 0),u),f=i.pattern.call(void 0,i.string.call(void 0),l);t.CAIP_CHAIN_ID_REGEX=o,t.CAIP_NAMESPACE_REGEX=a,t.CAIP_REFERENCE_REGEX=s,t.CAIP_ACCOUNT_ID_REGEX=u,t.CAIP_ACCOUNT_ADDRESS_REGEX=l,t.CaipChainIdStruct=c,t.CaipNamespaceStruct=_,t.CaipReferenceStruct=p,t.CaipAccountIdStruct=d,t.CaipAccountAddressStruct=f,t.isCaipChainId=function(e){return i.is.call(void 0,e,c)},t.isCaipNamespace=function(e){return i.is.call(void 0,e,_)},t.isCaipReference=function(e){return i.is.call(void 0,e,p)},t.isCaipAccountId=function(e){return i.is.call(void 0,e,d)},t.isCaipAccountAddress=function(e){return i.is.call(void 0,e,f)},t.parseCaipChainId=function(e){let t=o.exec(e);if(!r([t,"optionalAccess",e=>e.groups]))throw Error("Invalid CAIP chain ID.");return{namespace:t.groups.namespace,reference:t.groups.reference}},t.parseCaipAccountId=function(e){let t=u.exec(e);if(!r([t,"optionalAccess",e=>e.groups]))throw Error("Invalid CAIP account ID.");return{address:t.groups.accountAddress,chainId:t.groups.chainId,chain:{namespace:t.groups.namespace,reference:t.groups.reference}}}},1817:()=>{},2025:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7580),i=n(4966);t.numberToHex=e=>(i.assert.call(void 0,"number"==typeof e,"Value must be a number."),i.assert.call(void 0,e>=0,"Value must be a non-negative number."),i.assert.call(void 0,Number.isSafeInteger(e),"Value is not a safe integer. Use `bigIntToHex` instead."),r.add0x.call(void 0,e.toString(16))),t.bigIntToHex=e=>(i.assert.call(void 0,"bigint"==typeof e,"Value must be a bigint."),i.assert.call(void 0,e>=0,"Value must be a non-negative bigint."),r.add0x.call(void 0,e.toString(16))),t.hexToNumber=e=>{r.assertIsHexString.call(void 0,e);let t=parseInt(e,16);return i.assert.call(void 0,Number.isSafeInteger(t),"Value is not a safe integer. Use `hexToBigInt` instead."),t},t.hexToBigInt=e=>(r.assertIsHexString.call(void 0,e),BigInt(r.add0x.call(void 0,e)))},5760:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i,o=n(668),a=class{constructor(e){o.__privateAdd.call(void 0,this,r,void 0),o.__privateSet.call(void 0,this,r,new Map(e)),Object.freeze(this)}get size(){return o.__privateGet.call(void 0,this,r).size}[Symbol.iterator](){return o.__privateGet.call(void 0,this,r)[Symbol.iterator]()}entries(){return o.__privateGet.call(void 0,this,r).entries()}forEach(e,t){return o.__privateGet.call(void 0,this,r).forEach((n,r,i)=>e.call(t,n,r,this))}get(e){return o.__privateGet.call(void 0,this,r).get(e)}has(e){return o.__privateGet.call(void 0,this,r).has(e)}keys(){return o.__privateGet.call(void 0,this,r).keys()}values(){return o.__privateGet.call(void 0,this,r).values()}toString(){return`FrozenMap(${this.size}) {${this.size>0?` ${[...this.entries()].map(([e,t])=>`${String(e)} => ${String(t)}`).join(", ")} `:""}}`}};r=new WeakMap;var s=class{constructor(e){o.__privateAdd.call(void 0,this,i,void 0),o.__privateSet.call(void 0,this,i,new Set(e)),Object.freeze(this)}get size(){return o.__privateGet.call(void 0,this,i).size}[Symbol.iterator](){return o.__privateGet.call(void 0,this,i)[Symbol.iterator]()}entries(){return o.__privateGet.call(void 0,this,i).entries()}forEach(e,t){return o.__privateGet.call(void 0,this,i).forEach((n,r,i)=>e.call(t,n,r,this))}has(e){return o.__privateGet.call(void 0,this,i).has(e)}keys(){return o.__privateGet.call(void 0,this,i).keys()}values(){return o.__privateGet.call(void 0,this,i).values()}toString(){return`FrozenSet(${this.size}) {${this.size>0?` ${[...this.values()].map(e=>String(e)).join(", ")} `:""}}`}};i=new WeakMap,Object.freeze(a),Object.freeze(a.prototype),Object.freeze(s),Object.freeze(s.prototype),t.FrozenMap=a,t.FrozenSet=s},5554:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(99);var r=n(2025);n(8823);var i=n(5709);n(1817);var o=n(7665),a=n(3775);n(7473);var s=n(8792),u=n(3467),l=n(631),c=n(8826),_=n(1715),p=n(7580),d=n(4966),f=n(6472),m=n(5064),h=n(5760);n(668),n(7121),t.AssertionError=d.AssertionError,t.CAIP_ACCOUNT_ADDRESS_REGEX=u.CAIP_ACCOUNT_ADDRESS_REGEX,t.CAIP_ACCOUNT_ID_REGEX=u.CAIP_ACCOUNT_ID_REGEX,t.CAIP_CHAIN_ID_REGEX=u.CAIP_CHAIN_ID_REGEX,t.CAIP_NAMESPACE_REGEX=u.CAIP_NAMESPACE_REGEX,t.CAIP_REFERENCE_REGEX=u.CAIP_REFERENCE_REGEX,t.CaipAccountAddressStruct=u.CaipAccountAddressStruct,t.CaipAccountIdStruct=u.CaipAccountIdStruct,t.CaipChainIdStruct=u.CaipChainIdStruct,t.CaipNamespaceStruct=u.CaipNamespaceStruct,t.CaipReferenceStruct=u.CaipReferenceStruct,t.ChecksumStruct=l.ChecksumStruct,t.Duration=i.Duration,t.ESCAPE_CHARACTERS_REGEXP=m.ESCAPE_CHARACTERS_REGEXP,t.FrozenMap=h.FrozenMap,t.FrozenSet=h.FrozenSet,t.HexAddressStruct=p.HexAddressStruct,t.HexChecksumAddressStruct=p.HexChecksumAddressStruct,t.HexStruct=p.HexStruct,t.JsonRpcErrorStruct=a.JsonRpcErrorStruct,t.JsonRpcFailureStruct=a.JsonRpcFailureStruct,t.JsonRpcIdStruct=a.JsonRpcIdStruct,t.JsonRpcNotificationStruct=a.JsonRpcNotificationStruct,t.JsonRpcParamsStruct=a.JsonRpcParamsStruct,t.JsonRpcRequestStruct=a.JsonRpcRequestStruct,t.JsonRpcResponseStruct=a.JsonRpcResponseStruct,t.JsonRpcSuccessStruct=a.JsonRpcSuccessStruct,t.JsonRpcVersionStruct=a.JsonRpcVersionStruct,t.JsonSize=m.JsonSize,t.JsonStruct=a.JsonStruct,t.PendingJsonRpcResponseStruct=a.PendingJsonRpcResponseStruct,t.StrictHexStruct=p.StrictHexStruct,t.UnsafeJsonStruct=a.UnsafeJsonStruct,t.VersionRangeStruct=o.VersionRangeStruct,t.VersionStruct=o.VersionStruct,t.add0x=p.add0x,t.assert=d.assert,t.assertExhaustive=d.assertExhaustive,t.assertIsBytes=p.assertIsBytes,t.assertIsHexString=p.assertIsHexString,t.assertIsJsonRpcError=a.assertIsJsonRpcError,t.assertIsJsonRpcFailure=a.assertIsJsonRpcFailure,t.assertIsJsonRpcNotification=a.assertIsJsonRpcNotification,t.assertIsJsonRpcRequest=a.assertIsJsonRpcRequest,t.assertIsJsonRpcResponse=a.assertIsJsonRpcResponse,t.assertIsJsonRpcSuccess=a.assertIsJsonRpcSuccess,t.assertIsPendingJsonRpcResponse=a.assertIsPendingJsonRpcResponse,t.assertIsSemVerRange=o.assertIsSemVerRange,t.assertIsSemVerVersion=o.assertIsSemVerVersion,t.assertIsStrictHexString=p.assertIsStrictHexString,t.assertStruct=d.assertStruct,t.base64=c.base64,t.base64ToBytes=p.base64ToBytes,t.bigIntToBytes=p.bigIntToBytes,t.bigIntToHex=r.bigIntToHex,t.bytesToBase64=p.bytesToBase64,t.bytesToBigInt=p.bytesToBigInt,t.bytesToHex=p.bytesToHex,t.bytesToNumber=p.bytesToNumber,t.bytesToSignedBigInt=p.bytesToSignedBigInt,t.bytesToString=p.bytesToString,t.calculateNumberSize=m.calculateNumberSize,t.calculateStringSize=m.calculateStringSize,t.concatBytes=p.concatBytes,t.createBigInt=_.createBigInt,t.createBytes=_.createBytes,t.createDataView=p.createDataView,t.createHex=_.createHex,t.createModuleLogger=s.createModuleLogger,t.createNumber=_.createNumber,t.createProjectLogger=s.createProjectLogger,t.exactOptional=a.exactOptional,t.getChecksumAddress=p.getChecksumAddress,t.getErrorMessage=f.getErrorMessage,t.getJsonRpcIdValidator=a.getJsonRpcIdValidator,t.getJsonSize=a.getJsonSize,t.getKnownPropertyNames=m.getKnownPropertyNames,t.getSafeJson=a.getSafeJson,t.gtRange=o.gtRange,t.gtVersion=o.gtVersion,t.hasProperty=m.hasProperty,t.hexToBigInt=r.hexToBigInt,t.hexToBytes=p.hexToBytes,t.hexToNumber=r.hexToNumber,t.inMilliseconds=i.inMilliseconds,t.isASCII=m.isASCII,t.isBytes=p.isBytes,t.isCaipAccountAddress=u.isCaipAccountAddress,t.isCaipAccountId=u.isCaipAccountId,t.isCaipChainId=u.isCaipChainId,t.isCaipNamespace=u.isCaipNamespace,t.isCaipReference=u.isCaipReference,t.isErrorWithCode=f.isErrorWithCode,t.isErrorWithMessage=f.isErrorWithMessage,t.isErrorWithStack=f.isErrorWithStack,t.isHexString=p.isHexString,t.isJsonRpcError=a.isJsonRpcError,t.isJsonRpcFailure=a.isJsonRpcFailure,t.isJsonRpcNotification=a.isJsonRpcNotification,t.isJsonRpcRequest=a.isJsonRpcRequest,t.isJsonRpcResponse=a.isJsonRpcResponse,t.isJsonRpcSuccess=a.isJsonRpcSuccess,t.isNonEmptyArray=m.isNonEmptyArray,t.isNullOrUndefined=m.isNullOrUndefined,t.isObject=m.isObject,t.isPendingJsonRpcResponse=a.isPendingJsonRpcResponse,t.isPlainObject=m.isPlainObject,t.isStrictHexString=p.isStrictHexString,t.isValidChecksumAddress=p.isValidChecksumAddress,t.isValidHexAddress=p.isValidHexAddress,t.isValidJson=a.isValidJson,t.isValidSemVerRange=o.isValidSemVerRange,t.isValidSemVerVersion=o.isValidSemVerVersion,t.jsonrpc2=a.jsonrpc2,t.numberToBytes=p.numberToBytes,t.numberToHex=r.numberToHex,t.object=a.object,t.parseCaipAccountId=u.parseCaipAccountId,t.parseCaipChainId=u.parseCaipChainId,t.remove0x=p.remove0x,t.satisfiesVersionRange=o.satisfiesVersionRange,t.signedBigIntToBytes=p.signedBigIntToBytes,t.stringToBytes=p.stringToBytes,t.timeSince=i.timeSince,t.valueToBytes=p.valueToBytes,t.wrapError=f.wrapError},3525:(e,t)=>{"use strict";function n(e){if(!Number.isSafeInteger(e)||e<0)throw Error(`Wrong positive integer: ${e}`)}function r(e){if("boolean"!=typeof e)throw Error(`Expected boolean, not ${e}`)}function i(e,...t){if(!(e instanceof Uint8Array))throw Error("Expected Uint8Array");if(t.length>0&&!t.includes(e.length))throw Error(`Expected Uint8Array of length ${t}, not of length=${e.length}`)}function o(e){if("function"!=typeof e||"function"!=typeof e.create)throw Error("Hash should be wrapped by utils.wrapConstructor");n(e.outputLen),n(e.blockLen)}function a(e,t=!0){if(e.destroyed)throw Error("Hash instance has been destroyed");if(t&&e.finished)throw Error("Hash#digest() has already been called")}function s(e,t){i(e);let n=t.outputLen;if(e.length{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.add5L=t.add5H=t.add4H=t.add4L=t.add3H=t.add3L=t.add=t.rotlBL=t.rotlBH=t.rotlSL=t.rotlSH=t.rotr32L=t.rotr32H=t.rotrBL=t.rotrBH=t.rotrSL=t.rotrSH=t.shrSL=t.shrSH=t.toBig=t.split=t.fromBig=void 0;let n=BigInt(4294967296-1),r=BigInt(32);function i(e,t=!1){return t?{h:Number(e&n),l:Number(e>>r&n)}:{h:0|Number(e>>r&n),l:0|Number(e&n)}}function o(e,t=!1){let n=new Uint32Array(e.length),r=new Uint32Array(e.length);for(let o=0;oBigInt(e>>>0)<>>0);t.toBig=a;let s=(e,t,n)=>e>>>n;t.shrSH=s;let u=(e,t,n)=>e<<32-n|t>>>n;t.shrSL=u;let l=(e,t,n)=>e>>>n|t<<32-n;t.rotrSH=l;let c=(e,t,n)=>e<<32-n|t>>>n;t.rotrSL=c;let _=(e,t,n)=>e<<64-n|t>>>n-32;t.rotrBH=_;let p=(e,t,n)=>e>>>n-32|t<<64-n;t.rotrBL=p;let d=(e,t)=>t;t.rotr32H=d;let f=(e,t)=>e;t.rotr32L=f;let m=(e,t,n)=>e<>>32-n;t.rotlSH=m;let h=(e,t,n)=>t<>>32-n;t.rotlSL=h;let y=(e,t,n)=>t<>>64-n;t.rotlBH=y;let g=(e,t,n)=>e<>>64-n;function b(e,t,n,r){let i=(t>>>0)+(r>>>0);return{h:e+n+(i/4294967296|0)|0,l:0|i}}t.rotlBL=g,t.add=b;let v=(e,t,n)=>(e>>>0)+(t>>>0)+(n>>>0);t.add3L=v;let x=(e,t,n,r)=>t+n+r+(e/4294967296|0)|0;t.add3H=x;let D=(e,t,n,r)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0);t.add4L=D;let S=(e,t,n,r,i)=>t+n+r+i+(e/4294967296|0)|0;t.add4H=S;let T=(e,t,n,r,i)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0)+(i>>>0);t.add5L=T;let E=(e,t,n,r,i,o)=>t+n+r+i+o+(e/4294967296|0)|0;t.add5H=E,t.default={fromBig:i,split:o,toBig:a,shrSH:s,shrSL:u,rotrSH:l,rotrSL:c,rotrBH:_,rotrBL:p,rotr32H:d,rotr32L:f,rotlSH:m,rotlSL:h,rotlBH:y,rotlBL:g,add:b,add3L:v,add3H:x,add4L:D,add4H:S,add5H:E,add5L:T}},825:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.crypto=void 0,t.crypto="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0},125:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shake256=t.shake128=t.keccak_512=t.keccak_384=t.keccak_256=t.keccak_224=t.sha3_512=t.sha3_384=t.sha3_256=t.sha3_224=t.Keccak=t.keccakP=void 0;let r=n(3525),i=n(1655),o=n(64),[a,s,u]=[[],[],[]],l=BigInt(0),c=BigInt(1),_=BigInt(2),p=BigInt(7),d=BigInt(256),f=BigInt(113);for(let e=0,t=c,n=1,r=0;e<24;e++){[n,r]=[r,(2*n+3*r)%5],a.push(2*(5*r+n)),s.push((e+1)*(e+2)/2%64);let i=l;for(let e=0;e<7;e++)(t=(t<>p)*f)%d)&_&&(i^=c<<(c<n>32?(0,i.rotlBH)(e,t,n):(0,i.rotlSH)(e,t,n),g=(e,t,n)=>n>32?(0,i.rotlBL)(e,t,n):(0,i.rotlSL)(e,t,n);function b(e,t=24){let n=new Uint32Array(10);for(let r=24-t;r<24;r++){for(let t=0;t<10;t++)n[t]=e[t]^e[t+10]^e[t+20]^e[t+30]^e[t+40];for(let t=0;t<10;t+=2){let r=(t+8)%10,i=(t+2)%10,o=n[i],a=n[i+1],s=y(o,a,1)^n[r],u=g(o,a,1)^n[r+1];for(let n=0;n<50;n+=10)e[t+n]^=s,e[t+n+1]^=u}let t=e[2],i=e[3];for(let n=0;n<24;n++){let r=s[n],o=y(t,i,r),u=g(t,i,r),l=a[n];t=e[l],i=e[l+1],e[l]=o,e[l+1]=u}for(let t=0;t<50;t+=10){for(let r=0;r<10;r++)n[r]=e[t+r];for(let r=0;r<10;r++)e[t+r]^=~n[(r+2)%10]&n[(r+4)%10]}e[0]^=m[r],e[1]^=h[r]}n.fill(0)}t.keccakP=b;class v extends o.Hash{constructor(e,t,n,i=!1,a=24){if(super(),this.blockLen=e,this.suffix=t,this.outputLen=n,this.enableXOF=i,this.rounds=a,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,(0,r.number)(n),0>=this.blockLen||this.blockLen>=200)throw Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=(0,o.u32)(this.state)}keccak(){b(this.state32,this.rounds),this.posOut=0,this.pos=0}update(e){(0,r.exists)(this);let{blockLen:t,state:n}=this;e=(0,o.toBytes)(e);let i=e.length;for(let r=0;r=n&&this.keccak();let o=Math.min(n-this.posOut,i-r);e.set(t.subarray(this.posOut,this.posOut+o),r),this.posOut+=o,r+=o}return e}xofInto(e){if(!this.enableXOF)throw Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return(0,r.number)(e),this.xofInto(new Uint8Array(e))}digestInto(e){if((0,r.output)(e,this),this.finished)throw Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(e){let{blockLen:t,suffix:n,outputLen:r,rounds:i,enableXOF:o}=this;return e||(e=new v(t,n,r,o,i)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=i,e.suffix=n,e.outputLen=r,e.enableXOF=o,e.destroyed=this.destroyed,e}}t.Keccak=v;let x=(e,t,n)=>(0,o.wrapConstructor)(()=>new v(t,e,n));t.sha3_224=x(6,144,28),t.sha3_256=x(6,136,32),t.sha3_384=x(6,104,48),t.sha3_512=x(6,72,64),t.keccak_224=x(1,144,28),t.keccak_256=x(1,136,32),t.keccak_384=x(1,104,48),t.keccak_512=x(1,72,64);let D=(e,t,n)=>(0,o.wrapXOFConstructorWithOpts)((r={})=>new v(t,e,void 0===r.dkLen?n:r.dkLen,!0));t.shake128=D(31,168,16),t.shake256=D(31,136,32)},64:(e,t,n)=>{"use strict";/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */Object.defineProperty(t,"__esModule",{value:!0}),t.randomBytes=t.wrapXOFConstructorWithOpts=t.wrapConstructorWithOpts=t.wrapConstructor=t.checkOpts=t.Hash=t.concatBytes=t.toBytes=t.utf8ToBytes=t.asyncLoop=t.nextTick=t.hexToBytes=t.bytesToHex=t.isLE=t.rotr=t.createView=t.u32=t.u8=void 0;let r=n(825),i=e=>e instanceof Uint8Array;if(t.u8=e=>new Uint8Array(e.buffer,e.byteOffset,e.byteLength),t.u32=e=>new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4)),t.createView=e=>new DataView(e.buffer,e.byteOffset,e.byteLength),t.rotr=(e,t)=>e<<32-t|e>>>t,t.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],!t.isLE)throw Error("Non little-endian hardware is not supported");let o=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));t.bytesToHex=function(e){if(!i(e))throw Error("Uint8Array expected");let t="";for(let n=0;n{};async function s(e,n,r){let i=Date.now();for(let o=0;o=0&&ee+t.length,0)),n=0;return e.forEach(e=>{if(!i(e))throw Error("Uint8Array expected");t.set(e,n),n+=e.length}),t},t.Hash=class{clone(){return this._cloneInto()}};let c={}.toString;t.checkOpts=function(e,t){if(void 0!==t&&"[object Object]"!==c.call(t))throw Error("Options should be object or undefined");let n=Object.assign(e,t);return n},t.wrapConstructor=function(e){let t=t=>e().update(l(t)).digest(),n=e();return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=()=>e(),t},t.wrapConstructorWithOpts=function(e){let t=(t,n)=>e(n).update(l(t)).digest(),n=e({});return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=t=>e(t),t},t.wrapXOFConstructorWithOpts=function(e){let t=(t,n)=>e(n).update(l(t)).digest(),n=e({});return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=t=>e(t),t},t.randomBytes=function(e=32){if(r.crypto&&"function"==typeof r.crypto.getRandomValues)return r.crypto.getRandomValues(new Uint8Array(e));throw Error("crypto.getRandomValues must be defined")}},6237:(e,t)=>{"use strict";function n(...e){let t=(e,t)=>n=>e(t(n)),r=Array.from(e).reverse().reduce((e,n)=>e?t(e,n.encode):n.encode,void 0),i=e.reduce((e,n)=>e?t(e,n.decode):n.decode,void 0);return{encode:r,decode:i}}function r(e){return{encode:t=>{if(!Array.isArray(t)||t.length&&"number"!=typeof t[0])throw Error("alphabet.encode input should be an array of numbers");return t.map(t=>{if(t<0||t>=e.length)throw Error(`Digit index outside alphabet: ${t} (alphabet: ${e.length})`);return e[t]})},decode:t=>{if(!Array.isArray(t)||t.length&&"string"!=typeof t[0])throw Error("alphabet.decode input should be array of strings");return t.map(t=>{if("string"!=typeof t)throw Error(`alphabet.decode: not string element=${t}`);let n=e.indexOf(t);if(-1===n)throw Error(`Unknown letter: "${t}". Allowed: ${e}`);return n})}}}function i(e=""){if("string"!=typeof e)throw Error("join separator should be string");return{encode:t=>{if(!Array.isArray(t)||t.length&&"string"!=typeof t[0])throw Error("join.encode input should be array of strings");for(let e of t)if("string"!=typeof e)throw Error(`join.encode: non-string input=${e}`);return t.join(e)},decode:t=>{if("string"!=typeof t)throw Error("join.decode input should be string");return t.split(e)}}}function o(e,t="="){if("string"!=typeof t)throw Error("padding chr should be string");return{encode(n){if(!Array.isArray(n)||n.length&&"string"!=typeof n[0])throw Error("padding.encode input should be array of strings");for(let e of n)if("string"!=typeof e)throw Error(`padding.encode: non-string input=${e}`);for(;n.length*e%8;)n.push(t);return n},decode(n){if(!Array.isArray(n)||n.length&&"string"!=typeof n[0])throw Error("padding.encode input should be array of strings");for(let e of n)if("string"!=typeof e)throw Error(`padding.decode: non-string input=${e}`);let r=n.length;if(r*e%8)throw Error("Invalid padding: string should have whole number of bytes");for(;r>0&&n[r-1]===t;r--)if(!((r-1)*e%8))throw Error("Invalid padding: string has too much padding");return n.slice(0,r)}}}function a(e){if("function"!=typeof e)throw Error("normalize fn should be function");return{encode:e=>e,decode:t=>e(t)}}function s(e,t,n){if(t<2)throw Error(`convertRadix: wrong from=${t}, base cannot be less than 2`);if(n<2)throw Error(`convertRadix: wrong to=${n}, base cannot be less than 2`);if(!Array.isArray(e))throw Error("convertRadix: data should be array");if(!e.length)return[];let r=0,i=[],o=Array.from(e);for(o.forEach(e=>{if(e<0||e>=t)throw Error(`Wrong integer: ${e}`)});;){let e=0,a=!0;for(let i=r;it?u(t,e%t):e,l=(e,t)=>e+(t-u(e,t));function c(e,t,n,r){if(!Array.isArray(e))throw Error("convertRadix2: data should be array");if(t<=0||t>32)throw Error(`convertRadix2: wrong from=${t}`);if(n<=0||n>32)throw Error(`convertRadix2: wrong to=${n}`);if(l(t,n)>32)throw Error(`convertRadix2: carry overflow from=${t} to=${n} carryBits=${l(t,n)}`);let i=0,o=0,a=2**n-1,s=[];for(let r of e){if(r>=2**t)throw Error(`convertRadix2: invalid data word=${r} from=${t}`);if(i=i<32)throw Error(`convertRadix2: carry overflow pos=${o} from=${t}`);for(o+=t;o>=n;o-=n)s.push((i>>o-n&a)>>>0);i&=2**o-1}if(i=i<=t)throw Error("Excess padding");if(!r&&i)throw Error(`Non-zero padding: ${i}`);return r&&o>0&&s.push(i>>>0),s}function _(e){return{encode:t=>{if(!(t instanceof Uint8Array))throw Error("radix.encode input should be Uint8Array");return s(Array.from(t),256,e)},decode:t=>{if(!Array.isArray(t)||t.length&&"number"!=typeof t[0])throw Error("radix.decode input should be array of strings");return Uint8Array.from(s(t,e,256))}}}function p(e,t=!1){if(e<=0||e>32)throw Error("radix2: bits should be in (0..32]");if(l(8,e)>32||l(e,8)>32)throw Error("radix2: carry overflow");return{encode:n=>{if(!(n instanceof Uint8Array))throw Error("radix2.encode input should be Uint8Array");return c(Array.from(n),8,e,!t)},decode:n=>{if(!Array.isArray(n)||n.length&&"number"!=typeof n[0])throw Error("radix2.decode input should be array of strings");return Uint8Array.from(c(n,e,8,t))}}}function d(e){if("function"!=typeof e)throw Error("unsafeWrapper fn should be function");return function(...t){try{return e.apply(null,t)}catch(e){}}}function f(e,t){if("function"!=typeof t)throw Error("checksum fn should be function");return{encode(n){if(!(n instanceof Uint8Array))throw Error("checksum.encode: input should be Uint8Array");let r=t(n).slice(0,e),i=new Uint8Array(n.length+e);return i.set(n),i.set(r,n.length),i},decode(n){if(!(n instanceof Uint8Array))throw Error("checksum.decode: input should be Uint8Array");let r=n.slice(0,-e),i=t(r).slice(0,e),o=n.slice(-e);for(let t=0;te.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),t.base64=n(p(6),r("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),o(6),i("")),t.base64url=n(p(6),r("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),o(6),i("")),t.base64urlnopad=n(p(6),r("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),i(""));let m=e=>n(_(58),r(e),i(""));t.base58=m("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),t.base58flickr=m("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),t.base58xrp=m("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz");let h=[0,2,3,5,6,7,9,10,11];t.base58xmr={encode(e){let n="";for(let r=0;rn(f(4,t=>e(e(t))),t.base58);let y=n(r("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),i("")),g=[996825010,642813549,513874426,1027748829,705979059];function b(e){let t=e>>25,n=(33554431&e)<<5;for(let e=0;e>e&1)==1&&(n^=g[e]);return n}function v(e,t,n=1){let r=e.length,i=1;for(let t=0;t126)throw Error(`Invalid prefix (${e})`);i=b(i)^n>>5}i=b(i);for(let t=0;tn)throw TypeError(`Wrong string length: ${e.length} (${e}). Expected (8..${n})`);let r=e.toLowerCase();if(e!==r&&e!==e.toUpperCase())throw Error("String must be lowercase or uppercase");e=r;let i=e.lastIndexOf("1");if(0===i||-1===i)throw Error('Letter "1" must be present between prefix and data only');let o=e.slice(0,i),a=e.slice(i+1);if(a.length<6)throw Error("Data must be at least 6 characters long");let s=y.decode(a).slice(0,-6),u=v(o,s,t);if(!a.endsWith(u))throw Error(`Invalid checksum in ${e}: expected "${u}"`);return{prefix:o,words:s}}let s=d(a);return{encode:function(e,n,r=90){if("string"!=typeof e)throw Error(`bech32.encode prefix should be string, not ${typeof e}`);if(!Array.isArray(n)||n.length&&"number"!=typeof n[0])throw Error(`bech32.encode words should be array of numbers, not ${typeof n}`);let i=e.length+7+n.length;if(!1!==r&&i>r)throw TypeError(`Length ${i} exceeds limit ${r}`);let o=e.toLowerCase(),a=v(o,n,t);return`${o}1${y.encode(n)}${a}`},decode:a,decodeToBytes:function(e){let{prefix:t,words:n}=a(e,!1);return{prefix:t,words:n,bytes:r(n)}},decodeUnsafe:s,fromWords:r,fromWordsUnsafe:o,toWords:i}}t.bech32=x("bech32"),t.bech32m=x("bech32m"),t.utf8={encode:e=>new TextDecoder().decode(e),decode:e=>new TextEncoder().encode(e)},t.hex=n(p(4),r("0123456789abcdef"),i(""),a(e=>{if("string"!=typeof e||e.length%2)throw TypeError(`hex.decode: expected string, got ${typeof e} with length ${e.length}`);return e.toLowerCase()}));let D={utf8:t.utf8,hex:t.hex,base16:t.base16,base32:t.base32,base64:t.base64,base64url:t.base64url,base58:t.base58,base58xmr:t.base58xmr},S="Invalid encoding type. Available types: utf8, hex, base16, base32, base64, base64url, base58, base58xmr";t.bytesToString=(e,t)=>{if("string"!=typeof e||!D.hasOwnProperty(e))throw TypeError(S);if(!(t instanceof Uint8Array))throw TypeError("bytesToString() expects Uint8Array");return D[e].encode(t)},t.str=t.bytesToString,t.stringToBytes=(e,t)=>{if(!D.hasOwnProperty(e))throw TypeError(S);if("string"!=typeof t)throw TypeError("stringToBytes() expects string");return D[e].decode(t)},t.bytes=t.stringToBytes},1696:(e,t,n)=>{"use strict";var r,i,o=n(4406);function a(e){return(a="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})(e)}var s=n(7515).codes,u=s.ERR_AMBIGUOUS_ARGUMENT,l=s.ERR_INVALID_ARG_TYPE,c=s.ERR_INVALID_ARG_VALUE,_=s.ERR_INVALID_RETURN_VALUE,p=s.ERR_MISSING_ARGS,d=n(4082),f=n(3335).inspect,m=n(3335).types,h=m.isPromise,y=m.isRegExp,g=Object.assign?Object.assign:n(4956).assign,b=Object.is?Object.is:n(4679);function v(){var e=n(6796);r=e.isDeepEqual,i=e.isDeepStrictEqual}var x=!1,D=e.exports=w,S={};function T(e){if(e.message instanceof Error)throw e.message;throw new d(e)}function E(e,t,n,r){if(!n){var i=!1;if(0===t)i=!0,r="No value argument passed to `assert.ok()`";else if(r instanceof Error)throw r;var o=new d({actual:n,expected:!0,message:r,operator:"==",stackStartFn:e});throw o.generatedMessage=i,o}}function w(){for(var e=arguments.length,t=Array(e),n=0;n1?n-1:0),i=1;i1?n-1:0),i=1;i1?n-1:0),i=1;i1?n-1:0),i=1;i{"use strict";var r=n(4406);function i(e,t){for(var n=0;ne.length)&&(n=e.length),e.substring(n-t.length,n)===t}var m="",h="",y="",g="",b={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function v(e){var t=Object.keys(e),n=Object.create(Object.getPrototypeOf(e));return t.forEach(function(t){n[t]=e[t]}),Object.defineProperty(n,"message",{value:e.message}),n}function x(e){return p(e,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}var D=function(e){var t,n;function s(e){if(!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,s),"object"!==_(e)||null===e)throw new d("options","Object",e);var t,n=e.message,i=e.operator,u=e.stackStartFn,l=e.actual,p=e.expected,D=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=n)t=o(this,c(s).call(this,String(n)));else if(r.stderr&&r.stderr.isTTY&&(r.stderr&&r.stderr.getColorDepth&&1!==r.stderr.getColorDepth()?(m="\x1b[34m",h="\x1b[32m",g="\x1b[39m",y="\x1b[31m"):(m="",h="",g="",y="")),"object"===_(l)&&null!==l&&"object"===_(p)&&null!==p&&"stack"in l&&l instanceof Error&&"stack"in p&&p instanceof Error&&(l=v(l),p=v(p)),"deepStrictEqual"===i||"strictEqual"===i)t=o(this,c(s).call(this,function(e,t,n){var i="",o="",a=0,s="",u=!1,l=x(e),c=l.split("\n"),p=x(t).split("\n"),d=0,v="";if("strictEqual"===n&&"object"===_(e)&&"object"===_(t)&&null!==e&&null!==t&&(n="strictEqualObject"),1===c.length&&1===p.length&&c[0]!==p[0]){var D=c[0].length+p[0].length;if(D<=10){if(("object"!==_(e)||null===e)&&("object"!==_(t)||null===t)&&(0!==e||0!==t))return"".concat(b[n],"\n\n")+"".concat(c[0]," !== ").concat(p[0],"\n")}else if("strictEqualObject"!==n&&D<(r.stderr&&r.stderr.isTTY?r.stderr.columns:80)){for(;c[0][d]===p[0][d];)d++;d>2&&(v="\n ".concat(function(e,t){if(t=Math.floor(t),0==e.length||0==t)return"";var n=e.length*t;for(t=Math.floor(Math.log(t)/Math.log(2));t;)e+=e,t--;return e+e.substring(0,n-e.length)}(" ",d),"^"),d=0)}}for(var S=c[c.length-1],T=p[p.length-1];S===T&&(d++<2?s="\n ".concat(S).concat(s):i=S,c.pop(),p.pop(),0!==c.length&&0!==p.length);)S=c[c.length-1],T=p[p.length-1];var E=Math.max(c.length,p.length);if(0===E){var w=l.split("\n");if(w.length>30)for(w[26]="".concat(m,"...").concat(g);w.length>27;)w.pop();return"".concat(b.notIdentical,"\n\n").concat(w.join("\n"),"\n")}d>3&&(s="\n".concat(m,"...").concat(g).concat(s),u=!0),""!==i&&(s="\n ".concat(i).concat(s),i="");var A=0,C=b[n]+"\n".concat(h,"+ actual").concat(g," ").concat(y,"- expected").concat(g),N=" ".concat(m,"...").concat(g," Lines skipped");for(d=0;d1&&d>2&&(M>4?(o+="\n".concat(m,"...").concat(g),u=!0):M>3&&(o+="\n ".concat(p[d-2]),A++),o+="\n ".concat(p[d-1]),A++),a=d,i+="\n".concat(y,"-").concat(g," ").concat(p[d]),A++;else if(p.length1&&d>2&&(M>4?(o+="\n".concat(m,"...").concat(g),u=!0):M>3&&(o+="\n ".concat(c[d-2]),A++),o+="\n ".concat(c[d-1]),A++),a=d,o+="\n".concat(h,"+").concat(g," ").concat(c[d]),A++;else{var k=p[d],I=c[d],j=I!==k&&(!f(I,",")||I.slice(0,-1)!==k);j&&f(k,",")&&k.slice(0,-1)===I&&(j=!1,I+=","),j?(M>1&&d>2&&(M>4?(o+="\n".concat(m,"...").concat(g),u=!0):M>3&&(o+="\n ".concat(c[d-2]),A++),o+="\n ".concat(c[d-1]),A++),a=d,o+="\n".concat(h,"+").concat(g," ").concat(I),i+="\n".concat(y,"-").concat(g," ").concat(k),A+=2):(o+=i,i="",(1===M||0===d)&&(o+="\n ".concat(I),A++))}if(A>20&&d30)for(T[26]="".concat(m,"...").concat(g);T.length>27;)T.pop();t=1===T.length?o(this,c(s).call(this,"".concat(S," ").concat(T[0]))):o(this,c(s).call(this,"".concat(S,"\n\n").concat(T.join("\n"),"\n")))}else{var E=x(l),w="",A=b[i];"notDeepEqual"===i||"notEqual"===i?(E="".concat(b[i],"\n\n").concat(E)).length>1024&&(E="".concat(E.slice(0,1021),"...")):(w="".concat(x(p)),E.length>512&&(E="".concat(E.slice(0,509),"...")),w.length>512&&(w="".concat(w.slice(0,509),"...")),"deepEqual"===i||"equal"===i?E="".concat(A,"\n\n").concat(E,"\n\nshould equal\n\n"):w=" ".concat(i," ").concat(w)),t=o(this,c(s).call(this,"".concat(E).concat(w)))}return Error.stackTraceLimit=D,t.generatedMessage=!n,Object.defineProperty(a(t),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),t.code="ERR_ASSERTION",t.actual=l,t.expected=p,t.operator=i,Error.captureStackTrace&&Error.captureStackTrace(a(t),u),t.stack,t.name="AssertionError",o(t)}return!function(e,t){if("function"!=typeof t&&null!==t)throw 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&&l(e,t)}(s,e),t=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:p.custom,value:function(e,t){return p(this,function(e){for(var t=1;t{"use strict";function r(e){return(r="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})(e)}function i(e){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a,s,u={};function l(e,t,n){n||(n=Error);var a=function(n){function a(n,o,s){var u,l;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,a),(u=(l=i(a).call(this,"string"==typeof t?t:t(n,o,s)))&&("object"===r(l)||"function"==typeof l)?l:function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this)).code=e,u}return!function(e,t){if("function"!=typeof t&&null!==t)throw 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&&o(e,t)}(a,n),a}(n);u[e]=a}function c(e,t){if(!Array.isArray(e))return"of ".concat(t," ").concat(String(e));var n=e.length;return(e=e.map(function(e){return String(e)}),n>2)?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}l("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),l("ERR_INVALID_ARG_TYPE",function(e,t,i){if((void 0===a&&(a=n(1696)),a("string"==typeof e,"'name' must be a string"),"string"==typeof t&&(o="not ",t.substr(!s||s<0?0:+s,o.length)===o))?(p="must not be",t=t.replace(/^not /,"")):p="must be",u=" argument",(void 0===l||l>e.length)&&(l=e.length),e.substring(l-u.length,l)===u)d="The ".concat(e," ").concat(p," ").concat(c(t,"type"));else{var o,s,u,l,_,p,d,f=("number"!=typeof _&&(_=0),_+1>e.length||-1===e.indexOf(".",_))?"argument":"property";d='The "'.concat(e,'" ').concat(f," ").concat(p," ").concat(c(t,"type"))}return d+". Received type ".concat(r(i))},TypeError),l("ERR_INVALID_ARG_VALUE",function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===s&&(s=n(3335));var i=s.inspect(t);return i.length>128&&(i="".concat(i.slice(0,128),"...")),"The argument '".concat(e,"' ").concat(r,". Received ").concat(i)},TypeError,RangeError),l("ERR_INVALID_RETURN_VALUE",function(e,t,n){var i;return i=n&&n.constructor&&n.constructor.name?"instance of ".concat(n.constructor.name):"type ".concat(r(n)),"Expected ".concat(e,' to be returned from the "').concat(t,'"')+" function but got ".concat(i,".")},TypeError),l("ERR_MISSING_ARGS",function(){for(var e=arguments.length,t=Array(e),r=0;r0,"At least one arg needs to be specified");var i="The ",o=t.length;switch(t=t.map(function(e){return'"'.concat(e,'"')}),o){case 1:i+="".concat(t[0]," argument");break;case 2:i+="".concat(t[0]," and ").concat(t[1]," arguments");break;default:i+=t.slice(0,o-1).join(", ")+", and ".concat(t[o-1]," arguments")}return"".concat(i," must be specified")},TypeError),e.exports.codes=u},6796:(e,t,n)=>{"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance")}()}function i(e){return(i="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})(e)}var o=void 0!==/a/g.flags,a=function(e){var t=[];return e.forEach(function(e){return t.push(e)}),t},s=function(e){var t=[];return e.forEach(function(e,n){return t.push([n,e])}),t},u=Object.is?Object.is:n(4679),l=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},c=Number.isNaN?Number.isNaN:n(4782);function _(e){return e.call.bind(e)}var p=_(Object.prototype.hasOwnProperty),d=_(Object.prototype.propertyIsEnumerable),f=_(Object.prototype.toString),m=n(3335).types,h=m.isAnyArrayBuffer,y=m.isArrayBufferView,g=m.isDate,b=m.isMap,v=m.isRegExp,x=m.isSet,D=m.isNativeError,S=m.isBoxedPrimitive,T=m.isNumberObject,E=m.isStringObject,w=m.isBooleanObject,A=m.isBigIntObject,C=m.isSymbolObject,N=m.isFloat32Array,M=m.isFloat64Array;function k(e){if(0===e.length||e.length>10)return!0;for(var t=0;t57)return!0}return 10===e.length&&e>=4294967296}function I(e){return Object.keys(e).filter(k).concat(l(e).filter(Object.prototype.propertyIsEnumerable.bind(e)))}/*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh + * @license MIT + */function j(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i{"use strict";var r=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],i="undefined"==typeof globalThis?n.g:globalThis;e.exports=function(){for(var e=[],t=0;t{let r=n(4459),i=n(2757),o=n(156),a=n(4017),s=n(7845),u=255===new Uint8Array(Uint16Array.of(255).buffer)[0];function l(e){switch(e){case"ascii":return r;case"base64":return i;case"hex":return o;case"utf8":case"utf-8":case void 0:return a;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return s;default:throw Error(`Unknown encoding: ${e}`)}}function c(e){return e instanceof Uint8Array}function _(e,t,n){return"string"==typeof e?function(e,t){let n=l(t),r=new Uint8Array(n.byteLength(e));return n.write(r,e,0,r.byteLength),r}(e,t):Array.isArray(e)?function(e){let t=new Uint8Array(e.length);return t.set(e),t}(e):ArrayBuffer.isView(e)?function(e){let t=new Uint8Array(e.byteLength);return t.set(e),t}(e):new Uint8Array(e,t,n)}function p(e,t,n,r,i){if(0===e.byteLength)return -1;if("string"==typeof n?(r=n,n=0):void 0===n?n=i?0:e.length-1:n<0&&(n+=e.byteLength),n>=e.byteLength){if(i)return -1;n=e.byteLength-1}else if(n<0){if(!i)return -1;n=0}if("string"==typeof t)t=_(t,r);else if("number"==typeof t)return(t&=255,i)?e.indexOf(t,n):e.lastIndexOf(t,n);if(0===t.byteLength)return -1;if(i){let r=-1;for(let i=n;ie.byteLength&&(n=e.byteLength-t.byteLength);for(let r=n;r>=0;r--){let n=!0;for(let i=0;ii)return 1}return e.byteLength>t.byteLength?1:e.byteLengthe+t.byteLength,0));let n=new Uint8Array(t),r=0;for(let t of e){if(r+t.byteLength>n.byteLength){let e=t.subarray(0,n.byteLength-r);n.set(e,r);break}n.set(t,r),r+=t.byteLength}return n},copy:function(e,t,n=0,r=0,i=e.byteLength){if(i>0&&i=e.byteLength)throw RangeError("sourceStart is out of range");if(i<0)throw RangeError("sourceEnd is out of range");n>=t.byteLength&&(n=t.byteLength),i>e.byteLength&&(i=e.byteLength),t.byteLength-n=i||r<=n?"":(n<0&&(n=0),r>i&&(r=i),(0!==n||r{function t(e){return e.length}e.exports={byteLength:t,toString:function(e){let t=e.byteLength,n="";for(let r=0;r{let t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=new Uint8Array(256);for(let e=0;e1&&61===e.charCodeAt(t-1)&&t--,3*t>>>2}n[45]=62,n[95]=63,e.exports={byteLength:r,toString:function(e){let n=e.byteLength,r="";for(let i=0;i>2]+t[(3&e[i])<<4|e[i+1]>>4]+t[(15&e[i+1])<<2|e[i+2]>>6]+t[63&e[i+2]];return n%3==2?r=r.substring(0,r.length-1)+"=":n%3==1&&(r=r.substring(0,r.length-2)+"=="),r},write:function(e,t,i=0,o=r(t)){let a=Math.min(o,e.byteLength-i);for(let r=0,i=0;i>4,e[i++]=(15&a)<<4|s>>2,e[i++]=(3&s)<<6|63&u}return a}}},156:e=>{function t(e){return e.length>>>1}function n(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:void 0}e.exports={byteLength:t,toString:function(e){let t=e.byteLength;e=new DataView(e.buffer,e.byteOffset,t);let n="",r=0;for(let i=t-t%4;r{function t(e){return 2*e.length}e.exports={byteLength:t,toString:function(e){let t=e.byteLength,n="";for(let r=0;r>8,a=i%256;e[r+2*t]=a,e[r+2*t+1]=o}return o}}},4017:e=>{let t,n;function r(e){let t=0;for(let n=0,r=e.length;n=55296&&i<=56319&&n+1=56320&&r<=57343){t+=4,n++;continue}}i<=127?t+=1:i<=2047?t+=2:t+=3}return t}if("undefined"!=typeof TextDecoder){let e=new TextDecoder;t=function(t){return e.decode(t)}}else t=function(e){let t=e.byteLength,n="",r=0;for(;r0){let t=0;for(;t>r,r-=6;r>=0;)e[s++]=128|n>>r&63,r-=6;a+=n>=65536?2:1}return o};e.exports={byteLength:r,toString:t,write:n}},5766:(e,t)=>{"use strict";t.byteLength=function(e){var t=u(e),n=t[0],r=t[1];return(n+r)*3/4-r},t.toByteArray=function(e){var t,n,o=u(e),a=o[0],s=o[1],l=new i((a+s)*3/4-s),c=0,_=s>0?a-4:a;for(n=0;n<_;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],l[c++]=t>>16&255,l[c++]=t>>8&255,l[c++]=255&t;return 2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,l[c++]=255&t),1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t),l},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],a=0,s=r-i;a>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return o.join("")}(e,a,a+16383>s?s:a+16383));return 1===i?o.push(n[(t=e[r-1])>>2]+n[t<<4&63]+"=="):2===i&&o.push(n[(t=(e[r-2]<<8)+e[r-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),o.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},9904:(e,t,n)=>{"use strict";var r=n(8834).Buffer,i=n(4406),o=n(1696),a=n(744),s=n(5789),u=n(5020),l=n(1271);for(var c in l)t[c]=l[c];function _(e){if("number"!=typeof e||et.UNZIP)throw TypeError("Bad argument");this.dictionary=null,this.err=0,this.flush=0,this.init_done=!1,this.level=0,this.memLevel=0,this.mode=e,this.strategy=0,this.windowBits=0,this.write_in_progress=!1,this.pending_close=!1,this.gzip_id_bytes_read=0}t.NONE=0,t.DEFLATE=1,t.INFLATE=2,t.GZIP=3,t.GUNZIP=4,t.DEFLATERAW=5,t.INFLATERAW=6,t.UNZIP=7,_.prototype.close=function(){if(this.write_in_progress){this.pending_close=!0;return}this.pending_close=!1,o(this.init_done,"close before init"),o(this.mode<=t.UNZIP),this.mode===t.DEFLATE||this.mode===t.GZIP||this.mode===t.DEFLATERAW?s.deflateEnd(this.strm):(this.mode===t.INFLATE||this.mode===t.GUNZIP||this.mode===t.INFLATERAW||this.mode===t.UNZIP)&&u.inflateEnd(this.strm),this.mode=t.NONE,this.dictionary=null},_.prototype.write=function(e,t,n,r,i,o,a){return this._write(!0,e,t,n,r,i,o,a)},_.prototype.writeSync=function(e,t,n,r,i,o,a){return this._write(!1,e,t,n,r,i,o,a)},_.prototype._write=function(e,n,a,s,u,l,c,_){if(o.equal(arguments.length,8),o(this.init_done,"write before init"),o(this.mode!==t.NONE,"already finalized"),o.equal(!1,this.write_in_progress,"write already in progress"),o.equal(!1,this.pending_close,"close is pending"),this.write_in_progress=!0,o.equal(!1,void 0===n,"must provide flush value"),this.write_in_progress=!0,n!==t.Z_NO_FLUSH&&n!==t.Z_PARTIAL_FLUSH&&n!==t.Z_SYNC_FLUSH&&n!==t.Z_FULL_FLUSH&&n!==t.Z_FINISH&&n!==t.Z_BLOCK)throw Error("Invalid flush value");if(null==a&&(a=r.alloc(0),u=0,s=0),this.strm.avail_in=u,this.strm.input=a,this.strm.next_in=s,this.strm.avail_out=_,this.strm.output=l,this.strm.next_out=c,this.flush=n,!e)return(this._process(),this._checkError())?this._afterSync():void 0;var p=this;return i.nextTick(function(){p._process(),p._after()}),this},_.prototype._afterSync=function(){var e=this.strm.avail_out,t=this.strm.avail_in;return this.write_in_progress=!1,[t,e]},_.prototype._process=function(){var e=null;switch(this.mode){case t.DEFLATE:case t.GZIP:case t.DEFLATERAW:this.err=s.deflate(this.strm,this.flush);break;case t.UNZIP:switch(this.strm.avail_in>0&&(e=this.strm.next_in),this.gzip_id_bytes_read){case 0:if(null===e)break;if(31===this.strm.input[e]){if(this.gzip_id_bytes_read=1,e++,1===this.strm.avail_in)break}else{this.mode=t.INFLATE;break}case 1:if(null===e)break;139===this.strm.input[e]?(this.gzip_id_bytes_read=2,this.mode=t.GUNZIP):this.mode=t.INFLATE;break;default:throw Error("invalid number of gzip magic number bytes read")}case t.INFLATE:case t.GUNZIP:case t.INFLATERAW:for(this.err=u.inflate(this.strm,this.flush),this.err===t.Z_NEED_DICT&&this.dictionary&&(this.err=u.inflateSetDictionary(this.strm,this.dictionary),this.err===t.Z_OK?this.err=u.inflate(this.strm,this.flush):this.err===t.Z_DATA_ERROR&&(this.err=t.Z_NEED_DICT));this.strm.avail_in>0&&this.mode===t.GUNZIP&&this.err===t.Z_STREAM_END&&0!==this.strm.next_in[0];)this.reset(),this.err=u.inflate(this.strm,this.flush);break;default:throw Error("Unknown mode "+this.mode)}},_.prototype._checkError=function(){switch(this.err){case t.Z_OK:case t.Z_BUF_ERROR:if(0!==this.strm.avail_out&&this.flush===t.Z_FINISH)return this._error("unexpected end of file"),!1;break;case t.Z_STREAM_END:break;case t.Z_NEED_DICT:return null==this.dictionary?this._error("Missing dictionary"):this._error("Bad dictionary"),!1;default:return this._error("Zlib error"),!1}return!0},_.prototype._after=function(){if(this._checkError()){var e=this.strm.avail_out,t=this.strm.avail_in;this.write_in_progress=!1,this.callback(t,e),this.pending_close&&this.close()}},_.prototype._error=function(e){this.strm.msg&&(e=this.strm.msg),this.onerror(e,this.err),this.write_in_progress=!1,this.pending_close&&this.close()},_.prototype.init=function(e,n,r,i,a){o(4==arguments.length||5==arguments.length,"init(windowBits, level, memLevel, strategy, [dictionary])"),o(e>=8&&e<=15,"invalid windowBits"),o(n>=-1&&n<=9,"invalid compression level"),o(r>=1&&r<=9,"invalid memlevel"),o(i===t.Z_FILTERED||i===t.Z_HUFFMAN_ONLY||i===t.Z_RLE||i===t.Z_FIXED||i===t.Z_DEFAULT_STRATEGY,"invalid strategy"),this._init(n,e,r,i,a),this._setDictionary()},_.prototype.params=function(){throw Error("deflateParams Not supported")},_.prototype.reset=function(){this._reset(),this._setDictionary()},_.prototype._init=function(e,n,r,i,o){switch(this.level=e,this.windowBits=n,this.memLevel=r,this.strategy=i,this.flush=t.Z_NO_FLUSH,this.err=t.Z_OK,(this.mode===t.GZIP||this.mode===t.GUNZIP)&&(this.windowBits+=16),this.mode===t.UNZIP&&(this.windowBits+=32),(this.mode===t.DEFLATERAW||this.mode===t.INFLATERAW)&&(this.windowBits=-1*this.windowBits),this.strm=new a,this.mode){case t.DEFLATE:case t.GZIP:case t.DEFLATERAW:this.err=s.deflateInit2(this.strm,this.level,t.Z_DEFLATED,this.windowBits,this.memLevel,this.strategy);break;case t.INFLATE:case t.GUNZIP:case t.INFLATERAW:case t.UNZIP:this.err=u.inflateInit2(this.strm,this.windowBits);break;default:throw Error("Unknown mode "+this.mode)}this.err!==t.Z_OK&&this._error("Init error"),this.dictionary=o,this.write_in_progress=!1,this.init_done=!0},_.prototype._setDictionary=function(){if(null!=this.dictionary){switch(this.err=t.Z_OK,this.mode){case t.DEFLATE:case t.DEFLATERAW:this.err=s.deflateSetDictionary(this.strm,this.dictionary)}this.err!==t.Z_OK&&this._error("Failed to set dictionary")}},_.prototype._reset=function(){switch(this.err=t.Z_OK,this.mode){case t.DEFLATE:case t.DEFLATERAW:case t.GZIP:this.err=s.deflateReset(this.strm);break;case t.INFLATE:case t.INFLATERAW:case t.GUNZIP:this.err=u.inflateReset(this.strm)}this.err!==t.Z_OK&&this._error("Failed to reset stream")},t.Zlib=_},4325:(e,t,n)=>{"use strict";var r=n(4406),i=n(8834).Buffer,o=n(4851).Transform,a=n(9904),s=n(3335),u=n(1696).ok,l=n(8834).kMaxLength,c="Cannot create final Buffer. It would be larger than 0x"+l.toString(16)+" bytes";a.Z_MIN_WINDOWBITS=8,a.Z_MAX_WINDOWBITS=15,a.Z_DEFAULT_WINDOWBITS=15,a.Z_MIN_CHUNK=64,a.Z_MAX_CHUNK=1/0,a.Z_DEFAULT_CHUNK=16384,a.Z_MIN_MEMLEVEL=1,a.Z_MAX_MEMLEVEL=9,a.Z_DEFAULT_MEMLEVEL=8,a.Z_MIN_LEVEL=-1,a.Z_MAX_LEVEL=9,a.Z_DEFAULT_LEVEL=a.Z_DEFAULT_COMPRESSION;for(var _=Object.keys(a),p=0;p<_.length;p++){var d=_[p];d.match(/^Z/)&&Object.defineProperty(t,d,{enumerable:!0,value:a[d],writable:!1})}for(var f={Z_OK:a.Z_OK,Z_STREAM_END:a.Z_STREAM_END,Z_NEED_DICT:a.Z_NEED_DICT,Z_ERRNO:a.Z_ERRNO,Z_STREAM_ERROR:a.Z_STREAM_ERROR,Z_DATA_ERROR:a.Z_DATA_ERROR,Z_MEM_ERROR:a.Z_MEM_ERROR,Z_BUF_ERROR:a.Z_BUF_ERROR,Z_VERSION_ERROR:a.Z_VERSION_ERROR},m=Object.keys(f),h=0;h=l?a=RangeError(c):t=i.concat(r,o),r=[],e.close(),n(a,t)}e.on("error",function(t){e.removeListener("end",s),e.removeListener("readable",a),n(t)}),e.on("end",s),e.end(t),a()}function b(e,t){if("string"==typeof t&&(t=i.from(t)),!i.isBuffer(t))throw TypeError("Not a string or buffer");var n=e._finishFlushFlag;return e._processChunk(t,n)}function v(e){if(!(this instanceof v))return new v(e);C.call(this,e,a.DEFLATE)}function x(e){if(!(this instanceof x))return new x(e);C.call(this,e,a.INFLATE)}function D(e){if(!(this instanceof D))return new D(e);C.call(this,e,a.GZIP)}function S(e){if(!(this instanceof S))return new S(e);C.call(this,e,a.GUNZIP)}function T(e){if(!(this instanceof T))return new T(e);C.call(this,e,a.DEFLATERAW)}function E(e){if(!(this instanceof E))return new E(e);C.call(this,e,a.INFLATERAW)}function w(e){if(!(this instanceof w))return new w(e);C.call(this,e,a.UNZIP)}function A(e){return e===a.Z_NO_FLUSH||e===a.Z_PARTIAL_FLUSH||e===a.Z_SYNC_FLUSH||e===a.Z_FULL_FLUSH||e===a.Z_FINISH||e===a.Z_BLOCK}function C(e,n){var r=this;if(this._opts=e=e||{},this._chunkSize=e.chunkSize||t.Z_DEFAULT_CHUNK,o.call(this,e),e.flush&&!A(e.flush))throw Error("Invalid flush flag: "+e.flush);if(e.finishFlush&&!A(e.finishFlush))throw Error("Invalid flush flag: "+e.finishFlush);if(this._flushFlag=e.flush||a.Z_NO_FLUSH,this._finishFlushFlag=void 0!==e.finishFlush?e.finishFlush:a.Z_FINISH,e.chunkSize&&(e.chunkSizet.Z_MAX_CHUNK))throw Error("Invalid chunk size: "+e.chunkSize);if(e.windowBits&&(e.windowBitst.Z_MAX_WINDOWBITS))throw Error("Invalid windowBits: "+e.windowBits);if(e.level&&(e.levelt.Z_MAX_LEVEL))throw Error("Invalid compression level: "+e.level);if(e.memLevel&&(e.memLevelt.Z_MAX_MEMLEVEL))throw Error("Invalid memLevel: "+e.memLevel);if(e.strategy&&e.strategy!=t.Z_FILTERED&&e.strategy!=t.Z_HUFFMAN_ONLY&&e.strategy!=t.Z_RLE&&e.strategy!=t.Z_FIXED&&e.strategy!=t.Z_DEFAULT_STRATEGY)throw Error("Invalid strategy: "+e.strategy);if(e.dictionary&&!i.isBuffer(e.dictionary))throw Error("Invalid dictionary: it should be a Buffer instance");this._handle=new a.Zlib(n);var s=this;this._hadError=!1,this._handle.onerror=function(e,n){N(s),s._hadError=!0;var r=Error(e);r.errno=n,r.code=t.codes[n],s.emit("error",r)};var u=t.Z_DEFAULT_COMPRESSION;"number"==typeof e.level&&(u=e.level);var l=t.Z_DEFAULT_STRATEGY;"number"==typeof e.strategy&&(l=e.strategy),this._handle.init(e.windowBits||t.Z_DEFAULT_WINDOWBITS,u,e.memLevel||t.Z_DEFAULT_MEMLEVEL,l,e.dictionary),this._buffer=i.allocUnsafe(this._chunkSize),this._offset=0,this._level=u,this._strategy=l,this.once("end",this.close),Object.defineProperty(this,"_closed",{get:function(){return!r._handle},configurable:!0,enumerable:!0})}function N(e,t){t&&r.nextTick(t),e._handle&&(e._handle.close(),e._handle=null)}function M(e){e.emit("close")}Object.defineProperty(t,"codes",{enumerable:!0,value:Object.freeze(f),writable:!1}),t.Deflate=v,t.Inflate=x,t.Gzip=D,t.Gunzip=S,t.DeflateRaw=T,t.InflateRaw=E,t.Unzip=w,t.createDeflate=function(e){return new v(e)},t.createInflate=function(e){return new x(e)},t.createDeflateRaw=function(e){return new T(e)},t.createInflateRaw=function(e){return new E(e)},t.createGzip=function(e){return new D(e)},t.createGunzip=function(e){return new S(e)},t.createUnzip=function(e){return new w(e)},t.deflate=function(e,t,n){return"function"==typeof t&&(n=t,t={}),g(new v(t),e,n)},t.deflateSync=function(e,t){return b(new v(t),e)},t.gzip=function(e,t,n){return"function"==typeof t&&(n=t,t={}),g(new D(t),e,n)},t.gzipSync=function(e,t){return b(new D(t),e)},t.deflateRaw=function(e,t,n){return"function"==typeof t&&(n=t,t={}),g(new T(t),e,n)},t.deflateRawSync=function(e,t){return b(new T(t),e)},t.unzip=function(e,t,n){return"function"==typeof t&&(n=t,t={}),g(new w(t),e,n)},t.unzipSync=function(e,t){return b(new w(t),e)},t.inflate=function(e,t,n){return"function"==typeof t&&(n=t,t={}),g(new x(t),e,n)},t.inflateSync=function(e,t){return b(new x(t),e)},t.gunzip=function(e,t,n){return"function"==typeof t&&(n=t,t={}),g(new S(t),e,n)},t.gunzipSync=function(e,t){return b(new S(t),e)},t.inflateRaw=function(e,t,n){return"function"==typeof t&&(n=t,t={}),g(new E(t),e,n)},t.inflateRawSync=function(e,t){return b(new E(t),e)},s.inherits(C,o),C.prototype.params=function(e,n,i){if(et.Z_MAX_LEVEL)throw RangeError("Invalid compression level: "+e);if(n!=t.Z_FILTERED&&n!=t.Z_HUFFMAN_ONLY&&n!=t.Z_RLE&&n!=t.Z_FIXED&&n!=t.Z_DEFAULT_STRATEGY)throw TypeError("Invalid strategy: "+n);if(this._level!==e||this._strategy!==n){var o=this;this.flush(a.Z_SYNC_FLUSH,function(){u(o._handle,"zlib binding closed"),o._handle.params(e,n),!o._hadError&&(o._level=e,o._strategy=n,i&&i())})}else r.nextTick(i)},C.prototype.reset=function(){return u(this._handle,"zlib binding closed"),this._handle.reset()},C.prototype._flush=function(e){this._transform(i.alloc(0),"",e)},C.prototype.flush=function(e,t){var n=this,o=this._writableState;"function"!=typeof e&&(void 0!==e||t)||(t=e,e=a.Z_FULL_FLUSH),o.ended?t&&r.nextTick(t):o.ending?t&&this.once("end",t):o.needDrain?t&&this.once("drain",function(){return n.flush(e,t)}):(this._flushFlag=e,this.write(i.alloc(0),"",t))},C.prototype.close=function(e){N(this,e),r.nextTick(M,this)},C.prototype._transform=function(e,t,n){var r,o=this._writableState,s=(o.ending||o.ended)&&(!e||o.length===e.length);return null===e||i.isBuffer(e)?this._handle?void(s?r=this._finishFlushFlag:(r=this._flushFlag,e.length>=o.length&&(this._flushFlag=this._opts.flush||a.Z_NO_FLUSH)),this._processChunk(e,r,n)):n(Error("zlib binding closed")):n(Error("invalid input"))},C.prototype._processChunk=function(e,t,n){var r=e&&e.length,o=this._chunkSize-this._offset,a=0,s=this,_="function"==typeof n;if(!_){var p,d=[],f=0;this.on("error",function(e){p=e}),u(this._handle,"zlib binding closed");do var m=this._handle.writeSync(t,e,a,r,this._buffer,this._offset,o);while(!this._hadError&&g(m[0],m[1]))if(this._hadError)throw p;if(f>=l)throw N(this),RangeError(c);var h=i.concat(d,f);return N(this),h}u(this._handle,"zlib binding closed");var y=this._handle.write(t,e,a,r,this._buffer,this._offset,o);function g(l,c){if(this&&(this.buffer=null,this.callback=null),!s._hadError){var p=o-c;if(u(p>=0,"have should not go down"),p>0){var m=s._buffer.slice(s._offset,s._offset+p);s._offset+=p,_?s.push(m):(d.push(m),f+=m.length)}if((0===c||s._offset>=s._chunkSize)&&(o=s._chunkSize,s._offset=0,s._buffer=i.allocUnsafe(s._chunkSize)),0===c){if(a+=r-l,r=l,!_)return!0;var h=s._handle.write(t,e,a,r,s._buffer,s._offset,s._chunkSize);return h.callback=g,void(h.buffer=e)}if(!_)return!1;n()}}y.buffer=e,y.callback=g},s.inherits(v,C),s.inherits(x,C),s.inherits(D,C),s.inherits(S,C),s.inherits(T,C),s.inherits(E,C),s.inherits(w,C)},314:(e,t,n)=>{var r=n(8834).Buffer,i=Object.prototype.toString,o="function"==typeof r.alloc&&"function"==typeof r.allocUnsafe&&"function"==typeof r.from;e.exports=function(e,t,n){if("number"==typeof e)throw TypeError('"value" argument must not be a number');return"ArrayBuffer"===i.call(e).slice(8,-1)?function(e,t,n){t>>>=0;var i=e.byteLength-t;if(i<0)throw RangeError("'offset' is out of bounds");if(void 0===n)n=i;else if((n>>>=0)>i)throw RangeError("'length' is out of bounds");return o?r.from(e.slice(t,t+n)):new r(new Uint8Array(e.slice(t,t+n)))}(e,t,n):"string"==typeof e?function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!r.isEncoding(t))throw TypeError('"encoding" must be a valid string encoding');return o?r.from(e,t):new r(e,t)}(e,t):o?r.from(e):new r(e)}},8834:(e,t,n)=>{"use strict";/*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh + * @license MIT + */let r=n(5766),i=n(2333),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,n){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return u(e,t,n)}function u(e,t,n){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!s.isEncoding(t))throw TypeError("Unknown encoding: "+t);let n=0|f(e,t),r=a(n),i=r.write(e,t);return i!==n&&(r=r.slice(0,i)),r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(L(e,Uint8Array)){let t=new Uint8Array(e);return p(t.buffer,t.byteOffset,t.byteLength)}return _(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(L(e,ArrayBuffer)||e&&L(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(L(e,SharedArrayBuffer)||e&&L(e.buffer,SharedArrayBuffer)))return p(e,t,n);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');let r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return s.from(r,t,n);let i=function(e){if(s.isBuffer(e)){let t=0|d(e.length),n=a(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length){var t;return"number"!=typeof e.length||(t=e.length)!=t?a(0):_(e)}if("Buffer"===e.type&&Array.isArray(e.data))return _(e.data)}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),t,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function l(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return l(e),a(e<0?0:0|d(e))}function _(e){let t=e.length<0?0:0|d(e.length),n=a(t);for(let r=0;r=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function f(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||L(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return O(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return P(e).length;default:if(i)return r?-1:O(e).length;t=(""+t).toLowerCase(),i=!0}}function m(e,t,n){let i=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,n){let r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let i="";for(let r=t;r2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),(o=n=+n)!=o&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return -1;n=e.length-1}else if(n<0){if(!i)return -1;n=0}if("string"==typeof t&&(t=s.from(t,r)),s.isBuffer(t))return 0===t.length?-1:g(e,t,n,r,i);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):g(e,[t],n,r,i);throw TypeError("val must be string, number or Buffer")}function g(e,t,n,r,i){let o,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return -1;a=2,s/=2,u/=2,n/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){let r=-1;for(o=n;os&&(n=s-u),o=n;o>=0;o--){let n=!0;for(let r=0;r239?4:t>223?3:t>191?2:1;if(i+a<=n){let n,r,s,u;switch(a){case 1:t<128&&(o=t);break;case 2:(192&(n=e[i+1]))==128&&(u=(31&t)<<6|63&n)>127&&(o=u);break;case 3:n=e[i+1],r=e[i+2],(192&n)==128&&(192&r)==128&&(u=(15&t)<<12|(63&n)<<6|63&r)>2047&&(u<55296||u>57343)&&(o=u);break;case 4:n=e[i+1],r=e[i+2],s=e[i+3],(192&n)==128&&(192&r)==128&&(192&s)==128&&(u=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&s)>65535&&u<1114112&&(o=u)}}null===o?(o=65533,a=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),i+=a}return function(e){let t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);let n="",r=0;for(;rn)throw RangeError("Trying to access beyond buffer length")}function x(e,t,n,r,i,o){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw RangeError("Index out of range")}function D(e,t,n,r,i){M(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function S(e,t,n,r,i){M(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n+7]=o,o>>=8,e[n+6]=o,o>>=8,e[n+5]=o,o>>=8,e[n+4]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function T(e,t,n,r,i,o){if(n+r>e.length||n<0)throw RangeError("Index out of range")}function E(e,t,n,r,o){return t=+t,n>>>=0,o||T(e,t,n,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,n,r,23,4),n+4}function w(e,t,n,r,o){return t=+t,n>>>=0,o||T(e,t,n,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,n,r,52,8),n+8}t.Buffer=s,t.SlowBuffer=function(e){return+e!=e&&(e=0),s.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=2147483647,s.TYPED_ARRAY_SUPPORT=function(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,t,n){return u(e,t,n)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,n){return(l(e),e<=0)?a(e):void 0!==t?"string"==typeof n?a(e).fill(t,n):a(e).fill(t):a(e)},s.allocUnsafe=function(e){return c(e)},s.allocUnsafeSlow=function(e){return c(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(L(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),L(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,r=t.length;for(let i=0,o=Math.min(n,r);ir.length?(s.isBuffer(t)||(t=s.from(t)),t.copy(r,i)):Uint8Array.prototype.set.call(r,t,i);else if(s.isBuffer(t))t.copy(r,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=t.length}return r},s.byteLength=f,s.prototype._isBuffer=!0,s.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;tn&&(e+=" ... "),""},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(e,t,n,r,i){if(L(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;let o=i-r,a=n-t,u=Math.min(o,a),l=this.slice(r,i),c=e.slice(t,n);for(let e=0;e>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let p=this.length-t;if((void 0===n||n>p)&&(n=p),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let d=!1;for(;;)switch(r){case"hex":return function(e,t,n,r){let i;n=Number(n)||0;let o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;let a=t.length;for(r>a/2&&(r=a/2),i=0;i>8,i.push(n%256),i.push(r);return i}(e,this.length-c),this,c,_);default:if(d)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),d=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,t){let n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||v(e,t,this.length);let r=this[e],i=1,o=0;for(;++o>>=0,t>>>=0,n||v(e,t,this.length);let r=this[e+--t],i=1;for(;t>0&&(i*=256);)r+=this[e+--t]*i;return r},s.prototype.readUint8=s.prototype.readUInt8=function(e,t){return e>>>=0,t||v(e,1,this.length),this[e]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||v(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||v(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||v(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||v(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readBigUInt64LE=R(function(e){k(e>>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&I(e,this.length-8);let r=t+256*this[++e]+65536*this[++e]+16777216*this[++e],i=this[++e]+256*this[++e]+65536*this[++e]+16777216*n;return BigInt(r)+(BigInt(i)<>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&I(e,this.length-8);let r=16777216*t+65536*this[++e]+256*this[++e]+this[++e],i=16777216*this[++e]+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<>>=0,t>>>=0,n||v(e,t,this.length);let r=this[e],i=1,o=0;for(;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},s.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||v(e,t,this.length);let r=t,i=1,o=this[e+--r];for(;r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},s.prototype.readInt8=function(e,t){return(e>>>=0,t||v(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||v(e,2,this.length);let n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt16BE=function(e,t){e>>>=0,t||v(e,2,this.length);let n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||v(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||v(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readBigInt64LE=R(function(e){k(e>>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&I(e,this.length-8);let r=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(r)<>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&I(e,this.length-8);let r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<>>=0,t||v(e,4,this.length),i.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||v(e,4,this.length),i.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||v(e,8,this.length),i.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||v(e,8,this.length),i.read(this,e,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){let r=Math.pow(2,8*n)-1;x(this,e,t,n,r,0)}let i=1,o=0;for(this[t]=255&e;++o>>=0,n>>>=0,!r){let r=Math.pow(2,8*n)-1;x(this,e,t,n,r,0)}let i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},s.prototype.writeUint8=s.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeBigUInt64LE=R(function(e,t=0){return D(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeBigUInt64BE=R(function(e,t=0){return S(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){let r=Math.pow(2,8*n-1);x(this,e,t,n,r-1,-r)}let i=0,o=1,a=0;for(this[t]=255&e;++i>0)-a&255;return t+n},s.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){let r=Math.pow(2,8*n-1);x(this,e,t,n,r-1,-r)}let i=n-1,o=1,a=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/o>>0)-a&255;return t+n},s.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeBigInt64LE=R(function(e,t=0){return D(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeBigInt64BE=R(function(e,t=0){return S(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeFloatLE=function(e,t,n){return E(this,e,t,!0,n)},s.prototype.writeFloatBE=function(e,t,n){return E(this,e,t,!1,n)},s.prototype.writeDoubleLE=function(e,t,n){return w(this,e,t,!0,n)},s.prototype.writeDoubleBE=function(e,t,n){return w(this,e,t,!1,n)},s.prototype.copy=function(e,t,n,r){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function M(e,t,n,r,i,o){if(e>n||e3?0===t||t===BigInt(0)?`>= 0${i} and < 2${i} ** ${(o+1)*8}${i}`:`>= -(2${i} ** ${(o+1)*8-1}${i}) and < 2 ** ${(o+1)*8-1}${i}`:`>= ${t}${i} and <= ${n}${i}`,new A.ERR_OUT_OF_RANGE("value",r,e)}k(i,"offset"),(void 0===r[i]||void 0===r[i+o])&&I(i,r.length-(o+1))}function k(e,t){if("number"!=typeof e)throw new A.ERR_INVALID_ARG_TYPE(t,"number",e)}function I(e,t,n){if(Math.floor(e)!==e)throw k(e,n),new A.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new A.ERR_BUFFER_OUT_OF_BOUNDS;throw new A.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${t}`,e)}C("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),C("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),C("ERR_OUT_OF_RANGE",function(e,t,n){let r=`The value of "${e}" is out of range.`,i=n;return Number.isInteger(n)&&Math.abs(n)>4294967296?i=N(String(n)):"bigint"==typeof n&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=N(i)),i+="n"),r+=` It must be ${t}. Received ${i}`},RangeError);let j=/[^+/0-9A-Za-z-_]/g;function O(e,t){let n;t=t||1/0;let r=e.length,i=null,o=[];for(let a=0;a55295&&n<57344){if(!i){if(n>56319||a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return o}function P(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(j,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function F(e,t,n,r){let i;for(i=0;i=t.length)&&!(i>=e.length);++i)t[i+n]=e[i];return i}function L(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}let z=function(){let e="0123456789abcdef",t=Array(256);for(let n=0;n<16;++n){let r=16*n;for(let i=0;i<16;++i)t[r+i]=e[n]+e[i]}return t}();function R(e){return"undefined"==typeof BigInt?B:e}function B(){throw Error("BigInt not supported")}},5890:(e,t,n)=>{"use strict";var r=n(4406);let i=n(7699),o=["assert","buffer","child_process","cluster","console","constants","crypto","dgram","dns","domain","events","fs","http","https","module","net","os","path","punycode","querystring","readline","repl","stream","string_decoder","sys","timers","tls","tty","url","util","vm","zlib"],a={freelist:"<6.0.0",v8:">=1.0.0",process:">=1.1.0",inspector:">=8.0.0",async_hooks:">=8.1.0",http2:">=8.4.0",perf_hooks:">=8.5.0",trace_events:">=10.0.0",worker_threads:">=12.0.0","node:test":">=18.0.0"},s={worker_threads:">=10.5.0",wasi:">=12.16.0",diagnostics_channel:"^14.17.0 || >=15.1.0"};e.exports=({version:e=r.version,experimental:t=!1}={})=>{let n=[...o];for(let[t,r]of Object.entries(a))("*"===e||i.satisfies(e,r))&&n.push(t);if(t)for(let[t,r]of Object.entries(s))!n.includes(t)&&("*"===e||i.satisfies(e,r))&&n.push(t);return n}},2680:(e,t,n)=>{"use strict";var r=n(7286),i=n(9429),o=i(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&o(e,".prototype.")>-1?i(n):n}},9429:(e,t,n)=>{"use strict";var r=n(4090),i=n(7286),o=i("%Function.prototype.apply%"),a=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||r.call(a,o),u=i("%Object.getOwnPropertyDescriptor%",!0),l=i("%Object.defineProperty%",!0),c=i("%Math.max%");if(l)try{l({},"a",{value:1})}catch(e){l=null}e.exports=function(e){var t=s(r,a,arguments);return u&&l&&u(t,"length").configurable&&l(t,"length",{value:1+c(0,e.length-(arguments.length-1))}),t};var _=function(){return s(r,o,arguments)};l?l(e.exports,"apply",{value:_}):e.exports.apply=_},101:(e,t,n)=>{var r=n(8834).Buffer,i=n(7525).Writable,o=n(1285),a=n(314);if("undefined"==typeof Uint8Array)var s=n(9085).U2;else var s=Uint8Array;function u(e,t){if(!(this instanceof u))return new u(e,t);"function"==typeof e&&(t=e,e={}),e||(e={});var n=e.encoding,r=!1;n?("u8"===(n=String(n).toLowerCase())||"uint8"===n)&&(n="uint8array"):r=!0,i.call(this,{objectMode:!0}),this.encoding=n,this.shouldInferEncoding=r,t&&this.on("finish",function(){t(this.getBody())}),this.body=[]}function l(e){return"string"==typeof e||/Array\]$/.test(Object.prototype.toString.call(e))||e&&"function"==typeof e.subarray}e.exports=u,o(u,i),u.prototype._write=function(e,t,n){this.body.push(e),n()},u.prototype.inferEncoding=function(e){var t=void 0===e?this.body[0]:e;return r.isBuffer(t)?"buffer":"undefined"!=typeof Uint8Array&&t instanceof Uint8Array?"uint8array":Array.isArray(t)?"array":"string"==typeof t?"string":"[object Object]"===Object.prototype.toString.call(t)?"object":"buffer"},u.prototype.getBody=function(){return this.encoding||0!==this.body.length?(this.shouldInferEncoding&&(this.encoding=this.inferEncoding()),"array"===this.encoding)?function(e){for(var t=[],n=0;n{"use strict";var r=n(8085);function i(e,t){var n={zone:t};if(e?e instanceof i?this._date=e._date:e instanceof Date?this._date=r.DateTime.fromJSDate(e,n):"number"==typeof e?this._date=r.DateTime.fromMillis(e,n):"string"==typeof e&&(this._date=r.DateTime.fromISO(e,n),this._date.isValid||(this._date=r.DateTime.fromRFC2822(e,n)),this._date.isValid||(this._date=r.DateTime.fromSQL(e,n)),this._date.isValid||(this._date=r.DateTime.fromFormat(e,"EEE, d MMM yyyy HH:mm:ss",n))):this._date=r.DateTime.local(),!this._date||!this._date.isValid)throw Error("CronDate: unhandled timestamp: "+JSON.stringify(e));t&&t!==this._date.zoneName&&(this._date=this._date.setZone(t))}i.prototype.addYear=function(){this._date=this._date.plus({years:1})},i.prototype.addMonth=function(){this._date=this._date.plus({months:1}).startOf("month")},i.prototype.addDay=function(){this._date=this._date.plus({days:1}).startOf("day")},i.prototype.addHour=function(){var e=this._date;this._date=this._date.plus({hours:1}).startOf("hour"),this._date<=e&&(this._date=this._date.plus({hours:1}))},i.prototype.addMinute=function(){var e=this._date;this._date=this._date.plus({minutes:1}).startOf("minute"),this._date=e&&(this._date=this._date.minus({hours:1}))},i.prototype.subtractMinute=function(){var e=this._date;this._date=this._date.minus({minutes:1}).endOf("minute").startOf("second"),this._date>e&&(this._date=this._date.minus({hours:1}))},i.prototype.subtractSecond=function(){var e=this._date;this._date=this._date.minus({seconds:1}).startOf("second"),this._date>e&&(this._date=this._date.minus({hours:1}))},i.prototype.getDate=function(){return this._date.day},i.prototype.getFullYear=function(){return this._date.year},i.prototype.getDay=function(){var e=this._date.weekday;return 7==e?0:e},i.prototype.getMonth=function(){return this._date.month-1},i.prototype.getHours=function(){return this._date.hour},i.prototype.getMinutes=function(){return this._date.minute},i.prototype.getSeconds=function(){return this._date.second},i.prototype.getMilliseconds=function(){return this._date.millisecond},i.prototype.getTime=function(){return this._date.valueOf()},i.prototype.getUTCDate=function(){return this._getUTC().day},i.prototype.getUTCFullYear=function(){return this._getUTC().year},i.prototype.getUTCDay=function(){var e=this._getUTC().weekday;return 7==e?0:e},i.prototype.getUTCMonth=function(){return this._getUTC().month-1},i.prototype.getUTCHours=function(){return this._getUTC().hour},i.prototype.getUTCMinutes=function(){return this._getUTC().minute},i.prototype.getUTCSeconds=function(){return this._getUTC().second},i.prototype.toISOString=function(){return this._date.toUTC().toISO()},i.prototype.toJSON=function(){return this._date.toJSON()},i.prototype.setDate=function(e){this._date=this._date.set({day:e})},i.prototype.setFullYear=function(e){this._date=this._date.set({year:e})},i.prototype.setDay=function(e){this._date=this._date.set({weekday:e})},i.prototype.setMonth=function(e){this._date=this._date.set({month:e+1})},i.prototype.setHours=function(e){this._date=this._date.set({hour:e})},i.prototype.setMinutes=function(e){this._date=this._date.set({minute:e})},i.prototype.setSeconds=function(e){this._date=this._date.set({second:e})},i.prototype.setMilliseconds=function(e){this._date=this._date.set({millisecond:e})},i.prototype._getUTC=function(){return this._date.toUTC()},i.prototype.toString=function(){return this.toDate().toString()},i.prototype.toDate=function(){return this._date.toJSDate()},i.prototype.isLastDayOfMonth=function(){var e=this._date.plus({days:1}).startOf("day");return this._date.month!==e.month},i.prototype.isLastWeekdayOfMonth=function(){var e=this._date.plus({days:7}).startOf("day");return this._date.month!==e.month},e.exports=i},2249:(e,t,n)=>{"use strict";var r=n(4167),i=n(9661);function o(e,t){this._options=t,this._utc=t.utc||!1,this._tz=this._utc?"UTC":t.tz,this._currentDate=new r(t.currentDate,this._tz),this._startDate=t.startDate?new r(t.startDate,this._tz):null,this._endDate=t.endDate?new r(t.endDate,this._tz):null,this._isIterator=t.iterator||!1,this._hasIterated=!1,this._nthDayOfWeek=t.nthDayOfWeek||0,this.fields=o._freezeFields(e)}o.map=["second","minute","hour","dayOfMonth","month","dayOfWeek"],o.predefined={"@yearly":"0 0 1 1 *","@monthly":"0 0 1 * *","@weekly":"0 0 * * 0","@daily":"0 0 * * *","@hourly":"0 * * * *"},o.constraints=[{min:0,max:59,chars:[]},{min:0,max:59,chars:[]},{min:0,max:23,chars:[]},{min:1,max:31,chars:["L"]},{min:1,max:12,chars:[]},{min:0,max:7,chars:["L"]}],o.daysInMonth=[31,29,31,30,31,30,31,31,30,31,30,31],o.aliases={month:{jan:1,feb:2,mar:3,apr:4,may:5,jun:6,jul:7,aug:8,sep:9,oct:10,nov:11,dec:12},dayOfWeek:{sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6}},o.parseDefaults=["0","*","*","*","*","*"],o.standardValidCharacters=/^[,*\d/-]+$/,o.dayOfWeekValidCharacters=/^[?,*\dL#/-]+$/,o.dayOfMonthValidCharacters=/^[?,*\dL/-]+$/,o.validCharacters={second:o.standardValidCharacters,minute:o.standardValidCharacters,hour:o.standardValidCharacters,dayOfMonth:o.dayOfMonthValidCharacters,month:o.standardValidCharacters,dayOfWeek:o.dayOfWeekValidCharacters},o._isValidConstraintChar=function(e,t){return"string"==typeof t&&e.chars.some(function(e){return t.indexOf(e)>-1})},o._parseField=function(e,t,n){switch(e){case"month":case"dayOfWeek":var r=o.aliases[e];t=t.replace(/[a-z]{3}/gi,function(e){if(void 0!==r[e=e.toLowerCase()])return r[e];throw Error('Validation error, cannot resolve alias "'+e+'"')})}if(!o.validCharacters[e].test(t))throw Error("Invalid characters, got value: "+t);function i(e){var t=e.split("/");if(t.length>2)throw Error("Invalid repeat: "+e);return t.length>1?(t[0]==+t[0]&&(t=[t[0]+"-"+n.max,t[1]]),a(t[0],t[t.length-1])):a(e,1)}function a(t,r){var i=[],o=t.split("-");if(o.length>1){if(o.length<2)return+t;if(!o[0].length){if(!o[1].length)throw Error("Invalid range: "+t);return+t}var a=+o[0],s=+o[1];if(Number.isNaN(a)||Number.isNaN(s)||an.max)throw Error("Constraint error, got range "+a+"-"+s+" expected range "+n.min+"-"+n.max);if(a>s)throw Error("Invalid range: "+t);var u=+r;if(Number.isNaN(u)||u<=0)throw Error("Constraint error, cannot repeat at every "+u+" time.");"dayOfWeek"===e&&s%7==0&&i.push(0);for(var l=a;l<=s;l++)!(-1!==i.indexOf(l))&&u>0&&u%r==0?(u=1,i.push(l)):u++;return i}return Number.isNaN(+t)?t:+t}return -1!==t.indexOf("*")?t=t.replace(/\*/g,n.min+"-"+n.max):-1!==t.indexOf("?")&&(t=t.replace(/\?/g,n.min+"-"+n.max)),function(t){var r=[];function a(t){if(t instanceof Array)for(var i=0,a=t.length;in.max)throw Error("Constraint error, got value "+s+" expected range "+n.min+"-"+n.max);r.push(s)}else{if(o._isValidConstraintChar(n,t)){r.push(t);return}var u=+t;if(Number.isNaN(u)||un.max)throw Error("Constraint error, got value "+t+" expected range "+n.min+"-"+n.max);"dayOfWeek"===e&&(u%=7),r.push(u)}}var s=t.split(",");if(!s.every(function(e){return e.length>0}))throw Error("Invalid list value format");if(s.length>1)for(var u=0,l=s.length;ut)throw Error("Invalid explicit day of month definition");return e.dayOfMonth.filter(function(e){return"L"===e||e<=t}).sort(o._sortCompareFn)}},o._freezeFields=function(e){for(var t=0,n=o.map.length;t=e)return t[n]===e;return t[0]===e}function n(e){return e.length>0&&e.some(function(e){return"string"==typeof e&&e.indexOf("L")>=0})}for(var i=(e=e||!1)?"subtract":"add",a=new r(this._currentDate,this._tz),s=this._startDate,u=this._endDate,l=a.getTime(),c=0;c<1e4;){if(c++,e){if(s&&a.getTime()-s.getTime()<0)throw Error("Out of the timespan range")}else if(u&&u.getTime()-a.getTime()<0)throw Error("Out of the timespan range");var _=t(a.getDate(),this.fields.dayOfMonth);n(this.fields.dayOfMonth)&&(_=_||a.isLastDayOfMonth());var p=t(a.getDay(),this.fields.dayOfWeek);n(this.fields.dayOfWeek)&&(p=p||this.fields.dayOfWeek.some(function(e){if(!n([e]))return!1;var t=Number.parseInt(e[0])%7;if(Number.isNaN(t))throw Error("Invalid last weekday of the month expression: "+e);return a.getDay()===t&&a.isLastWeekdayOfMonth()}));var d=this.fields.dayOfMonth.length>=o.daysInMonth[a.getMonth()],f=this.fields.dayOfWeek.length===o.constraints[5].max-o.constraints[5].min+1,m=a.getHours();if(!_&&(!p||f)||!d&&f&&!_||d&&!f&&!p||this._nthDayOfWeek>0&&!function(e,t){if(t<6){if(8>e.getDate()&&1===t)return!0;var n=e.getDate()%7?1:0;return Math.floor((e.getDate()-e.getDate()%7)/7)+n===t}return!1}(a,this._nthDayOfWeek)){this._applyTimezoneShift(a,i,"Day");continue}if(!t(a.getMonth()+1,this.fields.month)){this._applyTimezoneShift(a,i,"Month");continue}if(t(m,this.fields.hour)){if(this._dstEnd===m&&!e){this._dstEnd=null,this._applyTimezoneShift(a,"add","Hour");continue}}else{if(this._dstStart!==m){this._dstStart=null,this._applyTimezoneShift(a,i,"Hour");continue}if(!t(m-1,this.fields.hour)){a[i+"Hour"]();continue}}if(!t(a.getMinutes(),this.fields.minute)){this._applyTimezoneShift(a,i,"Minute");continue}if(!t(a.getSeconds(),this.fields.second)){this._applyTimezoneShift(a,i,"Second");continue}if(l===a.getTime()){"add"===i||0===a.getMilliseconds()?this._applyTimezoneShift(a,i,"Second"):a.setMilliseconds(0);continue}break}if(c>=1e4)throw Error("Invalid expression, loop limit exceeded");return this._currentDate=new r(a,this._tz),this._hasIterated=!0,a},o.prototype.next=function(){var e=this._findSchedule();return this._isIterator?{value:e,done:!this.hasNext()}:e},o.prototype.prev=function(){var e=this._findSchedule(!0);return this._isIterator?{value:e,done:!this.hasPrev()}:e},o.prototype.hasNext=function(){var e=this._currentDate,t=this._hasIterated;try{return this._findSchedule(),!0}catch(e){return!1}finally{this._currentDate=e,this._hasIterated=t}},o.prototype.hasPrev=function(){var e=this._currentDate,t=this._hasIterated;try{return this._findSchedule(!0),!0}catch(e){return!1}finally{this._currentDate=e,this._hasIterated=t}},o.prototype.iterate=function(e,t){var n=[];if(e>=0)for(var r=0,i=e;ri;r--)try{var o=this.prev();n.push(o),t&&t(o,r)}catch(e){break}return n},o.prototype.reset=function(e){this._currentDate=new r(e||this._options.currentDate)},o.prototype.stringify=function(e){for(var t=[],n=e?0:1,r=o.map.length;n6)throw Error("Invalid cron expression");for(var s=o.map.length-a.length,u=0,l=o.map.length;ul?u:u-s];if(u1){var r=+n[n.length-1];if(/,/.test(e))throw Error("Constraint error, invalid dayOfWeek `#` and `,` special characters are incompatible");if(/\//.test(e))throw Error("Constraint error, invalid dayOfWeek `#` and `/` special characters are incompatible");if(/-/.test(e))throw Error("Constraint error, invalid dayOfWeek `#` and `-` special characters are incompatible");if(n.length>2||Number.isNaN(r)||r<1||r>5)throw Error("Constraint error, invalid dayOfWeek occurrence number (#)");return t.nthDayOfWeek=r,n[0]}return e}(_):_;i.push(o._parseField(c,p,o.constraints[u]))}}for(var d={},u=0,l=o.map.length;un.max))throw Error("Constraint error, got value "+a+" expected range "+n.min+"-"+n.max)}}(a,s,o.constraints[r]);for(var u=[],l=-1;++l{"use strict";function t(e){return{start:e,count:1}}function n(e,t){e.end=t,e.step=t-e.start,e.count=2}function r(e,n,r){n&&(2===n.count?(e.push(t(n.start)),e.push(t(n.end))):e.push(n)),r&&e.push(r)}e.exports=function(e){for(var i=[],o=void 0,a=0;a{"use strict";var r=n(7156);e.exports=function(e,t,n){var i=r(e);if(1===i.length){var o=i[0],a=o.step;if(1===a&&o.start===t&&o.end===n)return"*";if(1!==a&&o.start===t&&o.end===n-a+1)return"*/"+a}for(var s=[],u=0,l=i.length;uc.end?s.push(e.join(",")):c.end===n-c.step+1?s.push(c.start+"/"+c.step):s.push(c.start+"-"+c.end+"/"+c.step)}return s.join(",")}},3601:(e,t,n)=>{"use strict";var r=n(2249);function i(){}i._parseEntry=function(e){var t=e.split(" ");if(6===t.length)return{interval:r.parse(e)};if(t.length>6)return{interval:r.parse(t.slice(0,6).join(" ")),command:t.slice(6,t.length)};throw Error("Invalid entry: "+e)},i.parseExpression=function(e,t){return r.parse(e,t)},i.fieldsToExpression=function(e,t){return r.fieldsToExpression(e,t)},i.parseString=function(e){for(var t=e.split("\n"),n={variables:{},expressions:[],errors:{}},r=0,o=t.length;r0){if(u.match(/^#/))continue;if(s=u.match(/^(.*)=(.*)$/))n.variables[s[1]]=s[2];else{var l=null;try{l=i._parseEntry("0 "+u),n.expressions.push(l.interval)}catch(e){n.errors[u]=e}}}}return n},i.parseFile=function(e,t){n(6831).readFile(e,function(e,n){if(e){t(e);return}return t(null,i.parseString(n.toString()))})},e.exports=i},5881:e=>{function t(e,t,n,r){return Math.round(e/n)+" "+r+(t>=1.5*n?"s":"")}e.exports=function(e,n){n=n||{};var r,i,o=typeof e;if("string"===o&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*n;case"weeks":case"week":case"w":return 6048e5*n;case"days":case"day":case"d":return 864e5*n;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*n;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*n;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}(e);if("number"===o&&isFinite(e))return n.long?(r=Math.abs(e))>=864e5?t(e,r,864e5,"day"):r>=36e5?t(e,r,36e5,"hour"):r>=6e4?t(e,r,6e4,"minute"):r>=1e3?t(e,r,1e3,"second"):e+" ms":(i=Math.abs(e))>=864e5?Math.round(e/864e5)+"d":i>=36e5?Math.round(e/36e5)+"h":i>=6e4?Math.round(e/6e4)+"m":i>=1e3?Math.round(e/1e3)+"s":e+"ms";throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},5130:(e,t,n)=>{var r=n(4406);t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;let n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG),e},t.useColors=function(){return"undefined"!=typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(7123)(t);let{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},7123:(e,t,n)=>{e.exports=function(e){function t(e){let n,i,o;let a=null;function s(...e){if(!s.enabled)return;let r=Number(new Date),i=r-(n||r);s.diff=i,s.prev=n,s.curr=r,n=r,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(n,r)=>{if("%%"===n)return"%";o++;let i=t.formatters[r];if("function"==typeof i){let t=e[o];n=i.call(s,t),e.splice(o,1),o--}return n}),t.formatArgs.call(s,e);let a=s.log||t.log;a.apply(s,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=r,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{a=e}}),"function"==typeof t.init&&t.init(s),s}function r(e,n){let r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names.map(i),...t.skips.map(i).map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];let r=("string"==typeof e?e:"").split(/[\s,]+/),i=r.length;for(n=0;n{t[n]=e[n]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t{"use strict";var r=n(3464),i="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),o=Object.prototype.toString,a=Array.prototype.concat,s=Object.defineProperty,u=n(1181)(),l=s&&u,c=function(e,t,n,r){(!(t in e)||"function"==typeof r&&"[object Function]"===o.call(r)&&r())&&(l?s(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},_=function(e,t){var n=arguments.length>2?arguments[2]:{},o=r(t);i&&(o=a.call(o,Object.getOwnPropertySymbols(t)));for(var s=0;s{"use strict";function t(e,t){if(null==e)throw TypeError("Cannot convert first argument to object");for(var n=Object(e),r=1;r{"use strict";var t,n="object"==typeof Reflect?Reflect:null,r=n&&"function"==typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise(function(n,r){function i(n){e.removeListener(t,o),r(n)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",i),n([].slice.call(arguments))}m(e,t,o,{once:!0}),"error"!==t&&"function"==typeof e.on&&m(e,"error",i,{once:!0})})},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var a=10;function s(e){if("function"!=typeof e)throw TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function l(e,t,n,r){if(s(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"==typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=u(e))>0&&a.length>i&&!a.warned){a.warned=!0;var i,o,a,l=Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,console&&console.warn&&console.warn(l)}return e}function c(){if(!this.fired)return(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0==arguments.length)?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function _(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=c.bind(r);return i.listener=n,r.wrapFn=i,i}function p(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=Array(e.length),n=0;n0&&(a=t[0]),a instanceof Error)throw a;var a,s=Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=o[e];if(void 0===u)return!1;if("function"==typeof u)r(u,this,t);else for(var l=u.length,c=f(u,l),n=0;n=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},o.prototype.listeners=function(e){return p(this,e,!0)},o.prototype.rawListeners=function(e){return p(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):d.call(e,t)},o.prototype.listenerCount=d,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},2598:e=>{"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t instanceof Map&&n instanceof Map){if(t.size!==n.size)return!1;for(i of t.entries())if(!n.has(i[0]))return!1;for(i of t.entries())if(!e(i[1],n.get(i[0])))return!1;return!0}if(t instanceof Set&&n instanceof Set){if(t.size!==n.size)return!1;for(i of t.entries())if(!n.has(i[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(n)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(t[i]!==n[i])return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!=i--;){var r,i,o,a=o[i];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}},9375:e=>{e.exports=class{constructor(e){if(!(e>0)||(e-1&e)!=0)throw Error("Max size for a FixedFIFO should be a power of two");this.buffer=Array(e),this.mask=e-1,this.top=0,this.btm=0,this.next=null}clear(){this.top=this.btm=0,this.next=null,this.buffer.fill(void 0)}push(e){return void 0===this.buffer[this.top]&&(this.buffer[this.top]=e,this.top=this.top+1&this.mask,!0)}shift(){let e=this.buffer[this.btm];if(void 0!==e)return this.buffer[this.btm]=void 0,this.btm=this.btm+1&this.mask,e}peek(){return this.buffer[this.btm]}isEmpty(){return void 0===this.buffer[this.btm]}}},2865:(e,t,n)=>{let r=n(9375);e.exports=class{constructor(e){this.hwm=e||16,this.head=new r(this.hwm),this.tail=this.head,this.length=0}clear(){this.head=this.tail,this.head.clear(),this.length=0}push(e){if(this.length++,!this.head.push(e)){let t=this.head;this.head=t.next=new r(2*this.head.buffer.length),this.head.push(e)}}shift(){0!==this.length&&this.length--;let e=this.tail.shift();if(void 0===e&&this.tail.next){let e=this.tail.next;return this.tail.next=null,this.tail=e,this.tail.shift()}return e}peek(){let e=this.tail.peek();return void 0===e&&this.tail.next?this.tail.next.peek():e}isEmpty(){return 0===this.length}}},5695:e=>{"use strict";e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var n,r="boolean"==typeof t.cycles&&t.cycles,i=t.cmp&&(n=t.cmp,function(e){return function(t,r){return n({key:t,value:e[t]},{key:r,value:e[r]})}}),o=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);if(Array.isArray(t)){for(n=0,a="[";n{e.exports=a,a.default=a,a.stable=l,a.stableStringify=l;var t="[...]",n="[Circular]",r=[],i=[];function o(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function a(e,a,u,l){void 0===l&&(l=o()),function e(r,i,o,a,u,l,c){if(l+=1,"object"==typeof r&&null!==r){for(_=0;_c.depthLimit||void 0!==c.edgesLimit&&o+1>c.edgesLimit){s(t,r,i,u);return}if(a.push(r),Array.isArray(r))for(_=0;_t?1:0}function l(e,a,l,_){void 0===_&&(_=o());var p,d=function e(i,o,a,l,c,_,p){if(_+=1,"object"==typeof i&&null!==i){for(d=0;dp.depthLimit||void 0!==p.edgesLimit&&a+1>p.edgesLimit){s(t,i,o,c);return}if(l.push(i),Array.isArray(i))for(d=0;d0)for(var r=0;r{"use strict";let r=n(3325),i=n(3281),o=n(7932);e.exports={XMLParser:i,XMLValidator:r,XMLBuilder:o}},4056:(e,t)=>{"use strict";let n=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",r="["+n+"]["+n+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*",i=RegExp("^"+r+"$");t.isExist=function(e){return void 0!==e},t.isEmptyObject=function(e){return 0===Object.keys(e).length},t.merge=function(e,t,n){if(t){let r=Object.keys(t),i=r.length;for(let o=0;o{"use strict";let r=n(4056),i={allowBooleanAttributes:!1,unpairedTags:[]};function o(e){return" "===e||" "===e||"\n"===e||"\r"===e}function a(e,t){let n=t;for(;t5&&"xml"===r)return c("InvalidXml","XML declaration allowed only at the start of the document.",_(e,t));if("?"!=e[t]||">"!=e[t+1])continue;t++;break}return t}function s(e,t){if(e.length>t+5&&"-"===e[t+1]&&"-"===e[t+2]){for(t+=3;t"===e[t+2]){t+=2;break}}else if(e.length>t+8&&"D"===e[t+1]&&"O"===e[t+2]&&"C"===e[t+3]&&"T"===e[t+4]&&"Y"===e[t+5]&&"P"===e[t+6]&&"E"===e[t+7]){let n=1;for(t+=8;t"===e[t]&&0==--n)break}else if(e.length>t+9&&"["===e[t+1]&&"C"===e[t+2]&&"D"===e[t+3]&&"A"===e[t+4]&&"T"===e[t+5]&&"A"===e[t+6]&&"["===e[t+7]){for(t+=8;t"===e[t+2]){t+=2;break}}return t}t.validate=function(e,t){t=Object.assign({},i,t);let n=[],u=!1,p=!1;"\uFEFF"===e[0]&&(e=e.substr(1));for(let i=0;i"!==e[i]&&" "!==e[i]&&" "!==e[i]&&"\n"!==e[i]&&"\r"!==e[i];i++)h+=e[i];if("/"===(h=h.trim())[h.length-1]&&(h=h.substring(0,h.length-1),i--),d=h,!r.isName(d))return c("InvalidTag",0===h.trim().length?"Invalid space after '<'.":"Tag '"+h+"' is an invalid name.",_(e,i));let y=function(e,t){let n="",r="",i=!1;for(;t"===e[t]&&""===r){i=!0;break}n+=e[t]}return""===r&&{value:n,index:t,tagClosed:i}}(e,i);if(!1===y)return c("InvalidAttr","Attributes for '"+h+"' have open quote.",_(e,i));let g=y.value;if(i=y.index,"/"===g[g.length-1]){let n=i-g.length;g=g.substring(0,g.length-1);let r=l(g,t);if(!0!==r)return c(r.err.code,r.err.msg,_(e,n+r.err.line));u=!0}else if(m){if(!y.tagClosed)return c("InvalidTag","Closing tag '"+h+"' doesn't have proper closing.",_(e,i));if(g.trim().length>0)return c("InvalidTag","Closing tag '"+h+"' can't have attributes or invalid starting.",_(e,f));{let t=n.pop();if(h!==t.tagName){let n=_(e,t.tagStartPos);return c("InvalidTag","Expected closing tag '"+t.tagName+"' (opened in line "+n.line+", col "+n.col+") instead of closing tag '"+h+"'.",_(e,f))}0==n.length&&(p=!0)}}else{let r=l(g,t);if(!0!==r)return c(r.err.code,r.err.msg,_(e,i-g.length+r.err.line));if(!0===p)return c("InvalidXml","Multiple possible root nodes found.",_(e,i));-1!==t.unpairedTags.indexOf(h)||n.push({tagName:h,tagStartPos:f}),u=!0}for(i++;i0)||c("InvalidXml","Invalid '"+JSON.stringify(n.map(e=>e.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):c("InvalidXml","Start tag expected.",1)};let u=RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function l(e,t){let n=r.getAllMatches(e,u),i={};for(let e=0;e{"use strict";let r=n(6704),i={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:RegExp("&","g"),val:"&"},{regex:RegExp(">","g"),val:">"},{regex:RegExp("<","g"),val:"<"},{regex:RegExp("'","g"),val:"'"},{regex:RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function o(e){this.options=Object.assign({},i,e),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=u),this.processTextOrObjNode=a,this.options.format?(this.indentate=s,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function a(e,t,n){let r=this.j2x(e,n+1);return void 0!==e[this.options.textNodeName]&&1===Object.keys(e).length?this.buildTextValNode(e[this.options.textNodeName],t,r.attrStr,n):this.buildObjectNode(r.val,t,r.attrStr,n)}function s(e){return this.options.indentBy.repeat(e)}function u(e){return!!e.startsWith(this.options.attributeNamePrefix)&&e.substr(this.attrPrefixLen)}o.prototype.build=function(e){return this.options.preserveOrder?r(e,this.options):(Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e}),this.j2x(e,0).val)},o.prototype.j2x=function(e,t){let n="",r="";for(let i in e)if(void 0===e[i]);else if(null===e[i])"?"===i[0]?r+=this.indentate(t)+"<"+i+"?"+this.tagEndChar:r+=this.indentate(t)+"<"+i+"/"+this.tagEndChar;else if(e[i]instanceof Date)r+=this.buildTextValNode(e[i],i,"",t);else if("object"!=typeof e[i]){let o=this.isAttribute(i);if(o)n+=this.buildAttrPairStr(o,""+e[i]);else if(i===this.options.textNodeName){let t=this.options.tagValueProcessor(i,""+e[i]);r+=this.replaceEntitiesValue(t)}else r+=this.buildTextValNode(e[i],i,"",t)}else if(Array.isArray(e[i])){let n=e[i].length,o="";for(let a=0;a"+e+i:!1!==this.options.commentPropName&&t===this.options.commentPropName&&0===o.length?this.indentate(r)+``+this.newLine:this.indentate(r)+"<"+t+n+o+this.tagEndChar+e+this.indentate(r)+i}},o.prototype.closeTag=function(e){let t="";return -1!==this.options.unpairedTags.indexOf(e)?this.options.suppressUnpairedNode||(t="/"):t=this.options.suppressEmptyNode?"/":`>`+this.newLine;if(!1!==this.options.commentPropName&&t===this.options.commentPropName)return this.indentate(r)+``+this.newLine;if("?"===t[0])return this.indentate(r)+"<"+t+n+"?"+this.tagEndChar;{let i=this.options.tagValueProcessor(t,e);return""===(i=this.replaceEntitiesValue(i))?this.indentate(r)+"<"+t+n+this.closeTag(t)+this.tagEndChar:this.indentate(r)+"<"+t+n+">"+i+"0&&this.options.processEntities)for(let t=0;t{function t(e,t){let r="";if(e&&!t.ignoreAttributes)for(let i in e){let o=t.attributeValueProcessor(i,e[i]);!0===(o=n(o,t))&&t.suppressBooleanAttributes?r+=` ${i.substr(t.attributeNamePrefix.length)}`:r+=` ${i.substr(t.attributeNamePrefix.length)}="${o}"`}return r}function n(e,t){if(e&&e.length>0&&t.processEntities)for(let n=0;n0&&(i="\n"),function e(r,i,o,a){let s="",u=!1;for(let l=0;l`,u=!1;continue}if(_===i.commentPropName){s+=a+``,u=!0;continue}if("?"===_[0]){let e=t(c[":@"],i),n="?xml"===_?"":a,r=c[_][0][i.textNodeName];s+=n+`<${_}${r=0!==r.length?" "+r:""}${e}?>`,u=!0;continue}let d=a;""!==d&&(d+=i.indentBy);let f=t(c[":@"],i),m=a+`<${_}${f}`,h=e(c[_],i,p,d);-1!==i.unpairedTags.indexOf(_)?i.suppressUnpairedNode?s+=m+">":s+=m+"/>":(!h||0===h.length)&&i.suppressEmptyNode?s+=m+"/>":h&&h.endsWith(">")?s+=m+`>${h}${a}`:(s+=m+">",h&&""!==a&&(h.includes("/>")||h.includes("`),u=!0}return s}(e,r,"",i)}},3770:(e,t,n)=>{let r=n(4056);function i(e,t){return"!"===e[t+1]&&"-"===e[t+2]&&"-"===e[t+3]}e.exports=function(e,t){let n={};if("O"===e[t+3]&&"C"===e[t+4]&&"T"===e[t+5]&&"Y"===e[t+6]&&"P"===e[t+7]&&"E"===e[t+8]){t+=9;let d=1,f=!1,m=!1;for(;t"===e[t]){if(m?"-"===e[t-1]&&"-"===e[t-2]&&(m=!1,d--):d--,0===d)break}else"["===e[t]?f=!0:e[t]}else{var o,a,s,u,l,c,_,p;if(f&&"!"===(o=e)[(a=t)+1]&&"E"===o[a+2]&&"N"===o[a+3]&&"T"===o[a+4]&&"I"===o[a+5]&&"T"===o[a+6]&&"Y"===o[a+7])t+=7,[entityName,val,t]=function(e,t){let n="";for(;t{let n={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,n){return e}};t.buildOptions=function(e){return Object.assign({},n,e)},t.defaultOptions=n},2848:(e,t,n)=>{"use strict";let r=n(4056),i=n(4499),o=n(3770),a=n(5580);function s(e){let t=Object.keys(e);for(let n=0;n0)){a||(e=this.replaceEntitiesValue(e));let r=this.options.tagValueProcessor(t,e,n,i,o);if(null==r)return e;if(typeof r!=typeof e||r!==e)return r;{if(this.options.trimValues)return v(e,this.options.parseTagValue,this.options.numberParseOptions);let t=e.trim();return t===e?v(e,this.options.parseTagValue,this.options.numberParseOptions):e}}}function l(e){if(this.options.removeNSPrefix){let t=e.split(":"),n="/"===e.charAt(0)?"/":"";if("xmlns"===t[0])return"";2===t.length&&(e=n+t[1])}return e}"<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g,r.nameRegexp);let c=RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function _(e,t,n){if(!this.options.ignoreAttributes&&"string"==typeof e){let n=r.getAllMatches(e,c),i=n.length,o={};for(let e=0;e",s,"Closing Tag is not closed."),i=e.substring(s+2,t).trim();if(this.options.removeNSPrefix){let e=i.indexOf(":");-1!==e&&(i=i.substr(e+1))}this.options.transformTagName&&(i=this.options.transformTagName(i)),n&&(r=this.saveTextToParentTag(r,n,a));let o=a.substring(a.lastIndexOf(".")+1);if(i&&-1!==this.options.unpairedTags.indexOf(i))throw Error(`Unpaired tag can not be used as closing tag: `);let u=0;o&&-1!==this.options.unpairedTags.indexOf(o)?(u=a.lastIndexOf(".",a.lastIndexOf(".")-1),this.tagsNodeStack.pop()):u=a.lastIndexOf("."),a=a.substring(0,u),n=this.tagsNodeStack.pop(),r="",s=t}else if("?"===e[s+1]){let t=g(e,s,!1,"?>");if(!t)throw Error("Pi Tag is not closed.");if(r=this.saveTextToParentTag(r,n,a),this.options.ignoreDeclaration&&"?xml"===t.tagName||this.options.ignorePiTags);else{let e=new i(t.tagName);e.add(this.options.textNodeName,""),t.tagName!==t.tagExp&&t.attrExpPresent&&(e[":@"]=this.buildAttributesMap(t.tagExp,a,t.tagName)),this.addChild(n,e,a)}s=t.closeIndex+1}else if("!--"===e.substr(s+1,3)){let t=y(e,"-->",s+4,"Comment is not closed.");if(this.options.commentPropName){let i=e.substring(s+4,t-2);r=this.saveTextToParentTag(r,n,a),n.add(this.options.commentPropName,[{[this.options.textNodeName]:i}])}s=t}else if("!D"===e.substr(s+1,2)){let t=o(e,s);this.docTypeEntities=t.entities,s=t.i}else if("!["===e.substr(s+1,2)){let t=y(e,"]]>",s,"CDATA is not closed.")-2,i=e.substring(s+9,t);if(r=this.saveTextToParentTag(r,n,a),this.options.cdataPropName)n.add(this.options.cdataPropName,[{[this.options.textNodeName]:i}]);else{let e=this.parseTextData(i,n.tagname,a,!0,!1,!0);void 0==e&&(e=""),n.add(this.options.textNodeName,e)}s=t+2}else{let o=g(e,s,this.options.removeNSPrefix),u=o.tagName,l=o.tagExp,c=o.attrExpPresent,_=o.closeIndex;this.options.transformTagName&&(u=this.options.transformTagName(u)),n&&r&&"!xml"!==n.tagname&&(r=this.saveTextToParentTag(r,n,a,!1));let p=n;if(p&&-1!==this.options.unpairedTags.indexOf(p.tagname)&&(n=this.tagsNodeStack.pop(),a=a.substring(0,a.lastIndexOf("."))),u!==t.tagname&&(a+=a?"."+u:u),this.isItStopNode(this.options.stopNodes,a,u)){let t="";if(l.length>0&&l.lastIndexOf("/")===l.length-1)s=o.closeIndex;else if(-1!==this.options.unpairedTags.indexOf(u))s=o.closeIndex;else{let n=this.readStopNodeData(e,u,_+1);if(!n)throw Error(`Unexpected end of ${u}`);s=n.i,t=n.tagContent}let r=new i(u);u!==l&&c&&(r[":@"]=this.buildAttributesMap(l,a,u)),t&&(t=this.parseTextData(t,u,a,!0,c,!0,!0)),a=a.substr(0,a.lastIndexOf(".")),r.add(this.options.textNodeName,t),this.addChild(n,r,a)}else{if(l.length>0&&l.lastIndexOf("/")===l.length-1){l="/"===u[u.length-1]?u=u.substr(0,u.length-1):l.substr(0,l.length-1),this.options.transformTagName&&(u=this.options.transformTagName(u));let e=new i(u);u!==l&&c&&(e[":@"]=this.buildAttributesMap(l,a,u)),this.addChild(n,e,a),a=a.substr(0,a.lastIndexOf("."))}else{let e=new i(u);this.tagsNodeStack.push(n),u!==l&&c&&(e[":@"]=this.buildAttributesMap(l,a,u)),this.addChild(n,e,a),n=e}r="",s=_}}}else r+=e[s]}return t.child};function d(e,t,n){let r=this.options.updateTag(t.tagname,n,t[":@"]);!1===r||("string"==typeof r&&(t.tagname=r),e.addChild(t))}let f=function(e){if(this.options.processEntities){for(let t in this.docTypeEntities){let n=this.docTypeEntities[t];e=e.replace(n.regx,n.val)}for(let t in this.lastEntities){let n=this.lastEntities[t];e=e.replace(n.regex,n.val)}if(this.options.htmlEntities)for(let t in this.htmlEntities){let n=this.htmlEntities[t];e=e.replace(n.regex,n.val)}e=e.replace(this.ampEntity.regex,this.ampEntity.val)}return e};function m(e,t,n,r){return e&&(void 0===r&&(r=0===Object.keys(t.child).length),void 0!==(e=this.parseTextData(e,t.tagname,n,!1,!!t[":@"]&&0!==Object.keys(t[":@"]).length,r))&&""!==e&&t.add(this.options.textNodeName,e),e=""),e}function h(e,t,n){let r="*."+n;for(let n in e){let i=e[n];if(r===i||t===i)return!0}return!1}function y(e,t,n,r){let i=e.indexOf(t,n);if(-1!==i)return i+t.length-1;throw Error(r)}function g(e,t,n,r=">"){let i=function(e,t,n=">"){let r;let i="";for(let o=t;o",n,`${t} is not closed`);if(e.substring(n+2,o).trim()===t&&0==--i)return{tagContent:e.substring(r,n),i:o};n=o}else if("?"===e[n+1]){let t=y(e,"?>",n+1,"StopNode is not closed.");n=t}else if("!--"===e.substr(n+1,3)){let t=y(e,"-->",n+3,"StopNode is not closed.");n=t}else if("!["===e.substr(n+1,2)){let t=y(e,"]]>",n,"StopNode is not closed.")-2;n=t}else{let r=g(e,n,">");if(r){let e=r&&r.tagName;e===t&&"/"!==r.tagExp[r.tagExp.length-1]&&i++,n=r.closeIndex}}}}function v(e,t,n){if(t&&"string"==typeof e){let t=e.trim();return"true"===t||"false"!==t&&a(e,n)}return r.isExist(e)?e:""}e.exports=class{constructor(e){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"\xa2"},pound:{regex:/&(pound|#163);/g,val:"\xa3"},yen:{regex:/&(yen|#165);/g,val:"\xa5"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"\xa9"},reg:{regex:/&(reg|#174);/g,val:"\xae"},inr:{regex:/&(inr|#8377);/g,val:"₹"}},this.addExternalEntities=s,this.parseXml=p,this.parseTextData=u,this.resolveNameSpace=l,this.buildAttributesMap=_,this.isItStopNode=h,this.replaceEntitiesValue=f,this.readStopNodeData=b,this.saveTextToParentTag=m,this.addChild=d}}},3281:(e,t,n)=>{let{buildOptions:r}=n(4238),i=n(2848),{prettify:o}=n(4416),a=n(3325);e.exports=class{constructor(e){this.externalEntities={},this.options=r(e)}parse(e,t){if("string"==typeof e);else if(e.toString)e=e.toString();else throw Error("XML data is accepted in String or Bytes[] form.");if(t){!0===t&&(t={});let n=a.validate(e,t);if(!0!==n)throw Error(`${n.err.msg}:${n.err.line}:${n.err.col}`)}let n=new i(this.options);n.addExternalEntities(this.externalEntities);let r=n.parseXml(e);return this.options.preserveOrder||void 0===r?r:o(r,this.options)}addEntity(e,t){if(-1!==t.indexOf("&"))throw Error("Entity value can't have '&'");if(-1!==e.indexOf("&")||-1!==e.indexOf(";"))throw Error("An entity must be set without '&' and ';'. Eg. use '#xD' for ' '");if("&"===t)throw Error("An entity with value '&' is not permitted");this.externalEntities[e]=t}}},4416:(e,t)=>{"use strict";t.prettify=function(e,t){return function e(t,n,r){let i;let o={};for(let a=0;a0&&(o[n.textNodeName]=i):void 0!==i&&(o[n.textNodeName]=i),o}(e,t)}},4499:e=>{"use strict";e.exports=class{constructor(e){this.tagname=e,this.child=[],this[":@"]={}}add(e,t){"__proto__"===e&&(e="#__proto__"),this.child.push({[e]:t})}addChild(e){"__proto__"===e.tagname&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child})}}},3243:(e,t,n)=>{"use strict";var r=n(9680),i=Object.prototype.toString,o=Object.prototype.hasOwnProperty,a=function(e,t,n){for(var r=0,i=e.length;r=3&&(o=n),"[object Array]"===i.call(e)?a(e,t,o):"string"==typeof e?s(e,t,o):u(e,t,o)}},7795:e=>{"use strict";var t=Array.prototype.slice,n=Object.prototype.toString;e.exports=function(e){var r,i=this;if("function"!=typeof i||"[object Function]"!==n.call(i))throw TypeError("Function.prototype.bind called on incompatible "+i);for(var o=t.call(arguments,1),a=Math.max(0,i.length-o.length),s=[],u=0;u{"use strict";var r=n(7795);e.exports=Function.prototype.bind||r},7286:(e,t,n)=>{"use strict";var r,i=SyntaxError,o=Function,a=TypeError,s=function(e){try{return o('"use strict"; return ('+e+").constructor;")()}catch(e){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(e){u=null}var l=function(){throw new a},c=u?function(){try{return arguments.callee,l}catch(e){try{return u(arguments,"callee").get}catch(e){return l}}}():l,_=n(2636)(),p=Object.getPrototypeOf||function(e){return e.__proto__},d={},f="undefined"==typeof Uint8Array?r:p(Uint8Array),m={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":_?p([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":d,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":_?p(p([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&_?p(new Map()[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&_?p(new Set()[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":_?p(""[Symbol.iterator]()):r,"%Symbol%":_?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":c,"%TypedArray%":f,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet};try{null.error}catch(e){var h=p(p(e));m["%Error.prototype%"]=h}var y=function e(t){var n;if("%AsyncFunction%"===t)n=s("async function () {}");else if("%GeneratorFunction%"===t)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=s("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&(n=p(i.prototype))}return m[t]=n,n},g={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},b=n(4090),v=n(3198),x=b.call(Function.call,Array.prototype.concat),D=b.call(Function.apply,Array.prototype.splice),S=b.call(Function.call,String.prototype.replace),T=b.call(Function.call,String.prototype.slice),E=b.call(Function.call,RegExp.prototype.exec),w=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,A=/\\(\\)?/g,C=function(e){var t=T(e,0,1),n=T(e,-1);if("%"===t&&"%"!==n)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new i("invalid intrinsic syntax, expected opening `%`");var r=[];return S(e,w,function(e,t,n,i){r[r.length]=n?S(i,A,"$1"):t||e}),r},N=function(e,t){var n,r=e;if(v(g,r)&&(r="%"+(n=g[r])[0]+"%"),v(m,r)){var o=m[r];if(o===d&&(o=y(r)),void 0===o&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new i("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===E(/^%?[^%]*%?$/,e))throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=C(e),r=n.length>0?n[0]:"",o=N("%"+r+"%",t),s=o.name,l=o.value,c=!1,_=o.alias;_&&(r=_[0],D(n,x([0,1],_)));for(var p=1,d=!0;p=n.length){var g=u(l,f);l=(d=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:l[f]}else d=v(l,f),l=l[f];d&&!c&&(m[s]=l)}}return l}},6692:(e,t)=>{"use strict";t.Z=function(e,t,n){let r;r=(null==n?void 0:n.registry)?n.registry.endsWith("/")?n.registry:`${n.registry}/`:"https://registry.npmjs.org/";let i="@"!==e[0]?e:e.split("/")[1];return`${r}${e}/-/${i}-${function(e){let t=e.indexOf("+");return -1===t?e:e.substring(0,t)}(t)}.tgz`}},326:(e,t,n)=>{"use strict";var r=n(7286)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},1181:(e,t,n)=>{"use strict";var r=n(7286)("%Object.defineProperty%",!0),i=function(){if(r)try{return r({},"a",{value:1}),!0}catch(e){}return!1};i.hasArrayLengthDefineBug=function(){if(!i())return null;try{return 1!==r([],"length",{value:1}).length}catch(e){return!0}},e.exports=i},2636:(e,t,n)=>{"use strict";var r="undefined"!=typeof Symbol&&Symbol,i=n(6679);e.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&i()}},6679:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},7226:(e,t,n)=>{"use strict";var r=n(6679);e.exports=function(){return r()&&!!Symbol.toStringTag}},3198:(e,t,n)=>{"use strict";var r=n(4090);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},2333:(e,t)=>{/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<>1,c=-7,_=n?i-1:0,p=n?-1:1,d=e[t+_];for(_+=p,o=d&(1<<-c)-1,d>>=-c,c+=s;c>0;o=256*o+e[t+_],_+=p,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+_],_+=p,c-=8);if(0===o)o=1-l;else{if(o===u)return a?NaN:(d?-1:1)*(1/0);a+=Math.pow(2,r),o-=l}return(d?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,u,l=8*o-i-1,c=(1<>1,p=23===i?5960464477539062e-23:0,d=r?0:o-1,f=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),a+_>=1?t+=p/u:t+=p*Math.pow(2,1-_),t*u>=2&&(a++,u/=2),a+_>=c?(s=0,a=c):a+_>=1?(s=(t*u-1)*Math.pow(2,i),a+=_):(s=t*Math.pow(2,_-1)*Math.pow(2,i),a=0));i>=8;e[n+d]=255&s,d+=f,s/=256,i-=8);for(a=a<0;e[n+d]=255&a,d+=f,a/=256,l-=8);e[n+d-f]|=128*m}},1285:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},2635:(e,t,n)=>{"use strict";var r=n(7226)(),i=n(2680)("Object.prototype.toString"),o=function(e){return(!r||!e||"object"!=typeof e||!(Symbol.toStringTag in e))&&"[object Arguments]"===i(e)},a=function(e){return!!o(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==i(e)&&"[object Function]"===i(e.callee)},s=function(){return o(arguments)}();o.isLegacyArguments=a,e.exports=s?o:a},9680:e=>{"use strict";var t,n,r=Function.prototype.toString,i="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof i&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw n}}),n={},i(function(){throw 42},null,t)}catch(e){e!==n&&(i=null)}else i=null;var o=/^\s*class\b/,a=function(e){try{var t=r.call(e);return o.test(t)}catch(e){return!1}},s=function(e){try{if(a(e))return!1;return r.call(e),!0}catch(e){return!1}},u=Object.prototype.toString,l="function"==typeof Symbol&&!!Symbol.toStringTag,c=!(0 in[,]),_=function(){return!1};if("object"==typeof document){var p=document.all;u.call(p)===u.call(document.all)&&(_=function(e){if((c||!e)&&(void 0===e||"object"==typeof e))try{var t=u.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(e){}return!1})}e.exports=i?function(e){if(_(e))return!0;if(!e||"function"!=typeof e&&"object"!=typeof e)return!1;try{i(e,null,t)}catch(e){if(e!==n)return!1}return!a(e)&&s(e)}:function(e){if(_(e))return!0;if(!e||"function"!=typeof e&&"object"!=typeof e)return!1;if(l)return s(e);if(a(e))return!1;var t=u.call(e);return!!("[object Function]"===t||"[object GeneratorFunction]"===t||/^\[object HTML/.test(t))&&s(e)}},3138:(e,t,n)=>{"use strict";var r,i=Object.prototype.toString,o=Function.prototype.toString,a=/^\s*(?:function)?\*/,s=n(7226)(),u=Object.getPrototypeOf,l=function(){if(!s)return!1;try{return Function("return function*() {}")()}catch(e){}};e.exports=function(e){if("function"!=typeof e)return!1;if(a.test(o.call(e)))return!0;if(!s)return"[object GeneratorFunction]"===i.call(e);if(!u)return!1;if(void 0===r){var t=l();r=!!t&&u(t)}return u(e)===r}},7053:e=>{"use strict";e.exports=function(e){return e!=e}},4782:(e,t,n)=>{"use strict";var r=n(9429),i=n(4926),o=n(7053),a=n(755),s=n(5346),u=r(a(),Number);i(u,{getPolyfill:a,implementation:o,shim:s}),e.exports=u},755:(e,t,n)=>{"use strict";var r=n(7053);e.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:r}},5346:(e,t,n)=>{"use strict";var r=n(4926),i=n(755);e.exports=function(){var e=i();return r(Number,{isNaN:e},{isNaN:function(){return Number.isNaN!==e}}),e}},1175:(e,t,n)=>{"use strict";let{XMLParser:r,XMLValidator:i}=n(2215),o=e=>{let t;if(null==e||0===(e=e.toString().trim()).length||!0!==i.validate(e))return!1;let n=new r;try{t=n.parse(e)}catch(e){return!1}return!!t&&"svg"in t};e.exports=o,e.exports.default=o},198:(e,t,n)=>{"use strict";var r=n(3243),i=n(711),o=n(2680),a=o("Object.prototype.toString"),s=n(7226)(),u=n(326),l="undefined"==typeof globalThis?n.g:globalThis,c=i(),_=o("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n-1)}},8085:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n extends Error{}class r extends n{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class i extends n{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class o extends n{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class a extends n{}class s extends n{constructor(e){super(`Invalid unit ${e}`)}}class u extends n{}class l extends n{constructor(){super("Zone is an abstract class")}}let c="numeric",_="short",p="long",d={year:c,month:c,day:c},f={year:c,month:_,day:c},m={year:c,month:_,day:c,weekday:_},h={year:c,month:p,day:c},y={year:c,month:p,day:c,weekday:p},g={hour:c,minute:c},b={hour:c,minute:c,second:c},v={hour:c,minute:c,second:c,timeZoneName:_},x={hour:c,minute:c,second:c,timeZoneName:p},D={hour:c,minute:c,hourCycle:"h23"},S={hour:c,minute:c,second:c,hourCycle:"h23"},T={hour:c,minute:c,second:c,hourCycle:"h23",timeZoneName:_},E={hour:c,minute:c,second:c,hourCycle:"h23",timeZoneName:p},w={year:c,month:c,day:c,hour:c,minute:c},A={year:c,month:c,day:c,hour:c,minute:c,second:c},C={year:c,month:_,day:c,hour:c,minute:c},N={year:c,month:_,day:c,hour:c,minute:c,second:c},M={year:c,month:_,day:c,weekday:_,hour:c,minute:c},k={year:c,month:p,day:c,hour:c,minute:c,timeZoneName:_},I={year:c,month:p,day:c,hour:c,minute:c,second:c,timeZoneName:_},j={year:c,month:p,day:c,weekday:p,hour:c,minute:c,timeZoneName:p},O={year:c,month:p,day:c,weekday:p,hour:c,minute:c,second:c,timeZoneName:p};class P{get type(){throw new l}get name(){throw new l}get ianaName(){return this.name}get isUniversal(){throw new l}offsetName(e,t){throw new l}formatOffset(e,t){throw new l}offset(e){throw new l}equals(e){throw new l}get isValid(){throw new l}}let F=null;class L extends P{static get instance(){return null===F&&(F=new L),F}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:t,locale:n}){return eN(e,t,n)}formatOffset(e,t){return ej(this.offset(e),t)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return"system"===e.type}get isValid(){return!0}}let z={},R={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6},B={};class U extends P{static create(e){return B[e]||(B[e]=new U(e)),B[e]}static resetCache(){B={},z={}}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch(e){return!1}}constructor(e){super(),this.zoneName=e,this.valid=U.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:t,locale:n}){return eN(e,t,n,this.name)}formatOffset(e,t){return ej(this.offset(e),t)}offset(e){var t;let n=new Date(e);if(isNaN(n))return NaN;let r=(z[t=this.name]||(z[t]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),z[t]),[i,o,a,s,u,l,c]=r.formatToParts?function(e,t){let n=e.formatToParts(t),r=[];for(let e=0;e=0?d:1e3+d))/6e4}equals(e){return"iana"===e.type&&e.name===this.name}get isValid(){return this.valid}}let J={},$={};function K(e,t={}){let n=JSON.stringify([e,t]),r=$[n];return r||(r=new Intl.DateTimeFormat(e,t),$[n]=r),r}let V={},Y={},q=null;function W(e,t,n,r,i){let o=e.listingMode(n);return"error"===o?null:"en"===o?r(t):i(t)}class Q{constructor(e,t,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;let{padTo:r,floor:i,...o}=n;if(!t||Object.keys(o).length>0){let t={useGrouping:!1,...n};n.padTo>0&&(t.minimumIntegerDigits=n.padTo),this.inf=function(e,t={}){let n=JSON.stringify([e,t]),r=V[n];return r||(r=new Intl.NumberFormat(e,t),V[n]=r),r}(e,t)}}format(e){if(this.inf){let t=this.floor?Math.floor(e):e;return this.inf.format(t)}{let t=this.floor?Math.floor(e):eD(e,3);return eg(t,this.padTo)}}}class H{constructor(e,t,n){let r;if(this.opts=n,this.originalZone=void 0,this.opts.timeZone)this.dt=e;else if("fixed"===e.zone.type){let t=-1*(e.offset/60),n=t>=0?`Etc/GMT+${t}`:`Etc/GMT${t}`;0!==e.offset&&U.create(n).valid?(r=n,this.dt=e):(r="UTC",this.dt=0===e.offset?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else"system"===e.zone.type?this.dt=e:"iana"===e.zone.type?(this.dt=e,r=e.zone.name):(r="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);let i={...this.opts};i.timeZone=i.timeZone||r,this.dtf=K(t,i)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){let e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(e=>{if("timeZoneName"!==e.type)return e;{let t=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...e,value:t}}}):e}resolvedOptions(){return this.dtf.resolvedOptions()}}class G{constructor(e,t,n){this.opts={style:"long",...n},!t&&ef()&&(this.rtf=function(e,t={}){let{base:n,...r}=t,i=JSON.stringify([e,r]),o=Y[i];return o||(o=new Intl.RelativeTimeFormat(e,t),Y[i]=o),o}(e,n))}format(e,t){return this.rtf?this.rtf.format(e,t):function(e,t,n="always",r=!1){let i={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},o=-1===["hours","minutes","seconds"].indexOf(e);if("auto"===n&&o){let n="days"===e;switch(t){case 1:return n?"tomorrow":`next ${i[e][0]}`;case -1:return n?"yesterday":`last ${i[e][0]}`;case 0:return n?"today":`this ${i[e][0]}`}}let a=Object.is(t,-0)||t<0,s=Math.abs(t),u=1===s,l=i[e],c=r?u?l[1]:l[2]||l[1]:u?i[e][0]:e;return a?`${s} ${c} ago`:`in ${s} ${c}`}(t,e,this.opts.numeric,"long"!==this.opts.style)}formatToParts(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]}}class Z{static fromOpts(e){return Z.create(e.locale,e.numberingSystem,e.outputCalendar,e.defaultToEN)}static create(e,t,n,r=!1){let i=e||ec.defaultLocale,o=i||(r?"en-US":q||(q=new Intl.DateTimeFormat().resolvedOptions().locale)),a=t||ec.defaultNumberingSystem,s=n||ec.defaultOutputCalendar;return new Z(o,a,s,i)}static resetCache(){q=null,$={},V={},Y={}}static fromObject({locale:e,numberingSystem:t,outputCalendar:n}={}){return Z.create(e,t,n)}constructor(e,t,n,r){let[i,o,a]=function(e){let t=e.indexOf("-x-");-1!==t&&(e=e.substring(0,t));let n=e.indexOf("-u-");if(-1===n)return[e];{let t,r;try{t=K(e).resolvedOptions(),r=e}catch(o){let i=e.substring(0,n);t=K(i).resolvedOptions(),r=i}let{numberingSystem:i,calendar:o}=t;return[r,i,o]}}(e);this.locale=i,this.numberingSystem=t||o||null,this.outputCalendar=n||a||null,this.intl=function(e,t,n){return(n||t)&&(e.includes("-u-")||(e+="-u"),n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`)),e}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=r,this.fastNumbersCached=null}get fastNumbers(){return null==this.fastNumbersCached&&(this.fastNumbersCached=(!this.numberingSystem||"latn"===this.numberingSystem)&&("latn"===this.numberingSystem||!this.locale||this.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(this.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){let e=this.isEnglish(),t=(null===this.numberingSystem||"latn"===this.numberingSystem)&&(null===this.outputCalendar||"gregory"===this.outputCalendar);return e&&t?"en":"intl"}clone(e){return e&&0!==Object.getOwnPropertyNames(e).length?Z.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,e.defaultToEN||!1):this}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,t=!1,n=!0){return W(this,e,n,ez,()=>{let n=t?{month:e,day:"numeric"}:{month:e},r=t?"format":"standalone";return this.monthsCache[r][e]||(this.monthsCache[r][e]=function(e){let t=[];for(let n=1;n<=12;n++){let r=nC.utc(2016,n,1);t.push(e(r))}return t}(e=>this.extract(e,n,"month"))),this.monthsCache[r][e]})}weekdays(e,t=!1,n=!0){return W(this,e,n,eJ,()=>{let n=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},r=t?"format":"standalone";return this.weekdaysCache[r][e]||(this.weekdaysCache[r][e]=function(e){let t=[];for(let n=1;n<=7;n++){let r=nC.utc(2016,11,13+n);t.push(e(r))}return t}(e=>this.extract(e,n,"weekday"))),this.weekdaysCache[r][e]})}meridiems(e=!0){return W(this,void 0,e,()=>e$,()=>{if(!this.meridiemCache){let e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[nC.utc(2016,11,13,9),nC.utc(2016,11,13,19)].map(t=>this.extract(t,e,"dayperiod"))}return this.meridiemCache})}eras(e,t=!0){return W(this,e,t,eq,()=>{let t={era:e};return this.eraCache[e]||(this.eraCache[e]=[nC.utc(-40,1,1),nC.utc(2017,1,1)].map(e=>this.extract(e,t,"era"))),this.eraCache[e]})}extract(e,t,n){let r=this.dtFormatter(e,t),i=r.formatToParts(),o=i.find(e=>e.type.toLowerCase()===n);return o?o.value:null}numberFormatter(e={}){return new Q(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,t={}){return new H(e,this.intl,t)}relFormatter(e={}){return new G(this.intl,this.isEnglish(),e)}listFormatter(e={}){return function(e,t={}){let n=JSON.stringify([e,t]),r=J[n];return r||(r=new Intl.ListFormat(e,t),J[n]=r),r}(this.intl,e)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}}let X=null;class ee extends P{static get utcInstance(){return null===X&&(X=new ee(0)),X}static instance(e){return 0===e?ee.utcInstance:new ee(e)}static parseSpecifier(e){if(e){let t=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(t)return new ee(eM(t[1],t[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ej(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ej(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,t){return ej(this.fixed,t)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return"fixed"===e.type&&e.fixed===this.fixed}get isValid(){return!0}}class et extends P{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function en(e,t){if(e_(e)||null===e)return t;if(e instanceof P)return e;if("string"==typeof e){let n=e.toLowerCase();return"default"===n?t:"local"===n||"system"===n?L.instance:"utc"===n||"gmt"===n?ee.utcInstance:ee.parseSpecifier(n)||U.create(e)}return ep(e)?ee.instance(e):"object"==typeof e&&e.offset&&"number"==typeof e.offset?e:new et(e)}let er=()=>Date.now(),ei="system",eo=null,ea=null,es=null,eu=60,el;class ec{static get now(){return er}static set now(e){er=e}static set defaultZone(e){ei=e}static get defaultZone(){return en(ei,L.instance)}static get defaultLocale(){return eo}static set defaultLocale(e){eo=e}static get defaultNumberingSystem(){return ea}static set defaultNumberingSystem(e){ea=e}static get defaultOutputCalendar(){return es}static set defaultOutputCalendar(e){es=e}static get twoDigitCutoffYear(){return eu}static set twoDigitCutoffYear(e){eu=e%100}static get throwOnInvalid(){return el}static set throwOnInvalid(e){el=e}static resetCaches(){Z.resetCache(),U.resetCache()}}function e_(e){return void 0===e}function ep(e){return"number"==typeof e}function ed(e){return"number"==typeof e&&e%1==0}function ef(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(e){return!1}}function em(e,t,n){if(0!==e.length)return e.reduce((e,r)=>{let i=[t(r),r];return e&&n(e[0],i[0])===e[0]?e:i},null)[1]}function eh(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function ey(e,t,n){return ed(e)&&e>=t&&e<=n}function eg(e,t=2){return e<0?"-"+(""+-e).padStart(t,"0"):(""+e).padStart(t,"0")}function eb(e){if(!e_(e)&&null!==e&&""!==e)return parseInt(e,10)}function ev(e){if(!e_(e)&&null!==e&&""!==e)return parseFloat(e)}function ex(e){if(!e_(e)&&null!==e&&""!==e){let t=1e3*parseFloat("0."+e);return Math.floor(t)}}function eD(e,t,n=!1){let r=10**t;return(n?Math.trunc:Math.round)(e*r)/r}function eS(e){return e%4==0&&(e%100!=0||e%400==0)}function eT(e){return eS(e)?366:365}function eE(e,t){var n;let r=(n=t-1)-12*Math.floor(n/12)+1;return 2===r?eS(e+(t-r)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function ew(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t)).setUTCFullYear(e.year,e.month-1,e.day),+t}function eA(e){let t=e-1;return 4==(e+Math.floor(e/4)-Math.floor(e/100)+Math.floor(e/400))%7||3==(t+Math.floor(t/4)-Math.floor(t/100)+Math.floor(t/400))%7?53:52}function eC(e){return e>99?e:e>ec.twoDigitCutoffYear?1900+e:2e3+e}function eN(e,t,n,r=null){let i=new Date(e),o={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(o.timeZone=r);let a={timeZoneName:t,...o},s=new Intl.DateTimeFormat(n,a).formatToParts(i).find(e=>"timezonename"===e.type.toLowerCase());return s?s.value:null}function eM(e,t){let n=parseInt(e,10);Number.isNaN(n)&&(n=0);let r=parseInt(t,10)||0,i=n<0||Object.is(n,-0)?-r:r;return 60*n+i}function ek(e){let t=Number(e);if("boolean"==typeof e||""===e||Number.isNaN(t))throw new u(`Invalid unit value ${e}`);return t}function eI(e,t){let n={};for(let r in e)if(eh(e,r)){let i=e[r];if(null==i)continue;n[t(r)]=ek(i)}return n}function ej(e,t){let n=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),i=e>=0?"+":"-";switch(t){case"short":return`${i}${eg(n,2)}:${eg(r,2)}`;case"narrow":return`${i}${n}${r>0?`:${r}`:""}`;case"techie":return`${i}${eg(n,2)}${eg(r,2)}`;default:throw RangeError(`Value format ${t} is out of range for property format`)}}function eO(e){return["hour","minute","second","millisecond"].reduce((t,n)=>(t[n]=e[n],t),{})}let eP=["January","February","March","April","May","June","July","August","September","October","November","December"],eF=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],eL=["J","F","M","A","M","J","J","A","S","O","N","D"];function ez(e){switch(e){case"narrow":return[...eL];case"short":return[...eF];case"long":return[...eP];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}let eR=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],eB=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],eU=["M","T","W","T","F","S","S"];function eJ(e){switch(e){case"narrow":return[...eU];case"short":return[...eB];case"long":return[...eR];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}let e$=["AM","PM"],eK=["Before Christ","Anno Domini"],eV=["BC","AD"],eY=["B","A"];function eq(e){switch(e){case"narrow":return[...eY];case"short":return[...eV];case"long":return[...eK];default:return null}}function eW(e,t){let n="";for(let r of e)r.literal?n+=r.val:n+=t(r.val);return n}let eQ={D:d,DD:f,DDD:h,DDDD:y,t:g,tt:b,ttt:v,tttt:x,T:D,TT:S,TTT:T,TTTT:E,f:w,ff:C,fff:k,ffff:j,F:A,FF:N,FFF:I,FFFF:O};class eH{static create(e,t={}){return new eH(e,t)}static parseFormat(e){let t=null,n="",r=!1,i=[];for(let o=0;o0&&i.push({literal:r||/^\s+$/.test(n),val:n}),t=null,n="",r=!r):r?n+=a:a===t?n+=a:(n.length>0&&i.push({literal:/^\s+$/.test(n),val:n}),n=a,t=a)}return n.length>0&&i.push({literal:r||/^\s+$/.test(n),val:n}),i}static macroTokenToFormatOpts(e){return eQ[e]}constructor(e,t){this.opts=t,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,t){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());let n=this.systemLoc.dtFormatter(e,{...this.opts,...t});return n.format()}formatDateTime(e,t={}){let n=this.loc.dtFormatter(e,{...this.opts,...t});return n.format()}formatDateTimeParts(e,t={}){let n=this.loc.dtFormatter(e,{...this.opts,...t});return n.formatToParts()}formatInterval(e,t={}){let n=this.loc.dtFormatter(e.start,{...this.opts,...t});return n.dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,t={}){let n=this.loc.dtFormatter(e,{...this.opts,...t});return n.resolvedOptions()}num(e,t=0){if(this.opts.forceSimple)return eg(e,t);let n={...this.opts};return t>0&&(n.padTo=t),this.loc.numberFormatter(n).format(e)}formatDateTimeFromString(e,t){let n="en"===this.loc.listingMode(),r=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,i=(t,n)=>this.loc.extract(e,t,n),o=t=>e.isOffsetFixed&&0===e.offset&&t.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,t.format):"",a=()=>n?e$[e.hour<12?0:1]:i({hour:"numeric",hourCycle:"h12"},"dayperiod"),s=(t,r)=>n?ez(t)[e.month-1]:i(r?{month:t}:{month:t,day:"numeric"},"month"),u=(t,r)=>n?eJ(t)[e.weekday-1]:i(r?{weekday:t}:{weekday:t,month:"long",day:"numeric"},"weekday"),l=t=>{let n=eH.macroTokenToFormatOpts(t);return n?this.formatWithSystemDefault(e,n):t},c=t=>n?eq(t)[e.year<0?0:1]:i({era:t},"era");return eW(eH.parseFormat(t),t=>{switch(t){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12==0?12:e.hour%12);case"hh":return this.num(e.hour%12==0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return o({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return o({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return o({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return a();case"d":return r?i({day:"numeric"},"day"):this.num(e.day);case"dd":return r?i({day:"2-digit"},"day"):this.num(e.day,2);case"c":case"E":return this.num(e.weekday);case"ccc":return u("short",!0);case"cccc":return u("long",!0);case"ccccc":return u("narrow",!0);case"EEE":return u("short",!1);case"EEEE":return u("long",!1);case"EEEEE":return u("narrow",!1);case"L":return r?i({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return r?i({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return s("short",!0);case"LLLL":return s("long",!0);case"LLLLL":return s("narrow",!0);case"M":return r?i({month:"numeric"},"month"):this.num(e.month);case"MM":return r?i({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return s("short",!1);case"MMMM":return s("long",!1);case"MMMMM":return s("narrow",!1);case"y":return r?i({year:"numeric"},"year"):this.num(e.year);case"yy":return r?i({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return r?i({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return r?i({year:"numeric"},"year"):this.num(e.year,6);case"G":return c("short");case"GG":return c("long");case"GGGGG":return c("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return l(t)}})}formatDurationFromString(e,t){let n=e=>{switch(e[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},r=eH.parseFormat(t),i=r.reduce((e,{literal:t,val:n})=>t?e:e.concat(n),[]),o=e.shiftTo(...i.map(n).filter(e=>e));return eW(r,e=>{let t=n(e);return t?this.num(o.get(t),e.length):e})}}class eG{constructor(e,t){this.reason=e,this.explanation=t}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}let eZ=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function eX(...e){let t=e.reduce((e,t)=>e+t.source,"");return RegExp(`^${t}$`)}function e0(...e){return t=>e.reduce(([e,n,r],i)=>{let[o,a,s]=i(t,r);return[{...e,...o},a||n,s]},[{},null,1]).slice(0,2)}function e1(e,...t){if(null==e)return[null,null];for(let[n,r]of t){let t=n.exec(e);if(t)return r(t)}return[null,null]}function e2(...e){return(t,n)=>{let r;let i={};for(r=0;rvoid 0!==e&&(t||e&&c)?-e:e;return[{years:p(ev(n)),months:p(ev(r)),weeks:p(ev(i)),days:p(ev(o)),hours:p(ev(a)),minutes:p(ev(s)),seconds:p(ev(u),"-0"===u),milliseconds:p(ex(l),_)}]}let tl={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function tc(e,t,n,r,i,o,a){let s={year:2===t.length?eC(eb(t)):eb(t),month:eF.indexOf(n)+1,day:eb(r),hour:eb(i),minute:eb(o)};return a&&(s.second=eb(a)),e&&(s.weekday=e.length>3?eR.indexOf(e)+1:eB.indexOf(e)+1),s}let t_=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function tp(e){let t;let[,n,r,i,o,a,s,u,l,c,_,p]=e,d=tc(n,o,i,r,a,s,u);return t=l?tl[l]:c?0:eM(_,p),[d,new ee(t)]}let td=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,tf=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,tm=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function th(e){let[,t,n,r,i,o,a,s]=e,u=tc(t,i,r,n,o,a,s);return[u,ee.utcInstance]}function ty(e){let[,t,n,r,i,o,a,s]=e,u=tc(t,s,n,r,i,o,a);return[u,ee.utcInstance]}let tg=eX(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,e8),tb=eX(/(\d{4})-?W(\d\d)(?:-?(\d))?/,e8),tv=eX(/(\d{4})-?(\d{3})/,e8),tx=eX(e5),tD=e0(function(e,t){let n={year:tn(e,t),month:tn(e,t+1,1),day:tn(e,t+2,1)};return[n,null,t+3]},tr,ti,to),tS=e0(e7,tr,ti,to),tT=e0(e9,tr,ti,to),tE=e0(tr,ti,to),tw=e0(tr),tA=eX(/(\d{4})-(\d\d)-(\d\d)/,tt),tC=eX(te),tN=e0(tr,ti,to),tM={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},tk={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...tM},tI={years:{quarters:4,months:12,weeks:52.1775,days:365.2425,hours:8765.82,minutes:525949.2,seconds:31556952,milliseconds:31556952e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:7889238,milliseconds:7889238e3},months:{weeks:30.436875/7,days:30.436875,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tM},tj=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],tO=tj.slice(0).reverse();function tP(e,t,n=!1){let r={values:n?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new tL(r)}function tF(e,t,n,r,i){let o=e[i][n],a=t[n]/o,s=Math.sign(a)===Math.sign(r[i]),u=!s&&0!==r[i]&&1>=Math.abs(a)?a<0?Math.floor(a):Math.ceil(a):Math.trunc(a);r[i]+=u,t[n]-=u*o}class tL{constructor(e){let t="longterm"===e.conversionAccuracy,n=t?tI:tk;e.matrix&&(n=e.matrix),this.values=e.values,this.loc=e.loc||Z.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(e,t){return tL.fromObject({milliseconds:e},t)}static fromObject(e,t={}){if(null==e||"object"!=typeof e)throw new u(`Duration.fromObject: argument expected to be an object, got ${null===e?"null":typeof e}`);return new tL({values:eI(e,tL.normalizeUnit),loc:Z.fromObject(t),conversionAccuracy:t.conversionAccuracy,matrix:t.matrix})}static fromDurationLike(e){if(ep(e))return tL.fromMillis(e);if(tL.isDuration(e))return e;if("object"==typeof e)return tL.fromObject(e);throw new u(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,t){let[n]=e1(e,[ts,tu]);return n?tL.fromObject(n,t):tL.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,t){let[n]=e1(e,[ta,tw]);return n?tL.fromObject(n,t):tL.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,t=null){if(!e)throw new u("need to specify a reason the Duration is invalid");let n=e instanceof eG?e:new eG(e,t);if(!ec.throwOnInvalid)return new tL({invalid:n});throw new o(n)}static normalizeUnit(e){let t={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e?e.toLowerCase():e];if(!t)throw new s(e);return t}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,t={}){let n={...t,floor:!1!==t.round&&!1!==t.floor};return this.isValid?eH.create(this.loc,n).formatDurationFromString(this,e):"Invalid Duration"}toHuman(e={}){let t=tj.map(t=>{let n=this.values[t];return e_(n)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:t.slice(0,-1)}).format(n)}).filter(e=>e);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(t)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return 0!==this.years&&(e+=this.years+"Y"),(0!==this.months||0!==this.quarters)&&(e+=this.months+3*this.quarters+"M"),0!==this.weeks&&(e+=this.weeks+"W"),0!==this.days&&(e+=this.days+"D"),(0!==this.hours||0!==this.minutes||0!==this.seconds||0!==this.milliseconds)&&(e+="T"),0!==this.hours&&(e+=this.hours+"H"),0!==this.minutes&&(e+=this.minutes+"M"),(0!==this.seconds||0!==this.milliseconds)&&(e+=eD(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===e&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;let t=this.toMillis();if(t<0||t>=864e5)return null;e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e};let n=this.shiftTo("hours","minutes","seconds","milliseconds"),r="basic"===e.format?"hhmm":"hh:mm";e.suppressSeconds&&0===n.seconds&&0===n.milliseconds||(r+="basic"===e.format?"ss":":ss",e.suppressMilliseconds&&0===n.milliseconds||(r+=".SSS"));let i=n.toFormat(r);return e.includePrefix&&(i="T"+i),i}toJSON(){return this.toISO()}toString(){return this.toISO()}toMillis(){return this.as("milliseconds")}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;let t=tL.fromDurationLike(e),n={};for(let e of tj)(eh(t.values,e)||eh(this.values,e))&&(n[e]=t.get(e)+this.get(e));return tP(this,{values:n},!0)}minus(e){if(!this.isValid)return this;let t=tL.fromDurationLike(e);return this.plus(t.negate())}mapUnits(e){if(!this.isValid)return this;let t={};for(let n of Object.keys(this.values))t[n]=ek(e(this.values[n],n));return tP(this,{values:t},!0)}get(e){return this[tL.normalizeUnit(e)]}set(e){if(!this.isValid)return this;let t={...this.values,...eI(e,tL.normalizeUnit)};return tP(this,{values:t})}reconfigure({locale:e,numberingSystem:t,conversionAccuracy:n,matrix:r}={}){let i=this.loc.clone({locale:e,numberingSystem:t});return tP(this,{loc:i,matrix:r,conversionAccuracy:n})}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){var e;if(!this.isValid)return this;let t=this.toObject();return e=this.matrix,tO.reduce((n,r)=>e_(t[r])?n:(n&&tF(e,t,n,t,r),r),null),tP(this,{values:t},!0)}rescale(){if(!this.isValid)return this;let e=function(e){let t={};for(let[n,r]of Object.entries(e))0!==r&&(t[n]=r);return t}(this.normalize().shiftToAll().toObject());return tP(this,{values:e},!0)}shiftTo(...e){let t;if(!this.isValid||0===e.length)return this;e=e.map(e=>tL.normalizeUnit(e));let n={},r={},i=this.toObject();for(let o of tj)if(e.indexOf(o)>=0){t=o;let e=0;for(let t in r)e+=this.matrix[t][o]*r[t],r[t]=0;ep(i[o])&&(e+=i[o]);let a=Math.trunc(e);for(let t in n[o]=a,r[o]=(1e3*e-1e3*a)/1e3,i)tj.indexOf(t)>tj.indexOf(o)&&tF(this.matrix,i,t,n,o)}else ep(i[o])&&(r[o]=i[o]);for(let e in r)0!==r[e]&&(n[t]+=e===t?r[e]:r[e]/this.matrix[t][e]);return tP(this,{values:n},!0).normalize()}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;let e={};for(let t of Object.keys(this.values))e[t]=0===this.values[t]?0:-this.values[t];return tP(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;for(let r of tj){var t,n;if(t=this.values[r],n=e.values[r],void 0===t||0===t?void 0!==n&&0!==n:t!==n)return!1}return!0}}let tz="Invalid Interval";class tR{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,t=null){if(!e)throw new u("need to specify a reason the Interval is invalid");let n=e instanceof eG?e:new eG(e,t);if(!ec.throwOnInvalid)return new tR({invalid:n});throw new i(n)}static fromDateTimes(e,t){let n=nN(e),r=nN(t),i=n&&n.isValid?r&&r.isValid?re}isBefore(e){return!!this.isValid&&this.e<=e}contains(e){return!!this.isValid&&this.s<=e&&this.e>e}set({start:e,end:t}={}){return this.isValid?tR.fromDateTimes(e||this.s,t||this.e):this}splitAt(...e){if(!this.isValid)return[];let t=e.map(nN).filter(e=>this.contains(e)).sort(),n=[],{s:r}=this,i=0;for(;r+this.e?this.e:e;n.push(tR.fromDateTimes(r,o)),r=o,i+=1}return n}splitBy(e){let t=tL.fromDurationLike(e);if(!this.isValid||!t.isValid||0===t.as("milliseconds"))return[];let{s:n}=this,r=1,i,o=[];for(;ne*r));i=+e>+this.e?this.e:e,o.push(tR.fromDateTimes(n,i)),n=i,r+=1}return o}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s=e.e}equals(e){return!!this.isValid&&!!e.isValid&&this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;let t=this.s>e.s?this.s:e.s,n=this.e=n?null:tR.fromDateTimes(t,n)}union(e){if(!this.isValid)return this;let t=this.se.e?this.e:e.e;return tR.fromDateTimes(t,n)}static merge(e){let[t,n]=e.sort((e,t)=>e.s-t.s).reduce(([e,t],n)=>t?t.overlaps(n)||t.abutsStart(n)?[e,t.union(n)]:[e.concat([t]),n]:[e,n],[[],null]);return n&&t.push(n),t}static xor(e){let t=null,n=0,r=[],i=e.map(e=>[{time:e.s,type:"s"},{time:e.e,type:"e"}]),o=Array.prototype.concat(...i),a=o.sort((e,t)=>e.time-t.time);for(let e of a)1===(n+="s"===e.type?1:-1)?t=e.time:(t&&+t!=+e.time&&r.push(tR.fromDateTimes(t,e.time)),t=null);return tR.merge(r)}difference(...e){return tR.xor([this].concat(e)).map(e=>this.intersection(e)).filter(e=>e&&!e.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:tz}toLocaleString(e=d,t={}){return this.isValid?eH.create(this.s.loc.clone(t),e).formatInterval(this):tz}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:tz}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:tz}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:tz}toFormat(e,{separator:t=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${t}${this.e.toFormat(e)}`:tz}toDuration(e,t){return this.isValid?this.e.diff(this.s,e,t):tL.invalid(this.invalidReason)}mapEndpoints(e){return tR.fromDateTimes(e(this.s),e(this.e))}}class tB{static hasDST(e=ec.defaultZone){let t=nC.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset}static isValidIANAZone(e){return U.isValidZone(e)}static normalizeZone(e){return en(e,ec.defaultZone)}static months(e="long",{locale:t=null,numberingSystem:n=null,locObj:r=null,outputCalendar:i="gregory"}={}){return(r||Z.create(t,n,i)).months(e)}static monthsFormat(e="long",{locale:t=null,numberingSystem:n=null,locObj:r=null,outputCalendar:i="gregory"}={}){return(r||Z.create(t,n,i)).months(e,!0)}static weekdays(e="long",{locale:t=null,numberingSystem:n=null,locObj:r=null}={}){return(r||Z.create(t,n,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:t=null,numberingSystem:n=null,locObj:r=null}={}){return(r||Z.create(t,n,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return Z.create(e).meridiems()}static eras(e="short",{locale:t=null}={}){return Z.create(t,null,"gregory").eras(e)}static features(){return{relative:ef()}}}function tU(e,t){let n=e=>e.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(t)-n(e);return Math.floor(tL.fromMillis(r).as("days"))}let tJ={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},t$={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},tK=tJ.hanidec.replace(/[\[|\]]/g,"").split("");function tV({numberingSystem:e},t=""){return RegExp(`${tJ[e||"latn"]}${t}`)}function tY(e,t=e=>e){return{regex:e,deser:([e])=>t(function(e){let t=parseInt(e,10);if(!isNaN(t))return t;t="";for(let n=0;n=n&&r<=i&&(t+=r-n)}}return parseInt(t,10)}(e))}}let tq=String.fromCharCode(160),tW=`[ ${tq}]`,tQ=RegExp(tW,"g");function tH(e){return e.replace(/\./g,"\\.?").replace(tQ,tW)}function tG(e){return e.replace(/\./g,"").replace(tQ," ").toLowerCase()}function tZ(e,t){return null===e?null:{regex:RegExp(e.map(tH).join("|")),deser:([n])=>e.findIndex(e=>tG(n)===tG(e))+t}}function tX(e,t){return{regex:e,deser:([,e,t])=>eM(e,t),groups:t}}function t0(e){return{regex:e,deser:([e])=>e}}let t1={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}},t2=null;function t3(e,t){return Array.prototype.concat(...e.map(e=>(function(e,t){if(e.literal)return e;let n=eH.macroTokenToFormatOpts(e.val),r=t6(n,t);return null==r||r.includes(void 0)?e:r})(e,t)))}function t4(e,t,n){let r=t3(eH.parseFormat(n),e),i=r.map(t=>(function(e,t){let n=tV(t),r=tV(t,"{2}"),i=tV(t,"{3}"),o=tV(t,"{4}"),a=tV(t,"{6}"),s=tV(t,"{1,2}"),u=tV(t,"{1,3}"),l=tV(t,"{1,6}"),c=tV(t,"{1,9}"),_=tV(t,"{2,4}"),p=tV(t,"{4,6}"),d=e=>({regex:RegExp(e.val.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")),deser:([e])=>e,literal:!0}),f=(f=>{if(e.literal)return d(f);switch(f.val){case"G":return tZ(t.eras("short",!1),0);case"GG":return tZ(t.eras("long",!1),0);case"y":return tY(l);case"yy":case"kk":return tY(_,eC);case"yyyy":case"kkkk":return tY(o);case"yyyyy":return tY(p);case"yyyyyy":return tY(a);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return tY(s);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return tY(r);case"MMM":return tZ(t.months("short",!0,!1),1);case"MMMM":return tZ(t.months("long",!0,!1),1);case"LLL":return tZ(t.months("short",!1,!1),1);case"LLLL":return tZ(t.months("long",!1,!1),1);case"o":case"S":return tY(u);case"ooo":case"SSS":return tY(i);case"u":return t0(c);case"uu":return t0(s);case"uuu":case"E":case"c":return tY(n);case"a":return tZ(t.meridiems(),0);case"EEE":return tZ(t.weekdays("short",!1,!1),1);case"EEEE":return tZ(t.weekdays("long",!1,!1),1);case"ccc":return tZ(t.weekdays("short",!0,!1),1);case"cccc":return tZ(t.weekdays("long",!0,!1),1);case"Z":case"ZZ":return tX(RegExp(`([+-]${s.source})(?::(${r.source}))?`),2);case"ZZZ":return tX(RegExp(`([+-]${s.source})(${r.source})?`),2);case"z":return t0(/[a-z_+-/]{1,256}?/i);case" ":return t0(/[^\S\n\r]/);default:return d(f)}})(e)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return f.token=e,f})(t,e)),o=i.find(e=>e.invalidReason);if(o)return{input:t,tokens:r,invalidReason:o.invalidReason};{let[e,n]=function(e){let t=e.map(e=>e.regex).reduce((e,t)=>`${e}(${t.source})`,"");return[`^${t}$`,e]}(i),o=RegExp(e,"i"),[s,u]=function(e,t,n){let r=e.match(t);if(!r)return[r,{}];{let e={},t=1;for(let i in n)if(eh(n,i)){let o=n[i],a=o.groups?o.groups+1:1;!o.literal&&o.token&&(e[o.token.val[0]]=o.deser(r.slice(t,t+a))),t+=a}return[r,e]}}(t,o,n),[l,c,_]=u?function(e){let t;let n=e=>{switch(e){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}},r=null;e_(e.z)||(r=U.create(e.z)),e_(e.Z)||(r||(r=new ee(e.Z)),t=e.Z),e_(e.q)||(e.M=(e.q-1)*3+1),e_(e.h)||(e.h<12&&1===e.a?e.h+=12:12!==e.h||0!==e.a||(e.h=0)),0===e.G&&e.y&&(e.y=-e.y),e_(e.u)||(e.S=ex(e.u));let i=Object.keys(e).reduce((t,r)=>{let i=n(r);return i&&(t[i]=e[r]),t},{});return[i,r,t]}(u):[null,null,void 0];if(eh(u,"a")&&eh(u,"H"))throw new a("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:r,regex:o,rawMatches:s,matches:u,result:l,zone:c,specificOffset:_}}}function t6(e,t){if(!e)return null;let n=eH.create(t,e),r=n.formatDateTimeParts((t2||(t2=nC.fromMillis(1555555555555)),t2));return r.map(t=>(function(e,t){let{type:n,value:r}=e;if("literal"===n){let e=/^\s+$/.test(r);return{literal:!e,val:e?" ":r}}let i=t[n],o=t1[n];if("object"==typeof o&&(o=o[i]),o)return{literal:!1,val:o}})(t,e))}let t5=[0,31,59,90,120,151,181,212,243,273,304,334],t8=[0,31,60,91,121,152,182,213,244,274,305,335];function t7(e,t){return new eG("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function t9(e,t,n){let r=new Date(Date.UTC(e,t-1,n));e<100&&e>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);let i=r.getUTCDay();return 0===i?7:i}function ne(e,t){let n=eS(e)?t8:t5,r=n.findIndex(e=>eeA(t)?(s=t+1,a=1):s=t,{weekYear:s,weekNumber:a,weekday:o,...eO(e)}}function nn(e){let{weekYear:t,weekNumber:n,weekday:r}=e,i=t9(t,1,4),o=eT(t),a=7*n+r-i-3,s;a<1?a+=eT(s=t-1):a>o?(s=t+1,a-=eT(t)):s=t;let{month:u,day:l}=ne(s,a);return{year:s,month:u,day:l,...eO(e)}}function nr(e){let{year:t,month:n,day:r}=e,i=r+(eS(t)?t8:t5)[n-1];return{year:t,ordinal:i,...eO(e)}}function ni(e){let{year:t,ordinal:n}=e,{month:r,day:i}=ne(t,n);return{year:t,month:r,day:i,...eO(e)}}function no(e){let t=ed(e.year),n=ey(e.month,1,12),r=ey(e.day,1,eE(e.year,e.month));return t?n?!r&&t7("day",e.day):t7("month",e.month):t7("year",e.year)}function na(e){let{hour:t,minute:n,second:r,millisecond:i}=e,o=ey(t,0,23)||24===t&&0===n&&0===r&&0===i,a=ey(n,0,59),s=ey(r,0,59),u=ey(i,0,999);return o?a?s?!u&&t7("millisecond",i):t7("second",r):t7("minute",n):t7("hour",t)}let ns="Invalid DateTime";function nu(e){return new eG("unsupported zone",`the zone "${e.name}" is not supported`)}function nl(e){return null===e.weekData&&(e.weekData=nt(e.c)),e.weekData}function nc(e,t){let n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new nC({...n,...t,old:n})}function n_(e,t,n){let r=e-6e4*t,i=n.offset(r);if(t===i)return[r,t];r-=(i-t)*6e4;let o=n.offset(r);return i===o?[r,i]:[e-6e4*Math.min(i,o),Math.max(i,o)]}function np(e,t){e+=6e4*t;let n=new Date(e);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function nd(e,t){let n=e.o,r=e.c.year+Math.trunc(t.years),i=e.c.month+Math.trunc(t.months)+3*Math.trunc(t.quarters),o={...e.c,year:r,month:i,day:Math.min(e.c.day,eE(r,i))+Math.trunc(t.days)+7*Math.trunc(t.weeks)},a=tL.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),s=ew(o),[u,l]=n_(s,n,e.zone);return 0!==a&&(u+=a,l=e.zone.offset(u)),{ts:u,o:l}}function nf(e,t,n,r,i,o){let{setZone:a,zone:s}=n;if((!e||0===Object.keys(e).length)&&!t)return nC.invalid(new eG("unparsable",`the input "${i}" can't be parsed as ${r}`));{let r=t||s,i=nC.fromObject(e,{...n,zone:r,specificOffset:o});return a?i:i.setZone(s)}}function nm(e,t,n=!0){return e.isValid?eH.create(Z.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function nh(e,t){let n=e.c.year>9999||e.c.year<0,r="";return n&&e.c.year>=0&&(r+="+"),r+=eg(e.c.year,n?6:4),t?r+="-"+eg(e.c.month)+"-"+eg(e.c.day):r+=eg(e.c.month)+eg(e.c.day),r}function ny(e,t,n,r,i,o){let a=eg(e.c.hour);return t?(a+=":"+eg(e.c.minute),0===e.c.second&&n||(a+=":")):a+=eg(e.c.minute),0===e.c.second&&n||(a+=eg(e.c.second),0===e.c.millisecond&&r||(a+="."+eg(e.c.millisecond,3))),i&&(e.isOffsetFixed&&0===e.offset&&!o?a+="Z":e.o<0?a+="-"+eg(Math.trunc(-e.o/60))+":"+eg(Math.trunc(-e.o%60)):a+="+"+eg(Math.trunc(e.o/60))+":"+eg(Math.trunc(e.o%60))),o&&(a+="["+e.zone.ianaName+"]"),a}let ng={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},nb={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},nv={ordinal:1,hour:0,minute:0,second:0,millisecond:0},nx=["year","month","day","hour","minute","second","millisecond"],nD=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],nS=["year","ordinal","hour","minute","second","millisecond"];function nT(e){let t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new s(e);return t}function nE(e,t){let n,r;let i=en(t.zone,ec.defaultZone),o=Z.fromObject(t),a=ec.now();if(e_(e.year))n=a;else{for(let t of nx)e_(e[t])&&(e[t]=ng[t]);let t=no(e)||na(e);if(t)return nC.invalid(t);let o=i.offset(a);[n,r]=n_(ew(e),o,i)}return new nC({ts:n,zone:i,loc:o,o:r})}function nw(e,t,n){let r=!!e_(n.round)||n.round,i=(e,i)=>{e=eD(e,r||n.calendary?0:2,!0);let o=t.loc.clone(n).relFormatter(n);return o.format(e,i)},o=r=>n.calendary?t.hasSame(e,r)?0:t.startOf(r).diff(e.startOf(r),r).get(r):t.diff(e,r).get(r);if(n.unit)return i(o(n.unit),n.unit);for(let e of n.units){let t=o(e);if(Math.abs(t)>=1)return i(t,e)}return i(e>t?-0:0,n.units[n.units.length-1])}function nA(e){let t={},n;return e.length>0&&"object"==typeof e[e.length-1]?(t=e[e.length-1],n=Array.from(e).slice(0,e.length-1)):n=Array.from(e),[t,n]}class nC{constructor(e){let t=e.zone||ec.defaultZone,n=e.invalid||(Number.isNaN(e.ts)?new eG("invalid input"):null)||(t.isValid?null:nu(t));this.ts=e_(e.ts)?ec.now():e.ts;let r=null,i=null;if(!n){let o=e.old&&e.old.ts===this.ts&&e.old.zone.equals(t);if(o)[r,i]=[e.old.c,e.old.o];else{let e=t.offset(this.ts);r=(n=Number.isNaN((r=np(this.ts,e)).year)?new eG("invalid input"):null)?null:r,i=n?null:e}}this._zone=t,this.loc=e.loc||Z.create(),this.invalid=n,this.weekData=null,this.c=r,this.o=i,this.isLuxonDateTime=!0}static now(){return new nC({})}static local(){let[e,t]=nA(arguments),[n,r,i,o,a,s,u]=t;return nE({year:n,month:r,day:i,hour:o,minute:a,second:s,millisecond:u},e)}static utc(){let[e,t]=nA(arguments),[n,r,i,o,a,s,u]=t;return e.zone=ee.utcInstance,nE({year:n,month:r,day:i,hour:o,minute:a,second:s,millisecond:u},e)}static fromJSDate(e,t={}){let n="[object Date]"===Object.prototype.toString.call(e)?e.valueOf():NaN;if(Number.isNaN(n))return nC.invalid("invalid input");let r=en(t.zone,ec.defaultZone);return r.isValid?new nC({ts:n,zone:r,loc:Z.fromObject(t)}):nC.invalid(nu(r))}static fromMillis(e,t={}){if(ep(e))return e<-864e13||e>864e13?nC.invalid("Timestamp out of range"):new nC({ts:e,zone:en(t.zone,ec.defaultZone),loc:Z.fromObject(t)});throw new u(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,t={}){if(ep(e))return new nC({ts:1e3*e,zone:en(t.zone,ec.defaultZone),loc:Z.fromObject(t)});throw new u("fromSeconds requires a numerical input")}static fromObject(e,t={}){e=e||{};let n=en(t.zone,ec.defaultZone);if(!n.isValid)return nC.invalid(nu(n));let r=ec.now(),i=e_(t.specificOffset)?n.offset(r):t.specificOffset,o=eI(e,nT),s=!e_(o.ordinal),u=!e_(o.year),l=!e_(o.month)||!e_(o.day),c=u||l,_=o.weekYear||o.weekNumber,p=Z.fromObject(t);if((c||s)&&_)throw new a("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&s)throw new a("Can't mix ordinal dates with month/day");let d=_||o.weekday&&!c,f,m,h=np(r,i);d?(f=nD,m=nb,h=nt(h)):s?(f=nS,m=nv,h=nr(h)):(f=nx,m=ng);let y=!1;for(let e of f){let t=o[e];e_(t)?y?o[e]=m[e]:o[e]=h[e]:y=!0}let g=d?function(e){let t=ed(e.weekYear),n=ey(e.weekNumber,1,eA(e.weekYear)),r=ey(e.weekday,1,7);return t?n?!r&&t7("weekday",e.weekday):t7("week",e.week):t7("weekYear",e.weekYear)}(o):s?function(e){let t=ed(e.year),n=ey(e.ordinal,1,eT(e.year));return t?!n&&t7("ordinal",e.ordinal):t7("year",e.year)}(o):no(o),b=g||na(o);if(b)return nC.invalid(b);let v=d?nn(o):s?ni(o):o,[x,D]=n_(ew(v),i,n),S=new nC({ts:x,zone:n,o:D,loc:p});return o.weekday&&c&&e.weekday!==S.weekday?nC.invalid("mismatched weekday",`you can't specify both a weekday of ${o.weekday} and a date of ${S.toISO()}`):S}static fromISO(e,t={}){let[n,r]=e1(e,[tg,tD],[tb,tS],[tv,tT],[tx,tE]);return nf(n,r,t,"ISO 8601",e)}static fromRFC2822(e,t={}){let[n,r]=e1(e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim(),[t_,tp]);return nf(n,r,t,"RFC 2822",e)}static fromHTTP(e,t={}){let[n,r]=e1(e,[td,th],[tf,th],[tm,ty]);return nf(n,r,t,"HTTP",t)}static fromFormat(e,t,n={}){if(e_(e)||e_(t))throw new u("fromFormat requires an input string and a format");let{locale:r=null,numberingSystem:i=null}=n,o=Z.fromOpts({locale:r,numberingSystem:i,defaultToEN:!0}),[a,s,l,c]=function(e,t,n){let{result:r,zone:i,specificOffset:o,invalidReason:a}=t4(e,t,n);return[r,i,o,a]}(o,e,t);return c?nC.invalid(c):nf(a,s,n,`format ${t}`,e,l)}static fromString(e,t,n={}){return nC.fromFormat(e,t,n)}static fromSQL(e,t={}){let[n,r]=e1(e,[tA,tD],[tC,tN]);return nf(n,r,t,"SQL",e)}static invalid(e,t=null){if(!e)throw new u("need to specify a reason the DateTime is invalid");let n=e instanceof eG?e:new eG(e,t);if(!ec.throwOnInvalid)return new nC({invalid:n});throw new r(n)}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,t={}){let n=t6(e,Z.fromObject(t));return n?n.map(e=>e?e.val:null).join(""):null}static expandFormat(e,t={}){let n=t3(eH.parseFormat(e),Z.fromObject(t));return n.map(e=>e.val).join("")}get(e){return this[e]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?nl(this).weekYear:NaN}get weekNumber(){return this.isValid?nl(this).weekNumber:NaN}get weekday(){return this.isValid?nl(this).weekday:NaN}get ordinal(){return this.isValid?nr(this.c).ordinal:NaN}get monthShort(){return this.isValid?tB.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?tB.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?tB.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?tB.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}get isInLeapYear(){return eS(this.year)}get daysInMonth(){return eE(this.year,this.month)}get daysInYear(){return this.isValid?eT(this.year):NaN}get weeksInWeekYear(){return this.isValid?eA(this.weekYear):NaN}resolvedLocaleOptions(e={}){let{locale:t,numberingSystem:n,calendar:r}=eH.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t,numberingSystem:n,outputCalendar:r}}toUTC(e=0,t={}){return this.setZone(ee.instance(e),t)}toLocal(){return this.setZone(ec.defaultZone)}setZone(e,{keepLocalTime:t=!1,keepCalendarTime:n=!1}={}){if((e=en(e,ec.defaultZone)).equals(this.zone))return this;if(!e.isValid)return nC.invalid(nu(e));{let i=this.ts;if(t||n){var r;let t=e.offset(this.ts),n=this.toObject();[i]=(r=e,n_(ew(n),t,r))}return nc(this,{ts:i,zone:e})}}reconfigure({locale:e,numberingSystem:t,outputCalendar:n}={}){let r=this.loc.clone({locale:e,numberingSystem:t,outputCalendar:n});return nc(this,{loc:r})}setLocale(e){return this.reconfigure({locale:e})}set(e){var t,n,r;let i;if(!this.isValid)return this;let o=eI(e,nT),s=!e_(o.weekYear)||!e_(o.weekNumber)||!e_(o.weekday),u=!e_(o.ordinal),l=!e_(o.year),c=!e_(o.month)||!e_(o.day),_=o.weekYear||o.weekNumber;if((l||c||u)&&_)throw new a("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&u)throw new a("Can't mix ordinal dates with month/day");s?i=nn({...nt(this.c),...o}):e_(o.ordinal)?(i={...this.toObject(),...o},e_(o.day)&&(i.day=Math.min(eE(i.year,i.month),i.day))):i=ni({...nr(this.c),...o});let[p,d]=(t=i,n=this.o,r=this.zone,n_(ew(t),n,r));return nc(this,{ts:p,o:d})}plus(e){if(!this.isValid)return this;let t=tL.fromDurationLike(e);return nc(this,nd(this,t))}minus(e){if(!this.isValid)return this;let t=tL.fromDurationLike(e).negate();return nc(this,nd(this,t))}startOf(e){if(!this.isValid)return this;let t={},n=tL.normalizeUnit(e);switch(n){case"years":t.month=1;case"quarters":case"months":t.day=1;case"weeks":case"days":t.hour=0;case"hours":t.minute=0;case"minutes":t.second=0;case"seconds":t.millisecond=0}if("weeks"===n&&(t.weekday=1),"quarters"===n){let e=Math.ceil(this.month/3);t.month=(e-1)*3+1}return this.set(t)}endOf(e){return this.isValid?this.plus({[e]:1}).startOf(e).minus(1):this}toFormat(e,t={}){return this.isValid?eH.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):ns}toLocaleString(e=d,t={}){return this.isValid?eH.create(this.loc.clone(t),e).formatDateTime(this):ns}toLocaleParts(e={}){return this.isValid?eH.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:t=!1,suppressMilliseconds:n=!1,includeOffset:r=!0,extendedZone:i=!1}={}){if(!this.isValid)return null;let o="extended"===e;return nh(this,o)+"T"+ny(this,o,t,n,r,i)}toISODate({format:e="extended"}={}){return this.isValid?nh(this,"extended"===e):null}toISOWeekDate(){return nm(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:t=!1,includeOffset:n=!0,includePrefix:r=!1,extendedZone:i=!1,format:o="extended"}={}){return this.isValid?(r?"T":"")+ny(this,"extended"===o,t,e,n,i):null}toRFC2822(){return nm(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return nm(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?nh(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:t=!1,includeOffsetSpace:n=!0}={}){let r="HH:mm:ss.SSS";return(t||e)&&(n&&(r+=" "),t?r+="z":e&&(r+="ZZ")),nm(this,r,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():ns}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};let t={...this.c};return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,t="milliseconds",n={}){if(!this.isValid||!e.isValid)return tL.invalid("created by diffing an invalid DateTime");let r={locale:this.locale,numberingSystem:this.numberingSystem,...n},i=(Array.isArray(t)?t:[t]).map(tL.normalizeUnit),o=e.valueOf()>this.valueOf(),a=function(e,t,n,r){let[i,o,a,s]=function(e,t,n){let r,i;let o=[["years",(e,t)=>t.year-e.year],["quarters",(e,t)=>t.quarter-e.quarter+(t.year-e.year)*4],["months",(e,t)=>t.month-e.month+(t.year-e.year)*12],["weeks",(e,t)=>{let n=tU(e,t);return(n-n%7)/7}],["days",tU]],a={},s=e;for(let[u,l]of o)n.indexOf(u)>=0&&(r=u,a[u]=l(e,t),(i=s.plus(a))>t?(a[u]--,e=s.plus(a)):e=i);return[e,a,i,r]}(e,t,n),u=t-i,l=n.filter(e=>["hours","minutes","seconds","milliseconds"].indexOf(e)>=0);0===l.length&&(a0?tL.fromMillis(u,r).shiftTo(...l).plus(c):c}(o?this:e,o?e:this,i,r);return o?a.negate():a}diffNow(e="milliseconds",t={}){return this.diff(nC.now(),e,t)}until(e){return this.isValid?tR.fromDateTimes(this,e):this}hasSame(e,t){if(!this.isValid)return!1;let n=e.valueOf(),r=this.setZone(e.zone,{keepLocalTime:!0});return r.startOf(t)<=n&&n<=r.endOf(t)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;let t=e.base||nC.fromObject({},{zone:this.zone}),n=e.padding?thise.valueOf(),Math.min)}static max(...e){if(!e.every(nC.isDateTime))throw new u("max requires all arguments be DateTimes");return em(e,e=>e.valueOf(),Math.max)}static fromFormatExplain(e,t,n={}){let{locale:r=null,numberingSystem:i=null}=n,o=Z.fromOpts({locale:r,numberingSystem:i,defaultToEN:!0});return t4(o,e,t)}static fromStringExplain(e,t,n={}){return nC.fromFormatExplain(e,t,n)}static get DATE_SHORT(){return d}static get DATE_MED(){return f}static get DATE_MED_WITH_WEEKDAY(){return m}static get DATE_FULL(){return h}static get DATE_HUGE(){return y}static get TIME_SIMPLE(){return g}static get TIME_WITH_SECONDS(){return b}static get TIME_WITH_SHORT_OFFSET(){return v}static get TIME_WITH_LONG_OFFSET(){return x}static get TIME_24_SIMPLE(){return D}static get TIME_24_WITH_SECONDS(){return S}static get TIME_24_WITH_SHORT_OFFSET(){return T}static get TIME_24_WITH_LONG_OFFSET(){return E}static get DATETIME_SHORT(){return w}static get DATETIME_SHORT_WITH_SECONDS(){return A}static get DATETIME_MED(){return C}static get DATETIME_MED_WITH_SECONDS(){return N}static get DATETIME_MED_WITH_WEEKDAY(){return M}static get DATETIME_FULL(){return k}static get DATETIME_FULL_WITH_SECONDS(){return I}static get DATETIME_HUGE(){return j}static get DATETIME_HUGE_WITH_SECONDS(){return O}}function nN(e){if(nC.isDateTime(e))return e;if(e&&e.valueOf&&ep(e.valueOf()))return nC.fromJSDate(e);if(e&&"object"==typeof e)return nC.fromObject(e);throw new u(`Unknown datetime argument: ${e}, of type ${typeof e}`)}t.DateTime=nC,t.Duration=tL,t.FixedOffsetZone=ee,t.IANAZone=U,t.Info=tB,t.Interval=tR,t.InvalidZone=et,t.Settings=ec,t.SystemZone=L,t.VERSION="3.3.0",t.Zone=P},8169:e=>{"use strict";var t=function(e){return e!=e};e.exports=function(e,n){return 0===e&&0===n?1/e==1/n:!!(e===n||t(e)&&t(n))}},4679:(e,t,n)=>{"use strict";var r=n(4926),i=n(9429),o=n(8169),a=n(8070),s=n(191),u=i(a(),Object);r(u,{getPolyfill:a,implementation:o,shim:s}),e.exports=u},8070:(e,t,n)=>{"use strict";var r=n(8169);e.exports=function(){return"function"==typeof Object.is?Object.is:r}},191:(e,t,n)=>{"use strict";var r=n(8070),i=n(4926);e.exports=function(){var e=r();return i(Object,{is:e},{is:function(){return Object.is!==e}}),e}},5691:(e,t,n)=>{"use strict";var r;if(!Object.keys){var i=Object.prototype.hasOwnProperty,o=Object.prototype.toString,a=n(801),s=Object.prototype.propertyIsEnumerable,u=!s.call({toString:null},"toString"),l=s.call(function(){},"prototype"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],_=function(e){var t=e.constructor;return t&&t.prototype===e},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},d=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!p["$"+e]&&i.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{_(window[e])}catch(e){return!0}}catch(e){return!0}return!1}(),f=function(e){if("undefined"==typeof window||!d)return _(e);try{return _(e)}catch(e){return!1}};r=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===o.call(e),r=a(e),s=t&&"[object String]"===o.call(e),_=[];if(!t&&!n&&!r)throw TypeError("Object.keys called on a non-object");var p=l&&n;if(s&&e.length>0&&!i.call(e,0))for(var d=0;d0)for(var m=0;m{"use strict";var r=Array.prototype.slice,i=n(801),o=Object.keys,a=o?function(e){return o(e)}:n(5691),s=Object.keys;a.shim=function(){return Object.keys?!function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2)&&(Object.keys=function(e){return i(e)?s(r.call(e)):s(e)}):Object.keys=a,Object.keys||a},e.exports=a},801:e=>{"use strict";var t=Object.prototype.toString;e.exports=function(e){var n=t.call(e),r="[object Arguments]"===n;return r||(r="[object Array]"!==n&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),r}},9928:(e,t,n)=>{var r=n(8892);function i(e){var t=function(){return t.called?t.value:(t.called=!0,t.value=e.apply(this,arguments))};return t.called=!1,t}function o(e){var t=function(){if(t.called)throw Error(t.onceError);return t.called=!0,t.value=e.apply(this,arguments)},n=e.name||"Function wrapped with `once`";return t.onceError=n+" shouldn't be called more than once",t.called=!1,t}e.exports=r(i),e.exports.strict=r(o),i.proto=i(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return i(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return o(this)},configurable:!0})})},9761:(e,t)=>{"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;t.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=typeof n)throw TypeError(n+"must be non-object");for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}}return e},t.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var r={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray){e.set(t.subarray(n,n+r),i);return}for(var o=0;o{"use strict";e.exports=function(e,t,n,r){for(var i=65535&e|0,o=e>>>16&65535|0,a=0;0!==n;){a=n>2e3?2e3:n,n-=a;do o=o+(i=i+t[r++]|0)|0;while(--a)i%=65521,o%=65521}return i|o<<16|0}},1271:e=>{"use strict";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},4299:e=>{"use strict";var t=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();e.exports=function(e,n,r,i){var o=i+r;e^=-1;for(var a=i;a>>8^t[(e^n[a])&255];return -1^e}},5789:(e,t,n)=>{"use strict";var r,i=n(9761),o=n(9564),a=n(5562),s=n(4299),u=n(2950);function l(e,t){return e.msg=u[t],t}function c(e){return(e<<1)-(e>4?9:0)}function _(e){for(var t=e.length;--t>=0;)e[t]=0}function p(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(i.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function d(e,t){o._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,p(e.strm)}function f(e,t){e.pending_buf[e.pending++]=t}function m(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function h(e,t){var n,r,i=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,u=e.strstart>e.w_size-262?e.strstart-(e.w_size-262):0,l=e.window,c=e.w_mask,_=e.prev,p=e.strstart+258,d=l[o+a-1],f=l[o+a];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(l[(n=t)+a]!==f||l[n+a-1]!==d||l[n]!==l[o]||l[++n]!==l[o+1])continue;o+=2,n++;do;while(l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&oa){if(e.match_start=t,a=r,r>=s)break;d=l[o+a-1],f=l[o+a]}}while((t=_[t&c])>u&&0!=--i)return a<=e.lookahead?a:e.lookahead}function y(e){var t,n,r,o,u,l=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=l+(l-262)){i.arraySet(e.window,e.window,l,l,0),e.match_start-=l,e.strstart-=l,e.block_start-=l,t=n=e.hash_size;do r=e.head[--t],e.head[t]=r>=l?r-l:0;while(--n)t=n=l;do r=e.prev[--t],e.prev[t]=r>=l?r-l:0;while(--n)o+=l}if(0===e.strm.avail_in)break;if(n=function(e,t,n,r){var o=e.avail_in;return(o>r&&(o=r),0===o)?0:(e.avail_in-=o,i.arraySet(t,e.input,e.next_in,o,n),1===e.state.wrap?e.adler=a(e.adler,t,o,n):2===e.state.wrap&&(e.adler=s(e.adler,t,o,n)),e.next_in+=o,e.total_in+=o,o)}(e.strm,e.window,e.strstart+e.lookahead,o),e.lookahead+=n,e.lookahead+e.insert>=3)for(u=e.strstart-e.insert,e.ins_h=e.window[u],e.ins_h=(e.ins_h<=3&&(e.ins_h=(e.ins_h<=3){if(r=o._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<=3&&(e.ins_h=(e.ins_h<4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-3,r=o._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=i&&(e.ins_h=(e.ins_h<15&&(s=2,r-=16),o<1||o>9||8!==n||r<8||r>15||t<0||t>9||a<0||a>4)return l(e,-2);8===r&&(r=9);var u=new x;return e.state=u,u.strm=e,u.wrap=s,u.gzhead=null,u.w_bits=r,u.w_size=1<e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(y(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,d(e,!1),0===e.strm.avail_out)||e.strstart-e.block_start>=e.w_size-262&&(d(e,!1),0===e.strm.avail_out))return 1}return(e.insert=0,4===t)?(d(e,!0),0===e.strm.avail_out)?3:4:(e.strstart>e.block_start&&(d(e,!1),e.strm.avail_out),1)}),new v(4,4,8,4,g),new v(4,5,16,8,g),new v(4,6,32,32,g),new v(4,4,16,16,b),new v(8,16,32,32,b),new v(8,16,128,128,b),new v(8,32,128,256,b),new v(32,128,258,1024,b),new v(32,258,258,4096,b)],t.deflateInit=function(e,t){return T(e,t,8,15,8,0)},t.deflateInit2=T,t.deflateReset=S,t.deflateResetKeep=D,t.deflateSetHeader=function(e,t){return e&&e.state&&2===e.state.wrap?(e.state.gzhead=t,0):-2},t.deflate=function(e,t){if(!e||!e.state||t>5||t<0)return e?l(e,-2):-2;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||666===i.status&&4!==t)return l(e,0===e.avail_out?-5:-2);if(i.strm=e,n=i.last_flush,i.last_flush=t,42===i.status){if(2===i.wrap)e.adler=0,f(i,31),f(i,139),f(i,8),i.gzhead?(f(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),f(i,255&i.gzhead.time),f(i,i.gzhead.time>>8&255),f(i,i.gzhead.time>>16&255),f(i,i.gzhead.time>>24&255),f(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),f(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(f(i,255&i.gzhead.extra.length),f(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=s(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(f(i,0),f(i,0),f(i,0),f(i,0),f(i,0),f(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),f(i,3),i.status=113);else{var n,i,a,u,h=8+(i.w_bits-8<<4)<<8;h|=(i.strategy>=2||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(h|=32),h+=31-h%31,i.status=113,m(i,h),0!==i.strstart&&(m(i,e.adler>>>16),m(i,65535&e.adler)),e.adler=1}}if(69===i.status){if(i.gzhead.extra){for(a=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),p(e),a=i.pending,i.pending!==i.pending_buf_size));)f(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73}if(73===i.status){if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),p(e),a=i.pending,i.pending===i.pending_buf_size)){u=1;break}u=i.gzindexa&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),0===u&&(i.gzindex=0,i.status=91)}else i.status=91}if(91===i.status){if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),p(e),a=i.pending,i.pending===i.pending_buf_size)){u=1;break}u=i.gzindexa&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),0===u&&(i.status=103)}else i.status=103}if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&p(e),i.pending+2<=i.pending_buf_size&&(f(i,255&e.adler),f(i,e.adler>>8&255),e.adler=0,i.status=113)):i.status=113),0!==i.pending){if(p(e),0===e.avail_out)return i.last_flush=-1,0}else if(0===e.avail_in&&c(t)<=c(n)&&4!==t)return l(e,-5);if(666===i.status&&0!==e.avail_in)return l(e,-5);if(0!==e.avail_in||0!==i.lookahead||0!==t&&666!==i.status){var g=2===i.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(y(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(d(e,!1),0===e.strm.avail_out))return 1}return(e.insert=0,4===t)?(d(e,!0),0===e.strm.avail_out)?3:4:e.last_lit&&(d(e,!1),0===e.strm.avail_out)?1:2}(i,t):3===i.strategy?function(e,t){for(var n,r,i,a,s=e.window;;){if(e.lookahead<=258){if(y(e),e.lookahead<=258&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(r=s[i=e.strstart-1])===s[++i]&&r===s[++i]&&r===s[++i]){a=e.strstart+258;do;while(r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&ie.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=o._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(d(e,!1),0===e.strm.avail_out))return 1}return(e.insert=0,4===t)?(d(e,!0),0===e.strm.avail_out)?3:4:e.last_lit&&(d(e,!1),0===e.strm.avail_out)?1:2}(i,t):r[i.level].func(i,t);if((3===g||4===g)&&(i.status=666),1===g||3===g)return 0===e.avail_out&&(i.last_flush=-1),0;if(2===g&&(1===t?o._tr_align(i):5!==t&&(o._tr_stored_block(i,0,0,!1),3===t&&(_(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),p(e),0===e.avail_out))return i.last_flush=-1,0}return 4!==t?0:i.wrap<=0?1:(2===i.wrap?(f(i,255&e.adler),f(i,e.adler>>8&255),f(i,e.adler>>16&255),f(i,e.adler>>24&255),f(i,255&e.total_in),f(i,e.total_in>>8&255),f(i,e.total_in>>16&255),f(i,e.total_in>>24&255)):(m(i,e.adler>>>16),m(i,65535&e.adler)),p(e),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?0:1)},t.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&103!==t&&113!==t&&666!==t?l(e,-2):(e.state=null,113===t?l(e,-3):0):-2},t.deflateSetDictionary=function(e,t){var n,r,o,s,u,l,c,p,d=t.length;if(!e||!e.state||2===(s=(n=e.state).wrap)||1===s&&42!==n.status||n.lookahead)return -2;for(1===s&&(e.adler=a(e.adler,t,d,0)),n.wrap=0,d>=n.w_size&&(0===s&&(_(n.head),n.strstart=0,n.block_start=0,n.insert=0),p=new i.Buf8(n.w_size),i.arraySet(p,t,d-n.w_size,n.w_size,0),t=p,d=n.w_size),u=e.avail_in,l=e.next_in,c=e.input,e.avail_in=d,e.next_in=0,e.input=t,y(n);n.lookahead>=3;){r=n.strstart,o=n.lookahead-2;do n.ins_h=(n.ins_h<{"use strict";e.exports=function(e,t){var n,r,i,o,a,s,u,l,c,_,p,d,f,m,h,y,g,b,v,x,D,S,T,E,w;n=e.state,r=e.next_in,E=e.input,i=r+(e.avail_in-5),o=e.next_out,w=e.output,a=o-(t-e.avail_out),s=o+(e.avail_out-257),u=n.dmax,l=n.wsize,c=n.whave,_=n.wnext,p=n.window,d=n.hold,f=n.bits,m=n.lencode,h=n.distcode,y=(1<>>=v=b>>>24,f-=v,0==(v=b>>>16&255))w[o++]=65535&b;else if(16&v)for(x=65535&b,(v&=15)&&(f>>=v,f-=v),f<15&&(d+=E[r++]<>>=v=b>>>24,f-=v,16&(v=b>>>16&255)){if(D=65535&b,f<(v&=15)&&(d+=E[r++]<u){e.msg="invalid distance too far back",n.mode=30;break e}if(d>>>=v,f-=v,D>(v=o-a)){if((v=D-v)>c&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(S=0,T=p,0===_){if(S+=l-v,v2;)w[o++]=T[S++],w[o++]=T[S++],w[o++]=T[S++],x-=3;x&&(w[o++]=T[S++],x>1&&(w[o++]=T[S++]))}else{S=o-D;do w[o++]=w[S++],w[o++]=w[S++],w[o++]=w[S++],x-=3;while(x>2)x&&(w[o++]=w[S++],x>1&&(w[o++]=w[S++]))}}else if((64&v)==0){b=h[(65535&b)+(d&(1<>3,f-=x<<3,d&=(1<{"use strict";var r,i,o=n(9761),a=n(5562),s=n(4299),u=n(4980),l=n(881);function c(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function _(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new o.Buf16(320),this.work=new o.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function p(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new o.Buf32(852),t.distcode=t.distdyn=new o.Buf32(592),t.sane=1,t.back=-1,0):-2}function d(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,p(e)):-2}function f(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?-2:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,d(e)):-2}function m(e,t){var n,r;return e?(r=new _,e.state=r,r.window=null,0!==(n=f(e,t))&&(e.state=null),n):-2}var h=!0;function y(e,t,n,r){var i,a=e.state;return null===a.window&&(a.wsize=1<=a.wsize?(o.arraySet(a.window,t,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((i=a.wsize-a.wnext)>r&&(i=r),o.arraySet(a.window,t,n-r,i,a.wnext),(r-=i)?(o.arraySet(a.window,t,n-r,r,0),a.wnext=r,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave>>8&255,n.check=s(n.check,L,2,0),b=0,v=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&b)<<8)+(b>>8))%31){e.msg="incorrect header check",n.mode=30;break}if((15&b)!=8){e.msg="unknown compression method",n.mode=30;break}if(b>>>=4,v-=4,I=(15&b)+8,0===n.wbits)n.wbits=I;else if(I>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<>8&1),512&n.flags&&(L[0]=255&b,L[1]=b>>>8&255,n.check=s(n.check,L,2,0)),b=0,v=0,n.mode=3;case 3:for(;v<32;){if(0===m)break t;m--,b+=_[d++]<>>8&255,L[2]=b>>>16&255,L[3]=b>>>24&255,n.check=s(n.check,L,4,0)),b=0,v=0,n.mode=4;case 4:for(;v<16;){if(0===m)break t;m--,b+=_[d++]<>8),512&n.flags&&(L[0]=255&b,L[1]=b>>>8&255,n.check=s(n.check,L,2,0)),b=0,v=0,n.mode=5;case 5:if(1024&n.flags){for(;v<16;){if(0===m)break t;m--,b+=_[d++]<>>8&255,n.check=s(n.check,L,2,0)),b=0,v=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((S=n.length)>m&&(S=m),S&&(n.head&&(I=n.head.extra_len-n.length,n.head.extra||(n.head.extra=Array(n.head.extra_len)),o.arraySet(n.head.extra,_,d,S,I)),512&n.flags&&(n.check=s(n.check,_,S,d)),m-=S,d+=S,n.length-=S),n.length))break t;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===m)break t;S=0;do I=_[d+S++],n.head&&I&&n.length<65536&&(n.head.name+=String.fromCharCode(I));while(I&&S>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;v<32;){if(0===m)break t;m--,b+=_[d++]<>>=7&v,v-=7&v,n.mode=27;break}for(;v<3;){if(0===m)break t;m--,b+=_[d++]<>>=1)){case 0:n.mode=14;break;case 1:if(function(e){if(h){var t;for(r=new o.Buf32(512),i=new o.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(l(1,e.lens,0,288,r,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;l(2,e.lens,0,32,i,0,e.work,{bits:5}),h=!1}e.lencode=r,e.lenbits=9,e.distcode=i,e.distbits=5}(n),n.mode=20,6===t){b>>>=2,v-=2;break t}break;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}b>>>=2,v-=2;break;case 14:for(b>>>=7&v,v-=7&v;v<32;){if(0===m)break t;m--,b+=_[d++]<>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&b,b=0,v=0,n.mode=15,6===t)break t;case 15:n.mode=16;case 16:if(S=n.length){if(S>m&&(S=m),S>g&&(S=g),0===S)break t;o.arraySet(p,_,d,S,f),m-=S,d+=S,g-=S,f+=S,n.length-=S;break}n.mode=12;break;case 17:for(;v<14;){if(0===m)break t;m--,b+=_[d++]<>>=5,v-=5,n.ndist=(31&b)+1,b>>>=5,v-=5,n.ncode=(15&b)+4,b>>>=4,v-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have>>=3,v-=3}for(;n.have<19;)n.lens[z[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,O={bits:n.lenbits},j=l(0,n.lens,0,19,n.lencode,0,n.work,O),n.lenbits=O.bits,j){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have>>24,A=F>>>16&255,C=65535&F,!(w<=v);){if(0===m)break t;m--,b+=_[d++]<>>=w,v-=w,n.lens[n.have++]=C;else{if(16===C){for(P=w+2;v>>=w,v-=w,0===n.have){e.msg="invalid bit length repeat",n.mode=30;break}I=n.lens[n.have-1],S=3+(3&b),b>>>=2,v-=2}else if(17===C){for(P=w+3;v>>=w,v-=w,I=0,S=3+(7&b),b>>>=3,v-=3}else{for(P=w+7;v>>=w,v-=w,I=0,S=11+(127&b),b>>>=7,v-=7}if(n.have+S>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;S--;)n.lens[n.have++]=I}}if(30===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,O={bits:n.lenbits},j=l(1,n.lens,0,n.nlen,n.lencode,0,n.work,O),n.lenbits=O.bits,j){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,O={bits:n.distbits},j=l(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,O),n.distbits=O.bits,j){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===t)break t;case 20:n.mode=21;case 21:if(m>=6&&g>=258){e.next_out=f,e.avail_out=g,e.next_in=d,e.avail_in=m,n.hold=b,n.bits=v,u(e,D),f=e.next_out,p=e.output,g=e.avail_out,d=e.next_in,_=e.input,m=e.avail_in,b=n.hold,v=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;w=(F=n.lencode[b&(1<>>24,A=F>>>16&255,C=65535&F,!(w<=v);){if(0===m)break t;m--,b+=_[d++]<>N)])>>>24,A=F>>>16&255,C=65535&F,!(N+w<=v);){if(0===m)break t;m--,b+=_[d++]<>>=N,v-=N,n.back+=N}if(b>>>=w,v-=w,n.back+=w,n.length=C,0===A){n.mode=26;break}if(32&A){n.back=-1,n.mode=12;break}if(64&A){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&A,n.mode=22;case 22:if(n.extra){for(P=n.extra;v>>=n.extra,v-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;w=(F=n.distcode[b&(1<>>24,A=F>>>16&255,C=65535&F,!(w<=v);){if(0===m)break t;m--,b+=_[d++]<>N)])>>>24,A=F>>>16&255,C=65535&F,!(N+w<=v);){if(0===m)break t;m--,b+=_[d++]<>>=N,v-=N,n.back+=N}if(b>>>=w,v-=w,n.back+=w,64&A){e.msg="invalid distance code",n.mode=30;break}n.offset=C,n.extra=15&A,n.mode=24;case 24:if(n.extra){for(P=n.extra;v>>=n.extra,v-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===g)break t;if(S=D-g,n.offset>S){if((S=n.offset-S)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}S>n.wnext?(S-=n.wnext,T=n.wsize-S):T=n.wnext-S,S>n.length&&(S=n.length),E=n.window}else E=p,T=f-n.offset,S=n.length;S>g&&(S=g),g-=S,n.length-=S;do p[f++]=E[T++];while(--S)0===n.length&&(n.mode=21);break;case 26:if(0===g)break t;p[f++]=n.length,g--,n.mode=21;break;case 27:if(n.wrap){for(;v<32;){if(0===m)break t;m--,b|=_[d++]<{"use strict";var r=n(9761),i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(e,t,n,u,l,c,_,p){var d,f,m,h,y,g,b,v,x,D=p.bits,S=0,T=0,E=0,w=0,A=0,C=0,N=0,M=0,k=0,I=0,j=null,O=0,P=new r.Buf16(16),F=new r.Buf16(16),L=null,z=0;for(S=0;S<=15;S++)P[S]=0;for(T=0;T=1&&0===P[w];w--);if(A>w&&(A=w),0===w)return l[c++]=20971520,l[c++]=20971520,p.bits=1,0;for(E=1;E0&&(0===e||1!==w))return -1;for(S=1,F[1]=0;S<15;S++)F[S+1]=F[S]+P[S];for(T=0;T852||2===e&&k>592)return 1;for(;;){b=S-N,_[T]g?(v=L[z+_[T]],x=j[O+_[T]]):(v=96,x=0),d=1<>N)+(f-=d)]=b<<24|v<<16|x|0;while(0!==f)for(d=1<>=1;if(0!==d?(I&=d-1,I+=d):I=0,T++,0==--P[S]){if(S===w)break;S=t[n+_[T]]}if(S>A&&(I&h)!==m){for(0===N&&(N=A),y+=E,M=1<<(C=S-N);C+N852||2===e&&k>592)return 1;l[m=I&h]=A<<24|C<<16|y-c|0}}return 0!==I&&(l[y+I]=S-N<<24|4194304),p.bits=A,0}},2950:e=>{"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},9564:(e,t,n)=>{"use strict";var r,i,o,a=n(9761);function s(e){for(var t=e.length;--t>=0;)e[t]=0}var u=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],l=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],c=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],_=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],p=Array(576);s(p);var d=Array(60);s(d);var f=Array(512);s(f);var m=Array(256);s(m);var h=Array(29);s(h);var y=Array(30);function g(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function b(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function v(e){return e<256?f[e]:f[256+(e>>>7)]}function x(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function D(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<>>=1,n<<=1;while(--t>0)return n>>>1}function E(e,t,n){var r,i,o=Array(16),a=0;for(r=1;r<=15;r++)o[r]=a=a+n[r-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=T(o[s]++,s))}}function w(e){var t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function A(e){e.bi_valid>8?x(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function C(e,t,n,r){var i=2*t,o=2*n;return e[i]>1;n>=1;n--)N(e,o,n);i=u;do n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],N(e,o,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,o[2*i]=o[2*n]+o[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,o[2*n+1]=o[2*r+1]=i,e.heap[1]=i++,N(e,o,1);while(e.heap_len>=2)e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,o,a,s,u=t.dyn_tree,l=t.max_code,c=t.stat_desc.static_tree,_=t.stat_desc.has_stree,p=t.stat_desc.extra_bits,d=t.stat_desc.extra_base,f=t.stat_desc.max_length,m=0;for(o=0;o<=15;o++)e.bl_count[o]=0;for(u[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<573;n++)(o=u[2*u[2*(r=e.heap[n])+1]+1]+1)>f&&(o=f,m++),u[2*r+1]=o,!(r>l)&&(e.bl_count[o]++,a=0,r>=d&&(a=p[r-d]),s=u[2*r],e.opt_len+=s*(o+a),_&&(e.static_len+=s*(c[2*r+1]+a)));if(0!==m){do{for(o=f-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[f]--,m-=2}while(m>0)for(o=f;0!==o;o--)for(r=e.bl_count[o];0!==r;)!((i=e.heap[--n])>l)&&(u[2*i+1]!==o&&(e.opt_len+=(o-u[2*i+1])*u[2*i],u[2*i+1]=o),r--)}}(e,t),E(o,l,e.bl_count)}function I(e,t,n){var r,i,o=-1,a=t[1],s=0,u=7,l=4;for(0===a&&(u=138,l=3),t[(n+1)*2+1]=65535,r=0;r<=n;r++)i=a,a=t[(r+1)*2+1],++s>=7;a<30;a++)for(e=0,y[a]=s<<7;e<1<0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),k(e,e.l_desc),k(e,e.d_desc),a=function(e){var t;for(I(e,e.dyn_ltree,e.l_desc.max_code),I(e,e.dyn_dtree,e.d_desc.max_code),k(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*_[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(o=e.static_len+3+7>>>3)<=i&&(i=o)):i=o=n+5,n+4<=i&&-1!==t?P(e,t,n,r):4===e.strategy||o===i?(D(e,2+(r?1:0),3),M(e,p,d)):(D(e,4+(r?1:0),3),function(e,t,n,r){var i;for(D(e,t-257,5),D(e,n-1,5),D(e,r-4,4),i=0;i>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[(m[n]+256+1)*2]++,e.dyn_dtree[2*v(t)]++),e.last_lit===e.lit_bufsize-1},t._tr_align=function(e){D(e,2,3),S(e,256,p),16===e.bi_valid?(x(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}},744:e=>{"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},9498:(e,t,n)=>{"use strict";let{ErrorWithCause:r}=n(1261),{findCauseByReference:i,getErrorCause:o,messageWithCauses:a,stackWithCauses:s}=n(1662);e.exports={ErrorWithCause:r,findCauseByReference:i,getErrorCause:o,stackWithCauses:s,messageWithCauses:a}},1261:e=>{"use strict";class t extends Error{constructor(e,{cause:n}={}){super(e),this.name=t.name,n&&(this.cause=n),this.message=e}}e.exports={ErrorWithCause:t}},1662:e=>{"use strict";let t=e=>{if(e&&"object"==typeof e&&"cause"in e){if("function"!=typeof e.cause)return e.cause instanceof Error?e.cause:void 0;{let t=e.cause();return t instanceof Error?t:void 0}}},n=(e,r)=>{if(!(e instanceof Error))return"";let i=e.stack||"";if(r.has(e))return i+"\ncauses have become circular...";let o=t(e);return o?(r.add(e),i+"\ncaused by: "+n(o,r)):i},r=(e,n,i)=>{if(!(e instanceof Error))return"";let o=i?"":e.message||"";if(n.has(e))return o+": ...";let a=t(e);if(!a)return o;{n.add(e);let t="cause"in e&&"function"==typeof e.cause;return o+(t?"":": ")+r(a,n,t)}};e.exports={findCauseByReference:(e,n)=>{if(!e||!n||!(e instanceof Error)||!(n.prototype instanceof Error)&&n!==Error)return;let r=new Set,i=e;for(;i&&!r.has(i);){if(r.add(i),i instanceof n)return i;i=t(i)}},getErrorCause:t,stackWithCauses:e=>n(e,new Set),messageWithCauses:e=>r(e,new Set)}},8261:(e,t,n)=>{e.exports=function(){"use strict";var e=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),t=e((e,t)=>{var r=function(e){return e&&e.Math==Math&&e};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()}),r=e((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}}),i=e((e,t)=>{var n=r();t.exports=!n(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})}),o=e((e,t)=>{var n=r();t.exports=!n(function(){var e=(function(){}).bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})}),a=e((e,t)=>{var n=o(),r=Function.prototype.call;t.exports=n?r.bind(r):function(){return r.apply(r,arguments)}}),s=e(e=>{var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!t.call({1:2},1);e.f=r?function(e){var t=n(this,e);return!!t&&t.enumerable}:t}),u=e((e,t)=>{t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}}),l=e((e,t)=>{var n=o(),r=Function.prototype,i=r.call,a=n&&r.bind.bind(i,i);t.exports=n?a:function(e){return function(){return i.apply(e,arguments)}}}),c=e((e,t)=>{var n=l(),r=n({}.toString),i=n("".slice);t.exports=function(e){return i(r(e),8,-1)}}),_=e((e,t)=>{var n=l(),i=r(),o=c(),a=Object,s=n("".split);t.exports=i(function(){return!a("z").propertyIsEnumerable(0)})?function(e){return"String"==o(e)?s(e,""):a(e)}:a}),p=e((e,t)=>{t.exports=function(e){return null==e}}),d=e((e,t)=>{var n=p(),r=TypeError;t.exports=function(e){if(n(e))throw r("Can't call method on "+e);return e}}),f=e((e,t)=>{var n=_(),r=d();t.exports=function(e){return n(r(e))}}),m=e((e,t)=>{var n="object"==typeof document&&document.all;t.exports={all:n,IS_HTMLDDA:typeof n>"u"&&void 0!==n}}),h=e((e,t)=>{var n=m(),r=n.all;t.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}}),y=e((e,t)=>{var n=h(),r=m(),i=r.all;t.exports=r.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===i}:function(e){return"object"==typeof e?null!==e:n(e)}}),g=e((e,n)=>{var r=t(),i=h();n.exports=function(e,t){var n;return arguments.length<2?i(n=r[e])?n:void 0:r[e]&&r[e][t]}}),b=e((e,t)=>{var n=l();t.exports=n({}.isPrototypeOf)}),v=e((e,t)=>{var n=g();t.exports=n("navigator","userAgent")||""}),x=e((e,n)=>{var r,i,o=t(),a=v(),s=o.process,u=o.Deno,l=s&&s.versions||u&&u.version,c=l&&l.v8;c&&(i=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=+r[1]),n.exports=i}),D=e((e,t)=>{var n=x(),i=r();t.exports=!!Object.getOwnPropertySymbols&&!i(function(){var e=Symbol();return!String(e)||!(Object(e) instanceof Symbol)||!Symbol.sham&&n&&n<41})}),S=e((e,t)=>{var n=D();t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}),T=e((e,t)=>{var n=g(),r=h(),i=b(),o=S(),a=Object;t.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return r(t)&&i(t.prototype,a(e))}}),E=e((e,t)=>{var n=String;t.exports=function(e){try{return n(e)}catch{return"Object"}}}),w=e((e,t)=>{var n=h(),r=E(),i=TypeError;t.exports=function(e){if(n(e))return e;throw i(r(e)+" is not a function")}}),A=e((e,t)=>{var n=w(),r=p();t.exports=function(e,t){var i=e[t];return r(i)?void 0:n(i)}}),C=e((e,t)=>{var n=a(),r=h(),i=y(),o=TypeError;t.exports=function(e,t){var a,s;if("string"===t&&r(a=e.toString)&&!i(s=n(a,e))||r(a=e.valueOf)&&!i(s=n(a,e))||"string"!==t&&r(a=e.toString)&&!i(s=n(a,e)))return s;throw o("Can't convert object to primitive value")}}),N=e((e,t)=>{t.exports=!1}),M=e((e,n)=>{var r=t(),i=Object.defineProperty;n.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch{r[e]=t}return t}}),k=e((e,n)=>{var r=t(),i=M(),o="__core-js_shared__",a=r[o]||i(o,{});n.exports=a}),I=e((e,t)=>{var n=N(),r=k();(t.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.26.1",mode:n?"pure":"global",copyright:"\xa9 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"})}),j=e((e,t)=>{var n=d(),r=Object;t.exports=function(e){return r(n(e))}}),O=e((e,t)=>{var n=l(),r=j(),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(r(e),t)}}),P=e((e,t)=>{var n=l(),r=0,i=Math.random(),o=n(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++r+i,36)}}),F=e((e,n)=>{var r=t(),i=I(),o=O(),a=P(),s=D(),u=S(),l=i("wks"),c=r.Symbol,_=c&&c.for,p=u?c:c&&c.withoutSetter||a;n.exports=function(e){if(!o(l,e)||!(s||"string"==typeof l[e])){var t="Symbol."+e;s&&o(c,e)?l[e]=c[e]:u&&_?l[e]=_(t):l[e]=p(t)}return l[e]}}),L=e((e,t)=>{var n=a(),r=y(),i=T(),o=A(),s=C(),u=F(),l=TypeError,c=u("toPrimitive");t.exports=function(e,t){if(!r(e)||i(e))return e;var a,u=o(e,c);if(u){if(void 0===t&&(t="default"),!r(a=n(u,e,t))||i(a))return a;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}}),z=e((e,t)=>{var n=L(),r=T();t.exports=function(e){var t=n(e,"string");return r(t)?t:t+""}}),R=e((e,n)=>{var r=t(),i=y(),o=r.document,a=i(o)&&i(o.createElement);n.exports=function(e){return a?o.createElement(e):{}}}),B=e((e,t)=>{var n=i(),o=r(),a=R();t.exports=!n&&!o(function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a})}),U=e(e=>{var t=i(),n=a(),r=s(),o=u(),l=f(),c=z(),_=O(),p=B(),d=Object.getOwnPropertyDescriptor;e.f=t?d:function(e,t){if(e=l(e),t=c(t),p)try{return d(e,t)}catch{}if(_(e,t))return o(!n(r.f,e,t),e[t])}}),J=e((e,t)=>{var n=i(),o=r();t.exports=n&&o(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}),$=e((e,t)=>{var n=y(),r=String,i=TypeError;t.exports=function(e){if(n(e))return e;throw i(r(e)+" is not an object")}}),K=e(e=>{var t=i(),n=B(),r=J(),o=$(),a=z(),s=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,c="enumerable",_="configurable",p="writable";e.f=t?r?function(e,t,n){if(o(e),t=a(t),o(n),"function"==typeof e&&"prototype"===t&&"value"in n&&p in n&&!n[p]){var r=l(e,t);r&&r[p]&&(e[t]=n.value,n={configurable:_ in n?n[_]:r[_],enumerable:c in n?n[c]:r[c],writable:!1})}return u(e,t,n)}:u:function(e,t,r){if(o(e),t=a(t),o(r),n)try{return u(e,t,r)}catch{}if("get"in r||"set"in r)throw s("Accessors not supported");return"value"in r&&(e[t]=r.value),e}}),V=e((e,t)=>{var n=i(),r=K(),o=u();t.exports=n?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}}),Y=e((e,t)=>{var n=i(),r=O(),o=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=r(o,"name"),u=s&&(!n||n&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:s&&"something"===(function(){}).name,CONFIGURABLE:u}}),q=e((e,t)=>{var n=l(),r=h(),i=k(),o=n(Function.toString);r(i.inspectSource)||(i.inspectSource=function(e){return o(e)}),t.exports=i.inspectSource}),W=e((e,n)=>{var r=t(),i=h(),o=r.WeakMap;n.exports=i(o)&&/native code/.test(String(o))}),Q=e((e,t)=>{var n=I(),r=P(),i=n("keys");t.exports=function(e){return i[e]||(i[e]=r(e))}}),H=e((e,t)=>{t.exports={}}),G=e((e,n)=>{var r,i,o,a,s,u=W(),l=t(),c=y(),_=V(),p=O(),d=k(),f=Q(),m=H(),h="Object already initialized",g=l.TypeError,b=l.WeakMap;u||d.state?((r=d.state||(d.state=new b)).get=r.get,r.has=r.has,r.set=r.set,o=function(e,t){if(r.has(e))throw g(h);return t.facade=e,r.set(e,t),t},a=function(e){return r.get(e)||{}},s=function(e){return r.has(e)}):(m[i=f("state")]=!0,o=function(e,t){if(p(e,i))throw g(h);return t.facade=e,_(e,i,t),t},a=function(e){return p(e,i)?e[i]:{}},s=function(e){return p(e,i)}),n.exports={set:o,get:a,has:s,enforce:function(e){return s(e)?a(e):o(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=a(t)).type!==e)throw g("Incompatible receiver, "+e+" required");return n}}}}),Z=e((e,t)=>{var n=r(),o=h(),a=O(),s=i(),u=Y().CONFIGURABLE,l=q(),c=G(),_=c.enforce,p=c.get,d=Object.defineProperty,f=s&&!n(function(){return 8!==d(function(){},"length",{value:8}).length}),m=String(String).split("String"),y=t.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||u&&e.name!==t)&&(s?d(e,"name",{value:t,configurable:!0}):e.name=t),f&&n&&a(n,"arity")&&e.length!==n.arity&&d(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?s&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch{}var r=_(e);return a(r,"source")||(r.source=m.join("string"==typeof t?t:"")),e};Function.prototype.toString=y(function(){return o(this)&&p(this).source||l(this)},"toString")}),X=e((e,t)=>{var n=h(),r=K(),i=Z(),o=M();t.exports=function(e,t,a,s){s||(s={});var u=s.enumerable,l=void 0!==s.name?s.name:t;if(n(a)&&i(a,l,s),s.global)u?e[t]=a:o(t,a);else{try{s.unsafe?e[t]&&(u=!0):delete e[t]}catch{}u?e[t]=a:r.f(e,t,{value:a,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}}),ee=e((e,t)=>{var n=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?r:n)(t)}}),et=e((e,t)=>{var n=ee();t.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}}),en=e((e,t)=>{var n=et(),r=Math.max,i=Math.min;t.exports=function(e,t){var o=n(e);return o<0?r(o+t,0):i(o,t)}}),er=e((e,t)=>{var n=et(),r=Math.min;t.exports=function(e){return e>0?r(n(e),9007199254740991):0}}),ei=e((e,t)=>{var n=er();t.exports=function(e){return n(e.length)}}),eo=e((e,t)=>{var n=f(),r=en(),i=ei(),o=function(e){return function(t,o,a){var s,u=n(t),l=i(u),c=r(a,l);if(e&&o!=o){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===o)return e||c||0;return!e&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}}),ea=e((e,t)=>{var n=l(),r=O(),i=f(),o=eo().indexOf,a=H(),s=n([].push);t.exports=function(e,t){var n,u=i(e),l=0,c=[];for(n in u)!r(a,n)&&r(u,n)&&s(c,n);for(;t.length>l;)r(u,n=t[l++])&&(~o(c,n)||s(c,n));return c}}),es=e((e,t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),eu=e(e=>{var t=ea(),n=es().concat("length","prototype");e.f=Object.getOwnPropertyNames||function(e){return t(e,n)}}),el=e(e=>{e.f=Object.getOwnPropertySymbols}),ec=e((e,t)=>{var n=g(),r=l(),i=eu(),o=el(),a=$(),s=r([].concat);t.exports=n("Reflect","ownKeys")||function(e){var t=i.f(a(e)),n=o.f;return n?s(t,n(e)):t}}),e_=e((e,t)=>{var n=O(),r=ec(),i=U(),o=K();t.exports=function(e,t,a){for(var s=r(t),u=o.f,l=i.f,c=0;c{var n=r(),i=h(),o=/#|\.prototype\./,a=function(e,t){var r=u[s(e)];return r==c||r!=l&&(i(t)?n(t):!!t)},s=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},u=a.data={},l=a.NATIVE="N",c=a.POLYFILL="P";t.exports=a}),ed=e((e,n)=>{var r=t(),i=U().f,o=V(),a=X(),s=M(),u=e_(),l=ep();n.exports=function(e,t){var n,c,_,p,d,f=e.target,m=e.global,h=e.stat;if(n=m?r:h?r[f]||s(f,{}):(r[f]||{}).prototype)for(c in t){if(p=t[c],_=e.dontCallGetSet?(d=i(n,c))&&d.value:n[c],!l(m?c:f+(h?".":"#")+c,e.forced)&&void 0!==_){if(typeof p==typeof _)continue;u(p,_)}(e.sham||_&&_.sham)&&o(p,"sham",!0),a(n,c,p,e)}}}),ef=e(()=>{var e=ed(),n=t();e({global:!0,forced:n.globalThis!==n},{globalThis:n})}),em=e(()=>{ef()}),eh=e((e,t)=>{var n=Z(),r=K();t.exports=function(e,t,i){return i.get&&n(i.get,t,{getter:!0}),i.set&&n(i.set,t,{setter:!0}),r.f(e,t,i)}}),ey=e((e,t)=>{var n=$();t.exports=function(){var e=n(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}}),eg=e(()=>{var e=t(),n=i(),o=eh(),a=ey(),s=r(),u=e.RegExp,l=u.prototype;n&&s(function(){var e=!0;try{u(".","d")}catch{e=!1}var t={},n="",r=e?"dgimsy":"gimsy",i=function(e,r){Object.defineProperty(t,e,{get:function(){return n+=r,!0}})},o={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in e&&(o.hasIndices="d"),o)i(a,o[a]);return Object.getOwnPropertyDescriptor(l,"flags").get.call(t)!==r||n!==r})&&o(l,"flags",{configurable:!0,get:a})});return e((e,t)=>{em(),eg();var n,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,s=(e,t)=>function(){return e&&(t=(0,e[o(e)[0]])(e=0)),t},u=(e,t)=>function(){return t||(0,e[o(e)[0]])((t={exports:{}}).exports,t),t.exports},l=(e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})},c=(e,t,n,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let u of o(t))a.call(e,u)||u===n||r(e,u,{get:()=>t[u],enumerable:!(s=i(t,u))||s.enumerable});return e},_=e=>c(r({},"__esModule",{value:!0}),e),p=s({""(){n={env:{},argv:[]}}}),d=u({"src/common/parser-create-error.js"(e,t){p(),t.exports=function(e,t){let n=SyntaxError(e+" ("+t.start.line+":"+t.start.column+")");return n.loc=t,n}}}),f=u({"src/utils/try-combinations.js"(e,t){p(),t.exports=function(){let e;for(var t=arguments.length,n=Array(t),r=0;r"u"){var e=new ArrayBuffer(2),t=new Uint8Array(e),n=new Uint16Array(e);if(t[0]=1,t[1]=2,258===n[0])M="BE";else if(513===n[0])M="LE";else throw Error("unable to figure out endianess")}return M}function y(){return"u">typeof globalThis.location?globalThis.location.hostname:""}function g(){return[]}function b(){return 0}function v(){return Number.MAX_VALUE}function x(){return Number.MAX_VALUE}function D(){return[]}function S(){return"Browser"}function T(){return"u">typeof globalThis.navigator?globalThis.navigator.appVersion:""}function E(){}function w(){}function A(){return"javascript"}function C(){return"browser"}function N(){return"/tmp"}l(m,{EOL:()=>I,arch:()=>A,cpus:()=>D,default:()=>j,endianness:()=>h,freemem:()=>v,getNetworkInterfaces:()=>w,hostname:()=>y,loadavg:()=>g,networkInterfaces:()=>E,platform:()=>C,release:()=>T,tmpDir:()=>N,tmpdir:()=>k,totalmem:()=>x,type:()=>S,uptime:()=>b});var M,k,I,j,O=s({"node-modules-polyfills:os"(){p(),j={EOL:I=` +`,tmpdir:k=N,tmpDir:N,networkInterfaces:E,getNetworkInterfaces:w,release:T,type:S,cpus:D,totalmem:x,freemem:v,uptime:b,loadavg:g,hostname:y,endianness:h}}}),P=u({"node-modules-polyfills-commonjs:os"(e,t){p();var n=(O(),_(m));if(n&&n.default)for(let e in t.exports=n.default,n)t.exports[e]=n[e];else n&&(t.exports=n)}}),F=u({"node_modules/detect-newline/index.js"(e,t){p();var n=e=>{if("string"!=typeof e)throw TypeError("Expected a string");let t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;let n=t.filter(e=>e===`\r +`).length,r=t.length-n;return n>r?`\r +`:` +`};t.exports=n,t.exports.graceful=e=>"string"==typeof e&&n(e)||` +`}}),L=u({"node_modules/jest-docblock/build/index.js"(e){function t(){let e=P();return t=function(){return e},e}function n(){var e;let t=(e=F())&&e.__esModule?e:{default:e};return n=function(){return t},t}p(),Object.defineProperty(e,"__esModule",{value:!0}),e.extract=function(e){let t=e.match(o);return t?t[0].trimLeft():""},e.parse=function(e){return d(e).pragmas},e.parseWithComments=d,e.print=function(e){let{comments:r="",pragmas:i={}}=e,o=(0,n().default)(r)||t().EOL,a=Object.keys(i),s=a.map(e=>f(e,i[e])).reduce((e,t)=>e.concat(t),[]).map(e=>` * ${e}${o}`).join("");if(!r){if(0===a.length)return"";if(1===a.length&&!Array.isArray(i[a[0]]))return`/** ${f(a[0],i[a[0]])[0]} */`}let u=r.split(o).map(e=>` * ${e}`).join(o)+o;return"/**"+o+(r?u:"")+(r&&a.length?" *"+o:"")+s+" */"},e.strip=function(e){let t=e.match(o);return t&&t[0]?e.substring(t[0].length):e};var r=/\*\/$/,i=/^\/\*\*?/,o=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,a=/(^|\s+)\/\/([^\r\n]*)/g,s=/^(\r?\n)+/,u=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,l=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,c=/(\r?\n|^) *\* ?/g,_=[];function d(e){let o=(0,n().default)(e)||t().EOL;e=e.replace(i,"").replace(r,"").replace(c,"$1");let p="";for(;p!==e;)p=e,e=e.replace(u,`${o}$1 $2${o}`);e=e.replace(s,"").trimRight();let d=Object.create(null),f=e.replace(l,"").replace(s,"").trimRight(),m;for(;m=l.exec(e);){let e=m[2].replace(a,"");"string"==typeof d[m[1]]||Array.isArray(d[m[1]])?d[m[1]]=_.concat(d[m[1]],e):d[m[1]]=e}return{comments:f,pragmas:d}}function f(e,t){return _.concat(t).map(t=>`@${e} ${t}`.trim())}}}),z=u({"src/common/end-of-line.js"(e,t){p(),t.exports={guessEndOfLine:function(e){let t=e.indexOf("\r");return t>=0?e.charAt(t+1)===` +`?"crlf":"cr":"lf"},convertEndOfLineToChars:function(e){switch(e){case"cr":return"\r";case"crlf":return`\r +`;default:return` +`}},countEndOfLineChars:function(e,t){let n;switch(t){case` +`:n=/\n/g;break;case"\r":n=/\r/g;break;case`\r +`:n=/\r\n/g;break;default:throw Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let r=e.match(n);return r?r.length:0},normalizeEndOfLine:function(e){return e.replace(/\r\n?/g,` +`)}}}}),R=u({"src/language-js/utils/get-shebang.js"(e,t){p(),t.exports=function(e){if(!e.startsWith("#!"))return"";let t=e.indexOf(` +`);return -1===t?e:e.slice(0,t)}}}),B=u({"src/language-js/pragma.js"(e,t){p();var{parseWithComments:n,strip:r,extract:i,print:o}=L(),{normalizeEndOfLine:a}=z(),s=R();function u(e){let t=s(e);t&&(e=e.slice(t.length+1));let{pragmas:r,comments:o}=n(i(e));return{shebang:t,text:e,pragmas:r,comments:o}}t.exports={hasPragma:function(e){let t=Object.keys(u(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function(e){let{shebang:t,text:n,pragmas:i,comments:s}=u(e),l=r(n);return(t?`${t} +`:"")+a(o({pragmas:Object.assign({format:""},i),comments:s.trimStart()}))+(l.startsWith(` +`)?` +`:` + +`)+l}}}}),U=u({"src/utils/is-non-empty-array.js"(e,t){p(),t.exports=function(e){return Array.isArray(e)&&e.length>0}}}),J=u({"src/language-js/loc.js"(e,t){p();var n=U();function r(e){var t,i;let o=e.range?e.range[0]:e.start,a=null!==(t=null===(i=e.declaration)||void 0===i?void 0:i.decorators)&&void 0!==t?t:e.decorators;return n(a)?Math.min(r(a[0]),o):o}function i(e){return e.range?e.range[1]:e.end}function o(e,t){let n=r(e);return Number.isInteger(n)&&n===r(t)}t.exports={locStart:r,locEnd:i,hasSameLocStart:o,hasSameLoc:function(e,t){let n;return o(e,t)&&Number.isInteger(n=i(e))&&n===i(t)}}}}),$=u({"src/language-js/parse/utils/create-parser.js"(e,t){p();var{hasPragma:n}=B(),{locStart:r,locEnd:i}=J();t.exports=function(e){return Object.assign({astFormat:"estree",hasPragma:n,locStart:r,locEnd:i},e="function"==typeof e?{parse:e}:e)}}}),K=u({"src/language-js/parse/utils/replace-hashbang.js"(e,t){p(),t.exports=function(e){return"#"===e.charAt(0)&&"!"===e.charAt(1)?"//"+e.slice(2):e}}}),V=u({"src/language-js/utils/is-ts-keyword-type.js"(e,t){p(),t.exports=function(e){let{type:t}=e;return t.startsWith("TS")&&t.endsWith("Keyword")}}}),Y=u({"src/language-js/utils/is-block-comment.js"(e,t){p();var n=new Set(["Block","CommentBlock","MultiLine"]);t.exports=e=>n.has(null==e?void 0:e.type)}}),q=u({"src/language-js/utils/is-type-cast-comment.js"(e,t){p();var n=Y();t.exports=function(e){return n(e)&&"*"===e.value[0]&&/@(?:type|satisfies)\b/.test(e.value)}}}),W=u({"src/utils/get-last.js"(e,t){p(),t.exports=e=>e[e.length-1]}}),Q=u({"src/language-js/parse/postprocess/visit-node.js"(e,t){p(),t.exports=function e(t,n){if(Array.isArray(t)){for(let r=0;r{e.leadingComments&&e.leadingComments.some(o)&&t.add(n(e))}),e=s(e,e=>{if("ParenthesizedExpression"===e.type){let{expression:r}=e;if("TypeCastExpression"===r.type)return r.range=e.range,r;let i=n(e);if(!t.has(i))return r.extra=Object.assign(Object.assign({},r.extra),{},{parenthesized:!0}),r}})}return e=s(e,e=>{switch(e.type){case"ChainExpression":return function e(t){switch(t.type){case"CallExpression":t.type="OptionalCallExpression",t.callee=e(t.callee);break;case"MemberExpression":t.type="OptionalMemberExpression",t.object=e(t.object);break;case"TSNonNullExpression":t.expression=e(t.expression)}return t}(e.expression);case"LogicalExpression":if(l(e))return function e(t){return l(t)?e({type:"LogicalExpression",operator:t.operator,left:e({type:"LogicalExpression",operator:t.operator,left:t.left,right:t.right.left,range:[n(t.left),r(t.right.left)]}),right:t.right.right,range:[n(t),r(t)]}):t}(e);break;case"VariableDeclaration":{let i=a(e.declarations);i&&i.init&&";"!==t.originalText[r(i)]&&(e.range=[n(e),r(i)]);break}case"TSParenthesizedType":return i(e.typeAnnotation)||"TSThisType"===e.typeAnnotation.type||(e.typeAnnotation.range=[n(e),r(e)]),e.typeAnnotation;case"TSTypeParameter":if("string"==typeof e.name){let t=n(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&&u(t.value,"Unexpected token.")}break;case"SequenceExpression":{let t=a(e.expressions);e.range=[n(e),Math.min(r(t),r(e))];break}case"TopicReference":t.__isUsingHackPipeline=!0;break;case"ExportAllDeclaration":{let{exported:i}=e;if("meriyah"===t.parser&&i&&"Identifier"===i.type){let o=t.originalText.slice(n(i),r(i));(o.startsWith('"')||o.startsWith("'"))&&(e.exported=Object.assign(Object.assign({},e.exported),{},{type:"Literal",value:e.exported.name,raw:o}))}break}case"PropertyDefinition":if("meriyah"===t.parser&&e.static&&!e.computed&&!e.key){let t="static",r=n(e);Object.assign(e,{static:!1,key:{type:"Identifier",name:t,range:[r,r+t.length]}})}}})}}}),Z=u({"node_modules/typescript/lib/typescript.js"(e,t){p();var r,i,o,a,s,u=Object.defineProperty,l=Object.getOwnPropertyNames,c=(e,t)=>function(){return e&&(t=(0,e[l(e)[0]])(e=0)),t},_=c({"src/compiler/corePublic.ts"(){var e;o="5.0",a="5.0.2",(e=s||{})[e.LessThan=-1]="LessThan",e[e.EqualTo=0]="EqualTo",e[e.GreaterThan=1]="GreaterThan",s=e}});function d(e){return e?e.length:0}function f(e,t){if(e)for(let n=0;n=0;n--){let r=t(e[n],n);if(r)return r}}function h(e,t){if(void 0!==e)for(let n=0;n=0;r--){let n=e[r];if(t(n,r))return n}}function T(e,t,n){if(void 0===e)return -1;for(let r=null!=n?n:0;r=0;r--)if(t(e[r],r))return r;return -1}function w(e,t){for(let n=0;n2&&void 0!==arguments[2]?arguments[2]:tf;if(e){for(let r of e)if(n(r,t))return!0}return!1}function C(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:tf;return e.length===t.length&&e.every((e,r)=>n(e,t[r]))}function N(e,t,n){for(let r=n||0;r{let i=t(r,e);if(void 0!==i){let[e,t]=i;void 0!==e&&void 0!==t&&n.set(e,t)}}),n}function Y(e,t,n){if(e.has(t))return e.get(t);let r=n();return e.set(t,r),r}function q(e,t){return!e.has(t)&&(e.add(t),!0)}function*W(e){yield e}function Q(e,t,n){let r;if(e){r=[];let i=e.length,o,a,s=0,u=0;for(;s{let[i,o]=t(r,e);n.set(i,o)}),n}function G(e,t){if(e){if(!t)return e.length>0;for(let n of e)if(t(n))return!0}return!1}function Z(e,t,n){let r;for(let i=0;ie[t])}(e,t,n):function(e,t){let n=[];for(let r of e)em(n,r,t);return n}(e,t)}function er(){return[]}function ei(e,t,n,r){if(0===e.length)return e.push(t),!0;let i=eI(e,t,to,n);return i<0?(e.splice(~i,0,t),!0):!!r&&(e.splice(i,0,t),!0)}function eo(e,t,n){return function(e,t){if(0===e.length)return t8;let n=e[0],r=[n];for(let i=1;i0&&(i&=-2),2&i&&r(o,s)>0&&(i&=-3),o=s}return i}function eu(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:tf;if(!e||!t)return e===t;if(e.length!==t.length)return!1;for(let r=0;r0&&nd.assertGreaterThanOrEqual(n(t[o],t[o-1]),0);for(let a=i;ia&&nd.assertGreaterThanOrEqual(n(e[i],e[i-1]),0),n(t[o],e[i])){case -1:r.push(t[o]);continue n;case 0:continue n;case 1:continue}}return r}function e_(e,t){return void 0===t?e:void 0===e?[t]:(e.push(t),e)}function ep(e,t){return void 0===e?t:void 0===t?e:e6(e)?e6(t)?X(e,t):e_(e,t):e6(t)?e_(t,e):[e,t]}function ed(e,t){return t<0?e.length+t:t}function ef(e,t,n,r){if(void 0===t||0===t.length)return e;if(void 0===e)return t.slice(n,r);n=void 0===n?0:ed(t,n),r=void 0===r?t.length:ed(t,r);for(let i=n;in(e[t],e[r])||tg(t,r))}function eg(e,t){return 0===e.length?e:e.slice().sort(t)}function*eb(e){for(let t=e.length-1;t>=0;t--)yield e[t]}function ev(e,t){let n=et(e);return ey(e,n,t),n.map(t=>e[t])}function ex(e,t,n,r){for(;n>1);switch(r(n(e[i],i),t)){case -1:o=i+1;break;case 0:return i;case 1:a=i-1}}return~o}function eO(e,t,n,r,i){if(e&&e.length>0){let o=e.length;if(o>0){let a=void 0===r||r<0?0:r,s=void 0===i||a+i>o-1?o-1:a+i,u;for(arguments.length<=2?(u=e[a],a++):u=n;a<=s;)u=t(u,e[a],a),a++;return u}}return n}function eP(e,t){return nn.call(e,t)}function eF(e,t){return nn.call(e,t)?e[t]:void 0}function eL(e){let t=[];for(let n in e)nn.call(e,n)&&t.push(n);return t}function ez(e){let t=[];do for(let n of Object.getOwnPropertyNames(e))em(t,n);while(e=Object.getPrototypeOf(e))return t}function eR(e){let t=[];for(let n in e)nn.call(e,n)&&t.push(e[n]);return t}function eB(e,t){let n=Array(e);for(let r=0;r1?t-1:0),r=1;r2&&void 0!==arguments[2]?arguments[2]:tf;if(e===t)return!0;if(!e||!t)return!1;for(let r in e)if(nn.call(e,r)&&(!nn.call(t,r)||!n(e[r],t[r])))return!1;for(let n in t)if(nn.call(t,n)&&!nn.call(e,n))return!1;return!0}function eK(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:to,r=new Map;for(let i of e){let e=t(i);void 0!==e&&r.set(e,n(i))}return r}function eV(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:to,r=[];for(let i of e)r[t(i)]=n(i);return r}function eY(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:to,r=eX();for(let i of e)r.add(t(i),n(i));return r}function eq(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:to;return eU(eY(e,t).values(),n)}function eW(e,t){var n;let r={};if(e)for(let i of e){let e=`${t(i)}`;(null!=(n=r[e])?n:r[e]=[]).push(i)}return r}function eQ(e){let t={};for(let n in e)nn.call(e,n)&&(t[n]=e[n]);return t}function eH(e,t){let n={};for(let e in t)nn.call(t,e)&&(n[e]=t[e]);for(let t in e)nn.call(e,t)&&(n[t]=e[t]);return n}function eG(e,t){for(let n in t)nn.call(t,n)&&(e[n]=t[n])}function eZ(e,t){return t?t.bind(e):void 0}function eX(){let e=new Map;return e.add=e0,e.remove=e1,e}function e0(e,t){let n=this.get(e);return n?n.push(t):this.set(e,n=[t]),n}function e1(e,t){let n=this.get(e);n&&(tR(n,t),n.length||this.delete(e))}function e2(){return eX()}function e3(e){let t=(null==e?void 0:e.slice())||[],n=0;function r(){return n===t.length}return{enqueue:function(){t.push(...arguments)},dequeue:function(){if(r())throw Error("Queue is empty");let e=t[n];if(t[n]=void 0,++n>100&&n>t.length>>1){let e=t.length-n;t.copyWithin(0,n),t.length=e,n=0}return e},isEmpty:r}}function e4(e,t){let n=new Map,r=0;function*i(){for(let e of n.values())e6(e)?yield*e:yield e}let o={has(r){let i=e(r);if(!n.has(i))return!1;let o=n.get(i);if(!e6(o))return t(o,r);for(let e of o)if(t(e,r))return!0;return!1},add(i){let o=e(i);if(n.has(o)){let e=n.get(o);e6(e)?A(e,i,t)||(e.push(i),r++):t(e,i)||(n.set(o,[e,i]),r++)}else n.set(o,i),r++;return this},delete(i){let o=e(i);if(!n.has(o))return!1;let a=n.get(o);if(e6(a)){for(let e=0;ei(),values:()=>i(),*entries(){for(let e of i())yield[e,e]},[Symbol.iterator]:()=>i(),[Symbol.toStringTag]:n[Symbol.toStringTag]};return o}function e6(e){return Array.isArray(e)}function e5(e){return e6(e)?e:[e]}function e8(e){return"string"==typeof e}function e7(e){return"number"==typeof e}function e9(e,t){return void 0!==e&&t(e)?e:void 0}function te(e,t){return void 0!==e&&t(e)?e:nd.fail(`Invalid cast. The supplied value ${e} did not pass the test '${nd.getFunctionName(t)}'.`)}function tt(e){}function tn(){return!1}function tr(){return!0}function ti(){}function to(e){return e}function ta(e){return e.toLowerCase()}function ts(e){return ni.test(e)?e.replace(ni,ta):e}function tu(){throw Error("Not implemented")}function tl(e){let t;return()=>(e&&(t=e(),e=void 0),t)}function tc(e){let t=new Map;return n=>{let r=`${typeof n}:${n}`,i=t.get(r);return void 0!==i||t.has(r)||(i=e(n),t.set(r,i)),i}}function t_(e){let t=new WeakMap;return n=>{let r=t.get(n);return void 0!==r||t.has(n)||(r=e(n),t.set(n,r)),r}}function tp(e,t){return function(){for(var n=arguments.length,r=Array(n),i=0;ir(n(t(e(i)))):n?r=>n(t(e(r))):t?n=>t(e(n)):e?t=>e(t):e=>e;{let e=[];for(let t=0;teO(e,(e,t)=>t(e),t)}}function tf(e,t){return e===t}function tm(e,t){return e===t||void 0!==e&&void 0!==t&&e.toUpperCase()===t.toUpperCase()}function th(e,t){return tf(e,t)}function ty(e,t){return e===t?0:void 0===e?-1:void 0===t?1:e-1===t(e,n)?e:n)}function tx(e,t){return e===t?0:void 0===e?-1:void 0===t?1:(e=e.toUpperCase())<(t=t.toUpperCase())?-1:e>t?1:0}function tD(e,t){return e===t?0:void 0===e?-1:void 0===t?1:(e=e.toLowerCase())<(t=t.toLowerCase())?-1:e>t?1:0}function tS(e,t){return ty(e,t)}function tT(e){return e?tx:tS}function tE(){return nu}function tw(e){nu!==e&&(nu=e,ns=void 0)}function tA(e,t){return(ns||(ns=na(nu)))(e,t)}function tC(e,t,n,r){return e===t?0:void 0===e?-1:void 0===t?1:r(e[n],t[n])}function tN(e,t){return tg(e?1:0,t?1:0)}function tM(e,t,n){let r=Math.max(2,Math.floor(.34*e.length)),i=Math.floor(.4*e.length)+1,o;for(let a of t){let t=n(a);if(void 0!==t&&Math.abs(t.length-e.length)<=r){if(t===e||t.length<3&&t.toLowerCase()!==e.toLowerCase())continue;let n=function(e,t,n){let r=Array(t.length+1),i=Array(t.length+1),o=n+.01;for(let e=0;e<=t.length;e++)r[e]=e;for(let a=1;a<=e.length;a++){let s=e.charCodeAt(a-1),u=Math.ceil(a>n?a-n:1),l=Math.floor(t.length>n+a?n+a:t.length);i[0]=a;let c=a;for(let e=1;en)return;let _=r;r=i,i=_}let a=r[t.length];return a>n?void 0:a}(e,t,i-.1);if(void 0===n)continue;nd.assert(n=0&&e.indexOf(t,n)===n}function tI(e,t){return tk(e,t)?e.slice(0,e.length-t.length):e}function tj(e,t){return tk(e,t)?e.slice(0,e.length-t.length):void 0}function tO(e,t){return -1!==e.indexOf(t)}function tP(e){let t=e.length;for(let n=t-1;n>0;n--){let r=e.charCodeAt(n);if(r>=48&&r<=57)do--n,r=e.charCodeAt(n);while(n>0&&r>=48&&r<=57)else if(n>4&&(110===r||78===r)){if(--n,105!==(r=e.charCodeAt(n))&&73!==r||(--n,109!==(r=e.charCodeAt(n))&&77!==r))break;--n,r=e.charCodeAt(n)}else break;if(45!==r&&46!==r)break;t=n}return t===e.length?e:e.slice(0,t)}function tF(e,t){for(let n=0;ne===t)}function tB(e){return e?to:ts}function tU(e){let{prefix:t,suffix:n}=e;return`${t}*${n}`}function tJ(e,t){return nd.assert(tq(e,t)),t.substring(e.prefix.length,t.length-e.suffix.length)}function t$(e,t,n){let r,i=-1;for(let o of e){let e=t(o);tq(e,n)&&e.prefix.length>i&&(i=e.prefix.length,r=o)}return r}function tK(e,t){return 0===e.lastIndexOf(t,0)}function tV(e,t){return tK(e,t)?e.substr(t.length):e}function tY(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:to;return tK(n(e),n(t))?e.substring(t.length):void 0}function tq(e,t){let{prefix:n,suffix:r}=e;return t.length>=n.length+r.length&&tK(t,n)&&tk(t,r)}function tW(e,t){return n=>e(n)&&t(n)}function tQ(){for(var e=arguments.length,t=Array(e),n=0;n2&&void 0!==arguments[2]?arguments[2]:" ";return t<=e.length?e:n.repeat(t-e.length)+e}function t2(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:" ";return t<=e.length?e:e+n.repeat(t-e.length)}function t3(e,t){if(e){let n=e.length,r=0;for(;r=0&&iG(e.charCodeAt(t));)t--;return e.slice(0,t+1)}function t5(){return"u">typeof n&&n.nextTick&&!n.browser&&"object"==typeof t}var t8,t7,t9,ne,nt,nn,nr,ni,no,na,ns,nu,nl,nc,n_,np,nd,nf=c({"src/compiler/core.ts"(){var e,t;wA(),t8=[],t7=new Map,t9=new Set,(e=ne||{})[e.None=0]="None",e[e.CaseSensitive=1]="CaseSensitive",e[e.CaseInsensitive=2]="CaseInsensitive",e[e.Both=3]="Both",ne=e,nt=Array.prototype.at?(e,t)=>null==e?void 0:e.at(t):(e,t)=>{if(e&&(t=ed(e,t)){let e,t,n="object"==typeof Intl&&"function"==typeof Intl.Collator?function(e){let t=new Intl.Collator(e,{usage:"sort",sensitivity:"variant"}).compare;return(e,n)=>r(e,n,t)}:"function"==typeof String.prototype.localeCompare&&"function"==typeof String.prototype.toLocaleUpperCase&&0>"a".localeCompare("B")?function(e){if(void 0!==e)return i();return(e,n)=>r(e,n,t);function t(e,t){return e.localeCompare(t)}}:i;return function(r){return void 0===r?e||(e=n(r)):"en-US"===r?t||(t=n(r)):n(r)};function r(e,t,n){if(e===t)return 0;if(void 0===e)return -1;if(void 0===t)return 1;let r=n(e,t);return r<0?-1:r>0?1:0}function i(){return(t,n)=>r(t,n,e);function e(e,t){var n,r;return((n=e.toUpperCase())<(r=t.toUpperCase())?-1:n>r?1:0)||(et?1:0)}}})(),nl=String.prototype.trim?e=>e.trim():e=>nc(n_(e)),nc=String.prototype.trimEnd?e=>e.trimEnd():t6,n_=String.prototype.trimStart?e=>e.trimStart():e=>e.replace(/^\s+/g,"")}}),nm=c({"src/compiler/debug.ts"(){var e;wA(),wA(),(e=np||{})[e.Off=0]="Off",e[e.Error=1]="Error",e[e.Warning=2]="Warning",e[e.Info=3]="Info",e[e.Verbose=4]="Verbose",np=e,(e=>{var t;let n,r=0;function i(t){return e.currentLogLevel<=t}function o(t,n){e.loggingHost&&i(t)&&e.loggingHost.log(t,n)}function a(e){o(3,e)}e.currentLogLevel=2,e.isDebugging=!1,e.shouldLog=i,e.log=a,(t=a=e.log||(e.log={})).error=function(e){o(1,e)},t.warn=function(e){o(2,e)},t.log=function(e){o(3,e)},t.trace=function(e){o(4,e)};let s={};function u(t,n){return r>=t||(s[n]={level:t,assertion:e[n]},e[n]=tt,!1)}function l(e,t){let n=Error(e?`Debug Failure. ${e}`:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(n,t||l),n}function c(e,t,n,r){e||(t=t?`False expression: ${t}`:"False expression.",n&&(t+=`\r +Verbose Debug Information: `+("string"==typeof n?n:n())),l(t,r||c))}function _(e,t,n){null==e&&l(t,n||_)}function p(e,t,n){for(let r of e)_(r,t,n||p)}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Illegal value:",n=arguments.length>2?arguments[2]:void 0;return l(`${t} ${"object"==typeof e&&eP(e,"kind")&&eP(e,"pos")?"SyntaxKind: "+y(e.kind):JSON.stringify(e)}`,n||d)}function f(e){if("function"!=typeof e)return"";if(eP(e,"name"))return e.name;{let t=Function.prototype.toString.call(e),n=/^function\s+([\w\$]+)\s*\(/.exec(t);return n?n[1]:""}}function m(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=function(e){let t=h.get(e);if(t)return t;let n=[];for(let t in e){let r=e[t];"number"==typeof r&&n.push([r,t])}let r=ev(n,(e,t)=>tg(e[0],t[0]));return h.set(e,r),r}(t);if(0===e)return r.length>0&&0===r[0][0]?r[0][1]:"0";if(n){let t=[],n=e;for(let[i,o]of r){if(i>e)break;0!==i&&i&e&&(t.push(o),n&=~i)}if(0===n)return t.join("|")}else for(let[t,n]of r)if(t===e)return n;return e.toString()}e.getAssertionLevel=function(){return r},e.setAssertionLevel=function(t){let n=r;if(r=t,t>n)for(let n of eL(s)){let r=s[n];void 0!==r&&e[n]!==r.assertion&&t>=r.level&&(e[n]=r,s[n]=void 0)}},e.shouldAssert=function(e){return r>=e},e.fail=l,e.failBadSyntaxKind=function e(t,n,r){return l(`${n||"Unexpected node."}\r +Node ${y(t.kind)} was unexpected.`,r||e)},e.assert=c,e.assertEqual=function e(t,n,r,i,o){t!==n&&l(`Expected ${t} === ${n}. ${r?i?`${r} ${i}`:r:""}`,o||e)},e.assertLessThan=function e(t,n,r,i){t>=n&&l(`Expected ${t} < ${n}. ${r||""}`,i||e)},e.assertLessThanOrEqual=function e(t,n,r){t>n&&l(`Expected ${t} <= ${n}`,r||e)},e.assertGreaterThanOrEqual=function e(t,n,r){t= ${n}`,r||e)},e.assertIsDefined=_,e.checkDefined=function e(t,n,r){return _(t,n,r||e),t},e.assertEachIsDefined=p,e.checkEachDefined=function e(t,n,r){return p(t,n,r||e),t},e.assertNever=d,e.assertEachNode=function e(t,n,r,i){u(1,"assertEachNode")&&c(void 0===n||x(t,n),r||"Unexpected node.",()=>`Node array did not pass test '${f(n)}'.`,i||e)},e.assertNode=function e(t,n,r,i){u(1,"assertNode")&&c(void 0!==t&&(void 0===n||n(t)),r||"Unexpected node.",()=>`Node ${y(null==t?void 0:t.kind)} did not pass test '${f(n)}'.`,i||e)},e.assertNotNode=function e(t,n,r,i){u(1,"assertNotNode")&&c(void 0===t||void 0===n||!n(t),r||"Unexpected node.",()=>`Node ${y(t.kind)} should not have passed test '${f(n)}'.`,i||e)},e.assertOptionalNode=function e(t,n,r,i){u(1,"assertOptionalNode")&&c(void 0===n||void 0===t||n(t),r||"Unexpected node.",()=>`Node ${y(null==t?void 0:t.kind)} did not pass test '${f(n)}'.`,i||e)},e.assertOptionalToken=function e(t,n,r,i){u(1,"assertOptionalToken")&&c(void 0===n||void 0===t||t.kind===n,r||"Unexpected node.",()=>`Node ${y(null==t?void 0:t.kind)} was not a '${y(n)}' token.`,i||e)},e.assertMissingNode=function e(t,n,r){u(1,"assertMissingNode")&&c(void 0===t,n||"Unexpected node.",()=>`Node ${y(t.kind)} was unexpected'.`,r||e)},e.type=function(e){},e.getFunctionName=f,e.formatSymbol=function(e){return`{ name: ${ai(e.escapedName)}; flags: ${T(e.flags)}; declarations: ${O(e.declarations,e=>y(e.kind))} }`},e.formatEnum=m;let h=new Map;function y(e){return m(e,nj,!1)}function g(e){return m(e,nO,!0)}function v(e){return m(e,nP,!0)}function D(e){return m(e,rN,!0)}function S(e){return m(e,rk,!0)}function T(e){return m(e,n4,!0)}function E(e){return m(e,n9,!0)}function w(e){return m(e,ra,!0)}function A(e){return m(e,re,!0)}function C(e){return m(e,nB,!0)}e.formatSyntaxKind=y,e.formatSnippetKind=function(e){return m(e,rM,!1)},e.formatNodeFlags=g,e.formatModifierFlags=v,e.formatTransformFlags=D,e.formatEmitFlags=S,e.formatSymbolFlags=T,e.formatTypeFlags=E,e.formatSignatureFlags=w,e.formatObjectFlags=A,e.formatFlowFlags=C,e.formatRelationComparisonResult=function(e){return m(e,nL,!0)},e.formatCheckMode=function(e){return m(e,CheckMode,!0)},e.formatSignatureCheckMode=function(e){return m(e,SignatureCheckMode,!0)},e.formatTypeFacts=function(e){return m(e,TypeFacts,!0)};let N=!1,M;function k(e){"__debugFlowFlags"in e||Object.defineProperties(e,{__tsDebuggerDisplay:{value(){let e=2&this.flags?"FlowStart":4&this.flags?"FlowBranchLabel":8&this.flags?"FlowLoopLabel":16&this.flags?"FlowAssignment":32&this.flags?"FlowTrueCondition":64&this.flags?"FlowFalseCondition":128&this.flags?"FlowSwitchClause":256&this.flags?"FlowArrayMutation":512&this.flags?"FlowCall":1024&this.flags?"FlowReduceLabel":1&this.flags?"FlowUnreachable":"UnknownFlow",t=-2048&this.flags;return`${e}${t?` (${C(t)})`:""}`}},__debugFlowFlags:{get(){return m(this.flags,nB,!0)}},__debugToString:{value(){return P(this)}}})}function I(e){"__tsDebuggerDisplay"in e||Object.defineProperties(e,{__tsDebuggerDisplay:{value:e=>`NodeArray ${e=String(e).replace(/(?:,[\s\w\d_]+:[^,]+)+\]$/,"]")}`}})}e.attachFlowNodeDebugInfo=function(e){N&&("function"==typeof Object.setPrototypeOf?(M||k(M=Object.create(Object.prototype)),Object.setPrototypeOf(e,M)):k(e))},e.attachNodeArrayDebugInfo=function(e){N&&("function"==typeof Object.setPrototypeOf?(n||I(n=Object.create(Array.prototype)),Object.setPrototypeOf(e,n)):I(e))},e.enableDebugInfo=function(){if(N)return;let e=new WeakMap,t=new WeakMap;for(let n of(Object.defineProperties(by.getSymbolConstructor().prototype,{__tsDebuggerDisplay:{value(){let e=33554432&this.flags?"TransientSymbol":"Symbol",t=-33554433&this.flags;return`${e} '${as(this)}'${t?` (${T(t)})`:""}`}},__debugFlags:{get(){return T(this.flags)}}}),Object.defineProperties(by.getTypeConstructor().prototype,{__tsDebuggerDisplay:{value(){let e=98304&this.flags?"NullableType":384&this.flags?`LiteralType ${JSON.stringify(this.value)}`:2048&this.flags?`LiteralType ${this.value.negative?"-":""}${this.value.base10Value}n`:8192&this.flags?"UniqueESSymbolType":32&this.flags?"EnumType":67359327&this.flags?`IntrinsicType ${this.intrinsicName}`:1048576&this.flags?"UnionType":2097152&this.flags?"IntersectionType":4194304&this.flags?"IndexType":8388608&this.flags?"IndexedAccessType":16777216&this.flags?"ConditionalType":33554432&this.flags?"SubstitutionType":262144&this.flags?"TypeParameter":524288&this.flags?3&this.objectFlags?"InterfaceType":4&this.objectFlags?"TypeReference":8&this.objectFlags?"TupleType":16&this.objectFlags?"AnonymousType":32&this.objectFlags?"MappedType":1024&this.objectFlags?"ReverseMappedType":256&this.objectFlags?"EvolvingArrayType":"ObjectType":"Type",t=524288&this.flags?-1344&this.objectFlags:0;return`${e}${this.symbol?` '${as(this.symbol)}'`:""}${t?` (${A(t)})`:""}`}},__debugFlags:{get(){return E(this.flags)}},__debugObjectFlags:{get(){return 524288&this.flags?A(this.objectFlags):""}},__debugTypeToString:{value(){let t=e.get(this);return void 0===t&&(t=this.checker.typeToString(this),e.set(this,t)),t}}}),Object.defineProperties(by.getSignatureConstructor().prototype,{__debugFlags:{get(){return w(this.flags)}},__debugSignatureToString:{value(){var e;return null==(e=this.checker)?void 0:e.signatureToString(this)}}}),[by.getNodeConstructor(),by.getIdentifierConstructor(),by.getTokenConstructor(),by.getSourceFileConstructor()]))eP(n.prototype,"__debugKind")||Object.defineProperties(n.prototype,{__tsDebuggerDisplay:{value(){return`${sw(this)?"GeneratedIdentifier":vk(this)?`Identifier '${ao(this)}'`:vI(this)?`PrivateIdentifier '${ao(this)}'`:vf(this)?`StringLiteral ${JSON.stringify(this.text.length<10?this.text:this.text.slice(10)+"...")}`:vp(this)?`NumericLiteral ${this.text}`:vd(this)?`BigIntLiteral ${this.text}n`:vW(this)?"TypeParameterDeclaration":vQ(this)?"ParameterDeclaration":v2(this)?"ConstructorDeclaration":v3(this)?"GetAccessorDeclaration":v4(this)?"SetAccessorDeclaration":v6(this)?"CallSignatureDeclaration":v5(this)?"ConstructSignatureDeclaration":v8(this)?"IndexSignatureDeclaration":v7(this)?"TypePredicateNode":v9(this)?"TypeReferenceNode":xe(this)?"FunctionTypeNode":xt(this)?"ConstructorTypeNode":xn(this)?"TypeQueryNode":xr(this)?"TypeLiteralNode":xi(this)?"ArrayTypeNode":xo(this)?"TupleTypeNode":xs(this)?"OptionalTypeNode":xu(this)?"RestTypeNode":xl(this)?"UnionTypeNode":xc(this)?"IntersectionTypeNode":x_(this)?"ConditionalTypeNode":xp(this)?"InferTypeNode":xd(this)?"ParenthesizedTypeNode":xf(this)?"ThisTypeNode":xm(this)?"TypeOperatorNode":xh(this)?"IndexedAccessTypeNode":xy(this)?"MappedTypeNode":xg(this)?"LiteralTypeNode":xa(this)?"NamedTupleMember":xb(this)?"ImportTypeNode":y(this.kind)}${this.flags?` (${g(this.flags)})`:""}`}},__debugKind:{get(){return y(this.kind)}},__debugNodeFlags:{get(){return g(this.flags)}},__debugModifierFlags:{get(){return v(mp(this))}},__debugTransformFlags:{get(){return D(this.transformFlags)}},__debugIsParseTreeNode:{get(){return at(this)}},__debugEmitFlags:{get(){return S(l2(this))}},__debugGetText:{value(e){if(d1(this))return"";let n=t.get(this);if(void 0===n){let r=an(this),i=r&&lw(r);n=i?lH(i,r,e):"",t.set(this,n)}return n}}});N=!0},e.formatVariance=function(e){let t=7&e,n=0===t?"in out":3===t?"[bivariant]":2===t?"in":1===t?"out":4===t?"[independent]":"";return 8&e?n+=" (unmeasurable)":16&e&&(n+=" (unreliable)"),n};class j{__debugToString(){var e;switch(this.kind){case 3:return(null==(e=this.debugInfo)?void 0:e.call(this))||"(function mapper)";case 0:return`${this.source.__debugTypeToString()} -> ${this.target.__debugTypeToString()}`;case 1:return b(this.sources,this.targets||O(this.sources,()=>"any"),(e,t)=>`${e.__debugTypeToString()} -> ${"string"==typeof t?t:t.__debugTypeToString()}`).join(", ");case 2:return b(this.sources,this.targets,(e,t)=>`${e.__debugTypeToString()} -> ${t().__debugTypeToString()}`).join(", ");case 5:case 4:return`m1: ${this.mapper1.__debugToString().split(` +`).join(` + `)} +m2: ${this.mapper2.__debugToString().split(` +`).join(` + `)}`;default:return d(this)}}}function P(e){var t,n;let r,i,o=-1;function a(e){return e.id||(e.id=o,o--),e.id}(t=r||(r={})).lr="─",t.ud="│",t.dr="╭",t.dl="╮",t.ul="╯",t.ur="╰",t.udr="├",t.udl="┤",t.dlr="┬",t.ulr="┴",t.udlr="╫",(n=i||(i={}))[n.None=0]="None",n[n.Up=1]="Up",n[n.Down=2]="Down",n[n.Left=4]="Left",n[n.Right=8]="Right",n[n.UpDown=3]="UpDown",n[n.LeftRight=12]="LeftRight",n[n.UpLeft=5]="UpLeft",n[n.UpRight=9]="UpRight",n[n.DownLeft=6]="DownLeft",n[n.DownRight=10]="DownRight",n[n.UpDownLeft=7]="UpDownLeft",n[n.UpDownRight=11]="UpDownRight",n[n.UpLeftRight=13]="UpLeftRight",n[n.DownLeftRight=14]="DownLeftRight",n[n.UpDownLeftRight=15]="UpDownLeftRight",n[n.NoChildren=16]="NoChildren";let s=Object.create(null),u=[],l=[],c=f(e,new Set);for(let e of u)e.text=function(e,t){let n=function(e){if(2&e)return"Start";if(4&e)return"Branch";if(8&e)return"Loop";if(16&e)return"Assignment";if(32&e)return"True";if(64&e)return"False";if(128&e)return"SwitchClause";if(256&e)return"ArrayMutation";if(512&e)return"Call";if(1024&e)return"ReduceLabel";if(1&e)return"Unreachable";throw Error()}(e.flags);if(t&&(n=`${n}#${a(e)}`),882&e.flags)e.node&&(n+=` (${h(e.node)})`);else if(128&e.flags){let t=[];for(let n=e.clauseStart;n0&&n++;let o=r[i];e(o,n),o.endLane>t.endLane&&(n=o.endLane)}t.endLane=n}}(c,0),function(){let e=_.length,t=u.reduce((e,t)=>Math.max(e,t.lane),0)+1,n=y(Array(t),""),r=_.map(()=>Array(t)),i=_.map(()=>y(Array(t),0));for(let e of u){r[e.level][e.lane]=e;let t=p(e);for(let n=0;n0&&(o|=1),n0&&(o|=1),t0?i[n-1][e]:0,r=e>0?i[n][e-1]:0,o=i[n][e];o||(8&t&&(o|=12),2&r&&(o|=3),i[n][e]=o)}for(let t=0;t0?e.repeat(t):"";let n="";for(;n.length{},ny=()=>{},ng=()=>{},nb=Date.now,nv=()=>{},nx=new Proxy(()=>{},{get:()=>nx});function nD(e){var t;if(nT){let n=null!=(t=nA.get(e))?t:0;nA.set(e,n+1),nw.set(e,nb()),null==nS||nS.mark(e),"function"==typeof onProfilerEvent&&onProfilerEvent(e)}}c({"src/compiler/performance.ts"(){wA(),nT=!1,nE=nb(),nw=new Map,nA=new Map,nC=new Map}});var nS,nT,nE,nw,nA,nC,nN,nM=()=>{},nk=()=>{};function nI(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=rd[e.category];return t?n.toLowerCase():n}var nj,nO,nP,nF,nL,nz,nR,nB,nU,nJ,n$,nK,nV,nY,nq,nW,nQ,nH,nG,nZ,nX,n0,n1,n2,n3,n4,n6,n5,n8,n7,n9,re,rt,rn,rr,ri,ro,ra,rs,ru,rl,rc,r_,rp,rd,rf,rm,rh,ry,rg,rb,rv,rx,rD,rS,rT,rE,rw,rA,rC,rN,rM,rk,rI,rj,rO,rP,rF,rL,rz,rR,rB,rU,rJ=c({"src/compiler/types.ts"(){var e,t,n,r,i,o,a,s,u,l,c,_,p,d,f,m,h,y,g,b,v,x,D,S,T,E,w,A,C,N,M,k,I,j,O,P,F,L,z,R,B,U,J,$,K,V,Y,q,W,Q,H,G,Z,X,ee,et,en,er,ei,eo,ea,es,eu,el,ec,e_,ep,ed,ef,em;(e=nj||{})[e.Unknown=0]="Unknown",e[e.EndOfFileToken=1]="EndOfFileToken",e[e.SingleLineCommentTrivia=2]="SingleLineCommentTrivia",e[e.MultiLineCommentTrivia=3]="MultiLineCommentTrivia",e[e.NewLineTrivia=4]="NewLineTrivia",e[e.WhitespaceTrivia=5]="WhitespaceTrivia",e[e.ShebangTrivia=6]="ShebangTrivia",e[e.ConflictMarkerTrivia=7]="ConflictMarkerTrivia",e[e.NumericLiteral=8]="NumericLiteral",e[e.BigIntLiteral=9]="BigIntLiteral",e[e.StringLiteral=10]="StringLiteral",e[e.JsxText=11]="JsxText",e[e.JsxTextAllWhiteSpaces=12]="JsxTextAllWhiteSpaces",e[e.RegularExpressionLiteral=13]="RegularExpressionLiteral",e[e.NoSubstitutionTemplateLiteral=14]="NoSubstitutionTemplateLiteral",e[e.TemplateHead=15]="TemplateHead",e[e.TemplateMiddle=16]="TemplateMiddle",e[e.TemplateTail=17]="TemplateTail",e[e.OpenBraceToken=18]="OpenBraceToken",e[e.CloseBraceToken=19]="CloseBraceToken",e[e.OpenParenToken=20]="OpenParenToken",e[e.CloseParenToken=21]="CloseParenToken",e[e.OpenBracketToken=22]="OpenBracketToken",e[e.CloseBracketToken=23]="CloseBracketToken",e[e.DotToken=24]="DotToken",e[e.DotDotDotToken=25]="DotDotDotToken",e[e.SemicolonToken=26]="SemicolonToken",e[e.CommaToken=27]="CommaToken",e[e.QuestionDotToken=28]="QuestionDotToken",e[e.LessThanToken=29]="LessThanToken",e[e.LessThanSlashToken=30]="LessThanSlashToken",e[e.GreaterThanToken=31]="GreaterThanToken",e[e.LessThanEqualsToken=32]="LessThanEqualsToken",e[e.GreaterThanEqualsToken=33]="GreaterThanEqualsToken",e[e.EqualsEqualsToken=34]="EqualsEqualsToken",e[e.ExclamationEqualsToken=35]="ExclamationEqualsToken",e[e.EqualsEqualsEqualsToken=36]="EqualsEqualsEqualsToken",e[e.ExclamationEqualsEqualsToken=37]="ExclamationEqualsEqualsToken",e[e.EqualsGreaterThanToken=38]="EqualsGreaterThanToken",e[e.PlusToken=39]="PlusToken",e[e.MinusToken=40]="MinusToken",e[e.AsteriskToken=41]="AsteriskToken",e[e.AsteriskAsteriskToken=42]="AsteriskAsteriskToken",e[e.SlashToken=43]="SlashToken",e[e.PercentToken=44]="PercentToken",e[e.PlusPlusToken=45]="PlusPlusToken",e[e.MinusMinusToken=46]="MinusMinusToken",e[e.LessThanLessThanToken=47]="LessThanLessThanToken",e[e.GreaterThanGreaterThanToken=48]="GreaterThanGreaterThanToken",e[e.GreaterThanGreaterThanGreaterThanToken=49]="GreaterThanGreaterThanGreaterThanToken",e[e.AmpersandToken=50]="AmpersandToken",e[e.BarToken=51]="BarToken",e[e.CaretToken=52]="CaretToken",e[e.ExclamationToken=53]="ExclamationToken",e[e.TildeToken=54]="TildeToken",e[e.AmpersandAmpersandToken=55]="AmpersandAmpersandToken",e[e.BarBarToken=56]="BarBarToken",e[e.QuestionToken=57]="QuestionToken",e[e.ColonToken=58]="ColonToken",e[e.AtToken=59]="AtToken",e[e.QuestionQuestionToken=60]="QuestionQuestionToken",e[e.BacktickToken=61]="BacktickToken",e[e.HashToken=62]="HashToken",e[e.EqualsToken=63]="EqualsToken",e[e.PlusEqualsToken=64]="PlusEqualsToken",e[e.MinusEqualsToken=65]="MinusEqualsToken",e[e.AsteriskEqualsToken=66]="AsteriskEqualsToken",e[e.AsteriskAsteriskEqualsToken=67]="AsteriskAsteriskEqualsToken",e[e.SlashEqualsToken=68]="SlashEqualsToken",e[e.PercentEqualsToken=69]="PercentEqualsToken",e[e.LessThanLessThanEqualsToken=70]="LessThanLessThanEqualsToken",e[e.GreaterThanGreaterThanEqualsToken=71]="GreaterThanGreaterThanEqualsToken",e[e.GreaterThanGreaterThanGreaterThanEqualsToken=72]="GreaterThanGreaterThanGreaterThanEqualsToken",e[e.AmpersandEqualsToken=73]="AmpersandEqualsToken",e[e.BarEqualsToken=74]="BarEqualsToken",e[e.BarBarEqualsToken=75]="BarBarEqualsToken",e[e.AmpersandAmpersandEqualsToken=76]="AmpersandAmpersandEqualsToken",e[e.QuestionQuestionEqualsToken=77]="QuestionQuestionEqualsToken",e[e.CaretEqualsToken=78]="CaretEqualsToken",e[e.Identifier=79]="Identifier",e[e.PrivateIdentifier=80]="PrivateIdentifier",e[e.BreakKeyword=81]="BreakKeyword",e[e.CaseKeyword=82]="CaseKeyword",e[e.CatchKeyword=83]="CatchKeyword",e[e.ClassKeyword=84]="ClassKeyword",e[e.ConstKeyword=85]="ConstKeyword",e[e.ContinueKeyword=86]="ContinueKeyword",e[e.DebuggerKeyword=87]="DebuggerKeyword",e[e.DefaultKeyword=88]="DefaultKeyword",e[e.DeleteKeyword=89]="DeleteKeyword",e[e.DoKeyword=90]="DoKeyword",e[e.ElseKeyword=91]="ElseKeyword",e[e.EnumKeyword=92]="EnumKeyword",e[e.ExportKeyword=93]="ExportKeyword",e[e.ExtendsKeyword=94]="ExtendsKeyword",e[e.FalseKeyword=95]="FalseKeyword",e[e.FinallyKeyword=96]="FinallyKeyword",e[e.ForKeyword=97]="ForKeyword",e[e.FunctionKeyword=98]="FunctionKeyword",e[e.IfKeyword=99]="IfKeyword",e[e.ImportKeyword=100]="ImportKeyword",e[e.InKeyword=101]="InKeyword",e[e.InstanceOfKeyword=102]="InstanceOfKeyword",e[e.NewKeyword=103]="NewKeyword",e[e.NullKeyword=104]="NullKeyword",e[e.ReturnKeyword=105]="ReturnKeyword",e[e.SuperKeyword=106]="SuperKeyword",e[e.SwitchKeyword=107]="SwitchKeyword",e[e.ThisKeyword=108]="ThisKeyword",e[e.ThrowKeyword=109]="ThrowKeyword",e[e.TrueKeyword=110]="TrueKeyword",e[e.TryKeyword=111]="TryKeyword",e[e.TypeOfKeyword=112]="TypeOfKeyword",e[e.VarKeyword=113]="VarKeyword",e[e.VoidKeyword=114]="VoidKeyword",e[e.WhileKeyword=115]="WhileKeyword",e[e.WithKeyword=116]="WithKeyword",e[e.ImplementsKeyword=117]="ImplementsKeyword",e[e.InterfaceKeyword=118]="InterfaceKeyword",e[e.LetKeyword=119]="LetKeyword",e[e.PackageKeyword=120]="PackageKeyword",e[e.PrivateKeyword=121]="PrivateKeyword",e[e.ProtectedKeyword=122]="ProtectedKeyword",e[e.PublicKeyword=123]="PublicKeyword",e[e.StaticKeyword=124]="StaticKeyword",e[e.YieldKeyword=125]="YieldKeyword",e[e.AbstractKeyword=126]="AbstractKeyword",e[e.AccessorKeyword=127]="AccessorKeyword",e[e.AsKeyword=128]="AsKeyword",e[e.AssertsKeyword=129]="AssertsKeyword",e[e.AssertKeyword=130]="AssertKeyword",e[e.AnyKeyword=131]="AnyKeyword",e[e.AsyncKeyword=132]="AsyncKeyword",e[e.AwaitKeyword=133]="AwaitKeyword",e[e.BooleanKeyword=134]="BooleanKeyword",e[e.ConstructorKeyword=135]="ConstructorKeyword",e[e.DeclareKeyword=136]="DeclareKeyword",e[e.GetKeyword=137]="GetKeyword",e[e.InferKeyword=138]="InferKeyword",e[e.IntrinsicKeyword=139]="IntrinsicKeyword",e[e.IsKeyword=140]="IsKeyword",e[e.KeyOfKeyword=141]="KeyOfKeyword",e[e.ModuleKeyword=142]="ModuleKeyword",e[e.NamespaceKeyword=143]="NamespaceKeyword",e[e.NeverKeyword=144]="NeverKeyword",e[e.OutKeyword=145]="OutKeyword",e[e.ReadonlyKeyword=146]="ReadonlyKeyword",e[e.RequireKeyword=147]="RequireKeyword",e[e.NumberKeyword=148]="NumberKeyword",e[e.ObjectKeyword=149]="ObjectKeyword",e[e.SatisfiesKeyword=150]="SatisfiesKeyword",e[e.SetKeyword=151]="SetKeyword",e[e.StringKeyword=152]="StringKeyword",e[e.SymbolKeyword=153]="SymbolKeyword",e[e.TypeKeyword=154]="TypeKeyword",e[e.UndefinedKeyword=155]="UndefinedKeyword",e[e.UniqueKeyword=156]="UniqueKeyword",e[e.UnknownKeyword=157]="UnknownKeyword",e[e.FromKeyword=158]="FromKeyword",e[e.GlobalKeyword=159]="GlobalKeyword",e[e.BigIntKeyword=160]="BigIntKeyword",e[e.OverrideKeyword=161]="OverrideKeyword",e[e.OfKeyword=162]="OfKeyword",e[e.QualifiedName=163]="QualifiedName",e[e.ComputedPropertyName=164]="ComputedPropertyName",e[e.TypeParameter=165]="TypeParameter",e[e.Parameter=166]="Parameter",e[e.Decorator=167]="Decorator",e[e.PropertySignature=168]="PropertySignature",e[e.PropertyDeclaration=169]="PropertyDeclaration",e[e.MethodSignature=170]="MethodSignature",e[e.MethodDeclaration=171]="MethodDeclaration",e[e.ClassStaticBlockDeclaration=172]="ClassStaticBlockDeclaration",e[e.Constructor=173]="Constructor",e[e.GetAccessor=174]="GetAccessor",e[e.SetAccessor=175]="SetAccessor",e[e.CallSignature=176]="CallSignature",e[e.ConstructSignature=177]="ConstructSignature",e[e.IndexSignature=178]="IndexSignature",e[e.TypePredicate=179]="TypePredicate",e[e.TypeReference=180]="TypeReference",e[e.FunctionType=181]="FunctionType",e[e.ConstructorType=182]="ConstructorType",e[e.TypeQuery=183]="TypeQuery",e[e.TypeLiteral=184]="TypeLiteral",e[e.ArrayType=185]="ArrayType",e[e.TupleType=186]="TupleType",e[e.OptionalType=187]="OptionalType",e[e.RestType=188]="RestType",e[e.UnionType=189]="UnionType",e[e.IntersectionType=190]="IntersectionType",e[e.ConditionalType=191]="ConditionalType",e[e.InferType=192]="InferType",e[e.ParenthesizedType=193]="ParenthesizedType",e[e.ThisType=194]="ThisType",e[e.TypeOperator=195]="TypeOperator",e[e.IndexedAccessType=196]="IndexedAccessType",e[e.MappedType=197]="MappedType",e[e.LiteralType=198]="LiteralType",e[e.NamedTupleMember=199]="NamedTupleMember",e[e.TemplateLiteralType=200]="TemplateLiteralType",e[e.TemplateLiteralTypeSpan=201]="TemplateLiteralTypeSpan",e[e.ImportType=202]="ImportType",e[e.ObjectBindingPattern=203]="ObjectBindingPattern",e[e.ArrayBindingPattern=204]="ArrayBindingPattern",e[e.BindingElement=205]="BindingElement",e[e.ArrayLiteralExpression=206]="ArrayLiteralExpression",e[e.ObjectLiteralExpression=207]="ObjectLiteralExpression",e[e.PropertyAccessExpression=208]="PropertyAccessExpression",e[e.ElementAccessExpression=209]="ElementAccessExpression",e[e.CallExpression=210]="CallExpression",e[e.NewExpression=211]="NewExpression",e[e.TaggedTemplateExpression=212]="TaggedTemplateExpression",e[e.TypeAssertionExpression=213]="TypeAssertionExpression",e[e.ParenthesizedExpression=214]="ParenthesizedExpression",e[e.FunctionExpression=215]="FunctionExpression",e[e.ArrowFunction=216]="ArrowFunction",e[e.DeleteExpression=217]="DeleteExpression",e[e.TypeOfExpression=218]="TypeOfExpression",e[e.VoidExpression=219]="VoidExpression",e[e.AwaitExpression=220]="AwaitExpression",e[e.PrefixUnaryExpression=221]="PrefixUnaryExpression",e[e.PostfixUnaryExpression=222]="PostfixUnaryExpression",e[e.BinaryExpression=223]="BinaryExpression",e[e.ConditionalExpression=224]="ConditionalExpression",e[e.TemplateExpression=225]="TemplateExpression",e[e.YieldExpression=226]="YieldExpression",e[e.SpreadElement=227]="SpreadElement",e[e.ClassExpression=228]="ClassExpression",e[e.OmittedExpression=229]="OmittedExpression",e[e.ExpressionWithTypeArguments=230]="ExpressionWithTypeArguments",e[e.AsExpression=231]="AsExpression",e[e.NonNullExpression=232]="NonNullExpression",e[e.MetaProperty=233]="MetaProperty",e[e.SyntheticExpression=234]="SyntheticExpression",e[e.SatisfiesExpression=235]="SatisfiesExpression",e[e.TemplateSpan=236]="TemplateSpan",e[e.SemicolonClassElement=237]="SemicolonClassElement",e[e.Block=238]="Block",e[e.EmptyStatement=239]="EmptyStatement",e[e.VariableStatement=240]="VariableStatement",e[e.ExpressionStatement=241]="ExpressionStatement",e[e.IfStatement=242]="IfStatement",e[e.DoStatement=243]="DoStatement",e[e.WhileStatement=244]="WhileStatement",e[e.ForStatement=245]="ForStatement",e[e.ForInStatement=246]="ForInStatement",e[e.ForOfStatement=247]="ForOfStatement",e[e.ContinueStatement=248]="ContinueStatement",e[e.BreakStatement=249]="BreakStatement",e[e.ReturnStatement=250]="ReturnStatement",e[e.WithStatement=251]="WithStatement",e[e.SwitchStatement=252]="SwitchStatement",e[e.LabeledStatement=253]="LabeledStatement",e[e.ThrowStatement=254]="ThrowStatement",e[e.TryStatement=255]="TryStatement",e[e.DebuggerStatement=256]="DebuggerStatement",e[e.VariableDeclaration=257]="VariableDeclaration",e[e.VariableDeclarationList=258]="VariableDeclarationList",e[e.FunctionDeclaration=259]="FunctionDeclaration",e[e.ClassDeclaration=260]="ClassDeclaration",e[e.InterfaceDeclaration=261]="InterfaceDeclaration",e[e.TypeAliasDeclaration=262]="TypeAliasDeclaration",e[e.EnumDeclaration=263]="EnumDeclaration",e[e.ModuleDeclaration=264]="ModuleDeclaration",e[e.ModuleBlock=265]="ModuleBlock",e[e.CaseBlock=266]="CaseBlock",e[e.NamespaceExportDeclaration=267]="NamespaceExportDeclaration",e[e.ImportEqualsDeclaration=268]="ImportEqualsDeclaration",e[e.ImportDeclaration=269]="ImportDeclaration",e[e.ImportClause=270]="ImportClause",e[e.NamespaceImport=271]="NamespaceImport",e[e.NamedImports=272]="NamedImports",e[e.ImportSpecifier=273]="ImportSpecifier",e[e.ExportAssignment=274]="ExportAssignment",e[e.ExportDeclaration=275]="ExportDeclaration",e[e.NamedExports=276]="NamedExports",e[e.NamespaceExport=277]="NamespaceExport",e[e.ExportSpecifier=278]="ExportSpecifier",e[e.MissingDeclaration=279]="MissingDeclaration",e[e.ExternalModuleReference=280]="ExternalModuleReference",e[e.JsxElement=281]="JsxElement",e[e.JsxSelfClosingElement=282]="JsxSelfClosingElement",e[e.JsxOpeningElement=283]="JsxOpeningElement",e[e.JsxClosingElement=284]="JsxClosingElement",e[e.JsxFragment=285]="JsxFragment",e[e.JsxOpeningFragment=286]="JsxOpeningFragment",e[e.JsxClosingFragment=287]="JsxClosingFragment",e[e.JsxAttribute=288]="JsxAttribute",e[e.JsxAttributes=289]="JsxAttributes",e[e.JsxSpreadAttribute=290]="JsxSpreadAttribute",e[e.JsxExpression=291]="JsxExpression",e[e.CaseClause=292]="CaseClause",e[e.DefaultClause=293]="DefaultClause",e[e.HeritageClause=294]="HeritageClause",e[e.CatchClause=295]="CatchClause",e[e.AssertClause=296]="AssertClause",e[e.AssertEntry=297]="AssertEntry",e[e.ImportTypeAssertionContainer=298]="ImportTypeAssertionContainer",e[e.PropertyAssignment=299]="PropertyAssignment",e[e.ShorthandPropertyAssignment=300]="ShorthandPropertyAssignment",e[e.SpreadAssignment=301]="SpreadAssignment",e[e.EnumMember=302]="EnumMember",e[e.UnparsedPrologue=303]="UnparsedPrologue",e[e.UnparsedPrepend=304]="UnparsedPrepend",e[e.UnparsedText=305]="UnparsedText",e[e.UnparsedInternalText=306]="UnparsedInternalText",e[e.UnparsedSyntheticReference=307]="UnparsedSyntheticReference",e[e.SourceFile=308]="SourceFile",e[e.Bundle=309]="Bundle",e[e.UnparsedSource=310]="UnparsedSource",e[e.InputFiles=311]="InputFiles",e[e.JSDocTypeExpression=312]="JSDocTypeExpression",e[e.JSDocNameReference=313]="JSDocNameReference",e[e.JSDocMemberName=314]="JSDocMemberName",e[e.JSDocAllType=315]="JSDocAllType",e[e.JSDocUnknownType=316]="JSDocUnknownType",e[e.JSDocNullableType=317]="JSDocNullableType",e[e.JSDocNonNullableType=318]="JSDocNonNullableType",e[e.JSDocOptionalType=319]="JSDocOptionalType",e[e.JSDocFunctionType=320]="JSDocFunctionType",e[e.JSDocVariadicType=321]="JSDocVariadicType",e[e.JSDocNamepathType=322]="JSDocNamepathType",e[e.JSDoc=323]="JSDoc",e[e.JSDocComment=323]="JSDocComment",e[e.JSDocText=324]="JSDocText",e[e.JSDocTypeLiteral=325]="JSDocTypeLiteral",e[e.JSDocSignature=326]="JSDocSignature",e[e.JSDocLink=327]="JSDocLink",e[e.JSDocLinkCode=328]="JSDocLinkCode",e[e.JSDocLinkPlain=329]="JSDocLinkPlain",e[e.JSDocTag=330]="JSDocTag",e[e.JSDocAugmentsTag=331]="JSDocAugmentsTag",e[e.JSDocImplementsTag=332]="JSDocImplementsTag",e[e.JSDocAuthorTag=333]="JSDocAuthorTag",e[e.JSDocDeprecatedTag=334]="JSDocDeprecatedTag",e[e.JSDocClassTag=335]="JSDocClassTag",e[e.JSDocPublicTag=336]="JSDocPublicTag",e[e.JSDocPrivateTag=337]="JSDocPrivateTag",e[e.JSDocProtectedTag=338]="JSDocProtectedTag",e[e.JSDocReadonlyTag=339]="JSDocReadonlyTag",e[e.JSDocOverrideTag=340]="JSDocOverrideTag",e[e.JSDocCallbackTag=341]="JSDocCallbackTag",e[e.JSDocOverloadTag=342]="JSDocOverloadTag",e[e.JSDocEnumTag=343]="JSDocEnumTag",e[e.JSDocParameterTag=344]="JSDocParameterTag",e[e.JSDocReturnTag=345]="JSDocReturnTag",e[e.JSDocThisTag=346]="JSDocThisTag",e[e.JSDocTypeTag=347]="JSDocTypeTag",e[e.JSDocTemplateTag=348]="JSDocTemplateTag",e[e.JSDocTypedefTag=349]="JSDocTypedefTag",e[e.JSDocSeeTag=350]="JSDocSeeTag",e[e.JSDocPropertyTag=351]="JSDocPropertyTag",e[e.JSDocThrowsTag=352]="JSDocThrowsTag",e[e.JSDocSatisfiesTag=353]="JSDocSatisfiesTag",e[e.SyntaxList=354]="SyntaxList",e[e.NotEmittedStatement=355]="NotEmittedStatement",e[e.PartiallyEmittedExpression=356]="PartiallyEmittedExpression",e[e.CommaListExpression=357]="CommaListExpression",e[e.MergeDeclarationMarker=358]="MergeDeclarationMarker",e[e.EndOfDeclarationMarker=359]="EndOfDeclarationMarker",e[e.SyntheticReferenceExpression=360]="SyntheticReferenceExpression",e[e.Count=361]="Count",e[e.FirstAssignment=63]="FirstAssignment",e[e.LastAssignment=78]="LastAssignment",e[e.FirstCompoundAssignment=64]="FirstCompoundAssignment",e[e.LastCompoundAssignment=78]="LastCompoundAssignment",e[e.FirstReservedWord=81]="FirstReservedWord",e[e.LastReservedWord=116]="LastReservedWord",e[e.FirstKeyword=81]="FirstKeyword",e[e.LastKeyword=162]="LastKeyword",e[e.FirstFutureReservedWord=117]="FirstFutureReservedWord",e[e.LastFutureReservedWord=125]="LastFutureReservedWord",e[e.FirstTypeNode=179]="FirstTypeNode",e[e.LastTypeNode=202]="LastTypeNode",e[e.FirstPunctuation=18]="FirstPunctuation",e[e.LastPunctuation=78]="LastPunctuation",e[e.FirstToken=0]="FirstToken",e[e.LastToken=162]="LastToken",e[e.FirstTriviaToken=2]="FirstTriviaToken",e[e.LastTriviaToken=7]="LastTriviaToken",e[e.FirstLiteralToken=8]="FirstLiteralToken",e[e.LastLiteralToken=14]="LastLiteralToken",e[e.FirstTemplateToken=14]="FirstTemplateToken",e[e.LastTemplateToken=17]="LastTemplateToken",e[e.FirstBinaryOperator=29]="FirstBinaryOperator",e[e.LastBinaryOperator=78]="LastBinaryOperator",e[e.FirstStatement=240]="FirstStatement",e[e.LastStatement=256]="LastStatement",e[e.FirstNode=163]="FirstNode",e[e.FirstJSDocNode=312]="FirstJSDocNode",e[e.LastJSDocNode=353]="LastJSDocNode",e[e.FirstJSDocTagNode=330]="FirstJSDocTagNode",e[e.LastJSDocTagNode=353]="LastJSDocTagNode",e[e.FirstContextualKeyword=126]="FirstContextualKeyword",e[e.LastContextualKeyword=162]="LastContextualKeyword",nj=e,(t=nO||{})[t.None=0]="None",t[t.Let=1]="Let",t[t.Const=2]="Const",t[t.NestedNamespace=4]="NestedNamespace",t[t.Synthesized=8]="Synthesized",t[t.Namespace=16]="Namespace",t[t.OptionalChain=32]="OptionalChain",t[t.ExportContext=64]="ExportContext",t[t.ContainsThis=128]="ContainsThis",t[t.HasImplicitReturn=256]="HasImplicitReturn",t[t.HasExplicitReturn=512]="HasExplicitReturn",t[t.GlobalAugmentation=1024]="GlobalAugmentation",t[t.HasAsyncFunctions=2048]="HasAsyncFunctions",t[t.DisallowInContext=4096]="DisallowInContext",t[t.YieldContext=8192]="YieldContext",t[t.DecoratorContext=16384]="DecoratorContext",t[t.AwaitContext=32768]="AwaitContext",t[t.DisallowConditionalTypesContext=65536]="DisallowConditionalTypesContext",t[t.ThisNodeHasError=131072]="ThisNodeHasError",t[t.JavaScriptFile=262144]="JavaScriptFile",t[t.ThisNodeOrAnySubNodesHasError=524288]="ThisNodeOrAnySubNodesHasError",t[t.HasAggregatedChildData=1048576]="HasAggregatedChildData",t[t.PossiblyContainsDynamicImport=2097152]="PossiblyContainsDynamicImport",t[t.PossiblyContainsImportMeta=4194304]="PossiblyContainsImportMeta",t[t.JSDoc=8388608]="JSDoc",t[t.Ambient=16777216]="Ambient",t[t.InWithStatement=33554432]="InWithStatement",t[t.JsonFile=67108864]="JsonFile",t[t.TypeCached=134217728]="TypeCached",t[t.Deprecated=268435456]="Deprecated",t[t.BlockScoped=3]="BlockScoped",t[t.ReachabilityCheckFlags=768]="ReachabilityCheckFlags",t[t.ReachabilityAndEmitFlags=2816]="ReachabilityAndEmitFlags",t[t.ContextFlags=50720768]="ContextFlags",t[t.TypeExcludesFlags=40960]="TypeExcludesFlags",t[t.PermanentlySetIncrementalFlags=6291456]="PermanentlySetIncrementalFlags",t[t.IdentifierHasExtendedUnicodeEscape=128]="IdentifierHasExtendedUnicodeEscape",t[t.IdentifierIsInJSDocNamespace=2048]="IdentifierIsInJSDocNamespace",nO=t,(n=nP||{})[n.None=0]="None",n[n.Export=1]="Export",n[n.Ambient=2]="Ambient",n[n.Public=4]="Public",n[n.Private=8]="Private",n[n.Protected=16]="Protected",n[n.Static=32]="Static",n[n.Readonly=64]="Readonly",n[n.Accessor=128]="Accessor",n[n.Abstract=256]="Abstract",n[n.Async=512]="Async",n[n.Default=1024]="Default",n[n.Const=2048]="Const",n[n.HasComputedJSDocModifiers=4096]="HasComputedJSDocModifiers",n[n.Deprecated=8192]="Deprecated",n[n.Override=16384]="Override",n[n.In=32768]="In",n[n.Out=65536]="Out",n[n.Decorator=131072]="Decorator",n[n.HasComputedFlags=536870912]="HasComputedFlags",n[n.AccessibilityModifier=28]="AccessibilityModifier",n[n.ParameterPropertyModifier=16476]="ParameterPropertyModifier",n[n.NonPublicAccessibilityModifier=24]="NonPublicAccessibilityModifier",n[n.TypeScriptModifier=117086]="TypeScriptModifier",n[n.ExportDefault=1025]="ExportDefault",n[n.All=258047]="All",n[n.Modifier=126975]="Modifier",nP=n,(r=nF||{})[r.None=0]="None",r[r.IntrinsicNamedElement=1]="IntrinsicNamedElement",r[r.IntrinsicIndexedElement=2]="IntrinsicIndexedElement",r[r.IntrinsicElement=3]="IntrinsicElement",nF=r,(i=nL||{})[i.Succeeded=1]="Succeeded",i[i.Failed=2]="Failed",i[i.Reported=4]="Reported",i[i.ReportsUnmeasurable=8]="ReportsUnmeasurable",i[i.ReportsUnreliable=16]="ReportsUnreliable",i[i.ReportsMask=24]="ReportsMask",nL=i,(o=nz||{})[o.None=0]="None",o[o.Auto=1]="Auto",o[o.Loop=2]="Loop",o[o.Unique=3]="Unique",o[o.Node=4]="Node",o[o.KindMask=7]="KindMask",o[o.ReservedInNestedScopes=8]="ReservedInNestedScopes",o[o.Optimistic=16]="Optimistic",o[o.FileLevel=32]="FileLevel",o[o.AllowNameSubstitution=64]="AllowNameSubstitution",nz=o,(a=nR||{})[a.None=0]="None",a[a.PrecedingLineBreak=1]="PrecedingLineBreak",a[a.PrecedingJSDocComment=2]="PrecedingJSDocComment",a[a.Unterminated=4]="Unterminated",a[a.ExtendedUnicodeEscape=8]="ExtendedUnicodeEscape",a[a.Scientific=16]="Scientific",a[a.Octal=32]="Octal",a[a.HexSpecifier=64]="HexSpecifier",a[a.BinarySpecifier=128]="BinarySpecifier",a[a.OctalSpecifier=256]="OctalSpecifier",a[a.ContainsSeparator=512]="ContainsSeparator",a[a.UnicodeEscape=1024]="UnicodeEscape",a[a.ContainsInvalidEscape=2048]="ContainsInvalidEscape",a[a.BinaryOrOctalSpecifier=384]="BinaryOrOctalSpecifier",a[a.NumericLiteralFlags=1008]="NumericLiteralFlags",a[a.TemplateLiteralLikeFlags=2048]="TemplateLiteralLikeFlags",nR=a,(s=nB||{})[s.Unreachable=1]="Unreachable",s[s.Start=2]="Start",s[s.BranchLabel=4]="BranchLabel",s[s.LoopLabel=8]="LoopLabel",s[s.Assignment=16]="Assignment",s[s.TrueCondition=32]="TrueCondition",s[s.FalseCondition=64]="FalseCondition",s[s.SwitchClause=128]="SwitchClause",s[s.ArrayMutation=256]="ArrayMutation",s[s.Call=512]="Call",s[s.ReduceLabel=1024]="ReduceLabel",s[s.Referenced=2048]="Referenced",s[s.Shared=4096]="Shared",s[s.Label=12]="Label",s[s.Condition=96]="Condition",nB=s,(u=nU||{})[u.ExpectError=0]="ExpectError",u[u.Ignore=1]="Ignore",nU=u,nJ=class{},(l=n$||{})[l.RootFile=0]="RootFile",l[l.SourceFromProjectReference=1]="SourceFromProjectReference",l[l.OutputFromProjectReference=2]="OutputFromProjectReference",l[l.Import=3]="Import",l[l.ReferenceFile=4]="ReferenceFile",l[l.TypeReferenceDirective=5]="TypeReferenceDirective",l[l.LibFile=6]="LibFile",l[l.LibReferenceDirective=7]="LibReferenceDirective",l[l.AutomaticTypeDirectiveFile=8]="AutomaticTypeDirectiveFile",n$=l,(c=nK||{})[c.FilePreprocessingReferencedDiagnostic=0]="FilePreprocessingReferencedDiagnostic",c[c.FilePreprocessingFileExplainingDiagnostic=1]="FilePreprocessingFileExplainingDiagnostic",c[c.ResolutionDiagnostics=2]="ResolutionDiagnostics",nK=c,(_=nV||{})[_.Js=0]="Js",_[_.Dts=1]="Dts",nV=_,(p=nY||{})[p.Not=0]="Not",p[p.SafeModules=1]="SafeModules",p[p.Completely=2]="Completely",nY=p,(d=nq||{})[d.Success=0]="Success",d[d.DiagnosticsPresent_OutputsSkipped=1]="DiagnosticsPresent_OutputsSkipped",d[d.DiagnosticsPresent_OutputsGenerated=2]="DiagnosticsPresent_OutputsGenerated",d[d.InvalidProject_OutputsSkipped=3]="InvalidProject_OutputsSkipped",d[d.ProjectReferenceCycle_OutputsSkipped=4]="ProjectReferenceCycle_OutputsSkipped",nq=d,(f=nW||{})[f.Ok=0]="Ok",f[f.NeedsOverride=1]="NeedsOverride",f[f.HasInvalidOverride=2]="HasInvalidOverride",nW=f,(m=nQ||{})[m.None=0]="None",m[m.Literal=1]="Literal",m[m.Subtype=2]="Subtype",nQ=m,(h=nH||{})[h.None=0]="None",h[h.Signature=1]="Signature",h[h.NoConstraints=2]="NoConstraints",h[h.Completions=4]="Completions",h[h.SkipBindingPatterns=8]="SkipBindingPatterns",nH=h,(y=nG||{})[y.None=0]="None",y[y.NoTruncation=1]="NoTruncation",y[y.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",y[y.GenerateNamesForShadowedTypeParams=4]="GenerateNamesForShadowedTypeParams",y[y.UseStructuralFallback=8]="UseStructuralFallback",y[y.ForbidIndexedAccessSymbolReferences=16]="ForbidIndexedAccessSymbolReferences",y[y.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",y[y.UseFullyQualifiedType=64]="UseFullyQualifiedType",y[y.UseOnlyExternalAliasing=128]="UseOnlyExternalAliasing",y[y.SuppressAnyReturnType=256]="SuppressAnyReturnType",y[y.WriteTypeParametersInQualifiedName=512]="WriteTypeParametersInQualifiedName",y[y.MultilineObjectLiterals=1024]="MultilineObjectLiterals",y[y.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",y[y.UseTypeOfFunction=4096]="UseTypeOfFunction",y[y.OmitParameterModifiers=8192]="OmitParameterModifiers",y[y.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",y[y.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",y[y.NoTypeReduction=536870912]="NoTypeReduction",y[y.OmitThisParameter=33554432]="OmitThisParameter",y[y.AllowThisInObjectLiteral=32768]="AllowThisInObjectLiteral",y[y.AllowQualifiedNameInPlaceOfIdentifier=65536]="AllowQualifiedNameInPlaceOfIdentifier",y[y.AllowAnonymousIdentifier=131072]="AllowAnonymousIdentifier",y[y.AllowEmptyUnionOrIntersection=262144]="AllowEmptyUnionOrIntersection",y[y.AllowEmptyTuple=524288]="AllowEmptyTuple",y[y.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",y[y.AllowEmptyIndexInfoType=2097152]="AllowEmptyIndexInfoType",y[y.WriteComputedProps=1073741824]="WriteComputedProps",y[y.AllowNodeModulesRelativePaths=67108864]="AllowNodeModulesRelativePaths",y[y.DoNotIncludeSymbolChain=134217728]="DoNotIncludeSymbolChain",y[y.IgnoreErrors=70221824]="IgnoreErrors",y[y.InObjectTypeLiteral=4194304]="InObjectTypeLiteral",y[y.InTypeAlias=8388608]="InTypeAlias",y[y.InInitialEntityName=16777216]="InInitialEntityName",nG=y,(g=nZ||{})[g.None=0]="None",g[g.NoTruncation=1]="NoTruncation",g[g.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",g[g.UseStructuralFallback=8]="UseStructuralFallback",g[g.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",g[g.UseFullyQualifiedType=64]="UseFullyQualifiedType",g[g.SuppressAnyReturnType=256]="SuppressAnyReturnType",g[g.MultilineObjectLiterals=1024]="MultilineObjectLiterals",g[g.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",g[g.UseTypeOfFunction=4096]="UseTypeOfFunction",g[g.OmitParameterModifiers=8192]="OmitParameterModifiers",g[g.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",g[g.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",g[g.NoTypeReduction=536870912]="NoTypeReduction",g[g.OmitThisParameter=33554432]="OmitThisParameter",g[g.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",g[g.AddUndefined=131072]="AddUndefined",g[g.WriteArrowStyleSignature=262144]="WriteArrowStyleSignature",g[g.InArrayType=524288]="InArrayType",g[g.InElementType=2097152]="InElementType",g[g.InFirstTypeArgument=4194304]="InFirstTypeArgument",g[g.InTypeAlias=8388608]="InTypeAlias",g[g.NodeBuilderFlagsMask=848330091]="NodeBuilderFlagsMask",nZ=g,(b=nX||{})[b.None=0]="None",b[b.WriteTypeParametersOrArguments=1]="WriteTypeParametersOrArguments",b[b.UseOnlyExternalAliasing=2]="UseOnlyExternalAliasing",b[b.AllowAnyNodeKind=4]="AllowAnyNodeKind",b[b.UseAliasDefinedOutsideCurrentScope=8]="UseAliasDefinedOutsideCurrentScope",b[b.WriteComputedProps=16]="WriteComputedProps",b[b.DoNotIncludeSymbolChain=32]="DoNotIncludeSymbolChain",nX=b,(v=n0||{})[v.Accessible=0]="Accessible",v[v.NotAccessible=1]="NotAccessible",v[v.CannotBeNamed=2]="CannotBeNamed",n0=v,(x=n1||{})[x.UnionOrIntersection=0]="UnionOrIntersection",x[x.Spread=1]="Spread",n1=x,(D=n2||{})[D.This=0]="This",D[D.Identifier=1]="Identifier",D[D.AssertsThis=2]="AssertsThis",D[D.AssertsIdentifier=3]="AssertsIdentifier",n2=D,(S=n3||{})[S.Unknown=0]="Unknown",S[S.TypeWithConstructSignatureAndValue=1]="TypeWithConstructSignatureAndValue",S[S.VoidNullableOrNeverType=2]="VoidNullableOrNeverType",S[S.NumberLikeType=3]="NumberLikeType",S[S.BigIntLikeType=4]="BigIntLikeType",S[S.StringLikeType=5]="StringLikeType",S[S.BooleanType=6]="BooleanType",S[S.ArrayLikeType=7]="ArrayLikeType",S[S.ESSymbolType=8]="ESSymbolType",S[S.Promise=9]="Promise",S[S.TypeWithCallSignature=10]="TypeWithCallSignature",S[S.ObjectType=11]="ObjectType",n3=S,(T=n4||{})[T.None=0]="None",T[T.FunctionScopedVariable=1]="FunctionScopedVariable",T[T.BlockScopedVariable=2]="BlockScopedVariable",T[T.Property=4]="Property",T[T.EnumMember=8]="EnumMember",T[T.Function=16]="Function",T[T.Class=32]="Class",T[T.Interface=64]="Interface",T[T.ConstEnum=128]="ConstEnum",T[T.RegularEnum=256]="RegularEnum",T[T.ValueModule=512]="ValueModule",T[T.NamespaceModule=1024]="NamespaceModule",T[T.TypeLiteral=2048]="TypeLiteral",T[T.ObjectLiteral=4096]="ObjectLiteral",T[T.Method=8192]="Method",T[T.Constructor=16384]="Constructor",T[T.GetAccessor=32768]="GetAccessor",T[T.SetAccessor=65536]="SetAccessor",T[T.Signature=131072]="Signature",T[T.TypeParameter=262144]="TypeParameter",T[T.TypeAlias=524288]="TypeAlias",T[T.ExportValue=1048576]="ExportValue",T[T.Alias=2097152]="Alias",T[T.Prototype=4194304]="Prototype",T[T.ExportStar=8388608]="ExportStar",T[T.Optional=16777216]="Optional",T[T.Transient=33554432]="Transient",T[T.Assignment=67108864]="Assignment",T[T.ModuleExports=134217728]="ModuleExports",T[T.All=67108863]="All",T[T.Enum=384]="Enum",T[T.Variable=3]="Variable",T[T.Value=111551]="Value",T[T.Type=788968]="Type",T[T.Namespace=1920]="Namespace",T[T.Module=1536]="Module",T[T.Accessor=98304]="Accessor",T[T.FunctionScopedVariableExcludes=111550]="FunctionScopedVariableExcludes",T[T.BlockScopedVariableExcludes=111551]="BlockScopedVariableExcludes",T[T.ParameterExcludes=111551]="ParameterExcludes",T[T.PropertyExcludes=0]="PropertyExcludes",T[T.EnumMemberExcludes=900095]="EnumMemberExcludes",T[T.FunctionExcludes=110991]="FunctionExcludes",T[T.ClassExcludes=899503]="ClassExcludes",T[T.InterfaceExcludes=788872]="InterfaceExcludes",T[T.RegularEnumExcludes=899327]="RegularEnumExcludes",T[T.ConstEnumExcludes=899967]="ConstEnumExcludes",T[T.ValueModuleExcludes=110735]="ValueModuleExcludes",T[T.NamespaceModuleExcludes=0]="NamespaceModuleExcludes",T[T.MethodExcludes=103359]="MethodExcludes",T[T.GetAccessorExcludes=46015]="GetAccessorExcludes",T[T.SetAccessorExcludes=78783]="SetAccessorExcludes",T[T.AccessorExcludes=13247]="AccessorExcludes",T[T.TypeParameterExcludes=526824]="TypeParameterExcludes",T[T.TypeAliasExcludes=788968]="TypeAliasExcludes",T[T.AliasExcludes=2097152]="AliasExcludes",T[T.ModuleMember=2623475]="ModuleMember",T[T.ExportHasLocal=944]="ExportHasLocal",T[T.BlockScoped=418]="BlockScoped",T[T.PropertyOrAccessor=98308]="PropertyOrAccessor",T[T.ClassMember=106500]="ClassMember",T[T.ExportSupportsDefaultModifier=112]="ExportSupportsDefaultModifier",T[T.ExportDoesNotSupportDefaultModifier=-113]="ExportDoesNotSupportDefaultModifier",T[T.Classifiable=2885600]="Classifiable",T[T.LateBindingContainer=6256]="LateBindingContainer",n4=T,(E=n6||{})[E.Numeric=0]="Numeric",E[E.Literal=1]="Literal",n6=E,(w=n5||{})[w.None=0]="None",w[w.Instantiated=1]="Instantiated",w[w.SyntheticProperty=2]="SyntheticProperty",w[w.SyntheticMethod=4]="SyntheticMethod",w[w.Readonly=8]="Readonly",w[w.ReadPartial=16]="ReadPartial",w[w.WritePartial=32]="WritePartial",w[w.HasNonUniformType=64]="HasNonUniformType",w[w.HasLiteralType=128]="HasLiteralType",w[w.ContainsPublic=256]="ContainsPublic",w[w.ContainsProtected=512]="ContainsProtected",w[w.ContainsPrivate=1024]="ContainsPrivate",w[w.ContainsStatic=2048]="ContainsStatic",w[w.Late=4096]="Late",w[w.ReverseMapped=8192]="ReverseMapped",w[w.OptionalParameter=16384]="OptionalParameter",w[w.RestParameter=32768]="RestParameter",w[w.DeferredType=65536]="DeferredType",w[w.HasNeverType=131072]="HasNeverType",w[w.Mapped=262144]="Mapped",w[w.StripOptional=524288]="StripOptional",w[w.Unresolved=1048576]="Unresolved",w[w.Synthetic=6]="Synthetic",w[w.Discriminant=192]="Discriminant",w[w.Partial=48]="Partial",n5=w,(A=n8||{}).Call="__call",A.Constructor="__constructor",A.New="__new",A.Index="__index",A.ExportStar="__export",A.Global="__global",A.Missing="__missing",A.Type="__type",A.Object="__object",A.JSXAttributes="__jsxAttributes",A.Class="__class",A.Function="__function",A.Computed="__computed",A.Resolving="__resolving__",A.ExportEquals="export=",A.Default="default",A.This="this",n8=A,(C=n7||{})[C.None=0]="None",C[C.TypeChecked=1]="TypeChecked",C[C.LexicalThis=2]="LexicalThis",C[C.CaptureThis=4]="CaptureThis",C[C.CaptureNewTarget=8]="CaptureNewTarget",C[C.SuperInstance=16]="SuperInstance",C[C.SuperStatic=32]="SuperStatic",C[C.ContextChecked=64]="ContextChecked",C[C.MethodWithSuperPropertyAccessInAsync=128]="MethodWithSuperPropertyAccessInAsync",C[C.MethodWithSuperPropertyAssignmentInAsync=256]="MethodWithSuperPropertyAssignmentInAsync",C[C.CaptureArguments=512]="CaptureArguments",C[C.EnumValuesComputed=1024]="EnumValuesComputed",C[C.LexicalModuleMergesWithClass=2048]="LexicalModuleMergesWithClass",C[C.LoopWithCapturedBlockScopedBinding=4096]="LoopWithCapturedBlockScopedBinding",C[C.ContainsCapturedBlockScopeBinding=8192]="ContainsCapturedBlockScopeBinding",C[C.CapturedBlockScopedBinding=16384]="CapturedBlockScopedBinding",C[C.BlockScopedBindingInLoop=32768]="BlockScopedBindingInLoop",C[C.ClassWithBodyScopedClassBinding=65536]="ClassWithBodyScopedClassBinding",C[C.BodyScopedClassBinding=131072]="BodyScopedClassBinding",C[C.NeedsLoopOutParameter=262144]="NeedsLoopOutParameter",C[C.AssignmentsMarked=524288]="AssignmentsMarked",C[C.ClassWithConstructorReference=1048576]="ClassWithConstructorReference",C[C.ConstructorReferenceInClass=2097152]="ConstructorReferenceInClass",C[C.ContainsClassWithPrivateIdentifiers=4194304]="ContainsClassWithPrivateIdentifiers",C[C.ContainsSuperPropertyInStaticInitializer=8388608]="ContainsSuperPropertyInStaticInitializer",C[C.InCheckIdentifier=16777216]="InCheckIdentifier",n7=C,(N=n9||{})[N.Any=1]="Any",N[N.Unknown=2]="Unknown",N[N.String=4]="String",N[N.Number=8]="Number",N[N.Boolean=16]="Boolean",N[N.Enum=32]="Enum",N[N.BigInt=64]="BigInt",N[N.StringLiteral=128]="StringLiteral",N[N.NumberLiteral=256]="NumberLiteral",N[N.BooleanLiteral=512]="BooleanLiteral",N[N.EnumLiteral=1024]="EnumLiteral",N[N.BigIntLiteral=2048]="BigIntLiteral",N[N.ESSymbol=4096]="ESSymbol",N[N.UniqueESSymbol=8192]="UniqueESSymbol",N[N.Void=16384]="Void",N[N.Undefined=32768]="Undefined",N[N.Null=65536]="Null",N[N.Never=131072]="Never",N[N.TypeParameter=262144]="TypeParameter",N[N.Object=524288]="Object",N[N.Union=1048576]="Union",N[N.Intersection=2097152]="Intersection",N[N.Index=4194304]="Index",N[N.IndexedAccess=8388608]="IndexedAccess",N[N.Conditional=16777216]="Conditional",N[N.Substitution=33554432]="Substitution",N[N.NonPrimitive=67108864]="NonPrimitive",N[N.TemplateLiteral=134217728]="TemplateLiteral",N[N.StringMapping=268435456]="StringMapping",N[N.AnyOrUnknown=3]="AnyOrUnknown",N[N.Nullable=98304]="Nullable",N[N.Literal=2944]="Literal",N[N.Unit=109472]="Unit",N[N.Freshable=2976]="Freshable",N[N.StringOrNumberLiteral=384]="StringOrNumberLiteral",N[N.StringOrNumberLiteralOrUnique=8576]="StringOrNumberLiteralOrUnique",N[N.DefinitelyFalsy=117632]="DefinitelyFalsy",N[N.PossiblyFalsy=117724]="PossiblyFalsy",N[N.Intrinsic=67359327]="Intrinsic",N[N.Primitive=134348796]="Primitive",N[N.StringLike=402653316]="StringLike",N[N.NumberLike=296]="NumberLike",N[N.BigIntLike=2112]="BigIntLike",N[N.BooleanLike=528]="BooleanLike",N[N.EnumLike=1056]="EnumLike",N[N.ESSymbolLike=12288]="ESSymbolLike",N[N.VoidLike=49152]="VoidLike",N[N.DefinitelyNonNullable=470302716]="DefinitelyNonNullable",N[N.DisjointDomains=469892092]="DisjointDomains",N[N.UnionOrIntersection=3145728]="UnionOrIntersection",N[N.StructuredType=3670016]="StructuredType",N[N.TypeVariable=8650752]="TypeVariable",N[N.InstantiableNonPrimitive=58982400]="InstantiableNonPrimitive",N[N.InstantiablePrimitive=406847488]="InstantiablePrimitive",N[N.Instantiable=465829888]="Instantiable",N[N.StructuredOrInstantiable=469499904]="StructuredOrInstantiable",N[N.ObjectFlagsType=3899393]="ObjectFlagsType",N[N.Simplifiable=25165824]="Simplifiable",N[N.Singleton=67358815]="Singleton",N[N.Narrowable=536624127]="Narrowable",N[N.IncludesMask=205258751]="IncludesMask",N[N.IncludesMissingType=262144]="IncludesMissingType",N[N.IncludesNonWideningType=4194304]="IncludesNonWideningType",N[N.IncludesWildcard=8388608]="IncludesWildcard",N[N.IncludesEmptyObject=16777216]="IncludesEmptyObject",N[N.IncludesInstantiable=33554432]="IncludesInstantiable",N[N.NotPrimitiveUnion=36323363]="NotPrimitiveUnion",n9=N,(M=re||{})[M.None=0]="None",M[M.Class=1]="Class",M[M.Interface=2]="Interface",M[M.Reference=4]="Reference",M[M.Tuple=8]="Tuple",M[M.Anonymous=16]="Anonymous",M[M.Mapped=32]="Mapped",M[M.Instantiated=64]="Instantiated",M[M.ObjectLiteral=128]="ObjectLiteral",M[M.EvolvingArray=256]="EvolvingArray",M[M.ObjectLiteralPatternWithComputedProperties=512]="ObjectLiteralPatternWithComputedProperties",M[M.ReverseMapped=1024]="ReverseMapped",M[M.JsxAttributes=2048]="JsxAttributes",M[M.JSLiteral=4096]="JSLiteral",M[M.FreshLiteral=8192]="FreshLiteral",M[M.ArrayLiteral=16384]="ArrayLiteral",M[M.PrimitiveUnion=32768]="PrimitiveUnion",M[M.ContainsWideningType=65536]="ContainsWideningType",M[M.ContainsObjectOrArrayLiteral=131072]="ContainsObjectOrArrayLiteral",M[M.NonInferrableType=262144]="NonInferrableType",M[M.CouldContainTypeVariablesComputed=524288]="CouldContainTypeVariablesComputed",M[M.CouldContainTypeVariables=1048576]="CouldContainTypeVariables",M[M.ClassOrInterface=3]="ClassOrInterface",M[M.RequiresWidening=196608]="RequiresWidening",M[M.PropagatingFlags=458752]="PropagatingFlags",M[M.ObjectTypeKindMask=1343]="ObjectTypeKindMask",M[M.ContainsSpread=2097152]="ContainsSpread",M[M.ObjectRestType=4194304]="ObjectRestType",M[M.InstantiationExpressionType=8388608]="InstantiationExpressionType",M[M.IsClassInstanceClone=16777216]="IsClassInstanceClone",M[M.IdenticalBaseTypeCalculated=33554432]="IdenticalBaseTypeCalculated",M[M.IdenticalBaseTypeExists=67108864]="IdenticalBaseTypeExists",M[M.IsGenericTypeComputed=2097152]="IsGenericTypeComputed",M[M.IsGenericObjectType=4194304]="IsGenericObjectType",M[M.IsGenericIndexType=8388608]="IsGenericIndexType",M[M.IsGenericType=12582912]="IsGenericType",M[M.ContainsIntersections=16777216]="ContainsIntersections",M[M.IsUnknownLikeUnionComputed=33554432]="IsUnknownLikeUnionComputed",M[M.IsUnknownLikeUnion=67108864]="IsUnknownLikeUnion",M[M.IsNeverIntersectionComputed=16777216]="IsNeverIntersectionComputed",M[M.IsNeverIntersection=33554432]="IsNeverIntersection",re=M,(k=rt||{})[k.Invariant=0]="Invariant",k[k.Covariant=1]="Covariant",k[k.Contravariant=2]="Contravariant",k[k.Bivariant=3]="Bivariant",k[k.Independent=4]="Independent",k[k.VarianceMask=7]="VarianceMask",k[k.Unmeasurable=8]="Unmeasurable",k[k.Unreliable=16]="Unreliable",k[k.AllowsStructuralFallback=24]="AllowsStructuralFallback",rt=k,(I=rn||{})[I.Required=1]="Required",I[I.Optional=2]="Optional",I[I.Rest=4]="Rest",I[I.Variadic=8]="Variadic",I[I.Fixed=3]="Fixed",I[I.Variable=12]="Variable",I[I.NonRequired=14]="NonRequired",I[I.NonRest=11]="NonRest",rn=I,(j=rr||{})[j.None=0]="None",j[j.IncludeUndefined=1]="IncludeUndefined",j[j.NoIndexSignatures=2]="NoIndexSignatures",j[j.Writing=4]="Writing",j[j.CacheSymbol=8]="CacheSymbol",j[j.NoTupleBoundsCheck=16]="NoTupleBoundsCheck",j[j.ExpressionPosition=32]="ExpressionPosition",j[j.ReportDeprecated=64]="ReportDeprecated",j[j.SuppressNoImplicitAnyError=128]="SuppressNoImplicitAnyError",j[j.Contextual=256]="Contextual",j[j.Persistent=1]="Persistent",rr=j,(O=ri||{})[O.Component=0]="Component",O[O.Function=1]="Function",O[O.Mixed=2]="Mixed",ri=O,(P=ro||{})[P.Call=0]="Call",P[P.Construct=1]="Construct",ro=P,(F=ra||{})[F.None=0]="None",F[F.HasRestParameter=1]="HasRestParameter",F[F.HasLiteralTypes=2]="HasLiteralTypes",F[F.Abstract=4]="Abstract",F[F.IsInnerCallChain=8]="IsInnerCallChain",F[F.IsOuterCallChain=16]="IsOuterCallChain",F[F.IsUntypedSignatureInJSFile=32]="IsUntypedSignatureInJSFile",F[F.PropagatingFlags=39]="PropagatingFlags",F[F.CallChainFlags=24]="CallChainFlags",ra=F,(L=rs||{})[L.String=0]="String",L[L.Number=1]="Number",rs=L,(z=ru||{})[z.Simple=0]="Simple",z[z.Array=1]="Array",z[z.Deferred=2]="Deferred",z[z.Function=3]="Function",z[z.Composite=4]="Composite",z[z.Merged=5]="Merged",ru=z,(R=rl||{})[R.None=0]="None",R[R.NakedTypeVariable=1]="NakedTypeVariable",R[R.SpeculativeTuple=2]="SpeculativeTuple",R[R.SubstituteSource=4]="SubstituteSource",R[R.HomomorphicMappedType=8]="HomomorphicMappedType",R[R.PartialHomomorphicMappedType=16]="PartialHomomorphicMappedType",R[R.MappedTypeConstraint=32]="MappedTypeConstraint",R[R.ContravariantConditional=64]="ContravariantConditional",R[R.ReturnType=128]="ReturnType",R[R.LiteralKeyof=256]="LiteralKeyof",R[R.NoConstraints=512]="NoConstraints",R[R.AlwaysStrict=1024]="AlwaysStrict",R[R.MaxValue=2048]="MaxValue",R[R.PriorityImpliesCombination=416]="PriorityImpliesCombination",R[R.Circularity=-1]="Circularity",rl=R,(B=rc||{})[B.None=0]="None",B[B.NoDefault=1]="NoDefault",B[B.AnyDefault=2]="AnyDefault",B[B.SkippedGenericFunction=4]="SkippedGenericFunction",rc=B,(U=r_||{})[U.False=0]="False",U[U.Unknown=1]="Unknown",U[U.Maybe=3]="Maybe",U[U.True=-1]="True",r_=U,(J=rp||{})[J.None=0]="None",J[J.ExportsProperty=1]="ExportsProperty",J[J.ModuleExports=2]="ModuleExports",J[J.PrototypeProperty=3]="PrototypeProperty",J[J.ThisProperty=4]="ThisProperty",J[J.Property=5]="Property",J[J.Prototype=6]="Prototype",J[J.ObjectDefinePropertyValue=7]="ObjectDefinePropertyValue",J[J.ObjectDefinePropertyExports=8]="ObjectDefinePropertyExports",J[J.ObjectDefinePrototypeProperty=9]="ObjectDefinePrototypeProperty",rp=J,($=rd||{})[$.Warning=0]="Warning",$[$.Error=1]="Error",$[$.Suggestion=2]="Suggestion",$[$.Message=3]="Message",rd=$,(K=rf||{})[K.Classic=1]="Classic",K[K.NodeJs=2]="NodeJs",K[K.Node10=2]="Node10",K[K.Node16=3]="Node16",K[K.NodeNext=99]="NodeNext",K[K.Bundler=100]="Bundler",rf=K,(V=rm||{})[V.Legacy=1]="Legacy",V[V.Auto=2]="Auto",V[V.Force=3]="Force",rm=V,(Y=rh||{})[Y.FixedPollingInterval=0]="FixedPollingInterval",Y[Y.PriorityPollingInterval=1]="PriorityPollingInterval",Y[Y.DynamicPriorityPolling=2]="DynamicPriorityPolling",Y[Y.FixedChunkSizePolling=3]="FixedChunkSizePolling",Y[Y.UseFsEvents=4]="UseFsEvents",Y[Y.UseFsEventsOnParentDirectory=5]="UseFsEventsOnParentDirectory",rh=Y,(q=ry||{})[q.UseFsEvents=0]="UseFsEvents",q[q.FixedPollingInterval=1]="FixedPollingInterval",q[q.DynamicPriorityPolling=2]="DynamicPriorityPolling",q[q.FixedChunkSizePolling=3]="FixedChunkSizePolling",ry=q,(W=rg||{})[W.FixedInterval=0]="FixedInterval",W[W.PriorityInterval=1]="PriorityInterval",W[W.DynamicPriority=2]="DynamicPriority",W[W.FixedChunkSize=3]="FixedChunkSize",rg=W,(Q=rb||{})[Q.None=0]="None",Q[Q.CommonJS=1]="CommonJS",Q[Q.AMD=2]="AMD",Q[Q.UMD=3]="UMD",Q[Q.System=4]="System",Q[Q.ES2015=5]="ES2015",Q[Q.ES2020=6]="ES2020",Q[Q.ES2022=7]="ES2022",Q[Q.ESNext=99]="ESNext",Q[Q.Node16=100]="Node16",Q[Q.NodeNext=199]="NodeNext",rb=Q,(H=rv||{})[H.None=0]="None",H[H.Preserve=1]="Preserve",H[H.React=2]="React",H[H.ReactNative=3]="ReactNative",H[H.ReactJSX=4]="ReactJSX",H[H.ReactJSXDev=5]="ReactJSXDev",rv=H,(G=rx||{})[G.Remove=0]="Remove",G[G.Preserve=1]="Preserve",G[G.Error=2]="Error",rx=G,(Z=rD||{})[Z.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",Z[Z.LineFeed=1]="LineFeed",rD=Z,(X=rS||{})[X.Unknown=0]="Unknown",X[X.JS=1]="JS",X[X.JSX=2]="JSX",X[X.TS=3]="TS",X[X.TSX=4]="TSX",X[X.External=5]="External",X[X.JSON=6]="JSON",X[X.Deferred=7]="Deferred",rS=X,(ee=rT||{})[ee.ES3=0]="ES3",ee[ee.ES5=1]="ES5",ee[ee.ES2015=2]="ES2015",ee[ee.ES2016=3]="ES2016",ee[ee.ES2017=4]="ES2017",ee[ee.ES2018=5]="ES2018",ee[ee.ES2019=6]="ES2019",ee[ee.ES2020=7]="ES2020",ee[ee.ES2021=8]="ES2021",ee[ee.ES2022=9]="ES2022",ee[ee.ESNext=99]="ESNext",ee[ee.JSON=100]="JSON",ee[ee.Latest=99]="Latest",rT=ee,(et=rE||{})[et.Standard=0]="Standard",et[et.JSX=1]="JSX",rE=et,(en=rw||{})[en.None=0]="None",en[en.Recursive=1]="Recursive",rw=en,(er=rA||{})[er.nullCharacter=0]="nullCharacter",er[er.maxAsciiCharacter=127]="maxAsciiCharacter",er[er.lineFeed=10]="lineFeed",er[er.carriageReturn=13]="carriageReturn",er[er.lineSeparator=8232]="lineSeparator",er[er.paragraphSeparator=8233]="paragraphSeparator",er[er.nextLine=133]="nextLine",er[er.space=32]="space",er[er.nonBreakingSpace=160]="nonBreakingSpace",er[er.enQuad=8192]="enQuad",er[er.emQuad=8193]="emQuad",er[er.enSpace=8194]="enSpace",er[er.emSpace=8195]="emSpace",er[er.threePerEmSpace=8196]="threePerEmSpace",er[er.fourPerEmSpace=8197]="fourPerEmSpace",er[er.sixPerEmSpace=8198]="sixPerEmSpace",er[er.figureSpace=8199]="figureSpace",er[er.punctuationSpace=8200]="punctuationSpace",er[er.thinSpace=8201]="thinSpace",er[er.hairSpace=8202]="hairSpace",er[er.zeroWidthSpace=8203]="zeroWidthSpace",er[er.narrowNoBreakSpace=8239]="narrowNoBreakSpace",er[er.ideographicSpace=12288]="ideographicSpace",er[er.mathematicalSpace=8287]="mathematicalSpace",er[er.ogham=5760]="ogham",er[er._=95]="_",er[er.$=36]="$",er[er._0=48]="_0",er[er._1=49]="_1",er[er._2=50]="_2",er[er._3=51]="_3",er[er._4=52]="_4",er[er._5=53]="_5",er[er._6=54]="_6",er[er._7=55]="_7",er[er._8=56]="_8",er[er._9=57]="_9",er[er.a=97]="a",er[er.b=98]="b",er[er.c=99]="c",er[er.d=100]="d",er[er.e=101]="e",er[er.f=102]="f",er[er.g=103]="g",er[er.h=104]="h",er[er.i=105]="i",er[er.j=106]="j",er[er.k=107]="k",er[er.l=108]="l",er[er.m=109]="m",er[er.n=110]="n",er[er.o=111]="o",er[er.p=112]="p",er[er.q=113]="q",er[er.r=114]="r",er[er.s=115]="s",er[er.t=116]="t",er[er.u=117]="u",er[er.v=118]="v",er[er.w=119]="w",er[er.x=120]="x",er[er.y=121]="y",er[er.z=122]="z",er[er.A=65]="A",er[er.B=66]="B",er[er.C=67]="C",er[er.D=68]="D",er[er.E=69]="E",er[er.F=70]="F",er[er.G=71]="G",er[er.H=72]="H",er[er.I=73]="I",er[er.J=74]="J",er[er.K=75]="K",er[er.L=76]="L",er[er.M=77]="M",er[er.N=78]="N",er[er.O=79]="O",er[er.P=80]="P",er[er.Q=81]="Q",er[er.R=82]="R",er[er.S=83]="S",er[er.T=84]="T",er[er.U=85]="U",er[er.V=86]="V",er[er.W=87]="W",er[er.X=88]="X",er[er.Y=89]="Y",er[er.Z=90]="Z",er[er.ampersand=38]="ampersand",er[er.asterisk=42]="asterisk",er[er.at=64]="at",er[er.backslash=92]="backslash",er[er.backtick=96]="backtick",er[er.bar=124]="bar",er[er.caret=94]="caret",er[er.closeBrace=125]="closeBrace",er[er.closeBracket=93]="closeBracket",er[er.closeParen=41]="closeParen",er[er.colon=58]="colon",er[er.comma=44]="comma",er[er.dot=46]="dot",er[er.doubleQuote=34]="doubleQuote",er[er.equals=61]="equals",er[er.exclamation=33]="exclamation",er[er.greaterThan=62]="greaterThan",er[er.hash=35]="hash",er[er.lessThan=60]="lessThan",er[er.minus=45]="minus",er[er.openBrace=123]="openBrace",er[er.openBracket=91]="openBracket",er[er.openParen=40]="openParen",er[er.percent=37]="percent",er[er.plus=43]="plus",er[er.question=63]="question",er[er.semicolon=59]="semicolon",er[er.singleQuote=39]="singleQuote",er[er.slash=47]="slash",er[er.tilde=126]="tilde",er[er.backspace=8]="backspace",er[er.formFeed=12]="formFeed",er[er.byteOrderMark=65279]="byteOrderMark",er[er.tab=9]="tab",er[er.verticalTab=11]="verticalTab",rA=er,(ei=rC||{}).Ts=".ts",ei.Tsx=".tsx",ei.Dts=".d.ts",ei.Js=".js",ei.Jsx=".jsx",ei.Json=".json",ei.TsBuildInfo=".tsbuildinfo",ei.Mjs=".mjs",ei.Mts=".mts",ei.Dmts=".d.mts",ei.Cjs=".cjs",ei.Cts=".cts",ei.Dcts=".d.cts",rC=ei,(eo=rN||{})[eo.None=0]="None",eo[eo.ContainsTypeScript=1]="ContainsTypeScript",eo[eo.ContainsJsx=2]="ContainsJsx",eo[eo.ContainsESNext=4]="ContainsESNext",eo[eo.ContainsES2022=8]="ContainsES2022",eo[eo.ContainsES2021=16]="ContainsES2021",eo[eo.ContainsES2020=32]="ContainsES2020",eo[eo.ContainsES2019=64]="ContainsES2019",eo[eo.ContainsES2018=128]="ContainsES2018",eo[eo.ContainsES2017=256]="ContainsES2017",eo[eo.ContainsES2016=512]="ContainsES2016",eo[eo.ContainsES2015=1024]="ContainsES2015",eo[eo.ContainsGenerator=2048]="ContainsGenerator",eo[eo.ContainsDestructuringAssignment=4096]="ContainsDestructuringAssignment",eo[eo.ContainsTypeScriptClassSyntax=8192]="ContainsTypeScriptClassSyntax",eo[eo.ContainsLexicalThis=16384]="ContainsLexicalThis",eo[eo.ContainsRestOrSpread=32768]="ContainsRestOrSpread",eo[eo.ContainsObjectRestOrSpread=65536]="ContainsObjectRestOrSpread",eo[eo.ContainsComputedPropertyName=131072]="ContainsComputedPropertyName",eo[eo.ContainsBlockScopedBinding=262144]="ContainsBlockScopedBinding",eo[eo.ContainsBindingPattern=524288]="ContainsBindingPattern",eo[eo.ContainsYield=1048576]="ContainsYield",eo[eo.ContainsAwait=2097152]="ContainsAwait",eo[eo.ContainsHoistedDeclarationOrCompletion=4194304]="ContainsHoistedDeclarationOrCompletion",eo[eo.ContainsDynamicImport=8388608]="ContainsDynamicImport",eo[eo.ContainsClassFields=16777216]="ContainsClassFields",eo[eo.ContainsDecorators=33554432]="ContainsDecorators",eo[eo.ContainsPossibleTopLevelAwait=67108864]="ContainsPossibleTopLevelAwait",eo[eo.ContainsLexicalSuper=134217728]="ContainsLexicalSuper",eo[eo.ContainsUpdateExpressionForIdentifier=268435456]="ContainsUpdateExpressionForIdentifier",eo[eo.ContainsPrivateIdentifierInExpression=536870912]="ContainsPrivateIdentifierInExpression",eo[eo.HasComputedFlags=-2147483648]="HasComputedFlags",eo[eo.AssertTypeScript=1]="AssertTypeScript",eo[eo.AssertJsx=2]="AssertJsx",eo[eo.AssertESNext=4]="AssertESNext",eo[eo.AssertES2022=8]="AssertES2022",eo[eo.AssertES2021=16]="AssertES2021",eo[eo.AssertES2020=32]="AssertES2020",eo[eo.AssertES2019=64]="AssertES2019",eo[eo.AssertES2018=128]="AssertES2018",eo[eo.AssertES2017=256]="AssertES2017",eo[eo.AssertES2016=512]="AssertES2016",eo[eo.AssertES2015=1024]="AssertES2015",eo[eo.AssertGenerator=2048]="AssertGenerator",eo[eo.AssertDestructuringAssignment=4096]="AssertDestructuringAssignment",eo[eo.OuterExpressionExcludes=-2147483648]="OuterExpressionExcludes",eo[eo.PropertyAccessExcludes=-2147483648]="PropertyAccessExcludes",eo[eo.NodeExcludes=-2147483648]="NodeExcludes",eo[eo.ArrowFunctionExcludes=-2072174592]="ArrowFunctionExcludes",eo[eo.FunctionExcludes=-1937940480]="FunctionExcludes",eo[eo.ConstructorExcludes=-1937948672]="ConstructorExcludes",eo[eo.MethodOrAccessorExcludes=-2005057536]="MethodOrAccessorExcludes",eo[eo.PropertyExcludes=-2013249536]="PropertyExcludes",eo[eo.ClassExcludes=-2147344384]="ClassExcludes",eo[eo.ModuleExcludes=-1941676032]="ModuleExcludes",eo[eo.TypeExcludes=-2]="TypeExcludes",eo[eo.ObjectLiteralExcludes=-2147278848]="ObjectLiteralExcludes",eo[eo.ArrayLiteralOrCallOrNewExcludes=-2147450880]="ArrayLiteralOrCallOrNewExcludes",eo[eo.VariableDeclarationListExcludes=-2146893824]="VariableDeclarationListExcludes",eo[eo.ParameterExcludes=-2147483648]="ParameterExcludes",eo[eo.CatchClauseExcludes=-2147418112]="CatchClauseExcludes",eo[eo.BindingPatternExcludes=-2147450880]="BindingPatternExcludes",eo[eo.ContainsLexicalThisOrSuper=134234112]="ContainsLexicalThisOrSuper",eo[eo.PropertyNamePropagatingFlags=134234112]="PropertyNamePropagatingFlags",rN=eo,(ea=rM||{})[ea.TabStop=0]="TabStop",ea[ea.Placeholder=1]="Placeholder",ea[ea.Choice=2]="Choice",ea[ea.Variable=3]="Variable",rM=ea,(es=rk||{})[es.None=0]="None",es[es.SingleLine=1]="SingleLine",es[es.MultiLine=2]="MultiLine",es[es.AdviseOnEmitNode=4]="AdviseOnEmitNode",es[es.NoSubstitution=8]="NoSubstitution",es[es.CapturesThis=16]="CapturesThis",es[es.NoLeadingSourceMap=32]="NoLeadingSourceMap",es[es.NoTrailingSourceMap=64]="NoTrailingSourceMap",es[es.NoSourceMap=96]="NoSourceMap",es[es.NoNestedSourceMaps=128]="NoNestedSourceMaps",es[es.NoTokenLeadingSourceMaps=256]="NoTokenLeadingSourceMaps",es[es.NoTokenTrailingSourceMaps=512]="NoTokenTrailingSourceMaps",es[es.NoTokenSourceMaps=768]="NoTokenSourceMaps",es[es.NoLeadingComments=1024]="NoLeadingComments",es[es.NoTrailingComments=2048]="NoTrailingComments",es[es.NoComments=3072]="NoComments",es[es.NoNestedComments=4096]="NoNestedComments",es[es.HelperName=8192]="HelperName",es[es.ExportName=16384]="ExportName",es[es.LocalName=32768]="LocalName",es[es.InternalName=65536]="InternalName",es[es.Indented=131072]="Indented",es[es.NoIndentation=262144]="NoIndentation",es[es.AsyncFunctionBody=524288]="AsyncFunctionBody",es[es.ReuseTempVariableScope=1048576]="ReuseTempVariableScope",es[es.CustomPrologue=2097152]="CustomPrologue",es[es.NoHoisting=4194304]="NoHoisting",es[es.HasEndOfDeclarationMarker=8388608]="HasEndOfDeclarationMarker",es[es.Iterator=16777216]="Iterator",es[es.NoAsciiEscaping=33554432]="NoAsciiEscaping",rk=es,(eu=rI||{})[eu.None=0]="None",eu[eu.TypeScriptClassWrapper=1]="TypeScriptClassWrapper",eu[eu.NeverApplyImportHelper=2]="NeverApplyImportHelper",eu[eu.IgnoreSourceNewlines=4]="IgnoreSourceNewlines",eu[eu.Immutable=8]="Immutable",eu[eu.IndirectCall=16]="IndirectCall",eu[eu.TransformPrivateStaticElements=32]="TransformPrivateStaticElements",rI=eu,(el=rj||{})[el.Extends=1]="Extends",el[el.Assign=2]="Assign",el[el.Rest=4]="Rest",el[el.Decorate=8]="Decorate",el[el.ESDecorateAndRunInitializers=8]="ESDecorateAndRunInitializers",el[el.Metadata=16]="Metadata",el[el.Param=32]="Param",el[el.Awaiter=64]="Awaiter",el[el.Generator=128]="Generator",el[el.Values=256]="Values",el[el.Read=512]="Read",el[el.SpreadArray=1024]="SpreadArray",el[el.Await=2048]="Await",el[el.AsyncGenerator=4096]="AsyncGenerator",el[el.AsyncDelegator=8192]="AsyncDelegator",el[el.AsyncValues=16384]="AsyncValues",el[el.ExportStar=32768]="ExportStar",el[el.ImportStar=65536]="ImportStar",el[el.ImportDefault=131072]="ImportDefault",el[el.MakeTemplateObject=262144]="MakeTemplateObject",el[el.ClassPrivateFieldGet=524288]="ClassPrivateFieldGet",el[el.ClassPrivateFieldSet=1048576]="ClassPrivateFieldSet",el[el.ClassPrivateFieldIn=2097152]="ClassPrivateFieldIn",el[el.CreateBinding=4194304]="CreateBinding",el[el.SetFunctionName=8388608]="SetFunctionName",el[el.PropKey=16777216]="PropKey",el[el.FirstEmitHelper=1]="FirstEmitHelper",el[el.LastEmitHelper=16777216]="LastEmitHelper",el[el.ForOfIncludes=256]="ForOfIncludes",el[el.ForAwaitOfIncludes=16384]="ForAwaitOfIncludes",el[el.AsyncGeneratorIncludes=6144]="AsyncGeneratorIncludes",el[el.AsyncDelegatorIncludes=26624]="AsyncDelegatorIncludes",el[el.SpreadIncludes=1536]="SpreadIncludes",rj=el,(ec=rO||{})[ec.SourceFile=0]="SourceFile",ec[ec.Expression=1]="Expression",ec[ec.IdentifierName=2]="IdentifierName",ec[ec.MappedTypeParameter=3]="MappedTypeParameter",ec[ec.Unspecified=4]="Unspecified",ec[ec.EmbeddedStatement=5]="EmbeddedStatement",ec[ec.JsxAttributeValue=6]="JsxAttributeValue",rO=ec,(e_=rP||{})[e_.Parentheses=1]="Parentheses",e_[e_.TypeAssertions=2]="TypeAssertions",e_[e_.NonNullAssertions=4]="NonNullAssertions",e_[e_.PartiallyEmittedExpressions=8]="PartiallyEmittedExpressions",e_[e_.Assertions=6]="Assertions",e_[e_.All=15]="All",e_[e_.ExcludeJSDocTypeAssertion=16]="ExcludeJSDocTypeAssertion",rP=e_,(ep=rF||{})[ep.None=0]="None",ep[ep.InParameters=1]="InParameters",ep[ep.VariablesHoistedInParameters=2]="VariablesHoistedInParameters",rF=ep,(ed=rL||{}).Prologue="prologue",ed.EmitHelpers="emitHelpers",ed.NoDefaultLib="no-default-lib",ed.Reference="reference",ed.Type="type",ed.TypeResolutionModeRequire="type-require",ed.TypeResolutionModeImport="type-import",ed.Lib="lib",ed.Prepend="prepend",ed.Text="text",ed.Internal="internal",rL=ed,(ef=rz||{})[ef.None=0]="None",ef[ef.SingleLine=0]="SingleLine",ef[ef.MultiLine=1]="MultiLine",ef[ef.PreserveLines=2]="PreserveLines",ef[ef.LinesMask=3]="LinesMask",ef[ef.NotDelimited=0]="NotDelimited",ef[ef.BarDelimited=4]="BarDelimited",ef[ef.AmpersandDelimited=8]="AmpersandDelimited",ef[ef.CommaDelimited=16]="CommaDelimited",ef[ef.AsteriskDelimited=32]="AsteriskDelimited",ef[ef.DelimitersMask=60]="DelimitersMask",ef[ef.AllowTrailingComma=64]="AllowTrailingComma",ef[ef.Indented=128]="Indented",ef[ef.SpaceBetweenBraces=256]="SpaceBetweenBraces",ef[ef.SpaceBetweenSiblings=512]="SpaceBetweenSiblings",ef[ef.Braces=1024]="Braces",ef[ef.Parenthesis=2048]="Parenthesis",ef[ef.AngleBrackets=4096]="AngleBrackets",ef[ef.SquareBrackets=8192]="SquareBrackets",ef[ef.BracketsMask=15360]="BracketsMask",ef[ef.OptionalIfUndefined=16384]="OptionalIfUndefined",ef[ef.OptionalIfEmpty=32768]="OptionalIfEmpty",ef[ef.Optional=49152]="Optional",ef[ef.PreferNewLine=65536]="PreferNewLine",ef[ef.NoTrailingNewLine=131072]="NoTrailingNewLine",ef[ef.NoInterveningComments=262144]="NoInterveningComments",ef[ef.NoSpaceIfEmpty=524288]="NoSpaceIfEmpty",ef[ef.SingleElement=1048576]="SingleElement",ef[ef.SpaceAfterList=2097152]="SpaceAfterList",ef[ef.Modifiers=2359808]="Modifiers",ef[ef.HeritageClauses=512]="HeritageClauses",ef[ef.SingleLineTypeLiteralMembers=768]="SingleLineTypeLiteralMembers",ef[ef.MultiLineTypeLiteralMembers=32897]="MultiLineTypeLiteralMembers",ef[ef.SingleLineTupleTypeElements=528]="SingleLineTupleTypeElements",ef[ef.MultiLineTupleTypeElements=657]="MultiLineTupleTypeElements",ef[ef.UnionTypeConstituents=516]="UnionTypeConstituents",ef[ef.IntersectionTypeConstituents=520]="IntersectionTypeConstituents",ef[ef.ObjectBindingPatternElements=525136]="ObjectBindingPatternElements",ef[ef.ArrayBindingPatternElements=524880]="ArrayBindingPatternElements",ef[ef.ObjectLiteralExpressionProperties=526226]="ObjectLiteralExpressionProperties",ef[ef.ImportClauseEntries=526226]="ImportClauseEntries",ef[ef.ArrayLiteralExpressionElements=8914]="ArrayLiteralExpressionElements",ef[ef.CommaListElements=528]="CommaListElements",ef[ef.CallExpressionArguments=2576]="CallExpressionArguments",ef[ef.NewExpressionArguments=18960]="NewExpressionArguments",ef[ef.TemplateExpressionSpans=262144]="TemplateExpressionSpans",ef[ef.SingleLineBlockStatements=768]="SingleLineBlockStatements",ef[ef.MultiLineBlockStatements=129]="MultiLineBlockStatements",ef[ef.VariableDeclarationList=528]="VariableDeclarationList",ef[ef.SingleLineFunctionBodyStatements=768]="SingleLineFunctionBodyStatements",ef[ef.MultiLineFunctionBodyStatements=1]="MultiLineFunctionBodyStatements",ef[ef.ClassHeritageClauses=0]="ClassHeritageClauses",ef[ef.ClassMembers=129]="ClassMembers",ef[ef.InterfaceMembers=129]="InterfaceMembers",ef[ef.EnumMembers=145]="EnumMembers",ef[ef.CaseBlockClauses=129]="CaseBlockClauses",ef[ef.NamedImportsOrExportsElements=525136]="NamedImportsOrExportsElements",ef[ef.JsxElementOrFragmentChildren=262144]="JsxElementOrFragmentChildren",ef[ef.JsxElementAttributes=262656]="JsxElementAttributes",ef[ef.CaseOrDefaultClauseStatements=163969]="CaseOrDefaultClauseStatements",ef[ef.HeritageClauseTypes=528]="HeritageClauseTypes",ef[ef.SourceFileStatements=131073]="SourceFileStatements",ef[ef.Decorators=2146305]="Decorators",ef[ef.TypeArguments=53776]="TypeArguments",ef[ef.TypeParameters=53776]="TypeParameters",ef[ef.Parameters=2576]="Parameters",ef[ef.IndexSignatureParameters=8848]="IndexSignatureParameters",ef[ef.JSDocComment=33]="JSDocComment",rz=ef,(em=rR||{})[em.None=0]="None",em[em.TripleSlashXML=1]="TripleSlashXML",em[em.SingleLine=2]="SingleLine",em[em.MultiLine=4]="MultiLine",em[em.All=7]="All",em[em.Default=7]="Default",rR=em,rB={reference:{args:[{name:"types",optional:!0,captureSpan:!0},{name:"lib",optional:!0,captureSpan:!0},{name:"path",optional:!0,captureSpan:!0},{name:"no-default-lib",optional:!0},{name:"resolution-mode",optional:!0}],kind:1},"amd-dependency":{args:[{name:"path"},{name:"name",optional:!0}],kind:1},"amd-module":{args:[{name:"name"}],kind:1},"ts-check":{kind:2},"ts-nocheck":{kind:2},jsx:{args:[{name:"factory"}],kind:4},jsxfrag:{args:[{name:"factory"}],kind:4},jsximportsource:{args:[{name:"factory"}],kind:4},jsxruntime:{args:[{name:"factory"}],kind:4}}}}),r$=()=>{};function rK(e){return 47===e||92===e}function rV(e){return 0>r2(e)}function rY(e){return r2(e)>0}function rq(e){let t=r2(e);return t>0&&t===e.length}function rW(e){return 0!==r2(e)}function rQ(e){return/^\.\.?($|[\\/])/.test(e)}function rH(e){return!rW(e)&&!rQ(e)}function rG(e){return tO(r6(e),".")}function rZ(e,t){return e.length>t.length&&tk(e,t)}function rX(e,t){for(let n of t)if(rZ(e,n))return!0;return!1}function r0(e){return e.length>0&&rK(e.charCodeAt(e.length-1))}function r1(e){return e>=97&&e<=122||e>=65&&e<=90}function r2(e){if(!e)return 0;let t=e.charCodeAt(0);if(47===t||92===t){if(e.charCodeAt(1)!==t)return 1;let n=e.indexOf(47===t?iC:iN,2);return n<0?e.length:n+1}if(r1(t)&&58===e.charCodeAt(1)){let t=e.charCodeAt(2);if(47===t||92===t)return 3;if(2===e.length)return 2}let n=e.indexOf(iM);if(-1!==n){let t=n+iM.length,r=e.indexOf(iC,t);if(-1!==r){let i=e.slice(0,n),o=e.slice(t,r);if("file"===i&&(""===o||"localhost"===o)&&r1(e.charCodeAt(r+1))){let t=function(e,t){let n=e.charCodeAt(t);if(58===n)return t+1;if(37===n&&51===e.charCodeAt(t+1)){let n=e.charCodeAt(t+2);if(97===n||65===n)return t+3}return -1}(e,r+2);if(-1!==t){if(47===e.charCodeAt(t))return~(t+1);if(t===e.length)return~t}}return~(r+1)}return~e.length}return 0}function r3(e){let t=r2(e);return t<0?~t:t}function r4(e){let t=r3(e=ie(e));return t===e.length?e:(e=ic(e)).slice(0,Math.max(t,e.lastIndexOf(iC)))}function r6(e,t,n){if(r3(e=ie(e))===e.length)return"";let r=(e=ic(e)).slice(Math.max(r3(e),e.lastIndexOf(iC)+1)),i=void 0!==t&&void 0!==n?r8(r,t,n):void 0;return i?r.slice(0,r.length-i.length):r}function r5(e,t,n){if(tK(t,".")||(t="."+t),e.length>=t.length&&46===e.charCodeAt(e.length-t.length)){let r=e.slice(e.length-t.length);if(n(r,t))return r}}function r8(e,t,n){if(t)return function(e,t,n){if("string"==typeof t)return r5(e,t,n)||"";for(let r of t){let t=r5(e,r,n);if(t)return t}return""}(ic(e),t,n?tm:th);let r=r6(e),i=r.lastIndexOf(".");return i>=0?r.substring(i):""}function r7(e){var t,n;let r,i,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t=e=ir(o,e),n=r3(e),r=t.substring(0,n),(i=t.substring(n).split(iC)).length&&!ew(i)&&i.pop(),[r,...i]}function r9(e){return 0===e.length?"":(e[0]&&i_(e[0]))+e.slice(1).join(iC)}function ie(e){return -1!==e.indexOf("\\")?e.replace(ik,iC):e}function it(e){if(!G(e))return[];let t=[e[0]];for(let n=1;n1){if(".."!==t[t.length-1]){t.pop();continue}}else if(t[0])continue}t.push(r)}}return t}function ir(e){e&&(e=ie(e));for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r1?t-1:0),r=1;r0==r3(t)>0,"Paths must either both be absolute or both be relative"),r9(ix(e,t,"boolean"==typeof n&&n?tm:th,"function"==typeof n?n:to))}function iS(e,t,n){return rY(e)?iE(t,e,t,n,!1):e}function iT(e,t,n){return ip(iD(r4(e),t,n))}function iE(e,t,n,r,i){let o=ix(ii(n,e),ii(n,t),th,r),a=o[0];if(i&&rY(a)){let e=a.charAt(0)===iC?"file://":"file:///";o[0]=e+a}return r9(o)}function iw(e,t){for(;;){let n=t(e);if(void 0!==n)return n;let r=r4(e);if(r===e)return;e=r}}function iA(e){return tk(e,"/node_modules")}var iC,iN,iM,ik,iI,ij=c({"src/compiler/path.ts"(){wA(),iC="/",iN="\\",iM="://",ik=/\\/g,iI=/(?:\/\/)|(?:^|\/)\.\.?(?:$|\/)/}});function iO(e,t,n,r,i,o,a){return{code:e,category:t,key:n,message:r,reportsUnnecessary:i,elidedInCompatabilityPyramid:o,reportsDeprecated:a}}var iP,iF=c({"src/compiler/diagnosticInformationMap.generated.ts"(){rJ(),iP={Unterminated_string_literal:iO(1002,1,"Unterminated_string_literal_1002","Unterminated string literal."),Identifier_expected:iO(1003,1,"Identifier_expected_1003","Identifier expected."),_0_expected:iO(1005,1,"_0_expected_1005","'{0}' expected."),A_file_cannot_have_a_reference_to_itself:iO(1006,1,"A_file_cannot_have_a_reference_to_itself_1006","A file cannot have a reference to itself."),The_parser_expected_to_find_a_1_to_match_the_0_token_here:iO(1007,1,"The_parser_expected_to_find_a_1_to_match_the_0_token_here_1007","The parser expected to find a '{1}' to match the '{0}' token here."),Trailing_comma_not_allowed:iO(1009,1,"Trailing_comma_not_allowed_1009","Trailing comma not allowed."),Asterisk_Slash_expected:iO(1010,1,"Asterisk_Slash_expected_1010","'*/' expected."),An_element_access_expression_should_take_an_argument:iO(1011,1,"An_element_access_expression_should_take_an_argument_1011","An element access expression should take an argument."),Unexpected_token:iO(1012,1,"Unexpected_token_1012","Unexpected token."),A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma:iO(1013,1,"A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma_1013","A rest parameter or binding pattern may not have a trailing comma."),A_rest_parameter_must_be_last_in_a_parameter_list:iO(1014,1,"A_rest_parameter_must_be_last_in_a_parameter_list_1014","A rest parameter must be last in a parameter list."),Parameter_cannot_have_question_mark_and_initializer:iO(1015,1,"Parameter_cannot_have_question_mark_and_initializer_1015","Parameter cannot have question mark and initializer."),A_required_parameter_cannot_follow_an_optional_parameter:iO(1016,1,"A_required_parameter_cannot_follow_an_optional_parameter_1016","A required parameter cannot follow an optional parameter."),An_index_signature_cannot_have_a_rest_parameter:iO(1017,1,"An_index_signature_cannot_have_a_rest_parameter_1017","An index signature cannot have a rest parameter."),An_index_signature_parameter_cannot_have_an_accessibility_modifier:iO(1018,1,"An_index_signature_parameter_cannot_have_an_accessibility_modifier_1018","An index signature parameter cannot have an accessibility modifier."),An_index_signature_parameter_cannot_have_a_question_mark:iO(1019,1,"An_index_signature_parameter_cannot_have_a_question_mark_1019","An index signature parameter cannot have a question mark."),An_index_signature_parameter_cannot_have_an_initializer:iO(1020,1,"An_index_signature_parameter_cannot_have_an_initializer_1020","An index signature parameter cannot have an initializer."),An_index_signature_must_have_a_type_annotation:iO(1021,1,"An_index_signature_must_have_a_type_annotation_1021","An index signature must have a type annotation."),An_index_signature_parameter_must_have_a_type_annotation:iO(1022,1,"An_index_signature_parameter_must_have_a_type_annotation_1022","An index signature parameter must have a type annotation."),readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature:iO(1024,1,"readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature_1024","'readonly' modifier can only appear on a property declaration or index signature."),An_index_signature_cannot_have_a_trailing_comma:iO(1025,1,"An_index_signature_cannot_have_a_trailing_comma_1025","An index signature cannot have a trailing comma."),Accessibility_modifier_already_seen:iO(1028,1,"Accessibility_modifier_already_seen_1028","Accessibility modifier already seen."),_0_modifier_must_precede_1_modifier:iO(1029,1,"_0_modifier_must_precede_1_modifier_1029","'{0}' modifier must precede '{1}' modifier."),_0_modifier_already_seen:iO(1030,1,"_0_modifier_already_seen_1030","'{0}' modifier already seen."),_0_modifier_cannot_appear_on_class_elements_of_this_kind:iO(1031,1,"_0_modifier_cannot_appear_on_class_elements_of_this_kind_1031","'{0}' modifier cannot appear on class elements of this kind."),super_must_be_followed_by_an_argument_list_or_member_access:iO(1034,1,"super_must_be_followed_by_an_argument_list_or_member_access_1034","'super' must be followed by an argument list or member access."),Only_ambient_modules_can_use_quoted_names:iO(1035,1,"Only_ambient_modules_can_use_quoted_names_1035","Only ambient modules can use quoted names."),Statements_are_not_allowed_in_ambient_contexts:iO(1036,1,"Statements_are_not_allowed_in_ambient_contexts_1036","Statements are not allowed in ambient contexts."),A_declare_modifier_cannot_be_used_in_an_already_ambient_context:iO(1038,1,"A_declare_modifier_cannot_be_used_in_an_already_ambient_context_1038","A 'declare' modifier cannot be used in an already ambient context."),Initializers_are_not_allowed_in_ambient_contexts:iO(1039,1,"Initializers_are_not_allowed_in_ambient_contexts_1039","Initializers are not allowed in ambient contexts."),_0_modifier_cannot_be_used_in_an_ambient_context:iO(1040,1,"_0_modifier_cannot_be_used_in_an_ambient_context_1040","'{0}' modifier cannot be used in an ambient context."),_0_modifier_cannot_be_used_here:iO(1042,1,"_0_modifier_cannot_be_used_here_1042","'{0}' modifier cannot be used here."),_0_modifier_cannot_appear_on_a_module_or_namespace_element:iO(1044,1,"_0_modifier_cannot_appear_on_a_module_or_namespace_element_1044","'{0}' modifier cannot appear on a module or namespace element."),Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier:iO(1046,1,"Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier_1046","Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier."),A_rest_parameter_cannot_be_optional:iO(1047,1,"A_rest_parameter_cannot_be_optional_1047","A rest parameter cannot be optional."),A_rest_parameter_cannot_have_an_initializer:iO(1048,1,"A_rest_parameter_cannot_have_an_initializer_1048","A rest parameter cannot have an initializer."),A_set_accessor_must_have_exactly_one_parameter:iO(1049,1,"A_set_accessor_must_have_exactly_one_parameter_1049","A 'set' accessor must have exactly one parameter."),A_set_accessor_cannot_have_an_optional_parameter:iO(1051,1,"A_set_accessor_cannot_have_an_optional_parameter_1051","A 'set' accessor cannot have an optional parameter."),A_set_accessor_parameter_cannot_have_an_initializer:iO(1052,1,"A_set_accessor_parameter_cannot_have_an_initializer_1052","A 'set' accessor parameter cannot have an initializer."),A_set_accessor_cannot_have_rest_parameter:iO(1053,1,"A_set_accessor_cannot_have_rest_parameter_1053","A 'set' accessor cannot have rest parameter."),A_get_accessor_cannot_have_parameters:iO(1054,1,"A_get_accessor_cannot_have_parameters_1054","A 'get' accessor cannot have parameters."),Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value:iO(1055,1,"Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Prom_1055","Type '{0}' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value."),Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher:iO(1056,1,"Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056","Accessors are only available when targeting ECMAScript 5 and higher."),The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:iO(1058,1,"The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_t_1058","The return type of an async function must either be a valid promise or must not contain a callable 'then' member."),A_promise_must_have_a_then_method:iO(1059,1,"A_promise_must_have_a_then_method_1059","A promise must have a 'then' method."),The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback:iO(1060,1,"The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback_1060","The first parameter of the 'then' method of a promise must be a callback."),Enum_member_must_have_initializer:iO(1061,1,"Enum_member_must_have_initializer_1061","Enum member must have initializer."),Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method:iO(1062,1,"Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062","Type is referenced directly or indirectly in the fulfillment callback of its own 'then' method."),An_export_assignment_cannot_be_used_in_a_namespace:iO(1063,1,"An_export_assignment_cannot_be_used_in_a_namespace_1063","An export assignment cannot be used in a namespace."),The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0:iO(1064,1,"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_wri_1064","The return type of an async function or method must be the global Promise type. Did you mean to write 'Promise<{0}>'?"),In_ambient_enum_declarations_member_initializer_must_be_constant_expression:iO(1066,1,"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066","In ambient enum declarations member initializer must be constant expression."),Unexpected_token_A_constructor_method_accessor_or_property_was_expected:iO(1068,1,"Unexpected_token_A_constructor_method_accessor_or_property_was_expected_1068","Unexpected token. A constructor, method, accessor, or property was expected."),Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces:iO(1069,1,"Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces_1069","Unexpected token. A type parameter name was expected without curly braces."),_0_modifier_cannot_appear_on_a_type_member:iO(1070,1,"_0_modifier_cannot_appear_on_a_type_member_1070","'{0}' modifier cannot appear on a type member."),_0_modifier_cannot_appear_on_an_index_signature:iO(1071,1,"_0_modifier_cannot_appear_on_an_index_signature_1071","'{0}' modifier cannot appear on an index signature."),A_0_modifier_cannot_be_used_with_an_import_declaration:iO(1079,1,"A_0_modifier_cannot_be_used_with_an_import_declaration_1079","A '{0}' modifier cannot be used with an import declaration."),Invalid_reference_directive_syntax:iO(1084,1,"Invalid_reference_directive_syntax_1084","Invalid 'reference' directive syntax."),Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:iO(1085,1,"Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0_1085","Octal literals are not available when targeting ECMAScript 5 and higher. Use the syntax '{0}'."),_0_modifier_cannot_appear_on_a_constructor_declaration:iO(1089,1,"_0_modifier_cannot_appear_on_a_constructor_declaration_1089","'{0}' modifier cannot appear on a constructor declaration."),_0_modifier_cannot_appear_on_a_parameter:iO(1090,1,"_0_modifier_cannot_appear_on_a_parameter_1090","'{0}' modifier cannot appear on a parameter."),Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:iO(1091,1,"Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement_1091","Only a single variable declaration is allowed in a 'for...in' statement."),Type_parameters_cannot_appear_on_a_constructor_declaration:iO(1092,1,"Type_parameters_cannot_appear_on_a_constructor_declaration_1092","Type parameters cannot appear on a constructor declaration."),Type_annotation_cannot_appear_on_a_constructor_declaration:iO(1093,1,"Type_annotation_cannot_appear_on_a_constructor_declaration_1093","Type annotation cannot appear on a constructor declaration."),An_accessor_cannot_have_type_parameters:iO(1094,1,"An_accessor_cannot_have_type_parameters_1094","An accessor cannot have type parameters."),A_set_accessor_cannot_have_a_return_type_annotation:iO(1095,1,"A_set_accessor_cannot_have_a_return_type_annotation_1095","A 'set' accessor cannot have a return type annotation."),An_index_signature_must_have_exactly_one_parameter:iO(1096,1,"An_index_signature_must_have_exactly_one_parameter_1096","An index signature must have exactly one parameter."),_0_list_cannot_be_empty:iO(1097,1,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:iO(1098,1,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:iO(1099,1,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:iO(1100,1,"Invalid_use_of_0_in_strict_mode_1100","Invalid use of '{0}' in strict mode."),with_statements_are_not_allowed_in_strict_mode:iO(1101,1,"with_statements_are_not_allowed_in_strict_mode_1101","'with' statements are not allowed in strict mode."),delete_cannot_be_called_on_an_identifier_in_strict_mode:iO(1102,1,"delete_cannot_be_called_on_an_identifier_in_strict_mode_1102","'delete' cannot be called on an identifier in strict mode."),for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:iO(1103,1,"for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1103","'for await' loops are only allowed within async functions and at the top levels of modules."),A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement:iO(1104,1,"A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement_1104","A 'continue' statement can only be used within an enclosing iteration statement."),A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:iO(1105,1,"A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105","A 'break' statement can only be used within an enclosing iteration or switch statement."),The_left_hand_side_of_a_for_of_statement_may_not_be_async:iO(1106,1,"The_left_hand_side_of_a_for_of_statement_may_not_be_async_1106","The left-hand side of a 'for...of' statement may not be 'async'."),Jump_target_cannot_cross_function_boundary:iO(1107,1,"Jump_target_cannot_cross_function_boundary_1107","Jump target cannot cross function boundary."),A_return_statement_can_only_be_used_within_a_function_body:iO(1108,1,"A_return_statement_can_only_be_used_within_a_function_body_1108","A 'return' statement can only be used within a function body."),Expression_expected:iO(1109,1,"Expression_expected_1109","Expression expected."),Type_expected:iO(1110,1,"Type_expected_1110","Type expected."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:iO(1113,1,"A_default_clause_cannot_appear_more_than_once_in_a_switch_statement_1113","A 'default' clause cannot appear more than once in a 'switch' statement."),Duplicate_label_0:iO(1114,1,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:iO(1115,1,"A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement_1115","A 'continue' statement can only jump to a label of an enclosing iteration statement."),A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:iO(1116,1,"A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement_1116","A 'break' statement can only jump to a label of an enclosing statement."),An_object_literal_cannot_have_multiple_properties_with_the_same_name:iO(1117,1,"An_object_literal_cannot_have_multiple_properties_with_the_same_name_1117","An object literal cannot have multiple properties with the same name."),An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name:iO(1118,1,"An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name_1118","An object literal cannot have multiple get/set accessors with the same name."),An_object_literal_cannot_have_property_and_accessor_with_the_same_name:iO(1119,1,"An_object_literal_cannot_have_property_and_accessor_with_the_same_name_1119","An object literal cannot have property and accessor with the same name."),An_export_assignment_cannot_have_modifiers:iO(1120,1,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_in_strict_mode:iO(1121,1,"Octal_literals_are_not_allowed_in_strict_mode_1121","Octal literals are not allowed in strict mode."),Variable_declaration_list_cannot_be_empty:iO(1123,1,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:iO(1124,1,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:iO(1125,1,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:iO(1126,1,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:iO(1127,1,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:iO(1128,1,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:iO(1129,1,"Statement_expected_1129","Statement expected."),case_or_default_expected:iO(1130,1,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:iO(1131,1,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:iO(1132,1,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:iO(1134,1,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:iO(1135,1,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:iO(1136,1,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:iO(1137,1,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:iO(1138,1,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:iO(1139,1,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:iO(1140,1,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:iO(1141,1,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:iO(1142,1,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:iO(1144,1,"or_expected_1144","'{' or ';' expected."),or_JSX_element_expected:iO(1145,1,"or_JSX_element_expected_1145","'{' or JSX element expected."),Declaration_expected:iO(1146,1,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:iO(1147,1,"Import_declarations_in_a_namespace_cannot_reference_a_module_1147","Import declarations in a namespace cannot reference a module."),Cannot_use_imports_exports_or_module_augmentations_when_module_is_none:iO(1148,1,"Cannot_use_imports_exports_or_module_augmentations_when_module_is_none_1148","Cannot use imports, exports, or module augmentations when '--module' is 'none'."),File_name_0_differs_from_already_included_file_name_1_only_in_casing:iO(1149,1,"File_name_0_differs_from_already_included_file_name_1_only_in_casing_1149","File name '{0}' differs from already included file name '{1}' only in casing."),const_declarations_must_be_initialized:iO(1155,1,"const_declarations_must_be_initialized_1155","'const' declarations must be initialized."),const_declarations_can_only_be_declared_inside_a_block:iO(1156,1,"const_declarations_can_only_be_declared_inside_a_block_1156","'const' declarations can only be declared inside a block."),let_declarations_can_only_be_declared_inside_a_block:iO(1157,1,"let_declarations_can_only_be_declared_inside_a_block_1157","'let' declarations can only be declared inside a block."),Unterminated_template_literal:iO(1160,1,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:iO(1161,1,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:iO(1162,1,"An_object_member_cannot_be_declared_optional_1162","An object member cannot be declared optional."),A_yield_expression_is_only_allowed_in_a_generator_body:iO(1163,1,"A_yield_expression_is_only_allowed_in_a_generator_body_1163","A 'yield' expression is only allowed in a generator body."),Computed_property_names_are_not_allowed_in_enums:iO(1164,1,"Computed_property_names_are_not_allowed_in_enums_1164","Computed property names are not allowed in enums."),A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:iO(1165,1,"A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165","A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type:iO(1166,1,"A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_1166","A computed property name in a class property declaration must have a simple literal type or a 'unique symbol' type."),A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:iO(1168,1,"A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_ty_1168","A computed property name in a method overload must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:iO(1169,1,"A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169","A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:iO(1170,1,"A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type__1170","A computed property name in a type literal must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_comma_expression_is_not_allowed_in_a_computed_property_name:iO(1171,1,"A_comma_expression_is_not_allowed_in_a_computed_property_name_1171","A comma expression is not allowed in a computed property name."),extends_clause_already_seen:iO(1172,1,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:iO(1173,1,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:iO(1174,1,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:iO(1175,1,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:iO(1176,1,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:iO(1177,1,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:iO(1178,1,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:iO(1179,1,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:iO(1180,1,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:iO(1181,1,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:iO(1182,1,"A_destructuring_declaration_must_have_an_initializer_1182","A destructuring declaration must have an initializer."),An_implementation_cannot_be_declared_in_ambient_contexts:iO(1183,1,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:iO(1184,1,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:iO(1185,1,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:iO(1186,1,"A_rest_element_cannot_have_an_initializer_1186","A rest element cannot have an initializer."),A_parameter_property_may_not_be_declared_using_a_binding_pattern:iO(1187,1,"A_parameter_property_may_not_be_declared_using_a_binding_pattern_1187","A parameter property may not be declared using a binding pattern."),Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement:iO(1188,1,"Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement_1188","Only a single variable declaration is allowed in a 'for...of' statement."),The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:iO(1189,1,"The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer_1189","The variable declaration of a 'for...in' statement cannot have an initializer."),The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer:iO(1190,1,"The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer_1190","The variable declaration of a 'for...of' statement cannot have an initializer."),An_import_declaration_cannot_have_modifiers:iO(1191,1,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:iO(1192,1,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:iO(1193,1,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:iO(1194,1,"Export_declarations_are_not_permitted_in_a_namespace_1194","Export declarations are not permitted in a namespace."),export_Asterisk_does_not_re_export_a_default:iO(1195,1,"export_Asterisk_does_not_re_export_a_default_1195","'export *' does not re-export a default."),Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified:iO(1196,1,"Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified_1196","Catch clause variable type annotation must be 'any' or 'unknown' if specified."),Catch_clause_variable_cannot_have_an_initializer:iO(1197,1,"Catch_clause_variable_cannot_have_an_initializer_1197","Catch clause variable cannot have an initializer."),An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive:iO(1198,1,"An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198","An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive."),Unterminated_Unicode_escape_sequence:iO(1199,1,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:iO(1200,1,"Line_terminator_not_permitted_before_arrow_1200","Line terminator not permitted before arrow."),Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead:iO(1202,1,"Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_1202","Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from \"mod\"', 'import {a} from \"mod\"', 'import d from \"mod\"', or another module format instead."),Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead:iO(1203,1,"Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203","Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead."),Re_exporting_a_type_when_0_is_enabled_requires_using_export_type:iO(1205,1,"Re_exporting_a_type_when_0_is_enabled_requires_using_export_type_1205","Re-exporting a type when '{0}' is enabled requires using 'export type'."),Decorators_are_not_valid_here:iO(1206,1,"Decorators_are_not_valid_here_1206","Decorators are not valid here."),Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name:iO(1207,1,"Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name_1207","Decorators cannot be applied to multiple get/set accessors of the same name."),Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0:iO(1209,1,"Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0_1209","Invalid optional chain from new expression. Did you mean to call '{0}()'?"),Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode:iO(1210,1,"Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of__1210","Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of '{0}'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode."),A_class_declaration_without_the_default_modifier_must_have_a_name:iO(1211,1,"A_class_declaration_without_the_default_modifier_must_have_a_name_1211","A class declaration without the 'default' modifier must have a name."),Identifier_expected_0_is_a_reserved_word_in_strict_mode:iO(1212,1,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212","Identifier expected. '{0}' is a reserved word in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:iO(1213,1,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_stric_1213","Identifier expected. '{0}' is a reserved word in strict mode. Class definitions are automatically in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:iO(1214,1,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode_1214","Identifier expected. '{0}' is a reserved word in strict mode. Modules are automatically in strict mode."),Invalid_use_of_0_Modules_are_automatically_in_strict_mode:iO(1215,1,"Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215","Invalid use of '{0}'. Modules are automatically in strict mode."),Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules:iO(1216,1,"Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules_1216","Identifier expected. '__esModule' is reserved as an exported marker when transforming ECMAScript modules."),Export_assignment_is_not_supported_when_module_flag_is_system:iO(1218,1,"Export_assignment_is_not_supported_when_module_flag_is_system_1218","Export assignment is not supported when '--module' flag is 'system'."),Generators_are_not_allowed_in_an_ambient_context:iO(1221,1,"Generators_are_not_allowed_in_an_ambient_context_1221","Generators are not allowed in an ambient context."),An_overload_signature_cannot_be_declared_as_a_generator:iO(1222,1,"An_overload_signature_cannot_be_declared_as_a_generator_1222","An overload signature cannot be declared as a generator."),_0_tag_already_specified:iO(1223,1,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:iO(1224,1,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:iO(1225,1,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:iO(1226,1,"Type_predicate_0_is_not_assignable_to_1_1226","Type predicate '{0}' is not assignable to '{1}'."),Parameter_0_is_not_in_the_same_position_as_parameter_1:iO(1227,1,"Parameter_0_is_not_in_the_same_position_as_parameter_1_1227","Parameter '{0}' is not in the same position as parameter '{1}'."),A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods:iO(1228,1,"A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods_1228","A type predicate is only allowed in return type position for functions and methods."),A_type_predicate_cannot_reference_a_rest_parameter:iO(1229,1,"A_type_predicate_cannot_reference_a_rest_parameter_1229","A type predicate cannot reference a rest parameter."),A_type_predicate_cannot_reference_element_0_in_a_binding_pattern:iO(1230,1,"A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230","A type predicate cannot reference element '{0}' in a binding pattern."),An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration:iO(1231,1,"An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration_1231","An export assignment must be at the top level of a file or module declaration."),An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module:iO(1232,1,"An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1232","An import declaration can only be used at the top level of a namespace or module."),An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module:iO(1233,1,"An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1233","An export declaration can only be used at the top level of a namespace or module."),An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:iO(1234,1,"An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file_1234","An ambient module declaration is only allowed at the top level in a file."),A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module:iO(1235,1,"A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module_1235","A namespace declaration is only allowed at the top level of a namespace or module."),The_return_type_of_a_property_decorator_function_must_be_either_void_or_any:iO(1236,1,"The_return_type_of_a_property_decorator_function_must_be_either_void_or_any_1236","The return type of a property decorator function must be either 'void' or 'any'."),The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any:iO(1237,1,"The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any_1237","The return type of a parameter decorator function must be either 'void' or 'any'."),Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression:iO(1238,1,"Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression_1238","Unable to resolve signature of class decorator when called as an expression."),Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression:iO(1239,1,"Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression_1239","Unable to resolve signature of parameter decorator when called as an expression."),Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression:iO(1240,1,"Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression_1240","Unable to resolve signature of property decorator when called as an expression."),Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression:iO(1241,1,"Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression_1241","Unable to resolve signature of method decorator when called as an expression."),abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration:iO(1242,1,"abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242","'abstract' modifier can only appear on a class, method, or property declaration."),_0_modifier_cannot_be_used_with_1_modifier:iO(1243,1,"_0_modifier_cannot_be_used_with_1_modifier_1243","'{0}' modifier cannot be used with '{1}' modifier."),Abstract_methods_can_only_appear_within_an_abstract_class:iO(1244,1,"Abstract_methods_can_only_appear_within_an_abstract_class_1244","Abstract methods can only appear within an abstract class."),Method_0_cannot_have_an_implementation_because_it_is_marked_abstract:iO(1245,1,"Method_0_cannot_have_an_implementation_because_it_is_marked_abstract_1245","Method '{0}' cannot have an implementation because it is marked abstract."),An_interface_property_cannot_have_an_initializer:iO(1246,1,"An_interface_property_cannot_have_an_initializer_1246","An interface property cannot have an initializer."),A_type_literal_property_cannot_have_an_initializer:iO(1247,1,"A_type_literal_property_cannot_have_an_initializer_1247","A type literal property cannot have an initializer."),A_class_member_cannot_have_the_0_keyword:iO(1248,1,"A_class_member_cannot_have_the_0_keyword_1248","A class member cannot have the '{0}' keyword."),A_decorator_can_only_decorate_a_method_implementation_not_an_overload:iO(1249,1,"A_decorator_can_only_decorate_a_method_implementation_not_an_overload_1249","A decorator can only decorate a method implementation, not an overload."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5:iO(1250,1,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_1250","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:iO(1251,1,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_d_1251","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:iO(1252,1,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_1252","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode."),A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference:iO(1254,1,"A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_refere_1254","A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference."),A_definite_assignment_assertion_is_not_permitted_in_this_context:iO(1255,1,"A_definite_assignment_assertion_is_not_permitted_in_this_context_1255","A definite assignment assertion '!' is not permitted in this context."),A_required_element_cannot_follow_an_optional_element:iO(1257,1,"A_required_element_cannot_follow_an_optional_element_1257","A required element cannot follow an optional element."),A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration:iO(1258,1,"A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration_1258","A default export must be at the top level of a file or module declaration."),Module_0_can_only_be_default_imported_using_the_1_flag:iO(1259,1,"Module_0_can_only_be_default_imported_using_the_1_flag_1259","Module '{0}' can only be default-imported using the '{1}' flag"),Keywords_cannot_contain_escape_characters:iO(1260,1,"Keywords_cannot_contain_escape_characters_1260","Keywords cannot contain escape characters."),Already_included_file_name_0_differs_from_file_name_1_only_in_casing:iO(1261,1,"Already_included_file_name_0_differs_from_file_name_1_only_in_casing_1261","Already included file name '{0}' differs from file name '{1}' only in casing."),Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module:iO(1262,1,"Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module_1262","Identifier expected. '{0}' is a reserved word at the top-level of a module."),Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:iO(1263,1,"Declarations_with_initializers_cannot_also_have_definite_assignment_assertions_1263","Declarations with initializers cannot also have definite assignment assertions."),Declarations_with_definite_assignment_assertions_must_also_have_type_annotations:iO(1264,1,"Declarations_with_definite_assignment_assertions_must_also_have_type_annotations_1264","Declarations with definite assignment assertions must also have type annotations."),A_rest_element_cannot_follow_another_rest_element:iO(1265,1,"A_rest_element_cannot_follow_another_rest_element_1265","A rest element cannot follow another rest element."),An_optional_element_cannot_follow_a_rest_element:iO(1266,1,"An_optional_element_cannot_follow_a_rest_element_1266","An optional element cannot follow a rest element."),Property_0_cannot_have_an_initializer_because_it_is_marked_abstract:iO(1267,1,"Property_0_cannot_have_an_initializer_because_it_is_marked_abstract_1267","Property '{0}' cannot have an initializer because it is marked abstract."),An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type:iO(1268,1,"An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type_1268","An index signature parameter type must be 'string', 'number', 'symbol', or a template literal type."),Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled:iO(1269,1,"Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled_1269","Cannot use 'export import' on a type or type-only namespace when '{0}' is enabled."),Decorator_function_return_type_0_is_not_assignable_to_type_1:iO(1270,1,"Decorator_function_return_type_0_is_not_assignable_to_type_1_1270","Decorator function return type '{0}' is not assignable to type '{1}'."),Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any:iO(1271,1,"Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any_1271","Decorator function return type is '{0}' but is expected to be 'void' or 'any'."),A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled:iO(1272,1,"A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_w_1272","A type referenced in a decorated signature must be imported with 'import type' or a namespace import when 'isolatedModules' and 'emitDecoratorMetadata' are enabled."),_0_modifier_cannot_appear_on_a_type_parameter:iO(1273,1,"_0_modifier_cannot_appear_on_a_type_parameter_1273","'{0}' modifier cannot appear on a type parameter"),_0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias:iO(1274,1,"_0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias_1274","'{0}' modifier can only appear on a type parameter of a class, interface or type alias"),accessor_modifier_can_only_appear_on_a_property_declaration:iO(1275,1,"accessor_modifier_can_only_appear_on_a_property_declaration_1275","'accessor' modifier can only appear on a property declaration."),An_accessor_property_cannot_be_declared_optional:iO(1276,1,"An_accessor_property_cannot_be_declared_optional_1276","An 'accessor' property cannot be declared optional."),_0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class:iO(1277,1,"_0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class_1277","'{0}' modifier can only appear on a type parameter of a function, method or class"),The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_0:iO(1278,1,"The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_0_1278","The runtime will invoke the decorator with {1} arguments, but the decorator expects {0}."),The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_at_least_0:iO(1279,1,"The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_at_least_0_1279","The runtime will invoke the decorator with {1} arguments, but the decorator expects at least {0}."),Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to_be_a_global_script_set_moduleDetection_to_force_or_add_an_empty_export_statement:iO(1280,1,"Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to__1280","Namespaces are not allowed in global script files when '{0}' is enabled. If this file is not intended to be a global script, set 'moduleDetection' to 'force' or add an empty 'export {}' statement."),Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead:iO(1281,1,"Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead_1281","Cannot access '{0}' from another file without qualification when '{1}' is enabled. Use '{2}' instead."),An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type:iO(1282,1,"An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers__1282","An 'export =' declaration must reference a value when 'verbatimModuleSyntax' is enabled, but '{0}' only refers to a type."),An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration:iO(1283,1,"An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolve_1283","An 'export =' declaration must reference a real value when 'verbatimModuleSyntax' is enabled, but '{0}' resolves to a type-only declaration."),An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type:iO(1284,1,"An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_1284","An 'export default' must reference a value when 'verbatimModuleSyntax' is enabled, but '{0}' only refers to a type."),An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration:iO(1285,1,"An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_1285","An 'export default' must reference a real value when 'verbatimModuleSyntax' is enabled, but '{0}' resolves to a type-only declaration."),ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled:iO(1286,1,"ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled_1286","ESM syntax is not allowed in a CommonJS module when 'verbatimModuleSyntax' is enabled."),A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled:iO(1287,1,"A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimM_1287","A top-level 'export' modifier cannot be used on value declarations in a CommonJS module when 'verbatimModuleSyntax' is enabled."),An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabled:iO(1288,1,"An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabl_1288","An import alias cannot resolve to a type or type-only declaration when 'verbatimModuleSyntax' is enabled."),with_statements_are_not_allowed_in_an_async_function_block:iO(1300,1,"with_statements_are_not_allowed_in_an_async_function_block_1300","'with' statements are not allowed in an async function block."),await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:iO(1308,1,"await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1308","'await' expressions are only allowed within async functions and at the top levels of modules."),The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level:iO(1309,1,"The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level_1309","The current file is a CommonJS module and cannot use 'await' at the top level."),Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern:iO(1312,1,"Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_1312","Did you mean to use a ':'? An '=' can only follow a property name when the containing object literal is part of a destructuring pattern."),The_body_of_an_if_statement_cannot_be_the_empty_statement:iO(1313,1,"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313","The body of an 'if' statement cannot be the empty statement."),Global_module_exports_may_only_appear_in_module_files:iO(1314,1,"Global_module_exports_may_only_appear_in_module_files_1314","Global module exports may only appear in module files."),Global_module_exports_may_only_appear_in_declaration_files:iO(1315,1,"Global_module_exports_may_only_appear_in_declaration_files_1315","Global module exports may only appear in declaration files."),Global_module_exports_may_only_appear_at_top_level:iO(1316,1,"Global_module_exports_may_only_appear_at_top_level_1316","Global module exports may only appear at top level."),A_parameter_property_cannot_be_declared_using_a_rest_parameter:iO(1317,1,"A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317","A parameter property cannot be declared using a rest parameter."),An_abstract_accessor_cannot_have_an_implementation:iO(1318,1,"An_abstract_accessor_cannot_have_an_implementation_1318","An abstract accessor cannot have an implementation."),A_default_export_can_only_be_used_in_an_ECMAScript_style_module:iO(1319,1,"A_default_export_can_only_be_used_in_an_ECMAScript_style_module_1319","A default export can only be used in an ECMAScript-style module."),Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:iO(1320,1,"Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member_1320","Type of 'await' operand must either be a valid promise or must not contain a callable 'then' member."),Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:iO(1321,1,"Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321","Type of 'yield' operand in an async generator must either be a valid promise or must not contain a callable 'then' member."),Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:iO(1322,1,"Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322","Type of iterated elements of a 'yield*' operand must either be a valid promise or must not contain a callable 'then' member."),Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node16_or_nodenext:iO(1323,1,"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd__1323","Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', or 'nodenext'."),Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_or_nodenext:iO(1324,1,"Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_or_nod_1324","Dynamic imports only support a second argument when the '--module' option is set to 'esnext', 'node16', or 'nodenext'."),Argument_of_dynamic_import_cannot_be_spread_element:iO(1325,1,"Argument_of_dynamic_import_cannot_be_spread_element_1325","Argument of dynamic import cannot be spread element."),This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments:iO(1326,1,"This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot__1326","This use of 'import' is invalid. 'import()' calls can be written, but they must have parentheses and cannot have type arguments."),String_literal_with_double_quotes_expected:iO(1327,1,"String_literal_with_double_quotes_expected_1327","String literal with double quotes expected."),Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal:iO(1328,1,"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328","Property value can only be string literal, numeric literal, 'true', 'false', 'null', object literal or array literal."),_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0:iO(1329,1,"_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write__1329","'{0}' accepts too few arguments to be used as a decorator here. Did you mean to call it first and write '@{0}()'?"),A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly:iO(1330,1,"A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly_1330","A property of an interface or type literal whose type is a 'unique symbol' type must be 'readonly'."),A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly:iO(1331,1,"A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly_1331","A property of a class whose type is a 'unique symbol' type must be both 'static' and 'readonly'."),A_variable_whose_type_is_a_unique_symbol_type_must_be_const:iO(1332,1,"A_variable_whose_type_is_a_unique_symbol_type_must_be_const_1332","A variable whose type is a 'unique symbol' type must be 'const'."),unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name:iO(1333,1,"unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name_1333","'unique symbol' types may not be used on a variable declaration with a binding name."),unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement:iO(1334,1,"unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334","'unique symbol' types are only allowed on variables in a variable statement."),unique_symbol_types_are_not_allowed_here:iO(1335,1,"unique_symbol_types_are_not_allowed_here_1335","'unique symbol' types are not allowed here."),An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead:iO(1337,1,"An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_o_1337","An index signature parameter type cannot be a literal type or generic type. Consider using a mapped object type instead."),infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type:iO(1338,1,"infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type_1338","'infer' declarations are only permitted in the 'extends' clause of a conditional type."),Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:iO(1339,1,"Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here_1339","Module '{0}' does not refer to a value, but is used as a value here."),Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0:iO(1340,1,"Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0_1340","Module '{0}' does not refer to a type, but is used as a type here. Did you mean 'typeof import('{0}')'?"),Class_constructor_may_not_be_an_accessor:iO(1341,1,"Class_constructor_may_not_be_an_accessor_1341","Class constructor may not be an accessor."),The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node16_or_nodenext:iO(1343,1,"The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system__1343","The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'."),A_label_is_not_allowed_here:iO(1344,1,"A_label_is_not_allowed_here_1344","'A label is not allowed here."),An_expression_of_type_void_cannot_be_tested_for_truthiness:iO(1345,1,"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345","An expression of type 'void' cannot be tested for truthiness."),This_parameter_is_not_allowed_with_use_strict_directive:iO(1346,1,"This_parameter_is_not_allowed_with_use_strict_directive_1346","This parameter is not allowed with 'use strict' directive."),use_strict_directive_cannot_be_used_with_non_simple_parameter_list:iO(1347,1,"use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347","'use strict' directive cannot be used with non-simple parameter list."),Non_simple_parameter_declared_here:iO(1348,1,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:iO(1349,1,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:iO(1350,3,"Print_the_final_configuration_instead_of_building_1350","Print the final configuration instead of building."),An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal:iO(1351,1,"An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal_1351","An identifier or keyword cannot immediately follow a numeric literal."),A_bigint_literal_cannot_use_exponential_notation:iO(1352,1,"A_bigint_literal_cannot_use_exponential_notation_1352","A bigint literal cannot use exponential notation."),A_bigint_literal_must_be_an_integer:iO(1353,1,"A_bigint_literal_must_be_an_integer_1353","A bigint literal must be an integer."),readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types:iO(1354,1,"readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types_1354","'readonly' type modifier is only permitted on array and tuple literal types."),A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals:iO(1355,1,"A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355","A 'const' assertions can only be applied to references to enum members, or string, number, boolean, array, or object literals."),Did_you_mean_to_mark_this_function_as_async:iO(1356,1,"Did_you_mean_to_mark_this_function_as_async_1356","Did you mean to mark this function as 'async'?"),An_enum_member_name_must_be_followed_by_a_or:iO(1357,1,"An_enum_member_name_must_be_followed_by_a_or_1357","An enum member name must be followed by a ',', '=', or '}'."),Tagged_template_expressions_are_not_permitted_in_an_optional_chain:iO(1358,1,"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358","Tagged template expressions are not permitted in an optional chain."),Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:iO(1359,1,"Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here_1359","Identifier expected. '{0}' is a reserved word that cannot be used here."),Type_0_does_not_satisfy_the_expected_type_1:iO(1360,1,"Type_0_does_not_satisfy_the_expected_type_1_1360","Type '{0}' does not satisfy the expected type '{1}'."),_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type:iO(1361,1,"_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type_1361","'{0}' cannot be used as a value because it was imported using 'import type'."),_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:iO(1362,1,"_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type_1362","'{0}' cannot be used as a value because it was exported using 'export type'."),A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both:iO(1363,1,"A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both_1363","A type-only import can specify a default import or named bindings, but not both."),Convert_to_type_only_export:iO(1364,3,"Convert_to_type_only_export_1364","Convert to type-only export"),Convert_all_re_exported_types_to_type_only_exports:iO(1365,3,"Convert_all_re_exported_types_to_type_only_exports_1365","Convert all re-exported types to type-only exports"),Split_into_two_separate_import_declarations:iO(1366,3,"Split_into_two_separate_import_declarations_1366","Split into two separate import declarations"),Split_all_invalid_type_only_imports:iO(1367,3,"Split_all_invalid_type_only_imports_1367","Split all invalid type-only imports"),Class_constructor_may_not_be_a_generator:iO(1368,1,"Class_constructor_may_not_be_a_generator_1368","Class constructor may not be a generator."),Did_you_mean_0:iO(1369,3,"Did_you_mean_0_1369","Did you mean '{0}'?"),This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error:iO(1371,1,"This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set__1371","This import is never used as a value and must use 'import type' because 'importsNotUsedAsValues' is set to 'error'."),Convert_to_type_only_import:iO(1373,3,"Convert_to_type_only_import_1373","Convert to type-only import"),Convert_all_imports_not_used_as_a_value_to_type_only_imports:iO(1374,3,"Convert_all_imports_not_used_as_a_value_to_type_only_imports_1374","Convert all imports not used as a value to type-only imports"),await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:iO(1375,1,"await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_fi_1375","'await' expressions are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),_0_was_imported_here:iO(1376,3,"_0_was_imported_here_1376","'{0}' was imported here."),_0_was_exported_here:iO(1377,3,"_0_was_exported_here_1377","'{0}' was exported here."),Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:iO(1378,1,"Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_n_1378","Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher."),An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:iO(1379,1,"An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type_1379","An import alias cannot reference a declaration that was exported using 'export type'."),An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type:iO(1380,1,"An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type_1380","An import alias cannot reference a declaration that was imported using 'import type'."),Unexpected_token_Did_you_mean_or_rbrace:iO(1381,1,"Unexpected_token_Did_you_mean_or_rbrace_1381","Unexpected token. Did you mean `{'}'}` or `}`?"),Unexpected_token_Did_you_mean_or_gt:iO(1382,1,"Unexpected_token_Did_you_mean_or_gt_1382","Unexpected token. Did you mean `{'>'}` or `>`?"),Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:iO(1385,1,"Function_type_notation_must_be_parenthesized_when_used_in_a_union_type_1385","Function type notation must be parenthesized when used in a union type."),Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:iO(1386,1,"Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type_1386","Constructor type notation must be parenthesized when used in a union type."),Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:iO(1387,1,"Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1387","Function type notation must be parenthesized when used in an intersection type."),Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:iO(1388,1,"Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1388","Constructor type notation must be parenthesized when used in an intersection type."),_0_is_not_allowed_as_a_variable_declaration_name:iO(1389,1,"_0_is_not_allowed_as_a_variable_declaration_name_1389","'{0}' is not allowed as a variable declaration name."),_0_is_not_allowed_as_a_parameter_name:iO(1390,1,"_0_is_not_allowed_as_a_parameter_name_1390","'{0}' is not allowed as a parameter name."),An_import_alias_cannot_use_import_type:iO(1392,1,"An_import_alias_cannot_use_import_type_1392","An import alias cannot use 'import type'"),Imported_via_0_from_file_1:iO(1393,3,"Imported_via_0_from_file_1_1393","Imported via {0} from file '{1}'"),Imported_via_0_from_file_1_with_packageId_2:iO(1394,3,"Imported_via_0_from_file_1_with_packageId_2_1394","Imported via {0} from file '{1}' with packageId '{2}'"),Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions:iO(1395,3,"Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions_1395","Imported via {0} from file '{1}' to import 'importHelpers' as specified in compilerOptions"),Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions:iO(1396,3,"Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions_1396","Imported via {0} from file '{1}' with packageId '{2}' to import 'importHelpers' as specified in compilerOptions"),Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions:iO(1397,3,"Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions_1397","Imported via {0} from file '{1}' to import 'jsx' and 'jsxs' factory functions"),Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions:iO(1398,3,"Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions_1398","Imported via {0} from file '{1}' with packageId '{2}' to import 'jsx' and 'jsxs' factory functions"),File_is_included_via_import_here:iO(1399,3,"File_is_included_via_import_here_1399","File is included via import here."),Referenced_via_0_from_file_1:iO(1400,3,"Referenced_via_0_from_file_1_1400","Referenced via '{0}' from file '{1}'"),File_is_included_via_reference_here:iO(1401,3,"File_is_included_via_reference_here_1401","File is included via reference here."),Type_library_referenced_via_0_from_file_1:iO(1402,3,"Type_library_referenced_via_0_from_file_1_1402","Type library referenced via '{0}' from file '{1}'"),Type_library_referenced_via_0_from_file_1_with_packageId_2:iO(1403,3,"Type_library_referenced_via_0_from_file_1_with_packageId_2_1403","Type library referenced via '{0}' from file '{1}' with packageId '{2}'"),File_is_included_via_type_library_reference_here:iO(1404,3,"File_is_included_via_type_library_reference_here_1404","File is included via type library reference here."),Library_referenced_via_0_from_file_1:iO(1405,3,"Library_referenced_via_0_from_file_1_1405","Library referenced via '{0}' from file '{1}'"),File_is_included_via_library_reference_here:iO(1406,3,"File_is_included_via_library_reference_here_1406","File is included via library reference here."),Matched_by_include_pattern_0_in_1:iO(1407,3,"Matched_by_include_pattern_0_in_1_1407","Matched by include pattern '{0}' in '{1}'"),File_is_matched_by_include_pattern_specified_here:iO(1408,3,"File_is_matched_by_include_pattern_specified_here_1408","File is matched by include pattern specified here."),Part_of_files_list_in_tsconfig_json:iO(1409,3,"Part_of_files_list_in_tsconfig_json_1409","Part of 'files' list in tsconfig.json"),File_is_matched_by_files_list_specified_here:iO(1410,3,"File_is_matched_by_files_list_specified_here_1410","File is matched by 'files' list specified here."),Output_from_referenced_project_0_included_because_1_specified:iO(1411,3,"Output_from_referenced_project_0_included_because_1_specified_1411","Output from referenced project '{0}' included because '{1}' specified"),Output_from_referenced_project_0_included_because_module_is_specified_as_none:iO(1412,3,"Output_from_referenced_project_0_included_because_module_is_specified_as_none_1412","Output from referenced project '{0}' included because '--module' is specified as 'none'"),File_is_output_from_referenced_project_specified_here:iO(1413,3,"File_is_output_from_referenced_project_specified_here_1413","File is output from referenced project specified here."),Source_from_referenced_project_0_included_because_1_specified:iO(1414,3,"Source_from_referenced_project_0_included_because_1_specified_1414","Source from referenced project '{0}' included because '{1}' specified"),Source_from_referenced_project_0_included_because_module_is_specified_as_none:iO(1415,3,"Source_from_referenced_project_0_included_because_module_is_specified_as_none_1415","Source from referenced project '{0}' included because '--module' is specified as 'none'"),File_is_source_from_referenced_project_specified_here:iO(1416,3,"File_is_source_from_referenced_project_specified_here_1416","File is source from referenced project specified here."),Entry_point_of_type_library_0_specified_in_compilerOptions:iO(1417,3,"Entry_point_of_type_library_0_specified_in_compilerOptions_1417","Entry point of type library '{0}' specified in compilerOptions"),Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1:iO(1418,3,"Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1_1418","Entry point of type library '{0}' specified in compilerOptions with packageId '{1}'"),File_is_entry_point_of_type_library_specified_here:iO(1419,3,"File_is_entry_point_of_type_library_specified_here_1419","File is entry point of type library specified here."),Entry_point_for_implicit_type_library_0:iO(1420,3,"Entry_point_for_implicit_type_library_0_1420","Entry point for implicit type library '{0}'"),Entry_point_for_implicit_type_library_0_with_packageId_1:iO(1421,3,"Entry_point_for_implicit_type_library_0_with_packageId_1_1421","Entry point for implicit type library '{0}' with packageId '{1}'"),Library_0_specified_in_compilerOptions:iO(1422,3,"Library_0_specified_in_compilerOptions_1422","Library '{0}' specified in compilerOptions"),File_is_library_specified_here:iO(1423,3,"File_is_library_specified_here_1423","File is library specified here."),Default_library:iO(1424,3,"Default_library_1424","Default library"),Default_library_for_target_0:iO(1425,3,"Default_library_for_target_0_1425","Default library for target '{0}'"),File_is_default_library_for_target_specified_here:iO(1426,3,"File_is_default_library_for_target_specified_here_1426","File is default library for target specified here."),Root_file_specified_for_compilation:iO(1427,3,"Root_file_specified_for_compilation_1427","Root file specified for compilation"),File_is_output_of_project_reference_source_0:iO(1428,3,"File_is_output_of_project_reference_source_0_1428","File is output of project reference source '{0}'"),File_redirects_to_file_0:iO(1429,3,"File_redirects_to_file_0_1429","File redirects to file '{0}'"),The_file_is_in_the_program_because_Colon:iO(1430,3,"The_file_is_in_the_program_because_Colon_1430","The file is in the program because:"),for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:iO(1431,1,"for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_1431","'for await' loops are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:iO(1432,1,"Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_nod_1432","Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher."),Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters:iO(1433,1,"Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters_1433","Neither decorators nor modifiers may be applied to 'this' parameters."),Unexpected_keyword_or_identifier:iO(1434,1,"Unexpected_keyword_or_identifier_1434","Unexpected keyword or identifier."),Unknown_keyword_or_identifier_Did_you_mean_0:iO(1435,1,"Unknown_keyword_or_identifier_Did_you_mean_0_1435","Unknown keyword or identifier. Did you mean '{0}'?"),Decorators_must_precede_the_name_and_all_keywords_of_property_declarations:iO(1436,1,"Decorators_must_precede_the_name_and_all_keywords_of_property_declarations_1436","Decorators must precede the name and all keywords of property declarations."),Namespace_must_be_given_a_name:iO(1437,1,"Namespace_must_be_given_a_name_1437","Namespace must be given a name."),Interface_must_be_given_a_name:iO(1438,1,"Interface_must_be_given_a_name_1438","Interface must be given a name."),Type_alias_must_be_given_a_name:iO(1439,1,"Type_alias_must_be_given_a_name_1439","Type alias must be given a name."),Variable_declaration_not_allowed_at_this_location:iO(1440,1,"Variable_declaration_not_allowed_at_this_location_1440","Variable declaration not allowed at this location."),Cannot_start_a_function_call_in_a_type_annotation:iO(1441,1,"Cannot_start_a_function_call_in_a_type_annotation_1441","Cannot start a function call in a type annotation."),Expected_for_property_initializer:iO(1442,1,"Expected_for_property_initializer_1442","Expected '=' for property initializer."),Module_declaration_names_may_only_use_or_quoted_strings:iO(1443,1,"Module_declaration_names_may_only_use_or_quoted_strings_1443","Module declaration names may only use ' or \" quoted strings."),_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:iO(1444,1,"_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedMod_1444","'{0}' is a type and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:iO(1446,1,"_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveVa_1446","'{0}' resolves to a type-only declaration and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_enabled:iO(1448,1,"_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_1448","'{0}' resolves to a type-only declaration and must be re-exported using a type-only re-export when '{1}' is enabled."),Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed:iO(1449,3,"Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed_1449","Preserve unused imported values in the JavaScript output that would otherwise be removed."),Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments:iO(1450,3,"Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments_1450","Dynamic imports can only accept a module specifier and an optional assertion as arguments"),Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression:iO(1451,1,"Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member__1451","Private identifiers are only allowed in class bodies and may only be used as part of a class member declaration, property access, or on the left-hand-side of an 'in' expression"),resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext:iO(1452,1,"resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext_1452","'resolution-mode' assertions are only supported when `moduleResolution` is `node16` or `nodenext`."),resolution_mode_should_be_either_require_or_import:iO(1453,1,"resolution_mode_should_be_either_require_or_import_1453","`resolution-mode` should be either `require` or `import`."),resolution_mode_can_only_be_set_for_type_only_imports:iO(1454,1,"resolution_mode_can_only_be_set_for_type_only_imports_1454","`resolution-mode` can only be set for type-only imports."),resolution_mode_is_the_only_valid_key_for_type_import_assertions:iO(1455,1,"resolution_mode_is_the_only_valid_key_for_type_import_assertions_1455","`resolution-mode` is the only valid key for type import assertions."),Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require:iO(1456,1,"Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1456","Type import assertions should have exactly one key - `resolution-mode` - with value `import` or `require`."),Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk:iO(1457,3,"Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk_1457","Matched by default include pattern '**/*'"),File_is_ECMAScript_module_because_0_has_field_type_with_value_module:iO(1458,3,"File_is_ECMAScript_module_because_0_has_field_type_with_value_module_1458",'File is ECMAScript module because \'{0}\' has field "type" with value "module"'),File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module:iO(1459,3,"File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module_1459",'File is CommonJS module because \'{0}\' has field "type" whose value is not "module"'),File_is_CommonJS_module_because_0_does_not_have_field_type:iO(1460,3,"File_is_CommonJS_module_because_0_does_not_have_field_type_1460","File is CommonJS module because '{0}' does not have field \"type\""),File_is_CommonJS_module_because_package_json_was_not_found:iO(1461,3,"File_is_CommonJS_module_because_package_json_was_not_found_1461","File is CommonJS module because 'package.json' was not found"),The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output:iO(1470,1,"The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output_1470","The 'import.meta' meta-property is not allowed in files which will build into CommonJS output."),Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_with_require_Use_an_ECMAScript_import_instead:iO(1471,1,"Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_c_1471","Module '{0}' cannot be imported using this construct. The specifier only resolves to an ES module, which cannot be imported with 'require'. Use an ECMAScript import instead."),catch_or_finally_expected:iO(1472,1,"catch_or_finally_expected_1472","'catch' or 'finally' expected."),An_import_declaration_can_only_be_used_at_the_top_level_of_a_module:iO(1473,1,"An_import_declaration_can_only_be_used_at_the_top_level_of_a_module_1473","An import declaration can only be used at the top level of a module."),An_export_declaration_can_only_be_used_at_the_top_level_of_a_module:iO(1474,1,"An_export_declaration_can_only_be_used_at_the_top_level_of_a_module_1474","An export declaration can only be used at the top level of a module."),Control_what_method_is_used_to_detect_module_format_JS_files:iO(1475,3,"Control_what_method_is_used_to_detect_module_format_JS_files_1475","Control what method is used to detect module-format JS files."),auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules:iO(1476,3,"auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_w_1476",'"auto": Treat files with imports, exports, import.meta, jsx (with jsx: react-jsx), or esm format (with module: node16+) as modules.'),An_instantiation_expression_cannot_be_followed_by_a_property_access:iO(1477,1,"An_instantiation_expression_cannot_be_followed_by_a_property_access_1477","An instantiation expression cannot be followed by a property access."),Identifier_or_string_literal_expected:iO(1478,1,"Identifier_or_string_literal_expected_1478","Identifier or string literal expected."),The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_referenced_file_is_an_ECMAScript_module_and_cannot_be_imported_with_require_Consider_writing_a_dynamic_import_0_call_instead:iO(1479,1,"The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_reference_1479","The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import(\"{0}\")' call instead."),To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_package_json_file_with_type_Colon_module:iO(1480,3,"To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_packag_1480",'To convert this file to an ECMAScript module, change its file extension to \'{0}\' or create a local package.json file with `{ "type": "module" }`.'),To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Colon_module_to_1:iO(1481,3,"To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Co_1481","To convert this file to an ECMAScript module, change its file extension to '{0}', or add the field `\"type\": \"module\"` to '{1}'."),To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0:iO(1482,3,"To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0_1482",'To convert this file to an ECMAScript module, add the field `"type": "module"` to \'{0}\'.'),To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module:iO(1483,3,"To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module_1483",'To convert this file to an ECMAScript module, create a local package.json file with `{ "type": "module" }`.'),_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:iO(1484,1,"_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled_1484","'{0}' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:iO(1485,1,"_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimMo_1485","'{0}' resolves to a type-only declaration and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled."),Decorator_used_before_export_here:iO(1486,1,"Decorator_used_before_export_here_1486","Decorator used before 'export' here."),The_types_of_0_are_incompatible_between_these_types:iO(2200,1,"The_types_of_0_are_incompatible_between_these_types_2200","The types of '{0}' are incompatible between these types."),The_types_returned_by_0_are_incompatible_between_these_types:iO(2201,1,"The_types_returned_by_0_are_incompatible_between_these_types_2201","The types returned by '{0}' are incompatible between these types."),Call_signature_return_types_0_and_1_are_incompatible:iO(2202,1,"Call_signature_return_types_0_and_1_are_incompatible_2202","Call signature return types '{0}' and '{1}' are incompatible.",void 0,!0),Construct_signature_return_types_0_and_1_are_incompatible:iO(2203,1,"Construct_signature_return_types_0_and_1_are_incompatible_2203","Construct signature return types '{0}' and '{1}' are incompatible.",void 0,!0),Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:iO(2204,1,"Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2204","Call signatures with no arguments have incompatible return types '{0}' and '{1}'.",void 0,!0),Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:iO(2205,1,"Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2205","Construct signatures with no arguments have incompatible return types '{0}' and '{1}'.",void 0,!0),The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement:iO(2206,1,"The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement_2206","The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement."),The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement:iO(2207,1,"The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement_2207","The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement."),This_type_parameter_might_need_an_extends_0_constraint:iO(2208,1,"This_type_parameter_might_need_an_extends_0_constraint_2208","This type parameter might need an `extends {0}` constraint."),The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:iO(2209,1,"The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_roo_2209","The project root is ambiguous, but is required to resolve export map entry '{0}' in file '{1}'. Supply the `rootDir` compiler option to disambiguate."),The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:iO(2210,1,"The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_roo_2210","The project root is ambiguous, but is required to resolve import map entry '{0}' in file '{1}'. Supply the `rootDir` compiler option to disambiguate."),Add_extends_constraint:iO(2211,3,"Add_extends_constraint_2211","Add `extends` constraint."),Add_extends_constraint_to_all_type_parameters:iO(2212,3,"Add_extends_constraint_to_all_type_parameters_2212","Add `extends` constraint to all type parameters"),Duplicate_identifier_0:iO(2300,1,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:iO(2301,1,"Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2301","Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."),Static_members_cannot_reference_class_type_parameters:iO(2302,1,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:iO(2303,1,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:iO(2304,1,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:iO(2305,1,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:iO(2306,1,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0_or_its_corresponding_type_declarations:iO(2307,1,"Cannot_find_module_0_or_its_corresponding_type_declarations_2307","Cannot find module '{0}' or its corresponding type declarations."),Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity:iO(2308,1,"Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambig_2308","Module {0} has already exported a member named '{1}'. Consider explicitly re-exporting to resolve the ambiguity."),An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements:iO(2309,1,"An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements_2309","An export assignment cannot be used in a module with other exported elements."),Type_0_recursively_references_itself_as_a_base_type:iO(2310,1,"Type_0_recursively_references_itself_as_a_base_type_2310","Type '{0}' recursively references itself as a base type."),Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function:iO(2311,1,"Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function_2311","Cannot find name '{0}'. Did you mean to write this in an async function?"),An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members:iO(2312,1,"An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_me_2312","An interface can only extend an object type or intersection of object types with statically known members."),Type_parameter_0_has_a_circular_constraint:iO(2313,1,"Type_parameter_0_has_a_circular_constraint_2313","Type parameter '{0}' has a circular constraint."),Generic_type_0_requires_1_type_argument_s:iO(2314,1,"Generic_type_0_requires_1_type_argument_s_2314","Generic type '{0}' requires {1} type argument(s)."),Type_0_is_not_generic:iO(2315,1,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:iO(2316,1,"Global_type_0_must_be_a_class_or_interface_type_2316","Global type '{0}' must be a class or interface type."),Global_type_0_must_have_1_type_parameter_s:iO(2317,1,"Global_type_0_must_have_1_type_parameter_s_2317","Global type '{0}' must have {1} type parameter(s)."),Cannot_find_global_type_0:iO(2318,1,"Cannot_find_global_type_0_2318","Cannot find global type '{0}'."),Named_property_0_of_types_1_and_2_are_not_identical:iO(2319,1,"Named_property_0_of_types_1_and_2_are_not_identical_2319","Named property '{0}' of types '{1}' and '{2}' are not identical."),Interface_0_cannot_simultaneously_extend_types_1_and_2:iO(2320,1,"Interface_0_cannot_simultaneously_extend_types_1_and_2_2320","Interface '{0}' cannot simultaneously extend types '{1}' and '{2}'."),Excessive_stack_depth_comparing_types_0_and_1:iO(2321,1,"Excessive_stack_depth_comparing_types_0_and_1_2321","Excessive stack depth comparing types '{0}' and '{1}'."),Type_0_is_not_assignable_to_type_1:iO(2322,1,"Type_0_is_not_assignable_to_type_1_2322","Type '{0}' is not assignable to type '{1}'."),Cannot_redeclare_exported_variable_0:iO(2323,1,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:iO(2324,1,"Property_0_is_missing_in_type_1_2324","Property '{0}' is missing in type '{1}'."),Property_0_is_private_in_type_1_but_not_in_type_2:iO(2325,1,"Property_0_is_private_in_type_1_but_not_in_type_2_2325","Property '{0}' is private in type '{1}' but not in type '{2}'."),Types_of_property_0_are_incompatible:iO(2326,1,"Types_of_property_0_are_incompatible_2326","Types of property '{0}' are incompatible."),Property_0_is_optional_in_type_1_but_required_in_type_2:iO(2327,1,"Property_0_is_optional_in_type_1_but_required_in_type_2_2327","Property '{0}' is optional in type '{1}' but required in type '{2}'."),Types_of_parameters_0_and_1_are_incompatible:iO(2328,1,"Types_of_parameters_0_and_1_are_incompatible_2328","Types of parameters '{0}' and '{1}' are incompatible."),Index_signature_for_type_0_is_missing_in_type_1:iO(2329,1,"Index_signature_for_type_0_is_missing_in_type_1_2329","Index signature for type '{0}' is missing in type '{1}'."),_0_and_1_index_signatures_are_incompatible:iO(2330,1,"_0_and_1_index_signatures_are_incompatible_2330","'{0}' and '{1}' index signatures are incompatible."),this_cannot_be_referenced_in_a_module_or_namespace_body:iO(2331,1,"this_cannot_be_referenced_in_a_module_or_namespace_body_2331","'this' cannot be referenced in a module or namespace body."),this_cannot_be_referenced_in_current_location:iO(2332,1,"this_cannot_be_referenced_in_current_location_2332","'this' cannot be referenced in current location."),this_cannot_be_referenced_in_constructor_arguments:iO(2333,1,"this_cannot_be_referenced_in_constructor_arguments_2333","'this' cannot be referenced in constructor arguments."),this_cannot_be_referenced_in_a_static_property_initializer:iO(2334,1,"this_cannot_be_referenced_in_a_static_property_initializer_2334","'this' cannot be referenced in a static property initializer."),super_can_only_be_referenced_in_a_derived_class:iO(2335,1,"super_can_only_be_referenced_in_a_derived_class_2335","'super' can only be referenced in a derived class."),super_cannot_be_referenced_in_constructor_arguments:iO(2336,1,"super_cannot_be_referenced_in_constructor_arguments_2336","'super' cannot be referenced in constructor arguments."),Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors:iO(2337,1,"Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors_2337","Super calls are not permitted outside constructors or in nested functions inside constructors."),super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class:iO(2338,1,"super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_der_2338","'super' property access is permitted only in a constructor, member function, or member accessor of a derived class."),Property_0_does_not_exist_on_type_1:iO(2339,1,"Property_0_does_not_exist_on_type_1_2339","Property '{0}' does not exist on type '{1}'."),Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword:iO(2340,1,"Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword_2340","Only public and protected methods of the base class are accessible via the 'super' keyword."),Property_0_is_private_and_only_accessible_within_class_1:iO(2341,1,"Property_0_is_private_and_only_accessible_within_class_1_2341","Property '{0}' is private and only accessible within class '{1}'."),This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0:iO(2343,1,"This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_ve_2343","This syntax requires an imported helper named '{1}' which does not exist in '{0}'. Consider upgrading your version of '{0}'."),Type_0_does_not_satisfy_the_constraint_1:iO(2344,1,"Type_0_does_not_satisfy_the_constraint_1_2344","Type '{0}' does not satisfy the constraint '{1}'."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1:iO(2345,1,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_2345","Argument of type '{0}' is not assignable to parameter of type '{1}'."),Call_target_does_not_contain_any_signatures:iO(2346,1,"Call_target_does_not_contain_any_signatures_2346","Call target does not contain any signatures."),Untyped_function_calls_may_not_accept_type_arguments:iO(2347,1,"Untyped_function_calls_may_not_accept_type_arguments_2347","Untyped function calls may not accept type arguments."),Value_of_type_0_is_not_callable_Did_you_mean_to_include_new:iO(2348,1,"Value_of_type_0_is_not_callable_Did_you_mean_to_include_new_2348","Value of type '{0}' is not callable. Did you mean to include 'new'?"),This_expression_is_not_callable:iO(2349,1,"This_expression_is_not_callable_2349","This expression is not callable."),Only_a_void_function_can_be_called_with_the_new_keyword:iO(2350,1,"Only_a_void_function_can_be_called_with_the_new_keyword_2350","Only a void function can be called with the 'new' keyword."),This_expression_is_not_constructable:iO(2351,1,"This_expression_is_not_constructable_2351","This expression is not constructable."),Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first:iO(2352,1,"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352","Conversion of type '{0}' to type '{1}' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first."),Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1:iO(2353,1,"Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1_2353","Object literal may only specify known properties, and '{0}' does not exist in type '{1}'."),This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found:iO(2354,1,"This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354","This syntax requires an imported helper but module '{0}' cannot be found."),A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value:iO(2355,1,"A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value_2355","A function whose declared type is neither 'void' nor 'any' must return a value."),An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type:iO(2356,1,"An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type_2356","An arithmetic operand must be of type 'any', 'number', 'bigint' or an enum type."),The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access:iO(2357,1,"The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access_2357","The operand of an increment or decrement operator must be a variable or a property access."),The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:iO(2358,1,"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358","The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter."),The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type:iO(2359,1,"The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_F_2359","The right-hand side of an 'instanceof' expression must be of type 'any' or of a type assignable to the 'Function' interface type."),The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:iO(2362,1,"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362","The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:iO(2363,1,"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2363","The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access:iO(2364,1,"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364","The left-hand side of an assignment expression must be a variable or a property access."),Operator_0_cannot_be_applied_to_types_1_and_2:iO(2365,1,"Operator_0_cannot_be_applied_to_types_1_and_2_2365","Operator '{0}' cannot be applied to types '{1}' and '{2}'."),Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined:iO(2366,1,"Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined_2366","Function lacks ending return statement and return type does not include 'undefined'."),This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap:iO(2367,1,"This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367","This comparison appears to be unintentional because the types '{0}' and '{1}' have no overlap."),Type_parameter_name_cannot_be_0:iO(2368,1,"Type_parameter_name_cannot_be_0_2368","Type parameter name cannot be '{0}'."),A_parameter_property_is_only_allowed_in_a_constructor_implementation:iO(2369,1,"A_parameter_property_is_only_allowed_in_a_constructor_implementation_2369","A parameter property is only allowed in a constructor implementation."),A_rest_parameter_must_be_of_an_array_type:iO(2370,1,"A_rest_parameter_must_be_of_an_array_type_2370","A rest parameter must be of an array type."),A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation:iO(2371,1,"A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371","A parameter initializer is only allowed in a function or constructor implementation."),Parameter_0_cannot_reference_itself:iO(2372,1,"Parameter_0_cannot_reference_itself_2372","Parameter '{0}' cannot reference itself."),Parameter_0_cannot_reference_identifier_1_declared_after_it:iO(2373,1,"Parameter_0_cannot_reference_identifier_1_declared_after_it_2373","Parameter '{0}' cannot reference identifier '{1}' declared after it."),Duplicate_index_signature_for_type_0:iO(2374,1,"Duplicate_index_signature_for_type_0_2374","Duplicate index signature for type '{0}'."),Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties:iO(2375,1,"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2375","Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties."),A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_class_contains_initialized_properties_parameter_properties_or_private_identifiers:iO(2376,1,"A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_2376","A 'super' call must be the first statement in the constructor to refer to 'super' or 'this' when a derived class contains initialized properties, parameter properties, or private identifiers."),Constructors_for_derived_classes_must_contain_a_super_call:iO(2377,1,"Constructors_for_derived_classes_must_contain_a_super_call_2377","Constructors for derived classes must contain a 'super' call."),A_get_accessor_must_return_a_value:iO(2378,1,"A_get_accessor_must_return_a_value_2378","A 'get' accessor must return a value."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties:iO(2379,1,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_tr_2379","Argument of type '{0}' is not assignable to parameter of type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties."),The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type:iO(2380,1,"The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type_2380","The return type of a 'get' accessor must be assignable to its 'set' accessor type"),Overload_signatures_must_all_be_exported_or_non_exported:iO(2383,1,"Overload_signatures_must_all_be_exported_or_non_exported_2383","Overload signatures must all be exported or non-exported."),Overload_signatures_must_all_be_ambient_or_non_ambient:iO(2384,1,"Overload_signatures_must_all_be_ambient_or_non_ambient_2384","Overload signatures must all be ambient or non-ambient."),Overload_signatures_must_all_be_public_private_or_protected:iO(2385,1,"Overload_signatures_must_all_be_public_private_or_protected_2385","Overload signatures must all be public, private or protected."),Overload_signatures_must_all_be_optional_or_required:iO(2386,1,"Overload_signatures_must_all_be_optional_or_required_2386","Overload signatures must all be optional or required."),Function_overload_must_be_static:iO(2387,1,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:iO(2388,1,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:iO(2389,1,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:iO(2390,1,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:iO(2391,1,"Function_implementation_is_missing_or_not_immediately_following_the_declaration_2391","Function implementation is missing or not immediately following the declaration."),Multiple_constructor_implementations_are_not_allowed:iO(2392,1,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:iO(2393,1,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:iO(2394,1,"This_overload_signature_is_not_compatible_with_its_implementation_signature_2394","This overload signature is not compatible with its implementation signature."),Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local:iO(2395,1,"Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local_2395","Individual declarations in merged declaration '{0}' must be all exported or all local."),Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters:iO(2396,1,"Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters_2396","Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters."),Declaration_name_conflicts_with_built_in_global_identifier_0:iO(2397,1,"Declaration_name_conflicts_with_built_in_global_identifier_0_2397","Declaration name conflicts with built-in global identifier '{0}'."),constructor_cannot_be_used_as_a_parameter_property_name:iO(2398,1,"constructor_cannot_be_used_as_a_parameter_property_name_2398","'constructor' cannot be used as a parameter property name."),Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference:iO(2399,1,"Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference_2399","Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference."),Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference:iO(2400,1,"Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference_2400","Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference."),A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_initialized_properties_parameter_properties_or_private_identifiers:iO(2401,1,"A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_in_2401","A 'super' call must be a root-level statement within a constructor of a derived class that contains initialized properties, parameter properties, or private identifiers."),Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference:iO(2402,1,"Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference_2402","Expression resolves to '_super' that compiler uses to capture base class reference."),Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2:iO(2403,1,"Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_t_2403","Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'."),The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:iO(2404,1,"The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation_2404","The left-hand side of a 'for...in' statement cannot use a type annotation."),The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any:iO(2405,1,"The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any_2405","The left-hand side of a 'for...in' statement must be of type 'string' or 'any'."),The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access:iO(2406,1,"The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access_2406","The left-hand side of a 'for...in' statement must be a variable or a property access."),The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0:iO(2407,1,"The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_2407","The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter, but here has type '{0}'."),Setters_cannot_return_a_value:iO(2408,1,"Setters_cannot_return_a_value_2408","Setters cannot return a value."),Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class:iO(2409,1,"Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class_2409","Return type of constructor signature must be assignable to the instance type of the class."),The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any:iO(2410,1,"The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410","The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'."),Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target:iO(2412,1,"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2412","Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target."),Property_0_of_type_1_is_not_assignable_to_2_index_type_3:iO(2411,1,"Property_0_of_type_1_is_not_assignable_to_2_index_type_3_2411","Property '{0}' of type '{1}' is not assignable to '{2}' index type '{3}'."),_0_index_type_1_is_not_assignable_to_2_index_type_3:iO(2413,1,"_0_index_type_1_is_not_assignable_to_2_index_type_3_2413","'{0}' index type '{1}' is not assignable to '{2}' index type '{3}'."),Class_name_cannot_be_0:iO(2414,1,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:iO(2415,1,"Class_0_incorrectly_extends_base_class_1_2415","Class '{0}' incorrectly extends base class '{1}'."),Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2:iO(2416,1,"Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2_2416","Property '{0}' in type '{1}' is not assignable to the same property in base type '{2}'."),Class_static_side_0_incorrectly_extends_base_class_static_side_1:iO(2417,1,"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417","Class static side '{0}' incorrectly extends base class static side '{1}'."),Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1:iO(2418,1,"Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1_2418","Type of computed property's value is '{0}', which is not assignable to type '{1}'."),Types_of_construct_signatures_are_incompatible:iO(2419,1,"Types_of_construct_signatures_are_incompatible_2419","Types of construct signatures are incompatible."),Class_0_incorrectly_implements_interface_1:iO(2420,1,"Class_0_incorrectly_implements_interface_1_2420","Class '{0}' incorrectly implements interface '{1}'."),A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members:iO(2422,1,"A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_memb_2422","A class can only implement an object type or intersection of object types with statically known members."),Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor:iO(2423,1,"Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_access_2423","Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor."),Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function:iO(2425,1,"Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_functi_2425","Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function."),Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:iO(2426,1,"Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_functi_2426","Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function."),Interface_name_cannot_be_0:iO(2427,1,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:iO(2428,1,"All_declarations_of_0_must_have_identical_type_parameters_2428","All declarations of '{0}' must have identical type parameters."),Interface_0_incorrectly_extends_interface_1:iO(2430,1,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:iO(2431,1,"Enum_name_cannot_be_0_2431","Enum name cannot be '{0}'."),In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element:iO(2432,1,"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432","In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element."),A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged:iO(2433,1,"A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merg_2433","A namespace declaration cannot be in a different file from a class or function with which it is merged."),A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged:iO(2434,1,"A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged_2434","A namespace declaration cannot be located prior to a class or function with which it is merged."),Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces:iO(2435,1,"Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces_2435","Ambient modules cannot be nested in other modules or namespaces."),Ambient_module_declaration_cannot_specify_relative_module_name:iO(2436,1,"Ambient_module_declaration_cannot_specify_relative_module_name_2436","Ambient module declaration cannot specify relative module name."),Module_0_is_hidden_by_a_local_declaration_with_the_same_name:iO(2437,1,"Module_0_is_hidden_by_a_local_declaration_with_the_same_name_2437","Module '{0}' is hidden by a local declaration with the same name."),Import_name_cannot_be_0:iO(2438,1,"Import_name_cannot_be_0_2438","Import name cannot be '{0}'."),Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name:iO(2439,1,"Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relati_2439","Import or export declaration in an ambient module declaration cannot reference module through relative module name."),Import_declaration_conflicts_with_local_declaration_of_0:iO(2440,1,"Import_declaration_conflicts_with_local_declaration_of_0_2440","Import declaration conflicts with local declaration of '{0}'."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module:iO(2441,1,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_2441","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module."),Types_have_separate_declarations_of_a_private_property_0:iO(2442,1,"Types_have_separate_declarations_of_a_private_property_0_2442","Types have separate declarations of a private property '{0}'."),Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2:iO(2443,1,"Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2_2443","Property '{0}' is protected but type '{1}' is not a class derived from '{2}'."),Property_0_is_protected_in_type_1_but_public_in_type_2:iO(2444,1,"Property_0_is_protected_in_type_1_but_public_in_type_2_2444","Property '{0}' is protected in type '{1}' but public in type '{2}'."),Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses:iO(2445,1,"Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses_2445","Property '{0}' is protected and only accessible within class '{1}' and its subclasses."),Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2:iO(2446,1,"Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_cl_2446","Property '{0}' is protected and only accessible through an instance of class '{1}'. This is an instance of class '{2}'."),The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead:iO(2447,1,"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447","The '{0}' operator is not allowed for boolean types. Consider using '{1}' instead."),Block_scoped_variable_0_used_before_its_declaration:iO(2448,1,"Block_scoped_variable_0_used_before_its_declaration_2448","Block-scoped variable '{0}' used before its declaration."),Class_0_used_before_its_declaration:iO(2449,1,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:iO(2450,1,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:iO(2451,1,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:iO(2452,1,"An_enum_member_cannot_have_a_numeric_name_2452","An enum member cannot have a numeric name."),Variable_0_is_used_before_being_assigned:iO(2454,1,"Variable_0_is_used_before_being_assigned_2454","Variable '{0}' is used before being assigned."),Type_alias_0_circularly_references_itself:iO(2456,1,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:iO(2457,1,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:iO(2458,1,"An_AMD_module_cannot_have_multiple_name_assignments_2458","An AMD module cannot have multiple name assignments."),Module_0_declares_1_locally_but_it_is_not_exported:iO(2459,1,"Module_0_declares_1_locally_but_it_is_not_exported_2459","Module '{0}' declares '{1}' locally, but it is not exported."),Module_0_declares_1_locally_but_it_is_exported_as_2:iO(2460,1,"Module_0_declares_1_locally_but_it_is_exported_as_2_2460","Module '{0}' declares '{1}' locally, but it is exported as '{2}'."),Type_0_is_not_an_array_type:iO(2461,1,"Type_0_is_not_an_array_type_2461","Type '{0}' is not an array type."),A_rest_element_must_be_last_in_a_destructuring_pattern:iO(2462,1,"A_rest_element_must_be_last_in_a_destructuring_pattern_2462","A rest element must be last in a destructuring pattern."),A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature:iO(2463,1,"A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature_2463","A binding pattern parameter cannot be optional in an implementation signature."),A_computed_property_name_must_be_of_type_string_number_symbol_or_any:iO(2464,1,"A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464","A computed property name must be of type 'string', 'number', 'symbol', or 'any'."),this_cannot_be_referenced_in_a_computed_property_name:iO(2465,1,"this_cannot_be_referenced_in_a_computed_property_name_2465","'this' cannot be referenced in a computed property name."),super_cannot_be_referenced_in_a_computed_property_name:iO(2466,1,"super_cannot_be_referenced_in_a_computed_property_name_2466","'super' cannot be referenced in a computed property name."),A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type:iO(2467,1,"A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type_2467","A computed property name cannot reference a type parameter from its containing type."),Cannot_find_global_value_0:iO(2468,1,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:iO(2469,1,"The_0_operator_cannot_be_applied_to_type_symbol_2469","The '{0}' operator cannot be applied to type 'symbol'."),Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher:iO(2472,1,"Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher_2472","Spread operator in 'new' expressions is only available when targeting ECMAScript 5 and higher."),Enum_declarations_must_all_be_const_or_non_const:iO(2473,1,"Enum_declarations_must_all_be_const_or_non_const_2473","Enum declarations must all be const or non-const."),const_enum_member_initializers_must_be_constant_expressions:iO(2474,1,"const_enum_member_initializers_must_be_constant_expressions_2474","const enum member initializers must be constant expressions."),const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query:iO(2475,1,"const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_im_2475","'const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment or type query."),A_const_enum_member_can_only_be_accessed_using_a_string_literal:iO(2476,1,"A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476","A const enum member can only be accessed using a string literal."),const_enum_member_initializer_was_evaluated_to_a_non_finite_value:iO(2477,1,"const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477","'const' enum member initializer was evaluated to a non-finite value."),const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:iO(2478,1,"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478","'const' enum member initializer was evaluated to disallowed value 'NaN'."),let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations:iO(2480,1,"let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480","'let' is not allowed to be used as a name in 'let' or 'const' declarations."),Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1:iO(2481,1,"Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1_2481","Cannot initialize outer scoped variable '{0}' in the same scope as block scoped declaration '{1}'."),The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation:iO(2483,1,"The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation_2483","The left-hand side of a 'for...of' statement cannot use a type annotation."),Export_declaration_conflicts_with_exported_declaration_of_0:iO(2484,1,"Export_declaration_conflicts_with_exported_declaration_of_0_2484","Export declaration conflicts with exported declaration of '{0}'."),The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access:iO(2487,1,"The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access_2487","The left-hand side of a 'for...of' statement must be a variable or a property access."),Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator:iO(2488,1,"Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488","Type '{0}' must have a '[Symbol.iterator]()' method that returns an iterator."),An_iterator_must_have_a_next_method:iO(2489,1,"An_iterator_must_have_a_next_method_2489","An iterator must have a 'next()' method."),The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property:iO(2490,1,"The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property_2490","The type returned by the '{0}()' method of an iterator must have a 'value' property."),The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern:iO(2491,1,"The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern_2491","The left-hand side of a 'for...in' statement cannot be a destructuring pattern."),Cannot_redeclare_identifier_0_in_catch_clause:iO(2492,1,"Cannot_redeclare_identifier_0_in_catch_clause_2492","Cannot redeclare identifier '{0}' in catch clause."),Tuple_type_0_of_length_1_has_no_element_at_index_2:iO(2493,1,"Tuple_type_0_of_length_1_has_no_element_at_index_2_2493","Tuple type '{0}' of length '{1}' has no element at index '{2}'."),Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher:iO(2494,1,"Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494","Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher."),Type_0_is_not_an_array_type_or_a_string_type:iO(2495,1,"Type_0_is_not_an_array_type_or_a_string_type_2495","Type '{0}' is not an array type or a string type."),The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression:iO(2496,1,"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496","The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression."),This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export:iO(2497,1,"This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_2497","This module can only be referenced with ECMAScript imports/exports by turning on the '{0}' flag and referencing its default export."),Module_0_uses_export_and_cannot_be_used_with_export_Asterisk:iO(2498,1,"Module_0_uses_export_and_cannot_be_used_with_export_Asterisk_2498","Module '{0}' uses 'export =' and cannot be used with 'export *'."),An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments:iO(2499,1,"An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments_2499","An interface can only extend an identifier/qualified-name with optional type arguments."),A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments:iO(2500,1,"A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments_2500","A class can only implement an identifier/qualified-name with optional type arguments."),A_rest_element_cannot_contain_a_binding_pattern:iO(2501,1,"A_rest_element_cannot_contain_a_binding_pattern_2501","A rest element cannot contain a binding pattern."),_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation:iO(2502,1,"_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation_2502","'{0}' is referenced directly or indirectly in its own type annotation."),Cannot_find_namespace_0:iO(2503,1,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:iO(2504,1,"Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504","Type '{0}' must have a '[Symbol.asyncIterator]()' method that returns an async iterator."),A_generator_cannot_have_a_void_type_annotation:iO(2505,1,"A_generator_cannot_have_a_void_type_annotation_2505","A generator cannot have a 'void' type annotation."),_0_is_referenced_directly_or_indirectly_in_its_own_base_expression:iO(2506,1,"_0_is_referenced_directly_or_indirectly_in_its_own_base_expression_2506","'{0}' is referenced directly or indirectly in its own base expression."),Type_0_is_not_a_constructor_function_type:iO(2507,1,"Type_0_is_not_a_constructor_function_type_2507","Type '{0}' is not a constructor function type."),No_base_constructor_has_the_specified_number_of_type_arguments:iO(2508,1,"No_base_constructor_has_the_specified_number_of_type_arguments_2508","No base constructor has the specified number of type arguments."),Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members:iO(2509,1,"Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_2509","Base constructor return type '{0}' is not an object type or intersection of object types with statically known members."),Base_constructors_must_all_have_the_same_return_type:iO(2510,1,"Base_constructors_must_all_have_the_same_return_type_2510","Base constructors must all have the same return type."),Cannot_create_an_instance_of_an_abstract_class:iO(2511,1,"Cannot_create_an_instance_of_an_abstract_class_2511","Cannot create an instance of an abstract class."),Overload_signatures_must_all_be_abstract_or_non_abstract:iO(2512,1,"Overload_signatures_must_all_be_abstract_or_non_abstract_2512","Overload signatures must all be abstract or non-abstract."),Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression:iO(2513,1,"Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression_2513","Abstract method '{0}' in class '{1}' cannot be accessed via super expression."),A_tuple_type_cannot_be_indexed_with_a_negative_value:iO(2514,1,"A_tuple_type_cannot_be_indexed_with_a_negative_value_2514","A tuple type cannot be indexed with a negative value."),Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2:iO(2515,1,"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515","Non-abstract class '{0}' does not implement inherited abstract member '{1}' from class '{2}'."),All_declarations_of_an_abstract_method_must_be_consecutive:iO(2516,1,"All_declarations_of_an_abstract_method_must_be_consecutive_2516","All declarations of an abstract method must be consecutive."),Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type:iO(2517,1,"Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type_2517","Cannot assign an abstract constructor type to a non-abstract constructor type."),A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard:iO(2518,1,"A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518","A 'this'-based type guard is not compatible with a parameter-based type guard."),An_async_iterator_must_have_a_next_method:iO(2519,1,"An_async_iterator_must_have_a_next_method_2519","An async iterator must have a 'next()' method."),Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions:iO(2520,1,"Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions_2520","Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions."),The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method:iO(2522,1,"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522","The 'arguments' object cannot be referenced in an async function or method in ES3 and ES5. Consider using a standard function or method."),yield_expressions_cannot_be_used_in_a_parameter_initializer:iO(2523,1,"yield_expressions_cannot_be_used_in_a_parameter_initializer_2523","'yield' expressions cannot be used in a parameter initializer."),await_expressions_cannot_be_used_in_a_parameter_initializer:iO(2524,1,"await_expressions_cannot_be_used_in_a_parameter_initializer_2524","'await' expressions cannot be used in a parameter initializer."),Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value:iO(2525,1,"Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value_2525","Initializer provides no value for this binding element and the binding element has no default value."),A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface:iO(2526,1,"A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface_2526","A 'this' type is available only in a non-static member of a class or interface."),The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary:iO(2527,1,"The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527","The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary."),A_module_cannot_have_multiple_default_exports:iO(2528,1,"A_module_cannot_have_multiple_default_exports_2528","A module cannot have multiple default exports."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions:iO(2529,1,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_func_2529","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module containing async functions."),Property_0_is_incompatible_with_index_signature:iO(2530,1,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:iO(2531,1,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:iO(2532,1,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:iO(2533,1,"Object_is_possibly_null_or_undefined_2533","Object is possibly 'null' or 'undefined'."),A_function_returning_never_cannot_have_a_reachable_end_point:iO(2534,1,"A_function_returning_never_cannot_have_a_reachable_end_point_2534","A function returning 'never' cannot have a reachable end point."),Type_0_cannot_be_used_to_index_type_1:iO(2536,1,"Type_0_cannot_be_used_to_index_type_1_2536","Type '{0}' cannot be used to index type '{1}'."),Type_0_has_no_matching_index_signature_for_type_1:iO(2537,1,"Type_0_has_no_matching_index_signature_for_type_1_2537","Type '{0}' has no matching index signature for type '{1}'."),Type_0_cannot_be_used_as_an_index_type:iO(2538,1,"Type_0_cannot_be_used_as_an_index_type_2538","Type '{0}' cannot be used as an index type."),Cannot_assign_to_0_because_it_is_not_a_variable:iO(2539,1,"Cannot_assign_to_0_because_it_is_not_a_variable_2539","Cannot assign to '{0}' because it is not a variable."),Cannot_assign_to_0_because_it_is_a_read_only_property:iO(2540,1,"Cannot_assign_to_0_because_it_is_a_read_only_property_2540","Cannot assign to '{0}' because it is a read-only property."),Index_signature_in_type_0_only_permits_reading:iO(2542,1,"Index_signature_in_type_0_only_permits_reading_2542","Index signature in type '{0}' only permits reading."),Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference:iO(2543,1,"Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_me_2543","Duplicate identifier '_newTarget'. Compiler uses variable declaration '_newTarget' to capture 'new.target' meta-property reference."),Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference:iO(2544,1,"Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta__2544","Expression resolves to variable declaration '_newTarget' that compiler uses to capture 'new.target' meta-property reference."),A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any:iO(2545,1,"A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any_2545","A mixin class must have a constructor with a single rest parameter of type 'any[]'."),The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property:iO(2547,1,"The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_pro_2547","The type returned by the '{0}()' method of an async iterator must be a promise for a type with a 'value' property."),Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:iO(2548,1,"Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator_2548","Type '{0}' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:iO(2549,1,"Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns__2549","Type '{0}' is not an array type or a string type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2_or_later:iO(2550,1,"Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_c_2550","Property '{0}' does not exist on type '{1}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{2}' or later."),Property_0_does_not_exist_on_type_1_Did_you_mean_2:iO(2551,1,"Property_0_does_not_exist_on_type_1_Did_you_mean_2_2551","Property '{0}' does not exist on type '{1}'. Did you mean '{2}'?"),Cannot_find_name_0_Did_you_mean_1:iO(2552,1,"Cannot_find_name_0_Did_you_mean_1_2552","Cannot find name '{0}'. Did you mean '{1}'?"),Computed_values_are_not_permitted_in_an_enum_with_string_valued_members:iO(2553,1,"Computed_values_are_not_permitted_in_an_enum_with_string_valued_members_2553","Computed values are not permitted in an enum with string valued members."),Expected_0_arguments_but_got_1:iO(2554,1,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:iO(2555,1,"Expected_at_least_0_arguments_but_got_1_2555","Expected at least {0} arguments, but got {1}."),A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter:iO(2556,1,"A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter_2556","A spread argument must either have a tuple type or be passed to a rest parameter."),Expected_0_type_arguments_but_got_1:iO(2558,1,"Expected_0_type_arguments_but_got_1_2558","Expected {0} type arguments, but got {1}."),Type_0_has_no_properties_in_common_with_type_1:iO(2559,1,"Type_0_has_no_properties_in_common_with_type_1_2559","Type '{0}' has no properties in common with type '{1}'."),Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it:iO(2560,1,"Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it_2560","Value of type '{0}' has no properties in common with type '{1}'. Did you mean to call it?"),Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2:iO(2561,1,"Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_writ_2561","Object literal may only specify known properties, but '{0}' does not exist in type '{1}'. Did you mean to write '{2}'?"),Base_class_expressions_cannot_reference_class_type_parameters:iO(2562,1,"Base_class_expressions_cannot_reference_class_type_parameters_2562","Base class expressions cannot reference class type parameters."),The_containing_function_or_module_body_is_too_large_for_control_flow_analysis:iO(2563,1,"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563","The containing function or module body is too large for control flow analysis."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor:iO(2564,1,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564","Property '{0}' has no initializer and is not definitely assigned in the constructor."),Property_0_is_used_before_being_assigned:iO(2565,1,"Property_0_is_used_before_being_assigned_2565","Property '{0}' is used before being assigned."),A_rest_element_cannot_have_a_property_name:iO(2566,1,"A_rest_element_cannot_have_a_property_name_2566","A rest element cannot have a property name."),Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:iO(2567,1,"Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations_2567","Enum declarations can only merge with namespace or other enum declarations."),Property_0_may_not_exist_on_type_1_Did_you_mean_2:iO(2568,1,"Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568","Property '{0}' may not exist on type '{1}'. Did you mean '{2}'?"),Could_not_find_name_0_Did_you_mean_1:iO(2570,1,"Could_not_find_name_0_Did_you_mean_1_2570","Could not find name '{0}'. Did you mean '{1}'?"),Object_is_of_type_unknown:iO(2571,1,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),A_rest_element_type_must_be_an_array_type:iO(2574,1,"A_rest_element_type_must_be_an_array_type_2574","A rest element type must be an array type."),No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments:iO(2575,1,"No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments_2575","No overload expects {0} arguments, but overloads do exist that expect either {1} or {2} arguments."),Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead:iO(2576,1,"Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead_2576","Property '{0}' does not exist on type '{1}'. Did you mean to access the static member '{2}' instead?"),Return_type_annotation_circularly_references_itself:iO(2577,1,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Unused_ts_expect_error_directive:iO(2578,1,"Unused_ts_expect_error_directive_2578","Unused '@ts-expect-error' directive."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode:iO(2580,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2580","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery:iO(2581,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2581","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha:iO(2582,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2582","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later:iO(2583,1,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2583","Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{1}' or later."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom:iO(2584,1,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2584","Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later:iO(2585,1,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_2585","'{0}' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the 'lib' compiler option to es2015 or later."),Cannot_assign_to_0_because_it_is_a_constant:iO(2588,1,"Cannot_assign_to_0_because_it_is_a_constant_2588","Cannot assign to '{0}' because it is a constant."),Type_instantiation_is_excessively_deep_and_possibly_infinite:iO(2589,1,"Type_instantiation_is_excessively_deep_and_possibly_infinite_2589","Type instantiation is excessively deep and possibly infinite."),Expression_produces_a_union_type_that_is_too_complex_to_represent:iO(2590,1,"Expression_produces_a_union_type_that_is_too_complex_to_represent_2590","Expression produces a union type that is too complex to represent."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig:iO(2591,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2591","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig:iO(2592,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2592","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery` and then add 'jquery' to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig:iO(2593,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2593","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig."),This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag:iO(2594,1,"This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag_2594","This module is declared with 'export =', and can only be used with a default import when using the '{0}' flag."),_0_can_only_be_imported_by_using_a_default_import:iO(2595,1,"_0_can_only_be_imported_by_using_a_default_import_2595","'{0}' can only be imported by using a default import."),_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:iO(2596,1,"_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import_2596","'{0}' can only be imported by turning on the 'esModuleInterop' flag and using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:iO(2597,1,"_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import_2597","'{0}' can only be imported by using a 'require' call or by using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:iO(2598,1,"_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using__2598","'{0}' can only be imported by using a 'require' call or by turning on the 'esModuleInterop' flag and using a default import."),JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist:iO(2602,1,"JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist_2602","JSX element implicitly has type 'any' because the global type 'JSX.Element' does not exist."),Property_0_in_type_1_is_not_assignable_to_type_2:iO(2603,1,"Property_0_in_type_1_is_not_assignable_to_type_2_2603","Property '{0}' in type '{1}' is not assignable to type '{2}'."),JSX_element_type_0_does_not_have_any_construct_or_call_signatures:iO(2604,1,"JSX_element_type_0_does_not_have_any_construct_or_call_signatures_2604","JSX element type '{0}' does not have any construct or call signatures."),Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property:iO(2606,1,"Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606","Property '{0}' of JSX spread attribute is not assignable to target property."),JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property:iO(2607,1,"JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property_2607","JSX element class does not support attributes because it does not have a '{0}' property."),The_global_type_JSX_0_may_not_have_more_than_one_property:iO(2608,1,"The_global_type_JSX_0_may_not_have_more_than_one_property_2608","The global type 'JSX.{0}' may not have more than one property."),JSX_spread_child_must_be_an_array_type:iO(2609,1,"JSX_spread_child_must_be_an_array_type_2609","JSX spread child must be an array type."),_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:iO(2610,1,"_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property_2610","'{0}' is defined as an accessor in class '{1}', but is overridden here in '{2}' as an instance property."),_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor:iO(2611,1,"_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor_2611","'{0}' is defined as a property in class '{1}', but is overridden here in '{2}' as an accessor."),Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration:iO(2612,1,"Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_2612","Property '{0}' will overwrite the base property in '{1}'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier or remove the redundant declaration."),Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead:iO(2613,1,"Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead_2613","Module '{0}' has no default export. Did you mean to use 'import { {1} } from {0}' instead?"),Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead:iO(2614,1,"Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead_2614","Module '{0}' has no exported member '{1}'. Did you mean to use 'import {1} from {0}' instead?"),Type_of_property_0_circularly_references_itself_in_mapped_type_1:iO(2615,1,"Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615","Type of property '{0}' circularly references itself in mapped type '{1}'."),_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:iO(2616,1,"_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import_2616","'{0}' can only be imported by using 'import {1} = require({2})' or a default import."),_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:iO(2617,1,"_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_us_2617","'{0}' can only be imported by using 'import {1} = require({2})' or by turning on the 'esModuleInterop' flag and using a default import."),Source_has_0_element_s_but_target_requires_1:iO(2618,1,"Source_has_0_element_s_but_target_requires_1_2618","Source has {0} element(s) but target requires {1}."),Source_has_0_element_s_but_target_allows_only_1:iO(2619,1,"Source_has_0_element_s_but_target_allows_only_1_2619","Source has {0} element(s) but target allows only {1}."),Target_requires_0_element_s_but_source_may_have_fewer:iO(2620,1,"Target_requires_0_element_s_but_source_may_have_fewer_2620","Target requires {0} element(s) but source may have fewer."),Target_allows_only_0_element_s_but_source_may_have_more:iO(2621,1,"Target_allows_only_0_element_s_but_source_may_have_more_2621","Target allows only {0} element(s) but source may have more."),Source_provides_no_match_for_required_element_at_position_0_in_target:iO(2623,1,"Source_provides_no_match_for_required_element_at_position_0_in_target_2623","Source provides no match for required element at position {0} in target."),Source_provides_no_match_for_variadic_element_at_position_0_in_target:iO(2624,1,"Source_provides_no_match_for_variadic_element_at_position_0_in_target_2624","Source provides no match for variadic element at position {0} in target."),Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target:iO(2625,1,"Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target_2625","Variadic element at position {0} in source does not match element at position {1} in target."),Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target:iO(2626,1,"Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target_2626","Type at position {0} in source is not compatible with type at position {1} in target."),Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target:iO(2627,1,"Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target_2627","Type at positions {0} through {1} in source is not compatible with type at position {2} in target."),Cannot_assign_to_0_because_it_is_an_enum:iO(2628,1,"Cannot_assign_to_0_because_it_is_an_enum_2628","Cannot assign to '{0}' because it is an enum."),Cannot_assign_to_0_because_it_is_a_class:iO(2629,1,"Cannot_assign_to_0_because_it_is_a_class_2629","Cannot assign to '{0}' because it is a class."),Cannot_assign_to_0_because_it_is_a_function:iO(2630,1,"Cannot_assign_to_0_because_it_is_a_function_2630","Cannot assign to '{0}' because it is a function."),Cannot_assign_to_0_because_it_is_a_namespace:iO(2631,1,"Cannot_assign_to_0_because_it_is_a_namespace_2631","Cannot assign to '{0}' because it is a namespace."),Cannot_assign_to_0_because_it_is_an_import:iO(2632,1,"Cannot_assign_to_0_because_it_is_an_import_2632","Cannot assign to '{0}' because it is an import."),JSX_property_access_expressions_cannot_include_JSX_namespace_names:iO(2633,1,"JSX_property_access_expressions_cannot_include_JSX_namespace_names_2633","JSX property access expressions cannot include JSX namespace names"),_0_index_signatures_are_incompatible:iO(2634,1,"_0_index_signatures_are_incompatible_2634","'{0}' index signatures are incompatible."),Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable:iO(2635,1,"Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable_2635","Type '{0}' has no signatures for which the type argument list is applicable."),Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation:iO(2636,1,"Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation_2636","Type '{0}' is not assignable to type '{1}' as implied by variance annotation."),Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_types:iO(2637,1,"Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_t_2637","Variance annotations are only supported in type aliases for object, function, constructor, and mapped types."),Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operator:iO(2638,1,"Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operato_2638","Type '{0}' may represent a primitive value, which is not permitted as the right operand of the 'in' operator."),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:iO(2649,1,"Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity_2649","Cannot augment module '{0}' with value exports because it resolves to a non-module entity."),A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums:iO(2651,1,"A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_memb_2651","A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums."),Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead:iO(2652,1,"Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_d_2652","Merged declaration '{0}' cannot include a default export declaration. Consider adding a separate 'export default {0}' declaration instead."),Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1:iO(2653,1,"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653","Non-abstract class expression does not implement inherited abstract member '{0}' from class '{1}'."),JSX_expressions_must_have_one_parent_element:iO(2657,1,"JSX_expressions_must_have_one_parent_element_2657","JSX expressions must have one parent element."),Type_0_provides_no_match_for_the_signature_1:iO(2658,1,"Type_0_provides_no_match_for_the_signature_1_2658","Type '{0}' provides no match for the signature '{1}'."),super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher:iO(2659,1,"super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_highe_2659","'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher."),super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions:iO(2660,1,"super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions_2660","'super' can only be referenced in members of derived classes or object literal expressions."),Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module:iO(2661,1,"Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module_2661","Cannot export '{0}'. Only local declarations can be exported from a module."),Cannot_find_name_0_Did_you_mean_the_static_member_1_0:iO(2662,1,"Cannot_find_name_0_Did_you_mean_the_static_member_1_0_2662","Cannot find name '{0}'. Did you mean the static member '{1}.{0}'?"),Cannot_find_name_0_Did_you_mean_the_instance_member_this_0:iO(2663,1,"Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663","Cannot find name '{0}'. Did you mean the instance member 'this.{0}'?"),Invalid_module_name_in_augmentation_module_0_cannot_be_found:iO(2664,1,"Invalid_module_name_in_augmentation_module_0_cannot_be_found_2664","Invalid module name in augmentation, module '{0}' cannot be found."),Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented:iO(2665,1,"Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augm_2665","Invalid module name in augmentation. Module '{0}' resolves to an untyped module at '{1}', which cannot be augmented."),Exports_and_export_assignments_are_not_permitted_in_module_augmentations:iO(2666,1,"Exports_and_export_assignments_are_not_permitted_in_module_augmentations_2666","Exports and export assignments are not permitted in module augmentations."),Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module:iO(2667,1,"Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667","Imports are not permitted in module augmentations. Consider moving them to the enclosing external module."),export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible:iO(2668,1,"export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always__2668","'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible."),Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations:iO(2669,1,"Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669","Augmentations for the global scope can only be directly nested in external modules or ambient module declarations."),Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context:iO(2670,1,"Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670","Augmentations for the global scope should have 'declare' modifier unless they appear in already ambient context."),Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity:iO(2671,1,"Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity_2671","Cannot augment module '{0}' because it resolves to a non-module entity."),Cannot_assign_a_0_constructor_type_to_a_1_constructor_type:iO(2672,1,"Cannot_assign_a_0_constructor_type_to_a_1_constructor_type_2672","Cannot assign a '{0}' constructor type to a '{1}' constructor type."),Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration:iO(2673,1,"Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration_2673","Constructor of class '{0}' is private and only accessible within the class declaration."),Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration:iO(2674,1,"Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration_2674","Constructor of class '{0}' is protected and only accessible within the class declaration."),Cannot_extend_a_class_0_Class_constructor_is_marked_as_private:iO(2675,1,"Cannot_extend_a_class_0_Class_constructor_is_marked_as_private_2675","Cannot extend a class '{0}'. Class constructor is marked as private."),Accessors_must_both_be_abstract_or_non_abstract:iO(2676,1,"Accessors_must_both_be_abstract_or_non_abstract_2676","Accessors must both be abstract or non-abstract."),A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type:iO(2677,1,"A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type_2677","A type predicate's type must be assignable to its parameter's type."),Type_0_is_not_comparable_to_type_1:iO(2678,1,"Type_0_is_not_comparable_to_type_1_2678","Type '{0}' is not comparable to type '{1}'."),A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void:iO(2679,1,"A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void_2679","A function that is called with the 'new' keyword cannot have a 'this' type that is 'void'."),A_0_parameter_must_be_the_first_parameter:iO(2680,1,"A_0_parameter_must_be_the_first_parameter_2680","A '{0}' parameter must be the first parameter."),A_constructor_cannot_have_a_this_parameter:iO(2681,1,"A_constructor_cannot_have_a_this_parameter_2681","A constructor cannot have a 'this' parameter."),this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation:iO(2683,1,"this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_2683","'this' implicitly has type 'any' because it does not have a type annotation."),The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1:iO(2684,1,"The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1_2684","The 'this' context of type '{0}' is not assignable to method's 'this' of type '{1}'."),The_this_types_of_each_signature_are_incompatible:iO(2685,1,"The_this_types_of_each_signature_are_incompatible_2685","The 'this' types of each signature are incompatible."),_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead:iO(2686,1,"_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead_2686","'{0}' refers to a UMD global, but the current file is a module. Consider adding an import instead."),All_declarations_of_0_must_have_identical_modifiers:iO(2687,1,"All_declarations_of_0_must_have_identical_modifiers_2687","All declarations of '{0}' must have identical modifiers."),Cannot_find_type_definition_file_for_0:iO(2688,1,"Cannot_find_type_definition_file_for_0_2688","Cannot find type definition file for '{0}'."),Cannot_extend_an_interface_0_Did_you_mean_implements:iO(2689,1,"Cannot_extend_an_interface_0_Did_you_mean_implements_2689","Cannot extend an interface '{0}'. Did you mean 'implements'?"),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0:iO(2690,1,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0_2690","'{0}' only refers to a type, but is being used as a value here. Did you mean to use '{1} in {0}'?"),_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible:iO(2692,1,"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692","'{0}' is a primitive, but '{1}' is a wrapper object. Prefer using '{0}' when possible."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here:iO(2693,1,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_2693","'{0}' only refers to a type, but is being used as a value here."),Namespace_0_has_no_exported_member_1:iO(2694,1,"Namespace_0_has_no_exported_member_1_2694","Namespace '{0}' has no exported member '{1}'."),Left_side_of_comma_operator_is_unused_and_has_no_side_effects:iO(2695,1,"Left_side_of_comma_operator_is_unused_and_has_no_side_effects_2695","Left side of comma operator is unused and has no side effects.",!0),The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead:iO(2696,1,"The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead_2696","The 'Object' type is assignable to very few other types. Did you mean to use the 'any' type instead?"),An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:iO(2697,1,"An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_in_2697","An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option."),Spread_types_may_only_be_created_from_object_types:iO(2698,1,"Spread_types_may_only_be_created_from_object_types_2698","Spread types may only be created from object types."),Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1:iO(2699,1,"Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699","Static property '{0}' conflicts with built-in property 'Function.{0}' of constructor function '{1}'."),Rest_types_may_only_be_created_from_object_types:iO(2700,1,"Rest_types_may_only_be_created_from_object_types_2700","Rest types may only be created from object types."),The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:iO(2701,1,"The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access_2701","The target of an object rest assignment must be a variable or a property access."),_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here:iO(2702,1,"_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702","'{0}' only refers to a type, but is being used as a namespace here."),The_operand_of_a_delete_operator_must_be_a_property_reference:iO(2703,1,"The_operand_of_a_delete_operator_must_be_a_property_reference_2703","The operand of a 'delete' operator must be a property reference."),The_operand_of_a_delete_operator_cannot_be_a_read_only_property:iO(2704,1,"The_operand_of_a_delete_operator_cannot_be_a_read_only_property_2704","The operand of a 'delete' operator cannot be a read-only property."),An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:iO(2705,1,"An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_de_2705","An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option."),Required_type_parameters_may_not_follow_optional_type_parameters:iO(2706,1,"Required_type_parameters_may_not_follow_optional_type_parameters_2706","Required type parameters may not follow optional type parameters."),Generic_type_0_requires_between_1_and_2_type_arguments:iO(2707,1,"Generic_type_0_requires_between_1_and_2_type_arguments_2707","Generic type '{0}' requires between {1} and {2} type arguments."),Cannot_use_namespace_0_as_a_value:iO(2708,1,"Cannot_use_namespace_0_as_a_value_2708","Cannot use namespace '{0}' as a value."),Cannot_use_namespace_0_as_a_type:iO(2709,1,"Cannot_use_namespace_0_as_a_type_2709","Cannot use namespace '{0}' as a type."),_0_are_specified_twice_The_attribute_named_0_will_be_overwritten:iO(2710,1,"_0_are_specified_twice_The_attribute_named_0_will_be_overwritten_2710","'{0}' are specified twice. The attribute named '{0}' will be overwritten."),A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:iO(2711,1,"A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES20_2711","A dynamic import call returns a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option."),A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:iO(2712,1,"A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declarat_2712","A dynamic import call in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option."),Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1:iO(2713,1,"Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_p_2713","Cannot access '{0}.{1}' because '{0}' is a type, but not a namespace. Did you mean to retrieve the type of the property '{1}' in '{0}' with '{0}[\"{1}\"]'?"),The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context:iO(2714,1,"The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context_2714","The expression of an export assignment must be an identifier or qualified name in an ambient context."),Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor:iO(2715,1,"Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor_2715","Abstract property '{0}' in class '{1}' cannot be accessed in the constructor."),Type_parameter_0_has_a_circular_default:iO(2716,1,"Type_parameter_0_has_a_circular_default_2716","Type parameter '{0}' has a circular default."),Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:iO(2717,1,"Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_t_2717","Subsequent property declarations must have the same type. Property '{0}' must be of type '{1}', but here has type '{2}'."),Duplicate_property_0:iO(2718,1,"Duplicate_property_0_2718","Duplicate property '{0}'."),Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated:iO(2719,1,"Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated_2719","Type '{0}' is not assignable to type '{1}'. Two different types with this name exist, but they are unrelated."),Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:iO(2720,1,"Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclas_2720","Class '{0}' incorrectly implements class '{1}'. Did you mean to extend '{1}' and inherit its members as a subclass?"),Cannot_invoke_an_object_which_is_possibly_null:iO(2721,1,"Cannot_invoke_an_object_which_is_possibly_null_2721","Cannot invoke an object which is possibly 'null'."),Cannot_invoke_an_object_which_is_possibly_undefined:iO(2722,1,"Cannot_invoke_an_object_which_is_possibly_undefined_2722","Cannot invoke an object which is possibly 'undefined'."),Cannot_invoke_an_object_which_is_possibly_null_or_undefined:iO(2723,1,"Cannot_invoke_an_object_which_is_possibly_null_or_undefined_2723","Cannot invoke an object which is possibly 'null' or 'undefined'."),_0_has_no_exported_member_named_1_Did_you_mean_2:iO(2724,1,"_0_has_no_exported_member_named_1_Did_you_mean_2_2724","'{0}' has no exported member named '{1}'. Did you mean '{2}'?"),Class_name_cannot_be_Object_when_targeting_ES5_with_module_0:iO(2725,1,"Class_name_cannot_be_Object_when_targeting_ES5_with_module_0_2725","Class name cannot be 'Object' when targeting ES5 with module {0}."),Cannot_find_lib_definition_for_0:iO(2726,1,"Cannot_find_lib_definition_for_0_2726","Cannot find lib definition for '{0}'."),Cannot_find_lib_definition_for_0_Did_you_mean_1:iO(2727,1,"Cannot_find_lib_definition_for_0_Did_you_mean_1_2727","Cannot find lib definition for '{0}'. Did you mean '{1}'?"),_0_is_declared_here:iO(2728,3,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:iO(2729,1,"Property_0_is_used_before_its_initialization_2729","Property '{0}' is used before its initialization."),An_arrow_function_cannot_have_a_this_parameter:iO(2730,1,"An_arrow_function_cannot_have_a_this_parameter_2730","An arrow function cannot have a 'this' parameter."),Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String:iO(2731,1,"Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_i_2731","Implicit conversion of a 'symbol' to a 'string' will fail at runtime. Consider wrapping this expression in 'String(...)'."),Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension:iO(2732,1,"Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732","Cannot find module '{0}'. Consider using '--resolveJsonModule' to import module with '.json' extension."),Property_0_was_also_declared_here:iO(2733,1,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),Are_you_missing_a_semicolon:iO(2734,1,"Are_you_missing_a_semicolon_2734","Are you missing a semicolon?"),Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1:iO(2735,1,"Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1_2735","Did you mean for '{0}' to be constrained to type 'new (...args: any[]) => {1}'?"),Operator_0_cannot_be_applied_to_type_1:iO(2736,1,"Operator_0_cannot_be_applied_to_type_1_2736","Operator '{0}' cannot be applied to type '{1}'."),BigInt_literals_are_not_available_when_targeting_lower_than_ES2020:iO(2737,1,"BigInt_literals_are_not_available_when_targeting_lower_than_ES2020_2737","BigInt literals are not available when targeting lower than ES2020."),An_outer_value_of_this_is_shadowed_by_this_container:iO(2738,3,"An_outer_value_of_this_is_shadowed_by_this_container_2738","An outer value of 'this' is shadowed by this container."),Type_0_is_missing_the_following_properties_from_type_1_Colon_2:iO(2739,1,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_2739","Type '{0}' is missing the following properties from type '{1}': {2}"),Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more:iO(2740,1,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more_2740","Type '{0}' is missing the following properties from type '{1}': {2}, and {3} more."),Property_0_is_missing_in_type_1_but_required_in_type_2:iO(2741,1,"Property_0_is_missing_in_type_1_but_required_in_type_2_2741","Property '{0}' is missing in type '{1}' but required in type '{2}'."),The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary:iO(2742,1,"The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_a_2742","The inferred type of '{0}' cannot be named without a reference to '{1}'. This is likely not portable. A type annotation is necessary."),No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments:iO(2743,1,"No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments_2743","No overload expects {0} type arguments, but overloads do exist that expect either {1} or {2} type arguments."),Type_parameter_defaults_can_only_reference_previously_declared_type_parameters:iO(2744,1,"Type_parameter_defaults_can_only_reference_previously_declared_type_parameters_2744","Type parameter defaults can only reference previously declared type parameters."),This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided:iO(2745,1,"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745","This JSX tag's '{0}' prop expects type '{1}' which requires multiple children, but only a single child was provided."),This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided:iO(2746,1,"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746","This JSX tag's '{0}' prop expects a single child of type '{1}', but multiple children were provided."),_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2:iO(2747,1,"_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_t_2747","'{0}' components don't accept text as child elements. Text in JSX has the type 'string', but the expected type of '{1}' is '{2}'."),Cannot_access_ambient_const_enums_when_0_is_enabled:iO(2748,1,"Cannot_access_ambient_const_enums_when_0_is_enabled_2748","Cannot access ambient const enums when '{0}' is enabled."),_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0:iO(2749,1,"_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0_2749","'{0}' refers to a value, but is being used as a type here. Did you mean 'typeof {0}'?"),The_implementation_signature_is_declared_here:iO(2750,1,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:iO(2751,1,"Circularity_originates_in_type_at_this_location_2751","Circularity originates in type at this location."),The_first_export_default_is_here:iO(2752,1,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:iO(2753,1,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:iO(2754,1,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:iO(2755,1,"No_constituent_of_type_0_is_callable_2755","No constituent of type '{0}' is callable."),Not_all_constituents_of_type_0_are_callable:iO(2756,1,"Not_all_constituents_of_type_0_are_callable_2756","Not all constituents of type '{0}' are callable."),Type_0_has_no_call_signatures:iO(2757,1,"Type_0_has_no_call_signatures_2757","Type '{0}' has no call signatures."),Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:iO(2758,1,"Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_2758","Each member of the union type '{0}' has signatures, but none of those signatures are compatible with each other."),No_constituent_of_type_0_is_constructable:iO(2759,1,"No_constituent_of_type_0_is_constructable_2759","No constituent of type '{0}' is constructable."),Not_all_constituents_of_type_0_are_constructable:iO(2760,1,"Not_all_constituents_of_type_0_are_constructable_2760","Not all constituents of type '{0}' are constructable."),Type_0_has_no_construct_signatures:iO(2761,1,"Type_0_has_no_construct_signatures_2761","Type '{0}' has no construct signatures."),Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other:iO(2762,1,"Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_2762","Each member of the union type '{0}' has construct signatures, but none of those signatures are compatible with each other."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:iO(2763,1,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_s_2763","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but for-of will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:iO(2764,1,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_al_2764","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array spread will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:iO(2765,1,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring__2765","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array destructuring will always send '{0}'."),Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:iO(2766,1,"Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_co_2766","Cannot delegate iteration to value because the 'next' method of its iterator expects type '{1}', but the containing generator will always send '{0}'."),The_0_property_of_an_iterator_must_be_a_method:iO(2767,1,"The_0_property_of_an_iterator_must_be_a_method_2767","The '{0}' property of an iterator must be a method."),The_0_property_of_an_async_iterator_must_be_a_method:iO(2768,1,"The_0_property_of_an_async_iterator_must_be_a_method_2768","The '{0}' property of an async iterator must be a method."),No_overload_matches_this_call:iO(2769,1,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:iO(2770,1,"The_last_overload_gave_the_following_error_2770","The last overload gave the following error."),The_last_overload_is_declared_here:iO(2771,1,"The_last_overload_is_declared_here_2771","The last overload is declared here."),Overload_0_of_1_2_gave_the_following_error:iO(2772,1,"Overload_0_of_1_2_gave_the_following_error_2772","Overload {0} of {1}, '{2}', gave the following error."),Did_you_forget_to_use_await:iO(2773,1,"Did_you_forget_to_use_await_2773","Did you forget to use 'await'?"),This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead:iO(2774,1,"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774","This condition will always return true since this function is always defined. Did you mean to call it instead?"),Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation:iO(2775,1,"Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation_2775","Assertions require every name in the call target to be declared with an explicit type annotation."),Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name:iO(2776,1,"Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776","Assertions require the call target to be an identifier or qualified name."),The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access:iO(2777,1,"The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access_2777","The operand of an increment or decrement operator may not be an optional property access."),The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access:iO(2778,1,"The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access_2778","The target of an object rest assignment may not be an optional property access."),The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access:iO(2779,1,"The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779","The left-hand side of an assignment expression may not be an optional property access."),The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access:iO(2780,1,"The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access_2780","The left-hand side of a 'for...in' statement may not be an optional property access."),The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access:iO(2781,1,"The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access_2781","The left-hand side of a 'for...of' statement may not be an optional property access."),_0_needs_an_explicit_type_annotation:iO(2782,3,"_0_needs_an_explicit_type_annotation_2782","'{0}' needs an explicit type annotation."),_0_is_specified_more_than_once_so_this_usage_will_be_overwritten:iO(2783,1,"_0_is_specified_more_than_once_so_this_usage_will_be_overwritten_2783","'{0}' is specified more than once, so this usage will be overwritten."),get_and_set_accessors_cannot_declare_this_parameters:iO(2784,1,"get_and_set_accessors_cannot_declare_this_parameters_2784","'get' and 'set' accessors cannot declare 'this' parameters."),This_spread_always_overwrites_this_property:iO(2785,1,"This_spread_always_overwrites_this_property_2785","This spread always overwrites this property."),_0_cannot_be_used_as_a_JSX_component:iO(2786,1,"_0_cannot_be_used_as_a_JSX_component_2786","'{0}' cannot be used as a JSX component."),Its_return_type_0_is_not_a_valid_JSX_element:iO(2787,1,"Its_return_type_0_is_not_a_valid_JSX_element_2787","Its return type '{0}' is not a valid JSX element."),Its_instance_type_0_is_not_a_valid_JSX_element:iO(2788,1,"Its_instance_type_0_is_not_a_valid_JSX_element_2788","Its instance type '{0}' is not a valid JSX element."),Its_element_type_0_is_not_a_valid_JSX_element:iO(2789,1,"Its_element_type_0_is_not_a_valid_JSX_element_2789","Its element type '{0}' is not a valid JSX element."),The_operand_of_a_delete_operator_must_be_optional:iO(2790,1,"The_operand_of_a_delete_operator_must_be_optional_2790","The operand of a 'delete' operator must be optional."),Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later:iO(2791,1,"Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_lat_2791","Exponentiation cannot be performed on 'bigint' values unless the 'target' option is set to 'es2016' or later."),Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_to_the_paths_option:iO(2792,1,"Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_t_2792","Cannot find module '{0}'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?"),The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible:iO(2793,1,"The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_2793","The call would have succeeded against this implementation, but implementation signatures of overloads are not externally visible."),Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise:iO(2794,1,"Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise_2794","Expected {0} arguments, but got {1}. Did you forget to include 'void' in your type argument to 'Promise'?"),The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types:iO(2795,1,"The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types_2795","The 'intrinsic' keyword can only be used to declare compiler provided intrinsic types."),It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tagged_template_expression_which_cannot_be_invoked:iO(2796,1,"It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tag_2796","It is likely that you are missing a comma to separate these two template expressions. They form a tagged template expression which cannot be invoked."),A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract:iO(2797,1,"A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_2797","A mixin class that extends from a type variable containing an abstract construct signature must also be declared 'abstract'."),The_declaration_was_marked_as_deprecated_here:iO(2798,1,"The_declaration_was_marked_as_deprecated_here_2798","The declaration was marked as deprecated here."),Type_produces_a_tuple_type_that_is_too_large_to_represent:iO(2799,1,"Type_produces_a_tuple_type_that_is_too_large_to_represent_2799","Type produces a tuple type that is too large to represent."),Expression_produces_a_tuple_type_that_is_too_large_to_represent:iO(2800,1,"Expression_produces_a_tuple_type_that_is_too_large_to_represent_2800","Expression produces a tuple type that is too large to represent."),This_condition_will_always_return_true_since_this_0_is_always_defined:iO(2801,1,"This_condition_will_always_return_true_since_this_0_is_always_defined_2801","This condition will always return true since this '{0}' is always defined."),Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher:iO(2802,1,"Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es201_2802","Type '{0}' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher."),Cannot_assign_to_private_method_0_Private_methods_are_not_writable:iO(2803,1,"Cannot_assign_to_private_method_0_Private_methods_are_not_writable_2803","Cannot assign to private method '{0}'. Private methods are not writable."),Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name:iO(2804,1,"Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name_2804","Duplicate identifier '{0}'. Static and instance elements cannot share the same private name."),Private_accessor_was_defined_without_a_getter:iO(2806,1,"Private_accessor_was_defined_without_a_getter_2806","Private accessor was defined without a getter."),This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0:iO(2807,1,"This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_o_2807","This syntax requires an imported helper named '{1}' with {2} parameters, which is not compatible with the one in '{0}'. Consider upgrading your version of '{0}'."),A_get_accessor_must_be_at_least_as_accessible_as_the_setter:iO(2808,1,"A_get_accessor_must_be_at_least_as_accessible_as_the_setter_2808","A get accessor must be at least as accessible as the setter"),Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_whole_assignment_in_parentheses:iO(2809,1,"Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_d_2809","Declaration or statement expected. This '=' follows a block of statements, so if you intended to write a destructuring assignment, you might need to wrap the whole assignment in parentheses."),Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments:iO(2810,1,"Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_2810","Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments."),Initializer_for_property_0:iO(2811,1,"Initializer_for_property_0_2811","Initializer for property '{0}'"),Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom:iO(2812,1,"Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom_2812","Property '{0}' does not exist on type '{1}'. Try changing the 'lib' compiler option to include 'dom'."),Class_declaration_cannot_implement_overload_list_for_0:iO(2813,1,"Class_declaration_cannot_implement_overload_list_for_0_2813","Class declaration cannot implement overload list for '{0}'."),Function_with_bodies_can_only_merge_with_classes_that_are_ambient:iO(2814,1,"Function_with_bodies_can_only_merge_with_classes_that_are_ambient_2814","Function with bodies can only merge with classes that are ambient."),arguments_cannot_be_referenced_in_property_initializers:iO(2815,1,"arguments_cannot_be_referenced_in_property_initializers_2815","'arguments' cannot be referenced in property initializers."),Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class:iO(2816,1,"Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class_2816","Cannot use 'this' in a static property initializer of a decorated class."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block:iO(2817,1,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block_2817","Property '{0}' has no initializer and is not definitely assigned in a class static block."),Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers:iO(2818,1,"Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializer_2818","Duplicate identifier '{0}'. Compiler reserves name '{1}' when emitting 'super' references in static initializers."),Namespace_name_cannot_be_0:iO(2819,1,"Namespace_name_cannot_be_0_2819","Namespace name cannot be '{0}'."),Type_0_is_not_assignable_to_type_1_Did_you_mean_2:iO(2820,1,"Type_0_is_not_assignable_to_type_1_Did_you_mean_2_2820","Type '{0}' is not assignable to type '{1}'. Did you mean '{2}'?"),Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext:iO(2821,1,"Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext_2821","Import assertions are only supported when the '--module' option is set to 'esnext' or 'nodenext'."),Import_assertions_cannot_be_used_with_type_only_imports_or_exports:iO(2822,1,"Import_assertions_cannot_be_used_with_type_only_imports_or_exports_2822","Import assertions cannot be used with type-only imports or exports."),Cannot_find_namespace_0_Did_you_mean_1:iO(2833,1,"Cannot_find_namespace_0_Did_you_mean_1_2833","Cannot find namespace '{0}'. Did you mean '{1}'?"),Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node16_or_nodenext_Consider_adding_an_extension_to_the_import_path:iO(2834,1,"Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2834","Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path."),Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node16_or_nodenext_Did_you_mean_0:iO(2835,1,"Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2835","Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '{0}'?"),Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls:iO(2836,1,"Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls_2836","Import assertions are not allowed on statements that transpile to commonjs 'require' calls."),Import_assertion_values_must_be_string_literal_expressions:iO(2837,1,"Import_assertion_values_must_be_string_literal_expressions_2837","Import assertion values must be string literal expressions."),All_declarations_of_0_must_have_identical_constraints:iO(2838,1,"All_declarations_of_0_must_have_identical_constraints_2838","All declarations of '{0}' must have identical constraints."),This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value:iO(2839,1,"This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839","This condition will always return '{0}' since JavaScript compares objects by reference, not value."),An_interface_cannot_extend_a_primitive_type_like_0_an_interface_can_only_extend_named_types_and_classes:iO(2840,1,"An_interface_cannot_extend_a_primitive_type_like_0_an_interface_can_only_extend_named_types_and_clas_2840","An interface cannot extend a primitive type like '{0}'; an interface can only extend named types and classes"),The_type_of_this_expression_cannot_be_named_without_a_resolution_mode_assertion_which_is_an_unstable_feature_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next:iO(2841,1,"The_type_of_this_expression_cannot_be_named_without_a_resolution_mode_assertion_which_is_an_unstable_2841","The type of this expression cannot be named without a 'resolution-mode' assertion, which is an unstable feature. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'."),_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation:iO(2842,1,"_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation_2842","'{0}' is an unused renaming of '{1}'. Did you intend to use it as a type annotation?"),We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here:iO(2843,1,"We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here_2843","We can only write a type for '{0}' by adding a type for the entire parameter here."),Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:iO(2844,1,"Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2844","Type of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."),This_condition_will_always_return_0:iO(2845,1,"This_condition_will_always_return_0_2845","This condition will always return '{0}'."),A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_file_0_instead:iO(2846,1,"A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_f_2846","A declaration file cannot be imported without 'import type'. Did you mean to import an implementation file '{0}' instead?"),Import_declaration_0_is_using_private_name_1:iO(4e3,1,"Import_declaration_0_is_using_private_name_1_4000","Import declaration '{0}' is using private name '{1}'."),Type_parameter_0_of_exported_class_has_or_is_using_private_name_1:iO(4002,1,"Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002","Type parameter '{0}' of exported class has or is using private name '{1}'."),Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1:iO(4004,1,"Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004","Type parameter '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:iO(4006,1,"Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4006","Type parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:iO(4008,1,"Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4008","Type parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:iO(4010,1,"Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4010","Type parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:iO(4012,1,"Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4012","Type parameter '{0}' of public method from exported class has or is using private name '{1}'."),Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:iO(4014,1,"Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4014","Type parameter '{0}' of method from exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_function_has_or_is_using_private_name_1:iO(4016,1,"Type_parameter_0_of_exported_function_has_or_is_using_private_name_1_4016","Type parameter '{0}' of exported function has or is using private name '{1}'."),Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:iO(4019,1,"Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019","Implements clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_0_has_or_is_using_private_name_1:iO(4020,1,"extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020","'extends' clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_has_or_is_using_private_name_0:iO(4021,1,"extends_clause_of_exported_class_has_or_is_using_private_name_0_4021","'extends' clause of exported class has or is using private name '{0}'."),extends_clause_of_exported_interface_0_has_or_is_using_private_name_1:iO(4022,1,"extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022","'extends' clause of exported interface '{0}' has or is using private name '{1}'."),Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:iO(4023,1,"Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4023","Exported variable '{0}' has or is using name '{1}' from external module {2} but cannot be named."),Exported_variable_0_has_or_is_using_name_1_from_private_module_2:iO(4024,1,"Exported_variable_0_has_or_is_using_name_1_from_private_module_2_4024","Exported variable '{0}' has or is using name '{1}' from private module '{2}'."),Exported_variable_0_has_or_is_using_private_name_1:iO(4025,1,"Exported_variable_0_has_or_is_using_private_name_1_4025","Exported variable '{0}' has or is using private name '{1}'."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:iO(4026,1,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot__4026","Public static property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:iO(4027,1,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4027","Public static property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:iO(4028,1,"Public_static_property_0_of_exported_class_has_or_is_using_private_name_1_4028","Public static property '{0}' of exported class has or is using private name '{1}'."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:iO(4029,1,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_name_4029","Public property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:iO(4030,1,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4030","Public property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_property_0_of_exported_class_has_or_is_using_private_name_1:iO(4031,1,"Public_property_0_of_exported_class_has_or_is_using_private_name_1_4031","Public property '{0}' of exported class has or is using private name '{1}'."),Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:iO(4032,1,"Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4032","Property '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Property_0_of_exported_interface_has_or_is_using_private_name_1:iO(4033,1,"Property_0_of_exported_interface_has_or_is_using_private_name_1_4033","Property '{0}' of exported interface has or is using private name '{1}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:iO(4034,1,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_mod_4034","Parameter type of public static setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:iO(4035,1,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1_4035","Parameter type of public static setter '{0}' from exported class has or is using private name '{1}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:iO(4036,1,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4036","Parameter type of public setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:iO(4037,1,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1_4037","Parameter type of public setter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:iO(4038,1,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_modul_4038","Return type of public static getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:iO(4039,1,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_4039","Return type of public static getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:iO(4040,1,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1_4040","Return type of public static getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:iO(4041,1,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_4041","Return type of public getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:iO(4042,1,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4042","Return type of public getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1:iO(4043,1,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1_4043","Return type of public getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:iO(4044,1,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_mod_4044","Return type of constructor signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0:iO(4045,1,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0_4045","Return type of constructor signature from exported interface has or is using private name '{0}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:iO(4046,1,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4046","Return type of call signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0:iO(4047,1,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0_4047","Return type of call signature from exported interface has or is using private name '{0}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:iO(4048,1,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4048","Return type of index signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0:iO(4049,1,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0_4049","Return type of index signature from exported interface has or is using private name '{0}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:iO(4050,1,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module__4050","Return type of public static method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:iO(4051,1,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4051","Return type of public static method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:iO(4052,1,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0_4052","Return type of public static method from exported class has or is using private name '{0}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:iO(4053,1,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_c_4053","Return type of public method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:iO(4054,1,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4054","Return type of public method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:iO(4055,1,"Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0_4055","Return type of public method from exported class has or is using private name '{0}'."),Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:iO(4056,1,"Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4056","Return type of method from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0:iO(4057,1,"Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0_4057","Return type of method from exported interface has or is using private name '{0}'."),Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:iO(4058,1,"Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named_4058","Return type of exported function has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:iO(4059,1,"Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1_4059","Return type of exported function has or is using name '{0}' from private module '{1}'."),Return_type_of_exported_function_has_or_is_using_private_name_0:iO(4060,1,"Return_type_of_exported_function_has_or_is_using_private_name_0_4060","Return type of exported function has or is using private name '{0}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:iO(4061,1,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_can_4061","Parameter '{0}' of constructor from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:iO(4062,1,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2_4062","Parameter '{0}' of constructor from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1:iO(4063,1,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1_4063","Parameter '{0}' of constructor from exported class has or is using private name '{1}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:iO(4064,1,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_mod_4064","Parameter '{0}' of constructor signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:iO(4065,1,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4065","Parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:iO(4066,1,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4066","Parameter '{0}' of call signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:iO(4067,1,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4067","Parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:iO(4068,1,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module__4068","Parameter '{0}' of public static method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:iO(4069,1,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4069","Parameter '{0}' of public static method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:iO(4070,1,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4070","Parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:iO(4071,1,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_c_4071","Parameter '{0}' of public method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:iO(4072,1,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4072","Parameter '{0}' of public method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:iO(4073,1,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4073","Parameter '{0}' of public method from exported class has or is using private name '{1}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:iO(4074,1,"Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4074","Parameter '{0}' of method from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:iO(4075,1,"Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4075","Parameter '{0}' of method from exported interface has or is using private name '{1}'."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:iO(4076,1,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4076","Parameter '{0}' of exported function has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:iO(4077,1,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2_4077","Parameter '{0}' of exported function has or is using name '{1}' from private module '{2}'."),Parameter_0_of_exported_function_has_or_is_using_private_name_1:iO(4078,1,"Parameter_0_of_exported_function_has_or_is_using_private_name_1_4078","Parameter '{0}' of exported function has or is using private name '{1}'."),Exported_type_alias_0_has_or_is_using_private_name_1:iO(4081,1,"Exported_type_alias_0_has_or_is_using_private_name_1_4081","Exported type alias '{0}' has or is using private name '{1}'."),Default_export_of_the_module_has_or_is_using_private_name_0:iO(4082,1,"Default_export_of_the_module_has_or_is_using_private_name_0_4082","Default export of the module has or is using private name '{0}'."),Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1:iO(4083,1,"Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1_4083","Type parameter '{0}' of exported type alias has or is using private name '{1}'."),Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:iO(4084,1,"Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2_4084","Exported type alias '{0}' has or is using private name '{1}' from module {2}."),Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1:iO(4085,1,"Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1_4085","Extends clause for inferred type '{0}' has or is using private name '{1}'."),Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict:iO(4090,1,"Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_librar_4090","Conflicting definitions for '{0}' found at '{1}' and '{2}'. Consider installing a specific version of this library to resolve the conflict."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:iO(4091,1,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4091","Parameter '{0}' of index signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1:iO(4092,1,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1_4092","Parameter '{0}' of index signature from exported interface has or is using private name '{1}'."),Property_0_of_exported_class_expression_may_not_be_private_or_protected:iO(4094,1,"Property_0_of_exported_class_expression_may_not_be_private_or_protected_4094","Property '{0}' of exported class expression may not be private or protected."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:iO(4095,1,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_4095","Public static method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:iO(4096,1,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4096","Public static method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:iO(4097,1,"Public_static_method_0_of_exported_class_has_or_is_using_private_name_1_4097","Public static method '{0}' of exported class has or is using private name '{1}'."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:iO(4098,1,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098","Public method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:iO(4099,1,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099","Public method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_method_0_of_exported_class_has_or_is_using_private_name_1:iO(4100,1,"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100","Public method '{0}' of exported class has or is using private name '{1}'."),Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:iO(4101,1,"Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4101","Method '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Method_0_of_exported_interface_has_or_is_using_private_name_1:iO(4102,1,"Method_0_of_exported_interface_has_or_is_using_private_name_1_4102","Method '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1:iO(4103,1,"Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1_4103","Type parameter '{0}' of exported mapped object type is using private name '{1}'."),The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1:iO(4104,1,"The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1_4104","The type '{0}' is 'readonly' and cannot be assigned to the mutable type '{1}'."),Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter:iO(4105,1,"Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter_4105","Private or protected member '{0}' cannot be accessed on a type parameter."),Parameter_0_of_accessor_has_or_is_using_private_name_1:iO(4106,1,"Parameter_0_of_accessor_has_or_is_using_private_name_1_4106","Parameter '{0}' of accessor has or is using private name '{1}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:iO(4107,1,"Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2_4107","Parameter '{0}' of accessor has or is using name '{1}' from private module '{2}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:iO(4108,1,"Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4108","Parameter '{0}' of accessor has or is using name '{1}' from external module '{2}' but cannot be named."),Type_arguments_for_0_circularly_reference_themselves:iO(4109,1,"Type_arguments_for_0_circularly_reference_themselves_4109","Type arguments for '{0}' circularly reference themselves."),Tuple_type_arguments_circularly_reference_themselves:iO(4110,1,"Tuple_type_arguments_circularly_reference_themselves_4110","Tuple type arguments circularly reference themselves."),Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0:iO(4111,1,"Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0_4111","Property '{0}' comes from an index signature, so it must be accessed with ['{0}']."),This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class:iO(4112,1,"This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another__4112","This member cannot have an 'override' modifier because its containing class '{0}' does not extend another class."),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0:iO(4113,1,"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_4113","This member cannot have an 'override' modifier because it is not declared in the base class '{0}'."),This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0:iO(4114,1,"This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0_4114","This member must have an 'override' modifier because it overrides a member in the base class '{0}'."),This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0:iO(4115,1,"This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115","This parameter property must have an 'override' modifier because it overrides a member in base class '{0}'."),This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0:iO(4116,1,"This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared__4116","This member must have an 'override' modifier because it overrides an abstract method that is declared in the base class '{0}'."),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:iO(4117,1,"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you__4117","This member cannot have an 'override' modifier because it is not declared in the base class '{0}'. Did you mean '{1}'?"),The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized:iO(4118,1,"The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized_4118","The type of this node cannot be serialized because its property '{0}' cannot be serialized."),This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:iO(4119,1,"This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_4119","This member must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'."),This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:iO(4120,1,"This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_4120","This parameter property must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class:iO(4121,1,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_4121","This member cannot have a JSDoc comment with an '@override' tag because its containing class '{0}' does not extend another class."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0:iO(4122,1,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4122","This member cannot have a JSDoc comment with an '@override' tag because it is not declared in the base class '{0}'."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:iO(4123,1,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4123","This member cannot have a JSDoc comment with an 'override' tag because it is not declared in the base class '{0}'. Did you mean '{1}'?"),Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next:iO(4124,1,"Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_w_4124","Compiler option '{0}' of value '{1}' is unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'."),resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next:iO(4125,1,"resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_wi_4125","'resolution-mode' assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'."),The_current_host_does_not_support_the_0_option:iO(5001,1,"The_current_host_does_not_support_the_0_option_5001","The current host does not support the '{0}' option."),Cannot_find_the_common_subdirectory_path_for_the_input_files:iO(5009,1,"Cannot_find_the_common_subdirectory_path_for_the_input_files_5009","Cannot find the common subdirectory path for the input files."),File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:iO(5010,1,"File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0_5010","File specification cannot end in a recursive directory wildcard ('**'): '{0}'."),Cannot_read_file_0_Colon_1:iO(5012,1,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Failed_to_parse_file_0_Colon_1:iO(5014,1,"Failed_to_parse_file_0_Colon_1_5014","Failed to parse file '{0}': {1}."),Unknown_compiler_option_0:iO(5023,1,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:iO(5024,1,"Compiler_option_0_requires_a_value_of_type_1_5024","Compiler option '{0}' requires a value of type {1}."),Unknown_compiler_option_0_Did_you_mean_1:iO(5025,1,"Unknown_compiler_option_0_Did_you_mean_1_5025","Unknown compiler option '{0}'. Did you mean '{1}'?"),Could_not_write_file_0_Colon_1:iO(5033,1,"Could_not_write_file_0_Colon_1_5033","Could not write file '{0}': {1}."),Option_project_cannot_be_mixed_with_source_files_on_a_command_line:iO(5042,1,"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042","Option 'project' cannot be mixed with source files on a command line."),Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher:iO(5047,1,"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047","Option 'isolatedModules' can only be used when either option '--module' is provided or option 'target' is 'ES2015' or higher."),Option_0_cannot_be_specified_when_option_target_is_ES3:iO(5048,1,"Option_0_cannot_be_specified_when_option_target_is_ES3_5048","Option '{0}' cannot be specified when option 'target' is 'ES3'."),Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided:iO(5051,1,"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051","Option '{0} can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided."),Option_0_cannot_be_specified_without_specifying_option_1:iO(5052,1,"Option_0_cannot_be_specified_without_specifying_option_1_5052","Option '{0}' cannot be specified without specifying option '{1}'."),Option_0_cannot_be_specified_with_option_1:iO(5053,1,"Option_0_cannot_be_specified_with_option_1_5053","Option '{0}' cannot be specified with option '{1}'."),A_tsconfig_json_file_is_already_defined_at_Colon_0:iO(5054,1,"A_tsconfig_json_file_is_already_defined_at_Colon_0_5054","A 'tsconfig.json' file is already defined at: '{0}'."),Cannot_write_file_0_because_it_would_overwrite_input_file:iO(5055,1,"Cannot_write_file_0_because_it_would_overwrite_input_file_5055","Cannot write file '{0}' because it would overwrite input file."),Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files:iO(5056,1,"Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files_5056","Cannot write file '{0}' because it would be overwritten by multiple input files."),Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0:iO(5057,1,"Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0_5057","Cannot find a tsconfig.json file at the specified directory: '{0}'."),The_specified_path_does_not_exist_Colon_0:iO(5058,1,"The_specified_path_does_not_exist_Colon_0_5058","The specified path does not exist: '{0}'."),Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier:iO(5059,1,"Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier_5059","Invalid value for '--reactNamespace'. '{0}' is not a valid identifier."),Pattern_0_can_have_at_most_one_Asterisk_character:iO(5061,1,"Pattern_0_can_have_at_most_one_Asterisk_character_5061","Pattern '{0}' can have at most one '*' character."),Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character:iO(5062,1,"Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character_5062","Substitution '{0}' in pattern '{1}' can have at most one '*' character."),Substitutions_for_pattern_0_should_be_an_array:iO(5063,1,"Substitutions_for_pattern_0_should_be_an_array_5063","Substitutions for pattern '{0}' should be an array."),Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2:iO(5064,1,"Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2_5064","Substitution '{0}' for pattern '{1}' has incorrect type, expected 'string', got '{2}'."),File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:iO(5065,1,"File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildca_5065","File specification cannot contain a parent directory ('..') that appears after a recursive directory wildcard ('**'): '{0}'."),Substitutions_for_pattern_0_shouldn_t_be_an_empty_array:iO(5066,1,"Substitutions_for_pattern_0_shouldn_t_be_an_empty_array_5066","Substitutions for pattern '{0}' shouldn't be an empty array."),Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name:iO(5067,1,"Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name_5067","Invalid value for 'jsxFactory'. '{0}' is not a valid identifier or qualified-name."),Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig:iO(5068,1,"Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript__5068","Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig."),Option_0_cannot_be_specified_without_specifying_option_1_or_option_2:iO(5069,1,"Option_0_cannot_be_specified_without_specifying_option_1_or_option_2_5069","Option '{0}' cannot be specified without specifying option '{1}' or option '{2}'."),Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic:iO(5070,1,"Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic_5070","Option '--resolveJsonModule' cannot be specified when 'moduleResolution' is set to 'classic'."),Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext:iO(5071,1,"Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_5071","Option '--resolveJsonModule' can only be specified when module code generation is 'commonjs', 'amd', 'es2015' or 'esNext'."),Unknown_build_option_0:iO(5072,1,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:iO(5073,1,"Build_option_0_requires_a_value_of_type_1_5073","Build option '{0}' requires a value of type {1}."),Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified:iO(5074,1,"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074","Option '--incremental' can only be specified using tsconfig, emitting to single file or when option '--tsBuildInfoFile' is specified."),_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2:iO(5075,1,"_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_5075","'{0}' is assignable to the constraint of type '{1}', but '{1}' could be instantiated with a different subtype of constraint '{2}'."),_0_and_1_operations_cannot_be_mixed_without_parentheses:iO(5076,1,"_0_and_1_operations_cannot_be_mixed_without_parentheses_5076","'{0}' and '{1}' operations cannot be mixed without parentheses."),Unknown_build_option_0_Did_you_mean_1:iO(5077,1,"Unknown_build_option_0_Did_you_mean_1_5077","Unknown build option '{0}'. Did you mean '{1}'?"),Unknown_watch_option_0:iO(5078,1,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:iO(5079,1,"Unknown_watch_option_0_Did_you_mean_1_5079","Unknown watch option '{0}'. Did you mean '{1}'?"),Watch_option_0_requires_a_value_of_type_1:iO(5080,1,"Watch_option_0_requires_a_value_of_type_1_5080","Watch option '{0}' requires a value of type {1}."),Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0:iO(5081,1,"Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0_5081","Cannot find a tsconfig.json file at the current directory: {0}."),_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1:iO(5082,1,"_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1_5082","'{0}' could be instantiated with an arbitrary type which could be unrelated to '{1}'."),Cannot_read_file_0:iO(5083,1,"Cannot_read_file_0_5083","Cannot read file '{0}'."),Tuple_members_must_all_have_names_or_all_not_have_names:iO(5084,1,"Tuple_members_must_all_have_names_or_all_not_have_names_5084","Tuple members must all have names or all not have names."),A_tuple_member_cannot_be_both_optional_and_rest:iO(5085,1,"A_tuple_member_cannot_be_both_optional_and_rest_5085","A tuple member cannot be both optional and rest."),A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type:iO(5086,1,"A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_c_5086","A labeled tuple element is declared as optional with a question mark after the name and before the colon, rather than after the type."),A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type:iO(5087,1,"A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type_5087","A labeled tuple element is declared as rest with a '...' before the name, rather than before the type."),The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary:iO(5088,1,"The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialize_5088","The inferred type of '{0}' references a type with a cyclic structure which cannot be trivially serialized. A type annotation is necessary."),Option_0_cannot_be_specified_when_option_jsx_is_1:iO(5089,1,"Option_0_cannot_be_specified_when_option_jsx_is_1_5089","Option '{0}' cannot be specified when option 'jsx' is '{1}'."),Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash:iO(5090,1,"Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash_5090","Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?"),Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled:iO(5091,1,"Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled_5091","Option 'preserveConstEnums' cannot be disabled when '{0}' is enabled."),The_root_value_of_a_0_file_must_be_an_object:iO(5092,1,"The_root_value_of_a_0_file_must_be_an_object_5092","The root value of a '{0}' file must be an object."),Compiler_option_0_may_only_be_used_with_build:iO(5093,1,"Compiler_option_0_may_only_be_used_with_build_5093","Compiler option '--{0}' may only be used with '--build'."),Compiler_option_0_may_not_be_used_with_build:iO(5094,1,"Compiler_option_0_may_not_be_used_with_build_5094","Compiler option '--{0}' may not be used with '--build'."),Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later:iO(5095,1,"Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later_5095","Option '{0}' can only be used when 'module' is set to 'es2015' or later."),Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set:iO(5096,1,"Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set_5096","Option 'allowImportingTsExtensions' can only be used when either 'noEmit' or 'emitDeclarationOnly' is set."),An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled:iO(5097,1,"An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled_5097","An import path can only end with a '{0}' extension when 'allowImportingTsExtensions' is enabled."),Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler:iO(5098,1,"Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler_5098","Option '{0}' can only be used when 'moduleResolution' is set to 'node16', 'nodenext', or 'bundler'."),Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprecations_Colon_2_to_silence_this_error:iO(5101,1,"Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprec_5101","Option '{0}' is deprecated and will stop functioning in TypeScript {1}. Specify compilerOption '\"ignoreDeprecations\": \"{2}\"' to silence this error."),Option_0_has_been_removed_Please_remove_it_from_your_configuration:iO(5102,1,"Option_0_has_been_removed_Please_remove_it_from_your_configuration_5102","Option '{0}' has been removed. Please remove it from your configuration."),Invalid_value_for_ignoreDeprecations:iO(5103,1,"Invalid_value_for_ignoreDeprecations_5103","Invalid value for '--ignoreDeprecations'."),Option_0_is_redundant_and_cannot_be_specified_with_option_1:iO(5104,1,"Option_0_is_redundant_and_cannot_be_specified_with_option_1_5104","Option '{0}' is redundant and cannot be specified with option '{1}'."),Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System:iO(5105,1,"Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System_5105","Option 'verbatimModuleSyntax' cannot be used when 'module' is set to 'UMD', 'AMD', or 'System'."),Use_0_instead:iO(5106,3,"Use_0_instead_5106","Use '{0}' instead."),Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDeprecations_Colon_3_to_silence_this_error:iO(5107,1,"Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDepr_5107","Option '{0}={1}' is deprecated and will stop functioning in TypeScript {2}. Specify compilerOption '\"ignoreDeprecations\": \"{3}\"' to silence this error."),Option_0_1_has_been_removed_Please_remove_it_from_your_configuration:iO(5108,1,"Option_0_1_has_been_removed_Please_remove_it_from_your_configuration_5108","Option '{0}={1}' has been removed. Please remove it from your configuration."),Generates_a_sourcemap_for_each_corresponding_d_ts_file:iO(6e3,3,"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000","Generates a sourcemap for each corresponding '.d.ts' file."),Concatenate_and_emit_output_to_single_file:iO(6001,3,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:iO(6002,3,"Generates_corresponding_d_ts_file_6002","Generates corresponding '.d.ts' file."),Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations:iO(6004,3,"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004","Specify the location where debugger should locate TypeScript files instead of source locations."),Watch_input_files:iO(6005,3,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:iO(6006,3,"Redirect_output_structure_to_the_directory_6006","Redirect output structure to the directory."),Do_not_erase_const_enum_declarations_in_generated_code:iO(6007,3,"Do_not_erase_const_enum_declarations_in_generated_code_6007","Do not erase const enum declarations in generated code."),Do_not_emit_outputs_if_any_errors_were_reported:iO(6008,3,"Do_not_emit_outputs_if_any_errors_were_reported_6008","Do not emit outputs if any errors were reported."),Do_not_emit_comments_to_output:iO(6009,3,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:iO(6010,3,"Do_not_emit_outputs_6010","Do not emit outputs."),Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking:iO(6011,3,"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011","Allow default imports from modules with no default export. This does not affect code emit, just typechecking."),Skip_type_checking_of_declaration_files:iO(6012,3,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:iO(6013,3,"Do_not_resolve_the_real_path_of_symlinks_6013","Do not resolve the real path of symlinks."),Only_emit_d_ts_declaration_files:iO(6014,3,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version:iO(6015,3,"Specify_ECMAScript_target_version_6015","Specify ECMAScript target version."),Specify_module_code_generation:iO(6016,3,"Specify_module_code_generation_6016","Specify module code generation."),Print_this_message:iO(6017,3,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:iO(6019,3,"Print_the_compiler_s_version_6019","Print the compiler's version."),Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json:iO(6020,3,"Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json_6020","Compile the project given the path to its configuration file, or to a folder with a 'tsconfig.json'."),Syntax_Colon_0:iO(6023,3,"Syntax_Colon_0_6023","Syntax: {0}"),options:iO(6024,3,"options_6024","options"),file:iO(6025,3,"file_6025","file"),Examples_Colon_0:iO(6026,3,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:iO(6027,3,"Options_Colon_6027","Options:"),Version_0:iO(6029,3,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:iO(6030,3,"Insert_command_line_options_and_files_from_a_file_6030","Insert command line options and files from a file."),Starting_compilation_in_watch_mode:iO(6031,3,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:iO(6032,3,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:iO(6034,3,"KIND_6034","KIND"),FILE:iO(6035,3,"FILE_6035","FILE"),VERSION:iO(6036,3,"VERSION_6036","VERSION"),LOCATION:iO(6037,3,"LOCATION_6037","LOCATION"),DIRECTORY:iO(6038,3,"DIRECTORY_6038","DIRECTORY"),STRATEGY:iO(6039,3,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:iO(6040,3,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Errors_Files:iO(6041,3,"Errors_Files_6041","Errors Files"),Generates_corresponding_map_file:iO(6043,3,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:iO(6044,1,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:iO(6045,1,"Unterminated_quoted_string_in_response_file_0_6045","Unterminated quoted string in response file '{0}'."),Argument_for_0_option_must_be_Colon_1:iO(6046,1,"Argument_for_0_option_must_be_Colon_1_6046","Argument for '{0}' option must be: {1}."),Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1:iO(6048,1,"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048","Locale must be of the form or -. For example '{0}' or '{1}'."),Unable_to_open_file_0:iO(6050,1,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:iO(6051,1,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:iO(6052,3,"Raise_error_on_expressions_and_declarations_with_an_implied_any_type_6052","Raise error on expressions and declarations with an implied 'any' type."),File_0_not_found:iO(6053,1,"File_0_not_found_6053","File '{0}' not found."),File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1:iO(6054,1,"File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1_6054","File '{0}' has an unsupported extension. The only supported extensions are {1}."),Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures:iO(6055,3,"Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055","Suppress noImplicitAny errors for indexing objects lacking index signatures."),Do_not_emit_declarations_for_code_that_has_an_internal_annotation:iO(6056,3,"Do_not_emit_declarations_for_code_that_has_an_internal_annotation_6056","Do not emit declarations for code that has an '@internal' annotation."),Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir:iO(6058,3,"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058","Specify the root directory of input files. Use to control the output directory structure with --outDir."),File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files:iO(6059,1,"File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files_6059","File '{0}' is not under 'rootDir' '{1}'. 'rootDir' is expected to contain all source files."),Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix:iO(6060,3,"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060","Specify the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix)."),NEWLINE:iO(6061,3,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:iO(6064,1,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'null' on command line."),Enables_experimental_support_for_ES7_decorators:iO(6065,3,"Enables_experimental_support_for_ES7_decorators_6065","Enables experimental support for ES7 decorators."),Enables_experimental_support_for_emitting_type_metadata_for_decorators:iO(6066,3,"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066","Enables experimental support for emitting type metadata for decorators."),Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file:iO(6070,3,"Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file_6070","Initializes a TypeScript project and creates a tsconfig.json file."),Successfully_created_a_tsconfig_json_file:iO(6071,3,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:iO(6072,3,"Suppress_excess_property_checks_for_object_literals_6072","Suppress excess property checks for object literals."),Stylize_errors_and_messages_using_color_and_context_experimental:iO(6073,3,"Stylize_errors_and_messages_using_color_and_context_experimental_6073","Stylize errors and messages using color and context (experimental)."),Do_not_report_errors_on_unused_labels:iO(6074,3,"Do_not_report_errors_on_unused_labels_6074","Do not report errors on unused labels."),Report_error_when_not_all_code_paths_in_function_return_a_value:iO(6075,3,"Report_error_when_not_all_code_paths_in_function_return_a_value_6075","Report error when not all code paths in function return a value."),Report_errors_for_fallthrough_cases_in_switch_statement:iO(6076,3,"Report_errors_for_fallthrough_cases_in_switch_statement_6076","Report errors for fallthrough cases in switch statement."),Do_not_report_errors_on_unreachable_code:iO(6077,3,"Do_not_report_errors_on_unreachable_code_6077","Do not report errors on unreachable code."),Disallow_inconsistently_cased_references_to_the_same_file:iO(6078,3,"Disallow_inconsistently_cased_references_to_the_same_file_6078","Disallow inconsistently-cased references to the same file."),Specify_library_files_to_be_included_in_the_compilation:iO(6079,3,"Specify_library_files_to_be_included_in_the_compilation_6079","Specify library files to be included in the compilation."),Specify_JSX_code_generation:iO(6080,3,"Specify_JSX_code_generation_6080","Specify JSX code generation."),File_0_has_an_unsupported_extension_so_skipping_it:iO(6081,3,"File_0_has_an_unsupported_extension_so_skipping_it_6081","File '{0}' has an unsupported extension, so skipping it."),Only_amd_and_system_modules_are_supported_alongside_0:iO(6082,1,"Only_amd_and_system_modules_are_supported_alongside_0_6082","Only 'amd' and 'system' modules are supported alongside --{0}."),Base_directory_to_resolve_non_absolute_module_names:iO(6083,3,"Base_directory_to_resolve_non_absolute_module_names_6083","Base directory to resolve non-absolute module names."),Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit:iO(6084,3,"Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react__6084","[Deprecated] Use '--jsxFactory' instead. Specify the object invoked for createElement when targeting 'react' JSX emit"),Enable_tracing_of_the_name_resolution_process:iO(6085,3,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:iO(6086,3,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:iO(6087,3,"Explicitly_specified_module_resolution_kind_Colon_0_6087","Explicitly specified module resolution kind: '{0}'."),Module_resolution_kind_is_not_specified_using_0:iO(6088,3,"Module_resolution_kind_is_not_specified_using_0_6088","Module resolution kind is not specified, using '{0}'."),Module_name_0_was_successfully_resolved_to_1:iO(6089,3,"Module_name_0_was_successfully_resolved_to_1_6089","======== Module name '{0}' was successfully resolved to '{1}'. ========"),Module_name_0_was_not_resolved:iO(6090,3,"Module_name_0_was_not_resolved_6090","======== Module name '{0}' was not resolved. ========"),paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0:iO(6091,3,"paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0_6091","'paths' option is specified, looking for a pattern to match module name '{0}'."),Module_name_0_matched_pattern_1:iO(6092,3,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:iO(6093,3,"Trying_substitution_0_candidate_module_location_Colon_1_6093","Trying substitution '{0}', candidate module location: '{1}'."),Resolving_module_name_0_relative_to_base_url_1_2:iO(6094,3,"Resolving_module_name_0_relative_to_base_url_1_2_6094","Resolving module name '{0}' relative to base url '{1}' - '{2}'."),Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_types_Colon_1:iO(6095,3,"Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_types_Colon_1_6095","Loading module as file / folder, candidate module location '{0}', target file types: {1}."),File_0_does_not_exist:iO(6096,3,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exists_use_it_as_a_name_resolution_result:iO(6097,3,"File_0_exists_use_it_as_a_name_resolution_result_6097","File '{0}' exists - use it as a name resolution result."),Loading_module_0_from_node_modules_folder_target_file_types_Colon_1:iO(6098,3,"Loading_module_0_from_node_modules_folder_target_file_types_Colon_1_6098","Loading module '{0}' from 'node_modules' folder, target file types: {1}."),Found_package_json_at_0:iO(6099,3,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:iO(6100,3,"package_json_does_not_have_a_0_field_6100","'package.json' does not have a '{0}' field."),package_json_has_0_field_1_that_references_2:iO(6101,3,"package_json_has_0_field_1_that_references_2_6101","'package.json' has '{0}' field '{1}' that references '{2}'."),Allow_javascript_files_to_be_compiled:iO(6102,3,"Allow_javascript_files_to_be_compiled_6102","Allow javascript files to be compiled."),Checking_if_0_is_the_longest_matching_prefix_for_1_2:iO(6104,3,"Checking_if_0_is_the_longest_matching_prefix_for_1_2_6104","Checking if '{0}' is the longest matching prefix for '{1}' - '{2}'."),Expected_type_of_0_field_in_package_json_to_be_1_got_2:iO(6105,3,"Expected_type_of_0_field_in_package_json_to_be_1_got_2_6105","Expected type of '{0}' field in 'package.json' to be '{1}', got '{2}'."),baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1:iO(6106,3,"baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1_6106","'baseUrl' option is set to '{0}', using this value to resolve non-relative module name '{1}'."),rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0:iO(6107,3,"rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0_6107","'rootDirs' option is set, using it to resolve relative module name '{0}'."),Longest_matching_prefix_for_0_is_1:iO(6108,3,"Longest_matching_prefix_for_0_is_1_6108","Longest matching prefix for '{0}' is '{1}'."),Loading_0_from_the_root_dir_1_candidate_location_2:iO(6109,3,"Loading_0_from_the_root_dir_1_candidate_location_2_6109","Loading '{0}' from the root dir '{1}', candidate location '{2}'."),Trying_other_entries_in_rootDirs:iO(6110,3,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:iO(6111,3,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Do_not_emit_use_strict_directives_in_module_output:iO(6112,3,"Do_not_emit_use_strict_directives_in_module_output_6112","Do not emit 'use strict' directives in module output."),Enable_strict_null_checks:iO(6113,3,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:iO(6114,1,"Unknown_option_excludes_Did_you_mean_exclude_6114","Unknown option 'excludes'. Did you mean 'exclude'?"),Raise_error_on_this_expressions_with_an_implied_any_type:iO(6115,3,"Raise_error_on_this_expressions_with_an_implied_any_type_6115","Raise error on 'this' expressions with an implied 'any' type."),Resolving_type_reference_directive_0_containing_file_1_root_directory_2:iO(6116,3,"Resolving_type_reference_directive_0_containing_file_1_root_directory_2_6116","======== Resolving type reference directive '{0}', containing file '{1}', root directory '{2}'. ========"),Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2:iO(6119,3,"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119","======== Type reference directive '{0}' was successfully resolved to '{1}', primary: {2}. ========"),Type_reference_directive_0_was_not_resolved:iO(6120,3,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:iO(6121,3,"Resolving_with_primary_search_path_0_6121","Resolving with primary search path '{0}'."),Root_directory_cannot_be_determined_skipping_primary_search_paths:iO(6122,3,"Root_directory_cannot_be_determined_skipping_primary_search_paths_6122","Root directory cannot be determined, skipping primary search paths."),Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set:iO(6123,3,"Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set_6123","======== Resolving type reference directive '{0}', containing file '{1}', root directory not set. ========"),Type_declaration_files_to_be_included_in_compilation:iO(6124,3,"Type_declaration_files_to_be_included_in_compilation_6124","Type declaration files to be included in compilation."),Looking_up_in_node_modules_folder_initial_location_0:iO(6125,3,"Looking_up_in_node_modules_folder_initial_location_0_6125","Looking up in 'node_modules' folder, initial location '{0}'."),Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder:iO(6126,3,"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126","Containing file is not specified and root directory cannot be determined, skipping lookup in 'node_modules' folder."),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1:iO(6127,3,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1_6127","======== Resolving type reference directive '{0}', containing file not set, root directory '{1}'. ========"),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set:iO(6128,3,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set_6128","======== Resolving type reference directive '{0}', containing file not set, root directory not set. ========"),Resolving_real_path_for_0_result_1:iO(6130,3,"Resolving_real_path_for_0_result_1_6130","Resolving real path for '{0}', result '{1}'."),Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system:iO(6131,1,"Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system_6131","Cannot compile modules using option '{0}' unless the '--module' flag is 'amd' or 'system'."),File_name_0_has_a_1_extension_stripping_it:iO(6132,3,"File_name_0_has_a_1_extension_stripping_it_6132","File name '{0}' has a '{1}' extension - stripping it."),_0_is_declared_but_its_value_is_never_read:iO(6133,1,"_0_is_declared_but_its_value_is_never_read_6133","'{0}' is declared but its value is never read.",!0),Report_errors_on_unused_locals:iO(6134,3,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:iO(6135,3,"Report_errors_on_unused_parameters_6135","Report errors on unused parameters."),The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files:iO(6136,3,"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136","The maximum dependency depth to search under node_modules and load JavaScript files."),Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1:iO(6137,1,"Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1_6137","Cannot import type declaration files. Consider importing '{0}' instead of '{1}'."),Property_0_is_declared_but_its_value_is_never_read:iO(6138,1,"Property_0_is_declared_but_its_value_is_never_read_6138","Property '{0}' is declared but its value is never read.",!0),Import_emit_helpers_from_tslib:iO(6139,3,"Import_emit_helpers_from_tslib_6139","Import emit helpers from 'tslib'."),Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2:iO(6140,1,"Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140","Auto discovery for typings is enabled in project '{0}'. Running extra resolution pass for module '{1}' using cache location '{2}'."),Parse_in_strict_mode_and_emit_use_strict_for_each_source_file:iO(6141,3,"Parse_in_strict_mode_and_emit_use_strict_for_each_source_file_6141",'Parse in strict mode and emit "use strict" for each source file.'),Module_0_was_resolved_to_1_but_jsx_is_not_set:iO(6142,1,"Module_0_was_resolved_to_1_but_jsx_is_not_set_6142","Module '{0}' was resolved to '{1}', but '--jsx' is not set."),Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1:iO(6144,3,"Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1_6144","Module '{0}' was resolved as locally declared ambient module in file '{1}'."),Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified:iO(6145,3,"Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified_6145","Module '{0}' was resolved as ambient module declared in '{1}' since this file was not modified."),Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h:iO(6146,3,"Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h_6146","Specify the JSX factory function to use when targeting 'react' JSX emit, e.g. 'React.createElement' or 'h'."),Resolution_for_module_0_was_found_in_cache_from_location_1:iO(6147,3,"Resolution_for_module_0_was_found_in_cache_from_location_1_6147","Resolution for module '{0}' was found in cache from location '{1}'."),Directory_0_does_not_exist_skipping_all_lookups_in_it:iO(6148,3,"Directory_0_does_not_exist_skipping_all_lookups_in_it_6148","Directory '{0}' does not exist, skipping all lookups in it."),Show_diagnostic_information:iO(6149,3,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:iO(6150,3,"Show_verbose_diagnostic_information_6150","Show verbose diagnostic information."),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:iO(6151,3,"Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file_6151","Emit a single file with source maps instead of having a separate file."),Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set:iO(6152,3,"Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap__6152","Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set."),Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule:iO(6153,3,"Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule_6153","Transpile each file as a separate module (similar to 'ts.transpileModule')."),Print_names_of_generated_files_part_of_the_compilation:iO(6154,3,"Print_names_of_generated_files_part_of_the_compilation_6154","Print names of generated files part of the compilation."),Print_names_of_files_part_of_the_compilation:iO(6155,3,"Print_names_of_files_part_of_the_compilation_6155","Print names of files part of the compilation."),The_locale_used_when_displaying_messages_to_the_user_e_g_en_us:iO(6156,3,"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156","The locale used when displaying messages to the user (e.g. 'en-us')"),Do_not_generate_custom_helper_functions_like_extends_in_compiled_output:iO(6157,3,"Do_not_generate_custom_helper_functions_like_extends_in_compiled_output_6157","Do not generate custom helper functions like '__extends' in compiled output."),Do_not_include_the_default_library_file_lib_d_ts:iO(6158,3,"Do_not_include_the_default_library_file_lib_d_ts_6158","Do not include the default library file (lib.d.ts)."),Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files:iO(6159,3,"Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files_6159","Do not add triple-slash references or imported modules to the list of compiled files."),Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files:iO(6160,3,"Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files_6160","[Deprecated] Use '--skipLibCheck' instead. Skip type checking of default library declaration files."),List_of_folders_to_include_type_definitions_from:iO(6161,3,"List_of_folders_to_include_type_definitions_from_6161","List of folders to include type definitions from."),Disable_size_limitations_on_JavaScript_projects:iO(6162,3,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:iO(6163,3,"The_character_set_of_the_input_files_6163","The character set of the input files."),Do_not_truncate_error_messages:iO(6165,3,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:iO(6166,3,"Output_directory_for_generated_declaration_files_6166","Output directory for generated declaration files."),A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl:iO(6167,3,"A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl_6167","A series of entries which re-map imports to lookup locations relative to the 'baseUrl'."),List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime:iO(6168,3,"List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime_6168","List of root folders whose combined content represents the structure of the project at runtime."),Show_all_compiler_options:iO(6169,3,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:iO(6170,3,"Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file_6170","[Deprecated] Use '--outFile' instead. Concatenate and emit output to single file"),Command_line_Options:iO(6171,3,"Command_line_Options_6171","Command-line Options"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3:iO(6179,3,"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179","Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'."),Enable_all_strict_type_checking_options:iO(6180,3,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),Scoped_package_detected_looking_in_0:iO(6182,3,"Scoped_package_detected_looking_in_0_6182","Scoped package detected, looking in '{0}'"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:iO(6183,3,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_6183","Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:iO(6184,3,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package__6184","Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."),Enable_strict_checking_of_function_types:iO(6186,3,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:iO(6187,3,"Enable_strict_checking_of_property_initialization_in_classes_6187","Enable strict checking of property initialization in classes."),Numeric_separators_are_not_allowed_here:iO(6188,1,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:iO(6189,1,"Multiple_consecutive_numeric_separators_are_not_permitted_6189","Multiple consecutive numeric separators are not permitted."),Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen:iO(6191,3,"Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen_6191","Whether to keep outdated console output in watch mode instead of clearing the screen."),All_imports_in_import_declaration_are_unused:iO(6192,1,"All_imports_in_import_declaration_are_unused_6192","All imports in import declaration are unused.",!0),Found_1_error_Watching_for_file_changes:iO(6193,3,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:iO(6194,3,"Found_0_errors_Watching_for_file_changes_6194","Found {0} errors. Watching for file changes."),Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols:iO(6195,3,"Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195","Resolve 'keyof' to string valued property names only (no numbers or symbols)."),_0_is_declared_but_never_used:iO(6196,1,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",!0),Include_modules_imported_with_json_extension:iO(6197,3,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:iO(6198,1,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",!0),All_variables_are_unused:iO(6199,1,"All_variables_are_unused_6199","All variables are unused.",!0),Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0:iO(6200,1,"Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0_6200","Definitions of the following identifiers conflict with those in another file: {0}"),Conflicts_are_in_this_file:iO(6201,3,"Conflicts_are_in_this_file_6201","Conflicts are in this file."),Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0:iO(6202,1,"Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0_6202","Project references may not form a circular graph. Cycle detected: {0}"),_0_was_also_declared_here:iO(6203,3,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:iO(6204,3,"and_here_6204","and here."),All_type_parameters_are_unused:iO(6205,1,"All_type_parameters_are_unused_6205","All type parameters are unused."),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:iO(6206,3,"package_json_has_a_typesVersions_field_with_version_specific_path_mappings_6206","'package.json' has a 'typesVersions' field with version-specific path mappings."),package_json_does_not_have_a_typesVersions_entry_that_matches_version_0:iO(6207,3,"package_json_does_not_have_a_typesVersions_entry_that_matches_version_0_6207","'package.json' does not have a 'typesVersions' entry that matches version '{0}'."),package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2:iO(6208,3,"package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_ma_6208","'package.json' has a 'typesVersions' entry '{0}' that matches compiler version '{1}', looking for a pattern to match module name '{2}'."),package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range:iO(6209,3,"package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range_6209","'package.json' has a 'typesVersions' entry '{0}' that is not a valid semver range."),An_argument_for_0_was_not_provided:iO(6210,3,"An_argument_for_0_was_not_provided_6210","An argument for '{0}' was not provided."),An_argument_matching_this_binding_pattern_was_not_provided:iO(6211,3,"An_argument_matching_this_binding_pattern_was_not_provided_6211","An argument matching this binding pattern was not provided."),Did_you_mean_to_call_this_expression:iO(6212,3,"Did_you_mean_to_call_this_expression_6212","Did you mean to call this expression?"),Did_you_mean_to_use_new_with_this_expression:iO(6213,3,"Did_you_mean_to_use_new_with_this_expression_6213","Did you mean to use 'new' with this expression?"),Enable_strict_bind_call_and_apply_methods_on_functions:iO(6214,3,"Enable_strict_bind_call_and_apply_methods_on_functions_6214","Enable strict 'bind', 'call', and 'apply' methods on functions."),Using_compiler_options_of_project_reference_redirect_0:iO(6215,3,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:iO(6216,3,"Found_1_error_6216","Found 1 error."),Found_0_errors:iO(6217,3,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:iO(6218,3,"Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2_6218","======== Module name '{0}' was successfully resolved to '{1}' with Package ID '{2}'. ========"),Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3:iO(6219,3,"Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219","======== Type reference directive '{0}' was successfully resolved to '{1}' with Package ID '{2}', primary: {3}. ========"),package_json_had_a_falsy_0_field:iO(6220,3,"package_json_had_a_falsy_0_field_6220","'package.json' had a falsy '{0}' field."),Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects:iO(6221,3,"Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects_6221","Disable use of source files instead of declaration files from referenced projects."),Emit_class_fields_with_Define_instead_of_Set:iO(6222,3,"Emit_class_fields_with_Define_instead_of_Set_6222","Emit class fields with Define instead of Set."),Generates_a_CPU_profile:iO(6223,3,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Disable_solution_searching_for_this_project:iO(6224,3,"Disable_solution_searching_for_this_project_6224","Disable solution searching for this project."),Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling_UseFsEvents_UseFsEventsOnParentDirectory:iO(6225,3,"Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_Dynami_6225","Specify strategy for watching file: 'FixedPollingInterval' (default), 'PriorityPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling', 'UseFsEvents', 'UseFsEventsOnParentDirectory'."),Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively_Colon_UseFsEvents_default_FixedPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling:iO(6226,3,"Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively__6226","Specify strategy for watching directory on platforms that don't support recursive watching natively: 'UseFsEvents' (default), 'FixedPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling'."),Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_FixedInterval_default_PriorityInterval_DynamicPriority_FixedChunkSize:iO(6227,3,"Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_6227","Specify strategy for creating a polling watch when it fails to create using file system events: 'FixedInterval' (default), 'PriorityInterval', 'DynamicPriority', 'FixedChunkSize'."),Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3:iO(6229,1,"Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3_6229","Tag '{0}' expects at least '{1}' arguments, but the JSX factory '{2}' provides at most '{3}'."),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line:iO(6230,1,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'false' or 'null' on command line."),Could_not_resolve_the_path_0_with_the_extensions_Colon_1:iO(6231,1,"Could_not_resolve_the_path_0_with_the_extensions_Colon_1_6231","Could not resolve the path '{0}' with the extensions: {1}."),Declaration_augments_declaration_in_another_file_This_cannot_be_serialized:iO(6232,1,"Declaration_augments_declaration_in_another_file_This_cannot_be_serialized_6232","Declaration augments declaration in another file. This cannot be serialized."),This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file:iO(6233,1,"This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233","This is the declaration being augmented. Consider moving the augmenting declaration into the same file."),This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without:iO(6234,1,"This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234","This expression is not callable because it is a 'get' accessor. Did you mean to use it without '()'?"),Disable_loading_referenced_projects:iO(6235,3,"Disable_loading_referenced_projects_6235","Disable loading referenced projects."),Arguments_for_the_rest_parameter_0_were_not_provided:iO(6236,1,"Arguments_for_the_rest_parameter_0_were_not_provided_6236","Arguments for the rest parameter '{0}' were not provided."),Generates_an_event_trace_and_a_list_of_types:iO(6237,3,"Generates_an_event_trace_and_a_list_of_types_6237","Generates an event trace and a list of types."),Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react:iO(6238,1,"Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238","Specify the module specifier to be used to import the 'jsx' and 'jsxs' factory functions from. eg, react"),File_0_exists_according_to_earlier_cached_lookups:iO(6239,3,"File_0_exists_according_to_earlier_cached_lookups_6239","File '{0}' exists according to earlier cached lookups."),File_0_does_not_exist_according_to_earlier_cached_lookups:iO(6240,3,"File_0_does_not_exist_according_to_earlier_cached_lookups_6240","File '{0}' does not exist according to earlier cached lookups."),Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1:iO(6241,3,"Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241","Resolution for type reference directive '{0}' was found in cache from location '{1}'."),Resolving_type_reference_directive_0_containing_file_1:iO(6242,3,"Resolving_type_reference_directive_0_containing_file_1_6242","======== Resolving type reference directive '{0}', containing file '{1}'. ========"),Interpret_optional_property_types_as_written_rather_than_adding_undefined:iO(6243,3,"Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243","Interpret optional property types as written, rather than adding 'undefined'."),Modules:iO(6244,3,"Modules_6244","Modules"),File_Management:iO(6245,3,"File_Management_6245","File Management"),Emit:iO(6246,3,"Emit_6246","Emit"),JavaScript_Support:iO(6247,3,"JavaScript_Support_6247","JavaScript Support"),Type_Checking:iO(6248,3,"Type_Checking_6248","Type Checking"),Editor_Support:iO(6249,3,"Editor_Support_6249","Editor Support"),Watch_and_Build_Modes:iO(6250,3,"Watch_and_Build_Modes_6250","Watch and Build Modes"),Compiler_Diagnostics:iO(6251,3,"Compiler_Diagnostics_6251","Compiler Diagnostics"),Interop_Constraints:iO(6252,3,"Interop_Constraints_6252","Interop Constraints"),Backwards_Compatibility:iO(6253,3,"Backwards_Compatibility_6253","Backwards Compatibility"),Language_and_Environment:iO(6254,3,"Language_and_Environment_6254","Language and Environment"),Projects:iO(6255,3,"Projects_6255","Projects"),Output_Formatting:iO(6256,3,"Output_Formatting_6256","Output Formatting"),Completeness:iO(6257,3,"Completeness_6257","Completeness"),_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file:iO(6258,1,"_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file_6258","'{0}' should be set inside the 'compilerOptions' object of the config json file"),Found_1_error_in_1:iO(6259,3,"Found_1_error_in_1_6259","Found 1 error in {1}"),Found_0_errors_in_the_same_file_starting_at_Colon_1:iO(6260,3,"Found_0_errors_in_the_same_file_starting_at_Colon_1_6260","Found {0} errors in the same file, starting at: {1}"),Found_0_errors_in_1_files:iO(6261,3,"Found_0_errors_in_1_files_6261","Found {0} errors in {1} files."),File_name_0_has_a_1_extension_looking_up_2_instead:iO(6262,3,"File_name_0_has_a_1_extension_looking_up_2_instead_6262","File name '{0}' has a '{1}' extension - looking up '{2}' instead."),Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set:iO(6263,1,"Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set_6263","Module '{0}' was resolved to '{1}', but '--allowArbitraryExtensions' is not set."),Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present:iO(6264,3,"Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present_6264","Enable importing files with any extension, provided a declaration file is present."),Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve:iO(6270,3,"Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve_6270","Directory '{0}' has no containing package.json scope. Imports will not resolve."),Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1:iO(6271,3,"Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6271","Import specifier '{0}' does not exist in package.json scope at path '{1}'."),Invalid_import_specifier_0_has_no_possible_resolutions:iO(6272,3,"Invalid_import_specifier_0_has_no_possible_resolutions_6272","Invalid import specifier '{0}' has no possible resolutions."),package_json_scope_0_has_no_imports_defined:iO(6273,3,"package_json_scope_0_has_no_imports_defined_6273","package.json scope '{0}' has no imports defined."),package_json_scope_0_explicitly_maps_specifier_1_to_null:iO(6274,3,"package_json_scope_0_explicitly_maps_specifier_1_to_null_6274","package.json scope '{0}' explicitly maps specifier '{1}' to null."),package_json_scope_0_has_invalid_type_for_target_of_specifier_1:iO(6275,3,"package_json_scope_0_has_invalid_type_for_target_of_specifier_1_6275","package.json scope '{0}' has invalid type for target of specifier '{1}'"),Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1:iO(6276,3,"Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6276","Export specifier '{0}' does not exist in package.json scope at path '{1}'."),Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_if_npm_library_needs_configuration_update:iO(6277,3,"Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_i_6277","Resolution of non-relative name failed; trying with modern Node resolution features disabled to see if npm library needs configuration update."),There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The_1_library_may_need_to_update_its_package_json_or_typings:iO(6278,3,"There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The__6278","There are types at '{0}', but this result could not be resolved when respecting package.json \"exports\". The '{1}' library may need to update its package.json or typings."),Enable_project_compilation:iO(6302,3,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:iO(6304,1,"Composite_projects_may_not_disable_declaration_emit_6304","Composite projects may not disable declaration emit."),Output_file_0_has_not_been_built_from_source_file_1:iO(6305,1,"Output_file_0_has_not_been_built_from_source_file_1_6305","Output file '{0}' has not been built from source file '{1}'."),Referenced_project_0_must_have_setting_composite_Colon_true:iO(6306,1,"Referenced_project_0_must_have_setting_composite_Colon_true_6306","Referenced project '{0}' must have setting \"composite\": true."),File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern:iO(6307,1,"File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_includ_6307","File '{0}' is not listed within the file list of project '{1}'. Projects must list all files or use an 'include' pattern."),Cannot_prepend_project_0_because_it_does_not_have_outFile_set:iO(6308,1,"Cannot_prepend_project_0_because_it_does_not_have_outFile_set_6308","Cannot prepend project '{0}' because it does not have 'outFile' set"),Output_file_0_from_project_1_does_not_exist:iO(6309,1,"Output_file_0_from_project_1_does_not_exist_6309","Output file '{0}' from project '{1}' does not exist"),Referenced_project_0_may_not_disable_emit:iO(6310,1,"Referenced_project_0_may_not_disable_emit_6310","Referenced project '{0}' may not disable emit."),Project_0_is_out_of_date_because_output_1_is_older_than_input_2:iO(6350,3,"Project_0_is_out_of_date_because_output_1_is_older_than_input_2_6350","Project '{0}' is out of date because output '{1}' is older than input '{2}'"),Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2:iO(6351,3,"Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2_6351","Project '{0}' is up to date because newest input '{1}' is older than output '{2}'"),Project_0_is_out_of_date_because_output_file_1_does_not_exist:iO(6352,3,"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352","Project '{0}' is out of date because output file '{1}' does not exist"),Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date:iO(6353,3,"Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date_6353","Project '{0}' is out of date because its dependency '{1}' is out of date"),Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies:iO(6354,3,"Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies_6354","Project '{0}' is up to date with .d.ts files from its dependencies"),Projects_in_this_build_Colon_0:iO(6355,3,"Projects_in_this_build_Colon_0_6355","Projects in this build: {0}"),A_non_dry_build_would_delete_the_following_files_Colon_0:iO(6356,3,"A_non_dry_build_would_delete_the_following_files_Colon_0_6356","A non-dry build would delete the following files: {0}"),A_non_dry_build_would_build_project_0:iO(6357,3,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:iO(6358,3,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:iO(6359,3,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),Project_0_is_up_to_date:iO(6361,3,"Project_0_is_up_to_date_6361","Project '{0}' is up to date"),Skipping_build_of_project_0_because_its_dependency_1_has_errors:iO(6362,3,"Skipping_build_of_project_0_because_its_dependency_1_has_errors_6362","Skipping build of project '{0}' because its dependency '{1}' has errors"),Project_0_can_t_be_built_because_its_dependency_1_has_errors:iO(6363,3,"Project_0_can_t_be_built_because_its_dependency_1_has_errors_6363","Project '{0}' can't be built because its dependency '{1}' has errors"),Build_one_or_more_projects_and_their_dependencies_if_out_of_date:iO(6364,3,"Build_one_or_more_projects_and_their_dependencies_if_out_of_date_6364","Build one or more projects and their dependencies, if out of date"),Delete_the_outputs_of_all_projects:iO(6365,3,"Delete_the_outputs_of_all_projects_6365","Delete the outputs of all projects."),Show_what_would_be_built_or_deleted_if_specified_with_clean:iO(6367,3,"Show_what_would_be_built_or_deleted_if_specified_with_clean_6367","Show what would be built (or deleted, if specified with '--clean')"),Option_build_must_be_the_first_command_line_argument:iO(6369,1,"Option_build_must_be_the_first_command_line_argument_6369","Option '--build' must be the first command line argument."),Options_0_and_1_cannot_be_combined:iO(6370,1,"Options_0_and_1_cannot_be_combined_6370","Options '{0}' and '{1}' cannot be combined."),Updating_unchanged_output_timestamps_of_project_0:iO(6371,3,"Updating_unchanged_output_timestamps_of_project_0_6371","Updating unchanged output timestamps of project '{0}'..."),Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed:iO(6372,3,"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372","Project '{0}' is out of date because output of its dependency '{1}' has changed"),Updating_output_of_project_0:iO(6373,3,"Updating_output_of_project_0_6373","Updating output of project '{0}'..."),A_non_dry_build_would_update_timestamps_for_output_of_project_0:iO(6374,3,"A_non_dry_build_would_update_timestamps_for_output_of_project_0_6374","A non-dry build would update timestamps for output of project '{0}'"),A_non_dry_build_would_update_output_of_project_0:iO(6375,3,"A_non_dry_build_would_update_output_of_project_0_6375","A non-dry build would update output of project '{0}'"),Cannot_update_output_of_project_0_because_there_was_error_reading_file_1:iO(6376,3,"Cannot_update_output_of_project_0_because_there_was_error_reading_file_1_6376","Cannot update output of project '{0}' because there was error reading file '{1}'"),Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1:iO(6377,1,"Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1_6377","Cannot write file '{0}' because it will overwrite '.tsbuildinfo' file generated by referenced project '{1}'"),Composite_projects_may_not_disable_incremental_compilation:iO(6379,1,"Composite_projects_may_not_disable_incremental_compilation_6379","Composite projects may not disable incremental compilation."),Specify_file_to_store_incremental_compilation_information:iO(6380,3,"Specify_file_to_store_incremental_compilation_information_6380","Specify file to store incremental compilation information"),Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2:iO(6381,3,"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381","Project '{0}' is out of date because output for it was generated with version '{1}' that differs with current version '{2}'"),Skipping_build_of_project_0_because_its_dependency_1_was_not_built:iO(6382,3,"Skipping_build_of_project_0_because_its_dependency_1_was_not_built_6382","Skipping build of project '{0}' because its dependency '{1}' was not built"),Project_0_can_t_be_built_because_its_dependency_1_was_not_built:iO(6383,3,"Project_0_can_t_be_built_because_its_dependency_1_was_not_built_6383","Project '{0}' can't be built because its dependency '{1}' was not built"),Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:iO(6384,3,"Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_di_6384","Have recompiles in '--incremental' and '--watch' assume that changes within a file will only affect files directly depending on it."),_0_is_deprecated:iO(6385,2,"_0_is_deprecated_6385","'{0}' is deprecated.",void 0,void 0,!0),Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found:iO(6386,3,"Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_nativ_6386","Performance timings for '--diagnostics' or '--extendedDiagnostics' are not available in this session. A native implementation of the Web Performance API could not be found."),The_signature_0_of_1_is_deprecated:iO(6387,2,"The_signature_0_of_1_is_deprecated_6387","The signature '{0}' of '{1}' is deprecated.",void 0,void 0,!0),Project_0_is_being_forcibly_rebuilt:iO(6388,3,"Project_0_is_being_forcibly_rebuilt_6388","Project '{0}' is being forcibly rebuilt"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved:iO(6389,3,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved_6389","Reusing resolution of module '{0}' from '{1}' of old program, it was not resolved."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2:iO(6390,3,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6390","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:iO(6391,3,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved:iO(6392,3,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved_6392","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was not resolved."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:iO(6393,3,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6393","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:iO(6394,3,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6394","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:iO(6395,3,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved_6395","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:iO(6396,3,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6396","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:iO(6397,3,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6397","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:iO(6398,3,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_re_6398","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitted:iO(6399,3,"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitte_6399","Project '{0}' is out of date because buildinfo file '{1}' indicates that some of the changes were not emitted"),Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_files:iO(6400,3,"Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_fil_6400","Project '{0}' is up to date but needs to update timestamps of output files that are older than input files"),Project_0_is_out_of_date_because_there_was_error_reading_file_1:iO(6401,3,"Project_0_is_out_of_date_because_there_was_error_reading_file_1_6401","Project '{0}' is out of date because there was error reading file '{1}'"),Resolving_in_0_mode_with_conditions_1:iO(6402,3,"Resolving_in_0_mode_with_conditions_1_6402","Resolving in {0} mode with conditions {1}."),Matched_0_condition_1:iO(6403,3,"Matched_0_condition_1_6403","Matched '{0}' condition '{1}'."),Using_0_subpath_1_with_target_2:iO(6404,3,"Using_0_subpath_1_with_target_2_6404","Using '{0}' subpath '{1}' with target '{2}'."),Saw_non_matching_condition_0:iO(6405,3,"Saw_non_matching_condition_0_6405","Saw non-matching condition '{0}'."),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions:iO(6406,3,"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions_6406","Project '{0}' is out of date because buildinfo file '{1}' indicates there is change in compilerOptions"),Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noEmit_or_emitDeclarationOnly_to_be_set:iO(6407,3,"Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noE_6407","Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set."),Use_the_package_json_exports_field_when_resolving_package_imports:iO(6408,3,"Use_the_package_json_exports_field_when_resolving_package_imports_6408","Use the package.json 'exports' field when resolving package imports."),Use_the_package_json_imports_field_when_resolving_imports:iO(6409,3,"Use_the_package_json_imports_field_when_resolving_imports_6409","Use the package.json 'imports' field when resolving imports."),Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports:iO(6410,3,"Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports_6410","Conditions to set in addition to the resolver-specific defaults when resolving imports."),true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false:iO(6411,3,"true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false_6411","`true` when 'moduleResolution' is 'node16', 'nodenext', or 'bundler'; otherwise `false`."),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_but_not_any_more:iO(6412,3,"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_6412","Project '{0}' is out of date because buildinfo file '{1}' indicates that file '{2}' was root file of compilation but not any more."),Entering_conditional_exports:iO(6413,3,"Entering_conditional_exports_6413","Entering conditional exports."),Resolved_under_condition_0:iO(6414,3,"Resolved_under_condition_0_6414","Resolved under condition '{0}'."),Failed_to_resolve_under_condition_0:iO(6415,3,"Failed_to_resolve_under_condition_0_6415","Failed to resolve under condition '{0}'."),Exiting_conditional_exports:iO(6416,3,"Exiting_conditional_exports_6416","Exiting conditional exports."),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:iO(6500,3,"The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1_6500","The expected type comes from property '{0}' which is declared here on type '{1}'"),The_expected_type_comes_from_this_index_signature:iO(6501,3,"The_expected_type_comes_from_this_index_signature_6501","The expected type comes from this index signature."),The_expected_type_comes_from_the_return_type_of_this_signature:iO(6502,3,"The_expected_type_comes_from_the_return_type_of_this_signature_6502","The expected type comes from the return type of this signature."),Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing:iO(6503,3,"Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing_6503","Print names of files that are part of the compilation and then stop processing."),File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option:iO(6504,1,"File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option_6504","File '{0}' is a JavaScript file. Did you mean to enable the 'allowJs' option?"),Print_names_of_files_and_the_reason_they_are_part_of_the_compilation:iO(6505,3,"Print_names_of_files_and_the_reason_they_are_part_of_the_compilation_6505","Print names of files and the reason they are part of the compilation."),Consider_adding_a_declare_modifier_to_this_class:iO(6506,3,"Consider_adding_a_declare_modifier_to_this_class_6506","Consider adding a 'declare' modifier to this class."),Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files:iO(6600,3,"Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these__6600","Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files."),Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export:iO(6601,3,"Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export_6601","Allow 'import x from y' when a module doesn't have a default export."),Allow_accessing_UMD_globals_from_modules:iO(6602,3,"Allow_accessing_UMD_globals_from_modules_6602","Allow accessing UMD globals from modules."),Disable_error_reporting_for_unreachable_code:iO(6603,3,"Disable_error_reporting_for_unreachable_code_6603","Disable error reporting for unreachable code."),Disable_error_reporting_for_unused_labels:iO(6604,3,"Disable_error_reporting_for_unused_labels_6604","Disable error reporting for unused labels."),Ensure_use_strict_is_always_emitted:iO(6605,3,"Ensure_use_strict_is_always_emitted_6605","Ensure 'use strict' is always emitted."),Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:iO(6606,3,"Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_wi_6606","Have recompiles in projects that use 'incremental' and 'watch' mode assume that changes within a file will only affect files directly depending on it."),Specify_the_base_directory_to_resolve_non_relative_module_names:iO(6607,3,"Specify_the_base_directory_to_resolve_non_relative_module_names_6607","Specify the base directory to resolve non-relative module names."),No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files:iO(6608,3,"No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files_6608","No longer supported. In early versions, manually set the text encoding for reading files."),Enable_error_reporting_in_type_checked_JavaScript_files:iO(6609,3,"Enable_error_reporting_in_type_checked_JavaScript_files_6609","Enable error reporting in type-checked JavaScript files."),Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references:iO(6611,3,"Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references_6611","Enable constraints that allow a TypeScript project to be used with project references."),Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project:iO(6612,3,"Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project_6612","Generate .d.ts files from TypeScript and JavaScript files in your project."),Specify_the_output_directory_for_generated_declaration_files:iO(6613,3,"Specify_the_output_directory_for_generated_declaration_files_6613","Specify the output directory for generated declaration files."),Create_sourcemaps_for_d_ts_files:iO(6614,3,"Create_sourcemaps_for_d_ts_files_6614","Create sourcemaps for d.ts files."),Output_compiler_performance_information_after_building:iO(6615,3,"Output_compiler_performance_information_after_building_6615","Output compiler performance information after building."),Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project:iO(6616,3,"Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project_6616","Disables inference for type acquisition by looking at filenames in a project."),Reduce_the_number_of_projects_loaded_automatically_by_TypeScript:iO(6617,3,"Reduce_the_number_of_projects_loaded_automatically_by_TypeScript_6617","Reduce the number of projects loaded automatically by TypeScript."),Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server:iO(6618,3,"Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server_6618","Remove the 20mb cap on total source code size for JavaScript files in the TypeScript language server."),Opt_a_project_out_of_multi_project_reference_checking_when_editing:iO(6619,3,"Opt_a_project_out_of_multi_project_reference_checking_when_editing_6619","Opt a project out of multi-project reference checking when editing."),Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects:iO(6620,3,"Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects_6620","Disable preferring source files instead of declaration files when referencing composite projects."),Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration:iO(6621,3,"Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration_6621","Emit more compliant, but verbose and less performant JavaScript for iteration."),Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files:iO(6622,3,"Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6622","Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files."),Only_output_d_ts_files_and_not_JavaScript_files:iO(6623,3,"Only_output_d_ts_files_and_not_JavaScript_files_6623","Only output d.ts files and not JavaScript files."),Emit_design_type_metadata_for_decorated_declarations_in_source_files:iO(6624,3,"Emit_design_type_metadata_for_decorated_declarations_in_source_files_6624","Emit design-type metadata for decorated declarations in source files."),Disable_the_type_acquisition_for_JavaScript_projects:iO(6625,3,"Disable_the_type_acquisition_for_JavaScript_projects_6625","Disable the type acquisition for JavaScript projects"),Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility:iO(6626,3,"Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheti_6626","Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility."),Filters_results_from_the_include_option:iO(6627,3,"Filters_results_from_the_include_option_6627","Filters results from the `include` option."),Remove_a_list_of_directories_from_the_watch_process:iO(6628,3,"Remove_a_list_of_directories_from_the_watch_process_6628","Remove a list of directories from the watch process."),Remove_a_list_of_files_from_the_watch_mode_s_processing:iO(6629,3,"Remove_a_list_of_files_from_the_watch_mode_s_processing_6629","Remove a list of files from the watch mode's processing."),Enable_experimental_support_for_legacy_experimental_decorators:iO(6630,3,"Enable_experimental_support_for_legacy_experimental_decorators_6630","Enable experimental support for legacy experimental decorators."),Print_files_read_during_the_compilation_including_why_it_was_included:iO(6631,3,"Print_files_read_during_the_compilation_including_why_it_was_included_6631","Print files read during the compilation including why it was included."),Output_more_detailed_compiler_performance_information_after_building:iO(6632,3,"Output_more_detailed_compiler_performance_information_after_building_6632","Output more detailed compiler performance information after building."),Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_are_inherited:iO(6633,3,"Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_a_6633","Specify one or more path or node module references to base configuration files from which settings are inherited."),Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers:iO(6634,3,"Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers_6634","Specify what approach the watcher should use if the system runs out of native file watchers."),Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include:iO(6635,3,"Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include_6635","Include a list of files. This does not support glob patterns, as opposed to `include`."),Build_all_projects_including_those_that_appear_to_be_up_to_date:iO(6636,3,"Build_all_projects_including_those_that_appear_to_be_up_to_date_6636","Build all projects, including those that appear to be up to date."),Ensure_that_casing_is_correct_in_imports:iO(6637,3,"Ensure_that_casing_is_correct_in_imports_6637","Ensure that casing is correct in imports."),Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging:iO(6638,3,"Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging_6638","Emit a v8 CPU profile of the compiler run for debugging."),Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file:iO(6639,3,"Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file_6639","Allow importing helper functions from tslib once per project, instead of including them per-file."),Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation:iO(6641,3,"Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation_6641","Specify a list of glob patterns that match files to be included in compilation."),Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects:iO(6642,3,"Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642","Save .tsbuildinfo files to allow for incremental compilation of projects."),Include_sourcemap_files_inside_the_emitted_JavaScript:iO(6643,3,"Include_sourcemap_files_inside_the_emitted_JavaScript_6643","Include sourcemap files inside the emitted JavaScript."),Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript:iO(6644,3,"Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript_6644","Include source code in the sourcemaps inside the emitted JavaScript."),Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports:iO(6645,3,"Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports_6645","Ensure that each file can be safely transpiled without relying on other imports."),Specify_what_JSX_code_is_generated:iO(6646,3,"Specify_what_JSX_code_is_generated_6646","Specify what JSX code is generated."),Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h:iO(6647,3,"Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h_6647","Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'."),Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment:iO(6648,3,"Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragme_6648","Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'."),Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk:iO(6649,3,"Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Ast_6649","Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'."),Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option:iO(6650,3,"Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option_6650","Make keyof only return strings instead of string, numbers or symbols. Legacy option."),Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment:iO(6651,3,"Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment_6651","Specify a set of bundled library declaration files that describe the target runtime environment."),Print_the_names_of_emitted_files_after_a_compilation:iO(6652,3,"Print_the_names_of_emitted_files_after_a_compilation_6652","Print the names of emitted files after a compilation."),Print_all_of_the_files_read_during_the_compilation:iO(6653,3,"Print_all_of_the_files_read_during_the_compilation_6653","Print all of the files read during the compilation."),Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit:iO(6654,3,"Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit_6654","Set the language of the messaging from TypeScript. This does not affect emit."),Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations:iO(6655,3,"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6655","Specify the location where debugger should locate map files instead of generated locations."),Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs:iO(6656,3,"Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicabl_6656","Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'."),Specify_what_module_code_is_generated:iO(6657,3,"Specify_what_module_code_is_generated_6657","Specify what module code is generated."),Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier:iO(6658,3,"Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier_6658","Specify how TypeScript looks up a file from a given module specifier."),Set_the_newline_character_for_emitting_files:iO(6659,3,"Set_the_newline_character_for_emitting_files_6659","Set the newline character for emitting files."),Disable_emitting_files_from_a_compilation:iO(6660,3,"Disable_emitting_files_from_a_compilation_6660","Disable emitting files from a compilation."),Disable_generating_custom_helper_functions_like_extends_in_compiled_output:iO(6661,3,"Disable_generating_custom_helper_functions_like_extends_in_compiled_output_6661","Disable generating custom helper functions like '__extends' in compiled output."),Disable_emitting_files_if_any_type_checking_errors_are_reported:iO(6662,3,"Disable_emitting_files_if_any_type_checking_errors_are_reported_6662","Disable emitting files if any type checking errors are reported."),Disable_truncating_types_in_error_messages:iO(6663,3,"Disable_truncating_types_in_error_messages_6663","Disable truncating types in error messages."),Enable_error_reporting_for_fallthrough_cases_in_switch_statements:iO(6664,3,"Enable_error_reporting_for_fallthrough_cases_in_switch_statements_6664","Enable error reporting for fallthrough cases in switch statements."),Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type:iO(6665,3,"Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type_6665","Enable error reporting for expressions and declarations with an implied 'any' type."),Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier:iO(6666,3,"Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier_6666","Ensure overriding members in derived classes are marked with an override modifier."),Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function:iO(6667,3,"Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function_6667","Enable error reporting for codepaths that do not explicitly return in a function."),Enable_error_reporting_when_this_is_given_the_type_any:iO(6668,3,"Enable_error_reporting_when_this_is_given_the_type_any_6668","Enable error reporting when 'this' is given the type 'any'."),Disable_adding_use_strict_directives_in_emitted_JavaScript_files:iO(6669,3,"Disable_adding_use_strict_directives_in_emitted_JavaScript_files_6669","Disable adding 'use strict' directives in emitted JavaScript files."),Disable_including_any_library_files_including_the_default_lib_d_ts:iO(6670,3,"Disable_including_any_library_files_including_the_default_lib_d_ts_6670","Disable including any library files, including the default lib.d.ts."),Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type:iO(6671,3,"Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type_6671","Enforces using indexed accessors for keys declared using an indexed type."),Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project:iO(6672,3,"Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add__6672","Disallow 'import's, 'require's or ''s from expanding the number of files TypeScript should add to a project."),Disable_strict_checking_of_generic_signatures_in_function_types:iO(6673,3,"Disable_strict_checking_of_generic_signatures_in_function_types_6673","Disable strict checking of generic signatures in function types."),Add_undefined_to_a_type_when_accessed_using_an_index:iO(6674,3,"Add_undefined_to_a_type_when_accessed_using_an_index_6674","Add 'undefined' to a type when accessed using an index."),Enable_error_reporting_when_local_variables_aren_t_read:iO(6675,3,"Enable_error_reporting_when_local_variables_aren_t_read_6675","Enable error reporting when local variables aren't read."),Raise_an_error_when_a_function_parameter_isn_t_read:iO(6676,3,"Raise_an_error_when_a_function_parameter_isn_t_read_6676","Raise an error when a function parameter isn't read."),Deprecated_setting_Use_outFile_instead:iO(6677,3,"Deprecated_setting_Use_outFile_instead_6677","Deprecated setting. Use 'outFile' instead."),Specify_an_output_folder_for_all_emitted_files:iO(6678,3,"Specify_an_output_folder_for_all_emitted_files_6678","Specify an output folder for all emitted files."),Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designates_a_file_that_bundles_all_d_ts_output:iO(6679,3,"Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designa_6679","Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output."),Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations:iO(6680,3,"Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations_6680","Specify a set of entries that re-map imports to additional lookup locations."),Specify_a_list_of_language_service_plugins_to_include:iO(6681,3,"Specify_a_list_of_language_service_plugins_to_include_6681","Specify a list of language service plugins to include."),Disable_erasing_const_enum_declarations_in_generated_code:iO(6682,3,"Disable_erasing_const_enum_declarations_in_generated_code_6682","Disable erasing 'const enum' declarations in generated code."),Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node:iO(6683,3,"Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node_6683","Disable resolving symlinks to their realpath. This correlates to the same flag in node."),Disable_wiping_the_console_in_watch_mode:iO(6684,3,"Disable_wiping_the_console_in_watch_mode_6684","Disable wiping the console in watch mode."),Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read:iO(6685,3,"Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read_6685","Enable color and formatting in TypeScript's output to make compiler errors easier to read."),Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit:iO(6686,3,"Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit_6686","Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit."),Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references:iO(6687,3,"Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references_6687","Specify an array of objects that specify paths for projects. Used in project references."),Disable_emitting_comments:iO(6688,3,"Disable_emitting_comments_6688","Disable emitting comments."),Enable_importing_json_files:iO(6689,3,"Enable_importing_json_files_6689","Enable importing .json files."),Specify_the_root_folder_within_your_source_files:iO(6690,3,"Specify_the_root_folder_within_your_source_files_6690","Specify the root folder within your source files."),Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules:iO(6691,3,"Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules_6691","Allow multiple folders to be treated as one when resolving modules."),Skip_type_checking_d_ts_files_that_are_included_with_TypeScript:iO(6692,3,"Skip_type_checking_d_ts_files_that_are_included_with_TypeScript_6692","Skip type checking .d.ts files that are included with TypeScript."),Skip_type_checking_all_d_ts_files:iO(6693,3,"Skip_type_checking_all_d_ts_files_6693","Skip type checking all .d.ts files."),Create_source_map_files_for_emitted_JavaScript_files:iO(6694,3,"Create_source_map_files_for_emitted_JavaScript_files_6694","Create source map files for emitted JavaScript files."),Specify_the_root_path_for_debuggers_to_find_the_reference_source_code:iO(6695,3,"Specify_the_root_path_for_debuggers_to_find_the_reference_source_code_6695","Specify the root path for debuggers to find the reference source code."),Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function:iO(6697,3,"Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function_6697","Check that the arguments for 'bind', 'call', and 'apply' methods match the original function."),When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible:iO(6698,3,"When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible_6698","When assigning functions, check to ensure parameters and the return values are subtype-compatible."),When_type_checking_take_into_account_null_and_undefined:iO(6699,3,"When_type_checking_take_into_account_null_and_undefined_6699","When type checking, take into account 'null' and 'undefined'."),Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor:iO(6700,3,"Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor_6700","Check for class properties that are declared but not set in the constructor."),Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments:iO(6701,3,"Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments_6701","Disable emitting declarations that have '@internal' in their JSDoc comments."),Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals:iO(6702,3,"Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals_6702","Disable reporting of excess property errors during the creation of object literals."),Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures:iO(6703,3,"Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures_6703","Suppress 'noImplicitAny' errors when indexing objects that lack index signatures."),Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively:iO(6704,3,"Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_supp_6704","Synchronously call callbacks and update the state of directory watchers on platforms that don`t support recursive watching natively."),Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations:iO(6705,3,"Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declaratio_6705","Set the JavaScript language version for emitted JavaScript and include compatible library declarations."),Log_paths_used_during_the_moduleResolution_process:iO(6706,3,"Log_paths_used_during_the_moduleResolution_process_6706","Log paths used during the 'moduleResolution' process."),Specify_the_path_to_tsbuildinfo_incremental_compilation_file:iO(6707,3,"Specify_the_path_to_tsbuildinfo_incremental_compilation_file_6707","Specify the path to .tsbuildinfo incremental compilation file."),Specify_options_for_automatic_acquisition_of_declaration_files:iO(6709,3,"Specify_options_for_automatic_acquisition_of_declaration_files_6709","Specify options for automatic acquisition of declaration files."),Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types:iO(6710,3,"Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types_6710","Specify multiple folders that act like './node_modules/@types'."),Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file:iO(6711,3,"Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file_6711","Specify type package names to be included without being referenced in a source file."),Emit_ECMAScript_standard_compliant_class_fields:iO(6712,3,"Emit_ECMAScript_standard_compliant_class_fields_6712","Emit ECMAScript-standard-compliant class fields."),Enable_verbose_logging:iO(6713,3,"Enable_verbose_logging_6713","Enable verbose logging."),Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality:iO(6714,3,"Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality_6714","Specify how directories are watched on systems that lack recursive file-watching functionality."),Specify_how_the_TypeScript_watch_mode_works:iO(6715,3,"Specify_how_the_TypeScript_watch_mode_works_6715","Specify how the TypeScript watch mode works."),Require_undeclared_properties_from_index_signatures_to_use_element_accesses:iO(6717,3,"Require_undeclared_properties_from_index_signatures_to_use_element_accesses_6717","Require undeclared properties from index signatures to use element accesses."),Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types:iO(6718,3,"Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types_6718","Specify emit/checking behavior for imports that are only used for types."),Default_catch_clause_variables_as_unknown_instead_of_any:iO(6803,3,"Default_catch_clause_variables_as_unknown_instead_of_any_6803","Default catch clause variables as 'unknown' instead of 'any'."),Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_in_the_output_file_s_format_based_on_the_module_setting:iO(6804,3,"Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_i_6804","Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting."),one_of_Colon:iO(6900,3,"one_of_Colon_6900","one of:"),one_or_more_Colon:iO(6901,3,"one_or_more_Colon_6901","one or more:"),type_Colon:iO(6902,3,"type_Colon_6902","type:"),default_Colon:iO(6903,3,"default_Colon_6903","default:"),module_system_or_esModuleInterop:iO(6904,3,"module_system_or_esModuleInterop_6904",'module === "system" or esModuleInterop'),false_unless_strict_is_set:iO(6905,3,"false_unless_strict_is_set_6905","`false`, unless `strict` is set"),false_unless_composite_is_set:iO(6906,3,"false_unless_composite_is_set_6906","`false`, unless `composite` is set"),node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified:iO(6907,3,"node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified_6907",'`["node_modules", "bower_components", "jspm_packages"]`, plus the value of `outDir` if one is specified.'),if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk:iO(6908,3,"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908",'`[]` if `files` is specified, otherwise `["**/*"]`'),true_if_composite_false_otherwise:iO(6909,3,"true_if_composite_false_otherwise_6909","`true` if `composite`, `false` otherwise"),module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node:iO(69010,3,"module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node_69010","module === `AMD` or `UMD` or `System` or `ES6`, then `Classic`, Otherwise `Node`"),Computed_from_the_list_of_input_files:iO(6911,3,"Computed_from_the_list_of_input_files_6911","Computed from the list of input files"),Platform_specific:iO(6912,3,"Platform_specific_6912","Platform specific"),You_can_learn_about_all_of_the_compiler_options_at_0:iO(6913,3,"You_can_learn_about_all_of_the_compiler_options_at_0_6913","You can learn about all of the compiler options at {0}"),Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_config_watch_mode_with_Colon:iO(6914,3,"Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_conf_6914","Including --watch, -w will start watching the current project for the file changes. Once set, you can config watch mode with:"),Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_trigger_building_composite_projects_which_you_can_learn_more_about_at_0:iO(6915,3,"Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915","Using --build, -b will make tsc behave more like a build orchestrator than a compiler. This is used to trigger building composite projects which you can learn more about at {0}"),COMMON_COMMANDS:iO(6916,3,"COMMON_COMMANDS_6916","COMMON COMMANDS"),ALL_COMPILER_OPTIONS:iO(6917,3,"ALL_COMPILER_OPTIONS_6917","ALL COMPILER OPTIONS"),WATCH_OPTIONS:iO(6918,3,"WATCH_OPTIONS_6918","WATCH OPTIONS"),BUILD_OPTIONS:iO(6919,3,"BUILD_OPTIONS_6919","BUILD OPTIONS"),COMMON_COMPILER_OPTIONS:iO(6920,3,"COMMON_COMPILER_OPTIONS_6920","COMMON COMPILER OPTIONS"),COMMAND_LINE_FLAGS:iO(6921,3,"COMMAND_LINE_FLAGS_6921","COMMAND LINE FLAGS"),tsc_Colon_The_TypeScript_Compiler:iO(6922,3,"tsc_Colon_The_TypeScript_Compiler_6922","tsc: The TypeScript Compiler"),Compiles_the_current_project_tsconfig_json_in_the_working_directory:iO(6923,3,"Compiles_the_current_project_tsconfig_json_in_the_working_directory_6923","Compiles the current project (tsconfig.json in the working directory.)"),Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options:iO(6924,3,"Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options_6924","Ignoring tsconfig.json, compiles the specified files with default compiler options."),Build_a_composite_project_in_the_working_directory:iO(6925,3,"Build_a_composite_project_in_the_working_directory_6925","Build a composite project in the working directory."),Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory:iO(6926,3,"Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory_6926","Creates a tsconfig.json with the recommended settings in the working directory."),Compiles_the_TypeScript_project_located_at_the_specified_path:iO(6927,3,"Compiles_the_TypeScript_project_located_at_the_specified_path_6927","Compiles the TypeScript project located at the specified path."),An_expanded_version_of_this_information_showing_all_possible_compiler_options:iO(6928,3,"An_expanded_version_of_this_information_showing_all_possible_compiler_options_6928","An expanded version of this information, showing all possible compiler options"),Compiles_the_current_project_with_additional_settings:iO(6929,3,"Compiles_the_current_project_with_additional_settings_6929","Compiles the current project, with additional settings."),true_for_ES2022_and_above_including_ESNext:iO(6930,3,"true_for_ES2022_and_above_including_ESNext_6930","`true` for ES2022 and above, including ESNext."),List_of_file_name_suffixes_to_search_when_resolving_a_module:iO(6931,1,"List_of_file_name_suffixes_to_search_when_resolving_a_module_6931","List of file name suffixes to search when resolving a module."),Variable_0_implicitly_has_an_1_type:iO(7005,1,"Variable_0_implicitly_has_an_1_type_7005","Variable '{0}' implicitly has an '{1}' type."),Parameter_0_implicitly_has_an_1_type:iO(7006,1,"Parameter_0_implicitly_has_an_1_type_7006","Parameter '{0}' implicitly has an '{1}' type."),Member_0_implicitly_has_an_1_type:iO(7008,1,"Member_0_implicitly_has_an_1_type_7008","Member '{0}' implicitly has an '{1}' type."),new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type:iO(7009,1,"new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009","'new' expression, whose target lacks a construct signature, implicitly has an 'any' type."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:iO(7010,1,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type_7010","'{0}', which lacks return-type annotation, implicitly has an '{1}' return type."),Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:iO(7011,1,"Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7011","Function expression, which lacks return-type annotation, implicitly has an '{0}' return type."),This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation:iO(7012,1,"This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation_7012","This overload implicitly returns the type '{0}' because it lacks a return type annotation."),Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:iO(7013,1,"Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7013","Construct signature, which lacks return-type annotation, implicitly has an 'any' return type."),Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:iO(7014,1,"Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7014","Function type, which lacks return-type annotation, implicitly has an '{0}' return type."),Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number:iO(7015,1,"Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number_7015","Element implicitly has an 'any' type because index expression is not of type 'number'."),Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type:iO(7016,1,"Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type_7016","Could not find a declaration file for module '{0}'. '{1}' implicitly has an 'any' type."),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature:iO(7017,1,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_7017","Element implicitly has an 'any' type because type '{0}' has no index signature."),Object_literal_s_property_0_implicitly_has_an_1_type:iO(7018,1,"Object_literal_s_property_0_implicitly_has_an_1_type_7018","Object literal's property '{0}' implicitly has an '{1}' type."),Rest_parameter_0_implicitly_has_an_any_type:iO(7019,1,"Rest_parameter_0_implicitly_has_an_any_type_7019","Rest parameter '{0}' implicitly has an 'any[]' type."),Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:iO(7020,1,"Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020","Call signature, which lacks return-type annotation, implicitly has an 'any' return type."),_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer:iO(7022,1,"_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or__7022","'{0}' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer."),_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:iO(7023,1,"_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_reference_7023","'{0}' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:iO(7024,1,"Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_ref_7024","Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation:iO(7025,1,"Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025","Generator implicitly has yield type '{0}' because it does not yield any values. Consider supplying a return type annotation."),JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists:iO(7026,1,"JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists_7026","JSX element implicitly has type 'any' because no interface 'JSX.{0}' exists."),Unreachable_code_detected:iO(7027,1,"Unreachable_code_detected_7027","Unreachable code detected.",!0),Unused_label:iO(7028,1,"Unused_label_7028","Unused label.",!0),Fallthrough_case_in_switch:iO(7029,1,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:iO(7030,1,"Not_all_code_paths_return_a_value_7030","Not all code paths return a value."),Binding_element_0_implicitly_has_an_1_type:iO(7031,1,"Binding_element_0_implicitly_has_an_1_type_7031","Binding element '{0}' implicitly has an '{1}' type."),Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation:iO(7032,1,"Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation_7032","Property '{0}' implicitly has type 'any', because its set accessor lacks a parameter type annotation."),Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation:iO(7033,1,"Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation_7033","Property '{0}' implicitly has type 'any', because its get accessor lacks a return type annotation."),Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined:iO(7034,1,"Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined_7034","Variable '{0}' implicitly has type '{1}' in some locations where its type cannot be determined."),Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0:iO(7035,1,"Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare__7035","Try `npm i --save-dev @types/{1}` if it exists or add a new declaration (.d.ts) file containing `declare module '{0}';`"),Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0:iO(7036,1,"Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036","Dynamic import's specifier must be of type 'string', but here has type '{0}'."),Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports:iO(7037,3,"Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for__7037","Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'."),Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead:iO(7038,3,"Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038","Type originates at this import. A namespace-style import cannot be called or constructed, and will cause a failure at runtime. Consider using a default import or import require here instead."),Mapped_object_type_implicitly_has_an_any_template_type:iO(7039,1,"Mapped_object_type_implicitly_has_an_any_template_type_7039","Mapped object type implicitly has an 'any' template type."),If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1:iO(7040,1,"If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_S_7040","If the '{0}' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}'"),The_containing_arrow_function_captures_the_global_value_of_this:iO(7041,1,"The_containing_arrow_function_captures_the_global_value_of_this_7041","The containing arrow function captures the global value of 'this'."),Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used:iO(7042,1,"Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used_7042","Module '{0}' was resolved to '{1}', but '--resolveJsonModule' is not used."),Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:iO(7043,2,"Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7043","Variable '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:iO(7044,2,"Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7044","Parameter '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:iO(7045,2,"Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7045","Member '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage:iO(7046,2,"Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage_7046","Variable '{0}' implicitly has type '{1}' in some locations, but a better type may be inferred from usage."),Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:iO(7047,2,"Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage_7047","Rest parameter '{0}' implicitly has an 'any[]' type, but a better type may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage:iO(7048,2,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage_7048","Property '{0}' implicitly has type 'any', but a better type for its get accessor may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage:iO(7049,2,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage_7049","Property '{0}' implicitly has type 'any', but a better type for its set accessor may be inferred from usage."),_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage:iO(7050,2,"_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage_7050","'{0}' implicitly has an '{1}' return type, but a better type may be inferred from usage."),Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1:iO(7051,1,"Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1_7051","Parameter has a name but no type. Did you mean '{0}: {1}'?"),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1:iO(7052,1,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1_7052","Element implicitly has an 'any' type because type '{0}' has no index signature. Did you mean to call '{1}'?"),Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1:iO(7053,1,"Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1_7053","Element implicitly has an 'any' type because expression of type '{0}' can't be used to index type '{1}'."),No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1:iO(7054,1,"No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1_7054","No index signature with a parameter of type '{0}' was found on type '{1}'."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:iO(7055,1,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type_7055","'{0}', which lacks return-type annotation, implicitly has an '{1}' yield type."),The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed:iO(7056,1,"The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_ty_7056","The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed."),yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation:iO(7057,1,"yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_t_7057","'yield' expression implicitly results in an 'any' type because its containing generator lacks a return-type annotation."),If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1:iO(7058,1,"If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_decl_7058","If the '{0}' package actually exposes this module, try adding a new declaration (.d.ts) file containing `declare module '{1}';`"),This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead:iO(7059,1,"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059","This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead."),This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint:iO(7060,1,"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060","This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma or explicit constraint."),A_mapped_type_may_not_declare_properties_or_methods:iO(7061,1,"A_mapped_type_may_not_declare_properties_or_methods_7061","A mapped type may not declare properties or methods."),You_cannot_rename_this_element:iO(8e3,1,"You_cannot_rename_this_element_8000","You cannot rename this element."),You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library:iO(8001,1,"You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001","You cannot rename elements that are defined in the standard TypeScript library."),import_can_only_be_used_in_TypeScript_files:iO(8002,1,"import_can_only_be_used_in_TypeScript_files_8002","'import ... =' can only be used in TypeScript files."),export_can_only_be_used_in_TypeScript_files:iO(8003,1,"export_can_only_be_used_in_TypeScript_files_8003","'export =' can only be used in TypeScript files."),Type_parameter_declarations_can_only_be_used_in_TypeScript_files:iO(8004,1,"Type_parameter_declarations_can_only_be_used_in_TypeScript_files_8004","Type parameter declarations can only be used in TypeScript files."),implements_clauses_can_only_be_used_in_TypeScript_files:iO(8005,1,"implements_clauses_can_only_be_used_in_TypeScript_files_8005","'implements' clauses can only be used in TypeScript files."),_0_declarations_can_only_be_used_in_TypeScript_files:iO(8006,1,"_0_declarations_can_only_be_used_in_TypeScript_files_8006","'{0}' declarations can only be used in TypeScript files."),Type_aliases_can_only_be_used_in_TypeScript_files:iO(8008,1,"Type_aliases_can_only_be_used_in_TypeScript_files_8008","Type aliases can only be used in TypeScript files."),The_0_modifier_can_only_be_used_in_TypeScript_files:iO(8009,1,"The_0_modifier_can_only_be_used_in_TypeScript_files_8009","The '{0}' modifier can only be used in TypeScript files."),Type_annotations_can_only_be_used_in_TypeScript_files:iO(8010,1,"Type_annotations_can_only_be_used_in_TypeScript_files_8010","Type annotations can only be used in TypeScript files."),Type_arguments_can_only_be_used_in_TypeScript_files:iO(8011,1,"Type_arguments_can_only_be_used_in_TypeScript_files_8011","Type arguments can only be used in TypeScript files."),Parameter_modifiers_can_only_be_used_in_TypeScript_files:iO(8012,1,"Parameter_modifiers_can_only_be_used_in_TypeScript_files_8012","Parameter modifiers can only be used in TypeScript files."),Non_null_assertions_can_only_be_used_in_TypeScript_files:iO(8013,1,"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013","Non-null assertions can only be used in TypeScript files."),Type_assertion_expressions_can_only_be_used_in_TypeScript_files:iO(8016,1,"Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016","Type assertion expressions can only be used in TypeScript files."),Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:iO(8017,1,"Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0_8017","Octal literal types must use ES2015 syntax. Use the syntax '{0}'."),Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0:iO(8018,1,"Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0_8018","Octal literals are not allowed in enums members initializer. Use the syntax '{0}'."),Report_errors_in_js_files:iO(8019,3,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:iO(8020,1,"JSDoc_types_can_only_be_used_inside_documentation_comments_8020","JSDoc types can only be used inside documentation comments."),JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags:iO(8021,1,"JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags_8021","JSDoc '@typedef' tag should either have a type annotation or be followed by '@property' or '@member' tags."),JSDoc_0_is_not_attached_to_a_class:iO(8022,1,"JSDoc_0_is_not_attached_to_a_class_8022","JSDoc '@{0}' is not attached to a class."),JSDoc_0_1_does_not_match_the_extends_2_clause:iO(8023,1,"JSDoc_0_1_does_not_match_the_extends_2_clause_8023","JSDoc '@{0} {1}' does not match the 'extends {2}' clause."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name:iO(8024,1,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_8024","JSDoc '@param' tag has name '{0}', but there is no parameter with that name."),Class_declarations_cannot_have_more_than_one_augments_or_extends_tag:iO(8025,1,"Class_declarations_cannot_have_more_than_one_augments_or_extends_tag_8025","Class declarations cannot have more than one '@augments' or '@extends' tag."),Expected_0_type_arguments_provide_these_with_an_extends_tag:iO(8026,1,"Expected_0_type_arguments_provide_these_with_an_extends_tag_8026","Expected {0} type arguments; provide these with an '@extends' tag."),Expected_0_1_type_arguments_provide_these_with_an_extends_tag:iO(8027,1,"Expected_0_1_type_arguments_provide_these_with_an_extends_tag_8027","Expected {0}-{1} type arguments; provide these with an '@extends' tag."),JSDoc_may_only_appear_in_the_last_parameter_of_a_signature:iO(8028,1,"JSDoc_may_only_appear_in_the_last_parameter_of_a_signature_8028","JSDoc '...' may only appear in the last parameter of a signature."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type:iO(8029,1,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_h_8029","JSDoc '@param' tag has name '{0}', but there is no parameter with that name. It would match 'arguments' if it had an array type."),The_type_of_a_function_declaration_must_match_the_function_s_signature:iO(8030,1,"The_type_of_a_function_declaration_must_match_the_function_s_signature_8030","The type of a function declaration must match the function's signature."),You_cannot_rename_a_module_via_a_global_import:iO(8031,1,"You_cannot_rename_a_module_via_a_global_import_8031","You cannot rename a module via a global import."),Qualified_name_0_is_not_allowed_without_a_leading_param_object_1:iO(8032,1,"Qualified_name_0_is_not_allowed_without_a_leading_param_object_1_8032","Qualified name '{0}' is not allowed without a leading '@param {object} {1}'."),A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags:iO(8033,1,"A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags_8033","A JSDoc '@typedef' comment may not contain multiple '@type' tags."),The_tag_was_first_specified_here:iO(8034,1,"The_tag_was_first_specified_here_8034","The tag was first specified here."),You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder:iO(8035,1,"You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder_8035","You cannot rename elements that are defined in a 'node_modules' folder."),You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder:iO(8036,1,"You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder_8036","You cannot rename elements that are defined in another 'node_modules' folder."),Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files:iO(8037,1,"Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files_8037","Type satisfaction expressions can only be used in TypeScript files."),Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export:iO(8038,1,"Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export_8038","Decorators may not appear after 'export' or 'export default' if they also appear before 'export'."),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit:iO(9005,1,"Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005","Declaration emit for this file requires using private name '{0}'. An explicit type annotation may unblock declaration emit."),Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:iO(9006,1,"Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006","Declaration emit for this file requires using private name '{0}' from module '{1}'. An explicit type annotation may unblock declaration emit."),JSX_attributes_must_only_be_assigned_a_non_empty_expression:iO(17e3,1,"JSX_attributes_must_only_be_assigned_a_non_empty_expression_17000","JSX attributes must only be assigned a non-empty 'expression'."),JSX_elements_cannot_have_multiple_attributes_with_the_same_name:iO(17001,1,"JSX_elements_cannot_have_multiple_attributes_with_the_same_name_17001","JSX elements cannot have multiple attributes with the same name."),Expected_corresponding_JSX_closing_tag_for_0:iO(17002,1,"Expected_corresponding_JSX_closing_tag_for_0_17002","Expected corresponding JSX closing tag for '{0}'."),Cannot_use_JSX_unless_the_jsx_flag_is_provided:iO(17004,1,"Cannot_use_JSX_unless_the_jsx_flag_is_provided_17004","Cannot use JSX unless the '--jsx' flag is provided."),A_constructor_cannot_contain_a_super_call_when_its_class_extends_null:iO(17005,1,"A_constructor_cannot_contain_a_super_call_when_its_class_extends_null_17005","A constructor cannot contain a 'super' call when its class extends 'null'."),An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:iO(17006,1,"An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_ex_17006","An unary expression with the '{0}' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:iO(17007,1,"A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Con_17007","A type assertion expression is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),JSX_element_0_has_no_corresponding_closing_tag:iO(17008,1,"JSX_element_0_has_no_corresponding_closing_tag_17008","JSX element '{0}' has no corresponding closing tag."),super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class:iO(17009,1,"super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class_17009","'super' must be called before accessing 'this' in the constructor of a derived class."),Unknown_type_acquisition_option_0:iO(17010,1,"Unknown_type_acquisition_option_0_17010","Unknown type acquisition option '{0}'."),super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class:iO(17011,1,"super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class_17011","'super' must be called before accessing a property of 'super' in the constructor of a derived class."),_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2:iO(17012,1,"_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2_17012","'{0}' is not a valid meta-property for keyword '{1}'. Did you mean '{2}'?"),Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor:iO(17013,1,"Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constru_17013","Meta-property '{0}' is only allowed in the body of a function declaration, function expression, or constructor."),JSX_fragment_has_no_corresponding_closing_tag:iO(17014,1,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:iO(17015,1,"Expected_corresponding_closing_tag_for_JSX_fragment_17015","Expected corresponding closing tag for JSX fragment."),The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:iO(17016,1,"The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_com_17016","The 'jsxFragmentFactory' compiler option must be provided to use JSX fragments with the 'jsxFactory' compiler option."),An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments:iO(17017,1,"An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments_17017","An @jsxFrag pragma is required when using an @jsx pragma with JSX fragments."),Unknown_type_acquisition_option_0_Did_you_mean_1:iO(17018,1,"Unknown_type_acquisition_option_0_Did_you_mean_1_17018","Unknown type acquisition option '{0}'. Did you mean '{1}'?"),_0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1:iO(17019,1,"_0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1_17019","'{0}' at the end of a type is not valid TypeScript syntax. Did you mean to write '{1}'?"),_0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1:iO(17020,1,"_0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1_17020","'{0}' at the start of a type is not valid TypeScript syntax. Did you mean to write '{1}'?"),Circularity_detected_while_resolving_configuration_Colon_0:iO(18e3,1,"Circularity_detected_while_resolving_configuration_Colon_0_18000","Circularity detected while resolving configuration: {0}"),The_files_list_in_config_file_0_is_empty:iO(18002,1,"The_files_list_in_config_file_0_is_empty_18002","The 'files' list in config file '{0}' is empty."),No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2:iO(18003,1,"No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2_18003","No inputs were found in config file '{0}'. Specified 'include' paths were '{1}' and 'exclude' paths were '{2}'."),File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module:iO(80001,2,"File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module_80001","File is a CommonJS module; it may be converted to an ES module."),This_constructor_function_may_be_converted_to_a_class_declaration:iO(80002,2,"This_constructor_function_may_be_converted_to_a_class_declaration_80002","This constructor function may be converted to a class declaration."),Import_may_be_converted_to_a_default_import:iO(80003,2,"Import_may_be_converted_to_a_default_import_80003","Import may be converted to a default import."),JSDoc_types_may_be_moved_to_TypeScript_types:iO(80004,2,"JSDoc_types_may_be_moved_to_TypeScript_types_80004","JSDoc types may be moved to TypeScript types."),require_call_may_be_converted_to_an_import:iO(80005,2,"require_call_may_be_converted_to_an_import_80005","'require' call may be converted to an import."),This_may_be_converted_to_an_async_function:iO(80006,2,"This_may_be_converted_to_an_async_function_80006","This may be converted to an async function."),await_has_no_effect_on_the_type_of_this_expression:iO(80007,2,"await_has_no_effect_on_the_type_of_this_expression_80007","'await' has no effect on the type of this expression."),Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers:iO(80008,2,"Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accur_80008","Numeric literals with absolute values equal to 2^53 or greater are too large to be represented accurately as integers."),Add_missing_super_call:iO(90001,3,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:iO(90002,3,"Make_super_call_the_first_statement_in_the_constructor_90002","Make 'super()' call the first statement in the constructor"),Change_extends_to_implements:iO(90003,3,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_unused_declaration_for_Colon_0:iO(90004,3,"Remove_unused_declaration_for_Colon_0_90004","Remove unused declaration for: '{0}'"),Remove_import_from_0:iO(90005,3,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:iO(90006,3,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:iO(90007,3,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:iO(90008,3,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_variable_statement:iO(90010,3,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:iO(90011,3,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:iO(90012,3,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_1:iO(90013,3,"Import_0_from_1_90013","Import '{0}' from \"{1}\""),Change_0_to_1:iO(90014,3,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Declare_property_0:iO(90016,3,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:iO(90017,3,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:iO(90018,3,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:iO(90019,3,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:iO(90020,3,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:iO(90021,3,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:iO(90022,3,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:iO(90023,3,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:iO(90024,3,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:iO(90025,3,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:iO(90026,3,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:iO(90027,3,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:iO(90028,3,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:iO(90029,3,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:iO(90030,3,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:iO(90031,3,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Add_parameter_name:iO(90034,3,"Add_parameter_name_90034","Add parameter name"),Declare_private_property_0:iO(90035,3,"Declare_private_property_0_90035","Declare private property '{0}'"),Replace_0_with_Promise_1:iO(90036,3,"Replace_0_with_Promise_1_90036","Replace '{0}' with 'Promise<{1}>'"),Fix_all_incorrect_return_type_of_an_async_functions:iO(90037,3,"Fix_all_incorrect_return_type_of_an_async_functions_90037","Fix all incorrect return type of an async functions"),Declare_private_method_0:iO(90038,3,"Declare_private_method_0_90038","Declare private method '{0}'"),Remove_unused_destructuring_declaration:iO(90039,3,"Remove_unused_destructuring_declaration_90039","Remove unused destructuring declaration"),Remove_unused_declarations_for_Colon_0:iO(90041,3,"Remove_unused_declarations_for_Colon_0_90041","Remove unused declarations for: '{0}'"),Declare_a_private_field_named_0:iO(90053,3,"Declare_a_private_field_named_0_90053","Declare a private field named '{0}'."),Includes_imports_of_types_referenced_by_0:iO(90054,3,"Includes_imports_of_types_referenced_by_0_90054","Includes imports of types referenced by '{0}'"),Remove_type_from_import_declaration_from_0:iO(90055,3,"Remove_type_from_import_declaration_from_0_90055","Remove 'type' from import declaration from \"{0}\""),Remove_type_from_import_of_0_from_1:iO(90056,3,"Remove_type_from_import_of_0_from_1_90056","Remove 'type' from import of '{0}' from \"{1}\""),Add_import_from_0:iO(90057,3,"Add_import_from_0_90057",'Add import from "{0}"'),Update_import_from_0:iO(90058,3,"Update_import_from_0_90058",'Update import from "{0}"'),Export_0_from_module_1:iO(90059,3,"Export_0_from_module_1_90059","Export '{0}' from module '{1}'"),Export_all_referenced_locals:iO(90060,3,"Export_all_referenced_locals_90060","Export all referenced locals"),Convert_function_to_an_ES2015_class:iO(95001,3,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_0_to_1_in_0:iO(95003,3,"Convert_0_to_1_in_0_95003","Convert '{0}' to '{1} in {0}'"),Extract_to_0_in_1:iO(95004,3,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:iO(95005,3,"Extract_function_95005","Extract function"),Extract_constant:iO(95006,3,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:iO(95007,3,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:iO(95008,3,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:iO(95009,3,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Infer_type_of_0_from_usage:iO(95011,3,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:iO(95012,3,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:iO(95013,3,"Convert_to_default_import_95013","Convert to default import"),Install_0:iO(95014,3,"Install_0_95014","Install '{0}'"),Replace_import_with_0:iO(95015,3,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:iO(95016,3,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES_module:iO(95017,3,"Convert_to_ES_module_95017","Convert to ES module"),Add_undefined_type_to_property_0:iO(95018,3,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:iO(95019,3,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:iO(95020,3,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Convert_all_type_literals_to_mapped_type:iO(95021,3,"Convert_all_type_literals_to_mapped_type_95021","Convert all type literals to mapped type"),Add_all_missing_members:iO(95022,3,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:iO(95023,3,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:iO(95024,3,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:iO(95025,3,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:iO(95026,3,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:iO(95027,3,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:iO(95028,3,"Add_definite_assignment_assertions_to_all_uninitialized_properties_95028","Add definite assignment assertions to all uninitialized properties"),Add_undefined_type_to_all_uninitialized_properties:iO(95029,3,"Add_undefined_type_to_all_uninitialized_properties_95029","Add undefined type to all uninitialized properties"),Change_all_jsdoc_style_types_to_TypeScript:iO(95030,3,"Change_all_jsdoc_style_types_to_TypeScript_95030","Change all jsdoc-style types to TypeScript"),Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types:iO(95031,3,"Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types_95031","Change all jsdoc-style types to TypeScript (and add '| undefined' to nullable types)"),Implement_all_unimplemented_interfaces:iO(95032,3,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:iO(95033,3,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:iO(95034,3,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:iO(95035,3,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:iO(95036,3,"Make_all_super_calls_the_first_statement_in_their_constructor_95036","Make all 'super()' calls the first statement in their constructor"),Add_qualifier_to_all_unresolved_variables_matching_a_member_name:iO(95037,3,"Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037","Add qualifier to all unresolved variables matching a member name"),Change_all_extended_interfaces_to_implements:iO(95038,3,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:iO(95039,3,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:iO(95040,3,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:iO(95041,3,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:iO(95042,3,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:iO(95043,3,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:iO(95044,3,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:iO(95045,3,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:iO(95046,3,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:iO(95047,3,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:iO(95048,3,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:iO(95049,3,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:iO(95050,3,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:iO(95051,3,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:iO(95052,3,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:iO(95053,3,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:iO(95054,3,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:iO(95055,3,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:iO(95056,3,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:iO(95057,3,"Convert_named_imports_to_namespace_import_95057","Convert named imports to namespace import"),Add_or_remove_braces_in_an_arrow_function:iO(95058,3,"Add_or_remove_braces_in_an_arrow_function_95058","Add or remove braces in an arrow function"),Add_braces_to_arrow_function:iO(95059,3,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:iO(95060,3,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:iO(95061,3,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:iO(95062,3,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:iO(95063,3,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:iO(95064,3,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:iO(95065,3,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:iO(95066,3,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_missing_call_parentheses:iO(95067,3,"Add_missing_call_parentheses_95067","Add missing call parentheses"),Add_all_missing_call_parentheses:iO(95068,3,"Add_all_missing_call_parentheses_95068","Add all missing call parentheses"),Add_unknown_conversion_for_non_overlapping_types:iO(95069,3,"Add_unknown_conversion_for_non_overlapping_types_95069","Add 'unknown' conversion for non-overlapping types"),Add_unknown_to_all_conversions_of_non_overlapping_types:iO(95070,3,"Add_unknown_to_all_conversions_of_non_overlapping_types_95070","Add 'unknown' to all conversions of non-overlapping types"),Add_missing_new_operator_to_call:iO(95071,3,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:iO(95072,3,"Add_missing_new_operator_to_all_calls_95072","Add missing 'new' operator to all calls"),Add_names_to_all_parameters_without_names:iO(95073,3,"Add_names_to_all_parameters_without_names_95073","Add names to all parameters without names"),Enable_the_experimentalDecorators_option_in_your_configuration_file:iO(95074,3,"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074","Enable the 'experimentalDecorators' option in your configuration file"),Convert_parameters_to_destructured_object:iO(95075,3,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Extract_type:iO(95077,3,"Extract_type_95077","Extract type"),Extract_to_type_alias:iO(95078,3,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:iO(95079,3,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:iO(95080,3,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:iO(95081,3,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:iO(95082,3,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:iO(95083,3,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:iO(95084,3,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:iO(95085,3,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:iO(95086,3,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:iO(95087,3,"Remove_all_unnecessary_uses_of_await_95087","Remove all unnecessary uses of 'await'"),Enable_the_jsx_flag_in_your_configuration_file:iO(95088,3,"Enable_the_jsx_flag_in_your_configuration_file_95088","Enable the '--jsx' flag in your configuration file"),Add_await_to_initializers:iO(95089,3,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:iO(95090,3,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:iO(95091,3,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:iO(95092,3,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:iO(95093,3,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:iO(95094,3,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:iO(95095,3,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),Convert_to_template_string:iO(95096,3,"Convert_to_template_string_95096","Convert to template string"),Add_export_to_make_this_file_into_a_module:iO(95097,3,"Add_export_to_make_this_file_into_a_module_95097","Add 'export {}' to make this file into a module"),Set_the_target_option_in_your_configuration_file_to_0:iO(95098,3,"Set_the_target_option_in_your_configuration_file_to_0_95098","Set the 'target' option in your configuration file to '{0}'"),Set_the_module_option_in_your_configuration_file_to_0:iO(95099,3,"Set_the_module_option_in_your_configuration_file_to_0_95099","Set the 'module' option in your configuration file to '{0}'"),Convert_invalid_character_to_its_html_entity_code:iO(95100,3,"Convert_invalid_character_to_its_html_entity_code_95100","Convert invalid character to its html entity code"),Convert_all_invalid_characters_to_HTML_entity_code:iO(95101,3,"Convert_all_invalid_characters_to_HTML_entity_code_95101","Convert all invalid characters to HTML entity code"),Convert_all_const_to_let:iO(95102,3,"Convert_all_const_to_let_95102","Convert all 'const' to 'let'"),Convert_function_expression_0_to_arrow_function:iO(95105,3,"Convert_function_expression_0_to_arrow_function_95105","Convert function expression '{0}' to arrow function"),Convert_function_declaration_0_to_arrow_function:iO(95106,3,"Convert_function_declaration_0_to_arrow_function_95106","Convert function declaration '{0}' to arrow function"),Fix_all_implicit_this_errors:iO(95107,3,"Fix_all_implicit_this_errors_95107","Fix all implicit-'this' errors"),Wrap_invalid_character_in_an_expression_container:iO(95108,3,"Wrap_invalid_character_in_an_expression_container_95108","Wrap invalid character in an expression container"),Wrap_all_invalid_characters_in_an_expression_container:iO(95109,3,"Wrap_all_invalid_characters_in_an_expression_container_95109","Wrap all invalid characters in an expression container"),Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file:iO(95110,3,"Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file_95110","Visit https://aka.ms/tsconfig to read more about this file"),Add_a_return_statement:iO(95111,3,"Add_a_return_statement_95111","Add a return statement"),Remove_braces_from_arrow_function_body:iO(95112,3,"Remove_braces_from_arrow_function_body_95112","Remove braces from arrow function body"),Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal:iO(95113,3,"Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113","Wrap the following body with parentheses which should be an object literal"),Add_all_missing_return_statement:iO(95114,3,"Add_all_missing_return_statement_95114","Add all missing return statement"),Remove_braces_from_all_arrow_function_bodies_with_relevant_issues:iO(95115,3,"Remove_braces_from_all_arrow_function_bodies_with_relevant_issues_95115","Remove braces from all arrow function bodies with relevant issues"),Wrap_all_object_literal_with_parentheses:iO(95116,3,"Wrap_all_object_literal_with_parentheses_95116","Wrap all object literal with parentheses"),Move_labeled_tuple_element_modifiers_to_labels:iO(95117,3,"Move_labeled_tuple_element_modifiers_to_labels_95117","Move labeled tuple element modifiers to labels"),Convert_overload_list_to_single_signature:iO(95118,3,"Convert_overload_list_to_single_signature_95118","Convert overload list to single signature"),Generate_get_and_set_accessors_for_all_overriding_properties:iO(95119,3,"Generate_get_and_set_accessors_for_all_overriding_properties_95119","Generate 'get' and 'set' accessors for all overriding properties"),Wrap_in_JSX_fragment:iO(95120,3,"Wrap_in_JSX_fragment_95120","Wrap in JSX fragment"),Wrap_all_unparented_JSX_in_JSX_fragment:iO(95121,3,"Wrap_all_unparented_JSX_in_JSX_fragment_95121","Wrap all unparented JSX in JSX fragment"),Convert_arrow_function_or_function_expression:iO(95122,3,"Convert_arrow_function_or_function_expression_95122","Convert arrow function or function expression"),Convert_to_anonymous_function:iO(95123,3,"Convert_to_anonymous_function_95123","Convert to anonymous function"),Convert_to_named_function:iO(95124,3,"Convert_to_named_function_95124","Convert to named function"),Convert_to_arrow_function:iO(95125,3,"Convert_to_arrow_function_95125","Convert to arrow function"),Remove_parentheses:iO(95126,3,"Remove_parentheses_95126","Remove parentheses"),Could_not_find_a_containing_arrow_function:iO(95127,3,"Could_not_find_a_containing_arrow_function_95127","Could not find a containing arrow function"),Containing_function_is_not_an_arrow_function:iO(95128,3,"Containing_function_is_not_an_arrow_function_95128","Containing function is not an arrow function"),Could_not_find_export_statement:iO(95129,3,"Could_not_find_export_statement_95129","Could not find export statement"),This_file_already_has_a_default_export:iO(95130,3,"This_file_already_has_a_default_export_95130","This file already has a default export"),Could_not_find_import_clause:iO(95131,3,"Could_not_find_import_clause_95131","Could not find import clause"),Could_not_find_namespace_import_or_named_imports:iO(95132,3,"Could_not_find_namespace_import_or_named_imports_95132","Could not find namespace import or named imports"),Selection_is_not_a_valid_type_node:iO(95133,3,"Selection_is_not_a_valid_type_node_95133","Selection is not a valid type node"),No_type_could_be_extracted_from_this_type_node:iO(95134,3,"No_type_could_be_extracted_from_this_type_node_95134","No type could be extracted from this type node"),Could_not_find_property_for_which_to_generate_accessor:iO(95135,3,"Could_not_find_property_for_which_to_generate_accessor_95135","Could not find property for which to generate accessor"),Name_is_not_valid:iO(95136,3,"Name_is_not_valid_95136","Name is not valid"),Can_only_convert_property_with_modifier:iO(95137,3,"Can_only_convert_property_with_modifier_95137","Can only convert property with modifier"),Switch_each_misused_0_to_1:iO(95138,3,"Switch_each_misused_0_to_1_95138","Switch each misused '{0}' to '{1}'"),Convert_to_optional_chain_expression:iO(95139,3,"Convert_to_optional_chain_expression_95139","Convert to optional chain expression"),Could_not_find_convertible_access_expression:iO(95140,3,"Could_not_find_convertible_access_expression_95140","Could not find convertible access expression"),Could_not_find_matching_access_expressions:iO(95141,3,"Could_not_find_matching_access_expressions_95141","Could not find matching access expressions"),Can_only_convert_logical_AND_access_chains:iO(95142,3,"Can_only_convert_logical_AND_access_chains_95142","Can only convert logical AND access chains"),Add_void_to_Promise_resolved_without_a_value:iO(95143,3,"Add_void_to_Promise_resolved_without_a_value_95143","Add 'void' to Promise resolved without a value"),Add_void_to_all_Promises_resolved_without_a_value:iO(95144,3,"Add_void_to_all_Promises_resolved_without_a_value_95144","Add 'void' to all Promises resolved without a value"),Use_element_access_for_0:iO(95145,3,"Use_element_access_for_0_95145","Use element access for '{0}'"),Use_element_access_for_all_undeclared_properties:iO(95146,3,"Use_element_access_for_all_undeclared_properties_95146","Use element access for all undeclared properties."),Delete_all_unused_imports:iO(95147,3,"Delete_all_unused_imports_95147","Delete all unused imports"),Infer_function_return_type:iO(95148,3,"Infer_function_return_type_95148","Infer function return type"),Return_type_must_be_inferred_from_a_function:iO(95149,3,"Return_type_must_be_inferred_from_a_function_95149","Return type must be inferred from a function"),Could_not_determine_function_return_type:iO(95150,3,"Could_not_determine_function_return_type_95150","Could not determine function return type"),Could_not_convert_to_arrow_function:iO(95151,3,"Could_not_convert_to_arrow_function_95151","Could not convert to arrow function"),Could_not_convert_to_named_function:iO(95152,3,"Could_not_convert_to_named_function_95152","Could not convert to named function"),Could_not_convert_to_anonymous_function:iO(95153,3,"Could_not_convert_to_anonymous_function_95153","Could not convert to anonymous function"),Can_only_convert_string_concatenation:iO(95154,3,"Can_only_convert_string_concatenation_95154","Can only convert string concatenation"),Selection_is_not_a_valid_statement_or_statements:iO(95155,3,"Selection_is_not_a_valid_statement_or_statements_95155","Selection is not a valid statement or statements"),Add_missing_function_declaration_0:iO(95156,3,"Add_missing_function_declaration_0_95156","Add missing function declaration '{0}'"),Add_all_missing_function_declarations:iO(95157,3,"Add_all_missing_function_declarations_95157","Add all missing function declarations"),Method_not_implemented:iO(95158,3,"Method_not_implemented_95158","Method not implemented."),Function_not_implemented:iO(95159,3,"Function_not_implemented_95159","Function not implemented."),Add_override_modifier:iO(95160,3,"Add_override_modifier_95160","Add 'override' modifier"),Remove_override_modifier:iO(95161,3,"Remove_override_modifier_95161","Remove 'override' modifier"),Add_all_missing_override_modifiers:iO(95162,3,"Add_all_missing_override_modifiers_95162","Add all missing 'override' modifiers"),Remove_all_unnecessary_override_modifiers:iO(95163,3,"Remove_all_unnecessary_override_modifiers_95163","Remove all unnecessary 'override' modifiers"),Can_only_convert_named_export:iO(95164,3,"Can_only_convert_named_export_95164","Can only convert named export"),Add_missing_properties:iO(95165,3,"Add_missing_properties_95165","Add missing properties"),Add_all_missing_properties:iO(95166,3,"Add_all_missing_properties_95166","Add all missing properties"),Add_missing_attributes:iO(95167,3,"Add_missing_attributes_95167","Add missing attributes"),Add_all_missing_attributes:iO(95168,3,"Add_all_missing_attributes_95168","Add all missing attributes"),Add_undefined_to_optional_property_type:iO(95169,3,"Add_undefined_to_optional_property_type_95169","Add 'undefined' to optional property type"),Convert_named_imports_to_default_import:iO(95170,3,"Convert_named_imports_to_default_import_95170","Convert named imports to default import"),Delete_unused_param_tag_0:iO(95171,3,"Delete_unused_param_tag_0_95171","Delete unused '@param' tag '{0}'"),Delete_all_unused_param_tags:iO(95172,3,"Delete_all_unused_param_tags_95172","Delete all unused '@param' tags"),Rename_param_tag_name_0_to_1:iO(95173,3,"Rename_param_tag_name_0_to_1_95173","Rename '@param' tag name '{0}' to '{1}'"),Use_0:iO(95174,3,"Use_0_95174","Use `{0}`."),Use_Number_isNaN_in_all_conditions:iO(95175,3,"Use_Number_isNaN_in_all_conditions_95175","Use `Number.isNaN` in all conditions."),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:iO(18004,1,"No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer_18004","No value exists in scope for the shorthand property '{0}'. Either declare one or provide an initializer."),Classes_may_not_have_a_field_named_constructor:iO(18006,1,"Classes_may_not_have_a_field_named_constructor_18006","Classes may not have a field named 'constructor'."),JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array:iO(18007,1,"JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array_18007","JSX expressions may not use the comma operator. Did you mean to write an array?"),Private_identifiers_cannot_be_used_as_parameters:iO(18009,1,"Private_identifiers_cannot_be_used_as_parameters_18009","Private identifiers cannot be used as parameters."),An_accessibility_modifier_cannot_be_used_with_a_private_identifier:iO(18010,1,"An_accessibility_modifier_cannot_be_used_with_a_private_identifier_18010","An accessibility modifier cannot be used with a private identifier."),The_operand_of_a_delete_operator_cannot_be_a_private_identifier:iO(18011,1,"The_operand_of_a_delete_operator_cannot_be_a_private_identifier_18011","The operand of a 'delete' operator cannot be a private identifier."),constructor_is_a_reserved_word:iO(18012,1,"constructor_is_a_reserved_word_18012","'#constructor' is a reserved word."),Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier:iO(18013,1,"Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier_18013","Property '{0}' is not accessible outside class '{1}' because it has a private identifier."),The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling:iO(18014,1,"The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_priv_18014","The property '{0}' cannot be accessed on type '{1}' within this class because it is shadowed by another private identifier with the same spelling."),Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2:iO(18015,1,"Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2_18015","Property '{0}' in type '{1}' refers to a different member that cannot be accessed from within type '{2}'."),Private_identifiers_are_not_allowed_outside_class_bodies:iO(18016,1,"Private_identifiers_are_not_allowed_outside_class_bodies_18016","Private identifiers are not allowed outside class bodies."),The_shadowing_declaration_of_0_is_defined_here:iO(18017,1,"The_shadowing_declaration_of_0_is_defined_here_18017","The shadowing declaration of '{0}' is defined here"),The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here:iO(18018,1,"The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here_18018","The declaration of '{0}' that you probably intended to use is defined here"),_0_modifier_cannot_be_used_with_a_private_identifier:iO(18019,1,"_0_modifier_cannot_be_used_with_a_private_identifier_18019","'{0}' modifier cannot be used with a private identifier."),An_enum_member_cannot_be_named_with_a_private_identifier:iO(18024,1,"An_enum_member_cannot_be_named_with_a_private_identifier_18024","An enum member cannot be named with a private identifier."),can_only_be_used_at_the_start_of_a_file:iO(18026,1,"can_only_be_used_at_the_start_of_a_file_18026","'#!' can only be used at the start of a file."),Compiler_reserves_name_0_when_emitting_private_identifier_downlevel:iO(18027,1,"Compiler_reserves_name_0_when_emitting_private_identifier_downlevel_18027","Compiler reserves name '{0}' when emitting private identifier downlevel."),Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher:iO(18028,1,"Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028","Private identifiers are only available when targeting ECMAScript 2015 and higher."),Private_identifiers_are_not_allowed_in_variable_declarations:iO(18029,1,"Private_identifiers_are_not_allowed_in_variable_declarations_18029","Private identifiers are not allowed in variable declarations."),An_optional_chain_cannot_contain_private_identifiers:iO(18030,1,"An_optional_chain_cannot_contain_private_identifiers_18030","An optional chain cannot contain private identifiers."),The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents:iO(18031,1,"The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituent_18031","The intersection '{0}' was reduced to 'never' because property '{1}' has conflicting types in some constituents."),The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some:iO(18032,1,"The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_pr_18032","The intersection '{0}' was reduced to 'never' because property '{1}' exists in multiple constituents and is private in some."),Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values:iO(18033,1,"Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values_18033","Type '{0}' is not assignable to type '{1}' as required for computed enum member values."),Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compiler_option_is_specified_e_g_Fragment:iO(18034,3,"Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compi_18034","Specify the JSX fragment factory function to use when targeting 'react' JSX emit with 'jsxFactory' compiler option is specified, e.g. 'Fragment'."),Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name:iO(18035,1,"Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name_18035","Invalid value for 'jsxFragmentFactory'. '{0}' is not a valid identifier or qualified-name."),Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator:iO(18036,1,"Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_dec_18036","Class decorators can't be used with static private identifier. Consider removing the experimental decorator."),Await_expression_cannot_be_used_inside_a_class_static_block:iO(18037,1,"Await_expression_cannot_be_used_inside_a_class_static_block_18037","Await expression cannot be used inside a class static block."),For_await_loops_cannot_be_used_inside_a_class_static_block:iO(18038,1,"For_await_loops_cannot_be_used_inside_a_class_static_block_18038","'For await' loops cannot be used inside a class static block."),Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block:iO(18039,1,"Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block_18039","Invalid use of '{0}'. It cannot be used inside a class static block."),A_return_statement_cannot_be_used_inside_a_class_static_block:iO(18041,1,"A_return_statement_cannot_be_used_inside_a_class_static_block_18041","A 'return' statement cannot be used inside a class static block."),_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation:iO(18042,1,"_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation_18042","'{0}' is a type and cannot be imported in JavaScript files. Use '{1}' in a JSDoc type annotation."),Types_cannot_appear_in_export_declarations_in_JavaScript_files:iO(18043,1,"Types_cannot_appear_in_export_declarations_in_JavaScript_files_18043","Types cannot appear in export declarations in JavaScript files."),_0_is_automatically_exported_here:iO(18044,3,"_0_is_automatically_exported_here_18044","'{0}' is automatically exported here."),Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher:iO(18045,1,"Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher_18045","Properties with the 'accessor' modifier are only available when targeting ECMAScript 2015 and higher."),_0_is_of_type_unknown:iO(18046,1,"_0_is_of_type_unknown_18046","'{0}' is of type 'unknown'."),_0_is_possibly_null:iO(18047,1,"_0_is_possibly_null_18047","'{0}' is possibly 'null'."),_0_is_possibly_undefined:iO(18048,1,"_0_is_possibly_undefined_18048","'{0}' is possibly 'undefined'."),_0_is_possibly_null_or_undefined:iO(18049,1,"_0_is_possibly_null_or_undefined_18049","'{0}' is possibly 'null' or 'undefined'."),The_value_0_cannot_be_used_here:iO(18050,1,"The_value_0_cannot_be_used_here_18050","The value '{0}' cannot be used here."),Compiler_option_0_cannot_be_given_an_empty_string:iO(18051,1,"Compiler_option_0_cannot_be_given_an_empty_string_18051","Compiler option '{0}' cannot be given an empty string.")}}});function iL(e){return e>=79}function iz(e){return 31===e||iL(e)}function iR(e,t){if(e=2?iR(e,oD):1===t?iR(e,ov):iR(e,og)}function iU(e){return ow[e]}function iJ(e){return oy.get(e)}function i$(e){let t=[],n=0,r=0;for(;n127&&iX(i)&&(t.push(r),r=n)}}return t.push(r),t}function iK(e,t,n,r){return e.getPositionOfLineAndCharacter?e.getPositionOfLineAndCharacter(t,n,r):iV(iY(e),t,n,e.text,r)}function iV(e,t,n,r,i){(t<0||t>=e.length)&&(i?t=t<0?0:t>=e.length?e.length-1:t:nd.fail(`Bad line number. Line: ${t}, lineStarts.length: ${e.length} , line map is correct? ${void 0!==r?C(e,i$(r)):"unknown"}`));let o=e[t]+n;return i?o>e[t+1]?e[t+1]:"string"==typeof r&&o>r.length?r.length:o:(t=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function iX(e){return 10===e||13===e||8232===e||8233===e}function i0(e){return e>=48&&e<=57}function i1(e){return i0(e)||e>=65&&e<=70||e>=97&&e<=102}function i2(e){return e>=48&&e<=55}function i3(e,t){let n=e.charCodeAt(t);switch(n){case 13:case 10:case 9:case 11:case 12:case 32:case 47:case 60:case 124:case 61:case 62:return!0;case 35:return 0===t;default:return n>127}}function i4(e,t,n,r,i){if(y5(t))return t;let o=!1;for(;;){let a=e.charCodeAt(t);switch(a){case 13:10===e.charCodeAt(t+1)&&t++;case 10:if(t++,n)break;o=!!i;continue;case 9:case 11:case 12:case 32:t++;continue;case 47:if(r)break;if(47===e.charCodeAt(t+1)){for(t+=2;t127&&iG(a)){t++;continue}}return t}}function i6(e,t){if(nd.assert(t>=0),0===t||iX(e.charCodeAt(t-1))){let n=e.charCodeAt(t);if(t+oA=0&&n127&&iG(a)){_&&iX(a)&&(c=!0),n++;continue}break n}}return _&&(d=i(s,u,l,c,o,d)),d}function oe(e,t,n,r){return i9(!1,e,t,!1,n,r)}function ot(e,t,n,r){return i9(!1,e,t,!0,n,r)}function on(e,t,n,r,i){return i9(!0,e,t,!1,n,r,i)}function or(e,t,n,r,i){return i9(!0,e,t,!0,n,r,i)}function oi(e,t,n,r,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[];return o.push({kind:n,pos:e,end:t,hasTrailingNewLine:r}),o}function oo(e,t){return on(e,t,oi,void 0,void 0)}function oa(e,t){return or(e,t,oi,void 0,void 0)}function os(e){let t=oC.exec(e);if(t)return t[0]}function ou(e,t){return e>=65&&e<=90||e>=97&&e<=122||36===e||95===e||e>127&&iB(e,t)}function ol(e,t,n){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||36===e||95===e||1===n&&(45===e||58===e)||e>127&&(t>=2?iR(e,oS):1===t?iR(e,ox):iR(e,ob))}function oc(e,t,n){let r=oN(e,0);if(!ou(r,t))return!1;for(let i=op(r);i2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,o=arguments.length>5?arguments[5]:void 0,a=arguments.length>6?arguments[6]:void 0;var s,u,l,c,_,p,d,f,m=r,h=0;U(m,o,a);var y={getStartPos:()=>l,getTextPos:()=>s,getToken:()=>_,getTokenPos:()=>c,getTokenText:()=>m.substring(c,s),getTokenValue:()=>p,hasUnicodeEscape:()=>(1024&d)!=0,hasExtendedUnicodeEscape:()=>(8&d)!=0,hasPrecedingLineBreak:()=>(1&d)!=0,hasPrecedingJSDocComment:()=>(2&d)!=0,isIdentifier:()=>79===_||_>116,isReservedWord:()=>_>=81&&_<=116,isUnterminated:()=>(4&d)!=0,getCommentDirectives:()=>f,getNumericLiteralFlags:()=>1008&d,getTokenFlags:()=>d,reScanGreaterToken:function(){if(31===_){if(62===m.charCodeAt(s))return 62===m.charCodeAt(s+1)?61===m.charCodeAt(s+2)?(s+=3,_=72):(s+=2,_=49):61===m.charCodeAt(s+1)?(s+=2,_=71):(s++,_=48);if(61===m.charCodeAt(s))return s++,_=33}return _},reScanAsteriskEqualsToken:function(){return nd.assert(66===_,"'reScanAsteriskEqualsToken' should only be called on a '*='"),s=c+1,_=63},reScanSlashToken:function(){if(43===_||68===_){let t=c+1,n=!1,r=!1;for(;;){if(t>=u){d|=4,g(iP.Unterminated_regular_expression_literal);break}let e=m.charCodeAt(t);if(iX(e)){d|=4,g(iP.Unterminated_regular_expression_literal);break}if(n)n=!1;else if(47!==e||r)91===e?r=!0:92===e?n=!0:93===e&&(r=!1);else{t++;break}t++}for(;t0)||void 0===arguments[0]||arguments[0];return s=c=l,_=z(e)},reScanLessThanToken:function(){return 47===_?(s=c+1,_=29):_},reScanHashToken:function(){return 80===_?(s=c+1,_=62):_},reScanQuestionToken:function(){return nd.assert(60===_,"'reScanQuestionToken' should only be called on a '??'"),s=c+1,_=57},reScanInvalidIdentifier:function(){nd.assert(0===_,"'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'."),s=c=l,d=0;let e=oN(m,s),t=F(e,99);return t?_=t:(s+=op(e),_)},scanJsxToken:z,scanJsDocToken:function(){if(l=c=s,d=0,s>=u)return _=1;let t=oN(m,s);switch(s+=op(t),t){case 9:case 11:case 12:case 32:for(;s=0&&ou(n,e))return s+=3,d|=8,p=C()+k(),_=I();let r=N();return r>=0&&ou(r,e)?(s+=6,d|=1024,p=String.fromCharCode(r)+k(),_=I()):(s++,_=0)}if(!ou(t,e))return _=0;{let n=t;for(;s{let e=y.getText();return e.slice(0,y.getStartPos())+"║"+e.slice(y.getStartPos())}}),y;function g(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s,n=arguments.length>2?arguments[2]:void 0;if(i){let r=s;s=t,i(e,n||0),s=r}}function b(){let e=s,t=!1,n=!1,r="";for(;;){let i=m.charCodeAt(s);if(95===i){d|=512,t?(t=!1,n=!0,r+=m.substring(e,s)):g(n?iP.Multiple_consecutive_numeric_separators_are_not_permitted:iP.Numeric_separators_are_not_allowed_here,s,1),e=++s;continue}if(i0(i)){t=!0,n=!1,s++;continue}break}return 95===m.charCodeAt(s-1)&&g(iP.Numeric_separators_are_not_allowed_here,s-1,1),r+m.substring(e,s)}function v(){let e,t=s,n=b(),r,i;46===m.charCodeAt(s)&&(s++,r=b());let o=s;if(69===m.charCodeAt(s)||101===m.charCodeAt(s)){s++,d|=16,(43===m.charCodeAt(s)||45===m.charCodeAt(s))&&s++;let e=s,t=b();t?(i=m.substring(o,e)+t,o=s):g(iP.Digit_expected)}if(512&d?(e=n,r&&(e+="."+r),i&&(e+=i)):e=m.substring(t,o),void 0!==r||16&d)return x(t,void 0===r&&!!(16&d)),{type:8,value:""+ +e};{p=e;let n=O();return x(t),{type:n,value:p}}}function x(t,n){if(!ou(oN(m,s),e))return;let r=s,{length:i}=k();1===i&&"n"===m[r]?g(n?iP.A_bigint_literal_cannot_use_exponential_notation:iP.A_bigint_literal_must_be_an_integer,t,r-t+1):(g(iP.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal,r,i),s=r)}function D(e,t){let n=S(e,!1,t);return n?parseInt(n,16):-1}function S(e,t,n){let r=[],i=!1,o=!1;for(;r.length=65&&e<=70)e+=32;else if(!(e>=48&&e<=57||e>=97&&e<=102))break;r.push(e),s++,o=!1}return r.length0&&void 0!==arguments[0]&&arguments[0],t=m.charCodeAt(s),n="",r=++s;for(;;){if(s>=u){n+=m.substring(r,s),d|=4,g(iP.Unterminated_string_literal);break}let i=m.charCodeAt(s);if(i===t){n+=m.substring(r,s),s++;break}if(92===i&&!e){n+=m.substring(r,s)+w(),r=s;continue}if(iX(i)&&!e){n+=m.substring(r,s),d|=4,g(iP.Unterminated_string_literal);break}s++}return n}function E(e){let t=96===m.charCodeAt(s),n=++s,r="",i;for(;;){if(s>=u){r+=m.substring(n,s),d|=4,g(iP.Unterminated_template_literal),i=t?14:17;break}let o=m.charCodeAt(s);if(96===o){r+=m.substring(n,s),s++,i=t?14:17;break}if(36===o&&s+1=u)return g(iP.Unexpected_end_of_text),"";let n=m.charCodeAt(s);switch(s++,n){case 48:return e&&s=0?String.fromCharCode(t):(g(iP.Hexadecimal_digit_expected),"")}function C(){let e=S(1,!0,!1),t=e?parseInt(e,16):-1,n=!1;return t<0?(g(iP.Hexadecimal_digit_expected),n=!0):t>1114111&&(g(iP.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),n=!0),s>=u?(g(iP.Unexpected_end_of_text),n=!0):125===m.charCodeAt(s)?s++:(g(iP.Unterminated_Unicode_escape_sequence),n=!0),n?"":oM(t)}function N(){if(s+5=0&&ol(i,e)){s+=3,d|=8,t+=C(),n=s;continue}if(!((i=N())>=0&&ol(i,e)))break;d|=1024,t+=m.substring(n,s)+oM(i),s+=6,n=s}else break}return t+m.substring(n,s)}function I(){let e=p.length;if(e>=2&&e<=12){let e=p.charCodeAt(0);if(e>=97&&e<=122){let e=oh.get(p);if(void 0!==e)return _=e}}return _=79}function j(e){let t="",n=!1,r=!1;for(;;){let i=m.charCodeAt(s);if(95===i){d|=512,n?(n=!1,r=!0):g(r?iP.Multiple_consecutive_numeric_separators_are_not_permitted:iP.Numeric_separators_are_not_allowed_here,s,1),s++;continue}if(n=!0,!i0(i)||i-48>=e)break;t+=m[s],s++,r=!1}return 95===m.charCodeAt(s-1)&&g(iP.Numeric_separators_are_not_allowed_here,s-1,1),t}function O(){return 110===m.charCodeAt(s)?(p+="n",384&d&&(p=g_(p)+"n"),s++,9):(p=""+(128&d?parseInt(p.slice(2),2):256&d?parseInt(p.slice(2),8):+p),8)}function P(){l=s,d=0;let r=!1;for(;;){if(c=s,s>=u)return _=1;let i=oN(m,s);if(35===i&&0===s&&i8(m,s)){if(s=i7(m,s),t)continue;return _=6}switch(i){case 10:case 13:if(d|=1,!t)return 13===i&&s+1=0&&ou(o,e))return s+=3,d|=8,p=C()+k(),_=I();let a=N();return a>=0&&ou(a,e)?(s+=6,d|=1024,p=String.fromCharCode(a)+k(),_=I()):(g(iP.Invalid_character),s++,_=0);case 35:if(0!==s&&"!"===m[s+1])return g(iP.can_only_be_used_at_the_start_of_a_file),s++,_=0;let l=oN(m,s+1);if(92===l){s++;let t=M();if(t>=0&&ou(t,e))return s+=3,d|=8,p="#"+C()+k(),_=80;let n=N();if(n>=0&&ou(n,e))return s+=6,d|=1024,p="#"+String.fromCharCode(n)+k(),_=80;s--}return ou(l,e)?(s++,F(l,e)):(p="#",g(iP.Invalid_character,s++,op(i))),_=80;default:let y=F(i,e);if(y)return _=y;if(iZ(i)){s+=op(i);continue}if(iX(i)){d|=1,s+=op(i);continue}let b=op(i);return g(iP.Invalid_character,s,b),s+=b,_=0}}}function F(e,t){let n=e;if(ou(n,t)){for(s+=op(n);s0)||void 0===arguments[0]||arguments[0];if(l=c=s,s>=u)return _=1;let t=m.charCodeAt(s);if(60===t)return 47===m.charCodeAt(s+1)?(s+=2,_=30):(s++,_=29);if(123===t)return s++,_=18;let n=0;for(;s0)break;iG(t)||(n=s)}s++}return p=m.substring(l,s),-1===n?12:11}function R(){switch(l=s,m.charCodeAt(s)){case 34:case 39:return p=T(!0),_=10;default:return P()}}function B(e,t){let n=s,r=l,i=c,o=_,a=p,u=d,f=e();return(!f||t)&&(s=n,l=r,c=i,_=o,p=a,d=u),f}function U(e,t,n){m=e||"",u=void 0===n?m.length:t+n,J(t||0)}function J(e){nd.assert(e>=0),s=e,l=e,c=e,_=0,p=void 0,d=0}}function op(e){return e>=65536?2:1}function od(e){return(nd.assert(0<=e&&e<=1114111),e<=65535)?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296,(e-65536)%1024+56320)}function of(e){return oM(e)}var om,oh,oy,og,ob,ov,ox,oD,oS,oT,oE,ow,oA,oC,oN,oM,ok=c({"src/compiler/scanner.ts"(){let e;wA(),om={abstract:126,accessor:127,any:131,as:128,asserts:129,assert:130,bigint:160,boolean:134,break:81,case:82,catch:83,class:84,continue:86,const:85,constructor:135,debugger:87,declare:136,default:88,delete:89,do:90,else:91,enum:92,export:93,extends:94,false:95,finally:96,for:97,from:158,function:98,get:137,if:99,implements:117,import:100,in:101,infer:138,instanceof:102,interface:118,intrinsic:139,is:140,keyof:141,let:119,module:142,namespace:143,never:144,new:103,null:104,number:148,object:149,package:120,private:121,protected:122,public:123,override:161,out:145,readonly:146,require:147,global:159,return:105,satisfies:150,set:151,static:124,string:152,super:106,switch:107,symbol:153,this:108,throw:109,true:110,try:111,type:154,typeof:112,undefined:155,unique:156,unknown:157,var:113,void:114,while:115,with:116,yield:125,async:132,await:133,of:162},oh=new Map(Object.entries(om)),oy=new Map(Object.entries(Object.assign(Object.assign({},om),{},{"{":18,"}":19,"(":20,")":21,"[":22,"]":23,".":24,"...":25,";":26,",":27,"<":29,">":31,"<=":32,">=":33,"==":34,"!=":35,"===":36,"!==":37,"=>":38,"+":39,"-":40,"**":42,"*":41,"/":43,"%":44,"++":45,"--":46,"<<":47,">":48,">>>":49,"&":50,"|":51,"^":52,"!":53,"~":54,"&&":55,"||":56,"?":57,"??":60,"?.":28,":":58,"=":63,"+=":64,"-=":65,"*=":66,"**=":67,"/=":68,"%=":69,"<<=":70,">>=":71,">>>=":72,"&=":73,"|=":74,"^=":78,"||=":75,"&&=":76,"??=":77,"@":59,"#":62,"`":61}))),og=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1569,1594,1600,1610,1649,1747,1749,1749,1765,1766,1786,1788,1808,1808,1810,1836,1920,1957,2309,2361,2365,2365,2384,2384,2392,2401,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2784,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2877,2877,2908,2909,2911,2913,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3294,3294,3296,3297,3333,3340,3342,3344,3346,3368,3370,3385,3424,3425,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3805,3840,3840,3904,3911,3913,3946,3976,3979,4096,4129,4131,4135,4137,4138,4176,4181,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6067,6176,6263,6272,6312,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8319,8319,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12329,12337,12341,12344,12346,12353,12436,12445,12446,12449,12538,12540,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65138,65140,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],ob=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,768,846,864,866,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1155,1158,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1425,1441,1443,1465,1467,1469,1471,1471,1473,1474,1476,1476,1488,1514,1520,1522,1569,1594,1600,1621,1632,1641,1648,1747,1749,1756,1759,1768,1770,1773,1776,1788,1808,1836,1840,1866,1920,1968,2305,2307,2309,2361,2364,2381,2384,2388,2392,2403,2406,2415,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2492,2494,2500,2503,2504,2507,2509,2519,2519,2524,2525,2527,2531,2534,2545,2562,2562,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2649,2652,2654,2654,2662,2676,2689,2691,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2784,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2876,2883,2887,2888,2891,2893,2902,2903,2908,2909,2911,2913,2918,2927,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3006,3010,3014,3016,3018,3021,3031,3031,3047,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3134,3140,3142,3144,3146,3149,3157,3158,3168,3169,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3262,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3297,3302,3311,3330,3331,3333,3340,3342,3344,3346,3368,3370,3385,3390,3395,3398,3400,3402,3405,3415,3415,3424,3425,3430,3439,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3805,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3946,3953,3972,3974,3979,3984,3991,3993,4028,4038,4038,4096,4129,4131,4135,4137,4138,4140,4146,4150,4153,4160,4169,4176,4185,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,4969,4977,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6099,6112,6121,6160,6169,6176,6263,6272,6313,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8255,8256,8319,8319,8400,8412,8417,8417,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12335,12337,12341,12344,12346,12353,12436,12441,12442,12445,12446,12449,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65056,65059,65075,65076,65101,65103,65136,65138,65140,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65381,65470,65474,65479,65482,65487,65490,65495,65498,65500],ov=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1319,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2208,2208,2210,2220,2308,2361,2365,2365,2384,2384,2392,2401,2417,2423,2425,2431,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3133,3160,3161,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3424,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6263,6272,6312,6314,6314,6320,6389,6400,6428,6480,6509,6512,6516,6528,6571,6593,6599,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7401,7404,7406,7409,7413,7414,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11823,11823,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42647,42656,42735,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43648,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],ox=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,768,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1155,1159,1162,1319,1329,1366,1369,1369,1377,1415,1425,1469,1471,1471,1473,1474,1476,1477,1479,1479,1488,1514,1520,1522,1552,1562,1568,1641,1646,1747,1749,1756,1759,1768,1770,1788,1791,1791,1808,1866,1869,1969,1984,2037,2042,2042,2048,2093,2112,2139,2208,2208,2210,2220,2276,2302,2304,2403,2406,2415,2417,2423,2425,2431,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2525,2527,2531,2534,2545,2561,2563,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2641,2641,2649,2652,2654,2654,2662,2677,2689,2691,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2787,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2909,2911,2915,2918,2927,2929,2929,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3016,3018,3021,3024,3024,3031,3031,3046,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3140,3142,3144,3146,3149,3157,3158,3160,3161,3168,3171,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3299,3302,3311,3313,3314,3330,3331,3333,3340,3342,3344,3346,3386,3389,3396,3398,3400,3402,3406,3415,3415,3424,3427,3430,3439,3450,3455,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3807,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3948,3953,3972,3974,3991,3993,4028,4038,4038,4096,4169,4176,4253,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4957,4959,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5908,5920,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6160,6169,6176,6263,6272,6314,6320,6389,6400,6428,6432,6443,6448,6459,6470,6509,6512,6516,6528,6571,6576,6601,6608,6617,6656,6683,6688,6750,6752,6780,6783,6793,6800,6809,6823,6823,6912,6987,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7376,7378,7380,7414,7424,7654,7676,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8204,8205,8255,8256,8276,8276,8305,8305,8319,8319,8336,8348,8400,8412,8417,8417,8421,8432,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11647,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11744,11775,11823,11823,12293,12295,12321,12335,12337,12341,12344,12348,12353,12438,12441,12442,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42647,42655,42737,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43047,43072,43123,43136,43204,43216,43225,43232,43255,43259,43259,43264,43309,43312,43347,43360,43388,43392,43456,43471,43481,43520,43574,43584,43597,43600,43609,43616,43638,43642,43643,43648,43714,43739,43741,43744,43759,43762,43766,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44010,44012,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65024,65039,65056,65062,65075,65076,65101,65103,65136,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],oD=[65,90,97,122,170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,895,895,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1327,1329,1366,1369,1369,1376,1416,1488,1514,1519,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2144,2154,2208,2228,2230,2237,2308,2361,2365,2365,2384,2384,2392,2401,2417,2432,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2556,2556,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2809,2809,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3129,3133,3133,3160,3162,3168,3169,3200,3200,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3412,3414,3423,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5870,5880,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6264,6272,6312,6314,6314,6320,6389,6400,6430,6480,6509,6512,6516,6528,6571,6576,6601,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7296,7304,7312,7354,7357,7359,7401,7404,7406,7411,7413,7414,7418,7418,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12443,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12730,12784,12799,13312,19893,19968,40943,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42653,42656,42735,42775,42783,42786,42888,42891,42943,42946,42950,42999,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43261,43262,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43488,43492,43494,43503,43514,43518,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43646,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43879,43888,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66176,66204,66208,66256,66304,66335,66349,66378,66384,66421,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,66736,66771,66776,66811,66816,66855,66864,66915,67072,67382,67392,67413,67424,67431,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68096,68112,68115,68117,68119,68121,68149,68192,68220,68224,68252,68288,68295,68297,68324,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68899,69376,69404,69415,69415,69424,69445,69600,69622,69635,69687,69763,69807,69840,69864,69891,69926,69956,69956,69968,70002,70006,70006,70019,70066,70081,70084,70106,70106,70108,70108,70144,70161,70163,70187,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70366,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70461,70461,70480,70480,70493,70497,70656,70708,70727,70730,70751,70751,70784,70831,70852,70853,70855,70855,71040,71086,71128,71131,71168,71215,71236,71236,71296,71338,71352,71352,71424,71450,71680,71723,71840,71903,71935,71935,72096,72103,72106,72144,72161,72161,72163,72163,72192,72192,72203,72242,72250,72250,72272,72272,72284,72329,72349,72349,72384,72440,72704,72712,72714,72750,72768,72768,72818,72847,72960,72966,72968,72969,72971,73008,73030,73030,73056,73061,73063,73064,73066,73097,73112,73112,73440,73458,73728,74649,74752,74862,74880,75075,77824,78894,82944,83526,92160,92728,92736,92766,92880,92909,92928,92975,92992,92995,93027,93047,93053,93071,93760,93823,93952,94026,94032,94032,94099,94111,94176,94177,94179,94179,94208,100343,100352,101106,110592,110878,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,123136,123180,123191,123197,123214,123214,123584,123627,124928,125124,125184,125251,125259,125259,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173782,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101],oS=[48,57,65,90,95,95,97,122,170,170,181,181,183,183,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,768,884,886,887,890,893,895,895,902,906,908,908,910,929,931,1013,1015,1153,1155,1159,1162,1327,1329,1366,1369,1369,1376,1416,1425,1469,1471,1471,1473,1474,1476,1477,1479,1479,1488,1514,1519,1522,1552,1562,1568,1641,1646,1747,1749,1756,1759,1768,1770,1788,1791,1791,1808,1866,1869,1969,1984,2037,2042,2042,2045,2045,2048,2093,2112,2139,2144,2154,2208,2228,2230,2237,2259,2273,2275,2403,2406,2415,2417,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2525,2527,2531,2534,2545,2556,2556,2558,2558,2561,2563,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2641,2641,2649,2652,2654,2654,2662,2677,2689,2691,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2787,2790,2799,2809,2815,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2909,2911,2915,2918,2927,2929,2929,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3016,3018,3021,3024,3024,3031,3031,3046,3055,3072,3084,3086,3088,3090,3112,3114,3129,3133,3140,3142,3144,3146,3149,3157,3158,3160,3162,3168,3171,3174,3183,3200,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3299,3302,3311,3313,3314,3328,3331,3333,3340,3342,3344,3346,3396,3398,3400,3402,3406,3412,3415,3423,3427,3430,3439,3450,3455,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3558,3567,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3807,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3948,3953,3972,3974,3991,3993,4028,4038,4038,4096,4169,4176,4253,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4957,4959,4969,4977,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5870,5880,5888,5900,5902,5908,5920,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6160,6169,6176,6264,6272,6314,6320,6389,6400,6430,6432,6443,6448,6459,6470,6509,6512,6516,6528,6571,6576,6601,6608,6618,6656,6683,6688,6750,6752,6780,6783,6793,6800,6809,6823,6823,6832,6845,6912,6987,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7296,7304,7312,7354,7357,7359,7376,7378,7380,7418,7424,7673,7675,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8255,8256,8276,8276,8305,8305,8319,8319,8336,8348,8400,8412,8417,8417,8421,8432,8450,8450,8455,8455,8458,8467,8469,8469,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11647,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11744,11775,12293,12295,12321,12335,12337,12341,12344,12348,12353,12438,12441,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12730,12784,12799,13312,19893,19968,40943,40960,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42737,42775,42783,42786,42888,42891,42943,42946,42950,42999,43047,43072,43123,43136,43205,43216,43225,43232,43255,43259,43259,43261,43309,43312,43347,43360,43388,43392,43456,43471,43481,43488,43518,43520,43574,43584,43597,43600,43609,43616,43638,43642,43714,43739,43741,43744,43759,43762,43766,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43879,43888,44010,44012,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65024,65039,65056,65071,65075,65076,65101,65103,65136,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66045,66045,66176,66204,66208,66256,66272,66272,66304,66335,66349,66378,66384,66426,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,66720,66729,66736,66771,66776,66811,66816,66855,66864,66915,67072,67382,67392,67413,67424,67431,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68099,68101,68102,68108,68115,68117,68119,68121,68149,68152,68154,68159,68159,68192,68220,68224,68252,68288,68295,68297,68326,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68903,68912,68921,69376,69404,69415,69415,69424,69456,69600,69622,69632,69702,69734,69743,69759,69818,69840,69864,69872,69881,69888,69940,69942,69951,69956,69958,69968,70003,70006,70006,70016,70084,70089,70092,70096,70106,70108,70108,70144,70161,70163,70199,70206,70206,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70378,70384,70393,70400,70403,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70459,70468,70471,70472,70475,70477,70480,70480,70487,70487,70493,70499,70502,70508,70512,70516,70656,70730,70736,70745,70750,70751,70784,70853,70855,70855,70864,70873,71040,71093,71096,71104,71128,71133,71168,71232,71236,71236,71248,71257,71296,71352,71360,71369,71424,71450,71453,71467,71472,71481,71680,71738,71840,71913,71935,71935,72096,72103,72106,72151,72154,72161,72163,72164,72192,72254,72263,72263,72272,72345,72349,72349,72384,72440,72704,72712,72714,72758,72760,72768,72784,72793,72818,72847,72850,72871,72873,72886,72960,72966,72968,72969,72971,73014,73018,73018,73020,73021,73023,73031,73040,73049,73056,73061,73063,73064,73066,73102,73104,73105,73107,73112,73120,73129,73440,73462,73728,74649,74752,74862,74880,75075,77824,78894,82944,83526,92160,92728,92736,92766,92768,92777,92880,92909,92912,92916,92928,92982,92992,92995,93008,93017,93027,93047,93053,93071,93760,93823,93952,94026,94031,94087,94095,94111,94176,94177,94179,94179,94208,100343,100352,101106,110592,110878,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,113821,113822,119141,119145,119149,119154,119163,119170,119173,119179,119210,119213,119362,119364,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,120782,120831,121344,121398,121403,121452,121461,121461,121476,121476,121499,121503,121505,121519,122880,122886,122888,122904,122907,122913,122915,122916,122918,122922,123136,123180,123184,123197,123200,123209,123214,123214,123584,123641,124928,125124,125136,125142,125184,125259,125264,125273,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173782,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101,917760,917999],oT=/^\/\/\/?\s*@(ts-expect-error|ts-ignore)/,oE=/^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/,e=[],oy.forEach((t,n)=>{e[t]=n}),ow=e,oA=7,oC=/^#!.*/,oN=String.prototype.codePointAt?(e,t)=>e.codePointAt(t):function(e,t){let n=e.length;if(t<0||t>=n)return;let r=e.charCodeAt(t);if(r>=55296&&r<=56319&&n>t+1){let n=e.charCodeAt(t+1);if(n>=56320&&n<=57343)return(r-55296)*1024+n-56320+65536}return r},oM=String.fromCodePoint?e=>String.fromCodePoint(e):od}});function oI(e){return rQ(e)||rY(e)}function oj(e){return eo(e,h2)}function oO(e){switch(h7(e)){case 99:return"lib.esnext.full.d.ts";case 9:return"lib.es2022.full.d.ts";case 8:return"lib.es2021.full.d.ts";case 7:return"lib.es2020.full.d.ts";case 6:return"lib.es2019.full.d.ts";case 5:return"lib.es2018.full.d.ts";case 4:return"lib.es2017.full.d.ts";case 3:return"lib.es2016.full.d.ts";case 2:return"lib.es6.d.ts";default:return"lib.d.ts"}}function oP(e){return e.start+e.length}function oF(e){return 0===e.length}function oL(e,t){return t>=e.start&&t=e.pos&&t<=e.end}function oR(e,t){return t.start>=e.start&&oP(t)<=oP(e)}function oB(e,t){return void 0!==oU(e,t)}function oU(e,t){let n=oY(e,t);return n&&0===n.length?void 0:n}function oJ(e,t){return oK(e.start,e.length,t.start,t.length)}function o$(e,t,n){return oK(e.start,e.length,t,n)}function oK(e,t,n,r){return n<=e+t&&n+r>=e}function oV(e,t){return t<=oP(e)&&t>=e.start}function oY(e,t){let n=Math.max(e.start,t.start),r=Math.min(oP(e),oP(t));return n<=r?oW(n,r):void 0}function oq(e,t){if(e<0)throw Error("start < 0");if(t<0)throw Error("length < 0");return{start:e,length:t}}function oW(e,t){return oq(e,t-e)}function oQ(e){return oq(e.span.start,e.newLength)}function oH(e){return oF(e.span)&&0===e.newLength}function oG(e,t){if(t<0)throw Error("newLength < 0");return{span:e,newLength:t}}function oZ(e){if(0===e.length)return u8;if(1===e.length)return e[0];let t=e[0],n=t.span.start,r=oP(t.span),i=n+t.newLength;for(let t=1;te.flags)}function o7(e,t,n){let r=e.toLowerCase(),i=/^([a-z]+)([_\-]([a-z]+))?$/.exec(r);if(!i){n&&n.push(hG(iP.Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1,"en","ja-jp"));return}let o=i[1],a=i[3];function s(e,n,r){let i=ir(r4(is(t.getExecutingFilePath())),e);if(n&&(i=i+"-"+n),i=t.resolvePath(ir(i,"diagnosticMessages.generated.json")),!t.fileExists(i))return!1;let o="";try{o=t.readFile(i)}catch{return r&&r.push(hG(iP.Unable_to_open_file_0,i)),!1}try{var a;bb=JSON.parse(o)}catch{return r&&r.push(hG(iP.Corrupted_locale_file_0,i)),!1}return!0}A(u7,r)&&!s(o,a,n)&&s(o,void 0,n),tw(e)}function o9(e,t){if(e)for(;void 0!==e.original;)e=e.original;return!e||!t||t(e)?e:void 0}function ae(e,t){for(;e;){let n=t(e);if("quit"===n)return;if(n)return e;e=e.parent}}function at(e){return(8&e.flags)==0}function an(e,t){if(void 0===e||at(e))return e;for(e=e.original;e;){if(at(e))return!t||t(e)?e:void 0;e=e.original}}function ar(e){return e.length>=2&&95===e.charCodeAt(0)&&95===e.charCodeAt(1)?"_"+e:e}function ai(e){return e.length>=3&&95===e.charCodeAt(0)&&95===e.charCodeAt(1)&&95===e.charCodeAt(2)?e.substr(1):e}function ao(e){return ai(e.escapedText)}function aa(e){let t=iJ(e.escapedText);return t?e9(t,dT):void 0}function as(e){return e.valueDeclaration&&sC(e.valueDeclaration)?ao(e.valueDeclaration.name):ai(e.escapedName)}function au(e){let t=e.parent.parent;if(t){if(uj(t))return al(t);switch(t.kind){case 240:if(t.declarationList&&t.declarationList.declarations[0])return al(t.declarationList.declarations[0]);break;case 241:let e=t.expression;switch(223===e.kind&&63===e.operatorToken.kind&&(e=e.left),e.kind){case 208:return e.name;case 209:let n=e.argumentExpression;if(vk(n))return n}break;case 214:return al(t.expression);case 253:if(uj(t.statement)||ud(t.statement))return al(t.statement)}}}function al(e){let t=ad(e);return t&&vk(t)?t:void 0}function ac(e){return e.name||au(e)}function a_(e){return!!e.name}function ap(e){switch(e.kind){case 79:return e;case 351:case 344:{let{name:t}=e;if(163===t.kind)return t.right;break}case 210:case 223:switch(pf(e)){case 1:case 4:case 5:case 3:return pD(e.left);case 7:case 8:case 9:return e.arguments[1];default:return}case 349:return ac(e);case 343:return au(e);case 274:{let{expression:t}=e;return vk(t)?t:void 0}case 209:if(pb(e))return e.argumentExpression}return e.name}function ad(e){if(void 0!==e)return ap(e)||(xO(e)||xP(e)||xq(e)?af(e):void 0)}function af(e){if(e.parent){if(D5(e.parent)||xT(e.parent))return e.parent.name;if(xJ(e.parent)&&e===e.parent.right){if(vk(e.parent.left))return e.parent.left;if(hA(e.parent.left))return pD(e.parent.left)}else if(Df(e.parent)&&vk(e.parent.name))return e.parent.name}}function am(e){if(mi(e))return k(e.modifiers,vH)}function ah(e){if(f5(e,126975))return k(e.modifiers,sj)}function ay(e,t){if(e.name){if(vk(e.name)){let n=e.name.escapedText;return aY(e.parent,t).filter(e=>SO(e)&&vk(e.name)&&e.name.escapedText===n)}{let n=e.parent.parameters.indexOf(e);nd.assert(n>-1,"Parameters should always be in their parents' parameter list");let r=aY(e.parent,t).filter(SO);if(nSz(e)&&e.typeParameters.some(e=>e.name.escapedText===n))}function ax(e){return av(e,!1)}function aD(e){return av(e,!0)}function aS(e){return!!aQ(e,SO)}function aT(e){return aQ(e,Sx)}function aE(e){return aH(e,SJ)}function aw(e){return aQ(e,SS)}function aA(e){return aQ(e,SE)}function aC(e){return aQ(e,SE,!0)}function aN(e){return aQ(e,Sw)}function aM(e){return aQ(e,Sw,!0)}function ak(e){return aQ(e,SA)}function aI(e){return aQ(e,SA,!0)}function aj(e){return aQ(e,SC)}function aO(e){return aQ(e,SC,!0)}function aP(e){return aQ(e,SN,!0)}function aF(e){return aQ(e,Sk)}function aL(e){return aQ(e,Sk,!0)}function az(e){return aQ(e,Sj)}function aR(e){return aQ(e,SF)}function aB(e){return aQ(e,SP)}function aU(e){return aQ(e,Sz)}function aJ(e){return aQ(e,S$)}function a$(e){let t=aQ(e,SL);if(t&&t.typeExpression&&t.typeExpression.type)return t}function aK(e){let t=aQ(e,SL);return!t&&vQ(e)&&(t=D(ag(e),e=>!!e.typeExpression)),t&&t.typeExpression&&t.typeExpression.type}function aV(e){let t=aB(e);if(t&&t.typeExpression)return t.typeExpression.type;let n=a$(e);if(n&&n.typeExpression){let e=n.typeExpression.type;if(xr(e)){let t=D(e.members,v6);return t&&t.type}if(xe(e)||Sm(e))return e.type}}function aY(e,t){var n;if(!pY(e))return t8;let r=null==(n=e.jsDoc)?void 0:n.jsDocCache;if(void 0===r||t){let n=pq(e,t);nd.assert(n.length<2||n[0]!==n[1]),r=z(n,e=>Sg(e)?e.tags:e),t||(null!=e.jsDoc||(e.jsDoc=[]),e.jsDoc.jsDocCache=r)}return r}function aq(e){return aY(e,!1)}function aW(e){return aY(e,!0)}function aQ(e,t,n){return D(aY(e,n),t)}function aH(e,t){return aq(e).filter(t)}function aG(e,t){return aq(e).filter(e=>e.kind===t)}function aZ(e){return"string"==typeof e?e:null==e?void 0:e.map(e=>324===e.kind?e.text:`{@${327===e.kind?"link":328===e.kind?"linkcode":"linkplain"} ${e.name?cA(e.name):""}${e.name&&e.text.startsWith("://")?"":" "}${e.text}}`).join("")}function aX(e){if(Sv(e)){if(SM(e.parent)){let t=p2(e.parent);if(t&&d(t.tags))return z(t.tags,e=>Sz(e)?e.typeParameters:void 0)}return t8}if(pR(e))return nd.assert(323===e.parent.kind),z(e.parent.tags,e=>Sz(e)?e.typeParameters:void 0);if(e.typeParameters||TE(e)&&e.typeParameters)return e.typeParameters;if(_X(e)){let t=fW(e);if(t.length)return t;let n=aK(e);if(n&&xe(n)&&n.typeParameters)return n.typeParameters}return t8}function a0(e){return e.constraint?e.constraint:Sz(e.parent)&&e===e.parent.typeParameters[0]?e.parent.constraint:void 0}function a1(e){return 79===e.kind||80===e.kind}function a2(e){return 175===e.kind||174===e.kind}function a3(e){return xA(e)&&!!(32&e.flags)}function a4(e){return xC(e)&&!!(32&e.flags)}function a6(e){return xN(e)&&!!(32&e.flags)}function a5(e){let t=e.kind;return!!(32&e.flags)&&(208===t||209===t||210===t||232===t)}function a8(e){return a5(e)&&!xZ(e)&&!!e.questionDotToken}function a7(e){return a8(e.parent)&&e.parent.expression===e}function a9(e){return!a5(e.parent)||a8(e.parent)||e!==e.parent.expression}function se(e){return 223===e.kind&&60===e.operatorToken.kind}function st(e){return v9(e)&&vk(e.typeName)&&"const"===e.typeName.escapedText&&!e.typeArguments}function sn(e){return Ta(e,8)}function sr(e){return xZ(e)&&!!(32&e.flags)}function si(e){return 249===e.kind||248===e.kind}function so(e){return 277===e.kind||276===e.kind}function sa(e){switch(e.kind){case 305:case 306:return!0;default:return!1}}function ss(e){return sa(e)||303===e.kind||307===e.kind}function su(e){return 351===e.kind||344===e.kind}function sl(e){return sc(e.kind)}function sc(e){return e>=163}function s_(e){return e>=0&&e<=162}function sp(e){return s_(e.kind)}function sd(e){return eP(e,"pos")&&eP(e,"end")}function sf(e){return 8<=e&&e<=14}function sm(e){return sf(e.kind)}function sh(e){switch(e.kind){case 207:case 206:case 13:case 215:case 228:return!0}return!1}function sy(e){return 14<=e&&e<=17}function sg(e){return sy(e.kind)}function sb(e){let t=e.kind;return 16===t||17===t}function sv(e){return DO(e)||Dz(e)}function sx(e){switch(e.kind){case 273:return e.isTypeOnly||e.parent.parent.isTypeOnly;case 271:return e.parent.isTypeOnly;case 270:case 268:return e.isTypeOnly}return!1}function sD(e){switch(e.kind){case 278:return e.isTypeOnly||e.parent.parent.isTypeOnly;case 275:return e.isTypeOnly&&!!e.moduleSpecifier&&!e.exportClause;case 277:return e.parent.isTypeOnly}return!1}function sS(e){return sx(e)||sD(e)}function sT(e){return vf(e)||vk(e)}function sE(e){return 10===e.kind||sy(e.kind)}function sw(e){var t;return vk(e)&&(null==(t=e.emitNode)?void 0:t.autoGenerate)!==void 0}function sA(e){var t;return vI(e)&&(null==(t=e.emitNode)?void 0:t.autoGenerate)!==void 0}function sC(e){return(vZ(e)||sW(e))&&vI(e.name)}function sN(e){return xA(e)&&vI(e.name)}function sM(e){switch(e){case 126:case 127:case 132:case 85:case 136:case 88:case 93:case 101:case 123:case 121:case 122:case 146:case 124:case 145:case 161:return!0}return!1}function sk(e){return!!(16476&mm(e))}function sI(e){return sk(e)||124===e||161===e||127===e}function sj(e){return sM(e.kind)}function sO(e){let t=e.kind;return 163===t||79===t}function sP(e){let t=e.kind;return 79===t||80===t||10===t||8===t||164===t}function sF(e){let t=e.kind;return 79===t||203===t||204===t}function sL(e){return!!e&&sJ(e.kind)}function sz(e){return!!e&&(sJ(e.kind)||v1(e))}function sR(e){return e&&sU(e.kind)}function sB(e){return 110===e.kind||95===e.kind}function sU(e){switch(e){case 259:case 171:case 173:case 174:case 175:case 215:case 216:return!0;default:return!1}}function sJ(e){switch(e){case 170:case 176:case 326:case 177:case 178:case 181:case 320:case 182:return!0;default:return sU(e)}}function s$(e){return St(e)||DD(e)||x6(e)&&sL(e.parent)}function sK(e){let t=e.kind;return 173===t||169===t||171===t||174===t||175===t||178===t||172===t||237===t}function sV(e){return e&&(260===e.kind||228===e.kind)}function sY(e){return e&&(174===e.kind||175===e.kind)}function sq(e){return vZ(e)&&mn(e)}function sW(e){switch(e.kind){case 171:case 174:case 175:return!0;default:return!1}}function sQ(e){switch(e.kind){case 171:case 174:case 175:case 169:return!0;default:return!1}}function sH(e){return sj(e)||vH(e)}function sG(e){let t=e.kind;return 177===t||176===t||168===t||170===t||178===t||174===t||175===t}function sZ(e){return sG(e)||sK(e)}function sX(e){let t=e.kind;return 299===t||300===t||301===t||171===t||174===t||175===t}function s0(e){return hw(e.kind)}function s1(e){switch(e.kind){case 181:case 182:return!0}return!1}function s2(e){if(e){let t=e.kind;return 204===t||203===t}return!1}function s3(e){let t=e.kind;return 206===t||207===t}function s4(e){let t=e.kind;return 205===t||229===t}function s6(e){switch(e.kind){case 257:case 166:case 205:return!0}return!1}function s5(e){return Df(e)||vQ(e)||s9(e)||ut(e)}function s8(e){return s7(e)||ue(e)}function s7(e){switch(e.kind){case 203:case 207:return!0}return!1}function s9(e){switch(e.kind){case 205:case 299:case 300:case 301:return!0}return!1}function ue(e){switch(e.kind){case 204:case 206:return!0}return!1}function ut(e){switch(e.kind){case 205:case 229:case 227:case 206:case 207:case 79:case 208:case 209:return!0}return mE(e,!0)}function un(e){let t=e.kind;return 208===t||163===t||202===t}function ur(e){let t=e.kind;return 208===t||163===t}function ui(e){switch(e.kind){case 283:case 282:case 210:case 211:case 212:case 167:return!0;default:return!1}}function uo(e){return 210===e.kind||211===e.kind}function ua(e){let t=e.kind;return 225===t||14===t}function us(e){return uu(sn(e).kind)}function uu(e){switch(e){case 208:case 209:case 211:case 210:case 281:case 282:case 285:case 212:case 206:case 214:case 207:case 228:case 215:case 79:case 80:case 13:case 8:case 9:case 10:case 14:case 225:case 95:case 104:case 108:case 110:case 106:case 232:case 230:case 233:case 100:case 279:return!0;default:return!1}}function ul(e){return uc(sn(e).kind)}function uc(e){switch(e){case 221:case 222:case 217:case 218:case 219:case 220:case 213:return!0;default:return uu(e)}}function u_(e){switch(e.kind){case 222:return!0;case 221:return 45===e.operator||46===e.operator;default:return!1}}function up(e){switch(e.kind){case 104:case 110:case 95:case 221:return!0;default:return sm(e)}}function ud(e){return function(e){switch(e){case 224:case 226:case 216:case 223:case 227:case 231:case 229:case 357:case 356:case 235:return!0;default:return uc(e)}}(sn(e).kind)}function uf(e){let t=e.kind;return 213===t||231===t}function um(e){return DB(e)||x1(e)}function uh(e){return DP(e)||DF(e)}function uy(e){return G(e,uh)}function ug(e){return!cb(e)&&!DP(e)&&!f5(e,1)&&!l9(e)}function ub(e){return cb(e)||DP(e)||f5(e,1)}function uv(e){return 246===e.kind||247===e.kind}function ux(e){return x6(e)||ud(e)}function uD(e){return x6(e)}function uS(e){return Dm(e)||ud(e)}function uT(e){let t=e.kind;return 265===t||264===t||79===t}function uE(e){let t=e.kind;return 265===t||264===t}function uw(e){let t=e.kind;return 79===t||264===t}function uA(e){let t=e.kind;return 272===t||271===t}function uC(e){return 264===e.kind||263===e.kind}function uN(e){switch(e.kind){case 216:case 223:case 205:case 210:case 176:case 260:case 228:case 172:case 173:case 182:case 177:case 209:case 263:case 302:case 274:case 275:case 278:case 259:case 215:case 181:case 174:case 79:case 270:case 268:case 273:case 178:case 261:case 341:case 343:case 320:case 344:case 351:case 326:case 349:case 325:case 288:case 289:case 290:case 197:case 171:case 170:case 264:case 199:case 277:case 267:case 271:case 211:case 14:case 8:case 207:case 166:case 208:case 299:case 169:case 168:case 175:case 300:case 308:case 301:case 10:case 262:case 184:case 165:case 257:return!0;default:return!1}}function uM(e){switch(e.kind){case 216:case 238:case 176:case 266:case 295:case 172:case 191:case 173:case 182:case 177:case 245:case 246:case 247:case 259:case 215:case 181:case 174:case 178:case 341:case 343:case 320:case 326:case 349:case 197:case 171:case 170:case 264:case 175:case 308:case 262:return!0;default:return!1}}function uk(e){return 259===e||279===e||260===e||261===e||262===e||263===e||264===e||269===e||268===e||275===e||274===e||267===e}function uI(e){return 249===e||248===e||256===e||243===e||241===e||239===e||246===e||247===e||245===e||242===e||253===e||250===e||252===e||254===e||255===e||240===e||244===e||251===e||355===e||359===e||358===e}function uj(e){var t;return 165===e.kind?e.parent&&348!==e.parent.kind||_X(e):216===(t=e.kind)||205===t||260===t||228===t||172===t||173===t||263===t||302===t||278===t||259===t||215===t||174===t||270===t||268===t||273===t||261===t||288===t||171===t||170===t||264===t||267===t||271===t||277===t||166===t||299===t||169===t||168===t||175===t||300===t||262===t||165===t||257===t||349===t||341===t||351===t}function uO(e){return uk(e.kind)}function uP(e){return uI(e.kind)}function uF(e){let t=e.kind;return uI(t)||uk(t)||238===e.kind&&(void 0===e.parent||255!==e.parent.kind&&295!==e.parent.kind)&&!_u(e)}function uL(e){let t=e.kind;return uI(t)||uk(t)||238===t}function uz(e){let t=e.kind;return 280===t||163===t||79===t}function uR(e){let t=e.kind;return 108===t||79===t||208===t}function uB(e){let t=e.kind;return 281===t||291===t||282===t||11===t||285===t}function uU(e){let t=e.kind;return 288===t||290===t}function uJ(e){let t=e.kind;return 10===t||291===t}function u$(e){let t=e.kind;return 283===t||282===t}function uK(e){let t=e.kind;return 292===t||293===t}function uV(e){return e.kind>=312&&e.kind<=353}function uY(e){return 323===e.kind||322===e.kind||324===e.kind||u4(e)||uq(e)||Sb(e)||Sv(e)}function uq(e){return e.kind>=330&&e.kind<=353}function uW(e){return 175===e.kind}function uQ(e){return 174===e.kind}function uH(e){if(!pY(e))return!1;let{jsDoc:t}=e;return!!t&&t.length>0}function uG(e){return!!e.type}function uZ(e){return!!e.initializer}function uX(e){switch(e.kind){case 257:case 166:case 205:case 169:case 299:case 302:return!0;default:return!1}}function u0(e){return 288===e.kind||290===e.kind||sX(e)}function u1(e){return 180===e.kind||230===e.kind}function u2(e){let t=u9;for(let n of e){if(!n.length)continue;let e=0;for(;ee.kind===t)}function lr(e){let t=new Map;if(e)for(let n of e)t.set(n.escapedName,n);return t}function li(e){return(33554432&e.flags)!=0}function lo(e,t){return e.configFilePath!==t.configFilePath||la(e,t)}function la(e,t){return lu(e,t,moduleResolutionOptionDeclarations)}function ls(e,t){return lu(e,t,optionsAffectingProgramStructure)}function lu(e,t,n){return e!==t&&n.some(n=>!gc(yT(e,n),yT(t,n)))}function ll(e,t){for(;;){let n=t(e);if("quit"===n)return;if(void 0!==n)return n;if(St(e))return;e=e.parent}}function lc(e,t){for(let[n,r]of e.entries()){let e=t(r,n);if(e)return e}}function l_(e,t){for(let n of e.keys()){let e=t(n);if(e)return e}}function lp(e,t){e.forEach((e,n)=>{t.set(n,e)})}function ld(e){let t=g4.getText();try{return e(g4),g4.getText()}finally{g4.clear(),g4.writeKeyword(t)}}function lf(e){return e.end-e.pos}function lm(e,t,n){var r,i;return null==(i=null==(r=null==e?void 0:e.resolvedModules)?void 0:r.get(t,n))?void 0:i.resolvedModule}function lh(e,t,n,r){e.resolvedModules||(e.resolvedModules=createModeAwareCache()),e.resolvedModules.set(t,r,n)}function ly(e,t,n,r){e.resolvedTypeReferenceDirectiveNames||(e.resolvedTypeReferenceDirectiveNames=createModeAwareCache()),e.resolvedTypeReferenceDirectiveNames.set(t,r,n)}function lg(e,t,n){var r,i;return null==(i=null==(r=null==e?void 0:e.resolvedTypeReferenceDirectiveNames)?void 0:r.get(t,n))?void 0:i.resolvedTypeReferenceDirective}function lb(e,t){return e.path===t.path&&!e.prepend==!t.prepend&&!e.circular==!t.circular}function lv(e,t){var n,r;return e===t||e.resolvedModule===t.resolvedModule||!!e.resolvedModule&&!!t.resolvedModule&&e.resolvedModule.isExternalLibraryImport===t.resolvedModule.isExternalLibraryImport&&e.resolvedModule.extension===t.resolvedModule.extension&&e.resolvedModule.resolvedFileName===t.resolvedModule.resolvedFileName&&e.resolvedModule.originalPath===t.resolvedModule.originalPath&&((n=e.resolvedModule.packageId)===(r=t.resolvedModule.packageId)||!!n&&!!r&&n.name===r.name&&n.subModuleName===r.subModuleName&&n.version===r.version)}function lx(e){let{name:t,subModuleName:n}=e;return n?`${t}/${n}`:t}function lD(e){return`${lx(e)}@${e.version}`}function lS(e,t){return e===t||e.resolvedTypeReferenceDirective===t.resolvedTypeReferenceDirective||!!e.resolvedTypeReferenceDirective&&!!t.resolvedTypeReferenceDirective&&e.resolvedTypeReferenceDirective.resolvedFileName===t.resolvedTypeReferenceDirective.resolvedFileName&&!!e.resolvedTypeReferenceDirective.primary==!!t.resolvedTypeReferenceDirective.primary&&e.resolvedTypeReferenceDirective.originalPath===t.resolvedTypeReferenceDirective.originalPath}function lT(e,t,n,r,i,o){nd.assert(e.length===n.length);for(let a=0;a=0),iY(t)[e]}function lk(e){let t=lw(e),n=iH(t,e.pos);return`${t.fileName}(${n.line+1},${n.character+1})`}function lI(e,t){nd.assert(e>=0);let n=iY(t),r=t.text;if(e+1===n.length)return r.length-1;{let t=n[e],i=n[e+1]-1;for(nd.assert(iX(r.charCodeAt(i)));t<=i&&iX(r.charCodeAt(i));)i--;return i}}function lj(e,t,n){return!(n&&n(t))&&!e.identifiers.has(t)}function lO(e){return void 0===e||e.pos===e.end&&e.pos>=0&&1!==e.kind}function lP(e){return!lO(e)}function lF(e,t){return vW(e)?t===e.expression:v1(e)?t===e.modifiers:vG(e)?t===e.initializer:vZ(e)?t===e.questionToken&&sq(e):D5(e)?t===e.modifiers||t===e.questionToken||t===e.exclamationToken||lL(e.modifiers,t,sH):D8(e)?t===e.equalsToken||t===e.modifiers||t===e.questionToken||t===e.exclamationToken||lL(e.modifiers,t,sH):v0(e)?t===e.exclamationToken:v2(e)?t===e.typeParameters||t===e.type||lL(e.typeParameters,t,vW):v3(e)?t===e.typeParameters||lL(e.typeParameters,t,vW):v4(e)?t===e.typeParameters||t===e.type||lL(e.typeParameters,t,vW):!!DT(e)&&(t===e.modifiers||lL(e.modifiers,t,sH))}function lL(e,t,n){return!(!e||e6(t))&&!!n(t)&&A(e,t)}function lz(e,t,n){if(void 0===t||0===t.length)return e;let r=0;for(;r[`${iH(e,t.range.end).line}`,t])),r=new Map;return{getUnusedExpectations:function(){return eU(n.entries()).filter(e=>{let[t,n]=e;return 0===n.type&&!r.get(t)}).map(e=>{let[t,n]=e;return n})},markUsed:function(e){return!!n.has(`${e}`)&&(r.set(`${e}`,!0),!0)}}}function lW(e,t,n){return lO(e)?e.pos:uV(e)||11===e.kind?i4((t||lw(e)).text,e.pos,!1,!0):n&&uH(e)?lW(e.jsDoc[0],t):354===e.kind&&e._children.length>0?lW(e._children[0],t,n):i4((t||lw(e)).text,e.pos,!1,!1,_2(e))}function lQ(e,t){let n=!lO(e)&&TX(e)?S(e.modifiers,vH):void 0;return n?i4((t||lw(e)).text,n.end):lW(e,t)}function lH(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return lZ(e.text,t,n)}function lG(e){return!!(DF(e)&&e.exportClause&&DI(e.exportClause)&&"default"===e.exportClause.name.escapedText)}function lZ(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(lO(t))return"";let r=e.substring(n?t.pos:i4(e,t.pos),t.end);return ae(t,Si)&&(r=r.split(/\r\n|\n|\r/).map(e=>n_(e.replace(/^\s*\*/,""))).join(` +`)),r}function lX(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return lH(lw(e),e,t)}function l0(e){return e.pos}function l1(e,t){return eI(e,t,l0,tg)}function l2(e){let t=e.emitNode;return t&&t.flags||0}function l3(e){let t=e.emitNode;return t&&t.internalFlags||0}function l4(e,t,n){var r;if(t&&!d1(e)&&e.parent&&(!(4&n)||!e.isUnterminated)&&(vp(e)&&512&e.numericLiteralFlags?!!(8&n):!vd(e)))return lH(t,e);switch(e.kind){case 10:{let t=2&n?fs:1&n||33554432&l2(e)?fi:fo;return e.singleQuote?"'"+t(e.text,39)+"'":'"'+t(e.text,34)+'"'}case 14:case 15:case 16:case 17:{let t=1&n||33554432&l2(e)?fi:fo,i=null!=(r=e.rawText)?r:t(e.text,96).replace(bi,"\\${");switch(e.kind){case 14:return"`"+i+"`";case 15:return"`"+i+"${";case 16:return"}"+i+"${";case 17:return"}"+i+"`"}break}case 8:case 9:return e.text;case 13:return 4&n&&e.isUnterminated?e.text+(92===e.text.charCodeAt(e.text.length-1)?" /":"/"):e.text}return nd.fail(`Literal kind '${e.kind}' not accounted for.`)}function l6(e){return e8(e)?'"'+fo(e)+'"':""+e}function l5(e){return r6(e).replace(/^(\d)/,"_$1").replace(/\W/g,"_")}function l8(e){return(3&o8(e))!=0||l7(e)}function l7(e){let t=dX(e);return 257===t.kind&&295===t.parent.kind}function l9(e){return Dx(e)&&(10===e.name.kind||co(e))}function ce(e){return Dx(e)&&10===e.name.kind}function ct(e){return Dx(e)&&vf(e.name)}function cn(e){return Dx(e)||vk(e)}function cr(e){var t;return!!(t=e.valueDeclaration)&&264===t.kind&&!t.body}function ci(e){return 308===e.kind||264===e.kind||sz(e)}function co(e){return!!(1024&e.flags)}function ca(e){return l9(e)&&cs(e)}function cs(e){switch(e.parent.kind){case 308:return Ex(e.parent);case 265:return l9(e.parent.parent)&&St(e.parent.parent.parent)&&!Ex(e.parent.parent.parent)}return!1}function cu(e){var t;return null==(t=e.declarations)?void 0:t.find(e=>!ca(e)&&!(Dx(e)&&co(e)))}function cl(e,t){var n;return Ex(e)||yi(t)||(1===(n=h9(t))||100===n||199===n)&&!!e.commonJsModuleIndicator}function cc(e,t){switch(e.scriptKind){case 1:case 3:case 2:case 4:break;default:return!1}return!e.isDeclarationFile&&(!!(yg(t,"alwaysStrict")||Te(e.statements))||!!(Ex(e)||yi(t))&&(h9(t)>=5||!t.noImplicitUseStrict))}function c_(e){return!!(16777216&e.flags)||f5(e,2)}function cp(e,t){switch(e.kind){case 308:case 266:case 295:case 264:case 245:case 246:case 247:case 173:case 171:case 174:case 175:case 259:case 215:case 216:case 169:case 172:return!0;case 238:return!sz(t)}return!1}function cd(e){switch(nd.type(e),e.kind){case 341:case 349:case 326:return!0;default:return cf(e)}}function cf(e){switch(nd.type(e),e.kind){case 176:case 177:case 170:case 178:case 181:case 182:case 320:case 260:case 228:case 261:case 262:case 348:case 259:case 171:case 173:case 174:case 175:case 215:case 216:return!0;default:return!1}}function cm(e){switch(e.kind){case 269:case 268:return!0;default:return!1}}function ch(e){return cm(e)||_5(e)}function cy(e){switch(e.kind){case 269:case 268:case 240:case 260:case 259:case 264:case 262:case 261:case 263:return!0;default:return!1}}function cg(e){return cb(e)||Dx(e)||xb(e)||cW(e)}function cb(e){return cm(e)||DF(e)}function cv(e){return ae(e.parent,e=>cp(e,e.parent))}function cx(e,t){let n=cv(e);for(;n;)t(n),n=cv(n)}function cD(e){return e&&0!==lf(e)?lX(e):"(Missing)"}function cS(e){return e.declaration?cD(e.declaration.parameters[0].name):void 0}function cT(e){return 164===e.kind&&!dO(e.expression)}function cE(e){var t;switch(e.kind){case 79:case 80:return null!=(t=e.emitNode)&&t.autoGenerate?void 0:e.escapedText;case 10:case 8:case 14:return ar(e.text);case 164:return dO(e.expression)?ar(e.expression.text):void 0;default:return nd.assertNever(e)}}function cw(e){return nd.checkDefined(cE(e))}function cA(e){switch(e.kind){case 108:return"this";case 80:case 79:return 0===lf(e)?ao(e):lX(e);case 163:return cA(e.left)+"."+cA(e.right);case 208:return vk(e.name)||vI(e.name)?cA(e.expression)+"."+cA(e.name):nd.assertNever(e.name);case 314:return cA(e.left)+cA(e.right);default:return nd.assertNever(e)}}function cC(e,t,n,r,i,o){return cM(lw(e),e,t,n,r,i,o)}function cN(e,t,n,r,i,o,a){let s=i4(e.text,t.pos);return hQ(e,s,t.end-s,n,r,i,o,a)}function cM(e,t,n,r,i,o,a){let s=cB(e,t);return hQ(e,s.start,s.length,n,r,i,o,a)}function ck(e,t,n,r){let i=cB(e,t);return cO(e,i.start,i.length,n,r)}function cI(e,t,n,r){let i=i4(e.text,t.pos);return cO(e,i,t.end-i,n,r)}function cj(e,t,n){nd.assertGreaterThanOrEqual(t,0),nd.assertGreaterThanOrEqual(n,0),e&&(nd.assertLessThanOrEqual(t,e.text.length),nd.assertLessThanOrEqual(t+n,e.text.length))}function cO(e,t,n,r,i){return cj(e,t,n),{file:e,start:t,length:n,code:r.code,category:r.category,messageText:r.next?r:r.messageText,relatedInformation:i}}function cP(e,t,n){return{file:e,start:0,length:0,code:t.code,category:t.category,messageText:t.next?t:t.messageText,relatedInformation:n}}function cF(e){return"string"==typeof e.messageText?{code:e.code,category:e.category,messageText:e.messageText,next:e.next}:e.messageText}function cL(e,t,n){return{file:e,start:t.pos,length:t.end-t.pos,code:n.code,category:n.category,messageText:n.message}}function cz(e,t){let n=o_(e.languageVersion,!0,e.languageVariant,e.text,void 0,t);return n.scan(),oW(n.getTokenPos(),n.getTextPos())}function cR(e,t){let n=o_(e.languageVersion,!0,e.languageVariant,e.text,void 0,t);return n.scan(),n.getToken()}function cB(e,t){let n=t;switch(t.kind){case 308:let r=i4(e.text,0,!1);return r===e.text.length?oq(0,0):cz(e,r);case 257:case 205:case 260:case 228:case 261:case 264:case 263:case 302:case 259:case 215:case 171:case 174:case 175:case 262:case 169:case 168:case 271:n=t.name;break;case 216:return function(e,t){let n=i4(e.text,t.pos);if(t.body&&238===t.body.kind){let{line:r}=iH(e,t.body.pos),{line:i}=iH(e,t.body.end);if(r0?t.statements[0].pos:t.end)}if(void 0===n)return cz(e,t.pos);nd.assert(!Sg(n));let i=lO(n),o=i||vm(t)?n.pos:i4(e.text,n.pos);return i?(nd.assert(o===n.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),nd.assert(o===n.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")):(nd.assert(o>=n.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),nd.assert(o<=n.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")),oW(o,n.end)}function cU(e){return(e.externalModuleIndicator||e.commonJsModuleIndicator)!==void 0}function cJ(e){return 6===e.scriptKind}function c$(e){return!!(2048&o6(e))}function cK(e){return!!(64&o6(e)&&!o0(e,e.parent))}function cV(e){return!!(2&o8(e))}function cY(e){return!!(1&o8(e))}function cq(e){return 210===e.kind&&106===e.expression.kind}function cW(e){return 210===e.kind&&100===e.expression.kind}function cQ(e){return xX(e)&&100===e.keywordToken&&"meta"===e.name.escapedText}function cH(e){return xb(e)&&xg(e.argument)&&vf(e.argument.literal)}function cG(e){return 241===e.kind&&10===e.expression.kind}function cZ(e){return!!(2097152&l2(e))}function cX(e){return cZ(e)&&Dh(e)}function c0(e){return vk(e.name)&&!e.initializer}function c1(e){return cZ(e)&&x5(e)&&x(e.declarationList.declarations,c0)}function c2(e,t){return 11!==e.kind?oo(t.text,e.pos):void 0}function c3(e,t){return k(166===e.kind||165===e.kind||215===e.kind||216===e.kind||214===e.kind||257===e.kind||278===e.kind?X(oa(t,e.pos),oo(t,e.pos)):oo(t,e.pos),e=>42===t.charCodeAt(e.pos+1)&&42===t.charCodeAt(e.pos+2)&&47!==t.charCodeAt(e.pos+3))}function c4(e){if(179<=e.kind&&e.kind<=202)return!0;switch(e.kind){case 131:case 157:case 148:case 160:case 152:case 134:case 153:case 149:case 155:case 144:return!0;case 114:return 219!==e.parent.kind;case 230:return D4(e.parent)&&!mC(e);case 165:return 197===e.parent.kind||192===e.parent.kind;case 79:(163===e.parent.kind&&e.parent.right===e||208===e.parent.kind&&e.parent.name===e)&&(e=e.parent),nd.assert(79===e.kind||163===e.kind||208===e.kind,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 163:case 208:case 108:{let{parent:t}=e;if(183===t.kind)return!1;if(202===t.kind)return!t.isTypeOf;if(179<=t.kind&&t.kind<=202)return!0;switch(t.kind){case 230:return D4(t.parent)&&!mC(t);case 165:case 348:return e===t.constraint;case 169:case 168:case 166:case 257:case 259:case 215:case 216:case 173:case 171:case 170:case 174:case 175:case 176:case 177:case 178:case 213:return e===t.type;case 210:case 211:return A(t.typeArguments,e);case 212:return!1}}}return!1}function c6(e,t){for(;e;){if(e.kind===t)return!0;e=e.parent}return!1}function c5(e,t){return function e(n){switch(n.kind){case 250:return t(n);case 266:case 238:case 242:case 243:case 244:case 245:case 246:case 247:case 251:case 252:case 292:case 293:case 253:case 255:case 295:return Ef(n,e)}}(e)}function c8(e,t){return function e(n){switch(n.kind){case 226:t(n);let r=n.expression;r&&e(r);return;case 263:case 261:case 264:case 262:return;default:if(sL(n)){if(n.name&&164===n.name.kind){e(n.name.expression);return}}else c4(n)||Ef(n,e)}}(e)}function c7(e){return e&&185===e.kind?e.elementType:e&&180===e.kind?eC(e.typeArguments):void 0}function c9(e){switch(e.kind){case 261:case 260:case 228:case 184:return e.members;case 207:return e.properties}}function _e(e){if(e)switch(e.kind){case 205:case 302:case 166:case 299:case 169:case 168:case 300:case 257:return!0}return!1}function _t(e){return _e(e)||sY(e)}function _n(e){return 258===e.parent.kind&&240===e.parent.parent.kind}function _r(e){return!!_X(e)&&(xw(e.parent)&&xJ(e.parent.parent)&&2===pf(e.parent.parent)||_i(e.parent))}function _i(e){return!!_X(e)&&xJ(e)&&1===pf(e)}function _o(e){return(Df(e)?cV(e)&&vk(e.name)&&_n(e):vZ(e)?mr(e)&&f7(e):vG(e)&&mr(e))||_i(e)}function _a(e){switch(e.kind){case 171:case 170:case 173:case 174:case 175:case 259:case 215:return!0}return!1}function _s(e,t){for(;;){if(t&&t(e),253!==e.statement.kind)return e.statement;e=e.statement}}function _u(e){return e&&238===e.kind&&sL(e.parent)}function _l(e){return e&&171===e.kind&&207===e.parent.kind}function _c(e){return(171===e.kind||174===e.kind||175===e.kind)&&(207===e.parent.kind||228===e.parent.kind)}function __(e){return e&&1===e.kind}function _p(e){return e&&0===e.kind}function _d(e,t,n){return e.properties.filter(e=>{if(299===e.kind){let r=cE(e.name);return t===r||!!n&&n===r}return!1})}function _f(e,t,n){return h(_d(e,t),e=>xE(e.initializer)?D(e.initializer.elements,e=>vf(e)&&e.text===n):void 0)}function _m(e){if(e&&e.statements.length)return e9(e.statements[0].expression,xw)}function _h(e,t,n){return h(_y(e,t),e=>xE(e.initializer)?D(e.initializer.elements,e=>vf(e)&&e.text===n):void 0)}function _y(e,t){let n=_m(e);return n?_d(n,t):t8}function _g(e){return ae(e.parent,sL)}function _b(e){return ae(e.parent,sR)}function _v(e){return ae(e.parent,sV)}function _x(e){return ae(e.parent,e=>sV(e)||sL(e)?"quit":v1(e))}function _D(e){return ae(e.parent,sz)}function _S(e,t,n){for(nd.assert(308!==e.kind);;){if(!(e=e.parent))return nd.fail();switch(e.kind){case 164:if(n&&sV(e.parent.parent))return e;e=e.parent.parent;break;case 167:166===e.parent.kind&&sK(e.parent.parent)?e=e.parent.parent:sK(e.parent)&&(e=e.parent);break;case 216:if(!t)continue;case 259:case 215:case 264:case 172:case 169:case 168:case 171:case 170:case 173:case 174:case 175:case 176:case 177:case 178:case 263:case 308:return e}}}function _T(e){switch(e.kind){case 216:case 259:case 215:case 169:return!0;case 238:switch(e.parent.kind){case 173:case 171:case 174:case 175:return!0;default:return!1}default:return!1}}function _E(e){return vk(e)&&(Dy(e.parent)||Dh(e.parent))&&e.parent.name===e&&(e=e.parent),St(_S(e,!0,!1))}function _w(e){let t=_S(e,!1,!1);if(t)switch(t.kind){case 173:case 259:case 215:return t}}function _A(e,t){for(;;){if(!(e=e.parent))return;switch(e.kind){case 164:e=e.parent;break;case 259:case 215:case 216:if(!t)continue;case 169:case 168:case 171:case 170:case 173:case 174:case 175:case 172:return e;case 167:166===e.parent.kind&&sK(e.parent.parent)?e=e.parent.parent:sK(e.parent)&&(e=e.parent)}}}function _C(e){if(215===e.kind||216===e.kind){let t=e,n=e.parent;for(;214===n.kind;)t=n,n=n.parent;if(210===n.kind&&n.expression===t)return n}}function _N(e){return 106===e.kind||_M(e)}function _M(e){let t=e.kind;return(208===t||209===t)&&106===e.expression.kind}function _k(e){let t=e.kind;return(208===t||209===t)&&108===e.expression.kind}function _I(e){var t;return!!e&&Df(e)&&(null==(t=e.initializer)?void 0:t.kind)===108}function _j(e){return!!e&&(D8(e)||D5(e))&&xJ(e.parent.parent)&&63===e.parent.parent.operatorToken.kind&&108===e.parent.parent.right.kind}function _O(e){switch(e.kind){case 180:return e.typeName;case 230:return mN(e.expression)?e.expression:void 0;case 79:case 163:return e}}function _P(e){switch(e.kind){case 212:return e.tag;case 283:case 282:return e.tagName;default:return e.expression}}function _F(e,t,n,r){if(e&&a_(t)&&vI(t.name))return!1;switch(t.kind){case 260:return!0;case 228:return!e;case 169:return void 0!==n&&(e?Dy(n):sV(n)&&!me(t)&&!mt(t));case 174:case 175:case 171:return void 0!==t.body&&void 0!==n&&(e?Dy(n):sV(n));case 166:return!!e&&void 0!==n&&void 0!==n.body&&(173===n.kind||171===n.kind||175===n.kind)&&fR(n)!==t&&void 0!==r&&260===r.kind}return!1}function _L(e,t,n,r){return mi(t)&&_F(e,t,n,r)}function _z(e,t,n,r){return _L(e,t,n,r)||_R(e,t,n)}function _R(e,t,n){switch(t.kind){case 260:return G(t.members,r=>_z(e,r,t,n));case 228:return!e&&G(t.members,r=>_z(e,r,t,n));case 171:case 175:case 173:return G(t.parameters,r=>_L(e,r,t,n));default:return!1}}function _B(e,t){if(_L(e,t))return!0;let n=fF(t);return!!n&&_R(e,n,t)}function _U(e,t,n){let r;if(sY(t)){let{firstAccessor:e,secondAccessor:i,setAccessor:o}=fK(n.members,t),a=mi(e)?e:i&&mi(i)?i:void 0;if(!a||t!==a)return!1;r=null==o?void 0:o.parameters}else v0(t)&&(r=t.parameters);if(_L(e,t,n))return!0;if(r){for(let i of r)if(!fB(i)&&_L(e,i,t,n))return!0}return!1}function _J(e){let{parent:t}=e;return(283===t.kind||282===t.kind||284===t.kind)&&t.tagName===e}function _$(e){switch(e.kind){case 106:case 104:case 110:case 95:case 13:case 206:case 207:case 208:case 209:case 210:case 211:case 212:case 231:case 213:case 235:case 232:case 214:case 215:case 228:case 216:case 219:case 217:case 218:case 221:case 222:case 223:case 224:case 227:case 225:case 229:case 281:case 282:case 285:case 226:case 220:case 233:return!0;case 230:return!D4(e.parent)&&!Sx(e.parent);case 163:for(;163===e.parent.kind;)e=e.parent;return 183===e.parent.kind||u4(e.parent)||So(e.parent)||Sa(e.parent)||_J(e);case 314:for(;Sa(e.parent);)e=e.parent;return 183===e.parent.kind||u4(e.parent)||So(e.parent)||Sa(e.parent)||_J(e);case 80:return xJ(e.parent)&&e.parent.left===e&&101===e.parent.operatorToken.kind;case 79:if(183===e.parent.kind||u4(e.parent)||So(e.parent)||Sa(e.parent)||_J(e))return!0;case 8:case 9:case 10:case 14:case 108:return _K(e);default:return!1}}function _K(e){let{parent:t}=e;switch(t.kind){case 257:case 166:case 169:case 168:case 302:case 299:case 205:return t.initializer===e;case 241:case 242:case 243:case 244:case 250:case 251:case 252:case 292:case 254:return t.expression===e;case 245:return t.initializer===e&&258!==t.initializer.kind||t.condition===e||t.incrementor===e;case 246:case 247:return t.initializer===e&&258!==t.initializer.kind||t.expression===e;case 213:case 231:case 236:case 164:case 235:return e===t.expression;case 167:case 291:case 290:case 301:return!0;case 230:return t.expression===e&&!c4(t);case 300:return t.objectAssignmentInitializer===e;default:return _$(t)}}function _V(e){for(;163===e.kind||79===e.kind;)e=e.parent;return 183===e.kind}function _Y(e){return DI(e)&&!!e.parent.moduleSpecifier}function _q(e){return 268===e.kind&&280===e.moduleReference.kind}function _W(e){return nd.assert(_q(e)),e.moduleReference.expression}function _Q(e){return _5(e)&&hk(e.initializer).arguments[0]}function _H(e){return 268===e.kind&&280!==e.moduleReference.kind}function _G(e){return _X(e)}function _Z(e){return!_X(e)}function _X(e){return!!e&&!!(262144&e.flags)}function _0(e){return!!e&&!!(67108864&e.flags)}function _1(e){return!cJ(e)}function _2(e){return!!e&&!!(8388608&e.flags)}function _3(e){return v9(e)&&vk(e.typeName)&&"Object"===e.typeName.escapedText&&e.typeArguments&&2===e.typeArguments.length&&(152===e.typeArguments[0].kind||148===e.typeArguments[0].kind)}function _4(e,t){if(210!==e.kind)return!1;let{expression:n,arguments:r}=e;if(79!==n.kind||"require"!==n.escapedText||1!==r.length)return!1;let i=r[0];return!t||u3(i)}function _6(e){return _7(e,!1)}function _5(e){return _7(e,!0)}function _8(e){return xT(e)&&_5(e.parent.parent)}function _7(e,t){return Df(e)&&!!e.initializer&&_4(t?hk(e.initializer):e.initializer,!0)}function _9(e){return x5(e)&&e.declarationList.declarations.length>0&&x(e.declarationList.declarations,e=>_6(e))}function pe(e){return 39===e||34===e}function pt(e,t){return 34===lH(t,e).charCodeAt(0)}function pn(e){return xJ(e)||hA(e)||vk(e)||xN(e)}function pr(e){return _X(e)&&e.initializer&&xJ(e.initializer)&&(56===e.initializer.operatorToken.kind||60===e.initializer.operatorToken.kind)&&e.name&&mN(e.name)&&pl(e.name,e.initializer.left)?e.initializer.right:e.initializer}function pi(e){let t=pr(e);return t&&pa(t,mI(e.name))}function po(e){if(e&&e.parent&&xJ(e.parent)&&63===e.parent.operatorToken.kind){let t=mI(e.parent.left);return pa(e.parent.right,t)||function(e,t,n){let r=xJ(t)&&(56===t.operatorToken.kind||60===t.operatorToken.kind)&&pa(t.right,n);if(r&&pl(e,t.left))return r}(e.parent.left,e.parent.right,t)}if(e&&xN(e)&&pm(e)){var t,n;let r=(t=e.arguments[2],n="prototype"===e.arguments[1].text,f(t.properties,e=>D5(e)&&vk(e.name)&&"value"===e.name.escapedText&&e.initializer&&pa(e.initializer,n)));if(r)return r}}function pa(e,t){if(xN(e)){let t=di(e.expression);return 215===t.kind||216===t.kind?e:void 0}if(215===e.kind||228===e.kind||216===e.kind||xw(e)&&(0===e.properties.length||t))return e}function ps(e){let t=Df(e.parent)?e.parent.name:xJ(e.parent)&&63===e.parent.operatorToken.kind?e.parent.left:void 0;return t&&pa(e.right,mI(t))&&mN(t)&&pl(t,e.left)}function pu(e){if(xJ(e.parent)){let t=(56===e.parent.operatorToken.kind||60===e.parent.operatorToken.kind)&&xJ(e.parent.parent)?e.parent.parent:e.parent;if(63===t.operatorToken.kind&&vk(t.left))return t.left}else if(Df(e.parent))return e.parent.name}function pl(e,t){return dR(e)&&dR(t)?dB(e)===dB(t):a1(e)&&ph(t)&&(108===t.expression.kind||vk(t.expression)&&("window"===t.expression.escapedText||"self"===t.expression.escapedText||"global"===t.expression.escapedText))?pl(e,px(t)):!!(ph(e)&&ph(t))&&pS(e)===pS(t)&&pl(e.expression,t.expression)}function pc(e){for(;mE(e,!0);)e=e.right;return e}function p_(e){return vk(e)&&"exports"===e.escapedText}function pp(e){return vk(e)&&"module"===e.escapedText}function pd(e){return(xA(e)||py(e))&&pp(e.expression)&&"exports"===pS(e)}function pf(e){let t=function(e){var t;if(xN(e)){if(!pm(e))return 0;let t=e.arguments[0];return p_(t)||pd(t)?8:pg(t)&&"prototype"===pS(t)?9:7}return 63!==e.operatorToken.kind||!hA(e.left)||xz(t=pc(e))&&vp(t.expression)&&"0"===t.expression.text?0:pv(e.left.expression,!0)&&"prototype"===pS(e.left)&&xw(pE(e))?6:pT(e.left)}(e);return 5===t||_X(e)?t:0}function pm(e){return 3===d(e.arguments)&&xA(e.expression)&&vk(e.expression.expression)&&"Object"===ao(e.expression.expression)&&"defineProperty"===ao(e.expression.name)&&dO(e.arguments[1])&&pv(e.arguments[0],!0)}function ph(e){return xA(e)||py(e)}function py(e){return xC(e)&&dO(e.argumentExpression)}function pg(e,t){return xA(e)&&(!t&&108===e.expression.kind||vk(e.name)&&pv(e.expression,!0))||pb(e,t)}function pb(e,t){return py(e)&&(!t&&108===e.expression.kind||mN(e.expression)||pg(e.expression,!0))}function pv(e,t){return mN(e)||pg(e,t)}function px(e){return xA(e)?e.name:e.argumentExpression}function pD(e){if(xA(e))return e.name;let t=di(e.argumentExpression);return vp(t)||u3(t)?t:e}function pS(e){let t=pD(e);if(t){if(vk(t))return t.escapedText;if(u3(t)||vp(t))return ar(t.text)}}function pT(e){if(108===e.expression.kind)return 4;if(pd(e))return 2;if(pv(e.expression,!0)){if(mI(e.expression))return 3;let t=e;for(;!vk(t.expression);)t=t.expression;let n=t.expression;if(("exports"===n.escapedText||"module"===n.escapedText&&"exports"===pS(t))&&pg(e))return 1;if(pv(e,!0)||xC(e)&&dL(e))return 5}return 0}function pE(e){for(;xJ(e.right);)e=e.right;return e.right}function pw(e){return xJ(e)&&3===pf(e)}function pA(e){return _X(e)&&e.parent&&241===e.parent.kind&&(!xC(e)||py(e))&&!!a$(e.parent)}function pC(e,t){let{valueDeclaration:n}=e;(!n||!(16777216&t.flags&&!_X(t)&&!(16777216&n.flags))&&pn(n)&&!pn(t)||n.kind!==t.kind&&cn(n))&&(e.valueDeclaration=t)}function pN(e){if(!e||!e.valueDeclaration)return!1;let t=e.valueDeclaration;return 259===t.kind||Df(t)&&t.initializer&&sL(t.initializer)}function pM(e){var t,n;switch(e.kind){case 257:case 205:return null==(t=ae(e.initializer,e=>_4(e,!0)))?void 0:t.arguments[0];case 269:return e9(e.moduleSpecifier,u3);case 268:return e9(null==(n=e9(e.moduleReference,DK))?void 0:n.expression,u3);case 270:case 277:return e9(e.parent.moduleSpecifier,u3);case 271:case 278:return e9(e.parent.parent.moduleSpecifier,u3);case 273:return e9(e.parent.parent.parent.moduleSpecifier,u3);default:nd.assertNever(e)}}function pk(e){return pI(e)||nd.failBadSyntaxKind(e.parent)}function pI(e){switch(e.parent.kind){case 269:case 275:return e.parent;case 280:return e.parent.parent;case 210:return cW(e.parent)||_4(e.parent,!1)?e.parent:void 0;case 198:return nd.assert(vf(e)),e9(e.parent.parent,xb);default:return}}function pj(e){switch(e.kind){case 269:case 275:return e.moduleSpecifier;case 268:return 280===e.moduleReference.kind?e.moduleReference.expression:void 0;case 202:return cH(e)?e.argument.literal:void 0;case 210:return e.arguments[0];case 264:return 10===e.name.kind?e.name:void 0;default:return nd.assertNever(e)}}function pO(e){switch(e.kind){case 269:return e.importClause&&e9(e.importClause.namedBindings,Dk);case 268:return e;case 275:return e.exportClause&&e9(e.exportClause,DI);default:return nd.assertNever(e)}}function pP(e){return 269===e.kind&&!!e.importClause&&!!e.importClause.name}function pF(e,t){if(e.name){let n=t(e);if(n)return n}if(e.namedBindings){let n=Dk(e.namedBindings)?t(e.namedBindings):f(e.namedBindings.elements,t);if(n)return n}}function pL(e){if(e)switch(e.kind){case 166:case 171:case 170:case 300:case 299:case 169:case 168:return void 0!==e.questionToken}return!1}function pz(e){let t=Sm(e)?eD(e.parameters):void 0,n=e9(t&&t.name,vk);return!!n&&"new"===n.escapedText}function pR(e){return 349===e.kind||341===e.kind||343===e.kind}function pB(e){return pR(e)||Db(e)}function pU(e){return x7(e)&&xJ(e.expression)&&0!==pf(e.expression)&&xJ(e.expression.right)&&(56===e.expression.right.operatorToken.kind||60===e.expression.right.operatorToken.kind)?e.expression.right.right:void 0}function pJ(e){switch(e.kind){case 240:let t=p$(e);return t&&t.initializer;case 169:case 299:return e.initializer}}function p$(e){return x5(e)?eD(e.declarationList.declarations):void 0}function pK(e){return Dx(e)&&e.body&&264===e.body.kind?e.body:void 0}function pV(e){if(e.kind>=240&&e.kind<=256)return!0;switch(e.kind){case 79:case 108:case 106:case 163:case 233:case 209:case 208:case 205:case 215:case 216:case 171:case 174:case 175:return!0;default:return!1}}function pY(e){switch(e.kind){case 216:case 223:case 238:case 249:case 176:case 292:case 260:case 228:case 172:case 173:case 182:case 177:case 248:case 256:case 243:case 209:case 239:case 1:case 263:case 302:case 274:case 275:case 278:case 241:case 246:case 247:case 245:case 259:case 215:case 181:case 174:case 79:case 242:case 269:case 268:case 178:case 261:case 320:case 326:case 253:case 171:case 170:case 264:case 199:case 267:case 207:case 166:case 214:case 208:case 299:case 169:case 168:case 250:case 175:case 300:case 301:case 252:case 254:case 255:case 262:case 165:case 257:case 240:case 244:case 251:return!0;default:return!1}}function pq(e,t){let n;_e(e)&&uZ(e)&&uH(e.initializer)&&(n=ef(n,pW(e,eA(e.initializer.jsDoc))));let r=e;for(;r&&r.parent;){if(uH(r)&&(n=ef(n,pW(e,eA(r.jsDoc)))),166===r.kind){n=ef(n,(t?ab:ag)(r));break}if(165===r.kind){n=ef(n,(t?aD:ax)(r));break}r=pH(r)}return n||t8}function pW(e,t){if(Sg(t)){let n=k(t.tags,t=>pQ(e,t));return t.tags===n?[t]:n}return pQ(e,t)?[t]:void 0}function pQ(e,t){return!(SL(t)||S$(t))||!t.parent||!Sg(t.parent)||!xj(t.parent.parent)||t.parent.parent===e}function pH(e){let t=e.parent;return 299===t.kind||274===t.kind||169===t.kind||241===t.kind&&208===e.kind||250===t.kind||pK(t)||xJ(e)&&63===e.operatorToken.kind?t:t.parent&&(p$(t.parent)===e||xJ(t)&&63===t.operatorToken.kind)?t.parent:t.parent&&t.parent.parent&&(p$(t.parent.parent)||pJ(t.parent.parent)===e||pU(t.parent.parent))?t.parent.parent:void 0}function pG(e){if(e.symbol)return e.symbol;if(!vk(e.name))return;let t=e.name.escapedText,n=pX(e);if(!n)return;let r=D(n.parameters,e=>79===e.name.kind&&e.name.escapedText===t);return r&&r.symbol}function pZ(e){if(Sg(e.parent)&&e.parent.tags){let t=D(e.parent.tags,pR);if(t)return t}return pX(e)}function pX(e){let t=p0(e);if(t)return vG(t)&&t.type&&sL(t.type)?t.type:sL(t)?t:void 0}function p0(e){let t=p1(e);if(t)return pU(t)||(x7(t)&&xJ(t.expression)&&63===t.expression.operatorToken.kind?pc(t.expression):void 0)||pJ(t)||p$(t)||pK(t)||t}function p1(e){let t=p2(e);if(!t)return;let n=t.parent;if(n&&n.jsDoc&&t===ew(n.jsDoc))return n}function p2(e){return ae(e.parent,Sg)}function p3(e){let t=e.name.escapedText,{typeParameters:n}=e.parent.parent.parent;return n&&D(n,e=>e.name.escapedText===t)}function p4(e){return!!e.typeArguments}function p6(e){let t=e.parent;for(;;){switch(t.kind){case 223:let n=t.operatorToken.kind;return mD(n)&&t.left===e?63===n||mg(n)?1:2:0;case 221:case 222:let r=t.operator;return 45===r||46===r?2:0;case 246:case 247:return t.initializer===e?1:0;case 214:case 206:case 227:case 232:e=t;break;case 301:e=t.parent;break;case 300:if(t.name!==e)return 0;e=t.parent;break;case 299:if(t.name===e)return 0;e=t.parent;break;default:return 0}t=e.parent}}function p5(e){return 0!==p6(e)}function p8(e){switch(e.kind){case 238:case 240:case 251:case 242:case 252:case 266:case 292:case 293:case 253:case 245:case 246:case 247:case 243:case 244:case 255:case 295:return!0}return!1}function p7(e){return xO(e)||xP(e)||sW(e)||Dh(e)||v2(e)}function p9(e,t){for(;e&&e.kind===t;)e=e.parent;return e}function de(e){return p9(e,193)}function dt(e){return p9(e,214)}function dn(e){let t;for(;e&&193===e.kind;)t=e,e=e.parent;return[t,e]}function dr(e){for(;xd(e);)e=e.type;return e}function di(e,t){return Ta(e,t?17:1)}function da(e){return(208===e.kind||209===e.kind)&&(e=dt(e.parent))&&217===e.kind}function ds(e,t){for(;e;){if(e===t)return!0;e=e.parent}return!1}function du(e){return!St(e)&&!s2(e)&&uj(e.parent)&&e.parent.name===e}function dl(e){let t=e.parent;switch(e.kind){case 10:case 14:case 8:if(vq(t))return t.parent;case 79:if(uj(t))return t.name===e?t:void 0;if(vY(t)){let e=t.parent;return SO(e)&&e.name===t?e:void 0}{let n=t.parent;return xJ(n)&&0!==pf(n)&&(n.left.symbol||n.symbol)&&ad(n)===e?n:void 0}case 80:return uj(t)&&t.name===e?t:void 0;default:return}}function dc(e){return dO(e)&&164===e.parent.kind&&uj(e.parent.parent)}function d_(e){let t=e.parent;switch(t.kind){case 169:case 168:case 171:case 170:case 174:case 175:case 302:case 299:case 208:return t.name===e;case 163:return t.right===e;case 205:case 273:return t.propertyName===e;case 278:case 288:case 282:case 283:case 284:return!0}return!1}function dp(e){return!!(268===e.kind||267===e.kind||270===e.kind&&e.name||271===e.kind||277===e.kind||273===e.kind||278===e.kind||274===e.kind&&df(e))||_X(e)&&(xJ(e)&&2===pf(e)&&df(e)||xA(e)&&xJ(e.parent)&&e.parent.left===e&&63===e.parent.operatorToken.kind&&dd(e.parent.right))}function dd(e){return mN(e)||xq(e)}function df(e){return dd(dm(e))}function dm(e){return DP(e)?e.expression:e.right}function dh(e){return 300===e.kind?e.name:299===e.kind?e.initializer:e.parent.right}function dy(e){let t=dg(e);if(t&&_X(e)){let t=aT(e);if(t)return t.class}return t}function dg(e){let t=dD(e.heritageClauses,94);return t&&t.types.length>0?t.types[0]:void 0}function db(e){if(_X(e))return aE(e).map(e=>e.class);{let t=dD(e.heritageClauses,117);return null==t?void 0:t.types}}function dv(e){return Dg(e)?dx(e)||t8:sV(e)&&X(tZ(dy(e)),db(e))||t8}function dx(e){let t=dD(e.heritageClauses,94);return t?t.types:void 0}function dD(e,t){if(e){for(let n of e)if(n.token===t)return n}}function dS(e,t){for(;e;){if(e.kind===t)return e;e=e.parent}}function dT(e){return 81<=e&&e<=162}function dE(e){return 126<=e&&e<=162}function dw(e){return dT(e)&&!dE(e)}function dA(e){return 117<=e&&e<=125}function dC(e){let t=iJ(e);return void 0!==t&&dw(t)}function dN(e){let t=iJ(e);return void 0!==t&&dT(t)}function dM(e){let t=aa(e);return!!t&&!dE(t)}function dk(e){return 2<=e&&e<=7}function dI(e){if(!e)return 4;let t=0;switch(e.kind){case 259:case 215:case 171:e.asteriskToken&&(t|=1);case 216:f5(e,512)&&(t|=2)}return e.body||(t|=4),t}function dj(e){switch(e.kind){case 259:case 215:case 216:case 171:return void 0!==e.body&&void 0===e.asteriskToken&&f5(e,512)}return!1}function dO(e){return u3(e)||vp(e)}function dP(e){return xB(e)&&(39===e.operator||40===e.operator)&&vp(e.operand)}function dF(e){let t=ad(e);return!!t&&dL(t)}function dL(e){if(!(164===e.kind||209===e.kind))return!1;let t=xC(e)?di(e.argumentExpression):e.expression;return!dO(t)&&!dP(t)}function dz(e){switch(e.kind){case 79:case 80:return e.escapedText;case 10:case 8:return ar(e.text);case 164:let t=e.expression;return dO(t)?ar(t.text):dP(t)?40===t.operator?ow[t.operator]+t.operand.text:t.operand.text:void 0;default:return nd.assertNever(e)}}function dR(e){switch(e.kind){case 79:case 10:case 14:case 8:return!0;default:return!1}}function dB(e){return a1(e)?ao(e):e.text}function dU(e){return a1(e)?e.escapedText:ar(e.text)}function dJ(e){return`__@${getSymbolId(e)}@${e.escapedName}`}function d$(e,t){return`__#${getSymbolId(e)}@${t}`}function dK(e){return tK(e.escapedName,"__@")}function dV(e){return tK(e.escapedName,"__#")}function dY(e){return 79===e.kind&&"Symbol"===e.escapedText}function dq(e){return vk(e)?"__proto__"===ao(e):vf(e)&&"__proto__"===e.text}function dW(e,t){switch((e=Ta(e)).kind){case 228:case 215:if(e.name)return!1;break;case 216:break;default:return!1}return"function"!=typeof t||t(e)}function dQ(e){switch(e.kind){case 299:return!dq(e.name);case 300:return!!e.objectAssignmentInitializer;case 257:return vk(e.name)&&!!e.initializer;case 166:case 205:return vk(e.name)&&!!e.initializer&&!e.dotDotDotToken;case 169:return!!e.initializer;case 223:switch(e.operatorToken.kind){case 63:case 76:case 75:case 77:return vk(e.left)}break;case 274:return!0}return!1}function dH(e,t){if(!dQ(e))return!1;switch(e.kind){case 299:case 257:case 166:case 205:case 169:return dW(e.initializer,t);case 300:return dW(e.objectAssignmentInitializer,t);case 223:return dW(e.right,t);case 274:return dW(e.expression,t)}}function dG(e){return"push"===e.escapedText||"unshift"===e.escapedText}function dZ(e){return 166===dX(e).kind}function dX(e){for(;205===e.kind;)e=e.parent.parent;return e}function d0(e){let t=e.kind;return 173===t||215===t||259===t||216===t||171===t||174===t||175===t||264===t||308===t}function d1(e){return y5(e.pos)||y5(e.end)}function d2(e){return an(e,St)||e}function d3(e){let t=d5(e),n=211===e.kind&&void 0!==e.arguments;return d4(e.kind,t,n)}function d4(e,t,n){switch(e){case 211:return n?0:1;case 221:case 218:case 219:case 217:case 220:case 224:case 226:return 1;case 223:switch(t){case 42:case 63:case 64:case 65:case 67:case 66:case 68:case 69:case 70:case 71:case 72:case 73:case 78:case 74:case 75:case 76:case 77:return 1}}return 0}function d6(e){let t=d5(e),n=211===e.kind&&void 0!==e.arguments;return d8(e.kind,t,n)}function d5(e){return 223===e.kind?e.operatorToken.kind:221===e.kind||222===e.kind?e.operator:e.kind}function d8(e,t,n){switch(e){case 357:return 0;case 227:return 1;case 226:return 2;case 224:return 4;case 223:switch(t){case 27:return 0;case 63:case 64:case 65:case 67:case 66:case 68:case 69:case 70:case 71:case 72:case 73:case 78:case 74:case 75:case 76:case 77:return 3;default:return d7(t)}case 213:case 232:case 221:case 218:case 219:case 217:case 220:return 16;case 222:return 17;case 210:return 18;case 211:return n?19:18;case 212:case 208:case 209:case 233:return 19;case 231:case 235:return 11;case 108:case 106:case 79:case 80:case 104:case 110:case 95:case 8:case 9:case 10:case 206:case 207:case 215:case 216:case 228:case 13:case 14:case 225:case 214:case 229:case 281:case 282:case 285:return 20;default:return -1}}function d7(e){switch(e){case 60:return 4;case 56:return 5;case 55:return 6;case 51:return 7;case 52:return 8;case 50:return 9;case 34:case 35:case 36:case 37:return 10;case 29:case 31:case 32:case 33:case 102:case 101:case 128:case 150:return 11;case 47:case 48:case 49:return 12;case 39:case 40:return 13;case 41:case 43:case 44:return 14;case 42:return 15}return -1}function d9(e){return k(e,e=>{switch(e.kind){case 291:return!!e.expression;case 11:return!e.containsOnlyTriviaWhiteSpaces;default:return!0}})}function fe(){let e=[],t=[],n=new Map,r=!1;return{add:function(i){let o;i.file?(o=n.get(i.file.fileName))||(o=[],n.set(i.file.fileName,o),ei(t,i.file.fileName,tS)):(r&&(r=!1,e=e.slice()),o=e),ei(o,i,h3)},lookup:function(t){let r;if(!(r=t.file?n.get(t.file.fileName):e))return;let i=eI(r,t,to,h3);if(i>=0)return r[i]},getGlobalDiagnostics:function(){return r=!0,e},getDiagnostics:function(r){if(r)return n.get(r)||[];let i=R(t,e=>n.get(e));return e.length&&i.unshift(...e),i}}}function ft(e){return e&&!!(vy(e)?e.templateFlags:e.head.templateFlags||G(e.templateSpans,e=>!!e.literal.templateFlags))}function fn(e){return"\\u"+("0000"+e.toString(16).toUpperCase()).slice(-4)}function fr(e,t,n){if(0===e.charCodeAt(0)){let r=n.charCodeAt(t+e.length);return r>=48&&r<=57?"\\x00":"\\0"}return bu.get(e)||fn(e.charCodeAt(0))}function fi(e,t){let n=96===t?bs:39===t?ba:bo;return e.replace(n,fr)}function fo(e,t){return e=fi(e,t),bl.test(e)?e.replace(bl,e=>fn(e.charCodeAt(0))):e}function fa(e){return 0===e.charCodeAt(0)?"�":bp.get(e)||"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function fs(e,t){let n=39===t?b_:bc;return e.replace(n,fa)}function fu(e){var t;let n=e.length;return n>=2&&e.charCodeAt(0)===e.charCodeAt(n-1)&&(39===(t=e.charCodeAt(0))||34===t||96===t)?e.substring(1,n-1):e}function fl(e){let t=e.charCodeAt(0);return t>=97&&t<=122||tO(e,"-")||tO(e,":")}function fc(e){let t=bd[1];for(let n=bd.length;n<=e;n++)bd.push(bd[n-1]+t);return bd[e]}function f_(){return bd[1].length}function fp(){return tO(a,"-dev")||tO(a,"-insiders")}function fd(e){var t,n,r,i,o,a=!1;function s(e){let n=i$(e);n.length>1?(i=i+n.length-1,r=(o=t.length-e.length+eA(n))-t.length==0):r=!1}function u(e){e&&e.length&&(r&&(e=fc(n)+e,r=!1),t+=e,s(e))}function l(e){e&&(a=!1),u(e)}function c(){t="",n=0,r=!0,i=0,o=0,a=!1}return c(),{write:l,rawWrite:function(e){void 0!==e&&(t+=e,s(e),a=!1)},writeLiteral:function(e){e&&e.length&&l(e)},writeLine:function(n){(!r||n)&&(t+=e,i++,o=t.length,r=!0,a=!1)},increaseIndent:()=>{n++},decreaseIndent:()=>{n--},getIndent:()=>n,getTextPos:()=>t.length,getLine:()=>i,getColumn:()=>r?n*f_():t.length-o,getText:()=>t,isAtStartOfLine:()=>r,hasTrailingComment:()=>a,hasTrailingWhitespace:()=>!!t.length&&iG(t.charCodeAt(t.length-1)),clear:c,writeKeyword:l,writeOperator:l,writeParameter:l,writeProperty:l,writePunctuation:l,writeSpace:l,writeStringLiteral:l,writeSymbol:(e,t)=>l(e),writeTrailingSemicolon:l,writeComment:function(e){e&&(a=!0),u(e)},getTextPosWithWriteLine:function(){return r?t.length:t.length+e.length}}}function ff(e){let t=!1;function n(){t&&(e.writeTrailingSemicolon(";"),t=!1)}return Object.assign(Object.assign({},e),{},{writeTrailingSemicolon(){t=!0},writeLiteral(t){n(),e.writeLiteral(t)},writeStringLiteral(t){n(),e.writeStringLiteral(t)},writeSymbol(t,r){n(),e.writeSymbol(t,r)},writePunctuation(t){n(),e.writePunctuation(t)},writeKeyword(t){n(),e.writeKeyword(t)},writeOperator(t){n(),e.writeOperator(t)},writeParameter(t){n(),e.writeParameter(t)},writeSpace(t){n(),e.writeSpace(t)},writeProperty(t){n(),e.writeProperty(t)},writeComment(t){n(),e.writeComment(t)},writeLine(){n(),e.writeLine()},increaseIndent(){n(),e.increaseIndent()},decreaseIndent(){n(),e.decreaseIndent()}})}function fm(e){return!!e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames()}function fh(e){return tB(fm(e))}function fy(e,t,n){return t.moduleName||fv(e,t.fileName,n&&n.fileName)}function fg(e,t){return e.getCanonicalFileName(ia(t,e.getCurrentDirectory()))}function fb(e,t,n){let r=t.getExternalModuleFileFromDeclaration(n);if(!r||r.isDeclarationFile)return;let i=pj(n);if(!(i&&u3(i)&&!rQ(i.text)&&-1===fg(e,r.path).indexOf(fg(e,i_(e.getCommonSourceDirectory())))))return fy(e,r)}function fv(e,t,n){let r=t=>e.getCanonicalFileName(t),i=il(n?r4(n):e.getCommonSourceDirectory(),e.getCurrentDirectory(),r),o=y0(iE(i,ia(t,e.getCurrentDirectory()),i,r,!1));return n?ip(o):o}function fx(e,t,n){let r=t.getCompilerOptions();return(r.outDir?y0(fM(e,t,r.outDir)):y0(e))+n}function fD(e,t){return fS(e,t.getCompilerOptions(),t.getCurrentDirectory(),t.getCommonSourceDirectory(),e=>t.getCanonicalFileName(e))}function fS(e,t,n,r,i){let o=t.declarationDir||t.outDir,a=o?fk(e,o,n,r,i):e,s=fT(a);return y0(a)+s}function fT(e){return rX(e,[".mjs",".mts"])?".d.mts":rX(e,[".cjs",".cts"])?".d.cts":rX(e,[".json"])?".d.json.ts":".d.ts"}function fE(e){return rX(e,[".d.mts",".mjs",".mts"])?[".mts",".mjs"]:rX(e,[".d.cts",".cjs",".cts"])?[".cts",".cjs"]:rX(e,[".d.json.ts"])?[".json"]:[".tsx",".ts",".jsx",".js"]}function fw(e){return e.outFile||e.out}function fA(e,t){var n,r;if(e.paths)return null!=(r=e.baseUrl)?r:nd.checkDefined(e.pathsBasePath||(null==(n=t.getCurrentDirectory)?void 0:n.call(t)),"Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.")}function fC(e,t,n){let r=e.getCompilerOptions();if(!fw(r))return k(void 0===t?e.getSourceFiles():[t],t=>fN(t,e,n));{let t=h9(r),i=r.emitDeclarationOnly||2===t||4===t;return k(e.getSourceFiles(),t=>(i||!Ex(t))&&fN(t,e,n))}}function fN(e,t,n){return!(t.getCompilerOptions().noEmitForJsFiles&&_X(e))&&!e.isDeclarationFile&&!t.isSourceFileFromExternalLibrary(e)&&(n||!(cJ(e)&&t.getResolvedProjectReferenceToRedirect(e.fileName))&&!t.isSourceOfProjectReferenceRedirect(e.fileName))}function fM(e,t,n){return fk(e,n,t.getCurrentDirectory(),t.getCommonSourceDirectory(),e=>t.getCanonicalFileName(e))}function fk(e,t,n,r,i){let o=ia(e,n);return ir(t,o=0===i(o).indexOf(i(r))?o.substring(r.length):o)}function fI(e,t,n,r,i,o,a){e.writeFile(n,r,i,e=>{t.add(hG(iP.Could_not_write_file_0_Colon_1,n,e))},o,a)}function fj(e,t,n,r,i,o){try{r(e,t,n)}catch{(function e(t,n,r){t.length>r3(t)&&!r(t)&&(e(r4(t),n,r),n(t))})(r4(is(e)),i,o),r(e,t,n)}}function fO(e,t){return iW(iY(e),t)}function fP(e,t){return iW(e,t)}function fF(e){return D(e.members,e=>v2(e)&&lP(e.body))}function fL(e){if(e&&e.parameters.length>0){let t=2===e.parameters.length&&fB(e.parameters[0]);return e.parameters[t?1:0]}}function fz(e){let t=fL(e);return t&&t.type}function fR(e){if(e.parameters.length&&!Sv(e)){let t=e.parameters[0];if(fB(t))return t}}function fB(e){return fU(e.name)}function fU(e){return!!e&&79===e.kind&&f$(e)}function fJ(e){if(!fU(e))return!1;for(;vY(e.parent)&&e.parent.left===e;)e=e.parent;return 183===e.parent.kind}function f$(e){return"this"===e.escapedText}function fK(e,t){let n,r,i,o;return dF(t)?(n=t,174===t.kind?i=t:175===t.kind?o=t:nd.fail("Accessor has wrong kind")):f(e,e=>{sY(e)&&f8(e)===f8(t)&&(dz(e.name)!==dz(t.name)||(n?r||(r=e):n=e,174!==e.kind||i||(i=e),175!==e.kind||o||(o=e)))}),{firstAccessor:n,secondAccessor:r,getAccessor:i,setAccessor:o}}function fV(e){if(!_X(e)&&Dh(e))return;let t=e.type;return t||!_X(e)?t:su(e)?e.typeExpression&&e.typeExpression.type:aK(e)}function fY(e){return e.type}function fq(e){return Sv(e)?e.type&&e.type.typeExpression&&e.type.typeExpression.type:e.type||(_X(e)?aV(e):void 0)}function fW(e){return z(aq(e),e=>Sz(e)&&!(323===e.parent.kind&&(e.parent.tags.some(pR)||e.parent.tags.some(SM)))?e.typeParameters:void 0)}function fQ(e){let t=fL(e);return t&&fV(t)}function fH(e,t,n,r){fG(e,t,n.pos,r)}function fG(e,t,n,r){r&&r.length&&n!==r[0].pos&&iW(e,n)!==iW(e,r[0].pos)&&t.writeLine()}function fZ(e,t,n,r){n!==r&&iW(e,n)!==iW(e,r)&&t.writeLine()}function fX(e,t,n,r,i,o,a,s){if(r&&r.length>0){i&&n.writeSpace(" ");let u=!1;for(let i of r)u&&(n.writeSpace(" "),u=!1),s(e,t,n,i.pos,i.end,a),i.hasTrailingNewLine?n.writeLine():u=!0;u&&o&&n.writeSpace(" ")}}function f0(e,t,n,r,i,o,a){let s,u;if(a?0===i.pos&&(s=k(oo(e,i.pos),function(t){return lY(e,t.pos)})):s=oo(e,i.pos),s){let a=[],l;for(let e of s){if(l){let n=iW(t,l.end);if(iW(t,e.pos)>=n+2)break}a.push(e),l=e}if(a.length){let l=iW(t,eA(a).end);iW(t,i4(e,i.pos))>=l+2&&(fH(t,n,i,s),fX(e,t,n,a,!1,!0,o,r),u={nodePos:i.pos,detachedCommentEndPos:eA(a).end})}}return u}function f1(e,t,n,r,i,o){if(42===e.charCodeAt(r+1)){let a=iq(t,r),s=t.length,u;for(let l=r,c=a.line;l0){let e=i%f_(),t=fc((i-e)/f_());for(n.rawWrite(t);e;)n.rawWrite(" "),e--}else n.rawWrite("")}(function(e,t,n,r,i,o){let a=Math.min(t,o-1),s=nl(e.substring(i,a));s?(n.writeComment(s),a!==t&&n.writeLine()):n.rawWrite(r)})(e,i,n,o,l,_),l=_}}else n.writeComment(e.substring(r,i))}function f2(e,t,n){let r=0;for(;t=0&&e.kind<=162?0:(536870912&e.modifierFlagsCache||(e.modifierFlagsCache=536870912|md(e)),t&&!(4096&e.modifierFlagsCache)&&(n||_X(e))&&e.parent&&(e.modifierFlagsCache|=4096|m_(e)),-536875009&e.modifierFlagsCache)}function mu(e){return ms(e,!0)}function ml(e){return ms(e,!0,!0)}function mc(e){return ms(e,!1)}function m_(e){let t=0;return e.parent&&!vQ(e)&&(_X(e)&&(aC(e)&&(t|=4),aM(e)&&(t|=8),aI(e)&&(t|=16),aO(e)&&(t|=64),aP(e)&&(t|=16384)),aL(e)&&(t|=8192)),t}function mp(e){return md(e)|m_(e)}function md(e){let t=TX(e)?mf(e.modifiers):0;return(4&e.flags||79===e.kind&&2048&e.flags)&&(t|=1),t}function mf(e){let t=0;if(e)for(let n of e)t|=mm(n.kind);return t}function mm(e){switch(e){case 124:return 32;case 123:return 4;case 122:return 16;case 121:return 8;case 126:return 256;case 127:return 128;case 93:return 1;case 136:return 2;case 85:return 2048;case 88:return 1024;case 132:return 512;case 146:return 64;case 161:return 16384;case 101:return 32768;case 145:return 65536;case 167:return 131072}return 0}function mh(e){return 56===e||55===e}function my(e){return mh(e)||53===e}function mg(e){return 75===e||76===e||77===e}function mb(e){return xJ(e)&&mg(e.operatorToken.kind)}function mv(e){return mh(e)||60===e}function mx(e){return xJ(e)&&mv(e.operatorToken.kind)}function mD(e){return e>=63&&e<=78}function mS(e){let t=mT(e);return t&&!t.isImplements?t.class:void 0}function mT(e){if(xQ(e)){if(D4(e.parent)&&sV(e.parent.parent))return{class:e.parent.parent,isImplements:117===e.parent.token};if(Sx(e.parent)){let t=p0(e.parent);if(t&&sV(t))return{class:t,isImplements:!1}}}}function mE(e,t){return xJ(e)&&(t?63===e.operatorToken.kind:mD(e.operatorToken.kind))&&us(e.left)}function mw(e){return mE(e.parent)&&e.parent.left===e}function mA(e){if(mE(e,!0)){let t=e.left.kind;return 207===t||206===t}return!1}function mC(e){return void 0!==mS(e)}function mN(e){return 79===e.kind||mk(e)}function mM(e){switch(e.kind){case 79:return e;case 163:do e=e.left;while(79!==e.kind)return e;case 208:do e=e.expression;while(79!==e.kind)return e}}function mk(e){return xA(e)&&vk(e.name)&&mN(e.expression)}function mI(e){return pg(e)&&"prototype"===pS(e)}function mj(e){return 163===e.parent.kind&&e.parent.right===e||208===e.parent.kind&&e.parent.name===e}function mO(e){return xA(e.parent)&&e.parent.name===e||xC(e.parent)&&e.parent.argumentExpression===e}function mP(e){return vY(e.parent)&&e.parent.right===e||xA(e.parent)&&e.parent.name===e||Sa(e.parent)&&e.parent.right===e}function mF(e){return 207===e.kind&&0===e.properties.length}function mL(e){return 206===e.kind&&0===e.elements.length}function mz(e){if(!(!(e&&d(e.declarations)>0&&f5(e.declarations[0],1024))||!e.declarations)){for(let t of e.declarations)if(t.localSymbol)return t.localSymbol}}function mR(e){return D(bk,t=>rZ(e,t))}function mB(e){let t="",n=function(e){let t=[],n=e.length;for(let r=0;r>6|192),t.push(63&n|128)):n<65536?(t.push(n>>12|224),t.push(n>>6&63|128),t.push(63&n|128)):n<131072?(t.push(n>>18|240),t.push(n>>12&63|128),t.push(n>>6&63|128),t.push(63&n|128)):nd.assert(!1,"Unexpected code point")}return t}(e),r=0,i=n.length,o,a,s,u;for(;r>2,a=(3&n[r])<<4|n[r+1]>>4,s=(15&n[r+1])<<2|n[r+2]>>6,u=63&n[r+2],r+1>=i?s=u=64:r+2>=i&&(u=64),t+=bf.charAt(o)+bf.charAt(a)+bf.charAt(s)+bf.charAt(u),r+=3;return t}function mU(e,t){return e&&e.base64encode?e.base64encode(t):mB(t)}function mJ(e,t){if(e&&e.base64decode)return e.base64decode(t);let n=t.length,r=[],i=0;for(;i>4&3,u=(15&n)<<4|o>>2&15,l=(3&o)<<6|63&a;0===u&&0!==o?r.push(s):0===l&&0!==a?r.push(s,u):r.push(s,u,l),i+=4}return function(e){let t="",n=0,r=e.length;for(;n1&&void 0!==arguments[1]?arguments[1]:e;return nd.assert(t>=e||-1===t),{pos:e,end:t}}function mW(e,t){return mq(e.pos,t)}function mQ(e,t){return mq(t,e.end)}function mH(e){let t=TX(e)?S(e.modifiers,vH):void 0;return t&&!y5(t.end)?mQ(e,t.end):e}function mG(e){if(vZ(e)||v0(e))return mQ(e,e.name.pos);let t=TX(e)?ew(e.modifiers):void 0;return t&&!y5(t.end)?mQ(e,t.end):mH(e)}function mZ(e){return e.pos===e.end}function mX(e,t){return mq(e,e+ow[t].length)}function m0(e,t){return m3(e,e,t)}function m1(e,t,n){return m7(m9(e,n,!1),m9(t,n,!1),n)}function m2(e,t,n){return m7(e.end,t.end,n)}function m3(e,t,n){return m7(m9(e,n,!1),t.end,n)}function m4(e,t,n){return m7(e.end,m9(t,n,!1),n)}function m6(e,t,n,r){let i=m9(t,n,r);return iQ(n,e.end,i)}function m5(e,t,n){return iQ(n,e.end,t.end)}function m8(e,t){return!m7(e.pos,e.end,t)}function m7(e,t,n){return 0===iQ(n,e,t)}function m9(e,t,n){return y5(e.pos)?-1:i4(t.text,e.pos,!1,n)}function he(e,t,n,r){let i=i4(n.text,e,!1,r),o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;for(;e-- >t;)if(!iG(n.text.charCodeAt(e)))return e}(i,t,n);return iQ(n,null!=o?o:t,i)}function ht(e,t,n,r){let i=i4(n.text,e,!1,r);return iQ(n,e,Math.min(t,i))}function hn(e){let t=an(e);if(t)switch(t.parent.kind){case 263:case 264:return t===t.parent.name}return!1}function hr(e){return k(e.declarations,hi)}function hi(e){return Df(e)&&void 0!==e.initializer}function ho(e){return e.watch&&eP(e,"watch")}function ha(e){e.close()}function hs(e){return 33554432&e.flags?e.links.checkFlags:0}function hu(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e.valueDeclaration){let n=o6(t&&e.declarations&&D(e.declarations,v4)||32768&e.flags&&D(e.declarations,v3)||e.valueDeclaration);return e.parent&&32&e.parent.flags?n:-29&n}if(6&hs(e)){let t=e.links.checkFlags;return(1024&t?8:256&t?4:16)|(2048&t?32:0)}return 4194304&e.flags?36:0}function hl(e,t){return 2097152&e.flags?t.getAliasedSymbol(e):e}function hc(e){return e.exportSymbol?e.exportSymbol.flags|e.flags:e.flags}function h_(e){return 1===hd(e)}function hp(e){return 0!==hd(e)}function hd(e){let{parent:t}=e;if(!t)return 0;switch(t.kind){case 214:case 206:return hd(t);case 222:case 221:let{operator:n}=t;return 45===n||46===n?o():0;case 223:let{left:r,operatorToken:i}=t;return r===e&&mD(i.kind)?63===i.kind?1:o():0;case 208:return t.name!==e?0:hd(t);case 299:{let n=hd(t.parent);return e===t.name?function(e){switch(e){case 0:return 1;case 1:return 0;case 2:return 2;default:return nd.assertNever(e)}}(n):n}case 300:return e===t.objectAssignmentInitializer?0:hd(t.parent);default:return 0}function o(){return t.parent&&241===dt(t.parent).kind?1:2}}function hf(e,t){e.forEach(t),e.clear()}function hm(e,t,n){let{onDeleteValue:r,onExistingValue:i}=n;e.forEach((n,o)=>{let a=t.get(o);void 0===a?(e.delete(o),r(n,o)):i&&i(n,a,o)})}function hh(e,t,n){hm(e,t,n);let{createNewValue:r}=n;t.forEach((t,n)=>{e.has(n)||e.set(n,r(n,t))})}function hy(e){if(32&e.flags){let t=hg(e);return!!t&&f5(t,256)}return!1}function hg(e){var t;return null==(t=e.declarations)?void 0:t.find(sV)}function hb(e){return 3899393&e.flags?e.objectFlags:0}function hv(e,t){return!!iw(e,e=>!!t(e)||void 0)}function hx(e){return!!e&&!!e.declarations&&!!e.declarations[0]&&DT(e.declarations[0])}function hD(e){let{moduleSpecifier:t}=e;return vf(t)?t.text:lX(t)}function hS(e){let t;return Ef(e,e=>{lP(e)&&(t=e)},e=>{for(let n=e.length-1;n>=0;n--)if(lP(e[n])){t=e[n];break}}),t}function hT(e,t){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return!e.has(t)&&(e.set(t,n),!0)}function hE(e){return sV(e)||Dg(e)||xr(e)}function hw(e){return e>=179&&e<=202||131===e||157===e||148===e||160===e||149===e||134===e||152===e||153===e||114===e||155===e||144===e||139===e||230===e||315===e||316===e||317===e||318===e||319===e||320===e||321===e}function hA(e){return 208===e.kind||209===e.kind}function hC(e){return 208===e.kind?e.name:(nd.assert(209===e.kind),e.argumentExpression)}function hN(e){switch(e.kind){case"text":case"internal":return!0;default:return!1}}function hM(e){return 272===e.kind||276===e.kind}function hk(e){for(;hA(e);)e=e.expression;return e}function hI(e,t){if(hA(e.parent)&&mO(e))return function e(n){if(208===n.kind){let e=t(n.name);if(void 0!==e)return e}else if(209===n.kind){if(!(vk(n.argumentExpression)||u3(n.argumentExpression)))return;{let e=t(n.argumentExpression);if(void 0!==e)return e}}return hA(n.expression)?e(n.expression):vk(n.expression)?t(n.expression):void 0}(e.parent)}function hj(e,t){for(;;){switch(e.kind){case 222:e=e.operand;continue;case 223:e=e.left;continue;case 224:e=e.condition;continue;case 212:e=e.tag;continue;case 210:if(t)break;case 231:case 209:case 208:case 232:case 356:case 235:e=e.expression;continue}return e}}function hO(e,t){this.flags=e,this.escapedName=t,this.declarations=void 0,this.valueDeclaration=void 0,this.id=0,this.mergeId=0,this.parent=void 0,this.members=void 0,this.exports=void 0,this.exportSymbol=void 0,this.constEnumOnlyModule=void 0,this.isReferenced=void 0,this.isAssigned=void 0,this.links=void 0}function hP(e,t){this.flags=t,(nd.isDebugging||nN)&&(this.checker=e)}function hF(e,t){this.flags=t,nd.isDebugging&&(this.checker=e)}function hL(e,t,n){this.pos=t,this.end=n,this.kind=e,this.id=0,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.original=void 0,this.emitNode=void 0}function hz(e,t,n){this.pos=t,this.end=n,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.emitNode=void 0}function hR(e,t,n){this.pos=t,this.end=n,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.original=void 0,this.emitNode=void 0}function hB(e,t,n){this.fileName=e,this.text=t,this.skipTrivia=n||(e=>e)}function hU(e){bg.push(e),e(by)}function hJ(e){Object.assign(by,e),f(bg,e=>e(by))}function h$(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return e.replace(/{(\d+)}/g,(e,r)=>""+nd.checkDefined(t[+r+n]))}function hK(e){bb=e}function hV(e){!bb&&e&&(bb=e())}function hY(e){return bb&&bb[e.key]||e.message}function hq(e,t,n,r){cj(void 0,t,n);let i=hY(r);return arguments.length>4&&(i=h$(i,arguments,4)),{file:void 0,start:t,length:n,messageText:i,category:r.category,code:r.code,reportsUnnecessary:r.reportsUnnecessary,fileName:e}}function hW(e,t){let n=[];for(let r of e)n.push(function e(t,n){let r=n.fileName||"",i=n.text.length;nd.assertEqual(t.fileName,r),nd.assertLessThanOrEqual(t.start,i),nd.assertLessThanOrEqual(t.start+t.length,i);let o={file:n,start:t.start,length:t.length,messageText:t.messageText,category:t.category,code:t.code,reportsUnnecessary:t.reportsUnnecessary};if(t.relatedInformation)for(let a of(o.relatedInformation=[],t.relatedInformation))void 0===a.file&&void 0!==a.start&&void 0!==a.length&&"string"==typeof a.fileName&&a.fileName===r?(nd.assertLessThanOrEqual(a.start,i),nd.assertLessThanOrEqual(a.start+a.length,i),o.relatedInformation.push(e(a,n))):o.relatedInformation.push(a);return o}(r,t));return n}function hQ(e,t,n,r){cj(e,t,n);let i=hY(r);return arguments.length>4&&(i=h$(i,arguments,4)),{file:e,start:t,length:n,messageText:i,category:r.category,code:r.code,reportsUnnecessary:r.reportsUnnecessary,reportsDeprecated:r.reportsDeprecated}}function hH(e,t){let n=hY(t);return arguments.length>2&&(n=h$(n,arguments,2)),n}function hG(e){let t=hY(e);return arguments.length>1&&(t=h$(t,arguments,1)),{file:void 0,start:void 0,length:void 0,messageText:t,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary,reportsDeprecated:e.reportsDeprecated}}function hZ(e,t){return{file:void 0,start:void 0,length:void 0,code:e.code,category:e.category,messageText:e.next?e:e.messageText,relatedInformation:t}}function hX(e,t){let n=hY(t);return arguments.length>2&&(n=h$(n,arguments,2)),{messageText:n,category:t.category,code:t.code,next:void 0===e||Array.isArray(e)?e:[e]}}function h0(e,t){let n=e;for(;n.next;)n=n.next[0];n.next=[t]}function h1(e){return e.file?e.file.path:void 0}function h2(e,t){return h3(e,t)||(e.relatedInformation||t.relatedInformation?e.relatedInformation&&t.relatedInformation?tg(e.relatedInformation.length,t.relatedInformation.length)||f(e.relatedInformation,(e,n)=>h2(e,t.relatedInformation[n]))||0:e.relatedInformation?-1:1:0)||0}function h3(e,t){return tS(h1(e),h1(t))||tg(e.start,t.start)||tg(e.length,t.length)||tg(e.code,t.code)||function e(t,n){if("string"==typeof t&&"string"==typeof n)return tS(t,n);if("string"==typeof t)return -1;if("string"==typeof n)return 1;let r=tS(t.messageText,n.messageText);if(r)return r;if(!t.next&&!n.next)return 0;if(!t.next)return -1;if(!n.next)return 1;let i=Math.min(t.next.length,n.next.length);for(let o=0;on.next.length?1:0}(e.messageText,t.messageText)||0}function h4(e){return 4===e||2===e||1===e||6===e?1:0}function h6(e){return e.isDeclarationFile?void 0:function e(t){if(2&t.transformFlags)return u$(t)||DQ(t)?t:Ef(t,e)}(e)}function h5(e){return!!(99===e.impliedNodeFormat||rX(e.fileName,[".cjs",".cts",".mjs",".mts"]))&&!e.isDeclarationFile||void 0}function h8(e){switch(yn(e)){case 3:return e=>{e.externalModuleIndicator=T6(e)||!e.isDeclarationFile||void 0};case 1:return e=>{e.externalModuleIndicator=T6(e)};case 2:let t=[T6];(4===e.jsx||5===e.jsx)&&t.push(h6),t.push(h5);let n=tQ(...t);return e=>void(e.externalModuleIndicator=n(e))}}function h7(e){var t;return null!=(t=e.target)?t:100===e.module&&9||199===e.module&&99||1}function h9(e){return"number"==typeof e.module?e.module:h7(e)>=2?5:1}function ye(e){return e>=5&&e<=99}function yt(e){let t=e.moduleResolution;if(void 0===t)switch(h9(e)){case 1:t=2;break;case 100:t=3;break;case 199:t=99;break;default:t=1}return t}function yn(e){return e.moduleDetection||(100===h9(e)||199===h9(e)?3:2)}function yr(e){switch(h9(e)){case 1:case 2:case 5:case 6:case 7:case 99:case 100:case 199:return!0;default:return!1}}function yi(e){return!!(e.isolatedModules||e.verbatimModuleSyntax)}function yo(e){return e.verbatimModuleSyntax||e.isolatedModules&&e.preserveValueImports}function ya(e){return!1===e.allowUnreachableCode}function ys(e){return!1===e.allowUnusedLabels}function yu(e){return!!(ym(e)&&e.declarationMap)}function yl(e){if(void 0!==e.esModuleInterop)return e.esModuleInterop;switch(h9(e)){case 100:case 199:return!0}}function yc(e){return void 0!==e.allowSyntheticDefaultImports?e.allowSyntheticDefaultImports:yl(e)||4===h9(e)||100===yt(e)}function y_(e){return e>=3&&e<=99||100===e}function yp(e){let t=yt(e);if(!y_(t))return!1;if(void 0!==e.resolvePackageJsonExports)return e.resolvePackageJsonExports;switch(t){case 3:case 99:case 100:return!0}return!1}function yd(e){let t=yt(e);if(!y_(t))return!1;if(void 0!==e.resolvePackageJsonExports)return e.resolvePackageJsonExports;switch(t){case 3:case 99:case 100:return!0}return!1}function yf(e){return void 0!==e.resolveJsonModule?e.resolveJsonModule:100===yt(e)}function ym(e){return!!(e.declaration||e.composite)}function yh(e){return!!(e.preserveConstEnums||yi(e))}function yy(e){return!!(e.incremental||e.composite)}function yg(e,t){return void 0===e[t]?!!e.strict:!!e[t]}function yb(e){return void 0===e.allowJs?!!e.checkJs:e.allowJs}function yv(e){return void 0===e.useDefineForClassFields?h7(e)>=9:e.useDefineForClassFields}function yx(e,t){return lu(t,e,semanticDiagnosticsOptionDeclarations)}function yD(e,t){return lu(t,e,affectsEmitOptionDeclarations)}function yS(e,t){return lu(t,e,affectsDeclarationPathOptionDeclarations)}function yT(e,t){return t.strictFlag?yg(e,t.name):e[t.name]}function yE(e){let t=e.jsx;return 2===t||4===t||5===t}function yw(e,t){let n=null==t?void 0:t.pragmas.get("jsximportsource"),r=e6(n)?n[n.length-1]:n;return 4===e.jsx||5===e.jsx||e.jsxImportSource||r?(null==r?void 0:r.arguments.factory)||e.jsxImportSource||"react":void 0}function yA(e,t){return e?`${e}/${5===t.jsx?"jsx-dev-runtime":"jsx-runtime"}`:void 0}function yC(e){let t=!1;for(let n=0;ni,getSymlinkedDirectories:()=>n,getSymlinkedDirectoriesByRealpath:()=>r,setSymlinkedFile:(e,t)=>(i||(i=new Map)).set(e,t),setSymlinkedDirectory:(i,o)=>{let a=il(i,e,t);gM(a)||(a=i_(a),!1===o||null!=n&&n.has(a)||(r||(r=eX())).add(i_(o.realPath),i),(n||(n=new Map)).set(a,o))},setSymlinksFromResolutions(e,t){var n,r;for(let t of(nd.assert(!o),o=!0,e))null==(n=t.resolvedModules)||n.forEach(e=>a(this,e.resolvedModule)),null==(r=t.resolvedTypeReferenceDirectiveNames)||r.forEach(e=>a(this,e.resolvedTypeReferenceDirective));t.forEach(e=>a(this,e.resolvedTypeReferenceDirective))},hasProcessedResolutions:()=>o};function a(n,r){if(!r||!r.originalPath||!r.resolvedFileName)return;let{resolvedFileName:i,originalPath:o}=r;n.setSymlinkedFile(il(o,e,t),i);let[a,s]=function(e,t,n,r){let i=r7(ia(e,n)),o=r7(ia(t,n)),a=!1;for(;i.length>=2&&o.length>=2&&!yM(i[i.length-2],r)&&!yM(o[o.length-2],r)&&r(i[i.length-1])===r(o[o.length-1]);)i.pop(),o.pop(),a=!0;return a?[r9(i),r9(o)]:void 0}(i,o,e,t)||t8;a&&s&&n.setSymlinkedDirectory(s,{real:a,realPath:il(a,e,t)})}}function yM(e,t){return void 0!==e&&("node_modules"===t(e)||tK(e,"@"))}function yk(e,t,n){let r=tY(e,t,n);return void 0===r?void 0:rK(r.charCodeAt(0))?r.slice(1):void 0}function yI(e){return e.replace(bv,yj)}function yj(e){return"\\"+e}function yO(e,t,n){let r=yP(e,t,n);return r&&r.length?`^(${r.map(e=>`(${e})`).join("|")})${"exclude"===n?"($|/)":"$"}`:void 0}function yP(e,t,n){if(!(void 0===e||0===e.length))return z(e,e=>e&&yz(e,t,n,bA[n]))}function yF(e){return!/[.*?]/.test(e)}function yL(e,t,n){let r=e&&yz(e,t,n,bA[n]);return r&&`^(${r})${"exclude"===n?"($|/)":"$"}`}function yz(e,t,n,r){let{singleAsteriskRegexFragment:i,doubleAsteriskRegexFragment:o,replaceWildcardCharacter:a}=r,s="",u=!1,l=io(e,t),c=eA(l);if("exclude"!==n&&"**"===c)return;l[0]=ic(l[0]),yF(c)&&l.push("**","*");let _=0;for(let e of l){if("**"===e)s+=o;else if("directories"===n&&(s+="(",_++),u&&(s+=iC),"exclude"!==n){let t="";42===e.charCodeAt(0)?(t+="([^./]"+i+")?",e=e.substr(1)):63===e.charCodeAt(0)&&(t+="[^./]",e=e.substr(1)),(t+=e.replace(bv,a))!==e&&(s+=bS),s+=t}else s+=e.replace(bv,a);u=!0}for(;_>0;)s+=")?",_--;return s}function yR(e,t){return"*"===e?t:"?"===e?"[^/]":"\\"+e}function yB(e,t,n,r,i){e=is(e);let o=ir(i=is(i),e);return{includeFilePatterns:O(yP(n,o,"files"),e=>`^${e}$`),includeFilePattern:yO(n,o,"files"),includeDirectoryPattern:yO(n,o,"directories"),excludePattern:yO(t,o,"exclude"),basePaths:function(e,t,n){let r=[e];if(t){let i=[];for(let n of t){let t=rY(n)?n:is(ir(e,n));i.push(function(e){let t=N(e,bx);return t<0?rG(e)?ic(r4(e)):e:e.substring(0,e.lastIndexOf(iC,t))}(t))}for(let t of(i.sort(tT(!n)),i))x(r,r=>!ib(r,t,e,!n))&&r.push(t)}return r}(e,n,r)}}function yU(e,t){return new RegExp(e,t?"":"i")}function yJ(e,t,n,r,i,o,a,s,u){let l=yB(e=is(e),n,r,i,o=is(o)),c=l.includeFilePatterns&&l.includeFilePatterns.map(e=>yU(e,i)),_=l.includeDirectoryPattern&&yU(l.includeDirectoryPattern,i),p=l.excludePattern&&yU(l.excludePattern,i),d=c?c.map(()=>[]):[[]],f=new Map,m=tB(i);for(let e of l.basePaths)!function e(n,r,i){let o=m(u(r));if(f.has(o))return;f.set(o,!0);let{files:a,directories:l}=s(n);for(let e of eg(a,tS)){let i=ir(n,e),o=ir(r,e);if(!(t&&!rX(i,t))&&!(p&&p.test(o))){if(c){let e=T(c,e=>e.test(o));-1!==e&&d[e].push(i)}else d[0].push(i)}}if(!(void 0!==i&&0==--i))for(let t of eg(l,tS)){let o=ir(n,t),a=ir(r,t);(!_||_.test(a))&&(!p||!p.test(a))&&e(o,a,i)}}(e,ir(o,e),a);return L(d)}function y$(e,t){return t||yK(e)||3}function yK(e){switch(e.substr(e.lastIndexOf(".")).toLowerCase()){case".js":case".cjs":case".mjs":return 1;case".jsx":return 2;case".ts":case".cts":case".mts":return 3;case".tsx":return 4;case".json":return 6;default:return 0}}function yV(e,t){let n=e&&yb(e);if(!t||0===t.length)return n?bO:bC;let r=n?bO:bC,i=L(r);return[...r,...$(t,e=>{var t;return 7===e.scriptKind||n&&(1===(t=e.scriptKind)||2===t)&&-1===i.indexOf(e.extension)?[e.extension]:void 0})]}function yY(e,t){return e&&yf(e)?t===bO?bP:t===bC?bM:[...t,[".json"]]:t}function yq(e){return G(bj,t=>rZ(e,t))}function yW(e){return G(bN,t=>rZ(e,t))}function yQ(e){let{imports:t}=e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tQ(yq,yW);return h(t,e=>{let{text:t}=e;return rQ(t)?n(t):void 0})||!1}function yH(e,t,n,r){if("js"===e||99===t)return shouldAllowImportingTsExtension(n)&&2!==i()?3:2;if("minimal"===e)return 0;if("index"===e)return 1;if(!shouldAllowImportingTsExtension(n))return yQ(r)?2:0;return i();function i(){let e=!1;for(let t of r.imports.length?r.imports.map(e=>e.text):_X(r)?(function(e){let t=0,n;for(let r of e.statements){if(t>3)break;_9(r)?n=X(n,r.declarationList.declarations.map(e=>e.initializer)):x7(r)&&_4(r.expression,!0)?n=e_(n,r.expression):t++}return n||t8})(r).map(e=>e.arguments[0].text):t8)if(rQ(t)){if(yW(t))return 3;yq(t)&&(e=!0)}return e?2:0}}function yG(e,t,n){if(!e)return!1;let r=yV(t,n);for(let n of L(yY(t,r)))if(rZ(e,n))return!0;return!1}function yZ(e){let t=e.match(/\//g);return t?t.length:0}function yX(e,t){return tg(yZ(e),yZ(t))}function y0(e){for(let t of bR){let n=y1(e,t);if(void 0!==n)return n}return e}function y1(e,t){return rZ(e,t)?y2(e,t):void 0}function y2(e,t){return e.substring(0,e.length-t.length)}function y3(e,t){return id(e,t,bR,!1)}function y4(e){let t=e.indexOf("*");return -1===t?e:-1!==e.indexOf("*",t+1)?void 0:{prefix:e.substr(0,t),suffix:e.substr(t+1)}}function y6(e){return $(eL(e),e=>y4(e))}function y5(e){return!(e>=0)}function y8(e){return".ts"===e||".tsx"===e||".d.ts"===e||".cts"===e||".mts"===e||".d.mts"===e||".d.cts"===e||tK(e,".d.")&&tk(e,".ts")}function y7(e){return y8(e)||".json"===e}function y9(e){let t=gt(e);return void 0!==t?t:nd.fail(`File ${e} has unknown extension.`)}function ge(e){return void 0!==gt(e)}function gt(e){return D(bR,t=>rZ(e,t))}function gn(e,t){return e.checkJsDirective?e.checkJsDirective.enabled:t.checkJs}function gr(e,t){let n=[];for(let r of e){if(r===t)return t;e8(r)||n.push(r)}return t$(n,e=>e,t)}function gi(e,t){let n=e.indexOf(t);return nd.assert(-1!==n),e.slice(n)}function go(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;rr&&(r=o)}return{min:n,max:r}}function gs(e){return{pos:lW(e),end:e.end}}function gu(e,t){return{pos:t.pos-1,end:Math.min(e.text.length,i4(e.text,t.end)+1)}}function gl(e,t,n){return t.skipLibCheck&&e.isDeclarationFile||t.skipDefaultLibCheck&&e.hasNoDefaultLib||n.isSourceOfProjectReferenceRedirect(e.fileName)}function gc(e,t){return e===t||"object"==typeof e&&null!==e&&"object"==typeof t&&null!==t&&e$(e,t,gc)}function g_(e){let t;switch(e.charCodeAt(1)){case 98:case 66:t=1;break;case 111:case 79:t=3;break;case 120:case 88:t=4;break;default:let n=e.length-1,r=0;for(;48===e.charCodeAt(r);)r++;return e.slice(r,n)||"0"}let i=e.length-1,o=(i-2)*t,a=new Uint16Array((o>>>4)+(15&o?1:0));for(let n=i-1,r=0;n>=2;n--,r+=t){let t=r>>>4,i=e.charCodeAt(n),o=(i<=57?i-48:10+i-(i<=70?65:97))<<(15&r);a[t]|=o;let s=o>>>16;s&&(a[t+1]|=s)}let s="",u=a.length-1,l=!0;for(;l;){let e=0;l=!1;for(let t=u;t>=0;t--){let n=e<<16|a[t],r=n/10|0;a[t]=r,e=n-10*r,r&&!l&&(u=t,l=!0)}s=e+s}return s}function gp(e){let{negative:t,base10Value:n}=e;return(t&&"0"!==n?"-":"")+n}function gd(e){if(gm(e,!1))return gf(e)}function gf(e){let t=e.startsWith("-"),n=g_(`${t?e.slice(1):e}n`);return{negative:t,base10Value:n}}function gm(e,t){if(""===e)return!1;let n=o_(99,!1),r=!0;n.setOnError(()=>r=!1),n.setText(e+"n");let i=n.scan(),o=40===i;o&&(i=n.scan());let a=n.getTokenFlags();return r&&9===i&&n.getTextPos()===e.length+1&&!(512&a)&&(!t||e===gp({negative:o,base10Value:g_(n.getTokenValue())}))}function gh(e){return!!(16777216&e.flags)||_V(e)||function(e){if(79!==e.kind)return!1;let t=ae(e.parent,e=>{switch(e.kind){case 294:return!0;case 208:case 230:return!1;default:return"quit"}});return(null==t?void 0:t.token)===117||(null==t?void 0:t.parent.kind)===261}(e)||function(e){for(;79===e.kind||208===e.kind;)e=e.parent;if(164!==e.kind)return!1;if(f5(e.parent,256))return!0;let t=e.parent.parent.kind;return 261===t||184===t}(e)||!(_$(e)||vk(e)&&D8(e.parent)&&e.parent.name===e)}function gy(e){return v9(e)&&vk(e.typeName)}function gg(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tf;if(e.length<2)return!0;let n=e[0];for(let r=1,i=e.length;rtO(e,t))}function gk(e){if(!e.parent)return;switch(e.kind){case 165:let{parent:t}=e;return 192===t.kind?void 0:t.typeParameters;case 166:return e.parent.parameters;case 201:case 236:return e.parent.templateSpans;case 167:{let{parent:t}=e;return T0(t)?t.modifiers:void 0}case 294:return e.parent.heritageClauses}let{parent:n}=e;if(uq(e))return Sb(e.parent)?void 0:e.parent.tags;switch(n.kind){case 184:case 261:return sG(e)?n.members:void 0;case 189:case 190:return n.types;case 186:case 206:case 357:case 272:case 276:return n.elements;case 207:case 289:return n.properties;case 210:case 211:return s0(e)?n.typeArguments:n.expression===e?void 0:n.arguments;case 281:case 285:return uB(e)?n.children:void 0;case 283:case 282:return s0(e)?n.typeArguments:void 0;case 238:case 292:case 293:case 265:case 308:return n.statements;case 266:return n.clauses;case 260:case 228:return sK(e)?n.members:void 0;case 263:return D9(e)?n.members:void 0}}function gI(e){if(!e.typeParameters){if(G(e.parameters,e=>!fV(e)))return!0;if(216!==e.kind){let t=eD(e.parameters);if(!(t&&fB(t)))return!0}}return!1}function gj(e){return"Infinity"===e||"-Infinity"===e||"NaN"===e}function gO(e){return 257===e.kind&&295===e.parent.kind}function gP(e){let t=e.valueDeclaration&&dX(e.valueDeclaration);return!!t&&(vQ(t)||gO(t))}function gF(e){return 215===e.kind||216===e.kind}function gL(e){return e.replace(/\$/gm,()=>"\\$")}function gz(e){return(+e).toString()===e}function gR(e,t,n,r){return oc(e,t)?vs.createIdentifier(e):!r&&gz(e)&&+e>=0?vs.createNumericLiteral(+e):vs.createStringLiteral(e,!!n)}function gB(e){return!!(262144&e.flags&&e.isThisType)}function gU(e){var t;let n=0,r=0,i=0,o=0,a;(t=a||(a={}))[t.BeforeNodeModules=0]="BeforeNodeModules",t[t.NodeModules=1]="NodeModules",t[t.Scope=2]="Scope",t[t.PackageContent=3]="PackageContent";let s=0,u=0,l=0;for(;u>=0;)switch(s=u,u=e.indexOf("/",s+1),l){case 0:e.indexOf(nodeModulesPathPart,s)===s&&(n=s,r=u,l=1);break;case 1:case 2:1===l&&"@"===e.charAt(s+1)?l=2:(i=u,l=3);break;case 3:l=e.indexOf(nodeModulesPathPart,s)===s?1:3}return o=s,l>1?{topLevelNodeModulesIndex:n,topLevelPackageNameIndex:r,packageRootIndex:i,fileNameIndex:o}:void 0}function gJ(e){var t;return 344===e.kind?null==(t=e.typeExpression)?void 0:t.type:e.type}function g$(e){switch(e.kind){case 165:case 260:case 261:case 262:case 263:case 349:case 341:case 343:return!0;case 270:return e.isTypeOnly;case 273:case 278:return e.parent.parent.isTypeOnly;default:return!1}}function gK(e){return Dv(e)||x5(e)||Dh(e)||Dy(e)||Dg(e)||g$(e)||Dx(e)&&!ca(e)&&!co(e)}function gV(e){if(!su(e))return!1;let{isBracketed:t,typeExpression:n}=e;return t||!!n&&319===n.type.kind}function gY(e,t){if(0===e.length)return!1;let n=e.charCodeAt(0);return 35===n?e.length>1&&ou(e.charCodeAt(1),t):ou(n,t)}function gq(e){var t;return(null==(t=getSnippetElement(e))?void 0:t.kind)===0}function gW(e){return _X(e)&&(e.type&&319===e.type.kind||ag(e).some(e=>{let{isBracketed:t,typeExpression:n}=e;return t||!!n&&319===n.type.kind}))}function gQ(e){switch(e.kind){case 169:case 168:return!!e.questionToken;case 166:return!!e.questionToken||gW(e);case 351:case 344:return gV(e);default:return!1}}function gH(e){let t=e.kind;return(208===t||209===t)&&xZ(e.expression)}function gG(e){return _X(e)&&xj(e)&&uH(e)&&!!aJ(e)}function gZ(e){return nd.checkDefined(gX(e))}function gX(e){let t=aJ(e);return t&&t.typeExpression&&t.typeExpression.type}var g0,g1,g2,g3,g4,g6,g5,g8,g7,g9,be,bt,bn,br,bi,bo,ba,bs,bu,bl,bc,b_,bp,bd,bf,bm,bh,by,bg,bb,bv,bx,bD,bS,bT,bE,bw,bA,bC,bN,bM,bk,bI,bj,bO,bP,bF,bL,bz,bR,bB,bU=c({"src/compiler/utilities.ts"(){var e,t,n,r,i,o,a;let s;wA(),g0=[],g1="tslib",g2=160,g3=1e6,e="",g4={getText:()=>e,write:s=t=>e+=t,rawWrite:s,writeKeyword:s,writeOperator:s,writePunctuation:s,writeSpace:s,writeStringLiteral:s,writeLiteral:s,writeParameter:s,writeProperty:s,writeSymbol:(e,t)=>s(e),writeTrailingSemicolon:s,writeComment:s,getTextPos:()=>e.length,getLine:()=>0,getColumn:()=>0,getIndent:()=>0,isAtStartOfLine:()=>!1,hasTrailingComment:()=>!1,hasTrailingWhitespace:()=>!!e.length&&iG(e.charCodeAt(e.length-1)),writeLine:()=>e+=" ",increaseIndent:tt,decreaseIndent:tt,clear:()=>e=""},(t=g6||{})[t.None=0]="None",t[t.NeverAsciiEscape=1]="NeverAsciiEscape",t[t.JsxAttributeEscape=2]="JsxAttributeEscape",t[t.TerminateUnterminatedLiterals=4]="TerminateUnterminatedLiterals",t[t.AllowNumericSeparator=8]="AllowNumericSeparator",g6=t,g5=/^(\/\/\/\s*/,g8=/^(\/\/\/\s*/,g7=/^(\/\/\/\s*/,g9=/^(\/\/\/\s*/,(n=be||{})[n.None=0]="None",n[n.Definite=1]="Definite",n[n.Compound=2]="Compound",be=n,(r=bt||{})[r.Normal=0]="Normal",r[r.Generator=1]="Generator",r[r.Async=2]="Async",r[r.Invalid=4]="Invalid",r[r.AsyncGenerator=3]="AsyncGenerator",bt=r,(i=bn||{})[i.Left=0]="Left",i[i.Right=1]="Right",bn=i,(o=br||{})[o.Comma=0]="Comma",o[o.Spread=1]="Spread",o[o.Yield=2]="Yield",o[o.Assignment=3]="Assignment",o[o.Conditional=4]="Conditional",o[o.Coalesce=4]="Coalesce",o[o.LogicalOR=5]="LogicalOR",o[o.LogicalAND=6]="LogicalAND",o[o.BitwiseOR=7]="BitwiseOR",o[o.BitwiseXOR=8]="BitwiseXOR",o[o.BitwiseAND=9]="BitwiseAND",o[o.Equality=10]="Equality",o[o.Relational=11]="Relational",o[o.Shift=12]="Shift",o[o.Additive=13]="Additive",o[o.Multiplicative=14]="Multiplicative",o[o.Exponentiation=15]="Exponentiation",o[o.Unary=16]="Unary",o[o.Update=17]="Update",o[o.LeftHandSide=18]="LeftHandSide",o[o.Member=19]="Member",o[o.Primary=20]="Primary",o[o.Highest=20]="Highest",o[o.Lowest=0]="Lowest",o[o.Invalid=-1]="Invalid",br=o,bi=/\$\{/g,bo=/[\\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,ba=/[\\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,bs=/\r\n|[\\\`\u0000-\u001f\t\v\f\b\r\u2028\u2029\u0085]/g,bu=new Map(Object.entries({" ":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","\x85":"\\u0085","\r\n":"\\r\\n"})),bl=/[^\u0000-\u007F]/g,bc=/[\"\u0000-\u001f\u2028\u2029\u0085]/g,b_=/[\'\u0000-\u001f\u2028\u2029\u0085]/g,bp=new Map(Object.entries({'"':""","'":"'"})),bd=[""," "],bf="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bm=`\r +`,bh=` +`,by={getNodeConstructor:()=>hL,getTokenConstructor:()=>hz,getIdentifierConstructor:()=>hR,getPrivateIdentifierConstructor:()=>hL,getSourceFileConstructor:()=>hL,getSymbolConstructor:()=>hO,getTypeConstructor:()=>hP,getSignatureConstructor:()=>hF,getSourceMapSourceConstructor:()=>hB},bg=[],bv=/[^\w\s\/]/g,bx=[42,63],bA={files:bT={singleAsteriskRegexFragment:"([^./]|(\\.(?!min\\.js$))?)*",doubleAsteriskRegexFragment:`(/${bS=`(?!(${(bD=["node_modules","bower_components","jspm_packages"]).join("|")})(/|$))`}[^/.][^/]*)*?`,replaceWildcardCharacter:e=>yR(e,bT.singleAsteriskRegexFragment)},directories:bE={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:`(/${bS}[^/.][^/]*)*?`,replaceWildcardCharacter:e=>yR(e,bE.singleAsteriskRegexFragment)},exclude:bw={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/.+?)?",replaceWildcardCharacter:e=>yR(e,bw.singleAsteriskRegexFragment)}},bN=L(bC=[[".ts",".tsx",".d.ts"],[".cts",".d.cts"],[".mts",".d.mts"]]),bM=[...bC,[".json"]],bk=[".d.ts",".d.cts",".d.mts",".cts",".mts",".ts",".tsx",".cts",".mts"],bj=L(bI=[[".js",".jsx"],[".mjs"],[".cjs"]]),bP=[...bO=[[".ts",".tsx",".d.ts",".js",".jsx"],[".cts",".d.cts",".cjs"],[".mts",".d.mts",".mjs"]],[".json"]],bF=[".d.ts",".d.cts",".d.mts"],bL=[".ts",".cts",".mts",".tsx"],(a=bz||{})[a.Minimal=0]="Minimal",a[a.Index=1]="Index",a[a.JsExtension=2]="JsExtension",a[a.TsExtension=3]="TsExtension",bz=a,bR=[".d.ts",".d.mts",".d.cts",".mjs",".mts",".cjs",".cts",".ts",".js",".tsx",".jsx",".json"],bB={files:t8,directories:t8}}});function bJ(){let e,t,n,r,i;return{createBaseSourceFileNode:function(e){return new(i||(i=by.getSourceFileConstructor()))(e,-1,-1)},createBaseIdentifierNode:function(e){return new(n||(n=by.getIdentifierConstructor()))(e,-1,-1)},createBasePrivateIdentifierNode:function(e){return new(r||(r=by.getPrivateIdentifierConstructor()))(e,-1,-1)},createBaseTokenNode:function(e){return new(t||(t=by.getTokenConstructor()))(e,-1,-1)},createBaseNode:function(t){return new(e||(e=by.getNodeConstructor()))(t,-1,-1)}}}var b$,bK=c({"src/compiler/factory/baseNodeFactory.ts"(){wA()}}),bV=c({"src/compiler/factory/parenthesizerRules.ts"(){wA(),b$={getParenthesizeLeftSideOfBinaryForOperator:e=>to,getParenthesizeRightSideOfBinaryForOperator:e=>to,parenthesizeLeftSideOfBinary:(e,t)=>t,parenthesizeRightSideOfBinary:(e,t,n)=>n,parenthesizeExpressionOfComputedPropertyName:to,parenthesizeConditionOfConditionalExpression:to,parenthesizeBranchOfConditionalExpression:to,parenthesizeExpressionOfExportDefault:to,parenthesizeExpressionOfNew:e=>te(e,us),parenthesizeLeftSideOfAccess:e=>te(e,us),parenthesizeOperandOfPostfixUnary:e=>te(e,us),parenthesizeOperandOfPrefixUnary:e=>te(e,ul),parenthesizeExpressionsOfCommaDelimitedList:e=>te(e,sd),parenthesizeExpressionForDisallowedComma:to,parenthesizeExpressionOfExpressionStatement:to,parenthesizeConciseBodyOfArrowFunction:to,parenthesizeCheckTypeOfConditionalType:to,parenthesizeExtendsTypeOfConditionalType:to,parenthesizeConstituentTypesOfUnionType:e=>te(e,sd),parenthesizeConstituentTypeOfUnionType:to,parenthesizeConstituentTypesOfIntersectionType:e=>te(e,sd),parenthesizeConstituentTypeOfIntersectionType:to,parenthesizeOperandOfTypeOperator:to,parenthesizeOperandOfReadonlyTypeOperator:to,parenthesizeNonArrayTypeOfPostfixType:to,parenthesizeElementTypesOfTupleType:e=>te(e,sd),parenthesizeElementTypeOfTupleType:to,parenthesizeTypeOfOptionalType:to,parenthesizeTypeArguments:e=>e&&te(e,sd),parenthesizeLeadingTypeArgument:to}}}),bY=()=>{},bq=()=>new Proxy({},{get:()=>()=>{}});function bW(e){vr.push(e)}function bQ(e,t){let n=8&e?bH:bG,r=tl(()=>1&e?b$:createParenthesizerRules(g)),i=tl(()=>2&e?nullNodeConverters:bq(g)),o=tc(e=>(t,n)=>tv(t,e,n)),a=tc(e=>t=>tg(e,t)),s=tc(e=>t=>tb(t,e)),u=tc(e=>()=>v(e)),l=tc(e=>t=>nR(e,t)),c=tc(e=>(t,r)=>t.type!==r?n(nR(e,r),t):t),_=tc(e=>(t,n)=>nz(e,t,n)),p=tc(e=>(t,r)=>t.type!==r?n(nz(e,r,t.postfix),t):t),d=tc(e=>(t,n)=>n8(e,t,n)),m=tc(e=>(t,r,i)=>(function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:nK(t),i=arguments.length>3?arguments[3]:void 0;return t.tagName!==r||t.comment!==i?n(n8(e,r,i),t):t})(e,t,r,i)),h=tc(e=>(t,n,r)=>n7(e,t,n,r)),y=tc(e=>(t,r,i,o)=>(function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:nK(t),i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;return t.tagName!==r||t.typeExpression!==i||t.comment!==o?n(n7(e,r,i,o),t):t})(e,t,r,i,o)),g={get parenthesizer(){return r()},get converters(){return i()},baseFactory:t,flags:e,createNodeArray:b,createNumericLiteral:T,createBigIntLiteral:E,createStringLiteral:A,createStringLiteralFromNode:function(e){let t=w(dB(e),void 0);return t.textSourceNode=e,t},createRegularExpressionLiteral:C,createLiteralLikeNode:function(e,t){switch(e){case 8:return T(t,0);case 9:return E(t);case 10:return A(t,void 0);case 11:return ru(t,!1);case 12:return ru(t,!0);case 13:return C(t);case 14:return tA(e,t,void 0,0)}},createIdentifier:k,createTempVariable:I,createLoopVariable:function(e){let t=2;return e&&(t|=8),M("",t,void 0,void 0)},createUniqueName:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;return nd.assert(!(7&t),"Argument out of range: flags"),nd.assert((48&t)!=32,"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic"),M(e,3|t,n,r)},getGeneratedNameForNode:j,createPrivateIdentifier:function(e){return tK(e,"#")||nd.fail("First character of private identifier must be #: "+e),O(ar(e))},createUniquePrivateName:function(e,t,n){e&&!tK(e,"#")&&nd.fail("First character of private identifier must be #: "+e);let r=8|(e?3:1);return P(null!=e?e:"",r,t,n)},getGeneratedPrivateNameForNode:function(e,t,n){let r=P(a1(e)?TJ(!0,t,e,n,ao):`#generated@${getNodeId(e)}`,4|(t||n?16:0),t,n);return r.original=e,r},createToken:L,createSuper:function(){return L(106)},createThis:z,createNull:function(){return L(104)},createTrue:R,createFalse:B,createModifier:function(e){return L(e)},createModifiersFromModifierFlags:J,createQualifiedName:$,updateQualifiedName:function(e,t,r){return e.left!==t||e.right!==r?n($(t,r),e):e},createComputedPropertyName:K,updateComputedPropertyName:function(e,t){return e.expression!==t?n(K(t),e):e},createTypeParameterDeclaration:V,updateTypeParameterDeclaration:Y,createParameterDeclaration:q,updateParameterDeclaration:W,createDecorator:Q,updateDecorator:function(e,t){return e.expression!==t?n(Q(t),e):e},createPropertySignature:H,updatePropertySignature:Z,createPropertyDeclaration:X,updatePropertyDeclaration:ee,createMethodSignature:et,updateMethodSignature:en,createMethodDeclaration:er,updateMethodDeclaration:ei,createConstructorDeclaration:ea,updateConstructorDeclaration:es,createGetAccessorDeclaration:eu,updateGetAccessorDeclaration:el,createSetAccessorDeclaration:ec,updateSetAccessorDeclaration:ep,createCallSignature:ed,updateCallSignature:function(e,t,n,r){return e.typeParameters!==t||e.parameters!==n||e.type!==r?S(ed(t,n,r),e):e},createConstructSignature:ef,updateConstructSignature:function(e,t,n,r){return e.typeParameters!==t||e.parameters!==n||e.type!==r?S(ef(t,n,r),e):e},createIndexSignature:em,updateIndexSignature:eh,createClassStaticBlockDeclaration:eo,updateClassStaticBlockDeclaration:function(e,t){var r;return e.body!==t?((r=eo(t))!==e&&(r.modifiers=e.modifiers),n(r,e)):e},createTemplateLiteralTypeSpan:ey,updateTemplateLiteralTypeSpan:function(e,t,r){return e.type!==t||e.literal!==r?n(ey(t,r),e):e},createKeywordTypeNode:function(e){return L(e)},createTypePredicateNode:eg,updateTypePredicateNode:function(e,t,r,i){return e.assertsModifier!==t||e.parameterName!==r||e.type!==i?n(eg(t,r,i),e):e},createTypeReferenceNode:eb,updateTypeReferenceNode:function(e,t,r){return e.typeName!==t||e.typeArguments!==r?n(eb(t,r),e):e},createFunctionTypeNode:ev,updateFunctionTypeNode:function(e,t,n,r){var i;return e.typeParameters!==t||e.parameters!==n||e.type!==r?((i=ev(t,n,r))!==e&&(i.modifiers=e.modifiers),S(i,e)):e},createConstructorTypeNode:ex,updateConstructorTypeNode:function(){return 5==arguments.length?eS(...arguments):4==arguments.length?function(e,t,n,r){return eS(e,e.modifiers,t,n,r)}(...arguments):nd.fail("Incorrect number of arguments specified.")},createTypeQueryNode:eT,updateTypeQueryNode:function(e,t,r){return e.exprName!==t||e.typeArguments!==r?n(eT(t,r),e):e},createTypeLiteralNode:eE,updateTypeLiteralNode:function(e,t){return e.members!==t?n(eE(t),e):e},createArrayTypeNode:eA,updateArrayTypeNode:function(e,t){return e.elementType!==t?n(eA(t),e):e},createTupleTypeNode:eN,updateTupleTypeNode:function(e,t){return e.elements!==t?n(eN(t),e):e},createNamedTupleMember:eM,updateNamedTupleMember:function(e,t,r,i,o){return e.dotDotDotToken!==t||e.name!==r||e.questionToken!==i||e.type!==o?n(eM(t,r,i,o),e):e},createOptionalTypeNode:ek,updateOptionalTypeNode:function(e,t){return e.type!==t?n(ek(t),e):e},createRestTypeNode:eI,updateRestTypeNode:function(e,t){return e.type!==t?n(eI(t),e):e},createUnionTypeNode:function(e){return ej(189,e,r().parenthesizeConstituentTypesOfUnionType)},updateUnionTypeNode:function(e,t){return eF(e,t,r().parenthesizeConstituentTypesOfUnionType)},createIntersectionTypeNode:function(e){return ej(190,e,r().parenthesizeConstituentTypesOfIntersectionType)},updateIntersectionTypeNode:function(e,t){return eF(e,t,r().parenthesizeConstituentTypesOfIntersectionType)},createConditionalTypeNode:eL,updateConditionalTypeNode:function(e,t,r,i,o){return e.checkType!==t||e.extendsType!==r||e.trueType!==i||e.falseType!==o?n(eL(t,r,i,o),e):e},createInferTypeNode:ez,updateInferTypeNode:function(e,t){return e.typeParameter!==t?n(ez(t),e):e},createImportTypeNode:eB,updateImportTypeNode:function(e,t,r,i,o){let a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e.isTypeOf;return e.argument!==t||e.assertions!==r||e.qualifier!==i||e.typeArguments!==o||e.isTypeOf!==a?n(eB(t,r,i,o,a),e):e},createParenthesizedType:eU,updateParenthesizedType:function(e,t){return e.type!==t?n(eU(t),e):e},createThisTypeNode:function(){let e=v(194);return e.transformFlags=1,e},createTypeOperatorNode:eJ,updateTypeOperatorNode:function(e,t){return e.type!==t?n(eJ(e.operator,t),e):e},createIndexedAccessTypeNode:e$,updateIndexedAccessTypeNode:function(e,t,r){return e.objectType!==t||e.indexType!==r?n(e$(t,r),e):e},createMappedTypeNode:eK,updateMappedTypeNode:function(e,t,r,i,o,a,s){return e.readonlyToken!==t||e.typeParameter!==r||e.nameType!==i||e.questionToken!==o||e.type!==a||e.members!==s?n(eK(t,r,i,o,a,s),e):e},createLiteralTypeNode:eV,updateLiteralTypeNode:function(e,t){return e.literal!==t?n(eV(t),e):e},createTemplateLiteralType:eR,updateTemplateLiteralType:function(e,t,r){return e.head!==t||e.templateSpans!==r?n(eR(t,r),e):e},createObjectBindingPattern:eY,updateObjectBindingPattern:function(e,t){return e.elements!==t?n(eY(t),e):e},createArrayBindingPattern:eq,updateArrayBindingPattern:function(e,t){return e.elements!==t?n(eq(t),e):e},createBindingElement:eW,updateBindingElement:function(e,t,r,i,o){return e.propertyName!==r||e.dotDotDotToken!==t||e.name!==i||e.initializer!==o?n(eW(t,r,i,o),e):e},createArrayLiteralExpression:eQ,updateArrayLiteralExpression:function(e,t){return e.elements!==t?n(eQ(t,e.multiLine),e):e},createObjectLiteralExpression:eH,updateObjectLiteralExpression:function(e,t){return e.properties!==t?n(eH(t,e.multiLine),e):e},createPropertyAccessExpression:4&e?(e,t)=>setEmitFlags(eZ(e,t),262144):eZ,updatePropertyAccessExpression:function(e,t,r){return a3(e)?e0(e,t,e.questionDotToken,te(r,vk)):e.expression!==t||e.name!==r?n(eZ(t,r),e):e},createPropertyAccessChain:4&e?(e,t,n)=>setEmitFlags(eX(e,t,n),262144):eX,updatePropertyAccessChain:e0,createElementAccessExpression:e2,updateElementAccessExpression:function(e,t,r){return a4(e)?e4(e,t,e.questionDotToken,r):e.expression!==t||e.argumentExpression!==r?n(e2(t,r),e):e},createElementAccessChain:e3,updateElementAccessChain:e4,createCallExpression:e8,updateCallExpression:function(e,t,r,i){return a6(e)?e9(e,t,e.questionDotToken,r,i):e.expression!==t||e.typeArguments!==r||e.arguments!==i?n(e8(t,r,i),e):e},createCallChain:e7,updateCallChain:e9,createNewExpression:tt,updateNewExpression:function(e,t,r,i){return e.expression!==t||e.typeArguments!==r||e.arguments!==i?n(tt(t,r,i),e):e},createTaggedTemplateExpression:tn,updateTaggedTemplateExpression:function(e,t,r,i){return e.tag!==t||e.typeArguments!==r||e.template!==i?n(tn(t,r,i),e):e},createTypeAssertion:ti,updateTypeAssertion:to,createParenthesizedExpression:ta,updateParenthesizedExpression:ts,createFunctionExpression:tu,updateFunctionExpression:t_,createArrowFunction:tp,updateArrowFunction:td,createDeleteExpression:tf,updateDeleteExpression:function(e,t){return e.expression!==t?n(tf(t),e):e},createTypeOfExpression:tm,updateTypeOfExpression:function(e,t){return e.expression!==t?n(tm(t),e):e},createVoidExpression:th,updateVoidExpression:function(e,t){return e.expression!==t?n(th(t),e):e},createAwaitExpression:ty,updateAwaitExpression:function(e,t){return e.expression!==t?n(ty(t),e):e},createPrefixUnaryExpression:tg,updatePrefixUnaryExpression:function(e,t){return e.operand!==t?n(tg(e.operator,t),e):e},createPostfixUnaryExpression:tb,updatePostfixUnaryExpression:function(e,t){return e.operand!==t?n(tb(t,e.operator),e):e},createBinaryExpression:tv,updateBinaryExpression:function(e,t,r,i){return e.left!==t||e.operatorToken!==r||e.right!==i?n(tv(t,r,i),e):e},createConditionalExpression:tD,updateConditionalExpression:function(e,t,r,i,o,a){return e.condition!==t||e.questionToken!==r||e.whenTrue!==i||e.colonToken!==o||e.whenFalse!==a?n(tD(t,r,i,o,a),e):e},createTemplateExpression:tS,updateTemplateExpression:function(e,t,r){return e.head!==t||e.templateSpans!==r?n(tS(t,r),e):e},createTemplateHead:function(e,t,n){return tA(15,e=tT(15,e,t,n),t,n)},createTemplateMiddle:function(e,t,n){return tA(16,e=tT(15,e,t,n),t,n)},createTemplateTail:function(e,t,n){return tA(17,e=tT(15,e,t,n),t,n)},createNoSubstitutionTemplateLiteral:function(e,t,n){return tw(14,e=tT(15,e,t,n),t,n)},createTemplateLiteralLikeNode:tA,createYieldExpression:tC,updateYieldExpression:function(e,t,r){return e.expression!==r||e.asteriskToken!==t?n(tC(t,r),e):e},createSpreadElement:tN,updateSpreadElement:function(e,t){return e.expression!==t?n(tN(t),e):e},createClassExpression:tM,updateClassExpression:tk,createOmittedExpression:function(){return v(229)},createExpressionWithTypeArguments:tI,updateExpressionWithTypeArguments:function(e,t,r){return e.expression!==t||e.typeArguments!==r?n(tI(t,r),e):e},createAsExpression:tj,updateAsExpression:tO,createNonNullExpression:tP,updateNonNullExpression:tF,createSatisfiesExpression:tL,updateSatisfiesExpression:tz,createNonNullChain:tR,updateNonNullChain:tB,createMetaProperty:tU,updateMetaProperty:function(e,t){return e.name!==t?n(tU(e.keywordToken,t),e):e},createTemplateSpan:tJ,updateTemplateSpan:function(e,t,r){return e.expression!==t||e.literal!==r?n(tJ(t,r),e):e},createSemicolonClassElement:function(){let e=v(237);return e.transformFlags|=1024,e},createBlock:t$,updateBlock:function(e,t){return e.statements!==t?n(t$(t,e.multiLine),e):e},createVariableStatement:tV,updateVariableStatement:tY,createEmptyStatement:tq,createExpressionStatement:tW,updateExpressionStatement:function(e,t){return e.expression!==t?n(tW(t),e):e},createIfStatement:tQ,updateIfStatement:function(e,t,r,i){return e.expression!==t||e.thenStatement!==r||e.elseStatement!==i?n(tQ(t,r,i),e):e},createDoStatement:tH,updateDoStatement:function(e,t,r){return e.statement!==t||e.expression!==r?n(tH(t,r),e):e},createWhileStatement:tG,updateWhileStatement:function(e,t,r){return e.expression!==t||e.statement!==r?n(tG(t,r),e):e},createForStatement:tZ,updateForStatement:function(e,t,r,i,o){return e.initializer!==t||e.condition!==r||e.incrementor!==i||e.statement!==o?n(tZ(t,r,i,o),e):e},createForInStatement:tX,updateForInStatement:function(e,t,r,i){return e.initializer!==t||e.expression!==r||e.statement!==i?n(tX(t,r,i),e):e},createForOfStatement:t0,updateForOfStatement:function(e,t,r,i,o){return e.awaitModifier!==t||e.initializer!==r||e.expression!==i||e.statement!==o?n(t0(t,r,i,o),e):e},createContinueStatement:t1,updateContinueStatement:function(e,t){return e.label!==t?n(t1(t),e):e},createBreakStatement:t2,updateBreakStatement:function(e,t){return e.label!==t?n(t2(t),e):e},createReturnStatement:t3,updateReturnStatement:function(e,t){return e.expression!==t?n(t3(t),e):e},createWithStatement:t4,updateWithStatement:function(e,t,r){return e.expression!==t||e.statement!==r?n(t4(t,r),e):e},createSwitchStatement:t6,updateSwitchStatement:function(e,t,r){return e.expression!==t||e.caseBlock!==r?n(t6(t,r),e):e},createLabeledStatement:t5,updateLabeledStatement:t7,createThrowStatement:t9,updateThrowStatement:function(e,t){return e.expression!==t?n(t9(t),e):e},createTryStatement:ne,updateTryStatement:function(e,t,r,i){return e.tryBlock!==t||e.catchClause!==r||e.finallyBlock!==i?n(ne(t,r,i),e):e},createDebuggerStatement:function(){let e=v(256);return e.jsDoc=void 0,e.flowNode=void 0,e},createVariableDeclaration:nt,updateVariableDeclaration:function(e,t,r,i,o){return e.name!==t||e.type!==i||e.exclamationToken!==r||e.initializer!==o?n(nt(t,r,i,o),e):e},createVariableDeclarationList:nn,updateVariableDeclarationList:function(e,t){return e.declarations!==t?n(nn(t,e.flags),e):e},createFunctionDeclaration:nr,updateFunctionDeclaration:ni,createClassDeclaration:no,updateClassDeclaration:na,createInterfaceDeclaration:ns,updateInterfaceDeclaration:nu,createTypeAliasDeclaration:nl,updateTypeAliasDeclaration:nc,createEnumDeclaration:n_,updateEnumDeclaration:np,createModuleDeclaration:nf,updateModuleDeclaration:nm,createModuleBlock:nh,updateModuleBlock:function(e,t){return e.statements!==t?n(nh(t),e):e},createCaseBlock:ny,updateCaseBlock:function(e,t){return e.clauses!==t?n(ny(t),e):e},createNamespaceExportDeclaration:ng,updateNamespaceExportDeclaration:function(e,t){var r;return e.name!==t?((r=ng(t))!==e&&(r.modifiers=e.modifiers),n(r,e)):e},createImportEqualsDeclaration:nb,updateImportEqualsDeclaration:nv,createImportDeclaration:nx,updateImportDeclaration:nD,createImportClause:nS,updateImportClause:function(e,t,r,i){return e.isTypeOnly!==t||e.name!==r||e.namedBindings!==i?n(nS(t,r,i),e):e},createAssertClause:nT,updateAssertClause:function(e,t,r){return e.elements!==t||e.multiLine!==r?n(nT(t,r),e):e},createAssertEntry:nE,updateAssertEntry:function(e,t,r){return e.name!==t||e.value!==r?n(nE(t,r),e):e},createImportTypeAssertionContainer:nw,updateImportTypeAssertionContainer:function(e,t,r){return e.assertClause!==t||e.multiLine!==r?n(nw(t,r),e):e},createNamespaceImport:nA,updateNamespaceImport:function(e,t){return e.name!==t?n(nA(t),e):e},createNamespaceExport:nC,updateNamespaceExport:function(e,t){return e.name!==t?n(nC(t),e):e},createNamedImports:nN,updateNamedImports:function(e,t){return e.elements!==t?n(nN(t),e):e},createImportSpecifier:nM,updateImportSpecifier:function(e,t,r,i){return e.isTypeOnly!==t||e.propertyName!==r||e.name!==i?n(nM(t,r,i),e):e},createExportAssignment:nk,updateExportAssignment:nI,createExportDeclaration:nj,updateExportDeclaration:nO,createNamedExports:nP,updateNamedExports:function(e,t){return e.elements!==t?n(nP(t),e):e},createExportSpecifier:nF,updateExportSpecifier:function(e,t,r,i){return e.isTypeOnly!==t||e.propertyName!==r||e.name!==i?n(nF(t,r,i),e):e},createMissingDeclaration:function(){let e=D(279);return e.jsDoc=void 0,e},createExternalModuleReference:nL,updateExternalModuleReference:function(e,t){return e.expression!==t?n(nL(t),e):e},get createJSDocAllType(){return u(315)},get createJSDocUnknownType(){return u(316)},get createJSDocNonNullableType(){return _(318)},get updateJSDocNonNullableType(){return p(318)},get createJSDocNullableType(){return _(317)},get updateJSDocNullableType(){return p(317)},get createJSDocOptionalType(){return l(319)},get updateJSDocOptionalType(){return c(319)},get createJSDocVariadicType(){return l(321)},get updateJSDocVariadicType(){return c(321)},get createJSDocNamepathType(){return l(322)},get updateJSDocNamepathType(){return c(322)},createJSDocFunctionType:nB,updateJSDocFunctionType:function(e,t,r){return e.parameters!==t||e.type!==r?n(nB(t,r),e):e},createJSDocTypeLiteral:nU,updateJSDocTypeLiteral:function(e,t,r){return e.jsDocPropertyTags!==t||e.isArrayType!==r?n(nU(t,r),e):e},createJSDocTypeExpression:nJ,updateJSDocTypeExpression:function(e,t){return e.type!==t?n(nJ(t),e):e},createJSDocSignature:n$,updateJSDocSignature:function(e,t,r,i){return e.typeParameters!==t||e.parameters!==r||e.type!==i?n(n$(t,r,i),e):e},createJSDocTemplateTag:nq,updateJSDocTemplateTag:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nK(e),r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;return e.tagName!==t||e.constraint!==r||e.typeParameters!==i||e.comment!==o?n(nq(t,r,i,o),e):e},createJSDocTypedefTag:nW,updateJSDocTypedefTag:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nK(e),r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;return e.tagName!==t||e.typeExpression!==r||e.fullName!==i||e.comment!==o?n(nW(t,r,i,o),e):e},createJSDocParameterTag:nQ,updateJSDocParameterTag:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nK(e),r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,a=arguments.length>5?arguments[5]:void 0,s=arguments.length>6?arguments[6]:void 0;return e.tagName!==t||e.name!==r||e.isBracketed!==i||e.typeExpression!==o||e.isNameFirst!==a||e.comment!==s?n(nQ(t,r,i,o,a,s),e):e},createJSDocPropertyTag:nH,updateJSDocPropertyTag:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nK(e),r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,a=arguments.length>5?arguments[5]:void 0,s=arguments.length>6?arguments[6]:void 0;return e.tagName!==t||e.name!==r||e.isBracketed!==i||e.typeExpression!==o||e.isNameFirst!==a||e.comment!==s?n(nH(t,r,i,o,a,s),e):e},createJSDocCallbackTag:nG,updateJSDocCallbackTag:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nK(e),r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;return e.tagName!==t||e.typeExpression!==r||e.fullName!==i||e.comment!==o?n(nG(t,r,i,o),e):e},createJSDocOverloadTag:nZ,updateJSDocOverloadTag:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nK(e),r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;return e.tagName!==t||e.typeExpression!==r||e.comment!==i?n(nZ(t,r,i),e):e},createJSDocAugmentsTag:nX,updateJSDocAugmentsTag:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nK(e),r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;return e.tagName!==t||e.class!==r||e.comment!==i?n(nX(t,r,i),e):e},createJSDocImplementsTag:n0,updateJSDocImplementsTag:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nK(e),r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;return e.tagName!==t||e.class!==r||e.comment!==i?n(n0(t,r,i),e):e},createJSDocSeeTag:n1,updateJSDocSeeTag:function(e,t,r,i){return e.tagName!==t||e.name!==r||e.comment!==i?n(n1(t,r,i),e):e},createJSDocNameReference:n2,updateJSDocNameReference:function(e,t){return e.name!==t?n(n2(t),e):e},createJSDocMemberName:n3,updateJSDocMemberName:function(e,t,r){return e.left!==t||e.right!==r?n(n3(t,r),e):e},createJSDocLink:n4,updateJSDocLink:function(e,t,r){return e.name!==t?n(n4(t,r),e):e},createJSDocLinkCode:n6,updateJSDocLinkCode:function(e,t,r){return e.name!==t?n(n6(t,r),e):e},createJSDocLinkPlain:n5,updateJSDocLinkPlain:function(e,t,r){return e.name!==t?n(n5(t,r),e):e},get createJSDocTypeTag(){return h(347)},get updateJSDocTypeTag(){return y(347)},get createJSDocReturnTag(){return h(345)},get updateJSDocReturnTag(){return y(345)},get createJSDocThisTag(){return h(346)},get updateJSDocThisTag(){return y(346)},get createJSDocAuthorTag(){return d(333)},get updateJSDocAuthorTag(){return m(333)},get createJSDocClassTag(){return d(335)},get updateJSDocClassTag(){return m(335)},get createJSDocPublicTag(){return d(336)},get updateJSDocPublicTag(){return m(336)},get createJSDocPrivateTag(){return d(337)},get updateJSDocPrivateTag(){return m(337)},get createJSDocProtectedTag(){return d(338)},get updateJSDocProtectedTag(){return m(338)},get createJSDocReadonlyTag(){return d(339)},get updateJSDocReadonlyTag(){return m(339)},get createJSDocOverrideTag(){return d(340)},get updateJSDocOverrideTag(){return m(340)},get createJSDocDeprecatedTag(){return d(334)},get updateJSDocDeprecatedTag(){return m(334)},get createJSDocThrowsTag(){return h(352)},get updateJSDocThrowsTag(){return y(352)},get createJSDocSatisfiesTag(){return h(353)},get updateJSDocSatisfiesTag(){return y(353)},createJSDocEnumTag:re,updateJSDocEnumTag:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nK(e),r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;return e.tagName!==t||e.typeExpression!==r||e.comment!==i?n(re(t,r,i),e):e},createJSDocUnknownTag:n9,updateJSDocUnknownTag:function(e,t,r){return e.tagName!==t||e.comment!==r?n(n9(t,r),e):e},createJSDocText:rt,updateJSDocText:function(e,t){return e.text!==t?n(rt(t),e):e},createJSDocComment:rn,updateJSDocComment:function(e,t,r){return e.comment!==t||e.tags!==r?n(rn(t,r),e):e},createJsxElement:rr,updateJsxElement:function(e,t,r,i){return e.openingElement!==t||e.children!==r||e.closingElement!==i?n(rr(t,r,i),e):e},createJsxSelfClosingElement:ri,updateJsxSelfClosingElement:function(e,t,r,i){return e.tagName!==t||e.typeArguments!==r||e.attributes!==i?n(ri(t,r,i),e):e},createJsxOpeningElement:ro,updateJsxOpeningElement:function(e,t,r,i){return e.tagName!==t||e.typeArguments!==r||e.attributes!==i?n(ro(t,r,i),e):e},createJsxClosingElement:ra,updateJsxClosingElement:function(e,t){return e.tagName!==t?n(ra(t),e):e},createJsxFragment:rs,createJsxText:ru,updateJsxText:function(e,t,r){return e.text!==t||e.containsOnlyTriviaWhiteSpaces!==r?n(ru(t,r),e):e},createJsxOpeningFragment:function(){let e=v(286);return e.transformFlags|=2,e},createJsxJsxClosingFragment:function(){let e=v(287);return e.transformFlags|=2,e},updateJsxFragment:function(e,t,r,i){return e.openingFragment!==t||e.children!==r||e.closingFragment!==i?n(rs(t,r,i),e):e},createJsxAttribute:rl,updateJsxAttribute:function(e,t,r){return e.name!==t||e.initializer!==r?n(rl(t,r),e):e},createJsxAttributes:rc,updateJsxAttributes:function(e,t){return e.properties!==t?n(rc(t),e):e},createJsxSpreadAttribute:r_,updateJsxSpreadAttribute:function(e,t){return e.expression!==t?n(r_(t),e):e},createJsxExpression:rp,updateJsxExpression:function(e,t){return e.expression!==t?n(rp(e.dotDotDotToken,t),e):e},createCaseClause:rd,updateCaseClause:function(e,t,r){return e.expression!==t||e.statements!==r?n(rd(t,r),e):e},createDefaultClause:rf,updateDefaultClause:function(e,t){return e.statements!==t?n(rf(t),e):e},createHeritageClause:rm,updateHeritageClause:function(e,t){return e.types!==t?n(rm(e.token,t),e):e},createCatchClause:rh,updateCatchClause:function(e,t,r){return e.variableDeclaration!==t||e.block!==r?n(rh(t,r),e):e},createPropertyAssignment:ry,updatePropertyAssignment:function(e,t,r){var i;return e.name!==t||e.initializer!==r?((i=ry(t,r))!==e&&(i.modifiers=e.modifiers,i.questionToken=e.questionToken,i.exclamationToken=e.exclamationToken),n(i,e)):e},createShorthandPropertyAssignment:rg,updateShorthandPropertyAssignment:function(e,t,r){var i;return e.name!==t||e.objectAssignmentInitializer!==r?((i=rg(t,r))!==e&&(i.modifiers=e.modifiers,i.questionToken=e.questionToken,i.exclamationToken=e.exclamationToken,i.equalsToken=e.equalsToken),n(i,e)):e},createSpreadAssignment:rb,updateSpreadAssignment:function(e,t){return e.expression!==t?n(rb(t),e):e},createEnumMember:rv,updateEnumMember:function(e,t,r){return e.name!==t||e.initializer!==r?n(rv(t,r),e):e},createSourceFile:function(e,n,r){let i=t.createBaseSourceFileNode(308);return i.statements=b(e),i.endOfFileToken=n,i.flags|=r,i.text="",i.fileName="",i.path="",i.resolvedPath="",i.originalFileName="",i.languageVersion=0,i.languageVariant=0,i.scriptKind=0,i.isDeclarationFile=!1,i.hasNoDefaultLib=!1,i.transformFlags|=b1(i.statements)|b0(i.endOfFileToken),i.locals=void 0,i.nextContainer=void 0,i.endFlowNode=void 0,i.nodeCount=0,i.identifierCount=0,i.symbolCount=0,i.parseDiagnostics=void 0,i.bindDiagnostics=void 0,i.bindSuggestionDiagnostics=void 0,i.lineMap=void 0,i.externalModuleIndicator=void 0,i.setExternalModuleIndicator=void 0,i.pragmas=void 0,i.checkJsDirective=void 0,i.referencedFiles=void 0,i.typeReferenceDirectives=void 0,i.libReferenceDirectives=void 0,i.amdDependencies=void 0,i.commentDirectives=void 0,i.identifiers=void 0,i.packageJsonLocations=void 0,i.packageJsonScope=void 0,i.imports=void 0,i.moduleAugmentations=void 0,i.ambientModuleNames=void 0,i.resolvedModules=void 0,i.classifiableNames=void 0,i.impliedNodeFormat=void 0,i},updateSourceFile:function(e,t){let r,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.isDeclarationFile,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.referencedFiles,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:e.typeReferenceDirectives,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e.hasNoDefaultLib,u=arguments.length>6&&void 0!==arguments[6]?arguments[6]:e.libReferenceDirectives;return e.statements!==t||e.isDeclarationFile!==i||e.referencedFiles!==o||e.typeReferenceDirectives!==a||e.hasNoDefaultLib!==s||e.libReferenceDirectives!==u?n(((r=rD(e)).statements=b(t),r.isDeclarationFile=i,r.referencedFiles=o,r.typeReferenceDirectives=a,r.hasNoDefaultLib=s,r.libReferenceDirectives=u,r.transformFlags=b1(r.statements)|b0(r.endOfFileToken),r),e):e},createRedirectedSourceFile:rx,createBundle:rS,updateBundle:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t8;return e.sourceFiles!==t||e.prepends!==r?n(rS(t,r),e):e},createUnparsedSource:function(e,t,n){let r=v(310);return r.prologues=e,r.syntheticReferences=t,r.texts=n,r.fileName="",r.text="",r.referencedFiles=t8,r.libReferenceDirectives=t8,r.getLineAndCharacterOfPosition=e=>iH(r,e),r},createUnparsedPrologue:function(e){return rT(303,e)},createUnparsedPrepend:function(e,t){let n=rT(304,e);return n.texts=t,n},createUnparsedTextLike:function(e,t){return rT(t?306:305,e)},createUnparsedSyntheticReference:function(e){let t=v(307);return t.data=e.data,t.section=e,t},createInputFiles:function(){let e=v(311);return e.javascriptText="",e.declarationText="",e},createSyntheticExpression:function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,r=v(234);return r.type=e,r.isSpread=t,r.tupleNameSource=n,r},createSyntaxList:function(e){let t=v(354);return t._children=e,t},createNotEmittedStatement:function(e){let t=v(355);return t.original=e,TZ(t,e),t},createPartiallyEmittedExpression:rE,updatePartiallyEmittedExpression:rw,createCommaListExpression:rC,updateCommaListExpression:function(e,t){return e.elements!==t?n(rC(t),e):e},createEndOfDeclarationMarker:function(e){let t=v(359);return t.emitNode={},t.original=e,t},createMergeDeclarationMarker:function(e){let t=v(358);return t.emitNode={},t.original=e,t},createSyntheticReferenceExpression:rN,updateSyntheticReferenceExpression:function(e,t,r){return e.expression!==t||e.thisArg!==r?n(rN(t,r),e):e},cloneNode:rM,get createComma(){return o(27)},get createAssignment(){return o(63)},get createLogicalOr(){return o(56)},get createLogicalAnd(){return o(55)},get createBitwiseOr(){return o(51)},get createBitwiseXor(){return o(52)},get createBitwiseAnd(){return o(50)},get createStrictEquality(){return o(36)},get createStrictInequality(){return o(37)},get createEquality(){return o(34)},get createInequality(){return o(35)},get createLessThan(){return o(29)},get createLessThanEquals(){return o(32)},get createGreaterThan(){return o(31)},get createGreaterThanEquals(){return o(33)},get createLeftShift(){return o(47)},get createRightShift(){return o(48)},get createUnsignedRightShift(){return o(49)},get createAdd(){return o(39)},get createSubtract(){return o(40)},get createMultiply(){return o(41)},get createDivide(){return o(43)},get createModulo(){return o(44)},get createExponent(){return o(42)},get createPrefixPlus(){return a(39)},get createPrefixMinus(){return a(40)},get createPrefixIncrement(){return a(45)},get createPrefixDecrement(){return a(46)},get createBitwiseNot(){return a(54)},get createLogicalNot(){return a(53)},get createPostfixIncrement(){return s(45)},get createPostfixDecrement(){return s(46)},createImmediatelyInvokedFunctionExpression:function(e,t,n){return e8(tu(void 0,void 0,void 0,void 0,t?[t]:[],void 0,t$(e,!0)),void 0,n?[n]:[])},createImmediatelyInvokedArrowFunction:function(e,t,n){return e8(tp(void 0,void 0,t?[t]:[],void 0,void 0,t$(e,!0)),void 0,n?[n]:[])},createVoidZero:rk,createExportDefault:function(e){return nk(void 0,!1,e)},createExternalModuleExport:function(e){return nj(void 0,!1,nP([nF(!1,void 0,e)]))},createTypeCheck:function(e,t){return"undefined"===t?g.createStrictEquality(e,rk()):g.createStrictEquality(tm(e),A(t))},createMethodCall:rI,createGlobalMethodCall:rj,createFunctionBindCall:function(e,t,n){return rI(e,"bind",[t,...n])},createFunctionCallCall:function(e,t,n){return rI(e,"call",[t,...n])},createFunctionApplyCall:function(e,t,n){return rI(e,"apply",[t,n])},createArraySliceCall:function(e,t){return rI(e,"slice",void 0===t?[]:[rV(t)])},createArrayConcatCall:function(e,t){return rI(e,"concat",t)},createObjectDefinePropertyCall:function(e,t,n){return rj("Object","defineProperty",[e,rV(t),n])},createObjectGetOwnPropertyDescriptorCall:function(e,t){return rj("Object","getOwnPropertyDescriptor",[e,rV(t)])},createReflectGetCall:function(e,t,n){return rj("Reflect","get",n?[e,t,n]:[e,t])},createReflectSetCall:function(e,t,n,r){return rj("Reflect","set",r?[e,t,n,r]:[e,t,n])},createPropertyDescriptor:function(e,t){let n=[];rO(n,"enumerable",rV(e.enumerable)),rO(n,"configurable",rV(e.configurable));let r=rO(n,"writable",rV(e.writable));r=rO(n,"value",e.value)||r;let i=rO(n,"get",e.get);return i=rO(n,"set",e.set)||i,nd.assert(!(r&&i),"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor."),eH(n,!t)},createCallBinding:function(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=Ta(e,15),a,s;return _M(o)?(a=z(),s=o):v$(o)?(a=z(),s=void 0!==n&&n<2?TZ(k("_super"),o):o):8192&l2(o)?(a=rk(),s=r().parenthesizeLeftSideOfAccess(o,!1)):xA(o)?rP(o.expression,i)?(a=I(t),s=eZ(TZ(g.createAssignment(a,o.expression),o.expression),o.name),TZ(s,o)):(a=o.expression,s=o):xC(o)?rP(o.expression,i)?(a=I(t),s=e2(TZ(g.createAssignment(a,o.expression),o.expression),o.argumentExpression),TZ(s,o)):(a=o.expression,s=o):(a=rk(),s=r().parenthesizeLeftSideOfAccess(e,!1)),{target:s,thisArg:a}},createAssignmentTargetWrapper:function(e,t){return eZ(ta(eH([ec(void 0,"value",[q(void 0,void 0,e,void 0,void 0,void 0)],t$([tW(t)]))])),"value")},inlineExpressions:function(e){return e.length>10?rC(e):eO(e,g.createComma)},getInternalName:function(e,t,n){return rF(e,t,n,98304)},getLocalName:function(e,t,n){return rF(e,t,n,32768)},getExportName:rL,getDeclarationName:function(e,t,n){return rF(e,t,n)},getNamespaceMemberName:rz,getExternalModuleOrNamespaceExportName:function(e,t,n,r){return e&&f5(t,1)?rz(e,rF(t),n,r):rL(t,n,r)},restoreOuterExpressions:function e(t,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:15;return t&&To(t,r)&&!(xj(t)&&d1(t)&&d1(getSourceMapRange(t))&&d1(getCommentRange(t))&&!G(getSyntheticLeadingComments(t))&&!G(getSyntheticTrailingComments(t)))?function(e,t){switch(e.kind){case 214:return ts(e,t);case 213:return to(e,e.type,t);case 231:return tO(e,t,e.type);case 235:return tz(e,t,e.type);case 232:return tF(e,t);case 356:return rw(e,t)}}(t,e(t.expression,n)):n},restoreEnclosingLabel:function e(t,n,r){if(!n)return t;let i=t7(n,n.label,Dc(n.statement)?e(t,n.statement):t);return r&&r(n),i},createUseStrictPrologue:rR,copyPrologue:function(e,t,n,r){let i=rB(e,t,0,n);return rU(e,t,i,r)},copyStandardPrologue:rB,copyCustomPrologue:rU,ensureUseStrict:function(e){return S9(e)?e:TZ(b([rR(),...e]),e)},liftToBlock:function(e){return nd.assert(x(e,uL),"Cannot lift nodes to a Block."),eC(e)||t$(e)},mergeLexicalEnvironment:function(e,t){if(!G(t))return e;let n=rJ(e,cG,0),r=rJ(e,cX,n),i=rJ(e,c1,r),o=rJ(t,cG,0),a=rJ(t,cX,o),s=rJ(t,c1,a),u=rJ(t,cZ,s);nd.assert(u===t.length,"Expected declarations to be valid standard or custom prologues");let l=sd(e)?e.slice():e;if(u>s&&l.splice(i,0,...t.slice(s,u)),s>a&&l.splice(r,0,...t.slice(a,s)),a>o&&l.splice(n,0,...t.slice(o,a)),o>0){if(0===n)l.splice(0,0,...t.slice(0,o));else{let r=new Map;for(let t=0;t=0;e--){let n=t[e];r.has(n.expression.text)||l.unshift(n)}}}return sd(e)?TZ(b(l,e.hasTrailingComma),e):e},updateModifiers:function(e,t){var n;let r;return r="number"==typeof t?J(t):t,vW(e)?Y(e,r,e.name,e.constraint,e.default):vQ(e)?W(e,r,e.dotDotDotToken,e.name,e.questionToken,e.type,e.initializer):xt(e)?eS(e,r,e.typeParameters,e.parameters,e.type):vG(e)?Z(e,r,e.name,e.questionToken,e.type):vZ(e)?ee(e,r,e.name,null!=(n=e.questionToken)?n:e.exclamationToken,e.type,e.initializer):vX(e)?en(e,r,e.name,e.questionToken,e.typeParameters,e.parameters,e.type):v0(e)?ei(e,r,e.asteriskToken,e.name,e.questionToken,e.typeParameters,e.parameters,e.type,e.body):v2(e)?es(e,r,e.parameters,e.body):v3(e)?el(e,r,e.name,e.parameters,e.type,e.body):v4(e)?ep(e,r,e.name,e.parameters,e.body):v8(e)?eh(e,r,e.parameters,e.type):xO(e)?t_(e,r,e.asteriskToken,e.name,e.typeParameters,e.parameters,e.type,e.body):xP(e)?td(e,r,e.typeParameters,e.parameters,e.type,e.equalsGreaterThanToken,e.body):xq(e)?tk(e,r,e.name,e.typeParameters,e.heritageClauses,e.members):x5(e)?tY(e,r,e.declarationList):Dh(e)?ni(e,r,e.asteriskToken,e.name,e.typeParameters,e.parameters,e.type,e.body):Dy(e)?na(e,r,e.name,e.typeParameters,e.heritageClauses,e.members):Dg(e)?nu(e,r,e.name,e.typeParameters,e.heritageClauses,e.members):Db(e)?nc(e,r,e.name,e.typeParameters,e.type):Dv(e)?np(e,r,e.name,e.members):Dx(e)?nm(e,r,e.name,e.body):DE(e)?nv(e,r,e.isTypeOnly,e.name,e.moduleReference):Dw(e)?nD(e,r,e.importClause,e.moduleSpecifier,e.assertClause):DP(e)?nI(e,r,e.expression):DF(e)?nO(e,r,e.isTypeOnly,e.exportClause,e.moduleSpecifier,e.assertClause):nd.assertNever(e)}};return f(vr,e=>e(g)),g;function b(e,t){if(void 0===e||e===t8)e=[];else if(sd(e)){if(void 0===t||e.hasTrailingComma===t)return void 0===e.transformFlags&&b2(e),nd.attachNodeArrayDebugInfo(e),e;let n=e.slice();return n.pos=e.pos,n.end=e.end,n.hasTrailingComma=t,n.transformFlags=e.transformFlags,nd.attachNodeArrayDebugInfo(n),n}let n=e.length,r=n>=1&&n<=4?e.slice():e;return r.pos=-1,r.end=-1,r.hasTrailingComma=!!t,r.transformFlags=0,b2(r),nd.attachNodeArrayDebugInfo(r),r}function v(e){return t.createBaseNode(e)}function D(e){let t=v(e);return t.symbol=void 0,t.localSymbol=void 0,t}function S(e,t){return e!==t&&(e.typeArguments=t.typeArguments),n(e,t)}function T(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=D(8);return n.text="number"==typeof e?e+"":e,n.numericLiteralFlags=t,384&t&&(n.transformFlags|=1024),n}function E(e){let t=F(9);return t.text="string"==typeof e?e:gp(e)+"n",t.transformFlags|=4,t}function w(e,t){let n=D(10);return n.text=e,n.singleQuote=t,n}function A(e,t,n){let r=w(e,t);return r.hasExtendedUnicodeEscape=n,n&&(r.transformFlags|=1024),r}function C(e){let t=F(13);return t.text=e,t}function N(e){let n=t.createBaseIdentifierNode(79);return n.escapedText=e,n.jsDoc=void 0,n.flowNode=void 0,n.symbol=void 0,n}function M(e,t,n,r){let i=N(ar(e));return setIdentifierAutoGenerate(i,{flags:t,id:vt,prefix:n,suffix:r}),vt++,i}function k(e,t,n){void 0===t&&e&&(t=iJ(e)),79===t&&(t=void 0);let r=N(ar(e));return n&&(r.flags|=128),"await"===r.escapedText&&(r.transformFlags|=67108864),128&r.flags&&(r.transformFlags|=1024),r}function I(e,t,n,r){let i=1;t&&(i|=8);let o=M("",i,n,r);return e&&e(o),o}function j(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;nd.assert(!(7&t),"Argument out of range: flags");let i=e?a1(e)?TJ(!1,n,e,r,ao):`generated@${getNodeId(e)}`:"";(n||r)&&(t|=16);let o=M(i,4|t,n,r);return o.original=e,o}function O(e){let n=t.createBasePrivateIdentifierNode(80);return n.escapedText=e,n.transformFlags|=16777216,n}function P(e,t,n,r){let i=O(ar(e));return setIdentifierAutoGenerate(i,{flags:t,id:vt,prefix:n,suffix:r}),vt++,i}function F(e){return t.createBaseTokenNode(e)}function L(e){nd.assert(e>=0&&e<=162,"Invalid token"),nd.assert(e<=14||e>=17,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals."),nd.assert(e<=8||e>=14,"Invalid token. Use 'createLiteralLikeNode' to create literals."),nd.assert(79!==e,"Invalid token. Use 'createIdentifier' to create identifiers");let t=F(e),n=0;switch(e){case 132:n=384;break;case 123:case 121:case 122:case 146:case 126:case 136:case 85:case 131:case 148:case 160:case 144:case 149:case 101:case 145:case 161:case 152:case 134:case 153:case 114:case 157:case 155:n=1;break;case 106:n=134218752,t.flowNode=void 0;break;case 124:n=1024;break;case 127:n=16777216;break;case 108:n=16384,t.flowNode=void 0}return n&&(t.transformFlags|=n),t}function z(){return L(108)}function R(){return L(110)}function B(){return L(95)}function J(e){let t=[];return 1&e&&t.push(L(93)),2&e&&t.push(L(136)),1024&e&&t.push(L(88)),2048&e&&t.push(L(85)),4&e&&t.push(L(123)),8&e&&t.push(L(121)),16&e&&t.push(L(122)),256&e&&t.push(L(126)),32&e&&t.push(L(124)),16384&e&&t.push(L(161)),64&e&&t.push(L(146)),128&e&&t.push(L(127)),512&e&&t.push(L(132)),32768&e&&t.push(L(101)),65536&e&&t.push(L(145)),t.length?t:void 0}function $(e,t){var n;let r=v(163);return r.left=e,r.right=rK(t),r.transformFlags|=b0(r.left)|-67108865&b0(r.right),r.flowNode=void 0,r}function K(e){let t=v(164);return t.expression=r().parenthesizeExpressionOfComputedPropertyName(e),t.transformFlags|=132096|b0(t.expression),t}function V(e,t,n,r){let i=D(165);return i.modifiers=r$(e),i.name=rK(t),i.constraint=n,i.default=r,i.transformFlags=1,i.expression=void 0,i.jsDoc=void 0,i}function Y(e,t,r,i,o){return e.modifiers!==t||e.name!==r||e.constraint!==i||e.default!==o?n(V(t,r,i,o),e):e}function q(e,t,n,r,i,o){var a,s;let u=D(166);return u.modifiers=r$(e),u.dotDotDotToken=t,u.name=rK(n),u.questionToken=r,u.type=i,u.initializer=rY(o),fU(u.name)?u.transformFlags=1:u.transformFlags=b1(u.modifiers)|b0(u.dotDotDotToken)|bX(u.name)|b0(u.questionToken)|b0(u.initializer)|((null!=(a=u.questionToken)?a:u.type)?1:0)|((null!=(s=u.dotDotDotToken)?s:u.initializer)?1024:0)|(16476&mf(u.modifiers)?8192:0),u.jsDoc=void 0,u}function W(e,t,r,i,o,a,s){return e.modifiers!==t||e.dotDotDotToken!==r||e.name!==i||e.questionToken!==o||e.type!==a||e.initializer!==s?n(q(t,r,i,o,a,s),e):e}function Q(e){let t=v(167);return t.expression=r().parenthesizeLeftSideOfAccess(e,!1),t.transformFlags|=33562625|b0(t.expression),t}function H(e,t,n,r){let i=D(168);return i.modifiers=r$(e),i.name=rK(t),i.type=r,i.questionToken=n,i.transformFlags=1,i.initializer=void 0,i.jsDoc=void 0,i}function Z(e,t,r,i,o){var a;return e.modifiers!==t||e.name!==r||e.questionToken!==i||e.type!==o?((a=H(t,r,i,o))!==e&&(a.initializer=e.initializer),n(a,e)):e}function X(e,t,n,r,i){let o=D(169);o.modifiers=r$(e),o.name=rK(t),o.questionToken=n&&vA(n)?n:void 0,o.exclamationToken=n&&vw(n)?n:void 0,o.type=r,o.initializer=rY(i);let a=16777216&o.flags||2&mf(o.modifiers);return o.transformFlags=b1(o.modifiers)|bX(o.name)|b0(o.initializer)|(a||o.questionToken||o.exclamationToken||o.type?1:0)|(vq(o.name)||32&mf(o.modifiers)&&o.initializer?8192:0)|16777216,o.jsDoc=void 0,o}function ee(e,t,r,i,o,a){return e.modifiers!==t||e.name!==r||e.questionToken!==(void 0!==i&&vA(i)?i:void 0)||e.exclamationToken!==(void 0!==i&&vw(i)?i:void 0)||e.type!==o||e.initializer!==a?n(X(t,r,i,o,a),e):e}function et(e,t,n,r,i,o){let a=D(170);return a.modifiers=r$(e),a.name=rK(t),a.questionToken=n,a.typeParameters=r$(r),a.parameters=r$(i),a.type=o,a.transformFlags=1,a.jsDoc=void 0,a.locals=void 0,a.nextContainer=void 0,a.typeArguments=void 0,a}function en(e,t,n,r,i,o,a){return e.modifiers!==t||e.name!==n||e.questionToken!==r||e.typeParameters!==i||e.parameters!==o||e.type!==a?S(et(t,n,r,i,o,a),e):e}function er(e,t,n,r,i,o,a,s){let u=D(171);if(u.modifiers=r$(e),u.asteriskToken=t,u.name=rK(n),u.questionToken=r,u.exclamationToken=void 0,u.typeParameters=r$(i),u.parameters=b(o),u.type=a,u.body=s,u.body){let e=512&mf(u.modifiers),t=!!u.asteriskToken;u.transformFlags=b1(u.modifiers)|b0(u.asteriskToken)|bX(u.name)|b0(u.questionToken)|b1(u.typeParameters)|b1(u.parameters)|b0(u.type)|-67108865&b0(u.body)|(e&&t?128:e?256:t?2048:0)|(u.questionToken||u.typeParameters||u.type?1:0)|1024}else u.transformFlags=1;return u.typeArguments=void 0,u.jsDoc=void 0,u.locals=void 0,u.nextContainer=void 0,u.flowNode=void 0,u.endFlowNode=void 0,u.returnFlowNode=void 0,u}function ei(e,t,r,i,o,a,s,u,l){var c;return e.modifiers!==t||e.asteriskToken!==r||e.name!==i||e.questionToken!==o||e.typeParameters!==a||e.parameters!==s||e.type!==u||e.body!==l?((c=er(t,r,i,o,a,s,u,l))!==e&&(c.exclamationToken=e.exclamationToken),n(c,e)):e}function eo(e){let t=D(172);return t.body=e,t.transformFlags=16777216|b0(e),t.modifiers=void 0,t.jsDoc=void 0,t.locals=void 0,t.nextContainer=void 0,t.endFlowNode=void 0,t.returnFlowNode=void 0,t}function ea(e,t,n){let r=D(173);return r.modifiers=r$(e),r.parameters=b(t),r.body=n,r.transformFlags=b1(r.modifiers)|b1(r.parameters)|-67108865&b0(r.body)|1024,r.typeParameters=void 0,r.type=void 0,r.typeArguments=void 0,r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r.endFlowNode=void 0,r.returnFlowNode=void 0,r}function es(e,t,n,r){var i;return e.modifiers!==t||e.parameters!==n||e.body!==r?((i=ea(t,n,r))!==e&&(i.typeParameters=e.typeParameters,i.type=e.type),S(i,e)):e}function eu(e,t,n,r,i){let o=D(174);return o.modifiers=r$(e),o.name=rK(t),o.parameters=b(n),o.type=r,o.body=i,o.body?o.transformFlags=b1(o.modifiers)|bX(o.name)|b1(o.parameters)|b0(o.type)|-67108865&b0(o.body)|(o.type?1:0):o.transformFlags=1,o.typeArguments=void 0,o.typeParameters=void 0,o.jsDoc=void 0,o.locals=void 0,o.nextContainer=void 0,o.flowNode=void 0,o.endFlowNode=void 0,o.returnFlowNode=void 0,o}function el(e,t,n,r,i,o){var a;return e.modifiers!==t||e.name!==n||e.parameters!==r||e.type!==i||e.body!==o?((a=eu(t,n,r,i,o))!==e&&(a.typeParameters=e.typeParameters),S(a,e)):e}function ec(e,t,n,r){let i=D(175);return i.modifiers=r$(e),i.name=rK(t),i.parameters=b(n),i.body=r,i.body?i.transformFlags=b1(i.modifiers)|bX(i.name)|b1(i.parameters)|-67108865&b0(i.body)|(i.type?1:0):i.transformFlags=1,i.typeArguments=void 0,i.typeParameters=void 0,i.type=void 0,i.jsDoc=void 0,i.locals=void 0,i.nextContainer=void 0,i.flowNode=void 0,i.endFlowNode=void 0,i.returnFlowNode=void 0,i}function ep(e,t,n,r,i){var o;return e.modifiers!==t||e.name!==n||e.parameters!==r||e.body!==i?((o=ec(t,n,r,i))!==e&&(o.typeParameters=e.typeParameters,o.type=e.type),S(o,e)):e}function ed(e,t,n){let r=D(176);return r.typeParameters=r$(e),r.parameters=r$(t),r.type=n,r.transformFlags=1,r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r.typeArguments=void 0,r}function ef(e,t,n){let r=D(177);return r.typeParameters=r$(e),r.parameters=r$(t),r.type=n,r.transformFlags=1,r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r.typeArguments=void 0,r}function em(e,t,n){let r=D(178);return r.modifiers=r$(e),r.parameters=r$(t),r.type=n,r.transformFlags=1,r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r.typeArguments=void 0,r}function eh(e,t,n,r){return e.parameters!==n||e.type!==r||e.modifiers!==t?S(em(t,n,r),e):e}function ey(e,t){let n=v(201);return n.type=e,n.literal=t,n.transformFlags=1,n}function eg(e,t,n){let r=v(179);return r.assertsModifier=e,r.parameterName=rK(t),r.type=n,r.transformFlags=1,r}function eb(e,t){let n=v(180);return n.typeName=rK(e),n.typeArguments=t&&r().parenthesizeTypeArguments(b(t)),n.transformFlags=1,n}function ev(e,t,n){let r=D(181);return r.typeParameters=r$(e),r.parameters=r$(t),r.type=n,r.transformFlags=1,r.modifiers=void 0,r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r.typeArguments=void 0,r}function ex(){return 4==arguments.length?eD(...arguments):3==arguments.length?function(e,t,n){return eD(void 0,e,t,n)}(...arguments):nd.fail("Incorrect number of arguments specified.")}function eD(e,t,n,r){let i=D(182);return i.modifiers=r$(e),i.typeParameters=r$(t),i.parameters=r$(n),i.type=r,i.transformFlags=1,i.jsDoc=void 0,i.locals=void 0,i.nextContainer=void 0,i.typeArguments=void 0,i}function eS(e,t,n,r,i){return e.modifiers!==t||e.typeParameters!==n||e.parameters!==r||e.type!==i?S(ex(t,n,r,i),e):e}function eT(e,t){let n=v(183);return n.exprName=e,n.typeArguments=t&&r().parenthesizeTypeArguments(t),n.transformFlags=1,n}function eE(e){let t=D(184);return t.members=b(e),t.transformFlags=1,t}function eA(e){let t=v(185);return t.elementType=r().parenthesizeNonArrayTypeOfPostfixType(e),t.transformFlags=1,t}function eN(e){let t=v(186);return t.elements=b(r().parenthesizeElementTypesOfTupleType(e)),t.transformFlags=1,t}function eM(e,t,n,r){let i=D(199);return i.dotDotDotToken=e,i.name=t,i.questionToken=n,i.type=r,i.transformFlags=1,i.jsDoc=void 0,i}function ek(e){let t=v(187);return t.type=r().parenthesizeTypeOfOptionalType(e),t.transformFlags=1,t}function eI(e){let t=v(188);return t.type=e,t.transformFlags=1,t}function ej(e,t,n){let r=v(e);return r.types=g.createNodeArray(n(t)),r.transformFlags=1,r}function eF(e,t,r){return e.types!==t?n(ej(e.kind,t,r),e):e}function eL(e,t,n,i){let o=v(191);return o.checkType=r().parenthesizeCheckTypeOfConditionalType(e),o.extendsType=r().parenthesizeExtendsTypeOfConditionalType(t),o.trueType=n,o.falseType=i,o.transformFlags=1,o.locals=void 0,o.nextContainer=void 0,o}function ez(e){let t=v(192);return t.typeParameter=e,t.transformFlags=1,t}function eR(e,t){let n=v(200);return n.head=e,n.templateSpans=b(t),n.transformFlags=1,n}function eB(e,t,n,i){let o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=v(202);return a.argument=e,a.assertions=t,a.qualifier=n,a.typeArguments=i&&r().parenthesizeTypeArguments(i),a.isTypeOf=o,a.transformFlags=1,a}function eU(e){let t=v(193);return t.type=e,t.transformFlags=1,t}function eJ(e,t){let n=v(195);return n.operator=e,n.type=146===e?r().parenthesizeOperandOfReadonlyTypeOperator(t):r().parenthesizeOperandOfTypeOperator(t),n.transformFlags=1,n}function e$(e,t){let n=v(196);return n.objectType=r().parenthesizeNonArrayTypeOfPostfixType(e),n.indexType=t,n.transformFlags=1,n}function eK(e,t,n,r,i,o){let a=D(197);return a.readonlyToken=e,a.typeParameter=t,a.nameType=n,a.questionToken=r,a.type=i,a.members=o&&b(o),a.transformFlags=1,a.locals=void 0,a.nextContainer=void 0,a}function eV(e){let t=v(198);return t.literal=e,t.transformFlags=1,t}function eY(e){let t=v(203);return t.elements=b(e),t.transformFlags|=525312|b1(t.elements),32768&t.transformFlags&&(t.transformFlags|=65664),t}function eq(e){let t=v(204);return t.elements=b(e),t.transformFlags|=525312|b1(t.elements),t}function eW(e,t,n,r){let i=D(205);return i.dotDotDotToken=e,i.propertyName=rK(t),i.name=rK(n),i.initializer=rY(r),i.transformFlags|=b0(i.dotDotDotToken)|bX(i.propertyName)|bX(i.name)|b0(i.initializer)|(i.dotDotDotToken?32768:0)|1024,i.flowNode=void 0,i}function eQ(e,t){let n=v(206),i=e&&ew(e),o=b(e,!!(i&&xW(i))||void 0);return n.elements=r().parenthesizeExpressionsOfCommaDelimitedList(o),n.multiLine=t,n.transformFlags|=b1(n.elements),n}function eH(e,t){let n=D(207);return n.properties=b(e),n.multiLine=t,n.transformFlags|=b1(n.properties),n.jsDoc=void 0,n}function eG(e,t,n){var r;let i=D(208);return i.expression=e,i.questionDotToken=t,i.name=n,i.transformFlags=b0(i.expression)|b0(i.questionDotToken)|(vk(i.name)?-67108865&b0(i.name):536870912|b0(i.name)),i.jsDoc=void 0,i.flowNode=void 0,i}function eZ(e,t){let n=eG(r().parenthesizeLeftSideOfAccess(e,!1),void 0,rK(t));return v$(e)&&(n.transformFlags|=384),n}function eX(e,t,n){let i=eG(r().parenthesizeLeftSideOfAccess(e,!0),t,rK(n));return i.flags|=32,i.transformFlags|=32,i}function e0(e,t,r,i){return nd.assert(!!(32&e.flags),"Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead."),e.expression!==t||e.questionDotToken!==r||e.name!==i?n(eX(t,r,i),e):e}function e1(e,t,n){let r=D(209);return r.expression=e,r.questionDotToken=t,r.argumentExpression=n,r.transformFlags|=b0(r.expression)|b0(r.questionDotToken)|b0(r.argumentExpression),r.jsDoc=void 0,r.flowNode=void 0,r}function e2(e,t){let n=e1(r().parenthesizeLeftSideOfAccess(e,!1),void 0,rV(t));return v$(e)&&(n.transformFlags|=384),n}function e3(e,t,n){let i=e1(r().parenthesizeLeftSideOfAccess(e,!0),t,rV(n));return i.flags|=32,i.transformFlags|=32,i}function e4(e,t,r,i){return nd.assert(!!(32&e.flags),"Cannot update a ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead."),e.expression!==t||e.questionDotToken!==r||e.argumentExpression!==i?n(e3(t,r,i),e):e}function e5(e,t,n,r){let i=D(210);return i.expression=e,i.questionDotToken=t,i.typeArguments=n,i.arguments=r,i.transformFlags|=b0(i.expression)|b0(i.questionDotToken)|b1(i.typeArguments)|b1(i.arguments),i.typeArguments&&(i.transformFlags|=1),_M(i.expression)&&(i.transformFlags|=16384),i}function e8(e,t,n){let i=e5(r().parenthesizeLeftSideOfAccess(e,!1),void 0,r$(t),r().parenthesizeExpressionsOfCommaDelimitedList(b(n)));return vK(i.expression)&&(i.transformFlags|=8388608),i}function e7(e,t,n,i){let o=e5(r().parenthesizeLeftSideOfAccess(e,!0),t,r$(n),r().parenthesizeExpressionsOfCommaDelimitedList(b(i)));return o.flags|=32,o.transformFlags|=32,o}function e9(e,t,r,i,o){return nd.assert(!!(32&e.flags),"Cannot update a CallExpression using updateCallChain. Use updateCall instead."),e.expression!==t||e.questionDotToken!==r||e.typeArguments!==i||e.arguments!==o?n(e7(t,r,i,o),e):e}function tt(e,t,n){let i=D(211);return i.expression=r().parenthesizeExpressionOfNew(e),i.typeArguments=r$(t),i.arguments=n?r().parenthesizeExpressionsOfCommaDelimitedList(n):void 0,i.transformFlags|=b0(i.expression)|b1(i.typeArguments)|b1(i.arguments)|32,i.typeArguments&&(i.transformFlags|=1),i}function tn(e,t,n){let i=v(212);return i.tag=r().parenthesizeLeftSideOfAccess(e,!1),i.typeArguments=r$(t),i.template=n,i.transformFlags|=b0(i.tag)|b1(i.typeArguments)|b0(i.template)|1024,i.typeArguments&&(i.transformFlags|=1),ft(i.template)&&(i.transformFlags|=128),i}function ti(e,t){let n=v(213);return n.expression=r().parenthesizeOperandOfPrefixUnary(t),n.type=e,n.transformFlags|=b0(n.expression)|b0(n.type)|1,n}function to(e,t,r){return e.type!==t||e.expression!==r?n(ti(t,r),e):e}function ta(e){let t=v(214);return t.expression=e,t.transformFlags=b0(t.expression),t.jsDoc=void 0,t}function ts(e,t){return e.expression!==t?n(ta(t),e):e}function tu(e,t,n,r,i,o,a){let s=D(215);s.modifiers=r$(e),s.asteriskToken=t,s.name=rK(n),s.typeParameters=r$(r),s.parameters=b(i),s.type=o,s.body=a;let u=512&mf(s.modifiers),l=!!s.asteriskToken;return s.transformFlags=b1(s.modifiers)|b0(s.asteriskToken)|bX(s.name)|b1(s.typeParameters)|b1(s.parameters)|b0(s.type)|-67108865&b0(s.body)|(u&&l?128:u?256:l?2048:0)|(s.typeParameters||s.type?1:0)|4194304,s.typeArguments=void 0,s.jsDoc=void 0,s.locals=void 0,s.nextContainer=void 0,s.flowNode=void 0,s.endFlowNode=void 0,s.returnFlowNode=void 0,s}function t_(e,t,n,r,i,o,a,s){return e.name!==r||e.modifiers!==t||e.asteriskToken!==n||e.typeParameters!==i||e.parameters!==o||e.type!==a||e.body!==s?S(tu(t,n,r,i,o,a,s),e):e}function tp(e,t,n,i,o,a){let s=D(216);s.modifiers=r$(e),s.typeParameters=r$(t),s.parameters=b(n),s.type=i,s.equalsGreaterThanToken=null!=o?o:L(38),s.body=r().parenthesizeConciseBodyOfArrowFunction(a);let u=512&mf(s.modifiers);return s.transformFlags=b1(s.modifiers)|b1(s.typeParameters)|b1(s.parameters)|b0(s.type)|b0(s.equalsGreaterThanToken)|-67108865&b0(s.body)|(s.typeParameters||s.type?1:0)|(u?16640:0)|1024,s.typeArguments=void 0,s.jsDoc=void 0,s.locals=void 0,s.nextContainer=void 0,s.flowNode=void 0,s.endFlowNode=void 0,s.returnFlowNode=void 0,s}function td(e,t,n,r,i,o,a){return e.modifiers!==t||e.typeParameters!==n||e.parameters!==r||e.type!==i||e.equalsGreaterThanToken!==o||e.body!==a?S(tp(t,n,r,i,o,a),e):e}function tf(e){let t=v(217);return t.expression=r().parenthesizeOperandOfPrefixUnary(e),t.transformFlags|=b0(t.expression),t}function tm(e){let t=v(218);return t.expression=r().parenthesizeOperandOfPrefixUnary(e),t.transformFlags|=b0(t.expression),t}function th(e){let t=v(219);return t.expression=r().parenthesizeOperandOfPrefixUnary(e),t.transformFlags|=b0(t.expression),t}function ty(e){let t=v(220);return t.expression=r().parenthesizeOperandOfPrefixUnary(e),t.transformFlags|=2097536|b0(t.expression),t}function tg(e,t){let n=v(221);return n.operator=e,n.operand=r().parenthesizeOperandOfPrefixUnary(t),n.transformFlags|=b0(n.operand),(45===e||46===e)&&vk(n.operand)&&!sw(n.operand)&&!S5(n.operand)&&(n.transformFlags|=268435456),n}function tb(e,t){let n=v(222);return n.operator=t,n.operand=r().parenthesizeOperandOfPostfixUnary(e),n.transformFlags|=b0(n.operand),!vk(n.operand)||sw(n.operand)||S5(n.operand)||(n.transformFlags|=268435456),n}function tv(e,t,n){let i=D(223),o="number"==typeof t?L(t):t,a=o.kind;return i.left=r().parenthesizeLeftSideOfBinary(a,e),i.operatorToken=o,i.right=r().parenthesizeRightSideOfBinary(a,i.left,n),i.transformFlags|=b0(i.left)|b0(i.operatorToken)|b0(i.right),60===a?i.transformFlags|=32:63===a?xw(i.left)?i.transformFlags|=5248|tx(i.left):xE(i.left)&&(i.transformFlags|=5120|tx(i.left)):42===a||67===a?i.transformFlags|=512:mg(a)&&(i.transformFlags|=16),101===a&&vI(i.left)&&(i.transformFlags|=536870912),i.jsDoc=void 0,i}function tx(e){return TW(e)?65536:0}function tD(e,t,n,i,o){let a=v(224);return a.condition=r().parenthesizeConditionOfConditionalExpression(e),a.questionToken=null!=t?t:L(57),a.whenTrue=r().parenthesizeBranchOfConditionalExpression(n),a.colonToken=null!=i?i:L(58),a.whenFalse=r().parenthesizeBranchOfConditionalExpression(o),a.transformFlags|=b0(a.condition)|b0(a.questionToken)|b0(a.whenTrue)|b0(a.colonToken)|b0(a.whenFalse),a}function tS(e,t){let n=v(225);return n.head=e,n.templateSpans=b(t),n.transformFlags|=b0(n.head)|b1(n.templateSpans)|1024,n}function tT(e,t,n){let r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(nd.assert(!(-2049&i),"Unsupported template flags."),void 0!==n&&n!==t&&"object"==typeof(r=function(e,t){let n;switch(vi||(vi=o_(99,!1,0)),e){case 14:vi.setText("`"+t+"`");break;case 15:vi.setText("`"+t+"${");break;case 16:vi.setText("}"+t+"${");break;case 17:vi.setText("}"+t+"`")}let r=vi.scan();if(19===r&&(r=vi.reScanTemplateToken(!1)),vi.isUnterminated())return vi.setText(void 0),vo;switch(r){case 14:case 15:case 16:case 17:n=vi.getTokenValue()}return void 0===n||1!==vi.scan()?(vi.setText(void 0),vo):(vi.setText(void 0),n)}(e,n)))return nd.fail("Invalid raw text");if(void 0===t){if(void 0===r)return nd.fail("Arguments 'text' and 'rawText' may not both be undefined.");t=r}else void 0!==r&&nd.assert(t===r,"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.");return t}function tE(e){let t=1024;return e&&(t|=128),t}function tw(e,t,n,r){let i=D(e);return i.text=t,i.rawText=n,i.templateFlags=2048&r,i.transformFlags=tE(i.templateFlags),i}function tA(e,t,n,r){let i;return 14===e?tw(e,t,n,r):((i=F(e)).text=t,i.rawText=n,i.templateFlags=2048&r,i.transformFlags=tE(i.templateFlags),i)}function tC(e,t){nd.assert(!e||!!t,"A `YieldExpression` with an asteriskToken must have an expression.");let n=v(226);return n.expression=t&&r().parenthesizeExpressionForDisallowedComma(t),n.asteriskToken=e,n.transformFlags|=b0(n.expression)|b0(n.asteriskToken)|1049728,n}function tN(e){let t=v(227);return t.expression=r().parenthesizeExpressionForDisallowedComma(e),t.transformFlags|=33792|b0(t.expression),t}function tM(e,t,n,r,i){let o=D(228);return o.modifiers=r$(e),o.name=rK(t),o.typeParameters=r$(n),o.heritageClauses=r$(r),o.members=b(i),o.transformFlags|=b1(o.modifiers)|bX(o.name)|b1(o.typeParameters)|b1(o.heritageClauses)|b1(o.members)|(o.typeParameters?1:0)|1024,o.jsDoc=void 0,o}function tk(e,t,r,i,o,a){return e.modifiers!==t||e.name!==r||e.typeParameters!==i||e.heritageClauses!==o||e.members!==a?n(tM(t,r,i,o,a),e):e}function tI(e,t){let n=v(230);return n.expression=r().parenthesizeLeftSideOfAccess(e,!1),n.typeArguments=t&&r().parenthesizeTypeArguments(t),n.transformFlags|=b0(n.expression)|b1(n.typeArguments)|1024,n}function tj(e,t){let n=v(231);return n.expression=e,n.type=t,n.transformFlags|=b0(n.expression)|b0(n.type)|1,n}function tO(e,t,r){return e.expression!==t||e.type!==r?n(tj(t,r),e):e}function tP(e){let t=v(232);return t.expression=r().parenthesizeLeftSideOfAccess(e,!1),t.transformFlags|=1|b0(t.expression),t}function tF(e,t){return sr(e)?tB(e,t):e.expression!==t?n(tP(t),e):e}function tL(e,t){let n=v(235);return n.expression=e,n.type=t,n.transformFlags|=b0(n.expression)|b0(n.type)|1,n}function tz(e,t,r){return e.expression!==t||e.type!==r?n(tL(t,r),e):e}function tR(e){let t=v(232);return t.flags|=32,t.expression=r().parenthesizeLeftSideOfAccess(e,!0),t.transformFlags|=1|b0(t.expression),t}function tB(e,t){return nd.assert(!!(32&e.flags),"Cannot update a NonNullExpression using updateNonNullChain. Use updateNonNullExpression instead."),e.expression!==t?n(tR(t),e):e}function tU(e,t){let n=v(233);switch(n.keywordToken=e,n.name=t,n.transformFlags|=b0(n.name),e){case 103:n.transformFlags|=1024;break;case 100:n.transformFlags|=4;break;default:return nd.assertNever(e)}return n.flowNode=void 0,n}function tJ(e,t){let n=v(236);return n.expression=e,n.literal=t,n.transformFlags|=b0(n.expression)|b0(n.literal)|1024,n}function t$(e,t){let n=v(238);return n.statements=b(e),n.multiLine=t,n.transformFlags|=b1(n.statements),n.jsDoc=void 0,n.locals=void 0,n.nextContainer=void 0,n}function tV(e,t){let n=v(240);return n.modifiers=r$(e),n.declarationList=e6(t)?nn(t):t,n.transformFlags|=b1(n.modifiers)|b0(n.declarationList),2&mf(n.modifiers)&&(n.transformFlags=1),n.jsDoc=void 0,n.flowNode=void 0,n}function tY(e,t,r){return e.modifiers!==t||e.declarationList!==r?n(tV(t,r),e):e}function tq(){let e=v(239);return e.jsDoc=void 0,e}function tW(e){let t=v(241);return t.expression=r().parenthesizeExpressionOfExpressionStatement(e),t.transformFlags|=b0(t.expression),t.jsDoc=void 0,t.flowNode=void 0,t}function tQ(e,t,n){let r=v(242);return r.expression=e,r.thenStatement=rq(t),r.elseStatement=rq(n),r.transformFlags|=b0(r.expression)|b0(r.thenStatement)|b0(r.elseStatement),r.jsDoc=void 0,r.flowNode=void 0,r}function tH(e,t){let n=v(243);return n.statement=rq(e),n.expression=t,n.transformFlags|=b0(n.statement)|b0(n.expression),n.jsDoc=void 0,n.flowNode=void 0,n}function tG(e,t){let n=v(244);return n.expression=e,n.statement=rq(t),n.transformFlags|=b0(n.expression)|b0(n.statement),n.jsDoc=void 0,n.flowNode=void 0,n}function tZ(e,t,n,r){let i=v(245);return i.initializer=e,i.condition=t,i.incrementor=n,i.statement=rq(r),i.transformFlags|=b0(i.initializer)|b0(i.condition)|b0(i.incrementor)|b0(i.statement),i.jsDoc=void 0,i.locals=void 0,i.nextContainer=void 0,i.flowNode=void 0,i}function tX(e,t,n){let r=v(246);return r.initializer=e,r.expression=t,r.statement=rq(n),r.transformFlags|=b0(r.initializer)|b0(r.expression)|b0(r.statement),r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r.flowNode=void 0,r}function t0(e,t,n,i){let o=v(247);return o.awaitModifier=e,o.initializer=t,o.expression=r().parenthesizeExpressionForDisallowedComma(n),o.statement=rq(i),o.transformFlags|=b0(o.awaitModifier)|b0(o.initializer)|b0(o.expression)|b0(o.statement)|1024,e&&(o.transformFlags|=128),o.jsDoc=void 0,o.locals=void 0,o.nextContainer=void 0,o.flowNode=void 0,o}function t1(e){let t=v(248);return t.label=rK(e),t.transformFlags|=4194304|b0(t.label),t.jsDoc=void 0,t.flowNode=void 0,t}function t2(e){let t=v(249);return t.label=rK(e),t.transformFlags|=4194304|b0(t.label),t.jsDoc=void 0,t.flowNode=void 0,t}function t3(e){let t=v(250);return t.expression=e,t.transformFlags|=4194432|b0(t.expression),t.jsDoc=void 0,t.flowNode=void 0,t}function t4(e,t){let n=v(251);return n.expression=e,n.statement=rq(t),n.transformFlags|=b0(n.expression)|b0(n.statement),n.jsDoc=void 0,n.flowNode=void 0,n}function t6(e,t){let n=v(252);return n.expression=r().parenthesizeExpressionForDisallowedComma(e),n.caseBlock=t,n.transformFlags|=b0(n.expression)|b0(n.caseBlock),n.jsDoc=void 0,n.flowNode=void 0,n.possiblyExhaustive=!1,n}function t5(e,t){let n=v(253);return n.label=rK(e),n.statement=rq(t),n.transformFlags|=b0(n.label)|b0(n.statement),n.jsDoc=void 0,n.flowNode=void 0,n}function t7(e,t,r){return e.label!==t||e.statement!==r?n(t5(t,r),e):e}function t9(e){let t=v(254);return t.expression=e,t.transformFlags|=b0(t.expression),t.jsDoc=void 0,t.flowNode=void 0,t}function ne(e,t,n){let r=v(255);return r.tryBlock=e,r.catchClause=t,r.finallyBlock=n,r.transformFlags|=b0(r.tryBlock)|b0(r.catchClause)|b0(r.finallyBlock),r.jsDoc=void 0,r.flowNode=void 0,r}function nt(e,t,n,r){var i;let o=D(257);return o.name=rK(e),o.exclamationToken=t,o.type=n,o.initializer=rY(r),o.transformFlags|=bX(o.name)|b0(o.initializer)|((null!=(i=o.exclamationToken)?i:o.type)?1:0),o.jsDoc=void 0,o}function nn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=v(258);return n.flags|=3&t,n.declarations=b(e),n.transformFlags|=4194304|b1(n.declarations),3&t&&(n.transformFlags|=263168),n}function nr(e,t,n,r,i,o,a){let s=D(259);if(s.modifiers=r$(e),s.asteriskToken=t,s.name=rK(n),s.typeParameters=r$(r),s.parameters=b(i),s.type=o,s.body=a,!s.body||2&mf(s.modifiers))s.transformFlags=1;else{let e=512&mf(s.modifiers),t=!!s.asteriskToken;s.transformFlags=b1(s.modifiers)|b0(s.asteriskToken)|bX(s.name)|b1(s.typeParameters)|b1(s.parameters)|b0(s.type)|-67108865&b0(s.body)|(e&&t?128:e?256:t?2048:0)|(s.typeParameters||s.type?1:0)|4194304}return s.typeArguments=void 0,s.jsDoc=void 0,s.locals=void 0,s.nextContainer=void 0,s.endFlowNode=void 0,s.returnFlowNode=void 0,s}function ni(e,t,n,r,i,o,a,s){var u;return e.modifiers!==t||e.asteriskToken!==n||e.name!==r||e.typeParameters!==i||e.parameters!==o||e.type!==a||e.body!==s?((u=nr(t,n,r,i,o,a,s))!==e&&u.modifiers===e.modifiers&&(u.modifiers=e.modifiers),S(u,e)):e}function no(e,t,n,r,i){let o=D(260);return o.modifiers=r$(e),o.name=rK(t),o.typeParameters=r$(n),o.heritageClauses=r$(r),o.members=b(i),2&mf(o.modifiers)?o.transformFlags=1:(o.transformFlags|=b1(o.modifiers)|bX(o.name)|b1(o.typeParameters)|b1(o.heritageClauses)|b1(o.members)|(o.typeParameters?1:0)|1024,8192&o.transformFlags&&(o.transformFlags|=1)),o.jsDoc=void 0,o}function na(e,t,r,i,o,a){return e.modifiers!==t||e.name!==r||e.typeParameters!==i||e.heritageClauses!==o||e.members!==a?n(no(t,r,i,o,a),e):e}function ns(e,t,n,r,i){let o=D(261);return o.modifiers=r$(e),o.name=rK(t),o.typeParameters=r$(n),o.heritageClauses=r$(r),o.members=b(i),o.transformFlags=1,o.jsDoc=void 0,o}function nu(e,t,r,i,o,a){return e.modifiers!==t||e.name!==r||e.typeParameters!==i||e.heritageClauses!==o||e.members!==a?n(ns(t,r,i,o,a),e):e}function nl(e,t,n,r){let i=D(262);return i.modifiers=r$(e),i.name=rK(t),i.typeParameters=r$(n),i.type=r,i.transformFlags=1,i.jsDoc=void 0,i.locals=void 0,i.nextContainer=void 0,i}function nc(e,t,r,i,o){return e.modifiers!==t||e.name!==r||e.typeParameters!==i||e.type!==o?n(nl(t,r,i,o),e):e}function n_(e,t,n){let r=D(263);return r.modifiers=r$(e),r.name=rK(t),r.members=b(n),r.transformFlags|=b1(r.modifiers)|b0(r.name)|b1(r.members)|1,r.transformFlags&=-67108865,r.jsDoc=void 0,r}function np(e,t,r,i){return e.modifiers!==t||e.name!==r||e.members!==i?n(n_(t,r,i),e):e}function nf(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=D(264);return i.modifiers=r$(e),i.flags|=1044&r,i.name=t,i.body=n,2&mf(i.modifiers)?i.transformFlags=1:i.transformFlags|=b1(i.modifiers)|b0(i.name)|b0(i.body)|1,i.transformFlags&=-67108865,i.jsDoc=void 0,i.locals=void 0,i.nextContainer=void 0,i}function nm(e,t,r,i){return e.modifiers!==t||e.name!==r||e.body!==i?n(nf(t,r,i,e.flags),e):e}function nh(e){let t=v(265);return t.statements=b(e),t.transformFlags|=b1(t.statements),t.jsDoc=void 0,t}function ny(e){let t=v(266);return t.clauses=b(e),t.transformFlags|=b1(t.clauses),t.locals=void 0,t.nextContainer=void 0,t}function ng(e){var t;let n=D(267);return n.name=rK(e),n.transformFlags|=1|-67108865&b0(n.name),n.modifiers=void 0,n.jsDoc=void 0,n}function nb(e,t,n,r){var i;let o=D(268);return o.modifiers=r$(e),o.name=rK(n),o.isTypeOnly=t,o.moduleReference=r,o.transformFlags|=b1(o.modifiers)|-67108865&b0(o.name)|b0(o.moduleReference),DK(o.moduleReference)||(o.transformFlags|=1),o.transformFlags&=-67108865,o.jsDoc=void 0,o}function nv(e,t,r,i,o){return e.modifiers!==t||e.isTypeOnly!==r||e.name!==i||e.moduleReference!==o?n(nb(t,r,i,o),e):e}function nx(e,t,n,r){let i=v(269);return i.modifiers=r$(e),i.importClause=t,i.moduleSpecifier=n,i.assertClause=r,i.transformFlags|=b0(i.importClause)|b0(i.moduleSpecifier),i.transformFlags&=-67108865,i.jsDoc=void 0,i}function nD(e,t,r,i,o){return e.modifiers!==t||e.importClause!==r||e.moduleSpecifier!==i||e.assertClause!==o?n(nx(t,r,i,o),e):e}function nS(e,t,n){let r=D(270);return r.isTypeOnly=e,r.name=t,r.namedBindings=n,r.transformFlags|=b0(r.name)|b0(r.namedBindings),e&&(r.transformFlags|=1),r.transformFlags&=-67108865,r}function nT(e,t){let n=v(296);return n.elements=b(e),n.multiLine=t,n.transformFlags|=4,n}function nE(e,t){let n=v(297);return n.name=e,n.value=t,n.transformFlags|=4,n}function nw(e,t){let n=v(298);return n.assertClause=e,n.multiLine=t,n}function nA(e){let t=D(271);return t.name=e,t.transformFlags|=b0(t.name),t.transformFlags&=-67108865,t}function nC(e){let t=D(277);return t.name=e,t.transformFlags|=4|b0(t.name),t.transformFlags&=-67108865,t}function nN(e){let t=v(272);return t.elements=b(e),t.transformFlags|=b1(t.elements),t.transformFlags&=-67108865,t}function nM(e,t,n){let r=D(273);return r.isTypeOnly=e,r.propertyName=t,r.name=n,r.transformFlags|=b0(r.propertyName)|b0(r.name),r.transformFlags&=-67108865,r}function nk(e,t,n){let i=D(274);return i.modifiers=r$(e),i.isExportEquals=t,i.expression=t?r().parenthesizeRightSideOfBinary(63,void 0,n):r().parenthesizeExpressionOfExportDefault(n),i.transformFlags|=b1(i.modifiers)|b0(i.expression),i.transformFlags&=-67108865,i.jsDoc=void 0,i}function nI(e,t,r){return e.modifiers!==t||e.expression!==r?n(nk(t,e.isExportEquals,r),e):e}function nj(e,t,n,r,i){let o=D(275);return o.modifiers=r$(e),o.isTypeOnly=t,o.exportClause=n,o.moduleSpecifier=r,o.assertClause=i,o.transformFlags|=b1(o.modifiers)|b0(o.exportClause)|b0(o.moduleSpecifier),o.transformFlags&=-67108865,o.jsDoc=void 0,o}function nO(e,t,r,i,o,a){var s;return e.modifiers!==t||e.isTypeOnly!==r||e.exportClause!==i||e.moduleSpecifier!==o||e.assertClause!==a?((s=nj(t,r,i,o,a))!==e&&s.modifiers===e.modifiers&&(s.modifiers=e.modifiers),n(s,e)):e}function nP(e){let t=v(276);return t.elements=b(e),t.transformFlags|=b1(t.elements),t.transformFlags&=-67108865,t}function nF(e,t,n){let r=v(278);return r.isTypeOnly=e,r.propertyName=rK(t),r.name=rK(n),r.transformFlags|=b0(r.propertyName)|b0(r.name),r.transformFlags&=-67108865,r.jsDoc=void 0,r}function nL(e){let t=v(280);return t.expression=e,t.transformFlags|=b0(t.expression),t.transformFlags&=-67108865,t}function nz(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=nR(e,n?t&&r().parenthesizeNonArrayTypeOfPostfixType(t):t);return i.postfix=n,i}function nR(e,t){let n=v(e);return n.type=t,n}function nB(e,t){let n=D(320);return n.parameters=r$(e),n.type=t,n.transformFlags=b1(n.parameters)|(n.type?1:0),n.jsDoc=void 0,n.locals=void 0,n.nextContainer=void 0,n.typeArguments=void 0,n}function nU(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=D(325);return n.jsDocPropertyTags=r$(e),n.isArrayType=t,n}function nJ(e){let t=v(312);return t.type=e,t}function n$(e,t,n){let r=D(326);return r.typeParameters=r$(e),r.parameters=b(t),r.type=n,r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r}function nK(e){let t=bZ(e.kind);return e.tagName.escapedText===ar(t)?e.tagName:k(t)}function nV(e,t,n){let r=v(e);return r.tagName=t,r.comment=n,r}function nY(e,t,n){let r=D(e);return r.tagName=t,r.comment=n,r}function nq(e,t,n,r){let i=nV(348,null!=e?e:k("template"),r);return i.constraint=t,i.typeParameters=b(n),i}function nW(e,t,n,r){let i=nY(349,null!=e?e:k("typedef"),r);return i.typeExpression=t,i.fullName=n,i.name=TS(n),i.locals=void 0,i.nextContainer=void 0,i}function nQ(e,t,n,r,i,o){let a=nY(344,null!=e?e:k("param"),o);return a.typeExpression=r,a.name=t,a.isNameFirst=!!i,a.isBracketed=n,a}function nH(e,t,n,r,i,o){let a=nY(351,null!=e?e:k("prop"),o);return a.typeExpression=r,a.name=t,a.isNameFirst=!!i,a.isBracketed=n,a}function nG(e,t,n,r){let i=nY(341,null!=e?e:k("callback"),r);return i.typeExpression=t,i.fullName=n,i.name=TS(n),i.locals=void 0,i.nextContainer=void 0,i}function nZ(e,t,n){let r=nV(342,null!=e?e:k("overload"),n);return r.typeExpression=t,r}function nX(e,t,n){let r=nV(331,null!=e?e:k("augments"),n);return r.class=t,r}function n0(e,t,n){let r=nV(332,null!=e?e:k("implements"),n);return r.class=t,r}function n1(e,t,n){let r=nV(350,null!=e?e:k("see"),n);return r.name=t,r}function n2(e){let t=v(313);return t.name=e,t}function n3(e,t){let n=v(314);return n.left=e,n.right=t,n.transformFlags|=b0(n.left)|b0(n.right),n}function n4(e,t){let n=v(327);return n.name=e,n.text=t,n}function n6(e,t){let n=v(328);return n.name=e,n.text=t,n}function n5(e,t){let n=v(329);return n.name=e,n.text=t,n}function n8(e,t,n){return nV(e,null!=t?t:k(bZ(e)),n)}function n7(e,t,n,r){let i=nV(e,null!=t?t:k(bZ(e)),r);return i.typeExpression=n,i}function n9(e,t){return nV(330,e,t)}function re(e,t,n){let r=nY(343,null!=e?e:k(bZ(343)),n);return r.typeExpression=t,r.locals=void 0,r.nextContainer=void 0,r}function rt(e){let t=v(324);return t.text=e,t}function rn(e,t){let n=v(323);return n.comment=e,n.tags=r$(t),n}function rr(e,t,n){let r=v(281);return r.openingElement=e,r.children=b(t),r.closingElement=n,r.transformFlags|=b0(r.openingElement)|b1(r.children)|b0(r.closingElement)|2,r}function ri(e,t,n){let r=v(282);return r.tagName=e,r.typeArguments=r$(t),r.attributes=n,r.transformFlags|=b0(r.tagName)|b1(r.typeArguments)|b0(r.attributes)|2,r.typeArguments&&(r.transformFlags|=1),r}function ro(e,t,n){let r=v(283);return r.tagName=e,r.typeArguments=r$(t),r.attributes=n,r.transformFlags|=b0(r.tagName)|b1(r.typeArguments)|b0(r.attributes)|2,t&&(r.transformFlags|=1),r}function ra(e){let t=v(284);return t.tagName=e,t.transformFlags|=2|b0(t.tagName),t}function rs(e,t,n){let r=v(285);return r.openingFragment=e,r.children=b(t),r.closingFragment=n,r.transformFlags|=b0(r.openingFragment)|b1(r.children)|b0(r.closingFragment)|2,r}function ru(e,t){let n=v(11);return n.text=e,n.containsOnlyTriviaWhiteSpaces=!!t,n.transformFlags|=2,n}function rl(e,t){let n=D(288);return n.name=e,n.initializer=t,n.transformFlags|=b0(n.name)|b0(n.initializer)|2,n}function rc(e){let t=D(289);return t.properties=b(e),t.transformFlags|=2|b1(t.properties),t}function r_(e){let t=v(290);return t.expression=e,t.transformFlags|=2|b0(t.expression),t}function rp(e,t){let n=v(291);return n.dotDotDotToken=e,n.expression=t,n.transformFlags|=b0(n.dotDotDotToken)|b0(n.expression)|2,n}function rd(e,t){let n=v(292);return n.expression=r().parenthesizeExpressionForDisallowedComma(e),n.statements=b(t),n.transformFlags|=b0(n.expression)|b1(n.statements),n.jsDoc=void 0,n}function rf(e){let t=v(293);return t.statements=b(e),t.transformFlags=b1(t.statements),t}function rm(e,t){let n=v(294);switch(n.token=e,n.types=b(t),n.transformFlags|=b1(n.types),e){case 94:n.transformFlags|=1024;break;case 117:n.transformFlags|=1;break;default:return nd.assertNever(e)}return n}function rh(e,t){let n=v(295);return n.variableDeclaration="string"==typeof e||e&&!Df(e)?nt(e,void 0,void 0,void 0):e,n.block=t,n.transformFlags|=b0(n.variableDeclaration)|b0(n.block)|(e?0:64),n.locals=void 0,n.nextContainer=void 0,n}function ry(e,t){let n=D(299);return n.name=rK(e),n.initializer=r().parenthesizeExpressionForDisallowedComma(t),n.transformFlags|=bX(n.name)|b0(n.initializer),n.modifiers=void 0,n.questionToken=void 0,n.exclamationToken=void 0,n.jsDoc=void 0,n}function rg(e,t){var n;let i=D(300);return i.name=rK(e),i.objectAssignmentInitializer=t&&r().parenthesizeExpressionForDisallowedComma(t),i.transformFlags|=-67108865&b0(i.name)|b0(i.objectAssignmentInitializer)|1024,i.equalsToken=void 0,i.modifiers=void 0,i.questionToken=void 0,i.exclamationToken=void 0,i.jsDoc=void 0,i}function rb(e){let t=D(301);return t.expression=r().parenthesizeExpressionForDisallowedComma(e),t.transformFlags|=65664|b0(t.expression),t.jsDoc=void 0,t}function rv(e,t){let n=D(302);return n.name=rK(e),n.initializer=t&&r().parenthesizeExpressionForDisallowedComma(t),n.transformFlags|=b0(n.name)|b0(n.initializer)|1,n.jsDoc=void 0,n}function rx(e){let t=Object.create(e.redirectTarget);return Object.defineProperties(t,{id:{get(){return this.redirectInfo.redirectTarget.id},set(e){this.redirectInfo.redirectTarget.id=e}},symbol:{get(){return this.redirectInfo.redirectTarget.symbol},set(e){this.redirectInfo.redirectTarget.symbol=e}}}),t.redirectInfo=e,t}function rD(e){let n;let r=e.redirectInfo?(n=rx(e.redirectInfo),n.flags|=-9&e.flags,n.fileName=e.fileName,n.path=e.path,n.resolvedPath=e.resolvedPath,n.originalFileName=e.originalFileName,n.packageJsonLocations=e.packageJsonLocations,n.packageJsonScope=e.packageJsonScope,n.emitNode=void 0,n):function(e){let n=t.createBaseSourceFileNode(308);for(let t in n.flags|=-9&e.flags,e)if(!(eP(n,t)||!eP(e,t))){if("emitNode"===t){n.emitNode=void 0;continue}n[t]=e[t]}return n}(e);return ve(r,e),r}function rS(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t8,n=v(309);return n.prepends=t,n.sourceFiles=e,n.syntheticFileReferences=void 0,n.syntheticTypeReferences=void 0,n.syntheticLibReferences=void 0,n.hasNoDefaultLib=void 0,n}function rT(e,t){let n=v(e);return n.data=t,n}function rE(e,t){let n=v(356);return n.expression=e,n.original=t,n.transformFlags|=1|b0(n.expression),TZ(n,t),n}function rw(e,t){return e.expression!==t?n(rE(t,e.original),e):e}function rA(e){if(d1(e)&&!at(e)&&!e.original&&!e.emitNode&&!e.id){if(x2(e))return e.elements;if(xJ(e)&&vD(e.operatorToken))return[e.left,e.right]}return e}function rC(e){let t=v(357);return t.elements=b(U(e,rA)),t.transformFlags|=b1(t.elements),t}function rN(e,t){let n=v(360);return n.expression=e,n.thisArg=t,n.transformFlags|=b0(n.expression)|b0(n.thisArg),n}function rM(e){if(void 0===e)return e;if(St(e))return rD(e);if(sw(e)){let t;return t=N(e.escapedText),t.flags|=-9&e.flags,t.transformFlags=e.transformFlags,ve(t,e),setIdentifierAutoGenerate(t,Object.assign({},e.emitNode.autoGenerate)),t}if(vk(e)){let t,n;return t=N(e.escapedText),t.flags|=-9&e.flags,t.jsDoc=e.jsDoc,t.flowNode=e.flowNode,t.symbol=e.symbol,t.transformFlags=e.transformFlags,ve(t,e),(n=getIdentifierTypeArguments(e))&&setIdentifierTypeArguments(t,n),t}if(sA(e)){let t;return t=O(e.escapedText),t.flags|=-9&e.flags,t.transformFlags=e.transformFlags,ve(t,e),setIdentifierAutoGenerate(t,Object.assign({},e.emitNode.autoGenerate)),t}if(vI(e)){let t;return t=O(e.escapedText),t.flags|=-9&e.flags,t.transformFlags=e.transformFlags,ve(t,e),t}let n=sc(e.kind)?t.createBaseNode(e.kind):t.createBaseTokenNode(e.kind);for(let t in n.flags|=-9&e.flags,n.transformFlags=e.transformFlags,ve(n,e),e)eP(n,t)||!eP(e,t)||(n[t]=e[t]);return n}function rk(){return th(T("0"))}function rI(e,t,n){return a6(e)?e7(eX(e,void 0,t),void 0,void 0,n):e8(eZ(e,t),void 0,n)}function rj(e,t,n){return rI(k(e),t,n)}function rO(e,t,n){return!!n&&(e.push(ry(t,n)),!0)}function rP(e,t){let n=di(e);switch(n.kind){case 79:return t;case 108:case 8:case 9:case 10:return!1;case 206:return 0!==n.elements.length;case 207:return n.properties.length>0;default:return!0}}function rF(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=ad(e);if(i&&vk(i)&&!sw(i)){let e=gT(TZ(rM(i),i),i.parent);return r|=l2(i),n||(r|=96),t||(r|=3072),r&&setEmitFlags(e,r),e}return j(e)}function rL(e,t,n){return rF(e,t,n,16384)}function rz(e,t,n,r){let i=eZ(e,d1(t)?t:rM(t));TZ(i,t);let o=0;return r||(o|=96),n||(o|=3072),o&&setEmitFlags(i,o),i}function rR(){return Tl(tW(A("use strict")))}function rB(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3?arguments[3]:void 0;nd.assert(0===t.length,"Prologue directives should be at the first statement in the target statements array");let i=!1,o=e.length;for(;n4&&void 0!==arguments[4]?arguments[4]:tr,o=e.length;for(;void 0!==n&&n=179&&e<=202)return -2;switch(e){case 210:case 211:case 206:case 203:case 204:return -2147450880;case 264:return -1941676032;case 166:case 213:case 235:case 231:case 356:case 214:case 106:case 208:case 209:default:return -2147483648;case 216:return -2072174592;case 215:case 259:return -1937940480;case 258:return -2146893824;case 260:case 228:return -2147344384;case 173:return -1937948672;case 169:return -2013249536;case 171:case 174:case 175:return -2005057536;case 131:case 148:case 160:case 144:case 152:case 149:case 134:case 153:case 114:case 165:case 168:case 170:case 176:case 177:case 178:case 261:case 262:return -2;case 207:return -2147278848;case 295:return -2147418112}}function b4(e){return e.flags|=8,e}function b6(e,t,n){let r,i,o,a,s,u,l,c,_,p;e8(e)?(o="",a=e,s=e.length,u=t,l=n):(nd.assert("js"===t||"dts"===t),o=("js"===t?e.javascriptPath:e.declarationPath)||"",u="js"===t?e.javascriptMapPath:e.declarationMapPath,c=()=>"js"===t?e.javascriptText:e.declarationText,_=()=>"js"===t?e.javascriptMapText:e.declarationMapText,s=()=>c().length,e.buildInfo&&e.buildInfo.bundle&&(nd.assert(void 0===n||"boolean"==typeof n),r=n,i="js"===t?e.buildInfo.bundle.js:e.buildInfo.bundle.dts,p=e.oldFileOfCurrentEmit));let d=p?function(e){let t,n;for(let r of e.sections)switch(r.kind){case"internal":case"text":t=e_(t,TZ(vs.createUnparsedTextLike(r.data,"internal"===r.kind),r));break;case"no-default-lib":case"reference":case"type":case"type-import":case"type-require":case"lib":n=e_(n,TZ(vs.createUnparsedSyntheticReference(r),r));break;case"prologue":case"emitHelpers":case"prepend":break;default:nd.assertNever(r)}let r=vs.createUnparsedSource(t8,n,null!=t?t:t8);return gE(n,r),gE(t,r),r.helpers=O(e.sources&&e.sources.helpers,e=>getAllUnscopedEmitHelpers().get(e)),r}(nd.checkDefined(i)):function(e,t,n){let r,i,o,a,s,u,l,c,_;for(let n of e?e.sections:t8)switch(n.kind){case"prologue":r=e_(r,TZ(vs.createUnparsedPrologue(n.data),n));break;case"emitHelpers":i=e_(i,getAllUnscopedEmitHelpers().get(n.data));break;case"no-default-lib":c=!0;break;case"reference":o=e_(o,{pos:-1,end:-1,fileName:n.data});break;case"type":a=e_(a,{pos:-1,end:-1,fileName:n.data});break;case"type-import":a=e_(a,{pos:-1,end:-1,fileName:n.data,resolutionMode:99});break;case"type-require":a=e_(a,{pos:-1,end:-1,fileName:n.data,resolutionMode:1});break;case"lib":s=e_(s,{pos:-1,end:-1,fileName:n.data});break;case"prepend":for(let e of n.texts)t&&"internal"===e.kind||(_=e_(_,TZ(vs.createUnparsedTextLike(e.data,"internal"===e.kind),e)));u=ef(u,_),l=e_(l,vs.createUnparsedPrepend(n.data,null!=_?_:t8));break;case"internal":if(t){l||(l=[]);break}case"text":l=e_(l,TZ(vs.createUnparsedTextLike(n.data,"internal"===n.kind),n));break;default:nd.assertNever(n)}if(!l){let e=vs.createUnparsedTextLike(void 0,!1);gD(e,0,"function"==typeof n?n():n),l=[e]}let p=EF.createUnparsedSource(null!=r?r:t8,void 0,l);return gE(r,p),gE(l,p),gE(u,p),p.hasNoDefaultLib=c,p.helpers=i,p.referencedFiles=o||t8,p.typeReferenceDirectives=a,p.libReferenceDirectives=s||t8,p}(i,r,s);return d.fileName=o,d.sourceMapPath=u,d.oldFileOfCurrentEmit=p,c&&_?(Object.defineProperty(d,"text",{get:c}),Object.defineProperty(d,"sourceMapText",{get:_})):(nd.assert(!p),d.text=null!=a?a:"",d.sourceMapText=l),d}function b5(e,t,n,r,i,o){return e8(e)?b7(void 0,e,n,r,void 0,t,i,o):b8(e,t,n,r,i,o)}function b8(e,t,n,r,i,o,a,s){let u=EF.createInputFiles();u.javascriptPath=t,u.javascriptMapPath=n,u.declarationPath=r,u.declarationMapPath=i,u.buildInfoPath=o;let l=new Map,c=t=>{if(void 0===t)return;let n=l.get(t);return void 0===n&&(n=e(t),l.set(t,void 0!==n&&n)),!1!==n?n:void 0},_=e=>{let t=c(e);return void 0!==t?t:`/* Input file ${e} was missing */\r +`},p;return Object.defineProperties(u,{javascriptText:{get:()=>_(t)},javascriptMapText:{get:()=>c(n)},declarationText:{get:()=>_(nd.checkDefined(r))},declarationMapText:{get:()=>c(i)},buildInfo:{get:()=>{var e,t;if(void 0===p&&o){if(null!=a&&a.getBuildInfo)p=null!=(e=a.getBuildInfo(o,s.configFilePath))&&e;else{let e=c(o);p=void 0!==e&&null!=(t=getBuildInfo(o,e))&&t}}return p||void 0}}}),u}function b7(e,t,n,r,i,o,a,s,u,l,c){let _=EF.createInputFiles();return _.javascriptPath=e,_.javascriptText=t,_.javascriptMapPath=n,_.javascriptMapText=r,_.declarationPath=i,_.declarationText=o,_.declarationMapPath=a,_.declarationMapText=s,_.buildInfoPath=u,_.buildInfo=l,_.oldFileOfCurrentEmit=c,_}function b9(e,t,n){return new(vu||(vu=by.getSourceMapSourceConstructor()))(e,t,n)}function ve(e,t){if(e.original=t,t){let n=t.emitNode;n&&(e.emitNode=function(e,t){let{flags:n,internalFlags:r,leadingComments:i,trailingComments:o,commentRange:a,sourceMapRange:s,tokenSourceMapRanges:u,constantValue:l,helpers:c,startsOnNewLine:_,snippetElement:p}=e;if(t||(t={}),i&&(t.leadingComments=ef(i.slice(),t.leadingComments)),o&&(t.trailingComments=ef(o.slice(),t.trailingComments)),n&&(t.flags=n),r&&(t.internalFlags=-9&r),a&&(t.commentRange=a),s&&(t.sourceMapRange=s),u&&(t.tokenSourceMapRanges=function(e,t){for(let n in t||(t=[]),e)t[n]=e[n];return t}(u,t.tokenSourceMapRanges)),void 0!==l&&(t.constantValue=l),c)for(let e of c)t.helpers=eh(t.helpers,e);return void 0!==_&&(t.startsOnNewLine=_),void 0!==p&&(t.snippetElement=p),t}(n,e.emitNode))}return e}var vt,vn,vr,vi,vo,va,vs,vu,vl=c({"src/compiler/factory/nodeFactory.ts"(){var e;wA(),vt=0,(e=vn||{})[e.None=0]="None",e[e.NoParenthesizerRules=1]="NoParenthesizerRules",e[e.NoNodeConverters=2]="NoNodeConverters",e[e.NoIndentationOnFreshPropertyAccess=4]="NoIndentationOnFreshPropertyAccess",e[e.NoOriginalNode=8]="NoOriginalNode",vn=e,vr=[],vo={},va=bJ(),vs=bQ(4,{createBaseSourceFileNode:e=>b4(va.createBaseSourceFileNode(e)),createBaseIdentifierNode:e=>b4(va.createBaseIdentifierNode(e)),createBasePrivateIdentifierNode:e=>b4(va.createBasePrivateIdentifierNode(e)),createBaseTokenNode:e=>b4(va.createBaseTokenNode(e)),createBaseNode:e=>b4(va.createBaseNode(e))})}}),vc=()=>{},v_=()=>{};function vp(e){return 8===e.kind}function vd(e){return 9===e.kind}function vf(e){return 10===e.kind}function vm(e){return 11===e.kind}function vh(e){return 13===e.kind}function vy(e){return 14===e.kind}function vg(e){return 15===e.kind}function vb(e){return 16===e.kind}function vv(e){return 17===e.kind}function vx(e){return 25===e.kind}function vD(e){return 27===e.kind}function vS(e){return 39===e.kind}function vT(e){return 40===e.kind}function vE(e){return 41===e.kind}function vw(e){return 53===e.kind}function vA(e){return 57===e.kind}function vC(e){return 58===e.kind}function vN(e){return 28===e.kind}function vM(e){return 38===e.kind}function vk(e){return 79===e.kind}function vI(e){return 80===e.kind}function vj(e){return 93===e.kind}function vO(e){return 88===e.kind}function vP(e){return 132===e.kind}function vF(e){return 129===e.kind}function vL(e){return 133===e.kind}function vz(e){return 146===e.kind}function vR(e){return 124===e.kind}function vB(e){return 126===e.kind}function vU(e){return 161===e.kind}function vJ(e){return 127===e.kind}function v$(e){return 106===e.kind}function vK(e){return 100===e.kind}function vV(e){return 82===e.kind}function vY(e){return 163===e.kind}function vq(e){return 164===e.kind}function vW(e){return 165===e.kind}function vQ(e){return 166===e.kind}function vH(e){return 167===e.kind}function vG(e){return 168===e.kind}function vZ(e){return 169===e.kind}function vX(e){return 170===e.kind}function v0(e){return 171===e.kind}function v1(e){return 172===e.kind}function v2(e){return 173===e.kind}function v3(e){return 174===e.kind}function v4(e){return 175===e.kind}function v6(e){return 176===e.kind}function v5(e){return 177===e.kind}function v8(e){return 178===e.kind}function v7(e){return 179===e.kind}function v9(e){return 180===e.kind}function xe(e){return 181===e.kind}function xt(e){return 182===e.kind}function xn(e){return 183===e.kind}function xr(e){return 184===e.kind}function xi(e){return 185===e.kind}function xo(e){return 186===e.kind}function xa(e){return 199===e.kind}function xs(e){return 187===e.kind}function xu(e){return 188===e.kind}function xl(e){return 189===e.kind}function xc(e){return 190===e.kind}function x_(e){return 191===e.kind}function xp(e){return 192===e.kind}function xd(e){return 193===e.kind}function xf(e){return 194===e.kind}function xm(e){return 195===e.kind}function xh(e){return 196===e.kind}function xy(e){return 197===e.kind}function xg(e){return 198===e.kind}function xb(e){return 202===e.kind}function xv(e){return 201===e.kind}function xx(e){return 200===e.kind}function xD(e){return 203===e.kind}function xS(e){return 204===e.kind}function xT(e){return 205===e.kind}function xE(e){return 206===e.kind}function xw(e){return 207===e.kind}function xA(e){return 208===e.kind}function xC(e){return 209===e.kind}function xN(e){return 210===e.kind}function xM(e){return 211===e.kind}function xk(e){return 212===e.kind}function xI(e){return 213===e.kind}function xj(e){return 214===e.kind}function xO(e){return 215===e.kind}function xP(e){return 216===e.kind}function xF(e){return 217===e.kind}function xL(e){return 218===e.kind}function xz(e){return 219===e.kind}function xR(e){return 220===e.kind}function xB(e){return 221===e.kind}function xU(e){return 222===e.kind}function xJ(e){return 223===e.kind}function x$(e){return 224===e.kind}function xK(e){return 225===e.kind}function xV(e){return 226===e.kind}function xY(e){return 227===e.kind}function xq(e){return 228===e.kind}function xW(e){return 229===e.kind}function xQ(e){return 230===e.kind}function xH(e){return 231===e.kind}function xG(e){return 235===e.kind}function xZ(e){return 232===e.kind}function xX(e){return 233===e.kind}function x0(e){return 234===e.kind}function x1(e){return 356===e.kind}function x2(e){return 357===e.kind}function x3(e){return 236===e.kind}function x4(e){return 237===e.kind}function x6(e){return 238===e.kind}function x5(e){return 240===e.kind}function x8(e){return 239===e.kind}function x7(e){return 241===e.kind}function x9(e){return 242===e.kind}function De(e){return 243===e.kind}function Dt(e){return 244===e.kind}function Dn(e){return 245===e.kind}function Dr(e){return 246===e.kind}function Di(e){return 247===e.kind}function Do(e){return 248===e.kind}function Da(e){return 249===e.kind}function Ds(e){return 250===e.kind}function Du(e){return 251===e.kind}function Dl(e){return 252===e.kind}function Dc(e){return 253===e.kind}function D_(e){return 254===e.kind}function Dp(e){return 255===e.kind}function Dd(e){return 256===e.kind}function Df(e){return 257===e.kind}function Dm(e){return 258===e.kind}function Dh(e){return 259===e.kind}function Dy(e){return 260===e.kind}function Dg(e){return 261===e.kind}function Db(e){return 262===e.kind}function Dv(e){return 263===e.kind}function Dx(e){return 264===e.kind}function DD(e){return 265===e.kind}function DS(e){return 266===e.kind}function DT(e){return 267===e.kind}function DE(e){return 268===e.kind}function Dw(e){return 269===e.kind}function DA(e){return 270===e.kind}function DC(e){return 298===e.kind}function DN(e){return 296===e.kind}function DM(e){return 297===e.kind}function Dk(e){return 271===e.kind}function DI(e){return 277===e.kind}function Dj(e){return 272===e.kind}function DO(e){return 273===e.kind}function DP(e){return 274===e.kind}function DF(e){return 275===e.kind}function DL(e){return 276===e.kind}function Dz(e){return 278===e.kind}function DR(e){return 279===e.kind}function DB(e){return 355===e.kind}function DU(e){return 360===e.kind}function DJ(e){return 358===e.kind}function D$(e){return 359===e.kind}function DK(e){return 280===e.kind}function DV(e){return 281===e.kind}function DY(e){return 282===e.kind}function Dq(e){return 283===e.kind}function DW(e){return 284===e.kind}function DQ(e){return 285===e.kind}function DH(e){return 286===e.kind}function DG(e){return 287===e.kind}function DZ(e){return 288===e.kind}function DX(e){return 289===e.kind}function D0(e){return 290===e.kind}function D1(e){return 291===e.kind}function D2(e){return 292===e.kind}function D3(e){return 293===e.kind}function D4(e){return 294===e.kind}function D6(e){return 295===e.kind}function D5(e){return 299===e.kind}function D8(e){return 300===e.kind}function D7(e){return 301===e.kind}function D9(e){return 302===e.kind}function Se(e){return 304===e.kind}function St(e){return 308===e.kind}function Sn(e){return 309===e.kind}function Sr(e){return 310===e.kind}function Si(e){return 312===e.kind}function So(e){return 313===e.kind}function Sa(e){return 314===e.kind}function Ss(e){return 327===e.kind}function Su(e){return 328===e.kind}function Sl(e){return 329===e.kind}function Sc(e){return 315===e.kind}function S_(e){return 316===e.kind}function Sp(e){return 317===e.kind}function Sd(e){return 318===e.kind}function Sf(e){return 319===e.kind}function Sm(e){return 320===e.kind}function Sh(e){return 321===e.kind}function Sy(e){return 322===e.kind}function Sg(e){return 323===e.kind}function Sb(e){return 325===e.kind}function Sv(e){return 326===e.kind}function Sx(e){return 331===e.kind}function SD(e){return 333===e.kind}function SS(e){return 335===e.kind}function ST(e){return 341===e.kind}function SE(e){return 336===e.kind}function Sw(e){return 337===e.kind}function SA(e){return 338===e.kind}function SC(e){return 339===e.kind}function SN(e){return 340===e.kind}function SM(e){return 342===e.kind}function Sk(e){return 334===e.kind}function SI(e){return 350===e.kind}function Sj(e){return 343===e.kind}function SO(e){return 344===e.kind}function SP(e){return 345===e.kind}function SF(e){return 346===e.kind}function SL(e){return 347===e.kind}function Sz(e){return 348===e.kind}function SR(e){return 349===e.kind}function SB(e){return 330===e.kind}function SU(e){return 351===e.kind}function SJ(e){return 332===e.kind}function S$(e){return 353===e.kind}function SK(e){return 352===e.kind}function SV(e){return 354===e.kind}var SY=c({"src/compiler/factory/nodeTests.ts"(){wA()}});function Sq(e){return e.createExportDeclaration(void 0,!1,e.createNamedExports([]),void 0)}function SW(e,t,n,r){if(vq(n))return TZ(e.createElementAccessExpression(t,n.expression),r);{let r=TZ(a1(n)?e.createPropertyAccessExpression(t,n):e.createElementAccessExpression(t,n),n);return addEmitFlags(r,128),r}}function SQ(e,t){let n=EF.createIdentifier(e||"React");return gT(n,an(t)),n}function SH(e,t,n){if(!vY(t))return SQ(ao(t),n);{let r=SH(e,t.left,n),i=e.createIdentifier(ao(t.right));return i.escapedText=t.right.escapedText,e.createPropertyAccessExpression(r,i)}}function SG(e,t,n,r){return t?SH(e,t,r):e.createPropertyAccessExpression(SQ(n,r),"createElement")}function SZ(e,t,n,r,i,o){let a=[n];if(r&&a.push(r),i&&i.length>0){if(r||a.push(e.createNull()),i.length>1)for(let e of i)Tl(e),a.push(e);else a.push(i[0])}return TZ(e.createCallExpression(t,void 0,a),o)}function SX(e,t,n,r,i,o,a){let s=[n?SH(e,n,o):e.createPropertyAccessExpression(SQ(r,o),"Fragment"),e.createNull()];if(i&&i.length>0){if(i.length>1)for(let e of i)Tl(e),s.push(e);else s.push(i[0])}return TZ(e.createCallExpression(SG(e,t,r,o),void 0,s),a)}function S0(e,t,n){if(Dm(t)){let r=eT(t.declarations),i=e.updateVariableDeclaration(r,r.name,void 0,void 0,n);return TZ(e.createVariableStatement(void 0,e.updateVariableDeclarationList(t,[i])),t)}{let r=TZ(e.createAssignment(t,n),t);return TZ(e.createExpressionStatement(r),t)}}function S1(e,t,n){return x6(t)?e.updateBlock(t,TZ(e.createNodeArray([n,...t.statements]),t.statements)):e.createBlock(e.createNodeArray([t,n]),!0)}function S2(e,t){return vk(t)?e.createStringLiteralFromNode(t):vq(t)?gT(TZ(e.cloneNode(t.expression),t.expression),t.expression.parent):gT(TZ(e.cloneNode(t),t),t.parent)}function S3(e,t,n,r){switch(n.name&&vI(n.name)&&nd.failBadSyntaxKind(n.name,"Private identifiers are not allowed in object literals."),n.kind){case 174:case 175:return function(e,t,n,r,i){let{firstAccessor:o,getAccessor:a,setAccessor:s}=fK(t,n);if(n===o)return TZ(e.createObjectDefinePropertyCall(r,S2(e,n.name),e.createPropertyDescriptor({enumerable:e.createFalse(),configurable:!0,get:a&&TZ(ve(e.createFunctionExpression(ah(a),void 0,void 0,void 0,a.parameters,void 0,a.body),a),a),set:s&&TZ(ve(e.createFunctionExpression(ah(s),void 0,void 0,void 0,s.parameters,void 0,s.body),s),s)},!i)),o)}(e,t.properties,n,r,!!t.multiLine);case 299:return ve(TZ(e.createAssignment(SW(e,r,n.name,n.name),n.initializer),n),n);case 300:return ve(TZ(e.createAssignment(SW(e,r,n.name,n.name),e.cloneNode(n.name)),n),n);case 171:return ve(TZ(e.createAssignment(SW(e,r,n.name,n.name),ve(TZ(e.createFunctionExpression(ah(n),n.asteriskToken,void 0,void 0,n.parameters,void 0,n.body),n),n)),n),n)}}function S4(e,t,n,r,i){let o=t.operator;nd.assert(45===o||46===o,"Expected 'node' to be a pre- or post-increment or pre- or post-decrement expression");let a=e.createTempVariable(r);TZ(n=e.createAssignment(a,n),t.operand);let s=xB(t)?e.createPrefixUnaryExpression(o,a):e.createPostfixUnaryExpression(a,o);return TZ(s,t),i&&TZ(s=e.createAssignment(i,s),t),TZ(n=e.createComma(n,s),t),xU(t)&&TZ(n=e.createComma(n,a),t),n}function S6(e){return(65536&l2(e))!=0}function S5(e){return(32768&l2(e))!=0}function S8(e){return(16384&l2(e))!=0}function S7(e){return vf(e.expression)&&"use strict"===e.expression.text}function S9(e){for(let t of e)if(cG(t)){if(S7(t))return t}else break}function Te(e){let t=eD(e);return void 0!==t&&cG(t)&&S7(t)}function Tt(e){return 223===e.kind&&27===e.operatorToken.kind}function Tn(e){return Tt(e)||x2(e)}function Tr(e){return xj(e)&&_X(e)&&!!a$(e)}function Ti(e){let t=aK(e);return nd.assertIsDefined(t),t}function To(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:15;switch(e.kind){case 214:return!(16&t&&Tr(e))&&(1&t)!=0;case 213:case 231:case 230:case 235:return(2&t)!=0;case 232:return(4&t)!=0;case 356:return(8&t)!=0}return!1}function Ta(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:15;for(;To(e,t);)e=e.expression;return e}function Ts(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:15,n=e.parent;for(;To(n,t);)n=n.parent,nd.assert(n);return n}function Tu(e){return Ta(e,6)}function Tl(e){return setStartsOnNewLine(e,!0)}function Tc(e){let t=o9(e,St),n=t&&t.emitNode;return n&&n.externalHelpersModuleName}function T_(e){let t=o9(e,St),n=t&&t.emitNode;return!!n&&(!!n.externalHelpersModuleName||!!n.externalHelpers)}function Tp(e,t,n,r,i,o,a){if(r.importHelpers&&cl(n,r)){let s,u=h9(r);if(u>=5&&u<=99||99===n.impliedNodeFormat){let r=getEmitHelpers(n);if(r){let i=[];for(let e of r)if(!e.scoped){let t=e.importName;t&&em(i,t)}if(G(i)){i.sort(tS),s=e.createNamedImports(O(i,r=>lj(n,r)?e.createImportSpecifier(!1,void 0,e.createIdentifier(r)):e.createImportSpecifier(!1,e.createIdentifier(r),t.getUnscopedHelperName(r))));let r=o9(n,St);getOrCreateEmitNode(r).externalHelpers=!0}}}else{let t=Td(e,n,r,i,o||a);t&&(s=e.createNamespaceImport(t))}if(s){let t=e.createImportDeclaration(void 0,e.createImportClause(!1,void 0,s),e.createStringLiteral(g1),void 0);return addInternalEmitFlags(t,2),t}}}function Td(e,t,n,r,i){if(n.importHelpers&&cl(t,n)){let o=Tc(t);if(o)return o;let a=h9(n),s=(r||yl(n)&&i)&&4!==a&&(a<5||1===t.impliedNodeFormat);if(!s){let e=getEmitHelpers(t);if(e){for(let t of e)if(!t.scoped){s=!0;break}}}if(s){let n=o9(t,St),r=getOrCreateEmitNode(n);return r.externalHelpersModuleName||(r.externalHelpersModuleName=e.createUniqueName(g1))}}}function Tf(e,t,n){let r=pO(t);if(r&&!pP(t)&&!lG(t)){let t=r.name;return sw(t)?t:e.createIdentifier(lH(n,t)||ao(t))}if(269===t.kind&&t.importClause||275===t.kind&&t.moduleSpecifier)return e.getGeneratedNameForNode(t)}function Tm(e,t,n,r,i,o){let a=pj(t);if(a&&vf(a)){let s;return Th(e,i.getExternalModuleFileFromDeclaration(t),r,o)||((s=n.renamedDependencies&&n.renamedDependencies.get(a.text))?e.createStringLiteral(s):void 0)||e.cloneNode(a)}}function Th(e,t,n,r){if(t){if(t.moduleName)return e.createStringLiteral(t.moduleName);if(!t.isDeclarationFile&&fw(r))return e.createStringLiteral(fv(n,t.fileName))}}function Ty(e){if(s6(e))return e.name;if(sX(e)){switch(e.kind){case 299:return Ty(e.initializer);case 300:return e.name;case 301:return Ty(e.expression)}return}return mE(e,!0)?Ty(e.left):xY(e)?Ty(e.expression):e}function Tg(e){switch(e.kind){case 166:case 205:return e.dotDotDotToken;case 227:case 301:return e}}function Tb(e){let t=Tv(e);return nd.assert(!!t||D7(e),"Invalid property name for binding element."),t}function Tv(e){switch(e.kind){case 205:if(e.propertyName){let t=e.propertyName;return vI(t)?nd.failBadSyntaxKind(t):vq(t)&&Tx(t.expression)?t.expression:t}break;case 299:if(e.name){let t=e.name;return vI(t)?nd.failBadSyntaxKind(t):vq(t)&&Tx(t.expression)?t.expression:t}break;case 301:return e.name&&vI(e.name)?nd.failBadSyntaxKind(e.name):e.name}let t=Ty(e);if(t&&sP(t))return t}function Tx(e){let t=e.kind;return 10===t||8===t}function TD(e){switch(e.kind){case 203:case 204:case 206:return e.elements;case 207:return e.properties}}function TS(e){if(e){let t=e;for(;;){if(vk(t)||!t.body)return vk(t)?t:t.name;t=t.body}}}function TT(e){let t=e.kind;return 173===t||175===t}function TE(e){let t=e.kind;return 173===t||174===t||175===t}function Tw(e){let t=e.kind;return 299===t||300===t||259===t||173===t||178===t||172===t||279===t||240===t||261===t||262===t||263===t||264===t||268===t||269===t||267===t||275===t||274===t}function TA(e){let t=e.kind;return 172===t||299===t||300===t||279===t||267===t}function TC(e){return vA(e)||vw(e)}function TN(e){return vk(e)||xf(e)}function TM(e){return vz(e)||vS(e)||vT(e)}function Tk(e){return vA(e)||vS(e)||vT(e)}function TI(e){return vk(e)||vf(e)}function Tj(e){let t=e.kind;return 104===t||110===t||95===t||sm(e)||xB(e)}function TO(e){var t,n,r,i,o,a;return 60===(n=t=e.kind)||55===n||56===n||50===n||51===n||52===n||34===n||36===n||35===n||37===n||29===n||32===n||31===n||33===n||102===n||101===n||47===n||48===n||49===n||39===(i=r=n)||40===i||42===(o=r)||41===(a=o)||43===a||44===a||mD(n)||27===t}function TP(e,t,n,r,i,o){let a=new TH(e,t,n,r,i,o);return function(e,t){let n={value:void 0},r=[TQ.enter],i=[e],o=[void 0],s=0;for(;r[s]!==TQ.done;)s=r[s](a,s,r,i,o,n,t);return nd.assertEqual(s,0),n.value}}function TF(e){return 93===e||88===e}function TL(e){return TF(e.kind)}function Tz(e){let t=e.kind;return sM(t)&&!TF(t)}function TR(e,t){if(void 0!==t)return 0===t.length?t:TZ(e.createNodeArray([],t.hasTrailingComma),t)}function TB(e){var t;let n=e.emitNode.autoGenerate;if(4&n.flags){let r=n.id,i=e,o=i.original;for(;o;){let e=null==(t=(i=o).emitNode)?void 0:t.autoGenerate;if(a1(i)&&(void 0===e||4&e.flags&&e.id!==r))break;o=i.original}return i}return e}function TU(e,t){return"object"==typeof e?TJ(!1,e.prefix,e.node,e.suffix,t):"string"==typeof e?e.length>0&&35===e.charCodeAt(0)?e.slice(1):e:""}function TJ(e,t,n,r,i){var o,a;return t=TU(t,i),r=TU(r,i),o=n,`${e?"#":""}${t}${n="string"==typeof o?o:(a=nd.checkDefined(i),sA(o)?a(o).slice(1):sw(o)?a(o):vI(o)?o.escapedText.slice(1):ao(o))}${r}`}function T$(e,t,n,r){return e.updatePropertyDeclaration(t,n,e.getGeneratedPrivateNameForNode(t.name,void 0,"_accessor_storage"),void 0,void 0,r)}function TK(e,t,n,r){return e.createGetAccessorDeclaration(n,r,[],void 0,e.createBlock([e.createReturnStatement(e.createPropertyAccessExpression(e.createThis(),e.getGeneratedPrivateNameForNode(t.name,void 0,"_accessor_storage")))]))}function TV(e,t,n,r){return e.createSetAccessorDeclaration(n,r,[e.createParameterDeclaration(void 0,void 0,"value")],e.createBlock([e.createExpressionStatement(e.createAssignment(e.createPropertyAccessExpression(e.createThis(),e.getGeneratedPrivateNameForNode(t.name,void 0,"_accessor_storage")),e.createIdentifier("value")))]))}function TY(e){let t=e.expression;for(;;){if(x2(t=Ta(t))){t=eA(t.elements);continue}if(Tt(t)){t=t.right;continue}if(mE(t,!0)&&sw(t.left))return t;break}}function Tq(e){let t=[];return function e(t,n){if(xj(t)&&d1(t)&&!t.emitNode)e(t.expression,n);else if(Tt(t))e(t.left,n),e(t.right,n);else if(x2(t))for(let r of t.elements)e(r,n);else n.push(t)}(e,t),t}function TW(e){if(65536&e.transformFlags)return!0;if(128&e.transformFlags)for(let t of TD(e)){let e=Ty(t);if(e&&s3(e)&&(65536&e.transformFlags||128&e.transformFlags&&TW(e)))return!0}return!1}var TQ,TH,TG=c({"src/compiler/factory/utilities.ts"(){wA(),(e=>{function t(e,n,r,i,o,a,u){let l=n>0?o[n-1]:void 0;return nd.assertEqual(r[n],t),o[n]=e.onEnter(i[n],l,u),r[n]=s(e,t),n}function n(e,t,r,i,o,a,c){nd.assertEqual(r[t],n),nd.assertIsDefined(e.onLeft),r[t]=s(e,n);let _=e.onLeft(i[t].left,o[t],i[t]);return _?(l(t,i,_),u(t,r,i,o,_)):t}function r(e,t,n,i,o,a,u){return nd.assertEqual(n[t],r),nd.assertIsDefined(e.onOperator),n[t]=s(e,r),e.onOperator(i[t].operatorToken,o[t],i[t]),t}function i(e,t,n,r,o,a,c){nd.assertEqual(n[t],i),nd.assertIsDefined(e.onRight),n[t]=s(e,i);let _=e.onRight(r[t].right,o[t],r[t]);return _?(l(t,r,_),u(t,n,r,o,_)):t}function o(e,t,n,r,i,a,u){nd.assertEqual(n[t],o),n[t]=s(e,o);let l=e.onExit(r[t],i[t]);if(t>0){if(t--,e.foldState){let r=n[t]===o?"right":"left";i[t]=e.foldState(i[t],l,r)}}else a.value=l;return t}function a(e,t,n,r,i,o,s){return nd.assertEqual(n[t],a),t}function s(e,s){switch(s){case t:if(e.onLeft)return n;case n:if(e.onOperator)return r;case r:if(e.onRight)return i;case i:return o;case o:case a:return a;default:nd.fail("Invalid state")}}function u(e,n,r,i,o){return n[++e]=t,r[e]=o,i[e]=void 0,e}function l(e,t,n){if(nd.shouldAssert(2))for(;e>=0;)nd.assert(t[e]!==n,"Circular traversal detected."),e--}e.enter=t,e.left=n,e.operator=r,e.right=i,e.exit=o,e.done=a,e.nextState=s})(TQ||(TQ={})),TH=class{constructor(e,t,n,r,i,o){this.onEnter=e,this.onLeft=t,this.onOperator=n,this.onRight=r,this.onExit=i,this.foldState=o}}}});function TZ(e,t){return t?gx(e,t.pos,t.end):e}function TX(e){let t=e.kind;return 165===t||166===t||168===t||169===t||170===t||171===t||173===t||174===t||175===t||178===t||182===t||215===t||216===t||228===t||240===t||259===t||260===t||261===t||262===t||263===t||264===t||268===t||269===t||274===t||275===t}function T0(e){let t=e.kind;return 166===t||169===t||171===t||174===t||175===t||228===t||260===t}var T1=c({"src/compiler/factory/utilitiesPublic.ts"(){wA()}});function T2(e,t){return t&&e(t)}function T3(e,t,n){if(n){if(t)return t(n);for(let t of n){let n=e(t);if(n)return n}}}function T4(e,t){return 42===e.charCodeAt(t+1)&&42===e.charCodeAt(t+2)&&47!==e.charCodeAt(t+3)}function T6(e){return f(e.statements,T5)||(4194304&e.flags?function e(t){return xX(t)&&100===t.keywordToken&&"meta"===t.name.escapedText?t:Ef(t,e)}(e):void 0)}function T5(e){return TX(e)&&G(e.modifiers,e=>93===e.kind)||DE(e)&&DK(e.moduleReference)||Dw(e)||DP(e)||DF(e)?e:void 0}function T8(e,t,n){return T3(t,n,e.typeParameters)||T3(t,n,e.parameters)||T2(t,e.type)}function T7(e,t,n){return T3(t,n,e.types)}function T9(e,t,n){return T2(t,e.type)}function Ee(e,t,n){return T3(t,n,e.elements)}function Et(e,t,n){return T2(t,e.expression)||T2(t,e.questionDotToken)||T3(t,n,e.typeArguments)||T3(t,n,e.arguments)}function En(e,t,n){return T3(t,n,e.statements)}function Er(e,t,n){return T2(t,e.label)}function Ei(e,t,n){return T3(t,n,e.modifiers)||T2(t,e.name)||T3(t,n,e.typeParameters)||T3(t,n,e.heritageClauses)||T3(t,n,e.members)}function Eo(e,t,n){return T3(t,n,e.elements)}function Ea(e,t,n){return T2(t,e.propertyName)||T2(t,e.name)}function Es(e,t,n){return T2(t,e.tagName)||T3(t,n,e.typeArguments)||T2(t,e.attributes)}function Eu(e,t,n){return T2(t,e.type)}function El(e,t,n){return T2(t,e.tagName)||(e.isNameFirst?T2(t,e.name)||T2(t,e.typeExpression):T2(t,e.typeExpression)||T2(t,e.name))||("string"==typeof e.comment?void 0:T3(t,n,e.comment))}function Ec(e,t,n){return T2(t,e.tagName)||T2(t,e.typeExpression)||("string"==typeof e.comment?void 0:T3(t,n,e.comment))}function E_(e,t,n){return T2(t,e.name)}function Ep(e,t,n){return T2(t,e.tagName)||("string"==typeof e.comment?void 0:T3(t,n,e.comment))}function Ed(e,t,n){return T2(t,e.expression)}function Ef(e,t,n){if(void 0===e||e.kind<=162)return;let r=EL[e.kind];return void 0===r?void 0:r(e,t,n)}function Em(e,t,n){let r=Eh(e),i=[];for(;i.length=0;--t)r.push(e[t]),i.push(o)}else{let n=t(e,o);if(n){if("skip"===n)continue;return n}if(e.kind>=163)for(let t of Eh(e))r.push(t),i.push(e)}}}function Eh(e){let t=[];return Ef(e,n,n),t;function n(e){t.unshift(e)}}function Ey(e){e.externalModuleIndicator=T6(e)}function Eg(e,t,n){let r,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4?arguments[4]:void 0;null==nN||nN.push(nN.Phase.Parse,"createSourceFile",{path:e},!0),nD("beforeParse"),nx.logStartParseSourceFile(e);let{languageVersion:a,setExternalModuleIndicator:s,impliedNodeFormat:u}="object"==typeof n?n:{languageVersion:n};if(100===a)r=Ez.parseSourceFile(e,t,a,void 0,i,6,tt);else{let n=void 0===u?s:e=>(e.impliedNodeFormat=u,(s||Ey)(e));r=Ez.parseSourceFile(e,t,a,void 0,i,o,n)}return nx.logStopParseSourceFile(),nD("afterParse"),function(e,t,n){var r,i;if(nT){let o=null!=(r=void 0!==n?nw.get(n):void 0)?r:nb(),a=null!=(i=void 0!==t?nw.get(t):void 0)?i:nE,s=nC.get(e)||0;nC.set(e,s+(o-a)),null==nS||nS.measure(e,t,n)}}("Parse","beforeParse","afterParse"),null==nN||nN.pop(),r}function Eb(e,t){return Ez.parseIsolatedEntityName(e,t)}function Ev(e,t){return Ez.parseJsonText(e,t)}function Ex(e){return void 0!==e.externalModuleIndicator}function ED(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=ER.updateSourceFile(e,t,n,r);return i.flags|=6291456&e.flags,i}function ES(e,t,n){let r=Ez.JSDocParser.parseIsolatedJSDocComment(e,t,n);return r&&r.jsDoc&&Ez.fixupParentReferences(r.jsDoc),r}function ET(e,t,n){return Ez.JSDocParser.parseJSDocTypeExpressionForTests(e,t,n)}function EE(e){return rX(e,bF)||rZ(e,".ts")&&tO(r6(e),".d.")}function Ew(e,t){let n=[];for(let e of oo(t,0)||t8){let r=t.substring(e.pos,e.end);!function(e,t,n){let r=2===t.kind&&EU.exec(n);if(r){let i=r[1].toLowerCase(),o=rB[i];if(!o||!(1&o.kind))return;if(o.args){let r={};for(let e of o.args){let i=(function(e){if(EB.has(e))return EB.get(e);let t=RegExp(`(\\s${e}\\s*=\\s*)(?:(?:'([^']*)')|(?:"([^"]*)"))`,"im");return EB.set(e,t),t})(e.name).exec(n);if(!i&&!e.optional)return;if(i){let n=i[2]||i[3];if(e.captureSpan){let o=t.pos+i.index+i[1].length+1;r[e.name]={value:n,pos:o,end:o+n.length}}else r[e.name]=n}}e.push({name:i,args:{arguments:r,range:t}})}else e.push({name:i,args:{arguments:{},range:t}});return}let i=2===t.kind&&EJ.exec(n);if(i)return EC(e,t,2,i);if(3===t.kind){let r=/@(\S+)(\s+.*)?$/gim,i;for(;i=r.exec(n);)EC(e,t,4,i)}}(n,e,r)}for(let t of(e.pragmas=new Map,n)){if(e.pragmas.has(t.name)){let n=e.pragmas.get(t.name);n instanceof Array?n.push(t.args):e.pragmas.set(t.name,[n,t.args]);continue}e.pragmas.set(t.name,t.args)}}function EA(e,t){e.checkJsDirective=void 0,e.referencedFiles=[],e.typeReferenceDirectives=[],e.libReferenceDirectives=[],e.amdDependencies=[],e.hasNoDefaultLib=!1,e.pragmas.forEach((n,r)=>{switch(r){case"reference":{let r=e.referencedFiles,i=e.typeReferenceDirectives,o=e.libReferenceDirectives;f(e5(n),n=>{let{types:a,lib:s,path:u,"resolution-mode":l}=n.arguments;if(n.arguments["no-default-lib"])e.hasNoDefaultLib=!0;else if(a){let e=function(e,t,n,r){if(e){if("import"===e)return 99;if("require"===e)return 1;r(t,n-t,iP.resolution_mode_should_be_either_require_or_import)}}(l,a.pos,a.end,t);i.push(Object.assign({pos:a.pos,end:a.end,fileName:a.value},e?{resolutionMode:e}:{}))}else s?o.push({pos:s.pos,end:s.end,fileName:s.value}):u?r.push({pos:u.pos,end:u.end,fileName:u.value}):t(n.range.pos,n.range.end-n.range.pos,iP.Invalid_reference_directive_syntax)});break}case"amd-dependency":e.amdDependencies=O(e5(n),e=>({name:e.arguments.name,path:e.arguments.path}));break;case"amd-module":if(n instanceof Array)for(let r of n)e.moduleName&&t(r.range.pos,r.range.end-r.range.pos,iP.An_AMD_module_cannot_have_multiple_name_assignments),e.moduleName=r.arguments.name;else e.moduleName=n.arguments.name;break;case"ts-nocheck":case"ts-check":f(e5(n),t=>{(!e.checkJsDirective||t.range.pos>e.checkJsDirective.pos)&&(e.checkJsDirective={enabled:"ts-check"===r,end:t.range.end,pos:t.range.pos})});break;case"jsx":case"jsxfrag":case"jsximportsource":case"jsxruntime":return;default:nd.fail("Unhandled pragma kind")}})}function EC(e,t,n,r){if(!r)return;let i=r[1].toLowerCase(),o=rB[i];if(!o||!(o.kind&n))return;let a=function(e,t){if(!t||!e.args)return{};let n=nl(t).split(/\s+/),r={};for(let t=0;tnew(EO||(EO=by.getSourceFileConstructor()))(e,-1,-1),createBaseIdentifierNode:e=>new(EI||(EI=by.getIdentifierConstructor()))(e,-1,-1),createBasePrivateIdentifierNode:e=>new(Ej||(Ej=by.getPrivateIdentifierConstructor()))(e,-1,-1),createBaseTokenNode:e=>new(Ek||(Ek=by.getTokenConstructor()))(e,-1,-1),createBaseNode:e=>new(EM||(EM=by.getNodeConstructor()))(e,-1,-1)}),EL={163:function(e,t,n){return T2(t,e.left)||T2(t,e.right)},165:function(e,t,n){return T3(t,n,e.modifiers)||T2(t,e.name)||T2(t,e.constraint)||T2(t,e.default)||T2(t,e.expression)},300:function(e,t,n){return T3(t,n,e.modifiers)||T2(t,e.name)||T2(t,e.questionToken)||T2(t,e.exclamationToken)||T2(t,e.equalsToken)||T2(t,e.objectAssignmentInitializer)},301:function(e,t,n){return T2(t,e.expression)},166:function(e,t,n){return T3(t,n,e.modifiers)||T2(t,e.dotDotDotToken)||T2(t,e.name)||T2(t,e.questionToken)||T2(t,e.type)||T2(t,e.initializer)},169:function(e,t,n){return T3(t,n,e.modifiers)||T2(t,e.name)||T2(t,e.questionToken)||T2(t,e.exclamationToken)||T2(t,e.type)||T2(t,e.initializer)},168:function(e,t,n){return T3(t,n,e.modifiers)||T2(t,e.name)||T2(t,e.questionToken)||T2(t,e.type)||T2(t,e.initializer)},299:function(e,t,n){return T3(t,n,e.modifiers)||T2(t,e.name)||T2(t,e.questionToken)||T2(t,e.exclamationToken)||T2(t,e.initializer)},257:function(e,t,n){return T2(t,e.name)||T2(t,e.exclamationToken)||T2(t,e.type)||T2(t,e.initializer)},205:function(e,t,n){return T2(t,e.dotDotDotToken)||T2(t,e.propertyName)||T2(t,e.name)||T2(t,e.initializer)},178:function(e,t,n){return T3(t,n,e.modifiers)||T3(t,n,e.typeParameters)||T3(t,n,e.parameters)||T2(t,e.type)},182:function(e,t,n){return T3(t,n,e.modifiers)||T3(t,n,e.typeParameters)||T3(t,n,e.parameters)||T2(t,e.type)},181:function(e,t,n){return T3(t,n,e.modifiers)||T3(t,n,e.typeParameters)||T3(t,n,e.parameters)||T2(t,e.type)},176:T8,177:T8,171:function(e,t,n){return T3(t,n,e.modifiers)||T2(t,e.asteriskToken)||T2(t,e.name)||T2(t,e.questionToken)||T2(t,e.exclamationToken)||T3(t,n,e.typeParameters)||T3(t,n,e.parameters)||T2(t,e.type)||T2(t,e.body)},170:function(e,t,n){return T3(t,n,e.modifiers)||T2(t,e.name)||T2(t,e.questionToken)||T3(t,n,e.typeParameters)||T3(t,n,e.parameters)||T2(t,e.type)},173:function(e,t,n){return T3(t,n,e.modifiers)||T2(t,e.name)||T3(t,n,e.typeParameters)||T3(t,n,e.parameters)||T2(t,e.type)||T2(t,e.body)},174:function(e,t,n){return T3(t,n,e.modifiers)||T2(t,e.name)||T3(t,n,e.typeParameters)||T3(t,n,e.parameters)||T2(t,e.type)||T2(t,e.body)},175:function(e,t,n){return T3(t,n,e.modifiers)||T2(t,e.name)||T3(t,n,e.typeParameters)||T3(t,n,e.parameters)||T2(t,e.type)||T2(t,e.body)},259:function(e,t,n){return T3(t,n,e.modifiers)||T2(t,e.asteriskToken)||T2(t,e.name)||T3(t,n,e.typeParameters)||T3(t,n,e.parameters)||T2(t,e.type)||T2(t,e.body)},215:function(e,t,n){return T3(t,n,e.modifiers)||T2(t,e.asteriskToken)||T2(t,e.name)||T3(t,n,e.typeParameters)||T3(t,n,e.parameters)||T2(t,e.type)||T2(t,e.body)},216:function(e,t,n){return T3(t,n,e.modifiers)||T3(t,n,e.typeParameters)||T3(t,n,e.parameters)||T2(t,e.type)||T2(t,e.equalsGreaterThanToken)||T2(t,e.body)},172:function(e,t,n){return T3(t,n,e.modifiers)||T2(t,e.body)},180:function(e,t,n){return T2(t,e.typeName)||T3(t,n,e.typeArguments)},179:function(e,t,n){return T2(t,e.assertsModifier)||T2(t,e.parameterName)||T2(t,e.type)},183:function(e,t,n){return T2(t,e.exprName)||T3(t,n,e.typeArguments)},184:function(e,t,n){return T3(t,n,e.members)},185:function(e,t,n){return T2(t,e.elementType)},186:function(e,t,n){return T3(t,n,e.elements)},189:T7,190:T7,191:function(e,t,n){return T2(t,e.checkType)||T2(t,e.extendsType)||T2(t,e.trueType)||T2(t,e.falseType)},192:function(e,t,n){return T2(t,e.typeParameter)},202:function(e,t,n){return T2(t,e.argument)||T2(t,e.assertions)||T2(t,e.qualifier)||T3(t,n,e.typeArguments)},298:function(e,t,n){return T2(t,e.assertClause)},193:T9,195:T9,196:function(e,t,n){return T2(t,e.objectType)||T2(t,e.indexType)},197:function(e,t,n){return T2(t,e.readonlyToken)||T2(t,e.typeParameter)||T2(t,e.nameType)||T2(t,e.questionToken)||T2(t,e.type)||T3(t,n,e.members)},198:function(e,t,n){return T2(t,e.literal)},199:function(e,t,n){return T2(t,e.dotDotDotToken)||T2(t,e.name)||T2(t,e.questionToken)||T2(t,e.type)},203:Ee,204:Ee,206:function(e,t,n){return T3(t,n,e.elements)},207:function(e,t,n){return T3(t,n,e.properties)},208:function(e,t,n){return T2(t,e.expression)||T2(t,e.questionDotToken)||T2(t,e.name)},209:function(e,t,n){return T2(t,e.expression)||T2(t,e.questionDotToken)||T2(t,e.argumentExpression)},210:Et,211:Et,212:function(e,t,n){return T2(t,e.tag)||T2(t,e.questionDotToken)||T3(t,n,e.typeArguments)||T2(t,e.template)},213:function(e,t,n){return T2(t,e.type)||T2(t,e.expression)},214:function(e,t,n){return T2(t,e.expression)},217:function(e,t,n){return T2(t,e.expression)},218:function(e,t,n){return T2(t,e.expression)},219:function(e,t,n){return T2(t,e.expression)},221:function(e,t,n){return T2(t,e.operand)},226:function(e,t,n){return T2(t,e.asteriskToken)||T2(t,e.expression)},220:function(e,t,n){return T2(t,e.expression)},222:function(e,t,n){return T2(t,e.operand)},223:function(e,t,n){return T2(t,e.left)||T2(t,e.operatorToken)||T2(t,e.right)},231:function(e,t,n){return T2(t,e.expression)||T2(t,e.type)},232:function(e,t,n){return T2(t,e.expression)},235:function(e,t,n){return T2(t,e.expression)||T2(t,e.type)},233:function(e,t,n){return T2(t,e.name)},224:function(e,t,n){return T2(t,e.condition)||T2(t,e.questionToken)||T2(t,e.whenTrue)||T2(t,e.colonToken)||T2(t,e.whenFalse)},227:function(e,t,n){return T2(t,e.expression)},238:En,265:En,308:function(e,t,n){return T3(t,n,e.statements)||T2(t,e.endOfFileToken)},240:function(e,t,n){return T3(t,n,e.modifiers)||T2(t,e.declarationList)},258:function(e,t,n){return T3(t,n,e.declarations)},241:function(e,t,n){return T2(t,e.expression)},242:function(e,t,n){return T2(t,e.expression)||T2(t,e.thenStatement)||T2(t,e.elseStatement)},243:function(e,t,n){return T2(t,e.statement)||T2(t,e.expression)},244:function(e,t,n){return T2(t,e.expression)||T2(t,e.statement)},245:function(e,t,n){return T2(t,e.initializer)||T2(t,e.condition)||T2(t,e.incrementor)||T2(t,e.statement)},246:function(e,t,n){return T2(t,e.initializer)||T2(t,e.expression)||T2(t,e.statement)},247:function(e,t,n){return T2(t,e.awaitModifier)||T2(t,e.initializer)||T2(t,e.expression)||T2(t,e.statement)},248:Er,249:Er,250:function(e,t,n){return T2(t,e.expression)},251:function(e,t,n){return T2(t,e.expression)||T2(t,e.statement)},252:function(e,t,n){return T2(t,e.expression)||T2(t,e.caseBlock)},266:function(e,t,n){return T3(t,n,e.clauses)},292:function(e,t,n){return T2(t,e.expression)||T3(t,n,e.statements)},293:function(e,t,n){return T3(t,n,e.statements)},253:function(e,t,n){return T2(t,e.label)||T2(t,e.statement)},254:function(e,t,n){return T2(t,e.expression)},255:function(e,t,n){return T2(t,e.tryBlock)||T2(t,e.catchClause)||T2(t,e.finallyBlock)},295:function(e,t,n){return T2(t,e.variableDeclaration)||T2(t,e.block)},167:function(e,t,n){return T2(t,e.expression)},260:Ei,228:Ei,261:function(e,t,n){return T3(t,n,e.modifiers)||T2(t,e.name)||T3(t,n,e.typeParameters)||T3(t,n,e.heritageClauses)||T3(t,n,e.members)},262:function(e,t,n){return T3(t,n,e.modifiers)||T2(t,e.name)||T3(t,n,e.typeParameters)||T2(t,e.type)},263:function(e,t,n){return T3(t,n,e.modifiers)||T2(t,e.name)||T3(t,n,e.members)},302:function(e,t,n){return T2(t,e.name)||T2(t,e.initializer)},264:function(e,t,n){return T3(t,n,e.modifiers)||T2(t,e.name)||T2(t,e.body)},268:function(e,t,n){return T3(t,n,e.modifiers)||T2(t,e.name)||T2(t,e.moduleReference)},269:function(e,t,n){return T3(t,n,e.modifiers)||T2(t,e.importClause)||T2(t,e.moduleSpecifier)||T2(t,e.assertClause)},270:function(e,t,n){return T2(t,e.name)||T2(t,e.namedBindings)},296:function(e,t,n){return T3(t,n,e.elements)},297:function(e,t,n){return T2(t,e.name)||T2(t,e.value)},267:function(e,t,n){return T3(t,n,e.modifiers)||T2(t,e.name)},271:function(e,t,n){return T2(t,e.name)},277:function(e,t,n){return T2(t,e.name)},272:Eo,276:Eo,275:function(e,t,n){return T3(t,n,e.modifiers)||T2(t,e.exportClause)||T2(t,e.moduleSpecifier)||T2(t,e.assertClause)},273:Ea,278:Ea,274:function(e,t,n){return T3(t,n,e.modifiers)||T2(t,e.expression)},225:function(e,t,n){return T2(t,e.head)||T3(t,n,e.templateSpans)},236:function(e,t,n){return T2(t,e.expression)||T2(t,e.literal)},200:function(e,t,n){return T2(t,e.head)||T3(t,n,e.templateSpans)},201:function(e,t,n){return T2(t,e.type)||T2(t,e.literal)},164:function(e,t,n){return T2(t,e.expression)},294:function(e,t,n){return T3(t,n,e.types)},230:function(e,t,n){return T2(t,e.expression)||T3(t,n,e.typeArguments)},280:function(e,t,n){return T2(t,e.expression)},279:function(e,t,n){return T3(t,n,e.modifiers)},357:function(e,t,n){return T3(t,n,e.elements)},281:function(e,t,n){return T2(t,e.openingElement)||T3(t,n,e.children)||T2(t,e.closingElement)},285:function(e,t,n){return T2(t,e.openingFragment)||T3(t,n,e.children)||T2(t,e.closingFragment)},282:Es,283:Es,289:function(e,t,n){return T3(t,n,e.properties)},288:function(e,t,n){return T2(t,e.name)||T2(t,e.initializer)},290:function(e,t,n){return T2(t,e.expression)},291:function(e,t,n){return T2(t,e.dotDotDotToken)||T2(t,e.expression)},284:function(e,t,n){return T2(t,e.tagName)},187:Eu,188:Eu,312:Eu,318:Eu,317:Eu,319:Eu,321:Eu,320:function(e,t,n){return T3(t,n,e.parameters)||T2(t,e.type)},323:function(e,t,n){return("string"==typeof e.comment?void 0:T3(t,n,e.comment))||T3(t,n,e.tags)},350:function(e,t,n){return T2(t,e.tagName)||T2(t,e.name)||("string"==typeof e.comment?void 0:T3(t,n,e.comment))},313:function(e,t,n){return T2(t,e.name)},314:function(e,t,n){return T2(t,e.left)||T2(t,e.right)},344:El,351:El,333:function(e,t,n){return T2(t,e.tagName)||("string"==typeof e.comment?void 0:T3(t,n,e.comment))},332:function(e,t,n){return T2(t,e.tagName)||T2(t,e.class)||("string"==typeof e.comment?void 0:T3(t,n,e.comment))},331:function(e,t,n){return T2(t,e.tagName)||T2(t,e.class)||("string"==typeof e.comment?void 0:T3(t,n,e.comment))},348:function(e,t,n){return T2(t,e.tagName)||T2(t,e.constraint)||T3(t,n,e.typeParameters)||("string"==typeof e.comment?void 0:T3(t,n,e.comment))},349:function(e,t,n){return T2(t,e.tagName)||(e.typeExpression&&312===e.typeExpression.kind?T2(t,e.typeExpression)||T2(t,e.fullName)||("string"==typeof e.comment?void 0:T3(t,n,e.comment)):T2(t,e.fullName)||T2(t,e.typeExpression)||("string"==typeof e.comment?void 0:T3(t,n,e.comment)))},341:function(e,t,n){return T2(t,e.tagName)||T2(t,e.fullName)||T2(t,e.typeExpression)||("string"==typeof e.comment?void 0:T3(t,n,e.comment))},345:Ec,347:Ec,346:Ec,343:Ec,353:Ec,352:Ec,342:Ec,326:function(e,t,n){return f(e.typeParameters,t)||f(e.parameters,t)||T2(t,e.type)},327:E_,328:E_,329:E_,325:function(e,t,n){return f(e.jsDocPropertyTags,t)},330:Ep,335:Ep,336:Ep,337:Ep,338:Ep,339:Ep,334:Ep,340:Ep,356:Ed},(e=>{let t,n,r;var i,o,a,s,u,l,c,_,p,d,f,m,h,y,g,b,v,x,D,S,E,w,A,C=o_(99,!0),N=bQ(11,{createBaseSourceFileNode:e=>{var t;return t=new c(e,0,0),x++,t},createBaseIdentifierNode:e=>{var t;return t=new u(e,0,0),x++,t},createBasePrivateIdentifierNode:e=>{var t;return t=new l(e,0,0),x++,t},createBaseTokenNode:e=>{var t;return t=new s(e,0,0),x++,t},createBaseNode:e=>{var t;return t=new a(e,0,0),x++,t}}),{createNodeArray:M,createNumericLiteral:k,createStringLiteral:I,createLiteralLikeNode:j,createIdentifier:O,createPrivateIdentifier:P,createToken:F,createArrayLiteralExpression:L,createObjectLiteralExpression:z,createPropertyAccessExpression:R,createPropertyAccessChain:B,createElementAccessExpression:U,createElementAccessChain:J,createCallExpression:K,createCallChain:V,createNewExpression:Y,createParenthesizedExpression:q,createBlock:W,createVariableStatement:Q,createExpressionStatement:H,createIfStatement:Z,createWhileStatement:ee,createForStatement:et,createForOfStatement:en,createVariableDeclaration:er,createVariableDeclarationList:ei}=N,eo=!0,ea=!1;function es(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2,r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];eu(e,t,n,r,6),p=A,eJ();let o=ez(),a,s;if(1===v)a=ta([],o,o),s=tn();else{let e;for(;1!==v;){let t;switch(v){case 22:t=rc();break;case 110:case 95:case 104:t=tn();break;case 40:t=eG(()=>8===eJ()&&58!==eJ())?nX():rp();break;case 8:case 10:if(eG(()=>58!==eJ())){t=tq();break}default:t=rp()}e&&e6(e)?e.push(t):e?e=[e,t]:(e=t,1!==v&&ej(iP.Unexpected_token))}let t=H(e6(e)?ts(L(e),o):nd.checkDefined(e));ts(t,o),a=ta([t],o),s=te(1,iP.Unexpected_token)}let u=eh(e,2,6,!1,a,s,p,tt);return i&&em(u),u.nodeCount=x,u.identifierCount=S,u.identifiers=D,u.parseDiagnostics=hW(y,u),g&&(u.jsDocDiagnostics=hW(g,u)),el(),u}function eu(e,t,n,r,i){switch(a=by.getNodeConstructor(),s=by.getTokenConstructor(),u=by.getIdentifierConstructor(),l=by.getPrivateIdentifierConstructor(),c=by.getSourceFileConstructor(),_=is(e),d=t,f=n,b=r,m=i,h=h4(i),y=[],E=0,D=new Map,S=0,x=0,p=0,eo=!0,m){case 1:case 2:A=262144;break;case 6:A=67371008;break;default:A=0}ea=!1,C.setText(d),C.setOnError(eL),C.setScriptTarget(f),C.setLanguageVariant(h)}function el(){C.clearCommentDirectives(),C.setText(""),C.setOnError(void 0),d=void 0,f=void 0,b=void 0,m=void 0,h=void 0,p=0,y=void 0,g=void 0,E=0,D=void 0,w=void 0,eo=!0}function ec(e,t){return t?ed(e):e}e.parseSourceFile=function(e,t,n,r){var i,o,a;let s,u,l,c;let f=arguments.length>4&&void 0!==arguments[4]&&arguments[4],m=arguments.length>5?arguments[5]:void 0,h=arguments.length>6?arguments[6]:void 0;if(6===(m=y$(e,m))){let o=es(e,t,n,r,f);return convertToObjectWorker(o,null==(i=o.statements[0])?void 0:i.expression,o.parseDiagnostics,!1,void 0,void 0),o.referencedFiles=t8,o.typeReferenceDirectives=t8,o.libReferenceDirectives=t8,o.amdDependencies=t8,o.hasNoDefaultLib=!1,o.pragmas=t7,o}eu(e,t,n,r,m);let b=(o=m,a=h||Ey,(s=EE(_))&&(A|=16777216),p=A,eJ(),u=tO(0,rw),nd.assert(1===v),l=ed(tn()),Ew(c=eh(_,n,o,s,u,l,p,a),d),EA(c,function(e,t,n){y.push(hq(_,e,t,n))}),c.commentDirectives=C.getCommentDirectives(),c.nodeCount=x,c.identifierCount=S,c.identifiers=D,c.parseDiagnostics=hW(y,c),g&&(c.jsDocDiagnostics=hW(g,c)),f&&em(c),c);return el(),b},e.parseIsolatedEntityName=function(e,t){eu("",e,t,void 0,1),eJ();let n=tJ(!0),r=1===v&&!y.length;return el(),r?n:void 0},e.parseJsonText=es;let ep=!1;function ed(e){nd.assert(!e.jsDoc);let t=$(c3(e,d),t=>r.parseJSDocComment(e,t.pos,t.end-t.pos));return t.length&&(e.jsDoc=t),ep&&(ep=!1,e.flags|=268435456),e}function em(e){gw(e,!0)}function eh(e,t,n,r,i,o,a,s){let u=N.createSourceFile(i,o,a);return gD(u,0,d.length),l(u),!r&&Ex(u)&&67108864&u.transformFlags&&l(u=function(e){let t=b,n=ER.createSyntaxCursor(e);b={currentNode:function(e){let t=n.currentNode(e);return eo&&t&&s(t)&&(t.intersectsChange=!0),t}};let r=[],i=y;y=[];let o=0,a=u(e.statements,0);for(;-1!==a;){let t=e.statements[o],n=e.statements[a];ef(r,e.statements,o,a),o=l(e.statements,a);let s=T(i,e=>e.start>=t.pos),c=s>=0?T(i,e=>e.start>=n.pos,s):-1;s>=0&&ef(y,i,s,c>=0?c:void 0),eH(()=>{let t=A;for(A|=32768,C.setTextPos(n.pos),eJ();1!==v;){let t=C.getStartPos(),n=tP(0,rw);if(r.push(n),t===C.getStartPos()&&eJ(),o>=0){let t=e.statements[o];if(n.end===t.pos)break;n.end>t.pos&&(o=l(e.statements,o+1))}}A=t},2),a=o>=0?u(e.statements,o):-1}if(o>=0){let t=e.statements[o];ef(r,e.statements,o);let n=T(i,e=>e.start>=t.pos);n>=0&&ef(y,i,n)}return b=t,N.updateSourceFile(e,TZ(M(r),e.statements));function s(e){return!(32768&e.flags)&&!!(67108864&e.transformFlags)}function u(e,t){for(let n=t;n116}function e0(){return 79===v||!(125===v&&eC()||133===v&&eI())&&v>116}function e1(e,t){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return v===e?(n&&eJ(),!0):(t?ej(t):ej(iP._0_expected,ow[e]),!1)}e.fixupParentReferences=em;let e2=Object.keys(om).filter(e=>e.length>2);function e3(e){var t;if(xk(e)){eP(i4(d,e.template.pos),e.template.end,iP.Module_declaration_names_may_only_use_or_quoted_strings);return}let n=vk(e)?ao(e):void 0;if(!n||!oc(n,f)){ej(iP._0_expected,ow[26]);return}let r=i4(d,e.pos);switch(n){case"const":case"let":case"var":eP(r,e.end,iP.Variable_declaration_not_allowed_at_this_location);return;case"declare":return;case"interface":e4(iP.Interface_name_cannot_be_0,iP.Interface_must_be_given_a_name,18);return;case"is":eP(r,C.getTextPos(),iP.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return;case"module":case"namespace":e4(iP.Namespace_name_cannot_be_0,iP.Namespace_must_be_given_a_name,18);return;case"type":e4(iP.Type_alias_name_cannot_be_0,iP.Type_alias_must_be_given_a_name,63);return}let i=null!=(t=tM(n,e2,e=>e))?t:function(e){for(let t of e2)if(e.length>t.length+2&&tK(e,t))return`${t} ${e.slice(t.length)}`}(n);if(i){eP(r,e.end,iP.Unknown_keyword_or_identifier_Did_you_mean_0,i);return}0!==v&&eP(r,e.end,iP.Unexpected_keyword_or_identifier)}function e4(e,t,n){v===n?ej(t):ej(e,C.getTokenValue())}function e5(e){return v===e?(e$(),!0):(ej(iP._0_expected,ow[e]),!1)}function e8(e,t,n,r){if(v===t){eJ();return}let i=ej(iP._0_expected,ow[t]);n&&i&&go(i,hq(_,r,1,iP.The_parser_expected_to_find_a_1_to_match_the_0_token_here,ow[e],ow[t]))}function e7(e){return v===e&&(eJ(),!0)}function e9(e){if(v===e)return tn()}function te(e,t,n){return e9(e)||tu(e,!1,t||iP._0_expected,n||ow[e])}function tn(){let e=ez(),t=v;return eJ(),ts(F(t),e)}function tr(){return 26===v||19===v||1===v||C.hasPrecedingLineBreak()}function ti(){return!!tr()&&(26===v&&eJ(),!0)}function to(){return ti()||e1(26)}function ta(e,t,n,r){let i=M(e,r);return gx(i,t,null!=n?n:C.getStartPos()),i}function ts(e,t,n){return gx(e,t,null!=n?n:C.getStartPos()),A&&(e.flags|=A),ea&&(ea=!1,e.flags|=131072),e}function tu(e,t,n,r){t?eO(C.getStartPos(),0,n,r):n&&ej(n,r);let i=ez();return ts(79===e?O("",void 0):sy(e)?N.createTemplateLiteralLikeNode(e,"","",void 0):8===e?k("",void 0):10===e?I("",void 0):279===e?N.createMissingDeclaration():F(e),i)}function tl(e){let t=D.get(e);return void 0===t&&D.set(e,t=e),t}function tc(e,t,n){if(e){S++;let e=ez(),t=v,n=tl(C.getTokenValue()),r=C.hasExtendedUnicodeEscape();return eB(),ts(O(n,t,r),e)}if(80===v)return ej(n||iP.Private_identifiers_are_not_allowed_outside_class_bodies),tc(!0);if(0===v&&C.tryScan(()=>79===C.reScanInvalidIdentifier()))return tc(!0);S++;let r=1===v,i=C.isReservedWord(),o=C.getTokenText(),a=i?iP.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:iP.Identifier_expected;return tu(79,r,t||a,o)}function t_(e){return tc(eX(),void 0,e)}function tp(e,t){return tc(e0(),e,t)}function td(e){return tc(iL(v),e)}function tf(){return iL(v)||10===v||8===v}function tm(){return function(e){let t,n;if(10===v||8===v){let e=tq();return e.text=tl(e.text),e}return e&&22===v?(t=ez(),e1(22),n=eT(nB),e1(23),ts(N.createComputedPropertyName(n),t)):80===v?th():td()}(!0)}function th(){let e=ez(),t=P(tl(C.getTokenValue()));return eJ(),ts(t,e)}function ty(e){return v===e&&eZ(tb)}function tg(){return eJ(),!C.hasPrecedingLineBreak()&&tD()}function tb(){switch(v){case 85:return 92===eJ();case 93:return eJ(),88===v?eG(tS):154===v?eG(tx):tv();case 88:return tS();case 124:case 137:case 151:return eJ(),tD();default:return tg()}}function tv(){return 59===v||41!==v&&128!==v&&18!==v&&tD()}function tx(){return eJ(),tv()}function tD(){return 22===v||18===v||41===v||25===v||tf()}function tS(){return eJ(),84===v||98===v||118===v||59===v||126===v&&eG(rv)||132===v&&eG(rx)}function tT(e,t){if(tF(e))return!0;switch(e){case 0:case 1:case 3:return!(26===v&&t)&&rT();case 2:return 82===v||88===v;case 4:return eG(na);case 5:return eG(rV)||26===v&&!t;case 6:return 22===v||tf();case 12:switch(v){case 22:case 41:case 25:case 24:return!0;default:return tf()}case 18:return tf();case 9:return 22===v||25===v||tf();case 24:return iL(v)||10===v;case 7:return 18===v?eG(tE):t?e0()&&!tN():nz()&&!tN();case 8:return rj();case 10:return 27===v||25===v||rj();case 19:return 101===v||85===v||e0();case 15:switch(v){case 27:case 24:return!0}case 11:return 25===v||nR();case 16:return t4(!1);case 17:return t4(!0);case 20:case 21:return 27===v||nT();case 22:return r3();case 23:return iL(v);case 13:return iL(v)||18===v;case 14:return!0}return nd.fail("Non-exhaustive case in 'isListElement'.")}function tE(){if(nd.assert(18===v),19===eJ()){let e=eJ();return 27===e||18===e||94===e||117===e}return!0}function tw(){return eJ(),e0()}function tA(){return eJ(),iL(v)}function tC(){return eJ(),iz(v)}function tN(){return(117===v||94===v)&&eG(tk)}function tk(){return eJ(),nR()}function tI(){return eJ(),nT()}function tj(e){if(1===v)return!0;switch(e){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:case 24:return 19===v;case 3:return 19===v||82===v||88===v;case 7:return 18===v||94===v||117===v;case 8:return!!(tr()||nQ(v)||38===v);case 19:return 31===v||20===v||18===v||94===v||117===v;case 11:return 21===v||26===v;case 15:case 21:case 10:return 23===v;case 17:case 16:case 18:return 21===v||23===v;case 20:return 27!==v;case 22:return 18===v||19===v;case 13:return 31===v||43===v;case 14:return 29===v&&eG(r9);default:return!1}}function tO(e,t){let n=E;E|=1<=0)}function tB(){let e=ta([],ez());return e.isMissingList=!0,e}function tU(e,t,n,r){if(e1(n)){let n=tR(e,t);return e1(r),n}return tB()}function tJ(e,t){let n=ez(),r=e?td(t):tp(t);for(;e7(24)&&29!==v;)r=ts(N.createQualifiedName(r,t$(e,!1)),n);return r}function t$(e,t){if(C.hasPrecedingLineBreak()&&iL(v)&&eG(rb))return tu(79,!0,iP.Identifier_expected);if(80===v){let e=th();return t?e:tu(79,!0,iP.Identifier_expected)}return e?td():tp()}function tV(e){let t=ez();return ts(N.createTemplateExpression(tW(e),function(e){let t=ez(),n=[],r;do r=function(e){let t=ez();return ts(N.createTemplateSpan(eT(nB),tY(e)),t)}(e),n.push(r);while(16===r.literal.kind)return ta(n,t)}(e)),t)}function tY(e){let t;return 19===v?(t=tQ(v=C.reScanTemplateToken(e)),nd.assert(16===t.kind||17===t.kind,"Template fragment has wrong token kind"),t):te(17,iP._0_expected,ow[19])}function tq(){return tQ(v)}function tW(e){e&&eV();let t=tQ(v);return nd.assert(15===t.kind,"Template head has wrong token kind"),t}function tQ(e){let t;let n=ez(),r=sy(e)?N.createTemplateLiteralLikeNode(e,C.getTokenValue(),(t=C.getTokenText()).substring(1,t.length-(C.isUnterminated()?0:14===e||17===e?1:2)),2048&C.getTokenFlags()):8===e?k(C.getTokenValue(),C.getNumericLiteralFlags()):10===e?I(C.getTokenValue(),void 0,C.hasExtendedUnicodeEscape()):sf(e)?j(e,C.getTokenValue()):nd.fail();return C.hasExtendedUnicodeEscape()&&(r.hasExtendedUnicodeEscape=!0),C.isUnterminated()&&(r.isUnterminated=!0),eJ(),ts(r,n)}function tH(){return tJ(!0,iP.Type_expected)}function tG(){if(!C.hasPrecedingLineBreak()&&29===eY())return tU(20,nF,29,31)}function tZ(){let e=ez();return ts(N.createTypeReferenceNode(tH(),tG()),e)}function tX(){let e=ez();return eJ(),ts(N.createThisTypeNode(),e)}function t0(){let e=ez(),t;return(108===v||103===v)&&(t=td(),e1(58)),ts(N.createParameterDeclaration(void 0,void 0,t,void 0,t1(),void 0),e)}function t1(){C.setInJSDocType(!0);let e=ez();if(e7(142)){let t=N.createJSDocNamepathType(void 0);n:for(;;)switch(v){case 19:case 1:case 27:case 5:break n;default:e$()}return C.setInJSDocType(!1),ts(t,e)}let t=e7(25),n=nO();return C.setInJSDocType(!1),t&&(n=ts(N.createJSDocVariadicType(n),e)),63===v?(eJ(),ts(N.createJSDocOptionalType(n),e)):n}function t2(){let e=ez(),t=rQ(!1,!0),n=tp(),r,i;e7(94)&&(nT()||!nR()?r=nF():i=n0());let o=e7(63)?nF():void 0,a=N.createTypeParameterDeclaration(t,n,r,o);return a.expression=i,ts(a,e)}function t3(){if(29===v)return tU(19,t2,29,31)}function t4(e){return 25===v||rj()||sM(v)||59===v||nT(!e)}function t6(e){let t,n=!(arguments.length>1)||void 0===arguments[1]||arguments[1],r=ez(),i=eR(),o=e?eA(()=>rQ(!0)):ex(32768,()=>rQ(!0));if(108===v){let e=N.createParameterDeclaration(o,void 0,tc(!0),void 0,nL(),void 0),t=eD(o);return t&&eF(t,iP.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters),ec(ts(e,r),i)}let a=eo;eo=!1;let s=e9(25);if(!n&&!(eX()||22===v||18===v))return;let u=ec(ts(N.createParameterDeclaration(o,s,(0===lf(t=rO(iP.Private_identifiers_cannot_be_used_as_parameters))&&!G(o)&&sM(v)&&eJ(),t),e9(57),nL(),nU()),r),i);return eo=a,u}function t5(e,t){if(38===e?(e1(e),!0):!!e7(58)||!!t&&38===v&&(ej(iP._0_expected,ow[58]),eJ(),!0))return eE(nO)}function t9(e,t){let n=eC(),r=eI();eg(!!(1&e)),ev(!!(2&e));let i=32&e?tR(17,t0):tR(16,()=>t?t6(r):t6(r,!1));return eg(n),ev(r),i}function ne(e){if(!e1(20))return tB();let t=t9(e,!0);return e1(21),t}function nt(){e7(27)||to()}function nn(e){let t=ez(),n=eR();177===e&&e1(103);let r=t3(),i=ne(4),o=t5(58,!0);return nt(),ec(ts(176===e?N.createCallSignature(r,i,o):N.createConstructSignature(r,i,o),t),n)}function nr(){return 22===v&&eG(ni)}function ni(){if(eJ(),25===v||23===v)return!0;if(sM(v)){if(eJ(),e0())return!0}else{if(!e0())return!1;eJ()}return 58===v||27===v||57===v&&(eJ(),58===v||27===v||23===v)}function no(e,t,n){let r=tU(16,()=>t6(!1),22,23),i=nL();return nt(),ec(ts(N.createIndexSignature(n,r,i),e),t)}function na(){if(20===v||29===v||137===v||151===v)return!0;let e=!1;for(;sM(v);)e=!0,eJ();return 22===v||(tf()&&(e=!0,eJ()),!!e&&(20===v||29===v||57===v||58===v||27===v||tr()))}function ns(){if(20===v||29===v)return nn(176);if(103===v&&eG(nu))return nn(177);let e=ez(),t=eR(),n=rQ(!1);return ty(137)?rK(e,t,n,174,4):ty(151)?rK(e,t,n,175,4):nr()?no(e,t,n):function(e,t,n){let r=tm(),i=e9(57),o;if(20===v||29===v){let e=t3(),t=ne(4),a=t5(58,!0);o=N.createMethodSignature(n,r,i,e,t,a)}else{let e=nL();o=N.createPropertySignature(n,r,i,e),63===v&&(o.initializer=nU())}return nt(),ec(ts(o,e),t)}(e,t,n)}function nu(){return eJ(),20===v||29===v}function nl(){return 24===eJ()}function nc(){switch(eJ()){case 20:case 29:case 24:return!0}return!1}function n_(){let e;return e1(18)?(e=tO(4,ns),e1(19)):e=tB(),e}function np(){return eJ(),39===v||40===v?146===eJ():(146===v&&eJ(),22===v&&tw()&&101===eJ())}function nf(){let e=ez();if(e7(25))return ts(N.createRestTypeNode(nF()),e);let t=nF();if(Sp(t)&&t.pos===t.type.pos){let e=N.createOptionalTypeNode(t.type);return TZ(e,t),e.flags=t.flags,e}return t}function nm(){return 58===eJ()||57===v&&58===eJ()}function nh(){return 25===v?iL(eJ())&&nm():iL(v)&&nm()}function ny(){if(eG(nh)){let e=ez(),t=eR(),n=e9(25),r=td(),i=e9(57);e1(58);let o=nf();return ec(ts(N.createNamedTupleMember(n,r,i,o),e),t)}return nf()}function ng(){let e=ez(),t=eR(),n=function(){let e;if(126===v){let t=ez();eJ(),e=ta([ts(F(126),t)],t)}return e}(),r=e7(103);nd.assert(!n||r,"Per isStartOfFunctionOrConstructorType, a function type cannot have modifiers.");let i=t3(),o=ne(4),a=t5(38,!1);return ec(ts(r?N.createConstructorTypeNode(n,i,o,a):N.createFunctionTypeNode(i,o,a),e),t)}function nb(){let e=tn();return 24===v?void 0:e}function nv(e){let t=ez();e&&eJ();let n=110===v||95===v||104===v?tn():tQ(v);return e&&(n=ts(N.createPrefixUnaryExpression(40,n),t)),ts(N.createLiteralTypeNode(n),t)}function nx(){return eJ(),100===v}function nD(){p|=2097152;let e=ez(),t=e7(112);e1(100),e1(20);let n=nF(),r;e7(27)&&(r=function(){let e=ez(),t=C.getTokenPos();e1(18);let n=C.hasPrecedingLineBreak();e1(130),e1(58);let r=it(!0);if(!e1(19)){let e=ew(y);e&&e.code===iP._0_expected.code&&go(e,hq(_,t,1,iP.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}return ts(N.createImportTypeAssertionContainer(r,n),e)}()),e1(21);let i=e7(24)?tH():void 0,o=tG();return ts(N.createImportTypeNode(n,r,i,o,t),e)}function nS(){return eJ(),8===v||9===v}function nT(e){switch(v){case 131:case 157:case 152:case 148:case 160:case 134:case 146:case 153:case 156:case 114:case 155:case 104:case 108:case 112:case 144:case 18:case 22:case 29:case 51:case 50:case 103:case 10:case 8:case 9:case 110:case 95:case 149:case 41:case 57:case 53:case 25:case 138:case 100:case 129:case 14:case 15:return!0;case 98:return!e;case 40:return!e&&eG(nS);case 20:return!e&&eG(nE);default:return e0()}}function nE(){return eJ(),21===v||t4(!1)||nT()}function nw(){let e=ez(),t=function e(){switch(v){case 131:case 157:case 152:case 148:case 160:case 153:case 134:case 155:case 144:case 149:return eZ(nb)||tZ();case 66:C.reScanAsteriskEqualsToken();case 41:let t;return t=ez(),eJ(),ts(N.createJSDocAllType(),t);case 60:C.reScanQuestionToken();case 57:let n;return n=ez(),eJ(),27===v||19===v||21===v||31===v||63===v||51===v?ts(N.createJSDocUnknownType(),n):ts(N.createJSDocNullableType(nF(),!1),n);case 98:return function(){let e=ez(),t=eR();if(eG(r8)){eJ();let n=ne(36),r=t5(58,!1);return ec(ts(N.createJSDocFunctionType(n,r),e),t)}return ts(N.createTypeReferenceNode(td(),void 0),e)}();case 53:let r;return r=ez(),eJ(),ts(N.createJSDocNonNullableType(e(),!1),r);case 14:case 10:case 8:case 9:case 110:case 95:case 104:return nv();case 40:return eG(nS)?nv(!0):tZ();case 114:return tn();case 108:{let e=tX();return 140!==v||C.hasPrecedingLineBreak()?e:(eJ(),ts(N.createTypePredicateNode(void 0,e,nF()),e.pos))}case 112:let i,o,a;return eG(nx)?nD():(i=ez(),e1(112),o=tJ(!0),a=C.hasPrecedingLineBreak()?void 0:r2(),ts(N.createTypeQueryNode(o,a),i));case 18:let s,u,l,c,_,p,d,f,m,h,y;return eG(np)?(l=ez(),e1(18),(146===v||39===v||40===v)&&146!==(s=tn()).kind&&e1(146),e1(22),c=ez(),_=td(),e1(101),p=nF(),d=ts(N.createTypeParameterDeclaration(void 0,_,p,void 0),c),f=e7(128)?nF():void 0,e1(23),(57===v||39===v||40===v)&&57!==(u=tn()).kind&&e1(57),m=nL(),to(),h=tO(4,ns),e1(19),ts(N.createMappedTypeNode(s,d,f,u,m,h),l)):(y=ez(),ts(N.createTypeLiteralNode(n_()),y));case 22:let g;return g=ez(),ts(N.createTupleTypeNode(tU(21,ny,22,23)),g);case 20:let b,x;return b=ez(),e1(20),x=nF(),e1(21),ts(N.createParenthesizedType(x),b);case 100:return nD();case 129:let D,S,T,E;return eG(rb)?(D=ez(),S=te(129),T=108===v?tX():tp(),E=e7(140)?nF():void 0,ts(N.createTypePredicateNode(S,T,E),D)):tZ();case 15:let w;return w=ez(),ts(N.createTemplateLiteralType(tW(!1),function(){let e=ez(),t=[],n;do n=function(){let e=ez();return ts(N.createTemplateLiteralTypeSpan(nF(),tY(!1)),e)}(),t.push(n);while(16===n.literal.kind)return ta(t,e)}()),w);default:return tZ()}}();for(;!C.hasPrecedingLineBreak();)switch(v){case 53:eJ(),t=ts(N.createJSDocNonNullableType(t,!0),e);break;case 57:if(eG(tI))return t;eJ(),t=ts(N.createJSDocNullableType(t,!0),e);break;case 22:if(e1(22),nT()){let n=nF();e1(23),t=ts(N.createIndexedAccessTypeNode(t,n),e)}else e1(23),t=ts(N.createArrayTypeNode(t),e);break;default:return t}return t}function nA(){if(e7(94)){let e=eS(65536,nF);if(eM()||57!==v)return e}}function nC(e){if(nI()){let t=ng(),n;return n=xe(t)?e?iP.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:iP.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:e?iP.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:iP.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type,eF(t,n),t}}function nN(e,t,n){let r=ez(),i=51===e,o=e7(e),a=o&&nC(i)||t();if(v===e||o){let o=[a];for(;e7(e);)o.push(nC(i)||t());a=ts(n(ta(o,r)),r)}return a}function nM(){return nN(50,function e(){let t=v;switch(t){case 141:case 156:case 146:let n;return n=ez(),e1(t),ts(N.createTypeOperatorNode(t,e()),n);case 138:let r,i,o,a;return r=ez(),e1(138),ts(N.createInferTypeNode((i=ez(),o=tp(),a=eZ(nA),ts(N.createTypeParameterDeclaration(void 0,o,a),i))),r)}return eE(nw)},N.createIntersectionTypeNode)}function nk(){return eJ(),103===v}function nI(){return!!(29===v||20===v&&eG(nj))||103===v||126===v&&eG(nk)}function nj(){return eJ(),!!(21===v||25===v||function(){if(sM(v)&&rQ(!1),e0()||108===v)return eJ(),!0;if(22===v||18===v){let e=y.length;return rO(),e===y.length}return!1}()&&(58===v||27===v||57===v||63===v||21===v&&(eJ(),38===v)))}function nO(){let e=ez(),t=e0()&&eZ(nP),n=nF();return t?ts(N.createTypePredicateNode(void 0,t,n),e):n}function nP(){let e=tp();if(140===v&&!C.hasPrecedingLineBreak())return eJ(),e}function nF(){if(40960&A)return ex(40960,nF);if(nI())return ng();let e=ez(),t=nN(51,nM,N.createUnionTypeNode);if(!eM()&&!C.hasPrecedingLineBreak()&&e7(94)){let n=eS(65536,nF);e1(57);let r=eE(nF);e1(58);let i=eE(nF);return ts(N.createConditionalTypeNode(t,n,r,i),e)}return t}function nL(){return e7(58)?nF():void 0}function nz(){switch(v){case 108:case 106:case 104:case 110:case 95:case 8:case 9:case 10:case 14:case 15:case 20:case 22:case 18:case 98:case 84:case 103:case 43:case 68:case 79:return!0;case 100:return eG(nc);default:return e0()}}function nR(){if(nz())return!0;switch(v){case 39:case 40:case 54:case 53:case 89:case 112:case 114:case 45:case 46:case 29:case 133:case 125:case 80:case 59:return!0;default:return!!nG()||e0()}}function nB(){let e=ek();e&&eb(!1);let t=ez(),n=nJ(!0),r;for(;r=e9(27);)n=nZ(n,r,nJ(!0),t);return e&&eb(!0),n}function nU(){return e7(63)?nJ(!0):void 0}function nJ(e){let t,n;if(125===v&&(eC()||eG(rD))){let e;return e=ez(),eJ(),!C.hasPrecedingLineBreak()&&(41===v||nR())?ts(N.createYieldExpression(e9(41),nJ(!0)),e):ts(N.createYieldExpression(void 0,void 0),e)}let r=function(e){let t=20===v||29===v||132===v?eG(nK):38===v?1:0;if(0!==t)return 1===t?nY(!0,!0):eZ(()=>(function(e){let t=C.getTokenPos();if(null!=w&&w.has(t))return;let n=nY(!1,e);return n||(w||(w=new Set)).add(t),n})(e))}(e)||function(e){if(132===v&&1===eG(nV)){let t=ez(),n=rH();return n$(t,nW(0),e,n)}}(e);if(r)return r;let i=ez(),o=nW(0);return 79===o.kind&&38===v?n$(i,o,e,void 0):us(o)&&mD(eK())?nZ(o,tn(),nJ(e),i):(n=e9(57))?ts(N.createConditionalExpression(o,n,ex(20480,()=>nJ(!1)),t=te(58),lP(t)?nJ(e):tu(79,!1,iP._0_expected,ow[58])),i):o}function n$(e,t,n,r){nd.assert(38===v,"parseSimpleArrowFunctionExpression should only have been called if we had a =>");let i=N.createParameterDeclaration(void 0,void 0,t,void 0,void 0,void 0);ts(i,t.pos);let o=ta([i],i.pos,i.end),a=te(38),s=nq(!!r,n);return ed(ts(N.createArrowFunction(r,void 0,o,void 0,a,s),e))}function nK(){if(132===v&&(eJ(),C.hasPrecedingLineBreak()||20!==v&&29!==v))return 0;let e=v,t=eJ();if(20!==e)return nd.assert(29===e),e0()||85===v?1===h?eG(()=>{e7(85);let e=eJ();if(94===e)switch(eJ()){case 63:case 31:case 43:break;default:return!0}else if(27===e||63===e)return!0;return!1})?1:0:2:0;if(21===t)switch(eJ()){case 38:case 58:case 18:return 1;default:return 0}if(22===t||18===t)return 2;if(25===t)return 1;if(sM(t)&&132!==t&&eG(tw))return 128===eJ()?0:1;if(!e0()&&108!==t)return 0;switch(eJ()){case 58:return 1;case 57:return eJ(),58===v||27===v||63===v||21===v?1:0;case 27:case 63:case 21:return 2}return 0}function nV(){if(132===v){if(eJ(),C.hasPrecedingLineBreak()||38===v)return 0;let e=nW(0);if(!C.hasPrecedingLineBreak()&&79===e.kind&&38===v)return 1}return 0}function nY(e,t){let n=ez(),r=eR(),i=rH(),o=G(i,vP)?2:0,a=t3(),s;if(e1(20)){if(e)s=t9(o,e);else{let t=t9(o,e);if(!t)return;s=t}if(!e1(21)&&!e)return}else{if(!e)return;s=tB()}let u=58===v,l=t5(58,!1);if(l&&!e&&function e(t){switch(t.kind){case 180:return lO(t.typeName);case 181:case 182:{let{parameters:n,type:r}=t;return!!n.isMissingList||e(r)}case 193:return e(t.type);default:return!1}}(l))return;let c=l;for(;(null==c?void 0:c.kind)===193;)c=c.type;let _=c&&Sm(c);if(!e&&38!==v&&(_||18!==v))return;let p=v,d=te(38),f=38===p||18===p?nq(G(i,vP),t):tp();if(t||!u||58===v)return ec(ts(N.createArrowFunction(i,a,s,l,d,f),n),r)}function nq(e,t){if(18===v)return rh(e?2:0);if(26!==v&&98!==v&&84!==v&&rT()&&!(18!==v&&98!==v&&84!==v&&59!==v&&nR()))return rh(16|(e?2:0));let n=eo;eo=!1;let r=e?eA(()=>nJ(t)):ex(32768,()=>nJ(t));return eo=n,r}function nW(e){let t=ez();return nH(e,n0(),t)}function nQ(e){return 101===e||162===e}function nH(e,t,n){for(;;){eK();let s=d7(v);if(!(42===v?s>=e:s>e)||101===v&&eN())break;if(128===v||150===v){if(C.hasPrecedingLineBreak())break;{var r,i,o,a;let e=v;eJ(),t=150===e?(r=t,i=nF(),ts(N.createSatisfiesExpression(r,i),r.pos)):(o=t,a=nF(),ts(N.createAsExpression(o,a),o.pos))}}else t=nZ(t,tn(),nW(s),n)}return t}function nG(){return(!eN()||101!==v)&&d7(v)>0}function nZ(e,t,n,r){return ts(N.createBinaryExpression(e,t,n),r)}function nX(){let e=ez();return ts(N.createPrefixUnaryExpression(v,eU(n1)),e)}function n0(){if(function(){switch(v){case 39:case 40:case 54:case 53:case 89:case 112:case 114:case 133:return!1;case 29:if(1!==h)return!1;default:return!0}}()){let e=ez(),t=n2();return 42===v?nH(d7(v),t,e):t}let e=v,t=n1();if(42===v){let n=i4(d,t.pos),{end:r}=t;213===t.kind?eP(n,r,iP.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):eP(n,r,iP.An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses,ow[e])}return t}function n1(){switch(v){case 39:case 40:case 54:case 53:return nX();case 89:let e;return e=ez(),ts(N.createDeleteExpression(eU(n1)),e);case 112:let t;return t=ez(),ts(N.createTypeOfExpression(eU(n1)),t);case 114:let n;return n=ez(),ts(N.createVoidExpression(eU(n1)),n);case 29:let r,i,o;return 1===h?n6(!0):(nd.assert(1!==h,"Type assertions should never be parsed in JSX; they should be parsed as comparisons or JSX elements/fragments."),r=ez(),e1(29),i=nF(),e1(31),o=n1(),ts(N.createTypeAssertion(i,o),r));case 133:if(133===v&&(eI()||eG(rD))){let e;return e=ez(),ts(N.createAwaitExpression(eU(n1)),e)}default:return n2()}}function n2(){if(45===v||46===v){let e=ez();return ts(N.createPrefixUnaryExpression(v,eU(n3)),e)}if(1===h&&29===v&&eG(tC))return n6(!0);let e=n3();if(nd.assert(us(e)),(45===v||46===v)&&!C.hasPrecedingLineBreak()){let t=v;return eJ(),ts(N.createPostfixUnaryExpression(e,t),e.pos)}return e}function n3(){let e=ez(),t;return 100===v?eG(nu)?(p|=2097152,t=tn()):eG(nl)?(eJ(),eJ(),t=ts(N.createMetaProperty(100,td()),e),p|=4194304):t=n4():t=106===v?function(){let e=ez(),t=tn();if(29===v){let e=ez(),n=eZ(rs);void 0!==n&&(eP(e,ez(),iP.super_may_not_use_type_arguments),rr()||(t=N.createExpressionWithTypeArguments(t,n)))}return 20===v||24===v||22===v?t:(te(24,iP.super_must_be_followed_by_an_argument_list_or_member_access),ts(R(t,t$(!0,!0)),e))}():n4(),ro(e,t)}function n4(){return rn(ez(),function e(){switch(v){case 8:case 9:case 10:case 14:return tq();case 108:case 106:case 104:case 110:case 95:return tn();case 20:let t,n,r;return t=ez(),n=eR(),e1(20),r=eT(nB),e1(21),ec(ts(q(r),t),n);case 22:return rc();case 18:return rp();case 132:if(!eG(rx))break;return rd();case 59:return function(){let e=ez(),t=eR(),n=rQ(!0);if(84===v)return rZ(e,t,n,228);let r=tu(279,!0,iP.Expression_expected);return gb(r,e),r.modifiers=n,r}();case 84:return rZ(ez(),eR(),void 0,228);case 98:return rd();case 103:return function(){let t=ez();if(e1(103),e7(24)){let e=td();return ts(N.createMetaProperty(103,e),t)}let n=rn(ez(),e(),!1),r;return 230===n.kind&&(r=n.typeArguments,n=n.expression),28===v&&ej(iP.Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0,lZ(d,n)),ts(Y(n,r,20===v?ra():void 0),t)}();case 43:case 68:if(13===(v=C.reScanSlashToken()))return tq();break;case 15:return tV(!1);case 80:return th()}return tp(iP.Expression_expected)}(),!0)}function n6(e,t,n){let r=ez(),i=function(e){let t,n=ez();if(e1(29),31===v)return eQ(),ts(N.createJsxOpeningFragment(),n);let r=n8(),i=262144&A?void 0:r2(),o=(t=ez(),ts(N.createJsxAttributes(tO(13,n9)),t)),a;return 31===v?(eQ(),a=N.createJsxOpeningElement(r,i,o)):(e1(43),e1(31,void 0,!1)&&(e?eJ():eQ()),a=N.createJsxSelfClosingElement(r,i,o)),ts(a,n)}(e),o;if(283===i.kind){let t=n5(i),a,s=t[t.length-1];if((null==s?void 0:s.kind)===281&&!EN(s.openingElement.tagName,s.closingElement.tagName)&&EN(i.tagName,s.closingElement.tagName)){let e=s.children.end,n=ts(N.createJsxElement(s.openingElement,s.children,ts(N.createJsxClosingElement(ts(O(""),e,e)),e,e)),s.openingElement.pos,e);t=ta([...t.slice(0,t.length-1),n],t.pos,e),a=s.closingElement}else{let t,r;t=ez(),e1(30),r=n8(),e1(31,void 0,!1)&&(e||!EN(i.tagName,r)?eJ():eQ()),a=ts(N.createJsxClosingElement(r),t),EN(i.tagName,a.tagName)||(n&&Dq(n)&&EN(a.tagName,n.tagName)?eF(i.tagName,iP.JSX_element_0_has_no_corresponding_closing_tag,lZ(d,i.tagName)):eF(a.tagName,iP.Expected_corresponding_JSX_closing_tag_for_0,lZ(d,i.tagName)))}o=ts(N.createJsxElement(i,t,a),r)}else{let t;286===i.kind?o=ts(N.createJsxFragment(i,n5(i),(t=ez(),e1(30),e1(31,iP.Expected_corresponding_closing_tag_for_JSX_fragment,!1)&&(e?eJ():eQ()),ts(N.createJsxJsxClosingFragment(),t))),r):(nd.assert(282===i.kind),o=i)}if(e&&29===v){let e=typeof t>"u"?o.pos:t,n=eZ(()=>n6(!0,e));if(n){let t=tu(27,!1);return gD(t,n.pos,0),eP(i4(d,e),n.end,iP.JSX_expressions_must_have_one_parent_element),ts(N.createBinaryExpression(o,t,n),r)}}return o}function n5(e){let t=[],n=ez(),r=E;for(E|=16384;;){let n=function(e,t){switch(t){case 1:if(DH(e))eF(e,iP.JSX_fragment_has_no_corresponding_closing_tag);else{let t=e.tagName;eP(i4(d,t.pos),t.end,iP.JSX_element_0_has_no_corresponding_closing_tag,lZ(d,e.tagName))}return;case 30:case 7:return;case 11:case 12:let n,r;return n=ez(),r=N.createJsxText(C.getTokenValue(),12===v),v=C.scanJsxToken(),ts(r,n);case 18:return n7(!1);case 29:return n6(!1,void 0,e);default:return nd.assertNever(t)}}(e,v=C.reScanJsxToken());if(!n||(t.push(n),Dq(e)&&(null==n?void 0:n.kind)===281&&!EN(n.openingElement.tagName,n.closingElement.tagName)&&EN(e.tagName,n.closingElement.tagName)))break}return E=r,ta(t,n)}function n8(){let e=ez();eW();let t=108===v?tn():td();for(;e7(24);)t=ts(R(t,t$(!0,!1)),e);return t}function n7(e){let t,n,r=ez();if(e1(18))return 19!==v&&(t=e9(25),n=nB()),e?e1(19):e1(19,void 0,!1)&&eQ(),ts(N.createJsxExpression(t,n),r)}function n9(){if(18===v){let e,t;return e=ez(),e1(18),e1(25),t=nB(),e1(19),ts(N.createJsxSpreadAttribute(t),e)}eW();let e=ez();return ts(N.createJsxAttribute(td(),function(){if(63===v){if(10===(v=C.scanJsxAttributeValue()))return tq();if(18===v)return n7(!0);if(29===v)return n6(!0);ej(iP.or_JSX_element_expected)}}()),e)}function re(){return eJ(),iL(v)||22===v||rr()}function rt(e){if(32&e.flags)return!0;if(xZ(e)){let t=e.expression;for(;xZ(t)&&!(32&t.flags);)t=t.expression;if(32&t.flags){for(;xZ(e);)e.flags|=32,e=e.expression;return!0}}return!1}function rn(e,t,n){for(;;){let r,i=!1;if(n&&28===v&&eG(re)?(r=te(28),i=iL(v)):i=e7(24),i){t=function(e,t,n){let r=t$(!0,!0),i=n||rt(t),o=i?B(t,n,r):R(t,r);return i&&vI(o.name)&&eF(o.name,iP.An_optional_chain_cannot_contain_private_identifiers),xQ(t)&&t.typeArguments&&eP(t.typeArguments.pos-1,i4(d,t.typeArguments.end)+1,iP.An_instantiation_expression_cannot_be_followed_by_a_property_access),ts(o,e)}(e,t,r);continue}if((r||!ek())&&e7(22)){t=function(e,t,n){let r;if(23===v)r=tu(79,!0,iP.An_element_access_expression_should_take_an_argument);else{let e=eT(nB);dO(e)&&(e.text=tl(e.text)),r=e}return e1(23),ts(n||rt(t)?J(t,n,r):U(t,r),e)}(e,t,r);continue}if(rr()){t=r||230!==t.kind?ri(e,t,r,void 0):ri(e,t.expression,r,t.typeArguments);continue}if(!r){if(53===v&&!C.hasPrecedingLineBreak()){eJ(),t=ts(N.createNonNullExpression(t),e);continue}let n=eZ(rs);if(n){t=ts(N.createExpressionWithTypeArguments(t,n),e);continue}}return t}}function rr(){return 14===v||15===v}function ri(e,t,n,r){let i=N.createTaggedTemplateExpression(t,r,14===v?(eV(),tq()):tV(!0));return(n||32&t.flags)&&(i.flags|=32),i.questionDotToken=n,ts(i,e)}function ro(e,t){for(;;){t=rn(e,t,!0);let n,r=e9(28);if(r&&(n=eZ(rs),rr())){t=ri(e,t,r,n);continue}if(n||20===v){r||230!==t.kind||(n=t.typeArguments,t=t.expression);let i=ra();t=ts(r||rt(t)?V(t,r,n,i):K(t,n,i),e);continue}r&&(t=ts(B(t,r,tu(79,!1,iP.Identifier_expected)),e));break}return t}function ra(){e1(20);let e=tR(11,rl);return e1(21),e}function rs(){if(262144&A||29!==eY())return;eJ();let e=tR(20,nF);if(31===eK())return eJ(),e&&function(){switch(v){case 20:case 14:case 15:return!0;case 29:case 31:case 39:case 40:return!1}return C.hasPrecedingLineBreak()||nG()||!nR()}()?e:void 0}function ru(){let e,t;return 25===v?(e=ez(),e1(25),t=nJ(!0),ts(N.createSpreadElement(t),e)):27===v?ts(N.createOmittedExpression(),ez()):nJ(!0)}function rl(){return ex(20480,ru)}function rc(){let e=ez(),t=C.getTokenPos(),n=e1(22),r=C.hasPrecedingLineBreak(),i=tR(15,ru);return e8(22,23,n,t),ts(L(i,r),e)}function r_(){let e,t=ez(),n=eR();if(e9(25)){let e=nJ(!0);return ec(ts(N.createSpreadAssignment(e),t),n)}let r=rQ(!0);if(ty(137))return rK(t,n,r,174,0);if(ty(151))return rK(t,n,r,175,0);let i=e9(41),o=e0(),a=tm(),s=e9(57),u=e9(53);if(i||20===v||29===v)return rU(t,n,r,i,a,s,u);if(o&&58!==v){let t=e9(63),n=t?eT(()=>nJ(!0)):void 0;(e=N.createShorthandPropertyAssignment(a,n)).equalsToken=t}else{e1(58);let t=eT(()=>nJ(!0));e=N.createPropertyAssignment(a,t)}return e.modifiers=r,e.questionToken=s,e.exclamationToken=u,ec(ts(e,t),n)}function rp(){let e=ez(),t=C.getTokenPos(),n=e1(18),r=C.hasPrecedingLineBreak(),i=tR(12,r_,!0);return e8(18,19,n,t),ts(z(i,r),e)}function rd(){let e=ek();eb(!1);let t=ez(),n=eR(),r=rQ(!1);e1(98);let i=e9(41),o=i?1:0,a=G(r,vP)?2:0,s=o&&a?eS(40960,rf):o?eS(8192,rf):a?eA(rf):rf(),u=t3(),l=ne(o|a),c=t5(58,!1),_=rh(o|a);return eb(e),ec(ts(N.createFunctionExpression(r,i,s,u,l,c,_),t),n)}function rf(){return eX()?t_():void 0}function rm(e,t){let n=ez(),r=eR(),i=C.getTokenPos(),o=e1(18,t);if(!o&&!e)return ec(ts(W(tB(),void 0),n),r);{let e=C.hasPrecedingLineBreak(),t=tO(1,rw);e8(18,19,o,i);let a=ec(ts(W(t,e),n),r);return 63===v&&(ej(iP.Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_whole_assignment_in_parentheses),eJ()),a}}function rh(e,t){let n=eC();eg(!!(1&e));let r=eI();ev(!!(2&e));let i=eo;eo=!1;let o=ek();o&&eb(!1);let a=rm(!!(16&e),t);return o&&eb(!0),eo=i,eg(n),ev(r),a}function ry(e){let t=ez(),n=eR();e1(249===e?81:86);let r=tr()?void 0:tp();return to(),ec(ts(249===e?N.createBreakStatement(r):N.createContinueStatement(r),t),n)}function rg(){let e,t,n,r,i,o;return 82===v?(e=ez(),t=eR(),e1(82),n=eT(nB),e1(58),r=tO(3,rw),ec(ts(N.createCaseClause(n,r),e),t)):(i=ez(),e1(88),e1(58),o=tO(3,rw),ts(N.createDefaultClause(o),i))}function rb(){return eJ(),iL(v)&&!C.hasPrecedingLineBreak()}function rv(){return eJ(),84===v&&!C.hasPrecedingLineBreak()}function rx(){return eJ(),98===v&&!C.hasPrecedingLineBreak()}function rD(){return eJ(),(iL(v)||8===v||9===v||10===v)&&!C.hasPrecedingLineBreak()}function rS(){for(;;)switch(v){case 113:case 119:case 85:case 98:case 84:case 92:return!0;case 118:case 154:return eJ(),!C.hasPrecedingLineBreak()&&e0();case 142:case 143:return eJ(),!C.hasPrecedingLineBreak()&&(e0()||10===v);case 126:case 127:case 132:case 136:case 121:case 122:case 123:case 146:if(eJ(),C.hasPrecedingLineBreak())return!1;continue;case 159:return eJ(),18===v||79===v||93===v;case 100:return eJ(),10===v||41===v||18===v||iL(v);case 93:let e=eJ();if(154===e&&(e=eG(eJ)),63===e||41===e||18===e||88===e||128===e||59===e)return!0;continue;case 124:eJ();continue;default:return!1}}function rT(){switch(v){case 59:case 26:case 18:case 113:case 119:case 98:case 84:case 92:case 99:case 90:case 115:case 97:case 86:case 81:case 105:case 116:case 107:case 109:case 111:case 87:case 83:case 96:case 132:case 136:case 118:case 142:case 143:case 154:case 159:return!0;case 100:return eG(rS)||eG(nc);case 85:case 93:return eG(rS);case 127:case 123:case 121:case 122:case 124:case 146:return eG(rS)||!eG(rb);default:return nR()}}function rE(){return eJ(),eX()||18===v||22===v}function rw(){let e,t,n,r,i,o,a,s,u,l,c,_,p,d,f,m,h,y,g,b,x,D,T,E,w,A,M,k,I,j,P,F,L,z,R,B,U,J,$,K,V,Y,q,W,Q,G,X,er;switch(v){case 26:return e=ez(),t=eR(),e1(26),ec(ts(N.createEmptyStatement(),e),t);case 18:return rm(!1);case 113:return rR(ez(),eR(),void 0);case 119:if(eG(rE))return rR(ez(),eR(),void 0);break;case 98:return rB(ez(),eR(),void 0);case 84:var ei;return ei=ez(),rZ(ei,eR(),void 0,260);case 99:return n=ez(),r=eR(),e1(99),i=C.getTokenPos(),o=e1(20),a=eT(nB),e8(20,21,o,i),ec(ts(Z(a,rw(),e7(91)?rw():void 0),n),r);case 90:return s=ez(),u=eR(),e1(90),l=rw(),e1(115),c=C.getTokenPos(),_=e1(20),p=eT(nB),e8(20,21,_,c),e7(26),ec(ts(N.createDoStatement(l,p),s),u);case 115:return d=ez(),f=eR(),e1(115),m=C.getTokenPos(),h=e1(20),y=eT(nB),e8(20,21,h,m),ec(ts(ee(y,rw()),d),f);case 97:return function(){let e,t,n=ez(),r=eR();e1(97);let i=e9(133);if(e1(20),26!==v&&(e=113===v||119===v||85===v?rL(!0):eS(4096,nB)),i?e1(162):e7(162)){let n=eT(()=>nJ(!0));e1(21),t=en(i,e,n,rw())}else if(e7(101)){let n=eT(nB);e1(21),t=N.createForInStatement(e,n,rw())}else{e1(26);let n=26!==v&&21!==v?eT(nB):void 0;e1(26);let r=21!==v?eT(nB):void 0;e1(21),t=et(e,n,r,rw())}return ec(ts(t,n),r)}();case 86:return ry(248);case 81:return ry(249);case 105:return g=ez(),b=eR(),e1(105),x=tr()?void 0:eT(nB),to(),ec(ts(N.createReturnStatement(x),g),b);case 116:return D=ez(),T=eR(),e1(116),E=C.getTokenPos(),w=e1(20),A=eT(nB),e8(20,21,w,E),M=eS(33554432,rw),ec(ts(N.createWithStatement(A,M),D),T);case 107:return k=ez(),I=eR(),e1(107),e1(20),j=eT(nB),e1(21),P=ez(),e1(18),F=tO(2,rg),e1(19),L=ts(N.createCaseBlock(F),P),ec(ts(N.createSwitchStatement(j,L),k),I);case 109:return z=ez(),R=eR(),e1(109),void 0===(B=C.hasPrecedingLineBreak()?void 0:eT(nB))&&(S++,B=ts(O(""),ez())),ti()||e3(B),ec(ts(N.createThrowStatement(B),z),R);case 111:case 83:case 96:let eo,ea,es;return U=ez(),J=eR(),e1(111),$=rm(!1),(K=83===v?(ea=ez(),e1(83),e7(20)?(eo=rF(),e1(21)):eo=void 0,es=rm(!1),ts(N.createCatchClause(eo,es),ea)):void 0)&&96!==v||(e1(96,iP.catch_or_finally_expected),V=rm(!1)),ec(ts(N.createTryStatement($,K,V),U),J);case 87:return Y=ez(),q=eR(),e1(87),to(),ec(ts(N.createDebuggerStatement(),Y),q);case 59:return rC();case 132:case 118:case 154:case 142:case 143:case 136:case 85:case 92:case 93:case 100:case 121:case 122:case 123:case 126:case 127:case 124:case 146:case 159:if(eG(rS))return rC()}return W=ez(),Q=eR(),X=20===v,vk(er=eT(nB))&&e7(58)?G=N.createLabeledStatement(er,rw()):(ti()||e3(er),G=H(er),X&&(Q=!1)),ec(ts(G,W),Q)}function rA(e){return 136===e.kind}function rC(){let e=ez(),t=eR(),n=rQ(!0);if(!G(n,rA))return rN(e,t,n);{let r=eS(16777216,()=>{let t=tF(E,e);if(t)return tL(t)});if(r)return r;for(let e of n)e.flags|=16777216;return eS(16777216,()=>rN(e,t,n))}}function rN(e,t,n){switch(v){case 113:case 119:case 85:return rR(e,t,n);case 98:return rB(e,t,n);case 84:return rZ(e,t,n,260);case 118:let r,i,o,a;return e1(118),r=tp(),i=t3(),o=rX(),a=n_(),ec(ts(N.createInterfaceDeclaration(n,r,i,o,a),e),t);case 154:let s,u,l;return e1(154),s=tp(),u=t3(),e1(63),l=139===v&&eZ(nb)||nF(),to(),ec(ts(N.createTypeAliasDeclaration(n,s,u,l),e),t);case 92:let c,_;return e1(92),c=tp(),e1(18)?(_=ex(40960,()=>tR(6,r4)),e1(19)):_=tB(),ec(ts(N.createEnumDeclaration(n,c,_),e),t);case 159:case 142:case 143:return function(e,t,n){let r=0;if(159===v)return r5(e,t,n);if(e7(143))r|=16;else if(e1(142),10===v)return r5(e,t,n);return function e(t,n,r,i){let o=16&i,a=tp(),s=e7(24)?e(ez(),!1,void 0,4|o):r6();return ec(ts(N.createModuleDeclaration(r,a,s,i),t),n)}(e,t,n,r)}(e,t,n);case 100:return function(e,t,n){var r,i,o,a;let s,u,l,c;e1(100);let _=C.getStartPos(),p;e0()&&(p=tp());let d=!1;if(158!==v&&(null==p?void 0:p.escapedText)==="type"&&(e0()||41===v||18===v)&&(d=!0,p=e0()?tp():void 0),p&&!(27===v||158===v)){let o,a,s;return r=p,i=d,e1(63),s=147===v&&eG(r8)?(o=ez(),e1(147),e1(20),a=ir(),e1(21),ts(N.createExternalModuleReference(a),o)):tJ(!1),to(),ec(ts(N.createImportEqualsDeclaration(n,i,r,s),e),t)}(p||41===v||18===v)&&(o=p,a=d,(!o||e7(27))&&(u=41===v?(l=ez(),e1(41),e1(128),c=tp(),ts(N.createNamespaceImport(c),l)):ii(272)),s=ts(N.createImportClause(a,o,u),_),e1(158));let f=ir(),m;return 130!==v||C.hasPrecedingLineBreak()||(m=it()),to(),ec(ts(N.createImportDeclaration(n,s,f,m),e),t)}(e,t,n);case 93:switch(eJ(),v){case 88:case 63:let p,d,f;return d=eI(),ev(!0),e7(63)?p=!0:e1(88),f=nJ(!0),to(),ev(d),ec(ts(N.createExportAssignment(n,p,f),e),t);case 128:let m,h;return e1(128),e1(143),m=tp(),to(),(h=N.createNamespaceExportDeclaration(m)).modifiers=n,ec(ts(h,e),t);default:var y,g,b;let x,D,S,T,E,w;return y=e,g=t,b=n,x=eI(),ev(!0),E=e7(154),w=ez(),e7(41)?(e7(128)&&(D=ts(N.createNamespaceExport(td()),w)),e1(158),S=ir()):(D=ii(276),158!==v&&(10!==v||C.hasPrecedingLineBreak())||(e1(158),S=ir())),S&&130===v&&!C.hasPrecedingLineBreak()&&(T=it()),to(),ev(x),ec(ts(N.createExportDeclaration(b,E,D,S,T),y),g)}default:if(n){let t=tu(279,!0,iP.Declaration_expected);return gb(t,e),t.modifiers=n,t}return}}function rM(e,t){if(18!==v){if(4&e){nt();return}if(tr()){to();return}}return rh(e,t)}function rk(){let e=ez();if(27===v)return ts(N.createOmittedExpression(),e);let t=e9(25),n=rO(),r=nU();return ts(N.createBindingElement(t,void 0,n,r),e)}function rI(){let e=ez(),t=e9(25),n=eX(),r=tm(),i;n&&58!==v?(i=r,r=void 0):(e1(58),i=rO());let o=nU();return ts(N.createBindingElement(t,r,i,o),e)}function rj(){return 18===v||22===v||80===v||eX()}function rO(e){let t,n,r,i;return 22===v?(t=ez(),e1(22),n=tR(10,rk),e1(23),ts(N.createArrayBindingPattern(n),t)):18===v?(r=ez(),e1(18),i=tR(9,rI),e1(19),ts(N.createObjectBindingPattern(i),r)):t_(e)}function rP(){return rF(!0)}function rF(e){let t=ez(),n=eR(),r=rO(iP.Private_identifiers_are_not_allowed_in_variable_declarations),i;return e&&79===r.kind&&53===v&&!C.hasPrecedingLineBreak()&&(i=tn()),ec(ts(er(r,i,nL(),nQ(v)?void 0:nU()),t),n)}function rL(e){let t,n=ez(),r=0;switch(v){case 113:break;case 119:r|=1;break;case 85:r|=2;break;default:nd.fail()}if(eJ(),162===v&&eG(rz))t=tB();else{let n=eN();ey(e,4096),t=tR(8,e?rF:rP),ey(n,4096)}return ts(ei(t,r),n)}function rz(){return tw()&&21===eJ()}function rR(e,t,n){let r=rL(!1);return to(),ec(ts(Q(n,r),e),t)}function rB(e,t,n){let r=eI(),i=mf(n);e1(98);let o=e9(41),a=1024&i?rf():t_(),s=o?1:0,u=512&i?2:0,l=t3();1&i&&ev(!0);let c=ne(s|u),_=t5(58,!1),p=rM(s|u,iP.or_expected);return ev(r),ec(ts(N.createFunctionDeclaration(n,o,a,l,c,_,p),e),t)}function rU(e,t,n,r,i,o,a,s){let u=r?1:0,l=G(n,vP)?2:0,c=t3(),_=ne(u|l),p=t5(58,!1),d=rM(u|l,s),f=N.createMethodDeclaration(n,r,i,o,c,_,p,d);return f.exclamationToken=a,ec(ts(f,e),t)}function rJ(e,t,n,r,i){let o=i||C.hasPrecedingLineBreak()?void 0:e9(53),a=nL(),s=ex(45056,nU);return function(e,t,n){if(59===v&&!C.hasPrecedingLineBreak()){ej(iP.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations);return}if(20===v){ej(iP.Cannot_start_a_function_call_in_a_type_annotation),eJ();return}if(t&&!tr()){n?ej(iP._0_expected,ow[26]):ej(iP.Expected_for_property_initializer);return}if(!ti()){if(n){ej(iP._0_expected,ow[26]);return}e3(e)}}(r,a,s),ec(ts(N.createPropertyDeclaration(n,r,i||o,a,s),e),t)}function r$(e,t,n){let r=e9(41),i=tm(),o=e9(57);return r||20===v||29===v?rU(e,t,n,r,i,o,void 0,iP.or_expected):rJ(e,t,n,i,o)}function rK(e,t,n,r,i){let o=tm(),a=t3(),s=ne(0),u=t5(58,!1),l=rM(i),c=174===r?N.createGetAccessorDeclaration(n,o,s,u,l):N.createSetAccessorDeclaration(n,o,s,l);return c.typeParameters=a,v4(c)&&(c.type=u),ec(ts(c,e),t)}function rV(){let e;if(59===v)return!0;for(;sM(v);){if(sI(e=v))return!0;eJ()}if(41===v||(tf()&&(e=v,eJ()),22===v))return!0;if(void 0!==e){if(!dT(e)||151===e||137===e)return!0;switch(v){case 20:case 29:case 53:case 58:case 63:case 57:return!0;default:return tr()}}return!1}function rY(){if(eI()&&133===v){let e=ez(),t=tp(iP.Expression_expected);eJ();let n=rn(e,t,!0);return ro(e,n)}return n3()}function rq(){let e=ez();if(!e7(59))return;let t=eS(16384,rY);return ts(N.createDecorator(t),e)}function rW(e,t,n){let r=ez(),i=v;if(85===v&&t){if(!eZ(tg))return}else if(n&&124===v&&eG(r7)||e&&124===v||!(sM(v)&&eZ(tb)))return;return ts(F(i),r)}function rQ(e,t,n){let r=ez(),i,o,a,s=!1,u=!1,l=!1;if(e&&59===v)for(;o=rq();)i=e_(i,o);for(;a=rW(s,t,n);)124===a.kind&&(s=!0),i=e_(i,a),u=!0;if(u&&e&&59===v)for(;o=rq();)i=e_(i,o),l=!0;if(l)for(;a=rW(s,t,n);)124===a.kind&&(s=!0),i=e_(i,a);return i&&ta(i,r)}function rH(){let e;if(132===v){let t=ez();eJ(),e=ta([ts(F(132),t)],t)}return e}function rG(){let e=ez();if(26===v)return eJ(),ts(N.createSemicolonClassElement(),e);let t=eR(),n=rQ(!0,!0,!0);if(124===v&&eG(r7)){let r,i,o,a;return te(124),i=eC(),o=eI(),eg(!1),ev(!0),a=rm(!1),eg(i),ev(o),(r=ec(ts(N.createClassStaticBlockDeclaration(a),e),t)).modifiers=n,r}if(ty(137))return rK(e,t,n,174,0);if(ty(151))return rK(e,t,n,175,0);if(135===v||10===v){let r=eZ(()=>{if(135===v?e1(135):10===v&&20===eG(eJ)?eZ(()=>{let e=tq();return"constructor"===e.text?e:void 0}):void 0){let r=t3(),i=ne(0),o=t5(58,!1),a=rM(0,iP.or_expected),s=N.createConstructorDeclaration(n,i,a);return s.typeParameters=r,s.type=o,ec(ts(s,e),t)}});if(r)return r}if(nr())return no(e,t,n);if(iL(v)||10===v||8===v||41===v||22===v){if(!G(n,rA))return r$(e,t,n);for(let e of n)e.flags|=16777216;return eS(16777216,()=>r$(e,t,n))}return n?rJ(e,t,n,tu(79,!0,iP.Declaration_expected),void 0):nd.fail("Should not have attempted to parse class member declaration.")}function rZ(e,t,n,r){let i=eI();e1(84);let o=eX()&&!(117===v&&eG(tA))?tc(eX()):void 0,a=t3();G(n,vj)&&ev(!0);let s=rX(),u;return e1(18)?(u=tO(5,rG),e1(19)):u=tB(),ev(i),ec(ts(260===r?N.createClassDeclaration(n,o,a,s,u):N.createClassExpression(n,o,a,s,u),e),t)}function rX(){if(r3())return tO(22,r0)}function r0(){let e=ez(),t=v;nd.assert(94===t||117===t),eJ();let n=tR(7,r1);return ts(N.createHeritageClause(t,n),e)}function r1(){let e=ez(),t=n3();if(230===t.kind)return t;let n=r2();return ts(N.createExpressionWithTypeArguments(t,n),e)}function r2(){return 29===v?tU(20,nF,29,31):void 0}function r3(){return 94===v||117===v}function r4(){let e=ez(),t=eR(),n=tm(),r=eT(nU);return ec(ts(N.createEnumMember(n,r),e),t)}function r6(){let e=ez(),t;return e1(18)?(t=tO(1,rw),e1(19)):t=tB(),ts(N.createModuleBlock(t),e)}function r5(e,t,n){let r,i=0,o;return 159===v?(o=tp(),i|=1024):(o=tq()).text=tl(o.text),18===v?r=r6():to(),ec(ts(N.createModuleDeclaration(n,o,r,i),e),t)}function r8(){return 20===eJ()}function r7(){return 18===eJ()}function r9(){return 43===eJ()}function ie(){let e=ez(),t=iL(v)?td():tQ(10);e1(58);let n=nJ(!0);return ts(N.createAssertEntry(t,n),e)}function it(e){let t=ez();e||e1(130);let n=C.getTokenPos();if(e1(18)){let e=C.hasPrecedingLineBreak(),r=tR(24,ie,!0);if(!e1(19)){let e=ew(y);e&&e.code===iP._0_expected.code&&go(e,hq(_,n,1,iP.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}return ts(N.createAssertClause(r,e),t)}{let e=ta([],ez(),void 0,!1);return ts(N.createAssertClause(e,!1),t)}}function ir(){if(10!==v)return nB();{let e=tq();return e.text=tl(e.text),e}}function ii(e){let t=ez();return ts(272===e?N.createNamedImports(tU(23,ia,18,19)):N.createNamedExports(tU(23,io,18,19)),t)}function io(){let e=eR();return ec(iu(278),e)}function ia(){return iu(273)}function iu(e){let t=ez(),n=dT(v)&&!e0(),r=C.getTokenPos(),i=C.getTextPos(),o=!1,a,s=!0,u=td();if("type"===u.escapedText){if(128===v){let e=td();if(128===v){let t=td();iL(v)?(o=!0,a=e,u=l()):(a=u,u=t),s=!1}else iL(v)?(a=u,s=!1,u=l()):(o=!0,u=e)}else iL(v)&&(o=!0,u=l())}return s&&128===v&&(a=u,e1(128),u=l()),273===e&&n&&eP(r,i,iP.Identifier_expected),ts(273===e?N.createImportSpecifier(o,a,u):N.createExportSpecifier(o,a,u),t);function l(){return n=dT(v)&&!e0(),r=C.getTokenPos(),i=C.getTextPos(),td()}}(i=t||(t={}))[i.SourceElements=0]="SourceElements",i[i.BlockStatements=1]="BlockStatements",i[i.SwitchClauses=2]="SwitchClauses",i[i.SwitchClauseStatements=3]="SwitchClauseStatements",i[i.TypeMembers=4]="TypeMembers",i[i.ClassMembers=5]="ClassMembers",i[i.EnumMembers=6]="EnumMembers",i[i.HeritageClauseElement=7]="HeritageClauseElement",i[i.VariableDeclarations=8]="VariableDeclarations",i[i.ObjectBindingElements=9]="ObjectBindingElements",i[i.ArrayBindingElements=10]="ArrayBindingElements",i[i.ArgumentExpressions=11]="ArgumentExpressions",i[i.ObjectLiteralMembers=12]="ObjectLiteralMembers",i[i.JsxAttributes=13]="JsxAttributes",i[i.JsxChildren=14]="JsxChildren",i[i.ArrayLiteralMembers=15]="ArrayLiteralMembers",i[i.Parameters=16]="Parameters",i[i.JSDocParameters=17]="JSDocParameters",i[i.RestProperties=18]="RestProperties",i[i.TypeParameters=19]="TypeParameters",i[i.TypeArguments=20]="TypeArguments",i[i.TupleElementTypes=21]="TupleElementTypes",i[i.HeritageClauses=22]="HeritageClauses",i[i.ImportOrExportSpecifiers=23]="ImportOrExportSpecifiers",i[i.AssertEntries=24]="AssertEntries",i[i.Count=25]="Count",(o=n||(n={}))[o.False=0]="False",o[o.True=1]="True",o[o.Unknown=2]="Unknown",(e=>{var t,n;let r,i;function o(e){let t=ez(),n=(e?e7:e1)(18),r=eS(8388608,t1);(!e||n)&&e5(19);let i=N.createJSDocTypeExpression(r);return em(i),ts(i,t)}function a(){let e=ez(),t=e7(18),n=ez(),r=tJ(!1);for(;80===v;)eq(),e$(),r=ts(N.createJSDocMemberName(r,tp()),n);t&&e5(19);let i=N.createJSDocNameReference(r);return em(i),ts(i,e)}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=d,r=void 0===t?n.length:e+t;if(t=r-e,nd.assert(e>=0),nd.assert(e<=r),nd.assert(r<=n.length),!T4(n,e))return;let i,s,u,l,c,p=[],f=[];return C.scanRange(e+3,t-5,()=>{let t=1,o,a=e-(n.lastIndexOf(` +`,e)+1)+4;function _(e){o||(o=a),p.push(e),a+=e.length}for(e$();$(5););$(4)&&(t=0,a=0);n:for(;;){switch(v){case 59:var d;0===t||1===t?(h(p),c||(c=ez()),(d=x(a))&&(i?i.push(d):(i=[d],s=d.pos),u=d.end),t=0,o=void 0):_(C.getTokenText());break;case 4:p.push(C.getTokenText()),t=0,a=0;break;case 41:let n=C.getTokenText();1===t||2===t?(t=2,_(n)):(t=1,a+=n.length);break;case 5:let r=C.getTokenText();2===t?p.push(r):void 0!==o&&a+r.length>o&&p.push(r.slice(o-a)),a+=r.length;break;case 1:break n;case 18:t=2;let y=C.getStartPos(),g=w(C.getTextPos()-1);if(g){l||m(p),f.push(ts(N.createJSDocText(p.join("")),null!=l?l:e,y)),f.push(g),p=[],l=C.getTextPos();break}default:t=2,_(C.getTokenText())}e$()}h(p),f.length&&p.length&&f.push(ts(N.createJSDocText(p.join("")),null!=l?l:e,c)),f.length&&i&&nd.assertIsDefined(c,"having parsed tags implies that the end of the comment span should be set");let y=i&&ta(i,s,u);return ts(N.createJSDocComment(f.length?ta(f,e,c):p.length?p.join(""):void 0,y),e,r)});function m(e){for(;e.length&&(e[0]===` +`||"\r"===e[0]);)e.shift()}function h(e){for(;e.length&&""===e[e.length-1].trim();)e.pop()}function y(){for(;;){if(e$(),1===v)return!0;if(!(5===v||4===v))return!1}}function g(){if(!((5===v||4===v)&&eG(y)))for(;5===v||4===v;)e$()}function b(){if((5===v||4===v)&&eG(y))return"";let e=C.hasPrecedingLineBreak(),t=!1,n="";for(;e&&41===v||5===v||4===v;)n+=C.getTokenText(),4===v?(e=!0,t=!0,n=""):41===v&&(e=!1),e$();return t?n:""}function x(e){nd.assert(59===v);let t=C.getTokenPos();e$();let n=K(void 0),r=b(),s;switch(n.escapedText){case"author":let u,l,c,p,d;u=ez(),l=function(){let e=[],t=!1,n=C.getToken();for(;1!==n&&4!==n;){if(29===n)t=!0;else{if(59===n&&!t)break;if(31===n&&t){e.push(C.getTokenText()),C.setTextPos(C.getTokenPos()+1);break}}e.push(C.getTokenText()),n=e$()}return N.createJSDocText(e.join(""))}(),(p=D(t,c=C.getStartPos(),e,r))||(c=C.getStartPos()),d="string"!=typeof p?ta(X([ts(l,u,c)],p),u):l.text+p,s=ts(N.createJSDocAuthorTag(n,d),t);break;case"implements":let f;f=L(),s=ts(N.createJSDocImplementsTag(n,f,D(t,ez(),e,r)),t);break;case"augments":case"extends":let m;m=L(),s=ts(N.createJSDocAugmentsTag(n,m,D(t,ez(),e,r)),t);break;case"class":case"constructor":s=z(t,N.createJSDocClassTag,n,e,r);break;case"public":s=z(t,N.createJSDocPublicTag,n,e,r);break;case"private":s=z(t,N.createJSDocPrivateTag,n,e,r);break;case"protected":s=z(t,N.createJSDocProtectedTag,n,e,r);break;case"readonly":s=z(t,N.createJSDocReadonlyTag,n,e,r);break;case"override":s=z(t,N.createJSDocOverrideTag,n,e,r);break;case"deprecated":ep=!0,s=z(t,N.createJSDocDeprecatedTag,n,e,r);break;case"this":let h;h=o(!0),g(),s=ts(N.createJSDocThisTag(n,h,D(t,ez(),e,r)),t);break;case"enum":let y;y=o(!0),g(),s=ts(N.createJSDocEnumTag(n,y,D(t,ez(),e,r)),t);break;case"arg":case"argument":case"param":return j(t,n,2,e);case"return":case"returns":let x;G(i,SP)&&eP(n.pos,C.getTokenPos(),iP._0_tag_already_specified,n.escapedText),x=k(),s=ts(N.createJSDocReturnTag(n,x,D(t,ez(),e,r)),t);break;case"template":let S,E;S=18===v?o():void 0,E=function(){let e=ez(),t=[];do{g();let e=function(){let e=ez(),t=$(22);t&&g();let n=K(iP.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces),r;if(t&&(g(),e1(63),r=eS(8388608,t1),e1(23)),!lO(n))return ts(N.createTypeParameterDeclaration(void 0,n,void 0,r),e)}();void 0!==e&&t.push(e),b()}while($(27))return ta(t,e)}(),s=ts(N.createJSDocTemplateTag(n,S,E,D(t,ez(),e,r)),t);break;case"type":s=P(t,n,e,r);break;case"typedef":s=function(e,t,n,r){var i;let o=k();b();let a=B();g();let s=T(n),u;if(!o||I(o.type)){let t,r,i,a=!1;for(;t=eZ(()=>J(1,n));)if(a=!0,347===t.kind){if(r){let e=ej(iP.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);e&&go(e,hq(_,0,0,iP.The_tag_was_first_specified_here));break}r=t}else i=e_(i,t);if(a){let t=o&&185===o.type.kind,n=N.createJSDocTypeLiteral(i,t);u=(o=r&&r.typeExpression&&!I(r.typeExpression.type)?r.typeExpression:ts(n,e)).end}}return u=u||void 0!==s?ez():(null!=(i=null!=a?a:o)?i:t).end,s||(s=D(e,u,n,r)),ts(N.createJSDocTypedefTag(t,o,a,s),e,u)}(t,n,e,r);break;case"callback":let w,A,O,F;w=B(),g(),A=T(e),O=U(t,e),A||(A=D(t,ez(),e,r)),F=void 0!==A?ez():O.end,s=ts(N.createJSDocCallbackTag(n,O,w,A),t,F);break;case"overload":let R,V,Y;g(),R=T(e),V=U(t,e),R||(R=D(t,ez(),e,r)),Y=void 0!==R?ez():V.end,s=ts(N.createJSDocOverloadTag(n,V,R),t,Y);break;case"satisfies":let q,W;q=o(!1),W=void 0!==e&&void 0!==r?D(t,ez(),e,r):void 0,s=ts(N.createJSDocSatisfiesTag(n,q,W),t);break;case"see":let Q,H;Q=22===v||eG(()=>59===e$()&&iL(e$())&&M(C.getTokenValue()))?void 0:a(),H=void 0!==e&&void 0!==r?D(t,ez(),e,r):void 0,s=ts(N.createJSDocSeeTag(n,Q,H),t);break;case"exception":case"throws":let Z,ee;Z=k(),ee=D(t,ez(),e,r),s=ts(N.createJSDocThrowsTag(n,Z,ee),t);break;default:s=ts(N.createJSDocUnknownTag(n,D(t,ez(),e,r)),t)}return s}function D(e,t,n,r){return r||(n+=t-e),T(n,r.slice(n))}function T(e,t){let n=ez(),r=[],i=[],o,a=0,s=!0,u;function l(t){u||(u=e),r.push(t),e+=t.length}void 0!==t&&(""!==t&&l(t),a=1);let c=v;n:for(;;){switch(c){case 4:a=0,r.push(C.getTokenText()),e=0;break;case 59:if(3===a||2===a&&(!s||eG(E))){r.push(C.getTokenText());break}C.setTextPos(C.getTextPos()-1);case 1:break n;case 5:if(2===a||3===a)l(C.getTokenText());else{let t=C.getTokenText();void 0!==u&&e+t.length>u&&r.push(t.slice(u-e)),e+=t.length}break;case 18:a=2;let t=C.getStartPos(),_=w(C.getTextPos()-1);_?(i.push(ts(N.createJSDocText(r.join("")),null!=o?o:n,t)),i.push(_),r=[],o=C.getTextPos()):l(C.getTokenText());break;case 61:a=3===a?2:3,l(C.getTokenText());break;case 41:if(0===a){a=1,e+=1;break}default:3!==a&&(a=2),l(C.getTokenText())}s=5===v,c=e$()}return(m(r),h(r),i.length)?(r.length&&i.push(ts(N.createJSDocText(r.join("")),null!=o?o:n)),ta(i,n,C.getTextPos())):r.length?r.join(""):void 0}function E(){let e=e$();return 5===e||4===e}function w(e){let t=eZ(A);if(!t)return;e$(),g();let n=ez(),r=iL(v)?tJ(!0):void 0;if(r)for(;80===v;)eq(),e$(),r=ts(N.createJSDocMemberName(r,tp()),n);let i=[];for(;19!==v&&4!==v&&1!==v;)i.push(C.getTokenText()),e$();return ts(("link"===t?N.createJSDocLink:"linkcode"===t?N.createJSDocLinkCode:N.createJSDocLinkPlain)(r,i.join("")),e,C.getTextPos())}function A(){if(b(),18===v&&59===e$()&&iL(e$())){let e=C.getTokenValue();if(M(e))return e}}function M(e){return"link"===e||"linkcode"===e||"linkplain"===e}function k(){return b(),18===v?o():void 0}function I(e){switch(e.kind){case 149:return!0;case 185:return I(e.elementType);default:return v9(e)&&vk(e.typeName)&&"Object"===e.typeName.escapedText&&!e.typeArguments}}function j(e,t,n,r){let i,o,a,s=k(),u=!s;b();let{name:l,isBracketed:c}=((i=$(22))&&g(),o=$(61),a=function(){let e=K();for(e7(22)&&e1(23);e7(24);){var t;let n=K();e7(22)&&e1(23),t=e,e=ts(N.createQualifiedName(t,n),t.pos)}return e}(),o&&(function(e){if(61===v){let e,t;return e=ez(),t=v,e$(),ts(F(t),e)}}(61)||tu(61,!1,iP._0_expected,ow[61])),i&&(g(),e9(63)&&nB(),e1(23)),{name:a,isBracketed:i}),_=b();u&&!eG(A)&&(s=k());let p=D(e,ez(),r,_),d=4!==n&&function(e,t,n,r){if(e&&I(e.type)){let i=ez(),o,a;for(;o=eZ(()=>J(n,r,t));)(344===o.kind||351===o.kind)&&(a=e_(a,o));if(a){let t=ts(N.createJSDocTypeLiteral(a,185===e.type.kind),i);return ts(N.createJSDocTypeExpression(t),i)}}}(s,l,n,r);return d&&(s=d,u=!0),ts(1===n?N.createJSDocPropertyTag(t,l,c,s,u,p):N.createJSDocParameterTag(t,l,c,s,u,p),e)}function P(e,t,n,r){G(i,SL)&&eP(t.pos,C.getTokenPos(),iP._0_tag_already_specified,t.escapedText);let a=o(!0),s=void 0!==n&&void 0!==r?D(e,ez(),n,r):void 0;return ts(N.createJSDocTypeTag(t,a,s),e)}function L(){let e=e7(18),t=ez(),n=function(){let e=ez(),t=K();for(;e7(24);)t=ts(R(t,K()),e);return t}(),r=r2(),i=ts(N.createExpressionWithTypeArguments(n,r),t);return e&&e1(19),i}function z(e,t,n,r,i){return ts(t(n,D(e,ez(),r,i)),e)}function B(e){let t=C.getTokenPos();if(!iL(v))return;let n=K();if(e7(24)){let r=B(!0);return ts(N.createModuleDeclaration(void 0,n,r,e?4:void 0),t)}return e&&(n.flags|=2048),n}function U(e,t){let n=function(e){let t=ez(),n,r;for(;n=eZ(()=>J(4,e));)r=e_(r,n);return ta(r||[],t)}(t),r=eZ(()=>{if($(59)){let e=x(t);if(e&&345===e.kind)return e}});return ts(N.createJSDocSignature(void 0,n,r),e)}function J(e,t,n){let r=!0,i=!1;for(;;)switch(e$()){case 59:if(r){let r=function(e,t){let n;nd.assert(59===v);let r=C.getStartPos();e$();let i=K();switch(g(),i.escapedText){case"type":return 1===e&&P(r,i);case"prop":case"property":n=1;break;case"arg":case"argument":case"param":n=6;break;default:return!1}return!!(e&n)&&j(r,i,e,t)}(e,t);return!(r&&(344===r.kind||351===r.kind)&&4!==e&&n&&(vk(r.name)||!function(e,t){for(;!vk(e)||!vk(t);)if(vk(e)||vk(t)||e.right.escapedText!==t.right.escapedText)return!1;else e=e.left,t=t.left;return e.escapedText===t.escapedText}(n,r.name.left)))&&r}i=!1;break;case 4:r=!0,i=!1;break;case 41:i&&(r=!1),i=!0;break;case 79:r=!1;break;case 1:return!1}}function $(e){return v===e&&(e$(),!0)}function K(e){if(!iL(v))return tu(79,!e,e||iP.Identifier_expected);S++;let t=C.getTokenPos(),n=C.getTextPos(),r=v,i=ts(O(tl(C.getTokenValue()),r),t,n);return e$(),i}}e.parseJSDocTypeExpressionForTests=function(e,t,n){eu("file.js",e,99,void 0,1),C.setText(e,t,n),v=C.scan();let r=o(),i=eh("file.js",99,1,!1,[],F(1),0,tt),a=hW(y,i);return g&&(i.jsDocDiagnostics=hW(g,i)),el(),r?{jsDocTypeExpression:r,diagnostics:a}:void 0},e.parseJSDocTypeExpression=o,e.parseJSDocNameReference=a,e.parseIsolatedJSDocComment=function(e,t,n){eu("",e,99,void 0,1);let r=eS(8388608,()=>s(t,n)),i=hW(y,{languageVariant:0,text:e});return el(),r?{jsDoc:r,diagnostics:i}:void 0},e.parseJSDocComment=function(e,t,n){let r=v,i=y.length,o=ea,a=eS(8388608,()=>s(t,n));return gT(a,e),262144&A&&(g||(g=[]),g.push(...y)),v=r,y.length=i,ea=o,a},(t=r||(r={}))[t.BeginningOfLine=0]="BeginningOfLine",t[t.SawAsterisk=1]="SawAsterisk",t[t.SavingComments=2]="SavingComments",t[t.SavingBackticks=3]="SavingBackticks",(n=i||(i={}))[n.Property=1]="Property",n[n.Parameter=2]="Parameter",n[n.CallbackParameter=4]="CallbackParameter"})(r=e.JSDocParser||(e.JSDocParser={}))})(Ez||(Ez={})),(e=>{var t;let n;function r(e,t,n,r,o,s){function u(e){let t="";if(s&&i(e)&&(t=r.substring(e.pos,e.end)),e._children&&(e._children=void 0),gx(e,e.pos+n,e.end+n),s&&i(e)&&nd.assert(t===o.substring(e.pos,e.end)),Ef(e,u,l),uH(e))for(let t of e.jsDoc)u(t);a(e,s)}function l(e){for(let t of(e._children=void 0,gx(e,e.pos+n,e.end+n),e))u(t)}t?l(e):u(e)}function i(e){switch(e.kind){case 10:case 8:case 79:return!0}return!1}function o(e,t,n,r,i){nd.assert(e.end>=t,"Adjusting an element that was entirely before the change range"),nd.assert(e.pos<=n,"Adjusting an element that was entirely after the change range"),nd.assert(e.pos<=e.end);let o=Math.min(e.pos,r),a=e.end>=n?e.end+i:Math.min(e.end,r);nd.assert(o<=a),e.parent&&(nd.assertGreaterThanOrEqual(o,e.parent.pos),nd.assertLessThanOrEqual(a,e.parent.end)),gx(e,o,a)}function a(e,t){if(t){let t=e.pos,n=e=>{nd.assert(e.pos>=t),t=e.end};if(uH(e))for(let t of e.jsDoc)n(t);Ef(e,n),nd.assert(t<=e.end)}}function s(e,t,n,r){let i=e.text;if(n&&(nd.assert(i.length-n.span.length+n.newLength===t.length),r||nd.shouldAssert(3))){let e=i.substr(0,n.span.start),r=t.substr(0,n.span.start);nd.assert(e===r);let o=i.substring(oP(n.span),i.length),a=t.substring(oP(oQ(n)),t.length);nd.assert(o===a)}}function u(e){let t=e.statements,n=0;nd.assert(n(o===i||(r&&r.end===o&&n=e.pos&&i=e.pos&&i0&&t<=1;t++){let t=function(e,t){let n=e,r;if(Ef(e,function e(i){if(!lO(i)){if(!(i.pos<=t))return nd.assert(i.pos>t),!0;if(i.pos>=n.pos&&(n=i),tn.pos&&(n=e)}return n}(e,n);nd.assert(t.pos<=n),n=Math.max(0,t.pos-1)}return oG(oW(n,oP(t.span)),t.newLength+(t.span.start-n))}(e,n);s(e,t,_,i),nd.assert(_.span.start<=n.span.start),nd.assert(oP(_.span)===oP(n.span)),nd.assert(oP(oQ(_))===oP(oQ(n)));let p=oQ(_).length-_.span.length;(function(e,t,n,i,s,u,l,c){function _(e){if(nd.assert(e.pos<=e.end),e.pos>n){r(e,!1,s,u,l,c);return}let d=e.end;if(d>=t){if(e.intersectsChange=!0,e._children=void 0,o(e,t,n,i,s),Ef(e,_,p),uH(e))for(let t of e.jsDoc)_(t);a(e,c);return}nd.assert(dn){r(e,!0,s,u,l,c);return}let a=e.end;if(a>=t){for(let r of(e.intersectsChange=!0,e._children=void 0,o(e,t,n,i,s),e))_(r);return}nd.assert(ar){c();let t={range:{pos:e.pos+i,end:e.end+i},type:l};u=e_(u,t),s&&nd.assert(o.substring(e.pos,e.end)===a.substring(t.range.pos,t.range.end))}}return c(),u;function c(){l||(l=!0,u?t&&u.push(...t):u=t)}}(e.commentDirectives,d.commentDirectives,_.span.start,oP(_.span),p,l,t,i),d.impliedNodeFormat=e.impliedNodeFormat,d},e.createSyntaxCursor=u,(t=n||(n={}))[t.Value=-1]="Value"})(ER||(ER={})),EB=new Map,EU=/^\/\/\/\s*<(\S+)\s.*?\/>/im,EJ=/^\/\/\/?\s*@(\S+)\s*(.*)\s*$/im}}),EV=()=>{},EY=()=>{},Eq=()=>{},EW=()=>{},EQ=()=>{},EH=()=>{},EG=()=>{},EZ=()=>{},EX=()=>{},E0=()=>{},E1=()=>{},E2=()=>{},E3=()=>{},E4=()=>{},E6=()=>{},E5=()=>{},E8=()=>{},E7=()=>{},E9=()=>{},we=()=>{},wt=()=>{},wn=()=>{},wr=()=>{},wi=()=>{},wo=()=>{},wa=()=>{},ws=()=>{},wu=()=>{},wl=()=>{},wc=()=>{},w_=()=>{},wp=()=>{},wd=()=>{},wf=()=>{},wm=()=>{},wh=()=>{},wy=()=>{},wg=()=>{},wb=()=>{},wv=()=>{},wx=()=>{},wD=()=>{},wS=()=>{},wT=()=>{},wE=()=>{},ww=()=>{},wA=c({"src/compiler/_namespaces/ts.ts"(){_(),nf(),nm(),nh(),ny(),nv(),nk(),rJ(),r$(),ij(),iF(),ok(),le(),bU(),bK(),bV(),bY(),vl(),vc(),v_(),SY(),TG(),T1(),EK(),EV(),EY(),Eq(),EW(),EH(),EG(),EZ(),EX(),E0(),E1(),E2(),E3(),E4(),E6(),E5(),E8(),E7(),E9(),we(),wt(),wn(),wr(),wi(),wo(),wa(),ws(),wu(),wl(),wc(),w_(),wp(),wd(),wf(),wm(),wh(),wy(),wg(),wb(),wv(),wx(),wD(),wS(),wT(),wE(),ww(),EQ(),nM()}}),wC=()=>{},wN=()=>{},wM=(()=>{},()=>{nm(),E$=o_(99,!0)}),wk=()=>{},wI=()=>{},wj=()=>{},wO=()=>{},wP=()=>{},wF=()=>{},wL=()=>{},wz=()=>{},wR=()=>{},wB=()=>{},wU=()=>{},wJ=()=>{};function w$(e,t,n,r){let i=sc(e)?new w9(e,t,n):79===e?new Ar(79,t,n):80===e?new Ai(80,t,n):new An(e,t,n);return i.parent=r,i.flags=50720768&r.flags,i}function wK(e,t,n,r){for(E$.setTextPos(t);t"inheritDoc"===e.tagName.text||"inheritdoc"===e.tagName.text)}function wY(e,t){if(!e)return t8;let n=ts_JsDoc_exports.getJsDocTagsFromDeclarations(e,t);if(t&&(0===n.length||e.some(wV))){let r=new Set;for(let i of e){let e=wW(t,i,e=>{var n;if(!r.has(e))return r.add(e),174===i.kind||175===i.kind?e.getContextualJsDocTags(i,t):(null==(n=e.declarations)?void 0:n.length)===1?e.getJsDocTags():void 0});e&&(n=[...e,...n])}}return n}function wq(e,t){if(!e)return t8;let n=ts_JsDoc_exports.getJsDocCommentsFromDeclarations(e,t);if(t&&(0===n.length||e.some(wV))){let r=new Set;for(let i of e){let e=wW(t,i,e=>{if(!r.has(e))return r.add(e),174===i.kind||175===i.kind?e.getContextualDocumentationComment(i,t):e.getDocumentationComment(t)});e&&(n=0===n.length?e.slice():e.concat(lineBreakPart(),n))}}return n}function wW(e,t,n){var r;let i=(null==(r=t.parent)?void 0:r.kind)===173?t.parent.parent:t.parent;if(!i)return;let o=f7(t);return h(dv(i),r=>{let i=e.getTypeAtLocation(r),a=o&&i.symbol?e.getTypeOfSymbol(i.symbol):i,s=e.getPropertyOfType(a,t.symbol.name);return s?n(s):void 0})}function wQ(e){let t=!0;for(let n in e)if(eP(e,n)&&!wH(n)){t=!1;break}if(t)return e;let n={};for(let t in e)eP(e,t)&&(n[wH(t)?t:t.charAt(0).toLowerCase()+t.substr(1)]=e[t]);return n}function wH(e){return!e.length||e.charAt(0)===e.charAt(0).toLowerCase()}function wG(e){return e?O(e,e=>e.text).join(""):""}function wZ(){return{target:1,jsx:1}}function wX(){return ts_codefix_exports.getSupportedErrorCodes()}function w0(e,t,n){e.version=n,e.scriptSnapshot=t}function w1(e,t,n,r,i,o){let a=Eg(e,getSnapshotText(t),n,i,o);return w0(a,t,r),a}function w2(e,t,n,r,i){if(r&&n!==e.version){let o,a=0!==r.span.start?e.text.substr(0,r.span.start):"",s=oP(r.span)!==e.text.length?e.text.substr(oP(r.span)):"";if(0===r.newLength)o=a&&s?a+s:a||s;else{let e=t.getText(r.span.start,r.span.start+r.newLength);o=a&&s?a+e+s:a?a+e:e+s}let u=ED(e,o,r,i);return w0(u,t,n),u.nameTable=void 0,e!==u&&e.scriptSnapshot&&(e.scriptSnapshot.dispose&&e.scriptSnapshot.dispose(),e.scriptSnapshot=void 0),u}let o={languageVersion:e.languageVersion,impliedNodeFormat:e.impliedNodeFormat,setExternalModuleIndicator:e.setExternalModuleIndicator};return w1(e.fileName,t,o,n,!0,e.scriptKind)}function w3(e){var t;let n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:createDocumentRegistry(e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames(),e.getCurrentDirectory()),i=arguments.length>2?arguments[2]:void 0;n=void 0===i?0:"boolean"==typeof i?i?2:0:i;let o=new Al(e),a,s,u=0,l=e.getCancellationToken?new A_(e.getCancellationToken()):Ac,c=e.getCurrentDirectory();function _(t){e.log&&e.log(t)}hV(null==(t=e.getLocalizedDiagnosticMessages)?void 0:t.bind(e));let p=fm(e),d=tB(p),m=getSourceMapper({useCaseSensitiveFileNames:()=>p,getCurrentDirectory:()=>c,getProgram:g,fileExists:eZ(e,e.fileExists),readFile:eZ(e,e.readFile),getDocumentPositionMapper:eZ(e,e.getDocumentPositionMapper),getSourceFileLike:eZ(e,e.getSourceFileLike),log:_});function h(e){let t=a.getSourceFile(e);if(!t){let t=Error(`Could not find source file: '${e}'.`);throw t.ProgramFiles=a.getSourceFiles().map(e=>e.fileName),t}return t}function y(){var t,i,o;if(nd.assert(2!==n),e.getProjectVersion){let n=e.getProjectVersion();if(n){if(s===n&&!(null!=(t=e.hasChangedAutomaticTypeDirectiveNames)&&t.call(e)))return;s=n}}let f=e.getTypeRootsVersion?e.getTypeRootsVersion():0;u!==f&&(_("TypeRoots version has changed; provide new program"),a=void 0,u=f);let h=e.getScriptFileNames().slice(),y=e.getCompilationSettings()||wZ(),g=e.hasInvalidatedResolutions||tn,b=eZ(e,e.hasChangedAutomaticTypeDirectiveNames),v=null==(i=e.getProjectReferences)?void 0:i.call(e),x,D={getSourceFile:M,getSourceFileByPath:k,getCancellationToken:()=>l,getCanonicalFileName:d,useCaseSensitiveFileNames:()=>p,getNewLine:()=>mY(y),getDefaultLibFileName:t=>e.getDefaultLibFileName(t),writeFile:tt,getCurrentDirectory:()=>c,fileExists:t=>e.fileExists(t),readFile:t=>e.readFile&&e.readFile(t),getSymlinkCache:eZ(e,e.getSymlinkCache),realpath:eZ(e,e.realpath),directoryExists:t=>mV(t,e),getDirectories:t=>e.getDirectories?e.getDirectories(t):[],readDirectory:(t,n,r,i,o)=>(nd.checkDefined(e.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'"),e.readDirectory(t,n,r,i,o)),onReleaseOldSourceFile:N,onReleaseParsedCommandLine:function(t,n,r){var i;e.getParsedCommandLine?null==(i=e.onReleaseParsedCommandLine)||i.call(e,t,n,r):n&&N(n.sourceFile,r)},hasInvalidatedResolutions:g,hasChangedAutomaticTypeDirectiveNames:b,trace:eZ(e,e.trace),resolveModuleNames:eZ(e,e.resolveModuleNames),getModuleResolutionCache:eZ(e,e.getModuleResolutionCache),createHash:eZ(e,e.createHash),resolveTypeReferenceDirectives:eZ(e,e.resolveTypeReferenceDirectives),resolveModuleNameLiterals:eZ(e,e.resolveModuleNameLiterals),resolveTypeReferenceDirectiveReferences:eZ(e,e.resolveTypeReferenceDirectiveReferences),useSourceOfProjectReferenceRedirect:eZ(e,e.useSourceOfProjectReferenceRedirect),getParsedCommandLine:C},S=D.getSourceFile,{getSourceFileWithCache:T}=changeCompilerHostLikeToUseCache(D,e=>il(e,c,d),function(){for(var e=arguments.length,t=Array(e),n=0;nD.fileExists(e),readFile:e=>D.readFile(e),readDirectory:function(){return D.readDirectory(...arguments)},trace:D.trace,getCurrentDirectory:D.getCurrentDirectory,onUnRecoverableConfigFileDiagnostic:tt},w=r.getKeyForCompilationSettings(y);if(isProgramUptoDate(a,h,y,(t,n)=>e.getScriptVersion(n),e=>D.fileExists(e),g,b,C,v))return;let A={rootNames:h,options:y,host:D,oldProgram:a,projectReferences:v};function C(t){let n=il(t,c,d),r=null==x?void 0:x.get(n);if(void 0!==r)return r||void 0;let i=e.getParsedCommandLine?e.getParsedCommandLine(t):function(e){let t=M(e,100);if(t)return t.path=il(e,c,d),t.resolvedPath=t.path,t.originalFileName=t.fileName,parseJsonSourceFileConfigFileContent(t,E,ia(r4(e),c),void 0,ia(e,c))}(t);return(x||(x=new Map)).set(n,i||!1),i}function N(e,t){let n=r.getKeyForCompilationSettings(t);r.releaseDocumentWithKey(e.resolvedPath,n,e.scriptKind,e.impliedNodeFormat)}function M(e,t,n,r){return k(e,il(e,c,d),t,n,r)}function k(t,n,i,o,s){nd.assert(D,"getOrCreateSourceFileByPath called after typical CompilerHost lifetime, check the callstack something with a reference to an old host.");let u=e.getScriptSnapshot(t);if(!u)return;let l=getScriptKind(t,e),c=e.getScriptVersion(t);if(!s){let o=a&&a.getSourceFileByPath(n);if(o){if(l===o.scriptKind)return r.updateDocumentWithKey(t,n,e,w,u,c,l,i);r.releaseDocumentWithKey(o.resolvedPath,r.getKeyForCompilationSettings(a.getCompilerOptions()),o.scriptKind,o.impliedNodeFormat)}}return r.acquireDocumentWithKey(t,n,e,w,u,c,l,i)}a=createProgram(A),D=void 0,x=void 0,m.clearCache(),a.getTypeChecker()}function g(){if(2===n){nd.assert(void 0===a);return}return y(),a}function b(e,t,n){let r=is(e);nd.assert(n.some(e=>is(e)===r)),y();let i=$(n,e=>a.getSourceFile(e)),o=h(e);return DocumentHighlights.getDocumentHighlights(a,l,o,t,i)}function v(e,t,n,r){y();let i=n&&n.use===ts_FindAllReferences_exports.FindReferencesUse.Rename?a.getSourceFiles().filter(e=>!a.isSourceFileDefaultLibrary(e)):a.getSourceFiles();return ts_FindAllReferences_exports.findReferenceOrRenameEntries(a,l,i,e,t,n,r)}let x=new Map(Object.entries({18:19,20:21,22:23,31:29}));function D(t){return nd.assertEqual(t.type,"install package"),e.installPackage?e.installPackage({fileName:il(t.file,c,d),packageName:t.packageName}):Promise.reject("Host does not implement `installPackage`")}function S(e,t){return{lineStarts:e.getLineStarts(),firstLine:e.getLineAndCharacterOfPosition(t.pos).line,lastLine:e.getLineAndCharacterOfPosition(t.end).line}}function T(e,t,n){let r=o.getCurrentSourceFile(e),i=[],{lineStarts:a,firstLine:s,lastLine:u}=S(r,t),l=n||!1,c=Number.MAX_VALUE,_=new Map,p=new RegExp(/\S/),d=isInsideJsxElement(r,a[s]),f=d?"{/*":"//";for(let e=s;e<=u;e++){let t=r.text.substring(a[e],r.getLineEndOfPosition(a[e])),i=p.exec(t);i&&(c=Math.min(c,i.index),_.set(e.toString(),i.index),t.substr(i.index,f.length)!==f&&(l=void 0===n||n))}for(let n=s;n<=u;n++){if(s!==u&&a[n]===t.end)continue;let o=_.get(n.toString());void 0!==o&&(d?i.push.apply(i,E(e,{pos:a[n]+c,end:r.getLineEndOfPosition(a[n])},l,d)):l?i.push({newText:f,span:{length:0,start:a[n]+c}}):r.text.substr(a[n]+o,f.length)===f&&i.push({newText:"",span:{length:f.length,start:a[n]+o}}))}return i}function E(e,t,n,r){var i;let a=o.getCurrentSourceFile(e),s=[],{text:u}=a,l=!1,c=n||!1,_=[],{pos:p}=t,d=void 0!==r?r:isInsideJsxElement(a,p),f=d?"{/*":"/*",m=d?"*/}":"*/",h=d?"\\{\\/\\*":"\\/\\*",y=d?"\\*\\/\\}":"\\*\\/";for(;p<=t.end;){let e=u.substr(p,f.length)===f?f.length:0,r=isInComment(a,p+e);if(r)d&&(r.pos--,r.end++),_.push(r.pos),3===r.kind&&_.push(r.end),l=!0,p=r.end+1;else{let e=u.substring(p,t.end).search(`(${h})|(${y})`);c=void 0!==n?n:c||!isTextWhiteSpaceLike(u,p,-1===e?t.end:p+e),p=-1===e?t.end+1:p+e+m.length}}if(c||!l){(null==(i=isInComment(a,t.pos))?void 0:i.kind)!==2&&ei(_,t.pos,tg),ei(_,t.end,tg);let e=_[0];u.substr(e,f.length)!==f&&s.push({newText:f,span:{length:0,start:e}});for(let e=1;e<_.length-1;e++)u.substr(_[e]-m.length,m.length)!==m&&s.push({newText:m,span:{length:0,start:_[e]}}),u.substr(_[e],f.length)!==f&&s.push({newText:f,span:{length:0,start:_[e]}});s.length%2!=0&&s.push({newText:m,span:{length:0,start:_[_.length-1]}})}else for(let e of _){let t=e-m.length>0?e-m.length:0,n=u.substr(t,m.length)===m?m.length:0;s.push({newText:"",span:{length:f.length,start:e-n}})}return s}function w(t,n,r,i,o,a){let[s,u]="number"==typeof n?[n,void 0]:[n.pos,n.end];return{file:t,startPosition:s,endPosition:u,program:g(),host:e,formatContext:ts_formatting_exports.getFormatContext(i,e),cancellationToken:l,preferences:r,triggerReason:o,kind:a}}x.forEach((e,t)=>x.set(e.toString(),Number(t)));let A={dispose:function(){if(a){let e=r.getKeyForCompilationSettings(a.getCompilerOptions());f(a.getSourceFiles(),t=>r.releaseDocumentWithKey(t.resolvedPath,e,t.scriptKind,t.impliedNodeFormat)),a=void 0}e=void 0},cleanupSemanticCache:function(){a=void 0},getSyntacticDiagnostics:function(e){return y(),a.getSyntacticDiagnostics(h(e),l).slice()},getSemanticDiagnostics:function(e){y();let t=h(e),n=a.getSemanticDiagnostics(t,l);return ym(a.getCompilerOptions())?[...n,...a.getDeclarationDiagnostics(t,l)]:n.slice()},getSuggestionDiagnostics:function(e){return y(),computeSuggestionDiagnostics(h(e),a,l)},getCompilerOptionsDiagnostics:function(){return y(),[...a.getOptionsDiagnostics(l),...a.getGlobalDiagnostics(l)]},getSyntacticClassifications:function(e,t){return getSyntacticClassifications(l,o.getCurrentSourceFile(e),t)},getSemanticClassifications:function(e,t,n){return y(),"2020"===(n||"original")?ts_classifier_exports.v2020.getSemanticClassifications(a,l,h(e),t):getSemanticClassifications(a.getTypeChecker(),l,h(e),a.getClassifiableNames(),t)},getEncodedSyntacticClassifications:function(e,t){return getEncodedSyntacticClassifications(l,o.getCurrentSourceFile(e),t)},getEncodedSemanticClassifications:function(e,t,n){return y(),"original"===(n||"original")?getEncodedSemanticClassifications(a.getTypeChecker(),l,h(e),a.getClassifiableNames(),t):ts_classifier_exports.v2020.getEncodedSemanticClassifications(a,l,h(e),t)},getCompletionsAtPosition:function(t,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:emptyOptions,i=arguments.length>3?arguments[3]:void 0,o=Object.assign(Object.assign({},r),{},{includeCompletionsForModuleExports:r.includeCompletionsForModuleExports||r.includeExternalModuleExports,includeCompletionsWithInsertText:r.includeCompletionsWithInsertText||r.includeInsertTextCompletions});return y(),ts_Completions_exports.getCompletionsAtPosition(e,a,_,h(t),n,o,r.triggerCharacter,r.triggerKind,l,i&&ts_formatting_exports.getFormatContext(i,e),r.includeSymbol)},getCompletionEntryDetails:function(t,n,r,i,o){let s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:emptyOptions,u=arguments.length>6?arguments[6]:void 0;return y(),ts_Completions_exports.getCompletionEntryDetails(a,_,h(t),n,{name:r,source:o,data:u},e,i&&ts_formatting_exports.getFormatContext(i,e),s,l)},getCompletionEntrySymbol:function(t,n,r,i){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:emptyOptions;return y(),ts_Completions_exports.getCompletionEntrySymbol(a,_,h(t),n,{name:r,source:i},e,o)},getSignatureHelpItems:function(e,t){let{triggerReason:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:emptyOptions;y();let r=h(e);return ts_SignatureHelp_exports.getSignatureHelpItems(a,r,t,n,l)},getQuickInfoAtPosition:function(e,t){y();let n=h(e),r=getTouchingPropertyName(n,t);if(r===n)return;let i=a.getTypeChecker(),o=xM(r.parent)&&r.pos===r.parent.pos?r.parent.expression:xa(r.parent)&&r.pos===r.parent.pos||cQ(r.parent)&&r.parent.name===r?r.parent:r,s=function(e,t){let n=w6(e);if(n){let e=t.getContextualType(n.parent),r=e&&w5(n,t,e,!1);if(r&&1===r.length)return eT(r)}return t.getSymbolAtLocation(e)}(o,i);if(!s||i.isUnknownSymbol(s)){let e=!function(e,t,n){switch(t.kind){case 79:return!isLabelName(t)&&!isTagName(t)&&!st(t.parent);case 208:case 163:return!isInComment(e,n);case 108:case 194:case 106:case 199:return!0;case 233:return cQ(t);default:return!1}}(n,o,t)?void 0:i.getTypeAtLocation(o);return e&&{kind:"",kindModifiers:"",textSpan:createTextSpanFromNode(o,n),displayParts:i.runWithCancellationToken(l,t=>typeToDisplayParts(t,e,getContainerNode(o))),documentation:e.symbol?e.symbol.getDocumentationComment(i):void 0,tags:e.symbol?e.symbol.getJsDocTags(i):void 0}}let{symbolKind:u,displayParts:c,documentation:_,tags:p}=i.runWithCancellationToken(l,e=>ts_SymbolDisplay_exports.getSymbolDisplayPartsDocumentationAndSymbolKind(e,s,n,getContainerNode(o),o));return{kind:u,kindModifiers:ts_SymbolDisplay_exports.getSymbolModifiers(i,s),textSpan:createTextSpanFromNode(o,n),displayParts:c,documentation:_,tags:p}},getDefinitionAtPosition:function(e,t,n,r){return y(),ts_GoToDefinition_exports.getDefinitionAtPosition(a,h(e),t,n,r)},getDefinitionAndBoundSpan:function(e,t){return y(),ts_GoToDefinition_exports.getDefinitionAndBoundSpan(a,h(e),t)},getImplementationAtPosition:function(e,t){return y(),ts_FindAllReferences_exports.getImplementationsAtPosition(a,l,a.getSourceFiles(),h(e),t)},getTypeDefinitionAtPosition:function(e,t){return y(),ts_GoToDefinition_exports.getTypeDefinitionAtPosition(a.getTypeChecker(),h(e),t)},getReferencesAtPosition:function(e,t){return y(),v(getTouchingPropertyName(h(e),t),t,{use:ts_FindAllReferences_exports.FindReferencesUse.References},ts_FindAllReferences_exports.toReferenceEntry)},findReferences:function(e,t){return y(),ts_FindAllReferences_exports.findReferencedSymbols(a,l,a.getSourceFiles(),h(e),t)},getFileReferences:function(e){return y(),ts_FindAllReferences_exports.Core.getReferencesForFileName(e,a,a.getSourceFiles()).map(ts_FindAllReferences_exports.toReferenceEntry)},getOccurrencesAtPosition:function(e,t){return z(b(e,t,[e]),e=>e.highlightSpans.map(t=>Object.assign(Object.assign({fileName:e.fileName,textSpan:t.textSpan,isWriteAccess:"writtenReference"===t.kind},t.isInString&&{isInString:!0}),t.contextSpan&&{contextSpan:t.contextSpan})))},getDocumentHighlights:b,getNameOrDottedNameSpan:function(e,t,n){let r=o.getCurrentSourceFile(e),i=getTouchingPropertyName(r,t);if(i===r)return;switch(i.kind){case 208:case 163:case 10:case 95:case 110:case 104:case 106:case 108:case 194:case 79:break;default:return}let a=i;for(;;)if(isRightSideOfPropertyAccess(a)||isRightSideOfQualifiedName(a))a=a.parent;else if(isNameOfModuleDeclaration(a)){if(264===a.parent.parent.kind&&a.parent.parent.body===a.parent)a=a.parent.parent.name;else break}else break;return oW(a.getStart(),i.getEnd())},getBreakpointStatementAtPosition:function(e,t){let n=o.getCurrentSourceFile(e);return ts_BreakpointResolver_exports.spanInSourceFileAtLocation(n,t)},getNavigateToItems:function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];y();let i=n?[h(n)]:a.getSourceFiles();return getNavigateToItems(i,a.getTypeChecker(),l,e,t,r)},getRenameInfo:function(e,t,n){return y(),ts_Rename_exports.getRenameInfo(a,h(e),t,n||{})},getSmartSelectionRange:function(e,t){return ts_SmartSelectionRange_exports.getSmartSelectionRange(t,o.getCurrentSourceFile(e))},findRenameLocations:function(e,t,n,r,i){y();let o=h(e),a=getAdjustedRenameLocation(getTouchingPropertyName(o,t));if(ts_Rename_exports.nodeIsEligibleForRename(a)){if(!(vk(a)&&(Dq(a.parent)||DW(a.parent))&&fl(a.escapedText)))return v(a,t,{findInStrings:n,findInComments:r,providePrefixAndSuffixTextForRename:i,use:ts_FindAllReferences_exports.FindReferencesUse.Rename},(e,t,n)=>ts_FindAllReferences_exports.toRenameLocation(e,t,n,i||!1));{let{openingElement:e,closingElement:t}=a.parent.parent;return[e,t].map(e=>{let t=createTextSpanFromNode(e.tagName,o);return Object.assign({fileName:o.fileName,textSpan:t},ts_FindAllReferences_exports.toContextSpan(t,o,e.parent))})}}},getNavigationBarItems:function(e){return getNavigationBarItems(o.getCurrentSourceFile(e),l)},getNavigationTree:function(e){return getNavigationTree(o.getCurrentSourceFile(e),l)},getOutliningSpans:function(e){let t=o.getCurrentSourceFile(e);return ts_OutliningElementsCollector_exports.collectElements(t,l)},getTodoComments:function(e,t){y();let n=h(e);l.throwIfCancellationRequested();let r=n.text,i=[];if(t.length>0&&!tO(n.fileName,"/node_modules/")){let e,a,s,u,c;let _=(e=/(?:\/\/+\s*)/.source,a=/(?:\/\*+\s*)/.source,s="("+/(?:^(?:\s|\*)*)/.source+"|"+e+"|"+a+")",u="(?:"+O(t,e=>"("+e.text.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")+")").join("|")+")",c=/(?:$|\*\/)/.source,RegExp(s+"("+u+/(?:.*?)/.source+")"+c,"gim")),p;for(;p=_.exec(r);){var o;let e;l.throwIfCancellationRequested(),nd.assert(p.length===t.length+3);let a=p[1],s=p.index+a.length;if(!isInComment(n,s))continue;for(let n=0;n=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57)continue;let u=p[2];i.push({descriptor:e,message:u,position:s})}}return i},getBraceMatchingAtPosition:function(e,t){let n=o.getCurrentSourceFile(e),r=getTouchingToken(n,t),i=r.getStart(n)===t?x.get(r.kind.toString()):void 0,a=i&&findChildOfKind(r.parent,i,n);return a?[createTextSpanFromNode(r,n),createTextSpanFromNode(a,n)].sort((e,t)=>e.start-t.start):t8},getIndentationAtPosition:function(e,t,n){let r=nb(),i=wQ(n),a=o.getCurrentSourceFile(e);_("getIndentationAtPosition: getCurrentSourceFile: "+(nb()-r)),r=nb();let s=ts_formatting_exports.SmartIndenter.getIndentation(t,a,i);return _("getIndentationAtPosition: computeIndentation : "+(nb()-r)),s},getFormattingEditsForRange:function(t,n,r,i){let a=o.getCurrentSourceFile(t);return ts_formatting_exports.formatSelection(n,r,a,ts_formatting_exports.getFormatContext(wQ(i),e))},getFormattingEditsForDocument:function(t,n){return ts_formatting_exports.formatDocument(o.getCurrentSourceFile(t),ts_formatting_exports.getFormatContext(wQ(n),e))},getFormattingEditsAfterKeystroke:function(t,n,r,i){let a=o.getCurrentSourceFile(t),s=ts_formatting_exports.getFormatContext(wQ(i),e);if(!isInComment(a,n))switch(r){case"{":return ts_formatting_exports.formatOnOpeningCurly(n,a,s);case"}":return ts_formatting_exports.formatOnClosingCurly(n,a,s);case";":return ts_formatting_exports.formatOnSemicolon(n,a,s);case` +`:return ts_formatting_exports.formatOnEnter(n,a,s)}return[]},getDocCommentTemplateAtPosition:function(t,n,r,i){let a=i?ts_formatting_exports.getFormatContext(i,e).options:void 0;return ts_JsDoc_exports.getDocCommentTemplateAtPosition(getNewLineOrDefaultFromHost(e,a),o.getCurrentSourceFile(t),n,r)},isValidBraceCompletionAtPosition:function(e,t,n){if(60===n)return!1;let r=o.getCurrentSourceFile(e);if(isInString(r,t))return!1;if(isInsideJsxElementOrAttribute(r,t))return 123===n;if(isInTemplateString(r,t))return!1;switch(n){case 39:case 34:case 96:return!isInComment(r,t)}return!0},getJsxClosingTagAtPosition:function(e,t){let n=o.getCurrentSourceFile(e),r=findPrecedingToken(t,n);if(!r)return;let i=31===r.kind&&Dq(r.parent)?r.parent.parent:vm(r)&&DV(r.parent)?r.parent:void 0;if(i&&function e(t){let{openingElement:n,closingElement:r,parent:i}=t;return!EN(n.tagName,r.tagName)||DV(i)&&EN(n.tagName,i.openingElement.tagName)&&e(i)}(i))return{newText:``};let a=31===r.kind&&DH(r.parent)?r.parent.parent:vm(r)&&DQ(r.parent)?r.parent:void 0;if(a&&function e(t){let{closingFragment:n,parent:r}=t;return!!(131072&n.flags)||DQ(r)&&e(r)}(a))return{newText:""}},getSpanOfEnclosingComment:function(e,t,n){let r=o.getCurrentSourceFile(e),i=ts_formatting_exports.getRangeOfEnclosingComment(r,t);return i&&(!n||3===i.kind)?createTextSpanFromRange(i):void 0},getCodeFixesAtPosition:function(t,n,r,i,o){let s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:emptyOptions;y();let u=h(t),c=oW(n,r),_=ts_formatting_exports.getFormatContext(o,e);return z(en(i,tf,tg),t=>(l.throwIfCancellationRequested(),ts_codefix_exports.getFixes({errorCode:t,sourceFile:u,span:c,program:a,host:e,cancellationToken:l,formatContext:_,preferences:s})))},getCombinedCodeFix:function(t,n,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:emptyOptions;y(),nd.assert("file"===t.type);let o=h(t.fileName),s=ts_formatting_exports.getFormatContext(r,e);return ts_codefix_exports.getAllFixes({fixId:n,sourceFile:o,program:a,host:e,cancellationToken:l,formatContext:s,preferences:i})},applyCodeActionCommand:function(e,t){let n="string"==typeof e?t:e;return e6(n)?Promise.all(n.map(e=>D(e))):D(n)},organizeImports:function(t,n){var r;let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:emptyOptions;y(),nd.assert("file"===t.type);let o=h(t.fileName),s=ts_formatting_exports.getFormatContext(n,e),u=null!=(r=t.mode)?r:t.skipDestructiveCodeActions?"SortAndCombine":"All";return ts_OrganizeImports_exports.organizeImports(o,s,e,a,i,u)},getEditsForFileRename:function(t,n,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:emptyOptions;return getEditsForFileRename(g(),t,n,e,ts_formatting_exports.getFormatContext(r,e),i,m)},getEmitOutput:function(t,n,r){y();let i=h(t),o=e.getCustomTransformers&&e.getCustomTransformers();return getFileEmitOutput(a,i,!!n,l,o,r)},getNonBoundSourceFile:function(e){return o.getCurrentSourceFile(e)},getProgram:g,getCurrentProgram:()=>a,getAutoImportProvider:function(){var t;return null==(t=e.getPackageJsonAutoImportProvider)?void 0:t.call(e)},updateIsDefinitionOfReferencedSymbols:function(t,n){let r=a.getTypeChecker(),i=function(){for(let i of t)for(let t of i.references){if(n.has(t)){let e=o(t);return nd.assertIsDefined(e),r.getSymbolAtLocation(e)}let i=getMappedDocumentSpan(t,m,eZ(e,e.fileExists));if(i&&n.has(i)){let e=o(i);if(e)return r.getSymbolAtLocation(e)}}}();if(!i)return!1;for(let r of t)for(let t of r.references){let r=o(t);if(nd.assertIsDefined(r),n.has(t)||ts_FindAllReferences_exports.isDeclarationOfSymbol(r,i)){n.add(t),t.isDefinition=!0;let r=getMappedDocumentSpan(t,m,eZ(e,e.fileExists));r&&n.add(r)}else t.isDefinition=!1}return!0;function o(e){let t=a.getSourceFile(e.fileName);if(!t)return;let n=getTouchingPropertyName(t,e.textSpan.start);return ts_FindAllReferences_exports.Core.getAdjustedNode(n,{use:ts_FindAllReferences_exports.FindReferencesUse.References})}},getApplicableRefactors:function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:emptyOptions,r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;y();let o=h(e);return ts_refactor_exports.getApplicableRefactors(w(o,t,n,emptyOptions,r,i))},getEditsForRefactor:function(e,t,n,r,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:emptyOptions;y();let a=h(e);return ts_refactor_exports.getEditsForRefactor(w(a,n,o,t),r,i)},toLineColumnOffset:function(e,t){return 0===t?{line:0,character:0}:m.toLineColumnOffset(e,t)},getSourceMapper:()=>m,clearSourceMapperCache:()=>m.clearCache(),prepareCallHierarchy:function(e,t){y();let n=ts_CallHierarchy_exports.resolveCallHierarchyDeclaration(a,getTouchingPropertyName(h(e),t));return n&&mapOneOrMany(n,e=>ts_CallHierarchy_exports.createCallHierarchyItem(a,e))},provideCallHierarchyIncomingCalls:function(e,t){y();let n=h(e),r=firstOrOnly(ts_CallHierarchy_exports.resolveCallHierarchyDeclaration(a,0===t?n:getTouchingPropertyName(n,t)));return r?ts_CallHierarchy_exports.getIncomingCalls(a,r,l):[]},provideCallHierarchyOutgoingCalls:function(e,t){y();let n=h(e),r=firstOrOnly(ts_CallHierarchy_exports.resolveCallHierarchyDeclaration(a,0===t?n:getTouchingPropertyName(n,t)));return r?ts_CallHierarchy_exports.getOutgoingCalls(a,r):[]},toggleLineComment:T,toggleMultilineComment:E,commentSelection:function(e,t){let{firstLine:n,lastLine:r}=S(o.getCurrentSourceFile(e),t);return n===r&&t.pos!==t.end?E(e,t,!0):T(e,t,!0)},uncommentSelection:function(e,t){let n=o.getCurrentSourceFile(e),r=[],{pos:i}=t,{end:a}=t;i===a&&(a+=isInsideJsxElement(n,i)?2:1);for(let t=i;t<=a;t++){let i=isInComment(n,t);if(i){switch(i.kind){case 2:r.push.apply(r,T(e,{end:i.end,pos:i.pos+1},!1));break;case 3:r.push.apply(r,E(e,{end:i.end,pos:i.pos+1},!1))}t=i.end+1}}return r},provideInlayHints:function(t,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:emptyOptions;y();let i=h(t);return ts_InlayHints_exports.provideInlayHints({file:i,program:g(),host:e,span:n,preferences:r,cancellationToken:l})},getSupportedCodeFixes:wX};switch(n){case 0:break;case 1:Ad.forEach(e=>A[e]=()=>{throw Error(`LanguageService Operation: ${e} not allowed in LanguageServiceMode.PartialSemantic`)});break;case 2:Af.forEach(e=>A[e]=()=>{throw Error(`LanguageService Operation: ${e} not allowed in LanguageServiceMode.Syntactic`)});break;default:nd.assertNever(n)}return A}function w4(e){return e.nameTable||function(e){let t=e.nameTable=new Map;e.forEachChild(function e(n){if(vk(n)&&!isTagName(n)&&n.escapedText||dO(n)&&(du(n)||280===n.parent.kind||n&&n.parent&&209===n.parent.kind&&n.parent.argumentExpression===n||dc(n))){let e=dU(n);t.set(e,void 0===t.get(e)?n.pos:-1)}else if(vI(n)){let e=n.escapedText;t.set(e,void 0===t.get(e)?n.pos:-1)}if(Ef(n,e),uH(n))for(let t of n.jsDoc)Ef(t,e)})}(e),e.nameTable}function w6(e){let t=function(e){switch(e.kind){case 10:case 14:case 8:if(164===e.parent.kind)return u0(e.parent.parent)?e.parent.parent:void 0;case 79:return u0(e.parent)&&(207===e.parent.parent.kind||289===e.parent.parent.kind)&&e.parent.name===e?e.parent:void 0}}(e);return t&&(xw(t.parent)||DX(t.parent))?t:void 0}function w5(e,t,n,r){let i=getNameFromPropertyName(e.name);if(!i)return t8;if(!n.isUnion()){let e=n.getProperty(i);return e?[e]:t8}let o=$(n.types,n=>(xw(e.parent)||DX(e.parent))&&t.isTypeInvalidDueToUnionDiscriminant(n,e.parent)?void 0:n.getProperty(i));if(r&&(0===o.length||o.length===n.types.length)){let e=n.getProperty(i);if(e)return[e]}return 0===o.length?$(n.types,e=>e.getProperty(i)):o}function w8(e){if(rU)return ir(r4(is(rU.getExecutingFilePath())),oO(e));throw Error("getDefaultLibFilePath is only supported when consumed as a node module. ")}var w7,w9,Ae,At,An,Ar,Ai,Ao,Aa,As,Au,Al,Ac,A_,Ap,Ad,Af,Am=c({"src/services/services.ts"(){AF(),AF(),wU(),wJ(),w7="0.8",w9=class{constructor(e,t,n){this.pos=t,this.end=n,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.kind=e}assertHasRealPosition(e){nd.assert(!y5(this.pos)&&!y5(this.end),e||"Node must have a real position for this operation")}getSourceFile(){return lw(this)}getStart(e,t){return this.assertHasRealPosition(),lW(this,e,t)}getFullStart(){return this.assertHasRealPosition(),this.pos}getEnd(){return this.assertHasRealPosition(),this.end}getWidth(e){return this.assertHasRealPosition(),this.getEnd()-this.getStart(e)}getFullWidth(){return this.assertHasRealPosition(),this.end-this.pos}getLeadingTriviaWidth(e){return this.assertHasRealPosition(),this.getStart(e)-this.pos}getFullText(e){return this.assertHasRealPosition(),(e||this.getSourceFile()).text.substring(this.pos,this.end)}getText(e){return this.assertHasRealPosition(),e||(e=this.getSourceFile()),e.text.substring(this.getStart(e),this.getEnd())}getChildCount(e){return this.getChildren(e).length}getChildAt(e,t){return this.getChildren(t)[e]}getChildren(e){return this.assertHasRealPosition("Node without a real position cannot be scanned and thus has no token nodes - use forEachChild and collect the result if that's fine"),this._children||(this._children=function(e,t){if(!sc(e.kind))return t8;let n=[];if(uY(e))return e.forEachChild(e=>{n.push(e)}),n;E$.setText((t||e.getSourceFile()).text);let r=e.pos,i=t=>{wK(n,r,t.pos,e),n.push(t),r=t.end};return f(e.jsDoc,i),r=e.pos,e.forEachChild(i,t=>{wK(n,r,t.pos,e),n.push(function(e,t){let n=w$(354,e.pos,e.end,t);n._children=[];let r=e.pos;for(let i of e)wK(n._children,r,i.pos,t),n._children.push(i),r=i.end;return wK(n._children,r,e.end,t),n}(t,e)),r=t.end}),wK(n,r,e.end,e),E$.setText(void 0),n}(this,e))}getFirstToken(e){this.assertHasRealPosition();let t=this.getChildren(e);if(!t.length)return;let n=D(t,e=>e.kind<312||e.kind>353);return n.kind<163?n:n.getFirstToken(e)}getLastToken(e){this.assertHasRealPosition();let t=ew(this.getChildren(e));if(t)return t.kind<163?t:t.getLastToken(e)}forEachChild(e,t){return Ef(this,e,t)}},Ae=class{constructor(e,t){this.pos=e,this.end=t,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0}getSourceFile(){return lw(this)}getStart(e,t){return lW(this,e,t)}getFullStart(){return this.pos}getEnd(){return this.end}getWidth(e){return this.getEnd()-this.getStart(e)}getFullWidth(){return this.end-this.pos}getLeadingTriviaWidth(e){return this.getStart(e)-this.pos}getFullText(e){return(e||this.getSourceFile()).text.substring(this.pos,this.end)}getText(e){return e||(e=this.getSourceFile()),e.text.substring(this.getStart(e),this.getEnd())}getChildCount(){return this.getChildren().length}getChildAt(e){return this.getChildren()[e]}getChildren(){return 1===this.kind&&this.jsDoc||t8}getFirstToken(){}getLastToken(){}forEachChild(){}},At=class{constructor(e,t){this.id=0,this.mergeId=0,this.flags=e,this.escapedName=t}getFlags(){return this.flags}get name(){return as(this)}getEscapedName(){return this.escapedName}getName(){return this.name}getDeclarations(){return this.declarations}getDocumentationComment(e){if(!this.documentationComment){if(this.documentationComment=t8,!this.declarations&&li(this)&&this.links.target&&li(this.links.target)&&this.links.target.links.tupleLabelDeclaration){let t=this.links.target.links.tupleLabelDeclaration;this.documentationComment=wq([t],e)}else this.documentationComment=wq(this.declarations,e)}return this.documentationComment}getContextualDocumentationComment(e,t){if(e){if(uQ(e)&&(this.contextualGetAccessorDocumentationComment||(this.contextualGetAccessorDocumentationComment=wq(k(this.declarations,uQ),t)),d(this.contextualGetAccessorDocumentationComment)))return this.contextualGetAccessorDocumentationComment;if(uW(e)&&(this.contextualSetAccessorDocumentationComment||(this.contextualSetAccessorDocumentationComment=wq(k(this.declarations,uW),t)),d(this.contextualSetAccessorDocumentationComment)))return this.contextualSetAccessorDocumentationComment}return this.getDocumentationComment(t)}getJsDocTags(e){return void 0===this.tags&&(this.tags=wY(this.declarations,e)),this.tags}getContextualJsDocTags(e,t){if(e){if(uQ(e)&&(this.contextualGetAccessorTags||(this.contextualGetAccessorTags=wY(k(this.declarations,uQ),t)),d(this.contextualGetAccessorTags)))return this.contextualGetAccessorTags;if(uW(e)&&(this.contextualSetAccessorTags||(this.contextualSetAccessorTags=wY(k(this.declarations,uW),t)),d(this.contextualSetAccessorTags)))return this.contextualSetAccessorTags}return this.getJsDocTags(t)}},An=class extends Ae{constructor(e,t,n){super(t,n),this.kind=e}},(Ar=class extends Ae{constructor(e,t,n){super(t,n),this.kind=79}get text(){return ao(this)}}).prototype.kind=79,(Ai=class extends Ae{constructor(e,t,n){super(t,n),this.kind=80}get text(){return ao(this)}}).prototype.kind=80,Ao=class{constructor(e,t){this.checker=e,this.flags=t}getFlags(){return this.flags}getSymbol(){return this.symbol}getProperties(){return this.checker.getPropertiesOfType(this)}getProperty(e){return this.checker.getPropertyOfType(this,e)}getApparentProperties(){return this.checker.getAugmentedPropertiesOfType(this)}getCallSignatures(){return this.checker.getSignaturesOfType(this,0)}getConstructSignatures(){return this.checker.getSignaturesOfType(this,1)}getStringIndexType(){return this.checker.getIndexTypeOfType(this,0)}getNumberIndexType(){return this.checker.getIndexTypeOfType(this,1)}getBaseTypes(){return this.isClassOrInterface()?this.checker.getBaseTypes(this):void 0}isNullableType(){return this.checker.isNullableType(this)}getNonNullableType(){return this.checker.getNonNullableType(this)}getNonOptionalType(){return this.checker.getNonOptionalType(this)}getConstraint(){return this.checker.getBaseConstraintOfType(this)}getDefault(){return this.checker.getDefaultFromTypeParameter(this)}isUnion(){return!!(1048576&this.flags)}isIntersection(){return!!(2097152&this.flags)}isUnionOrIntersection(){return!!(3145728&this.flags)}isLiteral(){return!!(2432&this.flags)}isStringLiteral(){return!!(128&this.flags)}isNumberLiteral(){return!!(256&this.flags)}isTypeParameter(){return!!(262144&this.flags)}isClassOrInterface(){return!!(3&hb(this))}isClass(){return!!(1&hb(this))}isIndexType(){return!!(4194304&this.flags)}get typeArguments(){if(4&hb(this))return this.checker.getTypeArguments(this)}},Aa=class{constructor(e,t){this.checker=e,this.flags=t}getDeclaration(){return this.declaration}getTypeParameters(){return this.typeParameters}getParameters(){return this.parameters}getReturnType(){return this.checker.getReturnTypeOfSignature(this)}getTypeParameterAtPosition(e){let t=this.checker.getParameterType(this,e);if(t.isIndexType()&&gB(t.type)){let e=t.type.getConstraint();if(e)return this.checker.getIndexType(e)}return t}getDocumentationComment(){return this.documentationComment||(this.documentationComment=wq(tZ(this.declaration),this.checker))}getJsDocTags(){return this.jsDocTags||(this.jsDocTags=wY(tZ(this.declaration),this.checker))}},As=class extends w9{constructor(e,t,n){super(e,t,n),this.kind=308}update(e,t){return ED(this,e,t)}getLineAndCharacterOfPosition(e){return iH(this,e)}getLineStarts(){return iY(this)}getPositionOfLineAndCharacter(e,t,n){return iV(iY(this),e,t,this.text,n)}getLineEndOfPosition(e){let{line:t}=this.getLineAndCharacterOfPosition(e),n=this.getLineStarts(),r;t+1>=n.length&&(r=this.getEnd()),r||(r=n[t+1]-1);let i=this.getFullText();return i[r]===` +`&&"\r"===i[r-1]?r-1:r}getNamedDeclarations(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations}computeNamedDeclarations(){let e=eX();return this.forEachChild(function r(i){switch(i.kind){case 259:case 215:case 171:case 170:let o=n(i);if(o){let t;let n=((t=e.get(o))||e.set(o,t=[]),t),r=ew(n);r&&i.parent===r.parent&&i.symbol===r.symbol?i.body&&!r.body&&(n[n.length-1]=i):n.push(i)}Ef(i,r);break;case 260:case 228:case 261:case 262:case 263:case 264:case 268:case 278:case 273:case 270:case 271:case 174:case 175:case 184:t(i),Ef(i,r);break;case 166:if(!f5(i,16476))break;case 257:case 205:if(s2(i.name)){Ef(i.name,r);break}i.initializer&&r(i.initializer);case 302:case 169:case 168:t(i);break;case 275:i.exportClause&&(DL(i.exportClause)?f(i.exportClause.elements,r):r(i.exportClause.name));break;case 269:let a=i.importClause;a&&(a.name&&t(a.name),a.namedBindings&&(271===a.namedBindings.kind?t(a.namedBindings):f(a.namedBindings.elements,r)));break;case 223:0!==pf(i)&&t(i);default:Ef(i,r)}}),e;function t(t){let r=n(t);r&&e.add(r,t)}function n(e){let t=ap(e);return t&&(vq(t)&&xA(t.expression)?t.expression.name.text:sP(t)?getNameFromPropertyName(t):void 0)}}},Au=class{constructor(e,t,n){this.fileName=e,this.text=t,this.skipTrivia=n}getLineAndCharacterOfPosition(e){return iH(this,e)}},Al=class{constructor(e){this.host=e}getCurrentSourceFile(e){var t,n,r,i,o,a,s,u;let l=this.host.getScriptSnapshot(e);if(!l)throw Error("Could not find file: '"+e+"'.");let c=getScriptKind(e,this.host),_=this.host.getScriptVersion(e),p;if(this.currentFileName!==e){let d={languageVersion:99,impliedNodeFormat:getImpliedNodeFormatForFile(il(e,this.host.getCurrentDirectory(),(null==(r=null==(n=(t=this.host).getCompilerHost)?void 0:n.call(t))?void 0:r.getCanonicalFileName)||fh(this.host)),null==(u=null==(s=null==(a=null==(o=(i=this.host).getCompilerHost)?void 0:o.call(i))?void 0:a.getModuleResolutionCache)?void 0:s.call(a))?void 0:u.getPackageJsonInfoCache(),this.host,this.host.getCompilationSettings()),setExternalModuleIndicator:h8(this.host.getCompilationSettings())};p=w1(e,l,d,_,!0,c)}else if(this.currentFileVersion!==_){let e=l.getChangeRange(this.currentFileScriptSnapshot);p=w2(this.currentSourceFile,l,_,e)}return p&&(this.currentFileVersion=_,this.currentFileName=e,this.currentFileScriptSnapshot=l,this.currentSourceFile=p),this.currentSourceFile}},Ac={isCancellationRequested:tn,throwIfCancellationRequested:tt},A_=class{constructor(e){this.cancellationToken=e}isCancellationRequested(){return this.cancellationToken.isCancellationRequested()}throwIfCancellationRequested(){if(this.isCancellationRequested())throw null==nN||nN.instant(nN.Phase.Session,"cancellationThrown",{kind:"CancellationTokenObject"}),new nJ}},Ap=class{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20;this.hostCancellationToken=e,this.throttleWaitMilliseconds=t,this.lastCancellationCheckTime=0}isCancellationRequested(){let e=nb();return Math.abs(e-this.lastCancellationCheckTime)>=this.throttleWaitMilliseconds&&(this.lastCancellationCheckTime=e,this.hostCancellationToken.isCancellationRequested())}throwIfCancellationRequested(){if(this.isCancellationRequested())throw null==nN||nN.instant(nN.Phase.Session,"cancellationThrown",{kind:"ThrottledCancellationToken"}),new nJ}},Af=[...Ad=["getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","provideInlayHints","getSupportedCodeFixes"],"getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getOccurrencesAtPosition","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors"],hJ({getNodeConstructor:()=>w9,getTokenConstructor:()=>An,getIdentifierConstructor:()=>Ar,getPrivateIdentifierConstructor:()=>Ai,getSourceFileConstructor:()=>As,getSymbolConstructor:()=>At,getTypeConstructor:()=>Ao,getSignatureConstructor:()=>Aa,getSourceMapSourceConstructor:()=>Au})}}),Ah=()=>{},Ay=()=>{},Ag=()=>{},Ab=()=>{},Av=()=>{},Ax=()=>{},AD=()=>{},AS=()=>{},AT=()=>{},AE=()=>{},Aw=()=>{},AA=()=>{},AC=()=>{},AN=()=>{},AM=()=>{},Ak=()=>{},AI=()=>{},Aj=()=>{},AO=()=>{},AP=()=>{},AF=c({"src/services/_namespaces/ts.ts"(){wA(),wC(),wN(),wM(),wk(),wI(),wj(),wO(),wP(),wF(),wL(),wz(),wR(),wB(),Am(),Ah(),Ay(),Ag(),Ab(),Av(),Ax(),AD(),AS(),AT(),AE(),Aw(),wU(),wJ(),AA(),AC(),AN(),AM(),Ak(),AI(),Aj(),AO(),AP()}}),AL=()=>{},Az={};((e,t)=>{for(var n in t)u(e,n,{get:t[n],enumerable:!0})})(Az,{ANONYMOUS:()=>ANONYMOUS,AccessFlags:()=>rr,AssertionLevel:()=>no,AssignmentDeclarationKind:()=>rp,AssignmentKind:()=>be,Associativity:()=>bn,BreakpointResolver:()=>ts_BreakpointResolver_exports,BuilderFileEmit:()=>BuilderFileEmit,BuilderProgramKind:()=>BuilderProgramKind,BuilderState:()=>BuilderState,BundleFileSectionKind:()=>rL,CallHierarchy:()=>ts_CallHierarchy_exports,CharacterCodes:()=>rA,CheckFlags:()=>n5,CheckMode:()=>CheckMode,ClassificationType:()=>ClassificationType,ClassificationTypeNames:()=>ClassificationTypeNames,CommentDirectiveType:()=>nU,Comparison:()=>s,CompletionInfoFlags:()=>CompletionInfoFlags,CompletionTriggerKind:()=>CompletionTriggerKind,Completions:()=>ts_Completions_exports,ConfigFileProgramReloadLevel:()=>ConfigFileProgramReloadLevel,ContextFlags:()=>nH,CoreServicesShimHostAdapter:()=>CoreServicesShimHostAdapter,Debug:()=>nd,DiagnosticCategory:()=>rd,Diagnostics:()=>iP,DocumentHighlights:()=>DocumentHighlights,ElementFlags:()=>rn,EmitFlags:()=>rk,EmitHint:()=>rO,EmitOnly:()=>nV,EndOfLineState:()=>EndOfLineState,EnumKind:()=>n6,ExitStatus:()=>nq,ExportKind:()=>ExportKind,Extension:()=>rC,ExternalEmitHelpers:()=>rj,FileIncludeKind:()=>n$,FilePreprocessingDiagnosticsKind:()=>nK,FileSystemEntryKind:()=>FileSystemEntryKind,FileWatcherEventKind:()=>FileWatcherEventKind,FindAllReferences:()=>ts_FindAllReferences_exports,FlattenLevel:()=>FlattenLevel,FlowFlags:()=>nB,ForegroundColorEscapeSequences:()=>ForegroundColorEscapeSequences,FunctionFlags:()=>bt,GeneratedIdentifierFlags:()=>nz,GetLiteralTextFlags:()=>g6,GoToDefinition:()=>ts_GoToDefinition_exports,HighlightSpanKind:()=>HighlightSpanKind,ImportKind:()=>ImportKind,ImportsNotUsedAsValues:()=>rx,IndentStyle:()=>IndentStyle,IndexKind:()=>rs,InferenceFlags:()=>rc,InferencePriority:()=>rl,InlayHintKind:()=>InlayHintKind,InlayHints:()=>ts_InlayHints_exports,InternalEmitFlags:()=>rI,InternalSymbolName:()=>n8,InvalidatedProjectKind:()=>InvalidatedProjectKind,JsDoc:()=>ts_JsDoc_exports,JsTyping:()=>ts_JsTyping_exports,JsxEmit:()=>rv,JsxFlags:()=>nF,JsxReferenceKind:()=>ri,LanguageServiceMode:()=>LanguageServiceMode,LanguageServiceShimHostAdapter:()=>LanguageServiceShimHostAdapter,LanguageVariant:()=>rE,LexicalEnvironmentFlags:()=>rF,ListFormat:()=>rz,LogLevel:()=>np,MemberOverrideStatus:()=>nW,ModifierFlags:()=>nP,ModuleDetectionKind:()=>rm,ModuleInstanceState:()=>ModuleInstanceState,ModuleKind:()=>rb,ModuleResolutionKind:()=>rf,ModuleSpecifierEnding:()=>bz,NavigateTo:()=>ts_NavigateTo_exports,NavigationBar:()=>ts_NavigationBar_exports,NewLineKind:()=>rD,NodeBuilderFlags:()=>nG,NodeCheckFlags:()=>n7,NodeFactoryFlags:()=>vn,NodeFlags:()=>nO,NodeResolutionFeatures:()=>NodeResolutionFeatures,ObjectFlags:()=>re,OperationCanceledException:()=>nJ,OperatorPrecedence:()=>br,OrganizeImports:()=>ts_OrganizeImports_exports,OrganizeImportsMode:()=>OrganizeImportsMode,OuterExpressionKinds:()=>rP,OutliningElementsCollector:()=>ts_OutliningElementsCollector_exports,OutliningSpanKind:()=>OutliningSpanKind,OutputFileType:()=>OutputFileType,PackageJsonAutoImportPreference:()=>PackageJsonAutoImportPreference,PackageJsonDependencyGroup:()=>PackageJsonDependencyGroup,PatternMatchKind:()=>PatternMatchKind,PollingInterval:()=>PollingInterval,PollingWatchKind:()=>rg,PragmaKindFlags:()=>rR,PrivateIdentifierKind:()=>PrivateIdentifierKind,ProcessLevel:()=>ProcessLevel,QuotePreference:()=>QuotePreference,RelationComparisonResult:()=>nL,Rename:()=>ts_Rename_exports,ScriptElementKind:()=>ScriptElementKind,ScriptElementKindModifier:()=>ScriptElementKindModifier,ScriptKind:()=>rS,ScriptSnapshot:()=>ScriptSnapshot,ScriptTarget:()=>rT,SemanticClassificationFormat:()=>SemanticClassificationFormat,SemanticMeaning:()=>SemanticMeaning,SemicolonPreference:()=>SemicolonPreference,SignatureCheckMode:()=>SignatureCheckMode,SignatureFlags:()=>ra,SignatureHelp:()=>ts_SignatureHelp_exports,SignatureKind:()=>ro,SmartSelectionRange:()=>ts_SmartSelectionRange_exports,SnippetKind:()=>rM,SortKind:()=>ne,StructureIsReused:()=>nY,SymbolAccessibility:()=>n0,SymbolDisplay:()=>ts_SymbolDisplay_exports,SymbolDisplayPartKind:()=>SymbolDisplayPartKind,SymbolFlags:()=>n4,SymbolFormatFlags:()=>nX,SyntaxKind:()=>nj,SyntheticSymbolKind:()=>n1,Ternary:()=>r_,ThrottledCancellationToken:()=>Ap,TokenClass:()=>TokenClass,TokenFlags:()=>nR,TransformFlags:()=>rN,TypeFacts:()=>TypeFacts,TypeFlags:()=>n9,TypeFormatFlags:()=>nZ,TypeMapKind:()=>ru,TypePredicateKind:()=>n2,TypeReferenceSerializationKind:()=>n3,TypeScriptServicesFactory:()=>TypeScriptServicesFactory,UnionReduction:()=>nQ,UpToDateStatusType:()=>UpToDateStatusType,VarianceFlags:()=>rt,Version:()=>Version,VersionRange:()=>VersionRange,WatchDirectoryFlags:()=>rw,WatchDirectoryKind:()=>ry,WatchFileKind:()=>rh,WatchLogLevel:()=>WatchLogLevel,WatchType:()=>WatchType,accessPrivateIdentifier:()=>accessPrivateIdentifier,addEmitFlags:()=>addEmitFlags,addEmitHelper:()=>addEmitHelper,addEmitHelpers:()=>addEmitHelpers,addInternalEmitFlags:()=>addInternalEmitFlags,addNodeFactoryPatcher:()=>bW,addObjectAllocatorPatcher:()=>hU,addRange:()=>ef,addRelatedInfo:()=>go,addSyntheticLeadingComment:()=>addSyntheticLeadingComment,addSyntheticTrailingComment:()=>addSyntheticTrailingComment,addToSeen:()=>hT,advancedAsyncSuperHelper:()=>advancedAsyncSuperHelper,affectsDeclarationPathOptionDeclarations:()=>affectsDeclarationPathOptionDeclarations,affectsEmitOptionDeclarations:()=>affectsEmitOptionDeclarations,allKeysStartWithDot:()=>allKeysStartWithDot,altDirectorySeparator:()=>iN,and:()=>tW,append:()=>e_,appendIfUnique:()=>eh,arrayFrom:()=>eU,arrayIsEqualTo:()=>eu,arrayIsHomogeneous:()=>gg,arrayIsSorted:()=>ea,arrayOf:()=>eB,arrayReverseIterator:()=>eb,arrayToMap:()=>eK,arrayToMultiMap:()=>eY,arrayToNumericMap:()=>eV,arraysEqual:()=>C,assertType:()=>tG,assign:()=>eJ,assignHelper:()=>assignHelper,asyncDelegator:()=>asyncDelegator,asyncGeneratorHelper:()=>asyncGeneratorHelper,asyncSuperHelper:()=>asyncSuperHelper,asyncValues:()=>asyncValues,attachFileToDiagnostics:()=>hW,awaitHelper:()=>awaitHelper,awaiterHelper:()=>awaiterHelper,base64decode:()=>mJ,base64encode:()=>mU,binarySearch:()=>eI,binarySearchKey:()=>ej,bindSourceFile:()=>bindSourceFile,breakIntoCharacterSpans:()=>breakIntoCharacterSpans,breakIntoWordSpans:()=>breakIntoWordSpans,buildLinkParts:()=>buildLinkParts,buildOpts:()=>buildOpts,buildOverload:()=>buildOverload,bundlerModuleNameResolver:()=>bundlerModuleNameResolver,canBeConvertedToAsync:()=>canBeConvertedToAsync,canHaveDecorators:()=>T0,canHaveExportModifier:()=>gK,canHaveFlowNode:()=>pV,canHaveIllegalDecorators:()=>Tw,canHaveIllegalModifiers:()=>TA,canHaveIllegalType:()=>TT,canHaveIllegalTypeParameters:()=>TE,canHaveJSDoc:()=>pY,canHaveLocals:()=>uM,canHaveModifiers:()=>TX,canHaveSymbol:()=>uN,canJsonReportNoInputFiles:()=>canJsonReportNoInputFiles,canProduceDiagnostics:()=>canProduceDiagnostics,canUsePropertyAccess:()=>gY,canWatchDirectoryOrFile:()=>canWatchDirectoryOrFile,cartesianProduct:()=>t0,cast:()=>te,chainBundle:()=>chainBundle,chainDiagnosticMessages:()=>hX,changeAnyExtension:()=>id,changeCompilerHostLikeToUseCache:()=>changeCompilerHostLikeToUseCache,changeExtension:()=>y3,changesAffectModuleResolution:()=>lo,changesAffectingProgramStructure:()=>ls,childIsDecorated:()=>_R,classElementOrClassElementParameterIsDecorated:()=>_U,classOrConstructorParameterIsDecorated:()=>_B,classPrivateFieldGetHelper:()=>classPrivateFieldGetHelper,classPrivateFieldInHelper:()=>classPrivateFieldInHelper,classPrivateFieldSetHelper:()=>classPrivateFieldSetHelper,classicNameResolver:()=>classicNameResolver,classifier:()=>ts_classifier_exports,cleanExtendedConfigCache:()=>cleanExtendedConfigCache,clear:()=>j,clearMap:()=>hf,clearSharedExtendedConfigFileWatcher:()=>clearSharedExtendedConfigFileWatcher,climbPastPropertyAccess:()=>climbPastPropertyAccess,climbPastPropertyOrElementAccess:()=>climbPastPropertyOrElementAccess,clone:()=>eQ,cloneCompilerOptions:()=>cloneCompilerOptions,closeFileWatcher:()=>ha,closeFileWatcherOf:()=>closeFileWatcherOf,codefix:()=>ts_codefix_exports,collapseTextChangeRangesAcrossMultipleVersions:()=>oZ,collectExternalModuleInfo:()=>collectExternalModuleInfo,combine:()=>ep,combinePaths:()=>ir,commentPragmas:()=>rB,commonOptionsWithBuild:()=>commonOptionsWithBuild,commonPackageFolders:()=>bD,compact:()=>el,compareBooleans:()=>tN,compareDataObjects:()=>function e(t,n){if(!t||!n||Object.keys(t).length!==Object.keys(n).length)return!1;for(let r in t)if("object"==typeof t[r]){if(!e(t[r],n[r]))return!1}else if("function"!=typeof t[r]&&t[r]!==n[r])return!1;return!0},compareDiagnostics:()=>h2,compareDiagnosticsSkipRelatedInformation:()=>h3,compareEmitHelpers:()=>compareEmitHelpers,compareNumberOfDirectorySeparators:()=>yX,comparePaths:()=>ig,comparePathsCaseInsensitive:()=>iy,comparePathsCaseSensitive:()=>ih,comparePatternKeys:()=>comparePatternKeys,compareProperties:()=>tC,compareStringsCaseInsensitive:()=>tx,compareStringsCaseInsensitiveEslintCompatible:()=>tD,compareStringsCaseSensitive:()=>tS,compareStringsCaseSensitiveUI:()=>tA,compareTextSpans:()=>tb,compareValues:()=>tg,compileOnSaveCommandLineOption:()=>compileOnSaveCommandLineOption,compilerOptionsAffectDeclarationPath:()=>yS,compilerOptionsAffectEmit:()=>yD,compilerOptionsAffectSemanticDiagnostics:()=>yx,compilerOptionsDidYouMeanDiagnostics:()=>compilerOptionsDidYouMeanDiagnostics,compilerOptionsIndicateEsModules:()=>compilerOptionsIndicateEsModules,compose:()=>td,computeCommonSourceDirectoryOfFilenames:()=>computeCommonSourceDirectoryOfFilenames,computeLineAndCharacterOfPosition:()=>iq,computeLineOfPosition:()=>iW,computeLineStarts:()=>i$,computePositionOfLineAndCharacter:()=>iV,computeSignature:()=>computeSignature,computeSignatureWithDiagnostics:()=>computeSignatureWithDiagnostics,computeSuggestionDiagnostics:()=>computeSuggestionDiagnostics,concatenate:()=>X,concatenateDiagnosticMessageChains:()=>h0,consumesNodeCoreModules:()=>consumesNodeCoreModules,contains:()=>A,containsIgnoredPath:()=>gM,containsObjectRestOrSpread:()=>TW,containsParseError:()=>lE,containsPath:()=>ib,convertCompilerOptionsForTelemetry:()=>convertCompilerOptionsForTelemetry,convertCompilerOptionsFromJson:()=>convertCompilerOptionsFromJson,convertJsonOption:()=>convertJsonOption,convertToBase64:()=>mB,convertToObject:()=>convertToObject,convertToObjectWorker:()=>convertToObjectWorker,convertToOptionsWithAbsolutePaths:()=>convertToOptionsWithAbsolutePaths,convertToRelativePath:()=>iS,convertToTSConfig:()=>convertToTSConfig,convertTypeAcquisitionFromJson:()=>convertTypeAcquisitionFromJson,copyComments:()=>copyComments,copyEntries:()=>lp,copyLeadingComments:()=>copyLeadingComments,copyProperties:()=>eG,copyTrailingAsLeadingComments:()=>copyTrailingAsLeadingComments,copyTrailingComments:()=>copyTrailingComments,couldStartTrivia:()=>i3,countWhere:()=>M,createAbstractBuilder:()=>createAbstractBuilder,createAccessorPropertyBackingField:()=>T$,createAccessorPropertyGetRedirector:()=>TK,createAccessorPropertySetRedirector:()=>TV,createBaseNodeFactory:()=>bJ,createBinaryExpressionTrampoline:()=>TP,createBindingHelper:()=>createBindingHelper,createBuildInfo:()=>createBuildInfo,createBuilderProgram:()=>createBuilderProgram,createBuilderProgramUsingProgramBuildInfo:()=>createBuilderProgramUsingProgramBuildInfo,createBuilderStatusReporter:()=>createBuilderStatusReporter,createCacheWithRedirects:()=>createCacheWithRedirects,createCacheableExportInfoMap:()=>createCacheableExportInfoMap,createCachedDirectoryStructureHost:()=>createCachedDirectoryStructureHost,createClassifier:()=>createClassifier,createCommentDirectivesMap:()=>lq,createCompilerDiagnostic:()=>hG,createCompilerDiagnosticForInvalidCustomType:()=>createCompilerDiagnosticForInvalidCustomType,createCompilerDiagnosticFromMessageChain:()=>hZ,createCompilerHost:()=>createCompilerHost,createCompilerHostFromProgramHost:()=>createCompilerHostFromProgramHost,createCompilerHostWorker:()=>createCompilerHostWorker,createDetachedDiagnostic:()=>hq,createDiagnosticCollection:()=>fe,createDiagnosticForFileFromMessageChain:()=>cP,createDiagnosticForNode:()=>cC,createDiagnosticForNodeArray:()=>cN,createDiagnosticForNodeArrayFromMessageChain:()=>cI,createDiagnosticForNodeFromMessageChain:()=>ck,createDiagnosticForNodeInSourceFile:()=>cM,createDiagnosticForRange:()=>cL,createDiagnosticMessageChainFromDiagnostic:()=>cF,createDiagnosticReporter:()=>createDiagnosticReporter,createDocumentPositionMapper:()=>createDocumentPositionMapper,createDocumentRegistry:()=>createDocumentRegistry,createDocumentRegistryInternal:()=>createDocumentRegistryInternal,createEmitAndSemanticDiagnosticsBuilderProgram:()=>createEmitAndSemanticDiagnosticsBuilderProgram,createEmitHelperFactory:()=>createEmitHelperFactory,createEmptyExports:()=>Sq,createExpressionForJsxElement:()=>SZ,createExpressionForJsxFragment:()=>SX,createExpressionForObjectLiteralElementLike:()=>S3,createExpressionForPropertyName:()=>S2,createExpressionFromEntityName:()=>function e(t,n){if(!vY(n))return gT(TZ(t.cloneNode(n),n),n.parent);{let r=e(t,n.left),i=gT(TZ(t.cloneNode(n.right),n.right),n.right.parent);return TZ(t.createPropertyAccessExpression(r,i),n)}},createExternalHelpersImportDeclarationIfNeeded:()=>Tp,createFileDiagnostic:()=>hQ,createFileDiagnosticFromMessageChain:()=>cO,createForOfBindingStatement:()=>S0,createGetCanonicalFileName:()=>tB,createGetSourceFile:()=>createGetSourceFile,createGetSymbolAccessibilityDiagnosticForNode:()=>createGetSymbolAccessibilityDiagnosticForNode,createGetSymbolAccessibilityDiagnosticForNodeName:()=>createGetSymbolAccessibilityDiagnosticForNodeName,createGetSymbolWalker:()=>createGetSymbolWalker,createIncrementalCompilerHost:()=>createIncrementalCompilerHost,createIncrementalProgram:()=>createIncrementalProgram,createInputFiles:()=>b5,createInputFilesWithFilePaths:()=>b8,createInputFilesWithFileTexts:()=>b7,createJsxFactoryExpression:()=>SG,createLanguageService:()=>w3,createLanguageServiceSourceFile:()=>w1,createMemberAccessForPropertyName:()=>SW,createModeAwareCache:()=>createModeAwareCache,createModeAwareCacheKey:()=>createModeAwareCacheKey,createModuleResolutionCache:()=>createModuleResolutionCache,createModuleResolutionLoader:()=>createModuleResolutionLoader,createModuleSpecifierResolutionHost:()=>createModuleSpecifierResolutionHost,createMultiMap:()=>eX,createNodeConverters:()=>bq,createNodeFactory:()=>bQ,createOptionNameMap:()=>createOptionNameMap,createOverload:()=>createOverload,createPackageJsonImportFilter:()=>createPackageJsonImportFilter,createPackageJsonInfo:()=>createPackageJsonInfo,createParenthesizerRules:()=>createParenthesizerRules,createPatternMatcher:()=>createPatternMatcher,createPrependNodes:()=>createPrependNodes,createPrinter:()=>createPrinter,createPrinterWithDefaults:()=>createPrinterWithDefaults,createPrinterWithRemoveComments:()=>createPrinterWithRemoveComments,createPrinterWithRemoveCommentsNeverAsciiEscape:()=>createPrinterWithRemoveCommentsNeverAsciiEscape,createPrinterWithRemoveCommentsOmitTrailingSemicolon:()=>createPrinterWithRemoveCommentsOmitTrailingSemicolon,createProgram:()=>createProgram,createProgramHost:()=>createProgramHost,createPropertyNameNodeForIdentifierOrLiteral:()=>gR,createQueue:()=>e3,createRange:()=>mq,createRedirectedBuilderProgram:()=>createRedirectedBuilderProgram,createResolutionCache:()=>createResolutionCache,createRuntimeTypeSerializer:()=>createRuntimeTypeSerializer,createScanner:()=>o_,createSemanticDiagnosticsBuilderProgram:()=>createSemanticDiagnosticsBuilderProgram,createSet:()=>e4,createSolutionBuilder:()=>createSolutionBuilder,createSolutionBuilderHost:()=>createSolutionBuilderHost,createSolutionBuilderWithWatch:()=>createSolutionBuilderWithWatch,createSolutionBuilderWithWatchHost:()=>createSolutionBuilderWithWatchHost,createSortedArray:()=>er,createSourceFile:()=>Eg,createSourceMapGenerator:()=>createSourceMapGenerator,createSourceMapSource:()=>b9,createSuperAccessVariableStatement:()=>createSuperAccessVariableStatement,createSymbolTable:()=>lr,createSymlinkCache:()=>yN,createSystemWatchFunctions:()=>createSystemWatchFunctions,createTextChange:()=>createTextChange,createTextChangeFromStartLength:()=>createTextChangeFromStartLength,createTextChangeRange:()=>oG,createTextRangeFromNode:()=>createTextRangeFromNode,createTextRangeFromSpan:()=>createTextRangeFromSpan,createTextSpan:()=>oq,createTextSpanFromBounds:()=>oW,createTextSpanFromNode:()=>createTextSpanFromNode,createTextSpanFromRange:()=>createTextSpanFromRange,createTextSpanFromStringLiteralLikeContent:()=>createTextSpanFromStringLiteralLikeContent,createTextWriter:()=>fd,createTokenRange:()=>mX,createTypeChecker:()=>createTypeChecker,createTypeReferenceDirectiveResolutionCache:()=>createTypeReferenceDirectiveResolutionCache,createTypeReferenceResolutionLoader:()=>createTypeReferenceResolutionLoader,createUnderscoreEscapedMultiMap:()=>e2,createUnparsedSourceFile:()=>b6,createWatchCompilerHost:()=>createWatchCompilerHost2,createWatchCompilerHostOfConfigFile:()=>createWatchCompilerHostOfConfigFile,createWatchCompilerHostOfFilesAndCompilerOptions:()=>createWatchCompilerHostOfFilesAndCompilerOptions,createWatchFactory:()=>createWatchFactory,createWatchHost:()=>createWatchHost,createWatchProgram:()=>createWatchProgram,createWatchStatusReporter:()=>createWatchStatusReporter,createWriteFileMeasuringIO:()=>createWriteFileMeasuringIO,declarationNameToString:()=>cD,decodeMappings:()=>decodeMappings,decodedTextSpanIntersectsWith:()=>oK,decorateHelper:()=>decorateHelper,deduplicate:()=>en,defaultIncludeSpec:()=>defaultIncludeSpec,defaultInitCompilerOptions:()=>defaultInitCompilerOptions,defaultMaximumTruncationLength:()=>g2,detectSortCaseSensitivity:()=>es,diagnosticCategoryName:()=>nI,diagnosticToString:()=>diagnosticToString,directoryProbablyExists:()=>mV,directorySeparator:()=>iC,displayPart:()=>displayPart,displayPartsToString:()=>wG,disposeEmitNodes:()=>disposeEmitNodes,documentSpansEqual:()=>documentSpansEqual,dumpTracingLegend:()=>dumpTracingLegend,elementAt:()=>nt,elideNodes:()=>TR,emitComments:()=>fX,emitDetachedComments:()=>f0,emitFiles:()=>emitFiles,emitFilesAndReportErrors:()=>emitFilesAndReportErrors,emitFilesAndReportErrorsAndGetExitStatus:()=>emitFilesAndReportErrorsAndGetExitStatus,emitModuleKindIsNonNodeESM:()=>ye,emitNewLineBeforeLeadingCommentOfPosition:()=>fZ,emitNewLineBeforeLeadingComments:()=>fH,emitNewLineBeforeLeadingCommentsOfPosition:()=>fG,emitSkippedWithNoDiagnostics:()=>emitSkippedWithNoDiagnostics,emitUsingBuildInfo:()=>emitUsingBuildInfo,emptyArray:()=>t8,emptyFileSystemEntries:()=>bB,emptyMap:()=>t7,emptyOptions:()=>emptyOptions,emptySet:()=>t9,endsWith:()=>tk,ensurePathIsNonModuleName:()=>ip,ensureScriptKind:()=>y$,ensureTrailingDirectorySeparator:()=>i_,entityNameToString:()=>cA,enumerateInsertsAndDeletes:()=>tX,equalOwnProperties:()=>e$,equateStringsCaseInsensitive:()=>tm,equateStringsCaseSensitive:()=>th,equateValues:()=>tf,esDecorateHelper:()=>esDecorateHelper,escapeJsxAttributeString:()=>fs,escapeLeadingUnderscores:()=>ar,escapeNonAsciiString:()=>fo,escapeSnippetText:()=>gL,escapeString:()=>fi,every:()=>x,expandPreOrPostfixIncrementOrDecrementExpression:()=>S4,explainFiles:()=>explainFiles,explainIfFileIsRedirectAndImpliedFormat:()=>explainIfFileIsRedirectAndImpliedFormat,exportAssignmentIsAlias:()=>df,exportStarHelper:()=>exportStarHelper,expressionResultIsUnused:()=>gN,extend:()=>eH,extendsHelper:()=>extendsHelper,extensionFromPath:()=>y9,extensionIsTS:()=>y8,externalHelpersModuleNameText:()=>g1,factory:()=>vs,fileExtensionIs:()=>rZ,fileExtensionIsOneOf:()=>rX,fileIncludeReasonToDiagnostics:()=>fileIncludeReasonToDiagnostics,filter:()=>k,filterMutate:()=>I,filterSemanticDiagnostics:()=>filterSemanticDiagnostics,find:()=>D,findAncestor:()=>ae,findBestPatternMatch:()=>t$,findChildOfKind:()=>findChildOfKind,findComputedPropertyNameCacheAssignment:()=>TY,findConfigFile:()=>findConfigFile,findContainingList:()=>findContainingList,findDiagnosticForNode:()=>findDiagnosticForNode,findFirstNonJsxWhitespaceToken:()=>findFirstNonJsxWhitespaceToken,findIndex:()=>T,findLast:()=>S,findLastIndex:()=>E,findListItemInfo:()=>findListItemInfo,findMap:()=>w,findModifier:()=>findModifier,findNextToken:()=>findNextToken,findPackageJson:()=>findPackageJson,findPackageJsons:()=>findPackageJsons,findPrecedingMatchingToken:()=>findPrecedingMatchingToken,findPrecedingToken:()=>findPrecedingToken,findSuperStatementIndex:()=>findSuperStatementIndex,findTokenOnLeftOfPosition:()=>findTokenOnLeftOfPosition,findUseStrictPrologue:()=>S9,first:()=>eT,firstDefined:()=>h,firstDefinedIterator:()=>y,firstIterator:()=>eE,firstOrOnly:()=>firstOrOnly,firstOrUndefined:()=>eD,firstOrUndefinedIterator:()=>eS,fixupCompilerOptions:()=>fixupCompilerOptions,flatMap:()=>z,flatMapIterator:()=>B,flatMapToMutable:()=>R,flatten:()=>L,flattenCommaList:()=>Tq,flattenDestructuringAssignment:()=>flattenDestructuringAssignment,flattenDestructuringBinding:()=>flattenDestructuringBinding,flattenDiagnosticMessageText:()=>flattenDiagnosticMessageText,forEach:()=>f,forEachAncestor:()=>ll,forEachAncestorDirectory:()=>iw,forEachChild:()=>Ef,forEachChildRecursively:()=>Em,forEachEmittedFile:()=>forEachEmittedFile,forEachEnclosingBlockScopeContainer:()=>cx,forEachEntry:()=>lc,forEachExternalModuleToImportFrom:()=>forEachExternalModuleToImportFrom,forEachImportClauseDeclaration:()=>pF,forEachKey:()=>l_,forEachLeadingCommentRange:()=>oe,forEachNameInAccessChainWalkingLeft:()=>hI,forEachResolvedProjectReference:()=>forEachResolvedProjectReference,forEachReturnStatement:()=>c5,forEachRight:()=>m,forEachTrailingCommentRange:()=>ot,forEachUnique:()=>forEachUnique,forEachYieldExpression:()=>c8,forSomeAncestorDirectory:()=>hv,formatColorAndReset:()=>formatColorAndReset,formatDiagnostic:()=>formatDiagnostic,formatDiagnostics:()=>formatDiagnostics,formatDiagnosticsWithColorAndContext:()=>formatDiagnosticsWithColorAndContext,formatGeneratedName:()=>TJ,formatGeneratedNamePart:()=>TU,formatLocation:()=>formatLocation,formatMessage:()=>hH,formatStringFromArgs:()=>h$,formatting:()=>ts_formatting_exports,fullTripleSlashAMDReferencePathRegEx:()=>g7,fullTripleSlashReferencePathRegEx:()=>g5,generateDjb2Hash:()=>generateDjb2Hash,generateTSConfig:()=>generateTSConfig,generatorHelper:()=>generatorHelper,getAdjustedReferenceLocation:()=>getAdjustedReferenceLocation,getAdjustedRenameLocation:()=>getAdjustedRenameLocation,getAliasDeclarationFromName:()=>function e(t){switch(t.parent.kind){case 270:case 273:case 271:case 278:case 274:case 268:case 277:return t.parent;case 163:do t=t.parent;while(163===t.parent.kind)return e(t)}},getAllAccessorDeclarations:()=>fK,getAllDecoratorsOfClass:()=>getAllDecoratorsOfClass,getAllDecoratorsOfClassElement:()=>getAllDecoratorsOfClassElement,getAllJSDocTags:()=>aH,getAllJSDocTagsOfKind:()=>aG,getAllKeys:()=>ez,getAllProjectOutputs:()=>getAllProjectOutputs,getAllSuperTypeNodes:()=>dv,getAllUnscopedEmitHelpers:()=>getAllUnscopedEmitHelpers,getAllowJSCompilerOption:()=>yb,getAllowSyntheticDefaultImports:()=>yc,getAncestor:()=>dS,getAnyExtensionFromPath:()=>r8,getAreDeclarationMapsEnabled:()=>yu,getAssignedExpandoInitializer:()=>po,getAssignedName:()=>af,getAssignmentDeclarationKind:()=>pf,getAssignmentDeclarationPropertyAccessKind:()=>pT,getAssignmentTargetKind:()=>p6,getAutomaticTypeDirectiveNames:()=>getAutomaticTypeDirectiveNames,getBaseFileName:()=>r6,getBinaryOperatorPrecedence:()=>d7,getBuildInfo:()=>getBuildInfo,getBuildInfoFileVersionMap:()=>getBuildInfoFileVersionMap,getBuildInfoText:()=>getBuildInfoText,getBuildOrderFromAnyBuildOrder:()=>getBuildOrderFromAnyBuildOrder,getBuilderCreationParameters:()=>getBuilderCreationParameters,getBuilderFileEmit:()=>getBuilderFileEmit,getCheckFlags:()=>hs,getClassExtendsHeritageElement:()=>dg,getClassLikeDeclarationOfSymbol:()=>hg,getCombinedLocalAndExportSymbolFlags:()=>hc,getCombinedModifierFlags:()=>o6,getCombinedNodeFlags:()=>o8,getCombinedNodeFlagsAlwaysIncludeJSDoc:()=>o5,getCommentRange:()=>getCommentRange,getCommonSourceDirectory:()=>getCommonSourceDirectory,getCommonSourceDirectoryOfConfig:()=>getCommonSourceDirectoryOfConfig,getCompilerOptionValue:()=>yT,getCompilerOptionsDiffValue:()=>getCompilerOptionsDiffValue,getConditions:()=>getConditions,getConfigFileParsingDiagnostics:()=>getConfigFileParsingDiagnostics,getConstantValue:()=>getConstantValue,getContainerNode:()=>getContainerNode,getContainingClass:()=>_v,getContainingClassStaticBlock:()=>_x,getContainingFunction:()=>_g,getContainingFunctionDeclaration:()=>_b,getContainingFunctionOrClassStaticBlock:()=>_D,getContainingNodeArray:()=>gk,getContainingObjectLiteralElement:()=>w6,getContextualTypeFromParent:()=>getContextualTypeFromParent,getContextualTypeFromParentOrAncestorTypeNode:()=>getContextualTypeFromParentOrAncestorTypeNode,getCurrentTime:()=>getCurrentTime,getDeclarationDiagnostics:()=>getDeclarationDiagnostics,getDeclarationEmitExtensionForPath:()=>fT,getDeclarationEmitOutputFilePath:()=>fD,getDeclarationEmitOutputFilePathWorker:()=>fS,getDeclarationFromName:()=>dl,getDeclarationModifierFlagsFromSymbol:()=>hu,getDeclarationOfKind:()=>lt,getDeclarationsOfKind:()=>ln,getDeclaredExpandoInitializer:()=>pi,getDecorators:()=>am,getDefaultCompilerOptions:()=>wZ,getDefaultExportInfoWorker:()=>getDefaultExportInfoWorker,getDefaultFormatCodeSettings:()=>getDefaultFormatCodeSettings,getDefaultLibFileName:()=>oO,getDefaultLibFilePath:()=>w8,getDefaultLikeExportInfo:()=>getDefaultLikeExportInfo,getDiagnosticText:()=>getDiagnosticText,getDiagnosticsWithinSpan:()=>getDiagnosticsWithinSpan,getDirectoryPath:()=>r4,getDocumentPositionMapper:()=>getDocumentPositionMapper,getESModuleInterop:()=>yl,getEditsForFileRename:()=>getEditsForFileRename,getEffectiveBaseTypeNode:()=>dy,getEffectiveConstraintOfTypeParameter:()=>a0,getEffectiveContainerForJSDocTemplateTag:()=>pZ,getEffectiveImplementsTypeNodes:()=>db,getEffectiveInitializer:()=>pr,getEffectiveJSDocHost:()=>p0,getEffectiveModifierFlags:()=>mu,getEffectiveModifierFlagsAlwaysIncludeJSDoc:()=>ml,getEffectiveModifierFlagsNoCache:()=>mp,getEffectiveReturnTypeNode:()=>fq,getEffectiveSetAccessorTypeAnnotationNode:()=>fQ,getEffectiveTypeAnnotationNode:()=>fV,getEffectiveTypeParameterDeclarations:()=>aX,getEffectiveTypeRoots:()=>getEffectiveTypeRoots,getElementOrPropertyAccessArgumentExpressionOrName:()=>pD,getElementOrPropertyAccessName:()=>pS,getElementsOfBindingOrAssignmentPattern:()=>TD,getEmitDeclarations:()=>ym,getEmitFlags:()=>l2,getEmitHelpers:()=>getEmitHelpers,getEmitModuleDetectionKind:()=>yn,getEmitModuleKind:()=>h9,getEmitModuleResolutionKind:()=>yt,getEmitScriptTarget:()=>h7,getEnclosingBlockScopeContainer:()=>cv,getEncodedSemanticClassifications:()=>getEncodedSemanticClassifications,getEncodedSyntacticClassifications:()=>getEncodedSyntacticClassifications,getEndLinePosition:()=>lI,getEntityNameFromTypeNode:()=>_O,getEntrypointsFromPackageJsonInfo:()=>getEntrypointsFromPackageJsonInfo,getErrorCountForSummary:()=>getErrorCountForSummary,getErrorSpanForNode:()=>cB,getErrorSummaryText:()=>getErrorSummaryText,getEscapedTextOfIdentifierOrLiteral:()=>dU,getExpandoInitializer:()=>pa,getExportAssignmentExpression:()=>dm,getExportInfoMap:()=>getExportInfoMap,getExportNeedsImportStarHelper:()=>getExportNeedsImportStarHelper,getExpressionAssociativity:()=>d3,getExpressionPrecedence:()=>d6,getExternalHelpersModuleName:()=>Tc,getExternalModuleImportEqualsDeclarationExpression:()=>_W,getExternalModuleName:()=>pj,getExternalModuleNameFromDeclaration:()=>fb,getExternalModuleNameFromPath:()=>fv,getExternalModuleNameLiteral:()=>Tm,getExternalModuleRequireArgument:()=>_Q,getFallbackOptions:()=>getFallbackOptions,getFileEmitOutput:()=>getFileEmitOutput,getFileMatcherPatterns:()=>yB,getFileNamesFromConfigSpecs:()=>getFileNamesFromConfigSpecs,getFileWatcherEventKind:()=>getFileWatcherEventKind,getFilesInErrorForSummary:()=>getFilesInErrorForSummary,getFirstConstructorWithBody:()=>fF,getFirstIdentifier:()=>mM,getFirstNonSpaceCharacterPosition:()=>getFirstNonSpaceCharacterPosition,getFirstProjectOutput:()=>getFirstProjectOutput,getFixableErrorSpanExpression:()=>getFixableErrorSpanExpression,getFormatCodeSettingsForWriting:()=>getFormatCodeSettingsForWriting,getFullWidth:()=>lf,getFunctionFlags:()=>dI,getHeritageClause:()=>dD,getHostSignatureFromJSDoc:()=>pX,getIdentifierAutoGenerate:()=>getIdentifierAutoGenerate,getIdentifierGeneratedImportReference:()=>getIdentifierGeneratedImportReference,getIdentifierTypeArguments:()=>getIdentifierTypeArguments,getImmediatelyInvokedFunctionExpression:()=>_C,getImpliedNodeFormatForFile:()=>getImpliedNodeFormatForFile,getImpliedNodeFormatForFileWorker:()=>getImpliedNodeFormatForFileWorker,getImportNeedsImportDefaultHelper:()=>getImportNeedsImportDefaultHelper,getImportNeedsImportStarHelper:()=>getImportNeedsImportStarHelper,getIndentSize:()=>f_,getIndentString:()=>fc,getInitializedVariables:()=>hr,getInitializerOfBinaryExpression:()=>pE,getInitializerOfBindingOrAssignmentElement:()=>function e(t){if(s6(t))return t.initializer;if(D5(t)){let e=t.initializer;return mE(e,!0)?e.right:void 0}return D8(t)?t.objectAssignmentInitializer:mE(t,!0)?t.right:xY(t)?e(t.expression):void 0},getInterfaceBaseTypeNodes:()=>dx,getInternalEmitFlags:()=>l3,getInvokedExpression:()=>_P,getIsolatedModules:()=>yi,getJSDocAugmentsTag:()=>aT,getJSDocClassTag:()=>aw,getJSDocCommentRanges:()=>c3,getJSDocCommentsAndTags:()=>pq,getJSDocDeprecatedTag:()=>aF,getJSDocDeprecatedTagNoCache:()=>aL,getJSDocEnumTag:()=>az,getJSDocHost:()=>p1,getJSDocImplementsTags:()=>aE,getJSDocOverrideTagNoCache:()=>aP,getJSDocParameterTags:()=>ag,getJSDocParameterTagsNoCache:()=>ab,getJSDocPrivateTag:()=>aN,getJSDocPrivateTagNoCache:()=>aM,getJSDocProtectedTag:()=>ak,getJSDocProtectedTagNoCache:()=>aI,getJSDocPublicTag:()=>aA,getJSDocPublicTagNoCache:()=>aC,getJSDocReadonlyTag:()=>aj,getJSDocReadonlyTagNoCache:()=>aO,getJSDocReturnTag:()=>aB,getJSDocReturnType:()=>aV,getJSDocRoot:()=>p2,getJSDocSatisfiesExpressionType:()=>gZ,getJSDocSatisfiesTag:()=>aJ,getJSDocTags:()=>aq,getJSDocTagsNoCache:()=>aW,getJSDocTemplateTag:()=>aU,getJSDocThisTag:()=>aR,getJSDocType:()=>aK,getJSDocTypeAliasName:()=>TS,getJSDocTypeAssertionType:()=>Ti,getJSDocTypeParameterDeclarations:()=>fW,getJSDocTypeParameterTags:()=>ax,getJSDocTypeParameterTagsNoCache:()=>aD,getJSDocTypeTag:()=>a$,getJSXImplicitImportBase:()=>yw,getJSXRuntimeImport:()=>yA,getJSXTransformEnabled:()=>yE,getKeyForCompilerOptions:()=>getKeyForCompilerOptions,getLanguageVariant:()=>h4,getLastChild:()=>hS,getLeadingCommentRanges:()=>oo,getLeadingCommentRangesOfNode:()=>c2,getLeftmostAccessExpression:()=>hk,getLeftmostExpression:()=>hj,getLineAndCharacterOfPosition:()=>iH,getLineInfo:()=>getLineInfo,getLineOfLocalPosition:()=>fO,getLineOfLocalPositionFromLineMap:()=>fP,getLineStartPositionForPosition:()=>getLineStartPositionForPosition,getLineStarts:()=>iY,getLinesBetweenPositionAndNextNonWhitespaceCharacter:()=>ht,getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter:()=>he,getLinesBetweenPositions:()=>iQ,getLinesBetweenRangeEndAndRangeStart:()=>m6,getLinesBetweenRangeEndPositions:()=>m5,getLiteralText:()=>l4,getLocalNameForExternalImport:()=>Tf,getLocalSymbolForExportDefault:()=>mz,getLocaleSpecificMessage:()=>hY,getLocaleTimeString:()=>getLocaleTimeString,getMappedContextSpan:()=>getMappedContextSpan,getMappedDocumentSpan:()=>getMappedDocumentSpan,getMappedLocation:()=>getMappedLocation,getMatchedFileSpec:()=>getMatchedFileSpec,getMatchedIncludeSpec:()=>getMatchedIncludeSpec,getMeaningFromDeclaration:()=>getMeaningFromDeclaration,getMeaningFromLocation:()=>getMeaningFromLocation,getMembersOfDeclaration:()=>c9,getModeForFileReference:()=>getModeForFileReference,getModeForResolutionAtIndex:()=>getModeForResolutionAtIndex,getModeForUsageLocation:()=>getModeForUsageLocation,getModifiedTime:()=>getModifiedTime,getModifiers:()=>ah,getModuleInstanceState:()=>getModuleInstanceState,getModuleNameStringLiteralAt:()=>getModuleNameStringLiteralAt,getModuleSpecifierEndingPreference:()=>yH,getModuleSpecifierResolverHost:()=>getModuleSpecifierResolverHost,getNameForExportedSymbol:()=>getNameForExportedSymbol,getNameFromIndexInfo:()=>cS,getNameFromPropertyName:()=>getNameFromPropertyName,getNameOfAccessExpression:()=>hC,getNameOfCompilerOptionValue:()=>getNameOfCompilerOptionValue,getNameOfDeclaration:()=>ad,getNameOfExpando:()=>pu,getNameOfJSDocTypedef:()=>ac,getNameOrArgument:()=>px,getNameTable:()=>w4,getNamesForExportedSymbol:()=>getNamesForExportedSymbol,getNamespaceDeclarationNode:()=>pO,getNewLineCharacter:()=>mY,getNewLineKind:()=>getNewLineKind,getNewLineOrDefaultFromHost:()=>getNewLineOrDefaultFromHost,getNewTargetContainer:()=>_w,getNextJSDocCommentLocation:()=>pH,getNodeForGeneratedName:()=>TB,getNodeId:()=>getNodeId,getNodeKind:()=>getNodeKind,getNodeModifiers:()=>getNodeModifiers,getNodeModulePathParts:()=>gU,getNonAssignedNameOfDeclaration:()=>ap,getNonAssignmentOperatorForCompoundAssignment:()=>getNonAssignmentOperatorForCompoundAssignment,getNonAugmentationDeclaration:()=>cu,getNonDecoratorTokenPosOfNode:()=>lQ,getNormalizedAbsolutePath:()=>ia,getNormalizedAbsolutePathWithoutRoot:()=>iu,getNormalizedPathComponents:()=>io,getObjectFlags:()=>hb,getOperator:()=>d5,getOperatorAssociativity:()=>d4,getOperatorPrecedence:()=>d8,getOptionFromName:()=>getOptionFromName,getOptionsNameMap:()=>getOptionsNameMap,getOrCreateEmitNode:()=>getOrCreateEmitNode,getOrCreateExternalHelpersModuleNameIfNeeded:()=>Td,getOrUpdate:()=>Y,getOriginalNode:()=>o9,getOriginalNodeId:()=>getOriginalNodeId,getOriginalSourceFile:()=>d2,getOutputDeclarationFileName:()=>getOutputDeclarationFileName,getOutputExtension:()=>getOutputExtension,getOutputFileNames:()=>getOutputFileNames,getOutputPathsFor:()=>getOutputPathsFor,getOutputPathsForBundle:()=>getOutputPathsForBundle,getOwnEmitOutputFilePath:()=>fx,getOwnKeys:()=>eL,getOwnValues:()=>eR,getPackageJsonInfo:()=>getPackageJsonInfo,getPackageJsonTypesVersionsPaths:()=>getPackageJsonTypesVersionsPaths,getPackageJsonsVisibleToFile:()=>getPackageJsonsVisibleToFile,getPackageNameFromTypesPackageName:()=>getPackageNameFromTypesPackageName,getPackageScopeForPath:()=>getPackageScopeForPath,getParameterSymbolFromJSDoc:()=>pG,getParameterTypeNode:()=>gJ,getParentNodeInSpan:()=>getParentNodeInSpan,getParseTreeNode:()=>an,getParsedCommandLineOfConfigFile:()=>getParsedCommandLineOfConfigFile,getPathComponents:()=>r7,getPathComponentsRelativeTo:()=>ix,getPathFromPathComponents:()=>r9,getPathUpdater:()=>getPathUpdater,getPathsBasePath:()=>fA,getPatternFromSpec:()=>yL,getPendingEmitKind:()=>getPendingEmitKind,getPositionOfLineAndCharacter:()=>iK,getPossibleGenericSignatures:()=>getPossibleGenericSignatures,getPossibleOriginalInputExtensionForExtension:()=>fE,getPossibleTypeArgumentsInfo:()=>getPossibleTypeArgumentsInfo,getPreEmitDiagnostics:()=>getPreEmitDiagnostics,getPrecedingNonSpaceCharacterPosition:()=>getPrecedingNonSpaceCharacterPosition,getPrivateIdentifier:()=>getPrivateIdentifier,getProperties:()=>getProperties,getProperty:()=>eF,getPropertyArrayElementValue:()=>_f,getPropertyAssignment:()=>_d,getPropertyAssignmentAliasLikeExpression:()=>dh,getPropertyNameForPropertyNameNode:()=>dz,getPropertyNameForUniqueESSymbol:()=>dJ,getPropertyNameOfBindingOrAssignmentElement:()=>Tb,getPropertySymbolFromBindingElement:()=>getPropertySymbolFromBindingElement,getPropertySymbolsFromContextualType:()=>w5,getQuoteFromPreference:()=>getQuoteFromPreference,getQuotePreference:()=>getQuotePreference,getRangesWhere:()=>Z,getRefactorContextSpan:()=>getRefactorContextSpan,getReferencedFileLocation:()=>getReferencedFileLocation,getRegexFromPattern:()=>yU,getRegularExpressionForWildcard:()=>yO,getRegularExpressionsForWildcards:()=>yP,getRelativePathFromDirectory:()=>iD,getRelativePathFromFile:()=>iT,getRelativePathToDirectoryOrUrl:()=>iE,getRenameLocation:()=>getRenameLocation,getReplacementSpanForContextToken:()=>getReplacementSpanForContextToken,getResolutionDiagnostic:()=>getResolutionDiagnostic,getResolutionModeOverrideForClause:()=>getResolutionModeOverrideForClause,getResolveJsonModule:()=>yf,getResolvePackageJsonExports:()=>yp,getResolvePackageJsonImports:()=>yd,getResolvedExternalModuleName:()=>fy,getResolvedModule:()=>lm,getResolvedTypeReferenceDirective:()=>lg,getRestIndicatorOfBindingOrAssignmentElement:()=>Tg,getRestParameterElementType:()=>c7,getRightMostAssignedExpression:()=>pc,getRootDeclaration:()=>dX,getRootLength:()=>r3,getScriptKind:()=>getScriptKind,getScriptKindFromFileName:()=>yK,getScriptTargetFeatures:()=>getScriptTargetFeatures,getSelectedEffectiveModifierFlags:()=>mo,getSelectedSyntacticModifierFlags:()=>ma,getSemanticClassifications:()=>getSemanticClassifications,getSemanticJsxChildren:()=>d9,getSetAccessorTypeAnnotationNode:()=>fz,getSetAccessorValueParameter:()=>fL,getSetExternalModuleIndicator:()=>h8,getShebang:()=>os,getSingleInitializerOfVariableStatementOrPropertyDeclaration:()=>pJ,getSingleVariableOfVariableStatement:()=>p$,getSnapshotText:()=>getSnapshotText,getSnippetElement:()=>getSnippetElement,getSourceFileOfModule:()=>lA,getSourceFileOfNode:()=>lw,getSourceFilePathInNewDir:()=>fM,getSourceFilePathInNewDirWorker:()=>fk,getSourceFileVersionAsHashFromText:()=>getSourceFileVersionAsHashFromText,getSourceFilesToEmit:()=>fC,getSourceMapRange:()=>getSourceMapRange,getSourceMapper:()=>getSourceMapper,getSourceTextOfNodeFromSourceFile:()=>lH,getSpanOfTokenAtPosition:()=>cz,getSpellingSuggestion:()=>tM,getStartPositionOfLine:()=>lM,getStartPositionOfRange:()=>m9,getStartsOnNewLine:()=>getStartsOnNewLine,getStaticPropertiesAndClassStaticBlock:()=>getStaticPropertiesAndClassStaticBlock,getStrictOptionValue:()=>yg,getStringComparer:()=>tT,getSuperCallFromStatement:()=>getSuperCallFromStatement,getSuperContainer:()=>_A,getSupportedCodeFixes:()=>wX,getSupportedExtensions:()=>yV,getSupportedExtensionsWithJsonIfResolveJsonModule:()=>yY,getSwitchedType:()=>getSwitchedType,getSymbolId:()=>getSymbolId,getSymbolNameForPrivateIdentifier:()=>d$,getSymbolTarget:()=>getSymbolTarget,getSyntacticClassifications:()=>getSyntacticClassifications,getSyntacticModifierFlags:()=>mc,getSyntacticModifierFlagsNoCache:()=>md,getSynthesizedDeepClone:()=>getSynthesizedDeepClone,getSynthesizedDeepCloneWithReplacements:()=>getSynthesizedDeepCloneWithReplacements,getSynthesizedDeepClones:()=>getSynthesizedDeepClones,getSynthesizedDeepClonesWithReplacements:()=>getSynthesizedDeepClonesWithReplacements,getSyntheticLeadingComments:()=>getSyntheticLeadingComments,getSyntheticTrailingComments:()=>getSyntheticTrailingComments,getTargetLabel:()=>getTargetLabel,getTargetOfBindingOrAssignmentElement:()=>Ty,getTemporaryModuleResolutionState:()=>getTemporaryModuleResolutionState,getTextOfConstantValue:()=>l6,getTextOfIdentifierOrLiteral:()=>dB,getTextOfJSDocComment:()=>aZ,getTextOfNode:()=>lX,getTextOfNodeFromSourceText:()=>lZ,getTextOfPropertyName:()=>cw,getThisContainer:()=>_S,getThisParameter:()=>fR,getTokenAtPosition:()=>getTokenAtPosition,getTokenPosOfNode:()=>lW,getTokenSourceMapRange:()=>getTokenSourceMapRange,getTouchingPropertyName:()=>getTouchingPropertyName,getTouchingToken:()=>getTouchingToken,getTrailingCommentRanges:()=>oa,getTrailingSemicolonDeferringWriter:()=>ff,getTransformFlagsSubtreeExclusions:()=>b3,getTransformers:()=>getTransformers,getTsBuildInfoEmitOutputFilePath:()=>getTsBuildInfoEmitOutputFilePath,getTsConfigObjectLiteralExpression:()=>_m,getTsConfigPropArray:()=>_y,getTsConfigPropArrayElementValue:()=>_h,getTypeAnnotationNode:()=>fY,getTypeArgumentOrTypeParameterList:()=>getTypeArgumentOrTypeParameterList,getTypeKeywordOfTypeOnlyImport:()=>getTypeKeywordOfTypeOnlyImport,getTypeNode:()=>getTypeNode,getTypeNodeIfAccessible:()=>getTypeNodeIfAccessible,getTypeParameterFromJsDoc:()=>p3,getTypeParameterOwner:()=>oX,getTypesPackageName:()=>getTypesPackageName,getUILocale:()=>tE,getUniqueName:()=>getUniqueName,getUniqueSymbolId:()=>getUniqueSymbolId,getUseDefineForClassFields:()=>yv,getWatchErrorSummaryDiagnosticMessage:()=>getWatchErrorSummaryDiagnosticMessage,getWatchFactory:()=>getWatchFactory,group:()=>eq,groupBy:()=>eW,guessIndentation:()=>u2,handleNoEmitOptions:()=>handleNoEmitOptions,hasAbstractModifier:()=>me,hasAccessorModifier:()=>mn,hasAmbientModifier:()=>mt,hasChangesInResolutions:()=>lT,hasChildOfKind:()=>hasChildOfKind,hasContextSensitiveParameters:()=>gI,hasDecorators:()=>mi,hasDocComment:()=>hasDocComment,hasDynamicName:()=>dF,hasEffectiveModifier:()=>f6,hasEffectiveModifiers:()=>f3,hasEffectiveReadonlyModifier:()=>mr,hasExtension:()=>rG,hasIndexSignature:()=>hasIndexSignature,hasInitializer:()=>uZ,hasInvalidEscape:()=>ft,hasJSDocNodes:()=>uH,hasJSDocParameterTags:()=>aS,hasJSFileExtension:()=>yq,hasJsonModuleEmitEnabled:()=>yr,hasOnlyExpressionInitializer:()=>uX,hasOverrideModifier:()=>f9,hasPossibleExternalModuleReference:()=>cg,hasProperty:()=>eP,hasPropertyAccessExpressionWithName:()=>hasPropertyAccessExpressionWithName,hasQuestionToken:()=>pL,hasRecordedExternalHelpers:()=>T_,hasRestParameter:()=>u6,hasScopeMarker:()=>uy,hasStaticModifier:()=>f7,hasSyntacticModifier:()=>f5,hasSyntacticModifiers:()=>f4,hasTSFileExtension:()=>yW,hasTabstop:()=>gq,hasTrailingDirectorySeparator:()=>r0,hasType:()=>uG,hasTypeArguments:()=>p4,hasZeroOrOneAsteriskCharacter:()=>yC,helperString:()=>helperString,hostGetCanonicalFileName:()=>fh,hostUsesCaseSensitiveFileNames:()=>fm,idText:()=>ao,identifierIsThisKeyword:()=>f$,identifierToKeywordKind:()=>aa,identity:()=>to,identitySourceMapConsumer:()=>identitySourceMapConsumer,ignoreSourceNewlines:()=>ignoreSourceNewlines,ignoredPaths:()=>ignoredPaths,importDefaultHelper:()=>importDefaultHelper,importFromModuleSpecifier:()=>pk,importNameElisionDisabled:()=>yo,importStarHelper:()=>importStarHelper,indexOfAnyCharCode:()=>N,indexOfNode:()=>l1,indicesOf:()=>et,inferredTypesContainingFile:()=>inferredTypesContainingFile,insertImports:()=>insertImports,insertLeadingStatement:()=>S1,insertSorted:()=>ei,insertStatementAfterCustomPrologue:()=>lK,insertStatementAfterStandardPrologue:()=>l$,insertStatementsAfterCustomPrologue:()=>lJ,insertStatementsAfterStandardPrologue:()=>lU,intersperse:()=>v,introducesArgumentsExoticObject:()=>_a,inverseJsxOptionMap:()=>inverseJsxOptionMap,isAbstractConstructorSymbol:()=>hy,isAbstractModifier:()=>vB,isAccessExpression:()=>hA,isAccessibilityModifier:()=>isAccessibilityModifier,isAccessor:()=>sY,isAccessorModifier:()=>vJ,isAliasSymbolDeclaration:()=>dp,isAliasableExpression:()=>dd,isAmbientModule:()=>l9,isAmbientPropertyDeclaration:()=>c_,isAnonymousFunctionDefinition:()=>dW,isAnyDirectorySeparator:()=>rK,isAnyImportOrBareOrAccessedRequire:()=>ch,isAnyImportOrReExport:()=>cb,isAnyImportSyntax:()=>cm,isAnySupportedFileExtension:()=>ge,isApplicableVersionedTypesKey:()=>isApplicableVersionedTypesKey,isArgumentExpressionOfElementAccess:()=>isArgumentExpressionOfElementAccess,isArray:()=>e6,isArrayBindingElement:()=>s4,isArrayBindingOrAssignmentElement:()=>ut,isArrayBindingOrAssignmentPattern:()=>ue,isArrayBindingPattern:()=>xS,isArrayLiteralExpression:()=>xE,isArrayLiteralOrObjectLiteralDestructuringPattern:()=>isArrayLiteralOrObjectLiteralDestructuringPattern,isArrayTypeNode:()=>xi,isArrowFunction:()=>xP,isAsExpression:()=>xH,isAssertClause:()=>DN,isAssertEntry:()=>DM,isAssertionExpression:()=>uf,isAssertionKey:()=>sT,isAssertsKeyword:()=>vF,isAssignmentDeclaration:()=>pn,isAssignmentExpression:()=>mE,isAssignmentOperator:()=>mD,isAssignmentPattern:()=>s3,isAssignmentTarget:()=>p5,isAsteriskToken:()=>vE,isAsyncFunction:()=>dj,isAsyncModifier:()=>vP,isAutoAccessorPropertyDeclaration:()=>sq,isAwaitExpression:()=>xR,isAwaitKeyword:()=>vL,isBigIntLiteral:()=>vd,isBinaryExpression:()=>xJ,isBinaryOperatorToken:()=>TO,isBindableObjectDefinePropertyCall:()=>pm,isBindableStaticAccessExpression:()=>pg,isBindableStaticElementAccessExpression:()=>pb,isBindableStaticNameExpression:()=>pv,isBindingElement:()=>xT,isBindingElementOfBareOrAccessedRequire:()=>_8,isBindingName:()=>sF,isBindingOrAssignmentElement:()=>s5,isBindingOrAssignmentPattern:()=>s8,isBindingPattern:()=>s2,isBlock:()=>x6,isBlockOrCatchScoped:()=>l8,isBlockScope:()=>cp,isBlockScopedContainerTopLevel:()=>ci,isBooleanLiteral:()=>sB,isBreakOrContinueStatement:()=>si,isBreakStatement:()=>Da,isBuildInfoFile:()=>isBuildInfoFile,isBuilderProgram:()=>isBuilderProgram2,isBundle:()=>Sn,isBundleFileTextLike:()=>hN,isCallChain:()=>a6,isCallExpression:()=>xN,isCallExpressionTarget:()=>isCallExpressionTarget,isCallLikeExpression:()=>ui,isCallOrNewExpression:()=>uo,isCallOrNewExpressionTarget:()=>isCallOrNewExpressionTarget,isCallSignatureDeclaration:()=>v6,isCallToHelper:()=>isCallToHelper,isCaseBlock:()=>DS,isCaseClause:()=>D2,isCaseKeyword:()=>vV,isCaseOrDefaultClause:()=>uK,isCatchClause:()=>D6,isCatchClauseVariableDeclaration:()=>gO,isCatchClauseVariableDeclarationOrBindingElement:()=>l7,isCheckJsEnabledForFile:()=>gn,isChildOfNodeWithKind:()=>c6,isCircularBuildOrder:()=>isCircularBuildOrder,isClassDeclaration:()=>Dy,isClassElement:()=>sK,isClassExpression:()=>xq,isClassLike:()=>sV,isClassMemberModifier:()=>sI,isClassOrTypeElement:()=>sZ,isClassStaticBlockDeclaration:()=>v1,isCollapsedRange:()=>mZ,isColonToken:()=>vC,isCommaExpression:()=>Tt,isCommaListExpression:()=>x2,isCommaSequence:()=>Tn,isCommaToken:()=>vD,isComment:()=>isComment,isCommonJsExportPropertyAssignment:()=>_i,isCommonJsExportedExpression:()=>_r,isCompoundAssignment:()=>isCompoundAssignment,isComputedNonLiteralName:()=>cT,isComputedPropertyName:()=>vq,isConciseBody:()=>ux,isConditionalExpression:()=>x$,isConditionalTypeNode:()=>x_,isConstTypeReference:()=>st,isConstructSignatureDeclaration:()=>v5,isConstructorDeclaration:()=>v2,isConstructorTypeNode:()=>xt,isContextualKeyword:()=>dE,isContinueStatement:()=>Do,isCustomPrologue:()=>cZ,isDebuggerStatement:()=>Dd,isDeclaration:()=>uj,isDeclarationBindingElement:()=>s6,isDeclarationFileName:()=>EE,isDeclarationName:()=>du,isDeclarationNameOfEnumOrNamespace:()=>hn,isDeclarationReadonly:()=>cK,isDeclarationStatement:()=>uO,isDeclarationWithTypeParameterChildren:()=>cf,isDeclarationWithTypeParameters:()=>cd,isDecorator:()=>vH,isDecoratorTarget:()=>isDecoratorTarget,isDefaultClause:()=>D3,isDefaultImport:()=>pP,isDefaultModifier:()=>vO,isDefaultedExpandoInitializer:()=>ps,isDeleteExpression:()=>xF,isDeleteTarget:()=>da,isDeprecatedDeclaration:()=>isDeprecatedDeclaration,isDestructuringAssignment:()=>mA,isDiagnosticWithLocation:()=>isDiagnosticWithLocation,isDiskPathRoot:()=>rq,isDoStatement:()=>De,isDotDotDotToken:()=>vx,isDottedName:()=>function e(t){return 79===t.kind||108===t.kind||106===t.kind||233===t.kind||208===t.kind&&e(t.expression)||214===t.kind&&e(t.expression)},isDynamicName:()=>dL,isESSymbolIdentifier:()=>dY,isEffectiveExternalModule:()=>cl,isEffectiveModuleDeclaration:()=>cn,isEffectiveStrictModeSourceFile:()=>cc,isElementAccessChain:()=>a4,isElementAccessExpression:()=>xC,isEmittedFileOfProgram:()=>isEmittedFileOfProgram,isEmptyArrayLiteral:()=>mL,isEmptyBindingElement:()=>o2,isEmptyBindingPattern:()=>o1,isEmptyObjectLiteral:()=>mF,isEmptyStatement:()=>x8,isEmptyStringLiteral:()=>function e(t){if(t.textSourceNode){switch(t.textSourceNode.kind){case 10:return e(t.textSourceNode);case 14:return""===t.text}return!1}return""===t.text},isEndOfDeclarationMarker:()=>D$,isEntityName:()=>sO,isEntityNameExpression:()=>mN,isEnumConst:()=>c$,isEnumDeclaration:()=>Dv,isEnumMember:()=>D9,isEqualityOperatorKind:()=>isEqualityOperatorKind,isEqualsGreaterThanToken:()=>vM,isExclamationToken:()=>vw,isExcludedFile:()=>isExcludedFile,isExclusivelyTypeOnlyImportOrExport:()=>isExclusivelyTypeOnlyImportOrExport,isExportAssignment:()=>DP,isExportDeclaration:()=>DF,isExportModifier:()=>vj,isExportName:()=>S8,isExportNamespaceAsDefaultDeclaration:()=>lG,isExportOrDefaultModifier:()=>TL,isExportSpecifier:()=>Dz,isExportsIdentifier:()=>p_,isExportsOrModuleExportsOrAlias:()=>isExportsOrModuleExportsOrAlias,isExpression:()=>ud,isExpressionNode:()=>_$,isExpressionOfExternalModuleImportEqualsDeclaration:()=>isExpressionOfExternalModuleImportEqualsDeclaration,isExpressionOfOptionalChainRoot:()=>a7,isExpressionStatement:()=>x7,isExpressionWithTypeArguments:()=>xQ,isExpressionWithTypeArgumentsInClassExtendsClause:()=>mC,isExternalModule:()=>Ex,isExternalModuleAugmentation:()=>ca,isExternalModuleImportEqualsDeclaration:()=>_q,isExternalModuleIndicator:()=>ub,isExternalModuleNameRelative:()=>oI,isExternalModuleReference:()=>DK,isExternalModuleSymbol:()=>isExternalModuleSymbol,isExternalOrCommonJsModule:()=>cU,isFileLevelUniqueName:()=>lj,isFileProbablyExternalModule:()=>T6,isFirstDeclarationOfSymbolParameter:()=>isFirstDeclarationOfSymbolParameter,isFixablePromiseHandler:()=>isFixablePromiseHandler,isForInOrOfStatement:()=>uv,isForInStatement:()=>Dr,isForInitializer:()=>uS,isForOfStatement:()=>Di,isForStatement:()=>Dn,isFunctionBlock:()=>_u,isFunctionBody:()=>uD,isFunctionDeclaration:()=>Dh,isFunctionExpression:()=>xO,isFunctionExpressionOrArrowFunction:()=>gF,isFunctionLike:()=>sL,isFunctionLikeDeclaration:()=>sR,isFunctionLikeKind:()=>sJ,isFunctionLikeOrClassStaticBlockDeclaration:()=>sz,isFunctionOrConstructorTypeNode:()=>s1,isFunctionOrModuleBlock:()=>s$,isFunctionSymbol:()=>pN,isFunctionTypeNode:()=>xe,isFutureReservedKeyword:()=>dA,isGeneratedIdentifier:()=>sw,isGeneratedPrivateIdentifier:()=>sA,isGetAccessor:()=>uQ,isGetAccessorDeclaration:()=>v3,isGetOrSetAccessorDeclaration:()=>a2,isGlobalDeclaration:()=>isGlobalDeclaration,isGlobalScopeAugmentation:()=>co,isGrammarError:()=>lF,isHeritageClause:()=>D4,isHoistedFunction:()=>cX,isHoistedVariableStatement:()=>c1,isIdentifier:()=>vk,isIdentifierANonContextualKeyword:()=>dM,isIdentifierName:()=>d_,isIdentifierOrThisTypeNode:()=>TN,isIdentifierPart:()=>ol,isIdentifierStart:()=>ou,isIdentifierText:()=>oc,isIdentifierTypePredicate:()=>__,isIdentifierTypeReference:()=>gy,isIfStatement:()=>x9,isIgnoredFileFromWildCardWatching:()=>isIgnoredFileFromWildCardWatching,isImplicitGlob:()=>yF,isImportCall:()=>cW,isImportClause:()=>DA,isImportDeclaration:()=>Dw,isImportEqualsDeclaration:()=>DE,isImportKeyword:()=>vK,isImportMeta:()=>cQ,isImportOrExportSpecifier:()=>sv,isImportOrExportSpecifierName:()=>isImportOrExportSpecifierName,isImportSpecifier:()=>DO,isImportTypeAssertionContainer:()=>DC,isImportTypeNode:()=>xb,isImportableFile:()=>isImportableFile,isInComment:()=>isInComment,isInExpressionContext:()=>_K,isInJSDoc:()=>_2,isInJSFile:()=>_X,isInJSXText:()=>isInJSXText,isInJsonFile:()=>_0,isInNonReferenceComment:()=>isInNonReferenceComment,isInReferenceComment:()=>isInReferenceComment,isInRightSideOfInternalImportEqualsDeclaration:()=>isInRightSideOfInternalImportEqualsDeclaration,isInString:()=>isInString,isInTemplateString:()=>isInTemplateString,isInTopLevelContext:()=>_E,isIncrementalCompilation:()=>yy,isIndexSignatureDeclaration:()=>v8,isIndexedAccessTypeNode:()=>xh,isInferTypeNode:()=>xp,isInfinityOrNaNString:()=>gj,isInitializedProperty:()=>isInitializedProperty,isInitializedVariable:()=>hi,isInsideJsxElement:()=>isInsideJsxElement,isInsideJsxElementOrAttribute:()=>isInsideJsxElementOrAttribute,isInsideNodeModules:()=>isInsideNodeModules,isInsideTemplateLiteral:()=>isInsideTemplateLiteral,isInstantiatedModule:()=>isInstantiatedModule,isInterfaceDeclaration:()=>Dg,isInternalDeclaration:()=>isInternalDeclaration,isInternalModuleImportEqualsDeclaration:()=>_H,isInternalName:()=>S6,isIntersectionTypeNode:()=>xc,isIntrinsicJsxName:()=>fl,isIterationStatement:()=>function e(t,n){switch(t.kind){case 245:case 246:case 247:case 243:case 244:return!0;case 253:return n&&e(t.statement,n)}return!1},isJSDoc:()=>Sg,isJSDocAllType:()=>Sc,isJSDocAugmentsTag:()=>Sx,isJSDocAuthorTag:()=>SD,isJSDocCallbackTag:()=>ST,isJSDocClassTag:()=>SS,isJSDocCommentContainingNode:()=>uY,isJSDocConstructSignature:()=>pz,isJSDocDeprecatedTag:()=>Sk,isJSDocEnumTag:()=>Sj,isJSDocFunctionType:()=>Sm,isJSDocImplementsTag:()=>SJ,isJSDocIndexSignature:()=>_3,isJSDocLikeText:()=>T4,isJSDocLink:()=>Ss,isJSDocLinkCode:()=>Su,isJSDocLinkLike:()=>u4,isJSDocLinkPlain:()=>Sl,isJSDocMemberName:()=>Sa,isJSDocNameReference:()=>So,isJSDocNamepathType:()=>Sy,isJSDocNamespaceBody:()=>uw,isJSDocNode:()=>uV,isJSDocNonNullableType:()=>Sd,isJSDocNullableType:()=>Sp,isJSDocOptionalParameter:()=>gW,isJSDocOptionalType:()=>Sf,isJSDocOverloadTag:()=>SM,isJSDocOverrideTag:()=>SN,isJSDocParameterTag:()=>SO,isJSDocPrivateTag:()=>Sw,isJSDocPropertyLikeTag:()=>su,isJSDocPropertyTag:()=>SU,isJSDocProtectedTag:()=>SA,isJSDocPublicTag:()=>SE,isJSDocReadonlyTag:()=>SC,isJSDocReturnTag:()=>SP,isJSDocSatisfiesExpression:()=>gG,isJSDocSatisfiesTag:()=>S$,isJSDocSeeTag:()=>SI,isJSDocSignature:()=>Sv,isJSDocTag:()=>uq,isJSDocTemplateTag:()=>Sz,isJSDocThisTag:()=>SF,isJSDocThrowsTag:()=>SK,isJSDocTypeAlias:()=>pR,isJSDocTypeAssertion:()=>Tr,isJSDocTypeExpression:()=>Si,isJSDocTypeLiteral:()=>Sb,isJSDocTypeTag:()=>SL,isJSDocTypedefTag:()=>SR,isJSDocUnknownTag:()=>SB,isJSDocUnknownType:()=>S_,isJSDocVariadicType:()=>Sh,isJSXTagName:()=>_J,isJsonEqual:()=>gc,isJsonSourceFile:()=>cJ,isJsxAttribute:()=>DZ,isJsxAttributeLike:()=>uU,isJsxAttributes:()=>DX,isJsxChild:()=>uB,isJsxClosingElement:()=>DW,isJsxClosingFragment:()=>DG,isJsxElement:()=>DV,isJsxExpression:()=>D1,isJsxFragment:()=>DQ,isJsxOpeningElement:()=>Dq,isJsxOpeningFragment:()=>DH,isJsxOpeningLikeElement:()=>u$,isJsxOpeningLikeElementTagName:()=>isJsxOpeningLikeElementTagName,isJsxSelfClosingElement:()=>DY,isJsxSpreadAttribute:()=>D0,isJsxTagNameExpression:()=>uR,isJsxText:()=>vm,isJumpStatementTarget:()=>isJumpStatementTarget,isKeyword:()=>dT,isKnownSymbol:()=>dK,isLabelName:()=>isLabelName,isLabelOfLabeledStatement:()=>isLabelOfLabeledStatement,isLabeledStatement:()=>Dc,isLateVisibilityPaintedStatement:()=>cy,isLeftHandSideExpression:()=>us,isLeftHandSideOfAssignment:()=>mw,isLet:()=>cY,isLineBreak:()=>iX,isLiteralComputedPropertyDeclarationName:()=>dc,isLiteralExpression:()=>sm,isLiteralExpressionOfObject:()=>sh,isLiteralImportTypeNode:()=>cH,isLiteralKind:()=>sf,isLiteralLikeAccess:()=>ph,isLiteralLikeElementAccess:()=>py,isLiteralNameOfPropertyDeclarationOrIndexAccess:()=>isLiteralNameOfPropertyDeclarationOrIndexAccess,isLiteralTypeLikeExpression:()=>Tj,isLiteralTypeLiteral:()=>up,isLiteralTypeNode:()=>xg,isLocalName:()=>S5,isLogicalOperator:()=>my,isLogicalOrCoalescingAssignmentExpression:()=>mb,isLogicalOrCoalescingAssignmentOperator:()=>mg,isLogicalOrCoalescingBinaryExpression:()=>mx,isLogicalOrCoalescingBinaryOperator:()=>mv,isMappedTypeNode:()=>xy,isMemberName:()=>a1,isMergeDeclarationMarker:()=>DJ,isMetaProperty:()=>xX,isMethodDeclaration:()=>v0,isMethodOrAccessor:()=>sW,isMethodSignature:()=>vX,isMinusToken:()=>vT,isMissingDeclaration:()=>DR,isModifier:()=>sj,isModifierKind:()=>sM,isModifierLike:()=>sH,isModuleAugmentationExternal:()=>cs,isModuleBlock:()=>DD,isModuleBody:()=>uT,isModuleDeclaration:()=>Dx,isModuleExportsAccessExpression:()=>pd,isModuleIdentifier:()=>pp,isModuleName:()=>TI,isModuleOrEnumDeclaration:()=>uC,isModuleReference:()=>uz,isModuleSpecifierLike:()=>isModuleSpecifierLike,isModuleWithStringLiteralName:()=>ce,isNameOfFunctionDeclaration:()=>isNameOfFunctionDeclaration,isNameOfModuleDeclaration:()=>isNameOfModuleDeclaration,isNamedClassElement:()=>sQ,isNamedDeclaration:()=>a_,isNamedEvaluation:()=>dH,isNamedEvaluationSource:()=>dQ,isNamedExportBindings:()=>so,isNamedExports:()=>DL,isNamedImportBindings:()=>uA,isNamedImports:()=>Dj,isNamedImportsOrExports:()=>hM,isNamedTupleMember:()=>xa,isNamespaceBody:()=>uE,isNamespaceExport:()=>DI,isNamespaceExportDeclaration:()=>DT,isNamespaceImport:()=>Dk,isNamespaceReexportDeclaration:()=>_Y,isNewExpression:()=>xM,isNewExpressionTarget:()=>isNewExpressionTarget,isNightly:()=>fp,isNoSubstitutionTemplateLiteral:()=>vy,isNode:()=>sl,isNodeArray:()=>sd,isNodeArrayMultiLine:()=>m8,isNodeDescendantOf:()=>ds,isNodeKind:()=>sc,isNodeLikeSystem:()=>t5,isNodeModulesDirectory:()=>iA,isNodeWithPossibleHoistedDeclaration:()=>p8,isNonContextualKeyword:()=>dw,isNonExportDefaultModifier:()=>Tz,isNonGlobalAmbientModule:()=>ct,isNonGlobalDeclaration:()=>isNonGlobalDeclaration,isNonNullAccess:()=>gH,isNonNullChain:()=>sr,isNonNullExpression:()=>xZ,isNonStaticMethodOrAccessorWithPrivateName:()=>isNonStaticMethodOrAccessorWithPrivateName,isNotEmittedOrPartiallyEmittedNode:()=>um,isNotEmittedStatement:()=>DB,isNullishCoalesce:()=>se,isNumber:()=>e7,isNumericLiteral:()=>vp,isNumericLiteralName:()=>gz,isObjectBindingElementWithoutPropertyName:()=>isObjectBindingElementWithoutPropertyName,isObjectBindingOrAssignmentElement:()=>s9,isObjectBindingOrAssignmentPattern:()=>s7,isObjectBindingPattern:()=>xD,isObjectLiteralElement:()=>u0,isObjectLiteralElementLike:()=>sX,isObjectLiteralExpression:()=>xw,isObjectLiteralMethod:()=>_l,isObjectLiteralOrClassExpressionMethodOrAccessor:()=>_c,isObjectTypeDeclaration:()=>hE,isOctalDigit:()=>i2,isOmittedExpression:()=>xW,isOptionalChain:()=>a5,isOptionalChainRoot:()=>a8,isOptionalDeclaration:()=>gQ,isOptionalJSDocPropertyLikeTag:()=>gV,isOptionalTypeNode:()=>xs,isOuterExpression:()=>To,isOutermostOptionalChain:()=>a9,isOverrideModifier:()=>vU,isPackedArrayLiteral:()=>gC,isParameter:()=>vQ,isParameterDeclaration:()=>dZ,isParameterOrCatchClauseVariable:()=>gP,isParameterPropertyDeclaration:()=>o0,isParameterPropertyModifier:()=>sk,isParenthesizedExpression:()=>xj,isParenthesizedTypeNode:()=>xd,isParseTreeNode:()=>at,isPartOfTypeNode:()=>c4,isPartOfTypeQuery:()=>_V,isPartiallyEmittedExpression:()=>x1,isPatternMatch:()=>tq,isPinnedComment:()=>lY,isPlainJsFile:()=>lC,isPlusToken:()=>vS,isPossiblyTypeArgumentPosition:()=>isPossiblyTypeArgumentPosition,isPostfixUnaryExpression:()=>xU,isPrefixUnaryExpression:()=>xB,isPrivateIdentifier:()=>vI,isPrivateIdentifierClassElementDeclaration:()=>sC,isPrivateIdentifierPropertyAccessExpression:()=>sN,isPrivateIdentifierSymbol:()=>dV,isProgramBundleEmitBuildInfo:()=>isProgramBundleEmitBuildInfo,isProgramUptoDate:()=>isProgramUptoDate,isPrologueDirective:()=>cG,isPropertyAccessChain:()=>a3,isPropertyAccessEntityNameExpression:()=>mk,isPropertyAccessExpression:()=>xA,isPropertyAccessOrQualifiedName:()=>ur,isPropertyAccessOrQualifiedNameOrImportTypeNode:()=>un,isPropertyAssignment:()=>D5,isPropertyDeclaration:()=>vZ,isPropertyName:()=>sP,isPropertyNameLiteral:()=>dR,isPropertySignature:()=>vG,isProtoSetter:()=>dq,isPrototypeAccess:()=>mI,isPrototypePropertyAssignment:()=>pw,isPunctuation:()=>isPunctuation,isPushOrUnshiftIdentifier:()=>dG,isQualifiedName:()=>vY,isQuestionDotToken:()=>vN,isQuestionOrExclamationToken:()=>TC,isQuestionOrPlusOrMinusToken:()=>Tk,isQuestionToken:()=>vA,isRawSourceMap:()=>isRawSourceMap,isReadonlyKeyword:()=>vz,isReadonlyKeywordOrPlusOrMinusToken:()=>TM,isRecognizedTripleSlashComment:()=>lV,isReferenceFileLocation:()=>isReferenceFileLocation,isReferencedFile:()=>isReferencedFile,isRegularExpressionLiteral:()=>vh,isRequireCall:()=>_4,isRequireVariableStatement:()=>_9,isRestParameter:()=>u5,isRestTypeNode:()=>xu,isReturnStatement:()=>Ds,isReturnStatementWithFixablePromiseHandler:()=>isReturnStatementWithFixablePromiseHandler,isRightSideOfAccessExpression:()=>mO,isRightSideOfPropertyAccess:()=>isRightSideOfPropertyAccess,isRightSideOfQualifiedName:()=>isRightSideOfQualifiedName,isRightSideOfQualifiedNameOrPropertyAccess:()=>mj,isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName:()=>mP,isRootedDiskPath:()=>rY,isSameEntityName:()=>pl,isSatisfiesExpression:()=>xG,isScopeMarker:()=>uh,isSemicolonClassElement:()=>x4,isSetAccessor:()=>uW,isSetAccessorDeclaration:()=>v4,isShebangTrivia:()=>i8,isShorthandAmbientModuleSymbol:()=>cr,isShorthandPropertyAssignment:()=>D8,isSignedNumericLiteral:()=>dP,isSimpleCopiableExpression:()=>isSimpleCopiableExpression,isSimpleInlineableExpression:()=>isSimpleInlineableExpression,isSingleOrDoubleQuote:()=>pe,isSourceFile:()=>St,isSourceFileFromLibrary:()=>isSourceFileFromLibrary,isSourceFileJS:()=>_G,isSourceFileNotJS:()=>_Z,isSourceFileNotJson:()=>_1,isSourceMapping:()=>isSourceMapping,isSpecialPropertyDeclaration:()=>pA,isSpreadAssignment:()=>D7,isSpreadElement:()=>xY,isStatement:()=>uF,isStatementButNotDeclaration:()=>uP,isStatementOrBlock:()=>uL,isStatementWithLocals:()=>lN,isStatic:()=>f8,isStaticModifier:()=>vR,isString:()=>e8,isStringAKeyword:()=>dN,isStringANonContextualKeyword:()=>dC,isStringAndEmptyAnonymousObjectIntersection:()=>isStringAndEmptyAnonymousObjectIntersection,isStringDoubleQuoted:()=>pt,isStringLiteral:()=>vf,isStringLiteralLike:()=>u3,isStringLiteralOrJsxExpression:()=>uJ,isStringLiteralOrTemplate:()=>isStringLiteralOrTemplate,isStringOrNumericLiteralLike:()=>dO,isStringOrRegularExpressionOrTemplateLiteral:()=>isStringOrRegularExpressionOrTemplateLiteral,isStringTextContainingNode:()=>sE,isSuperCall:()=>cq,isSuperKeyword:()=>v$,isSuperOrSuperProperty:()=>_N,isSuperProperty:()=>_M,isSupportedSourceFileName:()=>yG,isSwitchStatement:()=>Dl,isSyntaxList:()=>SV,isSyntheticExpression:()=>x0,isSyntheticReference:()=>DU,isTagName:()=>isTagName,isTaggedTemplateExpression:()=>xk,isTaggedTemplateTag:()=>isTaggedTemplateTag,isTemplateExpression:()=>xK,isTemplateHead:()=>vg,isTemplateLiteral:()=>ua,isTemplateLiteralKind:()=>sy,isTemplateLiteralToken:()=>sg,isTemplateLiteralTypeNode:()=>xx,isTemplateLiteralTypeSpan:()=>xv,isTemplateMiddle:()=>vb,isTemplateMiddleOrTemplateTail:()=>sb,isTemplateSpan:()=>x3,isTemplateTail:()=>vv,isTextWhiteSpaceLike:()=>isTextWhiteSpaceLike,isThis:()=>isThis,isThisContainerOrFunctionBlock:()=>_T,isThisIdentifier:()=>fU,isThisInTypeQuery:()=>fJ,isThisInitializedDeclaration:()=>_I,isThisInitializedObjectBindingExpression:()=>_j,isThisProperty:()=>_k,isThisTypeNode:()=>xf,isThisTypeParameter:()=>gB,isThisTypePredicate:()=>_p,isThrowStatement:()=>D_,isToken:()=>sp,isTokenKind:()=>s_,isTraceEnabled:()=>isTraceEnabled,isTransientSymbol:()=>li,isTrivia:()=>dk,isTryStatement:()=>Dp,isTupleTypeNode:()=>xo,isTypeAlias:()=>pB,isTypeAliasDeclaration:()=>Db,isTypeAssertionExpression:()=>xI,isTypeDeclaration:()=>g$,isTypeElement:()=>sG,isTypeKeyword:()=>isTypeKeyword,isTypeKeywordToken:()=>isTypeKeywordToken,isTypeKeywordTokenOrIdentifier:()=>isTypeKeywordTokenOrIdentifier,isTypeLiteralNode:()=>xr,isTypeNode:()=>s0,isTypeNodeKind:()=>hw,isTypeOfExpression:()=>xL,isTypeOnlyExportDeclaration:()=>sD,isTypeOnlyImportDeclaration:()=>sx,isTypeOnlyImportOrExportDeclaration:()=>sS,isTypeOperatorNode:()=>xm,isTypeParameterDeclaration:()=>vW,isTypePredicateNode:()=>v7,isTypeQueryNode:()=>xn,isTypeReferenceNode:()=>v9,isTypeReferenceType:()=>u1,isUMDExportSymbol:()=>hx,isUnaryExpression:()=>ul,isUnaryExpressionWithWrite:()=>u_,isUnicodeIdentifierStart:()=>iB,isUnionTypeNode:()=>xl,isUnparsedNode:()=>ss,isUnparsedPrepend:()=>Se,isUnparsedSource:()=>Sr,isUnparsedTextLike:()=>sa,isUrl:()=>rV,isValidBigIntString:()=>gm,isValidESSymbolDeclaration:()=>_o,isValidTypeOnlyAliasUseSite:()=>gh,isValueSignatureDeclaration:()=>p7,isVarConst:()=>cV,isVariableDeclaration:()=>Df,isVariableDeclarationInVariableStatement:()=>_n,isVariableDeclarationInitializedToBareOrAccessedRequire:()=>_5,isVariableDeclarationInitializedToRequire:()=>_6,isVariableDeclarationList:()=>Dm,isVariableLike:()=>_e,isVariableLikeOrAccessor:()=>_t,isVariableStatement:()=>x5,isVoidExpression:()=>xz,isWatchSet:()=>ho,isWhileStatement:()=>Dt,isWhiteSpaceLike:()=>iG,isWhiteSpaceSingleLine:()=>iZ,isWithStatement:()=>Du,isWriteAccess:()=>hp,isWriteOnlyAccess:()=>h_,isYieldExpression:()=>xV,jsxModeNeedsExplicitImport:()=>jsxModeNeedsExplicitImport,keywordPart:()=>keywordPart,last:()=>eA,lastOrUndefined:()=>ew,length:()=>d,libMap:()=>libMap,libs:()=>libs,lineBreakPart:()=>lineBreakPart,linkNamePart:()=>linkNamePart,linkPart:()=>linkPart,linkTextPart:()=>linkTextPart,listFiles:()=>listFiles,loadModuleFromGlobalCache:()=>loadModuleFromGlobalCache,loadWithModeAwareCache:()=>loadWithModeAwareCache,makeIdentifierFromModuleName:()=>l5,makeImport:()=>makeImport,makeImportIfNecessary:()=>makeImportIfNecessary,makeStringLiteral:()=>makeStringLiteral,mangleScopedPackageName:()=>mangleScopedPackageName,map:()=>O,mapAllOrFail:()=>J,mapDefined:()=>$,mapDefinedEntries:()=>V,mapDefinedIterator:()=>K,mapEntries:()=>H,mapIterator:()=>P,mapOneOrMany:()=>mapOneOrMany,mapToDisplayParts:()=>mapToDisplayParts,matchFiles:()=>yJ,matchPatternOrExact:()=>gr,matchedText:()=>tJ,matchesExclude:()=>matchesExclude,maybeBind:()=>eZ,maybeSetLocalizedDiagnosticMessages:()=>hV,memoize:()=>tl,memoizeCached:()=>tp,memoizeOne:()=>tc,memoizeWeak:()=>t_,metadataHelper:()=>metadataHelper,min:()=>tv,minAndMax:()=>ga,missingFileModifiedTime:()=>missingFileModifiedTime,modifierToFlag:()=>mm,modifiersToFlags:()=>mf,moduleOptionDeclaration:()=>moduleOptionDeclaration,moduleResolutionIsEqualTo:()=>lv,moduleResolutionNameAndModeGetter:()=>moduleResolutionNameAndModeGetter,moduleResolutionOptionDeclarations:()=>moduleResolutionOptionDeclarations,moduleResolutionSupportsPackageJsonExportsAndImports:()=>y_,moduleResolutionUsesNodeModules:()=>moduleResolutionUsesNodeModules,moduleSpecifiers:()=>ts_moduleSpecifiers_exports,moveEmitHelpers:()=>moveEmitHelpers,moveRangeEnd:()=>mW,moveRangePastDecorators:()=>mH,moveRangePastModifiers:()=>mG,moveRangePos:()=>mQ,moveSyntheticComments:()=>moveSyntheticComments,mutateMap:()=>hh,mutateMapSkippingNewValues:()=>hm,needsParentheses:()=>needsParentheses,needsScopeMarker:()=>ug,newCaseClauseTracker:()=>newCaseClauseTracker,newPrivateEnvironment:()=>newPrivateEnvironment,noEmitNotification:()=>noEmitNotification,noEmitSubstitution:()=>noEmitSubstitution,noTransformers:()=>noTransformers,noTruncationMaximumTruncationLength:()=>g3,nodeCanBeDecorated:()=>_F,nodeHasName:()=>function e(t,n){return!!(a_(t)&&vk(t.name)&&ao(t.name)===ao(n)||x5(t)&&G(t.declarationList.declarations,t=>e(t,n)))},nodeIsDecorated:()=>_L,nodeIsMissing:()=>lO,nodeIsPresent:()=>lP,nodeIsSynthesized:()=>d1,nodeModuleNameResolver:()=>nodeModuleNameResolver,nodeModulesPathPart:()=>nodeModulesPathPart,nodeNextJsonConfigResolver:()=>nodeNextJsonConfigResolver,nodeOrChildIsDecorated:()=>_z,nodeOverlapsWithStartEnd:()=>nodeOverlapsWithStartEnd,nodePosToString:()=>lk,nodeSeenTracker:()=>nodeSeenTracker,nodeStartsNewLexicalEnvironment:()=>d0,nodeToDisplayParts:()=>nodeToDisplayParts,noop:()=>tt,noopFileWatcher:()=>noopFileWatcher,noopPush:()=>nr,normalizePath:()=>is,normalizeSlashes:()=>ie,not:()=>tH,notImplemented:()=>tu,notImplementedResolver:()=>notImplementedResolver,nullNodeConverters:()=>nullNodeConverters,nullParenthesizerRules:()=>b$,nullTransformationContext:()=>nullTransformationContext,objectAllocator:()=>by,operatorPart:()=>operatorPart,optionDeclarations:()=>optionDeclarations,optionMapToObject:()=>optionMapToObject,optionsAffectingProgramStructure:()=>optionsAffectingProgramStructure,optionsForBuild:()=>optionsForBuild,optionsForWatch:()=>optionsForWatch,optionsHaveChanges:()=>lu,optionsHaveModuleResolutionChanges:()=>la,or:()=>tQ,orderedRemoveItem:()=>tF,orderedRemoveItemAt:()=>tL,outFile:()=>fw,packageIdToPackageName:()=>lx,packageIdToString:()=>lD,padLeft:()=>t1,padRight:()=>t2,paramHelper:()=>paramHelper,parameterIsThisKeyword:()=>fB,parameterNamePart:()=>parameterNamePart,parseBaseNodeFactory:()=>EP,parseBigInt:()=>gd,parseBuildCommand:()=>parseBuildCommand,parseCommandLine:()=>parseCommandLine,parseCommandLineWorker:()=>parseCommandLineWorker,parseConfigFileTextToJson:()=>parseConfigFileTextToJson,parseConfigFileWithSystem:()=>parseConfigFileWithSystem,parseConfigHostFromCompilerHostLike:()=>parseConfigHostFromCompilerHostLike,parseCustomTypeOption:()=>parseCustomTypeOption,parseIsolatedEntityName:()=>Eb,parseIsolatedJSDocComment:()=>ES,parseJSDocTypeExpressionForTests:()=>ET,parseJsonConfigFileContent:()=>parseJsonConfigFileContent,parseJsonSourceFileConfigFileContent:()=>parseJsonSourceFileConfigFileContent,parseJsonText:()=>Ev,parseListTypeOption:()=>parseListTypeOption,parseNodeFactory:()=>EF,parseNodeModuleFromPath:()=>parseNodeModuleFromPath,parsePackageName:()=>parsePackageName,parsePseudoBigInt:()=>g_,parseValidBigInt:()=>gf,patchWriteFileEnsuringDirectory:()=>patchWriteFileEnsuringDirectory,pathContainsNodeModules:()=>pathContainsNodeModules,pathIsAbsolute:()=>rW,pathIsBareSpecifier:()=>rH,pathIsRelative:()=>rQ,patternText:()=>tU,perfLogger:()=>nx,performIncrementalCompilation:()=>performIncrementalCompilation,performance:()=>ts_performance_exports,plainJSErrors:()=>plainJSErrors,positionBelongsToNode:()=>positionBelongsToNode,positionIsASICandidate:()=>positionIsASICandidate,positionIsSynthesized:()=>y5,positionsAreOnSameLine:()=>m7,preProcessFile:()=>preProcessFile,probablyUsesSemicolons:()=>probablyUsesSemicolons,processCommentPragmas:()=>Ew,processPragmasIntoFields:()=>EA,processTaggedTemplateExpression:()=>processTaggedTemplateExpression,programContainsEsModules:()=>programContainsEsModules,programContainsModules:()=>programContainsModules,projectReferenceIsEqualTo:()=>lb,propKeyHelper:()=>propKeyHelper,propertyNamePart:()=>propertyNamePart,pseudoBigIntToString:()=>gp,punctuationPart:()=>punctuationPart,pushIfUnique:()=>em,quote:()=>quote,quotePreferenceFromString:()=>quotePreferenceFromString,rangeContainsPosition:()=>rangeContainsPosition,rangeContainsPositionExclusive:()=>rangeContainsPositionExclusive,rangeContainsRange:()=>rangeContainsRange,rangeContainsRangeExclusive:()=>rangeContainsRangeExclusive,rangeContainsStartEnd:()=>rangeContainsStartEnd,rangeEndIsOnSameLineAsRangeStart:()=>m4,rangeEndPositionsAreOnSameLine:()=>m2,rangeEquals:()=>ex,rangeIsOnSingleLine:()=>m0,rangeOfNode:()=>gs,rangeOfTypeParameters:()=>gu,rangeOverlapsWithStartEnd:()=>rangeOverlapsWithStartEnd,rangeStartIsOnSameLineAsRangeEnd:()=>m3,rangeStartPositionsAreOnSameLine:()=>m1,readBuilderProgram:()=>readBuilderProgram,readConfigFile:()=>readConfigFile,readHelper:()=>readHelper,readJson:()=>mK,readJsonConfigFile:()=>readJsonConfigFile,readJsonOrUndefined:()=>m$,realizeDiagnostics:()=>realizeDiagnostics,reduceEachLeadingCommentRange:()=>on,reduceEachTrailingCommentRange:()=>or,reduceLeft:()=>eO,reduceLeftIterator:()=>g,reducePathComponents:()=>it,refactor:()=>ts_refactor_exports,regExpEscape:()=>yI,relativeComplement:()=>ec,removeAllComments:()=>removeAllComments,removeEmitHelper:()=>removeEmitHelper,removeExtension:()=>y2,removeFileExtension:()=>y0,removeIgnoredPath:()=>removeIgnoredPath,removeMinAndVersionNumbers:()=>tP,removeOptionality:()=>removeOptionality,removePrefix:()=>tV,removeSuffix:()=>tI,removeTrailingDirectorySeparator:()=>ic,repeatString:()=>repeatString,replaceElement:()=>ek,resolutionExtensionIsTSOrJson:()=>y7,resolveConfigFileProjectName:()=>resolveConfigFileProjectName,resolveJSModule:()=>resolveJSModule,resolveModuleName:()=>resolveModuleName,resolveModuleNameFromCache:()=>resolveModuleNameFromCache,resolvePackageNameToPackageJson:()=>resolvePackageNameToPackageJson,resolvePath:()=>ii,resolveProjectReferencePath:()=>resolveProjectReferencePath,resolveTripleslashReference:()=>resolveTripleslashReference,resolveTypeReferenceDirective:()=>resolveTypeReferenceDirective,resolvingEmptyArray:()=>g0,restHelper:()=>restHelper,returnFalse:()=>tn,returnNoopFileWatcher:()=>returnNoopFileWatcher,returnTrue:()=>tr,returnUndefined:()=>ti,returnsPromise:()=>returnsPromise,runInitializersHelper:()=>runInitializersHelper,sameFlatMap:()=>U,sameMap:()=>F,sameMapping:()=>sameMapping,scanShebangTrivia:()=>i7,scanTokenAtPosition:()=>cR,scanner:()=>E$,screenStartingMessageCodes:()=>screenStartingMessageCodes,semanticDiagnosticsOptionDeclarations:()=>semanticDiagnosticsOptionDeclarations,serializeCompilerOptions:()=>serializeCompilerOptions,server:()=>ts_server_exports,servicesVersion:()=>w7,setCommentRange:()=>setCommentRange,setConfigFileInOptions:()=>setConfigFileInOptions,setConstantValue:()=>setConstantValue,setEachParent:()=>gE,setEmitFlags:()=>setEmitFlags,setFunctionNameHelper:()=>setFunctionNameHelper,setGetSourceFileAsHashVersioned:()=>setGetSourceFileAsHashVersioned,setIdentifierAutoGenerate:()=>setIdentifierAutoGenerate,setIdentifierGeneratedImportReference:()=>setIdentifierGeneratedImportReference,setIdentifierTypeArguments:()=>setIdentifierTypeArguments,setInternalEmitFlags:()=>setInternalEmitFlags,setLocalizedDiagnosticMessages:()=>hK,setModuleDefaultHelper:()=>setModuleDefaultHelper,setNodeFlags:()=>gS,setObjectAllocator:()=>hJ,setOriginalNode:()=>ve,setParent:()=>gT,setParentRecursive:()=>gw,setPrivateIdentifier:()=>setPrivateIdentifier,setResolvedModule:()=>lh,setResolvedTypeReferenceDirective:()=>ly,setSnippetElement:()=>setSnippetElement,setSourceMapRange:()=>setSourceMapRange,setStackTraceLimit:()=>setStackTraceLimit,setStartsOnNewLine:()=>setStartsOnNewLine,setSyntheticLeadingComments:()=>setSyntheticLeadingComments,setSyntheticTrailingComments:()=>setSyntheticTrailingComments,setSys:()=>setSys,setSysLog:()=>setSysLog,setTextRange:()=>TZ,setTextRangeEnd:()=>gv,setTextRangePos:()=>gb,setTextRangePosEnd:()=>gx,setTextRangePosWidth:()=>gD,setTokenSourceMapRange:()=>setTokenSourceMapRange,setTypeNode:()=>setTypeNode,setUILocale:()=>tw,setValueDeclaration:()=>pC,shouldAllowImportingTsExtension:()=>shouldAllowImportingTsExtension,shouldPreserveConstEnums:()=>yh,shouldUseUriStyleNodeCoreModules:()=>shouldUseUriStyleNodeCoreModules,showModuleSpecifier:()=>hD,signatureHasLiteralTypes:()=>signatureHasLiteralTypes,signatureHasRestParameter:()=>signatureHasRestParameter,signatureToDisplayParts:()=>signatureToDisplayParts,single:()=>eN,singleElementArray:()=>tZ,singleIterator:()=>W,singleOrMany:()=>eM,singleOrUndefined:()=>eC,skipAlias:()=>hl,skipAssertions:()=>Tu,skipConstraint:()=>skipConstraint,skipOuterExpressions:()=>Ta,skipParentheses:()=>di,skipPartiallyEmittedExpressions:()=>sn,skipTrivia:()=>i4,skipTypeChecking:()=>gl,skipTypeParentheses:()=>dr,skipWhile:()=>t4,sliceAfter:()=>gi,some:()=>G,sort:()=>eg,sortAndDeduplicate:()=>eo,sortAndDeduplicateDiagnostics:()=>oj,sourceFileAffectingCompilerOptions:()=>sourceFileAffectingCompilerOptions,sourceFileMayBeEmitted:()=>fN,sourceMapCommentRegExp:()=>sourceMapCommentRegExp,sourceMapCommentRegExpDontCareLineStart:()=>sourceMapCommentRegExpDontCareLineStart,spacePart:()=>spacePart,spanMap:()=>Q,spreadArrayHelper:()=>spreadArrayHelper,stableSort:()=>ev,startEndContainsRange:()=>startEndContainsRange,startEndOverlapsWithStartEnd:()=>startEndOverlapsWithStartEnd,startOnNewLine:()=>Tl,startTracing:()=>startTracing,startsWith:()=>tK,startsWithDirectory:()=>iv,startsWithUnderscore:()=>startsWithUnderscore,startsWithUseStrict:()=>Te,stringContains:()=>tO,stringContainsAt:()=>stringContainsAt,stringToToken:()=>iJ,stripQuotes:()=>fu,supportedDeclarationExtensions:()=>bF,supportedJSExtensions:()=>bI,supportedJSExtensionsFlat:()=>bj,supportedLocaleDirectories:()=>u7,supportedTSExtensions:()=>bC,supportedTSExtensionsFlat:()=>bN,supportedTSImplementationExtensions:()=>bL,suppressLeadingAndTrailingTrivia:()=>suppressLeadingAndTrailingTrivia,suppressLeadingTrivia:()=>suppressLeadingTrivia,suppressTrailingTrivia:()=>suppressTrailingTrivia,symbolEscapedNameNoDefault:()=>symbolEscapedNameNoDefault,symbolName:()=>as,symbolNameNoDefault:()=>symbolNameNoDefault,symbolPart:()=>symbolPart,symbolToDisplayParts:()=>symbolToDisplayParts,syntaxMayBeASICandidate:()=>syntaxMayBeASICandidate,syntaxRequiresTrailingSemicolonOrASI:()=>syntaxRequiresTrailingSemicolonOrASI,sys:()=>rU,sysLog:()=>sysLog,tagNamesAreEquivalent:()=>EN,takeWhile:()=>t3,targetOptionDeclaration:()=>targetOptionDeclaration,templateObjectHelper:()=>templateObjectHelper,testFormatSettings:()=>testFormatSettings,textChangeRangeIsUnchanged:()=>oH,textChangeRangeNewSpan:()=>oQ,textChanges:()=>ts_textChanges_exports,textOrKeywordPart:()=>textOrKeywordPart,textPart:()=>textPart,textRangeContainsPositionInclusive:()=>oz,textSpanContainsPosition:()=>oL,textSpanContainsTextSpan:()=>oR,textSpanEnd:()=>oP,textSpanIntersection:()=>oY,textSpanIntersectsWith:()=>o$,textSpanIntersectsWithPosition:()=>oV,textSpanIntersectsWithTextSpan:()=>oJ,textSpanIsEmpty:()=>oF,textSpanOverlap:()=>oU,textSpanOverlapsWith:()=>oB,textSpansEqual:()=>textSpansEqual,textToKeywordObj:()=>om,timestamp:()=>nb,toArray:()=>e5,toBuilderFileEmit:()=>toBuilderFileEmit,toBuilderStateFileInfoForMultiEmit:()=>toBuilderStateFileInfoForMultiEmit,toEditorSettings:()=>wQ,toFileNameLowerCase:()=>ts,toLowerCase:()=>ta,toPath:()=>il,toProgramEmitPending:()=>toProgramEmitPending,tokenIsIdentifierOrKeyword:()=>iL,tokenIsIdentifierOrKeywordOrGreaterThan:()=>iz,tokenToString:()=>iU,trace:()=>trace,tracing:()=>nN,tracingEnabled:()=>tracingEnabled,transform:()=>transform,transformClassFields:()=>transformClassFields,transformDeclarations:()=>transformDeclarations,transformECMAScriptModule:()=>transformECMAScriptModule,transformES2015:()=>transformES2015,transformES2016:()=>transformES2016,transformES2017:()=>transformES2017,transformES2018:()=>transformES2018,transformES2019:()=>transformES2019,transformES2020:()=>transformES2020,transformES2021:()=>transformES2021,transformES5:()=>transformES5,transformESDecorators:()=>transformESDecorators,transformESNext:()=>transformESNext,transformGenerators:()=>transformGenerators,transformJsx:()=>transformJsx,transformLegacyDecorators:()=>transformLegacyDecorators,transformModule:()=>transformModule,transformNodeModule:()=>transformNodeModule,transformNodes:()=>transformNodes,transformSystemModule:()=>transformSystemModule,transformTypeScript:()=>transformTypeScript,transpile:()=>transpile,transpileModule:()=>transpileModule,transpileOptionValueCompilerOptions:()=>transpileOptionValueCompilerOptions,trimString:()=>nl,trimStringEnd:()=>nc,trimStringStart:()=>n_,tryAddToSet:()=>q,tryAndIgnoreErrors:()=>tryAndIgnoreErrors,tryCast:()=>e9,tryDirectoryExists:()=>tryDirectoryExists,tryExtractTSExtension:()=>mR,tryFileExists:()=>tryFileExists,tryGetClassExtendingExpressionWithTypeArguments:()=>mS,tryGetClassImplementingOrExtendingExpressionWithTypeArguments:()=>mT,tryGetDirectories:()=>tryGetDirectories,tryGetExtensionFromPath:()=>gt,tryGetImportFromModuleSpecifier:()=>pI,tryGetJSDocSatisfiesTypeNode:()=>gX,tryGetModuleNameFromFile:()=>Th,tryGetModuleSpecifierFromDeclaration:()=>pM,tryGetNativePerformanceHooks:()=>ng,tryGetPropertyAccessOrIdentifierToString:()=>function e(t){if(xA(t)){let n=e(t.expression);if(void 0!==n)return n+"."+cA(t.name)}else if(xC(t)){let n=e(t.expression);if(void 0!==n&&sP(t.argumentExpression))return n+"."+dz(t.argumentExpression)}else if(vk(t))return ai(t.escapedText)},tryGetPropertyNameOfBindingOrAssignmentElement:()=>Tv,tryGetSourceMappingURL:()=>tryGetSourceMappingURL,tryGetTextOfPropertyName:()=>cE,tryIOAndConsumeErrors:()=>tryIOAndConsumeErrors,tryParsePattern:()=>y4,tryParsePatterns:()=>y6,tryParseRawSourceMap:()=>tryParseRawSourceMap,tryReadDirectory:()=>tryReadDirectory,tryReadFile:()=>tryReadFile,tryRemoveDirectoryPrefix:()=>yk,tryRemoveExtension:()=>y1,tryRemovePrefix:()=>tY,tryRemoveSuffix:()=>tj,typeAcquisitionDeclarations:()=>typeAcquisitionDeclarations,typeAliasNamePart:()=>typeAliasNamePart,typeDirectiveIsEqualTo:()=>lS,typeKeywords:()=>typeKeywords,typeParameterNamePart:()=>typeParameterNamePart,typeReferenceResolutionNameAndModeGetter:()=>typeReferenceResolutionNameAndModeGetter,typeToDisplayParts:()=>typeToDisplayParts,unchangedPollThresholds:()=>unchangedPollThresholds,unchangedTextChangeRange:()=>u8,unescapeLeadingUnderscores:()=>ai,unmangleScopedPackageName:()=>unmangleScopedPackageName,unorderedRemoveItem:()=>tR,unorderedRemoveItemAt:()=>tz,unreachableCodeIsError:()=>ya,unusedLabelIsError:()=>ys,unwrapInnermostStatementOfLabel:()=>_s,updateErrorForNoInputFiles:()=>updateErrorForNoInputFiles,updateLanguageServiceSourceFile:()=>w2,updateMissingFilePathsWatch:()=>updateMissingFilePathsWatch,updatePackageJsonWatch:()=>updatePackageJsonWatch,updateResolutionField:()=>updateResolutionField,updateSharedExtendedConfigFileWatcher:()=>updateSharedExtendedConfigFileWatcher,updateSourceFile:()=>ED,updateWatchingWildcardDirectories:()=>updateWatchingWildcardDirectories,usesExtensionsOnImports:()=>yQ,usingSingleLineStringWriter:()=>ld,utf16EncodeAsString:()=>of,validateLocaleAndSetLanguage:()=>o7,valuesHelper:()=>valuesHelper,version:()=>a,versionMajorMinor:()=>o,visitArray:()=>visitArray,visitCommaListElements:()=>visitCommaListElements,visitEachChild:()=>visitEachChild,visitFunctionBody:()=>visitFunctionBody,visitIterationBody:()=>visitIterationBody,visitLexicalEnvironment:()=>visitLexicalEnvironment,visitNode:()=>visitNode,visitNodes:()=>visitNodes2,visitParameterList:()=>visitParameterList,walkUpBindingElementsAndPatterns:()=>o3,walkUpLexicalEnvironments:()=>walkUpLexicalEnvironments,walkUpOuterExpressions:()=>Ts,walkUpParenthesizedExpressions:()=>dt,walkUpParenthesizedTypes:()=>de,walkUpParenthesizedTypesAndGetParentAndChild:()=>dn,whitespaceOrMapCommentRegExp:()=>whitespaceOrMapCommentRegExp,writeCommentRange:()=>f1,writeFile:()=>fI,writeFileEnsuringDirectories:()=>fj,zipToModeAwareCache:()=>zipToModeAwareCache,zipWith:()=>b});var AR=c({"src/typescript/_namespaces/ts.ts"(){wA(),wC(),AF(),AL()}}),AB=(r={"src/typescript/typescript.ts"(e,t){AR(),AR(),"u">typeof console&&(nd.loggingHost={log(e,t){switch(e){case 1:return console.error(t);case 2:return console.warn(t);case 3:case 4:return console.log(t)}}}),t.exports=Az}},function(){return i||(0,r[l(r)[0]])((i={exports:{}}).exports,i),i.exports});t.exports=AB()}}),X=u({"src/language-js/parse/postprocess/typescript.js"(e,t){p();var n=U(),r=Q(),i=H(),o={AbstractKeyword:126,SourceFile:308,PropertyDeclaration:169};function a(e,t){let n=function(e){for(;e&&e.kind!==o.SourceFile;)e=e.parent;return e}(e),[r,a]=[e.getStart(),e.end].map(e=>{let{line:t,character:r}=n.getLineAndCharacterOfPosition(e);return{line:t+1,column:r}});i({loc:{start:r,end:a}},t)}t.exports={throwErrorForInvalidNodes:function(e,t){if(!/@|abstract/.test(t.originalText))return;let{esTreeNodeToTSNodeMap:s,tsNodeToESTreeNodeMap:u}=e;r(e.ast,e=>{let t=s.get(e);if(!t)return;let r=u.get(t);r===e&&(function(e){let{modifiers:t}=e;if(!n(t))return;let r=Z(),{SyntaxKind:i}=r;for(let n of t)r.isDecorator(n)&&!function(e){let t=Z();return[!0,!1].some(n=>t.nodeCanBeDecorated(n,e,e.parent,e.parent.parent))}(e)&&(e.kind!==i.MethodDeclaration||r.nodeIsPresent(e.body)||a(n,"A decorator can only decorate a method implementation, not an overload."),a(n,"Decorators are not valid here."))}(t),t.kind!==o.PropertyDeclaration||t.modifiers&&!t.modifiers.some(e=>e.kind===o.AbstractKeyword)||t.initializer&&null===r.value&&i(r,"Abstract property cannot have an initializer"))})}}}}),ee=u({"scripts/build/shims/debug.cjs"(e,t){p(),t.exports=()=>()=>{}}}),et=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/internal/constants.js"(e,t){p();var n=Number.MAX_SAFE_INTEGER||9007199254740991;t.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:n,MAX_SAFE_COMPONENT_LENGTH:16}}}),en=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/internal/debug.js"(e,t){p();var r="object"==typeof n&&n.env&&n.env.NODE_DEBUG&&/\bsemver\b/i.test(n.env.NODE_DEBUG)?function(){for(var e=arguments.length,t=Array(e),n=0;n{};t.exports=r}}),er=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/internal/re.js"(e,t){p();var{MAX_SAFE_COMPONENT_LENGTH:n}=et(),r=en(),i=(e=t.exports={}).re=[],o=e.src=[],a=e.t={},s=0,u=(e,t,n)=>{let u=s++;r(e,u,t),a[e]=u,o[u]=t,i[u]=new RegExp(t,n?"g":void 0)};u("NUMERICIDENTIFIER","0|[1-9]\\d*"),u("NUMERICIDENTIFIERLOOSE","[0-9]+"),u("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),u("MAINVERSION",`(${o[a.NUMERICIDENTIFIER]})\\.(${o[a.NUMERICIDENTIFIER]})\\.(${o[a.NUMERICIDENTIFIER]})`),u("MAINVERSIONLOOSE",`(${o[a.NUMERICIDENTIFIERLOOSE]})\\.(${o[a.NUMERICIDENTIFIERLOOSE]})\\.(${o[a.NUMERICIDENTIFIERLOOSE]})`),u("PRERELEASEIDENTIFIER",`(?:${o[a.NUMERICIDENTIFIER]}|${o[a.NONNUMERICIDENTIFIER]})`),u("PRERELEASEIDENTIFIERLOOSE",`(?:${o[a.NUMERICIDENTIFIERLOOSE]}|${o[a.NONNUMERICIDENTIFIER]})`),u("PRERELEASE",`(?:-(${o[a.PRERELEASEIDENTIFIER]}(?:\\.${o[a.PRERELEASEIDENTIFIER]})*))`),u("PRERELEASELOOSE",`(?:-?(${o[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${o[a.PRERELEASEIDENTIFIERLOOSE]})*))`),u("BUILDIDENTIFIER","[0-9A-Za-z-]+"),u("BUILD",`(?:\\+(${o[a.BUILDIDENTIFIER]}(?:\\.${o[a.BUILDIDENTIFIER]})*))`),u("FULLPLAIN",`v?${o[a.MAINVERSION]}${o[a.PRERELEASE]}?${o[a.BUILD]}?`),u("FULL",`^${o[a.FULLPLAIN]}$`),u("LOOSEPLAIN",`[v=\\s]*${o[a.MAINVERSIONLOOSE]}${o[a.PRERELEASELOOSE]}?${o[a.BUILD]}?`),u("LOOSE",`^${o[a.LOOSEPLAIN]}$`),u("GTLT","((?:<|>)?=?)"),u("XRANGEIDENTIFIERLOOSE",`${o[a.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),u("XRANGEIDENTIFIER",`${o[a.NUMERICIDENTIFIER]}|x|X|\\*`),u("XRANGEPLAIN",`[v=\\s]*(${o[a.XRANGEIDENTIFIER]})(?:\\.(${o[a.XRANGEIDENTIFIER]})(?:\\.(${o[a.XRANGEIDENTIFIER]})(?:${o[a.PRERELEASE]})?${o[a.BUILD]}?)?)?`),u("XRANGEPLAINLOOSE",`[v=\\s]*(${o[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[a.XRANGEIDENTIFIERLOOSE]})(?:${o[a.PRERELEASELOOSE]})?${o[a.BUILD]}?)?)?`),u("XRANGE",`^${o[a.GTLT]}\\s*${o[a.XRANGEPLAIN]}$`),u("XRANGELOOSE",`^${o[a.GTLT]}\\s*${o[a.XRANGEPLAINLOOSE]}$`),u("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),u("COERCERTL",o[a.COERCE],!0),u("LONETILDE","(?:~>?)"),u("TILDETRIM",`(\\s*)${o[a.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",u("TILDE",`^${o[a.LONETILDE]}${o[a.XRANGEPLAIN]}$`),u("TILDELOOSE",`^${o[a.LONETILDE]}${o[a.XRANGEPLAINLOOSE]}$`),u("LONECARET","(?:\\^)"),u("CARETTRIM",`(\\s*)${o[a.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",u("CARET",`^${o[a.LONECARET]}${o[a.XRANGEPLAIN]}$`),u("CARETLOOSE",`^${o[a.LONECARET]}${o[a.XRANGEPLAINLOOSE]}$`),u("COMPARATORLOOSE",`^${o[a.GTLT]}\\s*(${o[a.LOOSEPLAIN]})$|^$`),u("COMPARATOR",`^${o[a.GTLT]}\\s*(${o[a.FULLPLAIN]})$|^$`),u("COMPARATORTRIM",`(\\s*)${o[a.GTLT]}\\s*(${o[a.LOOSEPLAIN]}|${o[a.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",u("HYPHENRANGE",`^\\s*(${o[a.XRANGEPLAIN]})\\s+-\\s+(${o[a.XRANGEPLAIN]})\\s*$`),u("HYPHENRANGELOOSE",`^\\s*(${o[a.XRANGEPLAINLOOSE]})\\s+-\\s+(${o[a.XRANGEPLAINLOOSE]})\\s*$`),u("STAR","(<|>)?=?\\s*\\*"),u("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),u("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),ei=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/internal/parse-options.js"(e,t){p();var n=["includePrerelease","loose","rtl"];t.exports=e=>e?"object"!=typeof e?{loose:!0}:n.filter(t=>e[t]).reduce((e,t)=>(e[t]=!0,e),{}):{}}}),eo=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/internal/identifiers.js"(e,t){p();var n=/^[0-9]+$/,r=(e,t)=>{let r=n.test(e),i=n.test(t);return r&&i&&(e=+e,t=+t),e===t?0:r&&!i?-1:i&&!r?1:er(t,e)}}}),ea=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/classes/semver.js"(e,t){p();var n=en(),{MAX_LENGTH:r,MAX_SAFE_INTEGER:i}=et(),{re:o,t:a}=er(),s=ei(),{compareIdentifiers:u}=eo(),l=class{constructor(e,t){if(t=s(t),e instanceof l){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw TypeError(`Invalid Version: ${e}`);if(e.length>r)throw TypeError(`version is longer than ${r} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let u=e.trim().match(t.loose?o[a.LOOSE]:o[a.FULL]);if(!u)throw TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+u[1],this.minor=+u[2],this.patch=+u[3],this.major>i||this.major<0)throw TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw TypeError("Invalid patch version");u[4]?this.prerelease=u[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(0===u(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}};t.exports=l}}),es=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/parse.js"(e,t){p();var{MAX_LENGTH:n}=et(),{re:r,t:i}=er(),o=ea(),a=ei();t.exports=(e,t)=>{if(t=a(t),e instanceof o)return e;if("string"!=typeof e||e.length>n||!(t.loose?r[i.LOOSE]:r[i.FULL]).test(e))return null;try{return new o(e,t)}catch{return null}}}}),eu=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/valid.js"(e,t){p();var n=es();t.exports=(e,t)=>{let r=n(e,t);return r?r.version:null}}}),el=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/clean.js"(e,t){p();var n=es();t.exports=(e,t)=>{let r=n(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}}}),ec=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/inc.js"(e,t){p();var n=ea();t.exports=(e,t,r,i)=>{"string"==typeof r&&(i=r,r=void 0);try{return new n(e instanceof n?e.version:e,r).inc(t,i).version}catch{return null}}}}),e_=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/compare.js"(e,t){p();var n=ea();t.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))}}),ep=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/eq.js"(e,t){p();var n=e_();t.exports=(e,t,r)=>0===n(e,t,r)}}),ed=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/diff.js"(e,t){p();var n=es(),r=ep();t.exports=(e,t)=>{if(r(e,t))return null;{let r=n(e),i=n(t),o=r.prerelease.length||i.prerelease.length,a=o?"pre":"";for(let e in r)if(("major"===e||"minor"===e||"patch"===e)&&r[e]!==i[e])return a+e;return o?"prerelease":""}}}}),ef=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/major.js"(e,t){p();var n=ea();t.exports=(e,t)=>new n(e,t).major}}),eh=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/minor.js"(e,t){p();var n=ea();t.exports=(e,t)=>new n(e,t).minor}}),ey=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/patch.js"(e,t){p();var n=ea();t.exports=(e,t)=>new n(e,t).patch}}),eb=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/prerelease.js"(e,t){p();var n=es();t.exports=(e,t)=>{let r=n(e,t);return r&&r.prerelease.length?r.prerelease:null}}}),ev=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/rcompare.js"(e,t){p();var n=e_();t.exports=(e,t,r)=>n(t,e,r)}}),ex=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/compare-loose.js"(e,t){p();var n=e_();t.exports=(e,t)=>n(e,t,!0)}}),eD=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/compare-build.js"(e,t){p();var n=ea();t.exports=(e,t,r)=>{let i=new n(e,r),o=new n(t,r);return i.compare(o)||i.compareBuild(o)}}}),eS=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/sort.js"(e,t){p();var n=eD();t.exports=(e,t)=>e.sort((e,r)=>n(e,r,t))}}),eT=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/rsort.js"(e,t){p();var n=eD();t.exports=(e,t)=>e.sort((e,r)=>n(r,e,t))}}),eE=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/gt.js"(e,t){p();var n=e_();t.exports=(e,t,r)=>n(e,t,r)>0}}),ew=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/lt.js"(e,t){p();var n=e_();t.exports=(e,t,r)=>0>n(e,t,r)}}),eA=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/neq.js"(e,t){p();var n=e_();t.exports=(e,t,r)=>0!==n(e,t,r)}}),eC=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/gte.js"(e,t){p();var n=e_();t.exports=(e,t,r)=>n(e,t,r)>=0}}),eN=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/lte.js"(e,t){p();var n=e_();t.exports=(e,t,r)=>0>=n(e,t,r)}}),eM=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/cmp.js"(e,t){p();var n=ep(),r=eA(),i=eE(),o=eC(),a=ew(),s=eN();t.exports=(e,t,u,l)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof u&&(u=u.version),e===u;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof u&&(u=u.version),e!==u;case"":case"=":case"==":return n(e,u,l);case"!=":return r(e,u,l);case">":return i(e,u,l);case">=":return o(e,u,l);case"<":return a(e,u,l);case"<=":return s(e,u,l);default:throw TypeError(`Invalid operator: ${t}`)}}}}),ek=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/coerce.js"(e,t){p();var n=ea(),r=es(),{re:i,t:o}=er();t.exports=(e,t)=>{if(e instanceof n)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let a=null;if((t=t||{}).rtl){let t;for(;(t=i[o.COERCERTL].exec(e))&&(!a||a.index+a[0].length!==e.length);)a&&t.index+t[0].length===a.index+a[0].length||(a=t),i[o.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;i[o.COERCERTL].lastIndex=-1}else a=e.match(i[o.COERCE]);return null===a?null:r(`${a[2]}.${a[3]||"0"}.${a[4]||"0"}`,t)}}}),eI=u({"node_modules/yallist/iterator.js"(e,t){p(),t.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}}}),ej=u({"node_modules/yallist/yallist.js"(e,t){function n(e){var t=this;if(t instanceof n||(t=new n),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach(function(e){t.push(e)});else if(arguments.length>0)for(var r=0,i=arguments.length;r1)n=t;else if(this.head)r=this.head.next,n=this.head.value;else throw TypeError("Reduce of empty list with no initial value");for(var i=0;null!==r;i++)n=e(n,r.value,i),r=r.next;return n},n.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else if(this.tail)r=this.tail.prev,n=this.tail.value;else throw TypeError("Reduce of empty list with no initial value");for(var i=this.length-1;null!==r;i--)n=e(n,r.value,i),r=r.prev;return n},n.prototype.toArray=function(){for(var e=Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},n.prototype.toArrayReverse=function(){for(var e=Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},n.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var r=new n;if(tthis.length&&(t=this.length);for(var i=0,o=this.head;null!==o&&ithis.length&&(t=this.length);for(var i=this.length,o=this.tail;null!==o&&i>t;i--)o=o.prev;for(;null!==o&&i>e;i--,o=o.prev)r.push(o.value);return r},n.prototype.splice=function(e,t){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var n=0,i=this.head;null!==i&&n1,m=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw TypeError("max must be a non-negative number");this[r]=e.max||1/0;let t=e.length||f;if(this[o]="function"!=typeof t?f:t,this[a]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw TypeError("maxAge must be a number");this[s]=e.maxAge||0,this[u]=e.dispose,this[l]=e.noDisposeOnSet||!1,this[d]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw TypeError("max must be a non-negative number");this[r]=e||1/0,g(this)}get max(){return this[r]}set allowStale(e){this[a]=!!e}get allowStale(){return this[a]}set maxAge(e){if("number"!=typeof e)throw TypeError("maxAge must be a non-negative number");this[s]=e,g(this)}get maxAge(){return this[s]}set lengthCalculator(e){"function"!=typeof e&&(e=f),e!==this[o]&&(this[o]=e,this[i]=0,this[c].forEach(e=>{e.length=this[o](e.value,e.key),this[i]+=e.length})),g(this)}get lengthCalculator(){return this[o]}get length(){return this[i]}get itemCount(){return this[c].length}rforEach(e,t){t=t||this;for(let n=this[c].tail;null!==n;){let r=n.prev;x(this,e,n,t),n=r}}forEach(e,t){t=t||this;for(let n=this[c].head;null!==n;){let r=n.next;x(this,e,n,t),n=r}}keys(){return this[c].toArray().map(e=>e.key)}values(){return this[c].toArray().map(e=>e.value)}reset(){this[u]&&this[c]&&this[c].length&&this[c].forEach(e=>this[u](e.key,e.value)),this[_]=new Map,this[c]=new n,this[i]=0}dump(){return this[c].map(e=>!y(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e)}dumpLru(){return this[c]}set(e,t,n){if((n=n||this[s])&&"number"!=typeof n)throw TypeError("maxAge must be a number");let a=n?Date.now():0,p=this[o](t,e);if(this[_].has(e)){if(p>this[r])return b(this,this[_].get(e)),!1;let o=this[_].get(e).value;return this[u]&&(this[l]||this[u](e,o.value)),o.now=a,o.maxAge=n,o.value=t,this[i]+=p-o.length,o.length=p,this.get(e),g(this),!0}let d=new v(e,t,p,a,n);return d.length>this[r]?(this[u]&&this[u](e,t),!1):(this[i]+=d.length,this[c].unshift(d),this[_].set(e,this[c].head),g(this),!0)}has(e){return!!this[_].has(e)&&!y(this,this[_].get(e).value)}get(e){return h(this,e,!0)}peek(e){return h(this,e,!1)}pop(){let e=this[c].tail;return e?(b(this,e),e.value):null}del(e){b(this,this[_].get(e))}load(e){this.reset();let t=Date.now();for(let n=e.length-1;n>=0;n--){let r=e[n],i=r.e||0;if(0===i)this.set(r.k,r.v);else{let e=i-t;e>0&&this.set(r.k,r.v,e)}}}prune(){this[_].forEach((e,t)=>h(this,t,!1))}},h=(e,t,n)=>{let r=e[_].get(t);if(r){let t=r.value;if(y(e,t)){if(b(e,r),!e[a])return}else n&&(e[d]&&(r.value.now=Date.now()),e[c].unshiftNode(r));return t.value}},y=(e,t)=>{if(!t||!t.maxAge&&!e[s])return!1;let n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[s]&&n>e[s]},g=e=>{if(e[i]>e[r])for(let t=e[c].tail;e[i]>e[r]&&null!==t;){let n=t.prev;b(e,t),t=n}},b=(e,t)=>{if(t){let n=t.value;e[u]&&e[u](n.key,n.value),e[i]-=n.length,e[_].delete(n.key),e[c].removeNode(t)}},v=class{constructor(e,t,n,r,i){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=i||0}},x=(e,t,n,r)=>{let i=n.value;y(e,i)&&(b(e,n),e[a]||(i=void 0)),i&&t.call(r,i.value,i.key,e)};t.exports=m}}),eP=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/classes/range.js"(e,t){p();var n=class{constructor(e,t){if(t=i(t),e instanceof n)return!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease?e:new n(e.raw,t);if(e instanceof o)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split("||").map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${e}`);if(this.set.length>1){let e=this.set[0];if(this.set=this.set.filter(e=>!f(e[0])),0===this.set.length)this.set=[e];else if(this.set.length>1){for(let e of this.set)if(1===e.length&&m(e[0])){this.set=[e];break}}}this.format()}format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(e){let t=`parseRange:${Object.keys(this.options).join(",")}:${e=e.trim()}`,n=r.get(t);if(n)return n;let i=this.options.loose,s=i?u[l.HYPHENRANGELOOSE]:u[l.HYPHENRANGE];a("hyphen replace",e=e.replace(s,A(this.options.includePrerelease))),a("comparator trim",e=e.replace(u[l.COMPARATORTRIM],c));let p=(e=(e=(e=e.replace(u[l.TILDETRIM],_)).replace(u[l.CARETTRIM],d)).split(/\s+/).join(" ")).split(" ").map(e=>y(e,this.options)).join(" ").split(/\s+/).map(e=>w(e,this.options));i&&(p=p.filter(e=>(a("loose invalid filter",e,this.options),!!e.match(u[l.COMPARATORLOOSE])))),a("range list",p);let m=new Map;for(let e of p.map(e=>new o(e,this.options))){if(f(e))return[e];m.set(e.value,e)}m.size>1&&m.has("")&&m.delete("");let h=[...m.values()];return r.set(t,h),h}intersects(e,t){if(!(e instanceof n))throw TypeError("a Range is required");return this.set.some(n=>h(n,t)&&e.set.some(e=>h(e,t)&&n.every(n=>e.every(e=>n.intersects(e,t)))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new s(e,this.options)}catch{return!1}for(let t=0;t"<0.0.0-0"===e.value,m=e=>""===e.value,h=(e,t)=>{let n=!0,r=e.slice(),i=r.pop();for(;n&&r.length;)n=r.every(e=>i.intersects(e,t)),i=r.pop();return n},y=(e,t)=>(a("comp",e,t),a("caret",e=x(e,t)),a("tildes",e=b(e,t)),a("xrange",e=S(e,t)),a("stars",e=E(e,t)),e),g=e=>!e||"x"===e.toLowerCase()||"*"===e,b=(e,t)=>e.trim().split(/\s+/).map(e=>v(e,t)).join(" "),v=(e,t)=>{let n=t.loose?u[l.TILDELOOSE]:u[l.TILDE];return e.replace(n,(t,n,r,i,o)=>{let s;return a("tilde",e,t,n,r,i,o),g(n)?s="":g(r)?s=`>=${n}.0.0 <${+n+1}.0.0-0`:g(i)?s=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:o?(a("replaceTilde pr",o),s=`>=${n}.${r}.${i}-${o} <${n}.${+r+1}.0-0`):s=`>=${n}.${r}.${i} <${n}.${+r+1}.0-0`,a("tilde return",s),s})},x=(e,t)=>e.trim().split(/\s+/).map(e=>D(e,t)).join(" "),D=(e,t)=>{a("caret",e,t);let n=t.loose?u[l.CARETLOOSE]:u[l.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,(t,n,i,o,s)=>{let u;return a("caret",e,t,n,i,o,s),g(n)?u="":g(i)?u=`>=${n}.0.0${r} <${+n+1}.0.0-0`:g(o)?u="0"===n?`>=${n}.${i}.0${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.0${r} <${+n+1}.0.0-0`:s?(a("replaceCaret pr",s),u="0"===n?"0"===i?`>=${n}.${i}.${o}-${s} <${n}.${i}.${+o+1}-0`:`>=${n}.${i}.${o}-${s} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${o}-${s} <${+n+1}.0.0-0`):(a("no pr"),u="0"===n?"0"===i?`>=${n}.${i}.${o}${r} <${n}.${i}.${+o+1}-0`:`>=${n}.${i}.${o}${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${o} <${+n+1}.0.0-0`),a("caret return",u),u})},S=(e,t)=>(a("replaceXRanges",e,t),e.split(/\s+/).map(e=>T(e,t)).join(" ")),T=(e,t)=>{e=e.trim();let n=t.loose?u[l.XRANGELOOSE]:u[l.XRANGE];return e.replace(n,(n,r,i,o,s,u)=>{a("xRange",e,n,r,i,o,s,u);let l=g(i),c=l||g(o),_=c||g(s);return"="===r&&_&&(r=""),u=t.includePrerelease?"-0":"",l?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&_?(c&&(o=0),s=0,">"===r?(r=">=",c?(i=+i+1,o=0):o=+o+1,s=0):"<="===r&&(r="<",c?i=+i+1:o=+o+1),"<"===r&&(u="-0"),n=`${r+i}.${o}.${s}${u}`):c?n=`>=${i}.0.0${u} <${+i+1}.0.0-0`:_&&(n=`>=${i}.${o}.0${u} <${i}.${+o+1}.0-0`),a("xRange return",n),n})},E=(e,t)=>(a("replaceStars",e,t),e.trim().replace(u[l.STAR],"")),w=(e,t)=>(a("replaceGTE0",e,t),e.trim().replace(u[t.includePrerelease?l.GTE0PRE:l.GTE0],"")),A=e=>(t,n,r,i,o,a,s,u,l,c,_,p,d)=>`${n=g(r)?"":g(i)?`>=${r}.0.0${e?"-0":""}`:g(o)?`>=${r}.${i}.0${e?"-0":""}`:a?`>=${n}`:`>=${n}${e?"-0":""}`} ${u=g(l)?"":g(c)?`<${+l+1}.0.0-0`:g(_)?`<${l}.${+c+1}.0-0`:p?`<=${l}.${c}.${_}-${p}`:e?`<${l}.${c}.${+_+1}-0`:`<=${u}`}`.trim(),C=(e,t,n)=>{for(let n=0;n0){let r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}}}),eF=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/classes/comparator.js"(e,t){p();var n=Symbol("SemVer ANY"),r=class{static get ANY(){return n}constructor(e,t){if(t=i(t),e instanceof r){if(!!t.loose===e.loose)return e;e=e.value}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){let t=this.options.loose?o[a.COMPARATORLOOSE]:o[a.COMPARATOR],r=e.match(t);if(!r)throw TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new l(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 l(e,this.options)}catch{return!1}return s(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof r))throw TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new c(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new c(this.value,t).test(e.semver);let n=(">="===this.operator||">"===this.operator)&&(">="===e.operator||">"===e.operator),i=("<="===this.operator||"<"===this.operator)&&("<="===e.operator||"<"===e.operator),o=this.semver.version===e.semver.version,a=(">="===this.operator||"<="===this.operator)&&(">="===e.operator||"<="===e.operator),u=s(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=s(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||i||o&&a||u||l}};t.exports=r;var i=ei(),{re:o,t:a}=er(),s=eM(),u=en(),l=ea(),c=eP()}}),eL=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/satisfies.js"(e,t){p();var n=eP();t.exports=(e,t,r)=>{try{t=new n(t,r)}catch{return!1}return t.test(e)}}}),ez=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/ranges/to-comparators.js"(e,t){p();var n=eP();t.exports=(e,t)=>new n(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "))}}),eR=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/ranges/max-satisfying.js"(e,t){p();var n=ea(),r=eP();t.exports=(e,t,i)=>{let o=null,a=null,s=null;try{s=new r(t,i)}catch{return null}return e.forEach(e=>{s.test(e)&&(!o||-1===a.compare(e))&&(o=e,a=new n(o,i))}),o}}}),eB=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/ranges/min-satisfying.js"(e,t){p();var n=ea(),r=eP();t.exports=(e,t,i)=>{let o=null,a=null,s=null;try{s=new r(t,i)}catch{return null}return e.forEach(e=>{s.test(e)&&(!o||1===a.compare(e))&&(o=e,a=new n(o,i))}),o}}}),eU=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/ranges/min-version.js"(e,t){p();var n=ea(),r=eP(),i=eE();t.exports=(e,t)=>{e=new r(e,t);let o=new n("0.0.0");if(e.test(o)||(o=new n("0.0.0-0"),e.test(o)))return o;o=null;for(let t=0;t{let 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">=":(!a||i(t,a))&&(a=t);break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${e.operator}`)}}),a&&(!o||i(o,a))&&(o=a)}return o&&e.test(o)?o:null}}}),eJ=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/ranges/valid.js"(e,t){p();var n=eP();t.exports=(e,t)=>{try{return new n(e,t).range||"*"}catch{return null}}}}),e$=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/ranges/outside.js"(e,t){p();var n=ea(),r=eF(),{ANY:i}=r,o=eP(),a=eL(),s=eE(),u=ew(),l=eN(),c=eC();t.exports=(e,t,_,p)=>{let d,f,m,h,y;switch(e=new n(e,p),t=new o(t,p),_){case">":d=s,f=l,m=u,h=">",y=">=";break;case"<":d=u,f=c,m=s,h="<",y="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(a(e,t,p))return!1;for(let n=0;n{e.semver===i&&(e=new r(">=0.0.0")),a=a||e,s=s||e,d(e.semver,a.semver,p)?a=e:m(e.semver,s.semver,p)&&(s=e)}),a.operator===h||a.operator===y||(!s.operator||s.operator===h)&&f(e,s.semver)||s.operator===y&&m(e,s.semver))return!1}return!0}}}),eK=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/ranges/gtr.js"(e,t){p();var n=e$();t.exports=(e,t,r)=>n(e,t,">",r)}}),eV=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/ranges/ltr.js"(e,t){p();var n=e$();t.exports=(e,t,r)=>n(e,t,"<",r)}}),eY=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/ranges/intersects.js"(e,t){p();var n=eP();t.exports=(e,t,r)=>(e=new n(e,r),t=new n(t,r),e.intersects(t))}}),eq=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/ranges/simplify.js"(e,t){p();var n=eL(),r=e_();t.exports=(e,t,i)=>{let o=[],a=null,s=null,u=e.sort((e,t)=>r(e,t,i));for(let e of u)n(e,t,i)?(s=e,a||(a=e)):(s&&o.push([a,s]),s=null,a=null);a&&o.push([a,null]);let l=[];for(let[e,t]of o)e===t?l.push(e):t||e!==u[0]?t?e===u[0]?l.push(`<=${t}`):l.push(`${e} - ${t}`):l.push(`>=${e}`):l.push("*");let c=l.join(" || "),_="string"==typeof t.raw?t.raw:String(t);return c.length<_.length?c:t}}}),eW=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/ranges/subset.js"(e,t){p();var n=eP(),r=eF(),{ANY:i}=r,o=eL(),a=e_(),s=(e,t,n)=>{let s;if(e===t)return!0;if(1===e.length&&e[0].semver===i){if(1===t.length&&t[0].semver===i)return!0;e=n.includePrerelease?[new r(">=0.0.0-0")]:[new r(">=0.0.0")]}if(1===t.length&&t[0].semver===i){if(n.includePrerelease)return!0;t=[new r(">=0.0.0")]}let c=new Set,_,p;for(let t of e)">"===t.operator||">="===t.operator?_=u(_,t,n):"<"===t.operator||"<="===t.operator?p=l(p,t,n):c.add(t.semver);if(c.size>1||_&&p&&((s=a(_.semver,p.semver,n))>0||0===s&&(">="!==_.operator||"<="!==p.operator)))return null;for(let e of c){if(_&&!o(e,String(_),n)||p&&!o(e,String(p),n))return null;for(let r of t)if(!o(e,String(r),n))return!1;return!0}let d,f,m,h,y=!!p&&!n.includePrerelease&&!!p.semver.prerelease.length&&p.semver,g=!!_&&!n.includePrerelease&&!!_.semver.prerelease.length&&_.semver;for(let e of(y&&1===y.prerelease.length&&"<"===p.operator&&0===y.prerelease[0]&&(y=!1),t)){if(h=h||">"===e.operator||">="===e.operator,m=m||"<"===e.operator||"<="===e.operator,_){if(g&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===g.major&&e.semver.minor===g.minor&&e.semver.patch===g.patch&&(g=!1),">"===e.operator||">="===e.operator){if((d=u(_,e,n))===e&&d!==_)return!1}else if(">="===_.operator&&!o(_.semver,String(e),n))return!1}if(p){if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),"<"===e.operator||"<="===e.operator){if((f=l(p,e,n))===e&&f!==p)return!1}else if("<="===p.operator&&!o(p.semver,String(e),n))return!1}if(!e.operator&&(p||_)&&0!==s)return!1}return!(_&&m&&!p&&0!==s||p&&h&&!_&&0!==s||g||y)},u=(e,t,n)=>{if(!e)return t;let r=a(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},l=(e,t,n)=>{if(!e)return t;let r=a(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};t.exports=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e===t)return!0;e=new n(e,r),t=new n(t,r);let i=!1;n:for(let n of e.set){for(let e of t.set){let t=s(n,e,r);if(i=i||null!==t,t)continue n}if(i)return!1}return!0}}}),eQ=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/index.js"(e,t){p();var n=er(),r=et(),i=ea(),o=eo(),a=es(),s=eu(),u=el(),l=ec(),c=ed(),_=ef(),d=eh(),f=ey(),m=eb(),h=e_(),y=ev(),g=ex(),b=eD(),v=eS(),x=eT(),D=eE(),S=ew(),T=ep(),E=eA(),w=eC(),A=eN(),C=eM(),N=ek(),M=eF(),k=eP(),I=eL(),j=ez(),O=eR(),P=eB(),F=eU(),L=eJ(),z=e$(),R=eK(),B=eV(),U=eY(),J=eq(),$=eW();t.exports={parse:a,valid:s,clean:u,inc:l,diff:c,major:_,minor:d,patch:f,prerelease:m,compare:h,rcompare:y,compareLoose:g,compareBuild:b,sort:v,rsort:x,gt:D,lt:S,eq:T,neq:E,gte:w,lte:A,cmp:C,coerce:N,Comparator:M,Range:k,satisfies:I,toComparators:j,maxSatisfying:O,minSatisfying:P,minVersion:F,validRange:L,outside:z,gtr:R,ltr:B,intersects:U,simplifyRange:J,subset:$,SemVer:i,re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:r.SEMVER_SPEC_VERSION,compareIdentifiers:o.compareIdentifiers,rcompareIdentifiers:o.rcompareIdentifiers}}}),eH=u({"node_modules/@typescript-eslint/typescript-estree/dist/version-check.js"(e){p();var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r};Object.defineProperty(e,"__esModule",{value:!0}),e.typescriptVersionIsAtLeast=void 0,r(eQ()),r(Z());var i={};for(let t of(e.typescriptVersionIsAtLeast=i,["3.7","3.8","3.9","4.0","4.1","4.2","4.3","4.4","4.5","4.6","4.7","4.8","4.9","5.0"]))i[t]=!0}}),eG=u({"node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js"(e){p();var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r};Object.defineProperty(e,"__esModule",{value:!0}),e.getDecorators=e.getModifiers=void 0;var i=r(Z()),o=eH().typescriptVersionIsAtLeast["4.8"];e.getModifiers=function(e){var t;if(null!=e){if(o){if(i.canHaveModifiers(e)){let t=i.getModifiers(e);return t?Array.from(t):void 0}return}return null===(t=e.modifiers)||void 0===t?void 0:t.filter(e=>!i.isDecorator(e))}},e.getDecorators=function(e){var t;if(null!=e){if(o){if(i.canHaveDecorators(e)){let t=i.getDecorators(e);return t?Array.from(t):void 0}return}return null===(t=e.decorators)||void 0===t?void 0:t.filter(i.isDecorator)}}}}),eZ=u({"node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),e.xhtmlEntities=void 0,e.xhtmlEntities={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",OElig:"Œ",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:"♦"}}}),eX=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js"(e){var t,n;p(),Object.defineProperty(e,"__esModule",{value:!0}),e.AST_TOKEN_TYPES=e.AST_NODE_TYPES=void 0,(t=e.AST_NODE_TYPES||(e.AST_NODE_TYPES={})).AccessorProperty="AccessorProperty",t.ArrayExpression="ArrayExpression",t.ArrayPattern="ArrayPattern",t.ArrowFunctionExpression="ArrowFunctionExpression",t.AssignmentExpression="AssignmentExpression",t.AssignmentPattern="AssignmentPattern",t.AwaitExpression="AwaitExpression",t.BinaryExpression="BinaryExpression",t.BlockStatement="BlockStatement",t.BreakStatement="BreakStatement",t.CallExpression="CallExpression",t.CatchClause="CatchClause",t.ChainExpression="ChainExpression",t.ClassBody="ClassBody",t.ClassDeclaration="ClassDeclaration",t.ClassExpression="ClassExpression",t.ConditionalExpression="ConditionalExpression",t.ContinueStatement="ContinueStatement",t.DebuggerStatement="DebuggerStatement",t.Decorator="Decorator",t.DoWhileStatement="DoWhileStatement",t.EmptyStatement="EmptyStatement",t.ExportAllDeclaration="ExportAllDeclaration",t.ExportDefaultDeclaration="ExportDefaultDeclaration",t.ExportNamedDeclaration="ExportNamedDeclaration",t.ExportSpecifier="ExportSpecifier",t.ExpressionStatement="ExpressionStatement",t.ForInStatement="ForInStatement",t.ForOfStatement="ForOfStatement",t.ForStatement="ForStatement",t.FunctionDeclaration="FunctionDeclaration",t.FunctionExpression="FunctionExpression",t.Identifier="Identifier",t.IfStatement="IfStatement",t.ImportAttribute="ImportAttribute",t.ImportDeclaration="ImportDeclaration",t.ImportDefaultSpecifier="ImportDefaultSpecifier",t.ImportExpression="ImportExpression",t.ImportNamespaceSpecifier="ImportNamespaceSpecifier",t.ImportSpecifier="ImportSpecifier",t.JSXAttribute="JSXAttribute",t.JSXClosingElement="JSXClosingElement",t.JSXClosingFragment="JSXClosingFragment",t.JSXElement="JSXElement",t.JSXEmptyExpression="JSXEmptyExpression",t.JSXExpressionContainer="JSXExpressionContainer",t.JSXFragment="JSXFragment",t.JSXIdentifier="JSXIdentifier",t.JSXMemberExpression="JSXMemberExpression",t.JSXNamespacedName="JSXNamespacedName",t.JSXOpeningElement="JSXOpeningElement",t.JSXOpeningFragment="JSXOpeningFragment",t.JSXSpreadAttribute="JSXSpreadAttribute",t.JSXSpreadChild="JSXSpreadChild",t.JSXText="JSXText",t.LabeledStatement="LabeledStatement",t.Literal="Literal",t.LogicalExpression="LogicalExpression",t.MemberExpression="MemberExpression",t.MetaProperty="MetaProperty",t.MethodDefinition="MethodDefinition",t.NewExpression="NewExpression",t.ObjectExpression="ObjectExpression",t.ObjectPattern="ObjectPattern",t.PrivateIdentifier="PrivateIdentifier",t.Program="Program",t.Property="Property",t.PropertyDefinition="PropertyDefinition",t.RestElement="RestElement",t.ReturnStatement="ReturnStatement",t.SequenceExpression="SequenceExpression",t.SpreadElement="SpreadElement",t.StaticBlock="StaticBlock",t.Super="Super",t.SwitchCase="SwitchCase",t.SwitchStatement="SwitchStatement",t.TaggedTemplateExpression="TaggedTemplateExpression",t.TemplateElement="TemplateElement",t.TemplateLiteral="TemplateLiteral",t.ThisExpression="ThisExpression",t.ThrowStatement="ThrowStatement",t.TryStatement="TryStatement",t.UnaryExpression="UnaryExpression",t.UpdateExpression="UpdateExpression",t.VariableDeclaration="VariableDeclaration",t.VariableDeclarator="VariableDeclarator",t.WhileStatement="WhileStatement",t.WithStatement="WithStatement",t.YieldExpression="YieldExpression",t.TSAbstractAccessorProperty="TSAbstractAccessorProperty",t.TSAbstractKeyword="TSAbstractKeyword",t.TSAbstractMethodDefinition="TSAbstractMethodDefinition",t.TSAbstractPropertyDefinition="TSAbstractPropertyDefinition",t.TSAnyKeyword="TSAnyKeyword",t.TSArrayType="TSArrayType",t.TSAsExpression="TSAsExpression",t.TSAsyncKeyword="TSAsyncKeyword",t.TSBigIntKeyword="TSBigIntKeyword",t.TSBooleanKeyword="TSBooleanKeyword",t.TSCallSignatureDeclaration="TSCallSignatureDeclaration",t.TSClassImplements="TSClassImplements",t.TSConditionalType="TSConditionalType",t.TSConstructorType="TSConstructorType",t.TSConstructSignatureDeclaration="TSConstructSignatureDeclaration",t.TSDeclareFunction="TSDeclareFunction",t.TSDeclareKeyword="TSDeclareKeyword",t.TSEmptyBodyFunctionExpression="TSEmptyBodyFunctionExpression",t.TSEnumDeclaration="TSEnumDeclaration",t.TSEnumMember="TSEnumMember",t.TSExportAssignment="TSExportAssignment",t.TSExportKeyword="TSExportKeyword",t.TSExternalModuleReference="TSExternalModuleReference",t.TSFunctionType="TSFunctionType",t.TSInstantiationExpression="TSInstantiationExpression",t.TSImportEqualsDeclaration="TSImportEqualsDeclaration",t.TSImportType="TSImportType",t.TSIndexedAccessType="TSIndexedAccessType",t.TSIndexSignature="TSIndexSignature",t.TSInferType="TSInferType",t.TSInterfaceBody="TSInterfaceBody",t.TSInterfaceDeclaration="TSInterfaceDeclaration",t.TSInterfaceHeritage="TSInterfaceHeritage",t.TSIntersectionType="TSIntersectionType",t.TSIntrinsicKeyword="TSIntrinsicKeyword",t.TSLiteralType="TSLiteralType",t.TSMappedType="TSMappedType",t.TSMethodSignature="TSMethodSignature",t.TSModuleBlock="TSModuleBlock",t.TSModuleDeclaration="TSModuleDeclaration",t.TSNamedTupleMember="TSNamedTupleMember",t.TSNamespaceExportDeclaration="TSNamespaceExportDeclaration",t.TSNeverKeyword="TSNeverKeyword",t.TSNonNullExpression="TSNonNullExpression",t.TSNullKeyword="TSNullKeyword",t.TSNumberKeyword="TSNumberKeyword",t.TSObjectKeyword="TSObjectKeyword",t.TSOptionalType="TSOptionalType",t.TSParameterProperty="TSParameterProperty",t.TSPrivateKeyword="TSPrivateKeyword",t.TSPropertySignature="TSPropertySignature",t.TSProtectedKeyword="TSProtectedKeyword",t.TSPublicKeyword="TSPublicKeyword",t.TSQualifiedName="TSQualifiedName",t.TSReadonlyKeyword="TSReadonlyKeyword",t.TSRestType="TSRestType",t.TSSatisfiesExpression="TSSatisfiesExpression",t.TSStaticKeyword="TSStaticKeyword",t.TSStringKeyword="TSStringKeyword",t.TSSymbolKeyword="TSSymbolKeyword",t.TSTemplateLiteralType="TSTemplateLiteralType",t.TSThisType="TSThisType",t.TSTupleType="TSTupleType",t.TSTypeAliasDeclaration="TSTypeAliasDeclaration",t.TSTypeAnnotation="TSTypeAnnotation",t.TSTypeAssertion="TSTypeAssertion",t.TSTypeLiteral="TSTypeLiteral",t.TSTypeOperator="TSTypeOperator",t.TSTypeParameter="TSTypeParameter",t.TSTypeParameterDeclaration="TSTypeParameterDeclaration",t.TSTypeParameterInstantiation="TSTypeParameterInstantiation",t.TSTypePredicate="TSTypePredicate",t.TSTypeQuery="TSTypeQuery",t.TSTypeReference="TSTypeReference",t.TSUndefinedKeyword="TSUndefinedKeyword",t.TSUnionType="TSUnionType",t.TSUnknownKeyword="TSUnknownKeyword",t.TSVoidKeyword="TSVoidKeyword",(n=e.AST_TOKEN_TYPES||(e.AST_TOKEN_TYPES={})).Boolean="Boolean",n.Identifier="Identifier",n.JSXIdentifier="JSXIdentifier",n.JSXText="JSXText",n.Keyword="Keyword",n.Null="Null",n.Numeric="Numeric",n.Punctuator="Punctuator",n.RegularExpression="RegularExpression",n.String="String",n.Template="Template",n.Block="Block",n.Line="Line"}}),e0=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/@typescript-eslint/types/dist/lib.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0})}}),e1=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/@typescript-eslint/types/dist/parser-options.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0})}}),e2=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/@typescript-eslint/types/dist/ts-estree.js"(e){p();var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r};Object.defineProperty(e,"__esModule",{value:!0}),e.TSESTree=void 0,e.TSESTree=r(eX())}}),e3=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/@typescript-eslint/types/dist/index.js"(e){p();var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__exportStar||function(e,n){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),e.AST_TOKEN_TYPES=e.AST_NODE_TYPES=void 0;var r=eX();Object.defineProperty(e,"AST_NODE_TYPES",{enumerable:!0,get:function(){return r.AST_NODE_TYPES}}),Object.defineProperty(e,"AST_TOKEN_TYPES",{enumerable:!0,get:function(){return r.AST_TOKEN_TYPES}}),n(e0(),e),n(e1(),e),n(e2(),e)}}),e4=u({"node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0})}}),e6=u({"node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0})}}),e5=u({"node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js"(e){p();var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__exportStar||function(e,n){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),e.TSESTree=e.AST_TOKEN_TYPES=e.AST_NODE_TYPES=void 0;var r=e3();Object.defineProperty(e,"AST_NODE_TYPES",{enumerable:!0,get:function(){return r.AST_NODE_TYPES}}),Object.defineProperty(e,"AST_TOKEN_TYPES",{enumerable:!0,get:function(){return r.AST_TOKEN_TYPES}}),Object.defineProperty(e,"TSESTree",{enumerable:!0,get:function(){return r.TSESTree}}),n(e4(),e),n(e6(),e)}}),e8=u({"node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js"(e){p();var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r};Object.defineProperty(e,"__esModule",{value:!0}),e.isThisInTypeQuery=e.isThisIdentifier=e.identifierIsThisKeyword=e.firstDefined=e.nodeHasTokens=e.createError=e.TSError=e.convertTokens=e.convertToken=e.getTokenType=e.isChildUnwrappableOptionalChain=e.isChainExpression=e.isOptional=e.isComputedProperty=e.unescapeStringLiteralText=e.hasJSXAncestor=e.findFirstMatchingAncestor=e.findNextToken=e.getTSNodeAccessibility=e.getDeclarationKind=e.isJSXToken=e.isToken=e.getRange=e.canContainDirective=e.getLocFor=e.getLineAndCharacterFor=e.getBinaryExpressionType=e.isJSDocComment=e.isComment=e.isComma=e.getLastModifier=e.hasModifier=e.isESTreeClassMember=e.getTextForTokenKind=e.isLogicalOperator=e.isAssignmentOperator=void 0;var i=r(Z()),o=eG(),a=eZ(),s=e5(),u=eH().typescriptVersionIsAtLeast["5.0"],l=i.SyntaxKind,c=[l.BarBarToken,l.AmpersandAmpersandToken,l.QuestionQuestionToken];function _(e){return e.kind>=l.FirstAssignment&&e.kind<=l.LastAssignment}function d(e){return c.includes(e.kind)}function f(e){return e.kind===l.SingleLineCommentTrivia||e.kind===l.MultiLineCommentTrivia}function m(e){return e.kind===l.JSDocComment}function h(e,t){let n=t.getLineAndCharacterOfPosition(e);return{line:n.line+1,column:n.character}}function y(e,t,n){return{start:h(e,n),end:h(t,n)}}function g(e){return e.kind>=l.FirstToken&&e.kind<=l.LastToken}function b(e){return e.kind>=l.JsxElement&&e.kind<=l.JsxAttribute}function v(e,t){for(;e;){if(t(e))return e;e=e.parent}}function x(e){return!!v(e,b)}function D(e){return e.type===s.AST_NODE_TYPES.ChainExpression}function S(e){let t;if(u&&e.kind===l.Identifier?t=i.identifierToKeywordKind(e):"originalKeywordKind"in e&&(t=e.originalKeywordKind),t)return t===l.NullKeyword?s.AST_TOKEN_TYPES.Null:t>=l.FirstFutureReservedWord&&t<=l.LastKeyword?s.AST_TOKEN_TYPES.Identifier:s.AST_TOKEN_TYPES.Keyword;if(e.kind>=l.FirstKeyword&&e.kind<=l.LastFutureReservedWord)return e.kind===l.FalseKeyword||e.kind===l.TrueKeyword?s.AST_TOKEN_TYPES.Boolean:s.AST_TOKEN_TYPES.Keyword;if(e.kind>=l.FirstPunctuation&&e.kind<=l.LastPunctuation)return s.AST_TOKEN_TYPES.Punctuator;if(e.kind>=l.NoSubstitutionTemplateLiteral&&e.kind<=l.TemplateTail)return s.AST_TOKEN_TYPES.Template;switch(e.kind){case l.NumericLiteral:return s.AST_TOKEN_TYPES.Numeric;case l.JsxText:return s.AST_TOKEN_TYPES.JSXText;case l.StringLiteral:return e.parent&&(e.parent.kind===l.JsxAttribute||e.parent.kind===l.JsxElement)?s.AST_TOKEN_TYPES.JSXText:s.AST_TOKEN_TYPES.String;case l.RegularExpressionLiteral:return s.AST_TOKEN_TYPES.RegularExpression;case l.Identifier:case l.ConstructorKeyword:case l.GetKeyword:case l.SetKeyword:}return e.parent&&e.kind===l.Identifier&&(b(e.parent)||e.parent.kind===l.PropertyAccessExpression&&x(e))?s.AST_TOKEN_TYPES.JSXIdentifier:s.AST_TOKEN_TYPES.Identifier}function T(e,t){let n=e.kind===l.JsxText?e.getFullStart():e.getStart(t),r=e.getEnd(),i=t.text.slice(n,r),o=S(e);return o===s.AST_TOKEN_TYPES.RegularExpression?{type:o,value:i,range:[n,r],loc:y(n,r,t),regex:{pattern:i.slice(1,i.lastIndexOf("/")),flags:i.slice(i.lastIndexOf("/")+1)}}:{type:o,value:i,range:[n,r],loc:y(n,r,t)}}e.isAssignmentOperator=_,e.isLogicalOperator=d,e.getTextForTokenKind=function(e){return i.tokenToString(e)},e.isESTreeClassMember=function(e){return e.kind!==l.SemicolonClassElement},e.hasModifier=function(e,t){let n=(0,o.getModifiers)(t);return(null==n?void 0:n.some(t=>t.kind===e))===!0},e.getLastModifier=function(e){var t;let n=(0,o.getModifiers)(e);return null==n?null:null!==(t=n[n.length-1])&&void 0!==t?t:null},e.isComma=function(e){return e.kind===l.CommaToken},e.isComment=f,e.isJSDocComment=m,e.getBinaryExpressionType=function(e){return _(e)?s.AST_NODE_TYPES.AssignmentExpression:d(e)?s.AST_NODE_TYPES.LogicalExpression:s.AST_NODE_TYPES.BinaryExpression},e.getLineAndCharacterFor=h,e.getLocFor=y,e.canContainDirective=function(e){if(e.kind===i.SyntaxKind.Block)switch(e.parent.kind){case i.SyntaxKind.Constructor:case i.SyntaxKind.GetAccessor:case i.SyntaxKind.SetAccessor:case i.SyntaxKind.ArrowFunction:case i.SyntaxKind.FunctionExpression:case i.SyntaxKind.FunctionDeclaration:case i.SyntaxKind.MethodDeclaration:break;default:return!1}return!0},e.getRange=function(e,t){return[e.getStart(t),e.getEnd()]},e.isToken=g,e.isJSXToken=b,e.getDeclarationKind=function(e){return e.flags&i.NodeFlags.Let?"let":e.flags&i.NodeFlags.Const?"const":"var"},e.getTSNodeAccessibility=function(e){let t=(0,o.getModifiers)(e);if(null==t)return null;for(let e of t)switch(e.kind){case l.PublicKeyword:return"public";case l.ProtectedKeyword:return"protected";case l.PrivateKeyword:return"private"}return null},e.findNextToken=function(e,t,n){return function t(r){return i.isToken(r)&&r.pos===e.end?r:A(r.getChildren(n),r=>(r.pos<=e.pos&&r.end>e.end||r.pos===e.end)&&w(r,n)?t(r):void 0)}(t)},e.findFirstMatchingAncestor=v,e.hasJSXAncestor=x,e.unescapeStringLiteralText=function(e){return e.replace(/&(?:#\d+|#x[\da-fA-F]+|[0-9a-zA-Z]+);/g,e=>{let t=e.slice(1,-1);if("#"===t[0]){let n="x"===t[1]?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return n>1114111?e:String.fromCodePoint(n)}return a.xhtmlEntities[t]||e})},e.isComputedProperty=function(e){return e.kind===l.ComputedPropertyName},e.isOptional=function(e){return!!e.questionToken&&e.questionToken.kind===l.QuestionToken},e.isChainExpression=D,e.isChildUnwrappableOptionalChain=function(e,t){return D(t)&&e.expression.kind!==i.SyntaxKind.ParenthesizedExpression},e.getTokenType=S,e.convertToken=T,e.convertTokens=function(e){let t=[];return function n(r){if(!(f(r)||m(r))){if(g(r)&&r.kind!==l.EndOfFileToken){let n=T(r,e);n&&t.push(n)}else r.getChildren(e).forEach(n)}}(e),t};var E=class extends Error{constructor(e,t,n,r,i){super(e),this.fileName=t,this.index=n,this.lineNumber=r,this.column=i,Object.defineProperty(this,"name",{value:new.target.name,enumerable:!1,configurable:!0})}};function w(e,t){return e.kind===l.EndOfFileToken?!!e.jsDoc:0!==e.getWidth(t)}function A(e,t){if(void 0!==e)for(let n=0;n{let t=this.convertChild(e);if(n){if(null!=t&&t.expression&&i.isExpressionStatement(e)&&i.isStringLiteral(e.expression)){let e=t.expression.raw;return t.directive=e.slice(1,-1),t}n=!1}return t}).filter(e=>e)}convertTypeArgumentsToTypeParameters(e,t){let n=(0,a.findNextToken)(e,this.ast,this.ast);return this.createNode(t,{type:s.AST_NODE_TYPES.TSTypeParameterInstantiation,range:[e.pos-1,n.end],params:e.map(e=>this.convertType(e))})}convertTSTypeParametersToTypeParametersDeclaration(e){let t=(0,a.findNextToken)(e,this.ast,this.ast);return{type:s.AST_NODE_TYPES.TSTypeParameterDeclaration,range:[e.pos-1,t.end],loc:(0,a.getLocFor)(e.pos-1,t.end,this.ast),params:e.map(e=>this.convertType(e))}}convertParameters(e){return null!=e&&e.length?e.map(e=>{let t=this.convertChild(e),n=(0,o.getDecorators)(e);return null!=n&&n.length&&(t.decorators=n.map(e=>this.convertChild(e))),t}):[]}convertChainExpression(e,t){let{child:n,isOptional:r}=e.type===s.AST_NODE_TYPES.MemberExpression?{child:e.object,isOptional:e.optional}:e.type===s.AST_NODE_TYPES.CallExpression?{child:e.callee,isOptional:e.optional}:{child:e.expression,isOptional:!1},i=(0,a.isChildUnwrappableOptionalChain)(t,n);if(!i&&!r)return e;if(i&&(0,a.isChainExpression)(n)){let t=n.expression;e.type===s.AST_NODE_TYPES.MemberExpression?e.object=t:e.type===s.AST_NODE_TYPES.CallExpression?e.callee=t:e.expression=t}return this.createNode(t,{type:s.AST_NODE_TYPES.ChainExpression,expression:e})}deeplyCopy(e){if(e.kind===i.SyntaxKind.JSDocFunctionType)throw(0,a.createError)(this.ast,e.pos,"JSDoc types can only be used inside documentation comments.");let t=`TS${l[e.kind]}`;if(this.options.errorOnUnknownASTType&&!s.AST_NODE_TYPES[t])throw Error(`Unknown AST_NODE_TYPE: "${t}"`);let n=this.createNode(e,{type:t});"type"in e&&(n.typeAnnotation=e.type&&"kind"in e.type&&i.isTypeNode(e.type)?this.convertTypeAnnotation(e.type,e):null),"typeArguments"in e&&(n.typeParameters=e.typeArguments&&"pos"in e.typeArguments?this.convertTypeArgumentsToTypeParameters(e.typeArguments,e):null),"typeParameters"in e&&(n.typeParameters=e.typeParameters&&"pos"in e.typeParameters?this.convertTSTypeParametersToTypeParametersDeclaration(e.typeParameters):null);let r=(0,o.getDecorators)(e);null!=r&&r.length&&(n.decorators=r.map(e=>this.convertChild(e)));let u=new Set(["_children","decorators","end","flags","illegalDecorators","heritageClauses","locals","localSymbol","jsDoc","kind","modifierFlagsCache","modifiers","nextContainer","parent","pos","symbol","transformFlags","type","typeArguments","typeParameters"]);return Object.entries(e).filter(e=>{let[t]=e;return!u.has(t)}).forEach(e=>{let[t,r]=e;Array.isArray(r)?n[t]=r.map(e=>this.convertChild(e)):r&&"object"==typeof r&&r.kind?n[t]=this.convertChild(r):n[t]=r}),n}convertJSXIdentifier(e){let t=this.createNode(e,{type:s.AST_NODE_TYPES.JSXIdentifier,name:e.getText()});return this.registerTSNodeInNodeMap(e,t),t}convertJSXNamespaceOrIdentifier(e){let t=e.getText(),n=t.indexOf(":");if(n>0){let r=(0,a.getRange)(e,this.ast),i=this.createNode(e,{type:s.AST_NODE_TYPES.JSXNamespacedName,namespace:this.createNode(e,{type:s.AST_NODE_TYPES.JSXIdentifier,name:t.slice(0,n),range:[r[0],r[0]+n]}),name:this.createNode(e,{type:s.AST_NODE_TYPES.JSXIdentifier,name:t.slice(n+1),range:[r[0]+n+1,r[1]]}),range:r});return this.registerTSNodeInNodeMap(e,i),i}return this.convertJSXIdentifier(e)}convertJSXTagName(e,t){let n;switch(e.kind){case l.PropertyAccessExpression:if(e.name.kind===l.PrivateIdentifier)throw Error("Non-private identifier expected.");n=this.createNode(e,{type:s.AST_NODE_TYPES.JSXMemberExpression,object:this.convertJSXTagName(e.expression,t),property:this.convertJSXIdentifier(e.name)});break;case l.ThisKeyword:case l.Identifier:default:return this.convertJSXNamespaceOrIdentifier(e)}return this.registerTSNodeInNodeMap(e,n),n}convertMethodSignature(e){let t=this.createNode(e,{type:s.AST_NODE_TYPES.TSMethodSignature,computed:(0,a.isComputedProperty)(e.name),key:this.convertChild(e.name),params:this.convertParameters(e.parameters),kind:(()=>{switch(e.kind){case l.GetAccessor:return"get";case l.SetAccessor:return"set";case l.MethodSignature:return"method"}})()});(0,a.isOptional)(e)&&(t.optional=!0),e.type&&(t.returnType=this.convertTypeAnnotation(e.type,e)),(0,a.hasModifier)(l.ReadonlyKeyword,e)&&(t.readonly=!0),e.typeParameters&&(t.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(e.typeParameters));let n=(0,a.getTSNodeAccessibility)(e);return n&&(t.accessibility=n),(0,a.hasModifier)(l.ExportKeyword,e)&&(t.export=!0),(0,a.hasModifier)(l.StaticKeyword,e)&&(t.static=!0),t}convertAssertClasue(e){return void 0===e?[]:e.elements.map(e=>this.convertChild(e))}applyModifiersToResult(e,t){if(!t)return;let n=[];for(let r of t)switch(r.kind){case l.ExportKeyword:case l.DefaultKeyword:break;case l.ConstKeyword:e.const=!0;break;case l.DeclareKeyword:e.declare=!0;break;default:n.push(this.convertChild(r))}n.length>0&&(e.modifiers=n)}fixParentLocation(e,t){t[0]e.range[1]&&(e.range[1]=t[1],e.loc.end=(0,a.getLineAndCharacterFor)(e.range[1],this.ast))}assertModuleSpecifier(e,t){var n;if(!t&&null==e.moduleSpecifier)throw(0,a.createError)(this.ast,e.pos,"Module specifier must be a string literal.");if(e.moduleSpecifier&&(null===(n=e.moduleSpecifier)||void 0===n?void 0:n.kind)!==l.StringLiteral)throw(0,a.createError)(this.ast,e.moduleSpecifier.pos,"Module specifier must be a string literal.")}convertNode(e,t){var n,r,c,_,p,d,f,m,h,y;switch(e.kind){case l.SourceFile:return this.createNode(e,{type:s.AST_NODE_TYPES.Program,body:this.convertBodyExpressions(e.statements,e),sourceType:e.externalModuleIndicator?"module":"script",range:[e.getStart(this.ast),e.endOfFileToken.end]});case l.Block:return this.createNode(e,{type:s.AST_NODE_TYPES.BlockStatement,body:this.convertBodyExpressions(e.statements,e)});case l.Identifier:return(0,a.isThisInTypeQuery)(e)?this.createNode(e,{type:s.AST_NODE_TYPES.ThisExpression}):this.createNode(e,{type:s.AST_NODE_TYPES.Identifier,name:e.text});case l.PrivateIdentifier:return this.createNode(e,{type:s.AST_NODE_TYPES.PrivateIdentifier,name:e.text.slice(1)});case l.WithStatement:return this.createNode(e,{type:s.AST_NODE_TYPES.WithStatement,object:this.convertChild(e.expression),body:this.convertChild(e.statement)});case l.ReturnStatement:return this.createNode(e,{type:s.AST_NODE_TYPES.ReturnStatement,argument:this.convertChild(e.expression)});case l.LabeledStatement:return this.createNode(e,{type:s.AST_NODE_TYPES.LabeledStatement,label:this.convertChild(e.label),body:this.convertChild(e.statement)});case l.ContinueStatement:return this.createNode(e,{type:s.AST_NODE_TYPES.ContinueStatement,label:this.convertChild(e.label)});case l.BreakStatement:return this.createNode(e,{type:s.AST_NODE_TYPES.BreakStatement,label:this.convertChild(e.label)});case l.IfStatement:return this.createNode(e,{type:s.AST_NODE_TYPES.IfStatement,test:this.convertChild(e.expression),consequent:this.convertChild(e.thenStatement),alternate:this.convertChild(e.elseStatement)});case l.SwitchStatement:return this.createNode(e,{type:s.AST_NODE_TYPES.SwitchStatement,discriminant:this.convertChild(e.expression),cases:e.caseBlock.clauses.map(e=>this.convertChild(e))});case l.CaseClause:case l.DefaultClause:return this.createNode(e,{type:s.AST_NODE_TYPES.SwitchCase,test:e.kind===l.CaseClause?this.convertChild(e.expression):null,consequent:e.statements.map(e=>this.convertChild(e))});case l.ThrowStatement:return this.createNode(e,{type:s.AST_NODE_TYPES.ThrowStatement,argument:this.convertChild(e.expression)});case l.TryStatement:return this.createNode(e,{type:s.AST_NODE_TYPES.TryStatement,block:this.convertChild(e.tryBlock),handler:this.convertChild(e.catchClause),finalizer:this.convertChild(e.finallyBlock)});case l.CatchClause:return this.createNode(e,{type:s.AST_NODE_TYPES.CatchClause,param:e.variableDeclaration?this.convertBindingNameWithTypeAnnotation(e.variableDeclaration.name,e.variableDeclaration.type):null,body:this.convertChild(e.block)});case l.WhileStatement:return this.createNode(e,{type:s.AST_NODE_TYPES.WhileStatement,test:this.convertChild(e.expression),body:this.convertChild(e.statement)});case l.DoStatement:return this.createNode(e,{type:s.AST_NODE_TYPES.DoWhileStatement,test:this.convertChild(e.expression),body:this.convertChild(e.statement)});case l.ForStatement:return this.createNode(e,{type:s.AST_NODE_TYPES.ForStatement,init:this.convertChild(e.initializer),test:this.convertChild(e.condition),update:this.convertChild(e.incrementor),body:this.convertChild(e.statement)});case l.ForInStatement:return this.createNode(e,{type:s.AST_NODE_TYPES.ForInStatement,left:this.convertPattern(e.initializer),right:this.convertChild(e.expression),body:this.convertChild(e.statement)});case l.ForOfStatement:return this.createNode(e,{type:s.AST_NODE_TYPES.ForOfStatement,left:this.convertPattern(e.initializer),right:this.convertChild(e.expression),body:this.convertChild(e.statement),await:!!(e.awaitModifier&&e.awaitModifier.kind===l.AwaitKeyword)});case l.FunctionDeclaration:{let t=(0,a.hasModifier)(l.DeclareKeyword,e),n=this.createNode(e,{type:t||!e.body?s.AST_NODE_TYPES.TSDeclareFunction:s.AST_NODE_TYPES.FunctionDeclaration,id:this.convertChild(e.name),generator:!!e.asteriskToken,expression:!1,async:(0,a.hasModifier)(l.AsyncKeyword,e),params:this.convertParameters(e.parameters),body:this.convertChild(e.body)||void 0});return e.type&&(n.returnType=this.convertTypeAnnotation(e.type,e)),e.typeParameters&&(n.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(e.typeParameters)),t&&(n.declare=!0),this.fixExports(e,n)}case l.VariableDeclaration:{let t=this.createNode(e,{type:s.AST_NODE_TYPES.VariableDeclarator,id:this.convertBindingNameWithTypeAnnotation(e.name,e.type,e),init:this.convertChild(e.initializer)});return e.exclamationToken&&(t.definite=!0),t}case l.VariableStatement:{let t=this.createNode(e,{type:s.AST_NODE_TYPES.VariableDeclaration,declarations:e.declarationList.declarations.map(e=>this.convertChild(e)),kind:(0,a.getDeclarationKind)(e.declarationList)});return(0,a.hasModifier)(l.DeclareKeyword,e)&&(t.declare=!0),this.fixExports(e,t)}case l.VariableDeclarationList:return this.createNode(e,{type:s.AST_NODE_TYPES.VariableDeclaration,declarations:e.declarations.map(e=>this.convertChild(e)),kind:(0,a.getDeclarationKind)(e)});case l.ExpressionStatement:return this.createNode(e,{type:s.AST_NODE_TYPES.ExpressionStatement,expression:this.convertChild(e.expression)});case l.ThisKeyword:return this.createNode(e,{type:s.AST_NODE_TYPES.ThisExpression});case l.ArrayLiteralExpression:return this.allowPattern?this.createNode(e,{type:s.AST_NODE_TYPES.ArrayPattern,elements:e.elements.map(e=>this.convertPattern(e))}):this.createNode(e,{type:s.AST_NODE_TYPES.ArrayExpression,elements:e.elements.map(e=>this.convertChild(e))});case l.ObjectLiteralExpression:return this.allowPattern?this.createNode(e,{type:s.AST_NODE_TYPES.ObjectPattern,properties:e.properties.map(e=>this.convertPattern(e))}):this.createNode(e,{type:s.AST_NODE_TYPES.ObjectExpression,properties:e.properties.map(e=>this.convertChild(e))});case l.PropertyAssignment:return this.createNode(e,{type:s.AST_NODE_TYPES.Property,key:this.convertChild(e.name),value:this.converter(e.initializer,e,this.inTypeMode,this.allowPattern),computed:(0,a.isComputedProperty)(e.name),method:!1,shorthand:!1,kind:"init"});case l.ShorthandPropertyAssignment:return e.objectAssignmentInitializer?this.createNode(e,{type:s.AST_NODE_TYPES.Property,key:this.convertChild(e.name),value:this.createNode(e,{type:s.AST_NODE_TYPES.AssignmentPattern,left:this.convertPattern(e.name),right:this.convertChild(e.objectAssignmentInitializer)}),computed:!1,method:!1,shorthand:!0,kind:"init"}):this.createNode(e,{type:s.AST_NODE_TYPES.Property,key:this.convertChild(e.name),value:this.convertChild(e.name),computed:!1,method:!1,shorthand:!0,kind:"init"});case l.ComputedPropertyName:return this.convertChild(e.expression);case l.PropertyDeclaration:{let t=(0,a.hasModifier)(l.AbstractKeyword,e),n=(0,a.hasModifier)(l.AccessorKeyword,e)?t?s.AST_NODE_TYPES.TSAbstractAccessorProperty:s.AST_NODE_TYPES.AccessorProperty:t?s.AST_NODE_TYPES.TSAbstractPropertyDefinition:s.AST_NODE_TYPES.PropertyDefinition,r=this.createNode(e,{type:n,key:this.convertChild(e.name),value:t?null:this.convertChild(e.initializer),computed:(0,a.isComputedProperty)(e.name),static:(0,a.hasModifier)(l.StaticKeyword,e),readonly:(0,a.hasModifier)(l.ReadonlyKeyword,e)||void 0,declare:(0,a.hasModifier)(l.DeclareKeyword,e),override:(0,a.hasModifier)(l.OverrideKeyword,e)});e.type&&(r.typeAnnotation=this.convertTypeAnnotation(e.type,e));let i=(0,o.getDecorators)(e);i&&(r.decorators=i.map(e=>this.convertChild(e)));let u=(0,a.getTSNodeAccessibility)(e);return u&&(r.accessibility=u),(e.name.kind===l.Identifier||e.name.kind===l.ComputedPropertyName||e.name.kind===l.PrivateIdentifier)&&e.questionToken&&(r.optional=!0),e.exclamationToken&&(r.definite=!0),r.key.type===s.AST_NODE_TYPES.Literal&&e.questionToken&&(r.optional=!0),r}case l.GetAccessor:case l.SetAccessor:if(e.parent.kind===l.InterfaceDeclaration||e.parent.kind===l.TypeLiteral)return this.convertMethodSignature(e);case l.MethodDeclaration:{let n,r=this.createNode(e,{type:e.body?s.AST_NODE_TYPES.FunctionExpression:s.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,id:null,generator:!!e.asteriskToken,expression:!1,async:(0,a.hasModifier)(l.AsyncKeyword,e),body:this.convertChild(e.body),range:[e.parameters.pos-1,e.end],params:[]});if(e.type&&(r.returnType=this.convertTypeAnnotation(e.type,e)),e.typeParameters&&(r.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(e.typeParameters),this.fixParentLocation(r,r.typeParameters.range)),t.kind===l.ObjectLiteralExpression)r.params=e.parameters.map(e=>this.convertChild(e)),n=this.createNode(e,{type:s.AST_NODE_TYPES.Property,key:this.convertChild(e.name),value:r,computed:(0,a.isComputedProperty)(e.name),method:e.kind===l.MethodDeclaration,shorthand:!1,kind:"init"});else{r.params=this.convertParameters(e.parameters);let t=(0,a.hasModifier)(l.AbstractKeyword,e)?s.AST_NODE_TYPES.TSAbstractMethodDefinition:s.AST_NODE_TYPES.MethodDefinition;n=this.createNode(e,{type:t,key:this.convertChild(e.name),value:r,computed:(0,a.isComputedProperty)(e.name),static:(0,a.hasModifier)(l.StaticKeyword,e),kind:"method",override:(0,a.hasModifier)(l.OverrideKeyword,e)});let i=(0,o.getDecorators)(e);i&&(n.decorators=i.map(e=>this.convertChild(e)));let u=(0,a.getTSNodeAccessibility)(e);u&&(n.accessibility=u)}return e.questionToken&&(n.optional=!0),e.kind===l.GetAccessor?n.kind="get":e.kind===l.SetAccessor?n.kind="set":n.static||e.name.kind!==l.StringLiteral||"constructor"!==e.name.text||n.type===s.AST_NODE_TYPES.Property||(n.kind="constructor"),n}case l.Constructor:{let t=(0,a.getLastModifier)(e),n=t&&(0,a.findNextToken)(t,e,this.ast)||e.getFirstToken(),r=this.createNode(e,{type:e.body?s.AST_NODE_TYPES.FunctionExpression:s.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,id:null,params:this.convertParameters(e.parameters),generator:!1,expression:!1,async:!1,body:this.convertChild(e.body),range:[e.parameters.pos-1,e.end]});e.typeParameters&&(r.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(e.typeParameters),this.fixParentLocation(r,r.typeParameters.range)),e.type&&(r.returnType=this.convertTypeAnnotation(e.type,e));let i=this.createNode(e,{type:s.AST_NODE_TYPES.Identifier,name:"constructor",range:[n.getStart(this.ast),n.end]}),o=(0,a.hasModifier)(l.StaticKeyword,e),u=this.createNode(e,{type:(0,a.hasModifier)(l.AbstractKeyword,e)?s.AST_NODE_TYPES.TSAbstractMethodDefinition:s.AST_NODE_TYPES.MethodDefinition,key:i,value:r,computed:!1,static:o,kind:o?"method":"constructor",override:!1}),c=(0,a.getTSNodeAccessibility)(e);return c&&(u.accessibility=c),u}case l.FunctionExpression:{let t=this.createNode(e,{type:s.AST_NODE_TYPES.FunctionExpression,id:this.convertChild(e.name),generator:!!e.asteriskToken,params:this.convertParameters(e.parameters),body:this.convertChild(e.body),async:(0,a.hasModifier)(l.AsyncKeyword,e),expression:!1});return e.type&&(t.returnType=this.convertTypeAnnotation(e.type,e)),e.typeParameters&&(t.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(e.typeParameters)),t}case l.SuperKeyword:return this.createNode(e,{type:s.AST_NODE_TYPES.Super});case l.ArrayBindingPattern:return this.createNode(e,{type:s.AST_NODE_TYPES.ArrayPattern,elements:e.elements.map(e=>this.convertPattern(e))});case l.OmittedExpression:return null;case l.ObjectBindingPattern:return this.createNode(e,{type:s.AST_NODE_TYPES.ObjectPattern,properties:e.elements.map(e=>this.convertPattern(e))});case l.BindingElement:if(t.kind===l.ArrayBindingPattern){let n=this.convertChild(e.name,t);return e.initializer?this.createNode(e,{type:s.AST_NODE_TYPES.AssignmentPattern,left:n,right:this.convertChild(e.initializer)}):e.dotDotDotToken?this.createNode(e,{type:s.AST_NODE_TYPES.RestElement,argument:n}):n}{let t;return t=e.dotDotDotToken?this.createNode(e,{type:s.AST_NODE_TYPES.RestElement,argument:this.convertChild(null!==(n=e.propertyName)&&void 0!==n?n:e.name)}):this.createNode(e,{type:s.AST_NODE_TYPES.Property,key:this.convertChild(null!==(r=e.propertyName)&&void 0!==r?r:e.name),value:this.convertChild(e.name),computed:!!(e.propertyName&&e.propertyName.kind===l.ComputedPropertyName),method:!1,shorthand:!e.propertyName,kind:"init"}),e.initializer&&(t.value=this.createNode(e,{type:s.AST_NODE_TYPES.AssignmentPattern,left:this.convertChild(e.name),right:this.convertChild(e.initializer),range:[e.name.getStart(this.ast),e.initializer.end]})),t}case l.ArrowFunction:{let t=this.createNode(e,{type:s.AST_NODE_TYPES.ArrowFunctionExpression,generator:!1,id:null,params:this.convertParameters(e.parameters),body:this.convertChild(e.body),async:(0,a.hasModifier)(l.AsyncKeyword,e),expression:e.body.kind!==l.Block});return e.type&&(t.returnType=this.convertTypeAnnotation(e.type,e)),e.typeParameters&&(t.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(e.typeParameters)),t}case l.YieldExpression:return this.createNode(e,{type:s.AST_NODE_TYPES.YieldExpression,delegate:!!e.asteriskToken,argument:this.convertChild(e.expression)});case l.AwaitExpression:return this.createNode(e,{type:s.AST_NODE_TYPES.AwaitExpression,argument:this.convertChild(e.expression)});case l.NoSubstitutionTemplateLiteral:return this.createNode(e,{type:s.AST_NODE_TYPES.TemplateLiteral,quasis:[this.createNode(e,{type:s.AST_NODE_TYPES.TemplateElement,value:{raw:this.ast.text.slice(e.getStart(this.ast)+1,e.end-1),cooked:e.text},tail:!0})],expressions:[]});case l.TemplateExpression:{let t=this.createNode(e,{type:s.AST_NODE_TYPES.TemplateLiteral,quasis:[this.convertChild(e.head)],expressions:[]});return e.templateSpans.forEach(e=>{t.expressions.push(this.convertChild(e.expression)),t.quasis.push(this.convertChild(e.literal))}),t}case l.TaggedTemplateExpression:return this.createNode(e,{type:s.AST_NODE_TYPES.TaggedTemplateExpression,typeParameters:e.typeArguments?this.convertTypeArgumentsToTypeParameters(e.typeArguments,e):void 0,tag:this.convertChild(e.tag),quasi:this.convertChild(e.template)});case l.TemplateHead:case l.TemplateMiddle:case l.TemplateTail:{let t=e.kind===l.TemplateTail;return this.createNode(e,{type:s.AST_NODE_TYPES.TemplateElement,value:{raw:this.ast.text.slice(e.getStart(this.ast)+1,e.end-(t?1:2)),cooked:e.text},tail:t})}case l.SpreadAssignment:case l.SpreadElement:return this.allowPattern?this.createNode(e,{type:s.AST_NODE_TYPES.RestElement,argument:this.convertPattern(e.expression)}):this.createNode(e,{type:s.AST_NODE_TYPES.SpreadElement,argument:this.convertChild(e.expression)});case l.Parameter:{let n,r;return e.dotDotDotToken?n=r=this.createNode(e,{type:s.AST_NODE_TYPES.RestElement,argument:this.convertChild(e.name)}):e.initializer?(n=this.convertChild(e.name),r=this.createNode(e,{type:s.AST_NODE_TYPES.AssignmentPattern,left:n,right:this.convertChild(e.initializer)}),(0,o.getModifiers)(e)&&(r.range[0]=n.range[0],r.loc=(0,a.getLocFor)(r.range[0],r.range[1],this.ast))):n=r=this.convertChild(e.name,t),e.type&&(n.typeAnnotation=this.convertTypeAnnotation(e.type,e),this.fixParentLocation(n,n.typeAnnotation.range)),e.questionToken&&(e.questionToken.end>n.range[1]&&(n.range[1]=e.questionToken.end,n.loc.end=(0,a.getLineAndCharacterFor)(n.range[1],this.ast)),n.optional=!0),(0,o.getModifiers)(e)?this.createNode(e,{type:s.AST_NODE_TYPES.TSParameterProperty,accessibility:null!==(c=(0,a.getTSNodeAccessibility)(e))&&void 0!==c?c:void 0,readonly:(0,a.hasModifier)(l.ReadonlyKeyword,e)||void 0,static:(0,a.hasModifier)(l.StaticKeyword,e)||void 0,export:(0,a.hasModifier)(l.ExportKeyword,e)||void 0,override:(0,a.hasModifier)(l.OverrideKeyword,e)||void 0,parameter:r}):r}case l.ClassDeclaration:case l.ClassExpression:{let t=null!==(_=e.heritageClauses)&&void 0!==_?_:[],n=e.kind===l.ClassDeclaration?s.AST_NODE_TYPES.ClassDeclaration:s.AST_NODE_TYPES.ClassExpression,r=t.find(e=>e.token===l.ExtendsKeyword),i=t.find(e=>e.token===l.ImplementsKeyword),u=this.createNode(e,{type:n,id:this.convertChild(e.name),body:this.createNode(e,{type:s.AST_NODE_TYPES.ClassBody,body:[],range:[e.members.pos-1,e.end]}),superClass:null!=r&&r.types[0]?this.convertChild(r.types[0].expression):null});if(r){if(r.types.length>1)throw(0,a.createError)(this.ast,r.types[1].pos,"Classes can only extend a single class.");!(null===(p=r.types[0])||void 0===p)&&p.typeArguments&&(u.superTypeParameters=this.convertTypeArgumentsToTypeParameters(r.types[0].typeArguments,r.types[0]))}e.typeParameters&&(u.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(e.typeParameters)),i&&(u.implements=i.types.map(e=>this.convertChild(e))),(0,a.hasModifier)(l.AbstractKeyword,e)&&(u.abstract=!0),(0,a.hasModifier)(l.DeclareKeyword,e)&&(u.declare=!0);let c=(0,o.getDecorators)(e);c&&(u.decorators=c.map(e=>this.convertChild(e)));let d=e.members.filter(a.isESTreeClassMember);return d.length&&(u.body.body=d.map(e=>this.convertChild(e))),this.fixExports(e,u)}case l.ModuleBlock:return this.createNode(e,{type:s.AST_NODE_TYPES.TSModuleBlock,body:this.convertBodyExpressions(e.statements,e)});case l.ImportDeclaration:{this.assertModuleSpecifier(e,!1);let t=this.createNode(e,{type:s.AST_NODE_TYPES.ImportDeclaration,source:this.convertChild(e.moduleSpecifier),specifiers:[],importKind:"value",assertions:this.convertAssertClasue(e.assertClause)});if(e.importClause&&(e.importClause.isTypeOnly&&(t.importKind="type"),e.importClause.name&&t.specifiers.push(this.convertChild(e.importClause)),e.importClause.namedBindings))switch(e.importClause.namedBindings.kind){case l.NamespaceImport:t.specifiers.push(this.convertChild(e.importClause.namedBindings));break;case l.NamedImports:t.specifiers=t.specifiers.concat(e.importClause.namedBindings.elements.map(e=>this.convertChild(e)))}return t}case l.NamespaceImport:return this.createNode(e,{type:s.AST_NODE_TYPES.ImportNamespaceSpecifier,local:this.convertChild(e.name)});case l.ImportSpecifier:return this.createNode(e,{type:s.AST_NODE_TYPES.ImportSpecifier,local:this.convertChild(e.name),imported:this.convertChild(null!==(d=e.propertyName)&&void 0!==d?d:e.name),importKind:e.isTypeOnly?"type":"value"});case l.ImportClause:{let t=this.convertChild(e.name);return this.createNode(e,{type:s.AST_NODE_TYPES.ImportDefaultSpecifier,local:t,range:t.range})}case l.ExportDeclaration:return(null===(f=e.exportClause)||void 0===f?void 0:f.kind)===l.NamedExports?(this.assertModuleSpecifier(e,!0),this.createNode(e,{type:s.AST_NODE_TYPES.ExportNamedDeclaration,source:this.convertChild(e.moduleSpecifier),specifiers:e.exportClause.elements.map(e=>this.convertChild(e)),exportKind:e.isTypeOnly?"type":"value",declaration:null,assertions:this.convertAssertClasue(e.assertClause)})):(this.assertModuleSpecifier(e,!1),this.createNode(e,{type:s.AST_NODE_TYPES.ExportAllDeclaration,source:this.convertChild(e.moduleSpecifier),exportKind:e.isTypeOnly?"type":"value",exported:e.exportClause&&e.exportClause.kind===l.NamespaceExport?this.convertChild(e.exportClause.name):null,assertions:this.convertAssertClasue(e.assertClause)}));case l.ExportSpecifier:return this.createNode(e,{type:s.AST_NODE_TYPES.ExportSpecifier,local:this.convertChild(null!==(m=e.propertyName)&&void 0!==m?m:e.name),exported:this.convertChild(e.name),exportKind:e.isTypeOnly?"type":"value"});case l.ExportAssignment:return e.isExportEquals?this.createNode(e,{type:s.AST_NODE_TYPES.TSExportAssignment,expression:this.convertChild(e.expression)}):this.createNode(e,{type:s.AST_NODE_TYPES.ExportDefaultDeclaration,declaration:this.convertChild(e.expression),exportKind:"value"});case l.PrefixUnaryExpression:case l.PostfixUnaryExpression:{let t=(0,a.getTextForTokenKind)(e.operator);return"++"===t||"--"===t?this.createNode(e,{type:s.AST_NODE_TYPES.UpdateExpression,operator:t,prefix:e.kind===l.PrefixUnaryExpression,argument:this.convertChild(e.operand)}):this.createNode(e,{type:s.AST_NODE_TYPES.UnaryExpression,operator:t,prefix:e.kind===l.PrefixUnaryExpression,argument:this.convertChild(e.operand)})}case l.DeleteExpression:return this.createNode(e,{type:s.AST_NODE_TYPES.UnaryExpression,operator:"delete",prefix:!0,argument:this.convertChild(e.expression)});case l.VoidExpression:return this.createNode(e,{type:s.AST_NODE_TYPES.UnaryExpression,operator:"void",prefix:!0,argument:this.convertChild(e.expression)});case l.TypeOfExpression:return this.createNode(e,{type:s.AST_NODE_TYPES.UnaryExpression,operator:"typeof",prefix:!0,argument:this.convertChild(e.expression)});case l.TypeOperator:return this.createNode(e,{type:s.AST_NODE_TYPES.TSTypeOperator,operator:(0,a.getTextForTokenKind)(e.operator),typeAnnotation:this.convertChild(e.type)});case l.BinaryExpression:if((0,a.isComma)(e.operatorToken)){let t=this.createNode(e,{type:s.AST_NODE_TYPES.SequenceExpression,expressions:[]}),n=this.convertChild(e.left);return n.type===s.AST_NODE_TYPES.SequenceExpression&&e.left.kind!==l.ParenthesizedExpression?t.expressions=t.expressions.concat(n.expressions):t.expressions.push(n),t.expressions.push(this.convertChild(e.right)),t}{let t=(0,a.getBinaryExpressionType)(e.operatorToken);return this.allowPattern&&t===s.AST_NODE_TYPES.AssignmentExpression?this.createNode(e,{type:s.AST_NODE_TYPES.AssignmentPattern,left:this.convertPattern(e.left,e),right:this.convertChild(e.right)}):this.createNode(e,{type:t,operator:(0,a.getTextForTokenKind)(e.operatorToken.kind),left:this.converter(e.left,e,this.inTypeMode,t===s.AST_NODE_TYPES.AssignmentExpression),right:this.convertChild(e.right)})}case l.PropertyAccessExpression:{let t=this.convertChild(e.expression),n=this.convertChild(e.name),r=this.createNode(e,{type:s.AST_NODE_TYPES.MemberExpression,object:t,property:n,computed:!1,optional:void 0!==e.questionDotToken});return this.convertChainExpression(r,e)}case l.ElementAccessExpression:{let t=this.convertChild(e.expression),n=this.convertChild(e.argumentExpression),r=this.createNode(e,{type:s.AST_NODE_TYPES.MemberExpression,object:t,property:n,computed:!0,optional:void 0!==e.questionDotToken});return this.convertChainExpression(r,e)}case l.CallExpression:{if(e.expression.kind===l.ImportKeyword){if(1!==e.arguments.length&&2!==e.arguments.length)throw(0,a.createError)(this.ast,e.arguments.pos,"Dynamic import requires exactly one or two arguments.");return this.createNode(e,{type:s.AST_NODE_TYPES.ImportExpression,source:this.convertChild(e.arguments[0]),attributes:e.arguments[1]?this.convertChild(e.arguments[1]):null})}let t=this.convertChild(e.expression),n=e.arguments.map(e=>this.convertChild(e)),r=this.createNode(e,{type:s.AST_NODE_TYPES.CallExpression,callee:t,arguments:n,optional:void 0!==e.questionDotToken});return e.typeArguments&&(r.typeParameters=this.convertTypeArgumentsToTypeParameters(e.typeArguments,e)),this.convertChainExpression(r,e)}case l.NewExpression:{let t=this.createNode(e,{type:s.AST_NODE_TYPES.NewExpression,callee:this.convertChild(e.expression),arguments:e.arguments?e.arguments.map(e=>this.convertChild(e)):[]});return e.typeArguments&&(t.typeParameters=this.convertTypeArgumentsToTypeParameters(e.typeArguments,e)),t}case l.ConditionalExpression:return this.createNode(e,{type:s.AST_NODE_TYPES.ConditionalExpression,test:this.convertChild(e.condition),consequent:this.convertChild(e.whenTrue),alternate:this.convertChild(e.whenFalse)});case l.MetaProperty:return this.createNode(e,{type:s.AST_NODE_TYPES.MetaProperty,meta:this.createNode(e.getFirstToken(),{type:s.AST_NODE_TYPES.Identifier,name:(0,a.getTextForTokenKind)(e.keywordToken)}),property:this.convertChild(e.name)});case l.Decorator:return this.createNode(e,{type:s.AST_NODE_TYPES.Decorator,expression:this.convertChild(e.expression)});case l.StringLiteral:return this.createNode(e,{type:s.AST_NODE_TYPES.Literal,value:t.kind===l.JsxAttribute?(0,a.unescapeStringLiteralText)(e.text):e.text,raw:e.getText()});case l.NumericLiteral:return this.createNode(e,{type:s.AST_NODE_TYPES.Literal,value:Number(e.text),raw:e.getText()});case l.BigIntLiteral:{let t=(0,a.getRange)(e,this.ast),n=this.ast.text.slice(t[0],t[1]),r=n.slice(0,-1).replace(/_/g,""),i="u">typeof BigInt?BigInt(r):null;return this.createNode(e,{type:s.AST_NODE_TYPES.Literal,raw:n,value:i,bigint:null==i?r:String(i),range:t})}case l.RegularExpressionLiteral:{let t=e.text.slice(1,e.text.lastIndexOf("/")),n=e.text.slice(e.text.lastIndexOf("/")+1),r=null;try{r=new RegExp(t,n)}catch{r=null}return this.createNode(e,{type:s.AST_NODE_TYPES.Literal,value:r,raw:e.text,regex:{pattern:t,flags:n}})}case l.TrueKeyword:return this.createNode(e,{type:s.AST_NODE_TYPES.Literal,value:!0,raw:"true"});case l.FalseKeyword:return this.createNode(e,{type:s.AST_NODE_TYPES.Literal,value:!1,raw:"false"});case l.NullKeyword:return!u.typescriptVersionIsAtLeast["4.0"]&&this.inTypeMode?this.createNode(e,{type:s.AST_NODE_TYPES.TSNullKeyword}):this.createNode(e,{type:s.AST_NODE_TYPES.Literal,value:null,raw:"null"});case l.EmptyStatement:return this.createNode(e,{type:s.AST_NODE_TYPES.EmptyStatement});case l.DebuggerStatement:return this.createNode(e,{type:s.AST_NODE_TYPES.DebuggerStatement});case l.JsxElement:return this.createNode(e,{type:s.AST_NODE_TYPES.JSXElement,openingElement:this.convertChild(e.openingElement),closingElement:this.convertChild(e.closingElement),children:e.children.map(e=>this.convertChild(e))});case l.JsxFragment:return this.createNode(e,{type:s.AST_NODE_TYPES.JSXFragment,openingFragment:this.convertChild(e.openingFragment),closingFragment:this.convertChild(e.closingFragment),children:e.children.map(e=>this.convertChild(e))});case l.JsxSelfClosingElement:return this.createNode(e,{type:s.AST_NODE_TYPES.JSXElement,openingElement:this.createNode(e,{type:s.AST_NODE_TYPES.JSXOpeningElement,typeParameters:e.typeArguments?this.convertTypeArgumentsToTypeParameters(e.typeArguments,e):void 0,selfClosing:!0,name:this.convertJSXTagName(e.tagName,e),attributes:e.attributes.properties.map(e=>this.convertChild(e)),range:(0,a.getRange)(e,this.ast)}),closingElement:null,children:[]});case l.JsxOpeningElement:return this.createNode(e,{type:s.AST_NODE_TYPES.JSXOpeningElement,typeParameters:e.typeArguments?this.convertTypeArgumentsToTypeParameters(e.typeArguments,e):void 0,selfClosing:!1,name:this.convertJSXTagName(e.tagName,e),attributes:e.attributes.properties.map(e=>this.convertChild(e))});case l.JsxClosingElement:return this.createNode(e,{type:s.AST_NODE_TYPES.JSXClosingElement,name:this.convertJSXTagName(e.tagName,e)});case l.JsxOpeningFragment:return this.createNode(e,{type:s.AST_NODE_TYPES.JSXOpeningFragment});case l.JsxClosingFragment:return this.createNode(e,{type:s.AST_NODE_TYPES.JSXClosingFragment});case l.JsxExpression:{let t=e.expression?this.convertChild(e.expression):this.createNode(e,{type:s.AST_NODE_TYPES.JSXEmptyExpression,range:[e.getStart(this.ast)+1,e.getEnd()-1]});return e.dotDotDotToken?this.createNode(e,{type:s.AST_NODE_TYPES.JSXSpreadChild,expression:t}):this.createNode(e,{type:s.AST_NODE_TYPES.JSXExpressionContainer,expression:t})}case l.JsxAttribute:return this.createNode(e,{type:s.AST_NODE_TYPES.JSXAttribute,name:this.convertJSXNamespaceOrIdentifier(e.name),value:this.convertChild(e.initializer)});case l.JsxText:{let t=e.getFullStart(),n=e.getEnd(),r=this.ast.text.slice(t,n);return this.createNode(e,{type:s.AST_NODE_TYPES.JSXText,value:(0,a.unescapeStringLiteralText)(r),raw:r,range:[t,n]})}case l.JsxSpreadAttribute:return this.createNode(e,{type:s.AST_NODE_TYPES.JSXSpreadAttribute,argument:this.convertChild(e.expression)});case l.QualifiedName:return this.createNode(e,{type:s.AST_NODE_TYPES.TSQualifiedName,left:this.convertChild(e.left),right:this.convertChild(e.right)});case l.TypeReference:return this.createNode(e,{type:s.AST_NODE_TYPES.TSTypeReference,typeName:this.convertType(e.typeName),typeParameters:e.typeArguments?this.convertTypeArgumentsToTypeParameters(e.typeArguments,e):void 0});case l.TypeParameter:return this.createNode(e,{type:s.AST_NODE_TYPES.TSTypeParameter,name:this.convertType(e.name),constraint:e.constraint?this.convertType(e.constraint):void 0,default:e.default?this.convertType(e.default):void 0,in:(0,a.hasModifier)(l.InKeyword,e),out:(0,a.hasModifier)(l.OutKeyword,e),const:(0,a.hasModifier)(l.ConstKeyword,e)});case l.ThisType:return this.createNode(e,{type:s.AST_NODE_TYPES.TSThisType});case l.AnyKeyword:case l.BigIntKeyword:case l.BooleanKeyword:case l.NeverKeyword:case l.NumberKeyword:case l.ObjectKeyword:case l.StringKeyword:case l.SymbolKeyword:case l.UnknownKeyword:case l.VoidKeyword:case l.UndefinedKeyword:case l.IntrinsicKeyword:return this.createNode(e,{type:s.AST_NODE_TYPES[`TS${l[e.kind]}`]});case l.NonNullExpression:{let t=this.createNode(e,{type:s.AST_NODE_TYPES.TSNonNullExpression,expression:this.convertChild(e.expression)});return this.convertChainExpression(t,e)}case l.TypeLiteral:return this.createNode(e,{type:s.AST_NODE_TYPES.TSTypeLiteral,members:e.members.map(e=>this.convertChild(e))});case l.ArrayType:return this.createNode(e,{type:s.AST_NODE_TYPES.TSArrayType,elementType:this.convertType(e.elementType)});case l.IndexedAccessType:return this.createNode(e,{type:s.AST_NODE_TYPES.TSIndexedAccessType,objectType:this.convertType(e.objectType),indexType:this.convertType(e.indexType)});case l.ConditionalType:return this.createNode(e,{type:s.AST_NODE_TYPES.TSConditionalType,checkType:this.convertType(e.checkType),extendsType:this.convertType(e.extendsType),trueType:this.convertType(e.trueType),falseType:this.convertType(e.falseType)});case l.TypeQuery:return this.createNode(e,{type:s.AST_NODE_TYPES.TSTypeQuery,exprName:this.convertType(e.exprName),typeParameters:e.typeArguments&&this.convertTypeArgumentsToTypeParameters(e.typeArguments,e)});case l.MappedType:{let t=this.createNode(e,{type:s.AST_NODE_TYPES.TSMappedType,typeParameter:this.convertType(e.typeParameter),nameType:null!==(h=this.convertType(e.nameType))&&void 0!==h?h:null});return e.readonlyToken&&(e.readonlyToken.kind===l.ReadonlyKeyword?t.readonly=!0:t.readonly=(0,a.getTextForTokenKind)(e.readonlyToken.kind)),e.questionToken&&(e.questionToken.kind===l.QuestionToken?t.optional=!0:t.optional=(0,a.getTextForTokenKind)(e.questionToken.kind)),e.type&&(t.typeAnnotation=this.convertType(e.type)),t}case l.ParenthesizedExpression:return this.convertChild(e.expression,t);case l.TypeAliasDeclaration:{let t=this.createNode(e,{type:s.AST_NODE_TYPES.TSTypeAliasDeclaration,id:this.convertChild(e.name),typeAnnotation:this.convertType(e.type)});return(0,a.hasModifier)(l.DeclareKeyword,e)&&(t.declare=!0),e.typeParameters&&(t.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(e.typeParameters)),this.fixExports(e,t)}case l.MethodSignature:return this.convertMethodSignature(e);case l.PropertySignature:{let t=this.createNode(e,{type:s.AST_NODE_TYPES.TSPropertySignature,optional:(0,a.isOptional)(e)||void 0,computed:(0,a.isComputedProperty)(e.name),key:this.convertChild(e.name),typeAnnotation:e.type?this.convertTypeAnnotation(e.type,e):void 0,initializer:this.convertChild(e.initializer)||void 0,readonly:(0,a.hasModifier)(l.ReadonlyKeyword,e)||void 0,static:(0,a.hasModifier)(l.StaticKeyword,e)||void 0,export:(0,a.hasModifier)(l.ExportKeyword,e)||void 0}),n=(0,a.getTSNodeAccessibility)(e);return n&&(t.accessibility=n),t}case l.IndexSignature:{let t=this.createNode(e,{type:s.AST_NODE_TYPES.TSIndexSignature,parameters:e.parameters.map(e=>this.convertChild(e))});e.type&&(t.typeAnnotation=this.convertTypeAnnotation(e.type,e)),(0,a.hasModifier)(l.ReadonlyKeyword,e)&&(t.readonly=!0);let n=(0,a.getTSNodeAccessibility)(e);return n&&(t.accessibility=n),(0,a.hasModifier)(l.ExportKeyword,e)&&(t.export=!0),(0,a.hasModifier)(l.StaticKeyword,e)&&(t.static=!0),t}case l.ConstructorType:{let t=this.createNode(e,{type:s.AST_NODE_TYPES.TSConstructorType,params:this.convertParameters(e.parameters),abstract:(0,a.hasModifier)(l.AbstractKeyword,e)});return e.type&&(t.returnType=this.convertTypeAnnotation(e.type,e)),e.typeParameters&&(t.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(e.typeParameters)),t}case l.FunctionType:case l.ConstructSignature:case l.CallSignature:{let t=e.kind===l.ConstructSignature?s.AST_NODE_TYPES.TSConstructSignatureDeclaration:e.kind===l.CallSignature?s.AST_NODE_TYPES.TSCallSignatureDeclaration:s.AST_NODE_TYPES.TSFunctionType,n=this.createNode(e,{type:t,params:this.convertParameters(e.parameters)});return e.type&&(n.returnType=this.convertTypeAnnotation(e.type,e)),e.typeParameters&&(n.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(e.typeParameters)),n}case l.ExpressionWithTypeArguments:{let n=t.kind,r=n===l.InterfaceDeclaration?s.AST_NODE_TYPES.TSInterfaceHeritage:n===l.HeritageClause?s.AST_NODE_TYPES.TSClassImplements:s.AST_NODE_TYPES.TSInstantiationExpression,i=this.createNode(e,{type:r,expression:this.convertChild(e.expression)});return e.typeArguments&&(i.typeParameters=this.convertTypeArgumentsToTypeParameters(e.typeArguments,e)),i}case l.InterfaceDeclaration:{let t=null!==(y=e.heritageClauses)&&void 0!==y?y:[],n=this.createNode(e,{type:s.AST_NODE_TYPES.TSInterfaceDeclaration,body:this.createNode(e,{type:s.AST_NODE_TYPES.TSInterfaceBody,body:e.members.map(e=>this.convertChild(e)),range:[e.members.pos-1,e.end]}),id:this.convertChild(e.name)});if(e.typeParameters&&(n.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(e.typeParameters)),t.length>0){let r=[],i=[];for(let n of t)if(n.token===l.ExtendsKeyword)for(let t of n.types)r.push(this.convertChild(t,e));else for(let t of n.types)i.push(this.convertChild(t,e));r.length&&(n.extends=r),i.length&&(n.implements=i)}return(0,a.hasModifier)(l.AbstractKeyword,e)&&(n.abstract=!0),(0,a.hasModifier)(l.DeclareKeyword,e)&&(n.declare=!0),this.fixExports(e,n)}case l.TypePredicate:{let t=this.createNode(e,{type:s.AST_NODE_TYPES.TSTypePredicate,asserts:void 0!==e.assertsModifier,parameterName:this.convertChild(e.parameterName),typeAnnotation:null});return e.type&&(t.typeAnnotation=this.convertTypeAnnotation(e.type,e),t.typeAnnotation.loc=t.typeAnnotation.typeAnnotation.loc,t.typeAnnotation.range=t.typeAnnotation.typeAnnotation.range),t}case l.ImportType:return this.createNode(e,{type:s.AST_NODE_TYPES.TSImportType,isTypeOf:!!e.isTypeOf,parameter:this.convertChild(e.argument),qualifier:this.convertChild(e.qualifier),typeParameters:e.typeArguments?this.convertTypeArgumentsToTypeParameters(e.typeArguments,e):null});case l.EnumDeclaration:{let t=this.createNode(e,{type:s.AST_NODE_TYPES.TSEnumDeclaration,id:this.convertChild(e.name),members:e.members.map(e=>this.convertChild(e))});return this.applyModifiersToResult(t,(0,o.getModifiers)(e)),this.fixExports(e,t)}case l.EnumMember:{let t=this.createNode(e,{type:s.AST_NODE_TYPES.TSEnumMember,id:this.convertChild(e.name)});return e.initializer&&(t.initializer=this.convertChild(e.initializer)),e.name.kind===i.SyntaxKind.ComputedPropertyName&&(t.computed=!0),t}case l.ModuleDeclaration:{let t=this.createNode(e,Object.assign({type:s.AST_NODE_TYPES.TSModuleDeclaration},(()=>{let t=this.convertChild(e.name),n=this.convertChild(e.body);if(e.flags&i.NodeFlags.GlobalAugmentation){if(null==n||n.type===s.AST_NODE_TYPES.TSModuleDeclaration)throw Error("Expected a valid module body");if(t.type!==s.AST_NODE_TYPES.Identifier)throw Error("global module augmentation must have an Identifier id");return{kind:"global",id:t,body:n,global:!0}}if(!(e.flags&i.NodeFlags.Namespace))return Object.assign({kind:"module",id:t},null!=n?{body:n}:{});if(null==n)throw Error("Expected a module body");if(t.type!==s.AST_NODE_TYPES.Identifier)throw Error("`namespace`s must have an Identifier id");return{kind:"namespace",id:t,body:n}})()));return this.applyModifiersToResult(t,(0,o.getModifiers)(e)),this.fixExports(e,t)}case l.ParenthesizedType:return this.convertType(e.type);case l.UnionType:return this.createNode(e,{type:s.AST_NODE_TYPES.TSUnionType,types:e.types.map(e=>this.convertType(e))});case l.IntersectionType:return this.createNode(e,{type:s.AST_NODE_TYPES.TSIntersectionType,types:e.types.map(e=>this.convertType(e))});case l.AsExpression:return this.createNode(e,{type:s.AST_NODE_TYPES.TSAsExpression,expression:this.convertChild(e.expression),typeAnnotation:this.convertType(e.type)});case l.InferType:return this.createNode(e,{type:s.AST_NODE_TYPES.TSInferType,typeParameter:this.convertType(e.typeParameter)});case l.LiteralType:return u.typescriptVersionIsAtLeast["4.0"]&&e.literal.kind===l.NullKeyword?this.createNode(e.literal,{type:s.AST_NODE_TYPES.TSNullKeyword}):this.createNode(e,{type:s.AST_NODE_TYPES.TSLiteralType,literal:this.convertType(e.literal)});case l.TypeAssertionExpression:return this.createNode(e,{type:s.AST_NODE_TYPES.TSTypeAssertion,typeAnnotation:this.convertType(e.type),expression:this.convertChild(e.expression)});case l.ImportEqualsDeclaration:return this.createNode(e,{type:s.AST_NODE_TYPES.TSImportEqualsDeclaration,id:this.convertChild(e.name),moduleReference:this.convertChild(e.moduleReference),importKind:e.isTypeOnly?"type":"value",isExport:(0,a.hasModifier)(l.ExportKeyword,e)});case l.ExternalModuleReference:return this.createNode(e,{type:s.AST_NODE_TYPES.TSExternalModuleReference,expression:this.convertChild(e.expression)});case l.NamespaceExportDeclaration:return this.createNode(e,{type:s.AST_NODE_TYPES.TSNamespaceExportDeclaration,id:this.convertChild(e.name)});case l.AbstractKeyword:return this.createNode(e,{type:s.AST_NODE_TYPES.TSAbstractKeyword});case l.TupleType:{let t="elementTypes"in e?e.elementTypes.map(e=>this.convertType(e)):e.elements.map(e=>this.convertType(e));return this.createNode(e,{type:s.AST_NODE_TYPES.TSTupleType,elementTypes:t})}case l.NamedTupleMember:{let t=this.createNode(e,{type:s.AST_NODE_TYPES.TSNamedTupleMember,elementType:this.convertType(e.type,e),label:this.convertChild(e.name,e),optional:null!=e.questionToken});return e.dotDotDotToken?(t.range[0]=t.label.range[0],t.loc.start=t.label.loc.start,this.createNode(e,{type:s.AST_NODE_TYPES.TSRestType,typeAnnotation:t})):t}case l.OptionalType:return this.createNode(e,{type:s.AST_NODE_TYPES.TSOptionalType,typeAnnotation:this.convertType(e.type)});case l.RestType:return this.createNode(e,{type:s.AST_NODE_TYPES.TSRestType,typeAnnotation:this.convertType(e.type)});case l.TemplateLiteralType:{let t=this.createNode(e,{type:s.AST_NODE_TYPES.TSTemplateLiteralType,quasis:[this.convertChild(e.head)],types:[]});return e.templateSpans.forEach(e=>{t.types.push(this.convertChild(e.type)),t.quasis.push(this.convertChild(e.literal))}),t}case l.ClassStaticBlockDeclaration:return this.createNode(e,{type:s.AST_NODE_TYPES.StaticBlock,body:this.convertBodyExpressions(e.body.statements,e)});case l.AssertEntry:return this.createNode(e,{type:s.AST_NODE_TYPES.ImportAttribute,key:this.convertChild(e.name),value:this.convertChild(e.value)});case l.SatisfiesExpression:return this.createNode(e,{type:s.AST_NODE_TYPES.TSSatisfiesExpression,expression:this.convertChild(e.expression),typeAnnotation:this.convertChild(e.type)});default:return this.deeplyCopy(e)}}};e.Converter=c}}),e9={};function te(e,t){function n(){this.constructor=e}tD(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function tt(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function tn(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function tr(e,t){return function(n,r){t(n,r,e)}}function ti(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function to(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})}function ta(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function tc(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function t_(){for(var e=[],t=0;t1||s(e,t)})})}function s(e,t){try{var n;(n=i[e](t)).value instanceof td?Promise.resolve(n.value.v).then(u,l):c(o[0][2],n)}catch(e){c(o[0][3],e)}}function u(e){s("next",e)}function l(e){s("throw",e)}function c(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function tm(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:td(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function th(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=tl(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,i){!function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}(r,i,(t=e[n](t)).done,t.value)})}}}function ty(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function tg(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function tb(e){return e&&e.__esModule?e:{default:e}}function tv(e,t){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return t.get(e)}function tx(e,t,n){if(!t.has(e))throw TypeError("attempted to set private field on non-instance");return t.set(e,n),n}l(e9,{__assign:()=>tS,__asyncDelegator:()=>tm,__asyncGenerator:()=>tf,__asyncValues:()=>th,__await:()=>td,__awaiter:()=>to,__classPrivateFieldGet:()=>tv,__classPrivateFieldSet:()=>tx,__createBinding:()=>ts,__decorate:()=>tn,__exportStar:()=>tu,__extends:()=>te,__generator:()=>ta,__importDefault:()=>tb,__importStar:()=>tg,__makeTemplateObject:()=>ty,__metadata:()=>ti,__param:()=>tr,__read:()=>tc,__rest:()=>tt,__spread:()=>t_,__spreadArrays:()=>tp,__values:()=>tl});var tD,tS,tT=s({"node_modules/tslib/tslib.es6.js"(){p(),tD=function(e,t){return(tD=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},tS=function(){return(tS=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=t.SyntaxKind.FirstLiteralToken&&e.kind<=t.SyntaxKind.LastLiteralToken},e.isLiteralTypeNode=function(e){return e.kind===t.SyntaxKind.LiteralType},e.isMappedTypeNode=function(e){return e.kind===t.SyntaxKind.MappedType},e.isMetaProperty=function(e){return e.kind===t.SyntaxKind.MetaProperty},e.isMethodDeclaration=function(e){return e.kind===t.SyntaxKind.MethodDeclaration},e.isMethodSignature=function(e){return e.kind===t.SyntaxKind.MethodSignature},e.isModuleBlock=function(e){return e.kind===t.SyntaxKind.ModuleBlock},e.isModuleDeclaration=n,e.isNamedExports=function(e){return e.kind===t.SyntaxKind.NamedExports},e.isNamedImports=function(e){return e.kind===t.SyntaxKind.NamedImports},e.isNamespaceDeclaration=function e(r){return n(r)&&r.name.kind===t.SyntaxKind.Identifier&&void 0!==r.body&&(r.body.kind===t.SyntaxKind.ModuleBlock||e(r.body))},e.isNamespaceImport=function(e){return e.kind===t.SyntaxKind.NamespaceImport},e.isNamespaceExportDeclaration=function(e){return e.kind===t.SyntaxKind.NamespaceExportDeclaration},e.isNewExpression=function(e){return e.kind===t.SyntaxKind.NewExpression},e.isNonNullExpression=function(e){return e.kind===t.SyntaxKind.NonNullExpression},e.isNoSubstitutionTemplateLiteral=function(e){return e.kind===t.SyntaxKind.NoSubstitutionTemplateLiteral},e.isNullLiteral=function(e){return e.kind===t.SyntaxKind.NullKeyword},e.isNumericLiteral=function(e){return e.kind===t.SyntaxKind.NumericLiteral},e.isNumericOrStringLikeLiteral=function(e){switch(e.kind){case t.SyntaxKind.StringLiteral:case t.SyntaxKind.NumericLiteral:case t.SyntaxKind.NoSubstitutionTemplateLiteral:return!0;default:return!1}},e.isObjectBindingPattern=function(e){return e.kind===t.SyntaxKind.ObjectBindingPattern},e.isObjectLiteralExpression=function(e){return e.kind===t.SyntaxKind.ObjectLiteralExpression},e.isOmittedExpression=function(e){return e.kind===t.SyntaxKind.OmittedExpression},e.isParameterDeclaration=function(e){return e.kind===t.SyntaxKind.Parameter},e.isParenthesizedExpression=function(e){return e.kind===t.SyntaxKind.ParenthesizedExpression},e.isParenthesizedTypeNode=function(e){return e.kind===t.SyntaxKind.ParenthesizedType},e.isPostfixUnaryExpression=function(e){return e.kind===t.SyntaxKind.PostfixUnaryExpression},e.isPrefixUnaryExpression=function(e){return e.kind===t.SyntaxKind.PrefixUnaryExpression},e.isPropertyAccessExpression=r,e.isPropertyAssignment=function(e){return e.kind===t.SyntaxKind.PropertyAssignment},e.isPropertyDeclaration=function(e){return e.kind===t.SyntaxKind.PropertyDeclaration},e.isPropertySignature=function(e){return e.kind===t.SyntaxKind.PropertySignature},e.isQualifiedName=i,e.isRegularExpressionLiteral=function(e){return e.kind===t.SyntaxKind.RegularExpressionLiteral},e.isReturnStatement=function(e){return e.kind===t.SyntaxKind.ReturnStatement},e.isSetAccessorDeclaration=function(e){return e.kind===t.SyntaxKind.SetAccessor},e.isShorthandPropertyAssignment=function(e){return e.kind===t.SyntaxKind.ShorthandPropertyAssignment},e.isSignatureDeclaration=function(e){return void 0!==e.parameters},e.isSourceFile=function(e){return e.kind===t.SyntaxKind.SourceFile},e.isSpreadAssignment=function(e){return e.kind===t.SyntaxKind.SpreadAssignment},e.isSpreadElement=function(e){return e.kind===t.SyntaxKind.SpreadElement},e.isStringLiteral=function(e){return e.kind===t.SyntaxKind.StringLiteral},e.isSwitchStatement=function(e){return e.kind===t.SyntaxKind.SwitchStatement},e.isSyntaxList=function(e){return e.kind===t.SyntaxKind.SyntaxList},e.isTaggedTemplateExpression=function(e){return e.kind===t.SyntaxKind.TaggedTemplateExpression},e.isTemplateExpression=function(e){return e.kind===t.SyntaxKind.TemplateExpression},e.isTemplateLiteral=function(e){return e.kind===t.SyntaxKind.TemplateExpression||e.kind===t.SyntaxKind.NoSubstitutionTemplateLiteral},e.isTextualLiteral=function(e){return e.kind===t.SyntaxKind.StringLiteral||e.kind===t.SyntaxKind.NoSubstitutionTemplateLiteral},e.isThrowStatement=function(e){return e.kind===t.SyntaxKind.ThrowStatement},e.isTryStatement=function(e){return e.kind===t.SyntaxKind.TryStatement},e.isTupleTypeNode=function(e){return e.kind===t.SyntaxKind.TupleType},e.isTypeAliasDeclaration=function(e){return e.kind===t.SyntaxKind.TypeAliasDeclaration},e.isTypeAssertion=function(e){return e.kind===t.SyntaxKind.TypeAssertionExpression},e.isTypeLiteralNode=function(e){return e.kind===t.SyntaxKind.TypeLiteral},e.isTypeOfExpression=function(e){return e.kind===t.SyntaxKind.TypeOfExpression},e.isTypeOperatorNode=function(e){return e.kind===t.SyntaxKind.TypeOperator},e.isTypeParameterDeclaration=function(e){return e.kind===t.SyntaxKind.TypeParameter},e.isTypePredicateNode=function(e){return e.kind===t.SyntaxKind.TypePredicate},e.isTypeReferenceNode=function(e){return e.kind===t.SyntaxKind.TypeReference},e.isTypeQueryNode=function(e){return e.kind===t.SyntaxKind.TypeQuery},e.isUnionTypeNode=function(e){return e.kind===t.SyntaxKind.UnionType},e.isVariableDeclaration=function(e){return e.kind===t.SyntaxKind.VariableDeclaration},e.isVariableStatement=function(e){return e.kind===t.SyntaxKind.VariableStatement},e.isVariableDeclarationList=function(e){return e.kind===t.SyntaxKind.VariableDeclarationList},e.isVoidExpression=function(e){return e.kind===t.SyntaxKind.VoidExpression},e.isWhileStatement=function(e){return e.kind===t.SyntaxKind.WhileStatement},e.isWithStatement=function(e){return e.kind===t.SyntaxKind.WithStatement}}}),tw=u({"node_modules/tsutils/typeguard/2.9/node.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),e.isImportTypeNode=void 0,(tT(),_(e9)).__exportStar(tE(),e);var t=Z();e.isImportTypeNode=function(e){return e.kind===t.SyntaxKind.ImportType}}}),tA=u({"node_modules/tsutils/typeguard/3.0/node.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),e.isSyntheticExpression=e.isRestTypeNode=e.isOptionalTypeNode=void 0,(tT(),_(e9)).__exportStar(tw(),e);var t=Z();e.isOptionalTypeNode=function(e){return e.kind===t.SyntaxKind.OptionalType},e.isRestTypeNode=function(e){return e.kind===t.SyntaxKind.RestType},e.isSyntheticExpression=function(e){return e.kind===t.SyntaxKind.SyntheticExpression}}}),tC=u({"node_modules/tsutils/typeguard/3.2/node.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),e.isBigIntLiteral=void 0,(tT(),_(e9)).__exportStar(tA(),e);var t=Z();e.isBigIntLiteral=function(e){return e.kind===t.SyntaxKind.BigIntLiteral}}}),tN=u({"node_modules/tsutils/typeguard/node.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),(tT(),_(e9)).__exportStar(tC(),e)}}),tM=u({"node_modules/tsutils/typeguard/2.8/type.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),e.isUniqueESSymbolType=e.isUnionType=e.isUnionOrIntersectionType=e.isTypeVariable=e.isTypeReference=e.isTypeParameter=e.isSubstitutionType=e.isObjectType=e.isLiteralType=e.isIntersectionType=e.isInterfaceType=e.isInstantiableType=e.isIndexedAccessype=e.isIndexedAccessType=e.isGenericType=e.isEnumType=e.isConditionalType=void 0;var t=Z();e.isConditionalType=function(e){return(e.flags&t.TypeFlags.Conditional)!=0},e.isEnumType=function(e){return(e.flags&t.TypeFlags.Enum)!=0},e.isGenericType=function(e){return(e.flags&t.TypeFlags.Object)!=0&&(e.objectFlags&t.ObjectFlags.ClassOrInterface)!=0&&(e.objectFlags&t.ObjectFlags.Reference)!=0},e.isIndexedAccessType=function(e){return(e.flags&t.TypeFlags.IndexedAccess)!=0},e.isIndexedAccessype=function(e){return(e.flags&t.TypeFlags.Index)!=0},e.isInstantiableType=function(e){return(e.flags&t.TypeFlags.Instantiable)!=0},e.isInterfaceType=function(e){return(e.flags&t.TypeFlags.Object)!=0&&(e.objectFlags&t.ObjectFlags.ClassOrInterface)!=0},e.isIntersectionType=function(e){return(e.flags&t.TypeFlags.Intersection)!=0},e.isLiteralType=function(e){return(e.flags&(t.TypeFlags.StringOrNumberLiteral|t.TypeFlags.BigIntLiteral))!=0},e.isObjectType=function(e){return(e.flags&t.TypeFlags.Object)!=0},e.isSubstitutionType=function(e){return(e.flags&t.TypeFlags.Substitution)!=0},e.isTypeParameter=function(e){return(e.flags&t.TypeFlags.TypeParameter)!=0},e.isTypeReference=function(e){return(e.flags&t.TypeFlags.Object)!=0&&(e.objectFlags&t.ObjectFlags.Reference)!=0},e.isTypeVariable=function(e){return(e.flags&t.TypeFlags.TypeVariable)!=0},e.isUnionOrIntersectionType=function(e){return(e.flags&t.TypeFlags.UnionOrIntersection)!=0},e.isUnionType=function(e){return(e.flags&t.TypeFlags.Union)!=0},e.isUniqueESSymbolType=function(e){return(e.flags&t.TypeFlags.UniqueESSymbol)!=0}}}),tk=u({"node_modules/tsutils/typeguard/2.9/type.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),(tT(),_(e9)).__exportStar(tM(),e)}}),tI=u({"node_modules/tsutils/typeguard/3.0/type.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),e.isTupleTypeReference=e.isTupleType=void 0,(tT(),_(e9)).__exportStar(tk(),e);var t=Z(),n=tk();function r(e){return 0!=(e.flags&t.TypeFlags.Object&&e.objectFlags&t.ObjectFlags.Tuple)}e.isTupleType=r,e.isTupleTypeReference=function(e){return n.isTypeReference(e)&&r(e.target)}}}),tj=u({"node_modules/tsutils/typeguard/3.2/type.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),(tT(),_(e9)).__exportStar(tI(),e)}}),tO=u({"node_modules/tsutils/typeguard/3.2/index.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0});var t=(tT(),_(e9));t.__exportStar(tC(),e),t.__exportStar(tj(),e)}}),tP=u({"node_modules/tsutils/typeguard/type.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),(tT(),_(e9)).__exportStar(tj(),e)}}),tF=u({"node_modules/tsutils/util/type.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),e.getBaseClassMemberOfClassElement=e.getIteratorYieldResultFromIteratorResult=e.getInstanceTypeOfClassLikeDeclaration=e.getConstructorTypeOfClassLikeDeclaration=e.getSymbolOfClassLikeDeclaration=e.getPropertyNameFromType=e.symbolHasReadonlyDeclaration=e.isPropertyReadonlyInType=e.getWellKnownSymbolPropertyOfType=e.getPropertyOfType=e.isBooleanLiteralType=e.isFalsyType=e.isThenableType=e.someTypePart=e.intersectionTypeParts=e.unionTypeParts=e.getCallSignaturesOfType=e.isTypeAssignableToString=e.isTypeAssignableToNumber=e.isOptionalChainingUndefinedMarkerType=e.removeOptionalChainingUndefinedMarkerType=e.removeOptionalityFromType=e.isEmptyObjectType=void 0;var t=Z(),n=tP(),r=tL(),i=tN();function o(e,n){if(!a(n,t.TypeFlags.Undefined))return n;let r=a(n,t.TypeFlags.Null);return n=e.getNonNullableType(n),r?e.getNullableType(n,t.TypeFlags.Null):n}function a(e,t){for(let n of l(e))if(r.isTypeFlagSet(n,t))return!0;return!1}function s(e,n){return r.isTypeFlagSet(n,t.TypeFlags.Undefined)&&e.getNullableType(n.getNonNullableType(),t.TypeFlags.Undefined)!==n}function u(e,i,o){let a;return o|=t.TypeFlags.Any,function t(i){if(n.isTypeParameter(i)&&void 0!==i.symbol&&void 0!==i.symbol.declarations){if(void 0===a)a=new Set([i]);else{if(a.has(i))return!1;a.add(i)}let n=i.symbol.declarations[0];return void 0===n.constraint||t(e.getTypeFromTypeNode(n.constraint))}return n.isUnionType(i)?i.types.every(t):n.isIntersectionType(i)?i.types.some(t):r.isTypeFlagSet(i,o)}(i)}function l(e){return n.isUnionType(e)?e.types:[e]}function c(e,t,n){return t(e)?e.types.some(n):n(e)}function _(e,n){return r.isTypeFlagSet(e,t.TypeFlags.BooleanLiteral)&&e.intrinsicName===(n?"true":"false")}function d(e,t){return t.startsWith("__")?e.getProperties().find(e=>e.escapedName===t):e.getProperty(t)}function f(e,n){return(e.flags&t.SymbolFlags.Accessor)===t.SymbolFlags.GetAccessor||void 0!==e.declarations&&e.declarations.some(e=>r.isModifierFlagSet(e,t.ModifierFlags.Readonly)||i.isVariableDeclaration(e)&&r.isNodeFlagSet(e.parent,t.NodeFlags.Const)||i.isCallExpression(e)&&r.isReadonlyAssignmentDeclaration(e,n)||i.isEnumMember(e)||(i.isPropertyAssignment(e)||i.isShorthandPropertyAssignment(e))&&r.isInConstContext(e.parent))}function m(e,n){var i;return n.getSymbolAtLocation(null!==(i=e.name)&&void 0!==i?i:r.getChildOfKind(e,t.SyntaxKind.ClassKeyword))}e.isEmptyObjectType=function e(r){if(n.isObjectType(r)&&r.objectFlags&t.ObjectFlags.Anonymous&&0===r.getProperties().length&&0===r.getCallSignatures().length&&0===r.getConstructSignatures().length&&void 0===r.getStringIndexType()&&void 0===r.getNumberIndexType()){let t=r.getBaseTypes();return void 0===t||t.every(e)}return!1},e.removeOptionalityFromType=o,e.removeOptionalChainingUndefinedMarkerType=function(e,t){if(!n.isUnionType(t))return s(e,t)?t.getNonNullableType():t;let r=0,i=!1;for(let n of t.types)s(e,n)?i=!0:r|=n.flags;return i?e.getNullableType(t.getNonNullableType(),r):t},e.isOptionalChainingUndefinedMarkerType=s,e.isTypeAssignableToNumber=function(e,n){return u(e,n,t.TypeFlags.NumberLike)},e.isTypeAssignableToString=function(e,n){return u(e,n,t.TypeFlags.StringLike)},e.getCallSignaturesOfType=function e(t){if(n.isUnionType(t)){let n=[];for(let r of t.types)n.push(...e(r));return n}if(n.isIntersectionType(t)){let n;for(let r of t.types){let t=e(r);if(0!==t.length){if(void 0!==n)return[];n=t}}return void 0===n?[]:n}return t.getCallSignatures()},e.unionTypeParts=l,e.intersectionTypeParts=function(e){return n.isIntersectionType(e)?e.types:[e]},e.someTypePart=c,e.isThenableType=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.getTypeAtLocation(t);for(let r of l(e.getApparentType(n))){let n=r.getProperty("then");if(void 0!==n){for(let r of l(e.getTypeOfSymbolAtLocation(n,t)))for(let n of r.getCallSignatures())if(0!==n.parameters.length&&function(e,t,n){let r=e.getApparentType(e.getTypeOfSymbolAtLocation(t,n));if(t.valueDeclaration.dotDotDotToken&&void 0===(r=r.getNumberIndexType()))return!1;for(let e of l(r))if(0!==e.getCallSignatures().length)return!0;return!1}(e,n.parameters[0],t))return!0}}return!1},e.isFalsyType=function(e){return!!(e.flags&(t.TypeFlags.Undefined|t.TypeFlags.Null|t.TypeFlags.Void))||(n.isLiteralType(e)?!e.value:_(e,!1))},e.isBooleanLiteralType=_,e.getPropertyOfType=d,e.getWellKnownSymbolPropertyOfType=function(e,t,r){let i="__@"+t;for(let o of e.getProperties()){if(!o.name.startsWith(i))continue;let e=r.getApparentType(r.getTypeAtLocation(o.valueDeclaration.name.expression)).symbol;if(o.escapedName===function(e,t,r){let i=t&&e.getTypeOfSymbolAtLocation(t,t.valueDeclaration).getProperty(r),o=i&&e.getTypeOfSymbolAtLocation(i,i.valueDeclaration);return o&&n.isUniqueESSymbolType(o)?o.escapedName:"__@"+r}(r,e,t))return o}},e.isPropertyReadonlyInType=function e(i,o,a){let s=!1,u=!1;for(let _ of l(i))if(void 0===d(_,o)){let e=(r.isNumericPropertyName(o)?a.getIndexInfoOfType(_,t.IndexKind.Number):void 0)||a.getIndexInfoOfType(_,t.IndexKind.String);if(void 0!==e&&e.isReadonly){if(s)return!0;u=!0}}else{if(u||function(i,o,a){return c(i,n.isIntersectionType,i=>{let s=d(i,o);if(void 0===s)return!1;if(s.flags&t.SymbolFlags.Transient){if(/^(?:[1-9]\d*|0)$/.test(o)&&n.isTupleTypeReference(i))return i.target.readonly;switch(function(i,o,a){if(!n.isObjectType(i)||!r.isObjectFlagSet(i,t.ObjectFlags.Mapped))return;let s=i.symbol.declarations[0];return void 0===s.readonlyToken||/^__@[^@]+$/.test(o)?e(i.modifiersType,o,a):s.readonlyToken.kind!==t.SyntaxKind.MinusToken}(i,o,a)){case!0:return!0;case!1:return!1}}return r.isSymbolFlagSet(s,t.SymbolFlags.ValueModule)||f(s,a)})}(_,o,a))return!0;s=!0}return!1},e.symbolHasReadonlyDeclaration=f,e.getPropertyNameFromType=function(e){if(e.flags&(t.TypeFlags.StringLiteral|t.TypeFlags.NumberLiteral)){let n=String(e.value);return{displayName:n,symbolName:t.escapeLeadingUnderscores(n)}}if(n.isUniqueESSymbolType(e)){var o,a;return{displayName:`[${e.symbol?`${(o=e.symbol,r.isSymbolFlagSet(o,t.SymbolFlags.Property)&&void 0!==o.valueDeclaration&&i.isInterfaceDeclaration(o.valueDeclaration.parent)&&"SymbolConstructor"===o.valueDeclaration.parent.name.text&&(a=o.valueDeclaration.parent,r.isNodeFlagSet(a.parent,t.NodeFlags.GlobalAugmentation)||i.isSourceFile(a.parent)&&!t.isExternalModule(a.parent)))?"Symbol.":""}${e.symbol.name}`:e.escapedName.replace(/^__@|@\d+$/g,"")}]`,symbolName:e.escapedName}}},e.getSymbolOfClassLikeDeclaration=m,e.getConstructorTypeOfClassLikeDeclaration=function(e,n){return e.kind===t.SyntaxKind.ClassExpression?n.getTypeAtLocation(e):n.getTypeOfSymbolAtLocation(m(e,n),e)},e.getInstanceTypeOfClassLikeDeclaration=function(e,n){return e.kind===t.SyntaxKind.ClassDeclaration?n.getTypeAtLocation(e):n.getDeclaredTypeOfSymbol(m(e,n))},e.getIteratorYieldResultFromIteratorResult=function(e,t,r){return n.isUnionType(e)&&e.types.find(e=>{let n=e.getProperty("done");return void 0!==n&&_(o(r,r.getTypeOfSymbolAtLocation(n,t)),!1)})||e},e.getBaseClassMemberOfClassElement=function(e,n){if(!i.isClassLikeDeclaration(e.parent))return;let o=r.getBaseOfClassLikeExpression(e.parent);if(void 0===o)return;let a=r.getSingleLateBoundPropertyNameOfPropertyName(e.name,n);if(void 0!==a)return d(n.getTypeAtLocation(r.hasModifier(e.modifiers,t.SyntaxKind.StaticKeyword)?o.expression:o),a.symbolName)}}}),tL=u({"node_modules/tsutils/util/util.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),e.isValidIdentifier=e.getLineBreakStyle=e.getLineRanges=e.forEachComment=e.forEachTokenWithTrivia=e.forEachToken=e.isFunctionWithBody=e.hasOwnThisReference=e.isBlockScopeBoundary=e.isFunctionScopeBoundary=e.isTypeScopeBoundary=e.isScopeBoundary=e.ScopeBoundarySelector=e.ScopeBoundary=e.isInSingleStatementContext=e.isBlockScopedDeclarationStatement=e.isBlockScopedVariableDeclaration=e.isBlockScopedVariableDeclarationList=e.getVariableDeclarationKind=e.VariableDeclarationKind=e.forEachDeclaredVariable=e.forEachDestructuringIdentifier=e.getPropertyName=e.getWrappedNodeAtPosition=e.getAstNodeAtPosition=e.commentText=e.isPositionInComment=e.getCommentAtPosition=e.getTokenAtPosition=e.getNextToken=e.getPreviousToken=e.getNextStatement=e.getPreviousStatement=e.isModifierFlagSet=e.isObjectFlagSet=e.isSymbolFlagSet=e.isTypeFlagSet=e.isNodeFlagSet=e.hasAccessModifier=e.isParameterProperty=e.hasModifier=e.getModifier=e.isThisParameter=e.isKeywordKind=e.isJsDocKind=e.isTypeNodeKind=e.isAssignmentKind=e.isNodeKind=e.isTokenKind=e.getChildOfKind=void 0,e.getBaseOfClassLikeExpression=e.hasExhaustiveCaseClauses=e.formatPseudoBigInt=e.unwrapParentheses=e.getSingleLateBoundPropertyNameOfPropertyName=e.getLateBoundPropertyNamesOfPropertyName=e.getLateBoundPropertyNames=e.getPropertyNameOfWellKnownSymbol=e.isWellKnownSymbolLiterally=e.isBindableObjectDefinePropertyCall=e.isReadonlyAssignmentDeclaration=e.isInConstContext=e.isConstAssertion=e.getTsCheckDirective=e.getCheckJsDirective=e.isAmbientModule=e.isCompilerOptionEnabled=e.isStrictCompilerOptionEnabled=e.getIIFE=e.isAmbientModuleBlock=e.isStatementInAmbientContext=e.findImportLikeNodes=e.findImports=e.ImportKind=e.parseJsDocOfNode=e.getJsDoc=e.canHaveJsDoc=e.isReassignmentTarget=e.getAccessKind=e.AccessKind=e.isExpressionValueUsed=e.getDeclarationOfBindingElement=e.hasSideEffects=e.SideEffectOptions=e.isSameLine=e.isNumericPropertyName=e.isValidJsxIdentifier=e.isValidNumericLiteral=e.isValidPropertyName=e.isValidPropertyAccess=void 0;var t,n,r,i,o,a,s,u=Z(),l=tN(),c=tO(),_=tF();function d(e){return e>=u.SyntaxKind.FirstToken&&e<=u.SyntaxKind.LastToken}function f(e){return e>=u.SyntaxKind.FirstNode}function m(e){return e>=u.SyntaxKind.FirstAssignment&&e<=u.SyntaxKind.LastAssignment}function h(e){if(void 0===e)return!1;for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r=e.end))return d(e.kind)?e:v(e,t,null!=n?n:e.getSourceFile(),!0===r)}function v(e,t,n,r){if(!r&&d((e=S(e,t)).kind))return e;n:for(;;){for(let i of e.getChildren(n))if(i.end>t&&(r||i.kind!==u.SyntaxKind.JSDocComment)){if(d(i.kind))return i;e=i;continue n}return}}function x(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,r=b(n,t,e);if(void 0===r||r.kind===u.SyntaxKind.JsxText||t>=r.end-(u.tokenToString(r.kind)||"").length)return;let i=0===r.pos?(u.getShebang(e.text)||"").length:r.pos;return 0!==i&&u.forEachTrailingCommentRange(e.text,i,D,t)||u.forEachLeadingCommentRange(e.text,i,D,t)}function D(e,t,n,r,i){return i>=e&&it||e.end<=t)){for(;f(e.kind);){let n=u.forEachChild(e,e=>e.pos<=t&&e.end>t?e:void 0);if(void 0===n)break;e=n}return e}}function T(e){if(e.kind===u.SyntaxKind.ComputedPropertyName){let t=G(e.expression);if(l.isPrefixUnaryExpression(t)){let e=!1;switch(t.operator){case u.SyntaxKind.MinusToken:e=!0;case u.SyntaxKind.PlusToken:return l.isNumericLiteral(t.operand)?`${e?"-":""}${t.operand.text}`:c.isBigIntLiteral(t.operand)?`${e?"-":""}${t.operand.text.slice(0,-1)}`:void 0;default:return}}return c.isBigIntLiteral(t)?t.text.slice(0,-1):l.isNumericOrStringLikeLiteral(t)?t.text:void 0}return e.kind===u.SyntaxKind.PrivateIdentifier?void 0:e.text}function E(e,t){for(let n of e.elements){let e;if(n.kind===u.SyntaxKind.BindingElement&&(e=n.name.kind===u.SyntaxKind.Identifier?t(n):E(n.name,t)))return e}}function w(e){return(e.flags&u.NodeFlags.BlockScoped)!=0}function A(e){switch(e.kind){case u.SyntaxKind.InterfaceDeclaration:case u.SyntaxKind.TypeAliasDeclaration:case u.SyntaxKind.MappedType:return 4;case u.SyntaxKind.ConditionalType:return 8;default:return 0}}function C(e){switch(e.kind){case u.SyntaxKind.FunctionExpression:case u.SyntaxKind.ArrowFunction:case u.SyntaxKind.Constructor:case u.SyntaxKind.ModuleDeclaration:case u.SyntaxKind.ClassDeclaration:case u.SyntaxKind.ClassExpression:case u.SyntaxKind.EnumDeclaration:case u.SyntaxKind.MethodDeclaration:case u.SyntaxKind.FunctionDeclaration:case u.SyntaxKind.GetAccessor:case u.SyntaxKind.SetAccessor:case u.SyntaxKind.MethodSignature:case u.SyntaxKind.CallSignature:case u.SyntaxKind.ConstructSignature:case u.SyntaxKind.ConstructorType:case u.SyntaxKind.FunctionType:return 1;case u.SyntaxKind.SourceFile:return u.isExternalModule(e)?1:0;default:return 0}}function N(e){switch(e.kind){case u.SyntaxKind.Block:let t=e.parent;return t.kind===u.SyntaxKind.CatchClause||t.kind!==u.SyntaxKind.SourceFile&&C(t)?0:2;case u.SyntaxKind.ForStatement:case u.SyntaxKind.ForInStatement:case u.SyntaxKind.ForOfStatement:case u.SyntaxKind.CaseBlock:case u.SyntaxKind.CatchClause:case u.SyntaxKind.WithStatement:return 2;default:return 0}}function M(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.getSourceFile(),r=[];for(;;){if(d(e.kind))t(e);else if(e.kind!==u.SyntaxKind.JSDocComment){let t=e.getChildren(n);if(1===t.length){e=t[0];continue}for(let e=t.length-1;e>=0;--e)r.push(t[e])}if(0===r.length)break;e=r.pop()}}function k(e){return e.kind===u.SyntaxKind.JsxElement||e.kind===u.SyntaxKind.JsxFragment}function I(e,t){return void 0===s?s=u.createScanner(t,!1,void 0,e):(s.setScriptTarget(t),s.setText(e)),s.scan(),s}function j(e){return e>=65536?2:1}function O(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.ScriptTarget.Latest;if(0===e.length)return!1;let n=e.codePointAt(0);if(!u.isIdentifierStart(n,t))return!1;for(let r=j(n);r2)||void 0===arguments[2]||arguments[2];return new U(e,t,n).find()}e.getChildOfKind=function(e,t,n){for(let r of e.getChildren(n))if(r.kind===t)return r},e.isTokenKind=d,e.isNodeKind=f,e.isAssignmentKind=m,e.isTypeNodeKind=function(e){return e>=u.SyntaxKind.FirstTypeNode&&e<=u.SyntaxKind.LastTypeNode},e.isJsDocKind=function(e){return e>=u.SyntaxKind.FirstJSDocNode&&e<=u.SyntaxKind.LastJSDocNode},e.isKeywordKind=function(e){return e>=u.SyntaxKind.FirstKeyword&&e<=u.SyntaxKind.LastKeyword},e.isThisParameter=function(e){return e.name.kind===u.SyntaxKind.Identifier&&e.name.originalKeywordKind===u.SyntaxKind.ThisKeyword},e.getModifier=function(e,t){if(void 0!==e.modifiers){for(let n of e.modifiers)if(n.kind===t)return n}},e.hasModifier=h,e.isParameterProperty=function(e){return h(e.modifiers,u.SyntaxKind.PublicKeyword,u.SyntaxKind.ProtectedKeyword,u.SyntaxKind.PrivateKeyword,u.SyntaxKind.ReadonlyKeyword)},e.hasAccessModifier=function(e){return g(e,u.ModifierFlags.AccessibilityModifier)},e.isNodeFlagSet=y,e.isTypeFlagSet=y,e.isSymbolFlagSet=y,e.isObjectFlagSet=function(e,t){return(e.objectFlags&t)!=0},e.isModifierFlagSet=g,e.getPreviousStatement=function(e){let t=e.parent;if(l.isBlockLike(t)){let n=t.statements.indexOf(e);if(n>0)return t.statements[n-1]}},e.getNextStatement=function(e){let t=e.parent;if(l.isBlockLike(t)){let n=t.statements.indexOf(e);if(nt)&&!(e.node.end<=t))n:for(;;){for(let n of e.children){if(n.node.pos>t)break;if(n.node.end>t){e=n;continue n}}return e}},e.getPropertyName=T,e.forEachDestructuringIdentifier=E,e.forEachDeclaredVariable=function(e,t){for(let n of e.declarations){let e;if(e=n.name.kind===u.SyntaxKind.Identifier?t(n):E(n.name,t))return e}},(t=e.VariableDeclarationKind||(e.VariableDeclarationKind={}))[t.Var=0]="Var",t[t.Let=1]="Let",t[t.Const=2]="Const",e.getVariableDeclarationKind=function(e){return e.flags&u.NodeFlags.Let?1:e.flags&u.NodeFlags.Const?2:0},e.isBlockScopedVariableDeclarationList=w,e.isBlockScopedVariableDeclaration=function(e){let t=e.parent;return t.kind===u.SyntaxKind.CatchClause||w(t)},e.isBlockScopedDeclarationStatement=function(e){switch(e.kind){case u.SyntaxKind.VariableStatement:return w(e.declarationList);case u.SyntaxKind.ClassDeclaration:case u.SyntaxKind.EnumDeclaration:case u.SyntaxKind.InterfaceDeclaration:case u.SyntaxKind.TypeAliasDeclaration:return!0;default:return!1}},e.isInSingleStatementContext=function(e){switch(e.parent.kind){case u.SyntaxKind.ForStatement:case u.SyntaxKind.ForInStatement:case u.SyntaxKind.ForOfStatement:case u.SyntaxKind.WhileStatement:case u.SyntaxKind.DoStatement:case u.SyntaxKind.IfStatement:case u.SyntaxKind.WithStatement:case u.SyntaxKind.LabeledStatement:return!0;default:return!1}},(n=e.ScopeBoundary||(e.ScopeBoundary={}))[n.None=0]="None",n[n.Function=1]="Function",n[n.Block=2]="Block",n[n.Type=4]="Type",n[n.ConditionalType=8]="ConditionalType",(r=e.ScopeBoundarySelector||(e.ScopeBoundarySelector={}))[r.Function=1]="Function",r[r.Block=3]="Block",r[r.Type=7]="Type",r[r.InferType=8]="InferType",e.isScopeBoundary=function(e){return C(e)||N(e)||A(e)},e.isTypeScopeBoundary=A,e.isFunctionScopeBoundary=C,e.isBlockScopeBoundary=N,e.hasOwnThisReference=function(e){switch(e.kind){case u.SyntaxKind.ClassDeclaration:case u.SyntaxKind.ClassExpression:case u.SyntaxKind.FunctionExpression:return!0;case u.SyntaxKind.FunctionDeclaration:return void 0!==e.body;case u.SyntaxKind.MethodDeclaration:case u.SyntaxKind.GetAccessor:case u.SyntaxKind.SetAccessor:return e.parent.kind===u.SyntaxKind.ObjectLiteralExpression;default:return!1}},e.isFunctionWithBody=function(e){switch(e.kind){case u.SyntaxKind.GetAccessor:case u.SyntaxKind.SetAccessor:case u.SyntaxKind.FunctionDeclaration:case u.SyntaxKind.MethodDeclaration:case u.SyntaxKind.Constructor:return void 0!==e.body;case u.SyntaxKind.FunctionExpression:case u.SyntaxKind.ArrowFunction:return!0;default:return!1}},e.forEachToken=M,e.forEachTokenWithTrivia=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.getSourceFile(),r=n.text,i=u.createScanner(n.languageVersion,!1,n.languageVariant,r);return M(e,e=>{let o=e.kind===u.SyntaxKind.JsxText||e.pos===e.end?e.pos:e.getStart(n);if(o!==e.pos){i.setTextPos(e.pos);let n=i.scan(),a=i.getTokenPos();for(;a2&&void 0!==arguments[2]?arguments[2]:e.getSourceFile(),r=n.text,i=n.languageVariant!==u.LanguageVariant.JSX;return M(e,e=>{if(e.pos!==e.end&&(e.kind!==u.SyntaxKind.JsxText&&u.forEachLeadingCommentRange(r,0===e.pos?(u.getShebang(r)||"").length:e.pos,o),i||function(e){switch(e.kind){case u.SyntaxKind.CloseBraceToken:return e.parent.kind!==u.SyntaxKind.JsxExpression||!k(e.parent.parent);case u.SyntaxKind.GreaterThanToken:switch(e.parent.kind){case u.SyntaxKind.JsxOpeningElement:return e.end!==e.parent.end;case u.SyntaxKind.JsxOpeningFragment:return!1;case u.SyntaxKind.JsxSelfClosingElement:return e.end!==e.parent.end||!k(e.parent.parent);case u.SyntaxKind.JsxClosingElement:case u.SyntaxKind.JsxClosingFragment:return!k(e.parent.parent.parent)}}return!0}(e)))return u.forEachTrailingCommentRange(r,e.end,o)},n);function o(e,n,i){t(r,{pos:e,end:n,kind:i})}},e.getLineRanges=function(e){let t=e.getLineStarts(),n=[],r=t.length,i=e.text,o=0;for(let e=1;eo&&u.isLineBreak(i.charCodeAt(a-1));--a);n.push({pos:o,end:r,contentLength:a-o}),o=r}return n.push({pos:o,end:e.end,contentLength:e.end-o}),n},e.getLineBreakStyle=function(e){let t=e.getLineStarts();return 1===t.length||t[1]<2||"\r"!==e.text[t[1]-2]?` +`:`\r +`},e.isValidIdentifier=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.ScriptTarget.Latest,n=I(e,t);return n.isIdentifier()&&n.getTextPos()===e.length&&0===n.getTokenPos()},e.isValidPropertyAccess=O,e.isValidPropertyName=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.ScriptTarget.Latest;if(O(e,t))return!0;let n=I(e,t);return n.getTextPos()===e.length&&n.getToken()===u.SyntaxKind.NumericLiteral&&n.getTokenValue()===e},e.isValidNumericLiteral=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.ScriptTarget.Latest,n=I(e,t);return n.getToken()===u.SyntaxKind.NumericLiteral&&n.getTextPos()===e.length&&0===n.getTokenPos()},e.isValidJsxIdentifier=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.ScriptTarget.Latest;if(0===e.length)return!1;let n=!1,r=e.codePointAt(0);if(!u.isIdentifierStart(r,t))return!1;for(let i=j(r);i2&&void 0!==arguments[2]?arguments[2]:e.getSourceFile();if(z(e)&&e.kind!==u.SyntaxKind.EndOfFileToken){let r=R(e,n);if(0!==r.length||!t)return r}return function(e,t,n,r){let i=u[r&&P(n,e.pos,t)?"forEachTrailingCommentRange":"forEachLeadingCommentRange"](n.text,e.pos,(e,t,r)=>r===u.SyntaxKind.MultiLineCommentTrivia&&"*"===n.text[e+2]?{pos:e}:void 0);if(void 0===i)return[];let o=i.pos,a=n.text.slice(o,t),s=u.createSourceFile("jsdoc.ts",`${a}var a;`,n.languageVersion),l=R(s.statements[0],s);for(let t of l)(function e(t,n){return t.pos+=o,t.end+=o,t.parent=n,u.forEachChild(t,n=>e(n,t),n=>{for(let r of(n.pos+=o,n.end+=o,n))e(r,t)})})(t,e);return l}(e,e.getStart(n),n,t)},(a=e.ImportKind||(e.ImportKind={}))[a.ImportDeclaration=1]="ImportDeclaration",a[a.ImportEquals=2]="ImportEquals",a[a.ExportFrom=4]="ExportFrom",a[a.DynamicImport=8]="DynamicImport",a[a.Require=16]="Require",a[a.ImportType=32]="ImportType",a[a.All=63]="All",a[a.AllImports=59]="AllImports",a[a.AllStaticImports=3]="AllStaticImports",a[a.AllImportExpressions=24]="AllImportExpressions",a[a.AllRequireLike=18]="AllRequireLike",a[a.AllNestedImports=56]="AllNestedImports",a[a.AllTopLevelImports=7]="AllTopLevelImports",e.findImports=function(e,t){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=[];for(let r of B(e,t,n))switch(r.kind){case u.SyntaxKind.ImportDeclaration:i(r.moduleSpecifier);break;case u.SyntaxKind.ImportEqualsDeclaration:i(r.moduleReference.expression);break;case u.SyntaxKind.ExportDeclaration:i(r.moduleSpecifier);break;case u.SyntaxKind.CallExpression:i(r.arguments[0]);break;case u.SyntaxKind.ImportType:l.isLiteralTypeNode(r.argument)&&i(r.argument.literal);break;default:throw Error("unexpected node")}return r;function i(e){l.isTextualLiteral(e)&&r.push(e)}},e.findImportLikeNodes=B;var U=class{constructor(e,t,n){this._sourceFile=e,this._options=t,this._ignoreFileName=n,this._result=[]}find(){return this._sourceFile.isDeclarationFile&&(this._options&=-25),7&this._options&&this._findImports(this._sourceFile.statements),56&this._options&&this._findNestedImports(),this._result}_findImports(e){for(let t of e)l.isImportDeclaration(t)?1&this._options&&this._result.push(t):l.isImportEqualsDeclaration(t)?2&this._options&&t.moduleReference.kind===u.SyntaxKind.ExternalModuleReference&&this._result.push(t):l.isExportDeclaration(t)?void 0!==t.moduleSpecifier&&4&this._options&&this._result.push(t):l.isModuleDeclaration(t)&&this._findImportsInModule(t)}_findImportsInModule(e){if(void 0!==e.body){if(e.body.kind===u.SyntaxKind.ModuleDeclaration)return this._findImportsInModule(e.body);this._findImports(e.body.statements)}}_findNestedImports(){let e=this._ignoreFileName||(this._sourceFile.flags&u.NodeFlags.JavaScriptFile)!=0,t,n;if((56&this._options)==16){if(!e)return;t=/\brequire\s*[1&&this._result.push(t.parent)}}else t.kind===u.SyntaxKind.Identifier&&t.end-7===e.index&&t.parent.kind===u.SyntaxKind.CallExpression&&t.parent.expression===t&&1===t.parent.arguments.length&&this._result.push(t.parent)}}};function J(e){for(;e.kind===u.SyntaxKind.ModuleBlock;){do e=e.parent;while(e.flags&u.NodeFlags.NestedNamespace)if(h(e.modifiers,u.SyntaxKind.DeclareKeyword))return!0;e=e.parent}return!1}function $(e,t){return(e.strict?!1!==e[t]:!0===e[t])&&("strictPropertyInitialization"!==t||$(e,"strictNullChecks"))}function K(e){let t;return u.forEachLeadingCommentRange(e,(u.getShebang(e)||"").length,(n,r,i)=>{if(i===u.SyntaxKind.SingleLineCommentTrivia){let i=e.slice(n,r),o=/^\/{2,3}\s*@ts-(no)?check(?:\s|$)/i.exec(i);null!==o&&(t={pos:n,end:r,enabled:void 0===o[1]})}}),t}function V(e){return l.isTypeReferenceNode(e.type)&&e.type.typeName.kind===u.SyntaxKind.Identifier&&"const"===e.type.typeName.escapedText}function Y(e){return 3===e.arguments.length&&l.isEntityNameExpression(e.arguments[0])&&l.isNumericOrStringLikeLiteral(e.arguments[1])&&l.isPropertyAccessExpression(e.expression)&&"defineProperty"===e.expression.name.escapedText&&l.isIdentifier(e.expression.expression)&&"Object"===e.expression.expression.escapedText}function q(e){return u.isPropertyAccessExpression(e)&&u.isIdentifier(e.expression)&&"Symbol"===e.expression.escapedText}function W(e){return{displayName:`[Symbol.${e.name.text}]`,symbolName:"__@"+e.name.text}}e.isStatementInAmbientContext=function(e){for(;e.flags&u.NodeFlags.NestedNamespace;)e=e.parent;return h(e.modifiers,u.SyntaxKind.DeclareKeyword)||J(e.parent)},e.isAmbientModuleBlock=J,e.getIIFE=function(e){let t=e.parent;for(;t.kind===u.SyntaxKind.ParenthesizedExpression;)t=t.parent;return l.isCallExpression(t)&&e.end<=t.expression.end?t:void 0},e.isStrictCompilerOptionEnabled=$,e.isCompilerOptionEnabled=function e(t,n){switch(n){case"stripInternal":case"declarationMap":case"emitDeclarationOnly":return!0===t[n]&&e(t,"declaration");case"declaration":return t.declaration||e(t,"composite");case"incremental":return void 0===t.incremental?e(t,"composite"):t.incremental;case"skipDefaultLibCheck":return t.skipDefaultLibCheck||e(t,"skipLibCheck");case"suppressImplicitAnyIndexErrors":return!0===t.suppressImplicitAnyIndexErrors&&e(t,"noImplicitAny");case"allowSyntheticDefaultImports":return void 0!==t.allowSyntheticDefaultImports?t.allowSyntheticDefaultImports:e(t,"esModuleInterop")||t.module===u.ModuleKind.System;case"noUncheckedIndexedAccess":return!0===t.noUncheckedIndexedAccess&&e(t,"strictNullChecks");case"allowJs":return void 0===t.allowJs?e(t,"checkJs"):t.allowJs;case"noImplicitAny":case"noImplicitThis":case"strictNullChecks":case"strictFunctionTypes":case"strictPropertyInitialization":case"alwaysStrict":case"strictBindCallApply":return $(t,n)}return!0===t[n]},e.isAmbientModule=function(e){return e.name.kind===u.SyntaxKind.StringLiteral||(e.flags&u.NodeFlags.GlobalAugmentation)!=0},e.getCheckJsDirective=function(e){return K(e)},e.getTsCheckDirective=K,e.isConstAssertion=V,e.isInConstContext=function(e){let t=e;for(;;){let e=t.parent;n:switch(e.kind){case u.SyntaxKind.TypeAssertionExpression:case u.SyntaxKind.AsExpression:return V(e);case u.SyntaxKind.PrefixUnaryExpression:if(t.kind!==u.SyntaxKind.NumericLiteral)return!1;switch(e.operator){case u.SyntaxKind.PlusToken:case u.SyntaxKind.MinusToken:t=e;break n;default:return!1}case u.SyntaxKind.PropertyAssignment:if(e.initializer!==t)return!1;t=e.parent;break;case u.SyntaxKind.ShorthandPropertyAssignment:t=e.parent;break;case u.SyntaxKind.ParenthesizedExpression:case u.SyntaxKind.ArrayLiteralExpression:case u.SyntaxKind.ObjectLiteralExpression:case u.SyntaxKind.TemplateExpression:t=e;break;default:return!1}}},e.isReadonlyAssignmentDeclaration=function(e,t){if(!Y(e))return!1;let n=t.getTypeAtLocation(e.arguments[2]);if(void 0===n.getProperty("value"))return void 0===n.getProperty("set");let r=n.getProperty("writable");if(void 0===r)return!1;let i=void 0!==r.valueDeclaration&&l.isPropertyAssignment(r.valueDeclaration)?t.getTypeAtLocation(r.valueDeclaration.initializer):t.getTypeOfSymbolAtLocation(r,e.arguments[2]);return _.isBooleanLiteralType(i,!1)},e.isBindableObjectDefinePropertyCall=Y,e.isWellKnownSymbolLiterally=q,e.getPropertyNameOfWellKnownSymbol=W;var Q=(e=>{let[t,n]=e;return t<"4"||"4"===t&&n<"3"})(u.versionMajorMinor.split("."));function H(e,t){let n={known:!0,names:[]};if(e=G(e),Q&&q(e))n.names.push(W(e));else{let r=t.getTypeAtLocation(e);for(let e of _.unionTypeParts(t.getBaseConstraintOfType(r)||r)){let t=_.getPropertyNameFromType(e);t?n.names.push(t):n.known=!1}}return n}function G(e){for(;e.kind===u.SyntaxKind.ParenthesizedExpression;)e=e.expression;return e}function X(e){return`${e.negative?"-":""}${e.base10Value}n`}function ee(t){return e.isTypeFlagSet(t,u.TypeFlags.Null)?"null":e.isTypeFlagSet(t,u.TypeFlags.Undefined)?"undefined":e.isTypeFlagSet(t,u.TypeFlags.NumberLiteral)?`${e.isTypeFlagSet(t,u.TypeFlags.EnumLiteral)?"enum:":""}${t.value}`:e.isTypeFlagSet(t,u.TypeFlags.StringLiteral)?`${e.isTypeFlagSet(t,u.TypeFlags.EnumLiteral)?"enum:":""}string:${t.value}`:e.isTypeFlagSet(t,u.TypeFlags.BigIntLiteral)?X(t.value):c.isUniqueESSymbolType(t)?t.escapedName:_.isBooleanLiteralType(t,!0)?"true":_.isBooleanLiteralType(t,!1)?"false":void 0}function et(e){var t;if((null===(t=e.heritageClauses)||void 0===t?void 0:t[0].token)===u.SyntaxKind.ExtendsKeyword)return e.heritageClauses[0].types[0]}e.getLateBoundPropertyNames=H,e.getLateBoundPropertyNamesOfPropertyName=function(e,t){let n=T(e);return void 0!==n?{known:!0,names:[{displayName:n,symbolName:u.escapeLeadingUnderscores(n)}]}:e.kind===u.SyntaxKind.PrivateIdentifier?{known:!0,names:[{displayName:e.text,symbolName:t.getSymbolAtLocation(e).escapedName}]}:H(e.expression,t)},e.getSingleLateBoundPropertyNameOfPropertyName=function(e,t){let n=T(e);if(void 0!==n)return{displayName:n,symbolName:u.escapeLeadingUnderscores(n)};if(e.kind===u.SyntaxKind.PrivateIdentifier)return{displayName:e.text,symbolName:t.getSymbolAtLocation(e).escapedName};let{expression:r}=e;return Q&&q(r)?W(r):_.getPropertyNameFromType(t.getTypeAtLocation(r))},e.unwrapParentheses=G,e.formatPseudoBigInt=X,e.hasExhaustiveCaseClauses=function(t,n){let r=t.caseBlock.clauses.filter(l.isCaseClause);if(0===r.length)return!1;let i=_.unionTypeParts(n.getTypeAtLocation(t.expression));if(i.length>r.length)return!1;let o=new Set(i.map(ee));if(o.has(void 0))return!1;let a=new Set;for(let t of r){let r=n.getTypeAtLocation(t.expression);if(e.isTypeFlagSet(r,u.TypeFlags.Never))continue;let i=ee(r);if(o.has(i))a.add(i);else if("null"!==i&&"undefined"!==i)return!1}return o.size===a.size},e.getBaseOfClassLikeExpression=et}}),tz=u({"node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js"(e){p();var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r};Object.defineProperty(e,"__esModule",{value:!0}),e.convertComments=void 0;var i=tL(),o=r(Z()),a=e8(),s=e5();e.convertComments=function(e,t){let n=[];return(0,i.forEachComment)(e,(r,i)=>{let u=i.kind===o.SyntaxKind.SingleLineCommentTrivia?s.AST_TOKEN_TYPES.Line:s.AST_TOKEN_TYPES.Block,l=[i.pos,i.end],c=(0,a.getLocFor)(l[0],l[1],e),_=l[0]+2,p=i.kind===o.SyntaxKind.SingleLineCommentTrivia?l[1]-_:l[1]-_-2;n.push({type:u,value:t.slice(_,_+p),range:l,loc:c})},e),n}}}),tR=u({"node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs"(e){p(),Object.defineProperty(e,"__esModule",{value:!0});var t={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["exported","source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportExpression:["source"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXClosingFragment:[],JSXOpeningFragment:[],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],StaticBlock:["body"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};for(let e of Object.keys(t))Object.freeze(t[e]);Object.freeze(t);var n=new Set(["parent","leadingComments","trailingComments"]);function r(e){return!n.has(e)&&"_"!==e[0]}e.KEYS=t,e.getKeys=function(e){return Object.keys(e).filter(r)},e.unionWith=function(e){let n=Object.assign({},t);for(let t of Object.keys(e))if(Object.prototype.hasOwnProperty.call(n,t)){let r=new Set(e[t]);for(let e of n[t])r.add(e);n[t]=Object.freeze(Array.from(r))}else n[t]=Object.freeze(Array.from(e[t]));return Object.freeze(n)}}}),tB=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),e.getKeys=void 0;var t=tR().getKeys;e.getKeys=t}}),tU=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js"(e){let t,n;p();var r=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(e,"__esModule",{value:!0}),e.visitorKeys=void 0;var a=o(tR()),s={AnonymousFunction:n=[...t=["typeParameters","params","returnType"],"body"],Function:["id",...n],FunctionType:t,ClassDeclaration:["decorators","id","typeParameters","superClass","superTypeParameters","implements","body"],AbstractPropertyDefinition:["decorators","key","typeAnnotation"],PropertyDefinition:["decorators","key","typeAnnotation","value"],TypeAssertion:["expression","typeAnnotation"]},u={AccessorProperty:s.PropertyDefinition,ArrayPattern:["decorators","elements","typeAnnotation"],ArrowFunctionExpression:s.AnonymousFunction,AssignmentPattern:["decorators","left","right","typeAnnotation"],CallExpression:["callee","typeParameters","arguments"],ClassDeclaration:s.ClassDeclaration,ClassExpression:s.ClassDeclaration,Decorator:["expression"],ExportAllDeclaration:["exported","source","assertions"],ExportNamedDeclaration:["declaration","specifiers","source","assertions"],FunctionDeclaration:s.Function,FunctionExpression:s.Function,Identifier:["decorators","typeAnnotation"],ImportAttribute:["key","value"],ImportDeclaration:["specifiers","source","assertions"],ImportExpression:["source","attributes"],JSXClosingFragment:[],JSXOpeningElement:["name","typeParameters","attributes"],JSXOpeningFragment:[],JSXSpreadChild:["expression"],MethodDefinition:["decorators","key","value","typeParameters"],NewExpression:["callee","typeParameters","arguments"],ObjectPattern:["decorators","properties","typeAnnotation"],PropertyDefinition:s.PropertyDefinition,RestElement:["decorators","argument","typeAnnotation"],StaticBlock:["body"],TaggedTemplateExpression:["tag","typeParameters","quasi"],TSAbstractAccessorProperty:s.AbstractPropertyDefinition,TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:s.AbstractPropertyDefinition,TSAnyKeyword:[],TSArrayType:["elementType"],TSAsExpression:s.TypeAssertion,TSAsyncKeyword:[],TSBigIntKeyword:[],TSBooleanKeyword:[],TSCallSignatureDeclaration:s.FunctionType,TSClassImplements:["expression","typeParameters"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSConstructorType:s.FunctionType,TSConstructSignatureDeclaration:s.FunctionType,TSDeclareFunction:s.Function,TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id",...s.FunctionType],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSExportAssignment:["expression"],TSExportKeyword:[],TSExternalModuleReference:["expression"],TSFunctionType:s.FunctionType,TSImportEqualsDeclaration:["id","moduleReference"],TSImportType:["parameter","qualifier","typeParameters"],TSIndexedAccessType:["indexType","objectType"],TSIndexSignature:["parameters","typeAnnotation"],TSInferType:["typeParameter"],TSInstantiationExpression:["expression","typeParameters"],TSInterfaceBody:["body"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceHeritage:["expression","typeParameters"],TSIntersectionType:["types"],TSIntrinsicKeyword:[],TSLiteralType:["literal"],TSMappedType:["nameType","typeParameter","typeAnnotation"],TSMethodSignature:["typeParameters","key","params","returnType"],TSModuleBlock:["body"],TSModuleDeclaration:["id","body"],TSNamedTupleMember:["label","elementType"],TSNamespaceExportDeclaration:["id"],TSNeverKeyword:[],TSNonNullExpression:["expression"],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSOptionalType:["typeAnnotation"],TSParameterProperty:["decorators","parameter"],TSPrivateKeyword:[],TSPropertySignature:["typeAnnotation","key","initializer"],TSProtectedKeyword:[],TSPublicKeyword:[],TSQualifiedName:["left","right"],TSReadonlyKeyword:[],TSRestType:["typeAnnotation"],TSSatisfiesExpression:["typeAnnotation","expression"],TSStaticKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSTemplateLiteralType:["quasis","types"],TSThisType:[],TSTupleType:["elementTypes"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSTypeAnnotation:["typeAnnotation"],TSTypeAssertion:s.TypeAssertion,TSTypeLiteral:["members"],TSTypeOperator:["typeAnnotation"],TSTypeParameter:["name","constraint","default"],TSTypeParameterDeclaration:["params"],TSTypeParameterInstantiation:["params"],TSTypePredicate:["typeAnnotation","parameterName"],TSTypeQuery:["exprName","typeParameters"],TSTypeReference:["typeName","typeParameters"],TSUndefinedKeyword:[],TSUnionType:["types"],TSUnknownKeyword:[],TSVoidKeyword:[]},l=a.unionWith(u);e.visitorKeys=l}}),tJ=u({"node_modules/@typescript-eslint/typescript-estree/node_modules/@typescript-eslint/visitor-keys/dist/index.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),e.visitorKeys=e.getKeys=void 0;var t=tB();Object.defineProperty(e,"getKeys",{enumerable:!0,get:function(){return t.getKeys}});var n=tU();Object.defineProperty(e,"visitorKeys",{enumerable:!0,get:function(){return n.visitorKeys}})}}),t$=u({"node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),e.simpleTraverse=void 0;var t=tJ(),n=class{constructor(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.allVisitorKeys=t.visitorKeys,this.selectors=e,this.setParentPointers=n}traverse(e,t){let n;if(!(null!=e&&"object"==typeof e&&"string"==typeof e.type))return;this.setParentPointers&&(e.parent=t),"enter"in this.selectors?this.selectors.enter(e,t):e.type in this.selectors&&this.selectors[e.type](e,t);let r=null!=(n=this.allVisitorKeys[e.type])?n:[];if(!(r.length<1))for(let t of r){let n=e[t];if(Array.isArray(n))for(let t of n)this.traverse(t,e);else this.traverse(n,e)}}};e.simpleTraverse=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];new n(t,r).traverse(e,void 0)}}}),tK=u({"node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),e.astConverter=void 0;var t=e7(),n=tz(),r=e8(),i=t$();e.astConverter=function(e,o,a){let{parseDiagnostics:s}=e;if(s.length)throw(0,t.convertError)(s[0]);let u=new t.Converter(e,{errorOnUnknownASTType:o.errorOnUnknownASTType||!1,shouldPreserveNodeMaps:a}),l=u.convertProgram();return o.range&&o.loc||(0,i.simpleTraverse)(l,{enter:e=>{o.range||delete e.range,o.loc||delete e.loc}}),o.tokens&&(l.tokens=(0,r.convertTokens)(e)),o.comment&&(l.comments=(0,n.convertComments)(e,o.code)),{estree:l,astMaps:u.getASTMaps()}}}}),tV={};function tY(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function tq(){for(var e="",t=!1,n=arguments.length-1;n>=-1&&!t;n--){var r=n>=0?arguments[n]:"/";if("string"!=typeof r)throw TypeError("Arguments to path.resolve must be strings");r&&(e=r+"/"+e,t="/"===r.charAt(0))}return e=tY(t1(e.split("/"),function(e){return!!e}),!t).join("/"),(t?"/":"")+e||"."}function tW(e){var t=tQ(e),n="/"===t8(e,-1);return(e=tY(t1(e.split("/"),function(e){return!!e}),!t).join("/"))||t||(e="."),e&&n&&(e+="/"),(t?"/":"")+e}function tQ(e){return"/"===e.charAt(0)}function tH(){var e=Array.prototype.slice.call(arguments,0);return tW(t1(e,function(e,t){if("string"!=typeof e)throw TypeError("Arguments to path.join must be strings");return e}).join("/"))}function tG(e,t){function n(e){for(var t=0;t=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=tq(e).substr(1),t=tq(t).substr(1);for(var r=n(e.split("/")),i=n(t.split("/")),o=Math.min(r.length,i.length),a=o,s=0;stX,default:()=>t5,delimiter:()=>t6,dirname:()=>tZ,extname:()=>t0,isAbsolute:()=>tQ,join:()=>tH,normalize:()=>tW,relative:()=>tG,resolve:()=>tq,sep:()=>t4});var t2,t3,t4,t6,t5,t8,t7=s({"node-modules-polyfills:path"(){p(),t2=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,t3=function(e){return t2.exec(e).slice(1)},t5={extname:t0,basename:tX,dirname:tZ,sep:t4="/",delimiter:t6=":",relative:tG,join:tH,isAbsolute:tQ,normalize:tW,resolve:tq},t8=function(e,t,n){return e.substr(t,n)}}}),t9=u({"node-modules-polyfills-commonjs:path"(e,t){p();var n=(t7(),_(tV));if(n&&n.default)for(let e in t.exports=n.default,n)t.exports[e]=n[e];else n&&(t.exports=n)}}),ne=u({"node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js"(e){p();var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r},i=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.getModuleResolver=e.getAstFromProgram=e.getCanonicalFileName=e.ensureAbsolutePath=e.createHash=e.createDefaultCompilerOptionsFromExtra=e.canonicalDirname=e.CORE_COMPILER_OPTIONS=void 0;var o=i(t9()),a=r(Z()),s={noEmit:!0,noUnusedLocals:!0,noUnusedParameters:!0};e.CORE_COMPILER_OPTIONS=s;var u=Object.assign(Object.assign({},s),{allowNonTsExtensions:!0,allowJs:!0,checkJs:!0});e.createDefaultCompilerOptionsFromExtra=function(e){return e.debugLevel.has("typescript")?Object.assign(Object.assign({},u),{extendedDiagnostics:!0}):u};var l=void 0===a.sys||a.sys.useCaseSensitiveFileNames?e=>e:e=>e.toLowerCase();e.getCanonicalFileName=function(e){let t=o.default.normalize(e);return t.endsWith(o.default.sep)&&(t=t.slice(0,-1)),l(t)},e.ensureAbsolutePath=function(e,t){return o.default.isAbsolute(e)?e:o.default.join(t||"/prettier-security-dirname-placeholder",e)},e.canonicalDirname=function(e){return o.default.dirname(e)};var c=[a.Extension.Dts,a.Extension.Dcts,a.Extension.Dmts];function _(e){var t;return e?null!==(t=c.find(t=>e.endsWith(t)))&&void 0!==t?t:o.default.extname(e):null}e.getAstFromProgram=function(e,t){let n=e.getSourceFile(t.filePath);if(_(t.filePath)===_(null==n?void 0:n.fileName))return n&&{ast:n,program:e}},e.getModuleResolver=function(e){let t;try{throw Error("Dynamic require is not supported")}catch{throw Error(["Could not find the provided parserOptions.moduleResolver.","Hint: use an absolute path if you are not in control over where the ESLint instance runs."].join(` +`))}return t},e.createHash=function(e){var t;return!(null===(t=a.sys)||void 0===t)&&t.createHash?a.sys.createHash(e):e}}}),nt=u({"node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js"(e){p();var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r},i=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.createDefaultProgram=void 0;var o=i(ee()),a=i(t9()),s=r(Z()),u=ne(),l=(0,o.default)("typescript-eslint:typescript-estree:createDefaultProgram");e.createDefaultProgram=function(e){var t;if(l("Getting default program for: %s",e.filePath||"unnamed file"),(null===(t=e.projects)||void 0===t?void 0:t.length)!==1)return;let n=e.projects[0],r=s.getParsedCommandLineOfConfigFile(n,(0,u.createDefaultCompilerOptionsFromExtra)(e),Object.assign(Object.assign({},s.sys),{onUnRecoverableConfigFileDiagnostic:()=>{}}));if(!r)return;let i=s.createCompilerHost(r.options,!0);e.moduleResolver&&(i.resolveModuleNames=(0,u.getModuleResolver)(e.moduleResolver).resolveModuleNames);let o=i.readFile;i.readFile=t=>a.default.normalize(t)===a.default.normalize(e.filePath)?e.code:o(t);let c=s.createProgram([e.filePath],r.options,i),_=c.getSourceFile(e.filePath);return _&&{ast:_,program:c}}}}),nn=u({"node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js"(e){p();var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r},i=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.getLanguageVariant=e.getScriptKind=void 0;var o=i(t9()),a=r(Z());e.getScriptKind=function(e,t){switch(o.default.extname(e).toLowerCase()){case a.Extension.Js:case a.Extension.Cjs:case a.Extension.Mjs:return a.ScriptKind.JS;case a.Extension.Jsx:return a.ScriptKind.JSX;case a.Extension.Ts:case a.Extension.Cts:case a.Extension.Mts:return a.ScriptKind.TS;case a.Extension.Tsx:return a.ScriptKind.TSX;case a.Extension.Json:return a.ScriptKind.JSON;default:return t?a.ScriptKind.TSX:a.ScriptKind.TS}},e.getLanguageVariant=function(e){switch(e){case a.ScriptKind.TSX:case a.ScriptKind.JSX:case a.ScriptKind.JS:case a.ScriptKind.JSON:return a.LanguageVariant.JSX;default:return a.LanguageVariant.Standard}}}}),nr=u({"node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js"(e){p();var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r},i=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.createIsolatedProgram=void 0;var o=i(ee()),a=r(Z()),s=nn(),u=ne(),l=(0,o.default)("typescript-eslint:typescript-estree:createIsolatedProgram");e.createIsolatedProgram=function(e){l("Getting isolated program in %s mode for: %s",e.jsx?"TSX":"TS",e.filePath);let t=a.createProgram([e.filePath],Object.assign({noResolve:!0,target:a.ScriptTarget.Latest,jsx:e.jsx?a.JsxEmit.Preserve:void 0},(0,u.createDefaultCompilerOptionsFromExtra)(e)),{fileExists:()=>!0,getCanonicalFileName:()=>e.filePath,getCurrentDirectory:()=>"",getDirectories:()=>[],getDefaultLibFileName:()=>"lib.d.ts",getNewLine:()=>` +`,getSourceFile:t=>a.createSourceFile(t,e.code,a.ScriptTarget.Latest,!0,(0,s.getScriptKind)(e.filePath,e.jsx)),readFile(){},useCaseSensitiveFileNames:()=>!0,writeFile:()=>null}),n=t.getSourceFile(e.filePath);if(!n)throw Error("Expected an ast to be returned for the single-file isolated program.");return{ast:n,program:t}}}}),ni=u({"node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.js"(e){p();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.describeFilePath=void 0;var n=t(t9());e.describeFilePath=function(e,t){let r=n.default.relative(t,e);return(!r||r.startsWith("..")||n.default.isAbsolute(r))&&(/^[(\w+:)\\/~]/.test(e)||/\.\.[/\\]\.\./.test(r))?e:`/${r}`}}}),no={};l(no,{default:()=>na});var na,ns=s({"node-modules-polyfills:fs"(){p(),na={}}}),nu=u({"node-modules-polyfills-commonjs:fs"(e,t){p();var n=(ns(),_(no));if(n&&n.default)for(let e in t.exports=n.default,n)t.exports[e]=n[e];else n&&(t.exports=n)}}),nl=u({"node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js"(e){p();var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),r=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(n,e,i);return r(n,e),n},o=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.getWatchProgramsForProjects=e.clearWatchCaches=void 0;var a=o(ee()),s=o(nu()),u=o(eQ()),l=i(Z()),c=ne(),_=(0,a.default)("typescript-eslint:typescript-estree:createWatchProgram"),d=new Map,f=new Map,m=new Map,h=new Map,y=new Map,g=new Map;function b(e){return(t,n)=>{let r;let i=(0,c.getCanonicalFileName)(t),o=((r=e.get(i))||(r=new Set,e.set(i,r)),r);return o.add(n),{close:()=>{o.delete(n)}}}}e.clearWatchCaches=function(){d.clear(),f.clear(),m.clear(),g.clear(),h.clear(),y.clear()};var v={code:"",filePath:""};function x(e){throw Error(l.flattenDiagnosticMessageText(e.messageText,l.sys.newLine))}function D(e,t,n){let r=new Set(n.EXPERIMENTAL_useSourceOfProjectReferenceRedirect?t.getSourceFiles().map(e=>(0,c.getCanonicalFileName)(e.fileName)):t.getRootFileNames().map(e=>(0,c.getCanonicalFileName)(e)));return h.set(e,r),r}e.getWatchProgramsForProjects=function(e){let t=(0,c.getCanonicalFileName)(e.filePath),r=[];v.code=e.code,v.filePath=t;let i=f.get(t),o=(0,c.createHash)(e.code);g.get(t)!==o&&i&&i.size>0&&i.forEach(e=>e(t,l.FileWatcherEventKind.Changed));let a=new Set(e.projects);for(let[n,r]of d.entries()){if(!a.has(n))continue;let i=h.get(n),o=null;if(i||(i=D(n,o=r.getProgram().getProgram(),e)),i.has(t))return _("Found existing program for file. %s",t),(o=null!=o?o:r.getProgram().getProgram()).getTypeChecker(),[o]}for(let i of(_("File did not belong to any existing programs, moving to create/update. %s",t),e.projects)){let o=d.get(i);if(o){let a=function(e,t,r){let i,o,a=e.getProgram().getProgram();if("true"===n.env.TSESTREE_NO_INVALIDATION)return a;i=s.default.statSync(r).mtimeMs,o=y.get(r),y.set(r,i),void 0!==o&&Math.abs(o-i)>Number.EPSILON&&(_("tsconfig has changed - triggering program update. %s",r),f.get(r).forEach(e=>e(r,l.FileWatcherEventKind.Changed)),h.delete(r));let u=a.getSourceFile(t);if(u)return a;_("File was not found in program - triggering folder update. %s",t);let p=(0,c.canonicalDirname)(t),d=null,g=p,b=!1;for(;d!==g;){d=g;let e=m.get(d);e&&(e.forEach(e=>{p!==d&&e(p,l.FileWatcherEventKind.Changed),e(d,l.FileWatcherEventKind.Changed)}),b=!0),g=(0,c.canonicalDirname)(d)}if(!b)return _("No callback found for file, not part of this program. %s",t),null;if(h.delete(r),u=(a=e.getProgram().getProgram()).getSourceFile(t))return a;_("File was still not found in program after directory update - checking file deletions. %s",t);let v=a.getRootFileNames().find(e=>!s.default.existsSync(e));if(!v)return null;let x=f.get((0,c.getCanonicalFileName)(v));return x?(_("Marking file as deleted. %s",v),x.forEach(e=>e(v,l.FileWatcherEventKind.Deleted)),h.delete(r),(u=(a=e.getProgram().getProgram()).getSourceFile(t))?a:(_("File was still not found in program after deletion check, assuming it is not part of this program. %s",t),null)):(_("Could not find watch callbacks for root file. %s",v),a)}(o,t,i);if(!a)continue;if(a.getTypeChecker(),D(i,a,e).has(t))return _("Found updated program for file. %s",t),[a];r.push(a);continue}let a=function(e,t){let n;_("Creating watch program for %s.",e);let r=l.createWatchCompilerHost(e,(0,c.createDefaultCompilerOptionsFromExtra)(t),l.sys,l.createAbstractBuilder,x,()=>{});t.moduleResolver&&(r.resolveModuleNames=(0,c.getModuleResolver)(t.moduleResolver).resolveModuleNames);let i=r.readFile;r.readFile=(e,t)=>{let n=(0,c.getCanonicalFileName)(e),r=n===v.filePath?v.code:i(n,t);return void 0!==r&&g.set(n,(0,c.createHash)(r)),r},r.onUnRecoverableConfigFileDiagnostic=x,r.afterProgramCreate=e=>{let t=e.getConfigFileParsingDiagnostics().filter(e=>e.category===l.DiagnosticCategory.Error&&18003!==e.code);t.length>0&&x(t[0])},r.watchFile=b(f),r.watchDirectory=b(m);let o=r.onCachedDirectoryStructureHostCreate;r.onCachedDirectoryStructureHostCreate=e=>{let n=e.readDirectory;e.readDirectory=(e,r,i,o,a)=>n(e,r?r.concat(t.extraFileExtensions):void 0,i,o,a),o(e)},r.extraFileExtensions=t.extraFileExtensions.map(e=>({extension:e,isMixedContent:!0,scriptKind:l.ScriptKind.Deferred})),r.trace=_,r.useSourceOfProjectReferenceRedirect=()=>t.EXPERIMENTAL_useSourceOfProjectReferenceRedirect,S?(r.setTimeout=void 0,r.clearTimeout=void 0):(_("Running without timeout fix"),r.setTimeout=function(e,t){for(var r=arguments.length,i=Array(r>2?r-2:0),o=2;o{n=void 0});let a=l.createWatchProgram(r);if(!S){let e=a.getProgram;a.getProgram=()=>(n&&n(),n=void 0,e.call(a))}return a}(i,e);d.set(i,a);let u=a.getProgram().getProgram();if(u.getTypeChecker(),D(i,u,e).has(t))return _("Found program for file. %s",t),[u];r.push(u)}return r};var S=u.default.satisfies(l.version,">=3.9.0-beta",{includePrerelease:!0})}}),nc=u({"node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js"(e){p();var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r},i=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.createProjectProgram=void 0;var o=i(ee()),a=i(t9()),s=r(Z()),u=e8(),l=ni(),c=nl(),_=ne(),d=(0,o.default)("typescript-eslint:typescript-estree:createProjectProgram"),f=[s.Extension.Ts,s.Extension.Tsx,s.Extension.Js,s.Extension.Jsx,s.Extension.Mjs,s.Extension.Mts,s.Extension.Cjs,s.Extension.Cts];e.createProjectProgram=function(e){d("Creating project program for: %s",e.filePath);let t=(0,c.getWatchProgramsForProjects)(e),n=(0,u.firstDefined)(t,t=>(0,_.getAstFromProgram)(t,e));if(n||e.createDefaultProgram)return n;let r=(0,l.describeFilePath)(e.filePath,e.tsconfigRootDir),i=e.projects.map(t=>(0,l.describeFilePath)(t,e.tsconfigRootDir)),o=[`ESLint was configured to run on \`${r}\` using \`parserOptions.project\`: ${1===i.length?i[0]:` +${i.map(e=>`- ${e}`).join(` +`)}`}`],s=!1,p=e.extraFileExtensions||[];p.forEach(e=>{e.startsWith(".")||o.push(`Found unexpected extension \`${e}\` specified with the \`parserOptions.extraFileExtensions\` option. Did you mean \`.${e}\`?`),f.includes(e)&&o.push(`You unnecessarily included the extension \`${e}\` with the \`parserOptions.extraFileExtensions\` option. This extension is already handled by the parser by default.`)});let m=a.default.extname(e.filePath);if(!f.includes(m)){let e=`The extension for the file (\`${m}\`) is non-standard`;p.length>0?p.includes(m)||(o.push(`${e}. It should be added to your existing \`parserOptions.extraFileExtensions\`.`),s=!0):(o.push(`${e}. You should add \`parserOptions.extraFileExtensions\` to your config.`),s=!0)}if(!s){let[t,n]=1===e.projects.length?["that TSConfig does not","that TSConfig"]:["none of those TSConfigs","one of those TSConfigs"];o.push(`However, ${t} include this file. Either:`,"- Change ESLint's list of included files to not include this file",`- Change ${n} to include this file`,"- Create a new TSConfig that includes this file and include it in your parserOptions.project","See the typescript-eslint docs for more info: https://typescript-eslint.io/linting/troubleshooting#i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file")}throw Error(o.join(` +`))}}}),n_=u({"node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js"(e){p();var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r},i=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.createSourceFile=void 0;var o=i(ee()),a=r(Z()),s=nn(),u=(0,o.default)("typescript-eslint:typescript-estree:createSourceFile");e.createSourceFile=function(e){return u("Getting AST without type information in %s mode for: %s",e.jsx?"TSX":"TS",e.filePath),a.createSourceFile(e.filePath,e.code,a.ScriptTarget.Latest,!0,(0,s.getScriptKind)(e.filePath,e.jsx))}}}),np=u({"node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js"(e){p();var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),r=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(n,e,i);return r(n,e),n},o=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.createProgramFromConfigFile=e.useProvidedPrograms=void 0;var a=o(ee()),s=i(nu()),u=i(t9()),l=i(Z()),c=ne(),_=(0,a.default)("typescript-eslint:typescript-estree:useProvidedProgram");function d(e){return l.formatDiagnostics(e,{getCanonicalFileName:e=>e,getCurrentDirectory:n.cwd,getNewLine:()=>` +`})}e.useProvidedPrograms=function(e,t){let n;for(let r of(_("Retrieving ast for %s from provided program instance(s)",t.filePath),e))if(n=(0,c.getAstFromProgram)(r,t))break;if(!n)throw Error(['"parserOptions.programs" has been provided for @typescript-eslint/parser.',`The file was not found in any of the provided program instance(s): ${u.relative(t.tsconfigRootDir||"/prettier-security-dirname-placeholder",t.filePath)}`].join(` +`));return n.program.getTypeChecker(),n},e.createProgramFromConfigFile=function(e,t){if(void 0===l.sys)throw Error("`createProgramFromConfigFile` is only supported in a Node-like environment.");let n=l.getParsedCommandLineOfConfigFile(e,c.CORE_COMPILER_OPTIONS,{onUnRecoverableConfigFileDiagnostic:e=>{throw Error(d([e]))},fileExists:s.existsSync,getCurrentDirectory:()=>t&&u.resolve(t)||"/prettier-security-dirname-placeholder",readDirectory:l.sys.readDirectory,readFile:e=>s.readFileSync(e,"utf-8"),useCaseSensitiveFileNames:l.sys.useCaseSensitiveFileNames});if(n.errors.length)throw Error(d(n.errors));let r=l.createCompilerHost(n.options,!0);return l.createProgram(n.fileNames,n.options,r)}}}),nd=u({"node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/ExpiringCache.js"(e){p();var t,r,i=e&&e.__classPrivateFieldSet||function(e,t,n,r,i){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n},o=e&&e.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(e,"__esModule",{value:!0}),e.ExpiringCache=e.DEFAULT_TSCONFIG_CACHE_DURATION_SECONDS=void 0,e.DEFAULT_TSCONFIG_CACHE_DURATION_SECONDS=30;var a=[0,0],s=class{constructor(e){t.set(this,void 0),r.set(this,new Map),i(this,t,e,"f")}set(e,i){return o(this,r,"f").set(e,{value:i,lastSeen:"Infinity"===o(this,t,"f")?a:n.hrtime()}),this}get(e){let i=o(this,r,"f").get(e);if((null==i?void 0:i.value)!=null){if("Infinity"===o(this,t,"f")||n.hrtime(i.lastSeen)[0]1&&r.length>=e.tsconfigRootDir.length)throw Error(`project was set to \`true\` but couldn't find any tsconfig.json relative to '${e.filePath}' within '${e.tsconfigRootDir}'.`)}}}),nm=u({"node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/inferSingleRun.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),e.inferSingleRun=void 0;var t=t9();e.inferSingleRun=function(e){return(null==e?void 0:e.project)!=null&&(null==e?void 0:e.programs)==null&&"false"!==n.env.TSESTREE_SINGLE_RUN&&!!("true"===n.env.TSESTREE_SINGLE_RUN||null!=e&&e.allowAutomaticSingleRunInference&&("true"===n.env.CI||n.argv[1].endsWith((0,t.normalize)("node_modules/.bin/eslint"))))}}}),nh=u({"node_modules/is-extglob/index.js"(e,t){p(),t.exports=function(e){if("string"!=typeof e||""===e)return!1;for(var t;t=/(\\).|([@?!+*]\(.*\))/g.exec(e);){if(t[2])return!0;e=e.slice(t.index+t[0].length)}return!1}}}),ny=u({"node_modules/is-glob/index.js"(e,t){p();var n=nh(),r={"{":"}","(":")","[":"]"},i=function(e){if("!"===e[0])return!0;for(var t=0,n=-2,i=-2,o=-2,a=-2,s=-2;tt&&(-1===s||s>i||-1===(s=e.indexOf("\\",t))||s>i))||-1!==o&&"{"===e[t]&&"}"!==e[t+1]&&(o=e.indexOf("}",t))>t&&(-1===(s=e.indexOf("\\",t))||s>o)||-1!==a&&"("===e[t]&&"?"===e[t+1]&&/[:!=]/.test(e[t+2])&&")"!==e[t+3]&&(a=e.indexOf(")",t))>t&&(-1===(s=e.indexOf("\\",t))||s>a)||-1!==n&&"("===e[t]&&"|"!==e[t+1]&&(nn&&(-1===(s=e.indexOf("\\",n))||s>a)))return!0;if("\\"===e[t]){var u=e[t+1];t+=2;var l=r[u];if(l){var c=e.indexOf(l,t);-1!==c&&(t=c+1)}if("!"===e[t])return!0}else t++}return!1},o=function(e){if("!"===e[0])return!0;for(var t=0;t("string"==typeof t&&e.push(t),e),[]).map(e=>e.startsWith("!")?e:`!${e}`),p=function(e){let{project:t,projectFolderIgnoreList:n,tsconfigRootDir:r}=e,i={tsconfigRootDir:r,project:t,projectFolderIgnoreList:[...n].sort()};return(0,o.createHash)(JSON.stringify(i))}({project:c,projectFolderIgnoreList:_,tsconfigRootDir:e.tsconfigRootDir});if(null==u)u=new a.ExpiringCache(e.singleRun?"Infinity":null!==(l=null===(n=e.cacheLifetime)||void 0===n?void 0:n.glob)&&void 0!==l?l:a.DEFAULT_TSCONFIG_CACHE_DURATION_SECONDS);else{let e=u.get(p);if(e)return e}let d=c.filter(e=>!(0,i.default)(e)),f=c.filter(e=>(0,i.default)(e)),m=new Set(d.concat(0===f.length?[]:(0,r.sync)([...f,..._],{cwd:e.tsconfigRootDir})).map(t=>(0,o.getCanonicalFileName)((0,o.ensureAbsolutePath)(t,e.tsconfigRootDir))));s("parserOptions.project (excluding ignored) matched projects: %s",m);let h=Array.from(m);return u.set(p,h),h},e.clearGlobResolutionCache=function(){null==u||u.clear(),u=null}}}),nb=u({"node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.js"(e){p();var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),r=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(n,e,i);return r(n,e),n},o=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.warnAboutTSVersion=void 0;var a=o(eQ()),s=i(Z()),u=">=3.3.1 <5.1.0",l=s.version,c=a.default.satisfies(l,[u].concat(["5.0.1-rc"]).join(" || ")),_=!1;e.warnAboutTSVersion=function(e){var t;if(!c&&!_){if(!(typeof n>"u")&&(null===(t=n.stdout)||void 0===t?void 0:t.isTTY)){let t="=============",n=[t,"WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.","You may find that it works just fine, or you may not.",`SUPPORTED TYPESCRIPT VERSIONS: ${u}`,`YOUR TYPESCRIPT VERSION: ${l}`,"Please only submit bug reports when using the officially supported version.",t];e.log(n.join(` + +`))}_=!0}}}}),nv=u({"node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js"(e){p();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.clearTSConfigMatchCache=e.createParseSettings=void 0;var n,r=t(ee()),i=ne(),o=nd(),a=nf(),s=nm(),u=ng(),l=nb(),c=(0,r.default)("typescript-eslint:typescript-estree:parser:parseSettings:createParseSettings");e.createParseSettings=function(e){var t,_,p;let d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},f=(0,s.inferSingleRun)(d),m="string"==typeof d.tsconfigRootDir?d.tsconfigRootDir:"/prettier-security-dirname-placeholder",h={code:"string"!=typeof e?String(e):e,comment:!0===d.comment,comments:[],createDefaultProgram:!0===d.createDefaultProgram,debugLevel:!0===d.debugLevel?new Set(["typescript-eslint"]):Array.isArray(d.debugLevel)?new Set(d.debugLevel):new Set,errorOnTypeScriptSyntacticAndSemanticIssues:!1,errorOnUnknownASTType:!0===d.errorOnUnknownASTType,EXPERIMENTAL_useSourceOfProjectReferenceRedirect:!0===d.EXPERIMENTAL_useSourceOfProjectReferenceRedirect,extraFileExtensions:Array.isArray(d.extraFileExtensions)&&d.extraFileExtensions.every(e=>"string"==typeof e)?d.extraFileExtensions:[],filePath:(0,i.ensureAbsolutePath)("string"==typeof d.filePath&&""!==d.filePath?d.filePath:d.jsx?"estree.tsx":"estree.ts",m),jsx:!0===d.jsx,loc:!0===d.loc,log:"function"==typeof d.loggerFn?d.loggerFn:!1===d.loggerFn?()=>{}:console.log,moduleResolver:null!==(t=d.moduleResolver)&&void 0!==t?t:"",preserveNodeMaps:!1!==d.preserveNodeMaps,programs:Array.isArray(d.programs)?d.programs:null,projects:[],range:!0===d.range,singleRun:f,tokens:!0===d.tokens?[]:null,tsconfigMatchCache:null!=n?n:n=new o.ExpiringCache(f?"Infinity":null!==(p=null===(_=d.cacheLifetime)||void 0===_?void 0:_.glob)&&void 0!==p?p:o.DEFAULT_TSCONFIG_CACHE_DURATION_SECONDS),tsconfigRootDir:m};if(h.debugLevel.size>0){let e=[];h.debugLevel.has("typescript-eslint")&&e.push("typescript-eslint:*"),(h.debugLevel.has("eslint")||r.default.enabled("eslint:*,-eslint:code-path"))&&e.push("eslint:*,-eslint:code-path"),r.default.enable(e.join(","))}if(Array.isArray(d.programs)){if(!d.programs.length)throw Error("You have set parserOptions.programs to an empty array. This will cause all files to not be found in existing programs. Either provide one or more existing TypeScript Program instances in the array, or remove the parserOptions.programs setting.");c("parserOptions.programs was provided, so parserOptions.project will be ignored.")}return h.programs||(h.projects=(0,u.resolveProjectList)({cacheLifetime:d.cacheLifetime,project:(0,a.getProjectConfigFiles)(h,d.project),projectFolderIgnoreList:d.projectFolderIgnoreList,singleRun:h.singleRun,tsconfigRootDir:m})),(0,l.warnAboutTSVersion)(h),h},e.clearTSConfigMatchCache=function(){null==n||n.clear()}}}),nx=u({"node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),e.getFirstSemanticOrSyntacticError=void 0;var t=Z();function n(e){return e.filter(e=>{switch(e.code){case 1013:case 1014:case 1044:case 1045:case 1048:case 1049:case 1070:case 1071:case 1085:case 1090:case 1096:case 1097:case 1098:case 1099:case 1117:case 1121:case 1123:case 1141:case 1162:case 1164:case 1172:case 1173:case 1175:case 1176:case 1190:case 1196:case 1200:case 1206:case 1211:case 1242:case 1246:case 1255:case 1308:case 2364:case 2369:case 2452:case 2462:case 8017:case 17012:case 17013:return!0}return!1})}function r(e){return Object.assign(Object.assign({},e),{message:(0,t.flattenDiagnosticMessageText)(e.messageText,t.sys.newLine)})}e.getFirstSemanticOrSyntacticError=function(e,t){try{let i=n(e.getSyntacticDiagnostics(t));if(i.length)return r(i[0]);let o=n(e.getSemanticDiagnostics(t));return o.length?r(o[0]):void 0}catch(e){console.warn(`Warning From TSC: "${e.message}`);return}}}}),nD=u({"node_modules/@typescript-eslint/typescript-estree/dist/parser.js"(e){p();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.clearParseAndGenerateServicesCalls=e.clearProgramCache=e.parseWithNodeMaps=e.parseAndGenerateServices=e.parse=void 0;var n=t(ee()),r=tK(),i=e7(),o=nt(),a=nr(),s=nc(),u=n_(),l=np(),c=nv(),_=nx(),d=(0,n.default)("typescript-eslint:typescript-estree:parser"),f=new Map;function m(e,t,n){let i=(0,c.createParseSettings)(e,t);if(null!=t&&t.errorOnTypeScriptSyntacticAndSemanticIssues)throw Error('"errorOnTypeScriptSyntacticAndSemanticIssues" is only supported for parseAndGenerateServices()');let o=(0,u.createSourceFile)(i),{estree:a,astMaps:s}=(0,r.astConverter)(o,i,n);return{ast:a,esTreeNodeToTSNodeMap:s.esTreeNodeToTSNodeMap,tsNodeToESTreeNodeMap:s.tsNodeToESTreeNodeMap}}e.clearProgramCache=function(){f.clear()},e.parse=function(e,t){let{ast:n}=m(e,t,!1);return n},e.parseWithNodeMaps=function(e,t){return m(e,t,!0)};var h={};e.clearParseAndGenerateServicesCalls=function(){h={}},e.parseAndGenerateServices=function(e,t){var n,u;let p=(0,c.createParseSettings)(e,t);void 0!==t&&"boolean"==typeof t.errorOnTypeScriptSyntacticAndSemanticIssues&&t.errorOnTypeScriptSyntacticAndSemanticIssues&&(p.errorOnTypeScriptSyntacticAndSemanticIssues=!0),p.singleRun&&!p.programs&&(null===(n=p.projects)||void 0===n?void 0:n.length)>0&&(p.programs={*[Symbol.iterator](){for(let e of p.projects){let t=f.get(e);if(t)yield t;else{d("Detected single-run/CLI usage, creating Program once ahead of time for project: %s",e);let t=(0,l.createProgramFromConfigFile)(e);f.set(e,t),yield t}}}});let m=null!=p.programs||(null===(u=p.projects)||void 0===u?void 0:u.length)>0;p.singleRun&&t.filePath&&(h[t.filePath]=(h[t.filePath]||0)+1);let{ast:y,program:g}=p.singleRun&&t.filePath&&h[t.filePath]>1?(0,a.createIsolatedProgram)(p):p.programs&&(0,l.useProvidedPrograms)(p.programs,p)||m&&(0,s.createProjectProgram)(p)||m&&p.createDefaultProgram&&(0,o.createDefaultProgram)(p)||(0,a.createIsolatedProgram)(p),b="boolean"!=typeof p.preserveNodeMaps||p.preserveNodeMaps,{estree:v,astMaps:x}=(0,r.astConverter)(y,p,b);if(g&&p.errorOnTypeScriptSyntacticAndSemanticIssues){let e=(0,_.getFirstSemanticOrSyntacticError)(g,y);if(e)throw(0,i.convertError)(e)}return{ast:v,services:{hasFullTypeInformation:m,program:g,esTreeNodeToTSNodeMap:x.esTreeNodeToTSNodeMap,tsNodeToESTreeNodeMap:x.tsNodeToESTreeNodeMap}}}}}),nS=u({"node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),e.clearProgramCache=e.clearCaches=void 0;var t=nl(),n=nD(),r=nv(),i=ng();function o(){(0,n.clearProgramCache)(),(0,t.clearWatchCaches)(),(0,r.clearTSConfigMatchCache)(),(0,i.clearGlobCache)()}e.clearCaches=o,e.clearProgramCache=o}}),nT=u({"node_modules/@typescript-eslint/typescript-estree/package.json"(e,t){t.exports={name:"@typescript-eslint/typescript-estree",version:"5.55.0",description:"A parser that converts TypeScript source code into an ESTree compatible form",main:"dist/index.js",types:"dist/index.d.ts",files:["dist","_ts3.4","README.md","LICENSE"],engines:{node:"^12.22.0 || ^14.17.0 || >=16.0.0"},repository:{type:"git",url:"https://github.com/typescript-eslint/typescript-eslint.git",directory:"packages/typescript-estree"},bugs:{url:"https://github.com/typescript-eslint/typescript-eslint/issues"},license:"BSD-2-Clause",keywords:["ast","estree","ecmascript","javascript","typescript","parser","syntax"],scripts:{build:"tsc -b tsconfig.build.json",postbuild:"downlevel-dts dist _ts3.4/dist",clean:"tsc -b tsconfig.build.json --clean",postclean:"rimraf dist && rimraf _ts3.4 && rimraf coverage",format:'prettier --write "./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}" --ignore-path ../../.prettierignore',lint:"nx lint",test:"jest --coverage",typecheck:"tsc -p tsconfig.json --noEmit"},dependencies:{"@typescript-eslint/types":"5.55.0","@typescript-eslint/visitor-keys":"5.55.0",debug:"^4.3.4",globby:"^11.1.0","is-glob":"^4.0.3",semver:"^7.3.7",tsutils:"^3.21.0"},devDependencies:{"@babel/code-frame":"*","@babel/parser":"*","@types/babel__code-frame":"*","@types/debug":"*","@types/glob":"*","@types/is-glob":"*","@types/semver":"*","@types/tmp":"*",glob:"*","jest-specific-snapshot":"*","make-dir":"*",tmp:"*",typescript:"*"},peerDependenciesMeta:{typescript:{optional:!0}},funding:{type:"opencollective",url:"https://opencollective.com/typescript-eslint"},typesVersions:{"<3.8":{"*":["_ts3.4/*"]}},gitHead:"877d73327fca3bdbe7e170e8b3a906d090a6de37"}}}),nE=u({"node_modules/@typescript-eslint/typescript-estree/dist/index.js"(e){p();var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__exportStar||function(e,n){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),e.version=e.visitorKeys=e.typescriptVersionIsAtLeast=e.createProgram=e.simpleTraverse=e.parseWithNodeMaps=e.parseAndGenerateServices=e.parse=void 0;var r=nD();Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return r.parse}}),Object.defineProperty(e,"parseAndGenerateServices",{enumerable:!0,get:function(){return r.parseAndGenerateServices}}),Object.defineProperty(e,"parseWithNodeMaps",{enumerable:!0,get:function(){return r.parseWithNodeMaps}});var i=t$();Object.defineProperty(e,"simpleTraverse",{enumerable:!0,get:function(){return i.simpleTraverse}}),n(e5(),e);var o=np();Object.defineProperty(e,"createProgram",{enumerable:!0,get:function(){return o.createProgramFromConfigFile}}),n(nn(),e);var a=eH();Object.defineProperty(e,"typescriptVersionIsAtLeast",{enumerable:!0,get:function(){return a.typescriptVersionIsAtLeast}}),n(eG(),e),n(nS(),e);var s=tJ();Object.defineProperty(e,"visitorKeys",{enumerable:!0,get:function(){return s.visitorKeys}}),e.version=nT().version}});p();var nw=d(),nA=f(),nC=$(),nN=K(),nM=G(),{throwErrorForInvalidNodes:nk}=X(),nI={loc:!0,range:!0,comment:!0,jsx:!0,tokens:!0,loggerFn:!1,project:[]};t.exports={parsers:{typescript:nC(function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=nN(e),i=RegExp("(?:^[^\"'`]*)","m").test(e),{parseWithNodeMaps:o}=nE(),{result:a,error:s}=nA(()=>o(r,Object.assign(Object.assign({},nI),{},{jsx:i})),()=>o(r,Object.assign(Object.assign({},nI),{},{jsx:!i})));if(!a)throw function(e){let{message:t,lineNumber:n,column:r}=e;return"number"!=typeof n?e:nw(t,{start:{line:n,column:r+1}})}(s);return n.originalText=e,nk(a,n),nM(a.ast,n)})}}})()}()},9691:(e,t,n)=>{var r,i,o;e.exports=function(){"use strict";var a=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),s=a((e,t)=>{var r=function(e){return e&&e.Math==Math&&e};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()}),u=a((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}}),l=a((e,t)=>{var n=u();t.exports=!n(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})}),c=a((e,t)=>{var n=u();t.exports=!n(function(){var e=(function(){}).bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})}),_=a((e,t)=>{var n=c(),r=Function.prototype.call;t.exports=n?r.bind(r):function(){return r.apply(r,arguments)}}),p=a(e=>{var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!t.call({1:2},1);e.f=r?function(e){var t=n(this,e);return!!t&&t.enumerable}:t}),d=a((e,t)=>{t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}}),f=a((e,t)=>{var n=c(),r=Function.prototype,i=r.call,o=n&&r.bind.bind(i,i);t.exports=n?o:function(e){return function(){return i.apply(e,arguments)}}}),m=a((e,t)=>{var n=f(),r=n({}.toString),i=n("".slice);t.exports=function(e){return i(r(e),8,-1)}}),h=a((e,t)=>{var n=f(),r=u(),i=m(),o=Object,a=n("".split);t.exports=r(function(){return!o("z").propertyIsEnumerable(0)})?function(e){return"String"==i(e)?a(e,""):o(e)}:o}),y=a((e,t)=>{t.exports=function(e){return null==e}}),g=a((e,t)=>{var n=y(),r=TypeError;t.exports=function(e){if(n(e))throw r("Can't call method on "+e);return e}}),b=a((e,t)=>{var n=h(),r=g();t.exports=function(e){return n(r(e))}}),v=a((e,t)=>{var n="object"==typeof document&&document.all;t.exports={all:n,IS_HTMLDDA:typeof n>"u"&&void 0!==n}}),x=a((e,t)=>{var n=v(),r=n.all;t.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}}),D=a((e,t)=>{var n=x(),r=v(),i=r.all;t.exports=r.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===i}:function(e){return"object"==typeof e?null!==e:n(e)}}),S=a((e,t)=>{var n=s(),r=x();t.exports=function(e,t){var i;return arguments.length<2?r(i=n[e])?i:void 0:n[e]&&n[e][t]}}),T=a((e,t)=>{var n=f();t.exports=n({}.isPrototypeOf)}),E=a((e,t)=>{var n=S();t.exports=n("navigator","userAgent")||""}),w=a((e,t)=>{var n,r,i=s(),o=E(),a=i.process,u=i.Deno,l=a&&a.versions||u&&u.version,c=l&&l.v8;c&&(r=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!r&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(r=+n[1]),t.exports=r}),A=a((e,t)=>{var n=w(),r=u();t.exports=!!Object.getOwnPropertySymbols&&!r(function(){var e=Symbol();return!String(e)||!(Object(e) instanceof Symbol)||!Symbol.sham&&n&&n<41})}),C=a((e,t)=>{var n=A();t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}),N=a((e,t)=>{var n=S(),r=x(),i=T(),o=C(),a=Object;t.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return r(t)&&i(t.prototype,a(e))}}),M=a((e,t)=>{var n=String;t.exports=function(e){try{return n(e)}catch{return"Object"}}}),k=a((e,t)=>{var n=x(),r=M(),i=TypeError;t.exports=function(e){if(n(e))return e;throw i(r(e)+" is not a function")}}),I=a((e,t)=>{var n=k(),r=y();t.exports=function(e,t){var i=e[t];return r(i)?void 0:n(i)}}),j=a((e,t)=>{var n=_(),r=x(),i=D(),o=TypeError;t.exports=function(e,t){var a,s;if("string"===t&&r(a=e.toString)&&!i(s=n(a,e))||r(a=e.valueOf)&&!i(s=n(a,e))||"string"!==t&&r(a=e.toString)&&!i(s=n(a,e)))return s;throw o("Can't convert object to primitive value")}}),O=a((e,t)=>{t.exports=!1}),P=a((e,t)=>{var n=s(),r=Object.defineProperty;t.exports=function(e,t){try{r(n,e,{value:t,configurable:!0,writable:!0})}catch{n[e]=t}return t}}),F=a((e,t)=>{var n=s(),r=P(),i="__core-js_shared__",o=n[i]||r(i,{});t.exports=o}),L=a((e,t)=>{var n=O(),r=F();(t.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.26.1",mode:n?"pure":"global",copyright:"\xa9 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"})}),z=a((e,t)=>{var n=g(),r=Object;t.exports=function(e){return r(n(e))}}),R=a((e,t)=>{var n=f(),r=z(),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(r(e),t)}}),B=a((e,t)=>{var n=f(),r=0,i=Math.random(),o=n(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++r+i,36)}}),U=a((e,t)=>{var n=s(),r=L(),i=R(),o=B(),a=A(),u=C(),l=r("wks"),c=n.Symbol,_=c&&c.for,p=u?c:c&&c.withoutSetter||o;t.exports=function(e){if(!i(l,e)||!(a||"string"==typeof l[e])){var t="Symbol."+e;a&&i(c,e)?l[e]=c[e]:u&&_?l[e]=_(t):l[e]=p(t)}return l[e]}}),J=a((e,t)=>{var n=_(),r=D(),i=N(),o=I(),a=j(),s=U(),u=TypeError,l=s("toPrimitive");t.exports=function(e,t){if(!r(e)||i(e))return e;var s,c=o(e,l);if(c){if(void 0===t&&(t="default"),!r(s=n(c,e,t))||i(s))return s;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}}),$=a((e,t)=>{var n=J(),r=N();t.exports=function(e){var t=n(e,"string");return r(t)?t:t+""}}),K=a((e,t)=>{var n=s(),r=D(),i=n.document,o=r(i)&&r(i.createElement);t.exports=function(e){return o?i.createElement(e):{}}}),V=a((e,t)=>{var n=l(),r=u(),i=K();t.exports=!n&&!r(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})}),Y=a(e=>{var t=l(),n=_(),r=p(),i=d(),o=b(),a=$(),s=R(),u=V(),c=Object.getOwnPropertyDescriptor;e.f=t?c:function(e,t){if(e=o(e),t=a(t),u)try{return c(e,t)}catch{}if(s(e,t))return i(!n(r.f,e,t),e[t])}}),q=a((e,t)=>{var n=l(),r=u();t.exports=n&&r(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}),W=a((e,t)=>{var n=D(),r=String,i=TypeError;t.exports=function(e){if(n(e))return e;throw i(r(e)+" is not an object")}}),Q=a(e=>{var t=l(),n=V(),r=q(),i=W(),o=$(),a=TypeError,s=Object.defineProperty,u=Object.getOwnPropertyDescriptor,c="enumerable",_="configurable",p="writable";e.f=t?r?function(e,t,n){if(i(e),t=o(t),i(n),"function"==typeof e&&"prototype"===t&&"value"in n&&p in n&&!n[p]){var r=u(e,t);r&&r[p]&&(e[t]=n.value,n={configurable:_ in n?n[_]:r[_],enumerable:c in n?n[c]:r[c],writable:!1})}return s(e,t,n)}:s:function(e,t,r){if(i(e),t=o(t),i(r),n)try{return s(e,t,r)}catch{}if("get"in r||"set"in r)throw a("Accessors not supported");return"value"in r&&(e[t]=r.value),e}}),H=a((e,t)=>{var n=l(),r=Q(),i=d();t.exports=n?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}}),G=a((e,t)=>{var n=l(),r=R(),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=r(i,"name"),s=a&&(!n||n&&o(i,"name").configurable);t.exports={EXISTS:a,PROPER:a&&"something"===(function(){}).name,CONFIGURABLE:s}}),Z=a((e,t)=>{var n=f(),r=x(),i=F(),o=n(Function.toString);r(i.inspectSource)||(i.inspectSource=function(e){return o(e)}),t.exports=i.inspectSource}),X=a((e,t)=>{var n=s(),r=x(),i=n.WeakMap;t.exports=r(i)&&/native code/.test(String(i))}),ee=a((e,t)=>{var n=L(),r=B(),i=n("keys");t.exports=function(e){return i[e]||(i[e]=r(e))}}),et=a((e,t)=>{t.exports={}}),en=a((e,t)=>{var n,r,i,o,a,u=X(),l=s(),c=D(),_=H(),p=R(),d=F(),f=ee(),m=et(),h="Object already initialized",y=l.TypeError,g=l.WeakMap;u||d.state?((n=d.state||(d.state=new g)).get=n.get,n.has=n.has,n.set=n.set,i=function(e,t){if(n.has(e))throw y(h);return t.facade=e,n.set(e,t),t},o=function(e){return n.get(e)||{}},a=function(e){return n.has(e)}):(m[r=f("state")]=!0,i=function(e,t){if(p(e,r))throw y(h);return t.facade=e,_(e,r,t),t},o=function(e){return p(e,r)?e[r]:{}},a=function(e){return p(e,r)}),t.exports={set:i,get:o,has:a,enforce:function(e){return a(e)?o(e):i(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=o(t)).type!==e)throw y("Incompatible receiver, "+e+" required");return n}}}}),er=a((e,t)=>{var n=u(),r=x(),i=R(),o=l(),a=G().CONFIGURABLE,s=Z(),c=en(),_=c.enforce,p=c.get,d=Object.defineProperty,f=o&&!n(function(){return 8!==d(function(){},"length",{value:8}).length}),m=String(String).split("String"),h=t.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!i(e,"name")||a&&e.name!==t)&&(o?d(e,"name",{value:t,configurable:!0}):e.name=t),f&&n&&i(n,"arity")&&e.length!==n.arity&&d(e,"length",{value:n.arity});try{n&&i(n,"constructor")&&n.constructor?o&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch{}var r=_(e);return i(r,"source")||(r.source=m.join("string"==typeof t?t:"")),e};Function.prototype.toString=h(function(){return r(this)&&p(this).source||s(this)},"toString")}),ei=a((e,t)=>{var n=x(),r=Q(),i=er(),o=P();t.exports=function(e,t,a,s){s||(s={});var u=s.enumerable,l=void 0!==s.name?s.name:t;if(n(a)&&i(a,l,s),s.global)u?e[t]=a:o(t,a);else{try{s.unsafe?e[t]&&(u=!0):delete e[t]}catch{}u?e[t]=a:r.f(e,t,{value:a,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}}),eo=a((e,t)=>{var n=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?r:n)(t)}}),ea=a((e,t)=>{var n=eo();t.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}}),es=a((e,t)=>{var n=ea(),r=Math.max,i=Math.min;t.exports=function(e,t){var o=n(e);return o<0?r(o+t,0):i(o,t)}}),eu=a((e,t)=>{var n=ea(),r=Math.min;t.exports=function(e){return e>0?r(n(e),9007199254740991):0}}),el=a((e,t)=>{var n=eu();t.exports=function(e){return n(e.length)}}),ec=a((e,t)=>{var n=b(),r=es(),i=el(),o=function(e){return function(t,o,a){var s,u=n(t),l=i(u),c=r(a,l);if(e&&o!=o){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===o)return e||c||0;return!e&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}}),e_=a((e,t)=>{var n=f(),r=R(),i=b(),o=ec().indexOf,a=et(),s=n([].push);t.exports=function(e,t){var n,u=i(e),l=0,c=[];for(n in u)!r(a,n)&&r(u,n)&&s(c,n);for(;t.length>l;)r(u,n=t[l++])&&(~o(c,n)||s(c,n));return c}}),ep=a((e,t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),ed=a(e=>{var t=e_(),n=ep().concat("length","prototype");e.f=Object.getOwnPropertyNames||function(e){return t(e,n)}}),ef=a(e=>{e.f=Object.getOwnPropertySymbols}),em=a((e,t)=>{var n=S(),r=f(),i=ed(),o=ef(),a=W(),s=r([].concat);t.exports=n("Reflect","ownKeys")||function(e){var t=i.f(a(e)),n=o.f;return n?s(t,n(e)):t}}),eh=a((e,t)=>{var n=R(),r=em(),i=Y(),o=Q();t.exports=function(e,t,a){for(var s=r(t),u=o.f,l=i.f,c=0;c{var n=u(),r=x(),i=/#|\.prototype\./,o=function(e,t){var i=s[a(e)];return i==c||i!=l&&(r(t)?n(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=o.data={},l=o.NATIVE="N",c=o.POLYFILL="P";t.exports=o}),eg=a((e,t)=>{var n=s(),r=Y().f,i=H(),o=ei(),a=P(),u=eh(),l=ey();t.exports=function(e,t){var s,c,_,p,d,f=e.target,m=e.global,h=e.stat;if(s=m?n:h?n[f]||a(f,{}):(n[f]||{}).prototype)for(c in t){if(p=t[c],_=e.dontCallGetSet?(d=r(s,c))&&d.value:s[c],!l(m?c:f+(h?".":"#")+c,e.forced)&&void 0!==_){if(typeof p==typeof _)continue;u(p,_)}(e.sham||_&&_.sham)&&i(p,"sham",!0),o(s,c,p,e)}}}),eb=a((e,t)=>{var n=m();t.exports=Array.isArray||function(e){return"Array"==n(e)}}),ev=a((e,t)=>{var n=TypeError;t.exports=function(e){if(e>9007199254740991)throw n("Maximum allowed index exceeded");return e}}),ex=a((e,t)=>{var n=m(),r=f();t.exports=function(e){if("Function"===n(e))return r(e)}}),eD=a((e,t)=>{var n=ex(),r=k(),i=c(),o=n(n.bind);t.exports=function(e,t){return r(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}}),eS=a((e,t)=>{var n=eb(),r=el(),i=ev(),o=eD(),a=function(e,t,s,u,l,c,_,p){for(var d,f,m=l,h=0,y=!!_&&o(_,p);h0&&n(d)?(f=r(d),m=a(e,t,d,f,m,c-1)-1):(i(m+1),e[m]=d),m++),h++;return m};t.exports=a}),eT=a((e,t)=>{var n=U()("toStringTag"),r={};r[n]="z",t.exports="[object z]"===String(r)}),eE=a((e,t)=>{var n=eT(),r=x(),i=m(),o=U()("toStringTag"),a=Object,s="Arguments"==i(function(){return arguments}()),u=function(e,t){try{return e[t]}catch{}};t.exports=n?i:function(e){var t,n,l;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=u(t=a(e),o))?n:s?i(t):"Object"==(l=i(t))&&r(t.callee)?"Arguments":l}}),ew=a((e,t)=>{var n=f(),r=u(),i=x(),o=eE(),a=S(),s=Z(),l=function(){},c=[],_=a("Reflect","construct"),p=/^\s*(?:class|function)\b/,d=n(p.exec),m=!p.exec(l),h=function(e){if(!i(e))return!1;try{return _(l,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||!!d(p,s(e))}catch{return!0}};y.sham=!0,t.exports=!_||r(function(){var e;return h(h.call)||!h(Object)||!h(function(){e=!0})||e})?y:h}),eA=a((e,t)=>{var n=eb(),r=ew(),i=D(),o=U()("species"),a=Array;t.exports=function(e){var t;return n(e)&&(r(t=e.constructor)&&(t===a||n(t.prototype))?t=void 0:i(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?a:t}}),eC=a((e,t)=>{var n=eA();t.exports=function(e,t){return new(n(e))(0===t?0:t)}}),eN=a(()=>{var e=eg(),t=eS(),n=k(),r=z(),i=el(),o=eC();e({target:"Array",proto:!0},{flatMap:function(e){var a,s=r(this),u=i(s);return n(e),(a=o(s,0)).length=t(a,s,s,u,0,1,e,arguments.length>1?arguments[1]:void 0),a}})}),eM=a((e,t)=>{t.exports={}}),ek=a((e,t)=>{var n=U(),r=eM(),i=n("iterator"),o=Array.prototype;t.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}}),eI=a((e,t)=>{var n=eE(),r=I(),i=y(),o=eM(),a=U()("iterator");t.exports=function(e){if(!i(e))return r(e,a)||r(e,"@@iterator")||o[n(e)]}}),ej=a((e,t)=>{var n=_(),r=k(),i=W(),o=M(),a=eI(),s=TypeError;t.exports=function(e,t){var u=arguments.length<2?a(e):t;if(r(u))return i(n(u,e));throw s(o(e)+" is not iterable")}}),eO=a((e,t)=>{var n=_(),r=W(),i=I();t.exports=function(e,t,o){var a,s;r(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw o;return o}a=n(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw o;if(s)throw a;return r(a),o}}),eP=a((e,t)=>{var n=eD(),r=_(),i=W(),o=M(),a=ek(),s=el(),u=T(),l=ej(),c=eI(),p=eO(),d=TypeError,f=function(e,t){this.stopped=e,this.result=t},m=f.prototype;t.exports=function(e,t,_){var h,y,g,b,v,x,D,S=_&&_.that,T=!!(_&&_.AS_ENTRIES),E=!!(_&&_.IS_RECORD),w=!!(_&&_.IS_ITERATOR),A=!!(_&&_.INTERRUPTED),C=n(t,S),N=function(e){return h&&p(h,"normal",e),new f(!0,e)},M=function(e){return T?(i(e),A?C(e[0],e[1],N):C(e[0],e[1])):A?C(e,N):C(e)};if(E)h=e.iterator;else if(w)h=e;else{if(!(y=c(e)))throw d(o(e)+" is not iterable");if(a(y)){for(g=0,b=s(e);b>g;g++)if((v=M(e[g]))&&u(m,v))return v;return new f(!1)}h=l(e,y)}for(x=E?e.next:h.next;!(D=r(x,h)).done;){try{v=M(D.value)}catch(e){p(h,"throw",e)}if("object"==typeof v&&v&&u(m,v))return v}return new f(!1)}}),eF=a((e,t)=>{var n=$(),r=Q(),i=d();t.exports=function(e,t,o){var a=n(t);a in e?r.f(e,a,i(0,o)):e[a]=o}}),eL=a(()=>{var e=eg(),t=eP(),n=eF();e({target:"Object",stat:!0},{fromEntries:function(e){var r={};return t(e,function(e,t){n(r,e,t)},{AS_ENTRIES:!0}),r}})}),ez=a((e,t)=>{var n=er(),r=Q();t.exports=function(e,t,i){return i.get&&n(i.get,t,{getter:!0}),i.set&&n(i.set,t,{setter:!0}),r.f(e,t,i)}}),eR=a((e,t)=>{var n=W();t.exports=function(){var e=n(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}}),eB=a(()=>{var e=s(),t=l(),n=ez(),r=eR(),i=u(),o=e.RegExp,a=o.prototype;t&&i(function(){var e=!0;try{o(".","d")}catch{e=!1}var t={},n="",r=e?"dgimsy":"gimsy",i=function(e,r){Object.defineProperty(t,e,{get:function(){return n+=r,!0}})},s={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var u in e&&(s.hasIndices="d"),s)i(u,s[u]);return Object.getOwnPropertyDescriptor(a,"flags").get.call(t)!==r||n!==r})&&n(a,"flags",{configurable:!0,get:r})}),eU=a(()=>{var e=eg(),t=s();e({global:!0,forced:t.globalThis!==t},{globalThis:t})}),eJ=a(()=>{eU()}),e$=a(()=>{var e=eg(),t=eS(),n=z(),r=el(),i=ea(),o=eC();e({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,a=n(this),s=r(a),u=o(a,0);return u.length=t(u,a,a,s,0,void 0===e?1:i(e)),u}})});return a((n,a)=>{var s=["cliName","cliCategory","cliDescription"],u=["_"],l=["languageId"];function c(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}eN(),eL(),eB(),eJ(),e$();var _,p=Object.create,d=Object.defineProperty,f=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertyNames,h=Object.getPrototypeOf,y=Object.prototype.hasOwnProperty,g=(e,t)=>function(){return e&&(t=(0,e[m(e)[0]])(e=0)),t},b=(e,t)=>function(){return t||(0,e[m(e)[0]])((t={exports:{}}).exports,t),t.exports},v=(e,t)=>{for(var n in t)d(e,n,{get:t[n],enumerable:!0})},x=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of m(t))y.call(e,i)||i===n||d(e,i,{get:()=>t[i],enumerable:!(r=f(t,i))||r.enumerable});return e},D=(e,t,n)=>(n=null!=e?p(h(e)):{},x(!t&&e&&e.__esModule?n:d(n,"default",{value:e,enumerable:!0}),e)),S=e=>x(d({},"__esModule",{value:!0}),e),T=g({""(){_={env:{},argv:[]}}}),E=b({"package.json"(e,t){t.exports={version:"2.8.8"}}}),w=b({"node_modules/diff/lib/diff/base.js"(e){function t(){}T(),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]:{},r=n.callback;"function"==typeof n&&(r=n,n={}),this.options=n;var i=this;function o(e){return r?(setTimeout(function(){r(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,s=e.length,u=1,l=a+s,c=[{newPos:-1,components:[]}],_=this.extractCommon(c[0],t,e,0);if(c[0].newPos+1>=a&&_+1>=s)return o([{value:this.join(t),count:t.length}]);function p(){for(var n=-1*u;n<=u;n+=2){var r=void 0,l=c[n-1],_=c[n+1],p=(_?_.newPos:0)-n;l&&(c[n-1]=void 0);var d=l&&l.newPos+1=a&&p+1>=s)return o(function(e,t,n,r,i){for(var o=0,a=t.length,s=0,u=0;oe.length?n:e}),l.value=e.join(_)}else l.value=e.join(n.slice(s,s+l.count));s+=l.count,l.added||(u+=l.count)}}var p=t[a-1];return a>1&&"string"==typeof p.value&&(p.added||p.removed)&&e.equals("",p.value)&&(t[a-2].value+=p.value,t.pop()),t}(i,r.components,t,e,i.useLongestToken));c[n]=r}u++}if(r)!function e(){setTimeout(function(){if(u>l)return r();p()||e()},0)}();else for(;u<=l;){var d=p();if(d)return d}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var i=t.length,o=n.length,a=e.newPos,s=a-r,u=0;a+11&&void 0!==arguments[1]?arguments[1]:{};return{type:"group",id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}T();var a={type:"break-parent"},s={type:"line",hard:!0},u={type:"line",hard:!0,literal:!0},l=n([s,a]),c=n([u,a]),_={type:"cursor",placeholder:Symbol("cursor")};t.exports={concat:n,join:function(e,t){let r=[];for(let n=0;n2&&void 0!==arguments[2]?arguments[2]:{};return{type:"if-break",breakContents:e,flatContents:t,groupId:n.groupId}},trim:{type:"trim"},indent:r,indentIfBreak:function(e,t){return{type:"indent-if-break",contents:e,groupId:t.groupId,negate:t.negate}},align:i,addAlignmentToDoc:function(e,t,n){let o=e;if(t>0){for(let e=0;e=0?e.charAt(t+1)===` +`?"crlf":"cr":"lf"},convertEndOfLineToChars:function(e){switch(e){case"cr":return"\r";case"crlf":return`\r +`;default:return` +`}},countEndOfLineChars:function(e,t){let n;switch(t){case` +`:n=/\n/g;break;case"\r":n=/\r/g;break;case`\r +`:n=/\r\n/g;break;default:throw Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let r=e.match(n);return r?r.length:0},normalizeEndOfLine:function(e){return e.replace(/\r\n?/g,` +`)}}}}),M=b({"src/utils/get-last.js"(e,t){T(),t.exports=e=>e[e.length-1]}}),k=g({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){T()}}),I=g({"node_modules/strip-ansi/index.js"(){T(),k()}}),j=g({"node_modules/is-fullwidth-code-point/index.js"(){T()}}),O=b({"node_modules/emoji-regex/index.js"(e,t){T(),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}}}),P={};function F(e){if("string"!=typeof e||0===e.length||0===(e=function(e){if("string"!=typeof e)throw TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(function(){let{onlyFirst:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return RegExp("[\\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=><~]))",e?void 0:"g")}(),"")}(e)).length)return 0;e=e.replace((0,L.default)()," ");let t=0;for(let n=0;n=127&&r<=159||r>=768&&r<=879||(r>65535&&n++,t+=Number.isInteger(r)&&r>=4352&&(r<=4447||9001===r||9002===r||11904<=r&&r<=12871&&12351!==r||12880<=r&&r<=19903||19968<=r&&r<=42182||43360<=r&&r<=43388||44032<=r&&r<=55203||63744<=r&&r<=64255||65040<=r&&r<=65049||65072<=r&&r<=65131||65281<=r&&r<=65376||65504<=r&&r<=65510||110592<=r&&r<=110593||127488<=r&&r<=127569||131072<=r&&r<=262141)?2:1)}return t}v(P,{default:()=>F});var L,z=g({"node_modules/string-width/index.js"(){T(),I(),j(),L=D(O())}}),R=b({"src/utils/get-string-width.js"(e,t){T();var n=(z(),S(P)).default,r=/[^\x20-\x7F]/;t.exports=function(e){return e?r.test(e)?n(e):e.length:0}}}),B=b({"src/document/doc-utils.js"(e,t){T();var n=M(),{literalline:r,join:i}=C(),o=e=>Array.isArray(e)||e&&"concat"===e.type,a=e=>{if(Array.isArray(e))return e;if("concat"!==e.type&&"fill"!==e.type)throw Error("Expect doc type to be `concat` or `fill`.");return e.parts},s={};function u(e,t,n,r){let i=[e];for(;i.length>0;){let e=i.pop();if(e===s){n(i.pop());continue}if(n&&i.push(e,s),!t||!1!==t(e)){if(o(e)||"fill"===e.type){let t=a(e);for(let e=t.length,n=e-1;n>=0;--n)i.push(t[n])}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(r)for(let t=e.expandedStates.length,n=t-1;n>=0;--n)i.push(e.expandedStates[n]);else i.push(e.contents)}else e.contents&&i.push(e.contents)}}}function l(e,t){let n=new Map;return function e(r){if(n.has(r))return n.get(r);let i=function(n){if(Array.isArray(n))return t(n.map(e));if("concat"===n.type||"fill"===n.type){let r=n.parts.map(e);return t(Object.assign(Object.assign({},n),{},{parts:r}))}if("if-break"===n.type){let r=n.breakContents&&e(n.breakContents),i=n.flatContents&&e(n.flatContents);return t(Object.assign(Object.assign({},n),{},{breakContents:r,flatContents:i}))}if("group"===n.type&&n.expandedStates){let r=n.expandedStates.map(e),i=r[0];return t(Object.assign(Object.assign({},n),{},{contents:i,expandedStates:r}))}if(n.contents){let r=e(n.contents);return t(Object.assign(Object.assign({},n),{},{contents:r}))}return t(n)}(r);return n.set(r,i),i}(e)}function c(e,t,n){let r=n,i=!1;return u(e,function(e){let n=t(e);if(void 0!==n&&(i=!0,r=n),i)return!1}),r}function _(e){if("group"===e.type&&e.break||"line"===e.type&&e.hard||"break-parent"===e.type)return!0}function p(e){if(e.length>0){let t=n(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){return l(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(!o(e))return e;let t=[];for(let r of a(e)){if(!r)continue;let[e,...i]=o(r)?a(r):[r];"string"==typeof e&&"string"==typeof n(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 h(e){let t=[],r=e.filter(Boolean);for(;r.length>0;){let e=r.shift();if(e){if(o(e)){r.unshift(...a(e));continue}if(t.length>0&&"string"==typeof n(t)&&"string"==typeof e){t[t.length-1]+=e;continue}t.push(e)}}return t}function y(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r;return i(t,e.split(` +`)).parts}function g(e){if("line"===e.type)return!0}t.exports={isConcat:o,getDocParts:a,willBreak:function(e){return c(e,_,!1)},traverseDoc:u,findInDoc:c,mapDoc:l,propagateBreaks:function(e){let t=new Set,n=[];u(e,function(e){if("break-parent"===e.type&&p(n),"group"===e.type){if(n.push(e),t.has(e))return!1;t.add(e)}},function(e){"group"===e.type&&n.pop().break&&p(n)},!0)},removeLines:function(e){return l(e,d)},stripTrailingHardline:function(e){return function e(t){if(!t)return t;if(o(t)||"fill"===t.type){let r=a(t);for(;r.length>1&&f(...r.slice(-2));)r.length-=2;if(r.length>0){let t=e(n(r));r[r.length-1]=t}return Array.isArray(t)?r:Object.assign(Object.assign({},t),{},{parts:r})}switch(t.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{let n=e(t.contents);return Object.assign(Object.assign({},t),{},{contents:n})}case"if-break":{let n=e(t.breakContents),r=e(t.flatContents);return Object.assign(Object.assign({},t),{},{breakContents:n,flatContents:r})}}return t}(m(e))},normalizeParts:h,normalizeDoc:function(e){return l(e,e=>Array.isArray(e)?h(e):e.parts?Object.assign(Object.assign({},e),{},{parts:h(e.parts)}):e)},cleanDoc:m,replaceTextEndOfLine:y,replaceEndOfLine:function(e){return l(e,e=>"string"==typeof e&&e.includes(` +`)?y(e):e)},canBreak:function(e){return c(e,g,!1)}}}}),U=b({"src/document/doc-printer.js"(e,t){T();var n,{convertEndOfLineToChars:r}=N(),i=M(),o=R(),{fill:a,cursor:s,indent:u}=C(),{isConcat:l,getDocParts:c}=B();function _(){return{value:"",length:0,queue:[]}}function p(e,t,n){let r="dedent"===t.type?e.queue.slice(0,-1):[...e.queue,t],i="",o=0,a=0,s=0;for(let e of r)switch(e.type){case"indent":c(),n.useTabs?u(1):l(n.tabWidth);break;case"stringAlign":c(),i+=e.n,o+=e.n.length;break;case"numberAlign":a+=1,s+=e.n;break;default:throw Error(`Unexpected type '${e.type}'`)}return _(),Object.assign(Object.assign({},e),{},{value:i,length:o,queue:r});function u(e){i+=" ".repeat(e),o+=n.tabWidth*e}function l(e){i+=" ".repeat(e),o+=e}function c(){n.useTabs?(a>0&&u(a),a=0,s=0):_()}function _(){s>0&&l(s),a=0,s=0}}function d(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 n=i(e).replace(/[\t ]*$/,"");t+=i(e).length-n.length,e[e.length-1]=n}return t}function f(e,t,r,a,s){let u=t.length,_=[e],p=[];for(;r>=0;){if(0===_.length){if(0===u)return!0;_.push(t[--u]);continue}let{mode:e,doc:f}=_.pop();if("string"==typeof f)p.push(f),r-=o(f);else if(l(f)||"fill"===f.type){let t=c(f);for(let n=t.length-1;n>=0;n--)_.push({mode:e,doc:t[n]})}else switch(f.type){case"indent":case"align":case"indent-if-break":case"label":_.push({mode:e,doc:f.contents});break;case"trim":r+=d(p);break;case"group":{if(s&&f.break)return!1;let t=f.break?1:e,n=f.expandedStates&&1===t?i(f.expandedStates):f.contents;_.push({mode:t,doc:n});break}case"if-break":{let t=(f.groupId?n[f.groupId]||2:e)===1?f.breakContents:f.flatContents;t&&_.push({mode:e,doc:t});break}case"line":if(1===e||f.hard)return!0;f.soft||(p.push(" "),r--);break;case"line-suffix":a=!0;break;case"line-suffix-boundary":if(a)return!1}}return!1}t.exports={printDocToString:function(e,t){n={};let m=t.printWidth,h=r(t.endOfLine),y=0,g=[{ind:_(),mode:1,doc:e}],b=[],v=!1,x=[];for(;g.length>0;){let{ind:e,mode:r,doc:S}=g.pop();if("string"==typeof S){let e=h!==` +`?S.replace(/\n/g,h):S;b.push(e),y+=o(e)}else if(l(S)){let t=c(S);for(let n=t.length-1;n>=0;n--)g.push({ind:e,mode:r,doc:t[n]})}else switch(S.type){case"cursor":b.push(s.placeholder);break;case"indent":g.push({ind:p(e,{type:"indent"},t),mode:r,doc:S.contents});break;case"align":var D;g.push({ind:(D=S.n)===Number.NEGATIVE_INFINITY?e.root||_():D<0?p(e,{type:"dedent"},t):D?"root"===D.type?Object.assign(Object.assign({},e),{},{root:e}):p(e,{type:"string"==typeof D?"stringAlign":"numberAlign",n:D},t):e,mode:r,doc:S.contents});break;case"trim":y-=d(b);break;case"group":switch(r){case 2:if(!v){g.push({ind:e,mode:S.break?1:2,doc:S.contents});break}case 1:{v=!1;let t={ind:e,mode:2,doc:S.contents},n=m-y,r=x.length>0;if(!S.break&&f(t,g,n,r))g.push(t);else if(S.expandedStates){let t=i(S.expandedStates);if(S.break)g.push({ind:e,mode:1,doc:t});else for(let i=1;i=S.expandedStates.length){g.push({ind:e,mode:1,doc:t});break}else{let t={ind:e,mode:2,doc:S.expandedStates[i]};if(f(t,g,n,r)){g.push(t);break}}}else g.push({ind:e,mode:1,doc:S.contents})}}S.id&&(n[S.id]=i(g).mode);break;case"fill":{let t=m-y,{parts:n}=S;if(0===n.length)break;let[i,o]=n,s={ind:e,mode:2,doc:i},u={ind:e,mode:1,doc:i},l=f(s,[],t,x.length>0,!0);if(1===n.length){l?g.push(s):g.push(u);break}let c={ind:e,mode:2,doc:o},_={ind:e,mode:1,doc:o};if(2===n.length){l?g.push(c,s):g.push(_,u);break}n.splice(0,2);let p={ind:e,mode:r,doc:a(n)};f({ind:e,mode:2,doc:[i,o,n[0]]},[],t,x.length>0,!0)?g.push(p,c,s):l?g.push(p,_,s):g.push(p,_,u);break}case"if-break":case"indent-if-break":{let t=S.groupId?n[S.groupId]:r;if(1===t){let t="if-break"===S.type?S.breakContents:S.negate?S.contents:u(S.contents);t&&g.push({ind:e,mode:r,doc:t})}if(2===t){let t="if-break"===S.type?S.flatContents:S.negate?u(S.contents):S.contents;t&&g.push({ind:e,mode:r,doc:t})}break}case"line-suffix":x.push({ind:e,mode:r,doc:S.contents});break;case"line-suffix-boundary":x.length>0&&g.push({ind:e,mode:r,doc:{type:"line",hard:!0}});break;case"line":switch(r){case 2:if(S.hard)v=!0;else{S.soft||(b.push(" "),y+=1);break}case 1:if(x.length>0){g.push({ind:e,mode:r,doc:S},...x.reverse()),x.length=0;break}S.literal?e.root?(b.push(h,e.root.value),y=e.root.length):(b.push(h),y=0):(y-=d(b),b.push(h+e.value),y=e.length)}break;case"label":g.push({ind:e,mode:r,doc:S.contents})}0===g.length&&x.length>0&&(g.push(...x.reverse()),x.length=0)}let S=b.indexOf(s.placeholder);if(-1!==S){let e=b.indexOf(s.placeholder,S+1),t=b.slice(0,S).join(""),n=b.slice(S+1,e).join("");return{formatted:t+n+b.slice(e+1).join(""),cursorNodeStart:t.length,cursorNodeText:n}}return{formatted:b.join("")}}}}}),J=b({"src/document/doc-debug.js"(e,t){T();var{isConcat:n,getDocParts:r}=B();t.exports={printDocToDebug:function(e){let t=Object.create(null),i=new Set;return function e(t,i,a){if("string"==typeof t)return JSON.stringify(t);if(n(t)){let n=r(t).map(e).filter(Boolean);return 1===n.length?n[0]:`[${n.join(", ")}]`}if("line"===t.type){let e=Array.isArray(a)&&a[i+1]&&"break-parent"===a[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(a)&&a[i-1]&&"line"===a[i-1].type&&a[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 n=[];return t.negate&&n.push("negate: true"),t.groupId&&n.push(`groupId: ${o(t.groupId)}`),`indentIfBreak(${e(t.contents)}${n.length>0?`, { ${n.join(", ")} }`:""})`}if("group"===t.type){let n=[];t.break&&"propagated"!==t.break&&n.push("shouldBreak: true"),t.id&&n.push(`id: ${o(t.id)}`);let r=n.length>0?`, { ${n.join(", ")} }`:"";return t.expandedStates?`conditionalGroup([${t.expandedStates.map(t=>e(t)).join(",")}]${r})`:`group(${e(t.contents)}${r})`}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 Error("Unknown doc type "+t.type)}(function e(t){if(!t)return"";if(n(t)){let i=[];for(let o of r(t))if(n(o))i.push(...e(o).parts);else{let t=e(o);""!==t&&i.push(t)}return{type:"concat",parts:i}}return"if-break"===t.type?Object.assign(Object.assign({},t),{},{breakContents:e(t.breakContents),flatContents:e(t.flatContents)}):"group"===t.type?Object.assign(Object.assign({},t),{},{contents:e(t.contents),expandedStates:t.expandedStates&&t.expandedStates.map(e)}):"fill"===t.type?{type:"fill",parts:t.parts.map(e)}:t.contents?Object.assign(Object.assign({},t),{},{contents:e(t.contents)}):t}(e));function o(e){if("symbol"!=typeof e)return JSON.stringify(String(e));if(e in t)return t[e];let n=String(e).slice(7,-1)||"symbol";for(let r=0;;r++){let o=n+(r>0?` #${r}`:"");if(!i.has(o))return i.add(o),t[e]=`Symbol.for(${JSON.stringify(o)})`}}}}}}),$=b({"src/document/index.js"(e,t){T(),t.exports={builders:C(),printer:U(),utils:B(),debug:J()}}}),K={};function V(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}v(K,{default:()=>V});var Y=g({"node_modules/escape-string-regexp/index.js"(){T()}}),q=b({"node_modules/semver/internal/debug.js"(e,t){T();var n="object"==typeof _&&_.env&&_.env.NODE_DEBUG&&/\bsemver\b/i.test(_.env.NODE_DEBUG)?function(){for(var e=arguments.length,t=Array(e),n=0;n{};t.exports=n}}),W=b({"node_modules/semver/internal/constants.js"(e,t){T();var n=Number.MAX_SAFE_INTEGER||9007199254740991;t.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:n,MAX_SAFE_COMPONENT_LENGTH:16}}}),Q=b({"node_modules/semver/internal/re.js"(e,t){T();var{MAX_SAFE_COMPONENT_LENGTH:n}=W(),r=q(),i=(e=t.exports={}).re=[],o=e.src=[],a=e.t={},s=0,u=(e,t,n)=>{let u=s++;r(e,u,t),a[e]=u,o[u]=t,i[u]=new RegExp(t,n?"g":void 0)};u("NUMERICIDENTIFIER","0|[1-9]\\d*"),u("NUMERICIDENTIFIERLOOSE","[0-9]+"),u("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),u("MAINVERSION",`(${o[a.NUMERICIDENTIFIER]})\\.(${o[a.NUMERICIDENTIFIER]})\\.(${o[a.NUMERICIDENTIFIER]})`),u("MAINVERSIONLOOSE",`(${o[a.NUMERICIDENTIFIERLOOSE]})\\.(${o[a.NUMERICIDENTIFIERLOOSE]})\\.(${o[a.NUMERICIDENTIFIERLOOSE]})`),u("PRERELEASEIDENTIFIER",`(?:${o[a.NUMERICIDENTIFIER]}|${o[a.NONNUMERICIDENTIFIER]})`),u("PRERELEASEIDENTIFIERLOOSE",`(?:${o[a.NUMERICIDENTIFIERLOOSE]}|${o[a.NONNUMERICIDENTIFIER]})`),u("PRERELEASE",`(?:-(${o[a.PRERELEASEIDENTIFIER]}(?:\\.${o[a.PRERELEASEIDENTIFIER]})*))`),u("PRERELEASELOOSE",`(?:-?(${o[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${o[a.PRERELEASEIDENTIFIERLOOSE]})*))`),u("BUILDIDENTIFIER","[0-9A-Za-z-]+"),u("BUILD",`(?:\\+(${o[a.BUILDIDENTIFIER]}(?:\\.${o[a.BUILDIDENTIFIER]})*))`),u("FULLPLAIN",`v?${o[a.MAINVERSION]}${o[a.PRERELEASE]}?${o[a.BUILD]}?`),u("FULL",`^${o[a.FULLPLAIN]}$`),u("LOOSEPLAIN",`[v=\\s]*${o[a.MAINVERSIONLOOSE]}${o[a.PRERELEASELOOSE]}?${o[a.BUILD]}?`),u("LOOSE",`^${o[a.LOOSEPLAIN]}$`),u("GTLT","((?:<|>)?=?)"),u("XRANGEIDENTIFIERLOOSE",`${o[a.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),u("XRANGEIDENTIFIER",`${o[a.NUMERICIDENTIFIER]}|x|X|\\*`),u("XRANGEPLAIN",`[v=\\s]*(${o[a.XRANGEIDENTIFIER]})(?:\\.(${o[a.XRANGEIDENTIFIER]})(?:\\.(${o[a.XRANGEIDENTIFIER]})(?:${o[a.PRERELEASE]})?${o[a.BUILD]}?)?)?`),u("XRANGEPLAINLOOSE",`[v=\\s]*(${o[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[a.XRANGEIDENTIFIERLOOSE]})(?:${o[a.PRERELEASELOOSE]})?${o[a.BUILD]}?)?)?`),u("XRANGE",`^${o[a.GTLT]}\\s*${o[a.XRANGEPLAIN]}$`),u("XRANGELOOSE",`^${o[a.GTLT]}\\s*${o[a.XRANGEPLAINLOOSE]}$`),u("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),u("COERCERTL",o[a.COERCE],!0),u("LONETILDE","(?:~>?)"),u("TILDETRIM",`(\\s*)${o[a.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",u("TILDE",`^${o[a.LONETILDE]}${o[a.XRANGEPLAIN]}$`),u("TILDELOOSE",`^${o[a.LONETILDE]}${o[a.XRANGEPLAINLOOSE]}$`),u("LONECARET","(?:\\^)"),u("CARETTRIM",`(\\s*)${o[a.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",u("CARET",`^${o[a.LONECARET]}${o[a.XRANGEPLAIN]}$`),u("CARETLOOSE",`^${o[a.LONECARET]}${o[a.XRANGEPLAINLOOSE]}$`),u("COMPARATORLOOSE",`^${o[a.GTLT]}\\s*(${o[a.LOOSEPLAIN]})$|^$`),u("COMPARATOR",`^${o[a.GTLT]}\\s*(${o[a.FULLPLAIN]})$|^$`),u("COMPARATORTRIM",`(\\s*)${o[a.GTLT]}\\s*(${o[a.LOOSEPLAIN]}|${o[a.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",u("HYPHENRANGE",`^\\s*(${o[a.XRANGEPLAIN]})\\s+-\\s+(${o[a.XRANGEPLAIN]})\\s*$`),u("HYPHENRANGELOOSE",`^\\s*(${o[a.XRANGEPLAINLOOSE]})\\s+-\\s+(${o[a.XRANGEPLAINLOOSE]})\\s*$`),u("STAR","(<|>)?=?\\s*\\*"),u("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),u("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),H=b({"node_modules/semver/internal/parse-options.js"(e,t){T();var n=["includePrerelease","loose","rtl"];t.exports=e=>e?"object"!=typeof e?{loose:!0}:n.filter(t=>e[t]).reduce((e,t)=>(e[t]=!0,e),{}):{}}}),G=b({"node_modules/semver/internal/identifiers.js"(e,t){T();var n=/^[0-9]+$/,r=(e,t)=>{let r=n.test(e),i=n.test(t);return r&&i&&(e=+e,t=+t),e===t?0:r&&!i?-1:i&&!r?1:er(t,e)}}}),Z=b({"node_modules/semver/classes/semver.js"(e,t){T();var n=q(),{MAX_LENGTH:r,MAX_SAFE_INTEGER:i}=W(),{re:o,t:a}=Q(),s=H(),{compareIdentifiers:u}=G(),l=class{constructor(e,t){if(t=s(t),e instanceof l){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw TypeError(`Invalid Version: ${e}`);if(e.length>r)throw TypeError(`version is longer than ${r} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let u=e.trim().match(t.loose?o[a.LOOSE]:o[a.FULL]);if(!u)throw TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+u[1],this.minor=+u[2],this.patch=+u[3],this.major>i||this.major<0)throw TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw TypeError("Invalid patch version");u[4]?this.prerelease=u[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(0===u(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}};t.exports=l}}),X=b({"node_modules/semver/functions/compare.js"(e,t){T();var n=Z();t.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))}}),ee=b({"node_modules/semver/functions/lt.js"(e,t){T();var n=X();t.exports=(e,t,r)=>0>n(e,t,r)}}),et=b({"node_modules/semver/functions/gte.js"(e,t){T();var n=X();t.exports=(e,t,r)=>n(e,t,r)>=0}}),en=b({"src/utils/arrayify.js"(e,t){T(),t.exports=(e,t)=>Object.entries(e).map(e=>{let[n,r]=e;return Object.assign({[t]:n},r)})}}),er=b({"node_modules/outdent/lib/index.js"(e,t){function n(){for(var e=[],t=0;ttypeof WeakMap?new WeakMap:{add:n,delete:n,get:n,set:n,has:function(e){return!1}}}T(),Object.defineProperty(e,"__esModule",{value:!0}),e.outdent=void 0;var i=Object.prototype.hasOwnProperty,o=function(e,t){return i.call(e,t)};function a(e,t){for(var n in t)o(t,n)&&(e[n]=t[n]);return e}var s=/^[ \t]*(?:\r\n|\r|\n)/,u=/(?:\r\n|\r|\n)[ \t]*$/,l=/^(?:[\r\n]|$)/,c=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,_=/^[ \t]*[\r\n][ \t\r\n]*$/;function p(e,t,n){var r=0,i=e[0].match(c);i&&(r=i[1].length);var o=RegExp("(\\r\\n|\\r|\\n).{0,"+r+"}","g");t&&(e=e.slice(1));var a=n.newline,l=n.trimLeadingNewline,_=n.trimTrailingNewline,p="string"==typeof a,d=e.length;return e.map(function(e,t){return e=e.replace(o,"$1"),0===t&&l&&(e=e.replace(s,"")),t===d-1&&_&&(e=e.replace(u,"")),p&&(e=e.replace(/\r\n|\n|\r/g,function(e){return a})),e})}var d=function e(t){var n=r(),i=r();return a(function r(s){for(var u=[],c=1;ctypeof t)try{t.exports=d,Object.defineProperty(d,"__esModule",{value:!0}),d.default=d,d.outdent=d}catch{}}}),ei=b({"src/main/core-options.js"(e,t){T();var{outdent:n}=er(),r="Config",i="Editor",o="Other",a="Global",s="Special",u={cursorOffset:{since:"1.4.0",category:s,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:n` + Print (to stderr) where a cursor at the given position would move to after formatting. + This option cannot be used with --range-start and --range-end. + `,cliCategory:i},endOfLine:{since:"1.15.0",category:a,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:n` + Maintain existing + (mixed values within one file are normalised by looking at what's used after the first line) + `}]},filepath:{since:"1.4.0",category:s,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:o,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:s,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:o},parser:{since:"0.0.10",category:a,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:a,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:r},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:a,description:n` + Custom directory that contains prettier plugins in node_modules subdirectory. + Overrides default behavior when plugins are searched relatively to the location of Prettier. + Multiple values are accepted. + `,exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:r},printWidth:{since:"0.0.0",category:a,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:s,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:n` + Format code ending at a given character offset (exclusive). + The range will extend forwards to the end of the selected statement. + This option cannot be used with --cursor-offset. + `,cliCategory:i},rangeStart:{since:"1.4.0",category:s,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:n` + Format code starting at a given character offset. + The range will extend backwards to the start of the first line containing the selected statement. + This option cannot be used with --cursor-offset. + `,cliCategory:i},requirePragma:{since:"1.7.0",category:s,type:"boolean",default:!1,description:n` + Require either '@prettier' or '@format' to be present in the file's first docblock comment + in order for it to be formatted. + `,cliCategory:o},tabWidth:{type:"int",category:a,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:a,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:a,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:r,CATEGORY_EDITOR:i,CATEGORY_FORMAT:"Format",CATEGORY_OTHER:o,CATEGORY_OUTPUT:"Output",CATEGORY_GLOBAL:a,CATEGORY_SPECIAL:s,options:u}}}),eo=b({"src/main/support.js"(e,t){T();var n={compare:X(),lt:ee(),gte:et()},r=en(),i=E().version,o=ei().options;t.exports={getSupportInfo:function(){let{plugins:e=[],showUnreleased:t=!1,showDeprecated:a=!1,showInternal:u=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=i.split("-",1)[0],_=e.flatMap(e=>e.languages||[]).filter(d),p=r(Object.assign({},...e.map(e=>{let{options:t}=e;return t}),o),"name").filter(e=>d(e)&&f(e)).sort((e,t)=>e.name===t.name?0:e.name{Array.isArray((t=Object.assign({},t)).default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(d).sort((e,t)=>n.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,n){let r=new Set(e.choices.map(e=>e.value));for(let i of t)if(i.parsers){for(let t of i.parsers)if(!r.has(t)){r.add(t);let o=n.find(e=>e.parsers&&e.parsers[t]),a=i.name;o&&o.name&&(a+=` (plugin: ${o.name})`),e.choices.push({value:t,description:a})}}}(t,_,e));let r=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:r})});return{languages:_,options:p};function d(e){return t||!("since"in e)||e.since&&n.gte(l,e.since)}function f(e){return a||!("deprecated"in e)||e.deprecated&&n.lt(l,e.deprecated)}}}}}),ea=b({"src/utils/is-non-empty-array.js"(e,t){T(),t.exports=function(e){return Array.isArray(e)&&e.length>0}}}),es=b({"src/utils/text/skip.js"(e,t){function n(e){return(t,n,r)=>{let i=r&&r.backwards;if(!1===n)return!1;let{length:o}=t,a=n;for(;a>=0&&a2&&void 0!==arguments[2]?arguments[2]:{},r=u(e,n.backwards?t-1:t,n),i=d(e,r,n);return r!==i}function h(e,t){let n=null,r=t;for(;r!==n;)n=r,r=l(e,r),r=_(e,r),r=u(e,r);return r=p(e,r),!1!==(r=d(e,r))&&m(e,r)}function y(e,t,n){return f(e,n(t))}function g(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=0;for(let i=n;i(e.match(o.regex)||[]).length?o:i),a}function v(e,t,n){let r='"'===t?"'":'"',i=e.replace(/\\(.)|(["'])/gs,(e,i,o)=>i===r?i:o===t?"\\"+o:o||(n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i)?i:"\\"+i));return t+i+t}function x(e,t){let n,r;(e.comments||(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=(n=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||"")).length>20&&(r=r.slice(0,19)+"…"),n+(r?" "+r:""))}t.exports={inferParserByLanguage:function(e,t){let{languages:n}=i({plugins:t.plugins}),r=n.find(t=>{let{name:n}=t;return n.toLowerCase()===e})||n.find(t=>{let{aliases:n}=t;return Array.isArray(n)&&n.includes(e)})||n.find(t=>{let{extensions:n}=t;return Array.isArray(n)&&n.includes(`.${e}`)});return r&&r.parsers[0]},getStringWidth:a,getMaxContinuousCount:function(e,t){let r=e.match(RegExp(`(${n(t)})+`,"g"));return null===r?0:r.reduce((e,n)=>Math.max(e,n.length/t.length),0)},getMinNotPresentContinuousCount:function(e,t){let r=e.match(RegExp(`(${n(t)})+`,"g"));if(null===r)return 0;let i=new Map,o=0;for(let e of r){let n=e.length/t.length;i.set(n,!0),n>o&&(o=n)}for(let e=1;ee[e.length-2],getLast:r,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:f,getNextNonSpaceNonCommentCharacterIndex:y,getNextNonSpaceNonCommentCharacter:function(e,t,n){return e.charAt(y(e,t,n))},skip:function(e){return(t,n,r)=>{let i=r&&r.backwards;if(!1===n)return!1;let{length:o}=t,a=n;for(;a>=0&&a2&&void 0!==arguments[2]?arguments[2]:{};return u(e,n.backwards?t-1:t,n)!==t},getAlignmentSize:g,getIndentSize:function(e,t){let n=e.lastIndexOf(` +`);return -1===n?0:g(e.slice(n+1).match(/^[\t ]*/)[0],t)},getPreferredQuote:b,printString:function(e,t){let n=e.slice(1,-1),r="json"!==t.parser&&("json5"!==t.parser||"preserve"!==t.quoteProps||t.singleQuote)?t.__isInHtmlAttribute?"'":b(n,t.singleQuote?"'":'"').quote:'"';return v(n,r,!("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:v,addLeadingComment:function(e,t){t.leading=!0,t.trailing=!1,x(e,t)},addDanglingComment:function(e,t,n){t.leading=!1,t.trailing=!1,n&&(t.marker=n),x(e,t)},addTrailingComment:function(e,t){t.leading=!1,t.trailing=!0,x(e,t)},isFrontMatterNode:function(e){return e&&"front-matter"===e.type},isNonEmptyArray:o,createGroupIdMapper:function(e){let t=new WeakMap;return function(n){return t.has(n)||t.set(n,Symbol(e)),t.get(n)}}}}}),ed={};function ef(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function em(){for(var e="",t=!1,n=arguments.length-1;n>=-1&&!t;n--){var r=n>=0?arguments[n]:"/";if("string"!=typeof r)throw TypeError("Arguments to path.resolve must be strings");r&&(e=r+"/"+e,t="/"===r.charAt(0))}return e=ef(eS(e.split("/"),function(e){return!!e}),!t).join("/"),(t?"/":"")+e||"."}function eh(e){var t=ey(e),n="/"===eM(e,-1);return(e=ef(eS(e.split("/"),function(e){return!!e}),!t).join("/"))||t||(e="."),e&&n&&(e+="/"),(t?"/":"")+e}function ey(e){return"/"===e.charAt(0)}function eg(){var e=Array.prototype.slice.call(arguments,0);return eh(eS(e,function(e,t){if("string"!=typeof e)throw TypeError("Arguments to path.join must be strings");return e}).join("/"))}function eb(e,t){function n(e){for(var t=0;t=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=em(e).substr(1),t=em(t).substr(1);for(var r=n(e.split("/")),i=n(t.split("/")),o=Math.min(r.length,i.length),a=o,s=0;sex,default:()=>eC,delimiter:()=>eA,dirname:()=>ev,extname:()=>eD,isAbsolute:()=>ey,join:()=>eg,normalize:()=>eh,relative:()=>eb,resolve:()=>em,sep:()=>ew});var eT,eE,ew,eA,eC,eM,ek=g({"node-modules-polyfills:path"(){T(),eT=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,eE=function(e){return eT.exec(e).slice(1)},eC={extname:eD,basename:ex,dirname:ev,sep:ew="/",delimiter:eA=":",relative:eb,join:eg,isAbsolute:ey,normalize:eh,resolve:em},eM=function(e,t,n){return e.substr(t,n)}}}),eI=b({"node-modules-polyfills-commonjs:path"(e,t){T();var n=(ek(),S(ed));if(n&&n.default)for(let e in t.exports=n.default,n)t.exports[e]=n[e];else n&&(t.exports=n)}}),ej=b({"src/common/errors.js"(e,t){T();var n=class extends Error{},r=class extends Error{},i=class extends Error{},o=class extends Error{};t.exports={ConfigError:n,DebugError:r,UndefinedParserError:i,ArgExpansionBailout:o}}}),eO={};function eP(e,t){function n(){this.constructor=e}e8(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function eF(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function ez(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function eR(e,t){return function(n,r){t(n,r,e)}}function eU(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function eK(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})}function eV(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function eQ(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function eH(){for(var e=[],t=0;t1||s(e,t)})})}function s(e,t){try{var n;(n=i[e](t)).value instanceof eZ?Promise.resolve(n.value.v).then(u,l):c(o[0][2],n)}catch(e){c(o[0][3],e)}}function u(e){s("next",e)}function l(e){s("throw",e)}function c(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function e0(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:eZ(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function e1(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=eW(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,i){!function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}(r,i,(t=e[n](t)).done,t.value)})}}}function e2(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function e3(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function e4(e){return e&&e.__esModule?e:{default:e}}function e6(e,t){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return t.get(e)}function e5(e,t,n){if(!t.has(e))throw TypeError("attempted to set private field on non-instance");return t.set(e,n),n}v(eO,{__assign:()=>e7,__asyncDelegator:()=>e0,__asyncGenerator:()=>eX,__asyncValues:()=>e1,__await:()=>eZ,__awaiter:()=>eK,__classPrivateFieldGet:()=>e6,__classPrivateFieldSet:()=>e5,__createBinding:()=>eY,__decorate:()=>ez,__exportStar:()=>eq,__extends:()=>eP,__generator:()=>eV,__importDefault:()=>e4,__importStar:()=>e3,__makeTemplateObject:()=>e2,__metadata:()=>eU,__param:()=>eR,__read:()=>eQ,__rest:()=>eF,__spread:()=>eH,__spreadArrays:()=>eG,__values:()=>eW});var e8,e7,e9=g({"node_modules/tslib/tslib.es6.js"(){T(),e8=function(e,t){return(e8=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},e7=function(){return(e7=Object.assign||function(e){for(var t,n=1,r=arguments.length;n/^[$_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 n=Object.keys(t);return 0===n.length?"{}":`{ ${n.map(n=>`${e.apiDescriptor.key(n)}: ${e.apiDescriptor.value(t[n])}`).join(", ")} }`},pair:t=>{let{key:n,value:r}=t;return e.apiDescriptor.value({[n]:r})}}}}),tt=b({"node_modules/vnopts/lib/descriptors/index.js"(e){T(),Object.defineProperty(e,"__esModule",{value:!0}),(e9(),S(eO)).__exportStar(te(),e)}}),tn=b({"scripts/build/shims/chalk.cjs"(e,t){T();var n=e=>e;n.grey=n,n.red=n,n.bold=n,n.yellow=n,n.blue=n,n.default=n,t.exports=n}}),tr=b({"node_modules/vnopts/lib/handlers/deprecated/common.js"(e){T(),Object.defineProperty(e,"__esModule",{value:!0});var t=tn();e.commonDeprecatedHandler=(e,n,r)=>{let{descriptor:i}=r,o=[`${t.default.yellow("string"==typeof e?i.key(e):i.pair(e))} is deprecated`];return n&&o.push(`we now treat it as ${t.default.blue("string"==typeof n?i.key(n):i.pair(n))}`),o.join("; ")+"."}}}),ti=b({"node_modules/vnopts/lib/handlers/deprecated/index.js"(e){T(),Object.defineProperty(e,"__esModule",{value:!0}),(e9(),S(eO)).__exportStar(tr(),e)}}),to=b({"node_modules/vnopts/lib/handlers/invalid/common.js"(e){T(),Object.defineProperty(e,"__esModule",{value:!0});var t=tn();e.commonInvalidHandler=(e,n,r)=>`Invalid ${t.default.red(r.descriptor.key(e))} value. Expected ${t.default.blue(r.schemas[e].expected(r))}, but received ${t.default.red(r.descriptor.value(n))}.`}}),ta=b({"node_modules/vnopts/lib/handlers/invalid/index.js"(e){T(),Object.defineProperty(e,"__esModule",{value:!0}),(e9(),S(eO)).__exportStar(to(),e)}}),ts=b({"node_modules/vnopts/node_modules/leven/index.js"(e,t){T();var n=[],r=[];t.exports=function(e,t){if(e===t)return 0;var i=e;e.length>t.length&&(e=t,t=i);var o=e.length,a=t.length;if(0===o)return a;if(0===a)return o;for(;o>0&&e.charCodeAt(~-o)===t.charCodeAt(~-a);)o--,a--;if(0===o)return a;for(var s=0;sl?_>l?l+1:_:_>c?c+1:_;return l}}}),tu=b({"node_modules/vnopts/lib/handlers/unknown/leven.js"(e){T(),Object.defineProperty(e,"__esModule",{value:!0});var t=tn(),n=ts();e.levenUnknownHandler=(e,r,i)=>{let{descriptor:o,logger:a,schemas:s}=i,u=[`Ignored unknown option ${t.default.yellow(o.pair({key:e,value:r}))}.`],l=Object.keys(s).sort().find(t=>3>n(e,t));l&&u.push(`Did you mean ${t.default.blue(o.key(l))}?`),a.warn(u.join(" "))}}}),tl=b({"node_modules/vnopts/lib/handlers/unknown/index.js"(e){T(),Object.defineProperty(e,"__esModule",{value:!0}),(e9(),S(eO)).__exportStar(tu(),e)}}),tc=b({"node_modules/vnopts/lib/handlers/index.js"(e){T(),Object.defineProperty(e,"__esModule",{value:!0});var t=(e9(),S(eO));t.__exportStar(ti(),e),t.__exportStar(ta(),e),t.__exportStar(tl(),e)}}),t_=b({"node_modules/vnopts/lib/schema.js"(e){T(),Object.defineProperty(e,"__esModule",{value:!0});var t=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function n(e,n){let i=new e(n),o=Object.create(i);for(let e of t)e in n&&(o[e]=function(e,t,n){return"function"==typeof e?function(){for(var r=arguments.length,i=Array(r),o=0;oe}(n[e],i,r.prototype[e].length));return o}e.createSchema=n;var r=class{constructor(e){this.name=e.name}static create(e){return n(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,n){return e}preprocess(e,t){return e}postprocess(e,t){return e}};e.Schema=r}}),tp=b({"node_modules/vnopts/lib/schemas/alias.js"(e){T(),Object.defineProperty(e,"__esModule",{value:!0});var t=t_(),n=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=n}}),td=b({"node_modules/vnopts/lib/schemas/any.js"(e){T(),Object.defineProperty(e,"__esModule",{value:!0});var t=t_(),n=class extends t.Schema{expected(){return"anything"}validate(){return!0}};e.AnySchema=n}}),tf=b({"node_modules/vnopts/lib/schemas/array.js"(e){T(),Object.defineProperty(e,"__esModule",{value:!0});var t=(e9(),S(eO)),n=t_(),r=class extends n.Schema{constructor(e){var{valueSchema:n,name:r=n.name}=e;super(Object.assign({},t.__rest(e,["valueSchema","name"]),{name:r})),this._valueSchema=n}expected(e){return`an array of ${this._valueSchema.expected(e)}`}validate(e,t){if(!Array.isArray(e))return!1;let n=[];for(let r of e){let e=t.normalizeValidateResult(this._valueSchema.validate(r,t),r);!0!==e&&n.push(e.value)}return 0===n.length||{value:n}}deprecated(e,t){let n=[];for(let r of e){let e=t.normalizeDeprecatedResult(this._valueSchema.deprecated(r,t),r);!1!==e&&n.push(...e.map(e=>{let{value:t}=e;return{value:[t]}}))}return n}forward(e,t){let n=[];for(let r of e){let e=t.normalizeForwardResult(this._valueSchema.forward(r,t),r);n.push(...e.map(i))}return n}redirect(e,t){let n=[],r=[];for(let o of e){let e=t.normalizeRedirectResult(this._valueSchema.redirect(o,t),o);"remain"in e&&n.push(e.remain),r.push(...e.redirect.map(i))}return 0===n.length?{redirect:r}:{redirect:r,remain:n}}overlap(e,t){return e.concat(t)}};function i(e){let{from:t,to:n}=e;return{from:[t],to:n}}e.ArraySchema=r}}),tm=b({"node_modules/vnopts/lib/schemas/boolean.js"(e){T(),Object.defineProperty(e,"__esModule",{value:!0});var t=t_(),n=class extends t.Schema{expected(){return"true or false"}validate(e){return"boolean"==typeof e}};e.BooleanSchema=n}}),th=b({"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 n(e,n){return void 0===e?[]:Array.isArray(e)?e.map(e=>t(e,n)):[t(e,n)]}T(),Object.defineProperty(e,"__esModule",{value:!0}),e.recordFromArray=function(e,t){let n=Object.create(null);for(let r of e){let e=r[t];if(n[e])throw Error(`Duplicate ${t} ${JSON.stringify(e)}`);n[e]=r}return n},e.mapFromArray=function(e,t){let n=new Map;for(let r of e){let e=r[t];if(n.has(e))throw Error(`Duplicate ${t} ${JSON.stringify(e)}`);n.set(e,r)}return n},e.createAutoChecklist=function(){let e=Object.create(null);return t=>{let n=JSON.stringify(t);return!!e[n]||(e[n]=!0,!1)}},e.partition=function(e,t){let n=[],r=[];for(let i of e)t(i)?n.push(i):r.push(i);return[n,r]},e.isInt=function(e){return e===Math.floor(e)},e.comparePrimitive=function(e,t){if(e===t)return 0;let n=typeof e,r=typeof t,i=["undefined","object","boolean","number","string"];return n!==r?i.indexOf(n)-i.indexOf(r):"string"!==n?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){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!1!==e&&(!0===e?!!n||[{value:t}]:"value"in e?[e]:0!==e.length&&e)},e.normalizeTransferResult=t,e.normalizeForwardResult=n,e.normalizeRedirectResult=function(e,t){let r=n("object"==typeof e&&"redirect"in e?e.redirect:e,t);return 0===r.length?{remain:t,redirect:r}:"object"==typeof e&&"remain"in e?{remain:e.remain,redirect:r}:{redirect:r}}}}),ty=b({"node_modules/vnopts/lib/schemas/choice.js"(e){T(),Object.defineProperty(e,"__esModule",{value:!0});var t=t_(),n=th(),r=class extends t.Schema{constructor(e){super(e),this._choices=n.mapFromArray(e.choices.map(e=>e&&"object"==typeof e?e:{value:e}),"value")}expected(e){let{descriptor:t}=e,r=Array.from(this._choices.keys()).map(e=>this._choices.get(e)).filter(e=>!e.deprecated).map(e=>e.value).sort(n.comparePrimitive).map(t.value),i=r.slice(0,-2),o=r.slice(-2);return i.concat(o.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=r}}),tg=b({"node_modules/vnopts/lib/schemas/number.js"(e){T(),Object.defineProperty(e,"__esModule",{value:!0});var t=t_(),n=class extends t.Schema{expected(){return"a number"}validate(e,t){return"number"==typeof e}};e.NumberSchema=n}}),tb=b({"node_modules/vnopts/lib/schemas/integer.js"(e){T(),Object.defineProperty(e,"__esModule",{value:!0});var t=th(),n=tg(),r=class extends n.NumberSchema{expected(){return"an integer"}validate(e,n){return!0===n.normalizeValidateResult(super.validate(e,n),e)&&t.isInt(e)}};e.IntegerSchema=r}}),tv=b({"node_modules/vnopts/lib/schemas/string.js"(e){T(),Object.defineProperty(e,"__esModule",{value:!0});var t=t_(),n=class extends t.Schema{expected(){return"a string"}validate(e){return"string"==typeof e}};e.StringSchema=n}}),tx=b({"node_modules/vnopts/lib/schemas/index.js"(e){T(),Object.defineProperty(e,"__esModule",{value:!0});var t=(e9(),S(eO));t.__exportStar(tp(),e),t.__exportStar(td(),e),t.__exportStar(tf(),e),t.__exportStar(tm(),e),t.__exportStar(ty(),e),t.__exportStar(tb(),e),t.__exportStar(tg(),e),t.__exportStar(tv(),e)}}),tD=b({"node_modules/vnopts/lib/defaults.js"(e){T(),Object.defineProperty(e,"__esModule",{value:!0});var t=te(),n=tr(),r=ta(),i=tu();e.defaultDescriptor=t.apiDescriptor,e.defaultUnknownHandler=i.levenUnknownHandler,e.defaultInvalidHandler=r.commonInvalidHandler,e.defaultDeprecatedHandler=n.commonDeprecatedHandler}}),tS=b({"node_modules/vnopts/lib/normalize.js"(e){T(),Object.defineProperty(e,"__esModule",{value:!0});var t=tD(),n=th();e.normalize=(e,t,n)=>new r(t,n).normalize(e);var r=class{constructor(e,r){let{logger:i=console,descriptor:o=t.defaultDescriptor,unknown:a=t.defaultUnknownHandler,invalid:s=t.defaultInvalidHandler,deprecated:u=t.defaultDeprecatedHandler}=r||{};this._utils={descriptor:o,logger:i||{warn:()=>{}},schemas:n.recordFromArray(e,"name"),normalizeDefaultResult:n.normalizeDefaultResult,normalizeDeprecatedResult:n.normalizeDeprecatedResult,normalizeForwardResult:n.normalizeForwardResult,normalizeRedirectResult:n.normalizeRedirectResult,normalizeValidateResult:n.normalizeValidateResult},this._unknownHandler=a,this._invalidHandler=s,this._deprecatedHandler=u,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=n.createAutoChecklist()}normalize(e){let t={},r=[e],i=()=>{for(;0!==r.length;){let e=r.shift(),n=this._applyNormalization(e,t);r.push(...n)}};for(let e of(i(),Object.keys(this._utils.schemas))){let i=this._utils.schemas[e];if(!(e in t)){let t=n.normalizeDefaultResult(i.default(this._utils));"value"in t&&r.push({[e]:t.value})}}for(let e of(i(),Object.keys(this._utils.schemas))){let n=this._utils.schemas[e];e in t&&(t[e]=n.postprocess(t[e],this._utils))}return t}_applyNormalization(e,t){let r=[],[i,o]=n.partition(Object.keys(e),e=>e in this._utils.schemas);for(let o of i){let i=this._utils.schemas[o],a=i.preprocess(e[o],this._utils),s=n.normalizeValidateResult(i.validate(a,this._utils),a);if(!0!==s){let{value:e}=s,t=this._invalidHandler(o,e,this._utils);throw"string"==typeof t?Error(t):t}let u=e=>{let{from:t,to:n}=e;r.push("string"==typeof n?{[n]:t}:{[n.key]:n.value})},l=e=>{let{value:t,redirectTo:r}=e,s=n.normalizeDeprecatedResult(i.deprecated(t,this._utils),a,!0);if(!1!==s){if(!0===s)this._hasDeprecationWarned(o)||this._utils.logger.warn(this._deprecatedHandler(o,r,this._utils));else for(let{value:e}of s){let t={key:o,value:e};if(!this._hasDeprecationWarned(t)){let n="string"==typeof r?{key:r,value:e}:r;this._utils.logger.warn(this._deprecatedHandler(t,n,this._utils))}}}};n.normalizeForwardResult(i.forward(a,this._utils),a).forEach(u);let c=n.normalizeRedirectResult(i.redirect(a,this._utils),a);if(c.redirect.forEach(u),"remain"in c){let e=c.remain;t[o]=o in t?i.overlap(t[o],e,this._utils):e,l({value:e})}for(let{from:e,to:t}of c.redirect)l({value:e,redirectTo:t})}for(let n of o){let i=e[n],o=this._unknownHandler(n,i,this._utils);if(o)for(let e of Object.keys(o)){let n={[e]:o[e]};e in this._utils.schemas?r.push(n):Object.assign(t,n)}}return r}};e.Normalizer=r}}),tT=b({"node_modules/vnopts/lib/index.js"(e){T(),Object.defineProperty(e,"__esModule",{value:!0});var t=(e9(),S(eO));t.__exportStar(tt(),e),t.__exportStar(tc(),e),t.__exportStar(tx(),e),t.__exportStar(tS(),e),t.__exportStar(t_(),e)}}),tE=b({"src/main/options-normalizer.js"(e,t){T();var n,r=tT(),i=M(),o={key:e=>1===e.length?`-${e}`:`--${e}`,value:e=>r.apiDescriptor.value(e),pair:e=>{let{key:t,value:n}=e;return!1===n?`--no-${t}`:!0===n?o.key(t):""===n?`${o.key(t)} without an argument`:`${o.key(t)}=${n}`}},a=e=>{let{colorsModule:t,levenshteinDistance:n}=e;return class extends r.ChoiceSchema{constructor(e){let{name:t,flags:n}=e;super({name:t,choices:n}),this._flags=[...n].sort()}preprocess(e,r){if("string"==typeof e&&e.length>0&&!this._flags.includes(e)){let i=this._flags.find(t=>3>n(t,e));if(i)return r.logger.warn(`Unknown flag ${t.yellow(r.descriptor.value(e))}, did you mean ${t.blue(r.descriptor.value(i))}?`),i}return e}expected(){return"a flag"}}};function s(e,t){let{logger:s=!1,isCLI:l=!1,passThrough:_=!1,colorsModule:p=null,levenshteinDistance:d=null}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},f=_?Array.isArray(_)?(e,t)=>_.includes(e)?{[e]:t}:void 0:(e,t)=>({[e]:t}):(e,t,n)=>{let i=n.schemas,{_:o}=i,a=c(i,u);return r.levenUnknownHandler(e,t,Object.assign(Object.assign({},n),{},{schemas:a}))},m=l?o:r.apiDescriptor,h=function(e,t){let{isCLI:n,colorsModule:o,levenshteinDistance:s}=t,u=[];for(let t of(n&&u.push(r.AnySchema.create({name:"_"})),e))u.push(function(e,t){let{isCLI:n,optionInfos:o,colorsModule:s,levenshteinDistance:u}=t,{name:l}=e;if("plugin-search-dir"===l||"pluginSearchDirs"===l)return r.AnySchema.create({name:l,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={name:l},_,p={};switch(e.type){case"int":_=r.IntegerSchema,n&&(c.preprocess=Number);break;case"string":case"path":_=r.StringSchema;break;case"choice":_=r.ChoiceSchema,c.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":_=r.BooleanSchema;break;case"flag":_=a({colorsModule:s,levenshteinDistance:u}),c.flags=o.flatMap(e=>[e.alias,e.description&&e.name,e.oppositeDescription&&`no-${e.name}`].filter(Boolean));break;default:throw Error(`Unexpected type ${e.type}`)}if(e.exception?c.validate=(t,n,r)=>e.exception(t)||n.validate(t,r):c.validate=(e,t,n)=>void 0===e||t.validate(e,n),e.redirect&&(p.redirect=t=>t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(p.deprecated=!0),n&&!e.array){let e=c.preprocess||(e=>e);c.preprocess=(t,n,r)=>n.preprocess(e(Array.isArray(t)?i(t):t),r)}return e.array?r.ArraySchema.create(Object.assign(Object.assign(Object.assign({},n?{preprocess:e=>Array.isArray(e)?e:[e]}:{}),p),{},{valueSchema:_.create(c)})):_.create(Object.assign(Object.assign({},c),p))}(t,{isCLI:n,optionInfos:e,colorsModule:o,levenshteinDistance:s})),t.alias&&n&&u.push(r.AliasSchema.create({name:t.alias,sourceName:t.name}));return u}(t,{isCLI:l,colorsModule:p,levenshteinDistance:d}),y=new r.Normalizer(h,{logger:s,unknown:f,descriptor:m}),g=!1!==s;g&&n&&(y._hasDeprecationWarned=n);let b=y.normalize(e);return g&&(n=y._hasDeprecationWarned),l&&!1===b["plugin-search"]&&(b["plugin-search-dir"]=!1),b}t.exports={normalizeApiOptions:function(e,t,n){return s(e,t,n)},normalizeCliOptions:function(e,t,n){return s(e,t,Object.assign({isCLI:!0},n))}}}}),tw=b({"src/language-js/loc.js"(e,t){T();var n=ea();function r(e){var t,i;let o=e.range?e.range[0]:e.start,a=null!==(t=null===(i=e.declaration)||void 0===i?void 0:i.decorators)&&void 0!==t?t:e.decorators;return n(a)?Math.min(r(a[0]),o):o}function i(e){return e.range?e.range[1]:e.end}function o(e,t){let n=r(e);return Number.isInteger(n)&&n===r(t)}t.exports={locStart:r,locEnd:i,hasSameLocStart:o,hasSameLoc:function(e,t){let n;return o(e,t)&&Number.isInteger(n=i(e))&&n===i(t)}}}}),tA=b({"src/main/load-parser.js"(e,t){T(),t.exports=()=>{}}}),tC=b({"scripts/build/shims/babel-highlight.cjs"(e,t){T();var n=tn();t.exports={shouldHighlight:()=>!1,getChalk:()=>n}}}),tN=b({"node_modules/@babel/code-frame/lib/index.js"(e){T(),Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=i,e.default=function(e,t,r){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(!n){n=!0;let e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";_.emitWarning?_.emitWarning(e,"DeprecationWarning"):(Error(e).name="DeprecationWarning",console.warn(Error(e)))}return i(e,{start:{column:r=Math.max(r,0),line:t}},o)};var t=tC(),n=!1,r=/\r\n|[\n\r\u2028\u2029]/;function i(e,n){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=(i.highlightCode||i.forceColor)&&(0,t.shouldHighlight)(i),a=(0,t.getChalk)(i),s={gutter:a.grey,marker:a.red.bold,message:a.red.bold},u=(e,t)=>o?e(t):t,{start:l,end:c,markerLines:_}=function(e,t,n){let r=Object.assign({column:0,line:-1},e.start),i=Object.assign({},r,e.end),{linesAbove:o=2,linesBelow:a=3}=n||{},s=r.line,u=r.column,l=i.line,c=i.column,_=Math.max(s-(o+1),0),p=Math.min(t.length,l+a);-1===s&&(_=0),-1===l&&(p=t.length);let d=l-s,f={};if(d)for(let e=0;e<=d;e++){let n=e+s;if(u){if(0===e){let e=t[n-1].length;f[n]=[u,e-u+1]}else if(e===d)f[n]=[0,c];else{let r=t[n-e].length;f[n]=[0,r]}}else f[n]=!0}else u===c?u?f[s]=[u,0]:f[s]=!0:f[s]=[u,c-u];return{start:_,end:p,markerLines:f}}(n,e.split(r),i),p=n.start&&"number"==typeof n.start.column,d=String(c).length,f=(o?(0,t.default)(e,i):e).split(r,c).slice(l,c).map((e,t)=>{let n=l+1+t,r=` ${` ${n}`.slice(-d)} |`,o=_[n],a=!_[n+1];if(!o)return` ${u(s.gutter,r)}${e.length>0?` ${e}`:""}`;{let t="";if(Array.isArray(o)){let n=e.slice(0,Math.max(o[0]-1,0)).replace(/[^\t]/g," "),l=o[1]||1;t=[` + `,u(s.gutter,r.replace(/\d/g," "))," ",n,u(s.marker,"^").repeat(l)].join(""),a&&i.message&&(t+=" "+u(s.message,i.message))}return[u(s.marker,">"),u(s.gutter,r),e.length>0?` ${e}`:"",t].join("")}}).join(` +`);return i.message&&!p&&(f=`${" ".repeat(d+1)}${i.message} +${f}`),o?a.reset(f):f}}}),tM=b({"src/main/parser.js"(e,t){T();var{ConfigError:n}=ej(),r=tw(),{locStart:i,locEnd:o}=(tA(),r),a=Object.getOwnPropertyNames,s=Object.getOwnPropertyDescriptor;function u(e){let t={};for(let n of e.plugins)if(n.parsers)for(let e of a(n.parsers))Object.defineProperty(t,e,s(n.parsers,e));return t}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u(e);if("function"==typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:i,locEnd:o};if("string"==typeof e.parser){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new n(`Couldn't resolve parser "${e.parser}". Parsers must be explicitly added to the standalone bundle.`)}}t.exports={parse:function(e,t){let n=u(t),r=Object.defineProperties({},Object.fromEntries(Object.keys(n).map(e=>[e,{enumerable:!0,get:()=>n[e].parse}]))),i=l(t,n);try{return i.preprocess&&(e=i.preprocess(e,t)),{text:e,ast:i.parse(e,r,t)}}catch(n){let{loc:t}=n;if(t){let{codeFrameColumns:r}=tN();throw n.codeFrame=r(e,t,{highlightCode:!0}),n.message+=` +`+n.codeFrame,n}throw n}},resolveParser:l}}}),tk=b({"src/main/options.js"(e,t){T();var n=eI(),{UndefinedParserError:r}=ej(),{getSupportInfo:i}=eo(),o=tE(),{resolveParser:a}=tM(),s={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function u(e,t){let r=n.basename(e).toLowerCase(),o=i({plugins:t}).languages.filter(e=>null!==e.since).find(e=>e.extensions&&e.extensions.some(e=>r.endsWith(e))||e.filenames&&e.filenames.some(e=>e.toLowerCase()===r));return o&&o.parsers[0]}t.exports={normalize:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.assign({},e),l=i({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,c=Object.assign(Object.assign({},s),Object.fromEntries(l.filter(e=>void 0!==e.default).map(e=>[e.name,e.default])));if(!n.parser){if(n.filepath){if(n.parser=u(n.filepath,n.plugins),!n.parser)throw new r(`No parser could be inferred for file: ${n.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."),n.parser="babel"}let _=a(o.normalizeApiOptions(n,[l.find(e=>"parser"===e.name)],{passThrough:!0,logger:!1}));n.astFormat=_.astFormat,n.locEnd=_.locEnd,n.locStart=_.locStart;let p=function(e){let{astFormat:t}=e;if(!t)throw Error("getPlugin() requires astFormat to be set");let n=e.plugins.find(e=>e.printers&&e.printers[t]);if(!n)throw Error(`Couldn't find plugin for AST format "${t}"`);return n}(n);n.printer=p.printers[n.astFormat];let d=Object.fromEntries(l.filter(e=>e.pluginDefaults&&void 0!==e.pluginDefaults[p.name]).map(e=>[e.name,e.pluginDefaults[p.name]]));for(let[e,t]of Object.entries(Object.assign(Object.assign({},c),d)))(null===n[e]||void 0===n[e])&&(n[e]=t);return"json"===n.parser&&(n.trailingComma="none"),o.normalizeApiOptions(n,l,Object.assign({passThrough:Object.keys(s)},t))},hiddenDefaults:s,inferParser:u}}}),tI=b({"src/main/massage-ast.js"(e,t){T(),t.exports=function e(t,n,r){if(Array.isArray(t))return t.map(t=>e(t,n,r)).filter(Boolean);if(!t||"object"!=typeof t)return t;let i=n.printer.massageAstNode,o;o=i&&i.ignoredProperties?i.ignoredProperties:new Set;let a={};for(let[r,i]of Object.entries(t))o.has(r)||"function"==typeof i||(a[r]=e(i,n,t));if(i){let e=i(t,a,r);if(null===e)return;if(e)return e}return a}}}),tj=b({"scripts/build/shims/assert.cjs"(e,t){T();var n=()=>{};n.ok=n,n.strictEqual=n,t.exports=n}}),tO=b({"src/main/comments.js"(e,t){T();var n=tj(),{builders:{line:r,hardline:i,breakParent:o,indent:a,lineSuffix:s,join:u,cursor:l}}=$(),{hasNewline:c,skipNewline:_,skipSpaces:p,isPreviousLineEmpty:d,addLeadingComment:f,addDanglingComment:m,addTrailingComment:h}=ep(),y=new WeakMap;function g(e,t,n){if(!e)return;let{printer:r,locStart:i,locEnd:o}=t;if(n){if(r.canAttachComment&&r.canAttachComment(e)){let t;for(t=n.length-1;t>=0&&!(i(n[t])<=i(e)&&o(n[t])<=o(e));--t);n.splice(t+1,0,e);return}}else if(y.has(e))return y.get(e);let a=r.getCommentChildNodes&&r.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(a){for(let r of(n||(n=[],y.set(e,n)),a))g(r,t,n);return n}}var b=()=>!1,v=e=>!/[\S\n\u2028\u2029]/.test(e);function x(e,t,r){let i=e.length;if(0===i)return;let{precedingNode:o,followingNode:a,enclosingNode:s}=e[0],u=r.printer.getGapRegex&&r.printer.getGapRegex(s)||/^[\s(]*$/,l=r.locStart(a),c;for(c=i;c>0;--c){let{comment:i,precedingNode:s,followingNode:_}=e[c-1];n.strictEqual(s,o),n.strictEqual(_,a);let p=t.slice(r.locEnd(i),l);if(u.test(p))l=r.locStart(i);else break}for(let[t,{comment:n}]of e.entries())t1&&e.comments.sort((e,t)=>r.locStart(e)-r.locStart(t));e.length=0}function D(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t)}function S(e,t,n){let r=n.locStart(t)-1;for(let t=1;t!n.has(e)));let f=a===t.cursorNode;if(0===u.length){let e=f?l:"";return{leading:e,trailing:e}}let m=[],h=[];return e.each(()=>{let a=e.getValue();if(n&&n.has(a))return;let{leading:u,trailing:l}=a;u?m.push(function(e,t){let n=e.getValue(),o=[D(e,t)],{printer:a,originalText:s,locStart:u,locEnd:l}=t;if(a.isBlockComment&&a.isBlockComment(n)){let e=c(s,l(n))?c(s,u(n),{backwards:!0})?i:r:" ";o.push(e)}else o.push(i);let d=_(s,p(s,l(n)));return!1!==d&&c(s,d)&&o.push(i),o}(e,t)):l&&h.push(function(e,t){let n=e.getValue(),r=D(e,t),{printer:a,originalText:u,locStart:l}=t,_=a.isBlockComment&&a.isBlockComment(n);if(c(u,l(n),{backwards:!0}))return s([i,d(u,n,l)?i:"",r]);let p=[" ",r];return _||(p=[s(p),o]),p}(e,t))},"comments"),f&&(m.unshift(l),h.push(l)),{leading:m,trailing:h}}t.exports={attach:function(e,t,n,r){if(!Array.isArray(e))return;let i=[],{locStart:o,locEnd:a,printer:{handleComments:s={}}}=r,{avoidAstMutation:u,ownLine:l=b,endOfLine:_=b,remaining:p=b}=s,d=e.map((i,o)=>Object.assign(Object.assign({},function e(t,n,r,i){let{locStart:o,locEnd:a}=r,s=o(n),u=a(n),l=g(t,r),c,_,p=0,d=l.length;for(;p>1,i=l[t],f=o(i),m=a(i);if(f<=s&&u<=m)return e(i,n,r,i);if(m<=s){c=i,p=t+1;continue}if(u<=f){_=i,d=t;continue}throw Error("Comment location overlaps with node location")}if(i&&"TemplateLiteral"===i.type){let{quasis:e}=i,t=S(e,n,r);c&&S(e,c,r)!==t&&(c=null),_&&S(e,_,r)!==t&&(_=null)}return{enclosingNode:i,precedingNode:c,followingNode:_}}(t,i,r)),{},{comment:i,text:n,options:r,ast:t,isLastComment:e.length-1===o}));for(let[e,t]of d.entries()){let n,{comment:r,precedingNode:s,enclosingNode:y,followingNode:g,text:b,options:D,ast:S,isLastComment:T}=t;if("json"===D.parser||"json5"===D.parser||"__js_expression"===D.parser||"__vue_expression"===D.parser||"__vue_ts_expression"===D.parser){if(o(r)-o(S)<=0){f(S,r);continue}if(a(r)-a(S)>=0){h(S,r);continue}}if(u?n=[t]:(r.enclosingNode=y,r.precedingNode=s,r.followingNode=g,n=[r,b,D,S,T]),function(e,t,n,r){let{comment:i,precedingNode:o}=n[r],{locStart:a,locEnd:s}=t,u=a(i);if(o)for(let t=r-1;t>=0;t--){let{comment:r,precedingNode:i}=n[t];if(i!==o||!v(e.slice(s(r),u)))break;u=a(r)}return c(e,u,{backwards:!0})}(b,D,d,e))r.placement="ownLine",l(...n)||(g?f(g,r):s?h(s,r):m(y||S,r));else if(function(e,t,n,r){let{comment:i,followingNode:o}=n[r],{locStart:a,locEnd:s}=t,u=s(i);if(o)for(let t=r+1;t0&&i[e-1].followingNode!==g&&x(i,b,D),i.push(t)}else s?h(s,r):g?f(g,r):m(y||S,r)}}if(x(i,n,r),!u)for(let t of e)delete t.precedingNode,delete t.enclosingNode,delete t.followingNode},printComments:function(e,t,n,r){let{leading:i,trailing:o}=E(e,n,r);return i||o?[i,t,o]:t},printCommentsSeparately:E,printDanglingComments:function(e,t,n,r){let o=[],s=e.getValue();return s&&s.comments&&(e.each(()=>{let n=e.getValue();!n.leading&&!n.trailing&&(!r||r(n))&&o.push(D(e,t))},"comments"),0!==o.length)?n?u(i,o):a([i,u(i,o)]):""},getSortedChildNodes:g,ensureAllCommentsPrinted:function(e){if(e)for(let t of e){if(!t.printed)throw Error('Comment "'+t.value.trim()+'" was not printed. Please report this error!');delete t.printed}}}}}),tP=b({"src/common/ast-path.js"(e,t){T();var n=M();function r(e,t){let n=i(e.stack,t);return -1===n?null:e.stack[n]}function i(e,t){for(let n=e.length-1;n>=0;n-=2){let r=e[n];if(r&&!Array.isArray(r)&&--t<0)return n}return -1}var o=class{constructor(e){this.stack=[e]}getName(){let{stack:e}=this,{length:t}=e;return t>1?e[t-2]:null}getValue(){return n(this.stack)}getNode(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return r(this,e)}getParentNode(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return r(this,e+1)}call(e){let{stack:t}=this,{length:r}=t,i=n(t);for(var o=arguments.length,a=Array(o>1?o-1:0),s=1;s1&&void 0!==arguments[1]?arguments[1]:0,n=i(this.stack,t+1),r=this.stack.splice(n+1),o=e(this);return this.stack.push(...r),o}each(e){let{stack:t}=this,{length:r}=t,i=n(t);for(var o=arguments.length,a=Array(o>1?o-1:0),s=1;s1?n-1:0),i=1;i{t[r]=e(n,r,i)},...r),t}try(e){let{stack:t}=this,n=[...t];try{return e()}finally{t.length=0,t.push(...n)}}match(){let e=this.stack.length-1,t=null,n=this.stack[e--];for(var r=arguments.length,i=Array(r),o=0;o(function(e,t,o,a){let{stripTrailingHardline:s=!1}=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},u=r(Object.assign(Object.assign(Object.assign({},o),t),{},{parentParser:o.parser,originalText:e}),{passThrough:!0}),l=tM().parse(e,u),{ast:c}=l;e=l.text;let _=c.comments;delete c.comments,i.attach(_,c,e,u),u[Symbol.for("comments")]=_||[],u[Symbol.for("tokens")]=c.tokens||[];let p=a(c,u);return i.ensureAllCommentsPrinted(_),s?"string"==typeof p?p.replace(/(?:\r?\n)*$/,""):n(p):p})(e,t,o,a,s),o)}}}}),tL=b({"src/main/ast-to-doc.js"(e,t){T();var n=tP(),{builders:{hardline:r,addAlignmentToDoc:i},utils:{propagateBreaks:o}}=$(),{printComments:a}=tO(),s=tF();t.exports=function e(t,u){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,{printer:c}=u;c.preprocess&&(t=c.preprocess(t,u));let _=new Map,p=new n(t),d=f();return l>0&&(d=i([r,d],l,u.tabWidth)),o(d),d;function f(e,t){return void 0===e||e===p?m(t):Array.isArray(e)?p.call(()=>m(t),...e):p.call(()=>m(t),e)}function m(t){let n=p.getValue(),r=n&&"object"==typeof n&&void 0===t;if(r&&_.has(n))return _.get(n);let i=function(t,n,r,i){let o=t.getValue(),{printer:u}=n,l,c;if(u.hasPrettierIgnore&&u.hasPrettierIgnore(t))({doc:l,printedComments:c}=function(e,t){let{originalText:n,[Symbol.for("comments")]:r,locStart:i,locEnd:o}=t,a=i(e),s=o(e),u=new Set;for(let e of r)i(e)>=a&&o(e)<=s&&(e.printed=!0,u.add(e));return{doc:n.slice(a,s),printedComments:u}}(o,n));else{if(o)try{l=s.printSubtree(t,r,n,e)}catch(e){if(globalThis.PRETTIER_DEBUG)throw e}l||(l=u.print(t,n,r,i))}return u.willPrintOwnComments&&u.willPrintOwnComments(t,n)||(l=a(t,l,n,c)),l}(p,u,f,t);return r&&_.set(n,i),i}}}}),tz=b({"src/main/range-util.js"(e,t){T();var n=tj(),r=tO(),i=e=>{let{parser:t}=e;return"json"===t||"json5"===t||"json-stringify"===t};function o(e){let t=e.length-1;for(;;){let n=e[t];if(n&&("Program"===n.type||"File"===n.type))t--;else break}return e.slice(0,t+1)}function a(e,t,n,i){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],s=arguments.length>5?arguments[5]:void 0,{locStart:u,locEnd:l}=n,c=u(e),_=l(e);if(!(t>_||t_);let m=e.slice(_,p).search(/\S/),h=-1===m;if(!h)for(_+=m;p>_&&!/\S/.test(e[p-1]);--p);let y=a(r,_,t,(e,n)=>l(t,e,n),[],"rangeStart"),g=h?y:a(r,p,t,e=>l(t,e),[],"rangeEnd");if(!y||!g)return{rangeStart:0,rangeEnd:0};if(i(t)){let e,t;let n=(e=[y.node,...y.parentNodes],t=new Set([g.node,...g.parentNodes]),e.find(e=>s.has(e.type)&&t.has(e)));u=n,c=n}else({startNode:u,endNode:c}=function(e,t,n){let{locStart:r,locEnd:i}=n,a=e.node,s=t.node;if(a===s)return{startNode:a,endNode:s};let u=r(e.node);for(let e of o(t.parentNodes))if(r(e)>=u)s=e;else break;let l=i(t.node);for(let t of o(e.parentNodes)){if(i(t)<=l)a=t;else break;if(a===s)break}return{startNode:a,endNode:s}}(y,g,t));return{rangeStart:Math.min(d(u),d(c)),rangeEnd:Math.max(f(u),f(c))}},findNodeAtOffset:a}}}),tR=b({"src/main/core.js"(e,t){T();var{diffArrays:n}=A(),{printer:{printDocToString:r},debug:{printDocToDebug:i}}=$(),{getAlignmentSize:o}=ep(),{guessEndOfLine:a,convertEndOfLineToChars:s,countEndOfLineChars:u,normalizeEndOfLine:l}=N(),c=tk().normalize,_=tI(),p=tO(),d=tM(),f=tL(),m=tz(),h=Symbol("cursor");function y(e,t,n){let r=t.comments;return r&&(delete t.comments,p.attach(r,t,e,n)),n[Symbol.for("comments")]=r||[],n[Symbol.for("tokens")]=t.tokens||[],n.originalText=e,r}function g(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:o,text:a}=d.parse(e,t);if(t.cursorOffset>=0){let e=m.findNodeAtOffset(o,t.cursorOffset,t);e&&e.node&&(t.cursorNode=e.node)}let u=y(a,o,t),l=r(f(o,t,i),t);if(p.ensureAllCommentsPrinted(u),i>0){let e=l.formatted.trim();void 0!==l.cursorNodeStart&&(l.cursorNodeStart-=l.formatted.indexOf(e)),l.formatted=e+s(t.endOfLine)}if(t.cursorOffset>=0){let e,r,i,o,s;if(t.cursorNode&&l.cursorNodeText?(e=t.locStart(t.cursorNode),r=a.slice(e,t.locEnd(t.cursorNode)),i=t.cursorOffset-e,o=l.cursorNodeStart,s=l.cursorNodeText):(e=0,r=a,i=t.cursorOffset,o=0,s=l.formatted),r===s)return{formatted:l.formatted,cursorOffset:o+i,comments:u};let c=[...r];c.splice(i,0,h);let _=n(c,[...s]),p=o;for(let e of _)if(e.removed){if(e.value.includes(h))break}else p+=e.count;return{formatted:l.formatted,cursorOffset:p,comments:u}}return{formatted:l.formatted,cursorOffset:-1,comments:u}}function b(e,t,n){return"number"!=typeof t||Number.isNaN(t)||t<0||t>e.length?n:t}function v(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:i}=t;return n=b(e,n,-1),r=b(e,r,0),i=b(e,i,e.length),Object.assign(Object.assign({},t),{},{cursorOffset:n,rangeStart:r,rangeEnd:i})}function x(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:i,endOfLine:o}=v(e,t),s="\uFEFF"===e.charAt(0);if(s&&(e=e.slice(1),n--,r--,i--),"auto"===o&&(o=a(e)),e.includes("\r")){let t=t=>u(e.slice(0,Math.max(t,0)),`\r +`);n-=t(n),r-=t(r),i-=t(i),e=l(e)}return{hasBOM:s,text:e,options:v(e,Object.assign(Object.assign({},t),{},{cursorOffset:n,rangeStart:r,rangeEnd:i,endOfLine:o}))}}function D(e,t){let n=d.resolveParser(t);return!n.hasPragma||n.hasPragma(e)}function S(e,t){let n,{hasBOM:r,text:i,options:a}=x(e,c(t));return a.rangeStart>=a.rangeEnd&&""!==i||a.requirePragma&&!D(i,a)?{formatted:e,cursorOffset:t.cursorOffset,comments:[]}:(a.rangeStart>0||a.rangeEndi&&t.cursorOffset<=a?t.cursorOffset-i:-1,endOfLine:"lf"}),_),f=p.formatted.trimEnd(),{cursorOffset:h}=t;h>a?h+=f.length-l.length:p.cursorOffset>=0&&(h=p.cursorOffset+i);let y=r.slice(0,i)+f+r.slice(a);if("lf"!==t.endOfLine){let e=s(t.endOfLine);h>=0&&e===`\r +`&&(h+=u(y.slice(0,h),` +`)),y=y.replace(/\n/g,e)}return{formatted:y,cursorOffset:h,comments:p.comments}}(i,a):(!a.requirePragma&&a.insertPragma&&a.printer.insertPragma&&!D(i,a)&&(i=a.printer.insertPragma(i)),n=g(i,a)),r&&(n.formatted="\uFEFF"+n.formatted,n.cursorOffset>=0&&n.cursorOffset++),n)}t.exports={formatWithCursor:S,parse(e,t,n){let{text:r,options:i}=x(e,c(t)),o=d.parse(r,i);return n&&(o.ast=_(o.ast,i)),o},formatAST:(e,t)=>r(f(e,t=c(t)),t),formatDoc:(e,t)=>S(i(e),Object.assign(Object.assign({},t),{},{parser:"__js_expression"})).formatted,printToDoc(e,t){t=c(t);let{ast:n,text:r}=d.parse(e,t);return y(r,n,t),f(n,t)},printDocToString:(e,t)=>r(e,c(t))}}}),tB=b({"src/common/util-shared.js"(e,t){T();var{getMaxContinuousCount:n,getStringWidth:r,getAlignmentSize:i,getIndentSize:o,skip:a,skipWhitespace:s,skipSpaces:u,skipNewline:l,skipToLineEnd:c,skipEverythingButNewLine:_,skipInlineComment:p,skipTrailingComment:d,hasNewline:f,hasNewlineInRange:m,hasSpaces:h,isNextLineEmpty:y,isNextLineEmptyAfterIndex:g,isPreviousLineEmpty:b,getNextNonSpaceNonCommentCharacterIndex:v,makeString:x,addLeadingComment:D,addDanglingComment:S,addTrailingComment:E}=ep();t.exports={getMaxContinuousCount:n,getStringWidth:r,getAlignmentSize:i,getIndentSize:o,skip:a,skipWhitespace:s,skipSpaces:u,skipNewline:l,skipToLineEnd:c,skipEverythingButNewLine:_,skipInlineComment:p,skipTrailingComment:d,hasNewline:f,hasNewlineInRange:m,hasSpaces:h,isNextLineEmpty:y,isNextLineEmptyAfterIndex:g,isPreviousLineEmpty:b,getNextNonSpaceNonCommentCharacterIndex:v,makeString:x,addLeadingComment:D,addDanglingComment:S,addTrailingComment:E}}}),tU=b({"src/utils/create-language.js"(e,t){T(),t.exports=function(e,t){let{languageId:n}=e;return Object.assign(Object.assign({linguistLanguageId:n},c(e,l)),t(e))}}}),tJ=b({"node_modules/esutils/lib/ast.js"(e,t){T(),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 n(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=n(t)}while(t)return!1},trailingStatement:n}}()}}),t$=b({"node_modules/esutils/lib/code.js"(e,t){T(),function(){var e,n,r,i,o,a;function s(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(n={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]/},r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],i=Array(128),a=0;a<128;++a)i[a]=a>=97&&a<=122||a>=65&&a<=90||36===a||95===a;for(o=Array(128),a=0;a<128;++a)o[a]=a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||36===a||95===a;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&&r.indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStartES5:function(e){return e<128?i[e]:n.NonAsciiIdentifierStart.test(s(e))},isIdentifierPartES5:function(e){return e<128?o[e]:n.NonAsciiIdentifierPart.test(s(e))},isIdentifierStartES6:function(t){return t<128?i[t]:e.NonAsciiIdentifierStart.test(s(t))},isIdentifierPartES6:function(t){return t<128?o[t]:e.NonAsciiIdentifierPart.test(s(t))}}}()}}),tK=b({"node_modules/esutils/lib/keyword.js"(e,t){T(),function(){var e=t$();function n(e,t){return(!!t||"yield"!==e)&&r(e,t)}function r(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||n(e,t)}function o(e,t){return"null"===e||"true"===e||"false"===e||r(e,t)}function a(t){var n,r,i;if(0===t.length||(i=t.charCodeAt(0),!e.isIdentifierStartES5(i)))return!1;for(n=1,r=t.length;n=r||!(56320<=(o=t.charCodeAt(n))&&o<=57343))return!1;i=(i-55296)*1024+(o-56320)+65536}if(!a(i))return!1;a=e.isIdentifierPartES6}return!0}t.exports={isKeywordES5:n,isKeywordES6:r,isReservedWordES5:i,isReservedWordES6:o,isRestrictedWord:function(e){return"eval"===e||"arguments"===e},isIdentifierNameES5:a,isIdentifierNameES6:s,isIdentifierES5:function(e,t){return a(e)&&!i(e,t)},isIdentifierES6:function(e,t){return s(e)&&!o(e,t)}}}()}}),tV=b({"node_modules/esutils/lib/utils.js"(e){T(),e.ast=tJ(),e.code=t$(),e.keyword=tK()}}),tY=b({"src/language-js/utils/is-block-comment.js"(e,t){T();var n=new Set(["Block","CommentBlock","MultiLine"]);t.exports=e=>n.has(null==e?void 0:e.type)}}),tq=b({"src/language-js/utils/is-node-matches.js"(e,t){T(),t.exports=function(e,t){return t.some(t=>(function(e,t){let n=t.split(".");for(let t=n.length-1;t>=0;t--){let r=n[t];if(0===t)return"Identifier"===e.type&&e.name===r;if("MemberExpression"!==e.type||e.optional||e.computed||"Identifier"!==e.property.type||e.property.name!==r)return!1;e=e.object}})(e,t))}}}),tW=b({"src/language-js/utils/index.js"(e,t){T();var n=tV().keyword.isIdentifierNameES5,{getLast:r,hasNewline:i,skipWhitespace:o,isNonEmptyArray:a,isNextLineEmptyAfterIndex:s,getStringWidth:u}=ep(),{locStart:l,locEnd:c,hasSameLocStart:_}=tw(),p=tY(),d=tq(),f="(?:(?=.)\\s)",m=RegExp(`^${f}*:`),h=RegExp(`^${f}*::`);function y(e){return e=new Set(e),t=>e.has(null==t?void 0:t.type)}var g=y(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),b=y(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]),v=y(["BooleanLiteral","DirectiveLiteral","Literal","NullLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","RegExpLiteral","StringLiteral","TemplateLiteral","TSTypeLiteral","JSXText"]);function x(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function D(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}var S=y(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),E=y(["FunctionExpression","ArrowFunctionExpression"]);function w(e){return j(e)&&"Identifier"===e.callee.type&&["async","inject","fakeAsync","waitForAsync"].includes(e.callee.name)}var A=y(["JSXElement","JSXFragment"]);function C(e){return"get"===e.kind||"set"===e.kind}function N(e){return C(e)||_(e,e.value)}var M=y(["BinaryExpression","LogicalExpression","NGPipeExpression"]),k=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"]),I=["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"],j=y(["CallExpression","OptionalCallExpression"]),O=y(["MemberExpression","OptionalMemberExpression"]);function P(e){return/^(?:\d+|\d+\.\d+)$/.test(e)}function F(e){return e.quasis.some(e=>e.value.raw.includes(` +`))}function L(e){var t,n;return null!==(t=null===(n=e.extra)||void 0===n?void 0:n.raw)&&void 0!==t?t:e.raw}var z={"==":!0,"!=":!0,"===":!0,"!==":!0},R={"*":!0,"/":!0,"%":!0},B={">>":!0,">>>":!0,"<<":!0},U=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((e,t)=>e.map(e=>[e,t])));function J(e){return U.get(e)}var $=new WeakMap;function K(e){if($.has(e))return $.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),$.set(e,t),t}var V=new WeakMap;function Y(e){if(V.has(e))return V.get(e);let t=e.arguments;return"ImportExpression"===e.type&&(t=[e.source],e.attributes&&t.push(e.attributes)),V.set(e,t),t}function q(e){return"prettier-ignore"===e.value.trim()&&!e.unignore}function W(e){return e&&(e.prettierIgnore||G(e,Q.PrettierIgnore))}var Q={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},H=(e,t)=>{if("function"==typeof e&&(t=e,e=0),e||t)return(n,r,i)=>!(e&Q.Leading&&!n.leading||e&Q.Trailing&&!n.trailing||e&Q.Dangling&&(n.leading||n.trailing)||e&Q.Block&&!p(n)||e&Q.Line&&!g(n)||e&Q.First&&0!==r||e&Q.Last&&r!==i.length-1||e&Q.PrettierIgnore&&!q(n)||t&&!t(n))};function G(e,t,n){if(!a(null==e?void 0:e.comments))return!1;let r=H(t,n);return!r||e.comments.some(r)}function Z(e,t,n){if(!Array.isArray(null==e?void 0:e.comments))return[];let r=H(t,n);return r?e.comments.filter(r):e.comments}function X(e){return j(e)||"NewExpression"===e.type||"ImportExpression"===e.type}var ee=Symbol("ifWithoutBlockAndSameLineComment");function et(e){return"TSAsExpression"===e.type||"TSSatisfiesExpression"===e.type}t.exports={getFunctionParameters:K,iterateFunctionParametersPath:function(e,t){let n=e.getValue(),r=0,i=e=>t(e,r++);n.this&&e.call(i,"this"),Array.isArray(n.parameters)?e.each(i,"parameters"):Array.isArray(n.params)&&e.each(i,"params"),n.rest&&e.call(i,"rest")},getCallArguments:Y,iterateCallArgumentsPath:function(e,t){let n=e.getValue();"ImportExpression"===n.type?(e.call(e=>t(e,0),"source"),n.attributes&&e.call(e=>t(e,1),"attributes")):e.each(t,"arguments")},hasRestParameter:function(e){var t;return!!e.rest||(null===(t=r(K(e)))||void 0===t?void 0:t.type)==="RestElement"},getLeftSide:function(e){var t,n,r,i,o,a;return e.expressions?e.expressions[0]:null!==(t=null!==(n=null!==(r=null!==(i=null!==(o=null!==(a=e.left)&&void 0!==a?a:e.test)&&void 0!==o?o:e.callee)&&void 0!==i?i:e.object)&&void 0!==r?r:e.tag)&&void 0!==n?n: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 Error("Unexpected node has no left side.")},getParentExportDeclaration:function(e){let t=e.getParentNode();return"declaration"===e.getName()&&b(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 p(t)&&h.test(t.value)},hasFlowShorthandAnnotationComment:function(e){var t,n;return(null===(t=e.extra)||void 0===t?void 0:t.parenthesized)&&p(null===(n=e.trailingComments)||void 0===n?void 0:n[0])&&m.test(e.trailingComments[0].value)},hasLeadingOwnLineComment:function(e,t){return A(t)?W(t):G(t,Q.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||j(e)||O(e)||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||et(e)||"TSNonNullExpression"===e.type},hasNode:function e(t,n){if(!t||"object"!=typeof t)return!1;if(Array.isArray(t))return t.some(t=>e(t,n));let r=n(t);return"boolean"==typeof r?r:Object.values(t).some(t=>e(t,n))},hasIgnoreComment:function(e){return W(e.getValue())},hasNodeIgnoreComment:W,identity:function(e){return e},isBinaryish:M,isCallLikeExpression:X,isEnabledHackPipeline:function(e){return!!e.__isUsingHackPipeline},isLineComment:g,isPrettierIgnoreComment:q,isCallExpression:j,isMemberExpression:O,isExportDeclaration:b,isFlowAnnotationComment:function(e,t){let n=l(t),r=o(e,c(t));return!1!==r&&"/*"===e.slice(n,n+2)&&"*/"===e.slice(r,r+2)},isFunctionCompositionArgs:function(e){if(e.length<=1)return!1;let t=0;for(let n of e)if(E(n)){if((t+=1)>1)return!0}else if(j(n)){for(let e of n.arguments)if(E(e))return!0}return!1},isFunctionNotation:N,isFunctionOrArrowExpression:E,isGetterOrSetter:C,isJestEachTemplateLiteral:function(e,t){let n=/^[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&&n.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&&n.test(t.tag.object.object.name))},isJsxNode:A,isLiteral:v,isLongCurriedCallExpression:function(e){let t=e.getValue(),n=e.getParentNode();return j(t)&&j(n)&&n.callee===t&&t.arguments.length>n.arguments.length&&n.arguments.length>0},isSimpleCallArgument:function e(t,n){if(n>=2)return!1;let r=t=>e(t,n+1),i="Literal"===t.type&&"regex"in t&&t.regex.pattern||"RegExpLiteral"===t.type&&t.pattern;return!(i&&u(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(` +`))&&t.expressions.every(r):"ObjectExpression"===t.type?t.properties.every(e=>!e.computed&&(e.shorthand||e.value&&r(e.value))):"ArrayExpression"===t.type?t.elements.every(e=>null===e||r(e)):X(t)?("ImportExpression"===t.type||e(t.callee,n))&&Y(t).every(r):O(t)?e(t.object,n)&&e(t.property,n):"UnaryExpression"===t.type&&({"!":!0,"-":!0,"+":!0,"~":!0})[t.operator]?e(t.argument,n):"UpdateExpression"===t.type&&({"++":!0,"--":!0})[t.operator]?e(t.argument,n):"TSNonNullExpression"===t.type&&e(t.expression,n)))},isMemberish:function(e){return O(e)||"BindExpression"===e.type&&!!e.object},isNumericLiteral:x,isSignedNumericLiteral:function(e){return"UnaryExpression"===e.type&&("+"===e.operator||"-"===e.operator)&&x(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&&!N(e)},isSimpleType:function(e){return!!e&&!!(("GenericTypeAnnotation"===e.type||"TSTypeReference"===e.type)&&!e.typeParameters||k.has(e.type))},isSimpleNumber:P,isSimpleTemplateLiteral:function(e){let t="expressions";"TSTemplateLiteralType"===e.type&&(t="types");let n=e[t];return 0!==n.length&&n.every(e=>{if(G(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||G(t=t.object))return!1;return"Identifier"===t.type||"ThisExpression"===t.type}return!1})},isStringLiteral:D,isStringPropSafeToUnquote:function(e,t){return"json"!==t.parser&&D(e.key)&&L(e.key).slice(1,-1)===e.key.value&&(n(e.key.value)&&!("babel-ts"===t.parser&&"ClassProperty"===e.type||"typescript"===t.parser&&"PropertyDefinition"===e.type)||P(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&&F(e)||"TaggedTemplateExpression"===e.type&&F(e.quasi))&&!i(t,l(e),{backwards:!0})},isTestCall:function e(t,n){var r;if("CallExpression"!==t.type)return!1;if(1===t.arguments.length){if(w(t)&&n&&e(n))return E(t.arguments[0]);if("Identifier"===t.callee.type&&/^(?:before|after)(?:Each|All)$/.test(t.callee.name)&&1===t.arguments.length)return w(t.arguments[0])}else if((2===t.arguments.length||3===t.arguments.length)&&("TemplateLiteral"===t.arguments[0].type||D(t.arguments[0]))&&d(t.callee,I))return(!t.arguments[2]||!!x(t.arguments[2]))&&((2===t.arguments.length?E(t.arguments[1]):("FunctionExpression"===(r=t.arguments[1]).type||"ArrowFunctionExpression"===r.type&&"BlockStatement"===r.body.type)&&K(t.arguments[1]).length<=1)||w(t.arguments[1]));return!1},isTheOnlyJsxElementInMarkdown:function(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;let n=t.getNode();if(!n.expression||!A(n.expression))return!1;let r=t.getParentNode();return"Program"===r.type&&1===r.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&&!_(e,e.typeAnnotation)},isNextLineEmpty:(e,t)=>{let{originalText:n}=t;return s(n,c(e))},needsHardlineAfterDanglingComment:function(e){if(!G(e))return!1;let t=r(Z(e,Q.Dangling));return t&&!p(t)},rawText:L,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!!B[e]||"|"===e||"^"===e||"&"===e},shouldFlatten:function(e,t){return!(J(t)!==J(e)||"**"===e||z[e]&&z[t]||"%"===t&&R[e]||"%"===e&&R[t]||t!==e&&R[t]&&R[e]||B[e]&&B[t])},startsWithNoLookaheadToken:function e(t,n){switch(t.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return e(t.left,n);case"MemberExpression":case"OptionalMemberExpression":return e(t.object,n);case"TaggedTemplateExpression":return"FunctionExpression"!==t.tag.type&&e(t.tag,n);case"CallExpression":case"OptionalCallExpression":return"FunctionExpression"!==t.callee.type&&e(t.callee,n);case"ConditionalExpression":return e(t.test,n);case"UpdateExpression":return!t.prefix&&e(t.argument,n);case"BindExpression":return t.object&&e(t.object,n);case"SequenceExpression":return e(t.expressions[0],n);case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":return e(t.expression,n);default:return n(t)}},getPrecedence:J,hasComment:G,getComments:Z,CommentCheckFlags:Q,markerForIfWithoutBlockAndSameLineComment:ee,isTSTypeExpression:et}}}),tQ=b({"src/language-js/print/template-literal.js"(e,t){T();var n=M(),{getStringWidth:r,getIndentSize:i}=ep(),{builders:{join:o,hardline:a,softline:s,group:u,indent:l,align:c,lineSuffixBoundary:_,addAlignmentToDoc:p},printer:{printDocToString:d},utils:{mapDoc:f}}=$(),{isBinaryish:m,isJestEachTemplateLiteral:h,isSimpleTemplateLiteral:y,hasComment:g,isMemberExpression:b,isTSTypeExpression:v}=tW();function x(e){return e.replace(/([\\`]|\${)/g,"\\$1")}t.exports={printTemplateLiteral:function(e,t,f){let x=e.getValue();if("TemplateLiteral"===x.type&&h(x,e.getParentNode())){let i=function(e,t,i){let s=e.getNode(),u=s.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(u.length>1||u.some(e=>e.length>0)){t.__inJestEach=!0;let c=e.map(i,"expressions");t.__inJestEach=!1;let p=[],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;ee.cells.length))}).fill(0),y=[{cells:u},...m.filter(e=>e.cells.length>0)];for(let{cells:e}of y.filter(e=>!e.hasLineBreak))for(let[t,n]of e.entries())h[t]=Math.max(h[t],r(n));return p.push(_,"`",l([a,o(a,y.map(e=>o(" | ",e.cells.map((t,n)=>e.hasLineBreak?t:t+" ".repeat(h[n]-r(t))))))]),a,"`"),p}}(e,f,t);if(i)return i}let D="expressions";"TSTemplateLiteralType"===x.type&&(D="types");let S=[],T=e.map(t,D),E=y(x);return E&&(T=T.map(e=>d(e,Object.assign(Object.assign({},f),{},{printWidth:Number.POSITIVE_INFINITY})).formatted)),S.push(_,"`"),e.each(e=>{let n=e.getName();if(S.push(t()),n{let n,r;return n=e.getValue(),r=t(),g(n)&&(r=u([l([s,r]),s])),["${",r,_,"}"]},"expressions")},escapeTemplateCharacters:function(e,t){return f(e,e=>"string"==typeof e?t?e.replace(/(\\*)`/g,"$1$1\\`"):x(e):e)},uncookTemplateElementValue:x}}}),tH=b({"src/language-js/embed/markdown.js"(e,t){T();var{builders:{indent:n,softline:r,literalline:i,dedentToRoot:o}}=$(),{escapeTemplateCharacters:a}=tQ();t.exports=function(e,t,s){let u;let l=e.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(e,t)=>"\\".repeat(t.length/2)+"`"),c=null===(u=l.match(/^([^\S\n]*)\S/m))?"":u[1],_=""!==c;_&&(l=l.replace(RegExp(`^${c}`,"gm"),""));let p=a(s(l,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",_?n([r,p]):[i,o(p)],r,"`"]}}}),tG=b({"src/language-js/embed/css.js"(e,t){T();var{isNonEmptyArray:n}=ep(),{builders:{indent:r,hardline:i,softline:o},utils:{mapDoc:a,replaceEndOfLine:s,cleanDoc:u}}=$(),{printTemplateExpressions:l}=tQ();t.exports=function(e,t,c){let _=e.getValue(),p=_.quasis.map(e=>e.value.raw),d=0;return function(e,t,l){if(1===t.quasis.length&&!t.quasis[0].value.raw.trim())return"``";let c=function(e,t){if(!n(t))return e;let r=0,i=a(u(e),e=>"string"==typeof e&&e.includes("@prettier-placeholder")?e.split(/@prettier-placeholder-(\d+)-id/).map((e,n)=>n%2==0?s(e):(r++,t[e])):e);return t.length===r?i:null}(e,l);if(!c)throw Error("Couldn't insert all the expressions");return["`",r([i,c]),o,"`"]}(c(p.reduce((e,t,n)=>0===n?t:e+"@prettier-placeholder-"+d+++"-id"+t,""),{parser:"scss"},{stripTrailingHardline:!0}),_,l(e,t))}}}),tZ=b({"src/language-js/embed/graphql.js"(e,t){T();var{builders:{indent:n,join:r,hardline:i}}=$(),{escapeTemplateCharacters:o,printTemplateExpressions:a}=tQ();t.exports=function(e,t,s){let u=e.getValue(),l=u.quasis.length;if(1===l&&""===u.quasis[0].value.raw.trim())return"``";let c=a(e,t),_=[];for(let e=0;e2&&""===d[0].trim()&&""===d[1].trim(),y=f>2&&""===d[f-1].trim()&&""===d[f-2].trim(),g=d.every(e=>/^\s*(?:#[^\n\r]*)?$/.test(e));if(!a&&/#[^\n\r]*$/.test(d[f-1]))return null;let b=null;(b=g?function(e){let t=[],n=!1,o=e.map(e=>e.trim());for(let[e,r]of o.entries())""!==r&&(""===o[e-1]&&n?t.push([i,r]):t.push(r),n=!0);return 0===t.length?null:r(i,t)}(d):s(p,{parser:"graphql"},{stripTrailingHardline:!0}))?(b=o(b,!1),!n&&h&&_.push(""),_.push(b),!a&&y&&_.push("")):n||a||!h||_.push(""),m&&_.push(m)}return["`",n([i,r(i,_)]),i,"`"]}}}),tX=b({"src/language-js/embed/html.js"(e,t){T();var{builders:{indent:n,line:r,hardline:i,group:o},utils:{mapDoc:a}}=$(),{printTemplateExpressions:s,uncookTemplateElementValue:u}=tQ(),l=0;t.exports=function(e,t,c,_,p){let{parser:d}=p,f=e.getValue(),m=l;l=l+1>>>0;let h=e=>`PRETTIER_HTML_PLACEHOLDER_${e}_${m}_IN_JS`,y=f.quasis.map((e,t,n)=>t===n.length-1?e.value.cooked:e.value.cooked+h(t)).join(""),g=s(e,t);if(0===g.length&&0===y.trim().length)return"``";let b=RegExp(h("(\\d+)"),"g"),v=0,x=a(c(y,{parser:d,__onHtmlRoot(e){v=e.children.length}},{stripTrailingHardline:!0}),e=>{if("string"!=typeof e)return e;let t=[],n=e.split(b);for(let e=0;e1?n(o(x)):o(x),S,"`"])}}}),t0=b({"src/language-js/embed.js"(e,t){T();var{hasComment:n,CommentCheckFlags:r,isObjectProperty:i}=tW(),o=tH(),a=tG(),s=tZ(),u=tX(),l=[(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 c(e){return"Identifier"===e.type&&"styled"===e.name}function _(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function p(e,t){return n(e,r.Block|r.Leading,e=>{let{value:n}=e;return n===` ${t} `})}t.exports=function(e,t,n,r){let d,f,m,h,y,g,b,v,x,D=e.getValue();if("TemplateLiteral"!==D.type||function(e){let{quasis:t}=e;return t.some(e=>{let{value:{cooked:t}}=e;return null===t})}(D))return;let S=(d=e.getValue(),f=e.getParentNode(),(m=e.getParentNode(1))&&d.quasis&&"JSXExpressionContainer"===f.type&&"JSXElement"===m.type&&"style"===m.openingElement.name.name&&m.openingElement.attributes.some(e=>"jsx"===e.name.name)||f&&"TaggedTemplateExpression"===f.type&&"Identifier"===f.tag.type&&"css"===f.tag.name||f&&"TaggedTemplateExpression"===f.type&&"MemberExpression"===f.tag.type&&"css"===f.tag.object.name&&("global"===f.tag.property.name||"resolve"===f.tag.property.name)||function(e){let t=e.getParentNode();if(!t||"TaggedTemplateExpression"!==t.type)return!1;let n="ParenthesizedExpression"===t.tag.type?t.tag.expression:t.tag;switch(n.type){case"MemberExpression":return c(n.object)||_(n);case"CallExpression":return c(n.callee)||"MemberExpression"===n.callee.type&&("MemberExpression"===n.callee.object.type&&(c(n.callee.object.object)||_(n.callee.object))||"CallExpression"===n.callee.object.type&&c(n.callee.object.callee));case"Identifier":return"css"===n.name;default:return!1}}(e)||(h=e.getParentNode(),(y=e.getParentNode(1))&&"JSXExpressionContainer"===h.type&&"JSXAttribute"===y.type&&"JSXIdentifier"===y.name.type&&"css"===y.name.name)||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,...l))?"css":(g=e.getValue(),b=e.getParentNode(),p(g,"GraphQL")||b&&("TaggedTemplateExpression"===b.type&&("MemberExpression"===b.tag.type&&"graphql"===b.tag.object.name&&"experimental"===b.tag.property.name||"Identifier"===b.tag.type&&("gql"===b.tag.name||"graphql"===b.tag.name))||"CallExpression"===b.type&&"Identifier"===b.callee.type&&"graphql"===b.callee.name))?"graphql":p(e.getValue(),"HTML")||e.match(e=>"TemplateLiteral"===e.type,(e,t)=>"TaggedTemplateExpression"===e.type&&"Identifier"===e.tag.type&&"html"===e.tag.name&&"quasi"===t)?"html":e.match(e=>"TemplateLiteral"===e.type,(e,t)=>i(e)&&"Identifier"===e.key.type&&"template"===e.key.name&&"value"===t,...l)?"angular":(v=e.getValue(),(x=e.getParentNode())&&"TaggedTemplateExpression"===x.type&&1===v.quasis.length&&"Identifier"===x.tag.type&&("md"===x.tag.name||"markdown"===x.tag.name))?"markdown":void 0;if(S){if("markdown"===S)return o(e,t,n);if("css"===S)return a(e,t,n);if("graphql"===S)return s(e,t,n);if("html"===S||"angular"===S)return u(e,t,n,r,{parser:S})}}}}),t1=b({"src/language-js/clean.js"(e,t){T();var n=tY(),r=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 o(e,t,r){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:n}of t.children)"JSXExpressionContainer"===e&&"TemplateLiteral"===n.type&&i(n);"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&&/["']|"|'/.test(e.value.value)&&(t.value.value=t.value.value.replace(/["']|"|'/g,'"'));let o=e.expression||e.callee;if("Decorator"===e.type&&"CallExpression"===o.type&&"Component"===o.callee.name&&1===o.arguments.length){let n=e.expression.arguments[0].properties;for(let[e,r]of t.expression.arguments[0].properties.entries())switch(n[e].key.name){case"styles":"ArrayExpression"===r.value.type&&i(r.value.elements[0]);break;case"template":"TemplateLiteral"===r.value.type&&i(r.value)}}if("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){var a;((null===(a=e.leadingComments)||void 0===a?void 0:a.some(e=>n(e)&&["GraphQL","HTML"].some(t=>e.value===` ${t} `)))||"CallExpression"===r.type&&"graphql"===r.callee.name||!e.leadingComments)&&i(t)}if("InterpreterDirective"===e.type&&(t.value=t.value.trimEnd()),("TSIntersectionType"===e.type||"TSUnionType"===e.type)&&1===e.types.length)return t.types[0]}o.ignoredProperties=r,t.exports=o}}),t2={};function t3(){if(typeof ns>"u"){var e=new ArrayBuffer(2),t=new Uint8Array(e),n=new Uint16Array(e);if(t[0]=1,t[1]=2,258===n[0])ns="BE";else if(513===n[0])ns="LE";else throw Error("unable to figure out endianess")}return ns}function t4(){return"u">typeof globalThis.location?globalThis.location.hostname:""}function t6(){return[]}function t5(){return 0}function t8(){return Number.MAX_VALUE}function t7(){return Number.MAX_VALUE}function t9(){return[]}function ne(){return"Browser"}function nt(){return"u">typeof globalThis.navigator?globalThis.navigator.appVersion:""}function nn(){}function nr(){}function ni(){return"javascript"}function no(){return"browser"}function na(){return"/tmp"}v(t2,{EOL:()=>nl,arch:()=>ni,cpus:()=>t9,default:()=>nc,endianness:()=>t3,freemem:()=>t8,getNetworkInterfaces:()=>nr,hostname:()=>t4,loadavg:()=>t6,networkInterfaces:()=>nn,platform:()=>no,release:()=>nt,tmpDir:()=>na,tmpdir:()=>nu,totalmem:()=>t7,type:()=>ne,uptime:()=>t5});var ns,nu,nl,nc,n_=g({"node-modules-polyfills:os"(){T(),nc={EOL:nl=` +`,tmpdir:nu=na,tmpDir:na,networkInterfaces:nn,getNetworkInterfaces:nr,release:nt,type:ne,cpus:t9,totalmem:t7,freemem:t8,uptime:t5,loadavg:t6,hostname:t4,endianness:t3}}}),np=b({"node-modules-polyfills-commonjs:os"(e,t){T();var n=(n_(),S(t2));if(n&&n.default)for(let e in t.exports=n.default,n)t.exports[e]=n[e];else n&&(t.exports=n)}}),nd=b({"node_modules/detect-newline/index.js"(e,t){T();var n=e=>{if("string"!=typeof e)throw TypeError("Expected a string");let t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;let n=t.filter(e=>e===`\r +`).length,r=t.length-n;return n>r?`\r +`:` +`};t.exports=n,t.exports.graceful=e=>"string"==typeof e&&n(e)||` +`}}),nf=b({"node_modules/jest-docblock/build/index.js"(e){function t(){let e=np();return t=function(){return e},e}function n(){var e;let t=(e=nd())&&e.__esModule?e:{default:e};return n=function(){return t},t}T(),Object.defineProperty(e,"__esModule",{value:!0}),e.extract=function(e){let t=e.match(o);return t?t[0].trimLeft():""},e.parse=function(e){return p(e).pragmas},e.parseWithComments=p,e.print=function(e){let{comments:r="",pragmas:i={}}=e,o=(0,n().default)(r)||t().EOL,a=Object.keys(i),s=a.map(e=>d(e,i[e])).reduce((e,t)=>e.concat(t),[]).map(e=>` * ${e}${o}`).join("");if(!r){if(0===a.length)return"";if(1===a.length&&!Array.isArray(i[a[0]]))return`/** ${d(a[0],i[a[0]])[0]} */`}let u=r.split(o).map(e=>` * ${e}`).join(o)+o;return"/**"+o+(r?u:"")+(r&&a.length?" *"+o:"")+s+" */"},e.strip=function(e){let t=e.match(o);return t&&t[0]?e.substring(t[0].length):e};var r=/\*\/$/,i=/^\/\*\*?/,o=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,a=/(^|\s+)\/\/([^\r\n]*)/g,s=/^(\r?\n)+/,u=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,l=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,c=/(\r?\n|^) *\* ?/g,_=[];function p(e){let o=(0,n().default)(e)||t().EOL;e=e.replace(i,"").replace(r,"").replace(c,"$1");let p="";for(;p!==e;)p=e,e=e.replace(u,`${o}$1 $2${o}`);e=e.replace(s,"").trimRight();let d=Object.create(null),f=e.replace(l,"").replace(s,"").trimRight(),m;for(;m=l.exec(e);){let e=m[2].replace(a,"");"string"==typeof d[m[1]]||Array.isArray(d[m[1]])?d[m[1]]=_.concat(d[m[1]],e):d[m[1]]=e}return{comments:f,pragmas:d}}function d(e,t){return _.concat(t).map(t=>`@${e} ${t}`.trim())}}}),nm=b({"src/language-js/utils/get-shebang.js"(e,t){T(),t.exports=function(e){if(!e.startsWith("#!"))return"";let t=e.indexOf(` +`);return -1===t?e:e.slice(0,t)}}}),nh=b({"src/language-js/pragma.js"(e,t){T();var{parseWithComments:n,strip:r,extract:i,print:o}=nf(),{normalizeEndOfLine:a}=N(),s=nm();function u(e){let t=s(e);t&&(e=e.slice(t.length+1));let{pragmas:r,comments:o}=n(i(e));return{shebang:t,text:e,pragmas:r,comments:o}}t.exports={hasPragma:function(e){let t=Object.keys(u(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function(e){let{shebang:t,text:n,pragmas:i,comments:s}=u(e),l=r(n);return(t?`${t} +`:"")+a(o({pragmas:Object.assign({format:""},i),comments:s.trimStart()}))+(l.startsWith(` +`)?` +`:` + +`)+l}}}}),ny=b({"src/language-js/utils/is-type-cast-comment.js"(e,t){T();var n=tY();t.exports=function(e){return n(e)&&"*"===e.value[0]&&/@(?:type|satisfies)\b/.test(e.value)}}}),ng=b({"src/language-js/comments.js"(e,t){T();var{getLast:n,hasNewline:r,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:i,getNextNonSpaceNonCommentCharacter:o,hasNewlineInRange:a,addLeadingComment:s,addTrailingComment:u,addDanglingComment:l,getNextNonSpaceNonCommentCharacterIndex:c,isNonEmptyArray:_}=ep(),{getFunctionParameters:p,isPrettierIgnoreComment:d,isJsxNode:f,hasFlowShorthandAnnotationComment:m,hasFlowAnnotationComment:h,hasIgnoreComment:y,isCallLikeExpression:g,getCallArguments:b,isCallExpression:v,isMemberExpression:x,isObjectProperty:D,isLineComment:S,getComments:E,CommentCheckFlags:w,markerForIfWithoutBlockAndSameLineComment:A}=tW(),{locStart:C,locEnd:N}=tw(),M=tY(),k=ny();function I(e,t){let n=(e.body||e.properties).find(e=>{let{type:t}=e;return"EmptyStatement"!==t});n?s(n,t):l(e,t)}function j(e,t){"BlockStatement"===e.type?I(e,t):s(e,t)}function O(e){let{comment:t,followingNode:n}=e;return!!(n&&k(t))&&(s(n,t),!0)}function P(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:i,text:a}=e;if((null==r?void 0:r.type)!=="IfStatement"||!i)return!1;if(")"===o(a,t,N))return u(n,t),!0;if(n===r.consequent&&i===r.alternate){if("BlockStatement"===n.type)u(n,t);else{let e="SingleLine"===t.type||t.loc.start.line===t.loc.end.line,i=t.loc.start.line===n.loc.start.line;e&&i?l(n,t,A):l(r,t)}return!0}return"BlockStatement"===i.type?(I(i,t),!0):"IfStatement"===i.type?(j(i.consequent,t),!0):r.consequent===i&&(s(i,t),!0)}function F(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:i,text:a}=e;return(null==r?void 0:r.type)==="WhileStatement"&&!!i&&(")"===o(a,t,N)?(u(n,t),!0):"BlockStatement"===i.type?(I(i,t),!0):r.body===i&&(s(i,t),!0))}function L(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:i}=e;return((null==r?void 0:r.type)==="TryStatement"||(null==r?void 0:r.type)==="CatchClause")&&!!i&&("CatchClause"===r.type&&n?(u(n,t),!0):"BlockStatement"===i.type?(I(i,t),!0):"TryStatement"===i.type?(j(i.finalizer,t),!0):"CatchClause"===i.type&&(j(i.body,t),!0))}function z(e){let{comment:t,enclosingNode:n,followingNode:r}=e;return!!x(n)&&(null==r?void 0:r.type)==="Identifier"&&(s(n,t),!0)}function R(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:i,text:o}=e,u=n&&!a(o,N(n),C(t));return(!n||!u)&&((null==r?void 0:r.type)==="ConditionalExpression"||(null==r?void 0:r.type)==="TSConditionalType")&&!!i&&(s(i,t),!0)}function B(e){let{comment:t,precedingNode:n,enclosingNode:r}=e;return!!D(r)&&!!r.shorthand&&r.key===n&&"AssignmentPattern"===r.value.type&&(u(r.value.left,t),!0)}var U=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function J(e){let{comment:t,precedingNode:r,enclosingNode:i,followingNode:o}=e;if(U.has(null==i?void 0:i.type)){if(_(i.decorators)&&!(o&&"Decorator"===o.type))return u(n(i.decorators),t),!0;if(i.body&&o===i.body)return I(i.body,t),!0;if(o){if(i.superClass&&o===i.superClass&&r&&(r===i.id||r===i.typeParameters))return u(r,t),!0;for(let e of["implements","extends","mixins"])if(i[e]&&o===i[e][0])return r&&(r===i.id||r===i.typeParameters||r===i.superClass)?u(r,t):l(i,t,e),!0}}return!1}var $=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty"]);function K(e){let{comment:t,precedingNode:n,enclosingNode:r,text:i}=e;return!!(r&&n&&"("===o(i,t,N)&&("Property"===r.type||"TSDeclareMethod"===r.type||"TSAbstractMethodDefinition"===r.type)&&"Identifier"===n.type&&r.key===n&&":"!==o(i,n,N)||(null==n?void 0:n.type)==="Decorator"&&$.has(null==r?void 0:r.type))&&(u(n,t),!0)}var V=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function Y(e){let{comment:t,precedingNode:n,enclosingNode:r,text:i}=e;return"("===o(i,t,N)&&!!(n&&V.has(null==r?void 0:r.type))&&(u(n,t),!0)}function q(e){let{comment:t,enclosingNode:n,text:r}=e;if((null==n?void 0:n.type)!=="ArrowFunctionExpression")return!1;let i=c(r,t,N);return!1!==i&&"=>"===r.slice(i,i+2)&&(l(n,t),!0)}function W(e){let{comment:t,enclosingNode:n,text:r}=e;return")"===o(r,t,N)&&(n&&(ed(n)&&0===p(n).length||g(n)&&0===b(n).length)?(l(n,t),!0):((null==n?void 0:n.type)==="MethodDefinition"||(null==n?void 0:n.type)==="TSAbstractMethodDefinition")&&0===p(n.value).length&&(l(n.value,t),!0))}function Q(e){let{comment:t,precedingNode:r,enclosingNode:a,followingNode:s,text:l}=e;if((null==r?void 0:r.type)==="FunctionTypeParam"&&(null==a?void 0:a.type)==="FunctionTypeAnnotation"&&(null==s?void 0:s.type)!=="FunctionTypeParam"||((null==r?void 0:r.type)==="Identifier"||(null==r?void 0:r.type)==="AssignmentPattern")&&a&&ed(a)&&")"===o(l,t,N))return u(r,t),!0;if((null==a?void 0:a.type)==="FunctionDeclaration"&&(null==s?void 0:s.type)==="BlockStatement"){let e=(()=>{let e=p(a);if(e.length>0)return i(l,N(n(e)));let t=i(l,N(a.id));return!1!==t&&i(l,t+1)})();if(C(t)>e)return I(s,t),!0}return!1}function H(e){let{comment:t,enclosingNode:n}=e;return(null==n?void 0:n.type)==="LabeledStatement"&&(s(n,t),!0)}function G(e){let{comment:t,enclosingNode:n}=e;return((null==n?void 0:n.type)==="ContinueStatement"||(null==n?void 0:n.type)==="BreakStatement")&&!n.label&&(u(n,t),!0)}function Z(e){let{comment:t,precedingNode:n,enclosingNode:r}=e;return!!v(r)&&!!n&&r.callee===n&&r.arguments.length>0&&(s(r.arguments[0],t),!0)}function X(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:i}=e;return(null==r?void 0:r.type)==="UnionTypeAnnotation"||(null==r?void 0:r.type)==="TSUnionType"?(d(t)&&(i.prettierIgnore=!0,t.unignore=!0),!!n&&(u(n,t),!0)):(((null==i?void 0:i.type)==="UnionTypeAnnotation"||(null==i?void 0:i.type)==="TSUnionType")&&d(t)&&(i.types[0].prettierIgnore=!0,t.unignore=!0),!1)}function ee(e){let{comment:t,enclosingNode:n}=e;return!!D(n)&&(s(n,t),!0)}function et(e){let{comment:t,enclosingNode:n,followingNode:r,ast:i,isLastComment:o}=e;return i&&i.body&&0===i.body.length?(o?l(i,t):s(i,t),!0):(null==n?void 0:n.type)!=="Program"||(null==n?void 0:n.body.length)!==0||_(n.directives)?(null==r?void 0:r.type)==="Program"&&(null==r?void 0:r.body.length)===0&&(null==n?void 0:n.type)==="ModuleExpression"&&(l(r,t),!0):(o?l(n,t):s(n,t),!0)}function en(e){let{comment:t,enclosingNode:n}=e;return((null==n?void 0:n.type)==="ForInStatement"||(null==n?void 0:n.type)==="ForOfStatement")&&(s(n,t),!0)}function er(e){let{comment:t,precedingNode:n,enclosingNode:i,text:o}=e;if((null==i?void 0:i.type)==="ImportSpecifier"||(null==i?void 0:i.type)==="ExportSpecifier")return s(i,t),!0;let a=(null==n?void 0:n.type)==="ImportSpecifier"&&(null==i?void 0:i.type)==="ImportDeclaration",l=(null==n?void 0:n.type)==="ExportSpecifier"&&(null==i?void 0:i.type)==="ExportNamedDeclaration";return!!((a||l)&&r(o,N(t)))&&(u(n,t),!0)}function ei(e){let{comment:t,enclosingNode:n}=e;return(null==n?void 0:n.type)==="AssignmentPattern"&&(s(n,t),!0)}var eo=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),ea=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function es(e){let{comment:t,enclosingNode:n,followingNode:r}=e;return!!(eo.has(null==n?void 0:n.type)&&r&&(ea.has(r.type)||M(t)))&&(s(r,t),!0)}function eu(e){let{comment:t,enclosingNode:n,followingNode:r,text:i}=e;return!r&&((null==n?void 0:n.type)==="TSMethodSignature"||(null==n?void 0:n.type)==="TSDeclareFunction"||(null==n?void 0:n.type)==="TSAbstractMethodDefinition")&&";"===o(i,t,N)&&(u(n,t),!0)}function el(e){let{comment:t,enclosingNode:n,followingNode:r}=e;if(d(t)&&(null==n?void 0:n.type)==="TSMappedType"&&(null==r?void 0:r.type)==="TSTypeParameter"&&r.constraint)return n.prettierIgnore=!0,t.unignore=!0,!0}function ec(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:i}=e;return(null==r?void 0:r.type)==="TSMappedType"&&((null==i?void 0:i.type)==="TSTypeParameter"&&i.name?(s(i.name,t),!0):(null==n?void 0:n.type)==="TSTypeParameter"&&!!n.constraint&&(u(n.constraint,t),!0))}function e_(e){let{comment:t,enclosingNode:n,followingNode:r}=e;return!!n&&"SwitchCase"===n.type&&!n.test&&!!r&&r===n.consequent[0]&&("BlockStatement"===r.type&&S(t)?I(r,t):l(n,t),!0)}function ed(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[el,Q,z,P,F,L,J,en,X,et,er,ei,K,H,G].some(t=>t(e))},handleEndOfLineComment:function(e){return[O,Q,R,er,P,F,L,J,H,Z,ee,et,es,G,e_].some(t=>t(e))},handleRemainingComment:function(e){return[el,P,F,B,W,K,et,q,Y,ec,G,eu].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===p(e.value).length&&!e.value.returnType&&!_(e.value.typeParameters)&&e.value.body)return[...e.decorators||[],e.key,e.value.body]},willPrintOwnComments:function(e){let t=e.getValue(),n=e.getParentNode();return(t&&(f(t)||m(t)||v(n)&&(h(E(t,w.Leading))||h(E(t,w.Trailing))))||n&&("JSXSpreadAttribute"===n.type||"JSXSpreadChild"===n.type||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type||("ClassDeclaration"===n.type||"ClassExpression"===n.type)&&n.superClass===t))&&(!y(e)||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type)}}}}),nb=b({"src/language-js/needs-parens.js"(e,t){T();var n=M(),r=ea(),{getFunctionParameters:i,getLeftSidePathName:o,hasFlowShorthandAnnotationComment:a,hasNakedLeftSide:s,hasNode:u,isBitwiseOperator:l,startsWithNoLookaheadToken:c,shouldFlatten:_,getPrecedence:p,isCallExpression:d,isMemberExpression:f,isObjectProperty:m,isTSTypeExpression:h}=tW();t.exports=function e(t,y){var g,b;let v=t.getParentNode();if(!v)return!1;let x=t.getName(),D=t.getNode();if(y.__isInHtmlInterpolation&&!y.bracketSpacing&&"ObjectExpression"===D.type&&function e(t){let r=t.getValue(),i=t.getParentNode(),o=t.getName();switch(i.type){case"NGPipeExpression":if("number"==typeof o&&i.arguments[o]===r&&i.arguments.length-1===o)return t.callParent(e);break;case"ObjectProperty":if("value"===o)return n(t.getParentNode(1).properties)===i;break;case"BinaryExpression":case"LogicalExpression":if("right"===o)return t.callParent(e);break;case"ConditionalExpression":if("alternate"===o)return t.callParent(e);break;case"UnaryExpression":if(i.prefix)return t.callParent(e)}return!1}(t))return!0;if("BlockStatement"===D.type||"BreakStatement"===D.type||"ClassBody"===D.type||"ClassDeclaration"===D.type||"ClassMethod"===D.type||"ClassProperty"===D.type||"PropertyDefinition"===D.type||"ClassPrivateProperty"===D.type||"ContinueStatement"===D.type||"DebuggerStatement"===D.type||"DeclareClass"===D.type||"DeclareExportAllDeclaration"===D.type||"DeclareExportDeclaration"===D.type||"DeclareFunction"===D.type||"DeclareInterface"===D.type||"DeclareModule"===D.type||"DeclareModuleExports"===D.type||"DeclareVariable"===D.type||"DoWhileStatement"===D.type||"EnumDeclaration"===D.type||"ExportAllDeclaration"===D.type||"ExportDefaultDeclaration"===D.type||"ExportNamedDeclaration"===D.type||"ExpressionStatement"===D.type||"ForInStatement"===D.type||"ForOfStatement"===D.type||"ForStatement"===D.type||"FunctionDeclaration"===D.type||"IfStatement"===D.type||"ImportDeclaration"===D.type||"InterfaceDeclaration"===D.type||"LabeledStatement"===D.type||"MethodDefinition"===D.type||"ReturnStatement"===D.type||"SwitchStatement"===D.type||"ThrowStatement"===D.type||"TryStatement"===D.type||"TSDeclareFunction"===D.type||"TSEnumDeclaration"===D.type||"TSImportEqualsDeclaration"===D.type||"TSInterfaceDeclaration"===D.type||"TSModuleDeclaration"===D.type||"TSNamespaceExportDeclaration"===D.type||"TypeAlias"===D.type||"VariableDeclaration"===D.type||"WhileStatement"===D.type||"WithStatement"===D.type)return!1;if("flow"!==y.parser&&a(t.getValue()))return!0;if("Identifier"===D.type){if(D.extra&&D.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(D.name)||"left"===x&&("async"===D.name&&!v.await||"let"===D.name)&&"ForOfStatement"===v.type)return!0;if("let"===D.name){let e=null===(g=t.findAncestor(e=>"ForOfStatement"===e.type))||void 0===g?void 0:g.left;if(e&&c(e,e=>e===D))return!0}if("object"===x&&"let"===D.name&&"MemberExpression"===v.type&&v.computed&&!v.optional){let e=t.findAncestor(e=>"ExpressionStatement"===e.type||"ForStatement"===e.type||"ForInStatement"===e.type),n=e?"ExpressionStatement"===e.type?e.expression:"ForStatement"===e.type?e.init:e.left:void 0;if(n&&c(n,e=>e===D))return!0}return!1}if("ObjectExpression"===D.type||"FunctionExpression"===D.type||"ClassExpression"===D.type||"DoExpression"===D.type){let e=null===(b=t.findAncestor(e=>"ExpressionStatement"===e.type))||void 0===b?void 0:b.expression;if(e&&c(e,e=>e===D))return!0}switch(v.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if("superClass"===x&&("ArrowFunctionExpression"===D.type||"AssignmentExpression"===D.type||"AwaitExpression"===D.type||"BinaryExpression"===D.type||"ConditionalExpression"===D.type||"LogicalExpression"===D.type||"NewExpression"===D.type||"ObjectExpression"===D.type||"SequenceExpression"===D.type||"TaggedTemplateExpression"===D.type||"UnaryExpression"===D.type||"UpdateExpression"===D.type||"YieldExpression"===D.type||"TSNonNullExpression"===D.type))return!0;break;case"ExportDefaultDeclaration":return function t(n,r){let i=n.getValue(),a=n.getParentNode();return"FunctionExpression"===i.type||"ClassExpression"===i.type?"ExportDefaultDeclaration"===a.type||!e(n,r):!(!s(i)||"ExportDefaultDeclaration"!==a.type&&e(n,r))&&n.call(e=>t(e,r),...o(n,i))}(t,y)||"SequenceExpression"===D.type;case"Decorator":if("expression"===x){if(f(D)&&D.computed)return!0;let e=!1,t=!1,n=D;for(;n;)switch(n.type){case"MemberExpression":t=!0,n=n.object;break;case"CallExpression":if(t||e)return"typescript"!==y.parser;e=!0,n=n.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return"typescript"!==y.parser;default:return!0}return!0}break;case"ArrowFunctionExpression":if("body"===x&&"SequenceExpression"!==D.type&&c(D,e=>"ObjectExpression"===e.type))return!0}switch(D.type){case"UpdateExpression":if("UnaryExpression"===v.type)return D.prefix&&("++"===D.operator&&"+"===v.operator||"--"===D.operator&&"-"===v.operator);case"UnaryExpression":switch(v.type){case"UnaryExpression":return D.operator===v.operator&&("+"===D.operator||"-"===D.operator);case"BindExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===x;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===x;case"BinaryExpression":return"left"===x&&"**"===v.operator;default:return!1}case"BinaryExpression":if("UpdateExpression"===v.type||"in"===D.operator&&function(e){let t=0,n=e.getValue();for(;n;){let r=e.getParentNode(t++);if(r&&"ForStatement"===r.type&&r.init===n)return!0;n=r}return!1}(t))return!0;if("|>"===D.operator&&D.extra&&D.extra.parenthesized){let e=t.getParentNode(1);if("BinaryExpression"===e.type&&"|>"===e.operator)return!0}case"TSTypeAssertion":case"TSAsExpression":case"TSSatisfiesExpression":case"LogicalExpression":switch(v.type){case"TSSatisfiesExpression":case"TSAsExpression":return!h(D);case"ConditionalExpression":return h(D);case"CallExpression":case"NewExpression":case"OptionalCallExpression":return"callee"===x;case"ClassExpression":case"ClassDeclaration":return"superClass"===x;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"===x;case"AssignmentExpression":case"AssignmentPattern":return"left"===x&&("TSTypeAssertion"===D.type||h(D));case"LogicalExpression":if("LogicalExpression"===D.type)return v.operator!==D.operator;case"BinaryExpression":{let{operator:e,type:t}=D;if(!e&&"TSTypeAssertion"!==t)return!0;let n=p(e),r=v.operator,i=p(r);return i>n||"right"===x&&i===n||i===n&&!_(r,e)||(i"===v.operator);default:return!1}case"TSConditionalType":case"TSFunctionType":case"TSConstructorType":if("extendsType"===x&&"TSConditionalType"===v.type){if("TSConditionalType"===D.type)return!0;let{typeAnnotation:e}=D.returnType||D.typeAnnotation;if("TSTypePredicate"===e.type&&e.typeAnnotation&&(e=e.typeAnnotation.typeAnnotation),"TSInferType"===e.type&&e.typeParameter.constraint)return!0}if("checkType"===x&&"TSConditionalType"===v.type)return!0;case"TSUnionType":case"TSIntersectionType":if(("TSUnionType"===v.type||"TSIntersectionType"===v.type)&&v.types.length>1&&(!D.types||D.types.length>1))return!0;case"TSInferType":if("TSInferType"===D.type&&"TSRestType"===v.type)break;case"TSTypeOperator":return"TSArrayType"===v.type||"TSOptionalType"===v.type||"TSRestType"===v.type||"objectType"===x&&"TSIndexedAccessType"===v.type||"TSTypeOperator"===v.type||"TSTypeAnnotation"===v.type&&t.getParentNode(1).type.startsWith("TSJSDoc");case"TSTypeQuery":return"objectType"===x&&"TSIndexedAccessType"===v.type||"elementType"===x&&"TSArrayType"===v.type;case"TypeofTypeAnnotation":return"objectType"===x&&("IndexedAccessType"===v.type||"OptionalIndexedAccessType"===v.type)||"elementType"===x&&"ArrayTypeAnnotation"===v.type;case"ArrayTypeAnnotation":return"NullableTypeAnnotation"===v.type;case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return"ArrayTypeAnnotation"===v.type||"NullableTypeAnnotation"===v.type||"IntersectionTypeAnnotation"===v.type||"UnionTypeAnnotation"===v.type||"objectType"===x&&("IndexedAccessType"===v.type||"OptionalIndexedAccessType"===v.type);case"NullableTypeAnnotation":return"ArrayTypeAnnotation"===v.type||"objectType"===x&&("IndexedAccessType"===v.type||"OptionalIndexedAccessType"===v.type);case"FunctionTypeAnnotation":{let e="NullableTypeAnnotation"===v.type?t.getParentNode(1):v;return"UnionTypeAnnotation"===e.type||"IntersectionTypeAnnotation"===e.type||"ArrayTypeAnnotation"===e.type||"objectType"===x&&("IndexedAccessType"===e.type||"OptionalIndexedAccessType"===e.type)||"NullableTypeAnnotation"===e.type||"FunctionTypeParam"===v.type&&null===v.name&&i(D).some(e=>e.typeAnnotation&&"NullableTypeAnnotation"===e.typeAnnotation.type)}case"OptionalIndexedAccessType":return"objectType"===x&&"IndexedAccessType"===v.type;case"StringLiteral":case"NumericLiteral":case"Literal":if("string"==typeof D.value&&"ExpressionStatement"===v.type&&!v.directive){let e=t.getParentNode(1);return"Program"===e.type||"BlockStatement"===e.type}return"object"===x&&"MemberExpression"===v.type&&"number"==typeof D.value;case"AssignmentExpression":{let e=t.getParentNode(1);return"body"===x&&"ArrowFunctionExpression"===v.type||("key"!==x||"ClassProperty"!==v.type&&"PropertyDefinition"!==v.type||!v.computed)&&("init"!==x&&"update"!==x||"ForStatement"!==v.type)&&("ExpressionStatement"===v.type?"ObjectPattern"===D.left.type:!("key"===x&&"TSPropertySignature"===v.type||"AssignmentExpression"===v.type||"SequenceExpression"===v.type&&e&&"ForStatement"===e.type&&(e.init===v||e.update===v)||"value"===x&&"Property"===v.type&&e&&"ObjectPattern"===e.type&&e.properties.includes(v)||"NGChainedExpression"===v.type))}case"ConditionalExpression":switch(v.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"===x;case"ConditionalExpression":return"test"===x;case"MemberExpression":case"OptionalMemberExpression":return"object"===x;default:return!1}case"FunctionExpression":switch(v.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===x;case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(v.type){case"BinaryExpression":return"|>"!==v.operator||D.extra&&D.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===x;case"MemberExpression":case"OptionalMemberExpression":return"object"===x;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return"test"===x;default:return!1}case"ClassExpression":if(r(D.decorators))return!0;if("NewExpression"===v.type)return"callee"===x;break;case"OptionalMemberExpression":case"OptionalCallExpression":{let e=t.getParentNode(1);if("object"===x&&"MemberExpression"===v.type||"callee"===x&&("CallExpression"===v.type||"NewExpression"===v.type)||"TSNonNullExpression"===v.type&&"MemberExpression"===e.type&&e.object===v)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if("callee"===x&&("BindExpression"===v.type||"NewExpression"===v.type)){let e=D;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}}break;case"BindExpression":return"callee"===x&&("BindExpression"===v.type||"NewExpression"===v.type)||"object"===x&&f(v);case"NGPipeExpression":return!("NGRoot"===v.type||"NGMicrosyntaxExpression"===v.type||"ObjectProperty"===v.type&&!(D.extra&&D.extra.parenthesized)||"ArrayExpression"===v.type||d(v)&&v.arguments[x]===D||"right"===x&&"NGPipeExpression"===v.type||"property"===x&&"MemberExpression"===v.type||"AssignmentExpression"===v.type);case"JSXFragment":case"JSXElement":return"callee"===x||"left"===x&&"BinaryExpression"===v.type&&"<"===v.operator||"ArrayExpression"!==v.type&&"ArrowFunctionExpression"!==v.type&&"AssignmentExpression"!==v.type&&"AssignmentPattern"!==v.type&&"BinaryExpression"!==v.type&&"NewExpression"!==v.type&&"ConditionalExpression"!==v.type&&"ExpressionStatement"!==v.type&&"JsExpressionRoot"!==v.type&&"JSXAttribute"!==v.type&&"JSXElement"!==v.type&&"JSXExpressionContainer"!==v.type&&"JSXFragment"!==v.type&&"LogicalExpression"!==v.type&&!d(v)&&!m(v)&&"ReturnStatement"!==v.type&&"ThrowStatement"!==v.type&&"TypeCastExpression"!==v.type&&"VariableDeclarator"!==v.type&&"YieldExpression"!==v.type;case"TypeAnnotation":return"returnType"===x&&"ArrowFunctionExpression"===v.type&&u(D,e=>"ObjectTypeAnnotation"===e.type&&u(e,e=>"FunctionTypeAnnotation"===e.type||void 0)||void 0)}return!1}}}),nv=b({"src/language-js/print-preprocess.js"(e,t){T(),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}}}}),nx=b({"src/language-js/print/html-binding.js"(e,t){T();var{builders:{join:n,line:r,group:i,softline:o,indent:a}}=$();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,s){let u=e.getValue();if(t.__onHtmlBindingRoot&&null===e.getName()&&t.__onHtmlBindingRoot(u,t),"File"===u.type){if(t.__isVueForBindingLeft)return e.call(e=>{let t=n([",",r],e.map(s,"params")),{params:u}=e.getValue();return 1===u.length?t:["(",a([o,i(t)]),o,")"]},"program","body",0);if(t.__isVueBindings)return e.call(e=>n([",",r],e.map(s,"params")),"program","body",0)}}}}}),nD=b({"src/language-js/print/binaryish.js"(e,t){T();var{printComments:n}=tO(),{getLast:r}=ep(),{builders:{join:i,line:o,softline:a,group:s,indent:u,align:l,indentIfBreak:c},utils:{cleanDoc:_,getDocParts:p,isConcat:d}}=$(),{hasLeadingOwnLineComment:f,isBinaryish:m,isJsxNode:h,shouldFlatten:y,hasComment:g,CommentCheckFlags:b,isCallExpression:v,isMemberExpression:x,isObjectProperty:D,isEnabledHackPipeline:S}=tW(),E=0;function w(e){return"LogicalExpression"===e.type&&!!("ObjectExpression"===e.right.type&&e.right.properties.length>0||"ArrayExpression"===e.right.type&&e.right.elements.length>0||h(e.right))}t.exports={printBinaryishExpression:function(e,t,T){let A=e.getValue(),C=e.getParentNode(),N=e.getParentNode(1),M=A!==C.body&&("IfStatement"===C.type||"WhileStatement"===C.type||"SwitchStatement"===C.type||"DoWhileStatement"===C.type),k=S(t)&&"|>"===A.operator,I=function e(t,r,a,c,h){let v=t.getValue();if(!m(v))return[s(r())];let x=[];y(v.operator,v.left.operator)?x=t.call(t=>e(t,r,a,!0,h),"left"):x.push(s(r("left")));let D=w(v),T=("|>"===v.operator||"NGPipeExpression"===v.type||"|"===v.operator&&"__vue_expression"===a.parser)&&!f(a.originalText,v.right),E="NGPipeExpression"===v.type?"|":v.operator,A="NGPipeExpression"===v.type&&v.arguments.length>0?s(u([o,": ",i([o,": "],t.map(r,"arguments").map(e=>l(2,s(e))))])):"",C;if(D)C=[E," ",r("right"),A];else{let n=S(a)&&"|>"===E?t.call(t=>e(t,r,a,!0,h),"right"):r("right");C=[T?o:"",E,T?" ":o,n,A]}let N=t.getParentNode(),M=g(v.left,b.Trailing|b.Line),k=M||!(h&&"LogicalExpression"===v.type)&&N.type!==v.type&&v.left.type!==v.type&&v.right.type!==v.type;if(x.push(T?"":" ",k?s(C,{shouldBreak:M}):C),c&&g(v)){let e=_(n(t,x,a));return d(e)||"fill"===e.type?p(e):[e]}return x}(e,T,t,!1,M);if(M)return I;if(k)return s(I);if(v(C)&&C.callee===A||"UnaryExpression"===C.type||x(C)&&!C.computed)return s([u([a,...I]),a]);let j="ReturnStatement"===C.type||"ThrowStatement"===C.type||"JSXExpressionContainer"===C.type&&"JSXAttribute"===N.type||"|"!==A.operator&&"JsExpressionRoot"===C.type||"NGPipeExpression"!==A.type&&("NGRoot"===C.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===C.type&&"NGMicrosyntax"===N.type&&1===N.body.length)||A===C.body&&"ArrowFunctionExpression"===C.type||A!==C.body&&"ForStatement"===C.type||"ConditionalExpression"===C.type&&"ReturnStatement"!==N.type&&"ThrowStatement"!==N.type&&!v(N)||"TemplateLiteral"===C.type,O="AssignmentExpression"===C.type||"VariableDeclarator"===C.type||"ClassProperty"===C.type||"PropertyDefinition"===C.type||"TSAbstractPropertyDefinition"===C.type||"ClassPrivateProperty"===C.type||D(C),P=m(A.left)&&y(A.operator,A.left.operator);if(j||w(A)&&!P||!w(A)&&O)return s(I);if(0===I.length)return"";let F=h(A.right),L=I.findIndex(e=>"string"!=typeof e&&!Array.isArray(e)&&"group"===e.type),z=I.slice(0,-1===L?1:L+1),R=I.slice(z.length,F?-1:void 0),B=Symbol("logicalChain-"+ ++E),U=s([...z,u(R)],{id:B});return F?s([U,c(r(I),{groupId:B})]):U},shouldInlineLogicalExpression:w}}}),nS=b({"src/language-js/print/angular.js"(e,t){T();var{builders:{join:n,line:r,group:i}}=$(),{hasNode:o,hasComment:a,getComments:s}=tW(),{printBinaryishExpression:u}=nD();function l(e,t,n){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===n.body[0].type&&null===n.body[0].value}t.exports={printAngular:function(e,t,c){let _=e.getValue();if(_.type.startsWith("NG"))switch(_.type){case"NGRoot":return[c("node"),a(_.node)?" //"+s(_.node)[0].value.trimEnd():""];case"NGPipeExpression":return u(e,t,c);case"NGChainedExpression":return i(n([";",r],e.map(e=>o(e.getValue(),e=>{switch(e.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})?c():["(",c(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[_.prefix,": ",_.value.trim()];case"NGMicrosyntax":return e.map((e,t)=>[0===t?"":l(e.getValue(),t,_)?" ":[";",r],c()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(_.name)?_.name:JSON.stringify(_.name);case"NGMicrosyntaxExpression":return[c("expression"),null===_.alias?"":[" as ",c("alias")]];case"NGMicrosyntaxKeyedExpression":{let t=e.getName(),n=e.getParentNode(),r=l(_,t,n)||(1===t&&("then"===_.key.name||"else"===_.key.name)||2===t&&"else"===_.key.name&&"NGMicrosyntaxKeyedExpression"===n.body[t-1].type&&"then"===n.body[t-1].key.name)&&"NGMicrosyntaxExpression"===n.body[0].type;return[c("key"),r?" ":": ",c("expression")]}case"NGMicrosyntaxLet":return["let ",c("key"),null===_.value?"":[" = ",c("value")]];case"NGMicrosyntaxAs":return[c("key")," as ",c("alias")];default:throw Error(`Unknown Angular node type: ${JSON.stringify(_.type)}.`)}}}}}),nT=b({"src/language-js/print/jsx.js"(e,t){T();var{printComments:n,printDanglingComments:r,printCommentsSeparately:i}=tO(),{builders:{line:o,hardline:a,softline:s,group:u,indent:l,conditionalGroup:c,fill:_,ifBreak:p,lineSuffixBoundary:d,join:f},utils:{willBreak:m}}=$(),{getLast:h,getPreferredQuote:y}=ep(),{isJsxNode:g,rawText:b,isCallExpression:v,isStringLiteral:x,isBinaryish:D,hasComment:S,CommentCheckFlags:E,hasNodeIgnoreComment:w}=tW(),A=nb(),{willPrintOwnComments:C}=ng(),N=e=>""===e||e===o||e===a||e===s;function M(e,t,n,r){return e?"":("JSXElement"!==n.type||n.closingElement)&&(!r||"JSXElement"!==r.type||r.closingElement)?s:1===t.length?s:a}function k(e,t,n,r){return e?a:1===t.length&&("JSXElement"!==n.type||n.closingElement)&&(!r||"JSXElement"!==r.type||r.closingElement)?s:a}var I=` +\r `,j=RegExp("(["+I+"]+)"),O=RegExp("[^"+I+"]"),P=e=>e.replace(RegExp("(?:^"+j.source+"|"+j.source+"$)"),"");function F(e){return"JSXText"===e.type&&(O.test(b(e))||!/\n/.test(b(e)))}t.exports={hasJsxIgnoreComment:function(e){let t=e.getValue(),n=e.getParentNode();if(!n||!t||!g(t)||!g(n))return!1;let r=n.children.indexOf(t),i=null;for(let e=r;e>0;e--){let t=n.children[e-1];if(!("JSXText"===t.type&&!F(t))){i=t;break}}return i&&"JSXExpressionContainer"===i.type&&"JSXEmptyExpression"===i.expression.type&&w(i.expression)},printJsx:function(e,t,T){let w=e.getValue();if(w.type.startsWith("JSX"))switch(w.type){case"JSXAttribute":return function(e,t,n){let r=e.getValue(),o=[];if(o.push(n("name")),r.value){let a;if(x(r.value)){let n=b(r.value).slice(1,-1).replace(/'/g,"'").replace(/"/g,'"'),{escaped:o,quote:s,regex:u}=y(n,t.jsxSingleQuote?"'":'"');n=n.replace(u,o);let{leading:l,trailing:c}=e.call(()=>i(e,t),"value");a=[l,s,n,s,c]}else a=n("value");o.push("=",a)}return o}(e,t,T);case"JSXIdentifier":return String(w.name);case"JSXNamespacedName":return f(":",[T("namespace"),T("name")]);case"JSXMemberExpression":return f(".",[T("object"),T("property")]);case"JSXSpreadAttribute":case"JSXSpreadChild":let I;return I=e.getValue(),["{",e.call(e=>{let r=["...",T()];return S(e.getValue())&&C(e)?[l([s,n(e,r,t)]),s]:r},"JSXSpreadAttribute"===I.type?"argument":"expression"),"}"];case"JSXExpressionContainer":let O,L;return O=e.getValue(),(L=(e,t)=>"JSXEmptyExpression"===e.type||!S(e)&&("ArrayExpression"===e.type||"ObjectExpression"===e.type||"ArrowFunctionExpression"===e.type||"AwaitExpression"===e.type&&(L(e.argument,e)||"JSXElement"===e.argument.type)||v(e)||"FunctionExpression"===e.type||"TemplateLiteral"===e.type||"TaggedTemplateExpression"===e.type||"DoExpression"===e.type||g(t)&&("ConditionalExpression"===e.type||D(e))))(O.expression,e.getParentNode(0))?u(["{",T("expression"),d,"}"]):u(["{",l([s,T("expression")]),s,d,"}"]);case"JSXFragment":case"JSXElement":let z;return z=n(e,function(e,t,n){var r;let i,d=e.getValue();if("JSXElement"===d.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&&!F(t)}(d))return[n("openingElement"),n("closingElement")];let f=n("JSXElement"===d.type?"openingElement":"openingFragment"),y=n("JSXElement"===d.type?"closingElement":"closingFragment");if(1===d.children.length&&"JSXExpressionContainer"===d.children[0].type&&("TemplateLiteral"===d.children[0].expression.type||"TaggedTemplateExpression"===d.children[0].expression.type))return[f,...e.map(n,"children"),y];d.children=d.children.map(e=>"JSXExpressionContainer"===e.type&&x(e.expression)&&" "===e.expression.value&&!S(e.expression)?{type:"JSXText",value:" ",raw:" "}:e);let v=d.children.some(g),D=d.children.filter(e=>"JSXExpressionContainer"===e.type).length>1,T="JSXElement"===d.type&&d.openingElement.attributes.length>1,E=m(f)||v||T||D,w="mdx"===e.getParentNode().rootMarker,A=t.singleQuote?"{' '}":'{" "}',C=w?" ":p([A,s]," "),I=(r=d.openingElement&&d.openingElement.name&&"fbt"===d.openingElement.name.name,i=[],e.each((e,t,s)=>{let u=e.getValue();if("JSXText"===u.type){let e=b(u);if(F(u)){let n,a=e.split(j);if(""===a[0]){if(i.push(""),a.shift(),/\n/.test(a[0])){let e=s[t+1];i.push(k(r,a[1],u,e))}else i.push(C);a.shift()}if(""===h(a)&&(a.pop(),n=a.pop()),0===a.length)return;for(let[e,t]of a.entries())e%2==1?i.push(o):i.push(t);if(void 0!==n){if(/\n/.test(n)){let e=s[t+1];i.push(k(r,h(i),u,e))}else i.push(C)}else{let e=s[t+1];i.push(M(r,h(i),u,e))}}else/\n/.test(e)?e.match(/\n/g).length>1&&i.push("",a):i.push("",C)}else{let e=n();i.push(e);let o=s[t+1];if(o&&F(o)){let e=P(b(o)).split(j)[0];i.push(M(r,e,u,o))}else i.push(a)}},"children"),i),O=d.children.some(e=>F(e));for(let e=I.length-2;e>=0;e--){let t=""===I[e]&&""===I[e+1],n=I[e]===a&&""===I[e+1]&&I[e+2]===a,r=(I[e]===s||I[e]===a)&&""===I[e+1]&&I[e+2]===C,i=I[e]===C&&""===I[e+1]&&(I[e+2]===s||I[e+2]===a),o=I[e]===C&&""===I[e+1]&&I[e+2]===C,u=I[e]===s&&""===I[e+1]&&I[e+2]===a||I[e]===a&&""===I[e+1]&&I[e+2]===s;n&&O||t||r||o||u?I.splice(e,2):i&&I.splice(e+1,2)}for(;I.length>0&&N(h(I));)I.pop();for(;I.length>1&&N(I[0])&&N(I[1]);)I.shift(),I.shift();let L=[];for(let[e,t]of I.entries()){if(t===C){if(1===e&&""===I[e-1]){if(2===I.length){L.push(A);continue}L.push([A,a]);continue}if(e===I.length-1||""===I[e-1]&&I[e-2]===a){L.push(A);continue}}L.push(t),m(t)&&(E=!0)}let z=O?_(L):u(L,{shouldBreak:!0});if(w)return z;let R=u([f,l([a,z]),a,y]);return E?R:c([u([f,...I,y]),R])}(e,t,T),t),function(e,t,n){let r=e.getParentNode();if(!r||({ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0})[r.type])return t;let i=e.match(void 0,e=>"ArrowFunctionExpression"===e.type,v,e=>"JSXExpressionContainer"===e.type),o=A(e,n);return u([o?"":p("("),l([s,t]),s,o?"":p(")")],{shouldBreak:i})}(e,z,t);case"JSXOpeningElement":return function(e,t,n){let r,i=e.getValue(),c=i.name&&S(i.name)||i.typeParameters&&S(i.typeParameters);if(i.selfClosing&&0===i.attributes.length&&!c)return["<",n("name"),n("typeParameters")," />"];if(i.attributes&&1===i.attributes.length&&i.attributes[0].value&&x(i.attributes[0].value)&&!i.attributes[0].value.value.includes(` +`)&&!c&&!S(i.attributes[0]))return u(["<",n("name"),n("typeParameters")," ",...e.map(n,"attributes"),i.selfClosing?" />":">"]);let _=i.attributes&&i.attributes.some(e=>e.value&&x(e.value)&&e.value.value.includes(` +`)),p=t.singleAttributePerLine&&i.attributes.length>1?a:o;return u(["<",n("name"),n("typeParameters"),l(e.map(()=>[p,n()],"attributes")),...i.selfClosing?[o,"/>"]:(r=i.attributes.length>0&&S(h(i.attributes),E.Trailing),0===i.attributes.length&&!c||(t.bracketSameLine||t.jsxBracketSameLine)&&(!c||i.attributes.length>0)&&!r)?[">"]:[s,">"]],{shouldBreak:_})}(e,t,T);case"JSXClosingElement":let R,B,U;return R=e.getValue(),(B=[]).push(""),B;case"JSXOpeningFragment":case"JSXClosingFragment":let J,$,K,V;return $=S(J=e.getValue()),K=S(J,E.Line),[(V="JSXOpeningFragment"===J.type)?"<":""];case"JSXEmptyExpression":let Y;return Y=S(e.getValue(),E.Line),[r(e,t,!Y),Y?a:""];case"JSXText":throw Error("JSXText should be handled by JSXElement");default:throw Error(`Unknown JSX node type: ${JSON.stringify(w.type)}.`)}}}}}),nE=b({"src/language-js/print/misc.js"(e,t){T();var{isNonEmptyArray:n}=ep(),{builders:{indent:r,join:i,line:o}}=$(),{isFlowAnnotationComment:a}=tW();function s(e,t,n){let r=e.getValue();if(!r.typeAnnotation)return"";let i=e.getParentNode(),o="DeclareFunction"===i.type&&i.id===r;return a(t.originalText,r.typeAnnotation)?[" /*: ",n("typeAnnotation")," */"]:[o?"":": ",n("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,n){let r=e.getValue();return r.typeArguments?n("typeArguments"):r.typeParameters?n("typeParameters"):""},printBindExpressionCallee:function(e,t,n){return["::",n("callee")]},printTypeScriptModifiers:function(e,t,r){return n(e.getValue().modifiers)?[i(" ",e.map(r,"modifiers"))," "]:""},printTypeAnnotation:s,printRestSpread:function(e,t,n){return["...",n("argument"),s(e,t,n)]},adjustClause:function(e,t,n){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||n?[" ",t]:r([o,t])},printDirective:function(e,t){let n=e.slice(1,-1);if(n.includes('"')||n.includes("'"))return e;let r=t.singleQuote?"'":'"';return r+n+r}}}}),nw=b({"src/language-js/print/array.js"(e,t){T();var{printDanglingComments:n}=tO(),{builders:{line:r,softline:i,hardline:o,group:a,indent:s,ifBreak:u,fill:l}}=$(),{getLast:c,hasNewline:_}=ep(),{shouldPrintComma:p,hasComment:d,CommentCheckFlags:f,isNextLineEmpty:m,isNumericLiteral:h,isSignedNumericLiteral:y}=tW(),{locStart:g}=tw(),{printOptionalToken:b,printTypeAnnotation:v}=nE();function x(e,t){return e.elements.length>1&&e.elements.every(e=>e&&(h(e)||y(e)&&!d(e.argument))&&!d(e,f.Trailing|f.Line,e=>!_(t.originalText,g(e),{backwards:!0})))}function D(e,t,n,o){let s=[],u=[];return e.each(e=>{s.push(u,a(o())),u=[",",r],e.getValue()&&m(e.getValue(),t)&&u.push(i)},n),s}t.exports={printArray:function(e,t,_){let h=e.getValue(),y=[],g="TupleExpression"===h.type?"#[":"[";if(0===h.elements.length)d(h,f.Dangling)?y.push(a([g,n(e,t),i,"]"])):y.push(g,"]");else{let b,v=c(h.elements),S=!(v&&"RestElement"===v.type),T=Symbol("array"),E=!t.__inJestEach&&h.elements.length>1&&h.elements.every((e,t,n)=>{let r=e&&e.type;if("ArrayExpression"!==r&&"ObjectExpression"!==r)return!1;let i=n[t+1];if(i&&r!==i.type)return!1;let o="ArrayExpression"===r?"elements":"properties";return e[o]&&e[o].length>1}),w=x(h,t),A=S?null===v?",":p(t)?w?u(",","",{groupId:T}):u(","):"":"";y.push(a([g,s([i,w?(b=[],e.each((e,n,i)=>{let a=n===i.length-1;b.push([_(),a?A:","]),a||b.push(m(e.getValue(),t)?[o,o]:d(i[n+1],f.Leading|f.Line)?o:r)},"elements"),l(b)):[D(e,t,"elements",_),A],n(e,t,!0)]),i,"]"],{shouldBreak:E,id:T}))}return y.push(b(e),v(e,t,_)),y},printArrayItems:D,isConciselyPrintedArray:x}}}),nA=b({"src/language-js/print/call-arguments.js"(e,t){T();var{printDanglingComments:n}=tO(),{getLast:r,getPenultimate:i}=ep(),{getFunctionParameters:o,hasComment:a,CommentCheckFlags:s,isFunctionCompositionArgs:u,isJsxNode:l,isLongCurriedCallExpression:c,shouldPrintComma:_,getCallArguments:p,iterateCallArgumentsPath:d,isNextLineEmpty:f,isCallExpression:m,isStringLiteral:h,isObjectProperty:y,isTSTypeExpression:g}=tW(),{builders:{line:b,hardline:v,softline:x,group:D,indent:S,conditionalGroup:E,ifBreak:w,breakParent:A},utils:{willBreak:C}}=$(),{ArgExpansionBailout:N}=ej(),{isConciselyPrintedArray:M}=nw();function k(e){var t;let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"ObjectExpression"===e.type&&(e.properties.length>0||a(e))||"ArrayExpression"===e.type&&(e.elements.length>0||a(e))||"TSTypeAssertion"===e.type&&k(e.expression)||g(e)&&k(e.expression)||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&(!e.returnType||!e.returnType.typeAnnotation||"TSTypeReference"!==e.returnType.typeAnnotation.type||"BlockStatement"===(t=e.body).type&&(t.body.some(e=>"EmptyStatement"!==e.type)||a(t,s.Dangling)))&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type&&k(e.body,!0)||"ObjectExpression"===e.body.type||"ArrayExpression"===e.body.type||!n&&(m(e.body)||"ConditionalExpression"===e.body.type)||l(e.body))||"DoExpression"===e.type||"ModuleExpression"===e.type}t.exports=function(e,t,l){let m,g,T=e.getValue(),I="ImportExpression"===T.type,j=p(T);if(0===j.length)return["(",n(e,t,!0),")"];if(2===j.length&&"ArrowFunctionExpression"===j[0].type&&0===o(j[0]).length&&"BlockStatement"===j[0].body.type&&"ArrayExpression"===j[1].type&&!j.some(e=>a(e)))return["(",l(["arguments",0]),", ",l(["arguments",1]),")"];let O=!1,P=!1,F=j.length-1,L=[];d(e,(e,n)=>{let r=e.getNode(),i=[l()];n===F||(f(r,t)?(0===n&&(P=!0),O=!0,i.push(",",v,v)):i.push(",",b)),L.push(i)});let z=!(I||T.callee&&"Import"===T.callee.type)&&_(t,"all")?",":"";function R(){return D(["(",S([b,...L]),z,b,")"],{shouldBreak:!0})}if(O||"Decorator"!==e.getParentNode().type&&u(j))return R();let B=function(e){var t;if(2!==e.length)return!1;let[n,r]=e;return!!("ModuleExpression"===n.type&&"ObjectExpression"===(t=r).type&&1===t.properties.length&&y(t.properties[0])&&"Identifier"===t.properties[0].key.type&&"type"===t.properties[0].key.name&&h(t.properties[0].value)&&"module"===t.properties[0].value.value)||!a(n)&&("FunctionExpression"===n.type||"ArrowFunctionExpression"===n.type&&"BlockStatement"===n.body.type)&&"FunctionExpression"!==r.type&&"ArrowFunctionExpression"!==r.type&&"ConditionalExpression"!==r.type&&!k(r)}(j),U=(m=r(j),g=i(j),!a(m,s.Leading)&&!a(m,s.Trailing)&&k(m)&&(!g||g.type!==m.type)&&(2!==j.length||"ArrowFunctionExpression"!==g.type||"ArrayExpression"!==m.type)&&!(j.length>1&&"ArrayExpression"===m.type&&M(m,t)));if(B||U){if(B?L.slice(1).some(C):L.slice(0,-1).some(C))return R();let t=[];try{e.try(()=>{d(e,(e,n)=>{B&&0===n&&(t=[[l([],{expandFirstArg:!0}),L.length>1?",":"",P?v:b,P?v:""],...L.slice(1)]),U&&n===F&&(t=[...L.slice(0,-1),l([],{expandLastArg:!0})])})})}catch(e){if(e instanceof N)return R();throw e}return[L.some(C)?A:"",E([["(",...t,")"],B?["(",D(t[0],{shouldBreak:!0}),...t.slice(1),")"]:["(",...L.slice(0,-1),D(r(t),{shouldBreak:!0}),")"],R()])]}let J=["(",S([x,...L]),w(z),x,")"];return c(e)?J:D(J,{shouldBreak:L.some(C)||O})}}}),nC=b({"src/language-js/print/member.js"(e,t){T();var{builders:{softline:n,group:r,indent:i,label:o}}=$(),{isNumericLiteral:a,isMemberExpression:s,isCallExpression:u}=tW(),{printOptionalToken:l}=nE();function c(e,t,o){let s=o("property"),u=e.getValue(),c=l(e);return u.computed?!u.property||a(u.property)?[c,"[",s,"]"]:r([c,"[",i([n,s]),n,"]"]):[c,".",s]}t.exports={printMemberExpression:function(e,t,a){let l=e.getValue(),_=e.getParentNode(),p,d=0;do p=e.getParentNode(d),d++;while(p&&(s(p)||"TSNonNullExpression"===p.type))let f=a("object"),m=c(e,t,a),h=p&&("NewExpression"===p.type||"BindExpression"===p.type||"AssignmentExpression"===p.type&&"Identifier"!==p.left.type)||l.computed||"Identifier"===l.object.type&&"Identifier"===l.property.type&&!s(_)||("AssignmentExpression"===_.type||"VariableDeclarator"===_.type)&&(u(l.object)&&l.object.arguments.length>0||"TSNonNullExpression"===l.object.type&&u(l.object.expression)&&l.object.expression.arguments.length>0||"member-chain"===f.label);return o("member-chain"===f.label?"member-chain":"member",[f,h?m:r(i([n,m]))])},printMemberLookup:c}}}),nN=b({"src/language-js/print/member-chain.js"(e,t){T();var{printComments:n}=tO(),{getLast:r,isNextLineEmptyAfterIndex:i,getNextNonSpaceNonCommentCharacterIndex:o}=ep(),a=nb(),{isCallExpression:s,isMemberExpression:u,isFunctionOrArrowExpression:l,isLongCurriedCallExpression:c,isMemberish:_,isNumericLiteral:p,isSimpleCallArgument:d,hasComment:f,CommentCheckFlags:m,isNextLineEmpty:h}=tW(),{locEnd:y}=tw(),{builders:{join:g,hardline:b,group:v,indent:x,conditionalGroup:D,breakParent:S,label:E},utils:{willBreak:w}}=$(),A=nA(),{printMemberLookup:C}=nC(),{printOptionalToken:N,printFunctionTypeParameters:M,printBindExpressionCallee:k}=nE();t.exports=function(e,t,T){var I;let j,O,P=e.getParentNode(),F=!P||"ExpressionStatement"===P.type,L=[];function z(e){let{originalText:n}=t,r=o(n,e,y);return")"===n.charAt(r)?!1!==r&&i(n,r+1):h(e,t)}let R=e.getValue();L.unshift({node:R,printed:[N(e),M(e,t,T),A(e,t,T)]}),R.callee&&e.call(e=>(function e(r){let i=r.getValue();s(i)&&(_(i.callee)||s(i.callee))?(L.unshift({node:i,printed:[n(r,[N(r),M(r,t,T),A(r,t,T)],t),z(i)?b:""]}),r.call(t=>e(t),"callee")):_(i)?(L.unshift({node:i,needsParens:a(r,t),printed:n(r,u(i)?C(r,t,T):k(r,t,T),t)}),r.call(t=>e(t),"object")):"TSNonNullExpression"===i.type?(L.unshift({node:i,printed:n(r,"!",t)}),r.call(t=>e(t),"expression")):L.unshift({node:i,printed:T()})})(e),"callee");let B=[],U=[L[0]],J=1;for(;J0&&B.push(U);let V=B.length>=2&&!f(B[1][0].node)&&function(e){let n=e[1].length>0&&e[1][0].node.computed;if(1===e[0].length){let r=e[0][0].node;return"ThisExpression"===r.type||"Identifier"===r.type&&(K(r.name)||F&&r.name.length<=t.tabWidth||n)}let i=r(e[0]).node;return u(i)&&"Identifier"===i.property.type&&(K(i.property.name)||n)}(B);function Y(e){let t=e.map(e=>e.printed);return e.length>0&&r(e).needsParens?["(",...t,")"]:t}let q=B.map(Y),W=V?3:2,Q=B.flat(),H=Q.slice(1,-1).some(e=>f(e.node,m.Leading))||Q.slice(0,-1).some(e=>f(e.node,m.Trailing))||B[W]&&f(B[W][0].node,m.Leading);if(B.length<=W&&!H)return c(e)?q:v(q);let G=r(B[V?1:0]).node,Z=!s(G)&&z(G),X=[Y(B[0]),V?B.slice(1,2).map(Y):"",Z?b:"",0===(I=B.slice(V?2:1)).length?"":x(v([b,g(b,I.map(Y))]))],ee=L.map(e=>{let{node:t}=e;return t}).filter(s);return E("member-chain",H||ee.length>2&&ee.some(e=>!e.arguments.every(e=>d(e,0)))||q.slice(0,-1).some(w)||(j=r(r(B)).node,O=r(q),s(j)&&w(O)&&ee.slice(0,-1).some(e=>e.arguments.some(l)))?v(X):[w(q)||Z?S:"",D([q,X])])}}}),nM=b({"src/language-js/print/call-expression.js"(e,t){T();var{builders:{join:n,group:r}}=$(),i=nb(),{getCallArguments:o,hasFlowAnnotationComment:a,isCallExpression:s,isMemberish:u,isStringLiteral:l,isTemplateOnItsOwnLine:c,isTestCall:_,iterateCallArgumentsPath:p}=tW(),d=nN(),f=nA(),{printOptionalToken:m,printFunctionTypeParameters:h}=nE();t.exports={printCallExpression:function(e,t,y){let g=e.getValue(),b=e.getParentNode(),v="NewExpression"===g.type,x="ImportExpression"===g.type,D=m(e),S=o(g);if(S.length>0&&(!x&&!v&&function(e,t){if("Identifier"!==e.callee.type)return!1;if("require"===e.callee.name)return!0;if("define"===e.callee.name){let n=o(e);return"ExpressionStatement"===t.type&&(1===n.length||2===n.length&&"ArrayExpression"===n[0].type||3===n.length&&l(n[0])&&"ArrayExpression"===n[1].type)}return!1}(g,b)||1===S.length&&c(S[0],t.originalText)||!v&&_(g,b))){let r=[];return p(e,()=>{r.push(y())}),[v?"new ":"",y("callee"),D,h(e,t,y),"(",n(", ",r),")"]}let T=("babel"===t.parser||"babel-flow"===t.parser)&&g.callee&&"Identifier"===g.callee.type&&a(g.callee.trailingComments);if(T&&(g.callee.trailingComments[0].printed=!0),!x&&!v&&u(g.callee)&&!e.call(e=>i(e,t),"callee"))return d(e,t,y);let E=[v?"new ":"",x?"import":y("callee"),D,T?`/*:: ${g.callee.trailingComments[0].value.slice(2).trim()} */`:"",h(e,t,y),f(e,t,y)];return x||s(g.callee)?r(E):E}}}}),nk=b({"src/language-js/print/assignment.js"(e,t){T();var{isNonEmptyArray:n,getStringWidth:r}=ep(),{builders:{line:i,group:o,indent:a,indentIfBreak:s,lineSuffixBoundary:u},utils:{cleanDoc:l,willBreak:c,canBreak:_}}=$(),{hasLeadingOwnLineComment:p,isBinaryish:d,isStringLiteral:f,isLiteral:m,isNumericLiteral:h,isCallExpression:y,isMemberExpression:g,getCallArguments:b,rawText:v,hasComment:x,isSignedNumericLiteral:D,isObjectProperty:S}=tW(),{shouldInlineLogicalExpression:E}=nD(),{printCallExpression:w}=nM();function A(e,t,T,A,I,j){let O=function(e,t,i,o,a){var s;let u=e.getValue(),T=u[a];if(!T)return"only-left";let A=!C(T);if(e.match(C,N,e=>!A||"ExpressionStatement"!==e.type&&"VariableDeclaration"!==e.type))return A?"ArrowFunctionExpression"===T.type&&"ArrowFunctionExpression"===T.body.type?"chain-tail-arrow-chain":"chain-tail":"chain";if(!A&&C(T.right)||p(t.originalText,T))return"break-after-operator";if("CallExpression"===T.type&&"require"===T.callee.name||"json5"===t.parser||"json"===t.parser)return"never-break-after-operator";if(function(e){if(N(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}(u)||function(e){let t=("TSTypeAliasDeclaration"===e.type||"TypeAlias"===e.type)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null;if(n(t)){let n="TSTypeAliasDeclaration"===e.type?"constraint":"bound";if(t.length>1&&t.some(e=>e[n]||e.default))return!0}return!1}(u)||function(e){if("VariableDeclarator"!==e.type)return!1;let{typeAnnotation:t}=e.id;if(!t||!t.typeAnnotation)return!1;let r=k(t.typeAnnotation);return n(r)&&r.length>1&&r.some(e=>n(k(e))||"TSConditionalType"===e.type)}(u)||M(u)&&_(o))return"break-lhs";let I=(s=o,!!S(u)&&"string"==typeof(s=l(s))&&r(s)(function(e,t,r,i){let o=e.getValue();if(d(o)&&!E(o))return!0;switch(o.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:e}=o;return d(e)&&!E(e)}case"ClassExpression":return n(o.decorators)}if(i)return!1;let a=o,s=[];for(;;)if("UnaryExpression"===a.type)a=a.argument,s.push("argument");else if("TSNonNullExpression"===a.type)a=a.expression,s.push("expression");else break;return!!(f(a)||e.call(()=>(function e(t,r,i){let o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=t.getValue(),s=()=>e(t,r,i,!0);if("TSNonNullExpression"===a.type)return t.call(s,"expression");if(y(a)){if("member-chain"===w(t,r,i).label)return!1;let e=b(a);return!(!(0===e.length||1===e.length&&function(e,t){let{printWidth:n}=t;if(x(e))return!1;let r=.25*n;if("ThisExpression"===e.type||"Identifier"===e.type&&e.name.length<=r||D(e)&&!x(e.argument))return!0;let i="Literal"===e.type&&"regex"in e&&e.regex.pattern||"RegExpLiteral"===e.type&&e.pattern;return i?i.length<=r:f(e)?v(e).length<=r:"TemplateLiteral"===e.type?0===e.expressions.length&&e.quasis[0].value.raw.length<=r&&!e.quasis[0].value.raw.includes(` +`):m(e)}(e[0],r))||function(e,t){let r=e.typeParameters&&e.typeParameters.params||e.typeArguments&&e.typeArguments.params;if(n(r)){if(r.length>1)return!0;if(1===r.length){let e=r[0];if("TSUnionType"===e.type||"UnionTypeAnnotation"===e.type||"TSIntersectionType"===e.type||"IntersectionTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"ObjectTypeAnnotation"===e.type)return!0}if(c(t(e.typeParameters?"typeParameters":"typeArguments")))return!0}return!1}(a,i))&&t.call(s,"callee")}return g(a)?t.call(s,"object"):o&&("Identifier"===a.type||"ThisExpression"===a.type)})(e,t,r),...s))})(e,t,i,I),a)?"break-after-operator":I||"TemplateLiteral"===T.type||"TaggedTemplateExpression"===T.type||"BooleanLiteral"===T.type||h(T)||"ClassExpression"===T.type?"never-break-after-operator":"fluid"}(e,t,T,A,j),P=T(j,{assignmentLayout:O});switch(O){case"break-after-operator":return o([o(A),I,o(a([i,P]))]);case"never-break-after-operator":return o([o(A),I," ",P]);case"fluid":{let e=Symbol("assignment");return o([o(A),I,o(a(i),{id:e}),u,s(P,{groupId:e})])}case"break-lhs":return o([A,I," ",o(P)]);case"chain":return[o(A),I,i,P];case"chain-tail":return[o(A),I,a([i,P])];case"chain-tail-arrow-chain":return[o(A),I,P];case"only-left":return A}}function C(e){return"AssignmentExpression"===e.type}function N(e){return C(e)||"VariableDeclarator"===e.type}function M(e){return"VariableDeclarator"===e.type&&e.init&&"ArrowFunctionExpression"===e.init.type}function k(e){return("TSTypeReference"===e.type||"GenericTypeAnnotation"===e.type)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null}t.exports={printVariableDeclarator:function(e,t,n){return A(e,t,n,n("id")," =","init")},printAssignmentExpression:function(e,t,n){let r=e.getValue();return A(e,t,n,n("left"),[" ",r.operator],"right")},printAssignment:A,isArrowFunctionVariableDeclarator:M}}}),nI=b({"src/language-js/print/function-parameters.js"(e,t){T();var{getNextNonSpaceNonCommentCharacter:n}=ep(),{printDanglingComments:r}=tO(),{builders:{line:i,hardline:o,softline:a,group:s,indent:u,ifBreak:l},utils:{removeLines:c,willBreak:_}}=$(),{getFunctionParameters:p,iterateFunctionParametersPath:d,isSimpleType:f,isTestCall:m,isTypeAnnotationAFunction:h,isObjectType:y,isObjectTypePropertyAFunction:g,hasRestParameter:b,shouldPrintComma:v,hasComment:x,isNextLineEmpty:D}=tW(),{locEnd:S}=tw(),{ArgExpansionBailout:E}=ej(),{printFunctionTypeParameters:w}=nE();function A(e){if(!e)return!1;let t=p(e);if(1!==t.length)return!1;let[n]=t;return!x(n)&&("ObjectPattern"===n.type||"ArrayPattern"===n.type||"Identifier"===n.type&&n.typeAnnotation&&("TypeAnnotation"===n.typeAnnotation.type||"TSTypeAnnotation"===n.typeAnnotation.type)&&y(n.typeAnnotation.typeAnnotation)||"FunctionTypeParam"===n.type&&y(n.typeAnnotation)||"AssignmentPattern"===n.type&&("ObjectPattern"===n.left.type||"ArrayPattern"===n.left.type)&&("Identifier"===n.right.type||"ObjectExpression"===n.right.type&&0===n.right.properties.length||"ArrayExpression"===n.right.type&&0===n.right.elements.length))}t.exports={printFunctionParameters:function(e,t,y,x,T){let C=e.getValue(),N=p(C),M=T?w(e,y,t):"";if(0===N.length)return[M,"(",r(e,y,!0,e=>")"===n(y.originalText,e,S)),")"];let k=e.getParentNode(),I=m(k),j=A(C),O=[];if(d(e,(e,n)=>{let r=n===N.length-1;r&&C.rest&&O.push("..."),O.push(t()),r||(O.push(","),I||j?O.push(" "):D(N[n],y)?O.push(o,o):O.push(i))}),x){if(_(M)||_(O))throw new E;return s([c(M),"(",c(O),")"])}let P=N.every(e=>!e.decorators);return j&&P?[M,"(",...O,")"]:I?[M,"(",...O,")"]:(g(k)||h(k)||"TypeAlias"===k.type||"UnionTypeAnnotation"===k.type||"TSUnionType"===k.type||"IntersectionTypeAnnotation"===k.type||"FunctionTypeAnnotation"===k.type&&k.returnType===C)&&1===N.length&&null===N[0].name&&C.this!==N[0]&&N[0].typeAnnotation&&null===C.typeParameters&&f(N[0].typeAnnotation)&&!C.rest?"always"===y.arrowParens?["(",...O,")"]:O:[M,"(",u([a,...O]),l(!b(C)&&v(y,"all")?",":""),a,")"]},shouldHugFunctionParameters:A,shouldGroupFunctionParameters:function(e,t){let n;let r=(e.returnType?(n=e.returnType).typeAnnotation&&(n=n.typeAnnotation):e.typeAnnotation&&(n=e.typeAnnotation),n);if(!r)return!1;let i=e.typeParameters&&e.typeParameters.params;if(i){if(i.length>1)return!1;if(1===i.length){let e=i[0];if(e.constraint||e.default)return!1}}return 1===p(e).length&&(y(r)||_(t))}}}}),nj=b({"src/language-js/print/type-annotation.js"(e,t){T();var{printComments:n,printDanglingComments:r}=tO(),{isNonEmptyArray:i}=ep(),{builders:{group:o,join:a,line:s,softline:u,indent:l,align:c,ifBreak:_}}=$(),p=nb(),{locStart:d}=tw(),{isSimpleType:f,isObjectType:m,hasLeadingOwnLineComment:h,isObjectTypePropertyAFunction:y,shouldPrintComma:g}=tW(),{printAssignment:b}=nk(),{printFunctionParameters:v,shouldGroupFunctionParameters:x}=nI(),{printArrayItems:D}=nw();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,n=e.types.some(e=>"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"GenericTypeAnnotation"===e.type||"TSTypeReference"===e.type);if(e.types.length-1===t&&n)return!0}return!1}t.exports={printOpaqueType:function(e,t,n){let r=t.semi?";":"",i=e.getValue(),o=[];return o.push("opaque type ",n("id"),n("typeParameters")),i.supertype&&o.push(": ",n("supertype")),i.impltype&&o.push(" = ",n("impltype")),o.push(r),o},printTypeAlias:function(e,t,n){let r=t.semi?";":"",i=e.getValue(),o=[];return i.declare&&o.push("declare "),o.push("type ",n("id"),n("typeParameters")),[b(e,t,n,o," =","TSTypeAliasDeclaration"===i.type?"typeAnnotation":"right"),r]},printIntersectionType:function(e,t,n){let r=e.getValue(),i=e.map(n,"types"),a=[],u=!1;for(let e=0;e1&&(u=!0),a.push(" & ",e>1?l(i[e]):i[e])):a.push(l([" &",s,i[e]]));return o(a)},printUnionType:function(e,t,r){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)&&h(t.originalText,i)),m=S(i),y=e.map(e=>{let i=r();return m||(i=c(2,i)),n(e,i,t)},"types");if(m)return a(" | ",y);let g=[_([f&&!h(t.originalText,i)?s:"","| "]),a([s,"| "],y)];return p(e,t)?o([l(g),u]):"TupleTypeAnnotation"===d.type&&d.types.length>1||"TSTupleType"===d.type&&d.elementTypes.length>1?o([l([_(["(",u]),g]),u,_(")")]):o(f?l(g):g)},printFunctionType:function(e,t,n){let r=e.getValue(),i=[],a=e.getParentNode(0),s=e.getParentNode(1),u=e.getParentNode(2),l="TSFunctionType"===r.type||!(("ObjectTypeProperty"===a.type||"ObjectTypeInternalSlot"===a.type)&&!a.variance&&!a.optional&&d(a)===d(r)||"ObjectTypeCallProperty"===a.type||u&&"DeclareFunction"===u.type),c=l&&("TypeAnnotation"===a.type||"TSTypeAnnotation"===a.type),_=c&&l&&("TypeAnnotation"===a.type||"TSTypeAnnotation"===a.type)&&"ArrowFunctionExpression"===s.type;y(a)&&(l=!0,c=!0),_&&i.push("(");let p=v(e,n,t,!1,!0),f=r.returnType||r.predicate||r.typeAnnotation?[l?" => ":": ",n("returnType"),n("predicate"),n("typeAnnotation")]:"",m=x(r,f);return i.push(m?o(p):p),f&&i.push(f),_&&i.push(")"),o(i)},printTupleType:function(e,t,n){let a=e.getValue(),s="TSTupleType"===a.type?"elementTypes":"types",c=i(a[s]),p=c?u:"";return o(["[",l([p,D(e,t,s,n)]),_(c&&g(t,"all")?",":""),r(e,t,!0),p,"]"])},printIndexedAccessType:function(e,t,n){let r=e.getValue(),i="OptionalIndexedAccessType"===r.type&&r.optional?"?.[":"[";return[n("objectType"),i,n("indexType"),"]"]},shouldHugType:S,printJSDocType:function(e,t,n){let r=e.getValue();return[r.postfix?"":n,t("typeAnnotation"),r.postfix?n:""]}}}}),nO=b({"src/language-js/print/type-parameters.js"(e,t){T();var{printDanglingComments:n}=tO(),{builders:{join:r,line:i,hardline:o,softline:a,group:s,indent:u,ifBreak:l}}=$(),{isTestCall:c,hasComment:_,CommentCheckFlags:p,isTSXFile:d,shouldPrintComma:f,getFunctionParameters:m,isObjectType:h,getTypeScriptMappedTypeModifier:y}=tW(),{createGroupIdMapper:g}=ep(),{shouldHugType:b}=nj(),{isArrowFunctionVariableDeclarator:v}=nk(),x=g("typeParameters");t.exports={printTypeParameter:function(e,t,n){let r=e.getValue(),i=["TSTypeParameter"===r.type&&r.const?"const ":""],o=e.getParentNode();return"TSMappedType"===o.type?(o.readonly&&i.push(y(o.readonly,"readonly")," "),i.push("[",n("name")),r.constraint&&i.push(" in ",n("constraint")),o.nameType&&i.push(" as ",e.callParent(()=>n("nameType"))),i.push("]")):(r.variance&&i.push(n("variance")),r.in&&i.push("in "),r.out&&i.push("out "),i.push(n("name")),r.bound&&i.push(": ",n("bound")),r.constraint&&i.push(" extends ",n("constraint")),r.default&&i.push(" = ",n("default"))),i},printTypeParameters:function(e,t,y,g){let D=e.getValue();if(!D[g])return"";if(!Array.isArray(D[g]))return y(g);let S=e.getNode(2),T=S&&c(S),E=e.match(e=>!(1===e[g].length&&h(e[g][0])),void 0,(e,t)=>"typeAnnotation"===t,e=>"Identifier"===e.type,v);if(0===D[g].length||!E&&(T||1===D[g].length&&("NullableTypeAnnotation"===D[g][0].type||b(D[g][0]))))return["<",r(", ",e.map(y,g)),function(e,t){let r=e.getValue();if(!_(r,p.Dangling))return"";let i=!_(r,p.Line),a=n(e,t,i);return i?a:[a,o]}(e,t),">"];let w="TSTypeParameterInstantiation"===D.type?"":1===m(D).length&&d(t)&&!D[g][0].constraint&&"ArrowFunctionExpression"===e.getParentNode().type?",":f(t,"all")?l(","):"";return s(["<",u([a,r([",",i],e.map(y,g))]),w,a,">"],{id:x(D)})},getTypeParametersGroupId:x}}}),nP=b({"src/language-js/print/property.js"(e,t){T();var{printComments:n}=tO(),{printString:r,printNumber:i}=ep(),{isNumericLiteral:o,isSimpleNumber:a,isStringLiteral:s,isStringPropSafeToUnquote:u,rawText:l}=tW(),{printAssignment:c}=nk(),_=new WeakMap;function p(e,t,c){let p=e.getNode();if(p.computed)return["[",c("key"),"]"];let d=e.getParentNode(),{key:f}=p;if("consistent"===t.quoteProps&&!_.has(d)){let e=(d.properties||d.body||d.members).some(e=>!e.computed&&e.key&&s(e.key)&&!u(e,t));_.set(d,e)}if(("Identifier"===f.type||o(f)&&a(i(l(f)))&&String(f.value)===i(l(f))&&!("typescript"===t.parser||"babel-ts"===t.parser))&&("json"===t.parser||"consistent"===t.quoteProps&&_.get(d))){let i=r(JSON.stringify("Identifier"===f.type?f.name:f.value.toString()),t);return e.call(e=>n(e,i,t),"key")}return u(p,t)&&("as-needed"===t.quoteProps||"consistent"===t.quoteProps&&!_.get(d))?e.call(e=>n(e,/^\d/.test(f.value)?i(f.value):f.value,t),"key"):c("key")}t.exports={printProperty:function(e,t,n){return e.getValue().shorthand?n("value"):c(e,t,n,p(e,t,n),":","value")},printPropertyKey:p}}}),nF=b({"src/language-js/print/function.js"(e,t){T();var n=tj(),{printDanglingComments:r,printCommentsSeparately:i}=tO(),o=M(),{getNextNonSpaceNonCommentCharacterIndex:a}=ep(),{builders:{line:s,softline:u,group:l,indent:c,ifBreak:_,hardline:p,join:d,indentIfBreak:f},utils:{removeLines:m,willBreak:h}}=$(),{ArgExpansionBailout:y}=ej(),{getFunctionParameters:g,hasLeadingOwnLineComment:b,isFlowAnnotationComment:v,isJsxNode:x,isTemplateOnItsOwnLine:D,shouldPrintComma:S,startsWithNoLookaheadToken:E,isBinaryish:w,isLineComment:A,hasComment:C,getComments:N,CommentCheckFlags:k,isCallLikeExpression:I,isCallExpression:j,getCallArguments:O,hasNakedLeftSide:P,getLeftSide:F}=tW(),{locEnd:L}=tw(),{printFunctionParameters:z,shouldGroupFunctionParameters:R}=nI(),{printPropertyKey:B}=nP(),{printFunctionTypeParameters:U}=nE();function J(e,t,n){let r=e.getNode(),i=z(e,n,t),o=V(e,n,t),a=R(r,o),s=[U(e,t,n),l([a?l(i):i,o])];return r.body?s.push(" ",n("body")):s.push(t.semi?";":""),s}function K(e,t){if("always"===t.arrowParens)return!1;if("avoid"===t.arrowParens){var n;let t;return 1===(t=g(n=e.getValue())).length&&!n.typeParameters&&!C(n,k.Dangling)&&"Identifier"===t[0].type&&!t[0].typeAnnotation&&!C(t[0])&&!t[0].optional&&!n.predicate&&!n.returnType}return!1}function V(e,t,n){let r=e.getValue(),i=t("returnType");if(r.returnType&&v(n.originalText,r.returnType))return[" /*: ",i," */"];let o=[i];return r.returnType&&r.returnType.typeAnnotation&&o.unshift(": "),r.predicate&&o.push(r.returnType?" ":": ",t("predicate")),o}function Y(e,t,n){let i=e.getValue(),a=t.semi?";":"",s=[];i.argument&&(function(e,t){if(b(e.originalText,t))return!0;if(P(t)){let n=t,r;for(;r=F(n);)if(n=r,b(e.originalText,n))return!0}return!1}(t,i.argument)?s.push([" (",c([p,n("argument")]),p,")"]):w(i.argument)||"SequenceExpression"===i.argument.type?s.push(l([_(" ("," "),c([u,n("argument")]),u,_(")")])):s.push(" ",n("argument")));let d=o(N(i)),f=d&&A(d);return f&&s.push(a),C(i,k.Dangling)&&s.push(" ",r(e,t,!0)),f||s.push(a),s}t.exports={printFunction:function(e,t,n,r){let i=e.getValue(),o=!1;if(("FunctionDeclaration"===i.type||"FunctionExpression"===i.type)&&r&&r.expandLastArg){let t=e.getParentNode();j(t)&&O(t).length>1&&(o=!0)}let a=[];"TSDeclareFunction"===i.type&&i.declare&&a.push("declare "),i.async&&a.push("async "),i.generator?a.push("function* "):a.push("function "),i.id&&a.push(t("id"));let s=z(e,t,n,o),u=V(e,t,n),c=R(i,u);return a.push(U(e,n,t),l([c?l(s):s,u]),i.body?" ":"",t("body")),n.semi&&(i.declare||!i.body)&&a.push(";"),a},printArrowFunction:function(e,t,n,o){let p=e.getValue(),v=[],T=[],w=!1;if(function s(){let u=function(e,t,n,i){let o=e.getValue(),s=[];if(o.async&&s.push("async "),K(e,t))s.push(n(["params",0]));else{let r=i&&(i.expandLastArg||i.expandFirstArg),o=V(e,n,t);if(r){if(h(o))throw new y;o=l(m(o))}s.push(l([z(e,n,t,r,!0),o]))}let u=r(e,t,!0,e=>{let n=a(t.originalText,e,L);return!1!==n&&"=>"===t.originalText.slice(n,n+2)});return u&&s.push(" ",u),s}(e,t,n,o);if(0===v.length)v.push(u);else{let{leading:n,trailing:r}=i(e,t);v.push([n,u]),T.unshift(r)}w=w||p.returnType&&g(p).length>0||p.typeParameters||g(p).some(e=>"Identifier"!==e.type),"ArrowFunctionExpression"!==p.body.type||o&&o.expandLastArg?T.unshift(n("body",o)):(p=p.body,e.call(s,"body"))}(),v.length>1){var A,N,M;let t,n,r,i,a,m;return A=w,N=T,M=p,t=e.getName(),n=I(e.getParentNode())&&"callee"===t,r=!!(o&&o.assignmentLayout),i="BlockStatement"!==M.body.type&&"ObjectExpression"!==M.body.type&&"SequenceExpression"!==M.body.type,a=n&&i||o&&"chain-tail-arrow-chain"===o.assignmentLayout,m=Symbol("arrow-chain"),"SequenceExpression"===M.body.type&&(N=l(["(",c([u,N]),u,")"])),l([l(c([n||r?u:"",l(d([" =>",s],v),{shouldBreak:A})]),{id:m,shouldBreak:a})," =>",f(i?c([s,N]):[" ",N],{groupId:m}),n?_(u,"",{groupId:m}):""])}if(v.push(" =>"),!b(t.originalText,p.body)&&("ArrayExpression"===p.body.type||"ObjectExpression"===p.body.type||"BlockStatement"===p.body.type||x(p.body)||D(p.body,t.originalText)||"ArrowFunctionExpression"===p.body.type||"DoExpression"===p.body.type))return l([...v," ",T]);if("SequenceExpression"===p.body.type)return l([...v,l([" (",c([u,T]),u,")"])]);let k=(o&&o.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!C(p),j=o&&o.expandLastArg&&S(t,"all"),O="ConditionalExpression"===p.body.type&&!E(p.body,e=>"ObjectExpression"===e.type);return l([...v,l([c([s,O?_("","("):"",T,O?_("",")"):""]),k?[_(j?",":""),u]:""])])},printMethod:function(e,t,r){let i=e.getNode(),{kind:o}=i,a=i.value||i,s=[];return o&&"init"!==o&&"method"!==o&&"constructor"!==o?(n.ok("get"===o||"set"===o),s.push(o," ")):a.async&&s.push("async "),a.generator&&s.push("*"),s.push(B(e,t,r),i.optional||i.key.optional?"?":""),i===a?s.push(J(e,t,r)):"FunctionExpression"===a.type?s.push(e.call(e=>J(e,t,r),"value")):s.push(r("value")),s},printReturnStatement:function(e,t,n){return["return",Y(e,t,n)]},printThrowStatement:function(e,t,n){return["throw",Y(e,t,n)]},printMethodInternal:J,shouldPrintParamsWithoutParens:K}}}),nL=b({"src/language-js/print/decorators.js"(e,t){T();var{isNonEmptyArray:n,hasNewline:r}=ep(),{builders:{line:i,hardline:o,join:a,breakParent:s,group:u}}=$(),{locStart:l,locEnd:c}=tw(),{getParentExportDeclaration:_}=tW();function p(e,t){return e.decorators.some(e=>r(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 n(t)&&l(e)===l(t[0])}t.exports={printDecorators:function(e,t,r){let u=e.getValue(),{decorators:l}=u;if(!n(l)||d(e.getParentNode()))return;let c="ClassExpression"===u.type||"ClassDeclaration"===u.type||p(u,t);return[_(e)?o:c?s:"",a(i,e.map(r,"decorators")),i]},printClassMemberDecorators:function(e,t,n){let r=e.getValue();return u([a(i,e.map(n,"decorators")),p(r,t)?o:i])},printDecoratorsBeforeExport:function(e,t,n){return[a(o,e.map(n,"declaration","decorators")),o]},hasDecoratorsBeforeExport:d}}}),nz=b({"src/language-js/print/class.js"(e,t){T();var{isNonEmptyArray:n,createGroupIdMapper:r}=ep(),{printComments:i,printDanglingComments:o}=tO(),{builders:{join:a,line:s,hardline:u,softline:l,group:c,indent:_,ifBreak:p}}=$(),{hasComment:d,CommentCheckFlags:f}=tW(),{getTypeParametersGroupId:m}=nO(),{printMethod:h}=nF(),{printOptionalToken:y,printTypeAnnotation:g,printDefiniteToken:b}=nE(),{printPropertyKey:v}=nP(),{printAssignment:x}=nk(),{printClassMemberDecorators:D}=nL(),S=r("heritageGroup");function E(e){return e.typeParameters&&!d(e.typeParameters,f.Trailing|f.Line)&&!(["superClass","extends","mixins","implements"].filter(t=>!!e[t]).length>1)}function w(e,t,r,i){let l=e.getValue();if(!n(l[i]))return"";let d=o(e,t,!0,e=>{let{marker:t}=e;return t===i});return[E(l)?p(" ",s,{groupId:m(l.typeParameters)}):s,d,d&&u,i,c(_([s,a([",",s],e.map(r,i))]))]}t.exports={printClass:function(e,t,r){let o=e.getValue(),a=[];o.declare&&a.push("declare "),o.abstract&&a.push("abstract "),a.push("class");let u=o.id&&d(o.id,f.Trailing)||o.typeParameters&&d(o.typeParameters,f.Trailing)||o.superClass&&d(o.superClass)||n(o.extends)||n(o.mixins)||n(o.implements),m=[],h=[];if(o.id&&m.push(" ",r("id")),m.push(r("typeParameters")),o.superClass){let n;let o=[(n=r("superClass"),"AssignmentExpression"===e.getParentNode().type?c(p(["(",_([l,n]),l,")"],n)):n),r("superTypeParameters")],a=e.call(e=>["extends ",i(e,o,t)],"superClass");u?h.push(s,c(a)):h.push(" ",a)}else h.push(w(e,t,r,"extends"));if(h.push(w(e,t,r,"mixins"),w(e,t,r,"implements")),u){let e;e=E(o)?[...m,_(h)]:_([...m,h]),a.push(c(e,{id:S(o)}))}else a.push(...m,...h);return a.push(" ",r("body")),a},printClassMethod:function(e,t,r){let i=e.getValue(),o=[];return n(i.decorators)&&o.push(D(e,t,r)),i.accessibility&&o.push(i.accessibility+" "),i.readonly&&o.push("readonly "),i.declare&&o.push("declare "),i.static&&o.push("static "),("TSAbstractMethodDefinition"===i.type||i.abstract)&&o.push("abstract "),i.override&&o.push("override "),o.push(h(e,t,r)),o},printClassProperty:function(e,t,r){let i=e.getValue(),o=[],a=t.semi?";":"";return n(i.decorators)&&o.push(D(e,t,r)),i.accessibility&&o.push(i.accessibility+" "),i.declare&&o.push("declare "),i.static&&o.push("static "),("TSAbstractPropertyDefinition"===i.type||"TSAbstractAccessorProperty"===i.type||i.abstract)&&o.push("abstract "),i.override&&o.push("override "),i.readonly&&o.push("readonly "),i.variance&&o.push(r("variance")),("ClassAccessorProperty"===i.type||"AccessorProperty"===i.type||"TSAbstractAccessorProperty"===i.type)&&o.push("accessor "),o.push(v(e,t,r),y(e),b(e),g(e,t,r)),[x(e,t,r,o," =","value"),a]},printHardlineAfterHeritage:function(e){return p(u,"",{groupId:S(e)})}}}}),nR=b({"src/language-js/print/interface.js"(e,t){T();var{isNonEmptyArray:n}=ep(),{builders:{join:r,line:i,group:o,indent:a,ifBreak:s}}=$(),{hasComment:u,identity:l,CommentCheckFlags:c}=tW(),{getTypeParametersGroupId:_}=nO(),{printTypeScriptModifiers:p}=nE();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 ":"",p(e,t,d)),m.push("interface");let h=[],y=[];"InterfaceTypeAnnotation"!==f.type&&h.push(" ",d("id"),d("typeParameters"));let g=f.typeParameters&&!u(f.typeParameters,c.Trailing|c.Line);return n(f.extends)&&y.push(g?s(" ",i,{groupId:_(f.typeParameters)}):i,"extends ",(1===f.extends.length?l:a)(r([",",i],e.map(d,"extends")))),f.id&&u(f.id,c.Trailing)||n(f.extends)?g?m.push(o([...h,a(y)])):m.push(o(a([...h,...y]))):m.push(...h,...y),m.push(" ",d("body")),o(m)}}}}),nB=b({"src/language-js/print/module.js"(e,t){T();var{isNonEmptyArray:n}=ep(),{builders:{softline:r,group:i,indent:o,join:a,line:s,ifBreak:u,hardline:l}}=$(),{printDanglingComments:c}=tO(),{hasComment:_,CommentCheckFlags:p,shouldPrintComma:d,needsHardlineAfterDanglingComment:f,isStringLiteral:m,rawText:h}=tW(),{locStart:y,hasSameLoc:g}=tw(),{hasDecoratorsBeforeExport:b,printDecoratorsBeforeExport:v}=nL();function x(e,t,n){let r=e.getValue();if(!r.source)return"";let i=[];return S(r,t)||i.push(" from"),i.push(" ",n("source")),i}function D(e,t,l){let c=e.getValue();if(S(c,t))return"";let p=[" "];if(n(c.specifiers)){let n=[],f=[];e.each(()=>{let t=e.getValue().type;if("ExportNamespaceSpecifier"===t||"ExportDefaultSpecifier"===t||"ImportNamespaceSpecifier"===t||"ImportDefaultSpecifier"===t)n.push(l());else if("ExportSpecifier"===t||"ImportSpecifier"===t)f.push(l());else throw Error(`Unknown specifier type ${JSON.stringify(t)}`)},"specifiers"),p.push(a(", ",n)),f.length>0&&(n.length>0&&p.push(", "),f.length>1||n.length>0||c.specifiers.some(e=>_(e))?p.push(i(["{",o([t.bracketSpacing?s:r,a([",",s],f)]),u(d(t)?",":""),t.bracketSpacing?s:r,"}"])):p.push(["{",t.bracketSpacing?" ":"",...f,t.bracketSpacing?" ":"","}"]))}else p.push("{}");return p}function S(e,t){let{type:r,importKind:i,source:o,specifiers:a}=e;return!("ImportDeclaration"!==r||n(a))&&"type"!==i&&!/{\s*}/.test(t.originalText.slice(y(e),y(o)))}function E(e,t,r){return n(e.getNode().assertions)?[" assert {",t.bracketSpacing?" ":"",a(", ",e.map(r,"assertions")),t.bracketSpacing?" ":"","}"]:""}t.exports={printImportDeclaration:function(e,t,n){let r=e.getValue(),i=t.semi?";":"",o=[],{importKind:a}=r;return o.push("import"),a&&"value"!==a&&o.push(" ",a),o.push(D(e,t,n),x(e,t,n),E(e,t,n),i),o},printExportDeclaration:function(e,t,n){let r=e.getValue(),i=[];b(r)&&i.push(v(e,t,n));let{type:o,exportKind:a,declaration:s}=r;return i.push("export"),(r.default||"ExportDefaultDeclaration"===o)&&i.push(" default"),_(r,p.Dangling)&&(i.push(" ",c(e,t,!0)),f(r)&&i.push(l)),s?i.push(" ",n("declaration")):i.push("type"===a?" type":"",D(e,t,n),x(e,t,n),E(e,t,n)),function(e,t){if(!t.semi)return!1;let{type:n,declaration:r}=e,i=e.default||"ExportDefaultDeclaration"===n;if(!r)return!0;let{type:o}=r;return!!(i&&"ClassDeclaration"!==o&&"FunctionDeclaration"!==o&&"TSInterfaceDeclaration"!==o&&"DeclareClass"!==o&&"DeclareFunction"!==o&&"TSDeclareFunction"!==o&&"EnumDeclaration"!==o)}(r,t)&&i.push(";"),i},printExportAllDeclaration:function(e,t,n){let r=e.getValue(),i=t.semi?";":"",o=[],{exportKind:a,exported:s}=r;return o.push("export"),"type"===a&&o.push(" type"),o.push(" *"),s&&o.push(" as ",n("exported")),o.push(x(e,t,n),E(e,t,n),i),o},printModuleSpecifier:function(e,t,n){let r=e.getNode(),{type:i}=r,o=[],a="ImportSpecifier"===i?r.importKind:r.exportKind;a&&"value"!==a&&o.push(a," ");let s=i.startsWith("Import"),u=s?"imported":"local",l=s?"local":"exported",c=r[u],_=r[l],p="",d="";return"ExportNamespaceSpecifier"===i||"ImportNamespaceSpecifier"===i?p="*":c&&(p=n(u)),_&&!function(e){if("ImportSpecifier"!==e.type&&"ExportSpecifier"!==e.type)return!1;let{local:t,["ImportSpecifier"===e.type?"imported":"exported"]:n}=e;return!!(t.type===n.type&&g(t,n))&&(m(t)?t.value===n.value&&h(t)===h(n):"Identifier"===t.type&&t.name===n.name)}(r)&&(d=n(l)),o.push(p,p&&d?" as ":"",d),o}}}}),nU=b({"src/language-js/print/object.js"(e,t){T();var{printDanglingComments:n}=tO(),{builders:{line:r,softline:i,group:o,indent:a,ifBreak:s,hardline:u}}=$(),{getLast:l,hasNewlineInRange:c,hasNewline:_,isNonEmptyArray:p}=ep(),{shouldPrintComma:d,hasComment:f,getComments:m,CommentCheckFlags:h,isNextLineEmpty:y}=tW(),{locStart:g,locEnd:b}=tw(),{printOptionalToken:v,printTypeAnnotation:x}=nE(),{shouldHugFunctionParameters:D}=nI(),{shouldHugType:S}=nj(),{printHardlineAfterHeritage:E}=nz();t.exports={printObject:function(e,t,T){let w=t.semi?";":"",A=e.getValue(),C;C="TSTypeLiteral"===A.type?"members":"TSInterfaceBody"===A.type?"body":"properties";let N="ObjectTypeAnnotation"===A.type,M=[C];N&&M.push("indexers","callProperties","internalSlots");let k=M.map(e=>A[e][0]).sort((e,t)=>g(e)-g(t))[0],I=e.getParentNode(0),j=N&&I&&("InterfaceDeclaration"===I.type||"DeclareInterface"===I.type||"DeclareClass"===I.type)&&"body"===e.getName(),O="TSInterfaceBody"===A.type||j||"ObjectPattern"===A.type&&"FunctionDeclaration"!==I.type&&"FunctionExpression"!==I.type&&"ArrowFunctionExpression"!==I.type&&"ObjectMethod"!==I.type&&"ClassMethod"!==I.type&&"ClassPrivateMethod"!==I.type&&"AssignmentPattern"!==I.type&&"CatchClause"!==I.type&&A.properties.some(e=>e.value&&("ObjectPattern"===e.value.type||"ArrayPattern"===e.value.type))||"ObjectPattern"!==A.type&&k&&c(t.originalText,g(A),g(k)),P=j?";":"TSInterfaceBody"===A.type||"TSTypeLiteral"===A.type?s(w,";"):",",F="RecordExpression"===A.type?"#{":A.exact?"{|":"{",L=A.exact?"|}":"}",z=[];for(let t of M)e.each(e=>{let t=e.getValue();z.push({node:t,printed:T(),loc:g(t)})},t);M.length>1&&z.sort((e,t)=>e.loc-t.loc);let R=[],B=z.map(e=>{let n=[...R,o(e.printed)];return R=[P,r],("TSPropertySignature"===e.node.type||"TSMethodSignature"===e.node.type||"TSConstructSignatureDeclaration"===e.node.type)&&f(e.node,h.PrettierIgnore)&&R.shift(),y(e.node,t)&&R.push(u),n});if(A.inexact){let i;if(f(A,h.Dangling)){let o=f(A,h.Line);i=[n(e,t,!0),o||_(t.originalText,b(l(m(A))))?u:r,"..."]}else i=["..."];B.push([...R,...i])}let U=l(A[C]),J=!(A.inexact||U&&"RestElement"===U.type||U&&("TSPropertySignature"===U.type||"TSCallSignatureDeclaration"===U.type||"TSMethodSignature"===U.type||"TSConstructSignatureDeclaration"===U.type)&&f(U,h.PrettierIgnore)),$;if(0===B.length){if(!f(A,h.Dangling))return[F,L,x(e,t,T)];$=o([F,n(e,t),i,L,v(e),x(e,t,T)])}else $=[j&&p(A.properties)?E(I):"",F,a([t.bracketSpacing?r:i,...B]),s(J&&(","!==P||d(t))?P:""),t.bracketSpacing?r:i,L,v(e),x(e,t,T)];return e.match(e=>"ObjectPattern"===e.type&&!e.decorators,(e,t,n)=>D(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===n)||e.match(S,(e,t)=>"typeAnnotation"===t,(e,t)=>"typeAnnotation"===t,(e,t,n)=>D(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===n)||!O&&e.match(e=>"ObjectPattern"===e.type,e=>"AssignmentExpression"===e.type||"VariableDeclarator"===e.type)?$:o($,{shouldBreak:O})}}}}),nJ=b({"src/language-js/print/flow.js"(e,t){T();var n=tj(),{printDanglingComments:r}=tO(),{printString:i,printNumber:o}=ep(),{builders:{hardline:a,softline:s,group:u,indent:l}}=$(),{getParentExportDeclaration:c,isFunctionNotation:_,isGetterOrSetter:p,rawText:d,shouldPrintComma:f}=tW(),{locStart:m,locEnd:h}=tw(),{replaceTextEndOfLine:y}=B(),{printClass:g}=nz(),{printOpaqueType:b,printTypeAlias:v,printIntersectionType:x,printUnionType:D,printFunctionType:S,printTupleType:E,printIndexedAccessType:w}=nj(),{printInterface:A}=nR(),{printTypeParameter:C,printTypeParameters:N}=nO(),{printExportDeclaration:M,printExportAllDeclaration:k}=nB(),{printArrayItems:I}=nw(),{printObject:j}=nU(),{printPropertyKey:O}=nP(),{printOptionalToken:P,printTypeAnnotation:F,printRestSpread:L}=nE();function z(e,t){let r=c(e);return r?(n.strictEqual(r.type,"DeclareExportDeclaration"),t):["declare ",t]}t.exports={printFlow:function(e,t,c){let T=e.getValue(),R=t.semi?";":"",B=[];switch(T.type){case"DeclareClass":return z(e,g(e,t,c));case"DeclareFunction":return z(e,["function ",c("id"),T.predicate?" ":"",c("predicate"),R]);case"DeclareModule":return z(e,["module ",c("id")," ",c("body")]);case"DeclareModuleExports":return z(e,["module.exports",": ",c("typeAnnotation"),R]);case"DeclareVariable":return z(e,["var ",c("id"),R]);case"DeclareOpaqueType":return z(e,b(e,t,c));case"DeclareInterface":return z(e,A(e,t,c));case"DeclareTypeAlias":return z(e,v(e,t,c));case"DeclareExportDeclaration":return z(e,M(e,t,c));case"DeclareExportAllDeclaration":return z(e,k(e,t,c));case"OpaqueType":return b(e,t,c);case"TypeAlias":return v(e,t,c);case"IntersectionTypeAnnotation":return x(e,t,c);case"UnionTypeAnnotation":return D(e,t,c);case"FunctionTypeAnnotation":return S(e,t,c);case"TupleTypeAnnotation":return E(e,t,c);case"GenericTypeAnnotation":return[c("id"),N(e,t,c,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return w(e,t,c);case"TypeAnnotation":return c("typeAnnotation");case"TypeParameter":return C(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(T.value);case"EnumDeclaration":return["enum ",c("id")," ",c("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if("EnumSymbolBody"===T.type||T.explicitType){let e=null;switch(T.type){case"EnumBooleanBody":e="boolean";break;case"EnumNumberBody":e="number";break;case"EnumStringBody":e="string";break;case"EnumSymbolBody":e="symbol"}B.push("of ",e," ")}if(0!==T.members.length||T.hasUnknownMembers){let n=T.members.length>0?[a,I(e,t,"members",c),T.hasUnknownMembers||f(t)?",":""]:[];B.push(u(["{",l([...n,...T.hasUnknownMembers?[a,"..."]:[]]),r(e,t,!0),a,"}"]))}else B.push(u(["{",r(e,t),s,"}"]));return B;case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[c("id")," = ","object"==typeof T.init?c("init"):String(T.init)];case"EnumDefaultedMember":return c("id");case"FunctionTypeParam":{let t=T.name?c("name"):e.getParentNode().this===T?"this":"";return[t,P(e),t?": ":"",c("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return A(e,t,c);case"ClassImplements":case"InterfaceExtends":return[c("id"),c("typeParameters")];case"NullableTypeAnnotation":return["?",c("typeAnnotation")];case"Variance":{let{kind:e}=T;return n.ok("plus"===e||"minus"===e),"plus"===e?"+":"-"}case"ObjectTypeCallProperty":return T.static&&B.push("static "),B.push(c("value")),B;case"ObjectTypeIndexer":return[T.static?"static ":"",T.variance?c("variance"):"","[",c("id"),T.id?": ":"",c("key"),"]: ",c("value")];case"ObjectTypeProperty":{let n="";return T.proto?n="proto ":T.static&&(n="static "),[n,p(T)?T.kind+" ":"",T.variance?c("variance"):"",O(e,t,c),P(e),_(T)?"":": ",c("value")]}case"ObjectTypeAnnotation":return j(e,t,c);case"ObjectTypeInternalSlot":return[T.static?"static ":"","[[",c("id"),"]]",P(e),T.method?"":": ",c("value")];case"ObjectTypeSpreadProperty":return L(e,t,c);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[c("qualification"),".",c("id")];case"StringLiteralTypeAnnotation":return y(i(d(T),t));case"NumberLiteralTypeAnnotation":n.strictEqual(typeof T.value,"number");case"BigIntLiteralTypeAnnotation":return T.extra?o(T.extra.raw):o(T.raw);case"TypeCastExpression":return["(",c("expression"),F(e,t,c),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let n=N(e,t,c,"params");if("flow"===t.parser){let e=m(T),r=h(T),i=t.originalText.lastIndexOf("/*",e),o=t.originalText.indexOf("*/",r);if(-1!==i&&-1!==o){let e=t.originalText.slice(i+2,o).trim();if(e.startsWith("::")&&!e.includes("/*")&&!e.includes("*/"))return["/*:: ",n," */"]}}return n}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 Error("unprintable type: "+JSON.stringify(T.type))}}}}}),n$=b({"src/language-js/utils/is-ts-keyword-type.js"(e,t){T(),t.exports=function(e){let{type:t}=e;return t.startsWith("TS")&&t.endsWith("Keyword")}}}),nK=b({"src/language-js/print/ternary.js"(e,t){T();var{hasNewlineInRange:n}=ep(),{isJsxNode:r,getComments:i,isCallExpression:o,isMemberExpression:a,isTSTypeExpression:s}=tW(),{locStart:u,locEnd:l}=tw(),c=tY(),{builders:{line:_,softline:p,group:d,indent:f,align:m,ifBreak:h,dedent:y,breakParent:g}}=$(),b=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);t.exports={printTernary:function(e,t,v){var x;let D,S,T,E,w=e.getValue(),A="ConditionalExpression"===w.type,C=A?"consequent":"trueType",N=A?"alternate":"falseType",M=A?["test"]:["checkType","extendsType"],k=w[C],I=w[N],j=[],O=!1,P=e.getParentNode(),F=P.type===w.type&&M.some(e=>P[e]===w),L=P.type===w.type&&!F,z,R,B=0;do R=z||w,z=e.getParentNode(B),B++;while(z&&z.type===w.type&&M.every(e=>z[e]!==R))let U=z||P;if(A&&(r(w[M[0]])||r(k)||r(I)||function(e){let t=[e];for(let e=0;e[h("("),f([p,e]),p,h(")")],t=e=>"NullLiteral"===e.type||"Literal"===e.type&&null===e.value||"Identifier"===e.type&&"undefined"===e.name;j.push(" ? ",t(k)?v(C):e(v(C))," : ",I.type===w.type||t(I)?v(N):e(v(N)))}else{let e=[_,"? ",k.type===w.type?h("","("):"",m(2,v(C)),k.type===w.type?h("",")"):"",_,": ",I.type===w.type?v(N):m(2,v(N))];j.push(P.type!==w.type||P[N]===w||F?e:t.useTabs?y(f(e)):m(Math.max(0,t.tabWidth-2),e))}let J=[...M.map(e=>i(w[e])),i(k),i(I)].flat().some(e=>c(e)&&n(t.originalText,u(e),l(e))),$=!O&&(a(P)||"NGPipeExpression"===P.type&&P.left===w)&&!P.computed,K=function(e){let t=e.getValue();if("ConditionalExpression"!==t.type)return!1;let n,r=t;for(let t=0;!n;t++){let i=e.getParentNode(t);if(o(i)&&i.callee===r||a(i)&&i.object===r||"TSNonNullExpression"===i.type&&i.expression===r){r=i;continue}"NewExpression"===i.type&&i.callee===r||s(i)&&i.expression===r?(n=e.getParentNode(t+1),r=i):n=i}return r!==t&&n[b.get(n.type)]===r}(e),V=(x=[(S="ConditionalExpression"===(D=e.getValue()).type,T=e.getParentNode(),E=S?v("test"):[v("checkType")," ","extends"," ",v("extendsType")],T.type===D.type&&T[S?"alternate":"falseType"]===D?m(2,E):E),L?j:f(j),A&&$&&!K?p:""],P===U?d(x,{shouldBreak:J}):J?[x,g]:x);return F||K?d([f([p,V]),p]):V}}}}),nV=b({"src/language-js/print/statement.js"(e,t){T();var{builders:{hardline:n}}=$(),r=nb(),{getLeftSidePathName:i,hasNakedLeftSide:o,isJsxNode:a,isTheOnlyJsxElementInMarkdown:s,hasComment:u,CommentCheckFlags:l,isNextLineEmpty:c}=tW(),{shouldPrintParamsWithoutParens:_}=nF();function p(e,t,p,f){let m=e.getValue(),h=[],y="ClassBody"===m.type,g=function(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if("EmptyStatement"!==n.type)return n}}(m[f]);return e.each((e,f,m)=>{let b=e.getValue();if("EmptyStatement"===b.type)return;let v=p();!t.semi&&!y&&!s(t,e)&&"ExpressionStatement"===e.getNode().type&&e.call(e=>(function e(t,n){let s=t.getValue();switch(s.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":if(!_(t,n))return!0;break;case"UnaryExpression":{let{prefix:e,operator:t}=s;if(e&&("+"===t||"-"===t))return!0;break}case"BindExpression":if(!s.object)return!0;break;case"Literal":if(s.regex)return!0;break;default:if(a(s))return!0}return!!r(t,n)||!!o(s)&&t.call(t=>e(t,n),...i(t,s))})(e,t),"expression")?u(b,l.Leading)?h.push(p([],{needsSemi:!0})):h.push(";",v):h.push(v),!t.semi&&y&&d(b)&&function(e,t){let{type:n,name:r}=e.key;if(!e.computed&&"Identifier"===n&&("static"===r||"get"===r||"set"===r||"accessor"===r)&&!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(d(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}(b,m[f+1])&&h.push(";"),b!==g&&(h.push(n),c(b,t)&&h.push(n))},f),h}var d=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,n){return p(e,t,n,"body")},printSwitchCaseConsequent:function(e,t,n){return p(e,t,n,"consequent")}}}}),nY=b({"src/language-js/print/block.js"(e,t){T();var{printDanglingComments:n}=tO(),{isNonEmptyArray:r}=ep(),{builders:{hardline:i,indent:o}}=$(),{hasComment:a,CommentCheckFlags:s,isNextLineEmpty:u}=tW(),{printHardlineAfterHeritage:l}=nz(),{printBody:c}=nV();function _(e,t,o){let l=e.getValue(),_=r(l.directives),p=l.body.some(e=>"EmptyStatement"!==e.type),d=a(l,s.Dangling);if(!_&&!p&&!d)return"";let f=[];if(_&&e.each((e,n,r)=>{f.push(o()),(n"]),n=[_("("),l([s,T("expression")]),s,_(")")];return e?c([[t,T("expression")],[t,u(n,{shouldBreak:!0})],[t,T("expression")]]):u([t,T("expression")])}case"TSDeclareFunction":return O(e,T,t);case"TSExportAssignment":return["export = ",T("expression"),Y];case"TSModuleBlock":return L(e,t,T);case"TSInterfaceBody":case"TSTypeLiteral":return C(e,t,T);case"TSTypeAliasDeclaration":return z(e,t,T);case"TSQualifiedName":return i(".",[T("left"),T("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return M(e,t,T);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return N(e,t,T);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return q.push(T("expression")),$.typeParameters&&q.push(T("typeParameters")),q;case"TSTemplateLiteralType":return w(e,T,t);case"TSNamedTupleMember":return[T("label"),$.optional?"?":"",": ",T("elementType")];case"TSRestType":return["...",T("typeAnnotation")];case"TSOptionalType":return[T("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return F(e,t,T);case"TSClassImplements":case"TSInstantiationExpression":return[T("expression"),T("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return I(e,t,T,"params");case"TSTypeParameter":return k(e,t,T);case"TSSatisfiesExpression":case"TSAsExpression":{let t="TSAsExpression"===$.type?"as":"satisfies";q.push(T("expression"),` ${t} `,T("typeAnnotation"));let n=e.getParentNode();return m(n)&&n.callee===$||h(n)&&n.object===$?u([l([s,...q]),s]):q}case"TSArrayType":return[T("elementType"),"[]"];case"TSPropertySignature":return $.readonly&&q.push("readonly "),q.push(j(e,t,T),v(e)),$.typeAnnotation&&q.push(": ",T("typeAnnotation")),$.initializer&&q.push(" = ",T("initializer")),q;case"TSParameterProperty":return $.accessibility&&q.push($.accessibility+" "),$.export&&q.push("export "),$.static&&q.push("static "),$.override&&q.push("override "),$.readonly&&q.push("readonly "),q.push(T("parameter")),q;case"TSTypeQuery":return["typeof ",T("exprName"),T("typeParameters")];case"TSIndexSignature":{let n=e.getParentNode(),r=$.parameters.length>1?_(f(t)?",":""):"",o=u([l([s,i([", ",s],e.map(T,"parameters"))]),r,s]);return[$.export?"export ":"",$.accessibility?[$.accessibility," "]:"",$.static?"static ":"",$.readonly?"readonly ":"",$.declare?"declare ":"","[",$.parameters?o:"",$.typeAnnotation?"]: ":"]",$.typeAnnotation?T("typeAnnotation"):"","ClassBody"===n.type?Y:""]}case"TSTypePredicate":return[$.asserts?"asserts ":"",T("parameterName"),$.typeAnnotation?[" is ",T("typeAnnotation")]:""];case"TSNonNullExpression":return[T("expression"),"!"];case"TSImportType":return[$.isTypeOf?"typeof ":"","import(",T($.parameter?"parameter":"argument"),")",$.qualifier?[".",T("qualifier")]:"",I(e,t,T,"typeParameters")];case"TSLiteralType":return T("literal");case"TSIndexedAccessType":return K(e,t,T);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if("TSConstructorType"===$.type&&$.abstract&&q.push("abstract "),"TSCallSignatureDeclaration"!==$.type&&q.push("new "),q.push(u(S(e,T,t,!1,!0))),$.returnType||$.typeAnnotation){let e="TSConstructorType"===$.type;q.push(e?" => ":": ",T("returnType"),T("typeAnnotation"))}return q;case"TSTypeOperator":return[$.operator," ",T("typeAnnotation")];case"TSMappedType":{let i=r(t.originalText,g($),b($));return u(["{",l([t.bracketSpacing?o:s,T("typeParameter"),$.optional?d($.optional,"?"):"",$.typeAnnotation?": ":"",T("typeAnnotation"),_(Y)]),n(e,t,!0),t.bracketSpacing?o:s,"}"],{shouldBreak:i})}case"TSMethodSignature":{let n=$.kind&&"method"!==$.kind?`${$.kind} `:"";q.push($.accessibility?[$.accessibility," "]:"",n,$.export?"export ":"",$.static?"static ":"",$.readonly?"readonly ":"",$.abstract?"abstract ":"",$.declare?"declare ":"",$.computed?"[":"",T("key"),$.computed?"]":"",v(e));let r=S(e,T,t,!1,!0),i=$.returnType?"returnType":"typeAnnotation",o=$[i],a=o?T(i):"",s=E($,a);return q.push(s?u(r):r),o&&q.push(": ",u(a)),u(q)}case"TSNamespaceExportDeclaration":return q.push("export as namespace ",T("id")),t.semi&&q.push(";"),u(q);case"TSEnumDeclaration":return $.declare&&q.push("declare "),$.modifiers&&q.push(x(e,t,T)),$.const&&q.push("const "),q.push("enum ",T("id")," "),0===$.members.length?q.push(u(["{",n(e,t),s,"}"])):q.push(u(["{",l([a,A(e,t,"members",T),f(t,"es5")?",":""]),n(e,t,!0),a,"}"])),q;case"TSEnumMember":return $.computed?q.push("[",T("id"),"]"):q.push(T("id")),$.initializer&&q.push(" = ",T("initializer")),q;case"TSImportEqualsDeclaration":return $.isExport&&q.push("export "),q.push("import "),$.importKind&&"value"!==$.importKind&&q.push($.importKind," "),q.push(T("id")," = ",T("moduleReference")),t.semi&&q.push(";"),u(q);case"TSExternalModuleReference":return["require(",T("expression"),")"];case"TSModuleDeclaration":{let n=e.getParentNode(),r=p($.id),i="TSModuleDeclaration"===n.type,o=$.body&&"TSModuleDeclaration"===$.body.type;if(i)q.push(".");else{$.declare&&q.push("declare "),q.push(x(e,t,T));let n=t.originalText.slice(g($),g($.id));("Identifier"!==$.id.type||"global"!==$.id.name||/namespace|module/.test(n))&&q.push(r||/(?:^|\s)module(?:\s|$)/.test(n)?"module ":"namespace ")}return q.push(T("id")),o?q.push(T("body")):$.body?q.push(" ",u(T("body"))):q.push(Y),q}case"TSConditionalType":return D(e,t,T);case"TSInferType":return["infer"," ",T("typeParameter")];case"TSIntersectionType":return R(e,t,T);case"TSUnionType":return B(e,t,T);case"TSFunctionType":return U(e,t,T);case"TSTupleType":return J(e,t,T);case"TSTypeReference":return[T("typeName"),I(e,t,T,"typeParameters")];case"TSTypeAnnotation":return T("typeAnnotation");case"TSEmptyBodyFunctionExpression":return P(e,t,T);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return V(e,T,"?");case"TSJSDocNonNullableType":return V(e,T,"!");default:throw Error(`Unknown TypeScript node type: ${JSON.stringify($.type)}.`)}}}}}),nW=b({"src/language-js/print/comment.js"(e,t){T();var{hasNewline:n}=ep(),{builders:{join:r,hardline:i},utils:{replaceTextEndOfLine:o}}=$(),{isLineComment:a}=tW(),{locStart:s,locEnd:u}=tw(),l=tY();t.exports={printComment:function(e,t){let c=e.getValue();if(a(c))return t.originalText.slice(s(c),u(c)).trimEnd();if(l(c)){let e;if((e=`*${c.value}*`.split(` +`)).length>1&&e.every(e=>"*"===e.trim()[0])){let e;let o=["/*",r(i,(e=c.value.split(` +`)).map((t,n)=>0===n?t.trimEnd():" "+(ntypeof r)return r}let m=[];switch(d.type){case"JsExpressionRoot":return _("node");case"JsonRoot":return[_("node"),a];case"File":return d.program&&d.program.interpreter&&m.push(_(["program","interpreter"])),m.push(_("program")),m;case"Program":return eg(e,t,_);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[_("expression"),j(d.expression)?";":""]}let r=n(e,t,!0,e=>{let{marker:t}=e;return t===C});return[_("expression"),v(t,e)?"":f,r?[" ",r]:""]}case"ParenthesizedExpression":return g(d.expression)||"ObjectExpression"!==d.expression.type&&"ArrayExpression"!==d.expression.type?u(["(",l([s,_("expression")]),s,")"]):["(",_("expression"),")"];case"AssignmentExpression":return ed(e,t,_);case"VariableDeclarator":return e_(e,t,_);case"BinaryExpression":case"LogicalExpression":return ef(e,t,_);case"AssignmentPattern":return[_("left")," = ",_("right")];case"OptionalMemberExpression":case"MemberExpression":return eh(e,t,_);case"MetaProperty":return[_("meta"),".",_("property")];case"BindExpression":return d.object&&m.push(_("object")),m.push(u(l([s,B(e,t,_)]))),m;case"Identifier":return[d.name,R(e),V(e),U(e,t,_)];case"V8IntrinsicIdentifier":return["%",d.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return K(e,t,_);case"FunctionDeclaration":case"FunctionExpression":return eo(e,_,t,p);case"ArrowFunctionExpression":return ea(e,t,_,p);case"YieldExpression":return m.push("yield"),d.delegate&&m.push("*"),d.argument&&m.push(" ",_("argument")),m;case"AwaitExpression":if(m.push("await"),d.argument){m.push(" ",_("argument"));let t=e.getParentNode();if(w(t)&&t.callee===d||A(t)&&t.object===d){m=[l([s,...m]),s];let t=e.findAncestor(e=>"AwaitExpression"===e.type||"BlockStatement"===e.type);if(!t||"AwaitExpression"!==t.type)return u(m)}}return m;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return W(e,t,_);case"ExportAllDeclaration":return Q(e,t,_);case"ImportDeclaration":return q(e,t,_);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return H(e,t,_);case"ImportAttribute":return[_("key"),": ",_("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return ey(e,t,_);case"ThrowStatement":return el(e,t,_);case"ReturnStatement":return eu(e,t,_);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return ec(e,t,_);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return ee(e,t,_);case"ObjectProperty":case"Property":return d.method||"get"===d.kind||"set"===d.kind?es(e,t,_):ei(e,t,_);case"ObjectMethod":return es(e,t,_);case"Decorator":return["@",_("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return X(e,t,_);case"SequenceExpression":{let t=e.getParentNode(0);if("ExpressionStatement"===t.type||"ForStatement"===t.type){let t=[];return e.each((e,n)=>{0===n?t.push(_()):t.push(",",l([o,_()]))},"expressions"),u(t)}return u(i([",",o],e.map(_,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[_("value"),f];case"DirectiveLiteral":return Y(d.extra.raw,t);case"UnaryExpression":return m.push(d.operator),/[a-z]$/.test(d.operator)&&m.push(" "),g(d.argument)?m.push(u(["(",l([s,_("argument")]),s,")"])):m.push(_("argument")),m;case"UpdateExpression":return m.push(_("argument"),d.operator),d.prefix&&m.reverse(),m;case"ConditionalExpression":return G(e,t,_);case"VariableDeclaration":{let t=e.map(_,"declarations"),n=e.getParentNode(),r="ForStatement"===n.type||"ForInStatement"===n.type||"ForOfStatement"===n.type,i=d.declarations.some(e=>e.init),s;return 1!==t.length||g(d.declarations[0])?t.length>0&&(s=l(t[0])):s=t[0],m=[d.declare?"declare ":"",d.kind,s?[" ",s]:"",l(t.slice(1).map(e=>[",",i&&!r?a:o,e]))],r&&n.body!==d||m.push(f),u(m)}case"WithStatement":return u(["with (",_("object"),")",J(d.body,_("body"))]);case"IfStatement":{let r=J(d.consequent,_("consequent")),i=u(["if (",u([l([s,_("test")]),s]),")",r]);if(m.push(i),d.alternate){let r=g(d.consequent,b.Trailing|b.Line)||S(d),i="BlockStatement"===d.consequent.type&&!r;m.push(i?" ":a),g(d,b.Dangling)&&m.push(n(e,t,!0),r?a:" "),m.push("else",u(J(d.alternate,_("alternate"),"IfStatement"===d.alternate.type)))}return m}case"ForStatement":{let r=J(d.body,_("body")),i=n(e,t,!0),a=i?[i,s]:"";return d.init||d.test||d.update?[a,u(["for (",u([l([s,_("init"),";",o,_("test"),";",o,_("update")]),s]),")",r])]:[a,u(["for (;;)",r])]}case"WhileStatement":return u(["while (",u([l([s,_("test")]),s]),")",J(d.body,_("body"))]);case"ForInStatement":return u(["for (",_("left")," in ",_("right"),")",J(d.body,_("body"))]);case"ForOfStatement":return u(["for",d.await?" await":""," (",_("left")," of ",_("right"),")",J(d.body,_("body"))]);case"DoWhileStatement":return m=[u(["do",J(d.body,_("body"))])],"BlockStatement"===d.body.type?m.push(" "):m.push(a),m.push("while (",u([l([s,_("test")]),s]),")",f),m;case"DoExpression":return[d.async?"async ":"","do ",_("body")];case"BreakStatement":return m.push("break"),d.label&&m.push(" ",_("label")),m.push(f),m;case"ContinueStatement":return m.push("continue"),d.label&&m.push(" ",_("label")),m.push(f),m;case"LabeledStatement":return"EmptyStatement"===d.body.type?[_("label"),":;"]:[_("label"),": ",_("body")];case"TryStatement":return["try ",_("block"),d.handler?[" ",_("handler")]:"",d.finalizer?[" finally ",_("finalizer")]:""];case"CatchClause":if(d.param){let e=g(d.param,e=>!k(e)||e.leading&&r(t.originalText,M(e))||e.trailing&&r(t.originalText,N(e),{backwards:!0})),n=_("param");return["catch ",e?["(",l([s,n]),s,") "]:["(",n,") "],_("body")]}return["catch ",_("body")];case"SwitchStatement":return[u(["switch (",l([s,_("discriminant")]),s,")"])," {",d.cases.length>0?l([a,i(a,e.map((e,n,r)=>{let i=e.getValue();return[_(),n!==r.length-1&&D(i,t)?a:""]},"cases"))]):"",a,"}"];case"SwitchCase":{d.test?m.push("case ",_("test"),":"):m.push("default:"),g(d,b.Dangling)&&m.push(" ",n(e,t,!0));let r=d.consequent.filter(e=>"EmptyStatement"!==e.type);if(r.length>0){let n=em(e,t,_);m.push(1===r.length&&"BlockStatement"===r[0].type?[" ",n]:l([a,n]))}return m}case"DebuggerStatement":return["debugger",f];case"ClassDeclaration":case"ClassExpression":return et(e,t,_);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return en(e,t,_);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":case"AccessorProperty":return er(e,t,_);case"TemplateElement":return c(d.value.raw);case"TemplateLiteral":return Z(e,_,t);case"TaggedTemplateExpression":return[_("tag"),_("typeParameters"),_("quasi")];case"PrivateIdentifier":return["#",_("name")];case"PrivateName":return["#",_("id")];case"InterpreterDirective":return m.push("#!",d.value,a),D(d,t)&&m.push(a),m;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{m.push("module {");let e=_("body");return e&&m.push(l([a,e]),a),m.push("}"),m}default:throw Error("unknown type: "+JSON.stringify(d.type))}}(e,t,_,p);if(!d)return"";let f=e.getValue(),{type:h}=f;if("ClassMethod"===h||"ClassPrivateMethod"===h||"ClassProperty"===h||"ClassAccessorProperty"===h||"AccessorProperty"===h||"TSAbstractAccessorProperty"===h||"PropertyDefinition"===h||"TSAbstractPropertyDefinition"===h||"ClassPrivateProperty"===h||"MethodDefinition"===h||"TSAbstractMethodDefinition"===h||"TSDeclareMethod"===h)return d;let x=[d],T=ex(e,t,_),E="ClassExpression"===f.type&&T;if(T&&(x=[...T,d],!E))return u(x);if(!m(e,t))return p&&p.needsSemi&&x.unshift(";"),1===x.length&&x[0]===d?d:x;if(E&&(x=[l([o,...x])]),x.unshift("("),p&&p.needsSemi&&x.unshift(";"),y(f)){let[e]=f.trailingComments;x.push(" /*",e.value.trimStart(),"*/"),e.printed=!0}return E&&x.push(o),x.push(")"),x},embed:_,insertPragma:d,massageAstNode:p,hasPrettierIgnore:e=>E(e)||F(e),willPrintOwnComments:f.willPrintOwnComments,canAttachComment:function(e){return e.type&&!k(e)&&!x(e)&&"EmptyStatement"!==e.type&&"TemplateElement"!==e.type&&"Import"!==e.type&&"TSEmptyBodyFunctionExpression"!==e.type},printComment:eb,isBlockComment:k,handleComments:{avoidAstMutation:!0,ownLine:f.handleOwnLineComment,endOfLine:f.handleEndOfLineComment,remaining:f.handleRemainingComment},getCommentChildNodes:f.getCommentChildNodes}}}),nG=b({"src/language-js/printer-estree-json.js"(e,t){T();var{builders:{hardline:n,indent:r,join:i}}=$(),o=nv();function a(e){return"key"===e.getName()&&"ObjectProperty"===e.getParentNode().type}var s=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function u(e,t){let{type:n}=e;if("ObjectProperty"===n){let{key:n}=e;"Identifier"===n.type?t.key={type:"StringLiteral",value:n.name}:"NumericLiteral"===n.type&&(t.key={type:"StringLiteral",value:String(n.value)});return}if("UnaryExpression"===n&&"+"===e.operator)return t.argument;if("ArrayExpression"===n){for(let[n,r]of e.elements.entries())null===r&&t.elements.splice(n,0,{type:"NullLiteral"});return}if("TemplateLiteral"===n)return{type:"StringLiteral",value:e.quasis[0].value.cooked}}u.ignoredProperties=s,t.exports={preprocess:o,print:function(e,t,o){let s=e.getValue();switch(s.type){case"JsonRoot":return[o("node"),n];case"ArrayExpression":if(0===s.elements.length)return"[]";return["[",r([n,i([",",n],e.map(()=>null===e.getValue()?"null":o(),"elements"))]),n,"]"];case"ObjectExpression":return 0===s.properties.length?"{}":["{",r([n,i([",",n],e.map(o,"properties"))]),n,"}"];case"ObjectProperty":return[o("key"),": ",o("value")];case"UnaryExpression":return["+"===s.operator?"":s.operator,o("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return s.value?"true":"false";case"StringLiteral":return JSON.stringify(s.value);case"NumericLiteral":return a(e)?JSON.stringify(String(s.value)):JSON.stringify(s.value);case"Identifier":return a(e)?JSON.stringify(s.name):s.name;case"TemplateLiteral":return o(["quasis",0]);case"TemplateElement":return JSON.stringify(s.value.cooked);default:throw Error("unknown type: "+JSON.stringify(s.type))}},massageAstNode:u}}}),nZ=b({"src/common/common-options.js"(e,t){T();var n="Common";t.exports={bracketSpacing:{since:"0.0.0",category:n,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:n,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:n,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:n,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:n,type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}}}}),nX=b({"src/language-js/options.js"(e,t){T();var n=nZ(),r="JavaScript";t.exports={arrowParens:{since:"1.9.0",category:r,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:n.bracketSameLine,bracketSpacing:n.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:r,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:r,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:n.singleQuote,jsxSingleQuote:{since:"1.15.0",category:r,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:r,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:r,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:n.singleAttributePerLine}}}),n0=b({"src/language-js/parse/parsers.js"(){T()}}),n1=b({"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}}}),n2=b({"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}}}),n3=b({"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}}}),n4=b({"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}}}),n6=b({"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}}}),n5=b({"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}}}),n8=b({"src/language-js/index.js"(e,t){T();var n=tU(),r=nH(),i=nG(),o=nX(),a=n0(),s=[n(n1(),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"]})),n(n1(),()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),n(n1(),()=>({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})),n(n2(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),n(n3(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),n(n4(),()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]})),n(n4(),e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:e.extensions.filter(e=>".jsonl"!==e)})),n(n6(),e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...e.filenames,".eslintrc",".swcrc"]})),n(n5(),()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))];t.exports={languages:s,options:o,printers:{estree:r,"estree-json":i},parsers:a}}}),n7=b({"src/language-css/clean.js"(e,t){T();var{isFrontMatterNode:n}=ep(),r=M(),i=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function o(e,t,i){if(n(e)&&"yaml"===e.lang&&delete t.value,"css-comment"===e.type&&"css-root"===i.type&&i.nodes.length>0&&((i.nodes[0]===e||n(i.nodes[0])&&i.nodes[1]===e)&&(delete t.text,/^\*\s*@(?:format|prettier)\s*$/.test(e.text))||"css-root"===i.type&&r(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=t.value.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")),"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,n)=>{let r=Number(t);return Number.isNaN(r)?e:r+n.toLowerCase()})),"selector-tag"===e.type){let n=e.value.toLowerCase();["from","to"].includes(n)&&(t.value=n)}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 n=e.groups.findIndex(e=>"value-number"===e.type&&"..."===e.unit);-1!==n&&(t.groups[n].unit="",t.groups.splice(n+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}if("value-comma_group"===e.type&&e.groups.some(e=>"value-atword"===e.type&&e.value.endsWith("[")||"value-word"===e.type&&e.value.startsWith("]")))return{type:"value-atword",value:e.groups.map(e=>e.value).join(""),group:{open:null,close:null,groups:[],type:"value-paren_group"}}}o.ignoredProperties=i,t.exports=o}}),n9=b({"src/utils/front-matter/print.js"(e,t){T();var{builders:{hardline:n,markAsRoot:r}}=$();t.exports=function(e,t){if("yaml"===e.lang){let i=e.value.trim(),o=i?t(i,{parser:"yaml"},{stripTrailingHardline:!0}):"";return r([e.startDelimiter,n,o,o?n:"",e.endDelimiter])}}}}),re=b({"src/language-css/embed.js"(e,t){T();var{builders:{hardline:n}}=$(),r=n9();t.exports=function(e,t,i){let o=e.getValue();if("front-matter"===o.type){let e=r(o,i);return e?[e,n]:""}}}}),rt=b({"src/utils/front-matter/parse.js"(e,t){T();var n=RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s");t.exports=function(e){let t=e.match(n);if(!t)return{content:e};let{startDelimiter:r,language:i,value:o="",endDelimiter:a}=t.groups,s=i.trim()||"yaml";if("+++"===r&&(s="toml"),"yaml"!==s&&r!==a)return{content:e};let[u]=t;return{frontMatter:{type:"front-matter",lang:s,value:o,startDelimiter:r,endDelimiter:a,raw:u.replace(/\n$/,"")},content:u.replace(/[^\n]/g," ")+e.slice(u.length)}}}}),rn=b({"src/language-css/pragma.js"(e,t){T();var n=nh(),r=rt();t.exports={hasPragma:function(e){return n.hasPragma(r(e).content)},insertPragma:function(e){let{frontMatter:t,content:i}=r(e);return(t?t.raw+` + +`:"")+n.insertPragma(i)}}}}),rr=b({"src/language-css/utils/index.js"(e,t){T();var n=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 r(e,t){let n=Array.isArray(t)?t:[t],r=-1,i;for(;i=e.getParentNode(++r);)if(n.includes(i.type))return r;return -1}function i(e,t){let n=r(e,t);return -1===n?null:e.getParentNode(n)}var o=new Set(["initial","inherit","unset","revert"]);function a(e){return"value-operator"===e.type&&"*"===e.value}function s(e){return"value-operator"===e.type&&"/"===e.value}function u(e){return"value-operator"===e.type&&"+"===e.value}function l(e){return"value-operator"===e.type&&"-"===e.value}function c(e){return"value-operator"===e.type&&"%"===e.value}function _(e){var t,n;return"value-comma_group"===e.type&&(null===(t=e.groups)||void 0===t||null===(n=t[1])||void 0===n?void 0:n.type)==="value-colon"}function p(e){var t;return"value-paren_group"===e.type&&(null===(t=e.groups)||void 0===t?void 0:t[0])&&_(e.groups[0])}function d(e){return(null==e?void 0:e.type)==="value-colon"}t.exports={getAncestorCounter:r,getAncestorNode:i,getPropOfDeclNode:function(e){var t;let n=i(e,"css-decl");return null==n||null===(t=n.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 n;let r=i(e,"value-func");return(null==r||null===(n=r.value)||void 0===n?void 0:n.toLowerCase())===t},insideICSSRuleNode:function(e){var t;let n=i(e,"css-rule"),r=null==n||null===(t=n.raws)||void 0===t?void 0:t.selector;return r&&(r.startsWith(":import")||r.startsWith(":export"))},insideAtRuleNode:function(e,t){let n=Array.isArray(t)?t:[t],r=i(e,"css-atrule");return r&&n.includes(r.name.toLowerCase())},insideURLFunctionInImportAtRuleNode:function(e){let t=e.getValue(),n=i(e,"css-atrule");return(null==n?void 0:n.name)==="import"&&"url"===t.groups[0].value&&2===t.groups.length},isKeyframeAtRuleKeywords:function(e,t){let n=i(e,"css-atrule");return(null==n?void 0:n.name)&&n.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(t.toLowerCase())},isWideKeywords:function(e){return o.has(e.toLowerCase())},isLastNode:function(e,t){var n;let r=null===(n=e.getParentNode())||void 0===n?void 0:n.nodes;return r&&r.indexOf(t)===r.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:a,isDivisionNode:s,isAdditionNode:u,isSubtractionNode:l,isModuloNode:c,isMathOperatorNode:function(e){return a(e)||s(e)||u(e)||l(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,n;return(null===(t=e.value)||void 0===t?void 0:t.type)==="value-root"&&(null===(n=e.value.group)||void 0===n?void 0:n.type)==="value-value"&&"composes"===e.prop.toLowerCase()},hasParensAroundNode:function(e){var t,n,r;return(null===(t=e.value)||void 0===t||null===(n=t.group)||void 0===n||null===(r=n.group)||void 0===r?void 0:r.type)==="value-paren_group"&&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&&(null==t?void 0:t.type)==="value-word"&&!t.raws.before},isKeyValuePairNode:_,isKeyValuePairInParenGroupNode:p,isKeyInValuePairNode:function(e,t){if(!_(t))return!1;let{groups:n}=t,r=n.indexOf(e);return -1!==r&&d(n[r+1])},isSCSSMapItemNode:function(e){var t;let n=e.getValue();if(0===n.groups.length)return!1;let r=e.getParentNode(1);if(!p(n)&&!(r&&p(r)))return!1;let o=i(e,"css-decl");return!!(null!=o&&null!==(t=o.prop)&&void 0!==t&&t.startsWith("$")||p(r)||"value-func"===r.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&&n.has(e.value.toLowerCase())},lastLineHasInlineComment:function(e){return/\/\//.test(e.split(/[\n\r]/).pop())},isAtWordPlaceholderNode:function(e){return(null==e?void 0:e.type)==="value-atword"&&e.value.startsWith("prettier-placeholder-")},isConfigurationNode:function(e,t){var n,r;if((null===(n=e.open)||void 0===n?void 0:n.value)!=="("||(null===(r=e.close)||void 0===r?void 0:r.value)!==")"||e.groups.some(e=>"value-comma_group"!==e.type))return!1;if("value-comma_group"===t.type){let n=t.groups.indexOf(e)-1,r=t.groups[n];if((null==r?void 0:r.type)==="value-word"&&"with"===r.value)return!0}return!1},isParenGroupNode:function(e){var t,n;return"value-paren_group"===e.type&&(null===(t=e.open)||void 0===t?void 0:t.value)==="("&&(null===(n=e.close)||void 0===n?void 0:n.value)===")"}}}}),ri=b({"src/utils/line-column-to-index.js"(e,t){T(),t.exports=function(e,t){let n=0;for(let r=0;r{let l=u[i-1];if(l&&"css-comment"===l.type&&"prettier-ignore"===l.text.trim()){let n=e.getValue();r.push(t.originalText.slice(eb(n),ev(n)))}else r.push(n());i!==u.length-1&&(("css-comment"!==u[i+1].type||o(t.originalText,eb(u[i+1]),{backwards:!0})||a(u[i]))&&("css-atrule"!==u[i+1].type||"else"!==u[i+1].name||"css-comment"===u[i].type)?(r.push(t.__isHTMLStyleAttribute?c:_),s(t.originalText,e.getValue(),ev)&&!a(u[i])&&r.push(_)):r.push(" "))},"nodes"),r}var eE=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,ew=RegExp(eE.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 eA(e,t){return e.replace(eE,e=>i(e,t))}function eC(e){return e.replace(ew,(e,t,n,r,i)=>!n&&r?eN(r)+A(i||""):e)}function eN(e){return r(e).replace(/\.0(?=$|e)/,"")}t.exports={print:function(e,t,r){var o,a,x;let D=e.getValue();if(!D)return"";if("string"==typeof D)return D;switch(D.type){case"front-matter":return[D.raw,_];case"css-root":{let n=eT(e,t,r),i=D.raws.after.trim();return i.startsWith(";")&&(i=i.slice(1).trim()),[n,i?` ${i}`:"",v(n).length>0?_:""]}case"css-comment":{let e=D.inline||D.raws.inline,n=t.originalText.slice(eb(D),ev(D));return e?n.trimEnd():n}case"css-rule":return[r("selector"),D.important?" !important":"",D.nodes?[D.selector&&"selector-unknown"===D.selector.type&&em(D.selector.value)?c:" ","{",D.nodes.length>0?m([_,eT(e,t,r)]):"",_,"}",L(D)?";":""]:";"];case"css-decl":{let n=e.getParentNode(),{between:i}=D.raws,o=i.trim(),a=":"===o,s=H(D)?b(r("value")):r("value");return!a&&em(o)&&(s=m([_,h(s)])),[D.raws.before.replace(/[\s;]/g,""),"css-atrule"===n.type&&n.variable||N(e)?D.prop:A(D.prop),o.startsWith("//")?" ":"",o,D.extend?"":" ",ex(t)&&D.extend&&D.selector?["extend(",r("selector"),")"]:"",s,D.raws.important?D.raws.important.replace(/\s*!\s*important/i," !important"):D.important?" !important":"",D.raws.scssDefault?D.raws.scssDefault.replace(/\s*!default/i," !default"):D.scssDefault?" !default":"",D.raws.scssGlobal?D.raws.scssGlobal.replace(/\s*!global/i," !global"):D.scssGlobal?" !global":"",D.nodes?[" {",m([p,eT(e,t,r)]),p,"}"]:er(D)&&!n.raws.semicolon&&";"!==t.originalText[ev(D)-1]?"":t.__isHTMLStyleAttribute&&P(e,D)?y(";"):";"]}case"css-atrule":{let n=e.getParentNode(),i=en(D)&&!n.raws.semicolon&&";"!==t.originalText[ev(D)-1];if(ex(t)){if(D.mixin)return[r("selector"),D.important?" !important":"",i?"":";"];if(D.function)return[D.name,r("params"),i?"":";"];if(D.variable)return["@",D.name,": ",D.value?r("value"):"",D.raws.between.trim()?D.raws.between.trim()+" ":"",D.nodes?["{",m([D.nodes.length>0?p:"",eT(e,t,r)]),p,"}"]:"",i?"":";"]}return["@",et(D)||D.name.endsWith(":")?D.name:A(D.name),D.params?[et(D)?"":en(D)?""===D.raws.afterName?"":D.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(D.raws.afterName)?[_,_]:/^\s*\n/.test(D.raws.afterName)?_:" ":" ",r("params")]:"",D.selector?m([" ",r("selector")]):"",D.value?d([" ",r("value"),F(D)?G(D)?" ":c:""]):"else"===D.name?" ":"",D.nodes?[F(D)?"":D.selector&&!D.selector.nodes&&"string"==typeof D.selector.value&&em(D.selector.value)||!D.selector&&"string"==typeof D.params&&em(D.params)?c:" ","{",m([D.nodes.length>0?p:"",eT(e,t,r)]),p,"}"]:i?"":";"]}case"media-query-list":{let t=[];return e.each(e=>{let n=e.getValue();"media-query"===n.type&&""===n.value||t.push(r())},"nodes"),d(m(l(c,t)))}case"media-query":return[l(" ",e.map(r,"nodes")),P(e,D)?"":","];case"media-type":case"media-value":return eC(eA(D.value,t));case"media-feature-expression":return D.nodes?["(",...e.map(r,"nodes"),")"]:D.value;case"media-feature":return A(eA(D.value.replace(/ +/g," "),t));case"media-colon":case"value-comma":return[D.value," "];case"media-keyword":case"selector-string":return eA(D.value,t);case"media-url":return eA(D.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 D.value;case"selector-root":return d([k(e,"custom-selector")?[E(e,"css-atrule").customSelector,c]:"",l([",",k(e,["extend","custom-selector","nest"])?c:_],e.map(r,"nodes"))]);case"selector-selector":return d(m(e.map(r,"nodes")));case"selector-tag":{let t=e.getParentNode(),n=t&&t.nodes.indexOf(D),r=n&&t.nodes[n-1];return[D.namespace?[!0===D.namespace?"":D.namespace.trim(),"|"]:"","selector-nesting"===r.type?D.value:eC(j(e,D.value)?D.value.toLowerCase():D.value)]}case"selector-id":return["#",D.value];case"selector-class":return[".",eC(eA(D.value,t))];case"selector-attribute":let S;return["[",D.namespace?[!0===D.namespace?"":D.namespace.trim(),"|"]:"",D.attribute.trim(),null!==(o=D.operator)&&void 0!==o?o:"",D.value?(x=eA(D.value.trim(),t),S=t.singleQuote?"'":'"',x.includes('"')||x.includes("'")?x:S+x+S):"",D.insensitive?" i":"","]"];case"selector-combinator":if("+"===D.value||">"===D.value||"~"===D.value||">>>"===D.value){let t=e.getParentNode();return["selector-selector"===t.type&&t.nodes[0]===D?"":c,D.value,P(e,D)?"":" "]}return[D.value.trim().startsWith("(")?c:"",eC(eA(D.value.trim(),t))||c];case"selector-universal":return[D.namespace?[!0===D.namespace?"":D.namespace.trim(),"|"]:"",D.value];case"selector-pseudo":return[A(D.value),u(D.nodes)?d(["(",m([p,l([",",c],e.map(r,"nodes"))]),p,")"]):""];case"selector-unknown":{let n=E(e,"css-rule");if(n&&n.isSCSSNesterProperty)return eC(eA(A(D.value),t));let r=e.getParentNode();if(r.raws&&r.raws.selector){let e=eb(r),n=e+r.raws.selector.length;return t.originalText.slice(e,n).trim()}let i=e.getParentNode(1);if("value-paren_group"===r.type&&i&&"value-func"===i.type&&"selector"===i.value){let e=ev(r.open)+1,n=eb(r.close),i=t.originalText.slice(e,n).trim();return em(i)?[g,i]:i}return D.value}case"value-value":case"value-root":return r("group");case"value-comment":return t.originalText.slice(eb(D),ev(D));case"value-comma_group":{let n=e.getParentNode(),i=e.getParentNode(1),o=w(e),s=o&&"value-value"===n.type&&("grid"===o||o.startsWith("grid-template")),u=E(e,"css-atrule"),l=u&&F(u),y=D.groups.some(e=>ea(e)),b=e.map(r,"groups"),v=[],x=C(e,"url"),S=!1,T=!1;for(let r=0;rt:-1!==e?S=!0:-1!==t&&(S=!1)}if(S||e_(d)||e_(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||ei(d,f)||es(d)||eu(d)||el(f)||eu(f)&&Z(f)||el(d)&&Z(f)||"--"===d.value&&es(f))continue;let y=V(d),g=V(f);if((y&&es(f)||g&&el(d))&&Z(f)||!o&&U(d)||C(e,"calc")&&(J(d)||J(f)||K(d)||K(f))&&Z(f))continue;let E=(J(d)||K(d))&&0===r&&("value-number"===f.type||f.isHex)&&i&&ef(i)&&!Z(f),w=m&&"value-func"===m.type||m&&ec(m)||"value-func"===d.type||ec(d),A="value-func"===f.type||ec(f)||o&&"value-func"===o.type||o&&ec(o);if(!(!(B(f)||B(d))&&!C(e,"calc")&&!E&&(U(f)&&!w||U(d)&&!A||J(f)&&!w||J(d)&&!A||K(f)||K(d))&&(Z(f)||y&&(!o||o&&V(o))))&&!(("scss"===t.parser||"less"===t.parser)&&y&&"-"===d.value&&eg(f)&&ev(d)===eb(f.open)&&"("===f.open.value)){if(ea(d)){if("value-paren_group"===n.type){v.push(h(_));continue}v.push(_);continue}if(l&&(R(f)||z(f)||Q(f)||Y(d)||q(d))||u&&"namespace"===u.name.toLowerCase()){v.push(" ");continue}if(s){d.source&&f.source&&d.source.start.line!==f.source.start.line?(v.push(_),T=!0):v.push(" ");continue}if(g){v.push(" ");continue}if(!(f&&"..."===f.value)&&!(eh(d)&&eh(f)&&ev(d)===eb(f))){if(eh(d)&&eg(f)&&ev(d)===eb(f.open)){v.push(p);continue}if("with"===d.value&&eg(f)){v.push(" ");continue}null!==(a=d.value)&&void 0!==a&&a.endsWith("#")&&"{"===f.value&&eg(f.group)||v.push(c)}}}return y&&v.push(g),T&&v.unshift(_),l?d(m(v)):I(e)?d(f(v)):d(m(f(v)))}case"value-paren_group":{let i=e.getParentNode();if(i&&W(i)&&(1===D.groups.length||D.groups.length>0&&"value-comma_group"===D.groups[0].type&&D.groups[0].groups.length>0&&"value-word"===D.groups[0].groups[0].type&&D.groups[0].groups[0].value.startsWith("data:")))return[D.open?r("open"):"",l(",",e.map(r,"groups")),D.close?r("close"):""];if(!D.open){let t=e.map(r,"groups"),n=[];for(let e=0;e{let o=e.getValue(),a=i===D.groups.length-1,l=[r(),a?"":","];if(X(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=v(l[0].contents.contents);e[1]=d(e[1]),l=[d(h(l))]}if(!a&&"value-comma_group"===o.type&&u(o.groups)){let e=n(o.groups);!e.source&&e.close&&(e=e.close),e.source&&s(t.originalText,e,ev)&&l.push(_)}return l},"groups"))]),y(!g&&eD(t.parser,t.originalText)&&o&&("es5"===t.trailingComma||"all"===t.trailingComma)?",":""),p,D.close?r("close"):""],{shouldBreak:S});return x||b?h(T):T}case"value-func":return[D.value,k(e,"supports")&&ed(D)?" ":"",r("group")];case"value-number":return[eN(D.value),eS(D.unit)];case"value-word":return D.isColor&&D.isHex||O(D.value)?D.value.toLowerCase():D.value;case"value-colon":{let t=e.getParentNode(),r=t&&t.groups.indexOf(D),i=r&&t.groups[r-1];return[D.value,i&&"string"==typeof i.value&&"\\"===n(i.value)||C(e,"url")?"":c]}case"value-string":return i(D.raws.quote+D.value+D.raws.quote,t);case"value-atword":return["@",D.value];default:throw Error(`Unknown postcss type ${JSON.stringify(D.type)}`)}},embed:D,insertPragma:S,massageAstNode:x}}}),r_=b({"src/language-css/options.js"(e,t){T();var n=nZ();t.exports={singleQuote:n.singleQuote}}}),rp=b({"src/language-css/parsers.js"(){T()}}),rd=b({"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}}}),rf=b({"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}}}),rm=b({"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}}}),rh=b({"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}}}),ry=b({"src/language-css/index.js"(e,t){T();var n=tU(),r=rc(),i=r_(),o=rp(),a=[n(rd(),e=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...e.extensions,".wxss"]})),n(rf(),()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),n(rm(),()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),n(rh(),()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))];t.exports={languages:a,options:i,printers:{postcss:r},parsers:o}}}),rg=b({"src/language-handlebars/loc.js"(e,t){T(),t.exports={locStart:function(e){return e.loc.start.offset},locEnd:function(e){return e.loc.end.offset}}}}),rb=b({"src/language-handlebars/clean.js"(e,t){function n(e,t){if("TextNode"===e.type){let n=e.chars.trim();if(!n)return null;t.chars=n.replace(/[\t\n\f\r ]+/g," ")}"AttrNode"===e.type&&"class"===e.name.toLowerCase()&&delete t.value}T(),n.ignoredProperties=new Set(["loc","selfClosing"]),t.exports=n}}),rv=b({"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"]}}),rx=b({"src/language-handlebars/utils.js"(e,t){T();var n=M(),r=rv();function i(e){return e.toUpperCase()===e}var o=new Set(r);function a(e){return s(e,["TextNode"])&&!/\S/.test(e.chars)}function s(e,t){return e&&t.includes(e.type)}function u(e,t){return s(e.getParentNode(0),t)}function l(e,t){var n,r,i,o;let a=e.getValue(),s=null!==(n=e.getParentNode(0))&&void 0!==n?n:{},u=null!==(r=null!==(i=null!==(o=s.children)&&void 0!==o?o:s.body)&&void 0!==i?i:s.parts)&&void 0!==r?r:[],l=u.indexOf(a);return -1!==l&&u[l+t]}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return l(e,-t)}function _(e){return l(e,1)}function p(e){return s(e,["MustacheCommentStatement"])&&"string"==typeof e.value&&"prettier-ignore"===e.value.trim()}t.exports={getNextNode:_,getPreviousNode:c,hasPrettierIgnore:function(e){let t=e.getValue(),n=c(e,2);return p(t)||p(n)},isLastNodeOfSiblings:function(e){let t=e.getValue(),r=e.getParentNode(0);return!!(u(e,["ElementNode"])&&n(r.children)===t||u(e,["Block"])&&n(r.body)===t)},isNextNodeOfSomeType:function(e,t){return s(_(e),t)},isNodeOfSomeType:s,isParentOfSomeType:u,isPreviousNodeOfSomeType:function(e,t){return s(c(e),t)},isVoid:function(e){var t;return!0===e.selfClosing||(t=e.tag,o.has(t.toLowerCase())&&!i(t[0]))||s(e,["ElementNode"])&&"string"==typeof e.tag&&!e.tag.startsWith(":")&&(i(e.tag[0])||e.tag.includes("."))&&e.children.every(e=>a(e))},isWhitespaceNode:a}}}),rD=b({"src/language-handlebars/printer-glimmer.js"(e,t){T();var{builders:{dedent:n,fill:r,group:i,hardline:o,ifBreak:a,indent:s,join:u,line:l,softline:c},utils:{getDocParts:_,replaceTextEndOfLine:p}}=$(),{getPreferredQuote:d,isNonEmptyArray:f}=ep(),{locStart:m,locEnd:h}=rg(),y=rb(),{getNextNode:g,getPreviousNode:b,hasPrettierIgnore:v,isLastNodeOfSiblings:x,isNextNodeOfSomeType:D,isNodeOfSomeType:S,isParentOfSomeType:E,isPreviousNodeOfSomeType:w,isVoid:A,isWhitespaceNode:C}=rx();function N(e,t){return m(e)-m(t)}function M(e,t,n){let r=e.getValue().children.every(e=>C(e));return"ignore"===t.htmlWhitespaceSensitivity&&r?"":e.map((e,r)=>{let i=n();return 0===r&&"ignore"===t.htmlWhitespaceSensitivity?[c,i]:i},"children")}function k(e){return[!1===e.escaped?"{{{":"{{",e.strip&&e.strip.open?"~":""]}function I(e){let t=!1===e.escaped?"}}}":"}}";return[e.strip&&e.strip.close?"~":"",t]}function j(e){return[k(e),e.closeStrip.open?"~":"","/"]}function O(e){let t=I(e);return[e.closeStrip.close?"~":"",t]}function P(e){return[k(e),e.inverseStrip.open?"~":""]}function F(e){let t=I(e);return[e.inverseStrip.close?"~":"",t]}function L(e){return S(e,["BlockStatement"])&&e.program.body.every(e=>C(e))}function z(e){return S(e,["BlockStatement"])&&e.inverse}function R(e,t,n){if(L(e.getValue()))return"";let r=t("program");return"ignore"===n.htmlWhitespaceSensitivity?s([o,r]):s(r)}function B(e,t,n){let r=e.getValue(),i=t("inverse"),a="ignore"===n.htmlWhitespaceSensitivity?[o,i]:i;return z(r)&&1===r.inverse.body.length&&S(r.inverse.body[0],["BlockStatement"])&&r.inverse.body[0].path.parts[0]===r.path.parts[0]?a:z(r)?[["ignore"===n.htmlWhitespaceSensitivity?o:"",P(r),"else",F(r)],s(a)]:""}function U(e){return _(u(l,e.split(/[\t\n\f\r ]+/)))}function J(e){return(e="string"==typeof e?e:"").split(` +`).length-1}function K(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Array.from({length:Math.min(e,2)}).fill(o)}function V(e,t){let{quote:n,regex:r}=d(e,t);return[n,e.replace(r,`\\${n}`),n]}function Y(e,t){let n=t("path"),r=q(e,t);return r?[s([n,l,r]),c]:n}function q(e,t){let n=e.getValue(),r=[];if(n.params.length>0){let n=e.map(t,"params");r.push(...n)}if(n.hash&&n.hash.pairs.length>0){let e=t("hash");r.push(e)}return 0===r.length?"":u(l,r)}function W(e){return["as |",e.blockParams.join(" "),"|"]}t.exports={print:function(e,t,_){var y,T,C;let z=e.getValue();if(!z)return"";if(v(e))return t.originalText.slice(m(z),h(z));let $=t.singleQuote?"'":'"';switch(z.type){case"Block":case"Program":case"Template":return i(e.map(_,"body"));case"ElementNode":{let n=i(function(e,t){let n=e.getValue(),r=["attributes","modifiers","comments"].filter(e=>f(n[e])),i=r.flatMap(e=>n[e]).sort(N);for(let n of r)e.each(e=>{let n=i.indexOf(e.getValue());i.splice(n,1,[l,t()])},n);return f(n.blockParams)&&i.push(l,W(n)),["<",n.tag,s(i),A(n)?a([c,"/>"],[" />",c]):a([c,">"],">")]}(e,_)),r="ignore"===t.htmlWhitespaceSensitivity&&D(e,["ElementNode"])?c:"";if(A(z))return[n,r];let u=[""];return 0===z.children.length?[n,s(u),r]:"ignore"===t.htmlWhitespaceSensitivity?[n,s(M(e,t,_)),o,s(u),r]:[n,s(i(M(e,t,_))),s(u),r]}case"BlockStatement":{let n,r,a,p=e.getParentNode(1);return p&&p.inverse&&1===p.inverse.body.length&&p.inverse.body[0]===z&&p.inverse.body[0].path.parts[0]===p.path.parts[0]?[(y=p.inverse.body[0].path.parts[0],n=e.getValue(),i([P(r=e.getParentNode(1)),["else"," ",y],s([l,i(q(e,_)),...f(n.program.blockParams)?[l,W(n.program)]:[]]),c,F(r)])),R(e,_,t),B(e,_,t)]:[function(e,t){let n,r=e.getValue(),o=[],a=q(e,t);return a&&o.push(i(a)),f(r.program.blockParams)&&o.push(W(r.program)),i([[k(r),r.openStrip.open?"~":"","#"],t("path"),o.length>0?s([l,u(l,o)]):"",c,(n=I(r),[r.openStrip.close?"~":"",n])])}(e,_),i([R(e,_,t),B(e,_,t),(a=e.getValue(),"ignore"===t.htmlWhitespaceSensitivity?[L(a)?c:o,j(a),_("path"),O(a)]:[j(a),_("path"),O(a)])])]}case"ElementModifierStatement":return i(["{{",Y(e,_),"}}"]);case"MustacheStatement":return i([k(z),Y(e,_),I(z)]);case"SubExpression":let Q,H;return i(["(",(Q=_("path"),(H=q(e,_))?s([Q,l,i(H)]):Q),c,")"]);case"AttrNode":{let e="TextNode"===z.value.type;if(e&&""===z.value.chars&&m(z.value)===h(z.value))return z.name;let t=e?d(z.value.chars,$).quote:"ConcatStatement"===z.value.type?d(z.value.parts.filter(e=>"TextNode"===e.type).map(e=>e.chars).join(""),$).quote:"",n=_("value");return[z.name,"=",t,"class"===z.name&&t?i(s(n)):n,t]}case"ConcatStatement":return e.map(_,"parts");case"Hash":return u(l,e.map(_,"pairs"));case"HashPair":return[z.key,"=",_("value")];case"TextNode":{let i=z.chars.replace(/{{/g,"\\{{"),o=function(e){for(let t=0;t<2;t++){let n=e.getParentNode(t);if(n&&"AttrNode"===n.type)return n.name.toLowerCase()}}(e);if(o){if("class"===o){let t=i.trim().split(/\s+/).join(" "),n=!1,r=!1;return E(e,["ConcatStatement"])&&(w(e,["MustacheStatement"])&&/^\s/.test(i)&&(n=!0),D(e,["MustacheStatement"])&&/\s$/.test(i)&&""!==t&&(r=!0)),[n?l:"",t,r?l:""]}return p(i)}let a=/^[\t\n\f\r ]*$/.test(i),s=!b(e),u=!g(e);if("ignore"!==t.htmlWhitespaceSensitivity){let t=/^[\t\n\f\r ]*/,o=/[\t\n\f\r ]*$/,c=u&&E(e,["Template"]),_=s&&E(e,["Template"]);if(a){if(_||c)return"";let t=[l],r=J(i);return r&&(t=K(r)),x(e)&&(t=t.map(e=>n(e))),t}let[p]=i.match(t),[d]=i.match(o),f=[];if(p){f=[l];let e=J(p);e&&(f=K(e)),i=i.replace(t,"")}let m=[];if(d){if(!c){m=[l];let t=J(d);t&&(m=K(t)),x(e)&&(m=m.map(e=>n(e)))}i=i.replace(o,"")}return[...f,r(U(i)),...m]}let c=J(i),_=J(((T="string"==typeof(T=i)?T:"").match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||""),d=J(((C="string"==typeof(C=i)?C:"").match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"");if((s||u)&&a&&E(e,["Block","ElementNode","Template"]))return"";a&&c?(_=Math.min(c,2),d=0):(D(e,["BlockStatement","ElementNode"])&&(d=Math.max(d,1)),w(e,["BlockStatement","ElementNode"])&&(_=Math.max(_,1)));let f="",m="";return 0===d&&D(e,["MustacheStatement"])&&(m=" "),0===_&&w(e,["MustacheStatement"])&&(f=" "),s&&(_=0,f=""),u&&(d=0,m=""),i=i.replace(/^[\t\n\f\r ]+/g,f).replace(/[\t\n\f\r ]+$/,m),[...K(_),r(U(i)),...K(d)]}case"MustacheCommentStatement":{let e=m(z),n=h(z),r="~"===t.originalText.charAt(e+2),i="~"===t.originalText.charAt(n-3),o=z.value.includes("}}")?"--":"";return["{{",r?"~":"","!",o,z.value,o,i?"~":"","}}"]}case"PathExpression":return z.original;case"BooleanLiteral":case"NumberLiteral":return String(z.value);case"CommentStatement":return[""];case"StringLiteral":if(function(e){let t=0,n=e.getParentNode(t);for(;n&&S(n,["SubExpression"]);)t++,n=e.getParentNode(t);return!!(n&&S(e.getParentNode(t+1),["ConcatStatement"])&&S(e.getParentNode(t+2),["AttrNode"]))}(e)){let e=t.singleQuote?'"':"'";return V(z.value,e)}return V(z.value,$);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw Error("unknown glimmer type: "+JSON.stringify(z.type))}},massageAstNode:y}}}),rS=b({"src/language-handlebars/parsers.js"(){T()}}),rT=b({"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}}}),rE=b({"src/language-handlebars/index.js"(e,t){T();var n=tU(),r=rD(),i=rS(),o=[n(rT(),()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))];t.exports={languages:o,printers:{glimmer:r},parsers:i}}}),rw=b({"src/language-graphql/pragma.js"(e,t){T(),t.exports={hasPragma:function(e){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(e)},insertPragma:function(e){return`# @format + +`+e}}}}),rA=b({"src/language-graphql/loc.js"(e,t){T(),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}}}}),rC=b({"src/language-graphql/printer-graphql.js"(e,t){T();var{builders:{join:n,hardline:r,line:i,softline:o,group:a,indent:s,ifBreak:u}}=$(),{isNextLineEmpty:l,isNonEmptyArray:c}=ep(),{insertPragma:_}=rw(),{locStart:p,locEnd:d}=rA();function f(e,t,r){if(0===r.directives.length)return"";let u=n(i,e.map(t,"directives"));return"FragmentDefinition"===r.kind||"OperationDefinition"===r.kind?a([i,u]):[" ",a(s([o,u]))]}function m(e,t,n,i){return e.map((e,i,o)=>{let a=n();return in(e),"interfaces");for(let e=0;e{n.push(_()),i!==o.length-1&&(n.push(r),l(t.originalText,e.getValue(),d)&&n.push(r))},"definitions"),[...n,r]}case"OperationDefinition":{let r="{"!==t.originalText[p(y)],i=!!y.name;return[r?y.operation:"",r&&i?[" ",_("name")]:"",r&&!i&&c(y.variableDefinitions)?" ":"",c(y.variableDefinitions)?a(["(",s([o,n([u("",", "),o],e.map(_,"variableDefinitions"))]),o,")"]):"",f(e,_,y),y.selectionSet&&(r||i)?" ":"",_("selectionSet")]}case"FragmentDefinition":return["fragment ",_("name"),c(y.variableDefinitions)?a(["(",s([o,n([u("",", "),o],e.map(_,"variableDefinitions"))]),o,")"]):""," on ",_("typeCondition"),f(e,_,y)," ",_("selectionSet")];case"SelectionSet":return["{",s([r,n(r,m(e,t,_,"selections"))]),r,"}"];case"Field":return a([y.alias?[_("alias"),": "]:"",_("name"),y.arguments.length>0?a(["(",s([o,n([u("",", "),o],m(e,t,_,"arguments"))]),o,")"]):"",f(e,_,y),y.selectionSet?" ":"",_("selectionSet")]);case"Name":case"IntValue":case"FloatValue":case"EnumValue":return y.value;case"StringValue":if(y.block){let e=y.value.replace(/"""/g,"\\$&").split(` +`);return 1===e.length&&(e[0]=e[0].trim()),e.every(e=>""===e)&&(e.length=0),n(r,['"""',...e,'"""'])}return['"',y.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"'];case"BooleanValue":return y.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",_("name")];case"ListValue":return a(["[",s([o,n([u("",", "),o],e.map(_,"values"))]),o,"]"]);case"ObjectValue":return a(["{",t.bracketSpacing&&y.fields.length>0?" ":"",s([o,n([u("",", "),o],e.map(_,"fields"))]),o,u("",t.bracketSpacing&&y.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[_("name"),": ",_("value")];case"Directive":return["@",_("name"),y.arguments.length>0?a(["(",s([o,n([u("",", "),o],m(e,t,_,"arguments"))]),o,")"]):""];case"NamedType":return _("name");case"VariableDefinition":return[_("variable"),": ",_("type"),y.defaultValue?[" = ",_("defaultValue")]:"",f(e,_,y)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[_("description"),y.description?r:"","ObjectTypeExtension"===y.kind?"extend ":"","type ",_("name"),y.interfaces.length>0?[" implements ",...h(e,t,_)]:"",f(e,_,y),y.fields.length>0?[" {",s([r,n(r,m(e,t,_,"fields"))]),r,"}"]:""];case"FieldDefinition":return[_("description"),y.description?r:"",_("name"),y.arguments.length>0?a(["(",s([o,n([u("",", "),o],m(e,t,_,"arguments"))]),o,")"]):"",": ",_("type"),f(e,_,y)];case"DirectiveDefinition":return[_("description"),y.description?r:"","directive ","@",_("name"),y.arguments.length>0?a(["(",s([o,n([u("",", "),o],m(e,t,_,"arguments"))]),o,")"]):"",y.repeatable?" repeatable":""," on ",n(" | ",e.map(_,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[_("description"),y.description?r:"","EnumTypeExtension"===y.kind?"extend ":"","enum ",_("name"),f(e,_,y),y.values.length>0?[" {",s([r,n(r,m(e,t,_,"values"))]),r,"}"]:""];case"EnumValueDefinition":return[_("description"),y.description?r:"",_("name"),f(e,_,y)];case"InputValueDefinition":return[_("description"),y.description?y.description.block?r:i:"",_("name"),": ",_("type"),y.defaultValue?[" = ",_("defaultValue")]:"",f(e,_,y)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[_("description"),y.description?r:"","InputObjectTypeExtension"===y.kind?"extend ":"","input ",_("name"),f(e,_,y),y.fields.length>0?[" {",s([r,n(r,m(e,t,_,"fields"))]),r,"}"]:""];case"SchemaExtension":return["extend schema",f(e,_,y),...y.operationTypes.length>0?[" {",s([r,n(r,m(e,t,_,"operationTypes"))]),r,"}"]:[]];case"SchemaDefinition":return[_("description"),y.description?r:"","schema",f(e,_,y)," {",y.operationTypes.length>0?s([r,n(r,m(e,t,_,"operationTypes"))]):"",r,"}"];case"OperationTypeDefinition":return[_("operation"),": ",_("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[_("description"),y.description?r:"","InterfaceTypeExtension"===y.kind?"extend ":"","interface ",_("name"),y.interfaces.length>0?[" implements ",...h(e,t,_)]:"",f(e,_,y),y.fields.length>0?[" {",s([r,n(r,m(e,t,_,"fields"))]),r,"}"]:""];case"FragmentSpread":return["...",_("name"),f(e,_,y)];case"InlineFragment":return["...",y.typeCondition?[" on ",_("typeCondition")]:"",f(e,_,y)," ",_("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return a([_("description"),y.description?r:"",a(["UnionTypeExtension"===y.kind?"extend ":"","union ",_("name"),f(e,_,y),y.types.length>0?[" =",u(""," "),s([u([i," "]),n([i,"| "],e.map(_,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[_("description"),y.description?r:"","ScalarTypeExtension"===y.kind?"extend ":"","scalar ",_("name"),f(e,_,y)];case"NonNullType":return[_("type"),"!"];case"ListType":return["[",_("type"),"]"];default:throw Error("unknown graphql type: "+JSON.stringify(y.kind))}},massageAstNode:y,hasPrettierIgnore:function(e){var t;let n=e.getValue();return null==n||null===(t=n.comments)||void 0===t?void 0:t.some(e=>"prettier-ignore"===e.value.trim())},insertPragma:_,printComment:function(e){let t=e.getValue();if("Comment"===t.kind)return"#"+t.value.trimEnd();throw Error("Not a comment: "+JSON.stringify(t))},canAttachComment:function(e){return e.kind&&"Comment"!==e.kind}}}}),rN=b({"src/language-graphql/options.js"(e,t){T();var n=nZ();t.exports={bracketSpacing:n.bracketSpacing}}}),rM=b({"src/language-graphql/parsers.js"(){T()}}),rk=b({"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}}}),rI=b({"src/language-graphql/index.js"(e,t){T();var n=tU(),r=rC(),i=rN(),o=rM(),a=[n(rk(),()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))];t.exports={languages:a,options:i,printers:{graphql:r},parsers:o}}}),rj=b({"node_modules/collapse-white-space/index.js"(e,t){T(),t.exports=function(e){return String(e).replace(/\s+/g," ")}}}),rO=b({"src/language-markdown/loc.js"(e,t){T(),t.exports={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}}}}),rP=b({"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]"}}}),rF=b({"src/language-markdown/utils.js"(e,t){T();var{getLast:n}=ep(),{locStart:r,locEnd:i}=rO(),{cjkPattern:o,kPattern:a,punctuationPattern:s}=rP(),u=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],l=[...u,"tableCell","paragraph","heading"],c=new RegExp(a),_=new RegExp(s);function p(e,t){let[,n,r,i]=t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:n,marker:r,leadingSpaces:i}}t.exports={mapAst:function(e,t){return function e(n,r,i){let o=Object.assign({},t(n,r,i));return o.children&&(o.children=o.children.map((t,n)=>e(t,n,[o,...i]))),o}(e,null,[])},splitText:function(e,t){let r="non-cjk",i="cj-letter",a="cjk-punctuation",s=[],u=("preserve"===t.proseWrap?e:e.replace(RegExp(`(${o}) +(${o})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(let[e,t]of u.entries()){if(e%2==1){s.push({type:"whitespace",value:/\n/.test(t)?` +`:" "});continue}if((0===e||e===u.length-1)&&""===t)continue;let p=t.split(RegExp(`(${o})`));for(let[e,t]of p.entries())if(!((0===e||e===p.length-1)&&""===t)){if(e%2==0){""!==t&&l({type:"word",value:t,kind:r,hasLeadingPunctuation:_.test(t[0]),hasTrailingPunctuation:_.test(n(t))});continue}l(_.test(t)?{type:"word",value:t,kind:a,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:t,kind:c.test(t)?"k-letter":i,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return s;function l(e){let t=n(s);!t||"word"!==t.type||((t.kind!==r||e.kind!==i||t.hasTrailingPunctuation)&&(t.kind!==i||e.kind!==r||e.hasLeadingPunctuation)?t.kind===r&&e.kind===a||t.kind===a&&e.kind===r||[t.value,e.value].some(e=>/\u3000/.test(e))||s.push({type:"whitespace",value:""}):s.push({type:"whitespace",value:" "})),s.push(e)}},punctuationPattern:s,getFencedCodeBlockValue:function(e,t){let{value:n}=e;return e.position.end.offset===t.length&&n.endsWith(` +`)&&t.endsWith(` +`)?n.slice(0,-1):n},getOrderedListItemInfo:p,hasGitDiffFriendlyOrderedList:function(e,t){if(!e.ordered||e.children.length<2)return!1;let n=Number(p(e.children[0],t.originalText).numberText),r=Number(p(e.children[1],t.originalText).numberText);if(0===n&&e.children.length>2){let n=Number(p(e.children[2],t.originalText).numberText);return 1===r&&1===n}return 1===r},INLINE_NODE_TYPES:u,INLINE_NODE_WRAPPER_TYPES:l,isAutolink:function(e){if((null==e?void 0:e.type)!=="link"||1!==e.children.length)return!1;let[t]=e.children;return r(e)===r(t)&&i(e)===i(t)}}}}),rL=b({"src/language-markdown/embed.js"(e,t){T();var{inferParserByLanguage:n,getMaxContinuousCount:r}=ep(),{builders:{hardline:i,markAsRoot:o},utils:{replaceEndOfLine:a}}=$(),s=n9(),{getFencedCodeBlockValue:u}=rF();t.exports=function(e,t,l,c){let _=e.getValue();if("code"===_.type&&null!==_.lang){let e=n(_.lang,c);if(e){let t=c.__inJsTemplate?"~":"`",n=t.repeat(Math.max(3,r(_.value,t)+1)),s={parser:e};"tsx"===_.lang&&(s.filepath="dummy.tsx");let p=l(u(_,c.originalText),s,{stripTrailingHardline:!0});return o([n,_.lang,_.meta?" "+_.meta:"",i,a(p),i,n])}}switch(_.type){case"front-matter":return s(_,l);case"importExport":return[l(_.value,{parser:"babel"},{stripTrailingHardline:!0}),i];case"jsx":return l(`<$>${_.value}`,{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}}}),rz=b({"src/language-markdown/pragma.js"(e,t){T();var n=rt(),r=["format","prettier"];function i(e){let t=`@(${r.join("|")})`,n=RegExp(`|{\\s*\\/\\*\\s*${t}\\s*\\*\\/\\s*}|`,"m"),i=e.match(n);return(null==i?void 0:i.index)===0}t.exports={startWithPragma:i,hasPragma:e=>i(n(e).content.trimStart()),insertPragma:e=>{let t=n(e),i=``;return t.frontMatter?`${t.frontMatter.raw} + +${i} + +${t.content}`:`${i} + +${t.content}`}}}}),rR=b({"src/language-markdown/print-preprocess.js"(e,t){T();var n=M(),{getOrderedListItemInfo:r,mapAst:i,splitText:o}=rF(),a=/^.$/su;function s(e,t,r){return i(e,e=>{if(!e.children)return e;let i=e.children.reduce((e,i)=>{let o=n(e);return o&&t(o,i)?e.splice(-1,1,r(o,i)):e.push(i),e},[]);return Object.assign(Object.assign({},e),{},{children:i})})}t.exports=function(e,t){var n,u,l,c;return l=e=function(e,t){return i(e,(e,i,o)=>{if("list"===e.type&&e.children.length>0){for(let t=0;t1)return!0;let a=n(i);return -1!==a&&(1===e.children.length?a%t.tabWidth==0:a===n(o)&&(a%t.tabWidth==0||r(o,t.originalText).leadingSpaces.length>1))}(e)}return e});function n(e){return 0===e.children.length?-1:e.children[0].position.start.column-1}}((n=e=s(e=i(e,e=>"text"===e.type&&"*"!==e.value&&"_"!==e.value&&a.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)=>"text"===e.type&&"text"===t.type,(e,t)=>({type:"text",value:e.value+t.value,position:{start:e.position.start,end:t.position.end}})),u=e=i(n,e=>"inlineCode"!==e.type||"preserve"===t.proseWrap?e:Object.assign(Object.assign({},e),{},{value:e.value.replace(/\s+/g," ")})),e=i(u,(e,n,r)=>{if("code"===e.type){let n=/^\n?(?: {4,}|\t)/.test(t.originalText.slice(e.position.start.offset,e.position.end.offset));if(e.isIndented=n,n)for(let e=0;e{let[i]=r;if("text"!==e.type)return e;let{value:a}=e;return"paragraph"===i.type&&(0===n&&(a=a.trimStart()),n===i.children.length-1&&(a=a.trimEnd())),{type:"sentence",position:e.position,children:o(a,t)}}),e=s(e=i(c,e=>"import"!==e.type&&"export"!==e.type?e:Object.assign(Object.assign({},e),{},{type:"importExport"})),(e,t)=>"importExport"===e.type&&"importExport"===t.type,(e,t)=>({type:"importExport",value:e.value+` + +`+t.value,position:{start:e.position.start,end:t.position.end}}))}}}),rB=b({"src/language-markdown/clean.js"(e,t){T();var n=rj(),{isFrontMatterNode:r}=ep(),{startWithPragma:i}=rz(),o=new Set(["position","raw"]);function a(e,t,o){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=n(e.label)),("definition"===e.type||"link"===e.type||"image"===e.type)&&e.title&&(t.title=e.title.replace(/\\(["')])/g,"$1")),o&&"root"===o.type&&o.children.length>0&&(o.children[0]===e||r(o.children[0])&&o.children[1]===e)&&"html"===e.type&&i(e.value)))return null}a.ignoredProperties=o,t.exports=a}}),rU=b({"src/language-markdown/printer-markdown.js"(e,t){T();var n=rj(),{getLast:r,getMinNotPresentContinuousCount:i,getMaxContinuousCount:o,getStringWidth:a,isNonEmptyArray:s}=ep(),{builders:{breakParent:u,join:l,line:c,literalline:_,markAsRoot:p,hardline:d,softline:f,ifBreak:m,fill:h,align:y,indent:g,group:b,hardlineWithoutBreakParent:v},utils:{normalizeDoc:x,replaceTextEndOfLine:D},printer:{printDocToString:S}}=$(),E=rL(),{insertPragma:w}=rz(),{locStart:A,locEnd:C}=rO(),N=rR(),M=rB(),{getFencedCodeBlockValue:k,hasGitDiffFriendlyOrderedList:I,splitText:j,punctuationPattern:O,INLINE_NODE_TYPES:P,INLINE_NODE_WRAPPER_TYPES:F,isAutolink:L}=rF(),z=new Set(["importExport"]),R=["heading","tableCell","link","wikiLink"],B=new Set(["listItem","definition","footnoteDefinition"]);function U(e,t,n,r){let i=e.getValue(),o=null===i.checked?"":i.checked?"[x] ":"[ ] ";return[o,q(e,t,n,{processor:(e,i)=>{var a;if(0===i&&"list"!==e.getValue().type)return y(" ".repeat(o.length),n());let s=" ".repeat((a=t.tabWidth-r.length)<0?0:a>3?3:a);return[s,y(s,n())]}})]}function J(e,t){return function(e,t,n){let r=-1;for(let i of t.children)if(i.type===e.type&&n(i)?r++:r=-1,i===e)return r}(e,t,t=>t.ordered===e.ordered)}function K(e,t){let n=Array.isArray(t)?t:[t],r=-1,i;for(;i=e.getParentNode(++r);)if(n.includes(i.type))return r;return -1}function V(e,t){let n=K(e,t);return -1===n?null:e.getParentNode(n)}function Y(e,t,n){if("preserve"===n.proseWrap&&t===` +`)return d;let r="always"===n.proseWrap&&!V(e,R);return""!==t?r?c:" ":r?f:""}function q(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},{postprocessor:i}=r,o=r.processor||(()=>n()),a=e.getValue(),s=[],u;return e.each((e,n)=>{let r=e.getValue(),i=o(e,n);if(!1!==i){var l,c,_;let e,n,o,p,f,m,h,y,g,b={parts:s,prevNode:u,parentNode:a,options:t};e=0===b.parts.length,n=P.includes(r.type),o="html"===r.type&&F.includes(b.parentNode.type),e||n||o||(s.push(d),u&&z.has(u.type)||(p=(b.prevNode&&b.prevNode.type)===r.type&&B.has(r.type),f="listItem"===b.parentNode.type&&!b.parentNode.loose,m=(null===(l=b.prevNode)||void 0===l?void 0:l.type)==="listItem"&&b.prevNode.loose,h="next"===Q(b.prevNode),y="html"===r.type&&(null===(c=b.prevNode)||void 0===c?void 0:c.type)==="html"&&b.prevNode.position.end.line+1===r.position.start.line,g="html"===r.type&&"listItem"===b.parentNode.type&&(null===(_=b.prevNode)||void 0===_?void 0:_.type)==="paragraph"&&b.prevNode.position.end.line+1===r.position.start.line,(m||!(p||f||h||y||g)||H(r,b))&&s.push(d)),H(r,b)&&s.push(d)),s.push(i),u=r}},"children"),i?i(s):s}function W(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 Q(e){let t;if("html"===e.type)t=e.value.match(/^$/);else{let n;"esComment"===e.type?n=e:"paragraph"===e.type&&1===e.children.length&&"esComment"===e.children[0].type&&(n=e.children[0]),n&&(t=n.value.match(/^prettier-ignore(?:-(start|end))?$/))}return!!t&&(t[1]||"next")}function H(e,t){let n=t.prevNode&&"list"===t.prevNode.type,r="code"===e.type&&e.isIndented;return n&&r}function G(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[" ",...Array.isArray(t)?t:[t]];return new RegExp(n.map(e=>`\\${e}`).join("|")).test(e)?`<${e}>`:e}function Z(e,t){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!e)return"";if(n)return" "+Z(e,t,!1);if((e=e.replace(/\\(["')])/g,"$1")).includes('"')&&e.includes("'")&&!e.includes(")"))return`(${e})`;let r=e.split("'").length-1,i=e.split('"').length-1,o=r>i?'"':i>r||t.singleQuote?"'":'"';return`${o}${e=(e=e.replace(/\\/,"\\\\")).replace(RegExp(`(${o})`,"g"),"\\$1")}${o}`}function X(e){return`[${n(e.label)}]`}function ee(e){return`[^${e.label}]`}t.exports={preprocess:N,print:function(e,t,n){let T,E=e.getValue();if((T=V(e,["linkReference","imageReference"]))&&("linkReference"!==T.type||"full"!==T.referenceType))return j(t.originalText.slice(E.position.start.offset,E.position.end.offset),t).map(n=>"word"===n.type?n.value:""===n.value?"":Y(e,n.value,t));switch(E.type){case"front-matter":return t.originalText.slice(E.position.start.offset,E.position.end.offset);case"root":return 0===E.children.length?"":[x(function(e,t,n){let r=[],i=null,{children:o}=e.getValue();for(let[e,t]of o.entries())switch(Q(t)){case"start":null===i&&(i={index:e,offset:t.position.end.offset});break;case"end":null!==i&&(r.push({start:i,end:{index:e,offset:t.position.start.offset}}),i=null)}return q(e,t,n,{processor:(e,i)=>{if(r.length>0){let e=r[0];if(i===e.start.index)return[W(o[e.start.index]),t.originalText.slice(e.start.offset,e.end.offset),W(o[e.end.index])];if(e.start.index(n?`${t}${n}`:`${r}${i}`).replace(/_/g,"\\_")),n=(e,t,n)=>"sentence"===e.type&&0===n,r=(e,t,n)=>L(e.children[n-1]);return t!==E.value&&(e.match(void 0,n,r)||e.match(void 0,n,(e,t,n)=>"emphasis"===e.type&&0===n,r))&&(t=t.replace(/^(\\?[*_])+/,e=>e.replace(/\\/g,""))),t}case"whitespace":{let n=e.getParentNode(),r=n.children.indexOf(E),i=n.children[r+1],o=i&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(i.value)?"never":t.proseWrap;return Y(e,E.value,{proseWrap:o})}case"emphasis":{let i;if(L(E.children[0]))i=t.originalText[E.position.start.offset];else{let t=e.getParentNode(),n=t.children.indexOf(E),o=t.children[n-1],a=t.children[n+1];i=o&&"sentence"===o.type&&o.children.length>0&&"word"===r(o.children).type&&!r(o.children).hasTrailingPunctuation||a&&"sentence"===a.type&&a.children.length>0&&"word"===a.children[0].type&&!a.children[0].hasLeadingPunctuation||V(e,"emphasis")?"*":"_"}return[i,q(e,t,n),i]}case"strong":return["**",q(e,t,n),"**"];case"delete":return["~~",q(e,t,n),"~~"];case"inlineCode":{let e=i(E.value,"`"),t="`".repeat(e||1),n=e&&!/^\s/.test(E.value)?" ":"";return[t,n,E.value,n,t]}case"wikiLink":return["[[","preserve"===t.proseWrap?E.value:E.value.replace(/[\t\n]+/g," "),"]]"];case"link":switch(t.originalText[E.position.start.offset]){case"<":{let e="mailto:";return["<",E.url.startsWith(e)&&t.originalText.slice(E.position.start.offset+1,E.position.start.offset+1+e.length)!==e?E.url.slice(e.length):E.url,">"]}case"[":return["[",q(e,t,n),"](",G(E.url,")"),Z(E.title,t),")"];default:return t.originalText.slice(E.position.start.offset,E.position.end.offset)}case"image":return["![",E.alt||"","](",G(E.url,")"),Z(E.title,t),")"];case"blockquote":return["> ",y("> ",q(e,t,n))];case"heading":return["#".repeat(E.depth)+" ",q(e,t,n)];case"code":{if(E.isIndented){let e=" ".repeat(4);return y(e,[e,...D(E.value,d)])}let e=t.__inJsTemplate?"~":"`",n=e.repeat(Math.max(3,o(E.value,e)+1));return[n,E.lang||"",E.meta?" "+E.meta:"",d,...D(k(E,t.originalText),d),d,n]}case"html":{let t=e.getParentNode(),n="root"===t.type&&r(t.children)===E?E.value.trimEnd():E.value,i=/^$/s.test(n);return D(n,i?d:p(_))}case"list":{let r=J(E,e.getParentNode()),i=I(E,t);return q(e,t,n,{processor:(e,o)=>{let a,s,u;let l=(a=E.ordered?(0===o?E.start:i?1:E.start+o)+(r%2==0?". ":") "):r%2==0?"- ":"* ",E.isAligned||E.hasIndentedCodeblock?(u=0==(s=a.length%t.tabWidth)?0:t.tabWidth-s,a+" ".repeat(u>=4?0:u)):a),c=e.getValue();return 2===c.children.length&&"html"===c.children[1].type&&c.children[0].position.start.column!==c.children[1].position.start.column?[l,U(e,t,n,l)]:[l,y(" ".repeat(l.length),U(e,t,n,l))]}})}case"thematicBreak":{let t=K(e,"list");return -1===t?"---":J(e.getParentNode(t),e.getParentNode(t+1))%2==0?"***":"---"}case"linkReference":return["[",q(e,t,n),"]","full"===E.referenceType?X(E):"collapsed"===E.referenceType?"[]":""];case"imageReference":if("full"===E.referenceType)return["![",E.alt||"","]",X(E)];return["![",E.alt,"]","collapsed"===E.referenceType?"[]":""];case"definition":{let e="always"===t.proseWrap?c:" ";return b([X(E),":",g([e,G(E.url),null===E.title?"":[e,Z(E.title,t,!1)]])])}case"footnote":return["[^",q(e,t,n),"]"];case"footnoteReference":return ee(E);case"footnoteDefinition":{let r=e.getParentNode().children[e.getName()+1],i=1===E.children.length&&"paragraph"===E.children[0].type&&("never"===t.proseWrap||"preserve"===t.proseWrap&&E.children[0].position.start.line===E.children[0].position.end.line);return[ee(E),": ",i?q(e,t,n):b([y(" ".repeat(4),q(e,t,n,{processor:(e,t)=>0===t?b([f,n()]):n()})),r&&"footnoteDefinition"===r.type?f:""])]}case"table":return function(e,t,n){let r=e.getValue(),i=[],o=e.map(e=>e.map((e,r)=>{let o=S(n(),t).formatted,s=a(o);return i[r]=Math.max(i[r]||3,s),{text:o,width:s}},"children"),"children"),s=c(!1);if("never"!==t.proseWrap)return[u,s];return[u,b(m(c(!0),s))];function c(e){let t=[_(o[0],e),`| ${i.map((t,n)=>{let i=r.align[n];return`${"center"===i||"left"===i?":":"-"}${e?"-":"-".repeat(t-2)}${"center"===i||"right"===i?":":"-"}`}).join(" | ")} |`];return o.length>1&&t.push(l(v,o.slice(1).map(t=>_(t,e)))),l(v,t)}function _(e,t){return`| ${e.map((e,n)=>{let{text:o,width:a}=e;if(t)return o;let s=i[n]-a,u=r.align[n],l=0;return"right"===u?l=s:"center"===u&&(l=Math.floor(s/2)),`${" ".repeat(l)}${o}${" ".repeat(s-l)}`}).join(" | ")} |`}}(e,t,n);case"tableCell":return q(e,t,n);case"break":return/\s/.test(t.originalText[E.position.start.offset])?[" ",p(_)]:["\\",d];case"liquidNode":return D(E.value,d);case"importExport":return[E.value,d];case"esComment":return["{/* ",E.value," */}"];case"jsx":return E.value;case"math":return["$$",d,E.value?[...D(E.value,d),d]:"","$$"];case"inlineMath":return t.originalText.slice(A(E),C(E));default:throw Error(`Unknown markdown type ${JSON.stringify(E.type)}`)}},embed:E,massageAstNode:M,hasPrettierIgnore:function(e){let t=Number(e.getName());return 0!==t&&"next"===Q(e.getParentNode().children[t-1])},insertPragma:w}}}),rJ=b({"src/language-markdown/options.js"(e,t){T();var n=nZ();t.exports={proseWrap:n.proseWrap,singleQuote:n.singleQuote}}}),r$=b({"src/language-markdown/parsers.js"(){T()}}),rK=b({"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}}}),rV=b({"src/language-markdown/index.js"(e,t){T();var n=tU(),r=rU(),i=rJ(),o=r$(),a=[n(rK(),e=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...e.filenames,"README"],extensions:e.extensions.filter(e=>".mdx"!==e)})),n(rK(),()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))];t.exports={languages:a,options:i,printers:{mdast:r},parsers:o}}}),rY=b({"src/language-html/clean.js"(e,t){T();var{isFrontMatterNode:n}=ep(),r=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function i(e,t){if("text"===e.type||"comment"===e.type||n(e)||"yaml"===e.type||"toml"===e.type)return null;"attribute"===e.type&&delete t.value,"docType"===e.type&&delete t.value}i.ignoredProperties=r,t.exports=i}}),rq=b({"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"}}}),rW=b({"src/language-html/utils/is-unknown-namespace.js"(e,t){T(),t.exports=function(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}}}),rQ=b({"src/language-html/utils/index.js"(e,t){T();var{inferParserByLanguage:n,isFrontMatterNode:r}=ep(),{builders:{line:i,hardline:o,join:a},utils:{getDocParts:s,replaceTextEndOfLine:u}}=$(),{CSS_DISPLAY_TAGS:l,CSS_DISPLAY_DEFAULT:c,CSS_WHITE_SPACE_TAGS:_,CSS_WHITE_SPACE_DEFAULT:p}=rq(),d=rW(),f=new Set([" ",` +`,"\f","\r"," "]),m=e=>e.replace(/^[\t\n\f\r ]+/,""),h=e=>e.replace(/[\t\n\f\r ]+$/,""),y=e=>e.replace(/^[\t\f\r ]*\n/g,""),g=e=>y(h(e)),b=e=>e.split(/[\t\n\f\r ]+/),v=e=>e.match(/^[\t\n\f\r ]*/)[0];function x(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||d(e)&&("script"===e.name||"style"===e.name))}function D(e){return I(e).startsWith("pre")}function S(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 C(e)||"element"===e.type&&"br"===e.fullName||w(e)&&A(e)}function w(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function C(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function N(e){let{type:t,lang:n}=e.attrMap;return"module"===t||"text/javascript"===t||"text/babel"===t||"application/javascript"===t||"jsx"===n?"babel":"application/x-typescript"===t||"ts"===n||"tsx"===n?"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 M(e){return"block"===e||"list-item"===e||e.startsWith("table")}function k(e){return I(e).startsWith("pre")}function I(e){return"element"===e.type&&(!e.namespace||d(e))&&_[e.name]||p}function j(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){let t=Number.POSITIVE_INFINITY;for(let n of e.split(` +`)){if(0===n.length)continue;if(!f.has(n[0]))return 0;let e=v(n).length;n.length!==e&&ee.slice(t)).join(` +`)}var O=new Set(["template","style","script"]);function P(e,t){return F(e,t)&&!O.has(e.fullName)}function F(e,t){return"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&"html"!==e.fullName.toLowerCase()}function L(e,t){return F(e,t)&&(P(e,t)||e.attrMap.lang&&"html"!==e.attrMap.lang)}t.exports={htmlTrim:e=>m(h(e)),htmlTrimPreserveIndentation:g,hasHtmlWhitespace:e=>/[\t\n\f\r ]/.test(e),getLeadingAndTrailingHtmlWhitespace:e=>{let[,t,n,r]=e.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:t,trailingWhitespace:r,text:n}},canHaveInterpolation:function(e){return e.children&&!x(e)},countChars:function(e,t){let n=0;for(let r=0;r=0;r--){let i=e.stack[r];i&&"object"==typeof i&&!Array.isArray(i)&&t(i)&&n++}return n},dedentString:j,forceBreakChildren:S,forceBreakContent:function(e){return S(e)||"element"===e.type&&e.children.length>0&&(["body","script","style"].includes(e.name)||e.children.some(e=>e.children&&e.children.some(e=>"text"!==e.type)))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&w(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||A(e.lastChild))},forceNextEmptyLine:function(e){return r(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1"svg:foreignObject"===e.fullName))return"svg"===e.name?"inline-block":"block";n=!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||n||d(e))&&l[e.name]||c}},getNodeCssStyleWhiteSpace:I,hasPrettierIgnore:function(e){var t;return"attribute"!==e.type&&!!e.parent&&!!e.prev&&"comment"===(t=e.prev).type&&"prettier-ignore"===t.value.trim()},inferScriptParser:function(e,t){return"script"!==e.name||e.attrMap.src?"style"===e.name?function(e,t){let{lang:r}=e.attrMap;return r&&"postcss"!==r&&"css"!==r?"scss"===r?"scss":"less"===r?"less":"stylus"===r?n("stylus",t):void 0:"css"}(e,t):t&&L(e,t)?N(e)||!("src"in e.attrMap)&&n(e.attrMap.lang,t):void 0:e.attrMap.lang||e.attrMap.type?N(e):"babel"},isVueCustomBlock:P,isVueNonHtmlBlock:L,isVueScriptTag:function(e,t){return F(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 n=e.parent;if(!F(n,t))return!1;let r=n.fullName,i=e.fullName;return"script"===r&&"setup"===i||"style"===r&&"vars"===i},isVueSfcBlock:F,isDanglingSpaceSensitiveNode:function(e){var t;return!M(t=e.cssDisplay)&&"inline-block"!==t&&!x(e)},isIndentationSensitiveNode:D,isLeadingSpaceSensitiveNode:function(e,t){var n;let i=!r(e)&&(("text"===e.type||"interpolation"===e.type)&&!!e.prev&&("text"===e.prev.type||"interpolation"===e.prev.type)||!!e.parent&&"none"!==e.parent.cssDisplay&&(!!k(e.parent)||!(!e.prev&&("root"===e.parent.type||k(e)&&e.parent||x(e.parent)||P(e.parent,t)||!(!M(n=e.parent.cssDisplay)&&"inline-block"!==n))||e.prev&&M(e.prev.cssDisplay))));return i&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:i},isPreLikeNode:k,isScriptLikeTag:x,isTextLikeNode:function(e){return"text"===e.type||"comment"===e.type},isTrailingSpaceSensitiveNode:function(e,t){var n;return!r(e)&&(("text"===e.type||"interpolation"===e.type)&&!!e.next&&("text"===e.next.type||"interpolation"===e.next.type)||!!e.parent&&"none"!==e.parent.cssDisplay&&(!!k(e.parent)||!(!e.next&&("root"===e.parent.type||k(e)&&e.parent||x(e.parent)||P(e.parent,t)||!(!M(n=e.parent.cssDisplay)&&"inline-block"!==n))||e.next&&M(e.next.cssDisplay))))},isWhitespaceSensitiveNode:function(e){return x(e)||"interpolation"===e.type||D(e)},isUnknownNamespace:d,preferHardlineAsLeadingSpaces:function(e){return C(e)||e.prev&&E(e.prev)||w(e)&&A(e)},preferHardlineAsTrailingSpaces:E,shouldPreserveContent:function(e,t){return!!("ieConditionalComment"===e.type&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||"ieConditionalComment"===e.type&&!e.complete||k(e)&&e.children.some(e=>"text"!==e.type&&"interpolation"!==e.type)||L(e,t)&&!x(e)&&"interpolation"!==e.type)},unescapeQuoteEntities:function(e){return e.replace(/'/g,"'").replace(/"/g,'"')},getTextValueParts:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.value;return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?u(t):u(j(g(t)),o):s(a(i,b(t)))}}}}),rH=b({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(e){function t(t){return e.$0<=t&&t<=e.$9}T(),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(n){return n>=e.$a&&n<=e.$f||n>=e.$A&&n<=e.$F||t(n)},e.isNewLine=function(t){return t===e.$LF||t===e.$CR},e.isOctalDigit=function(t){return e.$0<=t&&t<=e.$7}}}),rG=b({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(e){T(),Object.defineProperty(e,"__esModule",{value:!0});var t=class{constructor(e,t,n){this.filePath=e,this.name=t,this.members=n}assertNoMembers(){if(this.members.length)throw Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};e.StaticSymbol=t;var n=class{constructor(){this.cache=new Map}get(e,n,r){let i=`"${e}".${n}${(r=r||[]).length?`.${r.join(".")}`:""}`,o=this.cache.get(i);return o||(o=new t(e,n,r),this.cache.set(i,o)),o}};e.StaticSymbolCache=n}}),rZ=b({"node_modules/angular-html-parser/lib/compiler/src/util.js"(e){T(),Object.defineProperty(e,"__esModule",{value:!0});var t=/-+([a-z0-9])/g;function n(e,t,n){let r=e.indexOf(t);return -1==r?n:[e.slice(0,r).trim(),e.slice(r+1).trim()]}function r(e,t,n){return Array.isArray(e)?t.visitArray(e,n):"object"==typeof e&&null!==e&&Object.getPrototypeOf(e)===s?t.visitStringMap(e,n):null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e?t.visitPrimitive(e,n):t.visitOther(e,n)}e.dashCaseToCamelCase=function(e){return e.replace(t,function(){for(var e=arguments.length,t=Array(e),n=0;nr(e,this,t))}visitStringMap(e,t){let n={};return Object.keys(e).forEach(i=>{n[i]=r(e[i],this,t)}),n}visitPrimitive(e,t){return e}visitOther(e,t){return e}};e.ValueTransformer=i,e.SyncAsync={assertSync:e=>{if(u(e))throw Error("Illegal state: value cannot be a promise");return e},then:(e,t)=>u(e)?e.then(t):t(e),all:e=>e.some(u)?Promise.all(e):e},e.error=function(e){throw Error(`Internal Error: ${e}`)},e.syntaxError=function(e,t){let n=Error(e);return n[o]=!0,t&&(n[a]=t),n};var o="ngSyntaxError",a="ngParseErrors";e.isSyntaxError=function(e){return e[o]},e.getParseErrors=function(e){return e[a]||[]},e.escapeRegExp=function(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")};var s=Object.getPrototypeOf({});function u(e){return!!e&&"function"==typeof e.then}e.utf8Encode=function(e){let t="";for(let n=0;n=55296&&r<=56319&&e.length>n+1){let t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(n++,r=(r-55296<<10)+t-56320+65536)}r<=127?t+=String.fromCharCode(r):r<=2047?t+=String.fromCharCode(r>>6&31|192,63&r|128):r<=65535?t+=String.fromCharCode(r>>12|224,r>>6&63|128,63&r|128):r<=2097151&&(t+=String.fromCharCode(r>>18&7|240,r>>12&63|128,r>>6&63|128,63&r|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 n=t.toString();if(null==n)return""+n;let r=n.indexOf(` +`);return -1===r?n:n.substring(0,r)},e.resolveForwardRef=function(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e},e.isPromise=u,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="u">typeof window&&window,c="u">typeof self&&"u">typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,_="u">typeof globalThis&&globalThis;e.global=_||l||c}}),rX=b({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(e){T(),Object.defineProperty(e,"__esModule",{value:!0});var t,n,r=rG(),i=rZ(),o=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function a(e){return e.replace(/\W/g,"_")}e.sanitizeIdentifier=a;var s=0;function u(e){if(!e||!e.reference)return null;let t=e.reference;if(t instanceof r.StaticSymbol)return t.name;if(t.__anonymousType)return t.__anonymousType;let n=i.stringify(t);return n.indexOf("(")>=0?(n=`anonymous_${s++}`,t.__anonymousType=n):n=a(n),n}e.identifierName=u,e.identifierModuleUrl=function(e){let t=e.reference;return t instanceof r.StaticSymbol?t.filePath:`./${i.stringify(t)}`},e.viewClassName=function(e,t){return`View_${u({reference:e})}_${t}`},e.rendererTypeName=function(e){return`RenderType_${u({reference:e})}`},e.hostViewClassName=function(e){return`HostView_${u({reference:e})}`},e.componentFactoryName=function(e){return`${u({reference:e})}NgFactory`},(t=n=e.CompileSummaryKind||(e.CompileSummaryKind={}))[t.Pipe=0]="Pipe",t[t.Directive=1]="Directive",t[t.NgModule=2]="NgModule",t[t.Injectable=3]="Injectable",e.tokenName=function(e){return null!=e.value?a(e.value):u(e.identifier)},e.tokenReference=function(e){return null!=e.identifier?e.identifier.reference:e.value};var l=class{constructor(){let{moduleUrl:e,styles:t,styleUrls:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.moduleUrl=e||null,this.styles=m(t),this.styleUrls=m(n)}};e.CompileStylesheetMetadata=l;var c=class{constructor(e){let{encapsulation:t,template:n,templateUrl:r,htmlAst:i,styles:o,styleUrls:a,externalStylesheets:s,animations:u,ngContentSelectors:l,interpolation:c,isInline:_,preserveWhitespaces:p}=e;if(this.encapsulation=t,this.template=n,this.templateUrl=r,this.htmlAst=i,this.styles=m(o),this.styleUrls=m(a),this.externalStylesheets=m(s),this.animations=u?h(u):[],this.ngContentSelectors=l||[],c&&2!=c.length)throw Error("'interpolation' should have a start and an end symbol.");this.interpolation=c,this.isInline=_,this.preserveWhitespaces=p}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};e.CompileTemplateMetadata=c;var _=class{static create(e){let{isHost:t,type:n,isComponent:r,selector:a,exportAs:s,changeDetection:u,inputs:l,outputs:c,host:p,providers:d,viewProviders:f,queries:m,guards:h,viewQueries:y,entryComponents:g,template:b,componentViewType:v,rendererType:x,componentFactory:D}=e,S={},T={},E={};null!=p&&Object.keys(p).forEach(e=>{let t=p[e],n=e.match(o);null===n?E[e]=t:null!=n[1]?T[n[1]]=t:null!=n[2]&&(S[n[2]]=t)});let w={};null!=l&&l.forEach(e=>{let t=i.splitAtColon(e,[e,e]);w[t[0]]=t[1]});let A={};return null!=c&&c.forEach(e=>{let t=i.splitAtColon(e,[e,e]);A[t[0]]=t[1]}),new _({isHost:t,type:n,isComponent:!!r,selector:a,exportAs:s,changeDetection:u,inputs:w,outputs:A,hostListeners:S,hostProperties:T,hostAttributes:E,providers:d,viewProviders:f,queries:m,guards:h,viewQueries:y,entryComponents:g,template:b,componentViewType:v,rendererType:x,componentFactory:D})}constructor(e){let{isHost:t,type:n,isComponent:r,selector:i,exportAs:o,changeDetection:a,inputs:s,outputs:u,hostListeners:l,hostProperties:c,hostAttributes:_,providers:p,viewProviders:d,queries:f,guards:h,viewQueries:y,entryComponents:g,template:b,componentViewType:v,rendererType:x,componentFactory:D}=e;this.isHost=!!t,this.type=n,this.isComponent=r,this.selector=i,this.exportAs=o,this.changeDetection=a,this.inputs=s,this.outputs=u,this.hostListeners=l,this.hostProperties=c,this.hostAttributes=_,this.providers=m(p),this.viewProviders=m(d),this.queries=m(f),this.guards=h,this.viewQueries=m(y),this.entryComponents=m(g),this.template=b,this.componentViewType=v,this.rendererType=x,this.componentFactory=D}toSummary(){return{summaryKind:n.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=_;var p=class{constructor(e){let{type:t,name:n,pure:r}=e;this.type=t,this.name=n,this.pure=!!r}toSummary(){return{summaryKind:n.Pipe,type:this.type,name:this.name,pure:this.pure}}};e.CompilePipeMetadata=p,e.CompileShallowModuleMetadata=class{};var d=class{constructor(e){let{type:t,providers:n,declaredDirectives:r,exportedDirectives:i,declaredPipes:o,exportedPipes:a,entryComponents:s,bootstrapComponents:u,importedModules:l,exportedModules:c,schemas:_,transitiveModule:p,id:d}=e;this.type=t||null,this.declaredDirectives=m(r),this.exportedDirectives=m(i),this.declaredPipes=m(o),this.exportedPipes=m(a),this.providers=m(n),this.entryComponents=m(s),this.bootstrapComponents=m(u),this.importedModules=m(l),this.exportedModules=m(c),this.schemas=m(_),this.id=d||null,this.transitiveModule=p||null}toSummary(){let e=this.transitiveModule;return{summaryKind:n.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}}};e.CompileNgModuleMetadata=d;var f=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 m(e){return e||[]}function h(e){return e.reduce((e,t)=>{let n=Array.isArray(t)?h(t):t;return e.concat(n)},[])}function y(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}e.TransitiveCompileNgModuleMetadata=f,e.ProviderMeta=class{constructor(e,t){let{useClass:n,useValue:r,useExisting:i,useFactory:o,deps:a,multi:s}=t;this.token=e,this.useClass=n||null,this.useValue=r,this.useExisting=i,this.useFactory=o||null,this.dependencies=a||null,this.multi=!!s}},e.flatten=h,e.templateSourceUrl=function(e,t,n){let i;return i=n.isInline?t.type.reference instanceof r.StaticSymbol?`${t.type.reference.filePath}.${t.type.reference.name}.html`:`${u(e)}/${u(t.type)}.html`:n.templateUrl,t.type.reference instanceof r.StaticSymbol?i:y(i)},e.sharedStylesheetJitUrl=function(e,t){let n=e.moduleUrl.split(/\/\\/g);return y(`css/${t}${n[n.length-1]}.ngstyle.js`)},e.ngModuleJitUrl=function(e){return y(`${u(e.type)}/module.ngfactory.js`)},e.templateJitUrl=function(e,t){return y(`${u(e)}/${u(t.type)}.ngfactory.js`)}}}),r0=b({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(e){T(),Object.defineProperty(e,"__esModule",{value:!0});var t,n,r=rH(),i=rX(),o=class{constructor(e,t,n,r){this.file=e,this.offset=t,this.line=n,this.col=r}toString(){return null!=this.offset?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){let t=this.file.content,n=t.length,i=this.offset,a=this.line,s=this.col;for(;i>0&&e<0;)if(i--,e++,t.charCodeAt(i)==r.$LF){a--;let e=t.substr(0,i-1).lastIndexOf(String.fromCharCode(r.$LF));s=e>0?i-e:i}else s--;for(;i0;){let n=t.charCodeAt(i);i++,e--,n==r.$LF?(a++,s=0):s++}return new o(this.file,i,a,s)}getContext(e,t){let n=this.file.content,r=this.offset;if(null!=r){r>n.length-1&&(r=n.length-1);let i=r,o=0,a=0;for(;o0&&(r--,o++,!(n[r]==` +`&&++a==t)););for(o=0,a=0;o2&&void 0!==arguments[2]?arguments[2]:null;this.start=e,this.end=t,this.details=n}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};e.ParseSourceSpan=s,e.EMPTY_PARSE_LOCATION=new o(new a("",""),0,0,0),e.EMPTY_SOURCE_SPAN=new s(e.EMPTY_PARSE_LOCATION,e.EMPTY_PARSE_LOCATION),(t=n=e.ParseErrorLevel||(e.ParseErrorLevel={}))[t.WARNING=0]="WARNING",t[t.ERROR=1]="ERROR";var u=class{constructor(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n.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}[${n[this.level]} ->]${e.after}")`:this.msg}toString(){return`${this.contextualMessage()}: ${this.span.start}${this.span.details?`, ${this.span.details}`:""}`}};e.ParseError=u,e.typeSourceSpan=function(e,t){let n=i.identifierModuleUrl(t),r=null!=n?`in ${e} ${i.identifierName(t)} in ${n}`:`in ${e} ${i.identifierName(t)}`,u=new a("",r);return new s(new o(u,-1,-1,-1),new o(u,-1,-1,-1))},e.r3JitTypeSourceSpan=function(e,t,n){let r=`in ${e} ${t} in ${n}`,i=new a("",r);return new s(new o(i,-1,-1,-1),new o(i,-1,-1,-1))}}}),r1=b({"src/language-html/print-preprocess.js"(e,t){T();var{ParseSourceSpan:n}=r0(),{htmlTrim:r,getLeadingAndTrailingHtmlWhitespace:i,hasHtmlWhitespace:o,canHaveInterpolation:a,getNodeCssStyleDisplay:s,isDanglingSpaceSensitiveNode:u,isIndentationSensitiveNode:l,isLeadingSpaceSensitiveNode:c,isTrailingSpaceSensitiveNode:_,isWhitespaceSensitiveNode:p,isVueScriptTag:d}=rQ(),f=[function(e){e.walk(e=>{if("element"===e.type&&e.tagDefinition.ignoreFirstLf&&e.children.length>0&&"text"===e.children[0].type&&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 r=0;r{if(e.children)for(let i=0;i"cdata"===e.type,e=>``)},function(e,t){if("html"===t.parser)return;let r=/{{(.+?)}}/s;e.walk(e=>{if(a(e))for(let t of e.children){if("text"!==t.type)continue;let i=t.sourceSpan.start,o=null,a=t.value.split(r);for(let r=0;r0&&e.insertChildBefore(t,{type:"text",value:s,sourceSpan:new n(i,o)});continue}o=i.moveBy(s.length+4),e.insertChildBefore(t,{type:"interpolation",sourceSpan:new n(i,o),children:0===s.length?[]:[{type:"text",value:s,sourceSpan:new n(i.moveBy(2),o.moveBy(-2))}]})}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===r(e.children[0].value).length){e.hasDanglingSpaces=e.children.length>0,e.children=[];return}let t=p(e),o=l(e);if(!t)for(let t=0;t{e.cssDisplay=s(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:n}=e;if(n){if(0===n.length){e.isDanglingSpaceSensitive=u(e);return}for(let e of n)e.isLeadingSpaceSensitive=c(e,t),e.isTrailingSpaceSensitive=_(e,t);for(let e=0;e"element"===e.type&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.type&&!o(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 r=0;r`+i.firstChild.value+``+a.value,o.sourceSpan=new n(o.sourceSpan.start,a.sourceSpan.end),o.isTrailingSpaceSensitive=a.isTrailingSpaceSensitive,o.hasTrailingSpaces=a.hasTrailingSpaces,e.removeChild(i),r--,e.removeChild(a)}})},function(e,t){if("vue"===t.parser){let n=e.children.find(e=>d(e,t));if(!n)return;let{lang:r}=n.attrMap;("ts"===r||"typescript"===r)&&(t.__should_parse_vue_template_with_ts=!0)}}];t.exports=function(e,t){for(let n of f)n(e,t);return e}}}),r2=b({"src/language-html/pragma.js"(e,t){T(),t.exports={hasPragma:function(e){return/^\s*/.test(e)},insertPragma:function(e){return` + +`+e.replace(/^\s*\n/,"")}}}}),r3=b({"src/language-html/loc.js"(e,t){T(),t.exports={locStart:function(e){return e.sourceSpan.start.offset},locEnd:function(e){return e.sourceSpan.end.offset}}}}),r4=b({"src/language-html/print/tag.js"(e,t){T();var n=tj(),{isNonEmptyArray:r}=ep(),{builders:{indent:i,join:o,line:a,softline:s,hardline:u},utils:{replaceTextEndOfLine:l}}=$(),{locStart:c,locEnd:_}=r3(),{isTextLikeNode:p,getLastDescendant:d,isPreLikeNode:f,hasPrettierIgnore:m,shouldPreserveContent:h,isVueSfcBlock:y}=rQ();function g(e,t){return e.lastChild&&A(e.lastChild)?"":[w(e)?D(e.lastChild,t):"",x(e,t)]}function b(e,t){return(e.next?E(e.next):w(e.parent))?"":[D(e,t),v(e,t)]}function v(e,t){return A(e)?x(e.parent,t):C(e)?I(e.next):""}function x(e,t){if(n(!e.isSelfClosing),S(e,t))return"";switch(e.type){case"ieConditionalComment":return"";case"ieConditionalStartComment":return"]>";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function S(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(m(e)||h(e.parent,t))}function E(e){return e.prev&&"docType"!==e.prev.type&&!p(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function w(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!p(d(e.lastChild))&&!f(e)}function A(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&p(d(e))}function C(e){return e.next&&!p(e.next)&&p(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function N(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function M(e,t){return e.prev&&C(e.prev)?"":[k(e,t),I(e)]}function k(e,t){return N(e)?j(e.parent):E(e)?D(e.prev,t):""}function I(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<${e.rawName}`;default:return`<${e.rawName}`}}function j(e){switch(n(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">";default:return">"}}t.exports={printClosingTag:function(e,t){return[e.isSelfClosing?"":g(e,t),b(e,t)]},printClosingTagStart:g,printClosingTagStartMarker:x,printClosingTagEndMarker:D,printClosingTagSuffix:v,printClosingTagEnd:b,needsToBorrowLastChildClosingTagEndMarker:w,needsToBorrowParentClosingTagStartMarker:A,needsToBorrowPrevClosingTagEndMarker:E,printOpeningTag:function(e,t,n){let p=e.getValue();return[M(p,t),function(e,t,n){let p,d=e.getValue();if(!r(d.attrs))return d.isSelfClosing?" ":"";let f=d.prev&&"comment"===d.prev.type&&!!(p=d.prev.value.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s))&&(!p[1]||p[1].split(/\s+/)),m="boolean"==typeof f?()=>f:Array.isArray(f)?e=>f.includes(e.rawName):()=>!1,h=e.map(e=>{let r=e.getValue();return m(r)?l(t.originalText.slice(c(r),_(r))):n()},"attrs"),g="element"===d.type&&"script"===d.fullName&&1===d.attrs.length&&"src"===d.attrs[0].fullName&&0===d.children.length,b=t.singleAttributePerLine&&d.attrs.length>1&&!y(d,t)?u:a,v=[i([g?" ":a,o(b,h)])];return d.firstChild&&N(d.firstChild)||d.isSelfClosing&&w(d.parent)||g?v.push(d.isSelfClosing?" ":""):v.push(t.bracketSameLine?d.isSelfClosing?" ":"":d.isSelfClosing?a:s),v}(e,t,n),p.isSelfClosing?"":p.firstChild&&N(p.firstChild)?"":j(p)]},printOpeningTagStart:M,printOpeningTagPrefix:k,printOpeningTagStartMarker:I,printOpeningTagEndMarker:j,needsToBorrowNextOpeningTagStartMarker:C,needsToBorrowParentOpeningTagEndMarker:N}}}),r6=b({"node_modules/parse-srcset/src/parse-srcset.js"(n,a){T(),i=[],void 0!==(o="function"==typeof(r=function(){return function(e,t){var n=t&&t.logger||console;function r(e){return" "===e||" "===e||e===` +`||"\f"===e||"\r"===e}function i(t){var n,r=t.exec(e.substring(y));if(r)return n=r[0],y+=n.length,n}for(var o,a,s,u,l,c=e.length,_=/^[ \t\n\r\u000c]+/,p=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,f=/[,]+$/,m=/^\d+$/,h=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,y=0,g=[];;){if(i(p),y>=c)return g;o=i(d),a=[],","===o.slice(-1)?(o=o.replace(f,""),b()):function(){for(i(_),s="",u="in descriptor";;){if(l=e.charAt(y),"in descriptor"===u){if(r(l))s&&(a.push(s),s="",u="after descriptor");else if(","===l){y+=1,s&&a.push(s),b();return}else if("("===l)s+=l,u="in parens";else if(""===l){s&&a.push(s),b();return}else s+=l}else if("in parens"===u){if(")"===l)s+=l,u="in descriptor";else if(""===l){a.push(s),b();return}else s+=l}else if("after descriptor"===u&&!r(l)){if(""===l){b();return}u="in descriptor",y-=1}y+=1}}()}function b(){var t,r,i,s,u,l,c,_,p,d=!1,f={};for(s=0;s{let{w:t}=e;return t}),s=t.some(e=>{let{h:t}=e;return t});if(a+s+t.some(e=>{let{d:t}=e;return t})>1)throw Error("Mixed descriptor in srcset is not supported");let u=a?"w":s?"h":"d",l=a?"w":s?"h":"x",c=e=>Math.max(...e),_=t.map(e=>e.url),p=c(_.map(e=>e.length)),d=t.map(e=>e[u]).map(e=>e?e.toString():""),f=d.map(e=>{let t=e.indexOf(".");return -1===t?e.length:t}),m=c(f);return i([",",o],_.map((e,t)=>{let n=[e],i=d[t];if(i){let o=p-e.length+1,a=m-f[t],s=" ".repeat(o+a);n.push(r(s," "),i+l)}return n}))},printClassNames:function(e){return e.trim().split(/\s+/).join(" ")}}}}),r8=b({"src/language-html/syntax-vue.js"(e,t){T();var{builders:{group:n}}=$();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:r,operator:i,right:o}=function(e){let t=/,([^,\]}]*)(?:,([^,\]}]*))?$/,n=e.match(/(.*?)\s+(in|of)\s+(.*)/s);if(!n)return;let r={};if(r.for=n[3].trim(),!r.for)return;let i=n[1].trim().replace(/^\(|\)$/g,""),o=i.match(t);o?(r.alias=i.replace(t,""),r.iterator1=o[1].trim(),o[2]&&(r.iterator2=o[2].trim())):r.alias=i;let a=[r.alias,r.iterator1,r.iterator2];if(!a.some((e,t)=>!e&&(0===t||a.slice(t+1).some(Boolean))))return{left:a.filter(Boolean).join(","),operator:n[2],right:r.for}}(e);return[n(t(`function _(${r}) {}`,{parser:"babel",__isVueForBindingLeft:!0}))," ",i," ",t(o,{parser:"__js_expression"},{stripTrailingHardline:!0})]},printVueBindings:function(e,t){return t(`function _(${e}) {}`,{parser:"babel",__isVueBindings:!0})}}}}),r7=b({"src/language-html/get-node-content.js"(e,t){T();var{needsToBorrowParentClosingTagStartMarker:n,printClosingTagStartMarker:r,needsToBorrowLastChildClosingTagEndMarker:i,printClosingTagEndMarker:o,needsToBorrowParentOpeningTagEndMarker:a,printOpeningTagEndMarker:s}=r4();t.exports=function(e,t){let u=e.startSourceSpan.end.offset;e.firstChild&&a(e.firstChild)&&(u-=s(e).length);let l=e.endSourceSpan.start.offset;return e.lastChild&&n(e.lastChild)?l+=r(e,t).length:i(e)&&(l-=o(e.lastChild,t).length),t.originalText.slice(u,l)}}}),r9=b({"src/language-html/embed.js"(e,t){T();var{builders:{breakParent:n,group:r,hardline:i,indent:o,line:a,fill:s,softline:u},utils:{mapDoc:l,replaceTextEndOfLine:c}}=$(),_=n9(),{printClosingTag:p,printClosingTagSuffix:d,needsToBorrowPrevClosingTagEndMarker:f,printOpeningTagPrefix:m,printOpeningTag:h}=r4(),{printImgSrcset:y,printClassNames:g}=r5(),{printVueFor:b,printVueBindings:v,isVueEventBindingExpression:x}=r8(),{isScriptLikeTag:D,isVueNonHtmlBlock:S,inferScriptParser:E,htmlTrimPreserveIndentation:w,dedentString:A,unescapeQuoteEntities:C,isVueSlotAttribute:N,isVueSfcBindingsAttribute:M,getTextValueParts:k}=rQ(),I=r7();t.exports=function(e,t,T,j){let O=e.getValue();switch(O.type){case"element":if(D(O)||"interpolation"===O.type)return;if(!O.isSelfClosing&&S(O,j)){let n=E(O,j);if(!n)return;let o=I(O,j),a=/^\s*$/.test(o),s="";return a||(a=""===(s=T(w(o),{parser:n,__embeddedInHtml:!0},{stripTrailingHardline:!0}))),[m(O,j),r(h(e,j,t)),a?"":i,s,a?"":i,p(O,j),d(O,j)]}break;case"text":if(D(O.parent)){let e=E(O.parent,j);if(e){let t="markdown"===e?A(O.value.replace(/^[^\S\n]*\n/,"")):O.value,r={parser:e,__embeddedInHtml:!0};if("html"===j.parser&&"babel"===e){let e="script",{attrMap:t}=O.parent;t&&("module"===t.type||"text/babel"===t.type&&"module"===t["data-type"])&&(e="module"),r.__babelSourceType=e}return[n,m(O,j),T(t,r,{stripTrailingHardline:!0}),d(O,j)]}}else if("interpolation"===O.parent.type){let e={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return"angular"===j.parser?(e.parser="__ng_interpolation",e.trailingComma="none"):"vue"===j.parser?e.parser=j.__should_parse_vue_template_with_ts?"__vue_ts_expression":"__vue_expression":e.parser="__js_expression",[o([a,T(O.value,e,{stripTrailingHardline:!0})]),O.parent.next&&f(O.parent.next)?" ":a]}break;case"attribute":{if(!O.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(j.originalText.slice(O.valueSpan.start.offset,O.valueSpan.end.offset))||"lwc"===j.parser&&/^{.*}$/s.test(j.originalText.slice(O.valueSpan.start.offset,O.valueSpan.end.offset)))return[O.rawName,"=",O.value];let e=function(e,t,n){let i=t=>new RegExp(t.join("|")).test(e.fullName),l=()=>C(e.value),_=!1,p=(e,t)=>{let n="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;n&&("ObjectExpression"===n.type||"ArrayExpression"===n.type||"__vue_expression"===t.parser&&("TemplateLiteral"===n.type||"StringLiteral"===n.type))&&(_=!0)},d=e=>r(e),f=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return r([o([u,e]),t?u:""])},m=e=>_?d(e):f(e),h=(e,n)=>t(e,Object.assign({__onHtmlBindingRoot:p,__embeddedInHtml:!0},n));if("srcset"===e.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName))return f(y(l()));if("class"===e.fullName&&!n.parentParser){let e=l();if(!e.includes("{{"))return g(e)}if("style"===e.fullName&&!n.parentParser){let e=l();if(!e.includes("{{"))return f(h(e,{parser:"css",__isHTMLStyleAttribute:!0}))}if("vue"===n.parser){if("v-for"===e.fullName)return b(l(),h);if(N(e)||M(e,n))return v(l(),h);if(i(["^@","^v-on:"])){let e=l(),t=x(e)?"__js_expression":n.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return m(h(e,{parser:t}))}if(i(["^:","^v-bind:"]))return m(h(l(),{parser:"__vue_expression"}));if(i(["^v-"]))return m(h(l(),{parser:"__js_expression"}))}if("angular"===n.parser){let t=(e,t)=>h(e,Object.assign(Object.assign({},t),{},{trailingComma:"none"}));if(i(["^\\(.+\\)$","^on-"]))return m(t(l(),{parser:"__ng_action"}));if(i(["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"]))return m(t(l(),{parser:"__ng_binding"}));if(i(["^i18n(-.+)?$"])){let t=l().trim();return f(s(k(e,t)),!t.includes("@@"))}if(i(["^\\*"]))return m(t(l(),{parser:"__ng_directive"}));let n=/{{(.+?)}}/s,u=l();if(n.test(u)){let e=[];for(let[i,s]of u.split(n).entries())if(i%2==0)e.push(c(s));else try{e.push(r(["{{",o([a,t(s,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),a,"}}"]))}catch{e.push("{{",c(s),"}}")}return r(e)}}return null}(O,(e,t)=>T(e,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},t),{stripTrailingHardline:!0}),j);if(e)return[O.rawName,'="',r(l(e,e=>"string"==typeof e?e.replace(/"/g,"""):e)),'"'];break}case"front-matter":return _(O,T)}}}}),ie=b({"src/language-html/print/children.js"(e,t){T();var{builders:{breakParent:n,group:r,ifBreak:i,line:o,softline:a,hardline:s},utils:{replaceTextEndOfLine:u}}=$(),{locStart:l,locEnd:c}=r3(),{forceBreakChildren:_,forceNextEmptyLine:p,isTextLikeNode:d,hasPrettierIgnore:f,preferHardlineAsLeadingSpaces:m}=rQ(),{printOpeningTagPrefix:h,needsToBorrowNextOpeningTagStartMarker:y,printOpeningTagStartMarker:g,needsToBorrowPrevClosingTagEndMarker:b,printClosingTagEndMarker:v,printClosingTagSuffix:x,needsToBorrowParentClosingTagStartMarker:D}=r4();function S(e,t,n){let r=e.getValue();return f(r)?[h(r,t),...u(t.originalText.slice(l(r)+(r.prev&&y(r.prev)?g(r).length:0),c(r)-(r.next&&b(r.next)?v(r,t).length:0))),x(r,t)]:n()}function E(e,t){return d(e)&&d(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?m(t)?s:o:"":m(t)?s:a:y(e)&&(f(t)||t.firstChild||t.isSelfClosing||"element"===t.type&&t.attrs.length>0)||"element"===e.type&&e.isSelfClosing&&b(t)?"":!t.isLeadingSpaceSensitive||m(t)||b(t)&&e.lastChild&&D(e.lastChild)&&e.lastChild.lastChild&&D(e.lastChild.lastChild)?s:t.hasLeadingSpaces?o:a}t.exports={printChildren:function(e,t,o){let u=e.getValue();if(_(u))return[n,...e.map(e=>{let n=e.getValue(),r=n.prev?E(n.prev,n):"";return[r?[r,p(n.prev)?s:""]:"",S(e,t,o)]},"children")];let l=u.children.map(()=>Symbol(""));return e.map((e,n)=>{let u=e.getValue();if(d(u)){if(u.prev&&d(u.prev)){let n=E(u.prev,u);if(n)return p(u.prev)?[s,s,S(e,t,o)]:[n,S(e,t,o)]}return S(e,t,o)}let c=[],_=[],f=[],m=[],h=u.prev?E(u.prev,u):"",y=u.next?E(u,u.next):"";return h&&(p(u.prev)?c.push(s,s):h===s?c.push(s):d(u.prev)?_.push(h):_.push(i("",a,{groupId:l[n-1]}))),y&&(p(u)?d(u.next)&&m.push(s,s):y===s?d(u.next)&&m.push(s):f.push(y)),[...c,r([..._,r([S(e,t,o),...f],{id:l[n]})]),...m]},"children")}}}}),it=b({"src/language-html/print/element.js"(e,t){T();var{builders:{breakParent:n,dedentToRoot:r,group:i,ifBreak:o,indentIfBreak:a,indent:s,line:u,softline:l},utils:{replaceTextEndOfLine:c}}=$(),_=r7(),{shouldPreserveContent:p,isScriptLikeTag:d,isVueCustomBlock:f,countParents:m,forceBreakContent:h}=rQ(),{printOpeningTagPrefix:y,printOpeningTag:g,printClosingTagSuffix:b,printClosingTag:v,needsToBorrowPrevClosingTagEndMarker:x,needsToBorrowLastChildClosingTagEndMarker:D}=r4(),{printChildren:S}=ie();t.exports={printElement:function(e,t,T){var E,w;let A=e.getValue();if(p(A,t))return[y(A,t),i(g(e,t,T)),...c(_(A,t)),...v(A,t),b(A,t)];let C=1===A.children.length&&"interpolation"===A.firstChild.type&&A.firstChild.isLeadingSpaceSensitive&&!A.firstChild.hasLeadingSpaces&&A.lastChild.isTrailingSpaceSensitive&&!A.lastChild.hasTrailingSpaces,N=Symbol("element-attr-group-id");return w=0===A.children.length?A.hasDanglingSpaces&&A.isDanglingSpaceSensitive?u:"":[h(A)?n:"",(E=[C?o(l,"",{groupId:N}):A.firstChild.hasLeadingSpaces&&A.firstChild.isLeadingSpaceSensitive?u:"text"===A.firstChild.type&&A.isWhitespaceSensitive&&A.isIndentationSensitive?r(l):l,S(e,t,T)],C?a(E,{groupId:N}):(d(A)||f(A,t))&&"root"===A.parent.type&&"vue"===t.parser&&!t.vueIndentScriptAndStyle?E:s(E)),(A.next?x(A.next):D(A.parent))?A.lastChild.hasTrailingSpaces&&A.lastChild.isTrailingSpaceSensitive?" ":"":C?o(l,"",{groupId:N}):A.lastChild.hasTrailingSpaces&&A.lastChild.isTrailingSpaceSensitive?u:("comment"===A.lastChild.type||"text"===A.lastChild.type&&A.isWhitespaceSensitive&&A.isIndentationSensitive)&&RegExp(`\\n[\\t ]{${t.tabWidth*m(e,e=>e.parent&&"root"!==e.parent.type)}}$`).test(A.lastChild.value)?"":l],i([i(g(e,t,T),{id:N}),w,v(A,t)])}}}}),ir=b({"src/language-html/printer-html.js"(e,t){T();var{builders:{fill:n,group:r,hardline:i,literalline:o},utils:{cleanDoc:a,getDocParts:s,isConcat:u,replaceTextEndOfLine:l}}=$(),c=rY(),{countChars:_,unescapeQuoteEntities:p,getTextValueParts:d}=rQ(),f=r1(),{insertPragma:m}=r2(),{locStart:h,locEnd:y}=r3(),g=r9(),{printClosingTagSuffix:b,printClosingTagEnd:v,printOpeningTagPrefix:x,printOpeningTagStart:D}=r4(),{printElement:S}=it(),{printChildren:E}=ie();t.exports={preprocess:f,print:function(e,t,c){let f=e.getValue();switch(f.type){case"front-matter":return l(f.raw);case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(f),[r(E(e,t,c)),i];case"element":case"ieConditionalComment":return S(e,t,c);case"ieConditionalStartComment":case"ieConditionalEndComment":return[D(f),v(f)];case"interpolation":return[D(f,t),...e.map(c,"children"),v(f,t)];case"text":{if("interpolation"===f.parent.type){let e=/\n[^\S\n]*$/,t=e.test(f.value);return[...l(t?f.value.replace(e,""):f.value),t?i:""]}let e=a([x(f,t),...d(f),b(f,t)]);return u(e)||"fill"===e.type?n(s(e)):e}case"docType":return[r([D(f,t)," ",f.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),v(f,t)];case"comment":return[x(f,t),...l(t.originalText.slice(h(f),y(f)),o),b(f,t)];case"attribute":{if(null===f.value)return f.rawName;let e=p(f.value),t=_(e,"'")<_(e,'"')?"'":'"';return[f.rawName,"=",t,...l('"'===t?e.replace(/"/g,"""):e.replace(/'/g,"'")),t]}default:throw Error(`Unexpected node type ${f.type}`)}},insertPragma:m,massageAstNode:c,embed:g}}}),ii=b({"src/language-html/options.js"(e,t){T();var n=nZ(),r="HTML";t.exports={bracketSameLine:n.bracketSameLine,htmlWhitespaceSensitivity:{since:"1.15.0",category:r,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:n.singleAttributePerLine,vueIndentScriptAndStyle:{since:"1.19.0",category:r,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}}}}),io=b({"src/language-html/parsers.js"(){T()}}),ia=b({"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}}}),is=b({"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}}}),iu=b({"src/language-html/index.js"(e,t){T();var n=tU(),r=ir(),i=ii(),o=io(),a=[n(ia(),()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),n(ia(),e=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...e.extensions,".mjml"]})),n(ia(),()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),n(is(),()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))];t.exports={languages:a,printers:{html:r},options:i,parsers:o}}}),il=b({"src/language-yaml/pragma.js"(e,t){T(),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 + +${e}`}}}}),ic=b({"src/language-yaml/loc.js"(e,t){T(),t.exports={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}}}}),i_=b({"src/language-yaml/embed.js"(e,t){T(),t.exports=function(e,t,n,r){if("root"===e.getValue().type&&r.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/.test(r.filepath))return n(r.originalText,Object.assign(Object.assign({},r),{},{parser:"json"}))}}}),ip=b({"src/language-yaml/utils.js"(e,t){T();var{getLast:n,isNonEmptyArray:r}=ep();function i(e,t){return e&&"string"==typeof e.type&&(!t||t.includes(e.type))}function o(e){return"prettier-ignore"===e.value.trim()}function a(e){return r(null==e?void 0:e.leadingComments)}function s(e){return r(null==e?void 0:e.middleComments)}function u(e){return null==e?void 0:e.indicatorComment}function l(e){return null==e?void 0:e.trailingComment}function c(e){return r(null==e?void 0:e.endComments)}function _(e){let t=[],n;for(let r of e.split(/( +)/))" "!==r?" "===n?t.push(r):t.push((t.pop()||"")+r):void 0===n&&t.unshift(""),n=r;return" "===n&&t.push((t.pop()||"")+" "),""===t[0]&&(t.shift(),t.unshift(" "+(t.shift()||""))),t}t.exports={getLast:n,getAncestorCount:function(e,t){let n=0,r=e.stack.length-1;for(let o=0;oe(r,n,t))}):t,r)},defineShortcut:function(e,t,n){Object.defineProperty(e,t,{get:n,enumerable:!1})},isNextLineEmpty:function(e,t){let n=0,r=t.length;for(let i=e.position.end.offset-1;i *)[^\n\r ]/m);s=e?e.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else s=e.indent-1+r;let u=a.split(` +`).map(e=>e.slice(s));if("preserve"===o.proseWrap||"blockLiteral"===e.type)return l(u.map(e=>0===e.length?[]:[e]));return l(u.map(e=>0===e.length?[]:_(e)).reduce((e,t,r)=>0!==r&&u[r-1].length>0&&t.length>0&&!/^\s/.test(t[0])&&!/^\s|\s$/.test(n(e))?[...e.slice(0,-1),[...n(e),...t]]:[...e,t],[]).map(e=>e.reduce((e,t)=>e.length>0&&/\s$/.test(n(e))?[...e.slice(0,-1),n(e)+" "+t]:[...e,t],[])).map(e=>"never"===o.proseWrap?[e.join(" ")]:e));function l(t){if("keep"===e.chomping)return 0===n(t).length?t.slice(0,-1):t;let r=0;for(let e=t.length-1;e>=0&&0===t[e].length;e--)r++;return 0===r?t:r>=2&&!i?t.slice(0,-(r-1)):t.slice(0,-r)}},getFlowScalarLineContents:function(e,t,r){let i=t.split(` +`).map((e,t,n)=>0===t&&t===n.length-1?e:0!==t&&t!==n.length-1?e.trim():0===t?e.trimEnd():e.trimStart());return"preserve"===r.proseWrap?i.map(e=>0===e.length?[]:[e]):i.map(e=>0===e.length?[]:_(e)).reduce((t,r,o)=>0!==o&&i[o-1].length>0&&r.length>0&&!("quoteDouble"===e&&n(n(t)).endsWith("\\"))?[...t.slice(0,-1),[...n(t),...r]]:[...t,r],[]).map(e=>"never"===r.proseWrap?[e.join(" ")]:e)},getLastDescendantNode:function e(t){return r(t.children)?e(n(t.children)):t},hasPrettierIgnore:function(e){let t=e.getValue();if("documentBody"===t.type){let t=e.getParentNode();return c(t.head)&&o(n(t.head.endComments))}return a(t)&&o(n(t.leadingComments))},hasLeadingComments:a,hasMiddleComments:s,hasIndicatorComment:u,hasTrailingComment:l,hasEndComments:c}}}),id=b({"src/language-yaml/print-preprocess.js"(e,t){T();var{defineShortcut:n,mapNode:r}=ip();function i(e){switch(e.type){case"document":n(e,"head",()=>e.children[0]),n(e,"body",()=>e.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":n(e,"content",()=>e.children[0]);break;case"mappingItem":case"flowMappingItem":n(e,"key",()=>e.children[0]),n(e,"value",()=>e.children[1])}return e}t.exports=function(e){return r(e,i)}}}),im=b({"src/language-yaml/print/misc.js"(e,t){T();var{builders:{softline:n,align:r}}=$(),{hasEndComments:i,isNextLineEmpty:o,isNode:a}=ip(),s=new WeakMap;function u(e){return i(e)&&!a(e,["documentHead","documentBody","flowMapping","flowSequence"])}t.exports={alignWithSpaces:function(e,t){return r(" ".repeat(e),t)},shouldPrintEndComments:u,printNextEmptyLine:function(e,t){let r=e.getValue(),i=e.stack[0],a;return s.has(i)?a=s.get(i):(a=new Set,s.set(i,a)),!a.has(r.position.end.line)&&(a.add(r.position.end.line),o(r,t)&&!u(e.getParentNode()))?n:""}}}}),ih=b({"src/language-yaml/print/flow-mapping-sequence.js"(e,t){T();var{builders:{ifBreak:n,line:r,softline:i,hardline:o,join:a}}=$(),{isEmptyNode:s,getLast:u,hasEndComments:l}=ip(),{printNextEmptyLine:c,alignWithSpaces:_}=im();function p(e,t,p){let d,f=e.getValue(),m="flowMapping"===f.type,h=i;m&&f.children.length>0&&p.bracketSpacing&&(h=r);let y=u(f.children),g=y&&"flowMappingItem"===y.type&&s(y.key)&&s(y.value);return[m?"{":"[",_(p.tabWidth,[h,(d=e.getValue(),e.map((e,n)=>[t(),n===d.children.length-1?"":[",",r,d.children[n].position.start.line!==d.children[n+1].position.start.line?c(e,p.originalText):""]],"children")),"none"===p.trailingComma?"":n(","),l(f)?[o,a(o,e.map(t,"endComments"))]:""]),g?"":h,m?"}":"]"]}t.exports={printFlowMapping:p,printFlowSequence:p}}}),iy=b({"src/language-yaml/print/mapping-item.js"(e,t){T();var{builders:{conditionalGroup:n,group:r,hardline:i,ifBreak:o,join:a,line:s}}=$(),{hasLeadingComments:u,hasMiddleComments:l,hasTrailingComment:c,hasEndComments:_,isNode:p,isEmptyNode:d,isInlineNode:f}=ip(),{alignWithSpaces:m}=im();function h(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(` +`);case"always":return!/[\n ]/.test(e.value);default:return!1}}t.exports=function(e,t,y,g,b){let{key:v,value:x}=e,D=d(v),S=d(x);if(D&&S)return": ";let T=g("key"),E=e.key.content&&"alias"===e.key.content.type?" ":"";if(S)return"flowMappingItem"===e.type&&"flowMapping"===t.type?T:"mappingItem"===e.type&&h(v.content,b)&&!c(v.content)&&(!t.tag||"tag:yaml.org,2002:set"!==t.tag.value)?[T,E,":"]:["? ",m(2,T)];let w=g("value");if(D)return[": ",m(2,w)];if(u(x)||!f(v.content))return["? ",m(2,T),i,a("",y.map(g,"value","leadingComments").map(e=>[e,i])),": ",m(2,w)];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}}(v.content)&&!u(v.content)&&!l(v.content)&&!c(v.content)&&!_(v)&&!u(x.content)&&!l(x.content)&&!_(x)&&h(x.content,b))return[T,E,": ",w];let A=Symbol("mappingKey"),C=r([o("? "),r(m(2,T),{id:A})]),N=[i,": ",m(2,w)],M=[E,":"];u(x.content)||_(x)&&x.content&&!p(x.content,["mapping","sequence"])||"mapping"===t.type&&c(v.content)&&f(x.content)||p(x.content,["mapping","sequence"])&&null===x.content.tag&&null===x.content.anchor?M.push(i):x.content&&M.push(s),M.push(w);let k=m(b.tabWidth,M);return!h(v.content,b)||u(v.content)||l(v.content)||_(v)?n([[C,o(N,k,{groupId:A})]]):n([[T,k]])}}}),ig=b({"src/language-yaml/print/block.js"(e,t){T();var{builders:{dedent:n,dedentToRoot:r,fill:i,hardline:o,join:a,line:s,literalline:u,markAsRoot:l},utils:{getDocParts:c}}=$(),{getAncestorCount:_,getBlockValueLineContents:p,hasIndicatorComment:d,isLastDescendantNode:f,isNode:m}=ip(),{alignWithSpaces:h}=im();t.exports=function(e,t,y){let g=e.getValue(),b=_(e,e=>m(e,["sequence","mapping"])),v=f(e),x=["blockFolded"===g.type?">":"|"];null!==g.indent&&x.push(g.indent.toString()),"clip"!==g.chomping&&x.push("keep"===g.chomping?"+":"-"),d(g)&&x.push(" ",t("indicatorComment"));let D=p(g,{parentIndent:b,isLastDescendant:v,options:y}),S=[];for(let[e,t]of D.entries())0===e&&S.push(o),S.push(i(c(a(s,t)))),e!==D.length-1?S.push(0===t.length?o:l(u)):"keep"===g.chomping&&v&&S.push(r(0===t.length?o:u));return null===g.indent?x.push(n(h(y.tabWidth,S))):x.push(r(h(g.indent-1+b,S))),x}}}),ib=b({"src/language-yaml/printer-yaml.js"(e,t){T();var{builders:{breakParent:n,fill:r,group:i,hardline:o,join:a,line:s,lineSuffix:u,literalline:l},utils:{getDocParts:c,replaceTextEndOfLine:_}}=$(),{isPreviousLineEmpty:p}=ep(),{insertPragma:d,isPragma:f}=il(),{locStart:m}=ic(),h=i_(),{getFlowScalarLineContents:y,getLastDescendantNode:g,hasLeadingComments:b,hasMiddleComments:v,hasTrailingComment:x,hasEndComments:D,hasPrettierIgnore:S,isLastDescendantNode:E,isNode:w,isInlineNode:A}=ip(),C=id(),{alignWithSpaces:N,printNextEmptyLine:M,shouldPrintEndComments:k}=im(),{printFlowMapping:I,printFlowSequence:j}=ih(),O=iy(),P=ig();function F(e,t){return x(e)||t&&(t.head.children.length>0||D(t.head))}function L(e,t,n){return a(o,y(e,t,n).map(e=>r(c(a(s,e)))))}t.exports={preprocess:C,embed:h,print:function(e,t,r){let s=e.getValue(),c=[];"mappingValue"!==s.type&&b(s)&&c.push([a(o,e.map(r,"leadingComments")),o]);let{tag:d,anchor:f}=s;d&&c.push(r("tag")),d&&f&&c.push(" "),f&&c.push(r("anchor"));let h="";w(s,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!E(e)&&(h=M(e,t.originalText)),(d||f)&&(w(s,["sequence","mapping"])&&!v(s)?c.push(o):c.push(" ")),v(s)&&c.push([1===s.middleComments.length?"":o,a(o,e.map(r,"middleComments")),o]);let y=e.getParentNode();return S(e)?c.push(_(t.originalText.slice(s.position.start.offset,s.position.end.offset).trimEnd(),l)):c.push(i(function(e,t,n,r,i){switch(e.type){case"root":{let{children:t}=e,r=[];n.each((e,n)=>{let a=t[n],s=t[n+1];0!==n&&r.push(o),r.push(i()),F(a,s)?(r.push(o,"..."),x(a)&&r.push(" ",i("trailingComment"))):s&&!x(s.head)&&r.push(o,"---")},"children");let a=g(e);return w(a,["blockLiteral","blockFolded"])&&"keep"===a.chomping||r.push(o),r}case"document":{let s=t.children[n.getName()+1],u=[];return"head"===(t.children[0]===e&&/---(?:\s|$)/.test(r.originalText.slice(m(e),m(e)+4))||e.head.children.length>0||D(e.head)||x(e.head)?"head":!F(e,s)&&!!s&&"root")&&((e.head.children.length>0||e.head.endComments.length>0)&&u.push(i("head")),x(e.head)?u.push(["---"," ",i(["head","trailingComment"])]):u.push("---")),(e.body.children.length>0||D(e.body))&&u.push(i("body")),a(o,u)}case"documentHead":return a(o,[...n.map(i,"children"),...n.map(i,"endComments")]);case"documentBody":{let{children:t,endComments:r}=e,s="";if(t.length>0&&r.length>0){let t=g(e);w(t,["blockFolded","blockLiteral"])?"keep"!==t.chomping&&(s=[o,o]):s=o}return[a(o,n.map(i,"children")),s,a(o,n.map(i,"endComments"))]}case"directive":return["%",a(" ",[e.name,...e.parameters])];case"comment":return["#",e.value];case"alias":return["*",e.value];case"tag":return r.originalText.slice(e.position.start.offset,e.position.end.offset);case"anchor":return["&",e.value];case"plain":return L(e.type,r.originalText.slice(e.position.start.offset,e.position.end.offset),r);case"quoteDouble":case"quoteSingle":{let t=r.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if("quoteSingle"===e.type&&t.includes("\\")||"quoteDouble"===e.type&&/\\[^"]/.test(t)){let n="quoteDouble"===e.type?'"':"'";return[n,L(e.type,t,r),n]}if(t.includes('"'))return["'",L(e.type,"quoteDouble"===e.type?t.replace(/\\"/g,'"').replace(/'/g,"'".repeat(2)):t,r),"'"];if(t.includes("'"))return['"',L(e.type,"quoteSingle"===e.type?t.replace(/''/g,"'"):t,r),'"'];let n=r.singleQuote?"'":'"';return[n,L(e.type,t,r),n]}case"blockFolded":case"blockLiteral":return P(n,i,r);case"mapping":case"sequence":return a(o,n.map(i,"children"));case"sequenceItem":return["- ",N(2,e.content?i("content"):"")];case"mappingKey":case"mappingValue":return e.content?i("content"):"";case"mappingItem":case"flowMappingItem":return O(e,t,n,i,r);case"flowMapping":return I(n,i,r);case"flowSequence":return j(n,i,r);case"flowSequenceItem":return i("content");default:throw Error(`Unexpected node type ${e.type}`)}}(s,y,e,t,r))),x(s)&&!w(s,["document","documentHead"])&&c.push(u(["mappingValue"!==s.type||s.content?" ":"","mappingKey"===y.type&&"mapping"===e.getParentNode(2).type&&A(s)?"":n,r("trailingComment")])),k(s)&&c.push(N("sequenceItem"===s.type?2:0,[o,a(o,e.map(e=>[p(t.originalText,e.getValue(),m)?o:"",r()],"endComments"))])),c.push(h),c},massageAstNode:function(e,t){if(w(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}}}),iv=b({"src/language-yaml/options.js"(e,t){T();var n=nZ();t.exports={bracketSpacing:n.bracketSpacing,singleQuote:n.singleQuote,proseWrap:n.proseWrap}}}),ix=b({"src/language-yaml/parsers.js"(){T()}}),iD=b({"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}}}),iS=b({"src/language-yaml/index.js"(e,t){T();var n=tU(),r=ib(),i=iv(),o=ix(),a=[n(iD(),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:a,printers:{yaml:r},options:i,parsers:o}}}),iT=b({"src/languages.js"(e,t){T(),t.exports=[n8(),ry(),rE(),rI(),rV(),iu(),iS()]}});T();var{version:iE}=E(),iw=tR(),{getSupportInfo:iA}=eo(),iC=tB(),iN=iT(),iM=$();function ik(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(){for(var n=arguments.length,r=Array(n),i=0;iiI(e,t).formatted,check(e,t){let{formatted:n}=iI(e,t);return n===e},doc:iM,getSupportInfo:ik(iA,0),version:iE,util:iC,__debug:{parse:ik(iw.parse),formatAST:ik(iw.formatAST),formatDoc:ik(iw.formatDoc),printToDoc:ik(iw.printToDoc),printDocToString:ik(iw.printDocToString)}}})()}()},4406:e=>{var t,n,r,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var u=[],l=!1,c=-1;function _(){l&&r&&(l=!1,r.length?u=r.concat(u):c=-1,u.length&&p())}function p(){if(!l){var e=s(_);l=!0;for(var t=u.length;t;){for(r=u,u=[];++c1)for(var n=1;n{e.exports="function"==typeof queueMicrotask?queueMicrotask:e=>Promise.resolve().then(e)},7029:(e,t,n)=>{"use strict";var r=n(5121);t.s=r.createRoot,r.hydrateRoot},1837:(e,t,n)=>{"use strict";/** + * @license React + * react-jsx-runtime.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var r=n(4067),i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,n){var r,o={},l=null,c=null;for(r in void 0!==n&&(l=""+n),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(c=t.ref),t)a.call(t,r)&&!u.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:i,type:e,key:l,ref:c,props:o,_owner:s.current}}t.Fragment=o,t.jsx=l,t.jsxs=l},2322:(e,t,n)=>{"use strict";e.exports=n(1837)},4452:e=>{"use strict";var t={};function n(e,n,r){r||(r=Error);var i=function(e){function t(t,r,i){return e.call(this,"string"==typeof n?n:n(t,r,i))||this}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e,t}(r);i.prototype.name=r.name,i.prototype.code=e,t[e]=i}function r(e,t){if(!Array.isArray(e))return"of ".concat(t," ").concat(String(e));var n=e.length;return(e=e.map(function(e){return String(e)}),n>2)?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}n("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),n("ERR_INVALID_ARG_TYPE",function(e,t,n){if("string"==typeof t&&(i="not ",t.substr(!o||o<0?0:+o,i.length)===i)?(l="must not be",t=t.replace(/^not /,"")):l="must be",a=" argument",(void 0===s||s>e.length)&&(s=e.length),e.substring(s-a.length,s)===a)c="The ".concat(e," ").concat(l," ").concat(r(t,"type"));else{var i,o,a,s,u,l,c,_=("number"!=typeof u&&(u=0),u+1>e.length||-1===e.indexOf(".",u))?"argument":"property";c='The "'.concat(e,'" ').concat(_," ").concat(l," ").concat(r(t,"type"))}return c+". Received type ".concat(typeof n)},TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.q=t},7073:(e,t,n)=>{"use strict";var r=n(4406),i=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=c;var o=n(8051),a=n(2557);n(1285)(c,o);for(var s=i(a.prototype),u=0;u{"use strict";e.exports=i;var r=n(7640);function i(e){if(!(this instanceof i))return new i(e);r.call(this,e)}n(1285)(i,r),i.prototype._transform=function(e,t,n){n(null,e)}},8051:(e,t,n)=>{"use strict";var r,i,o,a,s,u=n(4406);e.exports=E,E.ReadableState=T,n(2699).EventEmitter;var l=function(e,t){return e.listeners(t).length},c=n(5010),_=n(8834).Buffer,p=(void 0!==n.g?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},d=n(6602);i=d&&d.debuglog?d.debuglog("stream"):function(){};var f=n(6637),m=n(2262),h=n(7605).getHighWaterMark,y=n(4452).q,g=y.ERR_INVALID_ARG_TYPE,b=y.ERR_STREAM_PUSH_AFTER_EOF,v=y.ERR_METHOD_NOT_IMPLEMENTED,x=y.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n(1285)(E,c);var D=m.errorOrDestroy,S=["error","close","destroy","pause","resume"];function T(e,t,i){r=r||n(7073),e=e||{},"boolean"!=typeof i&&(i=t instanceof r),this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=h(this,e,"readableHighWaterMark",i),this.buffer=new f,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(o||(o=n(214).s),this.decoder=new o(e.encoding),this.encoding=e.encoding)}function E(e){if(r=r||n(7073),!(this instanceof E))return new E(e);var t=this instanceof r;this._readableState=new T(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),c.call(this)}function w(e,t,n,r,o){i("readableAddChunk",t);var a,s,u,l,c,d=e._readableState;if(null===t)d.reading=!1,function(e,t){if(i("onEofChunk"),!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?N(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,M(e)))}}(e,d);else{if(o||(a=d,s=t,_.isBuffer(s)||s instanceof p||"string"==typeof s||void 0===s||a.objectMode||(u=new g("chunk",["string","Buffer","Uint8Array"],s)),c=u),c)D(e,c);else if(d.objectMode||t&&t.length>0){if("string"==typeof t||d.objectMode||Object.getPrototypeOf(t)===_.prototype||(l=t,t=_.from(l)),r)d.endEmitted?D(e,new x):A(e,d,t,!0);else if(d.ended)D(e,new b);else{if(d.destroyed)return!1;d.reading=!1,d.decoder&&!n?(t=d.decoder.write(t),d.objectMode||0!==t.length?A(e,d,t,!1):k(e,d)):A(e,d,t,!1)}}else r||(d.reading=!1,k(e,d))}return!d.ended&&(d.lengtht.highWaterMark){var n;t.highWaterMark=((n=e)>=1073741824?n=1073741824:(n--,n|=n>>>1,n|=n>>>2,n|=n>>>4,n|=n>>>8,n|=n>>>16,n++),n)}return e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0)}function N(e){var t=e._readableState;i("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(i("emitReadable",t.flowing),t.emittedReadable=!0,u.nextTick(M,e))}function M(e){var t=e._readableState;i("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,F(e)}function k(e,t){t.readingMore||(t.readingMore=!0,u.nextTick(I,e,t))}function I(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function O(e){i("readable nexttick read 0"),e.read(0)}function P(e,t){i("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),F(e),t.flowing&&!t.reading&&e.read(0)}function F(e){var t=e._readableState;for(i("flow",t.flowing);t.flowing&&null!==e.read(););}function L(e,t){var n;return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n)}function z(e){var t=e._readableState;i("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,u.nextTick(R,t,e))}function R(e,t){if(i("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function B(e,t){for(var n=0,r=e.length;n=n.highWaterMark:n.length>0)||n.ended))return i("read: emitReadable",n.length,n.ended),0===n.length&&n.ended?z(this):N(this),null;if(0===(e=C(e,n))&&n.ended)return 0===n.length&&z(this),null;var o=n.needReadable;return i("need readable",o),(0===n.length||n.length-e0?L(e,n):null)?(n.needReadable=n.length<=n.highWaterMark,e=0):(n.length-=e,n.awaitDrain=0),0===n.length&&(n.ended||(n.needReadable=!0),r!==e&&n.ended&&z(this)),null!==t&&this.emit("data",t),t},E.prototype._read=function(e){D(this,new v("_read()"))},E.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e)}r.pipesCount+=1,i("pipe count=%d opts=%j",r.pipesCount,t);var o=t&&!1===t.end||e===u.stdout||e===u.stderr?m:a;function a(){i("onend"),e.end()}r.endEmitted?u.nextTick(o):n.once("end",o),e.on("unpipe",function t(o,u){i("onunpipe"),o===n&&u&&!1===u.hasUnpiped&&(u.hasUnpiped=!0,i("cleanup"),e.removeListener("close",d),e.removeListener("finish",f),e.removeListener("drain",s),e.removeListener("error",p),e.removeListener("unpipe",t),n.removeListener("end",a),n.removeListener("end",m),n.removeListener("data",_),c=!0,r.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&s())});var s=function(){var e=n._readableState;i("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&l(n,"data")&&(e.flowing=!0,F(n))};e.on("drain",s);var c=!1;function _(t){i("ondata");var o=e.write(t);i("dest.write",o),!1===o&&((1===r.pipesCount&&r.pipes===e||r.pipesCount>1&&-1!==B(r.pipes,e))&&!c&&(i("false write response, pause",r.awaitDrain),r.awaitDrain++),n.pause())}function p(t){i("onerror",t),m(),e.removeListener("error",p),0===l(e,"error")&&D(e,t)}function d(){e.removeListener("finish",f),m()}function f(){i("onfinish"),e.removeListener("close",d),m()}function m(){i("unpipe"),n.unpipe(e)}return n.on("data",_),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",p),e.once("close",d),e.once("finish",f),e.emit("pipe",n),r.flowing||(i("pipe resume"),n.resume()),e},E.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o0,!1!==r.flowing&&this.resume()):"readable"!==e||r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,i("on readable",r.length,r.reading),r.length?N(this):r.reading||u.nextTick(O,this)),n},E.prototype.addListener=E.prototype.on,E.prototype.removeListener=function(e,t){var n=c.prototype.removeListener.call(this,e,t);return"readable"===e&&u.nextTick(j,this),n},E.prototype.removeAllListeners=function(e){var t=c.prototype.removeAllListeners.apply(this,arguments);return("readable"===e||void 0===e)&&u.nextTick(j,this),t},E.prototype.resume=function(){var e=this._readableState;return e.flowing||(i("resume"),e.flowing=!e.readableListening,e.resumeScheduled||(e.resumeScheduled=!0,u.nextTick(P,this,e))),e.paused=!1,this},E.prototype.pause=function(){return i("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(i("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},E.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var o in e.on("end",function(){if(i("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(o){i("wrapped data"),n.decoder&&(o=n.decoder.write(o)),(!n.objectMode||null!=o)&&(n.objectMode||o&&o.length)&&(t.push(o)||(r=!0,e.pause()))}),e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var a=0;a{"use strict";e.exports=c;var r=n(4452).q,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,a=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=r.ERR_TRANSFORM_WITH_LENGTH_0,u=n(7073);function l(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new o);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length{"use strict";var r,i,o=n(4406);function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){(function(e,t,n){var r=e.entry;for(e.entry=null;r;){var i=r.callback;t.pendingcb--,i(void 0),r=r.next}t.corkedRequestsFree.next=e})(t,e)}}e.exports=E,E.WritableState=T;var s={deprecate:n(5803)},u=n(5010),l=n(8834).Buffer,c=(void 0!==n.g?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},_=n(2262),p=n(7605).getHighWaterMark,d=n(4452).q,f=d.ERR_INVALID_ARG_TYPE,m=d.ERR_METHOD_NOT_IMPLEMENTED,h=d.ERR_MULTIPLE_CALLBACK,y=d.ERR_STREAM_CANNOT_PIPE,g=d.ERR_STREAM_DESTROYED,b=d.ERR_STREAM_NULL_VALUES,v=d.ERR_STREAM_WRITE_AFTER_END,x=d.ERR_UNKNOWN_ENCODING,D=_.errorOrDestroy;function S(){}function T(e,t,i){r=r||n(7073),e=e||{},"boolean"!=typeof i&&(i=t instanceof r),this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=p(this,e,"writableHighWaterMark",i),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===e.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){(function(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if("function"!=typeof i)throw new h;if(n.writing=!1,n.writecb=null,n.length-=n.writelen,n.writelen=0,t)--n.pendingcb,r?(o.nextTick(i,t),o.nextTick(k,e,n),e._writableState.errorEmitted=!0,D(e,t)):(i(t),e._writableState.errorEmitted=!0,D(e,t),k(e,n));else{var a=N(n)||e.destroyed;a||n.corked||n.bufferProcessing||!n.bufferedRequest||C(e,n),r?o.nextTick(A,e,n,a,i):A(e,n,a,i)}})(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function E(e){var t=this instanceof(r=r||n(7073));if(!t&&!i.call(E,this))return new E(e);this._writableState=new T(e,this,t),this.writable=!0,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)),u.call(this)}function w(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new g("write")):n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function A(e,t,n,r){n||0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain")),t.pendingcb--,r(),k(e,t)}function C(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=Array(t.bufferedRequestCount),i=t.corkedRequestsFree;i.entry=n;for(var o=0,s=!0;n;)r[o]=n,n.isBuf||(s=!1),n=n.next,o+=1;r.allBuffers=s,w(e,t,!0,t.length,r,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{for(;n;){var u=n.chunk,l=n.encoding,c=n.callback,_=t.objectMode?1:u.length;if(w(e,t,!1,_,u,l,c),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function N(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function M(e,t){e._final(function(n){t.pendingcb--,n&&D(e,n),t.prefinished=!0,e.emit("prefinish"),k(e,t)})}function k(e,t){var n=N(t);if(n&&(t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,o.nextTick(M,e,t))),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var r=e._readableState;(!r||r.autoDestroy&&r.endEmitted)&&e.destroy()}return n}n(1285)(E,u),T.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(T.prototype,"buffer",{get:s.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(i=Function.prototype[Symbol.hasInstance],Object.defineProperty(E,Symbol.hasInstance,{value:function(e){return!!i.call(this,e)||this===E&&e&&e._writableState instanceof T}})):i=function(e){return e instanceof this},E.prototype.pipe=function(){D(this,new y)},E.prototype.write=function(e,t,n){var r,i,a,s,u,_,p,d=this._writableState,m=!1,h=!d.objectMode&&(r=e,l.isBuffer(r)||r instanceof c);return h&&!l.isBuffer(e)&&(i=e,e=l.from(i)),("function"==typeof t&&(n=t,t=null),h?t="buffer":t||(t=d.defaultEncoding),"function"!=typeof n&&(n=S),d.ending)?(a=n,D(this,s=new v),o.nextTick(a,s)):(h||(u=e,_=n,null===u?p=new b:"string"==typeof u||d.objectMode||(p=new f("chunk",["string","Buffer"],u)),!p||(D(this,p),o.nextTick(_,p),0)))&&(d.pendingcb++,m=function(e,t,n,r,i,o){if(!n){var a,s,u=(a=r,s=i,t.objectMode||!1===t.decodeStrings||"string"!=typeof a||(a=l.from(a,s)),a);r!==u&&(n=!0,i="buffer",r=u)}var c=t.objectMode?1:r.length;t.length+=c;var _=t.length-1))throw new x(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(E.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(E.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),E.prototype._write=function(e,t,n){n(new m("_write()"))},E.prototype._writev=null,E.prototype.end=function(e,t,n){var r,i=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||(r=n,i.ending=!0,k(this,i),r&&(i.finished?o.nextTick(r):this.once("finish",r)),i.ended=!0,this.writable=!1),this},Object.defineProperty(E.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),E.prototype.destroy=_.destroy,E.prototype._undestroy=_.undestroy,E.prototype._destroy=function(e,t){t(e)}},1029:(e,t,n)=>{"use strict";var r,i=n(4406);function o(e,t,n){var r;return(t="symbol"==typeof(r=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?r:String(r))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=n(9885),s=Symbol("lastResolve"),u=Symbol("lastReject"),l=Symbol("error"),c=Symbol("ended"),_=Symbol("lastPromise"),p=Symbol("handlePromise"),d=Symbol("stream");function f(e,t){return{value:e,done:t}}function m(e){var t=e[s];if(null!==t){var n=e[d].read();null!==n&&(e[_]=null,e[s]=null,e[u]=null,t(f(n,!1)))}}function h(e){i.nextTick(m,e)}var y=Object.getPrototypeOf(function(){}),g=Object.setPrototypeOf((o(r={get stream(){return this[d]},next:function(){var e,t,n=this,r=this[l];if(null!==r)return Promise.reject(r);if(this[c])return Promise.resolve(f(void 0,!0));if(this[d].destroyed)return new Promise(function(e,t){i.nextTick(function(){n[l]?t(n[l]):e(f(void 0,!0))})});var o=this[_];if(o)t=new Promise((e=this,function(t,n){o.then(function(){if(e[c]){t(f(void 0,!0));return}e[p](t,n)},n)}));else{var a=this[d].read();if(null!==a)return Promise.resolve(f(a,!1));t=new Promise(this[p])}return this[_]=t,t}},Symbol.asyncIterator,function(){return this}),o(r,"return",function(){var e=this;return new Promise(function(t,n){e[d].destroy(null,function(e){if(e){n(e);return}t(f(void 0,!0))})})}),r),y);e.exports=function(e){var t,n=Object.create(g,(o(t={},d,{value:e,writable:!0}),o(t,s,{value:null,writable:!0}),o(t,u,{value:null,writable:!0}),o(t,l,{value:null,writable:!0}),o(t,c,{value:e._readableState.endEmitted,writable:!0}),o(t,p,{value:function(e,t){var r=n[d].read();r?(n[_]=null,n[s]=null,n[u]=null,e(f(r,!1))):(n[s]=e,n[u]=t)},writable:!0}),t));return n[_]=null,a(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[u];null!==t&&(n[_]=null,n[s]=null,n[u]=null,t(e)),n[l]=e;return}var r=n[s];null!==r&&(n[_]=null,n[s]=null,n[u]=null,r(f(void 0,!0))),n[c]=!0}),e.on("readable",h.bind(null,n)),n}},6637:(e,t,n)=>{"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return s.alloc(0);for(var t,n,r=s.allocUnsafe(e>>>0),i=this.head,o=0;i;)t=i.data,n=o,s.prototype.copy.call(t,r,n),o+=i.data.length,i=i.next;return r}},{key:"consume",value:function(e,t){var n;return ei.length?i.length:e;if(o===i.length?r+=i:r+=i.slice(0,e),0==(e-=o)){o===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=s.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var i=n.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0==(e-=o)){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,t}},{key:l,value:function(e,t){return u(this,i(i({},t),{},{depth:0,customInspect:!1}))}}],o(n.prototype,e),t&&o(n,t),Object.defineProperty(n,"prototype",{writable:!1}),n}()},2262:(e,t,n)=>{"use strict";var r=n(4406);function i(e,t){a(e,t),o(e)}function o(e){(!e._writableState||e._writableState.emitClose)&&(!e._readableState||e._readableState.emitClose)&&e.emit("close")}function a(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var n=this,s=this._readableState&&this._readableState.destroyed,u=this._writableState&&this._writableState.destroyed;return s||u?t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,r.nextTick(a,this,e)):r.nextTick(a,this,e)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?n._writableState?n._writableState.errorEmitted?r.nextTick(o,n):(n._writableState.errorEmitted=!0,r.nextTick(i,n,e)):r.nextTick(i,n,e):t?(r.nextTick(o,n),t(e)):r.nextTick(o,n)})),this},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit("error",t)}}},9885:(e,t,n)=>{"use strict";var r=n(4452).q.ERR_STREAM_PREMATURE_CLOSE;function i(){}e.exports=function e(t,n,o){if("function"==typeof n)return e(t,null,n);n||(n={}),a=o||i,s=!1,o=function(){if(!s){s=!0;for(var e=arguments.length,t=Array(e),n=0;n{e.exports=function(){throw Error("Readable.from is not available in the browser")}},3495:(e,t,n)=>{"use strict";var r,i=n(4452).q,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(e){if(e)throw e}function u(e){e()}function l(e,t){return e.pipe(t)}e.exports=function(){for(var e,t,i=arguments.length,c=Array(i),_=0;_0},function(e){if(e)return o(e);_=!0,o()}),f=!1,function(t){if(!_&&!f){if(f=!0,e.setHeader&&"function"==typeof e.abort)return e.abort();if("function"==typeof e.destroy)return e.destroy();o(t||new a("pipe"))}}});return c.reduce(l)}},7605:(e,t,n)=>{"use strict";var r=n(4452).q.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,n,i){var o=null!=t.highWaterMark?t.highWaterMark:i?t[n]:null;if(null!=o){if(!(isFinite(o)&&Math.floor(o)===o)||o<0){var a=i?n:"highWaterMark";throw new r(a,o)}return Math.floor(o)}return e.objectMode?16:16384}}},5010:(e,t,n)=>{e.exports=n(2699).EventEmitter},7525:(e,t,n)=>{(t=e.exports=n(8051)).Stream=t,t.Readable=t,t.Writable=n(2557),t.Duplex=n(7073),t.Transform=n(7640),t.PassThrough=n(5163),t.finished=n(9885),t.pipeline=n(3495)},8146:(e,t,n)=>{"use strict";t.F=void 0;let r=n(7525);class i extends r.Readable{constructor(e){super(),this.bytesRead=0,this.released=!1,this.reader=e.getReader()}async _read(){if(this.released){this.push(null);return}this.pendingRead=this.reader.read();let e=await this.pendingRead;delete this.pendingRead,e.done||this.released?this.push(null):(this.bytesRead+=e.value.length,this.push(e.value))}async waitForReadToComplete(){this.pendingRead&&await this.pendingRead}async close(){await this.syncAndRelease()}async syncAndRelease(){this.released=!0,await this.waitForReadToComplete(),await this.reader.releaseLock()}}t.F=i},7152:(e,t,n)=>{"use strict";var r=n(8834).Buffer;function i(e){return e instanceof r?r.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}e.exports=function(e){if((e=e||{}).circles)return function(e){var t=[],n=[];return e.proto?function e(o){if("object"!=typeof o||null===o)return o;if(o instanceof Date)return new Date(o);if(Array.isArray(o))return r(o,e);if(o instanceof Map)return new Map(r(Array.from(o),e));if(o instanceof Set)return new Set(r(Array.from(o),e));var a={};for(var s in t.push(o),n.push(a),o){var u=o[s];if("object"!=typeof u||null===u)a[s]=u;else if(u instanceof Date)a[s]=new Date(u);else if(u instanceof Map)a[s]=new Map(r(Array.from(u),e));else if(u instanceof Set)a[s]=new Set(r(Array.from(u),e));else if(ArrayBuffer.isView(u))a[s]=i(u);else{var l=t.indexOf(u);-1!==l?a[s]=n[l]:a[s]=e(u)}}return t.pop(),n.pop(),a}:function e(o){if("object"!=typeof o||null===o)return o;if(o instanceof Date)return new Date(o);if(Array.isArray(o))return r(o,e);if(o instanceof Map)return new Map(r(Array.from(o),e));if(o instanceof Set)return new Set(r(Array.from(o),e));var a={};for(var s in t.push(o),n.push(a),o)if(!1!==Object.hasOwnProperty.call(o,s)){var u=o[s];if("object"!=typeof u||null===u)a[s]=u;else if(u instanceof Date)a[s]=new Date(u);else if(u instanceof Map)a[s]=new Map(r(Array.from(u),e));else if(u instanceof Set)a[s]=new Set(r(Array.from(u),e));else if(ArrayBuffer.isView(u))a[s]=i(u);else{var l=t.indexOf(u);-1!==l?a[s]=n[l]:a[s]=e(u)}}return t.pop(),n.pop(),a};function r(e,r){for(var o=Object.keys(e),a=Array(o.length),s=0;s{/*! safe-buffer. MIT License. Feross Aboukhadijeh */var r=n(8834),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,n){if("number"==typeof e)throw TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return r.SlowBuffer(e)}},7847:(e,t,n)=>{let r=Symbol("SemVer ANY");class i{static get ANY(){return r}constructor(e,t){if(t=o(t),e instanceof i){if(!!t.loose===e.loose)return e;e=e.value}l("comparator",e=e.trim().split(/\s+/).join(" "),t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,l("comp",this)}parse(e){let t=this.options.loose?a[s.COMPARATORLOOSE]:a[s.COMPARATOR],n=e.match(t);if(!n)throw TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new c(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(l("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}return u(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof i))throw TypeError("a Comparator is required");return""===this.operator?""===this.value||new _(e.value,t).test(this.value):""===e.operator?""===e.value||new _(this.value,t).test(e.semver):!((t=o(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("=")||u(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||u(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">"))}}e.exports=i;let o=n(1388),{safeRe:a,t:s}=n(4808),u=n(8117),l=n(952),c=n(2435),_=n(6843)},6843:(e,t,n)=>{class r{constructor(e,t){if(t=a(t),e instanceof r){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;return new r(e.raw,t)}if(e instanceof s)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let 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(let e of this.set)if(1===e.length&&g(e[0])){this.set=[e];break}}}this.format()}format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(e){let t=(this.options.includePrerelease&&m)|(this.options.loose&&h),n=t+":"+e,r=o.get(n);if(r)return r;let i=this.options.loose,a=i?c[_.HYPHENRANGELOOSE]:c[_.HYPHENRANGE];u("hyphen replace",e=e.replace(a,M(this.options.includePrerelease))),u("comparator trim",e=e.replace(c[_.COMPARATORTRIM],p)),u("tilde trim",e=e.replace(c[_.TILDETRIM],d)),u("caret trim",e=e.replace(c[_.CARETTRIM],f));let l=e.split(" ").map(e=>v(e,this.options)).join(" ").split(/\s+/).map(e=>N(e,this.options));i&&(l=l.filter(e=>(u("loose invalid filter",e,this.options),!!e.match(c[_.COMPARATORLOOSE])))),u("range list",l);let g=new Map,b=l.map(e=>new s(e,this.options));for(let e of b){if(y(e))return[e];g.set(e.value,e)}g.size>1&&g.has("")&&g.delete("");let x=[...g.values()];return o.set(n,x),x}intersects(e,t){if(!(e instanceof r))throw TypeError("a Range is required");return this.set.some(n=>b(n,t)&&e.set.some(e=>b(e,t)&&n.every(n=>e.every(e=>n.intersects(e,t)))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}for(let t=0;t"<0.0.0-0"===e.value,g=e=>""===e.value,b=(e,t)=>{let n=!0,r=e.slice(),i=r.pop();for(;n&&r.length;)n=r.every(e=>i.intersects(e,t)),i=r.pop();return n},v=(e,t)=>(u("comp",e,t),u("caret",e=T(e,t)),u("tildes",e=D(e,t)),u("xrange",e=w(e,t)),u("stars",e=C(e,t)),e),x=e=>!e||"x"===e.toLowerCase()||"*"===e,D=(e,t)=>e.trim().split(/\s+/).map(e=>S(e,t)).join(" "),S=(e,t)=>{let n=t.loose?c[_.TILDELOOSE]:c[_.TILDE];return e.replace(n,(t,n,r,i,o)=>{let a;return u("tilde",e,t,n,r,i,o),x(n)?a="":x(r)?a=`>=${n}.0.0 <${+n+1}.0.0-0`:x(i)?a=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:o?(u("replaceTilde pr",o),a=`>=${n}.${r}.${i}-${o} <${n}.${+r+1}.0-0`):a=`>=${n}.${r}.${i} <${n}.${+r+1}.0-0`,u("tilde return",a),a})},T=(e,t)=>e.trim().split(/\s+/).map(e=>E(e,t)).join(" "),E=(e,t)=>{u("caret",e,t);let n=t.loose?c[_.CARETLOOSE]:c[_.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,(t,n,i,o,a)=>{let s;return u("caret",e,t,n,i,o,a),x(n)?s="":x(i)?s=`>=${n}.0.0${r} <${+n+1}.0.0-0`:x(o)?s="0"===n?`>=${n}.${i}.0${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.0${r} <${+n+1}.0.0-0`:a?(u("replaceCaret pr",a),s="0"===n?"0"===i?`>=${n}.${i}.${o}-${a} <${n}.${i}.${+o+1}-0`:`>=${n}.${i}.${o}-${a} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${o}-${a} <${+n+1}.0.0-0`):(u("no pr"),s="0"===n?"0"===i?`>=${n}.${i}.${o}${r} <${n}.${i}.${+o+1}-0`:`>=${n}.${i}.${o}${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${o} <${+n+1}.0.0-0`),u("caret return",s),s})},w=(e,t)=>(u("replaceXRanges",e,t),e.split(/\s+/).map(e=>A(e,t)).join(" ")),A=(e,t)=>{e=e.trim();let n=t.loose?c[_.XRANGELOOSE]:c[_.XRANGE];return e.replace(n,(n,r,i,o,a,s)=>{u("xRange",e,n,r,i,o,a,s);let l=x(i),c=l||x(o),_=c||x(a);return"="===r&&_&&(r=""),s=t.includePrerelease?"-0":"",l?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&_?(c&&(o=0),a=0,">"===r?(r=">=",c?(i=+i+1,o=0):o=+o+1,a=0):"<="===r&&(r="<",c?i=+i+1:o=+o+1),"<"===r&&(s="-0"),n=`${r+i}.${o}.${a}${s}`):c?n=`>=${i}.0.0${s} <${+i+1}.0.0-0`:_&&(n=`>=${i}.${o}.0${s} <${i}.${+o+1}.0-0`),u("xRange return",n),n})},C=(e,t)=>(u("replaceStars",e,t),e.trim().replace(c[_.STAR],"")),N=(e,t)=>(u("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?_.GTE0PRE:_.GTE0],"")),M=e=>(t,n,r,i,o,a,s,u,l,c,_,p,d)=>`${n=x(r)?"":x(i)?`>=${r}.0.0${e?"-0":""}`:x(o)?`>=${r}.${i}.0${e?"-0":""}`:a?`>=${n}`:`>=${n}${e?"-0":""}`} ${u=x(l)?"":x(c)?`<${+l+1}.0.0-0`:x(_)?`<${l}.${+c+1}.0-0`:p?`<=${l}.${c}.${_}-${p}`:e?`<${l}.${c}.${+_+1}-0`:`<=${u}`}`.trim(),k=(e,t,n)=>{for(let n=0;n0){let r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},2435:(e,t,n)=>{let r=n(952),{MAX_LENGTH:i,MAX_SAFE_INTEGER:o}=n(5558),{safeRe:a,t:s}=n(4808),u=n(1388),{compareIdentifiers:l}=n(4935);class c{constructor(e,t){if(t=u(t),e instanceof c){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>i)throw TypeError(`version is longer than ${i} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let n=e.trim().match(t.loose?a[s.LOOSE]:a[s.FULL]);if(!n)throw TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>o||this.major<0)throw TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);if(-1===r){if(t===this.prerelease.join(".")&&!1===n)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let r=[t,e];!1===n&&(r=[t]),0===l(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}break}default:throw Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=c},6694:(e,t,n)=>{let r=n(9943);e.exports=(e,t)=>{let n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},8117:(e,t,n)=>{let r=n(3276),i=n(7893),o=n(6379),a=n(8463),s=n(1897),u=n(506);e.exports=(e,t,n,l)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,l);case"!=":return i(e,n,l);case">":return o(e,n,l);case">=":return a(e,n,l);case"<":return s(e,n,l);case"<=":return u(e,n,l);default:throw TypeError(`Invalid operator: ${t}`)}}},8686:(e,t,n)=>{let r=n(2435),i=n(9943),{safeRe:o,t:a}=n(4808);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){let t;for(;(t=o[a.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&t.index+t[0].length===n.index+n[0].length||(n=t),o[a.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;o[a.COERCERTL].lastIndex=-1}else n=e.match(o[a.COERCE]);return null===n?null:i(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)}},5914:(e,t,n)=>{let r=n(2435);e.exports=(e,t,n)=>{let i=new r(e,n),o=new r(t,n);return i.compare(o)||i.compareBuild(o)}},5404:(e,t,n)=>{let r=n(2271);e.exports=(e,t)=>r(e,t,!0)},2271:(e,t,n)=>{let r=n(2435);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},6007:(e,t,n)=>{let r=n(9943);e.exports=(e,t)=>{let n=r(e,null,!0),i=r(t,null,!0),o=n.compare(i);if(0===o)return null;let a=o>0,s=a?n:i,u=a?i:n,l=!!s.prerelease.length,c=!!u.prerelease.length;if(c&&!l)return u.patch||u.minor?s.patch?"patch":s.minor?"minor":"major":"major";let _=l?"pre":"";return n.major!==i.major?_+"major":n.minor!==i.minor?_+"minor":n.patch!==i.patch?_+"patch":"prerelease"}},3276:(e,t,n)=>{let r=n(2271);e.exports=(e,t,n)=>0===r(e,t,n)},6379:(e,t,n)=>{let r=n(2271);e.exports=(e,t,n)=>r(e,t,n)>0},8463:(e,t,n)=>{let r=n(2271);e.exports=(e,t,n)=>r(e,t,n)>=0},6360:(e,t,n)=>{let r=n(2435);e.exports=(e,t,n,i,o)=>{"string"==typeof n&&(o=i,i=n,n=void 0);try{return new r(e instanceof r?e.version:e,n).inc(t,i,o).version}catch(e){return null}}},1897:(e,t,n)=>{let r=n(2271);e.exports=(e,t,n)=>0>r(e,t,n)},506:(e,t,n)=>{let r=n(2271);e.exports=(e,t,n)=>0>=r(e,t,n)},4551:(e,t,n)=>{let r=n(2435);e.exports=(e,t)=>new r(e,t).major},469:(e,t,n)=>{let r=n(2435);e.exports=(e,t)=>new r(e,t).minor},7893:(e,t,n)=>{let r=n(2271);e.exports=(e,t,n)=>0!==r(e,t,n)},9943:(e,t,n)=>{let r=n(2435);e.exports=(e,t,n=!1)=>{if(e instanceof r)return e;try{return new r(e,t)}catch(e){if(!n)return null;throw e}}},4250:(e,t,n)=>{let r=n(2435);e.exports=(e,t)=>new r(e,t).patch},8204:(e,t,n)=>{let r=n(9943);e.exports=(e,t)=>{let n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},733:(e,t,n)=>{let r=n(2271);e.exports=(e,t,n)=>r(t,e,n)},2961:(e,t,n)=>{let r=n(5914);e.exports=(e,t)=>e.sort((e,n)=>r(n,e,t))},9844:(e,t,n)=>{let r=n(6843);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}},1116:(e,t,n)=>{let r=n(5914);e.exports=(e,t)=>e.sort((e,n)=>r(e,n,t))},7230:(e,t,n)=>{let r=n(9943);e.exports=(e,t)=>{let n=r(e,t);return n?n.version:null}},7699:(e,t,n)=>{let r=n(4808),i=n(5558),o=n(2435),a=n(4935),s=n(9943),u=n(7230),l=n(6694),c=n(6360),_=n(6007),p=n(4551),d=n(469),f=n(4250),m=n(8204),h=n(2271),y=n(733),g=n(5404),b=n(5914),v=n(1116),x=n(2961),D=n(6379),S=n(1897),T=n(3276),E=n(7893),w=n(8463),A=n(506),C=n(8117),N=n(8686),M=n(7847),k=n(6843),I=n(9844),j=n(8865),O=n(3727),P=n(4338),F=n(1542),L=n(6240),z=n(9106),R=n(995),B=n(7805),U=n(2013),J=n(1338),$=n(3122);e.exports={parse:s,valid:u,clean:l,inc:c,diff:_,major:p,minor:d,patch:f,prerelease:m,compare:h,rcompare:y,compareLoose:g,compareBuild:b,sort:v,rsort:x,gt:D,lt:S,eq:T,neq:E,gte:w,lte:A,cmp:C,coerce:N,Comparator:M,Range:k,satisfies:I,toComparators:j,maxSatisfying:O,minSatisfying:P,minVersion:F,validRange:L,outside:z,gtr:R,ltr:B,intersects:U,simplifyRange:J,subset:$,SemVer:o,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:i.SEMVER_SPEC_VERSION,RELEASE_TYPES:i.RELEASE_TYPES,compareIdentifiers:a.compareIdentifiers,rcompareIdentifiers:a.rcompareIdentifiers}},5558:e=>{let 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}},952:(e,t,n)=>{var r=n(4406);let i="object"==typeof r&&r.env&&r.env.NODE_DEBUG&&/\bsemver\b/i.test(r.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=i},4935:e=>{let t=/^[0-9]+$/,n=(e,n)=>{let r=t.test(e),i=t.test(n);return r&&i&&(e=+e,n=+n),e===n?0:r&&!i?-1:i&&!r?1:en(t,e)}},1388:e=>{let t=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:n},4808:(e,t,n)=>{let{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:i,MAX_LENGTH:o}=n(5558),a=n(952);t=e.exports={};let s=t.re=[],u=t.safeRe=[],l=t.src=[],c=t.t={},_=0,p="[a-zA-Z0-9-]",d=[["\\s",1],["\\d",o],[p,i]],f=e=>{for(let[t,n]of d)e=e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return e},m=(e,t,n)=>{let r=f(t),i=_++;a(e,i,t),c[e]=i,l[i]=t,s[i]=new RegExp(t,n?"g":void 0),u[i]=new RegExp(r,n?"g":void 0)};m("NUMERICIDENTIFIER","0|[1-9]\\d*"),m("NUMERICIDENTIFIERLOOSE","\\d+"),m("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${p}*`),m("MAINVERSION",`(${l[c.NUMERICIDENTIFIER]})\\.(${l[c.NUMERICIDENTIFIER]})\\.(${l[c.NUMERICIDENTIFIER]})`),m("MAINVERSIONLOOSE",`(${l[c.NUMERICIDENTIFIERLOOSE]})\\.(${l[c.NUMERICIDENTIFIERLOOSE]})\\.(${l[c.NUMERICIDENTIFIERLOOSE]})`),m("PRERELEASEIDENTIFIER",`(?:${l[c.NUMERICIDENTIFIER]}|${l[c.NONNUMERICIDENTIFIER]})`),m("PRERELEASEIDENTIFIERLOOSE",`(?:${l[c.NUMERICIDENTIFIERLOOSE]}|${l[c.NONNUMERICIDENTIFIER]})`),m("PRERELEASE",`(?:-(${l[c.PRERELEASEIDENTIFIER]}(?:\\.${l[c.PRERELEASEIDENTIFIER]})*))`),m("PRERELEASELOOSE",`(?:-?(${l[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[c.PRERELEASEIDENTIFIERLOOSE]})*))`),m("BUILDIDENTIFIER",`${p}+`),m("BUILD",`(?:\\+(${l[c.BUILDIDENTIFIER]}(?:\\.${l[c.BUILDIDENTIFIER]})*))`),m("FULLPLAIN",`v?${l[c.MAINVERSION]}${l[c.PRERELEASE]}?${l[c.BUILD]}?`),m("FULL",`^${l[c.FULLPLAIN]}$`),m("LOOSEPLAIN",`[v=\\s]*${l[c.MAINVERSIONLOOSE]}${l[c.PRERELEASELOOSE]}?${l[c.BUILD]}?`),m("LOOSE",`^${l[c.LOOSEPLAIN]}$`),m("GTLT","((?:<|>)?=?)"),m("XRANGEIDENTIFIERLOOSE",`${l[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),m("XRANGEIDENTIFIER",`${l[c.NUMERICIDENTIFIER]}|x|X|\\*`),m("XRANGEPLAIN",`[v=\\s]*(${l[c.XRANGEIDENTIFIER]})(?:\\.(${l[c.XRANGEIDENTIFIER]})(?:\\.(${l[c.XRANGEIDENTIFIER]})(?:${l[c.PRERELEASE]})?${l[c.BUILD]}?)?)?`),m("XRANGEPLAINLOOSE",`[v=\\s]*(${l[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[c.XRANGEIDENTIFIERLOOSE]})(?:${l[c.PRERELEASELOOSE]})?${l[c.BUILD]}?)?)?`),m("XRANGE",`^${l[c.GTLT]}\\s*${l[c.XRANGEPLAIN]}$`),m("XRANGELOOSE",`^${l[c.GTLT]}\\s*${l[c.XRANGEPLAINLOOSE]}$`),m("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),m("COERCERTL",l[c.COERCE],!0),m("LONETILDE","(?:~>?)"),m("TILDETRIM",`(\\s*)${l[c.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",m("TILDE",`^${l[c.LONETILDE]}${l[c.XRANGEPLAIN]}$`),m("TILDELOOSE",`^${l[c.LONETILDE]}${l[c.XRANGEPLAINLOOSE]}$`),m("LONECARET","(?:\\^)"),m("CARETTRIM",`(\\s*)${l[c.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",m("CARET",`^${l[c.LONECARET]}${l[c.XRANGEPLAIN]}$`),m("CARETLOOSE",`^${l[c.LONECARET]}${l[c.XRANGEPLAINLOOSE]}$`),m("COMPARATORLOOSE",`^${l[c.GTLT]}\\s*(${l[c.LOOSEPLAIN]})$|^$`),m("COMPARATOR",`^${l[c.GTLT]}\\s*(${l[c.FULLPLAIN]})$|^$`),m("COMPARATORTRIM",`(\\s*)${l[c.GTLT]}\\s*(${l[c.LOOSEPLAIN]}|${l[c.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",m("HYPHENRANGE",`^\\s*(${l[c.XRANGEPLAIN]})\\s+-\\s+(${l[c.XRANGEPLAIN]})\\s*$`),m("HYPHENRANGELOOSE",`^\\s*(${l[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[c.XRANGEPLAINLOOSE]})\\s*$`),m("STAR","(<|>)?=?\\s*\\*"),m("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),m("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},293:(e,t,n)=>{"use strict";let r=n(8006),i=Symbol("max"),o=Symbol("length"),a=Symbol("lengthCalculator"),s=Symbol("allowStale"),u=Symbol("maxAge"),l=Symbol("dispose"),c=Symbol("noDisposeOnSet"),_=Symbol("lruList"),p=Symbol("cache"),d=Symbol("updateAgeOnGet"),f=()=>1,m=(e,t,n)=>{let r=e[p].get(t);if(r){let t=r.value;if(h(e,t)){if(g(e,r),!e[s])return}else n&&(e[d]&&(r.value.now=Date.now()),e[_].unshiftNode(r));return t.value}},h=(e,t)=>{if(!t||!t.maxAge&&!e[u])return!1;let n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[u]&&n>e[u]},y=e=>{if(e[o]>e[i])for(let t=e[_].tail;e[o]>e[i]&&null!==t;){let n=t.prev;g(e,t),t=n}},g=(e,t)=>{if(t){let n=t.value;e[l]&&e[l](n.key,n.value),e[o]-=n.length,e[p].delete(n.key),e[_].removeNode(t)}};class b{constructor(e,t,n,r,i){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=i||0}}let v=(e,t,n,r)=>{let i=n.value;h(e,i)&&(g(e,n),e[s]||(i=void 0)),i&&t.call(r,i.value,i.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw TypeError("max must be a non-negative number");this[i]=e.max||1/0;let t=e.length||f;if(this[a]="function"!=typeof t?f:t,this[s]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw TypeError("maxAge must be a number");this[u]=e.maxAge||0,this[l]=e.dispose,this[c]=e.noDisposeOnSet||!1,this[d]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw TypeError("max must be a non-negative number");this[i]=e||1/0,y(this)}get max(){return this[i]}set allowStale(e){this[s]=!!e}get allowStale(){return this[s]}set maxAge(e){if("number"!=typeof e)throw TypeError("maxAge must be a non-negative number");this[u]=e,y(this)}get maxAge(){return this[u]}set lengthCalculator(e){"function"!=typeof e&&(e=f),e!==this[a]&&(this[a]=e,this[o]=0,this[_].forEach(e=>{e.length=this[a](e.value,e.key),this[o]+=e.length})),y(this)}get lengthCalculator(){return this[a]}get length(){return this[o]}get itemCount(){return this[_].length}rforEach(e,t){t=t||this;for(let n=this[_].tail;null!==n;){let r=n.prev;v(this,e,n,t),n=r}}forEach(e,t){t=t||this;for(let n=this[_].head;null!==n;){let r=n.next;v(this,e,n,t),n=r}}keys(){return this[_].toArray().map(e=>e.key)}values(){return this[_].toArray().map(e=>e.value)}reset(){this[l]&&this[_]&&this[_].length&&this[_].forEach(e=>this[l](e.key,e.value)),this[p]=new Map,this[_]=new r,this[o]=0}dump(){return this[_].map(e=>!h(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e)}dumpLru(){return this[_]}set(e,t,n){if((n=n||this[u])&&"number"!=typeof n)throw TypeError("maxAge must be a number");let r=n?Date.now():0,s=this[a](t,e);if(this[p].has(e)){if(s>this[i])return g(this,this[p].get(e)),!1;let a=this[p].get(e),u=a.value;return this[l]&&!this[c]&&this[l](e,u.value),u.now=r,u.maxAge=n,u.value=t,this[o]+=s-u.length,u.length=s,this.get(e),y(this),!0}let d=new b(e,t,s,r,n);return d.length>this[i]?(this[l]&&this[l](e,t),!1):(this[o]+=d.length,this[_].unshift(d),this[p].set(e,this[_].head),y(this),!0)}has(e){if(!this[p].has(e))return!1;let t=this[p].get(e).value;return!h(this,t)}get(e){return m(this,e,!0)}peek(e){return m(this,e,!1)}pop(){let e=this[_].tail;return e?(g(this,e),e.value):null}del(e){g(this,this[p].get(e))}load(e){this.reset();let t=Date.now();for(let n=e.length-1;n>=0;n--){let r=e[n],i=r.e||0;if(0===i)this.set(r.k,r.v);else{let e=i-t;e>0&&this.set(r.k,r.v,e)}}}prune(){this[p].forEach((e,t)=>m(this,t,!1))}}},995:(e,t,n)=>{let r=n(9106);e.exports=(e,t,n)=>r(e,t,">",n)},2013:(e,t,n)=>{let r=n(6843);e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n))},7805:(e,t,n)=>{let r=n(9106);e.exports=(e,t,n)=>r(e,t,"<",n)},3727:(e,t,n)=>{let r=n(2435),i=n(6843);e.exports=(e,t,n)=>{let o=null,a=null,s=null;try{s=new i(t,n)}catch(e){return null}return e.forEach(e=>{s.test(e)&&(!o||-1===a.compare(e))&&(o=e,a=new r(o,n))}),o}},4338:(e,t,n)=>{let r=n(2435),i=n(6843);e.exports=(e,t,n)=>{let o=null,a=null,s=null;try{s=new i(t,n)}catch(e){return null}return e.forEach(e=>{s.test(e)&&(!o||1===a.compare(e))&&(o=e,a=new r(o,n))}),o}},1542:(e,t,n)=>{let r=n(2435),i=n(6843),o=n(6379);e.exports=(e,t)=>{e=new i(e,t);let n=new r("0.0.0");if(e.test(n)||(n=new r("0.0.0-0"),e.test(n)))return n;n=null;for(let t=0;t{let t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":(!a||o(t,a))&&(a=t);break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${e.operator}`)}}),a&&(!n||o(n,a))&&(n=a)}return n&&e.test(n)?n:null}},9106:(e,t,n)=>{let r=n(2435),i=n(7847),{ANY:o}=i,a=n(6843),s=n(9844),u=n(6379),l=n(1897),c=n(506),_=n(8463);e.exports=(e,t,n,p)=>{let d,f,m,h,y;switch(e=new r(e,p),t=new a(t,p),n){case">":d=u,f=c,m=l,h=">",y=">=";break;case"<":d=l,f=_,m=u,h="<",y="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,p))return!1;for(let n=0;n{e.semver===o&&(e=new i(">=0.0.0")),a=a||e,s=s||e,d(e.semver,a.semver,p)?a=e:m(e.semver,s.semver,p)&&(s=e)}),a.operator===h||a.operator===y||(!s.operator||s.operator===h)&&f(e,s.semver)||s.operator===y&&m(e,s.semver))return!1}return!0}},1338:(e,t,n)=>{let r=n(9844),i=n(2271);e.exports=(e,t,n)=>{let o=[],a=null,s=null,u=e.sort((e,t)=>i(e,t,n));for(let e of u){let i=r(e,t,n);i?(s=e,a||(a=e)):(s&&o.push([a,s]),s=null,a=null)}a&&o.push([a,null]);let l=[];for(let[e,t]of o)e===t?l.push(e):t||e!==u[0]?t?e===u[0]?l.push(`<=${t}`):l.push(`${e} - ${t}`):l.push(`>=${e}`):l.push("*");let c=l.join(" || "),_="string"==typeof t.raw?t.raw:String(t);return c.length<_.length?c:t}},3122:(e,t,n)=>{let r=n(6843),i=n(7847),{ANY:o}=i,a=n(9844),s=n(2271),u=[new i(">=0.0.0-0")],l=[new i(">=0.0.0")],c=(e,t,n)=>{let r,i,c,d,f,m,h;if(e===t)return!0;if(1===e.length&&e[0].semver===o){if(1===t.length&&t[0].semver===o)return!0;e=n.includePrerelease?u:l}if(1===t.length&&t[0].semver===o){if(n.includePrerelease)return!0;t=l}let y=new Set;for(let t of e)">"===t.operator||">="===t.operator?r=_(r,t,n):"<"===t.operator||"<="===t.operator?i=p(i,t,n):y.add(t.semver);if(y.size>1||r&&i&&((c=s(r.semver,i.semver,n))>0||0===c&&(">="!==r.operator||"<="!==i.operator)))return null;for(let e of y){if(r&&!a(e,String(r),n)||i&&!a(e,String(i),n))return null;for(let r of t)if(!a(e,String(r),n))return!1;return!0}let g=!!i&&!n.includePrerelease&&!!i.semver.prerelease.length&&i.semver,b=!!r&&!n.includePrerelease&&!!r.semver.prerelease.length&&r.semver;for(let e of(g&&1===g.prerelease.length&&"<"===i.operator&&0===g.prerelease[0]&&(g=!1),t)){if(h=h||">"===e.operator||">="===e.operator,m=m||"<"===e.operator||"<="===e.operator,r){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((d=_(r,e,n))===e&&d!==r)return!1}else if(">="===r.operator&&!a(r.semver,String(e),n))return!1}if(i){if(g&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===g.major&&e.semver.minor===g.minor&&e.semver.patch===g.patch&&(g=!1),"<"===e.operator||"<="===e.operator){if((f=p(i,e,n))===e&&f!==i)return!1}else if("<="===i.operator&&!a(i.semver,String(e),n))return!1}if(!e.operator&&(i||r)&&0!==c)return!1}return(!r||!m||!!i||0===c)&&(!i||!h||!!r||0===c)&&!b&&!g},_=(e,t,n)=>{if(!e)return t;let r=s(e.semver,t.semver,n);return r>0?e:r<0?t:">"===t.operator&&">="===e.operator?t:e},p=(e,t,n)=>{if(!e)return t;let r=s(e.semver,t.semver,n);return r<0?e:r>0?t:"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let i=!1;r:for(let r of e.set){for(let e of t.set){let t=c(r,e,n);if(i=i||null!==t,t)continue r}if(i)return!1}return!0}},8865:(e,t,n)=>{let r=n(6843);e.exports=(e,t)=>new r(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "))},6240:(e,t,n)=>{let r=n(6843);e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}},4851:(e,t,n)=>{e.exports=i;var r=n(2699).EventEmitter;function i(){r.call(this)}n(1285)(i,r),i.Readable=n(8051),i.Writable=n(2557),i.Duplex=n(7073),i.Transform=n(7640),i.PassThrough=n(5163),i.finished=n(9885),i.pipeline=n(3495),i.Stream=i,i.prototype.pipe=function(e,t){var n=this;function i(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on("data",i),e.on("drain",o),e._isStdio||t&&!1===t.end||(n.on("end",s),n.on("close",u));var a=!1;function s(){a||(a=!0,e.end())}function u(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function l(e){if(c(),0===r.listenerCount(this,"error"))throw e}function c(){n.removeListener("data",i),e.removeListener("drain",o),n.removeListener("end",s),n.removeListener("close",u),n.removeListener("error",l),e.removeListener("error",l),n.removeListener("end",c),n.removeListener("close",c),e.removeListener("close",c)}return n.on("error",l),e.on("error",l),n.on("end",c),n.on("close",c),e.on("close",c),e.emit("pipe",n),e}},6871:(e,t,n)=>{let{EventEmitter:r}=n(2699),i=Error("Stream was destroyed"),o=Error("Premature close"),a=n(281),s=n(2865),u=16809999,l=17423,c=16527,_=1167,p=12431,d=82975,f=32879,m=71303183,h=3276815,y=1179663,g=72482831,b=17563663,v=Symbol.asyncIterator||Symbol("asyncIterator");class x{constructor(e,{highWaterMark:t=16384,map:n=null,mapWritable:r,byteLength:i,byteLengthWritable:o}={}){this.stream=e,this.queue=new s,this.highWaterMark=t,this.buffered=0,this.error=null,this.pipeline=null,this.drains=null,this.byteLength=o||i||J,this.map=r||n,this.afterWrite=C.bind(this),this.afterUpdateNextTick=k.bind(this)}get ended(){return(4194304&this.stream._duplexState)!=0}push(e){return(null!==this.map&&(e=this.map(e)),this.buffered+=this.byteLength(e),this.queue.push(e),this.buffered0;)t.push(this.shift());for(let e=0;e0;)r.drains.shift().resolve(!1);null!==r.pipeline&&r.pipeline.done(t,e)}}function C(e){let t=this.stream;e&&t.destroy(e),t._duplexState&=100532223,null!==this.drains&&function(e){for(let t=0;t=e._readableState.highWaterMark}static isPaused(e){return(256&e._duplexState)==0}[v](){let e=this,t=null,n=null,r=null;return this.on("error",e=>{t=e}),this.on("readable",function(){null!==n&&o(e.read())}),this.on("close",function(){null!==n&&o(null)}),{[v](){return this},next:()=>new Promise(function(t,i){n=t,r=i;let a=e.read();null!==a?o(a):(8&e._duplexState)!=0&&o(null)}),return:()=>a(null),throw:e=>a(e)};function o(o){null!==r&&(t?r(t):null===o&&(16384&e._duplexState)==0?r(i):n({value:o,done:null===o}),r=n=null)}function a(t){return e.destroy(t),new Promise((n,r)=>{if(8&e._duplexState)return n({value:void 0,done:!0});e.once("close",function(){t?r(t):n({value:void 0,done:!0})})})}}}class F extends P{constructor(e){super(e),this._duplexState=1,this._writableState=new x(this,e),e&&(e.writev&&(this._writev=e.writev),e.write&&(this._write=e.write),e.final&&(this._final=e.final))}_writev(e,t){t(null)}_write(e,t){this._writableState.autoBatch(e,t)}_final(e){e(null)}write(e){return this._writableState.updateNextTick(),this._writableState.push(e)}end(e){return this._writableState.updateNextTick(),this._writableState.end(e),this}}class L extends F{constructor(e){super(e),this._transformState=new S(this),e&&(e.transform&&(this._transform=e.transform),e.flush&&(this._flush=e.flush))}_write(e,t){this._readableState.buffered>=this._readableState.highWaterMark?this._transformState.data=e:this._transform(e,this._transformState.afterTransform)}_read(e){if(null!==this._transformState.data){let t=this._transformState.data;this._transformState.data=null,e(null),this._transform(t,this._transformState.afterTransform)}else e(null)}_transform(e,t){t(null,e)}_flush(e){e(null)}_final(e){this._transformState.afterFinal=e,this._flush(z.bind(this))}}function z(e,t){let n=this._transformState.afterFinal;if(e)return n(e);null!=t&&this.push(t),this.push(null),n(null)}function R(e,...t){let n=Array.isArray(e)?[...e,...t]:[e,...t],r=n.length&&"function"==typeof n[n.length-1]?n.pop():null;if(n.length<2)throw Error("Pipeline requires at least 2 streams");let i=n[0],a=null,s=null;for(let e=1;e1,u),i.pipe(a)),i=a;if(r){let e=!1,t=U(a)||!!(a._writableState&&a._writableState.autoDestroy);a.on("error",e=>{null===s&&(s=e)}),a.on("finish",()=>{e=!0,t||r(s)}),t&&a.on("close",()=>r(s||(e?null:o)))}return a;function u(e){if(e&&!s)for(let t of(s=e,n))t.destroy(e)}}function B(e){return!!e._readableState||!!e._writableState}function U(e){return"number"==typeof e._duplexState&&B(e)}function J(e){return"object"==typeof e&&null!==e&&"number"==typeof e.byteLength?e.byteLength:1024}function $(){}function K(){this.destroy(Error("Stream aborted."))}e.exports={pipeline:R,pipelinePromise:function(...e){return new Promise((t,n)=>R(...e,e=>{if(e)return n(e);t()}))},isStream:B,isStreamx:U,getStreamError:function(e){let t=e._readableState&&e._readableState.error||e._writableState&&e._writableState.error;return t===i?null:t},Stream:O,Writable:class extends O{constructor(e){super(e),this._duplexState|=16385,this._writableState=new x(this,e),e&&(e.writev&&(this._writev=e.writev),e.write&&(this._write=e.write),e.final&&(this._final=e.final),e.eagerOpen&&this._writableState.updateNextTick())}_writev(e,t){t(null)}_write(e,t){this._writableState.autoBatch(e,t)}_final(e){e(null)}static isBackpressured(e){return(73400334&e._duplexState)!=0}static drained(e){if(e.destroyed)return Promise.resolve(!1);let t=e._writableState,n=t.queue.length+(33554432&e._duplexState?1:0);return 0===n?Promise.resolve(!0):(null===t.drains&&(t.drains=[]),new Promise(e=>{t.drains.push({writes:n,resolve:e})}))}write(e){return this._writableState.updateNextTick(),this._writableState.push(e)}end(e){return this._writableState.updateNextTick(),this._writableState.end(e),this}},Readable:P,Duplex:F,Transform:L,PassThrough:class extends L{}}},214:(e,t,n)=>{"use strict";var r=n(7834).Buffer,i=r.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 o(e){var t;switch(this.encoding=function(e){var t=function(e){var t;if(!e)return"utf8";for(;;)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&&(r.isEncoding===i||!i(e)))throw Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=l,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=c,this.end=_,t=3;break;default:this.write=p,this.end=d;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}(this,e,0);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function u(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function c(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?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-n))}function _(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function p(e){return e.toString(this.encoding)}function d(e){return e&&e.length?this.write(e):""}t.s=o,o.prototype.write=function(e){var t,n;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0?(i>0&&(e.lastNeed=i-1),i):--r=0?(i>0&&(e.lastNeed=i-2),i):--r=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=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},o.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}},5580:e=>{let t=/^[-+]?0x[a-fA-F0-9]+$/,n=/^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/;!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt),!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);let r={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};e.exports=function(e,i={}){if(i=Object.assign({},r,i),!e||"string"!=typeof e)return e;let o=e.trim();if(void 0!==i.skipLike&&i.skipLike.test(o))return e;if(i.hex&&t.test(o))return Number.parseInt(o,16);{let t=n.exec(o);if(!t)return e;{var a;let n=t[1],r=t[2],s=((a=t[3])&&-1!==a.indexOf(".")&&("."===(a=a.replace(/0+$/,""))?a="0":"."===a[0]?a="0"+a:"."===a[a.length-1]&&(a=a.substr(0,a.length-1))),a),u=t[4]||t[6];if(!i.leadingZeros&&r.length>0&&n&&"."!==o[2])return e;{if(!i.leadingZeros&&r.length>0&&!n&&"."!==o[1])return e;let t=Number(o),a=""+t;return -1!==a.search(/[eE]/)||u?i.eNotation?t:e:-1!==o.indexOf(".")?"0"===a&&""===s?t:a===s?t:n&&a==="-"+s?t:e:r?s===a?t:n+s===a?t:e:o===a?t:o===n+a?t:e}}}}},7715:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Struct:()=>l,StructError:()=>r,any:()=>T,array:()=>E,assert:()=>c,assign:()=>m,bigint:()=>w,boolean:()=>A,coerce:()=>Q,create:()=>_,date:()=>C,defaulted:()=>H,define:()=>h,deprecated:()=>y,dynamic:()=>g,empty:()=>Z,enums:()=>N,func:()=>M,instance:()=>k,integer:()=>I,intersection:()=>j,is:()=>d,lazy:()=>b,literal:()=>O,map:()=>P,mask:()=>p,max:()=>ee,min:()=>et,never:()=>F,nonempty:()=>en,nullable:()=>L,number:()=>z,object:()=>R,omit:()=>v,optional:()=>B,partial:()=>x,pattern:()=>er,pick:()=>D,record:()=>U,refine:()=>eo,regexp:()=>J,set:()=>$,size:()=>ei,string:()=>K,struct:()=>S,trimmed:()=>G,tuple:()=>V,type:()=>Y,union:()=>q,unknown:()=>W,validate:()=>f});class r extends TypeError{constructor(e,t){let n;let{message:r,explanation:i,...o}=e,{path:a}=e,s=0===a.length?r:`At path: ${a.join(".")} -- ${r}`;super(i??s),null!=i&&(this.cause=s),Object.assign(this,o),this.name=this.constructor.name,this.failures=()=>n??(n=[e,...t()])}}function i(e){return"object"==typeof e&&null!=e}function o(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function a(e){return"symbol"==typeof e?e.toString():"string"==typeof e?JSON.stringify(e):`${e}`}function*s(e,t,n,r){var o;for(let s of(i(o=e)&&"function"==typeof o[Symbol.iterator]||(e=[e]),e)){let e=function(e,t,n,r){if(!0===e)return;!1===e?e={}:"string"==typeof e&&(e={message:e});let{path:i,branch:o}=t,{type:s}=n,{refinement:u,message:l=`Expected a value of type \`${s}\`${u?` with refinement \`${u}\``:""}, but received: \`${a(r)}\``}=e;return{value:r,type:s,refinement:u,key:i[i.length-1],path:i,branch:o,...e,message:l}}(s,t,n,r);e&&(yield e)}}function*u(e,t,n={}){let{path:r=[],branch:o=[e],coerce:a=!1,mask:s=!1}=n,l={path:r,branch:o};if(a&&(e=t.coercer(e,l),s&&"type"!==t.type&&i(t.schema)&&i(e)&&!Array.isArray(e)))for(let n in e)void 0===t.schema[n]&&delete e[n];let c="valid";for(let r of t.validator(e,l))r.explanation=n.message,c="not_valid",yield[r,void 0];for(let[_,p,d]of t.entries(e,l)){let t=u(p,d,{path:void 0===_?r:[...r,_],branch:void 0===_?o:[...o,p],coerce:a,mask:s,message:n.message});for(let n of t)n[0]?(c=null!=n[0].refinement?"not_refined":"not_valid",yield[n[0],void 0]):a&&(p=n[1],void 0===_?e=p:e instanceof Map?e.set(_,p):e instanceof Set?e.add(p):i(e)&&(void 0!==p||_ in e)&&(e[_]=p))}if("not_valid"!==c)for(let r of t.refiner(e,l))r.explanation=n.message,c="not_refined",yield[r,void 0];"valid"===c&&(yield[void 0,e])}class l{constructor(e){let{type:t,schema:n,validator:r,refiner:i,coercer:o=e=>e,entries:a=function*(){}}=e;this.type=t,this.schema=n,this.entries=a,this.coercer=o,r?this.validator=(e,t)=>{let n=r(e,t);return s(n,t,this,e)}:this.validator=()=>[],i?this.refiner=(e,t)=>{let n=i(e,t);return s(n,t,this,e)}:this.refiner=()=>[]}assert(e,t){return c(e,this,t)}create(e,t){return _(e,this,t)}is(e){return d(e,this)}mask(e,t){return p(e,this,t)}validate(e,t={}){return f(e,this,t)}}function c(e,t,n){let r=f(e,t,{message:n});if(r[0])throw r[0]}function _(e,t,n){let r=f(e,t,{coerce:!0,message:n});if(!r[0])return r[1];throw r[0]}function p(e,t,n){let r=f(e,t,{coerce:!0,mask:!0,message:n});if(!r[0])return r[1];throw r[0]}function d(e,t){let n=f(e,t);return!n[0]}function f(e,t,n={}){let i=u(e,t,n),o=function(e){let{done:t,value:n}=e.next();return t?void 0:n}(i);if(o[0]){let e=new r(o[0],function*(){for(let e of i)e[0]&&(yield e[0])});return[e,void 0]}{let e=o[1];return[void 0,e]}}function m(...e){let t="type"===e[0].type,n=e.map(e=>e.schema),r=Object.assign({},...n);return t?Y(r):R(r)}function h(e,t){return new l({type:e,schema:null,validator:t})}function y(e,t){return new l({...e,refiner:(t,n)=>void 0===t||e.refiner(t,n),validator:(n,r)=>void 0===n||(t(n,r),e.validator(n,r))})}function g(e){return new l({type:"dynamic",schema:null,*entries(t,n){let r=e(t,n);yield*r.entries(t,n)},validator(t,n){let r=e(t,n);return r.validator(t,n)},coercer(t,n){let r=e(t,n);return r.coercer(t,n)},refiner(t,n){let r=e(t,n);return r.refiner(t,n)}})}function b(e){let t;return new l({type:"lazy",schema:null,*entries(n,r){t??(t=e()),yield*t.entries(n,r)},validator:(n,r)=>(t??(t=e()),t.validator(n,r)),coercer:(n,r)=>(t??(t=e()),t.coercer(n,r)),refiner:(n,r)=>(t??(t=e()),t.refiner(n,r))})}function v(e,t){let{schema:n}=e,r={...n};for(let e of t)delete r[e];return"type"===e.type?Y(r):R(r)}function x(e){let t=e instanceof l?{...e.schema}:{...e};for(let e in t)t[e]=B(t[e]);return R(t)}function D(e,t){let{schema:n}=e,r={};for(let e of t)r[e]=n[e];return R(r)}function S(e,t){return console.warn("superstruct@0.11 - The `struct` helper has been renamed to `define`."),h(e,t)}function T(){return h("any",()=>!0)}function E(e){return new l({type:"array",schema:e,*entries(t){if(e&&Array.isArray(t))for(let[n,r]of t.entries())yield[n,r,e]},coercer:e=>Array.isArray(e)?e.slice():e,validator:e=>Array.isArray(e)||`Expected an array value, but received: ${a(e)}`})}function w(){return h("bigint",e=>"bigint"==typeof e)}function A(){return h("boolean",e=>"boolean"==typeof e)}function C(){return h("date",e=>e instanceof Date&&!isNaN(e.getTime())||`Expected a valid \`Date\` object, but received: ${a(e)}`)}function N(e){let t={},n=e.map(e=>a(e)).join();for(let n of e)t[n]=n;return new l({type:"enums",schema:t,validator:t=>e.includes(t)||`Expected one of \`${n}\`, but received: ${a(t)}`})}function M(){return h("func",e=>"function"==typeof e||`Expected a function, but received: ${a(e)}`)}function k(e){return h("instance",t=>t instanceof e||`Expected a \`${e.name}\` instance, but received: ${a(t)}`)}function I(){return h("integer",e=>"number"==typeof e&&!isNaN(e)&&Number.isInteger(e)||`Expected an integer, but received: ${a(e)}`)}function j(e){return new l({type:"intersection",schema:null,*entries(t,n){for(let r of e)yield*r.entries(t,n)},*validator(t,n){for(let r of e)yield*r.validator(t,n)},*refiner(t,n){for(let r of e)yield*r.refiner(t,n)}})}function O(e){let t=a(e),n=typeof e;return new l({type:"literal",schema:"string"===n||"number"===n||"boolean"===n?e:null,validator:n=>n===e||`Expected the literal \`${t}\`, but received: ${a(n)}`})}function P(e,t){return new l({type:"map",schema:null,*entries(n){if(e&&t&&n instanceof Map)for(let[r,i]of n.entries())yield[r,r,e],yield[r,i,t]},coercer:e=>e instanceof Map?new Map(e):e,validator:e=>e instanceof Map||`Expected a \`Map\` object, but received: ${a(e)}`})}function F(){return h("never",()=>!1)}function L(e){return new l({...e,validator:(t,n)=>null===t||e.validator(t,n),refiner:(t,n)=>null===t||e.refiner(t,n)})}function z(){return h("number",e=>"number"==typeof e&&!isNaN(e)||`Expected a number, but received: ${a(e)}`)}function R(e){let t=e?Object.keys(e):[],n=F();return new l({type:"object",schema:e||null,*entries(r){if(e&&i(r)){let i=new Set(Object.keys(r));for(let n of t)i.delete(n),yield[n,r[n],e[n]];for(let e of i)yield[e,r[e],n]}},validator:e=>i(e)||`Expected an object, but received: ${a(e)}`,coercer:e=>i(e)?{...e}:e})}function B(e){return new l({...e,validator:(t,n)=>void 0===t||e.validator(t,n),refiner:(t,n)=>void 0===t||e.refiner(t,n)})}function U(e,t){return new l({type:"record",schema:null,*entries(n){if(i(n))for(let r in n){let i=n[r];yield[r,r,e],yield[r,i,t]}},validator:e=>i(e)||`Expected an object, but received: ${a(e)}`})}function J(){return h("regexp",e=>e instanceof RegExp)}function $(e){return new l({type:"set",schema:null,*entries(t){if(e&&t instanceof Set)for(let n of t)yield[n,n,e]},coercer:e=>e instanceof Set?new Set(e):e,validator:e=>e instanceof Set||`Expected a \`Set\` object, but received: ${a(e)}`})}function K(){return h("string",e=>"string"==typeof e||`Expected a string, but received: ${a(e)}`)}function V(e){let t=F();return new l({type:"tuple",schema:null,*entries(n){if(Array.isArray(n)){let r=Math.max(e.length,n.length);for(let i=0;iArray.isArray(e)||`Expected an array, but received: ${a(e)}`})}function Y(e){let t=Object.keys(e);return new l({type:"type",schema:e,*entries(n){if(i(n))for(let r of t)yield[r,n[r],e[r]]},validator:e=>i(e)||`Expected an object, but received: ${a(e)}`,coercer:e=>i(e)?{...e}:e})}function q(e){let t=e.map(e=>e.type).join(" | ");return new l({type:"union",schema:null,coercer(t){for(let n of e){let[e,r]=n.validate(t,{coerce:!0});if(!e)return r}return t},validator(n,r){let i=[];for(let t of e){let[...e]=u(n,t,r),[o]=e;if(!o[0])return[];for(let[t]of e)t&&i.push(t)}return[`Expected the value to satisfy a union of \`${t}\`, but received: ${a(n)}`,...i]}})}function W(){return h("unknown",()=>!0)}function Q(e,t,n){return new l({...e,coercer:(r,i)=>d(r,t)?e.coercer(n(r,i),i):e.coercer(r,i)})}function H(e,t,n={}){return Q(e,W(),e=>{let r="function"==typeof t?t():t;if(void 0===e)return r;if(!n.strict&&o(e)&&o(r)){let t={...e},n=!1;for(let e in r)void 0===t[e]&&(t[e]=r[e],n=!0);if(n)return t}return e})}function G(e){return Q(e,K(),e=>e.trim())}function Z(e){return eo(e,"empty",t=>{let n=X(t);return 0===n||`Expected an empty ${e.type} but received one with a size of \`${n}\``})}function X(e){return e instanceof Map||e instanceof Set?e.size:e.length}function ee(e,t,n={}){let{exclusive:r}=n;return eo(e,"max",n=>r?nr?n>t:n>=t||`Expected a ${e.type} greater than ${r?"":"or equal to "}${t} but received \`${n}\``)}function en(e){return eo(e,"nonempty",t=>{let n=X(t);return n>0||`Expected a nonempty ${e.type} but received an empty one`})}function er(e,t){return eo(e,"pattern",n=>t.test(n)||`Expected a ${e.type} matching \`/${t.source}/\` but received "${n}"`)}function ei(e,t,n=t){let r=`Expected a ${e.type}`,i=t===n?`of \`${t}\``:`between \`${t}\` and \`${n}\``;return eo(e,"size",e=>{if("number"==typeof e||e instanceof Date)return t<=e&&e<=n||`${r} ${i} but received \`${e}\``;if(e instanceof Map||e instanceof Set){let{size:o}=e;return t<=o&&o<=n||`${r} with a size ${i} but received one with a size of \`${o}\``}{let{length:o}=e;return t<=o&&o<=n||`${r} with a length ${i} but received one with a length of \`${o}\``}})}function eo(e,t,n){return new l({...e,*refiner(r,i){yield*e.refiner(r,i);let o=n(r,i),a=s(o,i,e,r);for(let e of a)yield{...e,refinement:t}}})}},6853:(e,t,n)=>{let r={S_IFMT:61440,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960};try{e.exports=n(4374).constants||r}catch{e.exports=r}},9254:(e,t,n)=>{let{Writable:r,Readable:i,getStreamError:o}=n(6871),a=n(2865),s=n(2871),u=n(8066),l=s.alloc(0);class c{constructor(){this.buffered=0,this.shifted=0,this.queue=new a,this._offset=0}push(e){this.buffered+=e.byteLength,this.queue.push(e)}shiftFirst(e){return 0===this._buffered?null:this._next(e)}shift(e){if(e>this.buffered)return null;if(0===e)return l;let t=this._next(e);if(e===t.byteLength)return t;let n=[t];for(;(e-=t.byteLength)>0;)t=this._next(e),n.push(t);return s.concat(n)}_next(e){let t=this.queue.peek(),n=t.byteLength-this._offset;if(e>=n){let e=this._offset?t.subarray(this._offset,t.byteLength):t;return this.queue.shift(),this._offset=0,this.buffered-=n,this.shifted+=n,e}return this.buffered-=e,this.shifted+=e,t.subarray(this._offset,this._offset+=e)}}class _ extends i{constructor(e,t,n){super(),this.header=t,this.offset=n,this._parent=e}_read(e){0===this.header.size&&this.push(null),this._parent._stream===this&&this._parent._update(),e(null)}_predestroy(){this._parent.destroy(o(this))}_detach(){this._parent._stream===this&&(this._parent._stream=null,this._parent._missing=f(this.header.size),this._parent._update())}_destroy(e){this._detach(),e(null)}}class p extends r{constructor(e){super(e),e||(e={}),this._buffer=new c,this._offset=0,this._header=null,this._stream=null,this._missing=0,this._longHeader=!1,this._callback=d,this._locked=!1,this._finished=!1,this._pax=null,this._paxGlobal=null,this._gnuLongPath=null,this._gnuLongLinkPath=null,this._filenameEncoding=e.filenameEncoding||"utf-8",this._allowUnknownFormat=!!e.allowUnknownFormat,this._unlockBound=this._unlock.bind(this)}_unlock(e){if(this._locked=!1,e){this.destroy(e),this._continueWrite(e);return}this._update()}_consumeHeader(){if(this._locked)return!1;this._offset=this._buffer.shifted;try{this._header=u.decode(this._buffer.shift(512),this._filenameEncoding,this._allowUnknownFormat)}catch(e){return this._continueWrite(e),!1}if(!this._header)return!0;switch(this._header.type){case"gnu-long-path":case"gnu-long-link-path":case"pax-global-header":case"pax-header":return this._longHeader=!0,this._missing=this._header.size,!0}return(this._locked=!0,this._applyLongHeaders(),0===this._header.size||"directory"===this._header.type)?this.emit("entry",this._header,this._createStream(),this._unlockBound):(this._stream=this._createStream(),this._missing=this._header.size,this.emit("entry",this._header,this._stream,this._unlockBound)),!0}_applyLongHeaders(){this._gnuLongPath&&(this._header.name=this._gnuLongPath,this._gnuLongPath=null),this._gnuLongLinkPath&&(this._header.linkname=this._gnuLongLinkPath,this._gnuLongLinkPath=null),this._pax&&(this._pax.path&&(this._header.name=this._pax.path),this._pax.linkpath&&(this._header.linkname=this._pax.linkpath),this._pax.size&&(this._header.size=parseInt(this._pax.size,10)),this._header.pax=this._pax,this._pax=null)}_decodeLongHeader(e){switch(this._header.type){case"gnu-long-path":this._gnuLongPath=u.decodeLongPath(e,this._filenameEncoding);break;case"gnu-long-link-path":this._gnuLongLinkPath=u.decodeLongPath(e,this._filenameEncoding);break;case"pax-global-header":this._paxGlobal=u.decodePax(e);break;case"pax-header":this._pax=null===this._paxGlobal?u.decodePax(e):Object.assign({},this._paxGlobal,u.decodePax(e))}}_consumeLongHeader(){this._longHeader=!1,this._missing=f(this._header.size);let e=this._buffer.shift(this._header.size);try{this._decodeLongHeader(e)}catch(e){return this._continueWrite(e),!1}return!0}_consumeStream(){let e=this._buffer.shiftFirst(this._missing);if(null===e)return!1;this._missing-=e.byteLength;let t=this._stream.push(e);return 0===this._missing?(this._stream.push(null),t&&this._stream._detach(),t&&!1===this._locked):t}_createStream(){return new _(this,this._header,this._offset)}_update(){for(;this._buffer.buffered>0&&!this.destroying;){if(this._missing>0){if(null!==this._stream){if(!1===this._consumeStream())return;continue}if(!0===this._longHeader){if(this._missing>this._buffer.buffered)break;if(!1===this._consumeLongHeader())return!1;continue}let e=this._buffer.shiftFirst(this._missing);null!==e&&(this._missing-=e.byteLength);continue}if(this._buffer.buffered<512)break;if(null!==this._stream||!1===this._consumeHeader())return}this._continueWrite(null)}_continueWrite(e){let t=this._callback;this._callback=d,t(e)}_write(e,t){this._callback=t,this._buffer.push(e),this._update()}_final(e){this._finished=0===this._missing&&0===this._buffer.buffered,e(this._finished?null:Error("Unexpected end of data"))}_predestroy(){this._continueWrite(null)}_destroy(e){this._stream&&this._stream.destroy(o(this)),e(null)}[Symbol.asyncIterator](){let e=null,t=null,n=null,r=null,i=null,o=this;return this.on("entry",function(e,o,a){i=a,o.on("error",d),t?(t({value:o,done:!1}),t=n=null):r=o}),this.on("error",t=>{e=t}),this.on("close",function(){a(e),t&&(e?n(e):t({value:void 0,done:!0}),t=n=null)}),{[Symbol.asyncIterator](){return this},next:()=>new Promise(s),return:()=>u(null),throw:e=>u(e)};function a(e){if(!i)return;let t=i;i=null,t(e)}function s(i,s){if(e)return s(e);if(r){i({value:r,done:!1}),r=null;return}t=i,n=s,a(null),o._finished&&t&&(t({value:void 0,done:!0}),t=n=null)}function u(e){return o.destroy(e),a(e),new Promise((t,n)=>{if(o.destroyed)return t({value:void 0,done:!0});o.once("close",function(){e?n(e):t({value:void 0,done:!0})})})}}}function d(){}function f(e){return(e&=511)&&512-e}e.exports=function(e){return new p(e)}},8066:(e,t,n)=>{let r=n(2871),i=r.from([117,115,116,97,114,0]),o=r.from([48,48]),a=r.from([117,115,116,97,114,32]),s=r.from([32,0]);function u(e,t,n,r){for(;nt?"7777777777777777777".slice(0,t)+" ":"0000000000000000000".slice(0,t-e.length)+e+" "}function _(e,t,n){if(128&(e=e.subarray(t,t+n))[t=0])return function(e){let t,n;if(128===e[0])t=!0;else{if(255!==e[0])return null;t=!1}let r=[];for(n=e.length-1;n>0;n--){let i=e[n];t?r.push(i):r.push(255-i)}let i=0,o=r.length;for(n=0;n=i?i:r>=0||(r+=i)>=0?r:0);for(;t=Math.pow(10,n)&&n++,t+n+e}t.decodeLongPath=function(e,t){return p(e,0,e.length,t)},t.encodePax=function(e){let t="";e.name&&(t+=d(" path="+e.name+"\n")),e.linkname&&(t+=d(" linkpath="+e.linkname+"\n"));let n=e.pax;if(n)for(let e in n)t+=d(" "+e+"="+n[e]+"\n");return r.from(t)},t.decodePax=function(e){let t={};for(;e.length;){let n=0;for(;n100;){let e=a.indexOf("/");if(-1===e)return null;s+=s?"/"+a.slice(0,e):a.slice(0,e),a=a.slice(e+1)}return r.byteLength(a)>100||r.byteLength(s)>155||e.linkname&&r.byteLength(e.linkname)>100?null:(r.write(n,a),r.write(n,c(4095&e.mode,6),100),r.write(n,c(e.uid,6),108),r.write(n,c(e.gid,6),116),(t=e.size).toString(8).length>11?function(e,t,n){t[n]=128;for(let r=11;r>0;r--)t[n+r]=255&e,e=Math.floor(e/256)}(t,n,124):r.write(n,c(t,11),124),r.write(n,c(e.mtime.getTime()/1e3|0,11),136),n[156]=48+function(e){switch(e){case"file":break;case"link":return 1;case"symlink":return 2;case"character-device":return 3;case"block-device":return 4;case"directory":return 5;case"fifo":return 6;case"contiguous-file":return 7;case"pax-header":return 72}return 0}(e.type),e.linkname&&r.write(n,e.linkname,157),r.copy(i,n,257),r.copy(o,n,263),e.uname&&r.write(n,e.uname,265),e.gname&&r.write(n,e.gname,297),r.write(n,c(e.devmajor||0,6),329),r.write(n,c(e.devminor||0,6),337),s&&r.write(n,s,345),r.write(n,c(l(n),6),148),n)},t.decode=function(e,t,n){let o=0===e[156]?0:e[156]-48,u=p(e,0,100,t),c=_(e,100,8),d=_(e,108,8),f=_(e,116,8),m=_(e,124,12),h=_(e,136,12),y=function(e){switch(e){case 0:return"file";case 1:return"link";case 2:return"symlink";case 3:return"character-device";case 4:return"block-device";case 5:return"directory";case 6:return"fifo";case 7:return"contiguous-file";case 72:return"pax-header";case 55:return"pax-global-header";case 27:return"gnu-long-link-path";case 28:case 30:return"gnu-long-path"}return null}(o),g=0===e[157]?null:p(e,157,100,t),b=p(e,265,32),v=p(e,297,32),x=_(e,329,8),D=_(e,337,8),S=l(e);if(256===S)return null;if(S!==_(e,148,8))throw Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");if(r.equals(i,e.subarray(257,263)))e[345]&&(u=p(e,345,155,t)+"/"+u);else if(r.equals(a,e.subarray(257,263))&&r.equals(s,e.subarray(263,265)));else if(!n)throw Error("Invalid tar header: unknown format.");return 0===o&&u&&"/"===u[u.length-1]&&(o=5),{name:u,mode:c,uid:d,gid:f,size:m,mtime:new Date(1e3*h),type:y,linkname:g,uname:b,gname:v,devmajor:x,devminor:D,pax:null}}},2623:(e,t,n)=>{t.extract=n(9254),n(4132)},4132:(e,t,n)=>{let{Readable:r,Writable:i,getStreamError:o}=n(6871),a=n(2871),s=n(6853),u=n(8066),l=a.alloc(1024);class c extends i{constructor(e,t,n){super({mapWritable:f,eagerOpen:!0}),this.written=0,this.header=t,this._callback=n,this._linkname=null,this._isLinkname="symlink"===t.type&&!t.linkname,this._isVoid="file"!==t.type&&"contiguous-file"!==t.type,this._finished=!1,this._pack=e,this._openCallback=null,null===this._pack._stream?this._pack._stream=this:this._pack._pending.push(this)}_open(e){this._openCallback=e,this._pack._stream===this&&this._continueOpen()}_continuePack(e){if(null===this._callback)return;let t=this._callback;this._callback=null,t(e)}_continueOpen(){null===this._pack._stream&&(this._pack._stream=this);let e=this._openCallback;if(this._openCallback=null,null!==e){if(this._pack.destroying)return e(Error("pack stream destroyed"));if(this._pack._finalized)return e(Error("pack stream is already finalized"));this._pack._stream=this,this._isLinkname||this._pack._encode(this.header),this._isVoid&&(this._finish(),this._continuePack(null)),e(null)}}_write(e,t){return this._isLinkname?(this._linkname=this._linkname?a.concat([this._linkname,e]):e,t(null)):this._isVoid?e.byteLength>0?t(Error("No body allowed for this entry")):t():(this.written+=e.byteLength,this._pack.push(e))?t():void(this._pack._drain=t)}_finish(){this._finished||(this._finished=!0,this._isLinkname&&(this.header.linkname=this._linkname?a.toString(this._linkname,"utf-8"):"",this._pack._encode(this.header)),d(this._pack,this.header.size),this._pack._done(this))}_final(e){if(this.written!==this.header.size)return e(Error("Size mismatch"));this._finish(),e(null)}_getError(){return o(this)||Error("tar entry destroyed")}_predestroy(){this._pack.destroy(this._getError())}_destroy(e){this._pack._done(this),this._continuePack(this._finished?null:this._getError()),e()}}class _ extends r{constructor(e){super(e),this._drain=p,this._finalized=!1,this._finalizing=!1,this._pending=[],this._stream=null}entry(e,t,n){if(this._finalized||this.destroying)throw Error("already finalized or destroyed");"function"==typeof t&&(n=t,t=null),n||(n=p),e.size&&"symlink"!==e.type||(e.size=0),e.type||(e.type=function(e){switch(e&s.S_IFMT){case s.S_IFBLK:return"block-device";case s.S_IFCHR:return"character-device";case s.S_IFDIR:return"directory";case s.S_IFIFO:return"fifo";case s.S_IFLNK:return"symlink"}return"file"}(e.mode)),e.mode||(e.mode="directory"===e.type?493:420),e.uid||(e.uid=0),e.gid||(e.gid=0),e.mtime||(e.mtime=new Date),"string"==typeof t&&(t=a.from(t));let r=new c(this,e,n);return a.isBuffer(t)?(e.size=t.byteLength,r.write(t),r.end()):r._isVoid,r}finalize(){if(this._stream||this._pending.length>0){this._finalizing=!0;return}this._finalized||(this._finalized=!0,this.push(l),this.push(null))}_done(e){e===this._stream&&(this._stream=null,this._finalizing&&this.finalize(),this._pending.length&&this._pending.shift()._continueOpen())}_encode(e){if(!e.pax){let t=u.encode(e);if(t){this.push(t);return}}this._encodePax(e)}_encodePax(e){let t=u.encodePax({name:e.name,linkname:e.linkname,pax:e.pax}),n={name:"PaxHeader",mode:e.mode,uid:e.uid,gid:e.gid,size:t.byteLength,mtime:e.mtime,type:"pax-header",linkname:e.linkname&&"PaxHeader",uname:e.uname,gname:e.gname,devmajor:e.devmajor,devminor:e.devminor};this.push(u.encode(n)),this.push(t),d(this,t.byteLength),n.size=e.size,n.type=e.type,this.push(u.encode(n))}_doDrain(){let e=this._drain;this._drain=p,e()}_predestroy(){let e=o(this);for(this._stream&&this._stream.destroy(e);this._pending.length;){let t=this._pending.shift();t.destroy(e),t._continueOpen()}this._doDrain()}_read(e){this._doDrain(),e()}}function p(){}function d(e,t){(t&=511)&&e.push(l.subarray(0,512-t))}function f(e){return a.isBuffer(e)?e:a.from(e)}e.exports=function(e){return new _(e)}},9085:(e,t)=>{var n,r=function(){var e=Object.prototype.toString,t=Object.prototype.hasOwnProperty;return{Class:function(t){return e.call(t).replace(/^\[object *|\]$/g,"")},HasProperty:function(e,t){return t in e},HasOwnProperty:function(e,n){return t.call(e,n)},IsCallable:function(e){return"function"==typeof e},ToInt32:function(e){return e>>0},ToUint32:function(e){return e>>>0}}}(),i=Math.LN2,o=Math.abs,a=Math.floor,s=Math.log,u=Math.min,l=Math.pow,c=Math.round;function _(e){if(p&&n){var t,r=p(e);for(t=0;t>n}function f(e,t){var n=32-t;return e<>>n}function m(e){return[255&e]}function h(e){return d(e[0],8)}function y(e){return[255&e]}function g(e){return f(e[0],8)}function b(e){return[(e=c(Number(e)))<0?0:e>255?255:255&e]}function v(e){return[e>>8&255,255&e]}function x(e){return d(e[0]<<8|e[1],16)}function D(e){return[e>>8&255,255&e]}function S(e){return f(e[0]<<8|e[1],16)}function T(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function E(e){return d(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function w(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function A(e){return f(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function C(e,t,n){var r,c,_,p,d,f,m,h=(1<.5?t+1:t%2?t+1:t}for(e!=e?(c=(1<=l(2,1-h)?(c=u(a(s(e)/i),1023),(_=y(e/l(2,c)*l(2,n)))/l(2,n)>=2&&(c+=1,_=1),c>h?(c=(1<>=1;return(p.reverse(),a=p.join(""),s=(1<0?u*l(2,c-s)*(1+_/l(2,n)):0!==_?u*l(2,-(s-1))*(_/l(2,n)):u<0?-0:0}function M(e){return N(e,11,52)}function k(e){return C(e,11,52)}function I(e){return N(e,8,23)}function j(e){return C(e,8,23)}!function(){var e=function(e){var t;if((e=r.ToInt32(e))<0)throw RangeError("ArrayBuffer size is not a small enough positive integer");for(t=0,this.byteLength=e,this._bytes=[],this._bytes.length=e;tthis.buffer.byteLength)throw RangeError("byteOffset out of range");if(this.byteOffset%this.BYTES_PER_ELEMENT)throw RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.");if(arguments.length<3){if(this.byteLength=this.buffer.byteLength-this.byteOffset,this.byteLength%this.BYTES_PER_ELEMENT)throw RangeError("length of buffer minus byteOffset not a multiple of the element size");this.length=this.byteLength/this.BYTES_PER_ELEMENT}else this.length=r.ToUint32(o),this.byteLength=this.length*this.BYTES_PER_ELEMENT;if(this.byteOffset+this.byteLength>this.buffer.byteLength)throw RangeError("byteOffset and length reference an area beyond the end of the buffer")}else throw TypeError("Unexpected argument type(s)")}else for(l=0,u=arguments[0],this.length=r.ToUint32(u.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new e(this.byteLength),this.byteOffset=0;l1e5)throw RangeError("Array too large for polyfill");for(t=0;t=this.length)){var t,n,i=[];for(t=0,n=this.byteOffset+e*this.BYTES_PER_ELEMENT;t=this.length)){var n,i,o=this._pack(t);for(n=0,i=this.byteOffset+e*this.BYTES_PER_ELEMENT;nthis.length)throw RangeError("Offset plus length of array is out of range");if(c=this.byteOffset+o*this.BYTES_PER_ELEMENT,_=n.length*this.BYTES_PER_ELEMENT,n.buffer===this.buffer){for(s=0,p=[],u=n.byteOffset;s<_;s+=1,u+=1)p[s]=n.buffer._bytes[u];for(s=0,l=c;s<_;s+=1,l+=1)this.buffer._bytes[l]=p[s]}else for(s=0,u=n.byteOffset,l=c;s<_;s+=1,u+=1,l+=1)this.buffer._bytes[l]=n.buffer._bytes[u]}else if("object"==typeof arguments[0]&&void 0!==arguments[0].length){if(i=arguments[0],a=r.ToUint32(i.length),o=r.ToUint32(arguments[1]),o+a>this.length)throw RangeError("Offset plus length of array is out of range");for(s=0;si?i:n,o=t,a=this.length;var n,i,o,a,s=(t=o<0?0:o>a?a:o)-e;return s<0&&(s=0),new this.constructor(this.buffer,this.byteOffset+e*this.BYTES_PER_ELEMENT,s)},s}var a=o(1,m,h),s=o(1,y,g),u=o(1,b,g),l=o(2,v,x),c=o(2,D,S),p=o(4,T,E),d=o(4,w,A),f=o(4,j,I),C=o(8,k,M);t.iq=t.iq||a,t.U2=t.U2||s,t.we=t.we||u,t.M2=t.M2||l,t.HA=t.HA||c,t.ZV=t.ZV||p,t._R=t._R||d,t.$L=t.$L||f,t.I=t.I||C}(),function(){function e(e,t){return r.IsCallable(e.get)?e.get(t):e[t]}var n,i=(n=new t.HA([4660]),18===e(new t.U2(n.buffer),0)),o=function(e,n,i){if(0==arguments.length)e=new t.eT(0);else if(!(e instanceof t.eT||"ArrayBuffer"===r.Class(e)))throw TypeError("TypeError");if(this.buffer=e||new t.eT(0),this.byteOffset=r.ToUint32(n),this.byteOffset>this.buffer.byteLength)throw RangeError("byteOffset out of range");if(arguments.length<3?this.byteLength=this.buffer.byteLength-this.byteOffset:this.byteLength=r.ToUint32(i),this.byteOffset+this.byteLength>this.buffer.byteLength)throw RangeError("byteOffset and length reference an area beyond the end of the buffer");_(this)};function a(n){return function(o,a){if((o=r.ToUint32(o))+n.BYTES_PER_ELEMENT>this.byteLength)throw RangeError("Array index out of range");o+=this.byteOffset;var s,u=new t.U2(this.buffer,o,n.BYTES_PER_ELEMENT),l=[];for(s=0;sthis.byteLength)throw RangeError("Array index out of range");var u,l=new n([a]),c=new t.U2(l.buffer),_=[];for(u=0;u{e.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}};function r(e){try{if(!n.g.localStorage)return!1}catch(e){return!1}var t=n.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}},82:e=>{e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},4895:(e,t,n)=>{"use strict";var r=n(2635),i=n(3138),o=n(2094),a=n(198);function s(e){return e.call.bind(e)}var u="undefined"!=typeof BigInt,l="undefined"!=typeof Symbol,c=s(Object.prototype.toString),_=s(Number.prototype.valueOf),p=s(String.prototype.valueOf),d=s(Boolean.prototype.valueOf);if(u)var f=s(BigInt.prototype.valueOf);if(l)var m=s(Symbol.prototype.valueOf);function h(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 g(e){return"[object Set]"===c(e)}function b(e){return"[object WeakMap]"===c(e)}function v(e){return"[object WeakSet]"===c(e)}function x(e){return"[object ArrayBuffer]"===c(e)}function D(e){return"undefined"!=typeof ArrayBuffer&&(x.working?x(e):e instanceof ArrayBuffer)}function S(e){return"[object DataView]"===c(e)}function T(e){return"undefined"!=typeof DataView&&(S.working?S(e):e instanceof DataView)}t.isArgumentsObject=r,t.isGeneratorFunction=i,t.isTypedArray=a,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):a(e)||T(e)},t.isUint8Array=function(e){return"Uint8Array"===o(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===o(e)},t.isUint16Array=function(e){return"Uint16Array"===o(e)},t.isUint32Array=function(e){return"Uint32Array"===o(e)},t.isInt8Array=function(e){return"Int8Array"===o(e)},t.isInt16Array=function(e){return"Int16Array"===o(e)},t.isInt32Array=function(e){return"Int32Array"===o(e)},t.isFloat32Array=function(e){return"Float32Array"===o(e)},t.isFloat64Array=function(e){return"Float64Array"===o(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===o(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===o(e)},y.working="undefined"!=typeof Map&&y(new Map),t.isMap=function(e){return"undefined"!=typeof Map&&(y.working?y(e):e instanceof Map)},g.working="undefined"!=typeof Set&&g(new Set),t.isSet=function(e){return"undefined"!=typeof Set&&(g.working?g(e):e instanceof Set)},b.working="undefined"!=typeof WeakMap&&b(new WeakMap),t.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(b.working?b(e):e instanceof WeakMap)},v.working="undefined"!=typeof WeakSet&&v(new WeakSet),t.isWeakSet=function(e){return v(e)},x.working="undefined"!=typeof ArrayBuffer&&x(new ArrayBuffer),t.isArrayBuffer=D,S.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&S(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=T;var E="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function w(e){return"[object SharedArrayBuffer]"===c(e)}function A(e){return void 0!==E&&(void 0===w.working&&(w.working=w(new E)),w.working?w(e):e instanceof E)}function C(e){return h(e,_)}function N(e){return h(e,p)}function M(e){return h(e,d)}function k(e){return u&&h(e,f)}function I(e){return l&&h(e,m)}t.isSharedArrayBuffer=A,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=C,t.isStringObject=N,t.isBooleanObject=M,t.isBigIntObject=k,t.isSymbolObject=I,t.isBoxedPrimitive=function(e){return C(e)||N(e)||M(e)||k(e)||I(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(D(e)||A(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw Error(e+" is not supported in userland")}})})},3335:(e,t,n)=>{var r=n(4406),i=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r=i)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}}),s=r[n];n=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),h(n)?r.showHidden=n:n&&t._extend(r,n),v(r.showHidden)&&(r.showHidden=!1),v(r.depth)&&(r.depth=2),v(r.colors)&&(r.colors=!1),v(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=c),p(r,e,r.depth)}function c(e,t){var n=l.styles[t];return n?"\x1b["+l.colors[n][0]+"m"+e+"\x1b["+l.colors[n][1]+"m":e}function _(e,t){return e}function p(e,n,r){if(e.customInspect&&n&&E(n.inspect)&&n.inspect!==t.inspect&&!(n.constructor&&n.constructor.prototype===n)){var i,o,a,s,u,l=n.inspect(r,e);return b(l)||(l=p(e,l,r)),l}var c=function(e,t){if(v(t))return e.stylize("undefined","undefined");if(b(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return g(t)?e.stylize(""+t,"number"):h(t)?e.stylize(""+t,"boolean"):y(t)?e.stylize("null","null"):void 0}(e,n);if(c)return c;var _=Object.keys(n),D=(s={},_.forEach(function(e,t){s[e]=!0}),s);if(e.showHidden&&(_=Object.getOwnPropertyNames(n)),T(n)&&(_.indexOf("message")>=0||_.indexOf("description")>=0))return d(n);if(0===_.length){if(E(n)){var w=n.name?": "+n.name:"";return e.stylize("[Function"+w+"]","special")}if(x(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(S(n))return e.stylize(Date.prototype.toString.call(n),"date");if(T(n))return d(n)}var A="",C=!1,M=["{","}"];return(m(n)&&(C=!0,M=["[","]"]),E(n)&&(A=" [Function"+(n.name?": "+n.name:"")+"]"),x(n)&&(A=" "+RegExp.prototype.toString.call(n)),S(n)&&(A=" "+Date.prototype.toUTCString.call(n)),T(n)&&(A=" "+d(n)),0!==_.length||C&&0!=n.length)?r<0?x(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),u=C?function(e,t,n,r,i){for(var o=[],a=0,s=t.length;a=0&&a++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?o[0]+(""===i?"":i+"\n ")+" "+u.join(",\n ")+" "+o[1]:o[0]+i+" "+u.join(", ")+" "+o[1]):M[0]+A+M[1]}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,n,r,i,o){var a,s,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),N(r,i)||(a="["+i+"]"),!s&&(0>e.seen.indexOf(u.value)?(s=y(n)?p(e,u.value,null):p(e,u.value,n-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map(function(e){return" "+e}).join("\n").slice(2):"\n"+s.split("\n").map(function(e){return" "+e}).join("\n")):s=e.stylize("[Circular]","special")),v(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function m(e){return Array.isArray(e)}function h(e){return"boolean"==typeof e}function y(e){return null===e}function g(e){return"number"==typeof e}function b(e){return"string"==typeof e}function v(e){return void 0===e}function x(e){return D(e)&&"[object RegExp]"===w(e)}function D(e){return"object"==typeof e&&null!==e}function S(e){return D(e)&&"[object Date]"===w(e)}function T(e){return D(e)&&("[object Error]"===w(e)||e instanceof Error)}function E(e){return"function"==typeof e}function w(e){return Object.prototype.toString.call(e)}function A(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(!a[e=e.toUpperCase()]){if(s.test(e)){var n=r.pid;a[e]=function(){var r=t.format.apply(t,arguments);console.error("%s %d: %s",e,n,r)}}else a[e]=function(){}}return a[e]},t.inspect=l,l.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]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=n(4895),t.isArray=m,t.isBoolean=h,t.isNull=y,t.isNullOrUndefined=function(e){return null==e},t.isNumber=g,t.isString=b,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=v,t.isRegExp=x,t.types.isRegExp=x,t.isObject=D,t.isDate=S,t.types.isDate=S,t.isError=T,t.types.isNativeError=T,t.isFunction=E,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n(82);var C=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function N(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,n;console.log("%s - %s",(n=[A((e=new Date).getHours()),A(e.getMinutes()),A(e.getSeconds())].join(":"),[e.getDate(),C[e.getMonth()],n].join(" ")),t.format.apply(t,arguments))},t.inherits=n(1285),t._extend=function(e,t){if(!t||!D(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var M="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function k(e,t){if(!e){var n=Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw TypeError('The "original" argument must be of type Function');if(M&&e[M]){var t=e[M];if("function"!=typeof t)throw TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,M,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise(function(e,r){t=e,n=r}),i=[],o=0;o{"use strict";var r=RegExp("^(?:@([^/]+?)[/])?([^/]+?)$"),i=n(5890),o=["node_modules","favicon.ico"],a=function(e,t){var n={validForNewPackages:0===t.length&&0===e.length,validForOldPackages:0===t.length,warnings:e,errors:t};return n.warnings.length||delete n.warnings,n.errors.length||delete n.errors,n};e.exports=function(e){var t=[],n=[];if(null===e)return n.push("name cannot be null"),a(t,n);if(void 0===e)return n.push("name cannot be undefined"),a(t,n);if("string"!=typeof e)return n.push("name must be a string"),a(t,n);if(e.length||n.push("name length must be greater than zero"),e.match(/^\./)&&n.push("name cannot start with a period"),e.match(/^_/)&&n.push("name cannot start with an underscore"),e.trim()!==e&&n.push("name cannot contain leading or trailing spaces"),o.forEach(function(t){e.toLowerCase()===t&&n.push(t+" is a blacklisted name")}),i({version:"*"}).forEach(function(n){e.toLowerCase()===n&&t.push(n+" is a core module name")}),e.length>214&&t.push("name can no longer contain more than 214 characters"),e.toLowerCase()!==e&&t.push("name can no longer contain capital letters"),/[~'!()*]/.test(e.split("/").slice(-1)[0])&&t.push('name can no longer contain special characters ("~\'!()*")'),encodeURIComponent(e)!==e){var s=e.match(r);if(s){var u=s[1],l=s[2];if(encodeURIComponent(u)===u&&encodeURIComponent(l)===l)return a(t,n)}n.push("name can only contain URL-friendly characters")}return a(t,n)}},2094:(e,t,n)=>{"use strict";var r=n(3243),i=n(711),o=n(2680),a=n(326),s=o("Object.prototype.toString"),u=n(7226)(),l="undefined"==typeof globalThis?n.g:globalThis,c=i(),_=o("String.prototype.slice"),p={},d=Object.getPrototypeOf;u&&a&&d&&r(c,function(e){if("function"==typeof l[e]){var t=new l[e];if(Symbol.toStringTag in t){var n=d(t),r=a(n,Symbol.toStringTag);r||(r=a(d(n),Symbol.toStringTag)),p[e]=r.get}}});var f=function(e){var t=!1;return r(p,function(n,r){if(!t)try{var i=n.call(e);i===r&&(t=i)}catch(e){}}),t},m=n(198);e.exports=function(e){return!!m(e)&&(u&&Symbol.toStringTag in e?f(e):_(s(e),8,-1))}},8892:e=>{e.exports=function e(t,n){if(t&&n)return e(t)(n);if("function"!=typeof t)throw TypeError("need wrapper function");return Object.keys(t).forEach(function(e){r[e]=t[e]}),r;function r(){for(var e=Array(arguments.length),n=0;n{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},8006:(e,t,n)=>{"use strict";function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach(function(e){t.push(e)});else if(arguments.length>0)for(var n=0,i=arguments.length;n1)n=t;else if(this.head)r=this.head.next,n=this.head.value;else throw TypeError("Reduce of empty list with no initial value");for(var i=0;null!==r;i++)n=e(n,r.value,i),r=r.next;return n},r.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else if(this.tail)r=this.tail.prev,n=this.tail.value;else throw TypeError("Reduce of empty list with no initial value");for(var i=this.length-1;null!==r;i--)n=e(n,r.value,i),r=r.prev;return n},r.prototype.toArray=function(){for(var e=Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},r.prototype.toArrayReverse=function(){for(var e=Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(tthis.length&&(t=this.length);for(var i=0,o=this.head;null!==o&&ithis.length&&(t=this.length);for(var i=this.length,o=this.tail;null!==o&&i>t;i--)o=o.prev;for(;null!==o&&i>e;i--,o=o.prev)n.push(o.value);return n},r.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,o=this.head;null!==o&&r{e.exports=n(1611)(22194)},4067:(e,t,n)=>{e.exports=n(1611)(2784)},5121:(e,t,n)=>{e.exports=n(1611)(28316)},6065:(e,t,n)=>{e.exports=n(1611)(29033)},5395:(e,t,n)=>{e.exports=n(1611)(29501)},9598:(e,t,n)=>{e.exports=n(1611)(41014)},8921:(e,t,n)=>{e.exports=n(1611)(41023)},7767:(e,t,n)=>{e.exports=n(1611)(44714)},6103:(e,t,n)=>{e.exports=n(1611)(45056)},9396:(e,t,n)=>{e.exports=n(1611)(51501)},1488:(e,t,n)=>{e.exports=n(1611)(57879)},7047:(e,t,n)=>{e.exports=n(1611)(5895)},5322:(e,t,n)=>{e.exports=n(1611)(61199)},7090:(e,t,n)=>{e.exports=n(1611)(63163)},3510:(e,t,n)=>{e.exports=n(1611)(69234)},553:(e,t,n)=>{e.exports=n(1611)(71384)},1386:(e,t,n)=>{e.exports=n(1611)(73323)},8021:(e,t,n)=>{e.exports=n(1611)(76034)},325:(e,t,n)=>{e.exports=n(1611)(7850)},2261:(e,t,n)=>{e.exports=n(1611)(82323)},1920:(e,t,n)=>{e.exports=n(1611)(83620)},3730:(e,t,n)=>{e.exports=n(1611)(88100)},4513:(e,t,n)=>{e.exports=n(1611)(94762)},1611:e=>{"use strict";e.exports=vendor_a47cacf67fe754fb11cb},6831:()=>{},4854:()=>{},6602:()=>{},4374:()=>{}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{n.g.importScripts&&(e=n.g.location+"");var e,t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var i=r.length-1;i>-1&&!e;)e=r[i--].src}if(!e)throw Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{"use strict";var e,t,r,i,o,a,s,u,l,c,_,p,d,f,m,h,y,g,b,v,x,D,S,T,E,w,A,C,N,M,k,I,j,O,P,F,L=n(2322),z=n(4513),R=n(7029),B=n(4067),U=n(8021),J=n(1386),$=(0,J.createSlice)({name:"configuration",initialState:{open:!1,snapId:"local:http://localhost:8080",snapVersion:void 0,srp:"test test test test test test test test test test test ball",sesEnabled:!0},reducers:{openConfigurationModal:function(e){e.open=!0},setOpen:function(e,t){e.open=t.payload},setSnapId:function(e,t){e.snapId=t.payload},setSnapVersion:function(e,t){e.snapVersion=t.payload},setSrp:function(e,t){e.srp=t.payload},setSesEnabled:function(e,t){e.sesEnabled=t.payload}}}),K=$.actions,V=K.openConfigurationModal,Y=K.setOpen,q=K.setSnapId,W=K.setSnapVersion;K.setSrp,K.setSesEnabled;var Q=$.reducer,H=(0,J.createSelector)(function(e){return e.configuration},function(e){return e.open}),G=(0,J.createSelector)(function(e){return e.configuration},function(e){return e.snapId}),Z=(0,J.createSelector)(function(e){return e.configuration},function(e){return e.snapVersion}),X=(0,J.createSelector)(function(e){return e.configuration},function(e){return e.srp}),ee=(0,J.createSelector)(function(e){return e.configuration},function(e){return e.sesEnabled}),et=n(7767),en=et.useDispatch;(function(e){e.OnRpcRequest="onRpcRequest",e.OnTransaction="onTransaction",e.OnCronjob="onCronjob",e.OnInstall="onInstall",e.OnUpdate="onUpdate",e.OnNameLookup="onNameLookup",e.OnKeyringRequest="onKeyringRequest",e.OnHomePage="onHomePage"})(e||(e={})),Object.values(e);var er=n(2261),ei={alert:{alt:"Alert",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cmVjdCB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHJ4PSIxNiIgZmlsbD0iIzAzN0RENiIgZmlsbC1vcGFjaXR5PSIwLjEiLz4KICA8cGF0aCBkPSJNMjIuMzU5NiAxOC4wNzVMMjEuNDkyOSAxNi42OTE3QzIxLjMxMDkgMTYuMzgzMyAyMS4xNDYyIDE1LjggMjEuMTQ2MiAxNS40NTgzVjEzLjM1QzIxLjE0NjIgMTEuMzkxNyAxOS45NTAxIDkuNjk5OTkgMTguMjI1MyA4LjkwODMyQzE3Ljc3NDcgOC4xNDE2NiAxNi45NDI2IDcuNjY2NjYgMTUuOTg5MiA3LjY2NjY2QzE1LjA0NDUgNy42NjY2NiAxNC4xOTUxIDguMTU4MzIgMTMuNzQ0NCA4LjkzMzMyQzEyLjA1NDMgOS43NDE2NiAxMC44ODQyIDExLjQxNjcgMTAuODg0MiAxMy4zNVYxNS40NTgzQzEwLjg4NDIgMTUuOCAxMC43MTk1IDE2LjM4MzMgMTAuNTM3NSAxNi42ODMzTDkuNjYyMTQgMTguMDc1QzkuMzE1NDYgMTguNjMzMyA5LjIzNzQ1IDE5LjI1IDkuNDU0MTMgMTkuODE2N0M5LjY2MjE0IDIwLjM3NSAxMC4xNTYyIDIwLjgwODMgMTAuNzk3NSAyMS4wMTY3QzEyLjQ3OSAyMS41NjY3IDE0LjI0NzEgMjEuODMzMyAxNi4wMTUyIDIxLjgzMzNDMTcuNzgzMyAyMS44MzMzIDE5LjU1MTQgMjEuNTY2NyAyMS4yMzI5IDIxLjAyNUMyMS44Mzk2IDIwLjgzMzMgMjIuMzA3NiAyMC4zOTE3IDIyLjUzMyAxOS44MTY3QzIyLjc1ODMgMTkuMjQxNyAyMi42OTc2IDE4LjYwODMgMjIuMzU5NiAxOC4wNzVaIiBmaWxsPSIjMDM3NkM5Ii8+CiAgPHBhdGggZD0iTTE4LjQ1MDQgMjIuNjc1QzE4LjA4NjQgMjMuNjQxNyAxNy4xMjQzIDI0LjMzMzMgMTUuOTk3NiAyNC4zMzMzQzE1LjMxMjkgMjQuMzMzMyAxNC42MzY5IDI0LjA2NjcgMTQuMTYwMiAyMy41OTE3QzEzLjg4MjggMjMuMzQxNyAxMy42NzQ4IDIzLjAwODMgMTMuNTUzNSAyMi42NjY3QzEzLjY2NjEgMjIuNjgzMyAxMy43Nzg4IDIyLjY5MTcgMTMuOTAwMSAyMi43MDgzQzE0LjA5OTUgMjIuNzMzMyAxNC4zMDc1IDIyLjc1ODMgMTQuNTE1NSAyMi43NzVDMTUuMDA5NSAyMi44MTY3IDE1LjUxMjIgMjIuODQxNyAxNi4wMTQ5IDIyLjg0MTdDMTYuNTA5IDIyLjg0MTcgMTcuMDAzIDIyLjgxNjcgMTcuNDg4NCAyMi43NzVDMTcuNjcwNCAyMi43NTgzIDE3Ljg1MjQgMjIuNzUgMTguMDI1NyAyMi43MjVDMTguMTY0NCAyMi43MDgzIDE4LjMwMzEgMjIuNjkxNyAxOC40NTA0IDIyLjY3NVoiIGZpbGw9IiMwMzc2QzkiLz4KPC9zdmc+Cg=="},arrowRight:{alt:"Arrow pointing right",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDggMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xLjM5OTI5IDEyQzEuMTc5NTEgMTIgMS4wMzI5OSAxMS45MzI2IDAuODg2NDY3IDExLjc5NzhDMC41OTM0MjcgMTEuNTI4MSAwLjU5MzQyNyAxMS4xMjM2IDAuODg2NDY3IDEwLjg1MzlMNS42NDgzNyA2LjQ3MTkxQzUuNzk0ODkgNi4zMzcwOCA1Ljg2ODE1IDYuMjAyMjUgNS44NjgxNSA2QzUuODY4MTUgNS43OTc3NSA1Ljc5NDg5IDUuNjYyOTIgNS42NDgzNyA1LjUyODA5TDAuODg2NDY3IDEuMTQ2MDdDMC41OTM0MjcgMC44NzY0MDQgMC41OTM0MjcgMC40NzE5MSAwLjg4NjQ2NyAwLjIwMjI0N0MxLjE3OTUxIC0wLjA2NzQxNTcgMS42MTkwNyAtMC4wNjc0MTU3IDEuOTEyMTEgMC4yMDIyNDdMNi42NzQwMSA0LjU4NDI3QzcuMTEzNTcgNC45ODg3NiA3LjMzMzM1IDUuNDYwNjcgNy4zMzMzNSA2QzcuMzMzMzUgNi41MzkzMiA3LjExMzU3IDcuMDc4NjUgNi42NzQwMSA3LjQxNTczTDEuOTEyMTEgMTEuNzk3OEMxLjc2NTU5IDExLjkzMjYgMS42MTkwNyAxMiAxLjM5OTI5IDEyWiIgZmlsbD0iI0JCQzBDNSIvPgo8L3N2Zz4K"},arrowTopRight:{alt:"Arrow pointing top right",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iMTEiIHZpZXdCb3g9IjAgMCAxMSAxMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMTAuMjQ3OCA4LjM2NjQ5TDEwLjI0MTEgMS42Mjk5QzEwLjI0MTEgMS4yNDgyIDkuOTkzMzUgMC45ODAzNDcgOS41OTE1OCAwLjk4MDM0N0gyLjg1NDk0QzIuNDc5OTQgMC45ODAzNDcgMi4yMjU0OCAxLjI2ODI5IDIuMjI1NDggMS41ODk3MkMyLjIyNTQ4IDEuOTExMTUgMi41MTM0MyAyLjE4NTcgMi44MjgxNiAyLjE4NTdINS4xNTg1MUw4LjQyNjM4IDIuMDc4NTZMNy4xODA4MyAzLjE3MDA4TDAuNTQ0Njc4IDkuODE5NjNDMC40MjQxNDIgOS45NDAxNCAwLjM1NzE3OCAxMC4wOTQyIDAuMzU3MTc4IDEwLjI0MTVDMC4zNTcxNzggMTAuNTYyOSAwLjY0NTEyNCAxMC44NjQzIDAuOTc5OTQzIDEwLjg2NDNDMS4xMzM5NyAxMC44NjQzIDEuMjgxMjkgMTAuODEwNyAxLjQwMTgyIDEwLjY4MzVMOC4wNTEzNSA0LjA0MDYxTDkuMTU2MjYgMi43ODgzOEw5LjAzNTc1IDUuOTE1NjJWOC4zOTMyOUM5LjAzNTc1IDguNzA4MDMgOS4zMTAzMiA5LjAwMjY2IDkuNjM4NDMgOS4wMDI2NkM5Ljk1OTg2IDkuMDAyNjYgMTAuMjQ3OCA4LjcyODE0IDEwLjI0NzggOC4zNjY0OVoiIGZpbGw9IiNCQkMwQzUiLz4KPC9zdmc+Cg=="},darkArrowTopRightIcon:{alt:"Arrow pointing top right",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iMTEiIHZpZXdCb3g9IjAgMCAxMSAxMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMTAuNzQ3OCA4LjM2NjM2TDEwLjc0MTEgMS42Mjk3OEMxMC43NDExIDEuMjQ4MDggMTAuNDkzMyAwLjk4MDIyNSAxMC4wOTE2IDAuOTgwMjI1SDMuMzU0OTRDMi45Nzk5NCAwLjk4MDIyNSAyLjcyNTQ4IDEuMjY4MTcgMi43MjU0OCAxLjU4OTZDMi43MjU0OCAxLjkxMTAzIDMuMDEzNDMgMi4xODU1OCAzLjMyODE2IDIuMTg1NThINS42NTg1MUw4LjkyNjM4IDIuMDc4NDRMNy42ODA4MyAzLjE2OTk2TDEuMDQ0NjggOS44MTk1MUMwLjkyNDE0MiA5Ljk0MDAyIDAuODU3MTc4IDEwLjA5NDEgMC44NTcxNzggMTAuMjQxNEMwLjg1NzE3OCAxMC41NjI4IDEuMTQ1MTIgMTAuODY0MSAxLjQ3OTk0IDEwLjg2NDFDMS42MzM5NyAxMC44NjQxIDEuNzgxMjkgMTAuODEwNiAxLjkwMTgyIDEwLjY4MzNMOC41NTEzNSA0LjA0MDQ5TDkuNjU2MjYgMi43ODgyNkw5LjUzNTc1IDUuOTE1NDlWOC4zOTMxNkM5LjUzNTc1IDguNzA3OTEgOS44MTAzMiA5LjAwMjUzIDEwLjEzODQgOS4wMDI1M0MxMC40NTk5IDkuMDAyNTMgMTAuNzQ3OCA4LjcyODAyIDEwLjc0NzggOC4zNjYzNloiIGZpbGw9IiM1MzVBNjEiLz4KPC9zdmc+Cg=="},arrowDown:{alt:"Arrow pointing down",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNCAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYuOTQ5NjQgMC44NTcxNzhDNi41MDYgMC44NTcxNzggNi4xOTYyOSAxLjE2Njg5IDYuMTk2MjkgMS42MDIxNlYxMC4wNTY0TDYuMjYzMjUgMTEuODU2TDMuNzQzNzIgOS4wOTM3NUwxLjg2ODcyIDcuMjQzOUMxLjcyNjQyIDcuMTA5OTcgMS41MzM5IDcuMDM0NjQgMS4zMzMwMSA3LjAzNDY0QzAuOTA2MTEgNy4wMzQ2NCAwLjYwNDc3MSA3LjM1MjcxIDAuNjA0NzcxIDcuNzcxMjRDMC42MDQ3NzEgNy45NzIxNCAwLjY4ODQ3NiA4LjE1NjMyIDAuODQ3NTE3IDguMzMyMDRMNi4zODg4MSAxMy44NzM0QzYuNTQ3ODUgMTQuMDQwNyA2Ljc0MDM4IDE0LjEzMjggNi45NDk2NCAxNC4xMzI4QzcuMTUwNTMgMTQuMTMyOCA3LjM1MTQyIDE0LjA0MDcgNy41MTA0NiAxMy44NzM0TDEzLjA0MzQgOC4zMzIwNEMxMy4yMTA4IDguMTU2MzIgMTMuMjk0NSA3Ljk3MjE0IDEzLjI5NDUgNy43NzEyNEMxMy4yOTQ1IDcuMzUyNzEgMTIuOTg0OCA3LjAzNDY0IDEyLjU2NjMgNy4wMzQ2NEMxMi4zNjU0IDcuMDM0NjQgMTIuMTY0NSA3LjEwOTk3IDEyLjAzMDYgNy4yNDM5TDEwLjE1NTYgOS4wOTM3NUw3LjYzNjAyIDExLjg0NzdMNy42OTQ2MiAxMC4wNTY0VjEuNjAyMTZDNy42OTQ2MiAxLjE2Njg5IDcuMzg0OSAwLjg1NzE3OCA2Ljk0OTY0IDAuODU3MTc4Wk0xLjI5MTE1IDE0LjExNjFDMC44NjQyNTggMTQuMTE2MSAwLjU3MTI4OSAxNC40MjU4IDAuNTcxMjg5IDE0Ljg2MTFDMC41NzEyODkgMTUuMjk2MyAwLjg2NDI1OCAxNS42MTQ1IDEuMjkxMTUgMTUuNjE0NUgxMi41ODNDMTMuMDE4MyAxNS42MTQ1IDEzLjMxOTYgMTUuMjk2MyAxMy4zMTk2IDE0Ljg2MTFDMTMuMzE5NiAxNC40MjU4IDEzLjAxODMgMTQuMTE2MSAxMi41ODMgMTQuMTE2MUgxLjI5MTE1WiIgZmlsbD0iI0JCQzBDNSIvPgo8L3N2Zz4K"},textBubble:{alt:"Text bubble",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiByeD0iMTYiIGZpbGw9IiMwMzdERDYiIGZpbGwtb3BhY2l0eT0iMC4xIi8+CjxwYXRoIGQ9Ik0xOC42OTI1IDE2LjNWMTkuMzUyNUMxOC42OTI1IDE5LjYyMjUgMTguNjYyNSAxOS44Nzc1IDE4LjU5NSAyMC4xMUMxOC4zMTc1IDIxLjIxMjUgMTcuNDAyNSAyMS45MDI1IDE2LjE0MjUgMjEuOTAyNUgxNC4xMDI1TDExLjgzNzUgMjMuNDFDMTEuNSAyMy42NDI1IDExLjA1IDIzLjM5NSAxMS4wNSAyMi45OVYyMS45MDI1QzEwLjI4NSAyMS45MDI1IDkuNjQ3NSAyMS42NDc1IDkuMjA1IDIxLjIwNUM4Ljc1NSAyMC43NTUgOC41IDIwLjExNzUgOC41IDE5LjM1MjVWMTYuM0M4LjUgMTQuODc1IDkuMzg1IDEzLjg5MjUgMTAuNzUgMTMuNzY1QzEwLjg0NzUgMTMuNzU3NSAxMC45NDUgMTMuNzUgMTEuMDUgMTMuNzVIMTYuMTQyNUMxNy42NzI1IDEzLjc1IDE4LjY5MjUgMTQuNzcgMTguNjkyNSAxNi4zWiIgZmlsbD0iIzAzNzZDOSIvPgo8cGF0aCBkPSJNMjAuMzEyNSAxOC43QzIxLjI2NSAxOC43IDIyLjA2NzUgMTguMzg1IDIyLjYyMjUgMTcuODIyNUMyMy4xODUgMTcuMjY3NSAyMy41IDE2LjQ2NSAyMy41IDE1LjUxMjVWMTEuNjg3NUMyMy41IDkuOTI1IDIyLjA3NSA4LjUgMjAuMzEyNSA4LjVIMTMuOTM3NUMxMi4xNzUgOC41IDEwLjc1IDkuOTI1IDEwLjc1IDExLjY4NzVWMTIuMjVDMTAuNzUgMTIuNDYgMTAuOTE1IDEyLjYyNSAxMS4xMjUgMTIuNjI1SDE2LjE0MjVDMTguMTc1IDEyLjYyNSAxOS44MTc1IDE0LjI2NzUgMTkuODE3NSAxNi4zVjE4LjMyNUMxOS44MTc1IDE4LjUzNSAxOS45ODI1IDE4LjcgMjAuMTkyNSAxOC43SDIwLjMxMjVaIiBmaWxsPSIjMDM3NkM5Ii8+Cjwvc3ZnPgo="},configuration:{alt:"Configuration",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAyMCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE4LjA5MSA2LjM0OTI3QzE2LjI4MTkgNi4zNDkyNyAxNS41NDIyIDUuMTI4NzkgMTYuNDQxOCAzLjYzMTc5QzE2Ljk2MTUgMi43NjQxIDE2LjY1MTcgMS42NTgwNCAxNS43NDIxIDEuMTYyMjJMMTQuMDEzIDAuMjE4MjU4QzEzLjIyMzQgLTAuMjI5ODg4IDEyLjIwMzkgMC4wMzcwOTI1IDExLjczNDEgMC43OTAzNThMMTEuNjI0MiAwLjk3MTUyM0MxMC43MjQ2IDIuNDY4NTIgOS4yNDUzOCAyLjQ2ODUyIDguMzM1ODMgMC45NzE1MjNMOC4yMjU4OSAwLjc5MDM1OEM3Ljc3NjExIDAuMDM3MDkyNSA2Ljc1NjYyIC0wLjIyOTg4OCA1Ljk2NzAyIDAuMjE4MjU4TDQuMjM3ODggMS4xNjIyMkMzLjMyODM0IDEuNjU4MDQgMy4wMTg0OSAyLjc3MzY0IDMuNTM4MjMgMy42NDEzM0M0LjQ0Nzc4IDUuMTI4NzkgMy43MDgxNSA2LjM0OTI3IDEuODk5MDUgNi4zNDkyN0MwLjg1OTU3IDYuMzQ5MjcgMCA3LjE1OTc0IDAgOC4xNjA5MlY5LjgzOTA4QzAgMTAuODMwNyAwLjg0OTU3NSAxMS42NTA3IDEuODk5MDUgMTEuNjUwN0MzLjcwODE1IDExLjY1MDcgNC40NDc3OCAxMi44NzEyIDMuNTM4MjMgMTQuMzY4MkMzLjAxODQ5IDE1LjIzNTkgMy4zMjgzNCAxNi4zNDIgNC4yMzc4OCAxNi44Mzc4TDUuOTY3MDIgMTcuNzgxN0M2Ljc1NjYyIDE4LjIyOTkgNy43NzYxMSAxNy45NjI5IDguMjQ1ODggMTcuMjA5Nkw4LjM1NTgyIDE3LjAyODVDOS4yNTUzNyAxNS41MzE1IDEwLjczNDYgMTUuNTMxNSAxMS42NDQyIDE3LjAyODVMMTEuNzU0MSAxNy4yMDk2QzEyLjIyMzkgMTcuOTYyOSAxMy4yNDM0IDE4LjIyOTkgMTQuMDMzIDE3Ljc4MTdMMTUuNzYyMSAxNi44Mzc4QzE2LjY3MTcgMTYuMzQyIDE2Ljk4MTUgMTUuMjI2NCAxNi40NjE4IDE0LjM2ODJDMTUuNTUyMiAxMi44NzEyIDE2LjI5MTkgMTEuNjUwNyAxOC4xMDEgMTEuNjUwN0MxOS4xNDA0IDExLjY1MDcgMjAgMTAuODQwMyAyMCA5LjgzOTA4VjguMTYwOTJDMTkuOTkgNy4xNjkyOCAxOS4xNDA0IDYuMzQ5MjcgMTguMDkxIDYuMzQ5MjdaTTkuOTk1IDEyLjA5ODlDOC4yMDU5IDEyLjA5ODkgNi43NDY2MyAxMC43MDY4IDYuNzQ2NjMgOUM2Ljc0NjYzIDcuMjkzMjMgOC4yMDU5IDUuOTAxMTIgOS45OTUgNS45MDExMkMxMS43ODQxIDUuOTAxMTIgMTMuMjQzNCA3LjI5MzIzIDEzLjI0MzQgOUMxMy4yNDM0IDEwLjcwNjggMTEuNzg0MSAxMi4wOTg5IDkuOTk1IDEyLjA5ODlaIiBmaWxsPSIjNkE3MzdEIi8+Cjwvc3ZnPgo=",srcDark:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHZpZXdCb3g9IjAgMCAyMiAyMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjI4NjkgMjEuNzA3N0gxMi4xMzUxQzEyLjY1NzQgMjEuNzA3NyAxMy4wMzkxIDIxLjM5NjMgMTMuMTQ5NiAyMC44ODRMMTMuNjcyIDE4LjY3NDJDMTQuMDYzNyAxOC41NDM2IDE0LjQ0NTQgMTguMzkyOSAxNC43NzY4IDE4LjIzMjJMMTYuNzE1NSAxOS40MTc1QzE3LjE0NzQgMTkuNjg4NyAxNy42Mzk2IDE5LjY0ODUgMTguMDAxMiAxOS4yODY5TDE5LjI5NyAxOC4wMDEyQzE5LjY1ODYgMTcuNjM5NiAxOS43MDg4IDE3LjExNzIgMTkuNDE3NSAxNi42ODUzTDE4LjIzMjIgMTQuNzY2OEMxOC40MDMgMTQuNDE1MyAxOC41NTM2IDE0LjA1MzYgMTguNjY0MSAxMy42OTJMMjAuODk0MSAxMy4xNTk2QzIxLjQwNjMgMTMuMDQ5MiAyMS43MDc3IDEyLjY2NzUgMjEuNzA3NyAxMi4xNDUxVjEwLjMyN0MyMS43MDc3IDkuODE0ODEgMjEuNDA2MyA5LjQzMzEzIDIwLjg5NDEgOS4zMjI2NEwxOC42ODQyIDguNzkwMjVDMTguNTUzNiA4LjM3ODQyIDE4LjM5MjkgOC4wMDY3NiAxOC4yNTIzIDcuNjk1MzhMMTkuNDM3NiA1Ljc0NjcyQzE5LjcxODggNS4zMTQ4IDE5LjY4ODcgNC44MjI2MiAxOS4zMTcgNC40NjFMMTguMDAxMiAzLjE2NTI1QzE3LjYyOTYgMi44MjM3MyAxNy4xODc2IDIuNzYzNDYgMTYuNzQ1NiAzLjAxNDU4TDE0Ljc3NjggNC4yMjk5OEMxNC40NTU0IDQuMDU5MjIgMTQuMDgzOCAzLjkwODU1IDEzLjY3MiAzLjc3Nzk3TDEzLjE0OTYgMS41MzgwMkMxMy4wMzkxIDEuMDI1NzQgMTIuNjU3NCAwLjcxNDM1NSAxMi4xMzUxIDAuNzE0MzU1SDEwLjI4NjlDOS43NjQ1OCAwLjcxNDM1NSA5LjM4MjkgMS4wMjU3NCA5LjI2MjM1IDEuNTM4MDJMOC43NDAwMiAzLjc1Nzg4QzguMzQ4MjggMy44ODg0NiA3Ljk2NjU5IDQuMDM5MTQgNy42MjUwNyA0LjIxOTkzTDUuNjc2NDEgMy4wMTQ1OEM1LjIzNDQ1IDIuNzYzNDYgNC43ODI0MyAyLjgxMzY5IDQuNDEwNzggMy4xNjUyNUwzLjEwNDk4IDQuNDYxQzIuNzMzMzMgNC44MjI2MiAyLjY5MzE1IDUuMzE0OCAyLjk4NDQ1IDUuNzQ2NzJMNC4xNTk2NyA3LjY5NTM4QzQuMDI5MDkgOC4wMDY3NiAzLjg2ODM4IDguMzc4NDIgMy43Mzc3OSA4Ljc5MDI1TDEuNTI3OTcgOS4zMjI2NEMxLjAxNTY5IDkuNDMzMTMgMC43MTQzNTUgOS44MTQ4MSAwLjcxNDM1NSAxMC4zMjdWMTIuMTQ1MUMwLjcxNDM1NSAxMi42Njc1IDEuMDE1NjkgMTMuMDQ5MiAxLjUyNzk3IDEzLjE1OTZMMy43NTc4OCAxMy42OTJDMy44NjgzOCAxNC4wNTM2IDQuMDE5MDQgMTQuNDE1MyA0LjE3OTc2IDE0Ljc2NjhMMy4wMDQ1NCAxNi42ODUzQzIuNzAzMTkgMTcuMTE3MiAyLjc2MzQ2IDE3LjYzOTYgMy4xMjUwNyAxOC4wMDEyTDQuNDEwNzggMTkuMjg2OUM0Ljc3MjQgMTkuNjQ4NSA1LjI3NDYyIDE5LjY4ODcgNS43MDY1NCAxOS40MTc1TDcuNjM1MTIgMTguMjMyMkM3Ljk3NjY0IDE4LjM5MjkgOC4zNDgyOCAxOC41NDM2IDguNzQwMDIgMTguNjc0Mkw5LjI2MjM1IDIwLjg4NEM5LjM4MjkgMjEuMzk2MyA5Ljc2NDU4IDIxLjcwNzcgMTAuMjg2OSAyMS43MDc3Wk0xMS4yMTEgMTQuNzU2OEM5LjI2MjM1IDE0Ljc1NjggNy42NjUyNSAxMy4xNDk2IDcuNjY1MjUgMTEuMjAxQzcuNjY1MjUgOS4yNjIzNSA5LjI2MjM1IDcuNjY1MjUgMTEuMjExIDcuNjY1MjVDMTMuMTU5NiA3LjY2NTI1IDE0Ljc1NjggOS4yNjIzNSAxNC43NTY4IDExLjIwMUMxNC43NTY4IDEzLjE0OTYgMTMuMTU5NiAxNC43NTY4IDExLjIxMSAxNC43NTY4WiIgZmlsbD0iIzlGQTZBRSIvPgo8L3N2Zz4K"},play:{alt:"Play",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjUiIHZpZXdCb3g9IjAgMCAyNSAyNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cmVjdCB4PSIwLjUiIHk9IjAuMDkwODIwMyIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiByeD0iMTIiIGZpbGw9IiMwMzc2QzkiLz4KICA8cGF0aCBkPSJNMTguNSAxMi4wOTA4TDkuNSAxNy4yODdMOS41IDYuODk0NjdMMTguNSAxMi4wOTA4WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg=="},playMuted:{alt:"Play",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiByeD0iMTIiIGZpbGw9IiNCQkMwQzUiLz4KPHBhdGggZD0iTTE4IDEyTDkgMTcuMTk2Mkw5IDYuODAzODVMMTggMTJaIiBmaWxsPSIjNkE3MzdEIi8+Cjwvc3ZnPgo="},playSuccess:{alt:"Success",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzEzNV83OTk1KSI+CjxyZWN0IHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgcng9IjEyIiBmaWxsPSIjNTc5RjZFIi8+CjxyZWN0IHg9IjMiIHk9IjIuOTk5OTkiIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgcng9IjkuMDAwMDIiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0xMS45NTk5IDIyLjIwNTNDMTcuNTY0OCAyMi4yMDUzIDIyLjIwNTQgMTcuNTU0NyAyMi4yMDU0IDExLjk1OThDMjIuMjA1NCA2LjM1NDkxIDE3LjU1NDggMS43MTQyNyAxMS45NDk5IDEuNzE0MjdDNi4zNTQ5OSAxLjcxNDI3IDEuNzE0MzYgNi4zNTQ5MSAxLjcxNDM2IDExLjk1OThDMS43MTQzNiAxNy41NTQ3IDYuMzY1MDQgMjIuMjA1MyAxMS45NTk5IDIyLjIwNTNaTTEwLjgzNDkgMTYuODcxN0MxMC40OTM0IDE2Ljg3MTcgMTAuMjEyMSAxNi43MzEgOS45NTA5OSAxNi4zNzk1TDcuNDI5NzcgMTMuMjg1N0M3LjI3OTEgMTMuMDg0OCA3LjE4ODcgMTIuODYzOCA3LjE4ODcgMTIuNjMyOEM3LjE4ODcgMTIuMTgwOCA3LjU0MDI3IDExLjgwOTEgNy45OTIyNyAxMS44MDkxQzguMjgzNTcgMTEuODA5MSA4LjUwNDU1IDExLjg5OTYgOC43NTU2NiAxMi4yMzFMMTAuNzk0OCAxNC44NjI3TDE1LjA4MzggNy45NzIxQzE1LjI3NDYgNy42NzA3NiAxNS41MzU4IDcuNTEwMDUgMTUuNzk3IDcuNTEwMDVDMTYuMjM4OSA3LjUxMDA1IDE2LjY1MDggNy44MTEzOCAxNi42NTA4IDguMjgzNDhDMTYuNjUwOCA4LjUwNDQ3IDE2LjUyMDIgOC43MzU1IDE2LjM5OTYgOC45NDY0M0wxMS42Nzg3IDE2LjM3OTVDMTEuNDY3NyAxNi43MTEgMTEuMTc2NSAxNi44NzE3IDEwLjgzNDkgMTYuODcxN1oiIGZpbGw9IiM1NzlGNkUiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF8xMzVfNzk5NSI+CjxyZWN0IHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgcng9IjEyIiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo="},playError:{alt:"Error",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzEzNV84MDM5KSI+CjxyZWN0IHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgcng9IjEyIiBmaWxsPSIjRDM0QzQ2Ii8+CjxyZWN0IHg9IjguNDI4NTkiIHk9IjIuMTQyODkiIHdpZHRoPSI2LjY2NjY1IiBoZWlnaHQ9IjE4LjMzMzMiIHJ4PSIzLjMzMzMyIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBkPSJNMy4zODAzIDIxLjIwNTNIMjAuNjc5NEMyMi41NzY3IDIxLjIwNTMgMjMuNzI2MiAxOS44ODgzIDIzLjcyNjIgMTguMTgwN0MyMy43MjYyIDE3LjY1NjMgMjMuNTY5OSAxNy4xMDkzIDIzLjI5MSAxNi42MTgzTDE0LjYzMDMgMS41MjkwNEMxNC4wNDk5IDAuNTEzNDE0IDEzLjA1NjYgMi4yODg4MmUtMDUgMTIuMDI5OCAyLjI4ODgyZS0wNUMxMS4wMDMgMi4yODg4MmUtMDUgOS45OTg1NSAwLjUxMzQxNCA5LjQyOTM5IDEuNTI5MDRMMC43Njg3MDIgMTYuNjE4M0MwLjQ2NzM2MyAxNy4xMjA1IDAuMzMzNDM1IDE3LjY1NjMgMC4zMzM0MzUgMTguMTgwN0MwLjMzMzQzNSAxOS44ODgzIDEuNDgyOTggMjEuMjA1MyAzLjM4MDMgMjEuMjA1M1pNMTIuMDQxIDEzLjc1QzExLjQ2MDYgMTMuNzUgMTEuMTM3IDEzLjQxNTEgMTEuMTI1OCAxMi44MjM2TDEwLjk4MDcgNi43NTIyM0MxMC45Njk2IDYuMTYwNzIgMTEuNDA0OCA1LjczNjYyIDEyLjAyOTggNS43MzY2MkMxMi42MzI1IDUuNzM2NjIgMTMuMTAxMiA2LjE3MTg4IDEzLjA5MDEgNi43NjMzOUwxMi45MjI3IDEyLjgyMzZDMTIuOTExNSAxMy40MjY0IDEyLjU4NzkgMTMuNzUgMTIuMDQxIDEzLjc1Wk0xMi4wNDEgMTcuNDg4OEMxMS4zNzEzIDE3LjQ4ODggMTAuNzkxIDE2Ljk1MzEgMTAuNzkxIDE2LjI5NDZDMTAuNzkxIDE1LjYyNDkgMTEuMzYwMiAxNS4wODkzIDEyLjA0MSAxNS4wODkzQzEyLjcxMDYgMTUuMDg5MyAxMy4yNzk5IDE1LjYxMzggMTMuMjc5OSAxNi4yOTQ2QzEzLjI3OTkgMTYuOTY0MyAxMi42OTk1IDE3LjQ4ODggMTIuMDQxIDE3LjQ4ODhaIiBmaWxsPSIjRDM0QzQ2Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMTM1XzgwMzkiPgo8cmVjdCB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHJ4PSIxMiIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K"},dot:{alt:"OK",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiB2aWV3Qm94PSIwIDAgOCA4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8Y2lyY2xlIGN4PSI0IiBjeT0iNCIgcj0iNCIgZmlsbD0iIzU3OUY2RSIvPgo8L3N2Zz4K"},errorTriangle:{alt:"Error",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNSAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEuOTcwOTUgMTMuNDM3NUgxMi4zNTA0QzEzLjQ4ODggMTMuNDM3NSAxNC4xNzg1IDEyLjY0NzMgMTQuMTc4NSAxMS42MjI3QzE0LjE3ODUgMTEuMzA4MSAxNC4wODQ4IDEwLjk3OTkgMTMuOTE3NCAxMC42ODUzTDguNzIwOTQgMS42MzE2OUM4LjM3MjcxIDEuMDIyMzEgNy43NzY3NiAwLjcxNDI3OSA3LjE2MDY1IDAuNzE0Mjc5QzYuNTQ0NTkgMC43MTQyNzkgNS45NDE5MSAxLjAyMjMxIDUuNjAwNDEgMS42MzE2OUwwLjQwMzk4MyAxMC42ODUzQzAuMjIzMTc5IDEwLjk4NjYgMC4xNDI4MjIgMTEuMzA4MSAwLjE0MjgyMiAxMS42MjI3QzAuMTQyODIyIDEyLjY0NzMgMC44MzI1NTQgMTMuNDM3NSAxLjk3MDk1IDEzLjQzNzVaTTcuMTY3MzkgOC45NjQyOEM2LjgxOTE2IDguOTY0MjggNi42MjQ5OSA4Ljc2MzM2IDYuNjE4MjUgOC40MDg0NUw2LjUzMTIyIDQuNzY1NjJDNi41MjQ1NCA0LjQxMDcxIDYuNzg1NjggNC4xNTYyNCA3LjE2MDY1IDQuMTU2MjRDNy41MjIzMSA0LjE1NjI0IDcuODAzNTEgNC40MTc0IDcuNzk2ODIgNC43NzIzMUw3LjY5NjQyIDguNDA4NDVDNy42ODk2OCA4Ljc3MDExIDcuNDk1NTEgOC45NjQyOCA3LjE2NzM5IDguOTY0MjhaTTcuMTY3MzkgMTEuMjA3NkM2Ljc2NTU2IDExLjIwNzYgNi40MTczOSAxMC44ODYyIDYuNDE3MzkgMTAuNDkxMUM2LjQxNzM5IDEwLjA4OTIgNi43NTg4OCA5Ljc2Nzg4IDcuMTY3MzkgOS43Njc4OEM3LjU2OTE2IDkuNzY3ODggNy45MTA3MSAxMC4wODI2IDcuOTEwNzEgMTAuNDkxMUM3LjkxMDcxIDEwLjg5MjggNy41NjI0OCAxMS4yMDc2IDcuMTY3MzkgMTEuMjA3NloiIGZpbGw9IiNEMzRDNDYiLz4KPC9zdmc+Cg=="},computer:{alt:"Computer",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzUiIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAzNSAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMy41ODUxIDIyLjg3MTNIMzAuNTk5QzMyLjg5NzYgMjIuODcxMyAzNC4wOTQ3IDIxLjY4OCAzNC4wOTQ3IDE5LjM3NTZWMy43ODc1NkMzNC4wOTQ3IDEuNDg4OCAzMi44OTc2IDAuMzA1NDIgMzAuNTk5IDAuMzA1NDJIMy41ODUxQzEuMjg2MzQgMC4zMDU0MiAwLjA4OTM1NTUgMS40ODg4IDAuMDg5MzU1NSAzLjc4NzU2VjE5LjM3NTZDMC4wODkzNTU1IDIxLjY4OCAxLjI4NjM0IDIyLjg3MTMgMy41ODUxIDIyLjg3MTNaTTMuNjI1OTEgMjAuNjgxNEMyLjcyODE3IDIwLjY4MTQgMi4yNzkzIDIwLjIzMjYgMi4yNzkzIDE5LjM0ODNWMy44MjgzN0MyLjI3OTMgMi45MzA2MyAyLjcyODE3IDIuNDk1MzYgMy42MjU5MSAyLjQ5NTM2SDMwLjU1ODFDMzEuNDU1OCAyLjQ5NTM2IDMxLjkwNDggMi45MzA2MyAzMS45MDQ4IDMuODI4MzdWMTkuMzQ4M0MzMS45MDQ4IDIwLjIzMjYgMzEuNDU1OCAyMC42ODE0IDMwLjU1ODEgMjAuNjgxNEgzLjYyNTkxWk0xMC4yNTAxIDI3LjQ4MjVIMjMuOTMzOUMyNC41MzI0IDI3LjQ4MjUgMjUuMDM1NyAyNi45OTI4IDI1LjAzNTcgMjYuMzgwNkMyNS4wMzU3IDI1Ljc2ODYgMjQuNTMyNCAyNS4yNzg5IDIzLjkzMzkgMjUuMjc4OUgxMC4yNTAxQzkuNjUxNjQgMjUuMjc4OSA5LjE0ODM3IDI1Ljc2ODYgOS4xNDgzNyAyNi4zODA2QzkuMTQ4MzcgMjYuOTkyOCA5LjY1MTY0IDI3LjQ4MjUgMTAuMjUwMSAyNy40ODI1Wk0xNy43NTg2IDE3LjA3NjhDMTguMDE2OSAxNy4wNzY4IDE4LjE5MzggMTYuOSAxOC4yNDgxIDE2LjY0MTZDMTguOTk2MyAxMi42NDI1IDE5LjM2MzYgMTEuODk0NSAyMy41MjU4IDExLjMzNjdDMjMuNzk3OSAxMS4yOTU5IDIzLjk3NDYgMTEuMTA1NSAyMy45NzQ2IDEwLjg0NzFDMjMuOTc0NiAxMC41ODg2IDIzLjc5NzkgMTAuMzg0NiAyMy41MjU4IDEwLjM0MzhDMTkuMzc3MiA5Ljc4NjA5IDE4Ljg0NjcgOC45OTcxOCAxOC4yNDgxIDUuMDY2MTdDMTguMjA3NCA0Ljc5NDEyIDE4LjAxNjkgNC42MTcyOSAxNy43NTg2IDQuNjE3MjlDMTcuNTAwMSA0LjYxNzI5IDE3LjMwOTYgNC43ODA1MSAxNy4yNTUzIDUuMDUyNTZDMTYuNDkzNSA5LjA2NTE5IDE2LjEzOTggOS43ODYwOSAxMS45Nzc2IDEwLjM0MzhDMTEuNzA1NiAxMC4zODQ2IDExLjUyODcgMTAuNTg4NiAxMS41Mjg3IDEwLjg0NzFDMTEuNTI4NyAxMS4xMDU1IDExLjcwNTYgMTEuMjk1OSAxMS45Nzc2IDExLjMzNjdDMTYuMTUzNCAxMS43NTg0IDE2LjY3MDQgMTIuNjQyNSAxNy4yNTUzIDE2LjYyOEMxNy4yOTYgMTYuOSAxNy40NzI5IDE3LjA3NjggMTcuNzU4NiAxNy4wNzY4Wk0xMi4zOTkzIDE5LjI5NEMxMi41ODk3IDE5LjI5NCAxMi43MzkzIDE5LjE3MTYgMTIuNzgwMSAxOC45ODExQzEzLjE2MSAxNy4wMDg4IDEzLjAyNDkgMTYuOTEzNiAxNS4xODc3IDE2LjU4NzFDMTUuMzc4MiAxNi41NiAxNS41MDA1IDE2LjM5NjggMTUuNTAwNSAxNi4yMDYzQzE1LjUwMDUgMTYuMDI5NSAxNS4zNzgyIDE1Ljg2NjIgMTUuMTg3NyAxNS44MzlDMTMuMDI0OSAxNS40ODU0IDEzLjE2MSAxNS4zOTAyIDEyLjc4MDEgMTMuNDcyMkMxMi43MzkzIDEzLjI2ODMgMTIuNjAzMiAxMy4xMTg3IDEyLjM5OTMgMTMuMTE4N0MxMi4yMDg4IDEzLjExODcgMTIuMDg2NCAxMy4yNTQ2IDEyLjAzMjEgMTMuNDcyMkMxMS42Mzc2IDE1LjM5MDIgMTEuODAwNyAxNS40ODU0IDkuNjM4MDQgMTUuODM5QzkuNDM0MDEgMTUuODY2MiA5LjMyNTE5IDE2LjAyOTUgOS4zMjUxOSAxNi4yMDYzQzkuMzI1MTkgMTYuNDIzOSA5LjQzNDAxIDE2LjU2IDkuNjY1MjUgMTYuNTg3MUMxMS44MDA3IDE2LjkxMzYgMTEuNjM3NiAxNy4wMDg4IDEyLjAzMjEgMTguOTQwM0MxMi4wODY0IDE5LjE1OCAxMi4xOTUzIDE5LjI5NCAxMi4zOTkzIDE5LjI5NFoiIGZpbGw9IiNCQkMwQzUiLz4KPC9zdmc+Cg=="},snap:{alt:"Snap",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cmVjdCB4PSIwLjUwMTQ2NSIgeT0iMC42ODUwNTkiIHdpZHRoPSIxMC42Njc2IiBoZWlnaHQ9IjEwLjY2NzYiIHJ4PSI1LjMzMzgxIiBmaWxsPSIjMDM3NkM5Ii8+CiAgPHBhdGggZD0iTTguMTYxMDIgNC4wNDE2NUw2LjE3MTcgMi45OTE0OEM1Ljk2MjMgMi44Nzk2MyA1LjcwODQ4IDIuODc5NjMgNS40OTkwNyAyLjk5MTQ4TDMuNTA5NzYgNC4wNDE2NUMzLjM2MzgxIDQuMTE5MzMgMy4yNzQ5NyA0LjI2ODQ3IDMuMjc0OTcgNC40MzkzNUMzLjI3NDk3IDQuNjA3MTMgMy4zNjM4MSA0Ljc1OTM4IDMuNTA5NzYgNC44MzcwNUw1LjQ5OTA3IDUuODg3MjJDNS42MDM3OCA1Ljk0MzE1IDUuNzIxMTcgNS45NzExMSA1LjgzNTM5IDUuOTcxMTFDNS45NDk2MSA1Ljk3MTExIDYuMDY3IDUuOTQzMTUgNi4xNzE3IDUuODg3MjJMOC4xNjEwMiA0LjgzNzA1QzguMzA2OTYgNC43NTkzOCA4LjM5NTggNC42MTAyNCA4LjM5NTggNC40MzkzNUM4LjM5NTggNC4yNjg0NyA4LjMwNjk2IDQuMTE5MzMgOC4xNjEwMiA0LjA0MTY1WiIgZmlsbD0id2hpdGUiLz4KICA8cGF0aCBkPSJNNS4yMzc4OSA2LjE2NTIyTDMuNDI5ODggNS4yMDUyM0MzLjI4Njg3IDUuMTM2NDcgMy4wNzM1OSA1LjE5IDIuOTQwMTEgNS4yNzEyNkMyLjgwMzQ1IDUuMzU1NjYgMi43MjQgNS40OTYzMiAyLjcyNCA1LjY1MjZWNy4zNzQ4OEMyLjcyNCA3LjY3MTgyIDIuODkyNDQgNy45NTg4MyAzLjE2MjU4IDguMDkzMjRMNS4wMTU0MiA5LjA4MjVDNS4wNzg5OCA5LjExMzc2IDUuMTQ4OSA5LjEyOTM5IDUuMjE4ODIgOS4xMjkzOUM1LjMwMTQ1IDkuMTI5MzkgNS4zODQwOCA5LjEwNzUxIDUuNDU3MTggOS4wNjM3NUM1LjU5Mzg0IDguOTgyNDggNS42NzMyOSA4Ljc0Mzk0IDUuNjczMjkgOC41ODc2NlY2Ljg2NTM4QzUuNjc2NDcgNi41NjUzMSA1LjUwODAzIDYuMjk2NSA1LjIzNzg5IDYuMTY1MjJaIiBmaWxsPSJ3aGl0ZSIvPgogIDxwYXRoIGQ9Ik04LjczMDY2IDUuMjcyNTFDOC41OTQgNS4xOTEyNiA4LjM3OTQ1IDUuMTMzMzcgOC4yMzk2MSA1LjIwNTIzTDYuNDM2MDMgNi4xNjYxN0M2LjE2NTg4IDYuMzAwNTMgNS45OTc0NCA2LjU2NjEzIDUuOTk3NDQgNi44NjYxVjguNTg3OEM1Ljk5NzQ0IDguNzQ0MDQgNi4wNzY4OSA4Ljk4MzUxIDYuMjEzNTUgOS4wNjQ3NUM2LjI4NjY1IDkuMTA4NSA2LjM2OTI4IDkuMTMwMzcgNi40NTE5MiA5LjEzMDM3QzYuNTIxODQgOS4xMzAzNyA2LjU5MTc2IDkuMTE0NzUgNi42NTUzMiA5LjA4MzVMOC41MDgxOSA4LjA5MzI0QzguNzc4MzMgNy45NTg4OCA4Ljk0Njc3IDcuNjc1MzkgOC45NDY3NyA3LjM3NTQyVjUuNjUzNzJDOC45NDY3NyA1LjQ5NzQ4IDguODY3MzIgNS4zNTY4NyA4LjczMDY2IDUuMjcyNTFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"},snapError:{alt:"Snap Error",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cmVjdCB4PSIwLjUwMTQ2NSIgeT0iMC42ODUwNTkiIHdpZHRoPSIxMC42Njc2IiBoZWlnaHQ9IjEwLjY2NzYiIHJ4PSI1LjMzMzgxIiBmaWxsPSIjZDczODQ3Ii8+CiAgPHBhdGggZD0iTTguMTYxMDIgNC4wNDE2NUw2LjE3MTcgMi45OTE0OEM1Ljk2MjMgMi44Nzk2MyA1LjcwODQ4IDIuODc5NjMgNS40OTkwNyAyLjk5MTQ4TDMuNTA5NzYgNC4wNDE2NUMzLjM2MzgxIDQuMTE5MzMgMy4yNzQ5NyA0LjI2ODQ3IDMuMjc0OTcgNC40MzkzNUMzLjI3NDk3IDQuNjA3MTMgMy4zNjM4MSA0Ljc1OTM4IDMuNTA5NzYgNC44MzcwNUw1LjQ5OTA3IDUuODg3MjJDNS42MDM3OCA1Ljk0MzE1IDUuNzIxMTcgNS45NzExMSA1LjgzNTM5IDUuOTcxMTFDNS45NDk2MSA1Ljk3MTExIDYuMDY3IDUuOTQzMTUgNi4xNzE3IDUuODg3MjJMOC4xNjEwMiA0LjgzNzA1QzguMzA2OTYgNC43NTkzOCA4LjM5NTggNC42MTAyNCA4LjM5NTggNC40MzkzNUM4LjM5NTggNC4yNjg0NyA4LjMwNjk2IDQuMTE5MzMgOC4xNjEwMiA0LjA0MTY1WiIgZmlsbD0id2hpdGUiLz4KICA8cGF0aCBkPSJNNS4yMzc4OSA2LjE2NTIyTDMuNDI5ODggNS4yMDUyM0MzLjI4Njg3IDUuMTM2NDcgMy4wNzM1OSA1LjE5IDIuOTQwMTEgNS4yNzEyNkMyLjgwMzQ1IDUuMzU1NjYgMi43MjQgNS40OTYzMiAyLjcyNCA1LjY1MjZWNy4zNzQ4OEMyLjcyNCA3LjY3MTgyIDIuODkyNDQgNy45NTg4MyAzLjE2MjU4IDguMDkzMjRMNS4wMTU0MiA5LjA4MjVDNS4wNzg5OCA5LjExMzc2IDUuMTQ4OSA5LjEyOTM5IDUuMjE4ODIgOS4xMjkzOUM1LjMwMTQ1IDkuMTI5MzkgNS4zODQwOCA5LjEwNzUxIDUuNDU3MTggOS4wNjM3NUM1LjU5Mzg0IDguOTgyNDggNS42NzMyOSA4Ljc0Mzk0IDUuNjczMjkgOC41ODc2NlY2Ljg2NTM4QzUuNjc2NDcgNi41NjUzMSA1LjUwODAzIDYuMjk2NSA1LjIzNzg5IDYuMTY1MjJaIiBmaWxsPSJ3aGl0ZSIvPgogIDxwYXRoIGQ9Ik04LjczMDY2IDUuMjcyNTFDOC41OTQgNS4xOTEyNiA4LjM3OTQ1IDUuMTMzMzcgOC4yMzk2MSA1LjIwNTIzTDYuNDM2MDMgNi4xNjYxN0M2LjE2NTg4IDYuMzAwNTMgNS45OTc0NCA2LjU2NjEzIDUuOTk3NDQgNi44NjYxVjguNTg3OEM1Ljk5NzQ0IDguNzQ0MDQgNi4wNzY4OSA4Ljk4MzUxIDYuMjEzNTUgOS4wNjQ3NUM2LjI4NjY1IDkuMTA4NSA2LjM2OTI4IDkuMTMwMzcgNi40NTE5MiA5LjEzMDM3QzYuNTIxODQgOS4xMzAzNyA2LjU5MTc2IDkuMTE0NzUgNi42NTUzMiA5LjA4MzVMOC41MDgxOSA4LjA5MzI0QzguNzc4MzMgNy45NTg4OCA4Ljk0Njc3IDcuNjc1MzkgOC45NDY3NyA3LjM3NTQyVjUuNjUzNzJDOC45NDY3NyA1LjQ5NzQ4IDguODY3MzIgNS4zNTY4NyA4LjczMDY2IDUuMjcyNTFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"},copy:{alt:"Copy",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMTEgOC42NzVWMTEuODI1QzExIDE0LjQ1IDkuOTUgMTUuNSA3LjMyNSAxNS41SDQuMTc1QzEuNTUgMTUuNSAwLjUgMTQuNDUgMC41IDExLjgyNVY4LjY3NUMwLjUgNi4wNSAxLjU1IDUgNC4xNzUgNUg3LjMyNUM5Ljk1IDUgMTEgNi4wNSAxMSA4LjY3NVoiIGZpbGw9IiM2QTczN0QiLz4KICA8cGF0aCBkPSJNMTEuODI1IDAuNUg4LjY3NUM2LjM2MjY5IDAuNSA1LjI3ODIzIDEuMzIwNTcgNS4wNTIzMSAzLjMwNDI2QzUuMDA1MDQgMy43MTkyNiA1LjM0ODc0IDQuMDYyNSA1Ljc2NjQzIDQuMDYyNUg3LjMyNUMxMC40NzUgNC4wNjI1IDExLjkzNzUgNS41MjUgMTEuOTM3NSA4LjY3NVYxMC4yMzM2QzExLjkzNzUgMTAuNjUxMyAxMi4yODA3IDEwLjk5NSAxMi42OTU3IDEwLjk0NzdDMTQuNjc5NCAxMC43MjE4IDE1LjUgOS42MzczMSAxNS41IDcuMzI1VjQuMTc1QzE1LjUgMS41NSAxNC40NSAwLjUgMTEuODI1IDAuNVoiIGZpbGw9IiM2QTczN0QiLz4KPC9zdmc+Cg=="},copied:{alt:"Copied",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMTEuODI1IDAuNUg4LjY3NUM2LjM2MjY5IDAuNSA1LjI3ODIzIDEuMzIwNTcgNS4wNTIzMSAzLjMwNDI2QzUuMDA1MDQgMy43MTkyNiA1LjM0ODc0IDQuMDYyNSA1Ljc2NjQzIDQuMDYyNUg3LjMyNUMxMC40NzUgNC4wNjI1IDExLjkzNzUgNS41MjUgMTEuOTM3NSA4LjY3NVYxMC4yMzM2QzExLjkzNzUgMTAuNjUxMyAxMi4yODA3IDEwLjk5NSAxMi42OTU3IDEwLjk0NzdDMTQuNjc5NCAxMC43MjE4IDE1LjUgOS42MzczMSAxNS41IDcuMzI1VjQuMTc1QzE1LjUgMS41NSAxNC40NSAwLjUgMTEuODI1IDAuNVoiIGZpbGw9IiM2QTczN0QiLz4KICA8cGF0aCBkPSJNNy4zMjUgNUg0LjE3NUMxLjU1IDUgMC41IDYuMDUgMC41IDguNjc1VjExLjgyNUMwLjUgMTQuNDUgMS41NSAxNS41IDQuMTc1IDE1LjVINy4zMjVDOS45NSAxNS41IDExIDE0LjQ1IDExIDExLjgyNVY4LjY3NUMxMSA2LjA1IDkuOTUgNSA3LjMyNSA1Wk04LjIxNzUgOS4yMzc1TDUuNDM1IDEyLjAyQzUuMzMgMTIuMTI1IDUuMTk1IDEyLjE3NzUgNS4wNTI1IDEyLjE3NzVDNC45MSAxMi4xNzc1IDQuNzc1IDEyLjEyNSA0LjY3IDEyLjAyTDMuMjc1IDEwLjYyNUMzLjA2NSAxMC40MTUgMy4wNjUgMTAuMDc3NSAzLjI3NSA5Ljg2NzVDMy40ODUgOS42NTc1IDMuODIyNSA5LjY1NzUgNC4wMzI1IDkuODY3NUw1LjA0NSAxMC44OEw3LjQ1MjUgOC40NzI1QzcuNjYyNSA4LjI2MjUgOCA4LjI2MjUgOC4yMSA4LjQ3MjVDOC40MiA4LjY4MjUgOC40Mjc1IDkuMDI3NSA4LjIxNzUgOS4yMzc1WiIgZmlsbD0iIzZBNzM3RCIvPgo8L3N2Zz4K"},moon:{alt:"Moon",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjkiIHZpZXdCb3g9IjAgMCAyNyAyOSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMTIuMDE0NiAyOC4xMDkzQzE2Ljg1ODkgMjguMTA5MyAyMC43OSAyNS42NzQgMjIuNTYzNiAyMS41MTc5QzIyLjgwMTkgMjAuOTYyIDIyLjcyMjUgMjAuNTEyIDIyLjQ3MSAyMC4yNjA1QzIyLjI0NiAyMC4wMjIzIDIxLjgzNTcgMTkuOTgyNSAyMS4zNzI0IDIwLjE1NDZDMjAuMzY2NSAyMC41NTE2IDE5LjE2MiAyMC43OSAxNy42Mzk5IDIwLjc5QzExLjcxMDIgMjAuNzkgNy45MTE0OSAxNy4wODM5IDcuOTExNDkgMTEuMjg2NUM3LjkxMTQ5IDkuNjg1IDguMjE1OTEgOC4wODM0NyA4LjYyNjIyIDcuMjQ5NkM4Ljg3NzcgNi43MzM0IDguODY0NDYgNi4yNzAxNSA4LjYyNjIyIDYuMDA1NDJDOC4zNzQ3NCA1LjcxNDI0IDcuOTI0NzEgNS42MjE1OSA3LjMxNTg2IDUuODU5ODJDMy4yNTI0NCA3LjUxNDMyIDAuNDQ2NDI2IDExLjc2MyAwLjQ0NjQyNiAxNi43MDAxQzAuNDQ2NDI2IDIzLjE0NTkgNS4xOTgxMiAyOC4xMDkzIDEyLjAxNDYgMjguMTA5M1pNMTIuMDQxMSAyNi4wODQzQzYuNDAyNTkgMjYuMDg0MyAyLjQ3MTUyIDIxLjk2NzkgMi40NzE1MiAxNi41NDEzQzIuNDcxNTIgMTMuMjE4OSA0LjAyMDEyIDEwLjI2NzQgNi40ODIgOC4zODc4OUM2LjE1MTEgOS4yNjE0NSA1Ljk2NTggMTAuNTcxOCA1Ljk2NTggMTEuODQyNUM1Ljk2NTggMTguMzY3NyAxMC40NjYgMjIuNzM1NiAxNy4xMzY5IDIyLjczNTZDMTguMzE0OSAyMi43MzU2IDE5LjQwMDIgMjIuNTc2OCAxOS45Njk0IDIyLjM5MTRDMTguMzE0OSAyNC42ODEzIDE1LjM2MzMgMjYuMDg0MyAxMi4wNDExIDI2LjA4NDNaTTIxLjgzNTcgMTYuMDExOEMyMi4wODcyIDE2LjAxMTggMjIuMjU5MiAxNS44Mzk3IDIyLjI4NTYgMTUuNTc1QzIyLjcyMjUgMTIuMDQxIDIyLjg5NDUgMTEuOTQ4MyAyNi40ODE1IDExLjM2NkMyNi43NTk0IDExLjMyNjMgMjYuOTMxNSAxMS4xODA3IDI2LjkzMTUgMTAuOTI5MkMyNi45MzE1IDEwLjY3NzcgMjYuNzU5NCAxMC41MTg5IDI2LjUzNDUgMTAuNDc5MkMyMi45MjEgOS43OTA4OSAyMi43MjI1IDkuODA0MTMgMjIuMjg1NiA2LjI3MDE1QzIyLjI1OTIgNi4wMDU0MiAyMi4wODcyIDUuODMzMzYgMjEuODM1NyA1LjgzMzM2QzIxLjU5NzUgNS44MzMzNiAyMS40MjUzIDYuMDA1NDIgMjEuMzg1NyA2LjI1NjkxQzIwLjkzNTYgOS44NDM4NCAyMC44MDMyIDkuOTYyOTYgMTcuMTM2OSAxMC40NzkyQzE2LjkxMTkgMTAuNTA1NiAxNi43Mzk5IDEwLjY3NzcgMTYuNzM5OSAxMC45MjkyQzE2LjczOTkgMTEuMTY3NCAxNi45MTE5IDExLjMyNjMgMTcuMTM2OSAxMS4zNjZDMjAuODAzMiAxMi4wNjc1IDIwLjkyMjQgMTIuMDY3NSAyMS4zODU3IDE1LjYwMTRDMjEuNDI1MyAxNS44Mzk3IDIxLjU5NzUgMTYuMDExOCAyMS44MzU3IDE2LjAxMThaTTE1LjUwODkgNy4wNTEwNkMxNS42Njc4IDcuMDUxMDYgMTUuNzQ3MiA2Ljk1ODQxIDE1Ljc3MzYgNi44MTI4MkMxNi4xODM5IDQuNjAyNDEgMTYuMTcwNyA0LjU0OTQ4IDE4LjQ3MzcgNC4xMTI2OUMxOC42MTkzIDQuMDg2MjEgMTguNzI1MiAzLjk5MzU2IDE4LjcyNTIgMy44MzQ3NEMxOC43MjUyIDMuNjc1OSAxOC42MTkzIDMuNTgzMjUgMTguNDczNyAzLjU1Njc4QzE2LjE3MDcgMy4wOTM1MyAxNi4yNTAxIDMuMDQwNTggMTUuNzczNiAwLjg1NjY1NUMxNS43NDcyIDAuNzExMDYgMTUuNjY3OCAwLjYxODQwOCAxNS41MDg5IDAuNjE4NDA4QzE1LjM1IDAuNjE4NDA4IDE1LjI1NzQgMC43MTEwNiAxNS4yMzA5IDAuODU2NjU1QzE0Ljc2NzcgMy4wNDA1OCAxNC44NDcxIDMuMDkzNTMgMTIuNTQ0IDMuNTU2NzhDMTIuMzg1MiAzLjU4MzI1IDEyLjI5MjYgMy42NzU5IDEyLjI5MjYgMy44MzQ3NEMxMi4yOTI2IDMuOTkzNTYgMTIuMzg1MiA0LjA4NjIxIDEyLjU0NCA0LjExMjY5QzE0Ljg0NzEgNC41NzU5NSAxNC44MjA3IDQuNjAyNDEgMTUuMjMwOSA2LjgxMjgyQzE1LjI1NzQgNi45NTg0MSAxNS4zNSA3LjA1MTA2IDE1LjUwODkgNy4wNTEwNloiIGZpbGw9IiNCQkMwQzUiLz4KPC9zdmc+Cg=="},manifest:{alt:"Manifest",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cmVjdCB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHJ4PSIxNiIgZmlsbD0iIzAzN0RENiIgZmlsbC1vcGFjaXR5PSIwLjEiLz4KICA8cGF0aCBkPSJNMTIuNjY2NyA5SDE5LjMzMzNDMjAuNzEwNyA5IDIxLjYwODcgOS4zNTM1NyAyMi4xNjI0IDkuODkwMjhDMjIuNzE0MSAxMC40MjUgMjMgMTEuMjE1MiAyMyAxMi4yNVYxOS43NUMyMyAyMC43ODQ4IDIyLjcxNDEgMjEuNTc1IDIyLjE2MjQgMjIuMTA5N0MyMS42MDg3IDIyLjY0NjQgMjAuNzEwNyAyMyAxOS4zMzMzIDIzSDEyLjY2NjdDMTEuMjg5MyAyMyAxMC4zOTEzIDIyLjY0NjQgOS44Mzc1NyAyMi4xMDk3QzkuMjg1OSAyMS41NzUgOSAyMC43ODQ4IDkgMTkuNzVWMTIuMjVDOSAxMS4yMTUyIDkuMjg1OSAxMC40MjUgOS44Mzc1NyA5Ljg5MDI4QzEwLjM5MTMgOS4zNTM1NyAxMS4yODkzIDkgMTIuNjY2NyA5Wk0xNS4xMDk1IDIwLjUxOTFDMTUuNTcxOCAyMC4xMDMgMTUuNTcxOCAxOS4zOTcgMTUuMTA5NSAxOC45ODA5TDE0LjI5NzQgMTguMjVMMTUuMTA5NSAxNy41MTkxQzE1LjU3MTggMTcuMTAzIDE1LjU3MTggMTYuMzk3IDE1LjEwOTUgMTUuOTgwOUMxNC42Nzc3IDE1LjU5MjIgMTMuOTg5IDE1LjU5MjIgMTMuNTU3MiAxNS45ODA5TDExLjg5MDUgMTcuNDgwOUMxMS40MjgyIDE3Ljg5NyAxMS40MjgyIDE4LjYwMyAxMS44OTA1IDE5LjAxOTFMMTMuNTU3MiAyMC41MTkxQzEzLjc4MzcgMjAuNzIzIDE0LjA2NTEgMjAuODEyNSAxNC4zMzMzIDIwLjgxMjVDMTQuNjAxNiAyMC44MTI1IDE0Ljg4MyAyMC43MjMgMTUuMTA5NSAyMC41MTkxWk0xOC40NDI4IDIwLjUxOTFMMjAuMTA5NSAxOS4wMTkxQzIwLjU3MTggMTguNjAzIDIwLjU3MTggMTcuODk3IDIwLjEwOTUgMTcuNDgwOUwxOC40NDI4IDE1Ljk4MDlDMTguMDExIDE1LjU5MjIgMTcuMzIyMyAxNS41OTIyIDE2Ljg5MDUgMTUuOTgwOUMxNi40MjgyIDE2LjM5NyAxNi40MjgyIDE3LjEwMyAxNi44OTA1IDE3LjUxOTFMMTcuNzAyNiAxOC4yNUwxNi44OTA1IDE4Ljk4MDlDMTYuNDI4MiAxOS4zOTcgMTYuNDI4MiAyMC4xMDMgMTYuODkwNSAyMC41MTkxQzE3LjExNyAyMC43MjMgMTcuMzk4NCAyMC44MTI1IDE3LjY2NjcgMjAuODEyNUMxNy45MzQ5IDIwLjgxMjUgMTguMjE2MyAyMC43MjMgMTguNDQyOCAyMC41MTkxWk0xOS43NSAxNC40Mzc1SDIxLjQxNjdDMjEuOTgzNiAxNC40Mzc1IDIyLjU0MTcgMTQuMDA2OSAyMi41NDE3IDEzLjM3NUMyMi41NDE3IDEyLjc0MzEgMjEuOTgzNiAxMi4zMTI1IDIxLjQxNjcgMTIuMzEyNUgxOS43NUMxOS40MDAzIDEyLjMxMjUgMTkuMjA4MyAxMi4wNjgxIDE5LjIwODMgMTEuODc1VjEwLjM3NUMxOS4yMDgzIDkuNzQzMTEgMTguNjUwMyA5LjMxMjUgMTguMDgzMyA5LjMxMjVDMTcuNTE2NCA5LjMxMjUgMTYuOTU4MyA5Ljc0MzExIDE2Ljk1ODMgMTAuMzc1VjExLjg3NUMxNi45NTgzIDEzLjMzOTQgMTguMjU4IDE0LjQzNzUgMTkuNzUgMTQuNDM3NVoiIGZpbGw9IiMwMzc2QzkiIHN0cm9rZT0iIzAzN0RENiIvPgo8L3N2Zz4K"},gitHub:{alt:"GitHub",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEyIDBDNS4zNyAwIDAgNS4zNyAwIDEyQzAgMTcuMzEgMy40MzUgMjEuNzk1IDguMjA1IDIzLjM4NUM4LjgwNSAyMy40OSA5LjAzIDIzLjEzIDkuMDMgMjIuODE1QzkuMDMgMjIuNTMgOS4wMTUgMjEuNTg1IDkuMDE1IDIwLjU4QzYgMjEuMTM1IDUuMjIgMTkuODQ1IDQuOTggMTkuMTdDNC44NDUgMTguODI1IDQuMjYgMTcuNzYgMy43NSAxNy40NzVDMy4zMyAxNy4yNSAyLjczIDE2LjY5NSAzLjczNSAxNi42OEM0LjY4IDE2LjY2NSA1LjM1NSAxNy41NSA1LjU4IDE3LjkxQzYuNjYgMTkuNzI1IDguMzg1IDE5LjIxNSA5LjA3NSAxOC45QzkuMTggMTguMTIgOS40OTUgMTcuNTk1IDkuODQgMTcuMjk1QzcuMTcgMTYuOTk1IDQuMzggMTUuOTYgNC4zOCAxMS4zN0M0LjM4IDEwLjA2NSA0Ljg0NSA4Ljk4NSA1LjYxIDguMTQ1QzUuNDkgNy44NDUgNS4wNyA2LjYxNSA1LjczIDQuOTY1QzUuNzMgNC45NjUgNi43MzUgNC42NSA5LjAzIDYuMTk1QzkuOTkgNS45MjUgMTEuMDEgNS43OSAxMi4wMyA1Ljc5QzEzLjA1IDUuNzkgMTQuMDcgNS45MjUgMTUuMDMgNi4xOTVDMTcuMzI1IDQuNjM1IDE4LjMzIDQuOTY1IDE4LjMzIDQuOTY1QzE4Ljk5IDYuNjE1IDE4LjU3IDcuODQ1IDE4LjQ1IDguMTQ1QzE5LjIxNSA4Ljk4NSAxOS42OCAxMC4wNSAxOS42OCAxMS4zN0MxOS42OCAxNS45NzUgMTYuODc1IDE2Ljk5NSAxNC4yMDUgMTcuMjk1QzE0LjY0IDE3LjY3IDE1LjAxNSAxOC4zOSAxNS4wMTUgMTkuNTE1QzE1LjAxNSAyMS4xMiAxNSAyMi40MSAxNSAyMi44MTVDMTUgMjMuMTMgMTUuMjI1IDIzLjUwNSAxNS44MjUgMjMuMzg1QzIwLjU2NSAyMS43OTUgMjQgMTcuMjk1IDI0IDEyQzI0IDUuMzcgMTguNjMgMCAxMiAwWiIgZmlsbD0iIzI0MjcyQSIvPgo8L3N2Zz4K",srcDark:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMiAwQzUuMzcgMCAwIDUuMzcgMCAxMkMwIDE3LjMxIDMuNDM1IDIxLjc5NSA4LjIwNSAyMy4zODVDOC44MDUgMjMuNDkgOS4wMyAyMy4xMyA5LjAzIDIyLjgxNUM5LjAzIDIyLjUzIDkuMDE1IDIxLjU4NSA5LjAxNSAyMC41OEM2IDIxLjEzNSA1LjIyIDE5Ljg0NSA0Ljk4IDE5LjE3QzQuODQ1IDE4LjgyNSA0LjI2IDE3Ljc2IDMuNzUgMTcuNDc1QzMuMzMgMTcuMjUgMi43MyAxNi42OTUgMy43MzUgMTYuNjhDNC42OCAxNi42NjUgNS4zNTUgMTcuNTUgNS41OCAxNy45MUM2LjY2IDE5LjcyNSA4LjM4NSAxOS4yMTUgOS4wNzUgMTguOUM5LjE4IDE4LjEyIDkuNDk1IDE3LjU5NSA5Ljg0IDE3LjI5NUM3LjE3IDE2Ljk5NSA0LjM4IDE1Ljk2IDQuMzggMTEuMzdDNC4zOCAxMC4wNjUgNC44NDUgOC45ODUgNS42MSA4LjE0NUM1LjQ5IDcuODQ1IDUuMDcgNi42MTUgNS43MyA0Ljk2NUM1LjczIDQuOTY1IDYuNzM1IDQuNjUgOS4wMyA2LjE5NUM5Ljk5IDUuOTI1IDExLjAxIDUuNzkgMTIuMDMgNS43OUMxMy4wNSA1Ljc5IDE0LjA3IDUuOTI1IDE1LjAzIDYuMTk1QzE3LjMyNSA0LjYzNSAxOC4zMyA0Ljk2NSAxOC4zMyA0Ljk2NUMxOC45OSA2LjYxNSAxOC41NyA3Ljg0NSAxOC40NSA4LjE0NUMxOS4yMTUgOC45ODUgMTkuNjggMTAuMDUgMTkuNjggMTEuMzdDMTkuNjggMTUuOTc1IDE2Ljg3NSAxNi45OTUgMTQuMjA1IDE3LjI5NUMxNC42NCAxNy42NyAxNS4wMTUgMTguMzkgMTUuMDE1IDE5LjUxNUMxNS4wMTUgMjEuMTIgMTUgMjIuNDEgMTUgMjIuODE1QzE1IDIzLjEzIDE1LjIyNSAyMy41MDUgMTUuODI1IDIzLjM4NUMyMC41NjUgMjEuNzk1IDI0IDE3LjI5NSAyNCAxMkMyNCA1LjM3IDE4LjYzIDAgMTIgMFoiIGZpbGw9IiM5RkE2QUUiLz4KPC9zdmc+Cg=="},cronjob:{alt:"Cronjob",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiByeD0iMTYiIGZpbGw9IiMwMzdERDYiIGZpbGwtb3BhY2l0eT0iMC4xIi8+CjxwYXRoIGQ9Ik0xNS45MjcgMTguMDc5MkwxNS45MjcyIDE4LjA3OTRMMTguNTAxNSAxOS42MTU2QzE4LjY5NDYgMTkuNzQwNiAxOC44OTkyIDE5Ljc4MzMgMTkuMDgzNCAxOS43ODMzQzE5LjQ2NTEgMTkuNzgzMyAxOS44NDE5IDE5LjU5MTYgMjAuMDU0MiAxOS4yMzE3QzIwLjM4MSAxOC42OTIgMjAuMTk5NCAxOC4wMDEgMTkuNjYyOCAxNy42ODYyTDE3LjA4MTMgMTYuMTQ1NkwxNy4wODEzIDE2LjE0NTZMMTcuMDc2MSAxNi4xNDI2QzE3LjA1MjQgMTYuMTI4OCAxNi45OCAxNi4wNjM2IDE2LjkwODcgMTUuOTM4MkMxNi44Mzc3IDE1LjgxMzUgMTYuODE2NyAxNS43MTUgMTYuODE2NyAxNS42ODMzVjEyLjI2NjdDMTYuODE2NyAxMS42NDg5IDE2LjMwOTYgMTEuMTQxNyAxNS42OTE3IDExLjE0MTdDMTUuMDczOSAxMS4xNDE3IDE0LjU2NjcgMTEuNjQ4OSAxNC41NjY3IDEyLjI2NjdWMTUuNjgzM0MxNC41NjY3IDE2LjYwMDYgMTUuMTMzOSAxNy42MDU1IDE1LjkyNyAxOC4wNzkyWk04LjE2Njc1IDE2QzguMTY2NzUgMTEuNjg0NSAxMS42ODQ2IDguMTY2NjcgMTYuMDAwMSA4LjE2NjY3QzIwLjMxNTYgOC4xNjY2NyAyMy44MzM0IDExLjY4NDUgMjMuODMzNCAxNkMyMy44MzM0IDIwLjMxNTUgMjAuMzE1NiAyMy44MzMzIDE2LjAwMDEgMjMuODMzM0MxMS42ODQ2IDIzLjgzMzMgOC4xNjY3NSAyMC4zMTU1IDguMTY2NzUgMTZaIiBmaWxsPSIjMDM3NkM5IiBzdHJva2U9IiMwMzdERDYiLz4KPC9zdmc+Cg=="},insights:{alt:"Insights",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiByeD0iMTYiIGZpbGw9IiMwMzdERDYiIGZpbGwtb3BhY2l0eT0iMC4xIi8+CjxwYXRoIGQ9Ik04LjIxOTg5IDIxLjI5MUw4LjIxOTg4IDIxLjI5MUM4LjE4OTMyIDIxLjI1ODMgOC4xNjY3NSAyMS4yMDcgOC4xNjY3NSAyMS4xNDcxVjE5LjE4MjZDOC4xNjY3NSAxNC40ODU5IDExLjY4MzggMTAuNjgyNyAxNS45Njk5IDEwLjY2NjdMMTUuOTcwMSAxMC42NjY3QzE2Ljk5NjQgMTAuNjYyNSAxOC4wMTQzIDEwLjg3NTIgMTguOTY1NiAxMS4yOTM2QzE5LjkxNzEgMTEuNzEyMSAyMC43ODQzIDEyLjMyODcgMjEuNTE2NiAxMy4xMDk2QzIyLjI0ODkgMTMuODkwNyAyMi44MzE3IDE0LjgyMDYgMjMuMjI5OSAxNS44NDdDMjMuNjI4MSAxNi44NzM1IDIzLjgzMzQgMTcuOTc1IDIzLjgzMzQgMTkuMDg4M1YyMS4xNDcxQzIzLjgzMzQgMjEuMjA2OSAyMy44MTA5IDIxLjI1ODIgMjMuNzgwNCAyMS4yOTA5QzIzLjc1MDggMjEuMzIyNiAyMy43MTgzIDIxLjMzMzMgMjMuNjkyNCAyMS4zMzMzSDguMzA3NzdDOC4yODE4NiAyMS4zMzMzIDguMjQ5NDIgMjEuMzIyNiA4LjIxOTg5IDIxLjI5MVpNMjAuNzcwMiAxMy44Mjg0TDIwLjc3MDIgMTMuODI4NEMyMC4zMTcxIDEzLjM2NDkgMTkuNTc3OCAxMy4zNjQ5IDE5LjEyNDcgMTMuODI4NEwxOS40NzIgMTQuMTY3OEwxOS4xMjQ3IDEzLjgyODRMMTYuMTUzIDE2Ljg2ODdDMTYuMDYwMyAxNi44NTM4IDE1Ljk2NTQgMTYuODQ2MiAxNS44NjkgMTYuODQ2MkMxNC44NTU1IDE2Ljg0NjIgMTQuMDUzMiAxNy42ODM1IDE0LjA1MzIgMTguNjkyM0MxNC4wNTMyIDE5LjcwMTEgMTQuODU1NSAyMC41Mzg1IDE1Ljg2OSAyMC41Mzg1QzE2Ljg4MjUgMjAuNTM4NSAxNy42ODQ4IDE5LjcwMTEgMTcuNjg0OCAxOC42OTIzQzE3LjY4NDggMTguNjczNyAxNy42ODQ1IDE4LjY1NTIgMTcuNjg0IDE4LjYzNjdMMjAuNzcwMiAxNS40NzkzQzIxLjIxNyAxNS4wMjIxIDIxLjIxNyAxNC4yODU2IDIwLjc3MDIgMTMuODI4NFpNMjEuMjYzMiAxOC43NDM2QzIyLjAzNDUgMTguNzQzNiAyMi42NDA0IDE4LjEwNzEgMjIuNjQwNCAxNy4zNDYyQzIyLjY0MDQgMTYuNTg1MiAyMi4wMzQ1IDE1Ljk0ODcgMjEuMjYzMiAxNS45NDg3QzIwLjQ5MTkgMTUuOTQ4NyAxOS44ODYgMTYuNTg1MiAxOS44ODYgMTcuMzQ2MkMxOS44ODYgMTguMTA3MSAyMC40OTE5IDE4Ljc0MzYgMjEuMjYzMiAxOC43NDM2Wk0xMC4yOTgzIDE4Ljc0MzZDMTEuMDY5NiAxOC43NDM2IDExLjY3NTUgMTguMTA3MSAxMS42NzU1IDE3LjM0NjJDMTEuNjc1NSAxNi41ODUyIDExLjA2OTYgMTUuOTQ4NyAxMC4yOTgzIDE1Ljk0ODdDOS41MjcwNCAxNS45NDg3IDguOTIxMTMgMTYuNTg1MiA4LjkyMTEzIDE3LjM0NjJDOC45MjExMyAxOC4xMDcxIDkuNTI3MDQgMTguNzQzNiAxMC4yOTgzIDE4Ljc0MzZaTTE1LjQzMDQgMTQuMjU2NEMxNi4yMDE3IDE0LjI1NjQgMTYuODA3NiAxMy42MTk5IDE2LjgwNzYgMTIuODU5QzE2LjgwNzYgMTIuMDk4IDE2LjIwMTcgMTEuNDYxNSAxNS40MzA0IDExLjQ2MTVDMTQuNjU5MSAxMS40NjE1IDE0LjA1MzIgMTIuMDk4IDE0LjA1MzIgMTIuODU5QzE0LjA1MzIgMTMuNjE5OSAxNC42NTkxIDE0LjI1NjQgMTUuNDMwNCAxNC4yNTY0WiIgZmlsbD0iIzAzNzZDOSIgc3Ryb2tlPSIjMDM3REQ2Ii8+Cjwvc3ZnPgo="},jsonRpc:{alt:"JSON-RPC",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiByeD0iMTYiIGZpbGw9IiMwMzdERDYiIGZpbGwtb3BhY2l0eT0iMC4xIi8+CjxwYXRoIGQ9Ik0xMS42MzA3IDE1LjQxOTNMMTAuODEyNSAxNC43NDQzVjE1LjgwNVYxOC41MDA3QzEwLjc5MTcgMTguNTAwMiAxMC43NzA5IDE4LjUgMTAuNzUgMTguNUMxMC43MjkxIDE4LjUgMTAuNzA4MyAxOC41MDAyIDEwLjY4NzUgMTguNTAwN1YxMy40OTkzQzEwLjcwODMgMTMuNDk5OCAxMC43MjkxIDEzLjUgMTAuNzUgMTMuNUMxMC43NzkxIDEzLjUgMTAuODA4MSAxMy40OTk1IDEwLjgzNyAxMy40OTg2QzEwLjkwNyAxNC4xNzc1IDExLjEzMDkgMTQuNzU3NCAxMS41NjE4IDE1LjE4ODJDMTIuMDk0NyAxNS43MjEyIDEyLjg1NTggMTUuOTM3NSAxMy43NSAxNS45Mzc1SDE4LjUwMDdDMTguNTAwMiAxNS45NTgzIDE4LjUgMTUuOTc5MSAxOC41IDE2QzE4LjUgMTYuMDIwOSAxOC41MDAyIDE2LjA0MTcgMTguNTAwNyAxNi4wNjI1SDEzLjc1QzEyLjgxNTIgMTYuMDYyNSAxMi4xMTk5IDE1LjgyMjkgMTEuNjMwNyAxNS40MTkzWk05Ljk0Nzg1IDE5LjY5NDNDMTAuMTQzMiAxOS45MTk0IDEwLjQzMDkgMjAuMDYyNSAxMC43NSAyMC4wNjI1QzExLjA2OTEgMjAuMDYyNSAxMS4zNTY4IDE5LjkxOTQgMTEuNTUyMiAxOS42OTQzQzEyLjExNTEgMTkuOTg1MSAxMi41IDIwLjU3MjYgMTIuNSAyMS4yNUMxMi41IDIyLjIxNjUgMTEuNzE2NSAyMyAxMC43NSAyM0M5Ljc4MzUgMjMgOSAyMi4yMTY1IDkgMjEuMjVDOSAyMC41NzI2IDkuMzg0ODYgMTkuOTg1MSA5Ljk0Nzg1IDE5LjY5NDNaTTEwLjc1IDExLjkzNzVDMTAuNDMwOSAxMS45Mzc1IDEwLjE0MzIgMTIuMDgwNiA5Ljk0Nzg1IDEyLjMwNTdDOS4zODQ4NiAxMi4wMTQ5IDkgMTEuNDI3NCA5IDEwLjc1QzkgOS43ODM1IDkuNzgzNSA5IDEwLjc1IDlDMTEuNzE2NSA5IDEyLjUgOS43ODM1IDEyLjUgMTAuNzVDMTIuNSAxMS40Mjc0IDEyLjExNTEgMTIuMDE0OSAxMS41NTIyIDEyLjMwNTdDMTEuMzU2OCAxMi4wODA2IDExLjA2OTEgMTEuOTM3NSAxMC43NSAxMS45Mzc1Wk0xOS42OTQzIDE2LjgwMjJDMTkuOTE5NCAxNi42MDY4IDIwLjA2MjUgMTYuMzE5MSAyMC4wNjI1IDE2QzIwLjA2MjUgMTUuNjgwOSAxOS45MTk0IDE1LjM5MzIgMTkuNjk0MyAxNS4xOTc4QzE5Ljk4NTEgMTQuNjM0OSAyMC41NzI2IDE0LjI1IDIxLjI1IDE0LjI1QzIyLjIxNjUgMTQuMjUgMjMgMTUuMDMzNSAyMyAxNkMyMyAxNi45NjY1IDIyLjIxNjUgMTcuNzUgMjEuMjUgMTcuNzVDMjAuNTcyNiAxNy43NSAxOS45ODUxIDE3LjM2NTEgMTkuNjk0MyAxNi44MDIyWiIgZmlsbD0iIzAzNzZDOSIgc3Ryb2tlPSIjMDM3REQ2Ii8+Cjwvc3ZnPgo="},cross:{alt:"Cross",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMSAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMC43NTkyMTkgMTEuNDM2NEMwLjU4MTQ0MSAxMS40MzY0IDAuNDYyOTIyIDExLjM3NzIgMC4zNDQ0MDQgMTEuMjU4N0MwLjEwNzM2NyAxMS4wMjE2IDAuMTA3MzY3IDEwLjY2NjEgMC4zNDQ0MDQgMTAuNDI5TDkuODI1ODggMC45NDc1NTNDMTAuMDYyOSAwLjcxMDUxNiAxMC40MTg1IDAuNzEwNTE2IDEwLjY1NTUgMC45NDc1NTNDMTAuODkyNiAxLjE4NDU5IDEwLjg5MjYgMS41NDAxNSAxMC42NTU1IDEuNzc3MThMMS4xNzQwMyAxMS4yNTg3QzEuMDU1NTEgMTEuMzc3MiAwLjkzNjk5NiAxMS40MzY0IDAuNzU5MjE5IDExLjQzNjRaIiBmaWxsPSIjMjQyNzJBIi8+CiAgPHBhdGggZD0iTTEwLjI0MDcgMTEuNDM2NEMxMC4wNjI5IDExLjQzNjQgOS45NDQ0IDExLjM3NzIgOS44MjU4OCAxMS4yNTg3TDAuMzQ0NDA0IDEuNzc3MThDMC4xMDczNjcgMS41NDAxNSAwLjEwNzM2NyAxLjE4NDU5IDAuMzQ0NDA0IDAuOTQ3NTUzQzAuNTgxNDQxIDAuNzEwNTE2IDAuOTM2OTk2IDAuNzEwNTE2IDEuMTc0MDMgMC45NDc1NTNMMTAuNjU1NSAxMC40MjlDMTAuODkyNiAxMC42NjYxIDEwLjg5MjYgMTEuMDIxNiAxMC42NTU1IDExLjI1ODdDMTAuNTM3IDExLjM3NzIgMTAuNDE4NSAxMS40MzY0IDEwLjI0MDcgMTEuNDM2NFoiIGZpbGw9IiMyNDI3MkEiLz4KPC9zdmc+Cg==",srcDark:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMSAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTAuNzU5MjE5IDExLjQzNjRDMC41ODE0NDEgMTEuNDM2NCAwLjQ2MjkyMiAxMS4zNzcyIDAuMzQ0NDA0IDExLjI1ODdDMC4xMDczNjcgMTEuMDIxNiAwLjEwNzM2NyAxMC42NjYxIDAuMzQ0NDA0IDEwLjQyOUw5LjgyNTg4IDAuOTQ3NTUzQzEwLjA2MjkgMC43MTA1MTYgMTAuNDE4NSAwLjcxMDUxNiAxMC42NTU1IDAuOTQ3NTUzQzEwLjg5MjYgMS4xODQ1OSAxMC44OTI2IDEuNTQwMTUgMTAuNjU1NSAxLjc3NzE4TDEuMTc0MDMgMTEuMjU4N0MxLjA1NTUxIDExLjM3NzIgMC45MzY5OTYgMTEuNDM2NCAwLjc1OTIxOSAxMS40MzY0WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTEwLjI0MDcgMTEuNDM2NEMxMC4wNjI5IDExLjQzNjQgOS45NDQ0IDExLjM3NzIgOS44MjU4OCAxMS4yNTg3TDAuMzQ0NDA0IDEuNzc3MThDMC4xMDczNjcgMS41NDAxNSAwLjEwNzM2NyAxLjE4NDU5IDAuMzQ0NDA0IDAuOTQ3NTUzQzAuNTgxNDQxIDAuNzEwNTE2IDAuOTM2OTk2IDAuNzEwNTE2IDEuMTc0MDMgMC45NDc1NTNMMTAuNjU1NSAxMC40MjlDMTAuODkyNiAxMC42NjYxIDEwLjg5MjYgMTEuMDIxNiAxMC42NTU1IDExLjI1ODdDMTAuNTM3IDExLjM3NzIgMTAuNDE4NSAxMS40MzY0IDEwLjI0MDcgMTEuNDM2NFoiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPgo="},drag:{alt:"Drag",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjMiIHZpZXdCb3g9IjAgMCAyNyAyMyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNNS45ODA0NyAzLjA0MzgzQzIuNTM1MTYgNS4xMjk3NyAwLjI1IDkuMDMyMTEgMC4yNSAxMy44MzY4QzAuMjUgMTQuMjU4NiAwLjYxMzI4MSAxNC42MjE5IDEuMDExNzIgMTQuNjEwMkMxLjQyMTg4IDE0LjU5ODUgMS43MTQ4NCAxNC4yODIxIDEuNzI2NTYgMTMuODYwMkMxLjgzMjAzIDkuNjUzMiAzLjYzNjcyIDYuMzQ4NTIgNi41MDc4MSA0LjQ4NTIzTDUuOTgwNDcgMy4wNDM4M1pNMjAuOTQ1MyAyMi4zOTE0QzI1LjU5NzcgMjAuNzAzOSAyNy41NzgxIDE2LjQzODMgMjUuNzAzMSAxMS4yODIxTDI0LjgzNTkgOC44Nzk3N0MyMy45MTAyIDYuMzM2OCAyMi4xNjQxIDUuMjkzODMgMjAuMTEzMyA2LjAwODY3QzE5LjU2MjUgNS4yOTM4MyAxOC43MTg4IDUuMDQ3NzMgMTcuODA0NyA1LjM3NTg2QzE3LjQ2NDggNS41MDQ3NyAxNy4xNzE5IDUuNjgwNTUgMTYuODkwNiA1Ljg5MTQ4QzE2LjI5MyA1LjExODA1IDE1LjM2NzIgNC44MzY4IDE0LjQwNjIgNS4xNzY2NEMxNC4xNDg0IDUuMjcwMzkgMTMuOTAyMyA1LjQxMTAyIDEzLjY2OCA1LjU3NTA4TDEyLjMzMiAxLjkxODgzQzExLjgyODEgMC41MjQyOTUgMTAuNTYyNSAtMC4wNjE2NDE3IDkuMjYxNzIgMC40MDcxMDhDNy45NDkyMiAwLjg4NzU3NyA3LjM2MzI4IDIuMTQxNDggNy44NjcxOSAzLjUzNjAyTDExLjIwNyAxMi43MjM1QzExLjIzMDUgMTIuNzgyMSAxMS4yMTg4IDEyLjgyODkgMTEuMTYwMiAxMi44NTI0QzExLjEyNSAxMi44NzU4IDExLjA3ODEgMTIuODUyNCAxMS4wNDMgMTIuODE3Mkw5LjY3MTg4IDExLjMxNzJDOC45OTIxOSAxMC41OTA3IDguMTcxODggMTAuMzY4IDcuMzg2NzIgMTAuNjQ5M0M2LjMyMDMxIDExLjA0NzcgNS42Mjg5MSAxMi4wNjcyIDYuMDc0MjIgMTMuMjc0M0M2LjE3OTY5IDEzLjYxNDEgNi40MTQwNiAxNC4wMjQzIDYuNjgzNTkgMTQuMzY0MUwxMC42MDk0IDE5LjExMDJDMTMuNTg1OSAyMi42OTYxIDE3LjA1NDcgMjMuODA5NCAyMC45NDUzIDIyLjM5MTRaTTIwLjQ0MTQgMjAuODU2M0MxNy4zNzExIDIxLjk4MTMgMTQuNSAyMS40MDcxIDExLjc4MTIgMTguMTM3NUw3Ljg1NTQ3IDEzLjQxNDlDNy43MzgyOCAxMy4yNzQzIDcuNjU2MjUgMTMuMTQ1NCA3LjU4NTk0IDEyLjk0NjFDNy40NDUzMSAxMi41NzExIDcuNjA5MzggMTIuMTM3NSA4LjA1NDY5IDExLjk3MzVDOC40Mjk2OSAxMS44NDQ2IDguNzM0MzggMTEuOTg1MiA5LjAyNzM0IDEyLjMwMTZMMTEuNzQ2MSAxNS4xMDI0QzEyLjE5MTQgMTUuNTcxMSAxMi41ODk4IDE1LjYxOCAxMi45ODgzIDE1LjQ3NzRDMTMuNDQ1MyAxNS4zMTMzIDEzLjYzMjggMTQuODIxMSAxMy40NDUzIDE0LjMxNzJMOS4yOTY4OCAyLjkwMzJDOS4xMjEwOSAyLjQzNDQ1IDkuMzMyMDMgMS45ODkxNCA5Ljc4OTA2IDEuODI1MDhDMTAuMjM0NCAxLjY2MTAyIDEwLjY2OCAxLjg4MzY3IDEwLjgzMiAyLjM1MjQyTDEzLjc5NjkgMTAuNDk2OUMxMy45Mzc1IDEwLjg4MzYgMTQuMzcxMSAxMS4wNTk0IDE0Ljc1NzggMTAuOTE4OEMxNS4xMzI4IDEwLjc3ODIgMTUuMzQzOCAxMC4zNjggMTUuMjAzMSA5Ljk5MzA1TDE0LjEzNjcgNy4wNTE2NEMxNC4yODkxIDYuODk5MyAxNC41MjM0IDYuNzQ2OTUgMTQuNzM0NCA2LjY2NDkyQzE1LjI4NTIgNi40NjU3IDE1Ljc0MjIgNi43MTE4IDE1Ljk1MzEgNy4yODYwMkwxNi44OTA2IDkuODUyNDJDMTcuMDMxMiAxMC4yNTA4IDE3LjQ3NjYgMTAuNDAzMiAxNy44NTE2IDEwLjI2MjVDMTguMjAzMSAxMC4xMzM2IDE4LjQzNzUgOS43NDY5NSAxOC4yODUyIDkuMzM2OEwxNy41MjM0IDcuMjUwODZDMTcuNjg3NSA3LjA5ODUyIDE3LjkxMDIgNi45NDYxNyAxOC4xMzI4IDYuODY0MTRDMTguNjgzNiA2LjY2NDkyIDE5LjE0MDYgNi45MTEwMiAxOS4zNTE2IDcuNDg1MjNMMTkuOTcyNyA5LjE5NjE3QzIwLjEyNSA5LjYwNjMzIDIwLjU1ODYgOS43NTg2NyAyMC45MzM2IDkuNjE4MDVDMjEuMjk2OSA5LjQ4OTE0IDIxLjUxOTUgOS4wOTA3IDIxLjM3ODkgOC42OTIyN0wyMC45MjE5IDcuNDI2NjRDMjEuODk0NSA3LjA3NTA4IDIyLjgyMDMgNy44NzE5NSAyMy40NTMxIDkuNjI5NzdMMjQuMTkxNCAxMS42MzM2QzI1Ljc5NjkgMTYuMDYzMyAyNC4zNDM4IDE5LjQzODMgMjAuNDQxNCAyMC44NTYzWiIgZmlsbD0iI0JCQzBDNSIvPgo8L3N2Zz4K"},heading:{alt:"Heading",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTAiIHZpZXdCb3g9IjAgMCAyMCAxMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMS4yNTA2MiAzLjU4NDA1SDE4LjczOTRDMTkuNTczMiAzLjU4NDA1IDIwIDMuMTc3MSAyMCAyLjM0MzM1VjEuNTk4OTRDMjAgMC43ODUwMzkgMTkuNTczMiAwLjM2ODE2NCAxOC43Mzk0IDAuMzY4MTY0SDEuMjUwNjJDMC40MTY4NzQgMC4zNjgxNjQgMCAwLjc4NTAzOSAwIDEuNTk4OTRWMi4zNDMzNUMwIDMuMTc3MSAwLjQxNjg3NCAzLjU4NDA1IDEuMjUwNjIgMy41ODQwNVpNMS4yNTA2MiA5LjYzMjAySDguNjY1MDNDOS40OTg3MSA5LjYzMjAyIDkuOTE1NiA5LjIyNTA1IDkuOTE1NiA4LjM5MTM2VjcuNjQ2ODdDOS45MTU2IDYuODMzIDkuNDk4NzEgNi40MTYxMiA4LjY2NTAzIDYuNDE2MTJIMS4yNTA2MkMwLjQxNjg3NCA2LjQxNjEyIDAgNi44MzMgMCA3LjY0Njg3VjguMzkxMzZDMCA5LjIyNTA1IDAuNDE2ODc0IDkuNjMyMDIgMS4yNTA2MiA5LjYzMjAyWiIgZmlsbD0iI0JCQzBDNSIvPgo8L3N2Zz4K"},text:{alt:"Text",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAyMCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMC43NDQ0MTYgMS45MTgxOUgxOS4yMzU3QzE5LjY1MjYgMS45MTgxOSAyMCAxLjU5MDY1IDIwIDEuMTYzODVDMjAgMC43NDY5NzcgMTkuNjUyNiAwLjQxOTQzNCAxOS4yMzU3IDAuNDE5NDM0SDAuNzQ0NDE2QzAuMzI3NTQzIDAuNDE5NDM0IDAgMC43NDY5NzcgMCAxLjE2Mzg1QzAgMS41OTA2NSAwLjMyNzU0MyAxLjkxODE5IDAuNzQ0NDE2IDEuOTE4MTlaTTAuNzQ0NDE2IDcuMTE5MThIMTkuMjM1N0MxOS42NTI2IDcuMTE5MTggMjAgNi43OTE2NCAyMCA2LjM2NDg0QzIwIDUuOTQ3OTYgMTkuNjUyNiA1LjYyMDQyIDE5LjIzNTcgNS42MjA0MkgwLjc0NDQxNkMwLjMyNzU0MyA1LjYyMDQyIDAgNS45NDc5NiAwIDYuMzY0ODRDMCA2Ljc5MTY0IDAuMzI3NTQzIDcuMTE5MTggMC43NDQ0MTYgNy4xMTkxOFpNMC43NDQ0MTYgMTIuMzIwMkgxOS4yMzU3QzE5LjY1MjYgMTIuMzIwMiAyMCAxMS45ODI3IDIwIDExLjU2NTlDMjAgMTEuMTQ5IDE5LjY1MjYgMTAuODIxNCAxOS4yMzU3IDEwLjgyMTRIMC43NDQ0MTZDMC4zMjc1NDMgMTAuODIxNCAwIDExLjE0OSAwIDExLjU2NTlDMCAxMS45ODI3IDAuMzI3NTQzIDEyLjMyMDIgMC43NDQ0MTYgMTIuMzIwMlpNMC43NDQ0MTYgMTcuNTExMkgxMS4zNjQ4QzExLjc4MTcgMTcuNTExMiAxMi4xMTkxIDE3LjE4MzcgMTIuMTE5MSAxNi43NjY4QzEyLjExOTEgMTYuMzQ5OSAxMS43ODE3IDE2LjAxMjUgMTEuMzY0OCAxNi4wMTI1SDAuNzQ0NDE2QzAuMzI3NTQzIDE2LjAxMjUgMCAxNi4zNDk5IDAgMTYuNzY2OEMwIDE3LjE4MzcgMC4zMjc1NDMgMTcuNTExMiAwLjc0NDQxNiAxNy41MTEyWiIgZmlsbD0iI0JCQzBDNSIvPgo8L3N2Zz4K"},copyable:{alt:"Copyable",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMTEuODI1IDAuNjAzMDI3SDguNjc1QzYuMzYyNjkgMC42MDMwMjcgNS4yNzgyMyAxLjQyMzU5IDUuMDUyMzEgMy40MDcyOUM1LjAwNTA0IDMuODIyMjkgNS4zNDg3NCA0LjE2NTUzIDUuNzY2NDMgNC4xNjU1M0g3LjMyNUMxMC40NzUgNC4xNjU1MyAxMS45Mzc1IDUuNjI4MDMgMTEuOTM3NSA4Ljc3ODAzVjEwLjMzNjZDMTEuOTM3NSAxMC43NTQzIDEyLjI4MDcgMTEuMDk4IDEyLjY5NTcgMTEuMDUwN0MxNC42Nzk0IDEwLjgyNDggMTUuNSA5Ljc0MDM0IDE1LjUgNy40MjgwM1Y0LjI3ODAzQzE1LjUgMS42NTMwMyAxNC40NSAwLjYwMzAyNyAxMS44MjUgMC42MDMwMjdaIiBmaWxsPSIjQkJDMEM1Ii8+CiAgPHBhdGggZD0iTTcuMzI1IDUuMTAzMDNINC4xNzVDMS41NSA1LjEwMzAzIDAuNSA2LjE1MzAzIDAuNSA4Ljc3ODAzVjExLjkyOEMwLjUgMTQuNTUzIDEuNTUgMTUuNjAzIDQuMTc1IDE1LjYwM0g3LjMyNUM5Ljk1IDE1LjYwMyAxMSAxNC41NTMgMTEgMTEuOTI4VjguNzc4MDNDMTEgNi4xNTMwMyA5Ljk1IDUuMTAzMDMgNy4zMjUgNS4xMDMwM1pNOC4yMTc1IDkuMzQwNTNMNS40MzUgMTIuMTIzQzUuMzMgMTIuMjI4IDUuMTk1IDEyLjI4MDUgNS4wNTI1IDEyLjI4MDVDNC45MSAxMi4yODA1IDQuNzc1IDEyLjIyOCA0LjY3IDEyLjEyM0wzLjI3NSAxMC43MjhDMy4wNjUgMTAuNTE4IDMuMDY1IDEwLjE4MDUgMy4yNzUgOS45NzA1M0MzLjQ4NSA5Ljc2MDUzIDMuODIyNSA5Ljc2MDUzIDQuMDMyNSA5Ljk3MDUzTDUuMDQ1IDEwLjk4M0w3LjQ1MjUgOC41NzU1M0M3LjY2MjUgOC4zNjU1MyA4IDguMzY1NTMgOC4yMSA4LjU3NTUzQzguNDIgOC43ODU1MyA4LjQyNzUgOS4xMzA1MyA4LjIxNzUgOS4zNDA1M1oiIGZpbGw9IiNCQkMwQzUiLz4KPC9zdmc+Cg=="},divider:{alt:"Divider",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMiIgdmlld0JveD0iMCAwIDIwIDIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggZD0iTTAuNzQ0NDE2IDEuNzQ5NDlIMTkuMjM1N0MxOS42NTI2IDEuNzQ5NDkgMjAgMS40MjE5NSAyMCAxLjAwNTA3QzIwIDAuNTg4MjA0IDE5LjY1MjYgMC4yNTA3MzIgMTkuMjM1NyAwLjI1MDczMkgwLjc0NDQxNkMwLjMyNzU0MyAwLjI1MDczMiAwIDAuNTg4MjA0IDAgMS4wMDUwN0MwIDEuNDIxOTUgMC4zMjc1NDMgMS43NDk0OSAwLjc0NDQxNiAxLjc0OTQ5WiIgZmlsbD0iI0JCQzBDNSIvPgo8L3N2Zz4K"},panel:{alt:"Panel",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMSAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMy4wMzg1MSAxNS42NzI5SDE3LjUyNzlDMTkuMjg1NyAxNS42NzI5IDIwLjE1NjMgMTQuODAyMyAyMC4xNTYzIDEzLjA3OFYxMC42MDg3QzIwLjE1NjMgMTAuMTczNCAxOS45MTM1IDkuOTMwNjcgMTkuNDc4MiA5LjkzMDY3QzE5LjA0MyA5LjkzMDY3IDE4LjgwODYgMTAuMTczNCAxOC44MDg2IDEwLjYwODdWMTMuMDExQzE4LjgwODYgMTMuODgxNSAxOC4zMzE1IDE0LjMyNTIgMTcuNTExMSAxNC4zMjUySDMuMDYzNjFDMi4yMjY1NiAxNC4zMjUyIDEuNzY2MTkgMTMuODgxNSAxLjc2NjE5IDEzLjAxMVYxMC42MDg3QzEuNzY2MTkgMTAuMTczNCAxLjUxNTA2IDkuOTMwNjcgMS4wODgxNyA5LjkzMDY3QzAuNjYxMjcyIDkuOTMwNjcgMC40MTg1MjcgMTAuMTczNCAwLjQxODUyNyAxMC42MDg3VjEzLjA3OEMwLjQxODUyNyAxNC44MTA3IDEuMjk3NDQgMTUuNjcyOSAzLjAzODUxIDE1LjY3MjlaTTMuMDM4NTEgMC4yNjI2OTVDMS4yOTc0NCAwLjI2MjY5NSAwLjQxODUyNyAxLjEyNDg2IDAuNDE4NTI3IDIuODU3NTZWNC45MDgzNEMwLjQxODUyNyA1LjM0MzYxIDAuNjYxMjcyIDUuNTk0NzMgMS4wODgxNyA1LjU5NDczQzEuNTE1MDYgNS41OTQ3MyAxLjc2NjE5IDUuMzQzNjEgMS43NjYxOSA0LjkwODM0VjIuOTI0NTNDMS43NjYxOSAyLjA1Mzk5IDIuMjI2NTYgMS42MTAzNSAzLjA2MzYxIDEuNjEwMzVIMTcuNTExMUMxOC4zMzE1IDEuNjEwMzUgMTguODA4NiAyLjA1Mzk5IDE4LjgwODYgMi45MjQ1M1Y0LjkwODM0QzE4LjgwODYgNS4zNDM2MSAxOS4wNTE0IDUuNTk0NzMgMTkuNDc4MiA1LjU5NDczQzE5LjkyMTkgNS41OTQ3MyAyMC4xNTYzIDUuMzQzNjEgMjAuMTU2MyA0LjkwODM0VjIuODU3NTZDMjAuMTU2MyAxLjEzMzIzIDE5LjI4NTcgMC4yNjI2OTUgMTcuNTI3OSAwLjI2MjY5NUgzLjAzODUxWk0xLjA4ODE3IDguODQyNTNDMS42OTA4NSA4Ljg0MjUzIDIuMTc2MzQgOC4zNDg2NyAyLjE3NjM0IDcuNzQ1OTVDMi4xNzYzNCA3LjE1MTY1IDEuNjkwODUgNi42NjYxNSAxLjA4ODE3IDYuNjY2MTVDMC40OTM4NjEgNi42NjYxNSAwIDcuMTUxNjUgMCA3Ljc0NTk1QzAgOC4zNDg2NyAwLjQ5Mzg2MSA4Ljg0MjUzIDEuMDg4MTcgOC44NDI1M1pNMTkuNDc4MiA4Ljg0MjUzQzIwLjA3MjYgOC44NDI1MyAyMC41NjY0IDguMzQ4NjcgMjAuNTY2NCA3Ljc0NTk1QzIwLjU2NjQgNy4xNTE2NSAyMC4wNzI2IDYuNjY2MTUgMTkuNDc4MiA2LjY2NjE1QzE4Ljg3NTYgNi42NjYxNSAxOC4zOTAxIDcuMTQzMjggMTguMzkwMSA3Ljc0NTk1QzE4LjM5MDEgOC4zNDg2NyAxOC44NzU2IDguODQyNTMgMTkuNDc4MiA4Ljg0MjUzWk03LjU0MTg2IDExLjg5NzdDNy44NDMyMSAxMS44OTc3IDguMDUyNDMgMTEuNzU1NSA4LjE3OCAxMS4zNjJMOC43ODkwNyA5LjU3OTFIMTEuNzg1N0wxMi4zOTY4IDExLjM2MkMxMi41MjIzIDExLjc0NzEgMTIuNzM5OSAxMS44OTc3IDEzLjA0MTMgMTEuODk3N0MxMy40MDk2IDExLjg5NzcgMTMuNjYwNyAxMS42NTUgMTMuNjYwNyAxMS4zMjAyQzEzLjY2MDcgMTEuMTg2MiAxMy42MzU2IDExLjA2OSAxMy41Njg2IDEwLjg4NDlMMTEuMjI0OSA0LjU2NTE1QzExLjA1NzUgNC4xMjk4OCAxMC43Mzk0IDMuOTAzODggMTAuMjc5IDMuOTAzODhDOS44MjcgMy45MDM4OCA5LjUxNzI5IDQuMTI5ODggOS4zNTgyOSA0LjU2NTE1TDcuMDA2MTQgMTAuODg0OUM2Ljk0NzU0IDExLjA2OSA2LjkxNDA2IDExLjE4NjIgNi45MTQwNiAxMS4zMTE4QzYuOTE0MDYgMTEuNjYzNCA3LjE2NTE0IDExLjg5NzcgNy41NDE4NiAxMS44OTc3Wk05LjEzMjI5IDguNTc0NjdMMTAuMjQ1NiA1LjMzNTI0SDEwLjMzNzZMMTEuNDUwOSA4LjU3NDY3SDkuMTMyMjlaIiBmaWxsPSIjQkJDMEM1Ii8+Cjwvc3ZnPgo="},ui:{alt:"UI",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjUiIHZpZXdCb3g9IjAgMCAyNCAyNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZyBvcGFjaXR5PSIwLjUiPgogICAgPHJlY3QgeT0iMC4xMDMwMjciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgcng9IjEyIiBmaWxsPSIjMDM3REQ2IiBmaWxsLW9wYWNpdHk9IjAuMSIvPgogICAgPHBhdGggZD0iTTYuNzY3NDQgMTAuNTUwN0M2Ljc2NTY5IDEwLjU1MDcgNi43NjEzMSAxMC41NTAxIDYuNzU1OTQgMTAuNTQ0OEM2Ljc1MDU3IDEwLjUzOTQgNi43NSAxMC41MzUgNi43NSAxMC41MzMzVjkuMjI1MTJDNi43NSA3LjkxNTI1IDcuODE2NTMgNi44NTMwMyA5LjEyMjA5IDYuODUzMDNIMTAuNDMwMkMxMC40MzIgNi44NTMwMyAxMC40MzY0IDYuODUzNTkgMTAuNDQxNyA2Ljg1ODk2QzEwLjQ0NzEgNi44NjQzMyAxMC40NDc3IDYuODY4NzIgMTAuNDQ3NyA2Ljg3MDQ3QzEwLjQ0NzcgNi44NzIyMiAxMC40NDcxIDYuODc2NjEgMTAuNDQxNyA2Ljg4MTk4QzEwLjQzNjQgNi44ODczNSAxMC40MzIgNi44ODc5MSAxMC40MzAyIDYuODg3OTFIOS4xMjIwOUM3LjgzMTg1IDYuODg3OTEgNi43ODQ4OCA3LjkzNDg3IDYuNzg0ODggOS4yMjUxMlYxMC41MzMzQzYuNzg0ODggMTAuNTM1IDYuNzg0MzIgMTAuNTM5NCA2Ljc3ODk1IDEwLjU0NDhDNi43NzM1OCAxMC41NTAxIDYuNzY5MTkgMTAuNTUwNyA2Ljc2NzQ0IDEwLjU1MDdaTTE3LjIzMjYgMTAuNTUwN0MxNy4yMzA4IDEwLjU1MDcgMTcuMjI2NCAxMC41NTAxIDE3LjIyMTEgMTAuNTQ0OEMxNy4yMTU3IDEwLjUzOTQgMTcuMjE1MSAxMC41MzUgMTcuMjE1MSAxMC41MzMzVjkuMjI1MTJDMTcuMjE1MSA3LjkzNDg3IDE2LjE2ODIgNi44ODc5MSAxNC44Nzc5IDYuODg3OTFIMTMuNTY5OEMxMy41NjggNi44ODc5MSAxMy41NjM2IDYuODg3MzUgMTMuNTU4MyA2Ljg4MTk4QzEzLjU1MjkgNi44NzY2MSAxMy41NTIzIDYuODcyMjIgMTMuNTUyMyA2Ljg3MDQ3QzEzLjU1MjMgNi44Njg3MiAxMy41NTI5IDYuODY0MzMgMTMuNTU4MyA2Ljg1ODk2QzEzLjU2MzYgNi44NTM1OSAxMy41NjggNi44NTMwMyAxMy41Njk4IDYuODUzMDNIMTQuODc3OUMxNi4xODM1IDYuODUzMDMgMTcuMjUgNy45MTUyNSAxNy4yNSA5LjIyNTEyVjEwLjUzMzNDMTcuMjUgMTAuNTM1IDE3LjI0OTQgMTAuNTM5NCAxNy4yNDQxIDEwLjU0NDhDMTcuMjM4NyAxMC41NTAxIDE3LjIzNDMgMTAuNTUwNyAxNy4yMzI2IDEwLjU1MDdaTTE0Ljg3NzkgMTcuMzUzSDE0LjA5M0MxNC4wOTEzIDE3LjM1MyAxNC4wODY5IDE3LjM1MjUgMTQuMDgxNSAxNy4zNDcxQzE0LjA3NjEgMTcuMzQxNyAxNC4wNzU2IDE3LjMzNzMgMTQuMDc1NiAxNy4zMzU2QzE0LjA3NTYgMTcuMzMzOCAxNC4wNzYxIDE3LjMyOTQgMTQuMDgxNSAxNy4zMjQxQzE0LjA4NjkgMTcuMzE4NyAxNC4wOTEzIDE3LjMxODEgMTQuMDkzIDE3LjMxODFIMTQuODc3OUMxNi4xNjgyIDE3LjMxODEgMTcuMjE1MSAxNi4yNzEyIDE3LjIxNTEgMTQuOTgwOVYxNC4xOTYxQzE3LjIxNTEgMTQuMTk0MyAxNy4yMTU3IDE0LjE4OTkgMTcuMjIxMSAxNC4xODQ1QzE3LjIyNjQgMTQuMTc5MiAxNy4yMzA4IDE0LjE3ODYgMTcuMjMyNiAxNC4xNzg2QzE3LjIzNDMgMTQuMTc4NiAxNy4yMzg3IDE0LjE3OTIgMTcuMjQ0MSAxNC4xODQ1QzE3LjI0OTQgMTQuMTg5OSAxNy4yNSAxNC4xOTQzIDE3LjI1IDE0LjE5NjFWMTQuOTgwOUMxNy4yNSAxNi4yOTA4IDE2LjE4MzUgMTcuMzUzIDE0Ljg3NzkgMTcuMzUzWk0xMC40MzAyIDE3LjM1M0g5LjEyMjA5QzcuODE2NTMgMTcuMzUzIDYuNzUgMTYuMjkwOCA2Ljc1IDE0Ljk4MDlWMTMuNjcyOEM2Ljc1IDEzLjY3MSA2Ljc1MDU3IDEzLjY2NjcgNi43NTU5NCAxMy42NjEzQzYuNzYxMzEgMTMuNjU1OSA2Ljc2NTY5IDEzLjY1NTQgNi43Njc0NCAxMy42NTU0QzYuNzY5MTkgMTMuNjU1NCA2Ljc3MzU4IDEzLjY1NTkgNi43Nzg5NSAxMy42NjEzQzYuNzg0MzIgMTMuNjY2NyA2Ljc4NDg4IDEzLjY3MSA2Ljc4NDg4IDEzLjY3MjhWMTQuOTgwOUM2Ljc4NDg4IDE2LjI3MTIgNy44MzE4NSAxNy4zMTgxIDkuMTIyMDkgMTcuMzE4MUgxMC40MzAyQzEwLjQzMiAxNy4zMTgxIDEwLjQzNjQgMTcuMzE4NyAxMC40NDE3IDE3LjMyNDFDMTAuNDQ3MSAxNy4zMjk0IDEwLjQ0NzcgMTcuMzMzOCAxMC40NDc3IDE3LjMzNTZDMTAuNDQ3NyAxNy4zMzczIDEwLjQ0NzEgMTcuMzQxNyAxMC40NDE3IDE3LjM0NzFDMTAuNDM2NCAxNy4zNTI1IDEwLjQzMiAxNy4zNTMgMTAuNDMwMiAxNy4zNTNaTTkuMzgzNzIgOC45NDYwNUgxMC40MzAyQzEwLjY2NTggOC45NDYwNSAxMC43ODUzIDkuMDA3MzggMTAuODQ3MiA5LjA2ODk3QzEwLjkwODcgOS4xMzAyOSAxMC45NzA5IDkuMjQ5MzMgMTAuOTcwOSA5LjQ4Njc1VjEwLjUzMzNDMTAuOTcwOSAxMC43NzA3IDEwLjkwODcgMTAuODg5NyAxMC44NDcyIDEwLjk1MUMxMC43ODUzIDExLjAxMjYgMTAuNjY1OCAxMS4wNzQgMTAuNDMwMiAxMS4wNzRIOS4zODM3MkM5LjE0ODEyIDExLjA3NCA5LjAyODY0IDExLjAxMjYgOC45NjY3OCAxMC45NTFDOC45MDUyMSAxMC44ODk3IDguODQzMDIgMTAuNzcwNyA4Ljg0MzAyIDEwLjUzMzNWOS40ODY3NUM4Ljg0MzAyIDkuMjQ5MzMgOC45MDUyMSA5LjEzMDI5IDguOTY2NzggOS4wNjg5N0M5LjAyODY0IDkuMDA3MzggOS4xNDgxMiA4Ljk0NjA1IDkuMzgzNzIgOC45NDYwNVpNMTMuNTY5OCA4Ljk0NjA1SDE0LjYxNjNDMTQuODUxOSA4Ljk0NjA1IDE0Ljk3MTQgOS4wMDczOCAxNS4wMzMyIDkuMDY4OTdDMTUuMDk0OCA5LjEzMDI5IDE1LjE1NyA5LjI0OTMzIDE1LjE1NyA5LjQ4Njc1VjEwLjUzMzNDMTUuMTU3IDEwLjc3MDcgMTUuMDk0OCAxMC44ODk3IDE1LjAzMzIgMTAuOTUxQzE0Ljk3MTQgMTEuMDEyNiAxNC44NTE5IDExLjA3NCAxNC42MTYzIDExLjA3NEgxMy41Njk4QzEzLjMzNDIgMTEuMDc0IDEzLjIxNDcgMTEuMDEyNiAxMy4xNTI4IDEwLjk1MUMxMy4wOTEzIDEwLjg4OTcgMTMuMDI5MSAxMC43NzA3IDEzLjAyOTEgMTAuNTMzM1Y5LjQ4Njc1QzEzLjAyOTEgOS4yNDkzMyAxMy4wOTEzIDkuMTMwMjkgMTMuMTUyOCA5LjA2ODk3QzEzLjIxNDcgOS4wMDczOCAxMy4zMzQyIDguOTQ2MDUgMTMuNTY5OCA4Ljk0NjA1Wk05LjM4MzcyIDEzLjEzMjFIMTAuNDMwMkMxMC42NjU4IDEzLjEzMjEgMTAuNzg1MyAxMy4xOTM0IDEwLjg0NzIgMTMuMjU1QzEwLjkwODcgMTMuMzE2MyAxMC45NzA5IDEzLjQzNTQgMTAuOTcwOSAxMy42NzI4VjE0LjcxOTNDMTAuOTcwOSAxNC45NTY3IDEwLjkwODcgMTUuMDc1OCAxMC44NDcyIDE1LjEzNzFDMTAuNzg1MyAxNS4xOTg3IDEwLjY2NTggMTUuMjYgMTAuNDMwMiAxNS4yNkg5LjM4MzcyQzkuMTQ4MTIgMTUuMjYgOS4wMjg2NCAxNS4xOTg3IDguOTY2NzggMTUuMTM3MUM4LjkwNTIxIDE1LjA3NTggOC44NDMwMiAxNC45NTY3IDguODQzMDIgMTQuNzE5M1YxMy42NzI4QzguODQzMDIgMTMuNDM1NCA4LjkwNTIxIDEzLjMxNjMgOC45NjY3OCAxMy4yNTVDOS4wMjg2NCAxMy4xOTM0IDkuMTQ4MTIgMTMuMTMyMSA5LjM4MzcyIDEzLjEzMjFaTTEzLjU2OTggMTMuMTMyMUgxNC42MTYzQzE0Ljg1MTkgMTMuMTMyMSAxNC45NzE0IDEzLjE5MzQgMTUuMDMzMiAxMy4yNTVDMTUuMDk0OCAxMy4zMTYzIDE1LjE1NyAxMy40MzU0IDE1LjE1NyAxMy42NzI4VjE0LjcxOTNDMTUuMTU3IDE0Ljk1NjcgMTUuMDk0OCAxNS4wNzU4IDE1LjAzMzIgMTUuMTM3MUMxNC45NzE0IDE1LjE5ODcgMTQuODUxOSAxNS4yNiAxNC42MTYzIDE1LjI2SDEzLjU2OThDMTMuMzM0MiAxNS4yNiAxMy4yMTQ3IDE1LjE5ODcgMTMuMTUyOCAxNS4xMzcxQzEzLjA5MTMgMTUuMDc1OCAxMy4wMjkxIDE0Ljk1NjcgMTMuMDI5MSAxNC43MTkzVjEzLjY3MjhDMTMuMDI5MSAxMy40MzU0IDEzLjA5MTMgMTMuMzE2MyAxMy4xNTI4IDEzLjI1NUMxMy4yMTQ3IDEzLjE5MzQgMTMuMzM0MiAxMy4xMzIxIDEzLjU2OTggMTMuMTMyMVoiIGZpbGw9IiMwMzc2QzkiIHN0cm9rZT0iIzAzN0RENiIgc3Ryb2tlLXdpZHRoPSIwLjc1Ii8+CiAgPC9nPgo8L3N2Zz4K"},image:{alt:"Image",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE4Ljg3NTYgMTIuNTE0NUwxMy45MDM0IDcuODQzNzFDMTMuNTI2OCA3LjUwODkyIDEzLjA5MTUgNy4zMjQ3OCAxMi42Mzk1IDcuMzI0NzhDMTIuMTc5MSA3LjMyNDc4IDExLjc2OSA3LjQ4Mzc4IDExLjM4MzkgNy44MjdMNy42MDA0MyAxMS4yMDg3TDYuMDUxOSA5LjgxMDg1QzUuNzAwMzQgOS40OTI3MSA1LjMxNTI5IDkuMzMzNzEgNC45MjE4NyA5LjMzMzcxQzQuNTQ1MiA5LjMzMzcxIDQuMTkzNjQgOS40ODQzNSAzLjg0MjA4IDkuODAyNDJMMC42NTI5MDEgMTIuNjgxOUMwLjcwMzEyNSAxNC4xOTcgMS4zMjI1NCAxNC45NjcxIDIuNTY5NzYgMTQuOTY3MUgxNi41OTg4QzE4LjExMzkgMTQuOTY3MSAxOC44NzU2IDE0LjEyMTYgMTguODc1NiAxMi41MTQ1Wk02LjIzNjA1IDcuOTI3NDJDNy4zMTU4NiA3LjkyNzQyIDguMjAzMTQgNy4wNDAxNyA4LjIwMzE0IDUuOTUyQzguMjAzMTQgNC44NzIyIDcuMzE1ODYgMy45NzY1NiA2LjIzNjA1IDMuOTc2NTZDNS4xNDc4OCAzLjk3NjU2IDQuMjYwNiA0Ljg3MjIgNC4yNjA2IDUuOTUyQzQuMjYwNiA3LjA0MDE3IDUuMTQ3ODggNy45Mjc0MiA2LjIzNjA1IDcuOTI3NDJaTTIuNjI4MzUgMTUuNTUzSDE3LjEwOTRDMTguODY3MiAxNS41NTMgMTkuNzM3NyAxNC42OTA5IDE5LjczNzcgMTIuOTY2NVYyLjczNzcyQzE5LjczNzcgMS4wMTMzOSAxOC44NjcyIDAuMTQyODUzIDE3LjEwOTQgMC4xNDI4NTNIMi42MjgzNUMwLjg3ODkwNyAwLjE0Mjg1MyAwIDEuMDEzMzkgMCAyLjczNzcyVjEyLjk2NjVDMCAxNC42OTA5IDAuODc4OTA3IDE1LjU1MyAyLjYyODM1IDE1LjU1M1pNMi42NDUwOSAxNC4yMDU0QzEuODA4MDQgMTQuMjA1NCAxLjM0NzY2IDEzLjc2MTcgMS4zNDc2NiAxMi44OTEyVjIuODEzMDVDMS4zNDc2NiAxLjk0MjUyIDEuODA4MDQgMS40OTA1MSAyLjY0NTA5IDEuNDkwNTFIMTcuMDkyNkMxNy45MjEzIDEuNDkwNTEgMTguMzkwMSAxLjk0MjUyIDE4LjM5MDEgMi44MTMwNVYxMi44OTEyQzE4LjM5MDEgMTMuNzYxNyAxNy45MjEzIDE0LjIwNTQgMTcuMDkyNiAxNC4yMDU0SDIuNjQ1MDlaIiBmaWxsPSIjQkJDMEM1Ii8+Cjwvc3ZnPgo="}},eo=(0,B.forwardRef)(function(e,t){var n=e.icon,r=e.alt,i=void 0===r?ei[n].alt:r,o=e.width,a=void 0===o?"32px":o,s=e.height,u=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["icon","alt","width","height"]),l=(0,er.useColorMode)().colorMode,c=ei[n],_=c.src,p=(0,z.hasProperty)(c,"srcDark")?c.srcDark:c.src;return(0,L.jsx)(er.Image,function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);nn=>e(t(n)),n=Array.from(e).reverse().reduce((e,n)=>e?t(e,n.encode):n.encode,void 0),r=e.reduce((e,n)=>e?t(e,n.decode):n.decode,void 0);return{encode:n,decode:r}}function eD(e){return{encode:t=>{if(!Array.isArray(t)||t.length&&"number"!=typeof t[0])throw Error("alphabet.encode input should be an array of numbers");return t.map(t=>{if(t<0||t>=e.length)throw Error(`Digit index outside alphabet: ${t} (alphabet: ${e.length})`);return e[t]})},decode:t=>{if(!Array.isArray(t)||t.length&&"string"!=typeof t[0])throw Error("alphabet.decode input should be array of strings");return t.map(t=>{if("string"!=typeof t)throw Error(`alphabet.decode: not string element=${t}`);let n=e.indexOf(t);if(-1===n)throw Error(`Unknown letter: "${t}". Allowed: ${e}`);return n})}}}function eS(e=""){if("string"!=typeof e)throw Error("join separator should be string");return{encode:t=>{if(!Array.isArray(t)||t.length&&"string"!=typeof t[0])throw Error("join.encode input should be array of strings");for(let e of t)if("string"!=typeof e)throw Error(`join.encode: non-string input=${e}`);return t.join(e)},decode:t=>{if("string"!=typeof t)throw Error("join.decode input should be string");return t.split(e)}}}let eT=(e,t)=>t?eT(t,e%t):e,eE=(e,t)=>e+(t-eT(e,t));function ew(e,t,n,r){if(!Array.isArray(e))throw Error("convertRadix2: data should be array");if(t<=0||t>32)throw Error(`convertRadix2: wrong from=${t}`);if(n<=0||n>32)throw Error(`convertRadix2: wrong to=${n}`);if(eE(t,n)>32)throw Error(`convertRadix2: carry overflow from=${t} to=${n} carryBits=${eE(t,n)}`);let i=0,o=0,a=2**n-1,s=[];for(let r of e){if(r>=2**t)throw Error(`convertRadix2: invalid data word=${r} from=${t}`);if(i=i<32)throw Error(`convertRadix2: carry overflow pos=${o} from=${t}`);for(o+=t;o>=n;o-=n)s.push((i>>o-n&a)>>>0);i&=2**o-1}if(i=i<=t)throw Error("Excess padding");if(!r&&i)throw Error(`Non-zero padding: ${i}`);return r&&o>0&&s.push(i>>>0),s}let eA=ex(function(e,t=!1){if(e<=0||e>32)throw Error("radix2: bits should be in (0..32]");if(eE(8,e)>32||eE(e,8)>32)throw Error("radix2: carry overflow");return{encode:n=>{if(!(n instanceof Uint8Array))throw Error("radix2.encode input should be Uint8Array");return ew(Array.from(n),8,e,!t)},decode:n=>{if(!Array.isArray(n)||n.length&&"number"!=typeof n[0])throw Error("radix2.decode input should be array of strings");return Uint8Array.from(ew(n,e,8,t))}}}(6),eD("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),function(e,t="="){if("string"!=typeof t)throw Error("padding chr should be string");return{encode(n){if(!Array.isArray(n)||n.length&&"string"!=typeof n[0])throw Error("padding.encode input should be array of strings");for(let e of n)if("string"!=typeof e)throw Error(`padding.encode: non-string input=${e}`);for(;n.length*e%8;)n.push(t);return n},decode(n){if(!Array.isArray(n)||n.length&&"string"!=typeof n[0])throw Error("padding.encode input should be array of strings");for(let e of n)if("string"!=typeof e)throw Error(`padding.decode: non-string input=${e}`);let r=n.length;if(r*e%8)throw Error("Invalid padding: string should have whole number of bytes");for(;r>0&&n[r-1]===t;r--)if(!((r-1)*e%8))throw Error("Invalid padding: string has too much padding");return n.slice(0,r)}}}(6),eS(""));var eC=n(5695),eN=n.n(eC),eM=n(7715),ek=n(9189),eI=n.n(ek);function ej(e){if(!Number.isSafeInteger(e)||e<0)throw Error(`Wrong positive integer: ${e}`)}function eO(e,...t){if(!(e instanceof Uint8Array))throw Error("Expected Uint8Array");if(t.length>0&&!t.includes(e.length))throw Error(`Expected Uint8Array of length ${t}, not of length=${e.length}`)}function eP(e,t=!0){if(e.destroyed)throw Error("Hash instance has been destroyed");if(t&&e.finished)throw Error("Hash#digest() has already been called")}function eF(e,t){eO(e);let n=t.outputLen;if(e.lengthe instanceof Uint8Array,ez=e=>new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4)),eR=e=>new DataView(e.buffer,e.byteOffset,e.byteLength),eB=(e,t)=>e<<32-t|e>>>t,eU=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0];if(!eU)throw Error("Non little-endian hardware is not supported");function eJ(e){if("string"==typeof e&&(e=function(e){if("string"!=typeof e)throw Error(`utf8ToBytes expected string, got ${typeof e}`);return new Uint8Array(new TextEncoder().encode(e))}(e)),!eL(e))throw Error(`expected Uint8Array, got ${typeof e}`);return e}class e${clone(){return this._cloneInto()}}function eK(e){let t=t=>e().update(eJ(t)).digest(),n=e();return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=()=>e(),t}class eV extends e${constructor(e,t,n,r){super(),this.blockLen=e,this.outputLen=t,this.padOffset=n,this.isLE=r,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=eR(this.buffer)}update(e){eP(this);let{view:t,buffer:n,blockLen:r}=this;e=eJ(e);let i=e.length;for(let o=0;or-o&&(this.process(n,0),o=0);for(let e=o;e>i&o),s=Number(n&o),u=r?4:0,l=r?0:4;e.setUint32(t+u,a,r),e.setUint32(t+l,s,r)})(n,r-8,BigInt(8*this.length),i),this.process(n,0);let a=eR(e),s=this.outputLen;if(s%4)throw Error("_sha2: outputLen should be aligned to 32bit");let u=s/4,l=this.get();if(u>l.length)throw Error("_sha2: outputLen bigger than state");for(let e=0;ee&t^~e&n,eq=(e,t,n)=>e&t^e&n^t&n,eW=new Uint32Array([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]),eQ=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),eH=new Uint32Array(64);class eG extends eV{constructor(){super(64,32,8,!1),this.A=0|eQ[0],this.B=0|eQ[1],this.C=0|eQ[2],this.D=0|eQ[3],this.E=0|eQ[4],this.F=0|eQ[5],this.G=0|eQ[6],this.H=0|eQ[7]}get(){let{A:e,B:t,C:n,D:r,E:i,F:o,G:a,H:s}=this;return[e,t,n,r,i,o,a,s]}set(e,t,n,r,i,o,a,s){this.A=0|e,this.B=0|t,this.C=0|n,this.D=0|r,this.E=0|i,this.F=0|o,this.G=0|a,this.H=0|s}process(e,t){for(let n=0;n<16;n++,t+=4)eH[n]=e.getUint32(t,!1);for(let e=16;e<64;e++){let t=eH[e-15],n=eH[e-2],r=eB(t,7)^eB(t,18)^t>>>3,i=eB(n,17)^eB(n,19)^n>>>10;eH[e]=i+eH[e-7]+r+eH[e-16]|0}let{A:n,B:r,C:i,D:o,E:a,F:s,G:u,H:l}=this;for(let e=0;e<64;e++){let t=eB(a,6)^eB(a,11)^eB(a,25),c=l+t+eY(a,s,u)+eW[e]+eH[e]|0,_=eB(n,2)^eB(n,13)^eB(n,22),p=_+eq(n,r,i)|0;l=u,u=s,s=a,a=o+c|0,o=i,i=r,r=n,n=c+p|0}n=n+this.A|0,r=r+this.B|0,i=i+this.C|0,o=o+this.D|0,a=a+this.E|0,s=s+this.F|0,u=u+this.G|0,l=l+this.H|0,this.set(n,r,i,o,a,s,u,l)}roundClean(){eH.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}let eZ=eK(()=>new eG);var eX=n(7152),e0=n.n(eX)()({proto:!1,circles:!1});function e1(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&void 0!==arguments[0]?arguments[0]:{};return(0,eM.refine)((0,eM.union)([(0,eM.string)(),(0,eM.instance)(URL)]),"uri",function(t){try{var n=new URL(t),r=(0,eM.type)(e);return(0,eM.assert)(n,r),!0}catch(e){return'Expected URL, got "'.concat(t.toString(),'".')}})};function ti(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}RegExp("^(?:[A-Za-z0-9-_]+( [A-Za-z0-9-_]+)*)|(?:(?:@[A-Za-z0-9-*~][A-Za-z0-9-*._~]*\\/)?[A-Za-z0-9-~][A-Za-z0-9-._~]*)$","u"),function(e){e.Installing="installing",e.Updating="updating",e.Running="running",e.Stopped="stopped",e.Crashed="crashed"}(u||(u={})),function(e){e.Start="START",e.Stop="STOP",e.Crash="CRASH",e.Update="UPDATE"}(l||(l={})),td(Error);function ty(){var e;return(e=function(e){var t,n,r,i,o,a,s;return tm(this,function(u){switch(u.label){case 0:var l;return t=e.manifest,n=e.sourceCode,r=e.svgIcon,i=e.auxiliaryFiles,o=e.localizationFiles,a=[(l=t.clone(),delete l.result.source.shasum,l.value=eN()(l.result),l),n,r].concat(t_(i),t_(o)).filter(function(e){return void 0!==e}),s=eA.encode,[4,function(e){return tt.apply(this,arguments)}(a)];case 1:return[2,s.apply(eA,[u.sent()])]}})},ty=function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){ta(o,r,i,a,s,"next",e)}function s(e){ta(o,r,i,a,s,"throw",e)}a(void 0)})}).apply(this,arguments)}var tg=(0,eM.pattern)((0,eM.string)(),RegExp("^[\\x21-\\x7E]*$","u")),tb=tr({protocol:(0,eM.enums)(["http:","https:"]),hostname:(0,eM.enums)(["localhost","127.0.0.1","[::1]"]),hash:(0,eM.empty)((0,eM.string)()),search:(0,eM.empty)((0,eM.string)())}),tv=(0,eM.refine)(tg,"local Snap Id",function(e){if(!e.startsWith(o.local))return'Expected local snap ID, got "'.concat(e,'".');var t=tc((0,eM.validate)(e.slice(o.local.length),tb),1)[0];return null==t||t}),tx=(0,eM.intersection)([tg,tr({protocol:(0,eM.literal)(o.npm),pathname:(0,eM.refine)((0,eM.string)(),"package name",function(e){var t,n,r,i,o;return tm(this,function(a){switch(a.label){case 0:if(t=e.startsWith("/")?e.slice(1):e,r=(n=eI()(t)).errors,i=n.validForNewPackages,o=n.warnings,i)return[3,4];if(void 0!==r)return[3,2];return(0,z.assert)(void 0!==o),[5,th(o)];case 1:return a.sent(),[3,4];case 2:return[5,th(r)];case 3:a.sent(),a.label=4;case 4:return[2,!0]}})}),search:(0,eM.empty)((0,eM.string)()),hash:(0,eM.empty)((0,eM.string)())})]),tD=(0,eM.intersection)([tg,tr({protocol:(0,eM.enums)(["http:","https:"]),search:(0,eM.empty)((0,eM.string)()),hash:(0,eM.empty)((0,eM.string)())})]),tS=(0,eM.union)([tx,tv]);function tT(e){var t=Object.values(o).find(function(t){return e.startsWith(t)});if(void 0!==t)return t;throw Error('Invalid or no prefix found for "'.concat(e,'"'))}function tE(e){return e.replace(tT(e),"")}function tw(e){return(0,z.getSafeJson)(JSON.parse(e))}var tA=n(8921);function tC(e,t){return e.length===t.length&&e.every(function(e,n){return e===t[n]})}var tN=n(3601),tM=(0,eM.object)({jsonrpc:(0,eM.optional)(z.JsonRpcVersionStruct),id:(0,eM.optional)(z.JsonRpcIdStruct),method:(0,eM.string)(),params:(0,eM.optional)(z.JsonRpcParamsStruct)}),tk=(0,eM.refine)((0,eM.coerce)((0,eM.string)(),(0,eM.object)({minute:(0,eM.optional)((0,eM.string)()),hour:(0,eM.optional)((0,eM.string)()),dayOfMonth:(0,eM.optional)((0,eM.string)()),month:(0,eM.optional)((0,eM.string)()),dayOfWeek:(0,eM.optional)((0,eM.string)())}),function(e){return"".concat(null!==(c=e.minute)&&void 0!==c?c:"*"," ").concat(null!==(_=e.hour)&&void 0!==_?_:"*"," ").concat(null!==(p=e.dayOfMonth)&&void 0!==p?p:"*"," ").concat(null!==(d=e.month)&&void 0!==d?d:"*"," ").concat(null!==(f=e.dayOfWeek)&&void 0!==f?f:"*")}),"CronExpression",function(e){try{return(0,tN.parseExpression)(e),!0}catch(e){return!1}}),tI=(0,eM.object)({expression:tk,request:tM}),tj=(0,eM.array)(tI),tO="1399742832'",tP="572232532'",tF=n(6065),tL=(0,eM.refine)((0,eM.object)({dapps:(0,eM.optional)((0,eM.boolean)()),snaps:(0,eM.optional)((0,eM.boolean)()),allowedOrigins:(0,eM.optional)((0,eM.array)((0,eM.string)()))}),"RPC origins",function(e){return!0===e.snaps||!0===e.dapps||!!e.allowedOrigins&&e.allowedOrigins.length>0||"Must specify at least one JSON-RPC origin."}),tz=(0,eM.object)({allowedOrigins:(0,eM.optional)((0,eM.array)((0,eM.string)()))}),tR=RegExp("^(?[-a-z0-9]{3,8}):(?[-a-zA-Z0-9]{1,32})$","u"),tB=RegExp("^(?(?[-a-z0-9]{3,8}):(?[-a-zA-Z0-9]{1,32})):(?[a-zA-Z0-9]{1,64})$","u"),tU=RegExp("^(?[a-zA-Z0-9]{1,64})$","u"),tJ=(0,eM.size)((0,eM.string)(),1,40),t$=(0,eM.define)("Chain ID",(0,eM.string)().validator),tK=(0,eM.pattern)(t$,tR),tV=(0,eM.pattern)((0,eM.string)(),tB);(0,eM.array)(tV),(0,eM.pattern)((0,eM.string)(),tU);var tY=(0,eM.object)({id:tK,name:tJ}),tq=((0,eM.object)({chains:(0,eM.array)(tY),methods:(0,eM.optional)((0,eM.array)(tJ)),events:(0,eM.optional)((0,eM.array)(tJ))}),(0,eM.pattern)((0,eM.string)(),RegExp("^[-a-z0-9]{3,8}$","u")),[tO,tP]),tW=[60],tQ=tW.map(function(e){return["m","44'","".concat(e,"'")]}),tH=(0,eM.refine)((0,eM.array)((0,eM.string)()),"BIP-32 path",function(e){return 0===e.length?"Path must be a non-empty BIP-32 derivation path array":"m"!==e[0]?'Path must start with "m".':e.length<3?"Paths must have a length of at least three.":e.slice(1).some(function(e){return!(0,tA.isValidBIP32PathSegment)(e)})?"Path must be a valid BIP-32 derivation path array.":tq.includes(e[1])?'The purpose "'.concat(e[1],'" is not allowed for entropy derivation.'):!tQ.some(function(t){return tC(e.slice(0,t.length),t)})||'The path "'.concat(e.join("/"),'" is not allowed for entropy derivation.')}),tG=function(e){return(0,eM.refine)(e,"BIP-32 entropy",function(e){return!("ed25519"===e.curve&&e.path.slice(1).some(function(e){return!e.endsWith("'")}))||"Ed25519 does not support unhardened paths."})},tZ=tG((0,eM.type)({path:tH,curve:(0,eM.enums)(["ed25519","secp256k1"])})),tX=(0,eM.size)((0,eM.array)(tZ),1,1/0),t0=(0,eM.refine)((0,eM.string)(),"SemVer range",function(e){return!!(0,z.isValidSemVerRange)(e)||"Expected a valid SemVer range."}),t1=(0,eM.refine)((0,eM.record)(tS,(0,eM.object)({version:(0,eM.optional)(t0)})),"SnapIds",function(e){return 0!==Object.keys(e).length}),t2=(0,eM.array)(tK),t3=(0,eM.type)({"endowment:network-access":(0,eM.optional)((0,eM.object)({})),"endowment:webassembly":(0,eM.optional)((0,eM.object)({})),"endowment:transaction-insight":(0,eM.optional)((0,eM.object)({allowTransactionOrigin:(0,eM.optional)((0,eM.boolean)())})),"endowment:cronjob":(0,eM.optional)((0,eM.object)({jobs:tj})),"endowment:rpc":(0,eM.optional)(tL),"endowment:name-lookup":(0,eM.optional)(t2),"endowment:keyring":(0,eM.optional)(tz),snap_dialog:(0,eM.optional)((0,eM.object)({})),snap_confirm:(0,eM.optional)((0,eM.object)({})),snap_manageState:(0,eM.optional)((0,eM.object)({})),snap_manageAccounts:(0,eM.optional)((0,eM.object)({})),snap_notify:(0,eM.optional)((0,eM.object)({})),snap_getBip32Entropy:(0,eM.optional)(tX),snap_getBip32PublicKey:(0,eM.optional)(tX),snap_getBip44Entropy:(0,eM.optional)((0,eM.size)((0,eM.array)((0,eM.object)({coinType:(0,eM.size)((0,eM.integer)(),0,4294967295)})),1,1/0)),snap_getEntropy:(0,eM.optional)((0,eM.object)({})),wallet_snap:(0,eM.optional)(t1)}),t4=(0,eM.array)((0,eM.string)()),t6=(0,eM.object)({version:z.VersionStruct,description:(0,eM.size)((0,eM.string)(),1,280),proposedName:(0,eM.size)((0,eM.string)(),1,214),repository:(0,eM.optional)((0,eM.object)({type:(0,eM.size)((0,eM.string)(),1,1/0),url:(0,eM.size)((0,eM.string)(),1,1/0)})),source:(0,eM.object)({shasum:z.ChecksumStruct,location:(0,eM.object)({npm:(0,eM.object)({filePath:(0,eM.size)((0,eM.string)(),1,1/0),iconPath:(0,eM.optional)((0,eM.size)((0,eM.string)(),1,1/0)),packageName:tn,registry:(0,eM.union)([(0,eM.literal)("https://registry.npmjs.org"),(0,eM.literal)("https://registry.npmjs.org/")])})}),files:(0,eM.optional)(t4),locales:(0,eM.optional)(t4)}),initialPermissions:t3,manifestVersion:(0,eM.literal)("0.1"),$schema:(0,eM.optional)((0,eM.string)())});function t5(e){return(0,eM.create)(e,t6)}function t8(e){return((0,z.assert)(!e.startsWith("/")),(0,z.assert)(-1===e.search(RegExp(":|\\/\\/","u")),'Path "'.concat(e,'" potentially an URI instead of local relative')),e.startsWith("./"))?e.slice(2):e}var t7=n(4325),t9=n(101),ne=n.n(t9),nt=n(6692),nn=n(7525),nr=n(8146),ni=n(2623);function no(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]1&&void 0!==arguments[1]?arguments[1]:{};(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,n),function(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}(this,nd),nd.add(this),nl(this,"meta",void 0),nl(this,"validatedManifest",void 0),nl(this,"files",void 0);var l=null!==(r=u.allowCustomRegistries)&&void 0!==r&&r,c=null!==(i=u.fetch)&&void 0!==i?i:globalThis.fetch.bind(globalThis),_=null!==(o=u.versionRange)&&void 0!==o?o:"*",p=(t=ns(function(e){return n_(this,function(t){return[2,e]})}),function(e){return t.apply(this,arguments)}),d=null!==(a=u.resolveVersion)&&void 0!==a?a:p;(0,z.assertStruct)(e.toString(),tx,"Invalid Snap Id: "),""===e.host&&""===e.port&&""===e.username&&""===e.password?s=np:(s="https://",e.username&&(s+=e.username,e.password&&(s+=":".concat(e.password)),s+="@"),s+=e.host,s=new URL(s),(0,z.assert)(l,TypeError('Custom NPM registries are disabled, tried to use "'.concat(s.toString(),'".')))),(0,z.assert)("/"===s.pathname&&""===s.search&&""===s.hash),(0,z.assert)(""!==e.pathname&&"/"!==e.pathname,TypeError("The package name in NPM location is empty."));var f=e.pathname;f.startsWith("/")&&(f=f.slice(1)),this.meta={requestedRange:_,registry:s,packageName:f,fetch:c,resolveVersion:d}}return e=[{key:"manifest",value:function(){var e=this;return ns(function(){var t,n;return n_(this,function(r){switch(r.label){case 0:if(e.validatedManifest)return[2,e.validatedManifest.clone()];return[4,e.fetch("snap.manifest.json")];case 1:return n=tw((t=r.sent()).toString()),t.result=t5(n),e.validatedManifest=t,[2,e.manifest()]}})})()}},{key:"fetch",value:function(e){var t=this;return ns(function(){var n,r;return n_(this,function(i){switch(i.label){case 0:if(n=t8(e),t.files)return[3,2];return[4,(function(e,t,n){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return n})(t,nd,nm).call(t)];case 1:i.sent(),(0,z.assert)(void 0!==t.files),i.label=2;case 2:return r=t.files.get(n),(0,z.assert)(void 0!==r,TypeError('File "'.concat(e,'" not found in package.'))),[2,r.clone()]}})})()}},{key:"packageName",get:function(){return this.meta.packageName}},{key:"version",get:function(){return(0,z.assert)(void 0!==this.meta.version,"Tried to access version without first fetching NPM package."),this.meta.version}},{key:"registry",get:function(){return this.meta.registry}},{key:"versionRange",get:function(){return this.meta.requestedRange}}],nu(n.prototype,e),t&&nu(n,t),n}();function nm(){return nh.apply(this,arguments)}function nh(){return(nh=ns(function(){var e,t,n,r,i,o;return n_(this,function(a){switch(a.label){case 0:return e=this,(0,z.assert)(void 0===this.files),[4,this.meta.resolveVersion(this.meta.requestedRange)];case 1:return t=a.sent(),[4,function(e,t,n,r){return nx.apply(this,arguments)}(this.meta.packageName,t,this.meta.registry,this.meta.fetch)];case 2:return r=(n=nc.apply(void 0,[a.sent(),2]))[0],i=n[1],this.meta.version=i,o="npm://",""!==this.meta.registry.username&&(o+=this.meta.registry.username,""!==this.meta.registry.password&&(o+=":".concat(this.meta.registry.password)),o+="@"),o+=this.meta.registry.host,[4,new Promise(function(t,n){e.files=new Map;var i,a,s,u,l=(i="".concat(o,"/").concat(e.meta.packageName,"/"),a=e.files,(0,z.assert)(i.endsWith("/"),"Base needs to end with '/' for relative paths to be added as children instead of siblings."),(0,z.assert)(i.startsWith("npm:"),'Protocol mismatch, expected "npm:".'),s=(0,ni.extract)(),u=0,s.on("entry",function(e,t,n){var r=e.name;if("file"===e.type){var o=r.replace(nD,"");return t.pipe(ne()({encoding:"uint8array"},function(e){try{u+=e.byteLength,(0,z.assert)(u<262144e3,"Snap tarball exceeds limit of ".concat(262144e3," bytes."));var t=new e4({value:e,path:o,data:{canonicalPath:new URL(o,i).toString()}});return(0,z.assert)(!a.has(o),"Malformed tarball, multiple files with the same path."),a.set(o,t),n()}catch(e){return s.destroy(e)}}))}return t.on("end",function(){return n()}),t.resume()}),s);if("DecompressionStream"in globalThis){var c=new DecompressionStream("gzip"),_=r.pipeThrough(c);(0,nn.pipeline)(nS(_),l,function(e){e?n(e):t()});return}(0,nn.pipeline)(nS(r),(0,t7.createGunzip)(),l,function(e){e?n(e):t()})})];case 3:return a.sent(),[2]}})})).apply(this,arguments)}function ny(e,t,n){return ng.apply(this,arguments)}function ng(){return(ng=ns(function(e,t,n){var r,i;return n_(this,function(o){switch(o.label){case 0:return[4,n(new URL(e,t).toString(),{headers:{accept:nb(t)?"application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*":"application/json"}})];case 1:if(!(r=o.sent()).ok)throw Error("Failed to fetch NPM registry entry. Status code: ".concat(r.status,"."));return[4,r.json()];case 2:if(i=o.sent(),!(0,z.isObject)(i))throw Error('Failed to fetch package "'.concat(e,'" metadata from npm.'));return[2,i]}})})).apply(this,arguments)}function nb(e){return e.toString()===np.toString()}function nv(){return(nv=ns(function(e,t,n,r){var i,o,a,s,u,l,c,_;return n_(this,function(p){switch(p.label){case 0:if(nb(n)&&(0,z.isValidSemVerVersion)(t))return[2,{tarballURL:(0,nt.Z)(e,t),targetVersion:t}];return[4,ny(e,n,r)];case 1:var d,f;if(d=Object.keys(null!==(c=null===(i=l=p.sent())||void 0===i?void 0:i.versions)&&void 0!==c?c:{}).map(function(e){return(0,z.assertIsSemVerVersion)(e),e}),null===(_=(f=(0,ev.maxSatisfying)(d,t))?f:(0,ev.maxSatisfying)(d,t,{includePrerelease:!0})))throw Error('Failed to find a matching version in npm metadata for package "'.concat(e,'" and requested semver range "').concat(t,'".'));return[2,{tarballURL:null===(u=l)||void 0===u?void 0:null===(s=u.versions)||void 0===s?void 0:null===(a=s[_])||void 0===a?void 0:null===(o=a.dist)||void 0===o?void 0:o.tarball,targetVersion:_}]}})})).apply(this,arguments)}function nx(){return(nx=ns(function(e,t,n,r){var i,o,a,s,u,l,c,_;return n_(this,function(p){switch(p.label){case 0:return[4,function(e,t,n,r){return nv.apply(this,arguments)}(e,t,n,r)];case 1:if(o=(i=p.sent()).tarballURL,a=i.targetVersion,!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,eM.is)(e,tr(t))}(o)||!o.toString().endsWith(".tgz"))throw Error('Failed to find valid tarball URL in NPM metadata for package "'.concat(e,'".'));return s=new URL(n),(u=new URL(o)).hostname=s.hostname,u.protocol=s.protocol,[4,r(u.toString())];case 2:if(!(l=p.sent()).ok||!l.body)throw Error('Failed to fetch tarball for package "'.concat(e,'".'));return c=l.headers.get("content-length"),(0,z.assert)(c,"Snap tarball has invalid content-length"),_=parseInt(c,10),(0,z.assert)(_<=262144e3,"Snap tarball exceeds size limit"),[2,[l.body,a]]}})})).apply(this,arguments)}var nD=RegExp("^package\\/","u");function nS(e){return"function"!=typeof e.getReader?e:new nr.F(e)}function nT(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&(0,L.jsx)(er.InputRightAddon,{px:"0",bg:"chakra-body-bg",borderColor:"border.default",children:(0,L.jsx)(er.Select,{border:"none",onChange:function(e){x(e.currentTarget.value)},value:v,children:y.map(function(e){return(0,L.jsx)("option",{value:e,children:e},"version-".concat(e))})})})]}),(0,L.jsx)(er.FormLabel,{children:"Environment SRP"}),(0,L.jsx)(er.Textarea,{value:r,readOnly:!0,color:"text.muted",fontSize:"sm"}),(0,L.jsxs)(er.HStack,{alignItems:"center",justifyContent:"space-between",mb:"4",children:[(0,L.jsx)(er.FormLabel,{mb:"0",htmlFor:"ses-switch",children:"Secure EcmaScript (SES)"}),(0,L.jsx)(er.Switch,{id:"ses-switch",size:"lg",isChecked:i,readOnly:!0,colorScheme:"gray"})]}),(0,L.jsxs)(er.HStack,{alignItems:"center",justifyContent:"space-between",children:[(0,L.jsx)(er.FormLabel,{mb:"0",htmlFor:"darkmode-switch",children:"Dark Mode"}),(0,L.jsx)(er.Switch,{id:"darkmode-switch",size:"lg",isChecked:"dark"===u,onChange:function(){l()},colorScheme:"gray"})]})]})}),(0,L.jsx)(er.Divider,{my:"4"}),(0,L.jsx)(er.ModalFooter,{pb:"6",pt:"2",children:(0,L.jsx)(er.Button,{variant:"primary",fontFamily:"default",fontWeight:"semibold",fontSize:"sm",width:"100%",onClick:S,children:"Apply config"})})]})]})};function nC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["to","isExternal","children"]);return void 0!==n&&n?(0,L.jsx)(er.Link,ra(ro({isExternal:!0,href:t},i),{children:r})):(0,L.jsx)(er.Link,ra(ro({as:U.Link,to:t},i),{children:r}))},ru=function(e){var t=e.path,n=e.tag,r=e.isExternal,i=e.onClick,o=e.children,a=(0,U.useMatch)(t);return(0,L.jsx)(er.ListItem,{children:(0,L.jsx)(rs,{padding:"2",variant:a?"navigation-active":"navigation-default",to:t,display:"block",isExternal:void 0!==r&&r,onClick:i,"data-testid":"navigation-".concat(n),_hover:{textDecoration:"none",opacity:1,background:"background.hover"},children:(0,L.jsx)(er.Stack,{direction:"row",align:"center",children:o})})})};!function(e){e.Valid="valid",e.Invalid="invalid",e.Unknown="unknown"}(y||(y={}));var rl={valid:y.Unknown,results:[]},rc=(0,J.createSlice)({name:"manifest",initialState:rl,reducers:{setValid:function(e,t){e.valid=t.payload},setResults:function(e,t){e.results=t.payload}}}),r_=(0,J.createAction)("".concat(rc.name,"/validateManifest")),rp=rc.actions,rd=rp.setValid,rf=rp.setResults,rm=rc.reducer,rh=(0,J.createSelector)(function(e){return e.manifest},function(e){return e.valid}),ry=(0,J.createSelector)(function(e){return e.manifest},function(e){return e.results});function rg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rb=(rg(g={},y.Valid,"success.default"),rg(g,y.Invalid,"error.default"),g),rv=function(){var e=ea(rh);return e===y.Unknown?null:(0,L.jsx)(er.Box,{position:"absolute",bottom:"0",right:"0",width:"10px",height:"10px",background:rb[e],borderRadius:"5px"})},rx=function(e){var t=e.children,n=e.path,r=!!(0,U.useMatch)(n);return(0,L.jsx)(er.Tag,{borderRadius:"base",variant:"code",color:r?"#0376C9":"info.default",backgroundColor:r?"rgba(3, 118, 201, 0.1)":"info.muted",children:t})},rD=[{label:"JSON-RPC",tag:"onRpcRequest",description:"Send a JSON-RPC request to the snap",icon:"jsonRpc",path:"/handler/".concat(e.OnRpcRequest)},{label:"Cronjobs",tag:"onCronjob",description:"Schedule and run periodic actions",icon:"cronjob",path:"/handler/".concat(e.OnCronjob)},{label:"Transaction",tag:"onTransaction",description:"Send a transaction to the snap",icon:"insights",path:"/handler/".concat(e.OnTransaction)},{label:"UI Builder",tag:"ui",description:"Build a user interface for the snap",icon:"ui",path:"/builder"}],rS=function(){var e=ea(function(e){return e});return(0,L.jsx)(er.Container,{as:"nav",size:"fullWidth",display:"flex",flexDirection:"column",padding:"2",flex:"1",children:(0,L.jsxs)(er.Stack,{as:er.List,spacing:"2",flex:"1",children:[rD.map(function(t){var n=t.condition,r=t.icon,i=t.label,o=t.tag,a=t.description,s=t.path;return n&&!n(e)?null:(0,L.jsxs)(ru,{path:s,tag:o,children:[(0,L.jsx)(eo,{icon:r}),(0,L.jsxs)(er.Box,{children:[(0,L.jsxs)(er.Text,{children:[(0,L.jsx)(er.Box,{as:"span",fontWeight:"600",children:i})," ",(0,L.jsx)(rx,{path:s,children:o})]}),(0,L.jsx)(er.Text,{fontSize:"sm",marginTop:"1",children:a})]})]},s)}),(0,L.jsxs)(ru,{tag:"manifest",path:"/manifest",children:[(0,L.jsxs)(er.Box,{position:"relative",children:[(0,L.jsx)(eo,{icon:"manifest"}),(0,L.jsx)(rv,{})]}),(0,L.jsxs)(er.Box,{children:[(0,L.jsxs)(er.Text,{children:[(0,L.jsx)(er.Box,{as:"span",fontWeight:"600",children:"Manifest"})," ",(0,L.jsx)(rx,{path:"/manifest",children:"snap.manifest.json"})]}),(0,L.jsx)(er.Text,{fontSize:"sm",marginTop:"1",children:"Validate the snap manifest"})]})]},"manifest")]})})},rT=function(){var e=en();return(0,L.jsxs)(er.List,{borderTop:"1px solid",borderTopColor:"border.default",padding:"2",children:[(0,L.jsxs)(ru,{path:"https://github.com/MetaMask/snaps/tree/main/packages/snaps-simulator",isExternal:!0,tag:"github",children:[(0,L.jsx)(eo,{icon:"gitHub",width:"24px"}),(0,L.jsxs)(er.Box,{children:[(0,L.jsx)(er.Text,{children:(0,L.jsx)(er.Box,{as:"span",fontWeight:"600",children:"GitHub"})}),(0,L.jsx)(er.Text,{fontSize:"sm",marginTop:"1",children:"Report an issue or contribute to the project"})]})]}),(0,L.jsxs)(ru,{path:"#",onClick:function(){e(V())},tag:"configuration",children:[(0,L.jsx)(eo,{icon:"configuration",width:"24px"}),(0,L.jsxs)(er.Box,{children:[(0,L.jsx)(er.Text,{children:(0,L.jsx)(er.Box,{as:"span",fontWeight:"600",children:"Settings"})}),(0,L.jsx)(er.Text,{fontSize:"sm",marginTop:"1",children:"Configure the simulation environment"})]})]})]})},rE=function(){return(0,L.jsxs)(er.Flex,{width:"375px",borderRight:"muted",flexShrink:"0",flexDirection:"column",children:[(0,L.jsx)(rS,{}),(0,L.jsx)(rT,{})]})};!function(e){e.Copyable="copyable",e.Divider="divider",e.Heading="heading",e.Panel="panel",e.Spinner="spinner",e.Text="text",e.Image="image",e.Row="row",e.Address="address"}(b||(b={}));var rw=(0,eM.object)({type:(0,eM.string)()}),rA=(0,eM.assign)(rw,(0,eM.object)({value:(0,eM.unknown)()})),rC=n(7047),rN={$schema:"http://json-schema.org/draft-04/schema#",type:"object",properties:{jsonrpc:{const:"2.0"},id:{oneOf:[{type:"string"},{type:"number"},{type:"null"}]},method:{type:"string"},params:{type:["number","string","boolean","object","array","null"]}},required:["jsonrpc","id","method"],additionalProperties:!1},rM=JSON.stringify({jsonrpc:"2.0",id:1,method:"subtract",params:[42,23]},null,2);function rk(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["border"]),o=(0,er.useColorMode)().colorMode;return(0,L.jsx)(er.Box,{width:"100%",padding:"4",border:void 0===r?"1px solid":r,borderColor:"gray.muted",borderRadius:"md",flex:"1",children:(0,L.jsx)(rC.default,(t=rk({language:"json",editorWillMount:function(e){var t;e.editor.defineTheme("vs-dark-custom",{base:"vs-dark",inherit:!0,rules:[],colors:{"editor.background":"#24272A"}}),null===(t=e.languages.json)||void 0===t||t.jsonDefaults.setDiagnosticsOptions({validate:!0,schemas:[{uri:"http://json-schema.org/draft-04/schema#",fileMatch:["*"],schema:rN}]})},value:rM,theme:"light"===o?"vs-light":"vs-dark-custom"},i),n=n={options:rk({tabSize:2,scrollBeyondLastLine:!1,renderLineHighlight:"none",hideCursorInOverviewRuler:!0,scrollbar:{vertical:"visible",verticalScrollbarSize:5},minimap:{enabled:!1},lineNumbers:"off",automaticLayout:!0,glyphMargin:!1,folding:!1,lineDecorationsWidth:0,lineNumbersMinChars:0},i.options)},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))})};function rj(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rO(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:[];return function(){for(var r=arguments.length,i=Array(r),o=0;o=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["children","icon","iconLocation"]);return(0,L.jsxs)(er.Tag,(n=function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n\n\n\n\n\n\n'),droppable:!1}],r9=function(e){var t=e.nextId,n=e.incrementId;return(0,L.jsxs)(er.Box,{marginBottom:"4",children:[(0,L.jsx)(er.Text,{fontSize:"xs",fontWeight:"600",lineHeight:"133%",marginBottom:"1",children:"Components"}),(0,L.jsx)(er.Flex,{as:er.List,gap:"2",children:r7.map(function(e){return(0,L.jsx)(er.ListItem,{children:(0,L.jsx)(r8,{incrementId:n,icon:e.icon,node:{id:t,parent:0,droppable:e.droppable,text:e.text,data:e.data}})},"component-".concat(e.text))})})]})},ie=n(9598),it=function(e){var t,n=e.node,r=e.isDragging,i=e.children,o=e.onClose;return(0,z.assert)(null===(t=n.data)||void 0===t?void 0:t.type,"Node must have a type."),(0,L.jsxs)(er.Flex,{paddingY:"2",paddingLeft:"4",paddingRight:"2",background:"background.alternative",borderRadius:"lg",gap:"4",alignItems:"center",border:"1px solid",borderColor:"border.default",display:r?"none":"flex",marginX:"4",cursor:n.id>1?"move":"default",children:[(0,L.jsx)(eo,{icon:n.data.type,width:"16px"}),(0,L.jsx)(er.Text,{fontWeight:"500",fontSize:"sm",textTransform:"capitalize",color:"text.muted",display:"inline-block",minWidth:"65px",children:n.data.type}),i,n.id>=2&&(0,L.jsx)(eo,{icon:"cross",width:"11px",marginX:"0.5",marginLeft:"auto",cursor:"pointer",onClick:function(){null==o||o(n)}})]})},ir=n(8261),ii=n.n(ir),io=n(9691),ia=n.n(io);function is(e){var t=e0(e),n=!0,r=!1,i=void 0;try{for(var o,a,s=t[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)!function(){var e,n=a.value;(0,z.assert)(n.data,"Node model must have data.");var r=t.find(function(e){return e.id===n.parent});r&&((0,z.assert)((null===(e=r.data)||void 0===e?void 0:e.type)==="panel","Parent must be a panel."),r.data.children.push(n.data))}()}catch(e){r=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(r)throw i}}var u=t.find(function(e){return 0===e.parent});return(0,z.assert)((null==u?void 0:null===(o=u.data)||void 0===o?void 0:o.type)==="panel","Root must be a panel."),u.data}function iu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n ul":{display:"flex",flexDirection:"column",flex:1,marginY:"4","& > li":{display:"flex",flexDirection:"column",flex:1,marginTop:"0"}},ul:{listStyleType:"none"},li:{marginTop:"2"}},children:(0,L.jsx)(ie.Tree,{ref:r,tree:t,rootId:0,render:function(e,n){var r=n.depth,a=n.isDragging;return t.length<=1?(0,L.jsx)(ip,{}):(0,L.jsx)(i_,{node:e,depth:r,onChange:i,onClose:o,isDragging:a})},insertDroppableFirst:!1,canDrag:function(e){return!!e&&e.id>=2},canDrop:function(e,t){var n=t.dropTarget,r=t.dropTargetId;return!!r&&(null==n?void 0:n.droppable)&&r>0},onDrop:function(e){n(e)},initialOpen:!0,sort:!1,extraAcceptTypes:["template"],placeholderRender:function(){return(0,L.jsx)(er.Box,{width:"100%",height:"20px"})}})})},im=function(e){var t=e.snapName,n=ea(n3),r=n&&new Blob([n.value],{type:"image/svg+xml"}),i=r&&URL.createObjectURL(r);return(0,L.jsxs)(er.Box,{position:"relative",children:[(0,L.jsx)(er.Avatar,{src:i,name:t.slice(0,1).toUpperCase(),fontSize:"md",background:"background.alternative",color:"text.alternative",size:"sm",margin:"1"}),(0,L.jsx)(eo,{icon:"snap",width:"16px",height:"16px",position:"absolute",bottom:"0px",right:"0px"})]})},ih=function(e){var t=e.snapName,n=e.snapId;return(0,L.jsxs)(er.Flex,{gap:"2",marginX:"4",marginY:"4",border:"1px solid",borderColor:"border.default",borderRadius:"32px",padding:"1",alignItems:"center",children:[(0,L.jsx)(im,{snapName:t}),(0,L.jsxs)(er.Flex,{direction:"column",justify:"center",children:[(0,L.jsx)(er.Text,{fontSize:"sm",lineHeight:"157%",fontFamily:"custom",children:t}),(0,L.jsx)(er.Text,{fontSize:"xs",lineHeight:"167%",fontFamily:"custom",color:"text.alternative",children:n})]})]})},iy=function(e){var t=e.snapName,n=e.snapId,r=e.children,i=e.showAuthorship;return(0,L.jsxs)(er.Flex,{direction:"column",boxShadow:"lg",maxWidth:"360px",height:"600px",paddingY:"4",overflowY:"scroll",children:[(void 0===i||i)&&(0,L.jsx)(ih,{snapName:t,snapId:n}),r]})};!function(e){e.Content="content",e.Error="error",e.Insights="insights"}(x||(x={}));var ig=function(e,t){switch(e){case x.Insights:return"Insights from ".concat(t);case x.Error:return"Error from ".concat(t);default:return"Content from ".concat(t)}},ib=function(e){var t=e.type,n=e.snapName,r=e.children,i=t===x.Error;return(0,L.jsxs)(er.Box,{border:"1px solid",borderColor:"border.default",borderRadius:"md",backgroundColor:i?"error.muted":void 0,children:[(0,L.jsxs)(er.Flex,{direction:"row",alignItems:"center",padding:"1.5",borderBottom:"1px solid",borderColor:"border.default",children:[(0,L.jsx)(eo,{icon:i?"snapError":"snap",width:"16px",marginRight:"1"}),(0,L.jsx)(er.Text,{fontFamily:"custom",fontSize:"xs",color:i?"text.error":void 0,children:ig(t,n)})]}),(0,L.jsx)(er.Box,{padding:"3",children:r})]})};function iv(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["name","onClick"]);return(0,L.jsx)(r6,{cursor:"pointer",onClick:function(){n(r)},children:t})},om=function(e){var t=e.onClick;return(0,L.jsxs)(er.Box,{marginBottom:"4",children:[(0,L.jsx)(er.Text,{fontWeight:"500",fontSize:"xs",marginBottom:"1",children:"Transaction presets"}),(0,L.jsx)(er.Flex,{gap:"2",children:od.map(function(e,n){var r,i,o=e.name,a=e.transaction;return(0,B.createElement)(of,(r=function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var og={chainId:"eip155:1",origin:"metamask.io",from:"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",to:"0x9f2817015caF6607C1198fB943A8241652EE8906",value:"0.01",gas:"21000",nonce:"5",maxFeePerGas:"10",maxPriorityFeePerGas:"1",data:"0x"},ob=function(){var t,n,r,i,o,a,s,u,l,c,_,p=ea(ol).request,d=null!==(_=null==p?void 0:p.params)&&void 0!==_?_:{},f=d.chainId,m=d.transactionOrigin,h=d.transaction;og.chainId,og.origin;var y=oy(og,["chainId","origin"]),g=(0,iZ.useForm)({defaultValues:oh({chainId:null!=f?f:og.chainId,transactionOrigin:null!=m?m:og.origin},null!=h?h:y)}),b=g.handleSubmit,v=g.register,x=g.setValue,D=g.formState.errors,S=en();return(0,L.jsxs)(er.Flex,{as:"form",flexDirection:"column",flex:"1",onSubmit:b(function(t){var n=t.chainId,r=t.transactionOrigin,i=oy(t,["chainId","transactionOrigin"]);S(nH({origin:"",handler:e.OnTransaction,request:{jsonrpc:"2.0",method:"onTransaction",params:{chainId:n,transaction:op(i),transactionOrigin:r}}}))}),id:"request-form",children:[(0,L.jsx)(om,{onClick:function(e){x("chainId",e.chainId),x("transactionOrigin",e.transactionOrigin),x("from",e.from),x("to",e.to),x("value",e.value),x("data",e.data),x("gas",e.gas),x("maxFeePerGas",e.maxFeePerGas),x("maxPriorityFeePerGas",e.maxPriorityFeePerGas),x("nonce",e.nonce)}}),(0,L.jsxs)(er.Flex,{gap:"2",children:[(0,L.jsxs)(er.FormControl,{isInvalid:!!D.chainId,children:[(0,L.jsx)(er.FormLabel,{htmlFor:"chainId",children:"Chain ID"}),(0,L.jsx)(er.Input,oh({id:"chainId",placeholder:og.chainId,fontFamily:"code"},v("chainId"))),(0,L.jsx)(er.FormErrorMessage,{children:null===(t=D.chainId)||void 0===t?void 0:t.message})]}),(0,L.jsxs)(er.FormControl,{isInvalid:!!D.transactionOrigin,children:[(0,L.jsx)(er.FormLabel,{htmlFor:"origin",children:"Transaction Origin"}),(0,L.jsx)(er.Input,oh({id:"origin",placeholder:og.origin,fontFamily:"code"},v("transactionOrigin"))),(0,L.jsx)(er.FormErrorMessage,{children:null===(n=D.transactionOrigin)||void 0===n?void 0:n.message})]})]}),(0,L.jsxs)(er.FormControl,{isInvalid:!!D.from,children:[(0,L.jsx)(er.FormLabel,{htmlFor:"from",children:"From Address"}),(0,L.jsx)(er.Input,oh({id:"from",placeholder:og.from,fontFamily:"code"},v("from"))),(0,L.jsx)(er.FormErrorMessage,{children:null===(r=D.from)||void 0===r?void 0:r.message})]}),(0,L.jsxs)(er.FormControl,{isInvalid:!!D.to,children:[(0,L.jsx)(er.FormLabel,{htmlFor:"to",children:"To Address"}),(0,L.jsx)(er.Input,oh({id:"to",placeholder:og.to,fontFamily:"code"},v("to"))),(0,L.jsx)(er.FormErrorMessage,{children:null===(i=D.to)||void 0===i?void 0:i.message})]}),(0,L.jsxs)(er.FormControl,{isInvalid:!!D.value,children:[(0,L.jsx)(er.FormLabel,{htmlFor:"value",children:"Value"}),(0,L.jsxs)(er.InputGroup,{children:[(0,L.jsx)(er.Input,oh({id:"value",placeholder:og.value,fontFamily:"code"},v("value"))),(0,L.jsx)(er.InputRightAddon,{children:"ETH",fontSize:"sm"})]}),(0,L.jsx)(er.FormErrorMessage,{children:null===(o=D.value)||void 0===o?void 0:o.message})]}),(0,L.jsxs)(er.Flex,{gap:"2",children:[(0,L.jsxs)(er.FormControl,{isInvalid:!!D.gas,children:[(0,L.jsx)(er.FormLabel,{htmlFor:"gas",children:"Gas Limit"}),(0,L.jsx)(er.Input,oh({id:"gas",placeholder:og.gas,fontFamily:"code"},v("gas"))),(0,L.jsx)(er.FormErrorMessage,{children:null===(a=D.gas)||void 0===a?void 0:a.message})]}),(0,L.jsxs)(er.FormControl,{isInvalid:!!D.nonce,children:[(0,L.jsx)(er.FormLabel,{htmlFor:"nonce",children:"Nonce"}),(0,L.jsx)(er.Input,oh({id:"nonce",placeholder:og.nonce,fontFamily:"code"},v("nonce"))),(0,L.jsx)(er.FormErrorMessage,{children:null===(s=D.nonce)||void 0===s?void 0:s.message})]})]}),(0,L.jsxs)(er.Flex,{gap:"2",children:[(0,L.jsxs)(er.FormControl,{isInvalid:!!D.maxFeePerGas,children:[(0,L.jsx)(er.FormLabel,{htmlFor:"maxFeePerGas",children:"Max Fee Per Gas"}),(0,L.jsxs)(er.InputGroup,{children:[(0,L.jsx)(er.Input,oh({id:"maxFeePerGas",placeholder:og.maxFeePerGas,fontFamily:"code"},v("maxFeePerGas"))),(0,L.jsx)(er.InputRightAddon,{children:"GWEI",fontSize:"sm"})]}),(0,L.jsx)(er.FormErrorMessage,{children:null===(u=D.maxFeePerGas)||void 0===u?void 0:u.message})]}),(0,L.jsxs)(er.FormControl,{isInvalid:!!D.maxPriorityFeePerGas,children:[(0,L.jsx)(er.FormLabel,{htmlFor:"maxPriorityFeePerGas",children:"Max Priority Fee Per Gas"}),(0,L.jsxs)(er.InputGroup,{children:[(0,L.jsx)(er.Input,oh({id:"maxPriorityFeePerGas",placeholder:og.maxPriorityFeePerGas,fontFamily:"code"},v("maxPriorityFeePerGas"))),(0,L.jsx)(er.InputRightAddon,{children:"GWEI",fontSize:"sm"})]}),(0,L.jsx)(er.FormErrorMessage,{children:null===(l=D.maxPriorityFeePerGas)||void 0===l?void 0:l.message})]})]}),(0,L.jsxs)(er.FormControl,{isInvalid:!!D.data,children:[(0,L.jsx)(er.FormLabel,{htmlFor:"data",children:"Data"}),(0,L.jsx)(er.Textarea,oh({id:"data",placeholder:og.data,fontFamily:"code"},v("data"))),(0,L.jsx)(er.FormErrorMessage,{children:null===(c=D.data)||void 0===c?void 0:c.message})]})]})},ov=(0,U.createHashRouter)((0,U.createRoutesFromElements)((0,L.jsxs)(U.Route,{element:(0,L.jsx)(function(){return(0,L.jsxs)(er.Flex,{direction:"column",height:"100vh",children:[(0,L.jsx)(ri,{}),(0,L.jsxs)(er.Flex,{direction:"row",flex:"1",overflow:"hidden",children:[(0,L.jsx)(rE,{}),(0,L.jsxs)(er.Flex,{direction:"column",width:"full",children:[(0,L.jsx)(er.Flex,{flex:"1",overflow:"hidden",children:(0,L.jsx)(U.Outlet,{})}),(0,L.jsx)(eh,{})]})]})]})},{}),children:[(0,L.jsx)(U.Route,{path:"/",element:(0,L.jsx)(U.Navigate,{to:"/handler/".concat(e.OnRpcRequest),replace:!0})}),(0,L.jsx)(U.Route,{path:"/builder",element:(0,L.jsx)(function(){var e,t,n=iO((0,B.useState)(2),2),r=n[0],i=n[1],o=iO((0,B.useState)([{id:1,parent:0,text:"Panel",droppable:!0,data:{type:b.Panel,children:[]}}]),2),a=o[0],s=o[1];return(0,L.jsx)(er.Flex,{width:"100%",direction:"column",overflow:"hidden",children:(0,L.jsxs)(er.Flex,{direction:"row",flex:"1",overflow:"hidden",children:[(0,L.jsx)(er.Flex,{direction:"column",flex:"1",width:"50%",overflow:"hidden",children:(0,L.jsxs)(er.Tabs,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",children:[(0,L.jsx)(er.TabList,{children:(0,L.jsx)(er.Tab,{children:"Builder"})}),(0,L.jsx)(er.TabPanels,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",children:(0,L.jsxs)(er.TabPanel,{display:"flex",flexDirection:"column",flex:"1",overflowY:"auto",children:[(0,L.jsx)(r9,{nextId:r,incrementId:function(){i(function(e){return e+1})}}),(0,L.jsx)(id,{items:a,setItems:s})]})})]})}),(0,L.jsx)(er.Box,{display:"flex",flexDirection:"column",flex:"1",width:"50%",borderLeft:"1px solid",borderColor:"border.default",children:(0,L.jsxs)(er.Tabs,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",children:[(0,L.jsxs)(er.TabList,{children:[(0,L.jsx)(er.Tab,{children:"Result"}),(0,L.jsx)(er.Tab,{children:"Code"})]}),(0,L.jsxs)(er.TabPanels,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",children:[(0,L.jsx)(er.TabPanel,{display:"flex",flexDirection:"column",flex:"1",padding:"4",children:(0,L.jsx)(iI,{items:a})}),(0,L.jsx)(er.TabPanel,{display:"flex",flexDirection:"column",flex:"1",padding:"0",children:(0,L.jsx)(rI,{border:"none",value:(t=(function e(t){var n=new Set;n.add(t.type);var r=!0,i=!1,o=void 0;try{for(var a,s=t.children[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var u=a.value;if(n.add(u.type),"panel"===u.type){var l=e(u),c=!0,_=!1,p=void 0;try{for(var d,f=l[Symbol.iterator]();!(c=(d=f.next()).done);c=!0){var m=d.value;n.add(m)}}catch(e){_=!0,p=e}finally{try{c||null==f.return||f.return()}finally{if(_)throw p}}}}}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return Array.from(n).sort(function(e,t){return e.localeCompare(t)})})(e=is(a)).join(", "),ia().format("\n import { ".concat(t," } from '@metamask/snaps-sdk';\n\n const component = ").concat(function e(t){if(t.type===b.Panel)return"panel([\n".concat(t.children.map(e).join(",\n"),"\n])");var n=function e(t){switch(t.type){case b.Panel:return t.children.map(e).join(",\n");case b.Text:case b.Heading:case b.Copyable:case b.Image:return JSON.stringify(t.value);case b.Spinner:case b.Divider:default:return""}}(t);return"".concat(t.type,"(").concat(n,")")}(e),";\n"),{parser:"typescript",plugins:[ii()],printWidth:80,tabWidth:2,singleQuote:!0,trailingComma:"all"})),language:"typescript",options:{readOnly:!0}})})]})]})})]})})},{})}),(0,L.jsx)(U.Route,{path:"/manifest",element:(0,L.jsx)(function(){var e=ea(n7);return(0,L.jsx)(er.Flex,{width:"100%",direction:"column",overflow:"hidden",children:(0,L.jsxs)(er.Flex,{direction:"row",flex:"1",overflow:"hidden",children:[(0,L.jsx)(er.Flex,{direction:"column",flex:"1",width:"50%",overflow:"hidden",children:(0,L.jsxs)(er.Tabs,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",children:[(0,L.jsx)(er.TabList,{children:(0,L.jsx)(er.Tab,{children:"Validation"})}),(0,L.jsx)(er.TabPanels,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",children:(0,L.jsx)(er.TabPanel,{display:"flex",flexDirection:"column",flex:"1",padding:"0",children:(0,L.jsx)(iL,{})})})]})}),(0,L.jsx)(er.Box,{display:"flex",flexDirection:"column",flex:"1",width:"50%",borderLeft:"1px solid",borderColor:"border.default",children:(0,L.jsxs)(er.Tabs,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",children:[(0,L.jsx)(er.TabList,{children:(0,L.jsx)(er.Tab,{children:"Manifest"})}),(0,L.jsx)(er.TabPanels,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",children:(0,L.jsx)(er.TabPanel,{display:"flex",flexDirection:"column",flex:"1",padding:"0",children:(0,L.jsx)(rI,{border:"none",value:JSON.stringify(e,null,2),options:{readOnly:!0,wordWrap:"on"}})})})]})})]})})},{})}),(0,L.jsxs)(U.Route,{path:"/handler",element:(0,L.jsx)(function(){var e,t=function(e){if(Array.isArray(e))return e}(e=(0,B.useState)(0))||function(e,t){var n,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,s=!1;try{for(i=i.call(e);!(a=(n=i.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(e){s=!0,r=e}finally{try{a||null==i.return||i.return()}finally{if(s)throw r}}return o}}(e,2)||function(e,t){if(e){if("string"==typeof e)return i1(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i1(e,t)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),n=t[0],r=t[1],i=ea(n4);return(0,L.jsx)(er.Flex,{width:"100%",direction:"column",overflow:"hidden",children:(0,L.jsxs)(er.Flex,{direction:"row",flex:"1",overflow:"hidden",children:[(0,L.jsx)(iz,{isTest:!1,children:(0,L.jsx)(er.Flex,{direction:"column",flex:"1",width:"50%",overflow:"hidden",children:(0,L.jsxs)(er.Tabs,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",isLazy:!0,onChange:r,children:[(0,L.jsx)(iq,{}),(0,L.jsxs)(er.TabList,{alignItems:"center",children:[(0,L.jsx)(er.Tab,{children:"Request"}),(0,L.jsx)(er.Tab,{children:"History"}),0===n&&(0,L.jsx)(er.Box,{marginLeft:"auto",children:(0,L.jsx)(iY,{})})]}),(0,L.jsxs)(er.TabPanels,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",children:[(0,L.jsx)(er.TabPanel,{display:"flex",flexDirection:"column",flex:"1",overflowY:"auto","data-testid":"tab-request",children:(0,L.jsx)(U.Outlet,{})}),(0,L.jsx)(er.TabPanel,{padding:"0",display:"flex",flexDirection:"column",flex:"1",overflowY:"auto",children:(0,L.jsx)(i$,{})})]})]})})}),(0,L.jsx)(er.Box,{display:"flex",flexDirection:"column",flex:"1",width:"50%",borderLeft:"1px solid",borderColor:"border.default",children:(0,L.jsxs)(er.Tabs,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",children:[(0,L.jsx)(iq,{}),(0,L.jsx)(iW,{}),(0,L.jsxs)(er.TabList,{children:[(0,L.jsx)(er.Tab,{children:"Response"}),i&&(0,L.jsx)(er.Tab,{children:"UI"})]}),(0,L.jsxs)(er.TabPanels,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",children:[(0,L.jsx)(er.TabPanel,{display:"flex",flexDirection:"column",flex:"1",padding:"0","data-testid":"tab-response",children:(0,L.jsx)(iQ,{})}),i&&(0,L.jsx)(er.TabPanel,{overflowY:"auto","data-testid":"tab-ui",children:(0,L.jsx)(i0,{})})]})]})})]})})},{}),children:[(0,L.jsx)(U.Route,{path:"/handler/".concat(e.OnRpcRequest),element:(0,L.jsx)(function(){return(0,L.jsx)(i8,{})},{})}),(0,L.jsx)(U.Route,{path:"/handler/".concat(e.OnCronjob),element:(0,L.jsx)(function(){return(0,L.jsx)(oo,{})},{})}),(0,L.jsx)(U.Route,{path:"/handler/".concat(e.OnTransaction),element:(0,L.jsx)(function(){return(0,L.jsx)(ob,{})},{})})]})]})));function ox(e){for(var t=1;t1?t-1:0),r=1;r1?t-1:0),r=1;r1?t-1:0),r=1;r2?o-2:0),s=2;s2?n-2:0),i=2;ie<>>32-n,aA=(e,t,n)=>t<>>32-n,aC=(e,t,n)=>t<>>64-n,aN=(e,t,n)=>e<>>64-n,[aM,ak,aI]=[[],[],[]],aj=BigInt(0),aO=BigInt(1),aP=BigInt(2),aF=BigInt(7),aL=BigInt(256),az=BigInt(113);for(let e=0,t=aO,n=1,r=0;e<24;e++){[n,r]=[r,(2*n+3*r)%5],aM.push(2*(5*r+n)),ak.push((e+1)*(e+2)/2%64);let i=aj;for(let e=0;e<7;e++)(t=(t<>aF)*az)%aL)&aP&&(i^=aO<<(aO<>aE&aT)}:{h:0|Number(e>>aE&aT),l:0|Number(e&aT)}}(e[i],t);[n[i],r[i]]=[o,a]}return[n,r]}(aI,!0),aU=(e,t,n)=>n>32?aC(e,t,n):aw(e,t,n),aJ=(e,t,n)=>n>32?aN(e,t,n):aA(e,t,n);class a$ extends e${constructor(e,t,n,r=!1,i=24){if(super(),this.blockLen=e,this.suffix=t,this.outputLen=n,this.enableXOF=r,this.rounds=i,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,ej(n),0>=this.blockLen||this.blockLen>=200)throw Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=ez(this.state)}keccak(){(function(e,t=24){let n=new Uint32Array(10);for(let r=24-t;r<24;r++){for(let t=0;t<10;t++)n[t]=e[t]^e[t+10]^e[t+20]^e[t+30]^e[t+40];for(let t=0;t<10;t+=2){let r=(t+8)%10,i=(t+2)%10,o=n[i],a=n[i+1],s=aU(o,a,1)^n[r],u=aJ(o,a,1)^n[r+1];for(let n=0;n<50;n+=10)e[t+n]^=s,e[t+n+1]^=u}let t=e[2],i=e[3];for(let n=0;n<24;n++){let r=ak[n],o=aU(t,i,r),a=aJ(t,i,r),s=aM[n];t=e[s],i=e[s+1],e[s]=o,e[s+1]=a}for(let t=0;t<50;t+=10){for(let r=0;r<10;r++)n[r]=e[t+r];for(let r=0;r<10;r++)e[t+r]^=~n[(r+2)%10]&n[(r+4)%10]}e[0]^=aR[r],e[1]^=aB[r]}n.fill(0)})(this.state32,this.rounds),this.posOut=0,this.pos=0}update(e){eP(this);let{blockLen:t,state:n}=this;e=eJ(e);let r=e.length;for(let i=0;i=n&&this.keccak();let o=Math.min(n-this.posOut,i-r);e.set(t.subarray(this.posOut,this.posOut+o),r),this.posOut+=o,r+=o}return e}xofInto(e){if(!this.enableXOF)throw Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return ej(e),this.xofInto(new Uint8Array(e))}digestInto(e){if(eF(e,this),this.finished)throw Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(e){let{blockLen:t,suffix:n,outputLen:r,rounds:i,enableXOF:o}=this;return e||(e=new a$(t,n,r,o,i)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=i,e.suffix=n,e.outputLen=r,e.enableXOF=o,e.destroyed=this.destroyed,e}}let aK=eK(()=>new a$(136,1,32));function aV(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]>>0;t.push("bip32:".concat(i-2147483648,"'"))}return t}(aK((0,z.concatBytes)([a,aK(s)]))),[4,tA.SLIP10Node.fromDerivationPath({derivationPath:[i,"bip32:".concat(o)].concat(aW(u)),curve:"secp256k1"})];case 1:return l=c.sent().privateKey,(0,z.assert)(l,"Failed to derive the entropy."),[2,(0,z.add0x)(l)]}})})).apply(this,arguments)}function aX(e){return a0.apply(this,arguments)}function a0(){return(a0=aq(function(e){var t,n,r,i;return aQ(this,function(o){switch(o.label){case 0:return t=e.curve,n=e.secretRecoveryPhrase,r=e.path,i="secp256k1"===t?"bip32":"slip10",[4,tA.SLIP10Node.fromDerivationPath({curve:t,derivationPath:[n].concat(aW(r.slice(1).map(function(e){return"".concat(i,":").concat(e)})))})];case 1:return[2,o.sent()]}})})).apply(this,arguments)}function a1(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){n(e);return}s.done?t(u):Promise.resolve(u).then(r,i)}var a2="snap_getBip32Entropy",a3=Object.freeze({targetName:a2,specificationBuilder:function(e){var t,n,i,o,a=e.methodHooks;return{permissionType:tF.PermissionType.RestrictedMethod,targetName:a2,allowedCaveats:[r.PermittedDerivationPaths],methodImplementation:(i=a.getMnemonic,o=a.getUnlockPromise,t=function(e){var t,n;return function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]2147483647)throw aS.PY.invalidParams({message:'Invalid "coinType" parameter. Coin type must be a non-negative integer.'});if(tW.includes(e.coinType))throw aS.PY.invalidParams({message:"Coin type ".concat(e.coinType," is forbidden.")})}var sl=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},r.PermittedCoinTypes,Object.freeze({type:r.PermittedCoinTypes,decorator:function(e,t){var n,r;return n=function(n){var r;return function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1][^\\]]*)\\]\\((?[^)]+)\\)","giu"),sy=["https:","mailto:"];function sg(e,t){var n=String.prototype.matchAll.call(e,sh),r=!0,i=!1,o=void 0;try{for(var a,s=n[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var u,l=a.value.groups,c=null==l?void 0:l.url;if(c)try{var _=new URL(c);(0,z.assert)(sy.includes(_.protocol),"Protocol must be one of: ".concat(sy.join(", "),"."));var p="mailto:"===_.protocol?_.pathname.split("@")[1]:_.hostname;(0,z.assert)(!t(p),"The specified URL is not allowed.")}catch(e){throw Error("Invalid URL: ".concat((u=z.AssertionError,null!=u&&"undefined"!=typeof Symbol&&u[Symbol.hasInstance]?!!u[Symbol.hasInstance](e):e instanceof u)?e.message:"Unable to parse URL."))}}}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}}function sb(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){n(e);return}s.done?t(u):Promise.resolve(u).then(r,i)}function sv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var sx="snap_dialog",sD=(0,eM.optional)((0,eM.size)((0,eM.string)(),1,40)),sS=Object.freeze({targetName:sx,specificationBuilder:function(e){var t,n,r,i,o,a=e.allowedCaveats,s=e.methodHooks;return{permissionType:tF.PermissionType.RestrictedMethod,targetName:sx,allowedCaveats:void 0===a?null:a,methodImplementation:(r=s.showDialog,i=s.isOnPhishingList,o=s.maybeUpdatePhishingList,t=function(e){var t,n,a,s,u,l;return function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function s$(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]2&&void 0!==arguments[2]?arguments[2]:104857600;if(!(0,z.isObject)(e))throw aS.PY.invalidParams({message:"Expected params to be a single object."});var i=e.operation,o=e.newState,a=e.encrypted;if(!i||"string"!=typeof i||!Object.values(M).includes(i))throw aS.PY.invalidParams({message:'Must specify a valid manage state "operation".'});if(void 0!==a&&"boolean"!=typeof a)throw aS.PY.invalidParams({message:'"encrypted" parameter must be a boolean if specified.'});if(i===M.UpdateState){if(!(0,z.isObject)(o))throw aS.PY.invalidParams({message:"Invalid ".concat(t,' "updateState" parameter: The new state must be a plain object.'),data:{receivedNewState:void 0===o?"undefined":o}});try{n=(0,z.getJsonSize)(o)}catch(e){throw aS.PY.invalidParams({message:"Invalid ".concat(t,' "updateState" parameter: The new state must be JSON serializable.'),data:{receivedNewState:void 0===o?"undefined":o}})}if(n>r)throw aS.PY.invalidParams({message:"Invalid ".concat(t,' "updateState" parameter: The new state must not exceed ').concat(r," bytes in size."),data:{receivedNewState:void 0===o?"undefined":o}})}return e}(l,c)).encrypted)||void 0===d||d)&&p.operation!==M.ClearState))return[3,2];return[4,r(!0)];case 1:v.sent(),v.label=2;case 2:switch(p.operation){case M.ClearState:return[3,3];case M.GetState:return[3,4];case M.UpdateState:return[3,9]}return[3,14];case 3:return i(_,f),[2,null];case 4:if(null===(m=o(_,f)))return[2,m];if(!f)return[3,7];return y={state:m,decryptFunction:u},[4,n()];case 5:return[4,sH.apply(void 0,[(y.mnemonicPhrase=v.sent(),y.snapId=_,y)])];case 6:return h=v.sent(),[3,8];case 7:h=tw(m),v.label=8;case 8:return[2,h];case 9:if(!f)return[3,12];return b={state:p.newState,encryptFunction:s},[4,n()];case 10:return[4,sW.apply(void 0,[(b.mnemonicPhrase=v.sent(),b.snapId=_,b)])];case 11:return g=v.sent(),[3,13];case 12:g=JSON.stringify(p.newState),v.label=13;case 13:return a(_,g,f),[2,null];case 14:throw aS.PY.invalidParams("Invalid ".concat(c,' operation: "').concat(p.operation,'"'));case 15:return[2]}})}),function(e){return t.apply(this,arguments)}),subjectTypes:[tF.SubjectType.Snap]}},methodHooks:{getMnemonic:!0,getUnlockPromise:!0,clearSnapState:!0,getSnapState:!0,updateSnapState:!0,encrypt:!0,decrypt:!0}});function sY(e){return sq.apply(this,arguments)}function sq(){return(sq=sU(function(e){return s$(this,function(t){switch(t.label){case 0:return[4,aG({mnemonicPhrase:e.mnemonicPhrase,input:e.snapId,salt:"snap_manageState encryption",magic:tP})];case 1:return[2,t.sent()]}})})).apply(this,arguments)}function sW(e){return sQ.apply(this,arguments)}function sQ(){return(sQ=sU(function(e){var t,n,r;return s$(this,function(i){switch(i.label){case 0:return t=e.state,n=e.encryptFunction,[4,sY(sJ(e,["state","encryptFunction"]))];case 1:return r=i.sent(),[4,n(r,t)];case 2:return[2,i.sent()]}})})).apply(this,arguments)}function sH(e){return sG.apply(this,arguments)}function sG(){return(sG=sU(function(e){var t,n,r,i,o;return s$(this,function(a){switch(a.label){case 0:t=e.state,n=e.decryptFunction,r=sJ(e,["state","decryptFunction"]),a.label=1;case 1:return a.trys.push([1,4,,5]),[4,sY(r)];case 2:return i=a.sent(),[4,n(i,t)];case 3:return o=a.sent(),(0,z.assert)((0,z.isValidJson)(o)),[2,o];case 4:throw a.sent(),aS.PY.internal({message:"Failed to decrypt snap state, the state must be corrupted."});case 5:return[2]}})})).apply(this,arguments)}function sZ(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){n(e);return}s.done?t(u):Promise.resolve(u).then(r,i)}var sX="snap_notify",s0=Object.freeze({targetName:sX,specificationBuilder:function(e){var t,n,r,i,o,a,s=e.allowedCaveats,u=e.methodHooks;return{permissionType:tF.PermissionType.RestrictedMethod,targetName:sX,allowedCaveats:void 0===s?null:s,methodImplementation:(r=u.showNativeNotification,i=u.showInAppNotification,o=u.isOnPhishingList,a=u.maybeUpdatePhishingList,t=function(e){var t,n,s;return function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=50)throw aS.PY.invalidParams({message:'Must specify a non-empty string "message" less than 50 characters long.'});return e}(t),[4,a()];case 1:switch(u.sent(),sg(s.message,o),s.type){case E.Native:return[3,2];case E.InApp:return[3,4]}return[3,6];case 2:return[4,r(n,s)];case 3:case 5:return[2,u.sent()];case 4:return[4,i(n,s)];case 6:throw aS.PY.invalidParams({message:'Must specify a valid notification "type".'});case 7:return[2]}})},n=function(){var e=this,n=arguments;return new Promise(function(r,i){var o=t.apply(e,n);function a(e){sZ(o,r,i,a,s,"next",e)}function s(e){sZ(o,r,i,a,s,"throw",e)}a(void 0)})},function(e){return n.apply(this,arguments)}),subjectTypes:[tF.SubjectType.Snap]}},methodHooks:{showNativeNotification:!0,showInAppNotification:!0,isOnPhishingList:!0,maybeUpdatePhishingList:!0}});function s1(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s2=(s1(k={},sS.targetName,sS),s1(k,a3.targetName,a3),s1(k,a8.targetName,a8),s1(k,se.targetName,se),s1(k,sI.targetName,sI),s1(k,sa.targetName,sa),s1(k,sV.targetName,sV),s1(k,s0.targetName,s0),s1(k,sR.targetName,sR),s1(k,sP.targetName,sP),k);!function(e){e.NetworkAccess="endowment:network-access",e.TransactionInsight="endowment:transaction-insight",e.Cronjob="endowment:cronjob",e.EthereumProvider="endowment:ethereum-provider",e.Rpc="endowment:rpc",e.WebAssemblyAccess="endowment:webassembly",e.NameLookup="endowment:name-lookup",e.LifecycleHooks="endowment:lifecycle-hooks",e.Keyring="endowment:keyring",e.HomePage="endowment:page-home"}(I||(I={}));var s3=I.Cronjob,s4=Object.freeze({targetName:s3,specificationBuilder:function(e){return{permissionType:tF.PermissionType.Endowment,targetName:s3,allowedCaveats:[r.SnapCronjob],endowmentGetter:function(e){},subjectTypes:[tF.SubjectType.Snap]}}}),s6=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},r.SnapCronjob,Object.freeze({type:r.SnapCronjob,validator:function(e){return function(e){if(!(0,z.hasProperty)(e,"value")||!(0,z.isPlainObject)(e.value))throw aS.PY.invalidParams({message:"Expected a plain object."});var t=e.value;if(!(0,z.hasProperty)(t,"jobs")||!(0,z.isPlainObject)(t))throw aS.PY.invalidParams({message:"Expected a plain object."});if(!function(e){try{return(0,eM.create)(e,tj),!0}catch(e){return!1}}(t.jobs))throw aS.PY.invalidParams({message:"Expected a valid cronjob specification array."})}(e)}})),s5=I.EthereumProvider,s8=Object.freeze({targetName:s5,specificationBuilder:function(e){return{permissionType:tF.PermissionType.Endowment,targetName:s5,allowedCaveats:null,endowmentGetter:function(e){return["ethereum"]},subjectTypes:[tF.SubjectType.Snap]}}}),s7=I.HomePage,s9=Object.freeze({targetName:s7,specificationBuilder:function(e){return{permissionType:tF.PermissionType.Endowment,targetName:s7,allowedCaveats:null,endowmentGetter:function(e){},subjectTypes:[tF.SubjectType.Snap]}}}),ue=I.Keyring,ut=Object.freeze({targetName:ue,specificationBuilder:function(e){return{permissionType:tF.PermissionType.Endowment,targetName:ue,allowedCaveats:[r.KeyringOrigin],endowmentGetter:function(e){},validator:function(e){var t=e.caveats;if((null==t?void 0:t.length)!==1||t[0].type!==r.KeyringOrigin)throw aS.PY.invalidParams({message:'Expected a single "'.concat(r.KeyringOrigin,'" caveat.')})},subjectTypes:[tF.SubjectType.Snap]}}}),un=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},r.KeyringOrigin,Object.freeze({type:r.KeyringOrigin,validator:function(e){return function(e){var t,n;if(!(0,z.hasProperty)(e,"value")||!(0,z.isPlainObject)(e.value))throw aS.PY.invalidParams({message:"Invalid keyring origins: Expected a plain object."});t=e.value,n=aS.PY.invalidParams,(0,z.assertStruct)(t,tz,"Invalid keyring origins",n)}(e)}})),ur=I.LifecycleHooks,ui=Object.freeze({targetName:ur,specificationBuilder:function(e){return{permissionType:tF.PermissionType.Endowment,targetName:ur,allowedCaveats:null,endowmentGetter:function(e){},subjectTypes:[tF.SubjectType.Snap]}}}),uo=I.NameLookup,ua=Object.freeze({targetName:uo,specificationBuilder:function(e){return{permissionType:tF.PermissionType.Endowment,targetName:uo,allowedCaveats:[r.ChainIds],endowmentGetter:function(e){},validator:function(e){var t=e.caveats;if(!t||null!==t&&(null==t?void 0:t.length)>1||(null==t?void 0:t.length)===1&&t[0].type!==r.ChainIds)throw aS.PY.invalidParams({message:'Expected a single "'.concat(r.ChainIds,'" caveat.')})},subjectTypes:[tF.SubjectType.Snap]}}}),us=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},r.ChainIds,Object.freeze({type:r.ChainIds,validator:function(e){return function(e){if(!(0,z.hasProperty)(e,"value")||!(0,z.isPlainObject)(e))throw aS.PY.invalidParams({message:"Expected a plain object."});var t=e.value;(0,z.assert)(Array.isArray(t)&&t.every(function(e){return(0,eM.is)(e,tK)}),'Expected caveat value to have type "string array"')}(e)}})),uu=I.NetworkAccess,ul=Object.freeze({targetName:uu,specificationBuilder:function(e){return{permissionType:tF.PermissionType.Endowment,targetName:uu,allowedCaveats:null,endowmentGetter:function(e){return["fetch","Request","Headers","Response"]},subjectTypes:[tF.SubjectType.Snap]}}}),uc=I.Rpc,u_=Object.freeze({targetName:uc,specificationBuilder:function(e){return{permissionType:tF.PermissionType.Endowment,targetName:uc,allowedCaveats:[r.RpcOrigin],endowmentGetter:function(e){},validator:function(e){var t=e.caveats;if((null==t?void 0:t.length)!==1||t[0].type!==r.RpcOrigin)throw aS.PY.invalidParams({message:'Expected a single "'.concat(r.RpcOrigin,'" caveat.')})},subjectTypes:[tF.SubjectType.Snap]}}}),up=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},r.RpcOrigin,Object.freeze({type:r.RpcOrigin,validator:function(e){return function(e){var t,n;if(!(0,z.hasProperty)(e,"value")||!(0,z.isPlainObject)(e.value))throw aS.PY.invalidParams({message:"Invalid JSON-RPC origins: Expected a plain object."});t=e.value,n=aS.PY.invalidParams,(0,z.assertStruct)(t,tL,"Invalid JSON-RPC origins",n)}(e)}})),ud=I.TransactionInsight,uf=Object.freeze({targetName:ud,specificationBuilder:function(e){return{permissionType:tF.PermissionType.Endowment,targetName:ud,allowedCaveats:[r.TransactionOrigin],endowmentGetter:function(e){},validator:function(e){var t=e.caveats;if(null!==t&&(null==t?void 0:t.length)>1||(null==t?void 0:t.length)===1&&t[0].type!==r.TransactionOrigin)throw aS.PY.invalidParams({message:'Expected a single "'.concat(r.TransactionOrigin,'" caveat.')})},subjectTypes:[tF.SubjectType.Snap]}}}),um=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},r.TransactionOrigin,Object.freeze({type:r.TransactionOrigin,validator:function(e){return function(e){if(!(0,z.hasProperty)(e,"value")||!(0,z.isPlainObject)(e))throw aS.PY.invalidParams({message:"Expected a plain object."});var t=e.value;(0,z.assert)("boolean"==typeof t,'Expected caveat value to have type "boolean"')}(e)}})),uh=I.WebAssemblyAccess,uy=Object.freeze({targetName:uh,specificationBuilder:function(e){return{permissionType:tF.PermissionType.Endowment,targetName:uh,allowedCaveats:null,endowmentGetter:function(e){return["WebAssembly"]},subjectTypes:[tF.SubjectType.Snap]}}});function ug(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ub=(ug(j={},ul.targetName,ul),ug(j,uf.targetName,uf),ug(j,s4.targetName,s4),ug(j,s8.targetName,s8),ug(j,u_.targetName,u_),ug(j,uy.targetName,uy),ug(j,ua.targetName,ua),ug(j,ui.targetName,ui),ug(j,ut.targetName,ut),ug(j,s9.targetName,s9),j),uv=function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]2)||void 0===r[2]||r[2],[4,new Promise(function(r,i){var o=document.createElement("iframe");o.setAttribute("id",t),o.setAttribute("data-testid","snaps-iframe"),n&&o.setAttribute("sandbox","allow-scripts"),o.setAttribute("src",e),document.body.appendChild(o),o.addEventListener("load",function(){o.contentWindow?r(o.contentWindow):i(Error('iframe.contentWindow not present on load for job "'.concat(t,'".')))})})];case 1:return[2,i.sent()]}})},(uE=function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){uT(o,r,i,a,s,"next",e)}function s(e){uT(o,r,i,a,s,"throw",e)}a(void 0)})}).apply(this,arguments)}var uw=n(9952),uA=n.n(uw);function uC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n1?n-1:0),i=1;icrypto.getRandomValues(new Uint8Array(e)).reduce((e,t)=>((t&=63)<36?e+=t.toString(36):t<62?e+=(t-26).toString(36).toUpperCase():t>62?e+="-":e+="_",e),"");var uj=(0,z.createModuleLogger)(uN,"snaps-controllers");function uO(e,t){for(var n=0;n=0,TypeError("Can't start a timer with negative time")),this.state={value:"stopped",remaining:e}}return e=[{key:"status",get:function(){return this.state.value}},{key:"cancel",value:function(){(0,z.assert)("paused"===this.status||"running"===this.status,Error("Tried to cancel a not running Timer")),this.onFinish(!1)}},{key:"pause",value:function(){(0,z.assert)("running"===this.state.value,Error("Tried to pause a not running Timer"));var e=this.state,t=e.callback,n=e.start,r=e.timeout,i=e.remaining;void 0!==r&&clearTimeout(r),this.state={value:"paused",callback:t,remaining:i-(Date.now()-n)}}},{key:"start",value:function(e){(0,z.assert)("stopped"===this.state.value,Error("Tried to start an already running Timer"));var t=this.state.remaining;this.state={value:"paused",remaining:t,callback:e},this.resume()}},{key:"resume",value:function(){var e,t=this;(0,z.assert)("paused"===this.state.value,Error("Tried to resume not paused Timer"));var n=this.state,r=n.remaining,i=n.callback,o=Date.now();r!==Number.POSITIVE_INFINITY&&(e=setTimeout(function(){return t.onFinish(!0)},r)),this.state={value:"running",callback:i,remaining:r,start:o,timeout:e}}},{key:"onFinish",value:function(e){(0,z.assert)("running"===this.state.value||"paused"===this.state.value),"running"===this.state.value&&void 0!==this.state.timeout&&clearTimeout(this.state.timeout);var t=this.state.callback;this.state={value:"finished"},e&&t()}}],uO(n.prototype,e),t&&uO(n,t),n}();function uF(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){n(e);return}s.done?t(u):Promise.resolve(u).then(r,i)}var uL=Symbol("Used to check if the requested promise has timeout (see withTimeout)");function uz(){var e;return(e=function(e,t){var n;return function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]1&&void 0!==a[1]?a[1]:F.Base64,[4,al(re)];case 1:if(r=s.sent(),i=t8(e),!(o=null===(n=r.find(function(e){return e.path===i}))||void 0===n?void 0:n.toString("base64")))return[2,null];return[4,aa(lL,o,t)];case 2:return[2,s.sent()]}})}function lY(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){n(e);return}s.done?t(u):Promise.resolve(u).then(r,i)}function lq(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){lY(o,r,i,a,s,"next",e)}function s(e){lY(o,r,i,a,s,"throw",e)}a(void 0)})}}function lW(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]1&&void 0!==arguments[1]?arguments[1]:{};(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,n),cp(this,"cache",new Map),cp(this,"validatedManifest",void 0),cp(this,"url",void 0),cp(this,"fetchFn",void 0),cp(this,"fetchOptions",void 0),(0,z.assertStruct)(e.toString(),tD,"Invalid Snap Id: "),this.fetchFn=null!==(t=r.fetch)&&void 0!==t?t:globalThis.fetch.bind(globalThis),this.fetchOptions=r.fetchOptions,this.url=e}return e=[{key:"manifest",value:function(){var e=this;return cc(function(){var t,n,r,o,a;return cd(this,function(s){switch(s.label){case 0:if(e.validatedManifest)return[2,e.validatedManifest.clone()];return t=new URL(i.Manifest,e.url).toString(),[4,e.fetchFn(t,e.fetchOptions)];case 1:if(!(n=s.sent()).ok)throw Error('Failed to fetch "'.concat(t,'". Status code: ').concat(n.status,"."));return[4,n.text()];case 2:return o=tw(r=s.sent()),a=new e4({value:r,result:t5(o),path:i.Manifest,data:{canonicalPath:t}}),e.validatedManifest=a,[2,e.manifest()]}})})()}},{key:"fetch",value:function(e){var t=this;return cc(function(){var n,r,i,o,a,s,u,l,c,_,p;return cd(this,function(d){switch(d.label){case 0:if(n=t8(e),!(void 0!==(r=t.cache.get(n))))return[3,2];return i=r.file,o=r.contents,s=Uint8Array.bind,[4,o.arrayBuffer()];case 1:return a=new(s.apply(Uint8Array,[void 0,d.sent()])),(u=i.clone()).value=a,[2,u];case 2:return l=t.toCanonical(n).toString(),[4,t.fetchFn(l,t.fetchOptions)];case 3:if(!(c=d.sent()).ok)throw Error('Failed to fetch "'.concat(l,'". Status code: ').concat(c.status,"."));return _=new e4({value:"",path:n,data:{canonicalPath:l}}),[4,c.blob()];case 4:return p=d.sent(),(0,z.assert)(!t.cache.has(n),"Corrupted cache, multiple files with same path."),t.cache.set(n,{file:_,contents:p}),[2,t.fetch(n)]}})})()}},{key:"root",get:function(){return new URL(this.url)}},{key:"toCanonical",value:function(e){return(0,z.assert)(!e.startsWith("/"),"Tried to parse absolute path."),new URL(e,this.url)}}],c_(n.prototype,e),t&&c_(n,t),n}();function cm(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){n(e);return}s.done?t(u):Promise.resolve(u).then(r,i)}function ch(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){cm(o,r,i,a,s,"next",e)}function s(e){cm(o,r,i,a,s,"throw",e)}a(void 0)})}}function cy(e,t,n){if(!t.has(e))throw TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function cg(e,t){var n=cy(e,t,"get");return n.get?n.get.call(e):n.value}function cb(e,t){for(var n=0;n0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]1&&void 0!==arguments[1]?arguments[1]:{};(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,n),function(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}(this,cx),cx.set(this,{writable:!0,value:void 0}),(0,z.assertStruct)(e.toString(),tv,"Invalid Snap Id"),(0,z.assert)(void 0===a.fetchOptions,"Currently adding fetch options to local: is unsupported."),i=new cf(new URL(e.toString().slice(o.local.length)),(t=function(e){for(var t=1;t0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0?[2,n.join("\n")]:[2,!0]})});return function(t,n){return e.apply(this,arguments)}}()},{name:"Checksum",manifestName:"source.shasum",validator:function(){var e=cz(function(e,t){var n,r,i,o,a,s,u;return cB(this,function(l){switch(l.label){case 0:if(n=t.sourceCode,r=t.icon,i=t.auxiliaryFiles,o=t.localizationFiles,!e)return[3,2];return s=null===(a=e.result)||void 0===a?void 0:a.source.shasum,[4,function(e){return ty.apply(this,arguments)}({manifest:e,sourceCode:n,svgIcon:r,auxiliaryFiles:i,localizationFiles:o})];case 1:if(u=l.sent(),s!==u)return[2,'Checksum mismatch - expected "'.concat(u,'" got "').concat(s,'"')];l.label=2;case 2:return[2,!0]}})});return function(t,n){return e.apply(this,arguments)}}()},{name:"Bundle",manifestName:"filePath",validator:function(){var e=cz(function(e,t){var n,r,i,o,a,s,u;return cB(this,function(l){return(n=t.sourceCode,u=cR(t6.schema.source.schema.location.schema.npm.schema.filePath.validate(null===(s=e)||void 0===s?void 0:null===(a=s.result)||void 0===a?void 0:null===(o=a.source)||void 0===o?void 0:null===(i=o.location)||void 0===i?void 0:null===(r=i.npm)||void 0===r?void 0:r.filePath),1)[0])?[2,u.message]:n?[2,!0]:[2,"Unable to load bundle."]})});return function(t,n){return e.apply(this,arguments)}}()}];function cJ(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]{n.r(t),n.d(t,{conf:()=>s,language:()=>o});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var s={comments:{lineComment:"#"}},o={defaultToken:"keyword",ignoreCase:!0,tokenPostfix:".azcli",str:/[^#\s]/,tokenizer:{root:[{include:"@comment"},[/\s-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}],[/^-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}]],type:[{include:"@comment"},[/-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":"key.identifier"}}],[/@str+\s*/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}]],comment:[[/#.*$/,{cases:{"@eos":{token:"comment",next:"@popall"}}}]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/1585.js b/snaps-simulator/2.4.2/vendor/1585.js new file mode 100644 index 0000000000..898641d238 --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/1585.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[1585],{11585:(e,s,o)=>{o.r(s),o.d(s,{conf:()=>n,language:()=>l});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var n={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},l={defaultToken:"",tokenPostfix:".dockerfile",variable:/\${?[\w]+}?/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},[/(ONBUILD)(\s+)/,["keyword",""]],[/(ENV)(\s+)([\w]+)/,["keyword","",{token:"variable",next:"@arguments"}]],[/(FROM|MAINTAINER|RUN|EXPOSE|ENV|ADD|ARG|VOLUME|LABEL|USER|WORKDIR|COPY|CMD|STOPSIGNAL|SHELL|HEALTHCHECK|ENTRYPOINT)/,{token:"keyword",next:"@arguments"}]],arguments:[{include:"@whitespace"},{include:"@strings"},[/(@variable)/,{cases:{"@eos":{token:"variable",next:"@popall"},"@default":"variable"}}],[/\\/,{cases:{"@eos":"","@default":""}}],[/./,{cases:{"@eos":{token:"",next:"@popall"},"@default":""}}]],whitespace:[[/\s+/,{cases:{"@eos":{token:"",next:"@popall"},"@default":""}}]],comment:[[/(^#.*$)/,"comment","@popall"]],strings:[[/\\'$/,"","@popall"],[/\\'/,""],[/'$/,"string","@popall"],[/'/,"string","@stringBody"],[/"$/,"string","@popall"],[/"/,"string","@dblStringBody"]],stringBody:[[/[^\\\$']/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/\\./,"string.escape"],[/'$/,"string","@popall"],[/'/,"string","@pop"],[/(@variable)/,"variable"],[/\\$/,"string"],[/$/,"string","@popall"]],dblStringBody:[[/[^\\\$"]/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/\\./,"string.escape"],[/"$/,"string","@popall"],[/"/,"string","@pop"],[/(@variable)/,"variable"],[/\\$/,"string"],[/$/,"string","@popall"]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/1593.js b/snaps-simulator/2.4.2/vendor/1593.js new file mode 100644 index 0000000000..ab3404532a --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/1593.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[1593],{11593:(e,s,t)=>{t.r(s),t.d(s,{conf:()=>o,language:()=>E});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var o={comments:{blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"(*",close:"*)"},{open:"<*",close:"*>"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}]},E={defaultToken:"",tokenPostfix:".m3",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["AND","ANY","ARRAY","AS","BEGIN","BITS","BRANDED","BY","CASE","CONST","DIV","DO","ELSE","ELSIF","END","EVAL","EXCEPT","EXCEPTION","EXIT","EXPORTS","FINALLY","FOR","FROM","GENERIC","IF","IMPORT","IN","INTERFACE","LOCK","LOOP","METHODS","MOD","MODULE","NOT","OBJECT","OF","OR","OVERRIDES","PROCEDURE","RAISE","RAISES","READONLY","RECORD","REF","REPEAT","RETURN","REVEAL","SET","THEN","TO","TRY","TYPE","TYPECASE","UNSAFE","UNTIL","UNTRACED","VALUE","VAR","WHILE","WITH"],reservedConstNames:["ABS","ADR","ADRSIZE","BITSIZE","BYTESIZE","CEILING","DEC","DISPOSE","FALSE","FIRST","FLOAT","FLOOR","INC","ISTYPE","LAST","LOOPHOLE","MAX","MIN","NARROW","NEW","NIL","NUMBER","ORD","ROUND","SUBARRAY","TRUE","TRUNC","TYPECODE","VAL"],reservedTypeNames:["ADDRESS","ANY","BOOLEAN","CARDINAL","CHAR","EXTENDED","INTEGER","LONGCARD","LONGINT","LONGREAL","MUTEX","NULL","REAL","REFANY","ROOT","TEXT"],operators:["+","-","*","/","&","^","."],relations:["=","#","<","<=",">",">=","<:",":"],delimiters:["|","..","=>",",",";",":="],symbols:/[>=<#.,:;+\-*/&^]+/,escapes:/\\(?:[\\fnrt"']|[0-7]{3})/,tokenizer:{root:[[/_\w*/,"invalid"],[/[a-zA-Z][a-zA-Z0-9_]*/,{cases:{"@keywords":{token:"keyword.$0"},"@reservedConstNames":{token:"constant.reserved.$0"},"@reservedTypeNames":{token:"type.reserved.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[0-9]+\.[0-9]+(?:[DdEeXx][\+\-]?[0-9]+)?/,"number.float"],[/[0-9]+(?:\_[0-9a-fA-F]+)?L?/,"number"],[/@symbols/,{cases:{"@operators":"operators","@relations":"operators","@delimiters":"delimiter","@default":"invalid"}}],[/'[^\\']'/,"string.char"],[/(')(@escapes)(')/,["string.char","string.escape","string.char"]],[/'/,"invalid"],[/"([^"\\]|\\.)*$/,"invalid"],[/"/,"string.text","@text"]],text:[[/[^\\"]+/,"string.text"],[/@escapes/,"string.escape"],[/\\./,"invalid"],[/"/,"string.text","@pop"]],comment:[[/\(\*/,"comment","@push"],[/\*\)/,"comment","@pop"],[/./,"comment"]],pragma:[[/<\*/,"keyword.pragma","@push"],[/\*>/,"keyword.pragma","@pop"],[/./,"keyword.pragma"]],whitespace:[[/[ \t\r\n]+/,"white"],[/\(\*/,"comment","@comment"],[/<\*/,"keyword.pragma","@pragma"]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/1594.js b/snaps-simulator/2.4.2/vendor/1594.js new file mode 100644 index 0000000000..977e403eb2 --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/1594.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[1594],{71594:(e,o,n)=>{n.r(o),n.d(o,{conf:()=>t,language:()=>r});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var t={comments:{lineComment:"'"},brackets:[["(",")"],["[","]"],["If","EndIf"],["While","EndWhile"],["For","EndFor"],["Sub","EndSub"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]}]},r={defaultToken:"",tokenPostfix:".sb",ignoreCase:!0,brackets:[{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"keyword.tag-if",open:"If",close:"EndIf"},{token:"keyword.tag-while",open:"While",close:"EndWhile"},{token:"keyword.tag-for",open:"For",close:"EndFor"},{token:"keyword.tag-sub",open:"Sub",close:"EndSub"}],keywords:["Else","ElseIf","EndFor","EndIf","EndSub","EndWhile","For","Goto","If","Step","Sub","Then","To","While"],tagwords:["If","Sub","While","For"],operators:[">","<","<>","<=",">=","And","Or","+","-","*","/","="],identifier:/[a-zA-Z_][\w]*/,symbols:/[=><:+\-*\/%\.,]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@whitespace"},[/(@identifier)(?=[.])/,"type"],[/@identifier/,{cases:{"@keywords":{token:"keyword.$0"},"@operators":"operator","@default":"variable.name"}}],[/([.])(@identifier)/,{cases:{$2:["delimiter","type.member"],"@default":""}}],[/\d*\.\d+/,"number.float"],[/\d+/,"number"],[/[()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":"delimiter"}}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],whitespace:[[/[ \t\r\n]+/,""],[/(\').*$/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"C?/,"string","@pop"]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/162.js b/snaps-simulator/2.4.2/vendor/162.js new file mode 100644 index 0000000000..d9d3139299 --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/162.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[162],{20162:(e,s,t)=>{t.r(s),t.d(s,{conf:()=>n,language:()=>r});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var n={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"'",close:"'",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"}]},r={defaultToken:"",tokenPostfix:".rq",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["add","as","asc","ask","base","by","clear","construct","copy","create","data","delete","desc","describe","distinct","drop","false","filter","from","graph","group","having","in","insert","limit","load","minus","move","named","not","offset","optional","order","prefix","reduced","select","service","silent","to","true","undef","union","using","values","where","with"],builtinFunctions:["a","abs","avg","bind","bnode","bound","ceil","coalesce","concat","contains","count","datatype","day","encode_for_uri","exists","floor","group_concat","hours","if","iri","isblank","isiri","isliteral","isnumeric","isuri","lang","langmatches","lcase","max","md5","min","minutes","month","now","rand","regex","replace","round","sameterm","sample","seconds","sha1","sha256","sha384","sha512","str","strafter","strbefore","strdt","strends","strlang","strlen","strstarts","struuid","substr","sum","timezone","tz","ucase","uri","uuid","year"],ignoreCase:!0,tokenizer:{root:[[/<[^\s\u00a0>]*>?/,"tag"],{include:"@strings"},[/#.*/,"comment"],[/[{}()\[\]]/,"@brackets"],[/[;,.]/,"delimiter"],[/[_\w\d]+:(\.(?=[\w_\-\\%])|[:\w_-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-f\d][a-f\d])*/,"tag"],[/:(\.(?=[\w_\-\\%])|[:\w_-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-f\d][a-f\d])+/,"tag"],[/[$?]?[_\w\d]+/,{cases:{"@keywords":{token:"keyword"},"@builtinFunctions":{token:"predefined.sql"},"@default":"identifier"}}],[/\^\^/,"operator.sql"],[/\^[*+\-<>=&|^\/!?]*/,"operator.sql"],[/[*+\-<>=&|\/!?]/,"operator.sql"],[/@[a-z\d\-]*/,"metatag.html"],[/\s+/,"white"]],strings:[[/'([^'\\]|\\.)*$/,"string.invalid"],[/'$/,"string.sql","@pop"],[/'/,"string.sql","@stringBody"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"$/,"string.sql","@pop"],[/"/,"string.sql","@dblStringBody"]],stringBody:[[/[^\\']+/,"string.sql"],[/\\./,"string.escape"],[/'/,"string.sql","@pop"]],dblStringBody:[[/[^\\"]+/,"string.sql"],[/\\./,"string.escape"],[/"/,"string.sql","@pop"]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/1649.js b/snaps-simulator/2.4.2/vendor/1649.js new file mode 100644 index 0000000000..8f11a31be9 --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/1649.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[1649],{81649:(e,t,n)=>{n.r(t),n.d(t,{conf:()=>o,language:()=>s});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var o={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},s={tokenPostfix:".tcl",specialFunctions:["set","unset","rename","variable","proc","coroutine","foreach","incr","append","lappend","linsert","lreplace"],mainFunctions:["if","then","elseif","else","case","switch","while","for","break","continue","return","package","namespace","catch","exit","eval","expr","uplevel","upvar"],builtinFunctions:["file","info","concat","join","lindex","list","llength","lrange","lsearch","lsort","split","array","parray","binary","format","regexp","regsub","scan","string","subst","dict","cd","clock","exec","glob","pid","pwd","close","eof","fblocked","fconfigure","fcopy","fileevent","flush","gets","open","puts","read","seek","socket","tell","interp","after","auto_execok","auto_load","auto_mkindex","auto_reset","bgerror","error","global","history","load","source","time","trace","unknown","unset","update","vwait","winfo","wm","bind","event","pack","place","grid","font","bell","clipboard","destroy","focus","grab","lower","option","raise","selection","send","tk","tkwait","tk_bisque","tk_focusNext","tk_focusPrev","tk_focusFollowsMouse","tk_popup","tk_setPalette"],symbols:/[=>{t.r(_),t.d(_,{conf:()=>r,language:()=>i});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var r={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},i={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["AES128","AES256","ALL","ALLOWOVERWRITE","ANALYSE","ANALYZE","AND","ANY","ARRAY","AS","ASC","AUTHORIZATION","AZ64","BACKUP","BETWEEN","BINARY","BLANKSASNULL","BOTH","BYTEDICT","BZIP2","CASE","CAST","CHECK","COLLATE","COLUMN","CONSTRAINT","CREATE","CREDENTIALS","CROSS","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURRENT_USER_ID","DEFAULT","DEFERRABLE","DEFLATE","DEFRAG","DELTA","DELTA32K","DESC","DISABLE","DISTINCT","DO","ELSE","EMPTYASNULL","ENABLE","ENCODE","ENCRYPT","ENCRYPTION","END","EXCEPT","EXPLICIT","FALSE","FOR","FOREIGN","FREEZE","FROM","FULL","GLOBALDICT256","GLOBALDICT64K","GRANT","GROUP","GZIP","HAVING","IDENTITY","IGNORE","ILIKE","IN","INITIALLY","INNER","INTERSECT","INTO","IS","ISNULL","JOIN","LANGUAGE","LEADING","LEFT","LIKE","LIMIT","LOCALTIME","LOCALTIMESTAMP","LUN","LUNS","LZO","LZOP","MINUS","MOSTLY16","MOSTLY32","MOSTLY8","NATURAL","NEW","NOT","NOTNULL","NULL","NULLS","OFF","OFFLINE","OFFSET","OID","OLD","ON","ONLY","OPEN","OR","ORDER","OUTER","OVERLAPS","PARALLEL","PARTITION","PERCENT","PERMISSIONS","PLACING","PRIMARY","RAW","READRATIO","RECOVER","REFERENCES","RESPECT","REJECTLOG","RESORT","RESTORE","RIGHT","SELECT","SESSION_USER","SIMILAR","SNAPSHOT","SOME","SYSDATE","SYSTEM","TABLE","TAG","TDES","TEXT255","TEXT32K","THEN","TIMESTAMP","TO","TOP","TRAILING","TRUE","TRUNCATECOLUMNS","UNION","UNIQUE","USER","USING","VERBOSE","WALLET","WHEN","WHERE","WITH","WITHOUT"],operators:["AND","BETWEEN","IN","LIKE","NOT","OR","IS","NULL","INTERSECT","UNION","INNER","JOIN","LEFT","OUTER","RIGHT"],builtinFunctions:["current_schema","current_schemas","has_database_privilege","has_schema_privilege","has_table_privilege","age","current_time","current_timestamp","localtime","isfinite","now","ascii","get_bit","get_byte","set_bit","set_byte","to_ascii","approximate percentile_disc","avg","count","listagg","max","median","min","percentile_cont","stddev_samp","stddev_pop","sum","var_samp","var_pop","bit_and","bit_or","bool_and","bool_or","cume_dist","first_value","lag","last_value","lead","nth_value","ratio_to_report","dense_rank","ntile","percent_rank","rank","row_number","case","coalesce","decode","greatest","least","nvl","nvl2","nullif","add_months","at time zone","convert_timezone","current_date","date_cmp","date_cmp_timestamp","date_cmp_timestamptz","date_part_year","dateadd","datediff","date_part","date_trunc","extract","getdate","interval_cmp","last_day","months_between","next_day","sysdate","timeofday","timestamp_cmp","timestamp_cmp_date","timestamp_cmp_timestamptz","timestamptz_cmp","timestamptz_cmp_date","timestamptz_cmp_timestamp","timezone","to_timestamp","trunc","abs","acos","asin","atan","atan2","cbrt","ceil","ceiling","checksum","cos","cot","degrees","dexp","dlog1","dlog10","exp","floor","ln","log","mod","pi","power","radians","random","round","sin","sign","sqrt","tan","to_hex","bpcharcmp","btrim","bttext_pattern_cmp","char_length","character_length","charindex","chr","concat","crc32","func_sha1","initcap","left and rights","len","length","lower","lpad and rpads","ltrim","md5","octet_length","position","quote_ident","quote_literal","regexp_count","regexp_instr","regexp_replace","regexp_substr","repeat","replace","replicate","reverse","rtrim","split_part","strpos","strtol","substring","textlen","translate","trim","upper","cast","convert","to_char","to_date","to_number","json_array_length","json_extract_array_element_text","json_extract_path_text","current_setting","pg_cancel_backend","pg_terminate_backend","set_config","current_database","current_user","current_user_id","pg_backend_pid","pg_last_copy_count","pg_last_copy_id","pg_last_query_id","pg_last_unload_count","session_user","slice_num","user","version","abbrev","acosd","any","area","array_agg","array_append","array_cat","array_dims","array_fill","array_length","array_lower","array_ndims","array_position","array_positions","array_prepend","array_remove","array_replace","array_to_json","array_to_string","array_to_tsvector","array_upper","asind","atan2d","atand","bit","bit_length","bound_box","box","brin_summarize_new_values","broadcast","cardinality","center","circle","clock_timestamp","col_description","concat_ws","convert_from","convert_to","corr","cosd","cotd","covar_pop","covar_samp","current_catalog","current_query","current_role","currval","cursor_to_xml","diameter","div","encode","enum_first","enum_last","enum_range","every","family","format","format_type","generate_series","generate_subscripts","get_current_ts_config","gin_clean_pending_list","grouping","has_any_column_privilege","has_column_privilege","has_foreign_data_wrapper_privilege","has_function_privilege","has_language_privilege","has_sequence_privilege","has_server_privilege","has_tablespace_privilege","has_type_privilege","height","host","hostmask","inet_client_addr","inet_client_port","inet_merge","inet_same_family","inet_server_addr","inet_server_port","isclosed","isempty","isopen","json_agg","json_object","json_object_agg","json_populate_record","json_populate_recordset","json_to_record","json_to_recordset","jsonb_agg","jsonb_object_agg","justify_days","justify_hours","justify_interval","lastval","left","line","localtimestamp","lower_inc","lower_inf","lpad","lseg","make_date","make_interval","make_time","make_timestamp","make_timestamptz","masklen","mode","netmask","network","nextval","npoints","num_nonnulls","num_nulls","numnode","obj_description","overlay","parse_ident","path","pclose","percentile_disc","pg_advisory_lock","pg_advisory_lock_shared","pg_advisory_unlock","pg_advisory_unlock_all","pg_advisory_unlock_shared","pg_advisory_xact_lock","pg_advisory_xact_lock_shared","pg_backup_start_time","pg_blocking_pids","pg_client_encoding","pg_collation_is_visible","pg_column_size","pg_conf_load_time","pg_control_checkpoint","pg_control_init","pg_control_recovery","pg_control_system","pg_conversion_is_visible","pg_create_logical_replication_slot","pg_create_physical_replication_slot","pg_create_restore_point","pg_current_xlog_flush_location","pg_current_xlog_insert_location","pg_current_xlog_location","pg_database_size","pg_describe_object","pg_drop_replication_slot","pg_export_snapshot","pg_filenode_relation","pg_function_is_visible","pg_get_constraintdef","pg_get_expr","pg_get_function_arguments","pg_get_function_identity_arguments","pg_get_function_result","pg_get_functiondef","pg_get_indexdef","pg_get_keywords","pg_get_object_address","pg_get_owned_sequence","pg_get_ruledef","pg_get_serial_sequence","pg_get_triggerdef","pg_get_userbyid","pg_get_viewdef","pg_has_role","pg_identify_object","pg_identify_object_as_address","pg_index_column_has_property","pg_index_has_property","pg_indexam_has_property","pg_indexes_size","pg_is_in_backup","pg_is_in_recovery","pg_is_other_temp_schema","pg_is_xlog_replay_paused","pg_last_committed_xact","pg_last_xact_replay_timestamp","pg_last_xlog_receive_location","pg_last_xlog_replay_location","pg_listening_channels","pg_logical_emit_message","pg_logical_slot_get_binary_changes","pg_logical_slot_get_changes","pg_logical_slot_peek_binary_changes","pg_logical_slot_peek_changes","pg_ls_dir","pg_my_temp_schema","pg_notification_queue_usage","pg_opclass_is_visible","pg_operator_is_visible","pg_opfamily_is_visible","pg_options_to_table","pg_postmaster_start_time","pg_read_binary_file","pg_read_file","pg_relation_filenode","pg_relation_filepath","pg_relation_size","pg_reload_conf","pg_replication_origin_create","pg_replication_origin_drop","pg_replication_origin_oid","pg_replication_origin_progress","pg_replication_origin_session_is_setup","pg_replication_origin_session_progress","pg_replication_origin_session_reset","pg_replication_origin_session_setup","pg_replication_origin_xact_reset","pg_replication_origin_xact_setup","pg_rotate_logfile","pg_size_bytes","pg_size_pretty","pg_sleep","pg_sleep_for","pg_sleep_until","pg_start_backup","pg_stat_file","pg_stop_backup","pg_switch_xlog","pg_table_is_visible","pg_table_size","pg_tablespace_databases","pg_tablespace_location","pg_tablespace_size","pg_total_relation_size","pg_trigger_depth","pg_try_advisory_lock","pg_try_advisory_lock_shared","pg_try_advisory_xact_lock","pg_try_advisory_xact_lock_shared","pg_ts_config_is_visible","pg_ts_dict_is_visible","pg_ts_parser_is_visible","pg_ts_template_is_visible","pg_type_is_visible","pg_typeof","pg_xact_commit_timestamp","pg_xlog_location_diff","pg_xlog_replay_pause","pg_xlog_replay_resume","pg_xlogfile_name","pg_xlogfile_name_offset","phraseto_tsquery","plainto_tsquery","point","polygon","popen","pqserverversion","query_to_xml","querytree","quote_nullable","radius","range_merge","regexp_matches","regexp_split_to_array","regexp_split_to_table","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","right","row_security_active","row_to_json","rpad","scale","set_masklen","setseed","setval","setweight","shobj_description","sind","sprintf","statement_timestamp","stddev","string_agg","string_to_array","strip","substr","table_to_xml","table_to_xml_and_xmlschema","tand","text","to_json","to_regclass","to_regnamespace","to_regoper","to_regoperator","to_regproc","to_regprocedure","to_regrole","to_regtype","to_tsquery","to_tsvector","transaction_timestamp","ts_debug","ts_delete","ts_filter","ts_headline","ts_lexize","ts_parse","ts_rank","ts_rank_cd","ts_rewrite","ts_stat","ts_token_type","tsquery_phrase","tsvector_to_array","tsvector_update_trigger","tsvector_update_trigger_column","txid_current","txid_current_snapshot","txid_snapshot_xip","txid_snapshot_xmax","txid_snapshot_xmin","txid_visible_in_snapshot","unnest","upper_inc","upper_inf","variance","width","width_bucket","xml_is_well_formed","xml_is_well_formed_content","xml_is_well_formed_document","xmlagg","xmlcomment","xmlconcat","xmlelement","xmlexists","xmlforest","xmlparse","xmlpi","xmlroot","xmlserialize","xpath","xpath_exists"],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/2014.js b/snaps-simulator/2.4.2/vendor/2014.js new file mode 100644 index 0000000000..1d93270053 --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/2014.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[2014],{92014:(e,n,t)=>{t.r(n),t.d(n,{conf:()=>d,language:()=>m});var r,o=t(90361),l=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,c=Object.prototype.hasOwnProperty,u=(e,n,t,r)=>{if(n&&"object"==typeof n||"function"==typeof n)for(let o of i(n))c.call(e,o)||o===t||l(e,o,{get:()=>n[o],enumerable:!(r=a(n,o))||r.enumerable});return e},s={};u(s,o,"default"),r&&u(r,o,"default");var d={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{offSide:!0},onEnterRules:[{beforeText:/:\s*$/,action:{indentAction:s.languages.IndentAction.Indent}}]},m={tokenPostfix:".yaml",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["true","True","TRUE","false","False","FALSE","null","Null","Null","~"],numberInteger:/(?:0|[+-]?[0-9]+)/,numberFloat:/(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,numberOctal:/0o[0-7]+/,numberHex:/0x[0-9a-fA-F]+/,numberInfinity:/[+-]?\.(?:inf|Inf|INF)/,numberNaN:/\.(?:nan|Nan|NAN)/,numberDate:/\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,escapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},[/%[^ ]+.*$/,"meta.directive"],[/---/,"operators.directivesEnd"],[/\.{3}/,"operators.documentEnd"],[/[-?:](?= )/,"operators"],{include:"@anchor"},{include:"@tagHandle"},{include:"@flowCollections"},{include:"@blockStyle"},[/@numberInteger(?![ \t]*\S+)/,"number"],[/@numberFloat(?![ \t]*\S+)/,"number.float"],[/@numberOctal(?![ \t]*\S+)/,"number.octal"],[/@numberHex(?![ \t]*\S+)/,"number.hex"],[/@numberInfinity(?![ \t]*\S+)/,"number.infinity"],[/@numberNaN(?![ \t]*\S+)/,"number.nan"],[/@numberDate(?![ \t]*\S+)/,"number.date"],[/(".*?"|'.*?'|[^#'"]*?)([ \t]*)(:)( |$)/,["type","white","operators","white"]],{include:"@flowScalars"},[/.+?(?=(\s+#|$))/,{cases:{"@keywords":"keyword","@default":"string"}}]],object:[{include:"@whitespace"},{include:"@comment"},[/\}/,"@brackets","@pop"],[/,/,"delimiter.comma"],[/:(?= )/,"operators"],[/(?:".*?"|'.*?'|[^,\{\[]+?)(?=: )/,"type"],{include:"@flowCollections"},{include:"@flowScalars"},{include:"@tagHandle"},{include:"@anchor"},{include:"@flowNumber"},[/[^\},]+/,{cases:{"@keywords":"keyword","@default":"string"}}]],array:[{include:"@whitespace"},{include:"@comment"},[/\]/,"@brackets","@pop"],[/,/,"delimiter.comma"],{include:"@flowCollections"},{include:"@flowScalars"},{include:"@tagHandle"},{include:"@anchor"},{include:"@flowNumber"},[/[^\],]+/,{cases:{"@keywords":"keyword","@default":"string"}}]],multiString:[[/^( +).+$/,"string","@multiStringContinued.$1"]],multiStringContinued:[[/^( *).+$/,{cases:{"$1==$S2":"string","@default":{token:"@rematch",next:"@popall"}}}]],whitespace:[[/[ \t\r\n]+/,"white"]],comment:[[/#.*$/,"comment"]],flowCollections:[[/\[/,"@brackets","@array"],[/\{/,"@brackets","@object"]],flowScalars:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'[^']*'/,"string"],[/"/,"string","@doubleQuotedString"]],doubleQuotedString:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],blockStyle:[[/[>|][0-9]*[+-]?$/,"operators","@multiString"]],flowNumber:[[/@numberInteger(?=[ \t]*[,\]\}])/,"number"],[/@numberFloat(?=[ \t]*[,\]\}])/,"number.float"],[/@numberOctal(?=[ \t]*[,\]\}])/,"number.octal"],[/@numberHex(?=[ \t]*[,\]\}])/,"number.hex"],[/@numberInfinity(?=[ \t]*[,\]\}])/,"number.infinity"],[/@numberNaN(?=[ \t]*[,\]\}])/,"number.nan"],[/@numberDate(?=[ \t]*[,\]\}])/,"number.date"]],tagHandle:[[/\![^ ]*/,"tag"]],anchor:[[/[&*][^ ]+/,"namespace"]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/2271.js b/snaps-simulator/2.4.2/vendor/2271.js new file mode 100644 index 0000000000..6e39eab7d1 --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/2271.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[2271],{52271:(e,t,n)=>{n.r(t),n.d(t,{conf:()=>o,language:()=>i});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var o={wordPattern:/(#?-?\d*\.\d\w*%?)|([@$#!.:]?[\w-?]+%?)|[@#!.]/g,comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},i={defaultToken:"",tokenPostfix:".scss",ws:"[ \n\r\f]*",identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@selector"}],selector:[{include:"@comments"},{include:"@import"},{include:"@variabledeclaration"},{include:"@warndebug"},["[@](include)",{token:"keyword",next:"@includedeclaration"}],["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",{token:"keyword",next:"@keyframedeclaration"}],["[@](page|content|font-face|-moz-document)",{token:"keyword"}],["[@](charset|namespace)",{token:"keyword",next:"@declarationbody"}],["[@](function)",{token:"keyword",next:"@functiondeclaration"}],["[@](mixin)",{token:"keyword",next:"@mixindeclaration"}],["url(\\-prefix)?\\(",{token:"meta",next:"@urldeclaration"}],{include:"@controlstatement"},{include:"@selectorname"},["[&\\*]","tag"],["[>\\+,]","delimiter"],["\\[",{token:"delimiter.bracket",next:"@selectorattribute"}],["{",{token:"delimiter.curly",next:"@selectorbody"}]],selectorbody:[["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))","attribute.name","@rulevalue"],{include:"@selector"},["[@](extend)",{token:"keyword",next:"@extendbody"}],["[@](return)",{token:"keyword",next:"@declarationbody"}],["}",{token:"delimiter.curly",next:"@pop"}]],selectorname:[["#{",{token:"meta",next:"@variableinterpolation"}],["(\\.|#(?=[^{])|%|(@identifier)|:)+","tag"]],selectorattribute:[{include:"@term"},["]",{token:"delimiter.bracket",next:"@pop"}]],term:[{include:"@comments"},["url(\\-prefix)?\\(",{token:"meta",next:"@urldeclaration"}],{include:"@functioninvocation"},{include:"@numbers"},{include:"@strings"},{include:"@variablereference"},["(and\\b|or\\b|not\\b)","operator"],{include:"@name"},["([<>=\\+\\-\\*\\/\\^\\|\\~,])","operator"],[",","delimiter"],["!default","literal"],["\\(",{token:"delimiter.parenthesis",next:"@parenthizedterm"}]],rulevalue:[{include:"@term"},["!important","literal"],[";","delimiter","@pop"],["{",{token:"delimiter.curly",switchTo:"@nestedproperty"}],["(?=})",{token:"",next:"@pop"}]],nestedproperty:[["[*_]?@identifier@ws:","attribute.name","@rulevalue"],{include:"@comments"},["}",{token:"delimiter.curly",next:"@pop"}]],warndebug:[["[@](warn|debug)",{token:"keyword",next:"@declarationbody"}]],import:[["[@](import)",{token:"keyword",next:"@declarationbody"}]],variabledeclaration:[["\\$@identifier@ws:","variable.decl","@declarationbody"]],urldeclaration:[{include:"@strings"},["[^)\r\n]+","string"],["\\)",{token:"meta",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],extendbody:[{include:"@selectorname"},["!optional","literal"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],variablereference:[["\\$@identifier","variable.ref"],["\\.\\.\\.","operator"],["#{",{token:"meta",next:"@variableinterpolation"}]],variableinterpolation:[{include:"@variablereference"},["}",{token:"meta",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],name:[["@identifier","attribute.value"]],numbers:[["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","number.hex"]],units:[["(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","number","@pop"]],functiondeclaration:[["@identifier@ws\\(",{token:"meta",next:"@parameterdeclaration"}],["{",{token:"delimiter.curly",switchTo:"@functionbody"}]],mixindeclaration:[["@identifier@ws\\(",{token:"meta",next:"@parameterdeclaration"}],["@identifier","meta"],["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],parameterdeclaration:[["\\$@identifier@ws:","variable.decl"],["\\.\\.\\.","operator"],[",","delimiter"],{include:"@term"},["\\)",{token:"meta",next:"@pop"}]],includedeclaration:[{include:"@functioninvocation"},["@identifier","meta"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}],["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],keyframedeclaration:[["@identifier","meta"],["{",{token:"delimiter.curly",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.curly",next:"@selectorbody"}],["}",{token:"delimiter.curly",next:"@pop"}]],controlstatement:[["[@](if|else|for|while|each|media)",{token:"keyword.flow",next:"@controlstatementdeclaration"}]],controlstatementdeclaration:[["(in|from|through|if|to)\\b",{token:"keyword.flow"}],{include:"@term"},["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],functionbody:[["[@](return)",{token:"keyword"}],{include:"@variabledeclaration"},{include:"@term"},{include:"@controlstatement"},[";","delimiter"],["}",{token:"delimiter.curly",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"meta",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"meta",next:"@pop"}]],strings:[['~?"',{token:"string.delimiter",next:"@stringenddoublequote"}],["~?'",{token:"string.delimiter",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string.delimiter",next:"@pop"}],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string.delimiter",next:"@pop"}],[".","string"]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/2287.js b/snaps-simulator/2.4.2/vendor/2287.js new file mode 100644 index 0000000000..7652497747 --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/2287.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[2287,5900],{72287:(e,t,n)=>{n.r(t),n.d(t,{conf:()=>r,language:()=>i});var o=n(35900),r=o.conf,i={defaultToken:"invalid",tokenPostfix:".js",keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","let","new","null","return","set","super","switch","symbol","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of"],typeKeywords:[],operators:o.language.operators,symbols:o.language.symbols,escapes:o.language.escapes,digits:o.language.digits,octaldigits:o.language.octaldigits,binarydigits:o.language.binarydigits,hexdigits:o.language.hexdigits,regexpctl:o.language.regexpctl,regexpesc:o.language.regexpesc,tokenizer:o.language.tokenizer}},35900:(e,t,n)=>{n.r(t),n.d(t,{conf:()=>p,language:()=>d});var o,r=n(90361),i=Object.defineProperty,s=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,c=Object.prototype.hasOwnProperty,g=(e,t,n,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))c.call(e,r)||r===n||i(e,r,{get:()=>t[r],enumerable:!(o=s(t,r))||o.enumerable});return e},l={};g(l,r,"default"),o&&g(o,r,"default");var p={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:l.languages.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:l.languages.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:l.languages.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:l.languages.IndentAction.None,removeText:1}}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],folding:{markers:{start:RegExp("^\\s*//\\s*#?region\\b"),end:RegExp("^\\s*//\\s*#?endregion\\b")}}},d={defaultToken:"invalid",tokenPostfix:".ts",keywords:["abstract","any","as","asserts","bigint","boolean","break","case","catch","class","continue","const","constructor","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","implements","import","in","infer","instanceof","interface","is","keyof","let","module","namespace","never","new","null","number","object","out","package","private","protected","public","override","readonly","require","global","return","satisfies","set","static","string","super","switch","symbol","this","throw","true","try","type","typeof","undefined","unique","unknown","var","void","while","with","yield","async","await","of"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<",">",">>>","&","|","^","!","~","&&","||","??","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@"],symbols:/[=>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"],[/`/,"string","@string_backtick"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([dgimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],string_single:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],string_backtick:[[/\$\{/,{token:"delimiter.bracket",next:"@bracketCounting"}],[/[^\\`$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/`/,"string","@pop"]],bracketCounting:[[/\{/,"delimiter.bracket","@bracketCounting"],[/\}/,"delimiter.bracket","@pop"],{include:"common"}]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/2388.js b/snaps-simulator/2.4.2/vendor/2388.js new file mode 100644 index 0000000000..719af80c35 --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/2388.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[2388],{42388:(t,e,i)=>{i.r(e),i.d(e,{conf:()=>r,language:()=>m});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var r={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{#","#}"]},brackets:[["{#","#}"],["{%","%}"],["{{","}}"],["(",")"],["[","]"],[""],["<",">"]],autoClosingPairs:[{open:"{# ",close:" #}"},{open:"{% ",close:" %}"},{open:"{{ ",close:" }}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}]},m={defaultToken:"",tokenPostfix:"",ignoreCase:!0,keywords:["apply","autoescape","block","deprecated","do","embed","extends","flush","for","from","if","import","include","macro","sandbox","set","use","verbatim","with","endapply","endautoescape","endblock","endembed","endfor","endif","endmacro","endsandbox","endset","endwith","true","false"],tokenizer:{root:[[/\s+/],[/{#/,"comment.twig","@commentState"],[/{%[-~]?/,"delimiter.twig","@blockState"],[/{{[-~]?/,"delimiter.twig","@variableState"],[/)/,["delimiter.html","tag.html","","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/|>=|<=/,"operators.twig"],[/(starts with|ends with|matches)(\s+)/,["operators.twig",""]],[/(in)(\s+)/,["operators.twig",""]],[/(is)(\s+)/,["operators.twig",""]],[/\||~|:|\.{1,2}|\?{1,2}/,"operators.twig"],[/[^\W\d][\w]*/,{cases:{"@keywords":"keyword.twig","@default":"variable.twig"}}],[/\d+(\.\d+)?/,"number.twig"],[/\(|\)|\[|\]|{|}|,/,"delimiter.twig"],[/"([^#"\\]*(?:\\.[^#"\\]*)*)"|\'([^\'\\]*(?:\\.[^\'\\]*)*)\'/,"string.twig"],[/"/,"string.twig","@stringState"],[/=>/,"operators.twig"],[/=/,"operators.twig"]],doctype:[[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name.html","@scriptAfterType"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter.html","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value.html",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value.html",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name.html","@styleAfterType"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter.html","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value.html",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value.html",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/2583.js b/snaps-simulator/2.4.2/vendor/2583.js new file mode 100644 index 0000000000..355955a71d --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/2583.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[2583],{62583:(e,t,r)=>{r.r(t),r.d(t,{conf:()=>n,language:()=>o});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var n={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},o={tokenPostfix:".julia",keywords:["begin","while","if","for","try","return","break","continue","function","macro","quote","let","local","global","const","do","struct","module","baremodule","using","import","export","end","else","elseif","catch","finally","mutable","primitive","abstract","type","in","isa","where","new"],types:["LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","AbstractArray","UndefKeywordError","AbstractChannel","UndefRefError","AbstractChar","UndefVarError","AbstractDict","Union","AbstractDisplay","UnionAll","AbstractFloat","UnitRange","AbstractIrrational","Unsigned","AbstractMatrix","AbstractRange","Val","AbstractSet","Vararg","AbstractString","VecElement","AbstractUnitRange","VecOrMat","AbstractVecOrMat","Vector","AbstractVector","VersionNumber","Any","WeakKeyDict","ArgumentError","WeakRef","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError"],keywordops:["<:",">:",":","=>","...",".","->","?"],allops:/[^\w\d\s()\[\]{}"'#]+/,constants:["true","false","nothing","missing","undef","Inf","pi","NaN","π","ℯ","ans","PROGRAM_FILE","ARGS","C_NULL","VERSION","DEPOT_PATH","LOAD_PATH"],operators:["!","!=","!==","%","&","*","+","-","/","//","<","<<","<=","==","===","=>",">",">=",">>",">>>","\\","^","|","|>","~","\xf7","∈","∉","∋","∌","∘","√","∛","∩","∪","≈","≉","≠","≡","≢","≤","≥","⊆","⊇","⊈","⊉","⊊","⊋","⊻"],brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],ident:/π|ℯ|\b(?!\d)\w+\b/,escape:/(?:[abefnrstv\\"'\n\r]|[0-7]{1,3}|x[0-9A-Fa-f]{1,2}|u[0-9A-Fa-f]{4})/,escapes:/\\(?:C\-(@escape|.)|c(@escape|.)|@escape)/,tokenizer:{root:[[/(::)\s*|\b(isa)\s+/,"keyword","@typeanno"],[/\b(isa)(\s*\(@ident\s*,\s*)/,["keyword",{token:"",next:"@typeanno"}]],[/\b(type|struct)[ \t]+/,"keyword","@typeanno"],[/^\s*:@ident[!?]?/,"metatag"],[/(return)(\s*:@ident[!?]?)/,["keyword","metatag"]],[/(\(|\[|\{|@allops)(\s*:@ident[!?]?)/,["","metatag"]],[/:\(/,"metatag","@quote"],[/r"""/,"regexp.delim","@tregexp"],[/r"/,"regexp.delim","@sregexp"],[/raw"""/,"string.delim","@rtstring"],[/[bv]?"""/,"string.delim","@dtstring"],[/raw"/,"string.delim","@rsstring"],[/[bv]?"/,"string.delim","@dsstring"],[/(@ident)\{/,{cases:{"$1@types":{token:"type",next:"@gen"},"@default":{token:"type",next:"@gen"}}}],[/@ident[!?'']?(?=\.?\()/,{cases:{"@types":"type","@keywords":"keyword","@constants":"variable","@default":"keyword.flow"}}],[/@ident[!?']?/,{cases:{"@types":"type","@keywords":"keyword","@constants":"variable","@default":"identifier"}}],[/\$\w+/,"key"],[/\$\(/,"key","@paste"],[/@@@ident/,"annotation"],{include:"@whitespace"},[/'(?:@escapes|.)'/,"string.character"],[/[()\[\]{}]/,"@brackets"],[/@allops/,{cases:{"@keywordops":"keyword","@operators":"operator"}}],[/[;,]/,"delimiter"],[/0[xX][0-9a-fA-F](_?[0-9a-fA-F])*/,"number.hex"],[/0[_oO][0-7](_?[0-7])*/,"number.octal"],[/0[bB][01](_?[01])*/,"number.binary"],[/[+\-]?\d+(\.\d+)?(im?|[eE][+\-]?\d+(\.\d+)?)?/,"number"]],typeanno:[[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/,"type","@gen"],[/([a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*)(\s*<:\s*)/,["type","keyword"]],[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/,"type","@pop"],["","","@pop"]],gen:[[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/,"type","@push"],[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/,"type"],[/<:/,"keyword"],[/(\})(\s*<:\s*)/,["type",{token:"keyword",next:"@pop"}]],[/\}/,"type","@pop"],{include:"@root"}],quote:[[/\$\(/,"key","@paste"],[/\(/,"@brackets","@paren"],[/\)/,"metatag","@pop"],{include:"@root"}],paste:[[/:\(/,"metatag","@quote"],[/\(/,"@brackets","@paren"],[/\)/,"key","@pop"],{include:"@root"}],paren:[[/\$\(/,"key","@paste"],[/:\(/,"metatag","@quote"],[/\(/,"@brackets","@push"],[/\)/,"@brackets","@pop"],{include:"@root"}],sregexp:[[/^.*/,"invalid"],[/[^\\"()\[\]{}]/,"regexp"],[/[()\[\]{}]/,"@brackets"],[/\\./,"operator.scss"],[/"[imsx]*/,"regexp.delim","@pop"]],tregexp:[[/[^\\"()\[\]{}]/,"regexp"],[/[()\[\]{}]/,"@brackets"],[/\\./,"operator.scss"],[/"(?!"")/,"string"],[/"""[imsx]*/,"regexp.delim","@pop"]],rsstring:[[/^.*/,"invalid"],[/[^\\"]/,"string"],[/\\./,"string.escape"],[/"/,"string.delim","@pop"]],rtstring:[[/[^\\"]/,"string"],[/\\./,"string.escape"],[/"(?!"")/,"string"],[/"""/,"string.delim","@pop"]],dsstring:[[/^.*/,"invalid"],[/[^\\"\$]/,"string"],[/\$/,"","@interpolated"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string.delim","@pop"]],dtstring:[[/[^\\"\$]/,"string"],[/\$/,"","@interpolated"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"(?!"")/,"string"],[/"""/,"string.delim","@pop"]],interpolated:[[/\(/,{token:"",switchTo:"@interpolated_compound"}],[/[a-zA-Z_]\w*/,"identifier"],["","","@pop"]],interpolated_compound:[[/\)/,"","@pop"],{include:"@root"}],whitespace:[[/[ \t\r\n]+/,""],[/#=/,"comment","@multi_comment"],[/#.*$/,"comment"]],multi_comment:[[/#=/,"comment","@push"],[/=#/,"comment","@pop"],[/=(?!#)|#(?!=)/,"comment"],[/[^#=]+/,"comment"]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/2862.js b/snaps-simulator/2.4.2/vendor/2862.js new file mode 100644 index 0000000000..265cbecbe3 --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/2862.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[2862],{12862:(e,n,o)=>{o.r(n),o.d(n,{conf:()=>t,language:()=>r});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var t={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["var","end_var"],["var_input","end_var"],["var_output","end_var"],["var_in_out","end_var"],["var_temp","end_var"],["var_global","end_var"],["var_access","end_var"],["var_external","end_var"],["type","end_type"],["struct","end_struct"],["program","end_program"],["function","end_function"],["function_block","end_function_block"],["action","end_action"],["step","end_step"],["initial_step","end_step"],["transaction","end_transaction"],["configuration","end_configuration"],["tcp","end_tcp"],["recource","end_recource"],["channel","end_channel"],["library","end_library"],["folder","end_folder"],["binaries","end_binaries"],["includes","end_includes"],["sources","end_sources"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"/*",close:"*/"},{open:"'",close:"'",notIn:["string_sq"]},{open:'"',close:'"',notIn:["string_dq"]},{open:"var_input",close:"end_var"},{open:"var_output",close:"end_var"},{open:"var_in_out",close:"end_var"},{open:"var_temp",close:"end_var"},{open:"var_global",close:"end_var"},{open:"var_access",close:"end_var"},{open:"var_external",close:"end_var"},{open:"type",close:"end_type"},{open:"struct",close:"end_struct"},{open:"program",close:"end_program"},{open:"function",close:"end_function"},{open:"function_block",close:"end_function_block"},{open:"action",close:"end_action"},{open:"step",close:"end_step"},{open:"initial_step",close:"end_step"},{open:"transaction",close:"end_transaction"},{open:"configuration",close:"end_configuration"},{open:"tcp",close:"end_tcp"},{open:"recource",close:"end_recource"},{open:"channel",close:"end_channel"},{open:"library",close:"end_library"},{open:"folder",close:"end_folder"},{open:"binaries",close:"end_binaries"},{open:"includes",close:"end_includes"},{open:"sources",close:"end_sources"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"var",close:"end_var"},{open:"var_input",close:"end_var"},{open:"var_output",close:"end_var"},{open:"var_in_out",close:"end_var"},{open:"var_temp",close:"end_var"},{open:"var_global",close:"end_var"},{open:"var_access",close:"end_var"},{open:"var_external",close:"end_var"},{open:"type",close:"end_type"},{open:"struct",close:"end_struct"},{open:"program",close:"end_program"},{open:"function",close:"end_function"},{open:"function_block",close:"end_function_block"},{open:"action",close:"end_action"},{open:"step",close:"end_step"},{open:"initial_step",close:"end_step"},{open:"transaction",close:"end_transaction"},{open:"configuration",close:"end_configuration"},{open:"tcp",close:"end_tcp"},{open:"recource",close:"end_recource"},{open:"channel",close:"end_channel"},{open:"library",close:"end_library"},{open:"folder",close:"end_folder"},{open:"binaries",close:"end_binaries"},{open:"includes",close:"end_includes"},{open:"sources",close:"end_sources"}],folding:{markers:{start:RegExp("^\\s*#pragma\\s+region\\b"),end:RegExp("^\\s*#pragma\\s+endregion\\b")}}},r={defaultToken:"",tokenPostfix:".st",ignoreCase:!0,brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["if","end_if","elsif","else","case","of","to","__try","__catch","__finally","do","with","by","while","repeat","end_while","end_repeat","end_case","for","end_for","task","retain","non_retain","constant","with","at","exit","return","interval","priority","address","port","on_channel","then","iec","file","uses","version","packagetype","displayname","copyright","summary","vendor","common_source","from","extends"],constant:["false","true","null"],defineKeywords:["var","var_input","var_output","var_in_out","var_temp","var_global","var_access","var_external","end_var","type","end_type","struct","end_struct","program","end_program","function","end_function","function_block","end_function_block","interface","end_interface","method","end_method","property","end_property","namespace","end_namespace","configuration","end_configuration","tcp","end_tcp","resource","end_resource","channel","end_channel","library","end_library","folder","end_folder","binaries","end_binaries","includes","end_includes","sources","end_sources","action","end_action","step","initial_step","end_step","transaction","end_transaction"],typeKeywords:["int","sint","dint","lint","usint","uint","udint","ulint","real","lreal","time","date","time_of_day","date_and_time","string","bool","byte","word","dword","array","pointer","lword"],operators:["=",">","<",":",":=","<=",">=","<>","&","+","-","*","**","MOD","^","or","and","not","xor","abs","acos","asin","atan","cos","exp","expt","ln","log","sin","sqrt","tan","sel","max","min","limit","mux","shl","shr","rol","ror","indexof","sizeof","adr","adrinst","bitadr","is_valid","ref","ref_to"],builtinVariables:[],builtinFunctions:["sr","rs","tp","ton","tof","eq","ge","le","lt","ne","round","trunc","ctd","сtu","ctud","r_trig","f_trig","move","concat","delete","find","insert","left","len","replace","right","rtc"],symbols:/[=>{t.r(o),t.d(o,{conf:()=>n,language:()=>i});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var n={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},i={defaultToken:"",tokenPostfix:".swift",identifier:/[a-zA-Z_][\w$]*/,attributes:["@GKInspectable","@IBAction","@IBDesignable","@IBInspectable","@IBOutlet","@IBSegueAction","@NSApplicationMain","@NSCopying","@NSManaged","@Sendable","@UIApplicationMain","@autoclosure","@actorIndependent","@asyncHandler","@available","@convention","@derivative","@differentiable","@discardableResult","@dynamicCallable","@dynamicMemberLookup","@escaping","@frozen","@globalActor","@inlinable","@inline","@main","@noDerivative","@nonobjc","@noreturn","@objc","@objcMembers","@preconcurrency","@propertyWrapper","@requires_stored_property_inits","@resultBuilder","@testable","@unchecked","@unknown","@usableFromInline","@warn_unqualified_access"],accessmodifiers:["open","public","internal","fileprivate","private"],keywords:["#available","#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning","Any","Protocol","Self","Type","actor","as","assignment","associatedtype","associativity","async","await","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","do","dynamic","dynamicType","else","enum","extension","fallthrough","false","fileprivate","final","for","func","get","guard","higherThan","if","import","in","indirect","infix","init","inout","internal","is","isolated","lazy","left","let","lowerThan","mutating","nil","none","nonisolated","nonmutating","open","operator","optional","override","postfix","precedence","precedencegroup","prefix","private","protocol","public","repeat","required","rethrows","return","right","safe","self","set","some","static","struct","subscript","super","switch","throw","throws","true","try","typealias","unowned","unsafe","var","weak","where","while","willSet","__consuming","__owned"],symbols:/[=(){}\[\].,:;@#\_&\-<>`?!+*\\\/]/,operatorstart:/[\/=\-+!*%<>&|^~?\u00A1-\u00A7\u00A9\u00AB\u00AC\u00AE\u00B0-\u00B1\u00B6\u00BB\u00BF\u00D7\u00F7\u2016-\u2017\u2020-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u23FF\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3030]/,operatorend:/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE00-\uFE0F\uFE20-\uFE2F\uE0100-\uE01EF]/,operators:/(@operatorstart)((@operatorstart)|(@operatorend))*/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},{include:"@attribute"},{include:"@literal"},{include:"@keyword"},{include:"@invokedmethod"},{include:"@symbol"}],whitespace:[[/\s+/,"white"],[/"""/,"string.quote","@endDblDocString"]],endDblDocString:[[/[^"]+/,"string"],[/\\"/,"string"],[/"""/,"string.quote","@popall"],[/"/,"string"]],symbol:[[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/[.]/,"delimiter"],[/@operators/,"operator"],[/@symbols/,"operator"]],comment:[[/\/\/\/.*$/,"comment.doc"],[/\/\*\*/,"comment.doc","@commentdocbody"],[/\/\/.*$/,"comment"],[/\/\*/,"comment","@commentbody"]],commentdocbody:[[/\/\*/,"comment","@commentbody"],[/\*\//,"comment.doc","@pop"],[/\:[a-zA-Z]+\:/,"comment.doc.param"],[/./,"comment.doc"]],commentbody:[[/\/\*/,"comment","@commentbody"],[/\*\//,"comment","@pop"],[/./,"comment"]],attribute:[[/@@@identifier/,{cases:{"@attributes":"keyword.control","@default":""}}]],literal:[[/"/,{token:"string.quote",next:"@stringlit"}],[/0[b]([01]_?)+/,"number.binary"],[/0[o]([0-7]_?)+/,"number.octal"],[/0[x]([0-9a-fA-F]_?)+([pP][\-+](\d_?)+)?/,"number.hex"],[/(\d_?)*\.(\d_?)+([eE][\-+]?(\d_?)+)?/,"number.float"],[/(\d_?)+/,"number"]],stringlit:[[/\\\(/,{token:"operator",next:"@interpolatedexpression"}],[/@escapes/,"string"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",next:"@pop"}],[/./,"string"]],interpolatedexpression:[[/\(/,{token:"operator",next:"@interpolatedexpression"}],[/\)/,{token:"operator",next:"@pop"}],{include:"@literal"},{include:"@keyword"},{include:"@symbol"}],keyword:[[/`/,{token:"operator",next:"@escapedkeyword"}],[/@identifier/,{cases:{"@keywords":"keyword","[A-Z][a-zA-Z0-9$]*":"type.identifier","@default":"identifier"}}]],escapedkeyword:[[/`/,{token:"operator",next:"@pop"}],[/./,"identifier"]],invokedmethod:[[/([.])(@identifier)/,{cases:{$2:["delimeter","type.identifier"],"@default":""}}]]}};/*!--------------------------------------------------------------------------------------------- + * Copyright (C) David Owens II, owensd.io. All rights reserved. + *--------------------------------------------------------------------------------------------*/}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/300.js b/snaps-simulator/2.4.2/vendor/300.js new file mode 100644 index 0000000000..6248eb9f17 --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/300.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[300],{54724:(e,t,p)=>{p.r(t),p.d(t,{conf:()=>n,language:()=>i});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var n={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:"(",close:")",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],folding:{markers:{start:RegExp("^\\s*(#|//)region\\b"),end:RegExp("^\\s*(#|//)endregion\\b")}}},i={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.root"}],[/)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],phpInSimpleState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3"}],{include:"phpRoot"}],phpInEmbeddedState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"phpRoot"}],phpRoot:[[/[a-zA-Z_]\w*/,{cases:{"@phpKeywords":{token:"keyword.php"},"@phpCompileTimeConstants":{token:"constant.php"},"@default":"identifier.php"}}],[/[$a-zA-Z_]\w*/,{cases:{"@phpPreDefinedVariables":{token:"variable.predefined.php"},"@default":"variable.php"}}],[/[{}]/,"delimiter.bracket.php"],[/[\[\]]/,"delimiter.array.php"],[/[()]/,"delimiter.parenthesis.php"],[/[ \t\r\n]+/],[/(#|\/\/)$/,"comment.php"],[/(#|\/\/)/,"comment.php","@phpLineComment"],[/\/\*/,"comment.php","@phpComment"],[/"/,"string.php","@phpDoubleQuoteString"],[/'/,"string.php","@phpSingleQuoteString"],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,\@]/,"delimiter.php"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.php"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.php"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.php"],[/0[0-7']*[0-7]/,"number.octal.php"],[/0[bB][0-1']*[0-1]/,"number.binary.php"],[/\d[\d']*/,"number.php"],[/\d/,"number.php"]],phpComment:[[/\*\//,"comment.php","@pop"],[/[^*]+/,"comment.php"],[/./,"comment.php"]],phpLineComment:[[/\?>/,{token:"@rematch",next:"@pop"}],[/.$/,"comment.php","@pop"],[/[^?]+$/,"comment.php","@pop"],[/[^?]+/,"comment.php"],[/./,"comment.php"]],phpDoubleQuoteString:[[/[^\\"]+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/"/,"string.php","@pop"]],phpSingleQuoteString:[[/[^\\']+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/'/,"string.php","@pop"]]},phpKeywords:["abstract","and","array","as","break","callable","case","catch","cfunction","class","clone","const","continue","declare","default","do","else","elseif","enddeclare","endfor","endforeach","endif","endswitch","endwhile","extends","false","final","for","foreach","function","global","goto","if","implements","interface","instanceof","insteadof","namespace","new","null","object","old_function","or","private","protected","public","resource","static","switch","throw","trait","try","true","use","var","while","xor","die","echo","empty","exit","eval","include","include_once","isset","list","require","require_once","return","print","unset","yield","__construct"],phpCompileTimeConstants:["__CLASS__","__DIR__","__FILE__","__LINE__","__NAMESPACE__","__METHOD__","__FUNCTION__","__TRAIT__"],phpPreDefinedVariables:["$GLOBALS","$_SERVER","$_GET","$_POST","$_FILES","$_REQUEST","$_SESSION","$_ENV","$_COOKIE","$php_errormsg","$HTTP_RAW_POST_DATA","$http_response_header","$argc","$argv"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/3008.js b/snaps-simulator/2.4.2/vendor/3008.js new file mode 100644 index 0000000000..154b7ad757 --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/3008.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[3008],{23008:(e,n,s)=>{s.r(n),s.d(n,{conf:()=>i,language:()=>t});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var i={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">",notIn:["string"]}],surroundingPairs:[{open:"(",close:")"},{open:"[",close:"]"},{open:"`",close:"`"}],folding:{markers:{start:RegExp("^\\s*"),end:RegExp("^\\s*")}}},t={defaultToken:"",tokenPostfix:".rst",control:/[\\`*_\[\]{}()#+\-\.!]/,escapes:/\\(?:@control)/,empty:["area","base","basefont","br","col","frame","hr","img","input","isindex","link","meta","param"],alphanumerics:/[A-Za-z0-9]/,simpleRefNameWithoutBq:/(?:@alphanumerics[-_+:.]*@alphanumerics)+|(?:@alphanumerics+)/,simpleRefName:/(?:`@phrase`|@simpleRefNameWithoutBq)/,phrase:/@simpleRefNameWithoutBq(?:\s@simpleRefNameWithoutBq)*/,citationName:/[A-Za-z][A-Za-z0-9-_.]*/,blockLiteralStart:/(?:[!"#$%&'()*+,-./:;<=>?@\[\]^_`{|}~]|[\s])/,precedingChars:/(?:[ -:/'"<([{])/,followingChars:/(?:[ -.,:;!?/'")\]}>]|$)/,punctuation:/(=|-|~|`|#|"|\^|\+|\*|:|\.|'|_|\+)/,tokenizer:{root:[[/^(@punctuation{3,}$){1,1}?/,"keyword"],[/^\s*([\*\-+‣•]|[a-zA-Z0-9]+\.|\([a-zA-Z0-9]+\)|[a-zA-Z0-9]+\))\s/,"keyword"],[/([ ]::)\s*$/,"keyword","@blankLineOfLiteralBlocks"],[/(::)\s*$/,"keyword","@blankLineOfLiteralBlocks"],{include:"@tables"},{include:"@explicitMarkupBlocks"},{include:"@inlineMarkup"}],explicitMarkupBlocks:[{include:"@citations"},{include:"@footnotes"},[/^(\.\.\s)(@simpleRefName)(::\s)(.*)$/,[{token:"",next:"subsequentLines"},"keyword","",""]],[/^(\.\.)(\s+)(_)(@simpleRefName)(:)(\s+)(.*)/,[{token:"",next:"hyperlinks"},"","","string.link","","","string.link"]],[/^((?:(?:\.\.)(?:\s+))?)(__)(:)(\s+)(.*)/,[{token:"",next:"subsequentLines"},"","","","string.link"]],[/^(__\s+)(.+)/,["","string.link"]],[/^(\.\.)( \|)([^| ]+[^|]*[^| ]*)(\| )(@simpleRefName)(:: .*)/,[{token:"",next:"subsequentLines"},"","string.link","","keyword",""],"@rawBlocks"],[/(\|)([^| ]+[^|]*[^| ]*)(\|_{0,2})/,["","string.link",""]],[/^(\.\.)([ ].*)$/,[{token:"",next:"@comments"},"comment"]]],inlineMarkup:[{include:"@citationsReference"},{include:"@footnotesReference"},[/(@simpleRefName)(_{1,2})/,["string.link",""]],[/(`)([^<`]+\s+)(<)(.*)(>)(`)(_)/,["","string.link","","string.link","","",""]],[/\*\*([^\\*]|\*(?!\*))+\*\*/,"strong"],[/\*[^*]+\*/,"emphasis"],[/(``)((?:[^`]|\`(?!`))+)(``)/,["","keyword",""]],[/(__\s+)(.+)/,["","keyword"]],[/(:)((?:@simpleRefNameWithoutBq)?)(:`)([^`]+)(`)/,["","keyword","","",""]],[/(`)([^`]+)(`:)((?:@simpleRefNameWithoutBq)?)(:)/,["","","","keyword",""]],[/(`)([^`]+)(`)/,""],[/(_`)(@phrase)(`)/,["","string.link",""]]],citations:[[/^(\.\.\s+\[)((?:@citationName))(\]\s+)(.*)/,[{token:"",next:"@subsequentLines"},"string.link","",""]]],citationsReference:[[/(\[)(@citationName)(\]_)/,["","string.link",""]]],footnotes:[[/^(\.\.\s+\[)((?:[0-9]+))(\]\s+.*)/,[{token:"",next:"@subsequentLines"},"string.link",""]],[/^(\.\.\s+\[)((?:#@simpleRefName?))(\]\s+)(.*)/,[{token:"",next:"@subsequentLines"},"string.link","",""]],[/^(\.\.\s+\[)((?:\*))(\]\s+)(.*)/,[{token:"",next:"@subsequentLines"},"string.link","",""]]],footnotesReference:[[/(\[)([0-9]+)(\])(_)/,["","string.link","",""]],[/(\[)(#@simpleRefName?)(\])(_)/,["","string.link","",""]],[/(\[)(\*)(\])(_)/,["","string.link","",""]]],blankLineOfLiteralBlocks:[[/^$/,"","@subsequentLinesOfLiteralBlocks"],[/^.*$/,"","@pop"]],subsequentLinesOfLiteralBlocks:[[/(@blockLiteralStart+)(.*)/,["keyword",""]],[/^(?!blockLiteralStart)/,"","@popall"]],subsequentLines:[[/^[\s]+.*/,""],[/^(?!\s)/,"","@pop"]],hyperlinks:[[/^[\s]+.*/,"string.link"],[/^(?!\s)/,"","@pop"]],comments:[[/^[\s]+.*/,"comment"],[/^(?!\s)/,"","@pop"]],tables:[[/\+-[+-]+/,"keyword"],[/\+=[+=]+/,"keyword"]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/3315.js b/snaps-simulator/2.4.2/vendor/3315.js new file mode 100644 index 0000000000..9da444c21e --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/3315.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[3315],{3315:(e,o,n)=>{n.r(o),n.d(o,{conf:()=>t,language:()=>s});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var t={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}]},s={defaultToken:"",tokenPostfix:".pascaligo",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["begin","block","case","const","else","end","fail","for","from","function","if","is","nil","of","remove","return","skip","then","type","var","while","with","option","None","transaction"],typeKeywords:["bool","int","list","map","nat","record","string","unit","address","map","mtz","xtz"],operators:["=",">","<","<=",">=","<>",":",":=","and","mod","or","+","-","*","/","@","&","^","%"],symbols:/[=><:@\^&|+\-*\/\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\$[0-9a-fA-F]{1,16}/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'/,"string","@string"],[/'[^\\']'/,"string"],[/'/,"string.invalid"],[/\#\d+/,"string"]],comment:[[/[^\(\*]+/,"comment"],[/\*\)/,"comment","@pop"],[/\(\*/,"comment"]],string:[[/[^\\']+/,"string"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\(\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/3399.js b/snaps-simulator/2.4.2/vendor/3399.js new file mode 100644 index 0000000000..b3a5decd9d --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/3399.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[3399],{63399:(e,t,s)=>{s.r(t),s.d(t,{conf:()=>n,language:()=>i});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var n={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:))")}}},i={defaultToken:"",tokenPostfix:".java",keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false","yield","record","sealed","non-sealed","permits"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/0[xX](@hexdigits)[Ll]?/,"number.hex"],[/0(@octaldigits)[Ll]?/,"number.octal"],[/0[bB](@binarydigits)[Ll]?/,"number.binary"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@javadoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],javadoc:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],multistring:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"""/,"string","@pop"],[/./,"string"]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/3504.js b/snaps-simulator/2.4.2/vendor/3504.js new file mode 100644 index 0000000000..cbcdea5d61 --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/3504.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[3504],{63504:(E,S,e)=>{e.r(S),e.d(S,{conf:()=>T,language:()=>R});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var T={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},R={defaultToken:"",tokenPostfix:".redis",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["APPEND","AUTH","BGREWRITEAOF","BGSAVE","BITCOUNT","BITFIELD","BITOP","BITPOS","BLPOP","BRPOP","BRPOPLPUSH","CLIENT","KILL","LIST","GETNAME","PAUSE","REPLY","SETNAME","CLUSTER","ADDSLOTS","COUNT-FAILURE-REPORTS","COUNTKEYSINSLOT","DELSLOTS","FAILOVER","FORGET","GETKEYSINSLOT","INFO","KEYSLOT","MEET","NODES","REPLICATE","RESET","SAVECONFIG","SET-CONFIG-EPOCH","SETSLOT","SLAVES","SLOTS","COMMAND","COUNT","GETKEYS","CONFIG","GET","REWRITE","SET","RESETSTAT","DBSIZE","DEBUG","OBJECT","SEGFAULT","DECR","DECRBY","DEL","DISCARD","DUMP","ECHO","EVAL","EVALSHA","EXEC","EXISTS","EXPIRE","EXPIREAT","FLUSHALL","FLUSHDB","GEOADD","GEOHASH","GEOPOS","GEODIST","GEORADIUS","GEORADIUSBYMEMBER","GETBIT","GETRANGE","GETSET","HDEL","HEXISTS","HGET","HGETALL","HINCRBY","HINCRBYFLOAT","HKEYS","HLEN","HMGET","HMSET","HSET","HSETNX","HSTRLEN","HVALS","INCR","INCRBY","INCRBYFLOAT","KEYS","LASTSAVE","LINDEX","LINSERT","LLEN","LPOP","LPUSH","LPUSHX","LRANGE","LREM","LSET","LTRIM","MGET","MIGRATE","MONITOR","MOVE","MSET","MSETNX","MULTI","PERSIST","PEXPIRE","PEXPIREAT","PFADD","PFCOUNT","PFMERGE","PING","PSETEX","PSUBSCRIBE","PUBSUB","PTTL","PUBLISH","PUNSUBSCRIBE","QUIT","RANDOMKEY","READONLY","READWRITE","RENAME","RENAMENX","RESTORE","ROLE","RPOP","RPOPLPUSH","RPUSH","RPUSHX","SADD","SAVE","SCARD","SCRIPT","FLUSH","LOAD","SDIFF","SDIFFSTORE","SELECT","SETBIT","SETEX","SETNX","SETRANGE","SHUTDOWN","SINTER","SINTERSTORE","SISMEMBER","SLAVEOF","SLOWLOG","SMEMBERS","SMOVE","SORT","SPOP","SRANDMEMBER","SREM","STRLEN","SUBSCRIBE","SUNION","SUNIONSTORE","SWAPDB","SYNC","TIME","TOUCH","TTL","TYPE","UNSUBSCRIBE","UNLINK","UNWATCH","WAIT","WATCH","ZADD","ZCARD","ZCOUNT","ZINCRBY","ZINTERSTORE","ZLEXCOUNT","ZRANGE","ZRANGEBYLEX","ZREVRANGEBYLEX","ZRANGEBYSCORE","ZRANK","ZREM","ZREMRANGEBYLEX","ZREMRANGEBYRANK","ZREMRANGEBYSCORE","ZREVRANGE","ZREVRANGEBYSCORE","ZREVRANK","ZSCORE","ZUNIONSTORE","SCAN","SSCAN","HSCAN","ZSCAN"],operators:[],builtinFunctions:[],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}],[/"/,{token:"string.double",next:"@stringDouble"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],stringDouble:[[/[^"]+/,"string.double"],[/""/,"string.double"],[/"/,{token:"string.double",next:"@pop"}]],scopes:[]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/3553.js b/snaps-simulator/2.4.2/vendor/3553.js new file mode 100644 index 0000000000..4a40d5c7eb --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/3553.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[3553],{53553:(e,s,o)=>{o.r(s),o.d(s,{conf:()=>t,language:()=>n});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var t={comments:{lineComment:"REM"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],folding:{markers:{start:RegExp("^\\s*(::\\s*|REM\\s+)#region"),end:RegExp("^\\s*(::\\s*|REM\\s+)#endregion")}}},n={defaultToken:"",ignoreCase:!0,tokenPostfix:".bat",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:/call|defined|echo|errorlevel|exist|for|goto|if|pause|set|shift|start|title|not|pushd|popd/,symbols:/[=>{r.r(t),r.d(t,{conf:()=>s,language:()=>n});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var s={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{blockComment:["###","###"],lineComment:"#"},folding:{markers:{start:RegExp("^\\s*#region\\b"),end:RegExp("^\\s*#endregion\\b")}}},n={defaultToken:"",ignoreCase:!1,tokenPostfix:".mips",regEx:/\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,keywords:[".data",".text","syscall","trap","add","addu","addi","addiu","and","andi","div","divu","mult","multu","nor","or","ori","sll","slv","sra","srav","srl","srlv","sub","subu","xor","xori","lhi","lho","lhi","llo","slt","slti","sltu","sltiu","beq","bgtz","blez","bne","j","jal","jalr","jr","lb","lbu","lh","lhu","lw","li","la","sb","sh","sw","mfhi","mflo","mthi","mtlo","move"],symbols:/[\.,\:]+/,escapes:/\\(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/\$[a-zA-Z_]\w*/,"variable.predefined"],[/[.a-zA-Z_]\w*/,{cases:{this:"variable.predefined","@keywords":{token:"keyword.$0"},"@default":""}}],[/[ \t\r\n]+/,""],[/#.*$/,"comment"],["///",{token:"regexp",next:"@hereregexp"}],[/^(\s*)(@regEx)/,["","regexp"]],[/(\,)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\:)(\s*)(@regEx)/,["delimiter","","regexp"]],[/@symbols/,"delimiter"],[/\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d+\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/0[0-7]+(?!\d)/,"number.octal"],[/\d+/,"number"],[/[,.]/,"delimiter"],[/"""/,"string",'@herestring."""'],[/'''/,"string","@herestring.'''"],[/"/,{cases:{"@eos":"string","@default":{token:"string",next:'@string."'}}}],[/'/,{cases:{"@eos":"string","@default":{token:"string",next:"@string.'"}}}]],string:[[/[^"'\#\\]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/\./,"string.escape.invalid"],[/#{/,{cases:{'$S2=="':{token:"string",next:"root.interpolatedstring"},"@default":"string"}}],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/#/,"string"]],herestring:[[/("""|''')/,{cases:{"$1==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/[^#\\'"]+/,"string"],[/['"]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/#{/,{token:"string.quote",next:"root.interpolatedstring"}],[/#/,"string"]],comment:[[/[^#]+/,"comment"],[/#/,"comment"]],hereregexp:[[/[^\\\/#]+/,"regexp"],[/\\./,"regexp"],[/#.*$/,"comment"],["///[igm]*",{token:"regexp",next:"@pop"}],[/\//,"regexp"]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/3855.js b/snaps-simulator/2.4.2/vendor/3855.js new file mode 100644 index 0000000000..43a2cf9426 --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/3855.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[3855],{53855:(e,t,i)=>{i.r(t),i.d(t,{conf:()=>o,language:()=>n});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var o={comments:{lineComment:"COMMENT"},brackets:[["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:":",close:"."}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`"},{open:'"',close:'"'},{open:"'",close:"'"},{open:":",close:"."}],folding:{markers:{start:RegExp("^\\s*(::\\s*|COMMENT\\s+)#region"),end:RegExp("^\\s*(::\\s*|COMMENT\\s+)#endregion")}}},n={tokenPostfix:".lexon",ignoreCase:!0,keywords:["lexon","lex","clause","terms","contracts","may","pay","pays","appoints","into","to"],typeKeywords:["amount","person","key","time","date","asset","text"],operators:["less","greater","equal","le","gt","or","and","add","added","subtract","subtracted","multiply","multiplied","times","divide","divided","is","be","certified"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\.\d*\.\d*/,"number.semver"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"]],quoted_identifier:[[/[^\\"]+/,"identifier"],[/"/,{token:"identifier.quote",bracket:"@close",next:"@pop"}]],space_identifier_until_period:[[":","delimiter"],[" ",{token:"white",next:"@identifier_rest"}]],identifier_until_period:[{include:"@whitespace"},[":",{token:"delimiter",next:"@identifier_rest"}],[/[^\\.]+/,"identifier"],[/\./,{token:"delimiter",bracket:"@close",next:"@pop"}]],identifier_rest:[[/[^\\.]+/,"identifier"],[/\./,{token:"delimiter",bracket:"@close",next:"@pop"}]],semver:[{include:"@whitespace"},[":","delimiter"],[/\d*\.\d*\.\d*/,{token:"number.semver",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/4035.js b/snaps-simulator/2.4.2/vendor/4035.js new file mode 100644 index 0000000000..e5f40a7665 --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/4035.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[4035],{44035:(e,n,t)=>{t.r(n),t.d(n,{conf:()=>r,language:()=>i});var o=`[ \\t\\r\\n]`,r={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'"},{open:"'''",close:"'''"}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:"'''",close:"'''",notIn:["string","comment"]}],autoCloseBefore:":.,=}])' \n ",indentationRules:{increaseIndentPattern:RegExp("^((?!\\/\\/).)*(\\{[^}\"'`]*|\\([^)\"'`]*|\\[[^\\]\"'`]*)$"),decreaseIndentPattern:RegExp("^((?!.*?\\/\\*).*\\*/)?\\s*[\\}\\]].*$")}},i={defaultToken:"",tokenPostfix:".bicep",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],symbols:/[=>{r.r(o),r.d(o,{conf:()=>t,language:()=>a});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var t={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},a={defaultToken:"",tokenPostfix:".r",roxygen:["@alias","@aliases","@assignee","@author","@backref","@callGraph","@callGraphDepth","@callGraphPrimitives","@concept","@describeIn","@description","@details","@docType","@encoding","@evalNamespace","@evalRd","@example","@examples","@export","@exportClass","@exportMethod","@exportPattern","@family","@field","@formals","@format","@import","@importClassesFrom","@importFrom","@importMethodsFrom","@include","@inherit","@inheritDotParams","@inheritParams","@inheritSection","@keywords","@md","@method","@name","@noMd","@noRd","@note","@param","@rawNamespace","@rawRd","@rdname","@references","@return","@S3method","@section","@seealso","@setClass","@slot","@source","@template","@templateVar","@title","@TODO","@usage","@useDynLib"],constants:["NULL","FALSE","TRUE","NA","Inf","NaN","NA_integer_","NA_real_","NA_complex_","NA_character_","T","F","LETTERS","letters","month.abb","month.name","pi","R.version.string"],keywords:["break","next","return","if","else","for","in","repeat","while","array","category","character","complex","double","function","integer","list","logical","matrix","numeric","vector","data.frame","factor","library","require","attach","detach","source"],special:["\\n","\\r","\\t","\\b","\\a","\\f","\\v","\\'",'\\"',"\\\\"],brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],tokenizer:{root:[{include:"@numbers"},{include:"@strings"},[/[{}\[\]()]/,"@brackets"],{include:"@operators"},[/#'$/,"comment.doc"],[/#'/,"comment.doc","@roxygen"],[/(^#.*$)/,"comment"],[/\s+/,"white"],[/[,:;]/,"delimiter"],[/@[a-zA-Z]\w*/,"tag"],[/[a-zA-Z]\w*/,{cases:{"@keywords":"keyword","@constants":"constant","@default":"identifier"}}]],roxygen:[[/@\w+/,{cases:{"@roxygen":"tag","@eos":{token:"comment.doc",next:"@pop"},"@default":"comment.doc"}}],[/\s+/,{cases:{"@eos":{token:"comment.doc",next:"@pop"},"@default":"comment.doc"}}],[/.*/,{token:"comment.doc",next:"@pop"}]],numbers:[[/0[xX][0-9a-fA-F]+/,"number.hex"],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?/,"number"]],operators:[[/<{1,2}-/,"operator"],[/->{1,2}/,"operator"],[/%[^%\s]+%/,"operator"],[/\*\*/,"operator"],[/%%/,"operator"],[/&&/,"operator"],[/\|\|/,"operator"],[/<>/,"operator"],[/[-+=&|!<>^~*/:$]/,"operator"]],strings:[[/'/,"string.escape","@stringBody"],[/"/,"string.escape","@dblStringBody"]],stringBody:[[/\\./,{cases:{"@special":"string","@default":"error-token"}}],[/'/,"string.escape","@popall"],[/./,"string"]],dblStringBody:[[/\\./,{cases:{"@special":"string","@default":"error-token"}}],[/"/,"string.escape","@popall"],[/./,"string"]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/4246.js b/snaps-simulator/2.4.2/vendor/4246.js new file mode 100644 index 0000000000..da5800eef3 --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/4246.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[4246],{14246:(e,t,n)=>{n.r(t),n.d(t,{CompletionAdapter:()=>eC,DefinitionAdapter:()=>eT,DiagnosticsAdapter:()=>eb,DocumentColorAdapter:()=>eN,DocumentFormattingEditProvider:()=>eL,DocumentHighlightAdapter:()=>eS,DocumentLinkAdapter:()=>ej,DocumentRangeFormattingEditProvider:()=>eF,DocumentSymbolAdapter:()=>eP,FoldingRangeAdapter:()=>eW,HoverAdapter:()=>ex,ReferenceAdapter:()=>eD,RenameAdapter:()=>eM,SelectionRangeAdapter:()=>eU,WorkerManager:()=>em,fromPosition:()=>ew,fromRange:()=>ey,setupMode:()=>eG,toRange:()=>eE,toTextEdit:()=>eA});var r,i,o,a,s,c,u,d,l,g,f,h,p,m,v,_,k,b,C,w,y,E,A,x,I,S,T,R,D,M,P,j,L,F,O,N,W,U,V,H,z,K,q,X,B,$,Q,G,J,Y,Z,ee,et,en,er,ei,eo,ea,es,ec,eu=n(90361),ed=Object.defineProperty,el=Object.getOwnPropertyDescriptor,eg=Object.getOwnPropertyNames,ef=Object.prototype.hasOwnProperty,eh=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of eg(t))ef.call(e,i)||i===n||ed(e,i,{get:()=>t[i],enumerable:!(r=el(t,i))||r.enumerable});return e},ep={};eh(ep,eu,"default"),r&&eh(r,eu,"default");var em=class{_defaults;_idleCheckInterval;_lastUsedTime;_configChangeListener;_worker;_client;constructor(e){this._defaults=e,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){this._worker&&Date.now()-this._lastUsedTime>12e4&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=ep.editor.createWebWorker({moduleId:"vs/language/json/jsonWorker",label:this._defaults.languageId,createData:{languageSettings:this._defaults.diagnosticsOptions,languageId:this._defaults.languageId,enableSchemaRequest:this._defaults.diagnosticsOptions.enableSchemaRequest}}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...e){let t;return this._getClient().then(e=>{t=e}).then(t=>{if(this._worker)return this._worker.withSyncedResources(e)}).then(e=>t)}};!function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647}(i||(i={})),function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647}(o||(o={})),function(e){e.create=function(e,t){return e===Number.MAX_VALUE&&(e=o.MAX_VALUE),t===Number.MAX_VALUE&&(t=o.MAX_VALUE),{line:e,character:t}},e.is=function(e){return es.objectLiteral(e)&&es.uinteger(e.line)&&es.uinteger(e.character)}}(a||(a={})),function(e){e.create=function(e,t,n,r){if(es.uinteger(e)&&es.uinteger(t)&&es.uinteger(n)&&es.uinteger(r))return{start:a.create(e,t),end:a.create(n,r)};if(a.is(e)&&a.is(t))return{start:e,end:t};throw Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+r+"]")},e.is=function(e){return es.objectLiteral(e)&&a.is(e.start)&&a.is(e.end)}}(s||(s={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){return es.defined(e)&&s.is(e.range)&&(es.string(e.uri)||es.undefined(e.uri))}}(c||(c={})),function(e){e.create=function(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}},e.is=function(e){return es.defined(e)&&s.is(e.targetRange)&&es.string(e.targetUri)&&(s.is(e.targetSelectionRange)||es.undefined(e.targetSelectionRange))&&(s.is(e.originSelectionRange)||es.undefined(e.originSelectionRange))}}(u||(u={})),function(e){e.create=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},e.is=function(e){return es.numberRange(e.red,0,1)&&es.numberRange(e.green,0,1)&&es.numberRange(e.blue,0,1)&&es.numberRange(e.alpha,0,1)}}(d||(d={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){return s.is(e.range)&&d.is(e.color)}}(l||(l={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){return es.string(e.label)&&(es.undefined(e.textEdit)||C.is(e))&&(es.undefined(e.additionalTextEdits)||es.typedArray(e.additionalTextEdits,C.is))}}(g||(g={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(f||(f={})),function(e){e.create=function(e,t,n,r,i){var o={startLine:e,endLine:t};return es.defined(n)&&(o.startCharacter=n),es.defined(r)&&(o.endCharacter=r),es.defined(i)&&(o.kind=i),o},e.is=function(e){return es.uinteger(e.startLine)&&es.uinteger(e.startLine)&&(es.undefined(e.startCharacter)||es.uinteger(e.startCharacter))&&(es.undefined(e.endCharacter)||es.uinteger(e.endCharacter))&&(es.undefined(e.kind)||es.string(e.kind))}}(h||(h={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){return es.defined(e)&&c.is(e.location)&&es.string(e.message)}}(p||(p={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(m||(m={})),function(e){e.Unnecessary=1,e.Deprecated=2}(v||(v={})),(_||(_={})).is=function(e){return null!=e&&es.string(e.href)},function(e){e.create=function(e,t,n,r,i,o){var a={range:e,message:t};return es.defined(n)&&(a.severity=n),es.defined(r)&&(a.code=r),es.defined(i)&&(a.source=i),es.defined(o)&&(a.relatedInformation=o),a},e.is=function(e){var t;return es.defined(e)&&s.is(e.range)&&es.string(e.message)&&(es.number(e.severity)||es.undefined(e.severity))&&(es.integer(e.code)||es.string(e.code)||es.undefined(e.code))&&(es.undefined(e.codeDescription)||es.string(null===(t=e.codeDescription)||void 0===t?void 0:t.href))&&(es.string(e.source)||es.undefined(e.source))&&(es.undefined(e.relatedInformation)||es.typedArray(e.relatedInformation,p.is))}}(k||(k={})),function(e){e.create=function(e,t){for(var n=[],r=2;r0&&(i.arguments=n),i},e.is=function(e){return es.defined(e)&&es.string(e.title)&&es.string(e.command)}}(b||(b={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){return es.objectLiteral(e)&&es.string(e.newText)&&s.is(e.range)}}(C||(C={})),function(e){e.create=function(e,t,n){var r={label:e};return void 0!==t&&(r.needsConfirmation=t),void 0!==n&&(r.description=n),r},e.is=function(e){return void 0!==e&&es.objectLiteral(e)&&es.string(e.label)&&(es.boolean(e.needsConfirmation)||void 0===e.needsConfirmation)&&(es.string(e.description)||void 0===e.description)}}(w||(w={})),(y||(y={})).is=function(e){return"string"==typeof e},function(e){e.replace=function(e,t,n){return{range:e,newText:t,annotationId:n}},e.insert=function(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}},e.del=function(e,t){return{range:e,newText:"",annotationId:t}},e.is=function(e){return C.is(e)&&(w.is(e.annotationId)||y.is(e.annotationId))}}(E||(E={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){return es.defined(e)&&M.is(e.textDocument)&&Array.isArray(e.edits)}}(A||(A={})),function(e){e.create=function(e,t,n){var r={kind:"create",uri:e};return void 0!==t&&(void 0!==t.overwrite||void 0!==t.ignoreIfExists)&&(r.options=t),void 0!==n&&(r.annotationId=n),r},e.is=function(e){return e&&"create"===e.kind&&es.string(e.uri)&&(void 0===e.options||(void 0===e.options.overwrite||es.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||es.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||y.is(e.annotationId))}}(x||(x={})),function(e){e.create=function(e,t,n,r){var i={kind:"rename",oldUri:e,newUri:t};return void 0!==n&&(void 0!==n.overwrite||void 0!==n.ignoreIfExists)&&(i.options=n),void 0!==r&&(i.annotationId=r),i},e.is=function(e){return e&&"rename"===e.kind&&es.string(e.oldUri)&&es.string(e.newUri)&&(void 0===e.options||(void 0===e.options.overwrite||es.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||es.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||y.is(e.annotationId))}}(I||(I={})),function(e){e.create=function(e,t,n){var r={kind:"delete",uri:e};return void 0!==t&&(void 0!==t.recursive||void 0!==t.ignoreIfNotExists)&&(r.options=t),void 0!==n&&(r.annotationId=n),r},e.is=function(e){return e&&"delete"===e.kind&&es.string(e.uri)&&(void 0===e.options||(void 0===e.options.recursive||es.boolean(e.options.recursive))&&(void 0===e.options.ignoreIfNotExists||es.boolean(e.options.ignoreIfNotExists)))&&(void 0===e.annotationId||y.is(e.annotationId))}}(S||(S={})),(T||(T={})).is=function(e){return e&&(void 0!==e.changes||void 0!==e.documentChanges)&&(void 0===e.documentChanges||e.documentChanges.every(function(e){return es.string(e.kind)?x.is(e)||I.is(e)||S.is(e):A.is(e)}))};var ev=function(){function e(e,t){this.edits=e,this.changeAnnotations=t}return e.prototype.insert=function(e,t,n){var r,i;if(void 0===n?r=C.insert(e,t):y.is(n)?(i=n,r=E.insert(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=E.insert(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.replace=function(e,t,n){var r,i;if(void 0===n?r=C.replace(e,t):y.is(n)?(i=n,r=E.replace(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=E.replace(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.delete=function(e,t){var n,r;if(void 0===t?n=C.del(e):y.is(t)?(r=t,n=E.del(e,t)):(this.assertChangeAnnotations(this.changeAnnotations),r=this.changeAnnotations.manage(t),n=E.del(e,r)),this.edits.push(n),void 0!==r)return r},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e.prototype.assertChangeAnnotations=function(e){if(void 0===e)throw Error("Text edit change is not configured to manage change annotations.")},e}(),e_=function(){function e(e){this._annotations=void 0===e?Object.create(null):e,this._counter=0,this._size=0}return e.prototype.all=function(){return this._annotations},Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),e.prototype.manage=function(e,t){var n;if(y.is(e)?n=e:(n=this.nextId(),t=e),void 0!==this._annotations[n])throw Error("Id "+n+" is already in use.");if(void 0===t)throw Error("No annotation provided for id "+n);return this._annotations[n]=t,this._size++,n},e.prototype.nextId=function(){return this._counter++,this._counter.toString()},e}();(function(){function e(e){var t=this;this._textEditChanges=Object.create(null),void 0!==e?(this._workspaceEdit=e,e.documentChanges?(this._changeAnnotations=new e_(e.changeAnnotations),e.changeAnnotations=this._changeAnnotations.all(),e.documentChanges.forEach(function(e){if(A.is(e)){var n=new ev(e.edits,t._changeAnnotations);t._textEditChanges[e.textDocument.uri]=n}})):e.changes&&Object.keys(e.changes).forEach(function(n){var r=new ev(e.changes[n]);t._textEditChanges[n]=r})):this._workspaceEdit={}}Object.defineProperty(e.prototype,"edit",{get:function(){return this.initDocumentChanges(),void 0!==this._changeAnnotations&&(0===this._changeAnnotations.size?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),e.prototype.getTextEditChange=function(e){if(M.is(e)){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");var t={uri:e.uri,version:e.version},n=this._textEditChanges[t.uri];if(!n){var r=[],i={textDocument:t,edits:r};this._workspaceEdit.documentChanges.push(i),n=new ev(r,this._changeAnnotations),this._textEditChanges[t.uri]=n}return n}if(this.initChanges(),void 0===this._workspaceEdit.changes)throw Error("Workspace edit is not configured for normal text edit changes.");var n=this._textEditChanges[e];if(!n){var r=[];this._workspaceEdit.changes[e]=r,n=new ev(r),this._textEditChanges[e]=n}return n},e.prototype.initDocumentChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._changeAnnotations=new e_,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},e.prototype.initChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._workspaceEdit.changes=Object.create(null))},e.prototype.createFile=function(e,t,n){var r,i,o;if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");if(w.is(t)||y.is(t)?r=t:n=t,void 0===r?i=x.create(e,n):(o=y.is(r)?r:this._changeAnnotations.manage(r),i=x.create(e,n,o)),this._workspaceEdit.documentChanges.push(i),void 0!==o)return o},e.prototype.renameFile=function(e,t,n,r){var i,o,a;if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");if(w.is(n)||y.is(n)?i=n:r=n,void 0===i?o=I.create(e,t,r):(a=y.is(i)?i:this._changeAnnotations.manage(i),o=I.create(e,t,r,a)),this._workspaceEdit.documentChanges.push(o),void 0!==a)return a},e.prototype.deleteFile=function(e,t,n){var r,i,o;if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");if(w.is(t)||y.is(t)?r=t:n=t,void 0===r?i=S.create(e,n):(o=y.is(r)?r:this._changeAnnotations.manage(r),i=S.create(e,n,o)),this._workspaceEdit.documentChanges.push(i),void 0!==o)return o}})(),function(e){e.create=function(e){return{uri:e}},e.is=function(e){return es.defined(e)&&es.string(e.uri)}}(R||(R={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){return es.defined(e)&&es.string(e.uri)&&es.integer(e.version)}}(D||(D={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){return es.defined(e)&&es.string(e.uri)&&(null===e.version||es.integer(e.version))}}(M||(M={})),function(e){e.create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},e.is=function(e){return es.defined(e)&&es.string(e.uri)&&es.string(e.languageId)&&es.integer(e.version)&&es.string(e.text)}}(P||(P={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(j||(j={})),function(e){e.is=function(t){return t===e.PlainText||t===e.Markdown}}(j||(j={})),(L||(L={})).is=function(e){return es.objectLiteral(e)&&j.is(e.kind)&&es.string(e.value)},function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(F||(F={})),function(e){e.PlainText=1,e.Snippet=2}(O||(O={})),(N||(N={})).Deprecated=1,function(e){e.create=function(e,t,n){return{newText:e,insert:t,replace:n}},e.is=function(e){return e&&es.string(e.newText)&&s.is(e.insert)&&s.is(e.replace)}}(W||(W={})),function(e){e.asIs=1,e.adjustIndentation=2}(U||(U={})),(V||(V={})).create=function(e){return{label:e}},(H||(H={})).create=function(e,t){return{items:e||[],isIncomplete:!!t}},function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){return es.string(e)||es.objectLiteral(e)&&es.string(e.language)&&es.string(e.value)}}(z||(z={})),(K||(K={})).is=function(e){return!!e&&es.objectLiteral(e)&&(L.is(e.contents)||z.is(e.contents)||es.typedArray(e.contents,z.is))&&(void 0===e.range||s.is(e.range))},(q||(q={})).create=function(e,t){return t?{label:e,documentation:t}:{label:e}},(X||(X={})).create=function(e,t){for(var n=[],r=2;r=n(i[a],o[s])?t[c++]=i[a++]:t[c++]=o[s++];for(;a=0;o--){var a=r[o],s=e.offsetAt(a.range.start),c=e.offsetAt(a.range.end);if(c<=i)n=n.substring(0,s)+a.newText+n.substring(c,n.length);else throw Error("Overlapping edit");i=s}return n}}(ea||(ea={}));var ek=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,r=0;r0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return a.create(0,e);for(;ne?r=i:n=i+1}var o=n-1;return a.create(o,e-t[o])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1{let t,n=e.getLanguageId();n===this._languageId&&(this._listener[e.uri.toString()]=e.onDidChangeContent(()=>{window.clearTimeout(t),t=window.setTimeout(()=>this._doValidate(e.uri,n),500)}),this._doValidate(e.uri,n))},i=e=>{ep.editor.setModelMarkers(e,this._languageId,[]);let t=e.uri.toString(),n=this._listener[t];n&&(n.dispose(),delete this._listener[t])};this._disposables.push(ep.editor.onDidCreateModel(r)),this._disposables.push(ep.editor.onWillDisposeModel(i)),this._disposables.push(ep.editor.onDidChangeModelLanguage(e=>{i(e.model),r(e.model)})),this._disposables.push(n(e=>{ep.editor.getModels().forEach(e=>{e.getLanguageId()===this._languageId&&(i(e),r(e))})})),this._disposables.push({dispose:()=>{for(let e in ep.editor.getModels().forEach(i),this._listener)this._listener[e].dispose()}}),ep.editor.getModels().forEach(r)}_disposables=[];_listener=Object.create(null);dispose(){this._disposables.forEach(e=>e&&e.dispose()),this._disposables.length=0}_doValidate(e,t){this._worker(e).then(t=>t.doValidation(e.toString())).then(n=>{let r=n.map(e=>{let t;return t="number"==typeof e.code?String(e.code):e.code,{severity:function(e){switch(e){case m.Error:return ep.MarkerSeverity.Error;case m.Warning:return ep.MarkerSeverity.Warning;case m.Information:return ep.MarkerSeverity.Info;case m.Hint:return ep.MarkerSeverity.Hint;default:return ep.MarkerSeverity.Info}}(e.severity),startLineNumber:e.range.start.line+1,startColumn:e.range.start.character+1,endLineNumber:e.range.end.line+1,endColumn:e.range.end.character+1,message:e.message,code:t,source:e.source}}),i=ep.editor.getModel(e);i&&i.getLanguageId()===t&&ep.editor.setModelMarkers(i,t,r)}).then(void 0,e=>{console.error(e)})}},eC=class{constructor(e,t){this._worker=e,this._triggerCharacters=t}get triggerCharacters(){return this._triggerCharacters}provideCompletionItems(e,t,n,r){let i=e.uri;return this._worker(i).then(e=>e.doComplete(i.toString(),ew(t))).then(n=>{if(!n)return;let r=e.getWordUntilPosition(t),i=new ep.Range(t.lineNumber,r.startColumn,t.lineNumber,r.endColumn),o=n.items.map(e=>{var t,n;let r={label:e.label,insertText:e.insertText||e.label,sortText:e.sortText,filterText:e.filterText,documentation:e.documentation,detail:e.detail,command:(t=e.command)&&"editor.action.triggerSuggest"===t.command?{id:t.command,title:t.title,arguments:t.arguments}:void 0,range:i,kind:function(e){let t=ep.languages.CompletionItemKind;switch(e){case F.Text:return t.Text;case F.Method:return t.Method;case F.Function:return t.Function;case F.Constructor:return t.Constructor;case F.Field:return t.Field;case F.Variable:return t.Variable;case F.Class:return t.Class;case F.Interface:return t.Interface;case F.Module:return t.Module;case F.Property:break;case F.Unit:return t.Unit;case F.Value:return t.Value;case F.Enum:return t.Enum;case F.Keyword:return t.Keyword;case F.Snippet:return t.Snippet;case F.Color:return t.Color;case F.File:return t.File;case F.Reference:return t.Reference}return t.Property}(e.kind)};return e.textEdit&&(void 0!==(n=e.textEdit).insert&&void 0!==n.replace?r.range={insert:eE(e.textEdit.insert),replace:eE(e.textEdit.replace)}:r.range=eE(e.textEdit.range),r.insertText=e.textEdit.newText),e.additionalTextEdits&&(r.additionalTextEdits=e.additionalTextEdits.map(eA)),e.insertTextFormat===O.Snippet&&(r.insertTextRules=ep.languages.CompletionItemInsertTextRule.InsertAsSnippet),r});return{isIncomplete:n.isIncomplete,suggestions:o}})}};function ew(e){if(e)return{character:e.column-1,line:e.lineNumber-1}}function ey(e){if(e)return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}function eE(e){if(e)return new ep.Range(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function eA(e){if(e)return{range:eE(e.range),text:e.newText}}var ex=class{constructor(e){this._worker=e}provideHover(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.doHover(r.toString(),ew(t))).then(e=>{if(e){var t;return{range:eE(e.range),contents:(t=e.contents)?Array.isArray(t)?t.map(eI):[eI(t)]:void 0}}})}};function eI(e){return"string"==typeof e?{value:e}:e&&"object"==typeof e&&"string"==typeof e.kind?"plaintext"===e.kind?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+"\n"+e.value+"\n```\n"}}var eS=class{constructor(e){this._worker=e}provideDocumentHighlights(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.findDocumentHighlights(r.toString(),ew(t))).then(e=>{if(e)return e.map(e=>({range:eE(e.range),kind:function(e){switch(e){case B.Read:return ep.languages.DocumentHighlightKind.Read;case B.Write:return ep.languages.DocumentHighlightKind.Write;case B.Text:}return ep.languages.DocumentHighlightKind.Text}(e.kind)}))})}},eT=class{constructor(e){this._worker=e}provideDefinition(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.findDefinition(r.toString(),ew(t))).then(e=>{if(e)return[eR(e)]})}};function eR(e){return{uri:ep.Uri.parse(e.uri),range:eE(e.range)}}var eD=class{constructor(e){this._worker=e}provideReferences(e,t,n,r){let i=e.uri;return this._worker(i).then(e=>e.findReferences(i.toString(),ew(t))).then(e=>{if(e)return e.map(eR)})}},eM=class{constructor(e){this._worker=e}provideRenameEdits(e,t,n,r){let i=e.uri;return this._worker(i).then(e=>e.doRename(i.toString(),ew(t),n)).then(e=>(function(e){if(!e||!e.changes)return;let t=[];for(let n in e.changes){let r=ep.Uri.parse(n);for(let i of e.changes[n])t.push({resource:r,versionId:void 0,textEdit:{range:eE(i.range),text:i.newText}})}return{edits:t}})(e))}},eP=class{constructor(e){this._worker=e}provideDocumentSymbols(e,t){let n=e.uri;return this._worker(n).then(e=>e.findDocumentSymbols(n.toString())).then(e=>{if(e)return e.map(e=>({name:e.name,detail:"",containerName:e.containerName,kind:function(e){let t=ep.languages.SymbolKind;switch(e){case Q.File:return t.Array;case Q.Module:return t.Module;case Q.Namespace:return t.Namespace;case Q.Package:return t.Package;case Q.Class:return t.Class;case Q.Method:return t.Method;case Q.Property:return t.Property;case Q.Field:return t.Field;case Q.Constructor:return t.Constructor;case Q.Enum:return t.Enum;case Q.Interface:return t.Interface;case Q.Function:break;case Q.Variable:return t.Variable;case Q.Constant:return t.Constant;case Q.String:return t.String;case Q.Number:return t.Number;case Q.Boolean:return t.Boolean;case Q.Array:return t.Array}return t.Function}(e.kind),range:eE(e.location.range),selectionRange:eE(e.location.range),tags:[]}))})}},ej=class{constructor(e){this._worker=e}provideLinks(e,t){let n=e.uri;return this._worker(n).then(e=>e.findDocumentLinks(n.toString())).then(e=>{if(e)return{links:e.map(e=>({range:eE(e.range),url:e.target}))}})}},eL=class{constructor(e){this._worker=e}provideDocumentFormattingEdits(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.format(r.toString(),null,eO(t)).then(e=>{if(e&&0!==e.length)return e.map(eA)}))}},eF=class{constructor(e){this._worker=e}canFormatMultipleRanges=!1;provideDocumentRangeFormattingEdits(e,t,n,r){let i=e.uri;return this._worker(i).then(e=>e.format(i.toString(),ey(t),eO(n)).then(e=>{if(e&&0!==e.length)return e.map(eA)}))}};function eO(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}var eN=class{constructor(e){this._worker=e}provideDocumentColors(e,t){let n=e.uri;return this._worker(n).then(e=>e.findDocumentColors(n.toString())).then(e=>{if(e)return e.map(e=>({color:e.color,range:eE(e.range)}))})}provideColorPresentations(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.getColorPresentations(r.toString(),t.color,ey(t.range))).then(e=>{if(e)return e.map(e=>{let t={label:e.label};return e.textEdit&&(t.textEdit=eA(e.textEdit)),e.additionalTextEdits&&(t.additionalTextEdits=e.additionalTextEdits.map(eA)),t})})}},eW=class{constructor(e){this._worker=e}provideFoldingRanges(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.getFoldingRanges(r.toString(),t)).then(e=>{if(e)return e.map(e=>{let t={start:e.startLine+1,end:e.endLine+1};return void 0!==e.kind&&(t.kind=function(e){switch(e){case f.Comment:return ep.languages.FoldingRangeKind.Comment;case f.Imports:return ep.languages.FoldingRangeKind.Imports;case f.Region:return ep.languages.FoldingRangeKind.Region}}(e.kind)),t})})}},eU=class{constructor(e){this._worker=e}provideSelectionRanges(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.getSelectionRanges(r.toString(),t.map(ew))).then(e=>{if(e)return e.map(e=>{let t=[];for(;e;)t.push({range:eE(e.range)}),e=e.parent;return t})})}};function eV(e){return 32===e||9===e||11===e||12===e||160===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function eH(e){return 10===e||13===e||8232===e||8233===e}function ez(e){return e>=48&&e<=57}(ec||(ec={})).DEFAULT={allowTrailingComma:!1};var eK=function(e,t){void 0===t&&(t=!1);var n=e.length,r=0,i="",o=0,a=16,s=0,c=0,u=0,d=0,l=0;function g(){if(i="",l=0,o=r,c=s,d=u,r>=n)return o=n,a=17;var t=e.charCodeAt(r);if(eV(t)){do r++,i+=String.fromCharCode(t),t=e.charCodeAt(r);while(eV(t))return a=15}if(eH(t))return r++,i+=String.fromCharCode(t),13===t&&10===e.charCodeAt(r)&&(r++,i+="\n"),s++,u=r,a=14;switch(t){case 123:return r++,a=1;case 125:return r++,a=2;case 91:return r++,a=3;case 93:return r++,a=4;case 58:return r++,a=6;case 44:return r++,a=5;case 34:return r++,i=function(){for(var t="",i=r;;){if(r>=n){t+=e.substring(i,r),l=2;break}var o=e.charCodeAt(r);if(34===o){t+=e.substring(i,r),r++;break}if(92===o){if(t+=e.substring(i,r),++r>=n){l=2;break}switch(e.charCodeAt(r++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+=" ";break;case 117:var a=function(t,n){for(var i=0,o=0;i=48&&a<=57)o=16*o+a-48;else if(a>=65&&a<=70)o=16*o+a-65+10;else if(a>=97&&a<=102)o=16*o+a-97+10;else break;r++,i++}return i=0?t+=String.fromCharCode(a):l=4;break;default:l=5}i=r;continue}if(o>=0&&o<=31){if(eH(o)){t+=e.substring(i,r),l=2;break}l=6}r++}return t}(),a=10;case 47:var g=r-1;if(47===e.charCodeAt(r+1)){for(r+=2;r=12&&e<=15)return e}:g,getToken:function(){return a},getTokenValue:function(){return i},getTokenOffset:function(){return o},getTokenLength:function(){return r-o},getTokenStartLine:function(){return c},getTokenStartCharacter:function(){return o-d},getTokenError:function(){return l}}},eq="delimiter.bracket.json",eX="delimiter.array.json",eB=class{constructor(e,t){this.parent=e,this.type=t}static pop(e){return e?e.parent:null}static push(e,t){return new eB(e,t)}static equals(e,t){if(!e&&!t)return!0;if(!e||!t)return!1;for(;e&&t&&e!==t;){if(e.type!==t.type)return!1;e=e.parent,t=t.parent}return!0}},e$=class{_state;scanError;lastWasColon;parents;constructor(e,t,n,r){this._state=e,this.scanError=t,this.lastWasColon=n,this.parents=r}clone(){return new e$(this._state,this.scanError,this.lastWasColon,this.parents)}equals(e){return e===this||!!e&&e instanceof e$&&this.scanError===e.scanError&&this.lastWasColon===e.lastWasColon&&eB.equals(this.parents,e.parents)}getStateData(){return this._state}setStateData(e){this._state=e}},eQ=class extends eb{constructor(e,t,n){super(e,t,n.onDidChange),this._disposables.push(ep.editor.onWillDisposeModel(e=>{this._resetSchema(e.uri)})),this._disposables.push(ep.editor.onDidChangeModelLanguage(e=>{this._resetSchema(e.model.uri)}))}_resetSchema(e){this._worker().then(t=>{t.resetSchema(e.toString())})}};function eG(e){let t=[],n=[],r=new em(e);t.push(r);let i=(...e)=>r.getLanguageServiceWorker(...e);function o(){let{languageId:t,modeConfiguration:r}=e;eY(n),r.documentFormattingEdits&&n.push(ep.languages.registerDocumentFormattingEditProvider(t,new eL(i))),r.documentRangeFormattingEdits&&n.push(ep.languages.registerDocumentRangeFormattingEditProvider(t,new eF(i))),r.completionItems&&n.push(ep.languages.registerCompletionItemProvider(t,new eC(i,[" ",":",'"']))),r.hovers&&n.push(ep.languages.registerHoverProvider(t,new ex(i))),r.documentSymbols&&n.push(ep.languages.registerDocumentSymbolProvider(t,new eP(i))),r.tokens&&n.push(ep.languages.setTokensProvider(t,{getInitialState:()=>new e$(null,null,!1,null),tokenize:(e,t)=>(function(e,t,n,r=0){let i=0,o=!1;switch(n.scanError){case 2:t='"'+t,i=1;break;case 1:t="/*"+t,i=2}let a=eK(t),s=n.lastWasColon,c=n.parents,u={tokens:[],endState:n.clone()};for(;;){let d=r+a.getPosition(),l="",g=a.scan();if(17===g)break;if(d===r+a.getPosition())throw Error("Scanner did not advance, next 3 characters are: "+t.substr(a.getPosition(),3));switch(o&&(d-=i),o=i>0,g){case 1:c=eB.push(c,0),l=eq,s=!1;break;case 2:c=eB.pop(c),l=eq,s=!1;break;case 3:c=eB.push(c,1),l=eX,s=!1;break;case 4:c=eB.pop(c),l=eX,s=!1;break;case 6:l="delimiter.colon.json",s=!0;break;case 5:l="delimiter.comma.json",s=!1;break;case 8:case 9:case 7:l="keyword.json",s=!1;break;case 10:let f=1===(c?c.type:0);l=s||f?"string.value.json":"string.key.json",s=!1;break;case 11:l="number.json",s=!1}if(e)switch(g){case 12:l="comment.line.json";break;case 13:l="comment.block.json"}u.endState=new e$(n.getStateData(),a.getTokenError(),s,c),u.tokens.push({startIndex:d,scopes:l})}return u})(!0,e,t)})),r.colors&&n.push(ep.languages.registerColorProvider(t,new eN(i))),r.foldingRanges&&n.push(ep.languages.registerFoldingRangeProvider(t,new eW(i))),r.diagnostics&&n.push(new eQ(t,i,e)),r.selectionRanges&&n.push(ep.languages.registerSelectionRangeProvider(t,new eU(i)))}o(),t.push(ep.languages.setLanguageConfiguration(e.languageId,eZ));let a=e.modeConfiguration;return e.onDidChange(e=>{e.modeConfiguration!==a&&(a=e.modeConfiguration,o())}),t.push(eJ(n)),eJ(t)}function eJ(e){return{dispose:()=>eY(e)}}function eY(e){for(;e.length;)e.pop().dispose()}var eZ={wordPattern:/(-?\d*\.\d\w*)|([^\[\{\]\}\:\"\,\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:'"',close:'"',notIn:["string"]}]}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/4329.js b/snaps-simulator/2.4.2/vendor/4329.js new file mode 100644 index 0000000000..7228d16224 --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/4329.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[4329],{4329:(e,i,t)=>{t.r(i),t.d(i,{conf:()=>n,language:()=>s});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var n={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},s={defaultToken:"",tokenPostfix:".cypher",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["ALL","AND","AS","ASC","ASCENDING","BY","CALL","CASE","CONTAINS","CREATE","DELETE","DESC","DESCENDING","DETACH","DISTINCT","ELSE","END","ENDS","EXISTS","IN","IS","LIMIT","MANDATORY","MATCH","MERGE","NOT","ON","ON","OPTIONAL","OR","ORDER","REMOVE","RETURN","SET","SKIP","STARTS","THEN","UNION","UNWIND","WHEN","WHERE","WITH","XOR","YIELD"],builtinLiterals:["true","TRUE","false","FALSE","null","NULL"],builtinFunctions:["abs","acos","asin","atan","atan2","avg","ceil","coalesce","collect","cos","cot","count","degrees","e","endNode","exists","exp","floor","head","id","keys","labels","last","left","length","log","log10","lTrim","max","min","nodes","percentileCont","percentileDisc","pi","properties","radians","rand","range","relationships","replace","reverse","right","round","rTrim","sign","sin","size","split","sqrt","startNode","stDev","stDevP","substring","sum","tail","tan","timestamp","toBoolean","toFloat","toInteger","toLower","toString","toUpper","trim","type"],operators:["+","-","*","/","%","^","=","<>","<",">","<=",">=","->","<-","-->","<--"],escapes:/\\(?:[tbnrf\\"'`]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+/,octaldigits:/[0-7]+/,hexdigits:/[0-9a-fA-F]+/,tokenizer:{root:[[/[{}[\]()]/,"@brackets"],{include:"common"}],common:[{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/:[a-zA-Z_][\w]*/,"type.identifier"],[/[a-zA-Z_][\w]*(?=\()/,{cases:{"@builtinFunctions":"predefined.function"}}],[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":"keyword","@builtinLiterals":"predefined.literal","@default":"identifier"}}],[/`/,"identifier.escape","@identifierBacktick"],[/[;,.:|]/,"delimiter"],[/[<>=%+\-*/^]+/,{cases:{"@operators":"delimiter","@default":""}}]],numbers:[[/-?(@digits)[eE](-?(@digits))?/,"number.float"],[/-?(@digits)?\.(@digits)([eE]-?(@digits))?/,"number.float"],[/-?0x(@hexdigits)/,"number.hex"],[/-?0(@octaldigits)/,"number.octal"],[/-?(@digits)/,"number"]],strings:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@stringDouble"],[/'/,"string","@stringSingle"]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/\/\/.*/,"comment"],[/[^/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[/*]/,"comment"]],stringDouble:[[/[^\\"]+/,"string"],[/@escapes/,"string"],[/\\./,"string.invalid"],[/"/,"string","@pop"]],stringSingle:[[/[^\\']+/,"string"],[/@escapes/,"string"],[/\\./,"string.invalid"],[/'/,"string","@pop"]],identifierBacktick:[[/[^\\`]+/,"identifier.escape"],[/@escapes/,"identifier.escape"],[/\\./,"identifier.escape.invalid"],[/`/,"identifier.escape","@pop"]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/4366.js b/snaps-simulator/2.4.2/vendor/4366.js new file mode 100644 index 0000000000..99dce32457 --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/4366.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[4366],{84366:(e,t,n)=>{n.r(t),n.d(t,{CompletionAdapter:()=>ek,DefinitionAdapter:()=>eS,DiagnosticsAdapter:()=>ew,DocumentColorAdapter:()=>eO,DocumentFormattingEditProvider:()=>eL,DocumentHighlightAdapter:()=>eI,DocumentLinkAdapter:()=>eP,DocumentRangeFormattingEditProvider:()=>eF,DocumentSymbolAdapter:()=>eM,FoldingRangeAdapter:()=>eN,HoverAdapter:()=>ex,ReferenceAdapter:()=>eT,RenameAdapter:()=>eD,SelectionRangeAdapter:()=>eU,WorkerManager:()=>ep,fromPosition:()=>eb,fromRange:()=>ey,setupMode:()=>eW,toRange:()=>eE,toTextEdit:()=>eC});var r,i,o,a,s,u,c,d,g,l,f,h,p,m,v,_,w,k,b,y,E,C,x,A,I,S,R,T,D,M,P,L,F,j,O,N,U,W,V,H,K,z,X,B,$,q,Q,G,J,Y,Z,ee,et,en,er,ei,eo,ea,es,eu=n(90361),ec=Object.defineProperty,ed=Object.getOwnPropertyDescriptor,eg=Object.getOwnPropertyNames,el=Object.prototype.hasOwnProperty,ef=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of eg(t))el.call(e,i)||i===n||ec(e,i,{get:()=>t[i],enumerable:!(r=ed(t,i))||r.enumerable});return e},eh={};ef(eh,eu,"default"),r&&ef(r,eu,"default");var ep=class{_defaults;_idleCheckInterval;_lastUsedTime;_configChangeListener;_worker;_client;constructor(e){this._defaults=e,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){this._worker&&Date.now()-this._lastUsedTime>12e4&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=eh.editor.createWebWorker({moduleId:"vs/language/css/cssWorker",label:this._defaults.languageId,createData:{options:this._defaults.options,languageId:this._defaults.languageId}}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...e){let t;return this._getClient().then(e=>{t=e}).then(t=>{if(this._worker)return this._worker.withSyncedResources(e)}).then(e=>t)}};!function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647}(i||(i={})),function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647}(o||(o={})),function(e){e.create=function(e,t){return e===Number.MAX_VALUE&&(e=o.MAX_VALUE),t===Number.MAX_VALUE&&(t=o.MAX_VALUE),{line:e,character:t}},e.is=function(e){return es.objectLiteral(e)&&es.uinteger(e.line)&&es.uinteger(e.character)}}(a||(a={})),function(e){e.create=function(e,t,n,r){if(es.uinteger(e)&&es.uinteger(t)&&es.uinteger(n)&&es.uinteger(r))return{start:a.create(e,t),end:a.create(n,r)};if(a.is(e)&&a.is(t))return{start:e,end:t};throw Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+r+"]")},e.is=function(e){return es.objectLiteral(e)&&a.is(e.start)&&a.is(e.end)}}(s||(s={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){return es.defined(e)&&s.is(e.range)&&(es.string(e.uri)||es.undefined(e.uri))}}(u||(u={})),function(e){e.create=function(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}},e.is=function(e){return es.defined(e)&&s.is(e.targetRange)&&es.string(e.targetUri)&&(s.is(e.targetSelectionRange)||es.undefined(e.targetSelectionRange))&&(s.is(e.originSelectionRange)||es.undefined(e.originSelectionRange))}}(c||(c={})),function(e){e.create=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},e.is=function(e){return es.numberRange(e.red,0,1)&&es.numberRange(e.green,0,1)&&es.numberRange(e.blue,0,1)&&es.numberRange(e.alpha,0,1)}}(d||(d={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){return s.is(e.range)&&d.is(e.color)}}(g||(g={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){return es.string(e.label)&&(es.undefined(e.textEdit)||b.is(e))&&(es.undefined(e.additionalTextEdits)||es.typedArray(e.additionalTextEdits,b.is))}}(l||(l={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(f||(f={})),function(e){e.create=function(e,t,n,r,i){var o={startLine:e,endLine:t};return es.defined(n)&&(o.startCharacter=n),es.defined(r)&&(o.endCharacter=r),es.defined(i)&&(o.kind=i),o},e.is=function(e){return es.uinteger(e.startLine)&&es.uinteger(e.startLine)&&(es.undefined(e.startCharacter)||es.uinteger(e.startCharacter))&&(es.undefined(e.endCharacter)||es.uinteger(e.endCharacter))&&(es.undefined(e.kind)||es.string(e.kind))}}(h||(h={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){return es.defined(e)&&u.is(e.location)&&es.string(e.message)}}(p||(p={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(m||(m={})),function(e){e.Unnecessary=1,e.Deprecated=2}(v||(v={})),(_||(_={})).is=function(e){return null!=e&&es.string(e.href)},function(e){e.create=function(e,t,n,r,i,o){var a={range:e,message:t};return es.defined(n)&&(a.severity=n),es.defined(r)&&(a.code=r),es.defined(i)&&(a.source=i),es.defined(o)&&(a.relatedInformation=o),a},e.is=function(e){var t;return es.defined(e)&&s.is(e.range)&&es.string(e.message)&&(es.number(e.severity)||es.undefined(e.severity))&&(es.integer(e.code)||es.string(e.code)||es.undefined(e.code))&&(es.undefined(e.codeDescription)||es.string(null===(t=e.codeDescription)||void 0===t?void 0:t.href))&&(es.string(e.source)||es.undefined(e.source))&&(es.undefined(e.relatedInformation)||es.typedArray(e.relatedInformation,p.is))}}(w||(w={})),function(e){e.create=function(e,t){for(var n=[],r=2;r0&&(i.arguments=n),i},e.is=function(e){return es.defined(e)&&es.string(e.title)&&es.string(e.command)}}(k||(k={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){return es.objectLiteral(e)&&es.string(e.newText)&&s.is(e.range)}}(b||(b={})),function(e){e.create=function(e,t,n){var r={label:e};return void 0!==t&&(r.needsConfirmation=t),void 0!==n&&(r.description=n),r},e.is=function(e){return void 0!==e&&es.objectLiteral(e)&&es.string(e.label)&&(es.boolean(e.needsConfirmation)||void 0===e.needsConfirmation)&&(es.string(e.description)||void 0===e.description)}}(y||(y={})),(E||(E={})).is=function(e){return"string"==typeof e},function(e){e.replace=function(e,t,n){return{range:e,newText:t,annotationId:n}},e.insert=function(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}},e.del=function(e,t){return{range:e,newText:"",annotationId:t}},e.is=function(e){return b.is(e)&&(y.is(e.annotationId)||E.is(e.annotationId))}}(C||(C={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){return es.defined(e)&&M.is(e.textDocument)&&Array.isArray(e.edits)}}(x||(x={})),function(e){e.create=function(e,t,n){var r={kind:"create",uri:e};return void 0!==t&&(void 0!==t.overwrite||void 0!==t.ignoreIfExists)&&(r.options=t),void 0!==n&&(r.annotationId=n),r},e.is=function(e){return e&&"create"===e.kind&&es.string(e.uri)&&(void 0===e.options||(void 0===e.options.overwrite||es.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||es.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||E.is(e.annotationId))}}(A||(A={})),function(e){e.create=function(e,t,n,r){var i={kind:"rename",oldUri:e,newUri:t};return void 0!==n&&(void 0!==n.overwrite||void 0!==n.ignoreIfExists)&&(i.options=n),void 0!==r&&(i.annotationId=r),i},e.is=function(e){return e&&"rename"===e.kind&&es.string(e.oldUri)&&es.string(e.newUri)&&(void 0===e.options||(void 0===e.options.overwrite||es.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||es.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||E.is(e.annotationId))}}(I||(I={})),function(e){e.create=function(e,t,n){var r={kind:"delete",uri:e};return void 0!==t&&(void 0!==t.recursive||void 0!==t.ignoreIfNotExists)&&(r.options=t),void 0!==n&&(r.annotationId=n),r},e.is=function(e){return e&&"delete"===e.kind&&es.string(e.uri)&&(void 0===e.options||(void 0===e.options.recursive||es.boolean(e.options.recursive))&&(void 0===e.options.ignoreIfNotExists||es.boolean(e.options.ignoreIfNotExists)))&&(void 0===e.annotationId||E.is(e.annotationId))}}(S||(S={})),(R||(R={})).is=function(e){return e&&(void 0!==e.changes||void 0!==e.documentChanges)&&(void 0===e.documentChanges||e.documentChanges.every(function(e){return es.string(e.kind)?A.is(e)||I.is(e)||S.is(e):x.is(e)}))};var em=function(){function e(e,t){this.edits=e,this.changeAnnotations=t}return e.prototype.insert=function(e,t,n){var r,i;if(void 0===n?r=b.insert(e,t):E.is(n)?(i=n,r=C.insert(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=C.insert(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.replace=function(e,t,n){var r,i;if(void 0===n?r=b.replace(e,t):E.is(n)?(i=n,r=C.replace(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=C.replace(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.delete=function(e,t){var n,r;if(void 0===t?n=b.del(e):E.is(t)?(r=t,n=C.del(e,t)):(this.assertChangeAnnotations(this.changeAnnotations),r=this.changeAnnotations.manage(t),n=C.del(e,r)),this.edits.push(n),void 0!==r)return r},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e.prototype.assertChangeAnnotations=function(e){if(void 0===e)throw Error("Text edit change is not configured to manage change annotations.")},e}(),ev=function(){function e(e){this._annotations=void 0===e?Object.create(null):e,this._counter=0,this._size=0}return e.prototype.all=function(){return this._annotations},Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),e.prototype.manage=function(e,t){var n;if(E.is(e)?n=e:(n=this.nextId(),t=e),void 0!==this._annotations[n])throw Error("Id "+n+" is already in use.");if(void 0===t)throw Error("No annotation provided for id "+n);return this._annotations[n]=t,this._size++,n},e.prototype.nextId=function(){return this._counter++,this._counter.toString()},e}();(function(){function e(e){var t=this;this._textEditChanges=Object.create(null),void 0!==e?(this._workspaceEdit=e,e.documentChanges?(this._changeAnnotations=new ev(e.changeAnnotations),e.changeAnnotations=this._changeAnnotations.all(),e.documentChanges.forEach(function(e){if(x.is(e)){var n=new em(e.edits,t._changeAnnotations);t._textEditChanges[e.textDocument.uri]=n}})):e.changes&&Object.keys(e.changes).forEach(function(n){var r=new em(e.changes[n]);t._textEditChanges[n]=r})):this._workspaceEdit={}}Object.defineProperty(e.prototype,"edit",{get:function(){return this.initDocumentChanges(),void 0!==this._changeAnnotations&&(0===this._changeAnnotations.size?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),e.prototype.getTextEditChange=function(e){if(M.is(e)){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");var t={uri:e.uri,version:e.version},n=this._textEditChanges[t.uri];if(!n){var r=[],i={textDocument:t,edits:r};this._workspaceEdit.documentChanges.push(i),n=new em(r,this._changeAnnotations),this._textEditChanges[t.uri]=n}return n}if(this.initChanges(),void 0===this._workspaceEdit.changes)throw Error("Workspace edit is not configured for normal text edit changes.");var n=this._textEditChanges[e];if(!n){var r=[];this._workspaceEdit.changes[e]=r,n=new em(r),this._textEditChanges[e]=n}return n},e.prototype.initDocumentChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._changeAnnotations=new ev,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},e.prototype.initChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._workspaceEdit.changes=Object.create(null))},e.prototype.createFile=function(e,t,n){var r,i,o;if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");if(y.is(t)||E.is(t)?r=t:n=t,void 0===r?i=A.create(e,n):(o=E.is(r)?r:this._changeAnnotations.manage(r),i=A.create(e,n,o)),this._workspaceEdit.documentChanges.push(i),void 0!==o)return o},e.prototype.renameFile=function(e,t,n,r){var i,o,a;if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");if(y.is(n)||E.is(n)?i=n:r=n,void 0===i?o=I.create(e,t,r):(a=E.is(i)?i:this._changeAnnotations.manage(i),o=I.create(e,t,r,a)),this._workspaceEdit.documentChanges.push(o),void 0!==a)return a},e.prototype.deleteFile=function(e,t,n){var r,i,o;if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");if(y.is(t)||E.is(t)?r=t:n=t,void 0===r?i=S.create(e,n):(o=E.is(r)?r:this._changeAnnotations.manage(r),i=S.create(e,n,o)),this._workspaceEdit.documentChanges.push(i),void 0!==o)return o}})(),function(e){e.create=function(e){return{uri:e}},e.is=function(e){return es.defined(e)&&es.string(e.uri)}}(T||(T={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){return es.defined(e)&&es.string(e.uri)&&es.integer(e.version)}}(D||(D={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){return es.defined(e)&&es.string(e.uri)&&(null===e.version||es.integer(e.version))}}(M||(M={})),function(e){e.create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},e.is=function(e){return es.defined(e)&&es.string(e.uri)&&es.string(e.languageId)&&es.integer(e.version)&&es.string(e.text)}}(P||(P={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(L||(L={})),function(e){e.is=function(t){return t===e.PlainText||t===e.Markdown}}(L||(L={})),(F||(F={})).is=function(e){return es.objectLiteral(e)&&L.is(e.kind)&&es.string(e.value)},function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(j||(j={})),function(e){e.PlainText=1,e.Snippet=2}(O||(O={})),(N||(N={})).Deprecated=1,function(e){e.create=function(e,t,n){return{newText:e,insert:t,replace:n}},e.is=function(e){return e&&es.string(e.newText)&&s.is(e.insert)&&s.is(e.replace)}}(U||(U={})),function(e){e.asIs=1,e.adjustIndentation=2}(W||(W={})),(V||(V={})).create=function(e){return{label:e}},(H||(H={})).create=function(e,t){return{items:e||[],isIncomplete:!!t}},function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){return es.string(e)||es.objectLiteral(e)&&es.string(e.language)&&es.string(e.value)}}(K||(K={})),(z||(z={})).is=function(e){return!!e&&es.objectLiteral(e)&&(F.is(e.contents)||K.is(e.contents)||es.typedArray(e.contents,K.is))&&(void 0===e.range||s.is(e.range))},(X||(X={})).create=function(e,t){return t?{label:e,documentation:t}:{label:e}},(B||(B={})).create=function(e,t){for(var n=[],r=2;r=n(i[a],o[s])?t[u++]=i[a++]:t[u++]=o[s++];for(;a=0;o--){var a=r[o],s=e.offsetAt(a.range.start),u=e.offsetAt(a.range.end);if(u<=i)n=n.substring(0,s)+a.newText+n.substring(u,n.length);else throw Error("Overlapping edit");i=s}return n}}(ea||(ea={}));var e_=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,r=0;r0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return a.create(0,e);for(;ne?r=i:n=i+1}var o=n-1;return a.create(o,e-t[o])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1{let t,n=e.getLanguageId();n===this._languageId&&(this._listener[e.uri.toString()]=e.onDidChangeContent(()=>{window.clearTimeout(t),t=window.setTimeout(()=>this._doValidate(e.uri,n),500)}),this._doValidate(e.uri,n))},i=e=>{eh.editor.setModelMarkers(e,this._languageId,[]);let t=e.uri.toString(),n=this._listener[t];n&&(n.dispose(),delete this._listener[t])};this._disposables.push(eh.editor.onDidCreateModel(r)),this._disposables.push(eh.editor.onWillDisposeModel(i)),this._disposables.push(eh.editor.onDidChangeModelLanguage(e=>{i(e.model),r(e.model)})),this._disposables.push(n(e=>{eh.editor.getModels().forEach(e=>{e.getLanguageId()===this._languageId&&(i(e),r(e))})})),this._disposables.push({dispose:()=>{for(let e in eh.editor.getModels().forEach(i),this._listener)this._listener[e].dispose()}}),eh.editor.getModels().forEach(r)}_disposables=[];_listener=Object.create(null);dispose(){this._disposables.forEach(e=>e&&e.dispose()),this._disposables.length=0}_doValidate(e,t){this._worker(e).then(t=>t.doValidation(e.toString())).then(n=>{let r=n.map(e=>{let t;return t="number"==typeof e.code?String(e.code):e.code,{severity:function(e){switch(e){case m.Error:return eh.MarkerSeverity.Error;case m.Warning:return eh.MarkerSeverity.Warning;case m.Information:return eh.MarkerSeverity.Info;case m.Hint:return eh.MarkerSeverity.Hint;default:return eh.MarkerSeverity.Info}}(e.severity),startLineNumber:e.range.start.line+1,startColumn:e.range.start.character+1,endLineNumber:e.range.end.line+1,endColumn:e.range.end.character+1,message:e.message,code:t,source:e.source}}),i=eh.editor.getModel(e);i&&i.getLanguageId()===t&&eh.editor.setModelMarkers(i,t,r)}).then(void 0,e=>{console.error(e)})}},ek=class{constructor(e,t){this._worker=e,this._triggerCharacters=t}get triggerCharacters(){return this._triggerCharacters}provideCompletionItems(e,t,n,r){let i=e.uri;return this._worker(i).then(e=>e.doComplete(i.toString(),eb(t))).then(n=>{if(!n)return;let r=e.getWordUntilPosition(t),i=new eh.Range(t.lineNumber,r.startColumn,t.lineNumber,r.endColumn),o=n.items.map(e=>{var t,n;let r={label:e.label,insertText:e.insertText||e.label,sortText:e.sortText,filterText:e.filterText,documentation:e.documentation,detail:e.detail,command:(t=e.command)&&"editor.action.triggerSuggest"===t.command?{id:t.command,title:t.title,arguments:t.arguments}:void 0,range:i,kind:function(e){let t=eh.languages.CompletionItemKind;switch(e){case j.Text:return t.Text;case j.Method:return t.Method;case j.Function:return t.Function;case j.Constructor:return t.Constructor;case j.Field:return t.Field;case j.Variable:return t.Variable;case j.Class:return t.Class;case j.Interface:return t.Interface;case j.Module:return t.Module;case j.Property:break;case j.Unit:return t.Unit;case j.Value:return t.Value;case j.Enum:return t.Enum;case j.Keyword:return t.Keyword;case j.Snippet:return t.Snippet;case j.Color:return t.Color;case j.File:return t.File;case j.Reference:return t.Reference}return t.Property}(e.kind)};return e.textEdit&&(void 0!==(n=e.textEdit).insert&&void 0!==n.replace?r.range={insert:eE(e.textEdit.insert),replace:eE(e.textEdit.replace)}:r.range=eE(e.textEdit.range),r.insertText=e.textEdit.newText),e.additionalTextEdits&&(r.additionalTextEdits=e.additionalTextEdits.map(eC)),e.insertTextFormat===O.Snippet&&(r.insertTextRules=eh.languages.CompletionItemInsertTextRule.InsertAsSnippet),r});return{isIncomplete:n.isIncomplete,suggestions:o}})}};function eb(e){if(e)return{character:e.column-1,line:e.lineNumber-1}}function ey(e){if(e)return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}function eE(e){if(e)return new eh.Range(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function eC(e){if(e)return{range:eE(e.range),text:e.newText}}var ex=class{constructor(e){this._worker=e}provideHover(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.doHover(r.toString(),eb(t))).then(e=>{if(e){var t;return{range:eE(e.range),contents:(t=e.contents)?Array.isArray(t)?t.map(eA):[eA(t)]:void 0}}})}};function eA(e){return"string"==typeof e?{value:e}:e&&"object"==typeof e&&"string"==typeof e.kind?"plaintext"===e.kind?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+"\n"+e.value+"\n```\n"}}var eI=class{constructor(e){this._worker=e}provideDocumentHighlights(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.findDocumentHighlights(r.toString(),eb(t))).then(e=>{if(e)return e.map(e=>({range:eE(e.range),kind:function(e){switch(e){case $.Read:return eh.languages.DocumentHighlightKind.Read;case $.Write:return eh.languages.DocumentHighlightKind.Write;case $.Text:}return eh.languages.DocumentHighlightKind.Text}(e.kind)}))})}},eS=class{constructor(e){this._worker=e}provideDefinition(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.findDefinition(r.toString(),eb(t))).then(e=>{if(e)return[eR(e)]})}};function eR(e){return{uri:eh.Uri.parse(e.uri),range:eE(e.range)}}var eT=class{constructor(e){this._worker=e}provideReferences(e,t,n,r){let i=e.uri;return this._worker(i).then(e=>e.findReferences(i.toString(),eb(t))).then(e=>{if(e)return e.map(eR)})}},eD=class{constructor(e){this._worker=e}provideRenameEdits(e,t,n,r){let i=e.uri;return this._worker(i).then(e=>e.doRename(i.toString(),eb(t),n)).then(e=>(function(e){if(!e||!e.changes)return;let t=[];for(let n in e.changes){let r=eh.Uri.parse(n);for(let i of e.changes[n])t.push({resource:r,versionId:void 0,textEdit:{range:eE(i.range),text:i.newText}})}return{edits:t}})(e))}},eM=class{constructor(e){this._worker=e}provideDocumentSymbols(e,t){let n=e.uri;return this._worker(n).then(e=>e.findDocumentSymbols(n.toString())).then(e=>{if(e)return e.map(e=>({name:e.name,detail:"",containerName:e.containerName,kind:function(e){let t=eh.languages.SymbolKind;switch(e){case Q.File:return t.Array;case Q.Module:return t.Module;case Q.Namespace:return t.Namespace;case Q.Package:return t.Package;case Q.Class:return t.Class;case Q.Method:return t.Method;case Q.Property:return t.Property;case Q.Field:return t.Field;case Q.Constructor:return t.Constructor;case Q.Enum:return t.Enum;case Q.Interface:return t.Interface;case Q.Function:break;case Q.Variable:return t.Variable;case Q.Constant:return t.Constant;case Q.String:return t.String;case Q.Number:return t.Number;case Q.Boolean:return t.Boolean;case Q.Array:return t.Array}return t.Function}(e.kind),range:eE(e.location.range),selectionRange:eE(e.location.range),tags:[]}))})}},eP=class{constructor(e){this._worker=e}provideLinks(e,t){let n=e.uri;return this._worker(n).then(e=>e.findDocumentLinks(n.toString())).then(e=>{if(e)return{links:e.map(e=>({range:eE(e.range),url:e.target}))}})}},eL=class{constructor(e){this._worker=e}provideDocumentFormattingEdits(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.format(r.toString(),null,ej(t)).then(e=>{if(e&&0!==e.length)return e.map(eC)}))}},eF=class{constructor(e){this._worker=e}canFormatMultipleRanges=!1;provideDocumentRangeFormattingEdits(e,t,n,r){let i=e.uri;return this._worker(i).then(e=>e.format(i.toString(),ey(t),ej(n)).then(e=>{if(e&&0!==e.length)return e.map(eC)}))}};function ej(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}var eO=class{constructor(e){this._worker=e}provideDocumentColors(e,t){let n=e.uri;return this._worker(n).then(e=>e.findDocumentColors(n.toString())).then(e=>{if(e)return e.map(e=>({color:e.color,range:eE(e.range)}))})}provideColorPresentations(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.getColorPresentations(r.toString(),t.color,ey(t.range))).then(e=>{if(e)return e.map(e=>{let t={label:e.label};return e.textEdit&&(t.textEdit=eC(e.textEdit)),e.additionalTextEdits&&(t.additionalTextEdits=e.additionalTextEdits.map(eC)),t})})}},eN=class{constructor(e){this._worker=e}provideFoldingRanges(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.getFoldingRanges(r.toString(),t)).then(e=>{if(e)return e.map(e=>{let t={start:e.startLine+1,end:e.endLine+1};return void 0!==e.kind&&(t.kind=function(e){switch(e){case f.Comment:return eh.languages.FoldingRangeKind.Comment;case f.Imports:return eh.languages.FoldingRangeKind.Imports;case f.Region:return eh.languages.FoldingRangeKind.Region}}(e.kind)),t})})}},eU=class{constructor(e){this._worker=e}provideSelectionRanges(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.getSelectionRanges(r.toString(),t.map(eb))).then(e=>{if(e)return e.map(e=>{let t=[];for(;e;)t.push({range:eE(e.range)}),e=e.parent;return t})})}};function eW(e){let t=[],n=[],r=new ep(e);t.push(r);let i=(...e)=>r.getLanguageServiceWorker(...e);return!function(){let{languageId:t,modeConfiguration:r}=e;eH(n),r.completionItems&&n.push(eh.languages.registerCompletionItemProvider(t,new ek(i,["/","-",":"]))),r.hovers&&n.push(eh.languages.registerHoverProvider(t,new ex(i))),r.documentHighlights&&n.push(eh.languages.registerDocumentHighlightProvider(t,new eI(i))),r.definitions&&n.push(eh.languages.registerDefinitionProvider(t,new eS(i))),r.references&&n.push(eh.languages.registerReferenceProvider(t,new eT(i))),r.documentSymbols&&n.push(eh.languages.registerDocumentSymbolProvider(t,new eM(i))),r.rename&&n.push(eh.languages.registerRenameProvider(t,new eD(i))),r.colors&&n.push(eh.languages.registerColorProvider(t,new eO(i))),r.foldingRanges&&n.push(eh.languages.registerFoldingRangeProvider(t,new eN(i))),r.diagnostics&&n.push(new ew(t,i,e.onDidChange)),r.selectionRanges&&n.push(eh.languages.registerSelectionRangeProvider(t,new eU(i))),r.documentFormattingEdits&&n.push(eh.languages.registerDocumentFormattingEditProvider(t,new eL(i))),r.documentRangeFormattingEdits&&n.push(eh.languages.registerDocumentRangeFormattingEditProvider(t,new eF(i)))}(),t.push(eV(n)),eV(t)}function eV(e){return{dispose:()=>eH(e)}}function eH(e){for(;e.length;)e.pop().dispose()}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/4369.js b/snaps-simulator/2.4.2/vendor/4369.js new file mode 100644 index 0000000000..3602e6a0db --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/4369.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[4369],{24369:(e,o,t)=>{t.r(o),t.d(o,{conf:()=>n,language:()=>s});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var n={comments:{lineComment:"#"},brackets:[["[","]"],["<",">"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"<",close:">"},{open:"(",close:")"}],surroundingPairs:[{open:"[",close:"]"},{open:"<",close:">"},{open:"(",close:")"}]},s={defaultToken:"",tokenPostfix:".pla",brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"<",close:">",token:"delimiter.angle"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:[".i",".o",".mv",".ilb",".ob",".label",".type",".phase",".pair",".symbolic",".symbolic-output",".kiss",".p",".e",".end"],comment:/#.*$/,identifier:/[a-zA-Z]+[a-zA-Z0-9_\-]*/,plaContent:/[01\-~\|]+/,tokenizer:{root:[{include:"@whitespace"},[/@comment/,"comment"],[/\.([a-zA-Z_\-]+)/,{cases:{"@eos":{token:"keyword.$1"},"@keywords":{cases:{".type":{token:"keyword.$1",next:"@type"},"@default":{token:"keyword.$1",next:"@keywordArg"}}},"@default":{token:"keyword.$1"}}}],[/@identifier/,"identifier"],[/@plaContent/,"string"]],whitespace:[[/[ \t\r\n]+/,""]],type:[{include:"@whitespace"},[/\w+/,{token:"type",next:"@pop"}]],keywordArg:[[/[ \t\r\n]+/,{cases:{"@eos":{token:"",next:"@pop"},"@default":""}}],[/@comment/,"comment","@pop"],[/[<>()\[\]]/,{cases:{"@eos":{token:"@brackets",next:"@pop"},"@default":"@brackets"}}],[/\-?\d+/,{cases:{"@eos":{token:"number",next:"@pop"},"@default":"number"}}],[/@identifier/,{cases:{"@eos":{token:"identifier",next:"@pop"},"@default":"identifier"}}],[/[;=]/,{cases:{"@eos":{token:"delimiter",next:"@pop"},"@default":"delimiter"}}]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/4454.js b/snaps-simulator/2.4.2/vendor/4454.js new file mode 100644 index 0000000000..e0b7191cff --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/4454.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[4454],{24454:(e,t,n)=>{n.r(t),n.d(t,{conf:()=>o,language:()=>s});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var o={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}]},s={defaultToken:"",tokenPostfix:".aes",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["contract","library","entrypoint","function","stateful","state","hash","signature","tuple","list","address","string","bool","int","record","datatype","type","option","oracle","oracle_query","Call","Bits","Bytes","Oracle","String","Crypto","Address","Auth","Chain","None","Some","bits","bytes","event","let","map","private","public","true","false","var","if","else","throw"],operators:["=",">","<","!","~","?","::",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/4511.js b/snaps-simulator/2.4.2/vendor/4511.js new file mode 100644 index 0000000000..29aa0b3172 --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/4511.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[4511],{74511:(e,r,t)=>{t.r(r),t.d(r,{conf:()=>n,language:()=>s});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var n={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{blockComment:["###","###"],lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:RegExp("^\\s*#region\\b"),end:RegExp("^\\s*#endregion\\b")}}},s={defaultToken:"",ignoreCase:!0,tokenPostfix:".coffee",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],regEx:/\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,keywords:["and","or","is","isnt","not","on","yes","@","no","off","true","false","null","this","new","delete","typeof","in","instanceof","return","throw","break","continue","debugger","if","else","switch","for","while","do","try","catch","finally","class","extends","super","undefined","then","unless","until","loop","of","by","when"],symbols:/[=>{r.r(t),r.d(t,{conf:()=>a,language:()=>_});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var a={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"}]};function o(e){let t=[],r=e.split(/\t+|\r+|\n+| +/);for(let e=0;e0&&t.push(r[e]);return t}var n=o("true false"),i=o(` + alias + break + case + const + const_assert + continue + continuing + default + diagnostic + discard + else + enable + fn + for + if + let + loop + override + requires + return + struct + switch + var + while + `),s=o(` + NULL + Self + abstract + active + alignas + alignof + as + asm + asm_fragment + async + attribute + auto + await + become + binding_array + cast + catch + class + co_await + co_return + co_yield + coherent + column_major + common + compile + compile_fragment + concept + const_cast + consteval + constexpr + constinit + crate + debugger + decltype + delete + demote + demote_to_helper + do + dynamic_cast + enum + explicit + export + extends + extern + external + fallthrough + filter + final + finally + friend + from + fxgroup + get + goto + groupshared + highp + impl + implements + import + inline + instanceof + interface + layout + lowp + macro + macro_rules + match + mediump + meta + mod + module + move + mut + mutable + namespace + new + nil + noexcept + noinline + nointerpolation + noperspective + null + nullptr + of + operator + package + packoffset + partition + pass + patch + pixelfragment + precise + precision + premerge + priv + protected + pub + public + readonly + ref + regardless + register + reinterpret_cast + require + resource + restrict + self + set + shared + sizeof + smooth + snorm + static + static_assert + static_cast + std + subroutine + super + target + template + this + thread_local + throw + trait + try + type + typedef + typeid + typename + typeof + union + unless + unorm + unsafe + unsized + use + using + varying + virtual + volatile + wgsl + where + with + writeonly + yield + `),c=o(` + read write read_write + function private workgroup uniform storage + perspective linear flat + center centroid sample + vertex_index instance_index position front_facing frag_depth + local_invocation_id local_invocation_index + global_invocation_id workgroup_id num_workgroups + sample_index sample_mask + rgba8unorm + rgba8snorm + rgba8uint + rgba8sint + rgba16uint + rgba16sint + rgba16float + r32uint + r32sint + r32float + rg32uint + rg32sint + rg32float + rgba32uint + rgba32sint + rgba32float + bgra8unorm +`),m=o(` + bool + f16 + f32 + i32 + sampler sampler_comparison + texture_depth_2d + texture_depth_2d_array + texture_depth_cube + texture_depth_cube_array + texture_depth_multisampled_2d + texture_external + texture_external + u32 + `),l=o(` + array + atomic + mat2x2 + mat2x3 + mat2x4 + mat3x2 + mat3x3 + mat3x4 + mat4x2 + mat4x3 + mat4x4 + ptr + texture_1d + texture_2d + texture_2d_array + texture_3d + texture_cube + texture_cube_array + texture_multisampled_2d + texture_storage_1d + texture_storage_2d + texture_storage_2d_array + texture_storage_3d + vec2 + vec3 + vec4 + `),u=o(` + vec2i vec3i vec4i + vec2u vec3u vec4u + vec2f vec3f vec4f + vec2h vec3h vec4h + mat2x2f mat2x3f mat2x4f + mat3x2f mat3x3f mat3x4f + mat4x2f mat4x3f mat4x4f + mat2x2h mat2x3h mat2x4h + mat3x2h mat3x3h mat3x4h + mat4x2h mat4x3h mat4x4h + `),p=o(` + bitcast all any select arrayLength abs acos acosh asin asinh atan atanh atan2 + ceil clamp cos cosh countLeadingZeros countOneBits countTrailingZeros cross + degrees determinant distance dot exp exp2 extractBits faceForward firstLeadingBit + firstTrailingBit floor fma fract frexp inverseBits inverseSqrt ldexp length + log log2 max min mix modf normalize pow quantizeToF16 radians reflect refract + reverseBits round saturate sign sin sinh smoothstep sqrt step tan tanh transpose + trunc dpdx dpdxCoarse dpdxFine dpdy dpdyCoarse dpdyFine fwidth fwidthCoarse fwidthFine + textureDimensions textureGather textureGatherCompare textureLoad textureNumLayers + textureNumLevels textureNumSamples textureSample textureSampleBias textureSampleCompare + textureSampleCompareLevel textureSampleGrad textureSampleLevel textureSampleBaseClampToEdge + textureStore atomicLoad atomicStore atomicAdd atomicSub atomicMax atomicMin + atomicAnd atomicOr atomicXor atomicExchange atomicCompareExchangeWeak pack4x8snorm + pack4x8unorm pack2x16snorm pack2x16unorm pack2x16float unpack4x8snorm unpack4x8unorm + unpack2x16snorm unpack2x16unorm unpack2x16float storageBarrier workgroupBarrier + workgroupUniformLoad +`),d=o(` + & + && + -> + / + = + == + != + > + >= + < + <= + % + - + -- + + + ++ + | + || + * + << + >> + += + -= + *= + /= + %= + &= + |= + ^= + >>= + <<= + `),x=/[_\p{XID_Start}]\p{XID_Continue}*/u,f="variable.predefined",_={tokenPostfix:".wgsl",defaultToken:"invalid",unicode:!0,atoms:n,keywords:i,reserved:s,predeclared_enums:c,predeclared_types:m,predeclared_type_generators:l,predeclared_type_aliases:u,predeclared_intrinsics:p,operators:d,symbols:/[!%&*+\-\.\/:;<=>^|_~]+/,tokenizer:{root:[[/enable|requires|diagnostic/,"keyword","@directive"],[x,{cases:{"@atoms":f,"@keywords":"keyword","@reserved":"invalid","@predeclared_enums":f,"@predeclared_types":f,"@predeclared_type_generators":f,"@predeclared_type_aliases":f,"@predeclared_intrinsics":f,"@default":"identifier"}}],{include:"@commentOrSpace"},{include:"@numbers"},[/;:\./,"delimiter"],[/,/,"delimiter"],[/[{}()\[\]]/,"@brackets"],["@","annotation","@attribute"],[/@symbols/,{cases:{"@operators":"operator","@default":"delimiter"}}],[/./,"invalid"]],commentOrSpace:[[/\s+/,"white"],[/\/\*/,"comment","@blockComment"],[/\/\/.*$/,"comment"]],blockComment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],attribute:[{include:"@commentOrSpace"},[/\w+/,"annotation","@pop"]],directive:[{include:"@commentOrSpace"},[/[()]/,"@brackets"],[/,/,"delimiter"],[x,"meta.content"],[/;/,"delimiter","@pop"]],numbers:[[/0[fh]/,"number.float"],[/[1-9][0-9]*[fh]/,"number.float"],[/[0-9]*\.[0-9]+([eE][+-]?[0-9]+)?[fh]?/,"number.float"],[/[0-9]+\.[0-9]*([eE][+-]?[0-9]+)?[fh]?/,"number.float"],[/[0-9]+[eE][+-]?[0-9]+[fh]?/,"number.float"],[/0[xX][0-9a-fA-F]*\.[0-9a-fA-F]+(?:[pP][+-]?[0-9]+[fh]?)?/,"number.hex"],[/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*(?:[pP][+-]?[0-9]+[fh]?)?/,"number.hex"],[/0[xX][0-9a-fA-F]+[pP][+-]?[0-9]+[fh]?/,"number.hex"],[/0[xX][0-9a-fA-F]+[iu]?/,"number.hex"],[/[1-9][0-9]*[iu]?/,"number"],[/0[iu]?/,"number"]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/4558.js b/snaps-simulator/2.4.2/vendor/4558.js new file mode 100644 index 0000000000..062b804546 --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/4558.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[4558],{44558:(e,t,n)=>{n.r(t),n.d(t,{conf:()=>c,language:()=>u});var r,i=n(90361),o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,d=Object.prototype.hasOwnProperty,p=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of s(t))d.call(e,i)||i===n||o(e,i,{get:()=>t[i],enumerable:!(r=a(t,i))||r.enumerable});return e},m={};p(m,i,"default"),r&&p(r,i,"default");var l=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],c={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:[""]},brackets:[[""],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:RegExp(`<(?!(?:${l.join("|")}))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:m.languages.IndentAction.IndentOutdent}},{beforeText:RegExp(`<(?!(?:${l.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:m.languages.IndentAction.Indent}}],folding:{markers:{start:RegExp("^\\s*"),end:RegExp("^\\s*")}}},u={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"module"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/'module'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/4610.js b/snaps-simulator/2.4.2/vendor/4610.js new file mode 100644 index 0000000000..e55738ecbd --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/4610.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[4610],{64610:(e,t,o)=>{o.r(t),o.d(t,{conf:()=>n,language:()=>s});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var n={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:RegExp("^\\s*#pragma\\s+region\\b"),end:RegExp("^\\s*#pragma\\s+endregion\\b")}}},s={tokenPostfix:".rust",defaultToken:"invalid",keywords:["as","async","await","box","break","const","continue","crate","dyn","else","enum","extern","false","fn","for","if","impl","in","let","loop","match","mod","move","mut","pub","ref","return","self","static","struct","super","trait","true","try","type","unsafe","use","where","while","catch","default","union","static","abstract","alignof","become","do","final","macro","offsetof","override","priv","proc","pure","sizeof","typeof","unsized","virtual","yield"],typeKeywords:["Self","m32","m64","m128","f80","f16","f128","int","uint","float","char","bool","u8","u16","u32","u64","f32","f64","i8","i16","i32","i64","str","Option","Either","c_float","c_double","c_void","FILE","fpos_t","DIR","dirent","c_char","c_schar","c_uchar","c_short","c_ushort","c_int","c_uint","c_long","c_ulong","size_t","ptrdiff_t","clock_t","time_t","c_longlong","c_ulonglong","intptr_t","uintptr_t","off_t","dev_t","ino_t","pid_t","mode_t","ssize_t"],constants:["true","false","Some","None","Left","Right","Ok","Err"],supportConstants:["EXIT_FAILURE","EXIT_SUCCESS","RAND_MAX","EOF","SEEK_SET","SEEK_CUR","SEEK_END","_IOFBF","_IONBF","_IOLBF","BUFSIZ","FOPEN_MAX","FILENAME_MAX","L_tmpnam","TMP_MAX","O_RDONLY","O_WRONLY","O_RDWR","O_APPEND","O_CREAT","O_EXCL","O_TRUNC","S_IFIFO","S_IFCHR","S_IFBLK","S_IFDIR","S_IFREG","S_IFMT","S_IEXEC","S_IWRITE","S_IREAD","S_IRWXU","S_IXUSR","S_IWUSR","S_IRUSR","F_OK","R_OK","W_OK","X_OK","STDIN_FILENO","STDOUT_FILENO","STDERR_FILENO"],supportMacros:["format!","print!","println!","panic!","format_args!","unreachable!","write!","writeln!"],operators:["!","!=","%","%=","&","&=","&&","*","*=","+","+=","-","-=","->",".","..","...","/","/=",":",";","<<","<<=","<","<=","=","==","=>",">",">=",">>",">>=","@","^","^=","|","|=","||","_","?","#"],escapes:/\\([nrt0\"''\\]|x\h{2}|u\{\h{1,6}\})/,delimiters:/[,]/,symbols:/[\#\!\%\&\*\+\-\.\/\:\;\<\=\>\@\^\|_\?]+/,intSuffixes:/[iu](8|16|32|64|128|size)/,floatSuffixes:/f(32|64)/,tokenizer:{root:[[/r(#*)"/,{token:"string.quote",bracket:"@open",next:"@stringraw.$1"}],[/[a-zA-Z][a-zA-Z0-9_]*!?|_[a-zA-Z0-9_]+/,{cases:{"@typeKeywords":"keyword.type","@keywords":"keyword","@supportConstants":"keyword","@supportMacros":"keyword","@constants":"keyword","@default":"identifier"}}],[/\$/,"identifier"],[/'[a-zA-Z_][a-zA-Z0-9_]*(?=[^\'])/,"identifier"],[/'(\S|@escapes)'/,"string.byteliteral"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}],{include:"@numbers"},{include:"@whitespace"},[/@delimiters/,{cases:{"@keywords":"keyword","@default":"delimiter"}}],[/[{}()\[\]<>]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],stringraw:[[/[^"#]+/,{token:"string"}],[/"(#*)/,{cases:{"$1==$S2":{token:"string.quote",bracket:"@close",next:"@pop"},"@default":{token:"string"}}}],[/["#]/,{token:"string"}]],numbers:[[/(0o[0-7_]+)(@intSuffixes)?/,{token:"number"}],[/(0b[0-1_]+)(@intSuffixes)?/,{token:"number"}],[/[\d][\d_]*(\.[\d][\d_]*)?[eE][+-][\d_]+(@floatSuffixes)?/,{token:"number"}],[/\b(\d\.?[\d_]*)(@floatSuffixes)?\b/,{token:"number"}],[/(0x[\da-fA-F]+)_?(@intSuffixes)?/,{token:"number"}],[/[\d][\d_]*(@intSuffixes?)?/,{token:"number"}]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/471.js b/snaps-simulator/2.4.2/vendor/471.js new file mode 100644 index 0000000000..00b7b7031f --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/471.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[471],{40471:(E,T,R)=>{R.r(T),R.d(T,{conf:()=>A,language:()=>I});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var A={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},I={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["ABORT","ABSOLUTE","ACTION","ADA","ADD","AFTER","ALL","ALLOCATE","ALTER","ALWAYS","ANALYZE","AND","ANY","ARE","AS","ASC","ASSERTION","AT","ATTACH","AUTHORIZATION","AUTOINCREMENT","AVG","BACKUP","BEFORE","BEGIN","BETWEEN","BIT","BIT_LENGTH","BOTH","BREAK","BROWSE","BULK","BY","CASCADE","CASCADED","CASE","CAST","CATALOG","CHAR","CHARACTER","CHARACTER_LENGTH","CHAR_LENGTH","CHECK","CHECKPOINT","CLOSE","CLUSTERED","COALESCE","COLLATE","COLLATION","COLUMN","COMMIT","COMPUTE","CONFLICT","CONNECT","CONNECTION","CONSTRAINT","CONSTRAINTS","CONTAINS","CONTAINSTABLE","CONTINUE","CONVERT","CORRESPONDING","COUNT","CREATE","CROSS","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","DATABASE","DATE","DAY","DBCC","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFERRABLE","DEFERRED","DELETE","DENY","DESC","DESCRIBE","DESCRIPTOR","DETACH","DIAGNOSTICS","DISCONNECT","DISK","DISTINCT","DISTRIBUTED","DO","DOMAIN","DOUBLE","DROP","DUMP","EACH","ELSE","END","END-EXEC","ERRLVL","ESCAPE","EXCEPT","EXCEPTION","EXCLUDE","EXCLUSIVE","EXEC","EXECUTE","EXISTS","EXIT","EXPLAIN","EXTERNAL","EXTRACT","FAIL","FALSE","FETCH","FILE","FILLFACTOR","FILTER","FIRST","FLOAT","FOLLOWING","FOR","FOREIGN","FORTRAN","FOUND","FREETEXT","FREETEXTTABLE","FROM","FULL","FUNCTION","GENERATED","GET","GLOB","GLOBAL","GO","GOTO","GRANT","GROUP","GROUPS","HAVING","HOLDLOCK","HOUR","IDENTITY","IDENTITYCOL","IDENTITY_INSERT","IF","IGNORE","IMMEDIATE","IN","INCLUDE","INDEX","INDEXED","INDICATOR","INITIALLY","INNER","INPUT","INSENSITIVE","INSERT","INSTEAD","INT","INTEGER","INTERSECT","INTERVAL","INTO","IS","ISNULL","ISOLATION","JOIN","KEY","KILL","LANGUAGE","LAST","LEADING","LEFT","LEVEL","LIKE","LIMIT","LINENO","LOAD","LOCAL","LOWER","MATCH","MATERIALIZED","MAX","MERGE","MIN","MINUTE","MODULE","MONTH","NAMES","NATIONAL","NATURAL","NCHAR","NEXT","NO","NOCHECK","NONCLUSTERED","NONE","NOT","NOTHING","NOTNULL","NULL","NULLIF","NULLS","NUMERIC","OCTET_LENGTH","OF","OFF","OFFSET","OFFSETS","ON","ONLY","OPEN","OPENDATASOURCE","OPENQUERY","OPENROWSET","OPENXML","OPTION","OR","ORDER","OTHERS","OUTER","OUTPUT","OVER","OVERLAPS","PAD","PARTIAL","PARTITION","PASCAL","PERCENT","PIVOT","PLAN","POSITION","PRAGMA","PRECEDING","PRECISION","PREPARE","PRESERVE","PRIMARY","PRINT","PRIOR","PRIVILEGES","PROC","PROCEDURE","PUBLIC","QUERY","RAISE","RAISERROR","RANGE","READ","READTEXT","REAL","RECONFIGURE","RECURSIVE","REFERENCES","REGEXP","REINDEX","RELATIVE","RELEASE","RENAME","REPLACE","REPLICATION","RESTORE","RESTRICT","RETURN","RETURNING","REVERT","REVOKE","RIGHT","ROLLBACK","ROW","ROWCOUNT","ROWGUIDCOL","ROWS","RULE","SAVE","SAVEPOINT","SCHEMA","SCROLL","SECOND","SECTION","SECURITYAUDIT","SELECT","SEMANTICKEYPHRASETABLE","SEMANTICSIMILARITYDETAILSTABLE","SEMANTICSIMILARITYTABLE","SESSION","SESSION_USER","SET","SETUSER","SHUTDOWN","SIZE","SMALLINT","SOME","SPACE","SQL","SQLCA","SQLCODE","SQLERROR","SQLSTATE","SQLWARNING","STATISTICS","SUBSTRING","SUM","SYSTEM_USER","TABLE","TABLESAMPLE","TEMP","TEMPORARY","TEXTSIZE","THEN","TIES","TIME","TIMESTAMP","TIMEZONE_HOUR","TIMEZONE_MINUTE","TO","TOP","TRAILING","TRAN","TRANSACTION","TRANSLATE","TRANSLATION","TRIGGER","TRIM","TRUE","TRUNCATE","TRY_CONVERT","TSEQUAL","UNBOUNDED","UNION","UNIQUE","UNKNOWN","UNPIVOT","UPDATE","UPDATETEXT","UPPER","USAGE","USE","USER","USING","VACUUM","VALUE","VALUES","VARCHAR","VARYING","VIEW","VIRTUAL","WAITFOR","WHEN","WHENEVER","WHERE","WHILE","WINDOW","WITH","WITHIN GROUP","WITHOUT","WORK","WRITE","WRITETEXT","YEAR","ZONE"],operators:["ALL","AND","ANY","BETWEEN","EXISTS","IN","LIKE","NOT","OR","SOME","EXCEPT","INTERSECT","UNION","APPLY","CROSS","FULL","INNER","JOIN","LEFT","OUTER","RIGHT","CONTAINS","FREETEXT","IS","NULL","PIVOT","UNPIVOT","MATCHED"],builtinFunctions:["AVG","CHECKSUM_AGG","COUNT","COUNT_BIG","GROUPING","GROUPING_ID","MAX","MIN","SUM","STDEV","STDEVP","VAR","VARP","CUME_DIST","FIRST_VALUE","LAG","LAST_VALUE","LEAD","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","COLLATE","COLLATIONPROPERTY","TERTIARY_WEIGHTS","FEDERATION_FILTERING_VALUE","CAST","CONVERT","PARSE","TRY_CAST","TRY_CONVERT","TRY_PARSE","ASYMKEY_ID","ASYMKEYPROPERTY","CERTPROPERTY","CERT_ID","CRYPT_GEN_RANDOM","DECRYPTBYASYMKEY","DECRYPTBYCERT","DECRYPTBYKEY","DECRYPTBYKEYAUTOASYMKEY","DECRYPTBYKEYAUTOCERT","DECRYPTBYPASSPHRASE","ENCRYPTBYASYMKEY","ENCRYPTBYCERT","ENCRYPTBYKEY","ENCRYPTBYPASSPHRASE","HASHBYTES","IS_OBJECTSIGNED","KEY_GUID","KEY_ID","KEY_NAME","SIGNBYASYMKEY","SIGNBYCERT","SYMKEYPROPERTY","VERIFYSIGNEDBYCERT","VERIFYSIGNEDBYASYMKEY","CURSOR_STATUS","DATALENGTH","IDENT_CURRENT","IDENT_INCR","IDENT_SEED","IDENTITY","SQL_VARIANT_PROPERTY","CURRENT_TIMESTAMP","DATEADD","DATEDIFF","DATEFROMPARTS","DATENAME","DATEPART","DATETIME2FROMPARTS","DATETIMEFROMPARTS","DATETIMEOFFSETFROMPARTS","DAY","EOMONTH","GETDATE","GETUTCDATE","ISDATE","MONTH","SMALLDATETIMEFROMPARTS","SWITCHOFFSET","SYSDATETIME","SYSDATETIMEOFFSET","SYSUTCDATETIME","TIMEFROMPARTS","TODATETIMEOFFSET","YEAR","CHOOSE","COALESCE","IIF","NULLIF","ABS","ACOS","ASIN","ATAN","ATN2","CEILING","COS","COT","DEGREES","EXP","FLOOR","LOG","LOG10","PI","POWER","RADIANS","RAND","ROUND","SIGN","SIN","SQRT","SQUARE","TAN","APP_NAME","APPLOCK_MODE","APPLOCK_TEST","ASSEMBLYPROPERTY","COL_LENGTH","COL_NAME","COLUMNPROPERTY","DATABASE_PRINCIPAL_ID","DATABASEPROPERTYEX","DB_ID","DB_NAME","FILE_ID","FILE_IDEX","FILE_NAME","FILEGROUP_ID","FILEGROUP_NAME","FILEGROUPPROPERTY","FILEPROPERTY","FULLTEXTCATALOGPROPERTY","FULLTEXTSERVICEPROPERTY","INDEX_COL","INDEXKEY_PROPERTY","INDEXPROPERTY","OBJECT_DEFINITION","OBJECT_ID","OBJECT_NAME","OBJECT_SCHEMA_NAME","OBJECTPROPERTY","OBJECTPROPERTYEX","ORIGINAL_DB_NAME","PARSENAME","SCHEMA_ID","SCHEMA_NAME","SCOPE_IDENTITY","SERVERPROPERTY","STATS_DATE","TYPE_ID","TYPE_NAME","TYPEPROPERTY","DENSE_RANK","NTILE","RANK","ROW_NUMBER","PUBLISHINGSERVERNAME","OPENDATASOURCE","OPENQUERY","OPENROWSET","OPENXML","CERTENCODED","CERTPRIVATEKEY","CURRENT_USER","HAS_DBACCESS","HAS_PERMS_BY_NAME","IS_MEMBER","IS_ROLEMEMBER","IS_SRVROLEMEMBER","LOGINPROPERTY","ORIGINAL_LOGIN","PERMISSIONS","PWDENCRYPT","PWDCOMPARE","SESSION_USER","SESSIONPROPERTY","SUSER_ID","SUSER_NAME","SUSER_SID","SUSER_SNAME","SYSTEM_USER","USER","USER_ID","USER_NAME","ASCII","CHAR","CHARINDEX","CONCAT","DIFFERENCE","FORMAT","LEFT","LEN","LOWER","LTRIM","NCHAR","PATINDEX","QUOTENAME","REPLACE","REPLICATE","REVERSE","RIGHT","RTRIM","SOUNDEX","SPACE","STR","STUFF","SUBSTRING","UNICODE","UPPER","BINARY_CHECKSUM","CHECKSUM","CONNECTIONPROPERTY","CONTEXT_INFO","CURRENT_REQUEST_ID","ERROR_LINE","ERROR_NUMBER","ERROR_MESSAGE","ERROR_PROCEDURE","ERROR_SEVERITY","ERROR_STATE","FORMATMESSAGE","GETANSINULL","GET_FILESTREAM_TRANSACTION_CONTEXT","HOST_ID","HOST_NAME","ISNULL","ISNUMERIC","MIN_ACTIVE_ROWVERSION","NEWID","NEWSEQUENTIALID","ROWCOUNT_BIG","XACT_STATE","TEXTPTR","TEXTVALID","COLUMNS_UPDATED","EVENTDATA","TRIGGER_NESTLEVEL","UPDATE","CHANGETABLE","CHANGE_TRACKING_CONTEXT","CHANGE_TRACKING_CURRENT_VERSION","CHANGE_TRACKING_IS_COLUMN_IN_MASK","CHANGE_TRACKING_MIN_VALID_VERSION","CONTAINSTABLE","FREETEXTTABLE","SEMANTICKEYPHRASETABLE","SEMANTICSIMILARITYDETAILSTABLE","SEMANTICSIMILARITYTABLE","FILETABLEROOTPATH","GETFILENAMESPACEPATH","GETPATHLOCATOR","PATHNAME","GET_TRANSMISSION_STATUS"],builtinVariables:["@@DATEFIRST","@@DBTS","@@LANGID","@@LANGUAGE","@@LOCK_TIMEOUT","@@MAX_CONNECTIONS","@@MAX_PRECISION","@@NESTLEVEL","@@OPTIONS","@@REMSERVER","@@SERVERNAME","@@SERVICENAME","@@SPID","@@TEXTSIZE","@@VERSION","@@CURSOR_ROWS","@@FETCH_STATUS","@@DATEFIRST","@@PROCID","@@ERROR","@@IDENTITY","@@ROWCOUNT","@@TRANCOUNT","@@CONNECTIONS","@@CPU_BUSY","@@IDLE","@@IO_BUSY","@@PACKET_ERRORS","@@PACK_RECEIVED","@@PACK_SENT","@@TIMETICKS","@@TOTAL_ERRORS","@@TOTAL_READ","@@TOTAL_WRITE"],pseudoColumns:["$ACTION","$IDENTITY","$ROWGUID","$PARTITION"],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@keywords":"keyword","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/N'/,{token:"string",next:"@string"}],[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/\[/,{token:"identifier.quote",next:"@bracketedIdentifier"}],[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],bracketedIdentifier:[[/[^\]]+/,"identifier"],[/]]/,"identifier"],[/]/,{token:"identifier.quote",next:"@pop"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[[/BEGIN\s+(DISTRIBUTED\s+)?TRAN(SACTION)?\b/i,"keyword"],[/BEGIN\s+TRY\b/i,{token:"keyword.try"}],[/END\s+TRY\b/i,{token:"keyword.try"}],[/BEGIN\s+CATCH\b/i,{token:"keyword.catch"}],[/END\s+CATCH\b/i,{token:"keyword.catch"}],[/(BEGIN|CASE)\b/i,{token:"keyword.block"}],[/END\b/i,{token:"keyword.block"}],[/WHEN\b/i,{token:"keyword.choice"}],[/THEN\b/i,{token:"keyword.choice"}]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/4858.js b/snaps-simulator/2.4.2/vendor/4858.js new file mode 100644 index 0000000000..4add0881ab --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/4858.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[4858],{64858:(e,t,n)=>{n.r(t),n.d(t,{conf:()=>r,language:()=>i});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var r={wordPattern:/(#?-?\d*\.\d\w*%?)|((::|[@#.!:])?[\w-?]+%?)|::|[@#.!:]/g,comments:{blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},i={defaultToken:"",tokenPostfix:".css",ws:"[ \n\r\f]*",identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.bracket"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@selector"}],selector:[{include:"@comments"},{include:"@import"},{include:"@strings"},["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",{token:"keyword",next:"@keyframedeclaration"}],["[@](page|content|font-face|-moz-document)",{token:"keyword"}],["[@](charset|namespace)",{token:"keyword",next:"@declarationbody"}],["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@selectorname"},["[\\*]","tag"],["[>\\+,]","delimiter"],["\\[",{token:"delimiter.bracket",next:"@selectorattribute"}],["{",{token:"delimiter.bracket",next:"@selectorbody"}]],selectorbody:[{include:"@comments"},["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))","attribute.name","@rulevalue"],["}",{token:"delimiter.bracket",next:"@pop"}]],selectorname:[["(\\.|#(?=[^{])|%|(@identifier)|:)+","tag"]],selectorattribute:[{include:"@term"},["]",{token:"delimiter.bracket",next:"@pop"}]],term:[{include:"@comments"},["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@functioninvocation"},{include:"@numbers"},{include:"@name"},{include:"@strings"},["([<>=\\+\\-\\*\\/\\^\\|\\~,])","delimiter"],[",","delimiter"]],rulevalue:[{include:"@comments"},{include:"@strings"},{include:"@term"},["!important","keyword"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],warndebug:[["[@](warn|debug)",{token:"keyword",next:"@declarationbody"}]],import:[["[@](import)",{token:"keyword",next:"@declarationbody"}]],urldeclaration:[{include:"@strings"},["[^)\r\n]+","string"],["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[/[^*/]+/,"comment"],[/./,"comment"]],name:[["@identifier","attribute.value"]],numbers:[["-?(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],keyframedeclaration:[["@identifier","attribute.value"],["{",{token:"delimiter.bracket",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.bracket",next:"@selectorbody"}],["}",{token:"delimiter.bracket",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"attribute.value",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"attribute.value",next:"@pop"}]],strings:[['~?"',{token:"string",next:"@stringenddoublequote"}],["~?'",{token:"string",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string",next:"@pop"}],[/[^\\"]+/,"string"],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string",next:"@pop"}],[/[^\\']+/,"string"],[".","string"]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/4896.js b/snaps-simulator/2.4.2/vendor/4896.js new file mode 100644 index 0000000000..4e91fbda4f --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/4896.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[4896],{64896:(e,n,s)=>{s.r(n),s.d(n,{conf:()=>o,language:()=>t});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var o={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},t={defaultToken:"",tokenPostfix:".ini",escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^\[[^\]]*\]/,"metatag"],[/(^\w+)(\s*)(\=)/,["key","","delimiter"]],{include:"@whitespace"},[/\d+/,"number"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],whitespace:[[/[ \t\r\n]+/,""],[/^\s*[#;].*$/,"comment"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/491.js b/snaps-simulator/2.4.2/vendor/491.js new file mode 100644 index 0000000000..24bbc625d8 --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/491.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[491],{60491:(e,r,i)=>{i.r(r),i.d(r,{conf:()=>t,language:()=>s});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var t={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},s={defaultToken:"",ignoreCase:!0,tokenPostfix:".shell",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["if","then","do","else","elif","while","until","for","in","esac","fi","fin","fil","done","exit","set","unset","export","function"],builtins:["ab","awk","bash","beep","cat","cc","cd","chown","chmod","chroot","clear","cp","curl","cut","diff","echo","find","gawk","gcc","get","git","grep","hg","kill","killall","ln","ls","make","mkdir","openssl","mv","nc","node","npm","ping","ps","restart","rm","rmdir","sed","service","sh","shopt","shred","source","sort","sleep","ssh","start","stop","su","sudo","svn","tee","telnet","top","touch","vi","vim","wall","wc","wget","who","write","yes","zsh"],startingWithDash:/\-+\w+/,identifiersWithDashes:/[a-zA-Z]\w+(?:@startingWithDash)+/,symbols:/[=>{n.r(t),n.d(t,{conf:()=>i,language:()=>o});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var i={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}]},o={tokenPostfix:".pats",defaultToken:"invalid",keywords:["abstype","abst0ype","absprop","absview","absvtype","absviewtype","absvt0ype","absviewt0ype","as","and","assume","begin","classdec","datasort","datatype","dataprop","dataview","datavtype","dataviewtype","do","end","extern","extype","extvar","exception","fn","fnx","fun","prfn","prfun","praxi","castfn","if","then","else","ifcase","in","infix","infixl","infixr","prefix","postfix","implmnt","implement","primplmnt","primplement","import","let","local","macdef","macrodef","nonfix","symelim","symintr","overload","of","op","rec","sif","scase","sortdef","sta","stacst","stadef","static","staload","dynload","try","tkindef","typedef","propdef","viewdef","vtypedef","viewtypedef","prval","var","prvar","when","where","with","withtype","withprop","withview","withvtype","withviewtype"],keywords_dlr:["$delay","$ldelay","$arrpsz","$arrptrsize","$d2ctype","$effmask","$effmask_ntm","$effmask_exn","$effmask_ref","$effmask_wrt","$effmask_all","$extern","$extkind","$extype","$extype_struct","$extval","$extfcall","$extmcall","$literal","$myfilename","$mylocation","$myfunction","$lst","$lst_t","$lst_vt","$list","$list_t","$list_vt","$rec","$rec_t","$rec_vt","$record","$record_t","$record_vt","$tup","$tup_t","$tup_vt","$tuple","$tuple_t","$tuple_vt","$break","$continue","$raise","$showtype","$vcopyenv_v","$vcopyenv_vt","$tempenver","$solver_assert","$solver_verify"],keywords_srp:["#if","#ifdef","#ifndef","#then","#elif","#elifdef","#elifndef","#else","#endif","#error","#prerr","#print","#assert","#undef","#define","#include","#require","#pragma","#codegen2","#codegen3"],irregular_keyword_list:["val+","val-","val","case+","case-","case","addr@","addr","fold@","free@","fix@","fix","lam@","lam","llam@","llam","viewt@ype+","viewt@ype-","viewt@ype","viewtype+","viewtype-","viewtype","view+","view-","view@","view","type+","type-","type","vtype+","vtype-","vtype","vt@ype+","vt@ype-","vt@ype","viewt@ype+","viewt@ype-","viewt@ype","viewtype+","viewtype-","viewtype","prop+","prop-","prop","type+","type-","type","t@ype","t@ype+","t@ype-","abst@ype","abstype","absviewt@ype","absvt@ype","for*","for","while*","while"],keywords_types:["bool","double","byte","int","short","char","void","unit","long","float","string","strptr"],keywords_effects:["0","fun","clo","prf","funclo","cloptr","cloref","ref","ntm","1"],operators:["@","!","|","`",":","$",".","=","#","~","..","...","=>","=<>","=/=>","=>>","=/=>>","<",">","><",".<",">.",".<>.","->","-<>"],brackets:[{open:",(",close:")",token:"delimiter.parenthesis"},{open:"`(",close:")",token:"delimiter.parenthesis"},{open:"%(",close:")",token:"delimiter.parenthesis"},{open:"'(",close:")",token:"delimiter.parenthesis"},{open:"'{",close:"}",token:"delimiter.parenthesis"},{open:"@(",close:")",token:"delimiter.parenthesis"},{open:"@{",close:"}",token:"delimiter.brace"},{open:"@[",close:"]",token:"delimiter.square"},{open:"#[",close:"]",token:"delimiter.square"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],symbols:/[=>]/,digit:/[0-9]/,digitseq0:/@digit*/,xdigit:/[0-9A-Za-z]/,xdigitseq0:/@xdigit*/,INTSP:/[lLuU]/,FLOATSP:/[fFlL]/,fexponent:/[eE][+-]?[0-9]+/,fexponent_bin:/[pP][+-]?[0-9]+/,deciexp:/\.[0-9]*@fexponent?/,hexiexp:/\.[0-9a-zA-Z]*@fexponent_bin?/,irregular_keywords:/val[+-]?|case[+-]?|addr\@?|fold\@|free\@|fix\@?|lam\@?|llam\@?|prop[+-]?|type[+-]?|view[+-@]?|viewt@?ype[+-]?|t@?ype[+-]?|v(iew)?t@?ype[+-]?|abst@?ype|absv(iew)?t@?ype|for\*?|while\*?/,ESCHAR:/[ntvbrfa\\\?'"\(\[\{]/,start:"root",tokenizer:{root:[{regex:/[ \t\r\n]+/,action:{token:""}},{regex:/\(\*\)/,action:{token:"invalid"}},{regex:/\(\*/,action:{token:"comment",next:"lexing_COMMENT_block_ml"}},{regex:/\(/,action:"@brackets"},{regex:/\)/,action:"@brackets"},{regex:/\[/,action:"@brackets"},{regex:/\]/,action:"@brackets"},{regex:/\{/,action:"@brackets"},{regex:/\}/,action:"@brackets"},{regex:/,\(/,action:"@brackets"},{regex:/,/,action:{token:"delimiter.comma"}},{regex:/;/,action:{token:"delimiter.semicolon"}},{regex:/@\(/,action:"@brackets"},{regex:/@\[/,action:"@brackets"},{regex:/@\{/,action:"@brackets"},{regex:/:/,action:{token:"@rematch",next:"@pop"}}],lexing_EXTCODE:[{regex:/^%}/,action:{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}},{regex:/[^%]+/,action:""}],lexing_DQUOTE:[{regex:/"/,action:{token:"string.quote",next:"@pop"}},{regex:/(\{\$)(@IDENTFST@IDENTRST*)(\})/,action:[{token:"string.escape"},{token:"identifier"},{token:"string.escape"}]},{regex:/\\$/,action:{token:"string.escape"}},{regex:/\\(@ESCHAR|[xX]@xdigit+|@digit+)/,action:{token:"string.escape"}},{regex:/[^\\"]+/,action:{token:"string"}}]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/5454.js b/snaps-simulator/2.4.2/vendor/5454.js new file mode 100644 index 0000000000..2fbdbfb3f9 --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/5454.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[5454],{35454:(e,n,i)=>{i.r(n),i.d(n,{conf:()=>t,language:()=>r});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var t={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["begin","end"],["case","endcase"],["casex","endcase"],["casez","endcase"],["checker","endchecker"],["class","endclass"],["clocking","endclocking"],["config","endconfig"],["function","endfunction"],["generate","endgenerate"],["group","endgroup"],["interface","endinterface"],["module","endmodule"],["package","endpackage"],["primitive","endprimitive"],["program","endprogram"],["property","endproperty"],["specify","endspecify"],["sequence","endsequence"],["table","endtable"],["task","endtask"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{offSide:!1,markers:{start:RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:begin|case(x|z)?|class|clocking|config|covergroup|function|generate|interface|module|package|primitive|property|program|sequence|specify|table|task)\\b"),end:RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:end|endcase|endclass|endclocking|endconfig|endgroup|endfunction|endgenerate|endinterface|endmodule|endpackage|endprimitive|endproperty|endprogram|endsequence|endspecify|endtable|endtask)\\b")}}},r={defaultToken:"",tokenPostfix:".sv",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","null","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],builtin_gates:["and","nand","nor","or","xor","xnor","buf","not","bufif0","bufif1","notif1","notif0","cmos","nmos","pmos","rcmos","rnmos","rpmos","tran","tranif1","tranif0","rtran","rtranif1","rtranif0"],operators:["=","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>+","<<<=",">>>=","?",":","+","-","!","~","&","~&","|","~|","^","~^","^~","+","-","*","/","%","==","!=","===","!==","==?","!=?","&&","||","**","<","<=",">",">=","&","|","^",">>","<<",">>>","<<<","++","--","->","<->","inside","dist","::","+:","-:","*>","&&&","|->","|=>","#=#"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],{include:"@numbers"},[/[;,.]/,"delimiter"],{include:"@strings"}],identifier_or_keyword:[[/@identifier/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}]],numbers:[[/\d+?[\d_]*(?:\.[\d_]+)?[eE][\-+]?\d+/,"number.float"],[/\d+?[\d_]*\.[\d_]+(?:\s*@timeunits)?/,"number.float"],[/(?:\d+?[\d_]*\s*)?'[sS]?[dD]\s*[0-9xXzZ?]+?[0-9xXzZ?_]*/,"number"],[/(?:\d+?[\d_]*\s*)?'[sS]?[bB]\s*[0-1xXzZ?]+?[0-1xXzZ?_]*/,"number.binary"],[/(?:\d+?[\d_]*\s*)?'[sS]?[oO]\s*[0-7xXzZ?]+?[0-7xXzZ?_]*/,"number.octal"],[/(?:\d+?[\d_]*\s*)?'[sS]?[hH]\s*[0-9a-fA-FxXzZ?]+?[0-9a-fA-FxXzZ?_]*/,"number.hex"],[/1step/,"number"],[/[\dxXzZ]+?[\dxXzZ_]*(?:\s*@timeunits)?/,"number"],[/'[01xXzZ]+/,"number"]],module_instance:[{include:"@whitespace"},[/(#?)(\()/,["",{token:"@brackets",next:"@port_connection"}]],[/@identifier\s*[;={}\[\],]/,{token:"@rematch",next:"@pop"}],[/@symbols|[;={}\[\],]/,{token:"@rematch",next:"@pop"}],[/@identifier/,"type"],[/;/,"delimiter","@pop"]],port_connection:[{include:"@identifier_or_keyword"},{include:"@whitespace"},[/@systemcall/,"variable.predefined"],{include:"@numbers"},{include:"@strings"},[/[,]/,"delimiter"],[/\(/,"@brackets","@port_connection"],[/\)/,"@brackets","@pop"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],strings:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],include:[[/(\s*)(")([\w*\/*]*)(.\w*)(")/,["","string.include.identifier","string.include.identifier","string.include.identifier",{token:"string.include.identifier",next:"@pop"}]],[/(\s*)(<)([\w*\/*]*)(.\w*)(>)/,["","string.include.identifier","string.include.identifier","string.include.identifier",{token:"string.include.identifier",next:"@pop"}]]],table:[{include:"@whitespace"},[/[()]/,"@brackets"],[/[:;]/,"delimiter"],[/[01\-*?xXbBrRfFpPnN]/,"variable.predefined"],["endtable","keyword.endtable","@pop"]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/5524.js b/snaps-simulator/2.4.2/vendor/5524.js new file mode 100644 index 0000000000..8bbdfd87ad --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/5524.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[5524],{35524:(e,t,n)=>{n.r(t),n.d(t,{conf:()=>r,language:()=>s});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var r={comments:{lineComment:";;"},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:"[",close:"]"},{open:'"',close:'"'},{open:"(",close:")"},{open:"{",close:"}"}],surroundingPairs:[{open:"[",close:"]"},{open:'"',close:'"'},{open:"(",close:")"},{open:"{",close:"}"}]},s={defaultToken:"",ignoreCase:!0,tokenPostfix:".clj",brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"}],constants:["true","false","nil"],numbers:/^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,characters:/^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,escapes:/^\\(?:["'\\bfnrt]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,qualifiedSymbols:/^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/,specialForms:[".","catch","def","do","if","monitor-enter","monitor-exit","new","quote","recur","set!","throw","try","var"],coreSymbols:["*","*'","*1","*2","*3","*agent*","*allow-unresolved-vars*","*assert*","*clojure-version*","*command-line-args*","*compile-files*","*compile-path*","*compiler-options*","*data-readers*","*default-data-reader-fn*","*e","*err*","*file*","*flush-on-newline*","*fn-loader*","*in*","*math-context*","*ns*","*out*","*print-dup*","*print-length*","*print-level*","*print-meta*","*print-namespace-maps*","*print-readably*","*read-eval*","*reader-resolver*","*source-path*","*suppress-read*","*unchecked-math*","*use-context-classloader*","*verbose-defrecords*","*warn-on-reflection*","+","+'","-","-'","->","->>","->ArrayChunk","->Eduction","->Vec","->VecNode","->VecSeq","-cache-protocol-fn","-reset-methods","..","/","<","<=","=","==",">",">=","EMPTY-NODE","Inst","StackTraceElement->vec","Throwable->map","accessor","aclone","add-classpath","add-watch","agent","agent-error","agent-errors","aget","alength","alias","all-ns","alter","alter-meta!","alter-var-root","amap","ancestors","and","any?","apply","areduce","array-map","as->","aset","aset-boolean","aset-byte","aset-char","aset-double","aset-float","aset-int","aset-long","aset-short","assert","assoc","assoc!","assoc-in","associative?","atom","await","await-for","await1","bases","bean","bigdec","bigint","biginteger","binding","bit-and","bit-and-not","bit-clear","bit-flip","bit-not","bit-or","bit-set","bit-shift-left","bit-shift-right","bit-test","bit-xor","boolean","boolean-array","boolean?","booleans","bound-fn","bound-fn*","bound?","bounded-count","butlast","byte","byte-array","bytes","bytes?","case","cast","cat","char","char-array","char-escape-string","char-name-string","char?","chars","chunk","chunk-append","chunk-buffer","chunk-cons","chunk-first","chunk-next","chunk-rest","chunked-seq?","class","class?","clear-agent-errors","clojure-version","coll?","comment","commute","comp","comparator","compare","compare-and-set!","compile","complement","completing","concat","cond","cond->","cond->>","condp","conj","conj!","cons","constantly","construct-proxy","contains?","count","counted?","create-ns","create-struct","cycle","dec","dec'","decimal?","declare","dedupe","default-data-readers","definline","definterface","defmacro","defmethod","defmulti","defn","defn-","defonce","defprotocol","defrecord","defstruct","deftype","delay","delay?","deliver","denominator","deref","derive","descendants","destructure","disj","disj!","dissoc","dissoc!","distinct","distinct?","doall","dorun","doseq","dosync","dotimes","doto","double","double-array","double?","doubles","drop","drop-last","drop-while","eduction","empty","empty?","ensure","ensure-reduced","enumeration-seq","error-handler","error-mode","eval","even?","every-pred","every?","ex-data","ex-info","extend","extend-protocol","extend-type","extenders","extends?","false?","ffirst","file-seq","filter","filterv","find","find-keyword","find-ns","find-protocol-impl","find-protocol-method","find-var","first","flatten","float","float-array","float?","floats","flush","fn","fn?","fnext","fnil","for","force","format","frequencies","future","future-call","future-cancel","future-cancelled?","future-done?","future?","gen-class","gen-interface","gensym","get","get-in","get-method","get-proxy-class","get-thread-bindings","get-validator","group-by","halt-when","hash","hash-combine","hash-map","hash-ordered-coll","hash-set","hash-unordered-coll","ident?","identical?","identity","if-let","if-not","if-some","ifn?","import","in-ns","inc","inc'","indexed?","init-proxy","inst-ms","inst-ms*","inst?","instance?","int","int-array","int?","integer?","interleave","intern","interpose","into","into-array","ints","io!","isa?","iterate","iterator-seq","juxt","keep","keep-indexed","key","keys","keyword","keyword?","last","lazy-cat","lazy-seq","let","letfn","line-seq","list","list*","list?","load","load-file","load-reader","load-string","loaded-libs","locking","long","long-array","longs","loop","macroexpand","macroexpand-1","make-array","make-hierarchy","map","map-entry?","map-indexed","map?","mapcat","mapv","max","max-key","memfn","memoize","merge","merge-with","meta","method-sig","methods","min","min-key","mix-collection-hash","mod","munge","name","namespace","namespace-munge","nat-int?","neg-int?","neg?","newline","next","nfirst","nil?","nnext","not","not-any?","not-empty","not-every?","not=","ns","ns-aliases","ns-imports","ns-interns","ns-map","ns-name","ns-publics","ns-refers","ns-resolve","ns-unalias","ns-unmap","nth","nthnext","nthrest","num","number?","numerator","object-array","odd?","or","parents","partial","partition","partition-all","partition-by","pcalls","peek","persistent!","pmap","pop","pop!","pop-thread-bindings","pos-int?","pos?","pr","pr-str","prefer-method","prefers","primitives-classnames","print","print-ctor","print-dup","print-method","print-simple","print-str","printf","println","println-str","prn","prn-str","promise","proxy","proxy-call-with-super","proxy-mappings","proxy-name","proxy-super","push-thread-bindings","pvalues","qualified-ident?","qualified-keyword?","qualified-symbol?","quot","rand","rand-int","rand-nth","random-sample","range","ratio?","rational?","rationalize","re-find","re-groups","re-matcher","re-matches","re-pattern","re-seq","read","read-line","read-string","reader-conditional","reader-conditional?","realized?","record?","reduce","reduce-kv","reduced","reduced?","reductions","ref","ref-history-count","ref-max-history","ref-min-history","ref-set","refer","refer-clojure","reify","release-pending-sends","rem","remove","remove-all-methods","remove-method","remove-ns","remove-watch","repeat","repeatedly","replace","replicate","require","reset!","reset-meta!","reset-vals!","resolve","rest","restart-agent","resultset-seq","reverse","reversible?","rseq","rsubseq","run!","satisfies?","second","select-keys","send","send-off","send-via","seq","seq?","seqable?","seque","sequence","sequential?","set","set-agent-send-executor!","set-agent-send-off-executor!","set-error-handler!","set-error-mode!","set-validator!","set?","short","short-array","shorts","shuffle","shutdown-agents","simple-ident?","simple-keyword?","simple-symbol?","slurp","some","some->","some->>","some-fn","some?","sort","sort-by","sorted-map","sorted-map-by","sorted-set","sorted-set-by","sorted?","special-symbol?","spit","split-at","split-with","str","string?","struct","struct-map","subs","subseq","subvec","supers","swap!","swap-vals!","symbol","symbol?","sync","tagged-literal","tagged-literal?","take","take-last","take-nth","take-while","test","the-ns","thread-bound?","time","to-array","to-array-2d","trampoline","transduce","transient","tree-seq","true?","type","unchecked-add","unchecked-add-int","unchecked-byte","unchecked-char","unchecked-dec","unchecked-dec-int","unchecked-divide-int","unchecked-double","unchecked-float","unchecked-inc","unchecked-inc-int","unchecked-int","unchecked-long","unchecked-multiply","unchecked-multiply-int","unchecked-negate","unchecked-negate-int","unchecked-remainder-int","unchecked-short","unchecked-subtract","unchecked-subtract-int","underive","unquote","unquote-splicing","unreduced","unsigned-bit-shift-right","update","update-in","update-proxy","uri?","use","uuid?","val","vals","var-get","var-set","var?","vary-meta","vec","vector","vector-of","vector?","volatile!","volatile?","vreset!","vswap!","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn","xml-seq","zero?","zipmap"],tokenizer:{root:[{include:"@whitespace"},[/@numbers/,"number"],[/@characters/,"string"],{include:"@string"},[/[()\[\]{}]/,"@brackets"],[/\/#"(?:\.|(?:")|[^"\n])*"\/g/,"regexp"],[/[#'@^`~]/,"meta"],[/@qualifiedSymbols/,{cases:{"^:.+$":"constant","@specialForms":"keyword","@coreSymbols":"keyword","@constants":"constant","@default":"identifier"}}]],whitespace:[[/[\s,]+/,"white"],[/;.*$/,"comment"],[/\(comment\b/,"comment","@comment"]],comment:[[/\(/,"comment","@push"],[/\)/,"comment","@pop"],[/[^()]/,"comment"]],string:[[/"/,"string","@multiLineString"]],multiLineString:[[/"/,"string","@popall"],[/@escapes/,"string.escape"],[/./,"string"]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/5669.js b/snaps-simulator/2.4.2/vendor/5669.js new file mode 100644 index 0000000000..a40aeda071 --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/5669.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[5669],{85669:(e,t,i)=>{i.r(t),i.d(t,{conf:()=>n,language:()=>s});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var n={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:))")}}},s={defaultToken:"",tokenPostfix:".kt",keywords:["as","as?","break","class","continue","do","else","false","for","fun","if","in","!in","interface","is","!is","null","object","package","return","super","this","throw","true","try","typealias","val","var","when","while","by","catch","constructor","delegate","dynamic","field","file","finally","get","import","init","param","property","receiver","set","setparam","where","actual","abstract","annotation","companion","const","crossinline","data","enum","expect","external","final","infix","inline","inner","internal","lateinit","noinline","open","operator","out","override","private","protected","public","reified","sealed","suspend","tailrec","vararg","field","it"],operators:["+","-","*","/","%","=","+=","-=","*=","/=","%=","++","--","&&","||","!","==","!=","===","!==",">","<","<=",">=","[","]","!!","?.","?:","::","..",":","?","->","@",";","$","_"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/0[xX](@hexdigits)[Ll]?/,"number.hex"],[/0(@octaldigits)[Ll]?/,"number.octal"],[/0[bB](@binarydigits)[Ll]?/,"number.binary"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@javadoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],javadoc:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc","@push"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],multistring:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"""/,"string","@pop"],[/./,"string"]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/5881.js b/snaps-simulator/2.4.2/vendor/5881.js new file mode 100644 index 0000000000..84019dac99 --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/5881.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[5881],{55881:(e,t,n)=>{n.r(t),n.d(t,{conf:()=>i,language:()=>r});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:RegExp("^\\s*#pragma\\s+region\\b"),end:RegExp("^\\s*#pragma\\s+endregion\\b")}}},r={defaultToken:"",tokenPostfix:".cpp",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","for","friend","gcnew","generic","goto","if","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m512","__m512d","__m512i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*\\$/,"comment","@linecomment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],linecomment:[[/.*[^\\]$/,"comment","@pop"],[/[^]+/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],raw:[[/(.*)(\))(?:([^ ()\\\t"]*))(\")/,{cases:{"$3==$S2":["string.raw","string.raw.end","string.raw.end",{token:"string.raw.end",next:"@pop"}],"@default":["string.raw","string.raw","string.raw","string.raw"]}}],[/.*/,"string.raw"]],annotation:[{include:"@whitespace"},[/using|alignas/,"keyword"],[/[a-zA-Z0-9_]+/,"annotation"],[/[,:]/,"delimiter"],[/[()]/,"@brackets"],[/\]\s*\]/,{token:"annotation",next:"@pop"}]],include:[[/(\s*)(<)([^<>]*)(>)/,["","keyword.directive.include.begin","string.include.identifier",{token:"keyword.directive.include.end",next:"@pop"}]],[/(\s*)(")([^"]*)(")/,["","keyword.directive.include.begin","string.include.identifier",{token:"keyword.directive.include.end",next:"@pop"}]]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/5900.js b/snaps-simulator/2.4.2/vendor/5900.js new file mode 100644 index 0000000000..510f9d3db2 --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/5900.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[5900],{35900:(e,t,n)=>{n.r(t),n.d(t,{conf:()=>l,language:()=>d});var o,r=n(90361),i=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,p=(e,t,n,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of c(t))a.call(e,r)||r===n||i(e,r,{get:()=>t[r],enumerable:!(o=s(t,r))||o.enumerable});return e},g={};p(g,r,"default"),o&&p(o,r,"default");var l={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:g.languages.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:g.languages.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:g.languages.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:g.languages.IndentAction.None,removeText:1}}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],folding:{markers:{start:RegExp("^\\s*//\\s*#?region\\b"),end:RegExp("^\\s*//\\s*#?endregion\\b")}}},d={defaultToken:"invalid",tokenPostfix:".ts",keywords:["abstract","any","as","asserts","bigint","boolean","break","case","catch","class","continue","const","constructor","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","implements","import","in","infer","instanceof","interface","is","keyof","let","module","namespace","never","new","null","number","object","out","package","private","protected","public","override","readonly","require","global","return","satisfies","set","static","string","super","switch","symbol","this","throw","true","try","type","typeof","undefined","unique","unknown","var","void","while","with","yield","async","await","of"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<",">",">>>","&","|","^","!","~","&&","||","??","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@"],symbols:/[=>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"],[/`/,"string","@string_backtick"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([dgimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],string_single:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],string_backtick:[[/\$\{/,{token:"delimiter.bracket",next:"@bracketCounting"}],[/[^\\`$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/`/,"string","@pop"]],bracketCounting:[[/\{/,"delimiter.bracket","@bracketCounting"],[/\}/,"delimiter.bracket","@pop"],{include:"common"}]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/5924.js b/snaps-simulator/2.4.2/vendor/5924.js new file mode 100644 index 0000000000..60f17d252c --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/5924.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[5924],{65924:(e,s,n)=>{n.r(s),n.d(s,{conf:()=>t,language:()=>o});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var t={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"#",blockComment:["<#","#>"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:RegExp("^\\s*#region\\b"),end:RegExp("^\\s*#endregion\\b")}}},o={defaultToken:"",ignoreCase:!0,tokenPostfix:".ps1",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],keywords:["begin","break","catch","class","continue","data","define","do","dynamicparam","else","elseif","end","exit","filter","finally","for","foreach","from","function","if","in","param","process","return","switch","throw","trap","try","until","using","var","while","workflow","parallel","sequence","inlinescript","configuration"],helpKeywords:/SYNOPSIS|DESCRIPTION|PARAMETER|EXAMPLE|INPUTS|OUTPUTS|NOTES|LINK|COMPONENT|ROLE|FUNCTIONALITY|FORWARDHELPTARGETNAME|FORWARDHELPCATEGORY|REMOTEHELPRUNSPACE|EXTERNALHELP/,symbols:/[=>/,"comment","@pop"],[/(\.)(@helpKeywords)(?!\w)/,{token:"comment.keyword.$2"}],[/[\.#]/,"comment"]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/5925.js b/snaps-simulator/2.4.2/vendor/5925.js new file mode 100644 index 0000000000..0eddb90db6 --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/5925.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[5925],{25925:(e,t,n)=>{n.r(t),n.d(t,{conf:()=>o,language:()=>a});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var o={comments:{lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}],folding:{offSide:!0}},a={defaultToken:"",tokenPostfix:".pug",ignoreCase:!0,brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],keywords:["append","block","case","default","doctype","each","else","extends","for","if","in","include","mixin","typeof","unless","var","when"],tags:["a","abbr","acronym","address","area","article","aside","audio","b","base","basefont","bdi","bdo","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","datalist","dd","del","details","dfn","div","dl","dt","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","keygen","kbd","label","li","link","map","mark","menu","meta","meter","nav","noframes","noscript","object","ol","optgroup","option","output","p","param","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strike","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","tracks","tt","u","ul","video","wbr"],symbols:/[\+\-\*\%\&\|\!\=\/\.\,\:]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^(\s*)([a-zA-Z_-][\w-]*)/,{cases:{"$2@tags":{cases:{"@eos":["","tag"],"@default":["",{token:"tag",next:"@tag.$1"}]}},"$2@keywords":["",{token:"keyword.$2"}],"@default":["",""]}}],[/^(\s*)(#[a-zA-Z_-][\w-]*)/,{cases:{"@eos":["","tag.id"],"@default":["",{token:"tag.id",next:"@tag.$1"}]}}],[/^(\s*)(\.[a-zA-Z_-][\w-]*)/,{cases:{"@eos":["","tag.class"],"@default":["",{token:"tag.class",next:"@tag.$1"}]}}],[/^(\s*)(\|.*)$/,""],{include:"@whitespace"},[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":""}}],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d+\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\d+/,"number"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],tag:[[/(\.)(\s*$)/,[{token:"delimiter",next:"@blockText.$S2."},""]],[/\s+/,{token:"",next:"@simpleText"}],[/#[a-zA-Z_-][\w-]*/,{cases:{"@eos":{token:"tag.id",next:"@pop"},"@default":"tag.id"}}],[/\.[a-zA-Z_-][\w-]*/,{cases:{"@eos":{token:"tag.class",next:"@pop"},"@default":"tag.class"}}],[/\(/,{token:"delimiter.parenthesis",next:"@attributeList"}]],simpleText:[[/[^#]+$/,{token:"",next:"@popall"}],[/[^#]+/,{token:""}],[/(#{)([^}]*)(})/,{cases:{"@eos":["interpolation.delimiter","interpolation",{token:"interpolation.delimiter",next:"@popall"}],"@default":["interpolation.delimiter","interpolation","interpolation.delimiter"]}}],[/#$/,{token:"",next:"@popall"}],[/#/,""]],attributeList:[[/\s+/,""],[/(\w+)(\s*=\s*)("|')/,["attribute.name","delimiter",{token:"attribute.value",next:"@value.$3"}]],[/\w+/,"attribute.name"],[/,/,{cases:{"@eos":{token:"attribute.delimiter",next:"@popall"},"@default":"attribute.delimiter"}}],[/\)$/,{token:"delimiter.parenthesis",next:"@popall"}],[/\)/,{token:"delimiter.parenthesis",next:"@pop"}]],whitespace:[[/^(\s*)(\/\/.*)$/,{token:"comment",next:"@blockText.$1.comment"}],[/[ \t\r\n]+/,""],[//,{token:"comment",next:"@pop"}],[/"]},brackets:[["<",">"]],autoClosingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],surroundingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],onEnterRules:[{beforeText:RegExp("<([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:d.languages.IndentAction.IndentOutdent}},{beforeText:RegExp("<(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:d.languages.IndentAction.Indent}}]},s={defaultToken:"",tokenPostfix:".xml",ignoreCase:!0,qualifiedName:/(?:[\w\.\-]+:)?[\w\.\-]+/,tokenizer:{root:[[/[^<&]+/,""],{include:"@whitespace"},[/(<)(@qualifiedName)/,[{token:"delimiter"},{token:"tag",next:"@tag"}]],[/(<\/)(@qualifiedName)(\s*)(>)/,[{token:"delimiter"},{token:"tag"},"",{token:"delimiter"}]],[/(<\?)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/(<\!)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/<\!\[CDATA\[/,{token:"delimiter.cdata",next:"@cdata"}],[/&\w+;/,"string.escape"]],cdata:[[/[^\]]+/,""],[/\]\]>/,{token:"delimiter.cdata",next:"@pop"}],[/\]/,""]],tag:[[/[ \t\r\n]+/,""],[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/,["attribute.name","","attribute.value"]],[/@qualifiedName/,"attribute.name"],[/\?>/,{token:"delimiter",next:"@pop"}],[/(\/)(>)/,[{token:"tag"},{token:"delimiter",next:"@pop"}]],[/>/,{token:"delimiter",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[//,{token:"comment",next:"@pop"}],[/"],["<",">"],["{{","}}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:RegExp(`<(?!(?:${c.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:d.languages.IndentAction.IndentOutdent}},{beforeText:RegExp(`<(?!(?:${c.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:d.languages.IndentAction.Indent}}]},h={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/\{\{!--/,"comment.block.start.handlebars","@commentBlock"],[/\{\{!/,"comment.start.handlebars","@comment"],[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.root"}],[/)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/\}\}/,"comment.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentBlock:[[/--\}\}/,"comment.block.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentHtml:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],handlebarsInSimpleState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3"}],{include:"handlebarsRoot"}],handlebarsInEmbeddedState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"handlebarsRoot"}],handlebarsRoot:[[/"[^"]*"/,"string.handlebars"],[/[#/][^\s}]+/,"keyword.helper.handlebars"],[/else\b/,"keyword.helper.handlebars"],[/[\s]+/],[/[^}]/,"variable.parameter.handlebars"]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/7483.js b/snaps-simulator/2.4.2/vendor/7483.js new file mode 100644 index 0000000000..f323a830f2 --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/7483.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[7483],{87483:(e,t,r)=>{r.r(t),r.d(t,{conf:()=>p,language:()=>h});var o,n=r(90361),a=Object.defineProperty,i=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,c=(e,t,r,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of m(t))s.call(e,n)||n===r||a(e,n,{get:()=>t[n],enumerable:!(o=i(t,n))||o.enumerable});return e},l={};c(l,n,"default"),o&&c(o,n,"default");var d=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],p={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:[""]},brackets:[[""],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],onEnterRules:[{beforeText:RegExp(`<(?!(?:${d.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:l.languages.IndentAction.IndentOutdent}},{beforeText:RegExp(`<(?!(?:${d.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:l.languages.IndentAction.Indent}}]},h={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/@@@@/],[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.root"}],[/)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)([\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],razorInSimpleState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3"}]],razorInEmbeddedState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],razorBlockCommentTopLevel:[[/\*@/,"@rematch","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorBlockComment:[[/\*@/,"comment.cs","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorRootTopLevel:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/[})]/,"@rematch","@pop"],{include:"razorCommon"}],razorRoot:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/\}/,"delimiter.bracket.cs","@pop"],[/\)/,"delimiter.parenthesis.cs","@pop"],{include:"razorCommon"}],razorCommon:[[/[a-zA-Z_]\w*/,{cases:{"@razorKeywords":{token:"keyword.cs"},"@default":"identifier.cs"}}],[/[\[\]]/,"delimiter.array.cs"],[/[ \t\r\n]+/],[/\/\/.*$/,"comment.cs"],[/@\*/,"comment.cs","@razorBlockComment"],[/"([^"]*)"/,"string.cs"],[/'([^']*)'/,"string.cs"],[/(<)([\w\-]+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)([\w\-]+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<\/)([\w\-]+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,]/,"delimiter.cs"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.cs"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.cs"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.cs"],[/0[0-7']*[0-7]/,"number.octal.cs"],[/0[bB][0-1']*[0-1]/,"number.binary.cs"],[/\d[\d']*/,"number.cs"],[/\d/,"number.cs"]]},razorKeywords:["abstract","as","async","await","base","bool","break","by","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","descending","explicit","event","extern","else","enum","false","finally","fixed","float","for","foreach","from","goto","group","if","implicit","in","int","interface","internal","into","is","lock","long","nameof","new","null","namespace","object","operator","out","override","orderby","params","private","protected","public","readonly","ref","return","switch","struct","sbyte","sealed","short","sizeof","stackalloc","static","string","select","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","var","virtual","volatile","void","when","while","where","yield","model","inject"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/7604.js b/snaps-simulator/2.4.2/vendor/7604.js new file mode 100644 index 0000000000..c94227d964 --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/7604.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[7604],{67604:(e,t,o)=>{o.r(t),o.d(t,{conf:()=>n,language:()=>s});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var n={comments:{lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},s={keywords:["namespace","open","as","operation","function","body","adjoint","newtype","controlled","if","elif","else","repeat","until","fixup","for","in","while","return","fail","within","apply","Adjoint","Controlled","Adj","Ctl","is","self","auto","distribute","invert","intrinsic","let","set","w/","new","not","and","or","use","borrow","using","borrowing","mutable","internal"],typeKeywords:["Unit","Int","BigInt","Double","Bool","String","Qubit","Result","Pauli","Range"],invalidKeywords:["abstract","base","bool","break","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","enum","event","explicit","extern","finally","fixed","float","foreach","goto","implicit","int","interface","lock","long","null","object","operator","out","override","params","private","protected","public","readonly","ref","sbyte","sealed","short","sizeof","stackalloc","static","string","struct","switch","this","throw","try","typeof","unit","ulong","unchecked","unsafe","ushort","virtual","void","volatile"],constants:["true","false","PauliI","PauliX","PauliY","PauliZ","One","Zero"],builtin:["X","Y","Z","H","HY","S","T","SWAP","CNOT","CCNOT","MultiX","R","RFrac","Rx","Ry","Rz","R1","R1Frac","Exp","ExpFrac","Measure","M","MultiM","Message","Length","Assert","AssertProb","AssertEqual"],operators:["and=","<-","->","*","*=","@","!","^","^=",":","::","..","==","...","=","=>",">",">=","<","<=","-","-=","!=","or=","%","%=","|","+","+=","?","/","/=","&&&","&&&=","^^^","^^^=",">>>",">>>=","<<<","<<<=","|||","|||=","~~~","_","w/","w/="],namespaceFollows:["namespace","open"],symbols:/[=>{i.r(e),i.d(e,{conf:()=>d,language:()=>f});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var d={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}]},f={defaultToken:"",tokenPostfix:".sol",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["pragma","solidity","contract","library","using","struct","function","modifier","constructor","address","string","bool","Int","Uint","Byte","Fixed","Ufixed","int","int8","int16","int24","int32","int40","int48","int56","int64","int72","int80","int88","int96","int104","int112","int120","int128","int136","int144","int152","int160","int168","int176","int184","int192","int200","int208","int216","int224","int232","int240","int248","int256","uint","uint8","uint16","uint24","uint32","uint40","uint48","uint56","uint64","uint72","uint80","uint88","uint96","uint104","uint112","uint120","uint128","uint136","uint144","uint152","uint160","uint168","uint176","uint184","uint192","uint200","uint208","uint216","uint224","uint232","uint240","uint248","uint256","byte","bytes","bytes1","bytes2","bytes3","bytes4","bytes5","bytes6","bytes7","bytes8","bytes9","bytes10","bytes11","bytes12","bytes13","bytes14","bytes15","bytes16","bytes17","bytes18","bytes19","bytes20","bytes21","bytes22","bytes23","bytes24","bytes25","bytes26","bytes27","bytes28","bytes29","bytes30","bytes31","bytes32","fixed","fixed0x8","fixed0x16","fixed0x24","fixed0x32","fixed0x40","fixed0x48","fixed0x56","fixed0x64","fixed0x72","fixed0x80","fixed0x88","fixed0x96","fixed0x104","fixed0x112","fixed0x120","fixed0x128","fixed0x136","fixed0x144","fixed0x152","fixed0x160","fixed0x168","fixed0x176","fixed0x184","fixed0x192","fixed0x200","fixed0x208","fixed0x216","fixed0x224","fixed0x232","fixed0x240","fixed0x248","fixed0x256","fixed8x8","fixed8x16","fixed8x24","fixed8x32","fixed8x40","fixed8x48","fixed8x56","fixed8x64","fixed8x72","fixed8x80","fixed8x88","fixed8x96","fixed8x104","fixed8x112","fixed8x120","fixed8x128","fixed8x136","fixed8x144","fixed8x152","fixed8x160","fixed8x168","fixed8x176","fixed8x184","fixed8x192","fixed8x200","fixed8x208","fixed8x216","fixed8x224","fixed8x232","fixed8x240","fixed8x248","fixed16x8","fixed16x16","fixed16x24","fixed16x32","fixed16x40","fixed16x48","fixed16x56","fixed16x64","fixed16x72","fixed16x80","fixed16x88","fixed16x96","fixed16x104","fixed16x112","fixed16x120","fixed16x128","fixed16x136","fixed16x144","fixed16x152","fixed16x160","fixed16x168","fixed16x176","fixed16x184","fixed16x192","fixed16x200","fixed16x208","fixed16x216","fixed16x224","fixed16x232","fixed16x240","fixed24x8","fixed24x16","fixed24x24","fixed24x32","fixed24x40","fixed24x48","fixed24x56","fixed24x64","fixed24x72","fixed24x80","fixed24x88","fixed24x96","fixed24x104","fixed24x112","fixed24x120","fixed24x128","fixed24x136","fixed24x144","fixed24x152","fixed24x160","fixed24x168","fixed24x176","fixed24x184","fixed24x192","fixed24x200","fixed24x208","fixed24x216","fixed24x224","fixed24x232","fixed32x8","fixed32x16","fixed32x24","fixed32x32","fixed32x40","fixed32x48","fixed32x56","fixed32x64","fixed32x72","fixed32x80","fixed32x88","fixed32x96","fixed32x104","fixed32x112","fixed32x120","fixed32x128","fixed32x136","fixed32x144","fixed32x152","fixed32x160","fixed32x168","fixed32x176","fixed32x184","fixed32x192","fixed32x200","fixed32x208","fixed32x216","fixed32x224","fixed40x8","fixed40x16","fixed40x24","fixed40x32","fixed40x40","fixed40x48","fixed40x56","fixed40x64","fixed40x72","fixed40x80","fixed40x88","fixed40x96","fixed40x104","fixed40x112","fixed40x120","fixed40x128","fixed40x136","fixed40x144","fixed40x152","fixed40x160","fixed40x168","fixed40x176","fixed40x184","fixed40x192","fixed40x200","fixed40x208","fixed40x216","fixed48x8","fixed48x16","fixed48x24","fixed48x32","fixed48x40","fixed48x48","fixed48x56","fixed48x64","fixed48x72","fixed48x80","fixed48x88","fixed48x96","fixed48x104","fixed48x112","fixed48x120","fixed48x128","fixed48x136","fixed48x144","fixed48x152","fixed48x160","fixed48x168","fixed48x176","fixed48x184","fixed48x192","fixed48x200","fixed48x208","fixed56x8","fixed56x16","fixed56x24","fixed56x32","fixed56x40","fixed56x48","fixed56x56","fixed56x64","fixed56x72","fixed56x80","fixed56x88","fixed56x96","fixed56x104","fixed56x112","fixed56x120","fixed56x128","fixed56x136","fixed56x144","fixed56x152","fixed56x160","fixed56x168","fixed56x176","fixed56x184","fixed56x192","fixed56x200","fixed64x8","fixed64x16","fixed64x24","fixed64x32","fixed64x40","fixed64x48","fixed64x56","fixed64x64","fixed64x72","fixed64x80","fixed64x88","fixed64x96","fixed64x104","fixed64x112","fixed64x120","fixed64x128","fixed64x136","fixed64x144","fixed64x152","fixed64x160","fixed64x168","fixed64x176","fixed64x184","fixed64x192","fixed72x8","fixed72x16","fixed72x24","fixed72x32","fixed72x40","fixed72x48","fixed72x56","fixed72x64","fixed72x72","fixed72x80","fixed72x88","fixed72x96","fixed72x104","fixed72x112","fixed72x120","fixed72x128","fixed72x136","fixed72x144","fixed72x152","fixed72x160","fixed72x168","fixed72x176","fixed72x184","fixed80x8","fixed80x16","fixed80x24","fixed80x32","fixed80x40","fixed80x48","fixed80x56","fixed80x64","fixed80x72","fixed80x80","fixed80x88","fixed80x96","fixed80x104","fixed80x112","fixed80x120","fixed80x128","fixed80x136","fixed80x144","fixed80x152","fixed80x160","fixed80x168","fixed80x176","fixed88x8","fixed88x16","fixed88x24","fixed88x32","fixed88x40","fixed88x48","fixed88x56","fixed88x64","fixed88x72","fixed88x80","fixed88x88","fixed88x96","fixed88x104","fixed88x112","fixed88x120","fixed88x128","fixed88x136","fixed88x144","fixed88x152","fixed88x160","fixed88x168","fixed96x8","fixed96x16","fixed96x24","fixed96x32","fixed96x40","fixed96x48","fixed96x56","fixed96x64","fixed96x72","fixed96x80","fixed96x88","fixed96x96","fixed96x104","fixed96x112","fixed96x120","fixed96x128","fixed96x136","fixed96x144","fixed96x152","fixed96x160","fixed104x8","fixed104x16","fixed104x24","fixed104x32","fixed104x40","fixed104x48","fixed104x56","fixed104x64","fixed104x72","fixed104x80","fixed104x88","fixed104x96","fixed104x104","fixed104x112","fixed104x120","fixed104x128","fixed104x136","fixed104x144","fixed104x152","fixed112x8","fixed112x16","fixed112x24","fixed112x32","fixed112x40","fixed112x48","fixed112x56","fixed112x64","fixed112x72","fixed112x80","fixed112x88","fixed112x96","fixed112x104","fixed112x112","fixed112x120","fixed112x128","fixed112x136","fixed112x144","fixed120x8","fixed120x16","fixed120x24","fixed120x32","fixed120x40","fixed120x48","fixed120x56","fixed120x64","fixed120x72","fixed120x80","fixed120x88","fixed120x96","fixed120x104","fixed120x112","fixed120x120","fixed120x128","fixed120x136","fixed128x8","fixed128x16","fixed128x24","fixed128x32","fixed128x40","fixed128x48","fixed128x56","fixed128x64","fixed128x72","fixed128x80","fixed128x88","fixed128x96","fixed128x104","fixed128x112","fixed128x120","fixed128x128","fixed136x8","fixed136x16","fixed136x24","fixed136x32","fixed136x40","fixed136x48","fixed136x56","fixed136x64","fixed136x72","fixed136x80","fixed136x88","fixed136x96","fixed136x104","fixed136x112","fixed136x120","fixed144x8","fixed144x16","fixed144x24","fixed144x32","fixed144x40","fixed144x48","fixed144x56","fixed144x64","fixed144x72","fixed144x80","fixed144x88","fixed144x96","fixed144x104","fixed144x112","fixed152x8","fixed152x16","fixed152x24","fixed152x32","fixed152x40","fixed152x48","fixed152x56","fixed152x64","fixed152x72","fixed152x80","fixed152x88","fixed152x96","fixed152x104","fixed160x8","fixed160x16","fixed160x24","fixed160x32","fixed160x40","fixed160x48","fixed160x56","fixed160x64","fixed160x72","fixed160x80","fixed160x88","fixed160x96","fixed168x8","fixed168x16","fixed168x24","fixed168x32","fixed168x40","fixed168x48","fixed168x56","fixed168x64","fixed168x72","fixed168x80","fixed168x88","fixed176x8","fixed176x16","fixed176x24","fixed176x32","fixed176x40","fixed176x48","fixed176x56","fixed176x64","fixed176x72","fixed176x80","fixed184x8","fixed184x16","fixed184x24","fixed184x32","fixed184x40","fixed184x48","fixed184x56","fixed184x64","fixed184x72","fixed192x8","fixed192x16","fixed192x24","fixed192x32","fixed192x40","fixed192x48","fixed192x56","fixed192x64","fixed200x8","fixed200x16","fixed200x24","fixed200x32","fixed200x40","fixed200x48","fixed200x56","fixed208x8","fixed208x16","fixed208x24","fixed208x32","fixed208x40","fixed208x48","fixed216x8","fixed216x16","fixed216x24","fixed216x32","fixed216x40","fixed224x8","fixed224x16","fixed224x24","fixed224x32","fixed232x8","fixed232x16","fixed232x24","fixed240x8","fixed240x16","fixed248x8","ufixed","ufixed0x8","ufixed0x16","ufixed0x24","ufixed0x32","ufixed0x40","ufixed0x48","ufixed0x56","ufixed0x64","ufixed0x72","ufixed0x80","ufixed0x88","ufixed0x96","ufixed0x104","ufixed0x112","ufixed0x120","ufixed0x128","ufixed0x136","ufixed0x144","ufixed0x152","ufixed0x160","ufixed0x168","ufixed0x176","ufixed0x184","ufixed0x192","ufixed0x200","ufixed0x208","ufixed0x216","ufixed0x224","ufixed0x232","ufixed0x240","ufixed0x248","ufixed0x256","ufixed8x8","ufixed8x16","ufixed8x24","ufixed8x32","ufixed8x40","ufixed8x48","ufixed8x56","ufixed8x64","ufixed8x72","ufixed8x80","ufixed8x88","ufixed8x96","ufixed8x104","ufixed8x112","ufixed8x120","ufixed8x128","ufixed8x136","ufixed8x144","ufixed8x152","ufixed8x160","ufixed8x168","ufixed8x176","ufixed8x184","ufixed8x192","ufixed8x200","ufixed8x208","ufixed8x216","ufixed8x224","ufixed8x232","ufixed8x240","ufixed8x248","ufixed16x8","ufixed16x16","ufixed16x24","ufixed16x32","ufixed16x40","ufixed16x48","ufixed16x56","ufixed16x64","ufixed16x72","ufixed16x80","ufixed16x88","ufixed16x96","ufixed16x104","ufixed16x112","ufixed16x120","ufixed16x128","ufixed16x136","ufixed16x144","ufixed16x152","ufixed16x160","ufixed16x168","ufixed16x176","ufixed16x184","ufixed16x192","ufixed16x200","ufixed16x208","ufixed16x216","ufixed16x224","ufixed16x232","ufixed16x240","ufixed24x8","ufixed24x16","ufixed24x24","ufixed24x32","ufixed24x40","ufixed24x48","ufixed24x56","ufixed24x64","ufixed24x72","ufixed24x80","ufixed24x88","ufixed24x96","ufixed24x104","ufixed24x112","ufixed24x120","ufixed24x128","ufixed24x136","ufixed24x144","ufixed24x152","ufixed24x160","ufixed24x168","ufixed24x176","ufixed24x184","ufixed24x192","ufixed24x200","ufixed24x208","ufixed24x216","ufixed24x224","ufixed24x232","ufixed32x8","ufixed32x16","ufixed32x24","ufixed32x32","ufixed32x40","ufixed32x48","ufixed32x56","ufixed32x64","ufixed32x72","ufixed32x80","ufixed32x88","ufixed32x96","ufixed32x104","ufixed32x112","ufixed32x120","ufixed32x128","ufixed32x136","ufixed32x144","ufixed32x152","ufixed32x160","ufixed32x168","ufixed32x176","ufixed32x184","ufixed32x192","ufixed32x200","ufixed32x208","ufixed32x216","ufixed32x224","ufixed40x8","ufixed40x16","ufixed40x24","ufixed40x32","ufixed40x40","ufixed40x48","ufixed40x56","ufixed40x64","ufixed40x72","ufixed40x80","ufixed40x88","ufixed40x96","ufixed40x104","ufixed40x112","ufixed40x120","ufixed40x128","ufixed40x136","ufixed40x144","ufixed40x152","ufixed40x160","ufixed40x168","ufixed40x176","ufixed40x184","ufixed40x192","ufixed40x200","ufixed40x208","ufixed40x216","ufixed48x8","ufixed48x16","ufixed48x24","ufixed48x32","ufixed48x40","ufixed48x48","ufixed48x56","ufixed48x64","ufixed48x72","ufixed48x80","ufixed48x88","ufixed48x96","ufixed48x104","ufixed48x112","ufixed48x120","ufixed48x128","ufixed48x136","ufixed48x144","ufixed48x152","ufixed48x160","ufixed48x168","ufixed48x176","ufixed48x184","ufixed48x192","ufixed48x200","ufixed48x208","ufixed56x8","ufixed56x16","ufixed56x24","ufixed56x32","ufixed56x40","ufixed56x48","ufixed56x56","ufixed56x64","ufixed56x72","ufixed56x80","ufixed56x88","ufixed56x96","ufixed56x104","ufixed56x112","ufixed56x120","ufixed56x128","ufixed56x136","ufixed56x144","ufixed56x152","ufixed56x160","ufixed56x168","ufixed56x176","ufixed56x184","ufixed56x192","ufixed56x200","ufixed64x8","ufixed64x16","ufixed64x24","ufixed64x32","ufixed64x40","ufixed64x48","ufixed64x56","ufixed64x64","ufixed64x72","ufixed64x80","ufixed64x88","ufixed64x96","ufixed64x104","ufixed64x112","ufixed64x120","ufixed64x128","ufixed64x136","ufixed64x144","ufixed64x152","ufixed64x160","ufixed64x168","ufixed64x176","ufixed64x184","ufixed64x192","ufixed72x8","ufixed72x16","ufixed72x24","ufixed72x32","ufixed72x40","ufixed72x48","ufixed72x56","ufixed72x64","ufixed72x72","ufixed72x80","ufixed72x88","ufixed72x96","ufixed72x104","ufixed72x112","ufixed72x120","ufixed72x128","ufixed72x136","ufixed72x144","ufixed72x152","ufixed72x160","ufixed72x168","ufixed72x176","ufixed72x184","ufixed80x8","ufixed80x16","ufixed80x24","ufixed80x32","ufixed80x40","ufixed80x48","ufixed80x56","ufixed80x64","ufixed80x72","ufixed80x80","ufixed80x88","ufixed80x96","ufixed80x104","ufixed80x112","ufixed80x120","ufixed80x128","ufixed80x136","ufixed80x144","ufixed80x152","ufixed80x160","ufixed80x168","ufixed80x176","ufixed88x8","ufixed88x16","ufixed88x24","ufixed88x32","ufixed88x40","ufixed88x48","ufixed88x56","ufixed88x64","ufixed88x72","ufixed88x80","ufixed88x88","ufixed88x96","ufixed88x104","ufixed88x112","ufixed88x120","ufixed88x128","ufixed88x136","ufixed88x144","ufixed88x152","ufixed88x160","ufixed88x168","ufixed96x8","ufixed96x16","ufixed96x24","ufixed96x32","ufixed96x40","ufixed96x48","ufixed96x56","ufixed96x64","ufixed96x72","ufixed96x80","ufixed96x88","ufixed96x96","ufixed96x104","ufixed96x112","ufixed96x120","ufixed96x128","ufixed96x136","ufixed96x144","ufixed96x152","ufixed96x160","ufixed104x8","ufixed104x16","ufixed104x24","ufixed104x32","ufixed104x40","ufixed104x48","ufixed104x56","ufixed104x64","ufixed104x72","ufixed104x80","ufixed104x88","ufixed104x96","ufixed104x104","ufixed104x112","ufixed104x120","ufixed104x128","ufixed104x136","ufixed104x144","ufixed104x152","ufixed112x8","ufixed112x16","ufixed112x24","ufixed112x32","ufixed112x40","ufixed112x48","ufixed112x56","ufixed112x64","ufixed112x72","ufixed112x80","ufixed112x88","ufixed112x96","ufixed112x104","ufixed112x112","ufixed112x120","ufixed112x128","ufixed112x136","ufixed112x144","ufixed120x8","ufixed120x16","ufixed120x24","ufixed120x32","ufixed120x40","ufixed120x48","ufixed120x56","ufixed120x64","ufixed120x72","ufixed120x80","ufixed120x88","ufixed120x96","ufixed120x104","ufixed120x112","ufixed120x120","ufixed120x128","ufixed120x136","ufixed128x8","ufixed128x16","ufixed128x24","ufixed128x32","ufixed128x40","ufixed128x48","ufixed128x56","ufixed128x64","ufixed128x72","ufixed128x80","ufixed128x88","ufixed128x96","ufixed128x104","ufixed128x112","ufixed128x120","ufixed128x128","ufixed136x8","ufixed136x16","ufixed136x24","ufixed136x32","ufixed136x40","ufixed136x48","ufixed136x56","ufixed136x64","ufixed136x72","ufixed136x80","ufixed136x88","ufixed136x96","ufixed136x104","ufixed136x112","ufixed136x120","ufixed144x8","ufixed144x16","ufixed144x24","ufixed144x32","ufixed144x40","ufixed144x48","ufixed144x56","ufixed144x64","ufixed144x72","ufixed144x80","ufixed144x88","ufixed144x96","ufixed144x104","ufixed144x112","ufixed152x8","ufixed152x16","ufixed152x24","ufixed152x32","ufixed152x40","ufixed152x48","ufixed152x56","ufixed152x64","ufixed152x72","ufixed152x80","ufixed152x88","ufixed152x96","ufixed152x104","ufixed160x8","ufixed160x16","ufixed160x24","ufixed160x32","ufixed160x40","ufixed160x48","ufixed160x56","ufixed160x64","ufixed160x72","ufixed160x80","ufixed160x88","ufixed160x96","ufixed168x8","ufixed168x16","ufixed168x24","ufixed168x32","ufixed168x40","ufixed168x48","ufixed168x56","ufixed168x64","ufixed168x72","ufixed168x80","ufixed168x88","ufixed176x8","ufixed176x16","ufixed176x24","ufixed176x32","ufixed176x40","ufixed176x48","ufixed176x56","ufixed176x64","ufixed176x72","ufixed176x80","ufixed184x8","ufixed184x16","ufixed184x24","ufixed184x32","ufixed184x40","ufixed184x48","ufixed184x56","ufixed184x64","ufixed184x72","ufixed192x8","ufixed192x16","ufixed192x24","ufixed192x32","ufixed192x40","ufixed192x48","ufixed192x56","ufixed192x64","ufixed200x8","ufixed200x16","ufixed200x24","ufixed200x32","ufixed200x40","ufixed200x48","ufixed200x56","ufixed208x8","ufixed208x16","ufixed208x24","ufixed208x32","ufixed208x40","ufixed208x48","ufixed216x8","ufixed216x16","ufixed216x24","ufixed216x32","ufixed216x40","ufixed224x8","ufixed224x16","ufixed224x24","ufixed224x32","ufixed232x8","ufixed232x16","ufixed232x24","ufixed240x8","ufixed240x16","ufixed248x8","event","enum","let","mapping","private","public","external","inherited","payable","true","false","var","import","constant","if","else","for","else","for","while","do","break","continue","throw","returns","return","suicide","new","is","this","super"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/8147.js b/snaps-simulator/2.4.2/vendor/8147.js new file mode 100644 index 0000000000..cb6a420e4c --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/8147.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[8147],{68147:(e,n,t)=>{t.r(n),t.d(n,{conf:()=>o,language:()=>s});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var o={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`"},{open:'"',close:'"'},{open:"'",close:"'"}]},s={defaultToken:"",tokenPostfix:".go",keywords:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var","bool","true","false","uint8","uint16","uint32","uint64","int8","int16","int32","int64","float32","float64","complex64","complex128","byte","rune","uint","int","uintptr","string","nil"],operators:["+","-","*","/","%","&","|","^","<<",">>","&^","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>=","&^=","&&","||","<-","++","--","==","<",">","=","!","!=","<=",">=",":=","...","(",")","","]","{","}",",",";",".",":"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex"],[/0[0-7']*[0-7]/,"number.octal"],[/0[bB][0-1']*[0-1]/,"number.binary"],[/\d[\d']*/,"number"],[/\d/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/`/,"string","@rawstring"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],rawstring:[[/[^\`]/,"string"],[/`/,"string","@pop"]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/8308.js b/snaps-simulator/2.4.2/vendor/8308.js new file mode 100644 index 0000000000..34f7c01f67 --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/8308.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[8308],{8308:(e,t,s)=>{s.r(t),s.d(t,{conf:()=>r,language:()=>n});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var r={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},n={defaultToken:"",tokenPostfix:".perl",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["__DATA__","else","lock","__END__","elsif","lt","__FILE__","eq","__LINE__","exp","ne","sub","__PACKAGE__","for","no","and","foreach","or","unless","cmp","ge","package","until","continue","gt","while","CORE","if","xor","do","le","__DIE__","__WARN__"],builtinFunctions:["-A","END","length","setpgrp","-B","endgrent","link","setpriority","-b","endhostent","listen","setprotoent","-C","endnetent","local","setpwent","-c","endprotoent","localtime","setservent","-d","endpwent","log","setsockopt","-e","endservent","lstat","shift","-f","eof","map","shmctl","-g","eval","mkdir","shmget","-k","exec","msgctl","shmread","-l","exists","msgget","shmwrite","-M","exit","msgrcv","shutdown","-O","fcntl","msgsnd","sin","-o","fileno","my","sleep","-p","flock","next","socket","-r","fork","not","socketpair","-R","format","oct","sort","-S","formline","open","splice","-s","getc","opendir","split","-T","getgrent","ord","sprintf","-t","getgrgid","our","sqrt","-u","getgrnam","pack","srand","-w","gethostbyaddr","pipe","stat","-W","gethostbyname","pop","state","-X","gethostent","pos","study","-x","getlogin","print","substr","-z","getnetbyaddr","printf","symlink","abs","getnetbyname","prototype","syscall","accept","getnetent","push","sysopen","alarm","getpeername","quotemeta","sysread","atan2","getpgrp","rand","sysseek","AUTOLOAD","getppid","read","system","BEGIN","getpriority","readdir","syswrite","bind","getprotobyname","readline","tell","binmode","getprotobynumber","readlink","telldir","bless","getprotoent","readpipe","tie","break","getpwent","recv","tied","caller","getpwnam","redo","time","chdir","getpwuid","ref","times","CHECK","getservbyname","rename","truncate","chmod","getservbyport","require","uc","chomp","getservent","reset","ucfirst","chop","getsockname","return","umask","chown","getsockopt","reverse","undef","chr","glob","rewinddir","UNITCHECK","chroot","gmtime","rindex","unlink","close","goto","rmdir","unpack","closedir","grep","say","unshift","connect","hex","scalar","untie","cos","index","seek","use","crypt","INIT","seekdir","utime","dbmclose","int","select","values","dbmopen","ioctl","semctl","vec","defined","join","semget","wait","delete","keys","semop","waitpid","DESTROY","kill","send","wantarray","die","last","setgrent","warn","dump","lc","sethostent","write","each","lcfirst","setnetent"],builtinFileHandlers:["ARGV","STDERR","STDOUT","ARGVOUT","STDIN","ENV"],builtinVariables:["$!","$^RE_TRIE_MAXBUF","$LAST_REGEXP_CODE_RESULT",'$"',"$^S","$LIST_SEPARATOR","$#","$^T","$MATCH","$$","$^TAINT","$MULTILINE_MATCHING","$%","$^UNICODE","$NR","$&","$^UTF8LOCALE","$OFMT","$'","$^V","$OFS","$(","$^W","$ORS","$)","$^WARNING_BITS","$OS_ERROR","$*","$^WIDE_SYSTEM_CALLS","$OSNAME","$+","$^X","$OUTPUT_AUTO_FLUSH","$,","$_","$OUTPUT_FIELD_SEPARATOR","$-","$`","$OUTPUT_RECORD_SEPARATOR","$.","$a","$PERL_VERSION","$/","$ACCUMULATOR","$PERLDB","$0","$ARG","$PID","$:","$ARGV","$POSTMATCH","$;","$b","$PREMATCH","$<","$BASETIME","$PROCESS_ID","$=","$CHILD_ERROR","$PROGRAM_NAME","$>","$COMPILING","$REAL_GROUP_ID","$?","$DEBUGGING","$REAL_USER_ID","$@","$EFFECTIVE_GROUP_ID","$RS","$[","$EFFECTIVE_USER_ID","$SUBSCRIPT_SEPARATOR","$\\","$EGID","$SUBSEP","$]","$ERRNO","$SYSTEM_FD_MAX","$^","$EUID","$UID","$^A","$EVAL_ERROR","$WARNING","$^C","$EXCEPTIONS_BEING_CAUGHT","$|","$^CHILD_ERROR_NATIVE","$EXECUTABLE_NAME","$~","$^D","$EXTENDED_OS_ERROR","%!","$^E","$FORMAT_FORMFEED","%^H","$^ENCODING","$FORMAT_LINE_BREAK_CHARACTERS","%ENV","$^F","$FORMAT_LINES_LEFT","%INC","$^H","$FORMAT_LINES_PER_PAGE","%OVERLOAD","$^I","$FORMAT_NAME","%SIG","$^L","$FORMAT_PAGE_NUMBER","@+","$^M","$FORMAT_TOP_NAME","@-","$^N","$GID","@_","$^O","$INPLACE_EDIT","@ARGV","$^OPEN","$INPUT_LINE_NUMBER","@INC","$^P","$INPUT_RECORD_SEPARATOR","@LAST_MATCH_START","$^R","$LAST_MATCH_END","$^RE_DEBUG_FLAGS","$LAST_PAREN_MATCH"],symbols:/[:+\-\^*$&%@=<>!?|\/~\.]/,quoteLikeOps:["qr","m","s","q","qq","qx","qw","tr","y"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@whitespace"},[/[a-zA-Z\-_][\w\-_]*/,{cases:{"@keywords":"keyword","@builtinFunctions":"type.identifier","@builtinFileHandlers":"variable.predefined","@quoteLikeOps":{token:"@rematch",next:"quotedConstructs"},"@default":""}}],[/[\$@%][*@#?\+\-\$!\w\\\^><~:;\.]+/,{cases:{"@builtinVariables":"variable.predefined","@default":"variable"}}],{include:"@strings"},{include:"@dblStrings"},{include:"@perldoc"},{include:"@heredoc"},[/[{}\[\]()]/,"@brackets"],[/[\/](?:(?:\[(?:\\]|[^\]])+\])|(?:\\\/|[^\]\/]))*[\/]\w*\s*(?=[).,;]|$)/,"regexp"],[/@symbols/,"operators"],{include:"@numbers"},[/[,;]/,"delimiter"]],whitespace:[[/\s+/,"white"],[/(^#!.*$)/,"metatag"],[/(^#.*$)/,"comment"]],numbers:[[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+/,"number"]],strings:[[/'/,"string","@stringBody"]],stringBody:[[/'/,"string","@popall"],[/\\'/,"string.escape"],[/./,"string"]],dblStrings:[[/"/,"string","@dblStringBody"]],dblStringBody:[[/"/,"string","@popall"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],{include:"@variables"},[/./,"string"]],quotedConstructs:[[/(q|qw|tr|y)\s*\(/,{token:"string.delim",switchTo:"@qstring.(.)"}],[/(q|qw|tr|y)\s*\[/,{token:"string.delim",switchTo:"@qstring.[.]"}],[/(q|qw|tr|y)\s*\{/,{token:"string.delim",switchTo:"@qstring.{.}"}],[/(q|qw|tr|y)\s*"}],[/(q|qw|tr|y)#/,{token:"string.delim",switchTo:"@qstring.#.#"}],[/(q|qw|tr|y)\s*([^A-Za-z0-9#\s])/,{token:"string.delim",switchTo:"@qstring.$2.$2"}],[/(q|qw|tr|y)\s+(\w)/,{token:"string.delim",switchTo:"@qstring.$2.$2"}],[/(qr|m|s)\s*\(/,{token:"regexp.delim",switchTo:"@qregexp.(.)"}],[/(qr|m|s)\s*\[/,{token:"regexp.delim",switchTo:"@qregexp.[.]"}],[/(qr|m|s)\s*\{/,{token:"regexp.delim",switchTo:"@qregexp.{.}"}],[/(qr|m|s)\s*"}],[/(qr|m|s)#/,{token:"regexp.delim",switchTo:"@qregexp.#.#"}],[/(qr|m|s)\s*([^A-Za-z0-9_#\s])/,{token:"regexp.delim",switchTo:"@qregexp.$2.$2"}],[/(qr|m|s)\s+(\w)/,{token:"regexp.delim",switchTo:"@qregexp.$2.$2"}],[/(qq|qx)\s*\(/,{token:"string.delim",switchTo:"@qqstring.(.)"}],[/(qq|qx)\s*\[/,{token:"string.delim",switchTo:"@qqstring.[.]"}],[/(qq|qx)\s*\{/,{token:"string.delim",switchTo:"@qqstring.{.}"}],[/(qq|qx)\s*"}],[/(qq|qx)#/,{token:"string.delim",switchTo:"@qqstring.#.#"}],[/(qq|qx)\s*([^A-Za-z0-9#\s])/,{token:"string.delim",switchTo:"@qqstring.$2.$2"}],[/(qq|qx)\s+(\w)/,{token:"string.delim",switchTo:"@qqstring.$2.$2"}]],qstring:[[/\\./,"string.escape"],[/./,{cases:{"$#==$S3":{token:"string.delim",next:"@pop"},"$#==$S2":{token:"string.delim",next:"@push"},"@default":"string"}}]],qregexp:[{include:"@variables"},[/\\./,"regexp.escape"],[/./,{cases:{"$#==$S3":{token:"regexp.delim",next:"@regexpModifiers"},"$#==$S2":{token:"regexp.delim",next:"@push"},"@default":"regexp"}}]],regexpModifiers:[[/[msixpodualngcer]+/,{token:"regexp.modifier",next:"@popall"}]],qqstring:[{include:"@variables"},{include:"@qstring"}],heredoc:[[/<<\s*['"`]?([\w\-]+)['"`]?/,{token:"string.heredoc.delimiter",next:"@heredocBody.$1"}]],heredocBody:[[/^([\w\-]+)$/,{cases:{"$1==$S2":[{token:"string.heredoc.delimiter",next:"@popall"}],"@default":"string.heredoc"}}],[/./,"string.heredoc"]],perldoc:[[/^=\w/,"comment.doc","@perldocBody"]],perldocBody:[[/^=cut\b/,"type.identifier","@popall"],[/./,"comment.doc"]],variables:[[/\$\w+/,"variable"],[/@\w+/,"variable"],[/%\w+/,"variable"]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/8309.js b/snaps-simulator/2.4.2/vendor/8309.js new file mode 100644 index 0000000000..f02329c17f --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/8309.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[8309],{78309:(e,n,t)=>{t.r(n),t.d(n,{conf:()=>o,language:()=>s});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var o={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""',notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""'},{open:'"',close:'"'}],folding:{offSide:!0}},s={defaultToken:"invalid",tokenPostfix:".gql",keywords:["null","true","false","query","mutation","subscription","extend","schema","directive","scalar","type","interface","union","enum","input","implements","fragment","on"],typeKeywords:["Int","Float","String","Boolean","ID"],directiveLocations:["SCHEMA","SCALAR","OBJECT","FIELD_DEFINITION","ARGUMENT_DEFINITION","INTERFACE","UNION","ENUM","ENUM_VALUE","INPUT_OBJECT","INPUT_FIELD_DEFINITION","QUERY","MUTATION","SUBSCRIPTION","FIELD","FRAGMENT_DEFINITION","FRAGMENT_SPREAD","INLINE_FRAGMENT","VARIABLE_DEFINITION"],operators:["=","!","?",":","&","|"],symbols:/[=!?:&|]+/,escapes:/\\(?:["\\\/bfnrt]|u[0-9A-Fa-f]{4})/,tokenizer:{root:[[/[a-z_][\w$]*/,{cases:{"@keywords":"keyword","@default":"key.identifier"}}],[/[$][\w$]*/,{cases:{"@keywords":"keyword","@default":"argument.identifier"}}],[/[A-Z][\w\$]*/,{cases:{"@typeKeywords":"keyword","@default":"type.identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,{token:"annotation",log:"annotation token: $0"}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"""/,{token:"string",next:"@mlstring",nextEmbedded:"markdown"}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}]],mlstring:[[/[^"]+/,"string"],['"""',{token:"string",next:"@pop",nextEmbedded:"@pop"}]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/#.*$/,"comment"]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/8327.js b/snaps-simulator/2.4.2/vendor/8327.js new file mode 100644 index 0000000000..1a62bb8d56 --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/8327.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[8327],{98327:(e,t,a)=>{a.r(t),a.d(t,{conf:()=>n,language:()=>i});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var n={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment","identifier"]},{open:"[",close:"]",notIn:["string","comment","identifier"]},{open:"(",close:")",notIn:["string","comment","identifier"]},{open:"{",close:"}",notIn:["string","comment","identifier"]}]},i={defaultToken:"",tokenPostfix:".pq",ignoreCase:!1,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"{",close:"}",token:"delimiter.brackets"},{open:"(",close:")",token:"delimiter.parenthesis"}],operatorKeywords:["and","not","or"],keywords:["as","each","else","error","false","if","in","is","let","meta","otherwise","section","shared","then","true","try","type"],constructors:["#binary","#date","#datetime","#datetimezone","#duration","#table","#time"],constants:["#infinity","#nan","#sections","#shared"],typeKeywords:["action","any","anynonnull","none","null","logical","number","time","date","datetime","datetimezone","duration","text","binary","list","record","table","function"],builtinFunctions:["Access.Database","Action.Return","Action.Sequence","Action.Try","ActiveDirectory.Domains","AdoDotNet.DataSource","AdoDotNet.Query","AdobeAnalytics.Cubes","AnalysisServices.Database","AnalysisServices.Databases","AzureStorage.BlobContents","AzureStorage.Blobs","AzureStorage.Tables","Binary.Buffer","Binary.Combine","Binary.Compress","Binary.Decompress","Binary.End","Binary.From","Binary.FromList","Binary.FromText","Binary.InferContentType","Binary.Length","Binary.ToList","Binary.ToText","BinaryFormat.7BitEncodedSignedInteger","BinaryFormat.7BitEncodedUnsignedInteger","BinaryFormat.Binary","BinaryFormat.Byte","BinaryFormat.ByteOrder","BinaryFormat.Choice","BinaryFormat.Decimal","BinaryFormat.Double","BinaryFormat.Group","BinaryFormat.Length","BinaryFormat.List","BinaryFormat.Null","BinaryFormat.Record","BinaryFormat.SignedInteger16","BinaryFormat.SignedInteger32","BinaryFormat.SignedInteger64","BinaryFormat.Single","BinaryFormat.Text","BinaryFormat.Transform","BinaryFormat.UnsignedInteger16","BinaryFormat.UnsignedInteger32","BinaryFormat.UnsignedInteger64","Byte.From","Character.FromNumber","Character.ToNumber","Combiner.CombineTextByDelimiter","Combiner.CombineTextByEachDelimiter","Combiner.CombineTextByLengths","Combiner.CombineTextByPositions","Combiner.CombineTextByRanges","Comparer.Equals","Comparer.FromCulture","Comparer.Ordinal","Comparer.OrdinalIgnoreCase","Csv.Document","Cube.AddAndExpandDimensionColumn","Cube.AddMeasureColumn","Cube.ApplyParameter","Cube.AttributeMemberId","Cube.AttributeMemberProperty","Cube.CollapseAndRemoveColumns","Cube.Dimensions","Cube.DisplayFolders","Cube.Measures","Cube.Parameters","Cube.Properties","Cube.PropertyKey","Cube.ReplaceDimensions","Cube.Transform","Currency.From","DB2.Database","Date.AddDays","Date.AddMonths","Date.AddQuarters","Date.AddWeeks","Date.AddYears","Date.Day","Date.DayOfWeek","Date.DayOfWeekName","Date.DayOfYear","Date.DaysInMonth","Date.EndOfDay","Date.EndOfMonth","Date.EndOfQuarter","Date.EndOfWeek","Date.EndOfYear","Date.From","Date.FromText","Date.IsInCurrentDay","Date.IsInCurrentMonth","Date.IsInCurrentQuarter","Date.IsInCurrentWeek","Date.IsInCurrentYear","Date.IsInNextDay","Date.IsInNextMonth","Date.IsInNextNDays","Date.IsInNextNMonths","Date.IsInNextNQuarters","Date.IsInNextNWeeks","Date.IsInNextNYears","Date.IsInNextQuarter","Date.IsInNextWeek","Date.IsInNextYear","Date.IsInPreviousDay","Date.IsInPreviousMonth","Date.IsInPreviousNDays","Date.IsInPreviousNMonths","Date.IsInPreviousNQuarters","Date.IsInPreviousNWeeks","Date.IsInPreviousNYears","Date.IsInPreviousQuarter","Date.IsInPreviousWeek","Date.IsInPreviousYear","Date.IsInYearToDate","Date.IsLeapYear","Date.Month","Date.MonthName","Date.QuarterOfYear","Date.StartOfDay","Date.StartOfMonth","Date.StartOfQuarter","Date.StartOfWeek","Date.StartOfYear","Date.ToRecord","Date.ToText","Date.WeekOfMonth","Date.WeekOfYear","Date.Year","DateTime.AddZone","DateTime.Date","DateTime.FixedLocalNow","DateTime.From","DateTime.FromFileTime","DateTime.FromText","DateTime.IsInCurrentHour","DateTime.IsInCurrentMinute","DateTime.IsInCurrentSecond","DateTime.IsInNextHour","DateTime.IsInNextMinute","DateTime.IsInNextNHours","DateTime.IsInNextNMinutes","DateTime.IsInNextNSeconds","DateTime.IsInNextSecond","DateTime.IsInPreviousHour","DateTime.IsInPreviousMinute","DateTime.IsInPreviousNHours","DateTime.IsInPreviousNMinutes","DateTime.IsInPreviousNSeconds","DateTime.IsInPreviousSecond","DateTime.LocalNow","DateTime.Time","DateTime.ToRecord","DateTime.ToText","DateTimeZone.FixedLocalNow","DateTimeZone.FixedUtcNow","DateTimeZone.From","DateTimeZone.FromFileTime","DateTimeZone.FromText","DateTimeZone.LocalNow","DateTimeZone.RemoveZone","DateTimeZone.SwitchZone","DateTimeZone.ToLocal","DateTimeZone.ToRecord","DateTimeZone.ToText","DateTimeZone.ToUtc","DateTimeZone.UtcNow","DateTimeZone.ZoneHours","DateTimeZone.ZoneMinutes","Decimal.From","Diagnostics.ActivityId","Diagnostics.Trace","DirectQueryCapabilities.From","Double.From","Duration.Days","Duration.From","Duration.FromText","Duration.Hours","Duration.Minutes","Duration.Seconds","Duration.ToRecord","Duration.ToText","Duration.TotalDays","Duration.TotalHours","Duration.TotalMinutes","Duration.TotalSeconds","Embedded.Value","Error.Record","Excel.CurrentWorkbook","Excel.Workbook","Exchange.Contents","Expression.Constant","Expression.Evaluate","Expression.Identifier","Facebook.Graph","File.Contents","Folder.Contents","Folder.Files","Function.From","Function.Invoke","Function.InvokeAfter","Function.IsDataSource","GoogleAnalytics.Accounts","Guid.From","HdInsight.Containers","HdInsight.Contents","HdInsight.Files","Hdfs.Contents","Hdfs.Files","Informix.Database","Int16.From","Int32.From","Int64.From","Int8.From","ItemExpression.From","Json.Document","Json.FromValue","Lines.FromBinary","Lines.FromText","Lines.ToBinary","Lines.ToText","List.Accumulate","List.AllTrue","List.Alternate","List.AnyTrue","List.Average","List.Buffer","List.Combine","List.Contains","List.ContainsAll","List.ContainsAny","List.Count","List.Covariance","List.DateTimeZones","List.DateTimes","List.Dates","List.Difference","List.Distinct","List.Durations","List.FindText","List.First","List.FirstN","List.Generate","List.InsertRange","List.Intersect","List.IsDistinct","List.IsEmpty","List.Last","List.LastN","List.MatchesAll","List.MatchesAny","List.Max","List.MaxN","List.Median","List.Min","List.MinN","List.Mode","List.Modes","List.NonNullCount","List.Numbers","List.PositionOf","List.PositionOfAny","List.Positions","List.Product","List.Random","List.Range","List.RemoveFirstN","List.RemoveItems","List.RemoveLastN","List.RemoveMatchingItems","List.RemoveNulls","List.RemoveRange","List.Repeat","List.ReplaceMatchingItems","List.ReplaceRange","List.ReplaceValue","List.Reverse","List.Select","List.Single","List.SingleOrDefault","List.Skip","List.Sort","List.StandardDeviation","List.Sum","List.Times","List.Transform","List.TransformMany","List.Union","List.Zip","Logical.From","Logical.FromText","Logical.ToText","MQ.Queue","MySQL.Database","Number.Abs","Number.Acos","Number.Asin","Number.Atan","Number.Atan2","Number.BitwiseAnd","Number.BitwiseNot","Number.BitwiseOr","Number.BitwiseShiftLeft","Number.BitwiseShiftRight","Number.BitwiseXor","Number.Combinations","Number.Cos","Number.Cosh","Number.Exp","Number.Factorial","Number.From","Number.FromText","Number.IntegerDivide","Number.IsEven","Number.IsNaN","Number.IsOdd","Number.Ln","Number.Log","Number.Log10","Number.Mod","Number.Permutations","Number.Power","Number.Random","Number.RandomBetween","Number.Round","Number.RoundAwayFromZero","Number.RoundDown","Number.RoundTowardZero","Number.RoundUp","Number.Sign","Number.Sin","Number.Sinh","Number.Sqrt","Number.Tan","Number.Tanh","Number.ToText","OData.Feed","Odbc.DataSource","Odbc.Query","OleDb.DataSource","OleDb.Query","Oracle.Database","Percentage.From","PostgreSQL.Database","RData.FromBinary","Record.AddField","Record.Combine","Record.Field","Record.FieldCount","Record.FieldNames","Record.FieldOrDefault","Record.FieldValues","Record.FromList","Record.FromTable","Record.HasFields","Record.RemoveFields","Record.RenameFields","Record.ReorderFields","Record.SelectFields","Record.ToList","Record.ToTable","Record.TransformFields","Replacer.ReplaceText","Replacer.ReplaceValue","RowExpression.Column","RowExpression.From","Salesforce.Data","Salesforce.Reports","SapBusinessWarehouse.Cubes","SapHana.Database","SharePoint.Contents","SharePoint.Files","SharePoint.Tables","Single.From","Soda.Feed","Splitter.SplitByNothing","Splitter.SplitTextByAnyDelimiter","Splitter.SplitTextByDelimiter","Splitter.SplitTextByEachDelimiter","Splitter.SplitTextByLengths","Splitter.SplitTextByPositions","Splitter.SplitTextByRanges","Splitter.SplitTextByRepeatedLengths","Splitter.SplitTextByWhitespace","Sql.Database","Sql.Databases","SqlExpression.SchemaFrom","SqlExpression.ToExpression","Sybase.Database","Table.AddColumn","Table.AddIndexColumn","Table.AddJoinColumn","Table.AddKey","Table.AggregateTableColumn","Table.AlternateRows","Table.Buffer","Table.Column","Table.ColumnCount","Table.ColumnNames","Table.ColumnsOfType","Table.Combine","Table.CombineColumns","Table.Contains","Table.ContainsAll","Table.ContainsAny","Table.DemoteHeaders","Table.Distinct","Table.DuplicateColumn","Table.ExpandListColumn","Table.ExpandRecordColumn","Table.ExpandTableColumn","Table.FillDown","Table.FillUp","Table.FilterWithDataTable","Table.FindText","Table.First","Table.FirstN","Table.FirstValue","Table.FromColumns","Table.FromList","Table.FromPartitions","Table.FromRecords","Table.FromRows","Table.FromValue","Table.Group","Table.HasColumns","Table.InsertRows","Table.IsDistinct","Table.IsEmpty","Table.Join","Table.Keys","Table.Last","Table.LastN","Table.MatchesAllRows","Table.MatchesAnyRows","Table.Max","Table.MaxN","Table.Min","Table.MinN","Table.NestedJoin","Table.Partition","Table.PartitionValues","Table.Pivot","Table.PositionOf","Table.PositionOfAny","Table.PrefixColumns","Table.Profile","Table.PromoteHeaders","Table.Range","Table.RemoveColumns","Table.RemoveFirstN","Table.RemoveLastN","Table.RemoveMatchingRows","Table.RemoveRows","Table.RemoveRowsWithErrors","Table.RenameColumns","Table.ReorderColumns","Table.Repeat","Table.ReplaceErrorValues","Table.ReplaceKeys","Table.ReplaceMatchingRows","Table.ReplaceRelationshipIdentity","Table.ReplaceRows","Table.ReplaceValue","Table.ReverseRows","Table.RowCount","Table.Schema","Table.SelectColumns","Table.SelectRows","Table.SelectRowsWithErrors","Table.SingleRow","Table.Skip","Table.Sort","Table.SplitColumn","Table.ToColumns","Table.ToList","Table.ToRecords","Table.ToRows","Table.TransformColumnNames","Table.TransformColumnTypes","Table.TransformColumns","Table.TransformRows","Table.Transpose","Table.Unpivot","Table.UnpivotOtherColumns","Table.View","Table.ViewFunction","TableAction.DeleteRows","TableAction.InsertRows","TableAction.UpdateRows","Tables.GetRelationships","Teradata.Database","Text.AfterDelimiter","Text.At","Text.BeforeDelimiter","Text.BetweenDelimiters","Text.Clean","Text.Combine","Text.Contains","Text.End","Text.EndsWith","Text.Format","Text.From","Text.FromBinary","Text.Insert","Text.Length","Text.Lower","Text.Middle","Text.NewGuid","Text.PadEnd","Text.PadStart","Text.PositionOf","Text.PositionOfAny","Text.Proper","Text.Range","Text.Remove","Text.RemoveRange","Text.Repeat","Text.Replace","Text.ReplaceRange","Text.Select","Text.Split","Text.SplitAny","Text.Start","Text.StartsWith","Text.ToBinary","Text.ToList","Text.Trim","Text.TrimEnd","Text.TrimStart","Text.Upper","Time.EndOfHour","Time.From","Time.FromText","Time.Hour","Time.Minute","Time.Second","Time.StartOfHour","Time.ToRecord","Time.ToText","Type.AddTableKey","Type.ClosedRecord","Type.Facets","Type.ForFunction","Type.ForRecord","Type.FunctionParameters","Type.FunctionRequiredParameters","Type.FunctionReturn","Type.Is","Type.IsNullable","Type.IsOpenRecord","Type.ListItem","Type.NonNullable","Type.OpenRecord","Type.RecordFields","Type.ReplaceFacets","Type.ReplaceTableKeys","Type.TableColumn","Type.TableKeys","Type.TableRow","Type.TableSchema","Type.Union","Uri.BuildQueryString","Uri.Combine","Uri.EscapeDataString","Uri.Parts","Value.Add","Value.As","Value.Compare","Value.Divide","Value.Equals","Value.Firewall","Value.FromText","Value.Is","Value.Metadata","Value.Multiply","Value.NativeQuery","Value.NullableEquals","Value.RemoveMetadata","Value.ReplaceMetadata","Value.ReplaceType","Value.Subtract","Value.Type","ValueAction.NativeStatement","ValueAction.Replace","Variable.Value","Web.Contents","Web.Page","WebAction.Request","Xml.Document","Xml.Tables"],builtinConstants:["BinaryEncoding.Base64","BinaryEncoding.Hex","BinaryOccurrence.Optional","BinaryOccurrence.Repeating","BinaryOccurrence.Required","ByteOrder.BigEndian","ByteOrder.LittleEndian","Compression.Deflate","Compression.GZip","CsvStyle.QuoteAfterDelimiter","CsvStyle.QuoteAlways","Culture.Current","Day.Friday","Day.Monday","Day.Saturday","Day.Sunday","Day.Thursday","Day.Tuesday","Day.Wednesday","ExtraValues.Error","ExtraValues.Ignore","ExtraValues.List","GroupKind.Global","GroupKind.Local","JoinAlgorithm.Dynamic","JoinAlgorithm.LeftHash","JoinAlgorithm.LeftIndex","JoinAlgorithm.PairwiseHash","JoinAlgorithm.RightHash","JoinAlgorithm.RightIndex","JoinAlgorithm.SortMerge","JoinKind.FullOuter","JoinKind.Inner","JoinKind.LeftAnti","JoinKind.LeftOuter","JoinKind.RightAnti","JoinKind.RightOuter","JoinSide.Left","JoinSide.Right","MissingField.Error","MissingField.Ignore","MissingField.UseNull","Number.E","Number.Epsilon","Number.NaN","Number.NegativeInfinity","Number.PI","Number.PositiveInfinity","Occurrence.All","Occurrence.First","Occurrence.Last","Occurrence.Optional","Occurrence.Repeating","Occurrence.Required","Order.Ascending","Order.Descending","Precision.Decimal","Precision.Double","QuoteStyle.Csv","QuoteStyle.None","RelativePosition.FromEnd","RelativePosition.FromStart","RoundingMode.AwayFromZero","RoundingMode.Down","RoundingMode.ToEven","RoundingMode.TowardZero","RoundingMode.Up","SapHanaDistribution.All","SapHanaDistribution.Connection","SapHanaDistribution.Off","SapHanaDistribution.Statement","SapHanaRangeOperator.Equals","SapHanaRangeOperator.GreaterThan","SapHanaRangeOperator.GreaterThanOrEquals","SapHanaRangeOperator.LessThan","SapHanaRangeOperator.LessThanOrEquals","SapHanaRangeOperator.NotEquals","TextEncoding.Ascii","TextEncoding.BigEndianUnicode","TextEncoding.Unicode","TextEncoding.Utf16","TextEncoding.Utf8","TextEncoding.Windows","TraceLevel.Critical","TraceLevel.Error","TraceLevel.Information","TraceLevel.Verbose","TraceLevel.Warning","WebMethod.Delete","WebMethod.Get","WebMethod.Head","WebMethod.Patch","WebMethod.Post","WebMethod.Put"],builtinTypes:["Action.Type","Any.Type","Binary.Type","BinaryEncoding.Type","BinaryOccurrence.Type","Byte.Type","ByteOrder.Type","Character.Type","Compression.Type","CsvStyle.Type","Currency.Type","Date.Type","DateTime.Type","DateTimeZone.Type","Day.Type","Decimal.Type","Double.Type","Duration.Type","ExtraValues.Type","Function.Type","GroupKind.Type","Guid.Type","Int16.Type","Int32.Type","Int64.Type","Int8.Type","JoinAlgorithm.Type","JoinKind.Type","JoinSide.Type","List.Type","Logical.Type","MissingField.Type","None.Type","Null.Type","Number.Type","Occurrence.Type","Order.Type","Password.Type","Percentage.Type","Precision.Type","QuoteStyle.Type","Record.Type","RelativePosition.Type","RoundingMode.Type","SapHanaDistribution.Type","SapHanaRangeOperator.Type","Single.Type","Table.Type","Text.Type","TextEncoding.Type","Time.Type","TraceLevel.Type","Type.Type","Uri.Type","WebMethod.Type"],tokenizer:{root:[[/#"[\w \.]+"/,"identifier.quote"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+([eE][\-+]?\d+)?/,"number"],[/(#?[a-z]+)\b/,{cases:{"@typeKeywords":"type","@keywords":"keyword","@constants":"constant","@constructors":"constructor","@operatorKeywords":"operators","@default":"identifier"}}],[/\b([A-Z][a-zA-Z0-9]+\.Type)\b/,{cases:{"@builtinTypes":"type","@default":"identifier"}}],[/\b([A-Z][a-zA-Z0-9]+\.[A-Z][a-zA-Z0-9]+)\b/,{cases:{"@builtinFunctions":"keyword.function","@builtinConstants":"constant","@default":"identifier"}}],[/\b([a-zA-Z_][\w\.]*)\b/,"identifier"],{include:"@whitespace"},{include:"@comments"},{include:"@strings"},[/[{}()\[\]]/,"@brackets"],[/([=\+<>\-\*&@\?\/!])|([<>]=)|(<>)|(=>)|(\.\.\.)|(\.\.)/,"operators"],[/[,;]/,"delimiter"]],whitespace:[[/\s+/,"white"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],strings:[['"',"string","@string"]],string:[['""',"string.escape"],['"',"string","@pop"],[".","string"]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/849.js b/snaps-simulator/2.4.2/vendor/849.js new file mode 100644 index 0000000000..e8de07e7b7 --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/849.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[849],{4354:(e,o,t)=>{t.r(o),t.d(o,{conf:()=>n,language:()=>r});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var n={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}]},r={defaultToken:"",tokenPostfix:".ecl",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],pounds:"append|break|declare|demangle|end|for|getdatatype|if|inmodule|loop|mangle|onwarning|option|set|stored|uniquename",keywords:["__compressed__","after","all","and","any","as","atmost","before","beginc","best","between","case","cluster","compressed","compression","const","counter","csv","default","descend","embed","encoding","encrypt","end","endc","endembed","endmacro","enum","escape","except","exclusive","expire","export","extend","fail","few","fileposition","first","flat","forward","from","full","function","functionmacro","group","grouped","heading","hole","ifblock","import","in","inner","interface","internal","joined","keep","keyed","last","left","limit","linkcounted","literal","little_endian","load","local","locale","lookup","lzw","macro","many","maxcount","maxlength","min skew","module","mofn","multiple","named","namespace","nocase","noroot","noscan","nosort","not","noxpath","of","onfail","only","opt","or","outer","overwrite","packed","partition","penalty","physicallength","pipe","prefetch","quote","record","repeat","retry","return","right","right1","right2","rows","rowset","scan","scope","self","separator","service","shared","skew","skip","smart","soapaction","sql","stable","store","terminator","thor","threshold","timelimit","timeout","token","transform","trim","type","unicodeorder","unordered","unsorted","unstable","update","use","validate","virtual","whole","width","wild","within","wnotrim","xml","xpath"],functions:["abs","acos","aggregate","allnodes","apply","ascii","asin","assert","asstring","atan","atan2","ave","build","buildindex","case","catch","choose","choosen","choosesets","clustersize","combine","correlation","cos","cosh","count","covariance","cron","dataset","dedup","define","denormalize","dictionary","distribute","distributed","distribution","ebcdic","enth","error","evaluate","event","eventextra","eventname","exists","exp","fail","failcode","failmessage","fetch","fromunicode","fromxml","getenv","getisvalid","global","graph","group","hash","hash32","hash64","hashcrc","hashmd5","having","httpcall","httpheader","if","iff","index","intformat","isvalid","iterate","join","keydiff","keypatch","keyunicode","length","library","limit","ln","loadxml","local","log","loop","map","matched","matchlength","matchposition","matchtext","matchunicode","max","merge","mergejoin","min","nofold","nolocal","nonempty","normalize","nothor","notify","output","parallel","parse","pipe","power","preload","process","project","pull","random","range","rank","ranked","realformat","recordof","regexfind","regexreplace","regroup","rejected","rollup","round","roundup","row","rowdiff","sample","sequential","set","sin","sinh","sizeof","soapcall","sort","sorted","sqrt","stepped","stored","sum","table","tan","tanh","thisnode","topn","tounicode","toxml","transfer","transform","trim","truncate","typeof","ungroup","unicodeorder","variance","wait","which","workunit","xmldecode","xmlencode","xmltext","xmlunicode"],typesint:"integer|unsigned",typesnum:["data","qstring","string","unicode","utf8","varstring","varunicode"],typesone:"ascii|big_endian|boolean|data|decimal|ebcdic|grouped|integer|linkcounted|pattern|qstring|real|record|rule|set of|streamed|string|token|udecimal|unicode|unsigned|utf8|varstring|varunicode",operators:["+","-","/",":=","<","<>","=",">","\\","and","in","not","or"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]+/,"number.hex"],[/0[bB][01]+/,"number.hex"],[/[0-9_]+/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\v\f\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/8677.js b/snaps-simulator/2.4.2/vendor/8677.js new file mode 100644 index 0000000000..5b281fa5a4 --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/8677.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[8677],{68677:(e,n,t)=>{t.r(n),t.d(n,{conf:()=>s,language:()=>o});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var s={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:RegExp("^\\s*//\\s*#region\\b|^\\s*\\(\\*\\s*#region(.*)\\*\\)"),end:RegExp("^\\s*//\\s*#endregion\\b|^\\s*\\(\\*\\s*#endregion\\s*\\*\\)")}}},o={defaultToken:"",tokenPostfix:".fs",keywords:["abstract","and","atomic","as","assert","asr","base","begin","break","checked","component","const","constraint","constructor","continue","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","eager","event","external","extern","false","finally","for","fun","function","fixed","functor","global","if","in","include","inherit","inline","interface","internal","land","lor","lsl","lsr","lxor","lazy","let","match","member","mod","module","mutable","namespace","method","mixin","new","not","null","of","open","or","object","override","private","parallel","process","protected","pure","public","rec","return","static","sealed","struct","sig","then","to","true","tailcall","trait","try","type","upcast","use","val","void","virtual","volatile","when","while","with","yield"],symbols:/[=>\]/,"annotation"],[/^#(if|else|endif)/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0x[0-9a-fA-F]+LF/,"number.float"],[/0x[0-9a-fA-F]+(@integersuffix)/,"number.hex"],[/0b[0-1]+(@integersuffix)/,"number.bin"],[/\d+(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string",'@string."""'],[/"/,"string",'@string."'],[/\@"/,{token:"string.quote",next:"@litstring"}],[/'[^\\']'B?/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\(\*(?!\))/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^*(]+/,"comment"],[/\*\)/,"comment","@pop"],[/\*/,"comment"],[/\(\*\)/,"comment"],[/\(/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/("""|"B?)/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]],litstring:[[/[^"]+/,"string"],[/""/,"string.escape"],[/"/,{token:"string.quote",next:"@pop"}]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/868.js b/snaps-simulator/2.4.2/vendor/868.js new file mode 100644 index 0000000000..56bfe9e712 --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/868.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[868],{868:(e,t,o)=>{o.r(t),o.d(t,{conf:()=>r,language:()=>n});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var r={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["{","}"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}],folding:{markers:{start:RegExp("^\\s*\\{\\$REGION(\\s\\'.*\\')?\\}"),end:RegExp("^\\s*\\{\\$ENDREGION\\}")}}},n={defaultToken:"",tokenPostfix:".pascal",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["absolute","abstract","all","and_then","array","as","asm","attribute","begin","bindable","case","class","const","contains","default","div","else","end","except","exports","external","far","file","finalization","finally","forward","generic","goto","if","implements","import","in","index","inherited","initialization","interrupt","is","label","library","mod","module","name","near","not","object","of","on","only","operator","or_else","otherwise","override","package","packed","pow","private","program","protected","public","published","interface","implementation","qualified","read","record","resident","requires","resourcestring","restricted","segment","set","shl","shr","specialize","stored","strict","then","threadvar","to","try","type","unit","uses","var","view","virtual","dynamic","overload","reintroduce","with","write","xor","true","false","procedure","function","constructor","destructor","property","break","continue","exit","abort","while","do","for","raise","repeat","until"],typeKeywords:["boolean","double","byte","integer","shortint","char","longint","float","string"],operators:["=",">","<","<=",">=","<>",":",":=","and","or","+","-","*","/","@","&","^","%"],symbols:/[=><:@\^&|+\-*\/\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\$[0-9a-fA-F]{1,16}/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'/,"string","@string"],[/'[^\\']'/,"string"],[/'/,"string.invalid"],[/\#\d+/,"string"]],comment:[[/[^\*\}]+/,"comment"],[/\}/,"comment","@pop"],[/[\{]/,"comment"]],string:[[/[^\\']+/,"string"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\{/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/8947.js b/snaps-simulator/2.4.2/vendor/8947.js new file mode 100644 index 0000000000..10fbb6ab09 --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/8947.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_=self.webpackChunk_||[]).push([[8947],{98947:(e,t,s)=>{s.r(t),s.d(t,{conf:()=>n,language:()=>o});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var n={comments:{blockComment:[""]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">",notIn:["string"]}],surroundingPairs:[{open:"(",close:")"},{open:"[",close:"]"},{open:"`",close:"`"}],folding:{markers:{start:RegExp("^\\s*"),end:RegExp("^\\s*")}}},o={defaultToken:"",tokenPostfix:".md",control:/[\\`*_\[\]{}()#+\-\.!]/,noncontrol:/[^\\`*_\[\]{}()#+\-\.!]/,escapes:/\\(?:@control)/,jsescapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,empty:["area","base","basefont","br","col","frame","hr","img","input","isindex","link","meta","param"],tokenizer:{root:[[/^\s*\|/,"@rematch","@table_header"],[/^(\s{0,3})(#+)((?:[^\\#]|@escapes)+)((?:#+)?)/,["white","keyword","keyword","keyword"]],[/^\s*(=+|\-+)\s*$/,"keyword"],[/^\s*((\*[ ]?)+)\s*$/,"meta.separator"],[/^\s*>+/,"comment"],[/^\s*([\*\-+:]|\d+\.)\s/,"keyword"],[/^(\t|[ ]{4})[^ ].*$/,"string"],[/^\s*~~~\s*((?:\w|[\/\-#])+)?\s*$/,{token:"string",next:"@codeblock"}],[/^\s*```\s*((?:\w|[\/\-#])+).*$/,{token:"string",next:"@codeblockgh",nextEmbedded:"$1"}],[/^\s*```\s*$/,{token:"string",next:"@codeblock"}],{include:"@linecontent"}],table_header:[{include:"@table_common"},[/[^\|]+/,"keyword.table.header"]],table_body:[{include:"@table_common"},{include:"@linecontent"}],table_common:[[/\s*[\-:]+\s*/,{token:"keyword",switchTo:"table_body"}],[/^\s*\|/,"keyword.table.left"],[/^\s*[^\|]/,"@rematch","@pop"],[/^\s*$/,"@rematch","@pop"],[/\|/,{cases:{"@eos":"keyword.table.right","@default":"keyword.table.middle"}}]],codeblock:[[/^\s*~~~\s*$/,{token:"string",next:"@pop"}],[/^\s*```\s*$/,{token:"string",next:"@pop"}],[/.*$/,"variable.source"]],codeblockgh:[[/```\s*$/,{token:"string",next:"@pop",nextEmbedded:"@pop"}],[/[^`]+/,"variable.source"]],linecontent:[[/&\w+;/,"string.escape"],[/@escapes/,"escape"],[/\b__([^\\_]|@escapes|_(?!_))+__\b/,"strong"],[/\*\*([^\\*]|@escapes|\*(?!\*))+\*\*/,"strong"],[/\b_[^_]+_\b/,"emphasis"],[/\*([^\\*]|@escapes)+\*/,"emphasis"],[/`([^\\`]|@escapes)+`/,"variable"],[/\{+[^}]+\}+/,"string.target"],[/(!?\[)((?:[^\]\\]|@escapes)*)(\]\([^\)]+\))/,["string.link","","string.link"]],[/(!?\[)((?:[^\]\\]|@escapes)*)(\])/,"string.link"],{include:"html"}],html:[[/<(\w+)\/>/,"tag"],[/<(\w+)(\-|\w)*/,{cases:{"@empty":{token:"tag",next:"@tag.$1"},"@default":{token:"tag",next:"@tag.$1"}}}],[/<\/(\w+)(\-|\w)*\s*>/,{token:"tag"}],[//,"comment","@pop"],[/"],["<",">"],["{{","}}"],["{%","%}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"%",close:"%"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:RegExp(`<(?!(?:${c.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:u.languages.IndentAction.IndentOutdent}},{beforeText:RegExp(`<(?!(?:${c.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:u.languages.IndentAction.Indent}}]},p={defaultToken:"",tokenPostfix:"",builtinTags:["if","else","elseif","endif","render","assign","capture","endcapture","case","endcase","comment","endcomment","cycle","decrement","for","endfor","include","increment","layout","raw","endraw","render","tablerow","endtablerow","unless","endunless"],builtinFilters:["abs","append","at_least","at_most","capitalize","ceil","compact","date","default","divided_by","downcase","escape","escape_once","first","floor","join","json","last","lstrip","map","minus","modulo","newline_to_br","plus","prepend","remove","remove_first","replace","replace_first","reverse","round","rstrip","size","slice","sort","sort_natural","split","strip","strip_html","strip_newlines","times","truncate","truncatewords","uniq","upcase","url_decode","url_encode","where"],constants:["true","false"],operators:["==","!=",">","<",">=","<="],symbol:/[=>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)([\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[//,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],liquidState:[[/\{\{/,"delimiter.output.liquid"],[/\}\}/,{token:"delimiter.output.liquid",switchTo:"@$S2.$S3"}],[/\{\%/,"delimiter.tag.liquid"],[/raw\s*\%\}/,"delimiter.tag.liquid","@liquidRaw"],[/\%\}/,{token:"delimiter.tag.liquid",switchTo:"@$S2.$S3"}],{include:"liquidRoot"}],liquidRaw:[[/^(?!\{\%\s*endraw\s*\%\}).+/],[/\{\%/,"delimiter.tag.liquid"],[/@identifier/],[/\%\}/,{token:"delimiter.tag.liquid",next:"@root"}]],liquidRoot:[[/\d+(\.\d+)?/,"number.liquid"],[/"[^"]*"/,"string.liquid"],[/'[^']*'/,"string.liquid"],[/\s+/],[/@symbol/,{cases:{"@operators":"operator.liquid","@default":""}}],[/\./],[/@identifier/,{cases:{"@constants":"keyword.liquid","@builtinFilters":"predefined.liquid","@builtinTags":"predefined.liquid","@default":"variable.liquid"}}],[/[^}|%]/,"variable.liquid"]]}}}}]); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/editor.worker.js b/snaps-simulator/2.4.2/vendor/editor.worker.js new file mode 100644 index 0000000000..1704d2fece --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/editor.worker.js @@ -0,0 +1 @@ +(()=>{var e={406:e=>{var t,r,n,i=e.exports={};function s(){throw Error("setTimeout has not been defined")}function o(){throw Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===s||!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:s}catch(e){t=s}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var l=[],u=!1,h=-1;function d(){u&&n&&(u=!1,n.length?l=n.concat(l):h=-1,l.length&&c())}function c(){if(!u){var e=a(d);u=!0;for(var t=l.length;t;){for(n=l,l=[];++h1)for(var r=1;r{"use strict";let e,t,n;let i=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack){if(u.isErrorNoTelemetry(e))throw new u(e.message+"\n\n"+e.stack);throw Error(e.message+"\n\n"+e.stack)}throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function s(e){e instanceof l||e instanceof Error&&e.name===a&&e.message===a||i.onUnexpectedError(e)}function o(e){if(e instanceof Error){let{name:t,message:r}=e;return{$isError:!0,name:t,message:r,stack:e.stacktrace||e.stack,noTelemetry:u.isErrorNoTelemetry(e)}}return e}let a="Canceled";class l extends Error{constructor(){super(a),this.name=this.message}}class u extends Error{constructor(e){super(e),this.name="CodeExpectedError"}static fromError(e){if(e instanceof u)return e;let t=new u;return t.message=e.message,t.stack=e.stack,t}static isErrorNoTelemetry(e){return"CodeExpectedError"===e.name}}class h extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,h.prototype)}}function d(e){if(C.is(e)){let t=[];for(let r of e)if(r)try{r.dispose()}catch(e){t.push(e)}if(1===t.length)throw t[0];if(t.length>1)throw AggregateError(t,"Encountered errors while disposing of store");return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function c(e){return{dispose:function(e){let t;let r=this,n=!1;return function(){return n?t:(n=!0,t=e.apply(r,arguments))}}(()=>{e()})}}!function(e){function t(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]}e.is=t;let r=Object.freeze([]);function*n(e){yield e}e.empty=function(){return r},e.single=n,e.wrap=function(e){return t(e)?e:n(e)},e.from=function(e){return e||r},e.isEmpty=function(e){return!e||!0===e[Symbol.iterator]().next().done},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,t){for(let r of e)if(t(r))return!0;return!1},e.find=function(e,t){for(let r of e)if(t(r))return r},e.filter=function*(e,t){for(let r of e)t(r)&&(yield r)},e.map=function*(e,t){let r=0;for(let n of e)yield t(n,r++)},e.concat=function*(...e){for(let t of e)for(let e of t)yield e},e.reduce=function(e,t,r){let n=r;for(let r of e)n=t(n,r);return n},e.slice=function*(e,t,r=e.length){for(t<0&&(t+=e.length),r<0?r+=e.length:r>e.length&&(r=e.length);ti}]}}(C||(C={}));class g{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(0!==this._toDispose.size)try{d(this._toDispose)}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw Error("Cannot register a disposable on itself!");return this._isDisposed?g.DISABLE_DISPOSED_WARNING||console.warn(Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}}g.DISABLE_DISPOSED_WARNING=!1;class m{constructor(){this._store=new g,this._store}dispose(){this._store.dispose()}_register(e){if(e===this)throw Error("Cannot register a disposable on itself!");return this._store.add(e)}}m.None=Object.freeze({dispose(){}});class f{constructor(){this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1}set(e){let t=e;return this.unset=()=>t=void 0,this.isset=()=>void 0!==t,this.dispose=()=>{t&&(t(),t=void 0)},this}}Symbol.iterator;class p{constructor(e){this.element=e,this.next=p.Undefined,this.prev=p.Undefined}}p.Undefined=new p(void 0);class b{constructor(){this._first=p.Undefined,this._last=p.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===p.Undefined}clear(){let e=this._first;for(;e!==p.Undefined;){let t=e.next;e.prev=p.Undefined,e.next=p.Undefined,e=t}this._first=p.Undefined,this._last=p.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){let r=new p(e);if(this._first===p.Undefined)this._first=r,this._last=r;else if(t){let e=this._last;this._last=r,r.prev=e,e.next=r}else{let e=this._first;this._first=r,r.next=e,e.prev=r}this._size+=1;let n=!1;return()=>{n||(n=!0,this._remove(r))}}shift(){if(this._first!==p.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==p.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==p.Undefined&&e.next!==p.Undefined){let t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===p.Undefined&&e.next===p.Undefined?(this._first=p.Undefined,this._last=p.Undefined):e.next===p.Undefined?(this._last=this._last.prev,this._last.next=p.Undefined):e.prev===p.Undefined&&(this._first=this._first.next,this._first.prev=p.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==p.Undefined;)yield e.element,e=e.next}}let _="undefined"!=typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;var C,y,v,L,w,S,N,E,A,R,x,M,k,O,T,I,D,P,F,K,V,B,q,U,W,H,$,z,j,G,Y,J,Q,X,Z,ee,et,er,en,ei,es,eo,ea,el,eu,eh,ed,ec,eg,em,ef,ep,eb,e_,eC,ey,ev=r(406);let eL=!1,ew=!1,eS=!1,eN="object"==typeof self?self:"object"==typeof r.g?r.g:{};void 0!==eN.vscode&&void 0!==eN.vscode.process?n=eN.vscode.process:void 0!==ev&&(n=ev);let eE="string"==typeof(null===(y=null==n?void 0:n.versions)||void 0===y?void 0:y.electron)&&(null==n?void 0:n.type)==="renderer";if("object"!=typeof navigator||eE){if("object"==typeof n){eL="win32"===n.platform,ew="darwin"===n.platform,"linux"===n.platform&&n.env.SNAP&&n.env.SNAP_REVISION,n.env.CI||n.env.BUILD_ARTIFACTSTAGINGDIRECTORY;let e=n.env.VSCODE_NLS_CONFIG;if(e)try{let t=JSON.parse(e);t.availableLanguages["*"],t.locale,t.osLocale,t._translationsConfigFile}catch(e){}}else console.error("Unable to resolve platform.")}else eL=(t=navigator.userAgent).indexOf("Windows")>=0,ew=t.indexOf("Macintosh")>=0,(t.indexOf("Macintosh")>=0||t.indexOf("iPad")>=0||t.indexOf("iPhone")>=0)&&navigator.maxTouchPoints&&navigator.maxTouchPoints,t.indexOf("Linux"),null==t||t.indexOf("Mobi"),eS=!0,function(e,t,...r){let n;n=0===r.length?"_":"_".replace(/\{(\d+)\}/g,(e,t)=>{let n=r[t[0]],i=e;return"string"==typeof n?i=n:("number"==typeof n||"boolean"==typeof n||null==n)&&(i=String(n)),i}),_&&(n="["+n.replace(/[aouei]/g,"$&$&")+"]")}(0,0),navigator.language;let eA=eL,eR=ew;eS&&eN.importScripts;let ex=t,eM="function"==typeof eN.postMessage&&!eN.importScripts;(()=>{if(eM){let e=[];eN.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let r=0,n=e.length;r{let n=++t;e.push({id:n,callback:r}),eN.postMessage({vscodeScheduleAsyncWork:n},"*")}}return e=>setTimeout(e)})();let ek=!!(ex&&ex.indexOf("Chrome")>=0);ex&&ex.indexOf("Firefox"),!ek&&ex&&ex.indexOf("Safari"),ex&&ex.indexOf("Edg/"),ex&&ex.indexOf("Android");let eO=eN.performance&&"function"==typeof eN.performance.now;class eT{static create(e=!0){return new eT(e)}constructor(e){this._highResolution=eO&&e,this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}elapsed(){return -1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?eN.performance.now():Date.now()}}!function(e){function t(e){return(t,r=null,n)=>{let i,s=!1;return i=e(e=>s?void 0:(i?i.dispose():s=!0,t.call(r,e)),null,n),s&&i.dispose(),i}}function r(e,t,r){return o((r,n=null,i)=>e(e=>r.call(n,t(e)),null,i),r)}function n(e,t,r){return o((r,n=null,i)=>e(e=>{t(e),r.call(n,e)},null,i),r)}function i(e,t,r){return o((r,n=null,i)=>e(e=>t(e)&&r.call(n,e),null,i),r)}function s(e,t,n,i){let s=n;return r(e,e=>s=t(s,e),i)}function o(e,t){let r;let n=new eK({onWillAddFirstListener(){r=e(n.fire,n)},onDidRemoveLastListener(){null==r||r.dispose()}});return null==t||t.add(n),n.event}function a(e,t,r=100,n=!1,i=!1,s,o){let a,l,u,h;let d=0,c=new eK({leakWarningThreshold:s,onWillAddFirstListener(){a=e(e=>{d++,u=t(u,e),n&&!h&&(c.fire(u),u=void 0),l=()=>{let e=u;u=void 0,h=void 0,(!n||d>1)&&c.fire(e),d=0},"number"==typeof r?(clearTimeout(h),h=setTimeout(l,r)):void 0===h&&(h=0,queueMicrotask(l))})},onWillRemoveListener(){i&&d>0&&(null==l||l())},onDidRemoveLastListener(){l=void 0,a.dispose()}});return null==o||o.add(c),c.event}function l(e,t=(e,t)=>e===t,r){let n,s=!0;return i(e,e=>{let r=s||!t(e,n);return s=!1,n=e,r},r)}e.None=()=>m.None,e.defer=function(e,t){return a(e,()=>void 0,0,void 0,!0,void 0,t)},e.once=t,e.map=r,e.forEach=n,e.filter=i,e.signal=function(e){return e},e.any=function(...e){return(t,r=null,n)=>(function(...e){return c(()=>d(e))})(...e.map(e=>e(e=>t.call(r,e),null,n)))},e.reduce=s,e.debounce=a,e.accumulate=function(t,r=0,n){return e.debounce(t,(e,t)=>e?(e.push(t),e):[t],r,void 0,!0,void 0,n)},e.latch=l,e.split=function(t,r,n){return[e.filter(t,r,n),e.filter(t,e=>!r(e),n)]},e.buffer=function(e,t=!1,r=[]){let n=r.slice(),i=e(e=>{n?n.push(e):o.fire(e)}),s=()=>{null==n||n.forEach(e=>o.fire(e)),n=null},o=new eK({onWillAddFirstListener(){i||(i=e(e=>o.fire(e)))},onDidAddFirstListener(){n&&(t?setTimeout(s):s())},onDidRemoveLastListener(){i&&i.dispose(),i=null}});return o.event};class u{constructor(e){this.event=e,this.disposables=new g}map(e){return new u(r(this.event,e,this.disposables))}forEach(e){return new u(n(this.event,e,this.disposables))}filter(e){return new u(i(this.event,e,this.disposables))}reduce(e,t){return new u(s(this.event,e,t,this.disposables))}latch(){return new u(l(this.event,void 0,this.disposables))}debounce(e,t=100,r=!1,n=!1,i){return new u(a(this.event,e,t,r,n,i,this.disposables))}on(e,t,r){return this.event(e,t,r)}once(e,r,n){return t(this.event)(e,r,n)}dispose(){this.disposables.dispose()}}e.chain=function(e){return new u(e)},e.fromNodeEventEmitter=function(e,t,r=e=>e){let n=(...e)=>i.fire(r(...e)),i=new eK({onWillAddFirstListener:()=>e.on(t,n),onDidRemoveLastListener:()=>e.removeListener(t,n)});return i.event},e.fromDOMEventEmitter=function(e,t,r=e=>e){let n=(...e)=>i.fire(r(...e)),i=new eK({onWillAddFirstListener:()=>e.addEventListener(t,n),onDidRemoveLastListener:()=>e.removeEventListener(t,n)});return i.event},e.toPromise=function(e){return new Promise(r=>t(e)(r))},e.runAndSubscribe=function(e,t){return t(void 0),e(e=>t(e))},e.runAndSubscribeWithStore=function(e,t){let r=null;function n(e){null==r||r.dispose(),t(e,r=new g)}n(void 0);let i=e(e=>n(e));return c(()=>{i.dispose(),null==r||r.dispose()})};class h{constructor(e,t){this._observable=e,this._counter=0,this._hasChanged=!1,this.emitter=new eK({onWillAddFirstListener:()=>{e.addObserver(this)},onDidRemoveLastListener:()=>{e.removeObserver(this)}}),t&&t.add(this.emitter)}beginUpdate(e){this._counter++}handlePossibleChange(e){}handleChange(e,t){this._hasChanged=!0}endUpdate(e){this._counter--,0===this._counter&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}e.fromObservable=function(e,t){return new h(e,t).emitter.event},e.fromObservableLight=function(e){return t=>{let r=0,n=!1,i={beginUpdate(){r++},endUpdate(){0==--r&&(e.reportChanges(),n&&(n=!1,t()))},handlePossibleChange(){},handleChange(){n=!0}};return e.addObserver(i),{dispose(){e.removeObserver(i)}}}}}(v||(v={}));class eI{constructor(e){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${e}_${eI._idPool++}`,eI.all.add(this)}start(e){this._stopWatch=new eT(!0),this.listenerCount=e}stop(){if(this._stopWatch){let e=this._stopWatch.elapsed();this.durations.push(e),this.elapsedOverall+=e,this.invocationCount+=1,this._stopWatch=void 0}}}eI.all=new Set,eI._idPool=0;class eD{constructor(e,t=Math.random().toString(18).slice(2,5)){this.threshold=e,this.name=t,this._warnCountdown=0}dispose(){var e;null===(e=this._stacks)||void 0===e||e.clear()}check(e,t){let r=this.threshold;if(r<=0||t{let t=this._stacks.get(e.value)||0;this._stacks.set(e.value,t-1)}}}class eP{static create(){var e;return new eP(null!==(e=Error().stack)&&void 0!==e?e:"")}constructor(e){this.value=e}print(){console.warn(this.value.split("\n").slice(2).join("\n"))}}class eF{constructor(e,t,r){this.callback=e,this.callbackThis=t,this.stack=r,this.subscription=new f}invoke(e){this.callback.call(this.callbackThis,e)}}class eK{constructor(e){var t,r,n,i,s;this._disposed=!1,this._options=e,this._leakageMon=(null===(t=this._options)||void 0===t?void 0:t.leakWarningThreshold)?new eD(null!==(n=null===(r=this._options)||void 0===r?void 0:r.leakWarningThreshold)&&void 0!==n?n:-1):void 0,this._perfMon=(null===(i=this._options)||void 0===i?void 0:i._profName)?new eI(this._options._profName):void 0,this._deliveryQueue=null===(s=this._options)||void 0===s?void 0:s.deliveryQueue}dispose(){var e,t,r,n;this._disposed||(this._disposed=!0,this._listeners&&this._listeners.clear(),null===(e=this._deliveryQueue)||void 0===e||e.clear(this),null===(r=null===(t=this._options)||void 0===t?void 0:t.onDidRemoveLastListener)||void 0===r||r.call(t),null===(n=this._leakageMon)||void 0===n||n.dispose())}get event(){return this._event||(this._event=(e,t,r)=>{var n,i,s;let o,a;if(this._listeners||(this._listeners=new b),this._leakageMon&&this._listeners.size>3*this._leakageMon.threshold)return console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`),m.None;let l=this._listeners.isEmpty();l&&(null===(n=this._options)||void 0===n?void 0:n.onWillAddFirstListener)&&this._options.onWillAddFirstListener(this),this._leakageMon&&this._listeners.size>=Math.ceil(.2*this._leakageMon.threshold)&&(a=eP.create(),o=this._leakageMon.check(a,this._listeners.size+1));let u=new eF(e,t,a),h=this._listeners.push(u);l&&(null===(i=this._options)||void 0===i?void 0:i.onDidAddFirstListener)&&this._options.onDidAddFirstListener(this),(null===(s=this._options)||void 0===s?void 0:s.onDidAddListener)&&this._options.onDidAddListener(this,e,t);let d=u.subscription.set(()=>{var e,t;null==o||o(),!this._disposed&&(null===(t=null===(e=this._options)||void 0===e?void 0:e.onWillRemoveListener)||void 0===t||t.call(e,this),h(),this._options&&this._options.onDidRemoveLastListener)&&(this._listeners&&!this._listeners.isEmpty()||this._options.onDidRemoveLastListener(this))});return r instanceof g?r.add(d):Array.isArray(r)&&r.push(d),d}),this._event}fire(e){var t,r,n;if(this._listeners){for(let r of(this._deliveryQueue||(this._deliveryQueue=new eB(null===(t=this._options)||void 0===t?void 0:t.onListenerError)),this._listeners))this._deliveryQueue.push(this,r,e);null===(r=this._perfMon)||void 0===r||r.start(this._deliveryQueue.size),this._deliveryQueue.deliver(),null===(n=this._perfMon)||void 0===n||n.stop()}}hasListeners(){return!!this._listeners&&!this._listeners.isEmpty()}}class eV{constructor(e=s){this._onListenerError=e,this._queue=new b}get size(){return this._queue.size}push(e,t,r){this._queue.push(new eq(e,t,r))}clear(e){let t=new b;for(let r of this._queue)r.emitter!==e&&t.push(r);this._queue=t}deliver(){for(;this._queue.size>0;){let e=this._queue.shift();try{e.listener.invoke(e.event)}catch(e){this._onListenerError(e)}}}}class eB extends eV{clear(e){this._queue.clear()}}class eq{constructor(e,t,r){this.emitter=e,this.listener=t,this.event=r}}function eU(e){let t=[];for(let r of function(e){let t=[],r=Object.getPrototypeOf(e);for(;Object.prototype!==r;)t=t.concat(Object.getOwnPropertyNames(r)),r=Object.getPrototypeOf(r);return t}(e))"function"==typeof e[r]&&t.push(r);return t}Object.prototype.hasOwnProperty;class eW{constructor(e){this.executor=e,this._didRun=!1}get value(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}function eH(e){return e>=65&&e<=90}function e$(e){return 55296<=e&&e<=56319}function ez(e){return 56320<=e&&e<=57343}function ej(e,t){return(e-55296<<10)+(t-56320)+65536}let eG=/^[\t\n\r\x20-\x7E]*$/;String.fromCharCode(65279);class eY{static getInstance(){return eY._INSTANCE||(eY._INSTANCE=new eY),eY._INSTANCE}constructor(){this._data=JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;let t=this._data,r=t.length/3,n=1;for(;n<=r;)if(et[3*n+1]))return t[3*n+2];n=2*n+1}return 0}}eY._INSTANCE=null;class eJ{static getInstance(e){return eJ.cache.get(Array.from(e))}static getLocales(){return eJ._locales.value}constructor(e){this.confusableDictionary=e}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}eJ.ambiguousCharacterData=new eW(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}')),eJ.cache=new class{constructor(e){this.fn=e,this.lastCache=void 0,this.lastArgKey=void 0}get(e){let t=JSON.stringify(e);return this.lastArgKey!==t&&(this.lastArgKey=t,this.lastCache=this.fn(e)),this.lastCache}}(e=>{let t;function r(e){let t=new Map;for(let r=0;r!e.startsWith("_")&&e in n);for(let e of(0===i.length&&(i=["_default"]),i))t=function(e,t){if(!e)return t;let r=new Map;for(let[n,i]of e)t.has(n)&&r.set(n,i);return r}(t,r(n[e]));let s=function(e,t){let r=new Map(e);for(let[e,n]of t)r.set(e,n);return r}(r(n._common),t);return new eJ(s)}),eJ._locales=new eW(()=>Object.keys(eJ.ambiguousCharacterData.value).filter(e=>!e.startsWith("_")));class eQ{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return this._data||(this._data=new Set(eQ.getRawData())),this._data}static isInvisibleCharacter(e){return eQ.getData().has(e)}static get codePoints(){return eQ.getData()}}eQ._data=void 0;class eX{constructor(e,t,r,n){this.vsWorker=e,this.req=t,this.method=r,this.args=n,this.type=0}}class eZ{constructor(e,t,r,n){this.vsWorker=e,this.seq=t,this.res=r,this.err=n,this.type=1}}class e1{constructor(e,t,r,n){this.vsWorker=e,this.req=t,this.eventName=r,this.arg=n,this.type=2}}class e0{constructor(e,t,r){this.vsWorker=e,this.req=t,this.event=r,this.type=3}}class e2{constructor(e,t){this.vsWorker=e,this.req=t,this.type=4}}class e4{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}sendMessage(e,t){let r=String(++this._lastSentReq);return new Promise((n,i)=>{this._pendingReplies[r]={resolve:n,reject:i},this._send(new eX(this._workerId,r,e,t))})}listen(e,t){let r=null,n=new eK({onWillAddFirstListener:()=>{r=String(++this._lastSentReq),this._pendingEmitters.set(r,n),this._send(new e1(this._workerId,r,e,t))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(r),this._send(new e2(this._workerId,r)),r=null}});return n.event}handleMessage(e){e&&e.vsWorker&&(-1===this._workerId||e.vsWorker===this._workerId)&&this._handleMessage(e)}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq]){console.warn("Got reply to unknown seq");return}let t=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let r=e.err;e.err.$isError&&((r=Error()).name=e.err.name,r.message=e.err.message,r.stack=e.err.stack),t.reject(r);return}t.resolve(e.res)}_handleRequestMessage(e){let t=e.req;this._handler.handleMessage(e.method,e.args).then(e=>{this._send(new eZ(this._workerId,t,e,void 0))},e=>{e.detail instanceof Error&&(e.detail=o(e.detail)),this._send(new eZ(this._workerId,t,void 0,o(e)))})}_handleSubscribeEventMessage(e){let t=e.req,r=this._handler.handleEvent(e.eventName,e.arg)(e=>{this._send(new e0(this._workerId,t,e))});this._pendingEvents.set(t,r)}_handleEventMessage(e){if(!this._pendingEmitters.has(e.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(e.req).fire(e.event)}_handleUnsubscribeEventMessage(e){if(!this._pendingEvents.has(e.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)}_send(e){let t=[];if(0===e.type)for(let r=0;r{e(t,r)},handleMessage:(e,t)=>this._handleMessage(e,t),handleEvent:(e,t)=>this._handleEvent(e,t)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,t){if("$initialize"===e)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(e){return Promise.reject(e)}}_handleEvent(e,t){if(!this._requestHandler)throw Error("Missing requestHandler");if(e7(e)){let r=this._requestHandler[e].call(this._requestHandler,t);if("function"!=typeof r)throw Error(`Missing dynamic event ${e} on request handler.`);return r}if(e5(e)){let t=this._requestHandler[e];if("function"!=typeof t)throw Error(`Missing event ${e} on request handler.`);return t}throw Error(`Malformed event name ${e}`)}initialize(e,t,r,n){this._protocol.setWorkerId(e);let i=function(e,t,r){let n=e=>function(){let r=Array.prototype.slice.call(arguments,0);return t(e,r)},i=e=>function(t){return r(e,t)},s={};for(let t of e){if(e7(t)){s[t]=i(t);continue}if(e5(t)){s[t]=r(t,void 0);continue}s[t]=n(t)}return s}(n,(e,t)=>this._protocol.sendMessage(e,t),(e,t)=>this._protocol.listen(e,t));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(i),Promise.resolve(eU(this._requestHandler))):(t&&(void 0!==t.baseUrl&&delete t.baseUrl,void 0!==t.paths&&void 0!==t.paths.vs&&delete t.paths.vs,t.trustedTypesPolicy,delete t.trustedTypesPolicy,t.catchError=!0,globalThis.require.config(t)),new Promise((e,t)=>{(0,globalThis.require)([r],r=>{if(this._requestHandler=r.create(i),!this._requestHandler){t(Error("No RequestHandler!"));return}e(eU(this._requestHandler))},t)}))}}class e6{constructor(e,t,r,n){this.originalStart=e,this.originalLength=t,this.modifiedStart=r,this.modifiedLength=n}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function e8(e,t,r=32){let n=r-t;return(e<>>n)>>>0}function e3(e,t=0,r=e.byteLength,n=0){for(let i=0;ie.toString(16).padStart(2,"0")).join(""):function(e,t,r="0"){for(;e.length>>0).toString(16),t/4)}class tt{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){let t,r;let n=e.length;if(0===n)return;let i=this._buff,s=this._buffLen,o=this._leftoverHighSurrogate;for(0!==o?(t=o,r=-1,o=0):(t=e.charCodeAt(0),r=0);;){let a=t;if(e$(t)){if(r+1>>6:(r<65536?e[t++]=224|(61440&r)>>>12:(e[t++]=240|(1835008&r)>>>18,e[t++]=128|(258048&r)>>>12),e[t++]=128|(4032&r)>>>6),e[t++]=128|(63&r)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),te(this._h0)+te(this._h1)+te(this._h2)+te(this._h3)+te(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,e3(this._buff,this._buffLen),this._buffLen>56&&(this._step(),e3(this._buff));let e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){let e,t,r;let n=tt._bigBlock32,i=this._buffDV;for(let e=0;e<64;e+=4)n.setUint32(e,i.getUint32(e,!1),!1);for(let e=64;e<320;e+=4)n.setUint32(e,e8(n.getUint32(e-12,!1)^n.getUint32(e-32,!1)^n.getUint32(e-56,!1)^n.getUint32(e-64,!1),1),!1);let s=this._h0,o=this._h1,a=this._h2,l=this._h3,u=this._h4;for(let i=0;i<80;i++)i<20?(e=o&a|~o&l,t=1518500249):i<40?(e=o^a^l,t=1859775393):i<60?(e=o&a|o&l|a&l,t=2400959708):(e=o^a^l,t=3395469782),r=e8(s,5)+e+u+t+n.getUint32(4*i,!1)&4294967295,u=l,l=a,a=e8(o,30),o=s,s=r;this._h0=this._h0+s&4294967295,this._h1=this._h1+o&4294967295,this._h2=this._h2+a&4294967295,this._h3=this._h3+l&4294967295,this._h4=this._h4+u&4294967295}}tt._bigBlock32=new DataView(new ArrayBuffer(320));class tr{constructor(e){this.source=e}getElements(){let e=this.source,t=new Int32Array(e.length);for(let r=0,n=e.length;r0||this.m_modifiedCount>0)&&this.m_changes.push(new e6(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class to{constructor(e,t,r=null){this.ContinueProcessingPredicate=r,this._originalSequence=e,this._modifiedSequence=t;let[n,i,s]=to._getElements(e),[o,a,l]=to._getElements(t);this._hasStrings=s&&l,this._originalStringElements=n,this._originalElementsOrHash=i,this._modifiedStringElements=o,this._modifiedElementsOrHash=a,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){let t=e.getElements();if(to._isStringArray(t)){let e=new Int32Array(t.length);for(let r=0,n=t.length;r=e&&n>=r&&this.ElementsAreEqual(t,n);)t--,n--;if(e>t||r>n){let i;return r<=n?(tn.Assert(e===t+1,"originalStart should only be one more than originalEnd"),i=[new e6(e,0,r,n-r+1)]):e<=t?(tn.Assert(r===n+1,"modifiedStart should only be one more than modifiedEnd"),i=[new e6(e,t-e+1,r,0)]):(tn.Assert(e===t+1,"originalStart should only be one more than originalEnd"),tn.Assert(r===n+1,"modifiedStart should only be one more than modifiedEnd"),i=[]),i}let s=[0],o=[0],a=this.ComputeRecursionPoint(e,t,r,n,s,o,i),l=s[0],u=o[0];if(null!==a)return a;if(!i[0]){let s=this.ComputeDiffRecursive(e,l,r,u,i),o=[];return o=i[0]?[new e6(l+1,t-(l+1)+1,u+1,n-(u+1)+1)]:this.ComputeDiffRecursive(l+1,t,u+1,n,i),this.ConcatenateChanges(s,o)}return[new e6(e,t-e+1,r,n-r+1)]}WALKTRACE(e,t,r,n,i,s,o,a,l,u,h,d,c,g,m,f,p,b){let _=null,C=null,y=new ts,v=t,L=r,w=c[0]-f[0]-n,S=-1073741824,N=this.m_forwardHistory.length-1;do{let t=w+e;t===v||t=0&&(e=(l=this.m_forwardHistory[N])[0],v=1,L=l.length-1)}while(--N>=-1)if(_=y.getReverseChanges(),b[0]){let e=c[0]+1,t=f[0]+1;if(null!==_&&_.length>0){let r=_[_.length-1];e=Math.max(e,r.getOriginalEnd()),t=Math.max(t,r.getModifiedEnd())}C=[new e6(e,d-e+1,t,m-t+1)]}else{y=new ts,v=s,L=o,w=c[0]-f[0]-a,S=1073741824,N=p?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{let e=w+i;e===v||e=u[e+1]?(g=(h=u[e+1]-1)-w-a,h>S&&y.MarkNextChange(),S=h+1,y.AddOriginalElement(h+1,g+1),w=e+1-i):(g=(h=u[e-1])-w-a,h>S&&y.MarkNextChange(),S=h,y.AddModifiedElement(h+1,g+1),w=e-1-i),N>=0&&(i=(u=this.m_reverseHistory[N])[0],v=1,L=u.length-1)}while(--N>=-1)C=y.getChanges()}return this.ConcatenateChanges(_,C)}ComputeRecursionPoint(e,t,r,n,i,s,o){let a=0,l=0,u=0,h=0,d=0,c=0;e--,r--,i[0]=0,s[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];let g=t-e+(n-r),m=g+1,f=new Int32Array(m),p=new Int32Array(m),b=n-r,_=t-e,C=e-r,y=t-n,v=(_-b)%2==0;f[b]=e,p[_]=t,o[0]=!1;for(let L=1;L<=g/2+1;L++){let g=0,w=0;u=this.ClipDiagonalBound(b-L,L,b,m),h=this.ClipDiagonalBound(b+L,L,b,m);for(let e=u;e<=h;e+=2){l=(a=e===u||eg+w&&(g=a,w=l),!v&&Math.abs(e-_)<=L-1&&a>=p[e]){if(i[0]=a,s[0]=l,r<=p[e]&&L<=1448)return this.WALKTRACE(b,u,h,C,_,d,c,y,f,p,a,t,i,l,n,s,v,o);return null}}let S=(g-e+(w-r)-L)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(g,S)){if(o[0]=!0,i[0]=g,s[0]=w,!(S>0)||!(L<=1448))return e++,r++,[new e6(e,t-e+1,r,n-r+1)];break}d=this.ClipDiagonalBound(_-L,L,_,m),c=this.ClipDiagonalBound(_+L,L,_,m);for(let g=d;g<=c;g+=2){l=(a=g===d||g=p[g+1]?p[g+1]-1:p[g-1])-(g-_)-y;let m=a;for(;a>e&&l>r&&this.ElementsAreEqual(a,l);)a--,l--;if(p[g]=a,v&&Math.abs(g-b)<=L&&a<=f[g]){if(i[0]=a,s[0]=l,m>=f[g]&&L<=1448)return this.WALKTRACE(b,u,h,C,_,d,c,y,f,p,a,t,i,l,n,s,v,o);return null}}if(L<=1447){let e=new Int32Array(h-u+2);e[0]=b-u+1,ti.Copy2(f,u,e,1,h-u+1),this.m_forwardHistory.push(e),(e=new Int32Array(c-d+2))[0]=_-d+1,ti.Copy2(p,d,e,1,c-d+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(b,u,h,C,_,d,c,y,f,p,a,t,i,l,n,s,v,o)}PrettifyChanges(e){for(let t=0;t0,o=r.modifiedLength>0;for(;r.originalStart+r.originalLength=0;t--){let r=e[t],n=0,i=0;if(t>0){let r=e[t-1];n=r.originalStart+r.originalLength,i=r.modifiedStart+r.modifiedLength}let s=r.originalLength>0,o=r.modifiedLength>0,a=0,l=this._boundaryScore(r.originalStart,r.originalLength,r.modifiedStart,r.modifiedLength);for(let e=1;;e++){let t=r.originalStart-e,u=r.modifiedStart-e;if(tl&&(l=h,a=e)}r.originalStart-=a,r.modifiedStart-=a;let u=[null];if(t>0&&this.ChangesOverlap(e[t-1],e[t],u)){e[t-1]=u[0],e.splice(t,1),t++;continue}}if(this._hasStrings)for(let t=1,r=e.length;t0&&r>a&&(a=r,l=t,u=e)}return a>0?[l,u]:null}_contiguousSequenceScore(e,t,r){let n=0;for(let i=0;i=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){let r=e+t;if(this._OriginalIsBoundary(r-1)||this._OriginalIsBoundary(r))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){let r=e+t;if(this._ModifiedIsBoundary(r-1)||this._ModifiedIsBoundary(r))return!0}return!1}_boundaryScore(e,t,r,n){return(this._OriginalRegionIsBoundary(e,t)?1:0)+(this._ModifiedRegionIsBoundary(r,n)?1:0)}ConcatenateChanges(e,t){let r=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],r)){let n=Array(e.length+t.length-1);return ti.Copy(e,0,n,0,e.length-1),n[e.length-1]=r[0],ti.Copy(t,1,n,e.length,t.length-1),n}{let r=Array(e.length+t.length);return ti.Copy(e,0,r,0,e.length),ti.Copy(t,0,r,e.length,t.length),r}}ChangesOverlap(e,t,r){if(tn.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),tn.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),!(e.originalStart+e.originalLength>=t.originalStart)&&!(e.modifiedStart+e.modifiedLength>=t.modifiedStart))return r[0]=null,!1;{let n=e.originalStart,i=e.originalLength,s=e.modifiedStart,o=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(i=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(o=t.modifiedStart+t.modifiedLength-e.modifiedStart),r[0]=new e6(n,i,s,o),!0}}ClipDiagonalBound(e,t,r,n){if(e>=0&&et.cwd()}}else e=void 0!==ta?{get platform(){return ta.platform},get arch(){return ta.arch},get env(){return ta.env},cwd:()=>ta.env.VSCODE_CWD||ta.cwd()}:{get platform(){return eA?"win32":eR?"darwin":"linux"},get arch(){return},get env(){return{}},cwd:()=>"/"};let tl=e.cwd,tu=e.env,th=e.platform;class td extends Error{constructor(e,t,r){let n;"string"==typeof t&&0===t.indexOf("not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be";let i=`The "${e}" ${-1!==e.indexOf(".")?"property":"argument"} ${n} of type ${t}`;super(i+=`. Received type ${typeof r}`),this.code="ERR_INVALID_ARG_TYPE"}}function tc(e,t){if("string"!=typeof e)throw new td(t,"string",e)}let tg="win32"===th;function tm(e){return 47===e||92===e}function tf(e){return 47===e}function tp(e){return e>=65&&e<=90||e>=97&&e<=122}function tb(e,t,r,n){let i="",s=0,o=-1,a=0,l=0;for(let u=0;u<=e.length;++u){if(u2){let e=i.lastIndexOf(r);-1===e?(i="",s=0):s=(i=i.slice(0,e)).length-1-i.lastIndexOf(r),o=u,a=0;continue}if(0!==i.length){i="",s=0,o=u,a=0;continue}}t&&(i+=i.length>0?`${r}..`:"..",s=2)}else i.length>0?i+=`${r}${e.slice(o+1,u)}`:i=e.slice(o+1,u),s=u-o-1;o=u,a=0}else 46===l&&-1!==a?++a:a=-1}return i}function t_(e,t){!function(e,t){if(null===e||"object"!=typeof e)throw new td(t,"Object",e)}(t,"pathObject");let r=t.dir||t.root,n=t.base||`${t.name||""}${t.ext||""}`;return r?r===t.root?`${r}${n}`:`${r}${e}${n}`:n}let tC={resolve(...e){let t="",r="",n=!1;for(let i=e.length-1;i>=-1;i--){let s;if(i>=0){if(tc(s=e[i],"path"),0===s.length)continue}else 0===t.length?s=tl():(void 0===(s=tu[`=${t}`]||tl())||s.slice(0,2).toLowerCase()!==t.toLowerCase()&&92===s.charCodeAt(2))&&(s=`${t}\\`);let o=s.length,a=0,l="",u=!1,h=s.charCodeAt(0);if(1===o)tm(h)&&(a=1,u=!0);else if(tm(h)){if(u=!0,tm(s.charCodeAt(1))){let e=2,t=2;for(;e2&&tm(s.charCodeAt(2))&&(u=!0,a=3));if(l.length>0){if(t.length>0){if(l.toLowerCase()!==t.toLowerCase())continue}else t=l}if(n){if(t.length>0)break}else if(r=`${s.slice(a)}\\${r}`,n=u,u&&t.length>0)break}return r=tb(r,!n,"\\",tm),n?`${t}\\${r}`:`${t}${r}`||"."},normalize(e){let t;tc(e,"path");let r=e.length;if(0===r)return".";let n=0,i=!1,s=e.charCodeAt(0);if(1===r)return tf(s)?"\\":e;if(tm(s)){if(i=!0,tm(e.charCodeAt(1))){let i=2,s=2;for(;i2&&tm(e.charCodeAt(2))&&(i=!0,n=3));let o=n0&&tm(e.charCodeAt(r-1))&&(o+="\\"),void 0===t)?i?`\\${o}`:o:i?`${t}\\${o}`:`${t}${o}`},isAbsolute(e){tc(e,"path");let t=e.length;if(0===t)return!1;let r=e.charCodeAt(0);return tm(r)||t>2&&tp(r)&&58===e.charCodeAt(1)&&tm(e.charCodeAt(2))},join(...e){let t,r;if(0===e.length)return".";for(let n=0;n0&&(void 0===t?t=r=i:t+=`\\${i}`)}if(void 0===t)return".";let n=!0,i=0;if("string"==typeof r&&tm(r.charCodeAt(0))){++i;let e=r.length;e>1&&tm(r.charCodeAt(1))&&(++i,e>2&&(tm(r.charCodeAt(2))?++i:n=!1))}if(n){for(;i=2&&(t=`\\${t.slice(i)}`)}return tC.normalize(t)},relative(e,t){if(tc(e,"from"),tc(t,"to"),e===t)return"";let r=tC.resolve(e),n=tC.resolve(t);if(r===n||(e=r.toLowerCase(),t=n.toLowerCase(),e===t))return"";let i=0;for(;ii&&92===e.charCodeAt(s-1);)s--;let o=s-i,a=0;for(;aa&&92===t.charCodeAt(l-1);)l--;let u=l-a,h=oh){if(92===t.charCodeAt(a+c))return n.slice(a+c+1);if(2===c)return n.slice(a+c)}o>h&&(92===e.charCodeAt(i+c)?d=c:2===c&&(d=3)),-1===d&&(d=0)}let g="";for(c=i+d+1;c<=s;++c)(c===s||92===e.charCodeAt(c))&&(g+=0===g.length?"..":"\\..");return(a+=d,g.length>0)?`${g}${n.slice(a,l)}`:(92===n.charCodeAt(a)&&++a,n.slice(a,l))},toNamespacedPath(e){if("string"!=typeof e||0===e.length)return e;let t=tC.resolve(e);if(t.length<=2)return e;if(92===t.charCodeAt(0)){if(92===t.charCodeAt(1)){let e=t.charCodeAt(2);if(63!==e&&46!==e)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(tp(t.charCodeAt(0))&&58===t.charCodeAt(1)&&92===t.charCodeAt(2))return`\\\\?\\${t}`;return e},dirname(e){tc(e,"path");let t=e.length;if(0===t)return".";let r=-1,n=0,i=e.charCodeAt(0);if(1===t)return tm(i)?e:".";if(tm(i)){if(r=n=1,tm(e.charCodeAt(1))){let i=2,s=2;for(;i2&&tm(e.charCodeAt(2))?3:2);let s=-1,o=!0;for(let r=t-1;r>=n;--r)if(tm(e.charCodeAt(r))){if(!o){s=r;break}}else o=!1;if(-1===s){if(-1===r)return".";s=r}return e.slice(0,s)},basename(e,t){let r;void 0!==t&&tc(t,"ext"),tc(e,"path");let n=0,i=-1,s=!0;if(e.length>=2&&tp(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(n=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(r=e.length-1;r>=n;--r){let l=e.charCodeAt(r);if(tm(l)){if(!s){n=r+1;break}}else -1===a&&(s=!1,a=r+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(i=r):(o=-1,i=a))}return n===i?i=a:-1===i&&(i=e.length),e.slice(n,i)}for(r=e.length-1;r>=n;--r)if(tm(e.charCodeAt(r))){if(!s){n=r+1;break}}else -1===i&&(s=!1,i=r+1);return -1===i?"":e.slice(n,i)},extname(e){tc(e,"path");let t=0,r=-1,n=0,i=-1,s=!0,o=0;e.length>=2&&58===e.charCodeAt(1)&&tp(e.charCodeAt(0))&&(t=n=2);for(let a=e.length-1;a>=t;--a){let t=e.charCodeAt(a);if(tm(t)){if(!s){n=a+1;break}continue}-1===i&&(s=!1,i=a+1),46===t?-1===r?r=a:1!==o&&(o=1):-1!==r&&(o=-1)}return -1===r||-1===i||0===o||1===o&&r===i-1&&r===n+1?"":e.slice(r,i)},format:t_.bind(null,"\\"),parse(e){tc(e,"path");let t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;let r=e.length,n=0,i=e.charCodeAt(0);if(1===r)return tm(i)?t.root=t.dir=e:t.base=t.name=e,t;if(tm(i)){if(n=1,tm(e.charCodeAt(1))){let t=2,i=2;for(;t0&&(t.root=e.slice(0,n));let s=-1,o=n,a=-1,l=!0,u=e.length-1,h=0;for(;u>=n;--u){if(tm(i=e.charCodeAt(u))){if(!l){o=u+1;break}continue}-1===a&&(l=!1,a=u+1),46===i?-1===s?s=u:1!==h&&(h=1):-1!==s&&(h=-1)}return -1!==a&&(-1===s||0===h||1===h&&s===a-1&&s===o+1?t.base=t.name=e.slice(o,a):(t.name=e.slice(o,s),t.base=e.slice(o,a),t.ext=e.slice(s,a))),o>0&&o!==n?t.dir=e.slice(0,o-1):t.dir=t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},ty=(()=>{if(tg){let e=/\\/g;return()=>{let t=tl().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>tl()})(),tv={resolve(...e){let t="",r=!1;for(let n=e.length-1;n>=-1&&!r;n--){let i=n>=0?e[n]:ty();tc(i,"path"),0!==i.length&&(t=`${i}/${t}`,r=47===i.charCodeAt(0))}return(t=tb(t,!r,"/",tf),r)?`/${t}`:t.length>0?t:"."},normalize(e){if(tc(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),r=47===e.charCodeAt(e.length-1);return 0===(e=tb(e,!t,"/",tf)).length?t?"/":r?"./":".":(r&&(e+="/"),t?`/${e}`:e)},isAbsolute:e=>(tc(e,"path"),e.length>0&&47===e.charCodeAt(0)),join(...e){let t;if(0===e.length)return".";for(let r=0;r0&&(void 0===t?t=n:t+=`/${n}`)}return void 0===t?".":tv.normalize(t)},relative(e,t){if(tc(e,"from"),tc(t,"to"),e===t||(e=tv.resolve(e),t=tv.resolve(t),e===t))return"";let r=e.length,n=r-1,i=t.length-1,s=ns){if(47===t.charCodeAt(1+a))return t.slice(1+a+1);if(0===a)return t.slice(1+a)}else n>s&&(47===e.charCodeAt(1+a)?o=a:0===a&&(o=0))}let l="";for(a=1+o+1;a<=r;++a)(a===r||47===e.charCodeAt(a))&&(l+=0===l.length?"..":"/..");return`${l}${t.slice(1+o)}`},toNamespacedPath:e=>e,dirname(e){if(tc(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),r=-1,n=!0;for(let t=e.length-1;t>=1;--t)if(47===e.charCodeAt(t)){if(!n){r=t;break}}else n=!1;return -1===r?t?"/":".":t&&1===r?"//":e.slice(0,r)},basename(e,t){let r;void 0!==t&&tc(t,"ext"),tc(e,"path");let n=0,i=-1,s=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(r=e.length-1;r>=0;--r){let l=e.charCodeAt(r);if(47===l){if(!s){n=r+1;break}}else -1===a&&(s=!1,a=r+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(i=r):(o=-1,i=a))}return n===i?i=a:-1===i&&(i=e.length),e.slice(n,i)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!s){n=r+1;break}}else -1===i&&(s=!1,i=r+1);return -1===i?"":e.slice(n,i)},extname(e){tc(e,"path");let t=-1,r=0,n=-1,i=!0,s=0;for(let o=e.length-1;o>=0;--o){let a=e.charCodeAt(o);if(47===a){if(!i){r=o+1;break}continue}-1===n&&(i=!1,n=o+1),46===a?-1===t?t=o:1!==s&&(s=1):-1!==t&&(s=-1)}return -1===t||-1===n||0===s||1===s&&t===n-1&&t===r+1?"":e.slice(t,n)},format:t_.bind(null,"/"),parse(e){let t;tc(e,"path");let r={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return r;let n=47===e.charCodeAt(0);n?(r.root="/",t=1):t=0;let i=-1,s=0,o=-1,a=!0,l=e.length-1,u=0;for(;l>=t;--l){let t=e.charCodeAt(l);if(47===t){if(!a){s=l+1;break}continue}-1===o&&(a=!1,o=l+1),46===t?-1===i?i=l:1!==u&&(u=1):-1!==i&&(u=-1)}if(-1!==o){let t=0===s&&n?1:s;-1===i||0===u||1===u&&i===o-1&&i===s+1?r.base=r.name=e.slice(t,o):(r.name=e.slice(t,i),r.base=e.slice(t,o),r.ext=e.slice(i,o))}return s>0?r.dir=e.slice(0,s-1):n&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};tv.win32=tC.win32=tC,tv.posix=tC.posix=tv,tg?tC.normalize:tv.normalize,tg?tC.resolve:tv.resolve,tg?tC.relative:tv.relative,tg?tC.dirname:tv.dirname,tg?tC.basename:tv.basename,tg?tC.extname:tv.extname,tg?tC.sep:tv.sep;let tL=/^\w[\w\d+.-]*$/,tw=/^\//,tS=/^\/\//;function tN(e,t){if(!e.scheme&&t)throw Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!tL.test(e.scheme))throw Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!tw.test(e.path))throw Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(tS.test(e.path))throw Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}let tE=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class tA{static isUri(e){return e instanceof tA||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString}constructor(e,t,r,n,i,s=!1){"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=function(e,t){return e||t?e:"file"}(e,s),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?"/"!==t[0]&&(t="/"+t):t="/"}return t}(this.scheme,r||""),this.query=n||"",this.fragment=i||"",tN(this,s))}get fsPath(){return tT(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:r,path:n,query:i,fragment:s}=e;return(void 0===t?t=this.scheme:null===t&&(t=""),void 0===r?r=this.authority:null===r&&(r=""),void 0===n?n=this.path:null===n&&(n=""),void 0===i?i=this.query:null===i&&(i=""),void 0===s?s=this.fragment:null===s&&(s=""),t===this.scheme&&r===this.authority&&n===this.path&&i===this.query&&s===this.fragment)?this:new tx(t,r,n,i,s)}static parse(e,t=!1){let r=tE.exec(e);return r?new tx(r[2]||"",tP(r[4]||""),tP(r[5]||""),tP(r[7]||""),tP(r[9]||""),t):new tx("","","","","")}static file(e){let t="";if(eA&&(e=e.replace(/\\/g,"/")),"/"===e[0]&&"/"===e[1]){let r=e.indexOf("/",2);-1===r?(t=e.substring(2),e="/"):(t=e.substring(2,r),e=e.substring(r)||"/")}return new tx("file",t,e,"","")}static from(e){let t=new tx(e.scheme,e.authority,e.path,e.query,e.fragment);return tN(t,!0),t}static joinPath(e,...t){let r;if(!e.path)throw Error("[UriError]: cannot call joinPath on URI without path");return r=eA&&"file"===e.scheme?tA.file(tC.join(tT(e,!0),...t)).path:tv.join(e.path,...t),e.with({path:r})}toString(e=!1){return tI(this,e)}toJSON(){return this}static revive(e){if(!e||e instanceof tA)return e;{let t=new tx(e);return t._formatted=e.external,t._fsPath=e._sep===tR?e.fsPath:null,t}}}let tR=eA?1:void 0;class tx extends tA{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=tT(this,!1)),this._fsPath}toString(e=!1){return e?tI(this,!0):(this._formatted||(this._formatted=tI(this,!1)),this._formatted)}toJSON(){let e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=tR),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}let tM={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function tk(e,t,r){let n;let i=-1;for(let s=0;s=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o||r&&91===o||r&&93===o||r&&58===o)-1!==i&&(n+=encodeURIComponent(e.substring(i,s)),i=-1),void 0!==n&&(n+=e.charAt(s));else{void 0===n&&(n=e.substr(0,s));let t=tM[o];void 0!==t?(-1!==i&&(n+=encodeURIComponent(e.substring(i,s)),i=-1),n+=t):-1===i&&(i=s)}}return -1!==i&&(n+=encodeURIComponent(e.substring(i))),void 0!==n?n:e}function tO(e){let t;for(let r=0;r1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&90>=e.path.charCodeAt(1)||e.path.charCodeAt(1)>=97&&122>=e.path.charCodeAt(1))&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,eA&&(r=r.replace(/\//g,"\\")),r}function tI(e,t){let r=t?tO:tk,n="",{scheme:i,authority:s,path:o,query:a,fragment:l}=e;if(i&&(n+=i+":"),(s||"file"===i)&&(n+="//"),s){let e=s.indexOf("@");if(-1!==e){let t=s.substr(0,e);s=s.substr(e+1),-1===(e=t.lastIndexOf(":"))?n+=r(t,!1,!1):n+=r(t.substr(0,e),!1,!1)+":"+r(t.substr(e+1),!1,!0),n+="@"}-1===(e=(s=s.toLowerCase()).lastIndexOf(":"))?n+=r(s,!1,!0):n+=r(s.substr(0,e),!1,!0)+s.substr(e)}if(o){if(o.length>=3&&47===o.charCodeAt(0)&&58===o.charCodeAt(2)){let e=o.charCodeAt(1);e>=65&&e<=90&&(o=`/${String.fromCharCode(e+32)}:${o.substr(3)}`)}else if(o.length>=2&&58===o.charCodeAt(1)){let e=o.charCodeAt(0);e>=65&&e<=90&&(o=`${String.fromCharCode(e+32)}:${o.substr(2)}`)}n+=r(o,!0,!1)}return a&&(n+="?"+r(a,!1,!1)),l&&(n+="#"+(t?l:tk(l,!1,!1))),n}let tD=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function tP(e){return e.match(tD)?e.replace(tD,e=>(function e(t){try{return decodeURIComponent(t)}catch(r){if(t.length>3)return t.substr(0,3)+e(t.substr(3));return t}})(e)):e}class tF{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new tF(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return tF.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return tF.isBefore(this,e)}static isBefore(e,t){return e.lineNumberr||e===r&&t>n?(this.startLineNumber=r,this.startColumn=n,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=r,this.endColumn=n)}isEmpty(){return tK.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return tK.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.columne.endColumn))}static strictContainsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.column<=e.startColumn))&&(t.lineNumber!==e.endLineNumber||!(t.column>=e.endColumn))}containsRange(e){return tK.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumne.endColumn))}strictContainsRange(e){return tK.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumn<=e.startColumn))&&(t.endLineNumber!==e.endLineNumber||!(t.endColumn>=e.endColumn))}plusRange(e){return tK.plusRange(this,e)}static plusRange(e,t){let r,n,i,s;return t.startLineNumbere.endLineNumber?(i=t.endLineNumber,s=t.endColumn):t.endLineNumber===e.endLineNumber?(i=t.endLineNumber,s=Math.max(t.endColumn,e.endColumn)):(i=e.endLineNumber,s=e.endColumn),new tK(r,n,i,s)}intersectRanges(e){return tK.intersectRanges(this,e)}static intersectRanges(e,t){let r=e.startLineNumber,n=e.startColumn,i=e.endLineNumber,s=e.endColumn,o=t.startLineNumber,a=t.startColumn,l=t.endLineNumber,u=t.endColumn;return(rl?(i=l,s=u):i===l&&(s=Math.min(s,u)),r>i||r===i&&n>s)?null:new tK(r,n,i,s)}equalsRange(e){return tK.equalsRange(this,e)}static equalsRange(e,t){return!e&&!t||!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return tK.getEndPosition(this)}static getEndPosition(e){return new tF(e.endLineNumber,e.endColumn)}getStartPosition(){return tK.getStartPosition(this)}static getStartPosition(e){return new tF(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new tK(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new tK(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return tK.collapseToStart(this)}static collapseToStart(e){return new tK(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}collapseToEnd(){return tK.collapseToEnd(this)}static collapseToEnd(e){return new tK(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn)}delta(e){return new tK(this.startLineNumber+e,this.startColumn,this.endLineNumber+e,this.endColumn)}static fromPositions(e,t=e){return new tK(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new tK(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumbere.startLineNumber}toJSON(){return this}}!function(e){e.isLessThan=function(e){return e<0},e.isGreaterThan=function(e){return e>0},e.isNeitherLessOrGreaterThan=function(e){return 0===e},e.greaterThan=1,e.lessThan=-1,e.neitherLessOrGreaterThan=0}(L||(L={}));class tV{constructor(e){this.iterate=e}toArray(){let e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(e){return new tV(t=>this.iterate(r=>!e(r)||t(r)))}map(e){return new tV(t=>this.iterate(r=>t(e(r))))}findLast(e){let t;return this.iterate(r=>(e(r)&&(t=r),!0)),t}findLastMaxBy(e){let t;let r=!0;return this.iterate(n=>((r||L.isGreaterThan(e(n,t)))&&(r=!1,t=n),!0)),t}}function tB(e){return e<0?0:e>255?255:0|e}function tq(e){return e<0?0:e>4294967295?4294967295:0|e}tV.empty=new tV(e=>{});class tU{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=tq(e);let r=this.values,n=this.prefixSum,i=t.length;return 0!==i&&(this.values=new Uint32Array(r.length+i),this.values.set(r.subarray(0,e),0),this.values.set(r.subarray(e),e+i),this.values.set(t,e),e-1=0&&this.prefixSum.set(n.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,t){return e=tq(e),t=tq(t),this.values[e]!==t&&(this.values[e]=t,e-1=r.length)return!1;let i=r.length-e;return t>=i&&(t=i),0!==t&&(this.values=new Uint32Array(r.length-t),this.values.set(r.subarray(0,e),0),this.values.set(r.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1=0&&this.prefixSum.set(n.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return 0===this.values.length?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=tq(e),this._getPrefixSum(e))}_getPrefixSum(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let r=t;r<=e;r++)this.prefixSum[r]=this.prefixSum[r-1]+this.values[r];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let t=0,r=this.values.length-1,n=0,i=0,s=0;for(;t<=r;)if(n=t+(r-t)/2|0,s=(i=this.prefixSum[n])-this.values[n],e=i)t=n+1;else break;return new tW(n,e-s)}}class tW{constructor(e,t){this.index=e,this.remainder=t,this._prefixSumIndexOfResultBrand=void 0,this.index=e,this.remainder=t}}class tH{constructor(e,t,r,n){this._uri=e,this._lines=t,this._eol=r,this._versionId=n,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){for(let t of(e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null),e.changes))this._acceptDeleteRange(t.range),this._acceptInsertText(new tF(t.range.startLineNumber,t.range.startColumn),t.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){let e=this._eol.length,t=this._lines.length,r=new Uint32Array(t);for(let n=0;n/?")e.indexOf(r)>=0||(t+="\\"+r);return RegExp(t+="\\s]+)","g")}(),tz=new b;function tj(e,t,r,n,i){if(i||(i=C.first(tz)),r.length>i.maxLen){let s=e-i.maxLen/2;return s<0?s=0:n+=s,r=r.substring(s,e+i.maxLen/2),tj(e,t,r,n,i)}let s=Date.now(),o=e-1-n,a=-1,l=null;for(let e=1;!(Date.now()-s>=i.timeBudget);e++){let n=o-i.windowSize*e;t.lastIndex=Math.max(0,n);let s=function(e,t,r,n){let i;for(;i=e.exec(t);){let t=i.index||0;if(t<=r&&e.lastIndex>=r)return i;if(n>0&&t>n)break}return null}(t,r,o,a);if(!s&&l||(l=s,n<=0))break;a=n}if(l){let e={word:l[0],startColumn:n+1+l.index,endColumn:n+1+l.index+l[0].length};return t.lastIndex=0,e}return null}tz.unshift({maxLen:1e3,windowSize:15,timeBudget:150});class tG{constructor(e){let t=tB(e);this._defaultValue=t,this._asciiMap=tG._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){let t=new Uint8Array(256);return t.fill(e),t}set(e,t){let r=tB(t);e>=0&&e<256?this._asciiMap[e]=r:this._map.set(e,r)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class tY{constructor(e,t,r){let n=new Uint8Array(e*t);for(let i=0,s=e*t;it&&(t=s),i>r&&(r=i),o>r&&(r=o)}t++,r++;let n=new tY(r,t,0);for(let t=0,r=e.length;t=this._maxCharCode?0:this._states.get(e,t)}}let tQ=null;function tX(){return null===tQ&&(tQ=new tJ([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),tQ}let tZ=null;class t1{static _createLink(e,t,r,n,i){let s=i-1;do{let r=t.charCodeAt(s);if(2!==e.get(r))break;s--}while(s>n)if(n>0){let e=t.charCodeAt(n-1),r=t.charCodeAt(s);(40===e&&41===r||91===e&&93===r||123===e&&125===r)&&s--}return{range:{startLineNumber:r,startColumn:n+1,endLineNumber:r,endColumn:s+2},url:t.substring(n,s+1)}}static computeLinks(e,t=tX()){let r=function(){if(null===tZ){tZ=new tG(0);let e=" <>'\"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…";for(let t=0;t=0?((n+=r?1:-1)<0?n=e.length-1:n%=e.length,e[n]):null}}t0.INSTANCE=new t0;let t2=Object.freeze(function(e,t){let r=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(r)}}});!function(e){e.isCancellationToken=function(t){return t===e.None||t===e.Cancelled||t instanceof t4||!!t&&"object"==typeof t&&"boolean"==typeof t.isCancellationRequested&&"function"==typeof t.onCancellationRequested},e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:v.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:t2})}(w||(w={}));class t4{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){!this._isCancelled&&(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?t2:(this._emitter||(this._emitter=new eK),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class t5{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}let t7=new t5,t9=new t5,t6=new t5,t8=Array(230),t3={},re=[],rt=Object.create(null),rr=Object.create(null),rn=[],ri=[];for(let e=0;e<=193;e++)rn[e]=-1;for(let e=0;e<=132;e++)ri[e]=-1;(function(){let e=[],t=[];for(let r of[[1,0,"None",0,"unknown",0,"VK_UNKNOWN","",""],[1,1,"Hyper",0,"",0,"","",""],[1,2,"Super",0,"",0,"","",""],[1,3,"Fn",0,"",0,"","",""],[1,4,"FnLock",0,"",0,"","",""],[1,5,"Suspend",0,"",0,"","",""],[1,6,"Resume",0,"",0,"","",""],[1,7,"Turbo",0,"",0,"","",""],[1,8,"Sleep",0,"",0,"VK_SLEEP","",""],[1,9,"WakeUp",0,"",0,"","",""],[0,10,"KeyA",31,"A",65,"VK_A","",""],[0,11,"KeyB",32,"B",66,"VK_B","",""],[0,12,"KeyC",33,"C",67,"VK_C","",""],[0,13,"KeyD",34,"D",68,"VK_D","",""],[0,14,"KeyE",35,"E",69,"VK_E","",""],[0,15,"KeyF",36,"F",70,"VK_F","",""],[0,16,"KeyG",37,"G",71,"VK_G","",""],[0,17,"KeyH",38,"H",72,"VK_H","",""],[0,18,"KeyI",39,"I",73,"VK_I","",""],[0,19,"KeyJ",40,"J",74,"VK_J","",""],[0,20,"KeyK",41,"K",75,"VK_K","",""],[0,21,"KeyL",42,"L",76,"VK_L","",""],[0,22,"KeyM",43,"M",77,"VK_M","",""],[0,23,"KeyN",44,"N",78,"VK_N","",""],[0,24,"KeyO",45,"O",79,"VK_O","",""],[0,25,"KeyP",46,"P",80,"VK_P","",""],[0,26,"KeyQ",47,"Q",81,"VK_Q","",""],[0,27,"KeyR",48,"R",82,"VK_R","",""],[0,28,"KeyS",49,"S",83,"VK_S","",""],[0,29,"KeyT",50,"T",84,"VK_T","",""],[0,30,"KeyU",51,"U",85,"VK_U","",""],[0,31,"KeyV",52,"V",86,"VK_V","",""],[0,32,"KeyW",53,"W",87,"VK_W","",""],[0,33,"KeyX",54,"X",88,"VK_X","",""],[0,34,"KeyY",55,"Y",89,"VK_Y","",""],[0,35,"KeyZ",56,"Z",90,"VK_Z","",""],[0,36,"Digit1",22,"1",49,"VK_1","",""],[0,37,"Digit2",23,"2",50,"VK_2","",""],[0,38,"Digit3",24,"3",51,"VK_3","",""],[0,39,"Digit4",25,"4",52,"VK_4","",""],[0,40,"Digit5",26,"5",53,"VK_5","",""],[0,41,"Digit6",27,"6",54,"VK_6","",""],[0,42,"Digit7",28,"7",55,"VK_7","",""],[0,43,"Digit8",29,"8",56,"VK_8","",""],[0,44,"Digit9",30,"9",57,"VK_9","",""],[0,45,"Digit0",21,"0",48,"VK_0","",""],[1,46,"Enter",3,"Enter",13,"VK_RETURN","",""],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE","",""],[1,48,"Backspace",1,"Backspace",8,"VK_BACK","",""],[1,49,"Tab",2,"Tab",9,"VK_TAB","",""],[1,50,"Space",10,"Space",32,"VK_SPACE","",""],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,"",0,"","",""],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL","",""],[1,64,"F1",59,"F1",112,"VK_F1","",""],[1,65,"F2",60,"F2",113,"VK_F2","",""],[1,66,"F3",61,"F3",114,"VK_F3","",""],[1,67,"F4",62,"F4",115,"VK_F4","",""],[1,68,"F5",63,"F5",116,"VK_F5","",""],[1,69,"F6",64,"F6",117,"VK_F6","",""],[1,70,"F7",65,"F7",118,"VK_F7","",""],[1,71,"F8",66,"F8",119,"VK_F8","",""],[1,72,"F9",67,"F9",120,"VK_F9","",""],[1,73,"F10",68,"F10",121,"VK_F10","",""],[1,74,"F11",69,"F11",122,"VK_F11","",""],[1,75,"F12",70,"F12",123,"VK_F12","",""],[1,76,"PrintScreen",0,"",0,"","",""],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL","",""],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE","",""],[1,79,"Insert",19,"Insert",45,"VK_INSERT","",""],[1,80,"Home",14,"Home",36,"VK_HOME","",""],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR","",""],[1,82,"Delete",20,"Delete",46,"VK_DELETE","",""],[1,83,"End",13,"End",35,"VK_END","",""],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT","",""],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",""],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",""],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",""],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",""],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK","",""],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE","",""],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY","",""],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT","",""],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD","",""],[1,94,"NumpadEnter",3,"",0,"","",""],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1","",""],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2","",""],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3","",""],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4","",""],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5","",""],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6","",""],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7","",""],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8","",""],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9","",""],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0","",""],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL","",""],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102","",""],[1,107,"ContextMenu",58,"ContextMenu",93,"","",""],[1,108,"Power",0,"",0,"","",""],[1,109,"NumpadEqual",0,"",0,"","",""],[1,110,"F13",71,"F13",124,"VK_F13","",""],[1,111,"F14",72,"F14",125,"VK_F14","",""],[1,112,"F15",73,"F15",126,"VK_F15","",""],[1,113,"F16",74,"F16",127,"VK_F16","",""],[1,114,"F17",75,"F17",128,"VK_F17","",""],[1,115,"F18",76,"F18",129,"VK_F18","",""],[1,116,"F19",77,"F19",130,"VK_F19","",""],[1,117,"F20",78,"F20",0,"VK_F20","",""],[1,118,"F21",79,"F21",0,"VK_F21","",""],[1,119,"F22",80,"F22",0,"VK_F22","",""],[1,120,"F23",81,"F23",0,"VK_F23","",""],[1,121,"F24",82,"F24",0,"VK_F24","",""],[1,122,"Open",0,"",0,"","",""],[1,123,"Help",0,"",0,"","",""],[1,124,"Select",0,"",0,"","",""],[1,125,"Again",0,"",0,"","",""],[1,126,"Undo",0,"",0,"","",""],[1,127,"Cut",0,"",0,"","",""],[1,128,"Copy",0,"",0,"","",""],[1,129,"Paste",0,"",0,"","",""],[1,130,"Find",0,"",0,"","",""],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE","",""],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP","",""],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN","",""],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR","",""],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1","",""],[1,136,"KanaMode",0,"",0,"","",""],[0,137,"IntlYen",0,"",0,"","",""],[1,138,"Convert",0,"",0,"","",""],[1,139,"NonConvert",0,"",0,"","",""],[1,140,"Lang1",0,"",0,"","",""],[1,141,"Lang2",0,"",0,"","",""],[1,142,"Lang3",0,"",0,"","",""],[1,143,"Lang4",0,"",0,"","",""],[1,144,"Lang5",0,"",0,"","",""],[1,145,"Abort",0,"",0,"","",""],[1,146,"Props",0,"",0,"","",""],[1,147,"NumpadParenLeft",0,"",0,"","",""],[1,148,"NumpadParenRight",0,"",0,"","",""],[1,149,"NumpadBackspace",0,"",0,"","",""],[1,150,"NumpadMemoryStore",0,"",0,"","",""],[1,151,"NumpadMemoryRecall",0,"",0,"","",""],[1,152,"NumpadMemoryClear",0,"",0,"","",""],[1,153,"NumpadMemoryAdd",0,"",0,"","",""],[1,154,"NumpadMemorySubtract",0,"",0,"","",""],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR","",""],[1,156,"NumpadClearEntry",0,"",0,"","",""],[1,0,"",5,"Ctrl",17,"VK_CONTROL","",""],[1,0,"",4,"Shift",16,"VK_SHIFT","",""],[1,0,"",6,"Alt",18,"VK_MENU","",""],[1,0,"",57,"Meta",91,"VK_COMMAND","",""],[1,157,"ControlLeft",5,"",0,"VK_LCONTROL","",""],[1,158,"ShiftLeft",4,"",0,"VK_LSHIFT","",""],[1,159,"AltLeft",6,"",0,"VK_LMENU","",""],[1,160,"MetaLeft",57,"",0,"VK_LWIN","",""],[1,161,"ControlRight",5,"",0,"VK_RCONTROL","",""],[1,162,"ShiftRight",4,"",0,"VK_RSHIFT","",""],[1,163,"AltRight",6,"",0,"VK_RMENU","",""],[1,164,"MetaRight",57,"",0,"VK_RWIN","",""],[1,165,"BrightnessUp",0,"",0,"","",""],[1,166,"BrightnessDown",0,"",0,"","",""],[1,167,"MediaPlay",0,"",0,"","",""],[1,168,"MediaRecord",0,"",0,"","",""],[1,169,"MediaFastForward",0,"",0,"","",""],[1,170,"MediaRewind",0,"",0,"","",""],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK","",""],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK","",""],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP","",""],[1,174,"Eject",0,"",0,"","",""],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE","",""],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT","",""],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL","",""],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2","",""],[1,179,"LaunchApp1",0,"",0,"VK_MEDIA_LAUNCH_APP1","",""],[1,180,"SelectTask",0,"",0,"","",""],[1,181,"LaunchScreenSaver",0,"",0,"","",""],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH","",""],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME","",""],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK","",""],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD","",""],[1,186,"BrowserStop",0,"",0,"VK_BROWSER_STOP","",""],[1,187,"BrowserRefresh",0,"",0,"VK_BROWSER_REFRESH","",""],[1,188,"BrowserFavorites",0,"",0,"VK_BROWSER_FAVORITES","",""],[1,189,"ZoomToggle",0,"",0,"","",""],[1,190,"MailReply",0,"",0,"","",""],[1,191,"MailForward",0,"",0,"","",""],[1,192,"MailSend",0,"",0,"","",""],[1,0,"",114,"KeyInComposition",229,"","",""],[1,0,"",116,"ABNT_C2",194,"VK_ABNT_C2","",""],[1,0,"",96,"OEM_8",223,"VK_OEM_8","",""],[1,0,"",0,"",0,"VK_KANA","",""],[1,0,"",0,"",0,"VK_HANGUL","",""],[1,0,"",0,"",0,"VK_JUNJA","",""],[1,0,"",0,"",0,"VK_FINAL","",""],[1,0,"",0,"",0,"VK_HANJA","",""],[1,0,"",0,"",0,"VK_KANJI","",""],[1,0,"",0,"",0,"VK_CONVERT","",""],[1,0,"",0,"",0,"VK_NONCONVERT","",""],[1,0,"",0,"",0,"VK_ACCEPT","",""],[1,0,"",0,"",0,"VK_MODECHANGE","",""],[1,0,"",0,"",0,"VK_SELECT","",""],[1,0,"",0,"",0,"VK_PRINT","",""],[1,0,"",0,"",0,"VK_EXECUTE","",""],[1,0,"",0,"",0,"VK_SNAPSHOT","",""],[1,0,"",0,"",0,"VK_HELP","",""],[1,0,"",0,"",0,"VK_APPS","",""],[1,0,"",0,"",0,"VK_PROCESSKEY","",""],[1,0,"",0,"",0,"VK_PACKET","",""],[1,0,"",0,"",0,"VK_DBE_SBCSCHAR","",""],[1,0,"",0,"",0,"VK_DBE_DBCSCHAR","",""],[1,0,"",0,"",0,"VK_ATTN","",""],[1,0,"",0,"",0,"VK_CRSEL","",""],[1,0,"",0,"",0,"VK_EXSEL","",""],[1,0,"",0,"",0,"VK_EREOF","",""],[1,0,"",0,"",0,"VK_PLAY","",""],[1,0,"",0,"",0,"VK_ZOOM","",""],[1,0,"",0,"",0,"VK_NONAME","",""],[1,0,"",0,"",0,"VK_PA1","",""],[1,0,"",0,"",0,"VK_OEM_CLEAR","",""]]){let[n,i,s,o,a,l,u,h,d]=r;if(!t[i]&&(t[i]=!0,re[i]=s,rt[s]=i,rr[s.toLowerCase()]=i,n&&(rn[i]=o,0!==o&&3!==o&&5!==o&&4!==o&&6!==o&&57!==o&&(ri[o]=i))),!e[o]){if(e[o]=!0,!a)throw Error(`String representation missing for key code ${o} around scan code ${s}`);t7.define(o,a),t9.define(o,h||a),t6.define(o,d||h||a)}l&&(t8[l]=o),u&&(t3[u]=o)}ri[3]=46})(),function(e){e.toString=function(e){return t7.keyCodeToStr(e)},e.fromString=function(e){return t7.strToKeyCode(e)},e.toUserSettingsUS=function(e){return t9.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return t6.keyCodeToStr(e)},e.fromUserSettings=function(e){return t9.strToKeyCode(e)||t6.strToKeyCode(e)},e.toElectronAccelerator=function(e){if(e>=98&&e<=113)return null;switch(e){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return t7.keyCodeToStr(e)}}(S||(S={}));class rs extends tK{constructor(e,t,r,n){super(e,t,r,n),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=r,this.positionColumn=n}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return rs.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new rs(this.startLineNumber,this.startColumn,e,t):new rs(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new tF(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new tF(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,t){return 0===this.getDirection()?new rs(e,t,this.endLineNumber,this.endColumn):new rs(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new rs(e.lineNumber,e.column,t.lineNumber,t.column)}static fromRange(e,t){return 0===t?new rs(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new rs(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new rs(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let r=0,n=e.length;r{this._tokenizationSupports.get(e)===t&&(this._tokenizationSupports.delete(e),this.handleChange([e]))})}get(e){return this._tokenizationSupports.get(e)||null}registerFactory(e,t){var r;null===(r=this._factories.get(e))||void 0===r||r.dispose();let n=new rh(this,e,t);return this._factories.set(e,n),c(()=>{let t=this._factories.get(e);t&&t===n&&(this._factories.delete(e),t.dispose())})}getOrCreate(e){return ru(this,void 0,void 0,function*(){let t=this.get(e);if(t)return t;let r=this._factories.get(e);return!r||r.isResolved?null:(yield r.resolve(),this.get(e))})}isResolved(e){if(this.get(e))return!0;let t=this._factories.get(e);return!t||!!t.isResolved}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}},function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"}(O||(O={})),function(e){e[e.Invoke=1]="Invoke",e[e.Auto=2]="Auto"}(T||(T={})),function(e){e[e.None=0]="None",e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"}(I||(I={})),function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.User=25]="User",e[e.Issue=26]="Issue",e[e.Snippet=27]="Snippet"}(D||(D={})),function(e){e[e.Deprecated=1]="Deprecated"}(P||(P={})),function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"}(F||(F={})),function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"}(K||(K={})),function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"}(V||(V={})),function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(B||(B={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(q||(q={})),function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"}(U||(U={})),function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.autoClosingBrackets=5]="autoClosingBrackets",e[e.screenReaderAnnounceInlineSuggestion=6]="screenReaderAnnounceInlineSuggestion",e[e.autoClosingDelete=7]="autoClosingDelete",e[e.autoClosingOvertype=8]="autoClosingOvertype",e[e.autoClosingQuotes=9]="autoClosingQuotes",e[e.autoIndent=10]="autoIndent",e[e.automaticLayout=11]="automaticLayout",e[e.autoSurround=12]="autoSurround",e[e.bracketPairColorization=13]="bracketPairColorization",e[e.guides=14]="guides",e[e.codeLens=15]="codeLens",e[e.codeLensFontFamily=16]="codeLensFontFamily",e[e.codeLensFontSize=17]="codeLensFontSize",e[e.colorDecorators=18]="colorDecorators",e[e.colorDecoratorsLimit=19]="colorDecoratorsLimit",e[e.columnSelection=20]="columnSelection",e[e.comments=21]="comments",e[e.contextmenu=22]="contextmenu",e[e.copyWithSyntaxHighlighting=23]="copyWithSyntaxHighlighting",e[e.cursorBlinking=24]="cursorBlinking",e[e.cursorSmoothCaretAnimation=25]="cursorSmoothCaretAnimation",e[e.cursorStyle=26]="cursorStyle",e[e.cursorSurroundingLines=27]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=28]="cursorSurroundingLinesStyle",e[e.cursorWidth=29]="cursorWidth",e[e.disableLayerHinting=30]="disableLayerHinting",e[e.disableMonospaceOptimizations=31]="disableMonospaceOptimizations",e[e.domReadOnly=32]="domReadOnly",e[e.dragAndDrop=33]="dragAndDrop",e[e.dropIntoEditor=34]="dropIntoEditor",e[e.emptySelectionClipboard=35]="emptySelectionClipboard",e[e.experimentalWhitespaceRendering=36]="experimentalWhitespaceRendering",e[e.extraEditorClassName=37]="extraEditorClassName",e[e.fastScrollSensitivity=38]="fastScrollSensitivity",e[e.find=39]="find",e[e.fixedOverflowWidgets=40]="fixedOverflowWidgets",e[e.folding=41]="folding",e[e.foldingStrategy=42]="foldingStrategy",e[e.foldingHighlight=43]="foldingHighlight",e[e.foldingImportsByDefault=44]="foldingImportsByDefault",e[e.foldingMaximumRegions=45]="foldingMaximumRegions",e[e.unfoldOnClickAfterEndOfLine=46]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=47]="fontFamily",e[e.fontInfo=48]="fontInfo",e[e.fontLigatures=49]="fontLigatures",e[e.fontSize=50]="fontSize",e[e.fontWeight=51]="fontWeight",e[e.fontVariations=52]="fontVariations",e[e.formatOnPaste=53]="formatOnPaste",e[e.formatOnType=54]="formatOnType",e[e.glyphMargin=55]="glyphMargin",e[e.gotoLocation=56]="gotoLocation",e[e.hideCursorInOverviewRuler=57]="hideCursorInOverviewRuler",e[e.hover=58]="hover",e[e.inDiffEditor=59]="inDiffEditor",e[e.inlineSuggest=60]="inlineSuggest",e[e.letterSpacing=61]="letterSpacing",e[e.lightbulb=62]="lightbulb",e[e.lineDecorationsWidth=63]="lineDecorationsWidth",e[e.lineHeight=64]="lineHeight",e[e.lineNumbers=65]="lineNumbers",e[e.lineNumbersMinChars=66]="lineNumbersMinChars",e[e.linkedEditing=67]="linkedEditing",e[e.links=68]="links",e[e.matchBrackets=69]="matchBrackets",e[e.minimap=70]="minimap",e[e.mouseStyle=71]="mouseStyle",e[e.mouseWheelScrollSensitivity=72]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=73]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=74]="multiCursorMergeOverlapping",e[e.multiCursorModifier=75]="multiCursorModifier",e[e.multiCursorPaste=76]="multiCursorPaste",e[e.multiCursorLimit=77]="multiCursorLimit",e[e.occurrencesHighlight=78]="occurrencesHighlight",e[e.overviewRulerBorder=79]="overviewRulerBorder",e[e.overviewRulerLanes=80]="overviewRulerLanes",e[e.padding=81]="padding",e[e.parameterHints=82]="parameterHints",e[e.peekWidgetDefaultFocus=83]="peekWidgetDefaultFocus",e[e.definitionLinkOpensInPeek=84]="definitionLinkOpensInPeek",e[e.quickSuggestions=85]="quickSuggestions",e[e.quickSuggestionsDelay=86]="quickSuggestionsDelay",e[e.readOnly=87]="readOnly",e[e.renameOnType=88]="renameOnType",e[e.renderControlCharacters=89]="renderControlCharacters",e[e.renderFinalNewline=90]="renderFinalNewline",e[e.renderLineHighlight=91]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=92]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=93]="renderValidationDecorations",e[e.renderWhitespace=94]="renderWhitespace",e[e.revealHorizontalRightPadding=95]="revealHorizontalRightPadding",e[e.roundedSelection=96]="roundedSelection",e[e.rulers=97]="rulers",e[e.scrollbar=98]="scrollbar",e[e.scrollBeyondLastColumn=99]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=100]="scrollBeyondLastLine",e[e.scrollPredominantAxis=101]="scrollPredominantAxis",e[e.selectionClipboard=102]="selectionClipboard",e[e.selectionHighlight=103]="selectionHighlight",e[e.selectOnLineNumbers=104]="selectOnLineNumbers",e[e.showFoldingControls=105]="showFoldingControls",e[e.showUnused=106]="showUnused",e[e.snippetSuggestions=107]="snippetSuggestions",e[e.smartSelect=108]="smartSelect",e[e.smoothScrolling=109]="smoothScrolling",e[e.stickyScroll=110]="stickyScroll",e[e.stickyTabStops=111]="stickyTabStops",e[e.stopRenderingLineAfter=112]="stopRenderingLineAfter",e[e.suggest=113]="suggest",e[e.suggestFontSize=114]="suggestFontSize",e[e.suggestLineHeight=115]="suggestLineHeight",e[e.suggestOnTriggerCharacters=116]="suggestOnTriggerCharacters",e[e.suggestSelection=117]="suggestSelection",e[e.tabCompletion=118]="tabCompletion",e[e.tabIndex=119]="tabIndex",e[e.unicodeHighlighting=120]="unicodeHighlighting",e[e.unusualLineTerminators=121]="unusualLineTerminators",e[e.useShadowDOM=122]="useShadowDOM",e[e.useTabStops=123]="useTabStops",e[e.wordBreak=124]="wordBreak",e[e.wordSeparators=125]="wordSeparators",e[e.wordWrap=126]="wordWrap",e[e.wordWrapBreakAfterCharacters=127]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=128]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=129]="wordWrapColumn",e[e.wordWrapOverride1=130]="wordWrapOverride1",e[e.wordWrapOverride2=131]="wordWrapOverride2",e[e.wrappingIndent=132]="wrappingIndent",e[e.wrappingStrategy=133]="wrappingStrategy",e[e.showDeprecated=134]="showDeprecated",e[e.inlayHints=135]="inlayHints",e[e.editorClassName=136]="editorClassName",e[e.pixelRatio=137]="pixelRatio",e[e.tabFocusMode=138]="tabFocusMode",e[e.layoutInfo=139]="layoutInfo",e[e.wrappingInfo=140]="wrappingInfo",e[e.defaultColorDecorators=141]="defaultColorDecorators"}(W||(W={})),function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(H||(H={})),function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"}($||($={})),function(e){e[e.Left=1]="Left",e[e.Right=2]="Right"}(z||(z={})),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(j||(j={})),function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"}(G||(G={})),function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"}(Y||(Y={})),function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"}(J||(J={})),function(e){e[e.DependsOnKbLayout=-1]="DependsOnKbLayout",e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.Digit0=21]="Digit0",e[e.Digit1=22]="Digit1",e[e.Digit2=23]="Digit2",e[e.Digit3=24]="Digit3",e[e.Digit4=25]="Digit4",e[e.Digit5=26]="Digit5",e[e.Digit6=27]="Digit6",e[e.Digit7=28]="Digit7",e[e.Digit8=29]="Digit8",e[e.Digit9=30]="Digit9",e[e.KeyA=31]="KeyA",e[e.KeyB=32]="KeyB",e[e.KeyC=33]="KeyC",e[e.KeyD=34]="KeyD",e[e.KeyE=35]="KeyE",e[e.KeyF=36]="KeyF",e[e.KeyG=37]="KeyG",e[e.KeyH=38]="KeyH",e[e.KeyI=39]="KeyI",e[e.KeyJ=40]="KeyJ",e[e.KeyK=41]="KeyK",e[e.KeyL=42]="KeyL",e[e.KeyM=43]="KeyM",e[e.KeyN=44]="KeyN",e[e.KeyO=45]="KeyO",e[e.KeyP=46]="KeyP",e[e.KeyQ=47]="KeyQ",e[e.KeyR=48]="KeyR",e[e.KeyS=49]="KeyS",e[e.KeyT=50]="KeyT",e[e.KeyU=51]="KeyU",e[e.KeyV=52]="KeyV",e[e.KeyW=53]="KeyW",e[e.KeyX=54]="KeyX",e[e.KeyY=55]="KeyY",e[e.KeyZ=56]="KeyZ",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.F20=78]="F20",e[e.F21=79]="F21",e[e.F22=80]="F22",e[e.F23=81]="F23",e[e.F24=82]="F24",e[e.NumLock=83]="NumLock",e[e.ScrollLock=84]="ScrollLock",e[e.Semicolon=85]="Semicolon",e[e.Equal=86]="Equal",e[e.Comma=87]="Comma",e[e.Minus=88]="Minus",e[e.Period=89]="Period",e[e.Slash=90]="Slash",e[e.Backquote=91]="Backquote",e[e.BracketLeft=92]="BracketLeft",e[e.Backslash=93]="Backslash",e[e.BracketRight=94]="BracketRight",e[e.Quote=95]="Quote",e[e.OEM_8=96]="OEM_8",e[e.IntlBackslash=97]="IntlBackslash",e[e.Numpad0=98]="Numpad0",e[e.Numpad1=99]="Numpad1",e[e.Numpad2=100]="Numpad2",e[e.Numpad3=101]="Numpad3",e[e.Numpad4=102]="Numpad4",e[e.Numpad5=103]="Numpad5",e[e.Numpad6=104]="Numpad6",e[e.Numpad7=105]="Numpad7",e[e.Numpad8=106]="Numpad8",e[e.Numpad9=107]="Numpad9",e[e.NumpadMultiply=108]="NumpadMultiply",e[e.NumpadAdd=109]="NumpadAdd",e[e.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",e[e.NumpadSubtract=111]="NumpadSubtract",e[e.NumpadDecimal=112]="NumpadDecimal",e[e.NumpadDivide=113]="NumpadDivide",e[e.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",e[e.ABNT_C1=115]="ABNT_C1",e[e.ABNT_C2=116]="ABNT_C2",e[e.AudioVolumeMute=117]="AudioVolumeMute",e[e.AudioVolumeUp=118]="AudioVolumeUp",e[e.AudioVolumeDown=119]="AudioVolumeDown",e[e.BrowserSearch=120]="BrowserSearch",e[e.BrowserHome=121]="BrowserHome",e[e.BrowserBack=122]="BrowserBack",e[e.BrowserForward=123]="BrowserForward",e[e.MediaTrackNext=124]="MediaTrackNext",e[e.MediaTrackPrevious=125]="MediaTrackPrevious",e[e.MediaStop=126]="MediaStop",e[e.MediaPlayPause=127]="MediaPlayPause",e[e.LaunchMediaPlayer=128]="LaunchMediaPlayer",e[e.LaunchMail=129]="LaunchMail",e[e.LaunchApp2=130]="LaunchApp2",e[e.Clear=131]="Clear",e[e.MAX_VALUE=132]="MAX_VALUE"}(Q||(Q={})),function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(X||(X={})),function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"}(Z||(Z={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(ee||(ee={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"}(et||(et={})),function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"}(er||(er={})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(en||(en={})),function(e){e[e.Left=0]="Left",e[e.Right=1]="Right",e[e.None=2]="None",e[e.LeftOfInjectedText=3]="LeftOfInjectedText",e[e.RightOfInjectedText=4]="RightOfInjectedText"}(ei||(ei={})),function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"}(es||(es={})),function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"}(eo||(eo={})),function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"}(ea||(ea={})),function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"}(el||(el={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(eu||(eu={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(eh||(eh={})),function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"}(ed||(ed={})),function(e){e[e.Deprecated=1]="Deprecated"}(ec||(ec={})),function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"}(eg||(eg={})),function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(em||(em={})),function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"}(ef||(ef={})),function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"}(ep||(ep={}));class rc{static chord(e,t){return(e|(65535&t)<<16>>>0)>>>0}}rc.CtrlCmd=2048,rc.Shift=1024,rc.Alt=512,rc.WinCtrl=256;class rg extends tG{constructor(e){super(0);for(let t=0,r=e.length;t65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}break}if(this._prevMatchStartIndex=i,this._prevMatchLength=s,!this._wordSeparators||function(e,t,r,n,i){if(0===n)return!0;let s=t.charCodeAt(n-1);if(0!==e.get(s)||13===s||10===s)return!0;if(i>0){let r=t.charCodeAt(n);if(0!==e.get(r))return!0}return!1}(n=this._wordSeparators,e,0,i,s)&&function(e,t,r,n,i){if(n+i===r)return!0;let s=t.charCodeAt(n+i);if(0!==e.get(s)||13===s||10===s)return!0;if(i>0){let r=t.charCodeAt(n+i-1);if(0!==e.get(r))return!0}return!1}(n,e,r,i,s))return t}while(t)return null}}function rf(e){e()||(e(),s(new h("Assertion Failed")))}function rp(e,t){let r=0;for(;rString.fromCodePoint(e)).join("").replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}]`,"g");let u=new rm(null,n),h=[],d=!1,c=0,g=0,m=0;e:for(let t=s;t<=o;t++){let r=e.getLineContent(t),n=r.length;u.reset(0);do if(i=u.next(r)){let e=i.index,s=i.index+i[0].length;e>0&&e$(r.charCodeAt(e-1))&&e--,s+1=1e3){d=!0;break e}h.push(new tK(t,e+1,t,s+1))}}while(i)}return{ranges:h,hasMore:d,ambiguousCharacterCount:c,invisibleCharacterCount:g,nonBasicAsciiCharacterCount:m}}static computeUnicodeHighlightReason(e,t){let r=new r_(t);switch(r.shouldHighlightNonBasicASCII(e,null)){case 0:return null;case 2:return{kind:1};case 3:{let n=e.codePointAt(0),i=r.ambiguousCharacters.getPrimaryConfusable(n),s=eJ.getLocales().filter(e=>!eJ.getInstance(new Set([...t.allowedLocales,e])).isAmbiguous(n));return{kind:0,confusableWith:String.fromCodePoint(i),notAmbiguousInLocales:s}}case 1:return{kind:2}}}}class r_{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=eJ.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";let e=new Set;if(this.options.invisibleCharacters)for(let t of eQ.codePoints)rC(String.fromCodePoint(t))||e.add(t);if(this.options.ambiguousCharacters)for(let t of this.ambiguousCharacters.getConfusableCodePoints())e.add(t);for(let t of this.allowedCodePoints)e.delete(t);return e}shouldHighlightNonBasicASCII(e,t){let r=e.codePointAt(0);if(this.allowedCodePoints.has(r))return 0;if(this.options.nonBasicASCII)return 1;let n=!1,i=!1;if(t)for(let e of t){let t=e.codePointAt(0),r=eG.test(e);n=n||r,r||this.ambiguousCharacters.isAmbiguous(t)||eQ.isInvisibleCharacter(t)||(i=!0)}return!n&&i?0:this.options.invisibleCharacters&&!rC(e)&&eQ.isInvisibleCharacter(r)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(r)?3:0}}function rC(e){return" "===e||"\n"===e||" "===e}class ry{constructor(e,t){this.changes=e,this.hitTimeout=t}}class rv{constructor(e,t,r){this.originalRange=e,this.modifiedRange=t,this.innerChanges=r}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}get changedLineCount(){return Math.max(this.originalRange.length,this.modifiedRange.length)}}class rL{constructor(e,t){this.originalRange=e,this.modifiedRange=t}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}}class rw{static joinMany(e){if(0===e.length)return[];let t=e[0];for(let r=1;r=o.startLineNumber?s=new rw(s.startLineNumber,Math.max(s.endLineNumberExclusive,o.endLineNumberExclusive)):(r.push(s),s=o)}return null!==s&&r.push(s),r}constructor(e,t){if(e>t)throw new h(`startLineNumber ${e} cannot be after endLineNumberExclusive ${t}`);this.startLineNumber=e,this.endLineNumberExclusive=t}contains(e){return this.startLineNumber<=e&&e(10===e?"\\n":String.fromCharCode(e))+`-(${this._lineNumbers[t]},${this._columns[t]})`).join(", ")+"]"}_assertIndex(e,t){if(e<0||e>=t.length)throw Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(e){return e>0&&e===this._lineNumbers.length?this.getEndLineNumber(e-1):(this._assertIndex(e,this._lineNumbers),this._lineNumbers[e])}getEndLineNumber(e){return -1===e?this.getStartLineNumber(e+1):(this._assertIndex(e,this._lineNumbers),10===this._charCodes[e])?this._lineNumbers[e]+1:this._lineNumbers[e]}getStartColumn(e){return e>0&&e===this._columns.length?this.getEndColumn(e-1):(this._assertIndex(e,this._columns),this._columns[e])}getEndColumn(e){return -1===e?this.getStartColumn(e+1):(this._assertIndex(e,this._columns),10===this._charCodes[e])?1:this._columns[e]+1}}class rA{constructor(e,t,r,n,i,s,o,a){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=r,this.originalEndColumn=n,this.modifiedStartLineNumber=i,this.modifiedStartColumn=s,this.modifiedEndLineNumber=o,this.modifiedEndColumn=a}static createFromDiffChange(e,t,r){let n=t.getStartLineNumber(e.originalStart),i=t.getStartColumn(e.originalStart),s=t.getEndLineNumber(e.originalStart+e.originalLength-1),o=t.getEndColumn(e.originalStart+e.originalLength-1),a=r.getStartLineNumber(e.modifiedStart),l=r.getStartColumn(e.modifiedStart),u=r.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),h=r.getEndColumn(e.modifiedStart+e.modifiedLength-1);return new rA(n,i,s,o,a,l,u,h)}}class rR{constructor(e,t,r,n,i){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=r,this.modifiedEndLineNumber=n,this.charChanges=i}static createFromDiffResult(e,t,r,n,i,s,o){let a,l,u,h,d;if(0===t.originalLength?(a=r.getStartLineNumber(t.originalStart)-1,l=0):(a=r.getStartLineNumber(t.originalStart),l=r.getEndLineNumber(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(u=n.getStartLineNumber(t.modifiedStart)-1,h=0):(u=n.getStartLineNumber(t.modifiedStart),h=n.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),s&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&i()){let s=r.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),a=n.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);if(s.getElements().length>0&&a.getElements().length>0){let e=rS(s,a,i,!0).changes;o&&(e=function(e){if(e.length<=1)return e;let t=[e[0]],r=t[0];for(let n=1,i=e.length;nMath.min(i.originalStart-(r.originalStart+r.originalLength),i.modifiedStart-(r.modifiedStart+r.modifiedLength))?(r.originalLength=i.originalStart+i.originalLength-r.originalStart,r.modifiedLength=i.modifiedStart+i.modifiedLength-r.modifiedStart):(t.push(i),r=i)}return t}(e)),d=[];for(let t=0,r=e.length;t1&&o>1&&e.charCodeAt(r-2)===t.charCodeAt(o-2);)r--,o--;(r>1||o>1)&&this._pushTrimWhitespaceCharChange(n,i+1,1,r,s+1,1,o)}{let r=rk(e,1),o=rk(t,1),a=e.length+1,l=t.length+1;for(;r=0;r--){let t=e.charCodeAt(r);if(32!==t&&9!==t)return r}return -1}(e);return -1===r?t:r+2}function rO(e){if(0===e)return()=>!0;let t=Date.now();return()=>Date.now()-tt))return new rT(e,t)}constructor(e,t){if(this.start=e,this.endExclusive=t,e>t)throw new h(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(e){return new rT(this.start+e,this.endExclusive+e)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}equals(e){return this.start===e.start&&this.endExclusive===e.endExclusive}containsRange(e){return this.start<=e.start&&e.endExclusive<=this.endExclusive}join(e){return new rT(Math.min(this.start,e.start),Math.max(this.endExclusive,e.endExclusive))}intersect(e){let t=Math.max(this.start,e.start),r=Math.min(this.endExclusive,e.endExclusive);if(t<=r)return new rT(t,r)}}class rI{static trivial(e,t){return new rI([new rD(new rT(0,e.length),new rT(0,t.length))],!1)}static trivialTimedOut(e,t){return new rI([new rD(new rT(0,e.length),new rT(0,t.length))],!0)}constructor(e,t){this.diffs=e,this.hitTimeout=t}}class rD{constructor(e,t){this.seq1Range=e,this.seq2Range=t}reverse(){return new rD(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(e){return new rD(this.seq1Range.join(e.seq1Range),this.seq2Range.join(e.seq2Range))}}class rP{isValid(){return!0}}rP.instance=new rP;class rF{constructor(e){if(this.timeout=e,this.startTime=Date.now(),this.valid=!0,e<=0)throw new h("timeout must be positive")}isValid(){return!(Date.now()-this.startTime0&&l>0&&3===s.get(a-1,l-1)&&(u+=o.get(a-1,l-1)),u+=n?n(a,l):1):u=-1;let c=Math.max(h,d,u);if(c===u){let e=a>0&&l>0?o.get(a-1,l-1):0;o.set(a,l,e+1),s.set(a,l,3)}else c===h?(o.set(a,l,0),s.set(a,l,1)):c===d&&(o.set(a,l,0),s.set(a,l,2));i.set(a,l,c)}let a=[],l=e.length,u=t.length;function h(e,t){(e+1!==l||t+1!==u)&&a.push(new rD(new rT(e+1,l),new rT(t+1,u))),l=e,u=t}let d=e.length-1,c=t.length-1;for(;d>=0&&c>=0;)3===s.get(d,c)?(h(d,c),d--,c--):1===s.get(d,c)?d--:c--;return h(-1,-1),a.reverse(),new rI(a,!1)}}function rB(e,t,r){let n=r;return n=function(e,t,r){let n=[];r.length>0&&n.push(r[0]);for(let e=1;e0?r[n-1].seq2Range.endExclusive:-1,o=n+10?r[n-1].seq1Range.endExclusive:-1,o=n+1i&&r.getElement(e.seq2Range.start-s)===r.getElement(e.seq2Range.endExclusive-s)&&s<20;)s++;s--;let o=0;for(;e.seq2Range.start+ol&&(l=u,a=n)}return 0!==a?new rD(e.seq1Range.delta(a),e.seq2Range.delta(a)):e}class rU{compute(e,t,r=rP.instance){if(0===e.length||0===t.length)return rI.trivial(e,t);function n(r,n){for(;r=this.negativeArr.length){let e=this.negativeArr;this.negativeArr=new Int32Array(2*e.length),this.negativeArr.set(e)}this.negativeArr[e]=t}else{if(e>=this.positiveArr.length){let e=this.positiveArr;this.positiveArr=new Int32Array(2*e.length),this.positiveArr.set(e)}this.positiveArr[e]=t}}}class r${constructor(){this.positiveArr=[],this.negativeArr=[]}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){e<0?(e=-e-1,this.negativeArr[e]=t):this.positiveArr[e]=t}}class rz{constructor(e,t){this.trimmedHash=e,this.lines=t}getElement(e){return this.trimmedHash[e]}get length(){return this.trimmedHash.length}getBoundaryScore(e){return 1e3-((0===e?0:rj(this.lines[e-1]))+(e===this.lines.length?0:rj(this.lines[e])))}}function rj(e){let t=0;for(;t0&&t.endExclusive>=e.length&&(t=new rT(t.start-1,t.endExclusive),n=!0),this.lineRange=t;for(let t=this.lineRange.start;tString.fromCharCode(e)).join("")}getElement(e){return this.elements[e]}get length(){return this.elements.length}getBoundaryScore(e){let t=rQ(e>0?this.elements[e-1]:-1),r=rQ(ee?r=n:t=n+1}let n=0===t?0:this.firstCharOffsetByLineMinusOne[t-1];return new tF(this.lineRange.start+t+1,e-n+1+this.offsetByLine[t])}translateRange(e){return tK.fromPositions(this.translateOffset(e.start),this.translateOffset(e.endExclusive))}findWordContaining(e){if(e<0||e>=this.elements.length||!rY(this.elements[e]))return;let t=e;for(;t>0&&rY(this.elements[t-1]);)t--;let r=e;for(;r=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}let rJ={0:0,1:0,2:0,3:10,4:2,5:3,6:10,7:10};function rQ(e){return 10===e?7:13===e?6:32===e||9===e?5:e>=97&&e<=122?0:e>=65&&e<=90?1:e>=48&&e<=57?2:-1===e?3:4}let rX={legacy:new class{computeDiff(e,t,r){var n;let i=new rx(e,t,{maxComputationTime:r.maxComputationTimeMs,shouldIgnoreTrimWhitespace:r.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}).computeDiff(),s=[],o=null;for(let e of i.changes){let t,r;t=0===e.originalEndLineNumber?new rw(e.originalStartLineNumber+1,e.originalStartLineNumber+1):new rw(e.originalStartLineNumber,e.originalEndLineNumber+1),r=0===e.modifiedEndLineNumber?new rw(e.modifiedStartLineNumber+1,e.modifiedStartLineNumber+1):new rw(e.modifiedStartLineNumber,e.modifiedEndLineNumber+1);let i=new rv(t,r,null===(n=e.charChanges)||void 0===n?void 0:n.map(e=>new rL(new tK(e.originalStartLineNumber,e.originalStartColumn,e.originalEndLineNumber,e.originalEndColumn),new tK(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn))));o&&(o.modifiedRange.endLineNumberExclusive===i.modifiedRange.startLineNumber||o.originalRange.endLineNumberExclusive===i.originalRange.startLineNumber)&&(i=new rv(o.originalRange.join(i.originalRange),o.modifiedRange.join(i.modifiedRange),o.innerChanges&&i.innerChanges?o.innerChanges.concat(i.innerChanges):void 0),s.pop()),s.push(i),o=i}return rf(()=>rp(s,(e,t)=>t.originalRange.startLineNumber-e.originalRange.endLineNumberExclusive==t.modifiedRange.startLineNumber-e.modifiedRange.endLineNumberExclusive&&e.originalRange.endLineNumberExclusiveo(e.trim())),l=t.map(e=>o(e.trim())),u=new rz(a,e),h=new rz(l,t),d=u.length+h.length<1500?this.dynamicProgrammingDiffing.compute(u,h,n,(r,n)=>e[r]===t[n]?0===t[n].length?.1:1+Math.log(1+t[n].length):.99):this.myersDiffingAlgorithm.compute(u,h),c=d.diffs,g=d.hitTimeout;c=rB(u,h,c);let m=[],f=r=>{if(i)for(let s=0;sr.seq1Range.start-p==r.seq2Range.start-b),f(r.seq1Range.start-p),p=r.seq1Range.endExclusive,b=r.seq2Range.endExclusive;let s=this.refineDiff(e,t,r,n,i);for(let e of(s.hitTimeout&&(g=!0),s.mappings))m.push(e)}f(e.length-p);let _=function(e,t,r){let n=[];for(let i of function*(e,t){let r,n;for(let i of e)void 0!==n&&t(n,i)?r.push(i):(r&&(yield r),r=[i]),n=i;r&&(yield r)}(e.map(e=>{let n,i,s,o;return n=0,i=0,e.modifiedRange.startColumn-1>=r[e.modifiedRange.startLineNumber-1].length&&e.originalRange.startColumn-1>=t[e.originalRange.startLineNumber-1].length&&(n=1),1===e.modifiedRange.endColumn&&1===e.originalRange.endColumn&&e.originalRange.startLineNumber+n<=e.originalRange.endLineNumber&&e.modifiedRange.startLineNumber+n<=e.modifiedRange.endLineNumber&&(i=-1),s=new rw(e.originalRange.startLineNumber+n,e.originalRange.endLineNumber+1+i),o=new rw(e.modifiedRange.startLineNumber+n,e.modifiedRange.endLineNumber+1+i),new rv(s,o,[e])}),(e,t)=>e.originalRange.overlapOrTouch(t.originalRange)||e.modifiedRange.overlapOrTouch(t.modifiedRange))){let e=i[0],t=i[i.length-1];n.push(new rv(e.originalRange.join(t.originalRange),e.modifiedRange.join(t.modifiedRange),i.map(e=>e.innerChanges[0])))}return rf(()=>rp(n,(e,t)=>t.originalRange.startLineNumber-e.originalRange.endLineNumberExclusive==t.modifiedRange.startLineNumber-e.modifiedRange.endLineNumberExclusive&&e.originalRange.endLineNumberExclusivee&&i.push(new rD(n.s1Range,n.s2Range)),n=void 0}for(let i of r){function o(e,t){var r,o,a,l;if(!n||!n.s1Range.containsRange(e)||!n.s2Range.containsRange(t)){if(n&&!(n.s1Range.endExclusive0||t.length>0;){let n;let i=e[0],s=t[0];n=i&&(!s||i.seq1Range.start0&&r[r.length-1].seq1Range.endExclusive>=n.seq1Range.start?r[r.length-1]=r[r.length-1].join(n):r.push(n)}return r}(r,i)}(s,o,l))).map(e=>new rL(s.translateRange(e.seq1Range),o.translateRange(e.seq2Range))),hitTimeout:a.hitTimeout}}}};function rZ(e,t){let r=Math.pow(10,t);return Math.round(e*r)/r}class r1{constructor(e,t,r,n=1){this._rgbaBrand=void 0,this.r=0|Math.min(255,Math.max(0,e)),this.g=0|Math.min(255,Math.max(0,t)),this.b=0|Math.min(255,Math.max(0,r)),this.a=rZ(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a}}class r0{constructor(e,t,r,n){this._hslaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=rZ(Math.max(Math.min(1,t),0),3),this.l=rZ(Math.max(Math.min(1,r),0),3),this.a=rZ(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a}static fromRGBA(e){let t=e.r/255,r=e.g/255,n=e.b/255,i=e.a,s=Math.max(t,r,n),o=Math.min(t,r,n),a=0,l=0,u=(o+s)/2,h=s-o;if(h>0){switch(l=Math.min(u<=.5?h/(2*u):h/(2-2*u),1),s){case t:a=(r-n)/h+(r1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}static toRGBA(e){let t,r,n;let i=e.h/360,{s,l:o,a}=e;if(0===s)t=r=n=o;else{let e=o<.5?o*(1+s):o+s-o*s,a=2*o-e;t=r0._hue2rgb(a,e,i+1/3),r=r0._hue2rgb(a,e,i),n=r0._hue2rgb(a,e,i-1/3)}return new r1(Math.round(255*t),Math.round(255*r),Math.round(255*n),a)}}class r2{constructor(e,t,r,n){this._hsvaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=rZ(Math.max(Math.min(1,t),0),3),this.v=rZ(Math.max(Math.min(1,r),0),3),this.a=rZ(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.v===t.v&&e.a===t.a}static fromRGBA(e){let t;let r=e.r/255,n=e.g/255,i=e.b/255,s=Math.max(r,n,i),o=s-Math.min(r,n,i),a=0===s?0:o/s;return t=0===o?0:s===r?((n-i)/o%6+6)%6:s===n?(i-r)/o+2:(r-n)/o+4,new r2(Math.round(60*t),a,s,e.a)}static toRGBA(e){let{h:t,s:r,v:n,a:i}=e,s=n*r,o=s*(1-Math.abs(t/60%2-1)),a=n-s,[l,u,h]=[0,0,0];return t<60?(l=s,u=o):t<120?(l=o,u=s):t<180?(u=s,h=o):t<240?(u=o,h=s):t<300?(l=o,h=s):t<=360&&(l=s,h=o),l=Math.round((l+a)*255),u=Math.round((u+a)*255),h=Math.round((h+a)*255),new r1(l,u,h,i)}}class r4{static fromHex(e){return r4.Format.CSS.parseHex(e)||r4.red}static equals(e,t){return!e&&!t||!!e&&!!t&&e.equals(t)}get hsla(){return this._hsla?this._hsla:r0.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:r2.fromRGBA(this.rgba)}constructor(e){if(e){if(e instanceof r1)this.rgba=e;else if(e instanceof r0)this._hsla=e,this.rgba=r0.toRGBA(e);else if(e instanceof r2)this._hsva=e,this.rgba=r2.toRGBA(e);else throw Error("Invalid color ctor argument")}else throw Error("Color needs a value")}equals(e){return!!e&&r1.equals(this.rgba,e.rgba)&&r0.equals(this.hsla,e.hsla)&&r2.equals(this.hsva,e.hsva)}getRelativeLuminance(){return rZ(.2126*r4._relativeLuminanceForComponent(this.rgba.r)+.7152*r4._relativeLuminanceForComponent(this.rgba.g)+.0722*r4._relativeLuminanceForComponent(this.rgba.b),4)}static _relativeLuminanceForComponent(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}isLighter(){return(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3>=128}isLighterThan(e){return this.getRelativeLuminance()>e.getRelativeLuminance()}isDarkerThan(e){return this.getRelativeLuminance()this._lines.length)t=this._lines.length,r=this._lines[t-1].length+1,n=!0;else{let e=this._lines[t-1].length+1;r<1?(r=1,n=!0):r>e&&(r=e,n=!0)}return n?{lineNumber:t,column:r}:e}}class nr{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new nt(tA.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){this._models[e]&&this._models[e].onEvents(t)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}computeUnicodeHighlights(e,t,r){return ne(this,void 0,void 0,function*(){let n=this._getModel(e);return n?rb.computeUnicodeHighlights(n,t,r):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(e,t,r,n){return ne(this,void 0,void 0,function*(){let i=this._getModel(e),s=this._getModel(t);return i&&s?nr.computeDiff(i,s,r,n):null})}static computeDiff(e,t,r,n){let i="advanced"===n?rX.advanced:rX.legacy,s=e.getLinesContent(),o=t.getLinesContent(),a=i.computeDiff(s,o,r);return{identical:!(a.changes.length>0)&&this._modelsAreIdentical(e,t),quitEarly:a.hitTimeout,changes:a.changes.map(e=>{var t;return[e.originalRange.startLineNumber,e.originalRange.endLineNumberExclusive,e.modifiedRange.startLineNumber,e.modifiedRange.endLineNumberExclusive,null===(t=e.innerChanges)||void 0===t?void 0:t.map(e=>[e.originalRange.startLineNumber,e.originalRange.startColumn,e.originalRange.endLineNumber,e.originalRange.endColumn,e.modifiedRange.startLineNumber,e.modifiedRange.startColumn,e.modifiedRange.endLineNumber,e.modifiedRange.endColumn])]})}}static _modelsAreIdentical(e,t){let r=e.getLineCount();if(r!==t.getLineCount())return!1;for(let n=1;n<=r;n++)if(e.getLineContent(n)!==t.getLineContent(n))return!1;return!0}computeMoreMinimalEdits(e,t,r){return ne(this,void 0,void 0,function*(){let n;let i=this._getModel(e);if(!i)return t;let s=[];for(let{range:e,text:a,eol:l}of t=t.slice(0).sort((e,t)=>e.range&&t.range?tK.compareRangesUsingStarts(e.range,t.range):(e.range?0:1)-(t.range?0:1))){var o;if("number"==typeof l&&(n=l),tK.isEmpty(e)&&!a)continue;let t=i.getValueInRange(e);if(t===(a=a.replace(/\r\n|\n|\r/g,i.eol)))continue;if(Math.max(a.length,t.length)>nr._diffLimit){s.push({range:e,text:a});continue}let u=(o=a,new to(new tr(t),new tr(o)).ComputeDiff(r).changes),h=i.offsetAt(tK.lift(e).getStartPosition());for(let e of u){let t=i.positionAt(h+e.originalStart),r=i.positionAt(h+e.originalStart+e.originalLength),n={text:a.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:r.lineNumber,endColumn:r.column}};i.getValueInRange(n.range)!==n.text&&s.push(n)}}return"number"==typeof n&&s.push({eol:n,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),s})}computeLinks(e){return ne(this,void 0,void 0,function*(){let t=this._getModel(e);return t?t&&"function"==typeof t.getLineCount&&"function"==typeof t.getLineContent?t1.computeLinks(t):[]:null})}computeDefaultDocumentColors(e){return ne(this,void 0,void 0,function*(){let t=this._getModel(e);return t?t&&"function"==typeof t.getValue&&"function"==typeof t.positionAt?function(e){let t=[],r=r3(e,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([A-Fa-f0-9]{6})\b|(#)([A-Fa-f0-9]{8})\b/gm);if(r.length>0)for(let n of r){let r;let i=n.filter(e=>void 0!==e),s=i[1],o=i[2];if(o){if("rgb"===s){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;r=r6(r9(e,n),r3(o,t),!1)}else if("rgba"===s){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;r=r6(r9(e,n),r3(o,t),!0)}else if("hsl"===s){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;r=r8(r9(e,n),r3(o,t),!1)}else if("hsla"===s){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;r=r8(r9(e,n),r3(o,t),!0)}else"#"===s&&(r=function(e,t){if(!e)return;let r=r4.Format.CSS.parseHex(t);if(r)return{range:e,color:r7(r.rgba.r,r.rgba.g,r.rgba.b,r.rgba.a)}}(r9(e,n),s+o));r&&t.push(r)}}return t}(t):[]:null})}textualSuggest(e,t,r,n){return ne(this,void 0,void 0,function*(){let i=new eT(!0),s=new RegExp(r,n),o=new Set;r:for(let r of e){let e=this._getModel(r);if(e){for(let r of e.words(s))if(r!==t&&isNaN(Number(r))&&(o.add(r),o.size>nr._suggestionsLimit))break r}}return{words:Array.from(o),duration:i.elapsed()}})}computeWordRanges(e,t,r,n){return ne(this,void 0,void 0,function*(){let i=this._getModel(e);if(!i)return Object.create(null);let s=new RegExp(r,n),o=Object.create(null);for(let e=t.startLineNumber;efunction(){let r=Array.prototype.slice.call(arguments,0);return t(e,r)},n={};for(let t of e)n[t]=r(t);return n}(r,(e,t)=>this._host.fhr(e,t));return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory({host:n,getMirrorModels:()=>this._getModels()},t),Promise.resolve(eU(this._foreignModule))):Promise.reject(Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(e){return Promise.reject(e)}}}nr._diffLimit=1e5,nr._suggestionsLimit=1e4,"function"==typeof importScripts&&(globalThis.monaco={editor:void 0,languages:void 0,CancellationTokenSource:class{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new t4),this._token}cancel(){this._token?this._token instanceof t4&&this._token.cancel():this._token=w.Cancelled}dispose(e=!1){var t;e&&this.cancel(),null===(t=this._parentListener)||void 0===t||t.dispose(),this._token?this._token instanceof t4&&this._token.dispose():this._token=w.None}},Emitter:eK,KeyCode:Q,KeyMod:rc,Position:tF,Range:tK,Selection:rs,SelectionDirection:eu,MarkerSeverity:X,MarkerTag:Z,Uri:tA,Token:class{constructor(e,t,r){this.offset=e,this.type=t,this.language=r,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}});let nn=!1;globalThis.onmessage=e=>{nn||function(e){if(nn)return;nn=!0;let t=new e9(e=>{globalThis.postMessage(e)},e=>new nr(e,null));globalThis.onmessage=e=>{t.onmessage(e.data)}}(0)}})()})(); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/fa2cc0ab9f0bec2b3365.ttf b/snaps-simulator/2.4.2/vendor/fa2cc0ab9f0bec2b3365.ttf new file mode 100644 index 0000000000..ea2309d11d Binary files /dev/null and b/snaps-simulator/2.4.2/vendor/fa2cc0ab9f0bec2b3365.ttf differ diff --git a/snaps-simulator/2.4.2/vendor/json.worker.js b/snaps-simulator/2.4.2/vendor/json.worker.js new file mode 100644 index 0000000000..f5b8e10e69 --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/json.worker.js @@ -0,0 +1,6 @@ +(()=>{var e={406:e=>{var t,n,r,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function s(){throw Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:s}catch(e){n=s}}();var l=[],u=!1,c=-1;function h(){u&&r&&(u=!1,r.length?l=r.concat(l):c=-1,l.length&&d())}function d(){if(!u){var e=a(h);u=!0;for(var t=l.length;t;){for(r=l,l=[];++c1)for(var n=1;n{"use strict";let e,t,r;let i=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack){if(u.isErrorNoTelemetry(e))throw new u(e.message+"\n\n"+e.stack);throw Error(e.message+"\n\n"+e.stack)}throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function o(e){e instanceof l||e instanceof Error&&e.name===a&&e.message===a||i.onUnexpectedError(e)}function s(e){if(e instanceof Error){let{name:t,message:n}=e;return{$isError:!0,name:t,message:n,stack:e.stacktrace||e.stack,noTelemetry:u.isErrorNoTelemetry(e)}}return e}let a="Canceled";class l extends Error{constructor(){super(a),this.name=this.message}}class u extends Error{constructor(e){super(e),this.name="CodeExpectedError"}static fromError(e){if(e instanceof u)return e;let t=new u;return t.message=e.message,t.stack=e.stack,t}static isErrorNoTelemetry(e){return"CodeExpectedError"===e.name}}class c extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,c.prototype)}}function h(e){if(y.is(e)){let t=[];for(let n of e)if(n)try{n.dispose()}catch(e){t.push(e)}if(1===t.length)throw t[0];if(t.length>1)throw AggregateError(t,"Encountered errors while disposing of store");return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function d(e){return{dispose:function(e){let t;let n=this,r=!1;return function(){return r?t:(r=!0,t=e.apply(n,arguments))}}(()=>{e()})}}!function(e){function t(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]}e.is=t;let n=Object.freeze([]);function*r(e){yield e}e.empty=function(){return n},e.single=r,e.wrap=function(e){return t(e)?e:r(e)},e.from=function(e){return e||n},e.isEmpty=function(e){return!e||!0===e[Symbol.iterator]().next().done},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,t){for(let n of e)if(t(n))return!0;return!1},e.find=function(e,t){for(let n of e)if(t(n))return n},e.filter=function*(e,t){for(let n of e)t(n)&&(yield n)},e.map=function*(e,t){let n=0;for(let r of e)yield t(r,n++)},e.concat=function*(...e){for(let t of e)for(let e of t)yield e},e.reduce=function(e,t,n){let r=n;for(let n of e)r=t(r,n);return r},e.slice=function*(e,t,n=e.length){for(t<0&&(t+=e.length),n<0?n+=e.length:n>e.length&&(n=e.length);ti}]}}(y||(y={}));class f{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(0!==this._toDispose.size)try{h(this._toDispose)}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw Error("Cannot register a disposable on itself!");return this._isDisposed?f.DISABLE_DISPOSED_WARNING||console.warn(Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}}f.DISABLE_DISPOSED_WARNING=!1;class m{constructor(){this._store=new f,this._store}dispose(){this._store.dispose()}_register(e){if(e===this)throw Error("Cannot register a disposable on itself!");return this._store.add(e)}}m.None=Object.freeze({dispose(){}});class g{constructor(){this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1}set(e){let t=e;return this.unset=()=>t=void 0,this.isset=()=>void 0!==t,this.dispose=()=>{t&&(t(),t=void 0)},this}}Symbol.iterator;class p{constructor(e){this.element=e,this.next=p.Undefined,this.prev=p.Undefined}}p.Undefined=new p(void 0);class v{constructor(){this._first=p.Undefined,this._last=p.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===p.Undefined}clear(){let e=this._first;for(;e!==p.Undefined;){let t=e.next;e.prev=p.Undefined,e.next=p.Undefined,e=t}this._first=p.Undefined,this._last=p.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){let n=new p(e);if(this._first===p.Undefined)this._first=n,this._last=n;else if(t){let e=this._last;this._last=n,n.prev=e,e.next=n}else{let e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let r=!1;return()=>{r||(r=!0,this._remove(n))}}shift(){if(this._first!==p.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==p.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==p.Undefined&&e.next!==p.Undefined){let t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===p.Undefined&&e.next===p.Undefined?(this._first=p.Undefined,this._last=p.Undefined):e.next===p.Undefined?(this._last=this._last.prev,this._last.next=p.Undefined):e.prev===p.Undefined&&(this._first=this._first.next,this._first.prev=p.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==p.Undefined;)yield e.element,e=e.next}}let b="undefined"!=typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;var y,C,_,S,w,A,x,E,L,N,k,T,R,O,M,I,P,V,F,D,K,j,q,U,B,$,W,H,z,G,J,X,Z,Y,Q,ee,et,en,er,ei,eo,es,ea,el,eu,ec,eh,ed,ef,em,eg,ep,ev,eb,ey,eC,e_,eS,ew,eA,ex,eE,eL,eN,ek,eT,eR,eO,eM,eI,eP,eV,eF,eD,eK,ej,eq,eU,eB,e$,eW,eH,ez,eG,eJ,eX,eZ,eY,eQ,e1,e0,e2,e4,e5,e7,e9,e6,e8,e3,te,tt,tn,tr,ti,to,ts,ta,tl,tu,tc,th,td,tf,tm,tg,tp,tv,tb,ty,tC,t_,tS,tw,tA,tx,tE=n(406);let tL=!1,tN=!1,tk=!1,tT="object"==typeof self?self:"object"==typeof n.g?n.g:{};void 0!==tT.vscode&&void 0!==tT.vscode.process?r=tT.vscode.process:void 0!==tE&&(r=tE);let tR="string"==typeof(null===(C=null==r?void 0:r.versions)||void 0===C?void 0:C.electron)&&(null==r?void 0:r.type)==="renderer";if("object"!=typeof navigator||tR){if("object"==typeof r){tL="win32"===r.platform,tN="darwin"===r.platform,"linux"===r.platform&&r.env.SNAP&&r.env.SNAP_REVISION,r.env.CI||r.env.BUILD_ARTIFACTSTAGINGDIRECTORY;let e=r.env.VSCODE_NLS_CONFIG;if(e)try{let t=JSON.parse(e);t.availableLanguages["*"],t.locale,t.osLocale,t._translationsConfigFile}catch(e){}}else console.error("Unable to resolve platform.")}else tL=(t=navigator.userAgent).indexOf("Windows")>=0,tN=t.indexOf("Macintosh")>=0,(t.indexOf("Macintosh")>=0||t.indexOf("iPad")>=0||t.indexOf("iPhone")>=0)&&navigator.maxTouchPoints&&navigator.maxTouchPoints,t.indexOf("Linux"),null==t||t.indexOf("Mobi"),tk=!0,function(e,t,...n){let r;r=0===n.length?"_":"_".replace(/\{(\d+)\}/g,(e,t)=>{let r=n[t[0]],i=e;return"string"==typeof r?i=r:("number"==typeof r||"boolean"==typeof r||null==r)&&(i=String(r)),i}),b&&(r="["+r.replace(/[aouei]/g,"$&$&")+"]")}(0,0),navigator.language;let tO=tL,tM=tN;tk&&tT.importScripts;let tI=t,tP="function"==typeof tT.postMessage&&!tT.importScripts;(()=>{if(tP){let e=[];tT.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let n=0,r=e.length;n{let r=++t;e.push({id:r,callback:n}),tT.postMessage({vscodeScheduleAsyncWork:r},"*")}}return e=>setTimeout(e)})();let tV=!!(tI&&tI.indexOf("Chrome")>=0);tI&&tI.indexOf("Firefox"),!tV&&tI&&tI.indexOf("Safari"),tI&&tI.indexOf("Edg/"),tI&&tI.indexOf("Android");let tF=tT.performance&&"function"==typeof tT.performance.now;class tD{static create(e=!0){return new tD(e)}constructor(e){this._highResolution=tF&&e,this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}elapsed(){return -1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?tT.performance.now():Date.now()}}!function(e){function t(e){return(t,n=null,r)=>{let i,o=!1;return i=e(e=>o?void 0:(i?i.dispose():o=!0,t.call(n,e)),null,r),o&&i.dispose(),i}}function n(e,t,n){return s((n,r=null,i)=>e(e=>n.call(r,t(e)),null,i),n)}function r(e,t,n){return s((n,r=null,i)=>e(e=>{t(e),n.call(r,e)},null,i),n)}function i(e,t,n){return s((n,r=null,i)=>e(e=>t(e)&&n.call(r,e),null,i),n)}function o(e,t,r,i){let o=r;return n(e,e=>o=t(o,e),i)}function s(e,t){let n;let r=new tB({onWillAddFirstListener(){n=e(r.fire,r)},onDidRemoveLastListener(){null==n||n.dispose()}});return null==t||t.add(r),r.event}function a(e,t,n=100,r=!1,i=!1,o,s){let a,l,u,c;let h=0,d=new tB({leakWarningThreshold:o,onWillAddFirstListener(){a=e(e=>{h++,u=t(u,e),r&&!c&&(d.fire(u),u=void 0),l=()=>{let e=u;u=void 0,c=void 0,(!r||h>1)&&d.fire(e),h=0},"number"==typeof n?(clearTimeout(c),c=setTimeout(l,n)):void 0===c&&(c=0,queueMicrotask(l))})},onWillRemoveListener(){i&&h>0&&(null==l||l())},onDidRemoveLastListener(){l=void 0,a.dispose()}});return null==s||s.add(d),d.event}function l(e,t=(e,t)=>e===t,n){let r,o=!0;return i(e,e=>{let n=o||!t(e,r);return o=!1,r=e,n},n)}e.None=()=>m.None,e.defer=function(e,t){return a(e,()=>void 0,0,void 0,!0,void 0,t)},e.once=t,e.map=n,e.forEach=r,e.filter=i,e.signal=function(e){return e},e.any=function(...e){return(t,n=null,r)=>(function(...e){return d(()=>h(e))})(...e.map(e=>e(e=>t.call(n,e),null,r)))},e.reduce=o,e.debounce=a,e.accumulate=function(t,n=0,r){return e.debounce(t,(e,t)=>e?(e.push(t),e):[t],n,void 0,!0,void 0,r)},e.latch=l,e.split=function(t,n,r){return[e.filter(t,n,r),e.filter(t,e=>!n(e),r)]},e.buffer=function(e,t=!1,n=[]){let r=n.slice(),i=e(e=>{r?r.push(e):s.fire(e)}),o=()=>{null==r||r.forEach(e=>s.fire(e)),r=null},s=new tB({onWillAddFirstListener(){i||(i=e(e=>s.fire(e)))},onDidAddFirstListener(){r&&(t?setTimeout(o):o())},onDidRemoveLastListener(){i&&i.dispose(),i=null}});return s.event};class u{constructor(e){this.event=e,this.disposables=new f}map(e){return new u(n(this.event,e,this.disposables))}forEach(e){return new u(r(this.event,e,this.disposables))}filter(e){return new u(i(this.event,e,this.disposables))}reduce(e,t){return new u(o(this.event,e,t,this.disposables))}latch(){return new u(l(this.event,void 0,this.disposables))}debounce(e,t=100,n=!1,r=!1,i){return new u(a(this.event,e,t,n,r,i,this.disposables))}on(e,t,n){return this.event(e,t,n)}once(e,n,r){return t(this.event)(e,n,r)}dispose(){this.disposables.dispose()}}e.chain=function(e){return new u(e)},e.fromNodeEventEmitter=function(e,t,n=e=>e){let r=(...e)=>i.fire(n(...e)),i=new tB({onWillAddFirstListener:()=>e.on(t,r),onDidRemoveLastListener:()=>e.removeListener(t,r)});return i.event},e.fromDOMEventEmitter=function(e,t,n=e=>e){let r=(...e)=>i.fire(n(...e)),i=new tB({onWillAddFirstListener:()=>e.addEventListener(t,r),onDidRemoveLastListener:()=>e.removeEventListener(t,r)});return i.event},e.toPromise=function(e){return new Promise(n=>t(e)(n))},e.runAndSubscribe=function(e,t){return t(void 0),e(e=>t(e))},e.runAndSubscribeWithStore=function(e,t){let n=null;function r(e){null==n||n.dispose(),t(e,n=new f)}r(void 0);let i=e(e=>r(e));return d(()=>{i.dispose(),null==n||n.dispose()})};class c{constructor(e,t){this._observable=e,this._counter=0,this._hasChanged=!1,this.emitter=new tB({onWillAddFirstListener:()=>{e.addObserver(this)},onDidRemoveLastListener:()=>{e.removeObserver(this)}}),t&&t.add(this.emitter)}beginUpdate(e){this._counter++}handlePossibleChange(e){}handleChange(e,t){this._hasChanged=!0}endUpdate(e){this._counter--,0===this._counter&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}e.fromObservable=function(e,t){return new c(e,t).emitter.event},e.fromObservableLight=function(e){return t=>{let n=0,r=!1,i={beginUpdate(){n++},endUpdate(){0==--n&&(e.reportChanges(),r&&(r=!1,t()))},handlePossibleChange(){},handleChange(){r=!0}};return e.addObserver(i),{dispose(){e.removeObserver(i)}}}}}(_||(_={}));class tK{constructor(e){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${e}_${tK._idPool++}`,tK.all.add(this)}start(e){this._stopWatch=new tD(!0),this.listenerCount=e}stop(){if(this._stopWatch){let e=this._stopWatch.elapsed();this.durations.push(e),this.elapsedOverall+=e,this.invocationCount+=1,this._stopWatch=void 0}}}tK.all=new Set,tK._idPool=0;class tj{constructor(e,t=Math.random().toString(18).slice(2,5)){this.threshold=e,this.name=t,this._warnCountdown=0}dispose(){var e;null===(e=this._stacks)||void 0===e||e.clear()}check(e,t){let n=this.threshold;if(n<=0||t{let t=this._stacks.get(e.value)||0;this._stacks.set(e.value,t-1)}}}class tq{static create(){var e;return new tq(null!==(e=Error().stack)&&void 0!==e?e:"")}constructor(e){this.value=e}print(){console.warn(this.value.split("\n").slice(2).join("\n"))}}class tU{constructor(e,t,n){this.callback=e,this.callbackThis=t,this.stack=n,this.subscription=new g}invoke(e){this.callback.call(this.callbackThis,e)}}class tB{constructor(e){var t,n,r,i,o;this._disposed=!1,this._options=e,this._leakageMon=(null===(t=this._options)||void 0===t?void 0:t.leakWarningThreshold)?new tj(null!==(r=null===(n=this._options)||void 0===n?void 0:n.leakWarningThreshold)&&void 0!==r?r:-1):void 0,this._perfMon=(null===(i=this._options)||void 0===i?void 0:i._profName)?new tK(this._options._profName):void 0,this._deliveryQueue=null===(o=this._options)||void 0===o?void 0:o.deliveryQueue}dispose(){var e,t,n,r;this._disposed||(this._disposed=!0,this._listeners&&this._listeners.clear(),null===(e=this._deliveryQueue)||void 0===e||e.clear(this),null===(n=null===(t=this._options)||void 0===t?void 0:t.onDidRemoveLastListener)||void 0===n||n.call(t),null===(r=this._leakageMon)||void 0===r||r.dispose())}get event(){return this._event||(this._event=(e,t,n)=>{var r,i,o;let s,a;if(this._listeners||(this._listeners=new v),this._leakageMon&&this._listeners.size>3*this._leakageMon.threshold)return console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`),m.None;let l=this._listeners.isEmpty();l&&(null===(r=this._options)||void 0===r?void 0:r.onWillAddFirstListener)&&this._options.onWillAddFirstListener(this),this._leakageMon&&this._listeners.size>=Math.ceil(.2*this._leakageMon.threshold)&&(a=tq.create(),s=this._leakageMon.check(a,this._listeners.size+1));let u=new tU(e,t,a),c=this._listeners.push(u);l&&(null===(i=this._options)||void 0===i?void 0:i.onDidAddFirstListener)&&this._options.onDidAddFirstListener(this),(null===(o=this._options)||void 0===o?void 0:o.onDidAddListener)&&this._options.onDidAddListener(this,e,t);let h=u.subscription.set(()=>{var e,t;null==s||s(),!this._disposed&&(null===(t=null===(e=this._options)||void 0===e?void 0:e.onWillRemoveListener)||void 0===t||t.call(e,this),c(),this._options&&this._options.onDidRemoveLastListener)&&(this._listeners&&!this._listeners.isEmpty()||this._options.onDidRemoveLastListener(this))});return n instanceof f?n.add(h):Array.isArray(n)&&n.push(h),h}),this._event}fire(e){var t,n,r;if(this._listeners){for(let n of(this._deliveryQueue||(this._deliveryQueue=new tW(null===(t=this._options)||void 0===t?void 0:t.onListenerError)),this._listeners))this._deliveryQueue.push(this,n,e);null===(n=this._perfMon)||void 0===n||n.start(this._deliveryQueue.size),this._deliveryQueue.deliver(),null===(r=this._perfMon)||void 0===r||r.stop()}}hasListeners(){return!!this._listeners&&!this._listeners.isEmpty()}}class t${constructor(e=o){this._onListenerError=e,this._queue=new v}get size(){return this._queue.size}push(e,t,n){this._queue.push(new tH(e,t,n))}clear(e){let t=new v;for(let n of this._queue)n.emitter!==e&&t.push(n);this._queue=t}deliver(){for(;this._queue.size>0;){let e=this._queue.shift();try{e.listener.invoke(e.event)}catch(e){this._onListenerError(e)}}}}class tW extends t${clear(e){this._queue.clear()}}class tH{constructor(e,t,n){this.emitter=e,this.listener=t,this.event=n}}function tz(e){let t=[];for(let n of function(e){let t=[],n=Object.getPrototypeOf(e);for(;Object.prototype!==n;)t=t.concat(Object.getOwnPropertyNames(n)),n=Object.getPrototypeOf(n);return t}(e))"function"==typeof e[n]&&t.push(n);return t}Object.prototype.hasOwnProperty;class tG{constructor(e){this.executor=e,this._didRun=!1}get value(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}function tJ(e){return e>=65&&e<=90}function tX(e){return 55296<=e&&e<=56319}function tZ(e){return 56320<=e&&e<=57343}function tY(e,t){return(e-55296<<10)+(t-56320)+65536}let tQ=/^[\t\n\r\x20-\x7E]*$/;String.fromCharCode(65279);class t1{static getInstance(){return t1._INSTANCE||(t1._INSTANCE=new t1),t1._INSTANCE}constructor(){this._data=JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;let t=this._data,n=t.length/3,r=1;for(;r<=n;)if(et[3*r+1]))return t[3*r+2];r=2*r+1}return 0}}t1._INSTANCE=null;class t0{static getInstance(e){return t0.cache.get(Array.from(e))}static getLocales(){return t0._locales.value}constructor(e){this.confusableDictionary=e}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}t0.ambiguousCharacterData=new tG(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}')),t0.cache=new class{constructor(e){this.fn=e,this.lastCache=void 0,this.lastArgKey=void 0}get(e){let t=JSON.stringify(e);return this.lastArgKey!==t&&(this.lastArgKey=t,this.lastCache=this.fn(e)),this.lastCache}}(e=>{let t;function n(e){let t=new Map;for(let n=0;n!e.startsWith("_")&&e in r);for(let e of(0===i.length&&(i=["_default"]),i))t=function(e,t){if(!e)return t;let n=new Map;for(let[r,i]of e)t.has(r)&&n.set(r,i);return n}(t,n(r[e]));let o=function(e,t){let n=new Map(e);for(let[e,r]of t)n.set(e,r);return n}(n(r._common),t);return new t0(o)}),t0._locales=new tG(()=>Object.keys(t0.ambiguousCharacterData.value).filter(e=>!e.startsWith("_")));class t2{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return this._data||(this._data=new Set(t2.getRawData())),this._data}static isInvisibleCharacter(e){return t2.getData().has(e)}static get codePoints(){return t2.getData()}}t2._data=void 0;class t4{constructor(e,t,n,r){this.vsWorker=e,this.req=t,this.method=n,this.args=r,this.type=0}}class t5{constructor(e,t,n,r){this.vsWorker=e,this.seq=t,this.res=n,this.err=r,this.type=1}}class t7{constructor(e,t,n,r){this.vsWorker=e,this.req=t,this.eventName=n,this.arg=r,this.type=2}}class t9{constructor(e,t,n){this.vsWorker=e,this.req=t,this.event=n,this.type=3}}class t6{constructor(e,t){this.vsWorker=e,this.req=t,this.type=4}}class t8{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}sendMessage(e,t){let n=String(++this._lastSentReq);return new Promise((r,i)=>{this._pendingReplies[n]={resolve:r,reject:i},this._send(new t4(this._workerId,n,e,t))})}listen(e,t){let n=null,r=new tB({onWillAddFirstListener:()=>{n=String(++this._lastSentReq),this._pendingEmitters.set(n,r),this._send(new t7(this._workerId,n,e,t))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(n),this._send(new t6(this._workerId,n)),n=null}});return r.event}handleMessage(e){e&&e.vsWorker&&(-1===this._workerId||e.vsWorker===this._workerId)&&this._handleMessage(e)}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq]){console.warn("Got reply to unknown seq");return}let t=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let n=e.err;e.err.$isError&&((n=Error()).name=e.err.name,n.message=e.err.message,n.stack=e.err.stack),t.reject(n);return}t.resolve(e.res)}_handleRequestMessage(e){let t=e.req;this._handler.handleMessage(e.method,e.args).then(e=>{this._send(new t5(this._workerId,t,e,void 0))},e=>{e.detail instanceof Error&&(e.detail=s(e.detail)),this._send(new t5(this._workerId,t,void 0,s(e)))})}_handleSubscribeEventMessage(e){let t=e.req,n=this._handler.handleEvent(e.eventName,e.arg)(e=>{this._send(new t9(this._workerId,t,e))});this._pendingEvents.set(t,n)}_handleEventMessage(e){if(!this._pendingEmitters.has(e.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(e.req).fire(e.event)}_handleUnsubscribeEventMessage(e){if(!this._pendingEvents.has(e.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)}_send(e){let t=[];if(0===e.type)for(let n=0;n{e(t,n)},handleMessage:(e,t)=>this._handleMessage(e,t),handleEvent:(e,t)=>this._handleEvent(e,t)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,t){if("$initialize"===e)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(e){return Promise.reject(e)}}_handleEvent(e,t){if(!this._requestHandler)throw Error("Missing requestHandler");if(ne(e)){let n=this._requestHandler[e].call(this._requestHandler,t);if("function"!=typeof n)throw Error(`Missing dynamic event ${e} on request handler.`);return n}if(t3(e)){let t=this._requestHandler[e];if("function"!=typeof t)throw Error(`Missing event ${e} on request handler.`);return t}throw Error(`Malformed event name ${e}`)}initialize(e,t,n,r){this._protocol.setWorkerId(e);let i=function(e,t,n){let r=e=>function(){let n=Array.prototype.slice.call(arguments,0);return t(e,n)},i=e=>function(t){return n(e,t)},o={};for(let t of e){if(ne(t)){o[t]=i(t);continue}if(t3(t)){o[t]=n(t,void 0);continue}o[t]=r(t)}return o}(r,(e,t)=>this._protocol.sendMessage(e,t),(e,t)=>this._protocol.listen(e,t));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(i),Promise.resolve(tz(this._requestHandler))):(t&&(void 0!==t.baseUrl&&delete t.baseUrl,void 0!==t.paths&&void 0!==t.paths.vs&&delete t.paths.vs,t.trustedTypesPolicy,delete t.trustedTypesPolicy,t.catchError=!0,globalThis.require.config(t)),new Promise((e,t)=>{(0,globalThis.require)([n],n=>{if(this._requestHandler=n.create(i),!this._requestHandler){t(Error("No RequestHandler!"));return}e(tz(this._requestHandler))},t)}))}}class nn{constructor(e,t,n,r){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=r}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function nr(e,t,n=32){let r=n-t;return(e<>>r)>>>0}function ni(e,t=0,n=e.byteLength,r=0){for(let i=0;ie.toString(16).padStart(2,"0")).join(""):function(e,t,n="0"){for(;e.length>>0).toString(16),t/4)}class ns{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){let t,n;let r=e.length;if(0===r)return;let i=this._buff,o=this._buffLen,s=this._leftoverHighSurrogate;for(0!==s?(t=s,n=-1,s=0):(t=e.charCodeAt(0),n=0);;){let a=t;if(tX(t)){if(n+1>>6:(n<65536?e[t++]=224|(61440&n)>>>12:(e[t++]=240|(1835008&n)>>>18,e[t++]=128|(258048&n)>>>12),e[t++]=128|(4032&n)>>>6),e[t++]=128|(63&n)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),no(this._h0)+no(this._h1)+no(this._h2)+no(this._h3)+no(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,ni(this._buff,this._buffLen),this._buffLen>56&&(this._step(),ni(this._buff));let e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){let e,t,n;let r=ns._bigBlock32,i=this._buffDV;for(let e=0;e<64;e+=4)r.setUint32(e,i.getUint32(e,!1),!1);for(let e=64;e<320;e+=4)r.setUint32(e,nr(r.getUint32(e-12,!1)^r.getUint32(e-32,!1)^r.getUint32(e-56,!1)^r.getUint32(e-64,!1),1),!1);let o=this._h0,s=this._h1,a=this._h2,l=this._h3,u=this._h4;for(let i=0;i<80;i++)i<20?(e=s&a|~s&l,t=1518500249):i<40?(e=s^a^l,t=1859775393):i<60?(e=s&a|s&l|a&l,t=2400959708):(e=s^a^l,t=3395469782),n=nr(o,5)+e+u+t+r.getUint32(4*i,!1)&4294967295,u=l,l=a,a=nr(s,30),s=o,o=n;this._h0=this._h0+o&4294967295,this._h1=this._h1+s&4294967295,this._h2=this._h2+a&4294967295,this._h3=this._h3+l&4294967295,this._h4=this._h4+u&4294967295}}ns._bigBlock32=new DataView(new ArrayBuffer(320));class na{constructor(e){this.source=e}getElements(){let e=this.source,t=new Int32Array(e.length);for(let n=0,r=e.length;n0||this.m_modifiedCount>0)&&this.m_changes.push(new nn(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class nh{constructor(e,t,n=null){this.ContinueProcessingPredicate=n,this._originalSequence=e,this._modifiedSequence=t;let[r,i,o]=nh._getElements(e),[s,a,l]=nh._getElements(t);this._hasStrings=o&&l,this._originalStringElements=r,this._originalElementsOrHash=i,this._modifiedStringElements=s,this._modifiedElementsOrHash=a,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){let t=e.getElements();if(nh._isStringArray(t)){let e=new Int32Array(t.length);for(let n=0,r=t.length;n=e&&r>=n&&this.ElementsAreEqual(t,r);)t--,r--;if(e>t||n>r){let i;return n<=r?(nl.Assert(e===t+1,"originalStart should only be one more than originalEnd"),i=[new nn(e,0,n,r-n+1)]):e<=t?(nl.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),i=[new nn(e,t-e+1,n,0)]):(nl.Assert(e===t+1,"originalStart should only be one more than originalEnd"),nl.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),i=[]),i}let o=[0],s=[0],a=this.ComputeRecursionPoint(e,t,n,r,o,s,i),l=o[0],u=s[0];if(null!==a)return a;if(!i[0]){let o=this.ComputeDiffRecursive(e,l,n,u,i),s=[];return s=i[0]?[new nn(l+1,t-(l+1)+1,u+1,r-(u+1)+1)]:this.ComputeDiffRecursive(l+1,t,u+1,r,i),this.ConcatenateChanges(o,s)}return[new nn(e,t-e+1,n,r-n+1)]}WALKTRACE(e,t,n,r,i,o,s,a,l,u,c,h,d,f,m,g,p,v){let b=null,y=null,C=new nc,_=t,S=n,w=d[0]-g[0]-r,A=-1073741824,x=this.m_forwardHistory.length-1;do{let t=w+e;t===_||t=0&&(e=(l=this.m_forwardHistory[x])[0],_=1,S=l.length-1)}while(--x>=-1)if(b=C.getReverseChanges(),v[0]){let e=d[0]+1,t=g[0]+1;if(null!==b&&b.length>0){let n=b[b.length-1];e=Math.max(e,n.getOriginalEnd()),t=Math.max(t,n.getModifiedEnd())}y=[new nn(e,h-e+1,t,m-t+1)]}else{C=new nc,_=o,S=s,w=d[0]-g[0]-a,A=1073741824,x=p?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{let e=w+i;e===_||e=u[e+1]?(f=(c=u[e+1]-1)-w-a,c>A&&C.MarkNextChange(),A=c+1,C.AddOriginalElement(c+1,f+1),w=e+1-i):(f=(c=u[e-1])-w-a,c>A&&C.MarkNextChange(),A=c,C.AddModifiedElement(c+1,f+1),w=e-1-i),x>=0&&(i=(u=this.m_reverseHistory[x])[0],_=1,S=u.length-1)}while(--x>=-1)y=C.getChanges()}return this.ConcatenateChanges(b,y)}ComputeRecursionPoint(e,t,n,r,i,o,s){let a=0,l=0,u=0,c=0,h=0,d=0;e--,n--,i[0]=0,o[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];let f=t-e+(r-n),m=f+1,g=new Int32Array(m),p=new Int32Array(m),v=r-n,b=t-e,y=e-n,C=t-r,_=(b-v)%2==0;g[v]=e,p[b]=t,s[0]=!1;for(let S=1;S<=f/2+1;S++){let f=0,w=0;u=this.ClipDiagonalBound(v-S,S,v,m),c=this.ClipDiagonalBound(v+S,S,v,m);for(let e=u;e<=c;e+=2){l=(a=e===u||ef+w&&(f=a,w=l),!_&&Math.abs(e-b)<=S-1&&a>=p[e]){if(i[0]=a,o[0]=l,n<=p[e]&&S<=1448)return this.WALKTRACE(v,u,c,y,b,h,d,C,g,p,a,t,i,l,r,o,_,s);return null}}let A=(f-e+(w-n)-S)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(f,A)){if(s[0]=!0,i[0]=f,o[0]=w,!(A>0)||!(S<=1448))return e++,n++,[new nn(e,t-e+1,n,r-n+1)];break}h=this.ClipDiagonalBound(b-S,S,b,m),d=this.ClipDiagonalBound(b+S,S,b,m);for(let f=h;f<=d;f+=2){l=(a=f===h||f=p[f+1]?p[f+1]-1:p[f-1])-(f-b)-C;let m=a;for(;a>e&&l>n&&this.ElementsAreEqual(a,l);)a--,l--;if(p[f]=a,_&&Math.abs(f-v)<=S&&a<=g[f]){if(i[0]=a,o[0]=l,m>=g[f]&&S<=1448)return this.WALKTRACE(v,u,c,y,b,h,d,C,g,p,a,t,i,l,r,o,_,s);return null}}if(S<=1447){let e=new Int32Array(c-u+2);e[0]=v-u+1,nu.Copy2(g,u,e,1,c-u+1),this.m_forwardHistory.push(e),(e=new Int32Array(d-h+2))[0]=b-h+1,nu.Copy2(p,h,e,1,d-h+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(v,u,c,y,b,h,d,C,g,p,a,t,i,l,r,o,_,s)}PrettifyChanges(e){for(let t=0;t0,s=n.modifiedLength>0;for(;n.originalStart+n.originalLength=0;t--){let n=e[t],r=0,i=0;if(t>0){let n=e[t-1];r=n.originalStart+n.originalLength,i=n.modifiedStart+n.modifiedLength}let o=n.originalLength>0,s=n.modifiedLength>0,a=0,l=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let e=1;;e++){let t=n.originalStart-e,u=n.modifiedStart-e;if(tl&&(l=c,a=e)}n.originalStart-=a,n.modifiedStart-=a;let u=[null];if(t>0&&this.ChangesOverlap(e[t-1],e[t],u)){e[t-1]=u[0],e.splice(t,1),t++;continue}}if(this._hasStrings)for(let t=1,n=e.length;t0&&n>a&&(a=n,l=t,u=e)}return a>0?[l,u]:null}_contiguousSequenceScore(e,t,n){let r=0;for(let i=0;i=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){let n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){let n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(e,t,n,r){return(this._OriginalRegionIsBoundary(e,t)?1:0)+(this._ModifiedRegionIsBoundary(n,r)?1:0)}ConcatenateChanges(e,t){let n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){let r=Array(e.length+t.length-1);return nu.Copy(e,0,r,0,e.length-1),r[e.length-1]=n[0],nu.Copy(t,1,r,e.length,t.length-1),r}{let n=Array(e.length+t.length);return nu.Copy(e,0,n,0,e.length),nu.Copy(t,0,n,e.length,t.length),n}}ChangesOverlap(e,t,n){if(nl.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),nl.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),!(e.originalStart+e.originalLength>=t.originalStart)&&!(e.modifiedStart+e.modifiedLength>=t.modifiedStart))return n[0]=null,!1;{let r=e.originalStart,i=e.originalLength,o=e.modifiedStart,s=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(i=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(s=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new nn(r,i,o,s),!0}}ClipDiagonalBound(e,t,n,r){if(e>=0&&et.cwd()}}else e=void 0!==nd?{get platform(){return nd.platform},get arch(){return nd.arch},get env(){return nd.env},cwd:()=>nd.env.VSCODE_CWD||nd.cwd()}:{get platform(){return tO?"win32":tM?"darwin":"linux"},get arch(){return},get env(){return{}},cwd:()=>"/"};let nf=e.cwd,nm=e.env,ng=e.platform;class np extends Error{constructor(e,t,n){let r;"string"==typeof t&&0===t.indexOf("not ")?(r="must not be",t=t.replace(/^not /,"")):r="must be";let i=`The "${e}" ${-1!==e.indexOf(".")?"property":"argument"} ${r} of type ${t}`;super(i+=`. Received type ${typeof n}`),this.code="ERR_INVALID_ARG_TYPE"}}function nv(e,t){if("string"!=typeof e)throw new np(t,"string",e)}let nb="win32"===ng;function ny(e){return 47===e||92===e}function nC(e){return 47===e}function n_(e){return e>=65&&e<=90||e>=97&&e<=122}function nS(e,t,n,r){let i="",o=0,s=-1,a=0,l=0;for(let u=0;u<=e.length;++u){if(u2){let e=i.lastIndexOf(n);-1===e?(i="",o=0):o=(i=i.slice(0,e)).length-1-i.lastIndexOf(n),s=u,a=0;continue}if(0!==i.length){i="",o=0,s=u,a=0;continue}}t&&(i+=i.length>0?`${n}..`:"..",o=2)}else i.length>0?i+=`${n}${e.slice(s+1,u)}`:i=e.slice(s+1,u),o=u-s-1;s=u,a=0}else 46===l&&-1!==a?++a:a=-1}return i}function nw(e,t){!function(e,t){if(null===e||"object"!=typeof e)throw new np(t,"Object",e)}(t,"pathObject");let n=t.dir||t.root,r=t.base||`${t.name||""}${t.ext||""}`;return n?n===t.root?`${n}${r}`:`${n}${e}${r}`:r}let nA={resolve(...e){let t="",n="",r=!1;for(let i=e.length-1;i>=-1;i--){let o;if(i>=0){if(nv(o=e[i],"path"),0===o.length)continue}else 0===t.length?o=nf():(void 0===(o=nm[`=${t}`]||nf())||o.slice(0,2).toLowerCase()!==t.toLowerCase()&&92===o.charCodeAt(2))&&(o=`${t}\\`);let s=o.length,a=0,l="",u=!1,c=o.charCodeAt(0);if(1===s)ny(c)&&(a=1,u=!0);else if(ny(c)){if(u=!0,ny(o.charCodeAt(1))){let e=2,t=2;for(;e2&&ny(o.charCodeAt(2))&&(u=!0,a=3));if(l.length>0){if(t.length>0){if(l.toLowerCase()!==t.toLowerCase())continue}else t=l}if(r){if(t.length>0)break}else if(n=`${o.slice(a)}\\${n}`,r=u,u&&t.length>0)break}return n=nS(n,!r,"\\",ny),r?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){let t;nv(e,"path");let n=e.length;if(0===n)return".";let r=0,i=!1,o=e.charCodeAt(0);if(1===n)return nC(o)?"\\":e;if(ny(o)){if(i=!0,ny(e.charCodeAt(1))){let i=2,o=2;for(;i2&&ny(e.charCodeAt(2))&&(i=!0,r=3));let s=r0&&ny(e.charCodeAt(n-1))&&(s+="\\"),void 0===t)?i?`\\${s}`:s:i?`${t}\\${s}`:`${t}${s}`},isAbsolute(e){nv(e,"path");let t=e.length;if(0===t)return!1;let n=e.charCodeAt(0);return ny(n)||t>2&&n_(n)&&58===e.charCodeAt(1)&&ny(e.charCodeAt(2))},join(...e){let t,n;if(0===e.length)return".";for(let r=0;r0&&(void 0===t?t=n=i:t+=`\\${i}`)}if(void 0===t)return".";let r=!0,i=0;if("string"==typeof n&&ny(n.charCodeAt(0))){++i;let e=n.length;e>1&&ny(n.charCodeAt(1))&&(++i,e>2&&(ny(n.charCodeAt(2))?++i:r=!1))}if(r){for(;i=2&&(t=`\\${t.slice(i)}`)}return nA.normalize(t)},relative(e,t){if(nv(e,"from"),nv(t,"to"),e===t)return"";let n=nA.resolve(e),r=nA.resolve(t);if(n===r||(e=n.toLowerCase(),t=r.toLowerCase(),e===t))return"";let i=0;for(;ii&&92===e.charCodeAt(o-1);)o--;let s=o-i,a=0;for(;aa&&92===t.charCodeAt(l-1);)l--;let u=l-a,c=sc){if(92===t.charCodeAt(a+d))return r.slice(a+d+1);if(2===d)return r.slice(a+d)}s>c&&(92===e.charCodeAt(i+d)?h=d:2===d&&(h=3)),-1===h&&(h=0)}let f="";for(d=i+h+1;d<=o;++d)(d===o||92===e.charCodeAt(d))&&(f+=0===f.length?"..":"\\..");return(a+=h,f.length>0)?`${f}${r.slice(a,l)}`:(92===r.charCodeAt(a)&&++a,r.slice(a,l))},toNamespacedPath(e){if("string"!=typeof e||0===e.length)return e;let t=nA.resolve(e);if(t.length<=2)return e;if(92===t.charCodeAt(0)){if(92===t.charCodeAt(1)){let e=t.charCodeAt(2);if(63!==e&&46!==e)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(n_(t.charCodeAt(0))&&58===t.charCodeAt(1)&&92===t.charCodeAt(2))return`\\\\?\\${t}`;return e},dirname(e){nv(e,"path");let t=e.length;if(0===t)return".";let n=-1,r=0,i=e.charCodeAt(0);if(1===t)return ny(i)?e:".";if(ny(i)){if(n=r=1,ny(e.charCodeAt(1))){let i=2,o=2;for(;i2&&ny(e.charCodeAt(2))?3:2);let o=-1,s=!0;for(let n=t-1;n>=r;--n)if(ny(e.charCodeAt(n))){if(!s){o=n;break}}else s=!1;if(-1===o){if(-1===n)return".";o=n}return e.slice(0,o)},basename(e,t){let n;void 0!==t&&nv(t,"ext"),nv(e,"path");let r=0,i=-1,o=!0;if(e.length>=2&&n_(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(r=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let s=t.length-1,a=-1;for(n=e.length-1;n>=r;--n){let l=e.charCodeAt(n);if(ny(l)){if(!o){r=n+1;break}}else -1===a&&(o=!1,a=n+1),s>=0&&(l===t.charCodeAt(s)?-1==--s&&(i=n):(s=-1,i=a))}return r===i?i=a:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=r;--n)if(ny(e.charCodeAt(n))){if(!o){r=n+1;break}}else -1===i&&(o=!1,i=n+1);return -1===i?"":e.slice(r,i)},extname(e){nv(e,"path");let t=0,n=-1,r=0,i=-1,o=!0,s=0;e.length>=2&&58===e.charCodeAt(1)&&n_(e.charCodeAt(0))&&(t=r=2);for(let a=e.length-1;a>=t;--a){let t=e.charCodeAt(a);if(ny(t)){if(!o){r=a+1;break}continue}-1===i&&(o=!1,i=a+1),46===t?-1===n?n=a:1!==s&&(s=1):-1!==n&&(s=-1)}return -1===n||-1===i||0===s||1===s&&n===i-1&&n===r+1?"":e.slice(n,i)},format:nw.bind(null,"\\"),parse(e){nv(e,"path");let t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;let n=e.length,r=0,i=e.charCodeAt(0);if(1===n)return ny(i)?t.root=t.dir=e:t.base=t.name=e,t;if(ny(i)){if(r=1,ny(e.charCodeAt(1))){let t=2,i=2;for(;t0&&(t.root=e.slice(0,r));let o=-1,s=r,a=-1,l=!0,u=e.length-1,c=0;for(;u>=r;--u){if(ny(i=e.charCodeAt(u))){if(!l){s=u+1;break}continue}-1===a&&(l=!1,a=u+1),46===i?-1===o?o=u:1!==c&&(c=1):-1!==o&&(c=-1)}return -1!==a&&(-1===o||0===c||1===c&&o===a-1&&o===s+1?t.base=t.name=e.slice(s,a):(t.name=e.slice(s,o),t.base=e.slice(s,a),t.ext=e.slice(o,a))),s>0&&s!==r?t.dir=e.slice(0,s-1):t.dir=t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},nx=(()=>{if(nb){let e=/\\/g;return()=>{let t=nf().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>nf()})(),nE={resolve(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){let i=r>=0?e[r]:nx();nv(i,"path"),0!==i.length&&(t=`${i}/${t}`,n=47===i.charCodeAt(0))}return(t=nS(t,!n,"/",nC),n)?`/${t}`:t.length>0?t:"."},normalize(e){if(nv(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);return 0===(e=nS(e,!t,"/",nC)).length?t?"/":n?"./":".":(n&&(e+="/"),t?`/${e}`:e)},isAbsolute:e=>(nv(e,"path"),e.length>0&&47===e.charCodeAt(0)),join(...e){let t;if(0===e.length)return".";for(let n=0;n0&&(void 0===t?t=r:t+=`/${r}`)}return void 0===t?".":nE.normalize(t)},relative(e,t){if(nv(e,"from"),nv(t,"to"),e===t||(e=nE.resolve(e),t=nE.resolve(t),e===t))return"";let n=e.length,r=n-1,i=t.length-1,o=ro){if(47===t.charCodeAt(1+a))return t.slice(1+a+1);if(0===a)return t.slice(1+a)}else r>o&&(47===e.charCodeAt(1+a)?s=a:0===a&&(s=0))}let l="";for(a=1+s+1;a<=n;++a)(a===n||47===e.charCodeAt(a))&&(l+=0===l.length?"..":"/..");return`${l}${t.slice(1+s)}`},toNamespacedPath:e=>e,dirname(e){if(nv(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),n=-1,r=!0;for(let t=e.length-1;t>=1;--t)if(47===e.charCodeAt(t)){if(!r){n=t;break}}else r=!1;return -1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)},basename(e,t){let n;void 0!==t&&nv(t,"ext"),nv(e,"path");let r=0,i=-1,o=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let s=t.length-1,a=-1;for(n=e.length-1;n>=0;--n){let l=e.charCodeAt(n);if(47===l){if(!o){r=n+1;break}}else -1===a&&(o=!1,a=n+1),s>=0&&(l===t.charCodeAt(s)?-1==--s&&(i=n):(s=-1,i=a))}return r===i?i=a:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!o){r=n+1;break}}else -1===i&&(o=!1,i=n+1);return -1===i?"":e.slice(r,i)},extname(e){nv(e,"path");let t=-1,n=0,r=-1,i=!0,o=0;for(let s=e.length-1;s>=0;--s){let a=e.charCodeAt(s);if(47===a){if(!i){n=s+1;break}continue}-1===r&&(i=!1,r=s+1),46===a?-1===t?t=s:1!==o&&(o=1):-1!==t&&(o=-1)}return -1===t||-1===r||0===o||1===o&&t===r-1&&t===n+1?"":e.slice(t,r)},format:nw.bind(null,"/"),parse(e){let t;nv(e,"path");let n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;let r=47===e.charCodeAt(0);r?(n.root="/",t=1):t=0;let i=-1,o=0,s=-1,a=!0,l=e.length-1,u=0;for(;l>=t;--l){let t=e.charCodeAt(l);if(47===t){if(!a){o=l+1;break}continue}-1===s&&(a=!1,s=l+1),46===t?-1===i?i=l:1!==u&&(u=1):-1!==i&&(u=-1)}if(-1!==s){let t=0===o&&r?1:o;-1===i||0===u||1===u&&i===s-1&&i===o+1?n.base=n.name=e.slice(t,s):(n.name=e.slice(t,i),n.base=e.slice(t,s),n.ext=e.slice(i,s))}return o>0?n.dir=e.slice(0,o-1):r&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};nE.win32=nA.win32=nA,nE.posix=nA.posix=nE,nb?nA.normalize:nE.normalize,nb?nA.resolve:nE.resolve,nb?nA.relative:nE.relative,nb?nA.dirname:nE.dirname,nb?nA.basename:nE.basename,nb?nA.extname:nE.extname,nb?nA.sep:nE.sep;let nL=/^\w[\w\d+.-]*$/,nN=/^\//,nk=/^\/\//;function nT(e,t){if(!e.scheme&&t)throw Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!nL.test(e.scheme))throw Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!nN.test(e.path))throw Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(nk.test(e.path))throw Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}let nR=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class nO{static isUri(e){return e instanceof nO||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString}constructor(e,t,n,r,i,o=!1){"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=function(e,t){return e||t?e:"file"}(e,o),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?"/"!==t[0]&&(t="/"+t):t="/"}return t}(this.scheme,n||""),this.query=r||"",this.fragment=i||"",nT(this,o))}get fsPath(){return nD(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:r,query:i,fragment:o}=e;return(void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===r?r=this.path:null===r&&(r=""),void 0===i?i=this.query:null===i&&(i=""),void 0===o?o=this.fragment:null===o&&(o=""),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&o===this.fragment)?this:new nI(t,n,r,i,o)}static parse(e,t=!1){let n=nR.exec(e);return n?new nI(n[2]||"",nq(n[4]||""),nq(n[5]||""),nq(n[7]||""),nq(n[9]||""),t):new nI("","","","","")}static file(e){let t="";if(tO&&(e=e.replace(/\\/g,"/")),"/"===e[0]&&"/"===e[1]){let n=e.indexOf("/",2);-1===n?(t=e.substring(2),e="/"):(t=e.substring(2,n),e=e.substring(n)||"/")}return new nI("file",t,e,"","")}static from(e){let t=new nI(e.scheme,e.authority,e.path,e.query,e.fragment);return nT(t,!0),t}static joinPath(e,...t){let n;if(!e.path)throw Error("[UriError]: cannot call joinPath on URI without path");return n=tO&&"file"===e.scheme?nO.file(nA.join(nD(e,!0),...t)).path:nE.join(e.path,...t),e.with({path:n})}toString(e=!1){return nK(this,e)}toJSON(){return this}static revive(e){if(!e||e instanceof nO)return e;{let t=new nI(e);return t._formatted=e.external,t._fsPath=e._sep===nM?e.fsPath:null,t}}}let nM=tO?1:void 0;class nI extends nO{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=nD(this,!1)),this._fsPath}toString(e=!1){return e?nK(this,!0):(this._formatted||(this._formatted=nK(this,!1)),this._formatted)}toJSON(){let e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=nM),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}let nP={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function nV(e,t,n){let r;let i=-1;for(let o=0;o=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||45===s||46===s||95===s||126===s||t&&47===s||n&&91===s||n&&93===s||n&&58===s)-1!==i&&(r+=encodeURIComponent(e.substring(i,o)),i=-1),void 0!==r&&(r+=e.charAt(o));else{void 0===r&&(r=e.substr(0,o));let t=nP[s];void 0!==t?(-1!==i&&(r+=encodeURIComponent(e.substring(i,o)),i=-1),r+=t):-1===i&&(i=o)}}return -1!==i&&(r+=encodeURIComponent(e.substring(i))),void 0!==r?r:e}function nF(e){let t;for(let n=0;n1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&90>=e.path.charCodeAt(1)||e.path.charCodeAt(1)>=97&&122>=e.path.charCodeAt(1))&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,tO&&(n=n.replace(/\//g,"\\")),n}function nK(e,t){let n=t?nF:nV,r="",{scheme:i,authority:o,path:s,query:a,fragment:l}=e;if(i&&(r+=i+":"),(o||"file"===i)&&(r+="//"),o){let e=o.indexOf("@");if(-1!==e){let t=o.substr(0,e);o=o.substr(e+1),-1===(e=t.lastIndexOf(":"))?r+=n(t,!1,!1):r+=n(t.substr(0,e),!1,!1)+":"+n(t.substr(e+1),!1,!0),r+="@"}-1===(e=(o=o.toLowerCase()).lastIndexOf(":"))?r+=n(o,!1,!0):r+=n(o.substr(0,e),!1,!0)+o.substr(e)}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2)){let e=s.charCodeAt(1);e>=65&&e<=90&&(s=`/${String.fromCharCode(e+32)}:${s.substr(3)}`)}else if(s.length>=2&&58===s.charCodeAt(1)){let e=s.charCodeAt(0);e>=65&&e<=90&&(s=`${String.fromCharCode(e+32)}:${s.substr(2)}`)}r+=n(s,!0,!1)}return a&&(r+="?"+n(a,!1,!1)),l&&(r+="#"+(t?l:nV(l,!1,!1))),r}let nj=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function nq(e){return e.match(nj)?e.replace(nj,e=>(function e(t){try{return decodeURIComponent(t)}catch(n){if(t.length>3)return t.substr(0,3)+e(t.substr(3));return t}})(e)):e}class nU{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new nU(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return nU.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return nU.isBefore(this,e)}static isBefore(e,t){return e.lineNumbern||e===n&&t>r?(this.startLineNumber=n,this.startColumn=r,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=r)}isEmpty(){return nB.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return nB.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.columne.endColumn))}static strictContainsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.column<=e.startColumn))&&(t.lineNumber!==e.endLineNumber||!(t.column>=e.endColumn))}containsRange(e){return nB.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumne.endColumn))}strictContainsRange(e){return nB.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumn<=e.startColumn))&&(t.endLineNumber!==e.endLineNumber||!(t.endColumn>=e.endColumn))}plusRange(e){return nB.plusRange(this,e)}static plusRange(e,t){let n,r,i,o;return t.startLineNumbere.endLineNumber?(i=t.endLineNumber,o=t.endColumn):t.endLineNumber===e.endLineNumber?(i=t.endLineNumber,o=Math.max(t.endColumn,e.endColumn)):(i=e.endLineNumber,o=e.endColumn),new nB(n,r,i,o)}intersectRanges(e){return nB.intersectRanges(this,e)}static intersectRanges(e,t){let n=e.startLineNumber,r=e.startColumn,i=e.endLineNumber,o=e.endColumn,s=t.startLineNumber,a=t.startColumn,l=t.endLineNumber,u=t.endColumn;return(nl?(i=l,o=u):i===l&&(o=Math.min(o,u)),n>i||n===i&&r>o)?null:new nB(n,r,i,o)}equalsRange(e){return nB.equalsRange(this,e)}static equalsRange(e,t){return!e&&!t||!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return nB.getEndPosition(this)}static getEndPosition(e){return new nU(e.endLineNumber,e.endColumn)}getStartPosition(){return nB.getStartPosition(this)}static getStartPosition(e){return new nU(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new nB(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new nB(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return nB.collapseToStart(this)}static collapseToStart(e){return new nB(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}collapseToEnd(){return nB.collapseToEnd(this)}static collapseToEnd(e){return new nB(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn)}delta(e){return new nB(this.startLineNumber+e,this.startColumn,this.endLineNumber+e,this.endColumn)}static fromPositions(e,t=e){return new nB(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new nB(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumbere.startLineNumber}toJSON(){return this}}!function(e){e.isLessThan=function(e){return e<0},e.isGreaterThan=function(e){return e>0},e.isNeitherLessOrGreaterThan=function(e){return 0===e},e.greaterThan=1,e.lessThan=-1,e.neitherLessOrGreaterThan=0}(S||(S={}));class n${constructor(e){this.iterate=e}toArray(){let e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(e){return new n$(t=>this.iterate(n=>!e(n)||t(n)))}map(e){return new n$(t=>this.iterate(n=>t(e(n))))}findLast(e){let t;return this.iterate(n=>(e(n)&&(t=n),!0)),t}findLastMaxBy(e){let t;let n=!0;return this.iterate(r=>((n||S.isGreaterThan(e(r,t)))&&(n=!1,t=r),!0)),t}}function nW(e){return e<0?0:e>255?255:0|e}function nH(e){return e<0?0:e>4294967295?4294967295:0|e}n$.empty=new n$(e=>{});class nz{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=nH(e);let n=this.values,r=this.prefixSum,i=t.length;return 0!==i&&(this.values=new Uint32Array(n.length+i),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e),e+i),this.values.set(t,e),e-1=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,t){return e=nH(e),t=nH(t),this.values[e]!==t&&(this.values[e]=t,e-1=n.length)return!1;let i=n.length-e;return t>=i&&(t=i),0!==t&&(this.values=new Uint32Array(n.length-t),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return 0===this.values.length?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=nH(e),this._getPrefixSum(e))}_getPrefixSum(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let n=t;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let t=0,n=this.values.length-1,r=0,i=0,o=0;for(;t<=n;)if(r=t+(n-t)/2|0,o=(i=this.prefixSum[r])-this.values[r],e=i)t=r+1;else break;return new nG(r,e-o)}}class nG{constructor(e,t){this.index=e,this.remainder=t,this._prefixSumIndexOfResultBrand=void 0,this.index=e,this.remainder=t}}class nJ{constructor(e,t,n,r){this._uri=e,this._lines=t,this._eol=n,this._versionId=r,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){for(let t of(e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null),e.changes))this._acceptDeleteRange(t.range),this._acceptInsertText(new nU(t.range.startLineNumber,t.range.startColumn),t.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){let e=this._eol.length,t=this._lines.length,n=new Uint32Array(t);for(let r=0;r/?")e.indexOf(n)>=0||(t+="\\"+n);return RegExp(t+="\\s]+)","g")}(),nZ=new v;function nY(e,t,n,r,i){if(i||(i=y.first(nZ)),n.length>i.maxLen){let o=e-i.maxLen/2;return o<0?o=0:r+=o,n=n.substring(o,e+i.maxLen/2),nY(e,t,n,r,i)}let o=Date.now(),s=e-1-r,a=-1,l=null;for(let e=1;!(Date.now()-o>=i.timeBudget);e++){let r=s-i.windowSize*e;t.lastIndex=Math.max(0,r);let o=function(e,t,n,r){let i;for(;i=e.exec(t);){let t=i.index||0;if(t<=n&&e.lastIndex>=n)return i;if(r>0&&t>r)break}return null}(t,n,s,a);if(!o&&l||(l=o,r<=0))break;a=r}if(l){let e={word:l[0],startColumn:r+1+l.index,endColumn:r+1+l.index+l[0].length};return t.lastIndex=0,e}return null}nZ.unshift({maxLen:1e3,windowSize:15,timeBudget:150});class nQ{constructor(e){let t=nW(e);this._defaultValue=t,this._asciiMap=nQ._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){let t=new Uint8Array(256);return t.fill(e),t}set(e,t){let n=nW(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class n1{constructor(e,t,n){let r=new Uint8Array(e*t);for(let i=0,o=e*t;it&&(t=o),i>n&&(n=i),s>n&&(n=s)}t++,n++;let r=new n1(n,t,0);for(let t=0,n=e.length;t=this._maxCharCode?0:this._states.get(e,t)}}let n2=null;function n4(){return null===n2&&(n2=new n0([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),n2}let n5=null;class n7{static _createLink(e,t,n,r,i){let o=i-1;do{let n=t.charCodeAt(o);if(2!==e.get(n))break;o--}while(o>r)if(r>0){let e=t.charCodeAt(r-1),n=t.charCodeAt(o);(40===e&&41===n||91===e&&93===n||123===e&&125===n)&&o--}return{range:{startLineNumber:n,startColumn:r+1,endLineNumber:n,endColumn:o+2},url:t.substring(r,o+1)}}static computeLinks(e,t=n4()){let n=function(){if(null===n5){n5=new nQ(0);let e=" <>'\"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…";for(let t=0;t=0?((r+=n?1:-1)<0?r=e.length-1:r%=e.length,e[r]):null}}n9.INSTANCE=new n9;let n6=Object.freeze(function(e,t){let n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}});!function(e){e.isCancellationToken=function(t){return t===e.None||t===e.Cancelled||t instanceof n8||!!t&&"object"==typeof t&&"boolean"==typeof t.isCancellationRequested&&"function"==typeof t.onCancellationRequested},e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:_.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:n6})}(w||(w={}));class n8{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){!this._isCancelled&&(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?n6:(this._emitter||(this._emitter=new tB),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class n3{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}let re=new n3,rt=new n3,rn=new n3,rr=Array(230),ri={},ro=[],rs=Object.create(null),ra=Object.create(null),rl=[],ru=[];for(let e=0;e<=193;e++)rl[e]=-1;for(let e=0;e<=132;e++)ru[e]=-1;(function(){let e=[],t=[];for(let n of[[1,0,"None",0,"unknown",0,"VK_UNKNOWN","",""],[1,1,"Hyper",0,"",0,"","",""],[1,2,"Super",0,"",0,"","",""],[1,3,"Fn",0,"",0,"","",""],[1,4,"FnLock",0,"",0,"","",""],[1,5,"Suspend",0,"",0,"","",""],[1,6,"Resume",0,"",0,"","",""],[1,7,"Turbo",0,"",0,"","",""],[1,8,"Sleep",0,"",0,"VK_SLEEP","",""],[1,9,"WakeUp",0,"",0,"","",""],[0,10,"KeyA",31,"A",65,"VK_A","",""],[0,11,"KeyB",32,"B",66,"VK_B","",""],[0,12,"KeyC",33,"C",67,"VK_C","",""],[0,13,"KeyD",34,"D",68,"VK_D","",""],[0,14,"KeyE",35,"E",69,"VK_E","",""],[0,15,"KeyF",36,"F",70,"VK_F","",""],[0,16,"KeyG",37,"G",71,"VK_G","",""],[0,17,"KeyH",38,"H",72,"VK_H","",""],[0,18,"KeyI",39,"I",73,"VK_I","",""],[0,19,"KeyJ",40,"J",74,"VK_J","",""],[0,20,"KeyK",41,"K",75,"VK_K","",""],[0,21,"KeyL",42,"L",76,"VK_L","",""],[0,22,"KeyM",43,"M",77,"VK_M","",""],[0,23,"KeyN",44,"N",78,"VK_N","",""],[0,24,"KeyO",45,"O",79,"VK_O","",""],[0,25,"KeyP",46,"P",80,"VK_P","",""],[0,26,"KeyQ",47,"Q",81,"VK_Q","",""],[0,27,"KeyR",48,"R",82,"VK_R","",""],[0,28,"KeyS",49,"S",83,"VK_S","",""],[0,29,"KeyT",50,"T",84,"VK_T","",""],[0,30,"KeyU",51,"U",85,"VK_U","",""],[0,31,"KeyV",52,"V",86,"VK_V","",""],[0,32,"KeyW",53,"W",87,"VK_W","",""],[0,33,"KeyX",54,"X",88,"VK_X","",""],[0,34,"KeyY",55,"Y",89,"VK_Y","",""],[0,35,"KeyZ",56,"Z",90,"VK_Z","",""],[0,36,"Digit1",22,"1",49,"VK_1","",""],[0,37,"Digit2",23,"2",50,"VK_2","",""],[0,38,"Digit3",24,"3",51,"VK_3","",""],[0,39,"Digit4",25,"4",52,"VK_4","",""],[0,40,"Digit5",26,"5",53,"VK_5","",""],[0,41,"Digit6",27,"6",54,"VK_6","",""],[0,42,"Digit7",28,"7",55,"VK_7","",""],[0,43,"Digit8",29,"8",56,"VK_8","",""],[0,44,"Digit9",30,"9",57,"VK_9","",""],[0,45,"Digit0",21,"0",48,"VK_0","",""],[1,46,"Enter",3,"Enter",13,"VK_RETURN","",""],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE","",""],[1,48,"Backspace",1,"Backspace",8,"VK_BACK","",""],[1,49,"Tab",2,"Tab",9,"VK_TAB","",""],[1,50,"Space",10,"Space",32,"VK_SPACE","",""],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,"",0,"","",""],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL","",""],[1,64,"F1",59,"F1",112,"VK_F1","",""],[1,65,"F2",60,"F2",113,"VK_F2","",""],[1,66,"F3",61,"F3",114,"VK_F3","",""],[1,67,"F4",62,"F4",115,"VK_F4","",""],[1,68,"F5",63,"F5",116,"VK_F5","",""],[1,69,"F6",64,"F6",117,"VK_F6","",""],[1,70,"F7",65,"F7",118,"VK_F7","",""],[1,71,"F8",66,"F8",119,"VK_F8","",""],[1,72,"F9",67,"F9",120,"VK_F9","",""],[1,73,"F10",68,"F10",121,"VK_F10","",""],[1,74,"F11",69,"F11",122,"VK_F11","",""],[1,75,"F12",70,"F12",123,"VK_F12","",""],[1,76,"PrintScreen",0,"",0,"","",""],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL","",""],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE","",""],[1,79,"Insert",19,"Insert",45,"VK_INSERT","",""],[1,80,"Home",14,"Home",36,"VK_HOME","",""],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR","",""],[1,82,"Delete",20,"Delete",46,"VK_DELETE","",""],[1,83,"End",13,"End",35,"VK_END","",""],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT","",""],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",""],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",""],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",""],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",""],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK","",""],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE","",""],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY","",""],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT","",""],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD","",""],[1,94,"NumpadEnter",3,"",0,"","",""],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1","",""],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2","",""],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3","",""],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4","",""],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5","",""],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6","",""],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7","",""],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8","",""],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9","",""],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0","",""],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL","",""],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102","",""],[1,107,"ContextMenu",58,"ContextMenu",93,"","",""],[1,108,"Power",0,"",0,"","",""],[1,109,"NumpadEqual",0,"",0,"","",""],[1,110,"F13",71,"F13",124,"VK_F13","",""],[1,111,"F14",72,"F14",125,"VK_F14","",""],[1,112,"F15",73,"F15",126,"VK_F15","",""],[1,113,"F16",74,"F16",127,"VK_F16","",""],[1,114,"F17",75,"F17",128,"VK_F17","",""],[1,115,"F18",76,"F18",129,"VK_F18","",""],[1,116,"F19",77,"F19",130,"VK_F19","",""],[1,117,"F20",78,"F20",0,"VK_F20","",""],[1,118,"F21",79,"F21",0,"VK_F21","",""],[1,119,"F22",80,"F22",0,"VK_F22","",""],[1,120,"F23",81,"F23",0,"VK_F23","",""],[1,121,"F24",82,"F24",0,"VK_F24","",""],[1,122,"Open",0,"",0,"","",""],[1,123,"Help",0,"",0,"","",""],[1,124,"Select",0,"",0,"","",""],[1,125,"Again",0,"",0,"","",""],[1,126,"Undo",0,"",0,"","",""],[1,127,"Cut",0,"",0,"","",""],[1,128,"Copy",0,"",0,"","",""],[1,129,"Paste",0,"",0,"","",""],[1,130,"Find",0,"",0,"","",""],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE","",""],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP","",""],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN","",""],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR","",""],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1","",""],[1,136,"KanaMode",0,"",0,"","",""],[0,137,"IntlYen",0,"",0,"","",""],[1,138,"Convert",0,"",0,"","",""],[1,139,"NonConvert",0,"",0,"","",""],[1,140,"Lang1",0,"",0,"","",""],[1,141,"Lang2",0,"",0,"","",""],[1,142,"Lang3",0,"",0,"","",""],[1,143,"Lang4",0,"",0,"","",""],[1,144,"Lang5",0,"",0,"","",""],[1,145,"Abort",0,"",0,"","",""],[1,146,"Props",0,"",0,"","",""],[1,147,"NumpadParenLeft",0,"",0,"","",""],[1,148,"NumpadParenRight",0,"",0,"","",""],[1,149,"NumpadBackspace",0,"",0,"","",""],[1,150,"NumpadMemoryStore",0,"",0,"","",""],[1,151,"NumpadMemoryRecall",0,"",0,"","",""],[1,152,"NumpadMemoryClear",0,"",0,"","",""],[1,153,"NumpadMemoryAdd",0,"",0,"","",""],[1,154,"NumpadMemorySubtract",0,"",0,"","",""],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR","",""],[1,156,"NumpadClearEntry",0,"",0,"","",""],[1,0,"",5,"Ctrl",17,"VK_CONTROL","",""],[1,0,"",4,"Shift",16,"VK_SHIFT","",""],[1,0,"",6,"Alt",18,"VK_MENU","",""],[1,0,"",57,"Meta",91,"VK_COMMAND","",""],[1,157,"ControlLeft",5,"",0,"VK_LCONTROL","",""],[1,158,"ShiftLeft",4,"",0,"VK_LSHIFT","",""],[1,159,"AltLeft",6,"",0,"VK_LMENU","",""],[1,160,"MetaLeft",57,"",0,"VK_LWIN","",""],[1,161,"ControlRight",5,"",0,"VK_RCONTROL","",""],[1,162,"ShiftRight",4,"",0,"VK_RSHIFT","",""],[1,163,"AltRight",6,"",0,"VK_RMENU","",""],[1,164,"MetaRight",57,"",0,"VK_RWIN","",""],[1,165,"BrightnessUp",0,"",0,"","",""],[1,166,"BrightnessDown",0,"",0,"","",""],[1,167,"MediaPlay",0,"",0,"","",""],[1,168,"MediaRecord",0,"",0,"","",""],[1,169,"MediaFastForward",0,"",0,"","",""],[1,170,"MediaRewind",0,"",0,"","",""],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK","",""],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK","",""],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP","",""],[1,174,"Eject",0,"",0,"","",""],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE","",""],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT","",""],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL","",""],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2","",""],[1,179,"LaunchApp1",0,"",0,"VK_MEDIA_LAUNCH_APP1","",""],[1,180,"SelectTask",0,"",0,"","",""],[1,181,"LaunchScreenSaver",0,"",0,"","",""],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH","",""],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME","",""],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK","",""],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD","",""],[1,186,"BrowserStop",0,"",0,"VK_BROWSER_STOP","",""],[1,187,"BrowserRefresh",0,"",0,"VK_BROWSER_REFRESH","",""],[1,188,"BrowserFavorites",0,"",0,"VK_BROWSER_FAVORITES","",""],[1,189,"ZoomToggle",0,"",0,"","",""],[1,190,"MailReply",0,"",0,"","",""],[1,191,"MailForward",0,"",0,"","",""],[1,192,"MailSend",0,"",0,"","",""],[1,0,"",114,"KeyInComposition",229,"","",""],[1,0,"",116,"ABNT_C2",194,"VK_ABNT_C2","",""],[1,0,"",96,"OEM_8",223,"VK_OEM_8","",""],[1,0,"",0,"",0,"VK_KANA","",""],[1,0,"",0,"",0,"VK_HANGUL","",""],[1,0,"",0,"",0,"VK_JUNJA","",""],[1,0,"",0,"",0,"VK_FINAL","",""],[1,0,"",0,"",0,"VK_HANJA","",""],[1,0,"",0,"",0,"VK_KANJI","",""],[1,0,"",0,"",0,"VK_CONVERT","",""],[1,0,"",0,"",0,"VK_NONCONVERT","",""],[1,0,"",0,"",0,"VK_ACCEPT","",""],[1,0,"",0,"",0,"VK_MODECHANGE","",""],[1,0,"",0,"",0,"VK_SELECT","",""],[1,0,"",0,"",0,"VK_PRINT","",""],[1,0,"",0,"",0,"VK_EXECUTE","",""],[1,0,"",0,"",0,"VK_SNAPSHOT","",""],[1,0,"",0,"",0,"VK_HELP","",""],[1,0,"",0,"",0,"VK_APPS","",""],[1,0,"",0,"",0,"VK_PROCESSKEY","",""],[1,0,"",0,"",0,"VK_PACKET","",""],[1,0,"",0,"",0,"VK_DBE_SBCSCHAR","",""],[1,0,"",0,"",0,"VK_DBE_DBCSCHAR","",""],[1,0,"",0,"",0,"VK_ATTN","",""],[1,0,"",0,"",0,"VK_CRSEL","",""],[1,0,"",0,"",0,"VK_EXSEL","",""],[1,0,"",0,"",0,"VK_EREOF","",""],[1,0,"",0,"",0,"VK_PLAY","",""],[1,0,"",0,"",0,"VK_ZOOM","",""],[1,0,"",0,"",0,"VK_NONAME","",""],[1,0,"",0,"",0,"VK_PA1","",""],[1,0,"",0,"",0,"VK_OEM_CLEAR","",""]]){let[r,i,o,s,a,l,u,c,h]=n;if(!t[i]&&(t[i]=!0,ro[i]=o,rs[o]=i,ra[o.toLowerCase()]=i,r&&(rl[i]=s,0!==s&&3!==s&&5!==s&&4!==s&&6!==s&&57!==s&&(ru[s]=i))),!e[s]){if(e[s]=!0,!a)throw Error(`String representation missing for key code ${s} around scan code ${o}`);re.define(s,a),rt.define(s,c||a),rn.define(s,h||c||a)}l&&(rr[l]=s),u&&(ri[u]=s)}ru[3]=46})(),function(e){e.toString=function(e){return re.keyCodeToStr(e)},e.fromString=function(e){return re.strToKeyCode(e)},e.toUserSettingsUS=function(e){return rt.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return rn.keyCodeToStr(e)},e.fromUserSettings=function(e){return rt.strToKeyCode(e)||rn.strToKeyCode(e)},e.toElectronAccelerator=function(e){if(e>=98&&e<=113)return null;switch(e){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return re.keyCodeToStr(e)}}(A||(A={}));class rc extends nB{constructor(e,t,n,r){super(e,t,n,r),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=n,this.positionColumn=r}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return rc.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new rc(this.startLineNumber,this.startColumn,e,t):new rc(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new nU(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new nU(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,t){return 0===this.getDirection()?new rc(e,t,this.endLineNumber,this.endColumn):new rc(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new rc(e.lineNumber,e.column,t.lineNumber,t.column)}static fromRange(e,t){return 0===t?new rc(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new rc(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new rc(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let n=0,r=e.length;n{this._tokenizationSupports.get(e)===t&&(this._tokenizationSupports.delete(e),this.handleChange([e]))})}get(e){return this._tokenizationSupports.get(e)||null}registerFactory(e,t){var n;null===(n=this._factories.get(e))||void 0===n||n.dispose();let r=new rg(this,e,t);return this._factories.set(e,r),d(()=>{let t=this._factories.get(e);t&&t===r&&(this._factories.delete(e),t.dispose())})}getOrCreate(e){return rm(this,void 0,void 0,function*(){let t=this.get(e);if(t)return t;let n=this._factories.get(e);return!n||n.isResolved?null:(yield n.resolve(),this.get(e))})}isResolved(e){if(this.get(e))return!0;let t=this._factories.get(e);return!t||!!t.isResolved}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}},function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"}(O||(O={})),function(e){e[e.Invoke=1]="Invoke",e[e.Auto=2]="Auto"}(M||(M={})),function(e){e[e.None=0]="None",e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"}(I||(I={})),function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.User=25]="User",e[e.Issue=26]="Issue",e[e.Snippet=27]="Snippet"}(P||(P={})),function(e){e[e.Deprecated=1]="Deprecated"}(V||(V={})),function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"}(F||(F={})),function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"}(D||(D={})),function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"}(K||(K={})),function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(j||(j={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(q||(q={})),function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"}(U||(U={})),function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.autoClosingBrackets=5]="autoClosingBrackets",e[e.screenReaderAnnounceInlineSuggestion=6]="screenReaderAnnounceInlineSuggestion",e[e.autoClosingDelete=7]="autoClosingDelete",e[e.autoClosingOvertype=8]="autoClosingOvertype",e[e.autoClosingQuotes=9]="autoClosingQuotes",e[e.autoIndent=10]="autoIndent",e[e.automaticLayout=11]="automaticLayout",e[e.autoSurround=12]="autoSurround",e[e.bracketPairColorization=13]="bracketPairColorization",e[e.guides=14]="guides",e[e.codeLens=15]="codeLens",e[e.codeLensFontFamily=16]="codeLensFontFamily",e[e.codeLensFontSize=17]="codeLensFontSize",e[e.colorDecorators=18]="colorDecorators",e[e.colorDecoratorsLimit=19]="colorDecoratorsLimit",e[e.columnSelection=20]="columnSelection",e[e.comments=21]="comments",e[e.contextmenu=22]="contextmenu",e[e.copyWithSyntaxHighlighting=23]="copyWithSyntaxHighlighting",e[e.cursorBlinking=24]="cursorBlinking",e[e.cursorSmoothCaretAnimation=25]="cursorSmoothCaretAnimation",e[e.cursorStyle=26]="cursorStyle",e[e.cursorSurroundingLines=27]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=28]="cursorSurroundingLinesStyle",e[e.cursorWidth=29]="cursorWidth",e[e.disableLayerHinting=30]="disableLayerHinting",e[e.disableMonospaceOptimizations=31]="disableMonospaceOptimizations",e[e.domReadOnly=32]="domReadOnly",e[e.dragAndDrop=33]="dragAndDrop",e[e.dropIntoEditor=34]="dropIntoEditor",e[e.emptySelectionClipboard=35]="emptySelectionClipboard",e[e.experimentalWhitespaceRendering=36]="experimentalWhitespaceRendering",e[e.extraEditorClassName=37]="extraEditorClassName",e[e.fastScrollSensitivity=38]="fastScrollSensitivity",e[e.find=39]="find",e[e.fixedOverflowWidgets=40]="fixedOverflowWidgets",e[e.folding=41]="folding",e[e.foldingStrategy=42]="foldingStrategy",e[e.foldingHighlight=43]="foldingHighlight",e[e.foldingImportsByDefault=44]="foldingImportsByDefault",e[e.foldingMaximumRegions=45]="foldingMaximumRegions",e[e.unfoldOnClickAfterEndOfLine=46]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=47]="fontFamily",e[e.fontInfo=48]="fontInfo",e[e.fontLigatures=49]="fontLigatures",e[e.fontSize=50]="fontSize",e[e.fontWeight=51]="fontWeight",e[e.fontVariations=52]="fontVariations",e[e.formatOnPaste=53]="formatOnPaste",e[e.formatOnType=54]="formatOnType",e[e.glyphMargin=55]="glyphMargin",e[e.gotoLocation=56]="gotoLocation",e[e.hideCursorInOverviewRuler=57]="hideCursorInOverviewRuler",e[e.hover=58]="hover",e[e.inDiffEditor=59]="inDiffEditor",e[e.inlineSuggest=60]="inlineSuggest",e[e.letterSpacing=61]="letterSpacing",e[e.lightbulb=62]="lightbulb",e[e.lineDecorationsWidth=63]="lineDecorationsWidth",e[e.lineHeight=64]="lineHeight",e[e.lineNumbers=65]="lineNumbers",e[e.lineNumbersMinChars=66]="lineNumbersMinChars",e[e.linkedEditing=67]="linkedEditing",e[e.links=68]="links",e[e.matchBrackets=69]="matchBrackets",e[e.minimap=70]="minimap",e[e.mouseStyle=71]="mouseStyle",e[e.mouseWheelScrollSensitivity=72]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=73]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=74]="multiCursorMergeOverlapping",e[e.multiCursorModifier=75]="multiCursorModifier",e[e.multiCursorPaste=76]="multiCursorPaste",e[e.multiCursorLimit=77]="multiCursorLimit",e[e.occurrencesHighlight=78]="occurrencesHighlight",e[e.overviewRulerBorder=79]="overviewRulerBorder",e[e.overviewRulerLanes=80]="overviewRulerLanes",e[e.padding=81]="padding",e[e.parameterHints=82]="parameterHints",e[e.peekWidgetDefaultFocus=83]="peekWidgetDefaultFocus",e[e.definitionLinkOpensInPeek=84]="definitionLinkOpensInPeek",e[e.quickSuggestions=85]="quickSuggestions",e[e.quickSuggestionsDelay=86]="quickSuggestionsDelay",e[e.readOnly=87]="readOnly",e[e.renameOnType=88]="renameOnType",e[e.renderControlCharacters=89]="renderControlCharacters",e[e.renderFinalNewline=90]="renderFinalNewline",e[e.renderLineHighlight=91]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=92]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=93]="renderValidationDecorations",e[e.renderWhitespace=94]="renderWhitespace",e[e.revealHorizontalRightPadding=95]="revealHorizontalRightPadding",e[e.roundedSelection=96]="roundedSelection",e[e.rulers=97]="rulers",e[e.scrollbar=98]="scrollbar",e[e.scrollBeyondLastColumn=99]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=100]="scrollBeyondLastLine",e[e.scrollPredominantAxis=101]="scrollPredominantAxis",e[e.selectionClipboard=102]="selectionClipboard",e[e.selectionHighlight=103]="selectionHighlight",e[e.selectOnLineNumbers=104]="selectOnLineNumbers",e[e.showFoldingControls=105]="showFoldingControls",e[e.showUnused=106]="showUnused",e[e.snippetSuggestions=107]="snippetSuggestions",e[e.smartSelect=108]="smartSelect",e[e.smoothScrolling=109]="smoothScrolling",e[e.stickyScroll=110]="stickyScroll",e[e.stickyTabStops=111]="stickyTabStops",e[e.stopRenderingLineAfter=112]="stopRenderingLineAfter",e[e.suggest=113]="suggest",e[e.suggestFontSize=114]="suggestFontSize",e[e.suggestLineHeight=115]="suggestLineHeight",e[e.suggestOnTriggerCharacters=116]="suggestOnTriggerCharacters",e[e.suggestSelection=117]="suggestSelection",e[e.tabCompletion=118]="tabCompletion",e[e.tabIndex=119]="tabIndex",e[e.unicodeHighlighting=120]="unicodeHighlighting",e[e.unusualLineTerminators=121]="unusualLineTerminators",e[e.useShadowDOM=122]="useShadowDOM",e[e.useTabStops=123]="useTabStops",e[e.wordBreak=124]="wordBreak",e[e.wordSeparators=125]="wordSeparators",e[e.wordWrap=126]="wordWrap",e[e.wordWrapBreakAfterCharacters=127]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=128]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=129]="wordWrapColumn",e[e.wordWrapOverride1=130]="wordWrapOverride1",e[e.wordWrapOverride2=131]="wordWrapOverride2",e[e.wrappingIndent=132]="wrappingIndent",e[e.wrappingStrategy=133]="wrappingStrategy",e[e.showDeprecated=134]="showDeprecated",e[e.inlayHints=135]="inlayHints",e[e.editorClassName=136]="editorClassName",e[e.pixelRatio=137]="pixelRatio",e[e.tabFocusMode=138]="tabFocusMode",e[e.layoutInfo=139]="layoutInfo",e[e.wrappingInfo=140]="wrappingInfo",e[e.defaultColorDecorators=141]="defaultColorDecorators"}(B||(B={})),function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}($||($={})),function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"}(W||(W={})),function(e){e[e.Left=1]="Left",e[e.Right=2]="Right"}(H||(H={})),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(z||(z={})),function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"}(G||(G={})),function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"}(J||(J={})),function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"}(X||(X={})),function(e){e[e.DependsOnKbLayout=-1]="DependsOnKbLayout",e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.Digit0=21]="Digit0",e[e.Digit1=22]="Digit1",e[e.Digit2=23]="Digit2",e[e.Digit3=24]="Digit3",e[e.Digit4=25]="Digit4",e[e.Digit5=26]="Digit5",e[e.Digit6=27]="Digit6",e[e.Digit7=28]="Digit7",e[e.Digit8=29]="Digit8",e[e.Digit9=30]="Digit9",e[e.KeyA=31]="KeyA",e[e.KeyB=32]="KeyB",e[e.KeyC=33]="KeyC",e[e.KeyD=34]="KeyD",e[e.KeyE=35]="KeyE",e[e.KeyF=36]="KeyF",e[e.KeyG=37]="KeyG",e[e.KeyH=38]="KeyH",e[e.KeyI=39]="KeyI",e[e.KeyJ=40]="KeyJ",e[e.KeyK=41]="KeyK",e[e.KeyL=42]="KeyL",e[e.KeyM=43]="KeyM",e[e.KeyN=44]="KeyN",e[e.KeyO=45]="KeyO",e[e.KeyP=46]="KeyP",e[e.KeyQ=47]="KeyQ",e[e.KeyR=48]="KeyR",e[e.KeyS=49]="KeyS",e[e.KeyT=50]="KeyT",e[e.KeyU=51]="KeyU",e[e.KeyV=52]="KeyV",e[e.KeyW=53]="KeyW",e[e.KeyX=54]="KeyX",e[e.KeyY=55]="KeyY",e[e.KeyZ=56]="KeyZ",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.F20=78]="F20",e[e.F21=79]="F21",e[e.F22=80]="F22",e[e.F23=81]="F23",e[e.F24=82]="F24",e[e.NumLock=83]="NumLock",e[e.ScrollLock=84]="ScrollLock",e[e.Semicolon=85]="Semicolon",e[e.Equal=86]="Equal",e[e.Comma=87]="Comma",e[e.Minus=88]="Minus",e[e.Period=89]="Period",e[e.Slash=90]="Slash",e[e.Backquote=91]="Backquote",e[e.BracketLeft=92]="BracketLeft",e[e.Backslash=93]="Backslash",e[e.BracketRight=94]="BracketRight",e[e.Quote=95]="Quote",e[e.OEM_8=96]="OEM_8",e[e.IntlBackslash=97]="IntlBackslash",e[e.Numpad0=98]="Numpad0",e[e.Numpad1=99]="Numpad1",e[e.Numpad2=100]="Numpad2",e[e.Numpad3=101]="Numpad3",e[e.Numpad4=102]="Numpad4",e[e.Numpad5=103]="Numpad5",e[e.Numpad6=104]="Numpad6",e[e.Numpad7=105]="Numpad7",e[e.Numpad8=106]="Numpad8",e[e.Numpad9=107]="Numpad9",e[e.NumpadMultiply=108]="NumpadMultiply",e[e.NumpadAdd=109]="NumpadAdd",e[e.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",e[e.NumpadSubtract=111]="NumpadSubtract",e[e.NumpadDecimal=112]="NumpadDecimal",e[e.NumpadDivide=113]="NumpadDivide",e[e.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",e[e.ABNT_C1=115]="ABNT_C1",e[e.ABNT_C2=116]="ABNT_C2",e[e.AudioVolumeMute=117]="AudioVolumeMute",e[e.AudioVolumeUp=118]="AudioVolumeUp",e[e.AudioVolumeDown=119]="AudioVolumeDown",e[e.BrowserSearch=120]="BrowserSearch",e[e.BrowserHome=121]="BrowserHome",e[e.BrowserBack=122]="BrowserBack",e[e.BrowserForward=123]="BrowserForward",e[e.MediaTrackNext=124]="MediaTrackNext",e[e.MediaTrackPrevious=125]="MediaTrackPrevious",e[e.MediaStop=126]="MediaStop",e[e.MediaPlayPause=127]="MediaPlayPause",e[e.LaunchMediaPlayer=128]="LaunchMediaPlayer",e[e.LaunchMail=129]="LaunchMail",e[e.LaunchApp2=130]="LaunchApp2",e[e.Clear=131]="Clear",e[e.MAX_VALUE=132]="MAX_VALUE"}(Z||(Z={})),function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(Y||(Y={})),function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"}(Q||(Q={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(ee||(ee={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"}(et||(et={})),function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"}(en||(en={})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(er||(er={})),function(e){e[e.Left=0]="Left",e[e.Right=1]="Right",e[e.None=2]="None",e[e.LeftOfInjectedText=3]="LeftOfInjectedText",e[e.RightOfInjectedText=4]="RightOfInjectedText"}(ei||(ei={})),function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"}(eo||(eo={})),function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"}(es||(es={})),function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"}(ea||(ea={})),function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"}(el||(el={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(eu||(eu={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(ec||(ec={})),function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"}(eh||(eh={})),function(e){e[e.Deprecated=1]="Deprecated"}(ed||(ed={})),function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"}(ef||(ef={})),function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(em||(em={})),function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"}(eg||(eg={})),function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"}(ep||(ep={}));class rv{static chord(e,t){return(e|(65535&t)<<16>>>0)>>>0}}rv.CtrlCmd=2048,rv.Shift=1024,rv.Alt=512,rv.WinCtrl=256;class rb extends nQ{constructor(e){super(0);for(let t=0,n=e.length;t65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}break}if(this._prevMatchStartIndex=i,this._prevMatchLength=o,!this._wordSeparators||function(e,t,n,r,i){if(0===r)return!0;let o=t.charCodeAt(r-1);if(0!==e.get(o)||13===o||10===o)return!0;if(i>0){let n=t.charCodeAt(r);if(0!==e.get(n))return!0}return!1}(r=this._wordSeparators,e,0,i,o)&&function(e,t,n,r,i){if(r+i===n)return!0;let o=t.charCodeAt(r+i);if(0!==e.get(o)||13===o||10===o)return!0;if(i>0){let n=t.charCodeAt(r+i-1);if(0!==e.get(n))return!0}return!1}(r,e,n,i,o))return t}while(t)return null}}function rC(e){e()||(e(),o(new c("Assertion Failed")))}function r_(e,t){let n=0;for(;nString.fromCodePoint(e)).join("").replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}]`,"g");let u=new ry(null,r),c=[],h=!1,d=0,f=0,m=0;e:for(let t=o;t<=s;t++){let n=e.getLineContent(t),r=n.length;u.reset(0);do if(i=u.next(n)){let e=i.index,o=i.index+i[0].length;e>0&&tX(n.charCodeAt(e-1))&&e--,o+1=1e3){h=!0;break e}c.push(new nB(t,e+1,t,o+1))}}while(i)}return{ranges:c,hasMore:h,ambiguousCharacterCount:d,invisibleCharacterCount:f,nonBasicAsciiCharacterCount:m}}static computeUnicodeHighlightReason(e,t){let n=new rw(t);switch(n.shouldHighlightNonBasicASCII(e,null)){case 0:return null;case 2:return{kind:1};case 3:{let r=e.codePointAt(0),i=n.ambiguousCharacters.getPrimaryConfusable(r),o=t0.getLocales().filter(e=>!t0.getInstance(new Set([...t.allowedLocales,e])).isAmbiguous(r));return{kind:0,confusableWith:String.fromCodePoint(i),notAmbiguousInLocales:o}}case 1:return{kind:2}}}}class rw{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=t0.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";let e=new Set;if(this.options.invisibleCharacters)for(let t of t2.codePoints)rA(String.fromCodePoint(t))||e.add(t);if(this.options.ambiguousCharacters)for(let t of this.ambiguousCharacters.getConfusableCodePoints())e.add(t);for(let t of this.allowedCodePoints)e.delete(t);return e}shouldHighlightNonBasicASCII(e,t){let n=e.codePointAt(0);if(this.allowedCodePoints.has(n))return 0;if(this.options.nonBasicASCII)return 1;let r=!1,i=!1;if(t)for(let e of t){let t=e.codePointAt(0),n=tQ.test(e);r=r||n,n||this.ambiguousCharacters.isAmbiguous(t)||t2.isInvisibleCharacter(t)||(i=!0)}return!r&&i?0:this.options.invisibleCharacters&&!rA(e)&&t2.isInvisibleCharacter(n)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(n)?3:0}}function rA(e){return" "===e||"\n"===e||" "===e}class rx{constructor(e,t){this.changes=e,this.hitTimeout=t}}class rE{constructor(e,t,n){this.originalRange=e,this.modifiedRange=t,this.innerChanges=n}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}get changedLineCount(){return Math.max(this.originalRange.length,this.modifiedRange.length)}}class rL{constructor(e,t){this.originalRange=e,this.modifiedRange=t}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}}class rN{static joinMany(e){if(0===e.length)return[];let t=e[0];for(let n=1;n=s.startLineNumber?o=new rN(o.startLineNumber,Math.max(o.endLineNumberExclusive,s.endLineNumberExclusive)):(n.push(o),o=s)}return null!==o&&n.push(o),n}constructor(e,t){if(e>t)throw new c(`startLineNumber ${e} cannot be after endLineNumberExclusive ${t}`);this.startLineNumber=e,this.endLineNumberExclusive=t}contains(e){return this.startLineNumber<=e&&e(10===e?"\\n":String.fromCharCode(e))+`-(${this._lineNumbers[t]},${this._columns[t]})`).join(", ")+"]"}_assertIndex(e,t){if(e<0||e>=t.length)throw Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(e){return e>0&&e===this._lineNumbers.length?this.getEndLineNumber(e-1):(this._assertIndex(e,this._lineNumbers),this._lineNumbers[e])}getEndLineNumber(e){return -1===e?this.getStartLineNumber(e+1):(this._assertIndex(e,this._lineNumbers),10===this._charCodes[e])?this._lineNumbers[e]+1:this._lineNumbers[e]}getStartColumn(e){return e>0&&e===this._columns.length?this.getEndColumn(e-1):(this._assertIndex(e,this._columns),this._columns[e])}getEndColumn(e){return -1===e?this.getStartColumn(e+1):(this._assertIndex(e,this._columns),10===this._charCodes[e])?1:this._columns[e]+1}}class rO{constructor(e,t,n,r,i,o,s,a){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=n,this.originalEndColumn=r,this.modifiedStartLineNumber=i,this.modifiedStartColumn=o,this.modifiedEndLineNumber=s,this.modifiedEndColumn=a}static createFromDiffChange(e,t,n){let r=t.getStartLineNumber(e.originalStart),i=t.getStartColumn(e.originalStart),o=t.getEndLineNumber(e.originalStart+e.originalLength-1),s=t.getEndColumn(e.originalStart+e.originalLength-1),a=n.getStartLineNumber(e.modifiedStart),l=n.getStartColumn(e.modifiedStart),u=n.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),c=n.getEndColumn(e.modifiedStart+e.modifiedLength-1);return new rO(r,i,o,s,a,l,u,c)}}class rM{constructor(e,t,n,r,i){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=r,this.charChanges=i}static createFromDiffResult(e,t,n,r,i,o,s){let a,l,u,c,h;if(0===t.originalLength?(a=n.getStartLineNumber(t.originalStart)-1,l=0):(a=n.getStartLineNumber(t.originalStart),l=n.getEndLineNumber(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(u=r.getStartLineNumber(t.modifiedStart)-1,c=0):(u=r.getStartLineNumber(t.modifiedStart),c=r.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),o&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&i()){let o=n.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),a=r.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);if(o.getElements().length>0&&a.getElements().length>0){let e=rk(o,a,i,!0).changes;s&&(e=function(e){if(e.length<=1)return e;let t=[e[0]],n=t[0];for(let r=1,i=e.length;rMath.min(i.originalStart-(n.originalStart+n.originalLength),i.modifiedStart-(n.modifiedStart+n.modifiedLength))?(n.originalLength=i.originalStart+i.originalLength-n.originalStart,n.modifiedLength=i.modifiedStart+i.modifiedLength-n.modifiedStart):(t.push(i),n=i)}return t}(e)),h=[];for(let t=0,n=e.length;t1&&s>1&&e.charCodeAt(n-2)===t.charCodeAt(s-2);)n--,s--;(n>1||s>1)&&this._pushTrimWhitespaceCharChange(r,i+1,1,n,o+1,1,s)}{let n=rV(e,1),s=rV(t,1),a=e.length+1,l=t.length+1;for(;n=0;n--){let t=e.charCodeAt(n);if(32!==t&&9!==t)return n}return -1}(e);return -1===n?t:n+2}function rF(e){if(0===e)return()=>!0;let t=Date.now();return()=>Date.now()-tt))return new rD(e,t)}constructor(e,t){if(this.start=e,this.endExclusive=t,e>t)throw new c(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(e){return new rD(this.start+e,this.endExclusive+e)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}equals(e){return this.start===e.start&&this.endExclusive===e.endExclusive}containsRange(e){return this.start<=e.start&&e.endExclusive<=this.endExclusive}join(e){return new rD(Math.min(this.start,e.start),Math.max(this.endExclusive,e.endExclusive))}intersect(e){let t=Math.max(this.start,e.start),n=Math.min(this.endExclusive,e.endExclusive);if(t<=n)return new rD(t,n)}}class rK{static trivial(e,t){return new rK([new rj(new rD(0,e.length),new rD(0,t.length))],!1)}static trivialTimedOut(e,t){return new rK([new rj(new rD(0,e.length),new rD(0,t.length))],!0)}constructor(e,t){this.diffs=e,this.hitTimeout=t}}class rj{constructor(e,t){this.seq1Range=e,this.seq2Range=t}reverse(){return new rj(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(e){return new rj(this.seq1Range.join(e.seq1Range),this.seq2Range.join(e.seq2Range))}}class rq{isValid(){return!0}}rq.instance=new rq;class rU{constructor(e){if(this.timeout=e,this.startTime=Date.now(),this.valid=!0,e<=0)throw new c("timeout must be positive")}isValid(){return!(Date.now()-this.startTime0&&l>0&&3===o.get(a-1,l-1)&&(u+=s.get(a-1,l-1)),u+=r?r(a,l):1):u=-1;let d=Math.max(c,h,u);if(d===u){let e=a>0&&l>0?s.get(a-1,l-1):0;s.set(a,l,e+1),o.set(a,l,3)}else d===c?(s.set(a,l,0),o.set(a,l,1)):d===h&&(s.set(a,l,0),o.set(a,l,2));i.set(a,l,d)}let a=[],l=e.length,u=t.length;function c(e,t){(e+1!==l||t+1!==u)&&a.push(new rj(new rD(e+1,l),new rD(t+1,u))),l=e,u=t}let h=e.length-1,d=t.length-1;for(;h>=0&&d>=0;)3===o.get(h,d)?(c(h,d),h--,d--):1===o.get(h,d)?h--:d--;return c(-1,-1),a.reverse(),new rK(a,!1)}}function rW(e,t,n){let r=n;return r=function(e,t,n){let r=[];n.length>0&&r.push(n[0]);for(let e=1;e0?n[r-1].seq2Range.endExclusive:-1,s=r+10?n[r-1].seq1Range.endExclusive:-1,s=r+1i&&n.getElement(e.seq2Range.start-o)===n.getElement(e.seq2Range.endExclusive-o)&&o<20;)o++;o--;let s=0;for(;e.seq2Range.start+sl&&(l=u,a=r)}return 0!==a?new rj(e.seq1Range.delta(a),e.seq2Range.delta(a)):e}class rz{compute(e,t,n=rq.instance){if(0===e.length||0===t.length)return rK.trivial(e,t);function r(n,r){for(;n=this.negativeArr.length){let e=this.negativeArr;this.negativeArr=new Int32Array(2*e.length),this.negativeArr.set(e)}this.negativeArr[e]=t}else{if(e>=this.positiveArr.length){let e=this.positiveArr;this.positiveArr=new Int32Array(2*e.length),this.positiveArr.set(e)}this.positiveArr[e]=t}}}class rX{constructor(){this.positiveArr=[],this.negativeArr=[]}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){e<0?(e=-e-1,this.negativeArr[e]=t):this.positiveArr[e]=t}}class rZ{constructor(e,t){this.trimmedHash=e,this.lines=t}getElement(e){return this.trimmedHash[e]}get length(){return this.trimmedHash.length}getBoundaryScore(e){return 1e3-((0===e?0:rY(this.lines[e-1]))+(e===this.lines.length?0:rY(this.lines[e])))}}function rY(e){let t=0;for(;t0&&t.endExclusive>=e.length&&(t=new rD(t.start-1,t.endExclusive),r=!0),this.lineRange=t;for(let t=this.lineRange.start;tString.fromCharCode(e)).join("")}getElement(e){return this.elements[e]}get length(){return this.elements.length}getBoundaryScore(e){let t=r2(e>0?this.elements[e-1]:-1),n=r2(ee?n=r:t=r+1}let r=0===t?0:this.firstCharOffsetByLineMinusOne[t-1];return new nU(this.lineRange.start+t+1,e-r+1+this.offsetByLine[t])}translateRange(e){return nB.fromPositions(this.translateOffset(e.start),this.translateOffset(e.endExclusive))}findWordContaining(e){if(e<0||e>=this.elements.length||!r1(this.elements[e]))return;let t=e;for(;t>0&&r1(this.elements[t-1]);)t--;let n=e;for(;n=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}let r0={0:0,1:0,2:0,3:10,4:2,5:3,6:10,7:10};function r2(e){return 10===e?7:13===e?6:32===e||9===e?5:e>=97&&e<=122?0:e>=65&&e<=90?1:e>=48&&e<=57?2:-1===e?3:4}let r4={legacy:new class{computeDiff(e,t,n){var r;let i=new rI(e,t,{maxComputationTime:n.maxComputationTimeMs,shouldIgnoreTrimWhitespace:n.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}).computeDiff(),o=[],s=null;for(let e of i.changes){let t,n;t=0===e.originalEndLineNumber?new rN(e.originalStartLineNumber+1,e.originalStartLineNumber+1):new rN(e.originalStartLineNumber,e.originalEndLineNumber+1),n=0===e.modifiedEndLineNumber?new rN(e.modifiedStartLineNumber+1,e.modifiedStartLineNumber+1):new rN(e.modifiedStartLineNumber,e.modifiedEndLineNumber+1);let i=new rE(t,n,null===(r=e.charChanges)||void 0===r?void 0:r.map(e=>new rL(new nB(e.originalStartLineNumber,e.originalStartColumn,e.originalEndLineNumber,e.originalEndColumn),new nB(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn))));s&&(s.modifiedRange.endLineNumberExclusive===i.modifiedRange.startLineNumber||s.originalRange.endLineNumberExclusive===i.originalRange.startLineNumber)&&(i=new rE(s.originalRange.join(i.originalRange),s.modifiedRange.join(i.modifiedRange),s.innerChanges&&i.innerChanges?s.innerChanges.concat(i.innerChanges):void 0),o.pop()),o.push(i),s=i}return rC(()=>r_(o,(e,t)=>t.originalRange.startLineNumber-e.originalRange.endLineNumberExclusive==t.modifiedRange.startLineNumber-e.modifiedRange.endLineNumberExclusive&&e.originalRange.endLineNumberExclusives(e.trim())),l=t.map(e=>s(e.trim())),u=new rZ(a,e),c=new rZ(l,t),h=u.length+c.length<1500?this.dynamicProgrammingDiffing.compute(u,c,r,(n,r)=>e[n]===t[r]?0===t[r].length?.1:1+Math.log(1+t[r].length):.99):this.myersDiffingAlgorithm.compute(u,c),d=h.diffs,f=h.hitTimeout;d=rW(u,c,d);let m=[],g=n=>{if(i)for(let o=0;on.seq1Range.start-p==n.seq2Range.start-v),g(n.seq1Range.start-p),p=n.seq1Range.endExclusive,v=n.seq2Range.endExclusive;let o=this.refineDiff(e,t,n,r,i);for(let e of(o.hitTimeout&&(f=!0),o.mappings))m.push(e)}g(e.length-p);let b=function(e,t,n){let r=[];for(let i of function*(e,t){let n,r;for(let i of e)void 0!==r&&t(r,i)?n.push(i):(n&&(yield n),n=[i]),r=i;n&&(yield n)}(e.map(e=>{let r,i,o,s;return r=0,i=0,e.modifiedRange.startColumn-1>=n[e.modifiedRange.startLineNumber-1].length&&e.originalRange.startColumn-1>=t[e.originalRange.startLineNumber-1].length&&(r=1),1===e.modifiedRange.endColumn&&1===e.originalRange.endColumn&&e.originalRange.startLineNumber+r<=e.originalRange.endLineNumber&&e.modifiedRange.startLineNumber+r<=e.modifiedRange.endLineNumber&&(i=-1),o=new rN(e.originalRange.startLineNumber+r,e.originalRange.endLineNumber+1+i),s=new rN(e.modifiedRange.startLineNumber+r,e.modifiedRange.endLineNumber+1+i),new rE(o,s,[e])}),(e,t)=>e.originalRange.overlapOrTouch(t.originalRange)||e.modifiedRange.overlapOrTouch(t.modifiedRange))){let e=i[0],t=i[i.length-1];r.push(new rE(e.originalRange.join(t.originalRange),e.modifiedRange.join(t.modifiedRange),i.map(e=>e.innerChanges[0])))}return rC(()=>r_(r,(e,t)=>t.originalRange.startLineNumber-e.originalRange.endLineNumberExclusive==t.modifiedRange.startLineNumber-e.modifiedRange.endLineNumberExclusive&&e.originalRange.endLineNumberExclusivee&&i.push(new rj(r.s1Range,r.s2Range)),r=void 0}for(let i of n){function s(e,t){var n,s,a,l;if(!r||!r.s1Range.containsRange(e)||!r.s2Range.containsRange(t)){if(r&&!(r.s1Range.endExclusive0||t.length>0;){let r;let i=e[0],o=t[0];r=i&&(!o||i.seq1Range.start0&&n[n.length-1].seq1Range.endExclusive>=r.seq1Range.start?n[n.length-1]=n[n.length-1].join(r):n.push(r)}return n}(n,i)}(o,s,l))).map(e=>new rL(o.translateRange(e.seq1Range),s.translateRange(e.seq2Range))),hitTimeout:a.hitTimeout}}}};function r5(e,t){let n=Math.pow(10,t);return Math.round(e*n)/n}class r7{constructor(e,t,n,r=1){this._rgbaBrand=void 0,this.r=0|Math.min(255,Math.max(0,e)),this.g=0|Math.min(255,Math.max(0,t)),this.b=0|Math.min(255,Math.max(0,n)),this.a=r5(Math.max(Math.min(1,r),0),3)}static equals(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a}}class r9{constructor(e,t,n,r){this._hslaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=r5(Math.max(Math.min(1,t),0),3),this.l=r5(Math.max(Math.min(1,n),0),3),this.a=r5(Math.max(Math.min(1,r),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a}static fromRGBA(e){let t=e.r/255,n=e.g/255,r=e.b/255,i=e.a,o=Math.max(t,n,r),s=Math.min(t,n,r),a=0,l=0,u=(s+o)/2,c=o-s;if(c>0){switch(l=Math.min(u<=.5?c/(2*u):c/(2-2*u),1),o){case t:a=(n-r)/c+(n1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}static toRGBA(e){let t,n,r;let i=e.h/360,{s:o,l:s,a}=e;if(0===o)t=n=r=s;else{let e=s<.5?s*(1+o):s+o-s*o,a=2*s-e;t=r9._hue2rgb(a,e,i+1/3),n=r9._hue2rgb(a,e,i),r=r9._hue2rgb(a,e,i-1/3)}return new r7(Math.round(255*t),Math.round(255*n),Math.round(255*r),a)}}class r6{constructor(e,t,n,r){this._hsvaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=r5(Math.max(Math.min(1,t),0),3),this.v=r5(Math.max(Math.min(1,n),0),3),this.a=r5(Math.max(Math.min(1,r),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.v===t.v&&e.a===t.a}static fromRGBA(e){let t;let n=e.r/255,r=e.g/255,i=e.b/255,o=Math.max(n,r,i),s=o-Math.min(n,r,i),a=0===o?0:s/o;return t=0===s?0:o===n?((r-i)/s%6+6)%6:o===r?(i-n)/s+2:(n-r)/s+4,new r6(Math.round(60*t),a,o,e.a)}static toRGBA(e){let{h:t,s:n,v:r,a:i}=e,o=r*n,s=o*(1-Math.abs(t/60%2-1)),a=r-o,[l,u,c]=[0,0,0];return t<60?(l=o,u=s):t<120?(l=s,u=o):t<180?(u=o,c=s):t<240?(u=s,c=o):t<300?(l=s,c=o):t<=360&&(l=o,c=s),l=Math.round((l+a)*255),u=Math.round((u+a)*255),c=Math.round((c+a)*255),new r7(l,u,c,i)}}class r8{static fromHex(e){return r8.Format.CSS.parseHex(e)||r8.red}static equals(e,t){return!e&&!t||!!e&&!!t&&e.equals(t)}get hsla(){return this._hsla?this._hsla:r9.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:r6.fromRGBA(this.rgba)}constructor(e){if(e){if(e instanceof r7)this.rgba=e;else if(e instanceof r9)this._hsla=e,this.rgba=r9.toRGBA(e);else if(e instanceof r6)this._hsva=e,this.rgba=r6.toRGBA(e);else throw Error("Invalid color ctor argument")}else throw Error("Color needs a value")}equals(e){return!!e&&r7.equals(this.rgba,e.rgba)&&r9.equals(this.hsla,e.hsla)&&r6.equals(this.hsva,e.hsva)}getRelativeLuminance(){return r5(.2126*r8._relativeLuminanceForComponent(this.rgba.r)+.7152*r8._relativeLuminanceForComponent(this.rgba.g)+.0722*r8._relativeLuminanceForComponent(this.rgba.b),4)}static _relativeLuminanceForComponent(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}isLighter(){return(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3>=128}isLighterThan(e){return this.getRelativeLuminance()>e.getRelativeLuminance()}isDarkerThan(e){return this.getRelativeLuminance()this._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,r=!0;else{let e=this._lines[t-1].length+1;n<1?(n=1,r=!0):n>e&&(n=e,r=!0)}return r?{lineNumber:t,column:n}:e}}class il{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new ia(nO.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){this._models[e]&&this._models[e].onEvents(t)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}computeUnicodeHighlights(e,t,n){return is(this,void 0,void 0,function*(){let r=this._getModel(e);return r?rS.computeUnicodeHighlights(r,t,n):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(e,t,n,r){return is(this,void 0,void 0,function*(){let i=this._getModel(e),o=this._getModel(t);return i&&o?il.computeDiff(i,o,n,r):null})}static computeDiff(e,t,n,r){let i="advanced"===r?r4.advanced:r4.legacy,o=e.getLinesContent(),s=t.getLinesContent(),a=i.computeDiff(o,s,n);return{identical:!(a.changes.length>0)&&this._modelsAreIdentical(e,t),quitEarly:a.hitTimeout,changes:a.changes.map(e=>{var t;return[e.originalRange.startLineNumber,e.originalRange.endLineNumberExclusive,e.modifiedRange.startLineNumber,e.modifiedRange.endLineNumberExclusive,null===(t=e.innerChanges)||void 0===t?void 0:t.map(e=>[e.originalRange.startLineNumber,e.originalRange.startColumn,e.originalRange.endLineNumber,e.originalRange.endColumn,e.modifiedRange.startLineNumber,e.modifiedRange.startColumn,e.modifiedRange.endLineNumber,e.modifiedRange.endColumn])]})}}static _modelsAreIdentical(e,t){let n=e.getLineCount();if(n!==t.getLineCount())return!1;for(let r=1;r<=n;r++)if(e.getLineContent(r)!==t.getLineContent(r))return!1;return!0}computeMoreMinimalEdits(e,t,n){return is(this,void 0,void 0,function*(){let r;let i=this._getModel(e);if(!i)return t;let o=[];for(let{range:e,text:a,eol:l}of t=t.slice(0).sort((e,t)=>e.range&&t.range?nB.compareRangesUsingStarts(e.range,t.range):(e.range?0:1)-(t.range?0:1))){var s;if("number"==typeof l&&(r=l),nB.isEmpty(e)&&!a)continue;let t=i.getValueInRange(e);if(t===(a=a.replace(/\r\n|\n|\r/g,i.eol)))continue;if(Math.max(a.length,t.length)>il._diffLimit){o.push({range:e,text:a});continue}let u=(s=a,new nh(new na(t),new na(s)).ComputeDiff(n).changes),c=i.offsetAt(nB.lift(e).getStartPosition());for(let e of u){let t=i.positionAt(c+e.originalStart),n=i.positionAt(c+e.originalStart+e.originalLength),r={text:a.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:n.lineNumber,endColumn:n.column}};i.getValueInRange(r.range)!==r.text&&o.push(r)}}return"number"==typeof r&&o.push({eol:r,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),o})}computeLinks(e){return is(this,void 0,void 0,function*(){let t=this._getModel(e);return t?t&&"function"==typeof t.getLineCount&&"function"==typeof t.getLineContent?n7.computeLinks(t):[]:null})}computeDefaultDocumentColors(e){return is(this,void 0,void 0,function*(){let t=this._getModel(e);return t?t&&"function"==typeof t.getValue&&"function"==typeof t.positionAt?function(e){let t=[],n=io(e,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([A-Fa-f0-9]{6})\b|(#)([A-Fa-f0-9]{8})\b/gm);if(n.length>0)for(let r of n){let n;let i=r.filter(e=>void 0!==e),o=i[1],s=i[2];if(s){if("rgb"===o){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;n=ir(it(e,r),io(s,t),!1)}else if("rgba"===o){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;n=ir(it(e,r),io(s,t),!0)}else if("hsl"===o){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;n=ii(it(e,r),io(s,t),!1)}else if("hsla"===o){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;n=ii(it(e,r),io(s,t),!0)}else"#"===o&&(n=function(e,t){if(!e)return;let n=r8.Format.CSS.parseHex(t);if(n)return{range:e,color:ie(n.rgba.r,n.rgba.g,n.rgba.b,n.rgba.a)}}(it(e,r),o+s));n&&t.push(n)}}return t}(t):[]:null})}textualSuggest(e,t,n,r){return is(this,void 0,void 0,function*(){let i=new tD(!0),o=new RegExp(n,r),s=new Set;n:for(let n of e){let e=this._getModel(n);if(e){for(let n of e.words(o))if(n!==t&&isNaN(Number(n))&&(s.add(n),s.size>il._suggestionsLimit))break n}}return{words:Array.from(s),duration:i.elapsed()}})}computeWordRanges(e,t,n,r){return is(this,void 0,void 0,function*(){let i=this._getModel(e);if(!i)return Object.create(null);let o=new RegExp(n,r),s=Object.create(null);for(let e=t.startLineNumber;efunction(){let n=Array.prototype.slice.call(arguments,0);return t(e,n)},r={};for(let t of e)r[t]=n(t);return r}(n,(e,t)=>this._host.fhr(e,t));return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory({host:r,getMirrorModels:()=>this._getModels()},t),Promise.resolve(tz(this._foreignModule))):Promise.reject(Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(e){return Promise.reject(e)}}}il._diffLimit=1e5,il._suggestionsLimit=1e4,"function"==typeof importScripts&&(globalThis.monaco={editor:void 0,languages:void 0,CancellationTokenSource:class{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new n8),this._token}cancel(){this._token?this._token instanceof n8&&this._token.cancel():this._token=w.Cancelled}dispose(e=!1){var t;e&&this.cancel(),null===(t=this._parentListener)||void 0===t||t.dispose(),this._token?this._token instanceof n8&&this._token.dispose():this._token=w.None}},Emitter:tB,KeyCode:Z,KeyMod:rv,Position:nU,Range:nB,Selection:rc,SelectionDirection:eu,MarkerSeverity:Y,MarkerTag:Q,Uri:nO,Token:class{constructor(e,t,n){this.offset=e,this.type=t,this.language=n,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}});let iu=!1;function ic(e){if(iu)return;iu=!0;let t=new nt(e=>{globalThis.postMessage(e)},t=>new il(t,e));globalThis.onmessage=e=>{t.onmessage(e.data)}}globalThis.onmessage=e=>{iu||ic(null)};var ih=n(406);/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/function id(e,t){void 0===t&&(t=!1);var n=e.length,r=0,i="",o=0,s=16,a=0,l=0,u=0,c=0,h=0;function d(){if(i="",h=0,o=r,l=a,c=u,r>=n)return o=n,s=17;var t=e.charCodeAt(r);if(im(t)){do r++,i+=String.fromCharCode(t),t=e.charCodeAt(r);while(im(t))return s=15}if(ig(t))return r++,i+=String.fromCharCode(t),13===t&&10===e.charCodeAt(r)&&(r++,i+="\n"),a++,u=r,s=14;switch(t){case 123:return r++,s=1;case 125:return r++,s=2;case 91:return r++,s=3;case 93:return r++,s=4;case 58:return r++,s=6;case 44:return r++,s=5;case 34:return r++,i=function(){for(var t="",i=r;;){if(r>=n){t+=e.substring(i,r),h=2;break}var o=e.charCodeAt(r);if(34===o){t+=e.substring(i,r),r++;break}if(92===o){if(t+=e.substring(i,r),++r>=n){h=2;break}switch(e.charCodeAt(r++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+=" ";break;case 117:var s=function(t,n){for(var i=0,o=0;i=48&&s<=57)o=16*o+s-48;else if(s>=65&&s<=70)o=16*o+s-65+10;else if(s>=97&&s<=102)o=16*o+s-97+10;else break;r++,i++}return i=0?t+=String.fromCharCode(s):h=4;break;default:h=5}i=r;continue}if(o>=0&&o<=31){if(ig(o)){t+=e.substring(i,r),h=2;break}h=6}r++}return t}(),s=10;case 47:var d=r-1;if(47===e.charCodeAt(r+1)){for(r+=2;r=12&&e<=15)return e}:d,getToken:function(){return s},getTokenValue:function(){return i},getTokenOffset:function(){return o},getTokenLength:function(){return r-o},getTokenStartLine:function(){return l},getTokenStartCharacter:function(){return o-c},getTokenError:function(){return h}}}function im(e){return 32===e||9===e||11===e||12===e||160===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function ig(e){return 10===e||13===e||8232===e||8233===e}function ip(e){return e>=48&&e<=57}function iv(e,t){for(var n="",r=0;r0)for(var i=r.getToken();17!==i;){if(-1!==t.indexOf(i)){v();break}if(-1!==n.indexOf(i))break;i=v()}}function y(e){var t=r.getTokenValue();return e?h(t):a(t),v(),!0}if(v(),17===r.getToken())return n.allowEmptyContent||(b(4,[],[]),0);(function e(){switch(r.getToken()){case 3:return function(){u(),v();for(var t=!1;4!==r.getToken()&&17!==r.getToken();){if(5===r.getToken()){if(t||b(4,[],[]),d(","),v(),4===r.getToken()&&p)break}else t&&b(6,[],[]);e()||b(4,[],[4,5]),t=!0}return c(),4!==r.getToken()?b(8,[4],[]):v(),!0}();case 1:return function(){s(),v();for(var t=!1;2!==r.getToken()&&17!==r.getToken();){if(5===r.getToken()){if(t||b(4,[],[]),d(","),v(),2===r.getToken()&&p)break}else t&&b(6,[],[]);(10!==r.getToken()?(b(3,[],[2,5]),1):(y(!1),6===r.getToken()?(d(":"),v(),e()||b(4,[],[2,5])):b(5,[],[2,5]),0))&&b(4,[],[2,5]),t=!0}return l(),2!==r.getToken()?b(7,[2],[]):v(),!0}();case 10:return y(!0);default:return function(){switch(r.getToken()){case 11:var e=Number(r.getTokenValue());isNaN(e)&&(b(2),e=0),h(e);break;case 7:h(null);break;case 8:h(!0);break;case 9:h(!1);break;default:return!1}return v(),!0}()}})()?17!==r.getToken()&&b(9,[],[]):b(4,[],[])}(e,{onObjectBegin:function(){var e={};s(e),o.push(i),i=e,r=null},onObjectProperty:function(e){r=e},onObjectEnd:function(){i=o.pop()},onArrayBegin:function(){var e=[];s(e),o.push(i),i=e,r=null},onArrayEnd:function(){i=o.pop()},onLiteralValue:s,onError:function(e,n,r){t.push({error:e,offset:n,length:r})}},n),i[0]},iC=function e(t,n,r){var i;if(void 0===r&&(r=!1),void 0===(i=r)&&(i=!1),n>=t.offset&&n0?e.lastIndexOf(t)===n:0===n&&e===t}function iN(e){var t="";(function(e,t){if(e.length0&&(i.arguments=n),i},e.is=function(e){return tg.defined(e)&&tg.string(e.title)&&tg.string(e.command)}}(eD||(eD={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){return tg.objectLiteral(e)&&tg.string(e.newText)&&ex.is(e.range)}}(eK||(eK={})),function(e){e.create=function(e,t,n){var r={label:e};return void 0!==t&&(r.needsConfirmation=t),void 0!==n&&(r.description=n),r},e.is=function(e){return void 0!==e&&tg.objectLiteral(e)&&tg.string(e.label)&&(tg.boolean(e.needsConfirmation)||void 0===e.needsConfirmation)&&(tg.string(e.description)||void 0===e.description)}}(ej||(ej={})),(eq||(eq={})).is=function(e){return"string"==typeof e},function(e){e.replace=function(e,t,n){return{range:e,newText:t,annotationId:n}},e.insert=function(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}},e.del=function(e,t){return{range:e,newText:"",annotationId:t}},e.is=function(e){return eK.is(e)&&(ej.is(e.annotationId)||eq.is(e.annotationId))}}(eU||(eU={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){return tg.defined(e)&&eX.is(e.textDocument)&&Array.isArray(e.edits)}}(eB||(eB={})),function(e){e.create=function(e,t,n){var r={kind:"create",uri:e};return void 0!==t&&(void 0!==t.overwrite||void 0!==t.ignoreIfExists)&&(r.options=t),void 0!==n&&(r.annotationId=n),r},e.is=function(e){return e&&"create"===e.kind&&tg.string(e.uri)&&(void 0===e.options||(void 0===e.options.overwrite||tg.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||tg.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||eq.is(e.annotationId))}}(e$||(e$={})),function(e){e.create=function(e,t,n,r){var i={kind:"rename",oldUri:e,newUri:t};return void 0!==n&&(void 0!==n.overwrite||void 0!==n.ignoreIfExists)&&(i.options=n),void 0!==r&&(i.annotationId=r),i},e.is=function(e){return e&&"rename"===e.kind&&tg.string(e.oldUri)&&tg.string(e.newUri)&&(void 0===e.options||(void 0===e.options.overwrite||tg.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||tg.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||eq.is(e.annotationId))}}(eW||(eW={})),function(e){e.create=function(e,t,n){var r={kind:"delete",uri:e};return void 0!==t&&(void 0!==t.recursive||void 0!==t.ignoreIfNotExists)&&(r.options=t),void 0!==n&&(r.annotationId=n),r},e.is=function(e){return e&&"delete"===e.kind&&tg.string(e.uri)&&(void 0===e.options||(void 0===e.options.recursive||tg.boolean(e.options.recursive))&&(void 0===e.options.ignoreIfNotExists||tg.boolean(e.options.ignoreIfNotExists)))&&(void 0===e.annotationId||eq.is(e.annotationId))}}(eH||(eH={})),(ez||(ez={})).is=function(e){return e&&(void 0!==e.changes||void 0!==e.documentChanges)&&(void 0===e.documentChanges||e.documentChanges.every(function(e){return tg.string(e.kind)?e$.is(e)||eW.is(e)||eH.is(e):eB.is(e)}))};var ik=function(){function e(e,t){this.edits=e,this.changeAnnotations=t}return e.prototype.insert=function(e,t,n){var r,i;if(void 0===n?r=eK.insert(e,t):eq.is(n)?(i=n,r=eU.insert(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=eU.insert(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.replace=function(e,t,n){var r,i;if(void 0===n?r=eK.replace(e,t):eq.is(n)?(i=n,r=eU.replace(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=eU.replace(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.delete=function(e,t){var n,r;if(void 0===t?n=eK.del(e):eq.is(t)?(r=t,n=eU.del(e,t)):(this.assertChangeAnnotations(this.changeAnnotations),r=this.changeAnnotations.manage(t),n=eU.del(e,r)),this.edits.push(n),void 0!==r)return r},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e.prototype.assertChangeAnnotations=function(e){if(void 0===e)throw Error("Text edit change is not configured to manage change annotations.")},e}(),iT=function(){function e(e){this._annotations=void 0===e?Object.create(null):e,this._counter=0,this._size=0}return e.prototype.all=function(){return this._annotations},Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),e.prototype.manage=function(e,t){var n;if(eq.is(e)?n=e:(n=this.nextId(),t=e),void 0!==this._annotations[n])throw Error("Id "+n+" is already in use.");if(void 0===t)throw Error("No annotation provided for id "+n);return this._annotations[n]=t,this._size++,n},e.prototype.nextId=function(){return this._counter++,this._counter.toString()},e}();(function(){function e(e){var t=this;this._textEditChanges=Object.create(null),void 0!==e?(this._workspaceEdit=e,e.documentChanges?(this._changeAnnotations=new iT(e.changeAnnotations),e.changeAnnotations=this._changeAnnotations.all(),e.documentChanges.forEach(function(e){if(eB.is(e)){var n=new ik(e.edits,t._changeAnnotations);t._textEditChanges[e.textDocument.uri]=n}})):e.changes&&Object.keys(e.changes).forEach(function(n){var r=new ik(e.changes[n]);t._textEditChanges[n]=r})):this._workspaceEdit={}}Object.defineProperty(e.prototype,"edit",{get:function(){return this.initDocumentChanges(),void 0!==this._changeAnnotations&&(0===this._changeAnnotations.size?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),e.prototype.getTextEditChange=function(e){if(eX.is(e)){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");var t={uri:e.uri,version:e.version},n=this._textEditChanges[t.uri];if(!n){var r=[],i={textDocument:t,edits:r};this._workspaceEdit.documentChanges.push(i),n=new ik(r,this._changeAnnotations),this._textEditChanges[t.uri]=n}return n}if(this.initChanges(),void 0===this._workspaceEdit.changes)throw Error("Workspace edit is not configured for normal text edit changes.");var n=this._textEditChanges[e];if(!n){var r=[];this._workspaceEdit.changes[e]=r,n=new ik(r),this._textEditChanges[e]=n}return n},e.prototype.initDocumentChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._changeAnnotations=new iT,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},e.prototype.initChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._workspaceEdit.changes=Object.create(null))},e.prototype.createFile=function(e,t,n){var r,i,o;if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");if(ej.is(t)||eq.is(t)?r=t:n=t,void 0===r?i=e$.create(e,n):(o=eq.is(r)?r:this._changeAnnotations.manage(r),i=e$.create(e,n,o)),this._workspaceEdit.documentChanges.push(i),void 0!==o)return o},e.prototype.renameFile=function(e,t,n,r){var i,o,s;if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");if(ej.is(n)||eq.is(n)?i=n:r=n,void 0===i?o=eW.create(e,t,r):(s=eq.is(i)?i:this._changeAnnotations.manage(i),o=eW.create(e,t,r,s)),this._workspaceEdit.documentChanges.push(o),void 0!==s)return s},e.prototype.deleteFile=function(e,t,n){var r,i,o;if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");if(ej.is(t)||eq.is(t)?r=t:n=t,void 0===r?i=eH.create(e,n):(o=eq.is(r)?r:this._changeAnnotations.manage(r),i=eH.create(e,n,o)),this._workspaceEdit.documentChanges.push(i),void 0!==o)return o}})(),function(e){e.create=function(e){return{uri:e}},e.is=function(e){return tg.defined(e)&&tg.string(e.uri)}}(eG||(eG={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){return tg.defined(e)&&tg.string(e.uri)&&tg.integer(e.version)}}(eJ||(eJ={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){return tg.defined(e)&&tg.string(e.uri)&&(null===e.version||tg.integer(e.version))}}(eX||(eX={})),function(e){e.create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},e.is=function(e){return tg.defined(e)&&tg.string(e.uri)&&tg.string(e.languageId)&&tg.integer(e.version)&&tg.string(e.text)}}(eZ||(eZ={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(eY||(eY={})),function(e){e.is=function(t){return t===e.PlainText||t===e.Markdown}}(eY||(eY={})),(eQ||(eQ={})).is=function(e){return tg.objectLiteral(e)&&eY.is(e.kind)&&tg.string(e.value)},function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(e1||(e1={})),function(e){e.PlainText=1,e.Snippet=2}(e0||(e0={})),(e2||(e2={})).Deprecated=1,function(e){e.create=function(e,t,n){return{newText:e,insert:t,replace:n}},e.is=function(e){return e&&tg.string(e.newText)&&ex.is(e.insert)&&ex.is(e.replace)}}(e4||(e4={})),function(e){e.asIs=1,e.adjustIndentation=2}(e5||(e5={})),(e7||(e7={})).create=function(e){return{label:e}},(e9||(e9={})).create=function(e,t){return{items:e||[],isIncomplete:!!t}},function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){return tg.string(e)||tg.objectLiteral(e)&&tg.string(e.language)&&tg.string(e.value)}}(e6||(e6={})),(e8||(e8={})).is=function(e){return!!e&&tg.objectLiteral(e)&&(eQ.is(e.contents)||e6.is(e.contents)||tg.typedArray(e.contents,e6.is))&&(void 0===e.range||ex.is(e.range))},(e3||(e3={})).create=function(e,t){return t?{label:e,documentation:t}:{label:e}},(te||(te={})).create=function(e,t){for(var n=[],r=2;r=n(i[s],o[a])?t[l++]=i[s++]:t[l++]=o[a++];for(;s=0;o--){var s=r[o],a=e.offsetAt(s.range.start),l=e.offsetAt(s.range.end);if(l<=i)n=n.substring(0,a)+s.newText+n.substring(l,n.length);else throw Error("Overlapping edit");i=a}return n}}(tm||(tm={}));var iR=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,r=0;r0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return eA.create(0,e);for(;ne?r=i:n=i+1}var o=n-1;return eA.create(o,e-t[o])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1e?r=i:n=i+1}let i=n-1;return{line:i,character:e-t[i]}}offsetAt(e){let t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;let n=t[e.line],r=e.line+1n.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function iP(e){let t=iI(e.range);return t!==e.range?{newText:e.newText,range:t}:e}function iV(e,t,...n){return 0===n.length?t:t.replace(/\{(\d+)\}/g,(e,t)=>{let r=t[0];return void 0!==n[r]?n[r]:e})}(function(e){e.create=function(e,t,n,r){return new iO(e,t,n,r)},e.update=function(e,t,n){if(e instanceof iO)return e.update(t,n),e;throw Error("TextDocument.update: document must be created by TextDocument.create")},e.applyEdits=function(e,t){let n=e.getText(),r=function e(t,n){if(t.length<=1)return t;let r=t.length/2|0,i=t.slice(0,r),o=t.slice(r);e(i,n),e(o,n);let s=0,a=0,l=0;for(;s=n(i[s],o[a])?t[l++]=i[s++]:t[l++]=o[a++];for(;s{let n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n}),i=0,o=[];for(let t of r){let r=e.offsetAt(t.range.start);if(ri&&o.push(n.substring(i,r)),t.newText.length&&o.push(t.newText),i=e.offsetAt(t.range.end)}return o.push(n.substr(i)),o.join("")}})(tp||(tp={})),function(e){e[e.Undefined=0]="Undefined",e[e.EnumValueMismatch=1]="EnumValueMismatch",e[e.Deprecated=2]="Deprecated",e[e.UnexpectedEndOfComment=257]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=258]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=259]="UnexpectedEndOfNumber",e[e.InvalidUnicode=260]="InvalidUnicode",e[e.InvalidEscapeCharacter=261]="InvalidEscapeCharacter",e[e.InvalidCharacter=262]="InvalidCharacter",e[e.PropertyExpected=513]="PropertyExpected",e[e.CommaExpected=514]="CommaExpected",e[e.ColonExpected=515]="ColonExpected",e[e.ValueExpected=516]="ValueExpected",e[e.CommaOrCloseBacketExpected=517]="CommaOrCloseBacketExpected",e[e.CommaOrCloseBraceExpected=518]="CommaOrCloseBraceExpected",e[e.TrailingComma=519]="TrailingComma",e[e.DuplicateKey=520]="DuplicateKey",e[e.CommentNotPermitted=521]="CommentNotPermitted",e[e.SchemaResolveError=768]="SchemaResolveError"}(tv||(tv={})),(tb||(tb={})).LATEST={textDocument:{completion:{completionItem:{documentationFormat:[eY.Markdown,eY.PlainText],commitCharactersSupport:!0}}}};var iF=function(){var e=function(t,n){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),iD={"color-hex":{errorMessage:iV("colorHexFormatWarning","Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA."),pattern:/^#([0-9A-Fa-f]{3,4}|([0-9A-Fa-f]{2}){3,4})$/},"date-time":{errorMessage:iV("dateTimeFormatWarning","String is not a RFC3339 date-time."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},date:{errorMessage:iV("dateFormatWarning","String is not a RFC3339 date."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$/i},time:{errorMessage:iV("timeFormatWarning","String is not a RFC3339 time."),pattern:/^([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},email:{errorMessage:iV("emailFormatWarning","String is not an e-mail address."),pattern:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}))$/},hostname:{errorMessage:iV("hostnameFormatWarning","String is not a hostname."),pattern:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i},ipv4:{errorMessage:iV("ipv4FormatWarning","String is not an IPv4 address."),pattern:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/},ipv6:{errorMessage:iV("ipv6FormatWarning","String is not an IPv6 address."),pattern:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i}},iK=function(){function e(e,t,n){void 0===n&&(n=0),this.offset=t,this.length=n,this.parent=e}return Object.defineProperty(e.prototype,"children",{get:function(){return[]},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return"type: "+this.type+" ("+this.offset+"/"+this.length+")"+(this.parent?" parent: {"+this.parent.toString()+"}":"")},e}(),ij=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="null",r.value=null,r}return iF(t,e),t}(iK),iq=function(e){function t(t,n,r){var i=e.call(this,t,r)||this;return i.type="boolean",i.value=n,i}return iF(t,e),t}(iK),iU=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="array",r.items=[],r}return iF(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.items},enumerable:!1,configurable:!0}),t}(iK),iB=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="number",r.isInteger=!0,r.value=Number.NaN,r}return iF(t,e),t}(iK),i$=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.type="string",i.value="",i}return iF(t,e),t}(iK),iW=function(e){function t(t,n,r){var i=e.call(this,t,n)||this;return i.type="property",i.colonOffset=-1,i.keyNode=r,i}return iF(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.valueNode?[this.keyNode,this.valueNode]:[this.keyNode]},enumerable:!1,configurable:!0}),t}(iK),iH=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="object",r.properties=[],r}return iF(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.properties},enumerable:!1,configurable:!0}),t}(iK);function iz(e){return iE(e)?e?{}:{not:{}}:e}!function(e){e[e.Key=0]="Key",e[e.Enum=1]="Enum"}(ty||(ty={}));var iG=function(){function e(e,t){void 0===e&&(e=-1),this.focusOffset=e,this.exclude=t,this.schemas=[]}return e.prototype.add=function(e){this.schemas.push(e)},e.prototype.merge=function(e){Array.prototype.push.apply(this.schemas,e.schemas)},e.prototype.include=function(e){return(-1===this.focusOffset||iZ(e,this.focusOffset))&&e!==this.exclude},e.prototype.newSub=function(){return new e(-1,this.exclude)},e}(),iJ=function(){function e(){}return Object.defineProperty(e.prototype,"schemas",{get:function(){return[]},enumerable:!1,configurable:!0}),e.prototype.add=function(e){},e.prototype.merge=function(e){},e.prototype.include=function(e){return!0},e.prototype.newSub=function(){return this},e.instance=new e,e}(),iX=function(){function e(){this.problems=[],this.propertiesMatches=0,this.propertiesValueMatches=0,this.primaryValueMatches=0,this.enumValueMatch=!1,this.enumValues=void 0}return e.prototype.hasProblems=function(){return!!this.problems.length},e.prototype.mergeAll=function(e){for(var t=0;t=e.offset&&t=0;)o.splice(t,1),t=o.indexOf(e)};if(t.properties)for(var p=0,v=Object.keys(t.properties);p0)for(var N=0;Nt.maxProperties&&n.problems.push({location:{offset:e.offset,length:e.length},message:iV("MaxPropWarning","Object has more properties than limit of {0}.",t.maxProperties)}),iA(t.minProperties)&&e.properties.length=i.length&&n.propertiesValueMatches++}if(e.items.length>i.length){if("object"==typeof t.additionalItems)for(var u=i.length;ut.maxItems&&n.problems.push({location:{offset:e.offset,length:e.length},message:iV("maxItemsWarning","Array has too many items. Expected {0} or fewer.",t.maxItems)}),!0===t.uniqueItems){var m=iS(e);m.some(function(e,t){return t!==m.lastIndexOf(e)})&&n.problems.push({location:{offset:e.offset,length:e.length},message:iV("uniqueItemsWarning","Array has duplicate items.")})}}(e,t,n,r);break;case"string":!function(e,t,n,r){if(iA(t.minLength)&&e.value.lengtht.maxLength&&n.problems.push({location:{offset:e.offset,length:e.length},message:iV("maxLengthWarning","String is longer than the maximum length of {0}.",t.maxLength)}),"string"==typeof t.pattern){var i=iN(t.pattern);(null==i?void 0:i.test(e.value))||n.problems.push({location:{offset:e.offset,length:e.length},message:t.patternErrorMessage||t.errorMessage||iV("patternWarning",'String does not match the pattern of "{0}".',t.pattern)})}if(t.format)switch(t.format){case"uri":case"uri-reference":var o=void 0;if(e.value){var s=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/.exec(e.value);s?s[2]||"uri"!==t.format||(o=iV("uriSchemeMissing","URI with a scheme is expected.")):o=iV("uriMissing","URI is expected.")}else o=iV("uriEmpty","URI expected.");o&&n.problems.push({location:{offset:e.offset,length:e.length},message:t.patternErrorMessage||t.errorMessage||iV("uriFormatWarning","String is not a URI: {0}",o)});break;case"color-hex":case"date-time":case"date":case"time":case"email":case"hostname":case"ipv4":case"ipv6":var a=iD[t.format];e.value&&a.pattern.exec(e.value)||n.problems.push({location:{offset:e.offset,length:e.length},message:t.patternErrorMessage||t.errorMessage||a.errorMessage})}}(e,t,n,0);break;case"number":!function(e,t,n,r){var i=e.value;function o(e){var t,n=/^(-?\d+)(?:\.(\d+))?(?:e([-+]\d+))?$/.exec(e.toString());return n&&{value:Number(n[1]+(n[2]||"")),multiplier:((null===(t=n[2])||void 0===t?void 0:t.length)||0)-(parseInt(n[3])||0)}}if(iA(t.multipleOf)){var s=-1;if(Number.isInteger(t.multipleOf))s=i%t.multipleOf;else{var a=o(t.multipleOf),l=o(i);if(a&&l){var u=Math.pow(10,Math.abs(l.multiplier-a.multiplier));l.multiplier=f&&n.problems.push({location:{offset:e.offset,length:e.length},message:iV("exclusiveMaximumWarning","Value is above the exclusive maximum of {0}.",f)});var m=h(t.minimum,t.exclusiveMinimum);iA(m)&&ig&&n.problems.push({location:{offset:e.offset,length:e.length},message:iV("maximumWarning","Value is above the maximum of {0}.",g)})}(e,t,n,0);break;case"property":return iQ(e.valueNode,t,n,r)}(function(){function i(t){return e.type===t||"integer"===t&&"number"===e.type&&e.isInteger}if(Array.isArray(t.type)?t.type.some(i)||n.problems.push({location:{offset:e.offset,length:e.length},message:t.errorMessage||iV("typeArrayMismatchWarning","Incorrect type. Expected one of {0}.",t.type.join(", "))}):t.type&&!i(t.type)&&n.problems.push({location:{offset:e.offset,length:e.length},message:t.errorMessage||iV("typeMismatchWarning",'Incorrect type. Expected "{0}".',t.type)}),Array.isArray(t.allOf))for(var o,s,a,l,u=0,c=t.allOf;u0?s={schema:l,validationResult:u,matchingSchemas:c}:0===h&&(s.matchingSchemas.merge(c),s.validationResult.mergeEnumValues(u))}else s.matchingSchemas.merge(c),s.validationResult.propertiesMatches+=u.propertiesMatches,s.validationResult.propertiesValueMatches+=u.propertiesValueMatches}else s={schema:l,validationResult:u,matchingSchemas:c}}return o.length>1&&i&&n.problems.push({location:{offset:e.offset,length:1},message:iV("oneOfWarning","Matches multiple schemas when only one must validate.")}),s&&(n.merge(s.validationResult),n.propertiesMatches+=s.validationResult.propertiesMatches,n.propertiesValueMatches+=s.validationResult.propertiesValueMatches,r.merge(s.matchingSchemas)),o.length};Array.isArray(t.anyOf)&&v(t.anyOf,!1),Array.isArray(t.oneOf)&&v(t.oneOf,!0);var b=function(t){var i=new iX,o=r.newSub();iQ(e,iz(t),i,o),n.merge(i),n.propertiesMatches+=i.propertiesMatches,n.propertiesValueMatches+=i.propertiesValueMatches,r.merge(o)},y=iz(t.if);if(y&&(o=iz(t.then),s=iz(t.else),iQ(e,iz(y),a=new iX,l=r.newSub()),r.merge(l),a.hasProblems()?s&&b(s):o&&b(o)),Array.isArray(t.enum)){for(var C=iS(e),_=!1,S=0,w=t.enum;S=0;t--){var n=this.contributions[t].resolveCompletion;if(n){var r=n(e);if(r)return r}}return this.promiseConstructor.resolve(e)},e.prototype.doComplete=function(e,t,n){var r,i=this,o={items:[],isIncomplete:!1},s=e.getText(),a=e.offsetAt(t),l=n.getNodeFromOffset(a,!0);if(this.isInComment(e,l?l.offset:0,a))return Promise.resolve(o);if(l&&a===l.offset+l.length&&a>0){var u=s[a-1];("object"===l.type&&"}"===u||"array"===l.type&&"]"===u)&&(l=l.parent)}var c=this.getCurrentWord(e,a);if(l&&("string"===l.type||"number"===l.type||"boolean"===l.type||"null"===l.type))r=ex.create(e.positionAt(l.offset),e.positionAt(l.offset+l.length));else{var h=a-c.length;h>0&&'"'===s[h-1]&&h--,r=ex.create(e.positionAt(h),t)}var d={},f={add:function(e){var t=e.label,n=d[t];if(n)n.documentation||(n.documentation=e.documentation),n.detail||(n.detail=e.detail);else{if((t=t.replace(/[\n]/g,"↵")).length>60){var i=t.substr(0,57).trim()+"...";d[i]||(t=i)}r&&void 0!==e.insertText&&(e.textEdit=eK.replace(r,e.insertText)),e.label=t,d[t]=e,o.items.push(e)}},setAsIncomplete:function(){o.isIncomplete=!0},error:function(e){console.error(e)},log:function(e){console.log(e)},getNumberOfProposals:function(){return o.items.length}};return this.schemaService.getSchemaForResource(e.uri,n).then(function(t){var u=[],h=!0,m="",g=void 0;if(l&&"string"===l.type){var p=l.parent;p&&"property"===p.type&&p.keyNode===l&&(h=!p.valueNode,g=p,m=s.substr(l.offset+1,l.length-2),p&&(l=p.parent))}if(l&&"object"===l.type){if(l.offset===a)return o;l.properties.forEach(function(e){g&&g===e||(d[e.keyNode.value]=e7.create("__"))});var v="";h&&(v=i.evaluateSeparatorAfter(e,e.offsetAt(r.end))),t?i.getPropertyCompletions(t,n,l,h,v,f):i.getSchemaLessPropertyCompletions(n,l,m,f);var b=i_(l);i.contributions.forEach(function(t){var n=t.collectPropertyCompletions(e.uri,b,c,h,""===v,f);n&&u.push(n)}),!t&&c.length>0&&'"'!==s.charAt(a-c.length-1)&&(f.add({kind:e1.Property,label:i.getLabelForValue(c),insertText:i.getInsertTextForProperty(c,void 0,!1,v),insertTextFormat:e0.Snippet,documentation:""}),f.setAsIncomplete())}var y={};return t?i.getValueCompletions(t,n,l,a,e,f,y):i.getSchemaLessValueCompletions(n,l,a,e,f),i.contributions.length>0&&i.getContributedValueCompletions(n,l,a,e,f,u),i.promiseConstructor.all(u).then(function(){if(0===f.getNumberOfProposals()){var t=a;l&&("string"===l.type||"number"===l.type||"boolean"===l.type||"null"===l.type)&&(t=l.offset+l.length);var n=i.evaluateSeparatorAfter(e,t);i.addFillerValueCompletions(y,n,f)}return o})})},e.prototype.getPropertyCompletions=function(e,t,n,r,i,o){var s=this;t.getMatchingSchemas(e.schema,n.offset).forEach(function(e){if(e.node===n&&!e.inverted){var t=e.schema.properties;t&&Object.keys(t).forEach(function(e){var n=t[e];if("object"==typeof n&&!n.deprecationMessage&&!n.doNotSuggest){var a={kind:e1.Property,label:e,insertText:s.getInsertTextForProperty(e,n,r,i),insertTextFormat:e0.Snippet,filterText:s.getFilterTextForValue(e),documentation:s.fromMarkup(n.markdownDescription)||n.description||""};void 0!==n.suggestSortText&&(a.sortText=n.suggestSortText),a.insertText&&iL(a.insertText,"$1".concat(i))&&(a.command={title:"Suggest",command:"editor.action.triggerSuggest"}),o.add(a)}});var a=e.schema.propertyNames;if("object"==typeof a&&!a.deprecationMessage&&!a.doNotSuggest){var l=function(e,t){void 0===t&&(t=void 0);var n={kind:e1.Property,label:e,insertText:s.getInsertTextForProperty(e,void 0,r,i),insertTextFormat:e0.Snippet,filterText:s.getFilterTextForValue(e),documentation:t||s.fromMarkup(a.markdownDescription)||a.description||""};void 0!==a.suggestSortText&&(n.sortText=a.suggestSortText),n.insertText&&iL(n.insertText,"$1".concat(i))&&(n.command={title:"Suggest",command:"editor.action.triggerSuggest"}),o.add(n)};if(a.enum)for(var u=0;u(t.colonOffset||0)){var u=t.valueNode;if(u&&(n>u.offset+u.length||"object"===u.type||"array"===u.type))return;var c=t.keyNode.value;e.visit(function(e){return"property"===e.type&&e.keyNode.value===c&&e.valueNode&&l(e.valueNode),!0}),"$schema"===c&&t.parent&&!t.parent.parent&&this.addDollarSchemaCompletions(a,i)}if("array"===t.type){if(t.parent&&"property"===t.parent.type){var h=t.parent.keyNode.value;e.visit(function(e){return"property"===e.type&&e.keyNode.value===h&&e.valueNode&&"array"===e.valueNode.type&&e.valueNode.items.forEach(l),!0})}else t.items.forEach(l)}},e.prototype.getValueCompletions=function(e,t,n,r,i,o,s){var a=r,l=void 0,u=void 0;if(n&&("string"===n.type||"number"===n.type||"boolean"===n.type||"null"===n.type)&&(a=n.offset+n.length,u=n,n=n.parent),!n){this.addSchemaValueCompletions(e.schema,"",o,s);return}if("property"===n.type&&r>(n.colonOffset||0)){var c=n.valueNode;if(c&&r>c.offset+c.length)return;l=n.keyNode.value,n=n.parent}if(n&&(void 0!==l||"array"===n.type)){for(var h=this.evaluateSeparatorAfter(i,a),d=t.getMatchingSchemas(e.schema,n.offset,u),f=0;f(t.colonOffset||0)){var s=t.keyNode.value,a=t.valueNode;if((!a||n<=a.offset+a.length)&&t.parent){var l=i_(t.parent);this.contributions.forEach(function(e){var t=e.collectValueCompletions(r.uri,l,s,i);t&&o.push(t)})}}}else this.contributions.forEach(function(e){var t=e.collectDefaultCompletions(r.uri,i);t&&o.push(t)})},e.prototype.addSchemaValueCompletions=function(e,t,n,r){var i=this;"object"==typeof e&&(this.addEnumValueCompletions(e,t,n),this.addDefaultValueCompletions(e,t,n),this.collectTypes(e,r),Array.isArray(e.allOf)&&e.allOf.forEach(function(e){return i.addSchemaValueCompletions(e,t,n,r)}),Array.isArray(e.anyOf)&&e.anyOf.forEach(function(e){return i.addSchemaValueCompletions(e,t,n,r)}),Array.isArray(e.oneOf)&&e.oneOf.forEach(function(e){return i.addSchemaValueCompletions(e,t,n,r)}))},e.prototype.addDefaultValueCompletions=function(e,t,n,r){var i=this;void 0===r&&(r=0);var o=!1;if(ix(e.default)){for(var s=e.type,a=e.default,l=r;l>0;l--)a=[a],s="array";n.add({kind:this.getSuggestionKind(s),label:this.getLabelForValue(a),insertText:this.getInsertTextForValue(a,t),insertTextFormat:e0.Snippet,detail:iV("json.suggest.default","Default value")}),o=!0}Array.isArray(e.examples)&&e.examples.forEach(function(s){for(var a=e.type,l=s,u=r;u>0;u--)l=[l],a="array";n.add({kind:i.getSuggestionKind(a),label:i.getLabelForValue(l),insertText:i.getInsertTextForValue(l,t),insertTextFormat:e0.Snippet}),o=!0}),Array.isArray(e.defaultSnippets)&&e.defaultSnippets.forEach(function(s){var a,l,u=e.type,c=s.body,h=s.label;if(ix(c)){e.type;for(var d=r;d>0;d--)c=[c];a=i.getInsertTextForSnippetValue(c,t),l=i.getFilterTextForSnippetValue(c),h=h||i.getLabelForSnippetValue(c)}else{if("string"!=typeof s.bodyText)return;for(var f="",m="",g="",d=r;d>0;d--)f=f+g+"[\n",m=m+"\n"+g+"]",g+=" ",u="array";a=f+g+s.bodyText.split("\n").join("\n"+g)+m+t,h=h||a,l=a.replace(/[\n]/g,"")}n.add({kind:i.getSuggestionKind(u),label:h,documentation:i.fromMarkup(s.markdownDescription)||s.description,insertText:a,insertTextFormat:e0.Snippet,filterText:l}),o=!0}),o||"object"!=typeof e.items||Array.isArray(e.items)||!(r<5)||this.addDefaultValueCompletions(e.items,t,n,r+1)},e.prototype.addEnumValueCompletions=function(e,t,n){if(ix(e.const)&&n.add({kind:this.getSuggestionKind(e.type),label:this.getLabelForValue(e.const),insertText:this.getInsertTextForValue(e.const,t),insertTextFormat:e0.Snippet,documentation:this.fromMarkup(e.markdownDescription)||e.description}),Array.isArray(e.enum))for(var r=0,i=e.enum.length;r0?t[0]:void 0}if(!e)return e1.Value;switch(e){case"string":default:return e1.Value;case"object":return e1.Module;case"property":return e1.Property}},e.prototype.getLabelTextForMatchingNode=function(e,t){switch(e.type){case"array":return"[]";case"object":return"{}";default:return t.getText().substr(e.offset,e.length)}},e.prototype.getInsertTextForMatchingNode=function(e,t,n){switch(e.type){case"array":return this.getInsertTextForValue([],n);case"object":return this.getInsertTextForValue({},n);default:var r=t.getText().substr(e.offset,e.length)+n;return this.getInsertTextForPlainText(r)}},e.prototype.getInsertTextForProperty=function(e,t,n,r){var i,o=this.getInsertTextForValue(e,"");if(!n)return o;var s=0;if(t){if(Array.isArray(t.defaultSnippets)){if(1===t.defaultSnippets.length){var a=t.defaultSnippets[0].body;ix(a)&&(i=this.getInsertTextForSnippetValue(a,""))}s+=t.defaultSnippets.length}if(t.enum&&(i||1!==t.enum.length||(i=this.getInsertTextForGuessedValue(t.enum[0],"")),s+=t.enum.length),ix(t.default)&&(i||(i=this.getInsertTextForGuessedValue(t.default,"")),s++),Array.isArray(t.examples)&&t.examples.length&&(i||(i=this.getInsertTextForGuessedValue(t.examples[0],"")),s+=t.examples.length),0===s){var l=Array.isArray(t.type)?t.type[0]:t.type;switch(!l&&(t.properties?l="object":t.items&&(l="array")),l){case"boolean":i="$1";break;case"string":i='"$1"';break;case"object":i="{$1}";break;case"array":i="[$1]";break;case"number":case"integer":i="${1:0}";break;case"null":i="${1:null}";break;default:return o}}}return(!i||s>1)&&(i="$1"),o+": "+i+r},e.prototype.getCurrentWord=function(e,t){for(var n=t-1,r=e.getText();n>=0&&-1===' \n\r\v":{[,]}'.indexOf(r.charAt(n));)n--;return r.substring(n+1,t)},e.prototype.evaluateSeparatorAfter=function(e,t){var n=id(e.getText(),!0);switch(n.setPosition(t),n.scan()){case 5:case 2:case 4:case 17:return"";default:return","}},e.prototype.findItemAtOffset=function(e,t,n){for(var r=id(t.getText(),!0),i=e.items,o=i.length-1;o>=0;o--){var s=i[o];if(n>s.offset+s.length){if(r.setPosition(s.offset+s.length),5===r.scan()&&n>=r.getTokenOffset()+r.getTokenLength())return o+1;return o}if(n>=s.offset)return o}return 0},e.prototype.isInComment=function(e,t,n){var r=id(e.getText(),!1);r.setPosition(t);for(var i=r.scan();17!==i&&r.getTokenOffset()+r.getTokenLength()i.offset+1&&r=0;c--){var h=this.contributions[c].getInfoContribution(e.uri,u);if(h)return h.then(function(e){return l(e)})}return this.schemaService.getSchemaForResource(e.uri,n).then(function(e){if(e&&i){var t,r=n.getMatchingSchemas(e.schema,i.offset),o=void 0,s=void 0,a=void 0,u=void 0;r.every(function(e){if(e.node===i&&!e.inverted&&e.schema&&(o=o||e.schema.title,s=s||e.schema.markdownDescription||i2(e.schema.description),e.schema.enum)){var t=e.schema.enum.indexOf(iS(i));e.schema.markdownEnumDescriptions?a=e.schema.markdownEnumDescriptions[t]:e.schema.enumDescriptions&&(a=i2(e.schema.enumDescriptions[t])),a&&"string"!=typeof(u=e.schema.enum[t])&&(u=JSON.stringify(u))}return!0});var c="";return o&&(c=i2(o)),s&&(c.length>0&&(c+="\n\n"),c+=s),a&&(c.length>0&&(c+="\n\n"),c+="`".concat(-1!==(t=u).indexOf("`")?"`` "+t+" ``":t,"`: ").concat(a)),l([c])}return null})},e}();function i2(e){if(e)return e.replace(/([^\n\r])(\r?\n)([^\n\r])/gm,"$1\n\n$3").replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}var i4=function(){function e(e,t){this.jsonSchemaService=e,this.promise=t,this.validationEnabled=!0}return e.prototype.configure=function(e){e&&(this.validationEnabled=!1!==e.validate,this.commentSeverity=e.allowComments?void 0:eI.Error)},e.prototype.doValidation=function(e,t,n,r){var i=this;if(!this.validationEnabled)return this.promise.resolve([]);var o=[],s={},a=function(e){var t=e.range.start.line+" "+e.range.start.character+" "+e.message;s[t]||(s[t]=!0,o.push(e))},l=function(r){var s=(null==n?void 0:n.trailingCommas)?i7(n.trailingCommas):eI.Error,l=(null==n?void 0:n.comments)?i7(n.comments):i.commentSeverity,u=(null==n?void 0:n.schemaValidation)?i7(n.schemaValidation):eI.Warning,c=(null==n?void 0:n.schemaRequest)?i7(n.schemaRequest):eI.Warning;if(r){if(r.errors.length&&t.root&&c){var h=t.root,d="object"===h.type?h.properties[0]:void 0;if(d&&"$schema"===d.keyNode.value){var f=d.valueNode||d,m=ex.create(e.positionAt(f.offset),e.positionAt(f.offset+f.length));a(eF.create(m,r.errors[0],c,tv.SchemaResolveError))}else{var m=ex.create(e.positionAt(h.offset),e.positionAt(h.offset+1));a(eF.create(m,r.errors[0],c,tv.SchemaResolveError))}}else if(u){var g=t.validate(e,r.schema,u);g&&g.forEach(a)}(function e(t){if(t&&"object"==typeof t){if(iE(t.allowComments))return t.allowComments;if(t.allOf)for(var n=0,r=t.allOf;n=97&&e<=102)?e-97+10:0}var i6=function(){function e(e){this.schemaService=e}return e.prototype.findDocumentSymbols=function(e,t,n){var r=this;void 0===n&&(n={resultLimit:Number.MAX_VALUE});var i=t.root;if(!i)return[];var o=n.resultLimit||Number.MAX_VALUE,s=e.uri;if(("vscode://defaultsettings/keybindings.json"===s||iL(s.toLowerCase(),"/user/keybindings.json"))&&"array"===i.type){for(var a=[],l=0,u=i.items;l0){o--;var s=eE.create(e.uri,i8(e,t)),a=n?n+"."+t.keyNode.value:t.keyNode.value;b.push({name:r.getKeyLabel(t),kind:r.getSymbolKind(i.type),location:s,containerName:n}),g.push({node:i,containerName:a})}else v=!0}})};p0){o--;var s=i8(e,t),a={name:String(i),kind:r.getSymbolKind(t.type),range:s,selectionRange:s,children:[]};n.push(a),v.push({result:a.children,node:t})}else y=!0}}):"object"===t.type&&t.properties.forEach(function(t){var i=t.valueNode;if(i){if(o>0){o--;var s=i8(e,t),a=i8(e,t.keyNode),l=[],u={name:r.getKeyLabel(t),kind:r.getSymbolKind(i.type),range:s,selectionRange:a,children:l,detail:r.getDetail(i)};n.push(u),v.push({result:l,node:i})}else y=!0}})};b{var e={470:e=>{function t(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function n(e,t){for(var n,r="",i=0,o=-1,s=0,a=0;a<=e.length;++a){if(a2){var l=r.lastIndexOf("/");if(l!==r.length-1){-1===l?(r="",i=0):i=(r=r.slice(0,l)).length-1-r.lastIndexOf("/"),o=a,s=0;continue}}else if(2===r.length||1===r.length){r="",i=0,o=a,s=0;continue}}t&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+e.slice(o+1,a):r=e.slice(o+1,a),i=a-o-1;o=a,s=0}else 46===n&&-1!==s?++s:s=-1}return r}var r={resolve:function(){for(var e,r,i="",o=!1,s=arguments.length-1;s>=-1&&!o;s--)s>=0?e=arguments[s]:(void 0===r&&(r=ih.cwd()),e=r),t(e),0!==e.length&&(i=e+"/"+i,o=47===e.charCodeAt(0));return i=n(i,!o),o?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(e){if(t(e),0===e.length)return".";var r=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0!==(e=n(e,!r)).length||r||(e="."),e.length>0&&i&&(e+="/"),r?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0==arguments.length)return".";for(var e,n=0;n0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":r.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n||(e=r.resolve(e))===(n=r.resolve(n)))return"";for(var i=1;iu){if(47===n.charCodeAt(a+h))return n.slice(a+h+1);if(0===h)return n.slice(a+h)}else s>u&&(47===e.charCodeAt(i+h)?c=h:0===h&&(c=0));break}var d=e.charCodeAt(i+h);if(d!==n.charCodeAt(a+h))break;47===d&&(c=h)}var f="";for(h=i+c+1;h<=o;++h)h!==o&&47!==e.charCodeAt(h)||(0===f.length?f+="..":f+="/..");return f.length>0?f+n.slice(a+c):(a+=c,47===n.charCodeAt(a)&&++a,n.slice(a))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),r=47===n,i=-1,o=!0,s=e.length-1;s>=1;--s)if(47===(n=e.charCodeAt(s))){if(!o){i=s;break}}else o=!1;return -1===i?r?"/":".":r&&1===i?"//":e.slice(0,i)},basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw TypeError('"ext" argument must be a string');t(e);var r,i=0,o=-1,s=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var a=n.length-1,l=-1;for(r=e.length-1;r>=0;--r){var u=e.charCodeAt(r);if(47===u){if(!s){i=r+1;break}}else -1===l&&(s=!1,l=r+1),a>=0&&(u===n.charCodeAt(a)?-1==--a&&(o=r):(a=-1,o=l))}return i===o?o=l:-1===o&&(o=e.length),e.slice(i,o)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!s){i=r+1;break}}else -1===o&&(s=!1,o=r+1);return -1===o?"":e.slice(i,o)},extname:function(e){t(e);for(var n=-1,r=0,i=-1,o=!0,s=0,a=e.length-1;a>=0;--a){var l=e.charCodeAt(a);if(47!==l)-1===i&&(o=!1,i=a+1),46===l?-1===n?n=a:1!==s&&(s=1):-1!==n&&(s=-1);else if(!o){r=a+1;break}}return -1===n||-1===i||0===s||1===s&&n===i-1&&n===r+1?"":e.slice(n,i)},format:function(e){var t,n;if(null===e||"object"!=typeof e)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return t=e.dir||e.root,n=e.base||(e.name||"")+(e.ext||""),t?t===e.root?t+n:t+"/"+n:n},parse:function(e){t(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var r,i=e.charCodeAt(0),o=47===i;o?(n.root="/",r=1):r=0;for(var s=-1,a=0,l=-1,u=!0,c=e.length-1,h=0;c>=r;--c)if(47!==(i=e.charCodeAt(c)))-1===l&&(u=!1,l=c+1),46===i?-1===s?s=c:1!==h&&(h=1):-1!==s&&(h=-1);else if(!u){a=c+1;break}return -1===s||-1===l||0===h||1===h&&s===l-1&&s===a+1?-1!==l&&(n.base=n.name=0===a&&o?e.slice(1,l):e.slice(a,l)):(0===a&&o?(n.name=e.slice(1,s),n.base=e.slice(1,l)):(n.name=e.slice(a,s),n.base=e.slice(a,l)),n.ext=e.slice(s,l)),a>0?n.dir=e.slice(0,a-1):o&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};r.posix=r,e.exports=r},447:(e,t,n)=>{(n.r(t),n.d(t,{URI:()=>d,Utils:()=>S}),"object"==typeof ih)?r="win32"===ih.platform:"object"==typeof navigator&&(r=navigator.userAgent.indexOf("Windows")>=0);var r,i,o,s=(i=function(e,t){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=/^\w[\w\d+.-]*$/,l=/^\//,u=/^\/\//;function c(e,t){if(!e.scheme&&t)throw Error('[UriError]: Scheme is missing: {scheme: "", authority: "'.concat(e.authority,'", path: "').concat(e.path,'", query: "').concat(e.query,'", fragment: "').concat(e.fragment,'"}'));if(e.scheme&&!a.test(e.scheme))throw Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!l.test(e.path))throw Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(u.test(e.path))throw Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}var h=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,d=function(){function e(e,t,n,r,i,o){var s;void 0===o&&(o=!1),"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=(s=o,e||s?e:"file"),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?"/"!==t[0]&&(t="/"+t):t="/"}return t}(this.scheme,n||""),this.query=r||"",this.fragment=i||"",c(this,o))}return e.isUri=function(t){return t instanceof e||!!t&&"string"==typeof t.authority&&"string"==typeof t.fragment&&"string"==typeof t.path&&"string"==typeof t.query&&"string"==typeof t.scheme&&"string"==typeof t.fsPath&&"function"==typeof t.with&&"function"==typeof t.toString},Object.defineProperty(e.prototype,"fsPath",{get:function(){return b(this,!1)},enumerable:!1,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,r=e.path,i=e.query,o=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===r?r=this.path:null===r&&(r=""),void 0===i?i=this.query:null===i&&(i=""),void 0===o?o=this.fragment:null===o&&(o=""),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&o===this.fragment?this:new m(t,n,r,i,o)},e.parse=function(e,t){void 0===t&&(t=!1);var n=h.exec(e);return n?new m(n[2]||"",_(n[4]||""),_(n[5]||""),_(n[7]||""),_(n[9]||""),t):new m("","","","","")},e.file=function(e){var t="";if(r&&(e=e.replace(/\\/g,"/")),"/"===e[0]&&"/"===e[1]){var n=e.indexOf("/",2);-1===n?(t=e.substring(2),e="/"):(t=e.substring(2,n),e=e.substring(n)||"/")}return new m("file",t,e,"","")},e.from=function(e){var t=new m(e.scheme,e.authority,e.path,e.query,e.fragment);return c(t,!0),t},e.prototype.toString=function(e){return void 0===e&&(e=!1),y(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new m(t);return n._formatted=t.external,n._fsPath=t._sep===f?t.fsPath:null,n}return t},e}(),f=r?1:void 0,m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return s(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=b(this,!1)),this._fsPath},enumerable:!1,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?y(this,!0):(this._formatted||(this._formatted=y(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=f),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e},t}(d),g=((o={})[58]="%3A",o[47]="%2F",o[63]="%3F",o[35]="%23",o[91]="%5B",o[93]="%5D",o[64]="%40",o[33]="%21",o[36]="%24",o[38]="%26",o[39]="%27",o[40]="%28",o[41]="%29",o[42]="%2A",o[43]="%2B",o[44]="%2C",o[59]="%3B",o[61]="%3D",o[32]="%20",o);function p(e,t){for(var n=void 0,r=-1,i=0;i=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),void 0!==n&&(n+=e.charAt(i));else{void 0===n&&(n=e.substr(0,i));var s=g[o];void 0!==s?(-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=s):-1===r&&(r=i)}}return -1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function v(e){for(var t=void 0,n=0;n1&&"file"===e.scheme?"//".concat(e.authority).concat(e.path):47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&90>=e.path.charCodeAt(1)||e.path.charCodeAt(1)>=97&&122>=e.path.charCodeAt(1))&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,r&&(n=n.replace(/\//g,"\\")),n}function y(e,t){var n,r=t?v:p,i="",o=e.scheme,s=e.authority,a=e.path,l=e.query,u=e.fragment;if(o&&(i+=o+":"),(s||"file"===o)&&(i+="//"),s){var c=s.indexOf("@");if(-1!==c){var h=s.substr(0,c);s=s.substr(c+1),-1===(c=h.indexOf(":"))?i+=r(h,!1):i+=r(h.substr(0,c),!1)+":"+r(h.substr(c+1),!1),i+="@"}-1===(c=(s=s.toLowerCase()).indexOf(":"))?i+=r(s,!1):i+=r(s.substr(0,c),!1)+s.substr(c)}return a&&(a.length>=3&&47===a.charCodeAt(0)&&58===a.charCodeAt(2)?(n=a.charCodeAt(1))>=65&&n<=90&&(a="/".concat(String.fromCharCode(n+32),":").concat(a.substr(3))):a.length>=2&&58===a.charCodeAt(1)&&(n=a.charCodeAt(0))>=65&&n<=90&&(a="".concat(String.fromCharCode(n+32),":").concat(a.substr(2))),i+=r(a,!0)),l&&(i+="?"+r(l,!1)),u&&(i+="#"+(t?u:p(u,!1))),i}var C=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function _(e){return e.match(C)?e.replace(C,function(e){return function e(t){try{return decodeURIComponent(t)}catch(n){return t.length>3?t.substr(0,3)+e(t.substr(3)):t}}(e)}):e}var S,w=n(470),A=function(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n(447)})(),or=function(){function e(e,t){this.globWrappers=[];try{for(var n=0;n0&&("/"===r[0]&&(r=r.substring(1)),this.globWrappers.push({regexp:function(e,t){if("string"!=typeof e)throw TypeError("Expected a string");for(var n,r=String(e),i="",o=!!t&&!!t.extended,s=!!t&&!!t.globstar,a=!1,l=t&&"string"==typeof t.flags?t.flags:"",u=0,c=r.length;u1&&("/"===h||void 0===h||"{"===h||","===h)&&("/"===f||void 0===f||","===f||"}"===f)?("/"===f?u++:"/"===h&&i.endsWith("\\/")&&(i=i.substr(0,i.length-2)),i+="((?:[^/]*(?:/|$))*)"):i+="([^/]*)":i+=".*";break;default:i+=n}return l&&~l.indexOf("g")||(i="^"+i+"$"),new RegExp(i,l)}("**/"+r,{extended:!0,globstar:!0}),include:i}))}this.uris=t}catch(e){this.globWrappers.length=0,this.uris=[]}}return e.prototype.matchesPattern=function(e){for(var t=!1,n=0,r=this.globWrappers;n0;)this.callOnDispose.pop()()},e.prototype.onResourceChange=function(e){var t=this;this.cachedSchemaForResource=void 0;for(var n=!1,r=[e=ou(e)],i=Object.keys(this.schemasById).map(function(e){return t.schemasById[e]});r.length;)for(var o=r.pop(),s=0;s1&&(n=r[1]),iL(n,".")&&(n=n.substr(0,n.length-1)),new oo({},[iV("json.schema.nocontent","Unable to load schema from '{0}': {1}.",oc(e),n)])})},e.prototype.resolveSchemaContent=function(e,t){var n=this,r=e.errors.slice(0),i=e.schema;if(i.$schema){var o=ou(i.$schema);if("http://json-schema.org/draft-03/schema"===o)return this.promise.resolve(new os({},[iV("json.schema.draft03.notsupported","Draft-03 schemas are not supported.")]));"https://json-schema.org/draft/2019-09/schema"===o?r.push(iV("json.schema.draft201909.notsupported","Draft 2019-09 schemas are not yet fully supported.")):"https://json-schema.org/draft/2020-12/schema"===o&&r.push(iV("json.schema.draft202012.notsupported","Draft 2020-12 schemas are not yet fully supported."))}var s=this.contextService,a=function(e,t){t=decodeURIComponent(t);var n=e;return"/"===t[0]&&(t=t.substring(1)),t.split("/").some(function(e){return!(n=n[e=e.replace(/~1/g,"/").replace(/~0/g,"~")])}),n},l=function(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&"id"!==n&&"$id"!==n&&(e[n]=t[n])},u=function(e,t,n,i){var o;void 0===i||0===i.length?o=t:"/"===i.charAt(0)?o=a(t,i):(n.anchors||(n.anchors=d(t)),o=n.anchors.get(i)),o?l(e,o):r.push(iV("json.schema.invalidid","$ref '{0}' in '{1}' can not be resolved.",i,n.uri))},c=function(e,t,i,o){s&&!/^[A-Za-z][A-Za-z0-9+\-.+]*:\/\/.*/.test(t)&&(t=s.resolveRelativePath(t,o.uri)),t=ou(t);var a=n.getOrAddSchemaHandle(t);return a.getUnresolvedSchema().then(function(n){if(o.dependencies.add(t),n.errors.length){var s=i?t+"#"+i:t;r.push(iV("json.schema.problemloadingref","Problems loading reference '{0}': {1}",s,n.errors[0]))}return u(e,n.schema,a,i),h(e,n.schema,a)})},h=function(e,t,r){var i=[];return n.traverseNodes(e,function(e){for(var n=new Set;e.$ref;){var o=e.$ref,s=o.split("#",2);if(delete e.$ref,s[0].length>0){i.push(c(e,s[0],s[1],r));return}n.has(o)||(u(e,t,r,s[1]),n.add(o))}}),n.promise.all(i)},d=function(e){var t=new Map;return n.traverseNodes(e,function(e){var n=e.$id||e.id;if("string"==typeof n&&"#"===n.charAt(0)){var i=n.substring(1);t.has(i)?r.push(iV("json.schema.duplicateid","Duplicate id declaration: '{0}'",n)):t.set(i,e)}}),t};return h(i,i,t).then(function(e){return new os(i,r)})},e.prototype.traverseNodes=function(e,t){if(!e||"object"!=typeof e)return Promise.resolve(null);for(var n=new Set,r=[e],i=r.pop();i;)n.has(i)||(n.add(i),t(i),function(){for(var e=[],t=0;t0?this.createCombinedSchema(e,i).getResolvedSchema():this.promise.resolve(void 0);return this.cachedSchemaForResource={resource:e,resolvedSchema:o},o},e.prototype.createCombinedSchema=function(e,t){if(1===t.length)return this.getOrAddSchemaHandle(t[0]);var n="schemaservice://combinedSchema/"+encodeURIComponent(e),r={allOf:t.map(function(e){return{$ref:e}})};return this.addSchemaHandle(n,r)},e.prototype.getMatchingSchemas=function(e,t,n){if(n){var r=n.id||"schemaservice://untitled/matchingSchemas/"+ol++;return this.addSchemaHandle(r,n).getResolvedSchema().then(function(e){return t.getMatchingSchemas(e.schema).filter(function(e){return!e.inverted})})}return this.getSchemaForResource(e.uri,t).then(function(e){return e?t.getMatchingSchemas(e.schema).filter(function(e){return!e.inverted}):[]})},e}(),ol=0;function ou(e){try{return ot.parse(e).toString(!0)}catch(t){return e}}function oc(e){try{var t=ot.parse(e);if("file"===t.scheme)return t.fsPath}catch(e){}return e}function oh(e,t){var n=[],r=[],i=[],o=-1,s=id(e.getText(),!1),a=s.scan();function l(e){n.push(e),r.push(i.length)}for(;17!==a;){switch(a){case 1:case 3:var u=e.positionAt(s.getTokenOffset()).line,c={startLine:u,endLine:u,kind:1===a?"object":"array"};i.push(c);break;case 2:case 4:var h=2===a?"object":"array";if(i.length>0&&i[i.length-1].kind===h){var c=i.pop(),d=e.positionAt(s.getTokenOffset()).line;c&&d>c.startLine+1&&o!==c.startLine&&(c.endLine=d-1,l(c),o=c.startLine)}break;case 13:var u=e.positionAt(s.getTokenOffset()).line,f=e.positionAt(s.getTokenOffset()+s.getTokenLength()).line;1===s.getTokenError()&&u+1=0&&i[g].kind!==eR.Region;)g--;if(g>=0){var c=i[g];i.length=g,d>c.startLine&&o!==c.startLine&&(c.endLine=d,l(c),o=c.startLine)}}}}a=s.scan()}var p=t&&t.rangeLimit;if("number"!=typeof p||n.length<=p)return n;t&&t.onRangeLimitExceeded&&t.onRangeLimitExceeded(e.uri);for(var v=[],b=0;bp){_=g;break}C+=S}}for(var w=[],g=0;g=l&&o<=u&&a.push(r(l,u)),a.push(r(s.offset,s.offset+s.length));break;case"number":case"boolean":case"null":case"property":a.push(r(s.offset,s.offset+s.length))}if("property"===s.type||s.parent&&"array"===s.parent.type){var c,h=(c=s.offset+s.length,(i.setPosition(c),5===i.scan())?i.getTokenOffset()+i.getTokenLength():-1);-1!==h&&a.push(r(s.offset,h))}s=s.parent}for(var d=void 0,f=a.length-1;f>=0;f--)d=tf.create(a[f],d);return d||(d=tf.create(ex.create(t,t))),d})}function of(e,t){var n=[];return t.visit(function(r){var i;if("property"===r.type&&"$ref"===r.keyNode.value&&(null===(i=r.valueNode)||void 0===i?void 0:i.type)==="string"){var o=(a="#"===(s=r.valueNode.value)?[]:"#"!==s[0]||"/"!==s[1]?null:s.substring(2).split(/\//).map(om))?function e(t,n){if(!n)return null;if(0===t.length)return n;var r=t.shift();if(n&&"object"===n.type){var i=n.properties.find(function(e){return e.keyNode.value===r});return i?e(t,i.valueNode):null}if(n&&"array"===n.type&&r.match(/^(0|[1-9][0-9]*)$/)){var o=Number.parseInt(r),s=n.items[o];return s?e(t,s):null}return null}(a,t.root):null;if(o){var s,a,l,u=e.positionAt(o.offset);n.push({target:"".concat(e.uri,"#").concat(u.line+1,",").concat(u.character+1),range:(l=r.valueNode,ex.create(e.positionAt(l.offset+1),e.positionAt(l.offset+l.length-1)))})}}return!0}),Promise.resolve(n)}function om(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}"undefined"!=typeof fetch&&(tx=function(e){return fetch(e).then(e=>e.text())});var og=class{_ctx;_languageService;_languageSettings;_languageId;constructor(e,t){this._ctx=e,this._languageSettings=t.languageSettings,this._languageId=t.languageId,this._languageService=function(e){var t=e.promiseConstructor||Promise,n=new oa(e.schemaRequestService,e.workspaceContext,t);n.setSchemaContributions(i3);var r=new i1(n,e.contributions,t,e.clientCapabilities),i=new i0(n,e.contributions,t),o=new i6(n),s=new i4(n,t);return{configure:function(e){n.clearExternalSchemas(),e.schemas&&e.schemas.forEach(function(e){n.registerExternalSchema(e.uri,e.fileMatch,e.schema)}),s.configure(e)},resetSchema:function(e){return n.onResourceChange(e)},doValidation:s.doValidation.bind(s),getLanguageStatus:s.getLanguageStatus.bind(s),parseJSONDocument:function(e){return function(e,t){var n=[],r=-1,i=e.getText(),o=id(i,!1),s=t&&t.collectComments?[]:void 0;function a(){for(;;){var t=o.scan();switch(function(){switch(o.getTokenError()){case 4:return u(iV("InvalidUnicode","Invalid unicode sequence in string."),tv.InvalidUnicode);case 5:return u(iV("InvalidEscapeCharacter","Invalid escape character in string."),tv.InvalidEscapeCharacter);case 3:return u(iV("UnexpectedEndOfNumber","Unexpected end of number."),tv.UnexpectedEndOfNumber);case 1:return u(iV("UnexpectedEndOfComment","Unexpected end of comment."),tv.UnexpectedEndOfComment);case 2:return u(iV("UnexpectedEndOfString","Unexpected end of string."),tv.UnexpectedEndOfString);case 6:return u(iV("InvalidCharacter","Invalid characters in string. Control characters must be escaped."),tv.InvalidCharacter)}}(),t){case 12:case 13:Array.isArray(s)&&s.push(ex.create(e.positionAt(o.getTokenOffset()),e.positionAt(o.getTokenOffset()+o.getTokenLength())));break;case 15:case 14:break;default:return t}}}function l(t,i,o,s,a){if(void 0===a&&(a=eI.Error),0===n.length||o!==r){var l=ex.create(e.positionAt(o),e.positionAt(s));n.push(eF.create(l,t,a,i,e.languageId)),r=o}}function u(e,t,n,r,s){void 0===n&&(n=void 0),void 0===r&&(r=[]),void 0===s&&(s=[]);var u=o.getTokenOffset(),h=o.getTokenOffset()+o.getTokenLength();if(u===h&&u>0){for(u--;u>0&&/\s/.test(i.charAt(u));)u--;h=u+1}if(l(e,t,u,h),n&&c(n,!1),r.length+s.length>0)for(var d=o.getToken();17!==d;){if(-1!==r.indexOf(d)){a();break}if(-1!==s.indexOf(d))break;d=a()}return n}function c(e,t){return e.length=o.getTokenOffset()+o.getTokenLength()-e.offset,t&&a(),e}var h=new i$(void 0,0,0);function d(e){if(10===o.getToken()){var t=new i$(e,o.getTokenOffset());return t.value=o.getTokenValue(),c(t,!0)}}var f=void 0;return 17!==a()&&((f=function t(n){return function(e){if(3===o.getToken()){var n=new iU(e,o.getTokenOffset());a();for(var r=!1;4!==o.getToken()&&17!==o.getToken();){if(5===o.getToken()){r||u(iV("ValueExpected","Value expected"),tv.ValueExpected);var i=o.getTokenOffset();if(a(),4===o.getToken()){r&&l(iV("TrailingComma","Trailing comma"),tv.TrailingComma,i,i+1);continue}}else r&&u(iV("ExpectedComma","Expected comma"),tv.CommaExpected);var s=t(n);s?n.items.push(s):u(iV("PropertyExpected","Value expected"),tv.ValueExpected,void 0,[],[4,5]),r=!0}return 4!==o.getToken()?u(iV("ExpectedCloseBracket","Expected comma or closing bracket"),tv.CommaOrCloseBacketExpected,n):c(n,!0)}}(n)||function(n){if(1===o.getToken()){var r=new iH(n,o.getTokenOffset()),i=Object.create(null);a();for(var s=!1;2!==o.getToken()&&17!==o.getToken();){if(5===o.getToken()){s||u(iV("PropertyExpected","Property expected"),tv.PropertyExpected);var f=o.getTokenOffset();if(a(),2===o.getToken()){s&&l(iV("TrailingComma","Trailing comma"),tv.TrailingComma,f,f+1);continue}}else s&&u(iV("ExpectedComma","Expected comma"),tv.CommaExpected);var m=function(n,r){var i=new iW(n,o.getTokenOffset(),h),s=d(i);if(!s){if(16!==o.getToken())return;u(iV("DoubleQuotesExpected","Property keys must be doublequoted"),tv.Undefined);var c=new i$(i,o.getTokenOffset(),o.getTokenLength());c.value=o.getTokenValue(),s=c,a()}i.keyNode=s;var f=r[s.value];if(f?(l(iV("DuplicateKeyWarning","Duplicate object key"),tv.DuplicateKey,i.keyNode.offset,i.keyNode.offset+i.keyNode.length,eI.Warning),"object"==typeof f&&l(iV("DuplicateKeyWarning","Duplicate object key"),tv.DuplicateKey,f.keyNode.offset,f.keyNode.offset+f.keyNode.length,eI.Warning),r[s.value]=!0):r[s.value]=i,6===o.getToken())i.colonOffset=o.getTokenOffset(),a();else if(u(iV("ColonExpected","Colon expected"),tv.ColonExpected),10===o.getToken()&&e.positionAt(s.offset+s.length).line0&&!ib(e,o-1);)o--;for(var r,i,o,s,a,l,u=a;us)&&e.substring(r,i)!==n&&v.push({offset:r,length:i-r,content:n})}var y=p();if(17!==y){var C=f.getTokenOffset()+o;b(iv(l,r),o,C)}for(;17!==y;){for(var _=f.getTokenOffset()+f.getTokenLength()+o,S=p(),w="",A=!1;!h&&(12===S||13===S);)b(" ",_,f.getTokenOffset()+o),_=f.getTokenOffset()+f.getTokenLength()+o,w=(A=12===S)?g():"",S=p();if(2===S)1!==y&&(d--,w=g());else if(4===S)3!==y&&(d--,w=g());else{switch(y){case 3:case 1:d++,w=g();break;case 5:case 12:w=g();break;case 13:h?w=g():A||(w=" ");break;case 6:A||(w=" ");break;case 10:if(6===S){A||(w="");break}case 7:case 8:case 9:case 11:case 2:case 4:12===S||13===S?A||(w=" "):5!==S&&17!==S&&(m=!0);break;case 16:m=!0}h&&(12===S||13===S)&&(w=g())}17===S&&(w=n.insertFinalNewline?c:""),b(w,_,f.getTokenOffset()+o),y=S}return v})(e.getText(),r,o).map(function(t){return eK.replace(ex.create(e.positionAt(t.offset),e.positionAt(t.offset+t.length)),t.content)})}}}({workspaceContext:{resolveRelativePath:(e,t)=>(function(e,t){if(47===t.charCodeAt(0)){let n=ot.parse(e),r=t.split("/");return n.with({path:op(r)}).toString()}return function(e,...t){let n=ot.parse(e),r=n.path.split("/");for(let e of t)r.push(...e.split("/"));return n.with({path:op(r)}).toString()}(e,t)})(t.substr(0,t.lastIndexOf("/")+1),e)},schemaRequestService:t.enableSchemaRequest?tx:void 0}),this._languageService.configure(this._languageSettings)}async doValidation(e){let t=this._getTextDocument(e);if(t){let e=this._languageService.parseJSONDocument(t);return this._languageService.doValidation(t,e,this._languageSettings)}return Promise.resolve([])}async doComplete(e,t){let n=this._getTextDocument(e);if(!n)return null;let r=this._languageService.parseJSONDocument(n);return this._languageService.doComplete(n,t,r)}async doResolve(e){return this._languageService.doResolve(e)}async doHover(e,t){let n=this._getTextDocument(e);if(!n)return null;let r=this._languageService.parseJSONDocument(n);return this._languageService.doHover(n,t,r)}async format(e,t,n){let r=this._getTextDocument(e);return r?Promise.resolve(this._languageService.format(r,t,n)):[]}async resetSchema(e){return Promise.resolve(this._languageService.resetSchema(e))}async findDocumentSymbols(e){let t=this._getTextDocument(e);if(!t)return[];let n=this._languageService.parseJSONDocument(t);return Promise.resolve(this._languageService.findDocumentSymbols(t,n))}async findDocumentColors(e){let t=this._getTextDocument(e);if(!t)return[];let n=this._languageService.parseJSONDocument(t);return Promise.resolve(this._languageService.findDocumentColors(t,n))}async getColorPresentations(e,t,n){let r=this._getTextDocument(e);if(!r)return[];let i=this._languageService.parseJSONDocument(r);return Promise.resolve(this._languageService.getColorPresentations(r,i,t,n))}async getFoldingRanges(e,t){let n=this._getTextDocument(e);return n?Promise.resolve(this._languageService.getFoldingRanges(n,t)):[]}async getSelectionRanges(e,t){let n=this._getTextDocument(e);if(!n)return[];let r=this._languageService.parseJSONDocument(n);return Promise.resolve(this._languageService.getSelectionRanges(n,t,r))}_getTextDocument(e){for(let t of this._ctx.getMirrorModels())if(t.uri.toString()===e)return tp.create(e,this._languageId,t.version,t.getValue());return null}};function op(e){let t=[];for(let n of e)0===n.length||1===n.length&&46===n.charCodeAt(0)||(2===n.length&&46===n.charCodeAt(0)&&46===n.charCodeAt(1)?t.pop():t.push(n));e.length>1&&0===e[e.length-1].length&&t.push("");let n=t.join("/");return 0===e[0].length&&(n="/"+n),n}self.onmessage=()=>{ic((e,t)=>new og(e,t))}})()})(); \ No newline at end of file diff --git a/snaps-simulator/2.4.2/vendor/ts.worker.js b/snaps-simulator/2.4.2/vendor/ts.worker.js new file mode 100644 index 0000000000..dfe7ca52fa --- /dev/null +++ b/snaps-simulator/2.4.2/vendor/ts.worker.js @@ -0,0 +1,26755 @@ +(()=>{var e={406:e=>{var t,n,r,i=e.exports={};function a(){throw Error("setTimeout has not been defined")}function o(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===a||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:a}catch(e){t=a}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var l=[],c=!1,d=-1;function u(){c&&r&&(c=!1,r.length?l=r.concat(l):d=-1,l.length&&_())}function _(){if(!c){var e=s(u);c=!0;for(var t=l.length;t;){for(r=l,l=[];++d1)for(var n=1;n{"use strict";let e,t,r;let i=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack){if(c.isErrorNoTelemetry(e))throw new c(e.message+"\n\n"+e.stack);throw Error(e.message+"\n\n"+e.stack)}throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function a(e){e instanceof l||e instanceof Error&&e.name===s&&e.message===s||i.onUnexpectedError(e)}function o(e){if(e instanceof Error){let{name:t,message:n}=e;return{$isError:!0,name:t,message:n,stack:e.stacktrace||e.stack,noTelemetry:c.isErrorNoTelemetry(e)}}return e}let s="Canceled";class l extends Error{constructor(){super(s),this.name=this.message}}class c extends Error{constructor(e){super(e),this.name="CodeExpectedError"}static fromError(e){if(e instanceof c)return e;let t=new c;return t.message=e.message,t.stack=e.stack,t}static isErrorNoTelemetry(e){return"CodeExpectedError"===e.name}}class d extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,d.prototype)}}function u(e){if(v.is(e)){let t=[];for(let n of e)if(n)try{n.dispose()}catch(e){t.push(e)}if(1===t.length)throw t[0];if(t.length>1)throw AggregateError(t,"Encountered errors while disposing of store");return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function _(e){return{dispose:function(e){let t;let n=this,r=!1;return function(){return r?t:(r=!0,t=e.apply(n,arguments))}}(()=>{e()})}}!function(e){function t(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]}e.is=t;let n=Object.freeze([]);function*r(e){yield e}e.empty=function(){return n},e.single=r,e.wrap=function(e){return t(e)?e:r(e)},e.from=function(e){return e||n},e.isEmpty=function(e){return!e||!0===e[Symbol.iterator]().next().done},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,t){for(let n of e)if(t(n))return!0;return!1},e.find=function(e,t){for(let n of e)if(t(n))return n},e.filter=function*(e,t){for(let n of e)t(n)&&(yield n)},e.map=function*(e,t){let n=0;for(let r of e)yield t(r,n++)},e.concat=function*(...e){for(let t of e)for(let e of t)yield e},e.reduce=function(e,t,n){let r=n;for(let n of e)r=t(r,n);return r},e.slice=function*(e,t,n=e.length){for(t<0&&(t+=e.length),n<0?n+=e.length:n>e.length&&(n=e.length);ti}]}}(v||(v={}));class p{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(0!==this._toDispose.size)try{u(this._toDispose)}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw Error("Cannot register a disposable on itself!");return this._isDisposed?p.DISABLE_DISPOSED_WARNING||console.warn(Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}}p.DISABLE_DISPOSED_WARNING=!1;class f{constructor(){this._store=new p,this._store}dispose(){this._store.dispose()}_register(e){if(e===this)throw Error("Cannot register a disposable on itself!");return this._store.add(e)}}f.None=Object.freeze({dispose(){}});class m{constructor(){this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1}set(e){let t=e;return this.unset=()=>t=void 0,this.isset=()=>void 0!==t,this.dispose=()=>{t&&(t(),t=void 0)},this}}Symbol.iterator;class h{constructor(e){this.element=e,this.next=h.Undefined,this.prev=h.Undefined}}h.Undefined=new h(void 0);class y{constructor(){this._first=h.Undefined,this._last=h.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===h.Undefined}clear(){let e=this._first;for(;e!==h.Undefined;){let t=e.next;e.prev=h.Undefined,e.next=h.Undefined,e=t}this._first=h.Undefined,this._last=h.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){let n=new h(e);if(this._first===h.Undefined)this._first=n,this._last=n;else if(t){let e=this._last;this._last=n,n.prev=e,e.next=n}else{let e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let r=!1;return()=>{r||(r=!0,this._remove(n))}}shift(){if(this._first!==h.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==h.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==h.Undefined&&e.next!==h.Undefined){let t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===h.Undefined&&e.next===h.Undefined?(this._first=h.Undefined,this._last=h.Undefined):e.next===h.Undefined?(this._last=this._last.prev,this._last.next=h.Undefined):e.prev===h.Undefined&&(this._first=this._first.next,this._first.prev=h.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==h.Undefined;)yield e.element,e=e.next}}let g="undefined"!=typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;var v,b,E,T,x,S,A,L,C,k,I,w,R,N,D,O,M,P,F,G,B,U,V,j,H,K,W,z,q,J,X,Y,$,Q,Z,ee,et,en,er,ei,ea,eo,es,el,ec,ed,eu,e_,ep,ef,em,eh,ey,eg,ev,eb,eE=n(406);let eT=!1,ex=!1,eS=!1,eA="object"==typeof self?self:"object"==typeof n.g?n.g:{};void 0!==eA.vscode&&void 0!==eA.vscode.process?r=eA.vscode.process:void 0!==eE&&(r=eE);let eL="string"==typeof(null===(b=null==r?void 0:r.versions)||void 0===b?void 0:b.electron)&&(null==r?void 0:r.type)==="renderer";if("object"!=typeof navigator||eL){if("object"==typeof r){eT="win32"===r.platform,ex="darwin"===r.platform,"linux"===r.platform&&r.env.SNAP&&r.env.SNAP_REVISION,r.env.CI||r.env.BUILD_ARTIFACTSTAGINGDIRECTORY;let e=r.env.VSCODE_NLS_CONFIG;if(e)try{let t=JSON.parse(e);t.availableLanguages["*"],t.locale,t.osLocale,t._translationsConfigFile}catch(e){}}else console.error("Unable to resolve platform.")}else eT=(t=navigator.userAgent).indexOf("Windows")>=0,ex=t.indexOf("Macintosh")>=0,(t.indexOf("Macintosh")>=0||t.indexOf("iPad")>=0||t.indexOf("iPhone")>=0)&&navigator.maxTouchPoints&&navigator.maxTouchPoints,t.indexOf("Linux"),null==t||t.indexOf("Mobi"),eS=!0,function(e,t,...n){let r;r=0===n.length?"_":"_".replace(/\{(\d+)\}/g,(e,t)=>{let r=n[t[0]],i=e;return"string"==typeof r?i=r:("number"==typeof r||"boolean"==typeof r||null==r)&&(i=String(r)),i}),g&&(r="["+r.replace(/[aouei]/g,"$&$&")+"]")}(0,0),navigator.language;let eC=eT,ek=ex;eS&&eA.importScripts;let eI=t,ew="function"==typeof eA.postMessage&&!eA.importScripts;(()=>{if(ew){let e=[];eA.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let n=0,r=e.length;n{let r=++t;e.push({id:r,callback:n}),eA.postMessage({vscodeScheduleAsyncWork:r},"*")}}return e=>setTimeout(e)})();let eR=!!(eI&&eI.indexOf("Chrome")>=0);eI&&eI.indexOf("Firefox"),!eR&&eI&&eI.indexOf("Safari"),eI&&eI.indexOf("Edg/"),eI&&eI.indexOf("Android");let eN=eA.performance&&"function"==typeof eA.performance.now;class eD{static create(e=!0){return new eD(e)}constructor(e){this._highResolution=eN&&e,this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}elapsed(){return -1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?eA.performance.now():Date.now()}}!function(e){function t(e){return(t,n=null,r)=>{let i,a=!1;return i=e(e=>a?void 0:(i?i.dispose():a=!0,t.call(n,e)),null,r),a&&i.dispose(),i}}function n(e,t,n){return o((n,r=null,i)=>e(e=>n.call(r,t(e)),null,i),n)}function r(e,t,n){return o((n,r=null,i)=>e(e=>{t(e),n.call(r,e)},null,i),n)}function i(e,t,n){return o((n,r=null,i)=>e(e=>t(e)&&n.call(r,e),null,i),n)}function a(e,t,r,i){let a=r;return n(e,e=>a=t(a,e),i)}function o(e,t){let n;let r=new eG({onWillAddFirstListener(){n=e(r.fire,r)},onDidRemoveLastListener(){null==n||n.dispose()}});return null==t||t.add(r),r.event}function s(e,t,n=100,r=!1,i=!1,a,o){let s,l,c,d;let u=0,_=new eG({leakWarningThreshold:a,onWillAddFirstListener(){s=e(e=>{u++,c=t(c,e),r&&!d&&(_.fire(c),c=void 0),l=()=>{let e=c;c=void 0,d=void 0,(!r||u>1)&&_.fire(e),u=0},"number"==typeof n?(clearTimeout(d),d=setTimeout(l,n)):void 0===d&&(d=0,queueMicrotask(l))})},onWillRemoveListener(){i&&u>0&&(null==l||l())},onDidRemoveLastListener(){l=void 0,s.dispose()}});return null==o||o.add(_),_.event}function l(e,t=(e,t)=>e===t,n){let r,a=!0;return i(e,e=>{let n=a||!t(e,r);return a=!1,r=e,n},n)}e.None=()=>f.None,e.defer=function(e,t){return s(e,()=>void 0,0,void 0,!0,void 0,t)},e.once=t,e.map=n,e.forEach=r,e.filter=i,e.signal=function(e){return e},e.any=function(...e){return(t,n=null,r)=>(function(...e){return _(()=>u(e))})(...e.map(e=>e(e=>t.call(n,e),null,r)))},e.reduce=a,e.debounce=s,e.accumulate=function(t,n=0,r){return e.debounce(t,(e,t)=>e?(e.push(t),e):[t],n,void 0,!0,void 0,r)},e.latch=l,e.split=function(t,n,r){return[e.filter(t,n,r),e.filter(t,e=>!n(e),r)]},e.buffer=function(e,t=!1,n=[]){let r=n.slice(),i=e(e=>{r?r.push(e):o.fire(e)}),a=()=>{null==r||r.forEach(e=>o.fire(e)),r=null},o=new eG({onWillAddFirstListener(){i||(i=e(e=>o.fire(e)))},onDidAddFirstListener(){r&&(t?setTimeout(a):a())},onDidRemoveLastListener(){i&&i.dispose(),i=null}});return o.event};class c{constructor(e){this.event=e,this.disposables=new p}map(e){return new c(n(this.event,e,this.disposables))}forEach(e){return new c(r(this.event,e,this.disposables))}filter(e){return new c(i(this.event,e,this.disposables))}reduce(e,t){return new c(a(this.event,e,t,this.disposables))}latch(){return new c(l(this.event,void 0,this.disposables))}debounce(e,t=100,n=!1,r=!1,i){return new c(s(this.event,e,t,n,r,i,this.disposables))}on(e,t,n){return this.event(e,t,n)}once(e,n,r){return t(this.event)(e,n,r)}dispose(){this.disposables.dispose()}}e.chain=function(e){return new c(e)},e.fromNodeEventEmitter=function(e,t,n=e=>e){let r=(...e)=>i.fire(n(...e)),i=new eG({onWillAddFirstListener:()=>e.on(t,r),onDidRemoveLastListener:()=>e.removeListener(t,r)});return i.event},e.fromDOMEventEmitter=function(e,t,n=e=>e){let r=(...e)=>i.fire(n(...e)),i=new eG({onWillAddFirstListener:()=>e.addEventListener(t,r),onDidRemoveLastListener:()=>e.removeEventListener(t,r)});return i.event},e.toPromise=function(e){return new Promise(n=>t(e)(n))},e.runAndSubscribe=function(e,t){return t(void 0),e(e=>t(e))},e.runAndSubscribeWithStore=function(e,t){let n=null;function r(e){null==n||n.dispose(),t(e,n=new p)}r(void 0);let i=e(e=>r(e));return _(()=>{i.dispose(),null==n||n.dispose()})};class d{constructor(e,t){this._observable=e,this._counter=0,this._hasChanged=!1,this.emitter=new eG({onWillAddFirstListener:()=>{e.addObserver(this)},onDidRemoveLastListener:()=>{e.removeObserver(this)}}),t&&t.add(this.emitter)}beginUpdate(e){this._counter++}handlePossibleChange(e){}handleChange(e,t){this._hasChanged=!0}endUpdate(e){this._counter--,0===this._counter&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}e.fromObservable=function(e,t){return new d(e,t).emitter.event},e.fromObservableLight=function(e){return t=>{let n=0,r=!1,i={beginUpdate(){n++},endUpdate(){0==--n&&(e.reportChanges(),r&&(r=!1,t()))},handlePossibleChange(){},handleChange(){r=!0}};return e.addObserver(i),{dispose(){e.removeObserver(i)}}}}}(E||(E={}));class eO{constructor(e){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${e}_${eO._idPool++}`,eO.all.add(this)}start(e){this._stopWatch=new eD(!0),this.listenerCount=e}stop(){if(this._stopWatch){let e=this._stopWatch.elapsed();this.durations.push(e),this.elapsedOverall+=e,this.invocationCount+=1,this._stopWatch=void 0}}}eO.all=new Set,eO._idPool=0;class eM{constructor(e,t=Math.random().toString(18).slice(2,5)){this.threshold=e,this.name=t,this._warnCountdown=0}dispose(){var e;null===(e=this._stacks)||void 0===e||e.clear()}check(e,t){let n=this.threshold;if(n<=0||t{let t=this._stacks.get(e.value)||0;this._stacks.set(e.value,t-1)}}}class eP{static create(){var e;return new eP(null!==(e=Error().stack)&&void 0!==e?e:"")}constructor(e){this.value=e}print(){console.warn(this.value.split("\n").slice(2).join("\n"))}}class eF{constructor(e,t,n){this.callback=e,this.callbackThis=t,this.stack=n,this.subscription=new m}invoke(e){this.callback.call(this.callbackThis,e)}}class eG{constructor(e){var t,n,r,i,a;this._disposed=!1,this._options=e,this._leakageMon=(null===(t=this._options)||void 0===t?void 0:t.leakWarningThreshold)?new eM(null!==(r=null===(n=this._options)||void 0===n?void 0:n.leakWarningThreshold)&&void 0!==r?r:-1):void 0,this._perfMon=(null===(i=this._options)||void 0===i?void 0:i._profName)?new eO(this._options._profName):void 0,this._deliveryQueue=null===(a=this._options)||void 0===a?void 0:a.deliveryQueue}dispose(){var e,t,n,r;this._disposed||(this._disposed=!0,this._listeners&&this._listeners.clear(),null===(e=this._deliveryQueue)||void 0===e||e.clear(this),null===(n=null===(t=this._options)||void 0===t?void 0:t.onDidRemoveLastListener)||void 0===n||n.call(t),null===(r=this._leakageMon)||void 0===r||r.dispose())}get event(){return this._event||(this._event=(e,t,n)=>{var r,i,a;let o,s;if(this._listeners||(this._listeners=new y),this._leakageMon&&this._listeners.size>3*this._leakageMon.threshold)return console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`),f.None;let l=this._listeners.isEmpty();l&&(null===(r=this._options)||void 0===r?void 0:r.onWillAddFirstListener)&&this._options.onWillAddFirstListener(this),this._leakageMon&&this._listeners.size>=Math.ceil(.2*this._leakageMon.threshold)&&(s=eP.create(),o=this._leakageMon.check(s,this._listeners.size+1));let c=new eF(e,t,s),d=this._listeners.push(c);l&&(null===(i=this._options)||void 0===i?void 0:i.onDidAddFirstListener)&&this._options.onDidAddFirstListener(this),(null===(a=this._options)||void 0===a?void 0:a.onDidAddListener)&&this._options.onDidAddListener(this,e,t);let u=c.subscription.set(()=>{var e,t;null==o||o(),!this._disposed&&(null===(t=null===(e=this._options)||void 0===e?void 0:e.onWillRemoveListener)||void 0===t||t.call(e,this),d(),this._options&&this._options.onDidRemoveLastListener)&&(this._listeners&&!this._listeners.isEmpty()||this._options.onDidRemoveLastListener(this))});return n instanceof p?n.add(u):Array.isArray(n)&&n.push(u),u}),this._event}fire(e){var t,n,r;if(this._listeners){for(let n of(this._deliveryQueue||(this._deliveryQueue=new eU(null===(t=this._options)||void 0===t?void 0:t.onListenerError)),this._listeners))this._deliveryQueue.push(this,n,e);null===(n=this._perfMon)||void 0===n||n.start(this._deliveryQueue.size),this._deliveryQueue.deliver(),null===(r=this._perfMon)||void 0===r||r.stop()}}hasListeners(){return!!this._listeners&&!this._listeners.isEmpty()}}class eB{constructor(e=a){this._onListenerError=e,this._queue=new y}get size(){return this._queue.size}push(e,t,n){this._queue.push(new eV(e,t,n))}clear(e){let t=new y;for(let n of this._queue)n.emitter!==e&&t.push(n);this._queue=t}deliver(){for(;this._queue.size>0;){let e=this._queue.shift();try{e.listener.invoke(e.event)}catch(e){this._onListenerError(e)}}}}class eU extends eB{clear(e){this._queue.clear()}}class eV{constructor(e,t,n){this.emitter=e,this.listener=t,this.event=n}}function ej(e){let t=[];for(let n of function(e){let t=[],n=Object.getPrototypeOf(e);for(;Object.prototype!==n;)t=t.concat(Object.getOwnPropertyNames(n)),n=Object.getPrototypeOf(n);return t}(e))"function"==typeof e[n]&&t.push(n);return t}Object.prototype.hasOwnProperty;class eH{constructor(e){this.executor=e,this._didRun=!1}get value(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}function eK(e){return e>=65&&e<=90}function eW(e){return 55296<=e&&e<=56319}function ez(e){return 56320<=e&&e<=57343}function eq(e,t){return(e-55296<<10)+(t-56320)+65536}let eJ=/^[\t\n\r\x20-\x7E]*$/;String.fromCharCode(65279);class eX{static getInstance(){return eX._INSTANCE||(eX._INSTANCE=new eX),eX._INSTANCE}constructor(){this._data=JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;let t=this._data,n=t.length/3,r=1;for(;r<=n;)if(et[3*r+1]))return t[3*r+2];r=2*r+1}return 0}}eX._INSTANCE=null;class eY{static getInstance(e){return eY.cache.get(Array.from(e))}static getLocales(){return eY._locales.value}constructor(e){this.confusableDictionary=e}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}eY.ambiguousCharacterData=new eH(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}')),eY.cache=new class{constructor(e){this.fn=e,this.lastCache=void 0,this.lastArgKey=void 0}get(e){let t=JSON.stringify(e);return this.lastArgKey!==t&&(this.lastArgKey=t,this.lastCache=this.fn(e)),this.lastCache}}(e=>{let t;function n(e){let t=new Map;for(let n=0;n!e.startsWith("_")&&e in r);for(let e of(0===i.length&&(i=["_default"]),i))t=function(e,t){if(!e)return t;let n=new Map;for(let[r,i]of e)t.has(r)&&n.set(r,i);return n}(t,n(r[e]));let a=function(e,t){let n=new Map(e);for(let[e,r]of t)n.set(e,r);return n}(n(r._common),t);return new eY(a)}),eY._locales=new eH(()=>Object.keys(eY.ambiguousCharacterData.value).filter(e=>!e.startsWith("_")));class e${static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return this._data||(this._data=new Set(e$.getRawData())),this._data}static isInvisibleCharacter(e){return e$.getData().has(e)}static get codePoints(){return e$.getData()}}e$._data=void 0;class eQ{constructor(e,t,n,r){this.vsWorker=e,this.req=t,this.method=n,this.args=r,this.type=0}}class eZ{constructor(e,t,n,r){this.vsWorker=e,this.seq=t,this.res=n,this.err=r,this.type=1}}class e0{constructor(e,t,n,r){this.vsWorker=e,this.req=t,this.eventName=n,this.arg=r,this.type=2}}class e1{constructor(e,t,n){this.vsWorker=e,this.req=t,this.event=n,this.type=3}}class e2{constructor(e,t){this.vsWorker=e,this.req=t,this.type=4}}class e4{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}sendMessage(e,t){let n=String(++this._lastSentReq);return new Promise((r,i)=>{this._pendingReplies[n]={resolve:r,reject:i},this._send(new eQ(this._workerId,n,e,t))})}listen(e,t){let n=null,r=new eG({onWillAddFirstListener:()=>{n=String(++this._lastSentReq),this._pendingEmitters.set(n,r),this._send(new e0(this._workerId,n,e,t))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(n),this._send(new e2(this._workerId,n)),n=null}});return r.event}handleMessage(e){e&&e.vsWorker&&(-1===this._workerId||e.vsWorker===this._workerId)&&this._handleMessage(e)}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq]){console.warn("Got reply to unknown seq");return}let t=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let n=e.err;e.err.$isError&&((n=Error()).name=e.err.name,n.message=e.err.message,n.stack=e.err.stack),t.reject(n);return}t.resolve(e.res)}_handleRequestMessage(e){let t=e.req;this._handler.handleMessage(e.method,e.args).then(e=>{this._send(new eZ(this._workerId,t,e,void 0))},e=>{e.detail instanceof Error&&(e.detail=o(e.detail)),this._send(new eZ(this._workerId,t,void 0,o(e)))})}_handleSubscribeEventMessage(e){let t=e.req,n=this._handler.handleEvent(e.eventName,e.arg)(e=>{this._send(new e1(this._workerId,t,e))});this._pendingEvents.set(t,n)}_handleEventMessage(e){if(!this._pendingEmitters.has(e.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(e.req).fire(e.event)}_handleUnsubscribeEventMessage(e){if(!this._pendingEvents.has(e.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)}_send(e){let t=[];if(0===e.type)for(let n=0;n{e(t,n)},handleMessage:(e,t)=>this._handleMessage(e,t),handleEvent:(e,t)=>this._handleEvent(e,t)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,t){if("$initialize"===e)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(e){return Promise.reject(e)}}_handleEvent(e,t){if(!this._requestHandler)throw Error("Missing requestHandler");if(e6(e)){let n=this._requestHandler[e].call(this._requestHandler,t);if("function"!=typeof n)throw Error(`Missing dynamic event ${e} on request handler.`);return n}if(e8(e)){let t=this._requestHandler[e];if("function"!=typeof t)throw Error(`Missing event ${e} on request handler.`);return t}throw Error(`Malformed event name ${e}`)}initialize(e,t,n,r){this._protocol.setWorkerId(e);let i=function(e,t,n){let r=e=>function(){let n=Array.prototype.slice.call(arguments,0);return t(e,n)},i=e=>function(t){return n(e,t)},a={};for(let t of e){if(e6(t)){a[t]=i(t);continue}if(e8(t)){a[t]=n(t,void 0);continue}a[t]=r(t)}return a}(r,(e,t)=>this._protocol.sendMessage(e,t),(e,t)=>this._protocol.listen(e,t));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(i),Promise.resolve(ej(this._requestHandler))):(t&&(void 0!==t.baseUrl&&delete t.baseUrl,void 0!==t.paths&&void 0!==t.paths.vs&&delete t.paths.vs,t.trustedTypesPolicy,delete t.trustedTypesPolicy,t.catchError=!0,globalThis.require.config(t)),new Promise((e,t)=>{(0,globalThis.require)([n],n=>{if(this._requestHandler=n.create(i),!this._requestHandler){t(Error("No RequestHandler!"));return}e(ej(this._requestHandler))},t)}))}}class e5{constructor(e,t,n,r){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=r}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function e7(e,t,n=32){let r=n-t;return(e<>>r)>>>0}function e9(e,t=0,n=e.byteLength,r=0){for(let i=0;ie.toString(16).padStart(2,"0")).join(""):function(e,t,n="0"){for(;e.length>>0).toString(16),t/4)}class tt{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){let t,n;let r=e.length;if(0===r)return;let i=this._buff,a=this._buffLen,o=this._leftoverHighSurrogate;for(0!==o?(t=o,n=-1,o=0):(t=e.charCodeAt(0),n=0);;){let s=t;if(eW(t)){if(n+1>>6:(n<65536?e[t++]=224|(61440&n)>>>12:(e[t++]=240|(1835008&n)>>>18,e[t++]=128|(258048&n)>>>12),e[t++]=128|(4032&n)>>>6),e[t++]=128|(63&n)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),te(this._h0)+te(this._h1)+te(this._h2)+te(this._h3)+te(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,e9(this._buff,this._buffLen),this._buffLen>56&&(this._step(),e9(this._buff));let e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){let e,t,n;let r=tt._bigBlock32,i=this._buffDV;for(let e=0;e<64;e+=4)r.setUint32(e,i.getUint32(e,!1),!1);for(let e=64;e<320;e+=4)r.setUint32(e,e7(r.getUint32(e-12,!1)^r.getUint32(e-32,!1)^r.getUint32(e-56,!1)^r.getUint32(e-64,!1),1),!1);let a=this._h0,o=this._h1,s=this._h2,l=this._h3,c=this._h4;for(let i=0;i<80;i++)i<20?(e=o&s|~o&l,t=1518500249):i<40?(e=o^s^l,t=1859775393):i<60?(e=o&s|o&l|s&l,t=2400959708):(e=o^s^l,t=3395469782),n=e7(a,5)+e+c+t+r.getUint32(4*i,!1)&4294967295,c=l,l=s,s=e7(o,30),o=a,a=n;this._h0=this._h0+a&4294967295,this._h1=this._h1+o&4294967295,this._h2=this._h2+s&4294967295,this._h3=this._h3+l&4294967295,this._h4=this._h4+c&4294967295}}tt._bigBlock32=new DataView(new ArrayBuffer(320));class tn{constructor(e){this.source=e}getElements(){let e=this.source,t=new Int32Array(e.length);for(let n=0,r=e.length;n0||this.m_modifiedCount>0)&&this.m_changes.push(new e5(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class to{constructor(e,t,n=null){this.ContinueProcessingPredicate=n,this._originalSequence=e,this._modifiedSequence=t;let[r,i,a]=to._getElements(e),[o,s,l]=to._getElements(t);this._hasStrings=a&&l,this._originalStringElements=r,this._originalElementsOrHash=i,this._modifiedStringElements=o,this._modifiedElementsOrHash=s,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){let t=e.getElements();if(to._isStringArray(t)){let e=new Int32Array(t.length);for(let n=0,r=t.length;n=e&&r>=n&&this.ElementsAreEqual(t,r);)t--,r--;if(e>t||n>r){let i;return n<=r?(tr.Assert(e===t+1,"originalStart should only be one more than originalEnd"),i=[new e5(e,0,n,r-n+1)]):e<=t?(tr.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),i=[new e5(e,t-e+1,n,0)]):(tr.Assert(e===t+1,"originalStart should only be one more than originalEnd"),tr.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),i=[]),i}let a=[0],o=[0],s=this.ComputeRecursionPoint(e,t,n,r,a,o,i),l=a[0],c=o[0];if(null!==s)return s;if(!i[0]){let a=this.ComputeDiffRecursive(e,l,n,c,i),o=[];return o=i[0]?[new e5(l+1,t-(l+1)+1,c+1,r-(c+1)+1)]:this.ComputeDiffRecursive(l+1,t,c+1,r,i),this.ConcatenateChanges(a,o)}return[new e5(e,t-e+1,n,r-n+1)]}WALKTRACE(e,t,n,r,i,a,o,s,l,c,d,u,_,p,f,m,h,y){let g=null,v=null,b=new ta,E=t,T=n,x=_[0]-m[0]-r,S=-1073741824,A=this.m_forwardHistory.length-1;do{let t=x+e;t===E||t=0&&(e=(l=this.m_forwardHistory[A])[0],E=1,T=l.length-1)}while(--A>=-1)if(g=b.getReverseChanges(),y[0]){let e=_[0]+1,t=m[0]+1;if(null!==g&&g.length>0){let n=g[g.length-1];e=Math.max(e,n.getOriginalEnd()),t=Math.max(t,n.getModifiedEnd())}v=[new e5(e,u-e+1,t,f-t+1)]}else{b=new ta,E=a,T=o,x=_[0]-m[0]-s,S=1073741824,A=h?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{let e=x+i;e===E||e=c[e+1]?(p=(d=c[e+1]-1)-x-s,d>S&&b.MarkNextChange(),S=d+1,b.AddOriginalElement(d+1,p+1),x=e+1-i):(p=(d=c[e-1])-x-s,d>S&&b.MarkNextChange(),S=d,b.AddModifiedElement(d+1,p+1),x=e-1-i),A>=0&&(i=(c=this.m_reverseHistory[A])[0],E=1,T=c.length-1)}while(--A>=-1)v=b.getChanges()}return this.ConcatenateChanges(g,v)}ComputeRecursionPoint(e,t,n,r,i,a,o){let s=0,l=0,c=0,d=0,u=0,_=0;e--,n--,i[0]=0,a[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];let p=t-e+(r-n),f=p+1,m=new Int32Array(f),h=new Int32Array(f),y=r-n,g=t-e,v=e-n,b=t-r,E=(g-y)%2==0;m[y]=e,h[g]=t,o[0]=!1;for(let T=1;T<=p/2+1;T++){let p=0,x=0;c=this.ClipDiagonalBound(y-T,T,y,f),d=this.ClipDiagonalBound(y+T,T,y,f);for(let e=c;e<=d;e+=2){l=(s=e===c||ep+x&&(p=s,x=l),!E&&Math.abs(e-g)<=T-1&&s>=h[e]){if(i[0]=s,a[0]=l,n<=h[e]&&T<=1448)return this.WALKTRACE(y,c,d,v,g,u,_,b,m,h,s,t,i,l,r,a,E,o);return null}}let S=(p-e+(x-n)-T)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(p,S)){if(o[0]=!0,i[0]=p,a[0]=x,!(S>0)||!(T<=1448))return e++,n++,[new e5(e,t-e+1,n,r-n+1)];break}u=this.ClipDiagonalBound(g-T,T,g,f),_=this.ClipDiagonalBound(g+T,T,g,f);for(let p=u;p<=_;p+=2){l=(s=p===u||p<_&&h[p-1]>=h[p+1]?h[p+1]-1:h[p-1])-(p-g)-b;let f=s;for(;s>e&&l>n&&this.ElementsAreEqual(s,l);)s--,l--;if(h[p]=s,E&&Math.abs(p-y)<=T&&s<=m[p]){if(i[0]=s,a[0]=l,f>=m[p]&&T<=1448)return this.WALKTRACE(y,c,d,v,g,u,_,b,m,h,s,t,i,l,r,a,E,o);return null}}if(T<=1447){let e=new Int32Array(d-c+2);e[0]=y-c+1,ti.Copy2(m,c,e,1,d-c+1),this.m_forwardHistory.push(e),(e=new Int32Array(_-u+2))[0]=g-u+1,ti.Copy2(h,u,e,1,_-u+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(y,c,d,v,g,u,_,b,m,h,s,t,i,l,r,a,E,o)}PrettifyChanges(e){for(let t=0;t0,o=n.modifiedLength>0;for(;n.originalStart+n.originalLength=0;t--){let n=e[t],r=0,i=0;if(t>0){let n=e[t-1];r=n.originalStart+n.originalLength,i=n.modifiedStart+n.modifiedLength}let a=n.originalLength>0,o=n.modifiedLength>0,s=0,l=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let e=1;;e++){let t=n.originalStart-e,c=n.modifiedStart-e;if(tl&&(l=d,s=e)}n.originalStart-=s,n.modifiedStart-=s;let c=[null];if(t>0&&this.ChangesOverlap(e[t-1],e[t],c)){e[t-1]=c[0],e.splice(t,1),t++;continue}}if(this._hasStrings)for(let t=1,n=e.length;t0&&n>s&&(s=n,l=t,c=e)}return s>0?[l,c]:null}_contiguousSequenceScore(e,t,n){let r=0;for(let i=0;i=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){let n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){let n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(e,t,n,r){return(this._OriginalRegionIsBoundary(e,t)?1:0)+(this._ModifiedRegionIsBoundary(n,r)?1:0)}ConcatenateChanges(e,t){let n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){let r=Array(e.length+t.length-1);return ti.Copy(e,0,r,0,e.length-1),r[e.length-1]=n[0],ti.Copy(t,1,r,e.length,t.length-1),r}{let n=Array(e.length+t.length);return ti.Copy(e,0,n,0,e.length),ti.Copy(t,0,n,e.length,t.length),n}}ChangesOverlap(e,t,n){if(tr.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),tr.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),!(e.originalStart+e.originalLength>=t.originalStart)&&!(e.modifiedStart+e.modifiedLength>=t.modifiedStart))return n[0]=null,!1;{let r=e.originalStart,i=e.originalLength,a=e.modifiedStart,o=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(i=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(o=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new e5(r,i,a,o),!0}}ClipDiagonalBound(e,t,n,r){if(e>=0&&et.cwd()}}else e=void 0!==ts?{get platform(){return ts.platform},get arch(){return ts.arch},get env(){return ts.env},cwd:()=>ts.env.VSCODE_CWD||ts.cwd()}:{get platform(){return eC?"win32":ek?"darwin":"linux"},get arch(){return},get env(){return{}},cwd:()=>"/"};let tl=e.cwd,tc=e.env,td=e.platform;class tu extends Error{constructor(e,t,n){let r;"string"==typeof t&&0===t.indexOf("not ")?(r="must not be",t=t.replace(/^not /,"")):r="must be";let i=`The "${e}" ${-1!==e.indexOf(".")?"property":"argument"} ${r} of type ${t}`;super(i+=`. Received type ${typeof n}`),this.code="ERR_INVALID_ARG_TYPE"}}function t_(e,t){if("string"!=typeof e)throw new tu(t,"string",e)}let tp="win32"===td;function tf(e){return 47===e||92===e}function tm(e){return 47===e}function th(e){return e>=65&&e<=90||e>=97&&e<=122}function ty(e,t,n,r){let i="",a=0,o=-1,s=0,l=0;for(let c=0;c<=e.length;++c){if(c2){let e=i.lastIndexOf(n);-1===e?(i="",a=0):a=(i=i.slice(0,e)).length-1-i.lastIndexOf(n),o=c,s=0;continue}if(0!==i.length){i="",a=0,o=c,s=0;continue}}t&&(i+=i.length>0?`${n}..`:"..",a=2)}else i.length>0?i+=`${n}${e.slice(o+1,c)}`:i=e.slice(o+1,c),a=c-o-1;o=c,s=0}else 46===l&&-1!==s?++s:s=-1}return i}function tg(e,t){!function(e,t){if(null===e||"object"!=typeof e)throw new tu(t,"Object",e)}(t,"pathObject");let n=t.dir||t.root,r=t.base||`${t.name||""}${t.ext||""}`;return n?n===t.root?`${n}${r}`:`${n}${e}${r}`:r}let tv={resolve(...e){let t="",n="",r=!1;for(let i=e.length-1;i>=-1;i--){let a;if(i>=0){if(t_(a=e[i],"path"),0===a.length)continue}else 0===t.length?a=tl():(void 0===(a=tc[`=${t}`]||tl())||a.slice(0,2).toLowerCase()!==t.toLowerCase()&&92===a.charCodeAt(2))&&(a=`${t}\\`);let o=a.length,s=0,l="",c=!1,d=a.charCodeAt(0);if(1===o)tf(d)&&(s=1,c=!0);else if(tf(d)){if(c=!0,tf(a.charCodeAt(1))){let e=2,t=2;for(;e2&&tf(a.charCodeAt(2))&&(c=!0,s=3));if(l.length>0){if(t.length>0){if(l.toLowerCase()!==t.toLowerCase())continue}else t=l}if(r){if(t.length>0)break}else if(n=`${a.slice(s)}\\${n}`,r=c,c&&t.length>0)break}return n=ty(n,!r,"\\",tf),r?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){let t;t_(e,"path");let n=e.length;if(0===n)return".";let r=0,i=!1,a=e.charCodeAt(0);if(1===n)return tm(a)?"\\":e;if(tf(a)){if(i=!0,tf(e.charCodeAt(1))){let i=2,a=2;for(;i2&&tf(e.charCodeAt(2))&&(i=!0,r=3));let o=r0&&tf(e.charCodeAt(n-1))&&(o+="\\"),void 0===t)?i?`\\${o}`:o:i?`${t}\\${o}`:`${t}${o}`},isAbsolute(e){t_(e,"path");let t=e.length;if(0===t)return!1;let n=e.charCodeAt(0);return tf(n)||t>2&&th(n)&&58===e.charCodeAt(1)&&tf(e.charCodeAt(2))},join(...e){let t,n;if(0===e.length)return".";for(let r=0;r0&&(void 0===t?t=n=i:t+=`\\${i}`)}if(void 0===t)return".";let r=!0,i=0;if("string"==typeof n&&tf(n.charCodeAt(0))){++i;let e=n.length;e>1&&tf(n.charCodeAt(1))&&(++i,e>2&&(tf(n.charCodeAt(2))?++i:r=!1))}if(r){for(;i=2&&(t=`\\${t.slice(i)}`)}return tv.normalize(t)},relative(e,t){if(t_(e,"from"),t_(t,"to"),e===t)return"";let n=tv.resolve(e),r=tv.resolve(t);if(n===r||(e=n.toLowerCase(),t=r.toLowerCase(),e===t))return"";let i=0;for(;ii&&92===e.charCodeAt(a-1);)a--;let o=a-i,s=0;for(;ss&&92===t.charCodeAt(l-1);)l--;let c=l-s,d=od){if(92===t.charCodeAt(s+_))return r.slice(s+_+1);if(2===_)return r.slice(s+_)}o>d&&(92===e.charCodeAt(i+_)?u=_:2===_&&(u=3)),-1===u&&(u=0)}let p="";for(_=i+u+1;_<=a;++_)(_===a||92===e.charCodeAt(_))&&(p+=0===p.length?"..":"\\..");return(s+=u,p.length>0)?`${p}${r.slice(s,l)}`:(92===r.charCodeAt(s)&&++s,r.slice(s,l))},toNamespacedPath(e){if("string"!=typeof e||0===e.length)return e;let t=tv.resolve(e);if(t.length<=2)return e;if(92===t.charCodeAt(0)){if(92===t.charCodeAt(1)){let e=t.charCodeAt(2);if(63!==e&&46!==e)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(th(t.charCodeAt(0))&&58===t.charCodeAt(1)&&92===t.charCodeAt(2))return`\\\\?\\${t}`;return e},dirname(e){t_(e,"path");let t=e.length;if(0===t)return".";let n=-1,r=0,i=e.charCodeAt(0);if(1===t)return tf(i)?e:".";if(tf(i)){if(n=r=1,tf(e.charCodeAt(1))){let i=2,a=2;for(;i2&&tf(e.charCodeAt(2))?3:2);let a=-1,o=!0;for(let n=t-1;n>=r;--n)if(tf(e.charCodeAt(n))){if(!o){a=n;break}}else o=!1;if(-1===a){if(-1===n)return".";a=n}return e.slice(0,a)},basename(e,t){let n;void 0!==t&&t_(t,"ext"),t_(e,"path");let r=0,i=-1,a=!0;if(e.length>=2&&th(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(r=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,s=-1;for(n=e.length-1;n>=r;--n){let l=e.charCodeAt(n);if(tf(l)){if(!a){r=n+1;break}}else -1===s&&(a=!1,s=n+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(i=n):(o=-1,i=s))}return r===i?i=s:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=r;--n)if(tf(e.charCodeAt(n))){if(!a){r=n+1;break}}else -1===i&&(a=!1,i=n+1);return -1===i?"":e.slice(r,i)},extname(e){t_(e,"path");let t=0,n=-1,r=0,i=-1,a=!0,o=0;e.length>=2&&58===e.charCodeAt(1)&&th(e.charCodeAt(0))&&(t=r=2);for(let s=e.length-1;s>=t;--s){let t=e.charCodeAt(s);if(tf(t)){if(!a){r=s+1;break}continue}-1===i&&(a=!1,i=s+1),46===t?-1===n?n=s:1!==o&&(o=1):-1!==n&&(o=-1)}return -1===n||-1===i||0===o||1===o&&n===i-1&&n===r+1?"":e.slice(n,i)},format:tg.bind(null,"\\"),parse(e){t_(e,"path");let t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;let n=e.length,r=0,i=e.charCodeAt(0);if(1===n)return tf(i)?t.root=t.dir=e:t.base=t.name=e,t;if(tf(i)){if(r=1,tf(e.charCodeAt(1))){let t=2,i=2;for(;t0&&(t.root=e.slice(0,r));let a=-1,o=r,s=-1,l=!0,c=e.length-1,d=0;for(;c>=r;--c){if(tf(i=e.charCodeAt(c))){if(!l){o=c+1;break}continue}-1===s&&(l=!1,s=c+1),46===i?-1===a?a=c:1!==d&&(d=1):-1!==a&&(d=-1)}return -1!==s&&(-1===a||0===d||1===d&&a===s-1&&a===o+1?t.base=t.name=e.slice(o,s):(t.name=e.slice(o,a),t.base=e.slice(o,s),t.ext=e.slice(a,s))),o>0&&o!==r?t.dir=e.slice(0,o-1):t.dir=t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},tb=(()=>{if(tp){let e=/\\/g;return()=>{let t=tl().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>tl()})(),tE={resolve(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){let i=r>=0?e[r]:tb();t_(i,"path"),0!==i.length&&(t=`${i}/${t}`,n=47===i.charCodeAt(0))}return(t=ty(t,!n,"/",tm),n)?`/${t}`:t.length>0?t:"."},normalize(e){if(t_(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);return 0===(e=ty(e,!t,"/",tm)).length?t?"/":n?"./":".":(n&&(e+="/"),t?`/${e}`:e)},isAbsolute:e=>(t_(e,"path"),e.length>0&&47===e.charCodeAt(0)),join(...e){let t;if(0===e.length)return".";for(let n=0;n0&&(void 0===t?t=r:t+=`/${r}`)}return void 0===t?".":tE.normalize(t)},relative(e,t){if(t_(e,"from"),t_(t,"to"),e===t||(e=tE.resolve(e),t=tE.resolve(t),e===t))return"";let n=e.length,r=n-1,i=t.length-1,a=ra){if(47===t.charCodeAt(1+s))return t.slice(1+s+1);if(0===s)return t.slice(1+s)}else r>a&&(47===e.charCodeAt(1+s)?o=s:0===s&&(o=0))}let l="";for(s=1+o+1;s<=n;++s)(s===n||47===e.charCodeAt(s))&&(l+=0===l.length?"..":"/..");return`${l}${t.slice(1+o)}`},toNamespacedPath:e=>e,dirname(e){if(t_(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),n=-1,r=!0;for(let t=e.length-1;t>=1;--t)if(47===e.charCodeAt(t)){if(!r){n=t;break}}else r=!1;return -1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)},basename(e,t){let n;void 0!==t&&t_(t,"ext"),t_(e,"path");let r=0,i=-1,a=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,s=-1;for(n=e.length-1;n>=0;--n){let l=e.charCodeAt(n);if(47===l){if(!a){r=n+1;break}}else -1===s&&(a=!1,s=n+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(i=n):(o=-1,i=s))}return r===i?i=s:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!a){r=n+1;break}}else -1===i&&(a=!1,i=n+1);return -1===i?"":e.slice(r,i)},extname(e){t_(e,"path");let t=-1,n=0,r=-1,i=!0,a=0;for(let o=e.length-1;o>=0;--o){let s=e.charCodeAt(o);if(47===s){if(!i){n=o+1;break}continue}-1===r&&(i=!1,r=o+1),46===s?-1===t?t=o:1!==a&&(a=1):-1!==t&&(a=-1)}return -1===t||-1===r||0===a||1===a&&t===r-1&&t===n+1?"":e.slice(t,r)},format:tg.bind(null,"/"),parse(e){let t;t_(e,"path");let n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;let r=47===e.charCodeAt(0);r?(n.root="/",t=1):t=0;let i=-1,a=0,o=-1,s=!0,l=e.length-1,c=0;for(;l>=t;--l){let t=e.charCodeAt(l);if(47===t){if(!s){a=l+1;break}continue}-1===o&&(s=!1,o=l+1),46===t?-1===i?i=l:1!==c&&(c=1):-1!==i&&(c=-1)}if(-1!==o){let t=0===a&&r?1:a;-1===i||0===c||1===c&&i===o-1&&i===a+1?n.base=n.name=e.slice(t,o):(n.name=e.slice(t,i),n.base=e.slice(t,o),n.ext=e.slice(i,o))}return a>0?n.dir=e.slice(0,a-1):r&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};tE.win32=tv.win32=tv,tE.posix=tv.posix=tE,tp?tv.normalize:tE.normalize,tp?tv.resolve:tE.resolve,tp?tv.relative:tE.relative,tp?tv.dirname:tE.dirname,tp?tv.basename:tE.basename,tp?tv.extname:tE.extname,tp?tv.sep:tE.sep;let tT=/^\w[\w\d+.-]*$/,tx=/^\//,tS=/^\/\//;function tA(e,t){if(!e.scheme&&t)throw Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!tT.test(e.scheme))throw Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!tx.test(e.path))throw Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(tS.test(e.path))throw Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}let tL=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class tC{static isUri(e){return e instanceof tC||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString}constructor(e,t,n,r,i,a=!1){"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=function(e,t){return e||t?e:"file"}(e,a),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?"/"!==t[0]&&(t="/"+t):t="/"}return t}(this.scheme,n||""),this.query=r||"",this.fragment=i||"",tA(this,a))}get fsPath(){return tD(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:r,query:i,fragment:a}=e;return(void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===r?r=this.path:null===r&&(r=""),void 0===i?i=this.query:null===i&&(i=""),void 0===a?a=this.fragment:null===a&&(a=""),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&a===this.fragment)?this:new tI(t,n,r,i,a)}static parse(e,t=!1){let n=tL.exec(e);return n?new tI(n[2]||"",tP(n[4]||""),tP(n[5]||""),tP(n[7]||""),tP(n[9]||""),t):new tI("","","","","")}static file(e){let t="";if(eC&&(e=e.replace(/\\/g,"/")),"/"===e[0]&&"/"===e[1]){let n=e.indexOf("/",2);-1===n?(t=e.substring(2),e="/"):(t=e.substring(2,n),e=e.substring(n)||"/")}return new tI("file",t,e,"","")}static from(e){let t=new tI(e.scheme,e.authority,e.path,e.query,e.fragment);return tA(t,!0),t}static joinPath(e,...t){let n;if(!e.path)throw Error("[UriError]: cannot call joinPath on URI without path");return n=eC&&"file"===e.scheme?tC.file(tv.join(tD(e,!0),...t)).path:tE.join(e.path,...t),e.with({path:n})}toString(e=!1){return tO(this,e)}toJSON(){return this}static revive(e){if(!e||e instanceof tC)return e;{let t=new tI(e);return t._formatted=e.external,t._fsPath=e._sep===tk?e.fsPath:null,t}}}let tk=eC?1:void 0;class tI extends tC{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=tD(this,!1)),this._fsPath}toString(e=!1){return e?tO(this,!0):(this._formatted||(this._formatted=tO(this,!1)),this._formatted)}toJSON(){let e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=tk),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}let tw={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function tR(e,t,n){let r;let i=-1;for(let a=0;a=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o||n&&91===o||n&&93===o||n&&58===o)-1!==i&&(r+=encodeURIComponent(e.substring(i,a)),i=-1),void 0!==r&&(r+=e.charAt(a));else{void 0===r&&(r=e.substr(0,a));let t=tw[o];void 0!==t?(-1!==i&&(r+=encodeURIComponent(e.substring(i,a)),i=-1),r+=t):-1===i&&(i=a)}}return -1!==i&&(r+=encodeURIComponent(e.substring(i))),void 0!==r?r:e}function tN(e){let t;for(let n=0;n1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&90>=e.path.charCodeAt(1)||e.path.charCodeAt(1)>=97&&122>=e.path.charCodeAt(1))&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,eC&&(n=n.replace(/\//g,"\\")),n}function tO(e,t){let n=t?tN:tR,r="",{scheme:i,authority:a,path:o,query:s,fragment:l}=e;if(i&&(r+=i+":"),(a||"file"===i)&&(r+="//"),a){let e=a.indexOf("@");if(-1!==e){let t=a.substr(0,e);a=a.substr(e+1),-1===(e=t.lastIndexOf(":"))?r+=n(t,!1,!1):r+=n(t.substr(0,e),!1,!1)+":"+n(t.substr(e+1),!1,!0),r+="@"}-1===(e=(a=a.toLowerCase()).lastIndexOf(":"))?r+=n(a,!1,!0):r+=n(a.substr(0,e),!1,!0)+a.substr(e)}if(o){if(o.length>=3&&47===o.charCodeAt(0)&&58===o.charCodeAt(2)){let e=o.charCodeAt(1);e>=65&&e<=90&&(o=`/${String.fromCharCode(e+32)}:${o.substr(3)}`)}else if(o.length>=2&&58===o.charCodeAt(1)){let e=o.charCodeAt(0);e>=65&&e<=90&&(o=`${String.fromCharCode(e+32)}:${o.substr(2)}`)}r+=n(o,!0,!1)}return s&&(r+="?"+n(s,!1,!1)),l&&(r+="#"+(t?l:tR(l,!1,!1))),r}let tM=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function tP(e){return e.match(tM)?e.replace(tM,e=>(function e(t){try{return decodeURIComponent(t)}catch(n){if(t.length>3)return t.substr(0,3)+e(t.substr(3));return t}})(e)):e}class tF{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new tF(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return tF.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return tF.isBefore(this,e)}static isBefore(e,t){return e.lineNumbern||e===n&&t>r?(this.startLineNumber=n,this.startColumn=r,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=r)}isEmpty(){return tG.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return tG.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.columne.endColumn))}static strictContainsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.column<=e.startColumn))&&(t.lineNumber!==e.endLineNumber||!(t.column>=e.endColumn))}containsRange(e){return tG.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumne.endColumn))}strictContainsRange(e){return tG.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumn<=e.startColumn))&&(t.endLineNumber!==e.endLineNumber||!(t.endColumn>=e.endColumn))}plusRange(e){return tG.plusRange(this,e)}static plusRange(e,t){let n,r,i,a;return t.startLineNumbere.endLineNumber?(i=t.endLineNumber,a=t.endColumn):t.endLineNumber===e.endLineNumber?(i=t.endLineNumber,a=Math.max(t.endColumn,e.endColumn)):(i=e.endLineNumber,a=e.endColumn),new tG(n,r,i,a)}intersectRanges(e){return tG.intersectRanges(this,e)}static intersectRanges(e,t){let n=e.startLineNumber,r=e.startColumn,i=e.endLineNumber,a=e.endColumn,o=t.startLineNumber,s=t.startColumn,l=t.endLineNumber,c=t.endColumn;return(nl?(i=l,a=c):i===l&&(a=Math.min(a,c)),n>i||n===i&&r>a)?null:new tG(n,r,i,a)}equalsRange(e){return tG.equalsRange(this,e)}static equalsRange(e,t){return!e&&!t||!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return tG.getEndPosition(this)}static getEndPosition(e){return new tF(e.endLineNumber,e.endColumn)}getStartPosition(){return tG.getStartPosition(this)}static getStartPosition(e){return new tF(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new tG(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new tG(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return tG.collapseToStart(this)}static collapseToStart(e){return new tG(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}collapseToEnd(){return tG.collapseToEnd(this)}static collapseToEnd(e){return new tG(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn)}delta(e){return new tG(this.startLineNumber+e,this.startColumn,this.endLineNumber+e,this.endColumn)}static fromPositions(e,t=e){return new tG(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new tG(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumbere.startLineNumber}toJSON(){return this}}!function(e){e.isLessThan=function(e){return e<0},e.isGreaterThan=function(e){return e>0},e.isNeitherLessOrGreaterThan=function(e){return 0===e},e.greaterThan=1,e.lessThan=-1,e.neitherLessOrGreaterThan=0}(T||(T={}));class tB{constructor(e){this.iterate=e}toArray(){let e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(e){return new tB(t=>this.iterate(n=>!e(n)||t(n)))}map(e){return new tB(t=>this.iterate(n=>t(e(n))))}findLast(e){let t;return this.iterate(n=>(e(n)&&(t=n),!0)),t}findLastMaxBy(e){let t;let n=!0;return this.iterate(r=>((n||T.isGreaterThan(e(r,t)))&&(n=!1,t=r),!0)),t}}function tU(e){return e<0?0:e>255?255:0|e}function tV(e){return e<0?0:e>4294967295?4294967295:0|e}tB.empty=new tB(e=>{});class tj{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=tV(e);let n=this.values,r=this.prefixSum,i=t.length;return 0!==i&&(this.values=new Uint32Array(n.length+i),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e),e+i),this.values.set(t,e),e-1=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,t){return e=tV(e),t=tV(t),this.values[e]!==t&&(this.values[e]=t,e-1=n.length)return!1;let i=n.length-e;return t>=i&&(t=i),0!==t&&(this.values=new Uint32Array(n.length-t),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return 0===this.values.length?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=tV(e),this._getPrefixSum(e))}_getPrefixSum(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let n=t;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let t=0,n=this.values.length-1,r=0,i=0,a=0;for(;t<=n;)if(r=t+(n-t)/2|0,a=(i=this.prefixSum[r])-this.values[r],e=i)t=r+1;else break;return new tH(r,e-a)}}class tH{constructor(e,t){this.index=e,this.remainder=t,this._prefixSumIndexOfResultBrand=void 0,this.index=e,this.remainder=t}}class tK{constructor(e,t,n,r){this._uri=e,this._lines=t,this._eol=n,this._versionId=r,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){for(let t of(e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null),e.changes))this._acceptDeleteRange(t.range),this._acceptInsertText(new tF(t.range.startLineNumber,t.range.startColumn),t.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){let e=this._eol.length,t=this._lines.length,n=new Uint32Array(t);for(let r=0;r/?")e.indexOf(n)>=0||(t+="\\"+n);return RegExp(t+="\\s]+)","g")}(),tz=new y;function tq(e,t,n,r,i){if(i||(i=v.first(tz)),n.length>i.maxLen){let a=e-i.maxLen/2;return a<0?a=0:r+=a,n=n.substring(a,e+i.maxLen/2),tq(e,t,n,r,i)}let a=Date.now(),o=e-1-r,s=-1,l=null;for(let e=1;!(Date.now()-a>=i.timeBudget);e++){let r=o-i.windowSize*e;t.lastIndex=Math.max(0,r);let a=function(e,t,n,r){let i;for(;i=e.exec(t);){let t=i.index||0;if(t<=n&&e.lastIndex>=n)return i;if(r>0&&t>r)break}return null}(t,n,o,s);if(!a&&l||(l=a,r<=0))break;s=r}if(l){let e={word:l[0],startColumn:r+1+l.index,endColumn:r+1+l.index+l[0].length};return t.lastIndex=0,e}return null}tz.unshift({maxLen:1e3,windowSize:15,timeBudget:150});class tJ{constructor(e){let t=tU(e);this._defaultValue=t,this._asciiMap=tJ._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){let t=new Uint8Array(256);return t.fill(e),t}set(e,t){let n=tU(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class tX{constructor(e,t,n){let r=new Uint8Array(e*t);for(let i=0,a=e*t;it&&(t=a),i>n&&(n=i),o>n&&(n=o)}t++,n++;let r=new tX(n,t,0);for(let t=0,n=e.length;t=this._maxCharCode?0:this._states.get(e,t)}}let t$=null;function tQ(){return null===t$&&(t$=new tY([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),t$}let tZ=null;class t0{static _createLink(e,t,n,r,i){let a=i-1;do{let n=t.charCodeAt(a);if(2!==e.get(n))break;a--}while(a>r)if(r>0){let e=t.charCodeAt(r-1),n=t.charCodeAt(a);(40===e&&41===n||91===e&&93===n||123===e&&125===n)&&a--}return{range:{startLineNumber:n,startColumn:r+1,endLineNumber:n,endColumn:a+2},url:t.substring(r,a+1)}}static computeLinks(e,t=tQ()){let n=function(){if(null===tZ){tZ=new tJ(0);let e=" <>'\"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…";for(let t=0;t=0?((r+=n?1:-1)<0?r=e.length-1:r%=e.length,e[r]):null}}t1.INSTANCE=new t1;let t2=Object.freeze(function(e,t){let n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}});!function(e){e.isCancellationToken=function(t){return t===e.None||t===e.Cancelled||t instanceof t4||!!t&&"object"==typeof t&&"boolean"==typeof t.isCancellationRequested&&"function"==typeof t.onCancellationRequested},e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:E.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:t2})}(x||(x={}));class t4{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){!this._isCancelled&&(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?t2:(this._emitter||(this._emitter=new eG),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class t8{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}let t6=new t8,t3=new t8,t5=new t8,t7=Array(230),t9={},ne=[],nt=Object.create(null),nn=Object.create(null),nr=[],ni=[];for(let e=0;e<=193;e++)nr[e]=-1;for(let e=0;e<=132;e++)ni[e]=-1;(function(){let e=[],t=[];for(let n of[[1,0,"None",0,"unknown",0,"VK_UNKNOWN","",""],[1,1,"Hyper",0,"",0,"","",""],[1,2,"Super",0,"",0,"","",""],[1,3,"Fn",0,"",0,"","",""],[1,4,"FnLock",0,"",0,"","",""],[1,5,"Suspend",0,"",0,"","",""],[1,6,"Resume",0,"",0,"","",""],[1,7,"Turbo",0,"",0,"","",""],[1,8,"Sleep",0,"",0,"VK_SLEEP","",""],[1,9,"WakeUp",0,"",0,"","",""],[0,10,"KeyA",31,"A",65,"VK_A","",""],[0,11,"KeyB",32,"B",66,"VK_B","",""],[0,12,"KeyC",33,"C",67,"VK_C","",""],[0,13,"KeyD",34,"D",68,"VK_D","",""],[0,14,"KeyE",35,"E",69,"VK_E","",""],[0,15,"KeyF",36,"F",70,"VK_F","",""],[0,16,"KeyG",37,"G",71,"VK_G","",""],[0,17,"KeyH",38,"H",72,"VK_H","",""],[0,18,"KeyI",39,"I",73,"VK_I","",""],[0,19,"KeyJ",40,"J",74,"VK_J","",""],[0,20,"KeyK",41,"K",75,"VK_K","",""],[0,21,"KeyL",42,"L",76,"VK_L","",""],[0,22,"KeyM",43,"M",77,"VK_M","",""],[0,23,"KeyN",44,"N",78,"VK_N","",""],[0,24,"KeyO",45,"O",79,"VK_O","",""],[0,25,"KeyP",46,"P",80,"VK_P","",""],[0,26,"KeyQ",47,"Q",81,"VK_Q","",""],[0,27,"KeyR",48,"R",82,"VK_R","",""],[0,28,"KeyS",49,"S",83,"VK_S","",""],[0,29,"KeyT",50,"T",84,"VK_T","",""],[0,30,"KeyU",51,"U",85,"VK_U","",""],[0,31,"KeyV",52,"V",86,"VK_V","",""],[0,32,"KeyW",53,"W",87,"VK_W","",""],[0,33,"KeyX",54,"X",88,"VK_X","",""],[0,34,"KeyY",55,"Y",89,"VK_Y","",""],[0,35,"KeyZ",56,"Z",90,"VK_Z","",""],[0,36,"Digit1",22,"1",49,"VK_1","",""],[0,37,"Digit2",23,"2",50,"VK_2","",""],[0,38,"Digit3",24,"3",51,"VK_3","",""],[0,39,"Digit4",25,"4",52,"VK_4","",""],[0,40,"Digit5",26,"5",53,"VK_5","",""],[0,41,"Digit6",27,"6",54,"VK_6","",""],[0,42,"Digit7",28,"7",55,"VK_7","",""],[0,43,"Digit8",29,"8",56,"VK_8","",""],[0,44,"Digit9",30,"9",57,"VK_9","",""],[0,45,"Digit0",21,"0",48,"VK_0","",""],[1,46,"Enter",3,"Enter",13,"VK_RETURN","",""],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE","",""],[1,48,"Backspace",1,"Backspace",8,"VK_BACK","",""],[1,49,"Tab",2,"Tab",9,"VK_TAB","",""],[1,50,"Space",10,"Space",32,"VK_SPACE","",""],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,"",0,"","",""],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL","",""],[1,64,"F1",59,"F1",112,"VK_F1","",""],[1,65,"F2",60,"F2",113,"VK_F2","",""],[1,66,"F3",61,"F3",114,"VK_F3","",""],[1,67,"F4",62,"F4",115,"VK_F4","",""],[1,68,"F5",63,"F5",116,"VK_F5","",""],[1,69,"F6",64,"F6",117,"VK_F6","",""],[1,70,"F7",65,"F7",118,"VK_F7","",""],[1,71,"F8",66,"F8",119,"VK_F8","",""],[1,72,"F9",67,"F9",120,"VK_F9","",""],[1,73,"F10",68,"F10",121,"VK_F10","",""],[1,74,"F11",69,"F11",122,"VK_F11","",""],[1,75,"F12",70,"F12",123,"VK_F12","",""],[1,76,"PrintScreen",0,"",0,"","",""],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL","",""],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE","",""],[1,79,"Insert",19,"Insert",45,"VK_INSERT","",""],[1,80,"Home",14,"Home",36,"VK_HOME","",""],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR","",""],[1,82,"Delete",20,"Delete",46,"VK_DELETE","",""],[1,83,"End",13,"End",35,"VK_END","",""],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT","",""],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",""],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",""],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",""],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",""],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK","",""],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE","",""],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY","",""],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT","",""],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD","",""],[1,94,"NumpadEnter",3,"",0,"","",""],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1","",""],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2","",""],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3","",""],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4","",""],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5","",""],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6","",""],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7","",""],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8","",""],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9","",""],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0","",""],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL","",""],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102","",""],[1,107,"ContextMenu",58,"ContextMenu",93,"","",""],[1,108,"Power",0,"",0,"","",""],[1,109,"NumpadEqual",0,"",0,"","",""],[1,110,"F13",71,"F13",124,"VK_F13","",""],[1,111,"F14",72,"F14",125,"VK_F14","",""],[1,112,"F15",73,"F15",126,"VK_F15","",""],[1,113,"F16",74,"F16",127,"VK_F16","",""],[1,114,"F17",75,"F17",128,"VK_F17","",""],[1,115,"F18",76,"F18",129,"VK_F18","",""],[1,116,"F19",77,"F19",130,"VK_F19","",""],[1,117,"F20",78,"F20",0,"VK_F20","",""],[1,118,"F21",79,"F21",0,"VK_F21","",""],[1,119,"F22",80,"F22",0,"VK_F22","",""],[1,120,"F23",81,"F23",0,"VK_F23","",""],[1,121,"F24",82,"F24",0,"VK_F24","",""],[1,122,"Open",0,"",0,"","",""],[1,123,"Help",0,"",0,"","",""],[1,124,"Select",0,"",0,"","",""],[1,125,"Again",0,"",0,"","",""],[1,126,"Undo",0,"",0,"","",""],[1,127,"Cut",0,"",0,"","",""],[1,128,"Copy",0,"",0,"","",""],[1,129,"Paste",0,"",0,"","",""],[1,130,"Find",0,"",0,"","",""],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE","",""],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP","",""],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN","",""],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR","",""],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1","",""],[1,136,"KanaMode",0,"",0,"","",""],[0,137,"IntlYen",0,"",0,"","",""],[1,138,"Convert",0,"",0,"","",""],[1,139,"NonConvert",0,"",0,"","",""],[1,140,"Lang1",0,"",0,"","",""],[1,141,"Lang2",0,"",0,"","",""],[1,142,"Lang3",0,"",0,"","",""],[1,143,"Lang4",0,"",0,"","",""],[1,144,"Lang5",0,"",0,"","",""],[1,145,"Abort",0,"",0,"","",""],[1,146,"Props",0,"",0,"","",""],[1,147,"NumpadParenLeft",0,"",0,"","",""],[1,148,"NumpadParenRight",0,"",0,"","",""],[1,149,"NumpadBackspace",0,"",0,"","",""],[1,150,"NumpadMemoryStore",0,"",0,"","",""],[1,151,"NumpadMemoryRecall",0,"",0,"","",""],[1,152,"NumpadMemoryClear",0,"",0,"","",""],[1,153,"NumpadMemoryAdd",0,"",0,"","",""],[1,154,"NumpadMemorySubtract",0,"",0,"","",""],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR","",""],[1,156,"NumpadClearEntry",0,"",0,"","",""],[1,0,"",5,"Ctrl",17,"VK_CONTROL","",""],[1,0,"",4,"Shift",16,"VK_SHIFT","",""],[1,0,"",6,"Alt",18,"VK_MENU","",""],[1,0,"",57,"Meta",91,"VK_COMMAND","",""],[1,157,"ControlLeft",5,"",0,"VK_LCONTROL","",""],[1,158,"ShiftLeft",4,"",0,"VK_LSHIFT","",""],[1,159,"AltLeft",6,"",0,"VK_LMENU","",""],[1,160,"MetaLeft",57,"",0,"VK_LWIN","",""],[1,161,"ControlRight",5,"",0,"VK_RCONTROL","",""],[1,162,"ShiftRight",4,"",0,"VK_RSHIFT","",""],[1,163,"AltRight",6,"",0,"VK_RMENU","",""],[1,164,"MetaRight",57,"",0,"VK_RWIN","",""],[1,165,"BrightnessUp",0,"",0,"","",""],[1,166,"BrightnessDown",0,"",0,"","",""],[1,167,"MediaPlay",0,"",0,"","",""],[1,168,"MediaRecord",0,"",0,"","",""],[1,169,"MediaFastForward",0,"",0,"","",""],[1,170,"MediaRewind",0,"",0,"","",""],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK","",""],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK","",""],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP","",""],[1,174,"Eject",0,"",0,"","",""],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE","",""],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT","",""],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL","",""],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2","",""],[1,179,"LaunchApp1",0,"",0,"VK_MEDIA_LAUNCH_APP1","",""],[1,180,"SelectTask",0,"",0,"","",""],[1,181,"LaunchScreenSaver",0,"",0,"","",""],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH","",""],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME","",""],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK","",""],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD","",""],[1,186,"BrowserStop",0,"",0,"VK_BROWSER_STOP","",""],[1,187,"BrowserRefresh",0,"",0,"VK_BROWSER_REFRESH","",""],[1,188,"BrowserFavorites",0,"",0,"VK_BROWSER_FAVORITES","",""],[1,189,"ZoomToggle",0,"",0,"","",""],[1,190,"MailReply",0,"",0,"","",""],[1,191,"MailForward",0,"",0,"","",""],[1,192,"MailSend",0,"",0,"","",""],[1,0,"",114,"KeyInComposition",229,"","",""],[1,0,"",116,"ABNT_C2",194,"VK_ABNT_C2","",""],[1,0,"",96,"OEM_8",223,"VK_OEM_8","",""],[1,0,"",0,"",0,"VK_KANA","",""],[1,0,"",0,"",0,"VK_HANGUL","",""],[1,0,"",0,"",0,"VK_JUNJA","",""],[1,0,"",0,"",0,"VK_FINAL","",""],[1,0,"",0,"",0,"VK_HANJA","",""],[1,0,"",0,"",0,"VK_KANJI","",""],[1,0,"",0,"",0,"VK_CONVERT","",""],[1,0,"",0,"",0,"VK_NONCONVERT","",""],[1,0,"",0,"",0,"VK_ACCEPT","",""],[1,0,"",0,"",0,"VK_MODECHANGE","",""],[1,0,"",0,"",0,"VK_SELECT","",""],[1,0,"",0,"",0,"VK_PRINT","",""],[1,0,"",0,"",0,"VK_EXECUTE","",""],[1,0,"",0,"",0,"VK_SNAPSHOT","",""],[1,0,"",0,"",0,"VK_HELP","",""],[1,0,"",0,"",0,"VK_APPS","",""],[1,0,"",0,"",0,"VK_PROCESSKEY","",""],[1,0,"",0,"",0,"VK_PACKET","",""],[1,0,"",0,"",0,"VK_DBE_SBCSCHAR","",""],[1,0,"",0,"",0,"VK_DBE_DBCSCHAR","",""],[1,0,"",0,"",0,"VK_ATTN","",""],[1,0,"",0,"",0,"VK_CRSEL","",""],[1,0,"",0,"",0,"VK_EXSEL","",""],[1,0,"",0,"",0,"VK_EREOF","",""],[1,0,"",0,"",0,"VK_PLAY","",""],[1,0,"",0,"",0,"VK_ZOOM","",""],[1,0,"",0,"",0,"VK_NONAME","",""],[1,0,"",0,"",0,"VK_PA1","",""],[1,0,"",0,"",0,"VK_OEM_CLEAR","",""]]){let[r,i,a,o,s,l,c,d,u]=n;if(!t[i]&&(t[i]=!0,ne[i]=a,nt[a]=i,nn[a.toLowerCase()]=i,r&&(nr[i]=o,0!==o&&3!==o&&5!==o&&4!==o&&6!==o&&57!==o&&(ni[o]=i))),!e[o]){if(e[o]=!0,!s)throw Error(`String representation missing for key code ${o} around scan code ${a}`);t6.define(o,s),t3.define(o,d||s),t5.define(o,u||d||s)}l&&(t7[l]=o),c&&(t9[c]=o)}ni[3]=46})(),function(e){e.toString=function(e){return t6.keyCodeToStr(e)},e.fromString=function(e){return t6.strToKeyCode(e)},e.toUserSettingsUS=function(e){return t3.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return t5.keyCodeToStr(e)},e.fromUserSettings=function(e){return t3.strToKeyCode(e)||t5.strToKeyCode(e)},e.toElectronAccelerator=function(e){if(e>=98&&e<=113)return null;switch(e){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return t6.keyCodeToStr(e)}}(S||(S={}));class na extends tG{constructor(e,t,n,r){super(e,t,n,r),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=n,this.positionColumn=r}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return na.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new na(this.startLineNumber,this.startColumn,e,t):new na(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new tF(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new tF(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,t){return 0===this.getDirection()?new na(e,t,this.endLineNumber,this.endColumn):new na(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new na(e.lineNumber,e.column,t.lineNumber,t.column)}static fromRange(e,t){return 0===t?new na(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new na(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new na(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let n=0,r=e.length;n{this._tokenizationSupports.get(e)===t&&(this._tokenizationSupports.delete(e),this.handleChange([e]))})}get(e){return this._tokenizationSupports.get(e)||null}registerFactory(e,t){var n;null===(n=this._factories.get(e))||void 0===n||n.dispose();let r=new nd(this,e,t);return this._factories.set(e,r),_(()=>{let t=this._factories.get(e);t&&t===r&&(this._factories.delete(e),t.dispose())})}getOrCreate(e){return nc(this,void 0,void 0,function*(){let t=this.get(e);if(t)return t;let n=this._factories.get(e);return!n||n.isResolved?null:(yield n.resolve(),this.get(e))})}isResolved(e){if(this.get(e))return!0;let t=this._factories.get(e);return!t||!!t.isResolved}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}},function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"}(N||(N={})),function(e){e[e.Invoke=1]="Invoke",e[e.Auto=2]="Auto"}(D||(D={})),function(e){e[e.None=0]="None",e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"}(O||(O={})),function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.User=25]="User",e[e.Issue=26]="Issue",e[e.Snippet=27]="Snippet"}(M||(M={})),function(e){e[e.Deprecated=1]="Deprecated"}(P||(P={})),function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"}(F||(F={})),function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"}(G||(G={})),function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"}(B||(B={})),function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(U||(U={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(V||(V={})),function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"}(j||(j={})),function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.autoClosingBrackets=5]="autoClosingBrackets",e[e.screenReaderAnnounceInlineSuggestion=6]="screenReaderAnnounceInlineSuggestion",e[e.autoClosingDelete=7]="autoClosingDelete",e[e.autoClosingOvertype=8]="autoClosingOvertype",e[e.autoClosingQuotes=9]="autoClosingQuotes",e[e.autoIndent=10]="autoIndent",e[e.automaticLayout=11]="automaticLayout",e[e.autoSurround=12]="autoSurround",e[e.bracketPairColorization=13]="bracketPairColorization",e[e.guides=14]="guides",e[e.codeLens=15]="codeLens",e[e.codeLensFontFamily=16]="codeLensFontFamily",e[e.codeLensFontSize=17]="codeLensFontSize",e[e.colorDecorators=18]="colorDecorators",e[e.colorDecoratorsLimit=19]="colorDecoratorsLimit",e[e.columnSelection=20]="columnSelection",e[e.comments=21]="comments",e[e.contextmenu=22]="contextmenu",e[e.copyWithSyntaxHighlighting=23]="copyWithSyntaxHighlighting",e[e.cursorBlinking=24]="cursorBlinking",e[e.cursorSmoothCaretAnimation=25]="cursorSmoothCaretAnimation",e[e.cursorStyle=26]="cursorStyle",e[e.cursorSurroundingLines=27]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=28]="cursorSurroundingLinesStyle",e[e.cursorWidth=29]="cursorWidth",e[e.disableLayerHinting=30]="disableLayerHinting",e[e.disableMonospaceOptimizations=31]="disableMonospaceOptimizations",e[e.domReadOnly=32]="domReadOnly",e[e.dragAndDrop=33]="dragAndDrop",e[e.dropIntoEditor=34]="dropIntoEditor",e[e.emptySelectionClipboard=35]="emptySelectionClipboard",e[e.experimentalWhitespaceRendering=36]="experimentalWhitespaceRendering",e[e.extraEditorClassName=37]="extraEditorClassName",e[e.fastScrollSensitivity=38]="fastScrollSensitivity",e[e.find=39]="find",e[e.fixedOverflowWidgets=40]="fixedOverflowWidgets",e[e.folding=41]="folding",e[e.foldingStrategy=42]="foldingStrategy",e[e.foldingHighlight=43]="foldingHighlight",e[e.foldingImportsByDefault=44]="foldingImportsByDefault",e[e.foldingMaximumRegions=45]="foldingMaximumRegions",e[e.unfoldOnClickAfterEndOfLine=46]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=47]="fontFamily",e[e.fontInfo=48]="fontInfo",e[e.fontLigatures=49]="fontLigatures",e[e.fontSize=50]="fontSize",e[e.fontWeight=51]="fontWeight",e[e.fontVariations=52]="fontVariations",e[e.formatOnPaste=53]="formatOnPaste",e[e.formatOnType=54]="formatOnType",e[e.glyphMargin=55]="glyphMargin",e[e.gotoLocation=56]="gotoLocation",e[e.hideCursorInOverviewRuler=57]="hideCursorInOverviewRuler",e[e.hover=58]="hover",e[e.inDiffEditor=59]="inDiffEditor",e[e.inlineSuggest=60]="inlineSuggest",e[e.letterSpacing=61]="letterSpacing",e[e.lightbulb=62]="lightbulb",e[e.lineDecorationsWidth=63]="lineDecorationsWidth",e[e.lineHeight=64]="lineHeight",e[e.lineNumbers=65]="lineNumbers",e[e.lineNumbersMinChars=66]="lineNumbersMinChars",e[e.linkedEditing=67]="linkedEditing",e[e.links=68]="links",e[e.matchBrackets=69]="matchBrackets",e[e.minimap=70]="minimap",e[e.mouseStyle=71]="mouseStyle",e[e.mouseWheelScrollSensitivity=72]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=73]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=74]="multiCursorMergeOverlapping",e[e.multiCursorModifier=75]="multiCursorModifier",e[e.multiCursorPaste=76]="multiCursorPaste",e[e.multiCursorLimit=77]="multiCursorLimit",e[e.occurrencesHighlight=78]="occurrencesHighlight",e[e.overviewRulerBorder=79]="overviewRulerBorder",e[e.overviewRulerLanes=80]="overviewRulerLanes",e[e.padding=81]="padding",e[e.parameterHints=82]="parameterHints",e[e.peekWidgetDefaultFocus=83]="peekWidgetDefaultFocus",e[e.definitionLinkOpensInPeek=84]="definitionLinkOpensInPeek",e[e.quickSuggestions=85]="quickSuggestions",e[e.quickSuggestionsDelay=86]="quickSuggestionsDelay",e[e.readOnly=87]="readOnly",e[e.renameOnType=88]="renameOnType",e[e.renderControlCharacters=89]="renderControlCharacters",e[e.renderFinalNewline=90]="renderFinalNewline",e[e.renderLineHighlight=91]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=92]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=93]="renderValidationDecorations",e[e.renderWhitespace=94]="renderWhitespace",e[e.revealHorizontalRightPadding=95]="revealHorizontalRightPadding",e[e.roundedSelection=96]="roundedSelection",e[e.rulers=97]="rulers",e[e.scrollbar=98]="scrollbar",e[e.scrollBeyondLastColumn=99]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=100]="scrollBeyondLastLine",e[e.scrollPredominantAxis=101]="scrollPredominantAxis",e[e.selectionClipboard=102]="selectionClipboard",e[e.selectionHighlight=103]="selectionHighlight",e[e.selectOnLineNumbers=104]="selectOnLineNumbers",e[e.showFoldingControls=105]="showFoldingControls",e[e.showUnused=106]="showUnused",e[e.snippetSuggestions=107]="snippetSuggestions",e[e.smartSelect=108]="smartSelect",e[e.smoothScrolling=109]="smoothScrolling",e[e.stickyScroll=110]="stickyScroll",e[e.stickyTabStops=111]="stickyTabStops",e[e.stopRenderingLineAfter=112]="stopRenderingLineAfter",e[e.suggest=113]="suggest",e[e.suggestFontSize=114]="suggestFontSize",e[e.suggestLineHeight=115]="suggestLineHeight",e[e.suggestOnTriggerCharacters=116]="suggestOnTriggerCharacters",e[e.suggestSelection=117]="suggestSelection",e[e.tabCompletion=118]="tabCompletion",e[e.tabIndex=119]="tabIndex",e[e.unicodeHighlighting=120]="unicodeHighlighting",e[e.unusualLineTerminators=121]="unusualLineTerminators",e[e.useShadowDOM=122]="useShadowDOM",e[e.useTabStops=123]="useTabStops",e[e.wordBreak=124]="wordBreak",e[e.wordSeparators=125]="wordSeparators",e[e.wordWrap=126]="wordWrap",e[e.wordWrapBreakAfterCharacters=127]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=128]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=129]="wordWrapColumn",e[e.wordWrapOverride1=130]="wordWrapOverride1",e[e.wordWrapOverride2=131]="wordWrapOverride2",e[e.wrappingIndent=132]="wrappingIndent",e[e.wrappingStrategy=133]="wrappingStrategy",e[e.showDeprecated=134]="showDeprecated",e[e.inlayHints=135]="inlayHints",e[e.editorClassName=136]="editorClassName",e[e.pixelRatio=137]="pixelRatio",e[e.tabFocusMode=138]="tabFocusMode",e[e.layoutInfo=139]="layoutInfo",e[e.wrappingInfo=140]="wrappingInfo",e[e.defaultColorDecorators=141]="defaultColorDecorators"}(H||(H={})),function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(K||(K={})),function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"}(W||(W={})),function(e){e[e.Left=1]="Left",e[e.Right=2]="Right"}(z||(z={})),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(q||(q={})),function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"}(J||(J={})),function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"}(X||(X={})),function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"}(Y||(Y={})),function(e){e[e.DependsOnKbLayout=-1]="DependsOnKbLayout",e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.Digit0=21]="Digit0",e[e.Digit1=22]="Digit1",e[e.Digit2=23]="Digit2",e[e.Digit3=24]="Digit3",e[e.Digit4=25]="Digit4",e[e.Digit5=26]="Digit5",e[e.Digit6=27]="Digit6",e[e.Digit7=28]="Digit7",e[e.Digit8=29]="Digit8",e[e.Digit9=30]="Digit9",e[e.KeyA=31]="KeyA",e[e.KeyB=32]="KeyB",e[e.KeyC=33]="KeyC",e[e.KeyD=34]="KeyD",e[e.KeyE=35]="KeyE",e[e.KeyF=36]="KeyF",e[e.KeyG=37]="KeyG",e[e.KeyH=38]="KeyH",e[e.KeyI=39]="KeyI",e[e.KeyJ=40]="KeyJ",e[e.KeyK=41]="KeyK",e[e.KeyL=42]="KeyL",e[e.KeyM=43]="KeyM",e[e.KeyN=44]="KeyN",e[e.KeyO=45]="KeyO",e[e.KeyP=46]="KeyP",e[e.KeyQ=47]="KeyQ",e[e.KeyR=48]="KeyR",e[e.KeyS=49]="KeyS",e[e.KeyT=50]="KeyT",e[e.KeyU=51]="KeyU",e[e.KeyV=52]="KeyV",e[e.KeyW=53]="KeyW",e[e.KeyX=54]="KeyX",e[e.KeyY=55]="KeyY",e[e.KeyZ=56]="KeyZ",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.F20=78]="F20",e[e.F21=79]="F21",e[e.F22=80]="F22",e[e.F23=81]="F23",e[e.F24=82]="F24",e[e.NumLock=83]="NumLock",e[e.ScrollLock=84]="ScrollLock",e[e.Semicolon=85]="Semicolon",e[e.Equal=86]="Equal",e[e.Comma=87]="Comma",e[e.Minus=88]="Minus",e[e.Period=89]="Period",e[e.Slash=90]="Slash",e[e.Backquote=91]="Backquote",e[e.BracketLeft=92]="BracketLeft",e[e.Backslash=93]="Backslash",e[e.BracketRight=94]="BracketRight",e[e.Quote=95]="Quote",e[e.OEM_8=96]="OEM_8",e[e.IntlBackslash=97]="IntlBackslash",e[e.Numpad0=98]="Numpad0",e[e.Numpad1=99]="Numpad1",e[e.Numpad2=100]="Numpad2",e[e.Numpad3=101]="Numpad3",e[e.Numpad4=102]="Numpad4",e[e.Numpad5=103]="Numpad5",e[e.Numpad6=104]="Numpad6",e[e.Numpad7=105]="Numpad7",e[e.Numpad8=106]="Numpad8",e[e.Numpad9=107]="Numpad9",e[e.NumpadMultiply=108]="NumpadMultiply",e[e.NumpadAdd=109]="NumpadAdd",e[e.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",e[e.NumpadSubtract=111]="NumpadSubtract",e[e.NumpadDecimal=112]="NumpadDecimal",e[e.NumpadDivide=113]="NumpadDivide",e[e.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",e[e.ABNT_C1=115]="ABNT_C1",e[e.ABNT_C2=116]="ABNT_C2",e[e.AudioVolumeMute=117]="AudioVolumeMute",e[e.AudioVolumeUp=118]="AudioVolumeUp",e[e.AudioVolumeDown=119]="AudioVolumeDown",e[e.BrowserSearch=120]="BrowserSearch",e[e.BrowserHome=121]="BrowserHome",e[e.BrowserBack=122]="BrowserBack",e[e.BrowserForward=123]="BrowserForward",e[e.MediaTrackNext=124]="MediaTrackNext",e[e.MediaTrackPrevious=125]="MediaTrackPrevious",e[e.MediaStop=126]="MediaStop",e[e.MediaPlayPause=127]="MediaPlayPause",e[e.LaunchMediaPlayer=128]="LaunchMediaPlayer",e[e.LaunchMail=129]="LaunchMail",e[e.LaunchApp2=130]="LaunchApp2",e[e.Clear=131]="Clear",e[e.MAX_VALUE=132]="MAX_VALUE"}($||($={})),function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(Q||(Q={})),function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"}(Z||(Z={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(ee||(ee={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"}(et||(et={})),function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"}(en||(en={})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(er||(er={})),function(e){e[e.Left=0]="Left",e[e.Right=1]="Right",e[e.None=2]="None",e[e.LeftOfInjectedText=3]="LeftOfInjectedText",e[e.RightOfInjectedText=4]="RightOfInjectedText"}(ei||(ei={})),function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"}(ea||(ea={})),function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"}(eo||(eo={})),function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"}(es||(es={})),function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"}(el||(el={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(ec||(ec={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(ed||(ed={})),function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"}(eu||(eu={})),function(e){e[e.Deprecated=1]="Deprecated"}(e_||(e_={})),function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"}(ep||(ep={})),function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(ef||(ef={})),function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"}(em||(em={})),function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"}(eh||(eh={}));class n_{static chord(e,t){return(e|(65535&t)<<16>>>0)>>>0}}n_.CtrlCmd=2048,n_.Shift=1024,n_.Alt=512,n_.WinCtrl=256;class np extends tJ{constructor(e){super(0);for(let t=0,n=e.length;t65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}break}if(this._prevMatchStartIndex=i,this._prevMatchLength=a,!this._wordSeparators||function(e,t,n,r,i){if(0===r)return!0;let a=t.charCodeAt(r-1);if(0!==e.get(a)||13===a||10===a)return!0;if(i>0){let n=t.charCodeAt(r);if(0!==e.get(n))return!0}return!1}(r=this._wordSeparators,e,0,i,a)&&function(e,t,n,r,i){if(r+i===n)return!0;let a=t.charCodeAt(r+i);if(0!==e.get(a)||13===a||10===a)return!0;if(i>0){let n=t.charCodeAt(r+i-1);if(0!==e.get(n))return!0}return!1}(r,e,n,i,a))return t}while(t)return null}}function nm(e){e()||(e(),a(new d("Assertion Failed")))}function nh(e,t){let n=0;for(;nString.fromCodePoint(e)).join("").replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}]`,"g");let c=new nf(null,r),d=[],u=!1,_=0,p=0,f=0;e:for(let t=a;t<=o;t++){let n=e.getLineContent(t),r=n.length;c.reset(0);do if(i=c.next(n)){let e=i.index,a=i.index+i[0].length;e>0&&eW(n.charCodeAt(e-1))&&e--,a+1=1e3){u=!0;break e}d.push(new tG(t,e+1,t,a+1))}}while(i)}return{ranges:d,hasMore:u,ambiguousCharacterCount:_,invisibleCharacterCount:p,nonBasicAsciiCharacterCount:f}}static computeUnicodeHighlightReason(e,t){let n=new ng(t);switch(n.shouldHighlightNonBasicASCII(e,null)){case 0:return null;case 2:return{kind:1};case 3:{let r=e.codePointAt(0),i=n.ambiguousCharacters.getPrimaryConfusable(r),a=eY.getLocales().filter(e=>!eY.getInstance(new Set([...t.allowedLocales,e])).isAmbiguous(r));return{kind:0,confusableWith:String.fromCodePoint(i),notAmbiguousInLocales:a}}case 1:return{kind:2}}}}class ng{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=eY.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";let e=new Set;if(this.options.invisibleCharacters)for(let t of e$.codePoints)nv(String.fromCodePoint(t))||e.add(t);if(this.options.ambiguousCharacters)for(let t of this.ambiguousCharacters.getConfusableCodePoints())e.add(t);for(let t of this.allowedCodePoints)e.delete(t);return e}shouldHighlightNonBasicASCII(e,t){let n=e.codePointAt(0);if(this.allowedCodePoints.has(n))return 0;if(this.options.nonBasicASCII)return 1;let r=!1,i=!1;if(t)for(let e of t){let t=e.codePointAt(0),n=eJ.test(e);r=r||n,n||this.ambiguousCharacters.isAmbiguous(t)||e$.isInvisibleCharacter(t)||(i=!0)}return!r&&i?0:this.options.invisibleCharacters&&!nv(e)&&e$.isInvisibleCharacter(n)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(n)?3:0}}function nv(e){return" "===e||"\n"===e||" "===e}class nb{constructor(e,t){this.changes=e,this.hitTimeout=t}}class nE{constructor(e,t,n){this.originalRange=e,this.modifiedRange=t,this.innerChanges=n}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}get changedLineCount(){return Math.max(this.originalRange.length,this.modifiedRange.length)}}class nT{constructor(e,t){this.originalRange=e,this.modifiedRange=t}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}}class nx{static joinMany(e){if(0===e.length)return[];let t=e[0];for(let n=1;n=o.startLineNumber?a=new nx(a.startLineNumber,Math.max(a.endLineNumberExclusive,o.endLineNumberExclusive)):(n.push(a),a=o)}return null!==a&&n.push(a),n}constructor(e,t){if(e>t)throw new d(`startLineNumber ${e} cannot be after endLineNumberExclusive ${t}`);this.startLineNumber=e,this.endLineNumberExclusive=t}contains(e){return this.startLineNumber<=e&&e(10===e?"\\n":String.fromCharCode(e))+`-(${this._lineNumbers[t]},${this._columns[t]})`).join(", ")+"]"}_assertIndex(e,t){if(e<0||e>=t.length)throw Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(e){return e>0&&e===this._lineNumbers.length?this.getEndLineNumber(e-1):(this._assertIndex(e,this._lineNumbers),this._lineNumbers[e])}getEndLineNumber(e){return -1===e?this.getStartLineNumber(e+1):(this._assertIndex(e,this._lineNumbers),10===this._charCodes[e])?this._lineNumbers[e]+1:this._lineNumbers[e]}getStartColumn(e){return e>0&&e===this._columns.length?this.getEndColumn(e-1):(this._assertIndex(e,this._columns),this._columns[e])}getEndColumn(e){return -1===e?this.getStartColumn(e+1):(this._assertIndex(e,this._columns),10===this._charCodes[e])?1:this._columns[e]+1}}class nC{constructor(e,t,n,r,i,a,o,s){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=n,this.originalEndColumn=r,this.modifiedStartLineNumber=i,this.modifiedStartColumn=a,this.modifiedEndLineNumber=o,this.modifiedEndColumn=s}static createFromDiffChange(e,t,n){let r=t.getStartLineNumber(e.originalStart),i=t.getStartColumn(e.originalStart),a=t.getEndLineNumber(e.originalStart+e.originalLength-1),o=t.getEndColumn(e.originalStart+e.originalLength-1),s=n.getStartLineNumber(e.modifiedStart),l=n.getStartColumn(e.modifiedStart),c=n.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),d=n.getEndColumn(e.modifiedStart+e.modifiedLength-1);return new nC(r,i,a,o,s,l,c,d)}}class nk{constructor(e,t,n,r,i){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=r,this.charChanges=i}static createFromDiffResult(e,t,n,r,i,a,o){let s,l,c,d,u;if(0===t.originalLength?(s=n.getStartLineNumber(t.originalStart)-1,l=0):(s=n.getStartLineNumber(t.originalStart),l=n.getEndLineNumber(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(c=r.getStartLineNumber(t.modifiedStart)-1,d=0):(c=r.getStartLineNumber(t.modifiedStart),d=r.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),a&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&i()){let a=n.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),s=r.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);if(a.getElements().length>0&&s.getElements().length>0){let e=nS(a,s,i,!0).changes;o&&(e=function(e){if(e.length<=1)return e;let t=[e[0]],n=t[0];for(let r=1,i=e.length;rMath.min(i.originalStart-(n.originalStart+n.originalLength),i.modifiedStart-(n.modifiedStart+n.modifiedLength))?(n.originalLength=i.originalStart+i.originalLength-n.originalStart,n.modifiedLength=i.modifiedStart+i.modifiedLength-n.modifiedStart):(t.push(i),n=i)}return t}(e)),u=[];for(let t=0,n=e.length;t1&&o>1&&e.charCodeAt(n-2)===t.charCodeAt(o-2);)n--,o--;(n>1||o>1)&&this._pushTrimWhitespaceCharChange(r,i+1,1,n,a+1,1,o)}{let n=nR(e,1),o=nR(t,1),s=e.length+1,l=t.length+1;for(;n=0;n--){let t=e.charCodeAt(n);if(32!==t&&9!==t)return n}return -1}(e);return -1===n?t:n+2}function nN(e){if(0===e)return()=>!0;let t=Date.now();return()=>Date.now()-tt))return new nD(e,t)}constructor(e,t){if(this.start=e,this.endExclusive=t,e>t)throw new d(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(e){return new nD(this.start+e,this.endExclusive+e)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}equals(e){return this.start===e.start&&this.endExclusive===e.endExclusive}containsRange(e){return this.start<=e.start&&e.endExclusive<=this.endExclusive}join(e){return new nD(Math.min(this.start,e.start),Math.max(this.endExclusive,e.endExclusive))}intersect(e){let t=Math.max(this.start,e.start),n=Math.min(this.endExclusive,e.endExclusive);if(t<=n)return new nD(t,n)}}class nO{static trivial(e,t){return new nO([new nM(new nD(0,e.length),new nD(0,t.length))],!1)}static trivialTimedOut(e,t){return new nO([new nM(new nD(0,e.length),new nD(0,t.length))],!0)}constructor(e,t){this.diffs=e,this.hitTimeout=t}}class nM{constructor(e,t){this.seq1Range=e,this.seq2Range=t}reverse(){return new nM(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(e){return new nM(this.seq1Range.join(e.seq1Range),this.seq2Range.join(e.seq2Range))}}class nP{isValid(){return!0}}nP.instance=new nP;class nF{constructor(e){if(this.timeout=e,this.startTime=Date.now(),this.valid=!0,e<=0)throw new d("timeout must be positive")}isValid(){return!(Date.now()-this.startTime0&&l>0&&3===a.get(s-1,l-1)&&(c+=o.get(s-1,l-1)),c+=r?r(s,l):1):c=-1;let _=Math.max(d,u,c);if(_===c){let e=s>0&&l>0?o.get(s-1,l-1):0;o.set(s,l,e+1),a.set(s,l,3)}else _===d?(o.set(s,l,0),a.set(s,l,1)):_===u&&(o.set(s,l,0),a.set(s,l,2));i.set(s,l,_)}let s=[],l=e.length,c=t.length;function d(e,t){(e+1!==l||t+1!==c)&&s.push(new nM(new nD(e+1,l),new nD(t+1,c))),l=e,c=t}let u=e.length-1,_=t.length-1;for(;u>=0&&_>=0;)3===a.get(u,_)?(d(u,_),u--,_--):1===a.get(u,_)?u--:_--;return d(-1,-1),s.reverse(),new nO(s,!1)}}function nU(e,t,n){let r=n;return r=function(e,t,n){let r=[];n.length>0&&r.push(n[0]);for(let e=1;e0?n[r-1].seq2Range.endExclusive:-1,o=r+10?n[r-1].seq1Range.endExclusive:-1,o=r+1i&&n.getElement(e.seq2Range.start-a)===n.getElement(e.seq2Range.endExclusive-a)&&a<20;)a++;a--;let o=0;for(;e.seq2Range.start+ol&&(l=c,s=r)}return 0!==s?new nM(e.seq1Range.delta(s),e.seq2Range.delta(s)):e}class nj{compute(e,t,n=nP.instance){if(0===e.length||0===t.length)return nO.trivial(e,t);function r(n,r){for(;n=this.negativeArr.length){let e=this.negativeArr;this.negativeArr=new Int32Array(2*e.length),this.negativeArr.set(e)}this.negativeArr[e]=t}else{if(e>=this.positiveArr.length){let e=this.positiveArr;this.positiveArr=new Int32Array(2*e.length),this.positiveArr.set(e)}this.positiveArr[e]=t}}}class nW{constructor(){this.positiveArr=[],this.negativeArr=[]}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){e<0?(e=-e-1,this.negativeArr[e]=t):this.positiveArr[e]=t}}class nz{constructor(e,t){this.trimmedHash=e,this.lines=t}getElement(e){return this.trimmedHash[e]}get length(){return this.trimmedHash.length}getBoundaryScore(e){return 1e3-((0===e?0:nq(this.lines[e-1]))+(e===this.lines.length?0:nq(this.lines[e])))}}function nq(e){let t=0;for(;t0&&t.endExclusive>=e.length&&(t=new nD(t.start-1,t.endExclusive),r=!0),this.lineRange=t;for(let t=this.lineRange.start;tString.fromCharCode(e)).join("")}getElement(e){return this.elements[e]}get length(){return this.elements.length}getBoundaryScore(e){let t=n$(e>0?this.elements[e-1]:-1),n=n$(ee?n=r:t=r+1}let r=0===t?0:this.firstCharOffsetByLineMinusOne[t-1];return new tF(this.lineRange.start+t+1,e-r+1+this.offsetByLine[t])}translateRange(e){return tG.fromPositions(this.translateOffset(e.start),this.translateOffset(e.endExclusive))}findWordContaining(e){if(e<0||e>=this.elements.length||!nX(this.elements[e]))return;let t=e;for(;t>0&&nX(this.elements[t-1]);)t--;let n=e;for(;n=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}let nY={0:0,1:0,2:0,3:10,4:2,5:3,6:10,7:10};function n$(e){return 10===e?7:13===e?6:32===e||9===e?5:e>=97&&e<=122?0:e>=65&&e<=90?1:e>=48&&e<=57?2:-1===e?3:4}let nQ={legacy:new class{computeDiff(e,t,n){var r;let i=new nI(e,t,{maxComputationTime:n.maxComputationTimeMs,shouldIgnoreTrimWhitespace:n.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}).computeDiff(),a=[],o=null;for(let e of i.changes){let t,n;t=0===e.originalEndLineNumber?new nx(e.originalStartLineNumber+1,e.originalStartLineNumber+1):new nx(e.originalStartLineNumber,e.originalEndLineNumber+1),n=0===e.modifiedEndLineNumber?new nx(e.modifiedStartLineNumber+1,e.modifiedStartLineNumber+1):new nx(e.modifiedStartLineNumber,e.modifiedEndLineNumber+1);let i=new nE(t,n,null===(r=e.charChanges)||void 0===r?void 0:r.map(e=>new nT(new tG(e.originalStartLineNumber,e.originalStartColumn,e.originalEndLineNumber,e.originalEndColumn),new tG(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn))));o&&(o.modifiedRange.endLineNumberExclusive===i.modifiedRange.startLineNumber||o.originalRange.endLineNumberExclusive===i.originalRange.startLineNumber)&&(i=new nE(o.originalRange.join(i.originalRange),o.modifiedRange.join(i.modifiedRange),o.innerChanges&&i.innerChanges?o.innerChanges.concat(i.innerChanges):void 0),a.pop()),a.push(i),o=i}return nm(()=>nh(a,(e,t)=>t.originalRange.startLineNumber-e.originalRange.endLineNumberExclusive==t.modifiedRange.startLineNumber-e.modifiedRange.endLineNumberExclusive&&e.originalRange.endLineNumberExclusiveo(e.trim())),l=t.map(e=>o(e.trim())),c=new nz(s,e),d=new nz(l,t),u=c.length+d.length<1500?this.dynamicProgrammingDiffing.compute(c,d,r,(n,r)=>e[n]===t[r]?0===t[r].length?.1:1+Math.log(1+t[r].length):.99):this.myersDiffingAlgorithm.compute(c,d),_=u.diffs,p=u.hitTimeout;_=nU(c,d,_);let f=[],m=n=>{if(i)for(let a=0;an.seq1Range.start-h==n.seq2Range.start-y),m(n.seq1Range.start-h),h=n.seq1Range.endExclusive,y=n.seq2Range.endExclusive;let a=this.refineDiff(e,t,n,r,i);for(let e of(a.hitTimeout&&(p=!0),a.mappings))f.push(e)}m(e.length-h);let g=function(e,t,n){let r=[];for(let i of function*(e,t){let n,r;for(let i of e)void 0!==r&&t(r,i)?n.push(i):(n&&(yield n),n=[i]),r=i;n&&(yield n)}(e.map(e=>{let r,i,a,o;return r=0,i=0,e.modifiedRange.startColumn-1>=n[e.modifiedRange.startLineNumber-1].length&&e.originalRange.startColumn-1>=t[e.originalRange.startLineNumber-1].length&&(r=1),1===e.modifiedRange.endColumn&&1===e.originalRange.endColumn&&e.originalRange.startLineNumber+r<=e.originalRange.endLineNumber&&e.modifiedRange.startLineNumber+r<=e.modifiedRange.endLineNumber&&(i=-1),a=new nx(e.originalRange.startLineNumber+r,e.originalRange.endLineNumber+1+i),o=new nx(e.modifiedRange.startLineNumber+r,e.modifiedRange.endLineNumber+1+i),new nE(a,o,[e])}),(e,t)=>e.originalRange.overlapOrTouch(t.originalRange)||e.modifiedRange.overlapOrTouch(t.modifiedRange))){let e=i[0],t=i[i.length-1];r.push(new nE(e.originalRange.join(t.originalRange),e.modifiedRange.join(t.modifiedRange),i.map(e=>e.innerChanges[0])))}return nm(()=>nh(r,(e,t)=>t.originalRange.startLineNumber-e.originalRange.endLineNumberExclusive==t.modifiedRange.startLineNumber-e.modifiedRange.endLineNumberExclusive&&e.originalRange.endLineNumberExclusivee&&i.push(new nM(r.s1Range,r.s2Range)),r=void 0}for(let i of n){function o(e,t){var n,o,s,l;if(!r||!r.s1Range.containsRange(e)||!r.s2Range.containsRange(t)){if(r&&!(r.s1Range.endExclusive0||t.length>0;){let r;let i=e[0],a=t[0];r=i&&(!a||i.seq1Range.start0&&n[n.length-1].seq1Range.endExclusive>=r.seq1Range.start?n[n.length-1]=n[n.length-1].join(r):n.push(r)}return n}(n,i)}(a,o,l))).map(e=>new nT(a.translateRange(e.seq1Range),o.translateRange(e.seq2Range))),hitTimeout:s.hitTimeout}}}};function nZ(e,t){let n=Math.pow(10,t);return Math.round(e*n)/n}class n0{constructor(e,t,n,r=1){this._rgbaBrand=void 0,this.r=0|Math.min(255,Math.max(0,e)),this.g=0|Math.min(255,Math.max(0,t)),this.b=0|Math.min(255,Math.max(0,n)),this.a=nZ(Math.max(Math.min(1,r),0),3)}static equals(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a}}class n1{constructor(e,t,n,r){this._hslaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=nZ(Math.max(Math.min(1,t),0),3),this.l=nZ(Math.max(Math.min(1,n),0),3),this.a=nZ(Math.max(Math.min(1,r),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a}static fromRGBA(e){let t=e.r/255,n=e.g/255,r=e.b/255,i=e.a,a=Math.max(t,n,r),o=Math.min(t,n,r),s=0,l=0,c=(o+a)/2,d=a-o;if(d>0){switch(l=Math.min(c<=.5?d/(2*c):d/(2-2*c),1),a){case t:s=(n-r)/d+(n1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}static toRGBA(e){let t,n,r;let i=e.h/360,{s:a,l:o,a:s}=e;if(0===a)t=n=r=o;else{let e=o<.5?o*(1+a):o+a-o*a,s=2*o-e;t=n1._hue2rgb(s,e,i+1/3),n=n1._hue2rgb(s,e,i),r=n1._hue2rgb(s,e,i-1/3)}return new n0(Math.round(255*t),Math.round(255*n),Math.round(255*r),s)}}class n2{constructor(e,t,n,r){this._hsvaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=nZ(Math.max(Math.min(1,t),0),3),this.v=nZ(Math.max(Math.min(1,n),0),3),this.a=nZ(Math.max(Math.min(1,r),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.v===t.v&&e.a===t.a}static fromRGBA(e){let t;let n=e.r/255,r=e.g/255,i=e.b/255,a=Math.max(n,r,i),o=a-Math.min(n,r,i),s=0===a?0:o/a;return t=0===o?0:a===n?((r-i)/o%6+6)%6:a===r?(i-n)/o+2:(n-r)/o+4,new n2(Math.round(60*t),s,a,e.a)}static toRGBA(e){let{h:t,s:n,v:r,a:i}=e,a=r*n,o=a*(1-Math.abs(t/60%2-1)),s=r-a,[l,c,d]=[0,0,0];return t<60?(l=a,c=o):t<120?(l=o,c=a):t<180?(c=a,d=o):t<240?(c=o,d=a):t<300?(l=o,d=a):t<=360&&(l=a,d=o),l=Math.round((l+s)*255),c=Math.round((c+s)*255),d=Math.round((d+s)*255),new n0(l,c,d,i)}}class n4{static fromHex(e){return n4.Format.CSS.parseHex(e)||n4.red}static equals(e,t){return!e&&!t||!!e&&!!t&&e.equals(t)}get hsla(){return this._hsla?this._hsla:n1.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:n2.fromRGBA(this.rgba)}constructor(e){if(e){if(e instanceof n0)this.rgba=e;else if(e instanceof n1)this._hsla=e,this.rgba=n1.toRGBA(e);else if(e instanceof n2)this._hsva=e,this.rgba=n2.toRGBA(e);else throw Error("Invalid color ctor argument")}else throw Error("Color needs a value")}equals(e){return!!e&&n0.equals(this.rgba,e.rgba)&&n1.equals(this.hsla,e.hsla)&&n2.equals(this.hsva,e.hsva)}getRelativeLuminance(){return nZ(.2126*n4._relativeLuminanceForComponent(this.rgba.r)+.7152*n4._relativeLuminanceForComponent(this.rgba.g)+.0722*n4._relativeLuminanceForComponent(this.rgba.b),4)}static _relativeLuminanceForComponent(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}isLighter(){return(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3>=128}isLighterThan(e){return this.getRelativeLuminance()>e.getRelativeLuminance()}isDarkerThan(e){return this.getRelativeLuminance()this._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,r=!0;else{let e=this._lines[t-1].length+1;n<1?(n=1,r=!0):n>e&&(n=e,r=!0)}return r?{lineNumber:t,column:n}:e}}class rn{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new rt(tC.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){this._models[e]&&this._models[e].onEvents(t)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}computeUnicodeHighlights(e,t,n){return re(this,void 0,void 0,function*(){let r=this._getModel(e);return r?ny.computeUnicodeHighlights(r,t,n):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(e,t,n,r){return re(this,void 0,void 0,function*(){let i=this._getModel(e),a=this._getModel(t);return i&&a?rn.computeDiff(i,a,n,r):null})}static computeDiff(e,t,n,r){let i="advanced"===r?nQ.advanced:nQ.legacy,a=e.getLinesContent(),o=t.getLinesContent(),s=i.computeDiff(a,o,n);return{identical:!(s.changes.length>0)&&this._modelsAreIdentical(e,t),quitEarly:s.hitTimeout,changes:s.changes.map(e=>{var t;return[e.originalRange.startLineNumber,e.originalRange.endLineNumberExclusive,e.modifiedRange.startLineNumber,e.modifiedRange.endLineNumberExclusive,null===(t=e.innerChanges)||void 0===t?void 0:t.map(e=>[e.originalRange.startLineNumber,e.originalRange.startColumn,e.originalRange.endLineNumber,e.originalRange.endColumn,e.modifiedRange.startLineNumber,e.modifiedRange.startColumn,e.modifiedRange.endLineNumber,e.modifiedRange.endColumn])]})}}static _modelsAreIdentical(e,t){let n=e.getLineCount();if(n!==t.getLineCount())return!1;for(let r=1;r<=n;r++)if(e.getLineContent(r)!==t.getLineContent(r))return!1;return!0}computeMoreMinimalEdits(e,t,n){return re(this,void 0,void 0,function*(){let r;let i=this._getModel(e);if(!i)return t;let a=[];for(let{range:e,text:s,eol:l}of t=t.slice(0).sort((e,t)=>e.range&&t.range?tG.compareRangesUsingStarts(e.range,t.range):(e.range?0:1)-(t.range?0:1))){var o;if("number"==typeof l&&(r=l),tG.isEmpty(e)&&!s)continue;let t=i.getValueInRange(e);if(t===(s=s.replace(/\r\n|\n|\r/g,i.eol)))continue;if(Math.max(s.length,t.length)>rn._diffLimit){a.push({range:e,text:s});continue}let c=(o=s,new to(new tn(t),new tn(o)).ComputeDiff(n).changes),d=i.offsetAt(tG.lift(e).getStartPosition());for(let e of c){let t=i.positionAt(d+e.originalStart),n=i.positionAt(d+e.originalStart+e.originalLength),r={text:s.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:n.lineNumber,endColumn:n.column}};i.getValueInRange(r.range)!==r.text&&a.push(r)}}return"number"==typeof r&&a.push({eol:r,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),a})}computeLinks(e){return re(this,void 0,void 0,function*(){let t=this._getModel(e);return t?t&&"function"==typeof t.getLineCount&&"function"==typeof t.getLineContent?t0.computeLinks(t):[]:null})}computeDefaultDocumentColors(e){return re(this,void 0,void 0,function*(){let t=this._getModel(e);return t?t&&"function"==typeof t.getValue&&"function"==typeof t.positionAt?function(e){let t=[],n=n9(e,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([A-Fa-f0-9]{6})\b|(#)([A-Fa-f0-9]{8})\b/gm);if(n.length>0)for(let r of n){let n;let i=r.filter(e=>void 0!==e),a=i[1],o=i[2];if(o){if("rgb"===a){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;n=n5(n3(e,r),n9(o,t),!1)}else if("rgba"===a){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;n=n5(n3(e,r),n9(o,t),!0)}else if("hsl"===a){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;n=n7(n3(e,r),n9(o,t),!1)}else if("hsla"===a){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;n=n7(n3(e,r),n9(o,t),!0)}else"#"===a&&(n=function(e,t){if(!e)return;let n=n4.Format.CSS.parseHex(t);if(n)return{range:e,color:n6(n.rgba.r,n.rgba.g,n.rgba.b,n.rgba.a)}}(n3(e,r),a+o));n&&t.push(n)}}return t}(t):[]:null})}textualSuggest(e,t,n,r){return re(this,void 0,void 0,function*(){let i=new eD(!0),a=new RegExp(n,r),o=new Set;n:for(let n of e){let e=this._getModel(n);if(e){for(let n of e.words(a))if(n!==t&&isNaN(Number(n))&&(o.add(n),o.size>rn._suggestionsLimit))break n}}return{words:Array.from(o),duration:i.elapsed()}})}computeWordRanges(e,t,n,r){return re(this,void 0,void 0,function*(){let i=this._getModel(e);if(!i)return Object.create(null);let a=new RegExp(n,r),o=Object.create(null);for(let e=t.startLineNumber;efunction(){let n=Array.prototype.slice.call(arguments,0);return t(e,n)},r={};for(let t of e)r[t]=n(t);return r}(n,(e,t)=>this._host.fhr(e,t));return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory({host:r,getMirrorModels:()=>this._getModels()},t),Promise.resolve(ej(this._foreignModule))):Promise.reject(Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(e){return Promise.reject(e)}}}rn._diffLimit=1e5,rn._suggestionsLimit=1e4,"function"==typeof importScripts&&(globalThis.monaco={editor:void 0,languages:void 0,CancellationTokenSource:class{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new t4),this._token}cancel(){this._token?this._token instanceof t4&&this._token.cancel():this._token=x.Cancelled}dispose(e=!1){var t;e&&this.cancel(),null===(t=this._parentListener)||void 0===t||t.dispose(),this._token?this._token instanceof t4&&this._token.dispose():this._token=x.None}},Emitter:eG,KeyCode:$,KeyMod:n_,Position:tF,Range:tG,Selection:na,SelectionDirection:ec,MarkerSeverity:Q,MarkerTag:Z,Uri:tC,Token:class{constructor(e,t,n){this.offset=e,this.type=t,this.language=n,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}});let rr=!1;function ri(e){if(rr)return;rr=!0;let t=new e3(e=>{globalThis.postMessage(e)},t=>new rn(t,e));globalThis.onmessage=e=>{t.onmessage(e.data)}}globalThis.onmessage=e=>{rr||ri(null)};var ra="/index.js",ro=n(406),rs=Object.defineProperty,rl={};((e,t)=>{for(var n in t)rs(e,n,{get:t[n],enumerable:!0})})(rl,{EndOfLineState:()=>rm,IndentStyle:()=>ry,ScriptKind:()=>rg,ScriptTarget:()=>rv,TokenClass:()=>rb,createClassifier:()=>r_,createLanguageService:()=>rp,displayPartsToString:()=>rf,flattenDiagnosticMessageText:()=>rh,typescript:()=>rE});var rc=void 0,rd={exports:{}},ru=(()=>{var e,t,r,i,a,o,s,l,c,d,u,_,p,f,m,h,y,g,v,b,E,T,x,S,A,L,C,k,I,w,R,N,D,O,M,P,F,G,B,U,V,j,H,K,W,z,q,J,X,Y,$,Q,Z,ee,et,en,er,ei,ea,eo,es,el,ec,ed,eu,e_,ep,ef,em,eh,ey,eg,ev,eb,eE,eT,ex,eS,eA,eL,eC,ek,eI,ew,eR,eN,eD,eO,eM,eP,eF,eG,eB,eU,eV,ej,eH,eK,eW,ez,eq,eJ,eX,eY,e$,eQ,eZ,e0,e1,e2,e4,e8,e6,e3,e5,e7,e9,te,tt,tn,tr,ti,ta,to,ts,tl,tc,td,tu,t_,tp,tf,tm,th,ty,tg,tv,tb,tE,tT,tx,tS,tA,tL,tC,tk,tI,tw,tR,tN,tD,tO,tM,tP,tF,tG,tB,tU,tV,tj,tH,tK,tW,tz,tq,tJ,tX,tY,t$,tQ,tZ,t0,t1,t2,t4,t8,t6,t3,t5,t7,t9,ne,nt,nn,nr,ni,na,no,ns,nl,nc,nd,nu,n_,np,nf,nm,nh,ny,ng,nv,nb,nE,nT,nx,nS,nA,nL,nC,nk,nI,nw,nR,nN,nD,nO,nM,nP,nF,nG,nB,nU,nV,nj,nH,nK,nW,nz,nq,nJ,nX,nY,n$,nQ,nZ,n0,n1,n2,n4,n8,n6,n3,n5,n7,n9,re,rt,rn,rr,ri,rs,rl,ru,r_,rp,rf,rm,rh,ry,rg,rv,rb,rE,rT,rx,rS,rA,rL,rC,rk,rI,rw,rR,rN,rD,rO,rM,rP,rF,rG,rB,rU,rV,rj,rH,rK,rW,rz,rq,rJ,rX,rY,r$,rQ,rZ,r0,r1,r2,r4,r8,r6,r3,r5,r7,r9,ie,it,ir,ii,ia,io,is,il,ic,id,iu,i_,ip,im,ih,iy,ig,iv,ib,iE,iT,ix,iS,iA,iL,iC,ik,iI,iw,iR,iN,iD,iO,iM,iP,iF,iG,iB,iU,iV,ij,iH,iK,iW,iz,iq,iJ,iX,iY,i$,iQ,iZ,i0,i1,i2,i4,i8,i6,i3,i5,i7,i9,ae,at,an,ar,ai,aa,ao,as,al,ac,ad,au,a_,ap,af,am,ah,ay,ag,av,ab,aE,aT,ax,aS,aA,aL,aC,ak,aI,aw,aR,aN,aD,aO,aM,aP,aF,aG,aB,aU,aV,aj,aH,aK,aW,az,aq,aJ,aX,aY,a$,aQ,aZ,a0,a1,a2,a4,a8,a6,a3,a5,a7,a9,oe,ot,on,or,oi,oa,oo,os,ol,oc,od,ou,o_,op,of,om,oh,oy,og,ov,ob,oE,oT,ox,oS,oA,oL,oC,ok,oI,ow,oR,oN,oD,oO,oM,oP,oF,oG,oB,oU,oV,oj,oH,oK,oW,oz,oq,oJ,oX,oY,o$,oQ,oZ,o0,o1,o2,o4,o8,o6,o3,o5,o7,o9,se,st,sn,sr,si,sa,so,ss,sl,sc,sd,su,s_,sp,sf,sm,sh,sy,sg,sv,sb,sE,sT,sx,sS,sA,sL,sC,sk,sI,sw,sR,sN,sD,sO,sM,sP,sF,sG,sB,sU,sV,sj,sH,sK,sW,sz,sq,sJ,sX,sY,s$,sQ,sZ,s0,s1,s2,s4,s8,s6,s3,s5,s7,s9,le,lt,ln,lr,li,la,lo,ls,ll,lc,ld,lu,l_,lp,lf,lm,lh,ly,lg,lv,lb,lE,lT,lx,lS,lA,lL,lC,lk,lI,lw,lR,lN,lD,lO,lM,lP,lF,lG,lB,lU,lV,lj,lH,lK,lW,lz,lq,lJ,lX,lY,l$,lQ,lZ,l0,l1,l2,l4,l8,l6,l3,l5,l7,l9,ce,ct,cn,cr,ci,ca,co,cs,cl,cc,cd,cu,c_,cp,cf,cm,ch,cy,cg,cv,cb,cE,cT,cx,cS,cA,cL,cC,ck,cI,cw,cR,cN,cD,cO,cM,cP,cF,cG,cB,cU,cV,cj,cH,cK,cW,cz,cq,cJ,cX,cY,c$,cQ,cZ,c0,c1,c2,c4,c8,c6,c3,c5,c7,c9,de,dt,dn,dr,di,da,ds,dl,dc,dd,du,d_,dp,df,dm,dh,dy,dg,dv,db,dE,dT,dx,dS,dA,dL,dC,dk,dI,dw,dR,dN,dD,dO,dM,dP,dF,dG,dB,dU=Object.defineProperty,dV=Object.getOwnPropertyNames,dj=(e,t)=>function(){return e&&(t=(0,e[dV(e)[0]])(e=0)),t},dH=(e,t)=>{for(var n in t)dU(e,n,{get:t[n],enumerable:!0})},dK=dj({"src/compiler/corePublic.ts"(){var e;r="5.0",i="5.0.2",(e=a||{})[e.LessThan=-1]="LessThan",e[e.EqualTo=0]="EqualTo",e[e.GreaterThan=1]="GreaterThan",a=e}});function dW(e){return e?e.length:0}function dz(e,t){if(e)for(let n=0;n=0;n--){let r=t(e[n],n);if(r)return r}}function dJ(e,t){if(void 0!==e)for(let n=0;n=0;r--){let n=e[r];if(t(n,r))return n}}function d2(e,t,n){if(void 0===e)return -1;for(let r=null!=n?n:0;r=0;r--)if(t(e[r],r))return r;return -1}function d8(e,t){for(let n=0;nn(e,t[r]))}function d5(e,t,n){for(let r=n||0;r{let i=t(r,e);if(void 0!==i){let[e,t]=i;void 0!==e&&void 0!==t&&n.set(e,t)}}),n}function uf(e,t,n){if(e.has(t))return e.get(t);let r=n();return e.set(t,r),r}function um(e,t){return!e.has(t)&&(e.add(t),!0)}function*uh(e){yield e}function uy(e,t,n){let r;if(e){let i,a;r=[];let o=e.length,s=0,l=0;for(;s{let[i,a]=t(r,e);n.set(i,a)}),n}function uv(e,t){if(e){if(!t)return e.length>0;for(let n of e)if(t(n))return!0}return!1}function ub(e,t,n){let r;for(let i=0;ie[t])}(e,t,n):function(e,t){let n=[];for(let r of e)uF(n,r,t);return n}(e,t)}function uA(){return[]}function uL(e,t,n,r){if(0===e.length)return e.push(t),!0;let i=u0(e,t,_C,n);return i<0?(e.splice(~i,0,t),!0):!!r&&(e.splice(i,0,t),!0)}function uC(e,t,n){return function(e,t){if(0===e.length)return o;let n=e[0],r=[n];for(let i=1;i0&&(i&=-2),2&i&&r(a,s)>0&&(i&=-3),a=s}return i}function uw(e,t,n=_P){if(!e||!t)return e===t;if(e.length!==t.length)return!1;for(let r=0;r0&&T.assertGreaterThanOrEqual(n(t[a],t[a-1]),0);for(let o=i;io&&T.assertGreaterThanOrEqual(n(e[i],e[i-1]),0),n(t[a],e[i])){case -1:r.push(t[a]);continue r;case 0:continue r;case 1:continue}}return r}function uD(e,t){return void 0===t?e:void 0===e?[t]:(e.push(t),e)}function uO(e,t){return void 0===e?t:void 0===t?e:_y(e)?_y(t)?uE(e,t):uD(e,t):_y(t)?uD(t,e):[e,t]}function uM(e,t){return t<0?e.length+t:t}function uP(e,t,n,r){if(void 0===t||0===t.length)return e;if(void 0===e)return t.slice(n,r);n=void 0===n?0:uM(t,n),r=void 0===r?t.length:uM(t,r);for(let i=n;in(e[t],e[r])||_U(t,r))}function uU(e,t){return 0===e.length?e:e.slice().sort(t)}function*uV(e){for(let t=e.length-1;t>=0;t--)yield e[t]}function uj(e,t){let n=ux(e);return uB(e,n,t),n.map(t=>e[t])}function uH(e,t,n,r){for(;n>1);switch(r(n(e[i],i),t)){case -1:a=i+1;break;case 0:return i;case 1:o=i-1}}return~a}function u2(e,t,n,r,i){if(e&&e.length>0){let a=e.length;if(a>0){let o,s=void 0===r||r<0?0:r,l=void 0===i||s+i>a-1?a-1:s+i;for(arguments.length<=2?(o=e[s],s++):o=n;s<=l;)o=t(o,e[s],s),s++;return o}}return n}function u4(e,t){return u.call(e,t)}function u8(e,t){return u.call(e,t)?e[t]:void 0}function u6(e){let t=[];for(let n in e)u.call(e,n)&&t.push(n);return t}function u3(e){let t=[];do for(let n of Object.getOwnPropertyNames(e))uF(t,n);while(e=Object.getPrototypeOf(e))return t}function u5(e){let t=[];for(let n in e)u.call(e,n)&&t.push(e[n]);return t}function u7(e,t){let n=Array(e);for(let r=0;r100&&n>t.length>>1){let e=t.length-n;t.copyWithin(0,n),t.length=e,n=0}return e},isEmpty:r}}function _h(e,t){let n=new Map,r=0;function*i(){for(let e of n.values())_y(e)?yield*e:yield e}let a={has(r){let i=e(r);if(!n.has(i))return!1;let a=n.get(i);if(!_y(a))return t(a,r);for(let e of a)if(t(e,r))return!0;return!1},add(i){let a=e(i);if(n.has(a)){let e=n.get(a);_y(e)?!d6(e,i,t)&&(e.push(i),r++):!t(e,i)&&(n.set(a,[e,i]),r++)}else n.set(a,i),r++;return this},delete(i){let a=e(i);if(!n.has(a))return!1;let o=n.get(a);if(_y(o)){for(let e=0;ei(),values:()=>i(),*entries(){for(let e of i())yield[e,e]},[Symbol.iterator]:()=>i(),[Symbol.toStringTag]:n[Symbol.toStringTag]};return a}function _y(e){return Array.isArray(e)}function _g(e){return _y(e)?e:[e]}function _v(e){return"string"==typeof e}function _b(e){return"number"==typeof e}function _E(e,t){return void 0!==e&&t(e)?e:void 0}function _T(e,t){return void 0!==e&&t(e)?e:T.fail(`Invalid cast. The supplied value ${e} did not pass the test '${T.getFunctionName(t)}'.`)}function _x(e){}function _S(){return!1}function _A(){return!0}function _L(){}function _C(e){return e}function _k(e){return e.toLowerCase()}function _I(e){return p.test(e)?e.replace(p,_k):e}function _w(){throw Error("Not implemented")}function _R(e){let t;return()=>(e&&(t=e(),e=void 0),t)}function _N(e){let t=new Map;return n=>{let r=`${typeof n}:${n}`,i=t.get(r);return void 0!==i||t.has(r)||(i=e(n),t.set(r,i)),i}}function _D(e){let t=new WeakMap;return n=>{let r=t.get(n);return void 0!==r||t.has(n)||(r=e(n),t.set(n,r)),r}}function _O(e,t){return(...n)=>{let r=t.get(n);return void 0!==r||t.has(n)||(r=e(...n),t.set(n,r)),r}}function _M(e,t,n,r,i){if(i){let e=[];for(let t=0;tu2(e,(e,t)=>t(e),t)}return r?i=>r(n(t(e(i)))):n?r=>n(t(e(r))):t?n=>t(e(n)):e?t=>e(t):e=>e}function _P(e,t){return e===t}function _F(e,t){return e===t||void 0!==e&&void 0!==t&&e.toUpperCase()===t.toUpperCase()}function _G(e,t){return _P(e,t)}function _B(e,t){return e===t?0:void 0===e?-1:void 0===t?1:e-1===t(e,n)?e:n)}function _H(e,t){return e===t?0:void 0===e?-1:void 0===t?1:(e=e.toUpperCase())<(t=t.toUpperCase())?-1:e>t?1:0}function _K(e,t){return e===t?0:void 0===e?-1:void 0===t?1:(e=e.toLowerCase())<(t=t.toLowerCase())?-1:e>t?1:0}function _W(e,t){return _B(e,t)}function _z(e){return e?_H:_W}function _q(){return y}function _J(e){y!==e&&(y=e,h=void 0)}function _X(e,t){return(h||(h=m(y)))(e,t)}function _Y(e,t,n,r){return e===t?0:void 0===e?-1:void 0===t?1:r(e[n],t[n])}function _$(e,t){return _U(e?1:0,t?1:0)}function _Q(e,t,n){let r;let i=Math.max(2,Math.floor(.34*e.length)),a=Math.floor(.4*e.length)+1;for(let o of t){let t=n(o);if(void 0!==t&&Math.abs(t.length-e.length)<=i){if(t===e||t.length<3&&t.toLowerCase()!==e.toLowerCase())continue;let n=function(e,t,n){let r=Array(t.length+1),i=Array(t.length+1),a=n+.01;for(let e=0;e<=t.length;e++)r[e]=e;for(let o=1;o<=e.length;o++){let s=e.charCodeAt(o-1),l=Math.ceil(o>n?o-n:1),c=Math.floor(t.length>n+o?n+o:t.length);i[0]=o;let d=o;for(let e=1;en)return;let u=r;r=i,i=u}let o=r[t.length];return o>n?void 0:o}(e,t,a-.1);if(void 0===n)continue;T.assert(n=0&&e.indexOf(t,n)===n}function _0(e,t){return _Z(e,t)?e.slice(0,e.length-t.length):e}function _1(e,t){return _Z(e,t)?e.slice(0,e.length-t.length):void 0}function _2(e,t){return -1!==e.indexOf(t)}function _4(e){let t=e.length;for(let n=t-1;n>0;n--){let r=e.charCodeAt(n);if(r>=48&&r<=57)do--n,r=e.charCodeAt(n);while(n>0&&r>=48&&r<=57)else if(n>4&&(110===r||78===r)){if(--n,105!==(r=e.charCodeAt(n))&&73!==r||(--n,109!==(r=e.charCodeAt(n))&&77!==r))break;--n,r=e.charCodeAt(n)}else break;if(45!==r&&46!==r)break;t=n}return t===e.length?e:e.slice(0,t)}function _8(e,t){for(let n=0;ne===t)}function _7(e){return e?_C:_I}function _9({prefix:e,suffix:t}){return`${e}*${t}`}function pe(e,t){return T.assert(pa(e,t)),t.substring(e.prefix.length,t.length-e.suffix.length)}function pt(e,t,n){let r;let i=-1;for(let a of e){let e=t(a);pa(e,n)&&e.prefix.length>i&&(i=e.prefix.length,r=a)}return r}function pn(e,t){return 0===e.lastIndexOf(t,0)}function pr(e,t){return pn(e,t)?e.substr(t.length):e}function pi(e,t,n=_C){return pn(n(e),n(t))?e.substring(t.length):void 0}function pa({prefix:e,suffix:t},n){return n.length>=e.length+t.length&&pn(n,e)&&_Z(n,t)}function po(e,t){return n=>e(n)&&t(n)}function ps(...e){return(...t)=>{let n;for(let r of e)if(n=r(...t))break;return n}}function pl(e){return(...t)=>!e(...t)}function pc(e){}function pd(e){return void 0===e?void 0:[e]}function pu(e,t,n,r,i,a){a=a||_x;let o=0,s=0,l=e.length,c=t.length,d=!1;for(;o=0&&mn(e.charCodeAt(t));)t--;return e.slice(0,t+1)}function pg(){return void 0!==ro&&ro.nextTick&&!ro.browser&&"object"==typeof rd}var pv=dj({"src/compiler/core.ts"(){var e,t;Kr(),o=[],s=new Map,l=new Set,(e=c||{})[e.None=0]="None",e[e.CaseSensitive=1]="CaseSensitive",e[e.CaseInsensitive=2]="CaseInsensitive",e[e.Both=3]="Both",c=e,d=Array.prototype.at?(e,t)=>null==e?void 0:e.at(t):(e,t)=>{if(e&&(t=uM(e,t)){let e,t;let n="object"==typeof Intl&&"function"==typeof Intl.Collator?function(e){let t=new Intl.Collator(e,{usage:"sort",sensitivity:"variant"}).compare;return(e,n)=>r(e,n,t)}:"function"==typeof String.prototype.localeCompare&&"function"==typeof String.prototype.toLocaleUpperCase&&0>"a".localeCompare("B")?function(e){if(void 0!==e)return i();return(e,n)=>r(e,n,t);function t(e,t){return e.localeCompare(t)}}:i;return function(r){return void 0===r?e||(e=n(r)):"en-US"===r?t||(t=n(r)):n(r)};function r(e,t,n){if(e===t)return 0;if(void 0===e)return -1;if(void 0===t)return 1;let r=n(e,t);return r<0?-1:r>0?1:0}function i(){return(t,n)=>r(t,n,e);function e(e,t){var n,r;return((n=e.toUpperCase())<(r=t.toUpperCase())?-1:n>r?1:0)||(et?1:0)}}})(),g=String.prototype.trim?e=>e.trim():e=>v(b(e)),v=String.prototype.trimEnd?e=>e.trimEnd():py,b=String.prototype.trimStart?e=>e.trimStart():e=>e.replace(/^\s+/g,"")}}),pb=dj({"src/compiler/debug.ts"(){var e;Kr(),Kr(),(e=E||{})[e.Off=0]="Off",e[e.Error=1]="Error",e[e.Warning=2]="Warning",e[e.Info=3]="Info",e[e.Verbose=4]="Verbose",E=e,(e=>{var t;let n,r,i=0;function a(t){return e.currentLogLevel<=t}function o(t,n){e.loggingHost&&a(t)&&e.loggingHost.log(t,n)}function s(e){o(3,e)}e.currentLogLevel=2,e.isDebugging=!1,e.shouldLog=a,e.log=s,(t=s=e.log||(e.log={})).error=function(e){o(1,e)},t.warn=function(e){o(2,e)},t.log=function(e){o(3,e)},t.trace=function(e){o(4,e)};let l={};function c(t,n){return i>=t||(l[n]={level:t,assertion:e[n]},e[n]=_x,!1)}function d(e,t){let n=Error(e?`Debug Failure. ${e}`:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(n,t||d),n}function u(e,t,n,r){e||(t=t?`False expression: ${t}`:"False expression.",n&&(t+="\r\nVerbose Debug Information: "+("string"==typeof n?n:n())),d(t,r||u))}function _(e,t,n){null==e&&d(t,n||_)}function p(e,t,n){for(let r of e)_(r,t,n||p)}function f(e,t="Illegal value:",n){return d(`${t} ${"object"==typeof e&&u4(e,"kind")&&u4(e,"pos")?"SyntaxKind: "+g(e.kind):JSON.stringify(e)}`,n||f)}function m(e){if("function"!=typeof e)return"";if(u4(e,"name"))return e.name;{let t=Function.prototype.toString.call(e),n=/^function\s+([\w\$]+)\s*\(/.exec(t);return n?n[1]:""}}function h(e=0,t,n){let r=function(e){let t=y.get(e);if(t)return t;let n=[];for(let t in e){let r=e[t];"number"==typeof r&&n.push([r,t])}let r=uj(n,(e,t)=>_U(e[0],t[0]));return y.set(e,r),r}(t);if(0===e)return r.length>0&&0===r[0][0]?r[0][1]:"0";if(n){let t=[],n=e;for(let[i,a]of r){if(i>e)break;0!==i&&i&e&&(t.push(a),n&=~i)}if(0===n)return t.join("|")}else for(let[t,n]of r)if(t===e)return n;return e.toString()}e.getAssertionLevel=function(){return i},e.setAssertionLevel=function(t){let n=i;if(i=t,t>n)for(let n of u6(l)){let r=l[n];void 0!==r&&e[n]!==r.assertion&&t>=r.level&&(e[n]=r,l[n]=void 0)}},e.shouldAssert=function(e){return i>=e},e.fail=d,e.failBadSyntaxKind=function e(t,n,r){return d(`${n||"Unexpected node."}\r +Node ${g(t.kind)} was unexpected.`,r||e)},e.assert=u,e.assertEqual=function e(t,n,r,i,a){t!==n&&d(`Expected ${t} === ${n}. ${r?i?`${r} ${i}`:r:""}`,a||e)},e.assertLessThan=function e(t,n,r,i){t>=n&&d(`Expected ${t} < ${n}. ${r||""}`,i||e)},e.assertLessThanOrEqual=function e(t,n,r){t>n&&d(`Expected ${t} <= ${n}`,r||e)},e.assertGreaterThanOrEqual=function e(t,n,r){t= ${n}`,r||e)},e.assertIsDefined=_,e.checkDefined=function e(t,n,r){return _(t,n,r||e),t},e.assertEachIsDefined=p,e.checkEachDefined=function e(t,n,r){return p(t,n,r||e),t},e.assertNever=f,e.assertEachNode=function e(t,n,r,i){c(1,"assertEachNode")&&u(void 0===n||dZ(t,n),r||"Unexpected node.",()=>`Node array did not pass test '${m(n)}'.`,i||e)},e.assertNode=function e(t,n,r,i){c(1,"assertNode")&&u(void 0!==t&&(void 0===n||n(t)),r||"Unexpected node.",()=>`Node ${g(null==t?void 0:t.kind)} did not pass test '${m(n)}'.`,i||e)},e.assertNotNode=function e(t,n,r,i){c(1,"assertNotNode")&&u(void 0===t||void 0===n||!n(t),r||"Unexpected node.",()=>`Node ${g(t.kind)} should not have passed test '${m(n)}'.`,i||e)},e.assertOptionalNode=function e(t,n,r,i){c(1,"assertOptionalNode")&&u(void 0===n||void 0===t||n(t),r||"Unexpected node.",()=>`Node ${g(null==t?void 0:t.kind)} did not pass test '${m(n)}'.`,i||e)},e.assertOptionalToken=function e(t,n,r,i){c(1,"assertOptionalToken")&&u(void 0===n||void 0===t||t.kind===n,r||"Unexpected node.",()=>`Node ${g(null==t?void 0:t.kind)} was not a '${g(n)}' token.`,i||e)},e.assertMissingNode=function e(t,n,r){c(1,"assertMissingNode")&&u(void 0===t,n||"Unexpected node.",()=>`Node ${g(t.kind)} was unexpected'.`,r||e)},e.type=function(e){},e.getFunctionName=m,e.formatSymbol=function(e){return`{ name: ${hr(e.escapedName)}; flags: ${x(e.flags)}; declarations: ${un(e.declarations,e=>g(e.kind))} }`},e.formatEnum=h;let y=new Map;function g(e){return h(e,en,!1)}function v(e){return h(e,er,!0)}function b(e){return h(e,ei,!0)}function E(e){return h(e,e7,!0)}function T(e){return h(e,te,!0)}function x(e){return h(e,eC,!0)}function S(e){return h(e,eN,!0)}function A(e){return h(e,eB,!0)}function L(e){return h(e,eD,!0)}function C(e){return h(e,ec,!0)}e.formatSyntaxKind=g,e.formatSnippetKind=function(e){return h(e,e9,!1)},e.formatNodeFlags=v,e.formatModifierFlags=b,e.formatTransformFlags=E,e.formatEmitFlags=T,e.formatSymbolFlags=x,e.formatTypeFlags=S,e.formatSignatureFlags=A,e.formatObjectFlags=L,e.formatFlowFlags=C,e.formatRelationComparisonResult=function(e){return h(e,eo,!0)},e.formatCheckMode=function(e){return h(e,iE,!0)},e.formatSignatureCheckMode=function(e){return h(e,iT,!0)},e.formatTypeFacts=function(e){return h(e,iv,!0)};let k=!1;function I(e){"__debugFlowFlags"in e||Object.defineProperties(e,{__tsDebuggerDisplay:{value(){let e=2&this.flags?"FlowStart":4&this.flags?"FlowBranchLabel":8&this.flags?"FlowLoopLabel":16&this.flags?"FlowAssignment":32&this.flags?"FlowTrueCondition":64&this.flags?"FlowFalseCondition":128&this.flags?"FlowSwitchClause":256&this.flags?"FlowArrayMutation":512&this.flags?"FlowCall":1024&this.flags?"FlowReduceLabel":1&this.flags?"FlowUnreachable":"UnknownFlow",t=-2048&this.flags;return`${e}${t?` (${C(t)})`:""}`}},__debugFlowFlags:{get(){return h(this.flags,ec,!0)}},__debugToString:{value(){return N(this)}}})}function w(e){"__tsDebuggerDisplay"in e||Object.defineProperties(e,{__tsDebuggerDisplay:{value:e=>`NodeArray ${e=String(e).replace(/(?:,[\s\w\d_]+:[^,]+)+\]$/,"]")}`}})}e.attachFlowNodeDebugInfo=function(e){k&&("function"==typeof Object.setPrototypeOf?(n||I(n=Object.create(Object.prototype)),Object.setPrototypeOf(e,n)):I(e))},e.attachNodeArrayDebugInfo=function(e){k&&("function"==typeof Object.setPrototypeOf?(r||w(r=Object.create(Array.prototype)),Object.setPrototypeOf(e,r)):w(e))},e.enableDebugInfo=function(){if(k)return;let e=new WeakMap,t=new WeakMap;for(let n of(Object.defineProperties(nl.getSymbolConstructor().prototype,{__tsDebuggerDisplay:{value(){let e=33554432&this.flags?"TransientSymbol":"Symbol",t=-33554433&this.flags;return`${e} '${ho(this)}'${t?` (${x(t)})`:""}`}},__debugFlags:{get(){return x(this.flags)}}}),Object.defineProperties(nl.getTypeConstructor().prototype,{__tsDebuggerDisplay:{value(){let e=98304&this.flags?"NullableType":384&this.flags?`LiteralType ${JSON.stringify(this.value)}`:2048&this.flags?`LiteralType ${this.value.negative?"-":""}${this.value.base10Value}n`:8192&this.flags?"UniqueESSymbolType":32&this.flags?"EnumType":67359327&this.flags?`IntrinsicType ${this.intrinsicName}`:1048576&this.flags?"UnionType":2097152&this.flags?"IntersectionType":4194304&this.flags?"IndexType":8388608&this.flags?"IndexedAccessType":16777216&this.flags?"ConditionalType":33554432&this.flags?"SubstitutionType":262144&this.flags?"TypeParameter":524288&this.flags?3&this.objectFlags?"InterfaceType":4&this.objectFlags?"TypeReference":8&this.objectFlags?"TupleType":16&this.objectFlags?"AnonymousType":32&this.objectFlags?"MappedType":1024&this.objectFlags?"ReverseMappedType":256&this.objectFlags?"EvolvingArrayType":"ObjectType":"Type",t=524288&this.flags?-1344&this.objectFlags:0;return`${e}${this.symbol?` '${ho(this.symbol)}'`:""}${t?` (${L(t)})`:""}`}},__debugFlags:{get(){return S(this.flags)}},__debugObjectFlags:{get(){return 524288&this.flags?L(this.objectFlags):""}},__debugTypeToString:{value(){let t=e.get(this);return void 0===t&&(t=this.checker.typeToString(this),e.set(this,t)),t}}}),Object.defineProperties(nl.getSignatureConstructor().prototype,{__debugFlags:{get(){return A(this.flags)}},__debugSignatureToString:{value(){var e;return null==(e=this.checker)?void 0:e.signatureToString(this)}}}),[nl.getNodeConstructor(),nl.getIdentifierConstructor(),nl.getTokenConstructor(),nl.getSourceFileConstructor()]))u4(n.prototype,"__debugKind")||Object.defineProperties(n.prototype,{__tsDebuggerDisplay:{value(){return`${yL(this)?"GeneratedIdentifier":wb(this)?`Identifier '${hi(this)}'`:wE(this)?`PrivateIdentifier '${hi(this)}'`:wr(this)?`StringLiteral ${JSON.stringify(this.text.length<10?this.text:this.text.slice(10)+"...")}`:wt(this)?`NumericLiteral ${this.text}`:wn(this)?`BigIntLiteral ${this.text}n`:wF(this)?"TypeParameterDeclaration":wG(this)?"ParameterDeclaration":wW(this)?"ConstructorDeclaration":wz(this)?"GetAccessorDeclaration":wq(this)?"SetAccessorDeclaration":wJ(this)?"CallSignatureDeclaration":wX(this)?"ConstructSignatureDeclaration":wY(this)?"IndexSignatureDeclaration":w$(this)?"TypePredicateNode":wQ(this)?"TypeReferenceNode":wZ(this)?"FunctionTypeNode":w0(this)?"ConstructorTypeNode":w1(this)?"TypeQueryNode":w2(this)?"TypeLiteralNode":w4(this)?"ArrayTypeNode":w8(this)?"TupleTypeNode":w3(this)?"OptionalTypeNode":w5(this)?"RestTypeNode":w7(this)?"UnionTypeNode":w9(this)?"IntersectionTypeNode":Re(this)?"ConditionalTypeNode":Rt(this)?"InferTypeNode":Rn(this)?"ParenthesizedTypeNode":Rr(this)?"ThisTypeNode":Ri(this)?"TypeOperatorNode":Ra(this)?"IndexedAccessTypeNode":Ro(this)?"MappedTypeNode":Rs(this)?"LiteralTypeNode":w6(this)?"NamedTupleMember":Rl(this)?"ImportTypeNode":g(this.kind)}${this.flags?` (${v(this.flags)})`:""}`}},__debugKind:{get(){return g(this.kind)}},__debugNodeFlags:{get(){return v(this.flags)}},__debugModifierFlags:{get(){return b(A_(this))}},__debugTransformFlags:{get(){return E(this.transformFlags)}},__debugIsParseTreeNode:{get(){return he(this)}},__debugEmitFlags:{get(){return T(v0(this))}},__debugGetText:{value(e){if(x1(this))return"";let n=t.get(this);if(void 0===n){let r=ht(this),i=r&&vS(r);n=i?vJ(i,r,e):"",t.set(this,n)}return n}}});k=!0},e.formatVariance=function(e){let t=7&e,n=0===t?"in out":3===t?"[bivariant]":2===t?"in":1===t?"out":4===t?"[independent]":"";return 8&e?n+=" (unmeasurable)":16&e&&(n+=" (unreliable)"),n};class R{__debugToString(){var e;switch(this.kind){case 3:return(null==(e=this.debugInfo)?void 0:e.call(this))||"(function mapper)";case 0:return`${this.source.__debugTypeToString()} -> ${this.target.__debugTypeToString()}`;case 1:return d$(this.sources,this.targets||un(this.sources,()=>"any"),(e,t)=>`${e.__debugTypeToString()} -> ${"string"==typeof t?t:t.__debugTypeToString()}`).join(", ");case 2:return d$(this.sources,this.targets,(e,t)=>`${e.__debugTypeToString()} -> ${t().__debugTypeToString()}`).join(", ");case 5:case 4:return`m1: ${this.mapper1.__debugToString().split("\n").join("\n ")} +m2: ${this.mapper2.__debugToString().split("\n").join("\n ")}`;default:return f(this)}}}function N(e){var t,n;let r,i,a=-1;function o(e){return!e.id&&(e.id=a,a--),e.id}(t=r||(r={})).lr="─",t.ud="│",t.dr="╭",t.dl="╮",t.ul="╯",t.ur="╰",t.udr="├",t.udl="┤",t.dlr="┬",t.ulr="┴",t.udlr="╫",(n=i||(i={}))[n.None=0]="None",n[n.Up=1]="Up",n[n.Down=2]="Down",n[n.Left=4]="Left",n[n.Right=8]="Right",n[n.UpDown=3]="UpDown",n[n.LeftRight=12]="LeftRight",n[n.UpLeft=5]="UpLeft",n[n.UpRight=9]="UpRight",n[n.DownLeft=6]="DownLeft",n[n.DownRight=10]="DownRight",n[n.UpDownLeft=7]="UpDownLeft",n[n.UpDownRight=11]="UpDownRight",n[n.UpLeftRight=13]="UpLeftRight",n[n.DownLeftRight=14]="DownLeftRight",n[n.UpDownLeftRight=15]="UpDownLeftRight",n[n.NoChildren=16]="NoChildren";let s=Object.create(null),l=[],c=[],d=f(e,new Set);for(let e of l)e.text=function(e,t){let n=function(e){if(2&e)return"Start";if(4&e)return"Branch";if(8&e)return"Loop";if(16&e)return"Assignment";if(32&e)return"True";if(64&e)return"False";if(128&e)return"SwitchClause";if(256&e)return"ArrayMutation";if(512&e)return"Call";if(1024&e)return"ReduceLabel";if(1&e)return"Unreachable";throw Error()}(e.flags);if(t&&(n=`${n}#${o(e)}`),882&e.flags)e.node&&(n+=` (${h(e.node)})`);else if(128&e.flags){let t=[];for(let n=e.clauseStart;n0&&n++;let a=r[i];e(a,n),a.endLane>t.endLane&&(n=a.endLane)}t.endLane=n}}(d,0),function(){let e=u.length,t=l.reduce((e,t)=>Math.max(e,t.lane),0)+1,n=y(Array(t),""),r=u.map(()=>Array(t)),i=u.map(()=>y(Array(t),0));for(let e of l){r[e.level][e.lane]=e;let t=_(e);for(let n=0;n0&&(a|=1),n0&&(a|=1),t0?i[n-1][e]:0,r=e>0?i[n][e-1]:0,a=i[n][e];a||(8&t&&(a|=12),2&r&&(a|=3),i[n][e]=a)}for(let t=0;t0?e.repeat(t):"";let n="";for(;n.length=",r.version)),pS(i.major)||n.push(pS(i.minor)?pA("<",i.version.increment("major")):pS(i.patch)?pA("<",i.version.increment("minor")):pA("<=",i.version)),!0)}(r[1],r[2],e))return}else for(let t of n.split(D)){let n=P.exec(g(t));if(!n||!function(e,t,n){let r=px(t);if(!r)return!1;let{version:i,major:a,minor:o,patch:s}=r;if(pS(a))("<"===e||">"===e)&&n.push(pA("<",w.zero));else switch(e){case"~":n.push(pA(">=",i)),n.push(pA("<",i.increment(pS(o)?"major":"minor")));break;case"^":n.push(pA(">=",i)),n.push(pA("<",i.increment(i.major>0||pS(o)?"major":i.minor>0||pS(s)?"minor":"patch")));break;case"<":case">=":n.push(pS(o)||pS(s)?pA(e,i.with({prerelease:"0"})):pA(e,i));break;case"<=":case">":n.push(pS(o)?pA("<="===e?"<":">=",i.increment("major").with({prerelease:"0"})):pS(s)?pA("<="===e?"<":">=",i.increment("minor").with({prerelease:"0"})):pA(e,i));break;case"=":case void 0:pS(o)||pS(s)?(n.push(pA(">=",i.with({prerelease:"0"}))),n.push(pA("<",i.increment(pS(o)?"major":"minor").with({prerelease:"0"})))):n.push(pA("=",i));break;default:return!1}return!0}(n[1],n[2],e))return}t.push(e)}return t}function px(e){let t=O.exec(e);if(!t)return;let[,n,r="*",i="*",a,o]=t;return{version:new w(pS(n)?0:parseInt(n,10),pS(n)||pS(r)?0:parseInt(r,10),pS(n)||pS(r)||pS(i)?0:parseInt(i,10),a,o),major:n,minor:r,patch:i}}function pS(e){return"*"===e||"x"===e||"X"===e}function pA(e,t){return{operator:e,operand:t}}function pL(e){return un(e,pC).join(" ")}function pC(e){return`${e.operator}${e.operand}`}var pk=dj({"src/compiler/semver.ts"(){Kr(),x=/^(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,S=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)(?:\.(?:0|[1-9]\d*|[a-z-][a-z0-9-]*))*$/i,A=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)$/i,L=/^[a-z0-9-]+(?:\.[a-z0-9-]+)*$/i,C=/^[a-z0-9-]+$/i,k=/^(0|[1-9]\d*)$/,(w=I=class{constructor(e,t=0,n=0,r="",i=""){if("string"==typeof e){let a=T.checkDefined(pE(e),"Invalid version");({major:e,minor:t,patch:n,prerelease:r,build:i}=a)}T.assert(e>=0,"Invalid argument: major"),T.assert(t>=0,"Invalid argument: minor"),T.assert(n>=0,"Invalid argument: patch");let a=r?_y(r)?r:r.split("."):o,s=i?_y(i)?i:i.split("."):o;T.assert(dZ(a,e=>A.test(e)),"Invalid argument: prerelease"),T.assert(dZ(s,e=>C.test(e)),"Invalid argument: build"),this.major=e,this.minor=t,this.patch=n,this.prerelease=a,this.build=s}static tryParse(e){let t=pE(e);if(!t)return;let{major:n,minor:r,patch:i,prerelease:a,build:o}=t;return new I(n,r,i,a,o)}compareTo(e){return this===e?0:void 0===e?1:_U(this.major,e.major)||_U(this.minor,e.minor)||_U(this.patch,e.patch)||function(e,t){if(e===t)return 0;if(0===e.length)return 0===t.length?0:1;if(0===t.length)return -1;let n=Math.min(e.length,t.length);for(let r=0;r":return r>0;case">=":return r>=0;case"=":return 0===r;default:return T.assertNever(t)}}(e,n.operator,n.operand))return!1;return!0}(e,n))return!0;return!1}(e,this._alternatives)}toString(){return un(this._alternatives,pL).join(" || ")||"*"}},N=/\|\|/g,D=/\s+/g,O=/^([xX*0]|[1-9]\d*)(?:\.([xX*0]|[1-9]\d*)(?:\.([xX*0]|[1-9]\d*)(?:-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,M=/^\s*([a-z0-9-+.*]+)\s+-\s+([a-z0-9-+.*]+)\s*$/i,P=/^(~|\^|<|<=|>|>=|=)?\s*([a-z0-9-+.*]+)$/i}});function pI(e,t){return"object"==typeof e&&"number"==typeof e.timeOrigin&&"function"==typeof e.mark&&"function"==typeof e.measure&&"function"==typeof e.now&&"function"==typeof e.clearMarks&&"function"==typeof e.clearMeasures&&"function"==typeof t}function pw(){return F}var pR=dj({"src/compiler/performanceCore.ts"(){Kr(),B=(G=null==(F=function(){if("object"==typeof performance&&"function"==typeof PerformanceObserver&&pI(performance,PerformanceObserver))return{shouldWriteNativeEvents:!0,performance,PerformanceObserver}}()||function(){if(pg())try{let e;let{performance:t,PerformanceObserver:n}=rc("perf_hooks");if(pI(t,n)){e=t;let r=new w(ro.versions.node);return new R("<12.16.3 || 13 <13.13").test(r)&&(e={get timeOrigin(){return t.timeOrigin},now:()=>t.now(),mark:e=>t.mark(e),measure(e,n="nodeStart",r){void 0===r&&(r="__performance.measure-fix__",t.mark(r)),t.measure(e,n,r),"__performance.measure-fix__"===r&&t.clearMarks("__performance.measure-fix__")},clearMarks:e=>t.clearMarks(e),clearMeasures:e=>t.clearMeasures(e)}),{shouldWriteNativeEvents:!1,performance:e,PerformanceObserver:n}}}catch(e){}}())?void 0:F.performance)?()=>G.now():Date.now?Date.now:()=>+new Date}}),pN=dj({"src/compiler/perfLogger.ts"(){Kr(),U={logEvent:_x,logErrEvent:_x,logPerfEvent:_x,logInfoEvent:_x,logStartCommand:_x,logStopCommand:_x,logStartUpdateProgram:_x,logStopUpdateProgram:_x,logStartUpdateGraph:_x,logStopUpdateGraph:_x,logStartResolveModule:_x,logStopResolveModule:_x,logStartParseSourceFile:_x,logStopParseSourceFile:_x,logStartReadFile:_x,logStopReadFile:_x,logStartBindFile:_x,logStopBindFile:_x,logStartScheduledOperation:_x,logStopScheduledOperation:_x};try{let e=null!=(j=ro.env.TS_ETW_MODULE_PATH)?j:"./node_modules/@microsoft/typescript-etw";V=rc(e)}catch(e){V=void 0}H=(null==V?void 0:V.logEvent)?V:U}});function pD(e,t,n,r){return e?pO(t,n,r):z}function pO(e,t,n){let r=0;return{enter:function(){1==++r&&pM(t)},exit:function(){0==--r?(pM(n),pP(e,t,n)):r<0&&T.fail("enter/exit count does not match.")}}}function pM(e){var t;if(q){let n=null!=(t=Y.get(e))?t:0;Y.set(e,n+1),X.set(e,B()),null==W||W.mark(e),"function"==typeof onProfilerEvent&&onProfilerEvent(e)}}function pP(e,t,n){var r,i;if(q){let a=null!=(r=void 0!==n?X.get(n):void 0)?r:B(),o=null!=(i=void 0!==t?X.get(t):void 0)?i:J,s=$.get(e)||0;$.set(e,s+(a-o)),null==W||W.measure(e,t,n)}}function pF(e){return Y.get(e)||0}function pG(e){return $.get(e)||0}function pB(e){$.forEach((t,n)=>e(n,t))}function pU(e){X.forEach((t,n)=>e(n))}function pV(e){void 0!==e?$.delete(e):$.clear(),null==W||W.clearMeasures(e)}function pj(e){void 0!==e?(Y.delete(e),X.delete(e)):(Y.clear(),X.clear()),null==W||W.clearMarks(e)}function pH(){return q}function pK(e=tv){var t;return!q&&(q=!0,K||(K=F),K&&(J=K.performance.timeOrigin,(K.shouldWriteNativeEvents||(null==(t=null==e?void 0:e.cpuProfilingEnabled)?void 0:t.call(e))||(null==e?void 0:e.debugMode))&&(W=K.performance))),!0}function pW(){q&&(X.clear(),Y.clear(),$.clear(),W=void 0,q=!1)}var pz=dj({"src/compiler/performance.ts"(){Kr(),z={enter:_x,exit:_x},q=!1,J=B(),X=new Map,Y=new Map,$=new Map}}),pq={};dH(pq,{clearMarks:()=>pj,clearMeasures:()=>pV,createTimer:()=>pO,createTimerIf:()=>pD,disable:()=>pW,enable:()=>pK,forEachMark:()=>pU,forEachMeasure:()=>pB,getCount:()=>pF,getDuration:()=>pG,isEnabled:()=>pH,mark:()=>pM,measure:()=>pP,nullTimer:()=>z});var pJ=dj({"src/compiler/_namespaces/ts.performance.ts"(){pz()}}),pX=dj({"src/compiler/tracing.ts"(){Kr(),pJ(),(e=>{var t;let n,r,i;let a=0,o=0,s=[],l=[];e.startTracing=function(t,c,d){if(T.assert(!Q,"Tracing already started"),void 0===n)try{n=rc("fs")}catch(e){throw Error(`tracing requires having fs +(original error: ${e.message||e})`)}r=t,s.length=0,void 0===i&&(i=fA(c,"legend.json")),n.existsSync(c)||n.mkdirSync(c,{recursive:!0});let u="build"===r?`.${ro.pid}-${++a}`:"server"===r?`.${ro.pid}`:"",_=fA(c,`trace${u}.json`),p=fA(c,`types${u}.json`);l.push({configFilePath:d,tracePath:_,typesPath:p}),o=n.openSync(_,"w"),Q=e;let f={cat:"__metadata",ph:"M",ts:1e3*B(),pid:1,tid:1};n.writeSync(o,"[\n"+[{name:"process_name",args:{name:"tsc"},...f},{name:"thread_name",args:{name:"Main"},...f},{name:"TracingStartedInBrowser",...f,cat:"disabled-by-default-devtools.timeline"}].map(e=>JSON.stringify(e)).join(",\n"))},e.stopTracing=function(){T.assert(Q,"Tracing is not in progress"),T.assert(!!s.length==("server"!==r)),n.writeSync(o,` +] +`),n.closeSync(o),Q=void 0,s.length?function(e){var t,r,i,a,o,s,c,d,u,p,f,m,h,y,g,v,b,E,x,S,A,L;pM("beginDumpTypes");let C=l[l.length-1].typesPath,k=n.openSync(C,"w"),I=new Map;n.writeSync(k,"[");let w=e.length;for(let l=0;le.id),referenceLocation:_(N.node)});let F={};16777216&N.flags&&(F={conditionalCheckType:null==(c=N.checkType)?void 0:c.id,conditionalExtendsType:null==(d=N.extendsType)?void 0:d.id,conditionalTrueType:null!=(p=null==(u=N.resolvedTrueType)?void 0:u.id)?p:-1,conditionalFalseType:null!=(m=null==(f=N.resolvedFalseType)?void 0:f.id)?m:-1});let G={};33554432&N.flags&&(G={substitutionBaseType:null==(h=N.baseType)?void 0:h.id,constraintType:null==(y=N.constraint)?void 0:y.id});let B={};1024&D&&(B={reverseMappedSourceType:null==(g=N.source)?void 0:g.id,reverseMappedMappedType:null==(v=N.mappedType)?void 0:v.id,reverseMappedConstraintType:null==(b=N.constraintType)?void 0:b.id});let U={};256&D&&(U={evolvingArrayElementType:N.elementType.id,evolvingArrayFinalType:null==(E=N.finalArrayType)?void 0:E.id});let V=N.checker.getRecursionIdentity(N);!V||(R=I.get(V))||(R=I.size,I.set(V,R));let j={id:N.id,intrinsicName:N.intrinsicName,symbolName:(null==O?void 0:O.escapedName)&&hr(O.escapedName),recursionId:R,isTuple:!!(8&D)||void 0,unionTypes:1048576&N.flags?null==(x=N.types)?void 0:x.map(e=>e.id):void 0,intersectionTypes:2097152&N.flags?N.types.map(e=>e.id):void 0,aliasTypeArguments:null==(S=N.aliasTypeArguments)?void 0:S.map(e=>e.id),keyofType:4194304&N.flags?null==(A=N.type)?void 0:A.id:void 0,...M,...P,...F,...G,...B,...U,destructuringPattern:_(N.pattern),firstDeclaration:_(null==(L=null==O?void 0:O.declarations)?void 0:L[0]),flags:T.formatTypeFlags(N.flags).split("|"),display:C};n.writeSync(k,JSON.stringify(j)),l0),d(c.length-1,1e3*B(),e),c.length--},e.popAll=function(){let e=1e3*B();for(let t=c.length-1;t>=0;t--)d(t,e);c.length=0},e.dumpLegend=function(){i&&n.writeFileSync(i,JSON.stringify(l))}})(Z||(Z={})),ee=Z.startTracing,et=Z.dumpLegend}});function pY(e,t=!0){let n=ez[e.category];return t?n.toLowerCase():n}var p$=dj({"src/compiler/types.ts"(){var e,t,n,r,i,a,o,s,l,c,d,u,_,p,f,m,h,y,g,v,b,E,T,x,S,A,L,C,k,I,w,R,N,D,O,M,P,F,G,B,U,V,j,H,K,W,z,q,J,X,Y,$,Q,Z,ee,et,td,tu,t_,tp,tf,tm,th,ty,tg,tv,tb,tE,tT,tx;(e=en||{})[e.Unknown=0]="Unknown",e[e.EndOfFileToken=1]="EndOfFileToken",e[e.SingleLineCommentTrivia=2]="SingleLineCommentTrivia",e[e.MultiLineCommentTrivia=3]="MultiLineCommentTrivia",e[e.NewLineTrivia=4]="NewLineTrivia",e[e.WhitespaceTrivia=5]="WhitespaceTrivia",e[e.ShebangTrivia=6]="ShebangTrivia",e[e.ConflictMarkerTrivia=7]="ConflictMarkerTrivia",e[e.NumericLiteral=8]="NumericLiteral",e[e.BigIntLiteral=9]="BigIntLiteral",e[e.StringLiteral=10]="StringLiteral",e[e.JsxText=11]="JsxText",e[e.JsxTextAllWhiteSpaces=12]="JsxTextAllWhiteSpaces",e[e.RegularExpressionLiteral=13]="RegularExpressionLiteral",e[e.NoSubstitutionTemplateLiteral=14]="NoSubstitutionTemplateLiteral",e[e.TemplateHead=15]="TemplateHead",e[e.TemplateMiddle=16]="TemplateMiddle",e[e.TemplateTail=17]="TemplateTail",e[e.OpenBraceToken=18]="OpenBraceToken",e[e.CloseBraceToken=19]="CloseBraceToken",e[e.OpenParenToken=20]="OpenParenToken",e[e.CloseParenToken=21]="CloseParenToken",e[e.OpenBracketToken=22]="OpenBracketToken",e[e.CloseBracketToken=23]="CloseBracketToken",e[e.DotToken=24]="DotToken",e[e.DotDotDotToken=25]="DotDotDotToken",e[e.SemicolonToken=26]="SemicolonToken",e[e.CommaToken=27]="CommaToken",e[e.QuestionDotToken=28]="QuestionDotToken",e[e.LessThanToken=29]="LessThanToken",e[e.LessThanSlashToken=30]="LessThanSlashToken",e[e.GreaterThanToken=31]="GreaterThanToken",e[e.LessThanEqualsToken=32]="LessThanEqualsToken",e[e.GreaterThanEqualsToken=33]="GreaterThanEqualsToken",e[e.EqualsEqualsToken=34]="EqualsEqualsToken",e[e.ExclamationEqualsToken=35]="ExclamationEqualsToken",e[e.EqualsEqualsEqualsToken=36]="EqualsEqualsEqualsToken",e[e.ExclamationEqualsEqualsToken=37]="ExclamationEqualsEqualsToken",e[e.EqualsGreaterThanToken=38]="EqualsGreaterThanToken",e[e.PlusToken=39]="PlusToken",e[e.MinusToken=40]="MinusToken",e[e.AsteriskToken=41]="AsteriskToken",e[e.AsteriskAsteriskToken=42]="AsteriskAsteriskToken",e[e.SlashToken=43]="SlashToken",e[e.PercentToken=44]="PercentToken",e[e.PlusPlusToken=45]="PlusPlusToken",e[e.MinusMinusToken=46]="MinusMinusToken",e[e.LessThanLessThanToken=47]="LessThanLessThanToken",e[e.GreaterThanGreaterThanToken=48]="GreaterThanGreaterThanToken",e[e.GreaterThanGreaterThanGreaterThanToken=49]="GreaterThanGreaterThanGreaterThanToken",e[e.AmpersandToken=50]="AmpersandToken",e[e.BarToken=51]="BarToken",e[e.CaretToken=52]="CaretToken",e[e.ExclamationToken=53]="ExclamationToken",e[e.TildeToken=54]="TildeToken",e[e.AmpersandAmpersandToken=55]="AmpersandAmpersandToken",e[e.BarBarToken=56]="BarBarToken",e[e.QuestionToken=57]="QuestionToken",e[e.ColonToken=58]="ColonToken",e[e.AtToken=59]="AtToken",e[e.QuestionQuestionToken=60]="QuestionQuestionToken",e[e.BacktickToken=61]="BacktickToken",e[e.HashToken=62]="HashToken",e[e.EqualsToken=63]="EqualsToken",e[e.PlusEqualsToken=64]="PlusEqualsToken",e[e.MinusEqualsToken=65]="MinusEqualsToken",e[e.AsteriskEqualsToken=66]="AsteriskEqualsToken",e[e.AsteriskAsteriskEqualsToken=67]="AsteriskAsteriskEqualsToken",e[e.SlashEqualsToken=68]="SlashEqualsToken",e[e.PercentEqualsToken=69]="PercentEqualsToken",e[e.LessThanLessThanEqualsToken=70]="LessThanLessThanEqualsToken",e[e.GreaterThanGreaterThanEqualsToken=71]="GreaterThanGreaterThanEqualsToken",e[e.GreaterThanGreaterThanGreaterThanEqualsToken=72]="GreaterThanGreaterThanGreaterThanEqualsToken",e[e.AmpersandEqualsToken=73]="AmpersandEqualsToken",e[e.BarEqualsToken=74]="BarEqualsToken",e[e.BarBarEqualsToken=75]="BarBarEqualsToken",e[e.AmpersandAmpersandEqualsToken=76]="AmpersandAmpersandEqualsToken",e[e.QuestionQuestionEqualsToken=77]="QuestionQuestionEqualsToken",e[e.CaretEqualsToken=78]="CaretEqualsToken",e[e.Identifier=79]="Identifier",e[e.PrivateIdentifier=80]="PrivateIdentifier",e[e.BreakKeyword=81]="BreakKeyword",e[e.CaseKeyword=82]="CaseKeyword",e[e.CatchKeyword=83]="CatchKeyword",e[e.ClassKeyword=84]="ClassKeyword",e[e.ConstKeyword=85]="ConstKeyword",e[e.ContinueKeyword=86]="ContinueKeyword",e[e.DebuggerKeyword=87]="DebuggerKeyword",e[e.DefaultKeyword=88]="DefaultKeyword",e[e.DeleteKeyword=89]="DeleteKeyword",e[e.DoKeyword=90]="DoKeyword",e[e.ElseKeyword=91]="ElseKeyword",e[e.EnumKeyword=92]="EnumKeyword",e[e.ExportKeyword=93]="ExportKeyword",e[e.ExtendsKeyword=94]="ExtendsKeyword",e[e.FalseKeyword=95]="FalseKeyword",e[e.FinallyKeyword=96]="FinallyKeyword",e[e.ForKeyword=97]="ForKeyword",e[e.FunctionKeyword=98]="FunctionKeyword",e[e.IfKeyword=99]="IfKeyword",e[e.ImportKeyword=100]="ImportKeyword",e[e.InKeyword=101]="InKeyword",e[e.InstanceOfKeyword=102]="InstanceOfKeyword",e[e.NewKeyword=103]="NewKeyword",e[e.NullKeyword=104]="NullKeyword",e[e.ReturnKeyword=105]="ReturnKeyword",e[e.SuperKeyword=106]="SuperKeyword",e[e.SwitchKeyword=107]="SwitchKeyword",e[e.ThisKeyword=108]="ThisKeyword",e[e.ThrowKeyword=109]="ThrowKeyword",e[e.TrueKeyword=110]="TrueKeyword",e[e.TryKeyword=111]="TryKeyword",e[e.TypeOfKeyword=112]="TypeOfKeyword",e[e.VarKeyword=113]="VarKeyword",e[e.VoidKeyword=114]="VoidKeyword",e[e.WhileKeyword=115]="WhileKeyword",e[e.WithKeyword=116]="WithKeyword",e[e.ImplementsKeyword=117]="ImplementsKeyword",e[e.InterfaceKeyword=118]="InterfaceKeyword",e[e.LetKeyword=119]="LetKeyword",e[e.PackageKeyword=120]="PackageKeyword",e[e.PrivateKeyword=121]="PrivateKeyword",e[e.ProtectedKeyword=122]="ProtectedKeyword",e[e.PublicKeyword=123]="PublicKeyword",e[e.StaticKeyword=124]="StaticKeyword",e[e.YieldKeyword=125]="YieldKeyword",e[e.AbstractKeyword=126]="AbstractKeyword",e[e.AccessorKeyword=127]="AccessorKeyword",e[e.AsKeyword=128]="AsKeyword",e[e.AssertsKeyword=129]="AssertsKeyword",e[e.AssertKeyword=130]="AssertKeyword",e[e.AnyKeyword=131]="AnyKeyword",e[e.AsyncKeyword=132]="AsyncKeyword",e[e.AwaitKeyword=133]="AwaitKeyword",e[e.BooleanKeyword=134]="BooleanKeyword",e[e.ConstructorKeyword=135]="ConstructorKeyword",e[e.DeclareKeyword=136]="DeclareKeyword",e[e.GetKeyword=137]="GetKeyword",e[e.InferKeyword=138]="InferKeyword",e[e.IntrinsicKeyword=139]="IntrinsicKeyword",e[e.IsKeyword=140]="IsKeyword",e[e.KeyOfKeyword=141]="KeyOfKeyword",e[e.ModuleKeyword=142]="ModuleKeyword",e[e.NamespaceKeyword=143]="NamespaceKeyword",e[e.NeverKeyword=144]="NeverKeyword",e[e.OutKeyword=145]="OutKeyword",e[e.ReadonlyKeyword=146]="ReadonlyKeyword",e[e.RequireKeyword=147]="RequireKeyword",e[e.NumberKeyword=148]="NumberKeyword",e[e.ObjectKeyword=149]="ObjectKeyword",e[e.SatisfiesKeyword=150]="SatisfiesKeyword",e[e.SetKeyword=151]="SetKeyword",e[e.StringKeyword=152]="StringKeyword",e[e.SymbolKeyword=153]="SymbolKeyword",e[e.TypeKeyword=154]="TypeKeyword",e[e.UndefinedKeyword=155]="UndefinedKeyword",e[e.UniqueKeyword=156]="UniqueKeyword",e[e.UnknownKeyword=157]="UnknownKeyword",e[e.FromKeyword=158]="FromKeyword",e[e.GlobalKeyword=159]="GlobalKeyword",e[e.BigIntKeyword=160]="BigIntKeyword",e[e.OverrideKeyword=161]="OverrideKeyword",e[e.OfKeyword=162]="OfKeyword",e[e.QualifiedName=163]="QualifiedName",e[e.ComputedPropertyName=164]="ComputedPropertyName",e[e.TypeParameter=165]="TypeParameter",e[e.Parameter=166]="Parameter",e[e.Decorator=167]="Decorator",e[e.PropertySignature=168]="PropertySignature",e[e.PropertyDeclaration=169]="PropertyDeclaration",e[e.MethodSignature=170]="MethodSignature",e[e.MethodDeclaration=171]="MethodDeclaration",e[e.ClassStaticBlockDeclaration=172]="ClassStaticBlockDeclaration",e[e.Constructor=173]="Constructor",e[e.GetAccessor=174]="GetAccessor",e[e.SetAccessor=175]="SetAccessor",e[e.CallSignature=176]="CallSignature",e[e.ConstructSignature=177]="ConstructSignature",e[e.IndexSignature=178]="IndexSignature",e[e.TypePredicate=179]="TypePredicate",e[e.TypeReference=180]="TypeReference",e[e.FunctionType=181]="FunctionType",e[e.ConstructorType=182]="ConstructorType",e[e.TypeQuery=183]="TypeQuery",e[e.TypeLiteral=184]="TypeLiteral",e[e.ArrayType=185]="ArrayType",e[e.TupleType=186]="TupleType",e[e.OptionalType=187]="OptionalType",e[e.RestType=188]="RestType",e[e.UnionType=189]="UnionType",e[e.IntersectionType=190]="IntersectionType",e[e.ConditionalType=191]="ConditionalType",e[e.InferType=192]="InferType",e[e.ParenthesizedType=193]="ParenthesizedType",e[e.ThisType=194]="ThisType",e[e.TypeOperator=195]="TypeOperator",e[e.IndexedAccessType=196]="IndexedAccessType",e[e.MappedType=197]="MappedType",e[e.LiteralType=198]="LiteralType",e[e.NamedTupleMember=199]="NamedTupleMember",e[e.TemplateLiteralType=200]="TemplateLiteralType",e[e.TemplateLiteralTypeSpan=201]="TemplateLiteralTypeSpan",e[e.ImportType=202]="ImportType",e[e.ObjectBindingPattern=203]="ObjectBindingPattern",e[e.ArrayBindingPattern=204]="ArrayBindingPattern",e[e.BindingElement=205]="BindingElement",e[e.ArrayLiteralExpression=206]="ArrayLiteralExpression",e[e.ObjectLiteralExpression=207]="ObjectLiteralExpression",e[e.PropertyAccessExpression=208]="PropertyAccessExpression",e[e.ElementAccessExpression=209]="ElementAccessExpression",e[e.CallExpression=210]="CallExpression",e[e.NewExpression=211]="NewExpression",e[e.TaggedTemplateExpression=212]="TaggedTemplateExpression",e[e.TypeAssertionExpression=213]="TypeAssertionExpression",e[e.ParenthesizedExpression=214]="ParenthesizedExpression",e[e.FunctionExpression=215]="FunctionExpression",e[e.ArrowFunction=216]="ArrowFunction",e[e.DeleteExpression=217]="DeleteExpression",e[e.TypeOfExpression=218]="TypeOfExpression",e[e.VoidExpression=219]="VoidExpression",e[e.AwaitExpression=220]="AwaitExpression",e[e.PrefixUnaryExpression=221]="PrefixUnaryExpression",e[e.PostfixUnaryExpression=222]="PostfixUnaryExpression",e[e.BinaryExpression=223]="BinaryExpression",e[e.ConditionalExpression=224]="ConditionalExpression",e[e.TemplateExpression=225]="TemplateExpression",e[e.YieldExpression=226]="YieldExpression",e[e.SpreadElement=227]="SpreadElement",e[e.ClassExpression=228]="ClassExpression",e[e.OmittedExpression=229]="OmittedExpression",e[e.ExpressionWithTypeArguments=230]="ExpressionWithTypeArguments",e[e.AsExpression=231]="AsExpression",e[e.NonNullExpression=232]="NonNullExpression",e[e.MetaProperty=233]="MetaProperty",e[e.SyntheticExpression=234]="SyntheticExpression",e[e.SatisfiesExpression=235]="SatisfiesExpression",e[e.TemplateSpan=236]="TemplateSpan",e[e.SemicolonClassElement=237]="SemicolonClassElement",e[e.Block=238]="Block",e[e.EmptyStatement=239]="EmptyStatement",e[e.VariableStatement=240]="VariableStatement",e[e.ExpressionStatement=241]="ExpressionStatement",e[e.IfStatement=242]="IfStatement",e[e.DoStatement=243]="DoStatement",e[e.WhileStatement=244]="WhileStatement",e[e.ForStatement=245]="ForStatement",e[e.ForInStatement=246]="ForInStatement",e[e.ForOfStatement=247]="ForOfStatement",e[e.ContinueStatement=248]="ContinueStatement",e[e.BreakStatement=249]="BreakStatement",e[e.ReturnStatement=250]="ReturnStatement",e[e.WithStatement=251]="WithStatement",e[e.SwitchStatement=252]="SwitchStatement",e[e.LabeledStatement=253]="LabeledStatement",e[e.ThrowStatement=254]="ThrowStatement",e[e.TryStatement=255]="TryStatement",e[e.DebuggerStatement=256]="DebuggerStatement",e[e.VariableDeclaration=257]="VariableDeclaration",e[e.VariableDeclarationList=258]="VariableDeclarationList",e[e.FunctionDeclaration=259]="FunctionDeclaration",e[e.ClassDeclaration=260]="ClassDeclaration",e[e.InterfaceDeclaration=261]="InterfaceDeclaration",e[e.TypeAliasDeclaration=262]="TypeAliasDeclaration",e[e.EnumDeclaration=263]="EnumDeclaration",e[e.ModuleDeclaration=264]="ModuleDeclaration",e[e.ModuleBlock=265]="ModuleBlock",e[e.CaseBlock=266]="CaseBlock",e[e.NamespaceExportDeclaration=267]="NamespaceExportDeclaration",e[e.ImportEqualsDeclaration=268]="ImportEqualsDeclaration",e[e.ImportDeclaration=269]="ImportDeclaration",e[e.ImportClause=270]="ImportClause",e[e.NamespaceImport=271]="NamespaceImport",e[e.NamedImports=272]="NamedImports",e[e.ImportSpecifier=273]="ImportSpecifier",e[e.ExportAssignment=274]="ExportAssignment",e[e.ExportDeclaration=275]="ExportDeclaration",e[e.NamedExports=276]="NamedExports",e[e.NamespaceExport=277]="NamespaceExport",e[e.ExportSpecifier=278]="ExportSpecifier",e[e.MissingDeclaration=279]="MissingDeclaration",e[e.ExternalModuleReference=280]="ExternalModuleReference",e[e.JsxElement=281]="JsxElement",e[e.JsxSelfClosingElement=282]="JsxSelfClosingElement",e[e.JsxOpeningElement=283]="JsxOpeningElement",e[e.JsxClosingElement=284]="JsxClosingElement",e[e.JsxFragment=285]="JsxFragment",e[e.JsxOpeningFragment=286]="JsxOpeningFragment",e[e.JsxClosingFragment=287]="JsxClosingFragment",e[e.JsxAttribute=288]="JsxAttribute",e[e.JsxAttributes=289]="JsxAttributes",e[e.JsxSpreadAttribute=290]="JsxSpreadAttribute",e[e.JsxExpression=291]="JsxExpression",e[e.CaseClause=292]="CaseClause",e[e.DefaultClause=293]="DefaultClause",e[e.HeritageClause=294]="HeritageClause",e[e.CatchClause=295]="CatchClause",e[e.AssertClause=296]="AssertClause",e[e.AssertEntry=297]="AssertEntry",e[e.ImportTypeAssertionContainer=298]="ImportTypeAssertionContainer",e[e.PropertyAssignment=299]="PropertyAssignment",e[e.ShorthandPropertyAssignment=300]="ShorthandPropertyAssignment",e[e.SpreadAssignment=301]="SpreadAssignment",e[e.EnumMember=302]="EnumMember",e[e.UnparsedPrologue=303]="UnparsedPrologue",e[e.UnparsedPrepend=304]="UnparsedPrepend",e[e.UnparsedText=305]="UnparsedText",e[e.UnparsedInternalText=306]="UnparsedInternalText",e[e.UnparsedSyntheticReference=307]="UnparsedSyntheticReference",e[e.SourceFile=308]="SourceFile",e[e.Bundle=309]="Bundle",e[e.UnparsedSource=310]="UnparsedSource",e[e.InputFiles=311]="InputFiles",e[e.JSDocTypeExpression=312]="JSDocTypeExpression",e[e.JSDocNameReference=313]="JSDocNameReference",e[e.JSDocMemberName=314]="JSDocMemberName",e[e.JSDocAllType=315]="JSDocAllType",e[e.JSDocUnknownType=316]="JSDocUnknownType",e[e.JSDocNullableType=317]="JSDocNullableType",e[e.JSDocNonNullableType=318]="JSDocNonNullableType",e[e.JSDocOptionalType=319]="JSDocOptionalType",e[e.JSDocFunctionType=320]="JSDocFunctionType",e[e.JSDocVariadicType=321]="JSDocVariadicType",e[e.JSDocNamepathType=322]="JSDocNamepathType",e[e.JSDoc=323]="JSDoc",e[e.JSDocComment=323]="JSDocComment",e[e.JSDocText=324]="JSDocText",e[e.JSDocTypeLiteral=325]="JSDocTypeLiteral",e[e.JSDocSignature=326]="JSDocSignature",e[e.JSDocLink=327]="JSDocLink",e[e.JSDocLinkCode=328]="JSDocLinkCode",e[e.JSDocLinkPlain=329]="JSDocLinkPlain",e[e.JSDocTag=330]="JSDocTag",e[e.JSDocAugmentsTag=331]="JSDocAugmentsTag",e[e.JSDocImplementsTag=332]="JSDocImplementsTag",e[e.JSDocAuthorTag=333]="JSDocAuthorTag",e[e.JSDocDeprecatedTag=334]="JSDocDeprecatedTag",e[e.JSDocClassTag=335]="JSDocClassTag",e[e.JSDocPublicTag=336]="JSDocPublicTag",e[e.JSDocPrivateTag=337]="JSDocPrivateTag",e[e.JSDocProtectedTag=338]="JSDocProtectedTag",e[e.JSDocReadonlyTag=339]="JSDocReadonlyTag",e[e.JSDocOverrideTag=340]="JSDocOverrideTag",e[e.JSDocCallbackTag=341]="JSDocCallbackTag",e[e.JSDocOverloadTag=342]="JSDocOverloadTag",e[e.JSDocEnumTag=343]="JSDocEnumTag",e[e.JSDocParameterTag=344]="JSDocParameterTag",e[e.JSDocReturnTag=345]="JSDocReturnTag",e[e.JSDocThisTag=346]="JSDocThisTag",e[e.JSDocTypeTag=347]="JSDocTypeTag",e[e.JSDocTemplateTag=348]="JSDocTemplateTag",e[e.JSDocTypedefTag=349]="JSDocTypedefTag",e[e.JSDocSeeTag=350]="JSDocSeeTag",e[e.JSDocPropertyTag=351]="JSDocPropertyTag",e[e.JSDocThrowsTag=352]="JSDocThrowsTag",e[e.JSDocSatisfiesTag=353]="JSDocSatisfiesTag",e[e.SyntaxList=354]="SyntaxList",e[e.NotEmittedStatement=355]="NotEmittedStatement",e[e.PartiallyEmittedExpression=356]="PartiallyEmittedExpression",e[e.CommaListExpression=357]="CommaListExpression",e[e.MergeDeclarationMarker=358]="MergeDeclarationMarker",e[e.EndOfDeclarationMarker=359]="EndOfDeclarationMarker",e[e.SyntheticReferenceExpression=360]="SyntheticReferenceExpression",e[e.Count=361]="Count",e[e.FirstAssignment=63]="FirstAssignment",e[e.LastAssignment=78]="LastAssignment",e[e.FirstCompoundAssignment=64]="FirstCompoundAssignment",e[e.LastCompoundAssignment=78]="LastCompoundAssignment",e[e.FirstReservedWord=81]="FirstReservedWord",e[e.LastReservedWord=116]="LastReservedWord",e[e.FirstKeyword=81]="FirstKeyword",e[e.LastKeyword=162]="LastKeyword",e[e.FirstFutureReservedWord=117]="FirstFutureReservedWord",e[e.LastFutureReservedWord=125]="LastFutureReservedWord",e[e.FirstTypeNode=179]="FirstTypeNode",e[e.LastTypeNode=202]="LastTypeNode",e[e.FirstPunctuation=18]="FirstPunctuation",e[e.LastPunctuation=78]="LastPunctuation",e[e.FirstToken=0]="FirstToken",e[e.LastToken=162]="LastToken",e[e.FirstTriviaToken=2]="FirstTriviaToken",e[e.LastTriviaToken=7]="LastTriviaToken",e[e.FirstLiteralToken=8]="FirstLiteralToken",e[e.LastLiteralToken=14]="LastLiteralToken",e[e.FirstTemplateToken=14]="FirstTemplateToken",e[e.LastTemplateToken=17]="LastTemplateToken",e[e.FirstBinaryOperator=29]="FirstBinaryOperator",e[e.LastBinaryOperator=78]="LastBinaryOperator",e[e.FirstStatement=240]="FirstStatement",e[e.LastStatement=256]="LastStatement",e[e.FirstNode=163]="FirstNode",e[e.FirstJSDocNode=312]="FirstJSDocNode",e[e.LastJSDocNode=353]="LastJSDocNode",e[e.FirstJSDocTagNode=330]="FirstJSDocTagNode",e[e.LastJSDocTagNode=353]="LastJSDocTagNode",e[e.FirstContextualKeyword=126]="FirstContextualKeyword",e[e.LastContextualKeyword=162]="LastContextualKeyword",en=e,(t=er||{})[t.None=0]="None",t[t.Let=1]="Let",t[t.Const=2]="Const",t[t.NestedNamespace=4]="NestedNamespace",t[t.Synthesized=8]="Synthesized",t[t.Namespace=16]="Namespace",t[t.OptionalChain=32]="OptionalChain",t[t.ExportContext=64]="ExportContext",t[t.ContainsThis=128]="ContainsThis",t[t.HasImplicitReturn=256]="HasImplicitReturn",t[t.HasExplicitReturn=512]="HasExplicitReturn",t[t.GlobalAugmentation=1024]="GlobalAugmentation",t[t.HasAsyncFunctions=2048]="HasAsyncFunctions",t[t.DisallowInContext=4096]="DisallowInContext",t[t.YieldContext=8192]="YieldContext",t[t.DecoratorContext=16384]="DecoratorContext",t[t.AwaitContext=32768]="AwaitContext",t[t.DisallowConditionalTypesContext=65536]="DisallowConditionalTypesContext",t[t.ThisNodeHasError=131072]="ThisNodeHasError",t[t.JavaScriptFile=262144]="JavaScriptFile",t[t.ThisNodeOrAnySubNodesHasError=524288]="ThisNodeOrAnySubNodesHasError",t[t.HasAggregatedChildData=1048576]="HasAggregatedChildData",t[t.PossiblyContainsDynamicImport=2097152]="PossiblyContainsDynamicImport",t[t.PossiblyContainsImportMeta=4194304]="PossiblyContainsImportMeta",t[t.JSDoc=8388608]="JSDoc",t[t.Ambient=16777216]="Ambient",t[t.InWithStatement=33554432]="InWithStatement",t[t.JsonFile=67108864]="JsonFile",t[t.TypeCached=134217728]="TypeCached",t[t.Deprecated=268435456]="Deprecated",t[t.BlockScoped=3]="BlockScoped",t[t.ReachabilityCheckFlags=768]="ReachabilityCheckFlags",t[t.ReachabilityAndEmitFlags=2816]="ReachabilityAndEmitFlags",t[t.ContextFlags=50720768]="ContextFlags",t[t.TypeExcludesFlags=40960]="TypeExcludesFlags",t[t.PermanentlySetIncrementalFlags=6291456]="PermanentlySetIncrementalFlags",t[t.IdentifierHasExtendedUnicodeEscape=128]="IdentifierHasExtendedUnicodeEscape",t[t.IdentifierIsInJSDocNamespace=2048]="IdentifierIsInJSDocNamespace",er=t,(n=ei||{})[n.None=0]="None",n[n.Export=1]="Export",n[n.Ambient=2]="Ambient",n[n.Public=4]="Public",n[n.Private=8]="Private",n[n.Protected=16]="Protected",n[n.Static=32]="Static",n[n.Readonly=64]="Readonly",n[n.Accessor=128]="Accessor",n[n.Abstract=256]="Abstract",n[n.Async=512]="Async",n[n.Default=1024]="Default",n[n.Const=2048]="Const",n[n.HasComputedJSDocModifiers=4096]="HasComputedJSDocModifiers",n[n.Deprecated=8192]="Deprecated",n[n.Override=16384]="Override",n[n.In=32768]="In",n[n.Out=65536]="Out",n[n.Decorator=131072]="Decorator",n[n.HasComputedFlags=536870912]="HasComputedFlags",n[n.AccessibilityModifier=28]="AccessibilityModifier",n[n.ParameterPropertyModifier=16476]="ParameterPropertyModifier",n[n.NonPublicAccessibilityModifier=24]="NonPublicAccessibilityModifier",n[n.TypeScriptModifier=117086]="TypeScriptModifier",n[n.ExportDefault=1025]="ExportDefault",n[n.All=258047]="All",n[n.Modifier=126975]="Modifier",ei=n,(r=ea||{})[r.None=0]="None",r[r.IntrinsicNamedElement=1]="IntrinsicNamedElement",r[r.IntrinsicIndexedElement=2]="IntrinsicIndexedElement",r[r.IntrinsicElement=3]="IntrinsicElement",ea=r,(i=eo||{})[i.Succeeded=1]="Succeeded",i[i.Failed=2]="Failed",i[i.Reported=4]="Reported",i[i.ReportsUnmeasurable=8]="ReportsUnmeasurable",i[i.ReportsUnreliable=16]="ReportsUnreliable",i[i.ReportsMask=24]="ReportsMask",eo=i,(a=es||{})[a.None=0]="None",a[a.Auto=1]="Auto",a[a.Loop=2]="Loop",a[a.Unique=3]="Unique",a[a.Node=4]="Node",a[a.KindMask=7]="KindMask",a[a.ReservedInNestedScopes=8]="ReservedInNestedScopes",a[a.Optimistic=16]="Optimistic",a[a.FileLevel=32]="FileLevel",a[a.AllowNameSubstitution=64]="AllowNameSubstitution",es=a,(o=el||{})[o.None=0]="None",o[o.PrecedingLineBreak=1]="PrecedingLineBreak",o[o.PrecedingJSDocComment=2]="PrecedingJSDocComment",o[o.Unterminated=4]="Unterminated",o[o.ExtendedUnicodeEscape=8]="ExtendedUnicodeEscape",o[o.Scientific=16]="Scientific",o[o.Octal=32]="Octal",o[o.HexSpecifier=64]="HexSpecifier",o[o.BinarySpecifier=128]="BinarySpecifier",o[o.OctalSpecifier=256]="OctalSpecifier",o[o.ContainsSeparator=512]="ContainsSeparator",o[o.UnicodeEscape=1024]="UnicodeEscape",o[o.ContainsInvalidEscape=2048]="ContainsInvalidEscape",o[o.BinaryOrOctalSpecifier=384]="BinaryOrOctalSpecifier",o[o.NumericLiteralFlags=1008]="NumericLiteralFlags",o[o.TemplateLiteralLikeFlags=2048]="TemplateLiteralLikeFlags",el=o,(s=ec||{})[s.Unreachable=1]="Unreachable",s[s.Start=2]="Start",s[s.BranchLabel=4]="BranchLabel",s[s.LoopLabel=8]="LoopLabel",s[s.Assignment=16]="Assignment",s[s.TrueCondition=32]="TrueCondition",s[s.FalseCondition=64]="FalseCondition",s[s.SwitchClause=128]="SwitchClause",s[s.ArrayMutation=256]="ArrayMutation",s[s.Call=512]="Call",s[s.ReduceLabel=1024]="ReduceLabel",s[s.Referenced=2048]="Referenced",s[s.Shared=4096]="Shared",s[s.Label=12]="Label",s[s.Condition=96]="Condition",ec=s,(l=ed||{})[l.ExpectError=0]="ExpectError",l[l.Ignore=1]="Ignore",ed=l,eu=class{},(c=e_||{})[c.RootFile=0]="RootFile",c[c.SourceFromProjectReference=1]="SourceFromProjectReference",c[c.OutputFromProjectReference=2]="OutputFromProjectReference",c[c.Import=3]="Import",c[c.ReferenceFile=4]="ReferenceFile",c[c.TypeReferenceDirective=5]="TypeReferenceDirective",c[c.LibFile=6]="LibFile",c[c.LibReferenceDirective=7]="LibReferenceDirective",c[c.AutomaticTypeDirectiveFile=8]="AutomaticTypeDirectiveFile",e_=c,(d=ep||{})[d.FilePreprocessingReferencedDiagnostic=0]="FilePreprocessingReferencedDiagnostic",d[d.FilePreprocessingFileExplainingDiagnostic=1]="FilePreprocessingFileExplainingDiagnostic",d[d.ResolutionDiagnostics=2]="ResolutionDiagnostics",ep=d,(u=ef||{})[u.Js=0]="Js",u[u.Dts=1]="Dts",ef=u,(_=em||{})[_.Not=0]="Not",_[_.SafeModules=1]="SafeModules",_[_.Completely=2]="Completely",em=_,(p=eh||{})[p.Success=0]="Success",p[p.DiagnosticsPresent_OutputsSkipped=1]="DiagnosticsPresent_OutputsSkipped",p[p.DiagnosticsPresent_OutputsGenerated=2]="DiagnosticsPresent_OutputsGenerated",p[p.InvalidProject_OutputsSkipped=3]="InvalidProject_OutputsSkipped",p[p.ProjectReferenceCycle_OutputsSkipped=4]="ProjectReferenceCycle_OutputsSkipped",eh=p,(f=ey||{})[f.Ok=0]="Ok",f[f.NeedsOverride=1]="NeedsOverride",f[f.HasInvalidOverride=2]="HasInvalidOverride",ey=f,(m=eg||{})[m.None=0]="None",m[m.Literal=1]="Literal",m[m.Subtype=2]="Subtype",eg=m,(h=ev||{})[h.None=0]="None",h[h.Signature=1]="Signature",h[h.NoConstraints=2]="NoConstraints",h[h.Completions=4]="Completions",h[h.SkipBindingPatterns=8]="SkipBindingPatterns",ev=h,(y=eb||{})[y.None=0]="None",y[y.NoTruncation=1]="NoTruncation",y[y.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",y[y.GenerateNamesForShadowedTypeParams=4]="GenerateNamesForShadowedTypeParams",y[y.UseStructuralFallback=8]="UseStructuralFallback",y[y.ForbidIndexedAccessSymbolReferences=16]="ForbidIndexedAccessSymbolReferences",y[y.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",y[y.UseFullyQualifiedType=64]="UseFullyQualifiedType",y[y.UseOnlyExternalAliasing=128]="UseOnlyExternalAliasing",y[y.SuppressAnyReturnType=256]="SuppressAnyReturnType",y[y.WriteTypeParametersInQualifiedName=512]="WriteTypeParametersInQualifiedName",y[y.MultilineObjectLiterals=1024]="MultilineObjectLiterals",y[y.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",y[y.UseTypeOfFunction=4096]="UseTypeOfFunction",y[y.OmitParameterModifiers=8192]="OmitParameterModifiers",y[y.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",y[y.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",y[y.NoTypeReduction=536870912]="NoTypeReduction",y[y.OmitThisParameter=33554432]="OmitThisParameter",y[y.AllowThisInObjectLiteral=32768]="AllowThisInObjectLiteral",y[y.AllowQualifiedNameInPlaceOfIdentifier=65536]="AllowQualifiedNameInPlaceOfIdentifier",y[y.AllowAnonymousIdentifier=131072]="AllowAnonymousIdentifier",y[y.AllowEmptyUnionOrIntersection=262144]="AllowEmptyUnionOrIntersection",y[y.AllowEmptyTuple=524288]="AllowEmptyTuple",y[y.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",y[y.AllowEmptyIndexInfoType=2097152]="AllowEmptyIndexInfoType",y[y.WriteComputedProps=1073741824]="WriteComputedProps",y[y.AllowNodeModulesRelativePaths=67108864]="AllowNodeModulesRelativePaths",y[y.DoNotIncludeSymbolChain=134217728]="DoNotIncludeSymbolChain",y[y.IgnoreErrors=70221824]="IgnoreErrors",y[y.InObjectTypeLiteral=4194304]="InObjectTypeLiteral",y[y.InTypeAlias=8388608]="InTypeAlias",y[y.InInitialEntityName=16777216]="InInitialEntityName",eb=y,(g=eE||{})[g.None=0]="None",g[g.NoTruncation=1]="NoTruncation",g[g.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",g[g.UseStructuralFallback=8]="UseStructuralFallback",g[g.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",g[g.UseFullyQualifiedType=64]="UseFullyQualifiedType",g[g.SuppressAnyReturnType=256]="SuppressAnyReturnType",g[g.MultilineObjectLiterals=1024]="MultilineObjectLiterals",g[g.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",g[g.UseTypeOfFunction=4096]="UseTypeOfFunction",g[g.OmitParameterModifiers=8192]="OmitParameterModifiers",g[g.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",g[g.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",g[g.NoTypeReduction=536870912]="NoTypeReduction",g[g.OmitThisParameter=33554432]="OmitThisParameter",g[g.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",g[g.AddUndefined=131072]="AddUndefined",g[g.WriteArrowStyleSignature=262144]="WriteArrowStyleSignature",g[g.InArrayType=524288]="InArrayType",g[g.InElementType=2097152]="InElementType",g[g.InFirstTypeArgument=4194304]="InFirstTypeArgument",g[g.InTypeAlias=8388608]="InTypeAlias",g[g.NodeBuilderFlagsMask=848330091]="NodeBuilderFlagsMask",eE=g,(v=eT||{})[v.None=0]="None",v[v.WriteTypeParametersOrArguments=1]="WriteTypeParametersOrArguments",v[v.UseOnlyExternalAliasing=2]="UseOnlyExternalAliasing",v[v.AllowAnyNodeKind=4]="AllowAnyNodeKind",v[v.UseAliasDefinedOutsideCurrentScope=8]="UseAliasDefinedOutsideCurrentScope",v[v.WriteComputedProps=16]="WriteComputedProps",v[v.DoNotIncludeSymbolChain=32]="DoNotIncludeSymbolChain",eT=v,(b=ex||{})[b.Accessible=0]="Accessible",b[b.NotAccessible=1]="NotAccessible",b[b.CannotBeNamed=2]="CannotBeNamed",ex=b,(E=eS||{})[E.UnionOrIntersection=0]="UnionOrIntersection",E[E.Spread=1]="Spread",eS=E,(T=eA||{})[T.This=0]="This",T[T.Identifier=1]="Identifier",T[T.AssertsThis=2]="AssertsThis",T[T.AssertsIdentifier=3]="AssertsIdentifier",eA=T,(x=eL||{})[x.Unknown=0]="Unknown",x[x.TypeWithConstructSignatureAndValue=1]="TypeWithConstructSignatureAndValue",x[x.VoidNullableOrNeverType=2]="VoidNullableOrNeverType",x[x.NumberLikeType=3]="NumberLikeType",x[x.BigIntLikeType=4]="BigIntLikeType",x[x.StringLikeType=5]="StringLikeType",x[x.BooleanType=6]="BooleanType",x[x.ArrayLikeType=7]="ArrayLikeType",x[x.ESSymbolType=8]="ESSymbolType",x[x.Promise=9]="Promise",x[x.TypeWithCallSignature=10]="TypeWithCallSignature",x[x.ObjectType=11]="ObjectType",eL=x,(S=eC||{})[S.None=0]="None",S[S.FunctionScopedVariable=1]="FunctionScopedVariable",S[S.BlockScopedVariable=2]="BlockScopedVariable",S[S.Property=4]="Property",S[S.EnumMember=8]="EnumMember",S[S.Function=16]="Function",S[S.Class=32]="Class",S[S.Interface=64]="Interface",S[S.ConstEnum=128]="ConstEnum",S[S.RegularEnum=256]="RegularEnum",S[S.ValueModule=512]="ValueModule",S[S.NamespaceModule=1024]="NamespaceModule",S[S.TypeLiteral=2048]="TypeLiteral",S[S.ObjectLiteral=4096]="ObjectLiteral",S[S.Method=8192]="Method",S[S.Constructor=16384]="Constructor",S[S.GetAccessor=32768]="GetAccessor",S[S.SetAccessor=65536]="SetAccessor",S[S.Signature=131072]="Signature",S[S.TypeParameter=262144]="TypeParameter",S[S.TypeAlias=524288]="TypeAlias",S[S.ExportValue=1048576]="ExportValue",S[S.Alias=2097152]="Alias",S[S.Prototype=4194304]="Prototype",S[S.ExportStar=8388608]="ExportStar",S[S.Optional=16777216]="Optional",S[S.Transient=33554432]="Transient",S[S.Assignment=67108864]="Assignment",S[S.ModuleExports=134217728]="ModuleExports",S[S.All=67108863]="All",S[S.Enum=384]="Enum",S[S.Variable=3]="Variable",S[S.Value=111551]="Value",S[S.Type=788968]="Type",S[S.Namespace=1920]="Namespace",S[S.Module=1536]="Module",S[S.Accessor=98304]="Accessor",S[S.FunctionScopedVariableExcludes=111550]="FunctionScopedVariableExcludes",S[S.BlockScopedVariableExcludes=111551]="BlockScopedVariableExcludes",S[S.ParameterExcludes=111551]="ParameterExcludes",S[S.PropertyExcludes=0]="PropertyExcludes",S[S.EnumMemberExcludes=900095]="EnumMemberExcludes",S[S.FunctionExcludes=110991]="FunctionExcludes",S[S.ClassExcludes=899503]="ClassExcludes",S[S.InterfaceExcludes=788872]="InterfaceExcludes",S[S.RegularEnumExcludes=899327]="RegularEnumExcludes",S[S.ConstEnumExcludes=899967]="ConstEnumExcludes",S[S.ValueModuleExcludes=110735]="ValueModuleExcludes",S[S.NamespaceModuleExcludes=0]="NamespaceModuleExcludes",S[S.MethodExcludes=103359]="MethodExcludes",S[S.GetAccessorExcludes=46015]="GetAccessorExcludes",S[S.SetAccessorExcludes=78783]="SetAccessorExcludes",S[S.AccessorExcludes=13247]="AccessorExcludes",S[S.TypeParameterExcludes=526824]="TypeParameterExcludes",S[S.TypeAliasExcludes=788968]="TypeAliasExcludes",S[S.AliasExcludes=2097152]="AliasExcludes",S[S.ModuleMember=2623475]="ModuleMember",S[S.ExportHasLocal=944]="ExportHasLocal",S[S.BlockScoped=418]="BlockScoped",S[S.PropertyOrAccessor=98308]="PropertyOrAccessor",S[S.ClassMember=106500]="ClassMember",S[S.ExportSupportsDefaultModifier=112]="ExportSupportsDefaultModifier",S[S.ExportDoesNotSupportDefaultModifier=-113]="ExportDoesNotSupportDefaultModifier",S[S.Classifiable=2885600]="Classifiable",S[S.LateBindingContainer=6256]="LateBindingContainer",eC=S,(A=ek||{})[A.Numeric=0]="Numeric",A[A.Literal=1]="Literal",ek=A,(L=eI||{})[L.None=0]="None",L[L.Instantiated=1]="Instantiated",L[L.SyntheticProperty=2]="SyntheticProperty",L[L.SyntheticMethod=4]="SyntheticMethod",L[L.Readonly=8]="Readonly",L[L.ReadPartial=16]="ReadPartial",L[L.WritePartial=32]="WritePartial",L[L.HasNonUniformType=64]="HasNonUniformType",L[L.HasLiteralType=128]="HasLiteralType",L[L.ContainsPublic=256]="ContainsPublic",L[L.ContainsProtected=512]="ContainsProtected",L[L.ContainsPrivate=1024]="ContainsPrivate",L[L.ContainsStatic=2048]="ContainsStatic",L[L.Late=4096]="Late",L[L.ReverseMapped=8192]="ReverseMapped",L[L.OptionalParameter=16384]="OptionalParameter",L[L.RestParameter=32768]="RestParameter",L[L.DeferredType=65536]="DeferredType",L[L.HasNeverType=131072]="HasNeverType",L[L.Mapped=262144]="Mapped",L[L.StripOptional=524288]="StripOptional",L[L.Unresolved=1048576]="Unresolved",L[L.Synthetic=6]="Synthetic",L[L.Discriminant=192]="Discriminant",L[L.Partial=48]="Partial",eI=L,(C=ew||{}).Call="__call",C.Constructor="__constructor",C.New="__new",C.Index="__index",C.ExportStar="__export",C.Global="__global",C.Missing="__missing",C.Type="__type",C.Object="__object",C.JSXAttributes="__jsxAttributes",C.Class="__class",C.Function="__function",C.Computed="__computed",C.Resolving="__resolving__",C.ExportEquals="export=",C.Default="default",C.This="this",ew=C,(k=eR||{})[k.None=0]="None",k[k.TypeChecked=1]="TypeChecked",k[k.LexicalThis=2]="LexicalThis",k[k.CaptureThis=4]="CaptureThis",k[k.CaptureNewTarget=8]="CaptureNewTarget",k[k.SuperInstance=16]="SuperInstance",k[k.SuperStatic=32]="SuperStatic",k[k.ContextChecked=64]="ContextChecked",k[k.MethodWithSuperPropertyAccessInAsync=128]="MethodWithSuperPropertyAccessInAsync",k[k.MethodWithSuperPropertyAssignmentInAsync=256]="MethodWithSuperPropertyAssignmentInAsync",k[k.CaptureArguments=512]="CaptureArguments",k[k.EnumValuesComputed=1024]="EnumValuesComputed",k[k.LexicalModuleMergesWithClass=2048]="LexicalModuleMergesWithClass",k[k.LoopWithCapturedBlockScopedBinding=4096]="LoopWithCapturedBlockScopedBinding",k[k.ContainsCapturedBlockScopeBinding=8192]="ContainsCapturedBlockScopeBinding",k[k.CapturedBlockScopedBinding=16384]="CapturedBlockScopedBinding",k[k.BlockScopedBindingInLoop=32768]="BlockScopedBindingInLoop",k[k.ClassWithBodyScopedClassBinding=65536]="ClassWithBodyScopedClassBinding",k[k.BodyScopedClassBinding=131072]="BodyScopedClassBinding",k[k.NeedsLoopOutParameter=262144]="NeedsLoopOutParameter",k[k.AssignmentsMarked=524288]="AssignmentsMarked",k[k.ClassWithConstructorReference=1048576]="ClassWithConstructorReference",k[k.ConstructorReferenceInClass=2097152]="ConstructorReferenceInClass",k[k.ContainsClassWithPrivateIdentifiers=4194304]="ContainsClassWithPrivateIdentifiers",k[k.ContainsSuperPropertyInStaticInitializer=8388608]="ContainsSuperPropertyInStaticInitializer",k[k.InCheckIdentifier=16777216]="InCheckIdentifier",eR=k,(I=eN||{})[I.Any=1]="Any",I[I.Unknown=2]="Unknown",I[I.String=4]="String",I[I.Number=8]="Number",I[I.Boolean=16]="Boolean",I[I.Enum=32]="Enum",I[I.BigInt=64]="BigInt",I[I.StringLiteral=128]="StringLiteral",I[I.NumberLiteral=256]="NumberLiteral",I[I.BooleanLiteral=512]="BooleanLiteral",I[I.EnumLiteral=1024]="EnumLiteral",I[I.BigIntLiteral=2048]="BigIntLiteral",I[I.ESSymbol=4096]="ESSymbol",I[I.UniqueESSymbol=8192]="UniqueESSymbol",I[I.Void=16384]="Void",I[I.Undefined=32768]="Undefined",I[I.Null=65536]="Null",I[I.Never=131072]="Never",I[I.TypeParameter=262144]="TypeParameter",I[I.Object=524288]="Object",I[I.Union=1048576]="Union",I[I.Intersection=2097152]="Intersection",I[I.Index=4194304]="Index",I[I.IndexedAccess=8388608]="IndexedAccess",I[I.Conditional=16777216]="Conditional",I[I.Substitution=33554432]="Substitution",I[I.NonPrimitive=67108864]="NonPrimitive",I[I.TemplateLiteral=134217728]="TemplateLiteral",I[I.StringMapping=268435456]="StringMapping",I[I.AnyOrUnknown=3]="AnyOrUnknown",I[I.Nullable=98304]="Nullable",I[I.Literal=2944]="Literal",I[I.Unit=109472]="Unit",I[I.Freshable=2976]="Freshable",I[I.StringOrNumberLiteral=384]="StringOrNumberLiteral",I[I.StringOrNumberLiteralOrUnique=8576]="StringOrNumberLiteralOrUnique",I[I.DefinitelyFalsy=117632]="DefinitelyFalsy",I[I.PossiblyFalsy=117724]="PossiblyFalsy",I[I.Intrinsic=67359327]="Intrinsic",I[I.Primitive=134348796]="Primitive",I[I.StringLike=402653316]="StringLike",I[I.NumberLike=296]="NumberLike",I[I.BigIntLike=2112]="BigIntLike",I[I.BooleanLike=528]="BooleanLike",I[I.EnumLike=1056]="EnumLike",I[I.ESSymbolLike=12288]="ESSymbolLike",I[I.VoidLike=49152]="VoidLike",I[I.DefinitelyNonNullable=470302716]="DefinitelyNonNullable",I[I.DisjointDomains=469892092]="DisjointDomains",I[I.UnionOrIntersection=3145728]="UnionOrIntersection",I[I.StructuredType=3670016]="StructuredType",I[I.TypeVariable=8650752]="TypeVariable",I[I.InstantiableNonPrimitive=58982400]="InstantiableNonPrimitive",I[I.InstantiablePrimitive=406847488]="InstantiablePrimitive",I[I.Instantiable=465829888]="Instantiable",I[I.StructuredOrInstantiable=469499904]="StructuredOrInstantiable",I[I.ObjectFlagsType=3899393]="ObjectFlagsType",I[I.Simplifiable=25165824]="Simplifiable",I[I.Singleton=67358815]="Singleton",I[I.Narrowable=536624127]="Narrowable",I[I.IncludesMask=205258751]="IncludesMask",I[I.IncludesMissingType=262144]="IncludesMissingType",I[I.IncludesNonWideningType=4194304]="IncludesNonWideningType",I[I.IncludesWildcard=8388608]="IncludesWildcard",I[I.IncludesEmptyObject=16777216]="IncludesEmptyObject",I[I.IncludesInstantiable=33554432]="IncludesInstantiable",I[I.NotPrimitiveUnion=36323363]="NotPrimitiveUnion",eN=I,(w=eD||{})[w.None=0]="None",w[w.Class=1]="Class",w[w.Interface=2]="Interface",w[w.Reference=4]="Reference",w[w.Tuple=8]="Tuple",w[w.Anonymous=16]="Anonymous",w[w.Mapped=32]="Mapped",w[w.Instantiated=64]="Instantiated",w[w.ObjectLiteral=128]="ObjectLiteral",w[w.EvolvingArray=256]="EvolvingArray",w[w.ObjectLiteralPatternWithComputedProperties=512]="ObjectLiteralPatternWithComputedProperties",w[w.ReverseMapped=1024]="ReverseMapped",w[w.JsxAttributes=2048]="JsxAttributes",w[w.JSLiteral=4096]="JSLiteral",w[w.FreshLiteral=8192]="FreshLiteral",w[w.ArrayLiteral=16384]="ArrayLiteral",w[w.PrimitiveUnion=32768]="PrimitiveUnion",w[w.ContainsWideningType=65536]="ContainsWideningType",w[w.ContainsObjectOrArrayLiteral=131072]="ContainsObjectOrArrayLiteral",w[w.NonInferrableType=262144]="NonInferrableType",w[w.CouldContainTypeVariablesComputed=524288]="CouldContainTypeVariablesComputed",w[w.CouldContainTypeVariables=1048576]="CouldContainTypeVariables",w[w.ClassOrInterface=3]="ClassOrInterface",w[w.RequiresWidening=196608]="RequiresWidening",w[w.PropagatingFlags=458752]="PropagatingFlags",w[w.ObjectTypeKindMask=1343]="ObjectTypeKindMask",w[w.ContainsSpread=2097152]="ContainsSpread",w[w.ObjectRestType=4194304]="ObjectRestType",w[w.InstantiationExpressionType=8388608]="InstantiationExpressionType",w[w.IsClassInstanceClone=16777216]="IsClassInstanceClone",w[w.IdenticalBaseTypeCalculated=33554432]="IdenticalBaseTypeCalculated",w[w.IdenticalBaseTypeExists=67108864]="IdenticalBaseTypeExists",w[w.IsGenericTypeComputed=2097152]="IsGenericTypeComputed",w[w.IsGenericObjectType=4194304]="IsGenericObjectType",w[w.IsGenericIndexType=8388608]="IsGenericIndexType",w[w.IsGenericType=12582912]="IsGenericType",w[w.ContainsIntersections=16777216]="ContainsIntersections",w[w.IsUnknownLikeUnionComputed=33554432]="IsUnknownLikeUnionComputed",w[w.IsUnknownLikeUnion=67108864]="IsUnknownLikeUnion",w[w.IsNeverIntersectionComputed=16777216]="IsNeverIntersectionComputed",w[w.IsNeverIntersection=33554432]="IsNeverIntersection",eD=w,(R=eO||{})[R.Invariant=0]="Invariant",R[R.Covariant=1]="Covariant",R[R.Contravariant=2]="Contravariant",R[R.Bivariant=3]="Bivariant",R[R.Independent=4]="Independent",R[R.VarianceMask=7]="VarianceMask",R[R.Unmeasurable=8]="Unmeasurable",R[R.Unreliable=16]="Unreliable",R[R.AllowsStructuralFallback=24]="AllowsStructuralFallback",eO=R,(N=eM||{})[N.Required=1]="Required",N[N.Optional=2]="Optional",N[N.Rest=4]="Rest",N[N.Variadic=8]="Variadic",N[N.Fixed=3]="Fixed",N[N.Variable=12]="Variable",N[N.NonRequired=14]="NonRequired",N[N.NonRest=11]="NonRest",eM=N,(D=eP||{})[D.None=0]="None",D[D.IncludeUndefined=1]="IncludeUndefined",D[D.NoIndexSignatures=2]="NoIndexSignatures",D[D.Writing=4]="Writing",D[D.CacheSymbol=8]="CacheSymbol",D[D.NoTupleBoundsCheck=16]="NoTupleBoundsCheck",D[D.ExpressionPosition=32]="ExpressionPosition",D[D.ReportDeprecated=64]="ReportDeprecated",D[D.SuppressNoImplicitAnyError=128]="SuppressNoImplicitAnyError",D[D.Contextual=256]="Contextual",D[D.Persistent=1]="Persistent",eP=D,(O=eF||{})[O.Component=0]="Component",O[O.Function=1]="Function",O[O.Mixed=2]="Mixed",eF=O,(M=eG||{})[M.Call=0]="Call",M[M.Construct=1]="Construct",eG=M,(P=eB||{})[P.None=0]="None",P[P.HasRestParameter=1]="HasRestParameter",P[P.HasLiteralTypes=2]="HasLiteralTypes",P[P.Abstract=4]="Abstract",P[P.IsInnerCallChain=8]="IsInnerCallChain",P[P.IsOuterCallChain=16]="IsOuterCallChain",P[P.IsUntypedSignatureInJSFile=32]="IsUntypedSignatureInJSFile",P[P.PropagatingFlags=39]="PropagatingFlags",P[P.CallChainFlags=24]="CallChainFlags",eB=P,(F=eU||{})[F.String=0]="String",F[F.Number=1]="Number",eU=F,(G=eV||{})[G.Simple=0]="Simple",G[G.Array=1]="Array",G[G.Deferred=2]="Deferred",G[G.Function=3]="Function",G[G.Composite=4]="Composite",G[G.Merged=5]="Merged",eV=G,(B=ej||{})[B.None=0]="None",B[B.NakedTypeVariable=1]="NakedTypeVariable",B[B.SpeculativeTuple=2]="SpeculativeTuple",B[B.SubstituteSource=4]="SubstituteSource",B[B.HomomorphicMappedType=8]="HomomorphicMappedType",B[B.PartialHomomorphicMappedType=16]="PartialHomomorphicMappedType",B[B.MappedTypeConstraint=32]="MappedTypeConstraint",B[B.ContravariantConditional=64]="ContravariantConditional",B[B.ReturnType=128]="ReturnType",B[B.LiteralKeyof=256]="LiteralKeyof",B[B.NoConstraints=512]="NoConstraints",B[B.AlwaysStrict=1024]="AlwaysStrict",B[B.MaxValue=2048]="MaxValue",B[B.PriorityImpliesCombination=416]="PriorityImpliesCombination",B[B.Circularity=-1]="Circularity",ej=B,(U=eH||{})[U.None=0]="None",U[U.NoDefault=1]="NoDefault",U[U.AnyDefault=2]="AnyDefault",U[U.SkippedGenericFunction=4]="SkippedGenericFunction",eH=U,(V=eK||{})[V.False=0]="False",V[V.Unknown=1]="Unknown",V[V.Maybe=3]="Maybe",V[V.True=-1]="True",eK=V,(j=eW||{})[j.None=0]="None",j[j.ExportsProperty=1]="ExportsProperty",j[j.ModuleExports=2]="ModuleExports",j[j.PrototypeProperty=3]="PrototypeProperty",j[j.ThisProperty=4]="ThisProperty",j[j.Property=5]="Property",j[j.Prototype=6]="Prototype",j[j.ObjectDefinePropertyValue=7]="ObjectDefinePropertyValue",j[j.ObjectDefinePropertyExports=8]="ObjectDefinePropertyExports",j[j.ObjectDefinePrototypeProperty=9]="ObjectDefinePrototypeProperty",eW=j,(H=ez||{})[H.Warning=0]="Warning",H[H.Error=1]="Error",H[H.Suggestion=2]="Suggestion",H[H.Message=3]="Message",ez=H,(K=eq||{})[K.Classic=1]="Classic",K[K.NodeJs=2]="NodeJs",K[K.Node10=2]="Node10",K[K.Node16=3]="Node16",K[K.NodeNext=99]="NodeNext",K[K.Bundler=100]="Bundler",eq=K,(W=eJ||{})[W.Legacy=1]="Legacy",W[W.Auto=2]="Auto",W[W.Force=3]="Force",eJ=W,(z=eX||{})[z.FixedPollingInterval=0]="FixedPollingInterval",z[z.PriorityPollingInterval=1]="PriorityPollingInterval",z[z.DynamicPriorityPolling=2]="DynamicPriorityPolling",z[z.FixedChunkSizePolling=3]="FixedChunkSizePolling",z[z.UseFsEvents=4]="UseFsEvents",z[z.UseFsEventsOnParentDirectory=5]="UseFsEventsOnParentDirectory",eX=z,(q=eY||{})[q.UseFsEvents=0]="UseFsEvents",q[q.FixedPollingInterval=1]="FixedPollingInterval",q[q.DynamicPriorityPolling=2]="DynamicPriorityPolling",q[q.FixedChunkSizePolling=3]="FixedChunkSizePolling",eY=q,(J=e$||{})[J.FixedInterval=0]="FixedInterval",J[J.PriorityInterval=1]="PriorityInterval",J[J.DynamicPriority=2]="DynamicPriority",J[J.FixedChunkSize=3]="FixedChunkSize",e$=J,(X=eQ||{})[X.None=0]="None",X[X.CommonJS=1]="CommonJS",X[X.AMD=2]="AMD",X[X.UMD=3]="UMD",X[X.System=4]="System",X[X.ES2015=5]="ES2015",X[X.ES2020=6]="ES2020",X[X.ES2022=7]="ES2022",X[X.ESNext=99]="ESNext",X[X.Node16=100]="Node16",X[X.NodeNext=199]="NodeNext",eQ=X,(Y=eZ||{})[Y.None=0]="None",Y[Y.Preserve=1]="Preserve",Y[Y.React=2]="React",Y[Y.ReactNative=3]="ReactNative",Y[Y.ReactJSX=4]="ReactJSX",Y[Y.ReactJSXDev=5]="ReactJSXDev",eZ=Y,($=e0||{})[$.Remove=0]="Remove",$[$.Preserve=1]="Preserve",$[$.Error=2]="Error",e0=$,(Q=e1||{})[Q.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",Q[Q.LineFeed=1]="LineFeed",e1=Q,(Z=e2||{})[Z.Unknown=0]="Unknown",Z[Z.JS=1]="JS",Z[Z.JSX=2]="JSX",Z[Z.TS=3]="TS",Z[Z.TSX=4]="TSX",Z[Z.External=5]="External",Z[Z.JSON=6]="JSON",Z[Z.Deferred=7]="Deferred",e2=Z,(ee=e4||{})[ee.ES3=0]="ES3",ee[ee.ES5=1]="ES5",ee[ee.ES2015=2]="ES2015",ee[ee.ES2016=3]="ES2016",ee[ee.ES2017=4]="ES2017",ee[ee.ES2018=5]="ES2018",ee[ee.ES2019=6]="ES2019",ee[ee.ES2020=7]="ES2020",ee[ee.ES2021=8]="ES2021",ee[ee.ES2022=9]="ES2022",ee[ee.ESNext=99]="ESNext",ee[ee.JSON=100]="JSON",ee[ee.Latest=99]="Latest",e4=ee,(et=e8||{})[et.Standard=0]="Standard",et[et.JSX=1]="JSX",e8=et,(td=e6||{})[td.None=0]="None",td[td.Recursive=1]="Recursive",e6=td,(tu=e3||{})[tu.nullCharacter=0]="nullCharacter",tu[tu.maxAsciiCharacter=127]="maxAsciiCharacter",tu[tu.lineFeed=10]="lineFeed",tu[tu.carriageReturn=13]="carriageReturn",tu[tu.lineSeparator=8232]="lineSeparator",tu[tu.paragraphSeparator=8233]="paragraphSeparator",tu[tu.nextLine=133]="nextLine",tu[tu.space=32]="space",tu[tu.nonBreakingSpace=160]="nonBreakingSpace",tu[tu.enQuad=8192]="enQuad",tu[tu.emQuad=8193]="emQuad",tu[tu.enSpace=8194]="enSpace",tu[tu.emSpace=8195]="emSpace",tu[tu.threePerEmSpace=8196]="threePerEmSpace",tu[tu.fourPerEmSpace=8197]="fourPerEmSpace",tu[tu.sixPerEmSpace=8198]="sixPerEmSpace",tu[tu.figureSpace=8199]="figureSpace",tu[tu.punctuationSpace=8200]="punctuationSpace",tu[tu.thinSpace=8201]="thinSpace",tu[tu.hairSpace=8202]="hairSpace",tu[tu.zeroWidthSpace=8203]="zeroWidthSpace",tu[tu.narrowNoBreakSpace=8239]="narrowNoBreakSpace",tu[tu.ideographicSpace=12288]="ideographicSpace",tu[tu.mathematicalSpace=8287]="mathematicalSpace",tu[tu.ogham=5760]="ogham",tu[tu._=95]="_",tu[tu.$=36]="$",tu[tu._0=48]="_0",tu[tu._1=49]="_1",tu[tu._2=50]="_2",tu[tu._3=51]="_3",tu[tu._4=52]="_4",tu[tu._5=53]="_5",tu[tu._6=54]="_6",tu[tu._7=55]="_7",tu[tu._8=56]="_8",tu[tu._9=57]="_9",tu[tu.a=97]="a",tu[tu.b=98]="b",tu[tu.c=99]="c",tu[tu.d=100]="d",tu[tu.e=101]="e",tu[tu.f=102]="f",tu[tu.g=103]="g",tu[tu.h=104]="h",tu[tu.i=105]="i",tu[tu.j=106]="j",tu[tu.k=107]="k",tu[tu.l=108]="l",tu[tu.m=109]="m",tu[tu.n=110]="n",tu[tu.o=111]="o",tu[tu.p=112]="p",tu[tu.q=113]="q",tu[tu.r=114]="r",tu[tu.s=115]="s",tu[tu.t=116]="t",tu[tu.u=117]="u",tu[tu.v=118]="v",tu[tu.w=119]="w",tu[tu.x=120]="x",tu[tu.y=121]="y",tu[tu.z=122]="z",tu[tu.A=65]="A",tu[tu.B=66]="B",tu[tu.C=67]="C",tu[tu.D=68]="D",tu[tu.E=69]="E",tu[tu.F=70]="F",tu[tu.G=71]="G",tu[tu.H=72]="H",tu[tu.I=73]="I",tu[tu.J=74]="J",tu[tu.K=75]="K",tu[tu.L=76]="L",tu[tu.M=77]="M",tu[tu.N=78]="N",tu[tu.O=79]="O",tu[tu.P=80]="P",tu[tu.Q=81]="Q",tu[tu.R=82]="R",tu[tu.S=83]="S",tu[tu.T=84]="T",tu[tu.U=85]="U",tu[tu.V=86]="V",tu[tu.W=87]="W",tu[tu.X=88]="X",tu[tu.Y=89]="Y",tu[tu.Z=90]="Z",tu[tu.ampersand=38]="ampersand",tu[tu.asterisk=42]="asterisk",tu[tu.at=64]="at",tu[tu.backslash=92]="backslash",tu[tu.backtick=96]="backtick",tu[tu.bar=124]="bar",tu[tu.caret=94]="caret",tu[tu.closeBrace=125]="closeBrace",tu[tu.closeBracket=93]="closeBracket",tu[tu.closeParen=41]="closeParen",tu[tu.colon=58]="colon",tu[tu.comma=44]="comma",tu[tu.dot=46]="dot",tu[tu.doubleQuote=34]="doubleQuote",tu[tu.equals=61]="equals",tu[tu.exclamation=33]="exclamation",tu[tu.greaterThan=62]="greaterThan",tu[tu.hash=35]="hash",tu[tu.lessThan=60]="lessThan",tu[tu.minus=45]="minus",tu[tu.openBrace=123]="openBrace",tu[tu.openBracket=91]="openBracket",tu[tu.openParen=40]="openParen",tu[tu.percent=37]="percent",tu[tu.plus=43]="plus",tu[tu.question=63]="question",tu[tu.semicolon=59]="semicolon",tu[tu.singleQuote=39]="singleQuote",tu[tu.slash=47]="slash",tu[tu.tilde=126]="tilde",tu[tu.backspace=8]="backspace",tu[tu.formFeed=12]="formFeed",tu[tu.byteOrderMark=65279]="byteOrderMark",tu[tu.tab=9]="tab",tu[tu.verticalTab=11]="verticalTab",e3=tu,(t_=e5||{}).Ts=".ts",t_.Tsx=".tsx",t_.Dts=".d.ts",t_.Js=".js",t_.Jsx=".jsx",t_.Json=".json",t_.TsBuildInfo=".tsbuildinfo",t_.Mjs=".mjs",t_.Mts=".mts",t_.Dmts=".d.mts",t_.Cjs=".cjs",t_.Cts=".cts",t_.Dcts=".d.cts",e5=t_,(tp=e7||{})[tp.None=0]="None",tp[tp.ContainsTypeScript=1]="ContainsTypeScript",tp[tp.ContainsJsx=2]="ContainsJsx",tp[tp.ContainsESNext=4]="ContainsESNext",tp[tp.ContainsES2022=8]="ContainsES2022",tp[tp.ContainsES2021=16]="ContainsES2021",tp[tp.ContainsES2020=32]="ContainsES2020",tp[tp.ContainsES2019=64]="ContainsES2019",tp[tp.ContainsES2018=128]="ContainsES2018",tp[tp.ContainsES2017=256]="ContainsES2017",tp[tp.ContainsES2016=512]="ContainsES2016",tp[tp.ContainsES2015=1024]="ContainsES2015",tp[tp.ContainsGenerator=2048]="ContainsGenerator",tp[tp.ContainsDestructuringAssignment=4096]="ContainsDestructuringAssignment",tp[tp.ContainsTypeScriptClassSyntax=8192]="ContainsTypeScriptClassSyntax",tp[tp.ContainsLexicalThis=16384]="ContainsLexicalThis",tp[tp.ContainsRestOrSpread=32768]="ContainsRestOrSpread",tp[tp.ContainsObjectRestOrSpread=65536]="ContainsObjectRestOrSpread",tp[tp.ContainsComputedPropertyName=131072]="ContainsComputedPropertyName",tp[tp.ContainsBlockScopedBinding=262144]="ContainsBlockScopedBinding",tp[tp.ContainsBindingPattern=524288]="ContainsBindingPattern",tp[tp.ContainsYield=1048576]="ContainsYield",tp[tp.ContainsAwait=2097152]="ContainsAwait",tp[tp.ContainsHoistedDeclarationOrCompletion=4194304]="ContainsHoistedDeclarationOrCompletion",tp[tp.ContainsDynamicImport=8388608]="ContainsDynamicImport",tp[tp.ContainsClassFields=16777216]="ContainsClassFields",tp[tp.ContainsDecorators=33554432]="ContainsDecorators",tp[tp.ContainsPossibleTopLevelAwait=67108864]="ContainsPossibleTopLevelAwait",tp[tp.ContainsLexicalSuper=134217728]="ContainsLexicalSuper",tp[tp.ContainsUpdateExpressionForIdentifier=268435456]="ContainsUpdateExpressionForIdentifier",tp[tp.ContainsPrivateIdentifierInExpression=536870912]="ContainsPrivateIdentifierInExpression",tp[tp.HasComputedFlags=-2147483648]="HasComputedFlags",tp[tp.AssertTypeScript=1]="AssertTypeScript",tp[tp.AssertJsx=2]="AssertJsx",tp[tp.AssertESNext=4]="AssertESNext",tp[tp.AssertES2022=8]="AssertES2022",tp[tp.AssertES2021=16]="AssertES2021",tp[tp.AssertES2020=32]="AssertES2020",tp[tp.AssertES2019=64]="AssertES2019",tp[tp.AssertES2018=128]="AssertES2018",tp[tp.AssertES2017=256]="AssertES2017",tp[tp.AssertES2016=512]="AssertES2016",tp[tp.AssertES2015=1024]="AssertES2015",tp[tp.AssertGenerator=2048]="AssertGenerator",tp[tp.AssertDestructuringAssignment=4096]="AssertDestructuringAssignment",tp[tp.OuterExpressionExcludes=-2147483648]="OuterExpressionExcludes",tp[tp.PropertyAccessExcludes=-2147483648]="PropertyAccessExcludes",tp[tp.NodeExcludes=-2147483648]="NodeExcludes",tp[tp.ArrowFunctionExcludes=-2072174592]="ArrowFunctionExcludes",tp[tp.FunctionExcludes=-1937940480]="FunctionExcludes",tp[tp.ConstructorExcludes=-1937948672]="ConstructorExcludes",tp[tp.MethodOrAccessorExcludes=-2005057536]="MethodOrAccessorExcludes",tp[tp.PropertyExcludes=-2013249536]="PropertyExcludes",tp[tp.ClassExcludes=-2147344384]="ClassExcludes",tp[tp.ModuleExcludes=-1941676032]="ModuleExcludes",tp[tp.TypeExcludes=-2]="TypeExcludes",tp[tp.ObjectLiteralExcludes=-2147278848]="ObjectLiteralExcludes",tp[tp.ArrayLiteralOrCallOrNewExcludes=-2147450880]="ArrayLiteralOrCallOrNewExcludes",tp[tp.VariableDeclarationListExcludes=-2146893824]="VariableDeclarationListExcludes",tp[tp.ParameterExcludes=-2147483648]="ParameterExcludes",tp[tp.CatchClauseExcludes=-2147418112]="CatchClauseExcludes",tp[tp.BindingPatternExcludes=-2147450880]="BindingPatternExcludes",tp[tp.ContainsLexicalThisOrSuper=134234112]="ContainsLexicalThisOrSuper",tp[tp.PropertyNamePropagatingFlags=134234112]="PropertyNamePropagatingFlags",e7=tp,(tf=e9||{})[tf.TabStop=0]="TabStop",tf[tf.Placeholder=1]="Placeholder",tf[tf.Choice=2]="Choice",tf[tf.Variable=3]="Variable",e9=tf,(tm=te||{})[tm.None=0]="None",tm[tm.SingleLine=1]="SingleLine",tm[tm.MultiLine=2]="MultiLine",tm[tm.AdviseOnEmitNode=4]="AdviseOnEmitNode",tm[tm.NoSubstitution=8]="NoSubstitution",tm[tm.CapturesThis=16]="CapturesThis",tm[tm.NoLeadingSourceMap=32]="NoLeadingSourceMap",tm[tm.NoTrailingSourceMap=64]="NoTrailingSourceMap",tm[tm.NoSourceMap=96]="NoSourceMap",tm[tm.NoNestedSourceMaps=128]="NoNestedSourceMaps",tm[tm.NoTokenLeadingSourceMaps=256]="NoTokenLeadingSourceMaps",tm[tm.NoTokenTrailingSourceMaps=512]="NoTokenTrailingSourceMaps",tm[tm.NoTokenSourceMaps=768]="NoTokenSourceMaps",tm[tm.NoLeadingComments=1024]="NoLeadingComments",tm[tm.NoTrailingComments=2048]="NoTrailingComments",tm[tm.NoComments=3072]="NoComments",tm[tm.NoNestedComments=4096]="NoNestedComments",tm[tm.HelperName=8192]="HelperName",tm[tm.ExportName=16384]="ExportName",tm[tm.LocalName=32768]="LocalName",tm[tm.InternalName=65536]="InternalName",tm[tm.Indented=131072]="Indented",tm[tm.NoIndentation=262144]="NoIndentation",tm[tm.AsyncFunctionBody=524288]="AsyncFunctionBody",tm[tm.ReuseTempVariableScope=1048576]="ReuseTempVariableScope",tm[tm.CustomPrologue=2097152]="CustomPrologue",tm[tm.NoHoisting=4194304]="NoHoisting",tm[tm.HasEndOfDeclarationMarker=8388608]="HasEndOfDeclarationMarker",tm[tm.Iterator=16777216]="Iterator",tm[tm.NoAsciiEscaping=33554432]="NoAsciiEscaping",te=tm,(th=tt||{})[th.None=0]="None",th[th.TypeScriptClassWrapper=1]="TypeScriptClassWrapper",th[th.NeverApplyImportHelper=2]="NeverApplyImportHelper",th[th.IgnoreSourceNewlines=4]="IgnoreSourceNewlines",th[th.Immutable=8]="Immutable",th[th.IndirectCall=16]="IndirectCall",th[th.TransformPrivateStaticElements=32]="TransformPrivateStaticElements",tt=th,(ty=tn||{})[ty.Extends=1]="Extends",ty[ty.Assign=2]="Assign",ty[ty.Rest=4]="Rest",ty[ty.Decorate=8]="Decorate",ty[ty.ESDecorateAndRunInitializers=8]="ESDecorateAndRunInitializers",ty[ty.Metadata=16]="Metadata",ty[ty.Param=32]="Param",ty[ty.Awaiter=64]="Awaiter",ty[ty.Generator=128]="Generator",ty[ty.Values=256]="Values",ty[ty.Read=512]="Read",ty[ty.SpreadArray=1024]="SpreadArray",ty[ty.Await=2048]="Await",ty[ty.AsyncGenerator=4096]="AsyncGenerator",ty[ty.AsyncDelegator=8192]="AsyncDelegator",ty[ty.AsyncValues=16384]="AsyncValues",ty[ty.ExportStar=32768]="ExportStar",ty[ty.ImportStar=65536]="ImportStar",ty[ty.ImportDefault=131072]="ImportDefault",ty[ty.MakeTemplateObject=262144]="MakeTemplateObject",ty[ty.ClassPrivateFieldGet=524288]="ClassPrivateFieldGet",ty[ty.ClassPrivateFieldSet=1048576]="ClassPrivateFieldSet",ty[ty.ClassPrivateFieldIn=2097152]="ClassPrivateFieldIn",ty[ty.CreateBinding=4194304]="CreateBinding",ty[ty.SetFunctionName=8388608]="SetFunctionName",ty[ty.PropKey=16777216]="PropKey",ty[ty.FirstEmitHelper=1]="FirstEmitHelper",ty[ty.LastEmitHelper=16777216]="LastEmitHelper",ty[ty.ForOfIncludes=256]="ForOfIncludes",ty[ty.ForAwaitOfIncludes=16384]="ForAwaitOfIncludes",ty[ty.AsyncGeneratorIncludes=6144]="AsyncGeneratorIncludes",ty[ty.AsyncDelegatorIncludes=26624]="AsyncDelegatorIncludes",ty[ty.SpreadIncludes=1536]="SpreadIncludes",tn=ty,(tg=tr||{})[tg.SourceFile=0]="SourceFile",tg[tg.Expression=1]="Expression",tg[tg.IdentifierName=2]="IdentifierName",tg[tg.MappedTypeParameter=3]="MappedTypeParameter",tg[tg.Unspecified=4]="Unspecified",tg[tg.EmbeddedStatement=5]="EmbeddedStatement",tg[tg.JsxAttributeValue=6]="JsxAttributeValue",tr=tg,(tv=ti||{})[tv.Parentheses=1]="Parentheses",tv[tv.TypeAssertions=2]="TypeAssertions",tv[tv.NonNullAssertions=4]="NonNullAssertions",tv[tv.PartiallyEmittedExpressions=8]="PartiallyEmittedExpressions",tv[tv.Assertions=6]="Assertions",tv[tv.All=15]="All",tv[tv.ExcludeJSDocTypeAssertion=16]="ExcludeJSDocTypeAssertion",ti=tv,(tb=ta||{})[tb.None=0]="None",tb[tb.InParameters=1]="InParameters",tb[tb.VariablesHoistedInParameters=2]="VariablesHoistedInParameters",ta=tb,(tE=to||{}).Prologue="prologue",tE.EmitHelpers="emitHelpers",tE.NoDefaultLib="no-default-lib",tE.Reference="reference",tE.Type="type",tE.TypeResolutionModeRequire="type-require",tE.TypeResolutionModeImport="type-import",tE.Lib="lib",tE.Prepend="prepend",tE.Text="text",tE.Internal="internal",to=tE,(tT=ts||{})[tT.None=0]="None",tT[tT.SingleLine=0]="SingleLine",tT[tT.MultiLine=1]="MultiLine",tT[tT.PreserveLines=2]="PreserveLines",tT[tT.LinesMask=3]="LinesMask",tT[tT.NotDelimited=0]="NotDelimited",tT[tT.BarDelimited=4]="BarDelimited",tT[tT.AmpersandDelimited=8]="AmpersandDelimited",tT[tT.CommaDelimited=16]="CommaDelimited",tT[tT.AsteriskDelimited=32]="AsteriskDelimited",tT[tT.DelimitersMask=60]="DelimitersMask",tT[tT.AllowTrailingComma=64]="AllowTrailingComma",tT[tT.Indented=128]="Indented",tT[tT.SpaceBetweenBraces=256]="SpaceBetweenBraces",tT[tT.SpaceBetweenSiblings=512]="SpaceBetweenSiblings",tT[tT.Braces=1024]="Braces",tT[tT.Parenthesis=2048]="Parenthesis",tT[tT.AngleBrackets=4096]="AngleBrackets",tT[tT.SquareBrackets=8192]="SquareBrackets",tT[tT.BracketsMask=15360]="BracketsMask",tT[tT.OptionalIfUndefined=16384]="OptionalIfUndefined",tT[tT.OptionalIfEmpty=32768]="OptionalIfEmpty",tT[tT.Optional=49152]="Optional",tT[tT.PreferNewLine=65536]="PreferNewLine",tT[tT.NoTrailingNewLine=131072]="NoTrailingNewLine",tT[tT.NoInterveningComments=262144]="NoInterveningComments",tT[tT.NoSpaceIfEmpty=524288]="NoSpaceIfEmpty",tT[tT.SingleElement=1048576]="SingleElement",tT[tT.SpaceAfterList=2097152]="SpaceAfterList",tT[tT.Modifiers=2359808]="Modifiers",tT[tT.HeritageClauses=512]="HeritageClauses",tT[tT.SingleLineTypeLiteralMembers=768]="SingleLineTypeLiteralMembers",tT[tT.MultiLineTypeLiteralMembers=32897]="MultiLineTypeLiteralMembers",tT[tT.SingleLineTupleTypeElements=528]="SingleLineTupleTypeElements",tT[tT.MultiLineTupleTypeElements=657]="MultiLineTupleTypeElements",tT[tT.UnionTypeConstituents=516]="UnionTypeConstituents",tT[tT.IntersectionTypeConstituents=520]="IntersectionTypeConstituents",tT[tT.ObjectBindingPatternElements=525136]="ObjectBindingPatternElements",tT[tT.ArrayBindingPatternElements=524880]="ArrayBindingPatternElements",tT[tT.ObjectLiteralExpressionProperties=526226]="ObjectLiteralExpressionProperties",tT[tT.ImportClauseEntries=526226]="ImportClauseEntries",tT[tT.ArrayLiteralExpressionElements=8914]="ArrayLiteralExpressionElements",tT[tT.CommaListElements=528]="CommaListElements",tT[tT.CallExpressionArguments=2576]="CallExpressionArguments",tT[tT.NewExpressionArguments=18960]="NewExpressionArguments",tT[tT.TemplateExpressionSpans=262144]="TemplateExpressionSpans",tT[tT.SingleLineBlockStatements=768]="SingleLineBlockStatements",tT[tT.MultiLineBlockStatements=129]="MultiLineBlockStatements",tT[tT.VariableDeclarationList=528]="VariableDeclarationList",tT[tT.SingleLineFunctionBodyStatements=768]="SingleLineFunctionBodyStatements",tT[tT.MultiLineFunctionBodyStatements=1]="MultiLineFunctionBodyStatements",tT[tT.ClassHeritageClauses=0]="ClassHeritageClauses",tT[tT.ClassMembers=129]="ClassMembers",tT[tT.InterfaceMembers=129]="InterfaceMembers",tT[tT.EnumMembers=145]="EnumMembers",tT[tT.CaseBlockClauses=129]="CaseBlockClauses",tT[tT.NamedImportsOrExportsElements=525136]="NamedImportsOrExportsElements",tT[tT.JsxElementOrFragmentChildren=262144]="JsxElementOrFragmentChildren",tT[tT.JsxElementAttributes=262656]="JsxElementAttributes",tT[tT.CaseOrDefaultClauseStatements=163969]="CaseOrDefaultClauseStatements",tT[tT.HeritageClauseTypes=528]="HeritageClauseTypes",tT[tT.SourceFileStatements=131073]="SourceFileStatements",tT[tT.Decorators=2146305]="Decorators",tT[tT.TypeArguments=53776]="TypeArguments",tT[tT.TypeParameters=53776]="TypeParameters",tT[tT.Parameters=2576]="Parameters",tT[tT.IndexSignatureParameters=8848]="IndexSignatureParameters",tT[tT.JSDocComment=33]="JSDocComment",ts=tT,(tx=tl||{})[tx.None=0]="None",tx[tx.TripleSlashXML=1]="TripleSlashXML",tx[tx.SingleLine=2]="SingleLine",tx[tx.MultiLine=4]="MultiLine",tx[tx.All=7]="All",tx[tx.Default=7]="Default",tl=tx,tc={reference:{args:[{name:"types",optional:!0,captureSpan:!0},{name:"lib",optional:!0,captureSpan:!0},{name:"path",optional:!0,captureSpan:!0},{name:"no-default-lib",optional:!0},{name:"resolution-mode",optional:!0}],kind:1},"amd-dependency":{args:[{name:"path"},{name:"name",optional:!0}],kind:1},"amd-module":{args:[{name:"name"}],kind:1},"ts-check":{kind:2},"ts-nocheck":{kind:2},jsx:{args:[{name:"factory"}],kind:4},jsxfrag:{args:[{name:"factory"}],kind:4},jsximportsource:{args:[{name:"factory"}],kind:4},jsxruntime:{args:[{name:"factory"}],kind:4}}}});function pQ(e){let t=5381;for(let n=0;n{var i;return null==(i=e.get(a))?void 0:i.callbacks.slice().forEach(e=>e(t,n,r))}),callbacks:[r]}),{close:()=>{let t=e.get(a);t&&_8(t.callbacks,r)&&!t.callbacks.length&&(e.delete(a),Vs(t))}}}function p8(e,t){return 0===e?0:0===t?2:1}function p6(e){return ty(e)}function p3(e){ty=e}function p5(e,t,n,r){return((null==t?void 0:t.excludeDirectories)||(null==t?void 0:t.excludeFiles))&&(Pv(e,null==t?void 0:t.excludeFiles,n,r())||Pv(e,null==t?void 0:t.excludeDirectories,n,r()))}function p7(e,t,n,r,i){return(a,o)=>{if("rename"===a){let a=o?fI(fA(e,o)):e;o&&p5(a,n,r,i)||t(a)}}}function p9({pollingWatchFileWorker:e,getModifiedTime:t,setTimeout:n,clearTimeout:r,fsWatchWorker:i,fileSystemEntryExists:a,useCaseSensitiveFileNames:s,getCurrentDirectory:l,fsSupportsRecursiveFsWatch:c,getAccessibleSortedChildDirectories:d,realpath:u,tscWatchFile:_,useNonPollingWatchers:p,tscWatchDirectory:f,inodeWatching:m,sysLog:h}){let y,g,v,b;let E=new Map,x=new Map,S=new Map,A=!1;return{watchFile:L,watchDirectory:function(e,t,i,_){return c?N(e,1,p7(e,t,_,s,l),i,500,Vo(_)):(b||(b=function({watchDirectory:e,useCaseSensitiveFileNames:t,getCurrentDirectory:n,getAccessibleSortedChildDirectories:r,fileSystemEntryExists:i,realpath:a,setTimeout:s,clearTimeout:l}){let c;let d=new Map,u=_u(),_=new Map,p=_z(!t),f=_7(t);return(t,n,r,i)=>r?m(t,i,n):e(t,n,r,i);function m(t,n,r){let a=f(t),p=d.get(a);p?p.refCount++:(p={watcher:e(t,e=>{v(e,n)||((null==n?void 0:n.synchronousWatchDirectory)?(h(a,e),g(t,a,n)):function(e,t,n,r){let a=d.get(t);if(a&&i(e,1)){let i;(i=_.get(t))?i.fileNames.push(n):_.set(t,{dirName:e,options:r,fileNames:[n]}),c&&(l(c),c=void 0),c=s(y,1e3);return}h(t,n),function e(t){if(!t)return;let n=t.childWatches;for(let r of(t.childWatches=o,n))r.close(),e(d.get(f(r.dirName)))}(a)}(t,a,e,n))},!1,n),refCount:1,childWatches:o},d.set(a,p),g(t,a,n));let m=r&&{dirName:t,callback:r};return m&&u.add(a,m),{dirName:t,close:()=>{let e=T.checkDefined(d.get(a));m&&u.remove(a,m),e.refCount--,e.refCount||(d.delete(a),Vs(e),e.childWatches.forEach(Ll))}}}function h(e,t,n){let r,i;_v(t)?r=t:i=t,u.forEach((t,a)=>{if((!i||!0!==i.get(a))&&(a===e||pn(e,a)&&e[a.length]===tb)){if(i){if(n){let e=i.get(a);e?e.push(...n):i.set(a,n.slice())}else i.set(a,!0)}else t.forEach(({callback:e})=>e(r))}})}function y(){c=void 0,p6(`sysLog:: onTimerToUpdateChildWatches:: ${_.size}`);let e=B(),t=new Map;for(;!c&&_.size;){let e=_.entries().next();T.assert(!e.done);let{value:[n,{dirName:r,options:i,fileNames:a}]}=e;_.delete(n);let o=g(r,n,i);h(n,t,o?void 0:a)}p6(`sysLog:: invokingWatchers:: Elapsed:: ${B()-e}ms:: ${_.size}`),u.forEach((e,n)=>{let r=t.get(n);r&&e.forEach(({callback:e,dirName:t})=>{_y(r)?r.forEach(e):e(t)})}),p6(`sysLog:: Elapsed:: ${B()-e}ms:: onTimerToUpdateChildWatches:: ${_.size} ${c}`)}function g(e,t,n){let s;let l=d.get(t);if(!l)return!1;let c=pu(i(e,1)?uu(r(e),t=>{let r=fk(t,e);return v(r,n)||0!==p(r,fI(a(r)))?void 0:r}):o,l.childWatches,(e,t)=>p(e,t.dirName),function(e){u(m(e,n))},Ll,u);return l.childWatches=s||o,c;function u(e){(s||(s=[])).push(e)}}function v(e,r){return uv(th,n=>!!_2(e,n)||!t&&_2(f(e),n))||p5(e,r,t,n)}}({useCaseSensitiveFileNames:s,getCurrentDirectory:l,fileSystemEntryExists:a,getAccessibleSortedChildDirectories:d,watchDirectory:w,realpath:u,setTimeout:n,clearTimeout:r})),b(e,t,i,_))}};function L(e,n,r,i){i=function(e,t){if(e&&void 0!==e.watchFile)return e;switch(_){case"PriorityPollingInterval":return{watchFile:1};case"DynamicPriorityPolling":return{watchFile:2};case"UseFsEvents":return I(4,1,e);case"UseFsEventsWithFallbackDynamicPolling":return I(4,2,e);case"UseFsEventsOnParentDirectory":t=!0;default:return t?I(5,1,e):{watchFile:4}}}(i,p);let a=T.checkDefined(i.watchFile);switch(a){case 0:return R(e,n,250,void 0);case 1:return R(e,n,r,void 0);case 2:return C()(e,n,r,void 0);case 3:return k()(e,n,void 0,void 0);case 4:return N(e,0,(r,i,a)=>{"rename"===r?(a||(a=t(e)||t_),n(e,a!==t_?0:2,a)):n(e,1,a)},!1,r,Vo(i));case 5:let o,l,c;return v||(o=_u(),l=new Map,c=_7(s),v=function(e,t,n,r){var i;let a,s=c(e);o.add(s,t);let d=fy(s)||".",u=l.get(d)||((a=N(i=fy(e)||".",1,(e,t,n)=>{if(!_v(t))return;let r=fk(t,i),a=r&&o.get(c(r));if(a)for(let e of a)e(r,1,n)},!1,500,r)).referenceCount=0,l.set(d,a),a);return u.referenceCount++,{close:()=>{1===u.referenceCount?(u.close(),l.delete(d)):u.referenceCount--,o.remove(s,t)}}}),v(e,n,r,Vo(i));default:T.assertNever(a)}}function C(){return y||(y=function(e){let t=[],n=[],r=o(250),i=o(500),a=o(2e3);return function(n,r,i){let a={fileName:n,callback:r,unchangedPolls:0,mtime:p0(e,n)};return t.push(a),u(a,i),{close:()=>{a.isClosed=!0,_5(t,a)}}};function o(e){let t=[];return t.pollingInterval=e,t.pollIndex=0,t.pollScheduled=!1,t}function s(e){e.pollIndex=c(e,e.pollingInterval,e.pollIndex,tf[e.pollingInterval]),e.length?p(e.pollingInterval):(T.assert(0===e.pollIndex),e.pollScheduled=!1)}function l(e){c(n,250,0,n.length),s(e),!e.pollScheduled&&n.length&&p(250)}function c(t,r,i,a){return p2(e,t,i,a,function(e,i,a){a?(e.unchangedPolls=0,t!==n&&(t[i]=void 0,n.push(e),_(250))):e.unchangedPolls!==tm[r]?e.unchangedPolls++:t===n?(e.unchangedPolls=1,t[i]=void 0,u(e,250)):2e3!==r&&(e.unchangedPolls++,t[i]=void 0,u(e,250===r?500:2e3))})}function d(e){switch(e){case 250:return r;case 500:return i;case 2e3:return a}}function u(e,t){d(t).push(e),_(t)}function _(e){d(e).pollScheduled||p(e)}function p(t){d(t).pollScheduled=e.setTimeout(250===t?l:s,t,d(t))}}({getModifiedTime:t,setTimeout:n}))}function k(){return g||(g=function(e){let t;let n=[],r=0;return function(t,r){let i={fileName:t,callback:r,mtime:p0(e,t)};return n.push(i),a(),{close:()=>{i.isClosed=!0,_5(n,i)}}};function i(){t=void 0,r=p2(e,n,r,tf[250]),a()}function a(){n.length&&!t&&(t=e.setTimeout(i,2e3))}}({getModifiedTime:t,setTimeout:n}))}function I(e,t,n){let r=null==n?void 0:n.fallbackPolling;return{watchFile:e,fallbackPolling:void 0===r?t:r}}function w(e,t,n,r){T.assert(!n);let i=function(e){if(e&&void 0!==e.watchDirectory)return e;switch(f){case"RecursiveDirectoryUsingFsWatchFile":return{watchDirectory:1};case"RecursiveDirectoryUsingDynamicPriorityPolling":return{watchDirectory:2};default:let t=null==e?void 0:e.fallbackPolling;return{watchDirectory:0,fallbackPolling:void 0!==t?t:void 0}}}(r),a=T.checkDefined(i.watchDirectory);switch(a){case 1:return R(e,()=>t(e),500,void 0);case 2:return C()(e,()=>t(e),500,void 0);case 3:return k()(e,()=>t(e),void 0,void 0);case 0:return N(e,1,p7(e,t,r,s,l),n,500,Vo(i));default:T.assertNever(a)}}function R(t,n,r,i){return p4(E,s,t,n,n=>e(t,n,r,i))}function N(e,n,r,o,l,c){return p4(o?S:x,s,e,r,r=>(function(e,n,r,o,s,l){let c,d;m&&(d=(c=e.substring(e.lastIndexOf(tb))).slice(tb.length));let u=a(e,n)?p():g();return{close:()=>{u&&(u.close(),u=void 0)}};function _(t){u&&(h(`sysLog:: ${e}:: Changing watcher to ${t===p?"Present":"Missing"}FileSystemEntryWatcher`),u.close(),u=t())}function p(){if(A)return h(`sysLog:: ${e}:: Defaulting to watchFile`),y();try{let t=i(e,o,m?f:r);return t.on("error",()=>{r("rename",""),_(g)}),t}catch(t){return A||(A="ENOSPC"===t.code),h(`sysLog:: ${e}:: Changing to watchFile`),y()}}function f(n,i){let a;if(i&&_Z(i,"~")&&(a=i,i=i.slice(0,i.length-1)),"rename"===n&&(!i||i===d||_Z(i,c))){let o=t(e)||t_;a&&r(n,a,o),r(n,i,o),m?_(o===t_?g:p):o===t_&&_(g)}else a&&r(n,a),r(n,i)}function y(){return L(e,(e,t,n)=>r(1===t?"change":"rename","",n),s,l)}function g(){return L(e,(n,i,a)=>{0===i&&(a||(a=t(e)||t_),a!==t_&&(r("rename","",a),_(p)))},s,l)}})(e,n,r,o,l,c))}}function fe(e){let t=e.writeFile;e.writeFile=(n,r,i)=>SD(n,r,!!i,(n,r,i)=>t.call(e,n,r,i),t=>e.createDirectory(t),t=>e.directoryExists(t))}function ft(e){tv=e}var fn=dj({"src/compiler/sys.ts"(){var e,t,r;let i;Kr(),(e=td||{})[e.Created=0]="Created",e[e.Changed=1]="Changed",e[e.Deleted=2]="Deleted",td=e,(t=tu||{})[t.High=2e3]="High",t[t.Medium=500]="Medium",t[t.Low=250]="Low",tu=t,t_=new Date(0),tf=p1(tp={Low:32,Medium:64,High:256}),tm=p1(tp),th=["/node_modules/.","/.git","/.#"],ty=_x,(r=tg||{})[r.File=0]="File",r[r.Directory=1]="Directory",tg=r,pg()&&(i=function(){let e,t;let r=/^native |^\([^)]+\)$|^(internal[\\/]|[a-zA-Z0-9_\s]+(\.js)?$)/,i=rc("fs"),a=rc("path"),o=rc("os");try{e=rc("crypto")}catch(t){e=void 0}let s="./profile.cpuprofile",l=rc("buffer").Buffer,c="linux"===ro.platform||"darwin"===ro.platform,d=o.platform(),u="win32"!==d&&"win64"!==d&&!S(ra.replace(/\w/g,e=>{let t=e.toUpperCase();return e===t?e.toLowerCase():t})),_=i.realpathSync.native?"win32"===ro.platform?function(e){return e.length<260?i.realpathSync.native(e):i.realpathSync(e)}:i.realpathSync.native:i.realpathSync,p=ra.endsWith("sys.js")?a.join(a.dirname("/"),"__fake__.js"):ra,f="win32"===ro.platform||"darwin"===ro.platform,m=_R(()=>ro.cwd()),{watchFile:h,watchDirectory:y}=p9({pollingWatchFileWorker:function(e,t,n){let r;return i.watchFile(e,{persistent:!0,interval:n},a),{close:()=>i.unwatchFile(e,a)};function a(n,i){let a=0==+i.mtime||2===r;if(0==+n.mtime){if(a)return;r=2}else if(a)r=0;else{if(+n.mtime==+i.mtime)return;r=1}t(e,r,n.mtime)}},getModifiedTime:L,setTimeout,clearTimeout,fsWatchWorker:function(e,t,n){return i.watch(e,f?{persistent:!0,recursive:!!t}:{persistent:!0},n)},useCaseSensitiveFileNames:u,getCurrentDirectory:m,fileSystemEntryExists:x,fsSupportsRecursiveFsWatch:f,getAccessibleSortedChildDirectories:e=>T(e).directories,realpath:A,tscWatchFile:ro.env.TSC_WATCHFILE,useNonPollingWatchers:ro.env.TSC_NONPOLLING_WATCHER,tscWatchDirectory:ro.env.TSC_WATCHDIRECTORY,inodeWatching:c,sysLog:p6}),g={args:ro.argv.slice(2),newLine:o.EOL,useCaseSensitiveFileNames:u,write(e){ro.stdout.write(e)},getWidthOfTerminal:()=>ro.stdout.columns,writeOutputIsTTY:()=>ro.stdout.isTTY,readFile:function(e,t){H.logStartReadFile(e);let n=function(e,t){let n;try{n=i.readFileSync(e)}catch(e){return}let r=n.length;if(r>=2&&254===n[0]&&255===n[1]){r&=-2;for(let e=0;e=2&&255===n[0]&&254===n[1]?n.toString("utf16le",2):r>=3&&239===n[0]&&187===n[1]&&191===n[2]?n.toString("utf8",3):n.toString("utf8")}(e,0);return H.logStopReadFile(),n},writeFile:function(e,t,n){let r;H.logEvent("WriteFile: "+e),n&&(t="\uFEFF"+t);try{r=i.openSync(e,"w"),i.writeSync(r,t,void 0,"utf8")}finally{void 0!==r&&i.closeSync(r)}},watchFile:h,watchDirectory:y,resolvePath:e=>a.resolve(e),fileExists:S,directoryExists:function(e){return x(e,1)},createDirectory(e){if(!g.directoryExists(e))try{i.mkdirSync(e)}catch(e){if("EEXIST"!==e.code)throw e}},getExecutingFilePath:()=>p,getCurrentDirectory:m,getDirectories:function(e){return T(e).directories.slice()},getEnvironmentVariable:e=>ro.env[e]||"",readDirectory:function(e,t,n,r,i){return CW(e,t,n,r,u,ro.cwd(),i,T,A)},getModifiedTime:L,setModifiedTime:function(e,t){try{i.utimesSync(e,t,t)}catch(e){return}},deleteFile:function(e){try{return i.unlinkSync(e)}catch(e){return}},createHash:e?C:pQ,createSHA256Hash:e?C:void 0,getMemoryUsage:()=>(n.g.gc&&n.g.gc(),ro.memoryUsage().heapUsed),getFileSize(e){try{let t=v(e);if(null==t?void 0:t.isFile())return t.size}catch(e){}return 0},exit(e){b(()=>ro.exit(e))},enableCPUProfiler:function(e,n){if(t)return n(),!1;let r=rc("inspector");if(!r||!r.Session)return n(),!1;let i=new r.Session;return i.connect(),i.post("Profiler.enable",()=>{i.post("Profiler.start",()=>{t=i,s=e,n()})}),!0},disableCPUProfiler:b,cpuProfilingEnabled:()=>!!t||d6(ro.execArgv,"--cpu-prof")||d6(ro.execArgv,"--prof"),realpath:A,debugMode:!!ro.env.NODE_INSPECTOR_IPC||!!ro.env.VSCODE_INSPECTOR_OPTIONS||uv(ro.execArgv,e=>/^--(inspect|debug)(-brk)?(=\d+)?$/i.test(e)),tryEnableSourceMapsForHost(){try{rc("source-map-support").install()}catch(e){}},setTimeout,clearTimeout,clearScreen:()=>{ro.stdout.write("\x1bc")},setBlocking:()=>{ro.stdout&&ro.stdout._handle&&ro.stdout._handle.setBlocking&&ro.stdout._handle.setBlocking(!0)},bufferFrom:E,base64decode:e=>E(e,"base64").toString("utf8"),base64encode:e=>E(e).toString("base64"),require:(e,t)=>{try{let n=P5(t,e,g);return{module:rc(n),modulePath:n,error:void 0}}catch(e){return{module:void 0,modulePath:void 0,error:e}}}};return g;function v(e){return i.statSync(e,{throwIfNoEntry:!1})}function b(e){if(!t||"stopping"===t)return e(),!1;{let n=t;return t.post("Profiler.stop",(o,{profile:l})=>{var c;if(!o){try{(null==(c=v(s))?void 0:c.isDirectory())&&(s=a.join(s,`${new Date().toISOString().replace(/:/g,"-")}+P${ro.pid}.cpuprofile`))}catch(e){}try{i.mkdirSync(a.dirname(s),{recursive:!0})}catch(e){}i.writeFileSync(s,JSON.stringify(function(e){let t=0,n=new Map,i=fx(a.dirname(p)),o=`file://${1===fh(i)?"":"/"}${i}`;for(let i of e.nodes)if(i.callFrame.url){let e=fx(i.callFrame.url);fU(o,e,u)?i.callFrame.url=fz(o,e,o,_7(u),!0):!r.test(e)&&(i.callFrame.url=(n.has(e)?n:n.set(e,`external${t}.js`)).get(e),t++)}return e}(l)))}t=void 0,n.disconnect(),e()}),t="stopping",!0}}function E(e,t){return l.from&&l.from!==Int8Array.from?l.from(e,t):new l(e,t)}function T(e){H.logEvent("ReadDir: "+(e||"."));try{let t=i.readdirSync(e||".",{withFileTypes:!0}),n=[],r=[];for(let i of t){let t;let a="string"==typeof i?i:i.name;if("."!==a&&".."!==a){if("string"==typeof i||i.isSymbolicLink()){let n=fA(e,a);try{if(!(t=v(n)))continue}catch(e){continue}}else t=i;t.isFile()?n.push(a):t.isDirectory()&&r.push(a)}}return n.sort(),r.sort(),{files:n,directories:r}}catch(e){return nR}}function x(e,t){let n=Error.stackTraceLimit;Error.stackTraceLimit=0;try{let n=v(e);if(!n)return!1;switch(t){case 0:return n.isFile();case 1:return n.isDirectory();default:return!1}}catch(e){return!1}finally{Error.stackTraceLimit=n}}function S(e){return x(e,0)}function A(e){try{return _(e)}catch(t){return e}}function L(e){var t;let n=Error.stackTraceLimit;Error.stackTraceLimit=0;try{return null==(t=v(e))?void 0:t.mtime}catch(e){return}finally{Error.stackTraceLimit=n}}function C(t){let n=e.createHash("sha256");return n.update(t),n.digest("hex")}}()),i&&fe(i),(tv=i)&&tv.getEnvironmentVariable&&(function(e){if(!e.getEnvironmentVariable)return;let t=function(e,t){let r=n(e);if(r)return i("Low"),i("Medium"),i("High"),!0;return!1;function i(e){t[e]=r[e]||t[e]}}("TSC_WATCH_POLLINGINTERVAL",tu);function n(t){let n;return r("Low"),r("Medium"),r("High"),n;function r(r){let i=e.getEnvironmentVariable(`${t}_${r.toUpperCase()}`);i&&((n||(n={}))[r]=Number(i))}}function r(e,r){let i=n(e);return(t||i)&&p1(i?{...r,...i}:r)}tf=r("TSC_WATCH_POLLINGCHUNKSIZE",tp)||tf,tm=r("TSC_WATCH_UNCHANGEDPOLLTHRESHOLDS",tp)||tm}(tv),T.setAssertionLevel(/^development$/i.test(tv.getEnvironmentVariable("NODE_ENV"))?1:0)),tv&&tv.debugMode&&(T.isDebugging=!0)}});function fr(e){return 47===e||92===e}function fi(e){return 0>fm(e)}function fa(e){return fm(e)>0}function fo(e){let t=fm(e);return t>0&&t===e.length}function fs(e){return 0!==fm(e)}function fl(e){return/^\.\.?($|[\\/])/.test(e)}function fc(e){return!fs(e)&&!fl(e)}function fd(e){return _2(fg(e),".")}function fu(e,t){return e.length>t.length&&_Z(e,t)}function f_(e,t){for(let n of t)if(fu(e,n))return!0;return!1}function fp(e){return e.length>0&&fr(e.charCodeAt(e.length-1))}function ff(e){return e>=97&&e<=122||e>=65&&e<=90}function fm(e){if(!e)return 0;let t=e.charCodeAt(0);if(47===t||92===t){if(e.charCodeAt(1)!==t)return 1;let n=e.indexOf(47===t?tb:tE,2);return n<0?e.length:n+1}if(ff(t)&&58===e.charCodeAt(1)){let t=e.charCodeAt(2);if(47===t||92===t)return 3;if(2===e.length)return 2}let n=e.indexOf(tT);if(-1!==n){let t=n+tT.length,r=e.indexOf(tb,t);if(-1!==r){let i=e.slice(0,n),a=e.slice(t,r);if("file"===i&&(""===a||"localhost"===a)&&ff(e.charCodeAt(r+1))){let t=function(e,t){let n=e.charCodeAt(t);if(58===n)return t+1;if(37===n&&51===e.charCodeAt(t+1)){let n=e.charCodeAt(t+2);if(97===n||65===n)return t+3}return -1}(e,r+2);if(-1!==t){if(47===e.charCodeAt(t))return~(t+1);if(t===e.length)return~t}}return~(r+1)}return~e.length}return 0}function fh(e){let t=fm(e);return t<0?~t:t}function fy(e){let t=fh(e=fx(e));return t===e.length?e:(e=fN(e)).slice(0,Math.max(t,e.lastIndexOf(tb)))}function fg(e,t,n){if(fh(e=fx(e))===e.length)return"";let r=(e=fN(e)).slice(Math.max(fh(e),e.lastIndexOf(tb)+1)),i=void 0!==t&&void 0!==n?fb(r,t,n):void 0;return i?r.slice(0,r.length-i.length):r}function fv(e,t,n){if(pn(t,".")||(t="."+t),e.length>=t.length&&46===e.charCodeAt(e.length-t.length)){let r=e.slice(e.length-t.length);if(n(r,t))return r}}function fb(e,t,n){if(t)return function(e,t,n){if("string"==typeof t)return fv(e,t,n)||"";for(let r of t){let t=fv(e,r,n);if(t)return t}return""}(fN(e),t,n?_F:_G);let r=fg(e),i=r.lastIndexOf(".");return i>=0?r.substring(i):""}function fE(e,t=""){var n,r;let i,a;return n=e=fA(t,e),r=fh(e),i=n.substring(0,r),(a=n.substring(r).split(tb)).length&&!uJ(a)&&a.pop(),[i,...a]}function fT(e){return 0===e.length?"":(e[0]&&fD(e[0]))+e.slice(1).join(tb)}function fx(e){return -1!==e.indexOf("\\")?e.replace(tx,tb):e}function fS(e){if(!uv(e))return[];let t=[e[0]];for(let n=1;n1){if(".."!==t[t.length-1]){t.pop();continue}}else if(t[0])continue}t.push(r)}}return t}function fA(e,...t){for(let n of(e&&(e=fx(e)),t))n&&(n=fx(n),e=e&&0===fh(n)?fD(e)+n:n);return e}function fL(e,...t){return fI(uv(t)?fA(e,...t):fx(e))}function fC(e,t){return fS(fE(e,t))}function fk(e,t){return fT(fC(e,t))}function fI(e){if(e=fx(e),!tS.test(e))return e;let t=e.replace(/\/\.\//g,"/").replace(/^\.\//,"");if(t!==e&&(e=t,!tS.test(e)))return e;let n=fT(fS(fE(e)));return n&&fp(e)?fD(n):n}function fw(e,t){var n;return 0===(n=fC(e,t)).length?"":n.slice(1).join(tb)}function fR(e,t,n){return n(fa(e)?fI(e):fk(e,t))}function fN(e){return fp(e)?e.substr(0,e.length-1):e}function fD(e){return fp(e)?e:e+tb}function fO(e){return fs(e)||fl(e)?e:"./"+e}function fM(e,t,n,r){let i=void 0!==n&&void 0!==r?fb(e,n,r):fb(e);return i?e.slice(0,e.length-i.length)+(pn(t,".")?t:"."+t):e}function fP(e,t,n){if(e===t)return 0;if(void 0===e)return -1;if(void 0===t)return 1;let r=e.substring(0,fh(e)),i=t.substring(0,fh(t)),a=_H(r,i);if(0!==a)return a;let o=e.substring(r.length),s=t.substring(i.length);if(!tS.test(o)&&!tS.test(s))return n(o,s);let l=fS(fE(e)),c=fS(fE(t)),d=Math.min(l.length,c.length);for(let e=1;e0==fh(t)>0,"Paths must either both be absolute or both be relative");let r="function"==typeof n?n:_C;return fT(fj(e,t,"boolean"==typeof n&&n?_F:_G,r))}function fK(e,t,n){return fa(e)?fz(t,e,t,n,!1):e}function fW(e,t,n){return fO(fH(fy(e),t,n))}function fz(e,t,n,r,i){let a=fj(fL(n,e),fL(n,t),_G,r),o=a[0];if(i&&fa(o)){let e=o.charAt(0)===tb?"file://":"file:///";a[0]=e+o}return fT(a)}function fq(e,t){for(;;){let n=t(e);if(void 0!==n)return n;let r=fy(e);if(r===e)return;e=r}}function fJ(e){return _Z(e,"/node_modules")}var fX=dj({"src/compiler/path.ts"(){Kr(),tb="/",tE="\\",tT="://",tx=/\\/g,tS=/(?:\/\/)|(?:^|\/)\.\.?(?:$|\/)/}});function fY(e,t,n,r,i,a,o){return{code:e,category:t,key:n,message:r,reportsUnnecessary:i,elidedInCompatabilityPyramid:a,reportsDeprecated:o}}var f$=dj({"src/compiler/diagnosticInformationMap.generated.ts"(){p$(),tA={Unterminated_string_literal:fY(1002,1,"Unterminated_string_literal_1002","Unterminated string literal."),Identifier_expected:fY(1003,1,"Identifier_expected_1003","Identifier expected."),_0_expected:fY(1005,1,"_0_expected_1005","'{0}' expected."),A_file_cannot_have_a_reference_to_itself:fY(1006,1,"A_file_cannot_have_a_reference_to_itself_1006","A file cannot have a reference to itself."),The_parser_expected_to_find_a_1_to_match_the_0_token_here:fY(1007,1,"The_parser_expected_to_find_a_1_to_match_the_0_token_here_1007","The parser expected to find a '{1}' to match the '{0}' token here."),Trailing_comma_not_allowed:fY(1009,1,"Trailing_comma_not_allowed_1009","Trailing comma not allowed."),Asterisk_Slash_expected:fY(1010,1,"Asterisk_Slash_expected_1010","'*/' expected."),An_element_access_expression_should_take_an_argument:fY(1011,1,"An_element_access_expression_should_take_an_argument_1011","An element access expression should take an argument."),Unexpected_token:fY(1012,1,"Unexpected_token_1012","Unexpected token."),A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma:fY(1013,1,"A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma_1013","A rest parameter or binding pattern may not have a trailing comma."),A_rest_parameter_must_be_last_in_a_parameter_list:fY(1014,1,"A_rest_parameter_must_be_last_in_a_parameter_list_1014","A rest parameter must be last in a parameter list."),Parameter_cannot_have_question_mark_and_initializer:fY(1015,1,"Parameter_cannot_have_question_mark_and_initializer_1015","Parameter cannot have question mark and initializer."),A_required_parameter_cannot_follow_an_optional_parameter:fY(1016,1,"A_required_parameter_cannot_follow_an_optional_parameter_1016","A required parameter cannot follow an optional parameter."),An_index_signature_cannot_have_a_rest_parameter:fY(1017,1,"An_index_signature_cannot_have_a_rest_parameter_1017","An index signature cannot have a rest parameter."),An_index_signature_parameter_cannot_have_an_accessibility_modifier:fY(1018,1,"An_index_signature_parameter_cannot_have_an_accessibility_modifier_1018","An index signature parameter cannot have an accessibility modifier."),An_index_signature_parameter_cannot_have_a_question_mark:fY(1019,1,"An_index_signature_parameter_cannot_have_a_question_mark_1019","An index signature parameter cannot have a question mark."),An_index_signature_parameter_cannot_have_an_initializer:fY(1020,1,"An_index_signature_parameter_cannot_have_an_initializer_1020","An index signature parameter cannot have an initializer."),An_index_signature_must_have_a_type_annotation:fY(1021,1,"An_index_signature_must_have_a_type_annotation_1021","An index signature must have a type annotation."),An_index_signature_parameter_must_have_a_type_annotation:fY(1022,1,"An_index_signature_parameter_must_have_a_type_annotation_1022","An index signature parameter must have a type annotation."),readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature:fY(1024,1,"readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature_1024","'readonly' modifier can only appear on a property declaration or index signature."),An_index_signature_cannot_have_a_trailing_comma:fY(1025,1,"An_index_signature_cannot_have_a_trailing_comma_1025","An index signature cannot have a trailing comma."),Accessibility_modifier_already_seen:fY(1028,1,"Accessibility_modifier_already_seen_1028","Accessibility modifier already seen."),_0_modifier_must_precede_1_modifier:fY(1029,1,"_0_modifier_must_precede_1_modifier_1029","'{0}' modifier must precede '{1}' modifier."),_0_modifier_already_seen:fY(1030,1,"_0_modifier_already_seen_1030","'{0}' modifier already seen."),_0_modifier_cannot_appear_on_class_elements_of_this_kind:fY(1031,1,"_0_modifier_cannot_appear_on_class_elements_of_this_kind_1031","'{0}' modifier cannot appear on class elements of this kind."),super_must_be_followed_by_an_argument_list_or_member_access:fY(1034,1,"super_must_be_followed_by_an_argument_list_or_member_access_1034","'super' must be followed by an argument list or member access."),Only_ambient_modules_can_use_quoted_names:fY(1035,1,"Only_ambient_modules_can_use_quoted_names_1035","Only ambient modules can use quoted names."),Statements_are_not_allowed_in_ambient_contexts:fY(1036,1,"Statements_are_not_allowed_in_ambient_contexts_1036","Statements are not allowed in ambient contexts."),A_declare_modifier_cannot_be_used_in_an_already_ambient_context:fY(1038,1,"A_declare_modifier_cannot_be_used_in_an_already_ambient_context_1038","A 'declare' modifier cannot be used in an already ambient context."),Initializers_are_not_allowed_in_ambient_contexts:fY(1039,1,"Initializers_are_not_allowed_in_ambient_contexts_1039","Initializers are not allowed in ambient contexts."),_0_modifier_cannot_be_used_in_an_ambient_context:fY(1040,1,"_0_modifier_cannot_be_used_in_an_ambient_context_1040","'{0}' modifier cannot be used in an ambient context."),_0_modifier_cannot_be_used_here:fY(1042,1,"_0_modifier_cannot_be_used_here_1042","'{0}' modifier cannot be used here."),_0_modifier_cannot_appear_on_a_module_or_namespace_element:fY(1044,1,"_0_modifier_cannot_appear_on_a_module_or_namespace_element_1044","'{0}' modifier cannot appear on a module or namespace element."),Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier:fY(1046,1,"Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier_1046","Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier."),A_rest_parameter_cannot_be_optional:fY(1047,1,"A_rest_parameter_cannot_be_optional_1047","A rest parameter cannot be optional."),A_rest_parameter_cannot_have_an_initializer:fY(1048,1,"A_rest_parameter_cannot_have_an_initializer_1048","A rest parameter cannot have an initializer."),A_set_accessor_must_have_exactly_one_parameter:fY(1049,1,"A_set_accessor_must_have_exactly_one_parameter_1049","A 'set' accessor must have exactly one parameter."),A_set_accessor_cannot_have_an_optional_parameter:fY(1051,1,"A_set_accessor_cannot_have_an_optional_parameter_1051","A 'set' accessor cannot have an optional parameter."),A_set_accessor_parameter_cannot_have_an_initializer:fY(1052,1,"A_set_accessor_parameter_cannot_have_an_initializer_1052","A 'set' accessor parameter cannot have an initializer."),A_set_accessor_cannot_have_rest_parameter:fY(1053,1,"A_set_accessor_cannot_have_rest_parameter_1053","A 'set' accessor cannot have rest parameter."),A_get_accessor_cannot_have_parameters:fY(1054,1,"A_get_accessor_cannot_have_parameters_1054","A 'get' accessor cannot have parameters."),Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value:fY(1055,1,"Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Prom_1055","Type '{0}' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value."),Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher:fY(1056,1,"Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056","Accessors are only available when targeting ECMAScript 5 and higher."),The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:fY(1058,1,"The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_t_1058","The return type of an async function must either be a valid promise or must not contain a callable 'then' member."),A_promise_must_have_a_then_method:fY(1059,1,"A_promise_must_have_a_then_method_1059","A promise must have a 'then' method."),The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback:fY(1060,1,"The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback_1060","The first parameter of the 'then' method of a promise must be a callback."),Enum_member_must_have_initializer:fY(1061,1,"Enum_member_must_have_initializer_1061","Enum member must have initializer."),Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method:fY(1062,1,"Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062","Type is referenced directly or indirectly in the fulfillment callback of its own 'then' method."),An_export_assignment_cannot_be_used_in_a_namespace:fY(1063,1,"An_export_assignment_cannot_be_used_in_a_namespace_1063","An export assignment cannot be used in a namespace."),The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0:fY(1064,1,"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_wri_1064","The return type of an async function or method must be the global Promise type. Did you mean to write 'Promise<{0}>'?"),In_ambient_enum_declarations_member_initializer_must_be_constant_expression:fY(1066,1,"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066","In ambient enum declarations member initializer must be constant expression."),Unexpected_token_A_constructor_method_accessor_or_property_was_expected:fY(1068,1,"Unexpected_token_A_constructor_method_accessor_or_property_was_expected_1068","Unexpected token. A constructor, method, accessor, or property was expected."),Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces:fY(1069,1,"Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces_1069","Unexpected token. A type parameter name was expected without curly braces."),_0_modifier_cannot_appear_on_a_type_member:fY(1070,1,"_0_modifier_cannot_appear_on_a_type_member_1070","'{0}' modifier cannot appear on a type member."),_0_modifier_cannot_appear_on_an_index_signature:fY(1071,1,"_0_modifier_cannot_appear_on_an_index_signature_1071","'{0}' modifier cannot appear on an index signature."),A_0_modifier_cannot_be_used_with_an_import_declaration:fY(1079,1,"A_0_modifier_cannot_be_used_with_an_import_declaration_1079","A '{0}' modifier cannot be used with an import declaration."),Invalid_reference_directive_syntax:fY(1084,1,"Invalid_reference_directive_syntax_1084","Invalid 'reference' directive syntax."),Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:fY(1085,1,"Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0_1085","Octal literals are not available when targeting ECMAScript 5 and higher. Use the syntax '{0}'."),_0_modifier_cannot_appear_on_a_constructor_declaration:fY(1089,1,"_0_modifier_cannot_appear_on_a_constructor_declaration_1089","'{0}' modifier cannot appear on a constructor declaration."),_0_modifier_cannot_appear_on_a_parameter:fY(1090,1,"_0_modifier_cannot_appear_on_a_parameter_1090","'{0}' modifier cannot appear on a parameter."),Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:fY(1091,1,"Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement_1091","Only a single variable declaration is allowed in a 'for...in' statement."),Type_parameters_cannot_appear_on_a_constructor_declaration:fY(1092,1,"Type_parameters_cannot_appear_on_a_constructor_declaration_1092","Type parameters cannot appear on a constructor declaration."),Type_annotation_cannot_appear_on_a_constructor_declaration:fY(1093,1,"Type_annotation_cannot_appear_on_a_constructor_declaration_1093","Type annotation cannot appear on a constructor declaration."),An_accessor_cannot_have_type_parameters:fY(1094,1,"An_accessor_cannot_have_type_parameters_1094","An accessor cannot have type parameters."),A_set_accessor_cannot_have_a_return_type_annotation:fY(1095,1,"A_set_accessor_cannot_have_a_return_type_annotation_1095","A 'set' accessor cannot have a return type annotation."),An_index_signature_must_have_exactly_one_parameter:fY(1096,1,"An_index_signature_must_have_exactly_one_parameter_1096","An index signature must have exactly one parameter."),_0_list_cannot_be_empty:fY(1097,1,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:fY(1098,1,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:fY(1099,1,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:fY(1100,1,"Invalid_use_of_0_in_strict_mode_1100","Invalid use of '{0}' in strict mode."),with_statements_are_not_allowed_in_strict_mode:fY(1101,1,"with_statements_are_not_allowed_in_strict_mode_1101","'with' statements are not allowed in strict mode."),delete_cannot_be_called_on_an_identifier_in_strict_mode:fY(1102,1,"delete_cannot_be_called_on_an_identifier_in_strict_mode_1102","'delete' cannot be called on an identifier in strict mode."),for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:fY(1103,1,"for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1103","'for await' loops are only allowed within async functions and at the top levels of modules."),A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement:fY(1104,1,"A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement_1104","A 'continue' statement can only be used within an enclosing iteration statement."),A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:fY(1105,1,"A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105","A 'break' statement can only be used within an enclosing iteration or switch statement."),The_left_hand_side_of_a_for_of_statement_may_not_be_async:fY(1106,1,"The_left_hand_side_of_a_for_of_statement_may_not_be_async_1106","The left-hand side of a 'for...of' statement may not be 'async'."),Jump_target_cannot_cross_function_boundary:fY(1107,1,"Jump_target_cannot_cross_function_boundary_1107","Jump target cannot cross function boundary."),A_return_statement_can_only_be_used_within_a_function_body:fY(1108,1,"A_return_statement_can_only_be_used_within_a_function_body_1108","A 'return' statement can only be used within a function body."),Expression_expected:fY(1109,1,"Expression_expected_1109","Expression expected."),Type_expected:fY(1110,1,"Type_expected_1110","Type expected."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:fY(1113,1,"A_default_clause_cannot_appear_more_than_once_in_a_switch_statement_1113","A 'default' clause cannot appear more than once in a 'switch' statement."),Duplicate_label_0:fY(1114,1,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:fY(1115,1,"A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement_1115","A 'continue' statement can only jump to a label of an enclosing iteration statement."),A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:fY(1116,1,"A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement_1116","A 'break' statement can only jump to a label of an enclosing statement."),An_object_literal_cannot_have_multiple_properties_with_the_same_name:fY(1117,1,"An_object_literal_cannot_have_multiple_properties_with_the_same_name_1117","An object literal cannot have multiple properties with the same name."),An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name:fY(1118,1,"An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name_1118","An object literal cannot have multiple get/set accessors with the same name."),An_object_literal_cannot_have_property_and_accessor_with_the_same_name:fY(1119,1,"An_object_literal_cannot_have_property_and_accessor_with_the_same_name_1119","An object literal cannot have property and accessor with the same name."),An_export_assignment_cannot_have_modifiers:fY(1120,1,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_in_strict_mode:fY(1121,1,"Octal_literals_are_not_allowed_in_strict_mode_1121","Octal literals are not allowed in strict mode."),Variable_declaration_list_cannot_be_empty:fY(1123,1,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:fY(1124,1,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:fY(1125,1,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:fY(1126,1,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:fY(1127,1,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:fY(1128,1,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:fY(1129,1,"Statement_expected_1129","Statement expected."),case_or_default_expected:fY(1130,1,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:fY(1131,1,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:fY(1132,1,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:fY(1134,1,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:fY(1135,1,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:fY(1136,1,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:fY(1137,1,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:fY(1138,1,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:fY(1139,1,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:fY(1140,1,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:fY(1141,1,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:fY(1142,1,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:fY(1144,1,"or_expected_1144","'{' or ';' expected."),or_JSX_element_expected:fY(1145,1,"or_JSX_element_expected_1145","'{' or JSX element expected."),Declaration_expected:fY(1146,1,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:fY(1147,1,"Import_declarations_in_a_namespace_cannot_reference_a_module_1147","Import declarations in a namespace cannot reference a module."),Cannot_use_imports_exports_or_module_augmentations_when_module_is_none:fY(1148,1,"Cannot_use_imports_exports_or_module_augmentations_when_module_is_none_1148","Cannot use imports, exports, or module augmentations when '--module' is 'none'."),File_name_0_differs_from_already_included_file_name_1_only_in_casing:fY(1149,1,"File_name_0_differs_from_already_included_file_name_1_only_in_casing_1149","File name '{0}' differs from already included file name '{1}' only in casing."),const_declarations_must_be_initialized:fY(1155,1,"const_declarations_must_be_initialized_1155","'const' declarations must be initialized."),const_declarations_can_only_be_declared_inside_a_block:fY(1156,1,"const_declarations_can_only_be_declared_inside_a_block_1156","'const' declarations can only be declared inside a block."),let_declarations_can_only_be_declared_inside_a_block:fY(1157,1,"let_declarations_can_only_be_declared_inside_a_block_1157","'let' declarations can only be declared inside a block."),Unterminated_template_literal:fY(1160,1,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:fY(1161,1,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:fY(1162,1,"An_object_member_cannot_be_declared_optional_1162","An object member cannot be declared optional."),A_yield_expression_is_only_allowed_in_a_generator_body:fY(1163,1,"A_yield_expression_is_only_allowed_in_a_generator_body_1163","A 'yield' expression is only allowed in a generator body."),Computed_property_names_are_not_allowed_in_enums:fY(1164,1,"Computed_property_names_are_not_allowed_in_enums_1164","Computed property names are not allowed in enums."),A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:fY(1165,1,"A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165","A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type:fY(1166,1,"A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_1166","A computed property name in a class property declaration must have a simple literal type or a 'unique symbol' type."),A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:fY(1168,1,"A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_ty_1168","A computed property name in a method overload must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:fY(1169,1,"A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169","A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:fY(1170,1,"A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type__1170","A computed property name in a type literal must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_comma_expression_is_not_allowed_in_a_computed_property_name:fY(1171,1,"A_comma_expression_is_not_allowed_in_a_computed_property_name_1171","A comma expression is not allowed in a computed property name."),extends_clause_already_seen:fY(1172,1,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:fY(1173,1,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:fY(1174,1,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:fY(1175,1,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:fY(1176,1,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:fY(1177,1,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:fY(1178,1,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:fY(1179,1,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:fY(1180,1,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:fY(1181,1,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:fY(1182,1,"A_destructuring_declaration_must_have_an_initializer_1182","A destructuring declaration must have an initializer."),An_implementation_cannot_be_declared_in_ambient_contexts:fY(1183,1,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:fY(1184,1,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:fY(1185,1,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:fY(1186,1,"A_rest_element_cannot_have_an_initializer_1186","A rest element cannot have an initializer."),A_parameter_property_may_not_be_declared_using_a_binding_pattern:fY(1187,1,"A_parameter_property_may_not_be_declared_using_a_binding_pattern_1187","A parameter property may not be declared using a binding pattern."),Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement:fY(1188,1,"Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement_1188","Only a single variable declaration is allowed in a 'for...of' statement."),The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:fY(1189,1,"The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer_1189","The variable declaration of a 'for...in' statement cannot have an initializer."),The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer:fY(1190,1,"The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer_1190","The variable declaration of a 'for...of' statement cannot have an initializer."),An_import_declaration_cannot_have_modifiers:fY(1191,1,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:fY(1192,1,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:fY(1193,1,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:fY(1194,1,"Export_declarations_are_not_permitted_in_a_namespace_1194","Export declarations are not permitted in a namespace."),export_Asterisk_does_not_re_export_a_default:fY(1195,1,"export_Asterisk_does_not_re_export_a_default_1195","'export *' does not re-export a default."),Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified:fY(1196,1,"Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified_1196","Catch clause variable type annotation must be 'any' or 'unknown' if specified."),Catch_clause_variable_cannot_have_an_initializer:fY(1197,1,"Catch_clause_variable_cannot_have_an_initializer_1197","Catch clause variable cannot have an initializer."),An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive:fY(1198,1,"An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198","An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive."),Unterminated_Unicode_escape_sequence:fY(1199,1,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:fY(1200,1,"Line_terminator_not_permitted_before_arrow_1200","Line terminator not permitted before arrow."),Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead:fY(1202,1,"Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_1202","Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from \"mod\"', 'import {a} from \"mod\"', 'import d from \"mod\"', or another module format instead."),Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead:fY(1203,1,"Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203","Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead."),Re_exporting_a_type_when_0_is_enabled_requires_using_export_type:fY(1205,1,"Re_exporting_a_type_when_0_is_enabled_requires_using_export_type_1205","Re-exporting a type when '{0}' is enabled requires using 'export type'."),Decorators_are_not_valid_here:fY(1206,1,"Decorators_are_not_valid_here_1206","Decorators are not valid here."),Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name:fY(1207,1,"Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name_1207","Decorators cannot be applied to multiple get/set accessors of the same name."),Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0:fY(1209,1,"Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0_1209","Invalid optional chain from new expression. Did you mean to call '{0}()'?"),Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode:fY(1210,1,"Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of__1210","Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of '{0}'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode."),A_class_declaration_without_the_default_modifier_must_have_a_name:fY(1211,1,"A_class_declaration_without_the_default_modifier_must_have_a_name_1211","A class declaration without the 'default' modifier must have a name."),Identifier_expected_0_is_a_reserved_word_in_strict_mode:fY(1212,1,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212","Identifier expected. '{0}' is a reserved word in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:fY(1213,1,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_stric_1213","Identifier expected. '{0}' is a reserved word in strict mode. Class definitions are automatically in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:fY(1214,1,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode_1214","Identifier expected. '{0}' is a reserved word in strict mode. Modules are automatically in strict mode."),Invalid_use_of_0_Modules_are_automatically_in_strict_mode:fY(1215,1,"Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215","Invalid use of '{0}'. Modules are automatically in strict mode."),Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules:fY(1216,1,"Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules_1216","Identifier expected. '__esModule' is reserved as an exported marker when transforming ECMAScript modules."),Export_assignment_is_not_supported_when_module_flag_is_system:fY(1218,1,"Export_assignment_is_not_supported_when_module_flag_is_system_1218","Export assignment is not supported when '--module' flag is 'system'."),Generators_are_not_allowed_in_an_ambient_context:fY(1221,1,"Generators_are_not_allowed_in_an_ambient_context_1221","Generators are not allowed in an ambient context."),An_overload_signature_cannot_be_declared_as_a_generator:fY(1222,1,"An_overload_signature_cannot_be_declared_as_a_generator_1222","An overload signature cannot be declared as a generator."),_0_tag_already_specified:fY(1223,1,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:fY(1224,1,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:fY(1225,1,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:fY(1226,1,"Type_predicate_0_is_not_assignable_to_1_1226","Type predicate '{0}' is not assignable to '{1}'."),Parameter_0_is_not_in_the_same_position_as_parameter_1:fY(1227,1,"Parameter_0_is_not_in_the_same_position_as_parameter_1_1227","Parameter '{0}' is not in the same position as parameter '{1}'."),A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods:fY(1228,1,"A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods_1228","A type predicate is only allowed in return type position for functions and methods."),A_type_predicate_cannot_reference_a_rest_parameter:fY(1229,1,"A_type_predicate_cannot_reference_a_rest_parameter_1229","A type predicate cannot reference a rest parameter."),A_type_predicate_cannot_reference_element_0_in_a_binding_pattern:fY(1230,1,"A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230","A type predicate cannot reference element '{0}' in a binding pattern."),An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration:fY(1231,1,"An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration_1231","An export assignment must be at the top level of a file or module declaration."),An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module:fY(1232,1,"An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1232","An import declaration can only be used at the top level of a namespace or module."),An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module:fY(1233,1,"An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1233","An export declaration can only be used at the top level of a namespace or module."),An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:fY(1234,1,"An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file_1234","An ambient module declaration is only allowed at the top level in a file."),A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module:fY(1235,1,"A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module_1235","A namespace declaration is only allowed at the top level of a namespace or module."),The_return_type_of_a_property_decorator_function_must_be_either_void_or_any:fY(1236,1,"The_return_type_of_a_property_decorator_function_must_be_either_void_or_any_1236","The return type of a property decorator function must be either 'void' or 'any'."),The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any:fY(1237,1,"The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any_1237","The return type of a parameter decorator function must be either 'void' or 'any'."),Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression:fY(1238,1,"Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression_1238","Unable to resolve signature of class decorator when called as an expression."),Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression:fY(1239,1,"Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression_1239","Unable to resolve signature of parameter decorator when called as an expression."),Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression:fY(1240,1,"Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression_1240","Unable to resolve signature of property decorator when called as an expression."),Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression:fY(1241,1,"Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression_1241","Unable to resolve signature of method decorator when called as an expression."),abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration:fY(1242,1,"abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242","'abstract' modifier can only appear on a class, method, or property declaration."),_0_modifier_cannot_be_used_with_1_modifier:fY(1243,1,"_0_modifier_cannot_be_used_with_1_modifier_1243","'{0}' modifier cannot be used with '{1}' modifier."),Abstract_methods_can_only_appear_within_an_abstract_class:fY(1244,1,"Abstract_methods_can_only_appear_within_an_abstract_class_1244","Abstract methods can only appear within an abstract class."),Method_0_cannot_have_an_implementation_because_it_is_marked_abstract:fY(1245,1,"Method_0_cannot_have_an_implementation_because_it_is_marked_abstract_1245","Method '{0}' cannot have an implementation because it is marked abstract."),An_interface_property_cannot_have_an_initializer:fY(1246,1,"An_interface_property_cannot_have_an_initializer_1246","An interface property cannot have an initializer."),A_type_literal_property_cannot_have_an_initializer:fY(1247,1,"A_type_literal_property_cannot_have_an_initializer_1247","A type literal property cannot have an initializer."),A_class_member_cannot_have_the_0_keyword:fY(1248,1,"A_class_member_cannot_have_the_0_keyword_1248","A class member cannot have the '{0}' keyword."),A_decorator_can_only_decorate_a_method_implementation_not_an_overload:fY(1249,1,"A_decorator_can_only_decorate_a_method_implementation_not_an_overload_1249","A decorator can only decorate a method implementation, not an overload."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5:fY(1250,1,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_1250","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:fY(1251,1,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_d_1251","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:fY(1252,1,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_1252","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode."),A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference:fY(1254,1,"A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_refere_1254","A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference."),A_definite_assignment_assertion_is_not_permitted_in_this_context:fY(1255,1,"A_definite_assignment_assertion_is_not_permitted_in_this_context_1255","A definite assignment assertion '!' is not permitted in this context."),A_required_element_cannot_follow_an_optional_element:fY(1257,1,"A_required_element_cannot_follow_an_optional_element_1257","A required element cannot follow an optional element."),A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration:fY(1258,1,"A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration_1258","A default export must be at the top level of a file or module declaration."),Module_0_can_only_be_default_imported_using_the_1_flag:fY(1259,1,"Module_0_can_only_be_default_imported_using_the_1_flag_1259","Module '{0}' can only be default-imported using the '{1}' flag"),Keywords_cannot_contain_escape_characters:fY(1260,1,"Keywords_cannot_contain_escape_characters_1260","Keywords cannot contain escape characters."),Already_included_file_name_0_differs_from_file_name_1_only_in_casing:fY(1261,1,"Already_included_file_name_0_differs_from_file_name_1_only_in_casing_1261","Already included file name '{0}' differs from file name '{1}' only in casing."),Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module:fY(1262,1,"Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module_1262","Identifier expected. '{0}' is a reserved word at the top-level of a module."),Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:fY(1263,1,"Declarations_with_initializers_cannot_also_have_definite_assignment_assertions_1263","Declarations with initializers cannot also have definite assignment assertions."),Declarations_with_definite_assignment_assertions_must_also_have_type_annotations:fY(1264,1,"Declarations_with_definite_assignment_assertions_must_also_have_type_annotations_1264","Declarations with definite assignment assertions must also have type annotations."),A_rest_element_cannot_follow_another_rest_element:fY(1265,1,"A_rest_element_cannot_follow_another_rest_element_1265","A rest element cannot follow another rest element."),An_optional_element_cannot_follow_a_rest_element:fY(1266,1,"An_optional_element_cannot_follow_a_rest_element_1266","An optional element cannot follow a rest element."),Property_0_cannot_have_an_initializer_because_it_is_marked_abstract:fY(1267,1,"Property_0_cannot_have_an_initializer_because_it_is_marked_abstract_1267","Property '{0}' cannot have an initializer because it is marked abstract."),An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type:fY(1268,1,"An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type_1268","An index signature parameter type must be 'string', 'number', 'symbol', or a template literal type."),Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled:fY(1269,1,"Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled_1269","Cannot use 'export import' on a type or type-only namespace when '{0}' is enabled."),Decorator_function_return_type_0_is_not_assignable_to_type_1:fY(1270,1,"Decorator_function_return_type_0_is_not_assignable_to_type_1_1270","Decorator function return type '{0}' is not assignable to type '{1}'."),Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any:fY(1271,1,"Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any_1271","Decorator function return type is '{0}' but is expected to be 'void' or 'any'."),A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled:fY(1272,1,"A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_w_1272","A type referenced in a decorated signature must be imported with 'import type' or a namespace import when 'isolatedModules' and 'emitDecoratorMetadata' are enabled."),_0_modifier_cannot_appear_on_a_type_parameter:fY(1273,1,"_0_modifier_cannot_appear_on_a_type_parameter_1273","'{0}' modifier cannot appear on a type parameter"),_0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias:fY(1274,1,"_0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias_1274","'{0}' modifier can only appear on a type parameter of a class, interface or type alias"),accessor_modifier_can_only_appear_on_a_property_declaration:fY(1275,1,"accessor_modifier_can_only_appear_on_a_property_declaration_1275","'accessor' modifier can only appear on a property declaration."),An_accessor_property_cannot_be_declared_optional:fY(1276,1,"An_accessor_property_cannot_be_declared_optional_1276","An 'accessor' property cannot be declared optional."),_0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class:fY(1277,1,"_0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class_1277","'{0}' modifier can only appear on a type parameter of a function, method or class"),The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_0:fY(1278,1,"The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_0_1278","The runtime will invoke the decorator with {1} arguments, but the decorator expects {0}."),The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_at_least_0:fY(1279,1,"The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_at_least_0_1279","The runtime will invoke the decorator with {1} arguments, but the decorator expects at least {0}."),Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to_be_a_global_script_set_moduleDetection_to_force_or_add_an_empty_export_statement:fY(1280,1,"Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to__1280","Namespaces are not allowed in global script files when '{0}' is enabled. If this file is not intended to be a global script, set 'moduleDetection' to 'force' or add an empty 'export {}' statement."),Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead:fY(1281,1,"Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead_1281","Cannot access '{0}' from another file without qualification when '{1}' is enabled. Use '{2}' instead."),An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type:fY(1282,1,"An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers__1282","An 'export =' declaration must reference a value when 'verbatimModuleSyntax' is enabled, but '{0}' only refers to a type."),An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration:fY(1283,1,"An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolve_1283","An 'export =' declaration must reference a real value when 'verbatimModuleSyntax' is enabled, but '{0}' resolves to a type-only declaration."),An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type:fY(1284,1,"An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_1284","An 'export default' must reference a value when 'verbatimModuleSyntax' is enabled, but '{0}' only refers to a type."),An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration:fY(1285,1,"An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_1285","An 'export default' must reference a real value when 'verbatimModuleSyntax' is enabled, but '{0}' resolves to a type-only declaration."),ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled:fY(1286,1,"ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled_1286","ESM syntax is not allowed in a CommonJS module when 'verbatimModuleSyntax' is enabled."),A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled:fY(1287,1,"A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimM_1287","A top-level 'export' modifier cannot be used on value declarations in a CommonJS module when 'verbatimModuleSyntax' is enabled."),An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabled:fY(1288,1,"An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabl_1288","An import alias cannot resolve to a type or type-only declaration when 'verbatimModuleSyntax' is enabled."),with_statements_are_not_allowed_in_an_async_function_block:fY(1300,1,"with_statements_are_not_allowed_in_an_async_function_block_1300","'with' statements are not allowed in an async function block."),await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:fY(1308,1,"await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1308","'await' expressions are only allowed within async functions and at the top levels of modules."),The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level:fY(1309,1,"The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level_1309","The current file is a CommonJS module and cannot use 'await' at the top level."),Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern:fY(1312,1,"Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_1312","Did you mean to use a ':'? An '=' can only follow a property name when the containing object literal is part of a destructuring pattern."),The_body_of_an_if_statement_cannot_be_the_empty_statement:fY(1313,1,"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313","The body of an 'if' statement cannot be the empty statement."),Global_module_exports_may_only_appear_in_module_files:fY(1314,1,"Global_module_exports_may_only_appear_in_module_files_1314","Global module exports may only appear in module files."),Global_module_exports_may_only_appear_in_declaration_files:fY(1315,1,"Global_module_exports_may_only_appear_in_declaration_files_1315","Global module exports may only appear in declaration files."),Global_module_exports_may_only_appear_at_top_level:fY(1316,1,"Global_module_exports_may_only_appear_at_top_level_1316","Global module exports may only appear at top level."),A_parameter_property_cannot_be_declared_using_a_rest_parameter:fY(1317,1,"A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317","A parameter property cannot be declared using a rest parameter."),An_abstract_accessor_cannot_have_an_implementation:fY(1318,1,"An_abstract_accessor_cannot_have_an_implementation_1318","An abstract accessor cannot have an implementation."),A_default_export_can_only_be_used_in_an_ECMAScript_style_module:fY(1319,1,"A_default_export_can_only_be_used_in_an_ECMAScript_style_module_1319","A default export can only be used in an ECMAScript-style module."),Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:fY(1320,1,"Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member_1320","Type of 'await' operand must either be a valid promise or must not contain a callable 'then' member."),Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:fY(1321,1,"Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321","Type of 'yield' operand in an async generator must either be a valid promise or must not contain a callable 'then' member."),Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:fY(1322,1,"Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322","Type of iterated elements of a 'yield*' operand must either be a valid promise or must not contain a callable 'then' member."),Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node16_or_nodenext:fY(1323,1,"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd__1323","Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', or 'nodenext'."),Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_or_nodenext:fY(1324,1,"Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_or_nod_1324","Dynamic imports only support a second argument when the '--module' option is set to 'esnext', 'node16', or 'nodenext'."),Argument_of_dynamic_import_cannot_be_spread_element:fY(1325,1,"Argument_of_dynamic_import_cannot_be_spread_element_1325","Argument of dynamic import cannot be spread element."),This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments:fY(1326,1,"This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot__1326","This use of 'import' is invalid. 'import()' calls can be written, but they must have parentheses and cannot have type arguments."),String_literal_with_double_quotes_expected:fY(1327,1,"String_literal_with_double_quotes_expected_1327","String literal with double quotes expected."),Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal:fY(1328,1,"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328","Property value can only be string literal, numeric literal, 'true', 'false', 'null', object literal or array literal."),_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0:fY(1329,1,"_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write__1329","'{0}' accepts too few arguments to be used as a decorator here. Did you mean to call it first and write '@{0}()'?"),A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly:fY(1330,1,"A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly_1330","A property of an interface or type literal whose type is a 'unique symbol' type must be 'readonly'."),A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly:fY(1331,1,"A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly_1331","A property of a class whose type is a 'unique symbol' type must be both 'static' and 'readonly'."),A_variable_whose_type_is_a_unique_symbol_type_must_be_const:fY(1332,1,"A_variable_whose_type_is_a_unique_symbol_type_must_be_const_1332","A variable whose type is a 'unique symbol' type must be 'const'."),unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name:fY(1333,1,"unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name_1333","'unique symbol' types may not be used on a variable declaration with a binding name."),unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement:fY(1334,1,"unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334","'unique symbol' types are only allowed on variables in a variable statement."),unique_symbol_types_are_not_allowed_here:fY(1335,1,"unique_symbol_types_are_not_allowed_here_1335","'unique symbol' types are not allowed here."),An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead:fY(1337,1,"An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_o_1337","An index signature parameter type cannot be a literal type or generic type. Consider using a mapped object type instead."),infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type:fY(1338,1,"infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type_1338","'infer' declarations are only permitted in the 'extends' clause of a conditional type."),Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:fY(1339,1,"Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here_1339","Module '{0}' does not refer to a value, but is used as a value here."),Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0:fY(1340,1,"Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0_1340","Module '{0}' does not refer to a type, but is used as a type here. Did you mean 'typeof import('{0}')'?"),Class_constructor_may_not_be_an_accessor:fY(1341,1,"Class_constructor_may_not_be_an_accessor_1341","Class constructor may not be an accessor."),The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node16_or_nodenext:fY(1343,1,"The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system__1343","The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'."),A_label_is_not_allowed_here:fY(1344,1,"A_label_is_not_allowed_here_1344","'A label is not allowed here."),An_expression_of_type_void_cannot_be_tested_for_truthiness:fY(1345,1,"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345","An expression of type 'void' cannot be tested for truthiness."),This_parameter_is_not_allowed_with_use_strict_directive:fY(1346,1,"This_parameter_is_not_allowed_with_use_strict_directive_1346","This parameter is not allowed with 'use strict' directive."),use_strict_directive_cannot_be_used_with_non_simple_parameter_list:fY(1347,1,"use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347","'use strict' directive cannot be used with non-simple parameter list."),Non_simple_parameter_declared_here:fY(1348,1,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:fY(1349,1,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:fY(1350,3,"Print_the_final_configuration_instead_of_building_1350","Print the final configuration instead of building."),An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal:fY(1351,1,"An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal_1351","An identifier or keyword cannot immediately follow a numeric literal."),A_bigint_literal_cannot_use_exponential_notation:fY(1352,1,"A_bigint_literal_cannot_use_exponential_notation_1352","A bigint literal cannot use exponential notation."),A_bigint_literal_must_be_an_integer:fY(1353,1,"A_bigint_literal_must_be_an_integer_1353","A bigint literal must be an integer."),readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types:fY(1354,1,"readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types_1354","'readonly' type modifier is only permitted on array and tuple literal types."),A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals:fY(1355,1,"A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355","A 'const' assertions can only be applied to references to enum members, or string, number, boolean, array, or object literals."),Did_you_mean_to_mark_this_function_as_async:fY(1356,1,"Did_you_mean_to_mark_this_function_as_async_1356","Did you mean to mark this function as 'async'?"),An_enum_member_name_must_be_followed_by_a_or:fY(1357,1,"An_enum_member_name_must_be_followed_by_a_or_1357","An enum member name must be followed by a ',', '=', or '}'."),Tagged_template_expressions_are_not_permitted_in_an_optional_chain:fY(1358,1,"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358","Tagged template expressions are not permitted in an optional chain."),Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:fY(1359,1,"Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here_1359","Identifier expected. '{0}' is a reserved word that cannot be used here."),Type_0_does_not_satisfy_the_expected_type_1:fY(1360,1,"Type_0_does_not_satisfy_the_expected_type_1_1360","Type '{0}' does not satisfy the expected type '{1}'."),_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type:fY(1361,1,"_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type_1361","'{0}' cannot be used as a value because it was imported using 'import type'."),_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:fY(1362,1,"_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type_1362","'{0}' cannot be used as a value because it was exported using 'export type'."),A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both:fY(1363,1,"A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both_1363","A type-only import can specify a default import or named bindings, but not both."),Convert_to_type_only_export:fY(1364,3,"Convert_to_type_only_export_1364","Convert to type-only export"),Convert_all_re_exported_types_to_type_only_exports:fY(1365,3,"Convert_all_re_exported_types_to_type_only_exports_1365","Convert all re-exported types to type-only exports"),Split_into_two_separate_import_declarations:fY(1366,3,"Split_into_two_separate_import_declarations_1366","Split into two separate import declarations"),Split_all_invalid_type_only_imports:fY(1367,3,"Split_all_invalid_type_only_imports_1367","Split all invalid type-only imports"),Class_constructor_may_not_be_a_generator:fY(1368,1,"Class_constructor_may_not_be_a_generator_1368","Class constructor may not be a generator."),Did_you_mean_0:fY(1369,3,"Did_you_mean_0_1369","Did you mean '{0}'?"),This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error:fY(1371,1,"This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set__1371","This import is never used as a value and must use 'import type' because 'importsNotUsedAsValues' is set to 'error'."),Convert_to_type_only_import:fY(1373,3,"Convert_to_type_only_import_1373","Convert to type-only import"),Convert_all_imports_not_used_as_a_value_to_type_only_imports:fY(1374,3,"Convert_all_imports_not_used_as_a_value_to_type_only_imports_1374","Convert all imports not used as a value to type-only imports"),await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:fY(1375,1,"await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_fi_1375","'await' expressions are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),_0_was_imported_here:fY(1376,3,"_0_was_imported_here_1376","'{0}' was imported here."),_0_was_exported_here:fY(1377,3,"_0_was_exported_here_1377","'{0}' was exported here."),Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:fY(1378,1,"Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_n_1378","Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher."),An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:fY(1379,1,"An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type_1379","An import alias cannot reference a declaration that was exported using 'export type'."),An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type:fY(1380,1,"An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type_1380","An import alias cannot reference a declaration that was imported using 'import type'."),Unexpected_token_Did_you_mean_or_rbrace:fY(1381,1,"Unexpected_token_Did_you_mean_or_rbrace_1381","Unexpected token. Did you mean `{'}'}` or `}`?"),Unexpected_token_Did_you_mean_or_gt:fY(1382,1,"Unexpected_token_Did_you_mean_or_gt_1382","Unexpected token. Did you mean `{'>'}` or `>`?"),Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:fY(1385,1,"Function_type_notation_must_be_parenthesized_when_used_in_a_union_type_1385","Function type notation must be parenthesized when used in a union type."),Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:fY(1386,1,"Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type_1386","Constructor type notation must be parenthesized when used in a union type."),Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:fY(1387,1,"Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1387","Function type notation must be parenthesized when used in an intersection type."),Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:fY(1388,1,"Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1388","Constructor type notation must be parenthesized when used in an intersection type."),_0_is_not_allowed_as_a_variable_declaration_name:fY(1389,1,"_0_is_not_allowed_as_a_variable_declaration_name_1389","'{0}' is not allowed as a variable declaration name."),_0_is_not_allowed_as_a_parameter_name:fY(1390,1,"_0_is_not_allowed_as_a_parameter_name_1390","'{0}' is not allowed as a parameter name."),An_import_alias_cannot_use_import_type:fY(1392,1,"An_import_alias_cannot_use_import_type_1392","An import alias cannot use 'import type'"),Imported_via_0_from_file_1:fY(1393,3,"Imported_via_0_from_file_1_1393","Imported via {0} from file '{1}'"),Imported_via_0_from_file_1_with_packageId_2:fY(1394,3,"Imported_via_0_from_file_1_with_packageId_2_1394","Imported via {0} from file '{1}' with packageId '{2}'"),Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions:fY(1395,3,"Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions_1395","Imported via {0} from file '{1}' to import 'importHelpers' as specified in compilerOptions"),Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions:fY(1396,3,"Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions_1396","Imported via {0} from file '{1}' with packageId '{2}' to import 'importHelpers' as specified in compilerOptions"),Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions:fY(1397,3,"Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions_1397","Imported via {0} from file '{1}' to import 'jsx' and 'jsxs' factory functions"),Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions:fY(1398,3,"Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions_1398","Imported via {0} from file '{1}' with packageId '{2}' to import 'jsx' and 'jsxs' factory functions"),File_is_included_via_import_here:fY(1399,3,"File_is_included_via_import_here_1399","File is included via import here."),Referenced_via_0_from_file_1:fY(1400,3,"Referenced_via_0_from_file_1_1400","Referenced via '{0}' from file '{1}'"),File_is_included_via_reference_here:fY(1401,3,"File_is_included_via_reference_here_1401","File is included via reference here."),Type_library_referenced_via_0_from_file_1:fY(1402,3,"Type_library_referenced_via_0_from_file_1_1402","Type library referenced via '{0}' from file '{1}'"),Type_library_referenced_via_0_from_file_1_with_packageId_2:fY(1403,3,"Type_library_referenced_via_0_from_file_1_with_packageId_2_1403","Type library referenced via '{0}' from file '{1}' with packageId '{2}'"),File_is_included_via_type_library_reference_here:fY(1404,3,"File_is_included_via_type_library_reference_here_1404","File is included via type library reference here."),Library_referenced_via_0_from_file_1:fY(1405,3,"Library_referenced_via_0_from_file_1_1405","Library referenced via '{0}' from file '{1}'"),File_is_included_via_library_reference_here:fY(1406,3,"File_is_included_via_library_reference_here_1406","File is included via library reference here."),Matched_by_include_pattern_0_in_1:fY(1407,3,"Matched_by_include_pattern_0_in_1_1407","Matched by include pattern '{0}' in '{1}'"),File_is_matched_by_include_pattern_specified_here:fY(1408,3,"File_is_matched_by_include_pattern_specified_here_1408","File is matched by include pattern specified here."),Part_of_files_list_in_tsconfig_json:fY(1409,3,"Part_of_files_list_in_tsconfig_json_1409","Part of 'files' list in tsconfig.json"),File_is_matched_by_files_list_specified_here:fY(1410,3,"File_is_matched_by_files_list_specified_here_1410","File is matched by 'files' list specified here."),Output_from_referenced_project_0_included_because_1_specified:fY(1411,3,"Output_from_referenced_project_0_included_because_1_specified_1411","Output from referenced project '{0}' included because '{1}' specified"),Output_from_referenced_project_0_included_because_module_is_specified_as_none:fY(1412,3,"Output_from_referenced_project_0_included_because_module_is_specified_as_none_1412","Output from referenced project '{0}' included because '--module' is specified as 'none'"),File_is_output_from_referenced_project_specified_here:fY(1413,3,"File_is_output_from_referenced_project_specified_here_1413","File is output from referenced project specified here."),Source_from_referenced_project_0_included_because_1_specified:fY(1414,3,"Source_from_referenced_project_0_included_because_1_specified_1414","Source from referenced project '{0}' included because '{1}' specified"),Source_from_referenced_project_0_included_because_module_is_specified_as_none:fY(1415,3,"Source_from_referenced_project_0_included_because_module_is_specified_as_none_1415","Source from referenced project '{0}' included because '--module' is specified as 'none'"),File_is_source_from_referenced_project_specified_here:fY(1416,3,"File_is_source_from_referenced_project_specified_here_1416","File is source from referenced project specified here."),Entry_point_of_type_library_0_specified_in_compilerOptions:fY(1417,3,"Entry_point_of_type_library_0_specified_in_compilerOptions_1417","Entry point of type library '{0}' specified in compilerOptions"),Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1:fY(1418,3,"Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1_1418","Entry point of type library '{0}' specified in compilerOptions with packageId '{1}'"),File_is_entry_point_of_type_library_specified_here:fY(1419,3,"File_is_entry_point_of_type_library_specified_here_1419","File is entry point of type library specified here."),Entry_point_for_implicit_type_library_0:fY(1420,3,"Entry_point_for_implicit_type_library_0_1420","Entry point for implicit type library '{0}'"),Entry_point_for_implicit_type_library_0_with_packageId_1:fY(1421,3,"Entry_point_for_implicit_type_library_0_with_packageId_1_1421","Entry point for implicit type library '{0}' with packageId '{1}'"),Library_0_specified_in_compilerOptions:fY(1422,3,"Library_0_specified_in_compilerOptions_1422","Library '{0}' specified in compilerOptions"),File_is_library_specified_here:fY(1423,3,"File_is_library_specified_here_1423","File is library specified here."),Default_library:fY(1424,3,"Default_library_1424","Default library"),Default_library_for_target_0:fY(1425,3,"Default_library_for_target_0_1425","Default library for target '{0}'"),File_is_default_library_for_target_specified_here:fY(1426,3,"File_is_default_library_for_target_specified_here_1426","File is default library for target specified here."),Root_file_specified_for_compilation:fY(1427,3,"Root_file_specified_for_compilation_1427","Root file specified for compilation"),File_is_output_of_project_reference_source_0:fY(1428,3,"File_is_output_of_project_reference_source_0_1428","File is output of project reference source '{0}'"),File_redirects_to_file_0:fY(1429,3,"File_redirects_to_file_0_1429","File redirects to file '{0}'"),The_file_is_in_the_program_because_Colon:fY(1430,3,"The_file_is_in_the_program_because_Colon_1430","The file is in the program because:"),for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:fY(1431,1,"for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_1431","'for await' loops are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:fY(1432,1,"Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_nod_1432","Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher."),Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters:fY(1433,1,"Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters_1433","Neither decorators nor modifiers may be applied to 'this' parameters."),Unexpected_keyword_or_identifier:fY(1434,1,"Unexpected_keyword_or_identifier_1434","Unexpected keyword or identifier."),Unknown_keyword_or_identifier_Did_you_mean_0:fY(1435,1,"Unknown_keyword_or_identifier_Did_you_mean_0_1435","Unknown keyword or identifier. Did you mean '{0}'?"),Decorators_must_precede_the_name_and_all_keywords_of_property_declarations:fY(1436,1,"Decorators_must_precede_the_name_and_all_keywords_of_property_declarations_1436","Decorators must precede the name and all keywords of property declarations."),Namespace_must_be_given_a_name:fY(1437,1,"Namespace_must_be_given_a_name_1437","Namespace must be given a name."),Interface_must_be_given_a_name:fY(1438,1,"Interface_must_be_given_a_name_1438","Interface must be given a name."),Type_alias_must_be_given_a_name:fY(1439,1,"Type_alias_must_be_given_a_name_1439","Type alias must be given a name."),Variable_declaration_not_allowed_at_this_location:fY(1440,1,"Variable_declaration_not_allowed_at_this_location_1440","Variable declaration not allowed at this location."),Cannot_start_a_function_call_in_a_type_annotation:fY(1441,1,"Cannot_start_a_function_call_in_a_type_annotation_1441","Cannot start a function call in a type annotation."),Expected_for_property_initializer:fY(1442,1,"Expected_for_property_initializer_1442","Expected '=' for property initializer."),Module_declaration_names_may_only_use_or_quoted_strings:fY(1443,1,"Module_declaration_names_may_only_use_or_quoted_strings_1443","Module declaration names may only use ' or \" quoted strings."),_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:fY(1444,1,"_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedMod_1444","'{0}' is a type and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:fY(1446,1,"_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveVa_1446","'{0}' resolves to a type-only declaration and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_enabled:fY(1448,1,"_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_1448","'{0}' resolves to a type-only declaration and must be re-exported using a type-only re-export when '{1}' is enabled."),Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed:fY(1449,3,"Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed_1449","Preserve unused imported values in the JavaScript output that would otherwise be removed."),Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments:fY(1450,3,"Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments_1450","Dynamic imports can only accept a module specifier and an optional assertion as arguments"),Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression:fY(1451,1,"Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member__1451","Private identifiers are only allowed in class bodies and may only be used as part of a class member declaration, property access, or on the left-hand-side of an 'in' expression"),resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext:fY(1452,1,"resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext_1452","'resolution-mode' assertions are only supported when `moduleResolution` is `node16` or `nodenext`."),resolution_mode_should_be_either_require_or_import:fY(1453,1,"resolution_mode_should_be_either_require_or_import_1453","`resolution-mode` should be either `require` or `import`."),resolution_mode_can_only_be_set_for_type_only_imports:fY(1454,1,"resolution_mode_can_only_be_set_for_type_only_imports_1454","`resolution-mode` can only be set for type-only imports."),resolution_mode_is_the_only_valid_key_for_type_import_assertions:fY(1455,1,"resolution_mode_is_the_only_valid_key_for_type_import_assertions_1455","`resolution-mode` is the only valid key for type import assertions."),Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require:fY(1456,1,"Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1456","Type import assertions should have exactly one key - `resolution-mode` - with value `import` or `require`."),Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk:fY(1457,3,"Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk_1457","Matched by default include pattern '**/*'"),File_is_ECMAScript_module_because_0_has_field_type_with_value_module:fY(1458,3,"File_is_ECMAScript_module_because_0_has_field_type_with_value_module_1458",'File is ECMAScript module because \'{0}\' has field "type" with value "module"'),File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module:fY(1459,3,"File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module_1459",'File is CommonJS module because \'{0}\' has field "type" whose value is not "module"'),File_is_CommonJS_module_because_0_does_not_have_field_type:fY(1460,3,"File_is_CommonJS_module_because_0_does_not_have_field_type_1460","File is CommonJS module because '{0}' does not have field \"type\""),File_is_CommonJS_module_because_package_json_was_not_found:fY(1461,3,"File_is_CommonJS_module_because_package_json_was_not_found_1461","File is CommonJS module because 'package.json' was not found"),The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output:fY(1470,1,"The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output_1470","The 'import.meta' meta-property is not allowed in files which will build into CommonJS output."),Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_with_require_Use_an_ECMAScript_import_instead:fY(1471,1,"Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_c_1471","Module '{0}' cannot be imported using this construct. The specifier only resolves to an ES module, which cannot be imported with 'require'. Use an ECMAScript import instead."),catch_or_finally_expected:fY(1472,1,"catch_or_finally_expected_1472","'catch' or 'finally' expected."),An_import_declaration_can_only_be_used_at_the_top_level_of_a_module:fY(1473,1,"An_import_declaration_can_only_be_used_at_the_top_level_of_a_module_1473","An import declaration can only be used at the top level of a module."),An_export_declaration_can_only_be_used_at_the_top_level_of_a_module:fY(1474,1,"An_export_declaration_can_only_be_used_at_the_top_level_of_a_module_1474","An export declaration can only be used at the top level of a module."),Control_what_method_is_used_to_detect_module_format_JS_files:fY(1475,3,"Control_what_method_is_used_to_detect_module_format_JS_files_1475","Control what method is used to detect module-format JS files."),auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules:fY(1476,3,"auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_w_1476",'"auto": Treat files with imports, exports, import.meta, jsx (with jsx: react-jsx), or esm format (with module: node16+) as modules.'),An_instantiation_expression_cannot_be_followed_by_a_property_access:fY(1477,1,"An_instantiation_expression_cannot_be_followed_by_a_property_access_1477","An instantiation expression cannot be followed by a property access."),Identifier_or_string_literal_expected:fY(1478,1,"Identifier_or_string_literal_expected_1478","Identifier or string literal expected."),The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_referenced_file_is_an_ECMAScript_module_and_cannot_be_imported_with_require_Consider_writing_a_dynamic_import_0_call_instead:fY(1479,1,"The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_reference_1479","The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import(\"{0}\")' call instead."),To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_package_json_file_with_type_Colon_module:fY(1480,3,"To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_packag_1480",'To convert this file to an ECMAScript module, change its file extension to \'{0}\' or create a local package.json file with `{ "type": "module" }`.'),To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Colon_module_to_1:fY(1481,3,"To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Co_1481","To convert this file to an ECMAScript module, change its file extension to '{0}', or add the field `\"type\": \"module\"` to '{1}'."),To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0:fY(1482,3,"To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0_1482",'To convert this file to an ECMAScript module, add the field `"type": "module"` to \'{0}\'.'),To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module:fY(1483,3,"To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module_1483",'To convert this file to an ECMAScript module, create a local package.json file with `{ "type": "module" }`.'),_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:fY(1484,1,"_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled_1484","'{0}' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:fY(1485,1,"_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimMo_1485","'{0}' resolves to a type-only declaration and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled."),Decorator_used_before_export_here:fY(1486,1,"Decorator_used_before_export_here_1486","Decorator used before 'export' here."),The_types_of_0_are_incompatible_between_these_types:fY(2200,1,"The_types_of_0_are_incompatible_between_these_types_2200","The types of '{0}' are incompatible between these types."),The_types_returned_by_0_are_incompatible_between_these_types:fY(2201,1,"The_types_returned_by_0_are_incompatible_between_these_types_2201","The types returned by '{0}' are incompatible between these types."),Call_signature_return_types_0_and_1_are_incompatible:fY(2202,1,"Call_signature_return_types_0_and_1_are_incompatible_2202","Call signature return types '{0}' and '{1}' are incompatible.",void 0,!0),Construct_signature_return_types_0_and_1_are_incompatible:fY(2203,1,"Construct_signature_return_types_0_and_1_are_incompatible_2203","Construct signature return types '{0}' and '{1}' are incompatible.",void 0,!0),Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:fY(2204,1,"Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2204","Call signatures with no arguments have incompatible return types '{0}' and '{1}'.",void 0,!0),Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:fY(2205,1,"Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2205","Construct signatures with no arguments have incompatible return types '{0}' and '{1}'.",void 0,!0),The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement:fY(2206,1,"The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement_2206","The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement."),The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement:fY(2207,1,"The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement_2207","The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement."),This_type_parameter_might_need_an_extends_0_constraint:fY(2208,1,"This_type_parameter_might_need_an_extends_0_constraint_2208","This type parameter might need an `extends {0}` constraint."),The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:fY(2209,1,"The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_roo_2209","The project root is ambiguous, but is required to resolve export map entry '{0}' in file '{1}'. Supply the `rootDir` compiler option to disambiguate."),The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:fY(2210,1,"The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_roo_2210","The project root is ambiguous, but is required to resolve import map entry '{0}' in file '{1}'. Supply the `rootDir` compiler option to disambiguate."),Add_extends_constraint:fY(2211,3,"Add_extends_constraint_2211","Add `extends` constraint."),Add_extends_constraint_to_all_type_parameters:fY(2212,3,"Add_extends_constraint_to_all_type_parameters_2212","Add `extends` constraint to all type parameters"),Duplicate_identifier_0:fY(2300,1,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:fY(2301,1,"Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2301","Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."),Static_members_cannot_reference_class_type_parameters:fY(2302,1,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:fY(2303,1,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:fY(2304,1,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:fY(2305,1,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:fY(2306,1,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0_or_its_corresponding_type_declarations:fY(2307,1,"Cannot_find_module_0_or_its_corresponding_type_declarations_2307","Cannot find module '{0}' or its corresponding type declarations."),Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity:fY(2308,1,"Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambig_2308","Module {0} has already exported a member named '{1}'. Consider explicitly re-exporting to resolve the ambiguity."),An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements:fY(2309,1,"An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements_2309","An export assignment cannot be used in a module with other exported elements."),Type_0_recursively_references_itself_as_a_base_type:fY(2310,1,"Type_0_recursively_references_itself_as_a_base_type_2310","Type '{0}' recursively references itself as a base type."),Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function:fY(2311,1,"Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function_2311","Cannot find name '{0}'. Did you mean to write this in an async function?"),An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members:fY(2312,1,"An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_me_2312","An interface can only extend an object type or intersection of object types with statically known members."),Type_parameter_0_has_a_circular_constraint:fY(2313,1,"Type_parameter_0_has_a_circular_constraint_2313","Type parameter '{0}' has a circular constraint."),Generic_type_0_requires_1_type_argument_s:fY(2314,1,"Generic_type_0_requires_1_type_argument_s_2314","Generic type '{0}' requires {1} type argument(s)."),Type_0_is_not_generic:fY(2315,1,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:fY(2316,1,"Global_type_0_must_be_a_class_or_interface_type_2316","Global type '{0}' must be a class or interface type."),Global_type_0_must_have_1_type_parameter_s:fY(2317,1,"Global_type_0_must_have_1_type_parameter_s_2317","Global type '{0}' must have {1} type parameter(s)."),Cannot_find_global_type_0:fY(2318,1,"Cannot_find_global_type_0_2318","Cannot find global type '{0}'."),Named_property_0_of_types_1_and_2_are_not_identical:fY(2319,1,"Named_property_0_of_types_1_and_2_are_not_identical_2319","Named property '{0}' of types '{1}' and '{2}' are not identical."),Interface_0_cannot_simultaneously_extend_types_1_and_2:fY(2320,1,"Interface_0_cannot_simultaneously_extend_types_1_and_2_2320","Interface '{0}' cannot simultaneously extend types '{1}' and '{2}'."),Excessive_stack_depth_comparing_types_0_and_1:fY(2321,1,"Excessive_stack_depth_comparing_types_0_and_1_2321","Excessive stack depth comparing types '{0}' and '{1}'."),Type_0_is_not_assignable_to_type_1:fY(2322,1,"Type_0_is_not_assignable_to_type_1_2322","Type '{0}' is not assignable to type '{1}'."),Cannot_redeclare_exported_variable_0:fY(2323,1,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:fY(2324,1,"Property_0_is_missing_in_type_1_2324","Property '{0}' is missing in type '{1}'."),Property_0_is_private_in_type_1_but_not_in_type_2:fY(2325,1,"Property_0_is_private_in_type_1_but_not_in_type_2_2325","Property '{0}' is private in type '{1}' but not in type '{2}'."),Types_of_property_0_are_incompatible:fY(2326,1,"Types_of_property_0_are_incompatible_2326","Types of property '{0}' are incompatible."),Property_0_is_optional_in_type_1_but_required_in_type_2:fY(2327,1,"Property_0_is_optional_in_type_1_but_required_in_type_2_2327","Property '{0}' is optional in type '{1}' but required in type '{2}'."),Types_of_parameters_0_and_1_are_incompatible:fY(2328,1,"Types_of_parameters_0_and_1_are_incompatible_2328","Types of parameters '{0}' and '{1}' are incompatible."),Index_signature_for_type_0_is_missing_in_type_1:fY(2329,1,"Index_signature_for_type_0_is_missing_in_type_1_2329","Index signature for type '{0}' is missing in type '{1}'."),_0_and_1_index_signatures_are_incompatible:fY(2330,1,"_0_and_1_index_signatures_are_incompatible_2330","'{0}' and '{1}' index signatures are incompatible."),this_cannot_be_referenced_in_a_module_or_namespace_body:fY(2331,1,"this_cannot_be_referenced_in_a_module_or_namespace_body_2331","'this' cannot be referenced in a module or namespace body."),this_cannot_be_referenced_in_current_location:fY(2332,1,"this_cannot_be_referenced_in_current_location_2332","'this' cannot be referenced in current location."),this_cannot_be_referenced_in_constructor_arguments:fY(2333,1,"this_cannot_be_referenced_in_constructor_arguments_2333","'this' cannot be referenced in constructor arguments."),this_cannot_be_referenced_in_a_static_property_initializer:fY(2334,1,"this_cannot_be_referenced_in_a_static_property_initializer_2334","'this' cannot be referenced in a static property initializer."),super_can_only_be_referenced_in_a_derived_class:fY(2335,1,"super_can_only_be_referenced_in_a_derived_class_2335","'super' can only be referenced in a derived class."),super_cannot_be_referenced_in_constructor_arguments:fY(2336,1,"super_cannot_be_referenced_in_constructor_arguments_2336","'super' cannot be referenced in constructor arguments."),Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors:fY(2337,1,"Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors_2337","Super calls are not permitted outside constructors or in nested functions inside constructors."),super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class:fY(2338,1,"super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_der_2338","'super' property access is permitted only in a constructor, member function, or member accessor of a derived class."),Property_0_does_not_exist_on_type_1:fY(2339,1,"Property_0_does_not_exist_on_type_1_2339","Property '{0}' does not exist on type '{1}'."),Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword:fY(2340,1,"Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword_2340","Only public and protected methods of the base class are accessible via the 'super' keyword."),Property_0_is_private_and_only_accessible_within_class_1:fY(2341,1,"Property_0_is_private_and_only_accessible_within_class_1_2341","Property '{0}' is private and only accessible within class '{1}'."),This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0:fY(2343,1,"This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_ve_2343","This syntax requires an imported helper named '{1}' which does not exist in '{0}'. Consider upgrading your version of '{0}'."),Type_0_does_not_satisfy_the_constraint_1:fY(2344,1,"Type_0_does_not_satisfy_the_constraint_1_2344","Type '{0}' does not satisfy the constraint '{1}'."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1:fY(2345,1,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_2345","Argument of type '{0}' is not assignable to parameter of type '{1}'."),Call_target_does_not_contain_any_signatures:fY(2346,1,"Call_target_does_not_contain_any_signatures_2346","Call target does not contain any signatures."),Untyped_function_calls_may_not_accept_type_arguments:fY(2347,1,"Untyped_function_calls_may_not_accept_type_arguments_2347","Untyped function calls may not accept type arguments."),Value_of_type_0_is_not_callable_Did_you_mean_to_include_new:fY(2348,1,"Value_of_type_0_is_not_callable_Did_you_mean_to_include_new_2348","Value of type '{0}' is not callable. Did you mean to include 'new'?"),This_expression_is_not_callable:fY(2349,1,"This_expression_is_not_callable_2349","This expression is not callable."),Only_a_void_function_can_be_called_with_the_new_keyword:fY(2350,1,"Only_a_void_function_can_be_called_with_the_new_keyword_2350","Only a void function can be called with the 'new' keyword."),This_expression_is_not_constructable:fY(2351,1,"This_expression_is_not_constructable_2351","This expression is not constructable."),Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first:fY(2352,1,"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352","Conversion of type '{0}' to type '{1}' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first."),Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1:fY(2353,1,"Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1_2353","Object literal may only specify known properties, and '{0}' does not exist in type '{1}'."),This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found:fY(2354,1,"This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354","This syntax requires an imported helper but module '{0}' cannot be found."),A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value:fY(2355,1,"A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value_2355","A function whose declared type is neither 'void' nor 'any' must return a value."),An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type:fY(2356,1,"An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type_2356","An arithmetic operand must be of type 'any', 'number', 'bigint' or an enum type."),The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access:fY(2357,1,"The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access_2357","The operand of an increment or decrement operator must be a variable or a property access."),The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:fY(2358,1,"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358","The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter."),The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type:fY(2359,1,"The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_F_2359","The right-hand side of an 'instanceof' expression must be of type 'any' or of a type assignable to the 'Function' interface type."),The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:fY(2362,1,"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362","The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:fY(2363,1,"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2363","The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access:fY(2364,1,"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364","The left-hand side of an assignment expression must be a variable or a property access."),Operator_0_cannot_be_applied_to_types_1_and_2:fY(2365,1,"Operator_0_cannot_be_applied_to_types_1_and_2_2365","Operator '{0}' cannot be applied to types '{1}' and '{2}'."),Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined:fY(2366,1,"Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined_2366","Function lacks ending return statement and return type does not include 'undefined'."),This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap:fY(2367,1,"This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367","This comparison appears to be unintentional because the types '{0}' and '{1}' have no overlap."),Type_parameter_name_cannot_be_0:fY(2368,1,"Type_parameter_name_cannot_be_0_2368","Type parameter name cannot be '{0}'."),A_parameter_property_is_only_allowed_in_a_constructor_implementation:fY(2369,1,"A_parameter_property_is_only_allowed_in_a_constructor_implementation_2369","A parameter property is only allowed in a constructor implementation."),A_rest_parameter_must_be_of_an_array_type:fY(2370,1,"A_rest_parameter_must_be_of_an_array_type_2370","A rest parameter must be of an array type."),A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation:fY(2371,1,"A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371","A parameter initializer is only allowed in a function or constructor implementation."),Parameter_0_cannot_reference_itself:fY(2372,1,"Parameter_0_cannot_reference_itself_2372","Parameter '{0}' cannot reference itself."),Parameter_0_cannot_reference_identifier_1_declared_after_it:fY(2373,1,"Parameter_0_cannot_reference_identifier_1_declared_after_it_2373","Parameter '{0}' cannot reference identifier '{1}' declared after it."),Duplicate_index_signature_for_type_0:fY(2374,1,"Duplicate_index_signature_for_type_0_2374","Duplicate index signature for type '{0}'."),Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties:fY(2375,1,"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2375","Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties."),A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_class_contains_initialized_properties_parameter_properties_or_private_identifiers:fY(2376,1,"A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_2376","A 'super' call must be the first statement in the constructor to refer to 'super' or 'this' when a derived class contains initialized properties, parameter properties, or private identifiers."),Constructors_for_derived_classes_must_contain_a_super_call:fY(2377,1,"Constructors_for_derived_classes_must_contain_a_super_call_2377","Constructors for derived classes must contain a 'super' call."),A_get_accessor_must_return_a_value:fY(2378,1,"A_get_accessor_must_return_a_value_2378","A 'get' accessor must return a value."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties:fY(2379,1,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_tr_2379","Argument of type '{0}' is not assignable to parameter of type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties."),The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type:fY(2380,1,"The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type_2380","The return type of a 'get' accessor must be assignable to its 'set' accessor type"),Overload_signatures_must_all_be_exported_or_non_exported:fY(2383,1,"Overload_signatures_must_all_be_exported_or_non_exported_2383","Overload signatures must all be exported or non-exported."),Overload_signatures_must_all_be_ambient_or_non_ambient:fY(2384,1,"Overload_signatures_must_all_be_ambient_or_non_ambient_2384","Overload signatures must all be ambient or non-ambient."),Overload_signatures_must_all_be_public_private_or_protected:fY(2385,1,"Overload_signatures_must_all_be_public_private_or_protected_2385","Overload signatures must all be public, private or protected."),Overload_signatures_must_all_be_optional_or_required:fY(2386,1,"Overload_signatures_must_all_be_optional_or_required_2386","Overload signatures must all be optional or required."),Function_overload_must_be_static:fY(2387,1,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:fY(2388,1,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:fY(2389,1,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:fY(2390,1,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:fY(2391,1,"Function_implementation_is_missing_or_not_immediately_following_the_declaration_2391","Function implementation is missing or not immediately following the declaration."),Multiple_constructor_implementations_are_not_allowed:fY(2392,1,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:fY(2393,1,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:fY(2394,1,"This_overload_signature_is_not_compatible_with_its_implementation_signature_2394","This overload signature is not compatible with its implementation signature."),Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local:fY(2395,1,"Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local_2395","Individual declarations in merged declaration '{0}' must be all exported or all local."),Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters:fY(2396,1,"Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters_2396","Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters."),Declaration_name_conflicts_with_built_in_global_identifier_0:fY(2397,1,"Declaration_name_conflicts_with_built_in_global_identifier_0_2397","Declaration name conflicts with built-in global identifier '{0}'."),constructor_cannot_be_used_as_a_parameter_property_name:fY(2398,1,"constructor_cannot_be_used_as_a_parameter_property_name_2398","'constructor' cannot be used as a parameter property name."),Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference:fY(2399,1,"Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference_2399","Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference."),Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference:fY(2400,1,"Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference_2400","Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference."),A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_initialized_properties_parameter_properties_or_private_identifiers:fY(2401,1,"A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_in_2401","A 'super' call must be a root-level statement within a constructor of a derived class that contains initialized properties, parameter properties, or private identifiers."),Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference:fY(2402,1,"Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference_2402","Expression resolves to '_super' that compiler uses to capture base class reference."),Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2:fY(2403,1,"Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_t_2403","Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'."),The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:fY(2404,1,"The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation_2404","The left-hand side of a 'for...in' statement cannot use a type annotation."),The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any:fY(2405,1,"The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any_2405","The left-hand side of a 'for...in' statement must be of type 'string' or 'any'."),The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access:fY(2406,1,"The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access_2406","The left-hand side of a 'for...in' statement must be a variable or a property access."),The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0:fY(2407,1,"The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_2407","The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter, but here has type '{0}'."),Setters_cannot_return_a_value:fY(2408,1,"Setters_cannot_return_a_value_2408","Setters cannot return a value."),Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class:fY(2409,1,"Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class_2409","Return type of constructor signature must be assignable to the instance type of the class."),The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any:fY(2410,1,"The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410","The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'."),Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target:fY(2412,1,"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2412","Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target."),Property_0_of_type_1_is_not_assignable_to_2_index_type_3:fY(2411,1,"Property_0_of_type_1_is_not_assignable_to_2_index_type_3_2411","Property '{0}' of type '{1}' is not assignable to '{2}' index type '{3}'."),_0_index_type_1_is_not_assignable_to_2_index_type_3:fY(2413,1,"_0_index_type_1_is_not_assignable_to_2_index_type_3_2413","'{0}' index type '{1}' is not assignable to '{2}' index type '{3}'."),Class_name_cannot_be_0:fY(2414,1,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:fY(2415,1,"Class_0_incorrectly_extends_base_class_1_2415","Class '{0}' incorrectly extends base class '{1}'."),Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2:fY(2416,1,"Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2_2416","Property '{0}' in type '{1}' is not assignable to the same property in base type '{2}'."),Class_static_side_0_incorrectly_extends_base_class_static_side_1:fY(2417,1,"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417","Class static side '{0}' incorrectly extends base class static side '{1}'."),Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1:fY(2418,1,"Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1_2418","Type of computed property's value is '{0}', which is not assignable to type '{1}'."),Types_of_construct_signatures_are_incompatible:fY(2419,1,"Types_of_construct_signatures_are_incompatible_2419","Types of construct signatures are incompatible."),Class_0_incorrectly_implements_interface_1:fY(2420,1,"Class_0_incorrectly_implements_interface_1_2420","Class '{0}' incorrectly implements interface '{1}'."),A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members:fY(2422,1,"A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_memb_2422","A class can only implement an object type or intersection of object types with statically known members."),Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor:fY(2423,1,"Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_access_2423","Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor."),Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function:fY(2425,1,"Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_functi_2425","Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function."),Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:fY(2426,1,"Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_functi_2426","Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function."),Interface_name_cannot_be_0:fY(2427,1,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:fY(2428,1,"All_declarations_of_0_must_have_identical_type_parameters_2428","All declarations of '{0}' must have identical type parameters."),Interface_0_incorrectly_extends_interface_1:fY(2430,1,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:fY(2431,1,"Enum_name_cannot_be_0_2431","Enum name cannot be '{0}'."),In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element:fY(2432,1,"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432","In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element."),A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged:fY(2433,1,"A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merg_2433","A namespace declaration cannot be in a different file from a class or function with which it is merged."),A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged:fY(2434,1,"A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged_2434","A namespace declaration cannot be located prior to a class or function with which it is merged."),Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces:fY(2435,1,"Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces_2435","Ambient modules cannot be nested in other modules or namespaces."),Ambient_module_declaration_cannot_specify_relative_module_name:fY(2436,1,"Ambient_module_declaration_cannot_specify_relative_module_name_2436","Ambient module declaration cannot specify relative module name."),Module_0_is_hidden_by_a_local_declaration_with_the_same_name:fY(2437,1,"Module_0_is_hidden_by_a_local_declaration_with_the_same_name_2437","Module '{0}' is hidden by a local declaration with the same name."),Import_name_cannot_be_0:fY(2438,1,"Import_name_cannot_be_0_2438","Import name cannot be '{0}'."),Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name:fY(2439,1,"Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relati_2439","Import or export declaration in an ambient module declaration cannot reference module through relative module name."),Import_declaration_conflicts_with_local_declaration_of_0:fY(2440,1,"Import_declaration_conflicts_with_local_declaration_of_0_2440","Import declaration conflicts with local declaration of '{0}'."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module:fY(2441,1,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_2441","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module."),Types_have_separate_declarations_of_a_private_property_0:fY(2442,1,"Types_have_separate_declarations_of_a_private_property_0_2442","Types have separate declarations of a private property '{0}'."),Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2:fY(2443,1,"Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2_2443","Property '{0}' is protected but type '{1}' is not a class derived from '{2}'."),Property_0_is_protected_in_type_1_but_public_in_type_2:fY(2444,1,"Property_0_is_protected_in_type_1_but_public_in_type_2_2444","Property '{0}' is protected in type '{1}' but public in type '{2}'."),Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses:fY(2445,1,"Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses_2445","Property '{0}' is protected and only accessible within class '{1}' and its subclasses."),Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2:fY(2446,1,"Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_cl_2446","Property '{0}' is protected and only accessible through an instance of class '{1}'. This is an instance of class '{2}'."),The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead:fY(2447,1,"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447","The '{0}' operator is not allowed for boolean types. Consider using '{1}' instead."),Block_scoped_variable_0_used_before_its_declaration:fY(2448,1,"Block_scoped_variable_0_used_before_its_declaration_2448","Block-scoped variable '{0}' used before its declaration."),Class_0_used_before_its_declaration:fY(2449,1,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:fY(2450,1,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:fY(2451,1,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:fY(2452,1,"An_enum_member_cannot_have_a_numeric_name_2452","An enum member cannot have a numeric name."),Variable_0_is_used_before_being_assigned:fY(2454,1,"Variable_0_is_used_before_being_assigned_2454","Variable '{0}' is used before being assigned."),Type_alias_0_circularly_references_itself:fY(2456,1,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:fY(2457,1,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:fY(2458,1,"An_AMD_module_cannot_have_multiple_name_assignments_2458","An AMD module cannot have multiple name assignments."),Module_0_declares_1_locally_but_it_is_not_exported:fY(2459,1,"Module_0_declares_1_locally_but_it_is_not_exported_2459","Module '{0}' declares '{1}' locally, but it is not exported."),Module_0_declares_1_locally_but_it_is_exported_as_2:fY(2460,1,"Module_0_declares_1_locally_but_it_is_exported_as_2_2460","Module '{0}' declares '{1}' locally, but it is exported as '{2}'."),Type_0_is_not_an_array_type:fY(2461,1,"Type_0_is_not_an_array_type_2461","Type '{0}' is not an array type."),A_rest_element_must_be_last_in_a_destructuring_pattern:fY(2462,1,"A_rest_element_must_be_last_in_a_destructuring_pattern_2462","A rest element must be last in a destructuring pattern."),A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature:fY(2463,1,"A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature_2463","A binding pattern parameter cannot be optional in an implementation signature."),A_computed_property_name_must_be_of_type_string_number_symbol_or_any:fY(2464,1,"A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464","A computed property name must be of type 'string', 'number', 'symbol', or 'any'."),this_cannot_be_referenced_in_a_computed_property_name:fY(2465,1,"this_cannot_be_referenced_in_a_computed_property_name_2465","'this' cannot be referenced in a computed property name."),super_cannot_be_referenced_in_a_computed_property_name:fY(2466,1,"super_cannot_be_referenced_in_a_computed_property_name_2466","'super' cannot be referenced in a computed property name."),A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type:fY(2467,1,"A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type_2467","A computed property name cannot reference a type parameter from its containing type."),Cannot_find_global_value_0:fY(2468,1,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:fY(2469,1,"The_0_operator_cannot_be_applied_to_type_symbol_2469","The '{0}' operator cannot be applied to type 'symbol'."),Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher:fY(2472,1,"Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher_2472","Spread operator in 'new' expressions is only available when targeting ECMAScript 5 and higher."),Enum_declarations_must_all_be_const_or_non_const:fY(2473,1,"Enum_declarations_must_all_be_const_or_non_const_2473","Enum declarations must all be const or non-const."),const_enum_member_initializers_must_be_constant_expressions:fY(2474,1,"const_enum_member_initializers_must_be_constant_expressions_2474","const enum member initializers must be constant expressions."),const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query:fY(2475,1,"const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_im_2475","'const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment or type query."),A_const_enum_member_can_only_be_accessed_using_a_string_literal:fY(2476,1,"A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476","A const enum member can only be accessed using a string literal."),const_enum_member_initializer_was_evaluated_to_a_non_finite_value:fY(2477,1,"const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477","'const' enum member initializer was evaluated to a non-finite value."),const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:fY(2478,1,"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478","'const' enum member initializer was evaluated to disallowed value 'NaN'."),let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations:fY(2480,1,"let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480","'let' is not allowed to be used as a name in 'let' or 'const' declarations."),Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1:fY(2481,1,"Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1_2481","Cannot initialize outer scoped variable '{0}' in the same scope as block scoped declaration '{1}'."),The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation:fY(2483,1,"The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation_2483","The left-hand side of a 'for...of' statement cannot use a type annotation."),Export_declaration_conflicts_with_exported_declaration_of_0:fY(2484,1,"Export_declaration_conflicts_with_exported_declaration_of_0_2484","Export declaration conflicts with exported declaration of '{0}'."),The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access:fY(2487,1,"The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access_2487","The left-hand side of a 'for...of' statement must be a variable or a property access."),Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator:fY(2488,1,"Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488","Type '{0}' must have a '[Symbol.iterator]()' method that returns an iterator."),An_iterator_must_have_a_next_method:fY(2489,1,"An_iterator_must_have_a_next_method_2489","An iterator must have a 'next()' method."),The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property:fY(2490,1,"The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property_2490","The type returned by the '{0}()' method of an iterator must have a 'value' property."),The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern:fY(2491,1,"The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern_2491","The left-hand side of a 'for...in' statement cannot be a destructuring pattern."),Cannot_redeclare_identifier_0_in_catch_clause:fY(2492,1,"Cannot_redeclare_identifier_0_in_catch_clause_2492","Cannot redeclare identifier '{0}' in catch clause."),Tuple_type_0_of_length_1_has_no_element_at_index_2:fY(2493,1,"Tuple_type_0_of_length_1_has_no_element_at_index_2_2493","Tuple type '{0}' of length '{1}' has no element at index '{2}'."),Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher:fY(2494,1,"Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494","Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher."),Type_0_is_not_an_array_type_or_a_string_type:fY(2495,1,"Type_0_is_not_an_array_type_or_a_string_type_2495","Type '{0}' is not an array type or a string type."),The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression:fY(2496,1,"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496","The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression."),This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export:fY(2497,1,"This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_2497","This module can only be referenced with ECMAScript imports/exports by turning on the '{0}' flag and referencing its default export."),Module_0_uses_export_and_cannot_be_used_with_export_Asterisk:fY(2498,1,"Module_0_uses_export_and_cannot_be_used_with_export_Asterisk_2498","Module '{0}' uses 'export =' and cannot be used with 'export *'."),An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments:fY(2499,1,"An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments_2499","An interface can only extend an identifier/qualified-name with optional type arguments."),A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments:fY(2500,1,"A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments_2500","A class can only implement an identifier/qualified-name with optional type arguments."),A_rest_element_cannot_contain_a_binding_pattern:fY(2501,1,"A_rest_element_cannot_contain_a_binding_pattern_2501","A rest element cannot contain a binding pattern."),_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation:fY(2502,1,"_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation_2502","'{0}' is referenced directly or indirectly in its own type annotation."),Cannot_find_namespace_0:fY(2503,1,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:fY(2504,1,"Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504","Type '{0}' must have a '[Symbol.asyncIterator]()' method that returns an async iterator."),A_generator_cannot_have_a_void_type_annotation:fY(2505,1,"A_generator_cannot_have_a_void_type_annotation_2505","A generator cannot have a 'void' type annotation."),_0_is_referenced_directly_or_indirectly_in_its_own_base_expression:fY(2506,1,"_0_is_referenced_directly_or_indirectly_in_its_own_base_expression_2506","'{0}' is referenced directly or indirectly in its own base expression."),Type_0_is_not_a_constructor_function_type:fY(2507,1,"Type_0_is_not_a_constructor_function_type_2507","Type '{0}' is not a constructor function type."),No_base_constructor_has_the_specified_number_of_type_arguments:fY(2508,1,"No_base_constructor_has_the_specified_number_of_type_arguments_2508","No base constructor has the specified number of type arguments."),Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members:fY(2509,1,"Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_2509","Base constructor return type '{0}' is not an object type or intersection of object types with statically known members."),Base_constructors_must_all_have_the_same_return_type:fY(2510,1,"Base_constructors_must_all_have_the_same_return_type_2510","Base constructors must all have the same return type."),Cannot_create_an_instance_of_an_abstract_class:fY(2511,1,"Cannot_create_an_instance_of_an_abstract_class_2511","Cannot create an instance of an abstract class."),Overload_signatures_must_all_be_abstract_or_non_abstract:fY(2512,1,"Overload_signatures_must_all_be_abstract_or_non_abstract_2512","Overload signatures must all be abstract or non-abstract."),Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression:fY(2513,1,"Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression_2513","Abstract method '{0}' in class '{1}' cannot be accessed via super expression."),A_tuple_type_cannot_be_indexed_with_a_negative_value:fY(2514,1,"A_tuple_type_cannot_be_indexed_with_a_negative_value_2514","A tuple type cannot be indexed with a negative value."),Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2:fY(2515,1,"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515","Non-abstract class '{0}' does not implement inherited abstract member '{1}' from class '{2}'."),All_declarations_of_an_abstract_method_must_be_consecutive:fY(2516,1,"All_declarations_of_an_abstract_method_must_be_consecutive_2516","All declarations of an abstract method must be consecutive."),Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type:fY(2517,1,"Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type_2517","Cannot assign an abstract constructor type to a non-abstract constructor type."),A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard:fY(2518,1,"A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518","A 'this'-based type guard is not compatible with a parameter-based type guard."),An_async_iterator_must_have_a_next_method:fY(2519,1,"An_async_iterator_must_have_a_next_method_2519","An async iterator must have a 'next()' method."),Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions:fY(2520,1,"Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions_2520","Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions."),The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method:fY(2522,1,"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522","The 'arguments' object cannot be referenced in an async function or method in ES3 and ES5. Consider using a standard function or method."),yield_expressions_cannot_be_used_in_a_parameter_initializer:fY(2523,1,"yield_expressions_cannot_be_used_in_a_parameter_initializer_2523","'yield' expressions cannot be used in a parameter initializer."),await_expressions_cannot_be_used_in_a_parameter_initializer:fY(2524,1,"await_expressions_cannot_be_used_in_a_parameter_initializer_2524","'await' expressions cannot be used in a parameter initializer."),Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value:fY(2525,1,"Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value_2525","Initializer provides no value for this binding element and the binding element has no default value."),A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface:fY(2526,1,"A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface_2526","A 'this' type is available only in a non-static member of a class or interface."),The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary:fY(2527,1,"The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527","The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary."),A_module_cannot_have_multiple_default_exports:fY(2528,1,"A_module_cannot_have_multiple_default_exports_2528","A module cannot have multiple default exports."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions:fY(2529,1,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_func_2529","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module containing async functions."),Property_0_is_incompatible_with_index_signature:fY(2530,1,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:fY(2531,1,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:fY(2532,1,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:fY(2533,1,"Object_is_possibly_null_or_undefined_2533","Object is possibly 'null' or 'undefined'."),A_function_returning_never_cannot_have_a_reachable_end_point:fY(2534,1,"A_function_returning_never_cannot_have_a_reachable_end_point_2534","A function returning 'never' cannot have a reachable end point."),Type_0_cannot_be_used_to_index_type_1:fY(2536,1,"Type_0_cannot_be_used_to_index_type_1_2536","Type '{0}' cannot be used to index type '{1}'."),Type_0_has_no_matching_index_signature_for_type_1:fY(2537,1,"Type_0_has_no_matching_index_signature_for_type_1_2537","Type '{0}' has no matching index signature for type '{1}'."),Type_0_cannot_be_used_as_an_index_type:fY(2538,1,"Type_0_cannot_be_used_as_an_index_type_2538","Type '{0}' cannot be used as an index type."),Cannot_assign_to_0_because_it_is_not_a_variable:fY(2539,1,"Cannot_assign_to_0_because_it_is_not_a_variable_2539","Cannot assign to '{0}' because it is not a variable."),Cannot_assign_to_0_because_it_is_a_read_only_property:fY(2540,1,"Cannot_assign_to_0_because_it_is_a_read_only_property_2540","Cannot assign to '{0}' because it is a read-only property."),Index_signature_in_type_0_only_permits_reading:fY(2542,1,"Index_signature_in_type_0_only_permits_reading_2542","Index signature in type '{0}' only permits reading."),Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference:fY(2543,1,"Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_me_2543","Duplicate identifier '_newTarget'. Compiler uses variable declaration '_newTarget' to capture 'new.target' meta-property reference."),Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference:fY(2544,1,"Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta__2544","Expression resolves to variable declaration '_newTarget' that compiler uses to capture 'new.target' meta-property reference."),A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any:fY(2545,1,"A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any_2545","A mixin class must have a constructor with a single rest parameter of type 'any[]'."),The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property:fY(2547,1,"The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_pro_2547","The type returned by the '{0}()' method of an async iterator must be a promise for a type with a 'value' property."),Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:fY(2548,1,"Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator_2548","Type '{0}' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:fY(2549,1,"Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns__2549","Type '{0}' is not an array type or a string type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2_or_later:fY(2550,1,"Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_c_2550","Property '{0}' does not exist on type '{1}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{2}' or later."),Property_0_does_not_exist_on_type_1_Did_you_mean_2:fY(2551,1,"Property_0_does_not_exist_on_type_1_Did_you_mean_2_2551","Property '{0}' does not exist on type '{1}'. Did you mean '{2}'?"),Cannot_find_name_0_Did_you_mean_1:fY(2552,1,"Cannot_find_name_0_Did_you_mean_1_2552","Cannot find name '{0}'. Did you mean '{1}'?"),Computed_values_are_not_permitted_in_an_enum_with_string_valued_members:fY(2553,1,"Computed_values_are_not_permitted_in_an_enum_with_string_valued_members_2553","Computed values are not permitted in an enum with string valued members."),Expected_0_arguments_but_got_1:fY(2554,1,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:fY(2555,1,"Expected_at_least_0_arguments_but_got_1_2555","Expected at least {0} arguments, but got {1}."),A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter:fY(2556,1,"A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter_2556","A spread argument must either have a tuple type or be passed to a rest parameter."),Expected_0_type_arguments_but_got_1:fY(2558,1,"Expected_0_type_arguments_but_got_1_2558","Expected {0} type arguments, but got {1}."),Type_0_has_no_properties_in_common_with_type_1:fY(2559,1,"Type_0_has_no_properties_in_common_with_type_1_2559","Type '{0}' has no properties in common with type '{1}'."),Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it:fY(2560,1,"Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it_2560","Value of type '{0}' has no properties in common with type '{1}'. Did you mean to call it?"),Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2:fY(2561,1,"Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_writ_2561","Object literal may only specify known properties, but '{0}' does not exist in type '{1}'. Did you mean to write '{2}'?"),Base_class_expressions_cannot_reference_class_type_parameters:fY(2562,1,"Base_class_expressions_cannot_reference_class_type_parameters_2562","Base class expressions cannot reference class type parameters."),The_containing_function_or_module_body_is_too_large_for_control_flow_analysis:fY(2563,1,"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563","The containing function or module body is too large for control flow analysis."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor:fY(2564,1,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564","Property '{0}' has no initializer and is not definitely assigned in the constructor."),Property_0_is_used_before_being_assigned:fY(2565,1,"Property_0_is_used_before_being_assigned_2565","Property '{0}' is used before being assigned."),A_rest_element_cannot_have_a_property_name:fY(2566,1,"A_rest_element_cannot_have_a_property_name_2566","A rest element cannot have a property name."),Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:fY(2567,1,"Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations_2567","Enum declarations can only merge with namespace or other enum declarations."),Property_0_may_not_exist_on_type_1_Did_you_mean_2:fY(2568,1,"Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568","Property '{0}' may not exist on type '{1}'. Did you mean '{2}'?"),Could_not_find_name_0_Did_you_mean_1:fY(2570,1,"Could_not_find_name_0_Did_you_mean_1_2570","Could not find name '{0}'. Did you mean '{1}'?"),Object_is_of_type_unknown:fY(2571,1,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),A_rest_element_type_must_be_an_array_type:fY(2574,1,"A_rest_element_type_must_be_an_array_type_2574","A rest element type must be an array type."),No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments:fY(2575,1,"No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments_2575","No overload expects {0} arguments, but overloads do exist that expect either {1} or {2} arguments."),Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead:fY(2576,1,"Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead_2576","Property '{0}' does not exist on type '{1}'. Did you mean to access the static member '{2}' instead?"),Return_type_annotation_circularly_references_itself:fY(2577,1,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Unused_ts_expect_error_directive:fY(2578,1,"Unused_ts_expect_error_directive_2578","Unused '@ts-expect-error' directive."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode:fY(2580,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2580","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery:fY(2581,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2581","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha:fY(2582,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2582","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later:fY(2583,1,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2583","Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{1}' or later."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom:fY(2584,1,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2584","Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later:fY(2585,1,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_2585","'{0}' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the 'lib' compiler option to es2015 or later."),Cannot_assign_to_0_because_it_is_a_constant:fY(2588,1,"Cannot_assign_to_0_because_it_is_a_constant_2588","Cannot assign to '{0}' because it is a constant."),Type_instantiation_is_excessively_deep_and_possibly_infinite:fY(2589,1,"Type_instantiation_is_excessively_deep_and_possibly_infinite_2589","Type instantiation is excessively deep and possibly infinite."),Expression_produces_a_union_type_that_is_too_complex_to_represent:fY(2590,1,"Expression_produces_a_union_type_that_is_too_complex_to_represent_2590","Expression produces a union type that is too complex to represent."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig:fY(2591,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2591","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig:fY(2592,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2592","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery` and then add 'jquery' to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig:fY(2593,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2593","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig."),This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag:fY(2594,1,"This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag_2594","This module is declared with 'export =', and can only be used with a default import when using the '{0}' flag."),_0_can_only_be_imported_by_using_a_default_import:fY(2595,1,"_0_can_only_be_imported_by_using_a_default_import_2595","'{0}' can only be imported by using a default import."),_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:fY(2596,1,"_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import_2596","'{0}' can only be imported by turning on the 'esModuleInterop' flag and using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:fY(2597,1,"_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import_2597","'{0}' can only be imported by using a 'require' call or by using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:fY(2598,1,"_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using__2598","'{0}' can only be imported by using a 'require' call or by turning on the 'esModuleInterop' flag and using a default import."),JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist:fY(2602,1,"JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist_2602","JSX element implicitly has type 'any' because the global type 'JSX.Element' does not exist."),Property_0_in_type_1_is_not_assignable_to_type_2:fY(2603,1,"Property_0_in_type_1_is_not_assignable_to_type_2_2603","Property '{0}' in type '{1}' is not assignable to type '{2}'."),JSX_element_type_0_does_not_have_any_construct_or_call_signatures:fY(2604,1,"JSX_element_type_0_does_not_have_any_construct_or_call_signatures_2604","JSX element type '{0}' does not have any construct or call signatures."),Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property:fY(2606,1,"Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606","Property '{0}' of JSX spread attribute is not assignable to target property."),JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property:fY(2607,1,"JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property_2607","JSX element class does not support attributes because it does not have a '{0}' property."),The_global_type_JSX_0_may_not_have_more_than_one_property:fY(2608,1,"The_global_type_JSX_0_may_not_have_more_than_one_property_2608","The global type 'JSX.{0}' may not have more than one property."),JSX_spread_child_must_be_an_array_type:fY(2609,1,"JSX_spread_child_must_be_an_array_type_2609","JSX spread child must be an array type."),_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:fY(2610,1,"_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property_2610","'{0}' is defined as an accessor in class '{1}', but is overridden here in '{2}' as an instance property."),_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor:fY(2611,1,"_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor_2611","'{0}' is defined as a property in class '{1}', but is overridden here in '{2}' as an accessor."),Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration:fY(2612,1,"Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_2612","Property '{0}' will overwrite the base property in '{1}'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier or remove the redundant declaration."),Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead:fY(2613,1,"Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead_2613","Module '{0}' has no default export. Did you mean to use 'import { {1} } from {0}' instead?"),Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead:fY(2614,1,"Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead_2614","Module '{0}' has no exported member '{1}'. Did you mean to use 'import {1} from {0}' instead?"),Type_of_property_0_circularly_references_itself_in_mapped_type_1:fY(2615,1,"Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615","Type of property '{0}' circularly references itself in mapped type '{1}'."),_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:fY(2616,1,"_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import_2616","'{0}' can only be imported by using 'import {1} = require({2})' or a default import."),_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:fY(2617,1,"_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_us_2617","'{0}' can only be imported by using 'import {1} = require({2})' or by turning on the 'esModuleInterop' flag and using a default import."),Source_has_0_element_s_but_target_requires_1:fY(2618,1,"Source_has_0_element_s_but_target_requires_1_2618","Source has {0} element(s) but target requires {1}."),Source_has_0_element_s_but_target_allows_only_1:fY(2619,1,"Source_has_0_element_s_but_target_allows_only_1_2619","Source has {0} element(s) but target allows only {1}."),Target_requires_0_element_s_but_source_may_have_fewer:fY(2620,1,"Target_requires_0_element_s_but_source_may_have_fewer_2620","Target requires {0} element(s) but source may have fewer."),Target_allows_only_0_element_s_but_source_may_have_more:fY(2621,1,"Target_allows_only_0_element_s_but_source_may_have_more_2621","Target allows only {0} element(s) but source may have more."),Source_provides_no_match_for_required_element_at_position_0_in_target:fY(2623,1,"Source_provides_no_match_for_required_element_at_position_0_in_target_2623","Source provides no match for required element at position {0} in target."),Source_provides_no_match_for_variadic_element_at_position_0_in_target:fY(2624,1,"Source_provides_no_match_for_variadic_element_at_position_0_in_target_2624","Source provides no match for variadic element at position {0} in target."),Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target:fY(2625,1,"Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target_2625","Variadic element at position {0} in source does not match element at position {1} in target."),Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target:fY(2626,1,"Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target_2626","Type at position {0} in source is not compatible with type at position {1} in target."),Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target:fY(2627,1,"Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target_2627","Type at positions {0} through {1} in source is not compatible with type at position {2} in target."),Cannot_assign_to_0_because_it_is_an_enum:fY(2628,1,"Cannot_assign_to_0_because_it_is_an_enum_2628","Cannot assign to '{0}' because it is an enum."),Cannot_assign_to_0_because_it_is_a_class:fY(2629,1,"Cannot_assign_to_0_because_it_is_a_class_2629","Cannot assign to '{0}' because it is a class."),Cannot_assign_to_0_because_it_is_a_function:fY(2630,1,"Cannot_assign_to_0_because_it_is_a_function_2630","Cannot assign to '{0}' because it is a function."),Cannot_assign_to_0_because_it_is_a_namespace:fY(2631,1,"Cannot_assign_to_0_because_it_is_a_namespace_2631","Cannot assign to '{0}' because it is a namespace."),Cannot_assign_to_0_because_it_is_an_import:fY(2632,1,"Cannot_assign_to_0_because_it_is_an_import_2632","Cannot assign to '{0}' because it is an import."),JSX_property_access_expressions_cannot_include_JSX_namespace_names:fY(2633,1,"JSX_property_access_expressions_cannot_include_JSX_namespace_names_2633","JSX property access expressions cannot include JSX namespace names"),_0_index_signatures_are_incompatible:fY(2634,1,"_0_index_signatures_are_incompatible_2634","'{0}' index signatures are incompatible."),Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable:fY(2635,1,"Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable_2635","Type '{0}' has no signatures for which the type argument list is applicable."),Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation:fY(2636,1,"Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation_2636","Type '{0}' is not assignable to type '{1}' as implied by variance annotation."),Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_types:fY(2637,1,"Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_t_2637","Variance annotations are only supported in type aliases for object, function, constructor, and mapped types."),Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operator:fY(2638,1,"Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operato_2638","Type '{0}' may represent a primitive value, which is not permitted as the right operand of the 'in' operator."),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:fY(2649,1,"Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity_2649","Cannot augment module '{0}' with value exports because it resolves to a non-module entity."),A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums:fY(2651,1,"A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_memb_2651","A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums."),Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead:fY(2652,1,"Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_d_2652","Merged declaration '{0}' cannot include a default export declaration. Consider adding a separate 'export default {0}' declaration instead."),Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1:fY(2653,1,"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653","Non-abstract class expression does not implement inherited abstract member '{0}' from class '{1}'."),JSX_expressions_must_have_one_parent_element:fY(2657,1,"JSX_expressions_must_have_one_parent_element_2657","JSX expressions must have one parent element."),Type_0_provides_no_match_for_the_signature_1:fY(2658,1,"Type_0_provides_no_match_for_the_signature_1_2658","Type '{0}' provides no match for the signature '{1}'."),super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher:fY(2659,1,"super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_highe_2659","'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher."),super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions:fY(2660,1,"super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions_2660","'super' can only be referenced in members of derived classes or object literal expressions."),Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module:fY(2661,1,"Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module_2661","Cannot export '{0}'. Only local declarations can be exported from a module."),Cannot_find_name_0_Did_you_mean_the_static_member_1_0:fY(2662,1,"Cannot_find_name_0_Did_you_mean_the_static_member_1_0_2662","Cannot find name '{0}'. Did you mean the static member '{1}.{0}'?"),Cannot_find_name_0_Did_you_mean_the_instance_member_this_0:fY(2663,1,"Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663","Cannot find name '{0}'. Did you mean the instance member 'this.{0}'?"),Invalid_module_name_in_augmentation_module_0_cannot_be_found:fY(2664,1,"Invalid_module_name_in_augmentation_module_0_cannot_be_found_2664","Invalid module name in augmentation, module '{0}' cannot be found."),Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented:fY(2665,1,"Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augm_2665","Invalid module name in augmentation. Module '{0}' resolves to an untyped module at '{1}', which cannot be augmented."),Exports_and_export_assignments_are_not_permitted_in_module_augmentations:fY(2666,1,"Exports_and_export_assignments_are_not_permitted_in_module_augmentations_2666","Exports and export assignments are not permitted in module augmentations."),Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module:fY(2667,1,"Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667","Imports are not permitted in module augmentations. Consider moving them to the enclosing external module."),export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible:fY(2668,1,"export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always__2668","'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible."),Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations:fY(2669,1,"Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669","Augmentations for the global scope can only be directly nested in external modules or ambient module declarations."),Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context:fY(2670,1,"Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670","Augmentations for the global scope should have 'declare' modifier unless they appear in already ambient context."),Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity:fY(2671,1,"Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity_2671","Cannot augment module '{0}' because it resolves to a non-module entity."),Cannot_assign_a_0_constructor_type_to_a_1_constructor_type:fY(2672,1,"Cannot_assign_a_0_constructor_type_to_a_1_constructor_type_2672","Cannot assign a '{0}' constructor type to a '{1}' constructor type."),Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration:fY(2673,1,"Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration_2673","Constructor of class '{0}' is private and only accessible within the class declaration."),Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration:fY(2674,1,"Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration_2674","Constructor of class '{0}' is protected and only accessible within the class declaration."),Cannot_extend_a_class_0_Class_constructor_is_marked_as_private:fY(2675,1,"Cannot_extend_a_class_0_Class_constructor_is_marked_as_private_2675","Cannot extend a class '{0}'. Class constructor is marked as private."),Accessors_must_both_be_abstract_or_non_abstract:fY(2676,1,"Accessors_must_both_be_abstract_or_non_abstract_2676","Accessors must both be abstract or non-abstract."),A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type:fY(2677,1,"A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type_2677","A type predicate's type must be assignable to its parameter's type."),Type_0_is_not_comparable_to_type_1:fY(2678,1,"Type_0_is_not_comparable_to_type_1_2678","Type '{0}' is not comparable to type '{1}'."),A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void:fY(2679,1,"A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void_2679","A function that is called with the 'new' keyword cannot have a 'this' type that is 'void'."),A_0_parameter_must_be_the_first_parameter:fY(2680,1,"A_0_parameter_must_be_the_first_parameter_2680","A '{0}' parameter must be the first parameter."),A_constructor_cannot_have_a_this_parameter:fY(2681,1,"A_constructor_cannot_have_a_this_parameter_2681","A constructor cannot have a 'this' parameter."),this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation:fY(2683,1,"this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_2683","'this' implicitly has type 'any' because it does not have a type annotation."),The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1:fY(2684,1,"The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1_2684","The 'this' context of type '{0}' is not assignable to method's 'this' of type '{1}'."),The_this_types_of_each_signature_are_incompatible:fY(2685,1,"The_this_types_of_each_signature_are_incompatible_2685","The 'this' types of each signature are incompatible."),_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead:fY(2686,1,"_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead_2686","'{0}' refers to a UMD global, but the current file is a module. Consider adding an import instead."),All_declarations_of_0_must_have_identical_modifiers:fY(2687,1,"All_declarations_of_0_must_have_identical_modifiers_2687","All declarations of '{0}' must have identical modifiers."),Cannot_find_type_definition_file_for_0:fY(2688,1,"Cannot_find_type_definition_file_for_0_2688","Cannot find type definition file for '{0}'."),Cannot_extend_an_interface_0_Did_you_mean_implements:fY(2689,1,"Cannot_extend_an_interface_0_Did_you_mean_implements_2689","Cannot extend an interface '{0}'. Did you mean 'implements'?"),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0:fY(2690,1,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0_2690","'{0}' only refers to a type, but is being used as a value here. Did you mean to use '{1} in {0}'?"),_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible:fY(2692,1,"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692","'{0}' is a primitive, but '{1}' is a wrapper object. Prefer using '{0}' when possible."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here:fY(2693,1,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_2693","'{0}' only refers to a type, but is being used as a value here."),Namespace_0_has_no_exported_member_1:fY(2694,1,"Namespace_0_has_no_exported_member_1_2694","Namespace '{0}' has no exported member '{1}'."),Left_side_of_comma_operator_is_unused_and_has_no_side_effects:fY(2695,1,"Left_side_of_comma_operator_is_unused_and_has_no_side_effects_2695","Left side of comma operator is unused and has no side effects.",!0),The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead:fY(2696,1,"The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead_2696","The 'Object' type is assignable to very few other types. Did you mean to use the 'any' type instead?"),An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:fY(2697,1,"An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_in_2697","An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option."),Spread_types_may_only_be_created_from_object_types:fY(2698,1,"Spread_types_may_only_be_created_from_object_types_2698","Spread types may only be created from object types."),Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1:fY(2699,1,"Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699","Static property '{0}' conflicts with built-in property 'Function.{0}' of constructor function '{1}'."),Rest_types_may_only_be_created_from_object_types:fY(2700,1,"Rest_types_may_only_be_created_from_object_types_2700","Rest types may only be created from object types."),The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:fY(2701,1,"The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access_2701","The target of an object rest assignment must be a variable or a property access."),_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here:fY(2702,1,"_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702","'{0}' only refers to a type, but is being used as a namespace here."),The_operand_of_a_delete_operator_must_be_a_property_reference:fY(2703,1,"The_operand_of_a_delete_operator_must_be_a_property_reference_2703","The operand of a 'delete' operator must be a property reference."),The_operand_of_a_delete_operator_cannot_be_a_read_only_property:fY(2704,1,"The_operand_of_a_delete_operator_cannot_be_a_read_only_property_2704","The operand of a 'delete' operator cannot be a read-only property."),An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:fY(2705,1,"An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_de_2705","An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option."),Required_type_parameters_may_not_follow_optional_type_parameters:fY(2706,1,"Required_type_parameters_may_not_follow_optional_type_parameters_2706","Required type parameters may not follow optional type parameters."),Generic_type_0_requires_between_1_and_2_type_arguments:fY(2707,1,"Generic_type_0_requires_between_1_and_2_type_arguments_2707","Generic type '{0}' requires between {1} and {2} type arguments."),Cannot_use_namespace_0_as_a_value:fY(2708,1,"Cannot_use_namespace_0_as_a_value_2708","Cannot use namespace '{0}' as a value."),Cannot_use_namespace_0_as_a_type:fY(2709,1,"Cannot_use_namespace_0_as_a_type_2709","Cannot use namespace '{0}' as a type."),_0_are_specified_twice_The_attribute_named_0_will_be_overwritten:fY(2710,1,"_0_are_specified_twice_The_attribute_named_0_will_be_overwritten_2710","'{0}' are specified twice. The attribute named '{0}' will be overwritten."),A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:fY(2711,1,"A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES20_2711","A dynamic import call returns a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option."),A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:fY(2712,1,"A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declarat_2712","A dynamic import call in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option."),Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1:fY(2713,1,"Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_p_2713","Cannot access '{0}.{1}' because '{0}' is a type, but not a namespace. Did you mean to retrieve the type of the property '{1}' in '{0}' with '{0}[\"{1}\"]'?"),The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context:fY(2714,1,"The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context_2714","The expression of an export assignment must be an identifier or qualified name in an ambient context."),Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor:fY(2715,1,"Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor_2715","Abstract property '{0}' in class '{1}' cannot be accessed in the constructor."),Type_parameter_0_has_a_circular_default:fY(2716,1,"Type_parameter_0_has_a_circular_default_2716","Type parameter '{0}' has a circular default."),Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:fY(2717,1,"Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_t_2717","Subsequent property declarations must have the same type. Property '{0}' must be of type '{1}', but here has type '{2}'."),Duplicate_property_0:fY(2718,1,"Duplicate_property_0_2718","Duplicate property '{0}'."),Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated:fY(2719,1,"Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated_2719","Type '{0}' is not assignable to type '{1}'. Two different types with this name exist, but they are unrelated."),Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:fY(2720,1,"Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclas_2720","Class '{0}' incorrectly implements class '{1}'. Did you mean to extend '{1}' and inherit its members as a subclass?"),Cannot_invoke_an_object_which_is_possibly_null:fY(2721,1,"Cannot_invoke_an_object_which_is_possibly_null_2721","Cannot invoke an object which is possibly 'null'."),Cannot_invoke_an_object_which_is_possibly_undefined:fY(2722,1,"Cannot_invoke_an_object_which_is_possibly_undefined_2722","Cannot invoke an object which is possibly 'undefined'."),Cannot_invoke_an_object_which_is_possibly_null_or_undefined:fY(2723,1,"Cannot_invoke_an_object_which_is_possibly_null_or_undefined_2723","Cannot invoke an object which is possibly 'null' or 'undefined'."),_0_has_no_exported_member_named_1_Did_you_mean_2:fY(2724,1,"_0_has_no_exported_member_named_1_Did_you_mean_2_2724","'{0}' has no exported member named '{1}'. Did you mean '{2}'?"),Class_name_cannot_be_Object_when_targeting_ES5_with_module_0:fY(2725,1,"Class_name_cannot_be_Object_when_targeting_ES5_with_module_0_2725","Class name cannot be 'Object' when targeting ES5 with module {0}."),Cannot_find_lib_definition_for_0:fY(2726,1,"Cannot_find_lib_definition_for_0_2726","Cannot find lib definition for '{0}'."),Cannot_find_lib_definition_for_0_Did_you_mean_1:fY(2727,1,"Cannot_find_lib_definition_for_0_Did_you_mean_1_2727","Cannot find lib definition for '{0}'. Did you mean '{1}'?"),_0_is_declared_here:fY(2728,3,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:fY(2729,1,"Property_0_is_used_before_its_initialization_2729","Property '{0}' is used before its initialization."),An_arrow_function_cannot_have_a_this_parameter:fY(2730,1,"An_arrow_function_cannot_have_a_this_parameter_2730","An arrow function cannot have a 'this' parameter."),Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String:fY(2731,1,"Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_i_2731","Implicit conversion of a 'symbol' to a 'string' will fail at runtime. Consider wrapping this expression in 'String(...)'."),Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension:fY(2732,1,"Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732","Cannot find module '{0}'. Consider using '--resolveJsonModule' to import module with '.json' extension."),Property_0_was_also_declared_here:fY(2733,1,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),Are_you_missing_a_semicolon:fY(2734,1,"Are_you_missing_a_semicolon_2734","Are you missing a semicolon?"),Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1:fY(2735,1,"Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1_2735","Did you mean for '{0}' to be constrained to type 'new (...args: any[]) => {1}'?"),Operator_0_cannot_be_applied_to_type_1:fY(2736,1,"Operator_0_cannot_be_applied_to_type_1_2736","Operator '{0}' cannot be applied to type '{1}'."),BigInt_literals_are_not_available_when_targeting_lower_than_ES2020:fY(2737,1,"BigInt_literals_are_not_available_when_targeting_lower_than_ES2020_2737","BigInt literals are not available when targeting lower than ES2020."),An_outer_value_of_this_is_shadowed_by_this_container:fY(2738,3,"An_outer_value_of_this_is_shadowed_by_this_container_2738","An outer value of 'this' is shadowed by this container."),Type_0_is_missing_the_following_properties_from_type_1_Colon_2:fY(2739,1,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_2739","Type '{0}' is missing the following properties from type '{1}': {2}"),Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more:fY(2740,1,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more_2740","Type '{0}' is missing the following properties from type '{1}': {2}, and {3} more."),Property_0_is_missing_in_type_1_but_required_in_type_2:fY(2741,1,"Property_0_is_missing_in_type_1_but_required_in_type_2_2741","Property '{0}' is missing in type '{1}' but required in type '{2}'."),The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary:fY(2742,1,"The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_a_2742","The inferred type of '{0}' cannot be named without a reference to '{1}'. This is likely not portable. A type annotation is necessary."),No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments:fY(2743,1,"No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments_2743","No overload expects {0} type arguments, but overloads do exist that expect either {1} or {2} type arguments."),Type_parameter_defaults_can_only_reference_previously_declared_type_parameters:fY(2744,1,"Type_parameter_defaults_can_only_reference_previously_declared_type_parameters_2744","Type parameter defaults can only reference previously declared type parameters."),This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided:fY(2745,1,"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745","This JSX tag's '{0}' prop expects type '{1}' which requires multiple children, but only a single child was provided."),This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided:fY(2746,1,"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746","This JSX tag's '{0}' prop expects a single child of type '{1}', but multiple children were provided."),_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2:fY(2747,1,"_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_t_2747","'{0}' components don't accept text as child elements. Text in JSX has the type 'string', but the expected type of '{1}' is '{2}'."),Cannot_access_ambient_const_enums_when_0_is_enabled:fY(2748,1,"Cannot_access_ambient_const_enums_when_0_is_enabled_2748","Cannot access ambient const enums when '{0}' is enabled."),_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0:fY(2749,1,"_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0_2749","'{0}' refers to a value, but is being used as a type here. Did you mean 'typeof {0}'?"),The_implementation_signature_is_declared_here:fY(2750,1,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:fY(2751,1,"Circularity_originates_in_type_at_this_location_2751","Circularity originates in type at this location."),The_first_export_default_is_here:fY(2752,1,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:fY(2753,1,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:fY(2754,1,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:fY(2755,1,"No_constituent_of_type_0_is_callable_2755","No constituent of type '{0}' is callable."),Not_all_constituents_of_type_0_are_callable:fY(2756,1,"Not_all_constituents_of_type_0_are_callable_2756","Not all constituents of type '{0}' are callable."),Type_0_has_no_call_signatures:fY(2757,1,"Type_0_has_no_call_signatures_2757","Type '{0}' has no call signatures."),Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:fY(2758,1,"Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_2758","Each member of the union type '{0}' has signatures, but none of those signatures are compatible with each other."),No_constituent_of_type_0_is_constructable:fY(2759,1,"No_constituent_of_type_0_is_constructable_2759","No constituent of type '{0}' is constructable."),Not_all_constituents_of_type_0_are_constructable:fY(2760,1,"Not_all_constituents_of_type_0_are_constructable_2760","Not all constituents of type '{0}' are constructable."),Type_0_has_no_construct_signatures:fY(2761,1,"Type_0_has_no_construct_signatures_2761","Type '{0}' has no construct signatures."),Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other:fY(2762,1,"Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_2762","Each member of the union type '{0}' has construct signatures, but none of those signatures are compatible with each other."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:fY(2763,1,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_s_2763","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but for-of will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:fY(2764,1,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_al_2764","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array spread will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:fY(2765,1,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring__2765","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array destructuring will always send '{0}'."),Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:fY(2766,1,"Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_co_2766","Cannot delegate iteration to value because the 'next' method of its iterator expects type '{1}', but the containing generator will always send '{0}'."),The_0_property_of_an_iterator_must_be_a_method:fY(2767,1,"The_0_property_of_an_iterator_must_be_a_method_2767","The '{0}' property of an iterator must be a method."),The_0_property_of_an_async_iterator_must_be_a_method:fY(2768,1,"The_0_property_of_an_async_iterator_must_be_a_method_2768","The '{0}' property of an async iterator must be a method."),No_overload_matches_this_call:fY(2769,1,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:fY(2770,1,"The_last_overload_gave_the_following_error_2770","The last overload gave the following error."),The_last_overload_is_declared_here:fY(2771,1,"The_last_overload_is_declared_here_2771","The last overload is declared here."),Overload_0_of_1_2_gave_the_following_error:fY(2772,1,"Overload_0_of_1_2_gave_the_following_error_2772","Overload {0} of {1}, '{2}', gave the following error."),Did_you_forget_to_use_await:fY(2773,1,"Did_you_forget_to_use_await_2773","Did you forget to use 'await'?"),This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead:fY(2774,1,"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774","This condition will always return true since this function is always defined. Did you mean to call it instead?"),Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation:fY(2775,1,"Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation_2775","Assertions require every name in the call target to be declared with an explicit type annotation."),Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name:fY(2776,1,"Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776","Assertions require the call target to be an identifier or qualified name."),The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access:fY(2777,1,"The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access_2777","The operand of an increment or decrement operator may not be an optional property access."),The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access:fY(2778,1,"The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access_2778","The target of an object rest assignment may not be an optional property access."),The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access:fY(2779,1,"The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779","The left-hand side of an assignment expression may not be an optional property access."),The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access:fY(2780,1,"The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access_2780","The left-hand side of a 'for...in' statement may not be an optional property access."),The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access:fY(2781,1,"The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access_2781","The left-hand side of a 'for...of' statement may not be an optional property access."),_0_needs_an_explicit_type_annotation:fY(2782,3,"_0_needs_an_explicit_type_annotation_2782","'{0}' needs an explicit type annotation."),_0_is_specified_more_than_once_so_this_usage_will_be_overwritten:fY(2783,1,"_0_is_specified_more_than_once_so_this_usage_will_be_overwritten_2783","'{0}' is specified more than once, so this usage will be overwritten."),get_and_set_accessors_cannot_declare_this_parameters:fY(2784,1,"get_and_set_accessors_cannot_declare_this_parameters_2784","'get' and 'set' accessors cannot declare 'this' parameters."),This_spread_always_overwrites_this_property:fY(2785,1,"This_spread_always_overwrites_this_property_2785","This spread always overwrites this property."),_0_cannot_be_used_as_a_JSX_component:fY(2786,1,"_0_cannot_be_used_as_a_JSX_component_2786","'{0}' cannot be used as a JSX component."),Its_return_type_0_is_not_a_valid_JSX_element:fY(2787,1,"Its_return_type_0_is_not_a_valid_JSX_element_2787","Its return type '{0}' is not a valid JSX element."),Its_instance_type_0_is_not_a_valid_JSX_element:fY(2788,1,"Its_instance_type_0_is_not_a_valid_JSX_element_2788","Its instance type '{0}' is not a valid JSX element."),Its_element_type_0_is_not_a_valid_JSX_element:fY(2789,1,"Its_element_type_0_is_not_a_valid_JSX_element_2789","Its element type '{0}' is not a valid JSX element."),The_operand_of_a_delete_operator_must_be_optional:fY(2790,1,"The_operand_of_a_delete_operator_must_be_optional_2790","The operand of a 'delete' operator must be optional."),Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later:fY(2791,1,"Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_lat_2791","Exponentiation cannot be performed on 'bigint' values unless the 'target' option is set to 'es2016' or later."),Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_to_the_paths_option:fY(2792,1,"Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_t_2792","Cannot find module '{0}'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?"),The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible:fY(2793,1,"The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_2793","The call would have succeeded against this implementation, but implementation signatures of overloads are not externally visible."),Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise:fY(2794,1,"Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise_2794","Expected {0} arguments, but got {1}. Did you forget to include 'void' in your type argument to 'Promise'?"),The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types:fY(2795,1,"The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types_2795","The 'intrinsic' keyword can only be used to declare compiler provided intrinsic types."),It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tagged_template_expression_which_cannot_be_invoked:fY(2796,1,"It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tag_2796","It is likely that you are missing a comma to separate these two template expressions. They form a tagged template expression which cannot be invoked."),A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract:fY(2797,1,"A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_2797","A mixin class that extends from a type variable containing an abstract construct signature must also be declared 'abstract'."),The_declaration_was_marked_as_deprecated_here:fY(2798,1,"The_declaration_was_marked_as_deprecated_here_2798","The declaration was marked as deprecated here."),Type_produces_a_tuple_type_that_is_too_large_to_represent:fY(2799,1,"Type_produces_a_tuple_type_that_is_too_large_to_represent_2799","Type produces a tuple type that is too large to represent."),Expression_produces_a_tuple_type_that_is_too_large_to_represent:fY(2800,1,"Expression_produces_a_tuple_type_that_is_too_large_to_represent_2800","Expression produces a tuple type that is too large to represent."),This_condition_will_always_return_true_since_this_0_is_always_defined:fY(2801,1,"This_condition_will_always_return_true_since_this_0_is_always_defined_2801","This condition will always return true since this '{0}' is always defined."),Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher:fY(2802,1,"Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es201_2802","Type '{0}' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher."),Cannot_assign_to_private_method_0_Private_methods_are_not_writable:fY(2803,1,"Cannot_assign_to_private_method_0_Private_methods_are_not_writable_2803","Cannot assign to private method '{0}'. Private methods are not writable."),Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name:fY(2804,1,"Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name_2804","Duplicate identifier '{0}'. Static and instance elements cannot share the same private name."),Private_accessor_was_defined_without_a_getter:fY(2806,1,"Private_accessor_was_defined_without_a_getter_2806","Private accessor was defined without a getter."),This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0:fY(2807,1,"This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_o_2807","This syntax requires an imported helper named '{1}' with {2} parameters, which is not compatible with the one in '{0}'. Consider upgrading your version of '{0}'."),A_get_accessor_must_be_at_least_as_accessible_as_the_setter:fY(2808,1,"A_get_accessor_must_be_at_least_as_accessible_as_the_setter_2808","A get accessor must be at least as accessible as the setter"),Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_whole_assignment_in_parentheses:fY(2809,1,"Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_d_2809","Declaration or statement expected. This '=' follows a block of statements, so if you intended to write a destructuring assignment, you might need to wrap the whole assignment in parentheses."),Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments:fY(2810,1,"Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_2810","Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments."),Initializer_for_property_0:fY(2811,1,"Initializer_for_property_0_2811","Initializer for property '{0}'"),Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom:fY(2812,1,"Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom_2812","Property '{0}' does not exist on type '{1}'. Try changing the 'lib' compiler option to include 'dom'."),Class_declaration_cannot_implement_overload_list_for_0:fY(2813,1,"Class_declaration_cannot_implement_overload_list_for_0_2813","Class declaration cannot implement overload list for '{0}'."),Function_with_bodies_can_only_merge_with_classes_that_are_ambient:fY(2814,1,"Function_with_bodies_can_only_merge_with_classes_that_are_ambient_2814","Function with bodies can only merge with classes that are ambient."),arguments_cannot_be_referenced_in_property_initializers:fY(2815,1,"arguments_cannot_be_referenced_in_property_initializers_2815","'arguments' cannot be referenced in property initializers."),Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class:fY(2816,1,"Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class_2816","Cannot use 'this' in a static property initializer of a decorated class."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block:fY(2817,1,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block_2817","Property '{0}' has no initializer and is not definitely assigned in a class static block."),Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers:fY(2818,1,"Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializer_2818","Duplicate identifier '{0}'. Compiler reserves name '{1}' when emitting 'super' references in static initializers."),Namespace_name_cannot_be_0:fY(2819,1,"Namespace_name_cannot_be_0_2819","Namespace name cannot be '{0}'."),Type_0_is_not_assignable_to_type_1_Did_you_mean_2:fY(2820,1,"Type_0_is_not_assignable_to_type_1_Did_you_mean_2_2820","Type '{0}' is not assignable to type '{1}'. Did you mean '{2}'?"),Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext:fY(2821,1,"Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext_2821","Import assertions are only supported when the '--module' option is set to 'esnext' or 'nodenext'."),Import_assertions_cannot_be_used_with_type_only_imports_or_exports:fY(2822,1,"Import_assertions_cannot_be_used_with_type_only_imports_or_exports_2822","Import assertions cannot be used with type-only imports or exports."),Cannot_find_namespace_0_Did_you_mean_1:fY(2833,1,"Cannot_find_namespace_0_Did_you_mean_1_2833","Cannot find namespace '{0}'. Did you mean '{1}'?"),Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node16_or_nodenext_Consider_adding_an_extension_to_the_import_path:fY(2834,1,"Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2834","Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path."),Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node16_or_nodenext_Did_you_mean_0:fY(2835,1,"Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2835","Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '{0}'?"),Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls:fY(2836,1,"Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls_2836","Import assertions are not allowed on statements that transpile to commonjs 'require' calls."),Import_assertion_values_must_be_string_literal_expressions:fY(2837,1,"Import_assertion_values_must_be_string_literal_expressions_2837","Import assertion values must be string literal expressions."),All_declarations_of_0_must_have_identical_constraints:fY(2838,1,"All_declarations_of_0_must_have_identical_constraints_2838","All declarations of '{0}' must have identical constraints."),This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value:fY(2839,1,"This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839","This condition will always return '{0}' since JavaScript compares objects by reference, not value."),An_interface_cannot_extend_a_primitive_type_like_0_an_interface_can_only_extend_named_types_and_classes:fY(2840,1,"An_interface_cannot_extend_a_primitive_type_like_0_an_interface_can_only_extend_named_types_and_clas_2840","An interface cannot extend a primitive type like '{0}'; an interface can only extend named types and classes"),The_type_of_this_expression_cannot_be_named_without_a_resolution_mode_assertion_which_is_an_unstable_feature_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next:fY(2841,1,"The_type_of_this_expression_cannot_be_named_without_a_resolution_mode_assertion_which_is_an_unstable_2841","The type of this expression cannot be named without a 'resolution-mode' assertion, which is an unstable feature. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'."),_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation:fY(2842,1,"_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation_2842","'{0}' is an unused renaming of '{1}'. Did you intend to use it as a type annotation?"),We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here:fY(2843,1,"We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here_2843","We can only write a type for '{0}' by adding a type for the entire parameter here."),Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:fY(2844,1,"Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2844","Type of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."),This_condition_will_always_return_0:fY(2845,1,"This_condition_will_always_return_0_2845","This condition will always return '{0}'."),A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_file_0_instead:fY(2846,1,"A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_f_2846","A declaration file cannot be imported without 'import type'. Did you mean to import an implementation file '{0}' instead?"),Import_declaration_0_is_using_private_name_1:fY(4e3,1,"Import_declaration_0_is_using_private_name_1_4000","Import declaration '{0}' is using private name '{1}'."),Type_parameter_0_of_exported_class_has_or_is_using_private_name_1:fY(4002,1,"Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002","Type parameter '{0}' of exported class has or is using private name '{1}'."),Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1:fY(4004,1,"Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004","Type parameter '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:fY(4006,1,"Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4006","Type parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:fY(4008,1,"Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4008","Type parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:fY(4010,1,"Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4010","Type parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:fY(4012,1,"Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4012","Type parameter '{0}' of public method from exported class has or is using private name '{1}'."),Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:fY(4014,1,"Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4014","Type parameter '{0}' of method from exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_function_has_or_is_using_private_name_1:fY(4016,1,"Type_parameter_0_of_exported_function_has_or_is_using_private_name_1_4016","Type parameter '{0}' of exported function has or is using private name '{1}'."),Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:fY(4019,1,"Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019","Implements clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_0_has_or_is_using_private_name_1:fY(4020,1,"extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020","'extends' clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_has_or_is_using_private_name_0:fY(4021,1,"extends_clause_of_exported_class_has_or_is_using_private_name_0_4021","'extends' clause of exported class has or is using private name '{0}'."),extends_clause_of_exported_interface_0_has_or_is_using_private_name_1:fY(4022,1,"extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022","'extends' clause of exported interface '{0}' has or is using private name '{1}'."),Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:fY(4023,1,"Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4023","Exported variable '{0}' has or is using name '{1}' from external module {2} but cannot be named."),Exported_variable_0_has_or_is_using_name_1_from_private_module_2:fY(4024,1,"Exported_variable_0_has_or_is_using_name_1_from_private_module_2_4024","Exported variable '{0}' has or is using name '{1}' from private module '{2}'."),Exported_variable_0_has_or_is_using_private_name_1:fY(4025,1,"Exported_variable_0_has_or_is_using_private_name_1_4025","Exported variable '{0}' has or is using private name '{1}'."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:fY(4026,1,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot__4026","Public static property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:fY(4027,1,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4027","Public static property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:fY(4028,1,"Public_static_property_0_of_exported_class_has_or_is_using_private_name_1_4028","Public static property '{0}' of exported class has or is using private name '{1}'."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:fY(4029,1,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_name_4029","Public property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:fY(4030,1,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4030","Public property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_property_0_of_exported_class_has_or_is_using_private_name_1:fY(4031,1,"Public_property_0_of_exported_class_has_or_is_using_private_name_1_4031","Public property '{0}' of exported class has or is using private name '{1}'."),Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:fY(4032,1,"Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4032","Property '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Property_0_of_exported_interface_has_or_is_using_private_name_1:fY(4033,1,"Property_0_of_exported_interface_has_or_is_using_private_name_1_4033","Property '{0}' of exported interface has or is using private name '{1}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:fY(4034,1,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_mod_4034","Parameter type of public static setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:fY(4035,1,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1_4035","Parameter type of public static setter '{0}' from exported class has or is using private name '{1}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:fY(4036,1,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4036","Parameter type of public setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:fY(4037,1,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1_4037","Parameter type of public setter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:fY(4038,1,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_modul_4038","Return type of public static getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:fY(4039,1,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_4039","Return type of public static getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:fY(4040,1,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1_4040","Return type of public static getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:fY(4041,1,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_4041","Return type of public getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:fY(4042,1,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4042","Return type of public getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1:fY(4043,1,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1_4043","Return type of public getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:fY(4044,1,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_mod_4044","Return type of constructor signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0:fY(4045,1,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0_4045","Return type of constructor signature from exported interface has or is using private name '{0}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:fY(4046,1,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4046","Return type of call signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0:fY(4047,1,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0_4047","Return type of call signature from exported interface has or is using private name '{0}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:fY(4048,1,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4048","Return type of index signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0:fY(4049,1,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0_4049","Return type of index signature from exported interface has or is using private name '{0}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:fY(4050,1,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module__4050","Return type of public static method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:fY(4051,1,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4051","Return type of public static method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:fY(4052,1,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0_4052","Return type of public static method from exported class has or is using private name '{0}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:fY(4053,1,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_c_4053","Return type of public method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:fY(4054,1,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4054","Return type of public method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:fY(4055,1,"Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0_4055","Return type of public method from exported class has or is using private name '{0}'."),Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:fY(4056,1,"Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4056","Return type of method from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0:fY(4057,1,"Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0_4057","Return type of method from exported interface has or is using private name '{0}'."),Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:fY(4058,1,"Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named_4058","Return type of exported function has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:fY(4059,1,"Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1_4059","Return type of exported function has or is using name '{0}' from private module '{1}'."),Return_type_of_exported_function_has_or_is_using_private_name_0:fY(4060,1,"Return_type_of_exported_function_has_or_is_using_private_name_0_4060","Return type of exported function has or is using private name '{0}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:fY(4061,1,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_can_4061","Parameter '{0}' of constructor from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:fY(4062,1,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2_4062","Parameter '{0}' of constructor from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1:fY(4063,1,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1_4063","Parameter '{0}' of constructor from exported class has or is using private name '{1}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:fY(4064,1,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_mod_4064","Parameter '{0}' of constructor signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:fY(4065,1,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4065","Parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:fY(4066,1,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4066","Parameter '{0}' of call signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:fY(4067,1,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4067","Parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:fY(4068,1,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module__4068","Parameter '{0}' of public static method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:fY(4069,1,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4069","Parameter '{0}' of public static method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:fY(4070,1,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4070","Parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:fY(4071,1,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_c_4071","Parameter '{0}' of public method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:fY(4072,1,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4072","Parameter '{0}' of public method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:fY(4073,1,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4073","Parameter '{0}' of public method from exported class has or is using private name '{1}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:fY(4074,1,"Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4074","Parameter '{0}' of method from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:fY(4075,1,"Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4075","Parameter '{0}' of method from exported interface has or is using private name '{1}'."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:fY(4076,1,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4076","Parameter '{0}' of exported function has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:fY(4077,1,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2_4077","Parameter '{0}' of exported function has or is using name '{1}' from private module '{2}'."),Parameter_0_of_exported_function_has_or_is_using_private_name_1:fY(4078,1,"Parameter_0_of_exported_function_has_or_is_using_private_name_1_4078","Parameter '{0}' of exported function has or is using private name '{1}'."),Exported_type_alias_0_has_or_is_using_private_name_1:fY(4081,1,"Exported_type_alias_0_has_or_is_using_private_name_1_4081","Exported type alias '{0}' has or is using private name '{1}'."),Default_export_of_the_module_has_or_is_using_private_name_0:fY(4082,1,"Default_export_of_the_module_has_or_is_using_private_name_0_4082","Default export of the module has or is using private name '{0}'."),Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1:fY(4083,1,"Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1_4083","Type parameter '{0}' of exported type alias has or is using private name '{1}'."),Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:fY(4084,1,"Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2_4084","Exported type alias '{0}' has or is using private name '{1}' from module {2}."),Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1:fY(4085,1,"Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1_4085","Extends clause for inferred type '{0}' has or is using private name '{1}'."),Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict:fY(4090,1,"Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_librar_4090","Conflicting definitions for '{0}' found at '{1}' and '{2}'. Consider installing a specific version of this library to resolve the conflict."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:fY(4091,1,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4091","Parameter '{0}' of index signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1:fY(4092,1,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1_4092","Parameter '{0}' of index signature from exported interface has or is using private name '{1}'."),Property_0_of_exported_class_expression_may_not_be_private_or_protected:fY(4094,1,"Property_0_of_exported_class_expression_may_not_be_private_or_protected_4094","Property '{0}' of exported class expression may not be private or protected."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:fY(4095,1,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_4095","Public static method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:fY(4096,1,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4096","Public static method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:fY(4097,1,"Public_static_method_0_of_exported_class_has_or_is_using_private_name_1_4097","Public static method '{0}' of exported class has or is using private name '{1}'."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:fY(4098,1,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098","Public method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:fY(4099,1,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099","Public method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_method_0_of_exported_class_has_or_is_using_private_name_1:fY(4100,1,"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100","Public method '{0}' of exported class has or is using private name '{1}'."),Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:fY(4101,1,"Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4101","Method '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Method_0_of_exported_interface_has_or_is_using_private_name_1:fY(4102,1,"Method_0_of_exported_interface_has_or_is_using_private_name_1_4102","Method '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1:fY(4103,1,"Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1_4103","Type parameter '{0}' of exported mapped object type is using private name '{1}'."),The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1:fY(4104,1,"The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1_4104","The type '{0}' is 'readonly' and cannot be assigned to the mutable type '{1}'."),Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter:fY(4105,1,"Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter_4105","Private or protected member '{0}' cannot be accessed on a type parameter."),Parameter_0_of_accessor_has_or_is_using_private_name_1:fY(4106,1,"Parameter_0_of_accessor_has_or_is_using_private_name_1_4106","Parameter '{0}' of accessor has or is using private name '{1}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:fY(4107,1,"Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2_4107","Parameter '{0}' of accessor has or is using name '{1}' from private module '{2}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:fY(4108,1,"Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4108","Parameter '{0}' of accessor has or is using name '{1}' from external module '{2}' but cannot be named."),Type_arguments_for_0_circularly_reference_themselves:fY(4109,1,"Type_arguments_for_0_circularly_reference_themselves_4109","Type arguments for '{0}' circularly reference themselves."),Tuple_type_arguments_circularly_reference_themselves:fY(4110,1,"Tuple_type_arguments_circularly_reference_themselves_4110","Tuple type arguments circularly reference themselves."),Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0:fY(4111,1,"Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0_4111","Property '{0}' comes from an index signature, so it must be accessed with ['{0}']."),This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class:fY(4112,1,"This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another__4112","This member cannot have an 'override' modifier because its containing class '{0}' does not extend another class."),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0:fY(4113,1,"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_4113","This member cannot have an 'override' modifier because it is not declared in the base class '{0}'."),This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0:fY(4114,1,"This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0_4114","This member must have an 'override' modifier because it overrides a member in the base class '{0}'."),This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0:fY(4115,1,"This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115","This parameter property must have an 'override' modifier because it overrides a member in base class '{0}'."),This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0:fY(4116,1,"This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared__4116","This member must have an 'override' modifier because it overrides an abstract method that is declared in the base class '{0}'."),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:fY(4117,1,"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you__4117","This member cannot have an 'override' modifier because it is not declared in the base class '{0}'. Did you mean '{1}'?"),The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized:fY(4118,1,"The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized_4118","The type of this node cannot be serialized because its property '{0}' cannot be serialized."),This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:fY(4119,1,"This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_4119","This member must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'."),This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:fY(4120,1,"This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_4120","This parameter property must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class:fY(4121,1,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_4121","This member cannot have a JSDoc comment with an '@override' tag because its containing class '{0}' does not extend another class."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0:fY(4122,1,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4122","This member cannot have a JSDoc comment with an '@override' tag because it is not declared in the base class '{0}'."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:fY(4123,1,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4123","This member cannot have a JSDoc comment with an 'override' tag because it is not declared in the base class '{0}'. Did you mean '{1}'?"),Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next:fY(4124,1,"Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_w_4124","Compiler option '{0}' of value '{1}' is unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'."),resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next:fY(4125,1,"resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_wi_4125","'resolution-mode' assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'."),The_current_host_does_not_support_the_0_option:fY(5001,1,"The_current_host_does_not_support_the_0_option_5001","The current host does not support the '{0}' option."),Cannot_find_the_common_subdirectory_path_for_the_input_files:fY(5009,1,"Cannot_find_the_common_subdirectory_path_for_the_input_files_5009","Cannot find the common subdirectory path for the input files."),File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:fY(5010,1,"File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0_5010","File specification cannot end in a recursive directory wildcard ('**'): '{0}'."),Cannot_read_file_0_Colon_1:fY(5012,1,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Failed_to_parse_file_0_Colon_1:fY(5014,1,"Failed_to_parse_file_0_Colon_1_5014","Failed to parse file '{0}': {1}."),Unknown_compiler_option_0:fY(5023,1,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:fY(5024,1,"Compiler_option_0_requires_a_value_of_type_1_5024","Compiler option '{0}' requires a value of type {1}."),Unknown_compiler_option_0_Did_you_mean_1:fY(5025,1,"Unknown_compiler_option_0_Did_you_mean_1_5025","Unknown compiler option '{0}'. Did you mean '{1}'?"),Could_not_write_file_0_Colon_1:fY(5033,1,"Could_not_write_file_0_Colon_1_5033","Could not write file '{0}': {1}."),Option_project_cannot_be_mixed_with_source_files_on_a_command_line:fY(5042,1,"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042","Option 'project' cannot be mixed with source files on a command line."),Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher:fY(5047,1,"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047","Option 'isolatedModules' can only be used when either option '--module' is provided or option 'target' is 'ES2015' or higher."),Option_0_cannot_be_specified_when_option_target_is_ES3:fY(5048,1,"Option_0_cannot_be_specified_when_option_target_is_ES3_5048","Option '{0}' cannot be specified when option 'target' is 'ES3'."),Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided:fY(5051,1,"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051","Option '{0} can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided."),Option_0_cannot_be_specified_without_specifying_option_1:fY(5052,1,"Option_0_cannot_be_specified_without_specifying_option_1_5052","Option '{0}' cannot be specified without specifying option '{1}'."),Option_0_cannot_be_specified_with_option_1:fY(5053,1,"Option_0_cannot_be_specified_with_option_1_5053","Option '{0}' cannot be specified with option '{1}'."),A_tsconfig_json_file_is_already_defined_at_Colon_0:fY(5054,1,"A_tsconfig_json_file_is_already_defined_at_Colon_0_5054","A 'tsconfig.json' file is already defined at: '{0}'."),Cannot_write_file_0_because_it_would_overwrite_input_file:fY(5055,1,"Cannot_write_file_0_because_it_would_overwrite_input_file_5055","Cannot write file '{0}' because it would overwrite input file."),Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files:fY(5056,1,"Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files_5056","Cannot write file '{0}' because it would be overwritten by multiple input files."),Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0:fY(5057,1,"Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0_5057","Cannot find a tsconfig.json file at the specified directory: '{0}'."),The_specified_path_does_not_exist_Colon_0:fY(5058,1,"The_specified_path_does_not_exist_Colon_0_5058","The specified path does not exist: '{0}'."),Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier:fY(5059,1,"Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier_5059","Invalid value for '--reactNamespace'. '{0}' is not a valid identifier."),Pattern_0_can_have_at_most_one_Asterisk_character:fY(5061,1,"Pattern_0_can_have_at_most_one_Asterisk_character_5061","Pattern '{0}' can have at most one '*' character."),Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character:fY(5062,1,"Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character_5062","Substitution '{0}' in pattern '{1}' can have at most one '*' character."),Substitutions_for_pattern_0_should_be_an_array:fY(5063,1,"Substitutions_for_pattern_0_should_be_an_array_5063","Substitutions for pattern '{0}' should be an array."),Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2:fY(5064,1,"Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2_5064","Substitution '{0}' for pattern '{1}' has incorrect type, expected 'string', got '{2}'."),File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:fY(5065,1,"File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildca_5065","File specification cannot contain a parent directory ('..') that appears after a recursive directory wildcard ('**'): '{0}'."),Substitutions_for_pattern_0_shouldn_t_be_an_empty_array:fY(5066,1,"Substitutions_for_pattern_0_shouldn_t_be_an_empty_array_5066","Substitutions for pattern '{0}' shouldn't be an empty array."),Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name:fY(5067,1,"Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name_5067","Invalid value for 'jsxFactory'. '{0}' is not a valid identifier or qualified-name."),Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig:fY(5068,1,"Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript__5068","Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig."),Option_0_cannot_be_specified_without_specifying_option_1_or_option_2:fY(5069,1,"Option_0_cannot_be_specified_without_specifying_option_1_or_option_2_5069","Option '{0}' cannot be specified without specifying option '{1}' or option '{2}'."),Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic:fY(5070,1,"Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic_5070","Option '--resolveJsonModule' cannot be specified when 'moduleResolution' is set to 'classic'."),Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext:fY(5071,1,"Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_5071","Option '--resolveJsonModule' can only be specified when module code generation is 'commonjs', 'amd', 'es2015' or 'esNext'."),Unknown_build_option_0:fY(5072,1,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:fY(5073,1,"Build_option_0_requires_a_value_of_type_1_5073","Build option '{0}' requires a value of type {1}."),Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified:fY(5074,1,"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074","Option '--incremental' can only be specified using tsconfig, emitting to single file or when option '--tsBuildInfoFile' is specified."),_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2:fY(5075,1,"_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_5075","'{0}' is assignable to the constraint of type '{1}', but '{1}' could be instantiated with a different subtype of constraint '{2}'."),_0_and_1_operations_cannot_be_mixed_without_parentheses:fY(5076,1,"_0_and_1_operations_cannot_be_mixed_without_parentheses_5076","'{0}' and '{1}' operations cannot be mixed without parentheses."),Unknown_build_option_0_Did_you_mean_1:fY(5077,1,"Unknown_build_option_0_Did_you_mean_1_5077","Unknown build option '{0}'. Did you mean '{1}'?"),Unknown_watch_option_0:fY(5078,1,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:fY(5079,1,"Unknown_watch_option_0_Did_you_mean_1_5079","Unknown watch option '{0}'. Did you mean '{1}'?"),Watch_option_0_requires_a_value_of_type_1:fY(5080,1,"Watch_option_0_requires_a_value_of_type_1_5080","Watch option '{0}' requires a value of type {1}."),Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0:fY(5081,1,"Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0_5081","Cannot find a tsconfig.json file at the current directory: {0}."),_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1:fY(5082,1,"_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1_5082","'{0}' could be instantiated with an arbitrary type which could be unrelated to '{1}'."),Cannot_read_file_0:fY(5083,1,"Cannot_read_file_0_5083","Cannot read file '{0}'."),Tuple_members_must_all_have_names_or_all_not_have_names:fY(5084,1,"Tuple_members_must_all_have_names_or_all_not_have_names_5084","Tuple members must all have names or all not have names."),A_tuple_member_cannot_be_both_optional_and_rest:fY(5085,1,"A_tuple_member_cannot_be_both_optional_and_rest_5085","A tuple member cannot be both optional and rest."),A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type:fY(5086,1,"A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_c_5086","A labeled tuple element is declared as optional with a question mark after the name and before the colon, rather than after the type."),A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type:fY(5087,1,"A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type_5087","A labeled tuple element is declared as rest with a '...' before the name, rather than before the type."),The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary:fY(5088,1,"The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialize_5088","The inferred type of '{0}' references a type with a cyclic structure which cannot be trivially serialized. A type annotation is necessary."),Option_0_cannot_be_specified_when_option_jsx_is_1:fY(5089,1,"Option_0_cannot_be_specified_when_option_jsx_is_1_5089","Option '{0}' cannot be specified when option 'jsx' is '{1}'."),Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash:fY(5090,1,"Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash_5090","Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?"),Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled:fY(5091,1,"Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled_5091","Option 'preserveConstEnums' cannot be disabled when '{0}' is enabled."),The_root_value_of_a_0_file_must_be_an_object:fY(5092,1,"The_root_value_of_a_0_file_must_be_an_object_5092","The root value of a '{0}' file must be an object."),Compiler_option_0_may_only_be_used_with_build:fY(5093,1,"Compiler_option_0_may_only_be_used_with_build_5093","Compiler option '--{0}' may only be used with '--build'."),Compiler_option_0_may_not_be_used_with_build:fY(5094,1,"Compiler_option_0_may_not_be_used_with_build_5094","Compiler option '--{0}' may not be used with '--build'."),Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later:fY(5095,1,"Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later_5095","Option '{0}' can only be used when 'module' is set to 'es2015' or later."),Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set:fY(5096,1,"Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set_5096","Option 'allowImportingTsExtensions' can only be used when either 'noEmit' or 'emitDeclarationOnly' is set."),An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled:fY(5097,1,"An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled_5097","An import path can only end with a '{0}' extension when 'allowImportingTsExtensions' is enabled."),Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler:fY(5098,1,"Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler_5098","Option '{0}' can only be used when 'moduleResolution' is set to 'node16', 'nodenext', or 'bundler'."),Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprecations_Colon_2_to_silence_this_error:fY(5101,1,"Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprec_5101","Option '{0}' is deprecated and will stop functioning in TypeScript {1}. Specify compilerOption '\"ignoreDeprecations\": \"{2}\"' to silence this error."),Option_0_has_been_removed_Please_remove_it_from_your_configuration:fY(5102,1,"Option_0_has_been_removed_Please_remove_it_from_your_configuration_5102","Option '{0}' has been removed. Please remove it from your configuration."),Invalid_value_for_ignoreDeprecations:fY(5103,1,"Invalid_value_for_ignoreDeprecations_5103","Invalid value for '--ignoreDeprecations'."),Option_0_is_redundant_and_cannot_be_specified_with_option_1:fY(5104,1,"Option_0_is_redundant_and_cannot_be_specified_with_option_1_5104","Option '{0}' is redundant and cannot be specified with option '{1}'."),Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System:fY(5105,1,"Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System_5105","Option 'verbatimModuleSyntax' cannot be used when 'module' is set to 'UMD', 'AMD', or 'System'."),Use_0_instead:fY(5106,3,"Use_0_instead_5106","Use '{0}' instead."),Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDeprecations_Colon_3_to_silence_this_error:fY(5107,1,"Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDepr_5107","Option '{0}={1}' is deprecated and will stop functioning in TypeScript {2}. Specify compilerOption '\"ignoreDeprecations\": \"{3}\"' to silence this error."),Option_0_1_has_been_removed_Please_remove_it_from_your_configuration:fY(5108,1,"Option_0_1_has_been_removed_Please_remove_it_from_your_configuration_5108","Option '{0}={1}' has been removed. Please remove it from your configuration."),Generates_a_sourcemap_for_each_corresponding_d_ts_file:fY(6e3,3,"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000","Generates a sourcemap for each corresponding '.d.ts' file."),Concatenate_and_emit_output_to_single_file:fY(6001,3,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:fY(6002,3,"Generates_corresponding_d_ts_file_6002","Generates corresponding '.d.ts' file."),Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations:fY(6004,3,"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004","Specify the location where debugger should locate TypeScript files instead of source locations."),Watch_input_files:fY(6005,3,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:fY(6006,3,"Redirect_output_structure_to_the_directory_6006","Redirect output structure to the directory."),Do_not_erase_const_enum_declarations_in_generated_code:fY(6007,3,"Do_not_erase_const_enum_declarations_in_generated_code_6007","Do not erase const enum declarations in generated code."),Do_not_emit_outputs_if_any_errors_were_reported:fY(6008,3,"Do_not_emit_outputs_if_any_errors_were_reported_6008","Do not emit outputs if any errors were reported."),Do_not_emit_comments_to_output:fY(6009,3,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:fY(6010,3,"Do_not_emit_outputs_6010","Do not emit outputs."),Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking:fY(6011,3,"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011","Allow default imports from modules with no default export. This does not affect code emit, just typechecking."),Skip_type_checking_of_declaration_files:fY(6012,3,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:fY(6013,3,"Do_not_resolve_the_real_path_of_symlinks_6013","Do not resolve the real path of symlinks."),Only_emit_d_ts_declaration_files:fY(6014,3,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version:fY(6015,3,"Specify_ECMAScript_target_version_6015","Specify ECMAScript target version."),Specify_module_code_generation:fY(6016,3,"Specify_module_code_generation_6016","Specify module code generation."),Print_this_message:fY(6017,3,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:fY(6019,3,"Print_the_compiler_s_version_6019","Print the compiler's version."),Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json:fY(6020,3,"Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json_6020","Compile the project given the path to its configuration file, or to a folder with a 'tsconfig.json'."),Syntax_Colon_0:fY(6023,3,"Syntax_Colon_0_6023","Syntax: {0}"),options:fY(6024,3,"options_6024","options"),file:fY(6025,3,"file_6025","file"),Examples_Colon_0:fY(6026,3,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:fY(6027,3,"Options_Colon_6027","Options:"),Version_0:fY(6029,3,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:fY(6030,3,"Insert_command_line_options_and_files_from_a_file_6030","Insert command line options and files from a file."),Starting_compilation_in_watch_mode:fY(6031,3,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:fY(6032,3,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:fY(6034,3,"KIND_6034","KIND"),FILE:fY(6035,3,"FILE_6035","FILE"),VERSION:fY(6036,3,"VERSION_6036","VERSION"),LOCATION:fY(6037,3,"LOCATION_6037","LOCATION"),DIRECTORY:fY(6038,3,"DIRECTORY_6038","DIRECTORY"),STRATEGY:fY(6039,3,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:fY(6040,3,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Errors_Files:fY(6041,3,"Errors_Files_6041","Errors Files"),Generates_corresponding_map_file:fY(6043,3,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:fY(6044,1,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:fY(6045,1,"Unterminated_quoted_string_in_response_file_0_6045","Unterminated quoted string in response file '{0}'."),Argument_for_0_option_must_be_Colon_1:fY(6046,1,"Argument_for_0_option_must_be_Colon_1_6046","Argument for '{0}' option must be: {1}."),Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1:fY(6048,1,"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048","Locale must be of the form or -. For example '{0}' or '{1}'."),Unable_to_open_file_0:fY(6050,1,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:fY(6051,1,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:fY(6052,3,"Raise_error_on_expressions_and_declarations_with_an_implied_any_type_6052","Raise error on expressions and declarations with an implied 'any' type."),File_0_not_found:fY(6053,1,"File_0_not_found_6053","File '{0}' not found."),File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1:fY(6054,1,"File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1_6054","File '{0}' has an unsupported extension. The only supported extensions are {1}."),Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures:fY(6055,3,"Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055","Suppress noImplicitAny errors for indexing objects lacking index signatures."),Do_not_emit_declarations_for_code_that_has_an_internal_annotation:fY(6056,3,"Do_not_emit_declarations_for_code_that_has_an_internal_annotation_6056","Do not emit declarations for code that has an '@internal' annotation."),Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir:fY(6058,3,"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058","Specify the root directory of input files. Use to control the output directory structure with --outDir."),File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files:fY(6059,1,"File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files_6059","File '{0}' is not under 'rootDir' '{1}'. 'rootDir' is expected to contain all source files."),Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix:fY(6060,3,"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060","Specify the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix)."),NEWLINE:fY(6061,3,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:fY(6064,1,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'null' on command line."),Enables_experimental_support_for_ES7_decorators:fY(6065,3,"Enables_experimental_support_for_ES7_decorators_6065","Enables experimental support for ES7 decorators."),Enables_experimental_support_for_emitting_type_metadata_for_decorators:fY(6066,3,"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066","Enables experimental support for emitting type metadata for decorators."),Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file:fY(6070,3,"Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file_6070","Initializes a TypeScript project and creates a tsconfig.json file."),Successfully_created_a_tsconfig_json_file:fY(6071,3,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:fY(6072,3,"Suppress_excess_property_checks_for_object_literals_6072","Suppress excess property checks for object literals."),Stylize_errors_and_messages_using_color_and_context_experimental:fY(6073,3,"Stylize_errors_and_messages_using_color_and_context_experimental_6073","Stylize errors and messages using color and context (experimental)."),Do_not_report_errors_on_unused_labels:fY(6074,3,"Do_not_report_errors_on_unused_labels_6074","Do not report errors on unused labels."),Report_error_when_not_all_code_paths_in_function_return_a_value:fY(6075,3,"Report_error_when_not_all_code_paths_in_function_return_a_value_6075","Report error when not all code paths in function return a value."),Report_errors_for_fallthrough_cases_in_switch_statement:fY(6076,3,"Report_errors_for_fallthrough_cases_in_switch_statement_6076","Report errors for fallthrough cases in switch statement."),Do_not_report_errors_on_unreachable_code:fY(6077,3,"Do_not_report_errors_on_unreachable_code_6077","Do not report errors on unreachable code."),Disallow_inconsistently_cased_references_to_the_same_file:fY(6078,3,"Disallow_inconsistently_cased_references_to_the_same_file_6078","Disallow inconsistently-cased references to the same file."),Specify_library_files_to_be_included_in_the_compilation:fY(6079,3,"Specify_library_files_to_be_included_in_the_compilation_6079","Specify library files to be included in the compilation."),Specify_JSX_code_generation:fY(6080,3,"Specify_JSX_code_generation_6080","Specify JSX code generation."),File_0_has_an_unsupported_extension_so_skipping_it:fY(6081,3,"File_0_has_an_unsupported_extension_so_skipping_it_6081","File '{0}' has an unsupported extension, so skipping it."),Only_amd_and_system_modules_are_supported_alongside_0:fY(6082,1,"Only_amd_and_system_modules_are_supported_alongside_0_6082","Only 'amd' and 'system' modules are supported alongside --{0}."),Base_directory_to_resolve_non_absolute_module_names:fY(6083,3,"Base_directory_to_resolve_non_absolute_module_names_6083","Base directory to resolve non-absolute module names."),Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit:fY(6084,3,"Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react__6084","[Deprecated] Use '--jsxFactory' instead. Specify the object invoked for createElement when targeting 'react' JSX emit"),Enable_tracing_of_the_name_resolution_process:fY(6085,3,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:fY(6086,3,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:fY(6087,3,"Explicitly_specified_module_resolution_kind_Colon_0_6087","Explicitly specified module resolution kind: '{0}'."),Module_resolution_kind_is_not_specified_using_0:fY(6088,3,"Module_resolution_kind_is_not_specified_using_0_6088","Module resolution kind is not specified, using '{0}'."),Module_name_0_was_successfully_resolved_to_1:fY(6089,3,"Module_name_0_was_successfully_resolved_to_1_6089","======== Module name '{0}' was successfully resolved to '{1}'. ========"),Module_name_0_was_not_resolved:fY(6090,3,"Module_name_0_was_not_resolved_6090","======== Module name '{0}' was not resolved. ========"),paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0:fY(6091,3,"paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0_6091","'paths' option is specified, looking for a pattern to match module name '{0}'."),Module_name_0_matched_pattern_1:fY(6092,3,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:fY(6093,3,"Trying_substitution_0_candidate_module_location_Colon_1_6093","Trying substitution '{0}', candidate module location: '{1}'."),Resolving_module_name_0_relative_to_base_url_1_2:fY(6094,3,"Resolving_module_name_0_relative_to_base_url_1_2_6094","Resolving module name '{0}' relative to base url '{1}' - '{2}'."),Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_types_Colon_1:fY(6095,3,"Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_types_Colon_1_6095","Loading module as file / folder, candidate module location '{0}', target file types: {1}."),File_0_does_not_exist:fY(6096,3,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exists_use_it_as_a_name_resolution_result:fY(6097,3,"File_0_exists_use_it_as_a_name_resolution_result_6097","File '{0}' exists - use it as a name resolution result."),Loading_module_0_from_node_modules_folder_target_file_types_Colon_1:fY(6098,3,"Loading_module_0_from_node_modules_folder_target_file_types_Colon_1_6098","Loading module '{0}' from 'node_modules' folder, target file types: {1}."),Found_package_json_at_0:fY(6099,3,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:fY(6100,3,"package_json_does_not_have_a_0_field_6100","'package.json' does not have a '{0}' field."),package_json_has_0_field_1_that_references_2:fY(6101,3,"package_json_has_0_field_1_that_references_2_6101","'package.json' has '{0}' field '{1}' that references '{2}'."),Allow_javascript_files_to_be_compiled:fY(6102,3,"Allow_javascript_files_to_be_compiled_6102","Allow javascript files to be compiled."),Checking_if_0_is_the_longest_matching_prefix_for_1_2:fY(6104,3,"Checking_if_0_is_the_longest_matching_prefix_for_1_2_6104","Checking if '{0}' is the longest matching prefix for '{1}' - '{2}'."),Expected_type_of_0_field_in_package_json_to_be_1_got_2:fY(6105,3,"Expected_type_of_0_field_in_package_json_to_be_1_got_2_6105","Expected type of '{0}' field in 'package.json' to be '{1}', got '{2}'."),baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1:fY(6106,3,"baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1_6106","'baseUrl' option is set to '{0}', using this value to resolve non-relative module name '{1}'."),rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0:fY(6107,3,"rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0_6107","'rootDirs' option is set, using it to resolve relative module name '{0}'."),Longest_matching_prefix_for_0_is_1:fY(6108,3,"Longest_matching_prefix_for_0_is_1_6108","Longest matching prefix for '{0}' is '{1}'."),Loading_0_from_the_root_dir_1_candidate_location_2:fY(6109,3,"Loading_0_from_the_root_dir_1_candidate_location_2_6109","Loading '{0}' from the root dir '{1}', candidate location '{2}'."),Trying_other_entries_in_rootDirs:fY(6110,3,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:fY(6111,3,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Do_not_emit_use_strict_directives_in_module_output:fY(6112,3,"Do_not_emit_use_strict_directives_in_module_output_6112","Do not emit 'use strict' directives in module output."),Enable_strict_null_checks:fY(6113,3,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:fY(6114,1,"Unknown_option_excludes_Did_you_mean_exclude_6114","Unknown option 'excludes'. Did you mean 'exclude'?"),Raise_error_on_this_expressions_with_an_implied_any_type:fY(6115,3,"Raise_error_on_this_expressions_with_an_implied_any_type_6115","Raise error on 'this' expressions with an implied 'any' type."),Resolving_type_reference_directive_0_containing_file_1_root_directory_2:fY(6116,3,"Resolving_type_reference_directive_0_containing_file_1_root_directory_2_6116","======== Resolving type reference directive '{0}', containing file '{1}', root directory '{2}'. ========"),Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2:fY(6119,3,"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119","======== Type reference directive '{0}' was successfully resolved to '{1}', primary: {2}. ========"),Type_reference_directive_0_was_not_resolved:fY(6120,3,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:fY(6121,3,"Resolving_with_primary_search_path_0_6121","Resolving with primary search path '{0}'."),Root_directory_cannot_be_determined_skipping_primary_search_paths:fY(6122,3,"Root_directory_cannot_be_determined_skipping_primary_search_paths_6122","Root directory cannot be determined, skipping primary search paths."),Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set:fY(6123,3,"Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set_6123","======== Resolving type reference directive '{0}', containing file '{1}', root directory not set. ========"),Type_declaration_files_to_be_included_in_compilation:fY(6124,3,"Type_declaration_files_to_be_included_in_compilation_6124","Type declaration files to be included in compilation."),Looking_up_in_node_modules_folder_initial_location_0:fY(6125,3,"Looking_up_in_node_modules_folder_initial_location_0_6125","Looking up in 'node_modules' folder, initial location '{0}'."),Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder:fY(6126,3,"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126","Containing file is not specified and root directory cannot be determined, skipping lookup in 'node_modules' folder."),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1:fY(6127,3,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1_6127","======== Resolving type reference directive '{0}', containing file not set, root directory '{1}'. ========"),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set:fY(6128,3,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set_6128","======== Resolving type reference directive '{0}', containing file not set, root directory not set. ========"),Resolving_real_path_for_0_result_1:fY(6130,3,"Resolving_real_path_for_0_result_1_6130","Resolving real path for '{0}', result '{1}'."),Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system:fY(6131,1,"Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system_6131","Cannot compile modules using option '{0}' unless the '--module' flag is 'amd' or 'system'."),File_name_0_has_a_1_extension_stripping_it:fY(6132,3,"File_name_0_has_a_1_extension_stripping_it_6132","File name '{0}' has a '{1}' extension - stripping it."),_0_is_declared_but_its_value_is_never_read:fY(6133,1,"_0_is_declared_but_its_value_is_never_read_6133","'{0}' is declared but its value is never read.",!0),Report_errors_on_unused_locals:fY(6134,3,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:fY(6135,3,"Report_errors_on_unused_parameters_6135","Report errors on unused parameters."),The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files:fY(6136,3,"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136","The maximum dependency depth to search under node_modules and load JavaScript files."),Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1:fY(6137,1,"Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1_6137","Cannot import type declaration files. Consider importing '{0}' instead of '{1}'."),Property_0_is_declared_but_its_value_is_never_read:fY(6138,1,"Property_0_is_declared_but_its_value_is_never_read_6138","Property '{0}' is declared but its value is never read.",!0),Import_emit_helpers_from_tslib:fY(6139,3,"Import_emit_helpers_from_tslib_6139","Import emit helpers from 'tslib'."),Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2:fY(6140,1,"Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140","Auto discovery for typings is enabled in project '{0}'. Running extra resolution pass for module '{1}' using cache location '{2}'."),Parse_in_strict_mode_and_emit_use_strict_for_each_source_file:fY(6141,3,"Parse_in_strict_mode_and_emit_use_strict_for_each_source_file_6141",'Parse in strict mode and emit "use strict" for each source file.'),Module_0_was_resolved_to_1_but_jsx_is_not_set:fY(6142,1,"Module_0_was_resolved_to_1_but_jsx_is_not_set_6142","Module '{0}' was resolved to '{1}', but '--jsx' is not set."),Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1:fY(6144,3,"Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1_6144","Module '{0}' was resolved as locally declared ambient module in file '{1}'."),Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified:fY(6145,3,"Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified_6145","Module '{0}' was resolved as ambient module declared in '{1}' since this file was not modified."),Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h:fY(6146,3,"Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h_6146","Specify the JSX factory function to use when targeting 'react' JSX emit, e.g. 'React.createElement' or 'h'."),Resolution_for_module_0_was_found_in_cache_from_location_1:fY(6147,3,"Resolution_for_module_0_was_found_in_cache_from_location_1_6147","Resolution for module '{0}' was found in cache from location '{1}'."),Directory_0_does_not_exist_skipping_all_lookups_in_it:fY(6148,3,"Directory_0_does_not_exist_skipping_all_lookups_in_it_6148","Directory '{0}' does not exist, skipping all lookups in it."),Show_diagnostic_information:fY(6149,3,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:fY(6150,3,"Show_verbose_diagnostic_information_6150","Show verbose diagnostic information."),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:fY(6151,3,"Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file_6151","Emit a single file with source maps instead of having a separate file."),Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set:fY(6152,3,"Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap__6152","Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set."),Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule:fY(6153,3,"Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule_6153","Transpile each file as a separate module (similar to 'ts.transpileModule')."),Print_names_of_generated_files_part_of_the_compilation:fY(6154,3,"Print_names_of_generated_files_part_of_the_compilation_6154","Print names of generated files part of the compilation."),Print_names_of_files_part_of_the_compilation:fY(6155,3,"Print_names_of_files_part_of_the_compilation_6155","Print names of files part of the compilation."),The_locale_used_when_displaying_messages_to_the_user_e_g_en_us:fY(6156,3,"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156","The locale used when displaying messages to the user (e.g. 'en-us')"),Do_not_generate_custom_helper_functions_like_extends_in_compiled_output:fY(6157,3,"Do_not_generate_custom_helper_functions_like_extends_in_compiled_output_6157","Do not generate custom helper functions like '__extends' in compiled output."),Do_not_include_the_default_library_file_lib_d_ts:fY(6158,3,"Do_not_include_the_default_library_file_lib_d_ts_6158","Do not include the default library file (lib.d.ts)."),Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files:fY(6159,3,"Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files_6159","Do not add triple-slash references or imported modules to the list of compiled files."),Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files:fY(6160,3,"Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files_6160","[Deprecated] Use '--skipLibCheck' instead. Skip type checking of default library declaration files."),List_of_folders_to_include_type_definitions_from:fY(6161,3,"List_of_folders_to_include_type_definitions_from_6161","List of folders to include type definitions from."),Disable_size_limitations_on_JavaScript_projects:fY(6162,3,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:fY(6163,3,"The_character_set_of_the_input_files_6163","The character set of the input files."),Do_not_truncate_error_messages:fY(6165,3,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:fY(6166,3,"Output_directory_for_generated_declaration_files_6166","Output directory for generated declaration files."),A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl:fY(6167,3,"A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl_6167","A series of entries which re-map imports to lookup locations relative to the 'baseUrl'."),List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime:fY(6168,3,"List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime_6168","List of root folders whose combined content represents the structure of the project at runtime."),Show_all_compiler_options:fY(6169,3,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:fY(6170,3,"Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file_6170","[Deprecated] Use '--outFile' instead. Concatenate and emit output to single file"),Command_line_Options:fY(6171,3,"Command_line_Options_6171","Command-line Options"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3:fY(6179,3,"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179","Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'."),Enable_all_strict_type_checking_options:fY(6180,3,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),Scoped_package_detected_looking_in_0:fY(6182,3,"Scoped_package_detected_looking_in_0_6182","Scoped package detected, looking in '{0}'"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:fY(6183,3,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_6183","Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:fY(6184,3,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package__6184","Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."),Enable_strict_checking_of_function_types:fY(6186,3,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:fY(6187,3,"Enable_strict_checking_of_property_initialization_in_classes_6187","Enable strict checking of property initialization in classes."),Numeric_separators_are_not_allowed_here:fY(6188,1,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:fY(6189,1,"Multiple_consecutive_numeric_separators_are_not_permitted_6189","Multiple consecutive numeric separators are not permitted."),Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen:fY(6191,3,"Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen_6191","Whether to keep outdated console output in watch mode instead of clearing the screen."),All_imports_in_import_declaration_are_unused:fY(6192,1,"All_imports_in_import_declaration_are_unused_6192","All imports in import declaration are unused.",!0),Found_1_error_Watching_for_file_changes:fY(6193,3,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:fY(6194,3,"Found_0_errors_Watching_for_file_changes_6194","Found {0} errors. Watching for file changes."),Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols:fY(6195,3,"Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195","Resolve 'keyof' to string valued property names only (no numbers or symbols)."),_0_is_declared_but_never_used:fY(6196,1,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",!0),Include_modules_imported_with_json_extension:fY(6197,3,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:fY(6198,1,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",!0),All_variables_are_unused:fY(6199,1,"All_variables_are_unused_6199","All variables are unused.",!0),Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0:fY(6200,1,"Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0_6200","Definitions of the following identifiers conflict with those in another file: {0}"),Conflicts_are_in_this_file:fY(6201,3,"Conflicts_are_in_this_file_6201","Conflicts are in this file."),Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0:fY(6202,1,"Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0_6202","Project references may not form a circular graph. Cycle detected: {0}"),_0_was_also_declared_here:fY(6203,3,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:fY(6204,3,"and_here_6204","and here."),All_type_parameters_are_unused:fY(6205,1,"All_type_parameters_are_unused_6205","All type parameters are unused."),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:fY(6206,3,"package_json_has_a_typesVersions_field_with_version_specific_path_mappings_6206","'package.json' has a 'typesVersions' field with version-specific path mappings."),package_json_does_not_have_a_typesVersions_entry_that_matches_version_0:fY(6207,3,"package_json_does_not_have_a_typesVersions_entry_that_matches_version_0_6207","'package.json' does not have a 'typesVersions' entry that matches version '{0}'."),package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2:fY(6208,3,"package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_ma_6208","'package.json' has a 'typesVersions' entry '{0}' that matches compiler version '{1}', looking for a pattern to match module name '{2}'."),package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range:fY(6209,3,"package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range_6209","'package.json' has a 'typesVersions' entry '{0}' that is not a valid semver range."),An_argument_for_0_was_not_provided:fY(6210,3,"An_argument_for_0_was_not_provided_6210","An argument for '{0}' was not provided."),An_argument_matching_this_binding_pattern_was_not_provided:fY(6211,3,"An_argument_matching_this_binding_pattern_was_not_provided_6211","An argument matching this binding pattern was not provided."),Did_you_mean_to_call_this_expression:fY(6212,3,"Did_you_mean_to_call_this_expression_6212","Did you mean to call this expression?"),Did_you_mean_to_use_new_with_this_expression:fY(6213,3,"Did_you_mean_to_use_new_with_this_expression_6213","Did you mean to use 'new' with this expression?"),Enable_strict_bind_call_and_apply_methods_on_functions:fY(6214,3,"Enable_strict_bind_call_and_apply_methods_on_functions_6214","Enable strict 'bind', 'call', and 'apply' methods on functions."),Using_compiler_options_of_project_reference_redirect_0:fY(6215,3,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:fY(6216,3,"Found_1_error_6216","Found 1 error."),Found_0_errors:fY(6217,3,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:fY(6218,3,"Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2_6218","======== Module name '{0}' was successfully resolved to '{1}' with Package ID '{2}'. ========"),Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3:fY(6219,3,"Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219","======== Type reference directive '{0}' was successfully resolved to '{1}' with Package ID '{2}', primary: {3}. ========"),package_json_had_a_falsy_0_field:fY(6220,3,"package_json_had_a_falsy_0_field_6220","'package.json' had a falsy '{0}' field."),Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects:fY(6221,3,"Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects_6221","Disable use of source files instead of declaration files from referenced projects."),Emit_class_fields_with_Define_instead_of_Set:fY(6222,3,"Emit_class_fields_with_Define_instead_of_Set_6222","Emit class fields with Define instead of Set."),Generates_a_CPU_profile:fY(6223,3,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Disable_solution_searching_for_this_project:fY(6224,3,"Disable_solution_searching_for_this_project_6224","Disable solution searching for this project."),Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling_UseFsEvents_UseFsEventsOnParentDirectory:fY(6225,3,"Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_Dynami_6225","Specify strategy for watching file: 'FixedPollingInterval' (default), 'PriorityPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling', 'UseFsEvents', 'UseFsEventsOnParentDirectory'."),Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively_Colon_UseFsEvents_default_FixedPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling:fY(6226,3,"Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively__6226","Specify strategy for watching directory on platforms that don't support recursive watching natively: 'UseFsEvents' (default), 'FixedPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling'."),Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_FixedInterval_default_PriorityInterval_DynamicPriority_FixedChunkSize:fY(6227,3,"Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_6227","Specify strategy for creating a polling watch when it fails to create using file system events: 'FixedInterval' (default), 'PriorityInterval', 'DynamicPriority', 'FixedChunkSize'."),Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3:fY(6229,1,"Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3_6229","Tag '{0}' expects at least '{1}' arguments, but the JSX factory '{2}' provides at most '{3}'."),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line:fY(6230,1,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'false' or 'null' on command line."),Could_not_resolve_the_path_0_with_the_extensions_Colon_1:fY(6231,1,"Could_not_resolve_the_path_0_with_the_extensions_Colon_1_6231","Could not resolve the path '{0}' with the extensions: {1}."),Declaration_augments_declaration_in_another_file_This_cannot_be_serialized:fY(6232,1,"Declaration_augments_declaration_in_another_file_This_cannot_be_serialized_6232","Declaration augments declaration in another file. This cannot be serialized."),This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file:fY(6233,1,"This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233","This is the declaration being augmented. Consider moving the augmenting declaration into the same file."),This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without:fY(6234,1,"This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234","This expression is not callable because it is a 'get' accessor. Did you mean to use it without '()'?"),Disable_loading_referenced_projects:fY(6235,3,"Disable_loading_referenced_projects_6235","Disable loading referenced projects."),Arguments_for_the_rest_parameter_0_were_not_provided:fY(6236,1,"Arguments_for_the_rest_parameter_0_were_not_provided_6236","Arguments for the rest parameter '{0}' were not provided."),Generates_an_event_trace_and_a_list_of_types:fY(6237,3,"Generates_an_event_trace_and_a_list_of_types_6237","Generates an event trace and a list of types."),Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react:fY(6238,1,"Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238","Specify the module specifier to be used to import the 'jsx' and 'jsxs' factory functions from. eg, react"),File_0_exists_according_to_earlier_cached_lookups:fY(6239,3,"File_0_exists_according_to_earlier_cached_lookups_6239","File '{0}' exists according to earlier cached lookups."),File_0_does_not_exist_according_to_earlier_cached_lookups:fY(6240,3,"File_0_does_not_exist_according_to_earlier_cached_lookups_6240","File '{0}' does not exist according to earlier cached lookups."),Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1:fY(6241,3,"Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241","Resolution for type reference directive '{0}' was found in cache from location '{1}'."),Resolving_type_reference_directive_0_containing_file_1:fY(6242,3,"Resolving_type_reference_directive_0_containing_file_1_6242","======== Resolving type reference directive '{0}', containing file '{1}'. ========"),Interpret_optional_property_types_as_written_rather_than_adding_undefined:fY(6243,3,"Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243","Interpret optional property types as written, rather than adding 'undefined'."),Modules:fY(6244,3,"Modules_6244","Modules"),File_Management:fY(6245,3,"File_Management_6245","File Management"),Emit:fY(6246,3,"Emit_6246","Emit"),JavaScript_Support:fY(6247,3,"JavaScript_Support_6247","JavaScript Support"),Type_Checking:fY(6248,3,"Type_Checking_6248","Type Checking"),Editor_Support:fY(6249,3,"Editor_Support_6249","Editor Support"),Watch_and_Build_Modes:fY(6250,3,"Watch_and_Build_Modes_6250","Watch and Build Modes"),Compiler_Diagnostics:fY(6251,3,"Compiler_Diagnostics_6251","Compiler Diagnostics"),Interop_Constraints:fY(6252,3,"Interop_Constraints_6252","Interop Constraints"),Backwards_Compatibility:fY(6253,3,"Backwards_Compatibility_6253","Backwards Compatibility"),Language_and_Environment:fY(6254,3,"Language_and_Environment_6254","Language and Environment"),Projects:fY(6255,3,"Projects_6255","Projects"),Output_Formatting:fY(6256,3,"Output_Formatting_6256","Output Formatting"),Completeness:fY(6257,3,"Completeness_6257","Completeness"),_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file:fY(6258,1,"_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file_6258","'{0}' should be set inside the 'compilerOptions' object of the config json file"),Found_1_error_in_1:fY(6259,3,"Found_1_error_in_1_6259","Found 1 error in {1}"),Found_0_errors_in_the_same_file_starting_at_Colon_1:fY(6260,3,"Found_0_errors_in_the_same_file_starting_at_Colon_1_6260","Found {0} errors in the same file, starting at: {1}"),Found_0_errors_in_1_files:fY(6261,3,"Found_0_errors_in_1_files_6261","Found {0} errors in {1} files."),File_name_0_has_a_1_extension_looking_up_2_instead:fY(6262,3,"File_name_0_has_a_1_extension_looking_up_2_instead_6262","File name '{0}' has a '{1}' extension - looking up '{2}' instead."),Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set:fY(6263,1,"Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set_6263","Module '{0}' was resolved to '{1}', but '--allowArbitraryExtensions' is not set."),Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present:fY(6264,3,"Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present_6264","Enable importing files with any extension, provided a declaration file is present."),Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve:fY(6270,3,"Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve_6270","Directory '{0}' has no containing package.json scope. Imports will not resolve."),Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1:fY(6271,3,"Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6271","Import specifier '{0}' does not exist in package.json scope at path '{1}'."),Invalid_import_specifier_0_has_no_possible_resolutions:fY(6272,3,"Invalid_import_specifier_0_has_no_possible_resolutions_6272","Invalid import specifier '{0}' has no possible resolutions."),package_json_scope_0_has_no_imports_defined:fY(6273,3,"package_json_scope_0_has_no_imports_defined_6273","package.json scope '{0}' has no imports defined."),package_json_scope_0_explicitly_maps_specifier_1_to_null:fY(6274,3,"package_json_scope_0_explicitly_maps_specifier_1_to_null_6274","package.json scope '{0}' explicitly maps specifier '{1}' to null."),package_json_scope_0_has_invalid_type_for_target_of_specifier_1:fY(6275,3,"package_json_scope_0_has_invalid_type_for_target_of_specifier_1_6275","package.json scope '{0}' has invalid type for target of specifier '{1}'"),Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1:fY(6276,3,"Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6276","Export specifier '{0}' does not exist in package.json scope at path '{1}'."),Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_if_npm_library_needs_configuration_update:fY(6277,3,"Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_i_6277","Resolution of non-relative name failed; trying with modern Node resolution features disabled to see if npm library needs configuration update."),There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The_1_library_may_need_to_update_its_package_json_or_typings:fY(6278,3,"There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The__6278","There are types at '{0}', but this result could not be resolved when respecting package.json \"exports\". The '{1}' library may need to update its package.json or typings."),Enable_project_compilation:fY(6302,3,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:fY(6304,1,"Composite_projects_may_not_disable_declaration_emit_6304","Composite projects may not disable declaration emit."),Output_file_0_has_not_been_built_from_source_file_1:fY(6305,1,"Output_file_0_has_not_been_built_from_source_file_1_6305","Output file '{0}' has not been built from source file '{1}'."),Referenced_project_0_must_have_setting_composite_Colon_true:fY(6306,1,"Referenced_project_0_must_have_setting_composite_Colon_true_6306","Referenced project '{0}' must have setting \"composite\": true."),File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern:fY(6307,1,"File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_includ_6307","File '{0}' is not listed within the file list of project '{1}'. Projects must list all files or use an 'include' pattern."),Cannot_prepend_project_0_because_it_does_not_have_outFile_set:fY(6308,1,"Cannot_prepend_project_0_because_it_does_not_have_outFile_set_6308","Cannot prepend project '{0}' because it does not have 'outFile' set"),Output_file_0_from_project_1_does_not_exist:fY(6309,1,"Output_file_0_from_project_1_does_not_exist_6309","Output file '{0}' from project '{1}' does not exist"),Referenced_project_0_may_not_disable_emit:fY(6310,1,"Referenced_project_0_may_not_disable_emit_6310","Referenced project '{0}' may not disable emit."),Project_0_is_out_of_date_because_output_1_is_older_than_input_2:fY(6350,3,"Project_0_is_out_of_date_because_output_1_is_older_than_input_2_6350","Project '{0}' is out of date because output '{1}' is older than input '{2}'"),Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2:fY(6351,3,"Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2_6351","Project '{0}' is up to date because newest input '{1}' is older than output '{2}'"),Project_0_is_out_of_date_because_output_file_1_does_not_exist:fY(6352,3,"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352","Project '{0}' is out of date because output file '{1}' does not exist"),Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date:fY(6353,3,"Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date_6353","Project '{0}' is out of date because its dependency '{1}' is out of date"),Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies:fY(6354,3,"Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies_6354","Project '{0}' is up to date with .d.ts files from its dependencies"),Projects_in_this_build_Colon_0:fY(6355,3,"Projects_in_this_build_Colon_0_6355","Projects in this build: {0}"),A_non_dry_build_would_delete_the_following_files_Colon_0:fY(6356,3,"A_non_dry_build_would_delete_the_following_files_Colon_0_6356","A non-dry build would delete the following files: {0}"),A_non_dry_build_would_build_project_0:fY(6357,3,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:fY(6358,3,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:fY(6359,3,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),Project_0_is_up_to_date:fY(6361,3,"Project_0_is_up_to_date_6361","Project '{0}' is up to date"),Skipping_build_of_project_0_because_its_dependency_1_has_errors:fY(6362,3,"Skipping_build_of_project_0_because_its_dependency_1_has_errors_6362","Skipping build of project '{0}' because its dependency '{1}' has errors"),Project_0_can_t_be_built_because_its_dependency_1_has_errors:fY(6363,3,"Project_0_can_t_be_built_because_its_dependency_1_has_errors_6363","Project '{0}' can't be built because its dependency '{1}' has errors"),Build_one_or_more_projects_and_their_dependencies_if_out_of_date:fY(6364,3,"Build_one_or_more_projects_and_their_dependencies_if_out_of_date_6364","Build one or more projects and their dependencies, if out of date"),Delete_the_outputs_of_all_projects:fY(6365,3,"Delete_the_outputs_of_all_projects_6365","Delete the outputs of all projects."),Show_what_would_be_built_or_deleted_if_specified_with_clean:fY(6367,3,"Show_what_would_be_built_or_deleted_if_specified_with_clean_6367","Show what would be built (or deleted, if specified with '--clean')"),Option_build_must_be_the_first_command_line_argument:fY(6369,1,"Option_build_must_be_the_first_command_line_argument_6369","Option '--build' must be the first command line argument."),Options_0_and_1_cannot_be_combined:fY(6370,1,"Options_0_and_1_cannot_be_combined_6370","Options '{0}' and '{1}' cannot be combined."),Updating_unchanged_output_timestamps_of_project_0:fY(6371,3,"Updating_unchanged_output_timestamps_of_project_0_6371","Updating unchanged output timestamps of project '{0}'..."),Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed:fY(6372,3,"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372","Project '{0}' is out of date because output of its dependency '{1}' has changed"),Updating_output_of_project_0:fY(6373,3,"Updating_output_of_project_0_6373","Updating output of project '{0}'..."),A_non_dry_build_would_update_timestamps_for_output_of_project_0:fY(6374,3,"A_non_dry_build_would_update_timestamps_for_output_of_project_0_6374","A non-dry build would update timestamps for output of project '{0}'"),A_non_dry_build_would_update_output_of_project_0:fY(6375,3,"A_non_dry_build_would_update_output_of_project_0_6375","A non-dry build would update output of project '{0}'"),Cannot_update_output_of_project_0_because_there_was_error_reading_file_1:fY(6376,3,"Cannot_update_output_of_project_0_because_there_was_error_reading_file_1_6376","Cannot update output of project '{0}' because there was error reading file '{1}'"),Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1:fY(6377,1,"Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1_6377","Cannot write file '{0}' because it will overwrite '.tsbuildinfo' file generated by referenced project '{1}'"),Composite_projects_may_not_disable_incremental_compilation:fY(6379,1,"Composite_projects_may_not_disable_incremental_compilation_6379","Composite projects may not disable incremental compilation."),Specify_file_to_store_incremental_compilation_information:fY(6380,3,"Specify_file_to_store_incremental_compilation_information_6380","Specify file to store incremental compilation information"),Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2:fY(6381,3,"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381","Project '{0}' is out of date because output for it was generated with version '{1}' that differs with current version '{2}'"),Skipping_build_of_project_0_because_its_dependency_1_was_not_built:fY(6382,3,"Skipping_build_of_project_0_because_its_dependency_1_was_not_built_6382","Skipping build of project '{0}' because its dependency '{1}' was not built"),Project_0_can_t_be_built_because_its_dependency_1_was_not_built:fY(6383,3,"Project_0_can_t_be_built_because_its_dependency_1_was_not_built_6383","Project '{0}' can't be built because its dependency '{1}' was not built"),Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:fY(6384,3,"Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_di_6384","Have recompiles in '--incremental' and '--watch' assume that changes within a file will only affect files directly depending on it."),_0_is_deprecated:fY(6385,2,"_0_is_deprecated_6385","'{0}' is deprecated.",void 0,void 0,!0),Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found:fY(6386,3,"Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_nativ_6386","Performance timings for '--diagnostics' or '--extendedDiagnostics' are not available in this session. A native implementation of the Web Performance API could not be found."),The_signature_0_of_1_is_deprecated:fY(6387,2,"The_signature_0_of_1_is_deprecated_6387","The signature '{0}' of '{1}' is deprecated.",void 0,void 0,!0),Project_0_is_being_forcibly_rebuilt:fY(6388,3,"Project_0_is_being_forcibly_rebuilt_6388","Project '{0}' is being forcibly rebuilt"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved:fY(6389,3,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved_6389","Reusing resolution of module '{0}' from '{1}' of old program, it was not resolved."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2:fY(6390,3,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6390","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:fY(6391,3,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved:fY(6392,3,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved_6392","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was not resolved."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:fY(6393,3,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6393","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:fY(6394,3,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6394","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:fY(6395,3,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved_6395","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:fY(6396,3,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6396","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:fY(6397,3,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6397","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:fY(6398,3,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_re_6398","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitted:fY(6399,3,"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitte_6399","Project '{0}' is out of date because buildinfo file '{1}' indicates that some of the changes were not emitted"),Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_files:fY(6400,3,"Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_fil_6400","Project '{0}' is up to date but needs to update timestamps of output files that are older than input files"),Project_0_is_out_of_date_because_there_was_error_reading_file_1:fY(6401,3,"Project_0_is_out_of_date_because_there_was_error_reading_file_1_6401","Project '{0}' is out of date because there was error reading file '{1}'"),Resolving_in_0_mode_with_conditions_1:fY(6402,3,"Resolving_in_0_mode_with_conditions_1_6402","Resolving in {0} mode with conditions {1}."),Matched_0_condition_1:fY(6403,3,"Matched_0_condition_1_6403","Matched '{0}' condition '{1}'."),Using_0_subpath_1_with_target_2:fY(6404,3,"Using_0_subpath_1_with_target_2_6404","Using '{0}' subpath '{1}' with target '{2}'."),Saw_non_matching_condition_0:fY(6405,3,"Saw_non_matching_condition_0_6405","Saw non-matching condition '{0}'."),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions:fY(6406,3,"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions_6406","Project '{0}' is out of date because buildinfo file '{1}' indicates there is change in compilerOptions"),Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noEmit_or_emitDeclarationOnly_to_be_set:fY(6407,3,"Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noE_6407","Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set."),Use_the_package_json_exports_field_when_resolving_package_imports:fY(6408,3,"Use_the_package_json_exports_field_when_resolving_package_imports_6408","Use the package.json 'exports' field when resolving package imports."),Use_the_package_json_imports_field_when_resolving_imports:fY(6409,3,"Use_the_package_json_imports_field_when_resolving_imports_6409","Use the package.json 'imports' field when resolving imports."),Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports:fY(6410,3,"Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports_6410","Conditions to set in addition to the resolver-specific defaults when resolving imports."),true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false:fY(6411,3,"true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false_6411","`true` when 'moduleResolution' is 'node16', 'nodenext', or 'bundler'; otherwise `false`."),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_but_not_any_more:fY(6412,3,"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_6412","Project '{0}' is out of date because buildinfo file '{1}' indicates that file '{2}' was root file of compilation but not any more."),Entering_conditional_exports:fY(6413,3,"Entering_conditional_exports_6413","Entering conditional exports."),Resolved_under_condition_0:fY(6414,3,"Resolved_under_condition_0_6414","Resolved under condition '{0}'."),Failed_to_resolve_under_condition_0:fY(6415,3,"Failed_to_resolve_under_condition_0_6415","Failed to resolve under condition '{0}'."),Exiting_conditional_exports:fY(6416,3,"Exiting_conditional_exports_6416","Exiting conditional exports."),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:fY(6500,3,"The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1_6500","The expected type comes from property '{0}' which is declared here on type '{1}'"),The_expected_type_comes_from_this_index_signature:fY(6501,3,"The_expected_type_comes_from_this_index_signature_6501","The expected type comes from this index signature."),The_expected_type_comes_from_the_return_type_of_this_signature:fY(6502,3,"The_expected_type_comes_from_the_return_type_of_this_signature_6502","The expected type comes from the return type of this signature."),Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing:fY(6503,3,"Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing_6503","Print names of files that are part of the compilation and then stop processing."),File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option:fY(6504,1,"File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option_6504","File '{0}' is a JavaScript file. Did you mean to enable the 'allowJs' option?"),Print_names_of_files_and_the_reason_they_are_part_of_the_compilation:fY(6505,3,"Print_names_of_files_and_the_reason_they_are_part_of_the_compilation_6505","Print names of files and the reason they are part of the compilation."),Consider_adding_a_declare_modifier_to_this_class:fY(6506,3,"Consider_adding_a_declare_modifier_to_this_class_6506","Consider adding a 'declare' modifier to this class."),Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files:fY(6600,3,"Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these__6600","Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files."),Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export:fY(6601,3,"Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export_6601","Allow 'import x from y' when a module doesn't have a default export."),Allow_accessing_UMD_globals_from_modules:fY(6602,3,"Allow_accessing_UMD_globals_from_modules_6602","Allow accessing UMD globals from modules."),Disable_error_reporting_for_unreachable_code:fY(6603,3,"Disable_error_reporting_for_unreachable_code_6603","Disable error reporting for unreachable code."),Disable_error_reporting_for_unused_labels:fY(6604,3,"Disable_error_reporting_for_unused_labels_6604","Disable error reporting for unused labels."),Ensure_use_strict_is_always_emitted:fY(6605,3,"Ensure_use_strict_is_always_emitted_6605","Ensure 'use strict' is always emitted."),Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:fY(6606,3,"Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_wi_6606","Have recompiles in projects that use 'incremental' and 'watch' mode assume that changes within a file will only affect files directly depending on it."),Specify_the_base_directory_to_resolve_non_relative_module_names:fY(6607,3,"Specify_the_base_directory_to_resolve_non_relative_module_names_6607","Specify the base directory to resolve non-relative module names."),No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files:fY(6608,3,"No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files_6608","No longer supported. In early versions, manually set the text encoding for reading files."),Enable_error_reporting_in_type_checked_JavaScript_files:fY(6609,3,"Enable_error_reporting_in_type_checked_JavaScript_files_6609","Enable error reporting in type-checked JavaScript files."),Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references:fY(6611,3,"Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references_6611","Enable constraints that allow a TypeScript project to be used with project references."),Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project:fY(6612,3,"Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project_6612","Generate .d.ts files from TypeScript and JavaScript files in your project."),Specify_the_output_directory_for_generated_declaration_files:fY(6613,3,"Specify_the_output_directory_for_generated_declaration_files_6613","Specify the output directory for generated declaration files."),Create_sourcemaps_for_d_ts_files:fY(6614,3,"Create_sourcemaps_for_d_ts_files_6614","Create sourcemaps for d.ts files."),Output_compiler_performance_information_after_building:fY(6615,3,"Output_compiler_performance_information_after_building_6615","Output compiler performance information after building."),Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project:fY(6616,3,"Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project_6616","Disables inference for type acquisition by looking at filenames in a project."),Reduce_the_number_of_projects_loaded_automatically_by_TypeScript:fY(6617,3,"Reduce_the_number_of_projects_loaded_automatically_by_TypeScript_6617","Reduce the number of projects loaded automatically by TypeScript."),Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server:fY(6618,3,"Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server_6618","Remove the 20mb cap on total source code size for JavaScript files in the TypeScript language server."),Opt_a_project_out_of_multi_project_reference_checking_when_editing:fY(6619,3,"Opt_a_project_out_of_multi_project_reference_checking_when_editing_6619","Opt a project out of multi-project reference checking when editing."),Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects:fY(6620,3,"Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects_6620","Disable preferring source files instead of declaration files when referencing composite projects."),Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration:fY(6621,3,"Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration_6621","Emit more compliant, but verbose and less performant JavaScript for iteration."),Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files:fY(6622,3,"Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6622","Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files."),Only_output_d_ts_files_and_not_JavaScript_files:fY(6623,3,"Only_output_d_ts_files_and_not_JavaScript_files_6623","Only output d.ts files and not JavaScript files."),Emit_design_type_metadata_for_decorated_declarations_in_source_files:fY(6624,3,"Emit_design_type_metadata_for_decorated_declarations_in_source_files_6624","Emit design-type metadata for decorated declarations in source files."),Disable_the_type_acquisition_for_JavaScript_projects:fY(6625,3,"Disable_the_type_acquisition_for_JavaScript_projects_6625","Disable the type acquisition for JavaScript projects"),Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility:fY(6626,3,"Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheti_6626","Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility."),Filters_results_from_the_include_option:fY(6627,3,"Filters_results_from_the_include_option_6627","Filters results from the `include` option."),Remove_a_list_of_directories_from_the_watch_process:fY(6628,3,"Remove_a_list_of_directories_from_the_watch_process_6628","Remove a list of directories from the watch process."),Remove_a_list_of_files_from_the_watch_mode_s_processing:fY(6629,3,"Remove_a_list_of_files_from_the_watch_mode_s_processing_6629","Remove a list of files from the watch mode's processing."),Enable_experimental_support_for_legacy_experimental_decorators:fY(6630,3,"Enable_experimental_support_for_legacy_experimental_decorators_6630","Enable experimental support for legacy experimental decorators."),Print_files_read_during_the_compilation_including_why_it_was_included:fY(6631,3,"Print_files_read_during_the_compilation_including_why_it_was_included_6631","Print files read during the compilation including why it was included."),Output_more_detailed_compiler_performance_information_after_building:fY(6632,3,"Output_more_detailed_compiler_performance_information_after_building_6632","Output more detailed compiler performance information after building."),Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_are_inherited:fY(6633,3,"Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_a_6633","Specify one or more path or node module references to base configuration files from which settings are inherited."),Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers:fY(6634,3,"Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers_6634","Specify what approach the watcher should use if the system runs out of native file watchers."),Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include:fY(6635,3,"Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include_6635","Include a list of files. This does not support glob patterns, as opposed to `include`."),Build_all_projects_including_those_that_appear_to_be_up_to_date:fY(6636,3,"Build_all_projects_including_those_that_appear_to_be_up_to_date_6636","Build all projects, including those that appear to be up to date."),Ensure_that_casing_is_correct_in_imports:fY(6637,3,"Ensure_that_casing_is_correct_in_imports_6637","Ensure that casing is correct in imports."),Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging:fY(6638,3,"Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging_6638","Emit a v8 CPU profile of the compiler run for debugging."),Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file:fY(6639,3,"Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file_6639","Allow importing helper functions from tslib once per project, instead of including them per-file."),Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation:fY(6641,3,"Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation_6641","Specify a list of glob patterns that match files to be included in compilation."),Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects:fY(6642,3,"Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642","Save .tsbuildinfo files to allow for incremental compilation of projects."),Include_sourcemap_files_inside_the_emitted_JavaScript:fY(6643,3,"Include_sourcemap_files_inside_the_emitted_JavaScript_6643","Include sourcemap files inside the emitted JavaScript."),Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript:fY(6644,3,"Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript_6644","Include source code in the sourcemaps inside the emitted JavaScript."),Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports:fY(6645,3,"Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports_6645","Ensure that each file can be safely transpiled without relying on other imports."),Specify_what_JSX_code_is_generated:fY(6646,3,"Specify_what_JSX_code_is_generated_6646","Specify what JSX code is generated."),Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h:fY(6647,3,"Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h_6647","Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'."),Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment:fY(6648,3,"Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragme_6648","Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'."),Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk:fY(6649,3,"Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Ast_6649","Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'."),Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option:fY(6650,3,"Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option_6650","Make keyof only return strings instead of string, numbers or symbols. Legacy option."),Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment:fY(6651,3,"Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment_6651","Specify a set of bundled library declaration files that describe the target runtime environment."),Print_the_names_of_emitted_files_after_a_compilation:fY(6652,3,"Print_the_names_of_emitted_files_after_a_compilation_6652","Print the names of emitted files after a compilation."),Print_all_of_the_files_read_during_the_compilation:fY(6653,3,"Print_all_of_the_files_read_during_the_compilation_6653","Print all of the files read during the compilation."),Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit:fY(6654,3,"Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit_6654","Set the language of the messaging from TypeScript. This does not affect emit."),Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations:fY(6655,3,"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6655","Specify the location where debugger should locate map files instead of generated locations."),Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs:fY(6656,3,"Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicabl_6656","Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'."),Specify_what_module_code_is_generated:fY(6657,3,"Specify_what_module_code_is_generated_6657","Specify what module code is generated."),Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier:fY(6658,3,"Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier_6658","Specify how TypeScript looks up a file from a given module specifier."),Set_the_newline_character_for_emitting_files:fY(6659,3,"Set_the_newline_character_for_emitting_files_6659","Set the newline character for emitting files."),Disable_emitting_files_from_a_compilation:fY(6660,3,"Disable_emitting_files_from_a_compilation_6660","Disable emitting files from a compilation."),Disable_generating_custom_helper_functions_like_extends_in_compiled_output:fY(6661,3,"Disable_generating_custom_helper_functions_like_extends_in_compiled_output_6661","Disable generating custom helper functions like '__extends' in compiled output."),Disable_emitting_files_if_any_type_checking_errors_are_reported:fY(6662,3,"Disable_emitting_files_if_any_type_checking_errors_are_reported_6662","Disable emitting files if any type checking errors are reported."),Disable_truncating_types_in_error_messages:fY(6663,3,"Disable_truncating_types_in_error_messages_6663","Disable truncating types in error messages."),Enable_error_reporting_for_fallthrough_cases_in_switch_statements:fY(6664,3,"Enable_error_reporting_for_fallthrough_cases_in_switch_statements_6664","Enable error reporting for fallthrough cases in switch statements."),Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type:fY(6665,3,"Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type_6665","Enable error reporting for expressions and declarations with an implied 'any' type."),Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier:fY(6666,3,"Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier_6666","Ensure overriding members in derived classes are marked with an override modifier."),Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function:fY(6667,3,"Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function_6667","Enable error reporting for codepaths that do not explicitly return in a function."),Enable_error_reporting_when_this_is_given_the_type_any:fY(6668,3,"Enable_error_reporting_when_this_is_given_the_type_any_6668","Enable error reporting when 'this' is given the type 'any'."),Disable_adding_use_strict_directives_in_emitted_JavaScript_files:fY(6669,3,"Disable_adding_use_strict_directives_in_emitted_JavaScript_files_6669","Disable adding 'use strict' directives in emitted JavaScript files."),Disable_including_any_library_files_including_the_default_lib_d_ts:fY(6670,3,"Disable_including_any_library_files_including_the_default_lib_d_ts_6670","Disable including any library files, including the default lib.d.ts."),Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type:fY(6671,3,"Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type_6671","Enforces using indexed accessors for keys declared using an indexed type."),Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project:fY(6672,3,"Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add__6672","Disallow 'import's, 'require's or ''s from expanding the number of files TypeScript should add to a project."),Disable_strict_checking_of_generic_signatures_in_function_types:fY(6673,3,"Disable_strict_checking_of_generic_signatures_in_function_types_6673","Disable strict checking of generic signatures in function types."),Add_undefined_to_a_type_when_accessed_using_an_index:fY(6674,3,"Add_undefined_to_a_type_when_accessed_using_an_index_6674","Add 'undefined' to a type when accessed using an index."),Enable_error_reporting_when_local_variables_aren_t_read:fY(6675,3,"Enable_error_reporting_when_local_variables_aren_t_read_6675","Enable error reporting when local variables aren't read."),Raise_an_error_when_a_function_parameter_isn_t_read:fY(6676,3,"Raise_an_error_when_a_function_parameter_isn_t_read_6676","Raise an error when a function parameter isn't read."),Deprecated_setting_Use_outFile_instead:fY(6677,3,"Deprecated_setting_Use_outFile_instead_6677","Deprecated setting. Use 'outFile' instead."),Specify_an_output_folder_for_all_emitted_files:fY(6678,3,"Specify_an_output_folder_for_all_emitted_files_6678","Specify an output folder for all emitted files."),Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designates_a_file_that_bundles_all_d_ts_output:fY(6679,3,"Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designa_6679","Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output."),Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations:fY(6680,3,"Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations_6680","Specify a set of entries that re-map imports to additional lookup locations."),Specify_a_list_of_language_service_plugins_to_include:fY(6681,3,"Specify_a_list_of_language_service_plugins_to_include_6681","Specify a list of language service plugins to include."),Disable_erasing_const_enum_declarations_in_generated_code:fY(6682,3,"Disable_erasing_const_enum_declarations_in_generated_code_6682","Disable erasing 'const enum' declarations in generated code."),Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node:fY(6683,3,"Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node_6683","Disable resolving symlinks to their realpath. This correlates to the same flag in node."),Disable_wiping_the_console_in_watch_mode:fY(6684,3,"Disable_wiping_the_console_in_watch_mode_6684","Disable wiping the console in watch mode."),Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read:fY(6685,3,"Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read_6685","Enable color and formatting in TypeScript's output to make compiler errors easier to read."),Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit:fY(6686,3,"Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit_6686","Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit."),Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references:fY(6687,3,"Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references_6687","Specify an array of objects that specify paths for projects. Used in project references."),Disable_emitting_comments:fY(6688,3,"Disable_emitting_comments_6688","Disable emitting comments."),Enable_importing_json_files:fY(6689,3,"Enable_importing_json_files_6689","Enable importing .json files."),Specify_the_root_folder_within_your_source_files:fY(6690,3,"Specify_the_root_folder_within_your_source_files_6690","Specify the root folder within your source files."),Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules:fY(6691,3,"Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules_6691","Allow multiple folders to be treated as one when resolving modules."),Skip_type_checking_d_ts_files_that_are_included_with_TypeScript:fY(6692,3,"Skip_type_checking_d_ts_files_that_are_included_with_TypeScript_6692","Skip type checking .d.ts files that are included with TypeScript."),Skip_type_checking_all_d_ts_files:fY(6693,3,"Skip_type_checking_all_d_ts_files_6693","Skip type checking all .d.ts files."),Create_source_map_files_for_emitted_JavaScript_files:fY(6694,3,"Create_source_map_files_for_emitted_JavaScript_files_6694","Create source map files for emitted JavaScript files."),Specify_the_root_path_for_debuggers_to_find_the_reference_source_code:fY(6695,3,"Specify_the_root_path_for_debuggers_to_find_the_reference_source_code_6695","Specify the root path for debuggers to find the reference source code."),Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function:fY(6697,3,"Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function_6697","Check that the arguments for 'bind', 'call', and 'apply' methods match the original function."),When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible:fY(6698,3,"When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible_6698","When assigning functions, check to ensure parameters and the return values are subtype-compatible."),When_type_checking_take_into_account_null_and_undefined:fY(6699,3,"When_type_checking_take_into_account_null_and_undefined_6699","When type checking, take into account 'null' and 'undefined'."),Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor:fY(6700,3,"Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor_6700","Check for class properties that are declared but not set in the constructor."),Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments:fY(6701,3,"Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments_6701","Disable emitting declarations that have '@internal' in their JSDoc comments."),Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals:fY(6702,3,"Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals_6702","Disable reporting of excess property errors during the creation of object literals."),Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures:fY(6703,3,"Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures_6703","Suppress 'noImplicitAny' errors when indexing objects that lack index signatures."),Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively:fY(6704,3,"Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_supp_6704","Synchronously call callbacks and update the state of directory watchers on platforms that don`t support recursive watching natively."),Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations:fY(6705,3,"Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declaratio_6705","Set the JavaScript language version for emitted JavaScript and include compatible library declarations."),Log_paths_used_during_the_moduleResolution_process:fY(6706,3,"Log_paths_used_during_the_moduleResolution_process_6706","Log paths used during the 'moduleResolution' process."),Specify_the_path_to_tsbuildinfo_incremental_compilation_file:fY(6707,3,"Specify_the_path_to_tsbuildinfo_incremental_compilation_file_6707","Specify the path to .tsbuildinfo incremental compilation file."),Specify_options_for_automatic_acquisition_of_declaration_files:fY(6709,3,"Specify_options_for_automatic_acquisition_of_declaration_files_6709","Specify options for automatic acquisition of declaration files."),Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types:fY(6710,3,"Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types_6710","Specify multiple folders that act like './node_modules/@types'."),Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file:fY(6711,3,"Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file_6711","Specify type package names to be included without being referenced in a source file."),Emit_ECMAScript_standard_compliant_class_fields:fY(6712,3,"Emit_ECMAScript_standard_compliant_class_fields_6712","Emit ECMAScript-standard-compliant class fields."),Enable_verbose_logging:fY(6713,3,"Enable_verbose_logging_6713","Enable verbose logging."),Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality:fY(6714,3,"Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality_6714","Specify how directories are watched on systems that lack recursive file-watching functionality."),Specify_how_the_TypeScript_watch_mode_works:fY(6715,3,"Specify_how_the_TypeScript_watch_mode_works_6715","Specify how the TypeScript watch mode works."),Require_undeclared_properties_from_index_signatures_to_use_element_accesses:fY(6717,3,"Require_undeclared_properties_from_index_signatures_to_use_element_accesses_6717","Require undeclared properties from index signatures to use element accesses."),Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types:fY(6718,3,"Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types_6718","Specify emit/checking behavior for imports that are only used for types."),Default_catch_clause_variables_as_unknown_instead_of_any:fY(6803,3,"Default_catch_clause_variables_as_unknown_instead_of_any_6803","Default catch clause variables as 'unknown' instead of 'any'."),Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_in_the_output_file_s_format_based_on_the_module_setting:fY(6804,3,"Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_i_6804","Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting."),one_of_Colon:fY(6900,3,"one_of_Colon_6900","one of:"),one_or_more_Colon:fY(6901,3,"one_or_more_Colon_6901","one or more:"),type_Colon:fY(6902,3,"type_Colon_6902","type:"),default_Colon:fY(6903,3,"default_Colon_6903","default:"),module_system_or_esModuleInterop:fY(6904,3,"module_system_or_esModuleInterop_6904",'module === "system" or esModuleInterop'),false_unless_strict_is_set:fY(6905,3,"false_unless_strict_is_set_6905","`false`, unless `strict` is set"),false_unless_composite_is_set:fY(6906,3,"false_unless_composite_is_set_6906","`false`, unless `composite` is set"),node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified:fY(6907,3,"node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified_6907",'`["node_modules", "bower_components", "jspm_packages"]`, plus the value of `outDir` if one is specified.'),if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk:fY(6908,3,"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908",'`[]` if `files` is specified, otherwise `["**/*"]`'),true_if_composite_false_otherwise:fY(6909,3,"true_if_composite_false_otherwise_6909","`true` if `composite`, `false` otherwise"),module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node:fY(69010,3,"module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node_69010","module === `AMD` or `UMD` or `System` or `ES6`, then `Classic`, Otherwise `Node`"),Computed_from_the_list_of_input_files:fY(6911,3,"Computed_from_the_list_of_input_files_6911","Computed from the list of input files"),Platform_specific:fY(6912,3,"Platform_specific_6912","Platform specific"),You_can_learn_about_all_of_the_compiler_options_at_0:fY(6913,3,"You_can_learn_about_all_of_the_compiler_options_at_0_6913","You can learn about all of the compiler options at {0}"),Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_config_watch_mode_with_Colon:fY(6914,3,"Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_conf_6914","Including --watch, -w will start watching the current project for the file changes. Once set, you can config watch mode with:"),Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_trigger_building_composite_projects_which_you_can_learn_more_about_at_0:fY(6915,3,"Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915","Using --build, -b will make tsc behave more like a build orchestrator than a compiler. This is used to trigger building composite projects which you can learn more about at {0}"),COMMON_COMMANDS:fY(6916,3,"COMMON_COMMANDS_6916","COMMON COMMANDS"),ALL_COMPILER_OPTIONS:fY(6917,3,"ALL_COMPILER_OPTIONS_6917","ALL COMPILER OPTIONS"),WATCH_OPTIONS:fY(6918,3,"WATCH_OPTIONS_6918","WATCH OPTIONS"),BUILD_OPTIONS:fY(6919,3,"BUILD_OPTIONS_6919","BUILD OPTIONS"),COMMON_COMPILER_OPTIONS:fY(6920,3,"COMMON_COMPILER_OPTIONS_6920","COMMON COMPILER OPTIONS"),COMMAND_LINE_FLAGS:fY(6921,3,"COMMAND_LINE_FLAGS_6921","COMMAND LINE FLAGS"),tsc_Colon_The_TypeScript_Compiler:fY(6922,3,"tsc_Colon_The_TypeScript_Compiler_6922","tsc: The TypeScript Compiler"),Compiles_the_current_project_tsconfig_json_in_the_working_directory:fY(6923,3,"Compiles_the_current_project_tsconfig_json_in_the_working_directory_6923","Compiles the current project (tsconfig.json in the working directory.)"),Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options:fY(6924,3,"Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options_6924","Ignoring tsconfig.json, compiles the specified files with default compiler options."),Build_a_composite_project_in_the_working_directory:fY(6925,3,"Build_a_composite_project_in_the_working_directory_6925","Build a composite project in the working directory."),Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory:fY(6926,3,"Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory_6926","Creates a tsconfig.json with the recommended settings in the working directory."),Compiles_the_TypeScript_project_located_at_the_specified_path:fY(6927,3,"Compiles_the_TypeScript_project_located_at_the_specified_path_6927","Compiles the TypeScript project located at the specified path."),An_expanded_version_of_this_information_showing_all_possible_compiler_options:fY(6928,3,"An_expanded_version_of_this_information_showing_all_possible_compiler_options_6928","An expanded version of this information, showing all possible compiler options"),Compiles_the_current_project_with_additional_settings:fY(6929,3,"Compiles_the_current_project_with_additional_settings_6929","Compiles the current project, with additional settings."),true_for_ES2022_and_above_including_ESNext:fY(6930,3,"true_for_ES2022_and_above_including_ESNext_6930","`true` for ES2022 and above, including ESNext."),List_of_file_name_suffixes_to_search_when_resolving_a_module:fY(6931,1,"List_of_file_name_suffixes_to_search_when_resolving_a_module_6931","List of file name suffixes to search when resolving a module."),Variable_0_implicitly_has_an_1_type:fY(7005,1,"Variable_0_implicitly_has_an_1_type_7005","Variable '{0}' implicitly has an '{1}' type."),Parameter_0_implicitly_has_an_1_type:fY(7006,1,"Parameter_0_implicitly_has_an_1_type_7006","Parameter '{0}' implicitly has an '{1}' type."),Member_0_implicitly_has_an_1_type:fY(7008,1,"Member_0_implicitly_has_an_1_type_7008","Member '{0}' implicitly has an '{1}' type."),new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type:fY(7009,1,"new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009","'new' expression, whose target lacks a construct signature, implicitly has an 'any' type."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:fY(7010,1,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type_7010","'{0}', which lacks return-type annotation, implicitly has an '{1}' return type."),Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:fY(7011,1,"Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7011","Function expression, which lacks return-type annotation, implicitly has an '{0}' return type."),This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation:fY(7012,1,"This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation_7012","This overload implicitly returns the type '{0}' because it lacks a return type annotation."),Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:fY(7013,1,"Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7013","Construct signature, which lacks return-type annotation, implicitly has an 'any' return type."),Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:fY(7014,1,"Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7014","Function type, which lacks return-type annotation, implicitly has an '{0}' return type."),Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number:fY(7015,1,"Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number_7015","Element implicitly has an 'any' type because index expression is not of type 'number'."),Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type:fY(7016,1,"Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type_7016","Could not find a declaration file for module '{0}'. '{1}' implicitly has an 'any' type."),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature:fY(7017,1,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_7017","Element implicitly has an 'any' type because type '{0}' has no index signature."),Object_literal_s_property_0_implicitly_has_an_1_type:fY(7018,1,"Object_literal_s_property_0_implicitly_has_an_1_type_7018","Object literal's property '{0}' implicitly has an '{1}' type."),Rest_parameter_0_implicitly_has_an_any_type:fY(7019,1,"Rest_parameter_0_implicitly_has_an_any_type_7019","Rest parameter '{0}' implicitly has an 'any[]' type."),Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:fY(7020,1,"Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020","Call signature, which lacks return-type annotation, implicitly has an 'any' return type."),_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer:fY(7022,1,"_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or__7022","'{0}' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer."),_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:fY(7023,1,"_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_reference_7023","'{0}' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:fY(7024,1,"Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_ref_7024","Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation:fY(7025,1,"Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025","Generator implicitly has yield type '{0}' because it does not yield any values. Consider supplying a return type annotation."),JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists:fY(7026,1,"JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists_7026","JSX element implicitly has type 'any' because no interface 'JSX.{0}' exists."),Unreachable_code_detected:fY(7027,1,"Unreachable_code_detected_7027","Unreachable code detected.",!0),Unused_label:fY(7028,1,"Unused_label_7028","Unused label.",!0),Fallthrough_case_in_switch:fY(7029,1,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:fY(7030,1,"Not_all_code_paths_return_a_value_7030","Not all code paths return a value."),Binding_element_0_implicitly_has_an_1_type:fY(7031,1,"Binding_element_0_implicitly_has_an_1_type_7031","Binding element '{0}' implicitly has an '{1}' type."),Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation:fY(7032,1,"Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation_7032","Property '{0}' implicitly has type 'any', because its set accessor lacks a parameter type annotation."),Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation:fY(7033,1,"Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation_7033","Property '{0}' implicitly has type 'any', because its get accessor lacks a return type annotation."),Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined:fY(7034,1,"Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined_7034","Variable '{0}' implicitly has type '{1}' in some locations where its type cannot be determined."),Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0:fY(7035,1,"Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare__7035","Try `npm i --save-dev @types/{1}` if it exists or add a new declaration (.d.ts) file containing `declare module '{0}';`"),Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0:fY(7036,1,"Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036","Dynamic import's specifier must be of type 'string', but here has type '{0}'."),Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports:fY(7037,3,"Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for__7037","Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'."),Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead:fY(7038,3,"Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038","Type originates at this import. A namespace-style import cannot be called or constructed, and will cause a failure at runtime. Consider using a default import or import require here instead."),Mapped_object_type_implicitly_has_an_any_template_type:fY(7039,1,"Mapped_object_type_implicitly_has_an_any_template_type_7039","Mapped object type implicitly has an 'any' template type."),If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1:fY(7040,1,"If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_S_7040","If the '{0}' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}'"),The_containing_arrow_function_captures_the_global_value_of_this:fY(7041,1,"The_containing_arrow_function_captures_the_global_value_of_this_7041","The containing arrow function captures the global value of 'this'."),Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used:fY(7042,1,"Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used_7042","Module '{0}' was resolved to '{1}', but '--resolveJsonModule' is not used."),Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:fY(7043,2,"Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7043","Variable '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:fY(7044,2,"Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7044","Parameter '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:fY(7045,2,"Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7045","Member '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage:fY(7046,2,"Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage_7046","Variable '{0}' implicitly has type '{1}' in some locations, but a better type may be inferred from usage."),Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:fY(7047,2,"Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage_7047","Rest parameter '{0}' implicitly has an 'any[]' type, but a better type may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage:fY(7048,2,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage_7048","Property '{0}' implicitly has type 'any', but a better type for its get accessor may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage:fY(7049,2,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage_7049","Property '{0}' implicitly has type 'any', but a better type for its set accessor may be inferred from usage."),_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage:fY(7050,2,"_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage_7050","'{0}' implicitly has an '{1}' return type, but a better type may be inferred from usage."),Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1:fY(7051,1,"Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1_7051","Parameter has a name but no type. Did you mean '{0}: {1}'?"),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1:fY(7052,1,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1_7052","Element implicitly has an 'any' type because type '{0}' has no index signature. Did you mean to call '{1}'?"),Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1:fY(7053,1,"Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1_7053","Element implicitly has an 'any' type because expression of type '{0}' can't be used to index type '{1}'."),No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1:fY(7054,1,"No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1_7054","No index signature with a parameter of type '{0}' was found on type '{1}'."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:fY(7055,1,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type_7055","'{0}', which lacks return-type annotation, implicitly has an '{1}' yield type."),The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed:fY(7056,1,"The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_ty_7056","The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed."),yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation:fY(7057,1,"yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_t_7057","'yield' expression implicitly results in an 'any' type because its containing generator lacks a return-type annotation."),If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1:fY(7058,1,"If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_decl_7058","If the '{0}' package actually exposes this module, try adding a new declaration (.d.ts) file containing `declare module '{1}';`"),This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead:fY(7059,1,"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059","This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead."),This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint:fY(7060,1,"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060","This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma or explicit constraint."),A_mapped_type_may_not_declare_properties_or_methods:fY(7061,1,"A_mapped_type_may_not_declare_properties_or_methods_7061","A mapped type may not declare properties or methods."),You_cannot_rename_this_element:fY(8e3,1,"You_cannot_rename_this_element_8000","You cannot rename this element."),You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library:fY(8001,1,"You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001","You cannot rename elements that are defined in the standard TypeScript library."),import_can_only_be_used_in_TypeScript_files:fY(8002,1,"import_can_only_be_used_in_TypeScript_files_8002","'import ... =' can only be used in TypeScript files."),export_can_only_be_used_in_TypeScript_files:fY(8003,1,"export_can_only_be_used_in_TypeScript_files_8003","'export =' can only be used in TypeScript files."),Type_parameter_declarations_can_only_be_used_in_TypeScript_files:fY(8004,1,"Type_parameter_declarations_can_only_be_used_in_TypeScript_files_8004","Type parameter declarations can only be used in TypeScript files."),implements_clauses_can_only_be_used_in_TypeScript_files:fY(8005,1,"implements_clauses_can_only_be_used_in_TypeScript_files_8005","'implements' clauses can only be used in TypeScript files."),_0_declarations_can_only_be_used_in_TypeScript_files:fY(8006,1,"_0_declarations_can_only_be_used_in_TypeScript_files_8006","'{0}' declarations can only be used in TypeScript files."),Type_aliases_can_only_be_used_in_TypeScript_files:fY(8008,1,"Type_aliases_can_only_be_used_in_TypeScript_files_8008","Type aliases can only be used in TypeScript files."),The_0_modifier_can_only_be_used_in_TypeScript_files:fY(8009,1,"The_0_modifier_can_only_be_used_in_TypeScript_files_8009","The '{0}' modifier can only be used in TypeScript files."),Type_annotations_can_only_be_used_in_TypeScript_files:fY(8010,1,"Type_annotations_can_only_be_used_in_TypeScript_files_8010","Type annotations can only be used in TypeScript files."),Type_arguments_can_only_be_used_in_TypeScript_files:fY(8011,1,"Type_arguments_can_only_be_used_in_TypeScript_files_8011","Type arguments can only be used in TypeScript files."),Parameter_modifiers_can_only_be_used_in_TypeScript_files:fY(8012,1,"Parameter_modifiers_can_only_be_used_in_TypeScript_files_8012","Parameter modifiers can only be used in TypeScript files."),Non_null_assertions_can_only_be_used_in_TypeScript_files:fY(8013,1,"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013","Non-null assertions can only be used in TypeScript files."),Type_assertion_expressions_can_only_be_used_in_TypeScript_files:fY(8016,1,"Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016","Type assertion expressions can only be used in TypeScript files."),Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:fY(8017,1,"Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0_8017","Octal literal types must use ES2015 syntax. Use the syntax '{0}'."),Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0:fY(8018,1,"Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0_8018","Octal literals are not allowed in enums members initializer. Use the syntax '{0}'."),Report_errors_in_js_files:fY(8019,3,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:fY(8020,1,"JSDoc_types_can_only_be_used_inside_documentation_comments_8020","JSDoc types can only be used inside documentation comments."),JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags:fY(8021,1,"JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags_8021","JSDoc '@typedef' tag should either have a type annotation or be followed by '@property' or '@member' tags."),JSDoc_0_is_not_attached_to_a_class:fY(8022,1,"JSDoc_0_is_not_attached_to_a_class_8022","JSDoc '@{0}' is not attached to a class."),JSDoc_0_1_does_not_match_the_extends_2_clause:fY(8023,1,"JSDoc_0_1_does_not_match_the_extends_2_clause_8023","JSDoc '@{0} {1}' does not match the 'extends {2}' clause."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name:fY(8024,1,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_8024","JSDoc '@param' tag has name '{0}', but there is no parameter with that name."),Class_declarations_cannot_have_more_than_one_augments_or_extends_tag:fY(8025,1,"Class_declarations_cannot_have_more_than_one_augments_or_extends_tag_8025","Class declarations cannot have more than one '@augments' or '@extends' tag."),Expected_0_type_arguments_provide_these_with_an_extends_tag:fY(8026,1,"Expected_0_type_arguments_provide_these_with_an_extends_tag_8026","Expected {0} type arguments; provide these with an '@extends' tag."),Expected_0_1_type_arguments_provide_these_with_an_extends_tag:fY(8027,1,"Expected_0_1_type_arguments_provide_these_with_an_extends_tag_8027","Expected {0}-{1} type arguments; provide these with an '@extends' tag."),JSDoc_may_only_appear_in_the_last_parameter_of_a_signature:fY(8028,1,"JSDoc_may_only_appear_in_the_last_parameter_of_a_signature_8028","JSDoc '...' may only appear in the last parameter of a signature."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type:fY(8029,1,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_h_8029","JSDoc '@param' tag has name '{0}', but there is no parameter with that name. It would match 'arguments' if it had an array type."),The_type_of_a_function_declaration_must_match_the_function_s_signature:fY(8030,1,"The_type_of_a_function_declaration_must_match_the_function_s_signature_8030","The type of a function declaration must match the function's signature."),You_cannot_rename_a_module_via_a_global_import:fY(8031,1,"You_cannot_rename_a_module_via_a_global_import_8031","You cannot rename a module via a global import."),Qualified_name_0_is_not_allowed_without_a_leading_param_object_1:fY(8032,1,"Qualified_name_0_is_not_allowed_without_a_leading_param_object_1_8032","Qualified name '{0}' is not allowed without a leading '@param {object} {1}'."),A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags:fY(8033,1,"A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags_8033","A JSDoc '@typedef' comment may not contain multiple '@type' tags."),The_tag_was_first_specified_here:fY(8034,1,"The_tag_was_first_specified_here_8034","The tag was first specified here."),You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder:fY(8035,1,"You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder_8035","You cannot rename elements that are defined in a 'node_modules' folder."),You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder:fY(8036,1,"You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder_8036","You cannot rename elements that are defined in another 'node_modules' folder."),Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files:fY(8037,1,"Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files_8037","Type satisfaction expressions can only be used in TypeScript files."),Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export:fY(8038,1,"Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export_8038","Decorators may not appear after 'export' or 'export default' if they also appear before 'export'."),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit:fY(9005,1,"Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005","Declaration emit for this file requires using private name '{0}'. An explicit type annotation may unblock declaration emit."),Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:fY(9006,1,"Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006","Declaration emit for this file requires using private name '{0}' from module '{1}'. An explicit type annotation may unblock declaration emit."),JSX_attributes_must_only_be_assigned_a_non_empty_expression:fY(17e3,1,"JSX_attributes_must_only_be_assigned_a_non_empty_expression_17000","JSX attributes must only be assigned a non-empty 'expression'."),JSX_elements_cannot_have_multiple_attributes_with_the_same_name:fY(17001,1,"JSX_elements_cannot_have_multiple_attributes_with_the_same_name_17001","JSX elements cannot have multiple attributes with the same name."),Expected_corresponding_JSX_closing_tag_for_0:fY(17002,1,"Expected_corresponding_JSX_closing_tag_for_0_17002","Expected corresponding JSX closing tag for '{0}'."),Cannot_use_JSX_unless_the_jsx_flag_is_provided:fY(17004,1,"Cannot_use_JSX_unless_the_jsx_flag_is_provided_17004","Cannot use JSX unless the '--jsx' flag is provided."),A_constructor_cannot_contain_a_super_call_when_its_class_extends_null:fY(17005,1,"A_constructor_cannot_contain_a_super_call_when_its_class_extends_null_17005","A constructor cannot contain a 'super' call when its class extends 'null'."),An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:fY(17006,1,"An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_ex_17006","An unary expression with the '{0}' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:fY(17007,1,"A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Con_17007","A type assertion expression is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),JSX_element_0_has_no_corresponding_closing_tag:fY(17008,1,"JSX_element_0_has_no_corresponding_closing_tag_17008","JSX element '{0}' has no corresponding closing tag."),super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class:fY(17009,1,"super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class_17009","'super' must be called before accessing 'this' in the constructor of a derived class."),Unknown_type_acquisition_option_0:fY(17010,1,"Unknown_type_acquisition_option_0_17010","Unknown type acquisition option '{0}'."),super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class:fY(17011,1,"super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class_17011","'super' must be called before accessing a property of 'super' in the constructor of a derived class."),_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2:fY(17012,1,"_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2_17012","'{0}' is not a valid meta-property for keyword '{1}'. Did you mean '{2}'?"),Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor:fY(17013,1,"Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constru_17013","Meta-property '{0}' is only allowed in the body of a function declaration, function expression, or constructor."),JSX_fragment_has_no_corresponding_closing_tag:fY(17014,1,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:fY(17015,1,"Expected_corresponding_closing_tag_for_JSX_fragment_17015","Expected corresponding closing tag for JSX fragment."),The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:fY(17016,1,"The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_com_17016","The 'jsxFragmentFactory' compiler option must be provided to use JSX fragments with the 'jsxFactory' compiler option."),An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments:fY(17017,1,"An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments_17017","An @jsxFrag pragma is required when using an @jsx pragma with JSX fragments."),Unknown_type_acquisition_option_0_Did_you_mean_1:fY(17018,1,"Unknown_type_acquisition_option_0_Did_you_mean_1_17018","Unknown type acquisition option '{0}'. Did you mean '{1}'?"),_0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1:fY(17019,1,"_0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1_17019","'{0}' at the end of a type is not valid TypeScript syntax. Did you mean to write '{1}'?"),_0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1:fY(17020,1,"_0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1_17020","'{0}' at the start of a type is not valid TypeScript syntax. Did you mean to write '{1}'?"),Circularity_detected_while_resolving_configuration_Colon_0:fY(18e3,1,"Circularity_detected_while_resolving_configuration_Colon_0_18000","Circularity detected while resolving configuration: {0}"),The_files_list_in_config_file_0_is_empty:fY(18002,1,"The_files_list_in_config_file_0_is_empty_18002","The 'files' list in config file '{0}' is empty."),No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2:fY(18003,1,"No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2_18003","No inputs were found in config file '{0}'. Specified 'include' paths were '{1}' and 'exclude' paths were '{2}'."),File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module:fY(80001,2,"File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module_80001","File is a CommonJS module; it may be converted to an ES module."),This_constructor_function_may_be_converted_to_a_class_declaration:fY(80002,2,"This_constructor_function_may_be_converted_to_a_class_declaration_80002","This constructor function may be converted to a class declaration."),Import_may_be_converted_to_a_default_import:fY(80003,2,"Import_may_be_converted_to_a_default_import_80003","Import may be converted to a default import."),JSDoc_types_may_be_moved_to_TypeScript_types:fY(80004,2,"JSDoc_types_may_be_moved_to_TypeScript_types_80004","JSDoc types may be moved to TypeScript types."),require_call_may_be_converted_to_an_import:fY(80005,2,"require_call_may_be_converted_to_an_import_80005","'require' call may be converted to an import."),This_may_be_converted_to_an_async_function:fY(80006,2,"This_may_be_converted_to_an_async_function_80006","This may be converted to an async function."),await_has_no_effect_on_the_type_of_this_expression:fY(80007,2,"await_has_no_effect_on_the_type_of_this_expression_80007","'await' has no effect on the type of this expression."),Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers:fY(80008,2,"Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accur_80008","Numeric literals with absolute values equal to 2^53 or greater are too large to be represented accurately as integers."),Add_missing_super_call:fY(90001,3,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:fY(90002,3,"Make_super_call_the_first_statement_in_the_constructor_90002","Make 'super()' call the first statement in the constructor"),Change_extends_to_implements:fY(90003,3,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_unused_declaration_for_Colon_0:fY(90004,3,"Remove_unused_declaration_for_Colon_0_90004","Remove unused declaration for: '{0}'"),Remove_import_from_0:fY(90005,3,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:fY(90006,3,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:fY(90007,3,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:fY(90008,3,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_variable_statement:fY(90010,3,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:fY(90011,3,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:fY(90012,3,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_1:fY(90013,3,"Import_0_from_1_90013","Import '{0}' from \"{1}\""),Change_0_to_1:fY(90014,3,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Declare_property_0:fY(90016,3,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:fY(90017,3,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:fY(90018,3,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:fY(90019,3,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:fY(90020,3,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:fY(90021,3,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:fY(90022,3,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:fY(90023,3,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:fY(90024,3,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:fY(90025,3,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:fY(90026,3,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:fY(90027,3,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:fY(90028,3,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:fY(90029,3,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:fY(90030,3,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:fY(90031,3,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Add_parameter_name:fY(90034,3,"Add_parameter_name_90034","Add parameter name"),Declare_private_property_0:fY(90035,3,"Declare_private_property_0_90035","Declare private property '{0}'"),Replace_0_with_Promise_1:fY(90036,3,"Replace_0_with_Promise_1_90036","Replace '{0}' with 'Promise<{1}>'"),Fix_all_incorrect_return_type_of_an_async_functions:fY(90037,3,"Fix_all_incorrect_return_type_of_an_async_functions_90037","Fix all incorrect return type of an async functions"),Declare_private_method_0:fY(90038,3,"Declare_private_method_0_90038","Declare private method '{0}'"),Remove_unused_destructuring_declaration:fY(90039,3,"Remove_unused_destructuring_declaration_90039","Remove unused destructuring declaration"),Remove_unused_declarations_for_Colon_0:fY(90041,3,"Remove_unused_declarations_for_Colon_0_90041","Remove unused declarations for: '{0}'"),Declare_a_private_field_named_0:fY(90053,3,"Declare_a_private_field_named_0_90053","Declare a private field named '{0}'."),Includes_imports_of_types_referenced_by_0:fY(90054,3,"Includes_imports_of_types_referenced_by_0_90054","Includes imports of types referenced by '{0}'"),Remove_type_from_import_declaration_from_0:fY(90055,3,"Remove_type_from_import_declaration_from_0_90055","Remove 'type' from import declaration from \"{0}\""),Remove_type_from_import_of_0_from_1:fY(90056,3,"Remove_type_from_import_of_0_from_1_90056","Remove 'type' from import of '{0}' from \"{1}\""),Add_import_from_0:fY(90057,3,"Add_import_from_0_90057",'Add import from "{0}"'),Update_import_from_0:fY(90058,3,"Update_import_from_0_90058",'Update import from "{0}"'),Export_0_from_module_1:fY(90059,3,"Export_0_from_module_1_90059","Export '{0}' from module '{1}'"),Export_all_referenced_locals:fY(90060,3,"Export_all_referenced_locals_90060","Export all referenced locals"),Convert_function_to_an_ES2015_class:fY(95001,3,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_0_to_1_in_0:fY(95003,3,"Convert_0_to_1_in_0_95003","Convert '{0}' to '{1} in {0}'"),Extract_to_0_in_1:fY(95004,3,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:fY(95005,3,"Extract_function_95005","Extract function"),Extract_constant:fY(95006,3,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:fY(95007,3,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:fY(95008,3,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:fY(95009,3,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Infer_type_of_0_from_usage:fY(95011,3,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:fY(95012,3,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:fY(95013,3,"Convert_to_default_import_95013","Convert to default import"),Install_0:fY(95014,3,"Install_0_95014","Install '{0}'"),Replace_import_with_0:fY(95015,3,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:fY(95016,3,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES_module:fY(95017,3,"Convert_to_ES_module_95017","Convert to ES module"),Add_undefined_type_to_property_0:fY(95018,3,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:fY(95019,3,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:fY(95020,3,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Convert_all_type_literals_to_mapped_type:fY(95021,3,"Convert_all_type_literals_to_mapped_type_95021","Convert all type literals to mapped type"),Add_all_missing_members:fY(95022,3,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:fY(95023,3,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:fY(95024,3,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:fY(95025,3,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:fY(95026,3,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:fY(95027,3,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:fY(95028,3,"Add_definite_assignment_assertions_to_all_uninitialized_properties_95028","Add definite assignment assertions to all uninitialized properties"),Add_undefined_type_to_all_uninitialized_properties:fY(95029,3,"Add_undefined_type_to_all_uninitialized_properties_95029","Add undefined type to all uninitialized properties"),Change_all_jsdoc_style_types_to_TypeScript:fY(95030,3,"Change_all_jsdoc_style_types_to_TypeScript_95030","Change all jsdoc-style types to TypeScript"),Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types:fY(95031,3,"Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types_95031","Change all jsdoc-style types to TypeScript (and add '| undefined' to nullable types)"),Implement_all_unimplemented_interfaces:fY(95032,3,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:fY(95033,3,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:fY(95034,3,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:fY(95035,3,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:fY(95036,3,"Make_all_super_calls_the_first_statement_in_their_constructor_95036","Make all 'super()' calls the first statement in their constructor"),Add_qualifier_to_all_unresolved_variables_matching_a_member_name:fY(95037,3,"Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037","Add qualifier to all unresolved variables matching a member name"),Change_all_extended_interfaces_to_implements:fY(95038,3,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:fY(95039,3,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:fY(95040,3,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:fY(95041,3,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:fY(95042,3,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:fY(95043,3,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:fY(95044,3,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:fY(95045,3,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:fY(95046,3,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:fY(95047,3,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:fY(95048,3,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:fY(95049,3,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:fY(95050,3,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:fY(95051,3,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:fY(95052,3,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:fY(95053,3,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:fY(95054,3,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:fY(95055,3,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:fY(95056,3,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:fY(95057,3,"Convert_named_imports_to_namespace_import_95057","Convert named imports to namespace import"),Add_or_remove_braces_in_an_arrow_function:fY(95058,3,"Add_or_remove_braces_in_an_arrow_function_95058","Add or remove braces in an arrow function"),Add_braces_to_arrow_function:fY(95059,3,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:fY(95060,3,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:fY(95061,3,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:fY(95062,3,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:fY(95063,3,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:fY(95064,3,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:fY(95065,3,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:fY(95066,3,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_missing_call_parentheses:fY(95067,3,"Add_missing_call_parentheses_95067","Add missing call parentheses"),Add_all_missing_call_parentheses:fY(95068,3,"Add_all_missing_call_parentheses_95068","Add all missing call parentheses"),Add_unknown_conversion_for_non_overlapping_types:fY(95069,3,"Add_unknown_conversion_for_non_overlapping_types_95069","Add 'unknown' conversion for non-overlapping types"),Add_unknown_to_all_conversions_of_non_overlapping_types:fY(95070,3,"Add_unknown_to_all_conversions_of_non_overlapping_types_95070","Add 'unknown' to all conversions of non-overlapping types"),Add_missing_new_operator_to_call:fY(95071,3,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:fY(95072,3,"Add_missing_new_operator_to_all_calls_95072","Add missing 'new' operator to all calls"),Add_names_to_all_parameters_without_names:fY(95073,3,"Add_names_to_all_parameters_without_names_95073","Add names to all parameters without names"),Enable_the_experimentalDecorators_option_in_your_configuration_file:fY(95074,3,"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074","Enable the 'experimentalDecorators' option in your configuration file"),Convert_parameters_to_destructured_object:fY(95075,3,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Extract_type:fY(95077,3,"Extract_type_95077","Extract type"),Extract_to_type_alias:fY(95078,3,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:fY(95079,3,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:fY(95080,3,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:fY(95081,3,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:fY(95082,3,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:fY(95083,3,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:fY(95084,3,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:fY(95085,3,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:fY(95086,3,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:fY(95087,3,"Remove_all_unnecessary_uses_of_await_95087","Remove all unnecessary uses of 'await'"),Enable_the_jsx_flag_in_your_configuration_file:fY(95088,3,"Enable_the_jsx_flag_in_your_configuration_file_95088","Enable the '--jsx' flag in your configuration file"),Add_await_to_initializers:fY(95089,3,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:fY(95090,3,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:fY(95091,3,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:fY(95092,3,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:fY(95093,3,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:fY(95094,3,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:fY(95095,3,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),Convert_to_template_string:fY(95096,3,"Convert_to_template_string_95096","Convert to template string"),Add_export_to_make_this_file_into_a_module:fY(95097,3,"Add_export_to_make_this_file_into_a_module_95097","Add 'export {}' to make this file into a module"),Set_the_target_option_in_your_configuration_file_to_0:fY(95098,3,"Set_the_target_option_in_your_configuration_file_to_0_95098","Set the 'target' option in your configuration file to '{0}'"),Set_the_module_option_in_your_configuration_file_to_0:fY(95099,3,"Set_the_module_option_in_your_configuration_file_to_0_95099","Set the 'module' option in your configuration file to '{0}'"),Convert_invalid_character_to_its_html_entity_code:fY(95100,3,"Convert_invalid_character_to_its_html_entity_code_95100","Convert invalid character to its html entity code"),Convert_all_invalid_characters_to_HTML_entity_code:fY(95101,3,"Convert_all_invalid_characters_to_HTML_entity_code_95101","Convert all invalid characters to HTML entity code"),Convert_all_const_to_let:fY(95102,3,"Convert_all_const_to_let_95102","Convert all 'const' to 'let'"),Convert_function_expression_0_to_arrow_function:fY(95105,3,"Convert_function_expression_0_to_arrow_function_95105","Convert function expression '{0}' to arrow function"),Convert_function_declaration_0_to_arrow_function:fY(95106,3,"Convert_function_declaration_0_to_arrow_function_95106","Convert function declaration '{0}' to arrow function"),Fix_all_implicit_this_errors:fY(95107,3,"Fix_all_implicit_this_errors_95107","Fix all implicit-'this' errors"),Wrap_invalid_character_in_an_expression_container:fY(95108,3,"Wrap_invalid_character_in_an_expression_container_95108","Wrap invalid character in an expression container"),Wrap_all_invalid_characters_in_an_expression_container:fY(95109,3,"Wrap_all_invalid_characters_in_an_expression_container_95109","Wrap all invalid characters in an expression container"),Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file:fY(95110,3,"Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file_95110","Visit https://aka.ms/tsconfig to read more about this file"),Add_a_return_statement:fY(95111,3,"Add_a_return_statement_95111","Add a return statement"),Remove_braces_from_arrow_function_body:fY(95112,3,"Remove_braces_from_arrow_function_body_95112","Remove braces from arrow function body"),Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal:fY(95113,3,"Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113","Wrap the following body with parentheses which should be an object literal"),Add_all_missing_return_statement:fY(95114,3,"Add_all_missing_return_statement_95114","Add all missing return statement"),Remove_braces_from_all_arrow_function_bodies_with_relevant_issues:fY(95115,3,"Remove_braces_from_all_arrow_function_bodies_with_relevant_issues_95115","Remove braces from all arrow function bodies with relevant issues"),Wrap_all_object_literal_with_parentheses:fY(95116,3,"Wrap_all_object_literal_with_parentheses_95116","Wrap all object literal with parentheses"),Move_labeled_tuple_element_modifiers_to_labels:fY(95117,3,"Move_labeled_tuple_element_modifiers_to_labels_95117","Move labeled tuple element modifiers to labels"),Convert_overload_list_to_single_signature:fY(95118,3,"Convert_overload_list_to_single_signature_95118","Convert overload list to single signature"),Generate_get_and_set_accessors_for_all_overriding_properties:fY(95119,3,"Generate_get_and_set_accessors_for_all_overriding_properties_95119","Generate 'get' and 'set' accessors for all overriding properties"),Wrap_in_JSX_fragment:fY(95120,3,"Wrap_in_JSX_fragment_95120","Wrap in JSX fragment"),Wrap_all_unparented_JSX_in_JSX_fragment:fY(95121,3,"Wrap_all_unparented_JSX_in_JSX_fragment_95121","Wrap all unparented JSX in JSX fragment"),Convert_arrow_function_or_function_expression:fY(95122,3,"Convert_arrow_function_or_function_expression_95122","Convert arrow function or function expression"),Convert_to_anonymous_function:fY(95123,3,"Convert_to_anonymous_function_95123","Convert to anonymous function"),Convert_to_named_function:fY(95124,3,"Convert_to_named_function_95124","Convert to named function"),Convert_to_arrow_function:fY(95125,3,"Convert_to_arrow_function_95125","Convert to arrow function"),Remove_parentheses:fY(95126,3,"Remove_parentheses_95126","Remove parentheses"),Could_not_find_a_containing_arrow_function:fY(95127,3,"Could_not_find_a_containing_arrow_function_95127","Could not find a containing arrow function"),Containing_function_is_not_an_arrow_function:fY(95128,3,"Containing_function_is_not_an_arrow_function_95128","Containing function is not an arrow function"),Could_not_find_export_statement:fY(95129,3,"Could_not_find_export_statement_95129","Could not find export statement"),This_file_already_has_a_default_export:fY(95130,3,"This_file_already_has_a_default_export_95130","This file already has a default export"),Could_not_find_import_clause:fY(95131,3,"Could_not_find_import_clause_95131","Could not find import clause"),Could_not_find_namespace_import_or_named_imports:fY(95132,3,"Could_not_find_namespace_import_or_named_imports_95132","Could not find namespace import or named imports"),Selection_is_not_a_valid_type_node:fY(95133,3,"Selection_is_not_a_valid_type_node_95133","Selection is not a valid type node"),No_type_could_be_extracted_from_this_type_node:fY(95134,3,"No_type_could_be_extracted_from_this_type_node_95134","No type could be extracted from this type node"),Could_not_find_property_for_which_to_generate_accessor:fY(95135,3,"Could_not_find_property_for_which_to_generate_accessor_95135","Could not find property for which to generate accessor"),Name_is_not_valid:fY(95136,3,"Name_is_not_valid_95136","Name is not valid"),Can_only_convert_property_with_modifier:fY(95137,3,"Can_only_convert_property_with_modifier_95137","Can only convert property with modifier"),Switch_each_misused_0_to_1:fY(95138,3,"Switch_each_misused_0_to_1_95138","Switch each misused '{0}' to '{1}'"),Convert_to_optional_chain_expression:fY(95139,3,"Convert_to_optional_chain_expression_95139","Convert to optional chain expression"),Could_not_find_convertible_access_expression:fY(95140,3,"Could_not_find_convertible_access_expression_95140","Could not find convertible access expression"),Could_not_find_matching_access_expressions:fY(95141,3,"Could_not_find_matching_access_expressions_95141","Could not find matching access expressions"),Can_only_convert_logical_AND_access_chains:fY(95142,3,"Can_only_convert_logical_AND_access_chains_95142","Can only convert logical AND access chains"),Add_void_to_Promise_resolved_without_a_value:fY(95143,3,"Add_void_to_Promise_resolved_without_a_value_95143","Add 'void' to Promise resolved without a value"),Add_void_to_all_Promises_resolved_without_a_value:fY(95144,3,"Add_void_to_all_Promises_resolved_without_a_value_95144","Add 'void' to all Promises resolved without a value"),Use_element_access_for_0:fY(95145,3,"Use_element_access_for_0_95145","Use element access for '{0}'"),Use_element_access_for_all_undeclared_properties:fY(95146,3,"Use_element_access_for_all_undeclared_properties_95146","Use element access for all undeclared properties."),Delete_all_unused_imports:fY(95147,3,"Delete_all_unused_imports_95147","Delete all unused imports"),Infer_function_return_type:fY(95148,3,"Infer_function_return_type_95148","Infer function return type"),Return_type_must_be_inferred_from_a_function:fY(95149,3,"Return_type_must_be_inferred_from_a_function_95149","Return type must be inferred from a function"),Could_not_determine_function_return_type:fY(95150,3,"Could_not_determine_function_return_type_95150","Could not determine function return type"),Could_not_convert_to_arrow_function:fY(95151,3,"Could_not_convert_to_arrow_function_95151","Could not convert to arrow function"),Could_not_convert_to_named_function:fY(95152,3,"Could_not_convert_to_named_function_95152","Could not convert to named function"),Could_not_convert_to_anonymous_function:fY(95153,3,"Could_not_convert_to_anonymous_function_95153","Could not convert to anonymous function"),Can_only_convert_string_concatenation:fY(95154,3,"Can_only_convert_string_concatenation_95154","Can only convert string concatenation"),Selection_is_not_a_valid_statement_or_statements:fY(95155,3,"Selection_is_not_a_valid_statement_or_statements_95155","Selection is not a valid statement or statements"),Add_missing_function_declaration_0:fY(95156,3,"Add_missing_function_declaration_0_95156","Add missing function declaration '{0}'"),Add_all_missing_function_declarations:fY(95157,3,"Add_all_missing_function_declarations_95157","Add all missing function declarations"),Method_not_implemented:fY(95158,3,"Method_not_implemented_95158","Method not implemented."),Function_not_implemented:fY(95159,3,"Function_not_implemented_95159","Function not implemented."),Add_override_modifier:fY(95160,3,"Add_override_modifier_95160","Add 'override' modifier"),Remove_override_modifier:fY(95161,3,"Remove_override_modifier_95161","Remove 'override' modifier"),Add_all_missing_override_modifiers:fY(95162,3,"Add_all_missing_override_modifiers_95162","Add all missing 'override' modifiers"),Remove_all_unnecessary_override_modifiers:fY(95163,3,"Remove_all_unnecessary_override_modifiers_95163","Remove all unnecessary 'override' modifiers"),Can_only_convert_named_export:fY(95164,3,"Can_only_convert_named_export_95164","Can only convert named export"),Add_missing_properties:fY(95165,3,"Add_missing_properties_95165","Add missing properties"),Add_all_missing_properties:fY(95166,3,"Add_all_missing_properties_95166","Add all missing properties"),Add_missing_attributes:fY(95167,3,"Add_missing_attributes_95167","Add missing attributes"),Add_all_missing_attributes:fY(95168,3,"Add_all_missing_attributes_95168","Add all missing attributes"),Add_undefined_to_optional_property_type:fY(95169,3,"Add_undefined_to_optional_property_type_95169","Add 'undefined' to optional property type"),Convert_named_imports_to_default_import:fY(95170,3,"Convert_named_imports_to_default_import_95170","Convert named imports to default import"),Delete_unused_param_tag_0:fY(95171,3,"Delete_unused_param_tag_0_95171","Delete unused '@param' tag '{0}'"),Delete_all_unused_param_tags:fY(95172,3,"Delete_all_unused_param_tags_95172","Delete all unused '@param' tags"),Rename_param_tag_name_0_to_1:fY(95173,3,"Rename_param_tag_name_0_to_1_95173","Rename '@param' tag name '{0}' to '{1}'"),Use_0:fY(95174,3,"Use_0_95174","Use `{0}`."),Use_Number_isNaN_in_all_conditions:fY(95175,3,"Use_Number_isNaN_in_all_conditions_95175","Use `Number.isNaN` in all conditions."),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:fY(18004,1,"No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer_18004","No value exists in scope for the shorthand property '{0}'. Either declare one or provide an initializer."),Classes_may_not_have_a_field_named_constructor:fY(18006,1,"Classes_may_not_have_a_field_named_constructor_18006","Classes may not have a field named 'constructor'."),JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array:fY(18007,1,"JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array_18007","JSX expressions may not use the comma operator. Did you mean to write an array?"),Private_identifiers_cannot_be_used_as_parameters:fY(18009,1,"Private_identifiers_cannot_be_used_as_parameters_18009","Private identifiers cannot be used as parameters."),An_accessibility_modifier_cannot_be_used_with_a_private_identifier:fY(18010,1,"An_accessibility_modifier_cannot_be_used_with_a_private_identifier_18010","An accessibility modifier cannot be used with a private identifier."),The_operand_of_a_delete_operator_cannot_be_a_private_identifier:fY(18011,1,"The_operand_of_a_delete_operator_cannot_be_a_private_identifier_18011","The operand of a 'delete' operator cannot be a private identifier."),constructor_is_a_reserved_word:fY(18012,1,"constructor_is_a_reserved_word_18012","'#constructor' is a reserved word."),Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier:fY(18013,1,"Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier_18013","Property '{0}' is not accessible outside class '{1}' because it has a private identifier."),The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling:fY(18014,1,"The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_priv_18014","The property '{0}' cannot be accessed on type '{1}' within this class because it is shadowed by another private identifier with the same spelling."),Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2:fY(18015,1,"Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2_18015","Property '{0}' in type '{1}' refers to a different member that cannot be accessed from within type '{2}'."),Private_identifiers_are_not_allowed_outside_class_bodies:fY(18016,1,"Private_identifiers_are_not_allowed_outside_class_bodies_18016","Private identifiers are not allowed outside class bodies."),The_shadowing_declaration_of_0_is_defined_here:fY(18017,1,"The_shadowing_declaration_of_0_is_defined_here_18017","The shadowing declaration of '{0}' is defined here"),The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here:fY(18018,1,"The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here_18018","The declaration of '{0}' that you probably intended to use is defined here"),_0_modifier_cannot_be_used_with_a_private_identifier:fY(18019,1,"_0_modifier_cannot_be_used_with_a_private_identifier_18019","'{0}' modifier cannot be used with a private identifier."),An_enum_member_cannot_be_named_with_a_private_identifier:fY(18024,1,"An_enum_member_cannot_be_named_with_a_private_identifier_18024","An enum member cannot be named with a private identifier."),can_only_be_used_at_the_start_of_a_file:fY(18026,1,"can_only_be_used_at_the_start_of_a_file_18026","'#!' can only be used at the start of a file."),Compiler_reserves_name_0_when_emitting_private_identifier_downlevel:fY(18027,1,"Compiler_reserves_name_0_when_emitting_private_identifier_downlevel_18027","Compiler reserves name '{0}' when emitting private identifier downlevel."),Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher:fY(18028,1,"Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028","Private identifiers are only available when targeting ECMAScript 2015 and higher."),Private_identifiers_are_not_allowed_in_variable_declarations:fY(18029,1,"Private_identifiers_are_not_allowed_in_variable_declarations_18029","Private identifiers are not allowed in variable declarations."),An_optional_chain_cannot_contain_private_identifiers:fY(18030,1,"An_optional_chain_cannot_contain_private_identifiers_18030","An optional chain cannot contain private identifiers."),The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents:fY(18031,1,"The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituent_18031","The intersection '{0}' was reduced to 'never' because property '{1}' has conflicting types in some constituents."),The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some:fY(18032,1,"The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_pr_18032","The intersection '{0}' was reduced to 'never' because property '{1}' exists in multiple constituents and is private in some."),Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values:fY(18033,1,"Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values_18033","Type '{0}' is not assignable to type '{1}' as required for computed enum member values."),Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compiler_option_is_specified_e_g_Fragment:fY(18034,3,"Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compi_18034","Specify the JSX fragment factory function to use when targeting 'react' JSX emit with 'jsxFactory' compiler option is specified, e.g. 'Fragment'."),Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name:fY(18035,1,"Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name_18035","Invalid value for 'jsxFragmentFactory'. '{0}' is not a valid identifier or qualified-name."),Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator:fY(18036,1,"Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_dec_18036","Class decorators can't be used with static private identifier. Consider removing the experimental decorator."),Await_expression_cannot_be_used_inside_a_class_static_block:fY(18037,1,"Await_expression_cannot_be_used_inside_a_class_static_block_18037","Await expression cannot be used inside a class static block."),For_await_loops_cannot_be_used_inside_a_class_static_block:fY(18038,1,"For_await_loops_cannot_be_used_inside_a_class_static_block_18038","'For await' loops cannot be used inside a class static block."),Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block:fY(18039,1,"Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block_18039","Invalid use of '{0}'. It cannot be used inside a class static block."),A_return_statement_cannot_be_used_inside_a_class_static_block:fY(18041,1,"A_return_statement_cannot_be_used_inside_a_class_static_block_18041","A 'return' statement cannot be used inside a class static block."),_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation:fY(18042,1,"_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation_18042","'{0}' is a type and cannot be imported in JavaScript files. Use '{1}' in a JSDoc type annotation."),Types_cannot_appear_in_export_declarations_in_JavaScript_files:fY(18043,1,"Types_cannot_appear_in_export_declarations_in_JavaScript_files_18043","Types cannot appear in export declarations in JavaScript files."),_0_is_automatically_exported_here:fY(18044,3,"_0_is_automatically_exported_here_18044","'{0}' is automatically exported here."),Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher:fY(18045,1,"Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher_18045","Properties with the 'accessor' modifier are only available when targeting ECMAScript 2015 and higher."),_0_is_of_type_unknown:fY(18046,1,"_0_is_of_type_unknown_18046","'{0}' is of type 'unknown'."),_0_is_possibly_null:fY(18047,1,"_0_is_possibly_null_18047","'{0}' is possibly 'null'."),_0_is_possibly_undefined:fY(18048,1,"_0_is_possibly_undefined_18048","'{0}' is possibly 'undefined'."),_0_is_possibly_null_or_undefined:fY(18049,1,"_0_is_possibly_null_or_undefined_18049","'{0}' is possibly 'null' or 'undefined'."),The_value_0_cannot_be_used_here:fY(18050,1,"The_value_0_cannot_be_used_here_18050","The value '{0}' cannot be used here."),Compiler_option_0_cannot_be_given_an_empty_string:fY(18051,1,"Compiler_option_0_cannot_be_given_an_empty_string_18051","Compiler option '{0}' cannot be given an empty string.")}}});function fQ(e){return e>=79}function fZ(e){return 31===e||fQ(e)}function f0(e,t){let n;if(e=2?f0(e,tD):1===t?f0(e,tR):f0(e,tI)}function f2(e){return tF[e]}function f4(e){return tk.get(e)}function f8(e){let t=[],n=0,r=0;for(;n127&&mi(i)&&(t.push(r),r=n)}}return t.push(r),t}function f6(e,t,n,r){return e.getPositionOfLineAndCharacter?e.getPositionOfLineAndCharacter(t,n,r):f3(f5(e),t,n,e.text,r)}function f3(e,t,n,r,i){(t<0||t>=e.length)&&(i?t=t<0?0:t>=e.length?e.length-1:t:T.fail(`Bad line number. Line: ${t}, lineStarts.length: ${e.length} , line map is correct? ${void 0!==r?d3(e,f8(r)):"unknown"}`));let a=e[t]+n;return i?a>e[t+1]?e[t+1]:"string"==typeof r&&a>r.length?r.length:a:(t=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function mi(e){return 10===e||13===e||8232===e||8233===e}function ma(e){return e>=48&&e<=57}function mo(e){return ma(e)||e>=65&&e<=70||e>=97&&e<=102}function ms(e){return e>=48&&e<=55}function ml(e,t){let n=e.charCodeAt(t);switch(n){case 13:case 10:case 9:case 11:case 12:case 32:case 47:case 60:case 124:case 61:case 62:return!0;case 35:return 0===t;default:return n>127}}function mc(e,t,n,r,i){if(C9(t))return t;let a=!1;for(;;){let o=e.charCodeAt(t);switch(o){case 13:10===e.charCodeAt(t+1)&&t++;case 10:if(t++,n)break;a=!!i;continue;case 9:case 11:case 12:case 32:t++;continue;case 47:if(r)break;if(47===e.charCodeAt(t+1)){for(t+=2;t127&&mn(o)){t++;continue}}return t}}function md(e,t){if(T.assert(t>=0),0===t||mi(e.charCodeAt(t-1))){let n=e.charCodeAt(t);if(t+tG=0&&n127&&mn(o)){u&&mi(o)&&(d=!0),n++;continue}break i}}return u&&(p=i(s,l,c,d,a,p)),p}function mm(e,t,n,r){return mf(!1,e,t,!1,n,r)}function mh(e,t,n,r){return mf(!1,e,t,!0,n,r)}function my(e,t,n,r,i){return mf(!0,e,t,!1,n,r,i)}function mg(e,t,n,r,i){return mf(!0,e,t,!0,n,r,i)}function mv(e,t,n,r,i,a=[]){return a.push({kind:n,pos:e,end:t,hasTrailingNewLine:r}),a}function mb(e,t){return my(e,t,mv,void 0,void 0)}function mE(e,t){return mg(e,t,mv,void 0,void 0)}function mT(e){let t=tB.exec(e);if(t)return t[0]}function mx(e,t){return e>=65&&e<=90||e>=97&&e<=122||36===e||95===e||e>127&&f1(e,t)}function mS(e,t,n){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||36===e||95===e||1===n&&(45===e||58===e)||e>127&&(t>=2?f0(e,tO):1===t?f0(e,tN):f0(e,tw))}function mA(e,t,n){let r=tU(e,0);if(!mx(r,t))return!1;for(let i=mC(r);ic,getTextPos:()=>s,getToken:()=>u,getTokenPos:()=>d,getTokenText:()=>m.substring(d,s),getTokenValue:()=>_,hasUnicodeEscape:()=>(1024&p)!=0,hasExtendedUnicodeEscape:()=>(8&p)!=0,hasPrecedingLineBreak:()=>(1&p)!=0,hasPrecedingJSDocComment:()=>(2&p)!=0,isIdentifier:()=>79===u||u>116,isReservedWord:()=>u>=81&&u<=116,isUnterminated:()=>(4&p)!=0,getCommentDirectives:()=>f,getNumericLiteralFlags:()=>1008&p,getTokenFlags:()=>p,reScanGreaterToken:function(){if(31===u){if(62===m.charCodeAt(s))return 62===m.charCodeAt(s+1)?61===m.charCodeAt(s+2)?(s+=3,u=72):(s+=2,u=49):61===m.charCodeAt(s+1)?(s+=2,u=71):(s++,u=48);if(61===m.charCodeAt(s))return s++,u=33}return u},reScanAsteriskEqualsToken:function(){return T.assert(66===u,"'reScanAsteriskEqualsToken' should only be called on a '*='"),s=d+1,u=63},reScanSlashToken:function(){if(43===u||68===u){let t=d+1,n=!1,r=!1;for(;;){if(t>=l){p|=4,g(tA.Unterminated_regular_expression_literal);break}let e=m.charCodeAt(t);if(mi(e)){p|=4,g(tA.Unterminated_regular_expression_literal);break}if(n)n=!1;else if(47!==e||r)91===e?r=!0:92===e?n=!0:93===e&&(r=!1);else{t++;break}t++}for(;t=l)return u=1;let t=tU(m,s);switch(s+=mC(t),t){case 9:case 11:case 12:case 32:for(;s=0&&mx(n,e))return s+=3,p|=8,_=w()+D(),u=O();let r=R();if(r>=0&&mx(r,e))return s+=6,p|=1024,_=String.fromCharCode(r)+D(),u=O();return s++,u=0}if(!mx(t,e))return u=0;{let n=t;for(;s{let e=y.getText();return e.slice(0,y.getStartPos())+"║"+e.slice(y.getStartPos())}}),y;function g(e,t=s,n){if(i){let r=s;s=t,i(e,n||0),s=r}}function v(){let e=s,t=!1,n=!1,r="";for(;;){let i=m.charCodeAt(s);if(95===i){p|=512,t?(t=!1,n=!0,r+=m.substring(e,s)):n?g(tA.Multiple_consecutive_numeric_separators_are_not_permitted,s,1):g(tA.Numeric_separators_are_not_allowed_here,s,1),e=++s;continue}if(ma(i)){t=!0,n=!1,s++;continue}break}return 95===m.charCodeAt(s-1)&&g(tA.Numeric_separators_are_not_allowed_here,s-1,1),r+m.substring(e,s)}function E(){let e,t,n;let r=s,i=v();46===m.charCodeAt(s)&&(s++,e=v());let a=s;if(69===m.charCodeAt(s)||101===m.charCodeAt(s)){s++,p|=16,(43===m.charCodeAt(s)||45===m.charCodeAt(s))&&s++;let e=s,n=v();n?(t=m.substring(a,e)+n,a=s):g(tA.Digit_expected)}if(512&p?(n=i,e&&(n+="."+e),t&&(n+=t)):n=m.substring(r,a),void 0!==e||16&p)return x(r,void 0===e&&!!(16&p)),{type:8,value:""+ +n};{_=n;let e=P();return x(r),{type:e,value:_}}}function x(t,n){if(!mx(tU(m,s),e))return;let r=s,{length:i}=D();1===i&&"n"===m[r]?n?g(tA.A_bigint_literal_cannot_use_exponential_notation,t,r-t+1):g(tA.A_bigint_literal_must_be_an_integer,t,r-t+1):(g(tA.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal,r,i),s=r)}function S(e,t){let n=A(e,!1,t);return n?parseInt(n,16):-1}function A(e,t,n){let r=[],i=!1,a=!1;for(;r.length=65&&e<=70)e+=32;else if(!(e>=48&&e<=57||e>=97&&e<=102))break;r.push(e),s++,a=!1}return r.length=l){n+=m.substring(r,s),p|=4,g(tA.Unterminated_string_literal);break}let i=m.charCodeAt(s);if(i===t){n+=m.substring(r,s),s++;break}if(92===i&&!e){n+=m.substring(r,s)+k(),r=s;continue}if(mi(i)&&!e){n+=m.substring(r,s),p|=4,g(tA.Unterminated_string_literal);break}s++}return n}function C(e){let t;let n=96===m.charCodeAt(s),r=++s,i="";for(;;){if(s>=l){i+=m.substring(r,s),p|=4,g(tA.Unterminated_template_literal),t=n?14:17;break}let a=m.charCodeAt(s);if(96===a){i+=m.substring(r,s),s++,t=n?14:17;break}if(36===a&&s+1=l)return g(tA.Unexpected_end_of_text),"";let n=m.charCodeAt(s);switch(s++,n){case 48:if(e&&s=0?String.fromCharCode(t):(g(tA.Hexadecimal_digit_expected),"")}function w(){let e=A(1,!0,!1),t=e?parseInt(e,16):-1,n=!1;return(t<0?(g(tA.Hexadecimal_digit_expected),n=!0):t>1114111&&(g(tA.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),n=!0),s>=l?(g(tA.Unexpected_end_of_text),n=!0):125===m.charCodeAt(s)?s++:(g(tA.Unterminated_Unicode_escape_sequence),n=!0),n)?"":tV(t)}function R(){if(s+5=0&&mS(r,e)){s+=3,p|=8,t+=w(),n=s;continue}if(!((r=R())>=0&&mS(r,e)))break;p|=1024,t+=m.substring(n,s)+tV(r),s+=6,n=s}else break}return t+m.substring(n,s)}function O(){let e=_.length;if(e>=2&&e<=12){let e=_.charCodeAt(0);if(e>=97&&e<=122){let e=tC.get(_);if(void 0!==e)return u=e}}return u=79}function M(e){let t="",n=!1,r=!1;for(;;){let i=m.charCodeAt(s);if(95===i){p|=512,n?(n=!1,r=!0):r?g(tA.Multiple_consecutive_numeric_separators_are_not_permitted,s,1):g(tA.Numeric_separators_are_not_allowed_here,s,1),s++;continue}if(n=!0,!ma(i)||i-48>=e)break;t+=m[s],s++,r=!1}return 95===m.charCodeAt(s-1)&&g(tA.Numeric_separators_are_not_allowed_here,s-1,1),t}function P(){return 110===m.charCodeAt(s)?(_+="n",384&p&&(_=kf(_)+"n"),s++,9):(_=""+(128&p?parseInt(_.slice(2),2):256&p?parseInt(_.slice(2),8):+_),8)}function F(){c=s,p=0;let r=!1;for(;;){if(d=s,s>=l)return u=1;let i=tU(m,s);if(35===i&&0===s&&m_(m,s)){if(s=mp(m,s),t)continue;return u=6}switch(i){case 10:case 13:if(p|=1,!t)return 13===i&&s+1=0&&mx(a,e))return s+=3,p|=8,_=w()+D(),u=O();let o=R();if(o>=0&&mx(o,e))return s+=6,p|=1024,_=String.fromCharCode(o)+D(),u=O();return g(tA.Invalid_character),s++,u=0;case 35:if(0!==s&&"!"===m[s+1])return g(tA.can_only_be_used_at_the_start_of_a_file),s++,u=0;let c=tU(m,s+1);if(92===c){s++;let t=N();if(t>=0&&mx(t,e))return s+=3,p|=8,_="#"+w()+D(),u=80;let n=R();if(n>=0&&mx(n,e))return s+=6,p|=1024,_="#"+String.fromCharCode(n)+D(),u=80;s--}return mx(c,e)?(s++,G(c,e)):(_="#",g(tA.Invalid_character,s++,mC(i))),u=80;default:let y=G(i,e);if(y)return u=y;if(mr(i)){s+=mC(i);continue}if(mi(i)){p|=1,s+=mC(i);continue}let v=mC(i);return g(tA.Invalid_character,s,v),s+=v,u=0}}}function G(e,t){let n=e;if(mx(n,t)){for(s+=mC(n);s=l)return u=1;let t=m.charCodeAt(s);if(60===t)return 47===m.charCodeAt(s+1)?(s+=2,u=30):(s++,u=29);if(123===t)return s++,u=18;let n=0;for(;s0)break;else mn(t)||(n=s);s++}return _=m.substring(c,s),-1===n?12:11}function V(){switch(c=s,m.charCodeAt(s)){case 34:case 39:return _=L(!0),u=10;default:return F()}}function j(e,t){let n=s,r=c,i=d,a=u,o=_,l=p,f=e();return(!f||t)&&(s=n,c=r,d=i,u=a,_=o,p=l),f}function H(e,t,n){m=e||"",l=void 0===n?m.length:t+n,K(t||0)}function K(e){T.assert(e>=0),s=e,c=e,d=e,u=0,_=void 0,p=0}}function mC(e){return e>=65536?2:1}function mk(e){return(T.assert(0<=e&&e<=1114111),e<=65535)?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296,(e-65536)%1024+56320)}function mI(e){return tV(e)}var mw=dj({"src/compiler/scanner.ts"(){let e;Kr(),tL={abstract:126,accessor:127,any:131,as:128,asserts:129,assert:130,bigint:160,boolean:134,break:81,case:82,catch:83,class:84,continue:86,const:85,["constructor"]:135,debugger:87,declare:136,default:88,delete:89,do:90,else:91,enum:92,export:93,extends:94,false:95,finally:96,for:97,from:158,function:98,get:137,if:99,implements:117,import:100,in:101,infer:138,instanceof:102,interface:118,intrinsic:139,is:140,keyof:141,let:119,module:142,namespace:143,never:144,new:103,null:104,number:148,object:149,package:120,private:121,protected:122,public:123,override:161,out:145,readonly:146,require:147,global:159,return:105,satisfies:150,set:151,static:124,string:152,super:106,switch:107,symbol:153,this:108,throw:109,true:110,try:111,type:154,typeof:112,undefined:155,unique:156,unknown:157,var:113,void:114,while:115,with:116,yield:125,async:132,await:133,of:162},tC=new Map(Object.entries(tL)),tk=new Map(Object.entries({...tL,"{":18,"}":19,"(":20,")":21,"[":22,"]":23,".":24,"...":25,";":26,",":27,"<":29,">":31,"<=":32,">=":33,"==":34,"!=":35,"===":36,"!==":37,"=>":38,"+":39,"-":40,"**":42,"*":41,"/":43,"%":44,"++":45,"--":46,"<<":47,">":48,">>>":49,"&":50,"|":51,"^":52,"!":53,"~":54,"&&":55,"||":56,"?":57,"??":60,"?.":28,":":58,"=":63,"+=":64,"-=":65,"*=":66,"**=":67,"/=":68,"%=":69,"<<=":70,">>=":71,">>>=":72,"&=":73,"|=":74,"^=":78,"||=":75,"&&=":76,"??=":77,"@":59,"#":62,"`":61})),tI=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1569,1594,1600,1610,1649,1747,1749,1749,1765,1766,1786,1788,1808,1808,1810,1836,1920,1957,2309,2361,2365,2365,2384,2384,2392,2401,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2784,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2877,2877,2908,2909,2911,2913,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3294,3294,3296,3297,3333,3340,3342,3344,3346,3368,3370,3385,3424,3425,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3805,3840,3840,3904,3911,3913,3946,3976,3979,4096,4129,4131,4135,4137,4138,4176,4181,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6067,6176,6263,6272,6312,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8319,8319,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12329,12337,12341,12344,12346,12353,12436,12445,12446,12449,12538,12540,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65138,65140,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],tw=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,768,846,864,866,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1155,1158,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1425,1441,1443,1465,1467,1469,1471,1471,1473,1474,1476,1476,1488,1514,1520,1522,1569,1594,1600,1621,1632,1641,1648,1747,1749,1756,1759,1768,1770,1773,1776,1788,1808,1836,1840,1866,1920,1968,2305,2307,2309,2361,2364,2381,2384,2388,2392,2403,2406,2415,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2492,2494,2500,2503,2504,2507,2509,2519,2519,2524,2525,2527,2531,2534,2545,2562,2562,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2649,2652,2654,2654,2662,2676,2689,2691,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2784,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2876,2883,2887,2888,2891,2893,2902,2903,2908,2909,2911,2913,2918,2927,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3006,3010,3014,3016,3018,3021,3031,3031,3047,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3134,3140,3142,3144,3146,3149,3157,3158,3168,3169,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3262,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3297,3302,3311,3330,3331,3333,3340,3342,3344,3346,3368,3370,3385,3390,3395,3398,3400,3402,3405,3415,3415,3424,3425,3430,3439,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3805,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3946,3953,3972,3974,3979,3984,3991,3993,4028,4038,4038,4096,4129,4131,4135,4137,4138,4140,4146,4150,4153,4160,4169,4176,4185,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,4969,4977,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6099,6112,6121,6160,6169,6176,6263,6272,6313,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8255,8256,8319,8319,8400,8412,8417,8417,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12335,12337,12341,12344,12346,12353,12436,12441,12442,12445,12446,12449,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65056,65059,65075,65076,65101,65103,65136,65138,65140,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65381,65470,65474,65479,65482,65487,65490,65495,65498,65500],tR=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1319,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2208,2208,2210,2220,2308,2361,2365,2365,2384,2384,2392,2401,2417,2423,2425,2431,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3133,3160,3161,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3424,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6263,6272,6312,6314,6314,6320,6389,6400,6428,6480,6509,6512,6516,6528,6571,6593,6599,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7401,7404,7406,7409,7413,7414,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11823,11823,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42647,42656,42735,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43648,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],tN=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,768,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1155,1159,1162,1319,1329,1366,1369,1369,1377,1415,1425,1469,1471,1471,1473,1474,1476,1477,1479,1479,1488,1514,1520,1522,1552,1562,1568,1641,1646,1747,1749,1756,1759,1768,1770,1788,1791,1791,1808,1866,1869,1969,1984,2037,2042,2042,2048,2093,2112,2139,2208,2208,2210,2220,2276,2302,2304,2403,2406,2415,2417,2423,2425,2431,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2525,2527,2531,2534,2545,2561,2563,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2641,2641,2649,2652,2654,2654,2662,2677,2689,2691,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2787,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2909,2911,2915,2918,2927,2929,2929,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3016,3018,3021,3024,3024,3031,3031,3046,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3140,3142,3144,3146,3149,3157,3158,3160,3161,3168,3171,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3299,3302,3311,3313,3314,3330,3331,3333,3340,3342,3344,3346,3386,3389,3396,3398,3400,3402,3406,3415,3415,3424,3427,3430,3439,3450,3455,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3807,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3948,3953,3972,3974,3991,3993,4028,4038,4038,4096,4169,4176,4253,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4957,4959,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5908,5920,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6160,6169,6176,6263,6272,6314,6320,6389,6400,6428,6432,6443,6448,6459,6470,6509,6512,6516,6528,6571,6576,6601,6608,6617,6656,6683,6688,6750,6752,6780,6783,6793,6800,6809,6823,6823,6912,6987,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7376,7378,7380,7414,7424,7654,7676,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8204,8205,8255,8256,8276,8276,8305,8305,8319,8319,8336,8348,8400,8412,8417,8417,8421,8432,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11647,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11744,11775,11823,11823,12293,12295,12321,12335,12337,12341,12344,12348,12353,12438,12441,12442,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42647,42655,42737,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43047,43072,43123,43136,43204,43216,43225,43232,43255,43259,43259,43264,43309,43312,43347,43360,43388,43392,43456,43471,43481,43520,43574,43584,43597,43600,43609,43616,43638,43642,43643,43648,43714,43739,43741,43744,43759,43762,43766,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44010,44012,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65024,65039,65056,65062,65075,65076,65101,65103,65136,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],tD=[65,90,97,122,170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,895,895,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1327,1329,1366,1369,1369,1376,1416,1488,1514,1519,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2144,2154,2208,2228,2230,2237,2308,2361,2365,2365,2384,2384,2392,2401,2417,2432,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2556,2556,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2809,2809,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3129,3133,3133,3160,3162,3168,3169,3200,3200,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3412,3414,3423,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5870,5880,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6264,6272,6312,6314,6314,6320,6389,6400,6430,6480,6509,6512,6516,6528,6571,6576,6601,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7296,7304,7312,7354,7357,7359,7401,7404,7406,7411,7413,7414,7418,7418,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12443,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12730,12784,12799,13312,19893,19968,40943,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42653,42656,42735,42775,42783,42786,42888,42891,42943,42946,42950,42999,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43261,43262,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43488,43492,43494,43503,43514,43518,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43646,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43879,43888,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66176,66204,66208,66256,66304,66335,66349,66378,66384,66421,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,66736,66771,66776,66811,66816,66855,66864,66915,67072,67382,67392,67413,67424,67431,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68096,68112,68115,68117,68119,68121,68149,68192,68220,68224,68252,68288,68295,68297,68324,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68899,69376,69404,69415,69415,69424,69445,69600,69622,69635,69687,69763,69807,69840,69864,69891,69926,69956,69956,69968,70002,70006,70006,70019,70066,70081,70084,70106,70106,70108,70108,70144,70161,70163,70187,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70366,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70461,70461,70480,70480,70493,70497,70656,70708,70727,70730,70751,70751,70784,70831,70852,70853,70855,70855,71040,71086,71128,71131,71168,71215,71236,71236,71296,71338,71352,71352,71424,71450,71680,71723,71840,71903,71935,71935,72096,72103,72106,72144,72161,72161,72163,72163,72192,72192,72203,72242,72250,72250,72272,72272,72284,72329,72349,72349,72384,72440,72704,72712,72714,72750,72768,72768,72818,72847,72960,72966,72968,72969,72971,73008,73030,73030,73056,73061,73063,73064,73066,73097,73112,73112,73440,73458,73728,74649,74752,74862,74880,75075,77824,78894,82944,83526,92160,92728,92736,92766,92880,92909,92928,92975,92992,92995,93027,93047,93053,93071,93760,93823,93952,94026,94032,94032,94099,94111,94176,94177,94179,94179,94208,100343,100352,101106,110592,110878,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,123136,123180,123191,123197,123214,123214,123584,123627,124928,125124,125184,125251,125259,125259,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173782,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101],tO=[48,57,65,90,95,95,97,122,170,170,181,181,183,183,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,768,884,886,887,890,893,895,895,902,906,908,908,910,929,931,1013,1015,1153,1155,1159,1162,1327,1329,1366,1369,1369,1376,1416,1425,1469,1471,1471,1473,1474,1476,1477,1479,1479,1488,1514,1519,1522,1552,1562,1568,1641,1646,1747,1749,1756,1759,1768,1770,1788,1791,1791,1808,1866,1869,1969,1984,2037,2042,2042,2045,2045,2048,2093,2112,2139,2144,2154,2208,2228,2230,2237,2259,2273,2275,2403,2406,2415,2417,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2525,2527,2531,2534,2545,2556,2556,2558,2558,2561,2563,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2641,2641,2649,2652,2654,2654,2662,2677,2689,2691,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2787,2790,2799,2809,2815,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2909,2911,2915,2918,2927,2929,2929,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3016,3018,3021,3024,3024,3031,3031,3046,3055,3072,3084,3086,3088,3090,3112,3114,3129,3133,3140,3142,3144,3146,3149,3157,3158,3160,3162,3168,3171,3174,3183,3200,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3299,3302,3311,3313,3314,3328,3331,3333,3340,3342,3344,3346,3396,3398,3400,3402,3406,3412,3415,3423,3427,3430,3439,3450,3455,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3558,3567,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3807,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3948,3953,3972,3974,3991,3993,4028,4038,4038,4096,4169,4176,4253,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4957,4959,4969,4977,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5870,5880,5888,5900,5902,5908,5920,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6160,6169,6176,6264,6272,6314,6320,6389,6400,6430,6432,6443,6448,6459,6470,6509,6512,6516,6528,6571,6576,6601,6608,6618,6656,6683,6688,6750,6752,6780,6783,6793,6800,6809,6823,6823,6832,6845,6912,6987,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7296,7304,7312,7354,7357,7359,7376,7378,7380,7418,7424,7673,7675,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8255,8256,8276,8276,8305,8305,8319,8319,8336,8348,8400,8412,8417,8417,8421,8432,8450,8450,8455,8455,8458,8467,8469,8469,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11647,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11744,11775,12293,12295,12321,12335,12337,12341,12344,12348,12353,12438,12441,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12730,12784,12799,13312,19893,19968,40943,40960,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42737,42775,42783,42786,42888,42891,42943,42946,42950,42999,43047,43072,43123,43136,43205,43216,43225,43232,43255,43259,43259,43261,43309,43312,43347,43360,43388,43392,43456,43471,43481,43488,43518,43520,43574,43584,43597,43600,43609,43616,43638,43642,43714,43739,43741,43744,43759,43762,43766,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43879,43888,44010,44012,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65024,65039,65056,65071,65075,65076,65101,65103,65136,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66045,66045,66176,66204,66208,66256,66272,66272,66304,66335,66349,66378,66384,66426,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,66720,66729,66736,66771,66776,66811,66816,66855,66864,66915,67072,67382,67392,67413,67424,67431,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68099,68101,68102,68108,68115,68117,68119,68121,68149,68152,68154,68159,68159,68192,68220,68224,68252,68288,68295,68297,68326,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68903,68912,68921,69376,69404,69415,69415,69424,69456,69600,69622,69632,69702,69734,69743,69759,69818,69840,69864,69872,69881,69888,69940,69942,69951,69956,69958,69968,70003,70006,70006,70016,70084,70089,70092,70096,70106,70108,70108,70144,70161,70163,70199,70206,70206,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70378,70384,70393,70400,70403,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70459,70468,70471,70472,70475,70477,70480,70480,70487,70487,70493,70499,70502,70508,70512,70516,70656,70730,70736,70745,70750,70751,70784,70853,70855,70855,70864,70873,71040,71093,71096,71104,71128,71133,71168,71232,71236,71236,71248,71257,71296,71352,71360,71369,71424,71450,71453,71467,71472,71481,71680,71738,71840,71913,71935,71935,72096,72103,72106,72151,72154,72161,72163,72164,72192,72254,72263,72263,72272,72345,72349,72349,72384,72440,72704,72712,72714,72758,72760,72768,72784,72793,72818,72847,72850,72871,72873,72886,72960,72966,72968,72969,72971,73014,73018,73018,73020,73021,73023,73031,73040,73049,73056,73061,73063,73064,73066,73102,73104,73105,73107,73112,73120,73129,73440,73462,73728,74649,74752,74862,74880,75075,77824,78894,82944,83526,92160,92728,92736,92766,92768,92777,92880,92909,92912,92916,92928,92982,92992,92995,93008,93017,93027,93047,93053,93071,93760,93823,93952,94026,94031,94087,94095,94111,94176,94177,94179,94179,94208,100343,100352,101106,110592,110878,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,113821,113822,119141,119145,119149,119154,119163,119170,119173,119179,119210,119213,119362,119364,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,120782,120831,121344,121398,121403,121452,121461,121461,121476,121476,121499,121503,121505,121519,122880,122886,122888,122904,122907,122913,122915,122916,122918,122922,123136,123180,123184,123197,123200,123209,123214,123214,123584,123641,124928,125124,125136,125142,125184,125259,125264,125273,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173782,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101,917760,917999],tM=/^\/\/\/?\s*@(ts-expect-error|ts-ignore)/,tP=/^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/,e=[],tk.forEach((t,n)=>{e[t]=n}),tF=e,tG=7,tB=/^#!.*/,tU=String.prototype.codePointAt?(e,t)=>e.codePointAt(t):function(e,t){let n=e.length;if(t<0||t>=n)return;let r=e.charCodeAt(t);if(r>=55296&&r<=56319&&n>t+1){let n=e.charCodeAt(t+1);if(n>=56320&&n<=57343)return(r-55296)*1024+n-56320+65536}return r},tV=String.fromCodePoint?e=>String.fromCodePoint(e):mk}});function mR(e){return fl(e)||fa(e)}function mN(e){return uC(e,L6)}function mD(e){switch(Ct(e)){case 99:return"lib.esnext.full.d.ts";case 9:return"lib.es2022.full.d.ts";case 8:return"lib.es2021.full.d.ts";case 7:return"lib.es2020.full.d.ts";case 6:return"lib.es2019.full.d.ts";case 5:return"lib.es2018.full.d.ts";case 4:return"lib.es2017.full.d.ts";case 3:return"lib.es2016.full.d.ts";case 2:return"lib.es6.d.ts";default:return"lib.d.ts"}}function mO(e){return e.start+e.length}function mM(e){return 0===e.length}function mP(e,t){return t>=e.start&&t=e.pos&&t<=e.end}function mG(e,t){return t.start>=e.start&&mO(t)<=mO(e)}function mB(e,t){return void 0!==mU(e,t)}function mU(e,t){let n=mW(e,t);return n&&0===n.length?void 0:n}function mV(e,t){return mH(e.start,e.length,t.start,t.length)}function mj(e,t,n){return mH(e.start,e.length,t,n)}function mH(e,t,n,r){return n<=e+t&&n+r>=e}function mK(e,t){return t<=mO(e)&&t>=e.start}function mW(e,t){let n=Math.max(e.start,t.start),r=Math.min(mO(e),mO(t));return n<=r?mq(n,r):void 0}function mz(e,t){if(e<0)throw Error("start < 0");if(t<0)throw Error("length < 0");return{start:e,length:t}}function mq(e,t){return mz(e,t-e)}function mJ(e){return mz(e.span.start,e.newLength)}function mX(e){return mM(e.span)&&0===e.newLength}function mY(e,t){if(t<0)throw Error("newLength < 0");return{span:e,newLength:t}}function m$(e){if(0===e.length)return tj;if(1===e.length)return e[0];let t=e[0],n=t.span.start,r=mO(t.span),i=n+t.newLength;for(let t=1;te.flags)}function m5(e,t,n){let r=e.toLowerCase(),i=/^([a-z]+)([_\-]([a-z]+))?$/.exec(r);if(!i){n&&n.push(L0(tA.Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1,"en","ja-jp"));return}let a=i[1],o=i[3];function s(e,n,r){let i=fA(fy(fI(t.getExecutingFilePath())),e);if(n&&(i=i+"-"+n),i=t.resolvePath(fA(i,"diagnosticMessages.generated.json")),!t.fileExists(i))return!1;let a="";try{a=t.readFile(i)}catch(e){return r&&r.push(L0(tA.Unable_to_open_file_0,i)),!1}try{nd=JSON.parse(a)}catch(e){return r&&r.push(L0(tA.Corrupted_locale_file_0,i)),!1}return!0}d6(tH,r)&&!s(a,o,n)&&s(a,void 0,n),_J(e)}function m7(e,t){if(e)for(;void 0!==e.original;)e=e.original;return e&&t?t(e)?e:void 0:e}function m9(e,t){for(;e;){let n=t(e);if("quit"===n)break;if(n)return e;e=e.parent}}function he(e){return(8&e.flags)==0}function ht(e,t){if(void 0===e||he(e))return e;for(e=e.original;e;){if(he(e))return!t||t(e)?e:void 0;e=e.original}}function hn(e){return e.length>=2&&95===e.charCodeAt(0)&&95===e.charCodeAt(1)?"_"+e:e}function hr(e){return e.length>=3&&95===e.charCodeAt(0)&&95===e.charCodeAt(1)&&95===e.charCodeAt(2)?e.substr(1):e}function hi(e){return hr(e.escapedText)}function ha(e){let t=f4(e.escapedText);return t?_E(t,xS):void 0}function ho(e){return e.valueDeclaration&&yk(e.valueDeclaration)?hi(e.valueDeclaration.name):hr(e.escapedName)}function hs(e){let t=e.parent.parent;if(t){if(gO(t))return hl(t);switch(t.kind){case 240:if(t.declarationList&&t.declarationList.declarations[0])return hl(t.declarationList.declarations[0]);break;case 241:let e=t.expression;switch(223===e.kind&&63===e.operatorToken.kind&&(e=e.left),e.kind){case 208:return e.name;case 209:let n=e.argumentExpression;if(wb(n))return n}break;case 214:return hl(t.expression);case 253:if(gO(t.statement)||gp(t.statement))return hl(t.statement)}}}function hl(e){let t=hp(e);return t&&wb(t)?t:void 0}function hc(e,t){return!!(hu(e)&&wb(e.name)&&hi(e.name)===hi(t)||RX(e)&&uv(e.declarationList.declarations,e=>hc(e,t)))}function hd(e){return e.name||hs(e)}function hu(e){return!!e.name}function h_(e){switch(e.kind){case 79:return e;case 351:case 344:{let{name:t}=e;if(163===t.kind)return t.right;break}case 210:case 223:switch(Tf(e)){case 1:case 4:case 5:case 3:return TT(e.left);case 7:case 8:case 9:return e.arguments[1];default:return}case 349:return hd(e);case 343:return hs(e);case 274:{let{expression:t}=e;return wb(t)?t:void 0}case 209:if(Tv(e))return e.argumentExpression}return e.name}function hp(e){if(void 0!==e)return h_(e)||(Rx(e)||RS(e)||RP(e)?hf(e):void 0)}function hf(e){if(e.parent){if(NX(e.parent)||Rp(e.parent))return e.parent.name;if(RR(e.parent)&&e===e.parent.right){if(wb(e.parent.left))return e.parent.left;if(Lw(e.parent.left))return TT(e.parent.left)}else if(Nr(e.parent)&&wb(e.parent.name))return e.parent.name}}function hm(e){if(Ai(e))return d9(e.modifiers,wB)}function hh(e){if(S3(e,126975))return d9(e.modifiers,yD)}function hy(e,t){if(e.name){if(wb(e.name)){let n=e.name.escapedText;return hz(e.parent,t).filter(e=>Dx(e)&&wb(e.name)&&e.name.escapedText===n)}{let n=e.parent.parameters.indexOf(e);T.assert(n>-1,"Parameters should always be in their parents' parameter list");let r=hz(e.parent,t).filter(Dx);if(nDC(e)&&e.typeParameters.some(e=>e.name.escapedText===n))}function hE(e){return hb(e,!1)}function hT(e){return hb(e,!0)}function hx(e){return!!hX(e,Dx)}function hS(e){return hX(e,Dd)}function hA(e){return hY(e,DR)}function hL(e){return hX(e,D_)}function hC(e){return hX(e,Df)}function hk(e){return hX(e,Df,!0)}function hI(e){return hX(e,Dm)}function hw(e){return hX(e,Dm,!0)}function hR(e){return hX(e,Dh)}function hN(e){return hX(e,Dh,!0)}function hD(e){return hX(e,Dy)}function hO(e){return hX(e,Dy,!0)}function hM(e){return hX(e,Dg,!0)}function hP(e){return hX(e,Db)}function hF(e){return hX(e,Db,!0)}function hG(e){return hX(e,DT)}function hB(e){return hX(e,DA)}function hU(e){return hX(e,DS)}function hV(e){return hX(e,DC)}function hj(e){return hX(e,DN)}function hH(e){let t=hX(e,DL);if(t&&t.typeExpression&&t.typeExpression.type)return t}function hK(e){let t=hX(e,DL);return!t&&wG(e)&&(t=d0(hg(e),e=>!!e.typeExpression)),t&&t.typeExpression&&t.typeExpression.type}function hW(e){let t=hU(e);if(t&&t.typeExpression)return t.typeExpression.type;let n=hH(e);if(n&&n.typeExpression){let e=n.typeExpression.type;if(w2(e)){let t=d0(e.members,wJ);return t&&t.type}if(wZ(e)||Di(e))return e.type}}function hz(e,t){var n;if(!Tz(e))return o;let r=null==(n=e.jsDoc)?void 0:n.jsDocCache;if(void 0===r||t){let n=Tq(e,t);T.assert(n.length<2||n[0]!==n[1]),r=uo(n,e=>Ds(e)?e.tags:e),t||(null!=e.jsDoc||(e.jsDoc=[]),e.jsDoc.jsDocCache=r)}return r}function hq(e){return hz(e,!1)}function hJ(e){return hz(e,!0)}function hX(e,t,n){return d0(hz(e,n),t)}function hY(e,t){return hq(e).filter(t)}function h$(e,t){return hq(e).filter(e=>e.kind===t)}function hQ(e){return"string"==typeof e?e:null==e?void 0:e.map(e=>324===e.kind?e.text:`{@${327===e.kind?"link":328===e.kind?"linkcode":"linkplain"} ${e.name?bL(e.name):""}${e.name&&e.text.startsWith("://")?"":" "}${e.text}}`).join("")}function hZ(e){if(Dc(e)){if(Dv(e.parent)){let t=T2(e.parent);if(t&&dW(t.tags))return uo(t.tags,e=>DC(e)?e.typeParameters:void 0)}return o}if(TB(e))return T.assert(323===e.parent.kind),uo(e.parent.tags,e=>DC(e)?e.typeParameters:void 0);if(e.typeParameters||Oh(e)&&e.typeParameters)return e.typeParameters;if(EZ(e)){let t=SJ(e);if(t.length)return t;let n=hK(e);if(n&&wZ(n)&&n.typeParameters)return n.typeParameters}return o}function h0(e){return e.constraint?e.constraint:DC(e.parent)&&e===e.parent.typeParameters[0]?e.parent.constraint:void 0}function h1(e){return 79===e.kind||80===e.kind}function h2(e){return 175===e.kind||174===e.kind}function h4(e){return Rh(e)&&!!(32&e.flags)}function h8(e){return Ry(e)&&!!(32&e.flags)}function h6(e){return Rg(e)&&!!(32&e.flags)}function h3(e){let t=e.kind;return!!(32&e.flags)&&(208===t||209===t||210===t||232===t)}function h5(e){return h3(e)&&!RV(e)&&!!e.questionDotToken}function h7(e){return h5(e.parent)&&e.parent.expression===e}function h9(e){return!h3(e.parent)||h5(e.parent)||e!==e.parent.expression}function ye(e){return 223===e.kind&&60===e.operatorToken.kind}function yt(e){return wQ(e)&&wb(e.typeName)&&"const"===e.typeName.escapedText&&!e.typeArguments}function yn(e){return D3(e,8)}function yr(e){return RV(e)&&!!(32&e.flags)}function yi(e){return 249===e.kind||248===e.kind}function ya(e){return 277===e.kind||276===e.kind}function yo(e){switch(e.kind){case 305:case 306:return!0;default:return!1}}function ys(e){return yo(e)||303===e.kind||307===e.kind}function yl(e){return 351===e.kind||344===e.kind}function yc(e){return yd(e.kind)}function yd(e){return e>=163}function yu(e){return e>=0&&e<=162}function y_(e){return yu(e.kind)}function yp(e){return u4(e,"pos")&&u4(e,"end")}function yf(e){return 8<=e&&e<=14}function ym(e){return yf(e.kind)}function yh(e){switch(e.kind){case 207:case 206:case 13:case 215:case 228:return!0}return!1}function yy(e){return 14<=e&&e<=17}function yg(e){return yy(e.kind)}function yv(e){let t=e.kind;return 16===t||17===t}function yb(e){return Nx(e)||NC(e)}function yE(e){switch(e.kind){case 273:return e.isTypeOnly||e.parent.parent.isTypeOnly;case 271:return e.parent.isTypeOnly;case 270:case 268:return e.isTypeOnly}return!1}function yT(e){switch(e.kind){case 278:return e.isTypeOnly||e.parent.parent.isTypeOnly;case 275:return e.isTypeOnly&&!!e.moduleSpecifier&&!e.exportClause;case 277:return e.parent.isTypeOnly}return!1}function yx(e){return yE(e)||yT(e)}function yS(e){return wr(e)||wb(e)}function yA(e){return 10===e.kind||yy(e.kind)}function yL(e){var t;return wb(e)&&(null==(t=e.emitNode)?void 0:t.autoGenerate)!==void 0}function yC(e){var t;return wE(e)&&(null==(t=e.emitNode)?void 0:t.autoGenerate)!==void 0}function yk(e){return(wV(e)||yJ(e))&&wE(e.name)}function yI(e){return Rh(e)&&wE(e.name)}function yw(e){switch(e){case 126:case 127:case 132:case 85:case 136:case 88:case 93:case 101:case 123:case 121:case 122:case 146:case 124:case 145:case 161:return!0}return!1}function yR(e){return!!(16476&Am(e))}function yN(e){return yR(e)||124===e||161===e||127===e}function yD(e){return yw(e.kind)}function yO(e){let t=e.kind;return 163===t||79===t}function yM(e){let t=e.kind;return 79===t||80===t||10===t||8===t||164===t}function yP(e){let t=e.kind;return 79===t||203===t||204===t}function yF(e){return!!e&&yj(e.kind)}function yG(e){return!!e&&(yj(e.kind)||wK(e))}function yB(e){return e&&yV(e.kind)}function yU(e){return 110===e.kind||95===e.kind}function yV(e){switch(e){case 259:case 171:case 173:case 174:case 175:case 215:case 216:return!0;default:return!1}}function yj(e){switch(e){case 170:case 176:case 326:case 177:case 178:case 181:case 320:case 182:return!0;default:return yV(e)}}function yH(e){return N0(e)||Nu(e)||RJ(e)&&yF(e.parent)}function yK(e){let t=e.kind;return 173===t||169===t||171===t||174===t||175===t||178===t||172===t||237===t}function yW(e){return e&&(260===e.kind||228===e.kind)}function yz(e){return e&&(174===e.kind||175===e.kind)}function yq(e){return wV(e)&&An(e)}function yJ(e){switch(e.kind){case 171:case 174:case 175:return!0;default:return!1}}function yX(e){switch(e.kind){case 171:case 174:case 175:case 169:return!0;default:return!1}}function yY(e){return yD(e)||wB(e)}function y$(e){let t=e.kind;return 177===t||176===t||168===t||170===t||178===t||174===t||175===t}function yQ(e){return y$(e)||yK(e)}function yZ(e){let t=e.kind;return 299===t||300===t||301===t||171===t||174===t||175===t}function y0(e){return LI(e.kind)}function y1(e){switch(e.kind){case 181:case 182:return!0}return!1}function y2(e){if(e){let t=e.kind;return 204===t||203===t}return!1}function y4(e){let t=e.kind;return 206===t||207===t}function y8(e){let t=e.kind;return 205===t||229===t}function y6(e){switch(e.kind){case 257:case 166:case 205:return!0}return!1}function y3(e){return Nr(e)||wG(e)||y9(e)||gt(e)}function y5(e){return y7(e)||ge(e)}function y7(e){switch(e.kind){case 203:case 207:return!0}return!1}function y9(e){switch(e.kind){case 205:case 299:case 300:case 301:return!0}return!1}function ge(e){switch(e.kind){case 204:case 206:return!0}return!1}function gt(e){switch(e.kind){case 205:case 229:case 227:case 206:case 207:case 79:case 208:case 209:return!0}return AA(e,!0)}function gn(e){let t=e.kind;return 208===t||163===t||202===t}function gr(e){let t=e.kind;return 208===t||163===t}function gi(e){switch(e.kind){case 283:case 282:case 210:case 211:case 212:case 167:return!0;default:return!1}}function ga(e){return 210===e.kind||211===e.kind}function go(e){let t=e.kind;return 225===t||14===t}function gs(e){return gl(yn(e).kind)}function gl(e){switch(e){case 208:case 209:case 211:case 210:case 281:case 282:case 285:case 212:case 206:case 214:case 207:case 228:case 215:case 79:case 80:case 13:case 8:case 9:case 10:case 14:case 225:case 95:case 104:case 108:case 110:case 106:case 232:case 230:case 233:case 100:case 279:return!0;default:return!1}}function gc(e){return gd(yn(e).kind)}function gd(e){switch(e){case 221:case 222:case 217:case 218:case 219:case 220:case 213:return!0;default:return gl(e)}}function gu(e){switch(e.kind){case 222:return!0;case 221:return 45===e.operator||46===e.operator;default:return!1}}function g_(e){switch(e.kind){case 104:case 110:case 95:case 221:return!0;default:return ym(e)}}function gp(e){return function(e){switch(e){case 224:case 226:case 216:case 223:case 227:case 231:case 229:case 357:case 356:case 235:return!0;default:return gd(e)}}(yn(e).kind)}function gf(e){let t=e.kind;return 213===t||231===t}function gm(e){return NI(e)||RK(e)}function gh(e,t){switch(e.kind){case 245:case 246:case 247:case 243:case 244:return!0;case 253:return t&&gh(e.statement,t)}return!1}function gy(e){return NS(e)||NA(e)}function gg(e){return uv(e,gy)}function gv(e){return!bg(e)&&!NS(e)&&!S3(e,1)&&!v7(e)}function gb(e){return bg(e)||NS(e)||S3(e,1)}function gE(e){return 246===e.kind||247===e.kind}function gT(e){return RJ(e)||gp(e)}function gx(e){return RJ(e)}function gS(e){return Ni(e)||gp(e)}function gA(e){let t=e.kind;return 265===t||264===t||79===t}function gL(e){let t=e.kind;return 265===t||264===t}function gC(e){let t=e.kind;return 79===t||264===t}function gk(e){let t=e.kind;return 272===t||271===t}function gI(e){return 264===e.kind||263===e.kind}function gw(e){switch(e.kind){case 216:case 223:case 205:case 210:case 176:case 260:case 228:case 172:case 173:case 182:case 177:case 209:case 263:case 302:case 274:case 275:case 278:case 259:case 215:case 181:case 174:case 79:case 270:case 268:case 273:case 178:case 261:case 341:case 343:case 320:case 344:case 351:case 326:case 349:case 325:case 288:case 289:case 290:case 197:case 171:case 170:case 264:case 199:case 277:case 267:case 271:case 211:case 14:case 8:case 207:case 166:case 208:case 299:case 169:case 168:case 175:case 300:case 308:case 301:case 10:case 262:case 184:case 165:case 257:return!0;default:return!1}}function gR(e){switch(e.kind){case 216:case 238:case 176:case 266:case 295:case 172:case 191:case 173:case 182:case 177:case 245:case 246:case 247:case 259:case 215:case 181:case 174:case 178:case 341:case 343:case 320:case 326:case 349:case 197:case 171:case 170:case 264:case 175:case 308:case 262:return!0;default:return!1}}function gN(e){return 259===e||279===e||260===e||261===e||262===e||263===e||264===e||269===e||268===e||275===e||274===e||267===e}function gD(e){return 249===e||248===e||256===e||243===e||241===e||239===e||246===e||247===e||245===e||242===e||253===e||250===e||252===e||254===e||255===e||240===e||244===e||251===e||355===e||359===e||358===e}function gO(e){var t;return 165===e.kind?e.parent&&348!==e.parent.kind||EZ(e):216===(t=e.kind)||205===t||260===t||228===t||172===t||173===t||263===t||302===t||278===t||259===t||215===t||174===t||270===t||268===t||273===t||261===t||288===t||171===t||170===t||264===t||267===t||271===t||277===t||166===t||299===t||169===t||168===t||175===t||300===t||262===t||165===t||257===t||349===t||341===t||351===t}function gM(e){return gN(e.kind)}function gP(e){return gD(e.kind)}function gF(e){let t=e.kind;return gD(t)||gN(t)||238===e.kind&&(void 0===e.parent||255!==e.parent.kind&&295!==e.parent.kind)&&!Es(e)}function gG(e){let t=e.kind;return gD(t)||gN(t)||238===t}function gB(e){let t=e.kind;return 280===t||163===t||79===t}function gU(e){let t=e.kind;return 108===t||79===t||208===t}function gV(e){let t=e.kind;return 281===t||291===t||282===t||11===t||285===t}function gj(e){let t=e.kind;return 288===t||290===t}function gH(e){let t=e.kind;return 10===t||291===t}function gK(e){let t=e.kind;return 283===t||282===t}function gW(e){let t=e.kind;return 292===t||293===t}function gz(e){return e.kind>=312&&e.kind<=353}function gq(e){return 323===e.kind||322===e.kind||324===e.kind||g6(e)||gJ(e)||Dl(e)||Dc(e)}function gJ(e){return e.kind>=330&&e.kind<=353}function gX(e){return 175===e.kind}function gY(e){return 174===e.kind}function g$(e){if(!Tz(e))return!1;let{jsDoc:t}=e;return!!t&&t.length>0}function gQ(e){return!!e.type}function gZ(e){return!!e.initializer}function g0(e){switch(e.kind){case 257:case 166:case 205:case 169:case 299:case 302:return!0;default:return!1}}function g1(e){return 288===e.kind||290===e.kind||yZ(e)}function g2(e){return 180===e.kind||230===e.kind}function g4(e){let t=tK;for(let n of e){if(!n.length)continue;let e=0;for(;ee.kind===t)}function vt(e){let t=new Map;if(e)for(let n of e)t.set(n.escapedName,n);return t}function vn(e){return(33554432&e.flags)!=0}function vr(e,t){return e.configFilePath!==t.configFilePath||vi(e,t)}function vi(e,t){return vo(e,t,rK)}function va(e,t){return vo(e,t,rz)}function vo(e,t,n){return e!==t&&n.some(n=>!kp(CC(e,n),CC(t,n)))}function vs(e,t){for(;;){let n=t(e);if("quit"===n)return;if(void 0!==n)return n;if(N0(e))return;e=e.parent}}function vl(e,t){for(let[n,r]of e.entries()){let e=t(r,n);if(e)return e}}function vc(e,t){for(let n of e.keys()){let e=t(n);if(e)return e}}function vd(e,t){e.forEach((e,n)=>{t.set(n,e)})}function vu(e){let t=tX.getText();try{return e(tX),tX.getText()}finally{tX.clear(),tX.writeKeyword(t)}}function v_(e){return e.end-e.pos}function vp(e,t,n){var r,i;return null==(i=null==(r=null==e?void 0:e.resolvedModules)?void 0:r.get(t,n))?void 0:i.resolvedModule}function vf(e,t,n,r){e.resolvedModules||(e.resolvedModules=P$()),e.resolvedModules.set(t,r,n)}function vm(e,t,n,r){e.resolvedTypeReferenceDirectiveNames||(e.resolvedTypeReferenceDirectiveNames=P$()),e.resolvedTypeReferenceDirectiveNames.set(t,r,n)}function vh(e,t,n){var r,i;return null==(i=null==(r=null==e?void 0:e.resolvedTypeReferenceDirectiveNames)?void 0:r.get(t,n))?void 0:i.resolvedTypeReferenceDirective}function vy(e,t){return e.path===t.path&&!e.prepend==!t.prepend&&!e.circular==!t.circular}function vg(e,t){var n,r;return e===t||e.resolvedModule===t.resolvedModule||!!e.resolvedModule&&!!t.resolvedModule&&e.resolvedModule.isExternalLibraryImport===t.resolvedModule.isExternalLibraryImport&&e.resolvedModule.extension===t.resolvedModule.extension&&e.resolvedModule.resolvedFileName===t.resolvedModule.resolvedFileName&&e.resolvedModule.originalPath===t.resolvedModule.originalPath&&((n=e.resolvedModule.packageId)===(r=t.resolvedModule.packageId)||!!n&&!!r&&n.name===r.name&&n.subModuleName===r.subModuleName&&n.version===r.version)}function vv({name:e,subModuleName:t}){return t?`${e}/${t}`:e}function vb(e){return`${vv(e)}@${e.version}`}function vE(e,t){return e===t||e.resolvedTypeReferenceDirective===t.resolvedTypeReferenceDirective||!!e.resolvedTypeReferenceDirective&&!!t.resolvedTypeReferenceDirective&&e.resolvedTypeReferenceDirective.resolvedFileName===t.resolvedTypeReferenceDirective.resolvedFileName&&!!e.resolvedTypeReferenceDirective.primary==!!t.resolvedTypeReferenceDirective.primary&&e.resolvedTypeReferenceDirective.originalPath===t.resolvedTypeReferenceDirective.originalPath}function vT(e,t,n,r,i,a){T.assert(e.length===n.length);for(let o=0;o=0),f5(t)[e]}function vI(e){let t=vS(e),n=mt(t,e.pos);return`${t.fileName}(${n.line+1},${n.character+1})`}function vw(e,t){T.assert(e>=0);let n=f5(t),r=t.text;if(e+1===n.length)return r.length-1;{let t=n[e],i=n[e+1]-1;for(T.assert(mi(r.charCodeAt(i)));t<=i&&mi(r.charCodeAt(i));)i--;return i}}function vR(e,t,n){return!(n&&n(t))&&!e.identifiers.has(t)}function vN(e){return void 0===e||e.pos===e.end&&e.pos>=0&&1!==e.kind}function vD(e){return!vN(e)}function vO(e,t){return wF(e)?t===e.expression:wK(e)?t===e.modifiers:wU(e)?t===e.initializer:wV(e)?t===e.questionToken&&yq(e):NX(e)?t===e.modifiers||t===e.questionToken||t===e.exclamationToken||vM(e.modifiers,t,yY):NY(e)?t===e.equalsToken||t===e.modifiers||t===e.questionToken||t===e.exclamationToken||vM(e.modifiers,t,yY):wH(e)?t===e.exclamationToken:wW(e)?t===e.typeParameters||t===e.type||vM(e.typeParameters,t,wF):wz(e)?t===e.typeParameters||vM(e.typeParameters,t,wF):wq(e)?t===e.typeParameters||t===e.type||vM(e.typeParameters,t,wF):!!Np(e)&&(t===e.modifiers||vM(e.modifiers,t,yY))}function vM(e,t,n){return!(!e||_y(t))&&!!n(t)&&d6(e,t)}function vP(e,t,n){if(void 0===t||0===t.length)return e;let r=0;for(;r[`${mt(e,t.range.end).line}`,t])),r=new Map;return{getUnusedExpectations:function(){return u9(n.entries()).filter(([e,t])=>0===t.type&&!r.get(e)).map(([e,t])=>t)},markUsed:function(e){return!!n.has(`${e}`)&&(r.set(`${e}`,!0),!0)}}}function vz(e,t,n){return vN(e)?e.pos:gz(e)||11===e.kind?mc((t||vS(e)).text,e.pos,!1,!0):n&&g$(e)?vz(e.jsDoc[0],t):354===e.kind&&e._children.length>0?vz(e._children[0],t,n):mc((t||vS(e)).text,e.pos,!1,!1,E2(e))}function vq(e,t){let n=!vN(e)&&Oj(e)?d1(e.modifiers,wB):void 0;return n?mc((t||vS(e)).text,n.end):vz(e,t)}function vJ(e,t,n=!1){return vY(e.text,t,n)}function vX(e){return!!(NA(e)&&e.exportClause&&NE(e.exportClause)&&"default"===e.exportClause.name.escapedText)}function vY(e,t,n=!1){if(vN(t))return"";let r=e.substring(n?t.pos:mc(e,t.pos),t.end);return m9(t,N4)&&(r=r.split(/\r\n|\n|\r/).map(e=>b(e.replace(/^\s*\*/,""))).join("\n")),r}function v$(e,t=!1){return vJ(vS(e),e,t)}function vQ(e){return e.pos}function vZ(e,t){return u0(e,t,vQ,_U)}function v0(e){let t=e.emitNode;return t&&t.flags||0}function v1(e){let t=e.emitNode;return t&&t.internalFlags||0}function v2(){return new Map(Object.entries({Array:new Map(Object.entries({es2015:["find","findIndex","fill","copyWithin","entries","keys","values"],es2016:["includes"],es2019:["flat","flatMap"],es2022:["at"],es2023:["findLastIndex","findLast"]})),Iterator:new Map(Object.entries({es2015:o})),AsyncIterator:new Map(Object.entries({es2015:o})),Atomics:new Map(Object.entries({es2017:o})),SharedArrayBuffer:new Map(Object.entries({es2017:o})),AsyncIterable:new Map(Object.entries({es2018:o})),AsyncIterableIterator:new Map(Object.entries({es2018:o})),AsyncGenerator:new Map(Object.entries({es2018:o})),AsyncGeneratorFunction:new Map(Object.entries({es2018:o})),RegExp:new Map(Object.entries({es2015:["flags","sticky","unicode"],es2018:["dotAll"]})),Reflect:new Map(Object.entries({es2015:["apply","construct","defineProperty","deleteProperty","get"," getOwnPropertyDescriptor","getPrototypeOf","has","isExtensible","ownKeys","preventExtensions","set","setPrototypeOf"]})),ArrayConstructor:new Map(Object.entries({es2015:["from","of"]})),ObjectConstructor:new Map(Object.entries({es2015:["assign","getOwnPropertySymbols","keys","is","setPrototypeOf"],es2017:["values","entries","getOwnPropertyDescriptors"],es2019:["fromEntries"],es2022:["hasOwn"]})),NumberConstructor:new Map(Object.entries({es2015:["isFinite","isInteger","isNaN","isSafeInteger","parseFloat","parseInt"]})),Math:new Map(Object.entries({es2015:["clz32","imul","sign","log10","log2","log1p","expm1","cosh","sinh","tanh","acosh","asinh","atanh","hypot","trunc","fround","cbrt"]})),Map:new Map(Object.entries({es2015:["entries","keys","values"]})),Set:new Map(Object.entries({es2015:["entries","keys","values"]})),PromiseConstructor:new Map(Object.entries({es2015:["all","race","reject","resolve"],es2020:["allSettled"],es2021:["any"]})),Symbol:new Map(Object.entries({es2015:["for","keyFor"],es2019:["description"]})),WeakMap:new Map(Object.entries({es2015:["entries","keys","values"]})),WeakSet:new Map(Object.entries({es2015:["entries","keys","values"]})),String:new Map(Object.entries({es2015:["codePointAt","includes","endsWith","normalize","repeat","startsWith","anchor","big","blink","bold","fixed","fontcolor","fontsize","italics","link","small","strike","sub","sup"],es2017:["padStart","padEnd"],es2019:["trimStart","trimEnd","trimLeft","trimRight"],es2020:["matchAll"],es2021:["replaceAll"],es2022:["at"]})),StringConstructor:new Map(Object.entries({es2015:["fromCodePoint","raw"]})),DateTimeFormat:new Map(Object.entries({es2017:["formatToParts"]})),Promise:new Map(Object.entries({es2015:o,es2018:["finally"]})),RegExpMatchArray:new Map(Object.entries({es2018:["groups"]})),RegExpExecArray:new Map(Object.entries({es2018:["groups"]})),Intl:new Map(Object.entries({es2018:["PluralRules"]})),NumberFormat:new Map(Object.entries({es2018:["formatToParts"]})),SymbolConstructor:new Map(Object.entries({es2020:["matchAll"]})),DataView:new Map(Object.entries({es2020:["setBigInt64","setBigUint64","getBigInt64","getBigUint64"]})),BigInt:new Map(Object.entries({es2020:o})),RelativeTimeFormat:new Map(Object.entries({es2020:["format","formatToParts","resolvedOptions"]})),Int8Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Uint8Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Uint8ClampedArray:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Int16Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Uint16Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Int32Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Uint32Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Float32Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Float64Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),BigInt64Array:new Map(Object.entries({es2020:o,es2022:["at"],es2023:["findLastIndex","findLast"]})),BigUint64Array:new Map(Object.entries({es2020:o,es2022:["at"],es2023:["findLastIndex","findLast"]})),Error:new Map(Object.entries({es2022:["cause"]}))}))}function v4(e,t,n){var r;if(t&&!x1(e)&&e.parent&&(!(4&n)||!e.isUnterminated)&&(wt(e)&&512&e.numericLiteralFlags?!!(8&n):!wn(e)))return vJ(t,e);switch(e.kind){case 10:{let t=2&n?Ss:1&n||33554432&v0(e)?Si:Sa;if(e.singleQuote)return"'"+t(e.text,39)+"'";return'"'+t(e.text,34)+'"'}case 14:case 15:case 16:case 17:{let t=1&n||33554432&v0(e)?Si:Sa,i=null!=(r=e.rawText)?r:t(e.text,96).replace(t6,"\\${");switch(e.kind){case 14:return"`"+i+"`";case 15:return"`"+i+"${";case 16:return"}"+i+"${";case 17:return"}"+i+"`"}break}case 8:case 9:return e.text;case 13:if(4&n&&e.isUnterminated)return e.text+(92===e.text.charCodeAt(e.text.length-1)?" /":"/");return e.text}return T.fail(`Literal kind '${e.kind}' not accounted for.`)}function v8(e){return _v(e)?'"'+Sa(e)+'"':""+e}function v6(e){return fg(e).replace(/^(\d)/,"_$1").replace(/\W/g,"_")}function v3(e){return(3&m3(e))!=0||v5(e)}function v5(e){let t=xZ(e);return 257===t.kind&&295===t.parent.kind}function v7(e){return Nd(e)&&(10===e.name.kind||bi(e))}function v9(e){return Nd(e)&&10===e.name.kind}function be(e){return Nd(e)&&wr(e.name)}function bt(e){return Nd(e)||wb(e)}function bn(e){var t;return!!(t=e.valueDeclaration)&&264===t.kind&&!t.body}function br(e){return 308===e.kind||264===e.kind||yG(e)}function bi(e){return!!(1024&e.flags)}function ba(e){return v7(e)&&bo(e)}function bo(e){switch(e.parent.kind){case 308:return Md(e.parent);case 265:return v7(e.parent.parent)&&N0(e.parent.parent.parent)&&!Md(e.parent.parent.parent)}return!1}function bs(e){var t;return null==(t=e.declarations)?void 0:t.find(e=>!ba(e)&&!(Nd(e)&&bi(e)))}function bl(e,t){var n;return Md(e)||Cs(t)||(1===(n=Cn(t))||100===n||199===n)&&!!e.commonJsModuleIndicator}function bc(e,t){switch(e.scriptKind){case 1:case 3:case 2:case 4:break;default:return!1}return!e.isDeclarationFile&&(!!(CE(t,"alwaysStrict")||D0(e.statements))||!!(Md(e)||Cs(t))&&(Cn(t)>=5||!t.noImplicitUseStrict))}function bd(e){return!!(16777216&e.flags)||S3(e,2)}function bu(e,t){switch(e.kind){case 308:case 266:case 295:case 264:case 245:case 246:case 247:case 173:case 171:case 174:case 175:case 259:case 215:case 216:case 169:case 172:return!0;case 238:return!yG(t)}return!1}function b_(e){switch(T.type(e),e.kind){case 341:case 349:case 326:return!0;default:return bp(e)}}function bp(e){switch(T.type(e),e.kind){case 176:case 177:case 170:case 178:case 181:case 182:case 320:case 260:case 228:case 261:case 262:case 348:case 259:case 171:case 173:case 174:case 175:case 215:case 216:return!0;default:return!1}}function bf(e){switch(e.kind){case 269:case 268:return!0;default:return!1}}function bm(e){return bf(e)||E3(e)}function bh(e){switch(e.kind){case 269:case 268:case 240:case 260:case 259:case 264:case 262:case 261:case 263:return!0;default:return!1}}function by(e){return bg(e)||Nd(e)||Rl(e)||bq(e)}function bg(e){return bf(e)||NA(e)}function bv(e){return m9(e.parent,e=>bu(e,e.parent))}function bb(e,t){let n=bv(e);for(;n;)t(n),n=bv(n)}function bE(e){return e&&0!==v_(e)?v$(e):"(Missing)"}function bT(e){return e.declaration?bE(e.declaration.parameters[0].name):void 0}function bx(e){return 164===e.kind&&!xO(e.expression)}function bS(e){var t;switch(e.kind){case 79:case 80:return(null==(t=e.emitNode)?void 0:t.autoGenerate)?void 0:e.escapedText;case 10:case 8:case 14:return hn(e.text);case 164:if(xO(e.expression))return hn(e.expression.text);return;default:return T.assertNever(e)}}function bA(e){return T.checkDefined(bS(e))}function bL(e){switch(e.kind){case 108:return"this";case 80:case 79:return 0===v_(e)?hi(e):v$(e);case 163:return bL(e.left)+"."+bL(e.right);case 208:if(wb(e.name)||wE(e.name))return bL(e.expression)+"."+bL(e.name);return T.assertNever(e.name);case 314:return bL(e.left)+bL(e.right);default:return T.assertNever(e)}}function bC(e,t,n,r,i,a){return bI(vS(e),e,t,n,r,i,a)}function bk(e,t,n,r,i,a,o){let s=mc(e.text,t.pos);return LQ(e,s,t.end-s,n,r,i,a,o)}function bI(e,t,n,r,i,a,o){let s=bB(e,t);return LQ(e,s.start,s.length,n,r,i,a,o)}function bw(e,t,n,r){let i=bB(e,t);return bD(e,i.start,i.length,n,r)}function bR(e,t,n,r){let i=mc(e.text,t.pos);return bD(e,i,t.end-i,n,r)}function bN(e,t,n){T.assertGreaterThanOrEqual(t,0),T.assertGreaterThanOrEqual(n,0),e&&(T.assertLessThanOrEqual(t,e.text.length),T.assertLessThanOrEqual(t+n,e.text.length))}function bD(e,t,n,r,i){return bN(e,t,n),{file:e,start:t,length:n,code:r.code,category:r.category,messageText:r.next?r:r.messageText,relatedInformation:i}}function bO(e,t,n){return{file:e,start:0,length:0,code:t.code,category:t.category,messageText:t.next?t:t.messageText,relatedInformation:n}}function bM(e){return"string"==typeof e.messageText?{code:e.code,category:e.category,messageText:e.messageText,next:e.next}:e.messageText}function bP(e,t,n){return{file:e,start:t.pos,length:t.end-t.pos,code:n.code,category:n.category,messageText:n.message}}function bF(e,t){let n=mL(e.languageVersion,!0,e.languageVariant,e.text,void 0,t);return n.scan(),mq(n.getTokenPos(),n.getTextPos())}function bG(e,t){let n=mL(e.languageVersion,!0,e.languageVariant,e.text,void 0,t);return n.scan(),n.getToken()}function bB(e,t){let n=t;switch(t.kind){case 308:let r=mc(e.text,0,!1);if(r===e.text.length)return mz(0,0);return bF(e,r);case 257:case 205:case 260:case 228:case 261:case 264:case 263:case 302:case 259:case 215:case 171:case 174:case 175:case 262:case 169:case 168:case 271:n=t.name;break;case 216:return function(e,t){let n=mc(e.text,t.pos);if(t.body&&238===t.body.kind){let{line:r}=mt(e,t.body.pos),{line:i}=mt(e,t.body.end);if(r0?t.statements[0].pos:t.end)}if(void 0===n)return bF(e,t.pos);T.assert(!Ds(n));let i=vN(n),a=i||wi(t)?n.pos:mc(e.text,n.pos);return i?(T.assert(a===n.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),T.assert(a===n.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")):(T.assert(a>=n.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),T.assert(a<=n.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")),mq(a,n.end)}function bU(e){return(e.externalModuleIndicator||e.commonJsModuleIndicator)!==void 0}function bV(e){return 6===e.scriptKind}function bj(e){return!!(2048&m8(e))}function bH(e){return!!(64&m8(e)&&!mZ(e,e.parent))}function bK(e){return!!(2&m3(e))}function bW(e){return!!(1&m3(e))}function bz(e){return 210===e.kind&&106===e.expression.kind}function bq(e){return 210===e.kind&&100===e.expression.kind}function bJ(e){return Rj(e)&&100===e.keywordToken&&"meta"===e.name.escapedText}function bX(e){return Rl(e)&&Rs(e.argument)&&wr(e.argument.literal)}function bY(e){return 241===e.kind&&10===e.expression.kind}function b$(e){return!!(2097152&v0(e))}function bQ(e){return b$(e)&&Na(e)}function bZ(e){return wb(e.name)&&!e.initializer}function b0(e){return b$(e)&&RX(e)&&dZ(e.declarationList.declarations,bZ)}function b1(e,t){return 11!==e.kind?mb(t.text,e.pos):void 0}function b2(e,t){return d9(166===e.kind||165===e.kind||215===e.kind||216===e.kind||214===e.kind||257===e.kind||278===e.kind?uE(mE(t,e.pos),mb(t,e.pos)):mb(t,e.pos),e=>42===t.charCodeAt(e.pos+1)&&42===t.charCodeAt(e.pos+2)&&47!==t.charCodeAt(e.pos+3))}function b4(e){if(179<=e.kind&&e.kind<=202)return!0;switch(e.kind){case 131:case 157:case 148:case 160:case 152:case 134:case 153:case 149:case 155:case 144:return!0;case 114:return 219!==e.parent.kind;case 230:return Nq(e.parent)&&!Ak(e);case 165:return 197===e.parent.kind||192===e.parent.kind;case 79:163===e.parent.kind&&e.parent.right===e?e=e.parent:208===e.parent.kind&&e.parent.name===e&&(e=e.parent),T.assert(79===e.kind||163===e.kind||208===e.kind,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 163:case 208:case 108:{let{parent:t}=e;if(183===t.kind)return!1;if(202===t.kind)return!t.isTypeOf;if(179<=t.kind&&t.kind<=202)return!0;switch(t.kind){case 230:return Nq(t.parent)&&!Ak(t);case 165:case 348:return e===t.constraint;case 169:case 168:case 166:case 257:case 259:case 215:case 216:case 173:case 171:case 170:case 174:case 175:case 176:case 177:case 178:case 213:return e===t.type;case 210:case 211:return d6(t.typeArguments,e);case 212:return!1}}}return!1}function b8(e,t){for(;e;){if(e.kind===t)return!0;e=e.parent}return!1}function b6(e,t){return function e(n){switch(n.kind){case 250:return t(n);case 266:case 238:case 242:case 243:case 244:case 245:case 246:case 247:case 251:case 252:case 292:case 293:case 253:case 255:case 295:return Mr(n,e)}}(e)}function b3(e,t){return function e(n){switch(n.kind){case 226:t(n);let r=n.expression;r&&e(r);return;case 263:case 261:case 264:case 262:return;default:if(yF(n)){if(n.name&&164===n.name.kind){e(n.name.expression);return}}else b4(n)||Mr(n,e)}}(e)}function b5(e){return e&&185===e.kind?e.elementType:e&&180===e.kind?uY(e.typeArguments):void 0}function b7(e){switch(e.kind){case 261:case 260:case 228:case 184:return e.members;case 207:return e.properties}}function b9(e){if(e)switch(e.kind){case 205:case 302:case 166:case 299:case 169:case 168:case 300:case 257:return!0}return!1}function Ee(e){return b9(e)||yz(e)}function Et(e){return 258===e.parent.kind&&240===e.parent.parent.kind}function En(e){return!!EZ(e)&&(Rm(e.parent)&&RR(e.parent.parent)&&2===Tf(e.parent.parent)||Er(e.parent))}function Er(e){return!!EZ(e)&&RR(e)&&1===Tf(e)}function Ei(e){return(Nr(e)?bK(e)&&wb(e.name)&&Et(e):wV(e)?Ar(e)&&S7(e):wU(e)&&Ar(e))||Er(e)}function Ea(e){switch(e.kind){case 171:case 170:case 173:case 174:case 175:case 259:case 215:return!0}return!1}function Eo(e,t){for(;;){if(t&&t(e),253!==e.statement.kind)return e.statement;e=e.statement}}function Es(e){return e&&238===e.kind&&yF(e.parent)}function El(e){return e&&171===e.kind&&207===e.parent.kind}function Ec(e){return(171===e.kind||174===e.kind||175===e.kind)&&(207===e.parent.kind||228===e.parent.kind)}function Ed(e){return e&&1===e.kind}function Eu(e){return e&&0===e.kind}function E_(e,t,n){return e.properties.filter(e=>{if(299===e.kind){let r=bS(e.name);return t===r||!!n&&n===r}return!1})}function Ep(e,t,n){return dJ(E_(e,t),e=>Rf(e.initializer)?d0(e.initializer.elements,e=>wr(e)&&e.text===n):void 0)}function Ef(e){if(e&&e.statements.length)return _E(e.statements[0].expression,Rm)}function Em(e,t,n){return dJ(Eh(e,t),e=>Rf(e.initializer)?d0(e.initializer.elements,e=>wr(e)&&e.text===n):void 0)}function Eh(e,t){let n=Ef(e);return n?E_(n,t):o}function Ey(e){return m9(e.parent,yF)}function Eg(e){return m9(e.parent,yB)}function Ev(e){return m9(e.parent,yW)}function Eb(e){return m9(e.parent,e=>yW(e)||yF(e)?"quit":wK(e))}function EE(e){return m9(e.parent,yG)}function ET(e,t,n){for(T.assert(308!==e.kind);;){if(!(e=e.parent))return T.fail();switch(e.kind){case 164:if(n&&yW(e.parent.parent))return e;e=e.parent.parent;break;case 167:166===e.parent.kind&&yK(e.parent.parent)?e=e.parent.parent:yK(e.parent)&&(e=e.parent);break;case 216:if(!t)continue;case 259:case 215:case 264:case 172:case 169:case 168:case 171:case 170:case 173:case 174:case 175:case 176:case 177:case 178:case 263:case 308:return e}}}function Ex(e){switch(e.kind){case 216:case 259:case 215:case 169:return!0;case 238:switch(e.parent.kind){case 173:case 171:case 174:case 175:return!0;default:return!1}default:return!1}}function ES(e){return wb(e)&&(No(e.parent)||Na(e.parent))&&e.parent.name===e&&(e=e.parent),N0(ET(e,!0,!1))}function EA(e){let t=ET(e,!1,!1);if(t)switch(t.kind){case 173:case 259:case 215:return t}}function EL(e,t){for(;;){if(!(e=e.parent))return;switch(e.kind){case 164:e=e.parent;break;case 259:case 215:case 216:if(!t)continue;case 169:case 168:case 171:case 170:case 173:case 174:case 175:case 172:return e;case 167:166===e.parent.kind&&yK(e.parent.parent)?e=e.parent.parent:yK(e.parent)&&(e=e.parent)}}}function EC(e){if(215===e.kind||216===e.kind){let t=e,n=e.parent;for(;214===n.kind;)t=n,n=n.parent;if(210===n.kind&&n.expression===t)return n}}function Ek(e){return 106===e.kind||EI(e)}function EI(e){let t=e.kind;return(208===t||209===t)&&106===e.expression.kind}function Ew(e){let t=e.kind;return(208===t||209===t)&&108===e.expression.kind}function ER(e){var t;return!!e&&Nr(e)&&(null==(t=e.initializer)?void 0:t.kind)===108}function EN(e){return!!e&&(NY(e)||NX(e))&&RR(e.parent.parent)&&63===e.parent.parent.operatorToken.kind&&108===e.parent.parent.right.kind}function ED(e){switch(e.kind){case 180:return e.typeName;case 230:return AI(e.expression)?e.expression:void 0;case 79:case 163:return e}}function EO(e){switch(e.kind){case 212:return e.tag;case 283:case 282:return e.tagName;default:return e.expression}}function EM(e,t,n,r){if(e&&hu(t)&&wE(t.name))return!1;switch(t.kind){case 260:return!0;case 228:return!e;case 169:return void 0!==n&&(e?No(n):yW(n)&&!Ae(t)&&!At(t));case 174:case 175:case 171:return void 0!==t.body&&void 0!==n&&(e?No(n):yW(n));case 166:if(!e)break;return void 0!==n&&void 0!==n.body&&(173===n.kind||171===n.kind||175===n.kind)&&SB(n)!==t&&void 0!==r&&260===r.kind}return!1}function EP(e,t,n,r){return Ai(t)&&EM(e,t,n,r)}function EF(e,t,n,r){return EP(e,t,n,r)||EG(e,t,n)}function EG(e,t,n){switch(t.kind){case 260:return uv(t.members,r=>EF(e,r,t,n));case 228:return!e&&uv(t.members,r=>EF(e,r,t,n));case 171:case 175:case 173:return uv(t.parameters,r=>EP(e,r,t,n));default:return!1}}function EB(e,t){if(EP(e,t))return!0;let n=SP(t);return!!n&&EG(e,n,t)}function EU(e,t,n){let r;if(yz(t)){let{firstAccessor:e,secondAccessor:i,setAccessor:a}=SK(n.members,t),o=Ai(e)?e:i&&Ai(i)?i:void 0;if(!o||t!==o)return!1;r=null==a?void 0:a.parameters}else wH(t)&&(r=t.parameters);if(EP(e,t,n))return!0;if(r){for(let i of r)if(!SU(i)&&EP(e,i,t,n))return!0}return!1}function EV(e){if(e.textSourceNode){switch(e.textSourceNode.kind){case 10:return EV(e.textSourceNode);case 14:return""===e.text}return!1}return""===e.text}function Ej(e){let{parent:t}=e;return(283===t.kind||282===t.kind||284===t.kind)&&t.tagName===e}function EH(e){switch(e.kind){case 106:case 104:case 110:case 95:case 13:case 206:case 207:case 208:case 209:case 210:case 211:case 212:case 231:case 213:case 235:case 232:case 214:case 215:case 228:case 216:case 219:case 217:case 218:case 221:case 222:case 223:case 224:case 227:case 225:case 229:case 281:case 282:case 285:case 226:case 220:case 233:return!0;case 230:return!Nq(e.parent)&&!Dd(e.parent);case 163:for(;163===e.parent.kind;)e=e.parent;return 183===e.parent.kind||g6(e.parent)||N8(e.parent)||N6(e.parent)||Ej(e);case 314:for(;N6(e.parent);)e=e.parent;return 183===e.parent.kind||g6(e.parent)||N8(e.parent)||N6(e.parent)||Ej(e);case 80:return RR(e.parent)&&e.parent.left===e&&101===e.parent.operatorToken.kind;case 79:if(183===e.parent.kind||g6(e.parent)||N8(e.parent)||N6(e.parent)||Ej(e))return!0;case 8:case 9:case 10:case 14:case 108:return EK(e);default:return!1}}function EK(e){let{parent:t}=e;switch(t.kind){case 257:case 166:case 169:case 168:case 302:case 299:case 205:return t.initializer===e;case 241:case 242:case 243:case 244:case 250:case 251:case 252:case 292:case 254:return t.expression===e;case 245:return t.initializer===e&&258!==t.initializer.kind||t.condition===e||t.incrementor===e;case 246:case 247:return t.initializer===e&&258!==t.initializer.kind||t.expression===e;case 213:case 231:case 236:case 164:case 235:return e===t.expression;case 167:case 291:case 290:case 301:return!0;case 230:return t.expression===e&&!b4(t);case 300:return t.objectAssignmentInitializer===e;default:return EH(t)}}function EW(e){for(;163===e.kind||79===e.kind;)e=e.parent;return 183===e.kind}function Ez(e){return NE(e)&&!!e.parent.moduleSpecifier}function Eq(e){return 268===e.kind&&280===e.moduleReference.kind}function EJ(e){return T.assert(Eq(e)),e.moduleReference.expression}function EX(e){return E3(e)&&LO(e.initializer).arguments[0]}function EY(e){return 268===e.kind&&280!==e.moduleReference.kind}function E$(e){return EZ(e)}function EQ(e){return!EZ(e)}function EZ(e){return!!e&&!!(262144&e.flags)}function E0(e){return!!e&&!!(67108864&e.flags)}function E1(e){return!bV(e)}function E2(e){return!!e&&!!(8388608&e.flags)}function E4(e){return wQ(e)&&wb(e.typeName)&&"Object"===e.typeName.escapedText&&e.typeArguments&&2===e.typeArguments.length&&(152===e.typeArguments[0].kind||148===e.typeArguments[0].kind)}function E8(e,t){if(210!==e.kind)return!1;let{expression:n,arguments:r}=e;if(79!==n.kind||"require"!==n.escapedText||1!==r.length)return!1;let i=r[0];return!t||g8(i)}function E6(e){return E7(e,!1)}function E3(e){return E7(e,!0)}function E5(e){return Rp(e)&&E3(e.parent.parent)}function E7(e,t){return Nr(e)&&!!e.initializer&&E8(t?LO(e.initializer):e.initializer,!0)}function E9(e){return RX(e)&&e.declarationList.declarations.length>0&&dZ(e.declarationList.declarations,e=>E6(e))}function Te(e){return 39===e||34===e}function Tt(e,t){return 34===vJ(t,e).charCodeAt(0)}function Tn(e){return RR(e)||Lw(e)||wb(e)||Rg(e)}function Tr(e){return EZ(e)&&e.initializer&&RR(e.initializer)&&(56===e.initializer.operatorToken.kind||60===e.initializer.operatorToken.kind)&&e.name&&AI(e.name)&&Tc(e.name,e.initializer.left)?e.initializer.right:e.initializer}function Ti(e){let t=Tr(e);return t&&To(t,AO(e.name))}function Ta(e){if(e&&e.parent&&RR(e.parent)&&63===e.parent.operatorToken.kind){let t=AO(e.parent.left);return To(e.parent.right,t)||function(e,t,n){let r=RR(t)&&(56===t.operatorToken.kind||60===t.operatorToken.kind)&&To(t.right,n);if(r&&Tc(e,t.left))return r}(e.parent.left,e.parent.right,t)}if(e&&Rg(e)&&Tm(e)){var t,n;let r=(t=e.arguments[2],n="prototype"===e.arguments[1].text,dz(t.properties,e=>NX(e)&&wb(e.name)&&"value"===e.name.escapedText&&e.initializer&&To(e.initializer,n)));if(r)return r}}function To(e,t){if(Rg(e)){let t=xi(e.expression);return 215===t.kind||216===t.kind?e:void 0}if(215===e.kind||228===e.kind||216===e.kind||Rm(e)&&(0===e.properties.length||t))return e}function Ts(e){let t=Nr(e.parent)?e.parent.name:RR(e.parent)&&63===e.parent.operatorToken.kind?e.parent.left:void 0;return t&&To(e.right,AO(t))&&AI(t)&&Tc(t,e.left)}function Tl(e){if(RR(e.parent)){let t=(56===e.parent.operatorToken.kind||60===e.parent.operatorToken.kind)&&RR(e.parent.parent)?e.parent.parent:e.parent;if(63===t.operatorToken.kind&&wb(t.left))return t.left}else if(Nr(e.parent))return e.parent.name}function Tc(e,t){return xB(e)&&xB(t)?xU(e)===xU(t):h1(e)&&Th(t)&&(108===t.expression.kind||wb(t.expression)&&("window"===t.expression.escapedText||"self"===t.expression.escapedText||"global"===t.expression.escapedText))?Tc(e,TE(t)):!!(Th(e)&&Th(t))&&Tx(e)===Tx(t)&&Tc(e.expression,t.expression)}function Td(e){for(;AA(e,!0);)e=e.right;return e}function Tu(e){return wb(e)&&"exports"===e.escapedText}function T_(e){return wb(e)&&"module"===e.escapedText}function Tp(e){return(Rh(e)||Ty(e))&&T_(e.expression)&&"exports"===Tx(e)}function Tf(e){let t=function(e){var t;if(Rg(e)){if(!Tm(e))return 0;let t=e.arguments[0];return Tu(t)||Tp(t)?8:Tg(t)&&"prototype"===Tx(t)?9:7}return 63!==e.operatorToken.kind||!Lw(e.left)||RC(t=Td(e))&&wt(t.expression)&&"0"===t.expression.text?0:Tb(e.left.expression,!0)&&"prototype"===Tx(e.left)&&Rm(TA(e))?6:TS(e.left)}(e);return 5===t||EZ(e)?t:0}function Tm(e){return 3===dW(e.arguments)&&Rh(e.expression)&&wb(e.expression.expression)&&"Object"===hi(e.expression.expression)&&"defineProperty"===hi(e.expression.name)&&xO(e.arguments[1])&&Tb(e.arguments[0],!0)}function Th(e){return Rh(e)||Ty(e)}function Ty(e){return Ry(e)&&xO(e.argumentExpression)}function Tg(e,t){return Rh(e)&&(!t&&108===e.expression.kind||wb(e.name)&&Tb(e.expression,!0))||Tv(e,t)}function Tv(e,t){return Ty(e)&&(!t&&108===e.expression.kind||AI(e.expression)||Tg(e.expression,!0))}function Tb(e,t){return AI(e)||Tg(e,t)}function TE(e){return Rh(e)?e.name:e.argumentExpression}function TT(e){if(Rh(e))return e.name;let t=xi(e.argumentExpression);return wt(t)||g8(t)?t:e}function Tx(e){let t=TT(e);if(t){if(wb(t))return t.escapedText;if(g8(t)||wt(t))return hn(t.text)}}function TS(e){if(108===e.expression.kind)return 4;if(Tp(e))return 2;if(Tb(e.expression,!0)){if(AO(e.expression))return 3;let t=e;for(;!wb(t.expression);)t=t.expression;let n=t.expression;if(("exports"===n.escapedText||"module"===n.escapedText&&"exports"===Tx(t))&&Tg(e))return 1;if(Tb(e,!0)||Ry(e)&&xF(e))return 5}return 0}function TA(e){for(;RR(e.right);)e=e.right;return e.right}function TL(e){return RR(e)&&3===Tf(e)}function TC(e){return EZ(e)&&e.parent&&241===e.parent.kind&&(!Ry(e)||Ty(e))&&!!hH(e.parent)}function Tk(e,t){let{valueDeclaration:n}=e;(!n||!(16777216&t.flags&&!EZ(t)&&!(16777216&n.flags))&&Tn(n)&&!Tn(t)||n.kind!==t.kind&&bt(n))&&(e.valueDeclaration=t)}function TI(e){if(!e||!e.valueDeclaration)return!1;let t=e.valueDeclaration;return 259===t.kind||Nr(t)&&t.initializer&&yF(t.initializer)}function Tw(e){var t,n;switch(e.kind){case 257:case 205:return null==(t=m9(e.initializer,e=>E8(e,!0)))?void 0:t.arguments[0];case 269:return _E(e.moduleSpecifier,g8);case 268:return _E(null==(n=_E(e.moduleReference,ND))?void 0:n.expression,g8);case 270:case 277:return _E(e.parent.moduleSpecifier,g8);case 271:case 278:return _E(e.parent.parent.moduleSpecifier,g8);case 273:return _E(e.parent.parent.parent.moduleSpecifier,g8);default:T.assertNever(e)}}function TR(e){return TN(e)||T.failBadSyntaxKind(e.parent)}function TN(e){switch(e.parent.kind){case 269:case 275:return e.parent;case 280:return e.parent.parent;case 210:return bq(e.parent)||E8(e.parent,!1)?e.parent:void 0;case 198:return T.assert(wr(e)),_E(e.parent.parent,Rl);default:return}}function TD(e){switch(e.kind){case 269:case 275:return e.moduleSpecifier;case 268:return 280===e.moduleReference.kind?e.moduleReference.expression:void 0;case 202:return bX(e)?e.argument.literal:void 0;case 210:return e.arguments[0];case 264:return 10===e.name.kind?e.name:void 0;default:return T.assertNever(e)}}function TO(e){switch(e.kind){case 269:return e.importClause&&_E(e.importClause.namedBindings,Nb);case 268:return e;case 275:return e.exportClause&&_E(e.exportClause,NE);default:return T.assertNever(e)}}function TM(e){return 269===e.kind&&!!e.importClause&&!!e.importClause.name}function TP(e,t){if(e.name){let n=t(e);if(n)return n}if(e.namedBindings){let n=Nb(e.namedBindings)?t(e.namedBindings):dz(e.namedBindings.elements,t);if(n)return n}}function TF(e){if(e)switch(e.kind){case 166:case 171:case 170:case 300:case 299:case 169:case 168:return void 0!==e.questionToken}return!1}function TG(e){let t=Di(e)?uK(e.parameters):void 0,n=_E(t&&t.name,wb);return!!n&&"new"===n.escapedText}function TB(e){return 349===e.kind||341===e.kind||343===e.kind}function TU(e){return TB(e)||Nl(e)}function TV(e){return R$(e)&&RR(e.expression)&&0!==Tf(e.expression)&&RR(e.expression.right)&&(56===e.expression.right.operatorToken.kind||60===e.expression.right.operatorToken.kind)?e.expression.right.right:void 0}function Tj(e){switch(e.kind){case 240:let t=TH(e);return t&&t.initializer;case 169:case 299:return e.initializer}}function TH(e){return RX(e)?uK(e.declarationList.declarations):void 0}function TK(e){return Nd(e)&&e.body&&264===e.body.kind?e.body:void 0}function TW(e){if(e.kind>=240&&e.kind<=256)return!0;switch(e.kind){case 79:case 108:case 106:case 163:case 233:case 209:case 208:case 205:case 215:case 216:case 171:case 174:case 175:return!0;default:return!1}}function Tz(e){switch(e.kind){case 216:case 223:case 238:case 249:case 176:case 292:case 260:case 228:case 172:case 173:case 182:case 177:case 248:case 256:case 243:case 209:case 239:case 1:case 263:case 302:case 274:case 275:case 278:case 241:case 246:case 247:case 245:case 259:case 215:case 181:case 174:case 79:case 242:case 269:case 268:case 178:case 261:case 320:case 326:case 253:case 171:case 170:case 264:case 199:case 267:case 207:case 166:case 214:case 208:case 299:case 169:case 168:case 250:case 175:case 300:case 301:case 252:case 254:case 255:case 262:case 165:case 257:case 240:case 244:case 251:return!0;default:return!1}}function Tq(e,t){let n;b9(e)&&gZ(e)&&g$(e.initializer)&&(n=uP(n,TJ(e,uX(e.initializer.jsDoc))));let r=e;for(;r&&r.parent;){if(g$(r)&&(n=uP(n,TJ(e,uX(r.jsDoc)))),166===r.kind){n=uP(n,(t?hv:hg)(r));break}if(165===r.kind){n=uP(n,(t?hT:hE)(r));break}r=TY(r)}return n||o}function TJ(e,t){if(Ds(t)){let n=d9(t.tags,t=>TX(e,t));return t.tags===n?[t]:n}return TX(e,t)?[t]:void 0}function TX(e,t){return!(DL(t)||DN(t))||!t.parent||!Ds(t.parent)||!RT(t.parent.parent)||t.parent.parent===e}function TY(e){let t=e.parent;return 299===t.kind||274===t.kind||169===t.kind||241===t.kind&&208===e.kind||250===t.kind||TK(t)||RR(e)&&63===e.operatorToken.kind?t:t.parent&&(TH(t.parent)===e||RR(t)&&63===t.operatorToken.kind)?t.parent:t.parent&&t.parent.parent&&(TH(t.parent.parent)||Tj(t.parent.parent)===e||TV(t.parent.parent))?t.parent.parent:void 0}function T$(e){if(e.symbol)return e.symbol;if(!wb(e.name))return;let t=e.name.escapedText,n=TZ(e);if(!n)return;let r=d0(n.parameters,e=>79===e.name.kind&&e.name.escapedText===t);return r&&r.symbol}function TQ(e){if(Ds(e.parent)&&e.parent.tags){let t=d0(e.parent.tags,TB);if(t)return t}return TZ(e)}function TZ(e){let t=T0(e);if(t)return wU(t)&&t.type&&yF(t.type)?t.type:yF(t)?t:void 0}function T0(e){let t=T1(e);if(t)return TV(t)||(R$(t)&&RR(t.expression)&&63===t.expression.operatorToken.kind?Td(t.expression):void 0)||Tj(t)||TH(t)||TK(t)||t}function T1(e){let t=T2(e);if(!t)return;let n=t.parent;if(n&&n.jsDoc&&t===uJ(n.jsDoc))return n}function T2(e){return m9(e.parent,Ds)}function T4(e){let t=e.name.escapedText,{typeParameters:n}=e.parent.parent.parent;return n&&d0(n,e=>e.name.escapedText===t)}function T8(e){return!!e.typeArguments}function T6(e){let t=e.parent;for(;;){switch(t.kind){case 223:let n=t.operatorToken.kind;return AT(n)&&t.left===e?63===n||Ag(n)?1:2:0;case 221:case 222:let r=t.operator;return 45===r||46===r?2:0;case 246:case 247:return t.initializer===e?1:0;case 214:case 206:case 227:case 232:e=t;break;case 301:e=t.parent;break;case 300:if(t.name!==e)return 0;e=t.parent;break;case 299:if(t.name===e)return 0;e=t.parent;break;default:return 0}t=e.parent}}function T3(e){return 0!==T6(e)}function T5(e){switch(e.kind){case 238:case 240:case 251:case 242:case 252:case 266:case 292:case 293:case 253:case 245:case 246:case 247:case 243:case 244:case 255:case 295:return!0}return!1}function T7(e){return Rx(e)||RS(e)||yJ(e)||Na(e)||wW(e)}function T9(e,t){for(;e&&e.kind===t;)e=e.parent;return e}function xe(e){return T9(e,193)}function xt(e){return T9(e,214)}function xn(e){let t;for(;e&&193===e.kind;)t=e,e=e.parent;return[t,e]}function xr(e){for(;Rn(e);)e=e.type;return e}function xi(e,t){return D3(e,t?17:1)}function xa(e){return(208===e.kind||209===e.kind)&&(e=xt(e.parent))&&217===e.kind}function xo(e,t){for(;e;){if(e===t)return!0;e=e.parent}return!1}function xs(e){return!N0(e)&&!y2(e)&&gO(e.parent)&&e.parent.name===e}function xl(e){let t=e.parent;switch(e.kind){case 10:case 14:case 8:if(wP(t))return t.parent;case 79:if(gO(t))return t.name===e?t:void 0;if(wM(t)){let e=t.parent;return Dx(e)&&e.name===t?e:void 0}{let n=t.parent;return RR(n)&&0!==Tf(n)&&(n.left.symbol||n.symbol)&&hp(n)===e?n:void 0}case 80:return gO(t)&&t.name===e?t:void 0;default:return}}function xc(e){return xO(e)&&164===e.parent.kind&&gO(e.parent.parent)}function xd(e){let t=e.parent;switch(t.kind){case 169:case 168:case 171:case 170:case 174:case 175:case 302:case 299:case 208:return t.name===e;case 163:return t.right===e;case 205:case 273:return t.propertyName===e;case 278:case 288:case 282:case 283:case 284:return!0}return!1}function xu(e){return!!(268===e.kind||267===e.kind||270===e.kind&&e.name||271===e.kind||277===e.kind||273===e.kind||278===e.kind||274===e.kind&&xf(e))||EZ(e)&&(RR(e)&&2===Tf(e)&&xf(e)||Rh(e)&&RR(e.parent)&&e.parent.left===e&&63===e.parent.operatorToken.kind&&xp(e.parent.right))}function x_(e){switch(e.parent.kind){case 270:case 273:case 271:case 278:case 274:case 268:case 277:return e.parent;case 163:do e=e.parent;while(163===e.parent.kind)return x_(e)}}function xp(e){return AI(e)||RP(e)}function xf(e){return xp(xm(e))}function xm(e){return NS(e)?e.expression:e.right}function xh(e){return 300===e.kind?e.name:299===e.kind?e.initializer:e.parent.right}function xy(e){let t=xg(e);if(t&&EZ(e)){let t=hS(e);if(t)return t.class}return t}function xg(e){let t=xT(e.heritageClauses,94);return t&&t.types.length>0?t.types[0]:void 0}function xv(e){if(EZ(e))return hA(e).map(e=>e.class);{let t=xT(e.heritageClauses,117);return null==t?void 0:t.types}}function xb(e){return Ns(e)?xE(e)||o:yW(e)&&uE(pd(xy(e)),xv(e))||o}function xE(e){let t=xT(e.heritageClauses,94);return t?t.types:void 0}function xT(e,t){if(e){for(let n of e)if(n.token===t)return n}}function xx(e,t){for(;e;){if(e.kind===t)return e;e=e.parent}}function xS(e){return 81<=e&&e<=162}function xA(e){return 126<=e&&e<=162}function xL(e){return xS(e)&&!xA(e)}function xC(e){return 117<=e&&e<=125}function xk(e){let t=f4(e);return void 0!==t&&xL(t)}function xI(e){let t=f4(e);return void 0!==t&&xS(t)}function xw(e){let t=ha(e);return!!t&&!xA(t)}function xR(e){return 2<=e&&e<=7}function xN(e){if(!e)return 4;let t=0;switch(e.kind){case 259:case 215:case 171:e.asteriskToken&&(t|=1);case 216:S3(e,512)&&(t|=2)}return e.body||(t|=4),t}function xD(e){switch(e.kind){case 259:case 215:case 216:case 171:return void 0!==e.body&&void 0===e.asteriskToken&&S3(e,512)}return!1}function xO(e){return g8(e)||wt(e)}function xM(e){return RI(e)&&(39===e.operator||40===e.operator)&&wt(e.operand)}function xP(e){let t=hp(e);return!!t&&xF(t)}function xF(e){if(!(164===e.kind||209===e.kind))return!1;let t=Ry(e)?xi(e.argumentExpression):e.expression;return!xO(t)&&!xM(t)}function xG(e){switch(e.kind){case 79:case 80:return e.escapedText;case 10:case 8:return hn(e.text);case 164:let t=e.expression;if(xO(t))return hn(t.text);if(xM(t)){if(40===t.operator)return tF[t.operator]+t.operand.text;return t.operand.text}return;default:return T.assertNever(e)}}function xB(e){switch(e.kind){case 79:case 10:case 14:case 8:return!0;default:return!1}}function xU(e){return h1(e)?hi(e):e.text}function xV(e){return h1(e)?e.escapedText:hn(e.text)}function xj(e){return`__@${Gb(e)}@${e.escapedName}`}function xH(e,t){return`__#${Gb(e)}@${t}`}function xK(e){return pn(e.escapedName,"__@")}function xW(e){return pn(e.escapedName,"__#")}function xz(e){return 79===e.kind&&"Symbol"===e.escapedText}function xq(e){return wb(e)?"__proto__"===hi(e):wr(e)&&"__proto__"===e.text}function xJ(e,t){switch((e=D3(e)).kind){case 228:case 215:if(e.name)return!1;break;case 216:break;default:return!1}return"function"!=typeof t||t(e)}function xX(e){switch(e.kind){case 299:return!xq(e.name);case 300:return!!e.objectAssignmentInitializer;case 257:return wb(e.name)&&!!e.initializer;case 166:case 205:return wb(e.name)&&!!e.initializer&&!e.dotDotDotToken;case 169:return!!e.initializer;case 223:switch(e.operatorToken.kind){case 63:case 76:case 75:case 77:return wb(e.left)}break;case 274:return!0}return!1}function xY(e,t){if(!xX(e))return!1;switch(e.kind){case 299:case 257:case 166:case 205:case 169:return xJ(e.initializer,t);case 300:return xJ(e.objectAssignmentInitializer,t);case 223:return xJ(e.right,t);case 274:return xJ(e.expression,t)}}function x$(e){return"push"===e.escapedText||"unshift"===e.escapedText}function xQ(e){return 166===xZ(e).kind}function xZ(e){for(;205===e.kind;)e=e.parent.parent;return e}function x0(e){let t=e.kind;return 173===t||215===t||259===t||216===t||171===t||174===t||175===t||264===t||308===t}function x1(e){return C9(e.pos)||C9(e.end)}function x2(e){return ht(e,N0)||e}function x4(e){let t=x3(e),n=211===e.kind&&void 0!==e.arguments;return x8(e.kind,t,n)}function x8(e,t,n){switch(e){case 211:return n?0:1;case 221:case 218:case 219:case 217:case 220:case 224:case 226:return 1;case 223:switch(t){case 42:case 63:case 64:case 65:case 67:case 66:case 68:case 69:case 70:case 71:case 72:case 73:case 78:case 74:case 75:case 76:case 77:return 1}}return 0}function x6(e){let t=x3(e),n=211===e.kind&&void 0!==e.arguments;return x5(e.kind,t,n)}function x3(e){return 223===e.kind?e.operatorToken.kind:221===e.kind||222===e.kind?e.operator:e.kind}function x5(e,t,n){switch(e){case 357:return 0;case 227:return 1;case 226:return 2;case 224:return 4;case 223:switch(t){case 27:return 0;case 63:case 64:case 65:case 67:case 66:case 68:case 69:case 70:case 71:case 72:case 73:case 78:case 74:case 75:case 76:case 77:return 3;default:return x7(t)}case 213:case 232:case 221:case 218:case 219:case 217:case 220:return 16;case 222:return 17;case 210:return 18;case 211:return n?19:18;case 212:case 208:case 209:case 233:return 19;case 231:case 235:return 11;case 108:case 106:case 79:case 80:case 104:case 110:case 95:case 8:case 9:case 10:case 206:case 207:case 215:case 216:case 228:case 13:case 14:case 225:case 214:case 229:case 281:case 282:case 285:return 20;default:return -1}}function x7(e){switch(e){case 60:return 4;case 56:return 5;case 55:return 6;case 51:return 7;case 52:return 8;case 50:return 9;case 34:case 35:case 36:case 37:return 10;case 29:case 31:case 32:case 33:case 102:case 101:case 128:case 150:return 11;case 47:case 48:case 49:return 12;case 39:case 40:return 13;case 41:case 43:case 44:return 14;case 42:return 15}return -1}function x9(e){return d9(e,e=>{switch(e.kind){case 291:return!!e.expression;case 11:return!e.containsOnlyTriviaWhiteSpaces;default:return!0}})}function Se(){let e=[],t=[],n=new Map,r=!1;return{add:function(i){let a;i.file?(a=n.get(i.file.fileName))||(a=[],n.set(i.file.fileName,a),uL(t,i.file.fileName,_W)):(r&&(r=!1,e=e.slice()),a=e),uL(a,i,L3)},lookup:function(t){let r;if(!(r=t.file?n.get(t.file.fileName):e))return;let i=u0(r,t,_C,L3);if(i>=0)return r[i]},getGlobalDiagnostics:function(){return r=!0,e},getDiagnostics:function(r){if(r)return n.get(r)||[];let i=us(t,e=>n.get(e));return e.length&&i.unshift(...e),i}}}function St(e){return e&&!!(wo(e)?e.templateFlags:e.head.templateFlags||uv(e.templateSpans,e=>!!e.literal.templateFlags))}function Sn(e){return"\\u"+("0000"+e.toString(16).toUpperCase()).slice(-4)}function Sr(e,t,n){if(0===e.charCodeAt(0)){let r=n.charCodeAt(t+e.length);return r>=48&&r<=57?"\\x00":"\\0"}return t9.get(e)||Sn(e.charCodeAt(0))}function Si(e,t){let n=96===t?t7:39===t?t5:t3;return e.replace(n,Sr)}function Sa(e,t){return e=Si(e,t),ne.test(e)?e.replace(ne,e=>Sn(e.charCodeAt(0))):e}function So(e){return 0===e.charCodeAt(0)?"�":nr.get(e)||"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function Ss(e,t){let n=39===t?nn:nt;return e.replace(n,So)}function Sl(e){var t;let n=e.length;return n>=2&&e.charCodeAt(0)===e.charCodeAt(n-1)&&(39===(t=e.charCodeAt(0))||34===t||96===t)?e.substring(1,n-1):e}function Sc(e){let t=e.charCodeAt(0);return t>=97&&t<=122||_2(e,"-")||_2(e,":")}function Sd(e){let t=ni[1];for(let n=ni.length;n<=e;n++)ni.push(ni[n-1]+t);return ni[e]}function Su(){return ni[1].length}function S_(){return _2(i,"-dev")||_2(i,"-insiders")}function Sp(e){var t,n,r,i,a,o=!1;function s(e){let n=f8(e);n.length>1?(i=i+n.length-1,r=(a=t.length-e.length+uX(n))-t.length==0):r=!1}function l(e){e&&e.length&&(r&&(e=Sd(n)+e,r=!1),t+=e,s(e))}function c(e){e&&(o=!1),l(e)}function d(){t="",n=0,r=!0,i=0,a=0,o=!1}return d(),{write:c,rawWrite:function(e){void 0!==e&&(t+=e,s(e),o=!1)},writeLiteral:function(e){e&&e.length&&c(e)},writeLine:function(n){(!r||n)&&(t+=e,i++,a=t.length,r=!0,o=!1)},increaseIndent:()=>{n++},decreaseIndent:()=>{n--},getIndent:()=>n,getTextPos:()=>t.length,getLine:()=>i,getColumn:()=>r?n*Su():t.length-a,getText:()=>t,isAtStartOfLine:()=>r,hasTrailingComment:()=>o,hasTrailingWhitespace:()=>!!t.length&&mn(t.charCodeAt(t.length-1)),clear:d,writeKeyword:c,writeOperator:c,writeParameter:c,writeProperty:c,writePunctuation:c,writeSpace:c,writeStringLiteral:c,writeSymbol:(e,t)=>c(e),writeTrailingSemicolon:c,writeComment:function(e){e&&(o=!0),l(e)},getTextPosWithWriteLine:function(){return r?t.length:t.length+e.length}}}function Sf(e){let t=!1;function n(){t&&(e.writeTrailingSemicolon(";"),t=!1)}return{...e,writeTrailingSemicolon(){t=!0},writeLiteral(t){n(),e.writeLiteral(t)},writeStringLiteral(t){n(),e.writeStringLiteral(t)},writeSymbol(t,r){n(),e.writeSymbol(t,r)},writePunctuation(t){n(),e.writePunctuation(t)},writeKeyword(t){n(),e.writeKeyword(t)},writeOperator(t){n(),e.writeOperator(t)},writeParameter(t){n(),e.writeParameter(t)},writeSpace(t){n(),e.writeSpace(t)},writeProperty(t){n(),e.writeProperty(t)},writeComment(t){n(),e.writeComment(t)},writeLine(){n(),e.writeLine()},increaseIndent(){n(),e.increaseIndent()},decreaseIndent(){n(),e.decreaseIndent()}}}function Sm(e){return!!e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames()}function Sh(e){return _7(Sm(e))}function Sy(e,t,n){return t.moduleName||Sb(e,t.fileName,n&&n.fileName)}function Sg(e,t){return e.getCanonicalFileName(fk(t,e.getCurrentDirectory()))}function Sv(e,t,n){let r=t.getExternalModuleFileFromDeclaration(n);if(!r||r.isDeclarationFile)return;let i=TD(n);if(!(i&&g8(i))||fl(i.text)||-1!==Sg(e,r.path).indexOf(Sg(e,fD(e.getCommonSourceDirectory()))))return Sy(e,r)}function Sb(e,t,n){let r=t=>e.getCanonicalFileName(t),i=fR(n?fy(n):e.getCommonSourceDirectory(),e.getCurrentDirectory(),r),a=C4(fz(i,fk(t,e.getCurrentDirectory()),i,r,!1));return n?fO(a):a}function SE(e,t,n){let r=t.getCompilerOptions();return(r.outDir?C4(Sw(e,t,r.outDir)):C4(e))+n}function ST(e,t){return Sx(e,t.getCompilerOptions(),t.getCurrentDirectory(),t.getCommonSourceDirectory(),e=>t.getCanonicalFileName(e))}function Sx(e,t,n,r,i){let a=t.declarationDir||t.outDir,o=a?SR(e,a,n,r,i):e,s=SS(o);return C4(o)+s}function SS(e){return f_(e,[".mjs",".mts"])?".d.mts":f_(e,[".cjs",".cts"])?".d.cts":f_(e,[".json"])?".d.json.ts":".d.ts"}function SA(e){return f_(e,[".d.mts",".mjs",".mts"])?[".mts",".mjs"]:f_(e,[".d.cts",".cjs",".cts"])?[".cts",".cjs"]:f_(e,[".d.json.ts"])?[".json"]:[".tsx",".ts",".jsx",".js"]}function SL(e){return e.outFile||e.out}function SC(e,t){var n,r;if(e.paths)return null!=(r=e.baseUrl)?r:T.checkDefined(e.pathsBasePath||(null==(n=t.getCurrentDirectory)?void 0:n.call(t)),"Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.")}function Sk(e,t,n){let r=e.getCompilerOptions();if(SL(r)){let t=Cn(r),i=r.emitDeclarationOnly||2===t||4===t;return d9(e.getSourceFiles(),t=>(i||!Md(t))&&SI(t,e,n))}return d9(void 0===t?e.getSourceFiles():[t],t=>SI(t,e,n))}function SI(e,t,n){return!(t.getCompilerOptions().noEmitForJsFiles&&EZ(e))&&!e.isDeclarationFile&&!t.isSourceFileFromExternalLibrary(e)&&(n||!(bV(e)&&t.getResolvedProjectReferenceToRedirect(e.fileName))&&!t.isSourceOfProjectReferenceRedirect(e.fileName))}function Sw(e,t,n){return SR(e,n,t.getCurrentDirectory(),t.getCommonSourceDirectory(),e=>t.getCanonicalFileName(e))}function SR(e,t,n,r,i){let a=fk(e,n);return fA(t,a=0===i(a).indexOf(i(r))?a.substring(r.length):a)}function SN(e,t,n,r,i,a,o){e.writeFile(n,r,i,e=>{t.add(L0(tA.Could_not_write_file_0_Colon_1,n,e))},a,o)}function SD(e,t,n,r,i,a){try{r(e,t,n)}catch(o){(function e(t,n,r){t.length>fh(t)&&!r(t)&&(e(fy(t),n,r),n(t))})(fy(fI(e)),i,a),r(e,t,n)}}function SO(e,t){return f9(f5(e),t)}function SM(e,t){return f9(e,t)}function SP(e){return d0(e.members,e=>wW(e)&&vD(e.body))}function SF(e){if(e&&e.parameters.length>0){let t=2===e.parameters.length&&SU(e.parameters[0]);return e.parameters[t?1:0]}}function SG(e){let t=SF(e);return t&&t.type}function SB(e){if(e.parameters.length&&!Dc(e)){let t=e.parameters[0];if(SU(t))return t}}function SU(e){return SV(e.name)}function SV(e){return!!e&&79===e.kind&&SH(e)}function Sj(e){if(!SV(e))return!1;for(;wM(e.parent)&&e.parent.left===e;)e=e.parent;return 183===e.parent.kind}function SH(e){return"this"===e.escapedText}function SK(e,t){let n,r,i,a;return xP(t)?(n=t,174===t.kind?i=t:175===t.kind?a=t:T.fail("Accessor has wrong kind")):dz(e,e=>{yz(e)&&S5(e)===S5(t)&&(xG(e.name)!==xG(t.name)||(n?r||(r=e):n=e,174!==e.kind||i||(i=e),175!==e.kind||a||(a=e)))}),{firstAccessor:n,secondAccessor:r,getAccessor:i,setAccessor:a}}function SW(e){if(!EZ(e)&&Na(e))return;let t=e.type;return t||!EZ(e)?t:yl(e)?e.typeExpression&&e.typeExpression.type:hK(e)}function Sz(e){return e.type}function Sq(e){return Dc(e)?e.type&&e.type.typeExpression&&e.type.typeExpression.type:e.type||(EZ(e)?hW(e):void 0)}function SJ(e){return uo(hq(e),e=>DC(e)&&!(323===e.parent.kind&&(e.parent.tags.some(TB)||e.parent.tags.some(Dv)))?e.typeParameters:void 0)}function SX(e){let t=SF(e);return t&&SW(t)}function SY(e,t,n,r){S$(e,t,n.pos,r)}function S$(e,t,n,r){r&&r.length&&n!==r[0].pos&&f9(e,n)!==f9(e,r[0].pos)&&t.writeLine()}function SQ(e,t,n,r){n!==r&&f9(e,n)!==f9(e,r)&&t.writeLine()}function SZ(e,t,n,r,i,a,o,s){if(r&&r.length>0){i&&n.writeSpace(" ");let l=!1;for(let i of r)l&&(n.writeSpace(" "),l=!1),s(e,t,n,i.pos,i.end,o),i.hasTrailingNewLine?n.writeLine():l=!0;l&&a&&n.writeSpace(" ")}}function S0(e,t,n,r,i,a,o){let s,l;if(o?0===i.pos&&(s=d9(mb(e,i.pos),function(t){return vK(e,t.pos)})):s=mb(e,i.pos),s){let o;let c=[];for(let e of s){if(o){let n=f9(t,o.end);if(f9(t,e.pos)>=n+2)break}c.push(e),o=e}if(c.length){let o=f9(t,uX(c).end);f9(t,mc(e,i.pos))>=o+2&&(SY(t,n,i,s),SZ(e,t,n,c,!1,!0,a,r),l={nodePos:i.pos,detachedCommentEndPos:uX(c).end})}}return l}function S1(e,t,n,r,i,a){if(42===e.charCodeAt(r+1)){let o;let s=f7(t,r),l=t.length;for(let c=r,d=s.line;c0){let e=i%Su(),t=Sd((i-e)/Su());for(n.rawWrite(t);e;)n.rawWrite(" "),e--}else n.rawWrite("")}(function(e,t,n,r,i,a){let o=Math.min(t,a-1),s=g(e.substring(i,o));s?(n.writeComment(s),o!==t&&n.writeLine()):n.rawWrite(r)})(e,i,n,a,c,u),c=u}}else n.writeComment(e.substring(r,i))}function S2(e,t,n){let r=0;for(;t=0&&e.kind<=162?0:(536870912&e.modifierFlagsCache||(e.modifierFlagsCache=536870912|Ap(e)),t&&!(4096&e.modifierFlagsCache)&&(n||EZ(e))&&e.parent&&(e.modifierFlagsCache|=4096|Au(e)),-536875009&e.modifierFlagsCache)}function Al(e){return As(e,!0)}function Ac(e){return As(e,!0,!0)}function Ad(e){return As(e,!1)}function Au(e){let t=0;return e.parent&&!wG(e)&&(EZ(e)&&(hk(e)&&(t|=4),hw(e)&&(t|=8),hN(e)&&(t|=16),hO(e)&&(t|=64),hM(e)&&(t|=16384)),hF(e)&&(t|=8192)),t}function A_(e){return Ap(e)|Au(e)}function Ap(e){let t=Oj(e)?Af(e.modifiers):0;return(4&e.flags||79===e.kind&&2048&e.flags)&&(t|=1),t}function Af(e){let t=0;if(e)for(let n of e)t|=Am(n.kind);return t}function Am(e){switch(e){case 124:return 32;case 123:return 4;case 122:return 16;case 121:return 8;case 126:return 256;case 127:return 128;case 93:return 1;case 136:return 2;case 85:return 2048;case 88:return 1024;case 132:return 512;case 146:return 64;case 161:return 16384;case 101:return 32768;case 145:return 65536;case 167:return 131072}return 0}function Ah(e){return 56===e||55===e}function Ay(e){return Ah(e)||53===e}function Ag(e){return 75===e||76===e||77===e}function Av(e){return RR(e)&&Ag(e.operatorToken.kind)}function Ab(e){return Ah(e)||60===e}function AE(e){return RR(e)&&Ab(e.operatorToken.kind)}function AT(e){return e>=63&&e<=78}function Ax(e){let t=AS(e);return t&&!t.isImplements?t.class:void 0}function AS(e){if(RG(e)){if(Nq(e.parent)&&yW(e.parent.parent))return{class:e.parent.parent,isImplements:117===e.parent.token};if(Dd(e.parent)){let t=T0(e.parent);if(t&&yW(t))return{class:t,isImplements:!1}}}}function AA(e,t){return RR(e)&&(t?63===e.operatorToken.kind:AT(e.operatorToken.kind))&&gs(e.left)}function AL(e){return AA(e.parent)&&e.parent.left===e}function AC(e){if(AA(e,!0)){let t=e.left.kind;return 207===t||206===t}return!1}function Ak(e){return void 0!==Ax(e)}function AI(e){return 79===e.kind||AN(e)}function Aw(e){switch(e.kind){case 79:return e;case 163:do e=e.left;while(79!==e.kind)return e;case 208:do e=e.expression;while(79!==e.kind)return e}}function AR(e){return 79===e.kind||108===e.kind||106===e.kind||233===e.kind||208===e.kind&&AR(e.expression)||214===e.kind&&AR(e.expression)}function AN(e){return Rh(e)&&wb(e.name)&&AI(e.expression)}function AD(e){if(Rh(e)){let t=AD(e.expression);if(void 0!==t)return t+"."+bL(e.name)}else if(Ry(e)){let t=AD(e.expression);if(void 0!==t&&yM(e.argumentExpression))return t+"."+xG(e.argumentExpression)}else if(wb(e))return hr(e.escapedText)}function AO(e){return Tg(e)&&"prototype"===Tx(e)}function AM(e){return 163===e.parent.kind&&e.parent.right===e||208===e.parent.kind&&e.parent.name===e}function AP(e){return Rh(e.parent)&&e.parent.name===e||Ry(e.parent)&&e.parent.argumentExpression===e}function AF(e){return wM(e.parent)&&e.parent.right===e||Rh(e.parent)&&e.parent.name===e||N6(e.parent)&&e.parent.right===e}function AG(e){return 207===e.kind&&0===e.properties.length}function AB(e){return 206===e.kind&&0===e.elements.length}function AU(e){if(e&&dW(e.declarations)>0&&S3(e.declarations[0],1024)&&e.declarations){for(let t of e.declarations)if(t.localSymbol)return t.localSymbol}}function AV(e){return d0(nT,t=>fu(e,t))}function Aj(e){let t,n,r,i,a="",o=function(e){let t=[],n=e.length;for(let r=0;r>6|192),t.push(63&n|128)):n<65536?(t.push(n>>12|224),t.push(n>>6&63|128),t.push(63&n|128)):n<131072?(t.push(n>>18|240),t.push(n>>12&63|128),t.push(n>>6&63|128),t.push(63&n|128)):T.assert(!1,"Unexpected code point")}return t}(e),s=0,l=o.length;for(;s>2,n=(3&o[s])<<4|o[s+1]>>4,r=(15&o[s+1])<<2|o[s+2]>>6,i=63&o[s+2],s+1>=l?r=i=64:s+2>=l&&(i=64),a+=na.charAt(t)+na.charAt(n)+na.charAt(r)+na.charAt(i),s+=3;return a}function AH(e,t){return e&&e.base64encode?e.base64encode(t):Aj(t)}function AK(e,t){if(e&&e.base64decode)return e.base64decode(t);let n=t.length,r=[],i=0;for(;i>4&3,l=(15&n)<<4|a>>2&15,c=(3&a)<<6|63&o;0===l&&0!==a?r.push(s):0===c&&0!==o?r.push(s,l):r.push(s,l,c),i+=4}return function(e){let t="",n=0,r=e.length;for(;n=e||-1===t),{pos:e,end:t}}function AY(e,t){return AX(e.pos,t)}function A$(e,t){return AX(t,e.end)}function AQ(e){let t=Oj(e)?d1(e.modifiers,wB):void 0;return t&&!C9(t.end)?A$(e,t.end):e}function AZ(e){if(wV(e)||wH(e))return A$(e,e.name.pos);let t=Oj(e)?uJ(e.modifiers):void 0;return t&&!C9(t.end)?A$(e,t.end):AQ(e)}function A0(e){return e.pos===e.end}function A1(e,t){return AX(e,e+tF[t].length)}function A2(e,t){return A6(e,e,t)}function A4(e,t,n){return Le(Lt(e,n,!1),Lt(t,n,!1),n)}function A8(e,t,n){return Le(e.end,t.end,n)}function A6(e,t,n){return Le(Lt(e,n,!1),t.end,n)}function A3(e,t,n){return Le(e.end,Lt(t,n,!1),n)}function A5(e,t,n,r){let i=Lt(t,n,r);return me(n,e.end,i)}function A7(e,t,n){return me(n,e.end,t.end)}function A9(e,t){return!Le(e.pos,e.end,t)}function Le(e,t,n){return 0===me(n,e,t)}function Lt(e,t,n){return C9(e.pos)?-1:mc(t.text,e.pos,!1,n)}function Ln(e,t,n,r){let i=mc(n.text,e,!1,r),a=function(e,t=0,n){for(;e-- >t;)if(!mn(n.text.charCodeAt(e)))return e}(i,t,n);return me(n,null!=a?a:t,i)}function Lr(e,t,n,r){let i=mc(n.text,e,!1,r);return me(n,e,Math.min(t,i))}function Li(e){let t=ht(e);if(t)switch(t.parent.kind){case 263:case 264:return t===t.parent.name}return!1}function La(e){return d9(e.declarations,Lo)}function Lo(e){return Nr(e)&&void 0!==e.initializer}function Ls(e){return e.watch&&u4(e,"watch")}function Ll(e){e.close()}function Lc(e){return 33554432&e.flags?e.links.checkFlags:0}function Ld(e,t=!1){if(e.valueDeclaration){let n=m8(t&&e.declarations&&d0(e.declarations,wq)||32768&e.flags&&d0(e.declarations,wz)||e.valueDeclaration);return e.parent&&32&e.parent.flags?n:-29&n}if(6&Lc(e)){let t=e.links.checkFlags;return(1024&t?8:256&t?4:16)|(2048&t?32:0)}return 4194304&e.flags?36:0}function Lu(e,t){return 2097152&e.flags?t.getAliasedSymbol(e):e}function L_(e){return e.exportSymbol?e.exportSymbol.flags|e.flags:e.flags}function Lp(e){return 1===Lm(e)}function Lf(e){return 0!==Lm(e)}function Lm(e){let{parent:t}=e;if(!t)return 0;switch(t.kind){case 214:case 206:return Lm(t);case 222:case 221:let{operator:n}=t;return 45===n||46===n?a():0;case 223:let{left:r,operatorToken:i}=t;return r===e&&AT(i.kind)?63===i.kind?1:a():0;case 208:return t.name!==e?0:Lm(t);case 299:{let n=Lm(t.parent);return e===t.name?function(e){switch(e){case 0:return 1;case 1:return 0;case 2:return 2;default:return T.assertNever(e)}}(n):n}case 300:return e===t.objectAssignmentInitializer?0:Lm(t.parent);default:return 0}function a(){return t.parent&&241===xt(t.parent).kind?1:2}}function Lh(e,t){if(!e||!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if("object"==typeof e[n]){if(!Lh(e[n],t[n]))return!1}else if("function"!=typeof e[n]&&e[n]!==t[n])return!1;return!0}function Ly(e,t){e.forEach(t),e.clear()}function Lg(e,t,n){let{onDeleteValue:r,onExistingValue:i}=n;e.forEach((n,a)=>{let o=t.get(a);void 0===o?(e.delete(a),r(n,a)):i&&i(n,o,a)})}function Lv(e,t,n){Lg(e,t,n);let{createNewValue:r}=n;t.forEach((t,n)=>{e.has(n)||e.set(n,r(n,t))})}function Lb(e){if(32&e.flags){let t=LE(e);return!!t&&S3(t,256)}return!1}function LE(e){var t;return null==(t=e.declarations)?void 0:t.find(yW)}function LT(e){return 3899393&e.flags?e.objectFlags:0}function Lx(e,t){return!!fq(e,e=>!!t(e)||void 0)}function LS(e){return!!e&&!!e.declarations&&!!e.declarations[0]&&Np(e.declarations[0])}function LA({moduleSpecifier:e}){return wr(e)?e.text:v$(e)}function LL(e){let t;return Mr(e,e=>{vD(e)&&(t=e)},e=>{for(let n=e.length-1;n>=0;n--)if(vD(e[n])){t=e[n];break}}),t}function LC(e,t,n=!0){return!e.has(t)&&(e.set(t,n),!0)}function Lk(e){return yW(e)||Ns(e)||w2(e)}function LI(e){return e>=179&&e<=202||131===e||157===e||148===e||160===e||149===e||134===e||152===e||153===e||114===e||155===e||144===e||139===e||230===e||315===e||316===e||317===e||318===e||319===e||320===e||321===e}function Lw(e){return 208===e.kind||209===e.kind}function LR(e){return 208===e.kind?e.name:(T.assert(209===e.kind),e.argumentExpression)}function LN(e){switch(e.kind){case"text":case"internal":return!0;default:return!1}}function LD(e){return 272===e.kind||276===e.kind}function LO(e){for(;Lw(e);)e=e.expression;return e}function LM(e,t){if(Lw(e.parent)&&AP(e))return function e(n){if(208===n.kind){let e=t(n.name);if(void 0!==e)return e}else if(209===n.kind){if(!(wb(n.argumentExpression)||g8(n.argumentExpression)))return;{let e=t(n.argumentExpression);if(void 0!==e)return e}}return Lw(n.expression)?e(n.expression):wb(n.expression)?t(n.expression):void 0}(e.parent)}function LP(e,t){for(;;){switch(e.kind){case 222:e=e.operand;continue;case 223:e=e.left;continue;case 224:e=e.condition;continue;case 212:e=e.tag;continue;case 210:if(t)break;case 231:case 209:case 208:case 232:case 356:case 235:e=e.expression;continue}return e}}function LF(e,t){this.flags=e,this.escapedName=t,this.declarations=void 0,this.valueDeclaration=void 0,this.id=0,this.mergeId=0,this.parent=void 0,this.members=void 0,this.exports=void 0,this.exportSymbol=void 0,this.constEnumOnlyModule=void 0,this.isReferenced=void 0,this.isAssigned=void 0,this.links=void 0}function LG(e,t){this.flags=t,(T.isDebugging||Q)&&(this.checker=e)}function LB(e,t){this.flags=t,T.isDebugging&&(this.checker=e)}function LU(e,t,n){this.pos=t,this.end=n,this.kind=e,this.id=0,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.original=void 0,this.emitNode=void 0}function LV(e,t,n){this.pos=t,this.end=n,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.emitNode=void 0}function Lj(e,t,n){this.pos=t,this.end=n,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.original=void 0,this.emitNode=void 0}function LH(e,t,n){this.fileName=e,this.text=t,this.skipTrivia=n||(e=>e)}function LK(e){nc.push(e),e(nl)}function LW(e){Object.assign(nl,e),dz(nc,e=>e(nl))}function Lz(e,t,n=0){return e.replace(/{(\d+)}/g,(e,r)=>""+T.checkDefined(t[+r+n]))}function Lq(e){nd=e}function LJ(e){!nd&&e&&(nd=e())}function LX(e){return nd&&nd[e.key]||e.message}function LY(e,t,n,r){bN(void 0,t,n);let i=LX(r);return arguments.length>4&&(i=Lz(i,arguments,4)),{file:void 0,start:t,length:n,messageText:i,category:r.category,code:r.code,reportsUnnecessary:r.reportsUnnecessary,fileName:e}}function L$(e,t){let n=[];for(let r of e)n.push(function e(t,n){let r=n.fileName||"",i=n.text.length;T.assertEqual(t.fileName,r),T.assertLessThanOrEqual(t.start,i),T.assertLessThanOrEqual(t.start+t.length,i);let a={file:n,start:t.start,length:t.length,messageText:t.messageText,category:t.category,code:t.code,reportsUnnecessary:t.reportsUnnecessary};if(t.relatedInformation)for(let o of(a.relatedInformation=[],t.relatedInformation))void 0===o.file&&void 0!==o.start&&void 0!==o.length&&"string"==typeof o.fileName&&o.fileName===r?(T.assertLessThanOrEqual(o.start,i),T.assertLessThanOrEqual(o.start+o.length,i),a.relatedInformation.push(e(o,n))):a.relatedInformation.push(o);return a}(r,t));return n}function LQ(e,t,n,r){bN(e,t,n);let i=LX(r);return arguments.length>4&&(i=Lz(i,arguments,4)),{file:e,start:t,length:n,messageText:i,category:r.category,code:r.code,reportsUnnecessary:r.reportsUnnecessary,reportsDeprecated:r.reportsDeprecated}}function LZ(e,t){let n=LX(t);return arguments.length>2&&(n=Lz(n,arguments,2)),n}function L0(e){let t=LX(e);return arguments.length>1&&(t=Lz(t,arguments,1)),{file:void 0,start:void 0,length:void 0,messageText:t,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary,reportsDeprecated:e.reportsDeprecated}}function L1(e,t){return{file:void 0,start:void 0,length:void 0,code:e.code,category:e.category,messageText:e.next?e:e.messageText,relatedInformation:t}}function L2(e,t){let n=LX(t);return arguments.length>2&&(n=Lz(n,arguments,2)),{messageText:n,category:t.category,code:t.code,next:void 0===e||Array.isArray(e)?e:[e]}}function L4(e,t){let n=e;for(;n.next;)n=n.next[0];n.next=[t]}function L8(e){return e.file?e.file.path:void 0}function L6(e,t){return L3(e,t)||(e.relatedInformation||t.relatedInformation?e.relatedInformation&&t.relatedInformation?_U(e.relatedInformation.length,t.relatedInformation.length)||dz(e.relatedInformation,(e,n)=>L6(e,t.relatedInformation[n]))||0:e.relatedInformation?-1:1:0)||0}function L3(e,t){return _W(L8(e),L8(t))||_U(e.start,t.start)||_U(e.length,t.length)||_U(e.code,t.code)||function e(t,n){if("string"==typeof t&&"string"==typeof n)return _W(t,n);if("string"==typeof t)return -1;if("string"==typeof n)return 1;let r=_W(t.messageText,n.messageText);if(r)return r;if(!t.next&&!n.next)return 0;if(!t.next)return -1;if(!n.next)return 1;let i=Math.min(t.next.length,n.next.length);for(let a=0;an.next.length?1:0}(e.messageText,t.messageText)||0}function L5(e){return 4===e||2===e||1===e||6===e?1:0}function L7(e){return e.isDeclarationFile?void 0:function e(t){if(2&t.transformFlags)return gK(t)||NG(t)?t:Mr(t,e)}(e)}function L9(e){return!!(99===e.impliedNodeFormat||f_(e.fileName,[".cjs",".cts",".mjs",".mts"]))&&!e.isDeclarationFile||void 0}function Ce(e){switch(Ca(e)){case 3:return e=>{e.externalModuleIndicator=OJ(e)||!e.isDeclarationFile||void 0};case 1:return e=>{e.externalModuleIndicator=OJ(e)};case 2:let t=[OJ];(4===e.jsx||5===e.jsx)&&t.push(L7),t.push(L9);let n=ps(...t);return e=>void(e.externalModuleIndicator=n(e))}}function Ct(e){var t;return null!=(t=e.target)?t:100===e.module&&9||199===e.module&&99||1}function Cn(e){return"number"==typeof e.module?e.module:Ct(e)>=2?5:1}function Cr(e){return e>=5&&e<=99}function Ci(e){let t=e.moduleResolution;if(void 0===t)switch(Cn(e)){case 1:t=2;break;case 100:t=3;break;case 199:t=99;break;default:t=1}return t}function Ca(e){return e.moduleDetection||(100===Cn(e)||199===Cn(e)?3:2)}function Co(e){switch(Cn(e)){case 1:case 2:case 5:case 6:case 7:case 99:case 100:case 199:return!0;default:return!1}}function Cs(e){return!!(e.isolatedModules||e.verbatimModuleSyntax)}function Cl(e){return e.verbatimModuleSyntax||e.isolatedModules&&e.preserveValueImports}function Cc(e){return!1===e.allowUnreachableCode}function Cd(e){return!1===e.allowUnusedLabels}function Cu(e){return!!(Cg(e)&&e.declarationMap)}function C_(e){if(void 0!==e.esModuleInterop)return e.esModuleInterop;switch(Cn(e)){case 100:case 199:return!0}}function Cp(e){return void 0!==e.allowSyntheticDefaultImports?e.allowSyntheticDefaultImports:C_(e)||4===Cn(e)||100===Ci(e)}function Cf(e){return e>=3&&e<=99||100===e}function Cm(e){let t=Ci(e);if(!Cf(t))return!1;if(void 0!==e.resolvePackageJsonExports)return e.resolvePackageJsonExports;switch(t){case 3:case 99:case 100:return!0}return!1}function Ch(e){let t=Ci(e);if(!Cf(t))return!1;if(void 0!==e.resolvePackageJsonExports)return e.resolvePackageJsonExports;switch(t){case 3:case 99:case 100:return!0}return!1}function Cy(e){return void 0!==e.resolveJsonModule?e.resolveJsonModule:100===Ci(e)}function Cg(e){return!!(e.declaration||e.composite)}function Cv(e){return!!(e.preserveConstEnums||Cs(e))}function Cb(e){return!!(e.incremental||e.composite)}function CE(e,t){return void 0===e[t]?!!e.strict:!!e[t]}function CT(e){return void 0===e.allowJs?!!e.checkJs:e.allowJs}function Cx(e){return void 0===e.useDefineForClassFields?Ct(e)>=9:e.useDefineForClassFields}function CS(e,t){return vo(t,e,rV)}function CA(e,t){return vo(t,e,rj)}function CL(e,t){return vo(t,e,rH)}function CC(e,t){return t.strictFlag?CE(e,t.name):e[t.name]}function Ck(e){let t=e.jsx;return 2===t||4===t||5===t}function CI(e,t){let n=null==t?void 0:t.pragmas.get("jsximportsource"),r=_y(n)?n[n.length-1]:n;return 4===e.jsx||5===e.jsx||e.jsxImportSource||r?(null==r?void 0:r.arguments.factory)||e.jsxImportSource||"react":void 0}function Cw(e,t){return e?`${e}/${5===t.jsx?"jsx-dev-runtime":"jsx-runtime"}`:void 0}function CR(e){let t=!1;for(let n=0;ni,getSymlinkedDirectories:()=>n,getSymlinkedDirectoriesByRealpath:()=>r,setSymlinkedFile:(e,t)=>(i||(i=new Map)).set(e,t),setSymlinkedDirectory:(i,a)=>{let o=fR(i,e,t);kD(o)||(o=fD(o),!1===a||(null==n?void 0:n.has(o))||(r||(r=_u())).add(fD(a.realPath),i),(n||(n=new Map)).set(o,a))},setSymlinksFromResolutions(e,t){var n,r;for(let t of(T.assert(!a),a=!0,e))null==(n=t.resolvedModules)||n.forEach(e=>s(this,e.resolvedModule)),null==(r=t.resolvedTypeReferenceDirectiveNames)||r.forEach(e=>s(this,e.resolvedTypeReferenceDirective));t.forEach(e=>s(this,e.resolvedTypeReferenceDirective))},hasProcessedResolutions:()=>a};function s(n,r){if(!r||!r.originalPath||!r.resolvedFileName)return;let{resolvedFileName:i,originalPath:a}=r;n.setSymlinkedFile(fR(a,e,t),i);let[s,l]=function(e,t,n,r){let i=fE(fk(e,n)),a=fE(fk(t,n)),o=!1;for(;i.length>=2&&a.length>=2&&!CD(i[i.length-2],r)&&!CD(a[a.length-2],r)&&r(i[i.length-1])===r(a[a.length-1]);)i.pop(),a.pop(),o=!0;return o?[fT(i),fT(a)]:void 0}(i,a,e,t)||o;s&&l&&n.setSymlinkedDirectory(l,{real:s,realPath:fR(s,e,t)})}}function CD(e,t){return void 0!==e&&("node_modules"===t(e)||pn(e,"@"))}function CO(e,t,n){let r=pi(e,t,n);return void 0===r?void 0:fr(r.charCodeAt(0))?r.slice(1):void 0}function CM(e){return e.replace(nu,CP)}function CP(e){return"\\"+e}function CF(e,t,n){let r=CG(e,t,n);if(r&&r.length)return`^(${r.map(e=>`(${e})`).join("|")})${"exclude"===n?"($|/)":"$"}`}function CG(e,t,n){if(void 0!==e&&0!==e.length)return uo(e,e=>e&&CV(e,t,n,ng[n]))}function CB(e){return!/[.*?]/.test(e)}function CU(e,t,n){let r=e&&CV(e,t,n,ng[n]);return r&&`^(${r})${"exclude"===n?"($|/)":"$"}`}function CV(e,t,n,{singleAsteriskRegexFragment:r,doubleAsteriskRegexFragment:i,replaceWildcardCharacter:a}){let o="",s=!1,l=fC(e,t),c=uX(l);if("exclude"!==n&&"**"===c)return;l[0]=fN(l[0]),CB(c)&&l.push("**","*");let d=0;for(let e of l){if("**"===e)o+=i;else if("directories"===n&&(o+="(",d++),s&&(o+=tb),"exclude"!==n){let t="";42===e.charCodeAt(0)?(t+="([^./]"+r+")?",e=e.substr(1)):63===e.charCodeAt(0)&&(t+="[^./]",e=e.substr(1)),(t+=e.replace(nu,a))!==e&&(o+=nf),o+=t}else o+=e.replace(nu,a);s=!0}for(;d>0;)o+=")?",d--;return o}function Cj(e,t){return"*"===e?t:"?"===e?"[^/]":"\\"+e}function CH(e,t,n,r,i){e=fI(e);let a=fA(i=fI(i),e);return{includeFilePatterns:un(CG(n,a,"files"),e=>`^${e}$`),includeFilePattern:CF(n,a,"files"),includeDirectoryPattern:CF(n,a,"directories"),excludePattern:CF(t,a,"exclude"),basePaths:function(e,t,n){let r=[e];if(t){let i=[];for(let n of t){let t=fa(n)?n:fI(fA(e,n));i.push(function(e){let t=d5(e,n_);return t<0?fd(e)?fN(fy(e)):e:e.substring(0,e.lastIndexOf(tb,t))}(t))}for(let t of(i.sort(_z(!n)),i))dZ(r,r=>!fU(r,t,e,!n))&&r.push(t)}return r}(e,n,r)}}function CK(e,t){return new RegExp(e,t?"":"i")}function CW(e,t,n,r,i,a,o,s,l){let c=CH(e=fI(e),n,r,i,a=fI(a)),d=c.includeFilePatterns&&c.includeFilePatterns.map(e=>CK(e,i)),u=c.includeDirectoryPattern&&CK(c.includeDirectoryPattern,i),_=c.excludePattern&&CK(c.excludePattern,i),p=d?d.map(()=>[]):[[]],f=new Map,m=_7(i);for(let e of c.basePaths)!function e(n,r,i){let a=m(l(r));if(f.has(a))return;f.set(a,!0);let{files:o,directories:c}=s(n);for(let e of uU(o,_W)){let i=fA(n,e),a=fA(r,e);if((!t||f_(i,t))&&!(_&&_.test(a))){if(d){let e=d2(d,e=>e.test(a));-1!==e&&p[e].push(i)}else p[0].push(i)}}if(void 0===i||0!=--i)for(let t of uU(c,_W)){let a=fA(n,t),o=fA(r,t);(!u||u.test(o))&&(!_||!_.test(o))&&e(a,o,i)}}(e,fA(a,e),o);return ua(p)}function Cz(e,t){return t||Cq(e)||3}function Cq(e){switch(e.substr(e.lastIndexOf(".")).toLowerCase()){case".js":case".cjs":case".mjs":return 1;case".jsx":return 2;case".ts":case".cts":case".mts":return 3;case".tsx":return 4;case".json":return 6;default:return 0}}function CJ(e,t){let n=e&&CT(e);if(!t||0===t.length)return n?nA:nv;let r=n?nA:nv,i=ua(r);return[...r,...uu(t,e=>{var t;return 7===e.scriptKind||n&&(1===(t=e.scriptKind)||2===t)&&-1===i.indexOf(e.extension)?[e.extension]:void 0})]}function CX(e,t){return e&&Cy(e)?t===nA?nL:t===nv?nE:[...t,[".json"]]:t}function CY(e){return uv(nS,t=>fu(e,t))}function C$(e){return uv(nb,t=>fu(e,t))}function CQ({imports:e},t=ps(CY,C$)){return dJ(e,({text:e})=>fl(e)?t(e):void 0)||!1}function CZ(e,t,n,r){if("js"===e||99===t)return FB(n)&&2!==i()?3:2;if("minimal"===e)return 0;if("index"===e)return 1;if(!FB(n))return CQ(r)?2:0;return i();function i(){let e=!1;for(let t of r.imports.length?r.imports.map(e=>e.text):EZ(r)?(function(e){let t,n=0;for(let r of e.statements){if(n>3)break;E9(r)?t=uE(t,r.declarationList.declarations.map(e=>e.initializer)):R$(r)&&E8(r.expression,!0)?t=uD(t,r.expression):n++}return t||o})(r).map(e=>e.arguments[0].text):o)if(fl(t)){if(C$(t))return 3;CY(t)&&(e=!0)}return e?2:0}}function C0(e,t,n){if(!e)return!1;let r=CJ(t,n);for(let n of ua(CX(t,r)))if(fu(e,n))return!0;return!1}function C1(e){let t=e.match(/\//g);return t?t.length:0}function C2(e,t){return _U(C1(e),C1(t))}function C4(e){for(let t of nw){let n=C8(e,t);if(void 0!==n)return n}return e}function C8(e,t){return fu(e,t)?C6(e,t):void 0}function C6(e,t){return e.substring(0,e.length-t.length)}function C3(e,t){return fM(e,t,nw,!1)}function C5(e){let t=e.indexOf("*");return -1===t?e:-1!==e.indexOf("*",t+1)?void 0:{prefix:e.substr(0,t),suffix:e.substr(t+1)}}function C7(e){return uu(u6(e),e=>C5(e))}function C9(e){return!(e>=0)}function ke(e){return".ts"===e||".tsx"===e||".d.ts"===e||".cts"===e||".mts"===e||".d.mts"===e||".d.cts"===e||pn(e,".d.")&&_Z(e,".ts")}function kt(e){return ke(e)||".json"===e}function kn(e){let t=ki(e);return void 0!==t?t:T.fail(`File ${e} has unknown extension.`)}function kr(e){return void 0!==ki(e)}function ki(e){return d0(nw,t=>fu(e,t))}function ka(e,t){return e.checkJsDirective?e.checkJsDirective.enabled:t.checkJs}function ko(e,t){let n=[];for(let r of e){if(r===t)return t;_v(r)||n.push(r)}return pt(n,e=>e,t)}function ks(e,t){let n=e.indexOf(t);return T.assert(-1!==n),e.slice(n)}function kl(e,...t){return t.length&&(e.relatedInformation||(e.relatedInformation=[]),T.assert(e.relatedInformation!==o,"Diagnostic had empty array singleton for related info, but is still being constructed!"),e.relatedInformation.push(...t)),e}function kc(e,t){T.assert(0!==e.length);let n=t(e[0]),r=n;for(let i=1;ir&&(r=a)}return{min:n,max:r}}function kd(e){return{pos:vz(e),end:e.end}}function ku(e,t){return{pos:t.pos-1,end:Math.min(e.text.length,mc(e.text,t.end)+1)}}function k_(e,t,n){return t.skipLibCheck&&e.isDeclarationFile||t.skipDefaultLibCheck&&e.hasNoDefaultLib||n.isSourceOfProjectReferenceRedirect(e.fileName)}function kp(e,t){return e===t||"object"==typeof e&&null!==e&&"object"==typeof t&&null!==t&&_t(e,t,kp)}function kf(e){let t;switch(e.charCodeAt(1)){case 98:case 66:t=1;break;case 111:case 79:t=3;break;case 120:case 88:t=4;break;default:let n=e.length-1,r=0;for(;48===e.charCodeAt(r);)r++;return e.slice(r,n)||"0"}let i=e.length-1,a=(i-2)*t,o=new Uint16Array((a>>>4)+(15&a?1:0));for(let n=i-1,r=0;n>=2;n--,r+=t){let t=r>>>4,i=e.charCodeAt(n),a=(i<=57?i-48:10+i-(i<=70?65:97))<<(15&r);o[t]|=a;let s=a>>>16;s&&(o[t+1]|=s)}let s="",l=o.length-1,c=!0;for(;c;){let e=0;c=!1;for(let t=l;t>=0;t--){let n=e<<16|o[t],r=n/10|0;o[t]=r,e=n-10*r,r&&!c&&(l=t,c=!0)}s=e+s}return s}function km({negative:e,base10Value:t}){return(e&&"0"!==t?"-":"")+t}function kh(e){if(kg(e,!1))return ky(e)}function ky(e){let t=e.startsWith("-"),n=kf(`${t?e.slice(1):e}n`);return{negative:t,base10Value:n}}function kg(e,t){if(""===e)return!1;let n=mL(99,!1),r=!0;n.setOnError(()=>r=!1),n.setText(e+"n");let i=n.scan(),a=40===i;a&&(i=n.scan());let o=n.getTokenFlags();return r&&9===i&&n.getTextPos()===e.length+1&&!(512&o)&&(!t||e===km({negative:a,base10Value:kf(n.getTokenValue())}))}function kv(e){return!!(16777216&e.flags)||EW(e)||function(e){if(79!==e.kind)return!1;let t=m9(e.parent,e=>{switch(e.kind){case 294:return!0;case 208:case 230:return!1;default:return"quit"}});return(null==t?void 0:t.token)===117||(null==t?void 0:t.parent.kind)===261}(e)||function(e){for(;79===e.kind||208===e.kind;)e=e.parent;if(164!==e.kind)return!1;if(S3(e.parent,256))return!0;let t=e.parent.parent.kind;return 261===t||184===t}(e)||!(EH(e)||wb(e)&&NY(e.parent)&&e.parent.name===e)}function kb(e){return wQ(e)&&wb(e.typeName)}function kE(e,t=_P){if(e.length<2)return!0;let n=e[0];for(let r=1,i=e.length;r_2(e,t))}function kO(e){if(!e.parent)return;switch(e.kind){case 165:let{parent:t}=e;return 192===t.kind?void 0:t.typeParameters;case 166:return e.parent.parameters;case 201:case 236:return e.parent.templateSpans;case 167:{let{parent:t}=e;return OH(t)?t.modifiers:void 0}case 294:return e.parent.heritageClauses}let{parent:n}=e;if(gJ(e))return Dl(e.parent)?void 0:e.parent.tags;switch(n.kind){case 184:case 261:return y$(e)?n.members:void 0;case 189:case 190:return n.types;case 186:case 206:case 357:case 272:case 276:return n.elements;case 207:case 289:return n.properties;case 210:case 211:return y0(e)?n.typeArguments:n.expression===e?void 0:n.arguments;case 281:case 285:return gV(e)?n.children:void 0;case 283:case 282:return y0(e)?n.typeArguments:void 0;case 238:case 292:case 293:case 265:case 308:return n.statements;case 266:return n.clauses;case 260:case 228:return yK(e)?n.members:void 0;case 263:return NQ(e)?n.members:void 0}}function kM(e){if(!e.typeParameters){if(uv(e.parameters,e=>!SW(e)))return!0;if(216!==e.kind){let t=uK(e.parameters);if(!(t&&SU(t)))return!0}}return!1}function kP(e){return"Infinity"===e||"-Infinity"===e||"NaN"===e}function kF(e){return 257===e.kind&&295===e.parent.kind}function kG(e){let t=e.valueDeclaration&&xZ(e.valueDeclaration);return!!t&&(wG(t)||kF(t))}function kB(e){return 215===e.kind||216===e.kind}function kU(e){return e.replace(/\$/gm,()=>"\\$")}function kV(e){return(+e).toString()===e}function kj(e,t,n,r){return mA(e,t)?nU.createIdentifier(e):!r&&kV(e)&&+e>=0?nU.createNumericLiteral(+e):nU.createStringLiteral(e,!!n)}function kH(e){return!!(262144&e.flags&&e.isThisType)}function kK(e){var t;let n,r=0,i=0,a=0,o=0;(t=n||(n={}))[t.BeforeNodeModules=0]="BeforeNodeModules",t[t.NodeModules=1]="NodeModules",t[t.Scope=2]="Scope",t[t.PackageContent=3]="PackageContent";let s=0,l=0,c=0;for(;l>=0;)switch(s=l,l=e.indexOf("/",s+1),c){case 0:e.indexOf(il,s)===s&&(r=s,i=l,c=1);break;case 1:case 2:1===c&&"@"===e.charAt(s+1)?c=2:(a=l,c=3);break;case 3:c=e.indexOf(il,s)===s?1:3}return o=s,c>1?{topLevelNodeModulesIndex:r,topLevelPackageNameIndex:i,packageRootIndex:a,fileNameIndex:o}:void 0}function kW(e){var t;return 344===e.kind?null==(t=e.typeExpression)?void 0:t.type:e.type}function kz(e){switch(e.kind){case 165:case 260:case 261:case 262:case 263:case 349:case 341:case 343:return!0;case 270:return e.isTypeOnly;case 273:case 278:return e.parent.parent.isTypeOnly;default:return!1}}function kq(e){return Nc(e)||RX(e)||Na(e)||No(e)||Ns(e)||kz(e)||Nd(e)&&!ba(e)&&!bi(e)}function kJ(e){if(!yl(e))return!1;let{isBracketed:t,typeExpression:n}=e;return t||!!n&&319===n.type.kind}function kX(e,t){if(0===e.length)return!1;let n=e.charCodeAt(0);return 35===n?e.length>1&&mx(e.charCodeAt(1),t):mx(n,t)}function kY(e){var t;return(null==(t=Iq(e))?void 0:t.kind)===0}function k$(e){return EZ(e)&&(e.type&&319===e.type.kind||hg(e).some(({isBracketed:e,typeExpression:t})=>e||!!t&&319===t.type.kind))}function kQ(e){switch(e.kind){case 169:case 168:return!!e.questionToken;case 166:return!!e.questionToken||k$(e);case 351:case 344:return kJ(e);default:return!1}}function kZ(e){let t=e.kind;return(208===t||209===t)&&RV(e.expression)}function k0(e){return EZ(e)&&RT(e)&&g$(e)&&!!hj(e)}function k1(e){return T.checkDefined(k2(e))}function k2(e){let t=hj(e);return t&&t.typeExpression&&t.typeExpression.type}var k4=dj({"src/compiler/utilities.ts"(){var e,t,n,r,i,a,s;let l;Kr(),tW=[],tz="tslib",tq=160,tJ=1e6,s="",tX={getText:()=>s,write:l=e=>s+=e,rawWrite:l,writeKeyword:l,writeOperator:l,writePunctuation:l,writeSpace:l,writeStringLiteral:l,writeLiteral:l,writeParameter:l,writeProperty:l,writeSymbol:(e,t)=>l(e),writeTrailingSemicolon:l,writeComment:l,getTextPos:()=>s.length,getLine:()=>0,getColumn:()=>0,getIndent:()=>0,isAtStartOfLine:()=>!1,hasTrailingComment:()=>!1,hasTrailingWhitespace:()=>!!s.length&&mn(s.charCodeAt(s.length-1)),writeLine:()=>s+=" ",increaseIndent:_x,decreaseIndent:_x,clear:()=>s=""},(e=tY||{})[e.None=0]="None",e[e.NeverAsciiEscape=1]="NeverAsciiEscape",e[e.JsxAttributeEscape=2]="JsxAttributeEscape",e[e.TerminateUnterminatedLiterals=4]="TerminateUnterminatedLiterals",e[e.AllowNumericSeparator=8]="AllowNumericSeparator",tY=e,t$=/^(\/\/\/\s*/,tQ=/^(\/\/\/\s*/,tZ=/^(\/\/\/\s*/,t0=/^(\/\/\/\s*/,(t=t1||{})[t.None=0]="None",t[t.Definite=1]="Definite",t[t.Compound=2]="Compound",t1=t,(n=t2||{})[n.Normal=0]="Normal",n[n.Generator=1]="Generator",n[n.Async=2]="Async",n[n.Invalid=4]="Invalid",n[n.AsyncGenerator=3]="AsyncGenerator",t2=n,(r=t4||{})[r.Left=0]="Left",r[r.Right=1]="Right",t4=r,(i=t8||{})[i.Comma=0]="Comma",i[i.Spread=1]="Spread",i[i.Yield=2]="Yield",i[i.Assignment=3]="Assignment",i[i.Conditional=4]="Conditional",i[i.Coalesce=4]="Coalesce",i[i.LogicalOR=5]="LogicalOR",i[i.LogicalAND=6]="LogicalAND",i[i.BitwiseOR=7]="BitwiseOR",i[i.BitwiseXOR=8]="BitwiseXOR",i[i.BitwiseAND=9]="BitwiseAND",i[i.Equality=10]="Equality",i[i.Relational=11]="Relational",i[i.Shift=12]="Shift",i[i.Additive=13]="Additive",i[i.Multiplicative=14]="Multiplicative",i[i.Exponentiation=15]="Exponentiation",i[i.Unary=16]="Unary",i[i.Update=17]="Update",i[i.LeftHandSide=18]="LeftHandSide",i[i.Member=19]="Member",i[i.Primary=20]="Primary",i[i.Highest=20]="Highest",i[i.Lowest=0]="Lowest",i[i.Invalid=-1]="Invalid",t8=i,t6=/\$\{/g,t3=/[\\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,t5=/[\\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,t7=/\r\n|[\\\`\u0000-\u001f\t\v\f\b\r\u2028\u2029\u0085]/g,t9=new Map(Object.entries({" ":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","\x85":"\\u0085","\r\n":"\\r\\n"})),ne=/[^\u0000-\u007F]/g,nt=/[\"\u0000-\u001f\u2028\u2029\u0085]/g,nn=/[\'\u0000-\u001f\u2028\u2029\u0085]/g,nr=new Map(Object.entries({'"':""","'":"'"})),ni=[""," "],na="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",no="\r\n",ns="\n",nl={getNodeConstructor:()=>LU,getTokenConstructor:()=>LV,getIdentifierConstructor:()=>Lj,getPrivateIdentifierConstructor:()=>LU,getSourceFileConstructor:()=>LU,getSymbolConstructor:()=>LF,getTypeConstructor:()=>LG,getSignatureConstructor:()=>LB,getSourceMapSourceConstructor:()=>LH},nc=[],nu=/[^\w\s\/]/g,n_=[42,63],ng={files:nm={singleAsteriskRegexFragment:"([^./]|(\\.(?!min\\.js$))?)*",doubleAsteriskRegexFragment:`(/${nf=`(?!(${(np=["node_modules","bower_components","jspm_packages"]).join("|")})(/|$))`}[^/.][^/]*)*?`,replaceWildcardCharacter:e=>Cj(e,nm.singleAsteriskRegexFragment)},directories:nh={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:`(/${nf}[^/.][^/]*)*?`,replaceWildcardCharacter:e=>Cj(e,nh.singleAsteriskRegexFragment)},exclude:ny={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/.+?)?",replaceWildcardCharacter:e=>Cj(e,ny.singleAsteriskRegexFragment)}},nb=ua(nv=[[".ts",".tsx",".d.ts"],[".cts",".d.cts"],[".mts",".d.mts"]]),nE=[...nv,[".json"]],nT=[".d.ts",".d.cts",".d.mts",".cts",".mts",".ts",".tsx",".cts",".mts"],nS=ua(nx=[[".js",".jsx"],[".mjs"],[".cjs"]]),nL=[...nA=[[".ts",".tsx",".d.ts",".js",".jsx"],[".cts",".d.cts",".cjs"],[".mts",".d.mts",".mjs"]],[".json"]],nC=[".d.ts",".d.cts",".d.mts"],nk=[".ts",".cts",".mts",".tsx"],(a=nI||{})[a.Minimal=0]="Minimal",a[a.Index=1]="Index",a[a.JsExtension=2]="JsExtension",a[a.TsExtension=3]="TsExtension",nI=a,nw=[".d.ts",".d.mts",".d.cts",".mjs",".mts",".cjs",".cts",".ts",".js",".tsx",".jsx",".json"],nR={files:o,directories:o}}});function k8(){let e,t,n,r,i;return{createBaseSourceFileNode:function(e){return new(i||(i=nl.getSourceFileConstructor()))(e,-1,-1)},createBaseIdentifierNode:function(e){return new(n||(n=nl.getIdentifierConstructor()))(e,-1,-1)},createBasePrivateIdentifierNode:function(e){return new(r||(r=nl.getPrivateIdentifierConstructor()))(e,-1,-1)},createBaseTokenNode:function(e){return new(t||(t=nl.getTokenConstructor()))(e,-1,-1)},createBaseNode:function(t){return new(e||(e=nl.getNodeConstructor()))(t,-1,-1)}}}var k6=dj({"src/compiler/factory/baseNodeFactory.ts"(){Kr()}});function k3(e){let t,n;return{getParenthesizeLeftSideOfBinaryForOperator:function(e){t||(t=new Map);let n=t.get(e);return n||(n=t=>a(e,t),t.set(e,n)),n},getParenthesizeRightSideOfBinaryForOperator:function(e){n||(n=new Map);let t=n.get(e);return t||(t=t=>o(e,void 0,t),n.set(e,t)),t},parenthesizeLeftSideOfBinary:a,parenthesizeRightSideOfBinary:o,parenthesizeExpressionOfComputedPropertyName:function(t){return D2(t)?e.createParenthesizedExpression(t):t},parenthesizeConditionOfConditionalExpression:function(t){let n=x5(224,57);return 1!==_U(x6(yn(t)),n)?e.createParenthesizedExpression(t):t},parenthesizeBranchOfConditionalExpression:function(t){return D2(yn(t))?e.createParenthesizedExpression(t):t},parenthesizeExpressionOfExportDefault:function(t){let n=yn(t),r=D2(n);if(!r)switch(LP(n,!1).kind){case 228:case 215:r=!0}return r?e.createParenthesizedExpression(t):t},parenthesizeExpressionOfNew:function(t){let n=LP(t,!0);switch(n.kind){case 210:return e.createParenthesizedExpression(t);case 211:return n.arguments?t:e.createParenthesizedExpression(t)}return s(t)},parenthesizeLeftSideOfAccess:s,parenthesizeOperandOfPostfixUnary:function(t){return gs(t)?t:OV(e.createParenthesizedExpression(t),t)},parenthesizeOperandOfPrefixUnary:function(t){return gc(t)?t:OV(e.createParenthesizedExpression(t),t)},parenthesizeExpressionsOfCommaDelimitedList:function(t){let n=ui(t,l);return OV(e.createNodeArray(n,t.hasTrailingComma),t)},parenthesizeExpressionForDisallowedComma:l,parenthesizeExpressionOfExpressionStatement:function(t){let n=yn(t);if(Rg(n)){let r=n.expression,i=yn(r).kind;if(215===i||216===i){let i=e.updateCallExpression(n,OV(e.createParenthesizedExpression(r),r),n.typeArguments,n.arguments);return e.restoreOuterExpressions(t,i,8)}}let r=LP(n,!1).kind;return 207===r||215===r?OV(e.createParenthesizedExpression(t),t):t},parenthesizeConciseBodyOfArrowFunction:function(t){return!RJ(t)&&(D2(t)||207===LP(t,!1).kind)?OV(e.createParenthesizedExpression(t),t):t},parenthesizeCheckTypeOfConditionalType:c,parenthesizeExtendsTypeOfConditionalType:function(t){return 191===t.kind?e.createParenthesizedType(t):t},parenthesizeConstituentTypesOfUnionType:function(t){return e.createNodeArray(ui(t,d))},parenthesizeConstituentTypeOfUnionType:d,parenthesizeConstituentTypesOfIntersectionType:function(t){return e.createNodeArray(ui(t,u))},parenthesizeConstituentTypeOfIntersectionType:u,parenthesizeOperandOfTypeOperator:_,parenthesizeOperandOfReadonlyTypeOperator:function(t){return 195===t.kind?e.createParenthesizedType(t):_(t)},parenthesizeNonArrayTypeOfPostfixType:p,parenthesizeElementTypesOfTupleType:function(t){return e.createNodeArray(ui(t,f))},parenthesizeElementTypeOfTupleType:f,parenthesizeTypeOfOptionalType:function(t){return m(t)?e.createParenthesizedType(t):p(t)},parenthesizeTypeArguments:function(t){if(uv(t))return e.createNodeArray(ui(t,y))},parenthesizeLeadingTypeArgument:h};function r(e){if(yf((e=yn(e)).kind))return e.kind;if(223===e.kind&&39===e.operatorToken.kind){if(void 0!==e.cachedLiteralKind)return e.cachedLiteralKind;let t=r(e.left),n=yf(t)&&t===r(e.right)?t:0;return e.cachedLiteralKind=n,n}return 0}function i(t,n,i,a){return 214===yn(n).kind?n:!function(e,t,n,i){let a=x5(223,e),o=x8(223,e),s=yn(t);if(!n&&216===t.kind&&a>3)return!0;switch(_U(x6(s),a)){case -1:if(!n&&1===o&&226===t.kind)return!1;return!0;case 1:return!1;case 0:if(n)return 1===o;if(RR(s)&&s.operatorToken.kind===e){if(41===e||51===e||50===e||52===e||27===e)return!1;if(39===e){let e=i?r(i):0;if(yf(e)&&e===r(s))return!1}}return 0===x4(s)}}(t,n,i,a)?n:e.createParenthesizedExpression(n)}function a(e,t){return i(e,t,!0)}function o(e,t,n){return i(e,n,!1,t)}function s(t,n){let r=yn(t);return gs(r)&&(211!==r.kind||r.arguments)&&(n||!h3(r))?t:OV(e.createParenthesizedExpression(t),t)}function l(t){return x6(yn(t))>x5(223,27)?t:OV(e.createParenthesizedExpression(t),t)}function c(t){switch(t.kind){case 181:case 182:case 191:return e.createParenthesizedType(t)}return t}function d(t){switch(t.kind){case 189:case 190:return e.createParenthesizedType(t)}return c(t)}function u(t){switch(t.kind){case 189:case 190:return e.createParenthesizedType(t)}return d(t)}function _(t){return 190===t.kind?e.createParenthesizedType(t):u(t)}function p(t){switch(t.kind){case 192:case 195:case 183:return e.createParenthesizedType(t)}return _(t)}function f(t){return m(t)?e.createParenthesizedType(t):t}function m(e){return Dt(e)?e.postfix:w6(e)||wZ(e)||w0(e)||Ri(e)?m(e.type):Re(e)?m(e.falseType):w7(e)||w9(e)?m(uX(e.types)):!!Rt(e)&&!!e.typeParameter.constraint&&m(e.typeParameter.constraint)}function h(t){return y1(t)&&t.typeParameters?e.createParenthesizedType(t):t}function y(e,t){return 0===t?h(e):e}}var k5=dj({"src/compiler/factory/parenthesizerRules.ts"(){Kr(),nN={getParenthesizeLeftSideOfBinaryForOperator:e=>_C,getParenthesizeRightSideOfBinaryForOperator:e=>_C,parenthesizeLeftSideOfBinary:(e,t)=>t,parenthesizeRightSideOfBinary:(e,t,n)=>n,parenthesizeExpressionOfComputedPropertyName:_C,parenthesizeConditionOfConditionalExpression:_C,parenthesizeBranchOfConditionalExpression:_C,parenthesizeExpressionOfExportDefault:_C,parenthesizeExpressionOfNew:e=>_T(e,gs),parenthesizeLeftSideOfAccess:e=>_T(e,gs),parenthesizeOperandOfPostfixUnary:e=>_T(e,gs),parenthesizeOperandOfPrefixUnary:e=>_T(e,gc),parenthesizeExpressionsOfCommaDelimitedList:e=>_T(e,yp),parenthesizeExpressionForDisallowedComma:_C,parenthesizeExpressionOfExpressionStatement:_C,parenthesizeConciseBodyOfArrowFunction:_C,parenthesizeCheckTypeOfConditionalType:_C,parenthesizeExtendsTypeOfConditionalType:_C,parenthesizeConstituentTypesOfUnionType:e=>_T(e,yp),parenthesizeConstituentTypeOfUnionType:_C,parenthesizeConstituentTypesOfIntersectionType:e=>_T(e,yp),parenthesizeConstituentTypeOfIntersectionType:_C,parenthesizeOperandOfTypeOperator:_C,parenthesizeOperandOfReadonlyTypeOperator:_C,parenthesizeNonArrayTypeOfPostfixType:_C,parenthesizeElementTypesOfTupleType:e=>_T(e,yp),parenthesizeElementTypeOfTupleType:_C,parenthesizeTypeOfOptionalType:_C,parenthesizeTypeArguments:e=>e&&_T(e,yp),parenthesizeLeadingTypeArgument:_C}}});function k7(e){return{convertToFunctionBlock:function(t,n){if(RJ(t))return t;let r=e.createReturnStatement(t);OV(r,t);let i=e.createBlock([r],n);return OV(i,t),i},convertToFunctionExpression:function(t){if(!t.body)return T.fail("Cannot convert a FunctionDeclaration without a body");let n=e.createFunctionExpression(hh(t),t.asteriskToken,t.name,t.typeParameters,t.parameters,t.type,t.body);return Ih(n,t),OV(n,t),II(t)&&Iw(n,!0),n},convertToArrayAssignmentElement:t,convertToObjectAssignmentElement:n,convertToAssignmentPattern:r,convertToObjectAssignmentPattern:i,convertToArrayAssignmentPattern:a,convertToAssignmentElementTarget:o};function t(t){if(Rp(t)){if(t.dotDotDotToken)return T.assertNode(t.name,wb),Ih(OV(e.createSpreadElement(t.name),t),t);let n=o(t.name);return t.initializer?Ih(OV(e.createAssignment(n,t.initializer),t),t):n}return _T(t,gp)}function n(t){if(Rp(t)){if(t.dotDotDotToken)return T.assertNode(t.name,wb),Ih(OV(e.createSpreadAssignment(t.name),t),t);if(t.propertyName){let n=o(t.name);return Ih(OV(e.createPropertyAssignment(t.propertyName,t.initializer?e.createAssignment(n,t.initializer):n),t),t)}return T.assertNode(t.name,wb),Ih(OV(e.createShorthandPropertyAssignment(t.name,t.initializer),t),t)}return _T(t,yZ)}function r(e){switch(e.kind){case 204:case 206:return a(e);case 203:case 207:return i(e)}}function i(t){return Ru(t)?Ih(OV(e.createObjectLiteralExpression(un(t.elements,n)),t),t):_T(t,Rm)}function a(n){return R_(n)?Ih(OV(e.createArrayLiteralExpression(un(n.elements,t)),n),n):_T(n,Rf)}function o(e){return y2(e)?r(e):_T(e,gp)}}var k9=dj({"src/compiler/factory/nodeConverters.ts"(){Kr(),nD={convertToFunctionBlock:_w,convertToFunctionExpression:_w,convertToArrayAssignmentElement:_w,convertToObjectAssignmentElement:_w,convertToAssignmentPattern:_w,convertToObjectAssignmentPattern:_w,convertToArrayAssignmentPattern:_w,convertToAssignmentElementTarget:_w}}});function Ie(e){nP.push(e)}function It(e,t){let n=8&e?In:Ir,r=_R(()=>1&e?nN:k3(g)),i=_R(()=>2&e?nD:k7(g)),a=_N(e=>(t,n)=>tl(t,e,n)),s=_N(e=>t=>to(e,t)),l=_N(e=>t=>ts(t,e)),c=_N(e=>()=>b(e)),d=_N(e=>t=>nS(e,t)),u=_N(e=>(t,r)=>t.type!==r?n(nS(e,r),t):t),_=_N(e=>(t,n)=>nx(e,t,n)),p=_N(e=>(t,r)=>t.type!==r?n(nx(e,r,t.postfix),t):t),f=_N(e=>(t,n)=>nQ(e,t,n)),m=_N(e=>(t,r,i)=>(function(e,t,r=nI(t),i){return t.tagName!==r||t.comment!==i?n(nQ(e,r,i),t):t})(e,t,r,i)),h=_N(e=>(t,n,r)=>nZ(e,t,n,r)),y=_N(e=>(t,r,i,a)=>(function(e,t,r=nI(t),i,a){return t.tagName!==r||t.typeExpression!==i||t.comment!==a?n(nZ(e,r,i,a),t):t})(e,t,r,i,a)),g={get parenthesizer(){return r()},get converters(){return i()},baseFactory:t,flags:e,createNodeArray:v,createNumericLiteral:S,createBigIntLiteral:A,createStringLiteral:C,createStringLiteralFromNode:function(e){let t=L(xU(e),void 0);return t.textSourceNode=e,t},createRegularExpressionLiteral:k,createLiteralLikeNode:function(e,t){switch(e){case 8:return S(t,0);case 9:return A(t);case 10:return C(t,void 0);case 11:return n9(t,!1);case 12:return n9(t,!0);case 13:return k(t);case 14:return tm(e,t,void 0,0)}},createIdentifier:R,createTempVariable:N,createLoopVariable:function(e){let t=2;return e&&(t|=8),w("",t,void 0,void 0)},createUniqueName:function(e,t=0,n,r){return T.assert(!(7&t),"Argument out of range: flags"),T.assert((48&t)!=32,"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic"),w(e,3|t,n,r)},getGeneratedNameForNode:D,createPrivateIdentifier:function(e){return pn(e,"#")||T.fail("First character of private identifier must be #: "+e),O(hn(e))},createUniquePrivateName:function(e,t,n){e&&!pn(e,"#")&&T.fail("First character of private identifier must be #: "+e);let r=8|(e?3:1);return M(null!=e?e:"",r,t,n)},getGeneratedPrivateNameForNode:function(e,t,n){let r=M(h1(e)?OD(!0,t,e,n,hi):`#generated@${Gv(e)}`,4|(t||n?16:0),t,n);return r.original=e,r},createToken:F,createSuper:function(){return F(106)},createThis:G,createNull:function(){return F(104)},createTrue:B,createFalse:U,createModifier:function(e){return F(e)},createModifiersFromModifierFlags:V,createQualifiedName:j,updateQualifiedName:function(e,t,r){return e.left!==t||e.right!==r?n(j(t,r),e):e},createComputedPropertyName:H,updateComputedPropertyName:function(e,t){return e.expression!==t?n(H(t),e):e},createTypeParameterDeclaration:K,updateTypeParameterDeclaration:W,createParameterDeclaration:z,updateParameterDeclaration:q,createDecorator:J,updateDecorator:function(e,t){return e.expression!==t?n(J(t),e):e},createPropertySignature:X,updatePropertySignature:Y,createPropertyDeclaration:$,updatePropertyDeclaration:Q,createMethodSignature:Z,updateMethodSignature:ee,createMethodDeclaration:et,updateMethodDeclaration:en,createConstructorDeclaration:ei,updateConstructorDeclaration:ea,createGetAccessorDeclaration:eo,updateGetAccessorDeclaration:es,createSetAccessorDeclaration:el,updateSetAccessorDeclaration:ec,createCallSignature:ed,updateCallSignature:function(e,t,n,r){return e.typeParameters!==t||e.parameters!==n||e.type!==r?x(ed(t,n,r),e):e},createConstructSignature:eu,updateConstructSignature:function(e,t,n,r){return e.typeParameters!==t||e.parameters!==n||e.type!==r?x(eu(t,n,r),e):e},createIndexSignature:e_,updateIndexSignature:ep,createClassStaticBlockDeclaration:er,updateClassStaticBlockDeclaration:function(e,t){var r;return e.body!==t?((r=er(t))!==e&&(r.modifiers=e.modifiers),n(r,e)):e},createTemplateLiteralTypeSpan:ef,updateTemplateLiteralTypeSpan:function(e,t,r){return e.type!==t||e.literal!==r?n(ef(t,r),e):e},createKeywordTypeNode:function(e){return F(e)},createTypePredicateNode:em,updateTypePredicateNode:function(e,t,r,i){return e.assertsModifier!==t||e.parameterName!==r||e.type!==i?n(em(t,r,i),e):e},createTypeReferenceNode:eh,updateTypeReferenceNode:function(e,t,r){return e.typeName!==t||e.typeArguments!==r?n(eh(t,r),e):e},createFunctionTypeNode:ey,updateFunctionTypeNode:function(e,t,n,r){var i;return e.typeParameters!==t||e.parameters!==n||e.type!==r?((i=ey(t,n,r))!==e&&(i.modifiers=e.modifiers),x(i,e)):e},createConstructorTypeNode:eg,updateConstructorTypeNode:function(...e){return 5===e.length?eb(...e):4===e.length?function(e,t,n,r){return eb(e,e.modifiers,t,n,r)}(...e):T.fail("Incorrect number of arguments specified.")},createTypeQueryNode:eE,updateTypeQueryNode:function(e,t,r){return e.exprName!==t||e.typeArguments!==r?n(eE(t,r),e):e},createTypeLiteralNode:eT,updateTypeLiteralNode:function(e,t){return e.members!==t?n(eT(t),e):e},createArrayTypeNode:ex,updateArrayTypeNode:function(e,t){return e.elementType!==t?n(ex(t),e):e},createTupleTypeNode:eS,updateTupleTypeNode:function(e,t){return e.elements!==t?n(eS(t),e):e},createNamedTupleMember:eA,updateNamedTupleMember:function(e,t,r,i,a){return e.dotDotDotToken!==t||e.name!==r||e.questionToken!==i||e.type!==a?n(eA(t,r,i,a),e):e},createOptionalTypeNode:eL,updateOptionalTypeNode:function(e,t){return e.type!==t?n(eL(t),e):e},createRestTypeNode:eC,updateRestTypeNode:function(e,t){return e.type!==t?n(eC(t),e):e},createUnionTypeNode:function(e){return ek(189,e,r().parenthesizeConstituentTypesOfUnionType)},updateUnionTypeNode:function(e,t){return eI(e,t,r().parenthesizeConstituentTypesOfUnionType)},createIntersectionTypeNode:function(e){return ek(190,e,r().parenthesizeConstituentTypesOfIntersectionType)},updateIntersectionTypeNode:function(e,t){return eI(e,t,r().parenthesizeConstituentTypesOfIntersectionType)},createConditionalTypeNode:ew,updateConditionalTypeNode:function(e,t,r,i,a){return e.checkType!==t||e.extendsType!==r||e.trueType!==i||e.falseType!==a?n(ew(t,r,i,a),e):e},createInferTypeNode:eR,updateInferTypeNode:function(e,t){return e.typeParameter!==t?n(eR(t),e):e},createImportTypeNode:eD,updateImportTypeNode:function(e,t,r,i,a,o=e.isTypeOf){return e.argument!==t||e.assertions!==r||e.qualifier!==i||e.typeArguments!==a||e.isTypeOf!==o?n(eD(t,r,i,a,o),e):e},createParenthesizedType:eO,updateParenthesizedType:function(e,t){return e.type!==t?n(eO(t),e):e},createThisTypeNode:function(){let e=b(194);return e.transformFlags=1,e},createTypeOperatorNode:eM,updateTypeOperatorNode:function(e,t){return e.type!==t?n(eM(e.operator,t),e):e},createIndexedAccessTypeNode:eP,updateIndexedAccessTypeNode:function(e,t,r){return e.objectType!==t||e.indexType!==r?n(eP(t,r),e):e},createMappedTypeNode:eF,updateMappedTypeNode:function(e,t,r,i,a,o,s){return e.readonlyToken!==t||e.typeParameter!==r||e.nameType!==i||e.questionToken!==a||e.type!==o||e.members!==s?n(eF(t,r,i,a,o,s),e):e},createLiteralTypeNode:eG,updateLiteralTypeNode:function(e,t){return e.literal!==t?n(eG(t),e):e},createTemplateLiteralType:eN,updateTemplateLiteralType:function(e,t,r){return e.head!==t||e.templateSpans!==r?n(eN(t,r),e):e},createObjectBindingPattern:eB,updateObjectBindingPattern:function(e,t){return e.elements!==t?n(eB(t),e):e},createArrayBindingPattern:eU,updateArrayBindingPattern:function(e,t){return e.elements!==t?n(eU(t),e):e},createBindingElement:eV,updateBindingElement:function(e,t,r,i,a){return e.propertyName!==r||e.dotDotDotToken!==t||e.name!==i||e.initializer!==a?n(eV(t,r,i,a),e):e},createArrayLiteralExpression:ej,updateArrayLiteralExpression:function(e,t){return e.elements!==t?n(ej(t,e.multiLine),e):e},createObjectLiteralExpression:eH,updateObjectLiteralExpression:function(e,t){return e.properties!==t?n(eH(t,e.multiLine),e):e},createPropertyAccessExpression:4&e?(e,t)=>IE(eW(e,t),262144):eW,updatePropertyAccessExpression:function(e,t,r){return h4(e)?eq(e,t,e.questionDotToken,_T(r,wb)):e.expression!==t||e.name!==r?n(eW(t,r),e):e},createPropertyAccessChain:4&e?(e,t,n)=>IE(ez(e,t,n),262144):ez,updatePropertyAccessChain:eq,createElementAccessExpression:eX,updateElementAccessExpression:function(e,t,r){return h8(e)?e$(e,t,e.questionDotToken,r):e.expression!==t||e.argumentExpression!==r?n(eX(t,r),e):e},createElementAccessChain:eY,updateElementAccessChain:e$,createCallExpression:eZ,updateCallExpression:function(e,t,r,i){return h6(e)?e1(e,t,e.questionDotToken,r,i):e.expression!==t||e.typeArguments!==r||e.arguments!==i?n(eZ(t,r,i),e):e},createCallChain:e0,updateCallChain:e1,createNewExpression:e2,updateNewExpression:function(e,t,r,i){return e.expression!==t||e.typeArguments!==r||e.arguments!==i?n(e2(t,r,i),e):e},createTaggedTemplateExpression:e4,updateTaggedTemplateExpression:function(e,t,r,i){return e.tag!==t||e.typeArguments!==r||e.template!==i?n(e4(t,r,i),e):e},createTypeAssertion:e8,updateTypeAssertion:e6,createParenthesizedExpression:e3,updateParenthesizedExpression:e5,createFunctionExpression:e7,updateFunctionExpression:e9,createArrowFunction:te,updateArrowFunction:tt,createDeleteExpression:tn,updateDeleteExpression:function(e,t){return e.expression!==t?n(tn(t),e):e},createTypeOfExpression:tr,updateTypeOfExpression:function(e,t){return e.expression!==t?n(tr(t),e):e},createVoidExpression:ti,updateVoidExpression:function(e,t){return e.expression!==t?n(ti(t),e):e},createAwaitExpression:ta,updateAwaitExpression:function(e,t){return e.expression!==t?n(ta(t),e):e},createPrefixUnaryExpression:to,updatePrefixUnaryExpression:function(e,t){return e.operand!==t?n(to(e.operator,t),e):e},createPostfixUnaryExpression:ts,updatePostfixUnaryExpression:function(e,t){return e.operand!==t?n(ts(t,e.operator),e):e},createBinaryExpression:tl,updateBinaryExpression:function(e,t,r,i){return e.left!==t||e.operatorToken!==r||e.right!==i?n(tl(t,r,i),e):e},createConditionalExpression:td,updateConditionalExpression:function(e,t,r,i,a,o){return e.condition!==t||e.questionToken!==r||e.whenTrue!==i||e.colonToken!==a||e.whenFalse!==o?n(td(t,r,i,a,o),e):e},createTemplateExpression:tu,updateTemplateExpression:function(e,t,r){return e.head!==t||e.templateSpans!==r?n(tu(t,r),e):e},createTemplateHead:function(e,t,n){return tm(15,e=t_(15,e,t,n),t,n)},createTemplateMiddle:function(e,t,n){return tm(16,e=t_(15,e,t,n),t,n)},createTemplateTail:function(e,t,n){return tm(17,e=t_(15,e,t,n),t,n)},createNoSubstitutionTemplateLiteral:function(e,t,n){return tf(14,e=t_(15,e,t,n),t,n)},createTemplateLiteralLikeNode:tm,createYieldExpression:th,updateYieldExpression:function(e,t,r){return e.expression!==r||e.asteriskToken!==t?n(th(t,r),e):e},createSpreadElement:ty,updateSpreadElement:function(e,t){return e.expression!==t?n(ty(t),e):e},createClassExpression:tg,updateClassExpression:tv,createOmittedExpression:function(){return b(229)},createExpressionWithTypeArguments:tb,updateExpressionWithTypeArguments:function(e,t,r){return e.expression!==t||e.typeArguments!==r?n(tb(t,r),e):e},createAsExpression:tE,updateAsExpression:tT,createNonNullExpression:tx,updateNonNullExpression:tS,createSatisfiesExpression:tA,updateSatisfiesExpression:tL,createNonNullChain:tC,updateNonNullChain:tk,createMetaProperty:tI,updateMetaProperty:function(e,t){return e.name!==t?n(tI(e.keywordToken,t),e):e},createTemplateSpan:tw,updateTemplateSpan:function(e,t,r){return e.expression!==t||e.literal!==r?n(tw(t,r),e):e},createSemicolonClassElement:function(){let e=b(237);return e.transformFlags|=1024,e},createBlock:tR,updateBlock:function(e,t){return e.statements!==t?n(tR(t,e.multiLine),e):e},createVariableStatement:tN,updateVariableStatement:tD,createEmptyStatement:tO,createExpressionStatement:tM,updateExpressionStatement:function(e,t){return e.expression!==t?n(tM(t),e):e},createIfStatement:tP,updateIfStatement:function(e,t,r,i){return e.expression!==t||e.thenStatement!==r||e.elseStatement!==i?n(tP(t,r,i),e):e},createDoStatement:tF,updateDoStatement:function(e,t,r){return e.statement!==t||e.expression!==r?n(tF(t,r),e):e},createWhileStatement:tG,updateWhileStatement:function(e,t,r){return e.expression!==t||e.statement!==r?n(tG(t,r),e):e},createForStatement:tB,updateForStatement:function(e,t,r,i,a){return e.initializer!==t||e.condition!==r||e.incrementor!==i||e.statement!==a?n(tB(t,r,i,a),e):e},createForInStatement:tU,updateForInStatement:function(e,t,r,i){return e.initializer!==t||e.expression!==r||e.statement!==i?n(tU(t,r,i),e):e},createForOfStatement:tV,updateForOfStatement:function(e,t,r,i,a){return e.awaitModifier!==t||e.initializer!==r||e.expression!==i||e.statement!==a?n(tV(t,r,i,a),e):e},createContinueStatement:tj,updateContinueStatement:function(e,t){return e.label!==t?n(tj(t),e):e},createBreakStatement:tH,updateBreakStatement:function(e,t){return e.label!==t?n(tH(t),e):e},createReturnStatement:tK,updateReturnStatement:function(e,t){return e.expression!==t?n(tK(t),e):e},createWithStatement:tW,updateWithStatement:function(e,t,r){return e.expression!==t||e.statement!==r?n(tW(t,r),e):e},createSwitchStatement:tz,updateSwitchStatement:function(e,t,r){return e.expression!==t||e.caseBlock!==r?n(tz(t,r),e):e},createLabeledStatement:tq,updateLabeledStatement:tJ,createThrowStatement:tX,updateThrowStatement:function(e,t){return e.expression!==t?n(tX(t),e):e},createTryStatement:tY,updateTryStatement:function(e,t,r,i){return e.tryBlock!==t||e.catchClause!==r||e.finallyBlock!==i?n(tY(t,r,i),e):e},createDebuggerStatement:function(){let e=b(256);return e.jsDoc=void 0,e.flowNode=void 0,e},createVariableDeclaration:t$,updateVariableDeclaration:function(e,t,r,i,a){return e.name!==t||e.type!==i||e.exclamationToken!==r||e.initializer!==a?n(t$(t,r,i,a),e):e},createVariableDeclarationList:tQ,updateVariableDeclarationList:function(e,t){return e.declarations!==t?n(tQ(t,e.flags),e):e},createFunctionDeclaration:tZ,updateFunctionDeclaration:t0,createClassDeclaration:t1,updateClassDeclaration:t2,createInterfaceDeclaration:t4,updateInterfaceDeclaration:t8,createTypeAliasDeclaration:t6,updateTypeAliasDeclaration:t3,createEnumDeclaration:t5,updateEnumDeclaration:t7,createModuleDeclaration:t9,updateModuleDeclaration:ne,createModuleBlock:nt,updateModuleBlock:function(e,t){return e.statements!==t?n(nt(t),e):e},createCaseBlock:nn,updateCaseBlock:function(e,t){return e.clauses!==t?n(nn(t),e):e},createNamespaceExportDeclaration:nr,updateNamespaceExportDeclaration:function(e,t){var r;return e.name!==t?((r=nr(t))!==e&&(r.modifiers=e.modifiers),n(r,e)):e},createImportEqualsDeclaration:ni,updateImportEqualsDeclaration:na,createImportDeclaration:no,updateImportDeclaration:ns,createImportClause:nl,updateImportClause:function(e,t,r,i){return e.isTypeOnly!==t||e.name!==r||e.namedBindings!==i?n(nl(t,r,i),e):e},createAssertClause:nc,updateAssertClause:function(e,t,r){return e.elements!==t||e.multiLine!==r?n(nc(t,r),e):e},createAssertEntry:nd,updateAssertEntry:function(e,t,r){return e.name!==t||e.value!==r?n(nd(t,r),e):e},createImportTypeAssertionContainer:nu,updateImportTypeAssertionContainer:function(e,t,r){return e.assertClause!==t||e.multiLine!==r?n(nu(t,r),e):e},createNamespaceImport:n_,updateNamespaceImport:function(e,t){return e.name!==t?n(n_(t),e):e},createNamespaceExport:np,updateNamespaceExport:function(e,t){return e.name!==t?n(np(t),e):e},createNamedImports:nf,updateNamedImports:function(e,t){return e.elements!==t?n(nf(t),e):e},createImportSpecifier:nm,updateImportSpecifier:function(e,t,r,i){return e.isTypeOnly!==t||e.propertyName!==r||e.name!==i?n(nm(t,r,i),e):e},createExportAssignment:nh,updateExportAssignment:ny,createExportDeclaration:ng,updateExportDeclaration:nv,createNamedExports:nb,updateNamedExports:function(e,t){return e.elements!==t?n(nb(t),e):e},createExportSpecifier:nE,updateExportSpecifier:function(e,t,r,i){return e.isTypeOnly!==t||e.propertyName!==r||e.name!==i?n(nE(t,r,i),e):e},createMissingDeclaration:function(){let e=E(279);return e.jsDoc=void 0,e},createExternalModuleReference:nT,updateExternalModuleReference:function(e,t){return e.expression!==t?n(nT(t),e):e},get createJSDocAllType(){return c(315)},get createJSDocUnknownType(){return c(316)},get createJSDocNonNullableType(){return _(318)},get updateJSDocNonNullableType(){return p(318)},get createJSDocNullableType(){return _(317)},get updateJSDocNullableType(){return p(317)},get createJSDocOptionalType(){return d(319)},get updateJSDocOptionalType(){return u(319)},get createJSDocVariadicType(){return d(321)},get updateJSDocVariadicType(){return u(321)},get createJSDocNamepathType(){return d(322)},get updateJSDocNamepathType(){return u(322)},createJSDocFunctionType:nA,updateJSDocFunctionType:function(e,t,r){return e.parameters!==t||e.type!==r?n(nA(t,r),e):e},createJSDocTypeLiteral:nL,updateJSDocTypeLiteral:function(e,t,r){return e.jsDocPropertyTags!==t||e.isArrayType!==r?n(nL(t,r),e):e},createJSDocTypeExpression:nC,updateJSDocTypeExpression:function(e,t){return e.type!==t?n(nC(t),e):e},createJSDocSignature:nk,updateJSDocSignature:function(e,t,r,i){return e.typeParameters!==t||e.parameters!==r||e.type!==i?n(nk(t,r,i),e):e},createJSDocTemplateTag:nM,updateJSDocTemplateTag:function(e,t=nI(e),r,i,a){return e.tagName!==t||e.constraint!==r||e.typeParameters!==i||e.comment!==a?n(nM(t,r,i,a),e):e},createJSDocTypedefTag:nB,updateJSDocTypedefTag:function(e,t=nI(e),r,i,a){return e.tagName!==t||e.typeExpression!==r||e.fullName!==i||e.comment!==a?n(nB(t,r,i,a),e):e},createJSDocParameterTag:nU,updateJSDocParameterTag:function(e,t=nI(e),r,i,a,o,s){return e.tagName!==t||e.name!==r||e.isBracketed!==i||e.typeExpression!==a||e.isNameFirst!==o||e.comment!==s?n(nU(t,r,i,a,o,s),e):e},createJSDocPropertyTag:nV,updateJSDocPropertyTag:function(e,t=nI(e),r,i,a,o,s){return e.tagName!==t||e.name!==r||e.isBracketed!==i||e.typeExpression!==a||e.isNameFirst!==o||e.comment!==s?n(nV(t,r,i,a,o,s),e):e},createJSDocCallbackTag:nj,updateJSDocCallbackTag:function(e,t=nI(e),r,i,a){return e.tagName!==t||e.typeExpression!==r||e.fullName!==i||e.comment!==a?n(nj(t,r,i,a),e):e},createJSDocOverloadTag:nH,updateJSDocOverloadTag:function(e,t=nI(e),r,i){return e.tagName!==t||e.typeExpression!==r||e.comment!==i?n(nH(t,r,i),e):e},createJSDocAugmentsTag:nK,updateJSDocAugmentsTag:function(e,t=nI(e),r,i){return e.tagName!==t||e.class!==r||e.comment!==i?n(nK(t,r,i),e):e},createJSDocImplementsTag:nW,updateJSDocImplementsTag:function(e,t=nI(e),r,i){return e.tagName!==t||e.class!==r||e.comment!==i?n(nW(t,r,i),e):e},createJSDocSeeTag:nz,updateJSDocSeeTag:function(e,t,r,i){return e.tagName!==t||e.name!==r||e.comment!==i?n(nz(t,r,i),e):e},createJSDocNameReference:nq,updateJSDocNameReference:function(e,t){return e.name!==t?n(nq(t),e):e},createJSDocMemberName:nJ,updateJSDocMemberName:function(e,t,r){return e.left!==t||e.right!==r?n(nJ(t,r),e):e},createJSDocLink:nX,updateJSDocLink:function(e,t,r){return e.name!==t?n(nX(t,r),e):e},createJSDocLinkCode:nY,updateJSDocLinkCode:function(e,t,r){return e.name!==t?n(nY(t,r),e):e},createJSDocLinkPlain:n$,updateJSDocLinkPlain:function(e,t,r){return e.name!==t?n(n$(t,r),e):e},get createJSDocTypeTag(){return h(347)},get updateJSDocTypeTag(){return y(347)},get createJSDocReturnTag(){return h(345)},get updateJSDocReturnTag(){return y(345)},get createJSDocThisTag(){return h(346)},get updateJSDocThisTag(){return y(346)},get createJSDocAuthorTag(){return f(333)},get updateJSDocAuthorTag(){return m(333)},get createJSDocClassTag(){return f(335)},get updateJSDocClassTag(){return m(335)},get createJSDocPublicTag(){return f(336)},get updateJSDocPublicTag(){return m(336)},get createJSDocPrivateTag(){return f(337)},get updateJSDocPrivateTag(){return m(337)},get createJSDocProtectedTag(){return f(338)},get updateJSDocProtectedTag(){return m(338)},get createJSDocReadonlyTag(){return f(339)},get updateJSDocReadonlyTag(){return m(339)},get createJSDocOverrideTag(){return f(340)},get updateJSDocOverrideTag(){return m(340)},get createJSDocDeprecatedTag(){return f(334)},get updateJSDocDeprecatedTag(){return m(334)},get createJSDocThrowsTag(){return h(352)},get updateJSDocThrowsTag(){return y(352)},get createJSDocSatisfiesTag(){return h(353)},get updateJSDocSatisfiesTag(){return y(353)},createJSDocEnumTag:n1,updateJSDocEnumTag:function(e,t=nI(e),r,i){return e.tagName!==t||e.typeExpression!==r||e.comment!==i?n(n1(t,r,i),e):e},createJSDocUnknownTag:n0,updateJSDocUnknownTag:function(e,t,r){return e.tagName!==t||e.comment!==r?n(n0(t,r),e):e},createJSDocText:n2,updateJSDocText:function(e,t){return e.text!==t?n(n2(t),e):e},createJSDocComment:n4,updateJSDocComment:function(e,t,r){return e.comment!==t||e.tags!==r?n(n4(t,r),e):e},createJsxElement:n8,updateJsxElement:function(e,t,r,i){return e.openingElement!==t||e.children!==r||e.closingElement!==i?n(n8(t,r,i),e):e},createJsxSelfClosingElement:n6,updateJsxSelfClosingElement:function(e,t,r,i){return e.tagName!==t||e.typeArguments!==r||e.attributes!==i?n(n6(t,r,i),e):e},createJsxOpeningElement:n3,updateJsxOpeningElement:function(e,t,r,i){return e.tagName!==t||e.typeArguments!==r||e.attributes!==i?n(n3(t,r,i),e):e},createJsxClosingElement:n5,updateJsxClosingElement:function(e,t){return e.tagName!==t?n(n5(t),e):e},createJsxFragment:n7,createJsxText:n9,updateJsxText:function(e,t,r){return e.text!==t||e.containsOnlyTriviaWhiteSpaces!==r?n(n9(t,r),e):e},createJsxOpeningFragment:function(){let e=b(286);return e.transformFlags|=2,e},createJsxJsxClosingFragment:function(){let e=b(287);return e.transformFlags|=2,e},updateJsxFragment:function(e,t,r,i){return e.openingFragment!==t||e.children!==r||e.closingFragment!==i?n(n7(t,r,i),e):e},createJsxAttribute:re,updateJsxAttribute:function(e,t,r){return e.name!==t||e.initializer!==r?n(re(t,r),e):e},createJsxAttributes:rt,updateJsxAttributes:function(e,t){return e.properties!==t?n(rt(t),e):e},createJsxSpreadAttribute:rn,updateJsxSpreadAttribute:function(e,t){return e.expression!==t?n(rn(t),e):e},createJsxExpression:rr,updateJsxExpression:function(e,t){return e.expression!==t?n(rr(e.dotDotDotToken,t),e):e},createCaseClause:ri,updateCaseClause:function(e,t,r){return e.expression!==t||e.statements!==r?n(ri(t,r),e):e},createDefaultClause:ra,updateDefaultClause:function(e,t){return e.statements!==t?n(ra(t),e):e},createHeritageClause:ro,updateHeritageClause:function(e,t){return e.types!==t?n(ro(e.token,t),e):e},createCatchClause:rs,updateCatchClause:function(e,t,r){return e.variableDeclaration!==t||e.block!==r?n(rs(t,r),e):e},createPropertyAssignment:rl,updatePropertyAssignment:function(e,t,r){var i;return e.name!==t||e.initializer!==r?((i=rl(t,r))!==e&&(i.modifiers=e.modifiers,i.questionToken=e.questionToken,i.exclamationToken=e.exclamationToken),n(i,e)):e},createShorthandPropertyAssignment:rc,updateShorthandPropertyAssignment:function(e,t,r){var i;return e.name!==t||e.objectAssignmentInitializer!==r?((i=rc(t,r))!==e&&(i.modifiers=e.modifiers,i.questionToken=e.questionToken,i.exclamationToken=e.exclamationToken,i.equalsToken=e.equalsToken),n(i,e)):e},createSpreadAssignment:rd,updateSpreadAssignment:function(e,t){return e.expression!==t?n(rd(t),e):e},createEnumMember:ru,updateEnumMember:function(e,t,r){return e.name!==t||e.initializer!==r?n(ru(t,r),e):e},createSourceFile:function(e,n,r){let i=t.createBaseSourceFileNode(308);return i.statements=v(e),i.endOfFileToken=n,i.flags|=r,i.text="",i.fileName="",i.path="",i.resolvedPath="",i.originalFileName="",i.languageVersion=0,i.languageVariant=0,i.scriptKind=0,i.isDeclarationFile=!1,i.hasNoDefaultLib=!1,i.transformFlags|=Is(i.statements)|Io(i.endOfFileToken),i.locals=void 0,i.nextContainer=void 0,i.endFlowNode=void 0,i.nodeCount=0,i.identifierCount=0,i.symbolCount=0,i.parseDiagnostics=void 0,i.bindDiagnostics=void 0,i.bindSuggestionDiagnostics=void 0,i.lineMap=void 0,i.externalModuleIndicator=void 0,i.setExternalModuleIndicator=void 0,i.pragmas=void 0,i.checkJsDirective=void 0,i.referencedFiles=void 0,i.typeReferenceDirectives=void 0,i.libReferenceDirectives=void 0,i.amdDependencies=void 0,i.commentDirectives=void 0,i.identifiers=void 0,i.packageJsonLocations=void 0,i.packageJsonScope=void 0,i.imports=void 0,i.moduleAugmentations=void 0,i.ambientModuleNames=void 0,i.resolvedModules=void 0,i.classifiableNames=void 0,i.impliedNodeFormat=void 0,i},updateSourceFile:function(e,t,r=e.isDeclarationFile,i=e.referencedFiles,a=e.typeReferenceDirectives,o=e.hasNoDefaultLib,s=e.libReferenceDirectives){let l;return e.statements!==t||e.isDeclarationFile!==r||e.referencedFiles!==i||e.typeReferenceDirectives!==a||e.hasNoDefaultLib!==o||e.libReferenceDirectives!==s?n(((l=rp(e)).statements=v(t),l.isDeclarationFile=r,l.referencedFiles=i,l.typeReferenceDirectives=a,l.hasNoDefaultLib=o,l.libReferenceDirectives=s,l.transformFlags=Is(l.statements)|Io(l.endOfFileToken),l),e):e},createRedirectedSourceFile:r_,createBundle:rf,updateBundle:function(e,t,r=o){return e.sourceFiles!==t||e.prepends!==r?n(rf(t,r),e):e},createUnparsedSource:function(e,t,n){let r=b(310);return r.prologues=e,r.syntheticReferences=t,r.texts=n,r.fileName="",r.text="",r.referencedFiles=o,r.libReferenceDirectives=o,r.getLineAndCharacterOfPosition=e=>mt(r,e),r},createUnparsedPrologue:function(e){return rm(303,e)},createUnparsedPrepend:function(e,t){let n=rm(304,e);return n.texts=t,n},createUnparsedTextLike:function(e,t){return rm(t?306:305,e)},createUnparsedSyntheticReference:function(e){let t=b(307);return t.data=e.data,t.section=e,t},createInputFiles:function(){let e=b(311);return e.javascriptText="",e.declarationText="",e},createSyntheticExpression:function(e,t=!1,n){let r=b(234);return r.type=e,r.isSpread=t,r.tupleNameSource=n,r},createSyntaxList:function(e){let t=b(354);return t._children=e,t},createNotEmittedStatement:function(e){let t=b(355);return t.original=e,OV(t,e),t},createPartiallyEmittedExpression:rh,updatePartiallyEmittedExpression:ry,createCommaListExpression:rv,updateCommaListExpression:function(e,t){return e.elements!==t?n(rv(t),e):e},createEndOfDeclarationMarker:function(e){let t=b(359);return t.emitNode={},t.original=e,t},createMergeDeclarationMarker:function(e){let t=b(358);return t.emitNode={},t.original=e,t},createSyntheticReferenceExpression:rb,updateSyntheticReferenceExpression:function(e,t,r){return e.expression!==t||e.thisArg!==r?n(rb(t,r),e):e},cloneNode:rE,get createComma(){return a(27)},get createAssignment(){return a(63)},get createLogicalOr(){return a(56)},get createLogicalAnd(){return a(55)},get createBitwiseOr(){return a(51)},get createBitwiseXor(){return a(52)},get createBitwiseAnd(){return a(50)},get createStrictEquality(){return a(36)},get createStrictInequality(){return a(37)},get createEquality(){return a(34)},get createInequality(){return a(35)},get createLessThan(){return a(29)},get createLessThanEquals(){return a(32)},get createGreaterThan(){return a(31)},get createGreaterThanEquals(){return a(33)},get createLeftShift(){return a(47)},get createRightShift(){return a(48)},get createUnsignedRightShift(){return a(49)},get createAdd(){return a(39)},get createSubtract(){return a(40)},get createMultiply(){return a(41)},get createDivide(){return a(43)},get createModulo(){return a(44)},get createExponent(){return a(42)},get createPrefixPlus(){return s(39)},get createPrefixMinus(){return s(40)},get createPrefixIncrement(){return s(45)},get createPrefixDecrement(){return s(46)},get createBitwiseNot(){return s(54)},get createLogicalNot(){return s(53)},get createPostfixIncrement(){return l(45)},get createPostfixDecrement(){return l(46)},createImmediatelyInvokedFunctionExpression:function(e,t,n){return eZ(e7(void 0,void 0,void 0,void 0,t?[t]:[],void 0,tR(e,!0)),void 0,n?[n]:[])},createImmediatelyInvokedArrowFunction:function(e,t,n){return eZ(te(void 0,void 0,t?[t]:[],void 0,void 0,tR(e,!0)),void 0,n?[n]:[])},createVoidZero:rT,createExportDefault:function(e){return nh(void 0,!1,e)},createExternalModuleExport:function(e){return ng(void 0,!1,nb([nE(!1,void 0,e)]))},createTypeCheck:function(e,t){return"undefined"===t?g.createStrictEquality(e,rT()):g.createStrictEquality(tr(e),C(t))},createMethodCall:rx,createGlobalMethodCall:rS,createFunctionBindCall:function(e,t,n){return rx(e,"bind",[t,...n])},createFunctionCallCall:function(e,t,n){return rx(e,"call",[t,...n])},createFunctionApplyCall:function(e,t,n){return rx(e,"apply",[t,n])},createArraySliceCall:function(e,t){return rx(e,"slice",void 0===t?[]:[rP(t)])},createArrayConcatCall:function(e,t){return rx(e,"concat",t)},createObjectDefinePropertyCall:function(e,t,n){return rS("Object","defineProperty",[e,rP(t),n])},createObjectGetOwnPropertyDescriptorCall:function(e,t){return rS("Object","getOwnPropertyDescriptor",[e,rP(t)])},createReflectGetCall:function(e,t,n){return rS("Reflect","get",n?[e,t,n]:[e,t])},createReflectSetCall:function(e,t,n,r){return rS("Reflect","set",r?[e,t,n,r]:[e,t,n])},createPropertyDescriptor:function(e,t){let n=[];rA(n,"enumerable",rP(e.enumerable)),rA(n,"configurable",rP(e.configurable));let r=rA(n,"writable",rP(e.writable));r=rA(n,"value",e.value)||r;let i=rA(n,"get",e.get);return i=rA(n,"set",e.set)||i,T.assert(!(r&&i),"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor."),eH(n,!t)},createCallBinding:function(e,t,n,i=!1){let a,o;let s=D3(e,15);return EI(s)?(a=G(),o=s):wN(s)?(a=G(),o=void 0!==n&&n<2?OV(R("_super"),s):s):8192&v0(s)?(a=rT(),o=r().parenthesizeLeftSideOfAccess(s,!1)):Rh(s)?rL(s.expression,i)?(a=N(t),o=eW(OV(g.createAssignment(a,s.expression),s.expression),s.name),OV(o,s)):(a=s.expression,o=s):Ry(s)?rL(s.expression,i)?(a=N(t),o=eX(OV(g.createAssignment(a,s.expression),s.expression),s.argumentExpression),OV(o,s)):(a=s.expression,o=s):(a=rT(),o=r().parenthesizeLeftSideOfAccess(e,!1)),{target:o,thisArg:a}},createAssignmentTargetWrapper:function(e,t){return eW(e3(eH([el(void 0,"value",[z(void 0,void 0,e,void 0,void 0,void 0)],tR([tM(t)]))])),"value")},inlineExpressions:function(e){return e.length>10?rv(e):u2(e,g.createComma)},getInternalName:function(e,t,n){return rC(e,t,n,98304)},getLocalName:function(e,t,n){return rC(e,t,n,32768)},getExportName:rk,getDeclarationName:function(e,t,n){return rC(e,t,n)},getNamespaceMemberName:rI,getExternalModuleOrNamespaceExportName:function(e,t,n,r){return e&&S3(t,1)?rI(e,rC(t),n,r):rk(t,n,r)},restoreOuterExpressions:function e(t,n,r=15){return t&&D6(t,r)&&!(RT(t)&&x1(t)&&x1(IA(t))&&x1(IR(t))&&!uv(ID(t))&&!uv(IP(t)))?function(e,t){switch(e.kind){case 214:return e5(e,t);case 213:return e6(e,e.type,t);case 231:return tT(e,t,e.type);case 235:return tL(e,t,e.type);case 232:return tS(e,t);case 356:return ry(e,t)}}(t,e(t.expression,n)):n},restoreEnclosingLabel:function e(t,n,r){if(!n)return t;let i=tJ(n,n.label,R9(n.statement)?e(t,n.statement):t);return r&&r(n),i},createUseStrictPrologue:rw,copyPrologue:function(e,t,n,r){let i=rR(e,t,0,n);return rN(e,t,i,r)},copyStandardPrologue:rR,copyCustomPrologue:rN,ensureUseStrict:function(e){return DZ(e)?e:OV(v([rw(),...e]),e)},liftToBlock:function(e){return T.assert(dZ(e,gG),"Cannot lift nodes to a Block."),uY(e)||tR(e)},mergeLexicalEnvironment:function(e,t){if(!uv(t))return e;let n=rD(e,bY,0),r=rD(e,bQ,n),i=rD(e,b0,r),a=rD(t,bY,0),o=rD(t,bQ,a),s=rD(t,b0,o),l=rD(t,b$,s);T.assert(l===t.length,"Expected declarations to be valid standard or custom prologues");let c=yp(e)?e.slice():e;if(l>s&&c.splice(i,0,...t.slice(s,l)),s>o&&c.splice(r,0,...t.slice(o,s)),o>a&&c.splice(n,0,...t.slice(a,o)),a>0){if(0===n)c.splice(0,0,...t.slice(0,a));else{let r=new Map;for(let t=0;t=0;e--){let n=t[e];r.has(n.expression.text)||c.unshift(n)}}}return yp(e)?OV(v(c,e.hasTrailingComma),e):e},updateModifiers:function(e,t){var n;let r;return r="number"==typeof t?V(t):t,wF(e)?W(e,r,e.name,e.constraint,e.default):wG(e)?q(e,r,e.dotDotDotToken,e.name,e.questionToken,e.type,e.initializer):w0(e)?eb(e,r,e.typeParameters,e.parameters,e.type):wU(e)?Y(e,r,e.name,e.questionToken,e.type):wV(e)?Q(e,r,e.name,null!=(n=e.questionToken)?n:e.exclamationToken,e.type,e.initializer):wj(e)?ee(e,r,e.name,e.questionToken,e.typeParameters,e.parameters,e.type):wH(e)?en(e,r,e.asteriskToken,e.name,e.questionToken,e.typeParameters,e.parameters,e.type,e.body):wW(e)?ea(e,r,e.parameters,e.body):wz(e)?es(e,r,e.name,e.parameters,e.type,e.body):wq(e)?ec(e,r,e.name,e.parameters,e.body):wY(e)?ep(e,r,e.parameters,e.type):Rx(e)?e9(e,r,e.asteriskToken,e.name,e.typeParameters,e.parameters,e.type,e.body):RS(e)?tt(e,r,e.typeParameters,e.parameters,e.type,e.equalsGreaterThanToken,e.body):RP(e)?tv(e,r,e.name,e.typeParameters,e.heritageClauses,e.members):RX(e)?tD(e,r,e.declarationList):Na(e)?t0(e,r,e.asteriskToken,e.name,e.typeParameters,e.parameters,e.type,e.body):No(e)?t2(e,r,e.name,e.typeParameters,e.heritageClauses,e.members):Ns(e)?t8(e,r,e.name,e.typeParameters,e.heritageClauses,e.members):Nl(e)?t3(e,r,e.name,e.typeParameters,e.type):Nc(e)?t7(e,r,e.name,e.members):Nd(e)?ne(e,r,e.name,e.body):Nf(e)?na(e,r,e.isTypeOnly,e.name,e.moduleReference):Nm(e)?ns(e,r,e.importClause,e.moduleSpecifier,e.assertClause):NS(e)?ny(e,r,e.expression):NA(e)?nv(e,r,e.isTypeOnly,e.exportClause,e.moduleSpecifier,e.assertClause):T.assertNever(e)}};return dz(nP,e=>e(g)),g;function v(e,t){if(void 0===e||e===o)e=[];else if(yp(e)){if(void 0===t||e.hasTrailingComma===t)return void 0===e.transformFlags&&Il(e),T.attachNodeArrayDebugInfo(e),e;let n=e.slice();return n.pos=e.pos,n.end=e.end,n.hasTrailingComma=t,n.transformFlags=e.transformFlags,T.attachNodeArrayDebugInfo(n),n}let n=e.length,r=n>=1&&n<=4?e.slice():e;return r.pos=-1,r.end=-1,r.hasTrailingComma=!!t,r.transformFlags=0,Il(r),T.attachNodeArrayDebugInfo(r),r}function b(e){return t.createBaseNode(e)}function E(e){let t=b(e);return t.symbol=void 0,t.localSymbol=void 0,t}function x(e,t){return e!==t&&(e.typeArguments=t.typeArguments),n(e,t)}function S(e,t=0){let n=E(8);return n.text="number"==typeof e?e+"":e,n.numericLiteralFlags=t,384&t&&(n.transformFlags|=1024),n}function A(e){let t=P(9);return t.text="string"==typeof e?e:km(e)+"n",t.transformFlags|=4,t}function L(e,t){let n=E(10);return n.text=e,n.singleQuote=t,n}function C(e,t,n){let r=L(e,t);return r.hasExtendedUnicodeEscape=n,n&&(r.transformFlags|=1024),r}function k(e){let t=P(13);return t.text=e,t}function I(e){let n=t.createBaseIdentifierNode(79);return n.escapedText=e,n.jsDoc=void 0,n.flowNode=void 0,n.symbol=void 0,n}function w(e,t,n,r){let i=I(hn(e));return I0(i,{flags:t,id:nO,prefix:n,suffix:r}),nO++,i}function R(e,t,n){void 0===t&&e&&(t=f4(e)),79===t&&(t=void 0);let r=I(hn(e));return n&&(r.flags|=128),"await"===r.escapedText&&(r.transformFlags|=67108864),128&r.flags&&(r.transformFlags|=1024),r}function N(e,t,n,r){let i=1;t&&(i|=8);let a=w("",i,n,r);return e&&e(a),a}function D(e,t=0,n,r){T.assert(!(7&t),"Argument out of range: flags");let i=e?h1(e)?OD(!1,n,e,r,hi):`generated@${Gv(e)}`:"";(n||r)&&(t|=16);let a=w(i,4|t,n,r);return a.original=e,a}function O(e){let n=t.createBasePrivateIdentifierNode(80);return n.escapedText=e,n.transformFlags|=16777216,n}function M(e,t,n,r){let i=O(hn(e));return I0(i,{flags:t,id:nO,prefix:n,suffix:r}),nO++,i}function P(e){return t.createBaseTokenNode(e)}function F(e){T.assert(e>=0&&e<=162,"Invalid token"),T.assert(e<=14||e>=17,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals."),T.assert(e<=8||e>=14,"Invalid token. Use 'createLiteralLikeNode' to create literals."),T.assert(79!==e,"Invalid token. Use 'createIdentifier' to create identifiers");let t=P(e),n=0;switch(e){case 132:n=384;break;case 123:case 121:case 122:case 146:case 126:case 136:case 85:case 131:case 148:case 160:case 144:case 149:case 101:case 145:case 161:case 152:case 134:case 153:case 114:case 157:case 155:n=1;break;case 106:n=134218752,t.flowNode=void 0;break;case 124:n=1024;break;case 127:n=16777216;break;case 108:n=16384,t.flowNode=void 0}return n&&(t.transformFlags|=n),t}function G(){return F(108)}function B(){return F(110)}function U(){return F(95)}function V(e){let t=[];return 1&e&&t.push(F(93)),2&e&&t.push(F(136)),1024&e&&t.push(F(88)),2048&e&&t.push(F(85)),4&e&&t.push(F(123)),8&e&&t.push(F(121)),16&e&&t.push(F(122)),256&e&&t.push(F(126)),32&e&&t.push(F(124)),16384&e&&t.push(F(161)),64&e&&t.push(F(146)),128&e&&t.push(F(127)),512&e&&t.push(F(132)),32768&e&&t.push(F(101)),65536&e&&t.push(F(145)),t.length?t:void 0}function j(e,t){let n=b(163);return n.left=e,n.right=rM(t),n.transformFlags|=Io(n.left)|-67108865&Io(n.right),n.flowNode=void 0,n}function H(e){let t=b(164);return t.expression=r().parenthesizeExpressionOfComputedPropertyName(e),t.transformFlags|=132096|Io(t.expression),t}function K(e,t,n,r){let i=E(165);return i.modifiers=rO(e),i.name=rM(t),i.constraint=n,i.default=r,i.transformFlags=1,i.expression=void 0,i.jsDoc=void 0,i}function W(e,t,r,i,a){return e.modifiers!==t||e.name!==r||e.constraint!==i||e.default!==a?n(K(t,r,i,a),e):e}function z(e,t,n,r,i,a){var o,s;let l=E(166);return l.modifiers=rO(e),l.dotDotDotToken=t,l.name=rM(n),l.questionToken=r,l.type=i,l.initializer=rF(a),SV(l.name)?l.transformFlags=1:l.transformFlags=Is(l.modifiers)|Io(l.dotDotDotToken)|Ia(l.name)|Io(l.questionToken)|Io(l.initializer)|((null!=(o=l.questionToken)?o:l.type)?1:0)|((null!=(s=l.dotDotDotToken)?s:l.initializer)?1024:0)|(16476&Af(l.modifiers)?8192:0),l.jsDoc=void 0,l}function q(e,t,r,i,a,o,s){return e.modifiers!==t||e.dotDotDotToken!==r||e.name!==i||e.questionToken!==a||e.type!==o||e.initializer!==s?n(z(t,r,i,a,o,s),e):e}function J(e){let t=b(167);return t.expression=r().parenthesizeLeftSideOfAccess(e,!1),t.transformFlags|=33562625|Io(t.expression),t}function X(e,t,n,r){let i=E(168);return i.modifiers=rO(e),i.name=rM(t),i.type=r,i.questionToken=n,i.transformFlags=1,i.initializer=void 0,i.jsDoc=void 0,i}function Y(e,t,r,i,a){var o;return e.modifiers!==t||e.name!==r||e.questionToken!==i||e.type!==a?((o=X(t,r,i,a))!==e&&(o.initializer=e.initializer),n(o,e)):e}function $(e,t,n,r,i){let a=E(169);a.modifiers=rO(e),a.name=rM(t),a.questionToken=n&&wh(n)?n:void 0,a.exclamationToken=n&&wm(n)?n:void 0,a.type=r,a.initializer=rF(i);let o=16777216&a.flags||2&Af(a.modifiers);return a.transformFlags=Is(a.modifiers)|Ia(a.name)|Io(a.initializer)|(o||a.questionToken||a.exclamationToken||a.type?1:0)|(wP(a.name)||32&Af(a.modifiers)&&a.initializer?8192:0)|16777216,a.jsDoc=void 0,a}function Q(e,t,r,i,a,o){return e.modifiers!==t||e.name!==r||e.questionToken!==(void 0!==i&&wh(i)?i:void 0)||e.exclamationToken!==(void 0!==i&&wm(i)?i:void 0)||e.type!==a||e.initializer!==o?n($(t,r,i,a,o),e):e}function Z(e,t,n,r,i,a){let o=E(170);return o.modifiers=rO(e),o.name=rM(t),o.questionToken=n,o.typeParameters=rO(r),o.parameters=rO(i),o.type=a,o.transformFlags=1,o.jsDoc=void 0,o.locals=void 0,o.nextContainer=void 0,o.typeArguments=void 0,o}function ee(e,t,n,r,i,a,o){return e.modifiers!==t||e.name!==n||e.questionToken!==r||e.typeParameters!==i||e.parameters!==a||e.type!==o?x(Z(t,n,r,i,a,o),e):e}function et(e,t,n,r,i,a,o,s){let l=E(171);if(l.modifiers=rO(e),l.asteriskToken=t,l.name=rM(n),l.questionToken=r,l.exclamationToken=void 0,l.typeParameters=rO(i),l.parameters=v(a),l.type=o,l.body=s,l.body){let e=512&Af(l.modifiers),t=!!l.asteriskToken;l.transformFlags=Is(l.modifiers)|Io(l.asteriskToken)|Ia(l.name)|Io(l.questionToken)|Is(l.typeParameters)|Is(l.parameters)|Io(l.type)|-67108865&Io(l.body)|(e&&t?128:e?256:t?2048:0)|(l.questionToken||l.typeParameters||l.type?1:0)|1024}else l.transformFlags=1;return l.typeArguments=void 0,l.jsDoc=void 0,l.locals=void 0,l.nextContainer=void 0,l.flowNode=void 0,l.endFlowNode=void 0,l.returnFlowNode=void 0,l}function en(e,t,r,i,a,o,s,l,c){var d;return e.modifiers!==t||e.asteriskToken!==r||e.name!==i||e.questionToken!==a||e.typeParameters!==o||e.parameters!==s||e.type!==l||e.body!==c?((d=et(t,r,i,a,o,s,l,c))!==e&&(d.exclamationToken=e.exclamationToken),n(d,e)):e}function er(e){let t=E(172);return t.body=e,t.transformFlags=16777216|Io(e),t.modifiers=void 0,t.jsDoc=void 0,t.locals=void 0,t.nextContainer=void 0,t.endFlowNode=void 0,t.returnFlowNode=void 0,t}function ei(e,t,n){let r=E(173);return r.modifiers=rO(e),r.parameters=v(t),r.body=n,r.transformFlags=Is(r.modifiers)|Is(r.parameters)|-67108865&Io(r.body)|1024,r.typeParameters=void 0,r.type=void 0,r.typeArguments=void 0,r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r.endFlowNode=void 0,r.returnFlowNode=void 0,r}function ea(e,t,n,r){var i;return e.modifiers!==t||e.parameters!==n||e.body!==r?((i=ei(t,n,r))!==e&&(i.typeParameters=e.typeParameters,i.type=e.type),x(i,e)):e}function eo(e,t,n,r,i){let a=E(174);return a.modifiers=rO(e),a.name=rM(t),a.parameters=v(n),a.type=r,a.body=i,a.body?a.transformFlags=Is(a.modifiers)|Ia(a.name)|Is(a.parameters)|Io(a.type)|-67108865&Io(a.body)|(a.type?1:0):a.transformFlags=1,a.typeArguments=void 0,a.typeParameters=void 0,a.jsDoc=void 0,a.locals=void 0,a.nextContainer=void 0,a.flowNode=void 0,a.endFlowNode=void 0,a.returnFlowNode=void 0,a}function es(e,t,n,r,i,a){var o;return e.modifiers!==t||e.name!==n||e.parameters!==r||e.type!==i||e.body!==a?((o=eo(t,n,r,i,a))!==e&&(o.typeParameters=e.typeParameters),x(o,e)):e}function el(e,t,n,r){let i=E(175);return i.modifiers=rO(e),i.name=rM(t),i.parameters=v(n),i.body=r,i.body?i.transformFlags=Is(i.modifiers)|Ia(i.name)|Is(i.parameters)|-67108865&Io(i.body)|(i.type?1:0):i.transformFlags=1,i.typeArguments=void 0,i.typeParameters=void 0,i.type=void 0,i.jsDoc=void 0,i.locals=void 0,i.nextContainer=void 0,i.flowNode=void 0,i.endFlowNode=void 0,i.returnFlowNode=void 0,i}function ec(e,t,n,r,i){var a;return e.modifiers!==t||e.name!==n||e.parameters!==r||e.body!==i?((a=el(t,n,r,i))!==e&&(a.typeParameters=e.typeParameters,a.type=e.type),x(a,e)):e}function ed(e,t,n){let r=E(176);return r.typeParameters=rO(e),r.parameters=rO(t),r.type=n,r.transformFlags=1,r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r.typeArguments=void 0,r}function eu(e,t,n){let r=E(177);return r.typeParameters=rO(e),r.parameters=rO(t),r.type=n,r.transformFlags=1,r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r.typeArguments=void 0,r}function e_(e,t,n){let r=E(178);return r.modifiers=rO(e),r.parameters=rO(t),r.type=n,r.transformFlags=1,r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r.typeArguments=void 0,r}function ep(e,t,n,r){return e.parameters!==n||e.type!==r||e.modifiers!==t?x(e_(t,n,r),e):e}function ef(e,t){let n=b(201);return n.type=e,n.literal=t,n.transformFlags=1,n}function em(e,t,n){let r=b(179);return r.assertsModifier=e,r.parameterName=rM(t),r.type=n,r.transformFlags=1,r}function eh(e,t){let n=b(180);return n.typeName=rM(e),n.typeArguments=t&&r().parenthesizeTypeArguments(v(t)),n.transformFlags=1,n}function ey(e,t,n){let r=E(181);return r.typeParameters=rO(e),r.parameters=rO(t),r.type=n,r.transformFlags=1,r.modifiers=void 0,r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r.typeArguments=void 0,r}function eg(...e){return 4===e.length?ev(...e):3===e.length?function(e,t,n){return ev(void 0,e,t,n)}(...e):T.fail("Incorrect number of arguments specified.")}function ev(e,t,n,r){let i=E(182);return i.modifiers=rO(e),i.typeParameters=rO(t),i.parameters=rO(n),i.type=r,i.transformFlags=1,i.jsDoc=void 0,i.locals=void 0,i.nextContainer=void 0,i.typeArguments=void 0,i}function eb(e,t,n,r,i){return e.modifiers!==t||e.typeParameters!==n||e.parameters!==r||e.type!==i?x(eg(t,n,r,i),e):e}function eE(e,t){let n=b(183);return n.exprName=e,n.typeArguments=t&&r().parenthesizeTypeArguments(t),n.transformFlags=1,n}function eT(e){let t=E(184);return t.members=v(e),t.transformFlags=1,t}function ex(e){let t=b(185);return t.elementType=r().parenthesizeNonArrayTypeOfPostfixType(e),t.transformFlags=1,t}function eS(e){let t=b(186);return t.elements=v(r().parenthesizeElementTypesOfTupleType(e)),t.transformFlags=1,t}function eA(e,t,n,r){let i=E(199);return i.dotDotDotToken=e,i.name=t,i.questionToken=n,i.type=r,i.transformFlags=1,i.jsDoc=void 0,i}function eL(e){let t=b(187);return t.type=r().parenthesizeTypeOfOptionalType(e),t.transformFlags=1,t}function eC(e){let t=b(188);return t.type=e,t.transformFlags=1,t}function ek(e,t,n){let r=b(e);return r.types=g.createNodeArray(n(t)),r.transformFlags=1,r}function eI(e,t,r){return e.types!==t?n(ek(e.kind,t,r),e):e}function ew(e,t,n,i){let a=b(191);return a.checkType=r().parenthesizeCheckTypeOfConditionalType(e),a.extendsType=r().parenthesizeExtendsTypeOfConditionalType(t),a.trueType=n,a.falseType=i,a.transformFlags=1,a.locals=void 0,a.nextContainer=void 0,a}function eR(e){let t=b(192);return t.typeParameter=e,t.transformFlags=1,t}function eN(e,t){let n=b(200);return n.head=e,n.templateSpans=v(t),n.transformFlags=1,n}function eD(e,t,n,i,a=!1){let o=b(202);return o.argument=e,o.assertions=t,o.qualifier=n,o.typeArguments=i&&r().parenthesizeTypeArguments(i),o.isTypeOf=a,o.transformFlags=1,o}function eO(e){let t=b(193);return t.type=e,t.transformFlags=1,t}function eM(e,t){let n=b(195);return n.operator=e,n.type=146===e?r().parenthesizeOperandOfReadonlyTypeOperator(t):r().parenthesizeOperandOfTypeOperator(t),n.transformFlags=1,n}function eP(e,t){let n=b(196);return n.objectType=r().parenthesizeNonArrayTypeOfPostfixType(e),n.indexType=t,n.transformFlags=1,n}function eF(e,t,n,r,i,a){let o=E(197);return o.readonlyToken=e,o.typeParameter=t,o.nameType=n,o.questionToken=r,o.type=i,o.members=a&&v(a),o.transformFlags=1,o.locals=void 0,o.nextContainer=void 0,o}function eG(e){let t=b(198);return t.literal=e,t.transformFlags=1,t}function eB(e){let t=b(203);return t.elements=v(e),t.transformFlags|=525312|Is(t.elements),32768&t.transformFlags&&(t.transformFlags|=65664),t}function eU(e){let t=b(204);return t.elements=v(e),t.transformFlags|=525312|Is(t.elements),t}function eV(e,t,n,r){let i=E(205);return i.dotDotDotToken=e,i.propertyName=rM(t),i.name=rM(n),i.initializer=rF(r),i.transformFlags|=Io(i.dotDotDotToken)|Ia(i.propertyName)|Ia(i.name)|Io(i.initializer)|(i.dotDotDotToken?32768:0)|1024,i.flowNode=void 0,i}function ej(e,t){let n=b(206),i=e&&uJ(e),a=v(e,!!(i&&RF(i))||void 0);return n.elements=r().parenthesizeExpressionsOfCommaDelimitedList(a),n.multiLine=t,n.transformFlags|=Is(n.elements),n}function eH(e,t){let n=E(207);return n.properties=v(e),n.multiLine=t,n.transformFlags|=Is(n.properties),n.jsDoc=void 0,n}function eK(e,t,n){let r=E(208);return r.expression=e,r.questionDotToken=t,r.name=n,r.transformFlags=Io(r.expression)|Io(r.questionDotToken)|(wb(r.name)?-67108865&Io(r.name):536870912|Io(r.name)),r.jsDoc=void 0,r.flowNode=void 0,r}function eW(e,t){let n=eK(r().parenthesizeLeftSideOfAccess(e,!1),void 0,rM(t));return wN(e)&&(n.transformFlags|=384),n}function ez(e,t,n){let i=eK(r().parenthesizeLeftSideOfAccess(e,!0),t,rM(n));return i.flags|=32,i.transformFlags|=32,i}function eq(e,t,r,i){return T.assert(!!(32&e.flags),"Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead."),e.expression!==t||e.questionDotToken!==r||e.name!==i?n(ez(t,r,i),e):e}function eJ(e,t,n){let r=E(209);return r.expression=e,r.questionDotToken=t,r.argumentExpression=n,r.transformFlags|=Io(r.expression)|Io(r.questionDotToken)|Io(r.argumentExpression),r.jsDoc=void 0,r.flowNode=void 0,r}function eX(e,t){let n=eJ(r().parenthesizeLeftSideOfAccess(e,!1),void 0,rP(t));return wN(e)&&(n.transformFlags|=384),n}function eY(e,t,n){let i=eJ(r().parenthesizeLeftSideOfAccess(e,!0),t,rP(n));return i.flags|=32,i.transformFlags|=32,i}function e$(e,t,r,i){return T.assert(!!(32&e.flags),"Cannot update a ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead."),e.expression!==t||e.questionDotToken!==r||e.argumentExpression!==i?n(eY(t,r,i),e):e}function eQ(e,t,n,r){let i=E(210);return i.expression=e,i.questionDotToken=t,i.typeArguments=n,i.arguments=r,i.transformFlags|=Io(i.expression)|Io(i.questionDotToken)|Is(i.typeArguments)|Is(i.arguments),i.typeArguments&&(i.transformFlags|=1),EI(i.expression)&&(i.transformFlags|=16384),i}function eZ(e,t,n){let i=eQ(r().parenthesizeLeftSideOfAccess(e,!1),void 0,rO(t),r().parenthesizeExpressionsOfCommaDelimitedList(v(n)));return wD(i.expression)&&(i.transformFlags|=8388608),i}function e0(e,t,n,i){let a=eQ(r().parenthesizeLeftSideOfAccess(e,!0),t,rO(n),r().parenthesizeExpressionsOfCommaDelimitedList(v(i)));return a.flags|=32,a.transformFlags|=32,a}function e1(e,t,r,i,a){return T.assert(!!(32&e.flags),"Cannot update a CallExpression using updateCallChain. Use updateCall instead."),e.expression!==t||e.questionDotToken!==r||e.typeArguments!==i||e.arguments!==a?n(e0(t,r,i,a),e):e}function e2(e,t,n){let i=E(211);return i.expression=r().parenthesizeExpressionOfNew(e),i.typeArguments=rO(t),i.arguments=n?r().parenthesizeExpressionsOfCommaDelimitedList(n):void 0,i.transformFlags|=Io(i.expression)|Is(i.typeArguments)|Is(i.arguments)|32,i.typeArguments&&(i.transformFlags|=1),i}function e4(e,t,n){let i=b(212);return i.tag=r().parenthesizeLeftSideOfAccess(e,!1),i.typeArguments=rO(t),i.template=n,i.transformFlags|=Io(i.tag)|Is(i.typeArguments)|Io(i.template)|1024,i.typeArguments&&(i.transformFlags|=1),St(i.template)&&(i.transformFlags|=128),i}function e8(e,t){let n=b(213);return n.expression=r().parenthesizeOperandOfPrefixUnary(t),n.type=e,n.transformFlags|=Io(n.expression)|Io(n.type)|1,n}function e6(e,t,r){return e.type!==t||e.expression!==r?n(e8(t,r),e):e}function e3(e){let t=b(214);return t.expression=e,t.transformFlags=Io(t.expression),t.jsDoc=void 0,t}function e5(e,t){return e.expression!==t?n(e3(t),e):e}function e7(e,t,n,r,i,a,o){let s=E(215);s.modifiers=rO(e),s.asteriskToken=t,s.name=rM(n),s.typeParameters=rO(r),s.parameters=v(i),s.type=a,s.body=o;let l=512&Af(s.modifiers),c=!!s.asteriskToken;return s.transformFlags=Is(s.modifiers)|Io(s.asteriskToken)|Ia(s.name)|Is(s.typeParameters)|Is(s.parameters)|Io(s.type)|-67108865&Io(s.body)|(l&&c?128:l?256:c?2048:0)|(s.typeParameters||s.type?1:0)|4194304,s.typeArguments=void 0,s.jsDoc=void 0,s.locals=void 0,s.nextContainer=void 0,s.flowNode=void 0,s.endFlowNode=void 0,s.returnFlowNode=void 0,s}function e9(e,t,n,r,i,a,o,s){return e.name!==r||e.modifiers!==t||e.asteriskToken!==n||e.typeParameters!==i||e.parameters!==a||e.type!==o||e.body!==s?x(e7(t,n,r,i,a,o,s),e):e}function te(e,t,n,i,a,o){let s=E(216);s.modifiers=rO(e),s.typeParameters=rO(t),s.parameters=v(n),s.type=i,s.equalsGreaterThanToken=null!=a?a:F(38),s.body=r().parenthesizeConciseBodyOfArrowFunction(o);let l=512&Af(s.modifiers);return s.transformFlags=Is(s.modifiers)|Is(s.typeParameters)|Is(s.parameters)|Io(s.type)|Io(s.equalsGreaterThanToken)|-67108865&Io(s.body)|(s.typeParameters||s.type?1:0)|(l?16640:0)|1024,s.typeArguments=void 0,s.jsDoc=void 0,s.locals=void 0,s.nextContainer=void 0,s.flowNode=void 0,s.endFlowNode=void 0,s.returnFlowNode=void 0,s}function tt(e,t,n,r,i,a,o){return e.modifiers!==t||e.typeParameters!==n||e.parameters!==r||e.type!==i||e.equalsGreaterThanToken!==a||e.body!==o?x(te(t,n,r,i,a,o),e):e}function tn(e){let t=b(217);return t.expression=r().parenthesizeOperandOfPrefixUnary(e),t.transformFlags|=Io(t.expression),t}function tr(e){let t=b(218);return t.expression=r().parenthesizeOperandOfPrefixUnary(e),t.transformFlags|=Io(t.expression),t}function ti(e){let t=b(219);return t.expression=r().parenthesizeOperandOfPrefixUnary(e),t.transformFlags|=Io(t.expression),t}function ta(e){let t=b(220);return t.expression=r().parenthesizeOperandOfPrefixUnary(e),t.transformFlags|=2097536|Io(t.expression),t}function to(e,t){let n=b(221);return n.operator=e,n.operand=r().parenthesizeOperandOfPrefixUnary(t),n.transformFlags|=Io(n.operand),(45===e||46===e)&&wb(n.operand)&&!yL(n.operand)&&!DY(n.operand)&&(n.transformFlags|=268435456),n}function ts(e,t){let n=b(222);return n.operator=t,n.operand=r().parenthesizeOperandOfPostfixUnary(e),n.transformFlags|=Io(n.operand),!wb(n.operand)||yL(n.operand)||DY(n.operand)||(n.transformFlags|=268435456),n}function tl(e,t,n){let i=E(223),a="number"==typeof t?F(t):t,o=a.kind;return i.left=r().parenthesizeLeftSideOfBinary(o,e),i.operatorToken=a,i.right=r().parenthesizeRightSideOfBinary(o,i.left,n),i.transformFlags|=Io(i.left)|Io(i.operatorToken)|Io(i.right),60===o?i.transformFlags|=32:63===o?Rm(i.left)?i.transformFlags|=5248|tc(i.left):Rf(i.left)&&(i.transformFlags|=5120|tc(i.left)):42===o||67===o?i.transformFlags|=512:Ag(o)&&(i.transformFlags|=16),101===o&&wE(i.left)&&(i.transformFlags|=536870912),i.jsDoc=void 0,i}function tc(e){return OB(e)?65536:0}function td(e,t,n,i,a){let o=b(224);return o.condition=r().parenthesizeConditionOfConditionalExpression(e),o.questionToken=null!=t?t:F(57),o.whenTrue=r().parenthesizeBranchOfConditionalExpression(n),o.colonToken=null!=i?i:F(58),o.whenFalse=r().parenthesizeBranchOfConditionalExpression(a),o.transformFlags|=Io(o.condition)|Io(o.questionToken)|Io(o.whenTrue)|Io(o.colonToken)|Io(o.whenFalse),o}function tu(e,t){let n=b(225);return n.head=e,n.templateSpans=v(t),n.transformFlags|=Io(n.head)|Is(n.templateSpans)|1024,n}function t_(e,t,n,r=0){let i;if(T.assert(!(-2049&r),"Unsupported template flags."),void 0!==n&&n!==t&&"object"==typeof(i=function(e,t){let n;switch(nF||(nF=mL(99,!1,0)),e){case 14:nF.setText("`"+t+"`");break;case 15:nF.setText("`"+t+"${");break;case 16:nF.setText("}"+t+"${");break;case 17:nF.setText("}"+t+"`")}let r=nF.scan();if(19===r&&(r=nF.reScanTemplateToken(!1)),nF.isUnterminated())return nF.setText(void 0),nG;switch(r){case 14:case 15:case 16:case 17:n=nF.getTokenValue()}return void 0===n||1!==nF.scan()?(nF.setText(void 0),nG):(nF.setText(void 0),n)}(e,n)))return T.fail("Invalid raw text");if(void 0===t){if(void 0===i)return T.fail("Arguments 'text' and 'rawText' may not both be undefined.");t=i}else void 0!==i&&T.assert(t===i,"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.");return t}function tp(e){let t=1024;return e&&(t|=128),t}function tf(e,t,n,r){let i=E(e);return i.text=t,i.rawText=n,i.templateFlags=2048&r,i.transformFlags=tp(i.templateFlags),i}function tm(e,t,n,r){let i;return 14===e?tf(e,t,n,r):((i=P(e)).text=t,i.rawText=n,i.templateFlags=2048&r,i.transformFlags=tp(i.templateFlags),i)}function th(e,t){T.assert(!e||!!t,"A `YieldExpression` with an asteriskToken must have an expression.");let n=b(226);return n.expression=t&&r().parenthesizeExpressionForDisallowedComma(t),n.asteriskToken=e,n.transformFlags|=Io(n.expression)|Io(n.asteriskToken)|1049728,n}function ty(e){let t=b(227);return t.expression=r().parenthesizeExpressionForDisallowedComma(e),t.transformFlags|=33792|Io(t.expression),t}function tg(e,t,n,r,i){let a=E(228);return a.modifiers=rO(e),a.name=rM(t),a.typeParameters=rO(n),a.heritageClauses=rO(r),a.members=v(i),a.transformFlags|=Is(a.modifiers)|Ia(a.name)|Is(a.typeParameters)|Is(a.heritageClauses)|Is(a.members)|(a.typeParameters?1:0)|1024,a.jsDoc=void 0,a}function tv(e,t,r,i,a,o){return e.modifiers!==t||e.name!==r||e.typeParameters!==i||e.heritageClauses!==a||e.members!==o?n(tg(t,r,i,a,o),e):e}function tb(e,t){let n=b(230);return n.expression=r().parenthesizeLeftSideOfAccess(e,!1),n.typeArguments=t&&r().parenthesizeTypeArguments(t),n.transformFlags|=Io(n.expression)|Is(n.typeArguments)|1024,n}function tE(e,t){let n=b(231);return n.expression=e,n.type=t,n.transformFlags|=Io(n.expression)|Io(n.type)|1,n}function tT(e,t,r){return e.expression!==t||e.type!==r?n(tE(t,r),e):e}function tx(e){let t=b(232);return t.expression=r().parenthesizeLeftSideOfAccess(e,!1),t.transformFlags|=1|Io(t.expression),t}function tS(e,t){return yr(e)?tk(e,t):e.expression!==t?n(tx(t),e):e}function tA(e,t){let n=b(235);return n.expression=e,n.type=t,n.transformFlags|=Io(n.expression)|Io(n.type)|1,n}function tL(e,t,r){return e.expression!==t||e.type!==r?n(tA(t,r),e):e}function tC(e){let t=b(232);return t.flags|=32,t.expression=r().parenthesizeLeftSideOfAccess(e,!0),t.transformFlags|=1|Io(t.expression),t}function tk(e,t){return T.assert(!!(32&e.flags),"Cannot update a NonNullExpression using updateNonNullChain. Use updateNonNullExpression instead."),e.expression!==t?n(tC(t),e):e}function tI(e,t){let n=b(233);switch(n.keywordToken=e,n.name=t,n.transformFlags|=Io(n.name),e){case 103:n.transformFlags|=1024;break;case 100:n.transformFlags|=4;break;default:return T.assertNever(e)}return n.flowNode=void 0,n}function tw(e,t){let n=b(236);return n.expression=e,n.literal=t,n.transformFlags|=Io(n.expression)|Io(n.literal)|1024,n}function tR(e,t){let n=b(238);return n.statements=v(e),n.multiLine=t,n.transformFlags|=Is(n.statements),n.jsDoc=void 0,n.locals=void 0,n.nextContainer=void 0,n}function tN(e,t){let n=b(240);return n.modifiers=rO(e),n.declarationList=_y(t)?tQ(t):t,n.transformFlags|=Is(n.modifiers)|Io(n.declarationList),2&Af(n.modifiers)&&(n.transformFlags=1),n.jsDoc=void 0,n.flowNode=void 0,n}function tD(e,t,r){return e.modifiers!==t||e.declarationList!==r?n(tN(t,r),e):e}function tO(){let e=b(239);return e.jsDoc=void 0,e}function tM(e){let t=b(241);return t.expression=r().parenthesizeExpressionOfExpressionStatement(e),t.transformFlags|=Io(t.expression),t.jsDoc=void 0,t.flowNode=void 0,t}function tP(e,t,n){let r=b(242);return r.expression=e,r.thenStatement=rG(t),r.elseStatement=rG(n),r.transformFlags|=Io(r.expression)|Io(r.thenStatement)|Io(r.elseStatement),r.jsDoc=void 0,r.flowNode=void 0,r}function tF(e,t){let n=b(243);return n.statement=rG(e),n.expression=t,n.transformFlags|=Io(n.statement)|Io(n.expression),n.jsDoc=void 0,n.flowNode=void 0,n}function tG(e,t){let n=b(244);return n.expression=e,n.statement=rG(t),n.transformFlags|=Io(n.expression)|Io(n.statement),n.jsDoc=void 0,n.flowNode=void 0,n}function tB(e,t,n,r){let i=b(245);return i.initializer=e,i.condition=t,i.incrementor=n,i.statement=rG(r),i.transformFlags|=Io(i.initializer)|Io(i.condition)|Io(i.incrementor)|Io(i.statement),i.jsDoc=void 0,i.locals=void 0,i.nextContainer=void 0,i.flowNode=void 0,i}function tU(e,t,n){let r=b(246);return r.initializer=e,r.expression=t,r.statement=rG(n),r.transformFlags|=Io(r.initializer)|Io(r.expression)|Io(r.statement),r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r.flowNode=void 0,r}function tV(e,t,n,i){let a=b(247);return a.awaitModifier=e,a.initializer=t,a.expression=r().parenthesizeExpressionForDisallowedComma(n),a.statement=rG(i),a.transformFlags|=Io(a.awaitModifier)|Io(a.initializer)|Io(a.expression)|Io(a.statement)|1024,e&&(a.transformFlags|=128),a.jsDoc=void 0,a.locals=void 0,a.nextContainer=void 0,a.flowNode=void 0,a}function tj(e){let t=b(248);return t.label=rM(e),t.transformFlags|=4194304|Io(t.label),t.jsDoc=void 0,t.flowNode=void 0,t}function tH(e){let t=b(249);return t.label=rM(e),t.transformFlags|=4194304|Io(t.label),t.jsDoc=void 0,t.flowNode=void 0,t}function tK(e){let t=b(250);return t.expression=e,t.transformFlags|=4194432|Io(t.expression),t.jsDoc=void 0,t.flowNode=void 0,t}function tW(e,t){let n=b(251);return n.expression=e,n.statement=rG(t),n.transformFlags|=Io(n.expression)|Io(n.statement),n.jsDoc=void 0,n.flowNode=void 0,n}function tz(e,t){let n=b(252);return n.expression=r().parenthesizeExpressionForDisallowedComma(e),n.caseBlock=t,n.transformFlags|=Io(n.expression)|Io(n.caseBlock),n.jsDoc=void 0,n.flowNode=void 0,n.possiblyExhaustive=!1,n}function tq(e,t){let n=b(253);return n.label=rM(e),n.statement=rG(t),n.transformFlags|=Io(n.label)|Io(n.statement),n.jsDoc=void 0,n.flowNode=void 0,n}function tJ(e,t,r){return e.label!==t||e.statement!==r?n(tq(t,r),e):e}function tX(e){let t=b(254);return t.expression=e,t.transformFlags|=Io(t.expression),t.jsDoc=void 0,t.flowNode=void 0,t}function tY(e,t,n){let r=b(255);return r.tryBlock=e,r.catchClause=t,r.finallyBlock=n,r.transformFlags|=Io(r.tryBlock)|Io(r.catchClause)|Io(r.finallyBlock),r.jsDoc=void 0,r.flowNode=void 0,r}function t$(e,t,n,r){var i;let a=E(257);return a.name=rM(e),a.exclamationToken=t,a.type=n,a.initializer=rF(r),a.transformFlags|=Ia(a.name)|Io(a.initializer)|((null!=(i=a.exclamationToken)?i:a.type)?1:0),a.jsDoc=void 0,a}function tQ(e,t=0){let n=b(258);return n.flags|=3&t,n.declarations=v(e),n.transformFlags|=4194304|Is(n.declarations),3&t&&(n.transformFlags|=263168),n}function tZ(e,t,n,r,i,a,o){let s=E(259);if(s.modifiers=rO(e),s.asteriskToken=t,s.name=rM(n),s.typeParameters=rO(r),s.parameters=v(i),s.type=a,s.body=o,!s.body||2&Af(s.modifiers))s.transformFlags=1;else{let e=512&Af(s.modifiers),t=!!s.asteriskToken;s.transformFlags=Is(s.modifiers)|Io(s.asteriskToken)|Ia(s.name)|Is(s.typeParameters)|Is(s.parameters)|Io(s.type)|-67108865&Io(s.body)|(e&&t?128:e?256:t?2048:0)|(s.typeParameters||s.type?1:0)|4194304}return s.typeArguments=void 0,s.jsDoc=void 0,s.locals=void 0,s.nextContainer=void 0,s.endFlowNode=void 0,s.returnFlowNode=void 0,s}function t0(e,t,n,r,i,a,o,s){var l;return e.modifiers!==t||e.asteriskToken!==n||e.name!==r||e.typeParameters!==i||e.parameters!==a||e.type!==o||e.body!==s?((l=tZ(t,n,r,i,a,o,s))!==e&&l.modifiers===e.modifiers&&(l.modifiers=e.modifiers),x(l,e)):e}function t1(e,t,n,r,i){let a=E(260);return a.modifiers=rO(e),a.name=rM(t),a.typeParameters=rO(n),a.heritageClauses=rO(r),a.members=v(i),2&Af(a.modifiers)?a.transformFlags=1:(a.transformFlags|=Is(a.modifiers)|Ia(a.name)|Is(a.typeParameters)|Is(a.heritageClauses)|Is(a.members)|(a.typeParameters?1:0)|1024,8192&a.transformFlags&&(a.transformFlags|=1)),a.jsDoc=void 0,a}function t2(e,t,r,i,a,o){return e.modifiers!==t||e.name!==r||e.typeParameters!==i||e.heritageClauses!==a||e.members!==o?n(t1(t,r,i,a,o),e):e}function t4(e,t,n,r,i){let a=E(261);return a.modifiers=rO(e),a.name=rM(t),a.typeParameters=rO(n),a.heritageClauses=rO(r),a.members=v(i),a.transformFlags=1,a.jsDoc=void 0,a}function t8(e,t,r,i,a,o){return e.modifiers!==t||e.name!==r||e.typeParameters!==i||e.heritageClauses!==a||e.members!==o?n(t4(t,r,i,a,o),e):e}function t6(e,t,n,r){let i=E(262);return i.modifiers=rO(e),i.name=rM(t),i.typeParameters=rO(n),i.type=r,i.transformFlags=1,i.jsDoc=void 0,i.locals=void 0,i.nextContainer=void 0,i}function t3(e,t,r,i,a){return e.modifiers!==t||e.name!==r||e.typeParameters!==i||e.type!==a?n(t6(t,r,i,a),e):e}function t5(e,t,n){let r=E(263);return r.modifiers=rO(e),r.name=rM(t),r.members=v(n),r.transformFlags|=Is(r.modifiers)|Io(r.name)|Is(r.members)|1,r.transformFlags&=-67108865,r.jsDoc=void 0,r}function t7(e,t,r,i){return e.modifiers!==t||e.name!==r||e.members!==i?n(t5(t,r,i),e):e}function t9(e,t,n,r=0){let i=E(264);return i.modifiers=rO(e),i.flags|=1044&r,i.name=t,i.body=n,2&Af(i.modifiers)?i.transformFlags=1:i.transformFlags|=Is(i.modifiers)|Io(i.name)|Io(i.body)|1,i.transformFlags&=-67108865,i.jsDoc=void 0,i.locals=void 0,i.nextContainer=void 0,i}function ne(e,t,r,i){return e.modifiers!==t||e.name!==r||e.body!==i?n(t9(t,r,i,e.flags),e):e}function nt(e){let t=b(265);return t.statements=v(e),t.transformFlags|=Is(t.statements),t.jsDoc=void 0,t}function nn(e){let t=b(266);return t.clauses=v(e),t.transformFlags|=Is(t.clauses),t.locals=void 0,t.nextContainer=void 0,t}function nr(e){let t=E(267);return t.name=rM(e),t.transformFlags|=1|-67108865&Io(t.name),t.modifiers=void 0,t.jsDoc=void 0,t}function ni(e,t,n,r){let i=E(268);return i.modifiers=rO(e),i.name=rM(n),i.isTypeOnly=t,i.moduleReference=r,i.transformFlags|=Is(i.modifiers)|-67108865&Io(i.name)|Io(i.moduleReference),ND(i.moduleReference)||(i.transformFlags|=1),i.transformFlags&=-67108865,i.jsDoc=void 0,i}function na(e,t,r,i,a){return e.modifiers!==t||e.isTypeOnly!==r||e.name!==i||e.moduleReference!==a?n(ni(t,r,i,a),e):e}function no(e,t,n,r){let i=b(269);return i.modifiers=rO(e),i.importClause=t,i.moduleSpecifier=n,i.assertClause=r,i.transformFlags|=Io(i.importClause)|Io(i.moduleSpecifier),i.transformFlags&=-67108865,i.jsDoc=void 0,i}function ns(e,t,r,i,a){return e.modifiers!==t||e.importClause!==r||e.moduleSpecifier!==i||e.assertClause!==a?n(no(t,r,i,a),e):e}function nl(e,t,n){let r=E(270);return r.isTypeOnly=e,r.name=t,r.namedBindings=n,r.transformFlags|=Io(r.name)|Io(r.namedBindings),e&&(r.transformFlags|=1),r.transformFlags&=-67108865,r}function nc(e,t){let n=b(296);return n.elements=v(e),n.multiLine=t,n.transformFlags|=4,n}function nd(e,t){let n=b(297);return n.name=e,n.value=t,n.transformFlags|=4,n}function nu(e,t){let n=b(298);return n.assertClause=e,n.multiLine=t,n}function n_(e){let t=E(271);return t.name=e,t.transformFlags|=Io(t.name),t.transformFlags&=-67108865,t}function np(e){let t=E(277);return t.name=e,t.transformFlags|=4|Io(t.name),t.transformFlags&=-67108865,t}function nf(e){let t=b(272);return t.elements=v(e),t.transformFlags|=Is(t.elements),t.transformFlags&=-67108865,t}function nm(e,t,n){let r=E(273);return r.isTypeOnly=e,r.propertyName=t,r.name=n,r.transformFlags|=Io(r.propertyName)|Io(r.name),r.transformFlags&=-67108865,r}function nh(e,t,n){let i=E(274);return i.modifiers=rO(e),i.isExportEquals=t,i.expression=t?r().parenthesizeRightSideOfBinary(63,void 0,n):r().parenthesizeExpressionOfExportDefault(n),i.transformFlags|=Is(i.modifiers)|Io(i.expression),i.transformFlags&=-67108865,i.jsDoc=void 0,i}function ny(e,t,r){return e.modifiers!==t||e.expression!==r?n(nh(t,e.isExportEquals,r),e):e}function ng(e,t,n,r,i){let a=E(275);return a.modifiers=rO(e),a.isTypeOnly=t,a.exportClause=n,a.moduleSpecifier=r,a.assertClause=i,a.transformFlags|=Is(a.modifiers)|Io(a.exportClause)|Io(a.moduleSpecifier),a.transformFlags&=-67108865,a.jsDoc=void 0,a}function nv(e,t,r,i,a,o){var s;return e.modifiers!==t||e.isTypeOnly!==r||e.exportClause!==i||e.moduleSpecifier!==a||e.assertClause!==o?((s=ng(t,r,i,a,o))!==e&&s.modifiers===e.modifiers&&(s.modifiers=e.modifiers),n(s,e)):e}function nb(e){let t=b(276);return t.elements=v(e),t.transformFlags|=Is(t.elements),t.transformFlags&=-67108865,t}function nE(e,t,n){let r=b(278);return r.isTypeOnly=e,r.propertyName=rM(t),r.name=rM(n),r.transformFlags|=Io(r.propertyName)|Io(r.name),r.transformFlags&=-67108865,r.jsDoc=void 0,r}function nT(e){let t=b(280);return t.expression=e,t.transformFlags|=Io(t.expression),t.transformFlags&=-67108865,t}function nx(e,t,n=!1){let i=nS(e,n?t&&r().parenthesizeNonArrayTypeOfPostfixType(t):t);return i.postfix=n,i}function nS(e,t){let n=b(e);return n.type=t,n}function nA(e,t){let n=E(320);return n.parameters=rO(e),n.type=t,n.transformFlags=Is(n.parameters)|(n.type?1:0),n.jsDoc=void 0,n.locals=void 0,n.nextContainer=void 0,n.typeArguments=void 0,n}function nL(e,t=!1){let n=E(325);return n.jsDocPropertyTags=rO(e),n.isArrayType=t,n}function nC(e){let t=b(312);return t.type=e,t}function nk(e,t,n){let r=E(326);return r.typeParameters=rO(e),r.parameters=v(t),r.type=n,r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r}function nI(e){let t=Ii(e.kind);return e.tagName.escapedText===hn(t)?e.tagName:R(t)}function nw(e,t,n){let r=b(e);return r.tagName=t,r.comment=n,r}function nR(e,t,n){let r=E(e);return r.tagName=t,r.comment=n,r}function nM(e,t,n,r){let i=nw(348,null!=e?e:R("template"),r);return i.constraint=t,i.typeParameters=v(n),i}function nB(e,t,n,r){let i=nR(349,null!=e?e:R("typedef"),r);return i.typeExpression=t,i.fullName=n,i.name=Of(n),i.locals=void 0,i.nextContainer=void 0,i}function nU(e,t,n,r,i,a){let o=nR(344,null!=e?e:R("param"),a);return o.typeExpression=r,o.name=t,o.isNameFirst=!!i,o.isBracketed=n,o}function nV(e,t,n,r,i,a){let o=nR(351,null!=e?e:R("prop"),a);return o.typeExpression=r,o.name=t,o.isNameFirst=!!i,o.isBracketed=n,o}function nj(e,t,n,r){let i=nR(341,null!=e?e:R("callback"),r);return i.typeExpression=t,i.fullName=n,i.name=Of(n),i.locals=void 0,i.nextContainer=void 0,i}function nH(e,t,n){let r=nw(342,null!=e?e:R("overload"),n);return r.typeExpression=t,r}function nK(e,t,n){let r=nw(331,null!=e?e:R("augments"),n);return r.class=t,r}function nW(e,t,n){let r=nw(332,null!=e?e:R("implements"),n);return r.class=t,r}function nz(e,t,n){let r=nw(350,null!=e?e:R("see"),n);return r.name=t,r}function nq(e){let t=b(313);return t.name=e,t}function nJ(e,t){let n=b(314);return n.left=e,n.right=t,n.transformFlags|=Io(n.left)|Io(n.right),n}function nX(e,t){let n=b(327);return n.name=e,n.text=t,n}function nY(e,t){let n=b(328);return n.name=e,n.text=t,n}function n$(e,t){let n=b(329);return n.name=e,n.text=t,n}function nQ(e,t,n){return nw(e,null!=t?t:R(Ii(e)),n)}function nZ(e,t,n,r){let i=nw(e,null!=t?t:R(Ii(e)),r);return i.typeExpression=n,i}function n0(e,t){return nw(330,e,t)}function n1(e,t,n){let r=nR(343,null!=e?e:R(Ii(343)),n);return r.typeExpression=t,r.locals=void 0,r.nextContainer=void 0,r}function n2(e){let t=b(324);return t.text=e,t}function n4(e,t){let n=b(323);return n.comment=e,n.tags=rO(t),n}function n8(e,t,n){let r=b(281);return r.openingElement=e,r.children=v(t),r.closingElement=n,r.transformFlags|=Io(r.openingElement)|Is(r.children)|Io(r.closingElement)|2,r}function n6(e,t,n){let r=b(282);return r.tagName=e,r.typeArguments=rO(t),r.attributes=n,r.transformFlags|=Io(r.tagName)|Is(r.typeArguments)|Io(r.attributes)|2,r.typeArguments&&(r.transformFlags|=1),r}function n3(e,t,n){let r=b(283);return r.tagName=e,r.typeArguments=rO(t),r.attributes=n,r.transformFlags|=Io(r.tagName)|Is(r.typeArguments)|Io(r.attributes)|2,t&&(r.transformFlags|=1),r}function n5(e){let t=b(284);return t.tagName=e,t.transformFlags|=2|Io(t.tagName),t}function n7(e,t,n){let r=b(285);return r.openingFragment=e,r.children=v(t),r.closingFragment=n,r.transformFlags|=Io(r.openingFragment)|Is(r.children)|Io(r.closingFragment)|2,r}function n9(e,t){let n=b(11);return n.text=e,n.containsOnlyTriviaWhiteSpaces=!!t,n.transformFlags|=2,n}function re(e,t){let n=E(288);return n.name=e,n.initializer=t,n.transformFlags|=Io(n.name)|Io(n.initializer)|2,n}function rt(e){let t=E(289);return t.properties=v(e),t.transformFlags|=2|Is(t.properties),t}function rn(e){let t=b(290);return t.expression=e,t.transformFlags|=2|Io(t.expression),t}function rr(e,t){let n=b(291);return n.dotDotDotToken=e,n.expression=t,n.transformFlags|=Io(n.dotDotDotToken)|Io(n.expression)|2,n}function ri(e,t){let n=b(292);return n.expression=r().parenthesizeExpressionForDisallowedComma(e),n.statements=v(t),n.transformFlags|=Io(n.expression)|Is(n.statements),n.jsDoc=void 0,n}function ra(e){let t=b(293);return t.statements=v(e),t.transformFlags=Is(t.statements),t}function ro(e,t){let n=b(294);switch(n.token=e,n.types=v(t),n.transformFlags|=Is(n.types),e){case 94:n.transformFlags|=1024;break;case 117:n.transformFlags|=1;break;default:return T.assertNever(e)}return n}function rs(e,t){let n=b(295);return n.variableDeclaration="string"==typeof e||e&&!Nr(e)?t$(e,void 0,void 0,void 0):e,n.block=t,n.transformFlags|=Io(n.variableDeclaration)|Io(n.block)|(e?0:64),n.locals=void 0,n.nextContainer=void 0,n}function rl(e,t){let n=E(299);return n.name=rM(e),n.initializer=r().parenthesizeExpressionForDisallowedComma(t),n.transformFlags|=Ia(n.name)|Io(n.initializer),n.modifiers=void 0,n.questionToken=void 0,n.exclamationToken=void 0,n.jsDoc=void 0,n}function rc(e,t){let n=E(300);return n.name=rM(e),n.objectAssignmentInitializer=t&&r().parenthesizeExpressionForDisallowedComma(t),n.transformFlags|=-67108865&Io(n.name)|Io(n.objectAssignmentInitializer)|1024,n.equalsToken=void 0,n.modifiers=void 0,n.questionToken=void 0,n.exclamationToken=void 0,n.jsDoc=void 0,n}function rd(e){let t=E(301);return t.expression=r().parenthesizeExpressionForDisallowedComma(e),t.transformFlags|=65664|Io(t.expression),t.jsDoc=void 0,t}function ru(e,t){let n=E(302);return n.name=rM(e),n.initializer=t&&r().parenthesizeExpressionForDisallowedComma(t),n.transformFlags|=Io(n.name)|Io(n.initializer)|1,n.jsDoc=void 0,n}function r_(e){let t=Object.create(e.redirectTarget);return Object.defineProperties(t,{id:{get(){return this.redirectInfo.redirectTarget.id},set(e){this.redirectInfo.redirectTarget.id=e}},symbol:{get(){return this.redirectInfo.redirectTarget.symbol},set(e){this.redirectInfo.redirectTarget.symbol=e}}}),t.redirectInfo=e,t}function rp(e){let n;let r=e.redirectInfo?(n=r_(e.redirectInfo),n.flags|=-9&e.flags,n.fileName=e.fileName,n.path=e.path,n.resolvedPath=e.resolvedPath,n.originalFileName=e.originalFileName,n.packageJsonLocations=e.packageJsonLocations,n.packageJsonScope=e.packageJsonScope,n.emitNode=void 0,n):function(e){let n=t.createBaseSourceFileNode(308);for(let t in n.flags|=-9&e.flags,e)if(!u4(n,t)&&u4(e,t)){if("emitNode"===t){n.emitNode=void 0;continue}n[t]=e[t]}return n}(e);return Ih(r,e),r}function rf(e,t=o){let n=b(309);return n.prepends=t,n.sourceFiles=e,n.syntheticFileReferences=void 0,n.syntheticTypeReferences=void 0,n.syntheticLibReferences=void 0,n.hasNoDefaultLib=void 0,n}function rm(e,t){let n=b(e);return n.data=t,n}function rh(e,t){let n=b(356);return n.expression=e,n.original=t,n.transformFlags|=1|Io(n.expression),OV(n,t),n}function ry(e,t){return e.expression!==t?n(rh(t,e.original),e):e}function rg(e){if(x1(e)&&!he(e)&&!e.original&&!e.emitNode&&!e.id){if(RW(e))return e.elements;if(RR(e)&&wu(e.operatorToken))return[e.left,e.right]}return e}function rv(e){let t=b(357);return t.elements=v(uc(e,rg)),t.transformFlags|=Is(t.elements),t}function rb(e,t){let n=b(360);return n.expression=e,n.thisArg=t,n.transformFlags|=Io(n.expression)|Io(n.thisArg),n}function rE(e){if(void 0===e)return e;if(N0(e))return rp(e);if(yL(e)){let t;return t=I(e.escapedText),t.flags|=-9&e.flags,t.transformFlags=e.transformFlags,Ih(t,e),I0(t,{...e.emitNode.autoGenerate}),t}if(wb(e)){let t,n;return t=I(e.escapedText),t.flags|=-9&e.flags,t.jsDoc=e.jsDoc,t.flowNode=e.flowNode,t.symbol=e.symbol,t.transformFlags=e.transformFlags,Ih(t,e),(n=IZ(e))&&IQ(t,n),t}if(yC(e)){let t;return t=O(e.escapedText),t.flags|=-9&e.flags,t.transformFlags=e.transformFlags,Ih(t,e),I0(t,{...e.emitNode.autoGenerate}),t}if(wE(e)){let t;return t=O(e.escapedText),t.flags|=-9&e.flags,t.transformFlags=e.transformFlags,Ih(t,e),t}let n=yd(e.kind)?t.createBaseNode(e.kind):t.createBaseTokenNode(e.kind);for(let t in n.flags|=-9&e.flags,n.transformFlags=e.transformFlags,Ih(n,e),e)!u4(n,t)&&u4(e,t)&&(n[t]=e[t]);return n}function rT(){return ti(S("0"))}function rx(e,t,n){return h6(e)?e0(ez(e,void 0,t),void 0,void 0,n):eZ(eW(e,t),void 0,n)}function rS(e,t,n){return rx(R(e),t,n)}function rA(e,t,n){return!!n&&(e.push(rl(t,n)),!0)}function rL(e,t){let n=xi(e);switch(n.kind){case 79:return t;case 108:case 8:case 9:case 10:return!1;case 206:if(0===n.elements.length)return!1;return!0;case 207:return n.properties.length>0;default:return!0}}function rC(e,t,n,r=0){let i=hp(e);if(i&&wb(i)&&!yL(i)){let e=kC(OV(rE(i),i),i.parent);return r|=v0(i),n||(r|=96),t||(r|=3072),r&&IE(e,r),e}return D(e)}function rk(e,t,n){return rC(e,t,n,16384)}function rI(e,t,n,r){let i=eW(e,x1(t)?t:rE(t));OV(i,t);let a=0;return r||(a|=96),n||(a|=3072),a&&IE(i,a),i}function rw(){return D9(tM(C("use strict")))}function rR(e,t,n=0,r){T.assert(0===t.length,"Prologue directives should be at the first statement in the target statements array");let i=!1,a=e.length;for(;n=179&&e<=202)return -2;switch(e){case 210:case 211:case 206:case 203:case 204:return -2147450880;case 264:return -1941676032;case 166:case 213:case 235:case 231:case 356:case 214:case 106:case 208:case 209:default:return -2147483648;case 216:return -2072174592;case 215:case 259:return -1937940480;case 258:return -2146893824;case 260:case 228:return -2147344384;case 173:return -1937948672;case 169:return -2013249536;case 171:case 174:case 175:return -2005057536;case 131:case 148:case 160:case 144:case 152:case 149:case 134:case 153:case 114:case 165:case 168:case 170:case 176:case 177:case 178:case 261:case 262:return -2;case 207:return -2147278848;case 295:return -2147418112}}function Id(e){return e.flags|=8,e}function Iu(e,t,n){let r,i,a,s,l,c,d,u,_,p;_v(e)?(a="",s=e,l=e.length,c=t,d=n):(T.assert("js"===t||"dts"===t),a=("js"===t?e.javascriptPath:e.declarationPath)||"",c="js"===t?e.javascriptMapPath:e.declarationMapPath,u=()=>"js"===t?e.javascriptText:e.declarationText,_=()=>"js"===t?e.javascriptMapText:e.declarationMapText,l=()=>u().length,e.buildInfo&&e.buildInfo.bundle&&(T.assert(void 0===n||"boolean"==typeof n),r=n,i="js"===t?e.buildInfo.bundle.js:e.buildInfo.bundle.dts,p=e.oldFileOfCurrentEmit));let f=p?function(e){let t,n;for(let r of e.sections)switch(r.kind){case"internal":case"text":t=uD(t,OV(nU.createUnparsedTextLike(r.data,"internal"===r.kind),r));break;case"no-default-lib":case"reference":case"type":case"type-import":case"type-require":case"lib":n=uD(n,OV(nU.createUnparsedSyntheticReference(r),r));break;case"prologue":case"emitHelpers":case"prepend":break;default:T.assertNever(r)}let r=nU.createUnparsedSource(o,n,null!=t?t:o);return kk(n,r),kk(t,r),r.helpers=un(e.sources&&e.sources.helpers,e=>I7().get(e)),r}(T.checkDefined(i)):function(e,t,n){let r,i,a,s,l,c,d,u,_;for(let n of e?e.sections:o)switch(n.kind){case"prologue":r=uD(r,OV(nU.createUnparsedPrologue(n.data),n));break;case"emitHelpers":i=uD(i,I7().get(n.data));break;case"no-default-lib":u=!0;break;case"reference":a=uD(a,{pos:-1,end:-1,fileName:n.data});break;case"type":s=uD(s,{pos:-1,end:-1,fileName:n.data});break;case"type-import":s=uD(s,{pos:-1,end:-1,fileName:n.data,resolutionMode:99});break;case"type-require":s=uD(s,{pos:-1,end:-1,fileName:n.data,resolutionMode:1});break;case"lib":l=uD(l,{pos:-1,end:-1,fileName:n.data});break;case"prepend":for(let e of n.texts)t&&"internal"===e.kind||(_=uD(_,OV(nU.createUnparsedTextLike(e.data,"internal"===e.kind),e)));c=uP(c,_),d=uD(d,nU.createUnparsedPrepend(n.data,null!=_?_:o));break;case"internal":if(t){d||(d=[]);break}case"text":d=uD(d,OV(nU.createUnparsedTextLike(n.data,"internal"===n.kind),n));break;default:T.assertNever(n)}if(!d){let e=nU.createUnparsedTextLike(void 0,!1);kA(e,0,"function"==typeof n?n():n),d=[e]}let p=rT.createUnparsedSource(null!=r?r:o,void 0,d);return kk(r,p),kk(d,p),kk(c,p),p.hasNoDefaultLib=u,p.helpers=i,p.referencedFiles=a||o,p.typeReferenceDirectives=s,p.libReferenceDirectives=l||o,p}(i,r,l);return f.fileName=a,f.sourceMapPath=c,f.oldFileOfCurrentEmit=p,u&&_?(Object.defineProperty(f,"text",{get:u}),Object.defineProperty(f,"sourceMapText",{get:_})):(T.assert(!p),f.text=null!=s?s:"",f.sourceMapText=d),f}function I_(e,t,n,r,i,a){return _v(e)?If(void 0,e,n,r,void 0,t,i,a):Ip(e,t,n,r,i,a)}function Ip(e,t,n,r,i,a,o,s){let l;let c=rT.createInputFiles();c.javascriptPath=t,c.javascriptMapPath=n,c.declarationPath=r,c.declarationMapPath=i,c.buildInfoPath=a;let d=new Map,u=t=>{if(void 0===t)return;let n=d.get(t);return void 0===n&&(n=e(t),d.set(t,void 0!==n&&n)),!1!==n?n:void 0},_=e=>{let t=u(e);return void 0!==t?t:`/* Input file ${e} was missing */\r +`};return Object.defineProperties(c,{javascriptText:{get:()=>_(t)},javascriptMapText:{get:()=>u(n)},declarationText:{get:()=>_(T.checkDefined(r))},declarationMapText:{get:()=>u(i)},buildInfo:{get:()=>{var e,t;if(void 0===l&&a){if(null==o?void 0:o.getBuildInfo)l=null!=(e=o.getBuildInfo(a,s.configFilePath))&&e;else{let e=u(a);l=void 0!==e&&null!=(t=AW(a,e))&&t}}return l||void 0}}}),c}function If(e,t,n,r,i,a,o,s,l,c,d){let u=rT.createInputFiles();return u.javascriptPath=e,u.javascriptText=t,u.javascriptMapPath=n,u.javascriptMapText=r,u.declarationPath=i,u.declarationText=a,u.declarationMapPath=o,u.declarationMapText=s,u.buildInfoPath=l,u.buildInfo=c,u.oldFileOfCurrentEmit=d,u}function Im(e,t,n){return new(nV||(nV=nl.getSourceMapSourceConstructor()))(e,t,n)}function Ih(e,t){if(e.original=t,t){let n=t.emitNode;n&&(e.emitNode=function(e,t){let{flags:n,internalFlags:r,leadingComments:i,trailingComments:a,commentRange:o,sourceMapRange:s,tokenSourceMapRanges:l,constantValue:c,helpers:d,startsOnNewLine:u,snippetElement:_}=e;if(t||(t={}),i&&(t.leadingComments=uP(i.slice(),t.leadingComments)),a&&(t.trailingComments=uP(a.slice(),t.trailingComments)),n&&(t.flags=n),r&&(t.internalFlags=-9&r),o&&(t.commentRange=o),s&&(t.sourceMapRange=s),l&&(t.tokenSourceMapRanges=function(e,t){for(let n in t||(t=[]),e)t[n]=e[n];return t}(l,t.tokenSourceMapRanges)),void 0!==c&&(t.constantValue=c),d)for(let e of d)t.helpers=uG(t.helpers,e);return void 0!==u&&(t.startsOnNewLine=u),void 0!==_&&(t.snippetElement=_),t}(n,e.emitNode))}return e}var Iy=dj({"src/compiler/factory/nodeFactory.ts"(){var e;Kr(),nO=0,(e=nM||{})[e.None=0]="None",e[e.NoParenthesizerRules=1]="NoParenthesizerRules",e[e.NoNodeConverters=2]="NoNodeConverters",e[e.NoIndentationOnFreshPropertyAccess=4]="NoIndentationOnFreshPropertyAccess",e[e.NoOriginalNode=8]="NoOriginalNode",nM=e,nP=[],nG={},nB=k8(),nU=It(4,{createBaseSourceFileNode:e=>Id(nB.createBaseSourceFileNode(e)),createBaseIdentifierNode:e=>Id(nB.createBaseIdentifierNode(e)),createBasePrivateIdentifierNode:e=>Id(nB.createBasePrivateIdentifierNode(e)),createBaseTokenNode:e=>Id(nB.createBaseTokenNode(e)),createBaseNode:e=>Id(nB.createBaseNode(e))})}});function Ig(e){var t;if(e.emitNode)T.assert(!(8&e.emitNode.internalFlags),"Invalid attempt to mutate an immutable node.");else{if(he(e)){if(308===e.kind)return e.emitNode={annotatedNodes:[e]};Ig(null!=(t=vS(ht(vS(e))))?t:T.fail("Could not determine parsed source file.")).annotatedNodes.push(e)}e.emitNode={}}return e.emitNode}function Iv(e){var t,n;let r=null==(n=null==(t=vS(ht(e)))?void 0:t.emitNode)?void 0:n.annotatedNodes;if(r)for(let e of r)e.emitNode=void 0}function Ib(e){let t=Ig(e);return t.flags|=3072,t.leadingComments=void 0,t.trailingComments=void 0,e}function IE(e,t){return Ig(e).flags=t,e}function IT(e,t){let n=Ig(e);return n.flags=n.flags|t,e}function Ix(e,t){return Ig(e).internalFlags=t,e}function IS(e,t){let n=Ig(e);return n.internalFlags=n.internalFlags|t,e}function IA(e){var t,n;return null!=(n=null==(t=e.emitNode)?void 0:t.sourceMapRange)?n:e}function IL(e,t){return Ig(e).sourceMapRange=t,e}function IC(e,t){var n,r;return null==(r=null==(n=e.emitNode)?void 0:n.tokenSourceMapRanges)?void 0:r[t]}function Ik(e,t,n){var r;let i=Ig(e);return(null!=(r=i.tokenSourceMapRanges)?r:i.tokenSourceMapRanges=[])[t]=n,e}function II(e){var t;return null==(t=e.emitNode)?void 0:t.startsOnNewLine}function Iw(e,t){return Ig(e).startsOnNewLine=t,e}function IR(e){var t,n;return null!=(n=null==(t=e.emitNode)?void 0:t.commentRange)?n:e}function IN(e,t){return Ig(e).commentRange=t,e}function ID(e){var t;return null==(t=e.emitNode)?void 0:t.leadingComments}function IO(e,t){return Ig(e).leadingComments=t,e}function IM(e,t,n,r){return IO(e,uD(ID(e),{kind:t,pos:-1,end:-1,hasTrailingNewLine:r,text:n}))}function IP(e){var t;return null==(t=e.emitNode)?void 0:t.trailingComments}function IF(e,t){return Ig(e).trailingComments=t,e}function IG(e,t,n,r){return IF(e,uD(IP(e),{kind:t,pos:-1,end:-1,hasTrailingNewLine:r,text:n}))}function IB(e,t){IO(e,ID(t)),IF(e,IP(t));let n=Ig(t);return n.leadingComments=void 0,n.trailingComments=void 0,e}function IU(e){var t;return null==(t=e.emitNode)?void 0:t.constantValue}function IV(e,t){return Ig(e).constantValue=t,e}function Ij(e,t){let n=Ig(e);return n.helpers=uD(n.helpers,t),e}function IH(e,t){if(uv(t)){let n=Ig(e);for(let e of t)n.helpers=uG(n.helpers,e)}return e}function IK(e,t){var n;let r=null==(n=e.emitNode)?void 0:n.helpers;return!!r&&_8(r,t)}function IW(e){var t;return null==(t=e.emitNode)?void 0:t.helpers}function Iz(e,t,n){let r=e.emitNode,i=r&&r.helpers;if(!uv(i))return;let a=Ig(t),o=0;for(let e=0;e0&&(i[e-o]=t)}o>0&&(i.length-=o)}function Iq(e){var t;return null==(t=e.emitNode)?void 0:t.snippetElement}function IJ(e,t){return Ig(e).snippetElement=t,e}function IX(e){return Ig(e).internalFlags|=4,e}function IY(e,t){return Ig(e).typeNode=t,e}function I$(e){var t;return null==(t=e.emitNode)?void 0:t.typeNode}function IQ(e,t){return Ig(e).identifierTypeArguments=t,e}function IZ(e){var t;return null==(t=e.emitNode)?void 0:t.identifierTypeArguments}function I0(e,t){return Ig(e).autoGenerate=t,e}function I1(e){var t;return null==(t=e.emitNode)?void 0:t.autoGenerate}function I2(e,t){return Ig(e).generatedImportReference=t,e}function I4(e){var t;return null==(t=e.emitNode)?void 0:t.generatedImportReference}var I8=dj({"src/compiler/factory/emitNode.ts"(){Kr()}});function I6(e){let t=e.factory,n=_R(()=>Ix(t.createTrue(),8)),r=_R(()=>Ix(t.createFalse(),8));return{getUnscopedHelperName:i,createDecorateHelper:function(n,r,a,o){e.requestEmitHelper(nH);let s=[];return s.push(t.createArrayLiteralExpression(n,!0)),s.push(r),a&&(s.push(a),o&&s.push(o)),t.createCallExpression(i("__decorate"),void 0,s)},createMetadataHelper:function(n,r){return e.requestEmitHelper(nK),t.createCallExpression(i("__metadata"),void 0,[t.createStringLiteral(n),r])},createParamHelper:function(n,r,a){return e.requestEmitHelper(nW),OV(t.createCallExpression(i("__param"),void 0,[t.createNumericLiteral(r+""),n]),a)},createESDecorateHelper:function(n,r,a,o,s,l){var c,d;let u,_,p,f;return e.requestEmitHelper(nz),t.createCallExpression(i("__esDecorate"),void 0,[null!=n?n:t.createNull(),null!=r?r:t.createNull(),a,"class"===o.kind?t.createObjectLiteralExpression([t.createPropertyAssignment(t.createIdentifier("kind"),t.createStringLiteral("class")),t.createPropertyAssignment(t.createIdentifier("name"),o.name)]):t.createObjectLiteralExpression([t.createPropertyAssignment(t.createIdentifier("kind"),t.createStringLiteral(o.kind)),t.createPropertyAssignment(t.createIdentifier("name"),o.name.computed?o.name.name:t.createStringLiteralFromNode(o.name.name)),t.createPropertyAssignment(t.createIdentifier("static"),o.static?t.createTrue():t.createFalse()),t.createPropertyAssignment(t.createIdentifier("private"),o.private?t.createTrue():t.createFalse()),t.createPropertyAssignment(t.createIdentifier("access"),(c=o.name,d=o.access,(u=[]).push((_=c.computed?c.name:wb(c.name)?t.createStringLiteralFromNode(c.name):c.name,t.createPropertyAssignment("has",t.createArrowFunction(void 0,void 0,[t.createParameterDeclaration(void 0,void 0,t.createIdentifier("obj"))],void 0,void 0,t.createBinaryExpression(_,101,t.createIdentifier("obj")))))),d.get&&u.push((p=c.computed?t.createElementAccessExpression(t.createIdentifier("obj"),c.name):t.createPropertyAccessExpression(t.createIdentifier("obj"),c.name),t.createPropertyAssignment("get",t.createArrowFunction(void 0,void 0,[t.createParameterDeclaration(void 0,void 0,t.createIdentifier("obj"))],void 0,void 0,p)))),d.set&&u.push((f=c.computed?t.createElementAccessExpression(t.createIdentifier("obj"),c.name):t.createPropertyAccessExpression(t.createIdentifier("obj"),c.name),t.createPropertyAssignment("set",t.createArrowFunction(void 0,void 0,[t.createParameterDeclaration(void 0,void 0,t.createIdentifier("obj")),t.createParameterDeclaration(void 0,void 0,t.createIdentifier("value"))],void 0,void 0,t.createBlock([t.createExpressionStatement(t.createAssignment(f,t.createIdentifier("value")))]))))),t.createObjectLiteralExpression(u)))]),s,l])},createRunInitializersHelper:function(n,r,a){return e.requestEmitHelper(nq),t.createCallExpression(i("__runInitializers"),void 0,a?[n,r,a]:[n,r])},createAssignHelper:function(n){return Ct(e.getCompilerOptions())>=2?t.createCallExpression(t.createPropertyAccessExpression(t.createIdentifier("Object"),"assign"),void 0,n):(e.requestEmitHelper(nJ),t.createCallExpression(i("__assign"),void 0,n))},createAwaitHelper:function(n){return e.requestEmitHelper(nX),t.createCallExpression(i("__await"),void 0,[n])},createAsyncGeneratorHelper:function(n,r){return e.requestEmitHelper(nX),e.requestEmitHelper(nY),(n.emitNode||(n.emitNode={})).flags|=1572864,t.createCallExpression(i("__asyncGenerator"),void 0,[r?t.createThis():t.createVoidZero(),t.createIdentifier("arguments"),n])},createAsyncDelegatorHelper:function(n){return e.requestEmitHelper(nX),e.requestEmitHelper(n$),t.createCallExpression(i("__asyncDelegator"),void 0,[n])},createAsyncValuesHelper:function(n){return e.requestEmitHelper(nQ),t.createCallExpression(i("__asyncValues"),void 0,[n])},createRestHelper:function(n,r,a,o){e.requestEmitHelper(nZ);let s=[],l=0;for(let e=0;e{let r="";for(let i=0;ie.name))}function I9(e,t){return Rg(e)&&wb(e.expression)&&(8192&v0(e.expression))!=0&&e.expression.escapedText===t}var we=dj({"src/compiler/factory/emitHelpers.ts"(){var e;Kr(),(e=nj||{}).Field="f",e.Method="m",e.Accessor="a",nj=e,nH={name:"typescript:decorate",importName:"__decorate",scoped:!1,priority:2,text:` + var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; + };`},nK={name:"typescript:metadata",importName:"__metadata",scoped:!1,priority:3,text:` + var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); + };`},nW={name:"typescript:param",importName:"__param",scoped:!1,priority:4,text:` + var __param = (this && this.__param) || function (paramIndex, decorator) { + return function (target, key) { decorator(target, key, paramIndex); } + };`},nz={name:"typescript:esDecorate",importName:"__esDecorate",scoped:!1,priority:2,text:` + var __esDecorate = (this && this.__esDecorate) || function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) { + function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; } + var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value"; + var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null; + var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {}); + var _, done = false; + for (var i = decorators.length - 1; i >= 0; i--) { + var context = {}; + for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p]; + for (var p in contextIn.access) context.access[p] = contextIn.access[p]; + context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); }; + var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context); + if (kind === "accessor") { + if (result === void 0) continue; + if (result === null || typeof result !== "object") throw new TypeError("Object expected"); + if (_ = accept(result.get)) descriptor.get = _; + if (_ = accept(result.set)) descriptor.set = _; + if (_ = accept(result.init)) initializers.push(_); + } + else if (_ = accept(result)) { + if (kind === "field") initializers.push(_); + else descriptor[key] = _; + } + } + if (target) Object.defineProperty(target, contextIn.name, descriptor); + done = true; + };`},nq={name:"typescript:runInitializers",importName:"__runInitializers",scoped:!1,priority:2,text:` + var __runInitializers = (this && this.__runInitializers) || function (thisArg, initializers, value) { + var useValue = arguments.length > 2; + for (var i = 0; i < initializers.length; i++) { + value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg); + } + return useValue ? value : void 0; + };`},nJ={name:"typescript:assign",importName:"__assign",scoped:!1,priority:1,text:` + var __assign = (this && this.__assign) || function () { + __assign = Object.assign || function(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) + t[p] = s[p]; + } + return t; + }; + return __assign.apply(this, arguments); + };`},nY={name:"typescript:asyncGenerator",importName:"__asyncGenerator",scoped:!1,dependencies:[nX={name:"typescript:await",importName:"__await",scoped:!1,text:` + var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }`}],text:` + var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var g = generator.apply(thisArg, _arguments || []), i, q = []; + return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; + function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } + function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } + function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } + function fulfill(value) { resume("next", value); } + function reject(value) { resume("throw", value); } + function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } + };`},n$={name:"typescript:asyncDelegator",importName:"__asyncDelegator",scoped:!1,dependencies:[nX],text:` + var __asyncDelegator = (this && this.__asyncDelegator) || function (o) { + var i, p; + return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; + function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; } + };`},nQ={name:"typescript:asyncValues",importName:"__asyncValues",scoped:!1,text:` + var __asyncValues = (this && this.__asyncValues) || function (o) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var m = o[Symbol.asyncIterator], i; + return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); + function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } + function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } + };`},nZ={name:"typescript:rest",importName:"__rest",scoped:!1,text:` + var __rest = (this && this.__rest) || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) + t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") + for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) + t[p[i]] = s[p[i]]; + } + return t; + };`},n0={name:"typescript:awaiter",importName:"__awaiter",scoped:!1,priority:5,text:` + var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); + };`},n1={name:"typescript:extends",importName:"__extends",scoped:!1,priority:0,text:` + var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; + })();`},n2={name:"typescript:makeTemplateObject",importName:"__makeTemplateObject",scoped:!1,priority:0,text:` + var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) { + if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } + return cooked; + };`},n4={name:"typescript:read",importName:"__read",scoped:!1,text:` + var __read = (this && this.__read) || function (o, n) { + var m = typeof Symbol === "function" && o[Symbol.iterator]; + if (!m) return o; + var i = m.call(o), r, ar = [], e; + try { + while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); + } + catch (error) { e = { error: error }; } + finally { + try { + if (r && !r.done && (m = i["return"])) m.call(i); + } + finally { if (e) throw e.error; } + } + return ar; + };`},n8={name:"typescript:spreadArray",importName:"__spreadArray",scoped:!1,text:` + var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { + if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { + if (ar || !(i in from)) { + if (!ar) ar = Array.prototype.slice.call(from, 0, i); + ar[i] = from[i]; + } + } + return to.concat(ar || Array.prototype.slice.call(from)); + };`},n6={name:"typescript:propKey",importName:"__propKey",scoped:!1,text:` + var __propKey = (this && this.__propKey) || function (x) { + return typeof x === "symbol" ? x : "".concat(x); + };`},n3={name:"typescript:setFunctionName",importName:"__setFunctionName",scoped:!1,text:` + var __setFunctionName = (this && this.__setFunctionName) || function (f, name, prefix) { + if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : ""; + return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name }); + };`},n5={name:"typescript:values",importName:"__values",scoped:!1,text:` + var __values = (this && this.__values) || function(o) { + var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; + if (m) return m.call(o); + if (o && typeof o.length === "number") return { + next: function () { + if (o && i >= o.length) o = void 0; + return { value: o && o[i++], done: !o }; + } + }; + throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); + };`},n7={name:"typescript:generator",importName:"__generator",scoped:!1,priority:6,text:` + var __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (g && (g = 0, op[0] && (_ = 0)), _) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } + };`},n9={name:"typescript:commonjscreatebinding",importName:"__createBinding",scoped:!1,priority:1,text:` + var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); + }) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; + }));`},re={name:"typescript:commonjscreatevalue",importName:"__setModuleDefault",scoped:!1,priority:1,text:` + var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); + }) : function(o, v) { + o["default"] = v; + });`},rt={name:"typescript:commonjsimportstar",importName:"__importStar",scoped:!1,dependencies:[n9,re],priority:2,text:` + var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; + };`},rn={name:"typescript:commonjsimportdefault",importName:"__importDefault",scoped:!1,text:` + var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; + };`},rr={name:"typescript:export-star",importName:"__exportStar",scoped:!1,dependencies:[n9],priority:2,text:` + var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); + };`},ri={name:"typescript:classPrivateFieldGet",importName:"__classPrivateFieldGet",scoped:!1,text:` + var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { + if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); + if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); + return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver); + };`},rs={name:"typescript:classPrivateFieldSet",importName:"__classPrivateFieldSet",scoped:!1,text:` + var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { + if (kind === "m") throw new TypeError("Private method is not writable"); + if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); + if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it"); + return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value; + };`},rl={name:"typescript:classPrivateFieldIn",importName:"__classPrivateFieldIn",scoped:!1,text:` + var __classPrivateFieldIn = (this && this.__classPrivateFieldIn) || function(state, receiver) { + if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object"); + return typeof state === "function" ? receiver === state : state.has(receiver); + };`},r_={name:"typescript:async-super",scoped:!0,text:I5` + const ${"_superIndex"} = name => super[name];`},rp={name:"typescript:advanced-async-super",scoped:!0,text:I5` + const ${"_superIndex"} = (function (geti, seti) { + const cache = Object.create(null); + return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } }); + })(name => super[name], (name, value) => super[name] = value);`}}});function wt(e){return 8===e.kind}function wn(e){return 9===e.kind}function wr(e){return 10===e.kind}function wi(e){return 11===e.kind}function wa(e){return 13===e.kind}function wo(e){return 14===e.kind}function ws(e){return 15===e.kind}function wl(e){return 16===e.kind}function wc(e){return 17===e.kind}function wd(e){return 25===e.kind}function wu(e){return 27===e.kind}function w_(e){return 39===e.kind}function wp(e){return 40===e.kind}function wf(e){return 41===e.kind}function wm(e){return 53===e.kind}function wh(e){return 57===e.kind}function wy(e){return 58===e.kind}function wg(e){return 28===e.kind}function wv(e){return 38===e.kind}function wb(e){return 79===e.kind}function wE(e){return 80===e.kind}function wT(e){return 93===e.kind}function wx(e){return 88===e.kind}function wS(e){return 132===e.kind}function wA(e){return 129===e.kind}function wL(e){return 133===e.kind}function wC(e){return 146===e.kind}function wk(e){return 124===e.kind}function wI(e){return 126===e.kind}function ww(e){return 161===e.kind}function wR(e){return 127===e.kind}function wN(e){return 106===e.kind}function wD(e){return 100===e.kind}function wO(e){return 82===e.kind}function wM(e){return 163===e.kind}function wP(e){return 164===e.kind}function wF(e){return 165===e.kind}function wG(e){return 166===e.kind}function wB(e){return 167===e.kind}function wU(e){return 168===e.kind}function wV(e){return 169===e.kind}function wj(e){return 170===e.kind}function wH(e){return 171===e.kind}function wK(e){return 172===e.kind}function wW(e){return 173===e.kind}function wz(e){return 174===e.kind}function wq(e){return 175===e.kind}function wJ(e){return 176===e.kind}function wX(e){return 177===e.kind}function wY(e){return 178===e.kind}function w$(e){return 179===e.kind}function wQ(e){return 180===e.kind}function wZ(e){return 181===e.kind}function w0(e){return 182===e.kind}function w1(e){return 183===e.kind}function w2(e){return 184===e.kind}function w4(e){return 185===e.kind}function w8(e){return 186===e.kind}function w6(e){return 199===e.kind}function w3(e){return 187===e.kind}function w5(e){return 188===e.kind}function w7(e){return 189===e.kind}function w9(e){return 190===e.kind}function Re(e){return 191===e.kind}function Rt(e){return 192===e.kind}function Rn(e){return 193===e.kind}function Rr(e){return 194===e.kind}function Ri(e){return 195===e.kind}function Ra(e){return 196===e.kind}function Ro(e){return 197===e.kind}function Rs(e){return 198===e.kind}function Rl(e){return 202===e.kind}function Rc(e){return 201===e.kind}function Rd(e){return 200===e.kind}function Ru(e){return 203===e.kind}function R_(e){return 204===e.kind}function Rp(e){return 205===e.kind}function Rf(e){return 206===e.kind}function Rm(e){return 207===e.kind}function Rh(e){return 208===e.kind}function Ry(e){return 209===e.kind}function Rg(e){return 210===e.kind}function Rv(e){return 211===e.kind}function Rb(e){return 212===e.kind}function RE(e){return 213===e.kind}function RT(e){return 214===e.kind}function Rx(e){return 215===e.kind}function RS(e){return 216===e.kind}function RA(e){return 217===e.kind}function RL(e){return 218===e.kind}function RC(e){return 219===e.kind}function Rk(e){return 220===e.kind}function RI(e){return 221===e.kind}function Rw(e){return 222===e.kind}function RR(e){return 223===e.kind}function RN(e){return 224===e.kind}function RD(e){return 225===e.kind}function RO(e){return 226===e.kind}function RM(e){return 227===e.kind}function RP(e){return 228===e.kind}function RF(e){return 229===e.kind}function RG(e){return 230===e.kind}function RB(e){return 231===e.kind}function RU(e){return 235===e.kind}function RV(e){return 232===e.kind}function Rj(e){return 233===e.kind}function RH(e){return 234===e.kind}function RK(e){return 356===e.kind}function RW(e){return 357===e.kind}function Rz(e){return 236===e.kind}function Rq(e){return 237===e.kind}function RJ(e){return 238===e.kind}function RX(e){return 240===e.kind}function RY(e){return 239===e.kind}function R$(e){return 241===e.kind}function RQ(e){return 242===e.kind}function RZ(e){return 243===e.kind}function R0(e){return 244===e.kind}function R1(e){return 245===e.kind}function R2(e){return 246===e.kind}function R4(e){return 247===e.kind}function R8(e){return 248===e.kind}function R6(e){return 249===e.kind}function R3(e){return 250===e.kind}function R5(e){return 251===e.kind}function R7(e){return 252===e.kind}function R9(e){return 253===e.kind}function Ne(e){return 254===e.kind}function Nt(e){return 255===e.kind}function Nn(e){return 256===e.kind}function Nr(e){return 257===e.kind}function Ni(e){return 258===e.kind}function Na(e){return 259===e.kind}function No(e){return 260===e.kind}function Ns(e){return 261===e.kind}function Nl(e){return 262===e.kind}function Nc(e){return 263===e.kind}function Nd(e){return 264===e.kind}function Nu(e){return 265===e.kind}function N_(e){return 266===e.kind}function Np(e){return 267===e.kind}function Nf(e){return 268===e.kind}function Nm(e){return 269===e.kind}function Nh(e){return 270===e.kind}function Ny(e){return 298===e.kind}function Ng(e){return 296===e.kind}function Nv(e){return 297===e.kind}function Nb(e){return 271===e.kind}function NE(e){return 277===e.kind}function NT(e){return 272===e.kind}function Nx(e){return 273===e.kind}function NS(e){return 274===e.kind}function NA(e){return 275===e.kind}function NL(e){return 276===e.kind}function NC(e){return 278===e.kind}function Nk(e){return 279===e.kind}function NI(e){return 355===e.kind}function Nw(e){return 360===e.kind}function NR(e){return 358===e.kind}function NN(e){return 359===e.kind}function ND(e){return 280===e.kind}function NO(e){return 281===e.kind}function NM(e){return 282===e.kind}function NP(e){return 283===e.kind}function NF(e){return 284===e.kind}function NG(e){return 285===e.kind}function NB(e){return 286===e.kind}function NU(e){return 287===e.kind}function NV(e){return 288===e.kind}function Nj(e){return 289===e.kind}function NH(e){return 290===e.kind}function NK(e){return 291===e.kind}function NW(e){return 292===e.kind}function Nz(e){return 293===e.kind}function Nq(e){return 294===e.kind}function NJ(e){return 295===e.kind}function NX(e){return 299===e.kind}function NY(e){return 300===e.kind}function N$(e){return 301===e.kind}function NQ(e){return 302===e.kind}function NZ(e){return 304===e.kind}function N0(e){return 308===e.kind}function N1(e){return 309===e.kind}function N2(e){return 310===e.kind}function N4(e){return 312===e.kind}function N8(e){return 313===e.kind}function N6(e){return 314===e.kind}function N3(e){return 327===e.kind}function N5(e){return 328===e.kind}function N7(e){return 329===e.kind}function N9(e){return 315===e.kind}function De(e){return 316===e.kind}function Dt(e){return 317===e.kind}function Dn(e){return 318===e.kind}function Dr(e){return 319===e.kind}function Di(e){return 320===e.kind}function Da(e){return 321===e.kind}function Do(e){return 322===e.kind}function Ds(e){return 323===e.kind}function Dl(e){return 325===e.kind}function Dc(e){return 326===e.kind}function Dd(e){return 331===e.kind}function Du(e){return 333===e.kind}function D_(e){return 335===e.kind}function Dp(e){return 341===e.kind}function Df(e){return 336===e.kind}function Dm(e){return 337===e.kind}function Dh(e){return 338===e.kind}function Dy(e){return 339===e.kind}function Dg(e){return 340===e.kind}function Dv(e){return 342===e.kind}function Db(e){return 334===e.kind}function DE(e){return 350===e.kind}function DT(e){return 343===e.kind}function Dx(e){return 344===e.kind}function DS(e){return 345===e.kind}function DA(e){return 346===e.kind}function DL(e){return 347===e.kind}function DC(e){return 348===e.kind}function Dk(e){return 349===e.kind}function DI(e){return 330===e.kind}function Dw(e){return 351===e.kind}function DR(e){return 332===e.kind}function DN(e){return 353===e.kind}function DD(e){return 352===e.kind}function DO(e){return 354===e.kind}var DM=dj({"src/compiler/factory/nodeTests.ts"(){Kr()}});function DP(e){return e.createExportDeclaration(void 0,!1,e.createNamedExports([]),void 0)}function DF(e,t,n,r){if(wP(n))return OV(e.createElementAccessExpression(t,n.expression),r);{let r=OV(h1(n)?e.createPropertyAccessExpression(t,n):e.createElementAccessExpression(t,n),n);return IT(r,128),r}}function DG(e,t){let n=rT.createIdentifier(e||"React");return kC(n,ht(t)),n}function DB(e,t,n){if(!wM(t))return DG(hi(t),n);{let r=DB(e,t.left,n),i=e.createIdentifier(hi(t.right));return i.escapedText=t.right.escapedText,e.createPropertyAccessExpression(r,i)}}function DU(e,t,n,r){return t?DB(e,t,r):e.createPropertyAccessExpression(DG(n,r),"createElement")}function DV(e,t,n,r,i,a){let o=[n];if(r&&o.push(r),i&&i.length>0){if(r||o.push(e.createNull()),i.length>1)for(let e of i)D9(e),o.push(e);else o.push(i[0])}return OV(e.createCallExpression(t,void 0,o),a)}function Dj(e,t,n,r,i,a,o){let s=[n?DB(e,n,a):e.createPropertyAccessExpression(DG(r,a),"Fragment"),e.createNull()];if(i&&i.length>0){if(i.length>1)for(let e of i)D9(e),s.push(e);else s.push(i[0])}return OV(e.createCallExpression(DU(e,t,r,a),void 0,s),o)}function DH(e,t,n){if(Ni(t)){let r=uz(t.declarations),i=e.updateVariableDeclaration(r,r.name,void 0,void 0,n);return OV(e.createVariableStatement(void 0,e.updateVariableDeclarationList(t,[i])),t)}{let r=OV(e.createAssignment(t,n),t);return OV(e.createExpressionStatement(r),t)}}function DK(e,t,n){return RJ(t)?e.updateBlock(t,OV(e.createNodeArray([n,...t.statements]),t.statements)):e.createBlock(e.createNodeArray([t,n]),!0)}function DW(e,t){if(!wM(t))return kC(OV(e.cloneNode(t),t),t.parent);{let n=DW(e,t.left),r=kC(OV(e.cloneNode(t.right),t.right),t.right.parent);return OV(e.createPropertyAccessExpression(n,r),t)}}function Dz(e,t){return wb(t)?e.createStringLiteralFromNode(t):wP(t)?kC(OV(e.cloneNode(t.expression),t.expression),t.expression.parent):kC(OV(e.cloneNode(t),t),t.parent)}function Dq(e,t,n,r){switch(n.name&&wE(n.name)&&T.failBadSyntaxKind(n.name,"Private identifiers are not allowed in object literals."),n.kind){case 174:case 175:return function(e,t,n,r,i){let{firstAccessor:a,getAccessor:o,setAccessor:s}=SK(t,n);if(n===a)return OV(e.createObjectDefinePropertyCall(r,Dz(e,n.name),e.createPropertyDescriptor({enumerable:e.createFalse(),configurable:!0,get:o&&OV(Ih(e.createFunctionExpression(hh(o),void 0,void 0,void 0,o.parameters,void 0,o.body),o),o),set:s&&OV(Ih(e.createFunctionExpression(hh(s),void 0,void 0,void 0,s.parameters,void 0,s.body),s),s)},!i)),a)}(e,t.properties,n,r,!!t.multiLine);case 299:return Ih(OV(e.createAssignment(DF(e,r,n.name,n.name),n.initializer),n),n);case 300:return Ih(OV(e.createAssignment(DF(e,r,n.name,n.name),e.cloneNode(n.name)),n),n);case 171:return Ih(OV(e.createAssignment(DF(e,r,n.name,n.name),Ih(OV(e.createFunctionExpression(hh(n),n.asteriskToken,void 0,void 0,n.parameters,void 0,n.body),n),n)),n),n)}}function DJ(e,t,n,r,i){let a=t.operator;T.assert(45===a||46===a,"Expected 'node' to be a pre- or post-increment or pre- or post-decrement expression");let o=e.createTempVariable(r);OV(n=e.createAssignment(o,n),t.operand);let s=RI(t)?e.createPrefixUnaryExpression(a,o):e.createPostfixUnaryExpression(o,a);return OV(s,t),i&&OV(s=e.createAssignment(i,s),t),OV(n=e.createComma(n,s),t),Rw(t)&&OV(n=e.createComma(n,o),t),n}function DX(e){return(65536&v0(e))!=0}function DY(e){return(32768&v0(e))!=0}function D$(e){return(16384&v0(e))!=0}function DQ(e){return wr(e.expression)&&"use strict"===e.expression.text}function DZ(e){for(let t of e)if(bY(t)){if(DQ(t))return t}else break}function D0(e){let t=uK(e);return void 0!==t&&bY(t)&&DQ(t)}function D1(e){return 223===e.kind&&27===e.operatorToken.kind}function D2(e){return D1(e)||RW(e)}function D4(e){return RT(e)&&EZ(e)&&!!hH(e)}function D8(e){let t=hK(e);return T.assertIsDefined(t),t}function D6(e,t=15){switch(e.kind){case 214:if(16&t&&D4(e))break;return(1&t)!=0;case 213:case 231:case 230:case 235:return(2&t)!=0;case 232:return(4&t)!=0;case 356:return(8&t)!=0}return!1}function D3(e,t=15){for(;D6(e,t);)e=e.expression;return e}function D5(e,t=15){let n=e.parent;for(;D6(n,t);)n=n.parent,T.assert(n);return n}function D7(e){return D3(e,6)}function D9(e){return Iw(e,!0)}function Oe(e){let t=m7(e,N0),n=t&&t.emitNode;return n&&n.externalHelpersModuleName}function Ot(e){let t=m7(e,N0),n=t&&t.emitNode;return!!n&&(!!n.externalHelpersModuleName||!!n.externalHelpers)}function On(e,t,n,r,i,a,o){if(r.importHelpers&&bl(n,r)){let s;let l=Cn(r);if(l>=5&&l<=99||99===n.impliedNodeFormat){let r=IW(n);if(r){let i=[];for(let e of r)if(!e.scoped){let t=e.importName;t&&uF(i,t)}uv(i)&&(i.sort(_W),s=e.createNamedImports(un(i,r=>vR(n,r)?e.createImportSpecifier(!1,void 0,e.createIdentifier(r)):e.createImportSpecifier(!1,e.createIdentifier(r),t.getUnscopedHelperName(r)))),Ig(m7(n,N0)).externalHelpers=!0)}}else{let t=Or(e,n,r,i,a||o);t&&(s=e.createNamespaceImport(t))}if(s){let t=e.createImportDeclaration(void 0,e.createImportClause(!1,void 0,s),e.createStringLiteral(tz),void 0);return IS(t,2),t}}}function Or(e,t,n,r,i){if(n.importHelpers&&bl(t,n)){let a=Oe(t);if(a)return a;let o=Cn(n),s=(r||C_(n)&&i)&&4!==o&&(o<5||1===t.impliedNodeFormat);if(!s){let e=IW(t);if(e){for(let t of e)if(!t.scoped){s=!0;break}}}if(s){let n=Ig(m7(t,N0));return n.externalHelpersModuleName||(n.externalHelpersModuleName=e.createUniqueName(tz))}}}function Oi(e,t,n){let r=TO(t);if(r&&!TM(t)&&!vX(t)){let t=r.name;return yL(t)?t:e.createIdentifier(vJ(n,t)||hi(t))}if(269===t.kind&&t.importClause||275===t.kind&&t.moduleSpecifier)return e.getGeneratedNameForNode(t)}function Oa(e,t,n,r,i,a){let o=TD(t);if(o&&wr(o)){let s;return Oo(e,i.getExternalModuleFileFromDeclaration(t),r,a)||((s=n.renamedDependencies&&n.renamedDependencies.get(o.text))?e.createStringLiteral(s):void 0)||e.cloneNode(o)}}function Oo(e,t,n,r){return t?t.moduleName?e.createStringLiteral(t.moduleName):!t.isDeclarationFile&&SL(r)?e.createStringLiteral(Sb(n,t.fileName)):void 0:void 0}function Os(e){if(y6(e))return e.initializer;if(NX(e)){let t=e.initializer;return AA(t,!0)?t.right:void 0}return NY(e)?e.objectAssignmentInitializer:AA(e,!0)?e.right:RM(e)?Os(e.expression):void 0}function Ol(e){if(y6(e))return e.name;if(yZ(e)){switch(e.kind){case 299:return Ol(e.initializer);case 300:return e.name;case 301:return Ol(e.expression)}return}return AA(e,!0)?Ol(e.left):RM(e)?Ol(e.expression):e}function Oc(e){switch(e.kind){case 166:case 205:return e.dotDotDotToken;case 227:case 301:return e}}function Od(e){let t=Ou(e);return T.assert(!!t||N$(e),"Invalid property name for binding element."),t}function Ou(e){switch(e.kind){case 205:if(e.propertyName){let t=e.propertyName;if(wE(t))return T.failBadSyntaxKind(t);return wP(t)&&O_(t.expression)?t.expression:t}break;case 299:if(e.name){let t=e.name;if(wE(t))return T.failBadSyntaxKind(t);return wP(t)&&O_(t.expression)?t.expression:t}break;case 301:if(e.name&&wE(e.name))return T.failBadSyntaxKind(e.name);return e.name}let t=Ol(e);if(t&&yM(t))return t}function O_(e){let t=e.kind;return 10===t||8===t}function Op(e){switch(e.kind){case 203:case 204:case 206:return e.elements;case 207:return e.properties}}function Of(e){if(e){let t=e;for(;;){if(wb(t)||!t.body)return wb(t)?t:t.name;t=t.body}}}function Om(e){let t=e.kind;return 173===t||175===t}function Oh(e){let t=e.kind;return 173===t||174===t||175===t}function Oy(e){let t=e.kind;return 299===t||300===t||259===t||173===t||178===t||172===t||279===t||240===t||261===t||262===t||263===t||264===t||268===t||269===t||267===t||275===t||274===t}function Og(e){let t=e.kind;return 172===t||299===t||300===t||279===t||267===t}function Ov(e){return wh(e)||wm(e)}function Ob(e){return wb(e)||Rr(e)}function OE(e){return wC(e)||w_(e)||wp(e)}function OT(e){return wh(e)||w_(e)||wp(e)}function Ox(e){return wb(e)||wr(e)}function OS(e){let t=e.kind;return 104===t||110===t||95===t||ym(e)||RI(e)}function OA(e){var t,n,r,i,a,o;return 60===(n=t=e.kind)||55===n||56===n||50===n||51===n||52===n||34===n||36===n||35===n||37===n||29===n||32===n||31===n||33===n||102===n||101===n||47===n||48===n||49===n||39===(i=r=n)||40===i||42===(a=r)||41===(o=a)||43===o||44===o||AT(n)||27===t}function OL(e,t,n,r,i,a){let o=new rm(e,t,n,r,i,a);return function(e,t){let n={value:void 0},r=[rf.enter],i=[e],a=[void 0],s=0;for(;r[s]!==rf.done;)s=r[s](o,s,r,i,a,n,t);return T.assertEqual(s,0),n.value}}function OC(e){return 93===e||88===e}function Ok(e){return OC(e.kind)}function OI(e){let t=e.kind;return yw(t)&&!OC(t)}function Ow(e,t){if(void 0!==t)return 0===t.length?t:OV(e.createNodeArray([],t.hasTrailingComma),t)}function OR(e){var t;let n=e.emitNode.autoGenerate;if(4&n.flags){let r=n.id,i=e,a=i.original;for(;a;){let e=null==(t=(i=a).emitNode)?void 0:t.autoGenerate;if(h1(i)&&(void 0===e||4&e.flags&&e.id!==r))break;a=i.original}return i}return e}function ON(e,t){return"object"==typeof e?OD(!1,e.prefix,e.node,e.suffix,t):"string"==typeof e?e.length>0&&35===e.charCodeAt(0)?e.slice(1):e:""}function OD(e,t,n,r,i){var a,o;return t=ON(t,i),r=ON(r,i),a=n,`${e?"#":""}${t}${n="string"==typeof a?a:(o=T.checkDefined(i),yC(a)?o(a).slice(1):yL(a)?o(a):wE(a)?a.escapedText.slice(1):hi(a))}${r}`}function OO(e,t,n,r){return e.updatePropertyDeclaration(t,n,e.getGeneratedPrivateNameForNode(t.name,void 0,"_accessor_storage"),void 0,void 0,r)}function OM(e,t,n,r){return e.createGetAccessorDeclaration(n,r,[],void 0,e.createBlock([e.createReturnStatement(e.createPropertyAccessExpression(e.createThis(),e.getGeneratedPrivateNameForNode(t.name,void 0,"_accessor_storage")))]))}function OP(e,t,n,r){return e.createSetAccessorDeclaration(n,r,[e.createParameterDeclaration(void 0,void 0,"value")],e.createBlock([e.createExpressionStatement(e.createAssignment(e.createPropertyAccessExpression(e.createThis(),e.getGeneratedPrivateNameForNode(t.name,void 0,"_accessor_storage")),e.createIdentifier("value")))]))}function OF(e){let t=e.expression;for(;;){if(RW(t=D3(t))){t=uX(t.elements);continue}if(D1(t)){t=t.right;continue}if(AA(t,!0)&&yL(t.left))return t;break}}function OG(e){let t=[];return function e(t,n){if(RT(t)&&x1(t)&&!t.emitNode)e(t.expression,n);else if(D1(t))e(t.left,n),e(t.right,n);else if(RW(t))for(let r of t.elements)e(r,n);else n.push(t)}(e,t),t}function OB(e){if(65536&e.transformFlags)return!0;if(128&e.transformFlags)for(let t of Op(e)){let e=Ol(t);if(e&&y4(e)&&(65536&e.transformFlags||128&e.transformFlags&&OB(e)))return!0}return!1}var OU=dj({"src/compiler/factory/utilities.ts"(){Kr(),(e=>{function t(e,n,r,i,a,o,l){let c=n>0?a[n-1]:void 0;return T.assertEqual(r[n],t),a[n]=e.onEnter(i[n],c,l),r[n]=s(e,t),n}function n(e,t,r,i,a,o,d){T.assertEqual(r[t],n),T.assertIsDefined(e.onLeft),r[t]=s(e,n);let u=e.onLeft(i[t].left,a[t],i[t]);return u?(c(t,i,u),l(t,r,i,a,u)):t}function r(e,t,n,i,a,o,l){return T.assertEqual(n[t],r),T.assertIsDefined(e.onOperator),n[t]=s(e,r),e.onOperator(i[t].operatorToken,a[t],i[t]),t}function i(e,t,n,r,a,o,d){T.assertEqual(n[t],i),T.assertIsDefined(e.onRight),n[t]=s(e,i);let u=e.onRight(r[t].right,a[t],r[t]);return u?(c(t,r,u),l(t,n,r,a,u)):t}function a(e,t,n,r,i,o,l){T.assertEqual(n[t],a),n[t]=s(e,a);let c=e.onExit(r[t],i[t]);if(t>0){if(t--,e.foldState){let r=n[t]===a?"right":"left";i[t]=e.foldState(i[t],c,r)}}else o.value=c;return t}function o(e,t,n,r,i,a,s){return T.assertEqual(n[t],o),t}function s(e,s){switch(s){case t:if(e.onLeft)return n;case n:if(e.onOperator)return r;case r:if(e.onRight)return i;case i:return a;case a:case o:return o;default:T.fail("Invalid state")}}function l(e,n,r,i,a){return n[++e]=t,r[e]=a,i[e]=void 0,e}function c(e,t,n){if(T.shouldAssert(2))for(;e>=0;)T.assert(t[e]!==n,"Circular traversal detected."),e--}e.enter=t,e.left=n,e.operator=r,e.right=i,e.exit=a,e.done=o,e.nextState=s})(rf||(rf={})),rm=class{constructor(e,t,n,r,i,a){this.onEnter=e,this.onLeft=t,this.onOperator=n,this.onRight=r,this.onExit=i,this.foldState=a}}}});function OV(e,t){return t?kS(e,t.pos,t.end):e}function Oj(e){let t=e.kind;return 165===t||166===t||168===t||169===t||170===t||171===t||173===t||174===t||175===t||178===t||182===t||215===t||216===t||228===t||240===t||259===t||260===t||261===t||262===t||263===t||264===t||268===t||269===t||274===t||275===t}function OH(e){let t=e.kind;return 166===t||169===t||171===t||174===t||175===t||228===t||260===t}var OK=dj({"src/compiler/factory/utilitiesPublic.ts"(){Kr()}});function OW(e,t){return t&&e(t)}function Oz(e,t,n){if(n){if(t)return t(n);for(let t of n){let n=e(t);if(n)return n}}}function Oq(e,t){return 42===e.charCodeAt(t+1)&&42===e.charCodeAt(t+2)&&47!==e.charCodeAt(t+3)}function OJ(e){return dz(e.statements,OX)||(4194304&e.flags?function e(t){return Rj(t)&&100===t.keywordToken&&"meta"===t.name.escapedText?t:Mr(t,e)}(e):void 0)}function OX(e){return Oj(e)&&uv(e.modifiers,e=>93===e.kind)||Nf(e)&&ND(e.moduleReference)||Nm(e)||NS(e)||NA(e)?e:void 0}function OY(e,t,n){return Oz(t,n,e.typeParameters)||Oz(t,n,e.parameters)||OW(t,e.type)}function O$(e,t,n){return Oz(t,n,e.types)}function OQ(e,t,n){return OW(t,e.type)}function OZ(e,t,n){return Oz(t,n,e.elements)}function O0(e,t,n){return OW(t,e.expression)||OW(t,e.questionDotToken)||Oz(t,n,e.typeArguments)||Oz(t,n,e.arguments)}function O1(e,t,n){return Oz(t,n,e.statements)}function O2(e,t,n){return OW(t,e.label)}function O4(e,t,n){return Oz(t,n,e.modifiers)||OW(t,e.name)||Oz(t,n,e.typeParameters)||Oz(t,n,e.heritageClauses)||Oz(t,n,e.members)}function O8(e,t,n){return Oz(t,n,e.elements)}function O6(e,t,n){return OW(t,e.propertyName)||OW(t,e.name)}function O3(e,t,n){return OW(t,e.tagName)||Oz(t,n,e.typeArguments)||OW(t,e.attributes)}function O5(e,t,n){return OW(t,e.type)}function O7(e,t,n){return OW(t,e.tagName)||(e.isNameFirst?OW(t,e.name)||OW(t,e.typeExpression):OW(t,e.typeExpression)||OW(t,e.name))||("string"==typeof e.comment?void 0:Oz(t,n,e.comment))}function O9(e,t,n){return OW(t,e.tagName)||OW(t,e.typeExpression)||("string"==typeof e.comment?void 0:Oz(t,n,e.comment))}function Me(e,t,n){return OW(t,e.name)}function Mt(e,t,n){return OW(t,e.tagName)||("string"==typeof e.comment?void 0:Oz(t,n,e.comment))}function Mn(e,t,n){return OW(t,e.expression)}function Mr(e,t,n){if(void 0===e||e.kind<=162)return;let r=rx[e.kind];return void 0===r?void 0:r(e,t,n)}function Mi(e,t,n){let r=Ma(e),i=[];for(;i.length=0;--t)r.push(e[t]),i.push(a)}else{let n=t(e,a);if(n){if("skip"===n)continue;return n}if(e.kind>=163)for(let t of Ma(e))r.push(t),i.push(e)}}}function Ma(e){let t=[];return Mr(e,n,n),t;function n(e){t.unshift(e)}}function Mo(e){e.externalModuleIndicator=OJ(e)}function Ms(e,t,n,r=!1,i){var a,o;let s;null==(a=Q)||a.push(Q.Phase.Parse,"createSourceFile",{path:e},!0),pM("beforeParse"),H.logStartParseSourceFile(e);let{languageVersion:l,setExternalModuleIndicator:c,impliedNodeFormat:d}="object"==typeof n?n:{languageVersion:n};if(100===l)s=rS.parseSourceFile(e,t,l,void 0,r,6,_x);else{let n=void 0===d?c:e=>(e.impliedNodeFormat=d,(c||Mo)(e));s=rS.parseSourceFile(e,t,l,void 0,r,i,n)}return H.logStopParseSourceFile(),pM("afterParse"),pP("Parse","beforeParse","afterParse"),null==(o=Q)||o.pop(),s}function Ml(e,t){return rS.parseIsolatedEntityName(e,t)}function Mc(e,t){return rS.parseJsonText(e,t)}function Md(e){return void 0!==e.externalModuleIndicator}function Mu(e,t,n,r=!1){let i=rA.updateSourceFile(e,t,n,r);return i.flags|=6291456&e.flags,i}function M_(e,t,n){let r=rS.JSDocParser.parseIsolatedJSDocComment(e,t,n);return r&&r.jsDoc&&rS.fixupParentReferences(r.jsDoc),r}function Mp(e,t,n){return rS.JSDocParser.parseJSDocTypeExpressionForTests(e,t,n)}function Mf(e){return f_(e,nC)||fu(e,".ts")&&_2(fg(e),".d.")}function Mm(e,t){let n=[];for(let e of mb(t,0)||o){let r=t.substring(e.pos,e.end);!function(e,t,n){let r=2===t.kind&&rC.exec(n);if(r){let i=r[1].toLowerCase(),a=tc[i];if(!a||!(1&a.kind))return;if(a.args){let r={};for(let e of a.args){let i=(function(e){if(rL.has(e))return rL.get(e);let t=RegExp(`(\\s${e}\\s*=\\s*)(?:(?:'([^']*)')|(?:"([^"]*)"))`,"im");return rL.set(e,t),t})(e.name).exec(n);if(!i&&!e.optional)return;if(i){let n=i[2]||i[3];if(e.captureSpan){let a=t.pos+i.index+i[1].length+1;r[e.name]={value:n,pos:a,end:a+n.length}}else r[e.name]=n}}e.push({name:i,args:{arguments:r,range:t}})}else e.push({name:i,args:{arguments:{},range:t}});return}let i=2===t.kind&&rk.exec(n);if(i)return My(e,t,2,i);if(3===t.kind){let r;let i=/@(\S+)(\s+.*)?$/gim;for(;r=i.exec(n);)My(e,t,4,r)}}(n,e,r)}for(let t of(e.pragmas=new Map,n)){if(e.pragmas.has(t.name)){let n=e.pragmas.get(t.name);n instanceof Array?n.push(t.args):e.pragmas.set(t.name,[n,t.args]);continue}e.pragmas.set(t.name,t.args)}}function Mh(e,t){e.checkJsDirective=void 0,e.referencedFiles=[],e.typeReferenceDirectives=[],e.libReferenceDirectives=[],e.amdDependencies=[],e.hasNoDefaultLib=!1,e.pragmas.forEach((n,r)=>{switch(r){case"reference":{let r=e.referencedFiles,i=e.typeReferenceDirectives,a=e.libReferenceDirectives;dz(_g(n),n=>{let{types:o,lib:s,path:l,"resolution-mode":c}=n.arguments;if(n.arguments["no-default-lib"])e.hasNoDefaultLib=!0;else if(o){var d,u;let e=(d=o.pos,u=o.end,c?"import"===c?99:"require"===c?1:void t(d,u-d,tA.resolution_mode_should_be_either_require_or_import):void 0);i.push({pos:o.pos,end:o.end,fileName:o.value,...e?{resolutionMode:e}:{}})}else s?a.push({pos:s.pos,end:s.end,fileName:s.value}):l?r.push({pos:l.pos,end:l.end,fileName:l.value}):t(n.range.pos,n.range.end-n.range.pos,tA.Invalid_reference_directive_syntax)});break}case"amd-dependency":e.amdDependencies=un(_g(n),e=>({name:e.arguments.name,path:e.arguments.path}));break;case"amd-module":if(n instanceof Array)for(let r of n)e.moduleName&&t(r.range.pos,r.range.end-r.range.pos,tA.An_AMD_module_cannot_have_multiple_name_assignments),e.moduleName=r.arguments.name;else e.moduleName=n.arguments.name;break;case"ts-nocheck":case"ts-check":dz(_g(n),t=>{(!e.checkJsDirective||t.range.pos>e.checkJsDirective.pos)&&(e.checkJsDirective={enabled:"ts-check"===r,end:t.range.end,pos:t.range.pos})});break;case"jsx":case"jsxfrag":case"jsximportsource":case"jsxruntime":return;default:T.fail("Unhandled pragma kind")}})}function My(e,t,n,r){if(!r)return;let i=r[1].toLowerCase(),a=tc[i];if(!a||!(a.kind&n))return;let o=function(e,t){if(!t||!e.args)return{};let n=g(t).split(/\s+/),r={};for(let t=0;tnew(rb||(rb=nl.getSourceFileConstructor()))(e,-1,-1),createBaseIdentifierNode:e=>new(rg||(rg=nl.getIdentifierConstructor()))(e,-1,-1),createBasePrivateIdentifierNode:e=>new(rv||(rv=nl.getPrivateIdentifierConstructor()))(e,-1,-1),createBaseTokenNode:e=>new(ry||(ry=nl.getTokenConstructor()))(e,-1,-1),createBaseNode:e=>new(rh||(rh=nl.getNodeConstructor()))(e,-1,-1)}),rx={163:function(e,t,n){return OW(t,e.left)||OW(t,e.right)},165:function(e,t,n){return Oz(t,n,e.modifiers)||OW(t,e.name)||OW(t,e.constraint)||OW(t,e.default)||OW(t,e.expression)},300:function(e,t,n){return Oz(t,n,e.modifiers)||OW(t,e.name)||OW(t,e.questionToken)||OW(t,e.exclamationToken)||OW(t,e.equalsToken)||OW(t,e.objectAssignmentInitializer)},301:function(e,t,n){return OW(t,e.expression)},166:function(e,t,n){return Oz(t,n,e.modifiers)||OW(t,e.dotDotDotToken)||OW(t,e.name)||OW(t,e.questionToken)||OW(t,e.type)||OW(t,e.initializer)},169:function(e,t,n){return Oz(t,n,e.modifiers)||OW(t,e.name)||OW(t,e.questionToken)||OW(t,e.exclamationToken)||OW(t,e.type)||OW(t,e.initializer)},168:function(e,t,n){return Oz(t,n,e.modifiers)||OW(t,e.name)||OW(t,e.questionToken)||OW(t,e.type)||OW(t,e.initializer)},299:function(e,t,n){return Oz(t,n,e.modifiers)||OW(t,e.name)||OW(t,e.questionToken)||OW(t,e.exclamationToken)||OW(t,e.initializer)},257:function(e,t,n){return OW(t,e.name)||OW(t,e.exclamationToken)||OW(t,e.type)||OW(t,e.initializer)},205:function(e,t,n){return OW(t,e.dotDotDotToken)||OW(t,e.propertyName)||OW(t,e.name)||OW(t,e.initializer)},178:function(e,t,n){return Oz(t,n,e.modifiers)||Oz(t,n,e.typeParameters)||Oz(t,n,e.parameters)||OW(t,e.type)},182:function(e,t,n){return Oz(t,n,e.modifiers)||Oz(t,n,e.typeParameters)||Oz(t,n,e.parameters)||OW(t,e.type)},181:function(e,t,n){return Oz(t,n,e.modifiers)||Oz(t,n,e.typeParameters)||Oz(t,n,e.parameters)||OW(t,e.type)},176:OY,177:OY,171:function(e,t,n){return Oz(t,n,e.modifiers)||OW(t,e.asteriskToken)||OW(t,e.name)||OW(t,e.questionToken)||OW(t,e.exclamationToken)||Oz(t,n,e.typeParameters)||Oz(t,n,e.parameters)||OW(t,e.type)||OW(t,e.body)},170:function(e,t,n){return Oz(t,n,e.modifiers)||OW(t,e.name)||OW(t,e.questionToken)||Oz(t,n,e.typeParameters)||Oz(t,n,e.parameters)||OW(t,e.type)},173:function(e,t,n){return Oz(t,n,e.modifiers)||OW(t,e.name)||Oz(t,n,e.typeParameters)||Oz(t,n,e.parameters)||OW(t,e.type)||OW(t,e.body)},174:function(e,t,n){return Oz(t,n,e.modifiers)||OW(t,e.name)||Oz(t,n,e.typeParameters)||Oz(t,n,e.parameters)||OW(t,e.type)||OW(t,e.body)},175:function(e,t,n){return Oz(t,n,e.modifiers)||OW(t,e.name)||Oz(t,n,e.typeParameters)||Oz(t,n,e.parameters)||OW(t,e.type)||OW(t,e.body)},259:function(e,t,n){return Oz(t,n,e.modifiers)||OW(t,e.asteriskToken)||OW(t,e.name)||Oz(t,n,e.typeParameters)||Oz(t,n,e.parameters)||OW(t,e.type)||OW(t,e.body)},215:function(e,t,n){return Oz(t,n,e.modifiers)||OW(t,e.asteriskToken)||OW(t,e.name)||Oz(t,n,e.typeParameters)||Oz(t,n,e.parameters)||OW(t,e.type)||OW(t,e.body)},216:function(e,t,n){return Oz(t,n,e.modifiers)||Oz(t,n,e.typeParameters)||Oz(t,n,e.parameters)||OW(t,e.type)||OW(t,e.equalsGreaterThanToken)||OW(t,e.body)},172:function(e,t,n){return Oz(t,n,e.modifiers)||OW(t,e.body)},180:function(e,t,n){return OW(t,e.typeName)||Oz(t,n,e.typeArguments)},179:function(e,t,n){return OW(t,e.assertsModifier)||OW(t,e.parameterName)||OW(t,e.type)},183:function(e,t,n){return OW(t,e.exprName)||Oz(t,n,e.typeArguments)},184:function(e,t,n){return Oz(t,n,e.members)},185:function(e,t,n){return OW(t,e.elementType)},186:function(e,t,n){return Oz(t,n,e.elements)},189:O$,190:O$,191:function(e,t,n){return OW(t,e.checkType)||OW(t,e.extendsType)||OW(t,e.trueType)||OW(t,e.falseType)},192:function(e,t,n){return OW(t,e.typeParameter)},202:function(e,t,n){return OW(t,e.argument)||OW(t,e.assertions)||OW(t,e.qualifier)||Oz(t,n,e.typeArguments)},298:function(e,t,n){return OW(t,e.assertClause)},193:OQ,195:OQ,196:function(e,t,n){return OW(t,e.objectType)||OW(t,e.indexType)},197:function(e,t,n){return OW(t,e.readonlyToken)||OW(t,e.typeParameter)||OW(t,e.nameType)||OW(t,e.questionToken)||OW(t,e.type)||Oz(t,n,e.members)},198:function(e,t,n){return OW(t,e.literal)},199:function(e,t,n){return OW(t,e.dotDotDotToken)||OW(t,e.name)||OW(t,e.questionToken)||OW(t,e.type)},203:OZ,204:OZ,206:function(e,t,n){return Oz(t,n,e.elements)},207:function(e,t,n){return Oz(t,n,e.properties)},208:function(e,t,n){return OW(t,e.expression)||OW(t,e.questionDotToken)||OW(t,e.name)},209:function(e,t,n){return OW(t,e.expression)||OW(t,e.questionDotToken)||OW(t,e.argumentExpression)},210:O0,211:O0,212:function(e,t,n){return OW(t,e.tag)||OW(t,e.questionDotToken)||Oz(t,n,e.typeArguments)||OW(t,e.template)},213:function(e,t,n){return OW(t,e.type)||OW(t,e.expression)},214:function(e,t,n){return OW(t,e.expression)},217:function(e,t,n){return OW(t,e.expression)},218:function(e,t,n){return OW(t,e.expression)},219:function(e,t,n){return OW(t,e.expression)},221:function(e,t,n){return OW(t,e.operand)},226:function(e,t,n){return OW(t,e.asteriskToken)||OW(t,e.expression)},220:function(e,t,n){return OW(t,e.expression)},222:function(e,t,n){return OW(t,e.operand)},223:function(e,t,n){return OW(t,e.left)||OW(t,e.operatorToken)||OW(t,e.right)},231:function(e,t,n){return OW(t,e.expression)||OW(t,e.type)},232:function(e,t,n){return OW(t,e.expression)},235:function(e,t,n){return OW(t,e.expression)||OW(t,e.type)},233:function(e,t,n){return OW(t,e.name)},224:function(e,t,n){return OW(t,e.condition)||OW(t,e.questionToken)||OW(t,e.whenTrue)||OW(t,e.colonToken)||OW(t,e.whenFalse)},227:function(e,t,n){return OW(t,e.expression)},238:O1,265:O1,308:function(e,t,n){return Oz(t,n,e.statements)||OW(t,e.endOfFileToken)},240:function(e,t,n){return Oz(t,n,e.modifiers)||OW(t,e.declarationList)},258:function(e,t,n){return Oz(t,n,e.declarations)},241:function(e,t,n){return OW(t,e.expression)},242:function(e,t,n){return OW(t,e.expression)||OW(t,e.thenStatement)||OW(t,e.elseStatement)},243:function(e,t,n){return OW(t,e.statement)||OW(t,e.expression)},244:function(e,t,n){return OW(t,e.expression)||OW(t,e.statement)},245:function(e,t,n){return OW(t,e.initializer)||OW(t,e.condition)||OW(t,e.incrementor)||OW(t,e.statement)},246:function(e,t,n){return OW(t,e.initializer)||OW(t,e.expression)||OW(t,e.statement)},247:function(e,t,n){return OW(t,e.awaitModifier)||OW(t,e.initializer)||OW(t,e.expression)||OW(t,e.statement)},248:O2,249:O2,250:function(e,t,n){return OW(t,e.expression)},251:function(e,t,n){return OW(t,e.expression)||OW(t,e.statement)},252:function(e,t,n){return OW(t,e.expression)||OW(t,e.caseBlock)},266:function(e,t,n){return Oz(t,n,e.clauses)},292:function(e,t,n){return OW(t,e.expression)||Oz(t,n,e.statements)},293:function(e,t,n){return Oz(t,n,e.statements)},253:function(e,t,n){return OW(t,e.label)||OW(t,e.statement)},254:function(e,t,n){return OW(t,e.expression)},255:function(e,t,n){return OW(t,e.tryBlock)||OW(t,e.catchClause)||OW(t,e.finallyBlock)},295:function(e,t,n){return OW(t,e.variableDeclaration)||OW(t,e.block)},167:function(e,t,n){return OW(t,e.expression)},260:O4,228:O4,261:function(e,t,n){return Oz(t,n,e.modifiers)||OW(t,e.name)||Oz(t,n,e.typeParameters)||Oz(t,n,e.heritageClauses)||Oz(t,n,e.members)},262:function(e,t,n){return Oz(t,n,e.modifiers)||OW(t,e.name)||Oz(t,n,e.typeParameters)||OW(t,e.type)},263:function(e,t,n){return Oz(t,n,e.modifiers)||OW(t,e.name)||Oz(t,n,e.members)},302:function(e,t,n){return OW(t,e.name)||OW(t,e.initializer)},264:function(e,t,n){return Oz(t,n,e.modifiers)||OW(t,e.name)||OW(t,e.body)},268:function(e,t,n){return Oz(t,n,e.modifiers)||OW(t,e.name)||OW(t,e.moduleReference)},269:function(e,t,n){return Oz(t,n,e.modifiers)||OW(t,e.importClause)||OW(t,e.moduleSpecifier)||OW(t,e.assertClause)},270:function(e,t,n){return OW(t,e.name)||OW(t,e.namedBindings)},296:function(e,t,n){return Oz(t,n,e.elements)},297:function(e,t,n){return OW(t,e.name)||OW(t,e.value)},267:function(e,t,n){return Oz(t,n,e.modifiers)||OW(t,e.name)},271:function(e,t,n){return OW(t,e.name)},277:function(e,t,n){return OW(t,e.name)},272:O8,276:O8,275:function(e,t,n){return Oz(t,n,e.modifiers)||OW(t,e.exportClause)||OW(t,e.moduleSpecifier)||OW(t,e.assertClause)},273:O6,278:O6,274:function(e,t,n){return Oz(t,n,e.modifiers)||OW(t,e.expression)},225:function(e,t,n){return OW(t,e.head)||Oz(t,n,e.templateSpans)},236:function(e,t,n){return OW(t,e.expression)||OW(t,e.literal)},200:function(e,t,n){return OW(t,e.head)||Oz(t,n,e.templateSpans)},201:function(e,t,n){return OW(t,e.type)||OW(t,e.literal)},164:function(e,t,n){return OW(t,e.expression)},294:function(e,t,n){return Oz(t,n,e.types)},230:function(e,t,n){return OW(t,e.expression)||Oz(t,n,e.typeArguments)},280:function(e,t,n){return OW(t,e.expression)},279:function(e,t,n){return Oz(t,n,e.modifiers)},357:function(e,t,n){return Oz(t,n,e.elements)},281:function(e,t,n){return OW(t,e.openingElement)||Oz(t,n,e.children)||OW(t,e.closingElement)},285:function(e,t,n){return OW(t,e.openingFragment)||Oz(t,n,e.children)||OW(t,e.closingFragment)},282:O3,283:O3,289:function(e,t,n){return Oz(t,n,e.properties)},288:function(e,t,n){return OW(t,e.name)||OW(t,e.initializer)},290:function(e,t,n){return OW(t,e.expression)},291:function(e,t,n){return OW(t,e.dotDotDotToken)||OW(t,e.expression)},284:function(e,t,n){return OW(t,e.tagName)},187:O5,188:O5,312:O5,318:O5,317:O5,319:O5,321:O5,320:function(e,t,n){return Oz(t,n,e.parameters)||OW(t,e.type)},323:function(e,t,n){return("string"==typeof e.comment?void 0:Oz(t,n,e.comment))||Oz(t,n,e.tags)},350:function(e,t,n){return OW(t,e.tagName)||OW(t,e.name)||("string"==typeof e.comment?void 0:Oz(t,n,e.comment))},313:function(e,t,n){return OW(t,e.name)},314:function(e,t,n){return OW(t,e.left)||OW(t,e.right)},344:O7,351:O7,333:function(e,t,n){return OW(t,e.tagName)||("string"==typeof e.comment?void 0:Oz(t,n,e.comment))},332:function(e,t,n){return OW(t,e.tagName)||OW(t,e.class)||("string"==typeof e.comment?void 0:Oz(t,n,e.comment))},331:function(e,t,n){return OW(t,e.tagName)||OW(t,e.class)||("string"==typeof e.comment?void 0:Oz(t,n,e.comment))},348:function(e,t,n){return OW(t,e.tagName)||OW(t,e.constraint)||Oz(t,n,e.typeParameters)||("string"==typeof e.comment?void 0:Oz(t,n,e.comment))},349:function(e,t,n){return OW(t,e.tagName)||(e.typeExpression&&312===e.typeExpression.kind?OW(t,e.typeExpression)||OW(t,e.fullName)||("string"==typeof e.comment?void 0:Oz(t,n,e.comment)):OW(t,e.fullName)||OW(t,e.typeExpression)||("string"==typeof e.comment?void 0:Oz(t,n,e.comment)))},341:function(e,t,n){return OW(t,e.tagName)||OW(t,e.fullName)||OW(t,e.typeExpression)||("string"==typeof e.comment?void 0:Oz(t,n,e.comment))},345:O9,347:O9,346:O9,343:O9,353:O9,352:O9,342:O9,326:function(e,t,n){return dz(e.typeParameters,t)||dz(e.parameters,t)||OW(t,e.type)},327:Me,328:Me,329:Me,325:function(e,t,n){return dz(e.jsDocPropertyTags,t)},330:Mt,335:Mt,336:Mt,337:Mt,338:Mt,339:Mt,334:Mt,340:Mt,356:Mn},(e=>{let t,n,r;var i,a,l,c,d,u,_,p,f,m,h,y,g,v,b,E,x,S,A,L,C,k,I,w=mL(99,!0),R=It(11,{createBaseSourceFileNode:e=>{var t;return t=new _(e,0,0),S++,t},createBaseIdentifierNode:e=>{var t;return t=new d(e,0,0),S++,t},createBasePrivateIdentifierNode:e=>{var t;return t=new u(e,0,0),S++,t},createBaseTokenNode:e=>{var t;return t=new c(e,0,0),S++,t},createBaseNode:e=>{var t;return t=new l(e,0,0),S++,t}}),{createNodeArray:N,createNumericLiteral:D,createStringLiteral:O,createLiteralLikeNode:M,createIdentifier:P,createPrivateIdentifier:F,createToken:G,createArrayLiteralExpression:B,createObjectLiteralExpression:U,createPropertyAccessExpression:V,createPropertyAccessChain:j,createElementAccessExpression:H,createElementAccessChain:K,createCallExpression:W,createCallChain:z,createNewExpression:q,createParenthesizedExpression:J,createBlock:X,createVariableStatement:Y,createExpressionStatement:$,createIfStatement:Q,createWhileStatement:Z,createForStatement:ee,createForOfStatement:et,createVariableDeclaration:en,createVariableDeclarationList:er}=R,ei=!0,ea=!1;function eo(e,t,n=2,r,i=!1){let a,o;es(e,t,n,r,6),f=I,eF();let s=eD();if(1===x)a=e9([],s,s),o=e6();else{let e;for(;1!==x;){let t;switch(x){case 22:t=rn();break;case 110:case 95:case 104:t=e6();break;case 40:t=ez(()=>8===eF()&&58!==eF())?nW():ri();break;case 8:case 10:if(ez(()=>58!==eF())){t=tV();break}default:t=ri()}e&&_y(e)?e.push(t):e?e=[e,t]:(e=t,1!==x&&ek(tA.Unexpected_token))}let t=$(_y(e)?te(B(e),s):T.checkDefined(e));te(t,s),a=e9([t],s),o=e8(1,tA.Unexpected_token)}let l=ep(e,2,6,!1,a,o,f,_x);return i&&e_(l),l.nodeCount=S,l.identifierCount=L,l.identifiers=A,l.parseDiagnostics=L$(v,l),b&&(l.jsDocDiagnostics=L$(b,l)),el(),l}function es(e,t,n,r,i){switch(l=nl.getNodeConstructor(),c=nl.getTokenConstructor(),d=nl.getIdentifierConstructor(),u=nl.getPrivateIdentifierConstructor(),_=nl.getSourceFileConstructor(),p=fI(e),m=t,h=n,E=r,y=i,g=L5(i),v=[],C=0,A=new Map,L=0,S=0,f=0,ei=!0,y){case 1:case 2:I=262144;break;case 6:I=67371008;break;default:I=0}ea=!1,w.setText(m),w.setOnError(eN),w.setScriptTarget(h),w.setLanguageVariant(g)}function el(){w.clearCommentDirectives(),w.setText(""),w.setOnError(void 0),m=void 0,h=void 0,E=void 0,y=void 0,g=void 0,f=0,v=void 0,b=void 0,C=0,A=void 0,k=void 0,ei=!0}function ec(e,t){return t?eu(e):e}e.parseSourceFile=function(e,t,n,r,i=!1,a,l){var c,d,u;let _,h,y,g;if(6===(a=Cz(e,a))){let a=eo(e,t,n,r,i);return Mq(a,null==(c=a.statements[0])?void 0:c.expression,a.parseDiagnostics,!1,void 0,void 0),a.referencedFiles=o,a.typeReferenceDirectives=o,a.libReferenceDirectives=o,a.amdDependencies=o,a.hasNoDefaultLib=!1,a.pragmas=s,a}es(e,t,n,r,a);let E=(d=a,u=l||Mo,(_=Mf(p))&&(I|=16777216),f=I,eF(),h=tk(0,rg),T.assert(1===x),y=eu(e6()),Mm(g=ep(p,n,d,_,h,y,f,u),m),Mh(g,function(e,t,n){v.push(LY(p,e,t,n))}),g.commentDirectives=w.getCommentDirectives(),g.nodeCount=S,g.identifierCount=L,g.identifiers=A,g.parseDiagnostics=L$(v,g),b&&(g.jsDocDiagnostics=L$(b,g)),i&&e_(g),g);return el(),E},e.parseIsolatedEntityName=function(e,t){es("",e,t,void 0,1),eF();let n=tP(!0),r=1===x&&!v.length;return el(),r?n:void 0},e.parseJsonText=eo;let ed=!1;function eu(e){T.assert(!e.jsDoc);let t=uu(b2(e,m),t=>r.parseJSDocComment(e,t.pos,t.end-t.pos));return t.length&&(e.jsDoc=t),ed&&(ed=!1,e.flags|=268435456),e}function e_(e){kI(e,!0)}function ep(e,t,n,r,i,a,o,s){let l=R.createSourceFile(i,a,o);return kA(l,0,m.length),c(l),!r&&Md(l)&&67108864&l.transformFlags&&c(l=function(e){let t=E,n=rA.createSyntaxCursor(e);E={currentNode:function(e){let t=n.currentNode(e);return ei&&t&&s(t)&&(t.intersectsChange=!0),t}};let r=[],i=v;v=[];let a=0,o=l(e.statements,0);for(;-1!==o;){let t=e.statements[a],n=e.statements[o];uP(r,e.statements,a,o),a=c(e.statements,o);let s=d2(i,e=>e.start>=t.pos),d=s>=0?d2(i,e=>e.start>=n.pos,s):-1;s>=0&&uP(v,i,s,d>=0?d:void 0),eW(()=>{let t=I;for(I|=32768,w.setTextPos(n.pos),eF();1!==x;){let t=w.getStartPos(),n=tI(0,rg);if(r.push(n),t===w.getStartPos()&&eF(),a>=0){let t=e.statements[a];if(n.end===t.pos)break;n.end>t.pos&&(a=c(e.statements,a+1))}}I=t},2),o=a>=0?l(e.statements,a):-1}if(a>=0){let t=e.statements[a];uP(r,e.statements,a);let n=d2(i,e=>e.start>=t.pos);n>=0&&uP(v,i,n)}return E=t,R.updateSourceFile(e,OV(N(r),e.statements));function s(e){return!(32768&e.flags)&&!!(67108864&e.transformFlags)}function l(e,t){for(let n=t;n116}function eX(){return 79===x||!(125===x&&ex()||133===x&&eC())&&x>116}function eY(e,t,n=!0){return x===e?(n&&eF(),!0):(t?ek(t):ek(tA._0_expected,tF[e]),!1)}e.fixupParentReferences=e_;let e$=Object.keys(tL).filter(e=>e.length>2);function eQ(e){var t;if(Rb(e)){ew(mc(m,e.template.pos),e.template.end,tA.Module_declaration_names_may_only_use_or_quoted_strings);return}let n=wb(e)?hi(e):void 0;if(!n||!mA(n,h)){ek(tA._0_expected,tF[26]);return}let r=mc(m,e.pos);switch(n){case"const":case"let":case"var":ew(r,e.end,tA.Variable_declaration_not_allowed_at_this_location);return;case"declare":return;case"interface":eZ(tA.Interface_name_cannot_be_0,tA.Interface_must_be_given_a_name,18);return;case"is":ew(r,w.getTextPos(),tA.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return;case"module":case"namespace":eZ(tA.Namespace_name_cannot_be_0,tA.Namespace_must_be_given_a_name,18);return;case"type":eZ(tA.Type_alias_name_cannot_be_0,tA.Type_alias_must_be_given_a_name,63);return}let i=null!=(t=_Q(n,e$,e=>e))?t:function(e){for(let t of e$)if(e.length>t.length+2&&pn(e,t))return`${t} ${e.slice(t.length)}`}(n);if(i){ew(r,e.end,tA.Unknown_keyword_or_identifier_Did_you_mean_0,i);return}0!==x&&ew(r,e.end,tA.Unexpected_keyword_or_identifier)}function eZ(e,t,n){x===n?ek(t):ek(e,w.getTokenValue())}function e0(e){return x===e?(eG(),!0):(ek(tA._0_expected,tF[e]),!1)}function e1(e,t,n,r){if(x===t){eF();return}let i=ek(tA._0_expected,tF[t]);n&&i&&kl(i,LY(p,r,1,tA.The_parser_expected_to_find_a_1_to_match_the_0_token_here,tF[e],tF[t]))}function e2(e){return x===e&&(eF(),!0)}function e4(e){if(x===e)return e6()}function e8(e,t,n){return e4(e)||tt(e,!1,t||tA._0_expected,n||tF[e])}function e6(){let e=eD(),t=x;return eF(),te(G(t),e)}function e3(){return 26===x||19===x||1===x||w.hasPrecedingLineBreak()}function e5(){return!!e3()&&(26===x&&eF(),!0)}function e7(){return e5()||eY(26)}function e9(e,t,n,r){let i=N(e,r);return kS(i,t,null!=n?n:w.getStartPos()),i}function te(e,t,n){return kS(e,t,null!=n?n:w.getStartPos()),I&&(e.flags|=I),ea&&(ea=!1,e.flags|=131072),e}function tt(e,t,n,r){t?eI(w.getStartPos(),0,n,r):n&&ek(n,r);let i=eD();return te(79===e?P("",void 0):yy(e)?R.createTemplateLiteralLikeNode(e,"","",void 0):8===e?D("",void 0):10===e?O("",void 0):279===e?R.createMissingDeclaration():G(e),i)}function tn(e){let t=A.get(e);return void 0===t&&A.set(e,t=e),t}function tr(e,t,n){if(e){L++;let e=eD(),t=x,n=tn(w.getTokenValue()),r=w.hasExtendedUnicodeEscape();return eM(),te(P(n,t,r),e)}if(80===x)return ek(n||tA.Private_identifiers_are_not_allowed_outside_class_bodies),tr(!0);if(0===x&&w.tryScan(()=>79===w.reScanInvalidIdentifier()))return tr(!0);L++;let r=1===x,i=w.isReservedWord(),a=w.getTokenText(),o=i?tA.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:tA.Identifier_expected;return tt(79,r,t||o,a)}function ti(e){return tr(eJ(),void 0,e)}function ta(e,t){return tr(eX(),e,t)}function to(e){return tr(fQ(x),e)}function ts(){return fQ(x)||10===x||8===x}function tl(){return function(e){let t,n;if(10===x||8===x){let e=tV();return e.text=tn(e.text),e}return e&&22===x?(t=eD(),eY(22),n=eb(nN),eY(23),te(R.createComputedPropertyName(n),t)):80===x?tc():to()}(!0)}function tc(){let e=eD(),t=F(tn(w.getTokenValue()));return eF(),te(t,e)}function td(e){return x===e&&eq(t_)}function tu(){return eF(),!w.hasPrecedingLineBreak()&&tm()}function t_(){switch(x){case 85:return 92===eF();case 93:if(eF(),88===x)return ez(th);if(154===x)return ez(tf);return tp();case 88:return th();case 124:case 137:case 151:return eF(),tm();default:return tu()}}function tp(){return 59===x||41!==x&&128!==x&&18!==x&&tm()}function tf(){return eF(),tp()}function tm(){return 22===x||18===x||41===x||25===x||ts()}function th(){return eF(),84===x||98===x||118===x||59===x||126===x&&ez(r_)||132===x&&ez(rp)}function ty(e,t){if(tw(e))return!0;switch(e){case 0:case 1:case 3:return!(26===x&&t)&&rh();case 2:return 82===x||88===x;case 4:return ez(t7);case 5:return ez(rG)||26===x&&!t;case 6:return 22===x||ts();case 12:switch(x){case 22:case 41:case 25:case 24:return!0;default:return ts()}case 18:return ts();case 9:return 22===x||25===x||ts();case 24:return fQ(x)||10===x;case 7:if(18===x)return ez(tg);if(!t)return nw()&&!tT();return eX()&&!tT();case 8:return rL();case 10:return 27===x||25===x||rL();case 19:return 101===x||85===x||eX();case 15:switch(x){case 27:case 24:return!0}case 11:return 25===x||nR();case 16:return tQ(!1);case 17:return tQ(!0);case 20:case 21:return 27===x||nh();case 22:return rY();case 23:return fQ(x);case 13:return fQ(x)||18===x;case 14:return!0}return T.fail("Non-exhaustive case in 'isListElement'.")}function tg(){if(T.assert(18===x),19===eF()){let e=eF();return 27===e||18===e||94===e||117===e}return!0}function tv(){return eF(),eX()}function tb(){return eF(),fQ(x)}function tE(){return eF(),fZ(x)}function tT(){return(117===x||94===x)&&ez(tx)}function tx(){return eF(),nR()}function tS(){return eF(),nh()}function tC(e){if(1===x)return!0;switch(e){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:case 24:return 19===x;case 3:return 19===x||82===x||88===x;case 7:return 18===x||94===x||117===x;case 8:return!!(e3()||nV(x))||38===x;case 19:return 31===x||20===x||18===x||94===x||117===x;case 11:return 21===x||26===x;case 15:case 21:case 10:return 23===x;case 17:case 16:case 18:return 21===x||23===x;case 20:return 27!==x;case 22:return 18===x||19===x;case 13:return 31===x||43===x;case 14:return 29===x&&ez(r2);default:return!1}}function tk(e,t){let n=C;C|=1<=0)}function tO(){let e=e9([],eD());return e.isMissingList=!0,e}function tM(e,t,n,r){if(eY(n)){let n=tD(e,t);return eY(r),n}return tO()}function tP(e,t){let n=eD(),r=e?to(t):ta(t);for(;e2(24)&&29!==x;)r=te(R.createQualifiedName(r,tG(e,!1)),n);return r}function tG(e,t){if(w.hasPrecedingLineBreak()&&fQ(x)&&ez(ru))return tt(79,!0,tA.Identifier_expected);if(80===x){let e=tc();return t?e:tt(79,!0,tA.Identifier_expected)}return e?to():ta()}function tB(e){let t=eD();return te(R.createTemplateExpression(tj(e),function(e){let t;let n=eD(),r=[];do t=function(e){let t=eD();return te(R.createTemplateSpan(eb(nN),tU(e)),t)}(e),r.push(t);while(16===t.literal.kind)return e9(r,n)}(e)),t)}function tU(e){let t;return 19!==x?e8(17,tA._0_expected,tF[19]):(t=tH(x=w.reScanTemplateToken(e)),T.assert(16===t.kind||17===t.kind,"Template fragment has wrong token kind"),t)}function tV(){return tH(x)}function tj(e){e&&eU();let t=tH(x);return T.assert(15===t.kind,"Template head has wrong token kind"),t}function tH(e){let t;let n=eD(),r=yy(e)?R.createTemplateLiteralLikeNode(e,w.getTokenValue(),(t=w.getTokenText()).substring(1,t.length-(w.isUnterminated()?0:14===e||17===e?1:2)),2048&w.getTokenFlags()):8===e?D(w.getTokenValue(),w.getNumericLiteralFlags()):10===e?O(w.getTokenValue(),void 0,w.hasExtendedUnicodeEscape()):yf(e)?M(e,w.getTokenValue()):T.fail();return w.hasExtendedUnicodeEscape()&&(r.hasExtendedUnicodeEscape=!0),w.isUnterminated()&&(r.isUnterminated=!0),eF(),te(r,n)}function tK(){return tP(!0,tA.Type_expected)}function tW(){if(!w.hasPrecedingLineBreak()&&29===eV())return tM(20,nk,29,31)}function tz(){let e=eD();return te(R.createTypeReferenceNode(tK(),tW()),e)}function tq(){let e=eD();return eF(),te(R.createThisTypeNode(),e)}function tJ(){let e;let t=eD();return(108===x||103===x)&&(e=to(),eY(58)),te(R.createParameterDeclaration(void 0,void 0,e,void 0,tX(),void 0),t)}function tX(){w.setInJSDocType(!0);let e=eD();if(e2(142)){let t=R.createJSDocNamepathType(void 0);a:for(;;)switch(x){case 19:case 1:case 27:case 5:break a;default:eG()}return w.setInJSDocType(!1),te(t,e)}let t=e2(25),n=nL();return(w.setInJSDocType(!1),t&&(n=te(R.createJSDocVariadicType(n),e)),63===x)?(eF(),te(R.createJSDocOptionalType(n),e)):n}function tY(){let e,t;let n=eD(),r=rj(!1,!0),i=ta();e2(94)&&(nh()||!nR()?e=nk():t=nz());let a=e2(63)?nk():void 0,o=R.createTypeParameterDeclaration(r,i,e,a);return o.expression=t,te(o,n)}function t$(){if(29===x)return tM(19,tY,29,31)}function tQ(e){return 25===x||rL()||yw(x)||59===x||nh(!e)}function tZ(e,t=!0){let n,r=eD(),i=eO(),a=e?eT(()=>rj(!0)):eg(32768,()=>rj(!0));if(108===x){let e=R.createParameterDeclaration(a,void 0,tr(!0),void 0,nI(),void 0),t=uK(a);return t&&eR(t,tA.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters),ec(te(e,r),i)}let o=ei;ei=!1;let s=e4(25);if(!t&&!(eJ()||22===x||18===x))return;let l=ec(te(R.createParameterDeclaration(a,s,(0===v_(n=rC(tA.Private_identifiers_cannot_be_used_as_parameters))&&!uv(a)&&yw(x)&&eF(),n),e4(57),nI(),nD()),r),i);return ei=o,l}function t0(e,t){if(38===e?(eY(e),!0):!!e2(58)||!!t&&38===x&&(ek(tA._0_expected,tF[58]),eF(),!0))return eE(nL)}function t1(e,t){let n=ex(),r=eC();em(!!(1&e)),ey(!!(2&e));let i=32&e?tD(17,tJ):tD(16,()=>t?tZ(r):tZ(r,!1));return em(n),ey(r),i}function t2(e){if(!eY(20))return tO();let t=t1(e,!0);return eY(21),t}function t4(){e2(27)||e7()}function t8(e){let t=eD(),n=eO();177===e&&eY(103);let r=t$(),i=t2(4),a=t0(58,!0);return t4(),ec(te(176===e?R.createCallSignature(r,i,a):R.createConstructSignature(r,i,a),t),n)}function t6(){return 22===x&&ez(t3)}function t3(){if(eF(),25===x||23===x)return!0;if(yw(x)){if(eF(),eX())return!0}else{if(!eX())return!1;eF()}return 58===x||27===x||57===x&&(eF(),58===x||27===x||23===x)}function t5(e,t,n){let r=tM(16,()=>tZ(!1),22,23),i=nI();return t4(),ec(te(R.createIndexSignature(n,r,i),e),t)}function t7(){if(20===x||29===x||137===x||151===x)return!0;let e=!1;for(;yw(x);)e=!0,eF();return 22===x||(ts()&&(e=!0,eF()),!!e&&(20===x||29===x||57===x||58===x||27===x||e3()))}function t9(){if(20===x||29===x)return t8(176);if(103===x&&ez(ne))return t8(177);let e=eD(),t=eO(),n=rj(!1);return td(137)?rF(e,t,n,174,4):td(151)?rF(e,t,n,175,4):t6()?t5(e,t,n):function(e,t,n){let r;let i=tl(),a=e4(57);if(20===x||29===x){let e=t$(),t=t2(4),o=t0(58,!0);r=R.createMethodSignature(n,i,a,e,t,o)}else{let e=nI();r=R.createPropertySignature(n,i,a,e),63===x&&(r.initializer=nD())}return t4(),ec(te(r,e),t)}(e,t,n)}function ne(){return eF(),20===x||29===x}function nt(){return 24===eF()}function nn(){switch(eF()){case 20:case 29:case 24:return!0}return!1}function nr(){let e;return eY(18)?(e=tk(4,t9),eY(19)):e=tO(),e}function ni(){return(eF(),39===x||40===x)?146===eF():(146===x&&eF(),22===x&&tv()&&101===eF())}function na(){let e=eD();if(e2(25))return te(R.createRestTypeNode(nk()),e);let t=nk();if(Dt(t)&&t.pos===t.type.pos){let e=R.createOptionalTypeNode(t.type);return OV(e,t),e.flags=t.flags,e}return t}function no(){return 58===eF()||57===x&&58===eF()}function ns(){return 25===x?fQ(eF())&&no():fQ(x)&&no()}function nc(){if(ez(ns)){let e=eD(),t=eO(),n=e4(25),r=to(),i=e4(57);eY(58);let a=na();return ec(te(R.createNamedTupleMember(n,r,i,a),e),t)}return na()}function nd(){let e=eD(),t=eO(),n=function(){let e;if(126===x){let t=eD();eF(),e=e9([te(G(126),t)],t)}return e}(),r=e2(103);T.assert(!n||r,"Per isStartOfFunctionOrConstructorType, a function type cannot have modifiers.");let i=t$(),a=t2(4),o=t0(38,!1);return ec(te(r?R.createConstructorTypeNode(n,i,a,o):R.createFunctionTypeNode(i,a,o),e),t)}function nu(){let e=e6();return 24===x?void 0:e}function n_(e){let t=eD();e&&eF();let n=110===x||95===x||104===x?e6():tH(x);return e&&(n=te(R.createPrefixUnaryExpression(40,n),t)),te(R.createLiteralTypeNode(n),t)}function np(){return eF(),100===x}function nf(){let e;f|=2097152;let t=eD(),n=e2(112);eY(100),eY(20);let r=nk();e2(27)&&(e=function(){let e=eD(),t=w.getTokenPos();eY(18);let n=w.hasPrecedingLineBreak();eY(130),eY(58);let r=r8(!0);if(!eY(19)){let e=uJ(v);e&&e.code===tA._0_expected.code&&kl(e,LY(p,t,1,tA.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}return te(R.createImportTypeAssertionContainer(r,n),e)}()),eY(21);let i=e2(24)?tK():void 0,a=tW();return te(R.createImportTypeNode(r,e,i,a,n),t)}function nm(){return eF(),8===x||9===x}function nh(e){switch(x){case 131:case 157:case 152:case 148:case 160:case 134:case 146:case 153:case 156:case 114:case 155:case 104:case 108:case 112:case 144:case 18:case 22:case 29:case 51:case 50:case 103:case 10:case 8:case 9:case 110:case 95:case 149:case 41:case 57:case 53:case 25:case 138:case 100:case 129:case 14:case 15:return!0;case 98:return!e;case 40:return!e&&ez(nm);case 20:return!e&&ez(ny);default:return eX()}}function ny(){return eF(),21===x||tQ(!1)||nh()}function ng(){let e=eD(),t=function e(){switch(x){case 131:case 157:case 152:case 148:case 160:case 153:case 134:case 155:case 144:case 149:return eq(nu)||tz();case 66:w.reScanAsteriskEqualsToken();case 41:let t;return t=eD(),eF(),te(R.createJSDocAllType(),t);case 60:w.reScanQuestionToken();case 57:let n;return n=eD(),(eF(),27===x||19===x||21===x||31===x||63===x||51===x)?te(R.createJSDocUnknownType(),n):te(R.createJSDocNullableType(nk(),!1),n);case 98:return function(){let e=eD(),t=eO();if(ez(r0)){eF();let n=t2(36),r=t0(58,!1);return ec(te(R.createJSDocFunctionType(n,r),e),t)}return te(R.createTypeReferenceNode(to(),void 0),e)}();case 53:let r;return r=eD(),eF(),te(R.createJSDocNonNullableType(e(),!1),r);case 14:case 10:case 8:case 9:case 110:case 95:case 104:return n_();case 40:return ez(nm)?n_(!0):tz();case 114:return e6();case 108:{let e=tq();if(140!==x||w.hasPrecedingLineBreak())return e;return eF(),te(R.createTypePredicateNode(void 0,e,nk()),e.pos)}case 112:let i,a,o;return ez(np)?nf():(i=eD(),eY(112),a=tP(!0),o=w.hasPrecedingLineBreak()?void 0:rX(),te(R.createTypeQueryNode(a,o),i));case 18:let s,l,c,d,u,_,p,f,m,h,y;return ez(ni)?(c=eD(),eY(18),(146===x||39===x||40===x)&&146!==(s=e6()).kind&&eY(146),eY(22),d=eD(),u=to(),eY(101),_=nk(),p=te(R.createTypeParameterDeclaration(void 0,u,_,void 0),d),f=e2(128)?nk():void 0,eY(23),(57===x||39===x||40===x)&&57!==(l=e6()).kind&&eY(57),m=nI(),e7(),h=tk(4,t9),eY(19),te(R.createMappedTypeNode(s,p,f,l,m,h),c)):(y=eD(),te(R.createTypeLiteralNode(nr()),y));case 22:let g;return g=eD(),te(R.createTupleTypeNode(tM(21,nc,22,23)),g);case 20:let v,b;return v=eD(),eY(20),b=nk(),eY(21),te(R.createParenthesizedType(b),v);case 100:return nf();case 129:let E,T,S,A;return ez(ru)?(E=eD(),T=e8(129),S=108===x?tq():ta(),A=e2(140)?nk():void 0,te(R.createTypePredicateNode(T,S,A),E)):tz();case 15:let L;return L=eD(),te(R.createTemplateLiteralType(tj(!1),function(){let e;let t=eD(),n=[];do e=function(){let e=eD();return te(R.createTemplateLiteralTypeSpan(nk(),tU(!1)),e)}(),n.push(e);while(16===e.literal.kind)return e9(n,t)}()),L);default:return tz()}}();for(;!w.hasPrecedingLineBreak();)switch(x){case 53:eF(),t=te(R.createJSDocNonNullableType(t,!0),e);break;case 57:if(ez(tS))return t;eF(),t=te(R.createJSDocNullableType(t,!0),e);break;case 22:if(eY(22),nh()){let n=nk();eY(23),t=te(R.createIndexedAccessTypeNode(t,n),e)}else eY(23),t=te(R.createArrayTypeNode(t),e);break;default:return t}return t}function nv(){if(e2(94)){let e=ev(65536,nk);if(eA()||57!==x)return e}}function nb(e){if(nS()){let t;let n=nd();return t=wZ(n)?e?tA.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:tA.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:e?tA.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:tA.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type,eR(n,t),n}}function nE(e,t,n){let r=eD(),i=51===e,a=e2(e),o=a&&nb(i)||t();if(x===e||a){let a=[o];for(;e2(e);)a.push(nb(i)||t());o=te(n(e9(a,r)),r)}return o}function nT(){return nE(50,function e(){let t=x;switch(t){case 141:case 156:case 146:let n;return n=eD(),eY(t),te(R.createTypeOperatorNode(t,e()),n);case 138:let r,i,a,o;return r=eD(),eY(138),te(R.createInferTypeNode((i=eD(),a=ta(),o=eq(nv),te(R.createTypeParameterDeclaration(void 0,a,o),i))),r)}return eE(ng)},R.createIntersectionTypeNode)}function nx(){return eF(),103===x}function nS(){return!!(29===x||20===x&&ez(nA))||103===x||126===x&&ez(nx)}function nA(){return eF(),!!(21===x||25===x||function(){if(yw(x)&&rj(!1),eX()||108===x)return eF(),!0;if(22===x||18===x){let e=v.length;return rC(),e===v.length}return!1}()&&(58===x||27===x||57===x||63===x||21===x&&(eF(),38===x)))}function nL(){let e=eD(),t=eX()&&eq(nC),n=nk();return t?te(R.createTypePredicateNode(void 0,t,n),e):n}function nC(){let e=ta();if(140===x&&!w.hasPrecedingLineBreak())return eF(),e}function nk(){if(40960&I)return eg(40960,nk);if(nS())return nd();let e=eD(),t=nE(51,nT,R.createUnionTypeNode);if(!eA()&&!w.hasPrecedingLineBreak()&&e2(94)){let n=ev(65536,nk);eY(57);let r=eE(nk);eY(58);let i=eE(nk);return te(R.createConditionalTypeNode(t,n,r,i),e)}return t}function nI(){return e2(58)?nk():void 0}function nw(){switch(x){case 108:case 106:case 104:case 110:case 95:case 8:case 9:case 10:case 14:case 15:case 20:case 22:case 18:case 98:case 84:case 103:case 43:case 68:case 79:return!0;case 100:return ez(nn);default:return eX()}}function nR(){if(nw())return!0;switch(x){case 39:case 40:case 54:case 53:case 89:case 112:case 114:case 45:case 46:case 29:case 133:case 125:case 80:case 59:return!0;default:if(nH())return!0;return eX()}}function nN(){let e;let t=eL();t&&eh(!1);let n=eD(),r=nO(!0);for(;e=e4(27);)r=nK(r,e,nO(!0),n);return t&&eh(!0),r}function nD(){return e2(63)?nO(!0):void 0}function nO(e){let t,n;if(125===x&&(ex()||ez(rf))){let e;return e=eD(),(eF(),!w.hasPrecedingLineBreak()&&(41===x||nR()))?te(R.createYieldExpression(e4(41),nO(!0)),e):te(R.createYieldExpression(void 0,void 0),e)}let r=function(e){let t=20===x||29===x||132===x?ez(nP):38===x?1:0;if(0!==t)return 1===t?nG(!0,!0):eq(()=>(function(e){let t=w.getTokenPos();if(null==k?void 0:k.has(t))return;let n=nG(!1,e);return n||(k||(k=new Set)).add(t),n})(e))}(e)||function(e){if(132===x&&1===ez(nF)){let t=eD(),n=rH();return nM(t,nU(0),e,n)}}(e);if(r)return r;let i=eD(),a=nU(0);return 79===a.kind&&38===x?nM(i,a,e,void 0):gs(a)&&AT(eB())?nK(a,e6(),nO(e),i):(n=e4(57))?te(R.createConditionalExpression(a,n,eg(20480,()=>nO(!1)),t=e8(58),vD(t)?nO(e):tt(79,!1,tA._0_expected,tF[58])),i):a}function nM(e,t,n,r){T.assert(38===x,"parseSimpleArrowFunctionExpression should only have been called if we had a =>");let i=R.createParameterDeclaration(void 0,void 0,t,void 0,void 0,void 0);te(i,t.pos);let a=e9([i],i.pos,i.end),o=e8(38),s=nB(!!r,n);return eu(te(R.createArrowFunction(r,void 0,a,void 0,o,s),e))}function nP(){if(132===x&&(eF(),w.hasPrecedingLineBreak()||20!==x&&29!==x))return 0;let e=x,t=eF();if(20===e){if(21===t)switch(eF()){case 38:case 58:case 18:return 1;default:return 0}if(22===t||18===t)return 2;if(25===t)return 1;if(yw(t)&&132!==t&&ez(tv))return 128===eF()?0:1;if(!eX()&&108!==t)return 0;switch(eF()){case 58:return 1;case 57:if(eF(),58===x||27===x||63===x||21===x)return 1;break;case 27:case 63:case 21:return 2}return 0}return(T.assert(29===e),eX()||85===x)?1===g?ez(()=>{e2(85);let e=eF();if(94===e)switch(eF()){case 63:case 31:case 43:break;default:return!0}else if(27===e||63===e)return!0;return!1})?1:0:2:0}function nF(){if(132===x){if(eF(),w.hasPrecedingLineBreak()||38===x)return 0;let e=nU(0);if(!w.hasPrecedingLineBreak()&&79===e.kind&&38===x)return 1}return 0}function nG(e,t){let n;let r=eD(),i=eO(),a=rH(),o=uv(a,wS)?2:0,s=t$();if(eY(20)){if(e)n=t1(o,e);else{let t=t1(o,e);if(!t)return;n=t}if(!eY(21)&&!e)return}else{if(!e)return;n=tO()}let l=58===x,c=t0(58,!1);if(c&&!e&&function e(t){switch(t.kind){case 180:return vN(t.typeName);case 181:case 182:{let{parameters:n,type:r}=t;return!!n.isMissingList||e(r)}case 193:return e(t.type);default:return!1}}(c))return;let d=c;for(;(null==d?void 0:d.kind)===193;)d=d.type;let u=d&&Di(d);if(!e&&38!==x&&(u||18!==x))return;let _=x,p=e8(38),f=38===_||18===_?nB(uv(a,wS),t):ta();if(t||!l||58===x)return ec(te(R.createArrowFunction(a,s,n,c,p,f),r),i)}function nB(e,t){if(18===x)return rl(e?2:0);if(26!==x&&98!==x&&84!==x&&rh()&&!(18!==x&&98!==x&&84!==x&&59!==x&&nR()))return rl(16|(e?2:0));let n=ei;ei=!1;let r=e?eT(()=>nO(t)):eg(32768,()=>nO(t));return ei=n,r}function nU(e){let t=eD();return nj(e,nz(),t)}function nV(e){return 101===e||162===e}function nj(e,t,n){for(;;){eB();let s=x7(x);if(!(42===x?s>=e:s>e)||101===x&&eS())break;if(128===x||150===x){if(w.hasPrecedingLineBreak())break;{var r,i,a,o;let e=x;eF(),t=150===e?(r=t,i=nk(),te(R.createSatisfiesExpression(r,i),r.pos)):(a=t,o=nk(),te(R.createAsExpression(a,o),a.pos))}}else t=nK(t,e6(),nU(s),n)}return t}function nH(){return(!eS()||101!==x)&&x7(x)>0}function nK(e,t,n,r){return te(R.createBinaryExpression(e,t,n),r)}function nW(){let e=eD();return te(R.createPrefixUnaryExpression(x,eP(nq)),e)}function nz(){if(function(){switch(x){case 39:case 40:case 54:case 53:case 89:case 112:case 114:case 133:return!1;case 29:if(1!==g)return!1;default:return!0}}()){let e=eD(),t=nJ();return 42===x?nj(x7(x),t,e):t}let e=x,t=nq();if(42===x){let n=mc(m,t.pos),{end:r}=t;213===t.kind?ew(n,r,tA.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):ew(n,r,tA.An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses,tF[e])}return t}function nq(){switch(x){case 39:case 40:case 54:case 53:return nW();case 89:let e;return e=eD(),te(R.createDeleteExpression(eP(nq)),e);case 112:let t;return t=eD(),te(R.createTypeOfExpression(eP(nq)),t);case 114:let n;return n=eD(),te(R.createVoidExpression(eP(nq)),n);case 29:let r,i,a;if(1===g)return n$(!0);return T.assert(1!==g,"Type assertions should never be parsed in JSX; they should be parsed as comparisons or JSX elements/fragments."),r=eD(),eY(29),i=nk(),eY(31),a=nq(),te(R.createTypeAssertion(i,a),r);case 133:if(133===x&&(eC()||ez(rf))){let e;return e=eD(),te(R.createAwaitExpression(eP(nq)),e)}default:return nJ()}}function nJ(){if(45===x||46===x){let e=eD();return te(R.createPrefixUnaryExpression(x,eP(nX)),e)}if(1===g&&29===x&&ez(tE))return n$(!0);let e=nX();if(T.assert(gs(e)),(45===x||46===x)&&!w.hasPrecedingLineBreak()){let t=x;return eF(),te(R.createPostfixUnaryExpression(e,t),e.pos)}return e}function nX(){let e;let t=eD();return 100===x?ez(ne)?(f|=2097152,e=e6()):ez(nt)?(eF(),eF(),e=te(R.createMetaProperty(100,to()),t),f|=4194304):e=nY():e=106===x?function(){let e=eD(),t=e6();if(29===x){let e=eD(),n=eq(n9);void 0===n||(ew(e,eD(),tA.super_may_not_use_type_arguments),n6()||(t=R.createExpressionWithTypeArguments(t,n)))}return 20===x||24===x||22===x?t:(e8(24,tA.super_must_be_followed_by_an_argument_list_or_member_access),te(V(t,tG(!0,!0)),e))}():nY(),n5(t,e)}function nY(){let e=eD(),t=function e(){switch(x){case 8:case 9:case 10:case 14:return tV();case 108:case 106:case 104:case 110:case 95:return e6();case 20:let t,n,r;return t=eD(),n=eO(),eY(20),r=eb(nN),eY(21),ec(te(J(r),t),n);case 22:return rn();case 18:return ri();case 132:if(!ez(rp))break;return ra();case 59:return function(){let e=eD(),t=eO(),n=rj(!0);if(84===x)return rW(e,t,n,228);let r=tt(279,!0,tA.Expression_expected);return kT(r,e),r.modifiers=n,r}();case 84:return rW(eD(),eO(),void 0,228);case 98:return ra();case 103:return function(){let t;let n=eD();if(eY(103),e2(24)){let e=to();return te(R.createMetaProperty(103,e),n)}let r=n8(eD(),e(),!1);return 230===r.kind&&(t=r.typeArguments,r=r.expression),28===x&&ek(tA.Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0,vY(m,r)),te(q(r,t,20===x?n7():void 0),n)}();case 43:case 68:if(13===(x=w.reScanSlashToken()))return tV();break;case 15:return tB(!1);case 80:return tc()}return ta(tA.Expression_expected)}();return n8(e,t,!0)}function n$(e,t,n){let r;let i=eD(),a=function(e){let t,n;let r=eD();if(eY(29),31===x)return eK(),te(R.createJsxOpeningFragment(),r);let i=nZ(),a=(262144&I)==0?rX():void 0,o=(n=eD(),te(R.createJsxAttributes(tk(13,n1)),n));return 31===x?(eK(),t=R.createJsxOpeningElement(i,a,o)):(eY(43),eY(31,void 0,!1)&&(e?eF():eK()),t=R.createJsxSelfClosingElement(i,a,o)),te(t,r)}(e);if(283===a.kind){let t,o=nQ(a),s=o[o.length-1];if((null==s?void 0:s.kind)===281&&!Mg(s.openingElement.tagName,s.closingElement.tagName)&&Mg(a.tagName,s.closingElement.tagName)){let e=s.children.end,n=te(R.createJsxElement(s.openingElement,s.children,te(R.createJsxClosingElement(te(P(""),e,e)),e,e)),s.openingElement.pos,e);o=e9([...o.slice(0,o.length-1),n],o.pos,e),t=s.closingElement}else{let r,i;r=eD(),eY(30),i=nZ(),eY(31,void 0,!1)&&(e||!Mg(a.tagName,i)?eF():eK()),t=te(R.createJsxClosingElement(i),r),Mg(a.tagName,t.tagName)||(n&&NP(n)&&Mg(t.tagName,n.tagName)?eR(a.tagName,tA.JSX_element_0_has_no_corresponding_closing_tag,vY(m,a.tagName)):eR(t.tagName,tA.Expected_corresponding_JSX_closing_tag_for_0,vY(m,a.tagName)))}r=te(R.createJsxElement(a,o,t),i)}else{let t;286===a.kind?r=te(R.createJsxFragment(a,nQ(a),(t=eD(),eY(30),eY(31,tA.Expected_corresponding_closing_tag_for_JSX_fragment,!1)&&(e?eF():eK()),te(R.createJsxJsxClosingFragment(),t))),i):(T.assert(282===a.kind),r=a)}if(e&&29===x){let e=void 0===t?r.pos:t,n=eq(()=>n$(!0,e));if(n){let t=tt(27,!1);return kA(t,n.pos,0),ew(mc(m,e),n.end,tA.JSX_expressions_must_have_one_parent_element),te(R.createBinaryExpression(r,t,n),i)}}return r}function nQ(e){let t=[],n=eD(),r=C;for(C|=16384;;){let n=function(e,t){switch(t){case 1:if(NB(e))eR(e,tA.JSX_fragment_has_no_corresponding_closing_tag);else{let t=e.tagName;ew(mc(m,t.pos),t.end,tA.JSX_element_0_has_no_corresponding_closing_tag,vY(m,e.tagName))}return;case 30:case 7:return;case 11:case 12:return function(){let e=eD(),t=R.createJsxText(w.getTokenValue(),12===x);return x=w.scanJsxToken(),te(t,e)}();case 18:return n0(!1);case 29:return n$(!1,void 0,e);default:return T.assertNever(t)}}(e,x=w.reScanJsxToken());if(!n||(t.push(n),NP(e)&&(null==n?void 0:n.kind)===281&&!Mg(n.openingElement.tagName,n.closingElement.tagName)&&Mg(e.tagName,n.closingElement.tagName)))break}return C=r,e9(t,n)}function nZ(){let e=eD();eH();let t=108===x?e6():to();for(;e2(24);)t=te(V(t,tG(!0,!1)),e);return t}function n0(e){let t,n;let r=eD();if(eY(18))return 19!==x&&(t=e4(25),n=nN()),e?eY(19):eY(19,void 0,!1)&&eK(),te(R.createJsxExpression(t,n),r)}function n1(){if(18===x){let e,t;return e=eD(),eY(18),eY(25),t=nN(),eY(19),te(R.createJsxSpreadAttribute(t),e)}eH();let e=eD();return te(R.createJsxAttribute(to(),function(){if(63===x){if(10===(x=w.scanJsxAttributeValue()))return tV();if(18===x)return n0(!0);if(29===x)return n$(!0);ek(tA.or_JSX_element_expected)}}()),e)}function n2(){return eF(),fQ(x)||22===x||n6()}function n4(e){if(32&e.flags)return!0;if(RV(e)){let t=e.expression;for(;RV(t)&&!(32&t.flags);)t=t.expression;if(32&t.flags){for(;RV(e);)e.flags|=32,e=e.expression;return!0}}return!1}function n8(e,t,n){for(;;){let r;let i=!1;if(n&&28===x&&ez(n2)?(r=e8(28),i=fQ(x)):i=e2(24),i){t=function(e,t,n){let r=tG(!0,!0),i=n||n4(t),a=i?j(t,n,r):V(t,r);return i&&wE(a.name)&&eR(a.name,tA.An_optional_chain_cannot_contain_private_identifiers),RG(t)&&t.typeArguments&&ew(t.typeArguments.pos-1,mc(m,t.typeArguments.end)+1,tA.An_instantiation_expression_cannot_be_followed_by_a_property_access),te(a,e)}(e,t,r);continue}if((r||!eL())&&e2(22)){t=function(e,t,n){let r;if(23===x)r=tt(79,!0,tA.An_element_access_expression_should_take_an_argument);else{let e=eb(nN);xO(e)&&(e.text=tn(e.text)),r=e}return eY(23),te(n||n4(t)?K(t,n,r):H(t,r),e)}(e,t,r);continue}if(n6()){t=r||230!==t.kind?n3(e,t,r,void 0):n3(e,t.expression,r,t.typeArguments);continue}if(!r){if(53===x&&!w.hasPrecedingLineBreak()){eF(),t=te(R.createNonNullExpression(t),e);continue}let n=eq(n9);if(n){t=te(R.createExpressionWithTypeArguments(t,n),e);continue}}return t}}function n6(){return 14===x||15===x}function n3(e,t,n,r){let i=R.createTaggedTemplateExpression(t,r,14===x?(eU(),tV()):tB(!0));return(n||32&t.flags)&&(i.flags|=32),i.questionDotToken=n,te(i,e)}function n5(e,t){for(;;){let n;t=n8(e,t,!0);let r=e4(28);if(r&&(n=eq(n9),n6())){t=n3(e,t,r,n);continue}if(n||20===x){r||230!==t.kind||(n=t.typeArguments,t=t.expression);let i=n7();t=te(r||n4(t)?z(t,r,n,i):W(t,n,i),e);continue}r&&(t=te(j(t,r,tt(79,!1,tA.Identifier_expected)),e));break}return t}function n7(){eY(20);let e=tD(11,rt);return eY(21),e}function n9(){if((262144&I)!=0||29!==eV())return;eF();let e=tD(20,nk);if(31===eB())return eF(),e&&function(){switch(x){case 20:case 14:case 15:return!0;case 29:case 31:case 39:case 40:return!1}return w.hasPrecedingLineBreak()||nH()||!nR()}()?e:void 0}function re(){let e,t;return 25===x?(e=eD(),eY(25),t=nO(!0),te(R.createSpreadElement(t),e)):27===x?te(R.createOmittedExpression(),eD()):nO(!0)}function rt(){return eg(20480,re)}function rn(){let e=eD(),t=w.getTokenPos(),n=eY(22),r=w.hasPrecedingLineBreak(),i=tD(15,re);return e1(22,23,n,t),te(B(i,r),e)}function rr(){let e;let t=eD(),n=eO();if(e4(25)){let e=nO(!0);return ec(te(R.createSpreadAssignment(e),t),n)}let r=rj(!0);if(td(137))return rF(t,n,r,174,0);if(td(151))return rF(t,n,r,175,0);let i=e4(41),a=eX(),o=tl(),s=e4(57),l=e4(53);if(i||20===x||29===x)return rO(t,n,r,i,o,s,l);if(a&&58!==x){let t=e4(63),n=t?eb(()=>nO(!0)):void 0;(e=R.createShorthandPropertyAssignment(o,n)).equalsToken=t}else{eY(58);let t=eb(()=>nO(!0));e=R.createPropertyAssignment(o,t)}return e.modifiers=r,e.questionToken=s,e.exclamationToken=l,ec(te(e,t),n)}function ri(){let e=eD(),t=w.getTokenPos(),n=eY(18),r=w.hasPrecedingLineBreak(),i=tD(12,rr,!0);return e1(18,19,n,t),te(U(i,r),e)}function ra(){let e=eL();eh(!1);let t=eD(),n=eO(),r=rj(!1);eY(98);let i=e4(41),a=i?1:0,o=uv(r,wS)?2:0,s=a&&o?ev(40960,ro):a?ev(8192,ro):o?eT(ro):ro(),l=t$(),c=t2(a|o),d=t0(58,!1),u=rl(a|o);return eh(e),ec(te(R.createFunctionExpression(r,i,s,l,c,d,u),t),n)}function ro(){return eJ()?ti():void 0}function rs(e,t){let n=eD(),r=eO(),i=w.getTokenPos(),a=eY(18,t);if(a||e){let e=w.hasPrecedingLineBreak(),t=tk(1,rg);e1(18,19,a,i);let o=ec(te(X(t,e),n),r);return 63===x&&(ek(tA.Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_whole_assignment_in_parentheses),eF()),o}return ec(te(X(tO(),void 0),n),r)}function rl(e,t){let n=ex();em(!!(1&e));let r=eC();ey(!!(2&e));let i=ei;ei=!1;let a=eL();a&&eh(!1);let o=rs(!!(16&e),t);return a&&eh(!0),ei=i,em(n),ey(r),o}function rc(e){let t=eD(),n=eO();eY(249===e?81:86);let r=e3()?void 0:ta();return e7(),ec(te(249===e?R.createBreakStatement(r):R.createContinueStatement(r),t),n)}function rd(){let e,t,n,r,i,a;return 82===x?(e=eD(),t=eO(),eY(82),n=eb(nN),eY(58),r=tk(3,rg),ec(te(R.createCaseClause(n,r),e),t)):(i=eD(),eY(88),eY(58),a=tk(3,rg),te(R.createDefaultClause(a),i))}function ru(){return eF(),fQ(x)&&!w.hasPrecedingLineBreak()}function r_(){return eF(),84===x&&!w.hasPrecedingLineBreak()}function rp(){return eF(),98===x&&!w.hasPrecedingLineBreak()}function rf(){return eF(),(fQ(x)||8===x||9===x||10===x)&&!w.hasPrecedingLineBreak()}function rm(){for(;;)switch(x){case 113:case 119:case 85:case 98:case 84:case 92:return!0;case 118:case 154:return eF(),!w.hasPrecedingLineBreak()&&eX();case 142:case 143:return eF(),!w.hasPrecedingLineBreak()&&(eX()||10===x);case 126:case 127:case 132:case 136:case 121:case 122:case 123:case 146:if(eF(),w.hasPrecedingLineBreak())return!1;continue;case 159:return eF(),18===x||79===x||93===x;case 100:return eF(),10===x||41===x||18===x||fQ(x);case 93:let e=eF();if(154===e&&(e=ez(eF)),63===e||41===e||18===e||88===e||128===e||59===e)return!0;continue;case 124:eF();continue;default:return!1}}function rh(){switch(x){case 59:case 26:case 18:case 113:case 119:case 98:case 84:case 92:case 99:case 90:case 115:case 97:case 86:case 81:case 105:case 116:case 107:case 109:case 111:case 87:case 83:case 96:case 132:case 136:case 118:case 142:case 143:case 154:case 159:return!0;case 100:return ez(rm)||ez(nn);case 85:case 93:return ez(rm);case 127:case 123:case 121:case 122:case 124:case 146:return ez(rm)||!ez(ru);default:return nR()}}function ry(){return eF(),eJ()||18===x||22===x}function rg(){let e,t,n,r,i,a,o,s,l,c,d,u,_,p,f,m,h,y,g,v,b,E,T,S,A,C,k,I,N,D,O,M,F,G,B,U,V,j,H,K,W,z,q,J,X,Y,en,er,ei,ea,eo;switch(x){case 26:return e=eD(),t=eO(),eY(26),ec(te(R.createEmptyStatement(),e),t);case 18:return rs(!1);case 113:return rN(eD(),eO(),void 0);case 119:if(ez(ry))return rN(eD(),eO(),void 0);break;case 98:return rD(eD(),eO(),void 0);case 84:return rW(eD(),eO(),void 0,260);case 99:return n=eD(),r=eO(),eY(99),i=w.getTokenPos(),a=eY(20),o=eb(nN),e1(20,21,a,i),ec(te(Q(o,rg(),e2(91)?rg():void 0),n),r);case 90:return s=eD(),l=eO(),eY(90),c=rg(),eY(115),d=w.getTokenPos(),u=eY(20),_=eb(nN),e1(20,21,u,d),e2(26),ec(te(R.createDoStatement(c,_),s),l);case 115:return p=eD(),f=eO(),eY(115),m=w.getTokenPos(),h=eY(20),y=eb(nN),e1(20,21,h,m),ec(te(Z(y,rg()),p),f);case 97:return function(){let e,t;let n=eD(),r=eO();eY(97);let i=e4(133);if(eY(20),26!==x&&(e=113===x||119===x||85===x?rw(!0):ev(4096,nN)),i?eY(162):e2(162)){let n=eb(()=>nO(!0));eY(21),t=et(i,e,n,rg())}else if(e2(101)){let n=eb(nN);eY(21),t=R.createForInStatement(e,n,rg())}else{eY(26);let n=26!==x&&21!==x?eb(nN):void 0;eY(26);let r=21!==x?eb(nN):void 0;eY(21),t=ee(e,n,r,rg())}return ec(te(t,n),r)}();case 86:return rc(248);case 81:return rc(249);case 105:return g=eD(),v=eO(),eY(105),b=e3()?void 0:eb(nN),e7(),ec(te(R.createReturnStatement(b),g),v);case 116:return E=eD(),T=eO(),eY(116),S=w.getTokenPos(),A=eY(20),C=eb(nN),e1(20,21,A,S),k=ev(33554432,rg),ec(te(R.createWithStatement(C,k),E),T);case 107:return I=eD(),N=eO(),eY(107),eY(20),D=eb(nN),eY(21),O=eD(),eY(18),M=tk(2,rd),eY(19),F=te(R.createCaseBlock(M),O),ec(te(R.createSwitchStatement(D,F),I),N);case 109:return G=eD(),B=eO(),eY(109),void 0===(U=w.hasPrecedingLineBreak()?void 0:eb(nN))&&(L++,U=te(P(""),eD())),e5()||eQ(U),ec(te(R.createThrowStatement(U),G),B);case 111:case 83:case 96:return j=eD(),H=eO(),eY(111),q=rs(!1),(J=83===x?(W=eD(),eY(83),e2(20)?(K=rI(),eY(21)):K=void 0,z=rs(!1),te(R.createCatchClause(K,z),W)):void 0)&&96!==x||(eY(96,tA.catch_or_finally_expected),V=rs(!1)),ec(te(R.createTryStatement(q,J,V),j),H);case 87:return X=eD(),Y=eO(),eY(87),e7(),ec(te(R.createDebuggerStatement(),X),Y);case 59:return rb();case 132:case 118:case 154:case 142:case 143:case 136:case 85:case 92:case 93:case 100:case 121:case 122:case 123:case 126:case 127:case 124:case 146:case 159:if(ez(rm))return rb()}return er=eD(),ei=eO(),ea=20===x,wb(eo=eb(nN))&&e2(58)?en=R.createLabeledStatement(eo,rg()):(e5()||eQ(eo),en=$(eo),ea&&(ei=!1)),ec(te(en,er),ei)}function rv(e){return 136===e.kind}function rb(){let e=eD(),t=eO(),n=rj(!0);if(!uv(n,rv))return rE(e,t,n);{let r=ev(16777216,()=>{let t=tw(C,e);if(t)return tR(t)});if(r)return r;for(let e of n)e.flags|=16777216;return ev(16777216,()=>rE(e,t,n))}}function rE(e,t,n){switch(x){case 113:case 119:case 85:return rN(e,t,n);case 98:return rD(e,t,n);case 84:return rW(e,t,n,260);case 118:let r,i,a,o;return eY(118),r=ta(),i=t$(),a=rz(),o=nr(),ec(te(R.createInterfaceDeclaration(n,r,i,a,o),e),t);case 154:let s,l,c;return eY(154),s=ta(),l=t$(),eY(63),c=139===x&&eq(nu)||nk(),e7(),ec(te(R.createTypeAliasDeclaration(n,s,l,c),e),t);case 92:let d,u;return eY(92),u=ta(),eY(18)?(d=eg(40960,()=>tD(6,r$)),eY(19)):d=tO(),ec(te(R.createEnumDeclaration(n,u,d),e),t);case 159:case 142:case 143:return function(e,t,n){let r=0;if(159===x)return rZ(e,t,n);if(e2(143))r|=16;else if(eY(142),10===x)return rZ(e,t,n);return function e(t,n,r,i){let a=16&i,o=ta(),s=e2(24)?e(eD(),!1,void 0,4|a):rQ();return ec(te(R.createModuleDeclaration(r,o,s,i),t),n)}(e,t,n,r)}(e,t,n);case 100:return function(e,t,n){var r,i,a,o;let s,l,c,d,u,_;eY(100);let p=w.getStartPos();eX()&&(s=ta());let f=!1;if(158!==x&&(null==s?void 0:s.escapedText)==="type"&&(eX()||41===x||18===x)&&(f=!0,s=eX()?ta():void 0),s&&!(27===x||158===x)){let r,i,l;return a=s,o=f,eY(63),l=147===x&&ez(r0)?(r=eD(),eY(147),eY(20),i=r6(),eY(21),te(R.createExternalModuleReference(i),r)):tP(!1),e7(),ec(te(R.createImportEqualsDeclaration(n,o,a,l),e),t)}(s||41===x||18===x)&&(r=s,i=f,(!r||e2(27))&&(d=41===x?(u=eD(),eY(41),eY(128),_=ta(),te(R.createNamespaceImport(_),u)):r3(272)),l=te(R.createImportClause(i,r,d),p),eY(158));let m=r6();return 130!==x||w.hasPrecedingLineBreak()||(c=r8()),e7(),ec(te(R.createImportDeclaration(n,l,m,c),e),t)}(e,t,n);case 93:switch(eF(),x){case 88:case 63:let _,p,f;return p=eC(),ey(!0),e2(63)?_=!0:eY(88),f=nO(!0),e7(),ey(p),ec(te(R.createExportAssignment(n,_,f),e),t);case 128:let m,h;return eY(128),eY(143),m=ta(),e7(),(h=R.createNamespaceExportDeclaration(m)).modifiers=n,ec(te(h,e),t);default:let y,g,v,b,E,T;return b=eC(),ey(!0),E=e2(154),T=eD(),e2(41)?(e2(128)&&(y=te(R.createNamespaceExport(to()),T)),eY(158),g=r6()):(y=r3(276),158!==x&&(10!==x||w.hasPrecedingLineBreak())||(eY(158),g=r6())),g&&130===x&&!w.hasPrecedingLineBreak()&&(v=r8()),e7(),ey(b),ec(te(R.createExportDeclaration(n,E,y,g,v),e),t)}default:if(n){let t=tt(279,!0,tA.Declaration_expected);return kT(t,e),t.modifiers=n,t}return}}function rT(e,t){if(18!==x){if(4&e){t4();return}if(e3()){e7();return}}return rl(e,t)}function rx(){let e=eD();if(27===x)return te(R.createOmittedExpression(),e);let t=e4(25),n=rC(),r=nD();return te(R.createBindingElement(t,void 0,n,r),e)}function rS(){let e;let t=eD(),n=e4(25),r=eJ(),i=tl();r&&58!==x?(e=i,i=void 0):(eY(58),e=rC());let a=nD();return te(R.createBindingElement(n,i,e,a),t)}function rL(){return 18===x||22===x||80===x||eJ()}function rC(e){let t,n,r,i;return 22===x?(t=eD(),eY(22),n=tD(10,rx),eY(23),te(R.createArrayBindingPattern(n),t)):18===x?(r=eD(),eY(18),i=tD(9,rS),eY(19),te(R.createObjectBindingPattern(i),r)):ti(e)}function rk(){return rI(!0)}function rI(e){let t;let n=eD(),r=eO(),i=rC(tA.Private_identifiers_are_not_allowed_in_variable_declarations);return e&&79===i.kind&&53===x&&!w.hasPrecedingLineBreak()&&(t=e6()),ec(te(en(i,t,nI(),nV(x)?void 0:nD()),n),r)}function rw(e){let t;let n=eD(),r=0;switch(x){case 113:break;case 119:r|=1;break;case 85:r|=2;break;default:T.fail()}if(eF(),162===x&&ez(rR))t=tO();else{let n=eS();ef(e,4096),t=tD(8,e?rI:rk),ef(n,4096)}return te(er(t,r),n)}function rR(){return tv()&&21===eF()}function rN(e,t,n){let r=rw(!1);return e7(),ec(te(Y(n,r),e),t)}function rD(e,t,n){let r=eC(),i=Af(n);eY(98);let a=e4(41),o=1024&i?ro():ti(),s=a?1:0,l=512&i?2:0,c=t$();1&i&&ey(!0);let d=t2(s|l),u=t0(58,!1),_=rT(s|l,tA.or_expected);return ey(r),ec(te(R.createFunctionDeclaration(n,a,o,c,d,u,_),e),t)}function rO(e,t,n,r,i,a,o,s){let l=r?1:0,c=uv(n,wS)?2:0,d=t$(),u=t2(l|c),_=t0(58,!1),p=rT(l|c,s),f=R.createMethodDeclaration(n,r,i,a,d,u,_,p);return f.exclamationToken=o,ec(te(f,e),t)}function rM(e,t,n,r,i){let a=i||w.hasPrecedingLineBreak()?void 0:e4(53),o=nI(),s=eg(45056,nD);return function(e,t,n){if(59===x&&!w.hasPrecedingLineBreak()){ek(tA.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations);return}if(20===x){ek(tA.Cannot_start_a_function_call_in_a_type_annotation),eF();return}if(t&&!e3()){n?ek(tA._0_expected,tF[26]):ek(tA.Expected_for_property_initializer);return}if(!e5()){if(n){ek(tA._0_expected,tF[26]);return}eQ(e)}}(r,o,s),ec(te(R.createPropertyDeclaration(n,r,i||a,o,s),e),t)}function rP(e,t,n){let r=e4(41),i=tl(),a=e4(57);return r||20===x||29===x?rO(e,t,n,r,i,a,void 0,tA.or_expected):rM(e,t,n,i,a)}function rF(e,t,n,r,i){let a=tl(),o=t$(),s=t2(0),l=t0(58,!1),c=rT(i),d=174===r?R.createGetAccessorDeclaration(n,a,s,l,c):R.createSetAccessorDeclaration(n,a,s,c);return d.typeParameters=o,wq(d)&&(d.type=l),ec(te(d,e),t)}function rG(){let e;if(59===x)return!0;for(;yw(x);){if(yN(e=x))return!0;eF()}if(41===x||(ts()&&(e=x,eF()),22===x))return!0;if(void 0!==e){if(!xS(e)||151===e||137===e)return!0;switch(x){case 20:case 29:case 53:case 58:case 63:case 57:return!0;default:return e3()}}return!1}function rB(){if(eC()&&133===x){let e=eD(),t=ta(tA.Expression_expected);eF();let n=n8(e,t,!0);return n5(e,n)}return nX()}function rU(){let e=eD();if(!e2(59))return;let t=ev(16384,rB);return te(R.createDecorator(t),e)}function rV(e,t,n){let r=eD(),i=x;if(85===x&&t){if(!eq(tu))return}else if(n&&124===x&&ez(r1))return;else if(e&&124===x)return;else if(!(yw(x)&&eq(t_)))return;return te(G(i),r)}function rj(e,t,n){let r;let i=eD(),a,o,s=!1,l=!1,c=!1;if(e&&59===x)for(;a=rU();)r=uD(r,a);for(;o=rV(s,t,n);)124===o.kind&&(s=!0),r=uD(r,o),l=!0;if(l&&e&&59===x)for(;a=rU();)r=uD(r,a),c=!0;if(c)for(;o=rV(s,t,n);)124===o.kind&&(s=!0),r=uD(r,o);return r&&e9(r,i)}function rH(){let e;if(132===x){let t=eD();eF(),e=e9([te(G(132),t)],t)}return e}function rK(){let e=eD();if(26===x)return eF(),te(R.createSemicolonClassElement(),e);let t=eO(),n=rj(!0,!0,!0);if(124===x&&ez(r1)){let r,i,a,o;return e8(124),r=ex(),i=eC(),em(!1),ey(!0),a=rs(!1),em(r),ey(i),(o=ec(te(R.createClassStaticBlockDeclaration(a),e),t)).modifiers=n,o}if(td(137))return rF(e,t,n,174,0);if(td(151))return rF(e,t,n,175,0);if(135===x||10===x){let r=eq(()=>{if(135===x?eY(135):10===x&&20===ez(eF)?eq(()=>{let e=tV();return"constructor"===e.text?e:void 0}):void 0){let r=t$(),i=t2(0),a=t0(58,!1),o=rT(0,tA.or_expected),s=R.createConstructorDeclaration(n,i,o);return s.typeParameters=r,s.type=a,ec(te(s,e),t)}});if(r)return r}if(t6())return t5(e,t,n);if(fQ(x)||10===x||8===x||41===x||22===x){if(!uv(n,rv))return rP(e,t,n);for(let e of n)e.flags|=16777216;return ev(16777216,()=>rP(e,t,n))}return n?rM(e,t,n,tt(79,!0,tA.Declaration_expected),void 0):T.fail("Should not have attempted to parse class member declaration.")}function rW(e,t,n,r){let i;let a=eC();eY(84);let o=eJ()&&!(117===x&&ez(tb))?tr(eJ()):void 0,s=t$();uv(n,wT)&&ey(!0);let l=rz();return eY(18)?(i=tk(5,rK),eY(19)):i=tO(),ey(a),ec(te(260===r?R.createClassDeclaration(n,o,s,l,i):R.createClassExpression(n,o,s,l,i),e),t)}function rz(){if(rY())return tk(22,rq)}function rq(){let e=eD(),t=x;T.assert(94===t||117===t),eF();let n=tD(7,rJ);return te(R.createHeritageClause(t,n),e)}function rJ(){let e=eD(),t=nX();if(230===t.kind)return t;let n=rX();return te(R.createExpressionWithTypeArguments(t,n),e)}function rX(){return 29===x?tM(20,nk,29,31):void 0}function rY(){return 94===x||117===x}function r$(){let e=eD(),t=eO(),n=tl(),r=eb(nD);return ec(te(R.createEnumMember(n,r),e),t)}function rQ(){let e;let t=eD();return eY(18)?(e=tk(1,rg),eY(19)):e=tO(),te(R.createModuleBlock(e),t)}function rZ(e,t,n){let r,i,a=0;return 159===x?(r=ta(),a|=1024):(r=tV()).text=tn(r.text),18===x?i=rQ():e7(),ec(te(R.createModuleDeclaration(n,r,i,a),e),t)}function r0(){return 20===eF()}function r1(){return 18===eF()}function r2(){return 43===eF()}function r4(){let e=eD(),t=fQ(x)?to():tH(10);eY(58);let n=nO(!0);return te(R.createAssertEntry(t,n),e)}function r8(e){let t=eD();e||eY(130);let n=w.getTokenPos();if(eY(18)){let e=w.hasPrecedingLineBreak(),r=tD(24,r4,!0);if(!eY(19)){let e=uJ(v);e&&e.code===tA._0_expected.code&&kl(e,LY(p,n,1,tA.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}return te(R.createAssertClause(r,e),t)}{let e=e9([],eD(),void 0,!1);return te(R.createAssertClause(e,!1),t)}}function r6(){if(10!==x)return nN();{let e=tV();return e.text=tn(e.text),e}}function r3(e){let t=eD();return te(272===e?R.createNamedImports(tM(23,r7,18,19)):R.createNamedExports(tM(23,r5,18,19)),t)}function r5(){let e=eO();return ec(r9(278),e)}function r7(){return r9(273)}function r9(e){let t;let n=eD(),r=xS(x)&&!eX(),i=w.getTokenPos(),a=w.getTextPos(),o=!1,s=!0,l=to();if("type"===l.escapedText){if(128===x){let e=to();if(128===x){let n=to();fQ(x)?(o=!0,t=e,l=c()):(t=l,l=n),s=!1}else fQ(x)?(t=l,s=!1,l=c()):(o=!0,l=e)}else fQ(x)&&(o=!0,l=c())}return s&&128===x&&(t=l,eY(128),l=c()),273===e&&r&&ew(i,a,tA.Identifier_expected),te(273===e?R.createImportSpecifier(o,t,l):R.createExportSpecifier(o,t,l),n);function c(){return r=xS(x)&&!eX(),i=w.getTokenPos(),a=w.getTextPos(),to()}}(i=t||(t={}))[i.SourceElements=0]="SourceElements",i[i.BlockStatements=1]="BlockStatements",i[i.SwitchClauses=2]="SwitchClauses",i[i.SwitchClauseStatements=3]="SwitchClauseStatements",i[i.TypeMembers=4]="TypeMembers",i[i.ClassMembers=5]="ClassMembers",i[i.EnumMembers=6]="EnumMembers",i[i.HeritageClauseElement=7]="HeritageClauseElement",i[i.VariableDeclarations=8]="VariableDeclarations",i[i.ObjectBindingElements=9]="ObjectBindingElements",i[i.ArrayBindingElements=10]="ArrayBindingElements",i[i.ArgumentExpressions=11]="ArgumentExpressions",i[i.ObjectLiteralMembers=12]="ObjectLiteralMembers",i[i.JsxAttributes=13]="JsxAttributes",i[i.JsxChildren=14]="JsxChildren",i[i.ArrayLiteralMembers=15]="ArrayLiteralMembers",i[i.Parameters=16]="Parameters",i[i.JSDocParameters=17]="JSDocParameters",i[i.RestProperties=18]="RestProperties",i[i.TypeParameters=19]="TypeParameters",i[i.TypeArguments=20]="TypeArguments",i[i.TupleElementTypes=21]="TupleElementTypes",i[i.HeritageClauses=22]="HeritageClauses",i[i.ImportOrExportSpecifiers=23]="ImportOrExportSpecifiers",i[i.AssertEntries=24]="AssertEntries",i[i.Count=25]="Count",(a=n||(n={}))[a.False=0]="False",a[a.True=1]="True",a[a.Unknown=2]="Unknown",(e=>{var t,n;let r,i;function a(e){let t=eD(),n=(e?e2:eY)(18),r=ev(8388608,tX);(!e||n)&&e0(19);let i=R.createJSDocTypeExpression(r);return e_(i),te(i,t)}function o(){let e=eD(),t=e2(18),n=eD(),r=tP(!1);for(;80===x;)ej(),eG(),r=te(R.createJSDocMemberName(r,ta()),n);t&&e0(19);let i=R.createJSDocNameReference(r);return e_(i),te(i,e)}function s(e=0,t){let n,r,i,s,l;let c=m,d=void 0===t?c.length:e+t;if(t=d-e,T.assert(e>=0),T.assert(e<=d),T.assert(d<=c.length),!Oq(c,e))return;let u=[],_=[];return w.scanRange(e+3,t-5,()=>{let t,a=1,o=e-(c.lastIndexOf("\n",e)+1)+4;function p(e){t||(t=o),u.push(e),o+=e.length}for(eG();K(5););K(4)&&(a=0,o=0);t:for(;;){switch(x){case 59:var m;0===a||1===a?(h(u),l||(l=eD()),(m=b(o))&&(n?n.push(m):(n=[m],r=m.pos),i=m.end),a=0,t=void 0):p(w.getTokenText());break;case 4:u.push(w.getTokenText()),a=0,o=0;break;case 41:let c=w.getTokenText();1===a||2===a?(a=2,p(c)):(a=1,o+=c.length);break;case 5:let d=w.getTokenText();2===a?u.push(d):void 0!==t&&o+d.length>t&&u.push(d.slice(t-o)),o+=d.length;break;case 1:break t;case 18:a=2;let y=w.getStartPos(),g=C(w.getTextPos()-1);if(g){s||f(u),_.push(te(R.createJSDocText(u.join("")),null!=s?s:e,y)),_.push(g),u=[],s=w.getTextPos();break}default:a=2,p(w.getTokenText())}eG()}h(u),_.length&&u.length&&_.push(te(R.createJSDocText(u.join("")),null!=s?s:e,l)),_.length&&n&&T.assertIsDefined(l,"having parsed tags implies that the end of the comment span should be set");let y=n&&e9(n,r,i);return te(R.createJSDocComment(_.length?e9(_,e,l):u.length?u.join(""):void 0,y),e,d)});function f(e){for(;e.length&&("\n"===e[0]||"\r"===e[0]);)e.shift()}function h(e){for(;e.length&&""===e[e.length-1].trim();)e.pop()}function y(){for(;;){if(eG(),1===x)return!0;if(!(5===x||4===x))return!1}}function g(){if(!((5===x||4===x)&&ez(y)))for(;5===x||4===x;)eG()}function v(){if((5===x||4===x)&&ez(y))return"";let e=w.hasPrecedingLineBreak(),t=!1,n="";for(;e&&41===x||5===x||4===x;)n+=w.getTokenText(),4===x?(e=!0,t=!0,n=""):41===x&&(e=!1),eG();return t?n:""}function b(e){let t,r,i,s,l,c,d,u,_,f,m,h,y,b,A,L,C,k,P,G,V,z,q,J,X,Y;T.assert(59===x);let $=w.getTokenPos();eG();let Q=W(void 0),Z=v();switch(Q.escapedText){case"author":r=eD(),i=function(){let e=[],t=!1,n=w.getToken();for(;1!==n&&4!==n;){if(29===n)t=!0;else if(59!==n||t){if(31===n&&t){e.push(w.getTokenText()),w.setTextPos(w.getTokenPos()+1);break}}else break;e.push(w.getTokenText()),n=eG()}return R.createJSDocText(e.join(""))}(),(l=E($,s=w.getStartPos(),e,Z))||(s=w.getStartPos()),c="string"!=typeof l?e9(uE([te(i,r,s)],l),r):i.text+l,t=te(R.createJSDocAuthorTag(Q,c),$);break;case"implements":d=F(),t=te(R.createJSDocImplementsTag(Q,d,E($,eD(),e,Z)),$);break;case"augments":case"extends":u=F(),t=te(R.createJSDocAugmentsTag(Q,u,E($,eD(),e,Z)),$);break;case"class":case"constructor":t=B($,R.createJSDocClassTag,Q,e,Z);break;case"public":t=B($,R.createJSDocPublicTag,Q,e,Z);break;case"private":t=B($,R.createJSDocPrivateTag,Q,e,Z);break;case"protected":t=B($,R.createJSDocProtectedTag,Q,e,Z);break;case"readonly":t=B($,R.createJSDocReadonlyTag,Q,e,Z);break;case"override":t=B($,R.createJSDocOverrideTag,Q,e,Z);break;case"deprecated":ed=!0,t=B($,R.createJSDocDeprecatedTag,Q,e,Z);break;case"this":_=a(!0),g(),t=te(R.createJSDocThisTag(Q,_,E($,eD(),e,Z)),$);break;case"enum":f=a(!0),g(),t=te(R.createJSDocEnumTag(Q,f,E($,eD(),e,Z)),$);break;case"arg":case"argument":case"param":return O($,Q,2,e);case"return":case"returns":uv(n,DS)&&ew(Q.pos,w.getTokenPos(),tA._0_tag_already_specified,Q.escapedText),m=N(),t=te(R.createJSDocReturnTag(Q,m,E($,eD(),e,Z)),$);break;case"template":h=18===x?a():void 0,y=function(){let e=eD(),t=[];do{g();let e=function(){let e;let t=eD(),n=K(22);n&&g();let r=W(tA.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces);if(n&&(g(),eY(63),e=ev(8388608,tX),eY(23)),!vN(r))return te(R.createTypeParameterDeclaration(void 0,r,void 0,e),t)}();void 0!==e&&t.push(e),v()}while(K(27))return e9(t,e)}(),t=te(R.createJSDocTemplateTag(Q,h,y,E($,eD(),e,Z)),$);break;case"type":t=M($,Q,e,Z);break;case"typedef":t=function(e,t,n,r){var i;let a;let o=N();v();let s=U();g();let l=S(n);if(!o||D(o.type)){let t,r,i;let s=!1;for(;t=eq(()=>H(1,n));)if(s=!0,347===t.kind){if(r){let e=ek(tA.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);e&&kl(e,LY(p,0,0,tA.The_tag_was_first_specified_here));break}r=t}else i=uD(i,t);if(s){let t=o&&185===o.type.kind,n=R.createJSDocTypeLiteral(i,t);a=(o=r&&r.typeExpression&&!D(r.typeExpression.type)?r.typeExpression:te(n,e)).end}}return a=a||void 0!==l?eD():(null!=(i=null!=s?s:o)?i:t).end,l||(l=E(e,a,n,r)),te(R.createJSDocTypedefTag(t,o,s,l),e,a)}($,Q,e,Z);break;case"callback":b=U(),g(),A=S(e),L=j($,e),A||(A=E($,eD(),e,Z)),C=void 0!==A?eD():L.end,t=te(R.createJSDocCallbackTag(Q,L,b,A),$,C);break;case"overload":g(),k=S(e),P=j($,e),k||(k=E($,eD(),e,Z)),G=void 0!==k?eD():P.end,t=te(R.createJSDocOverloadTag(Q,P,k),$,G);break;case"satisfies":V=a(!1),z=void 0!==e&&void 0!==Z?E($,eD(),e,Z):void 0,t=te(R.createJSDocSatisfiesTag(Q,V,z),$);break;case"see":q=22===x||ez(()=>59===eG()&&fQ(eG())&&I(w.getTokenValue()))?void 0:o(),J=void 0!==e&&void 0!==Z?E($,eD(),e,Z):void 0,t=te(R.createJSDocSeeTag(Q,q,J),$);break;case"exception":case"throws":X=N(),Y=E($,eD(),e,Z),t=te(R.createJSDocThrowsTag(Q,X,Y),$);break;default:t=te(R.createJSDocUnknownTag(Q,E($,eD(),e,Z)),$)}return t}function E(e,t,n,r){return r||(n+=t-e),S(n,r.slice(n))}function S(e,t){let n,r;let i=eD(),a=[],o=[],s=0,l=!0;function c(t){r||(r=e),a.push(t),e+=t.length}void 0!==t&&(""!==t&&c(t),s=1);let d=x;t:for(;;){switch(d){case 4:s=0,a.push(w.getTokenText()),e=0;break;case 59:if(3===s||2===s&&(!l||ez(A))){a.push(w.getTokenText());break}w.setTextPos(w.getTextPos()-1);case 1:break t;case 5:if(2===s||3===s)c(w.getTokenText());else{let t=w.getTokenText();void 0!==r&&e+t.length>r&&a.push(t.slice(r-e)),e+=t.length}break;case 18:s=2;let t=w.getStartPos(),u=C(w.getTextPos()-1);u?(o.push(te(R.createJSDocText(a.join("")),null!=n?n:i,t)),o.push(u),a=[],n=w.getTextPos()):c(w.getTokenText());break;case 61:s=3===s?2:3,c(w.getTokenText());break;case 41:if(0===s){s=1,e+=1;break}default:3!==s&&(s=2),c(w.getTokenText())}l=5===x,d=eG()}return(f(a),h(a),o.length)?(a.length&&o.push(te(R.createJSDocText(a.join("")),null!=n?n:i)),e9(o,i,w.getTextPos())):a.length?a.join(""):void 0}function A(){let e=eG();return 5===e||4===e}function C(e){let t=eq(k);if(!t)return;eG(),g();let n=eD(),r=fQ(x)?tP(!0):void 0;if(r)for(;80===x;)ej(),eG(),r=te(R.createJSDocMemberName(r,ta()),n);let i=[];for(;19!==x&&4!==x&&1!==x;)i.push(w.getTokenText()),eG();return te(("link"===t?R.createJSDocLink:"linkcode"===t?R.createJSDocLinkCode:R.createJSDocLinkPlain)(r,i.join("")),e,w.getTextPos())}function k(){if(v(),18===x&&59===eG()&&fQ(eG())){let e=w.getTokenValue();if(I(e))return e}}function I(e){return"link"===e||"linkcode"===e||"linkplain"===e}function N(){return v(),18===x?a():void 0}function D(e){switch(e.kind){case 149:return!0;case 185:return D(e.elementType);default:return wQ(e)&&wb(e.typeName)&&"Object"===e.typeName.escapedText&&!e.typeArguments}}function O(e,t,n,r){let i,a,o,s=N(),l=!s;v();let{name:c,isBracketed:d}=((i=K(22))&&g(),a=K(61),o=function(){let e=W();for(e2(22)&&eY(23);e2(24);){var t;let n=W();e2(22)&&eY(23),t=e,e=te(R.createQualifiedName(t,n),t.pos)}return e}(),a&&(function(e){if(61===x){let e,t;return e=eD(),t=x,eG(),te(G(t),e)}}(0)||tt(61,!1,tA._0_expected,tF[61])),i&&(g(),e4(63)&&nN(),eY(23)),{name:o,isBracketed:i}),u=v();l&&!ez(k)&&(s=N());let _=E(e,eD(),r,u),p=4!==n&&function(e,t,n,r){if(e&&D(e.type)){let i,a;let o=eD();for(;i=eq(()=>H(n,r,t));)(344===i.kind||351===i.kind)&&(a=uD(a,i));if(a){let t=te(R.createJSDocTypeLiteral(a,185===e.type.kind),o);return te(R.createJSDocTypeExpression(t),o)}}}(s,c,n,r);return p&&(s=p,l=!0),te(1===n?R.createJSDocPropertyTag(t,c,d,s,l,_):R.createJSDocParameterTag(t,c,d,s,l,_),e)}function M(e,t,r,i){uv(n,DL)&&ew(t.pos,w.getTokenPos(),tA._0_tag_already_specified,t.escapedText);let o=a(!0),s=void 0!==r&&void 0!==i?E(e,eD(),r,i):void 0;return te(R.createJSDocTypeTag(t,o,s),e)}function F(){let e=e2(18),t=eD(),n=function(){let e=eD(),t=W();for(;e2(24);)t=te(V(t,W()),e);return t}(),r=rX(),i=te(R.createExpressionWithTypeArguments(n,r),t);return e&&eY(19),i}function B(e,t,n,r,i){return te(t(n,E(e,eD(),r,i)),e)}function U(e){let t=w.getTokenPos();if(!fQ(x))return;let n=W();if(e2(24)){let r=U(!0);return te(R.createModuleDeclaration(void 0,n,r,e?4:void 0),t)}return e&&(n.flags|=2048),n}function j(e,t){let n=function(e){let t,n;let r=eD();for(;t=eq(()=>H(4,e));)n=uD(n,t);return e9(n||[],r)}(t),r=eq(()=>{if(K(59)){let e=b(t);if(e&&345===e.kind)return e}});return te(R.createJSDocSignature(void 0,n,r),e)}function H(e,t,n){let r=!0,i=!1;for(;;)switch(eG()){case 59:if(r){let r=function(e,t){let n;T.assert(59===x);let r=w.getStartPos();eG();let i=W();switch(g(),i.escapedText){case"type":return 1===e&&M(r,i);case"prop":case"property":n=1;break;case"arg":case"argument":case"param":n=6;break;default:return!1}return!!(e&n)&&O(r,i,e,t)}(e,t);if(r&&(344===r.kind||351===r.kind)&&4!==e&&n&&(wb(r.name)||!function(e,t){for(;!wb(e)||!wb(t);){if(wb(e)||wb(t)||e.right.escapedText!==t.right.escapedText)return!1;e=e.left,t=t.left}return e.escapedText===t.escapedText}(n,r.name.left)))return!1;return r}i=!1;break;case 4:r=!0,i=!1;break;case 41:i&&(r=!1),i=!0;break;case 79:r=!1;break;case 1:return!1}}function K(e){return x===e&&(eG(),!0)}function W(e){if(!fQ(x))return tt(79,!e,e||tA.Identifier_expected);L++;let t=w.getTokenPos(),n=w.getTextPos(),r=x,i=te(P(tn(w.getTokenValue()),r),t,n);return eG(),i}}e.parseJSDocTypeExpressionForTests=function(e,t,n){es("file.js",e,99,void 0,1),w.setText(e,t,n),x=w.scan();let r=a(),i=ep("file.js",99,1,!1,[],G(1),0,_x),o=L$(v,i);return b&&(i.jsDocDiagnostics=L$(b,i)),el(),r?{jsDocTypeExpression:r,diagnostics:o}:void 0},e.parseJSDocTypeExpression=a,e.parseJSDocNameReference=o,e.parseIsolatedJSDocComment=function(e,t,n){es("",e,99,void 0,1);let r=ev(8388608,()=>s(t,n)),i=L$(v,{languageVariant:0,text:e});return el(),r?{jsDoc:r,diagnostics:i}:void 0},e.parseJSDocComment=function(e,t,n){let r=x,i=v.length,a=ea,o=ev(8388608,()=>s(t,n));return kC(o,e),262144&I&&(b||(b=[]),b.push(...v)),x=r,v.length=i,ea=a,o},(t=r||(r={}))[t.BeginningOfLine=0]="BeginningOfLine",t[t.SawAsterisk=1]="SawAsterisk",t[t.SavingComments=2]="SavingComments",t[t.SavingBackticks=3]="SavingBackticks",(n=i||(i={}))[n.Property=1]="Property",n[n.Parameter=2]="Parameter",n[n.CallbackParameter=4]="CallbackParameter"})(r=e.JSDocParser||(e.JSDocParser={}))})(rS||(rS={})),(e=>{var t;let n;function r(e,t,n,r,a,s){function l(e){let t="";if(s&&i(e)&&(t=r.substring(e.pos,e.end)),e._children&&(e._children=void 0),kS(e,e.pos+n,e.end+n),s&&i(e)&&T.assert(t===a.substring(e.pos,e.end)),Mr(e,l,c),g$(e))for(let t of e.jsDoc)l(t);o(e,s)}function c(e){for(let t of(e._children=void 0,kS(e,e.pos+n,e.end+n),e))l(t)}t?c(e):l(e)}function i(e){switch(e.kind){case 10:case 8:case 79:return!0}return!1}function a(e,t,n,r,i){T.assert(e.end>=t,"Adjusting an element that was entirely before the change range"),T.assert(e.pos<=n,"Adjusting an element that was entirely after the change range"),T.assert(e.pos<=e.end);let a=Math.min(e.pos,r),o=e.end>=n?e.end+i:Math.min(e.end,r);T.assert(a<=o),e.parent&&(T.assertGreaterThanOrEqual(a,e.parent.pos),T.assertLessThanOrEqual(o,e.parent.end)),kS(e,a,o)}function o(e,t){if(t){let t=e.pos,n=e=>{T.assert(e.pos>=t),t=e.end};if(g$(e))for(let t of e.jsDoc)n(t);Mr(e,n),T.assert(t<=e.end)}}function s(e,t,n,r){let i=e.text;if(n&&(T.assert(i.length-n.span.length+n.newLength===t.length),r||T.shouldAssert(3))){let e=i.substr(0,n.span.start),r=t.substr(0,n.span.start);T.assert(e===r);let a=i.substring(mO(n.span),i.length),o=t.substring(mO(mJ(n)),t.length);T.assert(a===o)}}function l(e){let t=e.statements,n=0;T.assert(n(a===i||(r&&r.end===a&&n=e.pos&&i=e.pos&&i0&&t<=1;t++){let t=function(e,t){let n,r=e;if(Mr(e,function e(i){if(!vN(i)){if(!(i.pos<=t))return T.assert(i.pos>t),!0;if(i.pos>=r.pos&&(r=i),tr.pos&&(r=e)}return r}(e,n);T.assert(t.pos<=n),n=Math.max(0,t.pos-1)}return mY(mq(n,mO(t.span)),t.newLength+(t.span.start-n))}(e,n);s(e,t,u,i),T.assert(u.span.start<=n.span.start),T.assert(mO(u.span)===mO(n.span)),T.assert(mO(mJ(u))===mO(mJ(n)));let _=mJ(u).length-u.span.length;(function(e,t,n,i,s,l,c,d){function u(e){if(T.assert(e.pos<=e.end),e.pos>n){r(e,!1,s,l,c,d);return}let p=e.end;if(p>=t){if(e.intersectsChange=!0,e._children=void 0,a(e,t,n,i,s),Mr(e,u,_),g$(e))for(let t of e.jsDoc)u(t);o(e,d);return}T.assert(pn){r(e,!0,s,l,c,d);return}let o=e.end;if(o>=t){for(let r of(e.intersectsChange=!0,e._children=void 0,a(e,t,n,i,s),e))u(r);return}T.assert(or){d();let t={range:{pos:e.pos+i,end:e.end+i},type:c};l=uD(l,t),s&&T.assert(a.substring(e.pos,e.end)===o.substring(t.range.pos,t.range.end))}}return d(),l;function d(){!c&&(c=!0,l?t&&l.push(...t):l=t)}}(e.commentDirectives,p.commentDirectives,u.span.start,mO(u.span),_,c,t,i),p.impliedNodeFormat=e.impliedNodeFormat,p},e.createSyntaxCursor=l,(t=n||(n={}))[t.Value=-1]="Value"})(rA||(rA={})),rL=new Map,rC=/^\/\/\/\s*<(\S+)\s.*?\/>/im,rk=/^\/\/\/?\s*@(\S+)\s*(.*)\s*$/im}});function Mb(e){let t=new Map,n=new Map;return dz(e,e=>{t.set(e.name.toLowerCase(),e),e.shortName&&n.set(e.shortName,e.name)}),{optionsNameMap:t,shortOptionNames:n}}function ME(){return r$||(r$=Mb(rU))}function MT(e){return Mx(e,L0)}function Mx(e,t){let n=u9(e.type.keys()),r=(e.deprecatedKeys?n.filter(t=>!e.deprecatedKeys.has(t)):n).map(e=>`'${e}'`).join(", ");return t(tA.Argument_for_0_option_must_be_Colon_1,`--${e.name}`,r)}function MS(e,t,n){return Pf(e,g(t||""),n)}function MA(e,t="",n){if(pn(t=g(t),"-"))return;if("listOrElement"===e.type&&!_2(t,","))return Pp(e,t,n);if(""===t)return[];let r=t.split(",");switch(e.element.type){case"number":return uu(r,t=>Pp(e.element,parseInt(t),n));case"string":return uu(r,t=>Pp(e.element,t||"",n));case"boolean":case"object":return T.fail(`List of ${e.element.type} is not yet supported.`);default:return uu(r,t=>MS(e.element,t,n))}}function ML(e){return e.name}function MC(e,t,n,r){var i;if(null==(i=t.alternateMode)?void 0:i.getOptionsNameMap().optionsNameMap.has(e.toLowerCase()))return n(t.alternateMode.diagnostic,e);let a=_Q(e,t.optionDeclarations,ML);return a?n(t.unknownDidYouMeanDiagnostic,r||e,a.name):n(t.unknownOptionDiagnostic,r||e)}function Mk(e,t,n){let r;let i={},a=[],o=[];return function t(s){let l=0;for(;ltv.readFile(e)));if(!_v(r)){o.push(r);return}let i=[],a=0;for(;;){for(;a=r.charCodeAt(a);)a++;if(a>=r.length)break;let t=a;if(34===r.charCodeAt(t)){for(a++;a32;)a++;i.push(r.substring(t,a))}}t(i)}(c.slice(1));else if(45===c.charCodeAt(0)){let t=c.slice(45===c.charCodeAt(1)?2:1),n=MN(e.getOptionsNameMap,t,!0);if(n)l=MI(s,l,e,n,i,o);else{let n=MN(r6.getOptionsNameMap,t,!0);n?l=MI(s,l,r6,n,r||(r={}),o):o.push(MC(t,e,L0,c))}}else a.push(c)}}(t),{options:i,watchOptions:r,fileNames:a,errors:o}}function MI(e,t,n,r,i,a){if(r.isTSConfigOnly){let n=e[t];"null"===n?(i[r.name]=void 0,t++):"boolean"===r.type?"false"===n?(i[r.name]=Pp(r,!1,a),t++):("true"===n&&t++,a.push(L0(tA.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line,r.name))):(a.push(L0(tA.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line,r.name)),n&&!pn(n,"-")&&t++)}else if(e[t]||"boolean"===r.type||a.push(L0(n.optionTypeMismatchDiagnostic,r.name,MJ(r))),"null"!==e[t])switch(r.type){case"number":i[r.name]=Pp(r,parseInt(e[t]),a),t++;break;case"boolean":let o=e[t];i[r.name]=Pp(r,"false"!==o,a),("false"===o||"true"===o)&&t++;break;case"string":i[r.name]=Pp(r,e[t]||"",a),t++;break;case"list":let s=MA(r,e[t],a);i[r.name]=s||[],s&&t++;break;case"listOrElement":T.fail("listOrElement not supported here");break;default:i[r.name]=MS(r,e[t],a),t++}else i[r.name]=void 0,t++;return t}function Mw(e,t){return Mk(r0,e,t)}function MR(e,t){return MN(ME,e,t)}function MN(e,t,n=!1){t=t.toLowerCase();let{optionsNameMap:r,shortOptionNames:i}=e();if(n){let e=i.get(t);void 0!==e&&(t=e)}return r.get(t)}function MD(){return r1||(r1=Mb(rX))}function MO(e){let{options:t,watchOptions:n,fileNames:r,errors:i}=Mk(r2,e);return 0===r.length&&r.push("."),t.clean&&t.force&&i.push(L0(tA.Options_0_and_1_cannot_be_combined,"clean","force")),t.clean&&t.verbose&&i.push(L0(tA.Options_0_and_1_cannot_be_combined,"clean","verbose")),t.clean&&t.watch&&i.push(L0(tA.Options_0_and_1_cannot_be_combined,"clean","watch")),t.watch&&t.dry&&i.push(L0(tA.Options_0_and_1_cannot_be_combined,"watch","dry")),{buildOptions:t,watchOptions:n,projects:r,errors:i}}function MM(e,...t){let n=L0.apply(void 0,arguments);return n.messageText}function MP(e,t,n,r,i,a){let o=MU(e,e=>n.readFile(e));if(!_v(o)){n.onUnRecoverableConfigFileDiagnostic(o);return}let s=Mc(e,o),l=n.getCurrentDirectory();return s.path=fR(e,l,_7(n.useCaseSensitiveFileNames)),s.resolvedPath=s.path,s.originalFileName=s.fileName,M6(s,n,fk(fy(e),l),t,fk(e,l),void 0,a,r,i)}function MF(e,t){let n=MU(e,t);return _v(n)?MG(e,n):{config:{},error:n}}function MG(e,t){let n=Mc(e,t);return{config:MW(n,n.parseDiagnostics,!1,void 0),error:n.parseDiagnostics.length?n.parseDiagnostics[0]:void 0}}function MB(e,t){let n=MU(e,t);return _v(n)?Mc(e,n):{fileName:e,parseDiagnostics:[n]}}function MU(e,t){let n;try{n=t(e)}catch(t){return L0(tA.Cannot_read_file_0_Colon_1,e,t.message)}return void 0===n?L0(tA.Cannot_read_file_0,e):n}function MV(){return r8||(r8=Mb(rM))}function Mj(){return r3||(r3=_n(rU,ML))}function MH(){return r5||(r5=_n(rM,ML))}function MK(){return r7||(r7=_n(rY,ML))}function MW(e,t,n,r){var i;let a=null==(i=e.statements[0])?void 0:i.expression,o=n?(void 0===ie&&(ie={name:void 0,type:"object",elementOptions:_n([{name:"compilerOptions",type:"object",elementOptions:Mj(),extraKeyDiagnostics:r0},{name:"watchOptions",type:"object",elementOptions:MH(),extraKeyDiagnostics:r6},{name:"typeAcquisition",type:"object",elementOptions:MK(),extraKeyDiagnostics:r4},r9,{name:"references",type:"list",element:{name:"references",type:"object"},category:tA.Projects},{name:"files",type:"list",element:{name:"files",type:"string"},category:tA.File_Management},{name:"include",type:"list",element:{name:"include",type:"string"},category:tA.File_Management,defaultValueDescription:tA.if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk},{name:"exclude",type:"list",element:{name:"exclude",type:"string"},category:tA.File_Management,defaultValueDescription:tA.node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified},rI],ML)}),ie):void 0;if(a&&207!==a.kind){if(t.push(bI(e,a,tA.The_root_value_of_a_0_file_must_be_an_object,"jsconfig.json"===fg(e.fileName)?"jsconfig.json":"tsconfig.json")),Rf(a)){let n=d0(a.elements,Rm);if(n)return Mq(e,n,t,!0,o,r)}return{}}return Mq(e,a,t,!0,o,r)}function Mz(e,t){var n;return Mq(e,null==(n=e.statements[0])?void 0:n.expression,t,!0,void 0,void 0)}function Mq(e,t,n,r,i,a){if(!t)return r?{}:void 0;return l(t,i);function o(e){return i&&i.elementOptions===e}function s(t,i,s,d){let u=r?{}:void 0;for(let _ of t.properties){if(299!==_.kind){n.push(bI(e,_,tA.Property_assignment_expected));continue}_.questionToken&&n.push(bI(e,_.questionToken,tA.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),c(_.name)||n.push(bI(e,_.name,tA.String_literal_with_double_quotes_expected));let t=bx(_.name)?void 0:bA(_.name),p=t&&hr(t),f=p&&i?i.get(p):void 0;p&&s&&!f&&(i?n.push(MC(p,s,(t,n,r)=>bI(e,_.name,t,n,r))):n.push(bI(e,_.name,s.unknownOptionDiagnostic,p)));let m=l(_.initializer,f);if(void 0!==p&&(r&&(u[p]=m),a&&(d||o(i)))){let e=MX(f,m);d?e&&a.onSetValidOptionKeyValueInParent(d,f,m):o(i)&&(e?a.onSetValidOptionKeyValueInRoot(p,_.name,m,_.initializer):f||a.onSetUnknownOptionKeyValueInRoot(p,_.name,m,_.initializer))}}return u}function l(t,i){let a;switch(t.kind){case 110:return u(i&&"boolean"!==i.type&&("listOrElement"!==i.type||"boolean"!==i.element.type)),d(!0);case 95:return u(i&&"boolean"!==i.type&&("listOrElement"!==i.type||"boolean"!==i.element.type)),d(!1);case 104:return u(i&&"extends"===i.name),d(null);case 10:c(t)||n.push(bI(e,t,tA.String_literal_with_double_quotes_expected)),u(i&&_v(i.type)&&"string"!==i.type&&("listOrElement"!==i.type||_v(i.element.type)&&"string"!==i.element.type));let o=t.text;return i&&T.assert("listOrElement"!==i.type||"string"===i.element.type,"Only string or array of string is handled for now"),!i||_v(i.type)||i.type.has(o.toLowerCase())||(n.push(Mx(i,(n,r,i)=>bI(e,t,n,r,i))),a=!0),d(o);case 8:return u(i&&"number"!==i.type&&("listOrElement"!==i.type||"number"!==i.element.type)),d(Number(t.text));case 221:if(40!==t.operator||8!==t.operand.kind)break;return u(i&&"number"!==i.type&&("listOrElement"!==i.type||"number"!==i.element.type)),d(-Number(t.operand.text));case 207:if(u(i&&"object"!==i.type&&("listOrElement"!==i.type||"object"!==i.element.type)),!i)return d(s(t,void 0,void 0,void 0));{let{elementOptions:e,extraKeyDiagnostics:n,name:r}=i;return d(s(t,e,n,r))}case 206:return u(i&&"list"!==i.type&&"listOrElement"!==i.type),d(function(e,t){if(!r){e.forEach(e=>l(e,t));return}return d9(e.map(e=>l(e,t)),e=>void 0!==e)}(t.elements,i&&i.element))}function d(r){var o;if(!a){let a=null==(o=null==i?void 0:i.extraValidation)?void 0:o.call(i,r);if(a){n.push(bI(e,t,...a));return}}return r}function u(r){r&&(n.push(bI(e,t,tA.Compiler_option_0_requires_a_value_of_type_1,i.name,MJ(i))),a=!0)}i?u(!0):n.push(bI(e,t,tA.Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal))}function c(t){return wr(t)&&Tt(t,e)}}function MJ(e){return"listOrElement"===e.type?`${MJ(e.element)} or Array`:"list"===e.type?"Array":_v(e.type)?e.type:"string"}function MX(e,t){return!!e&&(!!M5(t)||("list"===e.type?_y(t):"listOrElement"===e.type?_y(t)||MX(e.element,t):typeof t===(_v(e.type)?e.type:"string")))}function MY(e,t,n){var r,i,a;let o=_7(n.useCaseSensitiveFileNames),s=un(d9(e.fileNames,(null==(i=null==(r=e.options.configFile)?void 0:r.configFileSpecs)?void 0:i.validatedIncludeSpecs)?function(e,t,n,r){if(!t)return _A;let i=CH(e,n,t,r.useCaseSensitiveFileNames,r.getCurrentDirectory()),a=i.excludePattern&&CK(i.excludePattern,r.useCaseSensitiveFileNames),o=i.includeFilePattern&&CK(i.includeFilePattern,r.useCaseSensitiveFileNames);return o?a?e=>!(o.test(e)&&!a.test(e)):e=>!o.test(e):a?e=>a.test(e):_A}(t,e.options.configFile.configFileSpecs.validatedIncludeSpecs,e.options.configFile.configFileSpecs.validatedExcludeSpecs,n):_A),e=>fW(fk(t,n.getCurrentDirectory()),fk(e,n.getCurrentDirectory()),o)),l=MZ(e.options,{configFilePath:fk(t,n.getCurrentDirectory()),useCaseSensitiveFileNames:n.useCaseSensitiveFileNames}),c=e.watchOptions&&M0(e.watchOptions,MV());return{compilerOptions:{...M$(l),showConfig:void 0,configFile:void 0,configFilePath:void 0,help:void 0,init:void 0,listFiles:void 0,listEmittedFiles:void 0,project:void 0,build:void 0,version:void 0},watchOptions:c&&M$(c),references:un(e.projectReferences,e=>({...e,path:e.originalPath?e.originalPath:"",originalPath:void 0})),files:dW(s)?s:void 0,...(null==(a=e.options.configFile)?void 0:a.configFileSpecs)?{include:function(e){if(dW(e)&&(1!==dW(e)||e[0]!==it))return e}(e.options.configFile.configFileSpecs.validatedIncludeSpecs),exclude:e.options.configFile.configFileSpecs.validatedExcludeSpecs}:{},compileOnSave:!!e.compileOnSave||void 0}}function M$(e){return{...u9(e.entries()).reduce((e,t)=>({...e,[t[0]]:t[1]}),{})}}function MQ(e,t){return vl(t,(t,n)=>{if(t===e)return n})}function MZ(e,t){return M0(e,ME(),t)}function M0(e,{optionsNameMap:t},n){let r=new Map,i=n&&_7(n.useCaseSensitiveFileNames);for(let a in e)if(u4(e,a)){if(t.has(a)&&(t.get(a).category===tA.Command_line_Options||t.get(a).category===tA.Output_Formatting))continue;let o=e[a],s=t.get(a.toLowerCase());if(s){T.assert("listOrElement"!==s.type);let e=function e(t){switch(t.type){case"string":case"number":case"boolean":case"object":return;case"list":case"listOrElement":return e(t.element);default:return t.type}}(s);e?"list"===s.type?r.set(a,o.map(t=>MQ(t,e))):r.set(a,MQ(o,e)):n&&s.isFilePath?r.set(a,fW(n.configFilePath,fk(o,fy(n.configFilePath)),i)):r.set(a,o)}}return r}function M1(e,t){let n,r=MZ(_l(e,rZ));return n=[],rB.forEach(e=>{if(!r.has(e.name))return;let t=r.get(e.name),i=PS(e);t!==i?n.push(` ${e.name}: ${t}`):u4(rZ,e.name)&&n.push(` ${e.name}: ${i}`)}),n.join(t)+t}function M2(e,t,n){let r=MZ(_l(e,rZ));return function(){let e=new Map;for(let t of(e.set(tA.Projects,[]),e.set(tA.Language_and_Environment,[]),e.set(tA.Modules,[]),e.set(tA.JavaScript_Support,[]),e.set(tA.Emit,[]),e.set(tA.Interop_Constraints,[]),e.set(tA.Type_Checking,[]),e.set(tA.Completeness,[]),rU))if(function({category:e,name:t,isCommandLineOnly:n}){let i=[tA.Command_line_Options,tA.Editor_Support,tA.Compiler_Diagnostics,tA.Backwards_Compatibility,tA.Watch_and_Build_Modes,tA.Output_Formatting];return!n&&void 0!==e&&(!i.includes(e)||r.has(t))}(t)){let n=e.get(t.category);n||e.set(t.category,n=[]),n.push(t)}let a=0,o=0,s=[];e.forEach((e,t)=>{for(let n of(0!==s.length&&s.push({value:""}),s.push({value:`/* ${LX(t)} */`}),e)){let e;e=r.has(n.name)?`"${n.name}": ${JSON.stringify(r.get(n.name))}${(o+=1)===r.size?"":","}`:`// "${n.name}": ${JSON.stringify(PS(n))},`,s.push({value:e,description:`/* ${n.description&&LX(n.description)||n.name} */`}),a=Math.max(e.length,a)}});let l=i(2),c=[];for(let e of(c.push("{"),c.push(`${l}"compilerOptions": {`),c.push(`${l}${l}/* ${LX(tA.Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file)} */`),c.push(""),s)){let{value:t,description:n=""}=e;c.push(t&&`${l}${l}${t}${n&&i(a-t.length+2)+n}`)}if(t.length){c.push(`${l}},`),c.push(`${l}"files": [`);for(let e=0;e=0)return s.push(L0(tA.Circularity_detected_while_resolving_configuration_Colon_0,[...o,y].join(" -> "))),{raw:t||Mz(n,s)};let g=t?function(e,t,n,r,i){var a;let o;u4(e,"excludes")&&i.push(L0(tA.Unknown_option_excludes_Did_you_mean_exclude));let s=Ps(e.compilerOptions,n,i,r),l=Pc(e.typeAcquisition,n,i,r),c=(a=e.watchOptions,Pd(MH(),a,n,void 0,r6,i));if(e.compileOnSave=function(e,t,n){if(!u4(e,rI.name))return!1;let r=Pu(rI,e.compileOnSave,t,n);return"boolean"==typeof r&&r}(e,n,i),e.extends||""===e.extends){if(MX(r9,e.extends)){let a=r?fy(fk(r,n)):n;if(_v(e.extends))o=Pr(e.extends,t,a,i,L0);else for(let n of(o=[],e.extends))_v(n)?o=uD(o,Pr(n,t,a,i,L0)):i.push(L0(tA.Compiler_option_0_requires_a_value_of_type_1,"extends",MJ(r9.element)))}else i.push(L0(tA.Compiler_option_0_requires_a_value_of_type_1,"extends",MJ(r9)))}return{raw:e,options:s,watchOptions:c,typeAcquisition:l,extendedConfigPath:o}}(t,r,i,a,s):(d=i,m=Po(a),h=MW(n,s,!0,{onSetValidOptionKeyValueInParent(e,t,n){let r;switch(e){case"compilerOptions":r=m;break;case"watchOptions":r=_||(_={});break;case"typeAcquisition":r=u||(u=Pl(a));break;default:T.fail("Unknown option")}r[t.name]=function e(t,n,r){if(!M5(r))return"listOrElement"!==t.type||_y(r)?"list"===t.type||"listOrElement"===t.type?t.element.isFilePath||!_v(t.element.type)?d9(un(r,r=>e(t.element,n,r)),e=>!!t.listPreserveFalsyValues||!!e):r:_v(t.type)?P_(t,n,r):t.type.get(_v(r)?r.toLowerCase():r):e(t.element,n,r)}(t,d,n)},onSetValidOptionKeyValueInRoot(e,t,i,o){if("extends"===e){let e=a?fy(fk(a,d)):d;if(_v(i))p=Pr(i,r,e,s,(e,t)=>bI(n,o,e,t));else{p=[];for(let t=0;tbI(n,o.elements[t],e,r))))}}return}},onSetUnknownOptionKeyValueInRoot(e,t,r,i){"excludes"===e&&s.push(bI(n,t,tA.Unknown_option_excludes_Did_you_mean_exclude)),d0(rB,t=>t.name===e)&&(f=uD(f,t))}}),u||(u=Pl(a)),f&&h&&void 0===h.compilerOptions&&s.push(bI(n,f[0],tA._0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file,bA(f[0]))),{raw:h,options:m,watchOptions:_,typeAcquisition:u,extendedConfigPath:p});if((null==(c=g.options)?void 0:c.paths)&&(g.options.pathsBasePath=i),g.extendedConfigPath){o=o.concat([y]);let e={options:{}};_v(g.extendedConfigPath)?v(e,g.extendedConfigPath):g.extendedConfigPath.forEach(t=>v(e,t)),!g.raw.include&&e.include&&(g.raw.include=e.include),!g.raw.exclude&&e.exclude&&(g.raw.exclude=e.exclude),!g.raw.files&&e.files&&(g.raw.files=e.files),void 0===g.raw.compileOnSave&&e.compileOnSave&&(g.raw.compileOnSave=e.compileOnSave),n&&e.extendedSourceFiles&&(n.extendedSourceFiles=u9(e.extendedSourceFiles.keys())),g.options=_e(e.options,g.options),g.watchOptions=g.watchOptions&&e.watchOptions?_e(e.watchOptions,g.watchOptions):g.watchOptions||e.watchOptions}return g;function v(t,a){let c=function(t,n,r,i,a,o,s){var l;let c,d,u;let _=r.useCaseSensitiveFileNames?n:_I(n);if(o&&(c=o.get(_))?{extendedResult:d,extendedConfig:u}=c:((d=MB(n,e=>r.readFile(e))).parseDiagnostics.length||(u=e(void 0,d,r,fy(n),fg(n),i,a,o)),o&&o.set(_,{extendedResult:d,extendedConfig:u})),t&&((null!=(l=s.extendedSourceFiles)?l:s.extendedSourceFiles=new Set).add(d.fileName),d.extendedSourceFiles))for(let e of d.extendedSourceFiles)s.extendedSourceFiles.add(e);if(d.parseDiagnostics.length){a.push(...d.parseDiagnostics);return}return u}(n,a,r,o,s,l,t);if(c&&c.options){let e;let n=c.raw,o=o=>{n[o]&&(t[o]=un(n[o],t=>fa(t)?t:fA(e||(e=fK(fy(a),i,_7(r.useCaseSensitiveFileNames))),t)))};o("include"),o("exclude"),o("files"),void 0!==n.compileOnSave&&(t.compileOnSave=n.compileOnSave),_e(t.options,c.options),t.watchOptions=t.watchOptions&&c.watchOptions?_e({},t.watchOptions,c.watchOptions):t.watchOptions||c.watchOptions}}}(e,t,n,r,o,s,u,c),{raw:p}=_,f=_l(i,_.options||{}),m=a&&_.watchOptions?_l(a,_.watchOptions):_.watchOptions||a;f.configFilePath=o&&fx(o);let h=function(){let e,n;let r=b("references",e=>"object"==typeof e,"object"),i=g(v("files"));if(i){let e="no-prop"===r||_y(r)&&0===r.length,n=u4(p,"extends");if(0===i.length&&e&&!n){if(t){let e=o||"tsconfig.json",n=tA.The_files_list_in_config_file_0_is_empty,r=dJ(Eh(t,"files"),e=>e.initializer),i=r?bI(t,r,n,e):L0(n,e);u.push(i)}else E(tA.The_files_list_in_config_file_0_is_empty,o||"tsconfig.json")}}let a=g(v("include")),s=v("exclude"),l=!1,c=g(s);if("no-prop"===s&&p.compilerOptions){let e=p.compilerOptions.outDir,t=p.compilerOptions.declarationDir;(e||t)&&(c=[e,t].filter(e=>!!e))}return void 0===i&&void 0===a&&(a=[it],l=!0),a&&(e=PE(a,u,!0,t,"include")),c&&(n=PE(c,u,!1,t,"exclude")),{filesSpecs:i,includeSpecs:a,excludeSpecs:c,validatedFilesSpec:d9(i,_v),validatedIncludeSpecs:e,validatedExcludeSpecs:n,pathPatterns:void 0,isDefaultIncludeSpec:l}}();t&&(t.configFileSpecs=h),M3(f,t);let y=fI(o?fy(fk(o,r)):r);return{options:f,watchOptions:m,fileNames:(Pe(d=Ph(h,y,f,n,l),Pt(p),s)&&u.push(M9(h,o)),d),projectReferences:function(e){let t;let n=b("references",e=>"object"==typeof e,"object");if(_y(n))for(let r of n)"string"!=typeof r.path?E(tA.Compiler_option_0_requires_a_value_of_type_1,"reference.path","string"):(t||(t=[])).push({path:fk(r.path,e),originalPath:r.path,prepend:r.prepend,circular:r.circular});return t}(y),typeAcquisition:_.typeAcquisition||Pl(),raw:p,errors:u,wildcardDirectories:function({validatedIncludeSpecs:e,validatedExcludeSpecs:t},n,r){let i=CF(t,n,"exclude"),a=i&&new RegExp(i,r?"":"i"),o={};if(void 0!==e){let t=[];for(let i of e){let e=fI(fA(n,i));if(a&&a.test(e))continue;let s=function(e,t){let n=ii.exec(e);if(n){let r=e.indexOf("?"),i=e.indexOf("*"),a=e.lastIndexOf(tb);return{key:t?n[0]:_I(n[0]),flags:-1!==r&&re.code!==tA.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2.code),a!==r.length}function Pr(e,t,n,r,i){if(fa(e=fx(e))||pn(e,"./")||pn(e,"../")){let a=fk(e,n);if(!t.fileExists(a)&&!_Z(a,".json")&&(a=`${a}.json`,!t.fileExists(a))){r.push(i(tA.File_0_not_found,e));return}return a}let a=Fe(e,fA(n,"tsconfig.json"),t);if(a.resolvedModule)return a.resolvedModule.resolvedFileName;""===e?r.push(i(tA.Compiler_option_0_cannot_be_given_an_empty_string,"extends")):r.push(i(tA.File_0_not_found,e))}function Pi(e,t,n){let r=[];return{options:Ps(e,t,r,n),errors:r}}function Pa(e,t,n){let r=[];return{options:Pc(e,t,r,n),errors:r}}function Po(e){return e&&"jsconfig.json"===fg(e)?{allowJs:!0,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:!0,skipLibCheck:!0,noEmit:!0}:{}}function Ps(e,t,n,r){let i=Po(r);return Pd(Mj(),e,t,i,r0,n),r&&(i.configFilePath=fx(r)),i}function Pl(e){return{enable:!!e&&"jsconfig.json"===fg(e),include:[],exclude:[]}}function Pc(e,t,n,r){let i=Pl(r);return Pd(MK(),e,t,i,r4,n),i}function Pd(e,t,n,r,i,a){if(t){for(let o in t){let s=e.get(o);s?(r||(r={}))[s.name]=Pu(s,t[o],n,a):a.push(MC(o,i,L0))}return r}}function Pu(e,t,n,r){if(MX(e,t)){let i=e.type;if("list"===i&&_y(t))return Pm(e,t,n,r);if("listOrElement"===i)return _y(t)?Pm(e,t,n,r):Pu(e.element,t,n,r);if(!_v(e.type))return Pf(e,t,r);let a=Pp(e,t,r);return M5(a)?a:P_(e,n,a)}r.push(L0(tA.Compiler_option_0_requires_a_value_of_type_1,e.name,MJ(e)))}function P_(e,t,n){return e.isFilePath&&""===(n=fk(n,t))&&(n="."),n}function Pp(e,t,n){var r;if(M5(t))return;let i=null==(r=e.extraValidation)?void 0:r.call(e,t);if(!i)return t;n.push(L0(...i))}function Pf(e,t,n){if(M5(t))return;let r=t.toLowerCase(),i=e.type.get(r);if(void 0!==i)return Pp(e,i,n);n.push(MT(e))}function Pm(e,t,n,r){return d9(un(t,t=>Pu(e.element,t,n,r)),t=>!!e.listPreserveFalsyValues||!!t)}function Ph(e,t,n,r,i=o){let a;t=fI(t);let s=_7(r.useCaseSensitiveFileNames),l=new Map,c=new Map,d=new Map,{validatedFilesSpec:u,validatedIncludeSpecs:_,validatedExcludeSpecs:p}=e,f=CJ(n,i),m=CX(n,f);if(u)for(let e of u){let n=fk(e,t);l.set(s(n),n)}if(_&&_.length>0)for(let e of r.readDirectory(t,ua(m),p,_,void 0)){if(fu(e,".json")){if(!a){let e=un(CG(_.filter(e=>_Z(e,".json")),t,"files"),e=>`^${e}$`);a=e?e.map(e=>CK(e,r.useCaseSensitiveFileNames)):o}if(-1!==d2(a,t=>t.test(e))){let t=s(e);l.has(t)||d.has(t)||d.set(t,e)}continue}if(function(e,t,n,r,i){let a=dz(r,t=>f_(e,t)?t:void 0);if(!a)return!1;for(let r of a){if(fu(e,r))break;let a=i(C3(e,r));if(t.has(a)||n.has(a)){if(".d.ts"===r&&(fu(e,".js")||fu(e,".jsx")))continue;return!0}}return!1}(e,l,c,f,s))continue;!function(e,t,n,r){let i=dz(n,t=>f_(e,t)?t:void 0);if(i)for(let n=i.length-1;n>=0;n--){let a=i[n];if(fu(e,a))return;let o=r(C3(e,a));t.delete(o)}}(e,c,f,s);let n=s(e);l.has(n)||c.has(n)||c.set(n,e)}let h=u9(l.values()),y=u9(c.values());return h.concat(y,u9(d.values()))}function Py(e,t,n,r,i){let{validatedFilesSpec:a,validatedIncludeSpecs:o,validatedExcludeSpecs:s}=t;if(!dW(o)||!dW(s))return!1;n=fI(n);let l=_7(r);if(a){for(let t of a)if(l(fk(t,n))===e)return!1}return Pb(e,s,r,i,n)}function Pg(e){let t=pn(e,"**/")?0:e.indexOf("/**/");return -1!==t&&(_Z(e,"/..")?e.length:e.lastIndexOf("/../"))>t}function Pv(e,t,n,r){return Pb(e,d9(t,e=>!Pg(e)),n,r)}function Pb(e,t,n,r,i){let a=CF(t,fA(fI(r),i),"exclude"),o=a&&CK(a,n);return!!o&&(!!o.test(e)||!fd(e)&&o.test(fD(e)))}function PE(e,t,n,r,i){return e.filter(e=>{if(!_v(e))return!1;let a=PT(e,n);return void 0!==a&&t.push(function(e,t){let n=Em(r,i,t);return n?bI(r,n,e,t):L0(e,t)}(...a)),void 0===a})}function PT(e,t){return(T.assert("string"==typeof e),t&&ir.test(e))?[tA.File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,e]:Pg(e)?[tA.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,e]:void 0}function Px(e){let t={};for(let n in e)if(u4(e,n)){let r=MR(n);void 0!==r&&(t[n]=function e(t,n){switch(n.type){case"object":case"string":return"";case"number":return"number"==typeof t?t:"";case"boolean":return"boolean"==typeof t?t:"";case"listOrElement":if(!_y(t))return e(t,n.element);case"list":let r=n.element;return _y(t)?t.map(t=>e(t,r)):"";default:return vl(n.type,(e,n)=>{if(e===t)return n})}}(e[n],r))}return t}function PS(e){switch(e.type){case"number":return 1;case"boolean":return!0;case"string":let t=e.defaultValueDescription;return e.isFilePath?`./${t&&"string"==typeof t?t:""}`:"";case"list":return[];case"listOrElement":return PS(e.element);case"object":return{};default:let n=uW(e.type.keys());if(void 0!==n)return n;return T.fail("Expected 'option.type' to have entries.")}}var PA=dj({"src/compiler/commandLineParser.ts"(){Kr(),rI={name:"compileOnSave",type:"boolean",defaultValueDescription:!1},rw=new Map(Object.entries({preserve:1,"react-native":3,react:2,"react-jsx":4,"react-jsxdev":5})),rR=new Map(ur(rw.entries(),([e,t])=>[""+t,e])),rD=(rN=[["es5","lib.es5.d.ts"],["es6","lib.es2015.d.ts"],["es2015","lib.es2015.d.ts"],["es7","lib.es2016.d.ts"],["es2016","lib.es2016.d.ts"],["es2017","lib.es2017.d.ts"],["es2018","lib.es2018.d.ts"],["es2019","lib.es2019.d.ts"],["es2020","lib.es2020.d.ts"],["es2021","lib.es2021.d.ts"],["es2022","lib.es2022.d.ts"],["es2023","lib.es2023.d.ts"],["esnext","lib.esnext.d.ts"],["dom","lib.dom.d.ts"],["dom.iterable","lib.dom.iterable.d.ts"],["webworker","lib.webworker.d.ts"],["webworker.importscripts","lib.webworker.importscripts.d.ts"],["webworker.iterable","lib.webworker.iterable.d.ts"],["scripthost","lib.scripthost.d.ts"],["es2015.core","lib.es2015.core.d.ts"],["es2015.collection","lib.es2015.collection.d.ts"],["es2015.generator","lib.es2015.generator.d.ts"],["es2015.iterable","lib.es2015.iterable.d.ts"],["es2015.promise","lib.es2015.promise.d.ts"],["es2015.proxy","lib.es2015.proxy.d.ts"],["es2015.reflect","lib.es2015.reflect.d.ts"],["es2015.symbol","lib.es2015.symbol.d.ts"],["es2015.symbol.wellknown","lib.es2015.symbol.wellknown.d.ts"],["es2016.array.include","lib.es2016.array.include.d.ts"],["es2017.object","lib.es2017.object.d.ts"],["es2017.sharedmemory","lib.es2017.sharedmemory.d.ts"],["es2017.string","lib.es2017.string.d.ts"],["es2017.intl","lib.es2017.intl.d.ts"],["es2017.typedarrays","lib.es2017.typedarrays.d.ts"],["es2018.asyncgenerator","lib.es2018.asyncgenerator.d.ts"],["es2018.asynciterable","lib.es2018.asynciterable.d.ts"],["es2018.intl","lib.es2018.intl.d.ts"],["es2018.promise","lib.es2018.promise.d.ts"],["es2018.regexp","lib.es2018.regexp.d.ts"],["es2019.array","lib.es2019.array.d.ts"],["es2019.object","lib.es2019.object.d.ts"],["es2019.string","lib.es2019.string.d.ts"],["es2019.symbol","lib.es2019.symbol.d.ts"],["es2019.intl","lib.es2019.intl.d.ts"],["es2020.bigint","lib.es2020.bigint.d.ts"],["es2020.date","lib.es2020.date.d.ts"],["es2020.promise","lib.es2020.promise.d.ts"],["es2020.sharedmemory","lib.es2020.sharedmemory.d.ts"],["es2020.string","lib.es2020.string.d.ts"],["es2020.symbol.wellknown","lib.es2020.symbol.wellknown.d.ts"],["es2020.intl","lib.es2020.intl.d.ts"],["es2020.number","lib.es2020.number.d.ts"],["es2021.promise","lib.es2021.promise.d.ts"],["es2021.string","lib.es2021.string.d.ts"],["es2021.weakref","lib.es2021.weakref.d.ts"],["es2021.intl","lib.es2021.intl.d.ts"],["es2022.array","lib.es2022.array.d.ts"],["es2022.error","lib.es2022.error.d.ts"],["es2022.intl","lib.es2022.intl.d.ts"],["es2022.object","lib.es2022.object.d.ts"],["es2022.sharedmemory","lib.es2022.sharedmemory.d.ts"],["es2022.string","lib.es2022.string.d.ts"],["es2022.regexp","lib.es2022.regexp.d.ts"],["es2023.array","lib.es2023.array.d.ts"],["esnext.array","lib.es2023.array.d.ts"],["esnext.symbol","lib.es2019.symbol.d.ts"],["esnext.asynciterable","lib.es2018.asynciterable.d.ts"],["esnext.intl","lib.esnext.intl.d.ts"],["esnext.bigint","lib.es2020.bigint.d.ts"],["esnext.string","lib.es2022.string.d.ts"],["esnext.promise","lib.es2021.promise.d.ts"],["esnext.weakref","lib.es2021.weakref.d.ts"],["decorators","lib.decorators.d.ts"],["decorators.legacy","lib.decorators.legacy.d.ts"]]).map(e=>e[0]),rO=new Map(rN),rM=[{name:"watchFile",type:new Map(Object.entries({fixedpollinginterval:0,prioritypollinginterval:1,dynamicprioritypolling:2,fixedchunksizepolling:3,usefsevents:4,usefseventsonparentdirectory:5})),category:tA.Watch_and_Build_Modes,description:tA.Specify_how_the_TypeScript_watch_mode_works,defaultValueDescription:4},{name:"watchDirectory",type:new Map(Object.entries({usefsevents:0,fixedpollinginterval:1,dynamicprioritypolling:2,fixedchunksizepolling:3})),category:tA.Watch_and_Build_Modes,description:tA.Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality,defaultValueDescription:0},{name:"fallbackPolling",type:new Map(Object.entries({fixedinterval:0,priorityinterval:1,dynamicpriority:2,fixedchunksize:3})),category:tA.Watch_and_Build_Modes,description:tA.Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers,defaultValueDescription:1},{name:"synchronousWatchDirectory",type:"boolean",category:tA.Watch_and_Build_Modes,description:tA.Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively,defaultValueDescription:!1},{name:"excludeDirectories",type:"list",element:{name:"excludeDirectory",type:"string",isFilePath:!0,extraValidation:PT},category:tA.Watch_and_Build_Modes,description:tA.Remove_a_list_of_directories_from_the_watch_process},{name:"excludeFiles",type:"list",element:{name:"excludeFile",type:"string",isFilePath:!0,extraValidation:PT},category:tA.Watch_and_Build_Modes,description:tA.Remove_a_list_of_files_from_the_watch_mode_s_processing}],rP=[{name:"help",shortName:"h",type:"boolean",showInSimplifiedHelpView:!0,isCommandLineOnly:!0,category:tA.Command_line_Options,description:tA.Print_this_message,defaultValueDescription:!1},{name:"help",shortName:"?",type:"boolean",isCommandLineOnly:!0,category:tA.Command_line_Options,defaultValueDescription:!1},{name:"watch",shortName:"w",type:"boolean",showInSimplifiedHelpView:!0,isCommandLineOnly:!0,category:tA.Command_line_Options,description:tA.Watch_input_files,defaultValueDescription:!1},{name:"preserveWatchOutput",type:"boolean",showInSimplifiedHelpView:!1,category:tA.Output_Formatting,description:tA.Disable_wiping_the_console_in_watch_mode,defaultValueDescription:!1},{name:"listFiles",type:"boolean",category:tA.Compiler_Diagnostics,description:tA.Print_all_of_the_files_read_during_the_compilation,defaultValueDescription:!1},{name:"explainFiles",type:"boolean",category:tA.Compiler_Diagnostics,description:tA.Print_files_read_during_the_compilation_including_why_it_was_included,defaultValueDescription:!1},{name:"listEmittedFiles",type:"boolean",category:tA.Compiler_Diagnostics,description:tA.Print_the_names_of_emitted_files_after_a_compilation,defaultValueDescription:!1},{name:"pretty",type:"boolean",showInSimplifiedHelpView:!0,category:tA.Output_Formatting,description:tA.Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read,defaultValueDescription:!0},{name:"traceResolution",type:"boolean",category:tA.Compiler_Diagnostics,description:tA.Log_paths_used_during_the_moduleResolution_process,defaultValueDescription:!1},{name:"diagnostics",type:"boolean",category:tA.Compiler_Diagnostics,description:tA.Output_compiler_performance_information_after_building,defaultValueDescription:!1},{name:"extendedDiagnostics",type:"boolean",category:tA.Compiler_Diagnostics,description:tA.Output_more_detailed_compiler_performance_information_after_building,defaultValueDescription:!1},{name:"generateCpuProfile",type:"string",isFilePath:!0,paramType:tA.FILE_OR_DIRECTORY,category:tA.Compiler_Diagnostics,description:tA.Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging,defaultValueDescription:"profile.cpuprofile"},{name:"generateTrace",type:"string",isFilePath:!0,isCommandLineOnly:!0,paramType:tA.DIRECTORY,category:tA.Compiler_Diagnostics,description:tA.Generates_an_event_trace_and_a_list_of_types},{name:"incremental",shortName:"i",type:"boolean",category:tA.Projects,description:tA.Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects,transpileOptionValue:void 0,defaultValueDescription:tA.false_unless_composite_is_set},{name:"declaration",shortName:"d",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:tA.Emit,transpileOptionValue:void 0,description:tA.Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project,defaultValueDescription:tA.false_unless_composite_is_set},{name:"declarationMap",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:tA.Emit,transpileOptionValue:void 0,defaultValueDescription:!1,description:tA.Create_sourcemaps_for_d_ts_files},{name:"emitDeclarationOnly",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:tA.Emit,description:tA.Only_output_d_ts_files_and_not_JavaScript_files,transpileOptionValue:void 0,defaultValueDescription:!1},{name:"sourceMap",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:tA.Emit,defaultValueDescription:!1,description:tA.Create_source_map_files_for_emitted_JavaScript_files},{name:"inlineSourceMap",type:"boolean",affectsBuildInfo:!0,category:tA.Emit,description:tA.Include_sourcemap_files_inside_the_emitted_JavaScript,defaultValueDescription:!1},{name:"assumeChangesOnlyAffectDirectDependencies",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,category:tA.Watch_and_Build_Modes,description:tA.Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it,defaultValueDescription:!1},{name:"locale",type:"string",category:tA.Command_line_Options,isCommandLineOnly:!0,description:tA.Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit,defaultValueDescription:tA.Platform_specific}],rF={name:"target",shortName:"t",type:new Map(Object.entries({es3:0,es5:1,es6:2,es2015:2,es2016:3,es2017:4,es2018:5,es2019:6,es2020:7,es2021:8,es2022:9,esnext:99})),affectsSourceFile:!0,affectsModuleResolution:!0,affectsEmit:!0,affectsBuildInfo:!0,paramType:tA.VERSION,showInSimplifiedHelpView:!0,category:tA.Language_and_Environment,description:tA.Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations,defaultValueDescription:1},rG={name:"module",shortName:"m",type:new Map(Object.entries({none:0,commonjs:1,amd:2,system:4,umd:3,es6:5,es2015:5,es2020:6,es2022:7,esnext:99,node16:100,nodenext:199})),affectsModuleResolution:!0,affectsEmit:!0,affectsBuildInfo:!0,paramType:tA.KIND,showInSimplifiedHelpView:!0,category:tA.Modules,description:tA.Specify_what_module_code_is_generated,defaultValueDescription:void 0},rB=[{name:"all",type:"boolean",showInSimplifiedHelpView:!0,category:tA.Command_line_Options,description:tA.Show_all_compiler_options,defaultValueDescription:!1},{name:"version",shortName:"v",type:"boolean",showInSimplifiedHelpView:!0,category:tA.Command_line_Options,description:tA.Print_the_compiler_s_version,defaultValueDescription:!1},{name:"init",type:"boolean",showInSimplifiedHelpView:!0,category:tA.Command_line_Options,description:tA.Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file,defaultValueDescription:!1},{name:"project",shortName:"p",type:"string",isFilePath:!0,showInSimplifiedHelpView:!0,category:tA.Command_line_Options,paramType:tA.FILE_OR_DIRECTORY,description:tA.Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json},{name:"build",type:"boolean",shortName:"b",showInSimplifiedHelpView:!0,category:tA.Command_line_Options,description:tA.Build_one_or_more_projects_and_their_dependencies_if_out_of_date,defaultValueDescription:!1},{name:"showConfig",type:"boolean",showInSimplifiedHelpView:!0,category:tA.Command_line_Options,isCommandLineOnly:!0,description:tA.Print_the_final_configuration_instead_of_building,defaultValueDescription:!1},{name:"listFilesOnly",type:"boolean",category:tA.Command_line_Options,isCommandLineOnly:!0,description:tA.Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing,defaultValueDescription:!1},rF,rG,{name:"lib",type:"list",element:{name:"lib",type:rO,defaultValueDescription:void 0},affectsProgramStructure:!0,showInSimplifiedHelpView:!0,category:tA.Language_and_Environment,description:tA.Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment,transpileOptionValue:void 0},{name:"allowJs",type:"boolean",affectsModuleResolution:!0,showInSimplifiedHelpView:!0,category:tA.JavaScript_Support,description:tA.Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files,defaultValueDescription:!1},{name:"checkJs",type:"boolean",showInSimplifiedHelpView:!0,category:tA.JavaScript_Support,description:tA.Enable_error_reporting_in_type_checked_JavaScript_files,defaultValueDescription:!1},{name:"jsx",type:rw,affectsSourceFile:!0,affectsEmit:!0,affectsBuildInfo:!0,affectsModuleResolution:!0,paramType:tA.KIND,showInSimplifiedHelpView:!0,category:tA.Language_and_Environment,description:tA.Specify_what_JSX_code_is_generated,defaultValueDescription:void 0},{name:"outFile",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:tA.FILE,showInSimplifiedHelpView:!0,category:tA.Emit,description:tA.Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designates_a_file_that_bundles_all_d_ts_output,transpileOptionValue:void 0},{name:"outDir",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:tA.DIRECTORY,showInSimplifiedHelpView:!0,category:tA.Emit,description:tA.Specify_an_output_folder_for_all_emitted_files},{name:"rootDir",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:tA.LOCATION,category:tA.Modules,description:tA.Specify_the_root_folder_within_your_source_files,defaultValueDescription:tA.Computed_from_the_list_of_input_files},{name:"composite",type:"boolean",affectsBuildInfo:!0,isTSConfigOnly:!0,category:tA.Projects,transpileOptionValue:void 0,defaultValueDescription:!1,description:tA.Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references},{name:"tsBuildInfoFile",type:"string",affectsEmit:!0,affectsBuildInfo:!0,isFilePath:!0,paramType:tA.FILE,category:tA.Projects,transpileOptionValue:void 0,defaultValueDescription:".tsbuildinfo",description:tA.Specify_the_path_to_tsbuildinfo_incremental_compilation_file},{name:"removeComments",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:tA.Emit,defaultValueDescription:!1,description:tA.Disable_emitting_comments},{name:"noEmit",type:"boolean",showInSimplifiedHelpView:!0,category:tA.Emit,description:tA.Disable_emitting_files_from_a_compilation,transpileOptionValue:void 0,defaultValueDescription:!1},{name:"importHelpers",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:tA.Emit,description:tA.Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file,defaultValueDescription:!1},{name:"importsNotUsedAsValues",type:new Map(Object.entries({remove:0,preserve:1,error:2})),affectsEmit:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:tA.Emit,description:tA.Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types,defaultValueDescription:0},{name:"downlevelIteration",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:tA.Emit,description:tA.Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration,defaultValueDescription:!1},{name:"isolatedModules",type:"boolean",category:tA.Interop_Constraints,description:tA.Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports,transpileOptionValue:!0,defaultValueDescription:!1},{name:"verbatimModuleSyntax",type:"boolean",category:tA.Interop_Constraints,description:tA.Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_in_the_output_file_s_format_based_on_the_module_setting,defaultValueDescription:!1},{name:"strict",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:tA.Type_Checking,description:tA.Enable_all_strict_type_checking_options,defaultValueDescription:!1},{name:"noImplicitAny",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:tA.Type_Checking,description:tA.Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type,defaultValueDescription:tA.false_unless_strict_is_set},{name:"strictNullChecks",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:tA.Type_Checking,description:tA.When_type_checking_take_into_account_null_and_undefined,defaultValueDescription:tA.false_unless_strict_is_set},{name:"strictFunctionTypes",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:tA.Type_Checking,description:tA.When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible,defaultValueDescription:tA.false_unless_strict_is_set},{name:"strictBindCallApply",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:tA.Type_Checking,description:tA.Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function,defaultValueDescription:tA.false_unless_strict_is_set},{name:"strictPropertyInitialization",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:tA.Type_Checking,description:tA.Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor,defaultValueDescription:tA.false_unless_strict_is_set},{name:"noImplicitThis",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:tA.Type_Checking,description:tA.Enable_error_reporting_when_this_is_given_the_type_any,defaultValueDescription:tA.false_unless_strict_is_set},{name:"useUnknownInCatchVariables",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:tA.Type_Checking,description:tA.Default_catch_clause_variables_as_unknown_instead_of_any,defaultValueDescription:!1},{name:"alwaysStrict",type:"boolean",affectsSourceFile:!0,affectsEmit:!0,affectsBuildInfo:!0,strictFlag:!0,category:tA.Type_Checking,description:tA.Ensure_use_strict_is_always_emitted,defaultValueDescription:tA.false_unless_strict_is_set},{name:"noUnusedLocals",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:tA.Type_Checking,description:tA.Enable_error_reporting_when_local_variables_aren_t_read,defaultValueDescription:!1},{name:"noUnusedParameters",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:tA.Type_Checking,description:tA.Raise_an_error_when_a_function_parameter_isn_t_read,defaultValueDescription:!1},{name:"exactOptionalPropertyTypes",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:tA.Type_Checking,description:tA.Interpret_optional_property_types_as_written_rather_than_adding_undefined,defaultValueDescription:!1},{name:"noImplicitReturns",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:tA.Type_Checking,description:tA.Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function,defaultValueDescription:!1},{name:"noFallthroughCasesInSwitch",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:tA.Type_Checking,description:tA.Enable_error_reporting_for_fallthrough_cases_in_switch_statements,defaultValueDescription:!1},{name:"noUncheckedIndexedAccess",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:tA.Type_Checking,description:tA.Add_undefined_to_a_type_when_accessed_using_an_index,defaultValueDescription:!1},{name:"noImplicitOverride",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:tA.Type_Checking,description:tA.Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier,defaultValueDescription:!1},{name:"noPropertyAccessFromIndexSignature",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!1,category:tA.Type_Checking,description:tA.Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type,defaultValueDescription:!1},{name:"moduleResolution",type:new Map(Object.entries({node10:2,node:2,classic:1,node16:3,nodenext:99,bundler:100})),deprecatedKeys:new Set(["node"]),affectsModuleResolution:!0,paramType:tA.STRATEGY,category:tA.Modules,description:tA.Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier,defaultValueDescription:tA.module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node},{name:"baseUrl",type:"string",affectsModuleResolution:!0,isFilePath:!0,category:tA.Modules,description:tA.Specify_the_base_directory_to_resolve_non_relative_module_names},{name:"paths",type:"object",affectsModuleResolution:!0,isTSConfigOnly:!0,category:tA.Modules,description:tA.Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations,transpileOptionValue:void 0},{name:"rootDirs",type:"list",isTSConfigOnly:!0,element:{name:"rootDirs",type:"string",isFilePath:!0},affectsModuleResolution:!0,category:tA.Modules,description:tA.Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules,transpileOptionValue:void 0,defaultValueDescription:tA.Computed_from_the_list_of_input_files},{name:"typeRoots",type:"list",element:{name:"typeRoots",type:"string",isFilePath:!0},affectsModuleResolution:!0,category:tA.Modules,description:tA.Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types},{name:"types",type:"list",element:{name:"types",type:"string"},affectsProgramStructure:!0,showInSimplifiedHelpView:!0,category:tA.Modules,description:tA.Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file,transpileOptionValue:void 0},{name:"allowSyntheticDefaultImports",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:tA.Interop_Constraints,description:tA.Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export,defaultValueDescription:tA.module_system_or_esModuleInterop},{name:"esModuleInterop",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:tA.Interop_Constraints,description:tA.Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility,defaultValueDescription:!1},{name:"preserveSymlinks",type:"boolean",category:tA.Interop_Constraints,description:tA.Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node,defaultValueDescription:!1},{name:"allowUmdGlobalAccess",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:tA.Modules,description:tA.Allow_accessing_UMD_globals_from_modules,defaultValueDescription:!1},{name:"moduleSuffixes",type:"list",element:{name:"suffix",type:"string"},listPreserveFalsyValues:!0,affectsModuleResolution:!0,category:tA.Modules,description:tA.List_of_file_name_suffixes_to_search_when_resolving_a_module},{name:"allowImportingTsExtensions",type:"boolean",affectsSemanticDiagnostics:!0,category:tA.Modules,description:tA.Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noEmit_or_emitDeclarationOnly_to_be_set,defaultValueDescription:!1},{name:"resolvePackageJsonExports",type:"boolean",affectsModuleResolution:!0,category:tA.Modules,description:tA.Use_the_package_json_exports_field_when_resolving_package_imports,defaultValueDescription:tA.true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false},{name:"resolvePackageJsonImports",type:"boolean",affectsModuleResolution:!0,category:tA.Modules,description:tA.Use_the_package_json_imports_field_when_resolving_imports,defaultValueDescription:tA.true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false},{name:"customConditions",type:"list",element:{name:"condition",type:"string"},affectsModuleResolution:!0,category:tA.Modules,description:tA.Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports},{name:"sourceRoot",type:"string",affectsEmit:!0,affectsBuildInfo:!0,paramType:tA.LOCATION,category:tA.Emit,description:tA.Specify_the_root_path_for_debuggers_to_find_the_reference_source_code},{name:"mapRoot",type:"string",affectsEmit:!0,affectsBuildInfo:!0,paramType:tA.LOCATION,category:tA.Emit,description:tA.Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations},{name:"inlineSources",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:tA.Emit,description:tA.Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript,defaultValueDescription:!1},{name:"experimentalDecorators",type:"boolean",affectsEmit:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:tA.Language_and_Environment,description:tA.Enable_experimental_support_for_legacy_experimental_decorators,defaultValueDescription:!1},{name:"emitDecoratorMetadata",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,category:tA.Language_and_Environment,description:tA.Emit_design_type_metadata_for_decorated_declarations_in_source_files,defaultValueDescription:!1},{name:"jsxFactory",type:"string",category:tA.Language_and_Environment,description:tA.Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h,defaultValueDescription:"`React.createElement`"},{name:"jsxFragmentFactory",type:"string",category:tA.Language_and_Environment,description:tA.Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment,defaultValueDescription:"React.Fragment"},{name:"jsxImportSource",type:"string",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,affectsModuleResolution:!0,category:tA.Language_and_Environment,description:tA.Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk,defaultValueDescription:"react"},{name:"resolveJsonModule",type:"boolean",affectsModuleResolution:!0,category:tA.Modules,description:tA.Enable_importing_json_files,defaultValueDescription:!1},{name:"allowArbitraryExtensions",type:"boolean",affectsProgramStructure:!0,category:tA.Modules,description:tA.Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present,defaultValueDescription:!1},{name:"out",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!1,category:tA.Backwards_Compatibility,paramType:tA.FILE,transpileOptionValue:void 0,description:tA.Deprecated_setting_Use_outFile_instead},{name:"reactNamespace",type:"string",affectsEmit:!0,affectsBuildInfo:!0,category:tA.Language_and_Environment,description:tA.Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit,defaultValueDescription:"`React`"},{name:"skipDefaultLibCheck",type:"boolean",affectsBuildInfo:!0,category:tA.Completeness,description:tA.Skip_type_checking_d_ts_files_that_are_included_with_TypeScript,defaultValueDescription:!1},{name:"charset",type:"string",category:tA.Backwards_Compatibility,description:tA.No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files,defaultValueDescription:"utf8"},{name:"emitBOM",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:tA.Emit,description:tA.Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files,defaultValueDescription:!1},{name:"newLine",type:new Map(Object.entries({crlf:0,lf:1})),affectsEmit:!0,affectsBuildInfo:!0,paramType:tA.NEWLINE,category:tA.Emit,description:tA.Set_the_newline_character_for_emitting_files,defaultValueDescription:"lf"},{name:"noErrorTruncation",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:tA.Output_Formatting,description:tA.Disable_truncating_types_in_error_messages,defaultValueDescription:!1},{name:"noLib",type:"boolean",category:tA.Language_and_Environment,affectsProgramStructure:!0,description:tA.Disable_including_any_library_files_including_the_default_lib_d_ts,transpileOptionValue:!0,defaultValueDescription:!1},{name:"noResolve",type:"boolean",affectsModuleResolution:!0,category:tA.Modules,description:tA.Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project,transpileOptionValue:!0,defaultValueDescription:!1},{name:"stripInternal",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:tA.Emit,description:tA.Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments,defaultValueDescription:!1},{name:"disableSizeLimit",type:"boolean",affectsProgramStructure:!0,category:tA.Editor_Support,description:tA.Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server,defaultValueDescription:!1},{name:"disableSourceOfProjectReferenceRedirect",type:"boolean",isTSConfigOnly:!0,category:tA.Projects,description:tA.Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects,defaultValueDescription:!1},{name:"disableSolutionSearching",type:"boolean",isTSConfigOnly:!0,category:tA.Projects,description:tA.Opt_a_project_out_of_multi_project_reference_checking_when_editing,defaultValueDescription:!1},{name:"disableReferencedProjectLoad",type:"boolean",isTSConfigOnly:!0,category:tA.Projects,description:tA.Reduce_the_number_of_projects_loaded_automatically_by_TypeScript,defaultValueDescription:!1},{name:"noImplicitUseStrict",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:tA.Backwards_Compatibility,description:tA.Disable_adding_use_strict_directives_in_emitted_JavaScript_files,defaultValueDescription:!1},{name:"noEmitHelpers",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:tA.Emit,description:tA.Disable_generating_custom_helper_functions_like_extends_in_compiled_output,defaultValueDescription:!1},{name:"noEmitOnError",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:tA.Emit,transpileOptionValue:void 0,description:tA.Disable_emitting_files_if_any_type_checking_errors_are_reported,defaultValueDescription:!1},{name:"preserveConstEnums",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:tA.Emit,description:tA.Disable_erasing_const_enum_declarations_in_generated_code,defaultValueDescription:!1},{name:"declarationDir",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:tA.DIRECTORY,category:tA.Emit,transpileOptionValue:void 0,description:tA.Specify_the_output_directory_for_generated_declaration_files},{name:"skipLibCheck",type:"boolean",affectsBuildInfo:!0,category:tA.Completeness,description:tA.Skip_type_checking_all_d_ts_files,defaultValueDescription:!1},{name:"allowUnusedLabels",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:tA.Type_Checking,description:tA.Disable_error_reporting_for_unused_labels,defaultValueDescription:void 0},{name:"allowUnreachableCode",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:tA.Type_Checking,description:tA.Disable_error_reporting_for_unreachable_code,defaultValueDescription:void 0},{name:"suppressExcessPropertyErrors",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:tA.Backwards_Compatibility,description:tA.Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals,defaultValueDescription:!1},{name:"suppressImplicitAnyIndexErrors",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:tA.Backwards_Compatibility,description:tA.Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures,defaultValueDescription:!1},{name:"forceConsistentCasingInFileNames",type:"boolean",affectsModuleResolution:!0,category:tA.Interop_Constraints,description:tA.Ensure_that_casing_is_correct_in_imports,defaultValueDescription:!0},{name:"maxNodeModuleJsDepth",type:"number",affectsModuleResolution:!0,category:tA.JavaScript_Support,description:tA.Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs,defaultValueDescription:0},{name:"noStrictGenericChecks",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:tA.Backwards_Compatibility,description:tA.Disable_strict_checking_of_generic_signatures_in_function_types,defaultValueDescription:!1},{name:"useDefineForClassFields",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,category:tA.Language_and_Environment,description:tA.Emit_ECMAScript_standard_compliant_class_fields,defaultValueDescription:tA.true_for_ES2022_and_above_including_ESNext},{name:"preserveValueImports",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:tA.Emit,description:tA.Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed,defaultValueDescription:!1},{name:"keyofStringsOnly",type:"boolean",category:tA.Backwards_Compatibility,description:tA.Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option,defaultValueDescription:!1},{name:"plugins",type:"list",isTSConfigOnly:!0,element:{name:"plugin",type:"object"},description:tA.Specify_a_list_of_language_service_plugins_to_include,category:tA.Editor_Support},{name:"moduleDetection",type:new Map(Object.entries({auto:2,legacy:1,force:3})),affectsModuleResolution:!0,description:tA.Control_what_method_is_used_to_detect_module_format_JS_files,category:tA.Language_and_Environment,defaultValueDescription:tA.auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules},{name:"ignoreDeprecations",type:"string",defaultValueDescription:void 0}],rV=(rU=[...rP,...rB]).filter(e=>!!e.affectsSemanticDiagnostics),rj=rU.filter(e=>!!e.affectsEmit),rH=rU.filter(e=>!!e.affectsDeclarationPath),rK=rU.filter(e=>!!e.affectsModuleResolution),rW=rU.filter(e=>!!e.affectsSourceFile||!!e.affectsModuleResolution||!!e.affectsBindDiagnostics),rz=rU.filter(e=>!!e.affectsProgramStructure),rq=rU.filter(e=>u4(e,"transpileOptionValue")),rJ=[{name:"verbose",shortName:"v",category:tA.Command_line_Options,description:tA.Enable_verbose_logging,type:"boolean",defaultValueDescription:!1},{name:"dry",shortName:"d",category:tA.Command_line_Options,description:tA.Show_what_would_be_built_or_deleted_if_specified_with_clean,type:"boolean",defaultValueDescription:!1},{name:"force",shortName:"f",category:tA.Command_line_Options,description:tA.Build_all_projects_including_those_that_appear_to_be_up_to_date,type:"boolean",defaultValueDescription:!1},{name:"clean",category:tA.Command_line_Options,description:tA.Delete_the_outputs_of_all_projects,type:"boolean",defaultValueDescription:!1}],rX=[...rP,...rJ],rY=[{name:"enable",type:"boolean",defaultValueDescription:!1},{name:"include",type:"list",element:{name:"include",type:"string"}},{name:"exclude",type:"list",element:{name:"exclude",type:"string"}},{name:"disableFilenameBasedTypeAcquisition",type:"boolean",defaultValueDescription:!1}],rQ={diagnostic:tA.Compiler_option_0_may_only_be_used_with_build,getOptionsNameMap:MD},rZ={module:1,target:3,strict:!0,esModuleInterop:!0,forceConsistentCasingInFileNames:!0,skipLibCheck:!0},r0={alternateMode:rQ,getOptionsNameMap:ME,optionDeclarations:rU,unknownOptionDiagnostic:tA.Unknown_compiler_option_0,unknownDidYouMeanDiagnostic:tA.Unknown_compiler_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:tA.Compiler_option_0_expects_an_argument},r2={alternateMode:{diagnostic:tA.Compiler_option_0_may_not_be_used_with_build,getOptionsNameMap:ME},getOptionsNameMap:MD,optionDeclarations:rX,unknownOptionDiagnostic:tA.Unknown_build_option_0,unknownDidYouMeanDiagnostic:tA.Unknown_build_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:tA.Build_option_0_requires_a_value_of_type_1},r4={optionDeclarations:rY,unknownOptionDiagnostic:tA.Unknown_type_acquisition_option_0,unknownDidYouMeanDiagnostic:tA.Unknown_type_acquisition_option_0_Did_you_mean_1},r6={getOptionsNameMap:MV,optionDeclarations:rM,unknownOptionDiagnostic:tA.Unknown_watch_option_0,unknownDidYouMeanDiagnostic:tA.Unknown_watch_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:tA.Watch_option_0_requires_a_value_of_type_1},r9={name:"extends",type:"listOrElement",element:{name:"extends",type:"string"},category:tA.File_Management},it="**/*",ir=/(^|\/)\*\*\/?$/,ii=/^[^*?]*(?=\/[^/]*[*?])/}});function PL(e){e.trace(LZ.apply(void 0,arguments))}function PC(e,t){return!!e.traceResolution&&void 0!==t.trace}function Pk(e,t){let n;if(t&&e){let r=e.contents.packageJsonContent;"string"==typeof r.name&&"string"==typeof r.version&&(n={name:r.name,subModuleName:t.path.slice(e.packageDirectory.length+tb.length),version:r.version})}return t&&{path:t.path,extension:t.ext,packageId:n,resolvedUsingTsExtension:t.resolvedUsingTsExtension}}function PI(e){return Pk(void 0,e)}function Pw(e){if(e)return T.assert(void 0===e.packageId),{path:e.path,ext:e.extension,resolvedUsingTsExtension:e.resolvedUsingTsExtension}}function PR(e){let t=[];return 1&e&&t.push("TypeScript"),2&e&&t.push("JavaScript"),4&e&&t.push("Declaration"),8&e&&t.push("JSON"),t.join(", ")}function PN(e){if(e)return T.assert(ke(e.extension)),{fileName:e.path,packageId:e.packageId}}function PD(e,t,n,r,i,a,o,s){if(!o.resultFromCache&&!o.compilerOptions.preserveSymlinks&&t&&n&&!t.originalPath&&!mR(e)){let{resolvedFileName:e,originalPath:n}=PV(t.path,o.host,o.traceEnabled);n&&(t={...t,path:e,originalPath:n})}return PO(t,n,r,i,a,o.resultFromCache,s)}function PO(e,t,n,r,i,a,o){return a?(a.failedLookupLocations=PP(a.failedLookupLocations,n),a.affectingLocations=PP(a.affectingLocations,r),a.resolutionDiagnostics=PP(a.resolutionDiagnostics,i),a):{resolvedModule:e&&{resolvedFileName:e.path,originalPath:!0===e.originalPath?void 0:e.originalPath,extension:e.extension,isExternalLibraryImport:t,packageId:e.packageId,resolvedUsingTsExtension:!!e.resolvedUsingTsExtension},failedLookupLocations:PM(n),affectingLocations:PM(r),resolutionDiagnostics:PM(i),node10Result:o}}function PM(e){return e.length?e:void 0}function PP(e,t){return(null==t?void 0:t.length)?(null==e?void 0:e.length)?(e.push(...t),e):t:e}function PF(e,t,n,r){if(!u4(e,t)){r.traceEnabled&&PL(r.host,tA.package_json_does_not_have_a_0_field,t);return}let i=e[t];if(typeof i!==n||null===i){r.traceEnabled&&PL(r.host,tA.Expected_type_of_0_field_in_package_json_to_be_1_got_2,t,n,null===i?"null":typeof i);return}return i}function PG(e,t,n,r){let i=PF(e,t,"string",r);if(void 0===i)return;if(!i){r.traceEnabled&&PL(r.host,tA.package_json_had_a_falsy_0_field,t);return}let a=fI(fA(n,i));return r.traceEnabled&&PL(r.host,tA.package_json_has_0_field_1_that_references_2,t,i,a),a}function PB(e){for(let t in ia||(ia=new w(i)),e){if(!u4(e,t))continue;let n=R.tryParse(t);if(void 0!==n&&n.test(ia))return{version:t,paths:e[t]}}}function PU(e,t){var n;let r,i;return e.typeRoots?e.typeRoots:(e.configFilePath?r=fy(e.configFilePath):t.getCurrentDirectory&&(r=t.getCurrentDirectory()),void 0!==r)?(n=r,t.directoryExists?(fq(fI(n),e=>{let n=fA(e,io);t.directoryExists(n)&&(i||(i=[])).push(n)}),i):[fA(n,io)]):void 0}function PV(e,t,n){let r=function(e,t,n){if(!t.realpath)return e;let r=fI(t.realpath(e));return n&&PL(t,tA.Resolving_real_path_for_0_result_1,e,r),T.assert(t.fileExists(r),`${e} linked to nonexistent file ${r}`),r}(e,t,n),i=0===fB(e,r,!("function"==typeof t.useCaseSensitiveFileNames?t.useCaseSensitiveFileNames():t.useCaseSensitiveFileNames));return{resolvedFileName:i?e:r,originalPath:i?void 0:e}}function Pj(e,t,n,r,i,a,o){let s;T.assert("string"==typeof e,"Non-string value passed to `ts.resolveTypeReferenceDirective`, likely by a wrapping package working with an outdated `resolveTypeReferenceDirectives` signature. This is probably not a problem in TS itself.");let l=PC(n,r);i&&(n=i.commandLine.options);let c=t?fy(t):void 0,d=c?null==a?void 0:a.getFromDirectoryCache(e,o,c,i):void 0;if(d||!c||mR(e)||(d=null==a?void 0:a.getFromNonRelativeNameCache(e,o,c,i)),d)return l&&(PL(r,tA.Resolving_type_reference_directive_0_containing_file_1,e,t),i&&PL(r,tA.Using_compiler_options_of_project_reference_redirect_0,i.sourceFile.fileName),PL(r,tA.Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1,e,c),b(d)),d;let u=PU(n,r);l&&(void 0===t?void 0===u?PL(r,tA.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set,e):PL(r,tA.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1,e,u):void 0===u?PL(r,tA.Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set,e,t):PL(r,tA.Resolving_type_reference_directive_0_containing_file_1_root_directory_2,e,t,u),i&&PL(r,tA.Using_compiler_options_of_project_reference_redirect_0,i.sourceFile.fileName));let _=[],p=[],f=PH(n);99===o&&(3===Ci(n)||99===Ci(n))&&(f|=32);let m=8&f?PK(n,!!(32&f)):[],h=[],y={compilerOptions:n,host:r,traceEnabled:l,failedLookupLocations:_,affectingLocations:p,packageJsonInfoCache:a,features:f,conditions:m,requestContainingDirectory:c,reportDiagnostic:e=>void h.push(e),isConfigLookup:!1,candidateIsFromPackageJsonField:!1},g=function(){if(u&&u.length)return l&&PL(r,tA.Resolving_with_primary_search_path_0,u.join(", ")),dJ(u,t=>{let n=fA(t,e),i=fy(n),a=Aq(i,r);return!a&&l&&PL(r,tA.Directory_0_does_not_exist_skipping_all_lookups_in_it,i),PN(Ff(4,n,!a,y))});l&&PL(r,tA.Root_directory_cannot_be_determined_skipping_primary_search_paths)}(),v=!0;if(g||(g=function(){let n=t&&fy(t);if(void 0!==n){let t;if(l&&PL(r,tA.Looking_up_in_node_modules_folder_initial_location_0,n),mR(e)){let{path:r}=Fn(n,e);t=Fr(4,r,!1,y,!0)}else{let r=FI(4,e,n,y,!1,void 0,void 0);t=r&&r.value}return PN(t)}l&&PL(r,tA.Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder)}(),v=!1),g){let{fileName:e,packageId:t}=g,i=e,a;n.preserveSymlinks||({resolvedFileName:i,originalPath:a}=PV(e,r,l)),s={primary:v,resolvedFileName:i,originalPath:a,packageId:t,isExternalLibraryImport:Fi(e)}}return d={resolvedTypeReferenceDirective:s,failedLookupLocations:PM(_),affectingLocations:PM(p),resolutionDiagnostics:PM(h)},c&&(null==a||a.getOrCreateCacheForDirectory(c,i).set(e,o,d),mR(e)||null==a||a.getOrCreateCacheForNonRelativeName(e,o,i).set(c,d)),l&&b(d),d;function b(t){var n;(null==(n=t.resolvedTypeReferenceDirective)?void 0:n.resolvedFileName)?t.resolvedTypeReferenceDirective.packageId?PL(r,tA.Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3,e,t.resolvedTypeReferenceDirective.resolvedFileName,vb(t.resolvedTypeReferenceDirective.packageId),t.resolvedTypeReferenceDirective.primary):PL(r,tA.Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2,e,t.resolvedTypeReferenceDirective.resolvedFileName,t.resolvedTypeReferenceDirective.primary):PL(r,tA.Type_reference_directive_0_was_not_resolved,e)}}function PH(e){let t=0;switch(Ci(e)){case 3:case 99:case 100:t=30}return e.resolvePackageJsonExports?t|=8:!1===e.resolvePackageJsonExports&&(t&=-9),e.resolvePackageJsonImports?t|=2:!1===e.resolvePackageJsonImports&&(t&=-3),t}function PK(e,t){let n=t||100===Ci(e)?["import"]:["require"];return e.noDtsResolution||n.push("types"),100!==Ci(e)&&n.push("node"),uE(n,e.customConditions)}function PW(e,t,n,r,i){let a=Fh(null==i?void 0:i.getPackageJsonInfoCache(),r,n);return fq(t,t=>{if("node_modules"!==fg(t)){let n=fA(t,"node_modules");return Fv(fA(n,e),!1,a)}})}function Pz(e,t){if(e.types)return e.types;let n=[];if(t.directoryExists&&t.getDirectories){let r=PU(e,t);if(r){for(let e of r)if(t.directoryExists(e))for(let r of t.getDirectories(e)){let i=fI(r),a=fA(e,i,"package.json");if(!(t.fileExists(a)&&null===Az(a,t).typings)){let e=fg(i);46!==e.charCodeAt(0)&&n.push(e)}}}}return n}function Pq(e,t){return t.map(t=>(function e(t){var n;if(null===t||"object"!=typeof t)return""+t;if(_y(t))return`[${null==(n=t.map(t=>e(t)))?void 0:n.join(",")}]`;let r="{";for(let n in t)u4(t,n)&&(r+=`${n}: ${e(t[n])}`);return r+"}"})(CC(e,t))).join("|")+(e.pathsBasePath?`|${e.pathsBasePath}`:void 0)}function PJ(e){let t=new Map,n=new Map,r=new Map,i=new Map;return e&&t.set(e,i),{getMapOfCacheRedirects:function(e){return e?a(e.commandLine.options,!1):i},getOrCreateMapOfCacheRedirects:function(e){return e?a(e.commandLine.options,!0):i},update:function(n){e!==n&&(e?i=a(n,!0):t.set(n,i),e=n)},clear:function(){let a=e&&n.get(e);i.clear(),t.clear(),n.clear(),r.clear(),e&&(a&&n.set(e,a),t.set(e,i))}};function a(n,a){let s=t.get(n);if(s)return s;let l=o(n);if(!(s=r.get(l))){if(e){let t=o(e);t===l?s=i:r.has(t)||r.set(t,i)}a&&(null!=s||(s=new Map)),s&&r.set(l,s)}return s&&t.set(n,s),s}function o(e){let t=n.get(e);return t||n.set(e,t=Pq(e,rK)),t}}function PX(e,t,n,r){let i=e.getOrCreateMapOfCacheRedirects(t),a=i.get(n);return a||(a=r(),i.set(n,a)),a}function PY(e,t){return void 0===t?e:`${t}|${e}`}function P$(){let e=new Map,t=new Map,n={get:(t,n)=>e.get(r(t,n)),set:(t,i,a)=>(e.set(r(t,i),a),n),delete:(t,i)=>(e.delete(r(t,i)),n),has:(t,n)=>e.has(r(t,n)),forEach:n=>e.forEach((e,r)=>{let[i,a]=t.get(r);return n(e,i,a)}),size:()=>e.size};return n;function r(e,n){let r=PY(e,n);return t.set(r,[e,n]),r}}function PQ(e,t,n,r){T.assert(t.length===n.length);let i=P$();for(let a=0;aP$())},clear:function(){o.clear()},update:function(e){o.update(e)}}),l=function(e,t,n,r){let i=PJ(n);return{getFromNonRelativeNameCache:function(e,t,n,r){var a,o;return T.assert(!mR(e)),null==(o=null==(a=i.getMapOfCacheRedirects(r))?void 0:a.get(PY(e,t)))?void 0:o.get(n)},getOrCreateCacheForNonRelativeName:function(e,t,n){return T.assert(!mR(e)),PX(i,n,PY(e,t),a)},clear:function(){i.clear()},update:function(e){i.update(e)}};function a(){let n=new Map;return{get:function(r){return n.get(fR(r,e,t))},set:function(i,a){let o=fR(i,e,t);if(n.has(o))return;n.set(o,a);let s=r(a),l=s&&function(n,r){let i=fR(fy(r),e,t),a=0,o=Math.min(n.length,i.length);for(;ar,clearAllExceptPackageJsonInfoCache:c};function c(){s.clear(),l.clear()}}function P2(e,t,n){let r=P1(e,t,n,void 0,PZ);return r.getOrCreateCacheForModuleName=(e,t,n)=>r.getOrCreateCacheForNonRelativeName(e,t,n),r}function P4(e,t,n,r){return P1(e,t,n,r,P0)}function P8(e,t,n,r){let i=fy(t);return n.getFromDirectoryCache(e,r,i,void 0)}function P6(e,t,n,r,i,a,o){let s=PC(n,r);a&&(n=a.commandLine.options),s&&(PL(r,tA.Resolving_module_0_from_1,e,t),a&&PL(r,tA.Using_compiler_options_of_project_reference_redirect_0,a.sourceFile.fileName));let l=fy(t),c=null==i?void 0:i.getFromDirectoryCache(e,o,l,a);if(c)s&&PL(r,tA.Resolution_for_module_0_was_found_in_cache_from_location_1,e,l);else{let u=n.moduleResolution;if(void 0===u){switch(Cn(n)){case 1:u=2;break;case 100:u=3;break;case 199:u=99;break;default:u=1}s&&PL(r,tA.Module_resolution_kind_is_not_specified_using_0,eq[u])}else s&&PL(r,tA.Explicitly_specified_module_resolution_kind_Colon_0,eq[u]);switch(H.logStartResolveModule(e),u){case 3:case 99:var d;let _,p;d=n,_=fy(t),p=d.noDtsResolution?3:7,Cy(d)&&(p|=8),c=Ft(30|(99===o?32:0),e,_,d,r,i,p,!1,a);break;case 2:c=P9(e,t,n,r,i,a);break;case 1:c=FG(e,t,n,r,i,a);break;case 100:c=P7(e,t,n,r,i,a);break;default:return T.fail(`Unexpected moduleResolution: ${u}`)}c&&c.resolvedModule&&H.logInfoEvent(`Module "${e}" resolved to "${c.resolvedModule.resolvedFileName}"`),H.logStopResolveModule(c&&c.resolvedModule?""+c.resolvedModule.resolvedFileName:"null"),null==i||i.getOrCreateCacheForDirectory(l,a).set(e,o,c),mR(e)||null==i||i.getOrCreateCacheForNonRelativeName(e,o,a).set(l,c)}return s&&(c.resolvedModule?c.resolvedModule.packageId?PL(r,tA.Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2,e,c.resolvedModule.resolvedFileName,vb(c.resolvedModule.packageId)):PL(r,tA.Module_name_0_was_successfully_resolved_to_1,e,c.resolvedModule.resolvedFileName):PL(r,tA.Module_name_0_was_not_resolved,e)),c}function P3(e,t,n,r,i){let a=function(e,t,n,r){var i;let{baseUrl:a,paths:o,configFile:s}=r.compilerOptions;if(o&&!fl(t)){r.traceEnabled&&(a&&PL(r.host,tA.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1,a,t),PL(r.host,tA.paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0,t));let l=SC(r.compilerOptions,r.host),c=(null==s?void 0:s.configFileSpecs)?(i=s.configFileSpecs).pathPatterns||(i.pathPatterns=C7(o)):void 0;return FN(e,t,l,o,c,n,!1,r)}}(e,t,r,i);return a?a.value:mR(t)?function(e,t,n,r,i){let a,o;if(!i.compilerOptions.rootDirs)return;i.traceEnabled&&PL(i.host,tA.rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0,t);let s=fI(fA(n,t));for(let e of i.compilerOptions.rootDirs){let t=fI(e);_Z(t,tb)||(t+=tb);let n=pn(s,t)&&(void 0===o||o.lengthvoid v.push(e),isConfigLookup:s,candidateIsFromPackageJsonField:!1};if(m&&Cf(Ci(r))&&PL(i,tA.Resolving_in_0_mode_with_conditions_1,32&e?"ESM":"CJS",g.map(e=>`'${e}'`).join(", ")),2===Ci(r)){let e=5&o,t=-6&o;p=e&&E(e,b)||t&&E(t,b)||void 0}else p=E(o,b);if((null==(c=null==p?void 0:p.value)?void 0:c.isExternalLibraryImport)&&!s&&5&o&&8&e&&!mR(t)&&!FE(5,p.value.resolved.extension)&&g.indexOf("import")>-1){Fj(b,tA.Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_if_npm_library_needs_configuration_update);let e=E(5&o,{...b,features:-9&b.features,failedLookupLocations:[],affectingLocations:[],reportDiagnostic:_x});(null==(d=null==e?void 0:e.value)?void 0:d.isExternalLibraryImport)&&(f=e.value.resolved.path)}return PD(t,null==(u=null==p?void 0:p.value)?void 0:u.resolved,null==(_=null==p?void 0:p.value)?void 0:_.isExternalLibraryImport,h,y,v,b,f);function E(r,o){let s=P3(r,t,n,(e,t,n,r)=>Fr(e,t,n,r,!0),o);if(s)return FV({resolved:s,isExternalLibraryImport:Fi(s.path)});if(mR(t)){let{path:e,parts:i}=Fn(n,t),a=Fr(r,e,!1,o,!0);return a&&FV({resolved:a,isExternalLibraryImport:d6(i,"node_modules")})}{let s;return 2&e&&pn(t,"#")&&(s=function(e,t,n,r,i,a){var o,s;if("#"===t||pn(t,"#/"))return r.traceEnabled&&PL(r.host,tA.Invalid_import_specifier_0_has_no_possible_resolutions,t),FV(void 0);let l=fk(fA(n,"dummy"),null==(s=(o=r.host).getCurrentDirectory)?void 0:s.call(o)),c=Fy(l,r);return c?c.contents.packageJsonContent.imports?FL(e,r,i,a,t,c.contents.packageJsonContent.imports,c,!0)||(r.traceEnabled&&PL(r.host,tA.Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1,t,c.packageDirectory),FV(void 0)):(r.traceEnabled&&PL(r.host,tA.package_json_scope_0_has_no_imports_defined,c.packageDirectory),FV(void 0)):(r.traceEnabled&&PL(r.host,tA.Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve,l),FV(void 0))}(r,t,n,o,a,l)),!s&&4&e&&(s=function(e,t,n,r,i,a){var o,s;let l=Fy(fk(fA(n,"dummy"),null==(s=(o=r.host).getCurrentDirectory)?void 0:s.call(o)),r);if(!l||!l.contents.packageJsonContent.exports||"string"!=typeof l.contents.packageJsonContent.name)return;let c=fE(t),d=fE(l.contents.packageJsonContent.name);if(!dZ(d,(e,t)=>c[t]===e))return;let u=c.slice(d.length),_=dW(u)?`.${tb}${u.join(tb)}`:".";return FS(l,5&e,_,r,i,a)||FS(l,-6&e,_,r,i,a)}(r,t,n,o,a,l)),s||(m&&PL(i,tA.Loading_module_0_from_node_modules_folder_target_file_types_Colon_1,t,PR(r)),s=FI(r,t,n,o,!1,a,l)),s&&{value:s.value&&{resolved:s.value,isExternalLibraryImport:!0}}}}}function Fn(e,t){let n=fA(e,t),r=fE(n),i=uJ(r);return{path:"."===i||".."===i?fD(fI(n)):fI(n),parts:r}}function Fr(e,t,n,r,i){if(r.traceEnabled&&PL(r.host,tA.Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_types_Colon_1,t,PR(e)),!fp(t)){if(!n){let e=fy(t);Aq(e,r.host)||(r.traceEnabled&&PL(r.host,tA.Directory_0_does_not_exist_skipping_all_lookups_in_it,e),n=!0)}let a=Fl(e,t,n,r);if(a){let e=i?Fa(a.path):void 0;return Pk(e?Fv(e,!1,r):void 0,a)}}if(!n&&(Aq(t,r.host)||(r.traceEnabled&&PL(r.host,tA.Directory_0_does_not_exist_skipping_all_lookups_in_it,t),n=!0)),!(32&r.features))return Ff(e,t,n,r,i)}function Fi(e){return _2(e,il)}function Fa(e){let t=fI(e),n=t.lastIndexOf(il);if(-1===n)return;let r=n+il.length,i=Fo(t,r);return 64===t.charCodeAt(r)&&(i=Fo(t,i)),t.slice(0,i)}function Fo(e,t){let n=e.indexOf(tb,t+1);return -1===n?t:n}function Fs(e,t,n,r){return PI(Fl(e,t,n,r))}function Fl(e,t,n,r){let i=Fc(e,t,n,r);if(i)return i;if(!(32&r.features)){let i=Fu(t,e,"",n,r);if(i)return i}}function Fc(e,t,n,r){if(-1===fg(t).indexOf("."))return;let i=C4(t);i===t&&(i=t.substring(0,t.lastIndexOf(".")));let a=t.substring(i.length);return r.traceEnabled&&PL(r.host,tA.File_name_0_has_a_1_extension_stripping_it,t,a),Fu(i,e,a,n,r)}function Fd(e,t,n,r){return 1&e&&f_(t,nk)||4&e&&f_(t,nC)?void 0!==F_(t,n,r)?{path:t,ext:AV(t),resolvedUsingTsExtension:void 0}:void 0:r.isConfigLookup&&8===e&&fu(t,".json")?void 0!==F_(t,n,r)?{path:t,ext:".json",resolvedUsingTsExtension:void 0}:void 0:Fc(e,t,n,r)}function Fu(e,t,n,r,i){if(!r){let t=fy(e);t&&(r=!Aq(t,i.host))}switch(n){case".mjs":case".mts":case".d.mts":return 1&t&&a(".mts",".mts"===n||".d.mts"===n)||4&t&&a(".d.mts",".mts"===n||".d.mts"===n)||2&t&&a(".mjs")||void 0;case".cjs":case".cts":case".d.cts":return 1&t&&a(".cts",".cts"===n||".d.cts"===n)||4&t&&a(".d.cts",".cts"===n||".d.cts"===n)||2&t&&a(".cjs")||void 0;case".json":return 4&t&&a(".d.json.ts")||8&t&&a(".json")||void 0;case".tsx":case".jsx":return 1&t&&(a(".tsx",".tsx"===n)||a(".ts",".tsx"===n))||4&t&&a(".d.ts",".tsx"===n)||2&t&&(a(".jsx")||a(".js"))||void 0;case".ts":case".d.ts":case".js":case"":return 1&t&&(a(".ts",".ts"===n||".d.ts"===n)||a(".tsx",".ts"===n||".d.ts"===n))||4&t&&a(".d.ts",".ts"===n||".d.ts"===n)||2&t&&(a(".js")||a(".jsx"))||i.isConfigLookup&&a(".json")||void 0;default:return 4&t&&!Mf(e+n)&&a(`.d${n}.ts`)||void 0}function a(t,n){let a=F_(e+t,r,i);return void 0===a?void 0:{path:a,ext:t,resolvedUsingTsExtension:!i.candidateIsFromPackageJsonField&&n}}}function F_(e,t,n){var r,i;if(!(null==(r=n.compilerOptions.moduleSuffixes)?void 0:r.length))return Fp(e,t,n);let a=null!=(i=ki(e))?i:"",o=a?C6(e,a):e;return dz(n.compilerOptions.moduleSuffixes,e=>Fp(o+e+a,t,n))}function Fp(e,t,n){if(!t){if(n.host.fileExists(e))return n.traceEnabled&&PL(n.host,tA.File_0_exists_use_it_as_a_name_resolution_result,e),e;n.traceEnabled&&PL(n.host,tA.File_0_does_not_exist,e)}n.failedLookupLocations.push(e)}function Ff(e,t,n,r,i=!0){let a=i?Fv(t,n,r):void 0,o=a&&a.contents.packageJsonContent,s=a&&Fg(a,r);return Pk(a,Fb(e,t,n,r,o,s))}function Fm(e,t,n,r,i){let a;if(!i&&void 0!==e.contents.resolvedEntrypoints)return e.contents.resolvedEntrypoints;let o=5|(i?2:0),s=PH(t),l=Fh(null==r?void 0:r.getPackageJsonInfoCache(),n,t);l.conditions=PK(t),l.requestContainingDirectory=e.packageDirectory;let c=Fb(o,e.packageDirectory,!1,l,e.contents.packageJsonContent,Fg(e,l));if(a=uD(a,null==c?void 0:c.path),8&s&&e.contents.packageJsonContent.exports)for(let n of uS([PK(t,!0),PK(t,!1)],uw)){let t={...l,failedLookupLocations:[],conditions:n},r=function(e,t,n,r){let i;if(_y(t))for(let e of t)a(e);else if("object"==typeof t&&null!==t&&Fx(t))for(let e in t)a(t[e]);else a(t);return i;function a(t){var o,s;if("string"==typeof t&&pn(t,"./")&&-1===t.indexOf("*")){let a=fE(t).slice(2);if(a.indexOf("..")>=0||a.indexOf(".")>=0||a.indexOf("node_modules")>=0)return!1;let l=Fd(r,fk(fA(e.packageDirectory,t),null==(s=(o=n.host).getCurrentDirectory)?void 0:s.call(o)),!1,n);if(l)return i=uG(i,l,(e,t)=>e.path===t.path),!0}else if(Array.isArray(t)){for(let e of t)if(a(e))return!0}else if("object"==typeof t&&null!==t)return dz(u6(t),e=>{if("default"===e||d6(n.conditions,e)||Fk(n.conditions,e))return a(t[e]),!0})}}(e,e.contents.packageJsonContent.exports,t,o);if(r)for(let e of r)a=uG(a,e.path)}return e.contents.resolvedEntrypoints=a||!1}function Fh(e,t,n){return{host:t,compilerOptions:n,traceEnabled:PC(n,t),failedLookupLocations:_,affectingLocations:_,packageJsonInfoCache:e,features:0,conditions:o,requestContainingDirectory:void 0,reportDiagnostic:_x,isConfigLookup:!1,candidateIsFromPackageJsonField:!1}}function Fy(e,t){let n=fE(e);for(n.pop();n.length>0;){let e=Fv(fT(n),!1,t);if(e)return e;n.pop()}}function Fg(e,t){return void 0===e.contents.versionPaths&&(e.contents.versionPaths=function(e,t){let n=function(e,t){let n=PF(e,"typesVersions","object",t);if(void 0!==n)return t.traceEnabled&&PL(t.host,tA.package_json_has_a_typesVersions_field_with_version_specific_path_mappings),n}(e,t);if(void 0===n)return;if(t.traceEnabled)for(let e in n)u4(n,e)&&!R.tryParse(e)&&PL(t.host,tA.package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range,e);let i=PB(n);if(!i){t.traceEnabled&&PL(t.host,tA.package_json_does_not_have_a_typesVersions_entry_that_matches_version_0,r);return}let{version:a,paths:o}=i;if("object"!=typeof o){t.traceEnabled&&PL(t.host,tA.Expected_type_of_0_field_in_package_json_to_be_1_got_2,`typesVersions['${a}']`,"object",typeof o);return}return i}(e.contents.packageJsonContent,t)||!1),e.contents.versionPaths||void 0}function Fv(e,t,n){var r,i,a;let{host:o,traceEnabled:s}=n,l=fA(e,"package.json");if(t){n.failedLookupLocations.push(l);return}let c=null==(r=n.packageJsonInfoCache)?void 0:r.getPackageJsonInfo(l);if(void 0!==c)return"boolean"!=typeof c?(s&&PL(o,tA.File_0_exists_according_to_earlier_cached_lookups,l),n.affectingLocations.push(l),c.packageDirectory===e?c:{packageDirectory:e,contents:c.contents}):(c&&s&&PL(o,tA.File_0_does_not_exist_according_to_earlier_cached_lookups,l),void n.failedLookupLocations.push(l));let d=Aq(e,o);if(d&&o.fileExists(l)){let t=Az(l,o);s&&PL(o,tA.Found_package_json_at_0,l);let r={packageDirectory:e,contents:{packageJsonContent:t,versionPaths:void 0,resolvedEntrypoints:void 0}};return null==(i=n.packageJsonInfoCache)||i.setPackageJsonInfo(l,r),n.affectingLocations.push(l),r}d&&s&&PL(o,tA.File_0_does_not_exist,l),null==(a=n.packageJsonInfoCache)||a.setPackageJsonInfo(l,d),n.failedLookupLocations.push(l)}function Fb(e,t,n,r,a,o){let s;a&&(s=r.isConfigLookup?PG(a,"tsconfig",t,r):4&e&&(PG(a,"typings",t,r)||PG(a,"types",t,r))||7&e&&PG(a,"main",t,r)||void 0);let l=(e,t,n,r)=>{let i=F_(t,n,r);if(i){let t;let n=void 0!==(t=ki(i))&&FE(e,t)?{path:i,ext:t,resolvedUsingTsExtension:void 0}:void 0;if(n)return PI(n);r.traceEnabled&&PL(r.host,tA.File_0_has_an_unsupported_extension_so_skipping_it,i)}let o=4===e?5:e,s=r.features,l=r.candidateIsFromPackageJsonField;r.candidateIsFromPackageJsonField=!0,(null==a?void 0:a.type)!=="module"&&(r.features&=-33);let c=Fr(o,t,n,r,!1);return r.features=s,r.candidateIsFromPackageJsonField=l,c},c=s?!Aq(fy(s),r.host):void 0,d=n||!Aq(t,r.host),u=fA(t,r.isConfigLookup?"tsconfig":"index");if(o&&(!s||fU(t,s))){let n=fH(t,s||u,!1);r.traceEnabled&&PL(r.host,tA.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,o.version,i,n);let a=FN(e,n,t,o.paths,void 0,l,c||d,r);if(a)return Pw(a.value)}return s&&Pw(l(e,s,c,r))||(32&r.features?void 0:Fl(e,u,d,r))}function FE(e,t){return 2&e&&(".js"===t||".jsx"===t||".mjs"===t||".cjs"===t)||1&e&&(".ts"===t||".tsx"===t||".mts"===t||".cts"===t)||4&e&&(".d.ts"===t||".d.mts"===t||".d.cts"===t)||8&e&&".json"===t||!1}function FT(e){let t=e.indexOf(tb);return"@"===e[0]&&(t=e.indexOf(tb,t+1)),-1===t?{packageName:e,rest:""}:{packageName:e.slice(0,t),rest:e.slice(t+1)}}function Fx(e){return dZ(u6(e),e=>pn(e,"."))}function FS(e,t,n,r,i,a){if(e.contents.packageJsonContent.exports){if("."===n){let o;if("string"==typeof e.contents.packageJsonContent.exports||Array.isArray(e.contents.packageJsonContent.exports)||"object"==typeof e.contents.packageJsonContent.exports&&!uv(u6(e.contents.packageJsonContent.exports),e=>pn(e,"."))?o=e.contents.packageJsonContent.exports:u4(e.contents.packageJsonContent.exports,".")&&(o=e.contents.packageJsonContent.exports["."]),o)return FC(t,r,i,a,n,e,!1)(o,"",!1,".")}else if(Fx(e.contents.packageJsonContent.exports)){if("object"!=typeof e.contents.packageJsonContent.exports)return r.traceEnabled&&PL(r.host,tA.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,n,e.packageDirectory),FV(void 0);let o=FL(t,r,i,a,n,e.contents.packageJsonContent.exports,e,!1);if(o)return o}return r.traceEnabled&&PL(r.host,tA.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,n,e.packageDirectory),FV(void 0)}}function FA(e,t){let n=e.indexOf("*"),r=t.indexOf("*"),i=-1===n?e.length:n+1,a=-1===r?t.length:r+1;return i>a?-1:a>i||-1===n?1:-1===r||e.length>t.length?-1:t.length>e.length?1:0}function FL(e,t,n,r,i,a,o,s){let l=FC(e,t,n,r,i,o,s);if(!_Z(i,tb)&&-1===i.indexOf("*")&&u4(a,i))return l(a[i],"",!1,i);for(let e of uU(d9(u6(a),e=>-1!==e.indexOf("*")||_Z(e,"/")),FA)){if(16&t.features&&function(e,t){if(_Z(e,"*"))return!1;let n=e.indexOf("*");return -1!==n&&pn(t,e.substring(0,n))&&_Z(t,e.substring(n+1))}(e,i)){let t=a[e],n=e.indexOf("*");return l(t,i.substring(e.substring(0,n).length,i.length-(e.length-1-n)),!0,e)}if(_Z(e,"*")&&pn(i,e.substring(0,e.length-1)))return l(a[e],i.substring(e.length-1),!0,e);if(pn(i,e))return l(a[e],i.substring(e.length),!1,e)}}function FC(e,t,n,r,i,a,o){return function s(l,c,d,u){if("string"==typeof l){if(!d&&c.length>0&&!_Z(l,"/"))return t.traceEnabled&&PL(t.host,tA.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,a.packageDirectory,i),FV(void 0);if(!pn(l,"./")){if(o&&!pn(l,"../")&&!pn(l,"/")&&!fa(l)){let i=d?l.replace(/\*/g,c):l+c;Fj(t,tA.Using_0_subpath_1_with_target_2,"imports",u,i),Fj(t,tA.Resolving_module_0_from_1,i,a.packageDirectory+"/");let o=Ft(t.features,i,a.packageDirectory+"/",t.compilerOptions,t.host,n,e,!1,r);return FV(o.resolvedModule?{path:o.resolvedModule.resolvedFileName,extension:o.resolvedModule.extension,packageId:o.resolvedModule.packageId,originalPath:o.resolvedModule.originalPath,resolvedUsingTsExtension:o.resolvedModule.resolvedUsingTsExtension}:void 0)}return t.traceEnabled&&PL(t.host,tA.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,a.packageDirectory,i),FV(void 0)}let s=(fl(l)?fE(l).slice(1):fE(l)).slice(1);if(s.indexOf("..")>=0||s.indexOf(".")>=0||s.indexOf("node_modules")>=0)return t.traceEnabled&&PL(t.host,tA.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,a.packageDirectory,i),FV(void 0);let f=fA(a.packageDirectory,l),m=fE(c);if(m.indexOf("..")>=0||m.indexOf(".")>=0||m.indexOf("node_modules")>=0)return t.traceEnabled&&PL(t.host,tA.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,a.packageDirectory,i),FV(void 0);t.traceEnabled&&PL(t.host,tA.Using_0_subpath_1_with_target_2,o?"imports":"exports",u,d?l.replace(/\*/g,c):l+c);let h=_(d?f.replace(/\*/g,c):f+c);return function(n,r,i,o){var s,l,c,d;if(!t.isConfigLookup&&(t.compilerOptions.declarationDir||t.compilerOptions.outDir)&&-1===n.indexOf("/node_modules/")&&(!t.compilerOptions.configFile||fU(a.packageDirectory,_(t.compilerOptions.configFile.fileName),!p()))){let u=Sh({useCaseSensitiveFileNames:p}),f=[];if(t.compilerOptions.rootDir||t.compilerOptions.composite&&t.compilerOptions.configFilePath){let e=_(UW(t.compilerOptions,()=>[],(null==(l=(s=t.host).getCurrentDirectory)?void 0:l.call(s))||"",u));f.push(e)}else if(t.requestContainingDirectory){let e=_(fA(t.requestContainingDirectory,"index.ts")),n=_(UW(t.compilerOptions,()=>[e,_(i)],(null==(d=(c=t.host).getCurrentDirectory)?void 0:d.call(c))||"",u));f.push(n);let r=fD(n);for(;r&&r.length>1;){let e=fE(r);e.pop();let t=fT(e);f.unshift(t),r=fD(t)}}for(let s of(f.length>1&&t.reportDiagnostic(L0(o?tA.The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:tA.The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate,""===r?".":r,i)),f))for(let r of function(e){var n,r;let i=t.compilerOptions.configFile?(null==(r=(n=t.host).getCurrentDirectory)?void 0:r.call(n))||"":e,a=[];return t.compilerOptions.declarationDir&&a.push(_(fD(fA(i,t.compilerOptions.declarationDir)))),t.compilerOptions.outDir&&t.compilerOptions.outDir!==t.compilerOptions.declarationDir&&a.push(_(fD(fA(i,t.compilerOptions.outDir)))),a}(s))if(fU(r,n,!p())){let i=fA(s,n.slice(r.length+1));for(let n of[".mjs",".cjs",".js",".json",".d.mts",".d.cts",".d.ts"])if(fu(i,n))for(let r of SA(i)){if(!FE(e,r))continue;let o=fM(i,r,n,!p());if(t.host.fileExists(o))return FV(Pk(a,Fd(e,o,!1,t)))}}}}(h,c,fA(a.packageDirectory,"package.json"),o)||FV(Pk(a,Fd(e,h,!1,t)))}if("object"==typeof l&&null!==l){if(Array.isArray(l)){if(!dW(l))return t.traceEnabled&&PL(t.host,tA.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,a.packageDirectory,i),FV(void 0);for(let e of l){let t=s(e,c,d,u);if(t)return t}}else{for(let e of(Fj(t,tA.Entering_conditional_exports),u6(l)))if("default"===e||t.conditions.indexOf(e)>=0||Fk(t.conditions,e)){Fj(t,tA.Matched_0_condition_1,o?"imports":"exports",e);let n=s(l[e],c,d,u);if(n)return Fj(t,tA.Resolved_under_condition_0,e),Fj(t,tA.Exiting_conditional_exports),n;Fj(t,tA.Failed_to_resolve_under_condition_0,e)}else Fj(t,tA.Saw_non_matching_condition_0,e);Fj(t,tA.Exiting_conditional_exports);return}}else if(null===l)return t.traceEnabled&&PL(t.host,tA.package_json_scope_0_explicitly_maps_specifier_1_to_null,a.packageDirectory,i),FV(void 0);return t.traceEnabled&&PL(t.host,tA.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,a.packageDirectory,i),FV(void 0);function _(e){var n,r;return void 0===e?e:fk(e,null==(r=(n=t.host).getCurrentDirectory)?void 0:r.call(n))}function p(){return!t.host.useCaseSensitiveFileNames||("boolean"==typeof t.host.useCaseSensitiveFileNames?t.host.useCaseSensitiveFileNames:t.host.useCaseSensitiveFileNames())}}}function Fk(e,t){if(-1===e.indexOf("types")||!pn(t,"types@"))return!1;let n=R.tryParse(t.substring(6));return!!n&&n.test(i)}function FI(e,t,n,r,i,a,o){let s=0===r.features?void 0:32&r.features?99:1,l=5&e,c=-6&e;if(l){let e=d(l);if(e)return e}if(c&&!i)return d(c);function d(e){return fq(fx(n),n=>{if("node_modules"!==fg(n))return FF(a,t,s,n,o,r)||FV(Fw(e,t,n,r,i,a,o))})}}function Fw(e,t,n,r,i,a,o){let s=fA(n,"node_modules"),l=Aq(s,r.host);if(!l&&r.traceEnabled&&PL(r.host,tA.Directory_0_does_not_exist_skipping_all_lookups_in_it,s),!i){let n=FR(e,t,s,l,r,a,o);if(n)return n}if(4&e){let e,n=fA(s,"@types"),i=l;return l&&!Aq(n,r.host)&&(r.traceEnabled&&PL(r.host,tA.Directory_0_does_not_exist_skipping_all_lookups_in_it,n),i=!1),FR(4,(e=FO(t),r.traceEnabled&&e!==t&&PL(r.host,tA.Scoped_package_detected_looking_in_0,e),e),n,i,r,a,o)}}function FR(e,t,n,r,a,s,l){var c,d,u;let _;let p=fI(fA(n,t)),{packageName:f,rest:m}=FT(t),h=fA(n,f),y=Fv(p,!r,a);if(""!==m&&y&&(!(8&a.features)||!u4(null!=(d=null==(c=_=Fv(h,!r,a))?void 0:c.contents.packageJsonContent)?d:o,"exports"))){let t=Fl(e,p,!r,a);if(t)return PI(t);let n=Fb(e,p,!r,a,y.contents.packageJsonContent,Fg(y,a));return Pk(y,n)}let g=(e,t,n,r)=>{let i=Fl(e,t,n,r)||Fb(e,t,n,r,y&&y.contents.packageJsonContent,y&&Fg(y,r));return!i&&y&&(void 0===y.contents.packageJsonContent.exports||null===y.contents.packageJsonContent.exports)&&32&r.features&&(i=Fl(e,fA(t,"index.js"),n,r)),Pk(y,i)};if(""!==m&&(y=null!=_?_:Fv(h,!r,a)),y&&y.contents.packageJsonContent.exports&&8&a.features)return null==(u=FS(y,e,fA(".",m),a,s,l))?void 0:u.value;let v=""!==m&&y?Fg(y,a):void 0;if(v){a.traceEnabled&&PL(a.host,tA.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,v.version,i,m);let t=r&&Aq(h,a.host),n=FN(e,m,h,v.paths,void 0,g,!t,a);if(n)return n.value}return g(e,p,!r,a)}function FN(e,t,n,r,i,a,o,s){i||(i=C7(r));let l=ko(i,t);if(l){let i=_v(l)?void 0:pe(l,t),c=_v(l)?l:_9(l);return s.traceEnabled&&PL(s.host,tA.Module_name_0_matched_pattern_1,t,c),{value:dz(r[c],t=>{let r=i?t.replace("*",i):t,l=fI(fA(n,r));s.traceEnabled&&PL(s.host,tA.Trying_substitution_0_candidate_module_location_Colon_1,t,r);let c=ki(t);if(void 0!==c){let e=F_(l,o,s);if(void 0!==e)return PI({path:e,ext:c,resolvedUsingTsExtension:void 0})}return a(e,l,o||!Aq(fy(l),s.host),s)})}}}function FD(e){return`@types/${FO(e)}`}function FO(e){if(pn(e,"@")){let t=e.replace(tb,ic);if(t!==e)return t.slice(1)}return e}function FM(e){let t=pr(e,"@types/");return t!==e?FP(t):e}function FP(e){return _2(e,ic)?"@"+e.replace(ic,tb):e}function FF(e,t,n,r,i,a){let o=e&&e.getFromNonRelativeNameCache(t,n,r,i);if(o)return a.traceEnabled&&PL(a.host,tA.Resolution_for_module_0_was_found_in_cache_from_location_1,t,r),a.resultFromCache=o,{value:o.resolvedModule&&{path:o.resolvedModule.resolvedFileName,originalPath:o.resolvedModule.originalPath||!0,extension:o.resolvedModule.extension,packageId:o.resolvedModule.packageId,resolvedUsingTsExtension:o.resolvedModule.resolvedUsingTsExtension}}}function FG(e,t,n,r,i,a){let o=PC(n,r),s=[],l=[],c=fy(t),d=[],u={compilerOptions:n,host:r,traceEnabled:o,failedLookupLocations:s,affectingLocations:l,packageJsonInfoCache:i,features:0,conditions:[],requestContainingDirectory:c,reportDiagnostic:e=>void d.push(e),isConfigLookup:!1,candidateIsFromPackageJsonField:!1},_=p(5)||p(2|(n.resolveJsonModule?8:0));return PD(e,_&&_.value,(null==_?void 0:_.value)&&Fi(_.value.path),s,l,d,u);function p(t){let n=P3(t,e,c,Fs,u);if(n)return{value:n};if(mR(e))return FV(Fs(t,fI(fA(c,e)),!1,u));{let n=fq(c,n=>FF(i,e,void 0,n,a,u)||FV(Fs(t,fI(fA(n,e)),!1,u)));if(n)return n;if(5&t)return FI(4,e,c,u,!0,void 0,void 0)}}}function FB(e,t){return!!e.allowImportingTsExtensions||t&&Mf(t)}function FU(e,t,n,r,i,a){let o=PC(n,r);o&&PL(r,tA.Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2,t,e,i);let s=[],l=[],c=[],d={compilerOptions:n,host:r,traceEnabled:o,failedLookupLocations:s,affectingLocations:l,packageJsonInfoCache:a,features:0,conditions:[],requestContainingDirectory:void 0,reportDiagnostic:e=>void c.push(e),isConfigLookup:!1,candidateIsFromPackageJsonField:!1};return PO(Fw(4,e,i,d,!1,void 0,void 0),!0,s,l,c,d.resultFromCache)}function FV(e){return void 0!==e?{value:e}:void 0}function Fj(e,t,...n){e.traceEnabled&&PL(e.host,t,...n)}var FH=dj({"src/compiler/moduleNameResolver.ts"(){var e;Kr(),io=fA("node_modules","@types"),(e=is||{})[e.None=0]="None",e[e.Imports=2]="Imports",e[e.SelfName=4]="SelfName",e[e.Exports=8]="Exports",e[e.ExportsPatternTrailers=16]="ExportsPatternTrailers",e[e.AllFeatures=30]="AllFeatures",e[e.Node16Default=30]="Node16Default",e[e.NodeNextDefault=30]="NodeNextDefault",e[e.BundlerDefault=30]="BundlerDefault",e[e.EsmMode=32]="EsmMode",is=e,il="/node_modules/",ic="__"}});function FK(e,t){return e.body&&!e.body.parent&&(kC(e.body,e),kI(e.body,!1)),e.body?function e(t,n=new Map){let r=Gv(t);if(n.has(r))return n.get(r)||0;n.set(r,void 0);let i=function(t,n){switch(t.kind){case 261:case 262:return 0;case 263:if(bj(t))return 2;break;case 269:case 268:if(!S3(t,1))return 0;break;case 275:if(!t.moduleSpecifier&&t.exportClause&&276===t.exportClause.kind){let r=0;for(let i of t.exportClause.elements){let t=function(t,n){let r=t.propertyName||t.name,i=t.parent;for(;i;){if(RJ(i)||Nu(i)||N0(i)){let t;for(let a of i.statements)if(hc(a,r)){a.parent||(kC(a,i),kI(a,!1));let r=e(a,n);if((void 0===t||r>t)&&(t=r),1===t)return t}if(void 0!==t)return t}i=i.parent}return 1}(i,n);if(t>r&&(r=t),1===r)break}return r}break;case 265:{let r=0;return Mr(t,t=>{let i=e(t,n);switch(i){case 0:return;case 2:r=2;return;case 1:return r=1,!0;default:T.assertNever(i)}}),r}case 264:return FK(t,n);case 79:if(2048&t.flags)return 0}return 1}(t,n);return n.set(r,i),i}(e.body,t):1}function FW(e){return T.attachFlowNodeDebugInfo(e),e}function Fz(e,t){pM("beforeBind"),H.logStartBindFile(""+e.fileName),iu(e,t),H.logStopBindFile(),pM("afterBind"),pP("Bind","beforeBind","afterBind")}function Fq(e){return!Na(e)&&!function(e){switch(e.kind){case 261:case 262:return!0;case 264:return 1!==FK(e);case 263:return S3(e,2048);default:return!1}}(e)&&!Nc(e)&&!(RX(e)&&!(3&m3(e))&&e.declarationList.declarations.some(e=>!e.initializer))}function FJ(e,t){let n=0,r=_m();for(r.enqueue(t);!r.isEmpty()&&n<100;){if(n++,Tu(t=r.dequeue())||Tp(t))return!0;if(wb(t)){let n=FY(e,t.escapedText);if(n&&n.valueDeclaration&&Nr(n.valueDeclaration)&&n.valueDeclaration.initializer){let e=n.valueDeclaration.initializer;r.enqueue(e),AA(e,!0)&&(r.enqueue(e.left),r.enqueue(e.right))}}}return!1}function FX(e){switch(e.kind){case 228:case 260:case 263:case 207:case 184:case 325:case 289:return 1;case 261:return 65;case 264:case 262:case 197:case 178:return 33;case 308:return 37;case 174:case 175:case 171:if(Ec(e))return 173;case 173:case 259:case 170:case 176:case 326:case 320:case 181:case 177:case 182:case 172:return 45;case 215:case 216:return 61;case 265:return 4;case 169:return e.initializer?4:0;case 295:case 245:case 246:case 247:case 266:return 34;case 238:return yF(e.parent)||wK(e.parent)?0:34}return 0}function FY(e,t){var n,r,i,a,o;let s=null==(r=null==(n=_E(e,gR))?void 0:n.locals)?void 0:r.get(t);return s?null!=(i=s.exportSymbol)?i:s:N0(e)&&e.jsGlobalAugmentations&&e.jsGlobalAugmentations.has(t)?e.jsGlobalAugmentations.get(t):gw(e)?null==(o=null==(a=e.symbol)?void 0:a.exports)?void 0:o.get(t):void 0}var F$=dj({"src/compiler/binder.ts"(){var e;Kr(),pJ(),(e=id||{})[e.NonInstantiated=0]="NonInstantiated",e[e.Instantiated=1]="Instantiated",e[e.ConstEnumOnly=2]="ConstEnumOnly",id=e,iu=function(){var e,t,n,r,i,a,o,s,l,c,d,u,_,p,f,m,h,y,g,v,b,E,x,S,A=!1,L=0,C={flags:1},k={flags:1},I=function(){return OL(function(e,t){if(t){t.stackIndex++,kC(e,r);let n=E;eR(e);let i=r;r=e,t.skip=!1,t.inStrictModeStack[t.stackIndex]=n,t.parentStack[t.stackIndex]=i}else t={stackIndex:0,skip:!1,inStrictModeStack:[void 0],parentStack:[void 0]};let n=e.operatorToken.kind;if(Ab(n)||Ag(n)){if(ei(e)){let t=z();ep(e,t,t),d=en(t)}else ep(e,f,m);t.skip=!0}return t},function(t,n,r){if(!n.skip){let n=e(t);return 27===r.operatorToken.kind&&ed(t),n}},function(e,t,n){t.skip||ek(e)},function(t,n,r){if(!n.skip){let n=e(t);return 27===r.operatorToken.kind&&ed(t),n}},function(e,t){if(!t.skip){let t=e.operatorToken.kind;AT(t)&&!T3(e)&&(e_(e.left),63===t&&209===e.left.kind)&&W(e.left.expression)&&(d=ee(256,d,e))}let n=t.inStrictModeStack[t.stackIndex],i=t.parentStack[t.stackIndex];void 0!==n&&(E=n),void 0!==i&&(r=i),t.skip=!1,t.stackIndex--},void 0);function e(e){if(e&&RR(e)&&!AC(e))return e;ek(e)}}();return function(y,I){var w,R,N;e=y,n=Ct(t=I),N=e,E=!!CE(I,"alwaysStrict")&&!N.isDeclarationFile||!!N.externalModuleIndicator,S=new Set,L=0,x=nl.getSymbolConstructor(),T.attachFlowNodeDebugInfo(C),T.attachFlowNodeDebugInfo(k),e.locals||(null==(w=Q)||w.push(Q.Phase.Bind,"bindSourceFile",{path:e.path},!0),ek(e),null==(R=Q)||R.pop(),e.symbolCount=L,e.classifiableNames=S,function(){if(!l)return;let t=i,n=s,a=o,c=r,u=d;for(let t of l){let n=t.parent.parent;i=m9(n.parent,e=>!!(1&FX(e)))||e,o=bv(n)||e,d=FW({flags:2}),r=t,ek(t.typeExpression);let a=hp(t);if((DT(t)||!t.fullName)&&a&&AN(a.parent)){let n=eH(a.parent);if(n){eV(e.symbol,a.parent,n,!!m9(a,e=>Rh(e)&&"prototype"===e.name.escapedText),!1);let r=i;switch(TS(a.parent)){case 1:case 2:i=bU(e)?e:void 0;break;case 4:i=a.parent.expression;break;case 3:i=a.parent.expression.name;break;case 5:i=FJ(e,a.parent.expression)?e:Rh(a.parent.expression)?a.parent.expression.name:a.parent.expression;break;case 0:return T.fail("Shouldn't have detected typedef or enum on non-assignment declaration")}i&&P(t,524288,788968),i=r}}else DT(t)||!t.fullName||79===t.fullName.kind?(r=t.parent,ex(t,524288,788968)):ek(t.fullName)}i=t,s=n,o=a,r=c,d=u}()),e=void 0,t=void 0,n=void 0,r=void 0,i=void 0,a=void 0,o=void 0,s=void 0,l=void 0,c=!1,d=void 0,u=void 0,_=void 0,p=void 0,f=void 0,m=void 0,h=void 0,g=void 0,v=!1,A=!1,b=0};function w(t,n,r,i,a){return bI(vS(t)||e,t,n,r,i,a)}function R(e,t){return L++,new x(e,t)}function N(e,t,n){e.flags|=n,t.symbol=e,e.declarations=uG(e.declarations,t),1955&n&&!e.exports&&(e.exports=vt()),6240&n&&!e.members&&(e.members=vt()),e.constEnumOnlyModule&&304&e.flags&&(e.constEnumOnlyModule=!1),111551&n&&Tk(e,t)}function D(e){if(274===e.kind)return e.isExportEquals?"export=":"default";let t=hp(e);if(t){if(v7(e)){let n=xU(t);return bi(e)?"__global":`"${n}"`}if(164===t.kind){let e=t.expression;if(xO(e))return hn(e.text);if(xM(e))return tF[e.operator]+e.operand.text;T.fail("Only computed properties with literal names have declaration names")}if(wE(t)){let n=Ev(e);if(!n)return;return xH(n.symbol,t.escapedText)}return xB(t)?xV(t):void 0}switch(e.kind){case 173:return"__constructor";case 181:case 176:case 326:return"__call";case 182:case 177:return"__new";case 178:return"__index";case 275:return"__export";case 308:return"export=";case 223:if(2===Tf(e))return"export=";T.fail("Unknown binary declaration kind");break;case 320:return TG(e)?"__new":"__call";case 166:return T.assert(320===e.parent.kind,"Impossible parameter parent kind",()=>`parent is: ${T.formatSyntaxKind(e.parent.kind)}, expected JSDocFunctionType`),"arg"+e.parent.parameters.indexOf(e)}}function O(e){return hu(e)?bE(e.name):hr(T.checkDefined(D(e)))}function M(t,n,r,i,a,o,s){let l;T.assert(s||!xP(r));let c=S3(r,1024)||NC(r)&&"default"===r.name.escapedText,d=s?"__computed":c&&n?"default":D(r);if(void 0===d)l=R(0,"__missing");else if(l=t.get(d),2885600&i&&S.add(d),l){if(o&&!l.isReplaceableByMethod)return l;if(l.flags&a){if(l.isReplaceableByMethod)t.set(d,l=R(0,d));else if(!(3&i&&67108864&l.flags)){hu(r)&&kC(r.name,r);let t=2&l.flags?tA.Cannot_redeclare_block_scoped_variable_0:tA.Duplicate_identifier_0,n=!0;(384&l.flags||384&i)&&(t=tA.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations,n=!1);let a=!1;dW(l.declarations)&&(c?(t=tA.A_module_cannot_have_multiple_default_exports,n=!1,a=!0):l.declarations&&l.declarations.length&&274===r.kind&&!r.isExportEquals&&(t=tA.A_module_cannot_have_multiple_default_exports,n=!1,a=!0));let o=[];Nl(r)&&vN(r.type)&&S3(r,1)&&2887656&l.flags&&o.push(w(r,tA.Did_you_mean_0,`export type { ${hr(r.name.escapedText)} }`));let s=hp(r)||r;dz(l.declarations,(r,i)=>{let l=hp(r)||r,c=w(l,t,n?O(r):void 0);e.bindDiagnostics.push(a?kl(c,w(s,0===i?tA.Another_export_default_is_here:tA.and_here)):c),a&&o.push(w(l,tA.The_first_export_default_is_here))});let u=w(s,t,n?O(r):void 0);e.bindDiagnostics.push(kl(u,...o)),l=R(0,d)}}}else t.set(d,l=R(0,d)),o&&(l.isReplaceableByMethod=!0);return N(l,r,i),l.parent?T.assert(l.parent===n,"Existing symbol parent should match new one"):l.parent=n,l}function P(e,t,n){let r=!!(1&m8(e))||function(e){if(e.parent&&Nd(e)&&(e=e.parent),!TB(e))return!1;if(!DT(e)&&e.fullName)return!0;let t=hp(e);return!!t&&!!(AN(t.parent)&&eH(t.parent)||gO(t.parent)&&1&m8(t.parent))}(e);if(2097152&t)return 278===e.kind||268===e.kind&&r?M(i.symbol.exports,i.symbol,e,t,n):(T.assertNode(i,gR),M(i.locals,void 0,e,t,n));if(TB(e)&&T.assert(EZ(e)),v7(e)||!r&&!(64&i.flags))return T.assertNode(i,gR),M(i.locals,void 0,e,t,n);{if(!gR(i)||!i.locals||S3(e,1024)&&!D(e))return M(i.symbol.exports,i.symbol,e,t,n);let r=111551&t?1048576:0,a=M(i.locals,void 0,e,r,n);return a.exportSymbol=M(i.symbol.exports,i.symbol,e,t,n),e.localSymbol=a,a}}function F(e){G(e,e=>259===e.kind?ek(e):void 0),G(e,e=>259!==e.kind?ek(e):void 0)}function G(e,t=ek){void 0!==e&&dz(e,t)}function B(e){Mr(e,ek,G)}function U(e){var n;let r=A;if(A=!1,function(e){if(!(1&d.flags))return!1;if(d===C){let n;if((gP(e)&&239!==e.kind||260===e.kind||264===e.kind&&(1===(n=FK(e))||2===n&&Cv(t)))&&(d=k,!t.allowUnreachableCode)){let n=Cc(t)&&!(16777216&e.flags)&&(!RX(e)||!!(3&m3(e.declarationList))||e.declarationList.declarations.some(e=>!!e.initializer));(function(e,t){if(gF(e)&&Fq(e)&&RJ(e.parent)){let{statements:n}=e.parent,r=ks(n,e);ub(r,Fq,(e,n)=>t(r[e],r[n-1]))}else t(e,e)})(e,(e,t)=>eC(n,e,t,tA.Unreachable_code_detected))}}return!0}(e)){B(e),eI(e),A=r;return}switch(e.kind>=240&&e.kind<=256&&!t.allowUnreachableCode&&(e.flowNode=d),e.kind){case 244:let i,a,o;i=el(e,q()),a=z(),o=z(),Y(i,d),d=i,eo(e.expression,a,o),d=en(a),es(e.statement,o,i),Y(i,d),d=en(o);break;case 243:let s,l,c;s=q(),l=el(e,z()),c=z(),Y(s,d),d=s,es(e.statement,c,l),Y(l,d),d=en(l),eo(e.expression,s,c),d=en(c);break;case 245:let b,E,T;b=el(e,q()),E=z(),T=z(),ek(e.initializer),Y(b,d),d=b,eo(e.condition,E,T),d=en(E),es(e.statement,T,b),ek(e.incrementor),Y(b,d),d=en(T);break;case 246:case 247:let x,S;x=el(e,q()),S=z(),ek(e.expression),Y(x,d),d=x,247===e.kind&&ek(e.awaitModifier),Y(S,d),ek(e.initializer),258!==e.initializer.kind&&e_(e.initializer),es(e.statement,S,x),Y(x,d),d=en(S);break;case 242:let L,w,R;L=z(),w=z(),R=z(),eo(e.expression,L,w),d=en(L),ek(e.thenStatement),Y(R,d),d=en(w),ek(e.elseStatement),Y(R,d),d=en(R);break;case 250:case 254:ek(e.expression),250===e.kind&&(v=!0,p&&Y(p,d)),d=C;break;case 249:case 248:(function(e){if(ek(e.label),e.label){let t=function(e){for(let t=g;t;t=t.next)if(t.name===e)return t}(e.label.escapedText);t&&(t.referenced=!0,ec(e,t.breakTarget,t.continueTarget))}else ec(e,u,_)})(e);break;case 255:(function(e){let t=p,n=h,r=z(),i=z(),a=z();if(e.finallyBlock&&(p=i),Y(a,d),h=a,ek(e.tryBlock),Y(r,d),e.catchClause&&(d=en(a),Y(a=z(),d),h=a,ek(e.catchClause),Y(r,d)),p=t,h=n,e.finallyBlock){let t=z();t.antecedents=uE(uE(r.antecedents,a.antecedents),i.antecedents),d=t,ek(e.finallyBlock),1&d.flags?d=C:(p&&i.antecedents&&Y(p,J(t,i.antecedents,d)),h&&a.antecedents&&Y(h,J(t,a.antecedents,d)),d=r.antecedents?J(t,r.antecedents,d):C)}else d=en(r)})(e);break;case 252:let N,D,O,M;N=z(),ek(e.expression),D=u,O=y,u=N,y=d,ek(e.caseBlock),Y(N,d),M=dz(e.caseBlock.clauses,e=>293===e.kind),e.possiblyExhaustive=!M&&!N.antecedents,M||Y(N,Z(y,e,0,0)),u=D,y=O,d=en(N);break;case 266:(function(e){let n=e.clauses,r=V(e.parent.expression),i=C;for(let a=0;aNA(e)||NS(e)))?e.flags|=64:e.flags&=-65}function eE(e){let t=FK(e),n=0!==t;return ev(e,n?512:1024,n?110735:0),t}function eT(e,t,n){let r=R(t,n);return 106508&t&&(r.parent=i.symbol),N(r,e,t),r}function ex(e,t,n){switch(o.kind){case 264:P(e,t,n);break;case 308:if(bU(i)){P(e,t,n);break}default:T.assertNode(o,gR),o.locals||(o.locals=vt(),eg(o)),M(o.locals,void 0,e,t,n)}}function eS(t,n){if(n&&79===n.kind&&wb(n)&&("eval"===n.escapedText||"arguments"===n.escapedText)){let r=bB(e,n);e.bindDiagnostics.push(LQ(e,r.start,r.length,Ev(t)?tA.Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode:e.externalModuleIndicator?tA.Invalid_use_of_0_Modules_are_automatically_in_strict_mode:tA.Invalid_use_of_0_in_strict_mode,hi(n)))}}function eA(e){E&&eS(e,e.name)}function eL(t,n,r,i,a){let o=bF(e,t.pos);e.bindDiagnostics.push(LQ(e,o.start,o.length,n,r,i,a))}function eC(t,n,r,i){var a;let o;a={pos:vz(n,e),end:r.end},o=LQ(e,a.pos,a.end-a.pos,i),t?e.bindDiagnostics.push(o):e.bindSuggestionDiagnostics=uD(e.bindSuggestionDiagnostics,{...o,category:2})}function ek(t){if(!t)return;kC(t,r),Q&&(t.tracingPath=e.path);let n=E;if(eR(t),t.kind>162){let e=r;r=t;let n=FX(t);0===n?U(t):function(e,t){let n=i,r=a,s=o;if(1&t?(216!==e.kind&&(a=i),i=o=e,32&t&&(i.locals=vt(),eg(i))):2&t&&(o=e,32&t&&(o.locals=void 0)),4&t){let n=d,r=u,i=_,a=p,o=h,s=g,l=v,c=16&t&&!S3(e,512)&&!e.asteriskToken&&!!EC(e)||172===e.kind;!c&&(d=FW({flags:2}),144&t&&(d.node=e)),p=c||173===e.kind||EZ(e)&&(259===e.kind||215===e.kind)?z():void 0,h=void 0,u=void 0,_=void 0,g=void 0,v=!1,U(e),e.flags&=-2817,!(1&d.flags)&&8&t&&vD(e.body)&&(e.flags|=256,v&&(e.flags|=512),e.endFlowNode=d),308===e.kind&&(e.flags|=b,e.endFlowNode=d),p&&(Y(p,d),d=en(p),(173===e.kind||172===e.kind||EZ(e)&&(259===e.kind||215===e.kind))&&(e.returnFlowNode=d)),c||(d=n),u=r,_=i,p=a,h=o,g=s,v=l}else 64&t?(c=!1,U(e),T.assertNotNode(e,wb),e.flags=c?128|e.flags:-129&e.flags):U(e);i=n,a=r,o=s}(t,n),r=e}else{let e=r;1===t.kind&&(r=t),eI(t),r=e}E=n}function eI(e){if(g$(e)){if(EZ(e))for(let t of e.jsDoc)ek(t);else for(let t of e.jsDoc)kC(t,e),kI(t,!1)}}function ew(t){if(!E)for(let n of t){if(!bY(n))return;if(function(t){let n=vJ(e,t.expression);return'"use strict"'===n||"'use strict'"===n}(n)){E=!0;return}}}function eR(a){switch(a.kind){case 79:if(2048&a.flags){let e=a.parent;for(;e&&!TB(e);)e=e.parent;ex(e,524288,788968);break}case 108:return d&&(gp(a)||300===r.kind)&&(a.flowNode=d),function(t){if(!e.parseDiagnostics.length&&!(16777216&t.flags)&&!(8388608&t.flags)&&!xd(t)){let n=ha(t);void 0!==n&&(E&&n>=117&&n<=125?e.bindDiagnostics.push(w(t,Ev(t)?tA.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:e.externalModuleIndicator?tA.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:tA.Identifier_expected_0_is_a_reserved_word_in_strict_mode,bE(t))):133===n?Md(e)&&ES(t)?e.bindDiagnostics.push(w(t,tA.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module,bE(t))):32768&t.flags&&e.bindDiagnostics.push(w(t,tA.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,bE(t))):125===n&&8192&t.flags&&e.bindDiagnostics.push(w(t,tA.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,bE(t))))}}(a);case 163:d&&EW(a)&&(a.flowNode=d);break;case 233:case 106:a.flowNode=d;break;case 80:return void("#constructor"!==a.escapedText||e.parseDiagnostics.length||e.bindDiagnostics.push(w(a,tA.constructor_is_a_reserved_word,bE(a))));case 208:case 209:d&&j(a)&&(a.flowNode=d),TC(a)&&(108===a.expression.kind?eP(a):Tg(a)&&308===a.parent.parent.kind&&(AO(a.expression)?eB(a,a.parent):eU(a))),EZ(a)&&e.commonJsModuleIndicator&&Tp(a)&&!FY(o,"module")&&M(e.locals,void 0,a.expression,134217729,111550);break;case 223:switch(Tf(a)){case 1:eO(a);break;case 2:(function(t){if(!eD(t))return;let n=Td(t.right);if(AG(n)||i===e&&FJ(e,n))return;if(Rm(n)&&dZ(n.properties,NY)){dz(n.properties,eM);return}let r=xf(t)?2097152:1049092;Tk(M(e.symbol.exports,e.symbol,t,67108864|r,0),t)})(a);break;case 3:eB(a.left,a);break;case 6:kC(a.left,a),kC(a.right,a),eK(a.left.expression,a.left,!1,!0);break;case 4:eP(a);break;case 5:let s=a.left.expression;if(EZ(a)&&wb(s)){let e=FY(o,s.escapedText);if(ER(null==e?void 0:e.valueDeclaration)){eP(a);break}}(function(t){var n;let r=eW(t.left.expression,i)||eW(t.left.expression,o);if(!EZ(t)&&!TI(r))return;let a=LO(t.left);if(!wb(a)||!((null==(n=FY(i,a.escapedText))?void 0:n.flags)&2097152)){if(kC(t.left,t),kC(t.right,t),wb(t.left.expression)&&i===e&&FJ(e,t.left.expression))eO(t);else if(xP(t)){eT(t,67108868,"__computed");let e=eV(r,t.left.expression,eH(t.left),!1,!1);eG(t,e)}else eU(_T(t.left,Tb))}})(a);break;case 0:break;default:T.fail("Unknown binary expression special property assignment kind")}return void(E&&gs(a.left)&&AT(a.operatorToken.kind)&&eS(a,a.left));case 295:return void(E&&a.variableDeclaration&&eS(a,a.variableDeclaration.name));case 217:return function(t){if(E&&79===t.expression.kind){let n=bB(e,t.expression);e.bindDiagnostics.push(LQ(e,n.start,n.length,tA.delete_cannot_be_called_on_an_identifier_in_strict_mode))}}(a);case 8:return void(n<1&&E&&32&a.numericLiteralFlags&&e.bindDiagnostics.push(w(a,tA.Octal_literals_are_not_allowed_in_strict_mode)));case 222:return void(E&&eS(a,a.operand));case 221:return void(E&&(45===a.operator||46===a.operator)&&eS(a,a.operand));case 251:return void(E&&eL(a,tA.with_statements_are_not_allowed_in_strict_mode));case 253:return void(E&&Ct(t)>=2&&(gM(a.statement)||RX(a.statement))&&eL(a.label,tA.A_label_is_not_allowed_here));case 194:c=!0;return;case 179:break;case 165:return function(e){if(DC(e.parent)){let t=TQ(e.parent);t?(T.assertNode(t,gR),null!=t.locals||(t.locals=vt()),M(t.locals,void 0,e,262144,526824)):ev(e,262144,526824)}else if(192===e.parent.kind){let t;let n=(t=m9(e.parent,e=>e.parent&&Re(e.parent)&&e.parent.extendsType===e))&&t.parent;n?(T.assertNode(n,gR),null!=n.locals||(n.locals=vt()),M(n.locals,void 0,e,262144,526824)):eT(e,262144,D(e))}else ev(e,262144,526824)}(a);case 166:return eJ(a);case 257:return eq(a);case 205:return a.flowNode=d,eq(a);case 169:case 168:let u;return u=yq(a),eX(a,(u?98304:4)|(a.questionToken?16777216:0),u?13247:0);case 299:case 300:return eX(a,4,0);case 302:return eX(a,8,900095);case 176:case 177:case 178:return ev(a,131072,0);case 171:case 170:return eX(a,8192|(a.questionToken?16777216:0),El(a)?0:103359);case 259:return void(!e.isDeclarationFile&&!(16777216&a.flags)&&xD(a)&&(b|=2048),eA(a),E?(function(t){if(n<2&&308!==o.kind&&264!==o.kind&&!yG(o)){let n=bB(e,t);e.bindDiagnostics.push(LQ(e,n.start,n.length,Ev(t)?tA.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:e.externalModuleIndicator?tA.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:tA.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5))}}(a),ex(a,16,110991)):ev(a,16,110991));case 173:return ev(a,16384,0);case 174:return eX(a,32768,46015);case 175:return eX(a,65536,78783);case 181:case 320:case 326:case 182:let _,p;return N(_=R(131072,D(a)),a,131072),void(N(p=R(2048,"__type"),a,2048),p.members=vt(),p.members.set(_.escapedName,_));case 184:case 325:case 197:return eT(a,2048,"__type");case 335:let f;return B(a),void((f=TZ(a))&&171!==f.kind&&N(f.symbol,f,32));case 207:return eT(a,4096,"__object");case 215:case 216:let m;return!e.isDeclarationFile&&!(16777216&a.flags)&&xD(a)&&(b|=2048),d&&(a.flowNode=d),eA(a),m=a.name?a.name.escapedText:"__function",eT(a,16,m);case 210:switch(Tf(a)){case 7:let h,y;return h=eW(a.arguments[0]),y=308===a.parent.parent.kind,void(h=eV(h,a.arguments[0],y,!1,!1),ej(a,h,!1));case 8:return function(e){if(!eD(e))return;let t=ez(e.arguments[0],void 0,(e,t)=>(t&&N(t,e,67110400),t));t&&M(t.exports,t,e,1048580,0)}(a);case 9:let g;return void((g=eW(a.arguments[0].expression))&&g.valueDeclaration&&N(g,g.valueDeclaration,32),ej(a,g,!0));case 0:break;default:return T.fail("Unknown call expression assignment declaration kind")}EZ(a)&&!e.commonJsModuleIndicator&&E8(a,!1)&&eD(a);break;case 228:case 260:return E=!0,function(t){if(260===t.kind)ex(t,32,899503);else{let e=t.name?t.name.escapedText:"__class";eT(t,32,e),t.name&&S.add(t.name.escapedText)}let{symbol:n}=t,r=R(4194308,"prototype"),i=n.exports.get(r.escapedName);i&&(t.name&&kC(t.name,t),e.bindDiagnostics.push(w(i.declarations[0],tA.Duplicate_identifier_0,ho(r)))),n.exports.set(r.escapedName,r),r.parent=n}(a);case 261:return ex(a,64,788872);case 262:return ex(a,524288,788968);case 263:return bj(a)?ex(a,128,899967):ex(a,256,899327);case 264:return function(t){if(eb(t),v7(t)){if(S3(t,1)&&eL(t,tA.export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible),bo(t))eE(t);else{let n;if(10===t.name.kind){let{text:e}=t.name;void 0===(n=C5(e))&&eL(t.name,tA.Pattern_0_can_have_at_most_one_Asterisk_character,e)}let r=ev(t,512,110735);e.patternAmbientModules=uD(e.patternAmbientModules,n&&!_v(n)?{pattern:n,symbol:r}:void 0)}}else{let e=eE(t);if(0!==e){let{symbol:n}=t;n.constEnumOnlyModule=!(304&n.flags)&&2===e&&!1!==n.constEnumOnlyModule}}}(a);case 289:return eT(a,4096,"__jsxAttributes");case 288:return ev(a,4,0);case 268:case 271:case 273:case 278:return ev(a,2097152,2097152);case 267:let v;return uv(a.modifiers)&&e.bindDiagnostics.push(w(a,tA.Modifiers_cannot_appear_here)),void((v=N0(a.parent)?Md(a.parent)?a.parent.isDeclarationFile?void 0:tA.Global_module_exports_may_only_appear_in_declaration_files:tA.Global_module_exports_may_only_appear_in_module_files:tA.Global_module_exports_may_only_appear_at_top_level)?e.bindDiagnostics.push(w(a,v)):(e.symbol.globalExports=e.symbol.globalExports||vt(),M(e.symbol.globalExports,e.symbol,a,2097152,2097152)));case 270:return void(a.name&&ev(a,2097152,2097152));case 275:return void(i.symbol&&i.symbol.exports?a.exportClause?NE(a.exportClause)&&(kC(a.exportClause,a),M(i.symbol.exports,i.symbol,a.exportClause,2097152,2097152)):M(i.symbol.exports,i.symbol,a,8388608,0):eT(a,8388608,D(a)));case 274:return function(e){if(i.symbol&&i.symbol.exports){let t=xf(e)?2097152:4,n=M(i.symbol.exports,i.symbol,e,t,67108863);e.isExportEquals&&Tk(n,e)}else eT(e,111551,D(e))}(a);case 308:return ew(a.statements),function(){if(eb(e),Md(e))eN();else if(bV(e)){eN();let t=e.symbol;M(e.symbol.exports,e.symbol,e,4,67108863),e.symbol=t}}();case 238:if(!yG(a.parent))return;case 265:return ew(a.statements);case 344:if(326===a.parent.kind)return eJ(a);if(325!==a.parent.kind)break;case 351:let x=a.isBracketed||a.typeExpression&&319===a.typeExpression.type.kind?16777220:4;return ev(a,x,0);case 349:case 341:case 343:return(l||(l=[])).push(a);case 342:return ek(a.typeExpression)}}function eN(){eT(e,512,`"${C4(e.fileName)}"`)}function eD(t){return(!e.externalModuleIndicator||!0===e.externalModuleIndicator)&&(e.commonJsModuleIndicator||(e.commonJsModuleIndicator=t,e.externalModuleIndicator||eN()),!0)}function eO(e){if(!eD(e))return;let t=ez(e.left.expression,void 0,(e,t)=>(t&&N(t,e,67110400),t));if(t){let n=xp(e.right)&&(Tu(e.left.expression)||Tp(e.left.expression));kC(e.left,e),M(t.exports,t,e.left,n?2097152:1048580,0)}}function eM(t){M(e.symbol.exports,e.symbol,t,69206016,0)}function eP(e){if(T.assert(EZ(e)),RR(e)&&Rh(e.left)&&wE(e.left.name)||Rh(e)&&wE(e.name))return;let t=ET(e,!1,!1);switch(t.kind){case 259:case 215:let n=t.symbol;if(RR(t.parent)&&63===t.parent.operatorToken.kind){let e=t.parent.left;Tg(e)&&AO(e.expression)&&(n=eW(e.expression.expression,a))}n&&n.valueDeclaration&&(n.members=n.members||vt(),xP(e)?eF(e,n,n.members):M(n.members,n,e,67108868,0),N(n,n.valueDeclaration,32));break;case 173:case 169:case 171:case 174:case 175:case 172:let r=t.parent,i=S5(t)?r.symbol.exports:r.symbol.members;xP(e)?eF(e,r.symbol,i):M(i,r.symbol,e,67108868,0,!0);break;case 308:xP(e)||(t.commonJsModuleIndicator?M(t.symbol.exports,t.symbol,e,1048580,0):ev(e,1,111550));break;default:T.failBadSyntaxKind(t)}}function eF(e,t,n){M(n,t,e,4,0,!0,!0),eG(e,t)}function eG(e,t){t&&(t.assignmentDeclarationMembers||(t.assignmentDeclarationMembers=new Map)).set(Gv(e),e)}function eB(e,t){let n=e.expression,r=n.expression;kC(r,n),kC(n,e),kC(e,t),eK(r,e,!0,!0)}function eU(e){T.assert(!wb(e)),kC(e.expression,e),eK(e.expression,e,!1,!1)}function eV(t,n,r,i,a){return(null==t?void 0:t.flags)&2097152||(r&&!i&&(t=ez(n,t,(t,n,r)=>n?(N(n,t,67110400),n):M(r?r.exports:e.jsGlobalAugmentations||(e.jsGlobalAugmentations=vt()),r,t,67110400,110735))),a&&t&&t.valueDeclaration&&N(t,t.valueDeclaration,32)),t}function ej(e,t,n){if(!t||!function(e){if(1072&e.flags)return!0;let t=e.valueDeclaration;if(t&&Rg(t))return!!Ta(t);let n=t?Nr(t)?t.initializer:RR(t)?t.right:Rh(t)&&RR(t.parent)?t.parent.right:void 0:void 0;if(n=n&&Td(n)){let e=AO(Nr(t)?t.name:RR(t)?t.left:t);return!!To(RR(n)&&(56===n.operatorToken.kind||60===n.operatorToken.kind)?n.right:n,e)}return!1}(t))return;let r=n?t.members||(t.members=vt()):t.exports||(t.exports=vt()),i=0,a=0;yB(Ta(e))?(i=8192,a=103359):Rg(e)&&Tm(e)&&(uv(e.arguments[2].properties,e=>{let t=hp(e);return!!t&&wb(t)&&"set"===hi(t)})&&(i|=65540,a|=78783),uv(e.arguments[2].properties,e=>{let t=hp(e);return!!t&&wb(t)&&"get"===hi(t)})&&(i|=32772,a|=46015)),0===i&&(i=4,a=0),M(r,t,e,67108864|i,-67108865&a)}function eH(e){return RR(e.parent)?308===function(e){for(;RR(e.parent);)e=e.parent;return e.parent}(e.parent).parent.kind:308===e.parent.parent.kind}function eK(e,t,n,r){let a=eW(e,i)||eW(e,o),s=eH(t);a=eV(a,t.expression,s,n,r),ej(t,a,n)}function eW(e,t=i){if(wb(e))return FY(t,e.escapedText);{let t=eW(e.expression);return t&&t.exports&&t.exports.get(Tx(e))}}function ez(t,n,r){if(FJ(e,t))return e.symbol;if(wb(t))return r(t,eW(t),n);{let e=ez(t.expression,n,r),i=TE(t);return wE(i)&&T.fail("unexpected PrivateIdentifier"),r(i,e&&e.exports&&e.exports.get(Tx(t)),e)}}function eq(e){if(E&&eS(e,e.name),!y2(e.name)){let n=257===e.kind?e:e.parent.parent;EZ(e)&&100!==Ci(t)&&E3(n)&&!hH(e)&&!(1&m8(e))?ev(e,2097152,2097152):v3(e)?ex(e,2,111551):xQ(e)?ev(e,1,111551):ev(e,1,111550)}}function eJ(e){if((344!==e.kind||326===i.kind)&&(E&&!(16777216&e.flags)&&eS(e,e.name),y2(e.name)?eT(e,1,"__"+e.parent.parameters.indexOf(e)):ev(e,1,111551),mZ(e,e.parent))){let t=e.parent.parent;M(t.symbol.members,t.symbol,e,4|(e.questionToken?16777216:0),0)}}function eX(t,n,r){return!e.isDeclarationFile&&!(16777216&t.flags)&&xD(t)&&(b|=2048),d&&Ec(t)&&(t.flowNode=d),xP(t)?eT(t,n,"__computed"):ev(t,n,r)}}()}});function FQ(e,t,n,r,i,a,o,s,l,c){return function(d=()=>!0){let u=[],_=[];return{walkType:e=>{try{return p(e),{visitedTypes:u5(u),visitedSymbols:u5(_)}}finally{ut(u),ut(_)}},walkSymbol:e=>{try{return h(e),{visitedTypes:u5(u),visitedSymbols:u5(_)}}finally{ut(u),ut(_)}}};function p(e){if(e&&!u[e.id]&&(u[e.id]=e,!h(e.symbol))){if(524288&e.flags){let t=e.objectFlags;4&t&&(p(e.target),dz(c(e),p)),32&t&&(p(e.typeParameter),p(e.constraintType),p(e.templateType),p(e.modifiersType)),3&t&&(m(e),dz(e.typeParameters,p),dz(r(e),p),p(e.thisType)),24&t&&m(e)}262144&e.flags&&p(s(e)),3145728&e.flags&&dz(e.types,p),4194304&e.flags&&p(e.type),8388608&e.flags&&(p(e.objectType),p(e.indexType),p(e.constraint))}}function f(r){let i=t(r);for(let e of(i&&p(i.type),dz(r.typeParameters,p),r.parameters))h(e);p(e(r)),p(n(r))}function m(e){let t=i(e);for(let e of t.indexInfos)p(e.keyType),p(e.type);for(let e of t.callSignatures)f(e);for(let e of t.constructSignatures)f(e);for(let e of t.properties)h(e)}function h(e){if(!e)return!1;let t=Gb(e);return!_[t]&&(_[t]=e,!d(e)||(p(a(e)),e.exports&&e.exports.forEach(h),dz(e.declarations,e=>{e.type&&183===e.type.kind&&h(o(l(e.type.exprName)))}),!1))}}}var FZ=dj({"src/compiler/symbolWalker.ts"(){Kr()}});function F0({importModuleSpecifierPreference:e,importModuleSpecifierEnding:t},n,r,i){let a=function(){if(void 0!==i){if(CY(i))return 2;if(_Z(i,"/index"))return 1}return CZ(t,r.impliedNodeFormat,n,r)}();return{relativePreference:void 0!==i?mR(i)?0:1:"relative"===e?0:"non-relative"===e?1:"project-relative"===e?3:2,getAllowedEndingsInPreferredOrder:e=>{if((null!=e?e:r.impliedNodeFormat)===99)return FB(n,r.fileName)?[3,2]:[2];if(1===Ci(n))return[1,2];switch(a){case 2:return[2,0,1];case 3:return[3,0,2,1];case 1:return[1,0,2];case 0:return[0,1,2];default:T.assertNever(a)}}}}function F1(e,t,n,r,i,a,o={}){let s=F8(e,t,n,r,i,F0({},e,t,a),{},o);if(s!==a)return s}function F2(e,t,n,r,i,a={}){return F8(e,t,n,r,i,F0({},e,t),{},a)}function F4(e,t,n,r,i,a={}){let o=F9(t.path,r);return dJ(Ga(t.path,n,r,i,a),n=>Gl(n,o,t,r,e,i,!0,a.overrideImportMode))}function F8(e,t,n,r,i,a,o,s={}){let l=F9(n,i);return dJ(Ga(n,r,i,o,s),n=>Gl(n,l,t,i,e,o,void 0,s.overrideImportMode))||Ge(r,l,e,i,s.overrideImportMode||t.impliedNodeFormat,a)}function F6(e,t,n,r,i={}){return F3(e,t,n,r,i)[0]}function F3(e,t,n,r,i={}){var a;let s=vA(e);if(!s)return o;let l=null==(a=n.getModuleSpecifierCache)?void 0:a.call(n),c=null==l?void 0:l.get(t.path,s.path,r,i);return[null==c?void 0:c.moduleSpecifiers,s,null==c?void 0:c.modulePaths,l]}function F5(e,t,n,r,i,a,o={}){return F7(e,t,n,r,i,a,o).moduleSpecifiers}function F7(e,t,n,r,i,a,s={}){let l=!1,c=function(e,t){var n;let r=null==(n=e.declarations)?void 0:n.find(e=>be(e)&&(!ba(e)||!mR(xU(e.name))));if(r)return r.name.text;let i=uu(e.declarations,e=>{var n,r,i,a;if(!Nd(e))return;let o=function(e){for(;4&e.flags;)e=e.parent;return e}(e);if(!((null==(n=null==o?void 0:o.parent)?void 0:n.parent)&&Nu(o.parent)&&v7(o.parent.parent)&&N0(o.parent.parent.parent)))return;let s=null==(a=null==(i=null==(r=o.parent.parent.symbol.exports)?void 0:r.get("export="))?void 0:i.valueDeclaration)?void 0:a.expression;if(!s)return;let l=t.getSymbolAtLocation(s);if(l&&((null==l?void 0:l.flags)&2097152?t.getAliasedSymbol(l):l)===e.symbol)return o.parent.parent})[0];if(i)return i.name.text}(e,t);if(c)return{moduleSpecifiers:[c],computedWithoutCache:l};let[d,u,_,p]=F3(e,r,i,a,s);if(d)return{moduleSpecifiers:d,computedWithoutCache:l};if(!u)return{moduleSpecifiers:o,computedWithoutCache:l};l=!0,_||(_=Go(r.path,u.originalFileName,i));let f=function(e,t,n,r,i,a={}){let o,s,l,c;let d=F9(n.path,r),u=F0(i,t,n),_=dz(e,e=>dz(r.getFileIncludeReasons().get(fR(e.path,r.getCurrentDirectory(),d.getCanonicalFileName)),e=>{if(3!==e.kind||e.file!==n.path||n.impliedNodeFormat&&n.impliedNodeFormat!==VC(n,e.index))return;let t=VZ(n,e.index).text;return 1===u.relativePreference&&fl(t)?void 0:t}));if(_)return[_];let p=uv(e,e=>e.isInNodeModules);for(let _ of e){let e=_.isInNodeModules?Gl(_,d,n,r,t,i,void 0,a.overrideImportMode):void 0;if(o=uD(o,e),e&&_.isRedirect)return o;if(!e){let e=Ge(_.path,d,t,r,a.overrideImportMode||n.impliedNodeFormat,u,_.isRedirect);if(!e)continue;_.isRedirect?l=uD(l,e):fc(e)?s=uD(s,e):(!p||_.isInNodeModules)&&(c=uD(c,e))}}return(null==s?void 0:s.length)?s:(null==l?void 0:l.length)?l:(null==o?void 0:o.length)?o:T.checkDefined(c)}(_,n,r,i,a,s);return null==p||p.set(r.path,u.path,a,s,_,f),{moduleSpecifiers:f,computedWithoutCache:l}}function F9(e,t){let n=_7(!t.useCaseSensitiveFileNames||t.useCaseSensitiveFileNames()),r=fy(e);return{getCanonicalFileName:n,importingSourceFileName:e,sourceDirectory:r}}function Ge(e,t,n,r,i,{getAllowedEndingsInPreferredOrder:a,relativePreference:o},s){let{baseUrl:l,paths:c,rootDirs:d}=n;if(s&&!c)return;let{sourceDirectory:u,getCanonicalFileName:_}=t,p=a(i),f=d&&function(e,t,n,r,i,a){let o=Gc(t,e,r);if(void 0===o)return;let s=_j(uo(Gc(n,e,r),e=>un(o,t=>fO(fH(e,t,r)))),C2);if(s)return Gd(s,i,a)}(d,e,u,_,p,n)||Gd(fO(fH(u,e,_)),p,n);if(!l&&!c||0===o)return s?void 0:f;let m=Gf(e,fk(SC(n,r)||l,r.getCurrentDirectory()),_);if(!m)return s?void 0:f;let h=c&&Gs(m,c,p,r,n);if(s)return h;let y=void 0===h&&void 0!==l?Gd(m,p,n):h;if(!y)return f;if(1===o&&!fl(y))return y;if(3===o&&!fl(y)){let i=n.configFilePath?fR(fy(n.configFilePath),r.getCurrentDirectory(),t.getCanonicalFileName):t.getCanonicalFileName(r.getCurrentDirectory()),a=fR(e,i,_),o=pn(u,i),s=pn(a,i);if(o&&!s||!o&&s)return y;let l=Gr(r,fy(a));return Gr(r,u)!==l?y:f}return pn(y,"..")||Gt(f)!!e.fileExists(fA(t,"package.json"))||void 0)}function Gi(e,t,n,r,i){var a;let s=Sh(n),l=n.getCurrentDirectory(),c=n.isSourceOfProjectReferenceRedirect(t)?n.getProjectReferenceRedirect(t):void 0,d=fR(t,l,s),u=n.redirectTargetsMap.get(d)||o,_=[...c?[c]:o,t,...u].map(e=>fk(e,l)),p=!dZ(_,kD);if(!r){let e=dz(_,e=>!(p&&kD(e))&&i(e,c===e));if(e)return e}let f=null==(a=n.getSymlinkCache)?void 0:a.call(n).getSymlinkedDirectoriesByRealpath(),m=fk(t,l);return f&&fq(fy(m),t=>{let n=f.get(fD(fR(t,l,s)));if(n)return!fV(e,t,s)&&dz(_,e=>{if(!fV(e,t,s))return;let r=fH(t,e,s);for(let t of n){let n=i(fL(t,r),e===c);if(p=!0,n)return n}})})||(r?dz(_,e=>p&&kD(e)?void 0:i(e,e===c)):void 0)}function Ga(e,t,n,r,i={}){var a;let o=fR(t,n.getCurrentDirectory(),Sh(n)),s=null==(a=n.getModuleSpecifierCache)?void 0:a.call(n);if(s){let t=s.get(e,o,r,i);if(null==t?void 0:t.modulePaths)return t.modulePaths}let l=Go(e,t,n);return s&&s.setModulePaths(e,o,r,i,l),l}function Go(e,t,n){let r=Sh(n),i=new Map,a=!1;Gi(e,t,n,!0,(e,t)=>{let n=Fi(e);i.set(e,{path:r(e),isRedirect:t,isInNodeModules:n}),a=a||n});let o=[];for(let t=fy(e);0!==i.size;){let e;let n=fD(t);i.forEach(({path:t,isRedirect:r,isInNodeModules:a},o)=>{pn(t,n)&&((e||(e=[])).push({path:o,isRedirect:r,isInNodeModules:a}),i.delete(o))}),e&&(e.length>1&&e.sort(Gn),o.push(...e));let r=fy(t);if(r===t)break;t=r}if(i.size){let e=u9(i.values());e.length>1&&e.sort(Gn),o.push(...e)}return o}function Gs(e,t,n,r,i){for(let r in t)for(let o of t[r]){let t=fI(o),s=t.indexOf("*"),l=n.map(t=>({ending:t,value:Gd(e,[t],i)}));if(ki(t)&&l.push({ending:void 0,value:e}),-1!==s){let e=t.substring(0,s),n=t.substring(s+1);for(let{ending:t,value:i}of l)if(i.length>=e.length+n.length&&pn(i,e)&&_Z(i,n)&&a({ending:t,value:i})){let t=i.substring(e.length,i.length-n.length);return r.replace("*",t)}}else if(uv(l,e=>0!==e.ending&&t===e.value)||uv(l,e=>0===e.ending&&t===e.value&&a(e)))return r}function a({ending:t,value:n}){return 0!==t||n===Gd(e,[t],i,r)}}function Gl({path:e,isRedirect:t},{getCanonicalFileName:n,sourceDirectory:r},i,a,o,s,l,c){if(!a.fileExists||!a.readFile)return;let d=kK(e);if(!d)return;let u=F0(s,o,i).getAllowedEndingsInPreferredOrder(),_=e,p=!1;if(!l){let t,r=d.packageRootIndex;for(;;){let{moduleFileToTry:s,packageRootPath:l,blockedByExports:f,verbatimFromExports:m}=function(t){var r,s;let l=e.substring(0,t),_=fA(l,"package.json"),p=e,f=!1,m=null==(s=null==(r=a.getPackageJsonInfoCache)?void 0:r.call(a))?void 0:s.getPackageJsonInfo(_);if("object"==typeof m||void 0===m&&a.fileExists(_)){let t=(null==m?void 0:m.contents.packageJsonContent)||JSON.parse(a.readFile(_)),r=c||i.impliedNodeFormat;if(Cm(o)){let n=FM(l.substring(d.topLevelPackageNameIndex+1)),i=PK(o,99===r),a=t.exports?function e(t,n,r,i,a,o,s=0){if("string"==typeof a){let e=fk(fA(r,a),void 0),o=C$(n)?C4(n)+Gp(n,t):void 0;switch(s){case 0:if(0===fB(n,e)||o&&0===fB(o,e))return{moduleFileToTry:i};break;case 1:if(fU(e,n)){let t=fH(e,n,!1);return{moduleFileToTry:fk(fA(fA(i,a),t),void 0)}}break;case 2:let l=e.indexOf("*"),c=e.slice(0,l),d=e.slice(l+1);if(pn(n,c)&&_Z(n,d)){let e=n.slice(c.length,n.length-d.length);return{moduleFileToTry:i.replace("*",e)}}if(o&&pn(o,c)&&_Z(o,d)){let e=o.slice(c.length,o.length-d.length);return{moduleFileToTry:i.replace("*",e)}}}}else if(Array.isArray(a))return dz(a,a=>e(t,n,r,i,a,o));else if("object"==typeof a&&null!==a){if(Fx(a))return dz(u6(a),s=>{let l=fk(fA(i,s),void 0),c=_Z(s,"/")?1:_2(s,"*")?2:0;return e(t,n,r,l,a[s],o,c)});for(let s of u6(a))if("default"===s||o.indexOf(s)>=0||Fk(o,s)){let l=e(t,n,r,i,a[s],o);if(l)return l}}}(o,e,l,n,t.exports,i):void 0;if(a)return{...C$(a.moduleFileToTry)?{moduleFileToTry:C4(a.moduleFileToTry)+Gp(a.moduleFileToTry,o)}:a,verbatimFromExports:!0};if(t.exports)return{moduleFileToTry:e,blockedByExports:!0}}let s=t.typesVersions?PB(t.typesVersions):void 0;if(s){let t=Gs(e.slice(l.length+1),s.paths,u,a,o);void 0===t?f=!0:p=fA(l,t)}let h=t.typings||t.types||t.main||"index.js";if(_v(h)&&!(f&&ko(C7(s.paths),h))&&C4(fR(h,l,n))===C4(n(p)))return{packageRootPath:l,moduleFileToTry:p}}else{let e=n(p.substring(d.packageRootIndex+1));if("index.d.ts"===e||"index.js"===e||"index.ts"===e||"index.tsx"===e)return{moduleFileToTry:p,packageRootPath:l}}return{moduleFileToTry:p}}(r);if(1!==Ci(o)){if(f)return;if(m)return s}if(l){_=l,p=!0;break}if(t||(t=s),-1===(r=e.indexOf(tb,r+1))){_=Gd(t,u,o,a);break}}}if(t&&!p)return;let f=a.getGlobalTypingsCacheLocation&&a.getGlobalTypingsCacheLocation(),m=n(_.substring(0,d.topLevelNodeModulesIndex));if(!(pn(r,m)||f&&pn(n(f),m)))return;let h=_.substring(d.topLevelPackageNameIndex+1),y=FM(h);return 1===Ci(o)&&y===h?void 0:y}function Gc(e,t,n){return uu(t,t=>{let r=Gf(e,t,n);return void 0!==r&&pn(r,"..")?void 0:r})}function Gd(e,t,n,r){if(f_(e,[".json",".mjs",".cjs"]))return e;let i=C4(e);if(e===i)return e;if(f_(e,[".d.mts",".mts",".d.cts",".cts"]))return i+G_(e,n);if(!f_(e,[".d.ts"])&&f_(e,[".ts"])&&_2(e,".d."))return Gu(e);switch(t[0]){case 0:let a=_0(i,"/index");if(r&&a!==i&&function(e,t){if(e.fileExists)for(let n of ua(CJ({allowJs:!0},[{extension:"node",isMixedContent:!1},{extension:"json",isMixedContent:!1,scriptKind:6}]))){let r=t+n;if(e.fileExists(r))return r}}(r,a))return i;return a;case 1:return i;case 2:return i+G_(e,n);case 3:if(Mf(e)){let r=t.findIndex(e=>0===e||1===e),a=t.indexOf(2);return -1!==r&&rGt,forEachFileNameOfModule:()=>Gi,getModuleSpecifier:()=>F2,getModuleSpecifiers:()=>F5,getModuleSpecifiersWithCacheInfo:()=>F7,getNodeModulesPackageName:()=>F4,tryGetJSExtensionForFile:()=>Gp,tryGetModuleSpecifiersFromCache:()=>F6,tryGetRealFileNameForNonJsDeclarationFileName:()=>Gu,updateModuleSpecifier:()=>F1});var Gy=dj({"src/compiler/_namespaces/ts.moduleSpecifiers.ts"(){Gm()}});function Gg(){this.flags=0}function Gv(e){return!e.id&&(e.id=ih,ih++),e.id}function Gb(e){return!e.id&&(e.id=im,im++),e.id}function GE(e,t){let n=FK(e);return 1===n||t&&2===n}function GT(e){var t,n,r,i,a,s,l,c,d,u,_,p,f,m,h,y,g,v,b,E,x,S,A,L,C,k,I,w,R,N,D,O,M,P,F,G,B,U,V,j,H,K,W,z,q,J,X,Y,$,Z,ee,et,en,er,ei,ea,eo,es,el,ec,ed,eu,e_,ep,ef,em,eh,ey,eg=_R(()=>{var t=new Map;return e.getSourceFiles().forEach(e=>{e.resolvedModules&&e.resolvedModules.forEach(({resolvedModule:e})=>{(null==e?void 0:e.packageId)&&t.set(e.packageId.name,".d.ts"===e.extension||!!t.get(e.packageId.name))})}),t}),ev=[],eb=e=>{ev.push(e)},eE=new Set,eT=nl.getSymbolConstructor(),ex=nl.getTypeConstructor(),eS=nl.getSignatureConstructor(),eA=0,eL=0,eC=0,ek=0,eI=0,ew=0,eR=!1,eN=vt(),eD=[1],eO=e.getCompilerOptions(),eM=Ct(eO),eP=Cn(eO),eF=!!eO.experimentalDecorators,eG=Cx(eO),eB=Cp(eO),eU=CE(eO,"strictNullChecks"),eV=CE(eO,"strictFunctionTypes"),ej=CE(eO,"strictBindCallApply"),eH=CE(eO,"strictPropertyInitialization"),eK=CE(eO,"noImplicitAny"),eW=CE(eO,"noImplicitThis"),ez=CE(eO,"useUnknownInCatchVariables"),eq=!!eO.keyofStringsOnly,eJ=eO.suppressExcessPropertyErrors?0:8192,eX=eO.exactOptionalPropertyTypes,eY=function(){let e=OL(function(e,t,r){return(t?(t.stackIndex++,t.skip=!1,n(t,void 0),i(t,void 0)):t={checkMode:r,skip:!1,stackIndex:0,typeStack:[void 0,void 0]},EZ(e)&&Ta(e))?(t.skip=!0,i(t,TT(e.right,r))):(function(e){let{left:t,operatorToken:n,right:r}=e;60===n.kind&&(RR(t)&&(56===t.operatorToken.kind||55===t.operatorToken.kind)&&Cz(t,tA._0_and_1_operations_cannot_be_mixed_without_parentheses,tF[t.operatorToken.kind],tF[n.kind]),RR(r)&&(56===r.operatorToken.kind||55===r.operatorToken.kind)&&Cz(r,tA._0_and_1_operations_cannot_be_mixed_without_parentheses,tF[r.operatorToken.kind],tF[n.kind]))}(e),63===e.operatorToken.kind&&(207===e.left.kind||206===e.left.kind)&&(t.skip=!0,i(t,E_(e.left,TT(e.right,r),r,108===e.right.kind)))),t},function(e,n,r){if(!n.skip)return t(n,e)},function(e,t,a){if(!t.skip){let o=r(t);T.assertIsDefined(o),n(t,o),i(t,void 0);let s=e.kind;if(Ab(s)){let e=a.parent;for(;214===e.kind||AE(e);)e=e.parent;(55===s||RQ(e))&&SC(a.left,o,RQ(e)?e.thenStatement:void 0),Sk(o,a.left)}}},function(e,n,r){if(!n.skip)return t(n,e)},function(e,t){let a;if(t.skip)a=r(t);else{let n=t.typeStack[t.stackIndex];T.assertIsDefined(n);let i=r(t);T.assertIsDefined(i),a=Ef(e.left,e.operatorToken,e.right,n,i,e)}return t.skip=!1,n(t,void 0),i(t,void 0),t.stackIndex--,a},function(e,t,n){return i(e,t),e});return(t,n)=>{let r=e(t,n);return T.assertIsDefined(r),r};function t(e,t){if(RR(t))return t;i(e,TT(t,e.checkMode))}function n(e,t){e.typeStack[e.stackIndex]=t}function r(e){return e.typeStack[e.stackIndex+1]}function i(e,t){e.typeStack[e.stackIndex+1]=t}}(),e$=function(){let t;let n=e.getResolvedTypeReferenceDirectives();return n&&(t=new Map,n.forEach(({resolvedTypeReferenceDirective:n},r,i)=>{if(!(null==n?void 0:n.resolvedFileName))return;let a=e.getSourceFile(n.resolvedFileName);a&&function n(r,i,a){if(!t.has(r.path))for(let{fileName:o,resolutionMode:s}of(t.set(r.path,[i,a]),r.referencedFiles)){let t=Vd(o,r.fileName),a=e.getSourceFile(t);a&&n(a,i,s||r.impliedNodeFormat)}}(a,r,i)})),{getReferencedExportContainer:LM,getReferencedImportDeclaration:LP,getReferencedDeclarationWithCollidingName:LG,isDeclarationWithCollidingName:LB,isValueAliasDeclaration:e=>{let t=ht(e);return!t||function e(t){switch(T.assert(!eO.verbatimModuleSyntax),t.kind){case 268:return LV(i7(t));case 270:case 271:case 273:case 278:let n=i7(t);return!!n&&LV(n)&&!iO(n,111551);case 275:let r=t.exportClause;return!!r&&(NE(r)||uv(r.elements,e));case 274:return!t.expression||79!==t.expression.kind||LV(i7(t))}return!1}(t)},hasGlobalName:Ce,isReferencedAliasDeclaration:(e,t)=>{let n=ht(e);return!n||LH(n,t)},getNodeCheckFlags:e=>{let t=ht(e);return t?LX(t):0},isTopLevelValueImportEqualsWithEntityName:LU,isDeclarationVisible:aW,isImplementationOfOverload:LK,isRequiredInitializedParameter:LW,isOptionalUninitializedParameterProperty:Lz,isExpandoFunctionDeclaration:Lq,getPropertiesOfContainerFunction:LJ,createTypeOfDeclaration:L5,createReturnTypeOfSignatureDeclaration:L7,createTypeOfExpression:L9,createLiteralConstValue:Cd,isSymbolAccessible:aS,isEntityNameVisible:aw,getConstantValue:e=>{let t=ht(e,L$);return t?L1(t):void 0},collectLinkedAliases:az,getReferencedValueDeclaration:Cl,getTypeReferenceSerializationKind:L3,isOptionalParameter:lh,moduleExportsSomeValue:LD,isArgumentsLocalBinding:LN,getExternalModuleFileFromDeclaration:e=>{let t=ht(e,by);return t&&Cm(t)},getTypeReferenceDirectivesForEntityName:function(e){let n;if(!t)return;164===e.parent.kind?n=1160127:(n=790504,(79===e.kind&&fx(e)||208===e.kind&&!(e.parent&&230===e.parent.kind&&e.parent.parent&&294===e.parent.parent.kind))&&(n=1160127));let i=iB(e,n,!0);return i&&i!==ty?r(i,n):void 0},getTypeReferenceDirectivesForSymbol:r,isLiteralConstDeclaration:Cc,isLateBound:e=>{let t=ht(e,gO),n=t&&i7(t);return!!(n&&4096&Lc(n))},getJsxFactoryEntity:Cu,getJsxFragmentFactoryEntity:Cf,getAllAccessorDeclarations(e){let t=175===(e=ht(e,h2)).kind?174:175,n=g9(i7(e),t);return{firstAccessor:n&&n.posiq(e,e,void 0),isBindingCapturedByNode:(e,t)=>{let n,r=ht(e),i=ht(t);return!!r&&!!i&&(Nr(i)||Rp(i))&&!!(n=rY(r))&&d6(n.capturedBlockScopeBindings,i7(i))},getDeclarationStatementsForSourceFile:(e,t,n,r)=>{let i=ht(e);T.assert(i&&308===i.kind,"Non-sourcefile node passed into getDeclarationsForSourceFile");let a=i7(e);return a?a.exports?eZ.symbolTableToDeclarationStatements(a.exports,e,t,n,r):[]:e.locals?eZ.symbolTableToDeclarationStatements(e.locals,e,t,n,r):[]},isImportRequiredByAugmentation:function(e){let t=vS(e);if(!t.symbol)return!1;let n=Cm(e);if(!n||n===t)return!1;for(let e of u9(i8(t.symbol).values()))if(e.mergeId){let t=i5(e);if(t.declarations){for(let e of t.declarations)if(vS(e)===n)return!0}}return!1}};function r(e,n){let r;if(t&&function(e){if(!e.declarations)return!1;let n=e;for(;;){let e=ae(n);if(e)n=e;else break}if(n.valueDeclaration&&308===n.valueDeclaration.kind&&512&n.flags)return!1;for(let n of e.declarations){let e=vS(n);if(t.has(e.path))return!0}return!1}(e)){for(let i of e.declarations)if(i.symbol&&i.symbol.flags&n){let e=vS(i),n=t.get(e.path);if(!n)return;(r||(r=[])).push(n)}return r}}}(),eZ=function(){return{typeToTypeNode:(e,n,r,a)=>t(n,r,a,t=>i(e,t)),indexInfoToIndexSignatureDeclaration:(e,n,r,i)=>t(n,r,i,t=>u(e,t,void 0)),signatureToSignatureDeclaration:(e,n,r,i,a)=>t(r,i,a,t=>_(e,n,t)),symbolToEntityName:(e,n,r,i,a)=>t(r,i,a,t=>C(e,t,n,!1)),symbolToExpression:(e,n,r,i,a)=>t(r,i,a,t=>k(e,t,n)),symbolToTypeParameterDeclarations:(e,n,r,i)=>t(n,r,i,t=>E(e,t)),symbolToParameterDeclaration:(e,n,r,i)=>t(n,r,i,t=>m(e,t)),typeParameterToDeclaration:(e,n,r,i)=>t(n,r,i,t=>f(e,t)),symbolTableToDeclarationStatements:(e,n,r,a,s)=>t(n,r,a,t=>(function(e,t,n){var r;let a=H(nU.createPropertyDeclaration,171,!0),s=H((e,t,n,r)=>nU.createPropertySignature(e,t,n,r),170,!1),l=t.enclosingDeclaration,c=[],d=new Set,p=[],m=t;t={...m,usedSymbolNames:new Set(m.usedSymbolNames),remappedSymbolNames:new Map,tracker:void 0};let h={...m.tracker.inner,trackSymbol:(e,n,r)=>{var i;if(0===aS(e,n,r,!1).accessibility){let n=b(e,t,r);4&e.flags||L(n[0])}else if(null==(i=m.tracker.inner)?void 0:i.trackSymbol)return m.tracker.inner.trackSymbol(e,n,r);return!1}};t.tracker=new iC(t,h,m.tracker.moduleResolverHost),vl(e,(e,t)=>{Y(e,hr(t))});let y=!n,g=e.get("export=");return g&&e.size>1&&2097152&g.flags&&(e=vt()).set("export=",g),x(e),r=function(e){let t=d2(e,e=>NA(e)&&!e.moduleSpecifier&&!e.assertClause&&!!e.exportClause&&NL(e.exportClause));if(t>=0){let n=e[t],r=uu(n.exportClause.elements,t=>{if(!t.propertyName){let n=d9(ux(e),n=>hc(e[n],t.name));if(dW(n)&&dZ(n,t=>kq(e[t]))){for(let t of n)e[t]=function(e){let t=(1|Al(e))&-3;return nU.updateModifiers(e,t)}(e[t]);return}}return t});dW(r)?e[t]=nU.updateExportDeclaration(n,n.modifiers,n.isTypeOnly,nU.updateNamedExports(n.exportClause,r),n.moduleSpecifier,n.assertClause):_6(e,t)}return e}(r=function(e){let t=d9(e,e=>NA(e)&&!e.moduleSpecifier&&!!e.exportClause&&NL(e.exportClause));dW(t)>1&&(e=[...d9(e,e=>!NA(e)||!!e.moduleSpecifier||!e.exportClause),nU.createExportDeclaration(void 0,!1,nU.createNamedExports(uo(t,e=>_T(e.exportClause,NL).elements)),void 0)]);let n=d9(e,e=>NA(e)&&!!e.moduleSpecifier&&!!e.exportClause&&NL(e.exportClause));if(dW(n)>1){let t=_a(n,e=>wr(e.moduleSpecifier)?">"+e.moduleSpecifier.text:">");if(t.length!==n.length)for(let n of t)n.length>1&&(e=[...d9(e,e=>-1===n.indexOf(e)),nU.createExportDeclaration(void 0,!1,nU.createNamedExports(uo(n,e=>_T(e.exportClause,NL).elements)),n[0].moduleSpecifier)])}return e}(r=function(e){let t=d0(e,NS),n=d2(e,Nd),r=-1!==n?e[n]:void 0;if(r&&t&&t.isExportEquals&&wb(t.expression)&&wb(r.name)&&hi(r.name)===hi(t.expression)&&r.body&&Nu(r.body)){let i=d9(e,e=>!!(1&Al(e))),a=r.name,o=r.body;if(dW(i)&&(r=nU.updateModuleDeclaration(r,r.modifiers,r.name,o=nU.updateModuleBlock(o,nU.createNodeArray([...r.body.statements,nU.createExportDeclaration(void 0,!1,nU.createNamedExports(un(uo(i,e=>RX(e)?d9(un(e.declarationList.declarations,hp),v):d9([hp(e)],v)),e=>nU.createExportSpecifier(!1,void 0,e))),void 0)]))),e=[...e.slice(0,n),r,...e.slice(n+1)]),!d0(e,e=>e!==r&&hc(e,a))){c=[];let n=!uv(o.statements,e=>S3(e,1)||NS(e)||NA(e));dz(o.statements,e=>{I(e,n?1:0)}),e=[...d9(e,e=>e!==r&&e!==t),...c]}}return e}(r=c))),l&&(N0(l)&&bU(l)||Nd(l))&&(!uv(r,gb)||!gg(r)&&uv(r,gv))&&r.push(DP(nU)),r;function v(e){return!!e&&79===e.kind}function E(e){let t=-2&Al(e);return nU.updateModifiers(e,t)}function x(e,t,n){t||p.push(new Map),e.forEach(e=>{A(e,!1,!!n)}),t||(p[p.length-1].forEach(e=>{A(e,!0,!!n)}),p.pop())}function A(e,r,c){let u=i5(e);if(!d.has(Gb(u))&&(d.add(Gb(u)),!r||dW(e.declarations)&&uv(e.declarations,e=>!!m9(e,e=>e===l)))){let d,u=t;(d={...t}).typeParameterNames&&(d.typeParameterNames=new Map(d.typeParameterNames)),d.typeParameterNamesByText&&(d.typeParameterNamesByText=new Set(d.typeParameterNamesByText)),d.typeParameterSymbolList&&(d.typeParameterSymbolList=new Set(d.typeParameterSymbolList)),d.tracker=new iC(d,d.tracker.inner,d.tracker.moduleResolverHost),t=d,function(e,r,c){var d,u,_,p,m,h,y,g;let v,b,E,T,x,A,C,k,R,N,U,H,X,$,Q,Z,ee,et,en,er,ei,ea,eo,es,el,ec,ed,eu,e_,ep,ef,em,eh,ey;let eg=hr(e.escapedName),ev="default"===e.escapedName;if(r&&!(131072&t.flags)&&xk(eg)&&!ev){t.encounteredError=!0;return}let eb=ev&&!!(-113&e.flags||16&e.flags&&dW(sB(oC(e))))&&!(2097152&e.flags),eE=!eb&&!r&&xk(eg)&&!ev;(eb||eE)&&(r=!0);let eT=(r?0:1)|(ev&&!eb?1024:0),ex=1536&e.flags&&7&e.flags&&"export="!==e.escapedName,eS=ex&&j(oC(e),e);if((8208&e.flags||eS)&&D(oC(e),e,Y(e,eg),eT),524288&e.flags&&(v=oz(e),b=un(rX(e).typeParameters,e=>f(e,t)),T=hQ((E=null==(m=e.declarations)?void 0:m.find(TB))?E.comment||E.parent.comment:void 0),x=t.flags,t.flags|=8388608,A=t.enclosingDeclaration,t.enclosingDeclaration=E,C=E&&E.typeExpression&&N4(E.typeExpression)&&F(t,E.typeExpression.type,L,n)||i(v,t),I(IO(nU.createTypeAliasDeclaration(void 0,Y(e,eg),b,C),T?[{kind:3,text:"*\n * "+T.replace(/\n/g,"\n * ")+"\n ",pos:-1,end:-1,hasTrailingNewLine:!0}]:[]),eT),t.flags=x,t.enclosingDeclaration=A),7&e.flags&&"export="!==e.escapedName&&!(4194304&e.flags)&&!(32&e.flags)&&!(8192&e.flags)&&!eS){if(c)V(e)&&(eE=!1,eb=!1);else{let i=oC(e),a=Y(e,eg);if(!(16&e.flags)&&j(i,e))D(i,e,a,eT);else{let o=2&e.flags?mT(e)?2:1:(null==(d=e.parent)?void 0:d.valueDeclaration)&&N0(null==(u=e.parent)?void 0:u.valueDeclaration)?2:void 0,s=eb||!(4&e.flags)?a:J(a,e),c=e.declarations&&d0(e.declarations,e=>Nr(e));c&&Ni(c.parent)&&1===c.parent.declarations.length&&(c=c.parent.parent);let f=null==(_=e.declarations)?void 0:_.find(Rh);if(f&&RR(f.parent)&&wb(f.parent.right)&&(null==(p=i.symbol)?void 0:p.valueDeclaration)&&N0(i.symbol.valueDeclaration)){let e=a===f.parent.right.escapedText?void 0:f.parent.right;I(nU.createExportDeclaration(void 0,!1,nU.createNamedExports([nU.createExportSpecifier(!1,e,a)])),0),t.tracker.trackSymbol(i.symbol,t.enclosingDeclaration,111551)}else I(OV(nU.createVariableStatement(void 0,nU.createVariableDeclarationList([nU.createVariableDeclaration(s,void 0,M(t,i,e,l,L,n))],o)),c),s!==a?-2&eT:eT),s===a||r||(I(nU.createExportDeclaration(void 0,!1,nU.createNamedExports([nU.createExportSpecifier(!1,s,a)])),0),eE=!1,eb=!1)}}}if(384&e.flags&&I(nU.createEnumDeclaration(nU.createModifiersFromModifierFlags(Eo(e)?2048:0),Y(e,eg),un(d9(sB(oC(e)),e=>!!(8&e.flags)),e=>{let t=e.declarations&&e.declarations[0]&&NQ(e.declarations[0])?L1(e.declarations[0]):void 0;return nU.createEnumMember(hr(e.escapedName),void 0===t?void 0:"string"==typeof t?nU.createStringLiteral(t):nU.createNumericLiteral(t))})),eT),32&e.flags&&(4&e.flags&&e.valueDeclaration&&RR(e.valueDeclaration.parent)&&RP(e.valueDeclaration.parent.right)?B(e,Y(e,eg),eT):(h=Y(e,eg),k=null==(y=e.declarations)?void 0:y.find(yW),R=t.enclosingDeclaration,t.enclosingDeclaration=k||R,N=un(oM(e),e=>f(e,t)),H=oH(U=oW(e)),$=(X=k&&xv(k))&&function(e){let r=uu(e,e=>{let r=t.enclosingDeclaration;t.enclosingDeclaration=e;let a=e.expression;if(AI(a)){let e;if(wb(a)&&""===hi(a)||({introducesError:e,node:a}=P(a,t,L),e))return o(void 0)}return o(nU.createExpressionWithTypeArguments(a,un(e.typeArguments,e=>F(t,e,L,n)||i(d8(e),t))));function o(e){return t.enclosingDeclaration=r,e}});if(r.length===e.length)return r}(X)||uu(function(e){let t=o;if(e.symbol.declarations)for(let n of e.symbol.declarations){let e=xv(n);if(e)for(let n of e){let e=d8(n);aZ(e)||(t===o?t=[e]:t.push(e))}}return t}(U),q),ee=(Z=!!(null==(g=(Q=oC(e)).symbol)?void 0:g.valueDeclaration)&&yW(Q.symbol.valueDeclaration))?oV(Q):tE,et=[...dW(H)?[nU.createHeritageClause(94,un(H,e=>(function(e,n,r){let a=z(e,111551);if(a)return a;let o=J(`${r}_base`);return I(nU.createVariableStatement(void 0,nU.createVariableDeclarationList([nU.createVariableDeclaration(o,void 0,i(n,t))],2)),0),nU.createExpressionWithTypeArguments(nU.createIdentifier(o),void 0)})(e,ee,h)))]:[],...dW($)?[nU.createHeritageClause(117,$)]:[]],er=d9(en=function(e,t,n){if(!dW(t))return n;let r=new Map;for(let i of(dz(n,e=>{r.set(e.escapedName,e)}),t))for(let t of sB(ss(i,e.thisType))){let e=r.get(t.escapedName);e&&t.parent===e.parent&&r.delete(t.escapedName)}return u9(r.values())}(U,H,sB(U)),e=>{let t=e.valueDeclaration;return!!t&&!(hu(t)&&wE(t.name))}),ei=uv(en,e=>{let t=e.valueDeclaration;return!!t&&hu(t)&&wE(t.name)})?[nU.createPropertyDeclaration(void 0,nU.createPrivateIdentifier("#private"),void 0,void 0,void 0)]:o,ea=uo(er,e=>a(e,!1,H[0])),eo=uo(d9(sB(Q),e=>!(4194304&e.flags)&&"prototype"!==e.escapedName&&!G(e)),e=>a(e,!0,ee)),es=!Z&&e.valueDeclaration&&EZ(e.valueDeclaration)&&!uv(ln(Q,1))?[nU.createConstructorDeclaration(nU.createModifiersFromModifierFlags(8),[],void 0)]:K(1,Q,ee,173),el=W(U,H[0]),t.enclosingDeclaration=R,I(OV(nU.createClassDeclaration(void 0,h,N,et,[...el,...eo,...es,...ea,...ei]),e.declarations&&d9(e.declarations,e=>No(e)||RP(e))[0]),eT))),(1536&e.flags&&(!ex||dZ(w(e),e=>!(111551&iR(iI(e)))))||eS)&&function(e,n,r){let i=_i(w(e),t=>t.parent&&t.parent===e?"real":"merged"),a=i.get("real")||o,s=i.get("merged")||o;if(dW(a)&&O(a,Y(e,n),r,!!(67108880&e.flags)),dW(s)){let r=vS(t.enclosingDeclaration),i=Y(e,n),a=nU.createModuleBlock([nU.createExportDeclaration(void 0,!1,nU.createNamedExports(uu(d9(s,e=>"export="!==e.escapedName),n=>{var i,a;let o=hr(n.escapedName),s=Y(n,o),l=n.declarations&&r7(n);if(r&&(l?r!==vS(l):!uv(n.declarations,e=>vS(e)===r))){null==(a=null==(i=t.tracker)?void 0:i.reportNonlocalAugmentation)||a.call(i,r,e,n);return}let c=l&&iT(l,!0);L(c||n);let d=c?Y(c,hr(c.escapedName)):s;return nU.createExportSpecifier(!1,o===d?void 0:d,o)})))]);I(nU.createModuleDeclaration(void 0,nU.createIdentifier(i),a,16),0)}}(e,eg,eT),64&e.flags&&!(32&e.flags)&&(ec=oW(e),ed=un(oM(e),e=>f(e,t)),e_=dW(eu=oH(ec))?cJ(eu):void 0,ep=uo(sB(ec),e=>s(e,!1,e_)),ef=K(0,ec,e_,176),em=K(1,ec,e_,177),eh=W(ec,e_),ey=dW(eu)?[nU.createHeritageClause(94,uu(eu,e=>z(e,111551)))]:void 0,I(nU.createInterfaceDeclaration(void 0,Y(e,eg),ed,ey,[...eh,...em,...ef,...ep]),eT)),2097152&e.flags&&B(e,Y(e,eg),eT),4&e.flags&&"export="===e.escapedName&&V(e),8388608&e.flags&&e.declarations)for(let n of e.declarations){let e=ij(n,n.moduleSpecifier);e&&I(nU.createExportDeclaration(void 0,n.isTypeOnly,void 0,nU.createStringLiteral(S(e,t))),0)}eb?I(nU.createExportAssignment(void 0,!1,nU.createIdentifier(Y(e,eg))),0):eE&&I(nU.createExportDeclaration(void 0,!1,nU.createNamedExports([nU.createExportSpecifier(!1,Y(e,eg),eg)])),0)}(e,r,c),t.reportedDiagnostic&&(m.reportedDiagnostic=t.reportedDiagnostic),t=u}}function L(e){uv(e.declarations,xQ)||(T.assertIsDefined(p[p.length-1]),J(hr(e.escapedName),e),p[2097152&e.flags&&!uv(e.declarations,e=>!!m9(e,NA)||NE(e)||Nf(e)&&!ND(e.moduleReference))?0:p.length-1].set(Gb(e),e))}function I(e,n){if(Oj(e)){let r=0,i=t.enclosingDeclaration&&(TB(t.enclosingDeclaration)?vS(t.enclosingDeclaration):t.enclosingDeclaration);1&n&&i&&(N0(i)&&(bU(i)||bV(i))||v7(i)&&!bi(i)||Nd(i))&&kq(e)&&(r|=1),y&&!(1&r)&&(!i||!(16777216&i.flags))&&(Nc(e)||RX(e)||Na(e)||No(e)||Nd(e))&&(r|=2),1024&n&&(No(e)||Ns(e)||Na(e))&&(r|=1024),r&&(e=nU.updateModifiers(e,r|Al(e)))}c.push(e)}function w(e){return e.exports?d9(u9(e.exports.values()),G):[]}function D(e,r,i,a){for(let r of ln(e,0))I(OV(_(r,259,t,{name:nU.createIdentifier(i),privateSymbolVisitor:L,bundledImports:n}),function(e){if(e.declaration&&e.declaration.parent){if(RR(e.declaration.parent)&&5===Tf(e.declaration.parent))return e.declaration.parent;if(Nr(e.declaration.parent)&&e.declaration.parent.parent)return e.declaration.parent.parent}return e.declaration}(r)),a);1536&r.flags&&r.exports&&r.exports.size||O(d9(sB(e),G),i,a,!0)}function O(e,n,r,i){if(dW(e)){let a=_i(e,e=>!dW(e.declarations)||uv(e.declarations,e=>vS(e)===vS(t.enclosingDeclaration))?"local":"remote").get("local")||o,s=rT.createModuleDeclaration(void 0,nU.createIdentifier(n),nU.createModuleBlock([]),16);kC(s,l),s.locals=vt(e),s.symbol=e[0].parent;let d=c;c=[];let u=y;y=!1;let _={...t,enclosingDeclaration:s},p=t;t=_,x(vt(a),i,!0),t=p,y=u;let f=c;c=d;let m=un(f,e=>NS(e)&&!e.isExportEquals&&wb(e.expression)?nU.createExportDeclaration(void 0,!1,nU.createNamedExports([nU.createExportSpecifier(!1,e.expression,nU.createIdentifier("default"))])):e),h=dZ(m,e=>S3(e,1))?un(m,E):m;I(s=nU.updateModuleDeclaration(s,s.modifiers,s.name,nU.createModuleBlock(h)),r)}}function G(e){return!!(2887656&e.flags)||!(4194304&e.flags||"prototype"===e.escapedName||e.valueDeclaration&&S5(e.valueDeclaration)&&yW(e.valueDeclaration.parent))}function B(e,r,i){var a,o,s,l,c;let d=r7(e);if(!d)return T.fail();let u=i5(iT(d,!0));if(!u)return;let _=bn(u)&&dJ(e.declarations,e=>{if(Nx(e)||NC(e))return hi(e.propertyName||e.name);if(RR(e)||NS(e)){let t=NS(e)?e.expression:e.right;if(Rh(t))return hi(t.name)}if(r9(e)){let t=hp(e);if(t&&wb(t))return hi(t)}})||hr(u.escapedName);"export="===_&&(C_(eO)||eO.allowSyntheticDefaultImports)&&(_="default");let p=Y(u,_);switch(L(u),d.kind){case 205:if((null==(o=null==(a=d.parent)?void 0:a.parent)?void 0:o.kind)===257){let e=S(u.parent||u,t),{propertyName:n}=d;I(nU.createImportDeclaration(void 0,nU.createImportClause(!1,void 0,nU.createNamedImports([nU.createImportSpecifier(!1,n&&wb(n)?nU.createIdentifier(hi(n)):void 0,nU.createIdentifier(r))])),nU.createStringLiteral(e),void 0),0);break}T.failBadSyntaxKind((null==(s=d.parent)?void 0:s.parent)||d,"Unhandled binding element grandparent kind in declaration serialization");break;case 300:(null==(c=null==(l=d.parent)?void 0:l.parent)?void 0:c.kind)===223&&U(hr(e.escapedName),p);break;case 257:if(Rh(d.initializer)){let e=d.initializer,n=nU.createUniqueName(r),a=S(u.parent||u,t);I(nU.createImportEqualsDeclaration(void 0,!1,n,nU.createExternalModuleReference(nU.createStringLiteral(a))),0),I(nU.createImportEqualsDeclaration(void 0,!1,nU.createIdentifier(r),nU.createQualifiedName(n,e.name)),i);break}case 268:if("export="===u.escapedName&&uv(u.declarations,e=>N0(e)&&bV(e))){V(e);break}let f=!(512&u.flags)&&!Nr(d);I(nU.createImportEqualsDeclaration(void 0,!1,nU.createIdentifier(r),f?C(u,t,67108863,!1):nU.createExternalModuleReference(nU.createStringLiteral(S(u,t)))),f?i:0);break;case 267:I(nU.createNamespaceExportDeclaration(hi(d.name)),0);break;case 270:{let e=S(u.parent||u,t),i=n?nU.createStringLiteral(e):d.parent.moduleSpecifier;I(nU.createImportDeclaration(void 0,nU.createImportClause(!1,nU.createIdentifier(r),void 0),i,d.parent.assertClause),0);break}case 271:{let e=S(u.parent||u,t),i=n?nU.createStringLiteral(e):d.parent.parent.moduleSpecifier;I(nU.createImportDeclaration(void 0,nU.createImportClause(!1,void 0,nU.createNamespaceImport(nU.createIdentifier(r))),i,d.parent.parent.assertClause),0);break}case 277:I(nU.createExportDeclaration(void 0,!1,nU.createNamespaceExport(nU.createIdentifier(r)),nU.createStringLiteral(S(u,t))),0);break;case 273:{let e=S(u.parent||u,t),i=n?nU.createStringLiteral(e):d.parent.parent.parent.moduleSpecifier;I(nU.createImportDeclaration(void 0,nU.createImportClause(!1,void 0,nU.createNamedImports([nU.createImportSpecifier(!1,r!==_?nU.createIdentifier(_):void 0,nU.createIdentifier(r))])),i,d.parent.parent.parent.assertClause),0);break}case 278:let m=d.parent.parent.moduleSpecifier;U(hr(e.escapedName),m?_:p,m&&g8(m)?nU.createStringLiteral(m.text):void 0);break;case 274:V(e);break;case 223:case 208:case 209:"default"===e.escapedName||"export="===e.escapedName?V(e):U(r,p);break;default:return T.failBadSyntaxKind(d,"Unhandled alias declaration kind in symbol serializer!")}}function U(e,t,n){I(nU.createExportDeclaration(void 0,!1,nU.createNamedExports([nU.createExportSpecifier(!1,e!==t?t:void 0,e)]),n),0)}function V(e){if(4194304&e.flags)return!1;let r=hr(e.escapedName),i="export="===r,a="default"===r,o=i||a,s=e.declarations&&r7(e),d=s&&iT(s,!0);if(d&&dW(d.declarations)&&uv(d.declarations,e=>vS(e)===vS(l))){let n=s&&(NS(s)||RR(s)?xm(s):xh(s)),a=n&&AI(n)?function(e){switch(e.kind){case 79:return e;case 163:do e=e.left;while(79!==e.kind)return e;case 208:do{if(Tp(e.expression)&&!wE(e.name))return e.name;e=e.expression}while(79!==e.kind)return e}}(n):void 0,u=a&&iB(a,67108863,!0,!0,l);(u||d)&&L(u||d);let _=t.tracker.disableTrackSymbol;if(t.tracker.disableTrackSymbol=!0,o)c.push(nU.createExportAssignment(void 0,i,k(d,t,67108863)));else if(a===n&&a)U(r,hi(a));else if(n&&RP(n))U(r,Y(d,ho(d)));else{let n=J(r,e);I(nU.createImportEqualsDeclaration(void 0,!1,nU.createIdentifier(n),C(d,t,67108863,!1)),0),U(r,n)}return t.tracker.disableTrackSymbol=_,!0}{let a=J(r,e),s=pz(oC(i5(e)));return j(s,e)?D(s,e,a,o?0:1):I(nU.createVariableStatement(void 0,nU.createVariableDeclarationList([nU.createVariableDeclaration(a,void 0,M(t,s,e,l,L,n))],2)),d&&4&d.flags&&"export="===d.escapedName?2:r===a?1:0),o?(c.push(nU.createExportAssignment(void 0,i,nU.createIdentifier(a))),!0):r!==a&&(U(r,a),!0)}}function j(e,n){let r=vS(t.enclosingDeclaration);return 48<(e)&&!dW(ls(e))&&!aG(e)&&!!(dW(d9(sB(e),G))||dW(ln(e,0)))&&!dW(ln(e,1))&&!N(n,l)&&!(e.symbol&&uv(e.symbol.declarations,e=>vS(e)!==r))&&!uv(sB(e),e=>o9(e.escapedName))&&!uv(sB(e),e=>uv(e.declarations,e=>vS(e)!==r))&&dZ(sB(e),e=>mA(ho(e),eM))}function H(e,r,i){return function(a,o,s){var c,d,u,p,f;let m=Ld(a),h=!!(8&m);if(o&&2887656&a.flags||4194304&a.flags||s&&le(s,a.escapedName)&&bP(le(s,a.escapedName))===bP(a)&&(16777216&a.flags)==(16777216&le(s,a.escapedName).flags)&&uQ(oC(a),a$(s,a.escapedName)))return[];let y=-513&m|(o?32:0),g=R(a,t),v=null==(c=a.declarations)?void 0:c.find(ps(wV,yz,Nr,wU,RR,Rh));if(98304&a.flags&&i){let e=[];return 65536&a.flags&&e.push(OV(nU.createSetAccessorDeclaration(nU.createModifiersFromModifierFlags(y),g,[nU.createParameterDeclaration(void 0,void 0,"arg",void 0,h?void 0:M(t,oC(a),a,l,L,n))],void 0),(null==(d=a.declarations)?void 0:d.find(gX))||v)),32768&a.flags&&e.push(OV(nU.createGetAccessorDeclaration(nU.createModifiersFromModifierFlags(y),g,[],8&m?void 0:M(t,oC(a),a,l,L,n),void 0),(null==(u=a.declarations)?void 0:u.find(gY))||v)),e}if(98311&a.flags)return OV(e(nU.createModifiersFromModifierFlags((bP(a)?64:0)|y),g,16777216&a.flags?nU.createToken(57):void 0,h?void 0:M(t,oL(a),a,l,L,n),void 0),(null==(p=a.declarations)?void 0:p.find(ps(wV,Nr)))||v);if(8208&a.flags){let n=ln(oC(a),0);if(8&y)return OV(e(nU.createModifiersFromModifierFlags((bP(a)?64:0)|y),g,16777216&a.flags?nU.createToken(57):void 0,void 0,void 0),(null==(f=a.declarations)?void 0:f.find(yB))||n[0]&&n[0].declaration||a.declarations&&a.declarations[0]);let i=[];for(let e of n){let n=_(e,r,t,{name:g,questionToken:16777216&a.flags?nU.createToken(57):void 0,modifiers:y?nU.createModifiersFromModifierFlags(y):void 0}),o=e.declaration&&TL(e.declaration.parent)?e.declaration.parent:e.declaration;i.push(OV(n,o))}return i}return T.fail(`Unhandled class member kind! ${a.__debugFlags||a.flags}`)}}function K(e,n,r,i){let a=ln(n,e);if(1===e){if(!r&&dZ(a,e=>0===dW(e.parameters)))return[];if(r){let e=ln(r,1);if(!dW(e)&&dZ(a,e=>0===dW(e.parameters)))return[];if(e.length===a.length){let t=!1;for(let n=0;ni(e,t)),a=k(e.target.symbol,t,788968)):e.symbol&&ax(e.symbol,l,n)&&(a=k(e.symbol,t,788968)),a)return nU.createExpressionWithTypeArguments(a,r)}function q(e){return z(e,788968)||(e.symbol?nU.createExpressionWithTypeArguments(k(e.symbol,t,788968),void 0):void 0)}function J(e,n){var r,i;let a=n?Gb(n):void 0;if(a&&t.remappedSymbolNames.has(a))return t.remappedSymbolNames.get(a);n&&(e=X(n,e));let o=0,s=e;for(;null==(r=t.usedSymbolNames)?void 0:r.has(e);)e=`${s}_${++o}`;return null==(i=t.usedSymbolNames)||i.add(e),a&&t.remappedSymbolNames.set(a,e),e}function X(e,n){if("default"===n||"__class"===n||"__function"===n){let r=t.flags;t.flags|=16777216;let i=aK(e,t);t.flags=r,n=i.length>0&&Te(i.charCodeAt(0))?Sl(i):i}return"default"===n?n="_default":"export="===n&&(n="_exports"),n=mA(n,eM)&&!xk(n)?n:"_"+n.replace(/[^a-zA-Z0-9]/g,"_")}function Y(e,n){let r=Gb(e);return t.remappedSymbolNames.has(r)?t.remappedSymbolNames.get(r):(n=X(e,n),t.remappedSymbolNames.set(r,n),n)}})(e,t,s)),symbolToNode:(e,n,r,i,a)=>t(r,i,a,t=>(function(e,t,n){if(1073741824&t.flags){if(e.valueDeclaration){let t=hp(e.valueDeclaration);if(t&&wP(t))return t}let r=rX(e).nameType;if(r&&9216&r.flags)return t.enclosingDeclaration=r.symbol.valueDeclaration,nU.createComputedPropertyName(k(r.symbol,t,n))}return k(e,t,n)})(e,t,n))};function t(t,n,r,i){T.assert(void 0===t||(8&t.flags)==0);let a=(null==r?void 0:r.trackSymbol)?r.moduleResolverHost:134217728&n?{getCommonSourceDirectory:e.getCommonSourceDirectory?()=>e.getCommonSourceDirectory():()=>"",getCurrentDirectory:()=>e.getCurrentDirectory(),getSymlinkCache:_d(e,e.getSymlinkCache),getPackageJsonInfoCache:()=>{var t;return null==(t=e.getPackageJsonInfoCache)?void 0:t.call(e)},useCaseSensitiveFileNames:_d(e,e.useCaseSensitiveFileNames),redirectTargetsMap:e.redirectTargetsMap,getProjectReferenceRedirect:t=>e.getProjectReferenceRedirect(t),isSourceOfProjectReferenceRedirect:t=>e.isSourceOfProjectReferenceRedirect(t),fileExists:t=>e.fileExists(t),getFileIncludeReasons:()=>e.getFileIncludeReasons(),readFile:e.readFile?t=>e.readFile(t):void 0}:void 0,o={enclosingDeclaration:t,flags:n||0,tracker:void 0,encounteredError:!1,reportedDiagnostic:!1,visitedTypes:void 0,symbolDepth:void 0,inferTypeParameters:void 0,approximateLength:0};o.tracker=new iC(o,r,a);let s=i(o);return o.truncating&&1&o.flags&&o.tracker.reportTruncationError(),o.encounteredError?void 0:s}function r(e){return e.truncating?e.truncating:e.truncating=e.approximateLength>(1&e.flags?tJ:tq)}function i(e,t){let l=t.flags,f=function(e,t){var l,f;n&&n.throwIfCancellationRequested&&n.throwIfCancellationRequested();let m=8388608&t.flags;if(t.flags&=-8388609,!e){if(!(262144&t.flags)){t.encounteredError=!0;return}return t.approximateLength+=3,nU.createKeywordTypeNode(131)}if(536870912&t.flags||(e=s6(e)),1&e.flags)return e.aliasSymbol?nU.createTypeReferenceNode(function e(t){let n=nU.createIdentifier(hr(t.escapedName));return t.parent?nU.createQualifiedName(e(t.parent),n):n}(e.aliasSymbol),d(e.aliasTypeArguments,t)):e===tL?IM(nU.createKeywordTypeNode(131),3,"unresolved"):(t.approximateLength+=3,nU.createKeywordTypeNode(e===tk?139:131));if(2&e.flags)return nU.createKeywordTypeNode(157);if(4&e.flags)return t.approximateLength+=6,nU.createKeywordTypeNode(152);if(8&e.flags)return t.approximateLength+=6,nU.createKeywordTypeNode(148);if(64&e.flags)return t.approximateLength+=6,nU.createKeywordTypeNode(160);if(16&e.flags&&!e.aliasSymbol)return t.approximateLength+=7,nU.createKeywordTypeNode(134);if(1056&e.flags){if(8&e.symbol.flags){let n=ae(e.symbol),r=A(n,t,788968);if(oQ(n)===e)return r;let i=ho(e.symbol);return mA(i,0)?k(r,nU.createTypeReferenceNode(i,void 0)):Rl(r)?(r.isTypeOf=!0,nU.createIndexedAccessTypeNode(r,nU.createLiteralTypeNode(nU.createStringLiteral(i)))):wQ(r)?nU.createIndexedAccessTypeNode(nU.createTypeQueryNode(r.typeName),nU.createLiteralTypeNode(nU.createStringLiteral(i))):T.fail("Unhandled type node kind returned from `symbolToTypeNode`.")}return A(e.symbol,t,788968)}if(128&e.flags)return t.approximateLength+=e.value.length+2,nU.createLiteralTypeNode(IE(nU.createStringLiteral(e.value,!!(268435456&t.flags)),33554432));if(256&e.flags){let n=e.value;return t.approximateLength+=(""+n).length,nU.createLiteralTypeNode(n<0?nU.createPrefixUnaryExpression(40,nU.createNumericLiteral(-n)):nU.createNumericLiteral(n))}if(2048&e.flags)return t.approximateLength+=km(e.value).length+1,nU.createLiteralTypeNode(nU.createBigIntLiteral(e.value));if(512&e.flags)return t.approximateLength+=e.intrinsicName.length,nU.createLiteralTypeNode("true"===e.intrinsicName?nU.createTrue():nU.createFalse());if(8192&e.flags){if(!(1048576&t.flags)){if(aT(e.symbol,t.enclosingDeclaration))return t.approximateLength+=6,A(e.symbol,t,111551);t.tracker.reportInaccessibleUniqueSymbolError&&t.tracker.reportInaccessibleUniqueSymbolError()}return t.approximateLength+=13,nU.createTypeOperatorNode(156,nU.createKeywordTypeNode(153))}if(16384&e.flags)return t.approximateLength+=4,nU.createKeywordTypeNode(114);if(32768&e.flags)return t.approximateLength+=9,nU.createKeywordTypeNode(155);if(65536&e.flags)return t.approximateLength+=4,nU.createLiteralTypeNode(nU.createNull());if(131072&e.flags)return t.approximateLength+=5,nU.createKeywordTypeNode(144);if(4096&e.flags)return t.approximateLength+=6,nU.createKeywordTypeNode(153);if(67108864&e.flags)return t.approximateLength+=6,nU.createKeywordTypeNode(149);if(kH(e))return 4194304&t.flags&&(t.encounteredError||32768&t.flags||(t.encounteredError=!0),null==(f=(l=t.tracker).reportInaccessibleThisError)||f.call(l)),t.approximateLength+=4,nU.createThisTypeNode();if(!m&&e.aliasSymbol&&(16384&t.flags||aE(e.aliasSymbol,t.enclosingDeclaration))){let n=d(e.aliasTypeArguments,t);return ap(e.aliasSymbol.escapedName)&&!(32&e.aliasSymbol.flags)?nU.createTypeReferenceNode(nU.createIdentifier(""),n):1===dW(n)&&e.aliasSymbol===g.symbol?nU.createArrayTypeNode(n[0]):A(e.aliasSymbol,t,788968,n)}let h=LT(e);if(4&h)return T.assert(!!(524288&e.flags)),e.node?x(e,C):C(e);if(262144&e.flags||3&h){if(262144&e.flags&&d6(t.inferTypeParameters,e)){let n;t.approximateLength+=ho(e.symbol).length+6;let r=sV(e);if(r){let a=lK(e,!0);a&&uQ(r,a)||(t.approximateLength+=9,n=r&&i(r,t))}return nU.createInferTypeNode(p(e,t,n))}if(4&t.flags&&262144&e.flags&&!aE(e.symbol,t.enclosingDeclaration)){let n=L(e,t);return t.approximateLength+=hi(n).length,nU.createTypeReferenceNode(nU.createIdentifier(hi(n)),void 0)}if(e.symbol)return A(e.symbol,t,788968);let n=(e===nE||e===nT)&&s&&s.symbol?(e===nT?"sub-":"super-")+ho(s.symbol):"?";return nU.createTypeReferenceNode(nU.createIdentifier(n),void 0)}if(1048576&e.flags&&e.origin&&(e=e.origin),3145728&e.flags){let n=1048576&e.flags?function(e){let t=[],n=0;for(let r=0;r0?1048576&e.flags?nU.createUnionTypeNode(r):nU.createIntersectionTypeNode(r):void(t.encounteredError||262144&t.flags||(t.encounteredError=!0))}if(48&h)return T.assert(!!(524288&e.flags)),E(e);if(4194304&e.flags){let n=e.type;t.approximateLength+=6;let r=i(n,t);return nU.createTypeOperatorNode(141,r)}if(134217728&e.flags){let n=e.texts,r=e.types,a=nU.createTemplateHead(n[0]),o=nU.createNodeArray(un(r,(e,a)=>nU.createTemplateLiteralTypeSpan(i(e,t),(a(function(e){let n=i(e.checkType,t);if(t.approximateLength+=15,4&t.flags&&e.root.isDistributive&&!(262144&e.checkType.flags)){let r=a_(rG(262144,"T")),a=L(r,t),o=nU.createTypeReferenceNode(a);t.approximateLength+=37;let s=uy(e.root.checkType,r,e.mapper),l=t.inferTypeParameters;t.inferTypeParameters=e.root.inferTypeParameters;let c=i(uO(e.root.extendsType,s),t);t.inferTypeParameters=l;let d=y(uO(d8(e.root.node.trueType),s)),u=y(uO(d8(e.root.node.falseType),s));return nU.createConditionalTypeNode(n,nU.createInferTypeNode(nU.createTypeParameterDeclaration(void 0,nU.cloneNode(o.typeName))),nU.createConditionalTypeNode(nU.createTypeReferenceNode(nU.cloneNode(a)),i(e.checkType,t),nU.createConditionalTypeNode(o,c,d,u),nU.createKeywordTypeNode(144)),nU.createKeywordTypeNode(144))}let r=t.inferTypeParameters;t.inferTypeParameters=e.root.inferTypeParameters;let a=i(e.extendsType,t);t.inferTypeParameters=r;let o=y(dL(e)),s=y(dC(e));return nU.createConditionalTypeNode(n,a,o,s)})(e));if(33554432&e.flags)return i(e.baseType,t);return T.fail("Should be unreachable.");function y(e){var n,r,o;return 1048576&e.flags?(null==(n=t.visitedTypes)?void 0:n.has(cB(e)))?(131072&t.flags||(t.encounteredError=!0,null==(o=null==(r=t.tracker)?void 0:r.reportCyclicStructureError)||o.call(r)),a(t)):x(e,e=>i(e,t)):i(e,t)}function b(e){return sI(e)&&!(262144&sw(e).flags)}function E(e){var n,r;let i=e.id,o=e.symbol;if(o){let r=aG(e)?788968:111551;if(vm(o.valueDeclaration)||32&o.flags&&!oE(o)&&!(o.valueDeclaration&&yW(o.valueDeclaration)&&2048&t.flags&&(!No(o.valueDeclaration)||0!==aS(o,t.enclosingDeclaration,r,!1).accessibility))||896&o.flags||function(){var e;let n=!!(8192&o.flags)&&uv(o.declarations,e=>S5(e)),r=!!(16&o.flags)&&(o.parent||dz(o.declarations,e=>308===e.parent.kind||265===e.parent.kind));if(n||r)return(!!(4096&t.flags)||(null==(e=t.visitedTypes)?void 0:e.has(i)))&&(!(8&t.flags)||aT(o,t.enclosingDeclaration))}())return A(o,t,r);{if(null==(n=t.visitedTypes)||!n.has(i))return x(e,S);let r=function(e){if(e.symbol&&2048&e.symbol.flags&&e.symbol.declarations){let t=xe(e.symbol.declarations[0].parent);if(Nl(t))return i7(t)}}(e);return r?A(r,t,788968):a(t)}}if(8388608<(e)){if(w1(e.node)){let n=F(t,e.node);if(n)return n}return(null==(r=t.visitedTypes)?void 0:r.has(i))?a(t):x(e,S)}return S(e)}function x(e,n){var r,i;let o;let s=e.id,l=16<(e)&&e.symbol&&32&e.symbol.flags,c=4<(e)&&e.node?"N"+Gv(e.node):16777216&e.flags?"N"+Gv(e.root.node):e.symbol?(l?"+":"")+Gb(e.symbol):void 0;t.visitedTypes||(t.visitedTypes=new Set),c&&!t.symbolDepth&&(t.symbolDepth=new Map);let d=t.enclosingDeclaration&&rY(t.enclosingDeclaration),u=`${cB(e)}|${t.flags}`;d&&(d.serializedTypes||(d.serializedTypes=new Map));let _=null==(r=null==d?void 0:d.serializedTypes)?void 0:r.get(u);if(_)return _.truncating&&(t.truncating=!0),t.approximateLength+=_.addedLength,function e(t){return x1(t)||ht(t)!==t?OV(nU.cloneNode(GB(t,e,iU,h)),t):t}(_.node);if(c){if((o=t.symbolDepth.get(c)||0)>10)return a(t);t.symbolDepth.set(c,o+1)}t.visitedTypes.add(s);let p=t.approximateLength,f=n(e),m=t.approximateLength-p;return t.reportedDiagnostic||t.encounteredError||null==(i=null==d?void 0:d.serializedTypes)||i.set(u,{node:f,truncating:t.truncating,addedLength:m}),t.visitedTypes.delete(s),c&&t.symbolDepth.set(c,o),f;function h(e,t,n,r,i){return e&&0===e.length?OV(nU.createNodeArray(void 0,e.hasTrailingComma),e):GR(e,t,n,r,i)}}function S(e){if(sO(e)||e.containsError)return function(e){let n,r;T.assert(!!(524288&e.flags));let a=e.declaration.readonlyToken?nU.createToken(e.declaration.readonlyToken.kind):void 0,o=e.declaration.questionToken?nU.createToken(e.declaration.questionToken.kind):void 0;if(sI(e)){if(b(e)&&4&t.flags){let e=L(a_(rG(262144,"T")),t);r=nU.createTypeReferenceNode(e)}n=nU.createTypeOperatorNode(141,r||i(sw(e),t))}else n=i(sA(e),t);let s=p(sS(e),t,n),l=e.declaration.nameType?i(sL(e),t):void 0,c=i(pB(sC(e),!!(4&sR(e))),t),d=nU.createMappedTypeNode(a,s,l,o,c,void 0);t.approximateLength+=10;let u=IE(d,1);if(b(e)&&4&t.flags){let n=uO(sV(d8(e.declaration.typeParameter.constraint.type))||tI,e.mapper);return nU.createConditionalTypeNode(i(sw(e),t),nU.createInferTypeNode(nU.createTypeParameterDeclaration(void 0,nU.cloneNode(r.typeName),2&n.flags?void 0:i(n,t))),u,nU.createKeywordTypeNode(144))}return u}(e);let n=sM(e);if(!n.properties.length&&!n.indexInfos.length){if(!n.callSignatures.length&&!n.constructSignatures.length)return t.approximateLength+=2,IE(nU.createTypeLiteralNode(void 0),1);if(1===n.callSignatures.length&&!n.constructSignatures.length)return _(n.callSignatures[0],181,t);if(1===n.constructSignatures.length&&!n.callSignatures.length)return _(n.constructSignatures[0],182,t)}let s=d9(n.constructSignatures,e=>!!(4&e.flags));if(uv(s)){let e=un(s,lP);return n.callSignatures.length+(n.constructSignatures.length-s.length)+n.indexInfos.length+(2048&t.flags?d7(n.properties,e=>!(4194304&e.flags)):dW(n.properties))&&e.push(function(e){if(0===e.constructSignatures.length)return e;if(e.objectTypeWithoutAbstractConstructSignatures)return e.objectTypeWithoutAbstractConstructSignatures;let t=d9(e.constructSignatures,e=>!(4&e.flags));if(e.constructSignatures===t)return e;let n=ah(e.symbol,e.members,e.callSignatures,uv(t)?t:o,e.indexInfos);return e.objectTypeWithoutAbstractConstructSignatures=n,n.objectTypeWithoutAbstractConstructSignatures=n,n}(n)),i(cJ(e),t)}let l=t.flags;t.flags|=4194304;let d=function(e){if(r(t))return[nU.createPropertySignature(void 0,"...",void 0,void 0)];let n=[];for(let r of e.callSignatures)n.push(_(r,176,t));for(let r of e.constructSignatures)4&r.flags||n.push(_(r,177,t));for(let r of e.indexInfos)n.push(u(r,t,1024&e.objectFlags?a(t):void 0));let i=e.properties;if(!i)return n;let o=0;for(let e of i){if(o++,2048&t.flags){if(4194304&e.flags)continue;24&Ld(e)&&t.tracker.reportPrivateInBaseOfClassExpression&&t.tracker.reportPrivateInBaseOfClassExpression(hr(e.escapedName))}if(r(t)&&o+2pB(t,!!(2&e.target.elementFlags[n])))).length>0){let r=l1(e),i=d(n.slice(0,r),t);if(i){if(e.target.labeledElementDeclarations)for(let t=0;t0){let r=(e.target.typeParameters||o).length;i=d(n.slice(s,r),t)}let l=t.flags;t.flags|=16;let c=A(e.symbol,t,788968,i);return t.flags=l,r?k(r,c):c}}function k(e,t){if(Rl(e)){let n=e.typeArguments,r=e.qualifier;for(let e of(r&&(wb(r)?n!==IZ(r)&&(r=IQ(nU.cloneNode(r),n)):n!==IZ(r.right)&&(r=nU.updateQualifiedName(r,r.left,IQ(nU.cloneNode(r.right),n)))),n=t.typeArguments,I(t)))r=r?nU.createQualifiedName(r,e):e;return nU.updateImportTypeNode(e,e.argument,e.assertions,r,n,e.isTypeOf)}{let n=e.typeArguments,r=e.typeName;for(let e of(wb(r)?n!==IZ(r)&&(r=IQ(nU.cloneNode(r),n)):n!==IZ(r.right)&&(r=nU.updateQualifiedName(r,r.left,IQ(nU.cloneNode(r.right),n))),n=t.typeArguments,I(t)))r=nU.createQualifiedName(r,e);return nU.updateTypeReferenceNode(e,r,n)}}function I(e){let t=e.typeName,n=[];for(;!wb(t);)n.unshift(t.right),t=t.left;return n.unshift(t),n}}(e,t);return t.flags=l,f}function a(e){return(e.approximateLength+=3,1&e.flags)?nU.createKeywordTypeNode(131):nU.createTypeReferenceNode(nU.createIdentifier("..."),void 0)}function l(e,t){var n;return!!(8192&Lc(e))&&(d6(t.reverseMappedStack,e)||(null==(n=t.reverseMappedStack)?void 0:n[0])&&!(16<(uX(t.reverseMappedStack).links.propertyType)))}function c(e,t,n){var r;let i=!!(8192&Lc(e)),o=l(e,t)?tE:ok(e),s=t.enclosingDeclaration;if(t.enclosingDeclaration=void 0,t.tracker.canTrackSymbol&&o9(e.escapedName)){if(e.declarations){let n=uz(e.declarations);if(se(n)){if(RR(n)){let e=hp(n);e&&Ry(e)&&AN(e.argumentExpression)&&h(e.argumentExpression,s,t)}else h(n.name.expression,s,t)}}else t.tracker.reportNonSerializableProperty(aR(e))}t.enclosingDeclaration=e.valueDeclaration||(null==(r=e.declarations)?void 0:r[0])||s;let c=R(e,t);t.enclosingDeclaration=s,t.approximateLength+=ho(e).length+1;let d=16777216&e.flags?nU.createToken(57):void 0;if(!(8208&e.flags)||sP(o).length||bP(e)){let r;l(e,t)?r=a(t):(i&&(t.reverseMappedStack||(t.reverseMappedStack=[]),t.reverseMappedStack.push(e)),r=o?M(t,o,e,s):nU.createKeywordTypeNode(131),i&&t.reverseMappedStack.pop());let _=bP(e)?[nU.createToken(146)]:void 0;_&&(t.approximateLength+=9);let p=nU.createPropertySignature(_,c,d,r);n.push(u(p))}else for(let e of ln(f5(o,e=>!(32768&e.flags)),0)){let r=_(e,170,t,{name:c,questionToken:d});n.push(u(r))}function u(t){var n;if(uv(e.declarations,e=>351===e.kind)){let r=hQ((null==(n=e.declarations)?void 0:n.find(e=>351===e.kind)).comment);r&&IO(t,[{kind:3,text:"*\n * "+r.replace(/\n/g,"\n * ")+"\n ",pos:-1,end:-1,hasTrailingNewLine:!0}])}else e.valueDeclaration&&IN(t,e.valueDeclaration);return t}}function d(e,t,n){if(uv(e)){if(r(t)){if(!n)return[nU.createTypeReferenceNode("...",void 0)];if(e.length>2)return[i(e[0],t),nU.createTypeReferenceNode(`... ${e.length-2} more ...`,void 0),i(e[e.length-1],t)]}let a=64&t.flags?void 0:_f(),o=[],s=0;for(let n of e){if(s++,r(t)&&s+2{if(!kE(e,([e],[t])=>e===t||!!e.symbol&&e.symbol===t.symbol||!!e.aliasSymbol&&e.aliasSymbol===t.aliasSymbol))for(let[n,r]of e)o[r]=i(n,t)}),t.flags=e}return o}}function u(e,t,n){let r=bT(e)||"x",a=i(e.keyType,t),o=nU.createParameterDeclaration(void 0,void 0,r,void 0,a,void 0);return n||(n=i(e.type||tE,t)),e.type||2097152&t.flags||(t.encounteredError=!0),t.approximateLength+=r.length+4,nU.createIndexSignature(e.isReadonly?[nU.createToken(146)]:void 0,[o],n)}function _(e,t,n,r){var a,s,l,c,d;let u,_,p,h;let y=256&n.flags;y&&(n.flags&=-257),n.approximateLength+=3,32&n.flags&&e.target&&e.mapper&&e.target.typeParameters?_=e.target.typeParameters.map(t=>i(uO(t,e.mapper),n)):u=e.typeParameters&&e.typeParameters.map(e=>f(e,n));let g=s_(e,!0)[0];if(n.enclosingDeclaration&&e.declaration&&e.declaration!==n.enclosingDeclaration&&!EZ(e.declaration)&&uv(g)){let e;let t=rY(n.enclosingDeclaration).fakeScopeForSignatureDeclaration?n.enclosingDeclaration:void 0;T.assertOptionalNode(t,RJ);let r=null!=(a=null==t?void 0:t.locals)?a:vt();for(let t of g)r.has(t.escapedName)||(e=uD(e,t.escapedName),r.set(t.escapedName,t));if(e){let i=function(){dz(e,e=>r.delete(e))};if(t)p=i;else{let e=rT.createBlock(o);rY(e).fakeScopeForSignatureDeclaration=!0,e.locals=r;let t=n.enclosingDeclaration;kC(e,t),n.enclosingDeclaration=e,p=()=>{n.enclosingDeclaration=t,i()}}}}let v=(uv(g,e=>e!==g[g.length-1]&&!!(32768&Lc(e)))?e.parameters:g).map(e=>m(e,n,173===t,null==r?void 0:r.privateSymbolVisitor,null==r?void 0:r.bundledImports)),b=33554432&n.flags?void 0:function(e,t){if(e.thisParameter)return m(e.thisParameter,t);if(e.declaration&&EZ(e.declaration)){let n=hB(e.declaration);if(n&&n.typeExpression)return nU.createParameterDeclaration(void 0,void 0,"this",void 0,i(d8(n.typeExpression),t))}}(e,n);b&&v.unshift(b);let E=lL(e);if(E){let e=2===E.kind||3===E.kind?nU.createToken(129):void 0,t=1===E.kind||3===E.kind?IE(nU.createIdentifier(E.parameterName),33554432):nU.createThisTypeNode(),r=E.type&&i(E.type,n);h=nU.createTypePredicateNode(e,t,r)}else{let t=lk(e);t&&!(y&&aQ(t))?h=function(e,t,n,r,a){if(!aZ(t)&&e.enclosingDeclaration){let i=n.declaration&&Sq(n.declaration),o=O(e.enclosingDeclaration);if(m9(i,e=>e===o)&&i){let o=d8(i);if((262144&o.flags&&o.isThisType?uO(o,n.mapper):o)===t&&D(i,t)){let t=F(e,i,r,a);if(t)return t}}}return i(t,e)}(n,t,e,null==r?void 0:r.privateSymbolVisitor,null==r?void 0:r.bundledImports):y||(h=nU.createKeywordTypeNode(131))}let x=null==r?void 0:r.modifiers;if(182===t&&4&e.flags){let e=Af(x);x=nU.createModifiersFromModifierFlags(256|e)}let S=176===t?nU.createCallSignature(u,v,h):177===t?nU.createConstructSignature(u,v,h):170===t?nU.createMethodSignature(x,null!=(s=null==r?void 0:r.name)?s:nU.createIdentifier(""),null==r?void 0:r.questionToken,u,v,h):171===t?nU.createMethodDeclaration(x,void 0,null!=(l=null==r?void 0:r.name)?l:nU.createIdentifier(""),void 0,u,v,h,void 0):173===t?nU.createConstructorDeclaration(x,v,void 0):174===t?nU.createGetAccessorDeclaration(x,null!=(c=null==r?void 0:r.name)?c:nU.createIdentifier(""),v,h,void 0):175===t?nU.createSetAccessorDeclaration(x,null!=(d=null==r?void 0:r.name)?d:nU.createIdentifier(""),v,void 0):178===t?nU.createIndexSignature(x,v,h):320===t?nU.createJSDocFunctionType(v,h):181===t?nU.createFunctionTypeNode(u,v,null!=h?h:nU.createTypeReferenceNode(nU.createIdentifier(""))):182===t?nU.createConstructorTypeNode(x,u,v,null!=h?h:nU.createTypeReferenceNode(nU.createIdentifier(""))):259===t?nU.createFunctionDeclaration(x,void 0,(null==r?void 0:r.name)?_T(r.name,wb):nU.createIdentifier(""),u,v,h,void 0):215===t?nU.createFunctionExpression(x,void 0,(null==r?void 0:r.name)?_T(r.name,wb):nU.createIdentifier(""),u,v,h,nU.createBlock([])):216===t?nU.createArrowFunction(x,u,v,h,void 0,nU.createBlock([])):T.assertNever(t);return _&&(S.typeArguments=nU.createNodeArray(_)),null==p||p(),S}function p(e,t,n){let r=t.flags;t.flags&=-513;let a=nU.createModifiersFromModifierFlags(_j(e)),o=L(e,t),s=s$(e),l=s&&i(s,t);return t.flags=r,nU.createTypeParameterDeclaration(a,o,n,l)}function f(e,t,n=sV(e)){let r=n&&i(n,t);return p(e,t,r)}function m(e,t,n,r,i){let a=g9(e,166);a||vn(e)||(a=g9(e,344));let o=oC(e);a&&LW(a)&&(o=pR(o));let s=M(t,o,e,t.enclosingDeclaration,r,i),l=!(8192&t.flags)&&n&&a&&Oj(a)?un(hh(a),nU.cloneNode):void 0,c=a&&g5(a)||32768&Lc(e)?nU.createToken(25):void 0,d=a&&a.name?79===a.name.kind?IE(nU.cloneNode(a.name),33554432):163===a.name.kind?IE(nU.cloneNode(a.name.right),33554432):function e(n){t.tracker.canTrackSymbol&&wP(n)&&o7(n)&&h(n.expression,t.enclosingDeclaration,t);let r=GB(n,e,iU,void 0,e);return Rp(r)&&(r=nU.updateBindingElement(r,r.dotDotDotToken,r.propertyName,r.name,void 0)),x1(r)||(r=nU.cloneNode(r)),IE(r,33554433)}(a.name):ho(e),u=a&&lh(a)||16384&Lc(e)?nU.createToken(57):void 0,_=nU.createParameterDeclaration(l,c,d,u,s,void 0);return t.approximateLength+=ho(e).length+3,_}function h(e,t,n){if(!n.tracker.canTrackSymbol)return;let r=Aw(e),i=r0(r,r.escapedText,1160127,void 0,void 0,!0);i&&n.tracker.trackSymbol(i,t,111551)}function y(e,t,n,r){return t.tracker.trackSymbol(e,t.enclosingDeclaration,n),b(e,t,n,r)}function b(e,t,n,r){let i;return!(262144&e.flags)&&(t.enclosingDeclaration||64&t.flags)&&!(134217728&t.flags)?(i=T.checkDefined(function e(n,i,a){let o,s=av(n,t.enclosingDeclaration,i,!!(128&t.flags));if(!s||ab(s[0],t.enclosingDeclaration,1===s.length?i:ag(i))){let r=at(s?s[0]:n,t.enclosingDeclaration,i);if(dW(r)){o=r.map(e=>uv(e.declarations,ak)?S(e,t):void 0);let a=r.map((e,t)=>t);for(let t of(a.sort(function(e,t){let n=o[e],r=o[t];if(n&&r){let e=fl(r);return fl(n)===e?Gt(n)-Gt(r):e?-1:1}return 0}),a.map(e=>r[e]))){let r=e(t,ag(i),!1);if(r){if(t.exports&&t.exports.get("export=")&&ai(t.exports.get("export="),n)){s=r;break}s=r.concat(s||[ar(t,n)||n]);break}}}}if(s)return s;if(a||!(6144&n.flags)){if(!a&&!r&&dz(n.declarations,ak))return;return[n]}}(e,n,!0)),T.assert(i&&i.length>0)):i=[e],i}function E(e,t){let n;return 524384&AW(e).flags&&(n=nU.createNodeArray(un(oM(e),e=>f(e,t)))),n}function x(e,t,n){var r,i;let a;T.assert(e&&0<=t&&tul(e,r.links.mapper)),n):E(o,n)}return a}}function S(e,t,n){let r=g9(e,308);if(!r){let t=dJ(e.declarations,t=>an(t,e));t&&(r=g9(t,308))}if(r&&void 0!==r.moduleName)return r.moduleName;if(!r){if(t.tracker.trackReferencedAmbientModule){let n=d9(e.declarations,v7);if(dW(n))for(let r of n)t.tracker.trackReferencedAmbientModule(r,e)}if(i_.test(e.escapedName))return e.escapedName.substring(1,e.escapedName.length-1)}if(!t.enclosingDeclaration||!t.tracker.moduleResolverHost)return i_.test(e.escapedName)?e.escapedName.substring(1,e.escapedName.length-1):vS(bs(e)).fileName;let i=vS(m7(t.enclosingDeclaration)),a=n||(null==i?void 0:i.impliedNodeFormat),o=PY(i.path,a),s=rX(e),l=s.specifierCache&&s.specifierCache.get(o);if(!l){let r=!!SL(eO),{moduleResolverHost:c}=t.tracker;l=uz(F5(e,e3,r?{...eO,baseUrl:c.getCommonSourceDirectory()}:eO,i,c,{importModuleSpecifierPreference:r?"non-relative":"project-relative",importModuleSpecifierEnding:r?"minimal":99===a?"js":void 0},{overrideImportMode:n})),null!=s.specifierCache||(s.specifierCache=new Map),s.specifierCache.set(o,l)}return l}function A(e,t,n,r){var i,a,o,s;let l=y(e,t,n,!(16384&t.flags)),c=111551===n;if(uv(l[0].declarations,ak)){let e,n;let d=l.length>1?u(l,l.length-1,1):void 0,_=r||x(l,0,t),p=vS(m7(t.enclosingDeclaration)),f=vA(l[0]);if((3===Ci(eO)||99===Ci(eO))&&(null==f?void 0:f.impliedNodeFormat)===99&&f.impliedNodeFormat!==(null==p?void 0:p.impliedNodeFormat)&&(e=S(l[0],t,99),n=nU.createImportTypeAssertionContainer(nU.createAssertClause(nU.createNodeArray([nU.createAssertEntry(nU.createStringLiteral("resolution-mode"),nU.createStringLiteral("import"))]))),null==(a=(i=t.tracker).reportImportTypeNodeResolutionModeOverride)||a.call(i)),e||(e=S(l[0],t)),!(67108864&t.flags)&&1!==Ci(eO)&&e.indexOf("/node_modules/")>=0){let r=e;if(3===Ci(eO)||99===Ci(eO)){let i=(null==p?void 0:p.impliedNodeFormat)===99?1:99;(e=S(l[0],t,i)).indexOf("/node_modules/")>=0?e=r:(n=nU.createImportTypeAssertionContainer(nU.createAssertClause(nU.createNodeArray([nU.createAssertEntry(nU.createStringLiteral("resolution-mode"),nU.createStringLiteral(99===i?"import":"require"))]))),null==(s=(o=t.tracker).reportImportTypeNodeResolutionModeOverride)||s.call(o))}!n&&(t.encounteredError=!0,t.tracker.reportLikelyUnsafeImportRequiredError&&t.tracker.reportLikelyUnsafeImportRequiredError(r))}let m=nU.createLiteralTypeNode(nU.createStringLiteral(e));if(t.tracker.trackExternalModuleSymbolOfImportTypeNode&&t.tracker.trackExternalModuleSymbolOfImportTypeNode(l[0]),t.approximateLength+=e.length+10,!d||yO(d))return d&&IQ(wb(d)?d:d.right,void 0),nU.createImportTypeNode(m,n,d,_,c);{let e=function e(t){return Ra(t.objectType)?e(t.objectType):t}(d),t=e.objectType.typeName;return nU.createIndexedAccessTypeNode(nU.createImportTypeNode(m,n,t,_,c),e.indexType)}}let d=u(l,l.length-1,0);if(Ra(d))return d;if(c)return nU.createTypeQueryNode(d);{let e=wb(d)?d:d.right,t=IZ(e);return IQ(e,void 0),nU.createTypeReferenceNode(d,t)}function u(e,n,i){let a;let o=n===e.length-1?r:x(e,n,t),s=e[n],l=e[n-1];if(0===n?(t.flags|=16777216,a=aK(s,t),t.approximateLength+=(a?a.length:0)+1,t.flags^=16777216):l&&i4(l)&&vl(i4(l),(e,t)=>{if(ai(e,s)&&!o9(t)&&"export="!==t)return a=hr(t),!0}),void 0===a){let r=dJ(s.declarations,hp);if(r&&wP(r)&&yO(r.expression)){let t=u(e,n-1,i);return yO(t)?nU.createIndexedAccessTypeNode(nU.createParenthesizedType(nU.createTypeQueryNode(t)),nU.createTypeQueryNode(r.expression)):t}a=aK(s,t)}if(t.approximateLength+=a.length+1,!(16&t.flags)&&l&&sa(l)&&sa(l).get(s.escapedName)&&ai(sa(l).get(s.escapedName),s)){let t=u(e,n-1,i);return Ra(t)?nU.createIndexedAccessTypeNode(t,nU.createLiteralTypeNode(nU.createStringLiteral(a))):nU.createIndexedAccessTypeNode(nU.createTypeReferenceNode(t,o),nU.createLiteralTypeNode(nU.createStringLiteral(a)))}let c=IE(nU.createIdentifier(a),33554432);if(o&&IQ(c,nU.createNodeArray(o)),c.symbol=s,n>i){let t=u(e,n-1,i);return yO(t)?nU.createQualifiedName(t,c):T.fail("Impossible construct - an export of an indexed access cannot be reachable")}return c}}function L(e,t){var n,r,i;if(4&t.flags&&t.typeParameterNames){let n=t.typeParameterNames.get(cB(e));if(n)return n}let a=C(e.symbol,t,788968,!0);if(!(79&a.kind))return nU.createIdentifier("(Missing type parameter)");if(4&t.flags){let o,s=a.escapedText,l=(null==(n=t.typeParameterNamesByTextNextNameCount)?void 0:n.get(s))||0,c=s;for(;(null==(r=t.typeParameterNamesByText)?void 0:r.has(c))||(i=c,(o=r0(t.enclosingDeclaration,i,788968,void 0,i,!1))&&(!(262144&o.flags)||o!==e.symbol));)c=`${s}_${++l}`;if(c!==s){let e=IZ(a);IQ(a=nU.createIdentifier(c),e)}(t.typeParameterNamesByTextNextNameCount||(t.typeParameterNamesByTextNextNameCount=new Map)).set(s,l),(t.typeParameterNames||(t.typeParameterNames=new Map)).set(cB(e),a),(t.typeParameterNamesByText||(t.typeParameterNamesByText=new Set)).add(s)}return a}function C(e,t,n,r){let i=y(e,t,n);return!r||1===i.length||t.encounteredError||65536&t.flags||(t.encounteredError=!0),function e(n,r){let i=x(n,r,t),a=n[r];0===r&&(t.flags|=16777216);let o=aK(a,t);0===r&&(t.flags^=16777216);let s=IE(nU.createIdentifier(o),33554432);return i&&IQ(s,nU.createNodeArray(i)),s.symbol=a,r>0?nU.createQualifiedName(e(n,r-1),s):s}(i,i.length-1)}function k(e,t,n){let r=y(e,t,n);return function e(n,r){let i=x(n,r,t),a=n[r];0===r&&(t.flags|=16777216);let o=aK(a,t);0===r&&(t.flags^=16777216);let s=o.charCodeAt(0);if(Te(s)&&uv(a.declarations,ak))return nU.createStringLiteral(S(a,t));if(0===r||kX(o,eM)){let t=IE(nU.createIdentifier(o),33554432);return i&&IQ(t,nU.createNodeArray(i)),t.symbol=a,r>0?nU.createPropertyAccessExpression(e(n,r-1),t):t}{let t;if(91===s&&(s=(o=o.substring(1,o.length-1)).charCodeAt(0)),Te(s)&&!(8&a.flags)?t=nU.createStringLiteral(Sl(o).replace(/\\./g,e=>e.substring(1)),39===s):""+ +o===o&&(t=nU.createNumericLiteral(+o)),!t){let e=IE(nU.createIdentifier(o),33554432);i&&IQ(e,nU.createNodeArray(i)),e.symbol=a,t=e}return nU.createElementAccessExpression(e(n,r-1),t)}}(r,r.length-1)}function I(e){let t=hp(e);return!!t&&wr(t)}function w(e){let t=hp(e);return!!(t&&wr(t)&&(t.singleQuote||!x1(t)&&pn(v$(t,!1),"'")))}function R(e,t){let n=!!dW(e.declarations)&&dZ(e.declarations,I),r=!!dW(e.declarations)&&dZ(e.declarations,w);return function(e,t,n,r){let i=rX(e).nameType;if(i){if(384&i.flags){let e=""+i.value;return mA(e,Ct(eO))||!r&&kV(e)?kV(e)&&pn(e,"-")?nU.createComputedPropertyName(nU.createNumericLiteral(+e)):kj(e,Ct(eO)):nU.createStringLiteral(e,!!n)}if(8192&i.flags)return nU.createComputedPropertyName(k(i.symbol,t,111551))}}(e,t,r,n)||kj(hr(e.escapedName),Ct(eO),r,n)}function N(e,t){return e.declarations&&d0(e.declarations,e=>!!SW(e)&&(!t||!!m9(e,e=>e===t)))}function D(e,t){return!(4<(t))||!wQ(e)||dW(e.typeArguments)>=lg(t.target.typeParameters)}function O(e){return rY(e).fakeScopeForSignatureDeclaration?e.parent:e}function M(e,t,n,r,a,o){if(!aZ(t)&&r){let i=N(n,O(r));if(i&&!yB(i)&&!wz(i)){let n,r=SW(i);if(((n=d8(r))===t||wG(i)&&i.questionToken&&fH(t,524288)===n)&&D(r,t)){let t=F(e,r,a,o);if(t)return t}}}let s=e.flags;8192&t.flags&&t.symbol===n&&(!e.enclosingDeclaration||uv(n.declarations,t=>vS(t)===vS(e.enclosingDeclaration)))&&(e.flags|=1048576);let l=i(t,e);return e.flags=s,l}function P(e,t,n){let r=!1,i=Aw(e);if(EZ(e)&&(Tu(i)||Tp(i.parent)||wM(i.parent)&&T_(i.parent.left)&&Tu(i.parent.right)))return{introducesError:r=!0,node:e};let a=iB(i,67108863,!0,!0);if(a&&(0!==aS(a,t.enclosingDeclaration,67108863,!1).accessibility?r=!0:(t.tracker.trackSymbol(a,t.enclosingDeclaration,67108863),null==n||n(a)),wb(e))){let n=oQ(a),i=262144&a.flags&&!aE(n.symbol,t.enclosingDeclaration)?L(n,t):nU.cloneNode(e);return i.symbol=a,{introducesError:r,node:IE(Ih(i,e),33554432)}}return{introducesError:r,node:e}}function F(t,r,a,o){n&&n.throwIfCancellationRequested&&n.throwIfCancellationRequested();let s=!1,l=vS(r),c=Gw(r,function n(r){if(N9(r)||322===r.kind)return nU.createKeywordTypeNode(131);if(De(r))return nU.createKeywordTypeNode(157);if(Dt(r))return nU.createUnionTypeNode([Gw(r.type,n,y0),nU.createLiteralTypeNode(nU.createNull())]);if(Dr(r))return nU.createUnionTypeNode([Gw(r.type,n,y0),nU.createKeywordTypeNode(155)]);if(Dn(r))return Gw(r.type,n);if(Da(r))return nU.createArrayTypeNode(Gw(r.type,n,y0));if(Dl(r))return nU.createTypeLiteralNode(un(r.jsDocPropertyTags,e=>{let a=wb(e.name)?e.name:e.name.right,o=a$(d8(r),a.escapedText),s=o&&e.typeExpression&&d8(e.typeExpression.type)!==o?i(o,t):void 0;return nU.createPropertySignature(void 0,a,e.isBracketed||e.typeExpression&&Dr(e.typeExpression.type)?nU.createToken(57):void 0,s||e.typeExpression&&Gw(e.typeExpression.type,n,y0)||nU.createKeywordTypeNode(131))}));if(wQ(r)&&wb(r.typeName)&&""===r.typeName.escapedText)return Ih(nU.createKeywordTypeNode(131),r);if((RG(r)||wQ(r))&&E4(r))return nU.createTypeLiteralNode([nU.createIndexSignature(void 0,[nU.createParameterDeclaration(void 0,void 0,"x",void 0,Gw(r.typeArguments[0],n,y0))],Gw(r.typeArguments[1],n,y0))]);if(Di(r)){if(!TG(r))return nU.createFunctionTypeNode(GR(r.typeParameters,n,wF),un(r.parameters,(e,t)=>nU.createParameterDeclaration(void 0,c(e),d(e,t),e.questionToken,Gw(e.type,n,y0),void 0)),Gw(r.type,n,y0)||nU.createKeywordTypeNode(131));{let e;return nU.createConstructorTypeNode(void 0,GR(r.typeParameters,n,wF),uu(r.parameters,(t,r)=>t.name&&wb(t.name)&&"new"===t.name.escapedText?void(e=t.type):nU.createParameterDeclaration(void 0,c(t),d(t,r),t.questionToken,Gw(t.type,n,y0),void 0)),Gw(e||r.type,n,y0)||nU.createKeywordTypeNode(131))}}if(wQ(r)&&E2(r)&&(!D(r,d8(r))||cr(r)||ty===l3(r,788968,!0)))return Ih(i(d8(r),t),r);if(bX(r)){let a=rY(r).resolvedSymbol;return!E2(r)||!a||(r.isTypeOf||788968&a.flags)&&dW(r.typeArguments)>=lg(oM(a))?nU.updateImportTypeNode(r,nU.updateLiteralTypeNode(r.argument,function(n,r){if(o){if(t.tracker&&t.tracker.moduleResolverHost){let r=Cm(n);if(r){let n=Sy({getCanonicalFileName:_7(!!e.useCaseSensitiveFileNames),getCurrentDirectory:()=>t.tracker.moduleResolverHost.getCurrentDirectory(),getCommonSourceDirectory:()=>t.tracker.moduleResolverHost.getCommonSourceDirectory()},r);return nU.createStringLiteral(n)}}}else if(t.tracker&&t.tracker.trackExternalModuleSymbolOfImportTypeNode){let e=iq(r,r,void 0);e&&t.tracker.trackExternalModuleSymbolOfImportTypeNode(e)}return r}(r,r.argument.literal)),r.assertions,r.qualifier,GR(r.typeArguments,n,y0),r.isTypeOf):Ih(i(d8(r),t),r)}if(yO(r)||AI(r)){let{introducesError:e,node:n}=P(r,t,a);if(s=s||e,n!==r)return n}return l&&w8(r)&&mt(l,r.pos).line===mt(l,r.end).line&&IE(r,1),GB(r,n,iU);function c(e){return e.dotDotDotToken||(e.type&&Da(e.type)?nU.createToken(25):void 0)}function d(e,t){return e.name&&wb(e.name)&&"this"===e.name.escapedText?"this":c(e)?"args":`arg${t}`}},y0);if(!s)return c===r?OV(nU.cloneNode(r),r):c}}(),e0=vt(),e1=rG(4,"undefined");e1.declarations=[];var e2=rG(1536,"globalThis",8);e2.exports=e0,e2.declarations=[],e0.set(e2.escapedName,e2);var e4=rG(4,"arguments"),e8=rG(4,"require"),e6=eO.verbatimModuleSyntax?"verbatimModuleSyntax":"isolatedModules";let e3={getNodeCount:()=>u2(e.getSourceFiles(),(e,t)=>e+t.nodeCount,0),getIdentifierCount:()=>u2(e.getSourceFiles(),(e,t)=>e+t.identifierCount,0),getSymbolCount:()=>u2(e.getSourceFiles(),(e,t)=>e+t.symbolCount,eL),getTypeCount:()=>eA,getInstantiationCount:()=>eC,getRelationCacheSizes:()=>({assignable:ry.size,identity:rv.size,subtype:rm.size,strictSubtype:rh.size}),isUndefinedSymbol:e=>e===e1,isArgumentsSymbol:e=>e===e4,isUnknownSymbol:e=>e===ty,getMergedSymbol:i5,getDiagnostics:La,getGlobalDiagnostics:function(){return Lo(),r_.getGlobalDiagnostics()},getRecursionIdentity:_Y,getUnmatchedProperties:p9,getTypeOfSymbolAtLocation:(e,t)=>{let n=ht(t);return n?function(e,t){if(e=aa(e),(79===t.kind||80===t.kind)&&(AM(t)&&(t=t.parent),EH(t)&&(!T3(t)||Lf(t)))){let n=Ty(t);if(aa(rY(t).resolvedSymbol)===e)return n}return xs(t)&&gX(t.parent)&&oy(t.parent)?ob(t.parent.symbol):ok(e)}(e,n):tS},getTypeOfSymbol:oC,getSymbolsOfParameterPropertyDeclaration:(e,t)=>{var n;let r,i,a,o,s=ht(e,wG);return void 0===s?T.fail("Cannot get symbols of a synthetic parameter that cannot be resolved to a parse-tree node."):(T.assert(mZ(s,s.parent)),n=hn(t),r=s.parent,i=s.parent.parent,a=rQ(r.locals,n,111551),o=rQ(sa(i.symbol),n,111551),a&&o?[a,o]:T.fail("There should exist two symbols, one as property declaration and one as parameter declaration"))},getDeclaredTypeOfSymbol:oQ,getPropertiesOfType:sB,getPropertyOfType:(e,t)=>le(e,hn(t)),getPrivateIdentifierPropertyOfType:(e,t,n)=>{let r=ht(n);if(!r)return;let i=yR(hn(t),r);return i?yP(e,i):void 0},getTypeOfPropertyOfType:(e,t)=>a$(e,hn(t)),getIndexInfoOfType:(e,t)=>ll(e,0===t?tB:tU),getIndexInfosOfType:ls,getIndexInfosOfIndexSymbol:lV,getSignaturesOfType:ln,getIndexTypeOfType:(e,t)=>lc(e,0===t?tB:tU),getIndexType:e=>c8(e),getBaseTypes:oH,getBaseTypeOfLiteralType:py,getWidenedType:pz,getTypeFromTypeNode:e=>{let t=ht(e,y0);return t?d8(t):tS},getParameterType:vK,getParameterIdentifierNameAtPosition:function(e,t){var n;if((null==(n=e.declaration)?void 0:n.kind)===320)return;let r=e.parameters.length-(GC(e)?1:0);if(txI(e),getReturnTypeOfSignature:lk,isNullableType:yf,getNullableType:pw,getNonNullableType:pN,getNonOptionalType:pO,getTypeArguments:l0,typeToTypeNode:eZ.typeToTypeNode,indexInfoToIndexSignatureDeclaration:eZ.indexInfoToIndexSignatureDeclaration,signatureToSignatureDeclaration:eZ.signatureToSignatureDeclaration,symbolToEntityName:eZ.symbolToEntityName,symbolToExpression:eZ.symbolToExpression,symbolToNode:eZ.symbolToNode,symbolToTypeParameterDeclarations:eZ.symbolToTypeParameterDeclarations,symbolToParameterDeclaration:eZ.symbolToParameterDeclaration,typeParameterToDeclaration:eZ.typeParameterToDeclaration,getSymbolsInScope:(e,t)=>{let n=ht(e);return n?function(e,t){if(33554432&e.flags)return[];let n=vt(),r=!1;return function(){for(;e;){switch(gR(e)&&e.locals&&!r$(e)&&a(e.locals,t),e.kind){case 308:if(!Md(e))break;case 264:(function(e,t){t&&e.forEach(e=>{g9(e,278)||g9(e,277)||i(e,t)})})(i7(e).exports,2623475&t);break;case 263:a(i7(e).exports,8&t);break;case 228:e.name&&i(e.symbol,t);case 260:case 261:r||a(sa(i7(e)),788968&t);break;case 215:e.name&&i(e.symbol,t)}Ea(e)&&i(e4,t),r=S5(e),e=e.parent}a(e0,t)}(),n.delete("this"),lf(n);function i(e,t){if(L_(e)&t){let t=e.escapedName;n.has(t)||n.set(t,e)}}function a(e,t){t&&e.forEach(e=>{i(e,t)})}}(n,t):[]},getSymbolAtLocation:e=>{let t=ht(e);return t?Lv(t,!0):void 0},getIndexInfosAtLocation:e=>{let t=ht(e);return t?function(e){if(wb(e)&&Rh(e.parent)&&e.parent.name===e){let t=c0(e),n=Ty(e.parent.expression);return uo(1048576&n.flags?n.types:[n],e=>d9(ls(e),e=>la(t,e.keyType)))}}(t):void 0},getShorthandAssignmentValueSymbol:e=>{let t=ht(e);return t?function(e){if(e&&300===e.kind)return iB(e.name,2208703)}(t):void 0},getExportSpecifierLocalTargetSymbol:e=>{let t=ht(e,NC);return t?NC(t)?t.parent.parent.moduleSpecifier?iu(t.parent.parent,t):iB(t.propertyName||t.name,2998271):iB(t,2998271):void 0},getExportSymbolOfSymbol:e=>i5(e.exportSymbol||e),getTypeAtLocation:e=>{let t=ht(e);return t?Lb(t):tS},getTypeOfAssignmentPattern:e=>{let t=ht(e,y4);return t&&Lx(t)||tS},getPropertySymbolOfDestructuringAssignment:e=>{let t,n=ht(e,wb);return n?(t=Lx(_T(n.parent.parent,y4)))&&le(t,n.escapedText):void 0},signatureToString:(e,t,n,r)=>aN(e,ht(t),n,r),typeToString:(e,t,n)=>aD(e,ht(t),n),symbolToString:(e,t,n,r)=>aR(e,ht(t),n,r),typePredicateToString:(e,t,n)=>aB(e,ht(t),n),writeSignature:(e,t,n,r,i)=>aN(e,ht(t),n,r,i),writeType:(e,t,n,r)=>aD(e,ht(t),n,r),writeSymbol:(e,t,n,r,i)=>aR(e,ht(t),n,r,i),writeTypePredicate:(e,t,n,r)=>aB(e,ht(t),n,r),getAugmentedPropertiesOfType:Lk,getRootSymbols:function e(t){let n=function(e){if(6&Lc(e))return uu(rX(e).containingType.types,t=>le(t,e.escapedName));if(33554432&e.flags){let{links:{leftSpread:t,rightSpread:n,syntheticOrigin:r}}=e;return t?[t,n]:r?[r]:pd(function(e){let t;let n=e;for(;n=rX(n).target;)t=n;return t}(e))}}(t);return n?uo(n,e):[t]},getSymbolOfExpando:vy,getContextualType:(e,t)=>{let n=ht(e,gp);return n?4&t?e7(n,()=>hd(n,t)):hd(n,t):void 0},getContextualTypeForObjectLiteralElement:e=>{let t=ht(e,yZ);return t?m1(t,void 0):void 0},getContextualTypeForArgumentAtIndex:(e,t)=>{let n=ht(e,gi);return n&&mX(n,t)},getContextualTypeForJsxAttribute:e=>{let t=ht(e,gj);return t&&m6(t,void 0)},isContextSensitive:uj,getTypeOfPropertyOfContextualType:mQ,getFullyQualifiedName:iG,getResolvedSignature:(e,t,n)=>e9(e,t,n,0),getResolvedSignatureForStringLiteralCompletions:(e,t,n)=>e7(t,()=>e9(e,n,void 0,32)),getResolvedSignatureForSignatureHelp:(e,t,n)=>e5(e,()=>e9(e,t,n,16)),getExpandedParameters:s_,hasEffectiveRestParameter:vX,containsArgumentsReference:lT,getConstantValue:e=>{let t=ht(e,L$);return t?L1(t):void 0},isValidPropertyAccess:(e,t)=>{let n=ht(e,gn);return!!n&&function(e,t){switch(e.kind){case 208:return go(e,106===e.expression.kind,t,pz(TT(e.expression)));case 163:return go(e,!1,t,pz(TT(e.left)));case 202:return go(e,!1,t,d8(e))}}(n,hn(t))},isValidPropertyAccessForCompletions:(e,t,n)=>{let r=ht(e,Rh);return!!r&&gr(r,t,n)},getSignatureFromDeclaration:e=>{let t=ht(e,yF);return t?lb(t):void 0},isImplementationOfOverload:e=>{let t=ht(e,yF);return t?LK(t):void 0},getImmediateAliasedSymbol:hD,getAliasedSymbol:iw,getEmitResolver:function(e,t){return La(e,t),e$},getExportsOfModule:i0,getExportsAndPropertiesOfModule:function(e){let t=i0(e),n=iY(e);if(n!==e){let e=oC(n);i2(e)&&uP(t,sB(e))}return t},forEachExportAndPropertyOfModule:function(e,t){i8(e).forEach((e,n)=>{ap(n)||t(e,n)});let n=iY(e);if(n!==e){var r,i;let e=oC(n);i2(e)&&(r=e,i=(e,n)=>{t(e,n)},3670016&(r=s1(r)).flags&&sM(r).members.forEach((e,t)=>{!ap(t)&&ao(e)&&i(e,t)}))}},getSymbolWalker:FQ(function(e){return lR(e)||tE},lL,lk,oH,sM,oC,fT,sV,Aw,l0),getAmbientModules:function(){return u||(u=[],e0.forEach((e,t)=>{i_.test(t)&&u.push(e)})),u},getJsxIntrinsicTagNamesAt:function(e){let t=hj(iL.IntrinsicElements,e);return t?sB(t):o},isOptionalParameter:e=>{let t=ht(e,wG);return!!t&&lh(t)},tryGetMemberInModuleExports:(e,t)=>i1(hn(e),t),tryGetMemberInModuleExportsAndProperties:(e,t)=>(function(e,t){let n=i1(e,t);if(n)return n;let r=iY(t);if(r===t)return;let i=oC(r);return i2(i)?le(i,e):void 0})(hn(e),t),tryFindAmbientModule:e=>lm(e,!0),tryFindAmbientModuleWithoutAugmentations:e=>lm(e,!1),getApparentType:s0,getUnionType:cH,isTypeAssignableTo:u3,createAnonymousType:ah,createSignature:sc,createSymbol:rG,createIndexInfo:lB,getAnyType:()=>tE,getStringType:()=>tB,getNumberType:()=>tU,createPromiseType:bt,createArrayType:ck,getElementTypeOfArrayType:_5,getBooleanType:()=>tY,getFalseType:e=>e?tj:tH,getTrueType:e=>e?tK:tX,getVoidType:()=>tQ,getUndefinedType:()=>tR,getNullType:()=>tP,getESSymbolType:()=>t$,getNeverType:()=>tZ,getOptionalType:()=>tM,getPromiseType:()=>cg(!1),getPromiseLikeType:()=>cv(!1),getAsyncIterableType:()=>{let e=cE(!1);if(e!==np)return e},isSymbolAccessible:aS,isArrayType:_1,isTupleType:pT,isArrayLikeType:_9,isEmptyAnonymousObjectType:_b,isTypeInvalidDueToUnionDiscriminant:function(e,t){return t.properties.some(t=>{let n=t.name&&c0(t.name),r=n&&o5(n)?sn(n):void 0,i=void 0===r?void 0:a$(e,r);return!!i&&ph(i)&&!u3(Lb(t),i)})},getExactOptionalProperties:function(e){return sB(e).filter(e=>pU(oC(e)))},getAllPossiblePropertiesOfTypes:function(e){let t=cH(e);if(!(1048576&t.flags))return Lk(t);let n=vt();for(let r of e)for(let{escapedName:e}of Lk(r))if(!n.has(e)){let r=s2(t,e);r&&n.set(e,r)}return u9(n.values())},getSuggestedSymbolForNonexistentProperty:y8,getSuggestionForNonexistentProperty:y3,getSuggestedSymbolForNonexistentJSXAttribute:y6,getSuggestedSymbolForNonexistentSymbol:(e,t,n)=>y5(e,hn(t),n),getSuggestionForNonexistentSymbol:(e,t,n)=>{let r;return(r=y5(e,hn(t),n))&&ho(r)},getSuggestedSymbolForNonexistentModule:y7,getSuggestionForNonexistentExport:function(e,t){let n=y7(e,t);return n&&ho(n)},getSuggestedSymbolForNonexistentClassMember:y1,getBaseConstraintOfType:sz,getDefaultFromTypeParameter:e=>e&&262144&e.flags?s$(e):void 0,resolveName:(e,t,n,r)=>r0(t,hn(e),n,void 0,void 0,!1,r),getJsxNamespace:e=>hr(rL(e)),getJsxFragmentFactory:e=>{let t=Cf(e);return t&&hr(Aw(t).escapedText)},getAccessibleSymbolChain:av,getTypePredicateOfSignature:lL,resolveExternalModuleName:e=>{let t=ht(e,gp);return t&&ij(t,t,!0)},resolveExternalModuleSymbol:iY,tryGetThisTypeAt:(e,t,n)=>{let r=ht(e);return r&&mG(r,t,n)},getTypeArgumentConstraint:e=>{let t=ht(e,y0);return t&&function(e){let t=_E(e.parent,g2);if(!t)return;let n=TX(t);if(!n)return;let r=sV(n[t.typeArguments.indexOf(e)]);return r&&uO(r,us(n,Tq(t,n)))}(t)},getSuggestionDiagnostics:(t,r)=>{let i;let a=ht(t,N0)||T.fail("Could not determine parsed source file.");if(k_(a,eO,e))return o;try{return n=r,Ls(a),T.assert(!!(1&rY(a).flags)),i=uP(i,rp.getDiagnostics(a.fileName)),x3(Li(a),(e,t,n)=>{vx(e)||Lr(t,!!(16777216&e.flags))||(i||(i=[])).push({...n,category:2})}),i||o}finally{n=void 0}},runWithCancellationToken:(e,t)=>{try{return n=e,t(e3)}finally{n=void 0}},getLocalTypeParametersOfClassOrInterfaceOrTypeAlias:oM,isDeclarationVisible:aW,isPropertyAccessible:gl,getTypeOnlyAliasDeclaration:iO,getMemberOverrideModifierStatus:function(e,t,n){if(!t.name)return 0;let r=i7(e),i=oQ(r),a=ss(i),o=oC(r),s=xy(e)&&oH(i),l=(null==s?void 0:s.length)?ss(uz(s),i.thisType):void 0;return AH(e,o,oV(i),l,i,a,t.parent?S9(t):S3(t,16384),Ae(t),S5(t),!1,ho(n))},isTypeParameterPossiblyReferenced:uL,typeHasCallOrConstructSignatures:LR};function e5(e,t){let n=m9(e,gi),r=n&&rY(n).resolvedSignature;n&&(rY(n).resolvedSignature=void 0);let i=t();return n&&(rY(n).resolvedSignature=r),i}function e7(e,t){let n=m9(e,gi);if(n){let t=e;do rY(t).skipDirectInference=!0,t=t.parent;while(t&&t!==n)}eR=!0;let r=e5(e,t);if(eR=!1,n){let t=e;do rY(t).skipDirectInference=void 0,t=t.parent;while(t&&t!==n)}return r}function e9(e,t,n,r){let i=ht(e,gi);l=n;let a=i?vf(i,t,r):void 0;return l=void 0,a}var te=new Map,tt=new Map,tn=new Map,tr=new Map,ti=new Map,ta=new Map,to=new Map,ts=new Map,tl=new Map,tc=new Map,td=new Map,tu=new Map,t_=new Map,tp=new Map,tf=[],tm=new Map,th=new Set,ty=rG(4,"unknown"),tg=rG(0,"__resolving__"),tv=new Map,tb=new Map,tE=ad(1,"any"),tT=ad(1,"any",262144),tx=ad(1,"any"),tS=ad(1,"error"),tL=ad(1,"unresolved"),tC=ad(1,"any",65536),tk=ad(1,"intrinsic"),tI=ad(2,"unknown"),tw=ad(2,"unknown"),tR=ad(32768,"undefined"),tN=eU?tR:ad(32768,"undefined",65536),tD=ad(32768,"undefined"),tO=eX?tD:tR,tM=ad(32768,"undefined"),tP=ad(65536,"null"),tG=eU?tP:ad(65536,"null",65536),tB=ad(4,"string"),tU=ad(8,"number"),tV=ad(64,"bigint"),tj=ad(512,"false"),tH=ad(512,"false"),tK=ad(512,"true"),tX=ad(512,"true");tK.regularType=tX,tK.freshType=tK,tX.regularType=tX,tX.freshType=tK,tj.regularType=tH,tj.freshType=tj,tH.regularType=tH,tH.freshType=tj;var tY=cH([tH,tX]),t$=ad(4096,"symbol"),tQ=ad(16384,"void"),tZ=ad(131072,"never"),t0=ad(131072,"never",262144),t1=ad(131072,"never"),t2=ad(131072,"never"),t4=ad(67108864,"object"),t8=cH([tB,tU]),t6=cH([tB,tU,t$]),t3=eq?tB:t6,t5=cH([tU,tV]),t7=cH([tB,tU,tY,tV,tP,tR]),t9=c3(["",""],[tU]),ne=ud(e=>262144&e.flags&&(e.constraint||lH(e))&&e.constraint!==nm?e.restrictiveInstantiation||(e.restrictiveInstantiation=a_(e.symbol),e.restrictiveInstantiation.constraint=nm,e.restrictiveInstantiation):e,()=>"(restrictive mapper)"),nt=ud(e=>262144&e.flags?tx:e,()=>"(permissive mapper)"),nn=ad(131072,"never"),nr=ud(e=>262144&e.flags?nn:e,()=>"(unique literal mapper)"),ni=ud(e=>(c&&(e===ng||e===nv||e===nb)&&c(!0),e),()=>"(unmeasurable reporter)"),na=ud(e=>(c&&(e===ng||e===nv||e===nb)&&c(!1),e),()=>"(unreliable reporter)"),no=ah(void 0,eN,o,o,o),ns=ah(void 0,eN,o,o,o);ns.objectFlags|=2048;var nc=rG(2048,"__type");nc.members=vt();var nd=ah(nc,eN,o,o,o),nu=ah(void 0,eN,o,o,o),n_=eU?cH([tR,tP,nu]):tI,np=ah(void 0,eN,o,o,o);np.instantiations=new Map;var nf=ah(void 0,eN,o,o,o);nf.objectFlags|=262144;var nm=ah(void 0,eN,o,o,o),nh=ah(void 0,eN,o,o,o),ny=ah(void 0,eN,o,o,o),ng=a_(),nv=a_();nv.constraint=ng;var nb=a_(),nE=a_(),nT=a_();nT.constraint=nE;var nx=ly(1,"<>",0,tE),nS=sc(void 0,void 0,void 0,o,tE,void 0,0,0),nA=sc(void 0,void 0,void 0,o,tS,void 0,0,0),nL=sc(void 0,void 0,void 0,o,tE,void 0,0,0),nC=sc(void 0,void 0,void 0,o,t0,void 0,0,0),nk=lB(tU,tB,!0),nI=new Map,nw={get yieldType(){return T.fail("Not supported")},get returnType(){return T.fail("Not supported")},get nextType(){return T.fail("Not supported")}},nR=SM(tE,tE,tE),nN=SM(tE,tE,tI),nD=SM(tZ,tE,tR),nO={iterableCacheKey:"iterationTypesOfAsyncIterable",iteratorCacheKey:"iterationTypesOfAsyncIterator",iteratorSymbolName:"asyncIterator",getGlobalIteratorType:function(e){return W||(W=c_("AsyncIterator",3,e))||np},getGlobalIterableType:cE,getGlobalIterableIteratorType:function(e){return z||(z=c_("AsyncIterableIterator",1,e))||np},getGlobalGeneratorType:function(e){return q||(q=c_("AsyncGenerator",3,e))||np},resolveIterationType:xI,mustHaveANextMethodDiagnostic:tA.An_async_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:tA.The_0_property_of_an_async_iterator_must_be_a_method,mustHaveAValueDiagnostic:tA.The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property},nM={iterableCacheKey:"iterationTypesOfIterable",iteratorCacheKey:"iterationTypesOfIterator",iteratorSymbolName:"iterator",getGlobalIteratorType:function(e){return B||(B=c_("Iterator",3,e))||np},getGlobalIterableType:cT,getGlobalIterableIteratorType:function(e){return U||(U=c_("IterableIterator",1,e))||np},getGlobalGeneratorType:function(e){return V||(V=c_("Generator",3,e))||np},resolveIterationType:(e,t)=>e,mustHaveANextMethodDiagnostic:tA.An_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:tA.The_0_property_of_an_iterator_must_be_a_method,mustHaveAValueDiagnostic:tA.The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property},nP=new Map,nF=!1,nG=new Map,nB=0,nV=0,nj=0,nH=!1,nK=0,nW=[],nz=[],nq=[],nJ=0,nX=[],nY=[],n$=0,nQ=dH(""),nZ=dK(0),n0=dq({negative:!1,base10Value:"0"}),n1=[],n2=[],n4=[],n8=0,n6=[],n3=[],n5=[],n7=[],n9=[],re=[],rt=[],rn=[],rr=[],ri=[],ra=[],ro=[],rs=[],rl=[],rc=[],rd=[],ru=[],r_=Se(),rp=Se(),rf=cH(u9(ib.keys(),dH)),rm=new Map,rh=new Map,ry=new Map,rg=new Map,rv=new Map,rb=new Map,rE=vt();rE.set(e1.escapedName,e1);var rx=[[".mts",".mjs"],[".ts",".js"],[".cts",".cjs"],[".mjs",".mjs"],[".js",".js"],[".cjs",".cjs"],[".tsx",1===eO.jsx?".jsx":".js"],[".jsx",".jsx"],[".json",".json"]];return function(){let t;for(let t of e.getSourceFiles())Fz(t,eO);for(let n of(d=new Map,e.getSourceFiles()))if(!n.redirectInfo){if(!bU(n)){let e=n.locals.get("globalThis");if(null==e?void 0:e.declarations)for(let t of e.declarations)r_.add(bC(t,tA.Declaration_name_conflicts_with_built_in_global_identifier_0,"globalThis"));rq(e0,n.locals)}n.jsGlobalAugmentations&&rq(e0,n.jsGlobalAugmentations),n.patternAmbientModules&&n.patternAmbientModules.length&&(_=uE(_,n.patternAmbientModules)),n.moduleAugmentations.length&&(t||(t=[])).push(n.moduleAugmentations),n.symbol&&n.symbol.globalExports&&n.symbol.globalExports.forEach((e,t)=>{e0.has(t)||e0.set(t,e)})}if(t)for(let e of t)for(let t of e)bi(t.parent)&&rJ(t);if(function(e,t,n){t.forEach((t,r)=>{var i;let a=e.get(r);a?dz(a.declarations,(i=hr(r),e=>r_.add(bC(e,n,i)))):e.set(r,t)})}(e0,rE,tA.Declaration_name_conflicts_with_built_in_global_identifier_0),rX(e1).type=tN,rX(e4).type=c_("IArguments",0,!0),rX(ty).type=tS,rX(e2).type=au(16,e2),g=c_("Array",1,!0),f=c_("Object",0,!0),m=c_("Function",0,!0),h=ej&&c_("CallableFunction",0,!0)||m,y=ej&&c_("NewableFunction",0,!0)||m,b=c_("String",0,!0),E=c_("Number",0,!0),x=c_("Boolean",0,!0),S=c_("RegExp",0,!0),L=ck(tE),(C=ck(tT))===no&&(C=ah(void 0,eN,o,o,o)),k=(v=cx("ReadonlyArray",1)||g)?cA(v,[tE]):L,A=cx("ThisType",1),t)for(let e of t)for(let t of e)bi(t.parent)||rJ(t);d.forEach(({firstFile:e,secondFile:t,conflictingSymbols:n})=>{if(n.size<8)n.forEach(({isBlockScoped:e,firstFileLocations:t,secondFileLocations:n},r)=>{let i=e?tA.Cannot_redeclare_block_scoped_variable_0:tA.Duplicate_identifier_0;for(let e of t)rz(e,i,r,n);for(let e of n)rz(e,i,r,t)});else{let r=u9(n.keys()).join(", ");r_.add(kl(bC(e,tA.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0,r),bC(t,tA.Conflicts_are_in_this_file))),r_.add(kl(bC(t,tA.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0,r),bC(e,tA.Conflicts_are_in_this_file)))}}),d=void 0}(),e3;function rS(e){return e?tp.get(e):void 0}function rA(e,t){return e&&tp.set(e,t),t}function rL(e){if(e){let t=vS(e);if(t){if(NB(e)){if(t.localJsxFragmentNamespace)return t.localJsxFragmentNamespace;let n=t.pragmas.get("jsxfrag");if(n){let e=_y(n)?n[0]:n;if(t.localJsxFragmentFactory=Ml(e.arguments.factory,eM),Gw(t.localJsxFragmentFactory,rk,yO),t.localJsxFragmentFactory)return t.localJsxFragmentNamespace=Aw(t.localJsxFragmentFactory).escapedText}let r=Cf(e);if(r)return t.localJsxFragmentFactory=r,t.localJsxFragmentNamespace=Aw(r).escapedText}else{let e=rC(t);if(e)return t.localJsxNamespace=e}}}return!eh&&(eh="React",eO.jsxFactory?(Gw(ey=Ml(eO.jsxFactory,eM),rk),ey&&(eh=Aw(ey).escapedText)):eO.reactNamespace&&(eh=hn(eO.reactNamespace))),ey||(ey=nU.createQualifiedName(nU.createIdentifier(hr(eh)),"createElement")),eh}function rC(e){if(e.localJsxNamespace)return e.localJsxNamespace;let t=e.pragmas.get("jsx");if(t){let n=_y(t)?t[0]:t;if(e.localJsxFactory=Ml(n.arguments.factory,eM),Gw(e.localJsxFactory,rk,yO),e.localJsxFactory)return e.localJsxNamespace=Aw(e.localJsxFactory).escapedText}}function rk(e){return kS(e,-1,-1),GB(e,rk,iU)}function rI(e,t,n,r,i,a,o){let s=rR(t,n,r,i,a,o);return s.skippedOn=e,s}function rw(e,t,n,r,i,a){return e?bC(e,t,n,r,i,a):L0(t,n,r,i,a)}function rR(e,t,n,r,i,a){let o=rw(e,t,n,r,i,a);return r_.add(o),o}function rN(e,t){e?r_.add(t):rp.add({...t,category:2})}function rD(e,t,n,r,i,a,o){if(t.pos<0||t.end<0){if(!e)return;let s=vS(t);rN(e,"message"in n?LQ(s,0,0,n,r,i,a,o):bO(s,n));return}rN(e,"message"in n?bC(t,n,r,i,a,o):bw(vS(t),t,n))}function rO(e,t,n,r,i,a,o){let s=rR(e,n,r,i,a,o);return t&&kl(s,bC(e,tA.Did_you_forget_to_use_await)),s}function rM(e,t){let n=Array.isArray(e)?dz(e,hP):hP(e);return n&&kl(t,bC(n,tA.The_declaration_was_marked_as_deprecated_here)),rp.add(t),t}function rP(e){if(dW(e.declarations)>1){let t=ae(e);if(t&&64&t.flags)return uv(e.declarations,e=>!!(268435456&m3(e)))}return!!(268435456&ys(e))}function rF(e,t,n){return rM(t,bC(e,tA._0_is_deprecated,n))}function rG(e,t,n){eL++;let r=new eT(33554432|e,t);return r.links=new iA,r.links.checkFlags=n||0,r}function rB(e,t){let n=rG(1,e);return n.links.type=t,n}function rU(e,t){let n=rG(4,e);return n.links.type=t,n}function rV(e){let t=0;return 2&e&&(t|=111551),1&e&&(t|=111550),4&e&&(t|=0),8&e&&(t|=900095),16&e&&(t|=110991),32&e&&(t|=899503),64&e&&(t|=788872),256&e&&(t|=899327),128&e&&(t|=899967),512&e&&(t|=110735),8192&e&&(t|=103359),32768&e&&(t|=46015),65536&e&&(t|=78783),262144&e&&(t|=526824),524288&e&&(t|=788968),2097152&e&&(t|=2097152),t}function rj(e,t){!t.mergeId&&(t.mergeId=iy,iy++),n6[t.mergeId]=e}function rH(e){let t=rG(e.flags,e.escapedName);return t.declarations=e.declarations?e.declarations.slice():[],t.parent=e.parent,e.valueDeclaration&&(t.valueDeclaration=e.valueDeclaration),e.constEnumOnlyModule&&(t.constEnumOnlyModule=!0),e.members&&(t.members=new Map(e.members)),e.exports&&(t.exports=new Map(e.exports)),rj(t,e),t}function rK(e,t,n=!1){if(!(e.flags&rV(t.flags))||(t.flags|e.flags)&67108864){if(t===e)return e;if(!(33554432&e.flags)){let n=iI(e);if(n===ty)return t;e=rH(n)}512&t.flags&&512&e.flags&&e.constEnumOnlyModule&&!t.constEnumOnlyModule&&(e.constEnumOnlyModule=!1),e.flags|=t.flags,t.valueDeclaration&&Tk(e,t.valueDeclaration),uP(e.declarations,t.declarations),t.members&&(e.members||(e.members=vt()),rq(e.members,t.members,n)),t.exports&&(e.exports||(e.exports=vt()),rq(e.exports,t.exports,n)),n||rj(e,t)}else if(1024&e.flags)e!==e2&&rR(t.declarations&&hp(t.declarations[0]),tA.Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity,aR(e));else{let n=!!(384&e.flags||384&t.flags),i=!!(2&e.flags||2&t.flags),a=n?tA.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:i?tA.Cannot_redeclare_block_scoped_variable_0:tA.Duplicate_identifier_0,o=t.declarations&&vS(t.declarations[0]),s=e.declarations&&vS(e.declarations[0]),l=vL(o,eO.checkJs),c=vL(s,eO.checkJs),u=aR(t);if(o&&s&&d&&!n&&o!==s){let n=-1===fB(o.path,s.path)?o:s,a=n===o?s:o,_=uf(d,`${n.path}|${a.path}`,()=>({firstFile:n,secondFile:a,conflictingSymbols:new Map})),p=uf(_.conflictingSymbols,u,()=>({isBlockScoped:i,firstFileLocations:[],secondFileLocations:[]}));l||r(p.firstFileLocations,t),c||r(p.secondFileLocations,e)}else l||rW(t,a,u,e),c||rW(e,a,u,t)}return e;function r(e,t){if(t.declarations)for(let n of t.declarations)uF(e,n)}}function rW(e,t,n,r){dz(e.declarations,e=>{rz(e,t,n,r.declarations)})}function rz(e,t,n,r){var i,a,s;let l;let c=(To(e,!1)?Tl(e):hp(e))||e,d=(l=c?bC(c,t,n,i,a,s):L0(t,n,i,a,s),r_.lookup(l)||(r_.add(l),l));for(let e of r||o){let t=(To(e,!1)?Tl(e):hp(e))||e;if(t===c)continue;d.relatedInformation=d.relatedInformation||[];let r=bC(t,tA._0_was_also_declared_here,n),i=bC(t,tA.and_here);dW(d.relatedInformation)>=5||uv(d.relatedInformation,e=>0===L6(e,i)||0===L6(e,r))||kl(d,dW(d.relatedInformation)?i:r)}}function rq(e,t,n=!1){t.forEach((t,r)=>{let i=e.get(r);e.set(r,i?rK(i,t,n):i5(t))})}function rJ(e){var t,n,r;let i=e.parent;if((null==(t=i.symbol.declarations)?void 0:t[0])!==i){T.assert(i.symbol.declarations.length>1);return}if(bi(i))rq(e0,i.symbol.exports);else{let t=16777216&e.parent.parent.flags?void 0:tA.Invalid_module_name_in_augmentation_module_0_cannot_be_found,a=iq(e,e,t,!0);if(!a)return;if(1920&(a=iY(a)).flags){if(uv(_,e=>a===e.symbol)){let t=rK(i.symbol,a,!0);p||(p=new Map),p.set(e.text,t)}else{if((null==(n=a.exports)?void 0:n.get("__export"))&&(null==(r=i.symbol.exports)?void 0:r.size)){let e=si(a,"resolvedExports");for(let[t,n]of u9(i.symbol.exports.entries()))e.has(t)&&!a.exports.has(t)&&rK(e.get(t),n)}rK(a,i.symbol)}}else rR(e,tA.Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity,e.text)}}function rX(e){var t;if(33554432&e.flags)return e.links;let n=Gb(e);return null!=(t=n3[n])?t:n3[n]=new iA}function rY(e){let t=Gv(e);return n5[t]||(n5[t]=new Gg)}function r$(e){return 308===e.kind&&!bU(e)}function rQ(e,t,n){if(n){let r=i5(e.get(t));if(r&&(T.assert((1&Lc(r))==0,"Should never get an instantiated symbol here."),r.flags&n||2097152&r.flags&&iR(r)&n))return r}}function rZ(t,n){let r=vS(t),i=vS(n),a=bv(t);if(r!==i){if(eP&&(r.externalModuleIndicator||i.externalModuleIndicator)||!SL(eO)||fx(n)||16777216&t.flags||o(n,t))return!0;let a=e.getSourceFiles();return a.indexOf(r)<=a.indexOf(i)}if(t.pos<=n.pos&&!(wV(t)&&Ew(n.parent)&&!t.initializer&&!t.exclamationToken)){if(205===t.kind){let e=xx(n,205);return e?m9(e,Rp)!==m9(t,Rp)||t.poswP(e)&&e.parent.parent===t):wV(t)?!s(t,n,!1):!mZ(t,t.parent)||!(99===Ct(eO)&&eG&&Ev(t)===Ev(n)&&o(n,t))}if(278===n.parent.kind||274===n.parent.kind&&n.parent.isExportEquals||274===n.kind&&n.isExportEquals||8388608&n.flags||fx(n)||fS(n))return!0;if(o(n,t))return!(99===Ct(eO)&&eG&&Ev(t)&&(wV(t)||mZ(t,t.parent)))||!s(t,n,!0);return!1;function o(e,t){return!!m9(e,n=>{if(n===a)return"quit";if(yF(n))return!0;if(wK(n))return t.pos=r&&a.pos<=i){let n=nU.createPropertyAccessExpression(nU.createThis(),e);if(kC(n.expression,n),kC(n,a),n.flowNode=a.returnFlowNode,!_x(mv(n,t,pR(t))))return!0}return!1}(e,oC(i7(t)),d9(t.parent.members,wK),t.parent.pos,n.pos))return!0}}else if(!(169===t.kind&&!S5(t))||Ev(e)!==Ev(t))return!0}return!1})}function s(e,t,n){return!(t.end>e.end)&&void 0===m9(t,t=>{if(t===e)return"quit";switch(t.kind){case 216:return!0;case 169:return!(n&&(wV(e)&&t.parent===e.parent||mZ(e,e.parent)&&t.parent===e.parent.parent))||"quit";case 238:switch(t.parent.kind){case 174:case 171:case 175:return!0;default:return!1}default:return!1}})}}function r0(e,t,n,r,i,a,o=!1,s=!0){return r1(e,t,n,r,i,a,o,s,rQ)}function r1(e,t,n,r,i,a,o,s,l){var c,d,u,_,p,f;let m,h,y,g,v,b;let E=e,x=!1,S=e,A=!1;t:for(;e;){if("const"===t&&(gf(_=e)&&yt(_.type)||DL(_)&&yt(_.typeExpression)))return;if(gR(e)&&e.locals&&!r$(e)&&(m=l(e.locals,t,n))){let t=!0;if(yF(e)&&h&&h!==e.body?(n&m.flags&788968&&323!==h.kind&&(t=!!(262144&m.flags)&&(h===e.type||166===h.kind||344===h.kind||345===h.kind||165===h.kind)),n&m.flags&3&&(function(e,t,n){let r=Ct(eO);if(wG(n)&&t.body&&e.valueDeclaration&&e.valueDeclaration.pos>=t.body.pos&&e.valueDeclaration.end<=t.body.end&&r>=2){let e=rY(t);return void 0===e.declarationRequiresScopeChange&&(e.declarationRequiresScopeChange=dz(t.parameters,function(e){return i(e.name)||!!e.initializer&&i(e.initializer)})||!1),!e.declarationRequiresScopeChange}return!1;function i(e){switch(e.kind){case 216:case 215:case 259:case 173:return!1;case 171:case 174:case 175:case 299:return i(e.name);case 169:if(S7(e))return r<99||!eG;return i(e.name);default:if(ye(e)||h3(e))return r<7;if(Rp(e)&&e.dotDotDotToken&&Ru(e.parent))return r<4;if(y0(e))return!1;return Mr(e,i)||!1}}}(m,e,h)?t=!1:1&m.flags&&(t=166===h.kind||h===e.type&&!!m9(m.valueDeclaration,wG)))):191===e.kind&&(t=h===e.trueType),t)break;m=void 0}switch(x=x||(p=e,f=h,216!==p.kind&&215!==p.kind?w1(p)||(yB(p)||169===p.kind&&!S5(p))&&(!f||f!==p.name):(!f||f!==p.name)&&(!!(p.asteriskToken||S3(p,512))||!EC(p))),e.kind){case 308:if(!bU(e))break;A=!0;case 264:let i=(null==(c=i7(e))?void 0:c.exports)||eN;if(308===e.kind||Nd(e)&&16777216&e.flags&&!bi(e)){if(m=i.get("default")){let e=AU(m);if(e&&m.flags&n&&e.escapedName===t)break t;m=void 0}let e=i.get(t);if(e&&2097152===e.flags&&(g9(e,278)||g9(e,277)))break}if("default"!==t&&(m=l(i,t,2623475&n))){if(N0(e)&&e.commonJsModuleIndicator&&!(null==(d=m.declarations)?void 0:d.some(TB)))m=void 0;else break t}break;case 263:if(m=l((null==(u=i7(e))?void 0:u.exports)||eN,t,8&n)){r&&Cs(eO)&&!(16777216&e.flags)&&vS(e)!==vS(m.valueDeclaration)&&rR(S,tA.Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead,hr(t),e6,`${hr(i9(e).escapedName)}.${hr(t)}`);break t}break;case 169:if(!S5(e)){let r=as(e.parent);r&&r.locals&&l(r.locals,t,111551&n)&&(T.assertNode(e,wV),g=e)}break;case 260:case 228:case 261:if(m=l(i7(e).members||eN,t,788968&n)){if(!function(e,t){if(e.declarations){for(let n of e.declarations)if(165===n.kind&&(DC(n.parent)?T1(n.parent):n.parent)===t)return!(DC(n.parent)&&d0(n.parent.parent.tags,TB))}return!1}(m,e)){m=void 0;break}if(h&&S5(h)){r&&rR(S,tA.Static_members_cannot_reference_class_type_parameters);return}break t}if(RP(e)&&32&n){let n=e.name;if(n&&t===n.escapedText){m=e.symbol;break t}}break;case 230:if(h===e.expression&&94===e.parent.token){let i=e.parent.parent;if(yW(i)&&(m=l(i7(i).members,t,788968&n))){r&&rR(S,tA.Base_class_expressions_cannot_reference_class_type_parameters);return}}break;case 164:if((yW(b=e.parent.parent)||261===b.kind)&&(m=l(i7(b).members,t,788968&n))){r&&rR(S,tA.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type);return}break;case 216:if(Ct(eO)>=2)break;case 171:case 173:case 174:case 175:case 259:if(3&n&&"arguments"===t){m=e4;break t}break;case 215:if(3&n&&"arguments"===t){m=e4;break t}if(16&n){let n=e.name;if(n&&t===n.escapedText){m=e.symbol;break t}}break;case 167:e.parent&&166===e.parent.kind&&(e=e.parent),e.parent&&(yK(e.parent)||260===e.parent.kind)&&(e=e.parent);break;case 349:case 341:case 343:let a=T2(e);a&&(e=a.parent);break;case 166:h&&(h===e.initializer||h===e.name&&y2(h))&&!v&&(v=e);break;case 205:h&&(h===e.initializer||h===e.name&&y2(h))&&xQ(e)&&!v&&(v=e);break;case 192:if(262144&n){let n=e.typeParameter.name;if(n&&t===n.escapedText){m=e.typeParameter.symbol;break t}}}(function(e){switch(e.kind){case 259:case 260:case 261:case 263:case 262:case 264:return!0;default:return!1}})(e)&&(y=e),h=e,e=DC(e)?TQ(e)||e.parent:(Dx(e)||DS(e))&&TZ(e)||e.parent}if(a&&m&&(!y||m!==y.symbol)&&(m.isReferenced|=n),!m){if(h&&(T.assertNode(h,N0),h.commonJsModuleIndicator&&"exports"===t&&n&h.symbol.flags))return h.symbol;o||(m=l(e0,t,n))}if(!m&&E&&EZ(E)&&E.parent&&E8(E.parent,!1))return e8;function L(){return!!g&&!(eG&&Ct(eO)>=9)&&(rR(S,S&&g.type&&mF(g.type,S.pos)?tA.Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:tA.Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor,bE(g.name),r4(i)),!0)}if(m){if(r&&L())return}else{r&&eb(()=>{if(!S||!function(e,t,n){if(!wb(e)||e.escapedText!==t||Ll(e)||fx(e))return!1;let r=ET(e,!1,!1),i=r;for(;i;){if(yW(i.parent)){let a=i7(i.parent);if(!a)break;if(le(oC(a),t))return rR(e,tA.Cannot_find_name_0_Did_you_mean_the_static_member_1_0,r4(n),aR(a)),!0;if(i===r&&!S5(i)&&le(oQ(a).thisType,t))return rR(e,tA.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0,r4(n)),!0}i=i.parent}return!1}(S,t,i)&&!L()&&!r8(S)&&!function(e,t,n){let r=1920|(EZ(e)?111551:0);if(n===r){let n=iI(r0(e,t,788968&~r,void 0,void 0,!1)),i=e.parent;if(n){if(wM(i)){T.assert(i.left===e,"Should only be resolving left side of qualified name as a namespace");let r=i.right.escapedText;if(le(oQ(n),r))return rR(i,tA.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1,hr(t),hr(r)),!0}return rR(e,tA._0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here,hr(t)),!0}}return!1}(S,t,n)&&(!r6(t)||278!==S.parent.kind||(rR(S,tA.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,t),0))&&!function(e,t,n){if(111127&n){if(iI(r0(e,t,1024,void 0,void 0,!1)))return rR(e,tA.Cannot_use_namespace_0_as_a_value,hr(t)),!0}else if(788544&n&&iI(r0(e,t,1536,void 0,void 0,!1)))return rR(e,tA.Cannot_use_namespace_0_as_a_type,hr(t)),!0;return!1}(S,t,n)&&!function(e,t,n){if(111551&n){if(r6(t))return function(e){let t=e.parent.parent,n=t.parent;if(t&&n){let e=Nq(t)&&94===t.token,r=Ns(n);return e&&r}return!1}(e)?rR(e,tA.An_interface_cannot_extend_a_primitive_type_like_0_an_interface_can_only_extend_named_types_and_classes,hr(t)):rR(e,tA._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,hr(t)),!0;let n=iI(r0(e,t,788544,void 0,void 0,!1)),r=n&&iR(n);if(n&&void 0!==r&&!(111551&r)){let r=hr(t);return function(e){switch(e){case"Promise":case"Symbol":case"Map":case"WeakMap":case"Set":case"WeakSet":return!0}return!1}(t)?rR(e,tA._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later,r):function(e,t){let n=m9(e.parent,e=>!(wP(e)||wU(e))&&(w2(e)||"quit"));if(n&&1===n.members.length){let e=oQ(t);return!!(1048576&e.flags)&&b1(e,384,!0)}return!1}(e,n)?rR(e,tA._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0,r,"K"===r?"P":"K"):rR(e,tA._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,r),!0}}return!1}(S,t,n)&&!function(e,t,n){if(788584&n){let n=iI(r0(e,t,111127,void 0,void 0,!1));if(n&&!(1920&n.flags))return rR(e,tA._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,hr(t)),!0}return!1}(S,t,n)){let e,a,o,l;if(i&&(o=r4(i),a=(l=v2().get(o))&&uq(l.keys()))&&rR(S,r,r4(i),a),!a&&s&&n8<10&&((null==(e=y5(E,t,n))?void 0:e.valueDeclaration)&&v7(e.valueDeclaration)&&bi(e.valueDeclaration)&&(e=void 0),e)){let t=aR(e),r=yJ(E,e,!1),a=rw(S,1920===n||i&&"string"!=typeof i&&x1(i)?tA.Cannot_find_namespace_0_Did_you_mean_1:r?tA.Could_not_find_name_0_Did_you_mean_1:tA.Cannot_find_name_0_Did_you_mean_1,r4(i),t);rN(!r,a),e.valueDeclaration&&kl(a,bC(e.valueDeclaration,tA._0_is_declared_here,t))}e||a||!i||rR(S,r,r4(i)),n8++}});return}return r&&eb(()=>{if(S&&(2&n||(32&n||384&n)&&(111551&n)==111551)){let e=aa(m);(2&e.flags||32&e.flags||384&e.flags)&&function(e,t){var n;if(T.assert(!!(2&e.flags||32&e.flags||384&e.flags)),67108881&e.flags&&32&e.flags)return;let r=null==(n=e.declarations)?void 0:n.find(e=>v3(e)||yW(e)||263===e.kind);if(void 0===r)return T.fail("checkResolvedBlockScopedVariable could not find block-scoped declaration");if(!(16777216&r.flags)&&!rZ(r,t)){let n;let i=bE(hp(r));2&e.flags?n=rR(t,tA.Block_scoped_variable_0_used_before_its_declaration,i):32&e.flags?n=rR(t,tA.Class_0_used_before_its_declaration,i):256&e.flags?n=rR(t,tA.Enum_0_used_before_its_declaration,i):(T.assert(!!(128&e.flags)),Cv(eO)&&(n=rR(t,tA.Enum_0_used_before_its_declaration,i))),n&&kl(n,bC(r,tA._0_is_declared_here,i))}}(e,S)}if(m&&A&&(111551&n)==111551&&!(8388608&E.flags)){let e=i5(m);dW(e.declarations)&&dZ(e.declarations,e=>Np(e)||N0(e)&&!!e.symbol.globalExports)&&rD(!eO.allowUmdGlobalAccess,S,tA._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead,hr(t))}if(m&&v&&!x&&(111551&n)==111551){let e=i5(so(m)),t=xZ(v);e===i7(v)?rR(S,tA.Parameter_0_cannot_reference_itself,bE(v.name)):e.valueDeclaration&&e.valueDeclaration.pos>v.pos&&t.parent.locals&&l(t.parent.locals,e.escapedName,n)===e&&rR(S,tA.Parameter_0_cannot_reference_identifier_1_declared_after_it,bE(v.name),bE(S))}if(m&&S&&111551&n&&2097152&m.flags&&!(111551&m.flags)&&!kv(S)){let e=iO(m,111551);if(e){let n=278===e.kind||275===e.kind||277===e.kind?tA._0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:tA._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type,r=hr(t);r2(rR(S,n,r),e,r)}}}),m}function r2(e,t,n){return t?kl(e,bC(t,278===t.kind||275===t.kind||277===t.kind?tA._0_was_exported_here:tA._0_was_imported_here,n)):e}function r4(e){return _v(e)?hr(e):bE(e)}function r8(e){let t=function e(t){switch(t.kind){case 79:case 208:return t.parent?e(t.parent):void 0;case 230:if(AI(t.expression))return t.expression;default:return}}(e);return!!(t&&iB(t,64,!0))&&(rR(e,tA.Cannot_extend_an_interface_0_Did_you_mean_implements,v$(t)),!0)}function r6(e){return"any"===e||"string"===e||"number"===e||"boolean"===e||"never"===e||"unknown"===e}function r3(e,t,n){return!!t&&!!m9(e,e=>e===t||!!(e===n||yF(e)&&(!EC(e)||xD(e)))&&"quit")}function r5(e){switch(e.kind){case 268:return e;case 270:return e.parent;case 271:return e.parent.parent;case 273:return e.parent.parent.parent;default:return}}function r7(e){return e.declarations&&d1(e.declarations,r9)}function r9(e){return 268===e.kind||267===e.kind||270===e.kind&&!!e.name||271===e.kind||277===e.kind||273===e.kind||278===e.kind||274===e.kind&&xf(e)||RR(e)&&2===Tf(e)&&xf(e)||Lw(e)&&RR(e.parent)&&e.parent.left===e&&63===e.parent.operatorToken.kind&&ie(e.parent.right)||300===e.kind||299===e.kind&&ie(e.initializer)||257===e.kind&&E3(e)||205===e.kind&&E3(e.parent.parent)}function ie(e){return xp(e)||Rx(e)&&vm(e)}function it(e,t,n,r){let i=e.exports.get("export="),a=i?le(oC(i),t,!0):e.exports.get(t),o=iI(a,r);return iN(n,a,o,!1),o}function ir(e){return NS(e)&&!e.isExportEquals||S3(e,1024)||NC(e)}function ii(e){return g8(e)?VI(vS(e),e):void 0}function ia(e,t){return 99===e&&1===t}function io(e){return 99===ii(e)&&_Z(e.text,".json")}function is(e,t,n,r){let i=e&&ii(r);if(e&&void 0!==i){let t=ia(i,e.impliedNodeFormat);if(99===i||t)return t}if(!eB)return!1;if(!e||e.isDeclarationFile){let e=it(t,"default",void 0,!0);return!(e&&uv(e.declarations,ir)||it(t,hn("__esModule"),void 0,n))}return EZ(e)?"object"!=typeof e.externalModuleIndicator&&!it(t,hn("__esModule"),void 0,n):iZ(t)}function ic(e,t,n){var r;let i;i=bn(e)?e:it(e,"default",t,n);let a=null==(r=e.declarations)?void 0:r.find(N0),o=id(t);if(!o)return i;let s=io(o),l=is(a,e,n,o);if(i||l||s){if(l||s){let r=iY(e,n)||iI(e,n);return iN(t,e,r,!1),r}}else if(iZ(e)&&!(Cp(eO)||C_(eO))){let n=eP>=5?"allowSyntheticDefaultImports":"esModuleInterop",r=e.exports.get("export=").valueDeclaration,i=rR(t.name,tA.Module_0_can_only_be_default_imported_using_the_1_flag,aR(e),n);r&&kl(i,bC(r,tA.This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,n))}else Nh(t)?function(e,t){var n,r,i;if(null==(n=e.exports)?void 0:n.has(t.symbol.escapedName))rR(t.name,tA.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead,aR(e),aR(t.symbol));else{let n=rR(t.name,tA.Module_0_has_no_default_export,aR(e)),a=null==(r=e.exports)?void 0:r.get("__export");if(a){let e=null==(i=a.declarations)?void 0:i.find(e=>{var t,n;return!!(NA(e)&&e.moduleSpecifier&&(null==(n=null==(t=ij(e,e.moduleSpecifier))?void 0:t.exports)?void 0:n.has("default")))});e&&kl(n,bC(e,tA.export_Asterisk_does_not_re_export_a_default))}}}(e,t):im(e,e,t,yb(t)&&t.propertyName||t.name);return iN(t,i,void 0,!1),i}function id(e){switch(e.kind){case 270:return e.parent.moduleSpecifier;case 268:return ND(e.moduleReference)?e.moduleReference.expression:void 0;case 271:case 278:return e.parent.parent.moduleSpecifier;case 273:return e.parent.parent.parent.moduleSpecifier;default:return T.assertNever(e)}}function iu(e,t,n=!1){var r;let i=EX(e)||e.moduleSpecifier,a=ij(e,i),o=!Rh(t)&&t.propertyName||t.name;if(!wb(o))return;let s=i$(a,i,!1,"default"===o.escapedText&&!!(eO.allowSyntheticDefaultImports||C_(eO)));if(s&&o.escapedText){let l;if(bn(a))return a;l=a&&a.exports&&a.exports.get("export=")?le(oC(s),o.escapedText,!0):function(e,t){if(3&e.flags){let n=e.valueDeclaration.type;if(n)return iI(le(d8(n),t))}}(s,o.escapedText),l=iI(l,n);let c=function(e,t,n,r){var i;if(1536&e.flags){let a=i4(e).get(t.escapedText),o=iI(a,r);return iN(n,a,o,!1,null==(i=rX(e).typeOnlyExportStarMap)?void 0:i.get(t.escapedText),t.escapedText),o}}(s,o,t,n);if(void 0===c&&"default"===o.escapedText){let e=null==(r=a.declarations)?void 0:r.find(N0);(io(i)||is(e,a,n,i))&&(c=iY(a,n)||iI(a,n))}let d=c&&l&&c!==l?function(e,t){if(e===ty&&t===ty)return ty;if(790504&e.flags)return e;let n=rG(e.flags|t.flags,e.escapedName);return T.assert(e.declarations||t.declarations),n.declarations=uS(uE(e.declarations,t.declarations),_P),n.parent=e.parent||t.parent,e.valueDeclaration&&(n.valueDeclaration=e.valueDeclaration),t.members&&(n.members=new Map(t.members)),e.exports&&(n.exports=new Map(e.exports)),n}(l,c):c||l;return d||im(a,s,e,o),d}}function im(e,t,n,r){var i;let a=iG(e,n),o=bE(r),s=y7(r,t);if(void 0!==s){let e=aR(s),t=rR(r,tA._0_has_no_exported_member_named_1_Did_you_mean_2,a,o,e);s.valueDeclaration&&kl(t,bC(s.valueDeclaration,tA._0_is_declared_here,e))}else(null==(i=e.exports)?void 0:i.has("default"))?rR(r,tA.Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead,a,o):function(e,t,n,r,i){var a,o;let s=null==(o=null==(a=_E(r.valueDeclaration,gR))?void 0:a.locals)?void 0:o.get(t.escapedText),l=r.exports;if(s){let r=null==l?void 0:l.get("export=");if(r)ai(r,s)?eP>=5?rR(t,C_(eO)?tA._0_can_only_be_imported_by_using_a_default_import:tA._0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import,n):EZ(e)?rR(t,C_(eO)?tA._0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:tA._0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import,n):rR(t,C_(eO)?tA._0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:tA._0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import,n,n,i):rR(t,tA.Module_0_has_no_exported_member_1,i,n);else{let e=l?d0(lf(l),e=>!!ai(e,s)):void 0,r=e?rR(t,tA.Module_0_declares_1_locally_but_it_is_exported_as_2,i,n,aR(e)):rR(t,tA.Module_0_declares_1_locally_but_it_is_not_exported,i,n);s.declarations&&kl(r,...un(s.declarations,(e,t)=>bC(e,0===t?tA._0_is_declared_here:tA.and_here,n)))}}else rR(t,tA.Module_0_has_no_exported_member_1,i,n)}(n,r,o,e,a)}function ih(e){if(Nr(e)&&e.initializer&&Rh(e.initializer))return e.initializer}function iv(e,t,n){if("default"===hi(e.propertyName||e.name)){let t=id(e),r=t&&ij(e,t);if(r)return ic(r,e,!!n)}let r=e.parent.parent.moduleSpecifier?iu(e.parent.parent,e,n):iB(e.propertyName||e.name,t,!1,n);return iN(e,void 0,r,!1),r}function iE(e,t){return RP(e)?Eg(e).symbol:yO(e)||AI(e)?iB(e,901119,!0,t)||(Eg(e),rY(e).resolvedSymbol):void 0}function iT(e,t=!1){switch(e.kind){case 268:case 257:return function(e,t){let n=ih(e);if(n){let e=LO(n.expression).arguments[0];return wb(n.name)?iI(le(lS(e),n.name.escapedText)):void 0}if(Nr(e)||280===e.moduleReference.kind){let t=ij(e,EX(e)||EJ(e)),n=iY(t);return iN(e,t,n,!1),n}let r=iF(e.moduleReference,t);return function(e,t){if(iN(e,void 0,t,!1)&&!e.isTypeOnly){let t=iO(i7(e)),n=278===t.kind||275===t.kind,r=n?tA.An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:tA.An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type,i=n?tA._0_was_exported_here:tA._0_was_imported_here,a=275===t.kind?"*":hr(t.name.escapedText);kl(rR(e.moduleReference,r),bC(t,i,a))}}(e,r),r}(e,t);case 270:return function(e,t){let n=ij(e,e.parent.moduleSpecifier);if(n)return ic(n,e,t)}(e,t);case 271:let n,r,i;return n=e.parent.parent.moduleSpecifier,i=i$(r=ij(e,n),n,t,!1),iN(e,r,i,!1),i;case 277:let a,o,s;return o=(a=e.parent.moduleSpecifier)&&ij(e,a),s=a&&i$(o,a,t,!1),iN(e,o,s,!1),s;case 273:case 205:return function(e,t){if(Nx(e)&&"default"===hi(e.propertyName||e.name)){let n=id(e),r=n&&ij(e,n);if(r)return ic(r,e,t)}let n=Rp(e)?xZ(e):e.parent.parent.parent,r=ih(n),i=iu(n,r||e,t),a=e.propertyName||e.name;return r&&i&&wb(a)?iI(le(oC(i),a.escapedText),t):(iN(e,void 0,i,!1),i)}(e,t);case 278:return iv(e,901119,t);case 274:case 223:let l;return l=iE(NS(e)?e.expression:e.right,t),iN(e,void 0,l,!1),l;case 267:return function(e,t){if(gw(e.parent)){let n=iY(e.parent.symbol,t);return iN(e,void 0,n,!1),n}}(e,t);case 300:return iB(e.name,901119,!0,t);case 299:return iE(e.initializer,t);case 209:case 208:return function(e,t){if(RR(e.parent)&&e.parent.left===e&&63===e.parent.operatorToken.kind)return iE(e.parent.right,t)}(e,t);default:return T.fail()}}function ik(e,t=901119){return!!e&&((e.flags&(2097152|t))==2097152||!!(2097152&e.flags&&67108864&e.flags))}function iI(e,t){return!t&&ik(e)?iw(e):e}function iw(e){T.assert((2097152&e.flags)!=0,"Should only get Alias here.");let t=rX(e);if(t.aliasTarget)t.aliasTarget===tg&&(t.aliasTarget=ty);else{t.aliasTarget=tg;let n=r7(e);if(!n)return T.fail();let r=iT(n);t.aliasTarget===tg?t.aliasTarget=r||ty:rR(n,tA.Circular_definition_of_import_alias_0,aR(e))}return t.aliasTarget}function iR(e){let t,n=e.flags;for(;2097152&e.flags;){let r=iw(e);if(r===ty)return 67108863;if(r===e||(null==t?void 0:t.has(r)))break;2097152&r.flags&&(t?t.add(r):t=new Set([e,r])),n|=r.flags,e=r}return n}function iN(e,t,n,r,i,a){if(!e||Rh(e))return!1;let o=i7(e);if(yx(e))return rX(o).typeOnlyDeclaration=e,!0;if(i){let e=rX(o);return e.typeOnlyDeclaration=i,o.escapedName!==a&&(e.typeOnlyExportStarName=a),!0}let s=rX(o);return iD(s,t,r)||iD(s,n,r)}function iD(e,t,n){var r,i,a;if(t&&(void 0===e.typeOnlyDeclaration||n&&!1===e.typeOnlyDeclaration)){let n=null!=(i=null==(r=t.exports)?void 0:r.get("export="))?i:t,o=n.declarations&&d0(n.declarations,yx);e.typeOnlyDeclaration=null!=(a=null!=o?o:rX(n).typeOnlyDeclaration)&&a}return!!e.typeOnlyDeclaration}function iO(e,t){if(!(2097152&e.flags))return;let n=rX(e);return void 0===t?n.typeOnlyDeclaration||void 0:n.typeOnlyDeclaration&&iR(275===n.typeOnlyDeclaration.kind?iI(i8(n.typeOnlyDeclaration.symbol.parent).get(n.typeOnlyExportStarName||e.escapedName)):iw(n.typeOnlyDeclaration.symbol))&t?n.typeOnlyDeclaration:void 0}function iM(e){if(eO.verbatimModuleSyntax)return;let t=i7(e),n=iw(t);n&&(n===ty||111551&iR(n)&&!Lj(n)&&!iO(t,111551))&&iP(t)}function iP(e){T.assert(!eO.verbatimModuleSyntax);let t=rX(e);if(!t.referenced){t.referenced=!0;let n=r7(e);if(!n)return T.fail();EY(n)&&111551&iR(iI(e))&&Eg(n.moduleReference)}}function iF(e,t){return(79===e.kind&&AM(e)&&(e=e.parent),79===e.kind||163===e.parent.kind)?iB(e,1920,!1,t):(T.assert(268===e.parent.kind),iB(e,901119,!1,t))}function iG(e,t){return e.parent?iG(e.parent,t)+"."+aR(e):aR(e,t,void 0,36)}function iB(e,t,n,r,i){let a;if(vN(e))return;let o=1920|(EZ(e)?111551&t:0);if(79===e.kind){let r=t===o||x1(e)?tA.Cannot_find_namespace_0:fE(Aw(e)),s=EZ(e)&&!x1(e)?function(e,t){if(ct(e.parent)){let n=function(e){if(m9(e,e=>gz(e)||8388608&e.flags?TB(e):"quit"))return;let t=T1(e);if(t&&R$(t)&&TL(t.expression)){let e=i7(t.expression.left);if(e)return iV(e)}if(t&&Rx(t)&&TL(t.parent)&&R$(t.parent.parent)){let e=i7(t.parent.left);if(e)return iV(e)}if(t&&(El(t)||NX(t))&&RR(t.parent.parent)&&6===Tf(t.parent.parent)){let e=i7(t.parent.parent.left);if(e)return iV(e)}let n=T0(e);if(n&&yF(n)){let e=i7(n);return e&&e.valueDeclaration}}(e.parent);if(n)return r0(n,e.escapedText,t,void 0,e,!0)}}(e,t):void 0;if(!(a=i5(r0(i||e,e.escapedText,t,n||s?void 0:r,e,!0,!1))))return i5(s)}else if(163===e.kind||208===e.kind){let r=163===e.kind?e.left:e.expression,s=163===e.kind?e.right:e.name,l=iB(r,o,n,!1,i);if(!l||vN(s))return;if(l===ty)return l;if(l.valueDeclaration&&EZ(l.valueDeclaration)&&100!==Ci(eO)&&Nr(l.valueDeclaration)&&l.valueDeclaration.initializer&&vI(l.valueDeclaration.initializer)){let e=l.valueDeclaration.initializer.arguments[0],t=ij(e,e);if(t){let e=iY(t);e&&(l=e)}}if(!(a=i5(rQ(i4(l),s.escapedText,t)))){if(!n){let n=iG(l),r=bE(s),i=y7(s,l);if(i){rR(s,tA._0_has_no_exported_member_named_1_Did_you_mean_2,n,r,aR(i));return}let a=wM(e)&&function(e){for(;wM(e.parent);)e=e.parent;return e}(e);if(f&&788968&t&&a&&!RL(a.parent)&&function(e){let t=Aw(e),n=r0(t,t.escapedText,111551,void 0,t,!0);if(n){for(;wM(t.parent);){if(!(n=le(oC(n),t.parent.right.escapedText)))return;t=t.parent}return n}}(a)){rR(a,tA._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,bL(a));return}if(1920&t&&wM(e.parent)){let t=i5(rQ(i4(l),s.escapedText,788968));if(t){rR(e.parent.right,tA.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1,aR(t),hr(e.parent.right.escapedText));return}}rR(s,tA.Namespace_0_has_no_exported_member_1,n,r)}return}}else throw T.assertNever(e,"Unknown entity name kind.");return T.assert((1&Lc(a))==0,"Should never get an instantiated symbol here."),!x1(e)&&yO(e)&&(2097152&a.flags||274===e.parent.kind)&&iN(x_(e),a,void 0,!0),a.flags&t||r?a:iw(a)}function iV(e){let t=e.parent.valueDeclaration;if(t)return(Tn(t)?Ta(t):g0(t)?Ti(t):void 0)||t}function ij(e,t,n){let r=1===Ci(eO)?tA.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_to_the_paths_option:tA.Cannot_find_module_0_or_its_corresponding_type_declarations;return iq(e,t,n?void 0:r)}function iq(e,t,n,r=!1){return g8(t)?iJ(e,t.text,n,t,r):void 0}function iJ(t,n,r,i,a=!1){var o,s,l,c,d,u,f,m,h;pn(n,"@types/")&&rR(i,tA.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1,pr(n,"@types/"),n);let y=lm(n,!0);if(y)return y;let g=vS(t),v=g8(t)?t:(null==(o=m9(t,bq))?void 0:o.arguments[0])||(null==(s=m9(t,Nm))?void 0:s.moduleSpecifier)||(null==(l=m9(t,Eq))?void 0:l.moduleReference.expression)||(null==(c=m9(t,NA))?void 0:c.moduleSpecifier)||(null==(d=Nd(t)?t:t.parent&&Nd(t.parent)&&t.parent.name===t?t.parent:void 0)?void 0:d.name)||(null==(u=bX(t)?t:void 0)?void 0:u.argument.literal),b=v&&g8(v)?VI(g,v):g.impliedNodeFormat,E=Ci(eO),x=vp(g,n,b),S=x&&V$(eO,x,g),A=x&&(!S||S===tA.Module_0_was_resolved_to_1_but_jsx_is_not_set)&&e.getSourceFile(x.resolvedFileName);if(A){if(S&&rR(i,S,n,x.resolvedFileName),x.resolvedUsingTsExtension&&Mf(n)){let e=(null==(f=m9(t,Nm))?void 0:f.importClause)||m9(t,ps(Nf,NA));(e&&!e.isTypeOnly||m9(t,bq))&&rR(i,tA.A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_file_0_instead,function(e){let t=C6(n,e);if(Cr(eP)||99===b){let r=Mf(n)&&FB(eO);return t+(".mts"===e||".d.mts"===e?r?".mts":".mjs":".cts"===e||".d.mts"===e?r?".cts":".cjs":r?".ts":".js")}return t}(T.checkDefined(AV(n))))}else if(x.resolvedUsingTsExtension&&!FB(eO,g.fileName)){let e=T.checkDefined(AV(n));rR(i,tA.An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled,e)}if(A.symbol){if(x.isExternalLibraryImport&&!kt(x.extension)&&iX(!1,i,g,b,x,n),3===E||99===E){let e=1===g.impliedNodeFormat&&!m9(t,bq)||!!m9(t,Nf),r=m9(t,e=>Rl(e)||NA(e)||Nm(e)),a=r&&Rl(r)?null==(m=r.assertions)?void 0:m.assertClause:null==r?void 0:r.assertClause;if(e&&99===A.impliedNodeFormat&&!Vw(a)){if(m9(t,Nf))rR(i,tA.Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_with_require_Use_an_ECMAScript_import_instead,n);else{let e;let t=ki(g.fileName);if(".ts"===t||".js"===t||".tsx"===t||".jsx"===t){let n=g.packageJsonScope,r=".ts"===t?".mts":".js"===t?".mjs":void 0;e=n&&!n.contents.packageJsonContent.type?r?L2(void 0,tA.To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Colon_module_to_1,r,fA(n.packageDirectory,"package.json")):L2(void 0,tA.To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0,fA(n.packageDirectory,"package.json")):r?L2(void 0,tA.To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_package_json_file_with_type_Colon_module,r):L2(void 0,tA.To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module)}r_.add(bw(vS(i),i,L2(e,tA.The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_referenced_file_is_an_ECMAScript_module_and_cannot_be_imported_with_require_Consider_writing_a_dynamic_import_0_call_instead,n)))}}}return i5(A.symbol)}return void(r&&rR(i,tA.File_0_is_not_a_module,A.fileName))}if(_){let e=pt(_,e=>e.pattern,n);if(e){let t=p&&p.get(n);return t?i5(t):i5(e.symbol)}}if(x&&!kt(x.extension)&&void 0===S||S===tA.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type){a?rR(i,tA.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented,n,x.resolvedFileName):iX(eK&&!!r,i,g,b,x,n);return}if(r){if(x){let t=e.getProjectReferenceRedirect(x.resolvedFileName);if(t){rR(i,tA.Output_file_0_has_not_been_built_from_source_file_1,t,x.resolvedFileName);return}}if(S)rR(i,S,n,x.resolvedFileName);else{let t=fl(n)&&!fd(n);if(!Cy(eO)&&fu(n,".json")&&1!==E&&Co(eO))rR(i,tA.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension,n);else if(99===b&&(3===E||99===E)&&t){let t=fk(n,fy(g.path)),r=null==(h=rx.find(([n,r])=>e.fileExists(t+n)))?void 0:h[1];r?rR(i,tA.Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node16_or_nodenext_Did_you_mean_0,n+r):rR(i,tA.Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node16_or_nodenext_Consider_adding_an_extension_to_the_import_path)}else rR(i,r,n)}}}function iX(e,t,n,r,{packageId:i,resolvedFileName:a},o){var s,l,c,d;let u;if(!mR(o)&&i){let e=null==(l=null==(s=n.resolvedModules)?void 0:s.get(o,r))?void 0:l.node10Result;u=e?L2(void 0,tA.There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The_1_library_may_need_to_update_its_package_json_or_typings,e,e.indexOf(il+"@types/")>-1?`@types/${FO(i.name)}`:i.name):(c=i.name,eg().has(FD(c)))?L2(void 0,tA.If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1,i.name,FO(i.name)):(d=i.name,eg().get(d))?L2(void 0,tA.If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1,i.name,o):L2(void 0,tA.Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,o,FO(i.name))}rD(e,t,L2(u,tA.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,o,a))}function iY(e,t){if(null==e?void 0:e.exports){let n=function(e,t){if(!e||e===ty||e===t||1===t.exports.size||2097152&e.flags)return e;let n=rX(e);if(n.cjsExportMerged)return n.cjsExportMerged;let r=33554432&e.flags?e:rH(e);return r.flags=512|r.flags,void 0===r.exports&&(r.exports=vt()),t.exports.forEach((e,t)=>{"export="!==t&&r.exports.set(t,r.exports.has(t)?rK(r.exports.get(t),e):e)}),rX(r).cjsExportMerged=r,n.cjsExportMerged=r}(i5(iI(e.exports.get("export="),t)),i5(e));return i5(n)||e}}function i$(e,t,n,r){var i;let a=iY(e,n);if(!n&&a){if(!r&&!(1539&a.flags)&&!g9(a,308)){let e=eP>=5?"allowSyntheticDefaultImports":"esModuleInterop";return rR(t,tA.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export,e),a}let n=t.parent;if(Nm(n)&&TO(n)||bq(n)){let t=bq(n)?n.arguments[0]:n.moduleSpecifier,r=oC(a),o=vT(r,a,e,t);if(o)return iQ(a,o,n);let s=null==(i=null==e?void 0:e.declarations)?void 0:i.find(N0),l=s&&ia(ii(t),s.impliedNodeFormat);if(C_(eO)||l){let i=lt(r,0);if(i&&i.length||(i=lt(r,1)),i&&i.length||le(r,"default",!0)||l){let i=vk(r,a,e,t);return iQ(a,i,n)}}}}return a}function iQ(e,t,n){let r=rG(e.flags,e.escapedName);r.declarations=e.declarations?e.declarations.slice():[],r.parent=e.parent,r.links.target=e,r.links.originatingImport=n,e.valueDeclaration&&(r.valueDeclaration=e.valueDeclaration),e.constEnumOnlyModule&&(r.constEnumOnlyModule=!0),e.members&&(r.members=new Map(e.members)),e.exports&&(r.exports=new Map(e.exports));let i=sM(t);return r.links.type=ah(r,i.members,o,o,i.indexInfos),r}function iZ(e){return void 0!==e.exports.get("export=")}function i0(e){return lf(i8(e))}function i1(e,t){let n=i8(t);if(n)return n.get(e)}function i2(e){return!(134348796&e.flags||1<(e)||_1(e)||pT(e))}function i4(e){return 6256&e.flags?si(e,"resolvedExports"):1536&e.flags?i8(e):e.exports||eN}function i8(e){let t=rX(e);if(!t.resolvedExports){let{exports:n,typeOnlyExportStarMap:r}=i3(e);t.resolvedExports=n,t.typeOnlyExportStarMap=r}return t.resolvedExports}function i6(e,t,n,r){t&&t.forEach((t,i)=>{if("default"===i)return;let a=e.get(i);if(a){if(n&&r&&a&&iI(a)!==iI(t)){let e=n.get(i);e.exportsWithDuplicate?e.exportsWithDuplicate.push(r):e.exportsWithDuplicate=[r]}}else e.set(i,t),n&&r&&n.set(i,{specifierText:v$(r.moduleSpecifier)})})}function i3(e){let t;let n=[],r=new Set,i=function e(i,a,o){if(!o&&(null==i?void 0:i.exports)&&i.exports.forEach((e,t)=>r.add(t)),!(i&&i.exports&&uF(n,i)))return;let s=new Map(i.exports),l=i.exports.get("__export");if(l){let t=vt(),n=new Map;if(l.declarations)for(let r of l.declarations)i6(t,e(ij(r,r.moduleSpecifier),r,o||r.isTypeOnly),n,r);n.forEach(({exportsWithDuplicate:e},t)=>{if(!("export="===t||!(e&&e.length)||s.has(t)))for(let r of e)r_.add(bC(r,tA.Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity,n.get(t).specifierText,hr(t)))}),i6(s,t)}return(null==a?void 0:a.isTypeOnly)&&(null!=t||(t=new Map),s.forEach((e,n)=>t.set(n,a))),s}(e=iY(e))||eN;return t&&r.forEach(e=>t.delete(e)),{exports:i,typeOnlyExportStarMap:t}}function i5(e){let t;return e&&e.mergeId&&(t=n6[e.mergeId])?t:e}function i7(e){return i5(e.symbol&&so(e.symbol))}function i9(e){return gw(e)?i7(e):void 0}function ae(e){return i5(e.parent&&so(e.parent))}function at(t,n,r){let i=ae(t);if(i&&!(262144&t.flags)){let a=uu(i.declarations,function(e){return i&&an(e,i)}),s=n&&function(t,n){let r;let i=vS(n),a=Gv(i),s=rX(t);if(s.extendedContainersByFile&&(r=s.extendedContainersByFile.get(a)))return r;if(i&&i.imports){for(let e of i.imports){if(x1(e))continue;let i=ij(n,e,!0);i&&ar(i,t)&&(r=uD(r,i))}if(dW(r))return(s.extendedContainersByFile||(s.extendedContainersByFile=new Map)).set(a,r),r}if(s.extendedContainers)return s.extendedContainers;for(let n of e.getSourceFiles()){if(!Md(n))continue;let e=i7(n);ar(e,t)&&(r=uD(r,e))}return s.extendedContainers=r||o}(t,n),l=function(e,t){let n=!!dW(e.declarations)&&uz(e.declarations);if(111551&t&&n&&n.parent&&Nr(n.parent)&&(Rm(n)&&n===n.parent.initializer||w2(n)&&n===n.parent.type))return i7(n.parent)}(i,r);if(n&&i.flags&ag(r)&&av(i,n,1920,!1))return uD(uE(uE([i],a),s),l);let c=!(i.flags&ag(r))&&788968&i.flags&&524288&oQ(i).flags&&111551===r?ay(n,e=>vl(e,e=>{if(e.flags&ag(r)&&oC(e)===oQ(i))return e})):void 0,d=c?[c,...a,i]:[...a,i];return uP(d=uD(d,l),s)}let a=uu(t.declarations,e=>{if(!v7(e)&&e.parent){if(ak(e.parent))return i7(e.parent);if(Nu(e.parent)&&e.parent.parent&&iY(i7(e.parent.parent))===t)return i7(e.parent.parent)}if(RP(e)&&RR(e.parent)&&63===e.parent.operatorToken.kind&&Lw(e.parent.left)&&AI(e.parent.left.expression))return Tp(e.parent.left)||Tu(e.parent.left.expression)?i7(vS(e)):(Eg(e.parent.left.expression),rY(e.parent.left.expression).resolvedSymbol)});if(dW(a))return uu(a,e=>ar(e,t)?e:void 0)}function an(e,t){let n=aL(e),r=n&&n.exports&&n.exports.get("export=");return r&&ai(r,t)?n:void 0}function ar(e,t){if(e===ae(t))return t;let n=e.exports&&e.exports.get("export=");if(n&&ai(n,t))return e;let r=i4(e),i=r.get(t.escapedName);return i&&ai(i,t)?i:vl(r,e=>{if(ai(e,t))return e})}function ai(e,t){if(i5(iI(i5(e)))===i5(iI(i5(t))))return e}function aa(e){return i5(e&&(1048576&e.flags)!=0&&e.exportSymbol||e)}function ao(e,t){return!!(111551&e.flags||2097152&e.flags&&111551&iR(e)&&(t||!iO(e)))}function as(e){for(let t of e.members)if(173===t.kind&&vD(t.body))return t}function al(e){var t;let n=new ex(e3,e);return eA++,n.id=eA,null==(t=Q)||t.recordType(n),n}function ac(e,t){let n=al(e);return n.symbol=t,n}function ad(e,t,n=0){let r=al(e);return r.intrinsicName=t,r.objectFlags=n,r}function au(e,t){let n=ac(524288,t);return n.objectFlags=e,n.members=void 0,n.properties=void 0,n.callSignatures=void 0,n.constructSignatures=void 0,n.indexInfos=void 0,n}function a_(e){return ac(262144,e)}function ap(e){return 95===e.charCodeAt(0)&&95===e.charCodeAt(1)&&95!==e.charCodeAt(2)&&64!==e.charCodeAt(2)&&35!==e.charCodeAt(2)}function af(e){let t;return e.forEach((e,n)=>{!ap(n)&&ao(e)&&(t||(t=[])).push(e)}),t||o}function am(e,t,n,r,i){return e.members=t,e.properties=o,e.callSignatures=n,e.constructSignatures=r,e.indexInfos=i,t!==eN&&(e.properties=af(t)),e}function ah(e,t,n,r,i){return am(au(16,e),t,n,r,i)}function ay(e,t){let n;for(let r=e;r;r=r.parent){if(gR(r)&&r.locals&&!r$(r)&&(n=t(r.locals,void 0,!0,r)))return n;switch(r.kind){case 308:if(!bU(r))break;case 264:let e=i7(r);if(n=t((null==e?void 0:e.exports)||eN,void 0,!0,r))return n;break;case 260:case 228:case 261:let i;if((i7(r).members||eN).forEach((e,t)=>{788968&e.flags&&(i||(i=vt())).set(t,e)}),i&&(n=t(i,void 0,!1,r)))return n}}return t(e0,void 0,!0)}function ag(e){return 111551===e?111551:1920}function av(e,t,n,r,i=new Map){if(!(e&&!function(e){if(e.declarations&&e.declarations.length){for(let t of e.declarations)switch(t.kind){case 169:case 171:case 174:case 175:continue;default:return!1}return!0}return!1}(e)))return;let a=rX(e),o=a.accessibleChainCache||(a.accessibleChainCache=new Map),s=ay(t,(e,t,n,r)=>r),l=`${r?0:1}|${s&&Gv(s)}|${n}`;if(o.has(l))return o.get(l);let c=Gb(e),d=i.get(c);d||i.set(c,d=[]);let u=ay(t,_);return o.set(l,u),u;function _(n,i,a){if(!uF(d,n))return;let o=f(n.get(e.escapedName),void 0,i)?[e]:vl(n,n=>{if(2097152&n.flags&&"export="!==n.escapedName&&"default"!==n.escapedName&&!(LS(n)&&t&&Md(vS(t)))&&(!r||uv(n.declarations,Eq))&&(!a||!uv(n.declarations,Ez))&&(i||!g9(n,278))){let e=iw(n),t=m(n,e,i);if(t)return t}if(n.escapedName===e.escapedName&&n.exportSymbol&&f(i5(n.exportSymbol),void 0,i))return[e]})||(n===e0?m(e2,e2,i):void 0);return d.pop(),o}function p(e,n){return!ab(e,t,n)||!!av(e.parent,t,ag(n),r,i)}function f(t,r,i){return(e===(r||t)||i5(e)===i5(r||t))&&!uv(t.declarations,ak)&&(i||p(i5(t),n))}function m(e,t,r){if(f(e,t,r))return[e];let i=i4(t),a=i&&_(i,!0);if(a&&p(e,ag(n)))return[e].concat(a)}}function ab(e,t,n){let r=!1;return ay(t,t=>{let i=i5(t.get(e.escapedName));if(!i)return!1;if(i===e)return!0;let a=2097152&i.flags&&!g9(i,278);return i=a?iw(i):i,!!((a?iR(i):i.flags)&n)&&(r=!0,!0)}),r}function aE(e,t){return 0===aA(e,t,788968,!1,!0).accessibility}function aT(e,t){return 0===aA(e,t,111551,!1,!0).accessibility}function ax(e,t,n){return 0===aA(e,t,n,!1,!1).accessibility}function aS(e,t,n,r){return aA(e,t,n,r,!0)}function aA(e,t,n,r,i){if(e&&t){let a=function e(t,n,r,i,a,o){let s;if(!dW(t))return;let l=!1;for(let c of t){let t=av(c,n,i,!1);if(t){s=c;let e=aI(t[0],a);if(e)return e}if(o&&uv(c.declarations,ak)){if(a){l=!0;continue}return{accessibility:0}}let d=e(at(c,n,i),n,r,r===c?ag(i):i,a,o);if(d)return d}return l?{accessibility:0}:s?{accessibility:1,errorSymbolName:aR(r,n,i),errorModuleName:s!==r?aR(s,n,1920):void 0}:void 0}([e],t,e,n,r,i);if(a)return a;let o=dz(e.declarations,aL);return o&&o!==aL(t)?{accessibility:2,errorSymbolName:aR(e,t,n),errorModuleName:aR(o),errorNode:EZ(t)?t:void 0}:{accessibility:1,errorSymbolName:aR(e,t,n)}}return{accessibility:0}}function aL(e){let t=m9(e,aC);return t&&i7(t)}function aC(e){return v7(e)||308===e.kind&&bU(e)}function ak(e){return v9(e)||308===e.kind&&bU(e)}function aI(e,t){let n;if(dZ(d9(e.declarations,e=>79!==e.kind),function(t){var n,i;if(!aW(t)){let a=r5(t);if(a&&!S3(a,1)&&aW(a.parent))return r(t,a);if(Nr(t)&&RX(t.parent.parent)&&!S3(t.parent.parent,1)&&aW(t.parent.parent.parent))return r(t,t.parent.parent);if(bh(t)&&!S3(t,1)&&aW(t.parent))return r(t,t);if(Rp(t)){if(2097152&e.flags&&EZ(t)&&(null==(n=t.parent)?void 0:n.parent)&&Nr(t.parent.parent)&&(null==(i=t.parent.parent.parent)?void 0:i.parent)&&RX(t.parent.parent.parent.parent)&&!S3(t.parent.parent.parent.parent,1)&&t.parent.parent.parent.parent.parent&&aW(t.parent.parent.parent.parent.parent))return r(t,t.parent.parent.parent.parent);if(2&e.flags){let e=m9(t,RX);return!!S3(e,1)||!!aW(e.parent)&&r(t,e)}}return!1}return!0}))return{accessibility:0,aliasesToMakeVisible:n};function r(e,r){return t&&(rY(e).isVisible=!0,n=uG(n,r)),!0}}function aw(e,t){let n;n=183!==e.parent.kind&&(230!==e.parent.kind||b4(e.parent))&&164!==e.parent.kind?163===e.kind||208===e.kind||268===e.parent.kind?1920:788968:1160127;let r=Aw(e),i=r0(t,r.escapedText,n,void 0,void 0,!1);return i&&262144&i.flags&&788968&n||!i&&SV(r)&&0===aS(i7(ET(r,!1,!1)),r,n,!1).accessibility?{accessibility:0}:i&&aI(i,!0)||{accessibility:1,errorSymbolName:v$(r),errorNode:r}}function aR(e,t,n,r=4,i){let a=70221824;2&r&&(a|=128),1&r&&(a|=512),8&r&&(a|=16384),32&r&&(a|=134217728),16&r&&(a|=1073741824);let o=4&r?eZ.symbolToNode:eZ.symbolToEntityName;return i?s(i).getText():vu(s);function s(r){let i=o(e,n,t,a),s=(null==t?void 0:t.kind)===308?iW():iK(),l=t&&vS(t);return s.writeNode(4,i,l,r),r}}function aN(e,t,n=0,r,i){return i?a(i).getText():vu(a);function a(i){let a;a=262144&n?1===r?182:181:1===r?177:176;let o=eZ.signatureToSignatureDeclaration(e,a,t,70222336|aF(n)),s=iz(),l=t&&vS(t);return s.writeNode(4,o,l,Sf(i)),i}}function aD(e,t,n=1064960,r=Sp("")){let i=eO.noErrorTruncation||1&n,a=eZ.typeToTypeNode(e,t,70221824|aF(n)|(i?1:0));if(void 0===a)return T.fail("should always get typenode");let o=e!==tL?iK():iH(),s=t&&vS(t);o.writeNode(4,a,s,r);let l=r.getText(),c=i?2*tJ:2*tq;return c&&l&&l.length>=c?l.substr(0,c-3)+"...":l}function aO(e,t){let n=aP(e.symbol)?aD(e,e.symbol.valueDeclaration):aD(e),r=aP(t.symbol)?aD(t,t.symbol.valueDeclaration):aD(t);return n===r&&(n=aM(e),r=aM(t)),[n,r]}function aM(e){return aD(e,void 0,64)}function aP(e){return e&&!!e.valueDeclaration&&gp(e.valueDeclaration)&&!uj(e.valueDeclaration)}function aF(e=0){return 848330091&e}function aG(e){return!!e.symbol&&!!(32&e.symbol.flags)&&(e===oW(e.symbol)||!!(524288&e.flags)&&!!(16777216<(e)))}function aB(e,t,n=16384,r){return r?i(r).getText():vu(i);function i(r){let i=nU.createTypePredicateNode(2===e.kind||3===e.kind?nU.createToken(129):void 0,1===e.kind||3===e.kind?nU.createIdentifier(e.parameterName):nU.createThisTypeNode(),e.type&&eZ.typeToTypeNode(e.type,t,70222336|aF(n))),a=iK(),o=t&&vS(t);return a.writeNode(4,i,o,r),r}}function aU(e){return 8===e?"private":16===e?"protected":"public"}function aV(e){return e&&e.parent&&265===e.parent.kind&&ba(e.parent.parent)}function aj(e){return 308===e.kind||v7(e)}function aH(e,t){let n=rX(e).nameType;if(n){if(384&n.flags){let e=""+n.value;return mA(e,Ct(eO))||kV(e)?kV(e)&&pn(e,"-")?`[${e}]`:e:`"${Si(e,34)}"`}if(8192&n.flags)return`[${aK(n.symbol,t)}]`}}function aK(e,t){if(t&&"default"===e.escapedName&&!(16384&t.flags)&&(!(16777216&t.flags)||!e.declarations||t.enclosingDeclaration&&m9(e.declarations[0],aj)!==m9(t.enclosingDeclaration,aj)))return"default";if(e.declarations&&e.declarations.length){let n=dJ(e.declarations,e=>hp(e)?e:void 0),r=n&&hp(n);if(n&&r){if(Rg(n)&&Tm(n))return ho(e);if(wP(r)&&!(4096&Lc(e))){let n=rX(e).nameType;if(n&&384&n.flags){let n=aH(e,t);if(void 0!==n)return n}}return bE(r)}if(n||(n=e.declarations[0]),n.parent&&257===n.parent.kind)return bE(n.parent.name);switch(n.kind){case 228:case 215:case 216:return!t||t.encounteredError||131072&t.flags||(t.encounteredError=!0),228===n.kind?"(Anonymous class)":"(Anonymous function)"}}let n=aH(e,t);return void 0!==n?n:ho(e)}function aW(e){if(e){let t=rY(e);return void 0===t.isVisible&&(t.isVisible=!!function(){switch(e.kind){case 341:case 349:case 343:return!!(e.parent&&e.parent.parent&&e.parent.parent.parent&&N0(e.parent.parent.parent));case 205:return aW(e.parent.parent);case 257:if(y2(e.name)&&!e.name.elements.length)return!1;case 264:case 260:case 261:case 262:case 259:case 263:case 268:if(ba(e))return!0;let t=aY(e);if(!(1&m8(e))&&!(268!==e.kind&&308!==t.kind&&16777216&t.flags))return r$(t);return aW(t);case 169:case 168:case 174:case 175:case 171:case 170:if(S6(e,24))return!1;case 173:case 177:case 176:case 178:case 166:case 265:case 181:case 182:case 184:case 180:case 185:case 186:case 189:case 190:case 193:case 199:return aW(e.parent);case 270:case 271:case 273:case 274:default:return!1;case 165:case 308:case 267:return!0}}()),t.isVisible}return!1}function az(e,t){let n,r,i;return e.parent&&274===e.parent.kind?n=r0(e,e.escapedText,2998271,void 0,e,!1):278===e.parent.kind&&(n=iv(e.parent,2998271)),n&&((i=new Set).add(Gb(n)),function e(n){dz(n,n=>{let a=r5(n)||n;if(t?rY(n).isVisible=!0:uF(r=r||[],a),EY(n)){let t=Aw(n.moduleReference),r=r0(n,t.escapedText,901119,void 0,void 0,!1);r&&i&&um(i,Gb(r))&&e(r.declarations)}})}(n.declarations)),r}function aq(e,t){let n=aJ(e,t);if(n>=0){let{length:e}=n1;for(let t=n;t=0&&!function(e,t){switch(t){case 0:return!!rX(e).type;case 5:return!!rY(e).resolvedEnumType;case 2:return!!rX(e).declaredType;case 1:return!!e.resolvedBaseConstructorType;case 3:return!!e.resolvedReturnType;case 4:return!!e.immediateBaseConstraint;case 6:return!!e.resolvedTypeArguments;case 7:return!!e.baseTypesResolved;case 8:return!!rX(e).writeType;case 9:return void 0!==rY(e).parameterInitializerContainsUndefined}return T.assertNever(t)}(n1[n],n4[n]);n--)if(n1[n]===e&&n4[n]===t)return n;return -1}function aX(){return n1.pop(),n4.pop(),n2.pop()}function aY(e){return m9(xZ(e),e=>{switch(e.kind){case 257:case 258:case 273:case 272:case 271:case 270:return!1;default:return!0}}).parent}function a$(e,t){let n=le(e,t);return n?oC(n):void 0}function aQ(e){return e&&(1&e.flags)!=0}function aZ(e){return e===tS||!!(1&e.flags&&e.aliasSymbol)}function a0(e,t){if(0!==t)return ot(e,!1,t);let n=i7(e);return n&&rX(n).type||ot(e,!1,t)}function a1(e,t,n){if(131072&(e=f5(e,e=>!(98304&e.flags))).flags)return no;if(1048576&e.flags)return f9(e,e=>a1(e,t,n));let r=cH(un(t,c0)),i=[],a=[];for(let t of sB(e)){let e=c1(t,8576);!u3(e,r)&&!(24&Ld(t))&&dF(t)?i.push(t):a.push(e)}if(dc(e)||dd(r)){if(a.length&&(r=cH([r,...a])),131072&r.flags)return e;let t=(ee||(ee=cd("Omit",2,!0)||ty),ee===ty?void 0:ee);return t?l4(t,[e,r]):tS}let s=vt();for(let e of i)s.set(e.escapedName,dG(e,!1));let l=ah(n,s,o,o,ls(e));return l.objectFlags|=4194304,l}function a2(e){return!!(465829888&e.flags)&&bZ(sz(e)||tI,32768)}function a4(e){return fH(f6(e,a2)?f9(e,e=>465829888&e.flags?sq(e):e):e,524288)}function a8(e,t){let n=function e(t){let n=function(t){let n=t.parent.parent;switch(n.kind){case 205:case 299:return e(n);case 206:return e(t.parent);case 257:return n.initializer;case 223:return n.right}}(t);if(n&&TW(n)&&n.flowNode){let e=a6(t);if(e){let r=OV(rT.createStringLiteral(e),t),i=gs(n)?n:rT.createParenthesizedExpression(n),a=OV(rT.createElementAccessExpression(i,r),t);return kC(r,a),kC(a,t),i!==n&&kC(i,a),a.flowNode=n.flowNode,a}}}(e);return n?mv(n,t):t}function a6(e){let t=e.parent;return 205===e.kind&&203===t.kind?a3(e.propertyName||e.name):299===e.kind||300===e.kind?a3(e.name):""+t.elements.indexOf(e)}function a3(e){let t=c0(e);return 384&t.flags?""+t.value:void 0}function a5(e,t){let n;if(aQ(t))return t;let r=e.parent;if(eU&&16777216&e.flags&&xQ(e)?t=pN(t):eU&&r.parent.initializer&&!(65536&fj(fZ(r.parent.initializer)))&&(t=fH(t,524288)),203===r.kind){if(e.dotDotDotToken){if(2&(t=s6(t)).flags||!hO(t))return rR(e,tA.Rest_types_may_only_be_created_from_object_types),tS;let i=[];for(let e of r.elements)e.dotDotDotToken||i.push(e.propertyName||e.name);n=a1(t,i,e.symbol)}else{let r=e.propertyName||e.name;n=a8(e,dh(t,c0(r),32,r))}}else{let i=SN(65|(e.dotDotDotToken?0:128),t,tR,r),a=r.elements.indexOf(e);if(e.dotDotDotToken){let e=sq(t);n=f3(e,pT)?f9(e,e=>cP(e,a)):ck(i)}else if(_9(t)){let r=dg(t,dK(a),32|(hC(e)?16:0),e.name)||tS;n=a8(e,r)}else n=i}return e.initializer?SW(m2(e))?eU&&!(16777216&fj(Ek(e,0)))?a4(n):n:EF(e,cH([a4(n),Ek(e,0)],2)):n}function a7(e){let t=hK(e);if(t)return d8(t)}function a9(e){let t=xi(e,!0);return 206===t.kind&&0===t.elements.length}function oe(e,t=!1,n=!0){return eU&&n?pR(e,t):e}function ot(e,t,n){if(Nr(e)&&246===e.parent.parent.kind){let t=c8(yy(TT(e.parent.parent.expression,n)));return 4456448&t.flags?c6(t):tB}if(Nr(e)&&247===e.parent.parent.kind)return SR(e.parent.parent)||tE;if(y2(e.parent)){let t,n;return t=e.dotDotDotToken?64:0,(n=a0(e.parent.parent,t))&&a5(e,n)}let r=wV(e)&&!An(e)||wU(e)||Dw(e),i=t&&kQ(e),a=oh(e);if(v5(e))return a?aQ(a)||a===tI?a:tS:ez?tI:tE;if(a)return oe(a,r,i);if((eK||EZ(e))&&Nr(e)&&!y2(e.name)&&!(1&m8(e))&&!(16777216&e.flags)){let t;if(!(2&m3(e))&&(!e.initializer||104===(t=xi(e.initializer,!0)).kind||79===t.kind&&fT(t)===e1))return tT;if(e.initializer&&a9(e.initializer))return C}if(wG(e)){let t=e.parent;if(175===t.kind&&st(t)){let n=g9(i7(e.parent),174);if(n){let r=lb(n),i=CF(t);return i&&e===i?(T.assert(!i.type),oC(r.thisParameter)):lk(r)}}let n=function(e,t){let n=lE(e);if(!n)return;let r=e.parameters.indexOf(t);return t.dotDotDotToken?vz(n,r):vK(n,r)}(t,e);if(n)return n;let r="this"===e.symbol.escapedName?mj(t):mH(e);if(r)return oe(r,!1,i)}if(g0(e)&&e.initializer){if(EZ(e)&&!wG(e)){let t=ol(e,i7(e),Ti(e));if(t)return t}return oe(EF(e,Ek(e,n)),r,i)}if(wV(e)&&(eK||EZ(e))){if(S7(e)){let t=d9(e.parent.members,wK),n=t.length?function(e,t){let n=pn(e.escapedName,"__#")?nU.createPrivateIdentifier(e.escapedName.split("@")[1]):hr(e.escapedName);for(let r of t){let t=nU.createPropertyAccessExpression(nU.createThis(),n);kC(t.expression,t),kC(t,r),t.flowNode=r.returnFlowNode;let i=oo(t,e);if(eK&&(i===tT||i===C)&&rR(e.valueDeclaration,tA.Member_0_implicitly_has_an_1_type,aR(e),aD(i)),!f3(i,yf))return SE(i)}}(e.symbol,t):2&Al(e)?_q(e.symbol):void 0;return n&&oe(n,!0,i)}{let t=as(e.parent),n=t?oa(e.symbol,t):2&Al(e)?_q(e.symbol):void 0;return n&&oe(n,!0,i)}}return NV(e)?tK:y2(e.name)?o_(e.name,!1,!0):void 0}function on(e){if(e.valueDeclaration&&RR(e.valueDeclaration)){let t=rX(e);return void 0===t.isConstructorDeclaredProperty&&(t.isConstructorDeclaredProperty=!1,t.isConstructorDeclaredProperty=!!oi(e)&&dZ(e.declarations,t=>RR(t)&&mY(t)&&(209!==t.left.kind||xO(t.left.argumentExpression))&&!oc(void 0,t,e,t))),t.isConstructorDeclaredProperty}return!1}function or(e){let t=e.valueDeclaration;return t&&wV(t)&&!SW(t)&&!t.initializer&&(eK||EZ(t))}function oi(e){if(e.declarations)for(let t of e.declarations){let e=ET(t,!1,!1);if(e&&(173===e.kind||vm(e)))return e}}function oa(e,t){let n=pn(e.escapedName,"__#")?nU.createPrivateIdentifier(e.escapedName.split("@")[1]):hr(e.escapedName),r=nU.createPropertyAccessExpression(nU.createThis(),n);kC(r.expression,r),kC(r,t),r.flowNode=t.returnFlowNode;let i=oo(r,e);return eK&&(i===tT||i===C)&&rR(e.valueDeclaration,tA.Member_0_implicitly_has_an_1_type,aR(e),aD(i)),f3(i,yf)?void 0:SE(i)}function oo(e,t){return mv(e,tT,(null==t?void 0:t.valueDeclaration)&&(!or(t)||2&Al(t.valueDeclaration))&&_q(t)||tR)}function os(e,t){let n;let r=Ta(e.valueDeclaration);if(r){let t=EZ(r)?hH(r):void 0;return t&&t.typeExpression?d8(t.typeExpression):e.valueDeclaration&&ol(e.valueDeclaration,e,r)||pv(Eg(r))}let i=!1,a=!1;if(on(e)&&(n=oa(e,oi(e))),!n){let r;if(e.declarations){let o;for(let n of e.declarations){let s=RR(n)||Rg(n)?n:Lw(n)?RR(n.parent)?n.parent:n:void 0;if(!s)continue;let l=Lw(s)?TS(s):Tf(s);(4===l||RR(s)&&mY(s,l))&&(od(s)?i=!0:a=!0),Rg(s)||(o=oc(o,s,e,n)),o||(r||(r=[])).push(RR(s)||Rg(s)?function(e,t,n,r){if(Rg(n)){if(t)return oC(t);let e=Eg(n.arguments[2]),r=a$(e,"value");if(r)return r;let i=a$(e,"get");if(i){let e=gA(i);if(e)return lk(e)}let a=a$(e,"set");if(a){let e=gA(a);if(e)return v0(e)}return tE}if(function(e,t){return Rh(e)&&108===e.expression.kind&&Mi(t,t=>fL(e,t))}(n.left,n.right))return tE;let i=1===r&&(Rh(n.left)||Ry(n.left))&&(Tp(n.left.expression)||wb(n.left.expression)&&Tu(n.left.expression)),a=t?oC(t):i?dV(Eg(n.right)):pv(Eg(n.right));if(524288&a.flags&&2===r&&"export="===e.escapedName){let n=sM(a),r=vt();vd(n.members,r);let i=r.size;t&&!t.exports&&(t.exports=vt()),(t||e).exports.forEach((e,t)=>{var n;let i=r.get(t);if(i&&i!==e&&!(2097152&e.flags)){if(111551&e.flags&&111551&i.flags){if(e.valueDeclaration&&i.valueDeclaration&&vS(e.valueDeclaration)!==vS(i.valueDeclaration)){let t=hr(e.escapedName),r=(null==(n=_E(i.valueDeclaration,hu))?void 0:n.name)||i.valueDeclaration;kl(rR(e.valueDeclaration,tA.Duplicate_identifier_0,t),bC(r,tA._0_was_also_declared_here,t)),kl(rR(r,tA.Duplicate_identifier_0,t),bC(e.valueDeclaration,tA._0_was_also_declared_here,t))}let a=rG(e.flags|i.flags,t);a.links.type=cH([oC(e),oC(i)]),a.valueDeclaration=i.valueDeclaration,a.declarations=uE(i.declarations,e.declarations),r.set(t,a)}else r.set(t,rK(e,i))}else r.set(t,e)});let o=ah(i!==r.size?void 0:n.symbol,r,n.callSignatures,n.constructSignatures,n.indexInfos);if(i===r.size&&(a.aliasSymbol&&(o.aliasSymbol=a.aliasSymbol,o.aliasTypeArguments=a.aliasTypeArguments),4<(a))){o.aliasSymbol=a.symbol;let e=l0(a);o.aliasTypeArguments=dW(e)?e:void 0}return o.objectFlags|=4096<(a),o.symbol&&32&o.symbol.flags&&a===oW(o.symbol)&&(o.objectFlags|=16777216),o}return pa(a)?(pq(n,L),L):a}(e,t,s,l):tZ)}n=o}if(!n){var o,s;if(!dW(r))return tS;let t=i&&e.declarations?(o=r,s=e.declarations,T.assert(o.length===s.length),o.filter((e,t)=>{let n=s[t],r=RR(n)?n:RR(n.parent)?n.parent:void 0;return r&&od(r)})):void 0;if(a){let n=_q(e);n&&((t||(t=[])).push(n),i=!0)}n=cH(uv(t,e=>!!(-98305&e.flags))?t:r)}}let l=pz(oe(n,!1,a&&!i));return e.valueDeclaration&&f5(l,e=>!!(-98305&e.flags))===tZ?(pq(e.valueDeclaration,tE),tE):l}function ol(e,t,n){var r,i;if(!EZ(e)||!n||!Rm(n)||n.properties.length)return;let a=vt();for(;RR(e)||Rh(e);){let t=i9(e);(null==(r=null==t?void 0:t.exports)?void 0:r.size)&&rq(a,t.exports),e=RR(e)?e.parent:e.parent.parent}let s=i9(e);(null==(i=null==s?void 0:s.exports)?void 0:i.size)&&rq(a,s.exports);let l=ah(t,a,o,o,o);return l.objectFlags|=4096,l}function oc(e,t,n,r){var i;let a=SW(t.parent);if(a){let t=pz(d8(a));if(!e)return t;aZ(e)||aZ(t)||uQ(e,t)||Sx(void 0,e,r,t)}if(null==(i=n.parent)?void 0:i.valueDeclaration){let e=SW(n.parent.valueDeclaration);if(e){let t=le(d8(e),n.escapedName);if(t)return ok(t)}}return e}function od(e){let t=ET(e,!1,!1);return 173===t.kind||259===t.kind||215===t.kind&&!TL(t.parent)}function ou(e,t,n){if(e.initializer){let t=y2(e.name)?o_(e.name,!0,!1):tI;return oe(EF(e,Ek(e,0,t)))}return y2(e.name)?o_(e.name,t,n):(n&&!om(e)&&pq(e,tE),t?tC:tE)}function o_(e,t=!1,n=!1){let r,i,a,s;return 203===e.kind?(i=vt(),a=131200,dz(e.elements,e=>{let o=e.propertyName||e.name;if(e.dotDotDotToken){r=lB(tB,tE,!1);return}let s=c0(o);if(!o5(s)){a|=512;return}let l=sn(s),c=rG(4|(e.initializer?16777216:0),l);c.links.type=ou(e,t,n),c.links.bindingElement=e,i.set(c.escapedName,c)}),s=ah(void 0,i,o,o,r?[r]:o),s.objectFlags|=a,t&&(s.pattern=e,s.objectFlags|=131072),s):function(e,t,n){let r=e.elements,i=uJ(r),a=i&&205===i.kind&&i.dotDotDotToken?i:void 0;if(0===r.length||1===r.length&&a)return eM>=2?cC(tE):L;let o=un(r,e=>RF(e)?tE:ou(e,t,n)),s=d4(r,e=>!(e===a||RF(e)||hC(e)),r.length-1)+1,l=cD(o,un(r,(e,t)=>e===a?4:t>=s?2:1));return t&&((l=lQ(l)).pattern=e,l.objectFlags|=131072),l}(e,t,n)}function op(e,t){return of(ot(e,!0,0),e,t)}function of(e,t,n){let r,i;return e?(4096&e.flags&&(r=i9(t.parent),(i=R||(R=cc("SymbolConstructor",!1)))&&r&&r===i)&&(e=dX(t)),n&&pJ(t,e),8192&e.flags&&(Rp(t)||!t.type)&&e.symbol!==i7(t)&&(e=t$),pz(e)):(e=wG(t)&&t.dotDotDotToken?L:tE,n&&!om(t)&&pq(t,e),e)}function om(e){let t=xZ(e);return T9(166===t.kind?t.parent:t)}function oh(e){let t=SW(e);if(t)return d8(t)}function oy(e){if(e)switch(e.kind){case 174:return Sq(e);case 175:return SX(e);case 169:return T.assert(An(e)),SW(e)}}function og(e){let t=oy(e);return t&&d8(t)}function ov(e){let t=rX(e);if(!t.type){if(!aq(e,0))return tS;let n=g9(e,174),r=g9(e,175),i=_E(g9(e,169),yq),a=n&&EZ(n)&&a7(n)||og(n)||og(r)||og(i)||n&&n.body&&bd(n)||i&&i.initializer&&op(i,!0);a||(r&&!T9(r)?rD(eK,r,tA.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,aR(e)):n&&!T9(n)?rD(eK,n,tA.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,aR(e)):i&&!T9(i)&&rD(eK,i,tA.Member_0_implicitly_has_an_1_type,aR(e),"any"),a=tE),aX()||(oy(n)?rR(n,tA._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,aR(e)):oy(r)?rR(r,tA._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,aR(e)):oy(i)?rR(r,tA._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,aR(e)):n&&eK&&rR(n,tA._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions,aR(e)),a=tE),t.type=a}return t.type}function ob(e){var t;let n=rX(e);if(!n.writeType){if(!aq(e,8))return tS;let r=null!=(t=g9(e,175))?t:_E(g9(e,169),yq),i=og(r);aX()||(oy(r)&&rR(r,tA._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,aR(e)),i=tE),n.writeType=i||ov(e)}return n.writeType}function oE(e){let t=oV(oW(e));return 8650752&t.flags?t:2097152&t.flags?d0(t.types,e=>!!(8650752&e.flags)):void 0}function oT(e){let t=rX(e),n=t;if(!t.type){let r=e.valueDeclaration&&vy(e.valueDeclaration,!1);if(r){let n=vh(e,r);n&&(e=n,t=n.links)}n.type=t.type=function(e){let t=e.valueDeclaration;if(1536&e.flags&&bn(e))return tE;if(t&&(223===t.kind||Lw(t)&&223===t.parent.kind))return os(e);if(512&e.flags&&t&&N0(t)&&t.commonJsModuleIndicator){let t=iY(e);if(t!==e){if(!aq(e,0))return tS;let n=i5(e.exports.get("export=")),r=os(n,n===t?void 0:t);return aX()?r:oS(e)}}let n=au(16,e);if(!(32&e.flags))return eU&&16777216&e.flags?pR(n):n;{let t=oE(e);return t?cJ([n,t]):n}}(e)}return t.type}function ox(e){let t=rX(e);return t.type||(t.type=oY(e))}function oS(e){let t=e.valueDeclaration;return SW(t)?(rR(e.valueDeclaration,tA._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,aR(e)),tS):(eK&&(166!==t.kind||t.initializer)&&rR(e.valueDeclaration,tA._0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer,aR(e)),tE)}function oA(e){let t=rX(e);return t.type||(T.assertIsDefined(t.deferralParent),T.assertIsDefined(t.deferralConstituents),t.type=1048576&t.deferralParent.flags?cH(t.deferralConstituents):cJ(t.deferralConstituents)),t.type}function oL(e){let t,n,r=Lc(e);return 4&e.flags?2&r?65536&r?(!(t=rX(e)).writeType&&t.deferralWriteConstituents&&(T.assertIsDefined(t.deferralParent),T.assertIsDefined(t.deferralConstituents),t.writeType=1048576&t.deferralParent.flags?cH(t.deferralWriteConstituents):cJ(t.deferralWriteConstituents)),t.writeType||oA(e)):e.links.writeType||e.links.type:oC(e):98304&e.flags?1&r?(n=rX(e)).writeType||(n.writeType=uO(oL(n.target),n.mapper)):ob(e):oC(e)}function oC(e){let t,n,r=Lc(e);return 65536&r?oA(e):1&r?(t=rX(e)).type||(t.type=uO(oC(t.target),t.mapper)):262144&r?function(e){if(!e.links.type){let t=e.links.mappedType;if(!aq(e,0))return t.containsError=!0,tS;let n=uO(sC(t.target||t),ug(t.mapper,sS(t),e.links.keyType)),r=eU&&16777216&e.flags&&!bZ(n,49152)?pR(n,!0):524288&e.links.checkFlags?pV(n):n;aX()||(rR(a,tA.Type_of_property_0_circularly_references_itself_in_mapped_type_1,aR(e),aD(t)),r=tS),e.links.type=r}return e.links.type}(e):8192&r?((n=rX(e)).type||(n.type=p7(e.links.propertyType,e.links.mappedType,e.links.constraintType)),n.type):7&e.flags?function(e){let t=rX(e);if(!t.type){let n;let r=function(e){let t;if(4194304&e.flags){let t;return(t=oQ(ae(e))).typeParameters?l$(t,un(t.typeParameters,e=>tE)):t}if(e===e8)return tE;if(134217728&e.flags&&e.valueDeclaration){let t=i7(vS(e.valueDeclaration)),n=rG(t.flags,"exports");n.declarations=t.declarations?t.declarations.slice():[],n.parent=e,n.links.target=t,t.valueDeclaration&&(n.valueDeclaration=t.valueDeclaration),t.members&&(n.members=new Map(t.members)),t.exports&&(n.exports=new Map(t.exports));let r=vt();return r.set("exports",n),ah(e,r,o,o,o)}T.assertIsDefined(e.valueDeclaration);let n=e.valueDeclaration;if(N0(n)&&bV(n))return n.statements.length?pz(pv(TT(n.statements[0].expression))):no;if(yz(n))return ov(e);if(!aq(e,0))return 512&e.flags&&!(67108864&e.flags)?oT(e):oS(e);if(274===n.kind)t=of(oh(n)||Eg(n.expression),n);else if(RR(n)||EZ(n)&&(Rg(n)||(Rh(n)||Tv(n))&&RR(n.parent)))t=os(e);else if(Rh(n)||Ry(n)||wb(n)||g8(n)||wt(n)||No(n)||Na(n)||wH(n)&&!El(n)||wj(n)||N0(n)){if(9136&e.flags)return oT(e);t=RR(n.parent)?os(e):oh(n)||tE}else if(NX(n))t=oh(n)||EQ(n);else if(NV(n))t=oh(n)||hF(n);else if(NY(n))t=oh(n)||E$(n.name,0);else if(El(n))t=oh(n)||E1(n,0);else if(wG(n)||wV(n)||wU(n)||Nr(n)||Rp(n)||yl(n))t=op(n,!0);else if(Nc(n))t=oT(e);else{if(!NQ(n))return T.fail("Unhandled declaration kind! "+T.formatSyntaxKind(n.kind)+" for "+T.formatSymbol(e));t=ox(e)}return aX()?t:512&e.flags&&!(67108864&e.flags)?oT(e):oS(e)}(e);return t.type||(n=e.valueDeclaration)&&(Rp(n)&&(n=m2(n)),wG(n)&&u$(n.parent))||(t.type=r),r}return t.type}(e):9136&e.flags?oT(e):8&e.flags?ox(e):98304&e.flags?ov(e):2097152&e.flags?function(e){let t=rX(e);if(!t.type){let n,r,i,a,o=iw(e),s=e.declarations&&iT(r7(e),!0),l=dJ(null==s?void 0:s.declarations,e=>NS(e)?oh(e):void 0);t.type=(null==s?void 0:s.declarations)&&A5(s.declarations)&&e.declarations.length?(n=vS(s.declarations[0]),r=hr(s.escapedName),a=(i=s.declarations.every(e=>EZ(e)&&Lw(e)&&Tp(e.expression)))?nU.createPropertyAccessExpression(nU.createPropertyAccessExpression(nU.createIdentifier("module"),nU.createIdentifier("exports")),r):nU.createPropertyAccessExpression(nU.createIdentifier("exports"),r),i&&kC(a.expression.expression,a.expression),kC(a.expression,a),kC(a,n),a.flowNode=n.endFlowNode,mv(a,tT,tR)):A5(e.declarations)?tT:l||(111551&iR(o)?oC(o):tS)}return t.type}(e):tS}function ok(e){return pB(oC(e),!!(16777216&e.flags))}function oI(e,t){return void 0!==e&&void 0!==t&&(4<(e))!=0&&e.target===t}function ow(e){return 4<(e)?e.target:e}function oR(e,t){return function e(n){if(7<(n)){let r=ow(n);return r===t||uv(oH(r),e)}return!!(2097152&n.flags)&&uv(n.types,e)}(e)}function oN(e,t){for(let n of t)e=uG(e,o$(i7(n)));return e}function oD(e,t){for(;;){if((e=e.parent)&&RR(e)){let t=Tf(e);if(6===t||3===t){let t=i7(e.left);t&&t.parent&&!m9(t.parent.valueDeclaration,t=>e===t)&&(e=t.parent.valueDeclaration)}}if(!e)return;switch(e.kind){case 260:case 228:case 261:case 176:case 177:case 170:case 181:case 182:case 320:case 259:case 171:case 215:case 216:case 262:case 348:case 349:case 343:case 341:case 197:case 191:{let n=oD(e,t);if(197===e.kind)return uD(n,o$(i7(e.typeParameter)));if(191===e.kind)return uE(n,dk(e));let r=oN(n,hZ(e)),i=t&&(260===e.kind||228===e.kind||261===e.kind||vm(e))&&oW(i7(e)).thisType;return i?uD(r,i):r}case 344:let n=T$(e);n&&(e=n.valueDeclaration);break;case 323:{let n=oD(e,t);return e.tags?oN(n,uo(e.tags,e=>DC(e)?e.typeParameters:void 0)):n}}}}function oO(e){var t;let n=32&e.flags||16&e.flags?e.valueDeclaration:null==(t=e.declarations)?void 0:t.find(e=>{if(261===e.kind)return!0;if(257!==e.kind)return!1;let t=e.initializer;return!!t&&(215===t.kind||216===t.kind)});return T.assert(!!n,"Class was missing valueDeclaration -OR- non-class had no interface declarations"),oD(n)}function oM(e){let t;if(e.declarations){for(let n of e.declarations)(261===n.kind||260===n.kind||228===n.kind||vm(n)||TU(n))&&(t=oN(t,hZ(n)));return t}}function oP(e){let t=ln(e,1);if(1===t.length){let e=t[0];if(!e.typeParameters&&1===e.parameters.length&&GC(e)){let t=vB(e.parameters[0]);return aQ(t)||_5(t)===tE}}return!1}function oF(e){if(ln(e,1).length>0)return!0;if(8650752&e.flags){let t=sz(e);return!!t&&oP(t)}return!1}function oG(e){let t=LE(e.symbol);return t&&xy(t)}function oB(e,t,n){let r=dW(t),i=EZ(n);return d9(ln(e,1),e=>(i||r>=lg(e.typeParameters))&&r<=dW(e.typeParameters))}function oU(e,t,n){let r=oB(e,t,n),i=un(t,d8);return ui(r,e=>uv(e.typeParameters)?lN(e,i,EZ(n)):e)}function oV(e){if(!e.resolvedBaseConstructorType){let t=LE(e.symbol),n=t&&xy(t),r=oG(e);if(!r)return e.resolvedBaseConstructorType=tR;if(!aq(e,1))return tS;let i=TT(r.expression);if(n&&r!==n&&(T.assert(!n.typeArguments),TT(n.expression)),2621440&i.flags&&sM(i),!aX())return rR(e.symbol.valueDeclaration,tA._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,aR(e.symbol)),e.resolvedBaseConstructorType=tS;if(!(1&i.flags)&&i!==tG&&!oF(i)){let t=rR(r.expression,tA.Type_0_is_not_a_constructor_function_type,aD(i));if(262144&i.flags){let e=lW(i),n=tI;if(e){let t=ln(e,1);t[0]&&(n=lk(t[0]))}i.symbol.declarations&&kl(t,bC(i.symbol.declarations[0],tA.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1,aR(i.symbol),aD(n)))}return e.resolvedBaseConstructorType=tS}e.resolvedBaseConstructorType=i}return e.resolvedBaseConstructorType}function oj(e,t){rR(e,tA.Type_0_recursively_references_itself_as_a_base_type,aD(t,void 0,2))}function oH(e){if(!e.baseTypesResolved){if(aq(e,7)&&(8&e.objectFlags?e.resolvedBaseTypes=[ck(cH(ui(e.typeParameters,(t,n)=>8&e.elementFlags[n]?dh(t,tU):t)||o),e.readonly)]:96&e.symbol.flags?(32&e.symbol.flags&&function(e){let t;e.resolvedBaseTypes=tW;let n=s0(oV(e));if(!(2621441&n.flags))return e.resolvedBaseTypes=o;let r=oG(e),i=n.symbol?oQ(n.symbol):void 0;if(n.symbol&&32&n.symbol.flags&&function(e){let t=e.outerTypeParameters;if(t){let n=t.length-1,r=l0(e);return t[n].symbol!==r[n].symbol}return!0}(i))t=l2(r,n.symbol);else if(1&n.flags)t=n;else{let i=oU(n,r.typeArguments,r);if(!i.length)return rR(r.expression,tA.No_base_constructor_has_the_specified_number_of_type_arguments),e.resolvedBaseTypes=o;t=lk(i[0])}if(aZ(t))return e.resolvedBaseTypes=o;let a=s6(t);if(!oK(a)){let n=L2(s9(void 0,t),tA.Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members,aD(a));return r_.add(bw(vS(r.expression),r.expression,n)),e.resolvedBaseTypes=o}e===a||oR(a,e)?(rR(e.symbol.valueDeclaration,tA.Type_0_recursively_references_itself_as_a_base_type,aD(e,void 0,2)),e.resolvedBaseTypes=o):(e.resolvedBaseTypes===tW&&(e.members=void 0),e.resolvedBaseTypes=[a])}(e),64&e.symbol.flags&&function(e){if(e.resolvedBaseTypes=e.resolvedBaseTypes||o,e.symbol.declarations){for(let t of e.symbol.declarations)if(261===t.kind&&xE(t))for(let n of xE(t)){let r=s6(d8(n));aZ(r)||(oK(r)?e===r||oR(r,e)?oj(t,e):e.resolvedBaseTypes===o?e.resolvedBaseTypes=[r]:e.resolvedBaseTypes.push(r):rR(n,tA.An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members))}}}(e)):T.fail("type must be class or interface"),!aX()&&e.symbol.declarations))for(let t of e.symbol.declarations)(260===t.kind||261===t.kind)&&oj(t,e);e.baseTypesResolved=!0}return e.resolvedBaseTypes}function oK(e){if(262144&e.flags){let t=sz(e);if(t)return oK(t)}return!!(67633153&e.flags&&!sO(e)||2097152&e.flags&&dZ(e.types,oK))}function oW(e){let t=rX(e),n=t;if(!t.declaredType){var r,i;let a,o,s;let l=32&e.flags?1:2,c=vh(e,e.valueDeclaration&&((s=(null==(o=null==(i=null==(a=(r=e.valueDeclaration)&&vy(r,!0))?void 0:a.exports)?void 0:i.get("prototype"))?void 0:o.valueDeclaration)&&function(e){if(!e.parent)return!1;let t=e.parent;for(;t&&208===t.kind;)t=t.parent;if(t&&RR(t)&&AO(t.left)&&63===t.operatorToken.kind){let e=TA(t);return Rm(e)&&e}}(o.valueDeclaration))?i7(s):void 0));c&&(e=c,t=c.links);let d=n.declaredType=t.declaredType=au(l,e),u=oO(e),_=oM(e);(u||_||1===l||!function(e){if(!e.declarations)return!0;for(let t of e.declarations)if(261===t.kind){if(128&t.flags)return!1;let e=xE(t);if(e){for(let t of e)if(AI(t.expression)){let e=iB(t.expression,788968,!0);if(!e||!(64&e.flags)||oW(e).thisType)return!1}}}return!0}(e))&&(d.objectFlags|=4,d.typeParameters=uE(u,_),d.outerTypeParameters=u,d.localTypeParameters=_,d.instantiations=new Map,d.instantiations.set(lq(d.typeParameters),d),d.target=d,d.resolvedTypeArguments=d.typeParameters,d.thisType=a_(e),d.thisType.isThisType=!0,d.thisType.constraint=d)}return t.declaredType}function oz(e){var t;let n=rX(e);if(!n.declaredType){if(!aq(e,2))return tS;let r=T.checkDefined(null==(t=e.declarations)?void 0:t.find(TU),"Type alias symbol with no valid declaration found"),i=TB(r)?r.typeExpression:r.type,a=i?d8(i):tS;if(aX()){let t=oM(e);t&&(n.typeParameters=t,n.instantiations=new Map,n.instantiations.set(lq(t),a))}else a=tS,343===r.kind?rR(r.typeExpression.type,tA.Type_alias_0_circularly_references_itself,aR(e)):rR(hu(r)&&r.name||r,tA.Type_alias_0_circularly_references_itself,aR(e));n.declaredType=a}return n.declaredType}function oq(e){return 1056&e.flags&&8&e.symbol.flags?oQ(ae(e.symbol)):e}function oJ(e){let t=rX(e);if(!t.declaredType){let n=[];if(e.declarations){for(let t of e.declarations)if(263===t.kind){for(let r of t.members)if(st(r)){let t=i7(r),i=LY(r),a=dU(void 0!==i?function(e,t,n){let r;let i=`${t}${"string"==typeof e?"@":"#"}${e}`,a=1024|("string"==typeof e?128:256);return to.get(i)||(to.set(i,r=dB(a,e,n)),r)}(i,Gb(e),t):oX(t));rX(t).declaredType=a,n.push(dV(a))}}}let r=n.length?cH(n,1,e,void 0):oX(e);1048576&r.flags&&(r.flags|=1024,r.symbol=e),t.declaredType=r}return t.declaredType}function oX(e){let t=ac(32,e),n=ac(32,e);return t.regularType=t,t.freshType=n,n.regularType=t,n.freshType=n,t}function oY(e){let t=rX(e);if(!t.declaredType){let n=oJ(ae(e));t.declaredType||(t.declaredType=n)}return t.declaredType}function o$(e){let t=rX(e);return t.declaredType||(t.declaredType=a_(e))}function oQ(e){return oZ(e)||tS}function oZ(e){let t;return 96&e.flags?oW(e):524288&e.flags?oz(e):262144&e.flags?o$(e):384&e.flags?oJ(e):8&e.flags?oY(e):2097152&e.flags?(t=rX(e)).declaredType||(t.declaredType=oQ(iw(e))):void 0}function o0(e){switch(e.kind){case 131:case 157:case 152:case 148:case 160:case 134:case 153:case 149:case 114:case 155:case 144:case 198:return!0;case 185:return o0(e.elementType);case 180:return!e.typeArguments||e.typeArguments.every(o0)}return!1}function o1(e){let t=h0(e);return!t||o0(t)}function o2(e){let t=SW(e);return t?o0(t):!gZ(e)}function o4(e,t,n){let r=vt();for(let i of e)r.set(i.escapedName,n&&function(e){if(e.declarations&&1===e.declarations.length){let t=e.declarations[0];if(t)switch(t.kind){case 169:case 168:return o2(t);case 171:case 170:case 173:case 174:case 175:return function(e){let t=Sq(e),n=hZ(e);return(173===e.kind||!!t&&o0(t))&&e.parameters.every(o2)&&n.every(o1)}(t)}}return!1}(i)?i:uA(i,t));return r}function o8(e,t){for(let n of t)e.has(n.escapedName)||o6(n)||e.set(n.escapedName,n)}function o6(e){return!!e.valueDeclaration&&yk(e.valueDeclaration)&&S5(e.valueDeclaration)}function o3(e){if(!e.declaredProperties){let t=e.symbol,n=sa(t);e.declaredProperties=af(n),e.declaredCallSignatures=o,e.declaredConstructSignatures=o,e.declaredIndexInfos=o,e.declaredCallSignatures=lx(n.get("__call")),e.declaredConstructSignatures=lx(n.get("__new")),e.declaredIndexInfos=lU(t)}return e}function o5(e){return!!(8576&e.flags)}function o7(e){if(!wP(e)&&!Ry(e))return!1;let t=wP(e)?e.expression:e.argumentExpression;return AI(t)&&o5(wP(e)?hw(e):Eg(t))}function o9(e){return 95===e.charCodeAt(0)&&95===e.charCodeAt(1)&&64===e.charCodeAt(2)}function se(e){let t=hp(e);return!!t&&o7(t)}function st(e){return!xP(e)||se(e)}function sn(e){return 8192&e.flags?e.escapedName:384&e.flags?hn(""+e.value):T.fail()}function sr(e,t,n,r){T.assert(!!r.symbol,"The member is expected to have a symbol.");let i=rY(r);if(!i.resolvedSymbol){i.resolvedSymbol=r.symbol;let o=RR(r)?r.left:r.name,s=Ry(o)?Eg(o.argumentExpression):hw(o);if(o5(s)){var a;let l=sn(s),c=r.symbol.flags,d=n.get(l);d||n.set(l,d=rG(0,l,4096));let u=t&&t.get(l);if(d.flags&rV(c)||u){let e=u?uE(u.declarations,d.declarations):d.declarations,t=!(8192&s.flags)&&hr(l)||bE(o);dz(e,e=>rR(hp(e)||e,tA.Property_0_was_also_declared_here,t)),rR(o||r,tA.Duplicate_property_0,t),d=rG(0,l,4096)}return d.links.nameType=s,a=d,T.assert(!!(4096&Lc(a)),"Expected a late-bound symbol."),a.flags|=c,rX(r.symbol).lateSymbol=a,a.declarations?r.symbol.isReplaceableByMethod||a.declarations.push(r):a.declarations=[r],111551&c&&(a.valueDeclaration&&a.valueDeclaration.kind===r.kind||(a.valueDeclaration=r)),d.parent?T.assert(d.parent===e,"Existing symbol parent should match new one"):d.parent=e,i.resolvedSymbol=d}}return i.resolvedSymbol}function si(e,t){let n=rX(e);if(!n[t]){let r="resolvedExports"===t,i=r?1536&e.flags?i3(e).exports:e.exports:e.members;n[t]=i||eN;let a=vt();for(let t of e.declarations||o){let n=b7(t);if(n)for(let t of n)r===S7(t)&&se(t)&&sr(e,i,a,t)}let s=e.assignmentDeclarationMembers;if(s)for(let t of u9(s.values())){let n=Tf(t);!(3===n||RR(t)&&mY(t,n)||9===n||6===n)===r&&se(t)&&sr(e,i,a,t)}n[t]=function(e,t){if(!(null==e?void 0:e.size))return t;if(!(null==t?void 0:t.size))return e;let n=vt();return rq(n,e),rq(n,t),n}(i,a)||eN}return n[t]}function sa(e){return 6256&e.flags?si(e,"resolvedMembers"):e.members||eN}function so(e){if(106500&e.flags&&"__computed"===e.escapedName){let t=rX(e);if(!t.lateSymbol&&uv(e.declarations,se)){let t=i5(e.parent);uv(e.declarations,S7)?i4(t):sa(t)}return t.lateSymbol||(t.lateSymbol=e)}return e}function ss(e,t,n){if(4<(e)){let r=e.target,i=l0(e);if(dW(r.typeParameters)===dW(i)){let e=l$(r,uE(i,[t||r.thisType]));return n?s0(e):e}}else if(2097152&e.flags){let r=ui(e.types,e=>ss(e,t,n));return r!==e.types?cJ(r):e}return n?s0(e):e}function sl(e,t,n,r){let i,a,o,s,l;uH(n,r,0,n.length)?(a=t.symbol?sa(t.symbol):vt(t.declaredProperties),o=t.declaredCallSignatures,s=t.declaredConstructSignatures,l=t.declaredIndexInfos):(i=us(n,r),a=o4(t.declaredProperties,i,1===n.length),o=ue(t.declaredCallSignatures,i,uT),s=ue(t.declaredConstructSignatures,i,uT),l=ue(t.declaredIndexInfos,i,uV));let c=oH(t);if(c.length){t.symbol&&a===sa(t.symbol)&&(a=vt(t.declaredProperties)),am(e,a,o,s,l);let n=uJ(r);for(let e of c){let t=n?ss(uO(e,i),n):e;o8(a,sB(t)),o=uE(o,ln(t,0)),s=uE(s,ln(t,1));let r=t!==tE?ls(t):[lB(tB,tE,!1)];l=uE(l,d9(r,e=>!lr(l,e.keyType)))}}am(e,a,o,s,l)}function sc(e,t,n,r,i,a,o,s){let l=new eS(e3,s);return l.declaration=e,l.typeParameters=t,l.parameters=r,l.thisParameter=n,l.resolvedReturnType=i,l.resolvedTypePredicate=a,l.minArgumentCount=o,l.resolvedMinArgumentCount=void 0,l.target=void 0,l.mapper=void 0,l.compositeSignatures=void 0,l.compositeKind=void 0,l}function sd(e){let t=sc(e.declaration,e.typeParameters,e.thisParameter,e.parameters,void 0,void 0,e.minArgumentCount,39&e.flags);return t.target=e.target,t.mapper=e.mapper,t.compositeSignatures=e.compositeSignatures,t.compositeKind=e.compositeKind,t}function su(e,t){let n=sd(e);return n.compositeSignatures=t,n.compositeKind=1048576,n.target=void 0,n.mapper=void 0,n}function s_(e,t){if(GC(e)){let r=e.parameters.length-1,i=oC(e.parameters[r]);if(pT(i))return[n(i,r)];if(!t&&1048576&i.flags&&dZ(i.types,pT))return un(i.types,e=>n(e,r))}return[e.parameters];function n(t,n){let r=l0(t),i=t.target.labeledElementDeclarations,a=un(r,(r,a)=>{let o=!!i&&vU(i[a])||vV(e,n+a,t),s=t.target.elementFlags[a],l=rG(1,o,12&s?32768:2&s?16384:0);return l.links.type=4&s?ck(r):r,l});return uE(e.parameters.slice(0,n),a)}}function sp(e,t,n,r,i){for(let a of e)if(_0(a,t,n,r,i,n?u8:u1))return a}function sf(e){let t,n;for(let r=0;r1&&(n=void 0===n?r:-1),e[r]))if(!t||!sp(t,i,!1,!1,!0)){let n=function(e,t,n){let r;if(t.typeParameters){if(n>0)return;for(let n=1;n1){let t=i.thisParameter,r=dz(n,e=>e.thisParameter);r&&(t=pH(r,cJ(uu(n,e=>e.thisParameter&&oC(e.thisParameter))))),(e=su(i,n)).thisParameter=t}(t||(t=[])).push(e)}}}if(!dW(t)&&-1!==n){let r=e[void 0!==n?n:0],i=r.slice();for(let t of e)if(t!==r){let e=t[0];if(T.assert(!!e,"getUnionSignatures bails early on empty signature lists and should not have empty lists on second pass"),!(i=e.typeParameters&&uv(i,t=>!!t.typeParameters&&!sm(e.typeParameters,t.typeParameters))?void 0:un(i,t=>(function(e,t){let n;let r=e.typeParameters||t.typeParameters;e.typeParameters&&t.typeParameters&&(n=us(t.typeParameters,e.typeParameters));let i=e.declaration,a=function(e,t,n){let r=vq(e),i=vq(t),a=r>=i?e:t,o=a===e?t:e,s=a===e?r:i,l=vX(e)||vX(t),c=l&&!vX(a),d=Array(s+(c?1:0));for(let u=0;u=vJ(a)&&u>=vJ(o),y=u>=r?void 0:vV(e,u),g=u>=i?void 0:vV(t,u),v=rG(1|(h&&!m?16777216:0),(y===g?y:y?g?void 0:y:g)||`arg${u}`);v.links.type=m?ck(f):f,d[u]=v}if(c){let e=rG(1,"args");e.links.type=ck(vK(o,s)),o===t&&(e.links.type=uO(e.links.type,n)),d[s]=e}return d}(e,t,n),o=sc(i,r,function(e,t,n){if(!e||!t)return e||t;let r=cJ([oC(e),uO(oC(t),n)]);return pH(e,r)}(e.thisParameter,t.thisParameter,n),a,void 0,void 0,Math.max(e.minArgumentCount,t.minArgumentCount),(e.flags|t.flags)&39);return o.compositeKind=1048576,o.compositeSignatures=uE(2097152!==e.compositeKind&&e.compositeSignatures||[e],[t]),n&&(o.mapper=2097152!==e.compositeKind&&e.mapper&&e.compositeSignatures?uh(e.mapper,n):n),o})(t,e))))break}t=i}return t||o}function sm(e,t){if(dW(e)!==dW(t))return!1;if(!e||!t)return!0;let n=us(t,e);for(let r=0;r!!ll(e,t))&&n.push(lB(t,cH(un(e,e=>lc(e,t))),uv(e,e=>ll(e,t).isReadonly)))}return n}return o}function sy(e,t){return e?t?cJ([e,t]):e:t}function sg(e){let t=d7(e,e=>ln(e,1).length>0),n=un(e,oP);if(t>0&&t===d7(n,e=>e)){let e=n.indexOf(!0);n[e]=!1}return n}function sv(e,t){for(let n of t)(!e||dZ(e,e=>!_0(e,n,!1,!1,!1,u1)))&&(e=uD(e,n));return e}function sb(e,t,n){if(e)for(let r=0;r{var n;418&t.flags||512&t.flags&&(null==(n=t.declarations)?void 0:n.length)&&dZ(t.declarations,v7)||e.set(t.escapedName,t)}),i=e}if(am(e,i,o,o,o),32&r.flags){var a;let e,t,o=oV(oW(r));11272192&o.flags?o8(i=vt((e=af(a=i),(t=lG(a))?uE(e,[t]):e)),sB(o)):o===tE&&(n=lB(tB,tE,!1))}let s=lG(i);if(s?t=lV(s):(n&&(t=uD(t,n)),384&r.flags&&(32&oQ(r).flags||uv(e.properties,e=>!!(296&oC(e).flags)))&&(t=uD(t,nk))),am(e,i,o,o,t||o),8208&r.flags&&(e.callSignatures=lx(r)),32&r.flags){let t=oW(r),n=r.members?lx(r.members.get("__constructor")):o;16&r.flags&&(n=uP(n.slice(),uu(e.callSignatures,e=>vm(e.declaration)?sc(e.declaration,e.typeParameters,e.thisParameter,e.parameters,t,void 0,e.minArgumentCount,39&e.flags):void 0))),n.length||(n=function(e){let t=ln(oV(e),1),n=LE(e.symbol),r=!!n&&S3(n,256);if(0===t.length)return[sc(void 0,e.localTypeParameters,void 0,o,e,void 0,0,r?4:0)];let i=oG(e),a=EZ(i),s=ca(i),l=dW(s),c=[];for(let n of t){let t=lg(n.typeParameters),i=dW(n.typeParameters);if(a||l>=t&&l<=i){let o=i?lO(n,lv(s,n.typeParameters,t,a)):sd(n);o.typeParameters=e.localTypeParameters,o.resolvedReturnType=e,o.flags=r?4|o.flags:-5&o.flags,c.push(o)}}return c}(t)),e.constructSignatures=n}}(e):32&e.objectFlags?function(e){let t;let n=vt();am(e,eN,o,o,o);let r=sS(e),i=sA(e),a=sL(e.target||e),s=a&&u3(a,r),l=sC(e.target||e),c=s0(sw(e)),d=sR(e),u=eq?128:8576;function _(i){f8(a?uO(a,ug(e.mapper,r,i)):i,o=>(function(i,o){if(o5(o)){let t=sn(o),r=n.get(t);if(r)r.links.nameType=cH([r.links.nameType,o]),r.links.keyType=cH([r.links.keyType,i]);else{let r=o5(i)?le(c,sn(i)):void 0,l=!!(4&d||!(8&d)&&r&&16777216&r.flags),u=!!(1&d||!(2&d)&&r&&bP(r)),_=eU&&!l&&r&&16777216&r.flags,p=rG(4|(l?16777216:0),t,262144|(r?sT(r):0)|(u?8:0)|(_?524288:0));p.links.mappedType=e,p.links.nameType=o,p.links.keyType=i,r&&(p.links.syntheticOrigin=r,p.declarations=!a||s?r.declarations:void 0),n.set(t,p)}}else if(lj(o)||33&o.flags){let n=lB(5&o.flags?tB:40&o.flags?tU:o,uO(l,ug(e.mapper,r,i)),!!(1&d));t=sb(t,n,!0)}})(i,o))}sI(e)?sx(c,u,eq,_):f8(sE(i),_),am(e,n,o,o,t||o)}(e):T.fail("Unhandled object type "+T.formatObjectFlags(e.objectFlags)):1048576&e.flags?(a=sf(un(e.types,e=>e===m?[nA]:ln(e,0))),s=sf(un(e.types,e=>ln(e,1))),l=sh(e.types),am(e,eN,a,s,l)):2097152&e.flags?function(e){let t,n,r;let i=e.types,a=sg(i),s=d7(a,e=>e);for(let o=0;o0&&(e=un(e,e=>{let t=sd(e);return t.resolvedReturnType=function(e,t,n,r){let i=[];for(let a=0;asb(e,t,!1),r)}am(e,eN,t||o,n||o,r||o)}(e):T.fail("Unhandled type "+T.formatTypeFlags(e.flags))),e}function sP(e){return 524288&e.flags?sM(e).properties:o}function sF(e,t){if(524288&e.flags){let n=sM(e).members.get(t);if(n&&ao(n))return n}}function sG(e){if(!e.resolvedProperties){let t=vt();for(let n of e.types){for(let r of sB(n))if(!t.has(r.escapedName)){let n=s8(e,r.escapedName);n&&t.set(r.escapedName,n)}if(1048576&e.flags&&0===ls(n).length)break}e.resolvedProperties=af(t)}return e.resolvedProperties}function sB(e){return 3145728&(e=s1(e)).flags?sG(e):sP(e)}function sU(e){return 262144&e.flags?sV(e):8388608&e.flags?sJ(e)?function(e){if(sZ(e))return dm(e.objectType,e.indexType);let t=sH(e.indexType);if(t&&t!==e.indexType){let n=dg(e.objectType,t,e.accessFlags);if(n)return n}let n=sH(e.objectType);if(n&&n!==e.objectType)return dg(n,e.indexType,e.accessFlags)}(e):void 0:16777216&e.flags?sJ(e)?sW(e)||sK(e):void 0:sz(e)}function sV(e){return sJ(e)?lW(e):void 0}function sj(e){var t;return!!(262144&e.flags&&uv(null==(t=e.symbol)?void 0:t.declarations,e=>S3(e,2048))||px(e)&&d2(l0(e),(t,n)=>!!(8&e.target.elementFlags[n])&&sj(t))>=0||8388608&e.flags&&sj(e.objectType))}function sH(e){let t=d_(e,!1);return t!==e?t:sU(e)}function sK(e){if(!e.resolvedDefaultConstraint){let t=e.resolvedInferredTrueType||(e.resolvedInferredTrueType=e.combinedMapper?uO(d8(e.root.node.trueType),e.combinedMapper):dL(e)),n=dC(e);e.resolvedDefaultConstraint=aQ(t)?n:aQ(n)?t:cH([t,n])}return e.resolvedDefaultConstraint}function sW(e){if(e.root.isDistributive&&e.restrictiveInstantiation!==e){let t=d_(e.checkType,!1),n=t===e.checkType?sU(t):t;if(n&&n!==e.checkType){let t=uR(e,uy(e.root.checkType,n,e.mapper));if(!(131072&t.flags))return t}}}function sz(e){if(464781312&e.flags){let t=sX(e);return t!==nm&&t!==nh?t:void 0}return 4194304&e.flags?t3:void 0}function sq(e){return sz(e)||e}function sJ(e){return sX(e)!==nh}function sX(e){if(e.resolvedBaseConstraint)return e.resolvedBaseConstraint;let t=[];return e.resolvedBaseConstraint=ss(n(e),e);function n(e){if(!e.immediateBaseConstraint){let n;if(!aq(e,4))return nh;let i=_Y(e);if((t.length<10||t.length<50&&!d6(t,i))&&(t.push(i),n=function(e){if(262144&e.flags){let t=lW(e);return e.isThisType||!t?t:r(t)}if(3145728&e.flags){let t=e.types,n=[],i=!1;for(let e of t){let t=r(e);t?(t!==e&&(i=!0),n.push(t)):i=!0}return i?1048576&e.flags&&n.length===t.length?cH(n):2097152&e.flags&&n.length?cJ(n):void 0:e}if(4194304&e.flags)return t3;if(134217728&e.flags){let t=e.types,n=uu(t,r);return n.length===t.length?c3(e.texts,n):tB}if(268435456&e.flags){let t=r(e.type);return t&&t!==e.type?c5(e.symbol,t):tB}if(8388608&e.flags){if(sZ(e))return r(dm(e.objectType,e.indexType));let t=r(e.objectType),n=r(e.indexType),i=t&&n&&dg(t,n,e.accessFlags);return i&&r(i)}if(16777216&e.flags){let t=sW(e)||sK(e);return t&&r(t)}return 33554432&e.flags?r(l9(e)):e}(d_(e,!1)),t.pop()),!aX()){if(262144&e.flags){let t=lH(e);if(t){let n=rR(t,tA.Type_parameter_0_has_a_circular_constraint,aD(e));!a||xo(t,a)||xo(a,t)||kl(n,bC(a,tA.Circularity_originates_in_type_at_this_location))}}n=nh}e.immediateBaseConstraint=n||nm}return e.immediateBaseConstraint}function r(e){let t=n(e);return t!==nm&&t!==nh?t:void 0}}function sY(e){if(e.default)e.default===ny&&(e.default=nh);else if(e.target){let t=sY(e.target);e.default=t?uO(t,e.mapper):nm}else{e.default=ny;let t=e.symbol&&dz(e.symbol.declarations,e=>wF(e)&&e.default),n=t?d8(t):nm;e.default===ny&&(e.default=n)}return e.default}function s$(e){let t=sY(e);return t!==nm&&t!==nh?t:void 0}function sQ(e){return!!(e.symbol&&dz(e.symbol.declarations,e=>wF(e)&&e.default))}function sZ(e){let t;return!!(8388608&e.flags&&32<(t=e.objectType)&&!sO(t)&&dd(e.indexType)&&!(8&sR(t))&&!t.declaration.nameType)}function s0(e){let t=465829888&e.flags?sz(e)||tI:e;return 32<(t)?t.resolvedApparentType||(t.resolvedApparentType=function(e){let t=uC(e);if(t&&!e.declaration.nameType){let n=sV(t);if(n&&_8(n))return uO(e,uy(t,n,e.mapper))}return e}(t)):2097152&t.flags?t.resolvedApparentType||(t.resolvedApparentType=ss(t,t,!0)):402653316&t.flags?b:296&t.flags?E:2112&t.flags?en||(en=c_("BigInt",0,!1))||no:528&t.flags?x:12288&t.flags?cy():67108864&t.flags?no:4194304&t.flags?t3:2&t.flags&&!eU?no:t}function s1(e){return s6(s0(s6(e)))}function s2(e,t,n){var r,i,a;let o,s,l,c,d,u,_,p,f;let m=1048576&e.flags,h=4,y=m?0:8,g=!1;for(let r of e.types){let e=s0(r);if(!(aZ(e)||131072&e.flags)){let r=le(e,t,n),i=r?Ld(r):0;if(r){if(106500&r.flags&&(null!=c||(c=m?0:16777216),m?c|=16777216&r.flags:c&=r.flags),o){if(r!==o){if((AW(r)||r)===(AW(o)||o)&&-1===_$(o,r,(e,t)=>e===t?-1:0))g=!!o.parent&&!!dW(oM(o.parent));else{s||(s=new Map).set(Gb(o),o);let e=Gb(r);s.has(e)||s.set(e,r)}}}else o=r;m&&bP(r)?y|=8:m||bP(r)||(y&=-9),y|=(24&i?0:256)|(16&i?512:0)|(8&i?1024:0)|(32&i?2048:0),yc(r)||(h=2)}else if(m){let n=!o9(t)&&l_(e,t);n?(y|=32|(n.isReadonly?8:0),l=uD(l,pT(e)?pA(e)||tR:n.type)):fh(e)&&!(2097152<(e))?(y|=32,l=uD(l,tR)):y|=16}}}if(!o||m&&(s||48&y)&&1536&y&&!(s&&function(e){let t;for(let n of e){if(!n.declarations)return;if(!t){t=new Set(n.declarations);continue}if(t.forEach(e=>{d6(n.declarations,e)||t.delete(e)}),0===t.size)return}return t}(s.values())))return;if(!s&&!(16&y)&&!l){if(!g)return o;{let t=null==(r=_E(o,vn))?void 0:r.links,n=pH(o,null==t?void 0:t.type);return n.parent=null==(a=null==(i=o.valueDeclaration)?void 0:i.symbol)?void 0:a.parent,n.links.containingType=e,n.links.mapper=null==t?void 0:t.mapper,n}}let v=s?u9(s.values()):[o],b=[],E=!1;for(let e of v){f?e.valueDeclaration&&e.valueDeclaration!==f&&(E=!0):f=e.valueDeclaration,d=uP(d,e.declarations);let t=oC(e);u||(u=t,_=rX(e).nameType);let n=oL(e);p||n!==t?p=uD(p||b.slice(),n):t!==u&&(y|=64),(ph(t)||ds(t)||t===nn)&&(y|=128),131072&t.flags&&t!==nn&&(y|=131072),b.push(t)}uP(b,l);let T=rG(4|(null!=c?c:0),t,h|y);return T.links.containingType=e,!E&&f&&(T.valueDeclaration=f,f.symbol.parent&&(T.parent=f.symbol.parent)),T.declarations=d,T.links.nameType=_,b.length>2?(T.links.checkFlags|=65536,T.links.deferralParent=e,T.links.deferralConstituents=b,T.links.deferralWriteConstituents=p):(T.links.type=m?cH(b):cJ(b),p&&(T.links.writeType=m?cH(p):cJ(p))),T}function s4(e,t,n){var r,i;let a=(null==(r=e.propertyCacheWithoutObjectFunctionPropertyAugment)?void 0:r.get(t))||!n?null==(i=e.propertyCache)?void 0:i.get(t):void 0;return!a&&(a=s2(e,t,n))&&(n?e.propertyCacheWithoutObjectFunctionPropertyAugment||(e.propertyCacheWithoutObjectFunctionPropertyAugment=vt()):e.propertyCache||(e.propertyCache=vt())).set(t,a),a}function s8(e,t,n){let r=s4(e,t,n);return r&&!(16&Lc(r))?r:void 0}function s6(e){return 1048576&e.flags&&16777216&e.objectFlags?e.resolvedReducedType||(e.resolvedReducedType=function(e){let t=ui(e.types,s6);if(t===e.types)return e;let n=cH(t);return 1048576&n.flags&&(n.resolvedReducedType=n),n}(e)):2097152&e.flags?(16777216&e.objectFlags||(e.objectFlags|=16777216|(uv(sG(e),s3)?33554432:0)),33554432&e.objectFlags?tZ:e):e}function s3(e){return s5(e)||s7(e)}function s5(e){return!(16777216&e.flags)&&(131264&Lc(e))==192&&!!(131072&oC(e).flags)}function s7(e){return!e.valueDeclaration&&!!(1024&Lc(e))}function s9(e,t){if(2097152&t.flags&&33554432<(t)){let n=d0(sG(t),s5);if(n)return L2(e,tA.The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents,aD(t,void 0,536870912),aR(n));let r=d0(sG(t),s7);if(r)return L2(e,tA.The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some,aD(t,void 0,536870912),aR(r))}return e}function le(e,t,n,r){if(524288&(e=s1(e)).flags){let i=sM(e),a=i.members.get(t);if(a&&ao(a,r))return a;if(n)return;let o=i===nf?m:i.callSignatures.length?h:i.constructSignatures.length?y:void 0;if(o){let e=sF(o,t);if(e)return e}return sF(f,t)}if(3145728&e.flags)return s8(e,t,n)}function lt(e,t){if(3670016&e.flags){let n=sM(e);return 0===t?n.callSignatures:n.constructSignatures}return o}function ln(e,t){return lt(s1(e),t)}function lr(e,t){return d0(e,e=>e.keyType===t)}function li(e,t){let n,r,i;for(let a of e)a.keyType===tB?n=a:la(t,a.keyType)&&(r?(i||(i=[r])).push(a):r=a);return i?lB(tI,cJ(un(i,e=>e.type)),u2(i,(e,t)=>e&&t.isReadonly,!0)):r||(n&&la(t,tB)?n:void 0)}function la(e,t){return u3(e,t)||t===tB&&u3(e,tU)||t===tU&&(e===t9||!!(128&e.flags)&&kV(e.value))}function lo(e){return 3670016&e.flags?sM(e).indexInfos:o}function ls(e){return lo(s1(e))}function ll(e,t){return lr(ls(e),t)}function lc(e,t){var n;return null==(n=ll(e,t))?void 0:n.type}function ld(e,t){return ls(e).filter(e=>la(t,e.keyType))}function lu(e,t){return li(ls(e),t)}function l_(e,t){return lu(e,o9(t)?t$:dH(hr(t)))}function lp(e){var t;let n;for(let t of hZ(e))n=uG(n,o$(t.symbol));return(null==n?void 0:n.length)?n:Na(e)?null==(t=lE(e))?void 0:t.typeParameters:void 0}function lf(e){let t=[];return e.forEach((e,n)=>{ap(n)||t.push(e)}),t}function lm(e,t){if(mR(e))return;let n=rQ(e0,'"'+e+'"',512);return n&&t?i5(n):n}function lh(e){if(TF(e)||kJ(e)||k$(e))return!0;if(e.initializer){let t=lb(e.parent),n=e.parent.parameters.indexOf(e);return T.assert(n>=0),n>=vJ(t,3)}let t=EC(e.parent);return!!t&&!e.type&&!e.dotDotDotToken&&e.parent.parameters.indexOf(e)>=t.arguments.length}function ly(e,t,n,r){return{kind:e,parameterName:t,parameterIndex:n,type:r}}function lg(e){let t=0;if(e)for(let n=0;n=n&&a<=i){let n=e?e.slice():[];for(let e=a;es.arguments.length&&!d||k$(l)||(a=r.length)}if((174===e.kind||175===e.kind)&&st(e)&&(!o||!n)){let t,r=174===e.kind?175:174,i=g9(i7(e),r);i&&(n=(t=CF(i))&&t.symbol)}if(EZ(e)){let t=hB(e);t&&t.typeExpression&&(n=pH(rG(1,"this"),d8(t.typeExpression)))}let c=173===e.kind?oW(i5(e.parent.symbol)):void 0,d=c?c.localTypeParameters:lp(e);(g3(e)||EZ(e)&&function(e,t){if(Dc(e)||!lT(e))return!1;let n=uJ(e.parameters),r=dJ(n?hg(n):hq(e).filter(Dx),e=>e.typeExpression&&Da(e.typeExpression.type)?e.typeExpression.type:void 0),i=rG(3,"args",32768);return r?i.links.type=ck(d8(r.type)):(i.links.checkFlags|=65536,i.links.deferralParent=tZ,i.links.deferralConstituents=[L],i.links.deferralWriteConstituents=[L]),r&&t.pop(),t.push(i),!0}(e,r))&&(i|=1),(w0(e)&&S3(e,256)||wW(e)&&S3(e.parent,256))&&(i|=4),t.resolvedSignature=sc(e,d,n,r,void 0,void 0,a,i)}return t.resolvedSignature}function lE(e){if(!(EZ(e)&&yB(e)))return;let t=hH(e);return(null==t?void 0:t.typeExpression)&&gA(d8(t.typeExpression))}function lT(e){let t=rY(e);return void 0===t.containsArgumentsReference&&(512&t.flags?t.containsArgumentsReference=!0:t.containsArgumentsReference=function e(t){if(!t)return!1;switch(t.kind){case 79:return t.escapedText===e4.escapedName&&Ca(t)===e4;case 169:case 171:case 174:case 175:return 164===t.name.kind&&e(t.name);case 208:case 209:return e(t.expression);case 299:return e(t.initializer);default:return!x0(t)&&!b4(t)&&!!Mr(t,e)}}(e.body)),t.containsArgumentsReference}function lx(e){if(!e||!e.declarations)return o;let t=[];for(let n=0;n0&&r.body){let t=e.declarations[n-1];if(r.parent===t.parent&&r.kind===t.kind&&r.pos===t.end)continue}if(EZ(r)&&r.jsDoc){let e=!1;for(let n of r.jsDoc)if(n.tags){for(let i of n.tags)if(Dv(i)){let n=i.typeExpression;void 0!==n.type||wW(r)||pq(n,tE),t.push(lb(n)),e=!0}}if(e)continue}t.push(!kB(r)&&!El(r)&&lE(r)||lb(r))}}return t}function lS(e){let t=ij(e,e);if(t){let e=iY(t);if(e)return oC(e)}return tE}function lA(e){if(e.thisParameter)return oC(e.thisParameter)}function lL(e){if(!e.resolvedTypePredicate){var t;if(e.target){let n=lL(e.target);e.resolvedTypePredicate=n?(t=e.mapper,ly(n.kind,n.parameterName,n.parameterIndex,uO(n.type,t))):nx}else if(e.compositeSignatures)e.resolvedTypePredicate=function(e,t){let n;let r=[];for(let i of e){let e=lL(i);if(!e||2===e.kind||3===e.kind){if(2097152!==t)continue;return}if(n){if(!cK(n,e))return}else n=e;r.push(e.type)}if(!n)return;let i=lC(r,t);return ly(n.kind,n.parameterName,n.parameterIndex,i)}(e.compositeSignatures,e.compositeKind)||nx;else{let t,n,r;let i=e.declaration&&Sq(e.declaration);if(!i){let n=lE(e.declaration);n&&e!==n&&(t=lL(n))}e.resolvedTypePredicate=i&&w$(i)?(n=i.parameterName,r=i.type&&d8(i.type),194===n.kind?ly(i.assertsModifier?2:0,void 0,void 0,r):ly(i.assertsModifier?3:1,n.escapedText,d2(e.parameters,e=>e.escapedName===n.escapedText),r)):t||nx}T.assert(!!e.resolvedTypePredicate)}return e.resolvedTypePredicate===nx?void 0:e.resolvedTypePredicate}function lC(e,t,n){return 2097152!==t?cH(e,n):cJ(e)}function lk(e){if(!e.resolvedReturnType){if(!aq(e,3))return tS;let t=e.target?uO(lk(e.target),e.mapper):e.compositeSignatures?uO(lC(un(e.compositeSignatures,lk),e.compositeKind,2),e.mapper):lI(e.declaration)||(vN(e.declaration.body)?tE:bd(e.declaration));if(8&e.flags?t=pD(t):16&e.flags&&(t=pR(t)),!aX()){if(e.declaration){let t=Sq(e.declaration);if(t)rR(t,tA.Return_type_annotation_circularly_references_itself);else if(eK){let t=e.declaration,n=hp(t);n?rR(n,tA._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions,bE(n)):rR(t,tA.Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions)}}t=tE}e.resolvedReturnType=t}return e.resolvedReturnType}function lI(e){let t;if(173===e.kind)return oW(i5(e.parent.symbol));if(Dc(e)){let t=T2(e);if(t&&wW(t.parent))return oW(i5(t.parent.parent.symbol))}if(TG(e))return d8(e.parameters[0].type);let n=Sq(e);if(n)return d8(n);if(174===e.kind&&st(e)){let t=EZ(e)&&a7(e);if(t)return t;let n=og(g9(i7(e),175));if(n)return n}return(t=lE(e))&&lk(t)}function lw(e){return!e.resolvedReturnType&&aJ(e,3)>=0}function lR(e){if(GC(e)){let t=oC(e.parameters[e.parameters.length-1]),n=pT(t)?pA(t):t;return n&&lc(n,tU)}}function lN(e,t,n,r){let i=lD(e,lv(t,e.typeParameters,lg(e.typeParameters),n));if(r){let e=gL(lk(i));if(e){let t=sd(e);t.typeParameters=r;let n=sd(i);return n.resolvedReturnType=lP(t),n}}return i}function lD(e,t){let n=e.instantiations||(e.instantiations=new Map),r=lq(t),i=n.get(r);return i||n.set(r,i=lO(e,t)),i}function lO(e,t){return uT(e,us(e.typeParameters,t),!0)}function lM(e){return e.typeParameters?e.erasedSignatureCache||(e.erasedSignatureCache=uT(e,us(e.typeParameters,void 0),!0)):e}function lP(e){var t;if(!e.isolatedSignatureType){let n=null==(t=e.declaration)?void 0:t.kind,r=void 0===n||173===n||177===n||182===n,i=au(16);i.members=eN,i.properties=o,i.callSignatures=r?o:[e],i.constructSignatures=r?[e]:o,i.indexInfos=o,e.isolatedSignatureType=i}return e.isolatedSignatureType}function lF(e){return e.members?lG(e.members):void 0}function lG(e){return e.get("__index")}function lB(e,t,n,r){return{keyType:e,type:t,isReadonly:n,declaration:r}}function lU(e){let t=lF(e);return t?lV(t):o}function lV(e){if(e.declarations){let t=[];for(let n of e.declarations)if(1===n.parameters.length){let e=n.parameters[0];e.type&&f8(d8(e.type),e=>{lj(e)&&!lr(t,e)&&t.push(lB(e,n.type?d8(n.type):tE,S6(n,64),n))})}return t}return o}function lj(e){return!!(4108&e.flags)||ds(e)||!!(2097152&e.flags)&&!dl(e)&&uv(e.types,lj)}function lH(e){return uu(d9(e.symbol&&e.symbol.declarations,wF),h0)[0]}function lK(e,t){var n;let r;if(null==(n=e.symbol)?void 0:n.declarations){for(let n of e.symbol.declarations)if(192===n.parent.kind){let[i=n.parent,a]=xn(n.parent.parent);if(180!==a.kind||t){if(166===a.kind&&a.dotDotDotToken||188===a.kind||199===a.kind&&a.dotDotDotToken)r=uD(r,ck(tI));else if(201===a.kind)r=uD(r,tB);else if(165===a.kind&&197===a.parent.kind)r=uD(r,t3);else if(197===a.kind&&a.type&&xi(a.type)===n.parent&&191===a.parent.kind&&a.parent.extendsType===a&&197===a.parent.checkType.kind&&a.parent.checkType.type){let e=a.parent.checkType;r=uD(r,uO(d8(e.type),uc(o$(i7(e.typeParameter)),e.typeParameter.constraint?d8(e.typeParameter.constraint):t3)))}}else{let t=TX(a);if(t){let n=a.typeArguments.indexOf(i);if(n()=>a.typeArguments&&n1&&(t+=":"+a),r+=a}}return t}function lJ(e,t){return e?`@${Gb(e)}`+(t?`:${lq(t)}`:""):""}function lX(e,t){let n=0;for(let r of e)void 0!==t&&r.flags&t||(n|=LT(r));return 458752&n}function lY(e,t){return uv(t)&&e===np?tI:l$(e,t)}function l$(e,t){let n=lq(t),r=e.instantiations.get(n);return r||(r=au(4,e.symbol),e.instantiations.set(n,r),r.objectFlags|=t?lX(t):0,r.target=e,r.resolvedTypeArguments=t),r}function lQ(e){let t=ac(e.flags,e.symbol);return t.objectFlags=e.objectFlags,t.target=e.target,t.resolvedTypeArguments=e.resolvedTypeArguments,t}function lZ(e,t,n,r,i){if(!r){let e=dN(r=dR(t));i=n?ur(e,n):e}let a=au(4,e.symbol);return a.target=e,a.node=t,a.mapper=n,a.aliasSymbol=r,a.aliasTypeArguments=i,a}function l0(e){var t,n;if(!e.resolvedTypeArguments){if(!aq(e,6))return(null==(t=e.target.localTypeParameters)?void 0:t.map(()=>tS))||o;let r=e.node,i=r?180===r.kind?uE(e.target.outerTypeParameters,Tq(r,e.target.localTypeParameters)):185===r.kind?[d8(r.elementType)]:un(r.elements,d8):o;aX()?e.resolvedTypeArguments=e.mapper?ur(i,e.mapper):i:(e.resolvedTypeArguments=(null==(n=e.target.localTypeParameters)?void 0:n.map(()=>tS))||o,rR(e.node||a,e.target.symbol?tA.Type_arguments_for_0_circularly_reference_themselves:tA.Tuple_type_arguments_circularly_reference_themselves,e.target.symbol&&aR(e.target.symbol)))}return e.resolvedTypeArguments}function l1(e){return dW(e.target.typeParameters)}function l2(e,t){let n=oQ(i5(t)),r=n.localTypeParameters;if(r){let t=dW(e.typeArguments),i=lg(r),a=EZ(e);if(!(!eK&&a)&&(tr.length)){let t=a&&RG(e)&&!Dd(e.parent);if(rR(e,i===r.length?t?tA.Expected_0_type_arguments_provide_these_with_an_extends_tag:tA.Generic_type_0_requires_1_type_argument_s:t?tA.Expected_0_1_type_arguments_provide_these_with_an_extends_tag:tA.Generic_type_0_requires_between_1_and_2_type_arguments,aD(n,void 0,2),i,r.length),!a)return tS}if(180===e.kind&&cR(e,dW(e.typeArguments)!==r.length))return lZ(n,e,void 0);let o=uE(n.outerTypeParameters,lv(ca(e),r,i,a));return l$(n,o)}return cn(e,t)?n:tS}function l4(e,t,n,r){let i=oQ(e);if(i===tk&&iS.has(e.escapedName)&&t&&1===t.length)return c5(e,t[0]);let a=rX(e),o=a.typeParameters,s=lq(t)+lJ(n,r),l=a.instantiations.get(s);return l||a.instantiations.set(s,l=uM(i,us(o,lv(t,o,lg(o),EZ(e.valueDeclaration))),n,r)),l}function l8(e){var t;let n=null==(t=e.declarations)?void 0:t.find(TU);return!!(n&&Ey(n))}function l6(e){let t=(163===e.kind?e.right:208===e.kind?e.name:e).escapedText;if(t){let n=163===e.kind?l6(e.left):208===e.kind?l6(e.expression):void 0,r=n?`${function e(t){return t.parent?`${e(t.parent)}.${t.escapedName}`:t.escapedName}(n)}.${t}`:t,i=tv.get(r);return i||(tv.set(r,i=rG(524288,t,1048576)),i.parent=n,i.links.declaredType=tL),i}return ty}function l3(e,t,n){let r=function(e){switch(e.kind){case 180:return e.typeName;case 230:let t=e.expression;if(AI(t))return t}}(e);if(!r)return ty;let i=iB(r,t,n);return i&&i!==ty?i:n?ty:l6(r)}function l5(e,t){if(t===ty)return tS;if(96&(t=function(e){let t=e.valueDeclaration;if(!t||!EZ(t)||524288&e.flags||To(t,!1))return;let n=Nr(t)?Ti(t):Ta(t);if(n){let t=i9(n);if(t)return vh(t,e)}}(t)||t).flags)return l2(e,t);if(524288&t.flags)return function(e,t){if(1048576&Lc(t)){let n=ca(e),r=lJ(t,n),i=tb.get(r);return i||((i=ad(1,"error")).aliasSymbol=t,i.aliasTypeArguments=n,tb.set(r,i)),i}let n=oQ(t),r=rX(t).typeParameters;if(r){let n;let i=dW(e.typeArguments),a=lg(r);if(ir.length)return rR(e,a===r.length?tA.Generic_type_0_requires_1_type_argument_s:tA.Generic_type_0_requires_between_1_and_2_type_arguments,aR(t),a,r.length),tS;let o=dR(e),s=o&&(l8(t)||!l8(o))?o:void 0;if(s)n=dN(s);else if(g2(e)){let t=l3(e,2097152,!0);if(t&&t!==ty){let i=iw(t);i&&524288&i.flags&&(s=i,n=ca(e)||(r?[]:void 0))}}return l4(t,ca(e),s,n)}return cn(e,t)?n:tS}(e,t);let n=oZ(t);return n?cn(e,t)?dV(n):tS:111551&t.flags&&ct(e)?function(e,t){let n=rY(e);if(!n.resolvedJSDocType){let r=oC(t),i=r;if(t.valueDeclaration){let n=202===e.kind&&e.qualifier;r.symbol&&r.symbol!==t&&n&&(i=l5(e,r.symbol))}n.resolvedJSDocType=i}return n.resolvedJSDocType}(e,t)||(l3(e,788968),oC(t)):tS}function l7(e,t){if(3&t.flags||t===e||1&e.flags)return e;let n=`${cB(e)}>${cB(t)}`,r=td.get(n);if(r)return r;let i=al(33554432);return i.baseType=e,i.constraint=t,td.set(n,i),i}function l9(e){return cJ([e.constraint,e.baseType])}function ce(e){return 186===e.kind&&1===e.elements.length}function ct(e){return!!(8388608&e.flags)&&(180===e.kind||202===e.kind)}function cn(e,t){return!e.typeArguments||(rR(e,tA.Type_0_is_not_generic,t?aR(t):e.typeName?bE(e.typeName):ip),!1)}function cr(e){if(wb(e.typeName)){let t=e.typeArguments;switch(e.typeName.escapedText){case"String":return cn(e),tB;case"Number":return cn(e),tU;case"Boolean":return cn(e),tY;case"Void":return cn(e),tQ;case"Undefined":return cn(e),tR;case"Null":return cn(e),tP;case"Function":case"function":return cn(e),m;case"array":return t&&t.length||eK?void 0:L;case"promise":return t&&t.length||eK?void 0:bt(tE);case"Object":if(t&&2===t.length){if(E4(e)){let e=d8(t[0]),n=d8(t[1]),r=e===tB||e===tU?[lB(e,n,!1)]:o;return ah(void 0,eN,o,o,r)}return tE}return cn(e),eK?void 0:tE}}}function ci(e){let t=rY(e);if(!t.resolvedType){let n,r;if(yt(e)&&gf(e.parent))return t.resolvedSymbol=ty,t.resolvedType=Eg(e.parent.expression);!ct(e)||(r=cr(e))||((n=l3(e,788968,!0))===ty?n=l3(e,900095):l3(e,788968),r=l5(e,n)),r||(n=l3(e,788968),r=l5(e,n)),t.resolvedSymbol=n,t.resolvedType=r}return t.resolvedType}function ca(e){return un(e.typeArguments,d8)}function co(e){let t=rY(e);if(!t.resolvedType){let n=vO(e);t.resolvedType=dV(pz(n))}return t.resolvedType}function cs(e,t){function n(e){let t=e.declarations;if(t)for(let e of t)switch(e.kind){case 260:case 261:case 263:return e}}if(!e)return t?np:no;let r=oQ(e);return 524288&r.flags?dW(r.typeParameters)!==t?(rR(n(e),tA.Global_type_0_must_have_1_type_parameter_s,ho(e),t),t?np:no):r:(rR(n(e),tA.Global_type_0_must_be_a_class_or_interface_type,ho(e)),t?np:no)}function cl(e,t){return cu(e,111551,t?tA.Cannot_find_global_value_0:void 0)}function cc(e,t){return cu(e,788968,t?tA.Cannot_find_global_type_0:void 0)}function cd(e,t,n){let r=cu(e,788968,n?tA.Cannot_find_global_type_0:void 0);if(r&&(oQ(r),dW(rX(r).typeParameters)!==t)){rR(r.declarations&&d0(r.declarations,Nl),tA.Global_type_0_must_have_1_type_parameter_s,ho(r),t);return}return r}function cu(e,t,n){return r0(void 0,e,t,n,e,!1,!1,!1)}function c_(e,t,n){let r=cc(e,n);return r||n?cs(r,t):void 0}function cp(){return X||(X=c_("ImportMeta",0,!0)||no)}function cf(){if(!Y){let e=rG(0,"ImportMetaExpression"),t=cp(),n=rG(4,"meta",8);n.parent=e,n.links.type=t;let r=vt([n]);e.members=r,Y=ah(e,r,o,o,o)}return Y}function cm(e){return $||($=c_("ImportCallOptions",0,e))||no}function ch(e){return w||(w=cl("Symbol",e))}function cy(){return N||(N=c_("Symbol",0,!1))||no}function cg(e){return O||(O=c_("Promise",1,e))||np}function cv(e){return M||(M=c_("PromiseLike",1,e))||np}function cb(e){return P||(P=cl("Promise",e))}function cE(e){return K||(K=c_("AsyncIterable",1,e))||np}function cT(e){return G||(G=c_("Iterable",1,e))||np}function cx(e,t=0){let n=cu(e,788968,void 0);return n&&cs(n,t)}function cS(e){return et||(et=cd("Awaited",1,e)||(e?ty:void 0)),et===ty?void 0:et}function cA(e,t){return e!==np?l$(e,t):no}function cL(e){return cA(D||(D=c_("TypedPropertyDescriptor",1,!0)||np),[e])}function cC(e){return cA(cT(!0),[e])}function ck(e,t){return cA(t?v:g,[e])}function cI(e){switch(e.kind){case 187:return 2;case 188:return cw(e);case 199:return e.questionToken?2:e.dotDotDotToken?cw(e):1;default:return 1}}function cw(e){return dQ(e.type)?4:8}function cR(e,t){return!!dR(e)||function e(t){let n=t.parent;switch(n.kind){case 193:case 199:case 180:case 189:case 190:case 196:case 191:case 195:case 185:case 186:return e(n);case 262:return!0}return!1}(e)&&(185===e.kind?cN(e.elementType):186===e.kind?uv(e.elements,cN):t||uv(e.typeArguments,cN))}function cN(e){switch(e.kind){case 180:return ct(e)||!!(524288&l3(e,788968).flags);case 183:return!0;case 195:return 156!==e.operator&&cN(e.type);case 193:case 187:case 199:case 319:case 317:case 318:case 312:return cN(e.type);case 188:return 185!==e.type.kind||cN(e.type.elementType);case 189:case 190:return uv(e.types,cN);case 196:return cN(e.objectType)||cN(e.indexType);case 191:return cN(e.checkType)||cN(e.extendsType)||cN(e.trueType)||cN(e.falseType)}return!1}function cD(e,t,n=!1,r){let i=cO(t||un(e,e=>1),n,r);return i===np?no:e.length?cM(i,e):i}function cO(e,t,n){if(1===e.length&&4&e[0])return t?v:g;let r=un(e,e=>1&e?"#":2&e?"?":4&e?".":"*").join()+(t?"R":"")+(n&&n.length?","+un(n,Gv).join(","):""),i=te.get(r);return i||te.set(r,i=function(e,t,n){let r;let i=e.length,a=d7(e,e=>!!(9&e)),s=[],l=0;if(i){r=Array(i);for(let a=0;a!!(8&t.elementFlags[n]&&1179648&e.flags));if(r>=0)return cY(un(n,(e,n)=>8&t.elementFlags[n]?e:tI))?f9(n[r],i=>e(t,uZ(n,r,i))):tS}let s=[],l=[],c=[],d=-1,u=-1,_=-1;for(let e=0;e=1e4)return rR(a,b4(a)?tA.Type_produces_a_tuple_type_that_is_too_large_to_represent:tA.Expression_produces_a_tuple_type_that_is_too_large_to_represent),tS;dz(e,(e,t)=>{var n;return f(e,l.target.elementFlags[t],null==(n=l.target.labeledElementDeclarations)?void 0:n[t])})}else f(_9(l)&&lc(l,tU)||tS,4,null==(i=t.labeledElementDeclarations)?void 0:i[e])}else f(l,c,null==(o=t.labeledElementDeclarations)?void 0:o[e])}for(let e=0;e=0&&u<_&&(s[u]=cH(ui(s.slice(u,_+1),(e,t)=>8&l[u+t]?dh(e,tU):e)),s.splice(u+1,_-u),l.splice(u+1,_-u),null==c||c.splice(u+1,_-u));let p=cO(l,t.readonly,c);return p===np?no:l.length?l$(p,s):p;function f(e,t,n){1&t&&(d=l.length),4&t&&u<0&&(u=l.length),6&t&&(_=l.length),s.push(2&t?oe(e,!0):e),l.push(t),c&&n?c.push(n):c=void 0}}(e,t):l$(e,t)}function cP(e,t,n=0){let r,i=e.target,a=l1(e)-n;return t>i.fixedLength?(r=pA(e))&&ck(r)||cD(o):cD(l0(e).slice(t,a),i.elementFlags.slice(t,a),!1,i.labeledElementDeclarations&&i.labeledElementDeclarations.slice(t,a))}function cF(e){return cH(uD(u7(e.target.fixedLength,e=>dH(""+e)),c8(e.target.readonly?v:g)))}function cG(e,t){return e.elementFlags.length-d4(e.elementFlags,e=>!(e&t))-1}function cB(e){return e.id}function cU(e,t){return u0(e,t,cB,_U)>=0}function cV(e,t){let n=u0(e,t,cB,_U);return n<0&&(e.splice(~n,0,t),!0)}function cj(e,t){let n=new ex(e3,e);return n.types=t,n}function cH(e,t=1,n,r,i){if(0===e.length)return tZ;if(1===e.length)return e[0];let o=[],s=function e(t,n,r){for(let i of r)n=function(t,n,r){let i=r.flags;if(1048576&i)return e(t,n|(1048576&r.flags&&(r.aliasSymbol||r.origin)?1048576:0),r.types);if(!(131072&i)){if(n|=205258751&i,465829888&i&&(n|=33554432),r===tx&&(n|=8388608),!eU&&98304&i)65536<(r)||(n|=4194304);else{let e=t.length,n=e&&r.id>t[e-1].id?~e:u0(t,r,cB,_U);n<0&&t.splice(~n,0,r)}}return n}(t,n,i);return n}(o,0,e);if(0!==t){if(3&s)return 1&s?8388608&s?tx:tE:65536&s||cU(o,tI)?tI:tw;if(32768&s&&o.length>=2&&o[0]===tR&&o[1]===tD&&_6(o,1),(402664352&s||16384&s&&32768&s)&&function(e,t,n){let r=e.length;for(;r>0;){let i=e[--r],a=i.flags;(402653312&a&&4&t||256&a&&8&t||2048&a&&64&t||8192&a&&4096&t||n&&32768&a&&16384&t||dj(i)&&cU(e,i.regularType))&&_6(e,r)}}(o,s,!!(2&t)),128&s&&134217728&s&&function(e){let t=d9(e,e=>!!(134217728&e.flags)&&ds(e));if(t.length){let n=e.length;for(;n>0;){let r=e[--n];128&r.flags&&uv(t,e=>fo(r,e))&&_6(e,n)}}}(o),2===t&&!(o=function(e,t){var n;if(e.length<2)return e;let r=lq(e),i=tu.get(r);if(i)return i;let o=t&&uv(e,e=>!!(524288&e.flags)&&!sO(e)&&_h(sM(e))),s=e.length,l=s,c=0;for(;l>0;){let t=e[--l];if(o||469499904&t.flags){let r=61603840&t.flags?d0(sB(t),e=>pf(oC(e))):void 0,i=r&&dV(oC(r));for(let o of e)if(t!==o){if(1e5===c&&c/(s-l)*s>1e6){null==(n=Q)||n.instant(Q.Phase.CheckTypes,"removeSubtypes_DepthLimit",{typeIds:e.map(e=>e.id)}),rR(a,tA.Expression_produces_a_union_type_that_is_too_complex_to_represent);return}if(c++,r&&61603840&o.flags){let e=a$(o,r.escapedName);if(e&&pf(e)&&dV(e)!==i)continue}if(_L(t,o,rh)&&(!(1<(ow(t)))||!(1<(ow(o)))||u5(t,o))){_6(e,l);break}}}}return tu.set(r,e),e}(o,!!(524288&s))))return tS;if(0===o.length)return 65536&s?4194304&s?tP:tG:32768&s?4194304&s?tR:tN:tZ}if(!i&&1048576&s){let t=[];!function e(t,n){for(let r of n)if(1048576&r.flags){let n=r.origin;r.aliasSymbol||n&&!(1048576&n.flags)?uF(t,r):n&&1048576&n.flags&&e(t,n.types)}}(t,e);let r=[];for(let e of o)uv(t,t=>cU(t.types,e))||r.push(e);if(!n&&1===t.length&&0===r.length)return t[0];if(u2(t,(e,t)=>e+t.types.length,0)+r.length===o.length){for(let e of t)cV(r,e);i=cj(1048576,r)}}return cW(o,(36323363&s?0:32768)|(2097152&s?16777216:0),n,r,i)}function cK(e,t){return e.kind===t.kind&&e.parameterIndex===t.parameterIndex}function cW(e,t,n,r,i){if(0===e.length)return tZ;if(1===e.length)return e[0];let a=(i?1048576&i.flags?`|${lq(i.types)}`:2097152&i.flags?`&${lq(i.types)}`:`#${i.type.id}|${lq(e)}`:lq(e))+lJ(n,r),o=tt.get(a);return o||((o=al(1048576)).objectFlags=t|lX(e,98304),o.types=e,o.origin=i,o.aliasSymbol=n,o.aliasTypeArguments=r,2===e.length&&512&e[0].flags&&512&e[1].flags&&(o.flags|=16,o.intrinsicName="boolean"),tt.set(a,o)),o}function cz(e,t){return dZ(e,e=>!!(1048576&e.flags)&&uv(e.types,e=>!!(e.flags&t)))}function cq(e,t){for(let n=0;n!(e.flags&t))}function cJ(e,t,n,r){let i=new Map,a=function e(t,n,r){for(let i of r)n=function(t,n,r){let i=r.flags;return 2097152&i?e(t,n,r.types):(_b(r)?16777216&n||(n|=16777216,t.set(r.id.toString(),r)):(3&i?r===tx&&(n|=8388608):!eU&&98304&i||(r===tD&&(n|=262144,r=tR),t.has(r.id.toString())||(109472&r.flags&&109472&n&&(n|=67108864),t.set(r.id.toString(),r))),n|=205258751&i),n)}(t,n,dV(i));return n}(i,0,e),o=u9(i.values());if(131072&a)return d6(o,t0)?t0:tZ;if(eU&&98304&a&&84410368&a||67108864&a&&402783228&a||402653316&a&&67238776&a||296&a&&469891796&a||2112&a&&469889980&a||12288&a&&469879804&a||49152&a&&469842940&a||134217728&a&&128&a&&function(e){let t=e.length,n=d9(e,e=>!!(128&e.flags));for(;t>0;){let r=e[--t];if(134217728&r.flags)for(let i of n){if(u6(i,r)){_6(e,t);break}if(ds(r))return!0}}return!1}(o))return tZ;if(1&a)return 8388608&a?tx:tE;if(!eU&&98304&a)return 16777216&a?tZ:32768&a?tR:tP;if((4&a&&402653312&a||8&a&&256&a||64&a&&2048&a||4096&a&&8192&a||16384&a&&32768&a||16777216&a&&470302716&a)&&!r&&function(e,t){let n=e.length;for(;n>0;){let r=e[--n];(4&r.flags&&402653312&t||8&r.flags&&256&t||64&r.flags&&2048&t||4096&r.flags&&8192&t||16384&r.flags&&32768&t||_b(r)&&470302716&t)&&_6(e,n)}}(o,a),262144&a&&(o[o.indexOf(tR)]=tD),0===o.length)return tI;if(1===o.length)return o[0];let s=lq(o)+lJ(t,n),l=tn.get(s);if(!l){if(1048576&a){if(function(e){let t;let n=d2(e,e=>!!(32768<(e)));if(n<0)return!1;let r=n+1;for(;r=0;n--)if(1048576&e[n].flags){let r=e[n].types,a=r.length;t[n]=r[i%a],i=Math.floor(i/a)}let a=cJ(t);131072&a.flags||n.push(a)}return n}(o),r=uv(e,e=>!!(2097152&e.flags))&&c$(e)>c$(o)?cj(2097152,o):void 0;l=cH(e,1,t,n,r)}}else{let e;(e=al(2097152)).objectFlags=lX(o,98304),e.types=o,e.aliasSymbol=t,e.aliasTypeArguments=n,l=e}tn.set(s,l)}return l}function cX(e){return u2(e,(e,t)=>1048576&t.flags?e*t.types.length:131072&t.flags?0:e,1)}function cY(e){var t;let n=cX(e);return!(n>=1e5)||(null==(t=Q)||t.instant(Q.Phase.CheckTypes,"checkCrossProductUnion_DepthLimit",{typeIds:e.map(e=>e.id),size:n}),rR(a,tA.Expression_produces_a_union_type_that_is_too_complex_to_represent),!1)}function c$(e){return u2(e,(e,t)=>e+function e(t){return!(3145728&t.flags)||t.aliasSymbol?1:1048576&t.flags&&t.origin?e(t.origin):c$(t.types)}(t),0)}function cQ(e,t){let n=al(4194304);return n.type=e,n.stringsOnly=t,n}function cZ(e,t){return t?e.resolvedStringIndexType||(e.resolvedStringIndexType=cQ(e,!0)):e.resolvedIndexType||(e.resolvedIndexType=cQ(e,!1))}function c0(e){return wE(e)?tZ:wb(e)?dH(hr(e.escapedText)):dV(wP(e)?hw(e):TT(e))}function c1(e,t,n){if(n||!(24&Ld(e))){let n=rX(so(e)).nameType;if(!n){let t=hp(e.valueDeclaration);n="default"===e.escapedName?dH("default"):t&&c0(t)||(xK(e)?void 0:dH(ho(e)))}if(n&&n.flags&t)return n}return tZ}function c2(e){let t=134479871&e.flags?e:e.uniqueLiteralFilledInstantiation||(e.uniqueLiteralFilledInstantiation=uO(e,nr));return s6(t)!==t}function c4(e){let t;return!!(58982400&e.flags||px(e)||sO(e)&&(t=sS(e),!function e(n){return!!(202375167&n.flags)||(16777216&n.flags?n.root.isDistributive&&n.checkType===t:137363456&n.flags?dZ(n.types,e):8388608&n.flags?e(n.objectType)&&e(n.indexType):33554432&n.flags?e(n.baseType)&&e(n.constraint):!!(268435456&n.flags)&&e(n.type))}(sL(e)||t))||1048576&e.flags&&uv(e.types,c2)||2097152&e.flags&&bZ(e,465829888)&&uv(e.types,_b))}function c8(e,t=eq,n){var r,i;let a,o;return c4(e=s6(e))?cZ(e,t):1048576&e.flags?cJ(un(e.types,e=>c8(e,t,n))):2097152&e.flags?cH(un(e.types,e=>c8(e,t,n))):32<(e)?function(e,t,n){let r=sS(e),i=sA(e),a=sL(e.target||e);if(!a&&!n)return i;let o=[];if(sI(e)){if(dd(i))return cZ(e,t);sx(s0(sw(e)),8576,t,l)}else f8(sE(i),l);dd(i)&&f8(i,l);let s=n?f5(cH(o),e=>!(5&e.flags)):cH(o);if(1048576&s.flags&&1048576&i.flags&&lq(s.types)===lq(i.types))return i;return s;function l(t){let n=a?uO(a,ug(e.mapper,r,t)):t;o.push(n===tB?t8:n)}}(e,t,n):e===tx?tx:2&e.flags?tZ:131073&e.flags?t3:(r=e,i=(n?128:402653316)|(t?0:12584),o=t===eq&&!n&&(7<(r)||r.aliasSymbol)?((a=new ex(e3,4194304)).type=r,a):void 0,cH(uE(un(sB(r),e=>c1(e,i)),un(ls(r),e=>e!==nk&&function e(t,n){return!!(t.flags&n||2097152&t.flags&&uv(t.types,t=>e(t,n)))}(e.keyType,i)?e.keyType===tB&&8&i?t8:e.keyType:tZ)),1,void 0,void 0,o))}function c6(e){if(eq)return e;let t=(Z||(Z=cd("Extract",2,!0)||ty),Z===ty?void 0:Z);return t?l4(t,[e,tB]):tB}function c3(e,t){let n,r=d2(t,e=>!!(1179648&e.flags));if(r>=0)return cY(t)?f9(t[r],n=>c3(e,uZ(t,r,n))):tS;if(d6(t,tx))return tx;let i=[],a=[],o=e[0];if(!function e(t,n){let r=_y(t);for(let s=0;s""===e)){if(dZ(i,e=>!!(4&e.flags)))return tB;if(1===i.length&&ds(i[0]))return i[0]}let s=`${lq(i)}|${un(a,e=>e.length).join(",")}|${a.join("")}`,l=tl.get(s);return l||tl.set(s,((n=al(134217728)).texts=a,n.types=i,l=n)),l}function c5(e,t){return 1179648&t.flags?f9(t,t=>c5(e,t)):128&t.flags?dH(c7(e,t.value)):134217728&t.flags?c3(...function(e,t,n){switch(iS.get(e.escapedName)){case 0:return[t.map(e=>e.toUpperCase()),n.map(t=>c5(e,t))];case 1:return[t.map(e=>e.toLowerCase()),n.map(t=>c5(e,t))];case 2:return[""===t[0]?t:[t[0].charAt(0).toUpperCase()+t[0].slice(1),...t.slice(1)],""===t[0]?[c5(e,n[0]),...n.slice(1)]:n];case 3:return[""===t[0]?t:[t[0].charAt(0).toLowerCase()+t[0].slice(1),...t.slice(1)],""===t[0]?[c5(e,n[0]),...n.slice(1)]:n]}return[t,n]}(e,t.texts,t.types)):268435456&t.flags&&e===t.symbol?t:268435461&t.flags||dd(t)?c9(e,t):da(t)?c9(e,c3(["",""],[t])):t}function c7(e,t){switch(iS.get(e.escapedName)){case 0:return t.toUpperCase();case 1:return t.toLowerCase();case 2:return t.charAt(0).toUpperCase()+t.slice(1);case 3:return t.charAt(0).toLowerCase()+t.slice(1)}return t}function c9(e,t){let n,r=`${Gb(e)},${cB(t)}`,i=tc.get(r);return i||tc.set(r,((n=ac(268435456,e)).type=t,i=n)),i}function de(e){if(eK)return!1;if(4096<(e))return!0;if(1048576&e.flags)return dZ(e.types,de);if(2097152&e.flags)return uv(e.types,de);if(465829888&e.flags){let t=sX(e);return t!==e&&de(t)}return!1}function dt(e,t){return o5(e)?sn(e):t&&yM(t)?xG(t):void 0}function dn(e,t){if(8208&t.flags){let n=m9(e.parent,e=>!Lw(e))||e.parent;return gi(n)?ga(n)&&wb(e)&&fG(n,e):dZ(t.declarations,e=>!yF(e)||!!(268435456&m3(e)))}return!0}function dr(e,t,n,r,i,a){var o;let s=i&&209===i.kind?i:void 0,l=i&&wE(i)?void 0:dt(n,i);if(void 0!==l){if(256&a)return mQ(t,l)||tE;let e=le(t,l);if(e){if(64&a&&i&&e.declarations&&rP(e)&&dn(i,e)&&rF(null!=(o=null==s?void 0:s.argumentExpression)?o:Ra(i)?i.indexType:i,e.declarations,l),s){if(ge(e,s,gt(s.expression,t.symbol)),bJ(s,e,T6(s))){rR(s.argumentExpression,tA.Cannot_assign_to_0_because_it_is_a_read_only_property,aR(e));return}if(8&a&&(rY(i).resolvedSymbol=e),yV(s,e))return tT}let n=oC(e);return s&&1!==T6(s)?mv(s,n):i&&Ra(i)&&pU(n)?cH([n,tR]):n}if(f3(t,pT)&&kV(l)){let e=+l;if(i&&f3(t,e=>!e.target.hasRestElement)&&!(16&a)){let n=di(i);if(pT(t)){if(e<0)return rR(n,tA.A_tuple_type_cannot_be_indexed_with_a_negative_value),tR;rR(n,tA.Tuple_type_0_of_length_1_has_no_element_at_index_2,aD(t),l1(t),hr(l))}else rR(n,tA.Property_0_does_not_exist_on_type_1,hr(l),aD(t))}if(e>=0)return c(ll(t,tU)),f9(t,e=>{let t=pA(e)||tR;return 1&a?cH([t,tD]):t})}}if(!(98304&n.flags)&&b0(n,402665900)){if(131073&t.flags)return t;let o=lu(t,n)||ll(t,tB);if(o){if(2&a&&o.keyType!==tU){s&&rR(s,tA.Type_0_cannot_be_used_to_index_type_1,aD(n),aD(e));return}return i&&o.keyType===tB&&!b0(n,12)?(rR(di(i),tA.Type_0_cannot_be_used_as_an_index_type,aD(n)),1&a?cH([o.type,tD]):o.type):(c(o),1&a&&!(t.symbol&&384&t.symbol.flags&&n.symbol&&1024&n.flags&&ae(n.symbol)===t.symbol))?cH([o.type,tD]):o.type}if(131072&n.flags)return tZ;if(de(t))return tE;if(s&&!b2(t)){if(fh(t)){if(eK&&384&n.flags)return r_.add(bC(s,tA.Property_0_does_not_exist_on_type_1,n.value,aD(t))),tR;if(12&n.flags)return cH(uD(un(t.properties,e=>oC(e)),tR))}if(t.symbol===e2&&void 0!==l&&e2.exports.has(l)&&418&e2.exports.get(l).flags)rR(s,tA.Property_0_does_not_exist_on_type_1,hr(l),aD(t));else if(eK&&!eO.suppressImplicitAnyIndexErrors&&!(128&a)){if(void 0!==l&&yQ(l,t)){let e=aD(t);rR(s,tA.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,l,e,e+"["+v$(s.argumentExpression)+"]")}else if(lc(t,tU))rR(s.argumentExpression,tA.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number);else{let e;if(void 0!==l&&(e=y3(l,t)))void 0!==e&&rR(s.argumentExpression,tA.Property_0_does_not_exist_on_type_1_Did_you_mean_2,l,aD(t),e);else{let e=function(e,t,n){let r=T3(t)?"set":"get";if(!function(t){let r=sF(e,t);if(r){let e=gA(oC(r));return!!e&&vJ(e)>=1&&u3(n,vK(e,0))}return!1}(r))return;let i=AD(t.expression);return void 0===i?i=r:i+="."+r,i}(t,s,n);if(void 0!==e)rR(s,tA.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1,aD(t),e);else{let e;if(1024&n.flags)e=L2(void 0,tA.Property_0_does_not_exist_on_type_1,"["+aD(n)+"]",aD(t));else if(8192&n.flags){let r=iG(n.symbol,s);e=L2(void 0,tA.Property_0_does_not_exist_on_type_1,"["+r+"]",aD(t))}else 128&n.flags?e=L2(void 0,tA.Property_0_does_not_exist_on_type_1,n.value,aD(t)):256&n.flags?e=L2(void 0,tA.Property_0_does_not_exist_on_type_1,n.value,aD(t)):12&n.flags&&(e=L2(void 0,tA.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,aD(n),aD(t)));e=L2(e,tA.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1,aD(r),aD(t)),r_.add(bw(vS(s),s,e))}}}}return}}if(de(t))return tE;if(i){let e=di(i);384&n.flags?rR(e,tA.Property_0_does_not_exist_on_type_1,""+n.value,aD(t)):12&n.flags?rR(e,tA.Type_0_has_no_matching_index_signature_for_type_1,aD(t),aD(n)):rR(e,tA.Type_0_cannot_be_used_as_an_index_type,aD(n))}if(aQ(n))return n;function c(e){e&&e.isReadonly&&s&&(T3(s)||xa(s))&&rR(s,tA.Index_signature_in_type_0_only_permits_reading,aD(t))}}function di(e){return 209===e.kind?e.argumentExpression:196===e.kind?e.indexType:164===e.kind?e.expression:e}function da(e){return!!(77&e.flags)||ds(e)}function ds(e){return!!(134217728&e.flags)&&dZ(e.types,da)||!!(268435456&e.flags)&&da(e.type)}function dl(e){return!!du(e)}function dc(e){return!!(4194304&du(e))}function dd(e){return!!(8388608&du(e))}function du(e){return 3145728&e.flags?(2097152&e.objectFlags||(e.objectFlags|=2097152|u2(e.types,(e,t)=>e|du(t),0)),12582912&e.objectFlags):33554432&e.flags?(2097152&e.objectFlags||(e.objectFlags|=2097152|du(e.baseType)|du(e.constraint)),12582912&e.objectFlags):(58982400&e.flags||sO(e)||px(e)?4194304:0)|(465829888&e.flags&&!ds(e)?8388608:0)}function d_(e,t){return 8388608&e.flags?function(e,t){let n=t?"simplifiedForWriting":"simplifiedForReading";if(e[n])return e[n]===nh?e:e[n];e[n]=nh;let r=d_(e.objectType,t),i=d_(e.indexType,t),a=function(e,t,n){if(1048576&t.flags){let r=un(t.types,t=>d_(dh(e,t),n));return n?cJ(r):cH(r)}}(r,i,t);if(a)return e[n]=a;if(!(465829888&i.flags)){let a=dp(r,i,t);if(a)return e[n]=a}if(px(r)&&296&i.flags){let a=pL(r,8&i.flags?0:r.target.fixedLength,0,t);if(a)return e[n]=a}if(sO(r)){let i=sL(r);if(!i||u3(i,sS(r)))return e[n]=f9(dm(r,e.indexType),e=>d_(e,t))}return e[n]=e}(e,t):16777216&e.flags?function(e,t){let n=e.checkType,r=e.extendsType,i=dL(e),a=dC(e);if(131072&a.flags&&dE(i)===dE(n)){if(1&n.flags||u3(uU(n),uU(r)))return d_(i,t);if(df(n,r))return tZ}else if(131072&i.flags&&dE(a)===dE(n)){if(!(1&n.flags)&&u3(uU(n),uU(r)))return tZ;if(1&n.flags||df(n,r))return d_(a,t)}return e}(e,t):e}function dp(e,t,n){if(1048576&e.flags||2097152&e.flags&&!c4(e)){let r=un(e.types,e=>d_(dh(e,t),n));return 2097152&e.flags||n?cJ(r):cH(r)}}function df(e,t){return!!(131072&cH([sy(e,t),tZ]).flags)}function dm(e,t){let n=us([sS(e)],[t]),r=uh(e.mapper,n);return uO(sC(e.target||e),r)}function dh(e,t,n=0,r,i,a){return dg(e,t,n,r,i,a)||(r?tS:tI)}function dy(e,t){return f3(e,e=>{if(384&e.flags){let n=sn(e);if(kV(n)){let e=+n;return e>=0&&e0&&!uv(e.elements,e=>w3(e)||w5(e)||w6(e)&&!!(e.questionToken||e.dotDotDotToken))}function dS(e,t){return dl(e)||t&&pT(e)&&uv(l0(e),dl)}function dA(e,t,n,r){let i,o;let s=0;for(;;){let c;if(1e3===s){rR(a,tA.Type_instantiation_is_excessively_deep_and_possibly_infinite),i=tS;break}let d=dx(e.node.checkType)&&dx(e.node.extendsType)&&dW(e.node.checkType.elements)===dW(e.node.extendsType.elements),u=uO(dE(e.checkType),t),_=dS(u,d),p=uO(e.extendsType,t);if(u===tx||p===tx)return tx;if(e.inferTypeParameters){let n=ui(e.inferTypeParameters,dT),r=n!==e.inferTypeParameters?us(e.inferTypeParameters,n):void 0,i=p$(n,void 0,0);if(r){let i=uh(t,r);for(let t of n)-1===e.inferTypeParameters.indexOf(t)&&(t.mapper=i)}_||fp(i.inferences,u,uO(p,r),1536);let a=uh(r,i.mapper);c=t?uh(a,t):a}let f=c?uO(e.extendsType,c):p;if(!_&&!dS(f,d)){if(!(3&f.flags)&&(1&u.flags||!u3(uB(u),uB(f)))){1&u.flags&&(o||(o=[])).push(uO(d8(e.node.trueType),c||t));let n=d8(e.node.falseType);if(16777216&n.flags){let r=n.root;if(r.node.parent===e.node&&(!r.isDistributive||r.checkType===e.checkType)){e=r;continue}if(l(n,t))continue}i=uO(n,t);break}if(3&f.flags||u3(uU(u),uU(f))){let n=d8(e.node.trueType),r=c||t;if(l(n,r))continue;i=uO(n,r);break}}(i=al(16777216)).root=e,i.checkType=uO(e.checkType,t),i.extendsType=uO(e.extendsType,t),i.mapper=t,i.combinedMapper=c,i.aliasSymbol=n||e.aliasSymbol,i.aliasTypeArguments=n?r:ur(e.aliasTypeArguments,t);break}return o?cH(uD(o,i)):i;function l(i,a){if(16777216&i.flags&&a){let o=i.root;if(o.outerTypeParameters){let l=uh(i.mapper,a),c=un(o.outerTypeParameters,e=>ul(e,l)),d=us(o.outerTypeParameters,c),u=o.isDistributive?ul(o.checkType,d):void 0;if(!u||u===o.checkType||!(1179648&u.flags))return e=o,t=d,n=void 0,r=void 0,o.aliasSymbol&&s++,!0}}return!1}}function dL(e){return e.resolvedTrueType||(e.resolvedTrueType=uO(d8(e.root.node.trueType),e.mapper))}function dC(e){return e.resolvedFalseType||(e.resolvedFalseType=uO(d8(e.root.node.falseType),e.mapper))}function dk(e){let t;return e.locals&&e.locals.forEach(e=>{262144&e.flags&&(t=uD(t,oQ(e)))}),t}function dI(e,t,n,r){let i=iI(n);return(t.resolvedSymbol=i,111551===r)?vM(oC(n),e):l5(e,i)}function dw(e){let t=rY(e);if(!t.resolvedType){let n=dR(e);if(0!==sa(e.symbol).size||n){let r=au(16,e.symbol);r.aliasSymbol=n,r.aliasTypeArguments=dN(n),Dl(e)&&e.isArrayType&&(r=ck(r)),t.resolvedType=r}else t.resolvedType=nd}return t.resolvedType}function dR(e){let t=e.parent;for(;Rn(t)||N4(t)||Ri(t)&&146===t.operator;)t=t.parent;return TU(t)?i7(t):void 0}function dN(e){return e?oM(e):void 0}function dD(e){return!!(524288&e.flags)&&!sO(e)}function dO(e){return _g(e)||!!(474058748&e.flags)}function dM(e,t){if(!(1048576&e.flags))return e;if(dZ(e.types,dO))return d0(e.types,_g)||no;let n=d0(e.types,e=>!dO(e));return n?d0(e.types,e=>e!==n&&!dO(e))?e:function(e){let n=vt();for(let r of sB(e))if(24&Ld(r));else if(dF(r)){let e=65536&r.flags&&!(32768&r.flags),i=rG(16777220,r.escapedName,sT(r)|(t?8:0));i.links.type=e?tR:oe(oC(r),!0),i.declarations=r.declarations,i.links.nameType=rX(r).nameType,i.links.syntheticOrigin=r,n.set(r.escapedName,i)}let r=ah(e.symbol,n,o,o,ls(e));return r.objectFlags|=131200,r}(n):e}function dP(e,t,n,r,i){if(1&e.flags||1&t.flags)return tE;if(2&e.flags||2&t.flags)return tI;if(131072&e.flags)return t;if(131072&t.flags)return e;if(1048576&(e=dM(e,i)).flags)return cY([e,t])?f9(e,e=>dP(e,t,n,r,i)):tS;if(1048576&(t=dM(t,i)).flags)return cY([e,t])?f9(t,t=>dP(e,t,n,r,i)):tS;if(473960444&t.flags)return e;if(dc(e)||dc(t)){if(_g(e))return t;if(2097152&e.flags){let a=e.types,o=a[a.length-1];if(dD(o)&&dD(t))return cJ(uE(a.slice(0,a.length-1),[dP(o,t,n,r,i)]))}return cJ([e,t])}let a=vt(),s=new Set,l=e===no?ls(t):sh([e,t]);for(let e of sB(t))24&Ld(e)?s.add(e.escapedName):dF(e)&&a.set(e.escapedName,dG(e,i));for(let t of sB(e))if(!s.has(t.escapedName)&&dF(t)){if(a.has(t.escapedName)){let e=a.get(t.escapedName),n=oC(e);if(16777216&e.flags){let r=uE(t.declarations,e.declarations),i=rG(4|16777216&t.flags,t.escapedName);i.links.type=cH([oC(t),pV(n)],2),i.links.leftSpread=t,i.links.rightSpread=e,i.declarations=r,i.links.nameType=rX(t).nameType,a.set(t.escapedName,i)}}else a.set(t.escapedName,dG(t,i))}let c=ah(n,a,o,o,ui(l,e=>e.isReadonly!==i?lB(e.keyType,e.type,i,e.declaration):e));return c.objectFlags|=2228352|r,c}function dF(e){var t;return!uv(e.declarations,yk)&&(!(106496&e.flags)||!(null==(t=e.declarations)?void 0:t.some(e=>yW(e.parent))))}function dG(e,t){let n=65536&e.flags&&!(32768&e.flags);if(!n&&t===bP(e))return e;let r=rG(4|16777216&e.flags,e.escapedName,sT(e)|(t?8:0));return r.links.type=n?tR:oC(e),r.declarations=e.declarations,r.links.nameType=rX(e).nameType,r.links.syntheticOrigin=e,r}function dB(e,t,n,r){let i=ac(e,n);return i.value=t,i.regularType=r||i,i}function dU(e){if(2976&e.flags){if(!e.freshType){let t=dB(e.flags,e.value,e.symbol,e);t.freshType=t,e.freshType=t}return e.freshType}return e}function dV(e){return 2976&e.flags?e.regularType:1048576&e.flags?e.regularType||(e.regularType=f9(e,dV)):e}function dj(e){return!!(2976&e.flags)&&e.freshType===e}function dH(e){let t;return tr.get(e)||(tr.set(e,t=dB(128,e)),t)}function dK(e){let t;return ti.get(e)||(ti.set(e,t=dB(256,e)),t)}function dq(e){let t;let n=km(e);return ta.get(n)||(ta.set(n,t=dB(2048,e)),t)}function dX(e){if(Ei(e)){let t=Er(e)?i9(e.left):i9(e);if(t){let e,n=rX(t);return n.uniqueESSymbolType||(n.uniqueESSymbolType=((e=ac(8192,t)).escapedName=`__@${e.symbol.escapedName}@${Gb(e.symbol)}`,e))}}return t$}function dY(e){let t=rY(e);return t.resolvedType||(t.resolvedType=function(e){let t=ET(e,!1,!1),n=t&&t.parent;if(n&&(yW(n)||261===n.kind)&&!S5(t)&&(!wW(t)||xo(e,t.body)))return oW(i7(n)).thisType;if(n&&Rm(n)&&RR(n.parent)&&6===Tf(n.parent))return oW(i9(n.parent.left).parent).thisType;let r=8388608&e.flags?TZ(e):void 0;return r&&Rx(r)&&RR(r.parent)&&3===Tf(r.parent)?oW(i9(r.parent.left).parent).thisType:vm(t)&&xo(e,t.body)?oW(i7(t)).thisType:(rR(e,tA.A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface),tS)}(e)),t.resolvedType}function d$(e){return d8(dQ(e.type)||e.type)}function dQ(e){switch(e.kind){case 193:return dQ(e.type);case 186:if(1===e.elements.length&&(188===(e=e.elements[0]).kind||199===e.kind&&e.dotDotDotToken))return dQ(e.type);break;case 185:return e.elementType}}function d8(e){return function(e,t){let n;let r=!0;for(;t&&!gF(t)&&323!==t.kind;){let i=t.parent;if(166===i.kind&&(r=!r),(r||8650752&e.flags)&&191===i.kind&&t===i.trueType){let t=function e(t,n,r){return ce(n)&&ce(r)?e(t,n.elements[0],r.elements[0]):dE(d8(n))===dE(t)?d8(r):void 0}(e,i.checkType,i.extendsType);t&&(n=uD(n,t))}else if(262144&e.flags&&197===i.kind&&t===i.type){let t=d8(i);if(sS(t)===dE(e)){let e=uC(t);if(e){let t=sV(e);t&&f3(t,_8)&&(n=uD(n,cH([tU,t9])))}}}t=i}return n?l7(e,cJ(n)):e}(d5(e),e)}function d5(e){switch(e.kind){case 131:case 315:case 316:return tE;case 157:return tI;case 152:return tB;case 148:return tU;case 160:return tV;case 134:return tY;case 153:return t$;case 114:return tQ;case 155:return tR;case 104:return tP;case 144:return tZ;case 149:return 262144&e.flags&&!eK?tE:t4;case 139:return tk;case 194:case 108:return dY(e);case 198:return function(e){if(104===e.literal.kind)return tP;let t=rY(e);return t.resolvedType||(t.resolvedType=dV(TT(e.literal))),t.resolvedType}(e);case 180:case 230:return ci(e);case 179:return e.assertsModifier?tQ:tY;case 183:return co(e);case 185:case 186:return function(e){let t=rY(e);if(!t.resolvedType){var n;let r;let i=(r=Ri(n=e.parent)&&146===n.operator,dQ(e)?r?v:g:cO(un(e.elements,cI),r,uv(e.elements,e=>199!==e.kind)?void 0:e.elements));if(i===np)t.resolvedType=no;else if(!(186===e.kind&&uv(e.elements,e=>!!(8&cI(e))))&&cR(e))t.resolvedType=186===e.kind&&0===e.elements.length?i:lZ(i,e,void 0);else{let n=185===e.kind?[d8(e.elementType)]:un(e.elements,d8);t.resolvedType=cM(i,n)}}return t.resolvedType}(e);case 187:return oe(d8(e.type),!0);case 189:return function(e){let t=rY(e);if(!t.resolvedType){let n=dR(e);t.resolvedType=cH(un(e.types,d8),1,n,dN(n))}return t.resolvedType}(e);case 190:return function(e){let t=rY(e);if(!t.resolvedType){let n=dR(e),r=un(e.types,d8),i=2===r.length&&!!(76&r[0].flags)&&r[1]===nd;t.resolvedType=cJ(r,n,dN(n),i)}return t.resolvedType}(e);case 317:let t;return t=d8(e.type),eU?pw(t,65536):t;case 319:return oe(d8(e.type));case 199:let n;return(n=rY(e)).resolvedType||(n.resolvedType=e.dotDotDotToken?d$(e):oe(d8(e.type),!0,!!e.questionToken));case 193:case 318:case 312:return d8(e.type);case 188:return d$(e);case 321:return function(e){let t=d8(e.type),{parent:n}=e,r=e.parent.parent;if(N4(e.parent)&&Dx(r)){let e=TZ(r),n=Dp(r.parent.parent);if(e||n){let i=n?uJ(r.parent.parent.typeExpression.parameters):uJ(e.parameters),a=T$(r);if(!i||a&&i.symbol===a&&g5(i))return ck(t)}}return wG(n)&&Di(n.parent)?ck(t):oe(t)}(e);case 181:case 182:case 184:case 325:case 320:case 326:return dw(e);case 195:return function(e){let t=rY(e);if(!t.resolvedType)switch(e.operator){case 141:t.resolvedType=c8(d8(e.type));break;case 156:t.resolvedType=153===e.type.kind?dX(xe(e.parent)):tS;break;case 146:t.resolvedType=d8(e.type);break;default:throw T.assertNever(e.operator)}return t.resolvedType}(e);case 196:return dv(e);case 197:return db(e);case 191:return function(e){let t=rY(e);if(!t.resolvedType){let n=d8(e.checkType),r=dR(e),i=dN(r),a=oD(e,!0),o=i?a:d9(a,t=>uL(t,e)),s={node:e,checkType:n,extendsType:d8(e.extendsType),isDistributive:!!(262144&n.flags),inferTypeParameters:dk(e),outerTypeParameters:o,instantiations:void 0,aliasSymbol:r,aliasTypeArguments:i};t.resolvedType=dA(s,void 0),o&&(s.instantiations=new Map,s.instantiations.set(lq(o),t.resolvedType))}return t.resolvedType}(e);case 192:let r;return(r=rY(e)).resolvedType||(r.resolvedType=o$(i7(e.typeParameter))),r.resolvedType;case 200:let i;return(i=rY(e)).resolvedType||(i.resolvedType=c3([e.head.text,...un(e.templateSpans,e=>e.literal.text)],un(e.templateSpans,e=>d8(e.type)))),i.resolvedType;case 202:return function(e){var t;let n=rY(e);if(!n.resolvedType){if(!bX(e))return rR(e.argument,tA.String_literal_expected),n.resolvedSymbol=ty,n.resolvedType=tS;let r=e.isTypeOf?111551:8388608&e.flags?900095:788968,i=ij(e,e.argument.literal);if(!i)return n.resolvedSymbol=ty,n.resolvedType=tS;let a=!!(null==(t=i.exports)?void 0:t.get("export=")),o=iY(i,!1);if(vN(e.qualifier))o.flags&r?n.resolvedType=dI(e,n,o,r):(rR(e,111551===r?tA.Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:tA.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0,e.argument.literal.text),n.resolvedSymbol=ty,n.resolvedType=tS);else{let t;let i=function e(t){return wb(t)?[t]:uD(e(t.left),t.right)}(e.qualifier),s=o;for(;t=i.shift();){let o=i.length?1920:r,l=i5(iI(s)),c=e.isTypeOf||EZ(e)&&a?le(oC(l),t.escapedText,!1,!0):void 0,d=e.isTypeOf?void 0:rQ(i4(l),t.escapedText,o),u=null!=d?d:c;if(!u)return rR(t,tA.Namespace_0_has_no_exported_member_1,iG(s),bE(t)),n.resolvedType=tS;rY(t).resolvedSymbol=u,rY(t.parent).resolvedSymbol=u,s=u}n.resolvedType=dI(e,n,s,r)}}return n.resolvedType}(e);case 79:case 163:case 208:let a=Lv(e);return a?oQ(a):tS;default:return tS}}function ue(e,t,n){if(e&&e.length)for(let r=0;rxo(e,r))||uv(t.typeArguments,n);return!0;case 171:case 170:return!t.type&&!!t.body||uv(t.typeParameters,n)||uv(t.parameters,n)||!!t.type&&n(t.type)}return!!Mr(t,n)}}function uC(e){let t=sA(e);if(4194304&t.flags){let e=dE(t.type);if(262144&e.flags)return e}}function uk(e,t){return!!(1&t)||!(2&t)&&e}function uI(e,t,n,r){let i=ug(r,sS(e),t),a=uO(sC(e.target||e),i),o=sR(e);return eU&&4&o&&!bZ(a,49152)?pR(a,!0):eU&&8&o&&n?fH(a,524288):a}function uw(e,t,n,r){let i=au(64|e.objectFlags,e.symbol);if(32&e.objectFlags){i.declaration=e.declaration;let n=sS(e),r=ub(n);i.typeParameter=r,t=uh(uc(n,r),t),r.mapper=t}return 8388608&e.objectFlags&&(i.node=e.node),i.target=e,i.mapper=t,i.aliasSymbol=n||e.aliasSymbol,i.aliasTypeArguments=n?r:ur(e.aliasTypeArguments,t),i.objectFlags|=i.aliasTypeArguments?lX(i.aliasTypeArguments):0,i}function uR(e,t,n,r){let i=e.root;if(i.outerTypeParameters){let e=un(i.outerTypeParameters,e=>ul(e,t)),a=lq(e)+lJ(n,r),o=i.instantiations.get(a);if(!o){let t=us(i.outerTypeParameters,e),s=i.checkType,l=i.isDistributive?ul(s,t):void 0;o=l&&s!==l&&1179648&l.flags?me(s6(l),e=>dA(i,uy(s,e,t)),n,r):dA(i,t,n,r),i.instantiations.set(a,o)}return o}return e}function uO(e,t){return e&&t?uM(e,t,void 0,void 0):e}function uM(e,t,n,r){var i;if(!p8(e))return e;if(100===eI||ek>=5e6)return null==(i=Q)||i.instant(Q.Phase.CheckTypes,"instantiateType_DepthLimit",{typeId:e.id,instantiationDepth:eI,instantiationCount:ek}),rR(a,tA.Type_instantiation_is_excessively_deep_and_possibly_infinite),tS;eC++,ek++,eI++;let s=function(e,t,n,r){let i=e.flags;if(262144&i)return ul(e,t);if(524288&i){let i=e.objectFlags;if(52&i){if(4&i&&!e.node){let n=e.resolvedTypeArguments,r=ur(n,t);return r!==n?cM(e.target,r):e}return 1024&i?function(e,t){let n=uO(e.mappedType,t);if(!(32<(n)))return e;let r=uO(e.constraintType,t);return 4194304&r.flags&&p5(uO(e.source,t),n,r)||e}(e,t):function(e,t,n,r){let i=4&e.objectFlags?e.node:8388608&e.objectFlags?e.node:e.symbol.declarations[0],a=rY(i),s=4&e.objectFlags?a.resolvedType:64&e.objectFlags?e.target:e,l=a.outerTypeParameters;if(!l){let t=oD(i,!0);vm(i)&&(t=uP(t,lp(i))),l=t||o;let n=8388612&e.objectFlags?[i]:e.symbol.declarations;l=(8388612&s.objectFlags||8192&s.symbol.flags||2048&s.symbol.flags)&&!s.aliasTypeArguments?d9(l,e=>uv(n,t=>uL(e,t))):l,a.outerTypeParameters=l}if(l.length){let i=uh(e.mapper,t),a=un(l,e=>ul(e,i)),o=n||e.aliasSymbol,c=n?r:ur(e.aliasTypeArguments,t),d=lq(a)+lJ(o,c);s.instantiations||(s.instantiations=new Map,s.instantiations.set(lq(l)+lJ(s.aliasSymbol,s.aliasTypeArguments),s));let u=s.instantiations.get(d);if(!u){let t=us(l,a);u=4&s.objectFlags?lZ(e.target,e.node,t,o,c):32&s.objectFlags?function e(t,n,r,i){let a=uC(t);if(a){let o=uO(a,n);if(a!==o)return me(s6(o),r=>{if(61603843&r.flags&&r!==tx&&!aZ(r)){if(!t.declaration.nameType){var i;let o;if(_1(r)||1&r.flags&&0>aJ(a,4)&&(o=sV(a))&&f3(o,_8)){let e;return aZ(e=uI(t,tU,!0,uy(a,r,n)))?tS:ck(e,uk(_4(r),sR(t)))}if(px(r)){let i,o,s;return i=r.target.elementFlags,o=un(l0(r),(r,o)=>e(t,uy(a,8&i[o]?r:4&i[o]?ck(r):cD([r],[i[o]]),n))),s=uk(r.target.readonly,sR(t)),cD(o,un(o,e=>8),s)}if(pT(r)){let e,o,s,l,c;return i=uy(a,r,n),e=r.target.elementFlags,o=un(l0(r),(n,r)=>uI(t,dH(""+r),!!(2&e[r]),i)),l=4&(s=sR(t))?un(e,e=>1&e?2:e):8&s?un(e,e=>2&e?1:e):e,c=uk(r.target.readonly,s),d6(o,tS)?tS:cD(o,l,c,r.target.labeledElementDeclarations)}}return uw(t,uy(a,r,n))}return r},r,i)}return uO(sA(t),n)===tx?tx:uw(t,n,r,i)}(s,t,o,c):uw(s,t,o,c),s.instantiations.set(d,u)}return u}return e}(e,t,n,r)}return e}if(3145728&i){let a=1048576&e.flags?e.origin:void 0,o=a&&3145728&a.flags?a.types:e.types,s=ur(o,t);if(s===o&&n===e.aliasSymbol)return e;let l=n||e.aliasSymbol,c=n?r:ur(e.aliasTypeArguments,t);return 2097152&i||a&&2097152&a.flags?cJ(s,l,c):cH(s,1,l,c)}if(4194304&i)return c8(uO(e.type,t));if(134217728&i)return c3(e.texts,ur(e.types,t));if(268435456&i)return c5(e.symbol,uO(e.type,t));if(8388608&i){let i=n||e.aliasSymbol,a=n?r:ur(e.aliasTypeArguments,t);return dh(uO(e.objectType,t),uO(e.indexType,t),e.accessFlags,void 0,i,a)}if(16777216&i)return uR(e,uh(e.mapper,t),n,r);if(33554432&i){let n=uO(e.baseType,t),r=uO(e.constraint,t);return 8650752&n.flags&&dl(r)?l7(n,r):3&r.flags||u3(uU(n),uU(r))?n:8650752&n.flags?l7(n,r):cJ([r,n])}return e}(e,t,n,r);return eI--,s}function uB(e){return 134479871&e.flags?e:e.permissiveInstantiation||(e.permissiveInstantiation=uO(e,nt))}function uU(e){return 134479871&e.flags?e:(e.restrictiveInstantiation||(e.restrictiveInstantiation=uO(e,ne),e.restrictiveInstantiation.restrictiveInstantiation=e.restrictiveInstantiation),e.restrictiveInstantiation)}function uV(e,t){return lB(e.keyType,uO(e.type,t),e.isReadonly,e.declaration)}function uj(e){switch(T.assert(171!==e.kind||El(e)),e.kind){case 215:case 216:case 171:case 259:return kM(e)||uY(e);case 207:return uv(e.properties,uj);case 206:return uv(e.elements,uj);case 224:return uj(e.whenTrue)||uj(e.whenFalse);case 223:return(56===e.operatorToken.kind||60===e.operatorToken.kind)&&(uj(e.left)||uj(e.right));case 299:return uj(e.initializer);case 214:return uj(e.expression);case 289:return uv(e.properties,uj)||NP(e.parent)&&uv(e.parent.parent.children,uj);case 288:{let{initializer:t}=e;return!!t&&uj(t)}case 291:{let{expression:t}=e;return!!t&&uj(t)}}return!1}function uY(e){return!e.typeParameters&&!Sq(e)&&!!e.body&&238!==e.body.kind&&uj(e.body)}function u$(e){return(kB(e)||El(e))&&(kM(e)||uY(e))}function uQ(e,t){return _L(e,t,rv)}function u1(e,t){return _L(e,t,rv)?-1:0}function u4(e,t){return _L(e,t,ry)?-1:0}function u8(e,t){return _L(e,t,rm)?-1:0}function u6(e,t){return _L(e,t,rm)}function u3(e,t){return _L(e,t,ry)}function u5(e,t){return 1048576&e.flags?dZ(e.types,e=>u5(e,t)):1048576&t.flags?uv(t.types,t=>u5(e,t)):2097152&e.flags?uv(e.types,e=>u5(e,t)):58982400&e.flags?u5(sz(e)||tI,t):_b(t)?!!(67633152&e.flags):t===f?!!(67633152&e.flags)&&!_b(e):t===m?!!(524288&e.flags)&&fV(e):oR(e,ow(t))||_1(t)&&!_4(t)&&u5(e,v)}function _e(e,t){return _L(e,t,rg)||_L(t,e,rg)}function _t(e,t,n,r,i,a){return _I(e,t,ry,n,r,i,a)}function _n(e,t,n,r,i,a){return _r(e,t,ry,n,r,i,a,void 0)}function _r(e,t,n,r,i,a,o,s){return!!_L(e,t,n)||!(r&&_o(i,e,t,n,a,o,s))&&_I(e,t,n,r,a,o,s)}function _o(e,t,n,r,i,a,o){if(!e||function e(t){return!!(16777216&t.flags||2097152&t.flags&&uv(t.types,e))}(n))return!1;if(!_I(t,n,r,void 0)&&function(e,t,n,r,i,a,o){let s=ln(t,0),l=ln(t,1);for(let c of[l,s])if(uv(c,e=>{let t=lk(e);return!(131073&t.flags)&&_I(t,n,r,void 0)})){let r=o||{};return _t(t,n,e,i,a,r),kl(r.errors[r.errors.length-1],bC(e,c===l?tA.Did_you_mean_to_use_new_with_this_expression:tA.Did_you_mean_to_call_this_expression)),!0}return!1}(e,t,n,r,i,a,o))return!0;switch(e.kind){case 291:case 214:return _o(e.expression,t,n,r,i,a,o);case 223:switch(e.operatorToken.kind){case 63:case 27:return _o(e.right,t,n,r,i,a,o)}break;case 207:return!(134479868&n.flags)&&_c(function*(e){if(dW(e.properties))for(let t of e.properties){if(N$(t))continue;let e=c1(i7(t),8576);if(e&&!(131072&e.flags))switch(t.kind){case 175:case 174:case 171:case 300:yield{errorNode:t.name,innerExpression:void 0,nameType:e};break;case 299:yield{errorNode:t.name,innerExpression:t.initializer,nameType:e,errorMessage:bx(t.name)?tA.Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1:void 0};break;default:T.assertNever(t)}}}(e),t,n,r,a,o);case 206:return function(e,t,n,r,i,a){if(134479868&n.flags)return!1;if(pc(t))return _c(__(e,n),t,n,r,i,a);hf(e,n,!1);let o=hk(e,1,!0);return nJ--,!!pc(o)&&_c(__(e,n),o,n,r,i,a)}(e,t,n,r,a,o);case 289:return function(e,t,n,r,i,a){let o,s=_c(function*(e){if(dW(e.properties))for(let t of e.properties)NH(t)||_2(hi(t.name),"-")||(yield{errorNode:t.name,innerExpression:t.initializer,nameType:dH(hi(t.name))})}(e),t,n,r,i,a);if(NP(e.parent)&&NO(e.parent.parent)){let o,c;let d=e.parent.parent,u=h$(hJ(e)),_=void 0===u?"children":hr(u),p=dH(_),f=dh(n,p),m=x9(d.children);if(!dW(m))return s;let h=dW(m)>1;if(cT(!1)!==np){let e=cC(tE);o=f5(f,t=>u3(t,e)),c=f5(f,t=>!u3(t,e))}else o=f5(f,pu),c=f5(f,e=>!pu(e));if(h){if(o!==tZ){let e=cD(hU(d,0));s=function(e,t,n,r,i,a){let o=f5(n,pu),s=f5(n,e=>!pu(e)),l=s!==tZ?SO(13,0,s,void 0):void 0,c=!1;for(let n=e.next();!n.done;n=e.next()){let{errorNode:e,innerExpression:s,nameType:d,errorMessage:u}=n.value,_=l,p=o!==tZ?_s(t,o,d):void 0;if(p&&!(8388608&p.flags)&&(_=l?cH([l,p]):p),!_)continue;let f=dg(t,d);if(!f)continue;let m=dt(d,void 0);if(!_I(f,_,r,void 0)&&(c=!0,!(s&&_o(s,f,_,r,void 0,i,a)))){let n=a||{},l=s?_l(s,f):f;if(eX&&_N(l,_)){let t=bC(e,tA.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target,aD(l),aD(_));r_.add(t),n.errors=[t]}else{let a=!!(m&&16777216&(le(o,m)||ty).flags),s=!!(m&&16777216&(le(t,m)||ty).flags);_=pB(_,a),f=pB(f,a&&s),_I(l,_,r,e,u,i,n)&&l!==f&&_I(f,_,r,e,u,i,n)}}}return c}(function*(e,t){if(!dW(e.children))return;let n=0;for(let r=0;rl:vJ(e)>l))return 0;if(e.typeParameters&&e.typeParameters!==t.typeParameters){var c;e=gk(e,t=(c=t).typeParameters?c.canonicalSignatureCache||(c.canonicalSignatureCache=lN(c,un(c.typeParameters,e=>e.target&&!sV(e.target)?e.target:e),EZ(c.declaration))):c,void 0,o)}let d=vq(e),u=vQ(e),_=vQ(t);(u||_)&&uO(u||_,s);let p=t.declaration?t.declaration.kind:0,f=!(3&n)&&eV&&171!==p&&170!==p&&173!==p,m=-1,h=lA(e);if(h&&h!==tQ){let e=lA(t);if(e){let t=!f&&o(h,e,!1)||o(e,h,r);if(!t)return r&&i(tA.The_this_types_of_each_signature_are_incompatible),0;m&=t}}let y=u||_?Math.min(d,l):Math.max(d,l),g=u||_?y-1:-1;for(let l=0;l=vJ(e)&&l=3&&32768&t[0].flags&&65536&t[1].flags&&uv(t,_b)?67108864:0)}return!!(67108864&e.objectFlags)}return!1}(t)))}function _L(e,t,n){if(dj(e)&&(e=e.regularType),dj(t)&&(t=t.regularType),e===t)return!0;if(n!==rv){if(n===rg&&!(131072&t.flags)&&_A(t,e,n)||_A(e,t,n))return!0}else if(!((e.flags|t.flags)&61865984)){if(e.flags!==t.flags)return!1;if(67358815&e.flags)return!0}if(524288&e.flags&&524288&t.flags){let r=n.get(_K(e,t,0,n,!1));if(void 0!==r)return!!(1&r)}return(!!(469499904&e.flags)||!!(469499904&t.flags))&&_I(e,t,n,void 0)}function _C(e,t){return 2048<(e)&&_2(t.escapedName,"-")}function _k(e,t){for(;;){let n=dj(e)?e.regularType:4<(e)?e.node?l$(e.target,l0(e)):pe(e)||e:3145728&e.flags?function(e,t){let n=s6(e);if(n!==e)return n;if(2097152&e.flags&&uv(e.types,_b)){let n=ui(e.types,e=>_k(e,t));if(n!==e.types)return cJ(n)}return e}(e,t):33554432&e.flags?t?e.baseType:l9(e):25165824&e.flags?d_(e,t):e;if(n===e)return n;e=n}}function _I(e,t,n,r,i,s,l){var d;let u,_,p,m,h,y,g;let v=0,S=0,A=0,L=0,C=!1,k=0;T.assert(n!==rv||!r,"no error reporting in identity checking");let I=B(e,t,3,!!r,i);if(g&&D(),C){null==(d=Q)||d.instant(Q.Phase.CheckTypes,"checkTypeRelatedTo_DepthLimit",{sourceId:e.id,targetId:t.id,depth:S,targetDepth:A});let n=rR(r||a,tA.Excessive_stack_depth_comparing_types_0_and_1,aD(e),aD(t));l&&(l.errors||(l.errors=[])).push(n)}else if(u){let a;if(s){let e=s();e&&(L4(e,u),u=e)}if(i&&r&&!I&&e.symbol){let r=rX(e.symbol);r.originatingImport&&!bq(r.originatingImport)&&_I(oC(r.target),t,n,void 0)&&(a=uD(a,bC(r.originatingImport,tA.Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead)))}let o=bw(vS(r),r,u,a);_&&kl(o,..._),l&&(l.errors||(l.errors=[])).push(o),l&&l.skipLogging||r_.add(o)}return r&&l&&l.skipLogging&&0===I&&T.assert(!!l.errors,"missed opportunity to interact with error."),0!==I;function w(e){u=e.errorInfo,y=e.lastSkippedInfo,g=e.incompatibleStack,k=e.overrideNextErrorInfo,_=e.relatedInfo}function R(){return{errorInfo:u,lastSkippedInfo:y,incompatibleStack:null==g?void 0:g.slice(),overrideNextErrorInfo:k,relatedInfo:null==_?void 0:_.slice()}}function N(e,t,n,r,i){k++,y=void 0,(g||(g=[])).push([e,t,n,r,i])}function D(){let e=g||[];g=void 0;let t=y;if(y=void 0,1===e.length){O(...e[0]),t&&P(void 0,...t);return}let n="",r=[];for(;e.length;){let[t,...i]=e.pop();switch(t.code){case tA.Types_of_property_0_are_incompatible.code:{0===n.indexOf("new ")&&(n=`(${n})`);let e=""+i[0];n=0===n.length?`${e}`:mA(e,Ct(eO))?`${n}.${e}`:"["===e[0]&&"]"===e[e.length-1]?`${n}${e}`:`${n}[${e}]`;break}case tA.Call_signature_return_types_0_and_1_are_incompatible.code:case tA.Construct_signature_return_types_0_and_1_are_incompatible.code:case tA.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code:case tA.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code:if(0===n.length){let e=t;t.code===tA.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?e=tA.Call_signature_return_types_0_and_1_are_incompatible:t.code===tA.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code&&(e=tA.Construct_signature_return_types_0_and_1_are_incompatible),r.unshift([e,i[0],i[1]])}else n=`${t.code===tA.Construct_signature_return_types_0_and_1_are_incompatible.code||t.code===tA.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?"new ":""}${n}(${t.code===tA.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code||t.code===tA.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?"":"..."})`;break;case tA.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target.code:r.unshift([tA.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,i[0],i[1]]);break;case tA.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target.code:r.unshift([tA.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,i[0],i[1],i[2]]);break;default:return T.fail(`Unhandled Diagnostic: ${t.code}`)}}for(let[e,...t]of(n?O(")"===n[n.length-1]?tA.The_types_returned_by_0_are_incompatible_between_these_types:tA.The_types_of_0_are_incompatible_between_these_types,n):r.shift(),r)){let n=e.elidedInCompatabilityPyramid;e.elidedInCompatabilityPyramid=!1,O(e,...t),e.elidedInCompatabilityPyramid=n}t&&P(void 0,...t)}function O(e,t,n,i,a){T.assert(!!r),g&&D(),e.elidedInCompatabilityPyramid||(u=L2(u,e,t,n,i,a))}function M(e){T.assert(!!u),_?_.push(e):_=[e]}function P(e,t,r){g&&D();let[i,a]=aO(t,r),o=t,s=i;if(ph(t)&&!function e(t){if(16&t.flags)return!1;if(3145728&t.flags)return!!dz(t.types,e);if(465829888&t.flags){let n=sU(t);if(n&&n!==t)return e(n)}return pf(t)||!!(134217728&t.flags)||!!(268435456&t.flags)}(r)&&(o=py(t),T.assert(!u3(o,r),"generalized source shouldn't be assignable"),s=aM(o)),262144&(8388608&r.flags&&!(8388608&t.flags)?r.objectType.flags:r.flags)&&r!==nE&&r!==nT){let e;let n=sz(r);n&&(u3(o,n)||(e=u3(t,n)))?O(tA._0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2,e?i:s,a,aD(n)):(u=void 0,O(tA._0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1,a,s))}if(e)e===tA.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1&&eX&&_w(t,r).length&&(e=tA.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties);else if(n===rg)e=tA.Type_0_is_not_comparable_to_type_1;else if(i===a)e=tA.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated;else if(eX&&_w(t,r).length)e=tA.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties;else{if(128&t.flags&&1048576&r.flags){let e;let n=(e=r.types.filter(e=>!!(128&e.flags)),_Q(t.value,e,e=>e.value));if(n){O(tA.Type_0_is_not_assignable_to_type_1_Did_you_mean_2,s,a,aD(n));return}}e=tA.Type_0_is_not_assignable_to_type_1}O(e,s,a)}function F(e,t,n){return pT(e)?e.target.readonly&&_3(t)?(n&&O(tA.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1,aD(e),aD(t)),!1):_8(t):_4(e)&&_3(t)?(n&&O(tA.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1,aD(e),aD(t)),!1):!pT(t)||_1(e)}function G(e,t,n){return B(e,t,3,n)}function B(e,t,i=3,a=!1,s,l=0){if(524288&e.flags&&134348796&t.flags)return n===rg&&!(131072&t.flags)&&_A(t,e,n)||_A(e,t,n,a?O:void 0)?-1:(a&&U(e,t,e,t,s),0);let c=_k(e,!1),d=_k(t,!0);if(c===d)return -1;if(n===rv)return c.flags!==d.flags?0:67358815&c.flags?-1:(V(c,d),z(c,d,!1,0,i));if(262144&c.flags&&sU(c)===d)return -1;if(470302716&c.flags&&1048576&d.flags){let e=d.types,t=2===e.length&&98304&e[0].flags?e[1]:3===e.length&&98304&e[0].flags&&98304&e[1].flags?e[2]:void 0;if(t&&!(98304&t.flags)&&c===(d=_k(t,!0)))return -1}if(n===rg&&!(131072&d.flags)&&_A(d,c,n)||_A(c,d,n,a?O:void 0))return -1;if(469499904&c.flags||469499904&d.flags){if(!(2&l)&&fh(c)&&8192<(c)&&function(e,t,i){var a,s;let l;if(!yo(t)||!eK&&4096<(t))return!1;let c=!!(2048<(e));if((n===ry||n===rg)&&(f4(f,t)||!c&&_g(t)))return!1;let d=t;for(let n of(1048576&t.flags&&(l=1048576&(d=CY(e,t,B)||function(e){if(bZ(e,67108864)){let t=f5(e,e=>!(134348796&e.flags));if(!(131072&t.flags))return t}return e}(t)).flags?d.types:[d]),sB(e)))if(s=e.symbol,n.valueDeclaration&&s.valueDeclaration&&n.valueDeclaration.parent===s.valueDeclaration&&!_C(e,n)){if(!ya(d,n.escapedName,c)){if(i){let t=f5(d,yo);if(!r)return T.fail();if(Nj(r)||gK(r)||gK(r.parent)){n.valueDeclaration&&NV(n.valueDeclaration)&&vS(r)===vS(n.valueDeclaration.name)&&(r=n.valueDeclaration.name);let e=aR(n),i=y6(e,t),a=i?aR(i):void 0;a?O(tA.Property_0_does_not_exist_on_type_1_Did_you_mean_2,e,aD(t),a):O(tA.Property_0_does_not_exist_on_type_1,e,aD(t))}else{let i;let o=(null==(a=e.symbol)?void 0:a.declarations)&&uK(e.symbol.declarations);if(n.valueDeclaration&&m9(n.valueDeclaration,e=>e===o)&&vS(o)===vS(r)){let e=n.valueDeclaration;T.assertNode(e,yZ),r=e;let a=e.name;wb(a)&&(i=y3(a,t))}void 0!==i?O(tA.Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2,aR(n),aD(t),i):O(tA.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,aR(n),aD(t))}}return!0}if(l&&!B(oC(n),function(e,t){return cH(u2(e,(e,n)=>{var r;let i=3145728&(n=s0(n)).flags?s8(n,t):sF(n,t);return uD(e,i&&oC(i)||(null==(r=l_(n,t))?void 0:r.type)||tR)},void 0)||o)}(l,n.escapedName),3,i))return i&&N(tA.Types_of_property_0_are_incompatible,aR(n)),!0}return!1}(c,d,a))return a&&P(s,c,t.aliasSymbol?t:d),0;let u=(n!==rg||pf(c))&&!(2&l)&&136970236&c.flags&&c!==f&&2621440&d.flags&&function e(t){if(524288&t.flags){let e=sM(t);return 0===e.callSignatures.length&&0===e.constructSignatures.length&&0===e.indexInfos.length&&e.properties.length>0&&dZ(e.properties,e=>!!(16777216&e.flags))}return!!(2097152&t.flags)&&dZ(t.types,e)}(d)&&(sB(c).length>0||LR(c)),_=!!(2048<(c));if(u&&!function(e,t,n){for(let r of sB(e))if(ya(t,r.escapedName,n))return!0;return!1}(c,d,_)){if(a){let n=aD(e.aliasSymbol?e:c),r=aD(t.aliasSymbol?t:d),i=ln(c,0),a=ln(c,1);i.length>0&&B(lk(i[0]),d,1,!1)||a.length>0&&B(lk(a[0]),d,1,!1)?O(tA.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it,n,r):O(tA.Type_0_has_no_properties_in_common_with_type_1,n,r)}return 0}V(c,d);let p=1048576&c.flags&&c.types.length<4&&!(1048576&d.flags)||1048576&d.flags&&d.types.length<4&&!(469499904&c.flags)?j(c,d,a,l):z(c,d,a,l,i);if(p)return p}return a&&U(e,t,c,d,s),0}function U(e,t,n,i,a){var o,s,l,c;let d=!!pe(e),_=!!pe(t);n=e.aliasSymbol||d?e:n,i=t.aliasSymbol||_?t:i;let p=k>0;if(p&&k--,524288&n.flags&&524288&i.flags){let e=u;F(n,i,!0),u!==e&&(p=!!u)}if(524288&n.flags&&134348796&i.flags){let e,t;l=n,c=i,e=aP(l.symbol)?aD(l,l.symbol.valueDeclaration):aD(l),t=aP(c.symbol)?aD(c,c.symbol.valueDeclaration):aD(c),(b===l&&tB===c||E===l&&tU===c||x===l&&tY===c||cy()===l&&t$===c)&&O(tA._0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible,t,e)}else if(n.symbol&&524288&n.flags&&f===n)O(tA.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead);else if(2048<(n)&&2097152&i.flags){let e=i.types,t=hj(iL.IntrinsicAttributes,r),n=hj(iL.IntrinsicClassAttributes,r);if(!aZ(t)&&!aZ(n)&&(d6(e,t)||d6(e,n)))return}else u=s9(u,t);if(!a&&p){y=[n,i];return}if(P(a,n,i),262144&n.flags&&(null==(s=null==(o=n.symbol)?void 0:o.declarations)?void 0:s[0])&&!sU(n)){let e=ub(n);if(e.constraint=uO(i,uc(n,e)),sJ(e)){let e=aD(i,n.symbol.declarations[0]);M(bC(n.symbol.declarations[0],tA.This_type_parameter_might_need_an_extends_0_constraint,e))}}}function V(e,t){if(Q&&3145728&e.flags&&3145728&t.flags){if(e.objectFlags&t.objectFlags&32768)return;let n=e.types.length,i=t.types.length;n*i>1e6&&Q.instant(Q.Phase.CheckTypes,"traceUnionsOrIntersectionsTooLarge_DepthLimit",{sourceId:e.id,sourceSize:n,targetId:t.id,targetSize:i,pos:null==r?void 0:r.pos,end:null==r?void 0:r.end})}}function j(e,t,r,i){if(1048576&e.flags)return n===rg?W(e,t,r&&!(134348796&e.flags),i):function(e,t,n,r){let i=-1,a=e.types,o=1048576&e.flags&&1048576&t.flags&&!(32768&e.types[0].flags)&&32768&t.types[0].flags?mn(t,-32769):t;for(let e=0;e=o.types.length&&a.length%o.types.length==0){let t=B(s,o.types[e%o.types.length],3,!1,void 0,r);if(t){i&=t;continue}}let l=B(s,t,1,n,void 0,r);if(!l)return 0;i&=l}return i}(e,t,r&&!(134348796&e.flags),i);if(1048576&t.flags)return K(pK(e),t,r&&!(134348796&e.flags)&&!(134348796&t.flags));if(2097152&t.flags)return function(e,t,n,r){let i=-1;for(let r of t.types){let t=B(e,r,2,n,void 0,2);if(!t)return 0;i&=t}return i}(e,t,r,0);if(n===rg&&134348796&t.flags){let n=ui(e.types,e=>465829888&e.flags?sz(e)||tI:e);if(n!==e.types){if(131072&(e=cJ(n)).flags)return 0;if(!(2097152&e.flags))return B(e,t,1,!1)||B(t,e,1,!1)}}return W(e,t,!1,1)}function H(e,t){let n=-1;for(let r of e.types){let e=K(r,t,!1);if(!e)return 0;n&=e}return n}function K(e,t,n){let r=t.types;if(1048576&t.flags){if(cU(r,e))return -1;let n=fP(t,e);if(n){let t=B(e,n,2,!1);if(t)return t}}for(let t of r){let n=B(e,t,2,!1);if(n)return n}if(n){let n=_D(e,t,B);n&&B(e,n,2,!0)}return 0}function W(e,t,n,r){let i=e.types;if(1048576&e.flags&&cU(i,t))return -1;let a=i.length;for(let e=0;e(T|=e?16:8,_(e))),3===L?(null==(s=Q)||s.instant(Q.Phase.CheckTypes,"recursiveTypeRelatedTo_DepthLimit",{sourceId:e.id,sourceIdStack:m.map(e=>e.id),targetId:t.id,targetIdStack:h.map(e=>e.id),depth:S,targetDepth:A}),f=3):(null==(l=Q)||l.push(Q.Phase.CheckTypes,"structuredTypeRelatedTo",{sourceId:e.id,targetId:t.id}),f=function(e,t,r,i){let a=R(),s=function(e,t,r,i,a){var s,l;let c,d;let _=!1,p=e.flags,f=t.flags;if(n===rv){if(3145728&p){let n=H(e,t);return n&&(n&=H(t,e)),n}if(4194304&p)return B(e.type,t.type,3,!1);if(8388608&p&&(c=B(e.objectType,t.objectType,3,!1))&&(c&=B(e.indexType,t.indexType,3,!1))||16777216&p&&e.root.isDistributive===t.root.isDistributive&&(c=B(e.checkType,t.checkType,3,!1))&&(c&=B(e.extendsType,t.extendsType,3,!1))&&(c&=B(dL(e),dL(t),3,!1))&&(c&=B(dC(e),dC(t),3,!1))||33554432&p&&(c=B(e.baseType,t.baseType,3,!1))&&(c&=B(e.constraint,t.constraint,3,!1)))return c;if(!(524288&p))return 0}else if(3145728&p||3145728&f){if(c=j(e,t,r,i))return c;if(!(465829888&p||524288&p&&1048576&f||2097152&p&&467402752&f))return 0}if(17301504&p&&e.aliasSymbol&&e.aliasTypeArguments&&e.aliasSymbol===t.aliasSymbol&&!(_V(e)||_V(t))){let n=_F(e.aliasSymbol);if(n===o)return 1;let r=rX(e.aliasSymbol).typeParameters,a=lg(r),s=g(lv(e.aliasTypeArguments,r,a,EZ(e.aliasSymbol.valueDeclaration)),lv(t.aliasTypeArguments,r,a,EZ(e.aliasSymbol.valueDeclaration)),n,i);if(void 0!==s)return s}if(pS(e)&&!e.target.readonly&&(c=B(l0(e)[0],t,1))||pS(t)&&(t.target.readonly||_3(sz(e)||e))&&(c=B(e,l0(t)[0],2)))return c;if(262144&f){if(32<(e)&&!e.declaration.nameType&&B(c8(t),sA(e),3)&&!(4&sR(e))&&(c=B(sC(e),dh(t,sS(e)),3,r)))return c;if(n===rg&&262144&p){let n=sV(e);if(n&&sJ(e))for(;n&&f6(n,e=>!!(262144&e.flags));){if(c=B(n,t,1,!1))return c;n=sV(n)}return 0}}else if(4194304&f){let n=t.type;if(4194304&p&&(c=B(n,e.type,3,!1)))return c;if(pT(n)){if(c=B(e,cF(n),2,r))return c}else{let i=sH(n);if(i){if(-1===B(e,c8(i,t.stringsOnly),2,r))return -1}else if(sO(n)){let t;let i=sL(n),a=sA(n);if(i&&sI(n)){let e=s0(sw(n)),r=[];sx(e,8576,!1,e=>void r.push(uO(i,ug(n.mapper,sS(n),e)))),t=cH([...r,i])}else t=i||a;if(-1===B(e,t,2,r))return -1}}}else if(8388608&f){if(8388608&p){if((c=B(e.objectType,t.objectType,3,r))&&(c&=B(e.indexType,t.indexType,3,r)),c)return c;r&&(d=u)}if(n===ry||n===rg){let n=t.objectType,o=t.indexType,s=sz(n)||n,l=sz(o)||o;if(!dc(s)&&!dd(l)){let t=4|(s!==n?2:0),o=dg(s,l,t);if(o){if(r&&d&&w(a),c=B(e,o,2,r,void 0,i))return c;r&&d&&u&&(u=y([d])<=y([u])?d:u)}}}r&&(d=void 0)}else if(sO(t)&&n!==rv){let n=!!t.declaration.nameType,i=sC(t),o=sR(t);if(!(8&o)){if(!n&&8388608&i.flags&&i.objectType===e&&i.indexType===sS(t))return -1;if(!sO(e)){let i=n?sL(t):sA(t),s=c8(e,void 0,!0),l=4&o,_=l?sy(i,s):void 0;if(l?!(131072&_.flags):B(i,s,3)){let a=sC(t),o=sS(t),s=mn(a,-98305);if(!n&&8388608&s.flags&&s.indexType===o){if(c=B(e,s.objectType,2,r))return c}else if(c=B(dh(e,n?_||i:_?cJ([_,o]):o),a,3,r))return c}d=u,w(a)}}}else if(16777216&f){if(_X(t,h,A,10))return 3;if(!t.root.inferTypeParameters&&!((s=t.root).isDistributive&&(uL(s.checkType,s.node.trueType)||uL(s.checkType,s.node.falseType)))){let n=!u3(uB(t.checkType),uB(t.extendsType)),r=!n&&u3(uU(t.checkType),uU(t.extendsType));if((c=n?-1:B(e,dL(t),2,!1,void 0,i))&&(c&=r?-1:B(e,dC(t),2,!1,void 0,i)))return c}}else if(134217728&f){if(134217728&p){if(n===rg){let n,r,i,a,o,s;return(n=(l=e).texts[0],r=t.texts[0],i=l.texts[l.texts.length-1],a=t.texts[t.texts.length-1],o=Math.min(n.length,r.length),s=Math.min(i.length,a.length),n.slice(0,o)===r.slice(0,o)&&i.slice(i.length-s)===a.slice(a.length-s))?-1:0}uO(e,ni)}if(fo(e,t))return -1}else if(268435456&t.flags&&!(268435456&e.flags)&&fi(e,t))return -1;if(8650752&p){if(!(8388608&p&&8388608&f)){let n=sU(e)||tI;if((c=B(n,t,1,!1,void 0,i))||(c=B(ss(n,e),t,1,r&&n!==tI&&!(f&p&262144),void 0,i)))return c;if(sZ(e)){let n=sU(e.indexType);if(n&&(c=B(dh(e.objectType,n),t,1,r)))return c}}}else if(4194304&p){if(c=B(t3,t,1,r))return c}else if(134217728&p&&!(524288&f)){if(!(134217728&f)){let n=sz(e);if(n&&n!==e&&(c=B(n,t,1,r)))return c}}else if(268435456&p){if(268435456&f){if(e.symbol!==t.symbol)return 0;if(c=B(e.type,t.type,3,r))return c}else{let n=sz(e);if(n&&(c=B(n,t,1,r)))return c}}else if(16777216&p){if(_X(e,m,S,10))return 3;if(16777216&f){let n;let i=e.root.inferTypeParameters,a=e.extendsType;if(i){let e=p$(i,void 0,0,G);fp(e.inferences,t.extendsType,a,1536),a=uO(a,e.mapper),n=e.mapper}if(uQ(a,t.extendsType)&&(B(e.checkType,t.checkType,3)||B(t.checkType,e.checkType,3))&&((c=B(uO(dL(e),n),dL(t),3,r))&&(c&=B(dC(e),dC(t),3,r)),c))return c}else{let n=sJ(e)?sW(e):void 0;if(n&&(c=B(n,t,1,r)))return c}let n=sK(e);if(n&&(c=B(n,t,1,r)))return c}else{if(n!==rm&&n!==rh&&32<(t)&&4&sR(t)&&_g(e))return -1;if(sO(t))return sO(e)&&(c=function(e,t,r){if(n===rg||(n===rv?sR(e)===sR(t):sD(e)<=sD(t))){let n;if(n=B(sA(t),uO(sA(e),0>sD(e)?na:ni),3,r)){let i=us([sS(e)],[sS(t)]);if(uO(sL(e),i)===uO(sL(t),i))return n&B(uO(sC(e),i),sC(t),3,r)}}return 0}(e,t,r))?c:0;let s=!!(134348796&p);if(n!==rv)p=(e=s0(e)).flags;else if(sO(e))return 0;if(4<(e)&&4<(t)&&e.target===t.target&&!pT(e)&&!(_V(e)||_V(t))){if(pa(e))return -1;let n=_M(e.target);if(n===o)return 1;let r=g(l0(e),l0(t),n,i);if(void 0!==r)return r}else if(_4(t)?_8(e):_1(t)&&pT(e)&&!e.target.readonly)return n!==rv?B(lc(e,tU)||tE,lc(t,tU)||tE,3,r):0;else if((n===rm||n===rh)&&_g(t)&&8192<(t)&&!_g(e))return 0;if(2621440&p&&524288&f){let n=r&&u===a.errorInfo&&!s;if((c=X(e,t,n,void 0,!1,i))&&(c&=Y(e,t,0,n,i))&&(c&=Y(e,t,1,n,i))&&(c&=en(e,t,s,n,i)),_&&c)u=d||u||a.errorInfo;else if(c)return c}if(2621440&p&&1048576&f){let r=mn(t,36175872);if(1048576&r.flags){let t=function(e,t){var r,i;let a=fD(sB(e),t);if(!a)return 0;let o=1;for(let n of a)if((o*=1048576&(i=ok(n)).flags?i.types.length:1)>25)return null==(r=Q)||r.instant(Q.Phase.CheckTypes,"typeRelatedToDiscriminatedType_DepthLimit",{sourceId:e.id,targetId:t.id,numCombinations:o}),0;let s=Array(a.length),l=new Set;for(let e=0;er[i],!1,0,eU||n===rg))continue n}uF(d,o,_P),i=!0}if(!i)return 0}let u=-1;for(let t of d)if((u&=X(e,t,!1,l,!1,0))&&(u&=Y(e,t,0,!1,0))&&(u&=Y(e,t,1,!1,0))&&!(pT(e)&&pT(t))&&(u&=en(e,t,!1,!1,0)),!u)break;return u}(e,r);if(t)return t}}}return 0;function y(e){return e?u2(e,(e,t)=>e+1+y(t.next),0):0}function g(e,t,i,s){if(c=function(e=o,t=o,r=o,i,a){if(e.length!==t.length&&n===rv)return 0;let s=e.length<=t.length?e.length:t.length,l=-1;for(let o=0;o!!(24&e))){d=void 0,w(a);return}let l=t&&function(e,t){for(let n=0;n(7&e)==0)))return 0;d=u,w(a)}}}(e,t,r,i,a);if(n!==rv){if(!s&&(2097152&e.flags||262144&e.flags&&1048576&t.flags)){let n=function(e,t){let n;let r=!1;for(let i of e)if(465829888&i.flags){let e=sU(i);for(;e&&21233664&e.flags;)e=sU(e);e&&(n=uD(n,e),t&&(n=uD(n,i)))}else(469892092&i.flags||_b(i))&&(r=!0);if(n&&(t||r)){if(r)for(let t of e)(469892092&t.flags||_b(t))&&(n=uD(n,t));return _k(cJ(n),!1)}}(2097152&e.flags?e.types:[e],!!(1048576&t.flags));n&&f3(n,t=>t!==e)&&(s=B(n,t,1,!1,void 0,i))}s&&!(2&i)&&2097152&t.flags&&!dc(t)&&2621440&e.flags?(s&=X(e,t,r,void 0,!1,0))&&fh(e)&&8192<(e)&&(s&=en(e,t,!1,r,0)):s&&dD(t)&&!_8(t)&&2097152&e.flags&&3670016&s0(e).flags&&!uv(e.types,e=>e===t||!!(262144<(e)))&&(s&=X(e,t,r,void 0,!0,i))}return s&&w(a),s}(e,t,r,i),null==(d=Q)||d.pop()),c&&(c=_),1&a&&S--,2&a&&A--,L=E,f){if(-1===f||0===S&&0===A){if(-1===f||3===f)for(let e=b;e{var t;return!!(16&Ld(e))&&(t=_z(e),!_W(r,e=>{let n=_z(e);return!!n&&oR(n,t)}))}))return o&&O(tA.Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2,aR(i),aD(_z(r)||e),aD(_z(i)||t)),0}else if(16&u)return o&&O(tA.Property_0_is_protected_in_type_1_but_public_in_type_2,aR(i),aD(e),aD(t)),0;if(n===rh&&bP(r)&&!bP(i))return 0;let p=(c=eU&&!!(48&Lc(i)),d=oe(ok(i),!1,c),B(a(r),d,3,o,void 0,s));return p?!l&&16777216&r.flags&&106500&i.flags&&!(16777216&i.flags)?(o&&O(tA.Property_0_is_optional_in_type_1_but_required_in_type_2,aR(i),aD(e),aD(t)),0):p:(o&&N(tA.Types_of_property_0_are_incompatible,aR(i)),0)}function X(e,t,r,a,o,s){var l;if(n===rv)return function(e,t,n){if(!(524288&e.flags&&524288&t.flags))return 0;let r=q(sP(e),n),i=q(sP(t),n);if(r.length!==i.length)return 0;let a=-1;for(let e of r){let n=sF(t,e.escapedName);if(!n)return 0;let r=_$(e,n,B);if(!r)return 0;a&=r}return a}(e,t,a);let c=-1;if(pT(t)){if(_8(e)){let n;if(!t.target.readonly&&(_4(e)||pT(e)&&e.target.readonly))return 0;let i=l1(e),o=l1(t),d=pT(e)?4&e.target.combinedFlags:4,u=4&t.target.combinedFlags,_=pT(e)?e.target.minLength:0,p=t.target.minLength;if(!d&&i!(11&e)))>=0?n:l.elementFlags.length,y=cG(t.target,11),g=t.target.hasRestElement,v=!!a;for(let n=0;n=h?o-1-Math.min(d,y):n,_=t.target.elementFlags[u];if(8&_&&!(8&l))return r&&O(tA.Source_provides_no_match_for_variadic_element_at_position_0_in_target,u),0;if(8&l&&!(12&_))return r&&O(tA.Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target,n,u),0;if(1&_&&!(1&l))return r&&O(tA.Source_provides_no_match_for_required_element_at_position_0_in_target,u),0;if(v&&((12&l||12&_)&&(v=!1),v&&(null==a?void 0:a.has(""+n))))continue;let p=pB(f[n],!!(l&_&2)),b=m[u],E=B(p,8&l&&4&_?ck(b):pB(b,!!(2&_)),3,r,void 0,s);if(!E)return r&&(o>1||i>1)&&(g&&n>=h&&d>=y&&h!==i-y-1?N(tA.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,h,i-y-1,u):N(tA.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,n,u)),0;c&=E}return c}if(12&t.target.combinedFlags)return 0}let d=(n===rm||n===rh)&&!fh(e)&&!pa(e)&&!pT(e),_=uW(p9(e,t,d,!1));if(_){let n,a,o;return r&&(n=lt(e,0),a=lt(e,1),o=sP(e),!n.length&&!a.length||o.length||ln(t,0).length&&n.length||ln(t,1).length&&a.length)&&function(e,t,n,r){let a=!1;if(n.valueDeclaration&&hu(n.valueDeclaration)&&wE(n.valueDeclaration.name)&&e.symbol&&32&e.symbol.flags){let r=n.valueDeclaration.name.escapedText,i=xH(e.symbol,r);if(i&&le(e,i)){let n=nU.getDeclarationName(e.symbol.valueDeclaration),i=nU.getDeclarationName(t.symbol.valueDeclaration);O(tA.Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2,r4(r),r4(""===n.escapedText?ip:n),r4(""===i.escapedText?ip:i));return}}let o=u9(p9(e,t,r,!1));if(i&&(i.code===tA.Class_0_incorrectly_implements_interface_1.code||i.code===tA.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code)||(a=!0),1===o.length){let r=aR(n,void 0,0,20);O(tA.Property_0_is_missing_in_type_1_but_required_in_type_2,r,...aO(e,t)),dW(n.declarations)&&M(bC(n.declarations[0],tA._0_is_declared_here,r)),a&&u&&k++}else F(e,t,!1)&&(o.length>5?O(tA.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more,aD(e),aD(t),un(o.slice(0,4),e=>aR(e)).join(", "),o.length-4):O(tA.Type_0_is_missing_the_following_properties_from_type_1_Colon_2,aD(e),aD(t),un(o,e=>aR(e)).join(", ")),a&&u&&k++)}(e,t,_,d),0}if(fh(t)){for(let n of q(sB(e),a))if(!sF(t,n.escapedName)&&!(32768&oC(n).flags))return r&&O(tA.Property_0_does_not_exist_on_type_1,aR(n),aD(t)),0}let p=sB(t),f=pT(e)&&pT(t);for(let i of q(p,a)){let a=i.escapedName;if(!(4194304&i.flags)&&(!f||kV(a)||"length"===a)&&(!o||16777216&i.flags)){let o=le(e,a);if(o&&o!==i){let a=J(e,t,o,i,ok,r,s,n===rg);if(!a)return 0;c&=a}}}return c}function Y(e,t,r,i,a){var o,s;if(n===rv)return function(e,t,n){let r=ln(e,n),i=ln(t,n);if(r.length!==i.length)return 0;let a=-1;for(let e=0;eaN(e,void 0,262144,r);O(tA.Type_0_is_not_assignable_to_type_1,e(t),e(l)),O(tA.Types_of_construct_signatures_are_incompatible)}}else n:for(let t of u){let n=R(),o=i;for(let e of d){let r=ee(e,t,!0,o,a,p(e,t));if(r){_&=r,w(n);continue n}o=!1}return o&&O(tA.Type_0_provides_no_match_for_the_signature_1,aD(e),aN(t,void 0,void 0,r)),0}return _}function $(e,t){return 0===e.parameters.length&&0===t.parameters.length?(e,t)=>N(tA.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1,aD(e),aD(t)):(e,t)=>N(tA.Call_signature_return_types_0_and_1_are_incompatible,aD(e),aD(t))}function Z(e,t){return 0===e.parameters.length&&0===t.parameters.length?(e,t)=>N(tA.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1,aD(e),aD(t)):(e,t)=>N(tA.Construct_signature_return_types_0_and_1_are_incompatible,aD(e),aD(t))}function ee(e,t,r,i,a,o){let s=n===rm?16:n===rh?24:0;return _m(r?lM(e):e,r?lM(t):t,s,i,O,o,function(e,t,n){return B(e,t,3,n,void 0,a)},ni)}function et(e,t,n,r){let i=B(e.type,t.type,3,n,void 0,r);return!i&&n&&(e.keyType===t.keyType?O(tA._0_index_signatures_are_incompatible,aD(e.keyType)):O(tA._0_and_1_index_signatures_are_incompatible,aD(e.keyType),aD(t.keyType))),i}function en(e,t,r,i,a){if(n===rv)return function(e,t){let n=ls(e),r=ls(t);if(n.length!==r.length)return 0;for(let t of r){let n=ll(e,t.keyType);if(!(n&&B(n.type,t.type,3)&&n.isReadonly===t.isReadonly))return 0}return -1}(e,t);let o=ls(t),s=uv(o,e=>e.keyType===tB),l=-1;for(let t of o){let o=!r&&s&&1&t.type.flags?-1:sO(e)&&s?B(sC(e),t.type,3,i):function(e,t,r,i){let a=lu(e,t.keyType);return a?et(a,t,r,i):!(1&i)&&(n!==rh||8192<(e))&&pj(e)?function(e,t,n,r){let i=-1,a=t.keyType;for(let o of 2097152&e.flags?sG(e):sP(e))if(!_C(e,o)&&la(c1(o,8576),a)){let e=ok(o),s=B(eX||32768&e.flags||a===tU||!(16777216&o.flags)?e:fH(e,524288),t.type,3,n,void 0,r);if(!s)return n&&O(tA.Property_0_is_incompatible_with_index_signature,aR(o)),0;i&=s}for(let o of ls(e))if(la(o.keyType,a)){let e=et(o,t,n,r);if(!e)return 0;i&=e}return i}(e,t,r,i):(r&&O(tA.Index_signature_for_type_0_is_missing_in_type_1,aD(t.keyType),aD(e)),0)}(e,t,i,a);if(!o)return 0;l&=o}return l}}function _w(e,t){return pT(e)&&pT(t)?o:sB(t).filter(t=>_N(a$(e,t.escapedName),oC(t)))}function _N(e,t){return!!e&&!!t&&bZ(e,32768)&&!!pU(t)}function _D(e,t,n=u4){return CY(e,t,n,!0)||function(e,t){let n=LT(e);if(20&n&&1048576&t.flags)return d0(t.types,t=>{if(524288&t.flags){let r=n<(t);if(4&r)return e.target===t.target;if(16&r)return!!e.aliasSymbol&&e.aliasSymbol===t.aliasSymbol}return!1})}(e,t)||function(e,t){if(128<(e)&&f6(t,_9))return d0(t.types,e=>!_9(e))}(e,t)||function(e,t){let n=0;if(ln(e,0).length>0||ln(e,n=1).length>0)return d0(t.types,e=>ln(e,n).length>0)}(e,t)||function(e,t){let n;if(!(406978556&e.flags)){let r=0;for(let i of t.types)if(!(406978556&i.flags)){let t=cJ([c8(e),c8(i)]);if(4194304&t.flags)return i;if(pf(t)||1048576&t.flags){let e=1048576&t.flags?d7(t.types,pf):1;e>=r&&(n=i,r=e)}}}return n}(e,t)}function _O(e,t,n,r,i){let a=e.types.map(e=>void 0);for(let[r,o]of t){let t=s4(e,o);if(i&&t&&16&Lc(t))continue;let s=0;for(let t of e.types){let e=a$(t,o);e&&n(r(),e)?a[s]=void 0===a[s]||a[s]:a[s]=!1,s++}}let o=a.indexOf(!0);if(-1===o)return r;let s=a.indexOf(!0,o+1);for(;-1!==s;){if(!uQ(e.types[o],e.types[s]))return r;s=a.indexOf(!0,s+1)}return e.types[o]}function _M(e){return e===g||e===v||8&e.objectFlags?eD:_G(e.symbol,e.typeParameters)}function _F(e){return _G(e,rX(e).typeParameters)}function _G(e,t=o){var n,r;let i=rX(e);if(!i.variances){null==(n=Q)||n.push(Q.Phase.CheckTypes,"getVariancesWorker",{arity:t.length,id:cB(oQ(e))}),i.variances=o;let a=[];for(let n of t){let t=_j(n),r=65536&t?32768&t?0:1:32768&t?2:void 0;if(void 0===r){let t=!1,i=!1,a=c;c=e=>e?i=!0:t=!0;let o=_B(e,n,ng),s=_B(e,n,nv);3==(r=(u3(s,o)?1:0)|(u3(o,s)?2:0))&&u3(_B(e,n,nb),o)&&(r=4),c=a,(t||i)&&(t&&(r|=8),i&&(r|=16))}a.push(r)}i.variances=a,null==(r=Q)||r.pop({variances:a.map(T.formatVariance)})}return i.variances}function _B(e,t,n){let r=uc(t,n),i=oQ(e);if(aZ(i))return i;let a=524288&e.flags?l4(e,ur(rX(e).typeParameters,r)):l$(i,ur(i.typeParameters,r));return th.add(cB(a)),a}function _V(e){return th.has(cB(e))}function _j(e){var t;return 100352&u2(null==(t=e.symbol)?void 0:t.declarations,(e,t)=>e|Al(t),0)}function _H(e){return!!(4<(e))&&!e.node&&uv(l0(e),e=>!!(262144&e.flags)||_H(e))}function _K(e,t,n,r,i){if(r===rv&&e.id>t.id){let n=e;e=t,t=n}let a=n?":"+n:"";return _H(e)&&_H(t)?function(e,t,n,r){let i=[],a="";return`${a}${o(e,0)},${o(t,0)}${n}`;function o(e,t=0){let n=""+e.target.id;for(let s of l0(e)){if(262144&s.flags){if(r||262144&s.flags&&!sV(s)){let e=i.indexOf(s);e<0&&(e=i.length,i.push(s)),n+="="+e;continue}a="*"}else if(t<4&&_H(s)){n+="<"+o(s,t+1)+">";continue}n+="-"+s.id}return n}}(e,t,a,i):`${e.id},${t.id}${a}`}function _W(e,t){if(6&Lc(e)){for(let n of e.links.containingType.types){let r=le(n,e.escapedName),i=r&&_W(r,t);if(i)return i}return}return t(e)}function _z(e){return e.parent&&32&e.parent.flags?oQ(ae(e)):void 0}function _q(e){let t=_z(e),n=t&&oH(t)[0];return n&&a$(n,e.escapedName)}function _J(e,t,n){return _W(t,t=>!!(16&Ld(t,n))&&!oR(e,_z(t)))?void 0:e}function _X(e,t,n,r=3){if(n>=r){if(2097152&e.flags)return uv(e.types,e=>_X(e,t,n,r));let i=_Y(e),a=0,o=0;for(let e=0;e_Y(e)===i):_Y(n)===i){if(n.id>=o&&++a>=r)return!0;o=n.id}}}return!1}function _Y(e){if(524288&e.flags&&!fg(e)){if(LT(e)&&e.node)return e.node;if(e.symbol&&!(16<(e)&&32&e.symbol.flags))return e.symbol;if(pT(e))return e.target}if(262144&e.flags)return e.symbol;if(8388608&e.flags){do e=e.objectType;while(8388608&e.flags)return e}return 16777216&e.flags?e.root:e}function _$(e,t,n){if(e===t)return -1;let r=24&Ld(e);if(r!==(24&Ld(t)))return 0;if(r){if(AW(e)!==AW(t))return 0}else if((16777216&e.flags)!=(16777216&t.flags))return 0;return bP(e)!==bP(t)?0:n(oC(e),oC(t))}function _0(e,t,n,r,i,a){var o;let s,l,c,d,u,_;if(e===t)return -1;if(s=vq(o=e),l=vq(t),c=vJ(o),d=vJ(t),u=vX(o),_=vX(t),(s!==l||c!==d||u!==_)&&(!n||!(c<=d))||dW(e.typeParameters)!==dW(t.typeParameters))return 0;if(t.typeParameters){let n=us(e.typeParameters,t.typeParameters);for(let r=0;rdW(t.typeParameters)&&(r=ss(r,uX(l0(e)))),e.objectFlags|=67108864,e.cachedEquivalentBaseType=r}function pi(e){return eU?e===t1:e===tN}function pa(e){let t=_5(e);return!!t&&pi(t)}function pc(e){return pT(e)||!!le(e,"0")}function pu(e){return _9(e)||pc(e)}function pp(e){return!(240544&e.flags)}function pf(e){return!!(109472&e.flags)}function pm(e){let t=sq(e);return 2097152&t.flags?uv(t.types,pf):pf(t)}function ph(e){return!!(16&e.flags)||(1048576&e.flags?!!(1024&e.flags)||dZ(e.types,pf):pf(e))}function py(e){var t;let n;return 1056&e.flags?oq(e):402653312&e.flags?tB:256&e.flags?tU:2048&e.flags?tV:512&e.flags?tY:1048576&e.flags?null!=(t=rS(n=`B${cB(e)}`))?t:rA(n,f9(e,py)):e}function pg(e){return 402653312&e.flags?tB:288&e.flags?tU:2048&e.flags?tV:512&e.flags?tY:1048576&e.flags?f9(e,pg):e}function pv(e){return 1056&e.flags&&dj(e)?oq(e):128&e.flags&&dj(e)?tB:256&e.flags&&dj(e)?tU:2048&e.flags&&dj(e)?tV:512&e.flags&&dj(e)?tY:1048576&e.flags?f9(e,pv):e}function pb(e,t){return EG(e,t)||(e=function e(t){return 8192&t.flags?t$:1048576&t.flags?f9(t,e):t}(pv(e))),dV(e)}function pE(e,t,n,r){return e&&pf(e)&&(e=pb(e,t?A_(n,t,r):void 0)),e}function pT(e){return!!(4<(e)&&8&e.target.objectFlags)}function px(e){return pT(e)&&!!(8&e.target.combinedFlags)}function pS(e){return px(e)&&1===e.target.elementFlags.length}function pA(e){return pL(e,e.target.fixedLength)}function pL(e,t,n=0,r=!1,i=!1){let a=l1(e)-n;if(t!!(4194304&fj(e)))}function pI(e){return 4&e.flags?nQ:8&e.flags?nZ:64&e.flags?n0:e===tH||e===tj||114691&e.flags||128&e.flags&&""===e.value||256&e.flags&&0===e.value||2048&e.flags&&pC(e)?e:tZ}function pw(e,t){let n=t&~e.flags&98304;return 0===n?e:32768===n?cH([e,tR]):65536===n?cH([e,tP]):cH([e,tR,tP])}function pR(e,t=!1){T.assert(eU);let n=t?tO:tR;return e===n||1048576&e.flags&&e.types[0]===n?e:cH([e,n])}function pN(e){return eU?fK(e,2097152):e}function pD(e){return eU?cH([e,tM]):e}function pO(e){return eU?f7(e,tM):e}function pF(e,t,n){return n?h9(t)?pR(e):pD(e):e}function pG(e,t){return h7(t)?pN(e):h3(t)?pO(e):e}function pB(e,t){return eX&&t?f7(e,tD):e}function pU(e){return e===tD||!!(1048576&e.flags)&&e.types[0]===tD}function pV(e){return eX?f7(e,tD):fH(e,524288)}function pj(e){let t=LT(e);return 2097152&e.flags?dZ(e.types,pj):!!(e.symbol&&(7040&e.symbol.flags)!=0&&!(32&e.symbol.flags)&&!LR(e))||!!(4194304&t)||!!(1024&t&&pj(e.source))}function pH(e,t){let n=rG(e.flags,e.escapedName,8&Lc(e));n.declarations=e.declarations,n.parent=e.parent,n.links.type=t,n.links.target=e,e.valueDeclaration&&(n.valueDeclaration=e.valueDeclaration);let r=rX(e).nameType;return r&&(n.links.nameType=r),n}function pK(e){if(!(fh(e)&&8192<(e)))return e;let t=e.regularType;if(t)return t;let n=function(e,t){let n=vt();for(let r of sP(e)){let e=oC(r),i=t(e);n.set(r.escapedName,i===e?r:pH(r,i))}return n}(e,pK),r=ah(e.symbol,n,e.callSignatures,e.constructSignatures,e.indexInfos);return r.flags=e.flags,r.objectFlags|=-8193&e.objectFlags,e.regularType=r,r}function pW(e,t,n){return{parent:e,propertyName:t,siblings:n,resolvedProperties:void 0}}function pz(e){return function e(t,n){if(196608<(t)){let r;if(void 0===n&&t.widened)return t.widened;if(98305&t.flags)r=tE;else if(fh(t))r=function(t,n){let r=vt();for(let i of sP(t))r.set(i.escapedName,function(t,n){if(!(4&t.flags))return t;let r=oC(t),i=e(r,n&&pW(n,t.escapedName,void 0));return i===r?t:pH(t,i)}(i,n));if(n)for(let e of function(e){if(!e.resolvedProperties){let t=new Map;for(let n of function e(t){if(!t.siblings){let n=[];for(let r of e(t.parent))if(fh(r)){let e=sF(r,t.propertyName);e&&f8(oC(e),e=>{n.push(e)})}t.siblings=n}return t.siblings}(e))if(fh(n)&&!(2097152<(n)))for(let e of sB(n))t.set(e.escapedName,e);e.resolvedProperties=u9(t.values())}return e.resolvedProperties}(n))r.has(e.escapedName)||r.set(e.escapedName,function(e){let t=tm.get(e.escapedName);if(t)return t;let n=pH(e,tO);return n.flags|=16777216,tm.set(e.escapedName,n),n}(e));let i=ah(t.symbol,r,o,o,ui(ls(t),e=>lB(e.keyType,pz(e.type),e.isReadonly)));return i.objectFlags|=266240<(t),i}(t,n);else if(1048576&t.flags){let i=n||pW(void 0,void 0,t.types),a=ui(t.types,t=>98304&t.flags?t:e(t,i));r=cH(a,uv(a,_g)?2:1)}else 2097152&t.flags?r=cJ(ui(t.types,pz)):_8(t)&&(r=l$(t.target,ui(l0(t),pz)));return r&&void 0===n&&(t.widened=r),r||t}return t}(e,void 0)}function pq(e,t,n){let r;let i=aD(pz(t));if(!EZ(e)||ka(vS(e),eO)){switch(e.kind){case 223:case 169:case 168:r=eK?tA.Member_0_implicitly_has_an_1_type:tA.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 166:if(wb(e.name)){let t=ha(e.name);if((wJ(e.parent)||wj(e.parent)||wZ(e.parent))&&e.parent.parameters.indexOf(e)>-1&&(r0(e,e.name.escapedText,788968,void 0,e.name.escapedText,!0)||t&&LI(t))){let t="arg"+e.parent.parameters.indexOf(e),n=bE(e.name)+(e.dotDotDotToken?"[]":"");rD(eK,e,tA.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1,t,n);return}}r=e.dotDotDotToken?eK?tA.Rest_parameter_0_implicitly_has_an_any_type:tA.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:eK?tA.Parameter_0_implicitly_has_an_1_type:tA.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 205:if(r=tA.Binding_element_0_implicitly_has_an_1_type,!eK)return;break;case 320:rR(e,tA.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,i);return;case 326:eK&&Dv(e.parent)&&rR(e.parent.tagName,tA.This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation,i);return;case 259:case 171:case 170:case 174:case 175:case 215:case 216:if(eK&&!e.name){3===n?rR(e,tA.Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation,i):rR(e,tA.Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,i);return}r=eK?3===n?tA._0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:tA._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:tA._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage;break;case 197:eK&&rR(e,tA.Mapped_object_type_implicitly_has_an_any_template_type);return;default:r=eK?tA.Variable_0_implicitly_has_an_1_type:tA.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage}rD(eK,e,r,bE(hp(e)),i)}}function pJ(e,t,n){eb(()=>{eK&&65536<(t)&&(!n||!hS(e))&&!function e(t){let n=!1;if(65536<(t)){if(1048576&t.flags){if(uv(t.types,_g))n=!0;else for(let r of t.types)e(r)&&(n=!0)}if(_8(t))for(let r of l0(t))e(r)&&(n=!0);if(fh(t))for(let r of sP(t)){let t=oC(r);65536<(t)&&(e(t)||rR(r.valueDeclaration,tA.Object_literal_s_property_0_implicitly_has_an_1_type,aR(r),aD(pz(t))),n=!0)}}return n}(t)&&pq(e,t,n)})}function pX(e,t,n){let r=vq(e),i=vq(t),a=vY(e),o=vY(t),s=o?i-1:i,l=a?s:Math.min(r,s),c=lA(e);if(c){let e=lA(t);e&&n(c,e)}for(let r=0;re.typeParameter),un(i.inferences,(e,t)=>()=>(e.isFixed||(function(e){if(e.intraExpressionInferenceSites){for(let{node:t,type:n}of e.intraExpressionInferenceSites){let r=171===t.kind?m0(t,2):hd(t,2);r&&fp(e.inferences,n,r)}e.intraExpressionInferenceSites=void 0}}(i),pZ(i.inferences),e.isFixed=!0),fv(i,t)))),i.nonFixingMapper=u_(un(i.inferences,e=>e.typeParameter),un(i.inferences,(e,t)=>()=>fv(i,t))),i}function pZ(e){for(let t of e)t.isFixed||(t.inferredType=void 0)}function p0(e,t,n){var r;(null!=(r=e.intraExpressionInferenceSites)?r:e.intraExpressionInferenceSites=[]).push({node:t,type:n})}function p1(e){return{typeParameter:e,candidates:void 0,contraCandidates:void 0,inferredType:void 0,priority:void 0,topLevel:!0,isFixed:!1,impliedArity:void 0}}function p2(e){return{typeParameter:e.typeParameter,candidates:e.candidates&&e.candidates.slice(),contraCandidates:e.contraCandidates&&e.contraCandidates.slice(),inferredType:e.inferredType,priority:e.priority,topLevel:e.topLevel,isFixed:e.isFixed,impliedArity:e.impliedArity}}function p4(e){return e&&e.mapper}function p8(e){let t=LT(e);if(524288&t)return!!(1048576&t);let n=!!(465829888&e.flags||524288&e.flags&&!p6(e)&&(4&t&&(e.node||dz(l0(e),p8))||16&t&&e.symbol&&14384&e.symbol.flags&&e.symbol.declarations||12583968&t)||3145728&e.flags&&!(1024&e.flags)&&!p6(e)&&uv(e.types,p8));return 3899393&e.flags&&(e.objectFlags|=524288|(n?1048576:0)),n}function p6(e){if(e.aliasSymbol&&!e.aliasTypeArguments){let t=g9(e.aliasSymbol,262);return!!(t&&m9(t.parent,e=>308===e.kind||264!==e.kind&&"quit"))}return!1}function p3(e,t,n=0){return!!(e===t||3145728&e.flags&&uv(e.types,e=>p3(e,t,n))||n<3&&16777216&e.flags&&(p3(dL(e),t,n+1)||p3(dC(e),t,n+1)))}function p5(e,t,n){if(nF)return;let r=e.id+","+t.id+","+n.id;if(nP.has(r))return nP.get(r);nF=!0;let i=function(e,t,n){if(!(ll(e,tB)||0!==sB(e).length&&function e(t){return!(262144<(t))||fh(t)&&uv(sB(t),t=>e(oC(t)))||pT(t)&&uv(l0(t),e)}(e)))return;if(_1(e))return ck(p7(l0(e)[0],t,n),_4(e));if(pT(e))return cD(un(l0(e),e=>p7(e,t,n)),4&sR(t)?ui(e.target.elementFlags,e=>2&e?1:e):e.target.elementFlags,e.target.readonly,e.target.labeledElementDeclarations);let r=au(1040,void 0);return r.source=e,r.mappedType=t,r.constraintType=n,r}(e,t,n);return nF=!1,nP.set(r,i),i}function p7(e,t,n){let r=dh(n.type,sS(t)),i=sC(t),a=p1(r);return fp([a],e,i),fe(a)||tI}function*p9(e,t,n,r){for(let i of sB(t))if(!o6(i)&&(n||!(16777216&i.flags||48&Lc(i)))){let t=le(e,i.escapedName);if(t){if(r){let e=oC(i);if(109472&e.flags){let n=oC(t);1&n.flags||dV(n)===dV(e)||(yield i)}}}else yield i}}function fe(e){return e.candidates?cH(e.candidates,2):e.contraCandidates?cJ(e.contraCandidates):void 0}function ft(e){return!!rY(e).skipDirectInference}function fn(e){return!!(e.symbol&&uv(e.symbol.declarations,ft))}function fr(e,t){if(""===e)return!1;let n=+e;return isFinite(n)&&(!t||""+n===e)}function fi(e,t){if(1&t.flags)return!0;if(134217732&t.flags)return u3(e,t);if(268435456&t.flags){let n=[];for(;268435456&t.flags;)n.unshift(t.symbol),t=t.type;return u2(n,(e,t)=>c5(t,e),e)===e&&fi(e,t)}return!1}function fa(e,t){return 128&e.flags?fc([e.value],o,t):134217728&e.flags?d3(e.texts,t.texts)?un(e.types,fs):fc(e.texts,e.types,t):void 0}function fo(e,t){let n=fa(e,t);return!!n&&dZ(n,(e,n)=>(function(e,t){if(e===t||5&t.flags)return!0;if(128&e.flags){let n=e.value;return!!(8&t.flags&&fr(n,!1)||64&t.flags&&kg(n,!1)||98816&t.flags&&n===t.intrinsicName||268435456&t.flags&&fi(dH(n),t))}if(134217728&e.flags){let n=e.texts;return 2===n.length&&""===n[0]&&""===n[1]&&u3(e.types[0],t)}return u3(e,t)})(e,t.types[n]))}function fs(e){return 402653317&e.flags?e:c3(["",""],[e])}function fc(e,t,n){let r=e.length-1,i=e[0],a=e[r],o=n.texts,s=o.length-1,l=o[0],c=o[s];if(0===r&&i.length0){let t=_,r=p;for(;!((r=f(t).indexOf(n,r))>=0);){if(++t===e.length)return;r=0}m(t,r),p+=n.length}else if(p{if(!(128&t.flags))return;let n=hn(t.value),r=rG(4,n);r.links.type=tE,t.symbol&&(r.declarations=t.symbol.declarations,r.valueDeclaration=t.symbol.valueDeclaration),e.set(n,r)}),n=4&l.flags?[lB(tB,no,!1)]:o,c=ah(void 0,e,o,o,n),p=s.type,i=r,r|=256,v(c,p),r=i}else if(8388608&t.flags&&8388608&s.flags)f(t.objectType,s.objectType),f(t.indexType,s.indexType);else if(268435456&t.flags&&268435456&s.flags)t.symbol===s.symbol&&f(t.type,s.type);else if(33554432&t.flags)f(t.baseType,s),m(l9(t),s,4);else if(16777216&s.flags)h(t,s,x);else if(3145728&s.flags)T(t,s.types,s.flags);else if(1048576&t.flags)for(let e of t.types)f(e,s);else if(134217728&s.flags)!function(e,t){let n=fa(e,t),r=t.types;if(n||dZ(t.texts,e=>0===e.length))for(let e=0;ee|t.flags,0);if(!(4&r)){let n=t.value;296&r&&!fr(n,!0)&&(r&=-297),2112&r&&!kg(n,!0)&&(r&=-2113);let a=u2(e,(e,i)=>i.flags&r?4&e.flags?e:4&i.flags?t:134217728&e.flags?e:134217728&i.flags&&fo(t,i)?t:268435456&e.flags?e:268435456&i.flags&&n===c7(i.symbol,n)?t:128&e.flags?e:128&i.flags&&i.value===n?i:8&e.flags?e:8&i.flags?dK(+n):32&e.flags?e:32&i.flags?dK(+n):256&e.flags?e:256&i.flags&&i.value===+n?i:64&e.flags?e:64&i.flags?dq(ky(n)):2048&e.flags?e:2048&i.flags&&km(i.value)===n?i:16&e.flags?e:16&i.flags?"true"===n?tK:"false"===n?tj:tY:512&e.flags?e:512&i.flags&&i.intrinsicName===n?i:32768&e.flags?e:32768&i.flags&&i.intrinsicName===n?i:65536&e.flags?e:65536&i.flags&&i.intrinsicName===n?i:e:e,tZ);if(!(131072&a.flags)){f(a,i);continue}}}}f(t,i)}}(t,s);else{if(t=s6(t),!(512&r&&467927040&t.flags)){let e=s0(t);if(e!==t&&_&&!(2621440&e.flags))return _=!1,f(e,s);t=e}2621440&t.flags&&h(t,s,S)}}}function m(e,t,n){let i=r;r|=n,f(e,t),r=i}function h(e,t,n){let r=e.id+","+t.id,i=s&&s.get(r);if(void 0!==i){u=Math.min(u,i);return}(s||(s=new Map)).set(r,-1);let a=u;u=2048;let o=p,d=_Y(e),_=_Y(t);d6(l,d)&&(p|=1),d6(c,_)&&(p|=2),3!==p?((l||(l=[])).push(d),(c||(c=[])).push(_),n(e,t),c.pop(),l.pop()):u=-1,p=o,s.set(r,u),u=Math.min(u,a)}function y(e,t,n){let r,i;for(let a of t)for(let t of e)n(t,a)&&(f(t,a),r=uG(r,t),i=uG(i,a));return[r?d9(e,e=>!d6(r,e)):e,i?d9(t,e=>!d6(i,e)):t]}function g(e,t,n){let r=e.length!!E(e));if(!e||t&&e!==t)return;t=e}return t}(t);n&&m(e,n,1);return}if(1===i&&!s){let e=uo(a,(e,t)=>o[t]?void 0:e);if(e.length){f(cH(e),n);return}}}else for(let n of t)E(n)?i++:f(e,n);if(2097152&n?1===i:i>0)for(let n of t)E(n)&&m(e,n,1)}function x(e,t){if(16777216&e.flags)f(e.checkType,t.checkType),f(e.extendsType,t.extendsType),f(dL(e),dL(t)),f(dC(e),dC(t));else{var n,a;let o,s=[dL(t),dC(t)];n=t.flags,a=i?64:0,o=r,r|=a,T(e,s,n),r=o}}function S(e,t){var n,r;if(4<(e)&&4<(t)&&(e.target===t.target||_1(e)&&_1(t))){g(l0(e),l0(t),_M(e.target));return}if(sO(e)&&sO(t)){f(sA(e),sA(t)),f(sC(e),sC(t));let n=sL(e),r=sL(t);n&&r&&f(n,r)}if(32<(t)&&!t.declaration.nameType){let n=sA(t);if(function e(t,n,r){if(1048576&r.flags){let i=!1;for(let a of r.types)i=e(t,n,a)||i;return i}if(4194304&r.flags){let e=E(r.type);if(e&&!e.isFixed&&!fn(t)){let i=p5(t,n,r);i&&m(i,e.typeParameter,262144<(t)?16:8)}return!0}if(262144&r.flags){m(c8(t),r,32);let i=sU(r);return!!(i&&e(t,n,i))||(f(cH(uE(un(sB(t),oC),un(ls(t),e=>e!==nk?e.type:tZ))),sC(n)),!0)}return!1}(e,t,n))return}if(pT(e)&&pT(t)?(!!(8&t.target.combinedFlags)||!(t.target.minLength>e.target.minLength))&&(!!t.target.hasRestElement||!e.target.hasRestElement&&!(t.target.fixedLength(12&e)==(12&t.target.elementFlags[n]))){for(let t=0;tsV(e)||tI)),i=un(t,e=>uO(e,r)||tI);for(let e=0;e1){let t=d9(e,fg);if(t.length){let n=cH(t,2);return uE(d9(e,e=>!fg(e)),[n])}}return e}(n.candidates),_=!(u=!!(l=sV(n.typeParameter))&&bZ(16777216&l.flags?sK(l):l,406978556)||sj(n.typeParameter))&&n.topLevel&&(n.isFixed||(a=n.typeParameter,(c=lL(s))?!(c.type&&p3(c.type,a)):!p3(lk(s),a))),p=u?ui(d,dV):_?ui(d,pv):d,pz(416&n.priority?cH(p,2):function(e){if(1===e.length)return e[0];let t=eU?ui(e,e=>f5(e,e=>!(98304&e.flags))):e,n=!function(e){let t;for(let n of e)if(!(131072&n.flags)){let e=py(n);if(null!=t||(t=e),e===n||e!==t)return!1}return!0}(t)?u2(t,(e,t)=>u6(e,t)?t:e):cH(t);return t===e?n:pw(n,98304&function e(t){return u2(t,(t,n)=>t|(1048576&n.flags?e(n.types):n.flags),0)}(e))}(p))):void 0;if(n.contraCandidates)o=f&&!(131072&f.flags)&&uv(n.contraCandidates,e=>u6(f,e))&&dZ(e.inferences,e=>e!==n&&sV(e.typeParameter)!==n.typeParameter||dZ(e.candidates,e=>u6(e,f)))?f:416&n.priority?cJ(n.contraCandidates):u2(n.contraCandidates,(e,t)=>u6(t,e)?t:e);else if(f)o=f;else if(1&e.flags)o=t0;else{let a,s=s$(n.typeParameter);s&&(o=uO(s,(r=us(un(a=e.inferences.slice(t),e=>e.typeParameter),un(a,()=>tI)),i=e.nonFixingMapper,r?up(5,r,i):i)))}}else o=fe(n);n.inferredType=o||(2&e.flags?tE:tI);let l=sV(n.typeParameter);if(l){let t=uO(l,e.nonFixingMapper);o&&e.compareTypes(o,ss(t,o))||(n.inferredType=o=t)}}return n.inferredType}function fb(e){let t=[];for(let n=0;n183===e.kind||79!==e.kind&&163!==e.kind&&"quit")}function fS(e){return!!(16777216&e.flags||m9(e,e=>Ns(e)||w2(e)))}function fL(e,t){switch(t.kind){case 214:case 232:return fL(e,t.expression);case 223:return AA(t)&&fL(e,t.left)||RR(t)&&27===t.operatorToken.kind&&fL(e,t.right)}switch(e.kind){case 233:return 233===t.kind&&e.keywordToken===t.keywordToken&&e.name.escapedText===t.name.escapedText;case 79:case 80:return Sj(e)?108===t.kind:79===t.kind&&fT(e)===fT(t)||(Nr(t)||Rp(t))&&aa(fT(e))===i7(t);case 108:return 108===t.kind;case 106:return 106===t.kind;case 232:case 214:return fL(e.expression,t);case 208:case 209:let n=fC(e),r=Lw(t)?fC(t):void 0;return void 0!==n&&void 0!==r&&r===n&&fL(e.expression,t.expression);case 163:return Lw(t)&&e.right.escapedText===fC(t)&&fL(e.left,t.expression);case 223:return RR(e)&&27===e.operatorToken.kind&&fL(e.right,t)}return!1}function fC(e){if(Rh(e))return e.name.escapedText;if(Ry(e))return function(e){if(xO(e.argumentExpression))return hn(e.argumentExpression.text);if(AI(e.argumentExpression)){let t=iB(e.argumentExpression,111551,!0);if(!t||!(mT(t)||8&t.flags))return;let n=t.valueDeclaration;if(void 0===n)return;let r=oh(n);if(r){let e=fI(r);if(void 0!==e)return e}if(g0(n)&&rZ(n,e.argumentExpression)){let e=Tr(n);if(e)return fI(Ty(e));if(NQ(n))return bA(n.name)}}}(e);if(Rp(e)){let t=a6(e);return t?hn(t):void 0}if(wG(e))return""+e.parent.parameters.indexOf(e)}function fI(e){return 8192&e.flags?e.escapedName:384&e.flags?hn(""+e.value):void 0}function fw(e,t){for(;Lw(e);)if(fL(e=e.expression,t))return!0;return!1}function fR(e,t){for(;h3(e);)if(fL(e=e.expression,t))return!0;return!1}function fN(e,t){if(e&&1048576&e.flags){let n=s4(e,t);if(n&&2&Lc(n))return void 0===n.links.isDiscriminantProperty&&(n.links.isDiscriminantProperty=(192&n.links.checkFlags)==192&&!dl(oC(n))),!!n.links.isDiscriminantProperty}return!1}function fD(e,t){let n;for(let r of e)if(fN(t,r.escapedName)){if(n){n.push(r);continue}n=[r]}return n}function fO(e){let t=e.types;if(!(t.length<10||32768<(e)||10>d7(t,e=>!!(59506688&e.flags)))){if(void 0===e.keyPropertyName){let n=dz(t,e=>59506688&e.flags?dz(sB(e),e=>pf(oC(e))?e.escapedName:void 0):void 0),r=n&&function(e,t){let n=new Map,r=0;for(let i of e)if(61603840&i.flags){let e=a$(i,t);if(e){if(!ph(e))return;let t=!1;f8(e,e=>{let r=cB(dV(e)),a=n.get(r);a?a!==tI&&(n.set(r,tI),t=!0):n.set(r,i)}),!t&&r++}}return r>=10&&2*r>=e.length?n:void 0}(t,n);e.keyPropertyName=r?n:"",e.constituentMap=r}return e.keyPropertyName.length?e.keyPropertyName:void 0}}function fM(e,t){var n;let r=null==(n=e.constituentMap)?void 0:n.get(cB(dV(t)));return r!==tI?r:void 0}function fP(e,t){let n=fO(e),r=n&&a$(t,n);return r&&fM(e,r)}function fF(e,t){return fL(e,t)||fw(e,t)}function fG(e,t){if(e.arguments){for(let n of e.arguments)if(fF(t,n))return!0}return!!(208===e.expression.kind&&fF(t,e.expression.expression))}function fU(e){return(!e.id||e.id<0)&&(e.id=ig,ig++),e.id}function fV(e){let t=sM(e);return!!(t.callSignatures.length||t.constructSignatures.length||t.members.get("bind")&&u6(e,m))}function fj(e){467927040&e.flags&&(e=sz(e)||tI);let t=e.flags;if(268435460&t)return eU?16317953:16776705;if(134217856&t){let n=128&t&&""===e.value;return eU?n?12123649:7929345:n?12582401:16776705}if(40&t)return eU?16317698:16776450;if(256&t){let t=0===e.value;return eU?t?12123394:7929090:t?12582146:16776450}if(64&t)return eU?16317188:16775940;if(2048&t){let t=pC(e);return eU?t?12122884:7928580:t?12581636:16775940}return 16&t?eU?16316168:16774920:528&t?eU?e===tj||e===tH?12121864:7927560:e===tj||e===tH?12580616:16774920:524288&t?16<(e)&&_g(e)?eU?83427327:83886079:fV(e)?eU?7880640:16728e3:eU?7888800:16736160:16384&t?9830144:32768&t?26607360:65536&t?42917664:12288&t?eU?7925520:16772880:67108864&t?eU?7888800:16736160:131072&t?0:1048576&t?u2(e.types,(e,t)=>e|fj(t),0):2097152&t?function(e){let t=bZ(e,134348796),n=0,r=134217727;for(let i of e.types)if(!(t&&524288&i.flags)){let e=fj(i);n|=e,r&=e}return 8256&n|134209471&r}(e):83886079}function fH(e,t){return f5(e,e=>(fj(e)&t)!=0)}function fK(e,t){var n;let r=(n=fH(eU&&2&e.flags?n_:e,t))===n_?tI:n;if(eU)switch(t){case 524288:return f9(r,e=>65536&fj(e)?cJ([e,131072&fj(e)&&!bZ(r,65536)?cH([no,tP]):no]):e);case 1048576:return f9(r,e=>131072&fj(e)?cJ([e,65536&fj(e)&&!bZ(r,32768)?cH([no,tR]):no]):e);case 2097152:case 4194304:return f9(r,e=>262144&fj(e)?(I||(I=cu("NonNullable",524288,void 0)||ty),I!==ty?l4(I,[e]):cJ([e,no])):e)}return r}function fW(e,t){return t?cH([a4(e),Ty(t)]):e}function fz(e,t){var n;let r=c0(t);if(!o5(r))return tS;let i=sn(r);return a$(e,i)||fJ(null==(n=l_(e,i))?void 0:n.type)||tS}function fq(e,t){return f3(e,pc)&&(a$(e,""+t)||(f3(e,pT)?f9(e,e=>{let n=pA(e);return n?eO.noUncheckedIndexedAccess&&t>=e.target.fixedLength+cG(e.target,3)?cH([n,tR]):n:tR}):void 0))||fJ(SN(65,e,tR,void 0))||tS}function fJ(e){return e&&eO.noUncheckedIndexedAccess?cH([e,tD]):e}function fX(e){return ck(SN(65,e,tR,void 0)||tS)}function fY(e){return 223===e.parent.kind&&e.parent.left===e||247===e.parent.kind&&e.parent.initializer===e}function f$(e){return fz(fQ(e.parent),e.name)}function fQ(e){let{parent:t}=e;switch(t.kind){case 246:return tB;case 247:return SR(t)||tS;case 223:return 206===t.parent.kind&&fY(t.parent)||299===t.parent.kind&&fY(t.parent.parent)?fW(fQ(t),t.right):Ty(t.right);case 217:return tR;case 206:return fq(fQ(t),t.elements.indexOf(e));case 227:return fX(fQ(t.parent));case 299:return f$(t);case 300:return fW(f$(t),t.objectAssignmentInitializer)}return tS}function fZ(e){return rY(e).resolvedType||Ty(e)}function f0(e){switch(e.kind){case 214:return f0(e.expression);case 223:switch(e.operatorToken.kind){case 63:case 75:case 76:case 77:return f0(e.left);case 27:return f0(e.right)}}return e}function f1(e){let t=rY(e);if(!t.switchTypes)for(let n of(t.switchTypes=[],e.caseBlock.clauses))t.switchTypes.push(292===n.kind?dV(Ty(n.expression)):tZ);return t.switchTypes}function f2(e){if(uv(e.caseBlock.clauses,e=>292===e.kind&&!g8(e.expression)))return;let t=[];for(let n of e.caseBlock.clauses){let e=292===n.kind?n.expression.text:void 0;t.push(e&&!d6(t,e)?e:void 0)}return t}function f4(e,t){return e===t||1048576&t.flags&&function(e,t){if(1048576&e.flags){for(let n of e.types)if(!cU(t.types,n))return!1;return!0}return!!(1056&e.flags)&&oq(e)===t||cU(t.types,e)}(e,t)}function f8(e,t){return 1048576&e.flags?dz(e.types,t):t(e)}function f6(e,t){return 1048576&e.flags?uv(e.types,t):t(e)}function f3(e,t){return 1048576&e.flags?dZ(e.types,t):t(e)}function f5(e,t){if(1048576&e.flags){let n;let r=e.types,i=d9(r,t);if(i===r)return e;let a=e.origin;if(a&&1048576&a.flags){let e=a.types,o=d9(e,e=>!!(1048576&e.flags)||t(e));if(e.length-o.length==r.length-i.length){if(1===o.length)return o[0];n=cj(1048576,o)}}return cW(i,16809984&e.objectFlags,void 0,void 0,n)}return 131072&e.flags||t(e)?e:tZ}function f7(e,t){return f5(e,e=>e!==t)}function f9(e,t,n){let r;if(131072&e.flags)return e;if(!(1048576&e.flags))return t(e);let i=e.origin,a=i&&1048576&i.flags?i.types:e.types,o=!1;for(let e of a){let i=1048576&e.flags?f9(e,t,n):t(e);o||(o=e!==i),i&&(r?r.push(i):r=[i])}return o?r&&cH(r,n?0:1):e}function me(e,t,n,r){return 1048576&e.flags&&n?cH(un(e.types,t),1,n,r):f9(e,t)}function mn(e,t){return f5(e,e=>(e.flags&t)!=0)}function mr(e,t){return bZ(e,134217804)&&bZ(t,402655616)?f9(e,e=>4&e.flags?mn(t,402653316):ds(e)&&!bZ(t,402653188)?mn(t,128):8&e.flags?mn(t,264):64&e.flags?mn(t,2112):e):e}function ma(e){return 0===e.flags}function mo(e){return 0===e.flags?e.type:e}function ms(e,t){return t?{flags:0,type:131072&e.flags?t0:e}:e}function ml(e){let t;return tf[e.id]||(tf[e.id]=((t=au(256)).elementType=e,t))}function md(e,t){let n=pK(py(TE(t)));return f4(n,e.elementType)?e:ml(cH([e.elementType,n]))}function mu(e){var t;return 256<(e)?e.finalArrayType||(e.finalArrayType=131072&(t=e.elementType).flags?C:ck(1048576&t.flags?cH(t.types,2):t)):e}function m_(e){return 256<(e)?e.elementType:tZ}function mp(e){let t=function e(t){let{parent:n}=t;return 214===n.kind||223===n.kind&&63===n.operatorToken.kind&&n.left===t||223===n.kind&&27===n.operatorToken.kind&&n.right===t?e(n):t}(e),n=t.parent,r=Rh(n)&&("length"===n.name.escapedText||210===n.parent.kind&&wb(n.name)&&x$(n.name)),i=209===n.kind&&n.expression===t&&223===n.parent.kind&&63===n.parent.operatorToken.kind&&n.parent.left===n&&!T3(n.parent)&&b0(Ty(n.argumentExpression),296);return r||i}function mf(e,t){if(8752&(e=iI(e)).flags)return oC(e);if(7&e.flags){if(262144&Lc(e)){let t=e.links.syntheticOrigin;if(t&&mf(t))return oC(e)}let n=e.valueDeclaration;if(n){if((Nr(n)||wV(n)||wU(n)||wG(n))&&(SW(n)||EZ(n)&&gZ(n)&&n.initializer&&kB(n.initializer)&&Sq(n.initializer)))return oC(e);if(Nr(n)&&247===n.parent.parent.kind){let e=n.parent.parent,t=mm(e.expression,void 0);if(t)return SN(e.awaitModifier?15:13,t,tR,void 0)}t&&kl(t,bC(n,tA._0_needs_an_explicit_type_annotation,aR(e)))}}}function mm(e,t){if(!(33554432&e.flags))switch(e.kind){case 79:return mf(aa(fT(e)),t);case 108:return function(e){let t=ET(e,!1,!1);if(yF(t)){let e=lb(t);if(e.thisParameter)return mf(e.thisParameter)}if(yW(t.parent)){let e=i7(t.parent);return S5(t)?oC(e):oQ(e).thisType}}(e);case 106:return mU(e);case 208:{let n=mm(e.expression,t);if(n){let r;let i=e.name;if(wE(i)){if(!n.symbol)return;r=le(n,xH(n.symbol,i.escapedText))}else r=le(n,i.escapedText);return r&&mf(r,t)}return}case 214:return mm(e.expression,t)}}function mh(e){let t=rY(e),n=t.effectsSignature;if(void 0===n){let r;241===e.parent.kind?r=mm(e.expression,void 0):106!==e.expression.kind&&(r=h3(e)?yT(pG(TT(e.expression),e.expression),e.expression):yp(e.expression));let i=ln(r&&s0(r)||tI,0),a=1!==i.length||i[0].typeParameters?uv(i,my)?vf(e):void 0:i[0];n=t.effectsSignature=a&&my(a)?a:nA}return n===nA?void 0:n}function my(e){return!!(lL(e)||e.declaration&&131072&(lI(e.declaration)||tI).flags)}function mg(e){let t=function e(t,n){for(;;){if(t===ep)return ef;let r=t.flags;if(4096&r){if(!n){let n=fU(t),r=ri[n];return void 0!==r?r:ri[n]=e(t,!0)}n=!1}if(368&r)t=t.antecedent;else if(512&r){let e=mh(t.node);if(e){let n=lL(e);if(n&&3===n.kind&&!n.type){let e=t.node.arguments[n.parameterIndex];if(e&&function e(t){let n=xi(t,!0);return 95===n.kind||223===n.kind&&(55===n.operatorToken.kind&&(e(n.left)||e(n.right))||56===n.operatorToken.kind&&e(n.left)&&e(n.right))}(e))return!1}if(131072&lk(e).flags)return!1}t=t.antecedent}else if(4&r)return uv(t.antecedents,t=>e(t,!1));else if(8&r){let e=t.antecedents;if(void 0===e||0===e.length)return!1;t=e[0]}else if(128&r){if(t.clauseStart===t.clauseEnd&&bf(t.switchStatement))return!1;t=t.antecedent}else{if(!(1024&r))return!(1&r);ep=void 0;let n=t.target,i=n.antecedents;n.antecedents=t.antecedents;let a=e(t.antecedent,!1);return n.antecedents=i,a}}}(e,!1);return ep=e,ef=t,t}function mv(e,n,r=n,i,a=null==(t=_E(e,TW))?void 0:t.flowNode){let o;let s=!1,l=0;if(nH)return tS;if(!a)return n;nK++;let c=nj,d=mo(function t(a){var d;let u;if(2e3===l){let t,n,r;return null==(d=Q)||d.instant(Q.Phase.CheckTypes,"getTypeAtFlowNode_DepthLimit",{flowId:a.id}),nH=!0,t=m9(e,yH),r=bF(n=vS(e),t.statements.pos),r_.add(LQ(n,r.start,r.length,tA.The_containing_function_or_module_body_is_too_large_for_control_flow_analysis)),tS}for(l++;;){let d;let f=a.flags;if(4096&f){for(let e=c;e(function(e,t){if(!(1048576&e.flags))return u3(e,t);for(let n of e.types)if(u3(n,t))return!0;return!1})(t,e)),r=512&t.flags&&dj(t)?f9(n,dU):n;return u3(t,r)?r:e}(e,t))}(n,_(r)):n}if(fw(e,i)){if(!mg(r))return t2;if(Nr(i)&&(EZ(i)||bK(i))){let e=Ti(i);if(e&&(215===e.kind||216===e.kind))return t(r.antecedent)}return n}if(Nr(i)&&246===i.parent.parent.kind&&(fL(e,i.parent.parent.expression)||fR(i.parent.parent.expression,e)))return yy(mu(mo(t(r.antecedent))))}(a))){a=a.antecedent;continue}}else if(512&f){if(!(d=function(e){let n=mh(e.node);if(n){let r=lL(n);if(r&&(2===r.kind||3===r.kind)){let n=t(e.antecedent),i=mu(mo(n)),a=r.type?P(i,r,e.node,!0):3===r.kind&&r.parameterIndex>=0&&r.parameterIndex293===e.kind);if(n===r||a>=n&&a(fj(e)&t)===t)}return cH(un(i.slice(n,r),t=>t?w(e,t):tZ))}(a,n.switchStatement,n.clauseStart,n.clauseEnd);else{eU&&(fR(r,e)?a=k(a,n.switchStatement,n.clauseStart,n.clauseEnd,e=>!(163840&e.flags)):218===r.kind&&fR(r.expression,e)&&(a=k(a,n.switchStatement,n.clauseStart,n.clauseEnd,e=>!(131072&e.flags||128&e.flags&&"undefined"===e.value))));let t=h(r,a);t&&(a=function(e,t,n,r,i){if(rfM(e,t)||tI));if(t!==tI)return t}return y(e,t,e=>I(e,n,r,i))}(a,t,n.switchStatement,n.clauseStart,n.clauseEnd))}return ms(a,ma(i))}(a);else if(12&f){if(1===a.antecedents.length){a=a.antecedents[0];continue}d=4&f?function(e){let i;let a=[],o=!1,s=!1;for(let l of e.antecedents){if(!i&&128&l.flags&&l.clauseStart===l.clauseEnd){i=l;continue}let e=t(l),c=mo(e);if(c===n&&n===r)return c;uF(a,c),f4(c,n)||(o=!0),ma(e)&&(s=!0)}if(i){let e=t(i),l=mo(e);if(!(131072&l.flags)&&!d6(a,l)&&!bf(i.switchStatement)){if(l===n&&n===r)return l;a.push(l),f4(l,n)||(o=!0),ma(e)&&(s=!0)}}return ms(p(a,o?2:1),s)}(a):function(a){let l;let c=fU(a),d=n7[c]||(n7[c]=new Map),u=s?o:(s=!0,o=function e(t,n,r,i){switch(t.kind){case 79:if(!Sj(t)){let e=fT(t);return e!==ty?`${i?Gv(i):"-1"}|${cB(n)}|${cB(r)}|${Gb(e)}`:void 0}case 108:return`0|${i?Gv(i):"-1"}|${cB(n)}|${cB(r)}`;case 232:case 214:return e(t.expression,n,r,i);case 163:let a=e(t.left,n,r,i);return a&&a+"."+t.right.escapedText;case 208:case 209:let o=fC(t);if(void 0!==o){let a=e(t.expression,n,r,i);return a&&a+"."+o}break;case 203:case 204:case 259:case 215:case 216:case 171:return`${Gv(t)}#${cB(n)}`}}(e,n,r,i));if(!u)return n;let _=d.get(u);if(_)return _;for(let e=nB;e{var t;let n=a$(e,r)||(null==(t=l_(e,r))?void 0:t.type)||tI;return!(131072&n.flags)&&!(131072&s.flags)&&_e(s,n)})}function g(e,t,n,r,i){if((36===n||37===n)&&1048576&e.flags){let a=fO(e);if(a&&a===fC(t)){let t=fM(e,Ty(r));if(t)return n===(i?36:37)?t:pf(a$(t,a)||tI)?f7(e,t):e}}return y(e,t,e=>x(e,n,r,i))}function v(t,n,r){if(fL(e,n))return fK(t,r?4194304:8388608);eU&&r&&fR(n,e)&&(t=fK(t,2097152));let i=h(n,t);return i?y(t,i,e=>fH(e,r?4194304:8388608)):t}function b(e,t,n){let r=le(e,t);return r?!!(16777216&r.flags)||n:!!l_(e,t)||!n}function E(e,t,n,r){let i=34===t||36===t,a=34===t||35===t?98304:32768,o=Ty(n);return i!==r&&f3(o,e=>!!(e.flags&a))||i===r&&f3(o,e=>!(e.flags&(3|a)))?fK(e,2097152):e}function x(e,t,n,r){if(1&e.flags)return e;(35===t||37===t)&&(r=!r);let i=Ty(n),a=34===t||35===t;if(98304&i.flags)return eU?fK(e,a?r?262144:2097152:65536&i.flags?r?131072:1048576:r?65536:524288):e;if(r){if(!a&&(2&e.flags||f6(e,_b))){if(201457660&i.flags||_b(i))return i;if(524288&i.flags)return t4}return mr(f5(e,e=>_e(e,i)||a&&(524&e.flags)!=0&&(28&i.flags)!=0),i)}return pf(i)?f5(e,e=>!(pm(e)&&_e(e,i))):e}function S(t,n,r,i,a){(35===r||37===r)&&(a=!a);let o=f0(n.expression);if(!fL(e,o)){eU&&fR(o,e)&&a===("undefined"!==i.text)&&(t=fK(t,2097152));let n=h(o,t);return n?y(t,n,e=>A(e,i,a)):t}return A(t,i,a)}function A(e,t,n){return n?w(e,t.text):fK(e,ib.get(t.text)||32768)}function k(e,t,n,r,i){return n!==r&&dZ(f1(t).slice(n,r),i)?fH(e,2097152):e}function I(e,t,n,r){let i=f1(t);if(!i.length)return e;let a=i.slice(n,r),o=n===r||d6(a,tZ);if(2&e.flags&&!o){let t;for(let n=0;n_e(s,e)),s);if(!o)return l;let c=f5(e,e=>!(pm(e)&&d6(i,dV(2097152&e.flags&&d0(e.types,pf)||e))));return 131072&l.flags?c:cH([l,c])}function w(e,t){switch(t){case"string":return R(e,tB,1);case"number":return R(e,tU,2);case"bigint":return R(e,tV,4);case"boolean":return R(e,tY,8);case"symbol":return R(e,t$,16);case"object":return 1&e.flags?e:cH([R(e,t4,32),R(e,tP,131072)]);case"function":return 1&e.flags?e:R(e,m,64);case"undefined":return R(e,tR,65536)}return R(e,t4,128)}function R(e,t,n){return f9(e,e=>_L(e,t,rh)?fj(e)&n?e:tZ:u6(t,e)?t:fj(e)&n?cJ([e,t]):tZ)}function N(t){return(Rh(t)&&"constructor"===hi(t.name)||Ry(t)&&g8(t.argumentExpression)&&"constructor"===t.argumentExpression.text)&&fL(e,t.expression)}function D(e,t,n,r){if(r?34!==t&&36!==t:35!==t&&37!==t)return e;let i=Ty(n);if(!L8(i)&&!oF(i))return e;let a=le(i,"prototype");if(!a)return e;let o=oC(a),s=aQ(o)?void 0:o;return s&&s!==f&&s!==m?aQ(e)?s:f5(e,e=>524288&e.flags&&1<(e)||524288&s.flags&&1<(s)?e.symbol===s.symbol:u6(e,s)):e}function O(e){let t=a$(e,"prototype");if(t&&!aQ(t))return t;let n=ln(e,1);return n.length?cH(un(n,e=>lk(lM(e)))):no}function M(e,t,n,r){var i;let a=1048576&e.flags?`N${cB(e)},${cB(t)},${(n?1:0)|(r?2:0)}`:void 0;return null!=(i=rS(a))?i:rA(a,function(e,t,n,r){if(!n){if(r)return f5(e,e=>!u5(e,t));let n=M(e,t,!0,!1);return f5(e,e=>!f4(e,n))}if(3&e.flags)return t;let i=r?u5:u6,a=1048576&e.flags?fO(e):void 0,o=f9(t,t=>{let n=a&&a$(t,a),o=f9(n&&fM(e,n)||e,r?e=>u5(e,t)?e:u5(t,e)?t:tZ:e=>_L(e,t,rh)?e:_L(t,e,rh)?t:u6(e,t)?e:u6(t,e)?t:tZ);return 131072&o.flags?f9(e,e=>bZ(e,465829888)&&i(t,sz(e)||tI)?cJ([e,t]):tZ):o});return 131072&o.flags?u6(t,e)?t:u3(e,t)?e:u3(t,e)?t:cJ([e,t]):o}(e,t,n,r))}function P(t,n,r,i){if(n.type&&!(aQ(t)&&(n.type===f||n.type===m))){let a=function(e,t){if(1===e.kind||3===e.kind)return t.arguments[e.parameterIndex];let n=xi(t.expression);return Lw(n)?xi(n.expression):void 0}(n,r);if(a){if(fL(e,a))return M(t,n.type,i,!1);eU&&i&&fR(a,e)&&!(65536&fj(n.type))&&(t=fK(t,2097152));let r=h(a,t);if(r)return y(t,r,e=>M(e,n.type,i,!1))}}return t}function F(t,n,r){if(h7(n)||RR(n.parent)&&(60===n.parent.operatorToken.kind||77===n.parent.operatorToken.kind)&&n.parent.left===n)return function(t,n,r){if(fL(e,n))return fK(t,r?2097152:262144);let i=h(n,t);return i?y(t,i,e=>fH(e,r?2097152:262144)):t}(t,n,r);switch(n.kind){case 79:if(!fL(e,n)&&ew<5){let i=fT(n);if(mT(i)){let n=i.valueDeclaration;if(n&&Nr(n)&&!n.type&&n.initializer&&function e(t){switch(t.kind){case 79:if(!Sj(t)){let e=fT(t);return mT(e)||kG(e)&&!mE(e)}break;case 208:case 209:return e(t.expression)&&bP(rY(t).resolvedSymbol||ty)}return!1}(e)){ew++;let e=F(t,n.initializer,r);return ew--,e}}}case 108:case 106:case 208:case 209:return v(t,n,r);case 210:return function(t,n,r){if(fG(n,e)){let e=r||!h6(n)?mh(n):void 0,i=e&&lL(e);if(i&&(0===i.kind||1===i.kind))return P(t,i,n,r)}if(pU(t)&&Lw(e)&&Rh(n.expression)){let i=n.expression;if(fL(e.expression,f0(i.expression))&&wb(i.name)&&"hasOwnProperty"===i.name.escapedText&&1===n.arguments.length){let i=n.arguments[0];if(g8(i)&&fC(e)===hn(i.text))return fH(t,r?524288:65536)}}return t}(t,n,r);case 214:case 232:return F(t,n.expression,r);case 223:return function(t,n,r){switch(n.operatorToken.kind){case 63:case 75:case 76:case 77:return v(F(t,n.right,r),n.left,r);case 34:case 35:case 36:case 37:let i=n.operatorToken.kind,a=f0(n.left),o=f0(n.right);if(218===a.kind&&g8(o))return S(t,a,i,o,r);if(218===o.kind&&g8(a))return S(t,o,i,a,r);if(fL(e,a))return x(t,i,o,r);if(fL(e,o))return x(t,i,a,r);eU&&(fR(a,e)?t=E(t,i,o,r):fR(o,e)&&(t=E(t,i,a,r)));let s=h(a,t);if(s)return g(t,s,i,o,r);let l=h(o,t);if(l)return g(t,l,i,a,r);if(N(a))return D(t,i,o,r);if(N(o))return D(t,i,a,r);break;case 102:return function(t,n,r){let i=f0(n.left);if(!fL(e,i))return r&&eU&&fR(i,e)?fK(t,2097152):t;let a=Ty(n.right);if(!u5(a,m))return t;let o=f9(a,O);return(!aQ(t)||o!==f&&o!==m)&&(r||524288&o.flags&&!_b(o))?M(t,o,r,!0):t}(t,n,r);case 101:if(wE(n.left))return function(t,n,r){if(!fL(e,f0(n.right)))return t;T.assertNode(n.left,wE);let i=yN(n.left);if(void 0===i)return t;let a=i.parent;return M(t,S7(T.checkDefined(i.valueDeclaration,"should always have a declaration"))?oC(a):oQ(a),r,!0)}(t,n,r);let c=f0(n.right),d=Ty(n.left);if(8576&d.flags){if(pU(t)&&Lw(e)&&fL(e.expression,c)&&fC(e)===sn(d))return fH(t,r?524288:65536);if(fL(e,c))return function(e,t,n){let r=sn(t);if(f6(e,e=>b(e,r,!0)))return f5(e,e=>b(e,r,n));if(n){let n=(ei||(ei=cd("Record",2,!0)||ty),ei===ty?void 0:ei);if(n)return cJ([e,l4(n,[t,tI])])}return e}(t,d,r)}break;case 27:return F(t,n.right,r);case 55:return r?F(F(t,n.left,!0),n.right,!0):cH([F(t,n.left,!1),F(t,n.right,!1)]);case 56:return r?cH([F(t,n.left,!0),F(t,n.right,!0)]):F(F(t,n.left,!1),n.right,!1)}return t}(t,n,r);case 221:if(53===n.operator)return F(t,n.operand,!r)}return t}}function mb(e){return m9(e.parent,e=>yF(e)&&!EC(e)||265===e.kind||308===e.kind||169===e.kind)}function mE(e){if(!e.valueDeclaration)return!1;let t=xZ(e.valueDeclaration).parent,n=rY(t);return 524288&n.flags||(n.flags|=524288,m9(t.parent,e=>(yF(e)||NJ(e))&&!!(524288&rY(e).flags))||function e(t){if(79===t.kind){if(T3(t)){let e=fT(t);kG(e)&&(e.isAssigned=!0)}}else Mr(t,e)}(t)),e.isAssigned||!1}function mT(e){return 3&e.flags&&(2&ys(e))!=0}function mx(e){return 2097152&e.flags?uv(e.types,mx):!!(465829888&e.flags&&1146880&sq(e).flags)}function mS(e){return 2097152&e.flags?uv(e.types,mS):!!(465829888&e.flags&&!bZ(sq(e),98304))}function mL(e,t,n){let r,i;return!(n&&2&n)&&f6(e,mx)&&(208===(r=t.parent).kind||163===r.kind||210===r.kind&&r.expression===t||209===r.kind&&r.expression===t&&!(f6(e,mS)&&dd(Ty(r.argumentExpression)))||(i=(wb(t)||Rh(t)||Ry(t))&&!((NP(t.parent)||NM(t.parent))&&t.parent.tagName===t)&&(n&&64&n?hd(t,8):hd(t,void 0)))&&!dl(i))?f9(e,sq):e}function mC(e){return!!m9(e,e=>{let t=e.parent;return void 0===t?"quit":NS(t)?t.expression===e&&AI(e):!!NC(t)&&(t.name===e||t.propertyName===e)})}function mk(e,t){if(!eO.verbatimModuleSyntax&&ik(e,111551)&&!fx(t)&&!iO(e,111551)){let n,r=iw(e);1160127&iR(r)&&(Cs(eO)||Cv(eO)&&mC(t)||!Lj(aa(r))?iP(e):(n=rX(e)).constEnumReferenced||(n.constEnumReferenced=!0))}}function mI(e){return m9(e,e=>!e||x0(e)?"quit":gh(e,!1))}function mw(e,t){if(rY(e).flags|=2,169===t.kind||173===t.kind){let e=t.parent;rY(e).flags|=4}else rY(t).flags|=4}function mN(e){return oV(oQ(i7(e)))===tG}function mD(e,t,n){let r=t.parent;xg(r)&&!mN(r)&&TW(e)&&e.flowNode&&!function e(t,n){for(;;){let r=t.flags;if(4096&r){if(!n){let n=fU(t),r=ra[n];return void 0!==r?r:ra[n]=e(t,!0)}n=!1}if(496&r)t=t.antecedent;else if(512&r){if(106===t.node.expression.kind)return!0;t=t.antecedent}else if(4&r)return dZ(t.antecedents,t=>e(t,!1));else if(8&r)t=t.antecedents[0];else{if(!(1024&r))return!!(1&r);let n=t.target,i=n.antecedents;n.antecedents=t.antecedents;let a=e(t.antecedent,!1);return n.antecedents=i,a}}}(e.flowNode,!1)&&rR(e,n)}function mM(e){var t;let n=fx(e),r=ET(e,!0,!0),i=!1,a=!1;for(173===r.kind&&mD(e,r,tA.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class);;){if(216===r.kind&&(r=ET(r,!1,!a),i=!0),164===r.kind){r=ET(r,!i,!1),a=!0;continue}break}if(wV(t=r)&&S7(t)&&eF&&t.initializer&&mF(t.initializer,e.pos)&&Ai(t.parent)&&rR(e,tA.Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class),a)rR(e,tA.this_cannot_be_referenced_in_a_computed_property_name);else switch(r.kind){case 264:rR(e,tA.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 263:rR(e,tA.this_cannot_be_referenced_in_current_location);break;case 173:mB(e,r)&&rR(e,tA.this_cannot_be_referenced_in_constructor_arguments)}!n&&i&&eM<2&&mw(e,r);let o=mG(e,!0,r);if(eW){let t=oC(e2);if(o===t&&i)rR(e,tA.The_containing_arrow_function_captures_the_global_value_of_this);else if(!o){let n=rR(e,tA.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation);if(!N0(r)){let e=mG(r);e&&e!==t&&kl(n,bC(r,tA.An_outer_value_of_this_is_shadowed_by_this_container))}}}return o||tE}function mG(e,t=!0,n=ET(e,!1,!1)){let r=EZ(e);if(yF(n)&&(!mW(e)||SB(n))){let t=lA(lb(n))||r&&function(e){let t=hK(e);if(t&&320===t.kind&&t.parameters.length>0&&t.parameters[0].name&&"this"===t.parameters[0].name.escapedText)return d8(t.parameters[0].type);let n=hB(e);if(n&&n.typeExpression)return d8(n.typeExpression)}(n);if(!t){let e=215===n.kind&&RR(n.parent)&&3===Tf(n.parent)?n.parent.left.expression.expression:171===n.kind&&207===n.parent.kind&&RR(n.parent.parent)&&6===Tf(n.parent.parent)?n.parent.parent.left.expression:215===n.kind&&299===n.parent.kind&&207===n.parent.parent.kind&&RR(n.parent.parent.parent)&&6===Tf(n.parent.parent.parent)?n.parent.parent.parent.left.expression:215===n.kind&&NX(n.parent)&&wb(n.parent.name)&&("value"===n.parent.name.escapedText||"get"===n.parent.name.escapedText||"set"===n.parent.name.escapedText)&&Rm(n.parent.parent)&&Rg(n.parent.parent.parent)&&n.parent.parent.parent.arguments[2]===n.parent.parent&&9===Tf(n.parent.parent.parent)?n.parent.parent.parent.arguments[0].expression:wH(n)&&wb(n.name)&&("value"===n.name.escapedText||"get"===n.name.escapedText||"set"===n.name.escapedText)&&Rm(n.parent)&&Rg(n.parent.parent)&&n.parent.parent.arguments[2]===n.parent&&9===Tf(n.parent.parent)?n.parent.parent.arguments[0].expression:void 0;if(r&&e){let n=TT(e).symbol;n&&n.members&&16&n.flags&&(t=oQ(n).thisType)}else vm(n)&&(t=oQ(i5(n.symbol)).thisType);t||(t=mj(n))}if(t)return mv(e,t)}if(yW(n.parent)){let t=i7(n.parent);return mv(e,S5(n)?oC(t):oQ(t).thisType)}if(N0(n)){if(n.commonJsModuleIndicator){let e=i7(n);return e&&oC(e)}if(n.externalModuleIndicator)return tR;if(t)return oC(e2)}}function mB(e,t){return!!m9(e,e=>yB(e)?"quit":166===e.kind&&e.parent===t)}function mU(e){var t;let n=210===e.parent.kind&&e.parent.expression===e,r=EL(e,!0),i=r,a=!1,o=!1;if(!n){for(;i&&216===i.kind;)S3(i,512)&&(o=!0),i=EL(i,!0),a=eM<2;i&&S3(i,512)&&(o=!0)}let s=0;if(!i||(t=i,n?173!==t.kind:!yW(t.parent)&&207!==t.parent.kind||(S5(t)?171!==t.kind&&170!==t.kind&&174!==t.kind&&175!==t.kind&&169!==t.kind&&172!==t.kind:171!==t.kind&&170!==t.kind&&174!==t.kind&&175!==t.kind&&169!==t.kind&&168!==t.kind&&173!==t.kind))){let t=m9(e,e=>e===i?"quit":164===e.kind);return t&&164===t.kind?rR(e,tA.super_cannot_be_referenced_in_a_computed_property_name):n?rR(e,tA.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors):i&&i.parent&&(yW(i.parent)||207===i.parent.kind)?rR(e,tA.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class):rR(e,tA.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions),tS}if(n||173!==r.kind||mD(e,i,tA.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class),S5(i)||n?(s=32,!n&&eM>=2&&eM<=8&&(wV(i)||wK(i))&&bb(e.parent,e=>{(!N0(e)||bU(e))&&(rY(e).flags|=8388608)})):s=16,rY(e).flags|=s,171===i.kind&&o&&(EI(e.parent)&&T3(e.parent)?rY(i).flags|=256:rY(i).flags|=128),a&&mw(e.parent,i),207===i.parent.kind)return eM<2?(rR(e,tA.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher),tS):tE;let l=i.parent;if(!xg(l))return rR(e,tA.super_can_only_be_referenced_in_a_derived_class),tS;let c=oQ(i7(l)),d=c&&oH(c)[0];return d?173===i.kind&&mB(e,i)?(rR(e,tA.super_cannot_be_referenced_in_constructor_arguments),tS):32===s?oV(c):ss(d,c.thisType):tS}function mV(e){return 4<(e)&&e.target===A?l0(e)[0]:void 0}function mj(e){if(216===e.kind)return;if(u$(e)){let t=hA(e);if(t){let e=t.thisParameter;if(e)return oC(e)}}let t=EZ(e);if(eW||t){let n=(171===e.kind||174===e.kind||175===e.kind)&&207===e.parent.kind?e.parent:215===e.kind&&299===e.parent.kind?e.parent.parent:void 0;if(n){let e=he(n,void 0),t=n,r=e;for(;r;){let e=f9(r,e=>2097152&e.flags?dz(e.types,mV):mV(e));if(e)return uO(e,p4(hv(n)));if(299!==t.parent.kind)break;r=he(t=t.parent.parent,void 0)}return pz(e?pN(e):Eg(n))}let r=xt(e.parent);if(223===r.kind&&63===r.operatorToken.kind){let e=r.left;if(Lw(e)){let{expression:n}=e;if(t&&wb(n)){let e=vS(r);if(e.commonJsModuleIndicator&&fT(n)===e.symbol)return}return pz(Eg(n))}}}}function mH(e){let t=e.parent;if(!u$(t))return;let n=EC(t);if(n&&n.arguments){let r=gH(n),i=t.parameters.indexOf(e);if(e.dotDotDotToken)return gM(r,i,r.length,tE,void 0,0);let a=rY(n),o=a.resolvedSignature;a.resolvedSignature=nS;let s=i=r?dh(oC(n.parameters[r]),dK(t-r),256):vK(n,t)}function mY(e,t=Tf(e)){if(4===t)return!0;if(!EZ(e)||5!==t||!wb(e.left.expression))return!1;let n=e.left.expression.escapedText,r=r0(e.left,n,111551,void 0,void 0,!0,!0);return ER(null==r?void 0:r.valueDeclaration)}function m$(e){if(!e.symbol)return Ty(e.left);if(e.symbol.valueDeclaration){let t=SW(e.symbol.valueDeclaration);if(t){let e=d8(t);if(e)return e}}let t=_T(e.left,Lw);if(!El(ET(t.expression,!1,!1)))return;let n=mM(t.expression),r=Tx(t);return void 0!==r&&mQ(n,r)||void 0}function mQ(e,t,n){return f9(e,e=>{var r;if(sO(e)&&!e.declaration.nameType){let r=sA(e),i=sz(r)||r,a=n||dH(hr(t));if(u3(a,i))return dm(e,a)}else if(3670016&e.flags){let i=le(e,t);if(i)return 262144&Lc(i)&&!i.links.type&&aJ(i,0)>=0?void 0:oC(i);if(pT(e)&&kV(t)&&+t>=0){let t=pL(e,e.target.fixedLength,0,!1,!0);if(t)return t}return null==(r=li(lo(e),n||dH(hr(t))))?void 0:r.type}},!0)}function m0(e,t){if(T.assert(El(e)),!(33554432&e.flags))return m1(e,t)}function m1(e,t){let n=e.parent,r=NX(e)&&mK(e,t);if(r)return r;let i=he(n,t);if(i){if(st(e)){let t=i7(e);return mQ(i,t.escapedName,rX(t).nameType)}if(e.name){let t=c0(e.name);return f9(i,e=>{var n;return null==(n=li(lo(e),t))?void 0:n.type},!0)}}}function m4(e,t){return e&&(t>=0&&mQ(e,""+t)||f9(e,e=>pT(e)?pL(e,0,0,!1,!0):SD(1,e,tR,void 0,!1),!0))}function m6(e,t){if(!NV(e))return hd(e.parent,t);{let n=he(e.parent,t);if(!n||aQ(n))return;return mQ(n,e.name.escapedText)}}function m5(e){switch(e.kind){case 10:case 8:case 9:case 14:case 110:case 95:case 104:case 79:case 155:return!0;case 208:case 214:return m5(e.expression);case 291:return!e.expression||m5(e.expression)}return!1}function he(e,t){let n=hs(El(e)?m0(e,t):hd(e,t),e,t);if(n&&!(t&&2&t&&8650752&n.flags)){let t,r,i,a=f9(n,s0,!0);return 1048576&a.flags&&Rm(e)?(i=(r=(t=fO(a))&&d0(e.properties,e=>e.symbol&&299===e.kind&&e.symbol.escapedName===t&&m5(e.initializer)))&&TE(r.initializer))&&fM(a,i)||_O(a,uE(un(d9(e.properties,e=>!!e.symbol&&299===e.kind&&m5(e.initializer)&&fN(a,e.symbol.escapedName)),e=>[()=>TE(e.initializer),e.symbol.escapedName]),un(d9(sB(a),t=>{var n;return!!(16777216&t.flags)&&!!(null==(n=null==e?void 0:e.symbol)?void 0:n.members)&&!e.symbol.members.has(t.escapedName)&&fN(a,t.escapedName)}),e=>[()=>tR,e.escapedName])),u3,a):1048576&a.flags&&Nj(e)?_O(a,uE(un(d9(e.properties,e=>!!e.symbol&&288===e.kind&&fN(a,e.symbol.escapedName)&&(!e.initializer||m5(e.initializer))),e=>[e.initializer?()=>TE(e.initializer):()=>tK,e.symbol.escapedName]),un(d9(sB(a),t=>{var n;return!!(16777216&t.flags)&&!!(null==(n=null==e?void 0:e.symbol)?void 0:n.members)&&!e.symbol.members.has(t.escapedName)&&fN(a,t.escapedName)}),e=>[()=>tR,e.escapedName])),u3,a):a}}function hs(e,t,n){if(e&&bZ(e,465829888)){let r=hv(t);if(r&&1&n&&uv(r.inferences,Tt))return hl(e,r.nonFixingMapper);if(null==r?void 0:r.returnMapper){let t=hl(e,r.returnMapper);return 1048576&t.flags&&cU(t.types,tH)&&cU(t.types,tX)?f5(t,e=>e!==tH&&e!==tX):t}}return e}function hl(e,t){return 465829888&e.flags?uO(e,t):1048576&e.flags?cH(un(e.types,e=>hl(e,t)),0):2097152&e.flags?cJ(un(e.types,e=>hl(e,t))):e}function hd(e,t){var n,r;if(33554432&e.flags)return;let i=hy(e,!t);if(i>=0)return nz[i];let{parent:a}=e;switch(a.kind){case 257:case 166:case 169:case 168:case 205:return function(e,t){let n=e.parent;if(gZ(n)&&e===n.initializer){let e=mK(n,t);if(e)return e;if(!(8&t)&&y2(n.name)&&n.name.elements.length>0)return o_(n.name,!0,!1)}}(e,t);case 216:case 250:return function(e,t){let n=Ey(e);if(n){let e=mq(n,t);if(e){let t=xN(n);if(1&t){let n=(2&t)!=0;1048576&e.flags&&(e=f5(e,e=>!!A_(1,e,n)));let r=A_(1,e,(2&t)!=0);if(!r)return;e=r}if(2&t){let t=f9(e,xw);return t&&cH([t,bo(t)])}return e}}}(e,t);case 226:return function(e,t){let n=Ey(e);if(n){let r=xN(n),i=mq(n,t);if(i){let t=(2&r)!=0;return!e.asteriskToken&&1048576&i.flags&&(i=f5(i,e=>!!A_(1,e,t))),e.asteriskToken?i:A_(0,i,t)}}}(a,t);case 220:return function(e,t){let n=hd(e,t);if(n){let e=xw(n);return e&&cH([e,bo(e)])}}(a,t);case 210:case 211:return mJ(a,e);case 167:let o;return(o=be(a))?lP(o):void 0;case 213:case 231:return yt(a.type)?hd(a,t):d8(a.type);case 223:return function(e,t){let n=e.parent,{left:r,operatorToken:i,right:a}=n;switch(i.kind){case 63:case 76:case 75:case 77:return e===a?function(e){var t,n;let r=Tf(e);switch(r){case 0:case 4:let i=function(e){if(gw(e)&&e.symbol)return e.symbol;if(wb(e))return fT(e);if(Rh(e)){var t;let n,r=Ty(e.expression);return wE(e.name)?(n=yR((t=e.name).escapedText,t))&&yP(r,n):le(r,e.name.escapedText)}if(Ry(e)){let t=Eg(e.argumentExpression);if(!o5(t))return;return le(Ty(e.expression),sn(t))}}(e.left),a=i&&i.valueDeclaration;if(a&&(wV(a)||wU(a))){let t=SW(a);return t&&uO(d8(t),rX(i).mapper)||(wV(a)?a.initializer&&Ty(e.left):void 0)}if(0===r)return Ty(e.left);return m$(e);case 5:if(mY(e,r))return m$(e);if(!gw(e.left)||!e.left.symbol)return Ty(e.left);{let t=e.left.symbol.valueDeclaration;if(!t)return;let n=_T(e.left,Lw),r=SW(t);if(r)return d8(r);if(wb(n.expression)){let e=n.expression,t=r0(e,e.escapedText,111551,void 0,e.escapedText,!0);if(t){let e=t.valueDeclaration&&SW(t.valueDeclaration);if(e){let t=Tx(n);if(void 0!==t)return mQ(d8(e),t)}return}}return EZ(t)?void 0:Ty(e.left)}case 1:case 6:case 3:case 2:let o;2!==r&&(o=gw(e.left)?null==(t=e.left.symbol)?void 0:t.valueDeclaration:void 0),o||(o=null==(n=e.symbol)?void 0:n.valueDeclaration);let s=o&&SW(o);return s?d8(s):void 0;case 7:case 8:case 9:return T.fail("Does not apply");default:return T.assertNever(r)}}(n):void 0;case 56:case 60:let o=hd(n,t);return e===a&&(o&&o.pattern||!o&&!Ts(n))?Ty(r):o;case 55:case 27:return e===a?hd(n,t):void 0;default:return}}(e,t);case 299:case 300:return m1(a,t);case 301:return hd(a.parent,t);case 206:{let i=he(a,t),o=null!=(r=(n=rY(a)).firstSpreadIndex)?r:n.firstSpreadIndex=d2(a.elements,RM),s=vZ(a.elements,e);return m4(i,o<0||s_9(e)?dh(e,dK(o)):e,!0))}(l,a,t):void 0;case 288:case 290:return m6(a,t);case 283:case 282:return function(e,t){if(NP(e)&&4!==t){let n=hy(e.parent,!t);if(n>=0)return nz[n]}return mX(e,0)}(a,t)}}function h_(e){hf(e,hd(e,void 0),!0)}function hf(e,t,n){nW[nJ]=e,nz[nJ]=t,nq[nJ]=n,nJ++}function hy(e,t){for(let n=nJ-1;n>=0;n--)if(e===nW[n]&&(t||!nq[n]))return n;return -1}function hv(e){for(let t=n$-1;t>=0;t--)if(xo(e,nX[t]))return nY[t]}function hb(e,t){let n,r;return 0!==gG(t)?(n=v1(e,tI),n=hE(t,hJ(t),n),aZ(r=hj(iL.IntrinsicAttributes,t))||(n=sy(r,n)),n):function(e,t){let n=hJ(t),r=hX(iL.ElementAttributesPropertyNameContainer,n),i=void 0===r?v1(e,tI):""===r?lk(e):function(e,t){if(e.compositeSignatures){let n=[];for(let r of e.compositeSignatures){let e=lk(r);if(aQ(e))return e;let i=a$(e,t);if(!i)return;n.push(i)}return cJ(n)}let n=lk(e);return aQ(n)?n:a$(n,t)}(e,r);if(!i)return r&&dW(t.attributes.properties)&&rR(t,tA.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property,hr(r)),tI;if(aQ(i=hE(t,n,i)))return i;{let n=i,r=hj(iL.IntrinsicClassAttributes,t);if(!aZ(r)){let i;let a=oM(r.symbol),o=lk(e);if(a){let e=lv([o],a,lg(a),EZ(t));i=uO(r,us(a,e))}else i=r;n=sy(i,n)}let a=hj(iL.IntrinsicAttributes,t);return aZ(a)||(n=sy(a,n)),n}}(e,t)}function hE(e,t,n){let r=t&&rQ(t.exports,iL.LibraryManagedAttributes,788968);if(r){let t=oQ(r),i=function(e){if(hM(e.tagName)){let t=h4(e);return lP(v_(e,t))}let t=Eg(e.tagName);if(128&t.flags){let n=h1(t,e);return n?lP(v_(e,n)):tS}return t}(e);if(524288&r.flags){let t=rX(r).typeParameters;if(dW(t)>=2)return l4(r,lv([i,n],t,2,EZ(e)))}if(dW(t.typeParameters)>=2){let r=lv([i,n],t.typeParameters,2,EZ(e));return l$(t,r)}}return n}function hT(e,t){let n=d9(ln(e,0),e=>!function(e,t){let n=0;for(;n{let n,r,i,a,o;return e!==t&&e?sm(e.typeParameters,t.typeParameters)?(r=e.typeParameters||t.typeParameters,e.typeParameters&&t.typeParameters&&(n=us(t.typeParameters,e.typeParameters)),i=e.declaration,a=function(e,t,n){let r=vq(e),i=vq(t),a=r>=i?e:t,o=a===e?t:e,s=a===e?r:i,l=vX(e)||vX(t),c=l&&!vX(a),d=Array(s+(c?1:0));for(let u=0;u=vJ(a)&&u>=vJ(o),y=u>=r?void 0:vV(e,u),g=u>=i?void 0:vV(t,u),v=rG(1|(h&&!m?16777216:0),(y===g?y:y?g?void 0:y:g)||`arg${u}`);v.links.type=m?ck(f):f,d[u]=v}if(c){let e=rG(1,"args");e.links.type=ck(vK(o,s)),o===t&&(e.links.type=uO(e.links.type,n)),d[s]=e}return d}(e,t,n),(o=sc(i,r,function(e,t,n){if(!e||!t)return e||t;let r=cH([oC(e),uO(oC(t),n)]);return pH(e,r)}(e.thisParameter,t.thisParameter,n),a,void 0,void 0,Math.max(e.minArgumentCount,t.minArgumentCount),(e.flags|t.flags)&39)).compositeKind=2097152,o.compositeSignatures=uE(2097152===e.compositeKind&&e.compositeSignatures||[e],[t]),n&&(o.mapper=2097152===e.compositeKind&&e.mapper&&e.compositeSignatures?uh(e.mapper,n):n),o):void 0:e}):void 0}function hS(e){return kB(e)||El(e)?hA(e):void 0}function hA(e){let t;T.assert(171!==e.kind||El(e));let n=lE(e);if(n)return n;let r=he(e,1);if(r){if(!(1048576&r.flags))return hT(r,e);for(let n of r.types){let r=hT(n,e);if(r){if(t){if(!_0(t[0],r,!1,!0,!0,u1))return;t.push(r)}else t=[r]}}if(t)return 1===t.length?t[0]:su(t[0],t)}}function hC(e){return 205===e.kind&&!!e.initializer||223===e.kind&&63===e.operatorToken.kind}function hk(e,t,n){let r=e.elements,i=r.length,a=[],o=[];h_(e);let s=T3(e),l=EV(e),c=he(e,void 0),d=!!c&&f6(c,pc),u=!1;for(let l=0;l8&o[t]?dg(e,tU)||tE:e),2):eU?t1:tN,l))}function hI(e){if(!(4<(e)))return e;let t=e.literalType;return t||(t=e.literalType=lQ(e),t.objectFlags|=147456),t}function hw(e){let t=rY(e.expression);if(!t.resolvedType){if((w2(e.parent.parent)||yW(e.parent.parent)||Ns(e.parent.parent))&&RR(e.expression)&&101===e.expression.operatorToken.kind&&174!==e.parent.kind&&175!==e.parent.kind)return t.resolvedType=tS;if(t.resolvedType=TT(e.expression),wV(e.parent)&&!S7(e.parent)&&RP(e.parent.parent)){let t=mI(bv(e.parent.parent));t&&(rY(t).flags|=4096,rY(e).flags|=32768,rY(e.parent.parent).flags|=32768)}!(98304&t.resolvedType.flags)&&(b0(t.resolvedType,402665900)||u3(t.resolvedType,t6))||rR(e,tA.A_computed_property_name_must_be_of_type_string_number_symbol_or_any)}return t.resolvedType}function hR(e){var t;let n=null==(t=e.declarations)?void 0:t[0];return xK(e)||n&&hu(n)&&wP(n.name)&&b0(hw(n.name),4096)}function hN(e,t,n,r){let i=[];for(let e=t;e1&&n.declarations&&rR(n.declarations[0],tA.The_global_type_JSX_0_may_not_have_more_than_one_property,hr(e))}}function h$(e){return hX(iL.ElementChildrenAttributeNameContainer,e)}function h1(e,t){let n=hj(iL.IntrinsicElements,t);if(!aZ(n)){let t=le(n,hn(e.value));return t?oC(t):lc(n,tB)||void 0}return tE}function h4(e){T.assert(hM(e.tagName));let t=rY(e);if(!t.resolvedJsxElementAttributesType){let n=hW(e);return 1&t.jsxFlags?t.resolvedJsxElementAttributesType=oC(n)||tS:2&t.jsxFlags?t.resolvedJsxElementAttributesType=lc(hj(iL.IntrinsicElements,e),tB)||tS:t.resolvedJsxElementAttributesType=tS}return t.resolvedJsxElementAttributesType}function h8(e){let t=hj(iL.ElementClass,e);if(!aZ(t))return t}function yn(e){return hj(iL.Element,e)}function yr(e){let t=yn(e);if(t)return cH([t,tP])}function yi(e){let t=gK(e);if(t&&function(e){(function(e){if(Rh(e)){let n=e;do{let e=t(n.name);if(e)return e;n=n.expression}while(Rh(n))if(t(n))return}function t(e){if(wb(e)&&-1!==hi(e).indexOf(":"))return Cz(e,tA.JSX_property_access_expressions_cannot_include_JSX_namespace_names)}})(e.tagName),CC(e,e.typeArguments);let t=new Map;for(let n of e.attributes.properties){if(290===n.kind)continue;let{name:e,initializer:r}=n;if(t.get(e.escapedText))return Cz(e,tA.JSX_elements_cannot_have_multiple_attributes_with_the_same_name);if(t.set(e.escapedText,!0),r&&291===r.kind&&!r.expression)return Cz(r,tA.JSX_attributes_must_only_be_assigned_a_non_empty_expression)}}(e),0===(eO.jsx||0)&&rR(e,tA.Cannot_use_JSX_unless_the_jsx_flag_is_provided),void 0===yn(e)&&eK&&rR(e,tA.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist),!hz(e)){let n;let r=r_&&2===eO.jsx?tA.Cannot_find_name_0:void 0,i=rL(e),a=t?e.tagName:e;if(NB(e)&&"null"===i||(n=r0(a,i,111551,r,i,!0)),n&&(n.isReferenced=67108863,eO.verbatimModuleSyntax||!(2097152&n.flags)||iO(n)||iP(n)),NB(e)){let t=rC(vS(e));t&&r0(a,t,111551,r,t,!0)}}if(t){let t=vf(e);vg(t,e),function(e,t,n){if(1===e){let e=yr(n);e&&_I(t,e,ry,n.tagName,tA.Its_return_type_0_is_not_a_valid_JSX_element,r)}else if(0===e){let e=h8(n);e&&_I(t,e,ry,n.tagName,tA.Its_instance_type_0_is_not_a_valid_JSX_element,r)}else{let e=yr(n),i=h8(n);if(!e||!i)return;_I(t,cH([e,i]),ry,n.tagName,tA.Its_element_type_0_is_not_a_valid_JSX_element,r)}function r(){let e=v$(n.tagName);return L2(void 0,tA._0_cannot_be_used_as_a_JSX_component,e)}}(gG(e),lk(t),e)}}function ya(e,t,n){if(524288&e.flags){if(sF(e,t)||l_(e,t)||o9(t)&&ll(e,tB)||n&&_2(t,"-"))return!0}else if(3145728&e.flags&&yo(e)){for(let r of e.types)if(ya(r,t,n))return!0}return!1}function yo(e){return!!(524288&e.flags&&!(512<(e))||67108864&e.flags||1048576&e.flags&&uv(e.types,yo)||2097152&e.flags&&dZ(e.types,yo))}function ys(e){return e.valueDeclaration?m3(e.valueDeclaration):0}function yc(e){if(8192&e.flags||4&Lc(e))return!0;if(EZ(e.valueDeclaration)){let t=e.valueDeclaration.parent;return t&&RR(t)&&3===Tf(t)}}function yd(e,t,n,r,i,a=!0){let o=a?163===e.kind?e.right:202===e.kind?e:205===e.kind&&e.propertyName?e.propertyName:e.name:void 0;return yu(e,t,n,r,i,o)}function yu(e,t,n,r,i,a){let o=Ld(i,n);if(t){if(eM<2&&y_(i))return a&&rR(a,tA.Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword),!1;if(256&o)return a&&rR(a,tA.Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression,aR(i),aD(_z(i))),!1}if(256&o&&y_(i)&&(Ew(e)||EN(e)||Ru(e.parent)&&ER(e.parent.parent))){let t=LE(ae(i));if(t&&m9(e,e=>!!(wW(e)&&vD(e.body)||wV(e))||!!(yW(e)||yB(e))&&"quit"))return a&&rR(a,tA.Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor,aR(i),xU(t.name)),!1}if(!(24&o))return!0;if(8&o)return!!Lm(e,LE(ae(i)))||(a&&rR(a,tA.Property_0_is_private_and_only_accessible_within_class_1,aR(i),aD(_z(i))),!1);if(t)return!0;let s=Lu(e,e=>_J(oQ(i7(e)),i,n));return s||(s=(s=function(e){let t;let n=(t=ET(e,!1,!1))&&yF(t)?SB(t):void 0,r=(null==n?void 0:n.type)&&d8(n.type);if(r&&262144&r.flags&&(r=sV(r)),r&&7<(r))return ow(r)}(e))&&_J(s,i,n),!(32&o)&&s)?!!(32&o)||(262144&r.flags&&(r=r.isThisType?sV(r):sz(r)),!!(r&&oR(r,s))||(a&&rR(a,tA.Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2,aR(i),aD(s),aD(r)),!1)):(a&&rR(a,tA.Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses,aR(i),aD(_z(i)||r)),!1)}function y_(e){return!!_W(e,e=>!(8192&e.flags))}function yp(e){return yT(TT(e),e)}function yf(e){return!!(50331648&fj(e))}function yy(e){return yf(e)?pN(e):e}function yg(e,t){let n=AI(e)?bL(e):void 0;if(104===e.kind){rR(e,tA.The_value_0_cannot_be_used_here,"null");return}if(void 0!==n&&n.length<100){if(wb(e)&&"undefined"===n){rR(e,tA.The_value_0_cannot_be_used_here,"undefined");return}rR(e,16777216&t?33554432&t?tA._0_is_possibly_null_or_undefined:tA._0_is_possibly_undefined:tA._0_is_possibly_null,n)}else rR(e,16777216&t?33554432&t?tA.Object_is_possibly_null_or_undefined:tA.Object_is_possibly_undefined:tA.Object_is_possibly_null)}function yv(e,t){rR(e,16777216&t?33554432&t?tA.Cannot_invoke_an_object_which_is_possibly_null_or_undefined:tA.Cannot_invoke_an_object_which_is_possibly_undefined:tA.Cannot_invoke_an_object_which_is_possibly_null)}function yE(e,t,n){if(eU&&2&e.flags){if(AI(t)){let e=bL(t);if(e.length<100)return rR(t,tA._0_is_of_type_unknown,e),tS}return rR(t,tA.Object_is_of_type_unknown),tS}let r=fj(e);if(50331648&r){n(t,r);let i=pN(e);return 229376&i.flags?tS:i}return e}function yT(e,t){return yE(e,t,yg)}function yS(e,t){let n=yT(e,t);if(16384&n.flags){if(AI(t)){let e=bL(t);if(wb(t)&&"undefined"===e)return rR(t,tA.The_value_0_cannot_be_used_here,e),n;if(e.length<100)return rR(t,tA._0_is_possibly_undefined,e),n}rR(t,tA.Object_is_possibly_undefined)}return n}function yA(e,t){let n,r;return 32&e.flags?(r=pG(n=TT(e.expression),e.expression),pF(yj(e,e.expression,yT(r,e.expression),e.name,t),e,r!==n)):yj(e,e.expression,yp(e.expression),e.name,t)}function yC(e,t){let n=EW(e)&&SV(e.left)?yT(mM(e.left),e.left):yp(e.left);return yj(e,e.left,n,e.right,t)}function yw(e){for(;214===e.parent.kind;)e=e.parent;return ga(e.parent)&&e.parent.expression===e}function yR(e,t){for(let n=Ev(t);n;n=Ev(n)){let{symbol:t}=n,r=xH(t,e),i=t.members&&t.members.get(r)||t.exports&&t.exports.get(r);if(i)return i}}function yN(e){if(!EH(e))return;let t=rY(e);return void 0===t.resolvedSymbol&&(t.resolvedSymbol=yR(e.escapedText,e)),t.resolvedSymbol}function yP(e,t){return le(e,t.escapedName)}function yV(e,t){return(on(t)||Ew(e)&&or(t))&&ET(e,!0,!1)===oi(t)}function yj(e,t,n,r,i){let a,o;let s=rY(t).resolvedSymbol,l=T6(e),c=s0(0!==l||yw(e)?pz(n):n),d=aQ(c)||c===t0;if(wE(r)){eM<99&&(0!==l&&Ch(e,1048576),1!==l&&Ch(e,524288));let t=yR(r.escapedText,r);if(l&&t&&t.valueDeclaration&&wH(t.valueDeclaration)&&Cz(r,tA.Cannot_assign_to_private_method_0_Private_methods_are_not_writable,hi(r)),d){if(t)return aZ(c)?tS:c;if(!Ev(r))return Cz(r,tA.Private_identifiers_are_not_allowed_outside_class_bodies),tE}if(!(a=t?yP(n,t):void 0)&&function(e,t,n){let r;let i=sB(e);i&&dz(i,e=>{let n=e.valueDeclaration;if(n&&hu(n)&&wE(n.name)&&n.name.escapedText===t.escapedText)return r=e,!0});let a=r4(t);if(r){let i=T.checkDefined(r.valueDeclaration),o=T.checkDefined(Ev(i));if(null==n?void 0:n.valueDeclaration){let r=n.valueDeclaration,s=Ev(r);if(T.assert(!!s),m9(s,e=>o===e))return kl(rR(t,tA.The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling,a,aD(e)),bC(r,tA.The_shadowing_declaration_of_0_is_defined_here,a),bC(i,tA.The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here,a)),!0}return rR(t,tA.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier,a,r4(o.name||ip)),!0}return!1}(n,r,t))return tS;a&&65536&a.flags&&!(32768&a.flags)&&1!==l&&rR(e,tA.Private_accessor_was_defined_without_a_getter)}else{if(d)return wb(t)&&s&&mk(s,e),aZ(c)?tS:c;a=le(c,r.escapedText,!1,163===e.kind)}if(wb(t)&&s&&(Cs(eO)||!(a&&(Lj(a)||8&a.flags&&302===e.parent.kind))||Cv(eO)&&mC(e))&&mk(s,e),a){rP(a)&&dn(e,a)&&a.declarations&&rF(r,a.declarations,r.escapedText),function(e,t,n){let r;let{valueDeclaration:i}=e;if(!i||vS(t).isDeclarationFile)return;let a=hi(n);!yY(t)||wV(i)&&!An(i)&&i.questionToken||Lw(t)&&Lw(t.expression)||rZ(i,n)||wH(i)&&32&m8(i)||!eO.useDefineForClassFields&&function(e){if(!(32&e.parent.flags))return!1;let t=oC(e.parent);for(;;){if(!(t=t.symbol&&function(e){let t=oH(e);if(0!==t.length)return cJ(t)}(t)))return!1;let n=le(t,e.escapedName);if(n&&n.valueDeclaration)return!0}}(e)?260!==i.kind||180===t.parent.kind||16777216&i.flags||rZ(i,n)||(r=rR(n,tA.Class_0_used_before_its_declaration,a)):r=rR(n,tA.Property_0_is_used_before_its_initialization,a),r&&kl(r,bC(i,tA._0_is_declared_here,a))}(a,e,r),ge(a,e,gt(t,s)),rY(e).resolvedSymbol=a;let n=Lf(e);if(yd(e,106===t.kind,n,c,a),bJ(e,a,l))return rR(r,tA.Cannot_assign_to_0_because_it_is_a_read_only_property,hi(r)),tS;o=yV(e,a)?tT:n?oL(a):oC(a)}else{let t=!wE(r)&&(0===l||!dc(n)||kH(n))?l_(c,r.escapedText):void 0;if(!(t&&t.type)){let t=yJ(e,n.symbol,!0);return!t&&de(n)?tE:n.symbol===e2?(e2.exports.has(r.escapedText)&&418&e2.exports.get(r.escapedText).flags?rR(r,tA.Property_0_does_not_exist_on_type_1,hr(r.escapedText),aD(n)):eK&&rR(r,tA.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature,aD(n)),tE):(r.escapedText&&!r8(e)&&y$(r,kH(n)?c:n,t),tS)}t.isReadonly&&(T3(e)||xa(e))&&rR(e,tA.Index_signature_in_type_0_only_permits_reading,aD(c)),o=eO.noUncheckedIndexedAccess&&!T3(e)?cH([t.type,tD]):t.type,eO.noPropertyAccessFromIndexSignature&&Rh(e)&&rR(r,tA.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0,hr(r.escapedText)),t.declaration&&268435456&m3(t.declaration)&&rF(r,[t.declaration],r.escapedText)}return yX(e,a,o,r,i)}function yJ(e,t,n){let r=vS(e);if(r&&void 0===eO.checkJs&&void 0===r.checkJsDirective&&(1===r.scriptKind||2===r.scriptKind)){let i=dz(null==t?void 0:t.declarations,vS);return!(r!==i&&i&&r$(i))&&!(n&&t&&32&t.flags)&&!(e&&n&&Rh(e)&&108===e.expression.kind)}return!1}function yX(e,t,n,r,i){let a=T6(e);if(1===a)return pB(n,!!(t&&16777216&t.flags));if(t&&!(98311&t.flags)&&!(8192&t.flags&&1048576&n.flags)&&!A5(t.declarations))return n;if(n===tT)return oo(e,t);n=mL(n,e,i);let o=!1;if(eU&&eH&&Lw(e)&&108===e.expression.kind){let n=t&&t.valueDeclaration;if(n&&Aq(n)&&!S5(n)){let t=mb(e);173!==t.kind||t.parent!==n.parent||16777216&n.flags||(o=!0)}}else eU&&t&&t.valueDeclaration&&Rh(t.valueDeclaration)&&TS(t.valueDeclaration)&&mb(e)===mb(t.valueDeclaration)&&(o=!0);let s=mv(e,n,o?pR(n):n);return o&&!_x(n)&&_x(s)?(rR(r,tA.Property_0_is_used_before_being_assigned,aR(t)),n):a?py(s):s}function yY(e){return!!m9(e,e=>{switch(e.kind){case 169:return!0;case 299:case 171:case 174:case 175:case 301:case 164:case 236:case 291:case 288:case 289:case 290:case 283:case 230:case 294:return!1;case 216:case 241:return!!(RJ(e.parent)&&wK(e.parent.parent))||"quit";default:return!EH(e)&&"quit"}})}function y$(e,t,n){let r,i;if(!wE(e)&&1048576&t.flags&&!(134348796&t.flags)){for(let n of t.types)if(!le(n,e.escapedText)&&!l_(n,e.escapedText)){r=L2(r,tA.Property_0_does_not_exist_on_type_1,bE(e),aD(n));break}}if(yQ(e.escapedText,t)){let n=bE(e),i=aD(t);r=L2(r,tA.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,n,i,i+"."+n)}else{let o=xb(t);if(o&&le(o,e.escapedText))r=L2(r,tA.Property_0_does_not_exist_on_type_1,bE(e),aD(t)),i=bC(e,tA.Did_you_forget_to_use_await);else{let o=bE(e),s=aD(t),l=function(e,t){let n=s0(t).symbol;if(!n)return;let r=ho(n),i=v2().get(r);if(i){for(let[t,n]of i)if(d6(n,e))return t}}(o,t);if(void 0!==l)r=L2(r,tA.Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2_or_later,o,s,l);else{let l=y8(e,t);if(void 0!==l){let e=ho(l);r=L2(r,n?tA.Property_0_may_not_exist_on_type_1_Did_you_mean_2:tA.Property_0_does_not_exist_on_type_1_Did_you_mean_2,o,s,e),i=l.valueDeclaration&&bC(l.valueDeclaration,tA._0_is_declared_here,e)}else{var a;let e=eO.lib&&!eO.lib.includes("dom")&&(a=e=>e.symbol&&/^(EventTarget|Node|((HTML[a-zA-Z]*)?Element))$/.test(hr(e.symbol.escapedName)),3145728&t.flags?dZ(t.types,a):a(t))&&_g(t)?tA.Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom:tA.Property_0_does_not_exist_on_type_1;r=L2(s9(r,t),e,o,s)}}}}let o=bw(vS(e),e,r);i&&kl(o,i),rN(!n||r.code!==tA.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code,o)}function yQ(e,t){let n=t.symbol&&le(oC(t.symbol),e);return void 0!==n&&!!n.valueDeclaration&&S5(n.valueDeclaration)}function y1(e,t){return y9(e,sB(t),106500)}function y8(e,t){let n=sB(t);if("string"!=typeof e){let r=e.parent;Rh(r)&&(n=d9(n,e=>gr(r,t,e))),e=hi(e)}return y9(e,n,111551)}function y6(e,t){let n=_v(e)?e:hi(e),r=sB(t),i="for"===n?d0(r,e=>"htmlFor"===ho(e)):"class"===n?d0(r,e=>"className"===ho(e)):void 0;return null!=i?i:y9(n,r,111551)}function y3(e,t){let n=y8(e,t);return n&&ho(n)}function y5(e,t,n){return T.assert(void 0!==t,"outername should always be defined"),r1(e,t,n,void 0,t,!1,!1,!0,(e,n,r)=>{let i;return T.assertEqual(t,n,"name should equal outerName"),rQ(e,n,r)||(i=e===e0?uu(["string","number","boolean","object","bigint","symbol"],t=>e.has(t.charAt(0).toUpperCase()+t.slice(1))?rG(524288,t):void 0).concat(u9(e.values())):u9(e.values()),y9(hr(n),i,r))})}function y7(e,t){return t.exports&&y9(hi(e),i0(t),2623475)}function y9(e,t,n){return _Q(e,t,function(e){let t=ho(e);if(!pn(t,'"')){if(e.flags&n)return t;if(2097152&e.flags){let r=function(e){if(rX(e).aliasTarget!==tg)return iw(e)}(e);if(r&&r.flags&n)return t}}})}function ge(e,t,n){let r=e&&106500&e.flags&&e.valueDeclaration;if(!r)return;let i=S6(r,8),a=e.valueDeclaration&&hu(e.valueDeclaration)&&wE(e.valueDeclaration.name);if(!(!i&&!a||t&&Lp(t)&&!(65536&e.flags))){if(n){let n=m9(t,yB);if(n&&n.symbol===e)return}(1&Lc(e)?rX(e).target:e).isReferenced=67108863}}function gt(e,t){return 108===e.kind||!!t&&AI(e)&&t===fT(Aw(e))}function gr(e,t,n){return gl(e,208===e.kind&&106===e.expression.kind,!1,t,n)}function go(e,t,n,r){if(aQ(r))return!0;let i=le(r,n);return!!i&&gl(e,t,!1,r,i)}function gl(e,t,n,r,i){if(aQ(r))return!0;if(i.valueDeclaration&&yk(i.valueDeclaration)){let t=Ev(i.valueDeclaration);return!h3(e)&&!!m9(e,e=>e===t)}return yu(e,t,n,r,i)}function gc(e,t,n){let r=0!==T6(e)||yw(e)?pz(t):t,i=e.argumentExpression,a=TT(i);if(aZ(r)||r===t0)return r;if(b2(r)&&!g8(i))return rR(i,tA.A_const_enum_member_can_only_be_accessed_using_a_string_literal),tS;let o=!function(e){let t=xi(e);if(79===t.kind){let r=fT(t);if(3&r.flags){let t=e,i=e.parent;for(;i;){var n;if(246===i.kind&&t===i.statement&&function(e){let t=e.initializer;if(258===t.kind){let e=t.declarations[0];if(e&&!y2(e.name))return i7(e)}else if(79===t.kind)return fT(t)}(i)===r&&1===ls(n=Ty(i.expression)).length&&ll(n,tU))return!0;t=i,i=i.parent}}}return!1}(i)?a:tU,s=T3(e)?4|(dc(r)&&!kH(r)?2:0):32,l=dg(r,o,s,e)||tS;return T5(yX(e,rY(e).resolvedSymbol,l,i,n),e)}function gd(e){return ga(e)||Rb(e)||gK(e)}function gu(e){return gd(e)&&dz(e.typeArguments,A7),212===e.kind?TT(e.template):gK(e)?TT(e.attributes):167!==e.kind&&dz(e.arguments,e=>{TT(e)}),nS}function g_(e){return gu(e),nA}function gm(e){return!!e&&(227===e.kind||234===e.kind&&e.isSpread)}function gy(e){return!!(16384&e.flags)}function gT(e){return!!(49155&e.flags)}function gx(e,t,n,r=!1){let i;let a=!1,o=vq(n),s=vJ(n);if(212===e.kind){if(i=t.length,225===e.template.kind){let t=uX(e.template.templateSpans);a=vN(t.literal)||!!t.literal.isUnterminated}else{let t=e.template;T.assert(14===t.kind),a=!!t.isUnterminated}}else if(167===e.kind)i=gW(e,n);else if(gK(e)){if(a=e.attributes.end===e.end)return!0;i=0===s?t.length:1,o=0===t.length?o:1,s=Math.min(s,1)}else{if(!e.arguments)return T.assert(211===e.kind),0===vJ(n);i=r?t.length+1:t.length,a=e.arguments.end===e.end;let o=d2(t,gm);if(o>=0)return o>=vJ(n)&&(vX(n)||oo)return!1;if(a||i>=s)return!0;for(let t=i;t=r&&t.length<=n}function gA(e){return gC(e,0,!1)}function gL(e){return gC(e,0,!1)||gC(e,1,!1)}function gC(e,t,n){if(524288&e.flags){let r=sM(e);if(n||0===r.properties.length&&0===r.indexInfos.length){if(0===t&&1===r.callSignatures.length&&0===r.constructSignatures.length)return r.callSignatures[0];if(1===t&&1===r.constructSignatures.length&&0===r.callSignatures.length)return r.constructSignatures[0]}}}function gk(e,t,n,r){let i=p$(e.typeParameters,e,0,r),a=vY(t),o=n&&(a&&262144&a.flags?n.nonFixingMapper:n.mapper);return pX(o?uT(t,o):t,e,(e,t)=>{fp(i.inferences,e,t)}),n||pY(t,e,(e,t)=>{fp(i.inferences,e,t,128)}),lN(e,fb(i),EZ(t.declaration))}function gN(e){if(!e)return tQ;let t=TT(e);return h5(e.parent)?pN(t):h3(e.parent)?pO(t):t}function gD(e,t,n,r,i){if(gK(e)){let n,a;return n=hb(t,e),a=Eh(e.attributes,n,i,r),fp(i.inferences,a,n),fb(i)}if(167!==e.kind){let n=dZ(t.typeParameters,e=>!!s$(e)),r=hd(e,n?8:0);if(r){let a=lk(t);if(p8(a)){let o,s=hv(e);if(!(!n&&hd(e,8)!==r)){let e=uO(r,p4(function(e,t=0){return e&&pQ(un(e.inferences,p2),e.signature,e.flags|t,e.compareTypes)}(s,1))),t=gA(e),n=t&&t.typeParameters?lP(lD(t,t.typeParameters)):e;fp(i.inferences,n,a,128)}let l=p$(t.typeParameters,t,i.flags),c=uO(r,s&&s.returnMapper);fp(l.inferences,c,a),i.returnMapper=uv(l.inferences,E9)?p4((o=d9(l.inferences,E9)).length?pQ(un(o,p2),l.signature,l.flags,l.compareTypes):void 0):void 0}}}let a=vQ(t),o=a?Math.min(vq(t)-1,n.length):n.length;if(a&&262144&a.flags){let e=d0(i.inferences,e=>e.typeParameter===a);e&&(e.impliedArity=0>d2(n,gm,o)?n.length-o:void 0)}let s=lA(t);if(s&&p8(s)){let t=gU(e);fp(i.inferences,gN(t),s)}for(let e=0;e=n-1){let t=e[n-1];if(gm(t))return function e(t){return 1048576&t.flags?f9(t,e):1&t.flags||_3(sz(t)||t)?t:pT(t)?cD(l0(t),t.target.elementFlags,!1,t.target.labeledElementDeclarations):cD([t],[8])}(234===t.kind?t.type:Eh(t.expression,r,i,a))}let o=[],s=[],l=[],c=sj(r);for(let d=t;dL2(void 0,tA.Type_0_does_not_satisfy_the_constraint_1):void 0,c=r||tA.Type_0_does_not_satisfy_the_constraint_1;i||(i=us(o,s));let d=s[e];if(!_t(d,ss(uO(a,i),d),n?t[e]:void 0,c,l))return}}return s}function gG(e){if(hM(e.tagName))return 2;let t=s0(TT(e.tagName));return dW(ln(t,1))?0:dW(ln(t,0))?1:2}function gB(e,t,n,r,i,a,s){let l={errors:void 0,skipLogging:!0};if(gK(e)){let t,c;return(t=hb(n,e),c=Eh(e.attributes,t,void 0,i),function(){var t;if(hz(e))return!0;let n=NP(e)||NM(e)&&!hM(e.tagName)?TT(e.tagName):void 0;if(!n)return!0;let r=ln(n,0);if(!dW(r))return!0;let i=Cu(e);if(!i)return!0;let o=iB(i,111551,!0,!1,e);if(!o)return!0;let s=ln(oC(o),0);if(!dW(s))return!0;let c=!1,d=0;for(let e of s){let t=ln(vK(e,0),0);if(dW(t))for(let e of t){if(c=!0,vX(e))return!0;let t=vq(e);t>d&&(d=t)}}if(!c)return!0;let u=1/0;for(let e of r){let t=vJ(e);t{n.push(e.expression)}),n}if(167===e.kind)return function(e){let t=e.expression,n=be(e);if(n){let e=[];for(let r of n.parameters){let n=oC(r);e.push(gV(t,n))}return e}return T.fail()}(e);if(gK(e))return e.attributes.properties.length>0||NP(e)&&e.parent.children.length>0?[e.attributes]:o;let t=e.arguments||o,n=d2(t,gm);if(n>=0){let e=t.slice(0,n);for(let r=n;r{var a;let o=i.target.elementFlags[r],s=gV(n,4&o?ck(t):t,!!(12&o),null==(a=i.target.labeledElementDeclarations)?void 0:a[r]);e.push(s)}):e.push(n)}return e}return t}function gW(e,t){return eO.experimentalDecorators?function(e,t){switch(e.parent.kind){case 260:case 228:return 1;case 169:return An(e.parent)?3:2;case 171:case 174:case 175:return 0===eM||t.parameters.length<=2?2:3;case 166:return 3;default:return T.fail()}}(e,t):2}function gq(e,t){let n,r;let i=vS(e);if(Rh(e.expression)){let a=bB(i,e.expression.name);n=a.start,r=t?a.length:e.end-n}else{let a=bB(i,e.expression);n=a.start,r=t?a.length:e.end-n}return{start:n,length:r,sourceFile:i}}function gJ(e,t,n,r,i,a){if(Rg(e)){let{sourceFile:o,start:s,length:l}=gq(e);return"message"in t?LQ(o,s,l,t,n,r,i,a):bO(o,t)}return"message"in t?bC(e,t,n,r,i,a):bw(vS(e),e,t)}function g1(e,t,n,r){var i;let a;let o=d2(n,gm);if(o>-1)return bC(n[o],tA.A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter);let s=Number.POSITIVE_INFINITY,l=Number.NEGATIVE_INFINITY,c=Number.NEGATIVE_INFINITY,d=Number.POSITIVE_INFINITY;for(let e of t){let t=vJ(e),r=vq(e);tc&&(c=t),n.length1&&(p=A(g,rm,b,x)),p||(p=A(g,ry,b,x)),p)return p;if(s=!!n,T.assert(g.length>0),Lt(e),p=s||1===g.length||g.some(e=>!!e.typeParameters)?function(e,t,n,r){let i,a,o=function(e,t){let n=-1,r=-1;for(let i=0;i=t)return i;o>r&&(r=o,n=i)}return n}(t,void 0===l?n.length:l),s=t[o],{typeParameters:c}=s;if(!c)return s;let d=gd(e)?e.typeArguments:void 0,u=d?lO(s,function(e,t,n){let r=e.map(Lb);for(;r.length>t.length;)r.pop();for(;r.lengthe.thisParameter);i.length&&(t=cH(i.map(vB),2),r=pH(uz(i),t));let{min:a,max:o}=kc(e,g7),s=[];for(let t=0;tGC(e)?tvW(e,t)),2),pH(uz(r),n)))}let l=uu(e,e=>GC(e)?uX(e.parameters):void 0),c=0;if(0!==l.length){let t=ck(cH(uu(e,lR),2));s.push(pH(uz(l),t)),c|=1}return e.some(Gk)&&(c|=2),sc(e[0].declaration,void 0,r,s,cJ(e.map(lk)),void 0,a,c)}(g),rY(e).resolvedSignature=p,y){if(d){if(1===d.length||d.length>3){let t;let n=d[d.length-1];d.length>3&&(t=L2(t,tA.The_last_overload_gave_the_following_error),t=L2(t,tA.No_overload_matches_this_call)),a&&(t=L2(t,a));let r=gB(e,v,n,ry,0,!0,()=>t);if(r)for(let e of r)n.declaration&&d.length>3&&kl(e,bC(n.declaration,tA.The_last_overload_is_declared_here)),S(n,e),r_.add(e);else T.fail("No error for last overload signature")}else{let t;let n=[],r=0,i=Number.MAX_VALUE,o=0,s=0;for(let t of d){let a=()=>L2(void 0,tA.Overload_0_of_1_2_gave_the_following_error,s+1,g.length,aN(t)),l=gB(e,v,t,ry,0,!0,a);l?(l.length<=i&&(i=l.length,o=s),r=Math.max(r,l.length),n.push(l)):T.fail("No error for 3 or fewer overload signatures"),s++}let l=r>1?n[o]:ua(n);T.assert(l.length>0,"No errors reported for 3 or fewer overload signatures");let c=L2(un(l,bM),tA.No_overload_matches_this_call);a&&(c=L2(c,a));let u=[...uo(l,e=>e.relatedInformation)];if(dZ(l,e=>e.start===l[0].start&&e.length===l[0].length&&e.file===l[0].file)){let{file:e,start:n,length:r}=l[0];t={file:e,start:n,length:r,code:c.code,category:c.category,messageText:c,relatedInformation:u}}else t=bw(vS(e),e,c,u);S(d[0],t),r_.add(t)}}else if(u)r_.add(g1(e,[u],v,a));else if(_)gP(_,e.typeArguments,!0,a);else{let n=d9(t,e=>gS(e,c));0===n.length?r_.add(function(e,t,n,r){let i=n.length;if(1===t.length){let a=t[0],o=lg(a.typeParameters),s=dW(a.typeParameters);if(r){let t=L2(void 0,tA.Expected_0_type_arguments_but_got_1,oi?o=Math.min(o,t):n1?d0(l,e=>yB(e)&&vD(e.body)):void 0;if(c){let e=lb(c),n=!e.typeParameters;A([e],ry,n)&&kl(t,bC(c,tA.The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible))}d=i,u=a,_=s}function A(t,n,i,a=!1){if(d=void 0,u=void 0,_=void 0,i){let r=t[0];if(uv(c)||!gx(e,v,r,a))return;if(gB(e,v,r,n,0,!1,void 0)){d=[r];return}return r}for(let i=0;i0;if(1048576&t.flags){let e=t.types,a=!1;for(let o of e)if(0!==ln(o,n).length){if(a=!0,r)break}else if(r||(r=L2(r,i?tA.Type_0_has_no_call_signatures:tA.Type_0_has_no_construct_signatures,aD(o)),r=L2(r,i?tA.Not_all_constituents_of_type_0_are_callable:tA.Not_all_constituents_of_type_0_are_constructable,aD(t))),a)break;a||(r=L2(void 0,i?tA.No_constituent_of_type_0_is_callable:tA.No_constituent_of_type_0_is_constructable,aD(t))),r||(r=L2(r,i?tA.Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:tA.Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other,aD(t)))}else r=L2(r,i?tA.Type_0_has_no_call_signatures:tA.Type_0_has_no_construct_signatures,aD(t));let s=i?tA.This_expression_is_not_callable:tA.This_expression_is_not_constructable;if(Rg(e.parent)&&0===e.parent.arguments.length){let{resolvedSymbol:t}=rY(e);t&&32768&t.flags&&(s=tA.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without)}return{messageChain:L2(r,s),relatedMessage:o?tA.Did_you_forget_to_use_await:void 0}}function vo(e,t,n,r){let{messageChain:i,relatedMessage:a}=va(e,t,n),o=bw(vS(e),e,i);if(a&&kl(o,bC(e,a)),Rg(e.parent)){let{start:t,length:n}=gq(e.parent,!0);o.start=t,o.length=n}r_.add(o),vs(t,n,r?kl(o,r):o)}function vs(e,t,n){if(!e.symbol)return;let r=rX(e.symbol).originatingImport;if(r&&!bq(r)){let i=ln(oC(rX(e.symbol).target),t);if(!i||!i.length)return;kl(n,bC(r,tA.Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead))}}function v_(e,t){let n=hJ(e),r=n&&i4(n),i=r&&rQ(r,iL.Element,788968),a=i&&eZ.symbolToEntityName(i,788968,e),o=nU.createFunctionTypeNode(void 0,[nU.createParameterDeclaration(void 0,void 0,"props",void 0,eZ.typeToTypeNode(t,e))],a?nU.createTypeReferenceNode(a,void 0):nU.createKeywordTypeNode(131)),s=rG(1,"props");return s.links.type=t,sc(o,void 0,void 0,[s],i?oQ(i):tS,void 0,1,0)}function vf(e,t,n){let r=rY(e),i=r.resolvedSignature;if(i&&i!==nL&&!t)return i;r.resolvedSignature=nL;let a=function(e,t,n){switch(e.kind){case 210:return function(e,t,n){let r;if(106===e.expression.kind){let r=mU(e.expression);if(aQ(r)){for(let t of e.arguments)TT(t);return nS}if(!aZ(r)){let i=xy(Ev(e));if(i)return g4(e,oU(r,i.typeArguments,i),t,n,0)}return gu(e)}let i=TT(e.expression);if(h6(e)){let t=pG(i,e.expression);r=t===i?0:h9(e)?16:8,i=t}else r=0;if((i=yE(i,e.expression,yv))===t0)return nC;let a=s0(i);if(aZ(a))return g_(e);let o=ln(a,0),s=ln(a,1).length;if(vi(i,a,o.length,s))return!aZ(i)&&e.typeArguments&&rR(e,tA.Untyped_function_calls_may_not_accept_type_arguments),gu(e);if(!o.length){if(s)rR(e,tA.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,aD(i));else{let t;if(1===e.arguments.length){let n=vS(e).text;mi(n.charCodeAt(mc(n,e.expression.end,!0)-1))&&(t=bC(e.expression,tA.Are_you_missing_a_semicolon))}vo(e.expression,a,0,t)}return g_(e)}return 8&n&&!e.typeArguments&&o.some(vr)?(E7(e,n),nL):o.some(e=>EZ(e.declaration)&&!!hL(e.declaration))?(rR(e,tA.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,aD(i)),g_(e)):g4(e,o,t,n,r)}(e,t,n);case 211:return function(e,t,n){if(e.arguments&&eM<1){let t=d2(e.arguments,gm);t>=0&&rR(e.arguments[t],tA.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher)}let r=yp(e.expression);if(r===t0)return nC;if(aZ(r=s0(r)))return g_(e);if(aQ(r))return e.typeArguments&&rR(e,tA.Untyped_function_calls_may_not_accept_type_arguments),gu(e);let i=ln(r,1);if(i.length){if(!function(e,t){if(!t||!t.declaration)return!0;let n=t.declaration,r=24&Al(n);if(!r||173!==n.kind)return!0;let i=LE(n.parent.symbol),a=oQ(n.parent.symbol);if(!Lm(e,i)){let t=Ev(e);if(t&&16&r){let e=Lb(t);if(function e(t,n){let r=oH(n);if(!dW(r))return!1;let i=r[0];if(2097152&i.flags){let n=sg(i.types),r=0;for(let a of i.types){if(!n[r]&&3<(a)&&(a.symbol===t||e(t,a)))return!0;r++}return!1}return i.symbol===t||e(t,i)}(n.parent.symbol,e))return!0}return 8&r&&rR(e,tA.Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration,aD(a)),16&r&&rR(e,tA.Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration,aD(a)),!1}return!0}(e,i[0]))return g_(e);if(function e(t,n){return _y(t)?uv(t,t=>e(t,n)):1048576===t.compositeKind?uv(t.compositeSignatures,n):n(t)}(i,e=>!!(4&e.flags)))return rR(e,tA.Cannot_create_an_instance_of_an_abstract_class),g_(e);let a=r.symbol&&LE(r.symbol);return a&&S3(a,256)?(rR(e,tA.Cannot_create_an_instance_of_an_abstract_class),g_(e)):g4(e,i,t,n,0)}let a=ln(r,0);if(a.length){let r=g4(e,a,t,n,0);return eK||(r.declaration&&!vm(r.declaration)&&lk(r)!==tQ&&rR(e,tA.Only_a_void_function_can_be_called_with_the_new_keyword),lA(r)===tQ&&rR(e,tA.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void)),r}return vo(e.expression,r,1),g_(e)}(e,t,n);case 212:return function(e,t,n){let r=TT(e.tag),i=s0(r);if(aZ(i))return g_(e);let a=ln(i,0),o=ln(i,1).length;if(vi(r,i,a.length,o))return gu(e);if(!a.length){if(Rf(e.parent)){let t=bC(e.tag,tA.It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tagged_template_expression_which_cannot_be_invoked);return r_.add(t),g_(e)}return vo(e.tag,i,0),g_(e)}return g4(e,a,t,n,0)}(e,t,n);case 167:return function(e,t,n){let r=TT(e.expression),i=s0(r);if(aZ(i))return g_(e);let a=ln(i,0),o=ln(i,1).length;if(vi(r,i,a.length,o))return gu(e);if(a.length&&dZ(a,t=>0===t.minArgumentCount&&!GC(t)&&t.parameters.lengthe(t,n)))),i}(r,e);return vi(r,i,a.length,0)?gu(e):0===a.length?(rR(e.tagName,tA.JSX_element_type_0_does_not_have_any_construct_or_call_signatures,v$(e.tagName)),g_(e)):g4(e,a,t,n,0)}(e,t,n)}throw T.assertNever(e,"Branch in 'resolveSignature' should be unreachable.")}(e,t,n||0);return a!==nL&&(r.resolvedSignature=nB===nV?a:i),a}function vm(e){var t;if(!e||!EZ(e))return!1;let n=Na(e)||Rx(e)?e:(Nr(e)||NX(e))&&e.initializer&&Rx(e.initializer)?e.initializer:void 0;if(n){if(hL(e))return!0;if(NX(xt(n.parent)))return!1;let r=i7(n);return!!(null==(t=null==r?void 0:r.members)?void 0:t.size)}return!1}function vh(e,t){var n,r;if(t){let i=rX(t);if(!i.inferredClassSymbol||!i.inferredClassSymbol.has(Gb(e))){let a=vn(e)?e:rH(e);return a.exports=a.exports||vt(),a.members=a.members||vt(),a.flags|=32&t.flags,(null==(n=t.exports)?void 0:n.size)&&rq(a.exports,t.exports),(null==(r=t.members)?void 0:r.size)&&rq(a.members,t.members),(i.inferredClassSymbol||(i.inferredClassSymbol=new Map)).set(Gb(a),a),a}return i.inferredClassSymbol.get(Gb(e))}}function vy(e,t){let n,r;if(e.parent){if(Nr(e.parent)&&e.parent.initializer===e){if(!EZ(e)&&!(bK(e.parent)&&yB(e)))return;n=e.parent.name,r=e.parent}else if(RR(e.parent)){let i=e.parent,a=e.parent.operatorToken.kind;if(63===a&&(t||i.right===e))r=n=i.left;else if((56===a||60===a)&&(Nr(i.parent)&&i.parent.initializer===i?(n=i.parent.name,r=i.parent):RR(i.parent)&&63===i.parent.operatorToken.kind&&(t||i.parent.right===i)&&(r=n=i.parent.left),!n||!Tb(n)||!Tc(n,i.left)))return}else t&&Na(e)&&(n=e.name,r=e);if(r&&n&&(t||To(e,AO(n))))return i9(r)}}function vg(e,t){if(e.declaration&&268435456&e.declaration.flags){var n,r;let i=vv(t),a=AD(EO(t));n=e.declaration,r=aN(e),rM(n,a?bC(i,tA.The_signature_0_of_1_is_deprecated,r,a):bC(i,tA._0_is_deprecated,r))}}function vv(e){switch((e=xi(e)).kind){case 210:case 167:case 211:return vv(e.expression);case 212:return vv(e.tag);case 283:case 282:return vv(e.tagName);case 209:return e.argumentExpression;case 208:return e.name;case 180:let t=e;return wM(t.typeName)?t.typeName.right:t;default:return e}}function vb(e){if(!Rg(e))return!1;let t=e.expression;if(Rh(t)&&"for"===t.name.escapedText&&(t=t.expression),!wb(t)||"Symbol"!==t.escapedText)return!1;let n=ch(!1);return!!n&&n===r0(t,"Symbol",111551,void 0,void 0,!1)}function vE(e,t,n){let r=vt(),i=rG(2097152,"default");return i.parent=t,i.links.nameType=dH("default"),i.links.aliasTarget=iI(e),r.set("default",i),ah(n,r,o,o,o)}function vT(e,t,n,r){if(io(r)&&e&&!aZ(e)){if(!e.defaultOnlyType){let r=vE(t,n);e.defaultOnlyType=r}return e.defaultOnlyType}}function vk(e,t,n,r){var i;if(eB&&e&&!aZ(e)){if(!e.syntheticType){if(is(null==(i=n.declarations)?void 0:i.find(N0),n,!1,r)){let r=rG(2048,"__type"),i=vE(t,n,r);r.links.type=i,e.syntheticType=hO(e)?dP(e,i,r,0,!1):i}else e.syntheticType=e}return e.syntheticType}return e}function vI(e){if(!E8(e,!0))return!1;if(!wb(e.expression))return T.fail();let t=r0(e.expression,e.expression.escapedText,111551,void 0,void 0,!0);if(t===e8)return!0;if(2097152&t.flags)return!1;let n=16&t.flags?259:3&t.flags?257:0;if(0!==n){let e=g9(t,n);return!!e&&!!(16777216&e.flags)}return!1}function vw(e){switch(e.kind){case 10:case 14:case 8:case 9:case 110:case 95:case 206:case 207:case 225:return!0;case 214:return vw(e.expression);case 221:let t=e.operator,n=e.operand;return 40===t&&(8===n.kind||9===n.kind)||39===t&&8===n.kind;case 208:case 209:let r=xi(e.expression),i=AI(r)?iB(r,111551,!0):void 0;return!!(i&&384&i.flags)}return!1}function vR(e,t,n,r){let i=TT(n,r);if(yt(t))return vw(n)||rR(n,tA.A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals),dV(i);A7(t),i=pK(py(i));let a=d8(t);return aZ(a)||eb(()=>{_L(a,pz(i),rg)||_I(i,a,rg,e,tA.Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first,void 0)}),a}function vO(e){return CN(e),dz(e.typeArguments,A7),vM(230===e.kind?TT(e.expression):SV(e.exprName)?mM(e.exprName):TT(e.exprName),e)}function vM(e,t){let n;let r=t.typeArguments;if(e===t0||aZ(e)||!uv(r))return e;let i=!1,a=function e(r){let a=!1,o=!1,l=function n(r){if(524288&r.flags){let e=sM(r),n=s(e.callSignatures),i=s(e.constructSignatures);if(a||(a=0!==e.callSignatures.length||0!==e.constructSignatures.length),o||(o=0!==n.length||0!==i.length),n!==e.callSignatures||i!==e.constructSignatures){let r=ah(void 0,e.members,n,i,e.indexInfos);return r.objectFlags|=8388608,r.node=t,r}}else if(58982400&r.flags){let e=sz(r);if(e){let t=n(e);if(t!==e)return t}}else if(1048576&r.flags)return f9(r,e);else if(2097152&r.flags)return cJ(ui(r.types,n));return r}(r);return i||(i=o),a&&!o&&(null!=n||(n=r)),l}(e),o=i?n:e;return o&&r_.add(bk(vS(t),r,tA.Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable,aD(o))),a;function s(e){return ui(d9(e,e=>!!e.typeParameters&&gS(e,r)),e=>{let t=gP(e,r,!0);return t?lN(e,t,EZ(e.declaration)):e})}}function vP(e,t,n){let r=TT(e,n),i=d8(t);return aZ(i)?i:(_n(r,i,t,e,tA.Type_0_does_not_satisfy_the_expected_type_1),r)}function vF(e){switch(e.keywordToken){case 100:return cf();case 103:let t,n,r,i=vG(e);return aZ(i)?tS:(t=rG(0,"NewTargetExpression"),(n=rG(4,"target",8)).parent=t,n.links.type=i,r=vt([n]),t.members=r,ah(t,r,o,o,o));default:T.assertNever(e.keywordToken)}}function vG(e){let t=EA(e);return t?173===t.kind?oC(i7(t.parent)):oC(i7(t)):(rR(e,tA.Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor,"new.target"),tS)}function vB(e){let t=oC(e);if(eU){let n=e.valueDeclaration;if(n&&gZ(n))return pR(t)}return t}function vU(e){return T.assert(wb(e.name)),e.name.escapedText}function vV(e,t,n){let r=e.parameters.length-(GC(e)?1:0);if(t=n-1)return t===n-1?i:ck(dh(i,tU));let a=[],o=[],s=[];for(let l=t;l!(1&e)),i=n<0?t.target.fixedLength:n;i>0&&(r=e.parameters.length-1+i)}}if(void 0===r){if(!(1&t)&&32&e.flags)return 0;r=e.minArgumentCount}if(n)return r;for(let t=r-1;t>=0&&!(131072&f5(vK(e,t),gy).flags);t--)r=t;e.resolvedMinArgumentCount=r}return e.resolvedMinArgumentCount}function vX(e){if(GC(e)){let t=oC(e.parameters[e.parameters.length-1]);return!pT(t)||t.target.hasRestElement}return!1}function vY(e){if(GC(e)){let t=oC(e.parameters[e.parameters.length-1]);if(!pT(t))return t;if(t.target.hasRestElement)return cP(t,t.target.fixedLength)}}function vQ(e){let t=vY(e);return!t||_1(t)||aQ(t)||(131072&s6(t).flags)!=0?void 0:t}function v0(e){return v1(e,tZ)}function v1(e,t){return e.parameters.length>0?vK(e,0):t}function v4(e,t){let n=rX(e);if(n.type)t&&T.assertEqual(n.type,t,"Parameter symbol already has a cached type which differs from newly assigned type");else{let r=e.valueDeclaration;n.type=t||(r?op(r,!0):oC(e)),r&&79!==r.name.kind&&(n.type===tI&&(n.type=o_(r.name)),function e(t,n){for(let r of t.elements)if(!RF(r)){let t=a5(r,n);79===r.name.kind?rX(i7(r)).type=t:e(r.name,t)}}(r.name,n.type))}}function v8(e,t,n){var r,i,a,s,l;let c=S7(e),d=wE(e.name),u=d?dH(hi(e.name)):c0(e.name);return cJ([wH(e)?lY(null!=(r=null!=eo?eo:eo=c_("ClassMethodDecoratorContext",2,!0))?r:np,[t,n]):wz(e)?lY(null!=(i=null!=es?es:es=c_("ClassGetterDecoratorContext",2,!0))?i:np,[t,n]):wq(e)?lY(null!=(a=null!=el?el:el=c_("ClassSetterDecoratorContext",2,!0))?a:np,[t,n]):yq(e)?lY(null!=(s=null!=ec?ec:ec=c_("ClassAccessorDecoratorContext",2,!0))?s:np,[t,n]):wV(e)?lY(null!=(l=null!=e_?e_:e_=c_("ClassFieldDecoratorContext",2,!0))?l:np,[t,n]):T.failBadSyntaxKind(e),function(e,t,n){let r=`${t?"p":"P"}${n?"s":"S"}${e.id}`,i=t_.get(r);if(!i){let a=vt();a.set("name",rU("name",e)),a.set("private",rU("private",t?tK:tj)),a.set("static",rU("static",n?tK:tj)),i=ah(void 0,a,o,o,o),t_.set(r,i)}return i}(u,d,c)])}function v6(e,t,n){return xR(void 0,void 0,[rB("target",e),rB("context",t)],cH([n,tQ]))}function be(e){return eF?function(e){let{parent:t}=e,n=rY(t);if(!n.decoratorSignature)switch(n.decoratorSignature=nS,t.kind){case 260:case 228:{let e=oC(i7(t)),r=rB("target",e);n.decoratorSignature=xR(void 0,void 0,[r],cH([e,tQ]));break}case 166:{if(!wW(t.parent)&&!(wH(t.parent)||wq(t.parent)&&yW(t.parent.parent))||SB(t.parent)===t)break;let e=SB(t.parent)?t.parent.parameters.indexOf(t)-1:t.parent.parameters.indexOf(t);T.assert(e>=0);let r=wW(t.parent)?oC(i7(t.parent.parent)):LL(t.parent),i=wW(t.parent)?tR:LC(t.parent),a=dK(e),o=rB("target",r),s=rB("propertyKey",i),l=rB("parameterIndex",a);n.decoratorSignature=xR(void 0,void 0,[o,s,l],tQ);break}case 171:case 174:case 175:case 169:{if(!yW(t.parent))break;let e=rB("target",LL(t)),r=rB("propertyKey",LC(t)),i=wV(t)?tQ:cL(Lb(t));if(0!==eM&&(!wV(t)||An(t))){let a=rB("descriptor",cL(Lb(t)));n.decoratorSignature=xR(void 0,void 0,[e,r,a],cH([i,tQ]))}else n.decoratorSignature=xR(void 0,void 0,[e,r],cH([i,tQ]))}}return n.decoratorSignature===nS?void 0:n.decoratorSignature}(e):function(e){var t,n,r,i,a;let{parent:o}=e,s=rY(o);if(!s.decoratorSignature)switch(s.decoratorSignature=nS,o.kind){case 260:case 228:{let e=oC(i7(o)),n=lY(null!=(t=null!=ea?ea:ea=c_("ClassDecoratorContext",1,!0))?t:np,[e]);s.decoratorSignature=v6(e,n,e);break}case 171:case 174:case 175:{if(!yW(o.parent))break;let e=wH(o)?lP(lb(o)):Lb(o),t=S7(o)?oC(i7(o.parent)):oW(i7(o.parent)),n=wz(o)?xM(e):wq(o)?xj(e):e,r=v8(o,t,e),i=wz(o)?xM(e):wq(o)?xj(e):e;s.decoratorSignature=v6(n,r,i);break}case 169:{if(!yW(o.parent))break;let e=Lb(o),t=S7(o)?oC(i7(o.parent)):oW(i7(o.parent)),l=An(o)?lY(null!=(n=null!=ed?ed:ed=c_("ClassAccessorDecoratorTarget",2,!0))?n:np,[t,e]):tR,c=v8(o,t,e),d=An(o)?lY(null!=(r=null!=eu?eu:eu=c_("ClassAccessorDecoratorResult",2,!0))?r:np,[t,e]):(i=rB("this",t),lP(xR(void 0,i,[rB("value",e)],e,void 0,1,a)));s.decoratorSignature=v6(l,c,d)}}return s.decoratorSignature===nS?void 0:s.decoratorSignature}(e)}function bt(e){let t=cg(!0);return t!==np?l$(t,[e=xw(xL(e))||tI]):tI}function bo(e){let t=cv(!0);return t!==np?l$(t,[e=xw(xL(e))||tI]):tI}function bc(e,t){let n=bt(t);return n===tI?(rR(e,bq(e)?tA.A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:tA.An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option),tS):(cb(!0)||rR(e,bq(e)?tA.A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:tA.An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option),n)}function bd(e,t){var n;let r,i,a;if(!e.body)return tS;let o=xN(e),s=(2&o)!=0,l=(1&o)!=0,c=tQ;if(238!==e.body.kind)r=Eg(e.body,t&&-9&t),s&&(r=xL(xT(r,!1,e,tA.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)));else if(l){let n,o,s,l=bg(e,t);l?l.length>0&&(r=cH(l,2)):c=tZ;let{yieldTypes:d,nextTypes:u}=(n=[],o=[],s=(2&xN(e))!=0,b3(e.body,e=>{let r;let i=e.expression?TT(e.expression,t):tN;if(uF(n,b_(e,i,tE,s)),e.asteriskToken){let t=SH(i,s?19:17,e.expression);r=t&&t.nextType}else r=hd(e,void 0);r&&uF(o,r)}),{yieldTypes:n,nextTypes:o});i=uv(d)?cH(d,2):void 0,a=uv(u)?cJ(u):void 0}else{let n=bg(e,t);if(!n)return 2&o?bc(e,tZ):tZ;if(0===n.length)return 2&o?bc(e,tQ):tQ;r=cH(n,2)}if(r||i||a){if(i&&pJ(e,i,3),r&&pJ(e,r,1),a&&pJ(e,a,2),r&&pf(r)||i&&pf(i)||a&&pf(a)){let t=hS(e),o=t?t===lb(e)?l?void 0:r:hs(lk(t),e,void 0):void 0;l?(i=pE(i,o,0,s),r=pE(r,o,1,s),a=pE(a,o,2,s)):((n=r)&&pf(n)&&(n=pb(n,o?s?xb(o):o:void 0)),r=n)}i&&(i=pz(i)),r&&(r=pz(r)),a&&(a=pz(a))}return l?bu(i||tZ,r||c,a||mz(2,e)||tI,s):s?bt(r||c):r||c}function bu(e,t,n,r){let i=r?nO:nM,a=i.getGlobalGeneratorType(!1);if(e=i.resolveIterationType(e,void 0)||tI,t=i.resolveIterationType(t,void 0)||tI,n=i.resolveIterationType(n,void 0)||tI,a===np){let r=i.getGlobalIterableIteratorType(!1),a=r!==np?SQ(r,i):void 0,o=a?a.returnType:tE,s=a?a.nextType:tR;return u3(t,o)&&u3(s,n)?r!==np?cA(r,[e]):(i.getGlobalIterableIteratorType(!0),no):(i.getGlobalGeneratorType(!0),no)}return cA(a,[e,t,n])}function b_(e,t,n,r){let i=e.expression||e,a=e.asteriskToken?SN(r?19:17,t,n,i):t;return r?xI(a,i,e.asteriskToken?tA.Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:tA.Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):a}function bp(e,t,n){let r=0;for(let i=0;i=t?n[i]:void 0;r|=void 0!==a?ib.get(a)||32768:0}return r}function bf(e){let t=rY(e);if(void 0===t.isExhaustive){t.isExhaustive=0;let n=function(e){var t;if(218===e.expression.kind){let t=f2(e);if(!t)return!1;let n=sq(Eg(e.expression.expression)),r=bp(0,0,t);return 3&n.flags?(556800&r)==556800:!f6(n,e=>(fj(e)&r)===r)}let n=Eg(e.expression);if(!ph(n))return!1;let r=f1(e);return!(!r.length||uv(r,pp))&&(1048576&(t=f9(n,dV)).flags?!dz(t.types,e=>!d6(r,e)):d6(r,t))}(e);0===t.isExhaustive&&(t.isExhaustive=n)}else 0===t.isExhaustive&&(t.isExhaustive=!1);return t.isExhaustive}function bm(e){return e.endFlowNode&&mg(e.endFlowNode)}function bg(e,t){let n=xN(e),r=[],i=bm(e),a=!1;if(b6(e.body,o=>{let s=o.expression;if(s){let i=Eg(s,t&&-9&t);2&n&&(i=xL(xT(i,!1,e,tA.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member))),131072&i.flags&&(a=!0),uF(r,i)}else i=!0}),!(0===r.length&&!i&&(a||function(e){switch(e.kind){case 215:case 216:return!0;case 171:return 207===e.parent.kind;default:return!1}}(e))))return eU&&r.length&&i&&!(vm(e)&&r.some(t=>t.symbol===e.symbol))&&uF(r,tR),r}function bS(e,t){eb(function(){let n=xN(e),r=t&&Ah(t,n);if(r&&bZ(r,16385)||170===e.kind||vN(e.body)||238!==e.body.kind||!bm(e))return;let i=512&e.flags,a=Sq(e)||e;if(r&&131072&r.flags)rR(a,tA.A_function_returning_never_cannot_have_a_reachable_end_point);else if(r&&!i)rR(a,tA.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value);else if(r&&eU&&!u3(tR,r))rR(a,tA.Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined);else if(eO.noImplicitReturns){if(!r){if(!i)return;let t=lk(lb(e));if(Ay(e,t))return}rR(a,tA.Not_all_code_paths_return_a_value)}})}function bI(e,t){if(T.assert(171!==e.kind||El(e)),Lt(e),Rx(e)&&Sb(e,e.name),t&&4&t&&uj(e)){if(!Sq(e)&&!kM(e)){let n=hA(e);if(n&&p8(lk(n))){let n=rY(e);if(n.contextFreeType)return n.contextFreeType;let r=bd(e,t),i=sc(void 0,void 0,void 0,o,r,void 0,0,0),a=ah(e.symbol,eN,[i],o,o);return a.objectFlags|=262144,n.contextFreeType=a}}return nf}return CL(e)||215!==e.kind||CO(e),function(e,t){let n=rY(e);if(!(64&n.flags)){let r=hA(e);if(!(64&n.flags)){n.flags|=64;let i=uK(ln(oC(i7(e)),0));if(!i)return;if(uj(e)){if(r){let n;let a=hv(e);if(t&&2&t){!function(e,t,n){let r=e.parameters.length-(GC(e)?1:0);for(let i=0;ib1(e,t,n)):b0(e,t,n)}function b2(e){return!!(16<(e))&&!!e.symbol&&Eo(e.symbol)}function Eo(e){return(128&e.flags)!=0}function Es(e,t,n,r,i=!1){let a=e.properties,o=a[n];if(299===o.kind||300===o.kind){let e=o.name,n=c0(e);if(o5(n)){let e=le(t,sn(n));e&&(ge(e,o,i),yd(o,!1,!0,t,e))}let r=a8(o,dh(t,n,32,e));return E_(300===o.kind?o:o.initializer,r)}if(301===o.kind){if(ncP(e,n)):ck(r),i);rR(a.operatorToken,tA.A_rest_element_cannot_have_an_initializer)}}}function E_(e,t,n,r){var i,a;let o,s,l,c;return(300===e.kind?(e.objectAssignmentInitializer&&(eU&&!(16777216&fj(TT(e.objectAssignmentInitializer)))&&(t=fH(t,524288)),function(e,t,n,r,i){let a;let o=t.kind;if(63===o&&(207===e.kind||206===e.kind))return E_(e,TT(n,r),r,108===n.kind);a=Ab(o)?SI(e,r):TT(e,r);let s=TT(n,r);Ef(e,t,n,a,s,void 0)}(e.name,e.equalsToken,e.objectAssignmentInitializer,n)),o=e.name):o=e,223===o.kind&&63===o.operatorToken.kind&&(eY(o,n),o=o.left,eU&&(t=fH(t,524288))),207===o.kind)?function(e,t,n){let r=e.properties;if(eU&&0===r.length)return yT(t,e);for(let i=0;ib0(e,402655727)&&b0(t,402655727)),tE;return 64===c&&h(u),u;case 29:case 31:case 32:case 33:return f(c)&&(r=pg(yT(r,e)),i=pg(yT(i,n)),y((e,t)=>{if(aQ(e)||aQ(t))return!0;let n=u3(e,t5),r=u3(t,t5);return n&&r||!n&&!r&&_e(e,t)})),tY;case 34:case 35:case 36:case 37:if(yh(e)||yh(n)){let e=34===c||36===c;rR(a,tA.This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value,e?"false":"true")}return function(e,t,n,r){let i=v(xi(n)),a=v(xi(r));if(i||a){let o=rR(e,tA.This_condition_will_always_return_0,tF[36===t||34===t?95:110]);if(i&&a)return;let s=37===t||35===t?tF[53]:"",l=i?r:n,c=xi(l);kl(o,bC(l,tA.Did_you_mean_0,`${s}Number.isNaN(${AI(c)?bL(c):"..."})`))}}(a,c,e,n),y((e,t)=>Ep(e,t)||Ep(t,e)),tY;case 102:return o=r,s=i,o===t0||s===t0?t0:(!aQ(o)&&b1(o,134348796)&&rR(e,tA.The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter),aQ(s)||LR(s)||u6(s,m)||rR(n,tA.The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type),tY);case 101:return function(e,t,n,r){if(n===t0||r===t0)return t0;if(wE(e)){if(eM<99&&Ch(e,2097152),!rY(e).resolvedSymbol&&Ev(e)){let t=yJ(e,r.symbol,!0);y$(e,r,t)}}else _t(yT(n,e),t6,e);return _t(yT(r,t),t4,t)&&f6(r,e=>e===nu||!!(2097152&e.flags)&&_b(sq(e)))&&rR(t,tA.Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operator,aD(r)),tY}(e,n,r,i);case 55:case 76:{let e=4194304&fj(r)?cH([f9(eU?r:py(i),pI),i]):r;return 76===c&&h(i),e}case 56:case 75:{let e=8388608&fj(r)?cH([pN(pk(r)),i],2):r;return 75===c&&h(i),e}case 60:case 77:{let e=262144&fj(r)?cH([pN(r),i],2):r;return 77===c&&h(i),e}case 63:let _=RR(e.parent)?Tf(e.parent):0;if(function(e,t){if(2===e)for(let e of sP(t)){let t=oC(e);if(t.symbol&&32&t.symbol.flags){let t=e.escapedName,n=r0(e.valueDeclaration,t,788968,void 0,t,!1);(null==n?void 0:n.declarations)&&n.declarations.some(Dk)&&(rW(n,tA.Duplicate_identifier_0,hr(t),e),rW(e,tA.Duplicate_identifier_0,hr(t),n))}}}(_,i),function(t){var r;switch(t){case 2:return!0;case 1:case 5:case 6:case 3:case 4:let i=i9(e),a=Ta(n);return!!a&&Rm(a)&&!!(null==(r=null==i?void 0:i.exports)?void 0:r.size);default:return!1}}(_))return 524288&i.flags&&(2===_||6===_||_g(i)||fV(i)||1<(i))||h(i),r;return h(i),i;case 27:if(!eO.allowUnreachableCode&&function e(t){switch((t=xi(t)).kind){case 79:case 10:case 13:case 212:case 225:case 14:case 8:case 9:case 110:case 95:case 104:case 155:case 215:case 228:case 216:case 206:case 207:case 218:case 232:case 282:case 281:return!0;case 224:return e(t.whenTrue)&&e(t.whenFalse);case 223:if(AT(t.operatorToken.kind))return!1;return e(t.left)&&e(t.right);case 221:case 222:switch(t.operator){case 53:case 39:case 40:case 54:return!0}return!1;default:return!1}}(e)&&!(214===(l=e.parent).parent.kind&&wt(l.left)&&"0"===l.left.text&&(Rg(l.parent.parent)&&l.parent.parent.expression===l.parent||212===l.parent.parent.kind)&&(Lw(l.right)||wb(l.right)&&"eval"===l.right.escapedText))){let t=vS(e),n=mc(t.text,e.pos);t.parseDiagnostics.some(e=>e.code===tA.JSX_expressions_must_have_one_parent_element.code&&mP(e,n))||rR(e,tA.Left_side_of_comma_operator_is_unused_and_has_no_side_effects)}return i;default:return T.fail()}function p(e,t){return b0(e,2112)&&b0(t,2112)}function f(t){let a=bQ(r,12288)?e:bQ(i,12288)?n:void 0;return!a||(rR(a,tA.The_0_operator_cannot_be_applied_to_type_symbol,tF[t]),!1)}function h(t){AT(c)&&eb(function(){if(bY(e,tA.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access,tA.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access)){let i;eX&&Rh(e)&&bZ(t,32768)&&_N(t,a$(Ty(e.expression),e.name.escapedText))&&(i=tA.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target),_n(t,r,e,n,i)}})}function y(e){return!e(r,i)&&(g(e),!0)}function g(e){var n,o;let s,l,c,d,u=!1,_=a||t;if(e){let t=xw(r),n=xw(i);u=!(t===r&&n===i)&&!!(t&&n)&&e(t,n)}let p=r,f=i;!u&&e&&([p,f]=(n=r,o=i,s=n,l=o,e(c=py(n),d=py(o))||(s=c,l=d),[s,l]));let[m,h]=aO(p,f);!function(e,n,r,i){switch(t.kind){case 36:case 34:case 37:case 35:return rO(e,n,tA.This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap,r,i);default:return}}(_,u,m,h)&&rO(_,u,tA.Operator_0_cannot_be_applied_to_types_1_and_2,tF[t.kind],m,h)}function v(e){if(wb(e)&&"NaN"===e.escapedText){let t=er||(er=cl("NaN",!1));return!!t&&t===fT(e)}return!1}}function Em(e){return!!(134217856&e.flags||58982400&e.flags&&bZ(sz(e)||tI,402653316))}function Eh(e,t,n,r){let i=Nj(e)&&!NM(e.parent)?e.parent.parent:e;hf(i,t,!1),nX[n$]=i,nY[n$]=n,n$++;let a=TT(e,1|r|(n?2:0));n&&n.intraExpressionInferenceSites&&(n.intraExpressionInferenceSites=void 0);let o=bZ(a,2944)&&EG(a,hs(t,e,void 0))?dV(a):a;return n$--,nJ--,o}function Eg(e,t){if(t)return TT(e,t);let n=rY(e);if(!n.resolvedType){let r=nB,i=em;nB=nV,em=void 0,n.resolvedType=TT(e,t),em=i,nB=r}return n.resolvedType}function Eb(e){return 213===(e=xi(e,!0)).kind||231===e.kind||D4(e)}function Ek(e,t,n){let r=Tr(e);if(EZ(e)){let n=k2(e);if(n)return vP(r,n,t)}let i=Tg(r)||(n?Eh(r,n,void 0,t||0):Eg(r,t));return wG(e)&&204===e.name.kind&&pT(i)&&!i.target.hasRestElement&&l1(i)EG(e,t));if(58982400&t.flags){let n=sz(t)||tI;return bZ(n,4)&&bZ(e,128)||bZ(n,8)&&bZ(e,256)||bZ(n,64)&&bZ(e,2048)||bZ(n,4096)&&bZ(e,8192)||EG(e,n)}return!!(406847616&t.flags&&bZ(e,128)||256&t.flags&&bZ(e,256)||2048&t.flags&&bZ(e,2048)||512&t.flags&&bZ(e,512)||8192&t.flags&&bZ(e,8192))}return!1}function EV(e){let t,n=e.parent;return gf(n)&&yt(n.type)||D4(n)&&yt(D8(n))||vw(e)&&!!(t=hd(e,0))&&f6(t,sj)||(RT(n)||Rf(n)||RM(n))&&EV(n)||(NX(n)||NY(n)||Rz(n))&&EV(n.parent)}function E$(e,t,n){let r=TT(e,t,n);return EV(e)||En(e)?dV(r):Eb(e)?r:pb(r,hs(hd(e,void 0),e,void 0))}function EQ(e,t){return 164===e.name.kind&&hw(e.name),E$(e.initializer,t)}function E1(e,t){CB(e),164===e.name.kind&&hw(e.name);let n=bI(e,t);return E6(e,n,t)}function E6(e,t,n){if(n&&10&n){let r=gC(t,0,!0),i=gC(t,1,!0),a=r||i;if(a&&a.typeParameters){let t=he(e,2);if(t){let i=gC(pN(t),r?0:1,!1);if(i&&!i.typeParameters){if(8&n)return E7(e,n),nf;let t=hv(e),r=t.signature&&lk(t.signature),o=r&&gL(r);if(o&&!o.typeParameters&&!dZ(t.inferences,E9)){let e=function(e,t){let n,r;let i=[];for(let a of t){let t=a.symbol.escapedName;if(Td(e.inferredTypeParameters,t)||Td(i,t)){let o=a_(rG(262144,function(e,t){let n=t.length;for(;n>1&&t.charCodeAt(n-1)>=48&&57>=t.charCodeAt(n-1);)n--;let r=t.slice(0,n);for(let t=1;;t++){let n=r+t;if(!Td(e,n))return n}}(uE(e.inferredTypeParameters,i),t)));o.target=a,n=uD(n,a),r=uD(r,o),i.push(o)}else i.push(a)}if(r){let e=us(n,r);for(let t of r)t.mapper=e}return i}(t,a.typeParameters),n=lD(a,e),r=un(t.inferences,e=>p1(e.typeParameter));if(pX(n,i,(e,t)=>{fp(r,e,t,0,!0)}),uv(r,E9)&&(pY(n,i,(e,t)=>{fp(r,e,t)}),!function(e,t){for(let n=0;ne.symbol.escapedName===t)}function Th(e){let t=gA(e);if(t&&!t.typeParameters)return lk(t)}function Ty(e){let t=Tg(e);if(t)return t;if(134217728&e.flags&&em){let t=em[Gv(e)];if(t)return t}let n=nK,r=TT(e);return nK!==n&&((em||(em=[]))[Gv(e)]=r,kL(e,134217728|e.flags)),r}function Tg(e){var t;let n,r,i,a=xi(e,!0);if(D4(a)){let e=D8(a);if(!yt(e))return d8(e)}if(Rk(a=xi(e))){let e=Tg(a.expression);return e?xI(e):void 0}return!Rg(a)||106===a.expression.kind||E8(a,!0)||vb(a)?gf(a)&&!yt(a.type)?d8(a.type):ym(e)||yU(e)?TT(e):void 0:h6(a)?(r=pG(n=TT((t=a).expression),t.expression),(i=Th(n))&&pF(i,t,r!==n)):Th(yp(a.expression))}function TE(e){let t=rY(e);if(t.contextFreeType)return t.contextFreeType;hf(e,tE,!1);let n=t.contextFreeType=TT(e,4);return nJ--,n}function TT(e,t,r){var i,s;null==(i=Q)||i.push(Q.Phase.Check,"checkExpression",{kind:e.kind,pos:e.pos,end:e.end,path:e.tracingPath});let l=a;a=e,ek=0;let c=function(e,t,r){let i=e.kind;if(n)switch(i){case 228:case 215:case 216:n.throwIfCancellationRequested()}switch(i){case 79:return function(e,t){var n,r;if(Sj(e))return mM(e);let i=fT(e);if(i===ty)return tS;if(i===e4){if(yY(e))return rR(e,tA.arguments_cannot_be_referenced_in_property_initializers),tS;let t=Ey(e);return eM<2&&(216===t.kind?rR(e,tA.The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression):S3(t,512)&&rR(e,tA.The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method)),rY(t).flags|=512,oC(i)}(function(e){var t;let n=e.parent;if(n){if(Rh(n)&&n.expression===e||NC(n)&&n.isTypeOnly)return!1;let r=null==(t=n.parent)?void 0:t.parent;if(r&&NA(r)&&r.isTypeOnly)return!1}return!0})(e)&&mk(i,e);let a=aa(i),o=A1(a,e);rP(o)&&dn(e,o)&&o.declarations&&rF(e,o.declarations,e.escapedText);let s=a.valueDeclaration;if(s&&32&a.flags){if(260===s.kind&&EP(eF,s)){let t=Ev(e);for(;void 0!==t;){if(t===s&&t.name!==e){rY(s).flags|=1048576,rY(e).flags|=2097152;break}t=Ev(t)}}else if(228===s.kind){let t=ET(e,!1,!1);for(;308!==t.kind;){if(t.parent===s){(wV(t)&&S5(t)||wK(t))&&(rY(s).flags|=1048576,rY(e).flags|=2097152);break}t=ET(t,!1,!1)}}}!function(e,t){if(eM>=2||(34&t.flags)==0||!t.valueDeclaration||N0(t.valueDeclaration)||295===t.valueDeclaration.parent.kind)return;let n=bv(t.valueDeclaration),r=!!m9(e,e=>e===n?"quit":yF(e)||e.parent&&wV(e.parent)&&!S7(e.parent)&&e.parent.initializer===e),i=mI(n);if(i){if(r){let r=!0;if(R1(n)){let i=xx(t.valueDeclaration,258);if(i&&i.parent===n){let i=m9(e.parent,e=>e===n?"quit":e===n.initializer||e===n.condition||e===n.incrementor||e===n.statement);if(i){let e=rY(i);e.flags|=8192,uF(e.capturedBlockScopeBindings||(e.capturedBlockScopeBindings=[]),t),i===n.initializer&&(r=!1)}}}r&&(rY(i).flags|=4096)}if(R1(n)){let r=xx(t.valueDeclaration,258);r&&r.parent===n&&function(e,t){let n=e;for(;214===n.parent.kind;)n=n.parent;let r=!1;if(T3(n))r=!0;else if(221===n.parent.kind||222===n.parent.kind){let e=n.parent;r=45===e.operator||46===e.operator}return!!r&&!!m9(n,e=>e===t?"quit":e===t.statement)}(e,n)&&(rY(t.valueDeclaration).flags|=262144)}rY(t.valueDeclaration).flags|=32768}r&&(rY(t.valueDeclaration).flags|=16384)}(e,i);let l=function(e,t){var n;let r=oC(e),i=e.valueDeclaration;if(i){if(Rp(i)&&!i.initializer&&!i.dotDotDotToken&&i.parent.elements.length>=2){let n=i.parent.parent;if(257===n.kind&&2&m3(i)||166===n.kind){let r=rY(n);if(!(16777216&r.flags)){r.flags|=16777216;let a=a0(n,0),o=a&&f9(a,sq);if(r.flags&=-16777217,o&&1048576&o.flags&&!(166===n.kind&&mE(e))){let e=mv(i.parent,o,o,void 0,t.flowNode);return 131072&e.flags?tZ:a5(i,e)}}}}if(wG(i)&&!i.type&&!i.initializer&&!i.dotDotDotToken){let r=i.parent;if(r.parameters.length>=2&&u$(r)){let a=hA(r);if(a&&1===a.parameters.length&&GC(a)){let o=s1(uO(oC(a.parameters[0]),null==(n=hv(r))?void 0:n.nonFixingMapper));if(1048576&o.flags&&f3(o,pT)&&!mE(e))return dh(mv(r,o,o,void 0,t.flowNode),dK(r.parameters.indexOf(i)-(SB(r)?1:0)))}}}}return r}(a,e),c=T6(e);if(c){if(!(3&a.flags)&&!(EZ(e)&&512&a.flags))return rR(e,384&a.flags?tA.Cannot_assign_to_0_because_it_is_an_enum:32&a.flags?tA.Cannot_assign_to_0_because_it_is_a_class:1536&a.flags?tA.Cannot_assign_to_0_because_it_is_a_namespace:16&a.flags?tA.Cannot_assign_to_0_because_it_is_a_function:2097152&a.flags?tA.Cannot_assign_to_0_because_it_is_an_import:tA.Cannot_assign_to_0_because_it_is_not_a_variable,aR(i)),tS;if(bP(a))return 3&a.flags?rR(e,tA.Cannot_assign_to_0_because_it_is_a_constant,aR(i)):rR(e,tA.Cannot_assign_to_0_because_it_is_a_read_only_property,aR(i)),tS}let d=2097152&a.flags;if(3&a.flags){if(1===c)return l}else{if(!d)return l;s=r7(i)}if(!s)return l;l=mL(l,e,t);let u=166===xZ(s).kind,_=mb(s),p=mb(e),f=p!==_,m=e.parent&&e.parent.parent&&N$(e.parent)&&fY(e.parent.parent),h=134217728&i.flags;for(;p!==_&&(215===p.kind||216===p.kind||Ec(p))&&(mT(a)&&l!==C||u&&!mE(a));)p=mb(p);let y=u||d||f||m||h||function(e,t){if(Rp(t)){let n=m9(e,Rp);return n&&xZ(n)===xZ(t)}}(e,s)||l!==tT&&l!==C&&(!eU||(16387&l.flags)!=0||fx(e)||fS(e)||278===e.parent.kind)||232===e.parent.kind||257===s.kind&&s.exclamationToken||16777216&s.flags,g=y?u?(n=l,r=s,eU&&166===r.kind&&r.initializer&&16777216&fj(n)&&!function(e){let t=rY(e);if(void 0===t.parameterInitializerContainsUndefined){if(!aq(e,9))return oS(e.symbol),!0;let n=!!(16777216&fj(Ek(e,0)));if(!aX())return oS(e.symbol),!0;t.parameterInitializerContainsUndefined=n}return t.parameterInitializerContainsUndefined}(r)?fH(n,524288):n):l:l===tT||l===C?tR:pR(l),v=mv(e,l,g,p);if(mp(e)||l!==tT&&l!==C){if(!y&&!_x(l)&&_x(v))return rR(e,tA.Variable_0_is_used_before_being_assigned,aR(i)),l}else if(v===tT||v===C)return eK&&(rR(hp(s),tA.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined,aR(i),aD(v)),rR(e,tA.Variable_0_implicitly_has_an_1_type,aR(i),aD(v))),SE(v);return c?py(v):v}(e,t);case 80:let a;return function(e){if(!Ev(e))return Cz(e,tA.Private_identifiers_are_not_allowed_outside_class_bodies);if(!R2(e.parent)){if(!EH(e))return Cz(e,tA.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression);let t=RR(e.parent)&&101===e.parent.operatorToken.kind;yN(e)||t||Cz(e,tA.Cannot_find_name_0,hi(e))}}(e),(a=yN(e))&&ge(a,void 0,!1),tE;case 108:return mM(e);case 106:return mU(e);case 104:return tG;case 14:case 10:return dU(dH(e.text));case 8:return CJ(e),dU(dK(+e.text));case 9:return!(Rs(e.parent)||RI(e.parent)&&Rs(e.parent.parent))&&eM<7&&Cz(e,tA.BigInt_literals_are_not_available_when_targeting_lower_than_ES2020),dU(dq({negative:!1,base10Value:kf(e.text)}));case 110:return tK;case 95:return tj;case 225:return function(e){let t=[e.head.text],n=[];for(let r of e.templateSpans){let e=TT(r.expression);bQ(e,12288)&&rR(r.expression,tA.Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String),t.push(r.literal.text),n.push(u3(e,t7)?e:tB)}return EV(e)||function e(t){let n=t.parent;return RT(n)&&e(n)||Ry(n)&&n.argumentExpression===t}(e)||f6(hd(e,void 0)||tI,Em)?c3(t,n):tB}(e);case 13:return S;case 206:return hk(e,t,r);case 207:return function(e,t){var n;let r=T3(e);!function(e,t){let n=new Map;for(let a of e.properties){let e;if(301===a.kind){if(t){let e=xi(a.expression);if(Rf(e)||Rm(e))return Cz(a.expression,tA.A_rest_element_cannot_contain_a_binding_pattern)}continue}let o=a.name;if(164===o.kind&&CD(o),300===a.kind&&!t&&a.objectAssignmentInitializer&&Cz(a.equalsToken,tA.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern),80===o.kind&&Cz(o,tA.Private_identifiers_are_not_allowed_outside_class_bodies),Oj(a)&&a.modifiers)for(let e of a.modifiers)yD(e)&&(132!==e.kind||171!==a.kind)&&Cz(e,tA._0_modifier_cannot_be_used_here,v$(e));else if(Og(a)&&a.modifiers)for(let e of a.modifiers)yD(e)&&Cz(e,tA._0_modifier_cannot_be_used_here,v$(e));switch(a.kind){case 300:case 299:var r,i;r=a.exclamationToken,i=tA.A_definite_assignment_assertion_is_not_permitted_in_this_context,r&&Cz(r,i),CM(a.questionToken,tA.An_object_member_cannot_be_declared_optional),8===o.kind&&CJ(o),e=4;break;case 171:e=8;break;case 174:e=1;break;case 175:e=2;break;default:throw T.assertNever(a,"Unexpected syntax kind:"+a.kind)}if(!t){let t=xG(o);if(void 0===t)continue;let r=n.get(t);if(r){if(8&e&&8&r)Cz(o,tA.Duplicate_identifier_0,v$(o));else if(4&e&&4&r)Cz(o,tA.An_object_literal_cannot_have_multiple_properties_with_the_same_name,v$(o));else{if(!(3&e)||!(3&r))return Cz(o,tA.An_object_literal_cannot_have_property_and_accessor_with_the_same_name);if(3===r||e===r)return Cz(o,tA.An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name);n.set(t,e|r)}}else n.set(t,e)}}}(e,r);let i=eU?vt():void 0,a=vt(),s=[],l=no;h_(e);let c=he(e,void 0),d=c&&c.pattern&&(203===c.pattern.kind||207===c.pattern.kind),u=EV(e),_=u?8:0,p=EZ(e)&&!E0(e),f=hG(e),m=!c&&p&&!f,h=eJ,y=!1,g=!1,v=!1,b=!1;for(let t of e.properties)t.name&&wP(t.name)&&hw(t.name);let E=0;for(let n of e.properties){let o=i7(n),m=n.name&&164===n.name.kind?hw(n.name):void 0;if(299===n.kind||300===n.kind||El(n)){let a=299===n.kind?EQ(n,t):300===n.kind?E$(!r&&n.objectAssignmentInitializer?n.objectAssignmentInitializer:n.name,t):E1(n,t);if(p){let e=a7(n);e?(_t(a,e,n),a=e):f&&f.typeExpression&&_t(a,d8(f.typeExpression),n)}h|=458752<(a);let s=m&&o5(m)?m:void 0,l=s?rG(4|o.flags,sn(s),4096|_):rG(4|o.flags,o.escapedName,_);if(s&&(l.links.nameType=s),r)(299===n.kind&&hC(n.initializer)||300===n.kind&&n.objectAssignmentInitializer)&&(l.flags|=16777216);else if(d&&!(512<(c))){let e=le(c,o.escapedName);e?l.flags|=16777216&e.flags:eO.suppressExcessPropertyErrors||ll(c,tB)||rR(n.name,tA.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,aR(o),aD(c))}if(l.declarations=o.declarations,l.parent=o.parent,o.valueDeclaration&&(l.valueDeclaration=o.valueDeclaration),l.links.type=a,l.links.target=o,o=l,null==i||i.set(l.escapedName,l),c&&t&&2&t&&!(4&t)&&(299===n.kind||171===n.kind)&&uj(n)){let t=hv(e);T.assert(t),p0(t,299===n.kind?n.initializer:n,a)}}else if(301===n.kind){eM<2&&Ch(n,2),s.length>0&&(l=dP(l,x(),e.symbol,h,u),s=[],a=vt(),g=!1,v=!1,b=!1);let t=s6(TT(n.expression));if(hO(t)){let r=dM(t,u);if(i&&hV(r,i,n),E=s.length,aZ(l))continue;l=dP(l,r,e.symbol,h,u)}else rR(n,tA.Spread_types_may_only_be_created_from_object_types),l=tS;continue}else T.assert(174===n.kind||175===n.kind),Lt(n);m&&!(8576&m.flags)?u3(m,t6)&&(u3(m,tU)?v=!0:u3(m,t$)?b=!0:g=!0,r&&(y=!0)):a.set(o.escapedName,o),s.push(o)}if(nJ--,d){let t=m9(c.pattern.parent,e=>257===e.kind||223===e.kind||166===e.kind);if(301!==m9(e,e=>e===t||301===e.kind).kind)for(let e of sB(c))a.get(e.escapedName)||le(l,e.escapedName)||(16777216&e.flags||rR(e.valueDeclaration||(null==(n=_E(e,vn))?void 0:n.links.bindingElement),tA.Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value),a.set(e.escapedName,e),s.push(e))}if(aZ(l))return tS;if(l!==no)return s.length>0&&(l=dP(l,x(),e.symbol,h,u),s=[],a=vt(),g=!1,v=!1),f9(l,e=>e===no?x():e);return x();function x(){let t=[];g&&t.push(hN(e,E,s,tB)),v&&t.push(hN(e,E,s,tU)),b&&t.push(hN(e,E,s,t$));let n=ah(e.symbol,a,o,o,t);return n.objectFlags|=131200|h,m&&(n.objectFlags|=4096),y&&(n.objectFlags|=512),r&&(n.pattern=e),n}}(e,t);case 208:return yA(e,t);case 163:return yC(e,t);case 209:let s,l;return 32&e.flags?(l=pG(s=TT(e.expression),e.expression),pF(gc(e,yT(l,e.expression),t),e,l!==s)):gc(e,yp(e.expression),t);case 210:if(100===e.expression.kind)return function(e){if(function(e){if(eO.verbatimModuleSyntax&&1===eP)return Cz(e,tA.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled);if(5===eP)return Cz(e,tA.Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node16_or_nodenext);if(e.typeArguments)return Cz(e,tA.This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments);let t=e.arguments;if(99!==eP&&199!==eP&&100!==eP&&(CS(t),t.length>1))return Cz(t[1],tA.Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_or_nodenext);if(0===t.length||t.length>2)return Cz(e,tA.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments);let n=d0(t,RM);n&&Cz(n,tA.Argument_of_dynamic_import_cannot_be_spread_element)}(e),0===e.arguments.length)return bc(e,tE);let t=e.arguments[0],n=Eg(t),r=e.arguments.length>1?Eg(e.arguments[1]):void 0;for(let t=2;t(function(e){let t=EE(e);if(t&&wK(t))rR(e,tA.Await_expression_cannot_be_used_inside_a_class_static_block);else if(!(32768&e.flags)){if(ES(e)){let t=vS(e);if(!CH(t)){let n;if(!bl(t,eO)){null!=n||(n=bF(t,e.pos));let r=LQ(t,n.start,n.length,tA.await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module);r_.add(r)}switch(eP){case 100:case 199:if(1===t.impliedNodeFormat){null!=n||(n=bF(t,e.pos)),r_.add(LQ(t,n.start,n.length,tA.The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level));break}case 7:case 99:case 4:if(eM>=4)break;default:null!=n||(n=bF(t,e.pos)),r_.add(LQ(t,n.start,n.length,tA.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher))}}}else{let n=vS(e);if(!CH(n)){let r=bF(n,e.pos),i=LQ(n,r.start,r.length,tA.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules);t&&173!==t.kind&&(2&xN(t))==0&&kl(i,bC(t,tA.Did_you_mean_to_mark_this_function_as_async)),r_.add(i)}}}mW(e)&&rR(e,tA.await_expressions_cannot_be_used_in_a_parameter_initializer)})(e)),(f=xT(p=TT(e.expression),!0,e,tA.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member))!==p||aZ(f)||3&p.flags||rN(!1,bC(e,tA.await_has_no_effect_on_the_type_of_this_expression)),f;case 221:return function(e){let t=TT(e.operand);if(t===t0)return t0;switch(e.operand.kind){case 8:switch(e.operator){case 40:return dU(dK(-e.operand.text));case 39:return dU(dK(+e.operand.text))}break;case 9:if(40===e.operator)return dU(dq({negative:!0,base10Value:kf(e.operand.text)}))}switch(e.operator){case 39:case 40:case 54:if(yT(t,e.operand),bQ(t,12288)&&rR(e.operand,tA.The_0_operator_cannot_be_applied_to_type_symbol,tF[e.operator]),39===e.operator)return bQ(t,2112)&&rR(e.operand,tA.Operator_0_cannot_be_applied_to_type_1,tF[e.operator],aD(py(t))),tU;return b$(t);case 53:SI(e.operand);let n=12582912&fj(t);return 4194304===n?tj:8388608===n?tK:tY;case 45:case 46:return bN(e.operand,yT(t,e.operand),tA.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&bY(e.operand,tA.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,tA.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access),b$(t)}return tS}(e);case 222:let m;return(m=TT(e.operand))===t0?t0:(bN(e.operand,yT(m,e.operand),tA.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&bY(e.operand,tA.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,tA.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access),b$(m));case 223:return eY(e,t);case 224:let h;return h=SI(e.condition),SC(e.condition,h,e.whenTrue),cH([TT(e.whenTrue,t),TT(e.whenFalse,t)],2);case 227:return eM<2&&Ch(e,eO.downlevelIteration?1536:1024),SN(33,TT(e.expression,t),tR,e.expression);case 229:return tN;case 226:return function(e){eb(function(){8192&e.flags||CK(e,tA.A_yield_expression_is_only_allowed_in_a_generator_body),mW(e)&&rR(e,tA.yield_expressions_cannot_be_used_in_a_parameter_initializer)});let t=Ey(e);if(!t)return tE;let n=xN(t);if(!(1&n))return tE;let r=(2&n)!=0;e.asteriskToken&&(r&&eM<99&&Ch(e,26624),!r&&eM<2&&eO.downlevelIteration&&Ch(e,256));let i=lI(t),a=i&&Ap(i,r),o=a&&a.yieldType||tE,s=a&&a.nextType||tE,l=r?xI(s)||tE:s,c=e.expression?TT(e.expression):tN,d=b_(e,c,l,r);if(i&&d&&_n(d,o,e.expression||e,e.expression),e.asteriskToken)return SO(r?19:17,1,c,e.expression)||tE;if(i)return A_(2,i,r)||tE;let u=mz(2,t);return u||(u=tE,eb(()=>{if(eK&&!kN(e)){let t=hd(e,void 0);(!t||aQ(t))&&rR(e,tA.yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation)}})),u}(e);case 234:return e.isSpread?dh(e.type,tU):e.type;case 291:return function(e,t){if(e.expression&&D2(e.expression)&&Cz(e.expression,tA.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array),!e.expression)return tS;{let n=TT(e.expression,t);return e.dotDotDotToken&&n!==tE&&!_1(n)&&rR(e,tA.JSX_spread_child_must_be_an_array_type),n}}(e,t);case 281:case 282:return Lt(e),yn(e)||tE;case 285:let y;return yi(e.openingFragment),y=vS(e),Ck(eO)&&(eO.jsxFactory||y.pragmas.has("jsx"))&&!eO.jsxFragmentFactory&&!y.pragmas.has("jsxfrag")&&rR(e,eO.jsxFactory?tA.The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:tA.An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments),hU(e),yn(e)||tE;case 289:return function(e,t){let n;let r=e.attributes,i=hd(r,0),a=eU?vt():void 0,s=vt(),l=ns,c=!1,d=!1,u=2048,_=h$(hJ(e));for(let e of r.properties){let o=e.symbol;if(NV(e)){let n=hF(e,t);u|=458752<(n);let r=rG(4|o.flags,o.escapedName);if(r.declarations=o.declarations,r.parent=o.parent,o.valueDeclaration&&(r.valueDeclaration=o.valueDeclaration),r.links.type=n,r.links.target=o,s.set(r.escapedName,r),null==a||a.set(r.escapedName,r),e.name.escapedText===_&&(d=!0),i){let t=le(i,o.escapedName);t&&t.declarations&&rP(t)&&rF(e.name,t.declarations,e.name.escapedText)}}else{T.assert(290===e.kind),s.size>0&&(l=dP(l,f(),r.symbol,u,!1),s=vt());let i=s6(Eg(e.expression,t));aQ(i)&&(c=!0),hO(i)?(l=dP(l,i,r.symbol,u,!1),a&&hV(i,a,e)):(rR(e.expression,tA.Spread_types_may_only_be_created_from_object_types),n=n?cJ([n,i]):i)}}!c&&s.size>0&&(l=dP(l,f(),r.symbol,u,!1));let p=281===e.parent.kind?e.parent:void 0;if(p&&p.openingElement===e&&p.children.length>0){let n=hU(p,t);if(!c&&_&&""!==_){d&&rR(r,tA._0_are_specified_twice_The_attribute_named_0_will_be_overwritten,hr(_));let t=he(e.attributes,void 0),i=t&&mQ(t,_),a=rG(4,_);a.links.type=1===n.length?n[0]:i&&f6(i,pc)?cD(n):ck(cH(n)),a.valueDeclaration=nU.createPropertySignature(void 0,hr(_),void 0,void 0),kC(a.valueDeclaration,r),a.valueDeclaration.symbol=a;let s=vt();s.set(_,a),l=dP(l,ah(r.symbol,s,o,o,o),r.symbol,u,!1)}}if(c)return tE;if(n&&l!==ns)return cJ([n,l]);return n||(l===ns?f():l);function f(){u|=eJ;let e=ah(r.symbol,s,o,o,o);return e.objectFlags|=131200|u,e}}(e.parent,t);case 283:T.fail("Shouldn't ever directly check a JsxOpeningElement")}return tS}(e,t,r),d=E6(e,c,t);return b2(d)&&(208===e.parent.kind&&e.parent.expression===e||209===e.parent.kind&&e.parent.expression===e||(79===e.kind||163===e.kind)&&Lh(e)||183===e.parent.kind&&e.parent.exprName===e||278===e.parent.kind||rR(e,tA.const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query),Cs(eO)&&(T.assert(!!(128&d.symbol.flags)),16777216&d.symbol.valueDeclaration.flags&&rR(e,tA.Cannot_access_ambient_const_enums_when_0_is_enabled,e6))),a=l,null==(s=Q)||s.pop(),d}function TC(e){Cb(e),e.expression&&CK(e.expression,tA.Type_expected),A7(e.constraint),A7(e.default);let t=o$(i7(e));sz(t),sY(t)!==nh||rR(e.default,tA.Type_parameter_0_has_a_circular_default,aD(t));let n=sV(t),r=s$(t);n&&r&&_t(r,ss(uO(n,uc(t,r)),r),e.default,tA.Type_0_does_not_satisfy_the_constraint_1),Lt(e),eb(()=>Ax(e.name,tA.Type_parameter_name_cannot_be_0))}function TI(e){Cb(e),ST(e);let t=Ey(e);S3(e,16476)&&(173===t.kind&&vD(t.body)||rR(e,tA.A_parameter_property_is_only_allowed_in_a_constructor_implementation),173===t.kind&&wb(e.name)&&"constructor"===e.name.escapedText&&rR(e.name,tA.constructor_cannot_be_used_as_a_parameter_property_name)),!e.initializer&&kQ(e)&&y2(e.name)&&t.body&&rR(e,tA.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature),e.name&&wb(e.name)&&("this"===e.name.escapedText||"new"===e.name.escapedText)&&(0!==t.parameters.indexOf(e)&&rR(e,tA.A_0_parameter_must_be_the_first_parameter,e.name.escapedText),(173===t.kind||177===t.kind||182===t.kind)&&rR(e,tA.A_constructor_cannot_have_a_this_parameter),216===t.kind&&rR(e,tA.An_arrow_function_cannot_have_a_this_parameter),(174===t.kind||175===t.kind)&&rR(e,tA.get_and_set_accessors_cannot_declare_this_parameters)),!e.dotDotDotToken||y2(e.name)||u3(s6(oC(e.symbol)),k)||rR(e,tA.A_rest_parameter_must_be_of_an_array_type)}function TR(e){178===e.kind?Cb(e)||function(e){let t=e.parameters[0];if(1!==e.parameters.length)return t?Cz(t.name,tA.An_index_signature_must_have_exactly_one_parameter):Cz(e,tA.An_index_signature_must_have_exactly_one_parameter);if(CS(e.parameters,tA.An_index_signature_cannot_have_a_trailing_comma),t.dotDotDotToken)return Cz(t.dotDotDotToken,tA.An_index_signature_cannot_have_a_rest_parameter);if(S4(t))return Cz(t.name,tA.An_index_signature_parameter_cannot_have_an_accessibility_modifier);if(t.questionToken)return Cz(t.questionToken,tA.An_index_signature_parameter_cannot_have_a_question_mark);if(t.initializer)return Cz(t.name,tA.An_index_signature_parameter_cannot_have_an_initializer);if(!t.type)return Cz(t.name,tA.An_index_signature_parameter_must_have_a_type_annotation);let n=d8(t.type);return f6(n,e=>!!(8576&e.flags))||dl(n)?Cz(t.name,tA.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead):f3(n,lj)?!e.type&&Cz(e,tA.An_index_signature_must_have_a_type_annotation):Cz(t.name,tA.An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type)}(e):(181===e.kind||259===e.kind||182===e.kind||176===e.kind||173===e.kind||177===e.kind)&&CL(e);let t=xN(e);!(4&t)&&((3&t)==3&&eM<99&&Ch(e,6144),(3&t)==2&&eM<4&&Ch(e,64),(3&t)!=0&&eM<2&&Ch(e,128)),AL(hZ(e)),function(e){let t=d9(hq(e),Dx);if(!dW(t))return;let n=EZ(e),r=new Set,i=new Set;if(dz(e.parameters,({name:e},t)=>{wb(e)&&r.add(e.escapedText),y2(e)&&i.add(t)}),lT(e)){let e=t.length-1,a=t[e];n&&a&&wb(a.name)&&a.typeExpression&&a.typeExpression.type&&!r.has(a.name.escapedText)&&!i.has(e)&&!_1(d8(a.typeExpression.type))&&rR(a.name,tA.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type,hi(a.name))}else dz(t,({name:e,isNameFirst:t},a)=>{!(i.has(a)||wb(e)&&r.has(e.escapedText))&&(wM(e)?n&&rR(e,tA.Qualified_name_0_is_not_allowed_without_a_leading_param_object_1,bL(e),bL(e.left)):t||rD(n,e,tA.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name,hi(e)))})}(e),dz(e.parameters,TI),e.type&&A7(e.type),eb(function(){eM>=2||!g3(e)||16777216&e.flags||vN(e.body)||dz(e.parameters,e=>{e.name&&!y2(e.name)&&e.name.escapedText===e4.escapedName&&rI("noEmit",e,tA.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters)});let t=Sq(e);if(eK&&!t)switch(e.kind){case 177:rR(e,tA.Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);break;case 176:rR(e,tA.Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type)}if(t){let n=xN(e);if((5&n)==1){let e=d8(t);if(e===tQ)rR(t,tA.A_generator_cannot_have_a_void_type_annotation);else{let r=A_(0,e,(2&n)!=0)||tE,i=A_(1,e,(2&n)!=0)||r;_t(bu(r,i,A_(2,e,(2&n)!=0)||tI,!!(2&n)),e,t)}}else(3&n)==2&&function(e,t){let n=d8(t);if(eM>=2){if(aZ(n))return;let e=cg(!0);if(e!==np&&!oI(n,e)){rR(t,tA.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0,aD(xw(n)||tQ));return}}else{if(xW(t&&ED(t),!1),aZ(n))return;let r=ED(t);if(void 0===r){rR(t,tA.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,aD(n));return}let i=iB(r,111551,!0),a=i?oC(i):tS;if(aZ(a)){79===r.kind&&"Promise"===r.escapedText&&ow(n)===cg(!1)?rR(t,tA.An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option):rR(t,tA.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,bL(r));return}let o=F||(F=c_("PromiseConstructorLike",0,!0))||no;if(o===no){rR(t,tA.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,bL(r));return}if(!_t(a,o,t,tA.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value))return;let s=r&&Aw(r),l=rQ(e.locals,s.escapedText,111551);if(l){rR(l.valueDeclaration,tA.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,hi(s),bL(r));return}}xT(n,!1,e,tA.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}(e,t)}178!==e.kind&&320!==e.kind&&x6(e)})}function TN(e){let t=new Map;for(let n of e.members)if(168===n.kind){let e;let r=n.name;switch(r.kind){case 10:case 8:e=r.text;break;case 79:e=hi(r);break;default:continue}t.get(e)?(rR(hp(n.symbol.valueDeclaration),tA.Duplicate_identifier_0,e),rR(n.name,tA.Duplicate_identifier_0,e)):t.set(e,!0)}}function TM(e){if(261===e.kind){let t=i7(e);if(t.declarations&&t.declarations.length>0&&t.declarations[0]!==e)return}let t=lF(i7(e));if(null==t?void 0:t.declarations){let e=new Map;for(let n of t.declarations)1===n.parameters.length&&n.parameters[0].type&&f8(d8(n.parameters[0].type),t=>{let r=e.get(cB(t));r?r.declarations.push(n):e.set(cB(t),{type:t,declarations:[n]})});e.forEach(e=>{if(e.declarations.length>1)for(let t of e.declarations)rR(t,tA.Duplicate_index_signature_for_type_0,aD(e.type))})}}function TV(e){Cb(e)||function(e){if(wP(e.name)&&RR(e.name.expression)&&101===e.name.expression.operatorToken.kind)return Cz(e.parent.members[0],tA.A_mapped_type_may_not_declare_properties_or_methods);if(yW(e.parent)){if(wr(e.name)&&"constructor"===e.name.text)return Cz(e.name,tA.Classes_may_not_have_a_field_named_constructor);if(CG(e.name,tA.A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type))return!0;if(eM<2&&wE(e.name))return Cz(e.name,tA.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(eM<2&&yq(e))return Cz(e.name,tA.Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(yq(e)&&CM(e.questionToken,tA.An_accessor_property_cannot_be_declared_optional))return!0}else if(261===e.parent.kind){if(CG(e.name,tA.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type))return!0;if(T.assertNode(e,wU),e.initializer)return Cz(e.initializer,tA.An_interface_property_cannot_have_an_initializer)}else if(w2(e.parent)){if(CG(e.name,tA.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type))return!0;if(T.assertNode(e,wU),e.initializer)return Cz(e.initializer,tA.A_type_literal_property_cannot_have_an_initializer)}if(16777216&e.flags&&CV(e),wV(e)&&e.exclamationToken&&(!yW(e.parent)||!e.type||e.initializer||16777216&e.flags||S5(e)||Ae(e))){let t=e.initializer?tA.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:e.type?tA.A_definite_assignment_assertion_is_not_permitted_in_this_context:tA.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations;return Cz(e.exclamationToken,t)}}(e)||CD(e.name),ST(e),Tj(e),S3(e,256)&&169===e.kind&&e.initializer&&rR(e,tA.Property_0_cannot_have_an_initializer_because_it_is_marked_abstract,bE(e.name))}function Tj(e){if(wE(e.name)&&eM<99){for(let t=bv(e);t;t=bv(t))rY(t).flags|=4194304;if(RP(e.parent)){let t=mI(e.parent);t&&(rY(e.name).flags|=32768,rY(t).flags|=4096)}}}function TK(e){wb(e.name)&&"constructor"===hi(e.name)&&rR(e.name,tA.Class_constructor_may_not_be_an_accessor),eb(function(){if(CL(e)||function(e){if(!(16777216&e.flags)&&184!==e.parent.kind&&261!==e.parent.kind){if(eM<1)return Cz(e.name,tA.Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher);if(eM<2&&wE(e.name))return Cz(e.name,tA.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(void 0===e.body&&!S3(e,256))return CW(e,e.end-1,1,tA._0_expected,"{")}if(e.body){if(S3(e,256))return Cz(e,tA.An_abstract_accessor_cannot_have_an_implementation);if(184===e.parent.kind||261===e.parent.kind)return Cz(e.body,tA.An_implementation_cannot_be_declared_in_ambient_contexts)}if(e.typeParameters)return Cz(e.name,tA.An_accessor_cannot_have_type_parameters);if(!(CF(e)||e.parameters.length===(174===e.kind?0:1)))return Cz(e.name,174===e.kind?tA.A_get_accessor_cannot_have_parameters:tA.A_set_accessor_must_have_exactly_one_parameter);if(175===e.kind){if(e.type)return Cz(e.name,tA.A_set_accessor_cannot_have_a_return_type_annotation);let t=T.checkDefined(SF(e),"Return value does not match parameter count assertion.");if(t.dotDotDotToken)return Cz(t.dotDotDotToken,tA.A_set_accessor_cannot_have_rest_parameter);if(t.questionToken)return Cz(t.questionToken,tA.A_set_accessor_cannot_have_an_optional_parameter);if(t.initializer)return Cz(e.name,tA.A_set_accessor_parameter_cannot_have_an_initializer)}return!1}(e)||CD(e.name),x2(e),TR(e),174===e.kind&&!(16777216&e.flags)&&vD(e.body)&&256&e.flags&&!(512&e.flags)&&rR(e.name,tA.A_get_accessor_must_return_a_value),164===e.name.kind&&hw(e.name),st(e)){let t=i7(e),n=g9(t,174),r=g9(t,175);if(n&&r&&!(1&LX(n))){rY(n).flags|=1;let e=Al(n),t=Al(r);(256&e)!=(256&t)&&(rR(n.name,tA.Accessors_must_both_be_abstract_or_non_abstract),rR(r.name,tA.Accessors_must_both_be_abstract_or_non_abstract)),(16&e&&!(24&t)||8&e&&!(8&t))&&(rR(n.name,tA.A_get_accessor_must_be_at_least_as_accessible_as_the_setter),rR(r.name,tA.A_get_accessor_must_be_at_least_as_accessible_as_the_setter));let i=og(n),a=og(r);i&&a&&_t(i,a,n,tA.The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type)}}let t=ov(i7(e));174===e.kind&&bS(e,t)}),A7(e.body),Tj(e)}function Tq(e,t){return lv(un(e.typeArguments,d8),t,lg(t),EZ(e))}function TJ(e,t){let n,r;let i=!0;for(let a=0;a{let t=TX(e);t&&TJ(e,t)});let t=rY(e).resolvedSymbol;t&&uv(t.declarations,e=>kz(e)&&!!(268435456&e.flags))&&rF(vv(e),t.declarations,t.escapedName)}}function T5(e,t){if(!(8388608&e.flags))return e;let n=e.objectType,r=e.indexType;if(u3(r,c8(n,!1)))return 209===t.kind&&T3(t)&&32<(n)&&1&sR(n)&&rR(t,tA.Index_signature_in_type_0_only_permits_reading,aD(n)),e;let i=s0(n);if(ll(i,tU)&&b0(r,296))return e;if(dc(n)){let e=dt(r,t);if(e){let n=f8(i,t=>le(t,e));if(n&&24&Ld(n))return rR(t,tA.Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter,hr(e)),tS}}return rR(t,tA.Type_0_cannot_be_used_to_index_type_1,aD(r),aD(n)),tS}function T9(e){return(S6(e,8)||yk(e))&&!!(16777216&e.flags)}function xr(e,t){let n=m8(e);return 261!==e.parent.kind&&260!==e.parent.kind&&228!==e.parent.kind&&16777216&e.flags&&(2&n||Nu(e.parent)&&Nd(e.parent.parent)&&bi(e.parent.parent)||(n|=1),n|=2),n&t}function xl(e){eb(()=>(function(e){let t,n,r;function i(e,t){return void 0!==t&&t.parent===e[0].parent?t:e[0]}let a=0,o=283,s=!1,l=!0,c=!1,d=e.declarations,u=(16384&e.flags)!=0;function _(e){if(e.name&&vN(e.name))return;let t=!1,n=Mr(e.parent,n=>{if(t)return n;t=n===e});if(n&&n.pos===e.end&&n.kind===e.kind){let t=n.name||n,r=n.name;if(e.name&&r&&(wE(e.name)&&wE(r)&&e.name.escapedText===r.escapedText||wP(e.name)&&wP(r)||xB(e.name)&&xB(r)&&xV(e.name)===xV(r))){(171===e.kind||170===e.kind)&&S5(e)!==S5(n)&&rR(t,S5(e)?tA.Function_overload_must_be_static:tA.Function_overload_must_not_be_static);return}if(vD(n.body)){rR(t,tA.Function_implementation_name_must_be_0,bE(e.name));return}}let r=e.name||e;u?rR(r,tA.Constructor_implementation_is_missing):S3(e,256)?rR(r,tA.All_declarations_of_an_abstract_method_must_be_consecutive):rR(r,tA.Function_implementation_is_missing_or_not_immediately_following_the_declaration)}let p=!1,f=!1,m=!1,h=[];if(d)for(let e of d){let i=16777216&e.flags,d=e.parent&&(261===e.parent.kind||184===e.parent.kind)||i;if(d&&(r=void 0),260!==e.kind&&228!==e.kind||i||(m=!0),259===e.kind||171===e.kind||170===e.kind||173===e.kind){h.push(e);let i=xr(e,283);a|=i,o&=i,s=s||TF(e),l=l&&TF(e);let m=vD(e.body);m&&t?u?f=!0:p=!0:(null==r?void 0:r.parent)===e.parent&&r.end!==e.pos&&_(r),m?t||(t=e):c=!0,r=e,d||(n=e)}if(EZ(e)&&yF(e)&&e.jsDoc){for(let t of e.jsDoc)if(t.tags)for(let e of t.tags)Dv(e)&&(c=!0)}}if(f&&dz(h,e=>{rR(e,tA.Multiple_constructor_implementations_are_not_allowed)}),p&&dz(h,e=>{rR(hp(e)||e,tA.Duplicate_function_implementation)}),m&&!u&&16&e.flags&&d){let t=d9(d,e=>260===e.kind).map(e=>bC(e,tA.Consider_adding_a_declare_modifier_to_this_class));dz(d,n=>{let r=260===n.kind?tA.Class_declaration_cannot_implement_overload_list_for_0:259===n.kind?tA.Function_with_bodies_can_only_merge_with_classes_that_are_ambient:void 0;r&&kl(rR(hp(n)||n,r,ho(e)),...t)})}if(!n||n.body||S3(n,256)||n.questionToken||_(n),c&&(d&&(function(e,t,n,r,a){if(0!=(r^a)){let r=xr(i(e,t),n);dz(e,e=>{let t=xr(e,n)^r;1&t?rR(hp(e),tA.Overload_signatures_must_all_be_exported_or_non_exported):2&t?rR(hp(e),tA.Overload_signatures_must_all_be_ambient_or_non_ambient):24&t?rR(hp(e)||e,tA.Overload_signatures_must_all_be_public_private_or_protected):256&t&&rR(hp(e),tA.Overload_signatures_must_all_be_abstract_or_non_abstract)})}}(d,t,283,a,o),function(e,t,n,r){if(n!==r){let n=TF(i(e,t));dz(e,e=>{TF(e)!==n&&rR(hp(e),tA.Overload_signatures_must_all_be_optional_or_required)})}}(d,t,s,l)),t)){let n=lx(e),r=lb(t);for(let e of n)if(!function(e,t){let n=lM(e),r=lM(t),i=lk(n),a=lk(r);return!!(a===tQ||_L(a,i,ry)||_L(i,a,ry))&&0!==_m(n,r,4,!1,void 0,void 0,u4,void 0)}(r,e)){kl(rR(e.declaration&&Dc(e.declaration)?e.declaration.parent.tagName:e.declaration,tA.This_overload_signature_is_not_compatible_with_its_implementation_signature),bC(t,tA.The_implementation_signature_is_declared_here));break}}})(e))}function xd(e){eb(()=>(function(e){let t=e.localSymbol;if(!t&&!(t=i7(e)).exportSymbol||g9(t,e.kind)!==e)return;let n=0,r=0,i=0;for(let e of t.declarations){let t=l(e),a=xr(e,1025);1&a?1024&a?i|=t:n|=t:r|=t}let a=n|r,o=n&r,s=i&a;if(o||s)for(let e of t.declarations){let t=l(e),n=hp(e);t&s?rR(n,tA.Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead,bE(n)):t&o&&rR(n,tA.Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local,bE(n))}function l(e){let t=e;switch(t.kind){case 261:case 262:case 349:case 341:case 343:return 2;case 264:return v7(t)||0!==FK(t)?5:4;case 260:case 263:case 302:return 3;case 308:return 7;case 274:case 223:let n=t,r=NS(n)?n.expression:n.right;if(!AI(r))return 1;t=r;case 268:case 271:case 270:let i=0;return dz(iw(i7(t)).declarations,e=>{i|=l(e)}),i;case 257:case 205:case 259:case 273:case 79:return 1;case 170:case 168:return 2;default:return T.failBadSyntaxKind(t)}}})(e))}function xu(e,t,n,r){let i=xb(e,t);return i&&xI(i,t,n,r)}function xb(e,t,n){let r,i;if(aQ(e))return;if(e.promisedTypeOfPromise)return e.promisedTypeOfPromise;if(oI(e,cg(!1)))return e.promisedTypeOfPromise=l0(e)[0];if(b1(sq(e),134479868))return;let a=a$(e,"then");if(aQ(a))return;let s=a?ln(a,0):o;if(0===s.length){t&&rR(t,tA.A_promise_must_have_a_then_method);return}for(let t of s){let n=lA(t);n&&n!==tQ&&!_L(e,n,rm)?r=n:i=uD(i,t)}if(!i){T.assertIsDefined(r),n&&(n.value=r),t&&rR(t,tA.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1,aD(e),aD(r));return}let l=fH(cH(un(i,v0)),2097152);if(aQ(l))return;let c=ln(l,0);if(0===c.length){t&&rR(t,tA.The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback);return}return e.promisedTypeOfPromise=cH(un(c,v0),2)}function xT(e,t,n,r,i){return(t?xI(e,n,r,i):xw(e,n,r,i))||tS}function xS(e){if(b1(sq(e),134479868))return!1;let t=a$(e,"then");return!!t&&ln(fH(t,2097152),0).length>0}function xA(e){var t;if(16777216&e.flags){let n=cS(!1);return!!n&&e.aliasSymbol===n&&(null==(t=e.aliasTypeArguments)?void 0:t.length)===1}return!1}function xL(e){return 1048576&e.flags?f9(e,xL):xA(e)?e.aliasTypeArguments[0]:e}function xC(e){if(aQ(e)||xA(e))return!1;if(dc(e)){let t=sz(e);if(t?3&t.flags||_g(t)||f6(t,xS):bZ(e,8650752))return!0}return!1}function xI(e,t,n,r){let i=xw(e,t,n,r);return i&&function(e){if(xC(e)){let t=function(e){let t=cS(!0);if(t)return l4(t,[xL(e)])}(e);if(t)return t}return T.assert(xA(e)||void 0===xb(e),"type provided should not be a non-generic 'promise'-like."),e}(i)}function xw(e,t,n,r){if(aQ(e)||xA(e))return e;if(e.awaitedTypeOfType)return e.awaitedTypeOfType;if(1048576&e.flags){if(ru.lastIndexOf(e.id)>=0){t&&rR(t,tA.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method);return}let i=t?e=>xw(e,t,n,r):xw;ru.push(e.id);let a=f9(e,i);return ru.pop(),e.awaitedTypeOfType=a}if(xC(e))return e.awaitedTypeOfType=e;let i={value:void 0},a=xb(e,void 0,i);if(a){if(e.id===a.id||ru.lastIndexOf(a.id)>=0){t&&rR(t,tA.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method);return}ru.push(e.id);let i=xw(a,t,n,r);if(ru.pop(),!i)return;return e.awaitedTypeOfType=i}if(xS(e)){if(t){let a;T.assertIsDefined(n),i.value&&(a=L2(a,tA.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1,aD(e),aD(i.value))),a=L2(a,n,r),r_.add(bw(vS(t),t,a))}return}return e.awaitedTypeOfType=e}function xR(e,t,n,r,i,a=n.length,s=0){return sc(nU.createFunctionTypeNode(void 0,o,nU.createKeywordTypeNode(131)),e,t,n,r,i,a,s)}function xM(e){return lP(xR(void 0,void 0,o,e,void 0,void 0,void 0))}function xj(e){return lP(xR(void 0,void 0,[rB("value",e)],tQ,void 0,void 0,void 0))}function xW(e,t){if(!e)return;let n=Aw(e),r=(79===e.kind?788968:1920)|2097152,i=r0(n,n.escapedText,r,void 0,void 0,!0);if(i&&2097152&i.flags){if(!eO.verbatimModuleSyntax&&ao(i)&&!Lj(iw(i))&&!iO(i))iP(i);else if(t&&Cs(eO)&&Cn(eO)>=5&&!ao(i)&&!uv(i.declarations,yx)){let t=rR(e,tA.A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled),r=d0(i.declarations||o,r9);r&&kl(t,bC(r,tA._0_was_imported_here,hi(n)))}}}function xz(e){let t=xq(e);t&&yO(t)&&xW(t,!0)}function xq(e){if(e)switch(e.kind){case 190:case 189:return xJ(e.types);case 191:return xJ([e.trueType,e.falseType]);case 193:case 199:return xq(e.type);case 180:return e.typeName}}function xJ(e){let t;for(let n of e){for(;193===n.kind||199===n.kind;)n=n.type;if(144===n.kind||!eU&&(198===n.kind&&104===n.literal.kind||155===n.kind))continue;let e=xq(n);if(!e)return;if(t){if(!wb(t)||!wb(e)||t.escapedText!==e.escapedText)return}else t=e}return t}function xY(e){let t=SW(e);return g5(e)?b5(t):t}function x2(e){if(!OH(e)||!Ai(e)||!e.modifiers||!EM(eF,e,e.parent,e.parent.parent))return;let t=d0(e.modifiers,wB);if(t){if(eF?(Ch(t,8),166===e.kind&&Ch(t,32)):eM<99&&((Ch(t,8),No(e))?e.name?AG(e)&&Ch(t,8388608):Ch(t,8388608):!RP(e)&&(wE(e.name)&&(wH(e)||yz(e)||yq(e))&&Ch(t,8388608),wP(e.name)&&Ch(t,16777216))),eO.emitDecoratorMetadata)switch(Ch(t,16),e.kind){case 260:let n=SP(e);if(n)for(let e of n.parameters)xz(xY(e));break;case 174:case 175:let r=174===e.kind?175:174,i=g9(i7(e),r);xz(oy(e)||i&&oy(i));break;case 171:for(let t of e.parameters)xz(xY(t));xz(Sq(e));break;case 169:xz(SW(e));break;case 166:for(let t of(xz(xY(e)),e.parent.parameters))xz(xY(t))}for(let t of e.modifiers)wB(t)&&function(e){let t;let n=vf(e);vg(n,e);let r=lk(n);if(1&r.flags)return;let i=be(e);if(!(null==i?void 0:i.resolvedReturnType))return;let a=i.resolvedReturnType;switch(e.parent.kind){case 260:case 228:t=tA.Decorator_function_return_type_0_is_not_assignable_to_type_1;break;case 169:if(!eF){t=tA.Decorator_function_return_type_0_is_not_assignable_to_type_1;break}case 166:t=tA.Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any;break;case 171:case 174:case 175:t=tA.Decorator_function_return_type_0_is_not_assignable_to_type_1;break;default:return T.failBadSyntaxKind(e.parent)}_t(r,a,e.expression,t)}(t)}}function x4(e){switch(e.kind){case 79:return e;case 208:return e.name;default:return}}function x8(e){var t;x2(e),TR(e);let n=xN(e);if(e.name&&164===e.name.kind&&hw(e.name),st(e)){let n=i7(e),r=e.localSymbol||n,i=null==(t=r.declarations)?void 0:t.find(t=>t.kind===e.kind&&!(262144&t.flags));e===i&&xl(r),n.parent&&xl(n)}let r=170===e.kind?void 0:e.body;if(A7(r),bS(e,lI(e)),eb(function(){!Sq(e)&&(vN(r)&&!T9(e)&&pq(e,tE),1&n&&vD(r)&&lk(lb(e)))}),EZ(e)){let t=hH(e);t&&t.typeExpression&&!hT(d8(t.typeExpression),e)&&rR(t.typeExpression.type,tA.The_type_of_a_function_declaration_must_match_the_function_s_signature)}}function x6(e){eb(function(){let t=vS(e),n=nG.get(t.path);n||(n=[],nG.set(t.path,n)),n.push(e)})}function x3(e,t){for(let n of e)switch(n.kind){case 260:case 228:(function(e,t){for(let n of e.members)switch(n.kind){case 171:case 169:case 174:case 175:if(175===n.kind&&32768&n.symbol.flags)break;let e=i7(n);!e.isReferenced&&(S6(n,8)||hu(n)&&wE(n.name))&&!(16777216&n.flags)&&t(n,0,bC(n.name,tA._0_is_declared_but_its_value_is_never_read,aR(e)));break;case 173:for(let e of n.parameters)!e.symbol.isReferenced&&S3(e,8)&&t(e,0,bC(e.name,tA.Property_0_is_declared_but_its_value_is_never_read,ho(e.symbol)));break;case 178:case 237:case 172:break;default:T.fail("Unexpected class member")}})(n,t),St(n,t);break;case 308:case 264:case 238:case 266:case 245:case 246:case 247:Sa(n,t);break;case 173:case 215:case 259:case 216:case 171:case 174:case 175:n.body&&Sa(n,t),St(n,t);break;case 170:case 176:case 177:case 181:case 182:case 262:case 261:St(n,t);break;case 192:!function(e,t){let{typeParameter:n}=e;Sn(n)&&t(e,1,bC(e,tA._0_is_declared_but_its_value_is_never_read,hi(n.name)))}(n,t);break;default:T.assertNever(n,"Node should not have been registered for unused identifiers check")}}function x5(e,t,n){let r=hp(e)||e,i=kz(e)?tA._0_is_declared_but_never_used:tA._0_is_declared_but_its_value_is_never_read;n(e,0,bC(r,i,t))}function x7(e){return wb(e)&&95===hi(e).charCodeAt(0)}function St(e,t){let n=i7(e).declarations;if(!n||uX(n)!==e)return;let r=hZ(e),i=new Set;for(let e of r){if(!Sn(e))continue;let n=hi(e.name),{parent:r}=e;if(192!==r.kind&&r.typeParameters.every(Sn)){if(um(i,r)){let i=vS(r),a=DC(r)?kd(r):ku(i,r.typeParameters),o=1===r.typeParameters.length,s=o?tA._0_is_declared_but_its_value_is_never_read:tA.All_type_parameters_are_unused,l=o?n:void 0;t(e,1,LQ(i,a.pos,a.end-a.pos,s,l))}}else t(e,1,bC(e,tA._0_is_declared_but_its_value_is_never_read,n))}}function Sn(e){return!(262144&i5(e.symbol).isReferenced)&&!x7(e.name)}function Sr(e,t,n,r){let i=String(r(t)),a=e.get(i);a?a[1].push(n):e.set(i,[t,[n]])}function Sa(e,t){let n=new Map,r=new Map,i=new Map;e.locals.forEach(e=>{if((262144&e.flags?!!(3&e.flags&&!(3&e.isReferenced)):!e.isReferenced&&!e.exportSymbol)&&e.declarations){for(let a of e.declarations)if(!(Rp(a)?Ru(a.parent)?!!(a.propertyName&&x7(a.name)):x7(a.name):v7(a)||(Nr(a)&&gE(a.parent.parent)||Ss(a))&&x7(a.name))){if(Ss(a))Sr(n,270===a.kind?a:271===a.kind?a.parent:a.parent.parent,a,Gv);else if(Rp(a)&&Ru(a.parent)){let e=uX(a.parent.elements);a!==e&&uX(a.parent.elements).dotDotDotToken||Sr(r,a.parent,a,Gv)}else if(Nr(a))Sr(i,a.parent,a,Gv);else{let n=e.valueDeclaration&&_E(xZ(e.valueDeclaration),wG),i=e.valueDeclaration&&hp(e.valueDeclaration);n&&i?mZ(n,n.parent)||SU(n)||x7(i)||(Rp(a)&&R_(a.parent)?Sr(r,a.parent,a,Gv):t(n,1,bC(i,tA._0_is_declared_but_its_value_is_never_read,ho(e)))):x5(a,ho(e),t)}}}}),n.forEach(([e,n])=>{let r=e.parent;if((e.name?1:0)+(e.namedBindings?271===e.namedBindings.kind?1:e.namedBindings.elements.length:0)===n.length)t(r,0,1===n.length?bC(r,tA._0_is_declared_but_its_value_is_never_read,hi(uz(n).name)):bC(r,tA.All_imports_in_import_declaration_are_unused));else for(let e of n)x5(e,hi(e.name),t)}),r.forEach(([e,n])=>{let r=_E(xZ(e.parent),wG)?1:0;if(e.elements.length===n.length)1===n.length&&257===e.parent.kind&&258===e.parent.parent.kind?Sr(i,e.parent.parent,e.parent,Gv):t(e,r,1===n.length?bC(e,tA._0_is_declared_but_its_value_is_never_read,So(uz(n).name)):bC(e,tA.All_destructured_elements_are_unused));else for(let e of n)t(e,r,bC(e,tA._0_is_declared_but_its_value_is_never_read,So(e.name)))}),i.forEach(([e,n])=>{if(e.declarations.length===n.length)t(e,0,1===n.length?bC(uz(n).name,tA._0_is_declared_but_its_value_is_never_read,So(uz(n).name)):bC(240===e.parent.kind?e.parent:e,tA.All_variables_are_unused));else for(let e of n)t(e,0,bC(e,tA._0_is_declared_but_its_value_is_never_read,So(e.name)))})}function So(e){switch(e.kind){case 79:return hi(e);case 204:case 203:return So(_T(uz(e.elements),Rp).name);default:return T.assertNever(e)}}function Ss(e){return 270===e.kind||273===e.kind||271===e.kind}function Sd(e){if(238===e.kind&&Cq(e),yH(e)){let t=nH;dz(e.statements,A7),nH=t}else dz(e.statements,A7);e.locals&&x6(e)}function Su(e,t,n){if((null==t?void 0:t.escapedText)!==n||169===e.kind||168===e.kind||171===e.kind||170===e.kind||174===e.kind||175===e.kind||299===e.kind||16777216&e.flags||(Nh(e)||Nf(e)||Nx(e))&&yx(e))return!1;let r=xZ(e);return!(wG(r)&&vN(r.parent.body))}function Sm(e){m9(e,t=>!!(4&LX(t))&&(79!==e.kind?rR(hp(e),tA.Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference):rR(e,tA.Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference),!0))}function Sh(e){m9(e,t=>!!(8&LX(t))&&(79!==e.kind?rR(hp(e),tA.Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference):rR(e,tA.Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference),!0))}function Sg(e){4194304&LX(bv(e))&&(T.assert(hu(e)&&wb(e.name)&&"string"==typeof e.name.escapedText,"The target of a WeakMap/WeakSet collision check should be an identifier"),rI("noEmit",e,tA.Compiler_reserves_name_0_when_emitting_private_identifier_downlevel,e.name.escapedText))}function Sv(e){let t=!1;if(RP(e)){for(let n of e.members)if(8388608&LX(n)){t=!0;break}}else if(Rx(e))8388608&LX(e)&&(t=!0);else{let n=bv(e);n&&8388608&LX(n)&&(t=!0)}t&&(T.assert(hu(e)&&wb(e.name),"The target of a Reflect collision check should be an identifier"),rI("noEmit",e,tA.Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers,bE(e.name),"Reflect"))}function Sb(e,t){t&&(function(e,t){if(eP>=5&&!(eP>=100&&1===vS(e).impliedNodeFormat)||!t||!Su(e,t,"require")&&!Su(e,t,"exports")||Nd(e)&&1!==FK(e))return;let n=aY(e);308===n.kind&&bU(n)&&rI("noEmit",t,tA.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,bE(t),bE(t))}(e,t),function(e,t){if(!t||eM>=4||!Su(e,t,"Promise")||Nd(e)&&1!==FK(e))return;let n=aY(e);308===n.kind&&bU(n)&&2048&n.flags&&rI("noEmit",t,tA.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,bE(t),bE(t))}(e,t),eM<=8&&(Su(e,t,"WeakMap")||Su(e,t,"WeakSet"))&&rl.push(e),t&&eM>=2&&eM<=8&&Su(e,t,"Reflect")&&rc.push(e),yW(e)?(Ax(t,tA.Class_name_cannot_be_0),16777216&e.flags||eM>=1&&"Object"===t.escapedText&&(eP<5||1===vS(t).impliedNodeFormat)&&rR(t,tA.Class_name_cannot_be_Object_when_targeting_ES5_with_module_0,eQ[eP])):Nc(e)&&Ax(t,tA.Enum_name_cannot_be_0))}function SE(e){return e===tT?tE:e===C?L:e}function ST(e){var t;if(x2(e),Rp(e)||A7(e.type),!e.name)return;if(164===e.name.kind&&(hw(e.name),g0(e)&&e.initializer&&Eg(e.initializer)),Rp(e)){if(e.propertyName&&wb(e.name)&&xQ(e)&&vN(Ey(e).body)){rd.push(e);return}Ru(e.parent)&&e.dotDotDotToken&&eM<5&&Ch(e,4),e.propertyName&&164===e.propertyName.kind&&hw(e.propertyName);let t=e.parent.parent,n=a0(t,e.dotDotDotToken?64:0),r=e.propertyName||e.name;if(n&&!y2(r)){let i=c0(r);if(o5(i)){let r=le(n,sn(i));r&&(ge(r,void 0,!1),yd(e,!!t.initializer&&106===t.initializer.kind,!1,n,r))}}}if(y2(e.name)&&(204===e.name.kind&&eM<2&&eO.downlevelIteration&&Ch(e,512),dz(e.name.elements,A7)),wG(e)&&e.initializer&&vN(Ey(e).body)){rR(e,tA.A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation);return}if(y2(e.name)){let t=g0(e)&&e.initializer&&246!==e.parent.parent.kind,n=!uv(e.name.elements,pl(RF));if(t||n){let r=op(e);if(t){let t=Eg(e.initializer);eU&&n?yS(t,e):_n(t,op(e),e,e.initializer)}n&&(R_(e.name)?SN(65,r,tR,e):eU&&yS(r,e))}return}let n=i7(e);if(2097152&n.flags&&(E3(e)||E5(e))){AZ(e);return}let r=SE(oC(n));if(e===n.valueDeclaration){let i=g0(e)&&Tr(e);i&&(EZ(e)&&Rm(i)&&(0===i.properties.length||AO(e.name))&&(null==(t=n.exports)?void 0:t.size)||246===e.parent.parent.kind||_n(Eg(i),r,e,i,void 0)),n.declarations&&n.declarations.length>1&&uv(n.declarations,t=>t!==e&&b9(t)&&!SS(t,e))&&rR(e.name,tA.All_declarations_of_0_must_have_identical_modifiers,bE(e.name))}else{let t=SE(op(e));aZ(r)||aZ(t)||uQ(r,t)||67108864&n.flags||Sx(n.valueDeclaration,r,e,t),g0(e)&&e.initializer&&_n(Eg(e.initializer),t,e,e.initializer,void 0),n.valueDeclaration&&!SS(e,n.valueDeclaration)&&rR(e.name,tA.All_declarations_of_0_must_have_identical_modifiers,bE(e.name))}169!==e.kind&&168!==e.kind&&(xd(e),(257===e.kind||205===e.kind)&&function(e){if((3&m3(e))!=0||xQ(e)||257===e.kind&&!e.initializer)return;let t=i7(e);if(1&t.flags){if(!wb(e.name))return T.fail();let n=r0(e,e.name.escapedText,3,void 0,void 0,!1);if(n&&n!==t&&2&n.flags&&3&ys(n)){let t=xx(n.valueDeclaration,258),r=240===t.parent.kind&&t.parent.parent?t.parent.parent:void 0;if(!(r&&(238===r.kind&&yF(r.parent)||265===r.kind||264===r.kind||308===r.kind))){let t=aR(n);rR(e,tA.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1,t,t)}}}}(e),Sb(e,e.name))}function Sx(e,t,n,r){let i=hp(n),a=169===n.kind||168===n.kind?tA.Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:tA.Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2,o=bE(i),s=rR(i,a,o,aD(t),aD(r));e&&kl(s,bC(e,tA._0_was_also_declared_here,o))}function SS(e,t){return 166===e.kind&&257===t.kind||257===e.kind&&166===t.kind||TF(e)===TF(t)&&(888&Al(e))==(888&Al(t))}function SA(e){var t,n;null==(t=Q)||t.push(Q.Phase.Check,"checkVariableDeclaration",{kind:e.kind,pos:e.pos,end:e.end,path:e.tracingPath}),function(e){if(246!==e.parent.parent.kind&&247!==e.parent.parent.kind){if(16777216&e.flags)CV(e);else if(!e.initializer){if(y2(e.name)&&!y2(e.parent))return Cz(e,tA.A_destructuring_declaration_must_have_an_initializer);if(bK(e))return Cz(e,tA.const_declarations_must_be_initialized)}}if(e.exclamationToken&&(240!==e.parent.parent.kind||!e.type||e.initializer||16777216&e.flags)){let t=e.initializer?tA.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:e.type?tA.A_definite_assignment_assertion_is_not_permitted_in_this_context:tA.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations;return Cz(e.exclamationToken,t)}(eP<5||1===vS(e).impliedNodeFormat)&&4!==eP&&!(16777216&e.parent.parent.flags)&&S3(e.parent.parent,1)&&function e(t){if(79===t.kind){if("__esModule"===hi(t)){var n;return n=tA.Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules,!CH(vS(t))&&(rI("noEmit",t,n,void 0,void 0,void 0),!0)}}else for(let n of t.elements)if(!RF(n))return e(n.name);return!1}(e.name),(bW(e)||bK(e))&&function e(t){if(79===t.kind){if("let"===t.escapedText)return Cz(t,tA.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations)}else for(let n of t.elements)RF(n)||e(n.name);return!1}(e.name)}(e),ST(e),null==(n=Q)||n.pop()}function SC(e,t,n){function r(e,t){for(i(e=xi(e),t);RR(e)&&(56===e.operatorToken.kind||60===e.operatorToken.kind);)i(e=xi(e.left),t)}function i(e,n){let i=AE(e)?xi(e.right):e;if(Tp(i))return;if(AE(i)){r(i,n);return}let a=i===e?t:SI(i),o=Rh(i)&&Eb(i.expression);if(!(4194304&fj(a))||o)return;let s=ln(a,0),l=!!xu(a);if(0===s.length&&!l)return;let c=wb(i)?i:Rh(i)?i.name:void 0,d=c&&Lv(c);(d||l)&&(d&&RR(e.parent)&&function(e,t){for(;RR(e)&&55===e.operatorToken.kind;){if(Mr(e.right,function e(n){if(wb(n)){let e=Lv(n);if(e&&e===t)return!0}return Mr(n,e)}))return!0;e=e.parent}return!1}(e.parent,d)||d&&n&&Mr(n,function t(n){if(wb(n)){let t=Lv(n);if(t&&t===d){if(wb(e)||wb(c)&&RR(c.parent))return!0;let t=c.parent,r=n.parent;for(;t&&r;){if(wb(t)&&wb(r)||108===t.kind&&108===r.kind)return Lv(t)===Lv(r);if(Rh(t)&&Rh(r)){if(Lv(t.name)!==Lv(r.name))return!1;r=r.expression,t=t.expression}else{if(!(Rg(t)&&Rg(r)))return!1;r=r.expression,t=t.expression}}}}return Mr(n,t)})||(l?rO(i,!0,tA.This_condition_will_always_return_true_since_this_0_is_always_defined,aM(a)):rR(i,tA.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead)))}eU&&r(e,n)}function Sk(e,t){return 16384&e.flags&&rR(t,tA.An_expression_of_type_void_cannot_be_tested_for_truthiness),e}function SI(e,t){return Sk(TT(e,t),e)}function Sw(e){let t=e.initializer;t.declarations.length>=1&&SA(t.declarations[0])}function SR(e){return SN(e.awaitModifier?15:13,yp(e.expression),tR,e.expression)}function SN(e,t,n,r){return aQ(t)?t:SD(e,t,n,r,!0)||tE}function SD(e,t,n,r,i){let a=(2&e)!=0;if(t===tZ){S1(r,t,a);return}let o=eM>=2,s=!o&&eO.downlevelIteration,l=eO.noUncheckedIndexedAccess&&!!(128&e);if(o||s||a){let a=SH(t,e,o?r:void 0);if(i&&a){let t=8&e?tA.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:32&e?tA.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:64&e?tA.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:16&e?tA.Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:void 0;t&&_t(n,a.nextType,r,t)}if(a||o)return l?fJ(a&&a.yieldType):a&&a.yieldType}let c=t,d=!1,u=!1;if(4&e){if(1048576&c.flags){let e=t.types,n=d9(e,e=>!(402653316&e.flags));n!==e&&(c=cH(n,2))}else 402653316&c.flags&&(c=tZ);if((u=c!==t)&&(eM<1&&r&&(rR(r,tA.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher),d=!0),131072&c.flags))return l?fJ(tB):tB}if(!_9(c)){if(r&&!d){var _,p;let[n,i]=(_=!!(4&e)&&!u,s?_?[tA.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0]:[tA.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0]:SO(e,0,t,void 0)?[tA.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher,!1]:!function(e){switch(e){case"Float32Array":case"Float64Array":case"Int16Array":case"Int32Array":case"Int8Array":case"NodeList":case"Uint16Array":case"Uint32Array":case"Uint8Array":case"Uint8ClampedArray":return!0}return!1}(null==(p=t.symbol)?void 0:p.escapedName)?_?[tA.Type_0_is_not_an_array_type_or_a_string_type,!0]:[tA.Type_0_is_not_an_array_type,!0]:[tA.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher,!0]);rO(r,i&&!!xu(c),n,aD(c))}return u?l?fJ(tB):tB:void 0}let f=lc(c,tU);return u&&f?402653316&f.flags&&!eO.noUncheckedIndexedAccess?tB:cH(l?[f,tB,tR]:[f,tB],2):128&e?fJ(f):f}function SO(e,t,n,r){if(aQ(n))return;let i=SH(n,e,r);return i&&i[GL(t)]}function SM(e=tZ,t=tZ,n=tI){if(67359327&e.flags&&180227&t.flags&&180227&n.flags){let r=lq([e,t,n]),i=nI.get(r);return i||(i={yieldType:e,returnType:t,nextType:n},nI.set(r,i)),i}return{yieldType:e,returnType:t,nextType:n}}function SG(e){let t,n,r;for(let i of e)if(void 0!==i&&i!==nw){if(i===nR)return nR;t=uD(t,i.yieldType),n=uD(n,i.returnType),r=uD(r,i.nextType)}return t||n||r?SM(t&&cH(t),n&&cH(n),r&&cJ(r)):nw}function SH(e,t,n){var r,i;let a;if(aQ(e))return nR;if(!(1048576&e.flags)){let i=n?{errors:void 0}:void 0,a=SY(e,t,n,i);if(a===nw){if(n){let r=S1(n,e,!!(2&t));(null==i?void 0:i.errors)&&kl(r,...i.errors)}return}if(null==(r=null==i?void 0:i.errors)?void 0:r.length)for(let e of i.errors)r_.add(e);return a}let o=2&t?"iterationTypesOfAsyncIterable":"iterationTypesOfIterable",s=e[o];if(s)return s===nw?void 0:s;for(let r of e.types){let s=n?{errors:void 0}:void 0,l=SY(r,t,n,s);if(l===nw){if(n){let r=S1(n,e,!!(2&t));(null==s?void 0:s.errors)&&kl(r,...s.errors)}e[o]=nw;return}if(null==(i=null==s?void 0:s.errors)?void 0:i.length)for(let e of s.errors)r_.add(e);a=uD(a,l)}let l=a?SG(a):nw;return e[o]=l,l===nw?void 0:l}function Sz(e,t){if(e===nw)return nw;if(e===nR)return nR;let{yieldType:n,returnType:r,nextType:i}=e;return t&&cS(!0),SM(xI(n,t)||tE,xI(r,t)||tE,i)}function SY(e,t,n,r){var i,a;if(aQ(e))return nR;let o=!1;if(2&t){let r=S$(e,nO)||SZ(e,nO);if(r){if(r!==nw||!n)return 8&t?Sz(r,n):r;o=!0}}if(1&t){let r=S$(e,nM)||SZ(e,nM);if(r){if(r===nw&&n)o=!0;else{if(!(2&t))return r;if(r!==nw)return r=Sz(r,n),o?r:(i=r,e.iterationTypesOfAsyncIterable=i)}}}if(2&t){let t=S0(e,nO,n,r,o);if(t!==nw)return t}if(1&t){let i=S0(e,nM,n,r,o);if(i!==nw)return 2&t?(i=Sz(i,n),o?i:(a=i,e.iterationTypesOfAsyncIterable=a)):i}return nw}function S$(e,t){return e[t.iterableCacheKey]}function SQ(e,t){let n=S$(e,t)||S0(e,t,void 0,void 0,!1);return n===nw?nD:n}function SZ(e,t){var n,r,i,a;let o;if(oI(e,o=t.getGlobalIterableType(!1))||oI(e,o=t.getGlobalIterableIteratorType(!1))){let[i]=l0(e),{returnType:a,nextType:s}=SQ(o,t);return n=t.iterableCacheKey,r=SM(t.resolveIterationType(i,void 0)||i,t.resolveIterationType(a,void 0)||a,s),e[n]=r}if(oI(e,t.getGlobalGeneratorType(!1))){let[n,r,o]=l0(e);return i=t.iterableCacheKey,a=SM(t.resolveIterationType(n,void 0)||n,t.resolveIterationType(r,void 0)||r,o),e[i]=a}}function S0(e,t,n,r,i){var a,o;let s,l;let c=le(e,(o=t.iteratorSymbolName,(l=(s=ch(!1))&&a$(oC(s),hn(o)))&&o5(l)?sn(l):`__@${o}`)),d=c&&!(16777216&c.flags)?oC(c):void 0;if(aQ(d))return i?nR:e[t.iterableCacheKey]=nR;let u=d?ln(d,0):void 0;if(!uv(u))return i?nw:e[t.iterableCacheKey]=nw;let _=null!=(a=S2(cJ(un(u,lk)),t,n,r,i))?a:nw;return i?_:e[t.iterableCacheKey]=_}function S1(e,t,n){let r=n?tA.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:tA.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator,i=!!xu(t)||!n&&R4(e.parent)&&e.parent.expression===e&&cE(!1)!==np&&u3(t,cE(!1));return rO(e,i,r,aD(t))}function S2(e,t,n,r,i){if(aQ(e))return nR;let a=Aa(e,t)||function(e,t){var n,r,i,a;let o=t.getGlobalIterableIteratorType(!1);if(oI(e,o)){let[i]=l0(e),a=Aa(o,t)||Au(o,t,void 0,void 0,!1),{returnType:s,nextType:l}=a===nw?nD:a;return n=t.iteratorCacheKey,r=SM(i,s,l),e[n]=r}if(oI(e,t.getGlobalIteratorType(!1))||oI(e,t.getGlobalGeneratorType(!1))){let[n,r,o]=l0(e);return i=t.iteratorCacheKey,a=SM(n,r,o),e[i]=a}}(e,t);return a===nw&&n&&(a=void 0,i=!0),null!=a||(a=Au(e,t,n,r,i)),a===nw?void 0:a}function Aa(e,t){return e[t.iteratorCacheKey]}function Ao(e,t){let n=a$(e,"done")||tj;return u3(0===t?tj:tK,n)}function As(e){return Ao(e,0)}function Ac(e){return Ao(e,1)}function Ad(e,t,n,r,i){var a,s,l,c;let d,u,_,p,f;let m=le(e,n);if(!m&&"next"!==n)return;let h=m&&!("next"===n&&16777216&m.flags)?"next"===n?oC(m):fH(oC(m),2097152):void 0;if(aQ(h))return"next"===n?nR:nN;let y=h?ln(h,0):o;if(0===y.length){if(r){let e="next"===n?t.mustHaveANextMethodDiagnostic:t.mustBeAMethodDiagnostic;i?(null!=i.errors||(i.errors=[]),i.errors.push(bC(r,e,n))):rR(r,e,n)}return"next"===n?nw:void 0}if((null==h?void 0:h.symbol)&&1===y.length){let e=t.getGlobalGeneratorType(!1),r=t.getGlobalIteratorType(!1),i=(null==(s=null==(a=e.symbol)?void 0:a.members)?void 0:s.get(n))===h.symbol,o=!i&&(null==(c=null==(l=r.symbol)?void 0:l.members)?void 0:c.get(n))===h.symbol;if(i||o){let t=i?e:r,{mapper:a}=h;return SM(ul(t.typeParameters[0],a),ul(t.typeParameters[1],a),"next"===n?ul(t.typeParameters[2],a):void 0)}}for(let e of y)"throw"!==n&&uv(e.parameters)&&(d=uD(d,vK(e,0))),u=uD(u,lk(e));if("throw"!==n){let e=d?cH(d):tI;"next"===n?p=e:"return"===n&&(_=uD(_,t.resolveIterationType(e,r)||tE))}let g=u?cJ(u):tZ,v=function(e){var t,n,r;if(aQ(e))return nR;let i=e.iterationTypesOfIteratorResult;if(i)return i;if(oI(e,j||(j=c_("IteratorYieldResult",1,!1))||np))return t=SM(l0(e)[0],void 0,void 0),e.iterationTypesOfIteratorResult=t;if(oI(e,H||(H=c_("IteratorReturnResult",1,!1))||np))return n=SM(void 0,l0(e)[0],void 0),e.iterationTypesOfIteratorResult=n;let a=f5(e,As),o=a!==tZ?a$(a,"value"):void 0,s=f5(e,Ac),l=s!==tZ?a$(s,"value"):void 0;return o||l?(r=SM(o,l||tQ,void 0),e.iterationTypesOfIteratorResult=r):e.iterationTypesOfIteratorResult=nw}(t.resolveIterationType(g,r)||tE);return v===nw?(r&&(i?(null!=i.errors||(i.errors=[]),i.errors.push(bC(r,t.mustHaveAValueDiagnostic,n))):rR(r,t.mustHaveAValueDiagnostic,n)),f=tE,_=uD(_,tE)):(f=v.yieldType,_=uD(_,v.returnType)),SM(f,cH(_),p)}function Au(e,t,n,r,i){let a=SG([Ad(e,t,"next",n,r),Ad(e,t,"return",n,r),Ad(e,t,"throw",n,r)]);return i?a:e[t.iteratorCacheKey]=a}function A_(e,t,n){if(aQ(t))return;let r=Ap(t,n);return r&&r[GL(e)]}function Ap(e,t){if(aQ(e))return nR;let n=t?nO:nM;return SH(e,t?2:1,void 0)||S2(e,n,void 0,void 0,!1)}function Ah(e,t){let n=!!(2&t);if(1&t){let t=A_(1,e,n);return t?n?xw(xL(t)):t:tS}return n?xw(e)||tS:e}function Ay(e,t){let n=Ah(t,xN(e));return!!n&&bZ(n,16387)}function Ag(e,t,n){let r=ls(e);if(0===r.length)return;for(let t of sP(e))n&&4194304&t.flags||Av(e,t,c1(t,8576,!0),ok(t));let i=t.valueDeclaration;if(i&&yW(i)){for(let t of i.members)if(!S5(t)&&!st(t)){let n=i7(t);Av(e,n,Ty(t.name.expression),ok(n))}}if(r.length>1)for(let t of r)!function(e,t){let n=t.declaration,r=ld(e,t.keyType),i=2<(e)?g9(e.symbol,261):void 0,a=n&&ae(i7(n))===e.symbol?n:void 0;for(let n of r){if(n===t)continue;let r=n.declaration&&ae(i7(n.declaration))===e.symbol?n.declaration:void 0,o=a||r||(i&&!uv(oH(e),e=>!!ll(e,t.keyType)&&!!lc(e,n.keyType))?i:void 0);o&&!u3(t.type,n.type)&&rR(o,tA._0_index_type_1_is_not_assignable_to_2_index_type_3,aD(t.keyType),aD(t.type),aD(n.keyType),aD(n.type))}}(e,t)}function Av(e,t,n,r){let i=t.valueDeclaration,a=hp(i);if(a&&wE(a))return;let o=ld(e,n),s=2<(e)?g9(e.symbol,261):void 0,l=i&&223===i.kind||a&&164===a.kind?i:void 0,c=ae(t)===e.symbol?i:void 0;for(let n of o){let i=n.declaration&&ae(i7(n.declaration))===e.symbol?n.declaration:void 0,a=c||i||(s&&!uv(oH(e),e=>!!sF(e,t.escapedName)&&!!lc(e,n.keyType))?s:void 0);if(a&&!u3(r,n.type)){let e=rw(a,tA.Property_0_of_type_1_is_not_assignable_to_2_index_type_3,aR(t),aD(r),aD(n.keyType),aD(n.type));l&&a!==l&&kl(e,bC(l,tA._0_is_declared_here,aR(t))),r_.add(e)}}}function Ax(e,t){switch(e.escapedText){case"any":case"unknown":case"never":case"number":case"bigint":case"boolean":case"string":case"symbol":case"void":case"object":rR(e,t,e.escapedText)}}function AL(e){let t=!1;if(e)for(let n=0;n{n.default?(t=!0,function(e,t,n){(function e(r){if(180===r.kind){let e=ci(r);if(262144&e.flags)for(let i=n;i260===e.kind||261===e.kind);if(!n||n.length<=1)return;if(!AP(n,oQ(e).localTypeParameters,hZ)){let t=aR(e);for(let e of n)rR(e.name,tA.All_declarations_of_0_must_have_identical_type_parameters,t)}}}function AP(e,t,n){let r=dW(t),i=lg(t);for(let a of e){let e=n(a),o=e.length;if(or)return!1;for(let n=0;n1)return CK(r.types[1],tA.Classes_can_only_extend_a_single_class);t=!0}else{if(T.assert(117===r.token),n)return CK(r,tA.implements_clause_already_seen);n=!0}CR(r)}}(e)||CA(e.typeParameters,t),x2(e),Sb(e,e.name),AL(hZ(e)),xd(e);let n=i7(e),r=oQ(n),i=ss(r),a=oC(n);AC(n),xl(n),function(e){let t=new Map,n=new Map,r=new Map;for(let a of e.members)if(173===a.kind)for(let e of a.parameters)mZ(e,a)&&!y2(e.name)&&i(t,e.name,e.name.escapedText,3);else{let e=S5(a),o=a.name;if(!o)continue;let s=wE(o),l=s&&e?16:0,c=s?r:e?n:t,d=o&&xG(o);if(d)switch(a.kind){case 174:i(c,o,d,1|l);break;case 175:i(c,o,d,2|l);break;case 169:i(c,o,d,3|l);break;case 171:i(c,o,d,8|l)}}function i(e,t,n,r){let i=e.get(n);if(i){if((16&i)!=(16&r))rR(t,tA.Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name,v$(t));else{let a=!!(8&i),o=!!(8&r);a||o?a!==o&&rR(t,tA.Duplicate_identifier_0,v$(t)):i&r&-17?rR(t,tA.Duplicate_identifier_0,v$(t)):e.set(n,i|r)}}else e.set(n,r)}}(e),16777216&e.flags||function(e){for(let t of e.members){let n=t.name;if(S5(t)&&n){let t=xG(n);switch(t){case"name":case"length":case"caller":case"arguments":case"prototype":rR(n,tA.Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1,t,aK(i7(e)))}}}}(e);let s=xy(e);if(s){dz(s.typeArguments,A7),eM<2&&Ch(s.parent,1);let t=xg(e);t&&t!==s&&TT(t.expression);let n=oH(r);n.length&&eb(()=>{let t=n[0],l=oV(r),c=s0(l);if(function(e,t){let n=ln(e,1);if(n.length){let r=n[0].declaration;r&&S6(r,8)&&(Lm(t,LE(e.symbol))||rR(t,tA.Cannot_extend_a_class_0_Class_constructor_is_marked_as_private,iG(e.symbol)))}}(c,s),A7(s.expression),uv(s.typeArguments)){for(let e of(dz(s.typeArguments,A7),oB(c,s.typeArguments,s)))if(!TJ(s,e.typeParameters))break}let d=ss(t,r.thisType);_t(i,d,void 0)?_t(a,function e(t){if(524288&t.flags){let e=sM(t);if(e.constructSignatures.length||e.callSignatures.length){let n=au(16,t.symbol);return n.members=e.members,n.properties=e.properties,n.callSignatures=o,n.constructSignatures=o,n.indexInfos=o,n}}else if(2097152&t.flags)return cJ(un(t.types,e));return t}(c),e.name||e,tA.Class_static_side_0_incorrectly_extends_base_class_static_side_1):AK(e,i,d,tA.Class_0_incorrectly_extends_base_class_1),8650752&l.flags&&(oP(a)?ln(l,1).some(e=>4&e.flags)&&!S3(e,256)&&rR(e.name||e,tA.A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract):rR(e.name||e,tA.A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any)),!(c.symbol&&32&c.symbol.flags)&&!(8650752&l.flags)&&dz(oU(c,s.typeArguments,s),e=>!vm(e.declaration)&&!uQ(lk(e),t))&&rR(s.expression,tA.Base_constructors_must_all_have_the_same_return_type),function(e,t){var n,r,i,a;let o=sB(t);o:for(let s of o){let o=AW(s);if(4194304&o.flags)continue;let l=sF(e,o.escapedName);if(!l)continue;let c=AW(l),d=Ld(o);if(T.assert(!!c,"derived should point to something, even if it is the base class' declaration."),c===o){let n=LE(e.symbol);if(256&d&&(!n||!S3(n,256))){for(let n of oH(e)){if(n===t)continue;let e=sF(n,o.escapedName),r=e&&AW(e);if(r&&r!==o)continue o}228===n.kind?rR(n,tA.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1,aR(s),aD(t)):rR(n,tA.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2,aD(e),aR(s),aD(t))}}else{let s;let l=Ld(c);if(8&d||8&l)continue;let u=98308&o.flags,_=98308&c.flags;if(u&&_){if((6&Lc(o)?null==(n=o.declarations)?void 0:n.some(e=>Az(e,d)):null==(r=o.declarations)?void 0:r.every(e=>Az(e,d)))||262144&Lc(o)||c.valueDeclaration&&RR(c.valueDeclaration))continue;let s=4!==u&&4===_,p=4===u&&4!==_;if(s||p){let n=s?tA._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:tA._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor;rR(hp(c.valueDeclaration)||c.valueDeclaration,n,aR(o),aD(t),aD(e))}else if(eG){let n=null==(i=c.declarations)?void 0:i.find(e=>169===e.kind&&!e.initializer);if(n&&!(33554432&c.flags)&&!(256&d)&&!(256&l)&&!(null==(a=c.declarations)?void 0:a.some(e=>!!(16777216&e.flags)))){let r=as(LE(e.symbol)),i=n.name;if(n.exclamationToken||!r||!wb(i)||!eU||!AJ(i,e,r)){let e=tA.Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration;rR(hp(c.valueDeclaration)||c.valueDeclaration,e,aR(o),aD(t))}}}continue}if(yc(o)){if(yc(c)||4&c.flags)continue;T.assert(!!(98304&c.flags)),s=tA.Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor}else s=98304&o.flags?tA.Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:tA.Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function;rR(hp(c.valueDeclaration)||c.valueDeclaration,s,aD(t),aR(o),aD(e))}}}(r,t)})}!function(e,t,n,r){let i=xy(e)&&oH(t),a=(null==i?void 0:i.length)?ss(uz(i),t.thisType):void 0,o=oV(t);for(let i of e.members)At(i)||(wW(i)&&dz(i.parameters,s=>{mZ(s,i)&&Aj(e,r,o,a,t,n,s,!0)}),Aj(e,r,o,a,t,n,i,!1))}(e,r,i,a);let l=xv(e);if(l)for(let t of l)(!AI(t.expression)||h3(t.expression))&&rR(t.expression,tA.A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments),TY(t),eb(function(t){return()=>{let n=s6(d8(t));if(!aZ(n)){if(oK(n)){let t=n.symbol&&32&n.symbol.flags?tA.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:tA.Class_0_incorrectly_implements_interface_1,a=ss(n,r.thisType);_t(i,a,void 0)||AK(e,i,a,t)}else rR(t,tA.A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members)}}}(t));eb(()=>{Ag(r,n),Ag(a,n,!0),TM(e),function(e){if(!eU||!eH||16777216&e.flags)return;let t=as(e);for(let n of e.members)if(!(2&Al(n))&&!S5(n)&&Aq(n)){let e=n.name;if(wb(e)||wE(e)||wP(e)){let r=oC(i7(n));3&r.flags||_x(r)||t&&AJ(e,r,t)||rR(n.name,tA.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor,bE(e))}}}(e)})}function Aj(e,t,n,r,i,a,o,s,l=!0){let c=o.name&&Lv(o.name)||Lv(o);return c?AH(e,t,n,r,i,a,S9(o),Ae(o),S5(o),s,ho(c),l?o:void 0):0}function AH(e,t,n,r,i,a,o,s,l,c,d,u){let _=EZ(e),p=!!(16777216&e.flags);if(r&&(o||eO.noImplicitOverride)){let e=hn(d),i=l?n:r,f=le(l?t:a,e),m=le(i,e),h=aD(r);if(f&&!m&&o){if(u){let e=y1(d,i);e?rR(u,_?tA.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:tA.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1,h,aR(e)):rR(u,_?tA.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0:tA.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0,h)}return 2}if(f&&(null==m?void 0:m.declarations)&&eO.noImplicitOverride&&!p){let e=uv(m.declarations,Ae);if(o)return 0;if(!e)return u&&rR(u,c?_?tA.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:tA.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0:_?tA.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:tA.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0,h),1;if(s&&e)return u&&rR(u,tA.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0,h),1}}else if(o){if(u){let e=aD(i);rR(u,_?tA.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class:tA.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class,e)}return 2}return 0}function AK(e,t,n,r){let i=!1;for(let r of e.members){if(S5(r))continue;let e=r.name&&Lv(r.name)||Lv(r);if(e){let a=le(t,e.escapedName),o=le(n,e.escapedName);if(a&&o){let s=()=>L2(void 0,tA.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2,aR(e),aD(t),aD(n));_t(oC(a),oC(o),r.name||r,void 0,s)||(i=!0)}}}i||_t(t,n,e.name||e,r)}function AW(e){return 1&Lc(e)?e.links.target:e}function Az(e,t){return 256&t&&(!wV(e)||!e.initializer)||Ns(e.parent)}function Aq(e){return 169===e.kind&&!Ae(e)&&!e.exclamationToken&&!e.initializer}function AJ(e,t,n){let r=wP(e)?nU.createElementAccessExpression(nU.createThis(),e.expression):nU.createPropertyAccessExpression(nU.createThis(),e);return kC(r.expression,r),kC(r,n),r.flowNode=n.returnFlowNode,!_x(mv(r,t,pR(t)))}function AX(e){let t=rY(e);if(!(1024&t.flags)){t.flags|=1024;let n=0;for(let t of e.members){let e=function(e,t){if(bx(e.name))rR(e.name,tA.Computed_property_names_are_not_allowed_in_enums);else{let t=bA(e.name);kV(t)&&!kP(t)&&rR(e.name,tA.An_enum_member_cannot_have_a_numeric_name)}return e.initializer?function(e){let t=bj(e.parent),n=e.initializer,r=function e(t,n){switch(t.kind){case 221:let r=e(t.operand,n);if("number"==typeof r)switch(t.operator){case 39:return r;case 40:return-r;case 54:return~r}break;case 223:let i=e(t.left,n),a=e(t.right,n);if("number"==typeof i&&"number"==typeof a)switch(t.operatorToken.kind){case 51:return i|a;case 50:return i&a;case 48:return i>>a;case 49:return i>>>a;case 47:return i<!!(268435456&m3(e)))}function A1(e,t){if(!(2097152&e.flags))return e;let n=iw(e);if(n===ty)return n;for(;2097152&e.flags;){let r=hD(e);if(r){if(r===n)break;if(r.declarations&&dW(r.declarations)){if(A0(r)){rF(t,r.declarations,r.escapedName);break}if(e===n)break;e=r}}else break}return n}function A2(e){Sb(e,e.name),AZ(e),273===e.kind&&"default"===hi(e.propertyName||e.name)&&C_(eO)&&4!==eP&&(eP<5||1===vS(e).impliedNodeFormat)&&Ch(e,131072)}function A4(e){var t;if(e.assertClause){let n=Vk(e),r=Vw(e.assertClause,n?Cz:void 0);if(n&&r)return(S_()||Cz(e.assertClause,tA.resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next),3!==Ci(eO)&&99!==Ci(eO))?Cz(e.assertClause,tA.resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext):void 0;if(99!==(199===eP&&e.moduleSpecifier&&ii(e.moduleSpecifier))&&99!==eP)return Cz(e.assertClause,199===eP?tA.Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls:tA.Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext);if(Nm(e)?null==(t=e.importClause)?void 0:t.isTypeOnly:e.isTypeOnly)return Cz(e.assertClause,tA.Import_assertions_cannot_be_used_with_type_only_imports_or_exports);if(r)return Cz(e.assertClause,tA.resolution_mode_can_only_be_set_for_type_only_imports)}}function A8(e,t){let n=308===e.parent.kind||265===e.parent.kind||264===e.parent.kind;return n||CK(e,t),!n}function A6(e){if(AZ(e),Cg(eO)&&az(e.propertyName||e.name,!0),e.parent.parent.moduleSpecifier)C_(eO)&&4!==eP&&(eP<5||1===vS(e).impliedNodeFormat)&&"default"===hi(e.propertyName||e.name)&&Ch(e,131072);else{let t=e.propertyName||e.name,n=r0(t,t.escapedText,2998271,void 0,void 0,!0);if(n&&(n===e1||n===e2||n.declarations&&r$(aY(n.declarations[0]))))rR(t,tA.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,hi(t));else{e.isTypeOnly||e.parent.parent.isTypeOnly||iM(e);let t=n&&(2097152&n.flags?iw(n):n);(!t||111551&iR(t))&&Eg(e.propertyName||e.name)}}}function A3(e){let t=i7(e),n=rX(t);if(!n.exportsChecked){let e=t.exports.get("export=");if(e&&vl(t.exports,(e,t)=>"export="!==t)){let t=r7(e)||e.valueDeclaration;!t||aV(t)||EZ(t)||rR(t,tA.An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements)}let r=i8(t);r&&r.forEach(({declarations:e,flags:t},n)=>{if("__export"===n||1920&t)return;let r=d7(e,po(ix,pl(Ns)));if((!(524288&t)||!(r<=2))&&r>1&&!A5(e))for(let t of e)GS(t)&&r_.add(bC(t,tA.Cannot_redeclare_exported_variable_0,hr(n)))}),n.exportsChecked=!0}}function A5(e){return e&&e.length>1&&e.every(e=>EZ(e)&&Lw(e)&&(Tu(e.expression)||Tp(e.expression)))}function A7(e){if(e){let t=a;a=e,ek=0,function(e){var t;Tz(e)&&dz(e.jsDoc,({comment:t,tags:n})=>{A9(t),dz(n,t=>{A9(t.comment),EZ(e)&&A7(t)})});let r=e.kind;if(n)switch(r){case 264:case 260:case 261:case 259:n.throwIfCancellationRequested()}switch(r>=240&&r<=256&&TW(e)&&e.flowNode&&!mg(e.flowNode)&&rD(!1===eO.allowUnreachableCode,e,tA.Unreachable_code_detected),r){case 165:return TC(e);case 166:return TI(e);case 169:return TV(e);case 168:return wE(e.name)&&rR(e,tA.Private_identifiers_are_not_allowed_outside_class_bodies),TV(e);case 182:case 181:case 176:case 177:case 178:return TR(e);case 171:case 170:return void(CB(e)||CD(e.name),wH(e)&&e.asteriskToken&&wb(e.name)&&"constructor"===hi(e.name)&&rR(e.name,tA.Class_constructor_may_not_be_a_generator),x8(e),S3(e,256)&&171===e.kind&&e.body&&rR(e,tA.Method_0_cannot_have_an_implementation_because_it_is_marked_abstract,bE(e.name)),wE(e.name)&&!Ev(e)&&rR(e,tA.Private_identifiers_are_not_allowed_outside_class_bodies),Tj(e));case 172:return void(Cb(e),Mr(e,A7));case 173:return function(e){let t;TR(e),!function(e){let t=EZ(e)?SJ(e):void 0,n=e.typeParameters||t&&uK(t);if(n){let t=n.pos===n.end?n.pos:mc(vS(e).text,n.pos);return CW(e,t,n.end-t,tA.Type_parameters_cannot_appear_on_a_constructor_declaration)}}(e)&&(t=e.type||Sq(e))&&Cz(t,tA.Type_annotation_cannot_appear_on_a_constructor_declaration),A7(e.body);let n=i7(e),r=g9(n,e.kind);function i(e){return!!yk(e)||169===e.kind&&!S5(e)&&!!e.initializer}e===r&&xl(n),vN(e.body)||eb(function(){let t=e.parent;if(xg(t)){mw(e.parent,t);let r=mN(t),a=function e(t){return bz(t)?t:yF(t)?void 0:Mr(t,e)}(e.body);if(a){if(r&&rR(a,tA.A_constructor_cannot_contain_a_super_call_when_its_class_extends_null),(99!==Ct(eO)||!eG)&&(uv(e.parent.members,i)||uv(e.parameters,e=>S3(e,16476)))){var n;let t;if(n=e.body,R$(t=xt(a.parent))&&t.parent===n){let t;for(let n of e.body.statements){if(R$(n)&&bz(D3(n.expression))){t=n;break}if(function e(t){return 106===t.kind||108===t.kind||!Ex(t)&&!!Mr(t,e)}(n))break}void 0===t&&rR(e,tA.A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_class_contains_initialized_properties_parameter_properties_or_private_identifiers)}else rR(a,tA.A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_initialized_properties_parameter_properties_or_private_identifiers)}}else r||rR(e,tA.Constructors_for_derived_classes_must_contain_a_super_call)}})}(e);case 174:case 175:return TK(e);case 180:return TY(e);case 179:return function(e){let t=function(e){switch(e.parent.kind){case 216:case 176:case 259:case 215:case 181:case 171:case 170:let t=e.parent;if(e===t.type)return t}}(e);if(!t){rR(e,tA.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return}let n=lb(t),r=lL(n);if(!r)return;A7(e.type);let{parameterName:i}=e;if(0===r.kind||2===r.kind)dY(i);else if(r.parameterIndex>=0)GC(n)&&r.parameterIndex===n.parameters.length-1?rR(i,tA.A_type_predicate_cannot_reference_a_rest_parameter):r.type&&_t(r.type,oC(n.parameters[r.parameterIndex]),e.type,void 0,()=>L2(void 0,tA.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type));else if(i){let n=!1;for(let{name:e}of t.parameters)if(y2(e)&&function e(t,n,r){for(let i of t.elements){if(RF(i))continue;let t=i.name;if(79===t.kind&&t.escapedText===r)return rR(n,tA.A_type_predicate_cannot_reference_element_0_in_a_binding_pattern,r),!0;if((204===t.kind||203===t.kind)&&e(t,n,r))return!0}}(e,i,r.parameterName)){n=!0;break}n||rR(e.parameterName,tA.Cannot_find_parameter_0,r.parameterName)}}(e);case 183:return void co(e);case 184:return void(dz(e.members,A7),eb(function(){let t=dw(e);Ag(t,t.symbol),TM(e),TN(e)}));case 185:return void A7(e.elementType);case 186:return function(e){let t=e.elements,n=!1,r=!1,i=uv(t,w6);for(let e of t){if(199!==e.kind&&i){Cz(e,tA.Tuple_members_must_all_have_names_or_all_not_have_names);break}let t=cI(e);if(8&t){let t=d8(e.type);if(!_9(t)){rR(e,tA.A_rest_element_type_must_be_an_array_type);break}(_1(t)||pT(t)&&4&t.target.combinedFlags)&&(r=!0)}else if(4&t){if(r){Cz(e,tA.A_rest_element_cannot_follow_another_rest_element);break}r=!0}else if(2&t){if(r){Cz(e,tA.An_optional_element_cannot_follow_a_rest_element);break}n=!0}else if(n){Cz(e,tA.A_required_element_cannot_follow_an_optional_element);break}}dz(e.elements,A7),d8(e)}(e);case 189:case 190:return void(dz(e.types,A7),d8(e));case 193:case 187:case 188:return A7(e.type);case 194:return void dY(e);case 195:return void(function(e){if(156===e.operator){if(153!==e.type.kind)return Cz(e.type,tA._0_expected,tF[153]);let t=xe(e.parent);if(EZ(t)&&N4(t)){let e=T1(t);e&&(t=TH(e)||e)}switch(t.kind){case 257:let n=t;if(79!==n.name.kind)return Cz(e,tA.unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name);if(!Et(n))return Cz(e,tA.unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement);if(!(2&n.parent.flags))return Cz(t.name,tA.A_variable_whose_type_is_a_unique_symbol_type_must_be_const);break;case 169:if(!S5(t)||!Ar(t))return Cz(t.name,tA.A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly);break;case 168:if(!S3(t,64))return Cz(t.name,tA.A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly);break;default:return Cz(e,tA.unique_symbol_types_are_not_allowed_here)}}else 146===e.operator&&185!==e.type.kind&&186!==e.type.kind&&CK(e,tA.readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types,tF[153])}(e),A7(e.type));case 191:return void Mr(e,A7);case 192:return function(e){m9(e,e=>e.parent&&191===e.parent.kind&&e.parent.extendsType===e)||Cz(e,tA.infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type),A7(e.typeParameter);let t=i7(e.typeParameter);if(t.declarations&&t.declarations.length>1){let e=rX(t);if(!e.typeParametersChecked){e.typeParametersChecked=!0;let n=o$(t),r=ve(t,165);if(!AP(r,[n],e=>[e])){let e=aR(t);for(let t of r)rR(t.name,tA.All_declarations_of_0_must_have_identical_constraints,e)}}}x6(e)}(e);case 200:return function(e){for(let t of e.templateSpans)A7(t.type),_t(d8(t.type),t7,t.type);d8(e)}(e);case 202:return void(A7(e.argument),e.assertions&&Vw(e.assertions.assertClause,Cz)&&(S_()||Cz(e.assertions.assertClause,tA.resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next),3!==Ci(eO)&&99!==Ci(eO)&&Cz(e.assertions.assertClause,tA.resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext)),T8(e));case 199:return void(e.dotDotDotToken&&e.questionToken&&Cz(e,tA.A_tuple_member_cannot_be_both_optional_and_rest),187===e.type.kind&&Cz(e.type,tA.A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type),188===e.type.kind&&Cz(e.type,tA.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type),A7(e.type),d8(e));case 331:return function(e){let t=T0(e);if(!t||!No(t)&&!RP(t)){rR(t,tA.JSDoc_0_is_not_attached_to_a_class,hi(e.tagName));return}let n=hq(t).filter(Dd);T.assert(n.length>0),n.length>1&&rR(n[1],tA.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag);let r=x4(e.class.expression),i=xg(t);if(i){let t=x4(i.expression);t&&r.escapedText!==t.escapedText&&rR(r,tA.JSDoc_0_1_does_not_match_the_extends_2_clause,hi(e.tagName),hi(r),hi(t))}}(e);case 332:let i;return void((i=T0(e))&&(No(i)||RP(i))||rR(i,tA.JSDoc_0_is_not_attached_to_a_class,hi(e.tagName)));case 349:case 341:case 343:return void(e.typeExpression||rR(e.name,tA.JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags),e.name&&Ax(e.name,tA.Type_alias_name_cannot_be_0),A7(e.typeExpression),AL(hZ(e)));case 348:return function(e){for(let t of(A7(e.constraint),e.typeParameters))A7(t)}(e);case 347:case 344:case 351:return void A7(e.typeExpression);case 327:case 328:case 329:return void(e.name&&Lg(e.name,!0));case 320:eb(function(){e.type||TG(e)||pq(e,tE)}),TR(e);case 318:case 317:case 315:case 316:case 325:Le(e),Mr(e,A7);return;case 321:(function(e){Le(e),A7(e.type);let{parent:t}=e;if(wG(t)&&Di(t.parent)){uX(t.parent.parameters)!==t&&rR(e,tA.A_rest_parameter_must_be_last_in_a_parameter_list);return}N4(t)||rR(e,tA.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);let n=e.parent.parent;if(!Dx(n)){rR(e,tA.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);return}let r=T$(n);if(!r)return;let i=TZ(n);i&&uX(i.parameters).symbol===r||rR(e,tA.A_rest_parameter_must_be_last_in_a_parameter_list)})(e);return;case 312:return A7(e.type);case 336:case 338:case 337:let a;return void((a=T1(e))&&yk(a)&&rR(e,tA.An_accessibility_modifier_cannot_be_used_with_a_private_identifier));case 353:return function(e){A7(e.typeExpression);let t=T0(e);if(t){let e=hY(t,DN);if(dW(e)>1)for(let t=1;t{293!==e.kind||d||(void 0===c?c=e:(Cz(e,tA.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement),d=!0)),292===e.kind&&eb(()=>{let t=TT(e.expression);Ep(u,t)||_I(t,u,rg,e.expression,void 0,void 0)}),dz(e.statements,A7),eO.noFallthroughCasesInSwitch&&e.fallthroughFlowNode&&mg(e.fallthroughFlowNode)&&rR(e,tA.Fallthrough_case_in_switch)}),e.caseBlock.locals&&x6(e.caseBlock));case 253:return void(Cq(e)||m9(e.parent,t=>yF(t)?"quit":253===t.kind&&t.label.escapedText===e.label.escapedText&&(Cz(e.label,tA.Duplicate_label_0,v$(e.label)),!0)),A7(e.statement));case 254:return void(!Cq(e)&&wb(e.expression)&&!e.expression.escapedText&&function(e,t,n,r,i){let a=vS(e);if(!CH(a)){let n=bF(a,e.pos);r_.add(LQ(a,mO(n),0,t,void 0,void 0,void 0))}}(e,tA.Line_break_not_permitted_here),e.expression&&TT(e.expression));case 255:return function(e){Cq(e),Sd(e.tryBlock);let t=e.catchClause;if(t){if(t.variableDeclaration){let e=t.variableDeclaration;ST(e);let n=SW(e);if(n){let e=d8(n);e&&!(3&e.flags)&&CK(n,tA.Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified)}else if(e.initializer)CK(e.initializer,tA.Catch_clause_variable_cannot_have_an_initializer);else{let e=t.block.locals;e&&vc(t.locals,t=>{let n=e.get(t);(null==n?void 0:n.valueDeclaration)&&(2&n.flags)!=0&&Cz(n.valueDeclaration,tA.Cannot_redeclare_identifier_0_in_catch_clause,t)})}}Sd(t.block)}e.finallyBlock&&Sd(e.finallyBlock)}(e);case 257:return SA(e);case 205:return function(e){if(e.dotDotDotToken){let t=e.parent.elements;if(e!==uX(t))return Cz(e,tA.A_rest_element_must_be_last_in_a_destructuring_pattern);if(CS(t,tA.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),e.propertyName)return Cz(e.name,tA.A_rest_element_cannot_have_a_property_name)}e.dotDotDotToken&&e.initializer&&CW(e,e.initializer.pos-1,1,tA.A_rest_element_cannot_have_an_initializer)}(e),ST(e);case 260:let _;return _=d0(e.modifiers,wB),void(eF&&_&&uv(e.members,e=>S7(e)&&yk(e))&&Cz(_,tA.Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator),e.name||S3(e,1024)||CK(e,tA.A_class_declaration_without_the_default_modifier_must_have_a_name),AB(e),dz(e.members,A7),x6(e));case 261:return void(Cb(e)||function(e){let t=!1;if(e.heritageClauses)for(let n of e.heritageClauses){if(94!==n.token)return T.assert(117===n.token),CK(n,tA.Interface_declaration_cannot_have_implements_clause);if(t)return CK(n,tA.extends_clause_already_seen);t=!0,CR(n)}}(e),AL(e.typeParameters),eb(()=>{Ax(e.name,tA.Interface_name_cannot_be_0),xd(e);let t=i7(e);if(AC(t),e===g9(t,261)){let n=oQ(t),r=ss(n);if(function(e,t){let n=oH(e);if(n.length<2)return!0;let r=new Map;dz(o3(e).declaredProperties,t=>{r.set(t.escapedName,{prop:t,containingType:e})});let i=!0;for(let a of n)for(let n of sB(ss(a,e.thisType))){let o=r.get(n.escapedName);if(o){if(o.containingType!==e&&0===_$(o.prop,n,u1)){i=!1;let r=aD(o.containingType),s=aD(a),l=L2(void 0,tA.Named_property_0_of_types_1_and_2_are_not_identical,aR(n),r,s);l=L2(l,tA.Interface_0_cannot_simultaneously_extend_types_1_and_2,aD(e),r,s),r_.add(bw(vS(t),t,l))}}else r.set(n.escapedName,{prop:n,containingType:a})}return i}(n,e.name)){for(let t of oH(n))_t(r,ss(t,n.thisType),e.name,tA.Interface_0_incorrectly_extends_interface_1);Ag(n,t)}}TN(e)}),dz(xE(e),e=>{(!AI(e.expression)||h3(e.expression))&&rR(e.expression,tA.An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments),TY(e)}),dz(e.members,A7),eb(()=>{TM(e),x6(e)}));case 262:return void(Cb(e),Ax(e.name,tA.Type_alias_name_cannot_be_0),xd(e),AL(e.typeParameters),139===e.type.kind?iS.has(e.name.escapedText)&&1===dW(e.typeParameters)||rR(e.type,tA.The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types):(A7(e.type),x6(e)));case 263:return void eb(()=>(function(e){Cb(e),Sb(e,e.name),xd(e),e.members.forEach(A$),AX(e);let t=i7(e),n=g9(t,e.kind);if(e===n){if(t.declarations&&t.declarations.length>1){let n=bj(e);dz(t.declarations,e=>{Nc(e)&&bj(e)!==n&&rR(hp(e),tA.Enum_declarations_must_all_be_const_or_non_const)})}let n=!1;dz(t.declarations,e=>{if(263!==e.kind||!e.members.length)return!1;let t=e.members[0];t.initializer||(n?rR(t.name,tA.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element):n=!0)})}})(e));case 264:return void(e.body&&(A7(e.body),bi(e)||x6(e)),eb(function(){var t,n;let r=bi(e),i=16777216&e.flags;r&&!i&&rR(e.name,tA.Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context);let a=v7(e);if(A8(e,a?tA.An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:tA.A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module))return;Cb(e)||i||10!==e.name.kind||Cz(e.name,tA.Only_ambient_modules_can_use_quoted_names),wb(e.name)&&Sb(e,e.name),xd(e);let o=i7(e);if(512&o.flags&&!i&&GE(e,Cv(eO))){if(Cs(eO)&&!vS(e).externalModuleIndicator&&rR(e.name,tA.Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to_be_a_global_script_set_moduleDetection_to_force_or_add_an_empty_export_statement,e6),(null==(t=o.declarations)?void 0:t.length)>1){let t,n,r=function(e){let t=e.declarations;if(t){for(let e of t)if((260===e.kind||259===e.kind&&vD(e.body))&&!(16777216&e.flags))return e}}(o);r&&(vS(e)!==vS(r)?rR(e.name,tA.A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged):e.pos93===e.kind);t&&rR(t,tA.A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled)}}if(a){if(ba(e)){if((r||33554432&i7(e).flags)&&e.body)for(let t of e.body.statements)(function e(t,n){switch(t.kind){case 240:for(let r of t.declarationList.declarations)e(r,n);break;case 274:case 275:CK(t,tA.Exports_and_export_assignments_are_not_permitted_in_module_augmentations);break;case 268:case 269:CK(t,tA.Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module);break;case 205:case 257:let r=t.name;if(y2(r)){for(let t of r.elements)e(t,n);break}case 260:case 263:case 259:case 261:case 264:case 262:if(n)return}})(t,r)}else r$(e.parent)?r?rR(e.name,tA.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations):mR(xU(e.name))&&rR(e.name,tA.Ambient_module_declaration_cannot_specify_relative_module_name):r?rR(e.name,tA.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations):rR(e.name,tA.Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces)}}));case 269:return function(e){if(!A8(e,EZ(e)?tA.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module:tA.An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)){if(!Cb(e)&&S4(e)&&CK(e,tA.An_import_declaration_cannot_have_modifiers),AQ(e)){var t;let n=e.importClause;n&&!(n.isTypeOnly&&n.name&&n.namedBindings?Cz(n,tA.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both):!!n.isTypeOnly&&(null==(t=n.namedBindings)?void 0:t.kind)===272&&CX(n.namedBindings))&&(n.name&&A2(n),n.namedBindings)&&(271===n.namedBindings.kind?(A2(n.namedBindings),4!==eP&&(eP<5||1===vS(e).impliedNodeFormat)&&C_(eO)&&Ch(e,65536)):ij(e,e.moduleSpecifier)&&dz(n.namedBindings.elements,A2))}A4(e)}}(e);case 268:return function(e){if(!A8(e,EZ(e)?tA.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module:tA.An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)&&(Cb(e),EY(e)||AQ(e))){if(A2(e),S3(e,1)&&iM(e),280!==e.moduleReference.kind){let t=iw(i7(e));if(t!==ty){let n=iR(t);if(111551&n){let t=Aw(e.moduleReference);1920&iB(t,112575).flags||rR(t,tA.Module_0_is_hidden_by_a_local_declaration_with_the_same_name,bE(t))}788968&n&&Ax(e.name,tA.Import_name_cannot_be_0)}e.isTypeOnly&&Cz(e,tA.An_import_alias_cannot_use_import_type)}else!(eP>=5)||void 0!==vS(e).impliedNodeFormat||e.isTypeOnly||16777216&e.flags||Cz(e,tA.Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead)}}(e);case 275:return function(e){if(!A8(e,EZ(e)?tA.An_export_declaration_can_only_be_used_at_the_top_level_of_a_module:tA.An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)){var t;if(!Cb(e)&&S8(e)&&CK(e,tA.An_export_declaration_cannot_have_modifiers),e.moduleSpecifier&&e.exportClause&&NL(e.exportClause)&&dW(e.exportClause.elements)&&0===eM&&Ch(e,4194304),e.isTypeOnly&&(null==(t=e.exportClause)?void 0:t.kind)===276&&CX(e.exportClause),!e.moduleSpecifier||AQ(e)){if(e.exportClause&&!NE(e.exportClause)){dz(e.exportClause.elements,A6);let t=265===e.parent.kind&&v7(e.parent.parent),n=!t&&265===e.parent.kind&&!e.moduleSpecifier&&16777216&e.flags;308===e.parent.kind||t||n||rR(e,tA.Export_declarations_are_not_permitted_in_a_namespace)}else{let t=ij(e,e.moduleSpecifier);t&&iZ(t)?rR(e.moduleSpecifier,tA.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk,aR(t)):e.exportClause&&AZ(e.exportClause),4!==eP&&(eP<5||1===vS(e).impliedNodeFormat)&&(e.exportClause?C_(eO)&&Ch(e,65536):Ch(e,32768))}}A4(e)}}(e);case 274:return function(e){let t=e.isExportEquals?tA.An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration:tA.A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration;if(A8(e,t))return;let n=308===e.parent.kind?e.parent:e.parent.parent;if(264===n.kind&&!v7(n)){e.isExportEquals?rR(e,tA.An_export_assignment_cannot_be_used_in_a_namespace):rR(e,tA.A_default_export_can_only_be_used_in_an_ECMAScript_style_module);return}!Cb(e)&&S4(e)&&CK(e,tA.An_export_assignment_cannot_have_modifiers);let r=SW(e);r&&_t(Eg(e.expression),d8(r),e.expression);let i=!e.isExportEquals&&!(16777216&e.flags)&&eO.verbatimModuleSyntax&&(1===eP||1===vS(e).impliedNodeFormat);if(79===e.expression.kind){let t=e.expression,n=aa(iB(t,67108863,!0,!0,e));n?(mk(n,t),111551&iR(n)?(Eg(t),!i&&eO.verbatimModuleSyntax&&iO(n,111551)&&rR(t,e.isExportEquals?tA.An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration:tA.An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration,hi(t))):!i&&eO.verbatimModuleSyntax&&rR(t,e.isExportEquals?tA.An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type:tA.An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type,hi(t))):Eg(t),Cg(eO)&&az(t,!0)}else Eg(e.expression);i&&rR(e,tA.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled),A3(n),16777216&e.flags&&!AI(e.expression)&&Cz(e.expression,tA.The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context),e.isExportEquals&&(eP>=5&&(16777216&e.flags&&99===vS(e).impliedNodeFormat||!(16777216&e.flags)&&1!==vS(e).impliedNodeFormat)?Cz(e,tA.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead):4!==eP||16777216&e.flags||Cz(e,tA.Export_assignment_is_not_supported_when_module_flag_is_system))}(e);case 239:case 256:Cq(e);return;case 279:return void x2(e)}}(e),a=t}}function A9(e){_y(e)&&dz(e,e=>{g6(e)&&A7(e)})}function Le(e){if(!EZ(e)){if(Dn(e)||Dt(e)){let t=tF[Dn(e)?53:57],n=e.postfix?tA._0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1:tA._0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1,r=d8(e.type);Cz(e,n,t,aD(Dt(e)&&!(r===tZ||r===tQ)?cH(uD([r,tR],e.postfix?void 0:tP)):r))}else Cz(e,tA.JSDoc_types_can_only_be_used_inside_documentation_comments)}}function Lt(e){let t=rY(vS(e));1&t.flags?T.assert(!t.deferredNodes,"A type-checked file should have no deferred nodes."):(t.deferredNodes||(t.deferredNodes=new Set),t.deferredNodes.add(e))}function Ln(e){var t,n;null==(t=Q)||t.push(Q.Phase.Check,"checkDeferredNode",{kind:e.kind,pos:e.pos,end:e.end,path:e.tracingPath});let r=a;switch(a=e,ek=0,e.kind){case 210:case 211:case 212:case 167:case 283:gu(e);break;case 215:case 216:case 171:case 170:!function(e){T.assert(171!==e.kind||El(e));let t=xN(e),n=lI(e);if(bS(e,n),e.body){if(Sq(e)||lk(lb(e)),238===e.body.kind)A7(e.body);else{let r=TT(e.body),i=n&&Ah(n,t);i&&((3&t)==2?_n(xT(r,!1,e.body,tA.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member),i,e.body,e.body):_n(r,i,e.body,e.body))}}}(e);break;case 174:case 175:TK(e);break;case 228:dz(e.members,A7),x6(e);break;case 165:!function(e){var t,n;if(Ns(e.parent)||yW(e.parent)||Nl(e.parent)){let r=o$(i7(e)),i=98304&_j(r);if(i){let a=i7(e.parent);if(Nl(e.parent)&&!(48<(oQ(a))))rR(e,tA.Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_types);else if(32768===i||65536===i){null==(t=Q)||t.push(Q.Phase.CheckTypes,"checkTypeParameterDeferred",{parent:cB(oQ(a)),id:cB(r)});let o=_B(a,r,65536===i?nT:nE),l=_B(a,r,65536===i?nE:nT);s=r,_t(o,l,e,tA.Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation),s=r,null==(n=Q)||n.pop()}}}}(e);break;case 282:yi(e);break;case 281:yi(e.openingElement),hM(e.closingElement.tagName)?hW(e.closingElement):TT(e.closingElement.tagName),hU(e)}a=r,null==(n=Q)||n.pop()}function Lr(e,t){if(t)return!1;switch(e){case 0:return!!eO.noUnusedLocals;case 1:return!!eO.noUnusedParameters;default:return T.assertNever(e)}}function Li(e){return nG.get(e.path)||o}function La(t,r){try{return n=r,function(t){if(t){Lo();let e=r_.getGlobalDiagnostics(),n=e.length;Ls(t);let r=r_.getDiagnostics(t.fileName),i=r_.getGlobalDiagnostics();if(i!==e){let t=uN(e,i,L6);return uE(t,r)}return 0===n&&i.length>0?uE(i,r):r}return dz(e.getSourceFiles(),Ls),r_.getDiagnostics()}(t)}finally{n=void 0}}function Lo(){for(let e of ev)e();ev=[]}function Ls(t){var n,r;Lo();let i=eb;eb=e=>e(),null==(n=Q)||n.push(Q.Phase.Check,"checkSourceFile",{path:t.path},!0),pM("beforeCheck"),function(t){let n=rY(t);if(!(1&n.flags)){let r;if(k_(t,eO,e))return;16777216&t.flags&&function(e){for(let t of e.statements)if((gO(t)||240===t.kind)&&!(261===t.kind||262===t.kind||269===t.kind||268===t.kind||275===t.kind||274===t.kind||267===t.kind||S3(t,1027))&&CK(t,tA.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier))return!0}(t),ut(ro),ut(rs),ut(rl),ut(rc),ut(rd),dz(t.statements,A7),A7(t.endOfFileToken),(r=rY(t)).deferredNodes&&r.deferredNodes.forEach(Ln),r.deferredNodes=void 0,bU(t)&&x6(t),eb(()=>{!t.isDeclarationFile&&(eO.noUnusedLocals||eO.noUnusedParameters)&&x3(Li(t),(e,t,n)=>{!vx(e)&&Lr(t,!!(16777216&e.flags))&&r_.add(n)}),t.isDeclarationFile||function(){var e;for(let t of rd)if(!(null==(e=i7(t))?void 0:e.isReferenced)){let e=m2(t);T.assert(xQ(e),"Only parameter declaration should be checked here");let n=bC(t.name,tA._0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation,bE(t.name),bE(t.propertyName));e.type||kl(n,LQ(vS(e),e.end,1,tA.We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here,bE(t.propertyName))),r_.add(n)}}()}),2===eO.importsNotUsedAsValues&&!t.isDeclarationFile&&Md(t)&&function(e){for(let t of e.statements)(Nm(t)&&t.importClause&&!t.importClause.isTypeOnly&&TP(t.importClause,e=>!!i7(e).isReferenced)&&!LH(t.importClause,!0)&&!TP(t.importClause,e=>!!rX(i7(e)).constEnumReferenced)||Nf(t)&&ND(t.moduleReference)&&!t.isTypeOnly&&i7(t).isReferenced&&!LH(t,!1)&&!rX(i7(t)).constEnumReferenced)&&rR(t,tA.This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error)}(t),bU(t)&&A3(t),ro.length&&(dz(ro,Sm),ut(ro)),rs.length&&(dz(rs,Sh),ut(rs)),rl.length&&(dz(rl,Sg),ut(rl)),rc.length&&(dz(rc,Sv),ut(rc)),n.flags|=1}}(t),pM("afterCheck"),pP("Check","beforeCheck","afterCheck"),null==(r=Q)||r.pop(),eb=i}function Ll(e){for(;163===e.parent.kind;)e=e.parent;return 180===e.parent.kind}function Lu(e,t){let n;let r=Ev(e);for(;r&&!(n=t(r));)r=Ev(r);return n}function Lm(e,t){return!!Lu(e,e=>e===t)}function Lh(e){return void 0!==function(e){for(;163===e.parent.kind;)e=e.parent;return 268===e.parent.kind?e.parent.moduleReference===e?e.parent:void 0:274===e.parent.kind&&e.parent.expression===e?e.parent:void 0}(e)}function Ly(e){if(xs(e))return i9(e.parent);if(EZ(e)&&208===e.parent.kind&&e.parent===e.parent.parent.left&&!wE(e)&&!N6(e)){let t=function(e){switch(Tf(e.parent.parent)){case 1:case 3:return i9(e.parent);case 4:case 2:case 5:return i7(e.parent.parent)}}(e);if(t)return t}if(274===e.parent.kind&&AI(e)){let t=iB(e,2998271,!0);if(t&&t!==ty)return t}else if(yO(e)&&Lh(e)){let t=xx(e,268);return T.assert(void 0!==t),iF(e,!0)}if(yO(e)){let t=function(e){let t=e.parent;for(;wM(t);)e=t,t=t.parent;if(t&&202===t.kind&&t.qualifier===e)return t}(e);if(t){d8(t);let n=rY(e).resolvedSymbol;return n===ty?void 0:n}}for(;AF(e);)e=e.parent;if(function(e){for(;208===e.parent.kind;)e=e.parent;return 230===e.parent.kind}(e)){let t=0;230===e.parent.kind?(t=b4(e)?788968:111551,Ak(e.parent)&&(t|=111551)):t=1920,t|=2097152;let n=AI(e)?iB(e,t):void 0;if(n)return n}if(344===e.parent.kind)return T$(e.parent);if(165===e.parent.kind&&348===e.parent.parent.kind){T.assert(!EZ(e));let t=T4(e.parent);return t&&t.symbol}if(EH(e)){if(vN(e))return;let t=m9(e,ps(g6,N8,N6)),n=t?901119:111551;if(79===e.kind){if(Ej(e)&&hM(e)){let t=hW(e.parent);return t===ty?void 0:t}let r=iB(e,n,!1,!0,TZ(e));if(!r&&t){let t=m9(e,ps(yW,Ns));if(t)return Lg(e,!1,i7(t))}if(r&&t){let t=T1(e);if(t&&NQ(t)&&t===r.valueDeclaration)return iB(e,n,!0,!0,vS(t))||r}return r}if(wE(e))return yN(e);if(208===e.kind||163===e.kind){let n=rY(e);if(n.resolvedSymbol)return n.resolvedSymbol;if(208===e.kind){if(yA(e,0),!n.resolvedSymbol){let t=Eg(e.expression),r=ld(t,c0(e.name));if(r.length&&t.members){let e=sM(t).members.get("__index");if(r===ls(t))n.resolvedSymbol=e;else if(e){let i=rX(e),a=un(uu(r,e=>e.declaration),Gv).join(",");if(i.filteredIndexSymbolCache||(i.filteredIndexSymbolCache=new Map),i.filteredIndexSymbolCache.has(a))n.resolvedSymbol=i.filteredIndexSymbolCache.get(a);else{let e=rG(131072,"__index");e.declarations=uu(r,e=>e.declaration),e.parent=t.aliasSymbol?t.aliasSymbol:t.symbol?t.symbol:Lv(e.declarations[0].parent),i.filteredIndexSymbolCache.set(a,e),n.resolvedSymbol=i.filteredIndexSymbolCache.get(a)}}}}}else yC(e,0);return!n.resolvedSymbol&&t&&wM(e)?Lg(e):n.resolvedSymbol}if(N6(e))return Lg(e)}else if(Ll(e)){let t=180===e.parent.kind?788968:1920,n=iB(e,t,!1,!0);return n&&n!==ty?n:l6(e)}if(179===e.parent.kind)return iB(e,1)}function Lg(e,t,n){if(yO(e)){let r=iB(e,901119,t,!0,TZ(e));if(!r&&wb(e)&&n&&(r=i5(rQ(i4(n),e.escapedText,901119))),r)return r}let r=wb(e)?n:Lg(e.left,t,n),i=wb(e)?e.escapedText:e.right.escapedText;if(r){let e=111551&r.flags&&le(oC(r),"prototype");return le(e?oC(e):oQ(r),i)}}function Lv(e,t){if(N0(e))return Md(e)?i5(e.symbol):void 0;let{parent:n}=e,r=n.parent;if(!(33554432&e.flags)){if(GA(e)){let t=i7(n);return yb(e.parent)&&e.parent.propertyName===e?hD(t):t}if(xc(e))return i7(n.parent);if(79===e.kind){if(Lh(e))return Ly(e);if(205===n.kind&&203===r.kind&&e===n.propertyName){let t=le(Lb(r),e.escapedText);if(t)return t}else if(Rj(n)&&n.name===e)return 103===n.keywordToken&&"target"===hi(e)?vG(n).symbol:100===n.keywordToken&&"meta"===hi(e)?cf().members.get("meta"):void 0}switch(e.kind){case 79:case 80:case 208:case 163:if(!Sj(e))return Ly(e);case 108:let i=ET(e,!1,!1);if(yF(i)){let e=lb(i);if(e.thisParameter)return e.thisParameter}if(EK(e))return TT(e).symbol;case 194:return dY(e).symbol;case 106:return TT(e).symbol;case 135:let a=e.parent;if(a&&173===a.kind)return a.parent.symbol;return;case 10:case 14:if(Eq(e.parent.parent)&&EJ(e.parent.parent)===e||(269===e.parent.kind||275===e.parent.kind)&&e.parent.moduleSpecifier===e||EZ(e)&&100!==Ci(eO)&&E8(e.parent,!1)||bq(e.parent)||Rs(e.parent)&&bX(e.parent.parent)&&e.parent.parent.argument===e.parent)return ij(e,e,t);if(Rg(n)&&Tm(n)&&n.arguments[1]===e)return i7(n);case 8:let o=Ry(n)?n.argumentExpression===e?Ty(n.expression):void 0:Rs(n)&&Ra(r)?d8(r.objectType):void 0;return o&&le(o,hn(e.text));case 88:case 98:case 38:case 84:return i9(e.parent);case 202:return bX(e)?Lv(e.argument.literal,t):void 0;case 93:return NS(e.parent)?T.checkDefined(e.parent.symbol):void 0;case 100:case 103:return Rj(e.parent)?vF(e.parent).symbol:void 0;case 233:return TT(e).symbol;default:return}}}function Lb(e){if(N0(e)&&!Md(e)||33554432&e.flags)return tS;let t=AS(e),n=t&&oW(i7(t.class));if(b4(e)){let t=d8(e);return n?ss(t,n.thisType):t}if(EH(e))return LA(e);if(n&&!t.isImplements){let e=uK(oH(n));return e?ss(e,n.thisType):tS}if(kz(e))return oQ(i7(e));if(79===e.kind&&kz(e.parent)&&hp(e.parent)===e){let t=Lv(e);return t?oQ(t):tS}if(gO(e)){let t=i7(e);return t?oC(t):tS}if(GA(e)){let t=Lv(e);return t?oC(t):tS}if(y2(e))return ot(e.parent,!0,0)||tS;if(Lh(e)){let t=Lv(e);if(t){let e=oQ(t);return aZ(e)?oC(t):e}}return Rj(e.parent)&&e.parent.keywordToken===e.kind?vF(e.parent):tS}function Lx(e){if(T.assert(207===e.kind||206===e.kind),247===e.parent.kind){let t=SR(e.parent);return E_(e,t||tS)}if(223===e.parent.kind){let t=Ty(e.parent.right);return E_(e,t||tS)}if(299===e.parent.kind){let t=_T(e.parent.parent,Rm),n=Lx(t)||tS,r=vZ(t.properties,e.parent);return Es(t,n,r)}let t=_T(e.parent,Rf),n=Lx(t)||tS,r=SN(65,n,tR,e.parent)||tS;return Eu(t,n,t.elements.indexOf(e),r)}function LA(e){return AM(e)&&(e=e.parent),dV(Ty(e))}function LL(e){let t=i9(e.parent);return S5(e)?oC(t):oQ(t)}function LC(e){let t=e.name;switch(t.kind){case 79:return dH(hi(t));case 8:case 10:return dH(t.text);case 164:let n=hw(t);return b0(n,12288)?n:tB;default:return T.fail("Unsupported property name.")}}function Lk(e){let t=vt(sB(e=s0(e))),n=ln(e,0).length?h:ln(e,1).length?y:void 0;return n&&dz(sB(n),e=>{t.has(e.escapedName)||t.set(e.escapedName,e)}),af(t)}function LR(e){return 0!==ln(e,0).length||0!==ln(e,1).length}function LN(e){if(yL(e))return!1;let t=ht(e,wb);if(!t)return!1;let n=t.parent;return!!n&&!((Rh(n)||NX(n))&&n.name===t)&&Ca(t)===e4}function LD(e){let t=ij(e.parent,e);if(!t||bn(t))return!0;let n=iZ(t),r=rX(t=iY(t));return void 0===r.exportsSomeValue&&(r.exportsSomeValue=n?!!(111551&t.flags):vl(i8(t),function(e){return(e=iI(e))&&!!(111551&iR(e))})),r.exportsSomeValue}function LM(e,t){var n;let r=ht(e,wb);if(r){let e=Ca(r,gI(r.parent)&&r===r.parent.name);if(e){if(1048576&e.flags){let n=i5(e.exportSymbol);if(!t&&944&n.flags&&!(3&n.flags))return;e=n}let i=ae(e);if(i){if(512&i.flags&&(null==(n=i.valueDeclaration)?void 0:n.kind)===308){let e=i.valueDeclaration;return e!==vS(r)?void 0:e}return m9(r.parent,e=>gI(e)&&i7(e)===i)}}}}function LP(e){let t=I4(e);if(t)return t;let n=ht(e,wb);if(n){let e;let t=(e=rY(n).resolvedSymbol)&&e!==ty?e:r0(n,n.escapedText,3257279,void 0,void 0,!0,void 0,void 0);if(ik(t,111551)&&!iO(t,111551))return r7(t)}}function LF(e){if(418&e.flags&&e.valueDeclaration&&!N0(e.valueDeclaration)){let t=rX(e);if(void 0===t.isDeclarationWithCollidingName){let n=bv(e.valueDeclaration);if(vC(n)||e.valueDeclaration&&Rp(e.valueDeclaration)&&295===m2(e.valueDeclaration).parent.kind){let r=rY(e.valueDeclaration);if(r0(n.parent,e.escapedName,111551,void 0,void 0,!1))t.isDeclarationWithCollidingName=!0;else if(16384&r.flags){let e=32768&r.flags,i=gh(n,!1),a=238===n.kind&&gh(n.parent,!1);t.isDeclarationWithCollidingName=!br(n)&&(!e||!i&&!a)}else t.isDeclarationWithCollidingName=!1}}return t.isDeclarationWithCollidingName}return!1}function LG(e){if(!yL(e)){let t=ht(e,wb);if(t){let e=Ca(t);if(e&&LF(e))return e.valueDeclaration}}}function LB(e){let t=ht(e,gO);if(t){let e=i7(t);if(e)return LF(e)}return!1}function LU(e){let t=ht(e,Nf);return!!(void 0!==t&&308===t.parent.kind&&EY(t))&&LV(i7(t))&&t.moduleReference&&!vN(t.moduleReference)}function LV(e){var t;if(!e)return!1;let n=aa(iw(e));return n===ty||!!((null!=(t=iR(n))?t:-1)&111551)&&(Cv(eO)||!Lj(n))}function Lj(e){return Eo(e)||!!e.constEnumOnlyModule}function LH(e,t){if(T.assert(!eO.verbatimModuleSyntax),r9(e)){let t=i7(e),n=t&&rX(t);if(null==n?void 0:n.referenced)return!0;let r=rX(t).aliasTarget;if(r&&1&Al(e)&&111551&iR(r)&&(Cv(eO)||!Lj(r)))return!0}return!!t&&!!Mr(e,e=>LH(e,t))}function LK(e){if(vD(e.body)){if(gY(e)||gX(e))return!1;let t=lx(i7(e));return t.length>1||1===t.length&&t[0].declaration!==e}return!1}function LW(e){return!!eU&&!lh(e)&&!Dx(e)&&!!e.initializer&&!S3(e,16476)}function Lz(e){return eU&&lh(e)&&!e.initializer&&S3(e,16476)}function Lq(e){let t=ht(e,Na);if(!t)return!1;let n=i7(t);return!!n&&!!(16&n.flags)&&!!vl(i4(n),e=>111551&e.flags&&e.valueDeclaration&&Rh(e.valueDeclaration))}function LJ(e){let t=ht(e,Na);if(!t)return o;let n=i7(t);return n&&sB(oC(n))||o}function LX(e){var t;let n=e.id||0;return n<0||n>=n5.length?0:(null==(t=n5[n])?void 0:t.flags)||0}function LY(e){return AX(e.parent),rY(e).enumMemberValue}function L$(e){switch(e.kind){case 302:case 208:case 209:return!0}return!1}function L1(e){if(302===e.kind)return LY(e);let t=rY(e).resolvedSymbol;if(t&&8&t.flags){let e=t.valueDeclaration;if(bj(e.parent))return LY(e)}}function L8(e){return!!(524288&e.flags)&&ln(e,0).length>0}function L3(e,t){var n;let r=ht(e,yO);if(!r||t&&!(t=ht(t)))return 0;let i=!1;if(wM(r)){let e=iB(Aw(r),111551,!0,!0,t);i=!!(null==(n=null==e?void 0:e.declarations)?void 0:n.every(yx))}let a=iB(r,111551,!0,!0,t),o=a&&2097152&a.flags?iw(a):a;i||(i=!!(a&&iO(a,111551)));let s=iB(r,788968,!0,!1,t);if(o&&o===s){let e=cb(!1);if(e&&o===e)return 9;let t=oC(o);if(t&&oF(t))return i?10:1}if(!s)return i?11:0;let l=oQ(s);return aZ(l)?i?11:0:3&l.flags?11:b0(l,245760)?2:b0(l,528)?6:b0(l,296)?3:b0(l,2112)?4:b0(l,402653316)?5:pT(l)?7:b0(l,12288)?8:L8(l)?10:_1(l)?7:11}function L5(e,t,n,r,i){let a=ht(e,Ee);if(!a)return nU.createToken(131);let o=i7(a),s=o&&!(133120&o.flags)?pv(oC(o)):tS;return 8192&s.flags&&s.symbol===o&&(n|=1048576),i&&(s=pR(s)),eZ.typeToTypeNode(s,t,1024|n,r)}function L7(e,t,n,r){let i=ht(e,yF);if(!i)return nU.createToken(131);let a=lb(i);return eZ.typeToTypeNode(lk(a),t,1024|n,r)}function L9(e,t,n,r){let i=ht(e,gp);if(!i)return nU.createToken(131);let a=pz(LA(i));return eZ.typeToTypeNode(a,t,1024|n,r)}function Ce(e){return e0.has(hn(e))}function Ca(e,t){let n=rY(e).resolvedSymbol;if(n)return n;let r=e;if(t){let t=e.parent;gO(t)&&e===t.name&&(r=aY(t))}return r0(r,e.escapedText,3257279,void 0,void 0,!0)}function Cl(e){if(!yL(e)){let t=ht(e,wb);if(t){let e=Ca(t);if(e)return aa(e).valueDeclaration}}}function Cc(e){return!!(bH(e)||Nr(e)&&bK(e))&&dj(oC(i7(e)))}function Cd(e,t){return function(e,t,n){let r=1056&e.flags?eZ.symbolToExpression(e.symbol,111551,t,void 0,n):e===tK?nU.createTrue():e===tj&&nU.createFalse();if(r)return r;let i=e.value;return"object"==typeof i?nU.createBigIntLiteral(i):"number"==typeof i?nU.createNumericLiteral(i):nU.createStringLiteral(i)}(oC(i7(e)),e,t)}function Cu(e){return e?(rL(e),vS(e).localJsxFactory||ey):ey}function Cf(e){if(e){let t=vS(e);if(t){if(t.localJsxFragmentFactory)return t.localJsxFragmentFactory;let e=t.pragmas.get("jsxfrag"),n=_y(e)?e[0]:e;if(n)return t.localJsxFragmentFactory=Ml(n.arguments.factory,eM),t.localJsxFragmentFactory}}if(eO.jsxFragmentFactory)return Ml(eO.jsxFragmentFactory,eM)}function Cm(e){let t=264===e.kind?_E(e.name,wr):TD(e),n=iq(t,t,void 0);if(n)return g9(n,308)}function Ch(e,t){if((r&t)!==t&&eO.importHelpers){let n=vS(e);if(bl(n,eO)&&!(16777216&e.flags)){let a=(i||(i=iJ(n,tz,tA.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,e)||ty),i);if(a!==ty){let n=t&~r;for(let t=1;t<=16777216;t<<=1)if(n&t)for(let n of function(e){switch(e){case 1:return["__extends"];case 2:return["__assign"];case 4:return["__rest"];case 8:return eF?["__decorate"]:["__esDecorate","__runInitializers"];case 16:return["__metadata"];case 32:return["__param"];case 64:return["__awaiter"];case 128:return["__generator"];case 256:return["__values"];case 512:return["__read"];case 1024:return["__spreadArray"];case 2048:return["__await"];case 4096:return["__asyncGenerator"];case 8192:return["__asyncDelegator"];case 16384:return["__asyncValues"];case 32768:return["__exportStar"];case 65536:return["__importStar"];case 131072:return["__importDefault"];case 262144:return["__makeTemplateObject"];case 524288:return["__classPrivateFieldGet"];case 1048576:return["__classPrivateFieldSet"];case 2097152:return["__classPrivateFieldIn"];case 4194304:return["__createBinding"];case 8388608:return["__setFunctionName"];case 16777216:return["__propKey"];default:return T.fail("Unrecognized helper")}}(t)){if(eE.has(n))continue;eE.add(n);let r=rQ(a.exports,hn(n),111551);r?524288&t?uv(lx(r),e=>vq(e)>3)||rR(e,tA.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,tz,n,4):1048576&t?uv(lx(r),e=>vq(e)>4)||rR(e,tA.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,tz,n,5):1024&t&&!uv(lx(r),e=>vq(e)>2)&&rR(e,tA.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,tz,n,3):rR(e,tA.This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0,tz,n)}}r|=t}}}function Cb(e){let t,n,r,i,a,o;let s=(o=Oy(e)?d0(e.modifiers,wB):void 0)&&CK(o,tA.Decorators_are_not_valid_here)||function(e){if(!e.modifiers)return!1;let t=function(e){switch(e.kind){case 174:case 175:case 173:case 169:case 168:case 171:case 170:case 178:case 264:case 269:case 268:case 275:case 274:case 215:case 216:case 166:case 165:return;case 172:case 299:case 300:case 267:case 279:return d0(e.modifiers,yD);default:if(265===e.parent.kind||308===e.parent.kind)return;switch(e.kind){case 259:return CT(e,132);case 260:case 182:return CT(e,126);case 228:case 261:case 240:case 262:return d0(e.modifiers,yD);case 263:return CT(e,85);default:T.assertNever(e)}}}(e);return t&&CK(t,tA.Modifiers_cannot_appear_here)}(e);if(void 0!==s)return s;if(wG(e)&&SU(e))return CK(e,tA.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters);let l=0,c=!1,d=!1;for(let o of e.modifiers)if(wB(o)){if(EM(eF,e,e.parent,e.parent.parent)){if(eF&&(174===e.kind||175===e.kind)){let t=SK(e.parent.members,e);if(Ai(t.firstAccessor)&&e===t.secondAccessor)return CK(e,tA.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name)}}else{if(171===e.kind&&!vD(e.body))return CK(e,tA.A_decorator_can_only_decorate_a_method_implementation_not_an_overload);return CK(e,tA.Decorators_are_not_valid_here)}if(-132098&l)return Cz(o,tA.Decorators_are_not_valid_here);if(d&&126975&l){if(T.assertIsDefined(a),!CH(vS(o)))return kl(rR(o,tA.Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export),bC(a,tA.Decorator_used_before_export_here)),!0;return!1}126975&(l|=131072)?1&l&&(c=!0):d=!0,null!=a||(a=o)}else{if(146!==o.kind){if(168===e.kind||170===e.kind)return Cz(o,tA._0_modifier_cannot_appear_on_a_type_member,tF[o.kind]);if(178===e.kind&&(124!==o.kind||!yW(e.parent)))return Cz(o,tA._0_modifier_cannot_appear_on_an_index_signature,tF[o.kind])}if(101!==o.kind&&145!==o.kind&&85!==o.kind&&165===e.kind)return Cz(o,tA._0_modifier_cannot_appear_on_a_type_parameter,tF[o.kind]);switch(o.kind){case 85:if(263!==e.kind&&165!==e.kind)return Cz(e,tA.A_class_member_cannot_have_the_0_keyword,tF[85]);let s=e.parent;if(165===e.kind&&!(yB(s)||yW(s)||wZ(s)||w0(s)||wJ(s)||wX(s)||wj(s)))return Cz(o,tA._0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class,tF[o.kind]);break;case 161:if(16384&l)return Cz(o,tA._0_modifier_already_seen,"override");if(2&l)return Cz(o,tA._0_modifier_cannot_be_used_with_1_modifier,"override","declare");if(64&l)return Cz(o,tA._0_modifier_must_precede_1_modifier,"override","readonly");if(128&l)return Cz(o,tA._0_modifier_must_precede_1_modifier,"override","accessor");if(512&l)return Cz(o,tA._0_modifier_must_precede_1_modifier,"override","async");l|=16384,i=o;break;case 123:case 122:case 121:let d=aU(Am(o.kind));if(28&l)return Cz(o,tA.Accessibility_modifier_already_seen);if(16384&l)return Cz(o,tA._0_modifier_must_precede_1_modifier,d,"override");if(32&l)return Cz(o,tA._0_modifier_must_precede_1_modifier,d,"static");if(128&l)return Cz(o,tA._0_modifier_must_precede_1_modifier,d,"accessor");if(64&l)return Cz(o,tA._0_modifier_must_precede_1_modifier,d,"readonly");if(512&l)return Cz(o,tA._0_modifier_must_precede_1_modifier,d,"async");if(265===e.parent.kind||308===e.parent.kind)return Cz(o,tA._0_modifier_cannot_appear_on_a_module_or_namespace_element,d);else if(256&l){if(121===o.kind)return Cz(o,tA._0_modifier_cannot_be_used_with_1_modifier,d,"abstract");return Cz(o,tA._0_modifier_must_precede_1_modifier,d,"abstract")}else if(yk(e))return Cz(o,tA.An_accessibility_modifier_cannot_be_used_with_a_private_identifier);l|=Am(o.kind);break;case 124:if(32&l)return Cz(o,tA._0_modifier_already_seen,"static");if(64&l)return Cz(o,tA._0_modifier_must_precede_1_modifier,"static","readonly");if(512&l)return Cz(o,tA._0_modifier_must_precede_1_modifier,"static","async");if(128&l)return Cz(o,tA._0_modifier_must_precede_1_modifier,"static","accessor");if(265===e.parent.kind||308===e.parent.kind)return Cz(o,tA._0_modifier_cannot_appear_on_a_module_or_namespace_element,"static");if(166===e.kind)return Cz(o,tA._0_modifier_cannot_appear_on_a_parameter,"static");if(256&l)return Cz(o,tA._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");else if(16384&l)return Cz(o,tA._0_modifier_must_precede_1_modifier,"static","override");l|=32,t=o;break;case 127:if(128&l)return Cz(o,tA._0_modifier_already_seen,"accessor");if(64&l)return Cz(o,tA._0_modifier_cannot_be_used_with_1_modifier,"accessor","readonly");if(2&l)return Cz(o,tA._0_modifier_cannot_be_used_with_1_modifier,"accessor","declare");if(169!==e.kind)return Cz(o,tA.accessor_modifier_can_only_appear_on_a_property_declaration);l|=128;break;case 146:if(64&l)return Cz(o,tA._0_modifier_already_seen,"readonly");if(169!==e.kind&&168!==e.kind&&178!==e.kind&&166!==e.kind)return Cz(o,tA.readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature);if(128&l)return Cz(o,tA._0_modifier_cannot_be_used_with_1_modifier,"readonly","accessor");l|=64;break;case 93:if(eO.verbatimModuleSyntax&&!(16777216&e.flags)&&262!==e.kind&&261!==e.kind&&264!==e.kind&&308===e.parent.kind&&(1===eP||1===vS(e).impliedNodeFormat))return Cz(o,tA.A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled);if(1&l)return Cz(o,tA._0_modifier_already_seen,"export");if(2&l)return Cz(o,tA._0_modifier_must_precede_1_modifier,"export","declare");if(256&l)return Cz(o,tA._0_modifier_must_precede_1_modifier,"export","abstract");if(512&l)return Cz(o,tA._0_modifier_must_precede_1_modifier,"export","async");if(yW(e.parent))return Cz(o,tA._0_modifier_cannot_appear_on_class_elements_of_this_kind,"export");if(166===e.kind)return Cz(o,tA._0_modifier_cannot_appear_on_a_parameter,"export");l|=1;break;case 88:let u=308===e.parent.kind?e.parent:e.parent.parent;if(264===u.kind&&!v7(u))return Cz(o,tA.A_default_export_can_only_be_used_in_an_ECMAScript_style_module);if(!(1&l))return Cz(o,tA._0_modifier_must_precede_1_modifier,"export","default");if(c)return Cz(a,tA.Decorators_are_not_valid_here);l|=1024;break;case 136:if(2&l)return Cz(o,tA._0_modifier_already_seen,"declare");if(512&l)return Cz(o,tA._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(16384&l)return Cz(o,tA._0_modifier_cannot_be_used_in_an_ambient_context,"override");if(yW(e.parent)&&!wV(e))return Cz(o,tA._0_modifier_cannot_appear_on_class_elements_of_this_kind,"declare");if(166===e.kind)return Cz(o,tA._0_modifier_cannot_appear_on_a_parameter,"declare");if(16777216&e.parent.flags&&265===e.parent.kind)return Cz(o,tA.A_declare_modifier_cannot_be_used_in_an_already_ambient_context);if(yk(e))return Cz(o,tA._0_modifier_cannot_be_used_with_a_private_identifier,"declare");else if(128&l)return Cz(o,tA._0_modifier_cannot_be_used_with_1_modifier,"declare","accessor");l|=2,n=o;break;case 126:if(256&l)return Cz(o,tA._0_modifier_already_seen,"abstract");if(260!==e.kind&&182!==e.kind){if(171!==e.kind&&169!==e.kind&&174!==e.kind&&175!==e.kind)return Cz(o,tA.abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration);if(!(260===e.parent.kind&&S3(e.parent,256)))return Cz(o,tA.Abstract_methods_can_only_appear_within_an_abstract_class);if(32&l)return Cz(o,tA._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");if(8&l)return Cz(o,tA._0_modifier_cannot_be_used_with_1_modifier,"private","abstract");if(512&l&&r)return Cz(r,tA._0_modifier_cannot_be_used_with_1_modifier,"async","abstract");if(16384&l)return Cz(o,tA._0_modifier_must_precede_1_modifier,"abstract","override");if(128&l)return Cz(o,tA._0_modifier_must_precede_1_modifier,"abstract","accessor")}if(hu(e)&&80===e.name.kind)return Cz(o,tA._0_modifier_cannot_be_used_with_a_private_identifier,"abstract");l|=256;break;case 132:if(512&l)return Cz(o,tA._0_modifier_already_seen,"async");if(2&l||16777216&e.parent.flags)return Cz(o,tA._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(166===e.kind)return Cz(o,tA._0_modifier_cannot_appear_on_a_parameter,"async");if(256&l)return Cz(o,tA._0_modifier_cannot_be_used_with_1_modifier,"async","abstract");l|=512,r=o;break;case 101:case 145:let _=101===o.kind?32768:65536,p=101===o.kind?"in":"out";if(165!==e.kind||!(Ns(e.parent)||yW(e.parent)||Nl(e.parent)))return Cz(o,tA._0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias,p);if(l&_)return Cz(o,tA._0_modifier_already_seen,p);if(32768&_&&65536&l)return Cz(o,tA._0_modifier_must_precede_1_modifier,"in","out");l|=_}}return 173===e.kind?32&l?Cz(t,tA._0_modifier_cannot_appear_on_a_constructor_declaration,"static"):16384&l?Cz(i,tA._0_modifier_cannot_appear_on_a_constructor_declaration,"override"):!!(512&l)&&Cz(r,tA._0_modifier_cannot_appear_on_a_constructor_declaration,"async"):(269===e.kind||268===e.kind)&&2&l?Cz(n,tA.A_0_modifier_cannot_be_used_with_an_import_declaration,"declare"):166===e.kind&&16476&l&&y2(e.name)?Cz(e,tA.A_parameter_property_may_not_be_declared_using_a_binding_pattern):166===e.kind&&16476&l&&e.dotDotDotToken?Cz(e,tA.A_parameter_property_cannot_be_declared_using_a_rest_parameter):!!(512&l)&&function(e,t){switch(e.kind){case 171:case 259:case 215:case 216:return!1}return Cz(t,tA._0_modifier_cannot_be_used_here,"async")}(e,r)}function CT(e,t){let n=d0(e.modifiers,yD);return n&&n.kind!==t?n:void 0}function CS(e,t=tA.Trailing_comma_not_allowed){return!!e&&!!e.hasTrailingComma&&CW(e[0],e.end-1,1,t)}function CA(e,t){if(e&&0===e.length){let n=e.pos-1,r=mc(t.text,e.end)+1;return CW(t,n,r-n,tA.Type_parameter_list_cannot_be_empty)}return!1}function CL(e){let t=vS(e);return Cb(e)||CA(e.typeParameters,t)||function(e){let t=!1,n=e.length;for(let r=0;r1||e.typeParameters.hasTrailingComma||e.typeParameters[0].constraint)&&t&&f_(t.fileName,[".mts",".cts"])&&Cz(e.typeParameters[0],tA.This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint);let{equalsGreaterThanToken:n}=e;return mt(t,n.pos).line!==mt(t,n.end).line&&Cz(n,tA.Line_terminator_not_permitted_before_arrow)}(e,t)||yB(e)&&function(e){if(eM>=3){let t=e.body&&RJ(e.body)&&DZ(e.body.statements);if(t){let n=d9(e.parameters,e=>!!e.initializer||y2(e.name)||g5(e));if(dW(n)){dz(n,e=>{kl(rR(e,tA.This_parameter_is_not_allowed_with_use_strict_directive),bC(t,tA.use_strict_directive_used_here))});let e=n.map((e,t)=>0===t?bC(e,tA.Non_simple_parameter_declared_here):bC(e,tA.and_here));return kl(rR(t,tA.use_strict_directive_cannot_be_used_with_non_simple_parameter_list),...e),!0}}}return!1}(e)}function CC(e,t){return CS(t)||function(e,t){if(t&&0===t.length){let n=vS(e),r=t.pos-1,i=mc(n.text,t.end)+1;return CW(n,r,i-r,tA.Type_argument_list_cannot_be_empty)}return!1}(e,t)}function CR(e){let t=e.types;if(CS(t))return!0;if(t&&0===t.length){let n=tF[e.token];return CW(e,t.pos,0,tA._0_list_cannot_be_empty,n)}return uv(t,CN)}function CN(e){return RG(e)&&wD(e.expression)&&e.typeArguments?Cz(e,tA.This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments):CC(e,e.typeArguments)}function CD(e){return 164===e.kind&&223===e.expression.kind&&27===e.expression.operatorToken.kind&&Cz(e.expression,tA.A_comma_expression_is_not_allowed_in_a_computed_property_name)}function CO(e){if(e.asteriskToken){if(T.assert(259===e.kind||215===e.kind||171===e.kind),16777216&e.flags)return Cz(e.asteriskToken,tA.Generators_are_not_allowed_in_an_ambient_context);if(!e.body)return Cz(e.asteriskToken,tA.An_overload_signature_cannot_be_declared_as_a_generator)}}function CM(e,t){return!!e&&Cz(e,t)}function CP(e){if(Cq(e))return!0;if(247===e.kind&&e.awaitModifier&&!(32768&e.flags)){let t=vS(e);if(ES(e)){if(!CH(t))switch(bl(t,eO)||r_.add(bC(e.awaitModifier,tA.for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module)),eP){case 100:case 199:if(1===t.impliedNodeFormat){r_.add(bC(e.awaitModifier,tA.The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level));break}case 7:case 99:case 4:if(eM>=4)break;default:r_.add(bC(e.awaitModifier,tA.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher))}}else if(!CH(t)){let t=bC(e.awaitModifier,tA.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules),n=Ey(e);return n&&173!==n.kind&&(T.assert((2&xN(n))==0,"Enclosing function should never be an async function."),kl(t,bC(n,tA.Did_you_mean_to_mark_this_function_as_async))),r_.add(t),!0}return!1}if(R4(e)&&!(32768&e.flags)&&wb(e.initializer)&&"async"===e.initializer.escapedText)return Cz(e.initializer,tA.The_left_hand_side_of_a_for_of_statement_may_not_be_async),!1;if(258===e.initializer.kind){let t=e.initializer;if(!Cj(t)){let n=t.declarations;if(!n.length)return!1;if(n.length>1){let n=246===e.kind?tA.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:tA.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement;return CK(t.declarations[1],n)}let r=n[0];if(r.initializer){let t=246===e.kind?tA.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:tA.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer;return Cz(r.name,t)}if(r.type)return Cz(r,246===e.kind?tA.The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:tA.The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation)}}return!1}function CF(e){if(e.parameters.length===(174===e.kind?1:2))return SB(e)}function CG(e,t){if(xF(e)&&!o7(e))return Cz(e,t)}function CB(e){if(CL(e))return!0;if(171===e.kind){if(207===e.parent.kind){var t,n;if(e.modifiers&&!(1===e.modifiers.length&&132===uz(e.modifiers).kind))return CK(e,tA.Modifiers_cannot_appear_here);if(CM(e.questionToken,tA.An_object_member_cannot_be_declared_optional)||(t=e.exclamationToken,n=tA.A_definite_assignment_assertion_is_not_permitted_in_this_context,t&&Cz(t,n)))return!0;if(void 0===e.body)return CW(e,e.end-1,1,tA._0_expected,"{")}if(CO(e))return!0}if(yW(e.parent)){if(eM<2&&wE(e.name))return Cz(e.name,tA.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(16777216&e.flags)return CG(e.name,tA.A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);if(171===e.kind&&!e.body)return CG(e.name,tA.A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}else if(261===e.parent.kind)return CG(e.name,tA.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);else if(184===e.parent.kind)return CG(e.name,tA.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}function CU(e){return xO(e)||221===e.kind&&40===e.operator&&8===e.operand.kind}function CV(e){let t=e.initializer;if(t){var n;let r=!(CU(t)||function(e){if((Rh(e)||Ry(e)&&CU(e.argumentExpression))&&AI(e.expression))return!!(1056&Eg(e).flags)}(t)||110===t.kind||95===t.kind||9===(n=t).kind||221===n.kind&&40===n.operator&&9===n.operand.kind);if(!(bH(e)||Nr(e)&&bK(e))||e.type)return Cz(t,tA.Initializers_are_not_allowed_in_ambient_contexts);if(r)return Cz(t,tA.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference)}}function Cj(e){let t=e.declarations;return!!CS(e.declarations)||!e.declarations.length&&CW(e,t.pos,t.end-t.pos,tA.Variable_declaration_list_cannot_be_empty)}function CH(e){return e.parseDiagnostics.length>0}function CK(e,t,n,r,i){let a=vS(e);if(!CH(a)){let o=bF(a,e.pos);return r_.add(LQ(a,o.start,o.length,t,n,r,i)),!0}return!1}function CW(e,t,n,r,i,a,o){let s=vS(e);return!CH(s)&&(r_.add(LQ(s,t,n,r,i,a,o)),!0)}function Cz(e,t,n,r,i){return!CH(vS(e))&&(r_.add(bC(e,t,n,r,i)),!0)}function Cq(e){if(16777216&e.flags){if(!rY(e).hasReportedStatementInAmbientContext&&(yF(e.parent)||yz(e.parent)))return rY(e).hasReportedStatementInAmbientContext=CK(e,tA.An_implementation_cannot_be_declared_in_ambient_contexts);if(238===e.parent.kind||265===e.parent.kind||308===e.parent.kind){let t=rY(e.parent);if(!t.hasReportedStatementInAmbientContext)return t.hasReportedStatementInAmbientContext=CK(e,tA.Statements_are_not_allowed_in_ambient_contexts)}}return!1}function CJ(e){let t,n;if(32&e.numericLiteralFlags){let t;if(eM>=1?t=tA.Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:b8(e,198)?t=tA.Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:b8(e,302)&&(t=tA.Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0),t){let n=RI(e.parent)&&40===e.parent.operator,r=(n?"-":"")+"0o"+e.text;return Cz(n?e.parent:e,t,r)}}return t=-1!==v$(e).indexOf("."),n=16&e.numericLiteralFlags,t||n||9007199254740991>=+e.text||rN(!1,bC(e,tA.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers)),!1}function CX(e){return!!dz(e.elements,e=>{if(e.isTypeOnly)return CK(e,273===e.kind?tA.The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement:tA.The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement)})}function CY(e,t,n,r){if(1048576&t.flags&&2621440&e.flags){let i=fP(t,e);if(i)return i;let a=sB(e);if(a){let e=fD(a,t);if(e)return _O(t,un(e,e=>[()=>oC(e),e.escapedName]),n,void 0,r)}}}}function Gx(e){return!yz(e)}function GS(e){return 259!==e.kind&&171!==e.kind||!!e.body}function GA(e){switch(e.parent.kind){case 273:case 278:return wb(e);default:return xs(e)}}function GL(e){switch(e){case 0:return"yieldType";case 1:return"returnType";case 2:return"nextType"}}function GC(e){return!!(1&e.flags)}function Gk(e){return!!(2&e.flags)}var GI=dj({"src/compiler/checker.ts"(){var e,t,n,r;Kr(),Gy(),pJ(),i_=/^".+"$/,ip="(anonymous)",im=1,ih=1,iy=1,ig=1,(e=iv||{})[e.None=0]="None",e[e.TypeofEQString=1]="TypeofEQString",e[e.TypeofEQNumber=2]="TypeofEQNumber",e[e.TypeofEQBigInt=4]="TypeofEQBigInt",e[e.TypeofEQBoolean=8]="TypeofEQBoolean",e[e.TypeofEQSymbol=16]="TypeofEQSymbol",e[e.TypeofEQObject=32]="TypeofEQObject",e[e.TypeofEQFunction=64]="TypeofEQFunction",e[e.TypeofEQHostObject=128]="TypeofEQHostObject",e[e.TypeofNEString=256]="TypeofNEString",e[e.TypeofNENumber=512]="TypeofNENumber",e[e.TypeofNEBigInt=1024]="TypeofNEBigInt",e[e.TypeofNEBoolean=2048]="TypeofNEBoolean",e[e.TypeofNESymbol=4096]="TypeofNESymbol",e[e.TypeofNEObject=8192]="TypeofNEObject",e[e.TypeofNEFunction=16384]="TypeofNEFunction",e[e.TypeofNEHostObject=32768]="TypeofNEHostObject",e[e.EQUndefined=65536]="EQUndefined",e[e.EQNull=131072]="EQNull",e[e.EQUndefinedOrNull=262144]="EQUndefinedOrNull",e[e.NEUndefined=524288]="NEUndefined",e[e.NENull=1048576]="NENull",e[e.NEUndefinedOrNull=2097152]="NEUndefinedOrNull",e[e.Truthy=4194304]="Truthy",e[e.Falsy=8388608]="Falsy",e[e.IsUndefined=16777216]="IsUndefined",e[e.IsNull=33554432]="IsNull",e[e.IsUndefinedOrNull=50331648]="IsUndefinedOrNull",e[e.All=134217727]="All",e[e.BaseStringStrictFacts=3735041]="BaseStringStrictFacts",e[e.BaseStringFacts=12582401]="BaseStringFacts",e[e.StringStrictFacts=16317953]="StringStrictFacts",e[e.StringFacts=16776705]="StringFacts",e[e.EmptyStringStrictFacts=12123649]="EmptyStringStrictFacts",e[e.EmptyStringFacts=12582401]="EmptyStringFacts",e[e.NonEmptyStringStrictFacts=7929345]="NonEmptyStringStrictFacts",e[e.NonEmptyStringFacts=16776705]="NonEmptyStringFacts",e[e.BaseNumberStrictFacts=3734786]="BaseNumberStrictFacts",e[e.BaseNumberFacts=12582146]="BaseNumberFacts",e[e.NumberStrictFacts=16317698]="NumberStrictFacts",e[e.NumberFacts=16776450]="NumberFacts",e[e.ZeroNumberStrictFacts=12123394]="ZeroNumberStrictFacts",e[e.ZeroNumberFacts=12582146]="ZeroNumberFacts",e[e.NonZeroNumberStrictFacts=7929090]="NonZeroNumberStrictFacts",e[e.NonZeroNumberFacts=16776450]="NonZeroNumberFacts",e[e.BaseBigIntStrictFacts=3734276]="BaseBigIntStrictFacts",e[e.BaseBigIntFacts=12581636]="BaseBigIntFacts",e[e.BigIntStrictFacts=16317188]="BigIntStrictFacts",e[e.BigIntFacts=16775940]="BigIntFacts",e[e.ZeroBigIntStrictFacts=12122884]="ZeroBigIntStrictFacts",e[e.ZeroBigIntFacts=12581636]="ZeroBigIntFacts",e[e.NonZeroBigIntStrictFacts=7928580]="NonZeroBigIntStrictFacts",e[e.NonZeroBigIntFacts=16775940]="NonZeroBigIntFacts",e[e.BaseBooleanStrictFacts=3733256]="BaseBooleanStrictFacts",e[e.BaseBooleanFacts=12580616]="BaseBooleanFacts",e[e.BooleanStrictFacts=16316168]="BooleanStrictFacts",e[e.BooleanFacts=16774920]="BooleanFacts",e[e.FalseStrictFacts=12121864]="FalseStrictFacts",e[e.FalseFacts=12580616]="FalseFacts",e[e.TrueStrictFacts=7927560]="TrueStrictFacts",e[e.TrueFacts=16774920]="TrueFacts",e[e.SymbolStrictFacts=7925520]="SymbolStrictFacts",e[e.SymbolFacts=16772880]="SymbolFacts",e[e.ObjectStrictFacts=7888800]="ObjectStrictFacts",e[e.ObjectFacts=16736160]="ObjectFacts",e[e.FunctionStrictFacts=7880640]="FunctionStrictFacts",e[e.FunctionFacts=16728e3]="FunctionFacts",e[e.VoidFacts=9830144]="VoidFacts",e[e.UndefinedFacts=26607360]="UndefinedFacts",e[e.NullFacts=42917664]="NullFacts",e[e.EmptyObjectStrictFacts=83427327]="EmptyObjectStrictFacts",e[e.EmptyObjectFacts=83886079]="EmptyObjectFacts",e[e.UnknownFacts=83886079]="UnknownFacts",e[e.AllTypeofNE=556800]="AllTypeofNE",e[e.OrFactsMask=8256]="OrFactsMask",e[e.AndFactsMask=134209471]="AndFactsMask",iv=e,ib=new Map(Object.entries({string:256,number:512,bigint:1024,boolean:2048,symbol:4096,undefined:524288,object:8192,function:16384})),(t=iE||{})[t.Normal=0]="Normal",t[t.Contextual=1]="Contextual",t[t.Inferential=2]="Inferential",t[t.SkipContextSensitive=4]="SkipContextSensitive",t[t.SkipGenericFunctions=8]="SkipGenericFunctions",t[t.IsForSignatureHelp=16]="IsForSignatureHelp",t[t.IsForStringLiteralArgumentCompletions=32]="IsForStringLiteralArgumentCompletions",t[t.RestBindingElement=64]="RestBindingElement",iE=t,(n=iT||{})[n.None=0]="None",n[n.BivariantCallback=1]="BivariantCallback",n[n.StrictCallback=2]="StrictCallback",n[n.IgnoreReturnTypes=4]="IgnoreReturnTypes",n[n.StrictArity=8]="StrictArity",n[n.StrictTopSignature=16]="StrictTopSignature",n[n.Callback=3]="Callback",iT=n,ix=po(GS,Gx),iS=new Map(Object.entries({Uppercase:0,Lowercase:1,Capitalize:2,Uncapitalize:3})),iA=class{},(r=iL||(iL={})).JSX="JSX",r.IntrinsicElements="IntrinsicElements",r.ElementClass="ElementClass",r.ElementAttributesPropertyNameContainer="ElementAttributesProperty",r.ElementChildrenAttributeNameContainer="ElementChildrenAttribute",r.Element="Element",r.IntrinsicAttributes="IntrinsicAttributes",r.IntrinsicClassAttributes="IntrinsicClassAttributes",r.LibraryManagedAttributes="LibraryManagedAttributes",iC=class{constructor(e,t,n){var r;for(this.moduleResolverHost=void 0,this.inner=void 0,this.disableTrackSymbol=!1;t instanceof iC;)t=t.inner;this.inner=t,this.moduleResolverHost=n,this.context=e,this.canTrackSymbol=!!(null==(r=this.inner)?void 0:r.trackSymbol)}trackSymbol(e,t,n){var r;return!!((null==(r=this.inner)?void 0:r.trackSymbol)&&!this.disableTrackSymbol&&this.inner.trackSymbol(e,t,n))&&(this.onDiagnosticReported(),!0)}reportInaccessibleThisError(){var e;(null==(e=this.inner)?void 0:e.reportInaccessibleThisError)&&(this.onDiagnosticReported(),this.inner.reportInaccessibleThisError())}reportPrivateInBaseOfClassExpression(e){var t;(null==(t=this.inner)?void 0:t.reportPrivateInBaseOfClassExpression)&&(this.onDiagnosticReported(),this.inner.reportPrivateInBaseOfClassExpression(e))}reportInaccessibleUniqueSymbolError(){var e;(null==(e=this.inner)?void 0:e.reportInaccessibleUniqueSymbolError)&&(this.onDiagnosticReported(),this.inner.reportInaccessibleUniqueSymbolError())}reportCyclicStructureError(){var e;(null==(e=this.inner)?void 0:e.reportCyclicStructureError)&&(this.onDiagnosticReported(),this.inner.reportCyclicStructureError())}reportLikelyUnsafeImportRequiredError(e){var t;(null==(t=this.inner)?void 0:t.reportLikelyUnsafeImportRequiredError)&&(this.onDiagnosticReported(),this.inner.reportLikelyUnsafeImportRequiredError(e))}reportTruncationError(){var e;(null==(e=this.inner)?void 0:e.reportTruncationError)&&(this.onDiagnosticReported(),this.inner.reportTruncationError())}trackReferencedAmbientModule(e,t){var n;(null==(n=this.inner)?void 0:n.trackReferencedAmbientModule)&&(this.onDiagnosticReported(),this.inner.trackReferencedAmbientModule(e,t))}trackExternalModuleSymbolOfImportTypeNode(e){var t;(null==(t=this.inner)?void 0:t.trackExternalModuleSymbolOfImportTypeNode)&&(this.onDiagnosticReported(),this.inner.trackExternalModuleSymbolOfImportTypeNode(e))}reportNonlocalAugmentation(e,t,n){var r;(null==(r=this.inner)?void 0:r.reportNonlocalAugmentation)&&(this.onDiagnosticReported(),this.inner.reportNonlocalAugmentation(e,t,n))}reportNonSerializableProperty(e){var t;(null==(t=this.inner)?void 0:t.reportNonSerializableProperty)&&(this.onDiagnosticReported(),this.inner.reportNonSerializableProperty(e))}reportImportTypeNodeResolutionModeOverride(){var e;(null==(e=this.inner)?void 0:e.reportImportTypeNodeResolutionModeOverride)&&(this.onDiagnosticReported(),this.inner.reportImportTypeNodeResolutionModeOverride())}onDiagnosticReported(){this.context.reportedDiagnostic=!0}}}});function Gw(e,t,n,r){let i;if(void 0===e)return e;let a=t(e);return void 0===a?void 0:(i=_y(a)?(r||function(e){return T.assert(e.length<=1,"Too many nodes written to output."),uY(e)})(a):a,T.assertNode(i,n),i)}function GR(e,t,n,r,i){let a;if(void 0===e)return e;let o=e.length;(void 0===r||r<0)&&(r=0),(void 0===i||i>o-r)&&(i=o-r);let s=-1,l=-1;r>0||ia-r)&&(i=a-r),GD(e,t,n,r,i)}function GD(e,t,n,r,i){let a;let o=e.length;(r>0||i=2&&(i=function(e,t){let n;for(let r=0;r{let a=rc,addSource:N,setSourceContent:D,addName:O,addMapping:M,appendSourceMap:function(e,t,n,r,i,a){let o;T.assert(e>=x,"generatedLine cannot backtrack"),T.assert(t>=0,"generatedCharacter cannot be negative"),s();let c=[];for(let s of Gq(n.mappings)){let l,d,u,_;if(a&&(s.generatedLine>a.line||s.generatedLine===a.line&&s.generatedCharacter>a.character))break;if(i&&(s.generatedLineJSON.stringify(B())};function N(t){s();let n=fz(r,t,e.getCurrentDirectory(),e.getCanonicalFileName,!0),i=u.get(n);return void 0===i&&(i=d.length,d.push(n),c.push(t),u.set(n,i)),l(),i}function D(e,t){if(s(),null!==t){for(a||(a=[]);a.length=x,"generatedLine cannot backtrack"),T.assert(t>=0,"generatedCharacter cannot be negative"),T.assert(void 0===n||n>=0,"sourceIndex cannot be negative"),T.assert(void 0===r||r>=0,"sourceLine cannot be negative"),T.assert(void 0===i||i>=0,"sourceCharacter cannot be negative"),s(),(!I||x!==e||S!==t||void 0!==n&&void 0!==r&&void 0!==i&&A===n&&(L>r||L===r&&C>i))&&(F(),x=e,S=t,w=!1,R=!1,I=!0),void 0!==n&&void 0!==r&&void 0!==i&&(A=n,L=r,C=i,w=!0,void 0!==a&&(k=a,R=!0)),l()}function P(e){p.push(e),p.length>=1024&&G()}function F(){if(I&&(!E||m!==x||h!==S||y!==A||g!==L||v!==C||b!==k)){if(s(),m0&&(f+=String.fromCharCode.apply(void 0,p),p.length=0)}function B(){return F(),G(),{version:3,file:t,sourceRoot:n,sources:d,names:_,mappings:f,sourcesContent:a}}function U(e){e<0?e=(-e<<1)+1:e<<=1;do{var t;let n=31&e;(e>>=5)>0&&(n|=32),P((t=n)>=0&&t<26?65+t:t>=26&&t<52?97+t-26:t>=52&&t<62?48+t-52:62===t?43:63===t?47:T.fail(`${t}: not a base64 value`))}while(e>0)}}function Gj(e,t){return{getLineCount:()=>t.length,getLineText:n=>e.substring(t[n],t[n+1])}}function GH(e){for(let t=e.getLineCount()-1;t>=0;t--){let n=e.getLineText(t),r=iw.exec(n);if(r)return v(r[1]);if(!n.match(iR))break}}function GK(e){return"string"==typeof e||null===e}function GW(e){return null!==e&&"object"==typeof e&&3===e.version&&"string"==typeof e.file&&"string"==typeof e.mappings&&_y(e.sources)&&dZ(e.sources,_v)&&(void 0===e.sourceRoot||null===e.sourceRoot||"string"==typeof e.sourceRoot)&&(void 0===e.sourcesContent||null===e.sourcesContent||_y(e.sourcesContent)&&dZ(e.sourcesContent,GK))&&(void 0===e.names||null===e.names||_y(e.names)&&dZ(e.names,_v))}function Gz(e){try{let t=JSON.parse(e);if(GW(t))return t}catch(e){}}function Gq(e){let t,n=!1,r=0,i=0,a=0,o=0,s=0,l=0,c=0;return{get pos(){return r},get error(){return t},get state(){return d(!0,!0)},next(){for(;!n&&r=e.length)return _("Error in decoding base64VLQFormatDecode, past the mapping string"),-1;let o=(a=e.charCodeAt(r))>=65&&a<=90?a-65:a>=97&&a<=122?a-97+26:a>=48&&a<=57?a-48+52:43===a?62:47===a?63:-1;if(-1===o)return _("Invalid character in VLQ"),-1;t=(32&o)!=0,i|=(31&o)<>=1:(i>>=1,i=-i),i}}function GJ(e,t){return e===t||e.generatedLine===t.generatedLine&&e.generatedCharacter===t.generatedCharacter&&e.sourceIndex===t.sourceIndex&&e.sourceLine===t.sourceLine&&e.sourceCharacter===t.sourceCharacter&&e.nameIndex===t.nameIndex}function GX(e){return void 0!==e.sourceIndex&&void 0!==e.sourceLine&&void 0!==e.sourceCharacter}function GY(e){return void 0!==e.sourceIndex&&void 0!==e.sourcePosition}function G$(e,t){return e.generatedPosition===t.generatedPosition&&e.sourceIndex===t.sourceIndex&&e.sourcePosition===t.sourcePosition}function GQ(e,t){return T.assert(e.sourceIndex===t.sourceIndex),_U(e.sourcePosition,t.sourcePosition)}function GZ(e,t){return _U(e.generatedPosition,t.generatedPosition)}function G0(e){return e.sourcePosition}function G1(e){return e.generatedPosition}function G2(e,t,n){let r,i,a;let s=fy(n),l=t.sourceRoot?fk(t.sourceRoot,s):s,c=fk(t.file,s),d=e.getSourceFileLike(c),u=t.sources.map(e=>fk(e,l)),_=new Map(u.map((t,n)=>[e.getCanonicalFileName(t),n]));return{getSourcePosition:function(e){let t=function(){if(void 0===i){let e=[];for(let t of f())e.push(t);i=uC(e,GZ,G$)}return i}();if(!uv(t))return e;let n=u1(t,e.pos,G1,_U);n<0&&(n=~n);let r=t[n];return void 0!==r&&GY(r)?{fileName:u[r.sourceIndex],pos:r.sourcePosition}:e},getGeneratedPosition:function(t){let n=_.get(e.getCanonicalFileName(t.fileName));if(void 0===n)return t;let r=function(e){if(void 0===a){let e=[];for(let t of f()){if(!GY(t))continue;let n=e[t.sourceIndex];n||(e[t.sourceIndex]=n=[]),n.push(t)}a=e.map(e=>uC(e,GQ,G$))}return a[e]}(n);if(!uv(r))return t;let i=u1(r,t.pos,G0,_U);i<0&&(i=~i);let o=r[i];return void 0===o||o.sourceIndex!==n?t:{fileName:c,pos:o.generatedPosition}}};function p(n){let r,i;let a=void 0!==d?f6(d,n.generatedLine,n.generatedCharacter,!0):-1;if(GX(n)){let a=e.getSourceFileLike(u[n.sourceIndex]);r=t.sources[n.sourceIndex],i=void 0!==a?f6(a,n.sourceLine,n.sourceCharacter,!0):-1}return{generatedPosition:a,source:r,sourceIndex:n.sourceIndex,sourcePosition:i,nameIndex:n.nameIndex}}function f(){if(void 0===r){let n=Gq(t.mappings),i=u9(n,p);void 0!==n.error?(e.log&&e.log(`Encountered error while decoding sourcemap: ${n.error}`),r=o):r=i}return r}}var G4=dj({"src/compiler/sourcemap.ts"(){Kr(),pJ(),iI=/\/\/[@#] source[M]appingURL=(.+)\r?\n?$/,iw=/^\/\/[@#] source[M]appingURL=(.+)\r?\n?$/,iR=/^\s*(\/\/[@#] .*)?$/,iN={getSourcePosition:_C,getGeneratedPosition:_C}}});function G8(e){return(e=m7(e))?Gv(e):0}function G6(e){return void 0!==e.propertyName&&"default"===e.propertyName.escapedText}function G3(e,t){return function(n){return 308===n.kind?t(n):e.factory.createBundle(un(n.sourceFiles,t),n.prepends)}}function G5(e){return!!TO(e)}function G7(e){if(TO(e))return!0;let t=e.importClause&&e.importClause.namedBindings;if(!t||!NT(t))return!1;let n=0;for(let e of t.elements)G6(e)&&n++;return n>0&&n!==t.elements.length||!!(t.elements.length-n)&&TM(e)}function G9(e){var t;return!G7(e)&&(TM(e)||!!e.importClause&&NT(e.importClause.namedBindings)&&!!((t=e.importClause.namedBindings)&&NT(t))&&uv(t.elements,G6))}function Be(e,t,n,r){let i,a;let o=[],s=_u(),l=[],c=new Map,d=!1,u=!1,_=!1,p=!1;for(let n of t.statements)switch(n.kind){case 269:o.push(n),!_&&G7(n)&&(_=!0),!p&&G9(n)&&(p=!0);break;case 268:280===n.moduleReference.kind&&o.push(n);break;case 275:if(n.moduleSpecifier){if(n.exportClause){if(o.push(n),NL(n.exportClause))m(n);else{let e=n.exportClause.name;c.get(hi(e))||(Bt(l,G8(n),e),c.set(hi(e),!0),i=uD(i,e)),_=!0}}else o.push(n),u=!0}else m(n);break;case 274:n.isExportEquals&&!a&&(a=n);break;case 240:if(S3(n,1))for(let e of n.declarationList.declarations)i=function e(t,n,r){if(y2(t.name))for(let i of t.name.elements)RF(i)||(r=e(i,n,r));else if(!yL(t.name)){let e=hi(t.name);n.get(e)||(n.set(e,!0),r=uD(r,t.name))}return r}(e,c,i);break;case 259:if(S3(n,1)){if(S3(n,1024))d||(Bt(l,G8(n),e.factory.getDeclarationName(n)),d=!0);else{let e=n.name;c.get(hi(e))||(Bt(l,G8(n),e),c.set(hi(e),!0),i=uD(i,e))}}break;case 260:if(S3(n,1)){if(S3(n,1024))d||(Bt(l,G8(n),e.factory.getDeclarationName(n)),d=!0);else{let e=n.name;e&&!c.get(hi(e))&&(Bt(l,G8(n),e),c.set(hi(e),!0),i=uD(i,e))}}}let f=On(e.factory,e.getEmitHelperFactory(),t,r,u,_,p);return f&&o.unshift(f),{externalImports:o,exportSpecifiers:s,exportEquals:a,hasExportStarsToExportValues:u,exportedBindings:l,exportedNames:i,externalHelpersImportDeclaration:f};function m(e){for(let t of _T(e.exportClause,NL).elements)if(!c.get(hi(t.name))){let r=t.propertyName||t.name;e.moduleSpecifier||s.add(hi(r),t);let a=n.getReferencedImportDeclaration(r)||n.getReferencedValueDeclaration(r);a&&Bt(l,G8(a),t.name),c.set(hi(t.name),!0),i=uD(i,t.name)}}}function Bt(e,t,n){let r=e[t];return r?r.push(n):e[t]=r=[n],r}function Bn(e){return g8(e)||8===e.kind||xS(e.kind)||wb(e)}function Br(e){return!wb(e)&&Bn(e)}function Bi(e){return e>=64&&e<=78}function Ba(e){switch(e){case 64:return 39;case 65:return 40;case 66:return 41;case 67:return 42;case 68:return 43;case 69:return 44;case 70:return 47;case 71:return 48;case 72:return 49;case 73:return 50;case 74:return 51;case 78:return 52;case 75:return 56;case 76:return 55;case 77:return 60}}function Bo(e){if(!R$(e))return;let t=xi(e.expression);return bz(t)?t:void 0}function Bs(e,t){for(let n=t;nwV(e)&&(!!e.initializer||!t)&&S7(e)===n)}function Bc(e){return wV(e)&&S7(e)||wK(e)}function Bd(e){return d9(e.members,Bc)}function Bu(e){return 169===e.kind&&void 0!==e.initializer}function B_(e){return!S5(e)&&(yJ(e)||yq(e))&&wE(e.name)}function Bp(e){let t;if(e){let n=e.parameters,r=n.length>0&&SU(n[0]),i=r?1:0,a=r?n.length-1:n.length;for(let e=0;eBv(e.privateEnv,t))}var BT=dj({"src/compiler/transformers/utilities.ts"(){Kr()}});function Bx(e,t,n,r,i,a){let o,s,l=e;if(AC(e))for(o=e.right;AB(e.left)||AG(e.left);){if(!AC(o))return T.checkDefined(Gw(o,t,gp));l=e=o,o=e.right}let c={context:n,level:r,downlevelIteration:!!n.getCompilerOptions().downlevelIteration,hoistTempVariables:!0,emitExpression:d,emitBindingOrAssignment:function(e,r,i,o){T.assertNode(e,a?wb:gp);let s=a?a(e,r,i):OV(n.factory.createAssignment(T.checkDefined(Gw(e,t,gp)),r),i);s.original=o,d(s)},createArrayBindingOrAssignmentPattern:e=>{var t;return t=n.factory,T.assertEachNode(e,gt),t.createArrayLiteralExpression(un(e,t.converters.convertToArrayAssignmentElement))},createObjectBindingOrAssignmentPattern:e=>{var t;return t=n.factory,T.assertEachNode(e,y9),t.createObjectLiteralExpression(un(e,t.converters.convertToObjectAssignmentElement))},createArrayBindingOrAssignmentElement:BI,visitor:t};if(o&&(o=Gw(o,t,gp),T.assert(o),wb(o)&&BS(e,o.escapedText)||BA(e)?o=Bk(c,o,!1,l):i?o=Bk(c,o,!0,l):x1(e)&&(l=o)),BC(c,e,o,l,AC(e)),o&&i){if(!uv(s))return o;s.push(o)}return n.factory.inlineExpressions(s)||n.factory.createOmittedExpression();function d(e){s=uD(s,e)}}function BS(e,t){let n=Ol(e);return y5(n)?function(e,t){for(let n of Op(e))if(BS(n,t))return!0;return!1}(n,t):!!wb(n)&&n.escapedText===t}function BA(e){let t=Ou(e);if(t&&wP(t)&&!ym(t.expression))return!0;let n=Ol(e);return!!n&&y5(n)&&!!dz(Op(n),BA)}function BL(e,t,n,r,i,a=!1,o){let s;let l=[],c=[],d={context:n,level:r,downlevelIteration:!!n.getCompilerOptions().downlevelIteration,hoistTempVariables:a,emitExpression:function(e){s=uD(s,e)},emitBindingOrAssignment:u,createArrayBindingOrAssignmentPattern:e=>{var t;return t=n.factory,T.assertEachNode(e,y8),t.createArrayBindingPattern(e)},createObjectBindingOrAssignmentPattern:e=>{var t;return t=n.factory,T.assertEachNode(e,Rp),t.createObjectBindingPattern(e)},createArrayBindingOrAssignmentElement:e=>n.factory.createBindingElement(void 0,void 0,e),visitor:t};if(Nr(e)){let t=Os(e);t&&(wb(t)&&BS(e,t.escapedText)||BA(e))&&(t=Bk(d,T.checkDefined(Gw(t,d.visitor,gp)),!1,t),e=n.factory.updateVariableDeclaration(e,e.name,void 0,void 0,t))}if(BC(d,e,i,e,o),s){let e=n.factory.createTempVariable(void 0);if(a){let t=n.factory.inlineExpressions(s);s=void 0,u(e,t,void 0,void 0)}else{n.hoistVariableDeclaration(e);let t=uX(l);t.pendingExpressions=uD(t.pendingExpressions,n.factory.createAssignment(e,t.value)),uP(t.pendingExpressions,s),t.value=e}}for(let{pendingExpressions:e,name:t,value:r,location:i,original:a}of l){let o=n.factory.createVariableDeclaration(t,void 0,void 0,e?n.factory.inlineExpressions(uD(e,r)):r);o.original=a,OV(o,i),c.push(o)}return c;function u(e,t,r,i){T.assertNode(e,yP),s&&(t=n.factory.inlineExpressions(uD(s,t)),s=void 0),l.push({pendingExpressions:s,name:e,value:t,location:r,original:i})}}function BC(e,t,n,r,i){let a=Ol(t);if(!i){var o;let i=Gw(Os(t),e.visitor,gp);i?n?(o=Bk(e,o=n,!0,r),n=e.context.factory.createConditionalExpression(e.context.factory.createTypeCheck(o,"undefined"),void 0,i,void 0,o),!Br(i)&&y5(a)&&(n=Bk(e,n,!0,r))):n=i:n||(n=e.context.factory.createVoidZero())}y7(a)?function(e,t,n,r,i){let a,o;let s=Op(n),l=s.length;1!==l&&(r=Bk(e,r,!y6(t)||0!==l,i));for(let t=0;t=1)||98304&c.transformFlags||98304&Ol(c).transformFlags||wP(t)){a&&(e.emitBindingOrAssignment(e.createObjectBindingOrAssignmentPattern(a),r,i,n),a=void 0);let s=function(e,t,n){if(wP(n)){let r=Bk(e,T.checkDefined(Gw(n.expression,e.visitor,gp)),!1,n);return e.context.factory.createElementAccessExpression(t,r)}if(xO(n)){let r=nU.cloneNode(n);return e.context.factory.createElementAccessExpression(t,r)}{let r=e.context.factory.createIdentifier(hi(n));return e.context.factory.createPropertyAccessExpression(t,r)}}(e,r,t);wP(t)&&(o=uD(o,s.argumentExpression)),BC(e,c,s,c)}else a=uD(a,Gw(c,e.visitor,y3))}}a&&e.emitBindingOrAssignment(e.createObjectBindingOrAssignmentPattern(a),r,i,n)}(e,t,a,n,r):ge(a)?function(e,t,n,r,i){let a,o;let s=Op(n),l=s.length;e.level<1&&e.downlevelIteration?r=Bk(e,OV(e.context.getEmitHelperFactory().createReadHelper(r,l>0&&Oc(s[l-1])?void 0:l),i),!1,i):(1!==l&&(e.level<1||0===l)||dZ(s,RF))&&(r=Bk(e,r,!y6(t)||0!==l,i));for(let t=0;t=1){if(65536&n.transformFlags||e.hasTransformedPriorElement&&!function e(t){let n=Ol(t);if(!n||RF(n))return!0;let r=Ou(t);if(r&&!xB(r))return!1;let i=Os(t);return(!i||!!Br(i))&&(y5(n)?dZ(Op(n),e):wb(n))}(n)){e.hasTransformedPriorElement=!0;let t=e.context.factory.createTempVariable(void 0);e.hoistTempVariables&&e.context.hoistVariableDeclaration(t),o=uD(o,[t,n]),a=uD(a,e.createArrayBindingOrAssignmentElement(t))}else a=uD(a,n)}else if(RF(n))continue;else if(Oc(n)){if(t===l-1){let i=e.context.factory.createArraySliceCall(r,t);BC(e,n,i,n)}}else{let i=e.context.factory.createElementAccessExpression(r,t);BC(e,n,i,n)}}if(a&&e.emitBindingOrAssignment(e.createArrayBindingOrAssignmentPattern(a),r,i,n),o)for(let[t,n]of o)BC(e,n,t,n)}(e,t,a,n,r):e.emitBindingOrAssignment(a,n,r,t)}function Bk(e,t,n,r){if(wb(t)&&n)return t;{let n=e.context.factory.createTempVariable(void 0);return e.hoistTempVariables?(e.context.hoistVariableDeclaration(n),e.emitExpression(OV(e.context.factory.createAssignment(n,t),r))):e.emitBindingOrAssignment(n,t,r,void 0),n}}function BI(e){return e}var Bw=dj({"src/compiler/transformers/destructuring.ts"(){var e;Kr(),(e=iD||{})[e.All=0]="All",e[e.ObjectRest=1]="ObjectRest",iD=e}});function BR(e,t,n,r,i,a){let o=Gw(t.tag,n,gp);T.assert(o);let s=[void 0],l=[],c=[],d=t.template;if(0===a&&!St(d))return GB(t,n,e);if(wo(d))l.push(BN(d)),c.push(BD(d,r));else for(let e of(l.push(BN(d.head)),c.push(BD(d.head,r)),d.templateSpans))l.push(BN(e.literal)),c.push(BD(e.literal,r)),s.push(T.checkDefined(Gw(e.expression,n,gp)));let u=e.getEmitHelperFactory().createTemplateObjectHelper(nU.createArrayLiteralExpression(l),nU.createArrayLiteralExpression(c));if(Md(r)){let e=nU.createUniqueName("templateObject");i(e),s[0]=nU.createLogicalOr(e,nU.createAssignment(e,u))}else s[0]=u;return nU.createCallExpression(o,void 0,s)}function BN(e){return e.templateFlags?nU.createVoidZero():nU.createStringLiteral(e.text)}function BD(e,t){let n=e.rawText;if(void 0===n){T.assertIsDefined(t,"Template literal node is missing 'rawText' and does not have a source file. Possibly bad transform."),n=vJ(t,e);let r=14===e.kind||17===e.kind;n=n.substring(1,n.length-(r?1:2))}return n=n.replace(/\r\n?/g,"\n"),OV(nU.createStringLiteral(n),e)}var BO=dj({"src/compiler/transformers/taggedTemplate.ts"(){var e;Kr(),(e=iO||{})[e.LiftRestriction=0]="LiftRestriction",e[e.All=1]="All",iO=e}});function BM(e){let t,n,r,i,a,o,s,l;let{factory:c,getEmitHelperFactory:d,startLexicalEnvironment:u,resumeLexicalEnvironment:_,endLexicalEnvironment:p,hoistVariableDeclaration:f}=e,m=e.getEmitResolver(),h=e.getCompilerOptions(),y=Ct(h),g=Cn(h),v=!!h.experimentalDecorators,b=h.emitDecoratorMetadata?BB(e):void 0,E=e.onEmitNode,x=e.onSubstituteNode;return e.onEmitNode=function(e,n,r){let i=l,a=t;N0(n)&&(t=n),2&s&&264===m7(n).kind&&(l|=2),8&s&&263===m7(n).kind&&(l|=8),E(e,n,r),l=i,t=a},e.onSubstituteNode=function(e,t){return(t=x(e,t),1===e)?function(e){switch(e.kind){case 79:return ev(e)||e;case 208:case 209:return function(e){let t=function(e){if(!Cs(h))return Rh(e)||Ry(e)?m.getConstantValue(e):void 0}(e);if(void 0!==t){IV(e,t);let n="string"==typeof t?c.createStringLiteral(t):c.createNumericLiteral(t);return h.removeComments||IG(n,3,` ${v$(m7(e,Lw)).replace(/\*\//g,"*_/")} `),n}return e}(e)}return e}(t):NY(t)?function(e){if(2&s){let t=e.name,n=ev(t);if(n){if(e.objectAssignmentInitializer){let r=c.createAssignment(n,e.objectAssignmentInitializer);return OV(c.createPropertyAssignment(t,r),e)}return OV(c.createPropertyAssignment(t,n),e)}}return e}(t):t},e.enableSubstitution(208),e.enableSubstitution(209),function(e){return 309===e.kind?c.createBundle(e.sourceFiles.map(S),uu(e.prepends,e=>311===e.kind?Iu(e,"js"):e)):S(e)};function S(n){if(n.isDeclarationFile)return n;t=n;let r=A(n,F);return IH(r,e.readEmitHelpers()),t=void 0,r}function A(e,t){let n=i,r=a,s=o;!function(e){switch(e.kind){case 308:case 266:case 265:case 238:i=e,a=void 0;break;case 260:case 259:if(S3(e,2))break;e.name?er(e):T.assert(260===e.kind||S3(e,1024))}}(e);let l=t(e);return i!==n&&(a=r),i=n,o=s,l}function L(e){return A(e,C)}function C(e){return 1&e.transformFlags?P(e):e}function k(e){return A(e,I)}function I(t){switch(t.kind){case 269:case 268:case 274:case 275:return function(t){if(ht(t)!==t)return 1&t.transformFlags?GB(t,L,e):t;switch(t.kind){case 269:return function(e){if(!e.importClause)return e;if(e.importClause.isTypeOnly)return;let t=Gw(e.importClause,eo,Nh);return t||1===h.importsNotUsedAsValues||2===h.importsNotUsedAsValues?c.updateImportDeclaration(e,void 0,t,e.moduleSpecifier,e.assertClause):void 0}(t);case 268:return ed(t);case 274:return h.verbatimModuleSyntax||m.isValueAliasDeclaration(t)?GB(t,L,e):void 0;case 275:return function(e){if(e.isTypeOnly)return;if(!e.exportClause||NE(e.exportClause))return e;let t=h.verbatimModuleSyntax||!!e.moduleSpecifier&&(1===h.importsNotUsedAsValues||2===h.importsNotUsedAsValues),n=Gw(e.exportClause,e=>{let n;return NE(e)?c.updateNamespaceExport(e,T.checkDefined(Gw(e.name,L,wb))):(n=GR(e.elements,ec,NC),t||uv(n)?c.updateNamedExports(e,n):void 0)},ya);return n?c.updateExportDeclaration(e,void 0,e.isTypeOnly,n,e.moduleSpecifier,e.assertClause):void 0}(t);default:T.fail("Unhandled ellided statement")}}(t);default:return C(t)}}function w(e){return A(e,R)}function R(e){return 275===e.kind||269===e.kind||270===e.kind||268===e.kind&&280===e.moduleReference.kind?void 0:1&e.transformFlags||S3(e,1)?P(e):e}function N(t){return n=>A(n,n=>(function(t,n){switch(t.kind){case 173:return function(t){if(J(t))return c.updateConstructorDeclaration(t,void 0,GM(t.parameters,L,e),function(t,n){let r=n&&d9(n.parameters,e=>mZ(e,n));if(!uv(r))return GP(t,L,e);let i=[];_();let a=c.copyPrologue(t.statements,i,!1,L),o=Bs(t.statements,a);o>=0&&uP(i,GR(t.statements,L,gF,a,o+1-a));let s=uu(r,X);o>=0?uP(i,s):i=[...i.slice(0,a),...s,...i.slice(a)];let l=o>=0?o+1:a;uP(i,GR(t.statements,L,gF,l)),i=c.mergeLexicalEnvironment(i,p());let d=c.createBlock(OV(c.createNodeArray(i),t.statements),!0);return OV(d,t),Ih(d,t),d}(t.body,t))}(t);case 169:return function(e,t){let n=16777216&e.flags||S3(e,256);if(n&&!(v&&Ai(e)))return;let r=yW(t)?n?GR(e.modifiers,O,yY):GR(e.modifiers,L,yY):GR(e.modifiers,D,yY);return(r=j(r,e,t),n)?c.updatePropertyDeclaration(e,uE(r,c.createModifiersFromModifierFlags(2)),T.checkDefined(Gw(e.name,L,yM)),void 0,void 0,void 0):c.updatePropertyDeclaration(e,r,q(e),void 0,void 0,Gw(e.initializer,L,gp))}(t,n);case 174:return Q(t,n);case 175:return Z(t,n);case 171:return Y(t,n);case 172:return GB(t,L,e);case 237:return t;case 178:return;default:return T.failBadSyntaxKind(t)}})(n,t))}function D(e){return wB(e)?void 0:L(e)}function O(e){return yD(e)?void 0:L(e)}function M(e){if(!wB(e)&&!(117086&Am(e.kind))&&(!n||93!==e.kind))return e}function P(o){if(gF(o)&&S3(o,2))return c.createNotEmittedStatement(o);switch(o.kind){case 93:case 88:return n?void 0:o;case 123:case 121:case 122:case 126:case 161:case 85:case 136:case 146:case 101:case 145:case 185:case 186:case 187:case 188:case 184:case 179:case 165:case 131:case 157:case 134:case 152:case 148:case 144:case 114:case 153:case 182:case 181:case 183:case 180:case 189:case 190:case 191:case 193:case 194:case 195:case 196:case 197:case 198:case 178:case 267:return;case 262:case 261:return c.createNotEmittedStatement(o);case 260:return function(n){var r;let i,a,o;let s=(a=0,uv(Bl(n,!0,!0))&&(a|=1),(o=xy(n))&&104!==D3(o.expression).kind&&(a|=64),EB(v,n)&&(a|=2),EG(v,n)&&(a|=4),eu(n)?a|=8:e_(n)&&S3(n,1024)?a|=32:ep(n)&&(a|=16),a),l=y<=1&&!!(7&s);if(!(Ai(n)||uv(n.typeParameters)||uv(n.heritageClauses,G)||uv(n.members,G))&&!EB(v,n)&&!eu(n))return c.updateClassDeclaration(n,GR(n.modifiers,M,yD),n.name,void 0,GR(n.heritageClauses,L,Nq),GR(n.members,N(n),yK));l&&e.startLexicalEnvironment();let d=l||8&s||2&s&&v||1&s,u=d?GR(n.modifiers,O,yY):GR(n.modifiers,L,yY);2&s&&(u=V(u,n));let _=d&&!n.name||4&s||1&s?null!=(r=n.name)?r:c.getGeneratedNameForNode(n):n.name,p=c.updateClassDeclaration(n,u,_,void 0,GR(n.heritageClauses,L,Nq),U(n)),f=v0(n);if(1&s&&(f|=64),IE(p,f),l){let r=[p],a=A1(mc(t.text,n.members.end),19),o=c.getInternalName(n),l=c.createPartiallyEmittedExpression(o);kx(l,a.end),IE(l,3072);let d=c.createReturnStatement(l);kT(d,a.pos),IE(d,3840),r.push(d),vB(r,e.endLexicalEnvironment());let u=c.createImmediatelyInvokedArrowFunction(r);Ix(u,1);let _=16&s?c.createModifiersFromModifierFlags(1):void 0,f=c.createVariableStatement(_,c.createVariableDeclarationList([c.createVariableDeclaration(c.getLocalName(n,!1,!1),void 0,void 0,u)],1));Ih(f,n),IN(f,n),IL(f,AQ(n)),D9(f),i=f}else i=p;if(d){if(8&s)return B(i,ef(n));if(32&s)return B(i,c.createExportDefault(c.getLocalName(n,!1,!0)));if(16&s&&!l)return B(i,c.createExternalModuleExport(c.getLocalName(n,!1,!0)))}return i}(o);case 228:let l;return l=GR(o.modifiers,O,yY),EB(v,o)&&(l=V(l,o)),c.updateClassExpression(o,l,o.name,void 0,GR(o.heritageClauses,L,Nq),U(o));case 294:return function(t){if(117!==t.token)return GB(t,L,e)}(o);case 230:return c.updateExpressionWithTypeArguments(o,T.checkDefined(Gw(o.expression,L,gs)),void 0);case 207:return c.updateObjectLiteralExpression(o,GR(o.properties,e=>A(e,e=>(function(e,t){switch(e.kind){case 299:case 300:case 301:return L(e);case 174:return Q(e,t);case 175:return Z(e,t);case 171:return Y(e,t);default:return T.failBadSyntaxKind(e)}})(e,o)),yZ));case 173:case 169:case 171:case 174:case 175:case 172:return T.fail("Class and object literal elements must be visited with their respective visitors");case 259:return function(t){if(!J(t))return c.createNotEmittedStatement(t);let n=c.updateFunctionDeclaration(t,GR(t.modifiers,M,yD),t.asteriskToken,t.name,void 0,GM(t.parameters,L,e),void 0,GP(t.body,L,e)||c.createBlock([]));if(eu(t)){let e=[n];return function(e,t){e.push(ef(t))}(e,t),e}return n}(o);case 215:return J(o)?c.updateFunctionExpression(o,GR(o.modifiers,M,yD),o.asteriskToken,o.name,void 0,GM(o.parameters,L,e),void 0,GP(o.body,L,e)||c.createBlock([])):c.createOmittedExpression();case 216:return c.updateArrowFunction(o,GR(o.modifiers,M,yD),void 0,GM(o.parameters,L,e),void 0,o.equalsGreaterThanToken,GP(o.body,L,e));case 166:return function(e){if(SU(e))return;let t=c.updateParameterDeclaration(e,GR(e.modifiers,e=>wB(e)?L(e):void 0,yY),e.dotDotDotToken,T.checkDefined(Gw(e.name,L,yP)),void 0,void 0,Gw(e.initializer,L,gp));return t!==e&&(IN(t,e),OV(t,AZ(e)),IL(t,AZ(e)),IE(t.name,64)),t}(o);case 214:return function(t){if(gf(D3(t.expression,-7))){let e=Gw(t.expression,L,gp);return T.assert(e),c.createPartiallyEmittedExpression(e,t)}return GB(t,L,e)}(o);case 213:case 231:let d;return d=Gw(o.expression,L,gp),T.assert(d),c.createPartiallyEmittedExpression(d,o);case 235:let _;return _=Gw(o.expression,L,gp),T.assert(_),c.createPartiallyEmittedExpression(_,o);case 210:return c.updateCallExpression(o,T.checkDefined(Gw(o.expression,L,gp)),void 0,GR(o.arguments,L,gp));case 211:return c.updateNewExpression(o,T.checkDefined(Gw(o.expression,L,gp)),void 0,GR(o.arguments,L,gp));case 212:return c.updateTaggedTemplateExpression(o,T.checkDefined(Gw(o.tag,L,gp)),void 0,T.checkDefined(Gw(o.template,L,go)));case 232:let f;return f=Gw(o.expression,L,gs),T.assert(f),c.createPartiallyEmittedExpression(f,o);case 263:return function(e){let n,a,o;if(!(!bj(e)||Cv(h)))return c.createNotEmittedStatement(e);let s=[],l=4,d=ea(s,e);d&&(4!==g||i!==t)&&(l|=1024);let _=ey(e),f=eg(e),m=S3(e,1)?c.getExternalModuleOrNamespaceExportName(r,e,!1,!0):c.getLocalName(e,!1,!0),y=c.createLogicalOr(m,c.createAssignment(m,c.createObjectLiteralExpression()));if(en(e)){let t=c.getLocalName(e,!1,!0);y=c.createAssignment(t,y)}let v=c.createExpressionStatement(c.createCallExpression(c.createFunctionExpression(void 0,void 0,void 0,void 0,[c.createParameterDeclaration(void 0,void 0,_)],void 0,(n=r,r=f,a=[],u(),o=un(e.members,et),vB(a,p()),uP(a,o),r=n,c.createBlock(OV(c.createNodeArray(a),e.members),!0))),void 0,[y]));return Ih(v,e),d&&(IO(v,void 0),IF(v,void 0)),OV(v,e),IT(v,l),s.push(v),s.push(c.createEndOfDeclarationMarker(e)),s}(o);case 240:return function(t){if(!eu(t))return GB(t,L,e);{let e=La(t.declarationList);if(0===e.length)return;return OV(c.createExpressionStatement(c.inlineExpressions(un(e,ee))),t)}}(o);case 257:let m;return m=c.updateVariableDeclaration(o,T.checkDefined(Gw(o.name,L,yP)),void 0,void 0,Gw(o.initializer,L,gp)),o.type&&IY(m.name,o.type),m;case 264:return function o(l){let d;if(!(!(d=ht(l,Nd))||GE(d,Cv(h))))return c.createNotEmittedStatement(l);T.assertNode(l.name,wb,"A TypeScript namespace should have an Identifier name."),(2&s)==0&&(s|=2,e.enableSubstitution(79),e.enableSubstitution(300),e.enableEmitNotification(264));let _=[],f=4,m=ea(_,l);m&&(4!==g||i!==t)&&(f|=1024);let y=ey(l),v=eg(l),b=S3(l,1)?c.getExternalModuleOrNamespaceExportName(r,l,!1,!0):c.getLocalName(l,!1,!0),E=c.createLogicalOr(b,c.createAssignment(b,c.createObjectLiteralExpression()));if(en(l)){let e=c.getLocalName(l,!1,!0);E=c.createAssignment(e,E)}let x=c.createExpressionStatement(c.createCallExpression(c.createFunctionExpression(void 0,void 0,void 0,void 0,[c.createParameterDeclaration(void 0,void 0,y)],void 0,function(e,t){let i,s;let l=r,d=n,_=a;r=t,n=e,a=void 0;let f=[];if(u(),e.body){if(265===e.body.kind)A(e.body,e=>uP(f,GR(e.statements,w,gF))),i=e.body.statements,s=e.body;else{let t=o(e.body);t&&(_y(t)?uP(f,t):f.push(t)),i=A$(function e(t){if(264===t.body.kind)return e(t.body)||t.body}(e).body.statements,-1)}}vB(f,p()),r=l,n=d,a=_;let m=c.createBlock(OV(c.createNodeArray(f),i),!0);return OV(m,s),e.body&&265===e.body.kind||IE(m,3072|v0(m)),m}(l,v)),void 0,[E]));return Ih(x,l),m&&(IO(x,void 0),IF(x,void 0)),OV(x,l),IT(x,f),_.push(x),_.push(c.createEndOfDeclarationMarker(l)),_}(o);case 268:return ed(o);case 282:return c.updateJsxSelfClosingElement(o,T.checkDefined(Gw(o.tagName,L,gU)),void 0,T.checkDefined(Gw(o.attributes,L,Nj)));case 283:return c.updateJsxOpeningElement(o,T.checkDefined(Gw(o.tagName,L,gU)),void 0,T.checkDefined(Gw(o.attributes,L,Nj)));default:return GB(o,L,e)}}function F(t){let n=CE(h,"alwaysStrict")&&!(Md(t)&&g>=5)&&!bV(t);return c.updateSourceFile(t,GO(t.statements,k,e,0,n))}function G(e){return!!(8192&e.transformFlags)}function B(e,t){return IT(e,8388608),[e,t,c.createEndOfDeclarationMarker(e)]}function U(e){let t;let n=GR(e.members,N(e),yK),r=SP(e),i=r&&d9(r.parameters,e=>mZ(e,r));if(i)for(let e of i){let n=c.createPropertyDeclaration(void 0,e.name,void 0,void 0,void 0);Ih(n,e),t=uD(t,n)}return t?(t=uP(t,n),OV(c.createNodeArray(t),e.members)):n}function V(e,t){let n=H(t,t);if(uv(n)){let t=[];uP(t,pm(e,Ok)),uP(t,d9(e,wB)),uP(t,n),uP(t,d9(ph(e,Ok),yD)),e=OV(c.createNodeArray(t),e)}return e}function j(e,t,n){if(yW(n)&&EU(v,t,n)){let r=H(t,n);if(uv(r)){let t=[];uP(t,d9(e,wB)),uP(t,r),uP(t,d9(e,yD)),e=OV(c.createNodeArray(t),e)}}return e}function H(e,t){if(v)return iM?function(e,t){if(b){let n;if(K(e)&&(n=uD(n,c.createPropertyAssignment("type",c.createArrowFunction(void 0,void 0,[],void 0,c.createToken(38),b.serializeTypeOfNode({currentLexicalScope:i,currentNameScope:t},e))))),z(e)&&(n=uD(n,c.createPropertyAssignment("paramTypes",c.createArrowFunction(void 0,void 0,[],void 0,c.createToken(38),b.serializeParameterTypesOfNode({currentLexicalScope:i,currentNameScope:t},e,t))))),W(e)&&(n=uD(n,c.createPropertyAssignment("returnType",c.createArrowFunction(void 0,void 0,[],void 0,c.createToken(38),b.serializeReturnTypeOfNode({currentLexicalScope:i,currentNameScope:t},e))))),n){let e=d().createMetadataHelper("design:typeinfo",c.createObjectLiteralExpression(n,!0));return[c.createDecorator(e)]}}}(e,t):function(e,t){if(b){let n;if(K(e)){let r=d().createMetadataHelper("design:type",b.serializeTypeOfNode({currentLexicalScope:i,currentNameScope:t},e));n=uD(n,c.createDecorator(r))}if(z(e)){let r=d().createMetadataHelper("design:paramtypes",b.serializeParameterTypesOfNode({currentLexicalScope:i,currentNameScope:t},e,t));n=uD(n,c.createDecorator(r))}if(W(e)){let r=d().createMetadataHelper("design:returntype",b.serializeReturnTypeOfNode({currentLexicalScope:i,currentNameScope:t},e));n=uD(n,c.createDecorator(r))}return n}}(e,t)}function K(e){let t=e.kind;return 171===t||174===t||175===t||169===t}function W(e){return 171===e.kind}function z(e){switch(e.kind){case 260:case 228:return void 0!==SP(e);case 171:case 174:case 175:return!0}return!1}function q(e){let t=e.name;if(wP(t)&&(!S7(e)&&o||Ai(e)&&v)){let e=Gw(t.expression,L,gp);if(T.assert(e),!Br(yn(e))){let n=c.getGeneratedNameForNode(t);return f(n),c.updateComputedPropertyName(t,c.createAssignment(n,e))}}return T.checkDefined(Gw(t,L,yM))}function J(e){return!vN(e.body)}function X(e){let t=e.name;if(!wb(t))return;let n=kC(OV(c.cloneNode(t),t),t.parent);IE(n,3168);let r=kC(OV(c.cloneNode(t),t),t.parent);return IE(r,3072),D9(Ib(OV(Ih(c.createExpressionStatement(c.createAssignment(OV(c.createPropertyAccessExpression(c.createThis(),n),e.name),r)),e),A$(e,-1))))}function Y(t,n){if(!(1&t.transformFlags))return t;if(!J(t))return;let r=yW(n)?GR(t.modifiers,L,yY):GR(t.modifiers,D,yY);return r=j(r,t,n),c.updateMethodDeclaration(t,r,t.asteriskToken,q(t),void 0,void 0,GM(t.parameters,L,e),void 0,GP(t.body,L,e))}function $(e){return!(vN(e.body)&&S3(e,256))}function Q(t,n){if(!(1&t.transformFlags))return t;if(!$(t))return;let r=yW(n)?GR(t.modifiers,L,yY):GR(t.modifiers,D,yY);return r=j(r,t,n),c.updateGetAccessorDeclaration(t,r,q(t),GM(t.parameters,L,e),void 0,GP(t.body,L,e)||c.createBlock([]))}function Z(t,n){if(!(1&t.transformFlags))return t;if(!$(t))return;let r=yW(n)?GR(t.modifiers,L,yY):GR(t.modifiers,D,yY);return r=j(r,t,n),c.updateSetAccessorDeclaration(t,r,q(t),GM(t.parameters,L,e),GP(t.body,L,e)||c.createBlock([]))}function ee(t){let n=t.name;return y2(n)?Bx(t,L,e,0,!1,em):OV(c.createAssignment(eh(n),T.checkDefined(Gw(t.initializer,L,gp))),t)}function et(t){let n,i;let a=wE(n=t.name)?c.createIdentifier(""):wP(n)?n.expression:wb(n)?c.createStringLiteral(hi(n)):c.cloneNode(n),o=void 0!==(i=m.getConstantValue(t))?"string"==typeof i?c.createStringLiteral(i):c.createNumericLiteral(i):((8&s)==0&&(s|=8,e.enableSubstitution(79)),t.initializer)?T.checkDefined(Gw(t.initializer,L,gp)):c.createVoidZero(),l=c.createAssignment(c.createElementAccessExpression(r,a),o),d=10===o.kind?l:c.createAssignment(c.createElementAccessExpression(r,l),a);return OV(c.createExpressionStatement(OV(d,t)),t)}function en(e){return eu(e)||e_(e)&&5!==g&&6!==g&&7!==g&&99!==g&&4!==g}function er(e){a||(a=new Map);let t=ei(e);a.has(t)||a.set(t,e)}function ei(e){return T.assertNode(e.name,wb),e.name.escapedText}function ea(e,t){let n=c.createVariableStatement(GR(t.modifiers,M,yD),c.createVariableDeclarationList([c.createVariableDeclaration(c.getLocalName(t,!1,!0))],308===i.kind?0:1));if(Ih(n,t),er(t),function(e){if(a){let t=ei(e);return a.get(t)===e}return!0}(t))return 263===t.kind?IL(n.declarationList,t):IL(n,t),IN(n,t),IT(n,8390656),e.push(n),!0;{let t=c.createMergeDeclarationMarker(n);return IE(t,8391680),e.push(t),!1}}function eo(e){T.assert(!e.isTypeOnly);let t=eb(e)?e.name:void 0,n=Gw(e.namedBindings,es,gk);return t||n?c.updateImportClause(e,!1,t,n):void 0}function es(e){if(271===e.kind)return eb(e)?e:void 0;{let t=h.verbatimModuleSyntax||h.preserveValueImports&&(1===h.importsNotUsedAsValues||2===h.importsNotUsedAsValues),n=GR(e.elements,el,Nx);return t||uv(n)?c.updateNamedImports(e,n):void 0}}function el(e){return!e.isTypeOnly&&eb(e)?e:void 0}function ec(e){return!e.isTypeOnly&&(h.verbatimModuleSyntax||m.isValueAliasDeclaration(e))?e:void 0}function ed(n){var i;if(n.isTypeOnly)return;if(Eq(n)){let t=eb(n);return t||1!==h.importsNotUsedAsValues?t?GB(n,L,e):void 0:Ih(OV(c.createImportDeclaration(void 0,void 0,n.moduleReference.expression,void 0),n),n)}if(!(eb(n)||!Md(t)&&m.isTopLevelValueImportEqualsWithEntityName(n)))return;let a=DW(c,n.moduleReference);return(IE(a,7168),ep(n)||!eu(n))?Ih(OV(c.createVariableStatement(GR(n.modifiers,M,yD),c.createVariableDeclarationList([Ih(c.createVariableDeclaration(n.name,void 0,void 0,a),n)])),n),n):Ih((i=n.name,OV(c.createExpressionStatement(c.createAssignment(c.getNamespaceMemberName(r,i,!1,!0),a)),n)),n)}function eu(e){return void 0!==n&&S3(e,1)}function e_(e){return void 0===n&&S3(e,1)}function ep(e){return e_(e)&&!S3(e,1024)}function ef(e){let t=c.createAssignment(c.getExternalModuleOrNamespaceExportName(r,e,!1,!0),c.getLocalName(e));IL(t,AX(e.name?e.name.pos:e.pos,e.end));let n=c.createExpressionStatement(t);return IL(n,AX(-1,e.end)),n}function em(e,t,n){return OV(c.createAssignment(eh(e),t),n)}function eh(e){return c.getNamespaceMemberName(r,e,!1,!0)}function ey(e){let t=c.getGeneratedNameForNode(e);return IL(t,e.name),t}function eg(e){return c.getGeneratedNameForNode(e)}function ev(e){if(s&l&&!yL(e)&&!DY(e)){let t=m.getReferencedExportContainer(e,!1);if(t&&308!==t.kind&&(2&l&&264===t.kind||8&l&&263===t.kind))return OV(c.createPropertyAccessExpression(c.getGeneratedNameForNode(t),e),e)}}function eb(e){return h.verbatimModuleSyntax||EZ(e)||(h.preserveValueImports?m.isValueAliasDeclaration(e):m.isReferencedAliasDeclaration(e))}}var BP=dj({"src/compiler/transformers/ts.ts"(){Kr(),iM=!1}});function BF(e){let t,n,r,i,a,o,s;let{factory:l,getEmitHelperFactory:c,hoistVariableDeclaration:d,endLexicalEnvironment:u,startLexicalEnvironment:_,resumeLexicalEnvironment:p,addBlockScopedVariable:f}=e,m=e.getEmitResolver(),h=e.getCompilerOptions(),y=Ct(h),g=Cx(h),v=!!h.experimentalDecorators,b=!g,E=g&&y<9,x=b||E,S=y<9,A=y<99?-1:g?0:3,L=y<9,C=L&&y>=2,k=x||S||-1===A,I=e.onSubstituteNode;e.onSubstituteNode=function(e,r){return(r=I(e,r),1===e)?function(e){switch(e.kind){case 79:return function(e){if(1&t&&2097152&m.getNodeCheckFlags(e)){let t=m.getReferencedValueDeclaration(e);if(t){let r=n[t.id];if(r){let t=l.cloneNode(r);return IL(t,e),IN(t,e),t}}}}(e)||e;case 108:return function(e){if(2&t&&(null==a?void 0:a.data)){let{facts:t,classConstructor:n,classThis:r}=a.data;if(1&t&&v)return l.createParenthesizedExpression(l.createVoidZero());let i=D&&null!=r?r:n;if(i)return OV(Ih(l.cloneNode(i),e),e)}return e}(e)}return e}(r):r};let w=e.onEmitNode;e.onEmitNode=function(e,t,n){let r=m7(t),i=N.get(r);if(i){let o=a,s=O;a=i,O=D,D=!wK(r)||!(32&v1(r)),w(e,t,n),D=O,O=s,a=o;return}switch(t.kind){case 215:if(RS(r)||524288&v0(t))break;case 259:case 173:case 174:case 175:case 171:case 169:{let r=a,i=O;a=void 0,O=D,D=!1,w(e,t,n),D=O,O=i,a=r;return}case 164:{let r=a,i=D;a=null==a?void 0:a.previous,D=O,w(e,t,n),D=i,a=r;return}}w(e,t,n)};let R=!1,N=new Map,D=!1,O=!1;return G3(e,function(t){if(t.isDeclarationFile||(a=void 0,R=!!(32&v1(t)),!k&&!R))return t;let n=GB(t,P,e);return IH(n,e.readEmitHelpers()),n});function M(e){return 127===e.kind?Q()?void 0:e:_E(e,yD)}function P(t){if(!(16777216&t.transformFlags)&&!(134234112&t.transformFlags))return t;switch(t.kind){case 127:return T.fail("Use `modifierVisitor` instead.");case 260:return ed(t,void 0,eu);case 228:return ed(t,void 0,e_);case 172:case 169:return T.fail("Use `classElementVisitor` instead.");case 299:return function(t){if(xY(t,ei)){let{referencedName:e,name:n}=es(t.name),r=Gw(t.initializer,t=>G(t,e),gp);return l.updatePropertyAssignment(t,n,r)}return GB(t,P,e)}(t);case 240:let n,r,o;return n=i,i=[],r=GB(t,P,e),o=uv(i)?[r,...i]:r,i=n,o;case 257:return function(t){if(xY(t,ei)){let e=W(t.name,t.initializer),n=Gw(t.name,P,yP),r=Gw(t.initializer,t=>G(t,e),gp);return l.updateVariableDeclaration(t,n,void 0,void 0,r)}return GB(t,P,e)}(t);case 166:return function(t){if(xY(t,ei)){let e=W(t.name,t.initializer),n=Gw(t.name,P,yP),r=Gw(t.initializer,t=>G(t,e),gp);return l.updateParameterDeclaration(t,void 0,void 0,n,void 0,void 0,r)}return GB(t,P,e)}(t);case 205:return function(t){if(xY(t,ei)){let e=W(t.name,t.initializer),n=Gw(t.propertyName,P,yM),r=Gw(t.name,P,yP),i=Gw(t.initializer,t=>G(t,e),gp);return l.updateBindingElement(t,void 0,n,r,i)}return GB(t,P,e)}(t);case 274:return function(t){if(xY(t,ei)){let e=l.createStringLiteral(t.isExportEquals?"":"default"),n=GR(t.modifiers,M,yD),r=Gw(t.expression,t=>G(t,e),gp);return l.updateExportAssignment(t,n,r)}return GB(t,P,e)}(t);case 80:return!S||gF(t.parent)?t:Ih(l.createIdentifier(""),t);case 208:return function(t){if(wE(t.name)){let e=eC(t.name);if(e)return OV(Ih(ee(e,Gw(t.expression,P,gp)),t),t)}if(C&&EI(t)&&wb(t.name)&&s&&(null==a?void 0:a.data)){let{classConstructor:e,superClassReference:n,facts:r}=a.data;if(1&r)return eg(t);if(e&&n){let r=l.createReflectGetCall(n,l.createStringLiteralFromNode(t.name),e);return Ih(r,t.expression),OV(r,t.expression),r}}return GB(t,P,e)}(t);case 209:return function(t){if(C&&EI(t)&&s&&(null==a?void 0:a.data)){let{classConstructor:e,superClassReference:n,facts:r}=a.data;if(1&r)return eg(t);if(e&&n){let r=l.createReflectGetCall(n,Gw(t.argumentExpression,P,gp),e);return Ih(r,t.expression),OV(r,t.expression),r}}return GB(t,P,e)}(t);case 221:case 222:return et(t,!1);case 223:return ea(t,!1);case 214:return eo(t,!1,void 0);case 210:return function(t){var n;if(yI(t.expression)&&eC(t.expression.name)){let{thisArg:e,target:n}=l.createCallBinding(t.expression,d,y);return h6(t)?l.updateCallChain(t,l.createPropertyAccessChain(Gw(n,P,gp),t.questionDotToken,"call"),void 0,void 0,[Gw(e,P,gp),...GR(t.arguments,P,gp)]):l.updateCallExpression(t,l.createPropertyAccessExpression(Gw(n,P,gp),"call"),void 0,[Gw(e,P,gp),...GR(t.arguments,P,gp)])}if(C&&EI(t.expression)&&s&&(null==(n=null==a?void 0:a.data)?void 0:n.classConstructor)){let e=l.createFunctionCallCall(Gw(t.expression,P,gp),a.data.classConstructor,GR(t.arguments,P,gp));return Ih(e,t),OV(e,t),e}return GB(t,P,e)}(t);case 241:return l.updateExpressionStatement(t,Gw(t.expression,B,gp));case 212:return function(t){var n;if(yI(t.tag)&&eC(t.tag.name)){let{thisArg:e,target:n}=l.createCallBinding(t.tag,d,y);return l.updateTaggedTemplateExpression(t,l.createCallExpression(l.createPropertyAccessExpression(Gw(n,P,gp),"bind"),void 0,[Gw(e,P,gp)]),void 0,Gw(t.template,P,go))}if(C&&EI(t.tag)&&s&&(null==(n=null==a?void 0:a.data)?void 0:n.classConstructor)){let e=l.createFunctionBindCall(Gw(t.tag,P,gp),a.data.classConstructor,[]);return Ih(e,t),OV(e,t),l.updateTaggedTemplateExpression(t,e,void 0,Gw(t.template,P,go))}return GB(t,P,e)}(t);case 245:return l.updateForStatement(t,Gw(t.initializer,B,gS),Gw(t.condition,P,gp),Gw(t.incrementor,B,gp),GF(t.statement,P,e));case 259:case 215:case 173:case 171:case 174:case 175:return Y(void 0,F,t);default:return F(t)}}function F(t){return GB(t,P,e)}function G(e,t){switch(e.kind){case 356:let n,r;return n=t?e=>G(e,t):P,r=Gw(e.expression,n,gp),l.updatePartiallyEmittedExpression(e,r);case 214:return eo(e,!1,t);case 228:return ed(e,t,e_);default:return P(e)}}function B(e){switch(e.kind){case 221:case 222:return et(e,!0);case 223:return ea(e,!0);case 357:let t;return t=GG(e.elements,B),l.updateCommaListExpression(e,t);case 214:return eo(e,!0,void 0);default:return P(e)}}function U(t){switch(t.kind){case 294:return GB(t,U,e);case 230:return function(t){var n;if(4&((null==(n=null==a?void 0:a.data)?void 0:n.facts)||0)){let e=l.createTempVariable(d,!0);return ev().superClassReference=e,l.updateExpressionWithTypeArguments(t,l.createAssignment(e,Gw(t.expression,P,gp)),void 0)}return GB(t,P,e)}(t);default:return P(t)}}function V(e){switch(e.kind){case 207:case 206:return eN(e);default:return P(e)}}function j(t){switch(t.kind){case 173:return o?ef(t,o):F(t);case 174:case 175:case 171:return Y(void 0,X,t);case 169:return Y(void 0,Z,t);case 172:return function(t){if(!S)return GB(t,P,e)}(t);case 164:return q(t);case 237:return t;default:return yY(t)?M(t):P(t)}}function H(e){return 164===e.kind?q(e):P(e)}function K(e){switch(e.kind){case 169:return $(e);case 174:case 175:return j(e);default:T.assertMissingNode(e,"Expected node to either be a PropertyDeclaration, GetAccessorDeclaration, or SetAccessorDeclaration")}}function W(e,t){let n=m7(t,yW);return n&&!n.name&&S3(n,1024)?l.createStringLiteral("default"):l.createStringLiteralFromNode(e)}function z(e){return uv(r)&&(RT(e)?(r.push(e.expression),e=l.updateParenthesizedExpression(e,l.inlineExpressions(r))):(r.push(e),e=l.inlineExpressions(r)),r=void 0),e}function q(e){let t=Gw(e.expression,P,gp);return l.updateComputedPropertyName(e,z(t))}function J(e){return!!(S||S7(e)&&32&v1(e))}function X(t){if(T.assert(!Ai(t)),!yk(t)||!J(t))return GB(t,j,e);let n=eC(t.name);if(T.assert(n,"Undeclared private name for property declaration."),!n.isValid)return t;let r=function(e){T.assert(wE(e.name));let t=eC(e.name);if(T.assert(t,"Undeclared private name for property declaration."),"m"===t.kind)return t.methodName;if("a"===t.kind){if(gY(e))return t.getterName;if(gX(e))return t.setterName}}(t);r&&eE().push(l.createAssignment(r,l.createFunctionExpression(d9(t.modifiers,e=>yD(e)&&!wk(e)&&!wR(e)),t.asteriskToken,r,void 0,GM(t.parameters,P,e),void 0,GP(t.body,P,e))))}function Y(e,t,n){let r=s;s=e;let i=t(n);return s=r,i}function $(e){return T.assert(!Ai(e),"Decorators should already have been transformed and elided."),yk(e)?function(e){if(J(e)){let t=eC(e.name);if(T.assert(t,"Undeclared private name for property declaration."),!t.isValid)return e;if(t.isStatic&&!S){let t=eh(e,l.createThis());if(t)return l.createClassStaticBlockDeclaration(l.createBlock([t],!0))}return}if(b&&!S5(e)&&(null==a?void 0:a.data)&&16&a.data.facts)return l.updatePropertyDeclaration(e,GR(e.modifiers,P,yY),e.name,void 0,void 0,void 0);if(xY(e,ei)){let{referencedName:t,name:n}=es(e.name);return l.updatePropertyDeclaration(e,GR(e.modifiers,M,yD),n,void 0,void 0,Gw(e.initializer,e=>G(e,t),gp))}return l.updatePropertyDeclaration(e,GR(e.modifiers,M,yD),Gw(e.name,H,yM),void 0,void 0,Gw(e.initializer,P,gp))}(e):function(e){if(x&&!yq(e)){let t=function(e,t,n){if(wP(e)){let r=OF(e),i=Gw(e.expression,P,gp),a=yn(i),o=Br(a);if(!(r||AA(a)&&yL(a.left))&&!o&&t){let t=l.getGeneratedNameForNode(e);return 32768&m.getNodeCheckFlags(e)?f(t):d(t),n&&(i=c().createPropKeyHelper(i)),l.createAssignment(t,i)}return o||wb(a)?void 0:i}}(e.name,!!e.initializer||g,xY(e,ei));if(t&&eE().push(...OG(t)),S5(e)&&!S){let t=eh(e,l.createThis());if(t){let n=l.createClassStaticBlockDeclaration(l.createBlock([t]));return Ih(n,e),IN(n,e),IN(t,{pos:-1,end:-1}),IO(t,void 0),IF(t,void 0),n}}return}return l.updatePropertyDeclaration(e,GR(e.modifiers,M,yD),Gw(e.name,H,yM),void 0,void 0,Gw(e.initializer,P,gp))}(e)}function Q(){return -1===A||3===A&&!!(null==a?void 0:a.data)&&!!(16&a.data.facts)}function Z(e){return yq(e)&&(Q()||S7(e)&&32&v1(e))?function(e){let t=IR(e),n=IA(e),r=e.name,i=r,a=r;if(wP(r)&&!Br(r.expression)){let e=OF(r);if(e)i=l.updateComputedPropertyName(r,Gw(r.expression,P,gp)),a=l.updateComputedPropertyName(r,e.left);else{let e=l.createTempVariable(d);IL(e,r.expression);let t=Gw(r.expression,P,gp),n=l.createAssignment(e,t);IL(n,r.expression),i=l.updateComputedPropertyName(r,n),a=l.updateComputedPropertyName(r,e)}}let o=GR(e.modifiers,M,yD),s=OO(l,e,o,e.initializer);Ih(s,e),IE(s,3072),IL(s,n);let c=OM(l,e,o,i);Ih(c,e),IN(c,t),IL(c,n);let u=OP(l,e,o,a);return Ih(u,e),IE(u,3072),IL(u,n),GN([s,c,u],K,yK)}(e):$(e)}function ee(e,t){switch(IN(t,A$(t,-1)),e.kind){case"a":return c().createClassPrivateFieldGetHelper(t,e.brandCheckIdentifier,e.kind,e.getterName);case"m":return c().createClassPrivateFieldGetHelper(t,e.brandCheckIdentifier,e.kind,e.methodName);case"f":return c().createClassPrivateFieldGetHelper(t,e.brandCheckIdentifier,e.kind,e.isStatic?e.variableName:void 0);case"untransformed":return T.fail("Access helpers should not be created for untransformed private elements");default:T.assertNever(e,"Unknown private element type")}}function et(t,n){if(45===t.operator||46===t.operator){let e=xi(t.operand);if(yI(e)){let r;if(r=eC(e.name)){let{readExpression:i,initializeExpression:a}=en(Gw(e.expression,P,gp)),o=ee(r,Gw(i,P,gp)),s=RI(t)||n?void 0:l.createTempVariable(d);return Ih(o=el(r,a||i,o=DJ(l,t,o,d,s),63),t),OV(o,t),s&&OV(o=l.createComma(o,s),t),o}}else if(C&&EI(e)&&s&&(null==a?void 0:a.data)){let{classConstructor:r,superClassReference:i,facts:o}=a.data;if(1&o){let n=eg(e);return RI(t)?l.updatePrefixUnaryExpression(t,n):l.updatePostfixUnaryExpression(t,n)}if(r&&i){let a,o;if(Rh(e)?wb(e.name)&&(o=a=l.createStringLiteralFromNode(e.name)):Br(e.argumentExpression)?o=a=e.argumentExpression:(o=l.createTempVariable(d),a=l.createAssignment(o,Gw(e.argumentExpression,P,gp))),a&&o){let s=l.createReflectGetCall(i,o,r);OV(s,e);let c=n?void 0:l.createTempVariable(d);return s=DJ(l,t,s,d,c),Ih(s=l.createReflectSetCall(i,a,s,r),t),OV(s,t),c&&OV(s=l.createComma(s,c),t),s}}}}return GB(t,P,e)}function en(e){let t=x1(e)?e:l.cloneNode(e);if(Br(e))return{readExpression:t,initializeExpression:void 0};let n=l.createTempVariable(d),r=l.createAssignment(n,t);return{readExpression:n,initializeExpression:r}}function er(e){if(a&&N.set(m7(e),a),S){_();let t=Y(e,e=>GR(e,P,gF),e.body.statements);t=l.mergeLexicalEnvironment(t,u());let n=l.createImmediatelyInvokedArrowFunction(t);return Ih(n,e),OV(n,e),IT(n,4),n}}function ei(e){if(RP(e)&&!e.name){let t=Bd(e),n=d0(t,wK);if(n){for(let e of n.body.statements)if(R$(e)&&I9(e.expression,"___setFunctionName"))return!1}return(S||!!v1(e))&&uv(t,e=>wK(e)||yk(e)||x&&Bu(e))}return!1}function ea(t,n){var i;if(AC(t)){let e=r;r=void 0,t=l.updateBinaryExpression(t,Gw(t.left,V,gp),t.operatorToken,Gw(t.right,P,gp));let n=uv(r)?l.inlineExpressions(uR([...r,t])):t;return r=e,n}if(AA(t)){if(xY(t,ei)){let e=W(t.left,t.right),n=Gw(t.left,P,gp),r=Gw(t.right,t=>G(t,e),gp);return l.updateBinaryExpression(t,n,t.operatorToken,r)}if(yI(t.left)){let e=eC(t.left.name);if(e)return OV(Ih(el(e,t.left.expression,t.right,t.operatorToken.kind),t),t)}else if(C&&EI(t.left)&&s&&(null==a?void 0:a.data)){let{classConstructor:e,superClassReference:r,facts:i}=a.data;if(1&i)return l.updateBinaryExpression(t,eg(t.left),t.operatorToken,Gw(t.right,P,gp));if(e&&r){let i=Ry(t.left)?Gw(t.left.argumentExpression,P,gp):wb(t.left.name)?l.createStringLiteralFromNode(t.left.name):void 0;if(i){let a=Gw(t.right,P,gp);if(Bi(t.operatorToken.kind)){let n=i;Br(i)||(n=l.createTempVariable(d),i=l.createAssignment(n,i));let o=l.createReflectGetCall(r,n,e);Ih(o,t.left),OV(o,t.left),OV(a=l.createBinaryExpression(o,Ba(t.operatorToken.kind),a),t)}let o=n?void 0:l.createTempVariable(d);return o&&(a=l.createAssignment(o,a),OV(o,t)),Ih(a=l.createReflectSetCall(r,i,a,e),t),OV(a,t),o&&OV(a=l.createComma(a,o),t),a}}}}return wE((i=t).left)&&101===i.operatorToken.kind?function(t){let n=eC(t.left);if(n){let e=Gw(t.right,P,gp);return Ih(c().createClassPrivateFieldInHelper(n.brandCheckIdentifier,e),t)}return GB(t,P,e)}(t):GB(t,P,e)}function eo(e,t,n){let r=t?B:n?e=>G(e,n):P,i=Gw(e.expression,r,gp);return l.updateParenthesizedExpression(e,i)}function es(e){if(xB(e)||wE(e))return{referencedName:l.createStringLiteralFromNode(e),name:Gw(e,P,yM)};if(xB(e.expression)&&!wb(e.expression))return{referencedName:l.createStringLiteralFromNode(e.expression),name:Gw(e,P,yM)};let t=l.createTempVariable(d),n=c().createPropKeyHelper(Gw(e.expression,P,gp)),r=l.createAssignment(t,n);return{referencedName:t,name:l.updateComputedPropertyName(e,z(r))}}function el(e,t,n,r){if(t=Gw(t,P,gp),n=Gw(n,P,gp),Bi(r)){let{readExpression:i,initializeExpression:a}=en(t);t=a||i,n=l.createBinaryExpression(ee(e,i),Ba(r),n)}switch(IN(t,A$(t,-1)),e.kind){case"a":return c().createClassPrivateFieldSetHelper(t,e.brandCheckIdentifier,n,e.kind,e.setterName);case"m":return c().createClassPrivateFieldSetHelper(t,e.brandCheckIdentifier,n,e.kind,void 0);case"f":return c().createClassPrivateFieldSetHelper(t,e.brandCheckIdentifier,n,e.kind,e.isStatic?e.variableName:void 0);case"untransformed":return T.fail("Access helpers should not be created for untransformed private elements");default:T.assertNever(e,"Unknown private element type")}}function ec(e){return d9(e.members,B_)}function ed(n,i,s){let l=o,c=r,d=a;o=n,r=void 0,a={previous:a,data:void 0};let u=32&v1(n);if(S||u){let e=hp(n);e&&wb(e)&&(eb().data.className=e)}if(S){let e=ec(n);uv(e)&&(eb().data.weakSetName=eA("instances",e[0].name))}let _=function(e){let t=0,n=m7(e);No(n)&&EB(v,n)&&(t|=1);let r=!1,i=!1,a=!1,o=!1;for(let n of e.members)S5(n)?(n.name&&(wE(n.name)||yq(n))&&S&&(t|=2),(wV(n)||wK(n))&&(L&&16384&n.transformFlags&&!(1&(t|=8))&&(t|=2),C&&134217728&n.transformFlags&&!(1&t)&&(t|=6))):!Ae(m7(n))&&(yq(n)?(o=!0,a||(a=yk(n))):yk(n)?a=!0:wV(n)&&(r=!0,i||(i=!!n.initializer)));return(E&&r||b&&i||S&&a||S&&o&&-1===A)&&(t|=16),t}(n);_&&(ev().facts=_),8&_&&(2&t)==0&&(t|=2,e.enableSubstitution(108),e.enableEmitNotification(259),e.enableEmitNotification(215),e.enableEmitNotification(173),e.enableEmitNotification(174),e.enableEmitNotification(175),e.enableEmitNotification(171),e.enableEmitNotification(169),e.enableEmitNotification(164));let p=s(n,_,i);return a=null==a?void 0:a.previous,T.assert(a===d),o=l,r=c,p}function eu(e,t){var n,i;let a;if(2&t){if(S&&(null==(n=e.emitNode)?void 0:n.classThis))ev().classConstructor=e.emitNode.classThis,a=l.createAssignment(e.emitNode.classThis,l.getInternalName(e));else{let t=l.createTempVariable(d,!0);ev().classConstructor=l.cloneNode(t),a=l.createAssignment(t,l.getInternalName(e))}(null==(i=e.emitNode)?void 0:i.classThis)&&(ev().classThis=e.emitNode.classThis)}let o=GR(e.modifiers,M,yD),s=GR(e.heritageClauses,U,Nq),{members:c,prologue:u}=ep(e),_=l.updateClassDeclaration(e,o,e.name,void 0,s,c),p=[];if(u&&p.push(l.createExpressionStatement(u)),p.push(_),a&&eE().unshift(a),uv(r)&&p.push(l.createExpressionStatement(l.inlineExpressions(r))),b||S||32&v1(e)){let t=Bd(e);uv(t)&&em(p,t,l.getInternalName(e))}return p}function e_(a,o,s){var u,_,p,h,y,g;let v;let b=Bd(a),E=1048576&m.getNodeCheckFlags(a);function A(){var e;if(S&&(null==(e=a.emitNode)?void 0:e.classThis))return ev().classConstructor=a.emitNode.classThis;let t=m.getNodeCheckFlags(a),n=l.createTempVariable(32768&t?f:d,!!(1048576&t));return ev().classConstructor=l.cloneNode(n),n}(null==(u=a.emitNode)?void 0:u.classThis)&&(ev().classThis=a.emitNode.classThis),2&o&&(null!=v||(v=A()));let L=GR(a.modifiers,M,yD),C=GR(a.heritageClauses,U,Nq),{members:k,prologue:I}=ep(a),w=l.updateClassExpression(a,L,a.name,void 0,C,k),R=[];if(I&&R.push(I),(S||32&v1(a))&&uv(b,e=>wK(e)||yk(e)||x&&Bu(e))||uv(r)||s){if(1&o){if(T.assertIsDefined(i,"Decorated classes transformed by TypeScript are expected to be within a variable declaration."),uv(r)&&uP(i,un(r,l.createExpressionStatement)),s){if(S){let e=c().createSetFunctionNameHelper(null!=(p=null!=v?v:null==(_=a.emitNode)?void 0:_.classThis)?p:l.getInternalName(a),s);i.push(l.createExpressionStatement(e))}else{let e=c().createSetFunctionNameHelper(l.createThis(),s);w=l.updateClassExpression(w,w.modifiers,w.name,w.typeParameters,w.heritageClauses,[l.createClassStaticBlockDeclaration(l.createBlock([l.createExpressionStatement(e)])),...w.members])}}uv(b)&&em(i,b,null!=(y=null==(h=a.emitNode)?void 0:h.classThis)?y:l.getInternalName(a)),v?R.push(l.createAssignment(v,w)):S&&(null==(g=a.emitNode)?void 0:g.classThis)?R.push(l.createAssignment(a.emitNode.classThis,w)):R.push(w)}else{if(null!=v||(v=A()),E){(1&t)==0&&(t|=1,e.enableSubstitution(79),n=[]);let r=l.cloneNode(v);r.emitNode.autoGenerate.flags&=-9,n[G8(a)]=r}R.push(l.createAssignment(v,w)),uP(R,r),s&&R.push(c().createSetFunctionNameHelper(v,s)),uP(R,function(e,t){let n=[];for(let r of e){let e=wK(r)?er(r):ey(r,t);e&&(D9(e),Ih(e,r),IT(e,3072&v0(r)),IL(e,AZ(r)),IN(e,r),n.push(e))}return n}(b,v)),R.push(l.cloneNode(v))}}else R.push(w);return R.length>1&&(IT(w,131072),R.forEach(D9)),l.inlineExpressions(R)}function ep(e){let t,n,i;let a=!!(32&v1(e));if(S||R){for(let t of e.members)yk(t)&&(J(t)?eS(t,t.name,eT):Bb(eb(),t.name,{kind:"untransformed"}));if(S&&uv(ec(e))&&function(){let{weakSetName:e}=eb().data;T.assert(e,"weakSetName should be set in private identifier environment"),eE().push(l.createAssignment(e,l.createNewExpression(l.createIdentifier("WeakSet"),void 0,[])))}(),Q()){for(let t of e.members)if(yq(t)){let e=l.getGeneratedPrivateNameForNode(t.name,void 0,"_accessor_storage");S||a&&S7(t)?eS(t,e,ex):Bb(eb(),e,{kind:"untransformed"})}}}let o=GR(e.members,j,yK);if(uv(o,wW)||(t=ef(void 0,e)),!S&&uv(r)){let e=l.createExpressionStatement(l.inlineExpressions(r));if(134234112&e.transformFlags){let t=l.createTempVariable(d),r=l.createArrowFunction(void 0,void 0,[],void 0,void 0,l.createBlock([e]));n=l.createAssignment(t,r),e=l.createExpressionStatement(l.createCallExpression(t,void 0,[]))}let t=l.createBlock([e]);i=l.createClassStaticBlockDeclaration(t),r=void 0}if(t||i){let n;n=uD(n,t),n=uP(n=uD(n,i),o),o=OV(l.createNodeArray(n),e.members)}return{members:o,prologue:n}}function ef(t,n){if(t=Gw(t,P,wW),!(null==a?void 0:a.data)||!(16&a.data.facts))return t;let r=xy(n),i=!!(r&&104!==D3(r.expression).kind),o=GM(t?t.parameters:void 0,P,e),s=function(t,n,r){var i,a;let o=Bl(t,!1,!1),s=o;g||(s=d9(s,e=>!!e.initializer||wE(e.name)||An(e)));let c=ec(t),d=uv(s)||uv(c);if(!n&&!d)return GP(void 0,P,e);p();let _=!n&&r,f=0,m=0,h=-1,y=[];(null==(i=null==n?void 0:n.body)?void 0:i.statements)&&(m=l.copyPrologue(n.body.statements,y,!1,P),(h=Bs(n.body.statements,m))>=0?(f=h+1,y=[...y.slice(0,m),...GR(n.body.statements,P,gF,m,f-m),...y.slice(m)]):m>=0&&(f=m)),_&&y.push(l.createExpressionStatement(l.createCallExpression(l.createSuper(),void 0,[l.createSpreadElement(l.createIdentifier("arguments"))])));let v=0;if(null==n?void 0:n.body){for(let e=f;e0&&(f+=v)}let b=l.createThis();if(function(e,t,n){if(!S||!uv(t))return;let{weakSetName:r}=eb().data;T.assert(r,"weakSetName should be set in private identifier environment"),e.push(l.createExpressionStatement(nU.createCallExpression(nU.createPropertyAccessExpression(r,"add"),void 0,[n])))}(y,c,b),n){let e=d9(o,e=>mZ(m7(e),n)),t=d9(s,e=>!mZ(m7(e),n));em(y,e,b),em(y,t,b)}else em(y,s,b);if(n&&uP(y,GR(n.body.statements,P,gF,f)),0===(y=l.mergeLexicalEnvironment(y,u())).length&&!n)return;let E=(null==n?void 0:n.body)&&n.body.statements.length>=y.length&&null!=(a=n.body.multiLine)?a:y.length>0;return OV(l.createBlock(OV(l.createNodeArray(y),n?n.body.statements:t.members),E),n?n.body:void 0)}(n,t,i);return s?t?(T.assert(o),l.updateConstructorDeclaration(t,void 0,o,s)):D9(Ih(OV(l.createConstructorDeclaration(void 0,null!=o?o:[],s),t||n),t)):t}function em(e,t,n){for(let r of t){if(S5(r)&&!S)continue;let t=eh(r,n);t&&e.push(t)}}function eh(e,t){let n=wK(e)?er(e):ey(e,t);if(!n)return;let r=l.createExpressionStatement(n);Ih(r,e),IT(r,3072&v0(e)),IN(r,e);let i=m7(e);return wG(i)?(IL(r,i),Ib(r)):IL(r,AZ(e)),IO(n,void 0),IF(n,void 0),An(i)&&IT(r,3072),r}function ey(e,t){var n;let r=s,i=function(e,t){let n;let r=!g;xY(e,ei)&&(n=xB(e.name)||wE(e.name)?l.createStringLiteralFromNode(e.name):xB(e.name.expression)&&!wb(e.name.expression)?l.createStringLiteralFromNode(e.name.expression):l.getGeneratedNameForNode(e.name));let i=An(e)?l.getGeneratedPrivateNameForNode(e.name):wP(e.name)&&!Br(e.name.expression)?l.updateComputedPropertyName(e.name,l.getGeneratedNameForNode(e.name)):e.name;S7(e)&&(s=e);let a=n?e=>G(e,n):P;if(wE(i)&&J(e)){let n=eC(i);if(n){var o,c,d,u;return"f"!==n.kind?void 0:n.isStatic?(o=n.variableName,c=Gw(e.initializer,a,gp),nU.createAssignment(o,nU.createObjectLiteralExpression([nU.createPropertyAssignment("value",c||nU.createVoidZero())]))):(d=Gw(e.initializer,a,gp),u=n.brandCheckIdentifier,nU.createCallExpression(nU.createPropertyAccessExpression(u,"set"),void 0,[t,d||nU.createVoidZero()]))}T.fail("Undeclared private name for property declaration.")}if((wE(i)||S7(e))&&!e.initializer)return;let _=m7(e);if(S3(_,256))return;let p=Gw(e.initializer,a,gp);if(mZ(_,_.parent)&&wb(i)){let e=l.cloneNode(i);p?(RT(p)&&D1(p.expression)&&I9(p.expression.left,"___runInitializers")&&RC(p.expression.right)&&wt(p.expression.right.expression)&&(p=p.expression.left),p=l.inlineExpressions([p,e])):p=e,IE(i,3168),IL(e,_.name),IE(e,3072)}else null!=p||(p=l.createVoidZero());if(r||wE(i)){let e=DF(l,t,i,i);return IT(e,1024),l.createAssignment(e,p)}{let e=wP(i)?i.expression:wb(i)?l.createStringLiteral(hr(i.escapedText)):i,n=l.createPropertyDescriptor({value:p,configurable:!0,writable:!0,enumerable:!0});return l.createObjectDefinePropertyCall(t,e,n)}}(e,t);return i&&S7(e)&&(null==(n=null==a?void 0:a.data)?void 0:n.facts)&&(Ih(i,e),IT(i,4),IL(i,IA(e.name)),N.set(m7(e),a)),s=r,i}function eg(e){return Rh(e)?l.updatePropertyAccessExpression(e,l.createVoidZero(),e.name):l.updateElementAccessExpression(e,l.createVoidZero(),Gw(e.argumentExpression,P,gp))}function ev(){var e;return T.assert(a),null!=(e=a.data)?e:a.data={facts:0,classConstructor:void 0,classThis:void 0,superClassReference:void 0}}function eb(){var e;return T.assert(a),null!=(e=a.privateEnv)?e:a.privateEnv=Bg({className:void 0,weakSetName:void 0})}function eE(){return null!=r?r:r=[]}function eT(e,t,n,r,i,a,o){var s,l,c,d;let u,_,p,f,m,h,y,g,v;yq(e)?(u=eL(t,"_get"),_=eL(t,"_set"),p=i?T.checkDefined(null!=(s=n.classThis)?s:n.classConstructor,"classConstructor should be set in private identifier environment"):T.checkDefined(r.data.weakSetName,"weakSetName should be set in private identifier environment"),Bb(r,t,{kind:"a",getterName:u,setterName:_,brandCheckIdentifier:p,isStatic:i,isValid:a})):wV(e)?ex(e,t,n,r,i,a,o):wH(e)?(f=eL(t),m=i?T.checkDefined(null!=(l=n.classThis)?l:n.classConstructor,"classConstructor should be set in private identifier environment"):T.checkDefined(r.data.weakSetName,"weakSetName should be set in private identifier environment"),Bb(r,t,{kind:"m",methodName:f,brandCheckIdentifier:m,isStatic:i,isValid:a})):wz(e)?(h=eL(t,"_get"),y=i?T.checkDefined(null!=(c=n.classThis)?c:n.classConstructor,"classConstructor should be set in private identifier environment"):T.checkDefined(r.data.weakSetName,"weakSetName should be set in private identifier environment"),(null==o?void 0:o.kind)!=="a"||o.isStatic!==i||o.getterName?Bb(r,t,{kind:"a",getterName:h,setterName:void 0,brandCheckIdentifier:y,isStatic:i,isValid:a}):o.getterName=h):wq(e)&&(g=eL(t,"_set"),v=i?T.checkDefined(null!=(d=n.classThis)?d:n.classConstructor,"classConstructor should be set in private identifier environment"):T.checkDefined(r.data.weakSetName,"weakSetName should be set in private identifier environment"),(null==o?void 0:o.kind)!=="a"||o.isStatic!==i||o.setterName?Bb(r,t,{kind:"a",getterName:void 0,setterName:g,brandCheckIdentifier:v,isStatic:i,isValid:a}):o.setterName=g)}function ex(e,t,n,r,i,a,o){var s;if(i){let e=T.checkDefined(null!=(s=n.classThis)?s:n.classConstructor,"classConstructor should be set in private identifier environment"),i=eL(t);Bb(r,t,{kind:"f",isStatic:!0,brandCheckIdentifier:e,variableName:i,isValid:a})}else{let e=eL(t);Bb(r,t,{kind:"f",isStatic:!1,brandCheckIdentifier:e,isValid:a}),eE().push(l.createAssignment(e,l.createNewExpression(l.createIdentifier("WeakMap"),void 0,[])))}}function eS(e,t,n){let r=ev(),i=eb(),a=Bv(i,t),o=S7(e),s=!(!yC(t)&&"#constructor"===t.escapedText)&&void 0===a;n(e,t,r,i,o,s,a)}function eA(e,t,n){let{className:r}=eb().data,i=r?{prefix:"_",node:r,suffix:"_"}:"_",a="object"==typeof e?l.getGeneratedNameForNode(e,24,i,n):"string"==typeof e?l.createUniqueName(e,16,i,n):l.createTempVariable(void 0,!0,i,n);return 32768&m.getNodeCheckFlags(t)?f(a):d(a),a}function eL(e,t){var n;let r=bS(e);return eA(null!=(n=null==r?void 0:r.substring(1))?n:e,e,t)}function eC(e){let t=BE(a,e);return(null==t?void 0:t.kind)==="untransformed"?void 0:t}function ek(t){if(Rm(t)||Rf(t))return eN(t);if(yI(t))return function(t){let n=l.getGeneratedNameForNode(t),r=eC(t.name);if(!r)return GB(t,P,e);let i=t.expression;return(Ew(t)||EI(t)||!Bn(t.expression))&&(i=l.createTempVariable(d,!0),eE().push(l.createBinaryExpression(i,63,Gw(t.expression,P,gp)))),l.createAssignmentTargetWrapper(n,el(r,i,n,63))}(t);if(C&&EI(t)&&s&&(null==a?void 0:a.data)){let{classConstructor:e,superClassReference:n,facts:r}=a.data;if(1&r)return eg(t);if(e&&n){let r=Ry(t)?Gw(t.argumentExpression,P,gp):wb(t.name)?l.createStringLiteralFromNode(t.name):void 0;if(r){let t=l.createTempVariable(void 0);return l.createAssignmentTargetWrapper(t,l.createReflectSetCall(n,r,t,e))}}}return GB(t,P,e)}function eI(e){if(xY(e,ei)){let t=ek(e.left),n=W(e.left,e.right),r=Gw(e.right,e=>G(e,n),gp);return l.updateBinaryExpression(e,t,e.operatorToken,r)}if(AA(e,!0)){let t=ek(e.left),n=Gw(e.right,P,gp);return l.updateBinaryExpression(e,t,e.operatorToken,n)}return ek(e)}function ew(t){return(T.assertNode(t,gt),RM(t))?function(t){if(gs(t.expression)){let e=ek(t.expression);return l.updateSpreadElement(t,e)}return GB(t,P,e)}(t):RF(t)?GB(t,P,e):eI(t)}function eR(t){return(T.assertNode(t,y9),N$(t))?function(t){if(gs(t.expression)){let e=ek(t.expression);return l.updateSpreadAssignment(t,e)}return GB(t,P,e)}(t):NY(t)?function(t){if(xY(t,ei)){let e=W(t.name,t.objectAssignmentInitializer),n=Gw(t.objectAssignmentInitializer,t=>G(t,e),gp);return l.updateShorthandPropertyAssignment(t,t.name,n)}return GB(t,P,e)}(t):NX(t)?function(t){let n=Gw(t.name,P,yM);if(AA(t.initializer,!0)){let e=eI(t.initializer);return l.updatePropertyAssignment(t,n,e)}if(gs(t.initializer)){let e=ek(t.initializer);return l.updatePropertyAssignment(t,n,e)}return GB(t,P,e)}(t):GB(t,P,e)}function eN(e){return Rf(e)?l.updateArrayLiteralExpression(e,GR(e.elements,ew,gp)):l.updateObjectLiteralExpression(e,GR(e.properties,eR,yZ))}}var BG=dj({"src/compiler/transformers/classFields.ts"(){Kr()}});function BB(e){let t,n;let{hoistVariableDeclaration:r}=e,i=e.getEmitResolver(),a=e.getCompilerOptions(),o=Ct(a),s=CE(a,"strictNullChecks");return{serializeTypeNode:(e,t)=>l(e,_,t),serializeTypeOfNode:(e,t)=>l(e,c,t),serializeParameterTypesOfNode:(e,t,n)=>l(e,d,t,n),serializeReturnTypeOfNode:(e,t)=>l(e,u,t)};function l(e,r,i,a){let o=t,s=n;t=e.currentLexicalScope,n=e.currentNameScope;let l=void 0===a?r(i):r(i,a);return t=o,n=s,l}function c(e){switch(e.kind){case 169:case 166:return _(e.type);case 175:case 174:let t;return _((t=i.getAllAccessorDeclarations(e)).setAccessor&&SG(t.setAccessor)||t.getAccessor&&Sq(t.getAccessor));case 260:case 228:case 171:return nU.createIdentifier("Function");default:return nU.createVoidZero()}}function d(e,t){let n=yW(e)?SP(e):yF(e)&&vD(e.body)?e:void 0,r=[];if(n){let e=function(e,t){if(t&&174===e.kind){let{setAccessor:n}=SK(t.members,e);if(n)return n.parameters}return e.parameters}(n,t),i=e.length;for(let t=0;te.parent&&Re(e.parent)&&(e.parent.trueType===e||e.parent.falseType===e)))return nU.createIdentifier("Object");let o=function e(t){if(79===t.kind){let e=m(t);return f(e,e)}if(79===t.left.kind)return f(m(t.left),m(t));let n=e(t.left),i=nU.createTempVariable(r);return nU.createLogicalAnd(nU.createLogicalAnd(n.left,nU.createStrictInequality(nU.createAssignment(i,n.right),nU.createVoidZero())),nU.createPropertyAccessExpression(i,t.right))}(e.typeName),s=nU.createTempVariable(r);return nU.createConditionalExpression(nU.createTypeCheck(nU.createAssignment(s,o),"function"),void 0,s,void 0,nU.createIdentifier("Object"));case 1:return m(e.typeName);case 2:return nU.createVoidZero();case 4:return h("BigInt",7);case 6:return nU.createIdentifier("Boolean");case 3:return nU.createIdentifier("Number");case 5:return nU.createIdentifier("String");case 7:return nU.createIdentifier("Array");case 8:return h("Symbol",2);case 10:return nU.createIdentifier("Function");case 9:return nU.createIdentifier("Promise");case 11:return nU.createIdentifier("Object");default:return T.assertNever(a)}}(e);case 190:return p(e.types,!0);case 189:return p(e.types,!1);case 191:return p([e.trueType,e.falseType],!1);case 195:if(146===e.operator)return _(e.type);break;case 317:case 318:case 319:return _(e.type);default:return T.failBadSyntaxKind(e)}return nU.createIdentifier("Object")}function p(e,t){let n;for(let r of e){if(144===(r=xr(r)).kind){if(t)return nU.createVoidZero();continue}if(157===r.kind){if(!t)return nU.createIdentifier("Object");continue}if(131===r.kind)return nU.createIdentifier("Object");if(!s&&(Rs(r)&&104===r.literal.kind||155===r.kind))continue;let e=_(r);if(wb(e)&&"Object"===e.escapedText)return e;if(n){if(!function e(t,n){return yL(t)?yL(n):wb(t)?wb(n)&&t.escapedText===n.escapedText:Rh(t)?Rh(n)&&e(t.expression,n.expression)&&e(t.name,n.name):RC(t)?RC(n)&&wt(t.expression)&&"0"===t.expression.text&&wt(n.expression)&&"0"===n.expression.text:wr(t)?wr(n)&&t.text===n.text:RL(t)?RL(n)&&e(t.expression,n.expression):RT(t)?RT(n)&&e(t.expression,n.expression):RN(t)?RN(n)&&e(t.condition,n.condition)&&e(t.whenTrue,n.whenTrue)&&e(t.whenFalse,n.whenFalse):!!RR(t)&&RR(n)&&t.operatorToken.kind===n.operatorToken.kind&&e(t.left,n.left)&&e(t.right,n.right)}(n,e))return nU.createIdentifier("Object")}else n=e}return null!=n?n:nU.createVoidZero()}function f(e,t){return nU.createLogicalAnd(nU.createStrictInequality(nU.createTypeOfExpression(e),nU.createStringLiteral("undefined")),t)}function m(e){switch(e.kind){case 79:let n=kC(OV(rT.cloneNode(e),e),e.parent);return n.original=void 0,kC(n,ht(t)),n;case 163:return nU.createPropertyAccessExpression(m(e.left),e.right)}}function h(e,t){return o1&&(k.push(n.createEndOfDeclarationMarker(s)),IE(k[0],8388608|v0(k[0]))),uQ(k)}(s);case 228:return n.updateClassExpression(s,GR(s.modifiers,l,yD),s.name,void 0,GR(s.heritageClauses,c,Nq),GR(s.members,c,yK));case 173:return n.updateConstructorDeclaration(s,GR(s.modifiers,l,yD),GR(s.parameters,c,wG),Gw(s.body,c,RJ));case 171:return p(n.updateMethodDeclaration(s,GR(s.modifiers,l,yD),s.asteriskToken,T.checkDefined(Gw(s.name,c,yM)),void 0,void 0,GR(s.parameters,c,wG),void 0,Gw(s.body,c,RJ)),s);case 175:return p(n.updateSetAccessorDeclaration(s,GR(s.modifiers,l,yD),T.checkDefined(Gw(s.name,c,yM)),GR(s.parameters,c,wG),Gw(s.body,c,RJ)),s);case 174:return p(n.updateGetAccessorDeclaration(s,GR(s.modifiers,l,yD),T.checkDefined(Gw(s.name,c,yM)),GR(s.parameters,c,wG),void 0,Gw(s.body,c,RJ)),s);case 169:return function(e){if(!(16777216&e.flags||S3(e,2)))return p(n.updatePropertyDeclaration(e,GR(e.modifiers,l,yD),T.checkDefined(Gw(e.name,c,yM)),void 0,void 0,Gw(e.initializer,c,gp)),e)}(s);case 166:let d;return(d=n.updateParameterDeclaration(s,Ow(n,s.modifiers),s.dotDotDotToken,T.checkDefined(Gw(s.name,c,yP)),void 0,void 0,Gw(s.initializer,c,gp)))!==s&&(IN(d,s),OV(d,AZ(s)),IL(d,AZ(s)),IE(d.name,64)),d;default:return GB(s,c,e)}}function d(e){return!!(536870912&e.transformFlags)}function u(e){return uv(e,d)}function _(e,t){let r=[];return h(r,e,!1),h(r,e,!0),function(e){for(let t of e.members){if(!OH(t))continue;let n=Bm(t,e,!0);if(uv(null==n?void 0:n.decorators,d)||uv(null==n?void 0:n.parameters,u))return!0}return!1}(e)&&(t=OV(n.createNodeArray([...t,n.createClassStaticBlockDeclaration(n.createBlock(r,!0))]),t),r=void 0),{decorationStatements:r,members:t}}function p(e,t){return e!==t&&(IN(e,t),IL(e,AZ(t))),e}function f(e){return I9(e.expression,"___metadata")}function m(e){if(!e)return;let{false:t,true:n}=_o(e.decorators,f),r=[];return uP(r,un(t,y)),uP(r,uo(e.parameters,g)),uP(r,un(n,y)),r}function h(e,t,i){uP(e,un(function(e,t){let i;for(let a of d9(e.members,n=>EF(!0,n,e)&&t===S5(n)))i=uD(i,function(e,t){let i=m(Bm(t,e,!0));if(!i)return;let a=S5(t)?n.getDeclarationName(e):n.createPropertyAccessExpression(n.getDeclarationName(e),"prototype"),s=function(e,t){let r=e.name;return wE(r)?n.createIdentifier(""):wP(r)?t&&!Br(r.expression)?n.getGeneratedNameForNode(r):r.expression:wb(r)?n.createStringLiteral(hi(r)):n.cloneNode(r)}(t,!S3(t,2)),l=o>0?wV(t)&&!An(t)?n.createVoidZero():n.createNull():void 0,c=r().createDecorateHelper(i,a,s,l);return IE(c,3072),IL(c,AZ(t)),c}(e,a));return i}(t,i),e=>n.createExpressionStatement(e)))}function y(e){return T.checkDefined(Gw(e.expression,c,gp))}function g(e,t){let n;if(e)for(let i of(n=[],e)){let e=r().createParamHelper(y(i),t);OV(e,i.expression),IE(e,3072),n.push(e)}return n}}var Bj=dj({"src/compiler/transformers/legacyDecorators.ts"(){Kr()}});function BH(e){let t,n,r,i,a,o;let{factory:s,getEmitHelperFactory:l,startLexicalEnvironment:c,endLexicalEnvironment:d,hoistVariableDeclaration:u}=e;return G3(e,function(n){t=void 0,o=!1;let r=GB(n,v,e);return IH(r,e.readEmitHelpers()),o&&(IS(r,32),o=!1),r});function _(){switch(n=void 0,r=void 0,i=void 0,null==t?void 0:t.kind){case"class":n=t.classInfo;break;case"class-element":n=t.next.classInfo,r=t.classThis,i=t.classSuper;break;case"name":let e=t.next.next.next;(null==e?void 0:e.kind)==="class-element"&&(n=e.next.classInfo,r=e.classThis,i=e.classSuper)}}function p(e){t={kind:"class",next:t,classInfo:e,savedPendingExpressions:a},a=void 0,_()}function f(){T.assert((null==t?void 0:t.kind)==="class","Incorrect value for top.kind.",()=>`Expected top.kind to be 'class' but got '${null==t?void 0:t.kind}' instead.`),a=t.savedPendingExpressions,t=t.next,_()}function m(e){var n,r;T.assert((null==t?void 0:t.kind)==="class","Incorrect value for top.kind.",()=>`Expected top.kind to be 'class' but got '${null==t?void 0:t.kind}' instead.`),t={kind:"class-element",next:t},(wK(e)||wV(e)&&S7(e))&&(t.classThis=null==(n=t.next.classInfo)?void 0:n.classThis,t.classSuper=null==(r=t.next.classInfo)?void 0:r.classSuper),_()}function h(){var e;T.assert((null==t?void 0:t.kind)==="class-element","Incorrect value for top.kind.",()=>`Expected top.kind to be 'class-element' but got '${null==t?void 0:t.kind}' instead.`),T.assert((null==(e=t.next)?void 0:e.kind)==="class","Incorrect value for top.next.kind.",()=>{var e;return`Expected top.next.kind to be 'class' but got '${null==(e=t.next)?void 0:e.kind}' instead.`}),t=t.next,_()}function y(){T.assert((null==t?void 0:t.kind)==="class-element","Incorrect value for top.kind.",()=>`Expected top.kind to be 'class-element' but got '${null==t?void 0:t.kind}' instead.`),t={kind:"name",next:t},_()}function g(){T.assert((null==t?void 0:t.kind)==="name","Incorrect value for top.kind.",()=>`Expected top.kind to be 'name' but got '${null==t?void 0:t.kind}' instead.`),t=t.next,_()}function v(n){if(!(33554432&n.transformFlags||r&&16384&n.transformFlags||r&&i&&134217728&n.transformFlags))return n;switch(n.kind){case 167:return T.fail("Use `modifierVisitor` instead.");case 260:return function(e){var t;if(I(e)){if(S3(e,1)&&S3(e,1024)){let n=null!=(t=m7(e,yW))?t:e,r=k(e,n.name?s.createStringLiteralFromNode(n.name):s.createStringLiteral("default")),i=s.createExportDefault(r);return Ih(i,e),IN(i,IR(e)),IL(i,AQ(e)),i}{T.assertIsDefined(e.name,"A class declaration that is not a default export must have a name.");let t=k(e,s.createStringLiteralFromNode(e.name)),n=GR(e.modifiers,E,yD),r=s.createVariableDeclaration(e.name,void 0,void 0,t),i=s.createVariableDeclarationList([r],1),a=s.createVariableStatement(n,i);return Ih(a,e),IN(a,IR(e)),a}}{let t=GR(e.modifiers,E,yD),n=GR(e.heritageClauses,v,Nq);p(void 0);let r=GR(e.members,x,yK);return f(),s.updateClassDeclaration(e,t,e.name,void 0,n,r)}}(n);case 228:return w(n,void 0);case 173:case 169:case 172:return T.fail("Not supported outside of a class. Use 'classElementVisitor' instead.");case 166:return function(e){let t;if(xY(e,O)){let n=ei(e.name,e.initializer),r=Gw(e.name,v,yP),i=Gw(e.initializer,e=>S(e,n),gp);t=s.updateParameterDeclaration(e,void 0,void 0,r,void 0,void 0,i)}else t=s.updateParameterDeclaration(e,void 0,e.dotDotDotToken,Gw(e.name,v,yP),void 0,void 0,Gw(e.initializer,v,gp));return t!==e&&(IN(t,e),OV(t,AZ(e)),IL(t,AZ(e)),IE(t.name,64)),t}(n);case 223:return M(n,!1);case 299:return function(t){if(xY(t,O)){let{referencedName:e,name:n}=G(t.name),r=Gw(t.initializer,t=>S(t,e),gp);return s.updatePropertyAssignment(t,n,r)}return GB(t,v,e)}(n);case 257:return function(t){if(xY(t,O)){let e=ei(t.name,t.initializer),n=Gw(t.name,v,yP),r=Gw(t.initializer,t=>S(t,e),gp);return s.updateVariableDeclaration(t,n,void 0,void 0,r)}return GB(t,v,e)}(n);case 205:return function(t){if(xY(t,O)){let e=ei(t.name,t.initializer),n=Gw(t.propertyName,v,yM),r=Gw(t.name,v,yP),i=Gw(t.initializer,t=>S(t,e),gp);return s.updateBindingElement(t,void 0,n,r,i)}return GB(t,v,e)}(n);case 274:return function(t){if(xY(t,O)){let e=s.createStringLiteral(t.isExportEquals?"":"default"),n=GR(t.modifiers,E,yD),r=Gw(t.expression,t=>S(t,e),gp);return s.updateExportAssignment(t,n,r)}return GB(t,v,e)}(n);case 108:return null!=r?r:n;case 245:return s.updateForStatement(n,Gw(n.initializer,A,gS),Gw(n.condition,v,gp),Gw(n.incrementor,A,gp),GF(n.statement,v,e));case 241:return GB(n,A,e);case 357:return F(n,!1);case 214:return z(n,!1,void 0);case 356:return q(n,!1,void 0);case 210:return function(t){if(EI(t.expression)&&r){let e=Gw(t.expression,v,gp),n=GR(t.arguments,v,gp),i=s.createFunctionCallCall(e,r,n);return Ih(i,t),OV(i,t),i}return GB(t,v,e)}(n);case 212:return function(t){if(EI(t.tag)&&r){let e=Gw(t.tag,v,gp),n=s.createFunctionBindCall(e,r,[]);Ih(n,t),OV(n,t);let i=Gw(t.template,v,go);return s.updateTaggedTemplateExpression(t,n,void 0,i)}return GB(t,v,e)}(n);case 221:case 222:return P(n,!1);case 208:return function(t){if(EI(t)&&wb(t.name)&&r&&i){let e=s.createStringLiteralFromNode(t.name),n=s.createReflectGetCall(i,e,r);return Ih(n,t.expression),OV(n,t.expression),n}return GB(t,v,e)}(n);case 209:return function(t){if(EI(t)&&r&&i){let e=Gw(t.argumentExpression,v,gp),n=s.createReflectGetCall(i,e,r);return Ih(n,t.expression),OV(n,t.expression),n}return GB(t,v,e)}(n);case 164:return U(n);case 171:case 175:case 174:case 215:case 259:{(null==t?void 0:t.kind)==="other"?(T.assert(!a),t.depth++):(t={kind:"other",next:t,depth:0,savedPendingExpressions:a},a=void 0,_());let r=GB(n,b,e);return T.assert((null==t?void 0:t.kind)==="other","Incorrect value for top.kind.",()=>`Expected top.kind to be 'other' but got '${null==t?void 0:t.kind}' instead.`),t.depth>0?(T.assert(!a),t.depth--):(a=t.savedPendingExpressions,t=t.next,_()),r}default:return GB(n,b,e)}}function b(e){if(167!==e.kind)return v(e)}function E(e){if(167!==e.kind)return e}function x(t){switch(t.kind){case 173:return function(e){let t;m(e);let r=GR(e.modifiers,E,yD),i=GR(e.parameters,v,wG);if(e.body&&n){let r=R(n.class,n);if(r){let n=[],i=s.copyPrologue(e.body.statements,n,!1,v),a=Bs(e.body.statements,i),o=a>=0?a+1:void 0;uP(n,GR(e.body.statements,v,gF,i,o?o-i:void 0)),uP(n,r),uP(n,GR(e.body.statements,v,gF,o)),Ih(t=s.createBlock(n,!0),e.body),OV(t,e.body)}}return null!=t||(t=Gw(e.body,v,RJ)),h(),s.updateConstructorDeclaration(e,r,i,t)}(t);case 171:return function(e){m(e);let{modifiers:t,name:r,descriptorName:i}=D(e,!1,n,Q);if(i){var a;return h(),N((a=GR(a=t,e=>wk(e)?e:void 0,yD),s.createGetAccessorDeclaration(a,r,[],void 0,s.createBlock([s.createReturnStatement(s.createPropertyAccessExpression(i,s.createIdentifier("value")))]))),e)}{let n=GR(e.parameters,v,wG),i=Gw(e.body,v,RJ);return h(),N(s.updateMethodDeclaration(e,t,e.asteriskToken,r,void 0,void 0,n,void 0,i),e)}}(t);case 174:return function(e){m(e);let{modifiers:t,name:r,descriptorName:i}=D(e,!1,n,Z);if(i)return h(),N(en(t,r,i),e);{let n=GR(e.parameters,v,wG),i=Gw(e.body,v,RJ);return h(),N(s.updateGetAccessorDeclaration(e,t,r,n,void 0,i),e)}}(t);case 175:return function(e){m(e);let{modifiers:t,name:r,descriptorName:i}=D(e,!1,n,ee);if(i)return h(),N(er(t,r,i),e);{let n=GR(e.parameters,v,wG),i=Gw(e.body,v,RJ);return h(),N(s.updateSetAccessorDeclaration(e,t,r,n,i),e)}}(t);case 169:return function(e){m(e),T.assert(!bd(e),"Not yet implemented.");let t=xY(e,O),{modifiers:r,name:i,referencedName:a,initializersName:o,descriptorName:_,thisArg:p}=D(e,t,n,An(e)?et:void 0);c();let f=a?Gw(e.initializer,e=>S(e,a),gp):Gw(e.initializer,v,gp);o&&(f=l().createRunInitializersHelper(null!=p?p:s.createThis(),o,null!=f?f:s.createVoidZero())),S5(e)||null==n||!n.instanceExtraInitializersName||(null==n?void 0:n.hasInjectedInstanceInitializers)||(n.hasInjectedInstanceInitializers=!0,null!=f||(f=s.createVoidZero()),f=s.createParenthesizedExpression(s.createComma(l().createRunInitializersHelper(s.createThis(),n.instanceExtraInitializersName),f))),S5(e)&&n&&f&&(n.hasStaticInitializers=!0);let y=d();if(uv(y)&&(f=s.createImmediatelyInvokedArrowFunction([...y,s.createReturnStatement(f)])),h(),An(e)&&_){let t=IR(e),n=IA(e),i=e.name,a=i,o=i;if(wP(i)&&!Br(i.expression)){let e=OF(i);if(e)a=s.updateComputedPropertyName(i,Gw(i.expression,v,gp)),o=s.updateComputedPropertyName(i,e.left);else{let e=s.createTempVariable(u);IL(e,i.expression);let t=Gw(i.expression,v,gp),n=s.createAssignment(e,t);IL(n,i.expression),a=s.updateComputedPropertyName(i,n),o=s.updateComputedPropertyName(i,e)}}let l=GR(r,e=>127!==e.kind?e:void 0,yD),c=OO(s,e,l,f);Ih(c,e),IE(c,3072),IL(c,n),IL(c.name,e.name);let d=en(l,a,_);Ih(d,e),IN(d,t),IL(d,n);let p=er(l,o,_);return Ih(p,e),IE(p,3072),IL(p,n),[c,d,p]}return N(s.updatePropertyDeclaration(e,r,i,void 0,void 0,f),e)}(t);case 172:let r;return m(t),n&&(n.hasStaticInitializers=!0),r=GB(t,v,e),h(),r;default:return v(t)}}function S(e,t){switch(e.kind){case 356:return q(e,!1,t);case 214:return z(e,!1,t);case 228:return w(e,t);default:return v(e)}}function A(e){switch(e.kind){case 221:case 222:return P(e,!0);case 223:return M(e,!0);case 357:return F(e,!0);case 214:return z(e,!0,void 0);default:return v(e)}}function L(e,t){let n;return s.createUniqueName(`${(n=e.name&&wb(e.name)&&!yL(e.name)?hi(e.name):e.name&&wE(e.name)&&!yL(e.name)?hi(e.name).slice(1):e.name&&wr(e.name)&&mA(e.name.text,99)?e.name.text:yW(e)?"class":"member",gY(e)&&(n=`get_${n}`),gX(e)&&(n=`set_${n}`),e.name&&wE(e.name)&&(n=`private_${n}`),S5(e)&&(n=`static_${n}`),"_"+n)}_${t}`,24)}function C(e,t){return s.createVariableStatement(void 0,s.createVariableDeclarationList([s.createVariableDeclaration(e,void 0,void 0,t)],1))}function k(t,n){var r,i,u,_,m;let h,y,g,b,E;c();let T=null!=(r=t.name)?r:s.getGeneratedNameForNode(t),S=function(e){let t,n;let r=!1,i=!1,a=!1;for(let o of e.members)if(yX(o)&&EF(!1,o,e)&&(S7(o)?null!=n||(n=s.createUniqueName("_staticExtraInitializers",16)):null!=t||(t=s.createUniqueName("_instanceExtraInitializers",16))),wK(o)?r=!0:wV(o)&&(S7(o)?r||(r=!!o.initializer||Ai(o)):i||(i=!bd(o))),(yk(o)||yq(o))&&S7(o)&&(a=!0),n&&t&&r&&i&&a)break;return{class:e,instanceExtraInitializersName:t,staticExtraInitializersName:n,hasStaticInitializers:r,hasNonAmbientInstanceFields:i,hasStaticPrivateClassElements:a}}(t),A=[],L=!1,k=X(Bf(t));if(k&&(S.classDecoratorsName=s.createUniqueName("_classDecorators",16),S.classDescriptorName=s.createUniqueName("_classDescriptor",16),S.classExtraInitializersName=s.createUniqueName("_classExtraInitializers",16),S.classThis=s.createUniqueName("_classThis",16),A.push(C(S.classDecoratorsName,s.createArrayLiteralExpression(k)),C(S.classDescriptorName),C(S.classExtraInitializersName,s.createArrayLiteralExpression()),C(S.classThis)),S.hasStaticPrivateClassElements&&(L=!0,o=!0)),k&&function(e){for(let t of e.members)if((wK(t)||wV(t)&&S7(t))&&134217728&t.transformFlags)return!0;return!1}(t)){let e=xT(t.heritageClauses,94),n=e&&uK(e.types),r=n&&Gw(n.expression,v,gp);if(r){S.classSuper=s.createUniqueName("_classSuper",16);let t=D3(r),i=RP(t)&&!t.name||Rx(t)&&!t.name||RS(t)?s.createComma(s.createNumericLiteral(0),r):r;A.push(C(S.classSuper,i));let a=s.updateExpressionWithTypeArguments(n,S.classSuper,void 0),o=s.updateHeritageClause(e,[a]);b=s.createNodeArray([o])}}else b=GR(t.heritageClauses,v,Nq);let I=null!=(i=S.classThis)?i:s.createThis();if(!(null==(u=m7(t,yW))?void 0:u.name)&&(k||!wr(n)||!EV(n))){let e=l().createSetFunctionNameHelper(s.createThis(),n);h=uD(h,s.createExpressionStatement(e))}p(S);let w=GR(t.members,x,yK);if(a){let t;for(let n of a)n=Gw(n,function n(r){return 16384&r.transformFlags?108===r.kind?(t||(t=s.createUniqueName("_outerThis",16),A.unshift(C(t,s.createThis()))),t):GB(r,n,e):r},gp),h=uD(h,s.createExpressionStatement(n));a=void 0}if(f(),S.instanceExtraInitializersName&&!SP(t)){let e=R(t,S);if(e){let n=xy(t),r=!!(n&&104!==D3(n.expression).kind),i=[];if(r){let e=s.createSpreadElement(s.createIdentifier("arguments")),t=s.createCallExpression(s.createSuper(),void 0,[e]);i.push(s.createExpressionStatement(t))}uP(i,e);let a=s.createBlock(i,!0);g=s.createConstructorDeclaration(void 0,[],a)}}if(S.staticExtraInitializersName&&A.push(C(S.staticExtraInitializersName,s.createArrayLiteralExpression())),S.instanceExtraInitializersName&&A.push(C(S.instanceExtraInitializersName,s.createArrayLiteralExpression())),S.memberInfos&&vl(S.memberInfos,(e,t)=>{S5(t)&&(A.push(C(e.memberDecoratorsName)),e.memberInitializersName&&A.push(C(e.memberInitializersName,s.createArrayLiteralExpression())),e.memberDescriptorName&&A.push(C(e.memberDescriptorName)))}),S.memberInfos&&vl(S.memberInfos,(e,t)=>{!S5(t)&&(A.push(C(e.memberDecoratorsName)),e.memberInitializersName&&A.push(C(e.memberInitializersName,s.createArrayLiteralExpression())),e.memberDescriptorName&&A.push(C(e.memberDescriptorName)))}),h=uP(h,S.staticNonFieldDecorationStatements),h=uP(h,S.nonStaticNonFieldDecorationStatements),h=uP(h,S.staticFieldDecorationStatements),h=uP(h,S.nonStaticFieldDecorationStatements),S.classDescriptorName&&S.classDecoratorsName&&S.classExtraInitializersName&&S.classThis){null!=h||(h=[]);let e=s.createPropertyAssignment("value",s.createThis()),n=s.createObjectLiteralExpression([e]),r=s.createAssignment(S.classDescriptorName,n),i=s.createPropertyAccessExpression(s.createThis(),"name"),a=l().createESDecorateHelper(s.createNull(),r,S.classDecoratorsName,{kind:"class",name:i},s.createNull(),S.classExtraInitializersName),o=s.createExpressionStatement(a);IL(o,AQ(t)),h.push(o);let c=s.createPropertyAccessExpression(S.classDescriptorName,"value"),d=s.createAssignment(S.classThis,c),u=s.createAssignment(T,d);h.push(s.createExpressionStatement(u))}if(S.staticExtraInitializersName){let e=l().createRunInitializersHelper(I,S.staticExtraInitializersName),n=s.createExpressionStatement(e);IL(n,null!=(_=t.name)?_:AQ(t)),h=uD(h,n)}if(S.classExtraInitializersName){let e=l().createRunInitializersHelper(I,S.classExtraInitializersName),n=s.createExpressionStatement(e);IL(n,null!=(m=t.name)?m:AQ(t)),y=uD(y,n)}h&&y&&!S.hasStaticInitializers&&(uP(h,y),y=void 0);let N=w;if(h){let e=s.createBlock(h,!0),t=s.createClassStaticBlockDeclaration(e);L&&Ix(t,32),N=[t,...N]}if(g&&(N=[...N,g]),y){let e=s.createBlock(y,!0);N=[...N,s.createClassStaticBlockDeclaration(e)]}N!==w&&(w=OV(s.createNodeArray(N),w));let D=d();if(k){E=s.createClassExpression(void 0,void 0,void 0,b,w);let e=s.createVariableDeclaration(T,void 0,void 0,E),t=s.createVariableDeclarationList([e]),n=S.classThis?s.createAssignment(T,S.classThis):T;A.push(s.createVariableStatement(void 0,t),s.createReturnStatement(n))}else E=s.createClassExpression(void 0,t.name,void 0,b,w),A.push(s.createReturnStatement(E));if(L)for(let e of(IS(E,32),E.members))(yk(e)||yq(e))&&S7(e)&&IS(e,32);return Ih(E,t),Ig(E).classThis=S.classThis,s.createImmediatelyInvokedArrowFunction(s.mergeLexicalEnvironment(A,D))}function I(e){return EB(!1,e)||EG(!1,e)}function w(e,t){if(I(e)){let n=e.name?s.createStringLiteralFromNode(e.name):null!=t?t:s.createStringLiteral(""),r=k(e,n);return Ih(r,e),r}{let t=GR(e.modifiers,E,yD),n=GR(e.heritageClauses,v,Nq);p(void 0);let r=GR(e.members,x,yK);return f(),s.updateClassExpression(e,t,e.name,void 0,n,r)}}function R(e,t){if(t.instanceExtraInitializersName&&!t.hasNonAmbientInstanceFields){let e=[];return e.push(s.createExpressionStatement(l().createRunInitializersHelper(s.createThis(),t.instanceExtraInitializersName))),e}}function N(e,t){return e!==t&&(IN(e,t),IL(e,AQ(t))),e}function D(e,t,n,r){var i,o,c,d,u,_,p;let f,m,h,v,b;if(!n){let n=GR(e.modifiers,E,yD);return y(),t?{referencedName:f,name:m}=G(e.name):m=B(e.name),g(),{modifiers:n,referencedName:f,name:m,initializersName:h,descriptorName:b,thisArg:v}}let x=X(Bm(e,n.class,!1)),S=GR(e.modifiers,E,yD);if(x){let t;let E=L(e,"decorators"),A=s.createArrayLiteralExpression(x),C=s.createAssignment(E,A),k={memberDecoratorsName:E};null!=n.memberInfos||(n.memberInfos=new Map),n.memberInfos.set(e,k),null!=a||(a=[]),a.push(C);let I=yJ(e)||yq(e)?S5(e)?null!=(i=n.staticNonFieldDecorationStatements)?i:n.staticNonFieldDecorationStatements=[]:null!=(o=n.nonStaticNonFieldDecorationStatements)?o:n.nonStaticNonFieldDecorationStatements=[]:wV(e)&&!yq(e)?S5(e)?null!=(c=n.staticFieldDecorationStatements)?c:n.staticFieldDecorationStatements=[]:null!=(d=n.nonStaticFieldDecorationStatements)?d:n.nonStaticFieldDecorationStatements=[]:T.fail(),w=wz(e)?"getter":wq(e)?"setter":wH(e)?"method":yq(e)?"accessor":wV(e)?"field":T.fail();if(wb(e.name)||wE(e.name))t={computed:!1,name:e.name};else if(xB(e.name))t={computed:!0,name:s.createStringLiteralFromNode(e.name)};else{let n=e.name.expression;xB(n)&&!wb(n)?t={computed:!0,name:s.createStringLiteralFromNode(n)}:(y(),{referencedName:f,name:m}=G(e.name),t={computed:!0,name:f},g())}let R={kind:w,name:t,static:S5(e),private:wE(e.name),access:{get:wV(e)||wz(e)||wH(e),set:wV(e)||wq(e)}},N=S5(e)?null!=(u=n.staticExtraInitializersName)?u:n.staticExtraInitializersName=s.createUniqueName("_staticExtraInitializers",16):null!=(_=n.instanceExtraInitializersName)?_:n.instanceExtraInitializersName=s.createUniqueName("_instanceExtraInitializers",16);if(yJ(e)){let t;yk(e)&&r&&(t=r(e,GR(S,e=>_E(e,wS),yD)),k.memberDescriptorName=b=L(e,"descriptor"),t=s.createAssignment(b,t));let n=l().createESDecorateHelper(s.createThis(),null!=t?t:s.createNull(),E,R,s.createNull(),N),i=s.createExpressionStatement(n);IL(i,AQ(e)),I.push(i)}else if(wV(e)){let t;h=null!=(p=k.memberInitializersName)?p:k.memberInitializersName=L(e,"initializers"),S5(e)&&(v=n.classThis),yk(e)&&An(e)&&r&&(t=r(e,void 0),k.memberDescriptorName=b=L(e,"descriptor"),t=s.createAssignment(b,t));let i=l().createESDecorateHelper(yq(e)?s.createThis():s.createNull(),null!=t?t:s.createNull(),E,R,h,N),a=s.createExpressionStatement(i);IL(a,AQ(e)),I.push(a)}}return void 0===m&&(y(),t?{referencedName:f,name:m}=G(e.name):m=B(e.name),g()),!uv(S)&&(wH(e)||wV(e))&&IE(m,1024),{modifiers:S,referencedName:f,name:m,initializersName:h,descriptorName:b,thisArg:v}}function O(e){return RP(e)&&!e.name&&I(e)}function M(t,n){if(AC(t)){let e=W(t.left),n=Gw(t.right,v,gp);return s.updateBinaryExpression(t,e,t.operatorToken,n)}if(AA(t)){if(xY(t,O)){let e=ei(t.left,t.right),n=Gw(t.left,v,gp),r=Gw(t.right,t=>S(t,e),gp);return s.updateBinaryExpression(t,n,t.operatorToken,r)}if(EI(t.left)&&r&&i){let e=Ry(t.left)?Gw(t.left.argumentExpression,v,gp):wb(t.left.name)?s.createStringLiteralFromNode(t.left.name):void 0;if(e){let a=Gw(t.right,v,gp);if(Bi(t.operatorToken.kind)){let n=e;Br(e)||(n=s.createTempVariable(u),e=s.createAssignment(n,e));let o=s.createReflectGetCall(i,n,r);Ih(o,t.left),OV(o,t.left),OV(a=s.createBinaryExpression(o,Ba(t.operatorToken.kind),a),t)}let o=n?void 0:s.createTempVariable(u);return o&&(a=s.createAssignment(o,a),OV(o,t)),Ih(a=s.createReflectSetCall(i,e,a,r),t),OV(a,t),o&&OV(a=s.createComma(a,o),t),a}}}if(27===t.operatorToken.kind){let e=Gw(t.left,A,gp),r=Gw(t.right,n?A:v,gp);return s.updateBinaryExpression(t,e,t.operatorToken,r)}return GB(t,v,e)}function P(t,n){if(45===t.operator||46===t.operator){let e=xi(t.operand);if(EI(e)&&r&&i){let a=Ry(e)?Gw(e.argumentExpression,v,gp):wb(e.name)?s.createStringLiteralFromNode(e.name):void 0;if(a){let e=a;Br(a)||(e=s.createTempVariable(u),a=s.createAssignment(e,a));let o=s.createReflectGetCall(i,e,r);Ih(o,t),OV(o,t);let l=n?void 0:s.createTempVariable(u);return o=DJ(s,t,o,u,l),Ih(o=s.createReflectSetCall(i,a,o,r),t),OV(o,t),l&&OV(o=s.createComma(o,l),t),o}}}return GB(t,v,e)}function F(e,t){let n=t?GG(e.elements,A):GG(e.elements,v,A);return s.updateCommaListExpression(e,n)}function G(e){if(xB(e)||wE(e))return{referencedName:s.createStringLiteralFromNode(e),name:Gw(e,v,yM)};if(xB(e.expression)&&!wb(e.expression))return{referencedName:s.createStringLiteralFromNode(e.expression),name:Gw(e,v,yM)};let t=s.getGeneratedNameForNode(e);u(t);let n=l().createPropKeyHelper(Gw(e.expression,v,gp)),r=s.createAssignment(t,n);return{referencedName:t,name:s.updateComputedPropertyName(e,J(r))}}function B(e){return wP(e)?U(e):Gw(e,v,yM)}function U(e){let t=Gw(e.expression,v,gp);return Br(t)||(t=J(t)),s.updateComputedPropertyName(e,t)}function V(t){if(Rm(t)||Rf(t))return W(t);if(EI(t)&&r&&i){let e=Ry(t)?Gw(t.argumentExpression,v,gp):wb(t.name)?s.createStringLiteralFromNode(t.name):void 0;if(e){let n=s.createTempVariable(void 0),a=s.createAssignmentTargetWrapper(n,s.createReflectSetCall(i,e,n,r));return Ih(a,t),OV(a,t),a}}return GB(t,v,e)}function j(e){if(!AA(e,!0))return V(e);{let t;let n=V(e.left);if(xY(e,O)){let n=ei(e.left,e.right);t=Gw(e.right,e=>S(e,n),gp)}else t=Gw(e.right,v,gp);return s.updateBinaryExpression(e,n,e.operatorToken,t)}}function H(t){return(T.assertNode(t,gt),RM(t))?function(t){if(gs(t.expression)){let e=V(t.expression);return s.updateSpreadElement(t,e)}return GB(t,v,e)}(t):RF(t)?GB(t,v,e):j(t)}function K(t){return(T.assertNode(t,y9),N$(t))?function(t){if(gs(t.expression)){let e=V(t.expression);return s.updateSpreadAssignment(t,e)}return GB(t,v,e)}(t):NY(t)?function(t){if(xY(t,O)){let e=ei(t.name,t.objectAssignmentInitializer),n=Gw(t.name,v,wb),r=Gw(t.objectAssignmentInitializer,t=>S(t,e),gp);return s.updateShorthandPropertyAssignment(t,n,r)}return GB(t,v,e)}(t):NX(t)?function(t){let n=Gw(t.name,v,yM);if(AA(t.initializer,!0)){let e=j(t.initializer);return s.updatePropertyAssignment(t,n,e)}if(gs(t.initializer)){let e=V(t.initializer);return s.updatePropertyAssignment(t,n,e)}return GB(t,v,e)}(t):GB(t,v,e)}function W(e){if(Rf(e)){let t=GR(e.elements,H,gp);return s.updateArrayLiteralExpression(e,t)}{let t=GR(e.properties,K,yZ);return s.updateObjectLiteralExpression(e,t)}}function z(e,t,n){let r=t?A:n?e=>S(e,n):v,i=Gw(e.expression,r,gp);return s.updateParenthesizedExpression(e,i)}function q(e,t,n){let r=t?A:n?e=>S(e,n):v,i=Gw(e.expression,r,gp);return s.updatePartiallyEmittedExpression(e,i)}function J(e){return uv(a)&&(RT(e)?(a.push(e.expression),e=s.updateParenthesizedExpression(e,s.inlineExpressions(a))):(a.push(e),e=s.inlineExpressions(a)),a=void 0),e}function X(e){if(!e)return;let t=[];return uP(t,un(e.decorators,Y)),t}function Y(e){let t=Gw(e.expression,v,gp);return IE(t,3072),t}function $(e,t,n,r,i,a,o){let c=s.createFunctionExpression(n,r,void 0,void 0,a,void 0,null!=o?o:s.createBlock([]));Ih(c,e),IL(c,AQ(e)),IE(c,3072);let d="get"===i||"set"===i?i:void 0,u=s.createStringLiteralFromNode(t,void 0),_=l().createSetFunctionNameHelper(c,u,d),p=s.createPropertyAssignment(s.createIdentifier(i),_);return Ih(p,e),IL(p,AQ(e)),IE(p,3072),p}function Q(e,t){return s.createObjectLiteralExpression([$(e,e.name,t,e.asteriskToken,"value",GR(e.parameters,v,wG),Gw(e.body,v,RJ))])}function Z(e,t){return s.createObjectLiteralExpression([$(e,e.name,t,void 0,"get",[],Gw(e.body,v,RJ))])}function ee(e,t){return s.createObjectLiteralExpression([$(e,e.name,t,void 0,"set",GR(e.parameters,v,wG),Gw(e.body,v,RJ))])}function et(e,t){return s.createObjectLiteralExpression([$(e,e.name,t,void 0,"get",[],s.createBlock([s.createReturnStatement(s.createPropertyAccessExpression(s.createThis(),s.getGeneratedPrivateNameForNode(e.name)))])),$(e,e.name,t,void 0,"set",[s.createParameterDeclaration(void 0,void 0,"value")],s.createBlock([s.createExpressionStatement(s.createAssignment(s.createPropertyAccessExpression(s.createThis(),s.getGeneratedPrivateNameForNode(e.name)),s.createIdentifier("value")))]))])}function en(e,t,n){return e=GR(e,e=>wk(e)?e:void 0,yD),s.createGetAccessorDeclaration(e,t,[],void 0,s.createBlock([s.createReturnStatement(s.createFunctionCallCall(s.createPropertyAccessExpression(n,s.createIdentifier("get")),s.createThis(),[]))]))}function er(e,t,n){return e=GR(e,e=>wk(e)?e:void 0,yD),s.createSetAccessorDeclaration(e,t,[s.createParameterDeclaration(void 0,void 0,"value")],s.createBlock([s.createReturnStatement(s.createFunctionCallCall(s.createPropertyAccessExpression(n,s.createIdentifier("set")),s.createThis(),[s.createIdentifier("value")]))]))}function ei(e,t){let n=m7(t,yW);return n&&!n.name&&S3(n,1024)?s.createStringLiteral("default"):s.createStringLiteralFromNode(e)}}var BK=dj({"src/compiler/transformers/esDecorators.ts"(){Kr()}});function BW(e){let t,n,r,i;let{factory:a,getEmitHelperFactory:o,resumeLexicalEnvironment:s,endLexicalEnvironment:l,hoistVariableDeclaration:c}=e,d=e.getEmitResolver(),u=e.getCompilerOptions(),_=Ct(u),p=0,f=[],m=0,h=e.onEmitNode,y=e.onSubstituteNode;return e.onEmitNode=function(e,n,r){let i;if(1&t&&(260===(i=n.kind)||173===i||171===i||174===i||175===i)){let t=384&d.getNodeCheckFlags(n);if(t!==p){let i=p;p=t,h(e,n,r),p=i;return}}else if(t&&f[Gv(n)]){let t=p;p=0,h(e,n,r),p=t;return}h(e,n,r)},e.onSubstituteNode=function(e,t){return(t=y(e,t),1===e&&p)?function(e){switch(e.kind){case 208:return B(e);case 209:return U(e);case 210:return function(e){let t=e.expression;if(EI(t)){let n=Rh(t)?B(t):U(t);return a.createCallExpression(a.createPropertyAccessExpression(n,"call"),void 0,[a.createThis(),...e.arguments])}return e}(e)}return e}(t):t},G3(e,function(t){if(t.isDeclarationFile)return t;g(1,!1),g(2,!bc(t,u));let n=GB(t,E,e);return IH(n,e.readEmitHelpers()),n});function g(e,t){m=t?m|e:m&~e}function v(e,t,n){let r=e&~m;if(r){g(r,!0);let e=t(n);return g(r,!1),e}return t(n)}function b(t){return GB(t,E,e)}function E(t){if((256&t.transformFlags)==0)return t;switch(t.kind){case 132:return;case 220:return(1&m)!=0?Ih(OV(a.createYieldExpression(void 0,Gw(t.expression,E,gp)),t),t):GB(t,E,e);case 171:return v(3,A,t);case 259:return v(3,k,t);case 215:return v(3,I,t);case 216:return v(1,w,t);case 208:return r&&Rh(t)&&106===t.expression.kind&&r.add(t.name.escapedText),GB(t,E,e);case 209:return r&&106===t.expression.kind&&(i=!0),GB(t,E,e);case 174:return v(3,L,t);case 175:return v(3,C,t);case 173:return v(3,S,t);case 260:case 228:return v(3,b,t);default:return GB(t,E,e)}}function x(t){if(T5(t))switch(t.kind){case 240:return function(t){if(N(t.declarationList)){let e=D(t.declarationList,!1);return e?a.createExpressionStatement(e):void 0}return GB(t,E,e)}(t);case 245:let r;return r=t.initializer,a.updateForStatement(t,N(r)?D(r,!1):Gw(t.initializer,E,gS),Gw(t.condition,E,gp),Gw(t.incrementor,E,gp),GF(t.statement,x,e));case 246:return a.updateForInStatement(t,N(t.initializer)?D(t.initializer,!0):T.checkDefined(Gw(t.initializer,E,gS)),T.checkDefined(Gw(t.expression,E,gp)),GF(t.statement,x,e));case 247:return a.updateForOfStatement(t,Gw(t.awaitModifier,E,wL),N(t.initializer)?D(t.initializer,!0):T.checkDefined(Gw(t.initializer,E,gS)),T.checkDefined(Gw(t.expression,E,gp)),GF(t.statement,x,e));case 295:return function(t){let r;let i=new Set;if(R(t.variableDeclaration,i),i.forEach((e,t)=>{n.has(t)&&(r||(r=new Set(n)),r.delete(t))}),!r)return GB(t,x,e);{let i=n;n=r;let a=GB(t,x,e);return n=i,a}}(t);case 238:case 252:case 266:case 292:case 293:case 255:case 243:case 244:case 242:case 251:case 253:return GB(t,x,e);default:return T.assertNever(t,"Unhandled node.")}return E(t)}function S(t){return a.updateConstructorDeclaration(t,GR(t.modifiers,E,yD),GM(t.parameters,E,e),M(t))}function A(t){return a.updateMethodDeclaration(t,GR(t.modifiers,E,yY),t.asteriskToken,t.name,void 0,void 0,GM(t.parameters,E,e),void 0,2&xN(t)?P(t):M(t))}function L(t){return a.updateGetAccessorDeclaration(t,GR(t.modifiers,E,yY),t.name,GM(t.parameters,E,e),void 0,M(t))}function C(t){return a.updateSetAccessorDeclaration(t,GR(t.modifiers,E,yY),t.name,GM(t.parameters,E,e),M(t))}function k(t){return a.updateFunctionDeclaration(t,GR(t.modifiers,E,yY),t.asteriskToken,t.name,void 0,GM(t.parameters,E,e),void 0,2&xN(t)?P(t):GP(t.body,E,e))}function I(t){return a.updateFunctionExpression(t,GR(t.modifiers,E,yD),t.asteriskToken,t.name,void 0,GM(t.parameters,E,e),void 0,2&xN(t)?P(t):GP(t.body,E,e))}function w(t){return a.updateArrowFunction(t,GR(t.modifiers,E,yD),void 0,GM(t.parameters,E,e),void 0,t.equalsGreaterThanToken,2&xN(t)?P(t):GP(t.body,E,e))}function R({name:e},t){if(wb(e))t.add(e.escapedText);else for(let n of e.elements)RF(n)||R(n,t)}function N(e){return!!e&&Ni(e)&&!(3&e.flags)&&e.declarations.some(function e({name:t}){if(wb(t))return n.has(t.escapedText);for(let n of t.elements)if(!RF(n)&&e(n))return!0;return!1})}function D(e,t){dz(e.declarations,function e({name:t}){if(wb(t))c(t);else for(let n of t.elements)RF(n)||e(n)});let n=La(e);return 0===n.length?t?Gw(a.converters.convertToAssignmentElementTarget(e.declarations[0].name),E,gp):void 0:a.inlineExpressions(un(n,O))}function O(e){let t=IL(a.createAssignment(a.converters.convertToAssignmentElementTarget(e.name),e.initializer),e);return T.checkDefined(Gw(t,E,gp))}function M(t){T.assertIsDefined(t.body);let n=r,o=i;r=new Set,i=!1;let s=GP(t.body,E,e),l=m7(t,yB);if(_>=2&&384&d.getNodeCheckFlags(t)&&(3&xN(l))!=3){if(G(),r.size){let e=Bz(a,d,t,r);f[Gv(e)]=!0;let n=s.statements.slice();vB(n,[e]),s=a.updateBlock(s,n)}i&&(256&d.getNodeCheckFlags(t)?Ij(s,rp):128&d.getNodeCheckFlags(t)&&Ij(s,r_))}return r=n,i=o,s}function P(e){let t;s();let c=m7(e,yF).type,u=_<2?function(e){let t=e&&ED(e);if(t&&yO(t)){let e=d.getTypeReferenceSerializationKind(t);if(1===e||0===e)return t}}(c):void 0,p=216===e.kind,h=(512&d.getNodeCheckFlags(e))!=0,y=n;for(let t of(n=new Set,e.parameters))R(t,n);let g=r,v=i;if(p||(r=new Set,i=!1),p){let n=o().createAwaiterHelper((2&m)!=0,h,u,F(e.body)),r=l();if(uv(r)){let e=a.converters.convertToFunctionBlock(n);t=a.updateBlock(e,OV(a.createNodeArray(uE(r,e.statements)),e.statements))}else t=n}else{let n=[],s=a.copyPrologue(e.body.statements,n,!1,E);n.push(a.createReturnStatement(o().createAwaiterHelper((2&m)!=0,h,u,F(e.body,s)))),vB(n,l());let c=_>=2&&384&d.getNodeCheckFlags(e);if(c&&(G(),r.size)){let t=Bz(a,d,e,r);f[Gv(t)]=!0,vB(n,[t])}let p=a.createBlock(n,!0);OV(p,e.body),c&&i&&(256&d.getNodeCheckFlags(e)?Ij(p,rp):128&d.getNodeCheckFlags(e)&&Ij(p,r_)),t=p}return n=y,p||(r=g,i=v),t}function F(e,t){return RJ(e)?a.updateBlock(e,GR(e.statements,x,gF,t)):a.converters.convertToFunctionBlock(T.checkDefined(Gw(e,x,gT)))}function G(){(1&t)==0&&(t|=1,e.enableSubstitution(210),e.enableSubstitution(208),e.enableSubstitution(209),e.enableEmitNotification(260),e.enableEmitNotification(171),e.enableEmitNotification(174),e.enableEmitNotification(175),e.enableEmitNotification(173),e.enableEmitNotification(240))}function B(e){return 106===e.expression.kind?OV(a.createPropertyAccessExpression(a.createUniqueName("_super",48),e.name),e):e}function U(e){var t;return 106===e.expression.kind?(t=e.argumentExpression,256&p?OV(a.createPropertyAccessExpression(a.createCallExpression(a.createUniqueName("_superIndex",48),void 0,[t]),"value"),e):OV(a.createCallExpression(a.createUniqueName("_superIndex",48),void 0,[t]),e)):e}}function Bz(e,t,n,r){let i=(256&t.getNodeCheckFlags(n))!=0,a=[];return r.forEach((t,n)=>{let r=hr(n),o=[];o.push(e.createPropertyAssignment("get",e.createArrowFunction(void 0,void 0,[],void 0,void 0,IE(e.createPropertyAccessExpression(IE(e.createSuper(),8),r),8)))),i&&o.push(e.createPropertyAssignment("set",e.createArrowFunction(void 0,void 0,[e.createParameterDeclaration(void 0,void 0,"v",void 0,void 0,void 0)],void 0,void 0,e.createAssignment(IE(e.createPropertyAccessExpression(IE(e.createSuper(),8),r),8),e.createIdentifier("v"))))),a.push(e.createPropertyAssignment(r,e.createObjectLiteralExpression(o)))}),e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.createUniqueName("_super",48),void 0,void 0,e.createCallExpression(e.createPropertyAccessExpression(e.createIdentifier("Object"),"create"),void 0,[e.createNull(),e.createObjectLiteralExpression(a,!0)]))],2))}var Bq=dj({"src/compiler/transformers/es2017.ts"(){Kr()}});function BJ(e){let t,n,r,i,a,o,s;let{factory:l,getEmitHelperFactory:c,resumeLexicalEnvironment:d,endLexicalEnvironment:u,hoistVariableDeclaration:_}=e,p=e.getEmitResolver(),f=e.getCompilerOptions(),m=Ct(f),h=e.onEmitNode;e.onEmitNode=function(e,n,r){let i;if(1&t&&(260===(i=n.kind)||173===i||171===i||174===i||175===i)){let t=384&p.getNodeCheckFlags(n);if(t!==v){let i=v;v=t,h(e,n,r),v=i;return}}else if(t&&E[Gv(n)]){let t=v;v=0,h(e,n,r),v=t;return}h(e,n,r)};let y=e.onSubstituteNode;e.onSubstituteNode=function(e,t){return(t=y(e,t),1===e&&v)?function(e){switch(e.kind){case 208:return J(e);case 209:return X(e);case 210:return function(e){let t=e.expression;if(EI(t)){let n=Rh(t)?J(t):X(t);return l.createCallExpression(l.createPropertyAccessExpression(n,"call"),void 0,[l.createThis(),...e.arguments])}return e}(e)}return e}(t):t};let g=!1,v=0,b=0,E=[];return G3(e,function(t){let n,r,o,s;if(t.isDeclarationFile)return t;i=t;let c=(n=x(2,bc(t,f)?0:1),g=!1,o=uE((r=GB(t,A,e)).statements,a&&[l.createVariableStatement(void 0,l.createVariableDeclarationList(a))]),s=l.updateSourceFile(r,OV(l.createNodeArray(o),t.statements)),b=n,s);return IH(c,e.readEmitHelpers()),i=void 0,a=void 0,c});function x(e,t){let n=b;return b=(b&~e|t)&3,n}function S(e){a=uD(a,l.createVariableDeclaration(e))}function A(e){return w(e,!1)}function L(e){return w(e,!0)}function C(e){if(132!==e.kind)return e}function k(e,t,n,r){if(b!==(b&~n|r)){let i=x(n,r),a=e(t);return b=i,a}return e(t)}function I(t){return GB(t,A,e)}function w(t,r){if((128&t.transformFlags)==0)return t;switch(t.kind){case 220:return 2&n&&1&n?Ih(OV(l.createYieldExpression(void 0,c().createAwaitHelper(Gw(t.expression,A,gp))),t),t):GB(t,A,e);case 226:return function(t){if(2&n&&1&n){if(t.asteriskToken){let e=Gw(T.checkDefined(t.expression),A,gp);return Ih(OV(l.createYieldExpression(void 0,c().createAwaitHelper(l.updateYieldExpression(t,t.asteriskToken,OV(c().createAsyncDelegatorHelper(OV(c().createAsyncValuesHelper(e),e)),e)))),t),t)}return Ih(OV(l.createYieldExpression(void 0,O(t.expression?Gw(t.expression,A,gp):l.createVoidZero())),t),t)}return GB(t,A,e)}(t);case 250:return 2&n&&1&n?l.updateReturnStatement(t,O(t.expression?Gw(t.expression,A,gp):l.createVoidZero())):GB(t,A,e);case 253:return function(t){if(2&n){let e=Eo(t);return 247===e.kind&&e.awaitModifier?D(e,t):l.restoreEnclosingLabel(Gw(e,A,gF,l.liftToBlock),t)}return GB(t,A,e)}(t);case 207:return function(t){if(65536&t.transformFlags){let e=function(e){let t;let n=[];for(let r of e)if(301===r.kind){t&&(n.push(l.createObjectLiteralExpression(t)),t=void 0);let e=r.expression;n.push(Gw(e,A,gp))}else t=uD(t,299===r.kind?l.createPropertyAssignment(r.name,Gw(r.initializer,A,gp)):Gw(r,A,yZ));return t&&n.push(l.createObjectLiteralExpression(t)),n}(t.properties);e.length&&207!==e[0].kind&&e.unshift(l.createObjectLiteralExpression());let n=e[0];if(!(e.length>1))return c().createAssignHelper(e);for(let t=1;t=2&&384&p.getNodeCheckFlags(n);if(h){(1&t)==0&&(t|=1,e.enableSubstitution(210),e.enableSubstitution(208),e.enableSubstitution(209),e.enableEmitNotification(260),e.enableEmitNotification(171),e.enableEmitNotification(174),e.enableEmitNotification(175),e.enableEmitNotification(173),e.enableEmitNotification(240));let i=Bz(l,p,n,o);E[Gv(i)]=!0,vB(r,[i])}r.push(f),vB(r,u());let y=l.updateBlock(n.body,r);return h&&s&&(256&p.getNodeCheckFlags(n)?Ij(y,rp):128&p.getNodeCheckFlags(n)&&Ij(y,r_)),o=a,s=_,y}function z(e){var t;d();let n=0,r=[],i=null!=(t=Gw(e.body,A,gT))?t:l.createBlock([]);RJ(i)&&(n=l.copyPrologue(i.statements,r,!1,A)),uP(r,q(void 0,e));let a=u();if(n>0||uv(r)||uv(a)){let e=l.converters.convertToFunctionBlock(i,!0);return vB(r,a),uP(r,e.statements.slice(n)),l.updateBlock(e,OV(l.createNodeArray(r),e.statements))}return i}function q(t,n){let r=!1;for(let i of n.parameters)if(r){if(y2(i.name)){if(i.name.elements.length>0){let n=BL(i,A,e,0,l.getGeneratedNameForNode(i));if(uv(n)){let e=l.createVariableDeclarationList(n),r=l.createVariableStatement(void 0,e);IE(r,2097152),t=uD(t,r)}}else if(i.initializer){let e=l.getGeneratedNameForNode(i),n=Gw(i.initializer,A,gp),r=l.createAssignment(e,n),a=l.createExpressionStatement(r);IE(a,2097152),t=uD(t,a)}}else if(i.initializer){let e=l.cloneNode(i.name);OV(e,i.name),IE(e,96);let n=Gw(i.initializer,A,gp);IT(n,3168);let r=l.createAssignment(e,n);OV(r,i),IE(r,3072);let a=l.createBlock([l.createExpressionStatement(r)]);OV(a,i),IE(a,3905);let o=l.createTypeCheck(l.cloneNode(i.name),"undefined"),s=l.createIfStatement(o,a);D9(s),OV(s,i),IE(s,2101056),t=uD(t,s)}}else if(65536&i.transformFlags){r=!0;let n=BL(i,A,e,1,l.getGeneratedNameForNode(i),!1,!0);if(uv(n)){let e=l.createVariableDeclarationList(n),r=l.createVariableStatement(void 0,e);IE(r,2097152),t=uD(t,r)}}return t}function J(e){return 106===e.expression.kind?OV(l.createPropertyAccessExpression(l.createUniqueName("_super",48),e.name),e):e}function X(e){var t;return 106===e.expression.kind?(t=e.argumentExpression,256&v?OV(l.createPropertyAccessExpression(l.createCallExpression(l.createIdentifier("_superIndex"),void 0,[t]),"value"),e):OV(l.createCallExpression(l.createIdentifier("_superIndex"),void 0,[t]),e)):e}}var BX=dj({"src/compiler/transformers/es2018.ts"(){Kr()}});function BY(e){let t=e.factory;return G3(e,function(t){return t.isDeclarationFile?t:GB(t,n,e)});function n(r){return(64&r.transformFlags)==0?r:295===r.kind?r.variableDeclaration?GB(r,n,e):t.updateCatchClause(r,t.createVariableDeclaration(t.createTempVariable(void 0)),Gw(r.block,n,RJ)):GB(r,n,e)}}var B$=dj({"src/compiler/transformers/es2019.ts"(){Kr()}});function BQ(e){let{factory:t,hoistVariableDeclaration:n}=e;return G3(e,function(t){return t.isDeclarationFile?t:GB(t,r,e)});function r(i){if((32&i.transformFlags)==0)return i;switch(i.kind){case 210:{let e=a(i,!1);return T.assertNotNode(e,Nw),e}case 208:case 209:if(h3(i)){let e=s(i,!1,!1);return T.assertNotNode(e,Nw),e}return GB(i,r,e);case 223:if(60===i.operatorToken.kind){let e,a;return a=e=Gw(i.left,r,gp),Bn(e)||(a=t.createTempVariable(n),e=t.createAssignment(a,e)),OV(t.createConditionalExpression(l(e,a),void 0,a,void 0,Gw(i.right,r,gp)),i)}return GB(i,r,e);case 217:return h3(xi(i.expression))?Ih(o(i.expression,!1,!0),i):t.updateDeleteExpression(i,Gw(i.expression,r,gp));default:return GB(i,r,e)}}function i(e,n,r){let i=o(e.expression,n,r);return Nw(i)?t.createSyntheticReferenceExpression(t.updateParenthesizedExpression(e,i.expression),i.thisArg):t.updateParenthesizedExpression(e,i)}function a(n,a){if(h3(n))return s(n,a,!1);if(RT(n.expression)&&h3(xi(n.expression))){let e=i(n.expression,!0,!1),a=GR(n.arguments,r,gp);return Nw(e)?OV(t.createFunctionCallCall(e.expression,e.thisArg,a),n):t.updateCallExpression(n,e,void 0,a)}return GB(n,r,e)}function o(e,o,l){switch(e.kind){case 214:return i(e,o,l);case 208:case 209:return function(e,i,a){let o;if(h3(e))return s(e,i,a);let l=Gw(e.expression,r,gp);return T.assertNotNode(l,Nw),i&&(Bn(l)?o=l:(o=t.createTempVariable(n),l=t.createAssignment(o,l))),l=208===e.kind?t.updatePropertyAccessExpression(e,l,Gw(e.name,r,wb)):t.updateElementAccessExpression(e,l,Gw(e.argumentExpression,r,gp)),o?t.createSyntheticReferenceExpression(l,o):l}(e,o,l);case 210:return a(e,o);default:return Gw(e,r,gp)}}function s(e,i,a){let s;let{expression:c,chain:d}=function(e){T.assertNotNode(e,yr);let t=[e];for(;!e.questionDotToken&&!Rb(e);)e=_T(yn(e.expression),h3),T.assertNotNode(e,yr),t.unshift(e);return{expression:e.expression,chain:t}}(e),u=o(yn(c),h6(d[0]),!1),_=Nw(u)?u.thisArg:void 0,p=Nw(u)?u.expression:u,f=t.restoreOuterExpressions(c,p,8);Bn(p)||(p=t.createTempVariable(n),f=t.createAssignment(p,f));let m=p;for(let e=0;er.createBindingElement(void 0,e.propertyName,e.name))),void 0,void 0,r.createCallExpression(r.createIdentifier("require"),void 0,[r.createStringLiteral(e)]))],2));kI(n,!1),s=vj(s.slice(),n)}}return s!==o.statements&&(o=r.updateSourceFile(o,s)),n=void 0,o});function s(e){var t,i;let o="createElement"===e?n.importSpecifier:Cw(n.importSpecifier,a),s=null==(i=null==(t=n.utilizedImplicitRuntimeImports)?void 0:t.get(o))?void 0:i.get(e);if(s)return s.name;n.utilizedImplicitRuntimeImports||(n.utilizedImplicitRuntimeImports=new Map);let l=n.utilizedImplicitRuntimeImports.get(o);l||(l=new Map,n.utilizedImplicitRuntimeImports.set(o,l));let c=r.createUniqueName(`_${e}`,112),d=r.createImportSpecifier(!1,r.createIdentifier(e),c);return I2(c,d),l.set(e,d),c}function l(t){return 2&t.transformFlags?function(t){switch(t.kind){case 281:return u(t,!1);case 282:return _(t,!1);case 285:return p(t,!1);case 291:return L(t);default:return GB(t,l,e)}}(t):t}function c(e){switch(e.kind){case 11:let t;return void 0===(t=function(e){let t;let n=0,r=-1;for(let i=0;i!!e.name&&wb(e.name)&&"key"===e.name.escapedText),c=l?d9(e.attributes.properties,e=>e!==l):e.attributes.properties;return h(a,dW(c)?g(c,s):r.createObjectLiteralExpression(s?[s]:o),l,t||o,n,i)}function h(e,i,o,l,c,d){var u;let _=x9(l),p=dW(_)>1||!!(null==(u=_[0])?void 0:u.dotDotDotToken),f=[e,i];if(o&&f.push(E(o.initializer)),5===a.jsx){let e=m7(t);if(e&&N0(e)){void 0===o&&f.push(r.createVoidZero()),f.push(p?r.createTrue():r.createFalse());let i=mt(e,d.pos);f.push(r.createObjectLiteralExpression([r.createPropertyAssignment("fileName",function(){if(n.filenameDeclaration)return n.filenameDeclaration.name;let e=r.createVariableDeclaration(r.createUniqueName("_jsxFileName",48),void 0,void 0,r.createStringLiteral(t.fileName));return n.filenameDeclaration=e,n.filenameDeclaration.name}()),r.createPropertyAssignment("lineNumber",r.createNumericLiteral(i.line+1)),r.createPropertyAssignment("columnNumber",r.createNumericLiteral(i.character+1))])),f.push(r.createThis())}}let m=OV(r.createCallExpression(s(5===a.jsx?"jsxDEV":p?"jsxs":"jsx"),void 0,f),d);return c&&D9(m),m}function y(i,o,l,d){let u=A(i),_=i.attributes.properties,p=dW(_)?g(_):r.createNull(),f=void 0===n.importSpecifier?DU(r,e.getEmitResolver().getJsxFactoryEntity(t),a.reactNamespace,i):s("createElement"),m=DV(r,f,u,p,uu(o,c),d);return l&&D9(m),m}function g(e,t){let n,o,s=Ct(a);return s&&s>=5?r.createObjectLiteralExpression((n=ua(uy(e,NH,(e,t)=>un(e,e=>t?r.createSpreadAssignment(T.checkDefined(Gw(e.expression,l,gp))):b(e)))),t&&n.push(t),n)):(o=ua(uy(e,NH,(e,t)=>t?un(e,v):r.createObjectLiteralExpression(un(e,b)))),NH(e[0])&&o.unshift(r.createObjectLiteralExpression()),t&&o.push(r.createObjectLiteralExpression([t])),uY(o)||i().createAssignHelper(o))}function v(e){return T.checkDefined(Gw(e.expression,l,gp))}function b(e){let t,n;let i=(n=hi(t=e.name),/^[A-Za-z_]\w*$/.test(n)?t:r.createStringLiteral(n)),a=E(e.initializer);return r.createPropertyAssignment(i,a)}function E(e){if(void 0===e)return r.createTrue();if(10===e.kind){var n;let i;let a=void 0!==e.singleQuote?e.singleQuote:!Tt(e,t);return OV(r.createStringLiteral(((i=S(n=e.text))===n?void 0:i)||e.text,a),e)}return 291===e.kind?void 0===e.expression?r.createTrue():T.checkDefined(Gw(e.expression,l,gp)):NO(e)?u(e,!1):NM(e)?_(e,!1):NG(e)?p(e,!1):T.failBadSyntaxKind(e)}function x(e,t){let n=S(t);return void 0===e?n:e+" "+n}function S(e){return e.replace(/&((#((\d+)|x([\da-fA-F]+)))|(\w+));/g,(e,t,n,r,i,a,o)=>{var s,l;if(i)return s=parseInt(i,10),tV(s);if(a)return l=parseInt(a,16),tV(l);{let t=iP.get(o);return t?tV(t):e}})}function A(e){if(281===e.kind)return A(e.openingElement);{let t=e.tagName;return wb(t)&&Sc(t.escapedText)?r.createStringLiteral(hi(t)):DW(r,t)}}function L(e){let t=Gw(e.expression,l,gp);return e.dotDotDotToken?r.createSpreadElement(t):t}}var B6=dj({"src/compiler/transformers/jsx.ts"(){Kr(),iP=new Map(Object.entries({quot:34,amp:38,apos:39,lt:60,gt:62,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,copy:169,ordf:170,laquo:171,not:172,shy:173,reg:174,macr:175,deg:176,plusmn:177,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,sup1:185,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,Agrave:192,Aacute:193,Acirc:194,Atilde:195,Auml:196,Aring:197,AElig:198,Ccedil:199,Egrave:200,Eacute:201,Ecirc:202,Euml:203,Igrave:204,Iacute:205,Icirc:206,Iuml:207,ETH:208,Ntilde:209,Ograve:210,Oacute:211,Ocirc:212,Otilde:213,Ouml:214,times:215,Oslash:216,Ugrave:217,Uacute:218,Ucirc:219,Uuml:220,Yacute:221,THORN:222,szlig:223,agrave:224,aacute:225,acirc:226,atilde:227,auml:228,aring:229,aelig:230,ccedil:231,egrave:232,eacute:233,ecirc:234,euml:235,igrave:236,iacute:237,icirc:238,iuml:239,eth:240,ntilde:241,ograve:242,oacute:243,ocirc:244,otilde:245,ouml:246,divide:247,oslash:248,ugrave:249,uacute:250,ucirc:251,uuml:252,yacute:253,thorn:254,yuml:255,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830}))}});function B3(e){let{factory:t,hoistVariableDeclaration:n}=e;return G3(e,function(t){return t.isDeclarationFile?t:GB(t,r,e)});function r(i){return(512&i.transformFlags)==0?i:223===i.kind?function(i){switch(i.operatorToken.kind){case 67:return function(e){let i,a;let o=Gw(e.left,r,gp),s=Gw(e.right,r,gp);if(Ry(o)){let e=t.createTempVariable(n),r=t.createTempVariable(n);i=OV(t.createElementAccessExpression(OV(t.createAssignment(e,o.expression),o.expression),OV(t.createAssignment(r,o.argumentExpression),o.argumentExpression)),o),a=OV(t.createElementAccessExpression(e,r),o)}else if(Rh(o)){let e=t.createTempVariable(n);i=OV(t.createPropertyAccessExpression(OV(t.createAssignment(e,o.expression),o.expression),o.name),o),a=OV(t.createPropertyAccessExpression(e,o.name),o)}else i=o,a=o;return OV(t.createAssignment(i,OV(t.createGlobalMethodCall("Math","pow",[a,s]),e)),e)}(i);case 42:let a,o;return a=Gw(i.left,r,gp),o=Gw(i.right,r,gp),OV(t.createGlobalMethodCall("Math","pow",[a,o]),i);default:return GB(i,r,e)}}(i):GB(i,r,e)}}var B5=dj({"src/compiler/transformers/es2016.ts"(){Kr()}});function B7(e,t){return{kind:e,expression:t}}function B9(e){let t,n,r,i,a,s;let{factory:l,getEmitHelperFactory:c,startLexicalEnvironment:u,resumeLexicalEnvironment:_,endLexicalEnvironment:p,hoistVariableDeclaration:f}=e,m=e.getCompilerOptions(),h=e.getEmitResolver(),y=e.onSubstituteNode,g=e.onEmitNode;function v(e){i=uD(i,l.createVariableDeclaration(e))}return e.onEmitNode=function(e,t,n){if(1&s&&yF(t)){let r=b(32670,16&v0(t)?81:65);g(e,t,n),E(r,0,0);return}g(e,t,n)},e.onSubstituteNode=function(e,t){return(t=y(e,t),1===e)?function(e){switch(e.kind){case 79:return function(e){if(2&s&&!DX(e)){let t=h.getReferencedDeclarationWithCollidingName(e);if(t&&!(yW(t)&&function(e,t){let n=ht(t);if(!n||n===e||n.end<=e.pos||n.pos>=e.end)return!1;let r=bv(e);for(;n&&n!==r&&n!==e;){if(yK(n)&&n.parent===e)return!0;n=n.parent}return!1}(t,e)))return OV(l.getGeneratedNameForNode(hp(t)),e)}return e}(e);case 108:return 1&s&&16&r?OV(l.createUniqueName("_this",48),e):e}return e}(t):wb(t)?function(e){if(2&s&&!DX(e)){let t=ht(e,wb);if(t&&function(e){switch(e.parent.kind){case 205:case 260:case 263:case 257:return e.parent.name===e&&h.isDeclarationWithCollidingName(e.parent)}return!1}(t))return OV(l.getGeneratedNameForNode(t),e)}return e}(t):t},G3(e,function(a){let o,s,c,d;if(a.isDeclarationFile)return a;t=a,n=a.text;let _=(o=b(8064,64),s=[],c=[],u(),d=l.copyPrologue(a.statements,s,!1,A),uP(c,GR(a.statements,A,gF,d)),i&&c.push(l.createVariableStatement(void 0,l.createVariableDeclarationList(i))),l.mergeLexicalEnvironment(s,p()),G(s,a),E(o,0,0),l.updateSourceFile(a,OV(l.createNodeArray(uE(s,c)),a.statements)));return IH(_,e.readEmitHelpers()),t=void 0,n=void 0,i=void 0,r=0,_});function b(e,t){let n=r;return r=(r&~e|t)&32767,n}function E(e,t,n){r=(r&~t|n)&-32768|e}function x(e){return(8192&r)!=0&&250===e.kind&&!e.expression}function S(e){var t;return(1024&e.transformFlags)!=0||void 0!==a||8192&r&&4194304&(t=e).transformFlags&&(R3(t)||RQ(t)||R5(t)||R7(t)||N_(t)||NW(t)||Nz(t)||Nt(t)||NJ(t)||R9(t)||gh(t,!1)||RJ(t))||gh(e,!1)&&(el(e)||ea(e))||(1&v1(e))!=0}function A(e){return S(e)?I(e,!1):e}function L(e){return S(e)?I(e,!0):e}function C(e){if(S(e)){let t=m7(e);if(wV(t)&&S7(t)){let t=b(32670,16449),n=I(e,!1);return E(t,98304,0),n}return I(e,!1)}return e}function k(e){return 106===e.kind?eE(!0):A(e)}function I(n,i){var o;switch(n.kind){case 124:return;case 260:return function(e){let t=l.createVariableDeclaration(l.getLocalName(e,!0),void 0,void 0,N(e));Ih(t,e);let n=[],r=l.createVariableStatement(void 0,l.createVariableDeclarationList([t]));if(Ih(r,e),OV(r,e),D9(r),n.push(r),S3(e,1)){let t=S3(e,1024)?l.createExportDefault(l.getLocalName(e)):l.createExternalModuleExport(l.getLocalName(e));Ih(t,r),n.push(t)}let i=v0(e);return(8388608&i)==0&&(n.push(l.createEndOfDeclarationMarker(e)),IE(r,8388608|i)),uQ(n)}(n);case 228:return N(n);case 166:return function(e){if(!e.dotDotDotToken)return y2(e.name)?Ih(OV(l.createParameterDeclaration(void 0,void 0,l.getGeneratedNameForNode(e),void 0,void 0,void 0),e),e):e.initializer?Ih(OV(l.createParameterDeclaration(void 0,void 0,e.name,void 0,void 0,void 0),e),e):e}(n);case 259:let s,c,u,_,p;return s=a,a=void 0,c=b(32670,65),u=GM(n.parameters,A,e),_=H(n),p=32768&r?l.getLocalName(n):n.name,E(c,98304,0),a=s,l.updateFunctionDeclaration(n,GR(n.modifiers,A,yD),n.asteriskToken,p,void 0,u,void 0,_);case 216:let m,h,y;return 16384&n.transformFlags&&!(16384&r)&&(r|=65536),m=a,a=void 0,h=b(15232,66),OV(y=l.createFunctionExpression(void 0,void 0,void 0,void 0,GM(n.parameters,A,e),void 0,H(n)),n),Ih(y,n),IE(y,16),E(h,0,0),a=m,y;case 215:let g,S,I,D,O;return g=524288&v0(n)?b(32662,69):b(32670,65),S=a,a=void 0,I=GM(n.parameters,A,e),D=H(n),O=32768&r?l.getLocalName(n):n.name,E(g,98304,0),a=S,l.updateFunctionExpression(n,void 0,n.asteriskToken,O,void 0,I,void 0,D);case 257:return z(n);case 79:return R(n);case 258:return function(t){if(3&t.flags||524288&t.transformFlags){3&t.flags&&eT();let e=GR(t.declarations,1&t.flags?W:z,Nr),n=l.createVariableDeclarationList(e);return Ih(n,t),OV(n,t),IN(n,t),524288&t.transformFlags&&(y2(t.declarations[0].name)||y2(uX(t.declarations).name))&&IL(n,function(e){let t=-1,n=-1;for(let r of e)t=-1===t?r.pos:-1===r.pos?t:Math.min(t,r.pos),n=Math.max(n,r.end);return AX(t,n)}(e)),n}return GB(t,A,e)}(n);case 252:return function(t){if(void 0!==a){let n=a.allowedNonLabeledJumps;a.allowedNonLabeledJumps|=2;let r=GB(t,A,e);return a.allowedNonLabeledJumps=n,r}return GB(t,A,e)}(n);case 266:let M,P;return M=b(7104,0),P=GB(n,A,e),E(M,0,0),P;case 238:return function(t,n){if(n)return GB(t,A,e);let i=256&r?b(7104,512):b(6976,128),a=GB(t,A,e);return E(i,0,0),a}(n,!1);case 249:case 248:return function(t){if(a){let e=249===t.kind?2:4;if(!(t.label&&a.labels&&a.labels.get(hi(t.label))||!t.label&&a.allowedNonLabeledJumps&e)){let e;let n=t.label;n?249===t.kind?(e=`break-${n.escapedText}`,ep(a,!0,hi(n),e)):(e=`continue-${n.escapedText}`,ep(a,!1,hi(n),e)):249===t.kind?(a.nonLocalJumps|=2,e="break"):(a.nonLocalJumps|=4,e="continue");let r=l.createStringLiteral(e);if(a.loopOutParameters.length){let e;let t=a.loopOutParameters;for(let n=0;nRX(e)&&!!uz(e.declarationList.declarations).initializer,r=a;a=void 0;let i=GR(t.statements,C,gF);a=r;let o=d9(i,n),s=d9(i,e=>!n(e)),c=_T(uz(o),RX).declarationList.declarations[0],u=D3(c.initializer),_=_E(u,AA);!_&&RR(u)&&27===u.operatorToken.kind&&(_=_E(u.left,AA));let p=_T(_?D3(_.right):u,Rg),f=_T(D3(p.expression),Rx),m=f.body.statements,h=0,y=-1,g=[];if(_){let e=_E(m[h],R$);e&&(g.push(e),h++),g.push(m[h]),h++,g.push(l.createExpressionStatement(l.createAssignment(_.left,_T(c.name,wb))))}for(;!R3(d(m,y));)y--;uP(g,m,h,y),y<-1&&uP(g,m,y+1);let v=_E(d(m,y),R3);for(let e of s)R3(e)&&(null==v?void 0:v.expression)&&!wb(v.expression)?g.push(v):g.push(e);return uP(g,o,1),l.restoreOuterExpressions(e.expression,l.restoreOuterExpressions(c.initializer,l.restoreOuterExpressions(_&&_.right,l.updateCallExpression(p,l.restoreOuterExpressions(p.expression,l.updateFunctionExpression(f,void 0,void 0,void 0,void 0,f.parameters,void 0,l.updateBlock(f.body,g))),void 0,p.arguments))))}(e);let t=D3(e.expression);return 106===t.kind||EI(t)||uv(e.arguments,RM)?em(e,!0):l.updateCallExpression(e,T.checkDefined(Gw(e.expression,k,gp)),void 0,GR(e.arguments,A,gp))}(n);case 211:return function(t){if(uv(t.arguments,RM)){let{target:e,thisArg:n}=l.createCallBinding(l.createPropertyAccessExpression(t.expression,"bind"),f);return l.createNewExpression(l.createFunctionApplyCall(T.checkDefined(Gw(e,A,gp)),n,eh(l.createNodeArray([l.createVoidZero(),...t.arguments]),!0,!1,!1)),void 0,[])}return GB(t,A,e)}(n);case 214:return GB(n,i?L:A,e);case 223:return K(n,i);case 357:return function(t,n){let r;if(n)return GB(t,L,e);for(let e=0;e0&&e.push(l.createStringLiteral(n.literal.text)),t=l.createCallExpression(l.createPropertyAccessExpression(t,"concat"),void 0,e)}return OV(t,e)}(n);case 227:return Gw(n.expression,A,gp);case 106:return eE(!1);case 108:return(2&r&&!(16384&r)&&(r|=65536),a)?2&r?(a.containsLexicalThis=!0,n):a.thisName||(a.thisName=l.createUniqueName("this")):n;case 233:return 103===n.keywordToken&&"target"===n.name.escapedText?(r|=32768,l.createUniqueName("_newTarget",48)):n;case 171:let G;return T.assert(!wP(n.name)),IE(G=j(n,A$(n,-1),void 0,void 0),1024|v0(G)),OV(l.createPropertyAssignment(n.name,G),n);case 174:case 175:let B,U,X,ee,et;return T.assert(!wP(n.name)),U=a,a=void 0,X=b(32670,65),ee=GM(n.parameters,A,e),et=H(n),B=174===n.kind?l.updateGetAccessorDeclaration(n,n.modifiers,n.name,ee,n.type,et):l.updateSetAccessorDeclaration(n,n.modifiers,n.name,ee,et),E(X,98304,0),a=U,B;case 240:return function(t){let n;let r=b(0,S3(t,1)?32:0);if(a&&(3&t.declarationList.flags)==0&&!(1===t.declarationList.declarations.length&&t.declarationList.declarations[0].initializer&&1&v1(t.declarationList.declarations[0].initializer))){let r;for(let n of t.declarationList.declarations)if(function(e,t){e.hoistedLocalVariables||(e.hoistedLocalVariables=[]),function t(n){if(79===n.kind)e.hoistedLocalVariables.push(n);else for(let e of n.elements)RF(e)||t(e.name)}(t.name)}(a,n),n.initializer){let t;y2(n.name)?t=Bx(n,A,e,0):OV(t=l.createBinaryExpression(n.name,63,T.checkDefined(Gw(n.initializer,A,gp))),n),r=uD(r,t)}n=r?OV(l.createExpressionStatement(l.inlineExpressions(r)),t):void 0}else n=GB(t,A,e);return E(r,0,0),n}(n);case 250:return o=n,a?(a.nonLocalJumps|=8,x(o)&&(o=w(o)),l.createReturnStatement(l.createObjectLiteralExpression([l.createPropertyAssignment(l.createIdentifier("value"),o.expression?T.checkDefined(Gw(o.expression,A,gp)):l.createVoidZero())]))):x(o)?w(o):GB(o,A,e)}}function w(e){return Ih(l.createReturnStatement(l.createUniqueName("_this",48)),e)}function R(e){return a&&h.isArgumentsLocalBinding(e)?a.argumentsName||(a.argumentsName=l.createUniqueName("arguments")):128&e.flags?Ih(OV(l.createIdentifier(hr(e.escapedText)),e),e):e}function N(i){let s,d,f,m,h,y,g,v,x,S,L,C;i.name&&eT();let k=xg(i),I=l.createFunctionExpression(void 0,void 0,void 0,void 0,k?[l.createParameterDeclaration(void 0,void 0,l.createUniqueName("_super",48))]:[],void 0,(s=[],f=xw(d=l.getInternalName(i))?l.getGeneratedNameForNode(d):d,u(),k&&s.push(OV(l.createExpressionStatement(c().createExtendsHelper(l.getInternalName(i))),k)),m=a,a=void 0,h=b(32662,73),g=function(e,t){if(!e||!t||uv(e.parameters))return!1;let n=uK(e.body.statements);if(!n||!x1(n)||241!==n.kind)return!1;let r=n.expression;if(!x1(r)||210!==r.kind)return!1;let i=r.expression;if(!x1(i)||106!==i.kind)return!1;let a=uY(r.arguments);if(!a||!x1(a)||227!==a.kind)return!1;let o=a.expression;return wb(o)&&"arguments"===o.escapedText}(y=SP(i),void 0!==k),v=l.createFunctionDeclaration(void 0,void 0,f,void 0,GM(y&&!g?y.parameters:void 0,A,e)||[],void 0,function(e,t,n,i){var a;let s;let c=!!n&&104!==D3(n.expression).kind;if(!e){let e,n,r;return e=[],_(),l.mergeLexicalEnvironment(e,p()),c&&e.push(l.createReturnStatement(O())),OV(n=l.createNodeArray(e),t.members),OV(r=l.createBlock(n,!0),t),IE(r,3072),r}let d=[],u=[];_();let f=pm(e.body.statements,bY),{superCall:m,superStatementIndex:h}=function(e,t){for(let n=t.length;n0?(vj(t,IE(l.createVariableStatement(void 0,l.createVariableDeclarationList(BL(i,A,e,0,l.getGeneratedNameForNode(i)))),2097152)),!0):!!a&&(vj(t,IE(l.createExpressionStatement(l.createAssignment(l.getGeneratedNameForNode(i),T.checkDefined(Gw(a,A,gp)))),2097152)),!0))||r:a&&(function(e,t,n,r){r=T.checkDefined(Gw(r,A,gp));let i=l.createIfStatement(l.createTypeCheck(l.cloneNode(n),"undefined"),IE(OV(l.createBlock([l.createExpressionStatement(IE(OV(l.createAssignment(IE(kC(OV(l.cloneNode(n),n),n.parent),96),IE(r,96|v0(r)|3072)),t),3072))]),t),3905));D9(i),OV(i,t),IE(i,2101056),vj(e,i)}(t,i,n,a),r=!0))}return r}function F(t,n,r){let i=[],a=uJ(n.parameters);if(!a||!a.dotDotDotToken||r)return!1;let o=79===a.name.kind?kC(OV(l.cloneNode(a.name),a.name),a.name.parent):l.createTempVariable(void 0);IE(o,96);let s=79===a.name.kind?l.cloneNode(a.name):o,c=n.parameters.length-1,d=l.createLoopVariable();i.push(IE(OV(l.createVariableStatement(void 0,l.createVariableDeclarationList([l.createVariableDeclaration(o,void 0,void 0,l.createArrayLiteralExpression([]))])),a),2097152));let u=l.createForStatement(OV(l.createVariableDeclarationList([l.createVariableDeclaration(d,void 0,void 0,l.createNumericLiteral(c))]),a),OV(l.createLessThan(d,l.createPropertyAccessExpression(l.createIdentifier("arguments"),"length")),a),OV(l.createPostfixIncrement(d),a),l.createBlock([D9(OV(l.createExpressionStatement(l.createAssignment(l.createElementAccessExpression(s,0===c?d:l.createSubtract(d,l.createNumericLiteral(c))),l.createElementAccessExpression(l.createIdentifier("arguments"),d))),a))]));return IE(u,2097152),D9(u),i.push(u),79!==a.name.kind&&i.push(IE(OV(l.createVariableStatement(void 0,l.createVariableDeclarationList(BL(a,A,e,0,s))),a),2097152)),vU(t,i),!0}function G(e,t){return!!(65536&r)&&216!==t.kind&&(B(e,t,l.createThis()),!0)}function B(e,t,n){ex();let r=l.createVariableStatement(void 0,l.createVariableDeclarationList([l.createVariableDeclaration(l.createUniqueName("_this",48),void 0,void 0,n)]));IE(r,2100224),IL(r,t),vj(e,r)}function U(e,t,n){if(32768&r){let r;switch(t.kind){case 216:return e;case 171:case 174:case 175:r=l.createVoidZero();break;case 173:r=l.createPropertyAccessExpression(IE(l.createThis(),8),"constructor");break;case 259:case 215:r=l.createConditionalExpression(l.createLogicalAnd(IE(l.createThis(),8),l.createBinaryExpression(IE(l.createThis(),8),102,l.getLocalName(t))),void 0,l.createPropertyAccessExpression(IE(l.createThis(),8),"constructor"),void 0,l.createVoidZero());break;default:return T.failBadSyntaxKind(t)}let i=l.createVariableStatement(void 0,l.createVariableDeclarationList([l.createVariableDeclaration(l.createUniqueName("_newTarget",48),void 0,void 0,r)]));IE(i,2100224),n&&(e=e.slice()),vj(e,i)}return e}function V(e,{firstAccessor:t,getAccessor:n,setAccessor:r},i,a){let o=kC(OV(l.cloneNode(e),e),e.parent);IE(o,3136),IL(o,t.name);let s=Gw(t.name,A,yM);if(T.assert(s),wE(s))return T.failBadSyntaxKind(s,"Encountered unhandled private identifier while transforming ES2015.");let c=Dz(l,s);IE(c,3104),IL(c,t.name);let d=[];if(n){let e=j(n,void 0,void 0,i);IL(e,IA(n)),IE(e,1024);let t=l.createPropertyAssignment("get",e);IN(t,IR(n)),d.push(t)}if(r){let e=j(r,void 0,void 0,i);IL(e,IA(r)),IE(e,1024);let t=l.createPropertyAssignment("set",e);IN(t,IR(r)),d.push(t)}d.push(l.createPropertyAssignment("enumerable",n||r?l.createFalse():l.createTrue()),l.createPropertyAssignment("configurable",l.createTrue()));let u=l.createCallExpression(l.createPropertyAccessExpression(l.createIdentifier("Object"),"defineProperty"),void 0,[o,c,l.createObjectLiteralExpression(d,!0)]);return a&&D9(u),u}function j(t,n,i,o){let s=a;a=void 0;let c=o&&yW(o)&&!S5(t)?b(32670,73):b(32670,65),d=GM(t.parameters,A,e),u=H(t);return 32768&r&&!i&&(259===t.kind||215===t.kind)&&(i=l.getGeneratedNameForNode(t)),E(c,98304,0),a=s,Ih(OV(l.createFunctionExpression(void 0,t.asteriskToken,i,void 0,d,void 0,u),n),t)}function H(e){let n,r,i,a=!1,o=!1,s=[],c=[],d=e.body;if(_(),RJ(d)&&(i=l.copyStandardPrologue(d.statements,s,0,!1),i=l.copyCustomPrologue(d.statements,c,i,A,bQ),i=l.copyCustomPrologue(d.statements,c,i,A,b0)),a=P(c,e)||a,a=F(c,e,!1)||a,RJ(d))i=l.copyCustomPrologue(d.statements,c,i,A),n=d.statements,uP(c,GR(d.statements,A,gF,i)),!a&&d.multiLine&&(a=!0);else{T.assert(216===e.kind),n=AY(d,-1);let i=e.equalsGreaterThanToken;x1(i)||x1(d)||(A3(i,d,t)?o=!0:a=!0);let s=Gw(d,A,gp),u=l.createReturnStatement(s);OV(u,d),IB(u,d),IE(u,2880),c.push(u),r=d}if(l.mergeLexicalEnvironment(s,p()),U(s,e,!1),G(s,e),uv(s)&&(a=!0),c.unshift(...s),RJ(d)&&uw(c,d.statements))return d;let u=l.createBlock(OV(l.createNodeArray(c),n),a);return OV(u,e.body),!a&&o&&IE(u,1),r&&Ik(u,19,r),Ih(u,e.body),u}function K(t,n){return AC(t)?Bx(t,A,e,0,!n):27===t.operatorToken.kind?l.updateBinaryExpression(t,T.checkDefined(Gw(t.left,L,gp)),t.operatorToken,T.checkDefined(Gw(t.right,n?L:A,gp))):GB(t,A,e)}function W(t){let n,i,a;return y2(t.name)?z(t):t.initializer||(i=16384&(n=h.getNodeCheckFlags(t)),a=32768&n,(64&r)!=0||i&&a&&(512&r)!=0||(4096&r)!=0||h.isDeclarationWithCollidingName(t)&&(!a||i||(6144&r)!=0))?GB(t,A,e):l.updateVariableDeclaration(t,t.name,void 0,void 0,l.createVoidZero())}function z(t){let n;let r=b(32,0);return n=y2(t.name)?BL(t,A,e,0,void 0,(32&r)!=0):GB(t,A,e),E(r,0,0),n}function q(e){a.labels.set(hi(e.label),!0)}function J(e){a.labels.set(hi(e.label),!1)}function X(t,n,i,o,s){let c=b(t,n),d=function(t,n,i,o){var s,c;let d,_,f,m,y,g,v,b,E,x,S,C,k,I,w,R,N;if(!(el(t)||ea(t))){let r;a&&(r=a.allowedNonLabeledJumps,a.allowedNonLabeledJumps=6);let s=o?o(t,n,void 0,i):l.restoreEnclosingLabel(R1(t)?l.updateForStatement(t,Gw(t.initializer,L,gS),Gw(t.condition,A,gp),Gw(t.incrementor,L,gp),T.checkDefined(Gw(t.statement,A,gF,l.liftToBlock))):GB(t,A,e),n,a&&J);return a&&(a.allowedNonLabeledJumps=r),s}let D=function(e){let t;switch(e.kind){case 245:case 246:case 247:let n=e.initializer;n&&258===n.kind&&(t=n)}let r=[],i=[];if(t&&3&m3(t)){let n=ea(e)||eo(e)||es(e);for(let a of t.declarations)!function e(t,n,r,i,a){let o=n.name;if(y2(o))for(let n of o.elements)RF(n)||e(t,n,r,i,a);else{r.push(l.createParameterDeclaration(void 0,void 0,o));let e=h.getNodeCheckFlags(n);if(262144&e||a){let r=l.createUniqueName("out_"+hi(o)),a=0;262144&e&&(a|=1),R1(t)&&(t.initializer&&h.isBindingCapturedByNode(t.initializer,n)&&(a|=2),(t.condition&&h.isBindingCapturedByNode(t.condition,n)||t.incrementor&&h.isBindingCapturedByNode(t.incrementor,n))&&(a|=1)),i.push({flags:a,originalName:o,outParamName:r})}}}(e,a,r,i,n)}let o={loopParameters:r,loopOutParameters:i};return a&&(a.argumentsName&&(o.argumentsName=a.argumentsName),a.thisName&&(o.thisName=a.thisName),a.hoistedLocalVariables&&(o.hoistedLocalVariables=a.hoistedLocalVariables)),o}(t),O=[],M=a;a=D;let P=ea(t)?(_=l.createUniqueName("_loop_init"),f=(1048576&t.initializer.transformFlags)!=0,m=0,D.containsLexicalThis&&(m|=16),f&&4&r&&(m|=524288),(y=[]).push(l.createVariableStatement(void 0,t.initializer)),e_(D.loopOutParameters,2,1,y),g=l.createVariableStatement(void 0,IE(l.createVariableDeclarationList([l.createVariableDeclaration(_,void 0,void 0,IE(l.createFunctionExpression(void 0,f?l.createToken(41):void 0,void 0,void 0,void 0,void 0,T.checkDefined(Gw(l.createBlock(y,!0),A,RJ))),m))]),4194304)),{functionName:_,containsYield:f,functionDeclaration:g,part:l.createVariableDeclarationList(un(D.loopOutParameters,ed))}):void 0,F=el(t)?(v=l.createUniqueName("_loop"),u(),b=Gw(t.statement,A,gF,l.liftToBlock),E=p(),x=[],(eo(t)||es(t))&&(D.conditionVariable=l.createUniqueName("inc"),t.incrementor?x.push(l.createIfStatement(D.conditionVariable,l.createExpressionStatement(T.checkDefined(Gw(t.incrementor,A,gp))),l.createExpressionStatement(l.createAssignment(D.conditionVariable,l.createTrue())))):x.push(l.createIfStatement(l.createLogicalNot(D.conditionVariable),l.createExpressionStatement(l.createAssignment(D.conditionVariable,l.createTrue())))),eo(t)&&x.push(l.createIfStatement(l.createPrefixUnaryExpression(53,T.checkDefined(Gw(t.condition,A,gp))),T.checkDefined(Gw(l.createBreakStatement(),A,gF))))),T.assert(b),RJ(b)?uP(x,b.statements):x.push(b),e_(D.loopOutParameters,1,1,x),vB(x,E),S=l.createBlock(x,!0),RJ(b)&&Ih(S,b),C=(1048576&t.statement.transformFlags)!=0,k=1048576,D.containsLexicalThis&&(k|=16),C&&(4&r)!=0&&(k|=524288),I=l.createVariableStatement(void 0,IE(l.createVariableDeclarationList([l.createVariableDeclaration(v,void 0,void 0,IE(l.createFunctionExpression(void 0,C?l.createToken(41):void 0,void 0,void 0,D.loopParameters,void 0,S),k))]),4194304)),w=function(e,t,n,r){let i=[],a=!(-5&t.nonLocalJumps)&&!t.labeledNonLocalBreaks&&!t.labeledNonLocalContinues,o=l.createCallExpression(e,void 0,un(t.loopParameters,e=>e.name)),s=r?l.createYieldExpression(l.createToken(41),IE(o,16777216)):o;if(a)i.push(l.createExpressionStatement(s)),e_(t.loopOutParameters,1,0,i);else{let e=l.createUniqueName("state"),r=l.createVariableStatement(void 0,l.createVariableDeclarationList([l.createVariableDeclaration(e,void 0,void 0,s)]));if(i.push(r),e_(t.loopOutParameters,1,0,i),8&t.nonLocalJumps){let t;n?(n.nonLocalJumps|=8,t=l.createReturnStatement(e)):t=l.createReturnStatement(l.createPropertyAccessExpression(e,"value")),i.push(l.createIfStatement(l.createTypeCheck(e,"object"),t))}if(2&t.nonLocalJumps&&i.push(l.createIfStatement(l.createStrictEquality(e,l.createStringLiteral("break")),l.createBreakStatement())),t.labeledNonLocalBreaks||t.labeledNonLocalContinues){let r=[];ef(t.labeledNonLocalBreaks,!0,e,n,r),ef(t.labeledNonLocalContinues,!1,e,n,r),i.push(l.createSwitchStatement(e,l.createCaseBlock(r)))}}return i}(v,D,M,C),{functionName:v,containsYield:C,functionDeclaration:I,part:w}):void 0;if(a=M,P&&O.push(P.functionDeclaration),F&&O.push(F.functionDeclaration),function(e,t,n){let r;if(t.argumentsName&&(n?n.argumentsName=t.argumentsName:(r||(r=[])).push(l.createVariableDeclaration(t.argumentsName,void 0,void 0,l.createIdentifier("arguments")))),t.thisName&&(n?n.thisName=t.thisName:(r||(r=[])).push(l.createVariableDeclaration(t.thisName,void 0,void 0,l.createIdentifier("this")))),t.hoistedLocalVariables){if(n)n.hoistedLocalVariables=t.hoistedLocalVariables;else for(let e of(r||(r=[]),t.hoistedLocalVariables))r.push(l.createVariableDeclaration(e))}if(t.loopOutParameters.length)for(let e of(r||(r=[]),t.loopOutParameters))r.push(l.createVariableDeclaration(e.outParamName));t.conditionVariable&&(r||(r=[]),r.push(l.createVariableDeclaration(t.conditionVariable,void 0,void 0,l.createFalse()))),r&&e.push(l.createVariableStatement(void 0,l.createVariableDeclarationList(r)))}(O,D,M),P&&O.push((s=P.functionName,c=P.containsYield,R=l.createCallExpression(s,void 0,[]),N=c?l.createYieldExpression(l.createToken(41),IE(R,16777216)):R,l.createExpressionStatement(N))),F){if(o)d=o(t,n,F.part,i);else{let e=ec(t,P,l.createBlock(F.part,!0));d=l.restoreEnclosingLabel(e,n,a&&J)}}else{let e=ec(t,P,T.checkDefined(Gw(t.statement,A,gF,l.liftToBlock)));d=l.restoreEnclosingLabel(e,n,a&&J)}return O.push(d),O}(i,o,c,s);return E(c,0,0),d}function Y(e,t){return X(0,1280,e,t)}function $(e,t){return X(5056,3328,e,t)}function Q(e,t){return X(3008,5376,e,t)}function Z(e,t){return X(3008,5376,e,t,m.downlevelIteration?er:en)}function ee(t,n,r){let i=[],a=t.initializer;if(Ni(a)){3&t.initializer.flags&&eT();let r=uK(a.declarations);if(r&&y2(r.name)){let a=BL(r,A,e,0,n),o=OV(l.createVariableDeclarationList(a),t.initializer);Ih(o,t.initializer),IL(o,AX(a[0].pos,uX(a).end)),i.push(l.createVariableStatement(void 0,o))}else i.push(OV(l.createVariableStatement(void 0,Ih(OV(l.createVariableDeclarationList([l.createVariableDeclaration(r?r.name:l.createTempVariable(void 0),void 0,void 0,n)]),A$(a,-1)),a)),AY(a,-1)))}else{let e=l.createAssignment(a,n);AC(e)?i.push(l.createExpressionStatement(K(e,!0))):(kx(e,a.end),i.push(OV(l.createExpressionStatement(T.checkDefined(Gw(e,A,gp))),AY(a,-1))))}if(r)return et(uP(i,r));{let e=Gw(t.statement,A,gF,l.liftToBlock);return(T.assert(e),RJ(e))?l.updateBlock(e,OV(l.createNodeArray(uE(i,e.statements)),e.statements)):(i.push(e),et(i))}}function et(e){return IE(l.createBlock(l.createNodeArray(e),!0),864)}function en(e,t,n){let r=Gw(e.expression,A,gp);T.assert(r);let i=l.createLoopVariable(),o=wb(r)?l.getGeneratedNameForNode(r):l.createTempVariable(void 0);IE(r,96|v0(r));let s=OV(l.createForStatement(IE(OV(l.createVariableDeclarationList([OV(l.createVariableDeclaration(i,void 0,void 0,l.createNumericLiteral(0)),A$(e.expression,-1)),OV(l.createVariableDeclaration(o,void 0,void 0,r),e.expression)]),e.expression),4194304),OV(l.createLessThan(i,l.createPropertyAccessExpression(o,"length")),e.expression),OV(l.createPostfixIncrement(i),e.expression),ee(e,l.createElementAccessExpression(o,i),n)),e);return IE(s,512),OV(s,e),l.restoreEnclosingLabel(s,t,a&&J)}function er(e,t,n,r){let i=Gw(e.expression,A,gp);T.assert(i);let o=wb(i)?l.getGeneratedNameForNode(i):l.createTempVariable(void 0),s=wb(i)?l.getGeneratedNameForNode(o):l.createTempVariable(void 0),d=l.createUniqueName("e"),u=l.getGeneratedNameForNode(d),_=l.createTempVariable(void 0),p=OV(c().createValuesHelper(i),e.expression),m=l.createCallExpression(l.createPropertyAccessExpression(o,"next"),void 0,[]);f(d),f(_);let h=1024&r?l.inlineExpressions([l.createAssignment(d,l.createVoidZero()),p]):p,y=IE(OV(l.createForStatement(IE(OV(l.createVariableDeclarationList([OV(l.createVariableDeclaration(o,void 0,void 0,h),e.expression),l.createVariableDeclaration(s,void 0,void 0,m)]),e.expression),4194304),l.createLogicalNot(l.createPropertyAccessExpression(s,"done")),l.createAssignment(s,m),ee(e,l.createPropertyAccessExpression(s,"value"),n)),e),512);return l.createTryStatement(l.createBlock([l.restoreEnclosingLabel(y,t,a&&J)]),l.createCatchClause(l.createVariableDeclaration(u),IE(l.createBlock([l.createExpressionStatement(l.createAssignment(d,l.createObjectLiteralExpression([l.createPropertyAssignment("error",u)])))]),1)),l.createBlock([l.createTryStatement(l.createBlock([IE(l.createIfStatement(l.createLogicalAnd(l.createLogicalAnd(s,l.createLogicalNot(l.createPropertyAccessExpression(s,"done"))),l.createAssignment(_,l.createPropertyAccessExpression(o,"return"))),l.createExpressionStatement(l.createFunctionCallCall(_,o,[]))),1)]),void 0,IE(l.createBlock([IE(l.createIfStatement(d,l.createThrowStatement(l.createPropertyAccessExpression(d,"error"))),1)]),1))]))}function ei(e){return(8192&h.getNodeCheckFlags(e))!=0}function ea(e){return R1(e)&&!!e.initializer&&ei(e.initializer)}function eo(e){return R1(e)&&!!e.condition&&ei(e.condition)}function es(e){return R1(e)&&!!e.incrementor&&ei(e.incrementor)}function el(e){return(4096&h.getNodeCheckFlags(e))!=0}function ec(e,t,n){switch(e.kind){case 245:let r,i;return i=(r=e.condition&&ei(e.condition))||e.incrementor&&ei(e.incrementor),l.updateForStatement(e,Gw(t?t.part:e.initializer,L,gS),Gw(r?void 0:e.condition,A,gp),Gw(i?void 0:e.incrementor,L,gp),n);case 246:return l.updateForInStatement(e,T.checkDefined(Gw(e.initializer,A,gS)),T.checkDefined(Gw(e.expression,A,gp)),n);case 247:return l.updateForOfStatement(e,void 0,T.checkDefined(Gw(e.initializer,A,gS)),T.checkDefined(Gw(e.expression,A,gp)),n);case 243:return l.updateDoStatement(e,n,T.checkDefined(Gw(e.expression,A,gp)));case 244:return l.updateWhileStatement(e,T.checkDefined(Gw(e.expression,A,gp)),n);default:return T.failBadSyntaxKind(e,"IterationStatement expected")}}function ed(e){return l.createVariableDeclaration(e.originalName,void 0,void 0,e.outParamName)}function eu(e,t){let n=0===t?e.outParamName:e.originalName,r=0===t?e.originalName:e.outParamName;return l.createBinaryExpression(r,63,n)}function e_(e,t,n,r){for(let i of e)i.flags&t&&r.push(l.createExpressionStatement(eu(i,n)))}function ep(e,t,n,r){t?(e.labeledNonLocalBreaks||(e.labeledNonLocalBreaks=new Map),e.labeledNonLocalBreaks.set(n,r)):(e.labeledNonLocalContinues||(e.labeledNonLocalContinues=new Map),e.labeledNonLocalContinues.set(n,r))}function ef(e,t,n,r,i){e&&e.forEach((e,a)=>{let o=[];if(!r||r.labels&&r.labels.get(a)){let e=l.createIdentifier(a);o.push(t?l.createBreakStatement(e):l.createContinueStatement(e))}else ep(r,t,a,e),o.push(l.createReturnStatement(n));i.push(l.createCaseClause(l.createStringLiteral(e),o))})}function em(t,n){if(32768&t.transformFlags||106===t.expression.kind||EI(D3(t.expression))){let e;let{target:r,thisArg:i}=l.createCallBinding(t.expression,f);if(106===t.expression.kind&&IE(i,8),e=32768&t.transformFlags?l.createFunctionApplyCall(T.checkDefined(Gw(r,k,gp)),106===t.expression.kind?i:T.checkDefined(Gw(i,A,gp)),eh(t.arguments,!0,!1,!1)):OV(l.createFunctionCallCall(T.checkDefined(Gw(r,k,gp)),106===t.expression.kind?i:T.checkDefined(Gw(i,A,gp)),GR(t.arguments,A,gp)),t),106===t.expression.kind){let t=l.createLogicalOr(e,D());e=n?l.createAssignment(l.createUniqueName("_this",48),t):t}return Ih(e,t)}return GB(t,A,e)}function eh(e,t,n,r){let i=e.length,a=ua(uy(e,ey,(e,t,a,o)=>t(e,n,r&&o===i)));if(1===a.length){let e=a[0];if(t&&!m.downlevelIteration||kR(e.expression)||I9(e.expression,"___spreadArray"))return e.expression}let o=c(),s=0!==a[0].kind,d=s?l.createArrayLiteralExpression():a[0].expression;for(let e=s?0:1;e=81&&t<=116)return OV(r.createStringLiteralFromNode(e),e)}}var Un=dj({"src/compiler/transformers/es5.ts"(){Kr()}});function Ur(e){let t,n,r,i,a,o,s,l,c,d,u,_,p,f,m,h,y,g,v,b,E,x;let{factory:S,getEmitHelperFactory:A,resumeLexicalEnvironment:L,endLexicalEnvironment:C,hoistFunctionDeclaration:k,hoistVariableDeclaration:I}=e,w=Ct(e.getCompilerOptions()),R=e.getEmitResolver(),N=e.onSubstituteNode;e.onSubstituteNode=function(e,r){var i;return(r=N(e,r),1===e)?wb(i=r)?function(e){if(!yL(e)&&t&&t.has(hi(e))){let t=m7(e);if(wb(t)&&t.parent){let r=R.getReferencedValueDeclaration(t);if(r){let t=n[G8(r)];if(t){let n=kC(OV(S.cloneNode(t),t),t.parent);return IL(n,e),IN(n,e),n}}}}return e}(i):i:r};let D=1,O=0,M=0;return G3(e,function(t){if(t.isDeclarationFile||(2048&t.transformFlags)==0)return t;let n=GB(t,P,e);return IH(n,e.readEmitHelpers()),n});function P(t){let n=t.transformFlags;return i?function(t){var n,r,a,o;switch(t.kind){case 243:return n=t,i?(er(),n=GB(n,P,e),ea(),n):GB(n,P,e);case 244:return r=t,i?(er(),r=GB(r,P,e),ea(),r):GB(r,P,e);case 252:return a=t,i&&ee({kind:2,isScript:!0,breakLabel:-1}),a=GB(a,P,e),i&&eo(),a;case 253:return o=t,i&&ee({kind:4,isScript:!0,labelText:hi(o.label),breakLabel:-1}),o=GB(o,P,e),i&&es(),o;default:return F(t)}}(t):r?F(t):yB(t)&&t.asteriskToken?function(e){switch(e.kind){case 259:return G(e);case 215:return B(e);default:return T.failBadSyntaxKind(e)}}(t):2048&n?GB(t,P,e):t}function F(t){var n,a;switch(t.kind){case 259:return G(t);case 215:return B(t);case 174:case 175:let o,s;return n=t,o=r,s=i,r=!1,i=!1,n=GB(n,P,e),r=o,i=s,n;case 240:return function(e){if(1048576&e.transformFlags){z(e.declarationList);return}{if(2097152&v0(e))return e;for(let t of e.declarationList.declarations)I(t.name);let t=La(e.declarationList);if(0===t.length)return;return IL(S.createExpressionStatement(S.inlineExpressions(un(t,q))),e)}}(t);case 245:return function(t){i&&er();let n=t.initializer;if(n&&Ni(n)){for(let e of n.declarations)I(e.name);let r=La(n);t=S.updateForStatement(t,r.length>0?S.inlineExpressions(un(r,q)):void 0,Gw(t.condition,P,gp),Gw(t.incrementor,P,gp),GF(t.statement,P,e))}else t=GB(t,P,e);return i&&ea(),t}(t);case 246:return function(t){i&&er();let n=t.initializer;if(Ni(n)){for(let e of n.declarations)I(e.name);t=S.updateForInStatement(t,n.declarations[0].name,T.checkDefined(Gw(t.expression,P,gp)),T.checkDefined(Gw(t.statement,P,gF,S.liftToBlock)))}else t=GB(t,P,e);return i&&ea(),t}(t);case 249:return function(t){if(i){let e=ed(t.label&&hi(t.label));if(e>0)return ef(e,t)}return GB(t,P,e)}(t);case 248:return function(t){if(i){let e=eu(t.label&&hi(t.label));if(e>0)return ef(e,t)}return GB(t,P,e)}(t);case 250:return a=Gw(t.expression,P,gp),OV(S.createReturnStatement(S.createArrayLiteralExpression(a?[ep(2),a]:[ep(2)])),t);default:if(1048576&t.transformFlags)return function(t){switch(t.kind){case 223:return function(t){let n=x4(t);switch(n){case 0:let r,i;return J(t.right)?Ay(t.operatorToken.kind)?(r=Q(),eh(i=$(),T.checkDefined(Gw(t.left,P,gp)),t.left),55===t.operatorToken.kind?eg(r,i,t.left):ev(4,[r,i],t.left),eh(i,T.checkDefined(Gw(t.right,P,gp)),t.right),Z(r),i):27===t.operatorToken.kind?V(t):S.updateBinaryExpression(t,Y(T.checkDefined(Gw(t.left,P,gp))),t.operatorToken,T.checkDefined(Gw(t.right,P,gp))):GB(t,P,e);case 1:return function(t){let{left:n,right:r}=t;if(J(r)){let e;switch(n.kind){case 208:e=S.updatePropertyAccessExpression(n,Y(T.checkDefined(Gw(n.expression,P,gs))),n.name);break;case 209:e=S.updateElementAccessExpression(n,Y(T.checkDefined(Gw(n.expression,P,gs))),Y(T.checkDefined(Gw(n.argumentExpression,P,gp))));break;default:e=T.checkDefined(Gw(n,P,gp))}let i=t.operatorToken.kind;return Bi(i)?OV(S.createAssignment(e,OV(S.createBinaryExpression(Y(e),Ba(i),T.checkDefined(Gw(r,P,gp))),t)),t):S.updateBinaryExpression(t,e,t.operatorToken,T.checkDefined(Gw(r,P,gp)))}return GB(t,P,e)}(t);default:return T.assertNever(n)}}(t);case 357:return function(e){let t=[];for(let n of e.elements)RR(n)&&27===n.operatorToken.kind?t.push(V(n)):(J(n)&&t.length>0&&(ev(1,[S.createExpressionStatement(S.inlineExpressions(t))]),t=[]),t.push(T.checkDefined(Gw(n,P,gp))));return S.inlineExpressions(t)}(t);case 224:return function(t){if(J(t.whenTrue)||J(t.whenFalse)){let e=Q(),n=Q(),r=$();return eg(e,T.checkDefined(Gw(t.condition,P,gp)),t.condition),eh(r,T.checkDefined(Gw(t.whenTrue,P,gp)),t.whenTrue),ey(n),Z(e),eh(r,T.checkDefined(Gw(t.whenFalse,P,gp)),t.whenFalse),Z(n),r}return GB(t,P,e)}(t);case 226:let n,r;return n=Q(),r=Gw(t.expression,P,gp),t.asteriskToken?ev(7,[(16777216&v0(t.expression))==0?OV(A().createValuesHelper(r),t):r],t):ev(6,[r],t),Z(n),OV(S.createCallExpression(S.createPropertyAccessExpression(f,"sent"),void 0,[]),t);case 206:return j(t.elements,void 0,void 0,t.multiLine);case 207:let i,a,o,s,l;return i=t.properties,a=t.multiLine,o=X(i),eh(s=$(),S.createObjectLiteralExpression(GR(i,P,yZ,0,o),a)),(l=u2(i,function(e,n){J(n)&&e.length>0&&(em(S.createExpressionStatement(S.inlineExpressions(e))),e=[]);let r=Gw(Dq(S,t,n,s),P,gp);return r&&(a&&D9(r),e.push(r)),e},[],o)).push(a?D9(kC(OV(S.cloneNode(s),s),s.parent)):s),S.inlineExpressions(l);case 209:return J(t.argumentExpression)?S.updateElementAccessExpression(t,Y(T.checkDefined(Gw(t.expression,P,gs))),T.checkDefined(Gw(t.argumentExpression,P,gp))):GB(t,P,e);case 210:return function(t){if(!bq(t)&&dz(t.arguments,J)){let{target:e,thisArg:n}=S.createCallBinding(t.expression,I,w,!0);return Ih(OV(S.createFunctionApplyCall(Y(T.checkDefined(Gw(e,P,gs))),n,j(t.arguments)),t),t)}return GB(t,P,e)}(t);case 211:return function(t){if(dz(t.arguments,J)){let{target:e,thisArg:n}=S.createCallBinding(S.createPropertyAccessExpression(t.expression,"bind"),I);return Ih(OV(S.createNewExpression(S.createFunctionApplyCall(Y(T.checkDefined(Gw(e,P,gp))),n,j(t.arguments,S.createVoidZero())),void 0,[]),t),t)}return GB(t,P,e)}(t);default:return GB(t,P,e)}}(t);if(4196352&t.transformFlags)return GB(t,P,e);return t}}function G(t){if(t.asteriskToken)t=Ih(OV(S.createFunctionDeclaration(t.modifiers,void 0,t.name,void 0,GM(t.parameters,P,e),void 0,U(t.body)),t),t);else{let n=r,a=i;r=!1,i=!1,t=GB(t,P,e),r=n,i=a}if(!r)return t;k(t)}function B(t){if(t.asteriskToken)t=Ih(OV(S.createFunctionExpression(void 0,void 0,t.name,void 0,GM(t.parameters,P,e),void 0,U(t.body)),t),t);else{let n=r,a=i;r=!1,i=!1,t=GB(t,P,e),r=n,i=a}return t}function U(e){let t,n=[],T=r,k=i,I=a,w=o,R=s,N=l,F=c,G=d,B=D,U=u,V=_,j=p,K=f;r=!0,i=!1,a=void 0,o=void 0,s=void 0,l=void 0,c=void 0,d=void 0,D=1,u=void 0,_=void 0,p=void 0,f=S.createTempVariable(void 0),L();let W=S.copyPrologue(e.statements,n,!1,P);H(e.statements,W);let z=(O=0,M=0,m=void 0,h=!1,y=!1,g=void 0,v=void 0,b=void 0,E=void 0,x=void 0,t=function(){if(u){for(let e=0;e0)),1048576)));return vB(n,C()),n.push(S.createReturnStatement(z)),r=T,i=k,a=I,o=w,s=R,l=N,c=F,d=G,D=B,u=U,_=V,p=j,f=K,OV(S.createBlock(n,e.multiLine),e)}function V(e){let t=[];return n(e.left),n(e.right),S.inlineExpressions(t);function n(e){RR(e)&&27===e.operatorToken.kind?(n(e.left),n(e.right)):(J(e)&&t.length>0&&(ev(1,[S.createExpressionStatement(S.inlineExpressions(t))]),t=[]),t.push(T.checkDefined(Gw(e,P,gp))))}}function j(e,t,n,r){let i;let a=X(e);if(a>0){i=$();let n=GR(e,P,gp,0,a);eh(i,S.createArrayLiteralExpression(t?[t,...n]:n)),t=void 0}let o=u2(e,function(e,n){if(J(n)&&e.length>0){let n=void 0!==i;i||(i=$()),eh(i,n?S.createArrayConcatCall(i,[S.createArrayLiteralExpression(e,r)]):S.createArrayLiteralExpression(t?[t,...e]:e,r)),t=void 0,e=[]}return e.push(T.checkDefined(Gw(n,P,gp))),e},[],a);return i?S.createArrayConcatCall(i,[S.createArrayLiteralExpression(o,r)]):OV(S.createArrayLiteralExpression(t?[t,...o]:o,r),n)}function H(e,t=0){let n=e.length;for(let r=t;r0?ey(o,r):em(r));case 249:let s;return void((s=ed(r.label?hi(r.label):void 0))>0?ey(s,r):em(r));case 250:return void ev(8,[Gw(r.expression,P,gp)],r);case 251:let c,d;return void(J(r)?(a=Y(T.checkDefined(Gw(r.expression,P,gp))),c=Q(),d=Q(),Z(c),ee({kind:1,expression:a,startLabel:c,endLabel:d}),K(r.statement),T.assert(1===en()),Z(et().endLabel)):em(Gw(r,P,gF)));case 252:return function(e){if(J(e.caseBlock)){let t;let n=e.caseBlock,r=n.clauses.length,i=(ee({kind:2,isScript:!1,breakLabel:t=Q()}),t),a=Y(T.checkDefined(Gw(e.expression,P,gp))),o=[],s=-1;for(let e=0;e0)break;c.push(S.createCaseClause(T.checkDefined(Gw(r.expression,P,gp)),[ef(o[t],r.expression)]))}else e++}c.length&&(em(S.createSwitchStatement(a,S.createCaseBlock(c))),l+=c.length,c=[]),e>0&&(l+=e,e=0)}s>=0?ey(o[s]):ey(i);for(let e=0;e0)break;i.push(q(n))}i.length&&(em(S.createExpressionStatement(S.inlineExpressions(i))),r+=i.length,i=[])}}function q(e){return IL(S.createAssignment(IL(S.cloneNode(e.name),e.name),T.checkDefined(Gw(e.initializer,P,gp))),e)}function J(e){return!!e&&(1048576&e.transformFlags)!=0}function X(e){let t=e.length;for(let n=0;n=0;n--){let t=l[n];if(4===t.kind){if(t.labelText===e)return!0}else break}return!1}function ed(e){if(l){if(e)for(let t=l.length-1;t>=0;t--){let n=l[t];if(4===n.kind&&n.labelText===e||el(n)&&ec(e,t-1))return n.breakLabel}else for(let e=l.length-1;e>=0;e--){let t=l[e];if(el(t))return t.breakLabel}}return 0}function eu(e){if(l){if(e)for(let t=l.length-1;t>=0;t--){let n=l[t];if(3===n.kind&&ec(e,t-1))return n.continueLabel}else for(let e=l.length-1;e>=0;e--){let t=l[e];if(3===t.kind)return t.continueLabel}}return 0}function e_(e){if(void 0!==e&&e>0){void 0===d&&(d=[]);let t=S.createNumericLiteral(-1);return void 0===d[e]?d[e]=[t]:d[e].push(t),t}return S.createOmittedExpression()}function ep(e){let t=S.createNumericLiteral(e);return IG(t,3,function(e){switch(e){case 2:return"return";case 3:return"break";case 4:return"yield";case 5:return"yield*";case 7:return"endfinally";default:return}}(e)),t}function ef(e,t){return T.assertLessThan(0,e,"Invalid label"),OV(S.createReturnStatement(S.createArrayLiteralExpression([ep(3),e_(e)])),t)}function em(e){e?ev(1,[e]):ev(0)}function eh(e,t,n){ev(2,[e,t],n)}function ey(e,t){ev(3,[e],t)}function eg(e,t,n){ev(5,[e,t],n)}function ev(e,t,n){void 0===u&&(u=[],_=[],p=[]),void 0===c&&Z(Q());let r=u.length;u[r]=e,_[r]=t,p[r]=n}function eb(e){(function(e){if(!y)return!0;if(!c||!d)return!1;for(let t=0;t=0;e--){let t=x[e];v=[S.createWithStatement(t.expression,S.createBlock(v))]}if(E){let{startLabel:e,catchLabel:t,finallyLabel:n,endLabel:r}=E;v.unshift(S.createExpressionStatement(S.createCallExpression(S.createPropertyAccessExpression(S.createPropertyAccessExpression(f,"trys"),"push"),void 0,[S.createArrayLiteralExpression([e_(e),e_(t),e_(n),e_(r)])]))),E=void 0}e&&v.push(S.createExpressionStatement(S.createAssignment(S.createPropertyAccessExpression(f,"label"),S.createNumericLiteral(M+1))))}g.push(S.createCaseClause(S.createNumericLiteral(M),v||[])),v=void 0}function eT(e){if(c)for(let t=0;ti.createAssignment(i.createPropertyAccessExpression(i.createIdentifier("exports"),i.createIdentifier(hi(t))),e),i.createVoidZero())));uD(a,Gw(n.externalHelpersImportDeclaration,I,gF)),uP(a,GR(r.statements,I,gF,c)),k(a,!1),vB(a,l());let u=i.updateSourceFile(r,OV(i.createNodeArray(a),r.statements));return IH(u,e.readEmitHelpers()),u}function x(t){let n=i.createIdentifier("define"),r=Oo(i,t,_,d),a=bV(t)&&t,{aliasedModuleNames:s,unaliasedModuleNames:l,importAliasNames:c}=A(t,!0),u=i.updateSourceFile(t,OV(i.createNodeArray([i.createExpressionStatement(i.createCallExpression(n,void 0,[...r?[r]:[],i.createArrayLiteralExpression(a?o:[i.createStringLiteral("require"),i.createStringLiteral("exports"),...s,...l]),a?a.statements.length?a.statements[0].expression:i.createObjectLiteralExpression():i.createFunctionExpression(void 0,void 0,void 0,void 0,[i.createParameterDeclaration(void 0,void 0,"require"),i.createParameterDeclaration(void 0,void 0,"exports"),...c],void 0,C(t))]))]),t.statements));return IH(u,e.readEmitHelpers()),u}function S(t){let{aliasedModuleNames:n,unaliasedModuleNames:r,importAliasNames:a}=A(t,!1),o=Oo(i,t,_,d),s=i.createFunctionExpression(void 0,void 0,void 0,void 0,[i.createParameterDeclaration(void 0,void 0,"factory")],void 0,OV(i.createBlock([i.createIfStatement(i.createLogicalAnd(i.createTypeCheck(i.createIdentifier("module"),"object"),i.createTypeCheck(i.createPropertyAccessExpression(i.createIdentifier("module"),"exports"),"object")),i.createBlock([i.createVariableStatement(void 0,[i.createVariableDeclaration("v",void 0,void 0,i.createCallExpression(i.createIdentifier("factory"),void 0,[i.createIdentifier("require"),i.createIdentifier("exports")]))]),IE(i.createIfStatement(i.createStrictInequality(i.createIdentifier("v"),i.createIdentifier("undefined")),i.createExpressionStatement(i.createAssignment(i.createPropertyAccessExpression(i.createIdentifier("module"),"exports"),i.createIdentifier("v")))),1)]),i.createIfStatement(i.createLogicalAnd(i.createTypeCheck(i.createIdentifier("define"),"function"),i.createPropertyAccessExpression(i.createIdentifier("define"),"amd")),i.createBlock([i.createExpressionStatement(i.createCallExpression(i.createIdentifier("define"),void 0,[...o?[o]:[],i.createArrayLiteralExpression([i.createStringLiteral("require"),i.createStringLiteral("exports"),...n,...r]),i.createIdentifier("factory")]))])))],!0),void 0)),l=i.updateSourceFile(t,OV(i.createNodeArray([i.createExpressionStatement(i.createCallExpression(s,void 0,[i.createFunctionExpression(void 0,void 0,void 0,void 0,[i.createParameterDeclaration(void 0,void 0,"require"),i.createParameterDeclaration(void 0,void 0,"exports"),...a],void 0,C(t))]))]),t.statements));return IH(l,e.readEmitHelpers()),l}function A(e,r){let a=[],o=[],s=[];for(let t of e.amdDependencies)t.name?(a.push(i.createStringLiteral(t.path)),s.push(i.createParameterDeclaration(void 0,void 0,t.name))):o.push(i.createStringLiteral(t.path));for(let e of n.externalImports){let n=Oa(i,e,t,_,u,d),l=Oi(i,e,t);n&&(r&&l?(IE(l,8),a.push(n),s.push(i.createParameterDeclaration(void 0,void 0,l))):o.push(n))}return{aliasedModuleNames:a,unaliasedModuleNames:o,importAliasNames:s}}function L(e){if(Nf(e)||NA(e)||!Oa(i,e,t,_,u,d))return;let n=Oi(i,e,t),r=M(e,n);if(r!==n)return i.createExpressionStatement(i.createAssignment(n,r))}function C(e){s();let t=[],a=i.copyPrologue(e.statements,t,!d.noImplicitUseStrict,I);b()&&uD(t,W()),dW(n.exportedNames)&&uD(t,i.createExpressionStatement(u2(n.exportedNames,(e,t)=>i.createAssignment(i.createPropertyAccessExpression(i.createIdentifier("exports"),i.createIdentifier(hi(t))),e),i.createVoidZero()))),uD(t,Gw(n.externalHelpersImportDeclaration,I,gF)),2===f&&uP(t,uu(n.externalImports,L)),uP(t,GR(e.statements,I,gF,a)),k(t,!0),vB(t,l());let o=i.createBlock(t,!0);return r&&Ij(o,iF),o}function k(e,t){if(n.exportEquals){let r=Gw(n.exportEquals.expression,R,gp);if(r){if(t){let t=i.createReturnStatement(r);OV(t,n.exportEquals),IE(t,3840),e.push(t)}else{let t=i.createExpressionStatement(i.createAssignment(i.createPropertyAccessExpression(i.createIdentifier("module"),"exports"),r));OV(t,n.exportEquals),IE(t,3072),e.push(t)}}}}function I(t){switch(t.kind){case 269:return function(e){let t;let n=TO(e);if(2!==f){if(!e.importClause)return Ih(OV(i.createExpressionStatement(P(e)),e),e);{let r=[];n&&!TM(e)?r.push(i.createVariableDeclaration(i.cloneNode(n.name),void 0,void 0,M(e,P(e)))):(r.push(i.createVariableDeclaration(i.getGeneratedNameForNode(e),void 0,void 0,M(e,P(e)))),n&&TM(e)&&r.push(i.createVariableDeclaration(i.cloneNode(n.name),void 0,void 0,i.getGeneratedNameForNode(e)))),t=uD(t,Ih(OV(i.createVariableStatement(void 0,i.createVariableDeclarationList(r,p>=2?2:0)),e),e))}}else n&&TM(e)&&(t=uD(t,i.createVariableStatement(void 0,i.createVariableDeclarationList([Ih(OV(i.createVariableDeclaration(i.cloneNode(n.name),void 0,void 0,i.getGeneratedNameForNode(e)),e),e)],p>=2?2:0))));if(G(e)){let t=G8(e);g[t]=B(g[t],e)}else t=B(t,e);return uQ(t)}(t);case 268:return function(e){let t;if(T.assert(Eq(e),"import= for internal module references should be handled in an earlier transformer."),2!==f?t=S3(e,1)?uD(t,Ih(OV(i.createExpressionStatement(z(e.name,P(e))),e),e)):uD(t,Ih(OV(i.createVariableStatement(void 0,i.createVariableDeclarationList([i.createVariableDeclaration(i.cloneNode(e.name),void 0,void 0,P(e))],p>=2?2:0)),e),e)):S3(e,1)&&(t=uD(t,Ih(OV(i.createExpressionStatement(z(i.getExportName(e),i.getLocalName(e))),e),e))),G(e)){let t=G8(e);g[t]=U(g[t],e)}else t=U(t,e);return uQ(t)}(t);case 275:return function(e){if(!e.moduleSpecifier)return;let t=i.getGeneratedNameForNode(e);if(e.exportClause&&NL(e.exportClause)){let n=[];for(let r of(2!==f&&n.push(Ih(OV(i.createVariableStatement(void 0,i.createVariableDeclarationList([i.createVariableDeclaration(t,void 0,void 0,P(e))])),e),e)),e.exportClause.elements))if(0===p)n.push(Ih(OV(i.createExpressionStatement(a().createCreateBindingHelper(t,i.createStringLiteralFromNode(r.propertyName||r.name),r.propertyName?i.createStringLiteralFromNode(r.name):void 0)),r),r));else{let o=!!C_(d)&&!(2&v1(e))&&"default"===hi(r.propertyName||r.name),s=i.createPropertyAccessExpression(o?a().createImportDefaultHelper(t):t,r.propertyName||r.name);n.push(Ih(OV(i.createExpressionStatement(z(i.getExportName(r),s,void 0,!0)),r),r))}return uQ(n)}if(!e.exportClause)return Ih(OV(i.createExpressionStatement(a().createExportStarHelper(2!==f?P(e):t)),e),e);{var n;let r=[];return r.push(Ih(OV(i.createExpressionStatement(z(i.cloneNode(e.exportClause.name),(n=2!==f?P(e):vX(e)?t:i.createIdentifier(hi(e.exportClause.name)),!C_(d)||2&v1(e)?n:G5(e)?a().createImportStarHelper(n):n))),e),e)),uQ(r)}}(t);case 274:return function(e){let t;if(e.isExportEquals)return;let n=e.original;if(n&&G(n)){let t=G8(e);g[t]=K(g[t],i.createIdentifier("default"),Gw(e.expression,R,gp),e,!0)}else t=K(t,i.createIdentifier("default"),Gw(e.expression,R,gp),e,!0);return uQ(t)}(t);case 240:return function(t){let n,r,a;if(S3(t,1)){let o;let s=!1;for(let n of t.declarationList.declarations)if(wb(n.name)&&DY(n.name))o||(o=GR(t.modifiers,q,yD)),r=n.initializer?uD(r,i.updateVariableDeclaration(n,n.name,void 0,void 0,z(n.name,Gw(n.initializer,R,gp)))):uD(r,n);else if(n.initializer){if(!y2(n.name)&&(RS(n.initializer)||Rx(n.initializer)||RP(n.initializer))){let e=i.createAssignment(OV(i.createPropertyAccessExpression(i.createIdentifier("exports"),n.name),n.name),i.createIdentifier(xU(n.name)));r=uD(r,i.createVariableDeclaration(n.name,n.exclamationToken,n.type,Gw(n.initializer,R,gp))),a=uD(a,e),s=!0}else a=uD(a,y2(n.name)?Bx(Gw(n,R,Lo),R,e,0,!1,F):i.createAssignment(OV(i.createPropertyAccessExpression(i.createIdentifier("exports"),n.name),n.name),n.initializer?Gw(n.initializer,R,gp):i.createVoidZero()))}if(r&&(n=uD(n,i.updateVariableStatement(t,o,i.updateVariableDeclarationList(t.declarationList,r)))),a){let e=Ih(OV(i.createExpressionStatement(i.inlineExpressions(a)),t),t);s&&Ib(e),n=uD(n,e)}}else n=uD(n,GB(t,R,e));if(G(t)){let e=G8(t);g[e]=V(g[e],t)}else n=V(n,t);return uQ(n)}(t);case 259:return function(t){let n;if(n=S3(t,1)?uD(n,Ih(OV(i.createFunctionDeclaration(GR(t.modifiers,q,yD),t.asteriskToken,i.getDeclarationName(t,!0,!0),void 0,GR(t.parameters,R,wG),void 0,GB(t.body,R,e)),t),t)):uD(n,GB(t,R,e)),G(t)){let e=G8(t);g[e]=j(g[e],t)}else n=j(n,t);return uQ(n)}(t);case 260:return function(t){let n;if(n=S3(t,1)?uD(n,Ih(OV(i.createClassDeclaration(GR(t.modifiers,q,yY),i.getDeclarationName(t,!0,!0),void 0,GR(t.heritageClauses,R,Nq),GR(t.members,R,yK)),t),t)):uD(n,GB(t,R,e)),G(t)){let e=G8(t);g[e]=j(g[e],t)}else n=j(n,t);return uQ(n)}(t);case 358:return function(e){if(G(e)&&240===e.original.kind){let t=G8(e);g[t]=V(g[t],e.original)}return e}(t);case 359:let n,r;return(r=g[n=G8(t)])?(delete g[n],uD(r,t)):t;default:return R(t)}}function w(n,a){if(!(276828160&n.transformFlags))return n;switch(n.kind){case 245:return i.updateForStatement(n,Gw(n.initializer,N,gS),Gw(n.condition,R,gp),Gw(n.incrementor,N,gp),GF(n.statement,R,e));case 241:return i.updateExpressionStatement(n,Gw(n.expression,N,gp));case 214:return i.updateParenthesizedExpression(n,Gw(n.expression,a?N:R,gp));case 356:return i.updatePartiallyEmittedExpression(n,Gw(n.expression,a?N:R,gp));case 210:if(bq(n)&&void 0===t.impliedNodeFormat)return function(n){if(0===f&&p>=7)return GB(n,R,e);let a=Oa(i,n,t,_,u,d),o=Gw(uK(n.arguments),R,gp),s=!a||o&&wr(o)&&o.text===a.text?o:a,l=!!(16384&n.transformFlags);switch(d.module){case 2:return D(s,l);case 3:return function(e,t){if(r=!0,Bn(e)){let n=yL(e)?e:wr(e)?i.createStringLiteralFromNode(e):IE(OV(i.cloneNode(e),e),3072);return i.createConditionalExpression(i.createIdentifier("__syncRequire"),void 0,O(e),void 0,D(n,t))}{let n=i.createTempVariable(c);return i.createComma(i.createAssignment(n,e),i.createConditionalExpression(i.createIdentifier("__syncRequire"),void 0,O(n,!0),void 0,D(n,t)))}}(null!=s?s:i.createVoidZero(),l);default:return O(s)}}(n);break;case 223:if(AC(n))return!function e(t){if(Rm(t))for(let n of t.properties)switch(n.kind){case 299:if(e(n.initializer))return!0;break;case 300:if(e(n.name))return!0;break;case 301:if(e(n.expression))return!0;break;case 171:case 174:case 175:return!1;default:T.assertNever(n,"Unhandled object member kind")}else if(Rf(t)){for(let n of t.elements)if(RM(n)){if(e(n.expression))return!0}else if(e(n))return!0}else if(wb(t))return dW(X(t))>(D$(t)?1:0);return!1}(n.left)?GB(n,R,e):Bx(n,R,e,0,!a,F);break;case 221:case 222:return function(t,n){if((45===t.operator||46===t.operator)&&wb(t.operand)&&!yL(t.operand)&&!DY(t.operand)&&!Li(t.operand)){let e=X(t.operand);if(e){let r;let a=Gw(t.operand,R,gp);for(let o of(RI(t)?a=i.updatePrefixUnaryExpression(t,a):(a=i.updatePostfixUnaryExpression(t,a),n||(r=i.createTempVariable(c),OV(a=i.createAssignment(r,a),t)),OV(a=i.createComma(a,i.cloneNode(t.operand)),t)),e))v[Gv(a)]=!0,OV(a=z(o,a),t);return r&&(v[Gv(a)]=!0,OV(a=i.createComma(a,r),t)),a}}return GB(t,R,e)}(n,a)}return GB(n,R,e)}function R(e){return w(e,!1)}function N(e){return w(e,!0)}function D(e,t){let n;let r=i.createUniqueName("resolve"),o=i.createUniqueName("reject"),s=[i.createParameterDeclaration(void 0,void 0,r),i.createParameterDeclaration(void 0,void 0,o)],l=i.createBlock([i.createExpressionStatement(i.createCallExpression(i.createIdentifier("require"),void 0,[i.createArrayLiteralExpression([e||i.createOmittedExpression()]),r,o]))]);p>=2?n=i.createArrowFunction(void 0,void 0,s,void 0,void 0,l):(n=i.createFunctionExpression(void 0,void 0,void 0,void 0,s,void 0,l),t&&IE(n,16));let c=i.createNewExpression(i.createIdentifier("Promise"),void 0,[n]);return C_(d)?i.createCallExpression(i.createPropertyAccessExpression(c,i.createIdentifier("then")),void 0,[a().createImportStarCallbackHelper()]):c}function O(e,t){let n;let r=e&&!Br(e)&&!t,o=i.createCallExpression(i.createPropertyAccessExpression(i.createIdentifier("Promise"),"resolve"),void 0,r?p>=2?[i.createTemplateExpression(i.createTemplateHead(""),[i.createTemplateSpan(e,i.createTemplateTail(""))])]:[i.createCallExpression(i.createPropertyAccessExpression(i.createStringLiteral(""),"concat"),void 0,[e])]:[]),s=i.createCallExpression(i.createIdentifier("require"),void 0,r?[i.createIdentifier("s")]:e?[e]:[]);C_(d)&&(s=a().createImportStarHelper(s));let l=r?[i.createParameterDeclaration(void 0,void 0,"s")]:[];return n=p>=2?i.createArrowFunction(void 0,void 0,l,void 0,void 0,s):i.createFunctionExpression(void 0,void 0,void 0,void 0,l,void 0,i.createBlock([i.createReturnStatement(s)])),i.createCallExpression(i.createPropertyAccessExpression(o,"then"),void 0,[n])}function M(e,t){return!C_(d)||2&v1(e)?t:G7(e)?a().createImportStarHelper(t):G9(e)?a().createImportDefaultHelper(t):t}function P(e){let n=Oa(i,e,t,_,u,d),r=[];return n&&r.push(n),i.createCallExpression(i.createIdentifier("require"),void 0,r)}function F(e,t,n){let r=X(e);if(r){let a=D$(e)?t:i.createAssignment(e,t);for(let e of r)IE(a,8),a=z(e,a,n);return a}return i.createAssignment(e,t)}function G(e){return(8388608&v0(e))!=0}function B(e,t){if(n.exportEquals)return e;let r=t.importClause;if(!r)return e;r.name&&(e=H(e,r));let i=r.namedBindings;if(i)switch(i.kind){case 271:e=H(e,i);break;case 272:for(let t of i.elements)e=H(e,t,!0)}return e}function U(e,t){return n.exportEquals?e:H(e,t)}function V(e,t){if(n.exportEquals)return e;for(let r of t.declarationList.declarations)e=function e(t,r){if(n.exportEquals)return t;if(y2(r.name))for(let n of r.name.elements)RF(n)||(t=e(t,n));else yL(r.name)||(t=H(t,r));return t}(e,r);return e}function j(e,t){return n.exportEquals||(S3(t,1)&&(e=K(e,S3(t,1024)?i.createIdentifier("default"):i.getDeclarationName(t),i.getLocalName(t),t)),t.name&&(e=H(e,t))),e}function H(e,t,r){let a=i.getDeclarationName(t),o=n.exportSpecifiers.get(hi(a));if(o)for(let t of o)e=K(e,t.name,a,t.name,void 0,r);return e}function K(e,t,n,r,a,o){let s;return e=uD(e,(D9(s=OV(i.createExpressionStatement(z(t,n,void 0,o)),r)),a||IE(s,3072),s))}function W(){let e;return IE(e=0===p?i.createExpressionStatement(z(i.createIdentifier("__esModule"),i.createTrue())):i.createExpressionStatement(i.createCallExpression(i.createPropertyAccessExpression(i.createIdentifier("Object"),"defineProperty"),void 0,[i.createIdentifier("exports"),i.createStringLiteral("__esModule"),i.createObjectLiteralExpression([i.createPropertyAssignment("value",i.createTrue())])])),2097152),e}function z(e,t,n,r){return OV(r&&0!==p?i.createCallExpression(i.createPropertyAccessExpression(i.createIdentifier("Object"),"defineProperty"),void 0,[i.createIdentifier("exports"),i.createStringLiteralFromNode(e),i.createObjectLiteralExpression([i.createPropertyAssignment("enumerable",i.createTrue()),i.createPropertyAssignment("get",i.createFunctionExpression(void 0,void 0,void 0,void 0,[],void 0,i.createBlock([i.createReturnStatement(t)])))])]):i.createAssignment(i.createPropertyAccessExpression(i.createIdentifier("exports"),i.cloneNode(e)),t),n)}function q(e){switch(e.kind){case 93:case 88:return}return e}function J(e){var n,r;if(8192&v0(e)){let n=Oe(t);if(n)return i.createPropertyAccessExpression(n,e)}else if(!(yL(e)&&!(64&e.emitNode.autoGenerate.flags))&&!DY(e)){let t=u.getReferencedExportContainer(e,D$(e));if(t&&308===t.kind)return OV(i.createPropertyAccessExpression(i.createIdentifier("exports"),i.cloneNode(e)),e);let a=u.getReferencedImportDeclaration(e);if(a){if(Nh(a))return OV(i.createPropertyAccessExpression(i.getGeneratedNameForNode(a.parent),i.createIdentifier("default")),e);if(Nx(a)){let t=a.propertyName||a.name;return OV(i.createPropertyAccessExpression(i.getGeneratedNameForNode((null==(r=null==(n=a.parent)?void 0:n.parent)?void 0:r.parent)||a),i.cloneNode(t)),e)}}}return e}function X(e){if(!yL(e)){let t=u.getReferencedImportDeclaration(e)||u.getReferencedValueDeclaration(e);if(t)return n&&n.exportedBindings[G8(t)]}}}var Uo=dj({"src/compiler/transformers/module/module.ts"(){Kr(),iF={name:"typescript:dynamicimport-sync-require",scoped:!0,text:` + var __syncRequire = typeof module === "object" && typeof module.exports === "object";`}}});function Us(e){let t,n,r,i,a,o,s;let{factory:l,startLexicalEnvironment:c,endLexicalEnvironment:d,hoistVariableDeclaration:u}=e,_=e.getCompilerOptions(),p=e.getEmitResolver(),f=e.getEmitHost(),m=e.onSubstituteNode,h=e.onEmitNode;e.onSubstituteNode=function(e,n){var r,a;return(r=n=m(e,n),s&&r.id&&s[r.id])?n:1===e?function(e){switch(e.kind){case 79:return function(e){var n,r;if(8192&v0(e)){let n=Oe(t);return n?l.createPropertyAccessExpression(n,e):e}if(!yL(e)&&!DY(e)){let t=p.getReferencedImportDeclaration(e);if(t){if(Nh(t))return OV(l.createPropertyAccessExpression(l.getGeneratedNameForNode(t.parent),l.createIdentifier("default")),e);if(Nx(t))return OV(l.createPropertyAccessExpression(l.getGeneratedNameForNode((null==(r=null==(n=t.parent)?void 0:n.parent)?void 0:r.parent)||t),l.cloneNode(t.propertyName||t.name)),e)}}return e}(e);case 223:return function(e){if(AT(e.operatorToken.kind)&&wb(e.left)&&!yL(e.left)&&!DY(e.left)&&!Li(e.left)){let t=q(e.left);if(t){let n=e;for(let e of t)n=B(e,J(n));return n}}return e}(e);case 233:return bJ(e)?l.createPropertyAccessExpression(i,l.createIdentifier("meta")):e}return e}(n):4===e?300===(a=n).kind?function(e){var t,n;let r=e.name;if(!yL(r)&&!DY(r)){let i=p.getReferencedImportDeclaration(r);if(i){if(Nh(i))return OV(l.createPropertyAssignment(l.cloneNode(r),l.createPropertyAccessExpression(l.getGeneratedNameForNode(i.parent),l.createIdentifier("default"))),e);if(Nx(i))return OV(l.createPropertyAssignment(l.cloneNode(r),l.createPropertyAccessExpression(l.getGeneratedNameForNode((null==(n=null==(t=i.parent)?void 0:t.parent)?void 0:n.parent)||i),l.cloneNode(i.propertyName||i.name))),e)}}return e}(a):a:n},e.onEmitNode=function(e,a,o){if(308===a.kind){let l=G8(a);t=a,n=y[l],r=v[l],s=b[l],i=E[l],s&&delete b[l],h(e,a,o),t=void 0,n=void 0,r=void 0,i=void 0,s=void 0}else h(e,a,o)},e.enableSubstitution(79),e.enableSubstitution(300),e.enableSubstitution(223),e.enableSubstitution(233),e.enableEmitNotification(308);let y=[],g=[],v=[],b=[],E=[];return G3(e,function(u){let m,h,g,A,L,C,k;if(u.isDeclarationFile||!(bl(u,_)||8388608&u.transformFlags))return u;let I=G8(u);t=u,o=u,n=y[I]=Be(e,u,p,_),r=l.createUniqueName("exports"),v[I]=r,i=E[I]=l.createUniqueName("context");let w=function(e){let n=new Map,r=[];for(let i of e){let e=Oa(l,i,t,f,p,_);if(e){let t=e.text,a=n.get(t);void 0!==a?r[a].externalImports.push(i):(n.set(t,r.length),r.push({name:e,externalImports:[i]}))}}return r}(n.externalImports),R=(m=[],c(),h=CE(_,"alwaysStrict")||!_.noImplicitUseStrict&&Md(t),g=l.copyPrologue(u.statements,m,h,S),m.push(l.createVariableStatement(void 0,l.createVariableDeclarationList([l.createVariableDeclaration("__moduleName",void 0,void 0,l.createLogicalAnd(i,l.createPropertyAccessExpression(i,"id")))]))),Gw(n.externalHelpersImportDeclaration,S,gF),A=GR(u.statements,S,gF,g),uP(m,a),vB(m,d()),L=function(e){if(!n.hasExportStarsToExportValues)return;if(!n.exportedNames&&0===n.exportSpecifiers.size){let t=!1;for(let e of n.externalImports)if(275===e.kind&&e.exportClause){t=!0;break}if(!t){let t=x(void 0);return e.push(t),t.name}}let t=[];if(n.exportedNames)for(let e of n.exportedNames)"default"!==e.escapedText&&t.push(l.createPropertyAssignment(l.createStringLiteralFromNode(e),l.createTrue()));let r=l.createUniqueName("exportedNames");e.push(l.createVariableStatement(void 0,l.createVariableDeclarationList([l.createVariableDeclaration(r,void 0,void 0,l.createObjectLiteralExpression(t,!0))])));let i=x(r);return e.push(i),i.name}(m),C=2097152&u.transformFlags?l.createModifiersFromModifierFlags(512):void 0,k=l.createObjectLiteralExpression([l.createPropertyAssignment("setters",function(e,n){let i=[];for(let a of n){let n=dz(a.externalImports,e=>Oi(l,e,t)),o=n?l.getGeneratedNameForNode(n):l.createUniqueName(""),s=[];for(let n of a.externalImports){let i=Oi(l,n,t);switch(n.kind){case 269:if(!n.importClause)break;case 268:T.assert(void 0!==i),s.push(l.createExpressionStatement(l.createAssignment(i,o))),S3(n,1)&&s.push(l.createExpressionStatement(l.createCallExpression(r,void 0,[l.createStringLiteral(hi(i)),o])));break;case 275:if(T.assert(void 0!==i),n.exportClause){if(NL(n.exportClause)){let e=[];for(let t of n.exportClause.elements)e.push(l.createPropertyAssignment(l.createStringLiteral(hi(t.name)),l.createElementAccessExpression(o,l.createStringLiteral(hi(t.propertyName||t.name)))));s.push(l.createExpressionStatement(l.createCallExpression(r,void 0,[l.createObjectLiteralExpression(e,!0)])))}else s.push(l.createExpressionStatement(l.createCallExpression(r,void 0,[l.createStringLiteral(hi(n.exportClause.name)),o])))}else s.push(l.createExpressionStatement(l.createCallExpression(e,void 0,[o])))}}i.push(l.createFunctionExpression(void 0,void 0,void 0,void 0,[l.createParameterDeclaration(void 0,void 0,o)],void 0,l.createBlock(s,!0)))}return l.createArrayLiteralExpression(i,!0)}(L,w)),l.createPropertyAssignment("execute",l.createFunctionExpression(C,void 0,void 0,void 0,[],void 0,l.createBlock(A,!0)))],!0),m.push(l.createReturnStatement(k)),l.createBlock(m,!0)),N=l.createFunctionExpression(void 0,void 0,void 0,void 0,[l.createParameterDeclaration(void 0,void 0,r),l.createParameterDeclaration(void 0,void 0,i)],void 0,R),D=Oo(l,u,f,_),O=l.createArrayLiteralExpression(un(w,e=>e.name)),M=IE(l.updateSourceFile(u,OV(l.createNodeArray([l.createExpressionStatement(l.createCallExpression(l.createPropertyAccessExpression(l.createIdentifier("System"),"register"),void 0,D?[D,O,N]:[O,N]))]),u.statements)),2048);return SL(_)||Iz(M,R,e=>!e.scoped),s&&(b[I]=s,s=void 0),t=void 0,n=void 0,r=void 0,i=void 0,a=void 0,o=void 0,M});function x(e){let t=l.createUniqueName("exportStar"),n=l.createIdentifier("m"),i=l.createIdentifier("n"),a=l.createIdentifier("exports"),o=l.createStrictInequality(i,l.createStringLiteral("default"));return e&&(o=l.createLogicalAnd(o,l.createLogicalNot(l.createCallExpression(l.createPropertyAccessExpression(e,"hasOwnProperty"),void 0,[i])))),l.createFunctionDeclaration(void 0,void 0,t,void 0,[l.createParameterDeclaration(void 0,void 0,n)],void 0,l.createBlock([l.createVariableStatement(void 0,l.createVariableDeclarationList([l.createVariableDeclaration(a,void 0,void 0,l.createObjectLiteralExpression([]))])),l.createForInStatement(l.createVariableDeclarationList([l.createVariableDeclaration(i)]),n,l.createBlock([IE(l.createIfStatement(o,l.createExpressionStatement(l.createAssignment(l.createElementAccessExpression(a,i),l.createElementAccessExpression(n,i)))),1)])),l.createExpressionStatement(l.createCallExpression(r,void 0,[a]))],!0))}function S(e){switch(e.kind){case 269:return function(e){let n;if(e.importClause&&u(Oi(l,e,t)),R(e)){let t=G8(e);g[t]=N(g[t],e)}else n=N(n,e);return uQ(n)}(e);case 268:return function(e){let n;if(T.assert(Eq(e),"import= for internal module references should be handled in an earlier transformer."),u(Oi(l,e,t)),R(e)){let t=G8(e);g[t]=D(g[t],e)}else n=D(n,e);return uQ(n)}(e);case 275:return void T.assertIsDefined(e);case 274:return function(e){if(e.isExportEquals)return;let t=Gw(e.expression,K,gp),n=e.original;if(!(n&&R(n)))return G(l.createIdentifier("default"),t,!0);{let n=G8(e);g[n]=F(g[n],l.createIdentifier("default"),t,!0)}}(e);default:return U(e)}}function A(e){if(y2(e.name))for(let t of e.name.elements)RF(t)||A(t);else u(l.cloneNode(e.name))}function L(e){return(4194304&v0(e))==0&&(308===o.kind||(3&m7(e).flags)==0)}function C(t,n){let r=n?k:I;return y2(t.name)?Bx(t,K,e,0,!1,r):t.initializer?r(t.name,Gw(t.initializer,K,gp)):t.name}function k(e,t,n){return w(e,t,n,!0)}function I(e,t,n){return w(e,t,n,!1)}function w(e,t,n,r){return u(l.cloneNode(e)),r?B(e,J(OV(l.createAssignment(e,t),n))):J(OV(l.createAssignment(e,t),n))}function R(e){return(8388608&v0(e))!=0}function N(e,t){if(n.exportEquals)return e;let r=t.importClause;if(!r)return e;r.name&&(e=P(e,r));let i=r.namedBindings;if(i)switch(i.kind){case 271:e=P(e,i);break;case 272:for(let t of i.elements)e=P(e,t)}return e}function D(e,t){return n.exportEquals?e:P(e,t)}function O(e,t,r){if(n.exportEquals)return e;for(let i of t.declarationList.declarations)(i.initializer||r)&&(e=function e(t,r,i){if(n.exportEquals)return t;if(y2(r.name))for(let n of r.name.elements)RF(n)||(t=e(t,n,i));else if(!yL(r.name)){let e;i&&(t=F(t,r.name,l.getLocalName(r)),e=hi(r.name)),t=P(t,r,e)}return t}(e,i,r));return e}function M(e,t){let r;if(n.exportEquals)return e;if(S3(t,1)){let n=S3(t,1024)?l.createStringLiteral("default"):t.name;e=F(e,n,l.getLocalName(t)),r=xU(n)}return t.name&&(e=P(e,t,r)),e}function P(e,t,r){if(n.exportEquals)return e;let i=l.getDeclarationName(t),a=n.exportSpecifiers.get(hi(i));if(a)for(let t of a)t.name.escapedText!==r&&(e=F(e,t.name,i));return e}function F(e,t,n,r){return e=uD(e,G(t,n,r))}function G(e,t,n){let r=l.createExpressionStatement(B(e,t));return D9(r),n||IE(r,3072),r}function B(e,t){let n=wb(e)?l.createStringLiteralFromNode(e):e;return IE(t,3072|v0(t)),IN(l.createCallExpression(r,void 0,[n,t]),t)}function U(t){var n,r,i,s,c;switch(t.kind){case 240:return function(e){let t,n;if(!L(e.declarationList))return Gw(e,K,gF);let r=S3(e,1),i=R(e);for(let n of e.declarationList.declarations)n.initializer?t=uD(t,C(n,r&&!i)):A(n);if(t&&(n=uD(n,OV(l.createExpressionStatement(l.inlineExpressions(t)),e))),i){let t=G8(e);g[t]=O(g[t],e,r)}else n=O(n,e,!1);return uQ(n)}(t);case 259:return function(t){if(a=S3(t,1)?uD(a,l.updateFunctionDeclaration(t,GR(t.modifiers,z,yY),t.asteriskToken,l.getDeclarationName(t,!0,!0),void 0,GR(t.parameters,K,wG),void 0,Gw(t.body,K,RJ))):uD(a,GB(t,K,e)),R(t)){let e=G8(t);g[e]=M(g[e],t)}else a=M(a,t)}(t);case 260:return function(e){let t;let n=l.getLocalName(e);if(u(n),t=uD(t,OV(l.createExpressionStatement(l.createAssignment(n,OV(l.createClassExpression(GR(e.modifiers,z,yY),e.name,void 0,GR(e.heritageClauses,K,Nq),GR(e.members,K,yK)),e))),e)),R(e)){let t=G8(e);g[t]=M(g[t],e)}else t=M(t,e);return uQ(t)}(t);case 245:return V(t,!0);case 246:let d;return n=t,d=o,o=n,n=l.updateForInStatement(n,j(n.initializer),Gw(n.expression,K,gp),GF(n.statement,U,e)),o=d,n;case 247:let _;return r=t,_=o,o=r,r=l.updateForOfStatement(r,r.awaitModifier,j(r.initializer),Gw(r.expression,K,gp),GF(r.statement,U,e)),o=_,r;case 243:return l.updateDoStatement(t,GF(t.statement,U,e),Gw(t.expression,K,gp));case 244:return l.updateWhileStatement(t,Gw(t.expression,K,gp),GF(t.statement,U,e));case 253:return l.updateLabeledStatement(t,t.label,T.checkDefined(Gw(t.statement,U,gF,l.liftToBlock)));case 251:return l.updateWithStatement(t,Gw(t.expression,K,gp),T.checkDefined(Gw(t.statement,U,gF,l.liftToBlock)));case 252:return l.updateSwitchStatement(t,Gw(t.expression,K,gp),T.checkDefined(Gw(t.caseBlock,U,N_)));case 266:let p;return i=t,p=o,o=i,i=l.updateCaseBlock(i,GR(i.clauses,U,gW)),o=p,i;case 292:return l.updateCaseClause(t,Gw(t.expression,K,gp),GR(t.statements,U,gF));case 293:case 255:return GB(t,U,e);case 295:let f;return s=t,f=o,o=s,s=l.updateCatchClause(s,s.variableDeclaration,T.checkDefined(Gw(s.block,U,RJ))),o=f,s;case 238:let m;return c=t,m=o,o=c,c=GB(c,U,e),o=m,c;case 358:return function(e){if(R(e)&&240===e.original.kind){let t=G8(e),n=S3(e.original,1);g[t]=O(g[t],e.original,n)}return e}(t);case 359:return function(e){let t=G8(e),n=g[t];if(n)return delete g[t],uD(n,e);{let t=m7(e);if(gI(t))return uD(P(n,t),e)}return e}(t);default:return K(t)}}function V(t,n){let r=o;return o=t,t=l.updateForStatement(t,Gw(t.initializer,n?j:W,gS),Gw(t.condition,K,gp),Gw(t.incrementor,W,gp),GF(t.statement,n?U:K,e)),o=r,t}function j(e){if(!(Ni(e)&&L(e)))return Gw(e,W,gS);{let t;for(let n of e.declarations)t=uD(t,C(n,!1)),n.initializer||A(n);return t?l.inlineExpressions(t):l.createOmittedExpression()}}function H(n,r){if(!(276828160&n.transformFlags))return n;switch(n.kind){case 245:return V(n,!1);case 241:return l.updateExpressionStatement(n,Gw(n.expression,W,gp));case 214:return l.updateParenthesizedExpression(n,Gw(n.expression,r?W:K,gp));case 356:return l.updatePartiallyEmittedExpression(n,Gw(n.expression,r?W:K,gp));case 223:if(AC(n))return!function e(t){if(AA(t,!0))return e(t.left);if(RM(t))return e(t.expression);if(Rm(t))return uv(t.properties,e);{if(Rf(t))return uv(t.elements,e);if(NY(t))return e(t.name);if(NX(t))return e(t.initializer);if(!wb(t))return!1;let n=p.getReferencedExportContainer(t);return void 0!==n&&308===n.kind}}(n.left)?GB(n,K,e):Bx(n,K,e,0,!r);break;case 210:if(bq(n)){let e,r,a;return e=Oa(l,n,t,f,p,_),r=Gw(uK(n.arguments),K,gp),a=!e||r&&wr(r)&&r.text===e.text?r:e,l.createCallExpression(l.createPropertyAccessExpression(i,l.createIdentifier("import")),void 0,a?[a]:[])}break;case 221:case 222:return function(t,n){if((45===t.operator||46===t.operator)&&wb(t.operand)&&!yL(t.operand)&&!DY(t.operand)&&!Li(t.operand)){let e=q(t.operand);if(e){let r;let i=Gw(t.operand,K,gp);for(let a of(RI(t)?i=l.updatePrefixUnaryExpression(t,i):(i=l.updatePostfixUnaryExpression(t,i),n||(r=l.createTempVariable(u),OV(i=l.createAssignment(r,i),t)),OV(i=l.createComma(i,l.cloneNode(t.operand)),t)),e))i=B(a,J(i));return r&&OV(i=l.createComma(i,r),t),i}}return GB(t,K,e)}(n,r)}return GB(n,K,e)}function K(e){return H(e,!1)}function W(e){return H(e,!0)}function z(e){switch(e.kind){case 93:case 88:return}return e}function q(e){let t;if(!yL(e)){let r=p.getReferencedImportDeclaration(e)||p.getReferencedValueDeclaration(e);if(r){let i=p.getReferencedExportContainer(e,!1);i&&308===i.kind&&(t=uD(t,l.getDeclarationName(r))),t=uP(t,n&&n.exportedBindings[G8(r)])}}return t}function J(e){return void 0===s&&(s=[]),s[Gv(e)]=!0,e}}var Ul=dj({"src/compiler/transformers/module/system.ts"(){Kr()}});function Uc(e){let t,n,r;let{factory:i,getEmitHelperFactory:a}=e,o=e.getEmitHost(),s=e.getEmitResolver(),l=e.getCompilerOptions(),c=Ct(l),d=e.onEmitNode,u=e.onSubstituteNode;return e.onEmitNode=function(e,n,r){N0(n)?((Md(n)||Cs(l))&&l.importHelpers&&(t=new Map),d(e,n,r),t=void 0):d(e,n,r)},e.onSubstituteNode=function(e,n){let r,a;return(n=u(e,n),t&&wb(n)&&8192&v0(n))?(r=hi(n),(a=t.get(r))||t.set(r,a=i.createUniqueName(r,48)),a):n},e.enableEmitNotification(308),e.enableSubstitution(79),G3(e,function(t){if(t.isDeclarationFile)return t;if(Md(t)||Cs(l)){n=t,r=void 0;let o=function(t){let n=On(i,a(),t,l);if(!n)return GB(t,_,e);{let e=[],r=i.copyPrologue(t.statements,e);return uD(e,n),uP(e,GR(t.statements,_,gF,r)),i.updateSourceFile(t,OV(i.createNodeArray(e),t.statements))}}(t);return(n=void 0,r&&(o=i.updateSourceFile(o,OV(i.createNodeArray(vU(o.statements.slice(),r)),o.statements))),!Md(t)||uv(o.statements,gb))?o:i.updateSourceFile(o,OV(i.createNodeArray([...o.statements,DP(i)]),o.statements))}return t});function _(e){var t;switch(e.kind){case 268:let a;return Cn(l)>=100?(T.assert(Eq(e),"import= for internal module references should be handled in an earlier transformer."),uQ((t=a=uD(a,Ih(OV(i.createVariableStatement(void 0,i.createVariableDeclarationList([i.createVariableDeclaration(i.cloneNode(e.name),void 0,void 0,function(e){let t=Oa(i,e,T.checkDefined(n),o,s,l),a=[];if(t&&a.push(t),!r){let e=i.createUniqueName("_createRequire",48),t=i.createImportDeclaration(void 0,i.createImportClause(!1,void 0,i.createNamedImports([i.createImportSpecifier(!1,i.createIdentifier("createRequire"),e)])),i.createStringLiteral("module")),n=i.createUniqueName("__require",48);r=[t,i.createVariableStatement(void 0,i.createVariableDeclarationList([i.createVariableDeclaration(n,void 0,void 0,i.createCallExpression(i.cloneNode(e),void 0,[i.createPropertyAccessExpression(i.createMetaProperty(100,i.createIdentifier("meta")),i.createIdentifier("url"))]))],c>=2?2:0))]}let d=r[1].declarationList.declarations[0].name;return T.assertNode(d,wb),i.createCallExpression(i.cloneNode(d),void 0,a)}(e))],c>=2?2:0)),e),e)),S3(e,1)&&(t=uD(t,i.createExportDeclaration(void 0,e.isTypeOnly,i.createNamedExports([i.createExportSpecifier(!1,void 0,hi(e.name))])))),a=t))):void 0;case 274:return e.isExportEquals?void 0:e;case 275:return function(e){if(void 0!==l.module&&l.module>5||!e.exportClause||!NE(e.exportClause)||!e.moduleSpecifier)return e;let t=e.exportClause.name,n=i.getGeneratedNameForNode(t),r=i.createImportDeclaration(void 0,i.createImportClause(!1,void 0,i.createNamespaceImport(n)),e.moduleSpecifier,e.assertClause);Ih(r,e.exportClause);let a=vX(e)?i.createExportDefault(n):i.createExportDeclaration(void 0,!1,i.createNamedExports([i.createExportSpecifier(!1,n,t)]));return Ih(a,e),[r,a]}(e)}return e}}var Ud=dj({"src/compiler/transformers/module/esnextAnd2015.ts"(){Kr()}});function Uu(e){let t;let n=e.onSubstituteNode,r=e.onEmitNode,i=Uc(e),a=e.onSubstituteNode,o=e.onEmitNode;e.onSubstituteNode=n,e.onEmitNode=r;let s=Ua(e),l=e.onSubstituteNode,c=e.onEmitNode;return e.onSubstituteNode=function(e,r){return N0(r)?(t=r,n(e,r)):t?99===t.impliedNodeFormat?a(e,r):l(e,r):n(e,r)},e.onEmitNode=function(e,n,i){return(N0(n)&&(t=n),t)?99===t.impliedNodeFormat?o(e,n,i):c(e,n,i):r(e,n,i)},e.enableSubstitution(308),e.enableEmitNotification(308),function(t){return 308===t.kind?d(t):e.factory.createBundle(un(t.sourceFiles,d),t.prepends)};function d(e){if(e.isDeclarationFile)return e;t=e;let n=(99===e.impliedNodeFormat?i:s)(e);return t=void 0,T.assert(N0(n)),n}}var U_=dj({"src/compiler/transformers/module/node.ts"(){Kr()}});function Up(e){return Nr(e)||wV(e)||wU(e)||Rp(e)||gX(e)||gY(e)||wX(e)||wJ(e)||wH(e)||wj(e)||Na(e)||wG(e)||wF(e)||RG(e)||Nf(e)||Nl(e)||wW(e)||wY(e)||Rh(e)||TB(e)}function Uf(e){return gX(e)||gY(e)?function(t){let n=S5(e)?t.errorModuleName?2===t.accessibility?tA.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:tA.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:tA.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:260===e.parent.kind?t.errorModuleName?2===t.accessibility?tA.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:tA.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:tA.Public_property_0_of_exported_class_has_or_is_using_private_name_1:t.errorModuleName?tA.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:tA.Property_0_of_exported_interface_has_or_is_using_private_name_1;return void 0!==n?{diagnosticMessage:n,errorNode:e,typeName:e.name}:void 0}:wj(e)||wH(e)?function(t){let n=S5(e)?t.errorModuleName?2===t.accessibility?tA.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:tA.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:tA.Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:260===e.parent.kind?t.errorModuleName?2===t.accessibility?tA.Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:tA.Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:tA.Public_method_0_of_exported_class_has_or_is_using_private_name_1:t.errorModuleName?tA.Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:tA.Method_0_of_exported_interface_has_or_is_using_private_name_1;return void 0!==n?{diagnosticMessage:n,errorNode:e,typeName:e.name}:void 0}:Um(e)}function Um(e){if(Nr(e)||wV(e)||wU(e)||Rh(e)||Rp(e)||wW(e))return t;if(gX(e)||gY(e))return function(t){return{diagnosticMessage:175===e.kind?S5(e)?t.errorModuleName?tA.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:tA.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:t.errorModuleName?tA.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:tA.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:S5(e)?t.errorModuleName?2===t.accessibility?tA.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:tA.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:tA.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:t.errorModuleName?2===t.accessibility?tA.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:tA.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:tA.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1,errorNode:e.name,typeName:e.name}};if(wX(e)||wJ(e)||wH(e)||wj(e)||Na(e)||wY(e))return function(t){let n;switch(e.kind){case 177:n=t.errorModuleName?tA.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:tA.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 176:n=t.errorModuleName?tA.Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:tA.Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 178:n=t.errorModuleName?tA.Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:tA.Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 171:case 170:n=S5(e)?t.errorModuleName?2===t.accessibility?tA.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:tA.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:tA.Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:260===e.parent.kind?t.errorModuleName?2===t.accessibility?tA.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:tA.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:tA.Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:t.errorModuleName?tA.Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:tA.Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0;break;case 259:n=t.errorModuleName?2===t.accessibility?tA.Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:tA.Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:tA.Return_type_of_exported_function_has_or_is_using_private_name_0;break;default:return T.fail("This is unknown kind for signature: "+e.kind)}return{diagnosticMessage:n,errorNode:e.name||e}};if(wG(e))return mZ(e,e.parent)&&S3(e.parent,8)?t:function(t){let n=function(t){switch(e.parent.kind){case 173:return t.errorModuleName?2===t.accessibility?tA.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:tA.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:tA.Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1;case 177:case 182:return t.errorModuleName?tA.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:tA.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;case 176:return t.errorModuleName?tA.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:tA.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;case 178:return t.errorModuleName?tA.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:tA.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1;case 171:case 170:if(S5(e.parent))return t.errorModuleName?2===t.accessibility?tA.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:tA.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:tA.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1;if(260===e.parent.parent.kind)return t.errorModuleName?2===t.accessibility?tA.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:tA.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:tA.Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1;return t.errorModuleName?tA.Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:tA.Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;case 259:case 181:return t.errorModuleName?2===t.accessibility?tA.Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:tA.Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:tA.Parameter_0_of_exported_function_has_or_is_using_private_name_1;case 175:case 174:return t.errorModuleName?2===t.accessibility?tA.Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:tA.Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:tA.Parameter_0_of_accessor_has_or_is_using_private_name_1;default:return T.fail(`Unknown parent for parameter: ${T.formatSyntaxKind(e.parent.kind)}`)}}(t);return void 0!==n?{diagnosticMessage:n,errorNode:e,typeName:e.name}:void 0};if(wF(e))return function(){let t;switch(e.parent.kind){case 260:t=tA.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;break;case 261:t=tA.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;break;case 197:t=tA.Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1;break;case 182:case 177:t=tA.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 176:t=tA.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 171:case 170:t=S5(e.parent)?tA.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:260===e.parent.parent.kind?tA.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:tA.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;break;case 181:case 259:t=tA.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;break;case 192:t=tA.Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1;break;case 262:t=tA.Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1;break;default:return T.fail("This is unknown parent for type parameter: "+e.parent.kind)}return{diagnosticMessage:t,errorNode:e,typeName:e.name}};if(RG(e))return function(){return{diagnosticMessage:No(e.parent.parent)?Nq(e.parent)&&117===e.parent.token?tA.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:e.parent.parent.name?tA.extends_clause_of_exported_class_0_has_or_is_using_private_name_1:tA.extends_clause_of_exported_class_has_or_is_using_private_name_0:tA.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1,errorNode:e,typeName:hp(e.parent.parent)}};if(Nf(e))return function(){return{diagnosticMessage:tA.Import_declaration_0_is_using_private_name_1,errorNode:e,typeName:e.name}};if(Nl(e)||TB(e))return function(t){return{diagnosticMessage:t.errorModuleName?tA.Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:tA.Exported_type_alias_0_has_or_is_using_private_name_1,errorNode:TB(e)?T.checkDefined(e.typeExpression):e.type,typeName:TB(e)?hp(e):e.name}};return T.assertNever(e,`Attempted to set a declaration diagnostic context for unhandled node kind: ${T.formatSyntaxKind(e.kind)}`);function t(t){let n=257===e.kind||205===e.kind?t.errorModuleName?2===t.accessibility?tA.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:tA.Exported_variable_0_has_or_is_using_name_1_from_private_module_2:tA.Exported_variable_0_has_or_is_using_private_name_1:169===e.kind||208===e.kind||168===e.kind||166===e.kind&&S3(e.parent,8)?S5(e)?t.errorModuleName?2===t.accessibility?tA.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:tA.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:tA.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:260===e.parent.kind||166===e.kind?t.errorModuleName?2===t.accessibility?tA.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:tA.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:tA.Public_property_0_of_exported_class_has_or_is_using_private_name_1:t.errorModuleName?tA.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:tA.Property_0_of_exported_interface_has_or_is_using_private_name_1:void 0;return void 0!==n?{diagnosticMessage:n,errorNode:e,typeName:e.name}:void 0}}var Uh=dj({"src/compiler/transformers/declarations/diagnostics.ts"(){Kr()}});function Uy(e,t,n){let r=e.getCompilerOptions();return Uw(t,e,nU,r,n?[n]:d9(e.getSourceFiles(),E1),[Ub],!1).diagnostics}function Ug(e,t){return _2(t.text.substring(e.pos,e.end),"@internal")}function Uv(e,t){let n=ht(e);if(n&&166===n.kind){let r=n.parent.parameters.indexOf(n),i=r>0?n.parent.parameters[r-1]:void 0,a=t.text,o=i?uE(mE(a,mc(a,i.end+1,!1,!0)),mb(a,e.pos)):mE(a,mc(a,e.pos,!1,!0));return o&&o.length&&Ug(uX(o),t)}return!!dz(n&&b1(n,t),e=>Ug(e,t))}function Ub(e){let t,n,r,i,a,s,l,c,d,u,_,p;let f=()=>T.fail("Diagnostic emitted without context"),m=f,h=!0,y=!1,g=!1,v=!1,b=!1,{factory:E}=e,x=e.getEmitHost(),S={trackSymbol:function(e,t,n){if(262144&e.flags)return!1;let r=w(A.isSymbolAccessible(e,t,n,!0));return I(A.getTypeReferenceDirectivesForSymbol(e,n)),r},reportInaccessibleThisError:function(){(l||c)&&e.addDiagnostic(bC(l||c,tA.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,R(),"this"))},reportInaccessibleUniqueSymbolError:function(){(l||c)&&e.addDiagnostic(bC(l||c,tA.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,R(),"unique symbol"))},reportCyclicStructureError:function(){(l||c)&&e.addDiagnostic(bC(l||c,tA.The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary,R()))},reportPrivateInBaseOfClassExpression:function(t){(l||c)&&e.addDiagnostic(bC(l||c,tA.Property_0_of_exported_class_expression_may_not_be_private_or_protected,t))},reportLikelyUnsafeImportRequiredError:function(t){(l||c)&&e.addDiagnostic(bC(l||c,tA.The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary,R(),t))},reportTruncationError:function(){(l||c)&&e.addDiagnostic(bC(l||c,tA.The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed))},moduleResolverHost:x,trackReferencedAmbientModule:function(e,t){let n=A.getTypeReferenceDirectivesForSymbol(t,67108863);if(dW(n))return I(n);let r=vS(e);u.set(G8(r),r)},trackExternalModuleSymbolOfImportTypeNode:function(e){y||(s||(s=[])).push(e)},reportNonlocalAugmentation:function(t,n,r){var i;let a=null==(i=n.declarations)?void 0:i.find(e=>vS(e)===t),o=d9(r.declarations,e=>vS(e)!==t);if(a&&o)for(let t of o)e.addDiagnostic(kl(bC(t,tA.Declaration_augments_declaration_in_another_file_This_cannot_be_serialized),bC(a,tA.This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file)))},reportNonSerializableProperty:function(t){(l||c)&&e.addDiagnostic(bC(l||c,tA.The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized,t))},reportImportTypeNodeResolutionModeOverride:function(){!S_()&&(l||c)&&e.addDiagnostic(bC(l||c,tA.The_type_of_this_expression_cannot_be_named_without_a_resolution_mode_assertion_which_is_an_unstable_feature_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next))}},A=e.getEmitResolver(),L=e.getCompilerOptions(),{noResolve:C,stripInternal:k}=L;return function(o){let l;if(308===o.kind&&o.isDeclarationFile)return o;if(309===o.kind){y=!0,u=new Map,_=new Map;let n=!1,s=E.createBundle(un(o.sourceFiles,o=>{if(o.isDeclarationFile)return;if(n=n||o.hasNoDefaultLib,d=o,t=o,r=void 0,a=!1,i=new Map,m=f,v=!1,b=!1,D(o,u),O(o,_),bU(o)||bV(o)){g=!1,h=!1;let t=EZ(o)?E.createNodeArray(N(o,!0)):GR(o.statements,$,gF);return E.updateSourceFile(o,[E.createModuleDeclaration([E.createModifier(136)],E.createStringLiteral(Sy(e.getEmitHost(),o)),E.createModuleBlock(OV(E.createNodeArray(X(t)),o.statements)))],!0,[],[],!1,[])}h=!0;let s=EZ(o)?E.createNodeArray(N(o)):GR(o.statements,$,gF);return E.updateSourceFile(o,X(s),!0,[],[],!1,[])}),uu(o.prepends,e=>{if(311===e.kind){let t=Iu(e,"dts",k);return n=n||!!t.hasNoDefaultLib,D(t,u),I(un(t.typeReferenceDirectives,e=>[e.fileName,e.resolutionMode])),O(t,_),t}return e}));s.syntheticFileReferences=[],s.syntheticTypeReferences=C(),s.syntheticLibReferences=A(),s.hasNoDefaultLib=n;let l=fy(fx(UP(o,x,!0).declarationFilePath)),c=R(s.syntheticFileReferences,l);return u.forEach(c),s}h=!0,v=!1,b=!1,t=o,d=o,m=f,y=!1,g=!1,a=!1,r=void 0,i=new Map,n=void 0,u=D(d,new Map),_=O(d,new Map);let c=[],T=R(c,fy(fx(UP(o,x,!0).declarationFilePath)));if(EZ(d))l=E.createNodeArray(N(o)),u.forEach(T),p=d9(l,bf);else{let e=GR(o.statements,$,gF);l=OV(E.createNodeArray(X(e)),o.statements),u.forEach(T),p=d9(l,bf),Md(o)&&(!g||v&&!b)&&(l=OV(E.createNodeArray([...l,DP(E)]),l))}let S=E.updateSourceFile(o,l,!0,c,C(),o.hasNoDefaultLib,A());return S.exportedModulesFromDeclarationEmit=s,S;function A(){return u9(_.keys(),e=>({fileName:e,pos:-1,end:-1}))}function C(){return n?uu(u9(n.keys()),w):[]}function w([e,t]){if(p){for(let t of p)if(Nf(t)&&ND(t.moduleReference)){let n=t.moduleReference.expression;if(g8(n)&&n.text===e)return}else if(Nm(t)&&wr(t.moduleSpecifier)&&t.moduleSpecifier.text===e)return}return{fileName:e,pos:-1,end:-1,...t?{resolutionMode:t}:void 0}}function R(e,t){return n=>{let r;if(n.isDeclarationFile)r=n.fileName;else{if(y&&d6(o.sourceFiles,n))return;let e=UP(n,x,!0);r=e.declarationFilePath||e.jsFilePath||n.fileName}if(r){let n=F2(L,d,fR(t,x.getCurrentDirectory(),x.getCanonicalFileName),fR(r,x.getCurrentDirectory(),x.getCanonicalFileName),x);if(!fl(n)){I([[n,void 0]]);return}let i=fz(t,r,x.getCurrentDirectory(),x.getCanonicalFileName,!1);if(pn(i,"./")&&fd(i)&&(i=i.substring(2)),pn(i,"node_modules/")||Fi(i))return;e.push({pos:-1,end:-1,fileName:i})}}}};function I(e){if(e)for(let t of(n=n||new Set,e))n.add(t)}function w(t){if(0===t.accessibility){if(t&&t.aliasesToMakeVisible){if(r)for(let e of t.aliasesToMakeVisible)uF(r,e);else r=t.aliasesToMakeVisible}}else{let n=m(t);if(n)return n.typeName?e.addDiagnostic(bC(t.errorNode||n.errorNode,n.diagnosticMessage,v$(n.typeName),t.errorSymbolName,t.errorModuleName)):e.addDiagnostic(bC(t.errorNode||n.errorNode,n.diagnosticMessage,t.errorSymbolName,t.errorModuleName)),!0}return!1}function R(){return l?bE(l):c&&hp(c)?bE(hp(c)):c&&NS(c)?c.isExportEquals?"export=":"default":"(Missing)"}function N(e,t){let n=m;m=t=>t.errorNode&&Up(t.errorNode)?Um(t.errorNode)(t):{diagnosticMessage:t.errorModuleName?tA.Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:tA.Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit,errorNode:t.errorNode||e};let r=A.getDeclarationStatementsForSourceFile(e,iG,S,t);return m=n,r}function D(e,t){return C||!N2(e)&&EZ(e)||dz(e.referencedFiles,n=>{let r=x.getSourceFileFromReference(e,n);r&&t.set(G8(r),r)}),t}function O(e,t){return dz(e.libReferenceDirectives,e=>{x.getLibFileFromReference(e)&&t.set(_I(e.fileName),!0)}),t}function M(e,t,n){let r;a||(r=m,m=Um(e));let i=E.updateParameterDeclaration(e,nU.createModifiersFromModifierFlags(UE(e,t,void 0)),e.dotDotDotToken,function e(t){if(79===t.kind)return t;return 204===t.kind?E.updateArrayBindingPattern(t,GR(t.elements,n,y8)):E.updateObjectBindingPattern(t,GR(t.elements,n,Rp));function n(t){return 229===t.kind?t:t.propertyName&&wb(t.propertyName)&&wb(t.name)&&!t.symbol.isReferenced&&!xw(t.propertyName)?E.updateBindingElement(t,t.dotDotDotToken,void 0,t.propertyName,P(t)?t.initializer:void 0):E.updateBindingElement(t,t.dotDotDotToken,t.propertyName,e(t.name),P(t)?t.initializer:void 0)}}(e.name),A.isOptionalParameter(e)?e.questionToken||E.createToken(57):void 0,G(e,n||e.type,!0),F(e));return a||(m=r),i}function P(e){return function(e){switch(e.kind){case 169:case 168:return!S6(e,8);case 166:case 257:return!0}return!1}(e)&&A.isLiteralConstDeclaration(ht(e))}function F(e){if(P(e))return A.createLiteralConstValue(ht(e),S)}function G(e,n,r){let i;if(!r&&S6(e,8)||P(e))return;let o=166===e.kind&&(A.isRequiredInitializedParameter(e)||A.isOptionalUninitializedParameterProperty(e));if(n&&!o)return Gw(n,Y,y0);if(!ht(e))return n?Gw(n,Y,y0):E.createKeywordTypeNode(131);if(175===e.kind)return E.createKeywordTypeNode(131);if(l=e.name,a||(i=m,m=Um(e)),257===e.kind||205===e.kind)return s(A.createTypeOfDeclaration(e,t,iG,S));if(166===e.kind||169===e.kind||168===e.kind)return s(wU(e)||!e.initializer?A.createTypeOfDeclaration(e,t,iG,S,o):A.createTypeOfDeclaration(e,t,iG,S,o)||A.createTypeOfExpression(e.initializer,t,iG,S));return s(A.createReturnTypeOfSignatureDeclaration(e,t,iG,S));function s(e){return l=void 0,a||(m=i),e||E.createKeywordTypeNode(131)}}function B(e){switch((e=ht(e)).kind){case 259:case 264:case 261:case 260:case 262:case 263:return!A.isDeclarationVisible(e);case 257:return!U(e);case 268:case 269:case 275:case 274:break;case 172:return!0}return!1}function U(e){return!RF(e)&&(y2(e.name)?uv(e.name.elements,U):A.isDeclarationVisible(e))}function V(e,t,n){if(S6(e,8))return E.createNodeArray();let r=un(t,e=>M(e,n));return r?E.createNodeArray(r,t.hasTrailingComma):E.createNodeArray()}function j(e,t){let n;if(!t){let t=SB(e);t&&(n=[M(t)])}if(wq(e)){let r;if(!t){let t=SF(e);t&&(r=M(t,void 0,er(e,A.getAllAccessorDeclarations(e))))}r||(r=E.createParameterDeclaration(void 0,void 0,"value")),n=uD(n,r)}return E.createNodeArray(n||o)}function H(e,t){return S6(e,8)?void 0:GR(t,Y,wF)}function K(e){return N0(e)||Nl(e)||Nd(e)||No(e)||Ns(e)||yF(e)||wY(e)||Ro(e)}function W(e,t){w(A.isEntityNameVisible(e,t)),I(A.getTypeReferenceDirectivesForEntityName(e))}function z(e,t){return g$(e)&&g$(t)&&(e.jsDoc=t.jsDoc),IN(e,IR(t))}function q(t,n){if(n){if(g=g||264!==t.kind&&202!==t.kind,g8(n)){if(y){let n=Sv(e.getEmitHost(),A,t);if(n)return E.createStringLiteral(n)}else{let e=A.getSymbolOfExternalModuleSpecifier(n);e&&(s||(s=[])).push(e)}}return n}}function J(t){if(void 0!==Vw(t))return S_()||e.addDiagnostic(bC(t,tA.resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next)),t}function X(e){for(;dW(r);){let e=r.shift();if(!bh(e))return T.fail(`Late replaced statement was found which is not handled by the declaration transformer!: ${T.formatSyntaxKind(e.kind)}`);let t=h;h=e.parent&&N0(e.parent)&&!(Md(e.parent)&&y);let n=Z(e);h=t,i.set(G8(e),n)}return GR(e,function(e){if(bh(e)){let t=G8(e);if(i.has(t)){let n=i.get(t);return i.delete(t),n&&((_y(n)?uv(n,gv):gv(n))&&(v=!0),N0(e.parent)&&(_y(n)?uv(n,gb):gb(n))&&(g=!0)),n}}return e},gF)}function Y(n){let r;if(ee(n)||gO(n)&&(B(n)||xP(n)&&!A.isLateBound(ht(n)))||yF(n)&&A.isImplementationOfOverload(n)||Rq(n))return;K(n)&&(r=t,t=n);let i=m,o=Up(n),s=a,c=(184===n.kind||197===n.kind)&&262!==n.parent.kind;if((wH(n)||wj(n))&&S6(n,8)){if(n.symbol&&n.symbol.declarations&&n.symbol.declarations[0]!==n)return;return u(E.createPropertyDeclaration(en(n),n.name,void 0,void 0,void 0))}if(o&&!a&&(m=Um(n)),w1(n)&&W(n.exprName,t),c&&(a=!0),function(e){switch(e.kind){case 177:case 173:case 171:case 174:case 175:case 169:case 168:case 170:case 176:case 178:case 257:case 165:case 230:case 180:case 191:case 181:case 182:case 202:return!0}return!1}(n))switch(n.kind){case 230:{(yO(n.expression)||AI(n.expression))&&W(n.expression,t);let r=GB(n,Y,e);return u(E.updateExpressionWithTypeArguments(r,r.expression,r.typeArguments))}case 180:{W(n.typeName,t);let r=GB(n,Y,e);return u(E.updateTypeReferenceNode(r,r.typeName,r.typeArguments))}case 177:return u(E.updateConstructSignature(n,H(n,n.typeParameters),V(n,n.parameters),G(n,n.type)));case 173:return u(E.createConstructorDeclaration(en(n),V(n,n.parameters,0),void 0));case 171:if(wE(n.name))return u(void 0);return u(E.createMethodDeclaration(en(n),void 0,n.name,n.questionToken,H(n,n.typeParameters),V(n,n.parameters),G(n,n.type),void 0));case 174:{if(wE(n.name))return u(void 0);let e=er(n,A.getAllAccessorDeclarations(n));return u(E.updateGetAccessorDeclaration(n,en(n),n.name,j(n,S6(n,8)),G(n,e),void 0))}case 175:if(wE(n.name))return u(void 0);return u(E.updateSetAccessorDeclaration(n,en(n),n.name,j(n,S6(n,8)),void 0));case 169:if(wE(n.name))return u(void 0);return u(E.updatePropertyDeclaration(n,en(n),n.name,n.questionToken,G(n,n.type),F(n)));case 168:if(wE(n.name))return u(void 0);return u(E.updatePropertySignature(n,en(n),n.name,n.questionToken,G(n,n.type)));case 170:if(wE(n.name))return u(void 0);return u(E.updateMethodSignature(n,en(n),n.name,n.questionToken,H(n,n.typeParameters),V(n,n.parameters),G(n,n.type)));case 176:return u(E.updateCallSignature(n,H(n,n.typeParameters),V(n,n.parameters),G(n,n.type)));case 178:return u(E.updateIndexSignature(n,en(n),V(n,n.parameters),Gw(n.type,Y,y0)||E.createKeywordTypeNode(131)));case 257:if(y2(n.name))return function e(t){return ua(uu(t.elements,t=>(function(t){if(229!==t.kind&&t.name)return U(t)?y2(t.name)?e(t.name):E.createVariableDeclaration(t.name,void 0,G(t,void 0),void 0):void 0})(t)))}(n.name);return c=!0,a=!0,u(E.updateVariableDeclaration(n,n.name,void 0,G(n,n.type),F(n)));case 165:if(171===n.parent.kind&&S6(n.parent,8)&&(n.default||n.constraint))return u(E.updateTypeParameterDeclaration(n,n.modifiers,n.name,void 0,void 0));return u(GB(n,Y,e));case 191:{let e=Gw(n.checkType,Y,y0),r=Gw(n.extendsType,Y,y0),i=t;t=n.trueType;let a=Gw(n.trueType,Y,y0);t=i;let o=Gw(n.falseType,Y,y0);return T.assert(e),T.assert(r),T.assert(a),T.assert(o),u(E.updateConditionalTypeNode(n,e,r,a,o))}case 181:return u(E.updateFunctionTypeNode(n,GR(n.typeParameters,Y,wF),V(n,n.parameters),T.checkDefined(Gw(n.type,Y,y0))));case 182:return u(E.updateConstructorTypeNode(n,en(n),GR(n.typeParameters,Y,wF),V(n,n.parameters),T.checkDefined(Gw(n.type,Y,y0))));case 202:if(!bX(n))return u(n);return u(E.updateImportTypeNode(n,E.updateLiteralTypeNode(n.argument,q(n,n.argument.literal)),n.assertions,n.qualifier,GR(n.typeArguments,Y,y0),n.isTypeOf));default:T.assertNever(n,`Attempted to process unhandled node kind: ${T.formatSyntaxKind(n.kind)}`)}return w8(n)&&mt(d,n.pos).line===mt(d,n.end).line&&IE(n,1),u(GB(n,Y,e));function u(e){let d;return(e&&o&&xP(n)&&(a||(d=m,m=Uf(n)),l=n.name,T.assert(A.isLateBound(ht(n))),W(n.name.expression,t),a||(m=d),l=void 0),K(n)&&(t=r),o&&!a&&(m=i),c&&(a=s),e===n)?e:e&&Ih(z(e,n),n)}}function $(e){if(!function(e){switch(e.kind){case 259:case 264:case 268:case 261:case 260:case 262:case 263:case 240:case 269:case 275:case 274:return!0}return!1}(e)||ee(e))return;switch(e.kind){case 275:return N0(e.parent)&&(g=!0),b=!0,E.updateExportDeclaration(e,e.modifiers,e.isTypeOnly,e.exportClause,q(e,e.moduleSpecifier),Vw(e.assertClause)?e.assertClause:void 0);case 274:if(N0(e.parent)&&(g=!0),b=!0,79===e.expression.kind)return e;{let t=E.createUniqueName("_default",16);m=()=>({diagnosticMessage:tA.Default_export_of_the_module_has_or_is_using_private_name_0,errorNode:e}),c=e;let n=E.createVariableDeclaration(t,void 0,A.createTypeOfExpression(e.expression,e,iG,S),void 0);c=void 0;let r=E.createVariableStatement(h?[E.createModifier(136)]:[],E.createVariableDeclarationList([n],2));return z(r,e),Ib(e),[r,E.updateExportAssignment(e,e.modifiers,t)]}}let t=Z(e);return i.set(G8(e),t),e}function Q(e){if(Nf(e)||S6(e,1024)||!Oj(e))return e;let t=E.createModifiersFromModifierFlags(258046&Al(e));return E.updateModifiers(e,t)}function Z(e){let n;if(r)for(;_8(r,e););if(ee(e))return;switch(e.kind){case 268:return function(e){if(A.isDeclarationVisible(e)){if(280===e.moduleReference.kind){let t=EJ(e);return E.updateImportEqualsDeclaration(e,e.modifiers,e.isTypeOnly,e.name,E.updateExternalModuleReference(e.moduleReference,q(e,t)))}{let n=m;return m=Um(e),W(e.moduleReference,t),m=n,e}}}(e);case 269:return function(e){if(!e.importClause)return E.updateImportDeclaration(e,e.modifiers,e.importClause,q(e,e.moduleSpecifier),J(e.assertClause));let t=e.importClause&&e.importClause.name&&A.isDeclarationVisible(e.importClause)?e.importClause.name:void 0;if(!e.importClause.namedBindings)return t&&E.updateImportDeclaration(e,e.modifiers,E.updateImportClause(e.importClause,e.importClause.isTypeOnly,t,void 0),q(e,e.moduleSpecifier),J(e.assertClause));if(271===e.importClause.namedBindings.kind){let n=A.isDeclarationVisible(e.importClause.namedBindings)?e.importClause.namedBindings:void 0;return t||n?E.updateImportDeclaration(e,e.modifiers,E.updateImportClause(e.importClause,e.importClause.isTypeOnly,t,n),q(e,e.moduleSpecifier),J(e.assertClause)):void 0}let n=uu(e.importClause.namedBindings.elements,e=>A.isDeclarationVisible(e)?e:void 0);return n&&n.length||t?E.updateImportDeclaration(e,e.modifiers,E.updateImportClause(e.importClause,e.importClause.isTypeOnly,t,n&&n.length?E.updateNamedImports(e.importClause.namedBindings,n):void 0),q(e,e.moduleSpecifier),J(e.assertClause)):A.isImportRequiredByAugmentation(e)?E.updateImportDeclaration(e,e.modifiers,void 0,q(e,e.moduleSpecifier),J(e.assertClause)):void 0}(e)}if(gO(e)&&B(e)||yF(e)&&A.isImplementationOfOverload(e))return;K(e)&&(n=t,t=e);let a=Up(e),o=m;a&&(m=Um(e));let s=h;switch(e.kind){case 262:{h=!1;let t=d(E.updateTypeAliasDeclaration(e,en(e),e.name,GR(e.typeParameters,Y,wF),T.checkDefined(Gw(e.type,Y,y0))));return h=s,t}case 261:return d(E.updateInterfaceDeclaration(e,en(e),e.name,H(e,e.typeParameters),ei(e.heritageClauses),GR(e.members,Y,y$)));case 259:{let n=d(E.updateFunctionDeclaration(e,en(e),void 0,e.name,H(e,e.typeParameters),V(e,e.parameters),G(e,e.type),void 0));if(!(n&&A.isExpandoFunctionDeclaration(e)&&function(e){var t;if(e.body)return!0;let n=null==(t=e.symbol.declarations)?void 0:t.filter(e=>Na(e)&&!e.body);return!n||n.indexOf(e)===n.length-1}(e)))return n;{let r=A.getPropertiesOfContainerFunction(e),i=rT.createModuleDeclaration(void 0,n.name||E.createIdentifier("_default"),E.createModuleBlock([]),16);kC(i,t),i.locals=vt(r),i.symbol=r[0].parent;let a=[],s=uu(r,e=>{if(!e.valueDeclaration||!Rh(e.valueDeclaration))return;m=Um(e.valueDeclaration);let t=A.createTypeOfDeclaration(e.valueDeclaration,i,iG,S);m=o;let n=hr(e.escapedName),r=xk(n),s=r?E.getGeneratedNameForNode(e.valueDeclaration):E.createIdentifier(n);r&&a.push([s,n]);let l=E.createVariableDeclaration(s,void 0,t,void 0);return E.createVariableStatement(r?void 0:[E.createToken(93)],E.createVariableDeclarationList([l]))});a.length?s.push(E.createExportDeclaration(void 0,!1,E.createNamedExports(un(a,([e,t])=>E.createExportSpecifier(!1,e,t))))):s=uu(s,e=>E.updateModifiers(e,0));let l=E.createModuleDeclaration(en(e),e.name,E.createModuleBlock(s),16);if(!S6(n,1024))return[n,l];let c=E.createModifiersFromModifierFlags(-1026&Al(n)|2),d=E.updateFunctionDeclaration(n,c,void 0,n.name,n.typeParameters,n.parameters,n.type,void 0),u=E.updateModuleDeclaration(l,c,l.name,l.body),_=E.createExportAssignment(void 0,!1,l.name);return N0(e.parent)&&(g=!0),b=!0,[d,u,_]}}case 264:{h=!1;let t=e.body;if(t&&265===t.kind){let n=v,r=b;b=!1,v=!1;let i=X(GR(t.statements,$,gF));16777216&e.flags&&(v=!1),bi(e)||uv(i,et)||b||(i=v?E.createNodeArray([...i,DP(E)]):GR(i,Q,gF));let a=E.updateModuleBlock(t,i);h=s,v=n,b=r;let o=en(e);return d(E.updateModuleDeclaration(e,o,ba(e)?q(e,e.name):e.name,a))}{h=s;let n=en(e);h=!1,Gw(t,$);let r=G8(t),a=i.get(r);return i.delete(r),d(E.updateModuleDeclaration(e,n,e.name,a))}}case 260:{let t;l=e.name,c=e;let n=E.createNodeArray(en(e)),r=H(e,e.typeParameters),i=SP(e);if(i){let e=m;t=uR(uo(i.parameters,e=>{if(!(!S3(e,16476)||ee(e)))return(m=Um(e),79===e.name.kind)?z(E.createPropertyDeclaration(en(e),e.name,e.questionToken,G(e,e.type),F(e)),e):function t(n){let r;for(let i of n.elements)RF(i)||(y2(i.name)&&(r=uE(r,t(i.name))),(r=r||[]).push(E.createPropertyDeclaration(en(e),i.name,void 0,G(i,void 0),void 0)));return r}(e.name)})),m=e}let a=uE(uE(uv(e.members,e=>!!e.name&&wE(e.name))?[E.createPropertyDeclaration(void 0,E.createPrivateIdentifier("#private"),void 0,void 0,void 0)]:void 0,t),GR(e.members,Y,yK)),o=E.createNodeArray(a),s=xy(e);if(s&&!AI(s.expression)&&104!==s.expression.kind){let t=e.name?hr(e.name.escapedText):"default",i=E.createUniqueName(`${t}_base`,16);m=()=>({diagnosticMessage:tA.extends_clause_of_exported_class_0_has_or_is_using_private_name_1,errorNode:s,typeName:e.name});let a=E.createVariableDeclaration(i,void 0,A.createTypeOfExpression(s.expression,e,iG,S),void 0),l=E.createVariableStatement(h?[E.createModifier(136)]:[],E.createVariableDeclarationList([a],2)),c=E.createNodeArray(un(e.heritageClauses,e=>{if(94===e.token){let t=m;m=Um(e.types[0]);let n=E.updateHeritageClause(e,un(e.types,e=>E.updateExpressionWithTypeArguments(e,i,GR(e.typeArguments,Y,y0))));return m=t,n}return E.updateHeritageClause(e,GR(E.createNodeArray(d9(e.types,e=>AI(e.expression)||104===e.expression.kind)),Y,RG))}));return[l,d(E.updateClassDeclaration(e,n,e.name,r,c,o))]}{let t=ei(e.heritageClauses);return d(E.updateClassDeclaration(e,n,e.name,r,t,o))}}case 240:return d(function(e){if(!dz(e.declarationList.declarations,U))return;let t=GR(e.declarationList.declarations,Y,Nr);if(dW(t))return E.updateVariableStatement(e,E.createNodeArray(en(e)),E.updateVariableDeclarationList(e.declarationList,t))}(e));case 263:return d(E.updateEnumDeclaration(e,E.createNodeArray(en(e)),e.name,E.createNodeArray(uu(e.members,e=>{if(ee(e))return;let t=A.getConstantValue(e);return z(E.updateEnumMember(e,e.name,void 0!==t?"string"==typeof t?E.createStringLiteral(t):E.createNumericLiteral(t):void 0),e)}))))}return T.assertNever(e,`Unhandled top-level node in declaration emit: ${T.formatSyntaxKind(e.kind)}`);function d(r){return(K(e)&&(t=n),a&&(m=o),264===e.kind&&(h=s),r===e)?r:(c=void 0,l=void 0,r&&Ih(z(r,e),e))}}function ee(e){return!!k&&!!e&&Uv(e,d)}function et(e){return NS(e)||NA(e)}function en(e){let t,n,r;let i=Al(e),a=(t=241147,n=h&&261!==e.kind?2:0,(!(r=308===e.parent.kind)||y&&r&&Md(e.parent))&&(t^=2,n=0),UE(e,t,n));return i===a?GN(e.modifiers,e=>_E(e,yD),yD):E.createModifiersFromModifierFlags(a)}function er(e,t){let n=UT(e);return n||e===t.firstAccessor||(n=UT(t.firstAccessor),m=Um(t.firstAccessor)),!n&&t.secondAccessor&&e!==t.secondAccessor&&(n=UT(t.secondAccessor),m=Um(t.secondAccessor)),n}function ei(e){return E.createNodeArray(d9(un(e,e=>E.updateHeritageClause(e,GR(E.createNodeArray(d9(e.types,t=>AI(t.expression)||94===e.token&&104===t.expression.kind)),Y,RG))),e=>e.types&&!!e.types.length))}}function UE(e,t=258043,n=0){let r=Al(e)&t|n;return 1024&r&&!(1&r)&&(r^=1),1024&r&&2&r&&(r^=2),r}function UT(e){if(e)return 174===e.kind?e.type:e.parameters.length>0?e.parameters[0].type:void 0}var Ux=dj({"src/compiler/transformers/declarations.ts"(){Kr(),Gy(),iG=531469}});function US(e,t,n){let r;return{scriptTransformers:function(e,t,n){if(n)return o;let r=Ct(e),i=Cn(e),a=Cx(e),s=[];return uP(s,t&&un(t.before,UL)),s.push(BM),e.experimentalDecorators?s.push(BV):(r<99||!a)&&s.push(BH),s.push(BF),Ck(e)&&s.push(B8),r<99&&s.push(B2),r<8&&s.push(B0),r<7&&s.push(BQ),r<6&&s.push(BY),r<5&&s.push(BJ),r<4&&s.push(BW),r<3&&s.push(B3),r<2&&(s.push(B9),s.push(Ur)),s.push(function(e){switch(e){case 99:case 7:case 6:case 5:return Uc;case 4:return Us;case 100:case 199:return Uu;default:return Ua}}(i)),r<1&&s.push(Ut),uP(s,t&&un(t.after,UL)),s}(e,t,n),declarationTransformers:((r=[]).push(Ub),uP(r,t&&un(t.afterDeclarations,UC)),r)}}function UA(e,t){return n=>{let r=e(n);return"function"==typeof r?t(n,r):e=>N1(e)?r.transformBundle(e):r.transformSourceFile(e)}}function UL(e){return UA(e,G3)}function UC(e){return UA(e,(e,t)=>t)}function Uk(e,t){return t}function UI(e,t,n){n(e,t)}function Uw(e,t,n,r,i,a,o){var s,l;let c,d,u,_,p;let f=Array(361),m=0,h=[],y=[],g=[],v=[],b=0,E=!1,x=[],S=0,A=Uk,L=UI,C=0,k=[],I={factory:n,getCompilerOptions:()=>r,getEmitResolver:()=>e,getEmitHost:()=>t,getEmitHelperFactory:_R(()=>I6(I)),startLexicalEnvironment:function(){T.assert(C>0,"Cannot modify the lexical environment during initialization."),T.assert(C<2,"Cannot modify the lexical environment after transformation has completed."),T.assert(!E,"Lexical environment is suspended."),h[b]=c,y[b]=d,g[b]=u,v[b]=m,b++,c=void 0,d=void 0,u=void 0,m=0},suspendLexicalEnvironment:function(){T.assert(C>0,"Cannot modify the lexical environment during initialization."),T.assert(C<2,"Cannot modify the lexical environment after transformation has completed."),T.assert(!E,"Lexical environment is already suspended."),E=!0},resumeLexicalEnvironment:function(){T.assert(C>0,"Cannot modify the lexical environment during initialization."),T.assert(C<2,"Cannot modify the lexical environment after transformation has completed."),T.assert(E,"Lexical environment is not suspended."),E=!1},endLexicalEnvironment:function(){let e;if(T.assert(C>0,"Cannot modify the lexical environment during initialization."),T.assert(C<2,"Cannot modify the lexical environment after transformation has completed."),T.assert(!E,"Lexical environment is suspended."),c||d||u){if(d&&(e=[...d]),c){let t=n.createVariableStatement(void 0,n.createVariableDeclarationList(c));IE(t,2097152),e?e.push(t):e=[t]}u&&(e=e?[...e,...u]:[...u])}return c=h[--b],d=y[b],u=g[b],m=v[b],0===b&&(h=[],y=[],g=[],v=[]),e},setLexicalEnvironmentFlags:function(e,t){m=t?m|e:m&~e},getLexicalEnvironmentFlags:function(){return m},hoistVariableDeclaration:function(e){T.assert(C>0,"Cannot modify the lexical environment during initialization."),T.assert(C<2,"Cannot modify the lexical environment after transformation has completed.");let t=IE(n.createVariableDeclaration(e),128);c?c.push(t):c=[t],1&m&&(m|=2)},hoistFunctionDeclaration:function(e){T.assert(C>0,"Cannot modify the lexical environment during initialization."),T.assert(C<2,"Cannot modify the lexical environment after transformation has completed."),IE(e,2097152),d?d.push(e):d=[e]},addInitializationStatement:function(e){T.assert(C>0,"Cannot modify the lexical environment during initialization."),T.assert(C<2,"Cannot modify the lexical environment after transformation has completed."),IE(e,2097152),u?u.push(e):u=[e]},startBlockScope:function(){T.assert(C>0,"Cannot start a block scope during initialization."),T.assert(C<2,"Cannot start a block scope after transformation has completed."),x[S]=_,S++,_=void 0},endBlockScope:function(){T.assert(C>0,"Cannot end a block scope during initialization."),T.assert(C<2,"Cannot end a block scope after transformation has completed.");let e=uv(_)?[n.createVariableStatement(void 0,n.createVariableDeclarationList(_.map(e=>n.createVariableDeclaration(e)),1))]:void 0;return _=x[--S],0===S&&(x=[]),e},addBlockScopedVariable:function(e){T.assert(S>0,"Cannot add a block scoped variable outside of an iteration body."),(_||(_=[])).push(e)},requestEmitHelper:function e(t){if(T.assert(C>0,"Cannot modify the transformation context during initialization."),T.assert(C<2,"Cannot modify the transformation context after transformation has completed."),T.assert(!t.scoped,"Cannot request a scoped emit helper."),t.dependencies)for(let n of t.dependencies)e(n);p=uD(p,t)},readEmitHelpers:function(){T.assert(C>0,"Cannot modify the transformation context during initialization."),T.assert(C<2,"Cannot modify the transformation context after transformation has completed.");let e=p;return p=void 0,e},enableSubstitution:function(e){T.assert(C<2,"Cannot modify the transformation context after transformation has completed."),f[e]|=1},enableEmitNotification:function(e){T.assert(C<2,"Cannot modify the transformation context after transformation has completed."),f[e]|=2},isSubstitutionEnabled:D,isEmitNotificationEnabled:O,get onSubstituteNode(){return A},set onSubstituteNode(value){T.assert(C<1,"Cannot modify transformation hooks after initialization has completed."),T.assert(void 0!==value,"Value must not be 'undefined'"),A=value},get onEmitNode(){return L},set onEmitNode(value){T.assert(C<1,"Cannot modify transformation hooks after initialization has completed."),T.assert(void 0!==value,"Value must not be 'undefined'"),L=value},addDiagnostic(e){k.push(e)}};for(let e of i)Iv(vS(ht(e)));pM("beforeTransform");let w=a.map(e=>e(I)),R=e=>{for(let t of w)e=t(e);return e};C=1;let N=[];for(let e of i)null==(s=Q)||s.push(Q.Phase.Emit,"transformNodes",308===e.kind?{path:e.path}:{kind:e.kind,pos:e.pos,end:e.end}),N.push((o?R:function(e){return!e||N0(e)&&e.isDeclarationFile?e:R(e)})(e)),null==(l=Q)||l.pop();return C=2,pM("afterTransform"),pP("transformTime","beforeTransform","afterTransform"),{transformed:N,substituteNode:function(e,t){return T.assert(C<3,"Cannot substitute a node after the result is disposed."),t&&D(t)&&A(e,t)||t},emitNodeWithNotification:function(e,t,n){T.assert(C<3,"Cannot invoke TransformationResult callbacks after the result is disposed."),t&&(O(t)?L(e,t,n):n(e,t))},isEmitNotificationEnabled:O,dispose:function(){if(C<3){for(let e of i)Iv(vS(ht(e)));c=void 0,h=void 0,d=void 0,y=void 0,A=void 0,L=void 0,p=void 0,C=3}},diagnostics:k};function D(e){return(1&f[e.kind])!=0&&(8&v0(e))==0}function O(e){return(2&f[e.kind])!=0||(4&v0(e))!=0}}var UR=dj({"src/compiler/transformer.ts"(){Kr(),pJ(),iB={scriptTransformers:o,declarationTransformers:o},iU={factory:nU,getCompilerOptions:()=>({}),getEmitResolver:_w,getEmitHost:_w,getEmitHelperFactory:_w,startLexicalEnvironment:_x,resumeLexicalEnvironment:_x,suspendLexicalEnvironment:_x,endLexicalEnvironment:_L,setLexicalEnvironmentFlags:_x,getLexicalEnvironmentFlags:()=>0,hoistVariableDeclaration:_x,hoistFunctionDeclaration:_x,addInitializationStatement:_x,startBlockScope:_x,endBlockScope:_L,addBlockScopedVariable:_x,requestEmitHelper:_x,readEmitHelpers:_w,enableSubstitution:_x,enableEmitNotification:_x,isSubstitutionEnabled:_w,isEmitNotificationEnabled:_w,onSubstituteNode:Uk,onEmitNode:UI,addDiagnostic:_x}}});function UN(e){return fu(e,".tsbuildinfo")}function UD(e,t,n,r=!1,i,a){let o=_y(n)?n:Sk(e,n,r),s=e.getCompilerOptions();if(SL(s)){let n=e.getPrependNodes();if(o.length||n.length){let i=nU.createBundle(o,n),a=t(UP(i,e,r),i);if(a)return a}}else{if(!i)for(let n of o){let i=t(UP(n,e,r),n);if(i)return i}if(a){let e=UO(s);if(e)return t({buildInfoPath:e},void 0)}}}function UO(e){let t;let n=e.configFilePath;if(!Cb(e))return;if(e.tsBuildInfoFile)return e.tsBuildInfoFile;let r=SL(e);if(r)t=C4(r);else{if(!n)return;let r=C4(n);t=e.outDir?e.rootDir?fL(e.outDir,fH(e.rootDir,r,!0)):fA(e.outDir,fg(r)):r}return t+".tsbuildinfo"}function UM(e,t){let n=SL(e),r=e.emitDeclarationOnly?void 0:n,i=r&&UF(r,e),a=t||Cg(e)?C4(n)+".d.ts":void 0,o=a&&Cu(e)?a+".map":void 0;return{jsFilePath:r,sourceMapFilePath:i,declarationFilePath:a,declarationMapPath:o,buildInfoPath:UO(e)}}function UP(e,t,n){let r=t.getCompilerOptions();if(309===e.kind)return UM(r,n);{let i=SE(e.fileName,t,UG(e.fileName,r)),a=bV(e),o=a&&0===fB(e.fileName,i,t.getCurrentDirectory(),!t.useCaseSensitiveFileNames()),s=r.emitDeclarationOnly||o?void 0:i,l=!s||bV(e)?void 0:UF(s,r),c=n||Cg(r)&&!a?ST(e.fileName,t):void 0,d=c&&Cu(r)?c+".map":void 0;return{jsFilePath:s,sourceMapFilePath:l,declarationFilePath:c,declarationMapPath:d,buildInfoPath:void 0}}}function UF(e,t){return t.sourceMap&&!t.inlineSourceMap?e+".map":void 0}function UG(e,t){return fu(e,".json")?".json":1===t.jsx&&f_(e,[".jsx",".tsx"])?".jsx":f_(e,[".mts",".mjs"])?".mjs":f_(e,[".cts",".cjs"])?".cjs":".js"}function UB(e,t,n,r,i){return r?fL(r,fH(i?i():Uz(t,n),e,n)):e}function UU(e,t,n,r){return C3(UB(e,t,n,t.options.declarationDir||t.options.outDir,r),SS(e))}function UV(e,t,n,r){if(t.options.emitDeclarationOnly)return;let i=fu(e,".json"),a=C3(UB(e,t,n,t.options.outDir,r),UG(e,t.options));return i&&0===fB(e,a,T.checkDefined(t.options.configFilePath),n)?void 0:a}function Uj(){let e;return{addOutput:function(t){t&&(e||(e=[])).push(t)},getOutputs:function(){return e||o}}}function UH(e,t){let{jsFilePath:n,sourceMapFilePath:r,declarationFilePath:i,declarationMapPath:a,buildInfoPath:o}=UM(e.options,!1);t(n),t(r),t(i),t(a),t(o)}function UK(e,t,n,r,i){if(Mf(t))return;let a=UV(t,e,n,i);if(r(a),!fu(t,".json")&&(a&&e.options.sourceMap&&r(`${a}.map`),Cg(e.options))){let a=UU(t,e,n,i);r(a),e.options.declarationMap&&r(`${a}.map`)}}function UW(e,t,n,r,i){let a;return e.rootDir?(a=fk(e.rootDir,n),null==i||i(e.rootDir)):e.composite&&e.configFilePath?(a=fy(fx(e.configFilePath)),null==i||i(a)):a=Vu(t(),n,r),a&&a[a.length-1]!==tb&&(a+=tb),a}function Uz({options:e,fileNames:t},n){return UW(e,()=>d9(t,t=>!(e.noEmitForJsFiles&&f_(t,nS))&&!Mf(t)),fy(fx(T.checkDefined(e.configFilePath))),_7(!n))}function Uq(e,t){let{addOutput:n,getOutputs:r}=Uj();if(SL(e.options))UH(e,n);else{let r=_R(()=>Uz(e,t));for(let i of e.fileNames)UK(e,i,t,n,r);n(UO(e.options))}return r()}function UJ(e,t,n){t=fI(t),T.assert(d6(e.fileNames,t),"Expected fileName to be present in command line");let{addOutput:r,getOutputs:i}=Uj();return SL(e.options)?UH(e,r):UK(e,t,n,r),i()}function UX(e,t){if(SL(e.options)){let{jsFilePath:t,declarationFilePath:n}=UM(e.options,!1);return T.checkDefined(t||n,`project ${e.options.configFilePath} expected to have at least one output`)}let n=_R(()=>Uz(e,t));for(let r of e.fileNames){if(Mf(r))continue;let i=UV(r,e,t,n);if(i)return i;if(!fu(r,".json")&&Cg(e.options))return UU(r,e,t,n)}return UO(e.options)||T.fail(`project ${e.options.configFilePath} expected to have at least one output`)}function UY(e,t,n,{scriptTransformers:r,declarationTransformers:i},a,o,s){var l,c=t.getCompilerOptions(),d=c.sourceMap||c.inlineSourceMap||Cu(c)?[]:void 0,u=c.listEmittedFiles?[]:void 0,_=Se(),p=AJ(c),f=Sp(p),{enter:m,exit:h}=pO("printTime","beforePrint","afterPrint"),y=!1;return m(),UD(t,function({jsFilePath:o,sourceMapFilePath:d,declarationFilePath:p,declarationMapPath:f,buildInfoPath:m},h){var b,E,x,S,A,L;let C;function k(e){return fO(fH(C,e,t.getCanonicalFileName))}m&&h&&N1(h)&&(C=fy(fk(m,t.getCurrentDirectory())),l={commonSourceDirectory:k(t.getCommonSourceDirectory()),sourceFiles:h.sourceFiles.map(e=>k(fk(e.fileName,t.getCurrentDirectory())))}),null==(b=Q)||b.push(Q.Phase.Emit,"emitJsFileOrBundle",{jsFilePath:o}),function(n,i,o,s){if(!n||a||!i)return;if(t.isEmitBlocked(i)||c.noEmit){y=!0;return}let d=Uw(e,t,nU,c,[n],r,!1),u=U1({removeComments:c.removeComments,newLine:c.newLine,noEmitHelpers:c.noEmitHelpers,module:c.module,target:c.target,sourceMap:c.sourceMap,inlineSourceMap:c.inlineSourceMap,inlineSources:c.inlineSources,extendedDiagnostics:c.extendedDiagnostics,writeBundleFileInfo:!!l,relativeToBuildInfo:s},{hasGlobalName:e.hasGlobalName,onEmitNode:d.emitNodeWithNotification,isEmitNotificationEnabled:d.isEmitNotificationEnabled,substituteNode:d.substituteNode});T.assert(1===d.transformed.length,"Should only see one output from the transform"),v(i,o,d,u,c),d.dispose(),l&&(l.js=u.bundleFileInfo)}(h,o,d,k),null==(E=Q)||E.pop(),null==(x=Q)||x.push(Q.Phase.Emit,"emitDeclarationFileOrBundle",{declarationFilePath:p}),function(n,r,o,d){if(!n||0===a)return;if(!r){(a||c.emitDeclarationOnly)&&(y=!0);return}let u=N0(n)?[n]:n.sourceFiles,p=s?u:d9(u,E1),f=SL(c)?[nU.createBundle(p,N0(n)?void 0:n.prepends)]:p;a&&!Cg(c)&&p.forEach(g);let m=Uw(e,t,nU,c,f,i,!1);if(dW(m.diagnostics))for(let e of m.diagnostics)_.add(e);let h={removeComments:c.removeComments,newLine:c.newLine,noEmitHelpers:!0,module:c.module,target:c.target,sourceMap:!s&&c.declarationMap,inlineSourceMap:c.inlineSourceMap,extendedDiagnostics:c.extendedDiagnostics,onlyPrintJsDocStyle:!0,writeBundleFileInfo:!!l,recordInternalSection:!!l,relativeToBuildInfo:d},b=U1(h,{hasGlobalName:e.hasGlobalName,onEmitNode:m.emitNodeWithNotification,isEmitNotificationEnabled:m.isEmitNotificationEnabled,substituteNode:m.substituteNode}),E=!!m.diagnostics&&!!m.diagnostics.length||!!t.isEmitBlocked(r)||!!c.noEmit;y=y||E,(!E||s)&&(T.assert(1===m.transformed.length,"Should only see one output from the decl transform"),v(r,o,m,b,{sourceMap:h.sourceMap,sourceRoot:c.sourceRoot,mapRoot:c.mapRoot,extendedDiagnostics:c.extendedDiagnostics})),m.dispose(),l&&(l.dts=b.bundleFileInfo)}(h,p,f,k),null==(S=Q)||S.pop(),null==(A=Q)||A.push(Q.Phase.Emit,"emitBuildInfo",{buildInfoPath:m}),function(e,r){if(!r||n||y)return;if(t.isEmitBlocked(r)){y=!0;return}let i=t.getBuildInfo(e)||U$(void 0,e);SN(t,_,r,UQ(i),!1,void 0,{buildInfo:i})}(l,m),null==(L=Q)||L.pop(),!y&&u&&(!a&&(o&&u.push(o),d&&u.push(d),m&&u.push(m)),0!==a&&(p&&u.push(p),f&&u.push(f)))},Sk(t,n,s),s,o,!n),h(),{emitSkipped:y,diagnostics:_.getDiagnostics(),emittedFiles:u,sourceMaps:d};function g(t){if(NS(t)){79===t.expression.kind&&e.collectLinkedAliases(t.expression,!0);return}if(NC(t)){e.collectLinkedAliases(t.propertyName||t.name,!0);return}Mr(t,g)}function v(e,n,r,i,a){let o,s,l;let u=r.transformed[0],m=309===u.kind?u:void 0,h=308===u.kind?u:void 0,y=m?m.sourceFiles:[h];if((a.sourceMap||a.inlineSourceMap)&&(308!==u.kind||!fu(u.fileName,".json"))&&(o=GV(t,fg(fx(e)),(l=fx(a.sourceRoot||""))?fD(l):l,function(e,n,r){if(e.sourceRoot)return t.getCommonSourceDirectory();if(e.mapRoot){let n=fx(e.mapRoot);return r&&(n=fy(Sw(r.fileName,t,n))),0===fh(n)&&(n=fA(t.getCommonSourceDirectory(),n)),n}return fy(fI(n))}(a,e,h),a)),m?i.writeBundle(m,f,o):i.writeFile(h,f,o),o){d&&d.push({inputSourceFileNames:o.getSources(),sourceMap:o.toJSON()});let r=function(e,n,r,i,a){if(e.inlineSourceMap)return`data:application/json;base64,${AH(tv,n.toString())}`;let o=fg(fx(T.checkDefined(i)));if(e.mapRoot){let n=fx(e.mapRoot);return(a&&(n=fy(Sw(a.fileName,t,n))),0===fh(n))?(n=fA(t.getCommonSourceDirectory(),n),encodeURI(fz(fy(fI(r)),fA(n,o),t.getCurrentDirectory(),t.getCanonicalFileName,!0))):encodeURI(fA(n,o))}return encodeURI(o)}(a,o,e,n,h);if(r&&(f.isAtStartOfLine()||f.rawWrite(p),s=f.getTextPos(),f.writeComment(`//# sourceMappingURL=${r}`)),n){let e=o.toString();SN(t,_,n,e,!1,y),i.bundleFileInfo&&(i.bundleFileInfo.mapHash=j_(e,t))}}else f.writeLine();let g=f.getText();SN(t,_,e,g,!!c.emitBOM,y,{sourceMapUrlPos:s,diagnostics:r.diagnostics}),i.bundleFileInfo&&(i.bundleFileInfo.hash=j_(g,t)),f.clear()}}function U$(e,t){return{bundle:t,program:e,version:i}}function UQ(e){return JSON.stringify(e)}function UZ(e,t){return AW(e,t)}function U0(e,t,n,r){var i,a;null==(i=Q)||i.push(Q.Phase.Emit,"emitUsingBuildInfo",{},!0),pq.mark("beforeEmit");let o=function(e,t,n,r){var i,a;let o,s,l,c;let{buildInfoPath:d,jsFilePath:u,sourceMapFilePath:_,declarationFilePath:p,declarationMapPath:f}=UM(e.options,!1),m=t.getBuildInfo(d,e.options.configFilePath);if(!m||!m.bundle||!m.bundle.js||p&&!m.bundle.dts)return d;let h=t.readFile(T.checkDefined(u));if(!h||j_(h,t)!==m.bundle.js.hash)return u;let y=_&&t.readFile(_);if(_&&!y||e.options.inlineSourceMap)return _||"inline sourcemap decoding";if(_&&j_(y,t)!==m.bundle.js.mapHash)return _;let g=p&&t.readFile(p);if(p&&!g||p&&j_(g,t)!==m.bundle.dts.hash)return p;let v=f&&t.readFile(f);if(f&&!v||e.options.inlineSourceMap)return f||"inline sourcemap decoding";if(f&&j_(v,t)!==m.bundle.dts.mapHash)return f;let b=fy(fk(d,t.getCurrentDirectory())),E=If(u,h,_,y,p,g,f,v,d,m,!0),x=[],S=VX(e.projectReferences,n,e=>t.readFile(e),t),A=(i=m.bundle,c=(null==(a=(l=T.checkDefined(i.js)).sources)?void 0:a.prologues)&&_n(l.sources.prologues,e=>e.file),i.sourceFiles.map((e,n)=>{var r,i;let a=null==c?void 0:c.get(n),o=null==a?void 0:a.directives.map(e=>{let t=OV(nU.createStringLiteral(e.expression.text),e.expression),n=OV(nU.createExpressionStatement(t),e);return kC(t,n),n}),s=nU.createToken(1),l=nU.createSourceFile(null!=o?o:[],s,0);return l.fileName=fH(t.getCurrentDirectory(),fk(e,b),!t.useCaseSensitiveFileNames()),l.text=null!=(r=null==a?void 0:a.text)?r:"",kA(l,0,null!=(i=null==a?void 0:a.text.length)?i:0),kk(l.statements,l),kA(s,l.end,0),kC(s,l),l})),L={getPrependNodes:_R(()=>[...S,E]),getCanonicalFileName:t.getCanonicalFileName,getCommonSourceDirectory:()=>fk(m.bundle.commonSourceDirectory,b),getCompilerOptions:()=>e.options,getCurrentDirectory:()=>t.getCurrentDirectory(),getSourceFile:_L,getSourceFileByPath:_L,getSourceFiles:()=>A,getLibFileFromReference:_w,isSourceFileFromExternalLibrary:_S,getResolvedProjectReferenceToRedirect:_L,getProjectReferenceRedirect:_L,isSourceOfProjectReferenceRedirect:_S,writeFile:(e,t,n,r,i,a)=>{switch(e){case u:if(h===t)return;break;case _:if(y===t)return;break;case d:break;case p:if(g===t)return;o=t,s=a;break;case f:if(v===t)return;break;default:T.fail(`Unexpected path: ${e}`)}x.push({name:e,text:t,writeByteOrderMark:n,data:a})},isEmitBlocked:_S,readFile:e=>t.readFile(e),fileExists:e=>t.fileExists(e),useCaseSensitiveFileNames:()=>t.useCaseSensitiveFileNames(),getBuildInfo:n=>{let r=m.program;r&&void 0!==o&&e.options.composite&&(r.outSignature=j_(o,t,s));let{js:i,dts:a,sourceFiles:l}=m.bundle;return n.js.sources=i.sources,a&&(n.dts.sources=a.sources),n.sourceFiles=l,U$(r,n)},getSourceFileFromReference:_L,redirectTargetsMap:_u(),getFileIncludeReasons:_w,createHash:_d(t,t.createHash)};return UY(ij,L,void 0,US(e.options,r)),x}(e,t,n,r);return pq.mark("afterEmit"),pq.measure("Emit","beforeEmit","afterEmit"),null==(a=Q)||a.pop(),o}function U1(e={},t={}){var n,r,i,a,o,s,l,c,d,u,_,p,f,m,h,y,g,v,b,E,x,S,A,L,C,k,{hasGlobalName:I,onEmitNode:w=UI,isEmitNotificationEnabled:R,substituteNode:N=Uk,onBeforeEmitNode:D,onAfterEmitNode:O,onBeforeEmitNodeArray:M,onAfterEmitNodeArray:P,onBeforeEmitToken:F,onAfterEmitToken:G}=t,B=!!e.extendedDiagnostics,U=AJ(e),V=Cn(e),j=new Map,H=e.preserveSourceNewlines,K=function(e){g.write(e)},W=e.writeBundleFileInfo?{sections:[]}:void 0,z=W?T.checkDefined(e.relativeToBuildInfo):void 0,q=e.recordInternalSection,J=0,X="text",Y=!0,$=-1,Q=-1,Z=-1,ee=-1,et=-1,en=!1,er=!!e.removeComments,{enter:ei,exit:ea}=pD(B,"commentTime","beforeComment","afterComment"),eo=nU.parenthesizer,el={select:e=>0===e?eo.parenthesizeLeadingTypeArgument:void 0},ec=function(){return OL(function(e,t){if(t){t.stackIndex++,t.preserveSourceNewlinesStack[t.stackIndex]=H,t.containerPosStack[t.stackIndex]=Z,t.containerEndStack[t.stackIndex]=ee,t.declarationListContainerEndStack[t.stackIndex]=et;let n=t.shouldEmitCommentsStack[t.stackIndex]=!er&&!N0(e),r=t.shouldEmitSourceMapsStack[t.stackIndex]=eD(e);null==D||D(e),n&&np(e),r&&nM(e),eR(e)}else t={stackIndex:0,preserveSourceNewlinesStack:[void 0],containerPosStack:[-1],containerEndStack:[-1],declarationListContainerEndStack:[-1],shouldEmitCommentsStack:[!1],shouldEmitSourceMapsStack:[!1]};return t},function(t,n,r){return e(t,r,"left")},function(e,t,n){let r=27!==e.kind,i=t0(n,n.left,e),a=t0(n,e,n.right);tW(i,r),nA(e.pos),tV(e,101===e.kind?tI:tw),nC(e.end,!0),tW(a,!0)},function(t,n,r){return e(t,r,"right")},function(e,t){if(tz(t0(e,e.left,e.operatorToken),t0(e,e.operatorToken,e.right)),t.stackIndex>0){let n=t.preserveSourceNewlinesStack[t.stackIndex],r=t.containerPosStack[t.stackIndex],i=t.containerEndStack[t.stackIndex],a=t.declarationListContainerEndStack[t.stackIndex],o=t.shouldEmitCommentsStack[t.stackIndex],s=t.shouldEmitSourceMapsStack[t.stackIndex];H=n,s&&nP(e),o&&nf(e,r,i,a),null==O||O(e),t.stackIndex--}},void 0);function e(e,t,n){let r="left"===n?eo.getParenthesizeLeftSideOfBinaryForOperator(t.operatorToken.kind):eo.getParenthesizeRightSideOfBinaryForOperator(t.operatorToken.kind),i=eO(0,1,e);if(i===eG&&(T.assertIsDefined(C),i=eO(2,1,e=r(_T(C,gp))),C=void 0),(i===n_||i===nO||i===eP)&&RR(e))return e;k=r,i(1,e)}}();return eL(),{printNode:function(e,t,n){switch(e){case 0:T.assert(N0(t),"Expected a SourceFile node.");break;case 2:T.assert(wb(t),"Expected an Identifier node.");break;case 1:T.assert(gp(t),"Expected an Expression node.")}switch(t.kind){case 308:return eu(t);case 309:return ed(t);case 310:var r;let i;return r=eE(),i=g,eA(r,void 0),ex(4,t,void 0),eL(),g=i,eT()}return e_(e,t,n,eE()),eT()},printList:function(e,t,n){return ep(e,t,n,eE()),eT()},printFile:eu,printBundle:ed,writeNode:e_,writeList:ep,writeFile:eb,writeBundle:ev,bundleFileInfo:W};function ed(e){return ev(e,eE(),void 0),eT()}function eu(e){return eb(e,eE(),void 0),eT()}function e_(e,t,n,r){let i=g;eA(r,void 0),ex(e,t,n),eL(),g=i}function ep(e,t,n,r){let i=g;eA(r,void 0),n&&eS(n),tx(void 0,t,e),eL(),g=i}function ef(){return g.getTextPosWithWriteLine?g.getTextPosWithWriteLine():g.getTextPos()}function em(e,t,n){let r=uJ(W.sections);r&&r.kind===n?r.end=t:W.sections.push({pos:e,end:t,kind:n})}function eh(e){if(q&&W&&n&&(gO(e)||RX(e))&&Uv(e,n)&&"internal"!==X){let e=X;return eg(g.getTextPos()),J=ef(),X="internal",e}}function ey(e){e&&(eg(g.getTextPos()),J=ef(),X=e)}function eg(e){return JT.assert(LN(e))),W.sections.push({pos:t,end:g.getTextPos(),kind:"prepend",data:z(e.fileName),texts:r}))}}for(let e of(J=ef(),t.sourceFiles))ex(0,e,e);if(W&&t.sourceFiles.length&&eg(g.getTextPos())){let n=function(e){let t;let n=new Set;for(let r=0;r"),tD(),ek(A.type),t3(A));case 182:return void(t6(L=t),t_(L,L.modifiers),tI("new"),tD(),tv(L,L.typeParameters),tb(L,L.parameters),tD(),tC("=>"),tD(),ek(L.type),t3(L));case 183:return C=t,void(tI("typeof"),tD(),ek(C.exprName),tg(C,C.typeArguments));case 184:let eF;return nk=t,t7(0,void 0),tC("{"),eF=1&v0(nk)?768:32897,void(tx(nk,nk.members,524288|eF),tC("}"),t9());case 185:return void(ek(t.elementType,eo.parenthesizeNonArrayTypeOfPostfixType),tC("["),tC("]"));case 186:let eK;return eY(22,(nI=t).pos,tC,nI),eK=1&v0(nI)?528:657,void(tx(nI,nI.elements,524288|eK,eo.parenthesizeElementTypeOfTupleType),eY(23,nI.elements.end,tC,nI));case 187:return void(ek(t.type,eo.parenthesizeTypeOfOptionalType),tC("?"));case 189:return void tx(I=t,I.types,516,eo.parenthesizeConstituentTypeOfUnionType);case 190:return void tx(w=t,w.types,520,eo.parenthesizeConstituentTypeOfIntersectionType);case 191:return void(ek((R=t).checkType,eo.parenthesizeCheckTypeOfConditionalType),tD(),tI("extends"),tD(),ek(R.extendsType,eo.parenthesizeExtendsTypeOfConditionalType),tD(),tC("?"),tD(),ek(R.trueType),tD(),tC(":"),tD(),ek(R.falseType));case 192:return D=t,void(tI("infer"),tD(),ek(D.typeParameter));case 193:return O=t,void(tC("("),ek(O.type),tC(")"));case 230:return eW(t);case 194:return void tI("this");case 195:let eZ;return tj((nw=t).operator,tI),tD(),eZ=146===nw.operator?eo.parenthesizeOperandOfReadonlyTypeOperator:eo.parenthesizeOperandOfTypeOperator,void ek(nw.type,eZ);case 196:return void(ek((M=t).objectType,eo.parenthesizeNonArrayTypeOfPostfixType),tC("["),ek(M.indexType),tC("]"));case 197:let tS;return tS=v0(nR=t),void(tC("{"),1&tS?tD():(tP(),tG()),nR.readonlyToken&&(ek(nR.readonlyToken),146!==nR.readonlyToken.kind&&tI("readonly"),tD()),tC("["),eN(3,nR.typeParameter),nR.nameType&&(tD(),tI("as"),tD(),ek(nR.nameType)),tC("]"),nR.questionToken&&(ek(nR.questionToken),57!==nR.questionToken.kind&&tC("?")),tC(":"),tD(),ek(nR.type),tk(),1&tS?tD():(tP(),tB()),tx(nR,nR.members,2),tC("}"));case 198:return void ew(t.literal);case 199:return void(ek((P=t).dotDotDotToken),ek(P.name),ek(P.questionToken),eY(58,P.name.end,tC,P),tD(),ek(P.type));case 200:return void(ek((F=t).head),tx(F,F.templateSpans,262144));case 201:return void(ek((G=t).type),ek(G.literal));case 202:return function(e){if(e.isTypeOf&&(tI("typeof"),tD()),tI("import"),tC("("),ek(e.argument),e.assertions){tC(","),tD(),tC("{"),tD(),tI("assert"),tC(":"),tD();let t=e.assertions.assertClause.elements;tx(e.assertions.assertClause,t,526226),tD(),tC("}")}tC(")"),e.qualifier&&(tC("."),ek(e.qualifier)),tg(e,e.typeArguments)}(t);case 203:return B=t,void(tC("{"),tx(B,B.elements,525136),tC("}"));case 204:return U=t,void(tC("["),tx(U,U.elements,524880),tC("]"));case 205:return void(ek((V=t).dotDotDotToken),V.propertyName&&(ek(V.propertyName),tC(":"),tD()),ek(V.name),tf(V.initializer,V.name.end,V,eo.parenthesizeExpressionForDisallowedComma));case 236:return void(ew((j=t).expression),ek(j.literal));case 237:return void tk();case 238:return void ez(z=t,!z.multiLine&&t1(z));case 240:return void(tu(q=t,q.modifiers,!1),ek(q.declarationList),tk());case 239:return eq(!1);case 241:return void(ew((J=t).expression,eo.parenthesizeExpressionOfExpressionStatement),(!n||!bV(n)||x1(J.expression))&&tk());case 242:let tL;return tL=eY(99,(nN=t).pos,tI,nN),void(tD(),eY(20,tL,tC,nN),ew(nN.expression),eY(21,nN.expression.end,tC,nN),ty(nN,nN.thenStatement),nN.elseStatement&&(tH(nN,nN.thenStatement,nN.elseStatement),eY(91,nN.thenStatement.end,tI,nN),242===nN.elseStatement.kind?(tD(),ek(nN.elseStatement)):ty(nN,nN.elseStatement)));case 243:return void(eY(90,(X=t).pos,tI,X),ty(X,X.statement),RJ(X.statement)&&!H?tD():tH(X,X.statement,X.expression),eJ(X,X.statement.end),tk());case 244:return void(eJ(Y=t,Y.pos),ty(Y,Y.statement));case 245:let tM,tF;return tM=eY(97,(nD=t).pos,tI,nD),tD(),tF=eY(20,tM,tC,nD),void(eX(nD.initializer),tF=eY(26,nD.initializer?nD.initializer.end:tF,tC,nD),th(nD.condition),tF=eY(26,nD.condition?nD.condition.end:tF,tC,nD),th(nD.incrementor),eY(21,nD.incrementor?nD.incrementor.end:tF,tC,nD),ty(nD,nD.statement));case 246:let tV;return tV=eY(97,(nO=t).pos,tI,nO),void(tD(),eY(20,tV,tC,nO),eX(nO.initializer),tD(),eY(101,nO.initializer.end,tI,nO),tD(),ew(nO.expression),eY(21,nO.expression.end,tC,nO),ty(nO,nO.statement));case 247:let tW;return tW=eY(97,(nM=t).pos,tI,nM),void(tD(),(nP=nM.awaitModifier)&&(ek(nP),tD()),eY(20,tW,tC,nM),eX(nM.initializer),tD(),eY(162,nM.initializer.end,tI,nM),tD(),ew(nM.expression),eY(21,nM.expression.end,tC,nM),ty(nM,nM.statement));case 248:return void(eY(86,($=t).pos,tI,$),tm($.label),tk());case 249:return void(eY(81,(Q=t).pos,tI,Q),tm(Q.label),tk());case 250:return void(eY(105,(Z=t).pos,tI,Z),th(Z.expression&&eQ(Z.expression),eQ),tk());case 251:let tX;return tX=eY(116,(nF=t).pos,tI,nF),void(tD(),eY(20,tX,tC,nF),ew(nF.expression),eY(21,nF.expression.end,tC,nF),ty(nF,nF.statement));case 252:let tY;return tY=eY(107,(nG=t).pos,tI,nG),void(tD(),eY(20,tY,tC,nG),ew(nG.expression),eY(21,nG.expression.end,tC,nG),tD(),ek(nG.caseBlock));case 253:return void(ek((ee=t).label),eY(58,ee.label.end,tC,ee),tD(),ek(ee.statement));case 254:return void(eY(109,(et=t).pos,tI,et),th(eQ(et.expression),eQ),tk());case 255:return void(eY(111,(en=t).pos,tI,en),tD(),ek(en.tryBlock),en.catchClause&&(tH(en,en.tryBlock,en.catchClause),ek(en.catchClause)),en.finallyBlock&&(tH(en,en.catchClause||en.tryBlock,en.finallyBlock),eY(96,(en.catchClause||en.tryBlock).end,tI,en),tD(),ek(en.finallyBlock)));case 256:return void(tU(87,t.pos,tI),tk());case 257:return void(ek((ei=t).name),ek(ei.exclamationToken),tp(ei.type),tf(ei.initializer,null!=(eu=null!=(ed=null==(ea=ei.type)?void 0:ea.end)?ed:null==(el=null==(es=ei.name.emitNode)?void 0:es.typeNode)?void 0:el.end)?eu:ei.name.end,ei,eo.parenthesizeExpressionForDisallowedComma));case 258:return void(tI(bW(e_=t)?"let":bK(e_)?"const":"var"),tD(),tx(e_,e_.declarations,528));case 259:return void e0(t);case 260:return void e3(t);case 261:return ep=t,void(t7(0,void 0),tu(ep,ep.modifiers,!1),tI("interface"),tD(),ek(ep.name),tv(ep,ep.typeParameters),tx(ep,ep.heritageClauses,512),tD(),tC("{"),tx(ep,ep.members,129),tC("}"),t9());case 262:return void(tu(eh=t,eh.modifiers,!1),tI("type"),tD(),ek(eh.name),tv(eh,eh.typeParameters),tD(),tC("="),tD(),ek(eh.type),tk());case 263:return void(tu(ey=t,ey.modifiers,!1),tI("enum"),tD(),ek(ey.name),tD(),tC("{"),tx(ey,ey.members,145),tC("}"));case 264:return function(e){tu(e,e.modifiers,!1),1024&~e.flags&&(tI(16&e.flags?"namespace":"module"),tD()),ek(e.name);let t=e.body;if(!t)return tk();for(;t&&Nd(t);)tC("."),ek(t.name),t=t.body;tD(),ek(t)}(t);case 265:return void(t6(eg=t),dz(eg.statements,nt),ez(eg,t1(eg)),t3(eg));case 266:return void(eY(18,(ev=t).pos,tC,ev),tx(ev,ev.clauses,129),eY(19,ev.clauses.end,tC,ev,!0));case 267:let tZ;return tZ=eY(93,(eb=t).pos,tI,eb),void(tD(),tZ=eY(128,tZ,tI,eb),tD(),tZ=eY(143,tZ,tI,eb),tD(),ek(eb.name),tk());case 268:return void(tu(eE=t,eE.modifiers,!1),eY(100,eE.modifiers?eE.modifiers.end:eE.pos,tI,eE),tD(),eE.isTypeOnly&&(eY(154,eE.pos,tI,eE),tD()),ek(eE.name),tD(),eY(63,eE.name.end,tC,eE),tD(),79===(eT=eE.moduleReference).kind?ew(eT):ek(eT),tk());case 269:return void(tu(ex=t,ex.modifiers,!1),eY(100,ex.modifiers?ex.modifiers.end:ex.pos,tI,ex),tD(),ex.importClause&&(ek(ex.importClause),tD(),eY(158,ex.importClause.end,tI,ex),tD()),ew(ex.moduleSpecifier),ex.assertClause&&tm(ex.assertClause),tk());case 270:return void((eS=t).isTypeOnly&&(eY(154,eS.pos,tI,eS),tD()),ek(eS.name),eS.name&&eS.namedBindings&&(eY(27,eS.name.end,tC,eS),tD()),ek(eS.namedBindings));case 271:let t0;return t0=eY(41,(nB=t).pos,tC,nB),void(tD(),eY(128,t0,tI,nB),tD(),ek(nB.name));case 277:let t2;return t2=eY(41,(nV=t).pos,tC,nV),void(tD(),eY(128,t2,tI,nV),tD(),ek(nV.name));case 272:case 276:return void(n7=t,tC("{"),tx(n7,n7.elements,525136),tC("}"));case 273:case 278:return void((n9=t).isTypeOnly&&(tI("type"),tD()),n9.propertyName&&(ek(n9.propertyName),tD(),eY(128,n9.propertyName.end,tI,n9),tD()),ek(n9.name));case 274:let t8;return t8=eY(93,(nj=t).pos,tI,nj),void(tD(),nj.isExportEquals?eY(63,t8,tw,nj):eY(88,t8,tI,nj),tD(),ew(nj.expression,nj.isExportEquals?eo.getParenthesizeRightSideOfBinaryForOperator(63):eo.parenthesizeExpressionOfExportDefault),tk());case 275:let t5;return tu(nH=t,nH.modifiers,!1),t5=eY(93,nH.pos,tI,nH),void(tD(),nH.isTypeOnly&&(t5=eY(154,t5,tI,nH),tD()),nH.exportClause?ek(nH.exportClause):t5=eY(41,t5,tC,nH),nH.moduleSpecifier&&(tD(),eY(158,nH.exportClause?nH.exportClause.end:t5,tI,nH),tD(),ew(nH.moduleSpecifier)),nH.assertClause&&tm(nH.assertClause),tk());case 296:let ne;return eY(130,(nK=t).pos,tI,nK),tD(),ne=nK.elements,void tx(nK,ne,526226);case 297:let nn;return ek((nW=t).name),tC(":"),tD(),void((1024&v0(nn=nW.value))==0&&nC(IR(nn).pos),ek(nn));case 279:case 322:case 333:case 334:case 336:case 337:case 338:case 339:case 355:case 359:case 358:return;case 280:return eA=t,void(tI("require"),tC("("),ew(eA.expression),tC(")"));case 11:return eL=t,void g.writeLiteral(eL.text);case 283:case 286:return function(e){if(tC("<"),NP(e)){let t=t$(e.tagName,e);e5(e.tagName),tg(e,e.typeArguments),e.attributes.properties&&e.attributes.properties.length>0&&tD(),ek(e.attributes),tQ(e.attributes,e),tz(t)}tC(">")}(t);case 284:case 287:return eC=t,void(tC(""));case 288:return void(ek((eI=t).name),(eR=eI.initializer)&&(tC("="),eN(wr(eR)?6:4,eR)));case 289:return void tx(eD=t,eD.properties,262656);case 290:return eO=t,void(tC("{..."),ew(eO.expression),tC("}"));case 291:return function(e){var t,r,i;let a,o;if(e.expression||!er&&!x1(e)&&(i=r=e.pos,a=!1,mh((null==n?void 0:n.text)||"",i+1,()=>a=!0),a||(o=!1,mm((null==n?void 0:n.text)||"",r+1,()=>o=!0),o))){let r=n&&!x1(e)&&mt(n,e.pos).line!==mt(n,e.end).line;r&&g.increaseIndent();let i=eY(18,e.pos,tC,e);ek(e.dotDotDotToken),ew(e.expression),eY(19,(null==(t=e.expression)?void 0:t.end)||i,tC,e),r&&g.decreaseIndent()}}(t);case 292:return void(eY(82,(eM=t).pos,tI,eM),tD(),ew(eM.expression,eo.parenthesizeExpressionForDisallowedComma),e7(eM,eM.statements,eM.expression.end));case 293:let nr;return nr=eY(88,(nz=t).pos,tI,nz),void e7(nz,nz.statements,nr);case 294:return eP=t,void(tD(),tj(eP.token,tI),tD(),tx(eP,eP.types,528));case 295:let ni;return ni=eY(83,(nq=t).pos,tI,nq),void(tD(),nq.variableDeclaration&&(eY(20,ni,tC,nq),ek(nq.variableDeclaration),eY(21,nq.variableDeclaration.end,tC,nq),tD()),ek(nq.block));case 299:let na;return ek((nJ=t).name),tC(":"),tD(),void((1024&v0(na=nJ.initializer))==0&&nC(IR(na).pos),ew(na,eo.parenthesizeExpressionForDisallowedComma));case 300:return void(ek((eG=t).name),eG.objectAssignmentInitializer&&(tD(),tC("="),tD(),ew(eG.objectAssignmentInitializer,eo.parenthesizeExpressionForDisallowedComma)));case 301:return void((eB=t).expression&&(eY(25,eB.pos,tC,eB),ew(eB.expression,eo.parenthesizeExpressionForDisallowedComma)));case 302:return void(ek((eU=t).name),tf(eU.initializer,eU.name.end,eU,eo.parenthesizeExpressionForDisallowedComma));case 303:return ej(t);case 310:case 304:return function(e){for(let t of e.texts)tP(),ek(t)}(t);case 305:case 306:let no;return nX=t,no=ef(),void(ej(nX),W&&em(no,g.getTextPos(),305===nX.kind?"text":"internal"));case 307:return function(e){let t=ef();if(ej(e),W){let n=_s(e.section);n.pos=t,n.end=g.getTextPos(),W.sections.push(n)}}(t);case 308:return ti(t);case 309:return T.fail("Bundles should be printed using printBundle");case 311:return T.fail("InputFiles should not be printed");case 312:return tr(t);case 313:return e$=t,void(tD(),tC("{"),ek(e$.name),tC("}"));case 315:return tC("*");case 316:return tC("?");case 317:return e8=t,void(tC("?"),ek(e8.type));case 318:return e6=t,void(tC("!"),ek(e6.type));case 319:return void(ek(t.type),tC("="));case 320:return ta=t,void(tI("function"),tb(ta,ta.parameters),tC(":"),ek(ta.type));case 188:case 321:return to=t,void(tC("..."),ek(to.type));case 323:return function(e){if(K("/**"),e.comment){let t=hQ(e.comment);if(t)for(let e of t.split(/\r\n?|\n/g))tP(),tD(),tC("*"),tD(),K(e)}e.tags&&(1!==e.tags.length||347!==e.tags[0].kind||e.comment?tx(e,e.tags,33):(tD(),ek(e.tags[0]))),tD(),K("*/")}(t);case 325:return e9(t);case 326:return te(t);case 330:case 335:case 340:return void(tt((ts=t).tagName),tn(ts.comment));case 331:case 332:return void(tt((tl=t).tagName),tD(),tC("{"),ek(tl.class),tC("}"),tn(tl.comment));case 341:return void(tt((tc=t).tagName),tc.name&&(tD(),ek(tc.name)),tn(tc.comment),te(tc.typeExpression));case 342:return void(tn((tT=t).comment),te(tT.typeExpression));case 344:case 351:return void(tt((tA=t).tagName),tr(tA.typeExpression),tD(),tA.isBracketed&&tC("["),ek(tA.name),tA.isBracketed&&tC("]"),tn(tA.comment));case 343:case 345:case 346:case 347:case 352:case 353:return void(tt((tN=t).tagName),tr(tN.typeExpression),tn(tN.comment));case 348:return void(tt((tK=t).tagName),tr(tK.constraint),tD(),tx(tK,tK.typeParameters,528),tn(tK.comment));case 349:return void(tt((tq=t).tagName),tq.typeExpression&&(312===tq.typeExpression.kind?tr(tq.typeExpression):(tD(),tC("{"),K("Object"),tq.typeExpression.isArrayType&&(tC("["),tC("]")),tC("}"))),tq.fullName&&(tD(),ek(tq.fullName)),tn(tq.comment),tq.typeExpression&&325===tq.typeExpression.kind&&e9(tq.typeExpression));case 350:return void(tt((tJ=t).tagName),ek(tJ.name),tn(tJ.comment))}if(gp(t)&&(e=1,N!==Uk)){let n=N(e,t)||t;n!==t&&(t=n,k&&(t=k(t)))}}if(1===e)switch(t.kind){case 8:case 9:return void eV(t,!1);case 10:case 13:case 14:return eV(t,!1);case 79:return eH(t);case 80:return void K(t4(t,!1));case 206:let re,rt;return re=(nY=t).elements,rt=nY.multiLine?65536:0,void tS(ew,nY,re,8914|rt,eo.parenthesizeExpressionForDisallowedComma,n$,nQ);case 207:let rn,rr,ri;return nZ=t,t7(0,void 0),dz(nZ.properties,nn),(rn=131072&v0(nZ))&&tG(),rr=nZ.multiLine?65536:0,ri=n&&n.languageVersion>=1&&!bV(n)?64:0,void(tx(nZ,nZ.properties,526226|ri|rr),rn&&tB(),t9());case 208:let ra,ro,rs;return ew((n0=t).expression,eo.parenthesizeLeftSideOfAccess),ra=n0.questionDotToken||kS(nU.createToken(24),n0.expression.end,n0.name.pos),ro=t0(n0,n0.expression,ra),rs=t0(n0,ra,n0.name),void(tW(ro,!1),28!==ra.kind&&function(e){if(wt(e=yn(e))){let t=t8(e,!0,!1);return!e.numericLiteralFlags&&!_2(t,tF[24])}if(Lw(e)){let t=IU(e);return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t}}(n0.expression)&&!g.hasTrailingComment()&&!g.hasTrailingWhitespace()&&tC("."),n0.questionDotToken?ek(ra):eY(ra.kind,n0.expression.end,tC,n0),tW(rs,!1),ek(n0.name),tz(ro,rs));case 209:return void(ew((tX=t).expression,eo.parenthesizeLeftSideOfAccess),ek(tX.questionDotToken),eY(22,tX.expression.end,tC,tX),ew(tX.argumentExpression),eY(23,tX.argumentExpression.end,tC,tX));case 210:let rl;return void((rl=16&v1(n1=t))&&(tC("("),tL("0"),tC(","),tD()),ew(n1.expression,eo.parenthesizeLeftSideOfAccess),rl&&tC(")"),ek(n1.questionDotToken),tg(n1,n1.typeArguments),tS(ew,n1,n1.arguments,2576,eo.parenthesizeExpressionForDisallowedComma,n2,n4));case 211:return void(eY(103,(tY=t).pos,tI,tY),tD(),ew(tY.expression,eo.parenthesizeExpressionOfNew),tg(tY,tY.typeArguments),tS(ew,tY,tY.arguments,18960,eo.parenthesizeExpressionForDisallowedComma,tZ,t2));case 212:let rc;return void((rc=16&v1(n8=t))&&(tC("("),tL("0"),tC(","),tD()),ew(n8.tag,eo.parenthesizeLeftSideOfAccess),rc&&tC(")"),tg(n8,n8.typeArguments),tD(),ew(n8.template));case 213:return t5=t,void(tC("<"),ek(t5.type),tC(">"),ew(t5.expression,eo.parenthesizeOperandOfPrefixUnary));case 214:let rd,ru;return rd=eY(20,(n6=t).pos,tC,n6),ru=t$(n6.expression,n6),void(ew(n6.expression,void 0),tQ(n6.expression,n6),tz(ru),eY(21,n6.expression?n6.expression.end:rd,tC,n6));case 215:return void(nr((ne=t).name),e0(ne));case 216:return void(t_(ni=t,ni.modifiers),e1(ni,eK));case 217:return void(eY(89,(na=t).pos,tI,na),tD(),ew(na.expression,eo.parenthesizeOperandOfPrefixUnary));case 218:return void(eY(112,(no=t).pos,tI,no),tD(),ew(no.expression,eo.parenthesizeOperandOfPrefixUnary));case 219:return void(eY(114,(ns=t).pos,tI,ns),tD(),ew(ns.expression,eo.parenthesizeOperandOfPrefixUnary));case 220:return void(eY(133,(nl=t).pos,tI,nl),tD(),ew(nl.expression,eo.parenthesizeOperandOfPrefixUnary));case 221:let r_;return void(tj((nc=t).operator,tw),221===(r_=nc.operand).kind&&(39===nc.operator&&(39===r_.operator||45===r_.operator)||40===nc.operator&&(40===r_.operator||46===r_.operator))&&tD(),ew(nc.operand,eo.parenthesizeOperandOfPrefixUnary));case 222:return void(ew((nd=t).operand,eo.parenthesizeOperandOfPostfixUnary),tj(nd.operator,tw));case 223:return ec(t);case 224:let rp,rf,rm,rh;return rp=t0(n3=t,n3.condition,n3.questionToken),rf=t0(n3,n3.questionToken,n3.whenTrue),rm=t0(n3,n3.whenTrue,n3.colonToken),rh=t0(n3,n3.colonToken,n3.whenFalse),void(ew(n3.condition,eo.parenthesizeConditionOfConditionalExpression),tW(rp,!0),ek(n3.questionToken),tW(rf,!0),ew(n3.whenTrue,eo.parenthesizeBranchOfConditionalExpression),tz(rp,rf),tW(rm,!0),ek(n3.colonToken),tW(rh,!0),ew(n3.whenFalse,eo.parenthesizeBranchOfConditionalExpression),tz(rm,rh));case 225:return void(ek((nu=t).head),tx(nu,nu.templateSpans,262144));case 226:return void(eY(125,(n_=t).pos,tI,n_),ek(n_.asteriskToken),th(n_.expression&&eQ(n_.expression),eZ));case 227:return void(eY(25,(np=t).pos,tC,np),ew(np.expression,eo.parenthesizeExpressionForDisallowedComma));case 228:return void(nr((nf=t).name),e3(nf));case 229:case 279:case 355:case 358:case 359:return;case 231:return void(ew((nm=t).expression,void 0),nm.type&&(tD(),tI("as"),tD(),ek(nm.type)));case 232:return void(ew(t.expression,eo.parenthesizeLeftSideOfAccess),tw("!"));case 230:return eW(t);case 235:return void(ew((nh=t).expression,void 0),nh.type&&(tD(),tI("satisfies"),tD(),ek(nh.type)));case 233:return void(tU((ny=t).keywordToken,ny.pos,tC),tC("."),ek(ny.name));case 234:return T.fail("SyntheticExpression should never be printed.");case 281:return void(ek((ng=t).openingElement),tx(ng,ng.children,262144),ek(ng.closingElement));case 282:return nv=t,void(tC("<"),e5(nv.tagName),tg(nv,nv.typeArguments),tD(),ek(nv.attributes),tC("/>"));case 285:return void(ek((nb=t).openingFragment),tx(nb,nb.children,262144),ek(nb.closingFragment));case 354:return T.fail("SyntaxList should not be printed");case 356:let ry;return void(1024&(ry=v0(n5=t))||n5.pos===n5.expression.pos||nC(n5.expression.pos),ew(n5.expression),2048&ry||n5.end===n5.expression.end||nA(n5.expression.end));case 357:return void tS(ew,nE=t,nE.elements,528,void 0,nT,nx);case 360:return T.fail("SyntheticReferenceExpression should not be printed")}return xS(t.kind)?tV(t,tI):yu(t.kind)?tV(t,tC):void T.fail(`Unhandled SyntaxKind: ${T.formatSyntaxKind(t.kind)}.`)}function eG(e,t){let n=eO(2,e,t);T.assertIsDefined(C),t=C,C=void 0,n(e,t)}function eB(t){let r=!1,i=309===t.kind?t:void 0;if(i&&0===V)return;let a=i?i.prepends.length:0,o=i?i.sourceFiles.length+a:1;for(let s=0;s0)return!1;t=n}return!0}(e)?e6:e8;nv(e,e.statements,t),tB(),tU(19,e.statements.end,tC,e),null==O||O(e)}function e8(e){e6(e,!0)}function e6(e,t){let n=ts(e.statements),r=g.getTextPos();eB(e),0===n&&r===g.getTextPos()&&t?(tB(),tx(e,e.statements,768),tG()):tx(e,e.statements,1,void 0,n)}function e3(e){t7(0,void 0),dz(e.members,nn),tu(e,e.modifiers,!0),eY(84,AZ(e).pos,tI,e),e.name&&(tD(),eI(e.name));let t=131072&v0(e);t&&tG(),tv(e,e.typeParameters),tx(e,e.heritageClauses,0),tD(),tC("{"),tx(e,e.members,129),tC("}"),t&&tB(),t9()}function e5(e){79===e.kind?ew(e):ek(e)}function e7(e,t,r){let i=1===t.length&&(!n||x1(e)||x1(t[0])||A4(e,t[0],n)),a=163969;i?(tU(58,r,tC,e),tD(),a&=-130):eY(58,r,tC,e),tx(e,t,a)}function e9(e){tx(e,nU.createNodeArray(e.jsDocPropertyTags),33)}function te(e){e.typeParameters&&tx(e,nU.createNodeArray(e.typeParameters),33),e.parameters&&tx(e,nU.createNodeArray(e.parameters),33),e.type&&(tP(),tD(),tC("*"),tD(),ek(e.type))}function tt(e){tC("@"),ek(e)}function tn(e){let t=hQ(e);t&&(tD(),K(t))}function tr(e){e&&(tD(),tC("{"),ek(e.type),tC("}"))}function ti(e){tP();let t=e.statements;if(0===t.length||!bY(t[0])||x1(t[0])){nv(e,t,to);return}to(e)}function ta(e,t,r,i){if(e){let e=g.getTextPos();tN('/// '),W&&W.sections.push({pos:e,end:g.getTextPos(),kind:"no-default-lib"}),tP()}if(n&&n.moduleName&&(tN(`/// `),tP()),n&&n.amdDependencies)for(let e of n.amdDependencies)e.name?tN(`/// `):tN(`/// `),tP();for(let e of t){let t=g.getTextPos();tN(`/// `),W&&W.sections.push({pos:t,end:g.getTextPos(),kind:"reference",data:e.fileName}),tP()}for(let e of r){let t=g.getTextPos();tN(`/// `),W&&W.sections.push({pos:t,end:g.getTextPos(),kind:e.resolutionMode?99===e.resolutionMode?"type-import":"type-require":"type",data:e.fileName}),tP()}for(let e of i){let t=g.getTextPos();tN(`/// `),W&&W.sections.push({pos:t,end:g.getTextPos(),kind:"lib",data:e.fileName}),tP()}}function to(e){let t=e.statements;t6(e),dz(e.statements,nt),eB(e);let n=d2(t,e=>!bY(e));e.isDeclarationFile&&ta(e.hasNoDefaultLib,e.referencedFiles,e.typeReferenceDirectives,e.libReferenceDirectives),tx(e,t,1,void 0,-1===n?t.length:n),t3(e)}function ts(e,t,n,r){let i=!!t;for(let a=0;a=r.length||0===s;if(l&&32768&i){null==M||M(r),null==P||P(r);return}15360&i&&(tC(iV[15360&i][0]),l&&r&&nC(r.pos,!0)),null==M||M(r),l?1&i&&!(H&&(!t||n&&A2(t,n)))?tP():256&i&&!(524288&i)&&tD():tA(e,t,r,i,a,o,s,r.hasTrailingComma,r),null==P||P(r),15360&i&&(l&&r&&nA(r.end),tC(iV[15360&i][1]))}function tA(e,t,n,r,i,a,o,s,l){let c,d;let u=(262144&r)==0,_=u,p=tq(t,n[a],r);p?(tP(p),_=!1):256&r&&tD(),128&r&&tG();let f=1===e.length?U2:"object"==typeof i?U4:U8,m=!1;for(let s=0;s0?((131&r)==0&&(tG(),m=!0),tP(e),_=!1):c&&512&r&&tD()}(d=eh(o),_)?nC(IR(o).pos):_=u,y=o.pos,f(o,e,i,s),m&&(tB(),m=!1),c=o}let h=c?v0(c):0,g=er||!!(2048&h),v=s&&64&r&&16&r;v&&(c&&!g?eY(27,c.end,tC,c):tC(",")),c&&(t?t.end:-1)!==c.end&&60&r&&!g&&nA(v&&(null==l?void 0:l.end)?l.end:c.end),128&r&&tB(),ey(d);let b=tX(t,n[a+o-1],r,l);b?tP(b):2097408&r&&tD()}function tL(e){g.writeLiteral(e)}function tC(e){g.writePunctuation(e)}function tk(){g.writeTrailingSemicolon(";")}function tI(e){g.writeKeyword(e)}function tw(e){g.writeOperator(e)}function tR(e){g.writeParameter(e)}function tN(e){g.writeComment(e)}function tD(){g.writeSpace(" ")}function tO(e){g.writeProperty(e)}function tM(e){g.nonEscapingWrite?g.nonEscapingWrite(e):g.write(e)}function tP(e=1){for(let t=0;t0)}function tG(){g.increaseIndent()}function tB(){g.decreaseIndent()}function tU(e,t,n,r){return Y?tj(e,n,t):function(e,t,n,r,i){if(Y||e&&E0(e))return i(t,n,r);let a=e&&e.emitNode,o=a&&a.flags||0,s=a&&a.tokenSourceMapRanges&&a.tokenSourceMapRanges[t],l=s&&s.source||x;return r=nF(l,s?s.pos:r),(256&o)==0&&r>=0&&nB(l,r),r=i(t,n,r),s&&(r=s.end),(512&o)==0&&r>=0&&nB(l,r),r}(r,e,n,t,tj)}function tV(e,t){F&&F(e),t(tF[e.kind]),G&&G(e)}function tj(e,t,n){let r=tF[e];return t(r),n<0?n:n+r.length}function tH(e,t,n){if(1&v0(e))tD();else if(H){let r=t0(e,t,n);r?tP(r):tD()}else tP()}function tK(e){let t=e.split(/\r\n?|\n/g),n=g4(t);for(let e of t){let t=n?e.slice(n):e;t.length&&(tP(),K(t))}}function tW(e,t){e?(tG(),tP(e)):t&&tD()}function tz(e,t){e&&tB(),t&&tB()}function tq(e,t,r){if(2&r||H){if(65536&r)return 1;if(void 0===t)return!e||n&&A2(e,n)?0:1;if(t.pos===y||11===t.kind)return 0;if(n&&e&&!C9(e.pos)&&!x1(t)&&(!t.parent||m7(t.parent)===m7(e)))return H?tY(r=>Ln(t.pos,e.pos,n,r)):A4(e,t,n)?0:1;if(tZ(t,r))return 1}return 1&r?1:0}function tJ(e,t,r){if(2&r||H){if(void 0===e||void 0===t||11===t.kind)return 0;if(!n||x1(e)||x1(t)){if(tZ(e,r)||tZ(t,r))return 1}else{var i;return H&&function(e,t){if(t.pos-1&&r.indexOf(t)===i+1}(e,t)?tY(r=>A5(e,t,n,r)):!H&&(i=m7(i=e)).parent&&i.parent===m7(t).parent?A3(e,t,n)?0:1:65536&r?1:0}}else if(II(t))return 1;return 1&r?1:0}function tX(e,t,r,i){if(2&r||H){if(65536&r)return 1;if(void 0===t)return!e||n&&A2(e,n)?0:1;if(n&&e&&!C9(e.pos)&&!x1(t)&&(!t.parent||t.parent===e)){if(H){let r=i&&!C9(i.end)?i.end:t.end;return tY(t=>Lr(r,e.end,n,t))}return A8(e,t,n)?0:1}if(tZ(t,r))return 1}return 1&r&&!(131072&r)?1:0}function tY(e){T.assert(!!H);let t=e(!0);return 0===t?e(!1):t}function t$(e,t){let n=H&&tq(t,e,0);return n&&tW(n,!1),!!n}function tQ(e,t){let n=H&&tX(t,e,0,void 0);n&&tP(n)}function tZ(e,t){if(x1(e)){let n=II(e);return void 0===n?(65536&t)!=0:n}return(65536&t)!=0}function t0(e,t,r){return 262144&v0(e)?0:(e=t2(e),t=t2(t),II(r=t2(r)))?1:!n||x1(e)||x1(t)||x1(r)?0:H?tY(e=>A5(t,r,n,e)):A3(t,r,n)?0:1}function t1(e){return 0===e.statements.length&&(!n||A3(e,e,n))}function t2(e){for(;214===e.kind&&x1(e);)e=e.expression;return e}function t4(e,t){if(yL(e)||yC(e))return ni(e);if(wr(e)&&e.textSourceNode)return t4(e.textSourceNode,t);let r=n,i=!!r&&!!e.parent&&!x1(e);if(h1(e)){if(!i||vS(e)!==m7(r))return hi(e)}else if(T.assertNode(e,ym),!i)return e.text;return vJ(r,e,t)}function t8(t,r,i){if(10===t.kind&&t.textSourceNode){let e=t.textSourceNode;if(!(wb(e)||wE(e)||wt(e)))return t8(e,r,i);{let n=wt(e)?e.text:t4(e);return i?`"${Ss(n)}"`:r||33554432&v0(t)?`"${Si(n)}"`:`"${Sa(n)}"`}}let a=(r?1:0)|(i?2:0)|(e.terminateUnterminatedLiterals?4:0)|(e.target&&99===e.target?8:0);return v4(t,n,a)}function t6(e){e&&1048576&v0(e)||(u.push(_),_=0,s.push(l),l=void 0,p.push(f))}function t3(e){e&&1048576&v0(e)||(_=u.pop(),l=s.pop(),f=p.pop())}function t5(e){f&&f!==uJ(p)||(f=new Set),f.add(e)}function t7(e,t){c.push(d),d=e,m.push(f),h=t}function t9(){d=c.pop(),h=m.pop()}function ne(e){h&&h!==uJ(m)||(h=new Set),h.add(e)}function nt(e){if(e)switch(e.kind){case 238:case 292:case 293:dz(e.statements,nt);break;case 253:case 251:case 243:case 244:nt(e.statement);break;case 242:nt(e.thenStatement),nt(e.elseStatement);break;case 245:case 247:case 246:nt(e.initializer),nt(e.statement);break;case 252:nt(e.caseBlock);break;case 266:dz(e.clauses,nt);break;case 255:nt(e.tryBlock),nt(e.catchClause),nt(e.finallyBlock);break;case 295:nt(e.variableDeclaration),nt(e.block);break;case 240:nt(e.declarationList);break;case 258:dz(e.declarations,nt);break;case 257:case 166:case 205:case 260:case 271:case 277:nr(e.name);break;case 259:nr(e.name),1048576&v0(e)&&(dz(e.parameters,nt),nt(e.body));break;case 203:case 204:case 272:dz(e.elements,nt);break;case 269:nt(e.importClause);break;case 270:nr(e.name),nt(e.namedBindings);break;case 273:nr(e.propertyName||e.name)}}function nn(e){if(e)switch(e.kind){case 299:case 300:case 169:case 171:case 174:case 175:nr(e.name)}}function nr(e){e&&(yL(e)||yC(e)?ni(e):y2(e)&&nt(e))}function ni(e){let t=e.emitNode.autoGenerate;if((7&t.flags)==4)return function e(t,n,a,o,s){let l=Gv(t),c=n?i:r;return c[l]||(c[l]=function t(n,r,i,a,o){switch(n.kind){case 79:case 80:return nc(t4(n),na,!!(16&i),!!(8&i),r,a,o);case 264:case 263:let s;return T.assert(!a&&!o&&!r),!function(e,t){for(let n=t;n&&xo(n,t);n=n.nextContainer)if(gR(n)&&n.locals){let t=n.locals.get(hn(e));if(t&&3257279&t.flags)return!1}return!0}(s=t4(n.name),_E(n,gR))?nc(s,na,!1,!1,!1,"",""):s;case 269:case 275:let l;return T.assert(!a&&!o&&!r),nc(wr(l=TD(n))?v6(l.text):"module",na,!1,!1,!1,"","");case 259:case 260:{T.assert(!a&&!o&&!r);let e=n.name;if(e&&!yL(e))return t(e,!1,i,a,o);return nu()}case 274:return T.assert(!a&&!o&&!r),nu();case 228:return T.assert(!a&&!o&&!r),nc("class",na,!1,!1,!1,"","");case 171:case 174:case 175:return wb(n.name)?e(n.name,r):nl(0,!1,r,a,o);case 164:return nl(0,!0,r,a,o);default:return nl(0,!1,r,a,o)}}(t,n,null!=a?a:0,ON(o,ni),ON(s)))}(OR(e),wE(e),t.flags,t.prefix,t.suffix);{let n=t.id;return a[n]||(a[n]=function(e){let t=e.emitNode.autoGenerate,n=ON(t.prefix,ni),r=ON(t.suffix);switch(7&t.flags){case 1:return nl(0,!!(8&t.flags),wE(e),n,r);case 2:return T.assertNode(e,wb),nl(268435456,!!(8&t.flags),!1,n,r);case 3:return nc(hi(e),32&t.flags?no:na,!!(16&t.flags),!!(8&t.flags),wE(e),n,r)}return T.fail(`Unsupported GeneratedIdentifierKind: ${T.formatEnum(7&t.flags,es,!0)}.`)}(e))}}function na(e,t){return no(e,t)&&(t?!(null==h?void 0:h.has(e)):!(null==f?void 0:f.has(e)))&&!o.has(e)}function no(e,t){return!n||vR(n,e,I)}function ns(e,t){switch(e){case"":_=t;break;case"#":d=t;break;default:null!=l||(l=new Map),l.set(e,t)}}function nl(e,t,n,r,i){r.length>0&&35===r.charCodeAt(0)&&(r=r.slice(1));let a=OD(n,r,"",i),o=function(e){var t;switch(e){case"":return _;case"#":return d;default:return null!=(t=null==l?void 0:l.get(e))?t:0}}(a);if(e&&!(o&e)){let s=OD(n,r,268435456===e?"_i":"_n",i);if(na(s,n))return o|=e,n?ne(s):t&&t5(s),ns(a,o),s}for(;;){let e=268435455&o;if(o++,8!==e&&13!==e){let s=OD(n,r,e<26?"_"+String.fromCharCode(97+e):"_"+(e-26),i);if(na(s,n))return n?ne(s):t&&t5(s),ns(a,o),s}}}function nc(e,t=na,n,r,i,a,s){if(e.length>0&&35===e.charCodeAt(0)&&(e=e.slice(1)),a.length>0&&35===a.charCodeAt(0)&&(a=a.slice(1)),n){let n=OD(i,a,e,s);if(t(n,i))return i?ne(n):r?t5(n):o.add(n),n}95!==e.charCodeAt(e.length-1)&&(e+="_");let l=1;for(;;){let n=OD(i,a,e+l,s);if(t(n,i))return i?ne(n):r?t5(n):o.add(n),n;l++}}function nd(e){return nc(e,no,!0,!1,!1,"","")}function nu(){return nc("default",na,!1,!1,!1,"","")}function n_(e,t){let n=eO(3,e,t),r=Z,i=ee,a=et;np(t),n(e,t),nf(t,r,i,a)}function np(e){var t,n;let r,i,a=v0(e),o=IR(e);t=o.pos,n=o.end,ei(),en=!1,r=t<0||(1024&a)!=0||11===e.kind,i=n<0||(2048&a)!=0||11===e.kind,(t>0||n>0)&&t!==n&&(r||nb(t,355!==e.kind),(!r||t>=0&&(1024&a)!=0)&&(Z=t),(!i||n>=0&&(2048&a)!=0)&&(ee=n,258===e.kind&&(et=n))),dz(ID(e),nh),ea(),4096&a&&(er=!0)}function nf(e,t,n,r){let i=v0(e),a=IR(e);4096&i&&(er=!1),nm(e,i,a.pos,a.end,t,n,r);let o=I$(e);o&&nm(e,i,o.pos,o.end,t,n,r)}function nm(e,t,n,r,i,a,o){ei();let s=r<0||(2048&t)!=0||11===e.kind;dz(IP(e),ny),(n>0||r>0)&&n!==r&&(Z=i,ee=a,et=o,s||355===e.kind||nR(r,nL)),ea()}function nh(e){(e.hasLeadingNewline||2===e.kind)&&g.writeLine(),ng(e),e.hasTrailingNewLine||2===e.kind?g.writeLine():g.writeSpace(" ")}function ny(e){g.isAtStartOfLine()||g.writeSpace(" "),ng(e),e.hasTrailingNewLine&&g.writeLine()}function ng(e){let t=3===e.kind?`/*${e.text}*/`:`//${e.text}`,n=3===e.kind?f8(t):void 0;S1(t,n,g,0,t.length,U)}function nv(e,t,r){let i;ei();let{pos:a,end:o}=t,s=v0(e),l=er||o<0||(2048&s)!=0;a<0||(1024&s)!=0||(i=n&&S0(n.text,eC(),g,nN,t,U,er))&&(L?L.push(i):L=[i]),ea(),4096&s&&!er?(er=!0,r(e),er=!1):r(e),ei(),l||(nb(t.end,!0),en&&!g.isAtStartOfLine()&&g.writeLine()),ea()}function nb(e,t){en=!1,t?0===e&&(null==n?void 0:n.isDeclarationFile)?nw(e,nT):nw(e,nS):0===e&&nw(e,nE)}function nE(e,t,n,r,i){nD(e,t)&&nS(e,t,n,r,i)}function nT(e,t,n,r,i){nD(e,t)||nS(e,t,n,r,i)}function nx(t,n){return!e.onlyPrintJsDocStyle||Oq(t,n)||vK(t,n)}function nS(e,t,r,i,a){n&&nx(n.text,e)&&(en||(SQ(eC(),g,a,e),en=!0),nG(e),S1(n.text,eC(),g,e,t,U),nG(t),i?g.writeLine():3===r&&g.writeSpace(" "))}function nA(e){er||-1===e||nb(e,!0)}function nL(e,t,r,i){n&&nx(n.text,e)&&(g.isAtStartOfLine()||g.writeSpace(" "),nG(e),S1(n.text,eC(),g,e,t,U),nG(t),i&&g.writeLine())}function nC(e,t,n){er||(ei(),nR(e,t?nL:n?nk:nI),ea())}function nk(e,t,r){n&&(nG(e),S1(n.text,eC(),g,e,t,U),nG(t),2===r&&g.writeLine())}function nI(e,t,r,i){n&&(nG(e),S1(n.text,eC(),g,e,t,U),nG(t),i?g.writeLine():g.writeSpace(" "))}function nw(e,t){n&&(-1===Z||e!==Z)&&(void 0!==L&&uX(L).nodePos===e?function(e){if(!n)return;let t=uX(L).detachedCommentEndPos;L.length-1?L.pop():L=void 0,mm(n.text,t,e,t)}(t):mm(n.text,e,t,e))}function nR(e,t){n&&(-1===ee||e!==ee&&e!==et)&&mh(n.text,e,t)}function nN(e,t,r,i,a,o){n&&nx(n.text,i)&&(nG(i),S1(e,t,r,i,a,o),nG(a))}function nD(e,t){return!!n&&vH(n.text,e,t)}function nO(e,t){let n=eO(4,e,t);nM(t),n(e,t),nP(t)}function nM(e){let t=v0(e),n=IA(e);if(ys(e)){var r;T.assertIsDefined(e.parent,"UnparsedNodes must have parent pointers");let t=(void 0===(r=e.parent).parsedSourceMap&&void 0!==r.sourceMapText&&(r.parsedSourceMap=Gz(r.sourceMapText)||!1),r.parsedSourceMap||void 0);t&&E&&E.appendSourceMap(g.getLine(),g.getColumn(),t,e.parent.sourceMapPath,e.parent.getLineAndCharacterOfPosition(e.pos),e.parent.getLineAndCharacterOfPosition(e.end))}else{let r=n.source||x;355!==e.kind&&(32&t)==0&&n.pos>=0&&nB(n.source||x,nF(r,n.pos)),128&t&&(Y=!0)}}function nP(e){let t=v0(e),n=IA(e);!ys(e)&&(128&t&&(Y=!1),355!==e.kind&&(64&t)==0&&n.end>=0&&nB(n.source||x,n.end))}function nF(e,t){return e.skipTrivia?e.skipTrivia(t):mc(e.text,t)}function nG(e){if(Y||C9(e)||nj(x))return;let{line:t,character:n}=mt(x,e);E.addMapping(g.getLine(),g.getColumn(),$,t,n,void 0)}function nB(e,t){if(e!==x){let n=x,r=$;nV(e),nG(t),x=n,$=r}else nG(t)}function nV(t){if(!Y){if(x=t,t===S){$=Q;return}nj(t)||($=E.addSource(t.fileName),e.inlineSources&&E.setSourceContent($,t.text),S=t,Q=$)}}function nj(e){return fu(e.fileName,".json")}}function U2(e,t,n,r){t(e)}function U4(e,t,n,r){t(e,n.select(r))}function U8(e,t,n,r){t(e,n)}var U6=dj({"src/compiler/emitter.ts"(){let e;Kr(),Kr(),pJ(),(e=[])[1024]=["{","}"],e[2048]=["(",")"],e[4096]=["<",">"],e[8192]=["[","]"],iV=e,ij={hasGlobalName:_w,getReferencedExportContainer:_w,getReferencedImportDeclaration:_w,getReferencedDeclarationWithCollidingName:_w,isDeclarationWithCollidingName:_w,isValueAliasDeclaration:_w,isReferencedAliasDeclaration:_w,isTopLevelValueImportEqualsWithEntityName:_w,getNodeCheckFlags:_w,isDeclarationVisible:_w,isLateBound:e=>!1,collectLinkedAliases:_w,isImplementationOfOverload:_w,isRequiredInitializedParameter:_w,isOptionalUninitializedParameterProperty:_w,isExpandoFunctionDeclaration:_w,getPropertiesOfContainerFunction:_w,createTypeOfDeclaration:_w,createReturnTypeOfSignatureDeclaration:_w,createTypeOfExpression:_w,createLiteralConstValue:_w,isSymbolAccessible:_w,isEntityNameVisible:_w,getConstantValue:_w,getReferencedValueDeclaration:_w,getTypeReferenceSerializationKind:_w,isOptionalParameter:_w,moduleExportsSomeValue:_w,isArgumentsLocalBinding:_w,getExternalModuleFileFromDeclaration:_w,getTypeReferenceDirectivesForEntityName:_w,getTypeReferenceDirectivesForSymbol:_w,isLiteralConstDeclaration:_w,getJsxFactoryEntity:_w,getJsxFragmentFactoryEntity:_w,getAllAccessorDeclarations:_w,getSymbolOfExternalModuleSpecifier:_w,isBindingCapturedByNode:_w,getDeclarationStatementsForSourceFile:_w,isImportRequiredByAugmentation:_w},iH=_R(()=>U1({})),iK=_R(()=>U1({removeComments:!0})),iW=_R(()=>U1({removeComments:!0,neverAsciiEscape:!0})),iz=_R(()=>U1({removeComments:!0,omitTrailingSemicolon:!0}))}});function U3(e,t,n){if(!e.getDirectories||!e.readDirectory)return;let r=new Map,i=_7(n);return{useCaseSensitiveFileNames:n,fileExists:function(t){var n;let r=l(a(t));return r&&u0(r.sortedAndCanonicalizedFiles,i(c(t)),_C,_W)>=0||e.fileExists(t)},readFile:(t,n)=>e.readFile(t,n),directoryExists:e.directoryExists&&function(t){let n=a(t);return r.has(fD(n))||e.directoryExists(t)},getDirectories:function(t){let n=a(t),r=d(t,n);return r?r.directories.slice():e.getDirectories(t)},readDirectory:function(r,i,s,l,_){let p;let f=a(r),m=d(r,f);if(void 0!==m)return CW(r,i,s,l,n,t,_,function(e){let t=a(e);if(t===f)return m||h(e,t);let n=d(e,t);return void 0!==n?n||h(e,t):nR},u);return e.readDirectory(r,i,s,l,_);function h(t,n){if(p&&n===f)return p;let r={files:un(e.readDirectory(t,void 0,void 0,["*.*"]),c)||o,directories:e.getDirectories(t)||o};return n===f&&(p=r),r}},createDirectory:e.createDirectory&&function(t){let n=l(a(t));if(n){let e=c(t),r=i(e);uL(n.sortedAndCanonicalizedDirectories,r,_W)&&n.directories.push(e)}e.createDirectory(t)},writeFile:e.writeFile&&function(t,n,r){let i=l(a(t));return i&&_(i,c(t),!0),e.writeFile(t,n,r)},addOrDeleteFileOrDirectory:function(t,n){var r;if(void 0!==s(n)){p();return}let a=l(n);if(!a)return;if(!e.directoryExists){p();return}let o=c(t),d={fileExists:e.fileExists(n),directoryExists:e.directoryExists(n)};return d.directoryExists||u0(a.sortedAndCanonicalizedDirectories,i(o),_C,_W)>=0?p():_(a,o,d.fileExists),d},addOrDeleteFile:function(e,t,n){if(1===n)return;let r=l(t);r&&_(r,c(e),0===n)},clearCache:p,realpath:e.realpath&&u};function a(e){return fR(e,t,i)}function s(e){return r.get(fD(e))}function l(e){let t=s(fy(e));return t&&(t.sortedAndCanonicalizedFiles||(t.sortedAndCanonicalizedFiles=t.files.map(i).sort(),t.sortedAndCanonicalizedDirectories=t.directories.map(i).sort())),t}function c(e){return fg(fI(e))}function d(t,n){let i=s(n=fD(n));if(i)return i;try{return function(t,n){var i;if(!e.realpath||fD(a(e.realpath(t)))===n){let i={files:un(e.readDirectory(t,void 0,void 0,["*.*"]),c)||[],directories:e.getDirectories(t)||[]};return r.set(fD(n),i),i}if(null==(i=e.directoryExists)?void 0:i.call(e,t))return r.set(n,!1),!1}(t,n)}catch(e){T.assert(!r.has(fD(n)));return}}function u(t){return e.realpath?e.realpath(t):t}function _(e,t,n){let r=e.sortedAndCanonicalizedFiles,a=i(t);if(n)uL(r,a,_W)&&e.files.push(t);else{let t=u0(r,a,_C,_W);if(t>=0){r.splice(t,1);let n=e.files.findIndex(e=>i(e)===a);e.files.splice(n,1)}}}function p(){r.clear()}}function U5(e,t,n,r,i){var a;let s=_n((null==(a=null==t?void 0:t.configFile)?void 0:a.extendedSourceFiles)||o,i);n.forEach((t,n)=>{s.has(n)||(t.projects.delete(e),t.close())}),s.forEach((t,i)=>{let a=n.get(i);a?a.projects.add(e):n.set(i,{projects:new Set([e]),watcher:r(t,i),close:()=>{let e=n.get(i);e&&0===e.projects.size&&(e.watcher.close(),n.delete(i))}})})}function U7(e,t){t.forEach(t=>{t.projects.delete(e)&&t.close()})}function U9(e,t,n){e.delete(t)&&e.forEach(({extendedResult:r},i)=>{var a;(null==(a=r.extendedSourceFiles)?void 0:a.some(e=>n(e)===t))&&U9(e,i,n)})}function Ve(e,t,n){Lv(t,new Map(e),{createNewValue:n,onDeleteValue:Ll})}function Vt(e,t,n){Lv(t,_n(e.getMissingFilePaths(),_C,_A),{createNewValue:n,onDeleteValue:Ll})}function Vn(e,t,n){function r(e,t){return{watcher:n(e,t),flags:t}}Lv(e,t,{createNewValue:r,onDeleteValue:Vs,onExistingValue:function(t,n,i){t.flags!==n&&(t.watcher.close(),e.set(i,r(i,n)))}})}function Vr({watchedDirPath:e,fileOrDirectory:t,fileOrDirectoryPath:n,configFileName:r,options:i,program:a,extraFileExtensions:o,currentDirectory:s,useCaseSensitiveFileNames:l,writeLog:c,toPath:d}){let u=jL(n);if(!u)return c(`Project: ${r} Detected ignored path: ${t}`),!0;if((n=u)===e)return!1;if(fd(n)&&!C0(t,i,o))return c(`Project: ${r} Detected file add/remove of non supported extension: ${t}`),!0;if(Py(t,i.configFile.configFileSpecs,fk(fy(r),s),l,s))return c(`Project: ${r} Detected excluded file: ${t}`),!0;if(!a||SL(i)||i.outDir)return!1;if(Mf(n)){if(i.declarationDir)return!1}else if(!f_(n,nS))return!1;let _=C4(n),p=_y(a)?void 0:a.getState?a.getProgramOrUndefined():a,f=p||_y(a)?void 0:a;if(m(_+".ts")||m(_+".tsx"))return c(`Project: ${r} Detected output file: ${t}`),!0;return!1;function m(e){return p?!!p.getSourceFileByPath(e):f?f.getState().fileInfos.has(e):!!d0(a,t=>d(t)===e)}}function Vi(e,t){return!!e&&e.isEmittedFile(t)}function Va(e,t,n,r){ty=2===t?n:_x;let i={watchFile:(t,n,r,i)=>e.watchFile(t,n,r,i),watchDirectory:(t,n,r,i)=>e.watchDirectory(t,n,(1&r)!=0,i)},a=0!==t?{watchFile:c("watchFile"),watchDirectory:c("watchDirectory")}:void 0,o=2===t?{watchFile:function(e,t,i,o,s,l){n(`FileWatcher:: Added:: ${d(e,i,o,s,l,r)}`);let c=a.watchFile(e,t,i,o,s,l);return{close:()=>{n(`FileWatcher:: Close:: ${d(e,i,o,s,l,r)}`),c.close()}}},watchDirectory:function(e,t,i,o,s,l){let c=`DirectoryWatcher:: Added:: ${d(e,i,o,s,l,r)}`;n(c);let u=B(),_=a.watchDirectory(e,t,i,o,s,l);return n(`Elapsed:: ${B()-u}ms ${c}`),{close:()=>{let t=`DirectoryWatcher:: Close:: ${d(e,i,o,s,l,r)}`;n(t);let a=B();_.close(),n(`Elapsed:: ${B()-a}ms ${t}`)}}}}:a||i,s=2===t?function(e,t,i,a,o){return n(`ExcludeWatcher:: Added:: ${d(e,t,i,a,o,r)}`),{close:()=>n(`ExcludeWatcher:: Close:: ${d(e,t,i,a,o,r)}`)}}:ai;return{watchFile:l("watchFile"),watchDirectory:l("watchDirectory")};function l(t){return(n,r,i,a,l,c)=>{var d;return Pv(n,"watchFile"===t?null==a?void 0:a.excludeFiles:null==a?void 0:a.excludeDirectories,"boolean"==typeof e.useCaseSensitiveFileNames?e.useCaseSensitiveFileNames:e.useCaseSensitiveFileNames(),(null==(d=e.getCurrentDirectory)?void 0:d.call(e))||"")?s(n,i,a,l,c):o[t].call(void 0,n,r,i,a,l,c)}}function c(e){return(t,a,o,s,l,c)=>i[e].call(void 0,t,(...i)=>{let u=`${"watchFile"===e?"FileWatcher":"DirectoryWatcher"}:: Triggered with ${i[0]} ${void 0!==i[1]?i[1]:""}:: ${d(t,o,s,l,c,r)}`;n(u);let _=B();a.call(void 0,...i),n(`Elapsed:: ${B()-_}ms ${u}`)},o,s,l,c)}function d(e,t,n,r,i,a){return`WatchInfo: ${e} ${t} ${JSON.stringify(n)} ${a?a(r,i):void 0===i?r:`${r} ${i}`}`}}function Vo(e){let t=null==e?void 0:e.fallbackPolling;return{watchFile:void 0!==t?t:1}}function Vs(e){e.watcher.close()}var Vl=dj({"src/compiler/watchUtilities.ts"(){var e,t;Kr(),Kr(),(e=iq||{})[e.None=0]="None",e[e.Partial=1]="Partial",e[e.Full=2]="Full",iq=e,(t=iJ||{})[t.None=0]="None",t[t.TriggerOnly=1]="TriggerOnly",t[t.Verbose=2]="Verbose",iJ=t}});function Vc(e,t,n="tsconfig.json"){return fq(e,e=>{let r=fA(e,n);return t(r)?r:void 0})}function Vd(e,t){let n=fy(t);return fI(fa(e)?e:fA(n,e))}function Vu(e,t,n){let r;return dz(e,e=>{let i=fC(e,t);if(i.pop(),!r){r=i;return}let a=Math.min(r.length,i.length);for(let e=0;e{let o;try{pM("beforeIORead"),o=e(r,t().charset),pM("afterIORead"),pP("I/O Read","beforeIORead","afterIORead")}catch(e){a&&a(e.message),o=""}return void 0!==o?Ms(r,o,i,n):void 0}}function Vf(e,t,n){return(r,i,a,o)=>{try{pM("beforeIOWrite"),SD(r,i,a,e,t,n),pM("afterIOWrite"),pP("I/O Write","beforeIOWrite","afterIOWrite")}catch(e){o&&o(e.message)}}}function Vm(e,t,n=tv){let r=new Map,i=_7(n.useCaseSensitiveFileNames);function a(){return fy(fI(n.getExecutingFilePath()))}let o=AJ(e),s=n.realpath&&(e=>n.realpath(e)),l={getSourceFile:Vp(e=>l.readFile(e),()=>e,t),getDefaultLibLocation:a,getDefaultLibFileName:e=>fA(a(),mD(e)),writeFile:Vf((e,t,r)=>n.writeFile(e,t,r),e=>(l.createDirectory||n.createDirectory)(e),e=>!!r.has(e)||!!(l.directoryExists||n.directoryExists)(e)&&(r.set(e,!0),!0)),getCurrentDirectory:_R(()=>n.getCurrentDirectory()),useCaseSensitiveFileNames:()=>n.useCaseSensitiveFileNames,getCanonicalFileName:i,getNewLine:()=>o,fileExists:e=>n.fileExists(e),readFile:e=>n.readFile(e),trace:e=>n.write(e+o),directoryExists:e=>n.directoryExists(e),getEnvironmentVariable:e=>n.getEnvironmentVariable?n.getEnvironmentVariable(e):"",getDirectories:e=>n.getDirectories(e),realpath:s,readDirectory:(e,t,r,i,a)=>n.readDirectory(e,t,r,i,a),createDirectory:e=>n.createDirectory(e),createHash:_d(n,n.createHash)};return l}function Vh(e,t,n){let r=e.readFile,i=e.fileExists,a=e.directoryExists,o=e.createDirectory,s=e.writeFile,l=new Map,c=new Map,d=new Map,u=new Map,_=(t,n)=>{let i=r.call(e,n);return l.set(t,void 0!==i&&i),i};e.readFile=n=>{let i=t(n),a=l.get(i);return void 0!==a?!1!==a?a:void 0:fu(n,".json")||UN(n)?_(i,n):r.call(e,n)};let p=n?(e,r,i,a)=>{let o=t(e),s="object"==typeof r?r.impliedNodeFormat:void 0,l=u.get(s),c=null==l?void 0:l.get(o);if(c)return c;let d=n(e,r,i,a);return d&&(Mf(e)||fu(e,".json"))&&u.set(s,(l||new Map).set(o,d)),d}:void 0;return e.fileExists=n=>{let r=t(n),a=c.get(r);if(void 0!==a)return a;let o=i.call(e,n);return c.set(r,!!o),o},s&&(e.writeFile=(n,r,...i)=>{let a=t(n);c.delete(a);let o=l.get(a);void 0!==o&&o!==r?(l.delete(a),u.forEach(e=>e.delete(a))):p&&u.forEach(e=>{let t=e.get(a);t&&t.text!==r&&e.delete(a)}),s.call(e,n,r,...i)}),a&&(e.directoryExists=n=>{let r=t(n),i=d.get(r);if(void 0!==i)return i;let o=a.call(e,n);return d.set(r,!!o),o},o&&(e.createDirectory=n=>{let r=t(n);d.delete(r),o.call(e,n)})),{originalReadFile:r,originalFileExists:i,originalDirectoryExists:a,originalCreateDirectory:o,originalWriteFile:s,getSourceFileWithCache:p,readFileWithCache:e=>{let n=t(e),r=l.get(n);return void 0!==r?!1!==r?r:void 0:_(n,e)}}}function Vy(e,t,n){let r;return r=uP(r,e.getConfigFileParsingDiagnostics()),r=uP(r,e.getOptionsDiagnostics(n)),r=uP(r,e.getSyntacticDiagnostics(t,n)),r=uP(r,e.getGlobalDiagnostics(n)),r=uP(r,e.getSemanticDiagnostics(t,n)),Cg(e.getCompilerOptions())&&(r=uP(r,e.getDeclarationDiagnostics(t,n))),mN(r||o)}function Vg(e,t){let n="";for(let r of e)n+=Vv(r,t);return n}function Vv(e,t){let n=`${pY(e)} TS${e.code}: ${VA(e.messageText,t.getNewLine())}${t.getNewLine()}`;if(e.file){let{line:r,character:i}=mt(e.file,e.start);return`${fK(e.file.fileName,t.getCurrentDirectory(),e=>t.getCanonicalFileName(e))}(${r+1},${i+1}): `+n}return n}function Vb(e){switch(e){case 1:return"\x1b[91m";case 0:return"\x1b[93m";case 2:return T.fail("Should never get an Info diagnostic on the command line.");case 3:return"\x1b[94m"}}function VE(e,t){return t+e+iQ}function VT(e,t,n,r,i,a){let{line:o,character:s}=mt(e,t),{line:l,character:c}=mt(e,t+n),d=mt(e,e.text.length).line,u=l-o>=4,_=(l+1+"").length;u&&(_=Math.max(iZ.length,_));let p="";for(let t=o;t<=l;t++){var f,m,h;p+=a.getNewLine(),u&&o+1n.getCanonicalFileName(e)):e.fileName,"\x1b[96m")+":"+r(`${i+1}`,"\x1b[93m")+":"+r(`${a+1}`,"\x1b[93m")}function VS(e,t){let n="";for(let i of e){var r;if(i.file){let{file:e,start:r}=i;n+=Vx(e,r,t)+" - "}if(n+=(r=pY(i),Vb(i.category)+r+iQ+` TS${i.code}: `+iQ+VA(i.messageText,t.getNewLine())),i.file&&(n+=t.getNewLine()+VT(i.file,i.start,i.length,"",Vb(i.category),t)),i.relatedInformation)for(let{file:e,start:r,length:a,messageText:o}of(n+=t.getNewLine(),i.relatedInformation))e&&(n+=t.getNewLine()+(i0+Vx(e,r,t))+VT(e,r,a,i1,"\x1b[96m",t)),n+=t.getNewLine()+(i1+VA(o,t.getNewLine()));n+=t.getNewLine()}return n}function VA(e,t,n=0){if(_v(e))return e;if(void 0===e)return"";let r="";if(n){r+=t;for(let e=0;eP6(a,e,n,r,i,t,o)}}function VD(e){return _v(e)?e:_I(e.fileName)}function VO(e,t,n,r,i){return{nameAndMode:i8,resolve:(a,o)=>Pj(a,e,n,r,t,i,o)}}function VM(e,t,n,r,i,a,s,l){if(0===e.length)return o;let c=[],d=new Map,u=l(t,n,r,a,s);for(let t of e){let e=u.nameAndMode.getName(t),n=u.nameAndMode.getMode(t,i),r=PY(e,n),a=d.get(r);a||d.set(r,a=u.resolve(e,n)),c.push(a)}return c}function VP(e,t){return VF(void 0,e,(e,n)=>e&&t(e,n))}function VF(e,t,n,r){let i;return function e(t,a,o){if(r){let e=r(t,o);if(e)return e}return dz(a,(t,r)=>{if(t&&(null==i?void 0:i.has(t.sourceFile.path)))return;let a=n(t,o,r);return a||!t?a:((i||(i=new Set)).add(t.sourceFile.path),e(t.commandLine.projectReferences,t.references,t))})}(e,t,void 0)}function VG(e){switch(null==e?void 0:e.kind){case 3:case 4:case 5:case 7:return!0;default:return!1}}function VB(e){return void 0!==e.pos}function VU(e,t){var n,r,i,a,o,s;let l,c,d,u;let _=T.checkDefined(e(t.file)),{kind:p,index:f}=t;switch(p){case 3:let m=VZ(_,f);if(d=null==(i=null==(r=null==(n=_.resolvedModules)?void 0:n.get(m.text,VC(_,f)))?void 0:r.resolvedModule)?void 0:i.packageId,-1===m.pos)return{file:_,packageId:d,text:m.text};l=mc(_.text,m.pos),c=m.end;break;case 4:({pos:l,end:c}=_.referencedFiles[f]);break;case 5:({pos:l,end:c,resolutionMode:u}=_.typeReferenceDirectives[f]),d=null==(s=null==(o=null==(a=_.resolvedTypeReferenceDirectiveNames)?void 0:a.get(_I(_.typeReferenceDirectives[f].fileName),u||_.impliedNodeFormat))?void 0:o.resolvedTypeReferenceDirective)?void 0:s.packageId;break;case 7:({pos:l,end:c}=_.libReferenceDirectives[f]);break;default:return T.assertNever(p)}return{file:_,pos:l,end:c,packageId:d}}function VV(e,t,n,r,i,a,o,s,l){let c;if(!e||(null==o?void 0:o())||!uw(e.getRootFileNames(),t)||!uw(e.getProjectReferences(),l,function(t,n,r){return vy(t,n)&&function e(t,n){if(t){if(d6(c,t))return!0;let r=s(VY(n));return!!(r&&t.commandLine.options.configFile===r.options.configFile&&uw(t.commandLine.fileNames,r.fileNames))&&((c||(c=[])).push(t),!dz(t.references,(n,r)=>!e(n,t.commandLine.projectReferences[r])))}return!s(VY(n))}(e.getResolvedProjectReferences()[r],t)})||e.getSourceFiles().some(function(e){return e.version!==r(e.resolvedPath,e.fileName)||a(e.path)})||e.getMissingFilePaths().some(i))return!1;let d=e.getCompilerOptions();return!!Lh(d,n)&&(!d.configFile||!n.configFile||d.configFile.text===n.configFile.text)}function Vj(e){return e.options.configFile?[...e.options.configFile.parseDiagnostics,...e.errors]:e.errors}function VH(e,t,n,r){let i=VK(e,t,n,r);return"object"==typeof i?i.impliedNodeFormat:i}function VK(e,t,n,r){switch(Ci(r)){case 3:case 99:let i,a,o;return f_(e,[".d.mts",".mts",".mjs"])?99:f_(e,[".d.cts",".cts",".cjs"])?1:f_(e,[".d.ts",".ts",".tsx",".js",".jsx"])?(i=Fh(t,n,r),a=[],i.failedLookupLocations=a,i.affectingLocations=a,{impliedNodeFormat:(null==(o=Fy(e,i))?void 0:o.contents.packageJsonContent.type)==="module"?99:1,packageJsonLocations:a,packageJsonScope:o}):void 0;default:return}}function VW(e,t,n,i,a){var s,l,c,d,u,_,p,f,m,h,y,g,v,b,E,x,S;let A,L,C,k,I,R,N,D,O,M,P,F,G,B,U,V,j,H,K,W;let z=_y(e)?{rootNames:e,options:t,host:n,oldProgram:i,configFileParsingDiagnostics:a,typeScriptVersion:void 0}:e,{rootNames:q,options:J,configFileParsingDiagnostics:X,projectReferences:Y,typeScriptVersion:$}=z,{oldProgram:Z}=z,ee=_R(()=>tH("ignoreDeprecations",tA.Invalid_value_for_ignoreDeprecations)),et=new Map,en=_u(),er={},ei={},ea=P$(),eo="number"==typeof J.maxNodeModuleJsDepth?J.maxNodeModuleJsDepth:0,es=0,el=new Map,ec=new Map;null==(s=Q)||s.push(Q.Phase.Program,"createProgram",{configFilePath:J.configFilePath,rootDir:J.rootDir},!0),pM("beforeProgram");let ed=z.host||Vm(J,void 0),ep=VJ(ed),ef=J.noLib,em=_R(()=>ed.getDefaultLibFileName(J)),eh=ed.getDefaultLibLocation?ed.getDefaultLibLocation():fy(em()),ey=Se(),eg=ed.getCurrentDirectory(),ev=CJ(J),eb=CX(J,ev),eE=new Map,eT=ed.hasInvalidatedResolutions||_S;if(ed.resolveModuleNameLiterals?(G=ed.resolveModuleNameLiterals.bind(ed),F=null==(l=ed.getModuleResolutionCache)?void 0:l.call(ed)):ed.resolveModuleNames?(G=(e,t,n,r,i,a)=>ed.resolveModuleNames(e.map(VR),t,null==a?void 0:a.map(VR),n,r,i).map(e=>e?void 0!==e.extension?{resolvedModule:e}:{resolvedModule:{...e,extension:kn(e.resolvedFileName)}}:i2),F=null==(c=ed.getModuleResolutionCache)?void 0:c.call(ed)):(F=P2(eg,tI,J),G=(e,t,n,r,i)=>VM(e,t,n,r,i,ed,F,VN)),ed.resolveTypeReferenceDirectiveReferences)B=ed.resolveTypeReferenceDirectiveReferences.bind(ed);else if(ed.resolveTypeReferenceDirectives)B=(e,t,n,r,i)=>ed.resolveTypeReferenceDirectives(e.map(VD),t,n,r,null==i?void 0:i.impliedNodeFormat).map(e=>({resolvedTypeReferenceDirective:e}));else{let e=P4(eg,tI,void 0,null==F?void 0:F.getPackageJsonInfoCache());B=(t,n,r,i,a)=>VM(t,n,r,i,a,ed,e,VO)}let ex=new Map,eS=new Map,eA=_u(),eL=!1,eC=new Map,ek=ed.useCaseSensitiveFileNames()?new Map:void 0,eI=!!(null==(d=ed.useSourceOfProjectReferenceRedirect)?void 0:d.call(ed))&&!J.disableSourceOfProjectReferenceRedirect,{onProgramCreateComplete:ew,fileExists:eR,directoryExists:eN}=function(e){let t,n;let r=e.compilerHost.fileExists,i=e.compilerHost.directoryExists,a=e.compilerHost.getDirectories,o=e.compilerHost.realpath;if(!e.useSourceOfProjectReferenceRedirect)return{onProgramCreateComplete:_x,fileExists:s};return e.compilerHost.fileExists=s,i&&(n=e.compilerHost.directoryExists=n=>i.call(e.compilerHost,n)?(function(t){var n;let r;if(!e.getResolvedProjectReferences()||kD(t)||!o||!_2(t,il))return;let i=e.getSymlinkCache(),a=fD(e.toPath(t));if(null==(n=i.getSymlinkedDirectories())?void 0:n.has(a))return;let s=fI(o.call(e.compilerHost,t));if(s===t||(r=fD(e.toPath(s)))===a){i.setSymlinkedDirectory(a,!1);return}i.setSymlinkedDirectory(t,{real:fD(s),realPath:r})}(n),!0):!!e.getResolvedProjectReferences()&&(t||(t=new Set,e.forEachResolvedProjectReference(n=>{let r=SL(n.commandLine.options);if(r)t.add(fy(e.toPath(r)));else{let r=n.commandLine.options.declarationDir||n.commandLine.options.outDir;r&&t.add(e.toPath(r))}})),l(n,!1))),a&&(e.compilerHost.getDirectories=t=>!e.getResolvedProjectReferences()||i&&i.call(e.compilerHost,t)?a.call(e.compilerHost,t):[]),o&&(e.compilerHost.realpath=t=>{var n;return(null==(n=e.getSymlinkCache().getSymlinkedFiles())?void 0:n.get(e.toPath(t)))||o.call(e.compilerHost,t)}),{onProgramCreateComplete:function(){e.compilerHost.fileExists=r,e.compilerHost.directoryExists=i,e.compilerHost.getDirectories=a},fileExists:s,directoryExists:n};function s(t){return!!r.call(e.compilerHost,t)||!!(e.getResolvedProjectReferences()&&Mf(t))&&l(t,!0)}function l(n,i){var a;let o=i?t=>{let n;return void 0!==(n=e.getSourceOfProjectReferenceRedirect(e.toPath(t)))?!_v(n)||r.call(e.compilerHost,n):void 0}:n=>{let r,i;return i=`${r=e.toPath(n)}${tb}`,vc(t,e=>r===e||pn(e,i)||pn(r,`${e}/`))},s=o(n);if(void 0!==s)return s;let l=e.getSymlinkCache(),c=l.getSymlinkedDirectories();if(!c)return!1;let d=e.toPath(n);return!!_2(d,il)&&(!!(i&&(null==(a=l.getSymlinkedFiles())?void 0:a.has(d)))||dX(c.entries(),([t,r])=>{if(!r||!pn(d,t))return;let a=o(d.replace(t,r.realPath));if(i&&a){let i=fk(n,e.compilerHost.getCurrentDirectory());l.setSymlinkedFile(d,`${r.real}${i.replace(RegExp(t,"i"),"")}`)}return a})||!1)}}({compilerHost:ed,getSymlinkCache:tQ,useSourceOfProjectReferenceRedirect:eI,toPath:ej,getResolvedProjectReferences:eJ,getSourceOfProjectReferenceRedirect:tv,forEachResolvedProjectReference:tg}),eD=ed.readFile.bind(ed);null==(u=Q)||u.push(Q.Phase.Program,"shouldProgramCreateNewSourceFiles",{hasOldProgram:!!Z});let eO=!!(S=Z)&&vo(S.getCompilerOptions(),J,rW);if(null==(_=Q)||_.pop(),null==(p=Q)||p.push(Q.Phase.Program,"tryReuseStructureFromOldProgram",{}),W=function(){var e,t;let n;if(!Z)return 0;let r=Z.getCompilerOptions();if(vr(r,J)||!uw(Z.getRootFileNames(),q)||VF(Z.getProjectReferences(),Z.getResolvedProjectReferences(),(e,t,n)=>{let r=tR((t?t.commandLine.projectReferences:Y)[n]);return e?!r||r.sourceFile!==e.sourceFile||!uw(e.commandLine.fileNames,r.commandLine.fileNames):void 0!==r},(e,t)=>!uw(e,t?tT(t.sourceFile.path).commandLine.projectReferences:Y,vy)))return 0;Y&&(V=Y.map(tR));let i=[],a=[];if(W=2,Z.getMissingFilePaths().some(e=>ed.fileExists(e)))return 0;let o=Z.getSourceFiles();(t=n||(n={}))[t.Exists=0]="Exists",t[t.Modified=1]="Modified";let s=new Map;for(let t of o){let n;let r=tu(t.fileName,F,ed,J),o=ed.getSourceFileByPath?ed.getSourceFileByPath(t.fileName,t.resolvedPath,r,void 0,eO||r.impliedNodeFormat!==t.impliedNodeFormat):ed.getSourceFile(t.fileName,r,void 0,eO||r.impliedNodeFormat!==t.impliedNodeFormat);if(!o)return 0;if(o.packageJsonLocations=(null==(e=r.packageJsonLocations)?void 0:e.length)?r.packageJsonLocations:void 0,o.packageJsonScope=r.packageJsonScope,T.assert(!o.redirectInfo,"Host should not return a redirect source file from `getSourceFile`"),t.redirectInfo){if(o!==t.redirectInfo.unredirected)return 0;n=!1,o=t}else if(Z.redirectTargetsMap.has(t.path)){if(o!==t)return 0;n=!1}else n=o!==t;o.path=t.path,o.originalFileName=t.originalFileName,o.resolvedPath=t.resolvedPath,o.fileName=t.fileName;let l=Z.sourceFileToPackageName.get(t.path);if(void 0!==l){let e=s.get(l),t=n?1:0;if(void 0!==e&&1===t||1===e)return 0;s.set(l,t)}n?(t.impliedNodeFormat!==o.impliedNodeFormat?W=1:uw(t.libReferenceDirectives,o.libReferenceDirectives,tn)?t.hasNoDefaultLib!==o.hasNoDefaultLib?W=1:uw(t.referencedFiles,o.referencedFiles,tn)?(ta(o),uw(t.imports,o.imports,tr)&&uw(t.moduleAugmentations,o.moduleAugmentations,tr)?(6291456&t.flags)!=(6291456&o.flags)?W=1:uw(t.typeReferenceDirectives,o.typeReferenceDirectives,tn)||(W=1):W=1):W=1:W=1,a.push({oldFile:t,newFile:o})):eT(t.path)&&(W=1,a.push({oldFile:t,newFile:o})),i.push(o)}if(2!==W)return W;let l=a.map(e=>e.oldFile);for(let e of o)if(!d6(l,e))for(let t of e.ambientModuleNames)et.set(t,e.fileName);for(let{oldFile:e,newFile:t}of a){let n=VQ(t),r=eK(n,t);vT(n,t,r,e.resolvedModules,vg,i4)?(W=1,t.resolvedModules=PQ(t,n,r,i4)):t.resolvedModules=e.resolvedModules;let i=t.typeReferenceDirectives,a=eW(i,t);vT(i,t,a,e.resolvedTypeReferenceDirectiveNames,vE,i8)?(W=1,t.resolvedTypeReferenceDirectiveNames=PQ(t,i,a,i8)):t.resolvedTypeReferenceDirectiveNames=e.resolvedTypeReferenceDirectiveNames}if(2!==W)return W;if(va(r,J))return 1;if(ed.hasChangedAutomaticTypeDirectiveNames){if(ed.hasChangedAutomaticTypeDirectiveNames())return 1}else if(O=Pz(J,ed),!uw(Z.getAutomaticTypeDirectiveNames(),O))return 1;for(let e of(U=Z.getMissingFilePaths(),T.assert(i.length===Z.getSourceFiles().length),i))eC.set(e.path,e);return Z.getFilesByNameMap().forEach((e,t)=>{if(!e){eC.set(t,e);return}if(e.path===t){Z.isSourceFileFromExternalLibrary(e)&&ec.set(e.path,!0);return}eC.set(t,eC.get(e.path))}),C=i,en=Z.getFileIncludeReasons(),D=Z.getFileProcessingDiagnostics(),ea=Z.getResolvedTypeReferenceDirectives(),O=Z.getAutomaticTypeDirectiveNames(),M=Z.getAutomaticTypeDirectiveResolutions(),eS=Z.sourceFileToPackageName,eA=Z.redirectTargetsMap,eL=Z.usesUriStyleNodeCoreModules,2}(),null==(f=Q)||f.pop(),2!==W){if(A=[],L=[],Y&&(V||(V=Y.map(tR)),q.length&&(null==V||V.forEach((e,t)=>{if(!e)return;let n=SL(e.commandLine.options);if(eI){if(n||0===Cn(e.commandLine.options))for(let n of e.commandLine.fileNames)tl(n,{kind:1,index:t})}else if(n)tl(C3(n,".d.ts"),{kind:2,index:t});else if(0===Cn(e.commandLine.options)){let n=_R(()=>Uz(e.commandLine,!ed.useCaseSensitiveFileNames()));for(let r of e.commandLine.fileNames)Mf(r)||fu(r,".json")||tl(UU(r,e.commandLine,!ed.useCaseSensitiveFileNames(),n),{kind:2,index:t})}}))),null==(m=Q)||m.push(Q.Phase.Program,"processRootFiles",{count:q.length}),dz(q,(e,t)=>tt(e,!1,!1,{kind:0,index:t})),null==(h=Q)||h.pop(),null!=O||(O=q.length?Pz(J,ed):o),M=P$(),O.length){null==(y=Q)||y.push(Q.Phase.Program,"processTypeReferences",{count:O.length});let e=fA(J.configFilePath?fy(J.configFilePath):ed.getCurrentDirectory(),i6),t=eW(O,e);for(let e=0;e{tt(tC(e),!0,!1,{kind:6,index:t})})}U=u9(u_(eC.entries(),([e,t])=>void 0===t?e:void 0)),C=uj(A,function(e,t){return _U(eV(e),eV(t))}).concat(L),A=void 0,L=void 0}if(T.assert(!!U),Z&&ed.onReleaseOldSourceFile){for(let e of Z.getSourceFiles()){let t=e0(e.resolvedPath);(eO||!t||t.impliedNodeFormat!==e.impliedNodeFormat||e.resolvedPath===e.path&&t.resolvedPath!==e.path)&&ed.onReleaseOldSourceFile(e,Z.getCompilerOptions(),!!e0(e.path))}ed.getParsedCommandLine||Z.forEachResolvedProjectReference(e=>{tT(e.sourceFile.path)||ed.onReleaseOldSourceFile(e.sourceFile,Z.getCompilerOptions(),!1)})}Z&&ed.onReleaseParsedCommandLine&&VF(Z.getProjectReferences(),Z.getResolvedProjectReferences(),(e,t,n)=>{let r=VY((null==t?void 0:t.commandLine.projectReferences[n])||Z.getProjectReferences()[n]);(null==j?void 0:j.has(ej(r)))||ed.onReleaseParsedCommandLine(r,e,Z.getCompilerOptions())}),Z=void 0;let eM={getRootFileNames:()=>q,getSourceFile:eZ,getSourceFileByPath:e0,getSourceFiles:()=>C,getMissingFilePaths:()=>U,getModuleResolutionCache:()=>F,getFilesByNameMap:()=>eC,getCompilerOptions:()=>J,getSyntacticDiagnostics:function(e,t){return e1(e,e4,t)},getOptionsDiagnostics:function(){return mN(uE(ey.getGlobalDiagnostics(),function(){if(!J.configFile)return o;let e=ey.getDiagnostics(J.configFile.fileName);return tg(t=>{e=uE(e,ey.getDiagnostics(t.sourceFile.fileName))}),e}()))},getGlobalDiagnostics:function(){return q.length?mN(e$().getGlobalDiagnostics().slice()):o},getSemanticDiagnostics:function(e,t){return e1(e,e6,t)},getCachedSemanticDiagnostics:function(e){var t;return e?null==(t=er.perFile)?void 0:t.get(e.path):er.allDiagnostics},getSuggestionDiagnostics:function(e,t){return e8(()=>e$().getSuggestionDiagnostics(e,t))},getDeclarationDiagnostics:function(e,t){let n=eM.getCompilerOptions();return!e||SL(n)?e9(e,t,ei,e7):e1(e,te,t)},getBindAndCheckDiagnostics:function(e,t){return e9(e,t,er,e3)},getProgramDiagnostics:e2,getTypeChecker:e$,getClassifiableNames:function(){var e;if(!N)for(let t of(e$(),N=new Set,C))null==(e=t.classifiableNames)||e.forEach(e=>N.add(e));return N},getCommonSourceDirectory:eH,emit:function(e,t,n,r,i,a){var o,s;null==(o=Q)||o.push(Q.Phase.Emit,"emit",{path:null==e?void 0:e.path},!0);let l=e8(()=>(function(e,t,n,r,i,a,o){if(!o){let i=Vz(e,t,n,r);if(i)return i}let s=e$().getEmitResolver(SL(J)?void 0:t,r);pM("beforeEmit");let l=UY(s,ez(n),t,US(J,a,i),i,!1,o);return pM("afterEmit"),pP("Emit","beforeEmit","afterEmit"),l})(eM,e,t,n,r,i,a));return null==(s=Q)||s.pop(),l},getCurrentDirectory:()=>eg,getNodeCount:()=>e$().getNodeCount(),getIdentifierCount:()=>e$().getIdentifierCount(),getSymbolCount:()=>e$().getSymbolCount(),getTypeCount:()=>e$().getTypeCount(),getInstantiationCount:()=>e$().getInstantiationCount(),getRelationCacheSizes:()=>e$().getRelationCacheSizes(),getFileProcessingDiagnostics:()=>D,getResolvedTypeReferenceDirectives:()=>ea,getAutomaticTypeDirectiveNames:()=>O,getAutomaticTypeDirectiveResolutions:()=>M,isSourceFileFromExternalLibrary:eY,isSourceFileDefaultLibrary:function(e){if(!e.isDeclarationFile)return!1;if(e.hasNoDefaultLib)return!0;if(!J.noLib)return!1;let t=ed.useCaseSensitiveFileNames()?_G:_F;return J.lib?uv(J.lib,n=>t(e.fileName,tC(n))):t(e.fileName,em())},getSourceFileFromReference:function(e,t){return to(Vd(t.fileName,e.fileName),eZ)},getLibFileFromReference:function(e){let t=_I(e.fileName),n=rO.get(t);if(n)return eZ(tC(n))},sourceFileToPackageName:eS,redirectTargetsMap:eA,usesUriStyleNodeCoreModules:eL,isEmittedFile:function(e){if(J.noEmit)return!1;let t=ej(e);if(e0(t))return!1;let n=SL(J);if(n)return t$(t,n)||t$(t,C4(n)+".d.ts");if(J.declarationDir&&fU(J.declarationDir,t,eg,!ed.useCaseSensitiveFileNames()))return!0;if(J.outDir)return fU(J.outDir,t,eg,!ed.useCaseSensitiveFileNames());if(f_(t,nS)||Mf(t)){let e=C4(t);return!!e0(e+".ts")||!!e0(e+".tsx")}return!1},getConfigFileParsingDiagnostics:function(){return X||o},getProjectReferences:function(){return Y},getResolvedProjectReferences:eJ,getProjectReferenceRedirect:tf,getResolvedProjectReferenceToRedirect:ty,getResolvedProjectReferenceByPath:tT,forEachResolvedProjectReference:tg,isSourceOfProjectReferenceRedirect:tE,emitBuildInfo:function(e){var t,n;T.assert(!SL(J)),null==(t=Q)||t.push(Q.Phase.Emit,"emitBuildInfo",{},!0),pM("beforeEmit");let r=UY(ij,ez(e),void 0,iB,!1,!0);return pM("afterEmit"),pP("Emit","beforeEmit","afterEmit"),null==(n=Q)||n.pop(),r},fileExists:eR,readFile:eD,directoryExists:eN,getSymlinkCache:tQ,realpath:null==(E=ed.realpath)?void 0:E.bind(ed),useCaseSensitiveFileNames:()=>ed.useCaseSensitiveFileNames(),getCanonicalFileName:tI,getFileIncludeReasons:()=>en,structureIsReused:W,writeFile:eq};return ew(),null==D||D.forEach(e=>{switch(e.kind){case 1:return ey.add(tD(e.file&&e0(e.file),e.fileProcessingReason,e.diagnostic,e.args||o));case 0:let{file:t,pos:n,end:r}=VU(e0,e.reason);return ey.add(LQ(t,T.checkDefined(n),T.checkDefined(r)-n,e.diagnostic,...e.args||o));case 2:return e.diagnostics.forEach(e=>ey.add(e));default:T.assertNever(e)}}),function(){let e;J.strictPropertyInitialization&&!CE(J,"strictNullChecks")&&tj(tA.Option_0_cannot_be_specified_without_specifying_option_1,"strictPropertyInitialization","strictNullChecks"),J.exactOptionalPropertyTypes&&!CE(J,"strictNullChecks")&&tj(tA.Option_0_cannot_be_specified_without_specifying_option_1,"exactOptionalPropertyTypes","strictNullChecks"),(J.isolatedModules||J.verbatimModuleSyntax)&&(J.out&&tj(tA.Option_0_cannot_be_specified_with_option_1,"out",J.verbatimModuleSyntax?"verbatimModuleSyntax":"isolatedModules"),J.outFile&&tj(tA.Option_0_cannot_be_specified_with_option_1,"outFile",J.verbatimModuleSyntax?"verbatimModuleSyntax":"isolatedModules")),J.inlineSourceMap&&(J.sourceMap&&tj(tA.Option_0_cannot_be_specified_with_option_1,"sourceMap","inlineSourceMap"),J.mapRoot&&tj(tA.Option_0_cannot_be_specified_with_option_1,"mapRoot","inlineSourceMap")),J.composite&&(!1===J.declaration&&tj(tA.Composite_projects_may_not_disable_declaration_emit,"declaration"),!1===J.incremental&&tj(tA.Composite_projects_may_not_disable_incremental_compilation,"declaration"));let t=SL(J);if(J.tsBuildInfoFile?Cb(J)||tj(tA.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"tsBuildInfoFile","incremental","composite"):!J.incremental||t||J.configFilePath||ey.add(L0(tA.Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified)),tN("5.0","5.5",function(e,t,n,r,i,a,o,s){if(n){let l=L2(void 0,tA.Use_0_instead,n);tW(!t,e,void 0,L2(l,r,i,a,o,s))}else tW(!t,e,void 0,r,i,a,o,s)},e=>{0===J.target&&e("target","ES3"),J.noImplicitUseStrict&&e("noImplicitUseStrict"),J.keyofStringsOnly&&e("keyofStringsOnly"),J.suppressExcessPropertyErrors&&e("suppressExcessPropertyErrors"),J.suppressImplicitAnyIndexErrors&&e("suppressImplicitAnyIndexErrors"),J.noStrictGenericChecks&&e("noStrictGenericChecks"),J.charset&&e("charset"),J.out&&e("out",void 0,"outFile"),J.importsNotUsedAsValues&&e("importsNotUsedAsValues",void 0,"verbatimModuleSyntax"),J.preserveValueImports&&e("preserveValueImports",void 0,"verbatimModuleSyntax")}),e=J.suppressOutputPathCheck?void 0:UO(J),VF(Y,V,(t,n,r)=>{let i=(n?n.commandLine.projectReferences:Y)[r],a=n&&n.sourceFile;if(tN("5.0","5.5",function(e,t,n,i,o,s,l,c){tK(a,r,i,o,s,l,c)},e=>{i.prepend&&e("prepend")}),!t){tK(a,r,tA.File_0_not_found,i.path);return}let o=t.commandLine.options;if((!o.composite||o.noEmit)&&(n?n.commandLine.fileNames:q).length&&(o.composite||tK(a,r,tA.Referenced_project_0_must_have_setting_composite_Colon_true,i.path),o.noEmit&&tK(a,r,tA.Referenced_project_0_may_not_disable_emit,i.path)),i.prepend){let e=SL(o);e?ed.fileExists(e)||tK(a,r,tA.Output_file_0_from_project_1_does_not_exist,e,i.path):tK(a,r,tA.Cannot_prepend_project_0_because_it_does_not_have_outFile_set,i.path)}!n&&e&&e===UO(o)&&(tK(a,r,tA.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1,e,i.path),eE.set(ej(e),!0))}),J.composite){let e=new Set(q.map(ej));for(let t of C)SI(t,eM)&&!e.has(t.path)&&tM(t,tA.File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern,[t.fileName,J.configFilePath||""])}if(J.paths){for(let e in J.paths)if(u4(J.paths,e)){if(CR(e)||tG(!0,e,tA.Pattern_0_can_have_at_most_one_Asterisk_character,e),_y(J.paths[e])){let t=J.paths[e].length;0===t&&tG(!1,e,tA.Substitutions_for_pattern_0_shouldn_t_be_an_empty_array,e);for(let n=0;nMd(e)&&!e.isDeclarationFile);if(J.isolatedModules||J.verbatimModuleSyntax)0===J.module&&n<2&&J.isolatedModules&&tj(tA.Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher,"isolatedModules","target"),!1===J.preserveConstEnums&&tj(tA.Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled,J.verbatimModuleSyntax?"verbatimModuleSyntax":"isolatedModules","preserveConstEnums");else if(r&&n<2&&0===J.module){let e=bB(r,"boolean"==typeof r.externalModuleIndicator?r:r.externalModuleIndicator);ey.add(LQ(r,e.start,e.length,tA.Cannot_use_imports_exports_or_module_augmentations_when_module_is_none))}if(t&&!J.emitDeclarationOnly){if(J.module&&!(2===J.module||4===J.module))tj(tA.Only_amd_and_system_modules_are_supported_alongside_0,J.out?"out":"outFile","module");else if(void 0===J.module&&r){let e=bB(r,"boolean"==typeof r.externalModuleIndicator?r:r.externalModuleIndicator);ey.add(LQ(r,e.start,e.length,tA.Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system,J.out?"out":"outFile"))}}if(Cy(J)&&(1===Ci(J)?tj(tA.Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic,"resolveJsonModule"):Co(J)||tj(tA.Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext,"resolveJsonModule","module")),J.outDir||J.rootDir||J.sourceRoot||J.mapRoot){let e=eH();J.outDir&&""===e&&C.some(e=>fh(e.fileName)>1)&&tj(tA.Cannot_find_the_common_subdirectory_path_for_the_input_files,"outDir")}J.useDefineForClassFields&&0===n&&tj(tA.Option_0_cannot_be_specified_when_option_target_is_ES3,"useDefineForClassFields"),J.checkJs&&!CT(J)&&ey.add(L0(tA.Option_0_cannot_be_specified_without_specifying_option_1,"checkJs","allowJs")),J.emitDeclarationOnly&&(Cg(J)||tj(tA.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"emitDeclarationOnly","declaration","composite"),J.noEmit&&tj(tA.Option_0_cannot_be_specified_with_option_1,"emitDeclarationOnly","noEmit")),J.emitDecoratorMetadata&&!J.experimentalDecorators&&tj(tA.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators"),J.jsxFactory?(J.reactNamespace&&tj(tA.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory"),(4===J.jsx||5===J.jsx)&&tj(tA.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFactory",rR.get(""+J.jsx)),Ml(J.jsxFactory,n)||tH("jsxFactory",tA.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,J.jsxFactory)):J.reactNamespace&&!mA(J.reactNamespace,n)&&tH("reactNamespace",tA.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,J.reactNamespace),J.jsxFragmentFactory&&(J.jsxFactory||tj(tA.Option_0_cannot_be_specified_without_specifying_option_1,"jsxFragmentFactory","jsxFactory"),(4===J.jsx||5===J.jsx)&&tj(tA.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFragmentFactory",rR.get(""+J.jsx)),Ml(J.jsxFragmentFactory,n)||tH("jsxFragmentFactory",tA.Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name,J.jsxFragmentFactory)),J.reactNamespace&&(4===J.jsx||5===J.jsx)&&tj(tA.Option_0_cannot_be_specified_when_option_jsx_is_1,"reactNamespace",rR.get(""+J.jsx)),J.jsxImportSource&&2===J.jsx&&tj(tA.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxImportSource",rR.get(""+J.jsx)),J.preserveValueImports&&5>Cn(J)&&tj(tA.Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later,"preserveValueImports");let i=Cn(J);J.verbatimModuleSyntax&&((2===i||3===i||4===i)&&tj(tA.Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System,"verbatimModuleSyntax"),J.isolatedModules&&tX("isolatedModules","verbatimModuleSyntax"),J.preserveValueImports&&tX("preserveValueImports","verbatimModuleSyntax"),J.importsNotUsedAsValues&&tX("importsNotUsedAsValues","verbatimModuleSyntax")),J.allowImportingTsExtensions&&!(J.noEmit||J.emitDeclarationOnly)&&tH("allowImportingTsExtensions",tA.Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set);let a=Ci(J);if(J.resolvePackageJsonExports&&!Cf(a)&&tj(tA.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler,"resolvePackageJsonExports"),J.resolvePackageJsonImports&&!Cf(a)&&tj(tA.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler,"resolvePackageJsonImports"),J.customConditions&&!Cf(a)&&tj(tA.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler,"customConditions"),100!==a||Cr(i)||tH("moduleResolution",tA.Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later,"bundler"),!J.noEmit&&!J.suppressOutputPathCheck){let e=ez(),t=new Set;UD(e,e=>{J.emitDeclarationOnly||o(e.jsFilePath,t),o(e.declarationFilePath,t)})}function o(e,t){if(e){let n=ej(e);if(eC.has(n)){let t;J.configFilePath||(t=L2(void 0,tA.Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig)),t=L2(t,tA.Cannot_write_file_0_because_it_would_overwrite_input_file,e),tY(e,L1(t))}let r=ed.useCaseSensitiveFileNames()?n:_I(n);t.has(r)?tY(e,L0(tA.Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files,e)):t.add(r)}}}(),pM("afterProgram"),pP("Program","beforeProgram","afterProgram"),null==(x=Q)||x.pop(),eM;function eP(e){var t;(null==(t=e.resolutionDiagnostics)?void 0:t.length)&&(null!=D?D:D=[]).push({kind:2,diagnostics:e.resolutionDiagnostics})}function eF(e,t,n){var r,i;if(!e.length)return o;let a=fk(t.originalFileName,eg),s=eB(t);null==(r=Q)||r.push(Q.Phase.Program,"resolveModuleNamesWorker",{containingFileName:a}),pM("beforeResolveModule");let l=G(e,a,s,J,t,n);return pM("afterResolveModule"),pP("ResolveModule","beforeResolveModule","afterResolveModule"),null==(i=Q)||i.pop(),l}function eG(e,t,n){var r,i;if(!e.length)return[];let a=_v(t)?void 0:t,o=_v(t)?t:fk(t.originalFileName,eg),s=a&&eB(a);null==(r=Q)||r.push(Q.Phase.Program,"resolveTypeReferenceDirectiveNamesWorker",{containingFileName:o}),pM("beforeResolveTypeReference");let l=B(e,o,s,J,a,n);return pM("afterResolveTypeReference"),pP("ResolveTypeReference","beforeResolveTypeReference","afterResolveTypeReference"),null==(i=Q)||i.pop(),l}function eB(e){let t=ty(e.originalFileName);if(t||!Mf(e.originalFileName))return t;let n=eU(e.path);if(n)return n;if(!ed.realpath||!J.preserveSymlinks||!_2(e.originalFileName,il))return;let r=ej(ed.realpath(e.originalFileName));return r===e.path?void 0:eU(r)}function eU(e){let t=tv(e);return _v(t)?ty(t):t?tg(t=>{let n=SL(t.commandLine.options);if(n)return ej(n)===e?t:void 0}):void 0}function eV(e){if(fU(eh,e.fileName,!1)){let t=fg(e.fileName);if("lib.d.ts"===t||"lib.es6.d.ts"===t)return 0;let n=_0(pr(t,"lib."),".d.ts"),r=rD.indexOf(n);if(-1!==r)return r+1}return rD.length+2}function ej(e){return fR(e,eg,tI)}function eH(){if(void 0===I){let e=d9(C,e=>SI(e,eM));I=UW(J,()=>uu(e,e=>e.isDeclarationFile?void 0:e.fileName),eg,tI,t=>(function(e,t){let n=!0,r=ed.getCanonicalFileName(fk(t,eg));for(let i of e)i.isDeclarationFile||0===ed.getCanonicalFileName(fk(i.fileName,eg)).indexOf(r)||(tM(i,tA.File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files,[i.fileName,t]),n=!1);return n})(e,t))}return I}function eK(e,t){var n;let r,i,a;if(0===W&&!t.ambientModuleNames.length)return eF(e,t,void 0);let s=Z&&Z.getSourceFile(t.fileName);if(s!==t&&t.resolvedModules){let n=[];for(let r of e){let e=t.resolvedModules.get(r.text,VI(t,r));n.push(e)}return n}let l=i2;for(let o=0;oeg,getSourceFile:eM.getSourceFile,getSourceFileByPath:eM.getSourceFileByPath,getSourceFiles:eM.getSourceFiles,getLibFileFromReference:eM.getLibFileFromReference,isSourceFileFromExternalLibrary:eY,getResolvedProjectReferenceToRedirect:ty,getProjectReferenceRedirect:tf,isSourceOfProjectReferenceRedirect:tE,getSymlinkCache:tQ,writeFile:e||eq,isEmitBlocked:eQ,readFile:e=>ed.readFile(e),fileExists:e=>{let t=ej(e);return!!e0(t)||!d6(U,t)&&ed.fileExists(e)},useCaseSensitiveFileNames:()=>ed.useCaseSensitiveFileNames(),getBuildInfo:e=>{var t;return null==(t=eM.getBuildInfo)?void 0:t.call(eM,e)},getSourceFileFromReference:(e,t)=>eM.getSourceFileFromReference(e,t),redirectTargetsMap:eA,getFileIncludeReasons:eM.getFileIncludeReasons,createHash:_d(ed,ed.createHash)}}function eq(e,t,n,r,i,a){ed.writeFile(e,t,n,r,i,a)}function eJ(){return V}function eX(){return VX(Y,(e,t)=>{var n;return null==(n=V[t])?void 0:n.commandLine},e=>{let t=ej(e),n=e0(t);return n?n.text:eC.has(t)?void 0:ed.readFile(t)},ed)}function eY(e){return!!ec.get(e.path)}function e$(){return R||(R=GT(eM))}function eQ(e){return eE.has(ej(e))}function eZ(e){return e0(ej(e))}function e0(e){return eC.get(e)||void 0}function e1(e,t,n){return e?mN(t(e,n)):mN(uo(eM.getSourceFiles(),e=>(n&&n.throwIfCancellationRequested(),t(e,n))))}function e2(e){var t;if(k_(e,J,eM))return o;let n=ey.getDiagnostics(e.fileName);return(null==(t=e.commentDirectives)?void 0:t.length)?e5(e,e.commentDirectives,n).diagnostics:n}function e4(e){return EZ(e)?(e.additionalSyntacticDiagnostics||(e.additionalSyntacticDiagnostics=e8(()=>{let t=[];return n(e,e),Mi(e,n,function(e,n){if(Oy(n)){let e=d0(n.modifiers,wB);e&&t.push(i(e,tA.Decorators_are_not_valid_here))}else if(OH(n)&&n.modifiers){let e=d2(n.modifiers,wB);if(e>=0){if(wG(n)&&!J.experimentalDecorators)t.push(i(n.modifiers[e],tA.Decorators_are_not_valid_here));else if(No(n)){let r=d2(n.modifiers,wT);if(r>=0){let a=d2(n.modifiers,wx);if(e>r&&a>=0&&e=0&&e=0&&t.push(kl(i(n.modifiers[a],tA.Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export),i(n.modifiers[e],tA.Decorator_used_before_export_here)))}}}}}switch(n.kind){case 260:case 228:case 171:case 173:case 174:case 175:case 215:case 259:case 216:if(e===n.typeParameters)return t.push(r(e,tA.Type_parameter_declarations_can_only_be_used_in_TypeScript_files)),"skip";case 240:if(e===n.modifiers)return function(e,n){for(let r of e)switch(r.kind){case 85:if(n)continue;case 123:case 121:case 122:case 146:case 136:case 126:case 161:case 101:case 145:t.push(i(r,tA.The_0_modifier_can_only_be_used_in_TypeScript_files,tF[r.kind]))}}(n.modifiers,240===n.kind),"skip";break;case 169:if(e===n.modifiers){for(let n of e)yD(n)&&124!==n.kind&&127!==n.kind&&t.push(i(n,tA.The_0_modifier_can_only_be_used_in_TypeScript_files,tF[n.kind]));return"skip"}break;case 166:if(e===n.modifiers&&uv(e,yD))return t.push(r(e,tA.Parameter_modifiers_can_only_be_used_in_TypeScript_files)),"skip";break;case 210:case 211:case 230:case 282:case 283:case 212:if(e===n.typeArguments)return t.push(r(e,tA.Type_arguments_can_only_be_used_in_TypeScript_files)),"skip"}}),t;function n(e,n){switch(n.kind){case 166:case 169:case 171:if(n.questionToken===e)return t.push(i(e,tA.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),"skip";case 170:case 173:case 174:case 175:case 215:case 259:case 216:case 257:if(n.type===e)return t.push(i(e,tA.Type_annotations_can_only_be_used_in_TypeScript_files)),"skip"}switch(e.kind){case 270:if(e.isTypeOnly)return t.push(i(n,tA._0_declarations_can_only_be_used_in_TypeScript_files,"import type")),"skip";break;case 275:if(e.isTypeOnly)return t.push(i(e,tA._0_declarations_can_only_be_used_in_TypeScript_files,"export type")),"skip";break;case 273:case 278:if(e.isTypeOnly)return t.push(i(e,tA._0_declarations_can_only_be_used_in_TypeScript_files,Nx(e)?"import...type":"export...type")),"skip";break;case 268:return t.push(i(e,tA.import_can_only_be_used_in_TypeScript_files)),"skip";case 274:if(e.isExportEquals)return t.push(i(e,tA.export_can_only_be_used_in_TypeScript_files)),"skip";break;case 294:if(117===e.token)return t.push(i(e,tA.implements_clauses_can_only_be_used_in_TypeScript_files)),"skip";break;case 261:let r=tF[118];return T.assertIsDefined(r),t.push(i(e,tA._0_declarations_can_only_be_used_in_TypeScript_files,r)),"skip";case 264:let a=16&e.flags?tF[143]:tF[142];return T.assertIsDefined(a),t.push(i(e,tA._0_declarations_can_only_be_used_in_TypeScript_files,a)),"skip";case 262:return t.push(i(e,tA.Type_aliases_can_only_be_used_in_TypeScript_files)),"skip";case 263:let o=T.checkDefined(tF[92]);return t.push(i(e,tA._0_declarations_can_only_be_used_in_TypeScript_files,o)),"skip";case 232:return t.push(i(e,tA.Non_null_assertions_can_only_be_used_in_TypeScript_files)),"skip";case 231:return t.push(i(e.type,tA.Type_assertion_expressions_can_only_be_used_in_TypeScript_files)),"skip";case 235:return t.push(i(e.type,tA.Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files)),"skip";case 213:T.fail()}}function r(t,n,r,i,a){let o=t.pos;return LQ(e,o,t.end-o,n,r,i,a)}function i(t,n,r,i,a){return bI(e,t,n,r,i,a)}})),uE(e.additionalSyntacticDiagnostics,e.parseDiagnostics)):e.parseDiagnostics}function e8(e){try{return e()}catch(e){throw e instanceof eu&&(R=void 0),e}}function e6(e,t){return uE(Vq(e9(e,t,er,e3),J),e2(e))}function e3(e,t){return e8(()=>{if(k_(e,J,eM))return o;let n=e$();T.assert(!!e.bindDiagnostics);let r=(1===e.scriptKind||2===e.scriptKind)&&ka(e,J),i=vL(e,J.checkJs),a=!(e.checkJsDirective&&!1===e.checkJsDirective.enabled)&&(3===e.scriptKind||4===e.scriptKind||5===e.scriptKind||i||r||7===e.scriptKind),s=a?e.bindDiagnostics:o,l=a?n.getDiagnostics(e,t):o;return i&&(s=d9(s,e=>i3.has(e.code)),l=d9(l,e=>i3.has(e.code))),function(e,t,...n){var r;let i=ua(n);if(!t||!(null==(r=e.commentDirectives)?void 0:r.length))return i;let{diagnostics:a,directives:o}=e5(e,e.commentDirectives,i);for(let t of o.getUnusedExpectations())a.push(bP(e,t.range,tA.Unused_ts_expect_error_directive));return a}(e,a&&!i,s,l,r?e.jsDocDiagnostics:void 0)})}function e5(e,t,n){let r=vW(e,t);return{diagnostics:n.filter(e=>-1===function(e,t){let{file:n,start:r}=e;if(!n)return -1;let i=f5(n),a=f7(i,r).line-1;for(;a>=0;){if(t.markUsed(a))return a;let e=n.text.slice(i[a],i[a+1]).trim();if(""!==e&&!/^(\s*)\/\/(.*)$/.test(e))break;a--}return -1}(e,r)),directives:r}}function e7(e,t){return e8(()=>{let n=e$().getEmitResolver(e,t);return Uy(ez(_x),n,e)||o})}function e9(e,t,n,r){var i;let a=e?null==(i=n.perFile)?void 0:i.get(e.path):n.allDiagnostics;if(a)return a;let o=r(e,t);return e?(n.perFile||(n.perFile=new Map)).set(e.path,o):n.allDiagnostics=o,o}function te(e,t){return e.isDeclarationFile?[]:e9(e,t,ei,e7)}function tt(e,t,n,r){ts(fI(e),t,n,void 0,r)}function tn(e,t){return e.fileName===t.fileName}function tr(e,t){return 79===e.kind?79===t.kind&&e.escapedText===t.escapedText:10===t.kind&&e.text===t.text}function ti(e,t){let n=nU.createStringLiteral(e),r=nU.createImportDeclaration(void 0,void 0,n,void 0);return IS(r,2),kC(n,r),kC(r,t),n.flags&=-9,r.flags&=-9,n}function ta(e){let t,n,r;if(e.imports)return;let i=EZ(e),a=Md(e);if((Cs(J)||a)&&!e.isDeclarationFile){J.importHelpers&&(t=[ti(tz,e)]);let n=Cw(CI(J,e),J);n&&(t||(t=[])).push(ti(n,e))}for(let i of e.statements)!function i(o,s){if(bg(o)){let n=TD(o);n&&wr(n)&&n.text&&(!s||!mR(n.text))&&(kI(o,!1),t=uD(t,n),eL||0!==es||e.isDeclarationFile||(eL=pn(n.text,"node:")))}else if(Nd(o)&&v7(o)&&(s||S3(o,2)||e.isDeclarationFile)){o.name.parent=o;let t=xU(o.name);if(a||s&&!mR(t))(n||(n=[])).push(o.name);else if(!s){e.isDeclarationFile&&(r||(r=[])).push(t);let n=o.body;if(n)for(let e of n.statements)i(e,!0)}}}(i,!1);let s=i&&100!==Ci(J);(2097152&e.flags||s)&&function(e){let n=/import|require/g;for(;null!==n.exec(e.text);){let r=function(e,t){let n=e,r=e=>{if(e.pos<=t&&(t=1&&g8(r.arguments[0])?(kI(r,!1),t=uD(t,r.arguments[0])):bX(r)&&(kI(r,!1),t=uD(t,r.argument.literal))}}(e),e.imports=t||o,e.moduleAugmentations=n||o,e.ambientModuleNames=r||o}function to(e,t,n,r){if(fd(e)){let i=ed.getCanonicalFileName(e);if(!J.allowNonTsExtensions&&!dz(ua(eb),e=>fu(i,e))){n&&(CY(i)?n(tA.File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option,e):n(tA.File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1,e,"'"+ua(ev).join("', '")+"'"));return}let a=t(e);if(n){if(a)VG(r)&&i===ed.getCanonicalFileName(e0(r.file).fileName)&&n(tA.A_file_cannot_have_a_reference_to_itself);else{let t=tf(e);t?n(tA.Output_file_0_has_not_been_built_from_source_file_1,t,e):n(tA.File_0_not_found,e)}}return a}{let r=J.allowNonTsExtensions&&t(e);if(r)return r;if(n&&J.allowNonTsExtensions){n(tA.File_0_not_found,e);return}let i=dz(ev[0],n=>t(e+n));return n&&!i&&n(tA.Could_not_resolve_the_path_0_with_the_extensions_Colon_1,e,"'"+ua(ev).join("', '")+"'"),i}}function ts(e,t,n,r,i){to(e,e=>td(e,t,n,i,r),(e,...t)=>tO(void 0,i,e,t),i)}function tl(e,t){return ts(e,!1,!1,void 0,t)}function tc(e,t,n){!VG(n)&&uv(en.get(t.path),VG)?tO(t,n,tA.Already_included_file_name_0_differs_from_file_name_1_only_in_casing,[t.fileName,e]):tO(t,n,tA.File_name_0_differs_from_already_included_file_name_1_only_in_casing,[e,t.fileName])}function td(e,t,n,r,i){var a,o;null==(a=Q)||a.push(Q.Phase.Program,"findSourceFile",{fileName:e,isDefaultLib:t||void 0,fileIncludeKind:e_[r.kind]});let s=function(e,t,n,r,i){var a,o,s,l,c;let d;let u=ej(e);if(eI){let a=tv(u);if(!a&&ed.realpath&&J.preserveSymlinks&&Mf(e)&&_2(e,il)){let t=ej(ed.realpath(e));t!==u&&(a=tv(t))}if(a){let e=_v(a)?td(a,t,n,r,i):void 0;return e&&tp(e,u,void 0),e}}let _=e;if(eC.has(u)){let n=eC.get(u);if(t_(n||void 0,r),n&&!1!==J.forceConsistentCasingInFileNames){let t=n.fileName;ej(t)!==ej(e)&&(e=tf(e)||e),fw(t,eg)!==fw(e,eg)&&tc(e,n,r)}return n&&ec.get(n.path)&&0===es?(ec.set(n.path,!1),J.noResolve||(tx(n,t),tS(n)),J.noLib||tk(n),el.set(n.path,!1),tw(n)):n&&el.get(n.path)&&estO(void 0,r,tA.Cannot_read_file_0_Colon_1,[e,t]),eO||(null==(a=null==Z?void 0:Z.getSourceFileByPath(ej(e)))?void 0:a.impliedNodeFormat)!==p.impliedNodeFormat);if(i){let t=vb(i),n=ex.get(t);if(n){let t;let a=(s=e,l=ej(e),(t=rT.createRedirectedSourceFile({redirectTarget:n,unredirected:f})).fileName=s,t.path=u,t.resolvedPath=l,t.originalFileName=_,t.packageJsonLocations=(null==(c=p.packageJsonLocations)?void 0:c.length)?p.packageJsonLocations:void 0,t.packageJsonScope=p.packageJsonScope,ec.set(u,es>0),t);return eA.add(n.path,e),tp(a,u,d),t_(a,r),eS.set(u,vv(i)),L.push(a),a}f&&(ex.set(t,f),eS.set(u,vv(i)))}if(tp(f,u,d),f){if(ec.set(u,es>0),f.fileName=e,f.path=u,f.resolvedPath=ej(e),f.originalFileName=_,f.packageJsonLocations=(null==(o=p.packageJsonLocations)?void 0:o.length)?p.packageJsonLocations:void 0,f.packageJsonScope=p.packageJsonScope,t_(f,r),ed.useCaseSensitiveFileNames()){let t=_I(u),n=ek.get(t);n?tc(e,n,r):ek.set(t,f)}ef=ef||f.hasNoDefaultLib&&!n,J.noResolve||(tx(f,t),tS(f)),J.noLib||tk(f),tw(f),t?A.push(f):L.push(f)}return f}(e,t,n,r,i);return null==(o=Q)||o.pop(),s}function tu(e,t,n,r){let i=VK(fk(e,eg),null==t?void 0:t.getPackageJsonInfoCache(),n,r),a=Ct(r),o=Ce(r);return"object"==typeof i?{...i,languageVersion:a,setExternalModuleIndicator:o}:{languageVersion:a,impliedNodeFormat:i,setExternalModuleIndicator:o}}function t_(e,t){e&&en.add(e.path,t)}function tp(e,t,n){n?(eC.set(n,e),eC.set(t,e||!1)):eC.set(t,e)}function tf(e){let t=tm(e);return t&&th(t,e)}function tm(e){if(!(!V||!V.length||Mf(e)||fu(e,".json")))return ty(e)}function th(e,t){let n=SL(e.commandLine.options);return n?C3(n,".d.ts"):UU(t,e.commandLine,!ed.useCaseSensitiveFileNames())}function ty(e){void 0===H&&(H=new Map,tg(e=>{ej(J.configFilePath)!==e.sourceFile.path&&e.commandLine.fileNames.forEach(t=>H.set(ej(t),e.sourceFile.path))}));let t=H.get(ej(e));return t&&tT(t)}function tg(e){return VP(V,e)}function tv(e){if(Mf(e))return void 0===K&&(K=new Map,tg(e=>{let t=SL(e.commandLine.options);if(t){let e=C3(t,".d.ts");K.set(ej(e),!0)}else{let t=_R(()=>Uz(e.commandLine,!ed.useCaseSensitiveFileNames()));dz(e.commandLine.fileNames,n=>{if(!Mf(n)&&!fu(n,".json")){let r=UU(n,e.commandLine,!ed.useCaseSensitiveFileNames(),t);K.set(ej(r),n)}})}})),K.get(e)}function tE(e){return eI&&!!ty(e)}function tT(e){if(j)return j.get(e)||void 0}function tx(e,t){dz(e.referencedFiles,(n,r)=>{ts(Vd(n.fileName,e.fileName),t,!1,void 0,{kind:4,file:e.path,index:r})})}function tS(e){let t=e.typeReferenceDirectives;if(!t.length){e.resolvedTypeReferenceDirectiveNames=void 0;return}let n=eW(t,e);for(let r=0;r{let r=_I(t.fileName),i=rO.get(r);if(i)tt(tC(i),!0,!0,{kind:7,file:e.path,index:n});else{let t=_Q(_0(pr(r,"lib."),".d.ts"),rD,_C),i=t?tA.Cannot_find_lib_definition_for_0_Did_you_mean_1:tA.Cannot_find_lib_definition_for_0;(D||(D=[])).push({kind:0,reason:{kind:7,file:e.path,index:n},diagnostic:i,args:[r,t]})}})}function tI(e){return ed.getCanonicalFileName(e)}function tw(e){var t;if(ta(e),e.imports.length||e.moduleAugmentations.length){let n=VQ(e),r=eK(n,e);T.assert(r.length===n.length);let i=(eI?null==(t=eB(e))?void 0:t.commandLine.options:void 0)||J;for(let t=0;teo,p=u&&!V$(i,a,e)&&!i.noResolve&&t{c?void 0===i?n(r,i,a,tA.Option_0_has_been_removed_Please_remove_it_from_your_configuration,r):n(r,i,a,tA.Option_0_1_has_been_removed_Please_remove_it_from_your_configuration,r,i):void 0===i?n(r,i,a,tA.Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprecations_Colon_2_to_silence_this_error,r,t,e):n(r,i,a,tA.Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDeprecations_Colon_3_to_silence_this_error,r,i,t,e)})}function tD(e,t,n,r){var i;let a,s;let l=VG(t)?t:void 0;e&&(null==(i=en.get(e.path))||i.forEach(p)),t&&p(t),l&&(null==a?void 0:a.length)===1&&(a=void 0);let c=l&&VU(e0,l),d=a&&L2(a,tA.The_file_is_in_the_program_because_Colon),u=e&&jH(e),_=L2(u?d?[d,...u]:u:d,n,...r||o);return c&&VB(c)?bD(c.file,c.pos,c.end-c.pos,_,s):L1(_,s);function p(e){(a||(a=[])).push(jz(eM,e)),!l&&VG(e)?l=e:l!==e&&(s=uD(s,function(e){let t,n;if(VG(e)){let t;let n=VU(e0,e);switch(e.kind){case 3:t=tA.File_is_included_via_import_here;break;case 4:t=tA.File_is_included_via_reference_here;break;case 5:t=tA.File_is_included_via_type_library_reference_here;break;case 7:t=tA.File_is_included_via_library_reference_here;break;default:T.assertNever(e)}return VB(n)?LQ(n.file,n.pos,n.end-n.pos,t):void 0}if(J.configFile){switch(e.kind){case 0:if(!J.configFile.configFileSpecs)return;let r=fk(q[e.index],eg),i=jK(eM,r);if(i){t=Em(J.configFile,"files",i),n=tA.File_is_matched_by_files_list_specified_here;break}let a=jW(eM,r);if(!a||!_v(a))return;t=Em(J.configFile,"include",a),n=tA.File_is_matched_by_include_pattern_specified_here;break;case 1:case 2:let o=T.checkDefined(null==V?void 0:V[e.index]),s=VF(Y,V,(e,t,n)=>e===o?{sourceFile:(null==t?void 0:t.sourceFile)||J.configFile,index:n}:void 0);if(!s)return;let{sourceFile:l,index:c}=s,d=dJ(Eh(l,"references"),e=>Rf(e.initializer)?e.initializer:void 0);return d&&d.elements.length>c?bI(l,d.elements[c],2===e.kind?tA.File_is_output_from_referenced_project_specified_here:tA.File_is_source_from_referenced_project_specified_here):void 0;case 8:if(!J.types)return;t=tV("types",e.typeReference),n=tA.File_is_entry_point_of_type_library_specified_here;break;case 6:let u;if(void 0!==e.index){t=tV("lib",J.lib[e.index]),n=tA.File_is_library_specified_here;break}let _=vl(rF.type,(e,t)=>e===Ct(J)?t:void 0);t=_?(u=tB("target"))&&dJ(u,e=>wr(e.initializer)&&e.initializer.text===_?e.initializer:void 0):void 0,n=tA.File_is_default_library_for_target_specified_here;break;default:T.assertNever(e)}return t&&bI(J.configFile,t,n)}}(e))),e===t&&(t=void 0)}}function tO(e,t,n,r){(D||(D=[])).push({kind:1,file:e&&e.path,fileProcessingReason:t,diagnostic:n,args:r})}function tM(e,t,n){ey.add(tD(e,void 0,t,n))}function tP(e,t,n,r,i,a){let o=!0;for(let s of tU())if(Rm(s.initializer))for(let l of E_(s.initializer,e)){let e=l.initializer;Rf(e)&&e.elements.length>t&&(ey.add(bI(J.configFile,e.elements[t],n,r,i,a)),o=!1)}o&&ey.add(L0(n,r,i,a))}function tG(e,t,n,r){let i=!0;for(let a of tU())Rm(a.initializer)&&tJ(a.initializer,e,t,void 0,n,r)&&(i=!1);i&&ey.add(L0(n,r))}function tB(e){let t=tq();return t&&E_(t,e)}function tU(){return tB("paths")||o}function tV(e,t){let n=tq();return n&&Ep(n,e,t)}function tj(e,t,n,r){tW(!0,t,n,e,t,n,r)}function tH(e,t,n,r){tW(!1,e,void 0,t,n,r)}function tK(e,t,n,r,i,a,o){let s=dJ(Eh(e||J.configFile,"references"),e=>Rf(e.initializer)?e.initializer:void 0);s&&s.elements.length>t?ey.add(bI(e||J.configFile,s.elements[t],n,r,i,a,o)):ey.add(L0(n,r,i,a,o))}function tW(e,t,n,r,i,a,o,s){let l=tq();l&&tJ(l,e,t,n,r,i,a,o,s)||("messageText"in r?ey.add(L1(r)):ey.add(L0(r,i,a,o,s)))}function tq(){if(void 0===P){P=!1;let e=Ef(J.configFile);if(e){for(let t of E_(e,"compilerOptions"))if(Rm(t.initializer)){P=t.initializer;break}}}return P||void 0}function tJ(e,t,n,r,i,a,o,s,l){let c=E_(e,n,r);for(let e of c)"messageText"in i?ey.add(bw(J.configFile,t?e.name:e.initializer,i)):ey.add(bI(J.configFile,t?e.name:e.initializer,i,a,o,s,l));return!!c.length}function tX(e,t){let n=tq();n?tJ(n,!0,e,void 0,tA.Option_0_is_redundant_and_cannot_be_specified_with_option_1,e,t):tj(tA.Option_0_is_redundant_and_cannot_be_specified_with_option_1,e,t)}function tY(e,t){eE.set(ej(e),!0),ey.add(t)}function t$(e,t){return 0===fB(e,t,eg,!ed.useCaseSensitiveFileNames())}function tQ(){return ed.getSymlinkCache?ed.getSymlinkCache():(k||(k=CN(eg,tI)),C&&M&&!k.hasProcessedResolutions()&&k.setSymlinksFromResolutions(C,M),k)}}function Vz(e,t,n,r){let i;let a=e.getCompilerOptions();if(a.noEmit)return e.getSemanticDiagnostics(t,r),t||SL(a)?i5:e.emitBuildInfo(n,r);if(!a.noEmitOnError)return;let o=[...e.getOptionsDiagnostics(r),...e.getSyntacticDiagnostics(t,r),...e.getGlobalDiagnostics(r),...e.getSemanticDiagnostics(t,r)];if(0===o.length&&Cg(e.getCompilerOptions())&&(o=e.getDeclarationDiagnostics(void 0,r)),o.length){if(!t&&!SL(a)){let t=e.emitBuildInfo(n,r);t.diagnostics&&(o=[...o,...t.diagnostics]),i=t.emittedFiles}return{diagnostics:o,sourceMaps:void 0,emittedFiles:i,emitSkipped:!0}}}function Vq(e,t){return d9(e,e=>!e.skippedOn||!t[e.skippedOn])}function VJ(e,t=e){return{fileExists:e=>t.fileExists(e),readDirectory:(e,n,r,i,a)=>(T.assertIsDefined(t.readDirectory,"'CompilerHost.readDirectory' must be implemented to correctly process 'projectReferences'"),t.readDirectory(e,n,r,i,a)),readFile:e=>t.readFile(e),useCaseSensitiveFileNames:e.useCaseSensitiveFileNames(),getCurrentDirectory:()=>e.getCurrentDirectory(),onUnRecoverableConfigFileDiagnostic:e.onUnRecoverableConfigFileDiagnostic||_L,trace:e.trace?t=>e.trace(t):void 0}}function VX(e,t,n,r){let i;if(!e)return o;for(let a=0;ae);for(let e of t)10===e.kind&&n.push(e);return n}function VZ({imports:e,moduleAugmentations:t},n){if(nVI(t,e)},i8={getName:VD,getMode:(e,t)=>VL(e,null==t?void 0:t.impliedNodeFormat)},i6="__inferred type names__.ts",i3=new Set([tA.Cannot_redeclare_block_scoped_variable_0.code,tA.A_module_cannot_have_multiple_default_exports.code,tA.Another_export_default_is_here.code,tA.The_first_export_default_is_here.code,tA.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module.code,tA.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode.code,tA.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here.code,tA.constructor_is_a_reserved_word.code,tA.delete_cannot_be_called_on_an_identifier_in_strict_mode.code,tA.Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode.code,tA.Invalid_use_of_0_Modules_are_automatically_in_strict_mode.code,tA.Invalid_use_of_0_in_strict_mode.code,tA.A_label_is_not_allowed_here.code,tA.Octal_literals_are_not_allowed_in_strict_mode.code,tA.with_statements_are_not_allowed_in_strict_mode.code,tA.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement.code,tA.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement.code,tA.A_class_declaration_without_the_default_modifier_must_have_a_name.code,tA.A_class_member_cannot_have_the_0_keyword.code,tA.A_comma_expression_is_not_allowed_in_a_computed_property_name.code,tA.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement.code,tA.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement.code,tA.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement.code,tA.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement.code,tA.A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration.code,tA.A_definite_assignment_assertion_is_not_permitted_in_this_context.code,tA.A_destructuring_declaration_must_have_an_initializer.code,tA.A_get_accessor_cannot_have_parameters.code,tA.A_rest_element_cannot_contain_a_binding_pattern.code,tA.A_rest_element_cannot_have_a_property_name.code,tA.A_rest_element_cannot_have_an_initializer.code,tA.A_rest_element_must_be_last_in_a_destructuring_pattern.code,tA.A_rest_parameter_cannot_have_an_initializer.code,tA.A_rest_parameter_must_be_last_in_a_parameter_list.code,tA.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma.code,tA.A_return_statement_cannot_be_used_inside_a_class_static_block.code,tA.A_set_accessor_cannot_have_rest_parameter.code,tA.A_set_accessor_must_have_exactly_one_parameter.code,tA.An_export_declaration_can_only_be_used_at_the_top_level_of_a_module.code,tA.An_export_declaration_cannot_have_modifiers.code,tA.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module.code,tA.An_import_declaration_cannot_have_modifiers.code,tA.An_object_member_cannot_be_declared_optional.code,tA.Argument_of_dynamic_import_cannot_be_spread_element.code,tA.Cannot_assign_to_private_method_0_Private_methods_are_not_writable.code,tA.Cannot_redeclare_identifier_0_in_catch_clause.code,tA.Catch_clause_variable_cannot_have_an_initializer.code,tA.Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator.code,tA.Classes_can_only_extend_a_single_class.code,tA.Classes_may_not_have_a_field_named_constructor.code,tA.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern.code,tA.Duplicate_label_0.code,tA.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments.code,tA.For_await_loops_cannot_be_used_inside_a_class_static_block.code,tA.JSX_attributes_must_only_be_assigned_a_non_empty_expression.code,tA.JSX_elements_cannot_have_multiple_attributes_with_the_same_name.code,tA.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array.code,tA.JSX_property_access_expressions_cannot_include_JSX_namespace_names.code,tA.Jump_target_cannot_cross_function_boundary.code,tA.Line_terminator_not_permitted_before_arrow.code,tA.Modifiers_cannot_appear_here.code,tA.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement.code,tA.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement.code,tA.Private_identifiers_are_not_allowed_outside_class_bodies.code,tA.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression.code,tA.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier.code,tA.Tagged_template_expressions_are_not_permitted_in_an_optional_chain.code,tA.The_left_hand_side_of_a_for_of_statement_may_not_be_async.code,tA.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer.code,tA.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer.code,tA.Trailing_comma_not_allowed.code,tA.Variable_declaration_list_cannot_be_empty.code,tA._0_and_1_operations_cannot_be_mixed_without_parentheses.code,tA._0_expected.code,tA._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2.code,tA._0_list_cannot_be_empty.code,tA._0_modifier_already_seen.code,tA._0_modifier_cannot_appear_on_a_constructor_declaration.code,tA._0_modifier_cannot_appear_on_a_module_or_namespace_element.code,tA._0_modifier_cannot_appear_on_a_parameter.code,tA._0_modifier_cannot_appear_on_class_elements_of_this_kind.code,tA._0_modifier_cannot_be_used_here.code,tA._0_modifier_must_precede_1_modifier.code,tA.const_declarations_can_only_be_declared_inside_a_block.code,tA.const_declarations_must_be_initialized.code,tA.extends_clause_already_seen.code,tA.let_declarations_can_only_be_declared_inside_a_block.code,tA.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations.code,tA.Class_constructor_may_not_be_a_generator.code,tA.Class_constructor_may_not_be_an_accessor.code,tA.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code]),i5={diagnostics:o,sourceMaps:void 0,emittedFiles:void 0,emitSkipped:!0}}}),V1=dj({"src/compiler/builderStatePublic.ts"(){}});function V2(e,t,n,r,i,a){let o=[],{emitSkipped:s,diagnostics:l}=e.emit(t,function(e,t,n){o.push({name:e,writeByteOrderMark:n,text:t})},r,n,i,a);return{outputFiles:o,emitSkipped:s,diagnostics:l}}var V4=dj({"src/compiler/builderState.ts"(){Kr(),(e=>{function t(){var e,t,r;let i;return e=new Map,t=new Map,r=void 0,i={getKeys:e=>t.get(e),getValues:t=>e.get(t),keys:()=>e.keys(),deleteKey:i=>{(r||(r=new Set)).add(i);let a=e.get(i);return!!a&&(a.forEach(e=>n(t,e,i)),e.delete(i),!0)},set:(a,o)=>{null==r||r.delete(a);let s=e.get(a);return e.set(a,o),null==s||s.forEach(e=>{o.has(e)||n(t,e,a)}),o.forEach(e=>{let n;(null==s?void 0:s.has(e))||((n=t.get(e))||(n=new Set,t.set(e,n)),n.add(a))}),i}}}function n(e,t,n){let r=e.get(t);return null!=r&&!!r.delete(n)&&(r.size||e.delete(t),!0)}function r(e){return uu(e.declarations,e=>{var t;return null==(t=vS(e))?void 0:t.resolvedPath})}function i(e,t,n,r){return fR(e.getProjectReferenceRedirect(t)||t,n,r)}function a(e,t){return t&&!t.referencedMap==!e}function s(e,t,n,r,i){let a=t.getSourceFileByPath(n);return a?c(e,t,a,r,i)?(e.referencedMap?function(e,t,n,r,i){if(p(n))return f(e,t,n);let a=t.getCompilerOptions();if(a&&(Cs(a)||SL(a)))return[n];let o=new Map;o.set(n.resolvedPath,n);let s=_(e,n.resolvedPath);for(;s.length>0;){let n=s.pop();if(!o.has(n)){let a=t.getSourceFileByPath(n);o.set(n,a),a&&c(e,t,a,r,i)&&s.push(..._(e,a.resolvedPath))}}return u9(u_(o.values(),e=>e))}:function(e,t,n){let r=t.getCompilerOptions();return r&&SL(r)?[n]:f(e,t,n)})(e,t,a,r,i):[a]:o}function l(e,t,n,r,i){e.emit(t,(n,a,o,s,l,c)=>{T.assert(Mf(n),`File extension for signature expected to be dts: Got:: ${n}`),i(ju(e,t,a,r,c),l)},n,!0,void 0,!0)}function c(e,t,n,r,i,a=e.useFileVersionAsSignature){var o;let s;if(null==(o=e.hasCalledUpdateShapeSignature)?void 0:o.has(n.resolvedPath))return!1;let c=e.fileInfos.get(n.resolvedPath),u=c.signature;if(n.isDeclarationFile||a||l(t,n,r,i,(t,r)=>{(s=t)!==u&&d(e,n,r[0].exportedModulesFromDeclarationEmit)}),void 0===s&&(s=n.version,e.exportedModulesMap&&s!==u)){(e.oldExportedModulesMap||(e.oldExportedModulesMap=new Map)).set(n.resolvedPath,e.exportedModulesMap.getValues(n.resolvedPath)||!1);let t=e.referencedMap?e.referencedMap.getValues(n.resolvedPath):void 0;t?e.exportedModulesMap.set(n.resolvedPath,t):e.exportedModulesMap.deleteKey(n.resolvedPath)}return(e.oldSignatures||(e.oldSignatures=new Map)).set(n.resolvedPath,u||!1),(e.hasCalledUpdateShapeSignature||(e.hasCalledUpdateShapeSignature=new Set)).add(n.resolvedPath),c.signature=s,s!==u}function d(e,t,n){if(!e.exportedModulesMap)return;(e.oldExportedModulesMap||(e.oldExportedModulesMap=new Map)).set(t.resolvedPath,e.exportedModulesMap.getValues(t.resolvedPath)||!1);let r=u(n);r?e.exportedModulesMap.set(t.resolvedPath,r):e.exportedModulesMap.deleteKey(t.resolvedPath)}function u(e){let t;return null==e||e.forEach(e=>r(e).forEach(e=>(null!=t?t:t=new Set).add(e))),t}function _(e,t){let n=e.referencedMap.getKeys(t);return n?u9(n.keys()):[]}function p(e){return uv(e.moduleAugmentations,e=>bi(e.parent))||!bU(e)&&!bV(e)&&!function(e){for(let t of e.statements)if(!v9(t))return!1;return!0}(e)}function f(e,t,n){let r;if(e.allFilesExcludingDefaultLibraryFile)return e.allFilesExcludingDefaultLibraryFile;for(let e of(n&&i(n),t.getSourceFiles()))e!==n&&i(e);return e.allFilesExcludingDefaultLibraryFile=r||o,e.allFilesExcludingDefaultLibraryFile;function i(e){t.isSourceFileDefaultLibrary(e)||(r||(r=[])).push(e)}}e.createManyToManyPathMap=t,e.canReuseOldState=a,e.create=function(e,n,o){var s,l,c;let d=new Map,u=e.getCompilerOptions(),_=SL(u),f=0===u.module||_?void 0:t(),m=f?t():void 0,h=a(f,n);for(let t of(e.getTypeChecker(),e.getSourceFiles())){let a=T.checkDefined(t.version,"Program intended to be used with Builder should have source files with versions set"),o=h?null==(s=n.oldSignatures)?void 0:s.get(t.resolvedPath):void 0,u=void 0===o?h?null==(l=n.fileInfos.get(t.resolvedPath))?void 0:l.signature:void 0:o||void 0;if(f){let a=function(e,t,n){let a;if(t.imports&&t.imports.length>0){let n=e.getTypeChecker();for(let e of t.imports){let t=function(e,t){let n=e.getSymbolAtLocation(t);return n&&r(n)}(n,e);null==t||t.forEach(l)}}let o=fy(t.resolvedPath);if(t.referencedFiles&&t.referencedFiles.length>0)for(let r of t.referencedFiles)l(i(e,r.fileName,o,n));if(t.resolvedTypeReferenceDirectiveNames&&t.resolvedTypeReferenceDirectiveNames.forEach(({resolvedTypeReferenceDirective:t})=>{t&&l(i(e,t.resolvedFileName,o,n))}),t.moduleAugmentations.length){let n=e.getTypeChecker();for(let e of t.moduleAugmentations){if(!wr(e))continue;let t=n.getSymbolAtLocation(e);t&&s(t)}}for(let t of e.getTypeChecker().getAmbientModules())t.declarations&&t.declarations.length>1&&s(t);return a;function s(e){if(e.declarations)for(let n of e.declarations){let e=vS(n);e&&e!==t&&l(e.resolvedPath)}}function l(e){(a||(a=new Set)).add(e)}}(e,t,e.getCanonicalFileName);if(a&&f.set(t.resolvedPath,a),h){let e=null==(c=n.oldExportedModulesMap)?void 0:c.get(t.resolvedPath),r=void 0===e?n.exportedModulesMap.getValues(t.resolvedPath):e||void 0;r&&m.set(t.resolvedPath,r)}}d.set(t.resolvedPath,{version:a,signature:u,affectsGlobalScope:_?void 0:p(t)||void 0,impliedFormat:t.impliedNodeFormat})}return{fileInfos:d,referencedMap:f,exportedModulesMap:m,useFileVersionAsSignature:!o&&!h}},e.releaseCache=function(e){e.allFilesExcludingDefaultLibraryFile=void 0,e.allFileNames=void 0},e.getFilesAffectedBy=function(e,t,n,r,i){var a,o;let l=s(e,t,n,r,i);return null==(a=e.oldSignatures)||a.clear(),null==(o=e.oldExportedModulesMap)||o.clear(),l},e.getFilesAffectedByWithOldState=s,e.updateSignatureOfFile=function(e,t,n){e.fileInfos.get(n).signature=t,(e.hasCalledUpdateShapeSignature||(e.hasCalledUpdateShapeSignature=new Set)).add(n)},e.computeDtsSignature=l,e.updateShapeSignature=c,e.updateExportedModules=d,e.getExportedModules=u,e.getAllDependencies=function(e,t,n){if(SL(t.getCompilerOptions())||!e.referencedMap||p(n))return function(e,t){if(!e.allFileNames){let n=t.getSourceFiles();e.allFileNames=n===o?o:n.map(e=>e.fileName)}return e.allFileNames}(e,t);let r=new Set,i=[n.resolvedPath];for(;i.length;){let t=i.pop();if(!r.has(t)){r.add(t);let n=e.referencedMap.getValues(t);if(n)for(let e of n.keys())i.push(e)}}return u9(u_(r.keys(),e=>{var n,r;return null!=(r=null==(n=t.getSourceFileByPath(e))?void 0:n.fileName)?r:e}))},e.getReferencedByPaths=_,e.getAllFilesExcludingDefaultLibraryFile=f})(i7||(i7={}))}});function V8(e){let t=1;return e.sourceMap&&(t|=2),e.inlineSourceMap&&(t|=4),Cg(e)&&(t|=8),e.declarationMap&&(t|=16),e.emitDeclarationOnly&&(t&=24),t}function V6(e,t){let n=t&&(_b(t)?t:V8(t)),r=_b(e)?e:V8(e);if(n===r)return 0;if(!n||!r)return r;let i=n^r,a=0;return 7&i&&(a=7&r),24&i&&(a|=24&r),a}function V3(e,t){e.changedFilesSet.add(t),e.buildInfoEmitPending=!0,e.programEmitPending=void 0}function V5(e,t,n){return!!e.declarationMap==!!t.declarationMap?n:_v(n)?[n]:n[0]}function V7(e,t,n){let{file:r}=e;return{...e,file:r?t.getSourceFileByPath(n(r)):void 0}}function V9(e,t){T.assert(!t||!e.affectedFiles||e.affectedFiles[e.affectedFilesIndex-1]!==t||!e.semanticDiagnosticsPerFile.has(t.resolvedPath))}function je(e,t,n){for(var r,i;;){let{affectedFiles:a}=e;if(a){let o=e.seenAffectedFiles,s=e.affectedFilesIndex;for(;s0;){let t=a.pop();if(!i.has(t)){if(i.set(t,!0),ja(e,t,n,r))return;if(jn(e,t,n,r),ji(e,t)){let n=T.checkDefined(e.program).getSourceFileByPath(t);a.push(...i7.getReferencedByPaths(e,n.resolvedPath))}}}}let a=new Set;null==(i=e.exportedModulesMap.getKeys(t.resolvedPath))||i.forEach(t=>{if(ja(e,t,n,r))return!0;let i=e.referencedMap.getKeys(t);return i&&vc(i,t=>(function e(t,n,r,i,a){var o,s;if(um(r,n)){if(ja(t,n,i,a))return!0;jn(t,n,i,a),null==(o=t.exportedModulesMap.getKeys(n))||o.forEach(n=>e(t,n,r,i,a)),null==(s=t.referencedMap.getKeys(n))||s.forEach(e=>!r.has(e)&&jn(t,e,i,a))}})(e,t,a,n,r))})}(e,t,n,r)}(e,r,t,n),r;s++}e.changedFilesSet.delete(e.currentChangedFilePath),e.currentChangedFilePath=void 0,null==(r=e.oldSignatures)||r.clear(),null==(i=e.oldExportedModulesMap)||i.clear(),e.affectedFiles=void 0}let o=e.changedFilesSet.keys().next();if(o.done)return;let s=T.checkDefined(e.program);if(SL(s.getCompilerOptions()))return T.assert(!e.semanticDiagnosticsPerFile),s;e.affectedFiles=i7.getFilesAffectedByWithOldState(e,s,o.value,t,n),e.currentChangedFilePath=o.value,e.affectedFilesIndex=0,e.seenAffectedFiles||(e.seenAffectedFiles=new Set)}}function jt(e){if(!e.cleanedDiagnosticsOfLibFiles){e.cleanedDiagnosticsOfLibFiles=!0;let t=T.checkDefined(e.program),n=t.getCompilerOptions();dz(t.getSourceFiles(),r=>t.isSourceFileDefaultLibrary(r)&&!k_(r,n,t)&&jr(e,r.resolvedPath))}}function jn(e,t,n,r){if(jr(e,t),!e.changedFilesSet.has(t)){let i=T.checkDefined(e.program),a=i.getSourceFileByPath(t);a&&(i7.updateShapeSignature(e,i,a,n,r,!0),Cg(e.compilerOptions)&&jf(e,t,e.compilerOptions.declarationMap?24:8))}}function jr(e,t){return!e.semanticDiagnosticsFromOldState||(e.semanticDiagnosticsFromOldState.delete(t),e.semanticDiagnosticsPerFile.delete(t),!e.semanticDiagnosticsFromOldState.size)}function ji(e,t){let n=T.checkDefined(e.oldSignatures).get(t)||void 0;return T.checkDefined(e.fileInfos.get(t)).signature!==n}function ja(e,t,n,r){var i;return null!=(i=e.fileInfos.get(t))&&!!i.affectsGlobalScope&&(i7.getAllFilesExcludingDefaultLibraryFile(e,e.program,void 0).forEach(t=>jn(e,t.resolvedPath,n,r)),jt(e),!0)}function jo(e,t,n){return uE(function(e,t,n){let r=t.resolvedPath;if(e.semanticDiagnosticsPerFile){let t=e.semanticDiagnosticsPerFile.get(r);if(t)return Vq(t,e.compilerOptions)}let i=T.checkDefined(e.program).getBindAndCheckDiagnostics(t,n);return e.semanticDiagnosticsPerFile&&e.semanticDiagnosticsPerFile.set(r,i),Vq(i,e.compilerOptions)}(e,t,n),T.checkDefined(e.program).getProgramDiagnostics(t))}function js(e){return!!SL(e.options||{})}function jl(e,t){let{file:n}=e;return{...e,file:n?t(n.resolvedPath):void 0}}function jc(e,t,n,r,i,a){let s,l,c;return void 0===e?(T.assert(void 0===t),s=n,c=r,T.assert(!!c),l=c.getProgram()):_y(e)?(l=VW({rootNames:e,options:t,host:n,oldProgram:(c=r)&&c.getProgramOrUndefined(),configFileParsingDiagnostics:i,projectReferences:a}),s=n):(l=e,s=t,c=n,i=r),{host:s,newProgram:l,oldProgram:c,configFileParsingDiagnostics:i||o}}function jd(e,t){return(null==t?void 0:t.sourceMapUrlPos)!==void 0?e.substring(0,t.sourceMapUrlPos):e}function ju(e,t,n,r,i){var a,o;let s;return n=jd(n,i),(null==(a=null==i?void 0:i.diagnostics)?void 0:a.length)&&(n+=i.diagnostics.map(n=>`${n.file.resolvedPath===t.resolvedPath?`(${n.start},${n.length})`:(void 0===s&&(s=fy(t.resolvedPath)),`${fO(fH(s,n.file.resolvedPath,e.getCanonicalFileName))}(${n.start},${n.length})`)}${ez[n.category]}${n.code}: ${function e(t){return _v(t)?t:void 0===t?"":t.next?t.messageText+t.next.map(e).join("\n"):t.messageText}(n.messageText)}`).join("\n")),(null!=(o=r.createHash)?o:pQ)(n)}function j_(e,t,n){var r;return(null!=(r=t.createHash)?r:pQ)(jd(e,n))}function jp(e,{newProgram:t,host:n,oldProgram:r,configFileParsingDiagnostics:i}){let a=r&&r.getState();if(a&&t===a.program&&i===t.getConfigFileParsingDiagnostics())return t=void 0,a=void 0,r;let s=function(e,t){var n,r;let i=i7.create(e,t,!1);i.program=e;let a=e.getCompilerOptions();i.compilerOptions=a;let s=SL(a);s?a.composite&&(null==t?void 0:t.outSignature)&&s===SL(null==t?void 0:t.compilerOptions)&&(i.outSignature=t.outSignature&&V5(a,t.compilerOptions,t.outSignature)):i.semanticDiagnosticsPerFile=new Map,i.changedFilesSet=new Set,i.latestChangedDtsFile=a.composite?null==t?void 0:t.latestChangedDtsFile:void 0;let l=i7.canReuseOldState(i.referencedMap,t),c=l?t.compilerOptions:void 0,d=l&&t.semanticDiagnosticsPerFile&&!!i.semanticDiagnosticsPerFile&&!CS(a,c),u=a.composite&&(null==t?void 0:t.emitSignatures)&&!s&&!CL(a,t.compilerOptions);l?(null==(n=t.changedFilesSet)||n.forEach(e=>i.changedFilesSet.add(e)),!s&&(null==(r=t.affectedFilesPendingEmit)?void 0:r.size)&&(i.affectedFilesPendingEmit=new Map(t.affectedFilesPendingEmit),i.seenAffectedFiles=new Set),i.programEmitPending=t.programEmitPending):i.buildInfoEmitPending=!0;let _=i.referencedMap,p=l?t.referencedMap:void 0,f=d&&!a.skipLibCheck==!c.skipLibCheck,m=f&&!a.skipDefaultLibCheck==!c.skipDefaultLibCheck;if(i.fileInfos.forEach((n,r)=>{var s,c,h;let y,g;if(!l||!(y=t.fileInfos.get(r))||y.version!==n.version||y.impliedFormat!==n.impliedFormat||(c=g=_&&_.getValues(r))!==(h=p&&p.getValues(r))&&(void 0===c||void 0===h||c.size!==h.size||vc(c,e=>!h.has(e)))||g&&vc(g,e=>!i.fileInfos.has(e)&&t.fileInfos.has(e)))V3(i,r);else if(d){let n=e.getSourceFileByPath(r);if(n.isDeclarationFile&&!f||n.hasNoDefaultLib&&!m)return;let a=t.semanticDiagnosticsPerFile.get(r);a&&(i.semanticDiagnosticsPerFile.set(r,t.hasReusableDiagnostic?function(e,t){let n;if(!e.length)return o;return e.map(e=>{let n=V7(e,t,r);n.reportsUnnecessary=e.reportsUnnecessary,n.reportsDeprecated=e.reportDeprecated,n.source=e.source,n.skippedOn=e.skippedOn;let{relatedInformation:i}=e;return n.relatedInformation=i?i.length?i.map(e=>V7(e,t,r)):[]:void 0,n});function r(e){return null!=n||(n=fy(fk(UO(t.getCompilerOptions()),t.getCurrentDirectory()))),fR(e,n,t.getCanonicalFileName)}}(a,e):a),i.semanticDiagnosticsFromOldState||(i.semanticDiagnosticsFromOldState=new Set),i.semanticDiagnosticsFromOldState.add(r))}if(u){let e=t.emitSignatures.get(r);e&&(null!=(s=i.emitSignatures)?s:i.emitSignatures=new Map).set(r,V5(a,t.compilerOptions,e))}}),l&&vl(t.fileInfos,(e,t)=>!i.fileInfos.has(t)&&(!!s||!!e.affectsGlobalScope||(i.buildInfoEmitPending=!0,!1))))i7.getAllFilesExcludingDefaultLibraryFile(i,e,void 0).forEach(e=>V3(i,e.resolvedPath));else if(c){let t=CA(a,c)?V8(a):V6(a,c);0!==t&&(s?i.programEmitPending=i.programEmitPending?i.programEmitPending|t:t:(e.getSourceFiles().forEach(e=>{i.changedFilesSet.has(e.resolvedPath)||jf(i,e.resolvedPath,t)}),T.assert(!i.seenAffectedFiles||!i.seenAffectedFiles.size),i.seenAffectedFiles=i.seenAffectedFiles||new Set,i.buildInfoEmitPending=!0))}return s&&!i.changedFilesSet.size&&(l&&(i.bundle=t.bundle),uv(e.getProjectReferences(),e=>!!e.prepend)&&(i.programEmitPending=V8(a))),i}(t,a);t.getBuildInfo=e=>(function(e,t){var n,r,i;let a,s,l,c,d,u,_,p;let f=T.checkDefined(e.program).getCurrentDirectory(),m=fy(fk(UO(e.compilerOptions),f)),h=e.latestChangedDtsFile?E(e.latestChangedDtsFile):void 0,y=[],g=new Map,v=[];if(SL(e.compilerOptions)){let i={fileNames:y,fileInfos:u9(e.fileInfos.entries(),([e,t])=>{let n=S(e);return L(e,n),t.impliedFormat?{version:t.version,impliedFormat:t.impliedFormat,signature:void 0,affectsGlobalScope:void 0}:t.version}),root:v,options:C(e.compilerOptions),outSignature:e.outSignature,latestChangedDtsFile:h,pendingEmit:e.programEmitPending?e.programEmitPending!==V8(e.compilerOptions)&&e.programEmitPending:void 0},{js:a,dts:o,commonSourceDirectory:s,sourceFiles:l}=t;return e.bundle=t={commonSourceDirectory:s,sourceFiles:l,js:a||(e.compilerOptions.emitDeclarationOnly?void 0:null==(n=e.bundle)?void 0:n.js),dts:o||(Cg(e.compilerOptions)?null==(r=e.bundle)?void 0:r.dts:void 0)},U$(i,t)}let b=u9(e.fileInfos.entries(),([t,n])=>{var r,i;let a=S(t);L(t,a),T.assert(y[a-1]===x(t));let s=null==(r=e.oldSignatures)?void 0:r.get(t),c=void 0!==s?s||void 0:n.signature;if(e.compilerOptions.composite){let n=e.program.getSourceFileByPath(t);if(!bV(n)&&SI(n,e.program)){let n=null==(i=e.emitSignatures)?void 0:i.get(t);n!==c&&(l||(l=[])).push(void 0===n?a:[a,_v(n)||n[0]!==c?n:o])}}return n.version===c?n.affectsGlobalScope||n.impliedFormat?{version:n.version,signature:void 0,affectsGlobalScope:n.affectsGlobalScope,impliedFormat:n.impliedFormat}:n.version:void 0!==c?void 0===s?n:{version:n.version,signature:c,affectsGlobalScope:n.affectsGlobalScope,impliedFormat:n.impliedFormat}:{version:n.version,signature:!1,affectsGlobalScope:n.affectsGlobalScope,impliedFormat:n.impliedFormat}});if(e.referencedMap&&(c=u9(e.referencedMap.keys()).sort(_W).map(t=>[S(t),A(e.referencedMap.getValues(t))])),e.exportedModulesMap&&(d=uu(u9(e.exportedModulesMap.keys()).sort(_W),t=>{var n;let r=null==(n=e.oldExportedModulesMap)?void 0:n.get(t);return void 0===r?[S(t),A(e.exportedModulesMap.getValues(t))]:r?[S(t),A(r)]:void 0})),e.semanticDiagnosticsPerFile)for(let t of u9(e.semanticDiagnosticsPerFile.keys()).sort(_W)){let n=e.semanticDiagnosticsPerFile.get(t);(u||(u=[])).push(n.length?[S(t),function(e,t){return T.assert(!!e.length),e.map(e=>{let n=jl(e,t);n.reportsUnnecessary=e.reportsUnnecessary,n.reportDeprecated=e.reportsDeprecated,n.source=e.source,n.skippedOn=e.skippedOn;let{relatedInformation:r}=e;return n.relatedInformation=r?r.length?r.map(e=>jl(e,t)):[]:void 0,n})}(n,x)]:S(t))}if(null==(i=e.affectedFilesPendingEmit)?void 0:i.size){let t=V8(e.compilerOptions),n=new Set;for(let r of u9(e.affectedFilesPendingEmit.keys()).sort(_W))if(um(n,r)){let n=e.program.getSourceFileByPath(r);if(!n||!SI(n,e.program))continue;let i=S(r),a=e.affectedFilesPendingEmit.get(r);(_||(_=[])).push(a===t?i:8===a?[i]:[i,a])}}if(e.changedFilesSet.size)for(let t of u9(e.changedFilesSet.keys()).sort(_W))(p||(p=[])).push(S(t));return U$({fileNames:y,fileInfos:b,root:v,options:C(e.compilerOptions),fileIdsList:a,referencedMap:c,exportedModulesMap:d,semanticDiagnosticsPerFile:u,affectedFilesPendingEmit:_,changeFileSet:p,emitSignatures:l,latestChangedDtsFile:h},t);function E(e){return x(fk(e,f))}function x(t){return fO(fH(m,t,e.program.getCanonicalFileName))}function S(e){let t=g.get(e);return void 0===t&&(y.push(x(e)),g.set(e,t=y.length)),t}function A(e){let t=u9(e.keys(),S).sort(_U),n=t.join(),r=null==s?void 0:s.get(n);return void 0===r&&((a||(a=[])).push(t),(s||(s=new Map)).set(n,r=a.length)),r}function L(t,n){let r=e.program.getSourceFile(t);if(!e.program.getFileIncludeReasons().get(r.path).some(e=>0===e.kind))return;if(!v.length)return v.push(n);let i=v[v.length-1],a=_y(i);if(a&&i[1]===n-1)return i[1]=n;if(a||1===v.length||i!==n-1)return v.push(n);let o=v[v.length-2];return _b(o)&&o===i-1?(v[v.length-2]=[o,n],v.length=v.length-1):v.push(n)}function C(e){let t;let{optionsNameMap:n}=ME();for(let r of u6(e).sort(_W)){let i=n.get(r.toLowerCase());(null==i?void 0:i.affectsBuildInfo)&&((t||(t={}))[r]=function(e,t,n){if(e){if(T.assert("listOrElement"!==e.type),"list"===e.type){if(e.element.isFilePath&&t.length)return t.map(n)}else if(e.isFilePath)return n(t)}return t}(i,e[r],E))}return t}})(s,e),t=void 0,r=void 0,a=void 0;let l=()=>s,c=jb(l,i);return c.getState=l,c.saveEmitState=()=>{let e;return e=SL(s.compilerOptions),T.assert(!s.changedFilesSet.size||e),{affectedFilesPendingEmit:s.affectedFilesPendingEmit&&new Map(s.affectedFilesPendingEmit),seenEmittedFiles:s.seenEmittedFiles&&new Map(s.seenEmittedFiles),programEmitPending:s.programEmitPending,emitSignatures:s.emitSignatures&&new Map(s.emitSignatures),outSignature:s.outSignature,latestChangedDtsFile:s.latestChangedDtsFile,hasChangedEmitSignature:s.hasChangedEmitSignature,changedFilesSet:e?new Set(s.changedFilesSet):void 0}},c.restoreEmitState=e=>{s.affectedFilesPendingEmit=e.affectedFilesPendingEmit,s.seenEmittedFiles=e.seenEmittedFiles,s.programEmitPending=e.programEmitPending,s.emitSignatures=e.emitSignatures,s.outSignature=e.outSignature,s.latestChangedDtsFile=e.latestChangedDtsFile,s.hasChangedEmitSignature=e.hasChangedEmitSignature,e.changedFilesSet&&(s.changedFilesSet=e.changedFilesSet)},c.hasChangedEmitSignature=()=>!!s.hasChangedEmitSignature,c.getAllDependencies=e=>i7.getAllDependencies(s,T.checkDefined(s.program),e),c.getSemanticDiagnostics=function(e,t){let n;if(V9(s,e),SL(T.checkDefined(s.program).getCompilerOptions()))return T.assert(!s.semanticDiagnosticsPerFile),T.checkDefined(s.program).getSemanticDiagnostics(e,t);if(e)return jo(s,e,t);for(;_(t););for(let e of T.checkDefined(s.program).getSourceFiles())n=uP(n,jo(s,e,t));return n||o},c.emit=function(t,n,r,i,a){1===e&&V9(s,t);let l=Vz(c,t,n,r);if(l)return l;if(!t){if(1===e){let e,t,s=[],l=!1,c=[];for(;t=d(n,r,i,a);)l=l||t.result.emitSkipped,e=uP(e,t.result.diagnostics),c=uP(c,t.result.emittedFiles),s=uP(s,t.result.sourceMaps);return{emitSkipped:l,diagnostics:e||o,emittedFiles:c,sourceMaps:s}}!function(e,t){var n;if(null==(n=e.affectedFilesPendingEmit)?void 0:n.size){if(!t)return e.affectedFilesPendingEmit=void 0;e.affectedFilesPendingEmit.forEach((t,n)=>{let r=7&t;r?e.affectedFilesPendingEmit.set(n,r):e.affectedFilesPendingEmit.delete(n)})}}(s,i)}return T.checkDefined(s.program).emit(t,u(n,a),r,i,a)},c.releaseProgram=()=>{i7.releaseCache(s),s.program=void 0},0===e?c.getSemanticDiagnosticsOfNextAffectedFile=_:1===e?(c.getSemanticDiagnosticsOfNextAffectedFile=_,c.emitNextAffectedFile=d,c.emitBuildInfo=function(e,t){if(s.buildInfoEmitPending){let r=T.checkDefined(s.program).emitBuildInfo(e||_d(n,n.writeFile),t);return s.buildInfoEmitPending=!1,r}return i5}):_w(),c;function d(e,t,r,i){var a,o,l,c,d;let _;let p=je(s,t,n),f=V8(s.compilerOptions),m=r?24&f:f;if(!p){if(SL(s.compilerOptions)){if(!s.programEmitPending||(m=s.programEmitPending,r&&(m&=24),!m))return;p=s.program}else{let i=function(e,t){var n;if(null==(n=e.affectedFilesPendingEmit)?void 0:n.size)return vl(e.affectedFilesPendingEmit,(n,r)=>{var i;let a=e.program.getSourceFileByPath(r);if(!a||!SI(a,e.program)){e.affectedFilesPendingEmit.delete(r);return}let o=V6(n,null==(i=e.seenEmittedFiles)?void 0:i.get(a.resolvedPath));if(t&&(o&=24),o)return{affectedFile:a,emitKind:o}})}(s,r);if(!i){if(!s.buildInfoEmitPending)return;let r=s.program,i=r.emitBuildInfo(e||_d(n,n.writeFile),t);return s.buildInfoEmitPending=!1,{result:i,affected:r}}({affectedFile:p,emitKind:m}=i)}}7&m&&(_=0),24&m&&(_=void 0===_?1:void 0),p===s.program&&(s.programEmitPending=s.changedFilesSet.size?V6(f,m):s.programEmitPending?V6(s.programEmitPending,m):void 0);let h=s.program.emit(p===s.program?void 0:p,u(e,i),t,_,i);if(p!==s.program){let e=p;s.seenAffectedFiles.add(e.resolvedPath),void 0!==s.affectedFilesIndex&&s.affectedFilesIndex++,s.buildInfoEmitPending=!0;let t=(null==(a=s.seenEmittedFiles)?void 0:a.get(e.resolvedPath))||0;(null!=(o=s.seenEmittedFiles)?o:s.seenEmittedFiles=new Map).set(e.resolvedPath,m|t);let n=V6((null==(l=s.affectedFilesPendingEmit)?void 0:l.get(e.resolvedPath))||f,m|t);n?(null!=(c=s.affectedFilesPendingEmit)?c:s.affectedFilesPendingEmit=new Map).set(e.resolvedPath,n):null==(d=s.affectedFilesPendingEmit)||d.delete(e.resolvedPath)}else s.changedFilesSet.clear();return{result:h,affected:p}}function u(e,t){return Cg(s.compilerOptions)?(r,i,a,o,l,c)=>{var d,u,_,p,f,m,h;if(Mf(r)){if(SL(s.compilerOptions)){if(s.compilerOptions.composite){let e=y(s.outSignature,void 0);if(!e)return;s.outSignature=e}}else{let e;if(T.assert((null==l?void 0:l.length)===1),!t){let t=l[0],r=s.fileInfos.get(t.resolvedPath);if(r.signature===t.version){let a=ju(s.program,t,i,n,c);(null==(d=null==c?void 0:c.diagnostics)?void 0:d.length)||(e=a),a!==t.version&&((n.storeFilesChangingSignatureDuringEmit&&(null!=(u=s.filesChangingSignature)?u:s.filesChangingSignature=new Set).add(t.resolvedPath),s.exportedModulesMap&&i7.updateExportedModules(s,t,t.exportedModulesFromDeclarationEmit),s.affectedFiles)?(void 0===(null==(_=s.oldSignatures)?void 0:_.get(t.resolvedPath))&&(null!=(p=s.oldSignatures)?p:s.oldSignatures=new Map).set(t.resolvedPath,r.signature||!1),r.signature=a):(r.signature=a,null==(f=s.oldExportedModulesMap)||f.clear()))}}if(s.compilerOptions.composite){let t=l[0].resolvedPath;if(!(e=y(null==(m=s.emitSignatures)?void 0:m.get(t),e)))return;(null!=(h=s.emitSignatures)?h:s.emitSignatures=new Map).set(t,e)}}}function y(e,t){let a=!e||_v(e)?e:e[0];if(null!=t||(t=j_(i,n,c)),t===a){if(e===a)return;c?c.differsOnlyInMap=!0:c={differsOnlyInMap:!0}}else s.hasChangedEmitSignature=!0,s.latestChangedDtsFile=r;return t}e?e(r,i,a,o,l,c):n.writeFile?n.writeFile(r,i,a,o,l,c):s.program.writeFile(r,i,a,o,l,c)}:e||_d(n,n.writeFile)}function _(e,t){for(;;){let r;let i=je(s,e,n);if(!i)return;if(i!==s.program){if(t&&t(i)||(r=jo(s,i,e)),s.seenAffectedFiles.add(i.resolvedPath),s.affectedFilesIndex++,s.buildInfoEmitPending=!0,!r)continue}else r=s.program.getSemanticDiagnostics(void 0,e),s.changedFilesSet.clear(),s.programEmitPending=V8(s.compilerOptions);return{result:r,affected:i}}}}function jf(e,t,n){var r,i;let a=(null==(r=e.affectedFilesPendingEmit)?void 0:r.get(t))||0;(null!=(i=e.affectedFilesPendingEmit)?i:e.affectedFilesPendingEmit=new Map).set(t,a|n)}function jm(e){return _v(e)?{version:e,signature:e,affectsGlobalScope:void 0,impliedFormat:void 0}:_v(e.signature)?e:{version:e.version,signature:!1===e.signature?void 0:e.version,affectsGlobalScope:e.affectsGlobalScope,impliedFormat:e.impliedFormat}}function jh(e,t){return _b(e)?t:e[1]||8}function jy(e,t){return e||V8(t||{})}function jg(e,t,n){var r,i,a,s;let l,c;let d=e.program,u=fy(fk(t,n.getCurrentDirectory())),_=_7(n.useCaseSensitiveFileNames()),p=null==(r=d.fileNames)?void 0:r.map(function(e){return fR(e,u,_)}),f=d.latestChangedDtsFile?m(d.latestChangedDtsFile):void 0;if(js(d)){let t=new Map;d.fileInfos.forEach((e,n)=>{let r=h(n+1);t.set(r,_v(e)?{version:e,signature:void 0,affectsGlobalScope:void 0,impliedFormat:void 0}:e)}),l={fileInfos:t,compilerOptions:d.options?M4(d.options,m):{},latestChangedDtsFile:f,outSignature:d.outSignature,programEmitPending:void 0===d.pendingEmit?void 0:jy(d.pendingEmit,d.options),bundle:e.bundle}}else{c=null==(i=d.fileIdsList)?void 0:i.map(e=>new Set(e.map(h)));let e=new Map,t=(null==(a=d.options)?void 0:a.composite)&&!SL(d.options)?new Map:void 0;d.fileInfos.forEach((n,r)=>{let i=h(r+1),a=jm(n);e.set(i,a),t&&a.signature&&t.set(i,a.signature)}),null==(s=d.emitSignatures)||s.forEach(e=>{if(_b(e))t.delete(h(e));else{let n=h(e[0]);t.set(n,_v(e[1])||e[1].length?e[1]:[t.get(n)])}});let n=d.affectedFilesPendingEmit?V8(d.options||{}):void 0;l={fileInfos:e,compilerOptions:d.options?M4(d.options,m):{},referencedMap:y(d.referencedMap),exportedModulesMap:y(d.exportedModulesMap),semanticDiagnosticsPerFile:d.semanticDiagnosticsPerFile&&_n(d.semanticDiagnosticsPerFile,e=>h(_b(e)?e:e[0]),e=>_b(e)?o:e[1]),hasReusableDiagnostic:!0,affectedFilesPendingEmit:d.affectedFilesPendingEmit&&_n(d.affectedFilesPendingEmit,e=>h(_b(e)?e:e[0]),e=>jh(e,n)),changedFilesSet:new Set(un(d.changeFileSet,h)),latestChangedDtsFile:f,emitSignatures:(null==t?void 0:t.size)?t:void 0}}return{getState:()=>l,saveEmitState:_x,restoreEmitState:_x,getProgram:_w,getProgramOrUndefined:_L,releaseProgram:_x,getCompilerOptions:()=>l.compilerOptions,getSourceFile:_w,getSourceFiles:_w,getOptionsDiagnostics:_w,getGlobalDiagnostics:_w,getConfigFileParsingDiagnostics:_w,getSyntacticDiagnostics:_w,getDeclarationDiagnostics:_w,getSemanticDiagnostics:_w,emit:_w,getAllDependencies:_w,getCurrentDirectory:_w,emitNextAffectedFile:_w,getSemanticDiagnosticsOfNextAffectedFile:_w,emitBuildInfo:_w,close:_x,hasChangedEmitSignature:_S};function m(e){return fk(e,u)}function h(e){return p[e-1]}function y(e){if(!e)return;let t=i7.createManyToManyPathMap();return e.forEach(([e,n])=>t.set(h(e),c[n-1])),t}}function jv(e,t,n){let r=fy(fk(t,n.getCurrentDirectory())),i=_7(n.useCaseSensitiveFileNames()),a=new Map,o=0,s=[];return e.fileInfos.forEach((t,n)=>{let l=fR(e.fileNames[n],r,i),c=_v(t)?t:t.version;if(a.set(l,c),oe().program,releaseProgram:()=>e().program=void 0,getCompilerOptions:()=>e().compilerOptions,getSourceFile:e=>n().getSourceFile(e),getSourceFiles:()=>n().getSourceFiles(),getOptionsDiagnostics:e=>n().getOptionsDiagnostics(e),getGlobalDiagnostics:e=>n().getGlobalDiagnostics(e),getConfigFileParsingDiagnostics:()=>t,getSyntacticDiagnostics:(e,t)=>n().getSyntacticDiagnostics(e,t),getDeclarationDiagnostics:(e,t)=>n().getDeclarationDiagnostics(e,t),getSemanticDiagnostics:(e,t)=>n().getSemanticDiagnostics(e,t),emit:(e,t,r,i,a)=>n().emit(e,t,r,i,a),emitBuildInfo:(e,t)=>n().emitBuildInfo(e,t),getAllDependencies:_w,getCurrentDirectory:()=>n().getCurrentDirectory(),close:_x};function n(){return T.checkDefined(e().program)}}var jE=dj({"src/compiler/builder.ts"(){var e,t;Kr(),Kr(),(e=i9||{})[e.None=0]="None",e[e.Js=1]="Js",e[e.JsMap=2]="JsMap",e[e.JsInlineMap=4]="JsInlineMap",e[e.Dts=8]="Dts",e[e.DtsMap=16]="DtsMap",e[e.AllJs=7]="AllJs",e[e.AllDts=24]="AllDts",e[e.All=31]="All",i9=e,(t=ae||{})[t.SemanticDiagnosticsBuilderProgram=0]="SemanticDiagnosticsBuilderProgram",t[t.EmitAndSemanticDiagnosticsBuilderProgram=1]="EmitAndSemanticDiagnosticsBuilderProgram",ae=t}});function jT(e,t,n,r,i,a){return jp(0,jc(e,t,n,r,i,a))}function jx(e,t,n,r,i,a){return jp(1,jc(e,t,n,r,i,a))}function jS(e,t,n,r,i,a){let{newProgram:o,configFileParsingDiagnostics:s}=jc(e,t,n,r,i,a);return jb(()=>({program:o,compilerOptions:o.getCompilerOptions()}),s)}var jA=dj({"src/compiler/builderPublic.ts"(){Kr()}});function jL(e){return _Z(e,"/node_modules/.staging")?_0(e,"/.staging"):uv(th,t=>_2(e,t))?void 0:e}function jC(e){let t=fh(e);if(e.length===t)return!1;let n=e.indexOf(tb,t);if(-1===n)return!1;let r=e.substring(t,n+1),i=t>1||47!==e.charCodeAt(0);if(i&&0!==e.search(/[a-zA-Z]:/)&&0===r.search(/[a-zA-Z]\$\//)){if(-1===(n=e.indexOf(tb,n+1)))return!1;r=e.substring(t+r.length,n+1)}if(i&&0!==r.search(/users\//i))return!0;for(let t=n+1,r=2;r>0;r--)if(0===(t=e.indexOf(tb,t)+1))return!1;return!0}function jk(e,t,n){let r,i,a,s,l,c,d,u;let _=_u(),p=new Set,f=new Set,m=new Map,h=new Map,y=!1,g=_R(()=>e.getCurrentDirectory()),v=e.getCachedDirectoryStructureHost(),b=new Map,E=P2(g(),e.getCanonicalFileName,e.getCompilationSettings()),x=new Map,S=P4(g(),e.getCanonicalFileName,e.getCompilationSettings(),E.getPackageJsonInfoCache()),A=[".ts",".tsx",".js",".jsx",".json"],L=new Map,C=new Map,k=new Map,I=t&&fN(fk(t,g())),w=I&&e.toPath(I),R=void 0!==w?w.split(tb).length:0,N=new Map;return{getModuleResolutionCache:()=>E,startRecordingFilesWithChangedResolutions:function(){r=[]},finishRecordingFilesWithChangedResolutions:function(){let e=r;return r=void 0,e},startCachingPerDirectoryResolution:function(){E.clearAllExceptPackageJsonInfoCache(),S.clearAllExceptPackageJsonInfoCache(),_.forEach(W),_.clear()},finishCachingPerDirectoryResolution:function(e,t){a=void 0,_.forEach(W),_.clear(),e!==t&&(null==e||e.getSourceFiles().forEach(e=>{var t,n,r;let i=bU(e)&&null!=(n=null==(t=e.packageJsonLocations)?void 0:t.length)?n:0,a=null!=(r=h.get(e.path))?r:o;for(let t=a.length;ti)for(let e=i;e{(null==e?void 0:e.getSourceFileByPath(n))||(t.forEach(e=>k.get(e).files--),h.delete(n))})),C.forEach((e,t)=>{0===e.refCount&&(C.delete(t),e.watcher.close())}),k.forEach((e,t)=>{0===e.files&&0===e.resolutions&&(k.delete(t),e.watcher.close())}),y=!1},resolveModuleNameLiterals:function(e,t,r,i,a,o){return G({entries:e,containingFile:t,containingSourceFile:a,redirectedReference:r,options:i,reusedNames:o,perFileCache:b,loader:{nameAndMode:i4,resolve:(e,n)=>F(e,t,i,r,n)},getResolutionWithResolvedFileName:D,shouldRetryResolution:e=>!e.resolvedModule||!kt(e.resolvedModule.extension),logChanges:n})},resolveTypeReferenceDirectiveReferences:function(t,n,r,i,a,o){var s;return G({entries:t,containingFile:n,containingSourceFile:a,redirectedReference:r,options:i,reusedNames:o,perFileCache:x,loader:VO(n,r,i,(null==(s=e.getCompilerHost)?void 0:s.call(e))||e,S),getResolutionWithResolvedFileName:O,shouldRetryResolution:e=>void 0===e.resolvedTypeReferenceDirective})},resolveSingleModuleNameWithoutWatching:function(t,n){let r=e.toPath(n),i=b.get(r),a=null==i?void 0:i.get(t,void 0);return a&&!a.isInvalidated?a:F(t,n,e.getCompilationSettings())},removeResolutionsFromProjectReferenceRedirects:function(t){if(!fu(t,".json"))return;let n=e.getCurrentProgram();if(!n)return;let r=n.getResolvedProjectReferenceByPath(t);r&&r.commandLine.fileNames.forEach(t=>Y(e.toPath(t)))},removeResolutionsOfFile:Y,hasChangedAutomaticTypeDirectiveNames:()=>y,invalidateResolutionOfFile:function(t){Y(t);let n=y;$(m.get(t),_A)&&y&&!n&&e.onChangedAutomaticTypeDirectiveNames()},invalidateResolutionsOfFailedLookupLocations:Z,setFilesWithInvalidatedNonRelativeUnresolvedImports:function(e){T.assert(a===e||void 0===a),a=e},createHasInvalidatedResolutions:function(e){Z();let t=i;return i=void 0,n=>e(n)||!!(null==t?void 0:t.has(n))||P(n)},isFileWithInvalidatedNonRelativeUnresolvedImports:P,updateTypeRootsWatch:function(){let t=e.getCompilationSettings();if(t.types){er();return}let n=PU(t,{directoryExists:ea,getCurrentDirectory:g});n?Lv(N,_n(n,t=>e.toPath(t)),{createNewValue:ei,onDeleteValue:Ll}):er()},closeTypeRootsWatch:er,clear:function(){Ly(C,Vs),Ly(k,Vs),L.clear(),_.clear(),er(),b.clear(),x.clear(),m.clear(),p.clear(),f.clear(),c=void 0,d=void 0,u=void 0,l=void 0,s=void 0,E.clear(),S.clear(),E.update(e.getCompilationSettings()),S.update(e.getCompilationSettings()),h.clear(),y=!1}};function D(e){return e.resolvedModule}function O(e){return e.resolvedTypeReferenceDirective}function M(e,t){return void 0!==e&&!(t.length<=e.length)&&pn(t,e)&&t[e.length]===tb}function P(e){if(!a)return!1;let t=a.get(e);return!!t&&!!t.length}function F(t,n,r,i,a){var o;let s=(null==(o=e.getCompilerHost)?void 0:o.call(e))||e,l=P6(t,n,r,s,E,i,a);if(!e.getGlobalCache)return l;let c=e.getGlobalCache();if(void 0!==c&&!mR(t)&&!(l.resolvedModule&&ke(l.resolvedModule.extension))){let{resolvedModule:n,failedLookupLocations:i,affectingLocations:a,resolutionDiagnostics:o}=FU(T.checkDefined(e.globalCacheResolutionModuleName)(t),e.projectName,r,s,c,E);n&&(l.resolvedModule=n,l.failedLookupLocations=PP(l.failedLookupLocations,i),l.affectingLocations=PP(l.affectingLocations,a),l.resolutionDiagnostics=PP(l.resolutionDiagnostics,o))}return l}function G({entries:t,containingFile:n,containingSourceFile:i,redirectedReference:a,options:o,perFileCache:s,reusedNames:l,loader:c,getResolutionWithResolvedFileName:d,shouldRetryResolution:u,logChanges:p}){var f;let h=e.toPath(n),y=s.get(h)||s.set(h,P$()).get(h),g=[],v=p&&P(h),E=e.getCurrentProgram(),x=E&&E.getResolvedProjectReferenceToRedirect(n),S=x?!a||a.sourceFile.path!==x.sourceFile.path:!!a,A=P$();for(let a of t){let t=c.nameAndMode.getName(a),l=c.nameAndMode.getMode(a,i),E=y.get(t,l);if(!A.has(t,l)&&S||!E||E.isInvalidated||v&&!mR(t)&&u(E)){let n=E;E=c.resolve(t,l),e.onDiscoveredSymlink&&function(e){var t,n;return!!((null==(t=e.resolvedModule)?void 0:t.originalPath)||(null==(n=e.resolvedTypeReferenceDirective)?void 0:n.originalPath))}(E)&&e.onDiscoveredSymlink(),y.set(t,l,E),function(t,n,r,i){var a,o;if(n.refCount)n.refCount++,T.assertIsDefined(n.files);else{n.refCount=1,T.assert(!(null==(a=n.files)?void 0:a.size)),mR(t)?j(n):_.add(t,n);let r=i(n);if(r&&r.resolvedFileName){let t=e.toPath(r.resolvedFileName),i=m.get(t);i||m.set(t,i=new Set),i.add(n)}}(null!=(o=n.files)?o:n.files=new Set).add(r)}(t,E,h,d),n&&q(n,h,d),p&&r&&!function(e,t){if(e===t)return!0;if(!e||!t)return!1;let n=d(e),r=d(t);return n===r||!!n&&!!r&&n.resolvedFileName===r.resolvedFileName}(n,E)&&(r.push(h),p=!1)}else{let r=(null==(f=e.getCompilerHost)?void 0:f.call(e))||e;if(PC(o,r)&&!A.has(t,l)){let e=d(E);PL(r,s===b?(null==e?void 0:e.resolvedFileName)?e.packageId?tA.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:tA.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:tA.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved:(null==e?void 0:e.resolvedFileName)?e.packageId?tA.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:tA.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2:tA.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved,t,n,null==e?void 0:e.resolvedFileName,(null==e?void 0:e.packageId)&&vb(e.packageId))}}T.assert(void 0!==E&&!E.isInvalidated),A.set(t,l,!0),g.push(E)}return null==l||l.forEach(e=>A.set(c.nameAndMode.getName(e),c.nameAndMode.getMode(e,i),!0)),y.size()!==A.size()&&y.forEach((e,t,n)=>{A.has(t,n)||(q(e,h,d),y.delete(t,n))}),g}function B(e){return _Z(e,"/node_modules/@types")}function U(e,t){if(M(w,t)){e=fa(e)?fI(e):fk(e,g());let n=t.split(tb),r=e.split(tb);return(T.assert(r.length===n.length,`FailedLookup: ${e} failedLookupLocationPath: ${t}`),n.length>R+1)?{dir:r.slice(0,R+1).join(tb),dirPath:n.slice(0,R+1).join(tb)}:{dir:I,dirPath:w,nonRecursive:!1}}return V(fy(fk(e,g())),fy(t))}function V(e,t){let n,r;for(;Fi(t);)e=fy(e),t=fy(t);if(fJ(t))return jC(fy(t))?{dir:e,dirPath:t}:void 0;let i=!0;if(void 0!==w)for(;!M(t,w);){let a=fy(t);if(a===t)break;i=!1,n=t,r=e,t=a,e=fy(e)}return jC(t)?{dir:r||e,dirPath:n||t,nonRecursive:i}:void 0}function j(t){T.assert(!!t.refCount);let{failedLookupLocations:n,affectingLocations:r}=t;if(!(null==n?void 0:n.length)&&!(null==r?void 0:r.length))return;(null==n?void 0:n.length)&&p.add(t);let i=!1;if(n){for(let t of n){let n=e.toPath(t),r=U(t,n);if(r){let{dir:e,dirPath:t,nonRecursive:a}=r;if(!f_(n,A)){let e=L.get(n)||0;L.set(n,e+1)}t===w?(T.assert(!a),i=!0):z(e,t,a)}}i&&z(I,w,!0)}H(t,!(null==n?void 0:n.length))}function H(e,t){T.assert(!!e.refCount);let{affectingLocations:n}=e;if(null==n?void 0:n.length)for(let r of(t&&f.add(e),n))K(r,!0)}function K(t,n){let r=k.get(t);if(r){n?r.resolutions++:r.files++;return}let i=t;if(e.realpath&&(i=e.realpath(t),t!==i)){let e=k.get(i);if(e){n?e.resolutions++:e.files++,e.paths.add(t),k.set(t,e);return}}let a=new Set;a.add(i);let o=jC(e.toPath(i))?e.watchAffectingFileLocation(i,(t,n)=>{null==v||v.addOrDeleteFile(t,e.toPath(i),n);let r=E.getPackageJsonInfoCache().getInternalMap();a.forEach(t=>{c.resolutions&&(null!=l?l:l=new Set).add(t),c.files&&(null!=s?s:s=new Set).add(t),null==r||r.delete(e.toPath(t))}),e.scheduleInvalidateResolutionsOfFailedLookupLocations()}):ar,c={watcher:o!==ar?{close:()=>{o.close(),o=ar}}:o,resolutions:n?1:0,files:n?0:1,paths:a};k.set(i,c),t!==i&&(k.set(t,c),a.add(t))}function W(t,n){let r=e.getCurrentProgram();r&&r.getTypeChecker().tryFindAmbientModuleWithoutAugmentations(n)?t.forEach(e=>H(e,!0)):t.forEach(j)}function z(t,n,r){let i=C.get(n);i?(T.assert(!!r==!!i.nonRecursive),i.refCount++):C.set(n,{watcher:e.watchDirectoryOfFailedLookupLocation(t,t=>{let r=e.toPath(t);v&&v.addOrDeleteFileOrDirectory(t,r),Q(r,n===r)},r?0:1),refCount:1,nonRecursive:r})}function q(t,n,r){if(T.checkDefined(t.files).delete(n),t.refCount--,t.refCount)return;let i=r(t);if(i&&i.resolvedFileName){let n=e.toPath(i.resolvedFileName),r=m.get(n);(null==r?void 0:r.delete(t))&&!r.size&&m.delete(n)}let{failedLookupLocations:a,affectingLocations:o}=t;if(p.delete(t)){let t=!1;for(let n of a){let r=e.toPath(n),i=U(n,r);if(i){let{dirPath:e}=i,n=L.get(r);n&&(1===n?L.delete(r):(T.assert(n>1),L.set(r,n-1))),e===w?t=!0:J(e)}}t&&J(w)}else(null==o?void 0:o.length)&&f.delete(t);if(o)for(let e of o){let t=k.get(e);t.resolutions--}}function J(e){let t=C.get(e);t.refCount--}function X(e,t,n){let r=e.get(t);r&&(r.forEach(e=>q(e,t,n)),e.delete(t))}function Y(e){X(b,e,D),X(x,e,O)}function $(e,t){if(!e)return!1;let n=!1;return e.forEach(e=>{if(!e.isInvalidated&&t(e))for(let t of(e.isInvalidated=n=!0,T.checkDefined(e.files)))(null!=i?i:i=new Set).add(t),y=y||_Z(t,i6)}),n}function Q(t,n){if(n)(u||(u=new Set)).add(t);else{let n=jL(t);if(!n||(t=n,e.fileIsOpen(t)))return!1;let r=fy(t);if(B(t)||fJ(t)||B(r)||fJ(r))(c||(c=new Set)).add(t),(d||(d=new Set)).add(t);else{if(!f_(t,A)&&!L.has(t)||Vi(e.getCurrentProgram(),t))return!1;(c||(c=new Set)).add(t);let n=Fa(t);n&&(d||(d=new Set)).add(n)}}e.scheduleInvalidateResolutionsOfFailedLookupLocations()}function Z(){var t;let n=!1;if(s&&(null==(t=e.getCurrentProgram())||t.getSourceFiles().forEach(e=>{uv(e.packageJsonLocations,e=>s.has(e))&&((null!=i?i:i=new Set).add(e.path),n=!0)}),s=void 0),!c&&!d&&!u&&!l)return n;n=$(p,ee)||n;let r=E.getPackageJsonInfoCache().getInternalMap();return r&&(c||d||u)&&r.forEach((e,t)=>et(t)?r.delete(t):void 0),c=void 0,d=void 0,u=void 0,n=$(f,en)||n,l=void 0,n}function ee(t){var n;return!!en(t)||(!!c||!!d||!!u)&&(null==(n=t.failedLookupLocations)?void 0:n.some(t=>et(e.toPath(t))))}function et(e){return(null==c?void 0:c.has(e))||dX((null==d?void 0:d.keys())||[],t=>!!pn(e,t)||void 0)||dX((null==u?void 0:u.keys())||[],t=>!!M(t,e)||void 0)}function en(e){var t;return!!l&&(null==(t=e.affectingLocations)?void 0:t.some(e=>l.has(e)))}function er(){Ly(N,Ll)}function ei(t,n){return e.watchTypeRootsDirectory(n,r=>{let i=e.toPath(r);v&&v.addOrDeleteFileOrDirectory(r,i),y=!0,e.onChangedAutomaticTypeDirectiveNames();let a=function(e,t){if(M(w,t))return w;let n=V(e,t);return n&&C.has(n.dirPath)?n.dirPath:void 0}(n,t);a&&Q(i,a===i)},1)}function ea(t){let n=fy(fy(t)),r=e.toPath(n);return r===w||jC(r)}}var jI=dj({"src/compiler/resolutionCache.ts"(){Kr(),Kr()}});function jw(e,t){let n=e===tv&&at?at:{getCurrentDirectory:()=>e.getCurrentDirectory(),getNewLine:()=>e.newLine,getCanonicalFileName:_7(e.useCaseSensitiveFileNames)};if(!t)return t=>e.write(Vv(t,n));let r=[,];return t=>{r[0]=t,e.write(VS(r,n)+n.getNewLine()),r[0]=void 0}}function jR(e,t,n){return!!(e.clearScreen&&!n.preserveWatchOutput&&!n.extendedDiagnostics&&!n.diagnostics&&d6(an,t.code))&&(e.clearScreen(),!0)}function jN(e){return e.now?e.now().toLocaleTimeString("en-US",{timeZone:"UTC"}).replace(" "," "):new Date().toLocaleTimeString()}function jD(e,t){return t?(t,n,r)=>{var i;jR(e,t,r);let a=`[${"\x1b[90m"+(i=jN(e))+iQ}] `;a+=`${VA(t.messageText,e.newLine)}${n+n}`,e.write(a)}:(t,n,r)=>{let i="";jR(e,t,r)||(i+=n),i+=`${jN(e)} - ${VA(t.messageText,e.newLine)}${d6(an,t.code)?n+n:n}`,e.write(i)}}function jO(e,t,n,r,i,a){i.onUnRecoverableConfigFileDiagnostic=e=>{a(e),i.exit(1)};let o=MP(e,t,i,n,r);return i.onUnRecoverableConfigFileDiagnostic=void 0,o}function jM(e){return d7(e,e=>1===e.category)}function jP(e){return d9(e,e=>1===e.category).map(e=>{if(void 0!==e.file)return`${e.file.fileName}`}).map(t=>{if(void 0===t)return;let n=d0(e,e=>void 0!==e.file&&e.file.fileName===t);if(void 0!==n){let{line:e}=mt(n.file,n.start);return{fileName:t,line:e+1}}})}function jF(e){return 1===e?tA.Found_1_error_Watching_for_file_changes:tA.Found_0_errors_Watching_for_file_changes}function jG(e,t){let n="\x1b[90m:"+e.line+iQ;return fs(e.fileName)&&fs(t)?fH(t,e.fileName,!1)+n:e.fileName+n}function jB(e,t,n,r){if(0===e)return"";let i=t.filter(e=>void 0!==e),a=i.map(e=>`${e.fileName}:${e.line}`).filter((e,t,n)=>n.indexOf(e)===t),o=i[0]&&jG(i[0],r.getCurrentDirectory());return`${n}${VA((1===e?L0(void 0!==t[0]?tA.Found_1_error_in_1:tA.Found_1_error,e,o):L0(0===a.length?tA.Found_0_errors:1===a.length?tA.Found_0_errors_in_the_same_file_starting_at_Colon_1:tA.Found_0_errors_in_1_files,e,1===a.length?o:a.length)).messageText,n)}${n}${n}${a.length>1?function(e,t){let n=e.filter((e,t,n)=>t===n.findIndex(t=>(null==t?void 0:t.fileName)===(null==e?void 0:e.fileName)));if(0===n.length)return"";let r=e=>Math.log(e)*Math.LOG10E+1,i=n.map(t=>[t,d7(e,e=>e.fileName===t.fileName)]),a=i.reduce((e,t)=>Math.max(e,t[1]||0),0),o=tA.Errors_Files.message,s=o.split(" ")[0].length,l=Math.max(s,r(a)),c=Math.max(r(a)-s,0),d="";return d+=" ".repeat(c)+o+"\n",i.forEach(e=>{let[n,r]=e,i=Math.log(r)*Math.LOG10E+1|0,a=i{t(e.fileName)})}function jj(e,t){var n,r;let i=e.getFileIncludeReasons(),a=t=>fK(t,e.getCurrentDirectory(),e.getCanonicalFileName);for(let o of e.getSourceFiles())t(`${jq(o,a)}`),null==(n=i.get(o.path))||n.forEach(n=>t(` ${jz(e,n,a).messageText}`)),null==(r=jH(o,a))||r.forEach(e=>t(` ${e.messageText}`))}function jH(e,t){var n;let r;if(e.path!==e.resolvedPath&&(null!=r?r:r=[]).push(L2(void 0,tA.File_is_output_of_project_reference_source_0,jq(e.originalFileName,t))),e.redirectInfo&&(null!=r?r:r=[]).push(L2(void 0,tA.File_redirects_to_file_0,jq(e.redirectInfo.redirectTarget,t))),bU(e))switch(e.impliedNodeFormat){case 99:e.packageJsonScope&&(null!=r?r:r=[]).push(L2(void 0,tA.File_is_ECMAScript_module_because_0_has_field_type_with_value_module,jq(uX(e.packageJsonLocations),t)));break;case 1:e.packageJsonScope?(null!=r?r:r=[]).push(L2(void 0,e.packageJsonScope.contents.packageJsonContent.type?tA.File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module:tA.File_is_CommonJS_module_because_0_does_not_have_field_type,jq(uX(e.packageJsonLocations),t))):(null==(n=e.packageJsonLocations)?void 0:n.length)&&(null!=r?r:r=[]).push(L2(void 0,tA.File_is_CommonJS_module_because_package_json_was_not_found))}return r}function jK(e,t){var n;let r=e.getCompilerOptions().configFile;if(!(null==(n=null==r?void 0:r.configFileSpecs)?void 0:n.validatedFilesSpec))return;let i=e.getCanonicalFileName(t),a=fy(fk(r.fileName,e.getCurrentDirectory()));return d0(r.configFileSpecs.validatedFilesSpec,t=>e.getCanonicalFileName(fk(t,a))===i)}function jW(e,t){var n,r;let i=e.getCompilerOptions().configFile;if(!(null==(n=null==i?void 0:i.configFileSpecs)?void 0:n.validatedIncludeSpecs))return;if(i.configFileSpecs.isDefaultIncludeSpec)return!0;let a=fu(t,".json"),o=fy(fk(i.fileName,e.getCurrentDirectory())),s=e.useCaseSensitiveFileNames();return d0(null==(r=null==i?void 0:i.configFileSpecs)?void 0:r.validatedIncludeSpecs,e=>{if(a&&!_Z(e,".json"))return!1;let n=CU(e,o,"files");return!!n&&CK(`(${n})$`,s).test(t)})}function jz(e,t,n){var r,i;let a=e.getCompilerOptions();if(VG(t)){let r;let i=VU(t=>e.getSourceFileByPath(t),t),a=VB(i)?i.file.text.substring(i.pos,i.end):`"${i.text}"`;switch(T.assert(VB(i)||3===t.kind,"Only synthetic references are imports"),t.kind){case 3:r=VB(i)?i.packageId?tA.Imported_via_0_from_file_1_with_packageId_2:tA.Imported_via_0_from_file_1:i.text===tz?i.packageId?tA.Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions:tA.Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions:i.packageId?tA.Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions:tA.Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions;break;case 4:T.assert(!i.packageId),r=tA.Referenced_via_0_from_file_1;break;case 5:r=i.packageId?tA.Type_library_referenced_via_0_from_file_1_with_packageId_2:tA.Type_library_referenced_via_0_from_file_1;break;case 7:T.assert(!i.packageId),r=tA.Library_referenced_via_0_from_file_1;break;default:T.assertNever(t)}return L2(void 0,r,a,jq(i.file,n),i.packageId&&vb(i.packageId))}switch(t.kind){case 0:if(!(null==(r=a.configFile)?void 0:r.configFileSpecs))return L2(void 0,tA.Root_file_specified_for_compilation);let o=fk(e.getRootFileNames()[t.index],e.getCurrentDirectory());if(jK(e,o))return L2(void 0,tA.Part_of_files_list_in_tsconfig_json);let s=jW(e,o);return _v(s)?L2(void 0,tA.Matched_by_include_pattern_0_in_1,s,jq(a.configFile,n)):L2(void 0,s?tA.Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk:tA.Root_file_specified_for_compilation);case 1:case 2:let l=2===t.kind,c=T.checkDefined(null==(i=e.getResolvedProjectReferences())?void 0:i[t.index]);return L2(void 0,SL(a)?l?tA.Output_from_referenced_project_0_included_because_1_specified:tA.Source_from_referenced_project_0_included_because_1_specified:l?tA.Output_from_referenced_project_0_included_because_module_is_specified_as_none:tA.Source_from_referenced_project_0_included_because_module_is_specified_as_none,jq(c.sourceFile.fileName,n),a.outFile?"--outFile":"--out");case 8:return L2(void 0,a.types?t.packageId?tA.Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1:tA.Entry_point_of_type_library_0_specified_in_compilerOptions:t.packageId?tA.Entry_point_for_implicit_type_library_0_with_packageId_1:tA.Entry_point_for_implicit_type_library_0,t.typeReference,t.packageId&&vb(t.packageId));case 6:if(void 0!==t.index)return L2(void 0,tA.Library_0_specified_in_compilerOptions,a.lib[t.index]);let d=vl(rF.type,(e,t)=>e===Ct(a)?t:void 0);return L2(void 0,d?tA.Default_library_for_target_0:tA.Default_library,d);default:T.assertNever(t)}}function jq(e,t){let n=_v(e)?e:e.fileName;return t?t(n):n}function jJ(e,t,n,r,i,a,s,l){let c=!!e.getCompilerOptions().listFilesOnly,d=e.getConfigFileParsingDiagnostics().slice(),u=d.length;uP(d,e.getSyntacticDiagnostics(void 0,a)),d.length!==u||(uP(d,e.getOptionsDiagnostics(a)),c||(uP(d,e.getGlobalDiagnostics(a)),d.length===u&&uP(d,e.getSemanticDiagnostics(void 0,a))));let _=c?{emitSkipped:!0,diagnostics:o}:e.emit(void 0,i,a,s,l),{emittedFiles:p,diagnostics:f}=_;uP(d,f);let m=mN(d);if(m.forEach(t),n){let t=e.getCurrentDirectory();dz(p,e=>{n(`TSFILE: ${fk(e,t)}`)}),jV(e,n)}return r&&r(jM(m),jP(m)),{emitResult:_,diagnostics:m}}function jX(e,t,n,r,i,a,o,s){let{emitResult:l,diagnostics:c}=jJ(e,t,n,r,i,a,o,s);return l.emitSkipped&&c.length>0?1:c.length>0?2:0}function jY(e=tv,t){return{onWatchStatusChange:t||jD(e),watchFile:_d(e,e.watchFile)||ai,watchDirectory:_d(e,e.watchDirectory)||ai,setTimeout:_d(e,e.setTimeout)||_x,clearTimeout:_d(e,e.clearTimeout)||_x}}function j$(e,t){let n=e.trace?t.extendedDiagnostics?2:t.diagnostics?1:0:0,r=0!==n?t=>e.trace(t):_x,i=Va(e,n,r);return i.writeLog=r,i}function jQ(e,t,n=e){let r=e.useCaseSensitiveFileNames(),i={getSourceFile:Vp((t,n)=>n?e.readFile(t,n):i.readFile(t),t,void 0),getDefaultLibLocation:_d(e,e.getDefaultLibLocation),getDefaultLibFileName:t=>e.getDefaultLibFileName(t),writeFile:Vf((t,n,r)=>e.writeFile(t,n,r),t=>e.createDirectory(t),t=>e.directoryExists(t)),getCurrentDirectory:_R(()=>e.getCurrentDirectory()),useCaseSensitiveFileNames:()=>r,getCanonicalFileName:_7(r),getNewLine:()=>AJ(t()),fileExists:t=>e.fileExists(t),readFile:t=>e.readFile(t),trace:_d(e,e.trace),directoryExists:_d(n,n.directoryExists),getDirectories:_d(n,n.getDirectories),realpath:_d(e,e.realpath),getEnvironmentVariable:_d(e,e.getEnvironmentVariable)||(()=>""),createHash:_d(e,e.createHash),readDirectory:_d(e,e.readDirectory),storeFilesChangingSignatureDuringEmit:e.storeFilesChangingSignatureDuringEmit};return i}function jZ(e,t){if(t.match(iI)){let e=t.length,n=e;for(let r=e-1;r>=0;r--){let i=t.charCodeAt(r);switch(i){case 10:r&&13===t.charCodeAt(r-1)&&r--;case 13:break;default:if(i<127||!mi(i)){n=r;continue}}let a=t.substring(n,e);if(a.match(iw)){t=t.substring(0,n);break}if(!a.match(iR))break;e=n}}return(e.createHash||pQ)(t)}function j0(e){let t=e.getSourceFile;e.getSourceFile=(...n)=>{let r=t.call(e,...n);return r&&(r.version=jZ(e,r.text)),r}}function j1(e,t){let n=_R(()=>fy(fI(e.getExecutingFilePath())));return{useCaseSensitiveFileNames:()=>e.useCaseSensitiveFileNames,getNewLine:()=>e.newLine,getCurrentDirectory:_R(()=>e.getCurrentDirectory()),getDefaultLibLocation:n,getDefaultLibFileName:e=>fA(n(),mD(e)),fileExists:t=>e.fileExists(t),readFile:(t,n)=>e.readFile(t,n),directoryExists:t=>e.directoryExists(t),getDirectories:t=>e.getDirectories(t),readDirectory:(t,n,r,i,a)=>e.readDirectory(t,n,r,i,a),realpath:_d(e,e.realpath),getEnvironmentVariable:_d(e,e.getEnvironmentVariable),trace:t=>e.write(t+e.newLine),createDirectory:t=>e.createDirectory(t),writeFile:(t,n,r)=>e.writeFile(t,n,r),createHash:_d(e,e.createHash),createProgram:t||jx,storeFilesChangingSignatureDuringEmit:e.storeFilesChangingSignatureDuringEmit,now:_d(e,e.now)}}function j2(e=tv,t,n,r){let i=t=>e.write(t+e.newLine),a=j1(e,t);return _c(a,jY(e,r)),a.afterProgramCreate=e=>{let t=e.getCompilerOptions(),r=AJ(t);jJ(e,n,i,e=>a.onWatchStatusChange(L0(jF(e),e),r,t,e))},a}function j4({configFileName:e,optionsToExtend:t,watchOptionsToExtend:n,extraFileExtensions:r,system:i,createProgram:a,reportDiagnostic:o,reportWatchStatus:s}){let l=o||jw(i),c=j2(i,a,l,s);return c.onUnRecoverableConfigFileDiagnostic=e=>{l(e),i.exit(1)},c.configFileName=e,c.optionsToExtend=t,c.watchOptionsToExtend=n,c.extraFileExtensions=r,c}function j8({rootFiles:e,options:t,watchOptions:n,projectReferences:r,system:i,createProgram:a,reportDiagnostic:o,reportWatchStatus:s}){let l=j2(i,a,o||jw(i),s);return l.rootFiles=e,l.options=t,l.watchOptions=n,l.projectReferences=r,l}function j6(e){let t=e.system||tv,n=e.host||(e.host=j7(e.options,t)),r=j9(e),i=jX(r,e.reportDiagnostic||jw(t),e=>n.trace&&n.trace(e),e.reportErrorSummary||e.options.pretty?(e,r)=>t.write(jB(e,r,t.newLine,n)):void 0);return e.afterProgramEmitAndDiagnostics&&e.afterProgramEmitAndDiagnostics(r),i}var j3=dj({"src/compiler/watch.ts"(){Kr(),at=tv?{getCurrentDirectory:()=>tv.getCurrentDirectory(),getNewLine:()=>tv.newLine,getCanonicalFileName:_7(tv.useCaseSensitiveFileNames)}:void 0,an=[tA.Starting_compilation_in_watch_mode.code,tA.File_change_detected_Starting_incremental_compilation.code],ar={close:_x},ai=()=>ar,aa={ConfigFile:"Config file",ExtendedConfigFile:"Extended config file",SourceFile:"Source file",MissingFile:"Missing file",WildcardDirectory:"Wild card directory",FailedLookupLocations:"Failed Lookup Locations",AffectingFileLocation:"File location affecting resolution",TypeRoots:"Type roots",ConfigFileOfReferencedProject:"Config file of referened project",ExtendedConfigOfReferencedProject:"Extended config file of referenced project",WildcardDirectoryOfReferencedProject:"Wild card directory of referenced project",PackageJson:"package.json file",ClosedScriptInfo:"Closed Script info",ConfigFileForInferredRoot:"Config file for the inferred project root",NodeModules:"node_modules for closed script infos and package.jsons affecting module specifier cache",MissingSourceMapFile:"Missing source map file",NoopConfigFileForInferredRoot:"Noop Config file for the inferred project root",MissingGeneratedFile:"Missing generated file",NodeModulesForModuleSpecifierCache:"node_modules for module specifier cache invalidation"}}});function j5(e,t){let n;let r=UO(e);if(r){if(t.getBuildInfo)n=t.getBuildInfo(r,e.configFilePath);else{let e=t.readFile(r);if(!e)return;n=AW(r,e)}if(n&&n.version===i&&n.program)return jg(n,r,t)}}function j7(e,t=tv){let n=Vm(e,void 0,t);return n.createHash=_d(t,t.createHash),n.storeFilesChangingSignatureDuringEmit=t.storeFilesChangingSignatureDuringEmit,j0(n),Vh(n,e=>fR(e,n.getCurrentDirectory(),n.getCanonicalFileName)),n}function j9({rootNames:e,options:t,configFileParsingDiagnostics:n,projectReferences:r,host:i,createProgram:a}){i=i||j7(t),a=a||jx;let o=j5(t,i);return a(e,t,i,o,n,r)}function He(e,t,n,r,i,a,o,s){return _y(e)?j8({rootFiles:e,options:t,watchOptions:s,projectReferences:o,system:n,createProgram:r,reportDiagnostic:i,reportWatchStatus:a}):j4({configFileName:e,optionsToExtend:t,watchOptionsToExtend:o,extraFileExtensions:s,system:n,createProgram:r,reportDiagnostic:i,reportWatchStatus:a})}function Ht(e){let t,n,r,i,a,o,s,l,c,d,u,_;let p=e.extendedConfigCache,f=!1,m=new Map,h=!1,y=e.useCaseSensitiveFileNames(),g=e.getCurrentDirectory(),{configFileName:v,optionsToExtend:b={},watchOptionsToExtend:E,extraFileExtensions:x,createProgram:S}=e,{rootFiles:A,options:L,watchOptions:C,projectReferences:k}=e,I=!1,w=!1,R=void 0===v?void 0:U3(e,g,y),N=R||e,D=VJ(e,N),O=J();v&&e.configFileParsingResult&&(es(e.configFileParsingResult),O=J()),Z(tA.Starting_compilation_in_watch_mode),v&&!e.configFileParsingResult&&(O=AJ(b),T.assert(!A),eo(),O=J()),T.assert(L),T.assert(A);let{watchFile:M,watchDirectory:P,writeLog:F}=j$(e,L),G=_7(y);F(`Current directory: ${g} CaseSensitiveFileNames: ${y}`),v&&(_=M(v,function(){T.assert(!!v),n=2,er()},2e3,C,aa.ConfigFile));let B=jQ(e,()=>L,N);j0(B);let U=B.getSourceFile;B.getSourceFile=(e,...t)=>$(e,X(e),...t),B.getSourceFileByPath=$,B.getNewLine=()=>O,B.fileExists=function(e){let t=X(e);return!Y(m.get(t))&&N.fileExists(e)},B.onReleaseOldSourceFile=function(e,t,n){let r=m.get(e.resolvedPath);void 0===r||(Y(r)?(c||(c=[])).push(e.path):r.sourceFile!==e||(r.fileWatcher&&r.fileWatcher.close(),m.delete(e.resolvedPath),n||V.removeResolutionsOfFile(e.path)))},B.onReleaseParsedCommandLine=function(e){var t;let n=X(e),r=null==s?void 0:s.get(n);r&&(s.delete(n),r.watchedDirectories&&Ly(r.watchedDirectories,Vs),null==(t=r.watcher)||t.close(),U7(n,l))},B.toPath=X,B.getCompilationSettings=()=>L,B.useSourceOfProjectReferenceRedirect=_d(e,e.useSourceOfProjectReferenceRedirect),B.watchDirectoryOfFailedLookupLocation=(e,t,n)=>P(e,t,n,C,aa.FailedLookupLocations),B.watchAffectingFileLocation=(e,t)=>M(e,t,2e3,C,aa.AffectingFileLocation),B.watchTypeRootsDirectory=(e,t,n)=>P(e,t,n,C,aa.TypeRoots),B.getCachedDirectoryStructureHost=()=>R,B.scheduleInvalidateResolutionsOfFailedLookupLocations=function(){if(!e.setTimeout||!e.clearTimeout)return V.invalidateResolutionsOfFailedLookupLocations();F(`Scheduling invalidateFailedLookup${et()?", Cancelled earlier one":""}`),o=e.setTimeout(en,250)},B.onInvalidatedResolution=er,B.onChangedAutomaticTypeDirectiveNames=er,B.fileIsOpen=_S,B.getCurrentProgram=z,B.writeLog=F,B.getParsedCommandLine=el;let V=jk(B,v?fy(fk(v,g)):g,!1);B.resolveModuleNameLiterals=_d(e,e.resolveModuleNameLiterals),B.resolveModuleNames=_d(e,e.resolveModuleNames),B.resolveModuleNameLiterals||B.resolveModuleNames||(B.resolveModuleNameLiterals=V.resolveModuleNameLiterals.bind(V)),B.resolveTypeReferenceDirectiveReferences=_d(e,e.resolveTypeReferenceDirectiveReferences),B.resolveTypeReferenceDirectives=_d(e,e.resolveTypeReferenceDirectives),B.resolveTypeReferenceDirectiveReferences||B.resolveTypeReferenceDirectives||(B.resolveTypeReferenceDirectiveReferences=V.resolveTypeReferenceDirectiveReferences.bind(V)),B.getModuleResolutionCache=e.resolveModuleNameLiterals||e.resolveModuleNames?_d(e,e.getModuleResolutionCache):()=>V.getModuleResolutionCache();let j=e.resolveModuleNameLiterals||e.resolveTypeReferenceDirectiveReferences||e.resolveModuleNames||e.resolveTypeReferenceDirectives?_d(e,e.hasInvalidatedResolutions)||_A:_S;return t=j5(L,B),q(),ef(),v&&eh(X(v),L,C,aa.ExtendedConfigFile),v?{getCurrentProgram:W,getProgram:ea,close:K}:{getCurrentProgram:W,getProgram:ea,updateRootFileNames:function(e){T.assert(!v,"Cannot update root file names with config file watch mode"),A=e,er()},close:K};function K(){et(),V.clear(),Ly(m,e=>{e&&e.fileWatcher&&(e.fileWatcher.close(),e.fileWatcher=void 0)}),_&&(_.close(),_=void 0),null==p||p.clear(),p=void 0,l&&(Ly(l,Vs),l=void 0),i&&(Ly(i,Vs),i=void 0),r&&(Ly(r,Ll),r=void 0),s&&(Ly(s,e=>{var t;null==(t=e.watcher)||t.close(),e.watcher=void 0,e.watchedDirectories&&Ly(e.watchedDirectories,Vs),e.watchedDirectories=void 0}),s=void 0)}function W(){return t}function z(){return t&&t.getProgramOrUndefined()}function q(){F("Synchronizing program"),T.assert(L),T.assert(A),et();let n=t;h&&(O=J(),n&&vr(n.getCompilerOptions(),L)&&V.clear());let i=V.createHasInvalidatedResolutions(j),{originalReadFile:a,originalFileExists:o,originalDirectoryExists:s,originalCreateDirectory:l,originalWriteFile:d,readFileWithCache:_}=Vh(B,X);return VV(z(),A,L,e=>(function(e,t){let n=m.get(e);if(!n)return;if(n.version)return n.version;let r=t(e);return void 0!==r?jZ(B,r):void 0})(e,_),e=>B.fileExists(e),i,ee,el,k)?w&&(f&&Z(tA.File_change_detected_Starting_incremental_compilation),t=S(void 0,void 0,B,t,u,k),w=!1):(f&&Z(tA.File_change_detected_Starting_incremental_compilation),function(e){F("CreatingProgramWith::"),F(` roots: ${JSON.stringify(A)}`),F(` options: ${JSON.stringify(L)}`),k&&F(` projectReferences: ${JSON.stringify(k)}`);let n=h||!z();h=!1,w=!1,V.startCachingPerDirectoryResolution(),B.hasInvalidatedResolutions=e,B.hasChangedAutomaticTypeDirectiveNames=ee;let i=z();if(t=S(A,L,B,t,u,k),V.finishCachingPerDirectoryResolution(t.getProgram(),i),Vt(t.getProgram(),r||(r=new Map),e_),n&&V.updateTypeRootsWatch(),c){for(let e of c)r.has(e)||m.delete(e);c=void 0}}(i)),f=!1,e.afterProgramCreate&&n!==t&&e.afterProgramCreate(t),B.readFile=a,B.fileExists=o,B.directoryExists=s,B.createDirectory=l,B.writeFile=d,t}function J(){return AJ(L||b)}function X(e){return fR(e,g,G)}function Y(e){return"boolean"==typeof e}function $(e,t,n,r,i){let a=m.get(t);if(!Y(a)){if(void 0===a||i||"boolean"==typeof a.version){let i=U(e,n,r);if(a)i?(a.sourceFile=i,a.version=i.version,a.fileWatcher||(a.fileWatcher=ec(t,e,ed,250,C,aa.SourceFile))):(a.fileWatcher&&a.fileWatcher.close(),m.set(t,!1));else if(i){let n=ec(t,e,ed,250,C,aa.SourceFile);m.set(t,{sourceFile:i,version:i.version,fileWatcher:n})}else m.set(t,!1);return i}return a.sourceFile}}function Q(e){let t=m.get(e);void 0!==t&&(Y(t)?m.set(e,{version:!1}):t.version=!1)}function Z(t){e.onWatchStatusChange&&e.onWatchStatusChange(L0(t),O,L||b)}function ee(){return V.hasChangedAutomaticTypeDirectiveNames()}function et(){return!!o&&(e.clearTimeout(o),o=void 0,!0)}function en(){o=void 0,V.invalidateResolutionsOfFailedLookupLocations()&&er()}function er(){e.setTimeout&&e.clearTimeout&&(a&&e.clearTimeout(a),F("Scheduling update"),a=e.setTimeout(ei,250))}function ei(){a=void 0,f=!0,ea()}function ea(){switch(n){case 1:H.logStartUpdateProgram("PartialConfigReload"),F("Reloading new file names and options"),T.assert(L),T.assert(v),n=0,Pn(A=Ph(L.configFile.configFileSpecs,fk(fy(v),g),L,D,x),fk(v,g),L.configFile.configFileSpecs,u,I)&&(w=!0),q();break;case 2:H.logStartUpdateProgram("FullConfigReload"),T.assert(v),F(`Reloading config file: ${v}`),n=0,R&&R.clearCache(),eo(),h=!0,q(),ef(),eh(X(v),L,C,aa.ExtendedConfigFile);break;default:H.logStartUpdateProgram("SynchronizeProgram"),q()}return H.logStopUpdateProgram("Done"),t}function eo(){T.assert(v),es(MP(v,b,D,p||(p=new Map),E,x))}function es(e){A=e.fileNames,L=e.options,C=e.watchOptions,k=e.projectReferences,d=e.wildcardDirectories,u=Vj(e).slice(),I=Pt(e.raw),w=!0}function el(t){var n,r,i,a,o,l;let c,d;let u=X(t),_=null==s?void 0:s.get(u);if(_){if(!_.reloadLevel)return _.parsedCommandLine;if(_.parsedCommandLine&&1===_.reloadLevel&&!e.getParsedCommandLine){F("Reloading new file names and options"),T.assert(L);let e=Ph(_.parsedCommandLine.options.configFile.configFileSpecs,fk(fy(t),g),L,D);return _.parsedCommandLine={..._.parsedCommandLine,fileNames:e},_.reloadLevel=void 0,_.parsedCommandLine}}F(`Loading config file: ${t}`);let f=e.getParsedCommandLine?e.getParsedCommandLine(t):(c=D.onUnRecoverableConfigFileDiagnostic,D.onUnRecoverableConfigFileDiagnostic=_x,d=MP(t,void 0,D,p||(p=new Map),E),D.onUnRecoverableConfigFileDiagnostic=c,d);return _?(_.parsedCommandLine=f,_.reloadLevel=void 0):(s||(s=new Map)).set(u,_={parsedCommandLine:f}),(n=_).watcher||(n.watcher=M(t,(e,n)=>{eu(t,u,n);let r=null==s?void 0:s.get(u);r&&(r.reloadLevel=2),V.removeResolutionsFromProjectReferenceRedirects(u),er()},2e3,(null==(r=n.parsedCommandLine)?void 0:r.watchOptions)||C,aa.ConfigFileOfReferencedProject)),(null==(i=n.parsedCommandLine)?void 0:i.wildcardDirectories)?Vn(n.watchedDirectories||(n.watchedDirectories=new Map),new Map(Object.entries(null==(a=n.parsedCommandLine)?void 0:a.wildcardDirectories)),(e,r)=>{var i;return P(e,n=>{let r=X(n);R&&R.addOrDeleteFileOrDirectory(n,r),Q(r);let i=null==s?void 0:s.get(u);(null==i?void 0:i.parsedCommandLine)&&(Vr({watchedDirPath:X(e),fileOrDirectory:n,fileOrDirectoryPath:r,configFileName:t,options:i.parsedCommandLine.options,program:i.parsedCommandLine.fileNames,currentDirectory:g,useCaseSensitiveFileNames:y,writeLog:F,toPath:X})||2===i.reloadLevel||(i.reloadLevel=1,er()))},r,(null==(i=n.parsedCommandLine)?void 0:i.watchOptions)||C,aa.WildcardDirectoryOfReferencedProject)}):n.watchedDirectories&&(Ly(n.watchedDirectories,Vs),n.watchedDirectories=void 0),eh(u,null==(o=n.parsedCommandLine)?void 0:o.options,(null==(l=n.parsedCommandLine)?void 0:l.watchOptions)||C,aa.ExtendedConfigOfReferencedProject),f}function ec(e,t,n,r,i,a){return M(t,(t,r)=>n(t,r,e),r,i,a)}function ed(e,t,n){eu(e,n,t),2===t&&m.has(n)&&V.invalidateResolutionOfFile(n),Q(n),er()}function eu(e,t,n){R&&R.addOrDeleteFile(e,t,n)}function e_(e){return(null==s?void 0:s.has(e))?ar:ec(e,e,ep,500,C,aa.MissingFile)}function ep(e,t,n){eu(e,n,t),0===t&&r.has(n)&&(r.get(n).close(),r.delete(n),Q(n),er())}function ef(){d?Vn(i||(i=new Map),new Map(Object.entries(d)),em):i&&Ly(i,Vs)}function em(e,r){return P(e,r=>{T.assert(v),T.assert(L);let i=X(r);R&&R.addOrDeleteFileOrDirectory(r,i),Q(i),Vr({watchedDirPath:X(e),fileOrDirectory:r,fileOrDirectoryPath:i,configFileName:v,extraFileExtensions:x,options:L,program:t||A,currentDirectory:g,useCaseSensitiveFileNames:y,writeLog:F,toPath:X})||2===n||(n=1,er())},r,C,aa.WildcardDirectory)}function eh(e,t,r,i){T.assert(v),U5(e,t,l||(l=new Map),(e,t)=>M(e,(r,i)=>{var a;eu(e,t,i),p&&U9(p,t,X);let o=null==(a=l.get(t))?void 0:a.projects;(null==o?void 0:o.size)&&o.forEach(e=>{if(X(v)===e)n=2;else{let t=null==s?void 0:s.get(e);t&&(t.reloadLevel=2),V.removeResolutionsFromProjectReferenceRedirects(e)}er()})},2e3,r,i),X)}}var Hn=dj({"src/compiler/watchPublic.ts"(){Kr(),Kr()}});function Hr(e){return fu(e,".json")?e:fA(e,"tsconfig.json")}var Hi=dj({"src/compiler/tsbuild.ts"(){var e;Kr(),(e=ao||{})[e.Unbuildable=0]="Unbuildable",e[e.UpToDate=1]="UpToDate",e[e.UpToDateWithUpstreamTypes=2]="UpToDateWithUpstreamTypes",e[e.OutOfDateWithPrepend=3]="OutOfDateWithPrepend",e[e.OutputMissing=4]="OutputMissing",e[e.ErrorReadingFile=5]="ErrorReadingFile",e[e.OutOfDateWithSelf=6]="OutOfDateWithSelf",e[e.OutOfDateWithUpstream=7]="OutOfDateWithUpstream",e[e.OutOfDateBuildInfo=8]="OutOfDateBuildInfo",e[e.OutOfDateOptions=9]="OutOfDateOptions",e[e.OutOfDateRoots=10]="OutOfDateRoots",e[e.UpstreamOutOfDate=11]="UpstreamOutOfDate",e[e.UpstreamBlocked=12]="UpstreamBlocked",e[e.ComputingUpstream=13]="ComputingUpstream",e[e.TsVersionOutputOfDate=14]="TsVersionOutputOfDate",e[e.UpToDateWithInputFileText=15]="UpToDateWithInputFileText",e[e.ContainerOnly=16]="ContainerOnly",e[e.ForceBuild=17]="ForceBuild",ao=e}});function Ha(e,t){let n,r;return(r=e.get(t))||(n=new Map,e.set(t,n)),r||n}function Ho(e){return e.now?e.now():new Date}function Hs(e){return!!e&&!!e.buildOrder}function Hl(e){return Hs(e)?e.buildOrder:e}function Hc(e,t){return n=>{var r;let i=t?`[${"\x1b[90m"+(r=jN(e))+iQ}] `:`${jN(e)} - `;i+=`${VA(n.messageText,e.newLine)}${e.newLine+e.newLine}`,e.write(i)}}function Hd(e,t,n,r){let i=j1(e,t);return i.getModifiedTime=e.getModifiedTime?t=>e.getModifiedTime(t):_L,i.setModifiedTime=e.setModifiedTime?(t,n)=>e.setModifiedTime(t,n):_x,i.deleteFile=e.deleteFile?t=>e.deleteFile(t):_x,i.reportDiagnostic=n||jw(e),i.reportSolutionBuilderStatus=r||Hc(e),i.now=_d(e,e.now),i}function Hu(e=tv,t,n,r,i){let a=Hd(e,t,n,r);return a.reportErrorSummary=i,a}function H_(e=tv,t,n,r,i){let a=Hd(e,t,n,r);return _c(a,jY(e,i)),a}function Hp(e,t,n){return H2(!1,e,t,n)}function Hf(e,t,n,r){return H2(!0,e,t,n,r)}function Hm(e,t){return fR(t,e.compilerHost.getCurrentDirectory(),e.compilerHost.getCanonicalFileName)}function Hh(e,t){let{resolvedConfigFilePaths:n}=e,r=n.get(t);if(void 0!==r)return r;let i=Hm(e,t);return n.set(t,i),i}function Hy(e,t,n){let r,i;let{configFileCache:a}=e,o=a.get(n);if(o)return o.options?o:void 0;pM("SolutionBuilder::beforeConfigFileParsing");let{parseConfigFileHost:s,baseCompilerOptions:l,baseWatchOptions:c,extendedConfigCache:d,host:u}=e;return u.getParsedCommandLine?(i=u.getParsedCommandLine(t))||(r=L0(tA.File_0_not_found,t)):(s.onUnRecoverableConfigFileDiagnostic=e=>r=e,i=MP(t,l,s,d,c),s.onUnRecoverableConfigFileDiagnostic=_x),a.set(n,i||r),pM("SolutionBuilder::afterConfigFileParsing"),pP("SolutionBuilder::Config file parsing","SolutionBuilder::beforeConfigFileParsing","SolutionBuilder::afterConfigFileParsing"),i}function Hg(e,t){return Hr(fL(e.compilerHost.getCurrentDirectory(),t))}function Hv(e,t){let n,r;let i=new Map,a=new Map,s=[];for(let o of t)!function t(o,l){let c=Hh(e,o);if(a.has(c))return;if(i.has(c)){l||(r||(r=[])).push(L0(tA.Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0,s.join("\r\n")));return}i.set(c,!0),s.push(o);let d=Hy(e,o,c);if(d&&d.projectReferences)for(let n of d.projectReferences)t(Hg(e,n.path),l||n.circular);s.pop(),a.set(c,!0),(n||(n=[])).push(o)}(o);return r?{buildOrder:n||o,circularDiagnostics:r}:n||o}function Hb(e){return e.buildOrder||function(e){let t=Hv(e,e.rootNames.map(t=>Hg(e,t)));e.resolvedConfigFilePaths.clear();let n=new Map(Hl(t).map(t=>[Hh(e,t),!0])),r={onDeleteValue:_x};return Lg(e.configFileCache,n,r),Lg(e.projectStatus,n,r),Lg(e.builderPrograms,n,r),Lg(e.diagnostics,n,r),Lg(e.projectPendingBuild,n,r),Lg(e.projectErrorsReported,n,r),Lg(e.buildInfoCache,n,r),Lg(e.outputTimeStamps,n,r),e.watch&&(Lg(e.allWatchedConfigFiles,n,{onDeleteValue:Ll}),e.allWatchedExtendedConfigFiles.forEach(e=>{e.projects.forEach(t=>{n.has(t)||e.projects.delete(t)}),e.close()}),Lg(e.allWatchedWildcardDirectories,n,{onDeleteValue:e=>e.forEach(Vs)}),Lg(e.allWatchedInputFiles,n,{onDeleteValue:e=>e.forEach(Ll)}),Lg(e.allWatchedPackageJsonFiles,n,{onDeleteValue:e=>e.forEach(Ll)})),e.buildOrder=t}(e)}function HE(e,t,n){let r=t&&Hg(e,t),i=Hb(e);if(Hs(i))return i;if(r){let t=Hh(e,r);if(-1===d2(i,n=>Hh(e,n)===t))return}let a=r?Hv(e,[r]):i;return T.assert(!Hs(a)),T.assert(!n||void 0!==r),T.assert(!n||a[a.length-1]===r),n?a.slice(0,a.length-1):a}function HT(e){e.cache&&Hx(e);let{compilerHost:t,host:n}=e,r=e.readFileWithCache,i=t.getSourceFile,{originalReadFile:a,originalFileExists:o,originalDirectoryExists:s,originalCreateDirectory:l,originalWriteFile:c,getSourceFileWithCache:d,readFileWithCache:u}=Vh(n,t=>Hm(e,t),(...e)=>i.call(t,...e));e.readFileWithCache=u,t.getSourceFile=d,e.cache={originalReadFile:a,originalFileExists:o,originalDirectoryExists:s,originalCreateDirectory:l,originalWriteFile:c,originalReadFileWithCache:r,originalGetSourceFile:i}}function Hx(e){if(!e.cache)return;let{cache:t,host:n,compilerHost:r,extendedConfigCache:i,moduleResolutionCache:a,typeReferenceDirectiveResolutionCache:o}=e;n.readFile=t.originalReadFile,n.fileExists=t.originalFileExists,n.directoryExists=t.originalDirectoryExists,n.createDirectory=t.originalCreateDirectory,n.writeFile=t.originalWriteFile,r.getSourceFile=t.originalGetSourceFile,e.readFileWithCache=t.originalReadFileWithCache,i.clear(),null==a||a.clear(),null==o||o.clear(),e.cache=void 0}function HS(e,t){e.projectStatus.delete(t),e.diagnostics.delete(t)}function HA({projectPendingBuild:e},t,n){let r=e.get(t);void 0===r?e.set(t,n):re.projectPendingBuild.set(Hh(e,t),0)),t&&t.throwIfCancellationRequested())}function HC(e,t){return e.projectPendingBuild.delete(t),e.diagnostics.has(t)?1:0}function Hk(e,t,n){if(!e.projectPendingBuild.size||Hs(t))return;let{options:r,projectPendingBuild:i}=e;for(let a=0;as.options,getCurrentDirectory:()=>n.compilerHost.getCurrentDirectory(),getBuilderProgram:()=>f(_C),getProgram:()=>f(e=>e.getProgramOrUndefined()),getSourceFile:e=>f(t=>t.getSourceFile(e)),getSourceFiles:()=>m(e=>e.getSourceFiles()),getOptionsDiagnostics:e=>m(t=>t.getOptionsDiagnostics(e)),getGlobalDiagnostics:e=>m(t=>t.getGlobalDiagnostics(e)),getConfigFileParsingDiagnostics:()=>m(e=>e.getConfigFileParsingDiagnostics()),getSyntacticDiagnostics:(e,t)=>m(n=>n.getSyntacticDiagnostics(e,t)),getAllDependencies:e=>m(t=>t.getAllDependencies(e)),getSemanticDiagnostics:(e,t)=>m(n=>n.getSemanticDiagnostics(e,t)),getSemanticDiagnosticsOfNextAffectedFile:(e,t)=>f(n=>n.getSemanticDiagnosticsOfNextAffectedFile&&n.getSemanticDiagnosticsOfNextAffectedFile(e,t)),emit:(e,t,i,a,o)=>e||a?f(s=>{var l,c;return s.emit(e,t,i,a,o||(null==(c=(l=n.host).getCustomTransformers)?void 0:c.call(l,r)))}):(E(2,i),5===_)?g(t,i):3===_?y(t,i,o):void 0,done:p}:{kind:t,project:r,projectPath:i,buildOrder:l,getCompilerOptions:()=>s.options,getCurrentDirectory:()=>n.compilerHost.getCurrentDirectory(),emit:(e,t)=>4!==_?u:b(e,t),done:p};function p(e,r,a){return E(8,e,r,a),0===t?pM("SolutionBuilder::Projects built"):pM("SolutionBuilder::Bundles updated"),HC(n,i)}function f(e){return E(0),c&&e(c)}function m(e){return f(e)||o}function h(e,t,r){e.length?{buildResult:d,step:_}=HD(n,i,c,s,e,t,r):_++}function y(e,t,a){var o,l,u;let p,f,m;T.assertIsDefined(c),T.assert(3===_);let h=c.saveEmitState(),y=[],{emitResult:g}=jJ(c,e=>(p||(p=[])).push(e),void 0,void 0,(e,t,n,r,i,a)=>y.push({name:e,text:t,writeByteOrderMark:n,data:a}),t,!1,a||(null==(l=(o=n.host).getCustomTransformers)?void 0:l.call(o,r)));if(p)return c.restoreEmitState(h),{buildResult:d,step:_}=HD(n,i,c,s,p,32,"Declaration file"),{emitSkipped:!0,diagnostics:g.diagnostics};let{host:b,compilerHost:E}=n,x=(null==(u=c.hasChangedEmitSignature)?void 0:u.call(c))?0:2,S=Se(),A=new Map,L=c.getCompilerOptions(),C=Cb(L);return y.forEach(({name:t,text:r,writeByteOrderMark:a,data:o})=>{let s=Hm(n,t);A.set(Hm(n,t),t),(null==o?void 0:o.buildInfo)&&HG(n,o.buildInfo,i,L,x);let l=(null==o?void 0:o.differsOnlyInMap)?p0(n.host,t):void 0;SN(e?{writeFile:e}:E,S,t,r,a),(null==o?void 0:o.differsOnlyInMap)?n.host.setModifiedTime(t,l):!C&&n.watch&&(f||(f=HF(n,i))).set(s,m||(m=Ho(n.host)))}),v(S,A,y.length?y[0].name:UX(s,!b.useCaseSensitiveFileNames()),x),g}function g(e,t){T.assertIsDefined(c),T.assert(5===_);let r=c.emitBuildInfo((t,r,a,o,s,l)=>{(null==l?void 0:l.buildInfo)&&HG(n,l.buildInfo,i,c.getCompilerOptions(),2),e?e(t,r,a,o,s,l):n.compilerHost.writeFile(t,r,a,o,s,l)},t);return r.diagnostics.length&&(H3(n,r.diagnostics),n.diagnostics.set(i,[...n.diagnostics.get(i),...r.diagnostics]),d&=64),r.emittedFiles&&n.write&&r.emittedFiles.forEach(e=>HR(n,s,e)),HN(n,c,s),_=7,r}function v(e,t,r,a){let o=e.getDiagnostics();return o.length?{buildResult:d,step:_}=HD(n,i,c,s,o,64,"Emit"):(n.write&&t.forEach(e=>HR(n,s,e)),HH(n,s,i,tA.Updating_unchanged_output_timestamps_of_project_0,t),n.diagnostics.delete(i),n.projectStatus.set(i,{type:1,oldestOutputFileName:r}),HN(n,c,s),_=7,d=a),o}function b(o,c){var p,f,m,h;if(T.assert(1===t),n.options.dry){H8(n,tA.A_non_dry_build_would_update_output_of_project_0,r),d=1,_=7;return}n.options.verbose&&H8(n,tA.Updating_output_of_project_0,r);let{compilerHost:y}=n;n.projectCompilerOptions=s.options,null==(f=(p=n.host).beforeEmitBundle)||f.call(p,s);let g=U0(s,y,e=>{let t=Hg(n,e.path);return Hy(n,t,Hh(n,t))},c||(null==(h=(m=n.host).getCustomTransformers)?void 0:h.call(m,r)));if(_v(g))return H8(n,tA.Cannot_update_output_of_project_0_because_there_was_error_reading_file_1,r,H4(n,g)),_=6,u=e(0,n,r,i,a,s,l);T.assert(!!g.length);let b=Se(),E=new Map,x=2,S=n.buildInfoCache.get(i).buildInfo||void 0;return g.forEach(({name:e,text:t,writeByteOrderMark:r,data:a})=>{var l,c;E.set(Hm(n,e),e),(null==a?void 0:a.buildInfo)&&((null==(l=a.buildInfo.program)?void 0:l.outSignature)!==(null==(c=null==S?void 0:S.program)?void 0:c.outSignature)&&(x&=-3),HG(n,a.buildInfo,i,s.options,x)),SN(o?{writeFile:o}:y,b,e,t,r)}),{emitSkipped:!1,diagnostics:v(b,E,g[0].name,x)}}function E(e,t,o,p){for(;_<=e&&_<8;){let e=_;switch(_){case 0:!function(){var e,t;if(T.assert(void 0===c),n.options.dry){H8(n,tA.A_non_dry_build_would_build_project_0,r),d=1,_=7;return}if(n.options.verbose&&H8(n,tA.Building_project_0,r),0===s.fileNames.length){H5(n,i,Vj(s)),d=0,_=7;return}let{host:a,compilerHost:o}=n;n.projectCompilerOptions=s.options,null==(e=n.moduleResolutionCache)||e.update(s.options),null==(t=n.typeReferenceDirectiveResolutionCache)||t.update(s.options),c=a.createProgram(s.fileNames,s.options,o,function({options:e,builderPrograms:t,compilerHost:n},r,i){if(!e.force)return t.get(r)||j5(i.options,n)}(n,i,s),Vj(s),s.projectReferences),n.watch&&(n.lastCachedPackageJsonLookups.set(i,n.moduleResolutionCache&&un(n.moduleResolutionCache.getPackageJsonInfoCache().entries(),([e,t])=>[n.host.realpath&&t?Hm(n,n.host.realpath(e)):e,t])),n.builderPrograms.set(i,c)),_++}();break;case 1:T.assertIsDefined(c),h([...c.getConfigFileParsingDiagnostics(),...c.getOptionsDiagnostics(t),...c.getGlobalDiagnostics(t),...c.getSyntacticDiagnostics(void 0,t)],8,"Syntactic");break;case 2:h(T.checkDefined(c).getSemanticDiagnostics(void 0,t),16,"Semantic");break;case 3:y(o,t,p);break;case 5:g(o,t);break;case 4:b(o,p);break;case 6:T.checkDefined(u).done(t,o,p),_=8;break;case 7:(function(e,t,n,r,i,a,o){if(!(124&o)&&i.options.composite)for(let i=r+1;ie)}}}(t.kind,e,t.project,t.projectPath,t.projectIndex,t.config,n):(r=t.project,i=t.projectPath,a=t.config,s=!0,{kind:2,project:r,projectPath:i,buildOrder:n,getCompilerOptions:()=>a.options,getCurrentDirectory:()=>e.compilerHost.getCurrentDirectory(),updateOutputFileStatmps:()=>{HK(e,a,i),s=!1},done:()=>(s&&HK(e,a,i),pM("SolutionBuilder::Timestamps only updates"),HC(e,i))})}function Hw(e,t,n){let r=Hk(e,t,n);return r?HI(e,r,t):r}function HR({write:e},t,n){e&&t.options.listEmittedFiles&&e(`TSFILE: ${n}`)}function HN(e,t,n){t?(e.write&&jV(t,e.write),e.host.afterProgramEmitAndDiagnostics&&e.host.afterProgramEmitAndDiagnostics(t),t.releaseProgram()):e.host.afterEmitBundle&&e.host.afterEmitBundle(n),e.projectCompilerOptions=e.baseCompilerOptions}function HD(e,t,n,r,i,a,o){let s=n&&!SL(n.getCompilerOptions());return(H5(e,t,i),e.projectStatus.set(t,{type:0,reason:`${o} errors`}),s)?{buildResult:a,step:5}:(HN(e,n,r),{buildResult:a,step:7})}function HO(e){return!!e.watcher}function HM(e,t){let n=Hm(e,t),r=e.filesWatched.get(n);if(e.watch&&r){if(!HO(r))return r;if(r.modifiedTime)return r.modifiedTime}let i=p0(e.host,t);return e.watch&&(r?r.modifiedTime=i:e.filesWatched.set(n,i)),i}function HP(e,t,n,r,i,a,o){let s=Hm(e,t),l=e.filesWatched.get(s);if(l&&HO(l))l.callbacks.push(n);else{let c=e.watchFile(t,(t,n,r)=>{let i=T.checkDefined(e.filesWatched.get(s));T.assert(HO(i)),i.modifiedTime=r,i.callbacks.forEach(e=>e(t,n,r))},r,i,a,o);e.filesWatched.set(s,{callbacks:[n],watcher:c,modifiedTime:l})}return{close:()=>{let t=T.checkDefined(e.filesWatched.get(s));T.assert(HO(t)),1===t.callbacks.length?(e.filesWatched.delete(s),Vs(t)):_5(t.callbacks,n)}}}function HF(e,t){if(!e.watch)return;let n=e.outputTimeStamps.get(t);return n||e.outputTimeStamps.set(t,n=new Map),n}function HG(e,t,n,r,i){let a=UO(r),o=HB(e,a,n),s=Ho(e.host);o?(o.buildInfo=t,o.modifiedTime=s,2&i||(o.latestChangedDtsTime=s)):e.buildInfoCache.set(n,{path:Hm(e,a),buildInfo:t,modifiedTime:s,latestChangedDtsTime:2&i?void 0:s})}function HB(e,t,n){let r=Hm(e,t),i=e.buildInfoCache.get(n);return(null==i?void 0:i.path)===r?i:void 0}function HU(e,t,n,r){let i=Hm(e,t),a=e.buildInfoCache.get(n);if(void 0!==a&&a.path===i)return a.buildInfo||void 0;let o=e.readFileWithCache(t),s=o?AW(t,o):void 0;return e.buildInfoCache.set(n,{path:i,buildInfo:s||!1,modifiedTime:r||t_}),s}function HV(e,t,n,r){if(ng&&(p=n,g=t),d&&b.add(Hm(e,n))}if(d){for(let e of(u||(u=jv(d,h,m)),u.roots))if(!b.has(e))return{type:10,buildInfoFile:h,inputFile:e}}if(!h){let r=Uq(t,!m.useCaseSensitiveFileNames()),i=HF(e,n);for(let t of r){let n=Hm(e,t),r=null==i?void 0:i.get(n);if(r||(r=p0(e.host,t),null==i||i.set(n,r)),r===t_)return{type:4,missingOutputFileName:t};if(rHV(e,t,y,l))||dz(e.lastCachedPackageJsonLookups.get(n)||o,([t])=>HV(e,t,y,l))||(S&&x?{type:3,outOfDateOutputFileName:l,newerProjectName:_}:{type:x?2:v?15:1,newestInputFileTime:g,newestInputFileName:p,oldestOutputFileName:l})}(e,t,n);return pM("SolutionBuilder::afterUpToDateCheck"),pP("SolutionBuilder::Up-to-date check","SolutionBuilder::beforeUpToDateCheck","SolutionBuilder::afterUpToDateCheck"),e.projectStatus.set(n,a),a}function HH(e,t,n,r,i){let a;if(t.options.noEmit)return;let o=UO(t.options);if(o){(null==i?void 0:i.has(Hm(e,o)))||(e.options.verbose&&H8(e,r,t.options.configFilePath),e.host.setModifiedTime(o,a=Ho(e.host)),HB(e,o,n).modifiedTime=a),e.outputTimeStamps.delete(n);return}let{host:s}=e,l=Uq(t,!s.useCaseSensitiveFileNames()),c=HF(e,n),d=c?new Set:void 0;if(!i||l.length!==i.size){let n=!!e.options.verbose;for(let o of l){let l=Hm(e,o);(null==i||!i.has(l))&&(n&&(n=!1,H8(e,r,t.options.configFilePath)),s.setModifiedTime(o,a||(a=Ho(e.host))),c&&(c.set(l,a),d.add(l)))}}null==c||c.forEach((e,t)=>{(null==i?void 0:i.has(t))||d.has(t)||c.delete(t)})}function HK(e,t,n){if(e.options.dry)return H8(e,tA.A_non_dry_build_would_update_timestamps_for_output_of_project_0,t.options.configFilePath);HH(e,t,n,tA.Updating_output_timestamps_of_project_0),e.projectStatus.set(n,{type:1,oldestOutputFileName:UX(t,!e.host.useCaseSensitiveFileNames())})}function HW(e,t,n,r,i,a){pM("SolutionBuilder::beforeBuild");let o=function(e,t,n,r,i,a){let o=HE(e,t,a);if(!o)return 3;HL(e,n);let s=!0,l=0;for(;;){let t=Hw(e,o,s);if(!t)break;s=!1,t.done(n,r,null==i?void 0:i(t.project)),!e.diagnostics.has(t.projectPath)&&l++}return Hx(e),H9(e,o),function(e,t){if(e.watchAllProjectsPending){for(let n of(pM("SolutionBuilder::beforeWatcherCreation"),e.watchAllProjectsPending=!1,Hl(t))){let t=Hh(e,n),r=Hy(e,n,t);H$(e,n,t,r),HQ(e,t,r),r&&(HZ(e,n,t,r),H0(e,n,t,r),H1(e,n,t,r))}pM("SolutionBuilder::afterWatcherCreation"),pP("SolutionBuilder::Watcher creation","SolutionBuilder::beforeWatcherCreation","SolutionBuilder::afterWatcherCreation")}}(e,o),Hs(o)?4:o.some(t=>e.diagnostics.has(Hh(e,t)))?l?2:1:0}(e,t,n,r,i,a);return pM("SolutionBuilder::afterBuild"),pP("SolutionBuilder::Build","SolutionBuilder::beforeBuild","SolutionBuilder::afterBuild"),o}function Hz(e,t,n){pM("SolutionBuilder::beforeClean");let r=function(e,t,n){let r=HE(e,t,n);if(!r)return 3;if(Hs(r))return H3(e,r.circularDiagnostics),4;let{options:i,host:a}=e,o=i.dry?[]:void 0;for(let t of r){let n=Hh(e,t),r=Hy(e,t,n);if(void 0===r){H7(e,n);continue}let i=Uq(r,!a.useCaseSensitiveFileNames());if(!i.length)continue;let s=new Set(r.fileNames.map(t=>Hm(e,t)));for(let t of i)!s.has(Hm(e,t))&&a.fileExists(t)&&(o?o.push(t):(a.deleteFile(t),Hq(e,n,0)))}return o&&H8(e,tA.A_non_dry_build_would_delete_the_following_files_Colon_0,o.map(e=>`\r + * ${e}`).join("")),0}(e,t,n);return pM("SolutionBuilder::afterClean"),pP("SolutionBuilder::Clean","SolutionBuilder::beforeClean","SolutionBuilder::afterClean"),r}function Hq(e,t,n){e.host.getParsedCommandLine&&1===n&&(n=2),2===n&&(e.configFileCache.delete(t),e.buildOrder=void 0),e.needsSummary=!0,HS(e,t),HA(e,t,n),HT(e)}function HJ(e,t,n){e.reportFileChangeDetected=!0,Hq(e,t,n),HX(e,250,!0)}function HX(e,t,n){let{hostWithWatch:r}=e;r.setTimeout&&r.clearTimeout&&(e.timerToBuildInvalidatedProject&&r.clearTimeout(e.timerToBuildInvalidatedProject),e.timerToBuildInvalidatedProject=r.setTimeout(HY,t,e,n))}function HY(e,t){pM("SolutionBuilder::beforeBuild");let n=function(e,t){e.timerToBuildInvalidatedProject=void 0,e.reportFileChangeDetected&&(e.reportFileChangeDetected=!1,e.projectErrorsReported.clear(),H6(e,tA.File_change_detected_Starting_incremental_compilation));let n=0,r=Hb(e),i=Hw(e,r,!1);if(i)for(i.done(),n++;e.projectPendingBuild.size;){if(e.timerToBuildInvalidatedProject)return;let i=Hk(e,r,!1);if(!i)break;if(2!==i.kind&&(t||5===n)){HX(e,100,!1);return}HI(e,i,r).done(),2!==i.kind&&n++}return Hx(e),r}(e,t);pM("SolutionBuilder::afterBuild"),pP("SolutionBuilder::Build","SolutionBuilder::beforeBuild","SolutionBuilder::afterBuild"),n&&H9(e,n)}function H$(e,t,n,r){!e.watch||e.allWatchedConfigFiles.has(n)||e.allWatchedConfigFiles.set(n,HP(e,t,()=>HJ(e,n,2),2e3,null==r?void 0:r.watchOptions,aa.ConfigFile,t))}function HQ(e,t,n){U5(t,null==n?void 0:n.options,e.allWatchedExtendedConfigFiles,(t,r)=>HP(e,t,()=>{var t;return null==(t=e.allWatchedExtendedConfigFiles.get(r))?void 0:t.projects.forEach(t=>HJ(e,t,2))},2e3,null==n?void 0:n.watchOptions,aa.ExtendedConfigFile),t=>Hm(e,t))}function HZ(e,t,n,r){e.watch&&Vn(Ha(e.allWatchedWildcardDirectories,n),new Map(Object.entries(r.wildcardDirectories)),(i,a)=>e.watchDirectory(i,a=>{var o;let s;Vr({watchedDirPath:Hm(e,i),fileOrDirectory:a,fileOrDirectoryPath:Hm(e,a),configFileName:t,currentDirectory:e.compilerHost.getCurrentDirectory(),options:r.options,program:e.builderPrograms.get(n)||(null==(o=(s=e.configFileCache.get(n))&&s.options?s:void 0)?void 0:o.fileNames),useCaseSensitiveFileNames:e.parseConfigFileHost.useCaseSensitiveFileNames,writeLog:t=>e.writeLog(t),toPath:t=>Hm(e,t)})||HJ(e,n,1)},a,null==r?void 0:r.watchOptions,aa.WildcardDirectory,t))}function H0(e,t,n,r){e.watch&&Lv(Ha(e.allWatchedInputFiles,n),_n(r.fileNames,t=>Hm(e,t)),{createNewValue:(i,a)=>HP(e,a,()=>HJ(e,n,0),250,null==r?void 0:r.watchOptions,aa.SourceFile,t),onDeleteValue:Ll})}function H1(e,t,n,r){e.watch&&e.lastCachedPackageJsonLookups&&Lv(Ha(e.allWatchedPackageJsonFiles,n),new Map(e.lastCachedPackageJsonLookups.get(n)),{createNewValue:(i,a)=>HP(e,i,()=>HJ(e,n,0),2e3,null==r?void 0:r.watchOptions,aa.PackageJson,t),onDeleteValue:Ll})}function H2(e,t,n,r,i){let a=function(e,t,n,r,i){let a,o,s;let l=(s={},rP.forEach(e=>{u4(r,e.name)&&(s[e.name]=r[e.name])}),s),c=jQ(t,()=>p.projectCompilerOptions);j0(c),c.getParsedCommandLine=e=>Hy(p,e,Hh(p,e)),c.resolveModuleNameLiterals=_d(t,t.resolveModuleNameLiterals),c.resolveTypeReferenceDirectiveReferences=_d(t,t.resolveTypeReferenceDirectiveReferences),c.resolveModuleNames=_d(t,t.resolveModuleNames),c.resolveTypeReferenceDirectives=_d(t,t.resolveTypeReferenceDirectives),c.getModuleResolutionCache=_d(t,t.getModuleResolutionCache),c.resolveModuleNameLiterals||c.resolveModuleNames||(a=P2(c.getCurrentDirectory(),c.getCanonicalFileName),c.resolveModuleNameLiterals=(e,n,r,i,o)=>VM(e,n,r,i,o,t,a,VN),c.getModuleResolutionCache=()=>a),c.resolveTypeReferenceDirectiveReferences||c.resolveTypeReferenceDirectives||(o=P4(c.getCurrentDirectory(),c.getCanonicalFileName,void 0,null==a?void 0:a.getPackageJsonInfoCache()),c.resolveTypeReferenceDirectiveReferences=(e,n,r,i,a)=>VM(e,n,r,i,a,t,o,VO)),c.getBuildInfo=(e,t)=>HU(p,e,Hh(p,t),void 0);let{watchFile:d,watchDirectory:u,writeLog:_}=j$(t,r),p={host:t,hostWithWatch:t,parseConfigFileHost:VJ(t),write:_d(t,t.trace),options:r,baseCompilerOptions:l,rootNames:n,baseWatchOptions:i,resolvedConfigFilePaths:new Map,configFileCache:new Map,projectStatus:new Map,extendedConfigCache:new Map,buildInfoCache:new Map,outputTimeStamps:new Map,builderPrograms:new Map,diagnostics:new Map,projectPendingBuild:new Map,projectErrorsReported:new Map,compilerHost:c,moduleResolutionCache:a,typeReferenceDirectiveResolutionCache:o,buildOrder:void 0,readFileWithCache:e=>t.readFile(e),projectCompilerOptions:l,cache:void 0,allProjectBuildPending:!0,needsSummary:!0,watchAllProjectsPending:e,watch:e,allWatchedWildcardDirectories:new Map,allWatchedInputFiles:new Map,allWatchedConfigFiles:new Map,allWatchedExtendedConfigFiles:new Map,allWatchedPackageJsonFiles:new Map,filesWatched:new Map,lastCachedPackageJsonLookups:new Map,timerToBuildInvalidatedProject:void 0,reportFileChangeDetected:!1,watchFile:d,watchDirectory:u,writeLog:_};return p}(e,t,n,r,i);return{build:(e,t,n,r)=>HW(a,e,t,n,r),clean:e=>Hz(a,e),buildReferences:(e,t,n,r)=>HW(a,e,t,n,r,!0),cleanReferences:e=>Hz(a,e,!0),getNextInvalidatedProject:e=>(HL(a,e),Hw(a,Hb(a),!1)),getBuildOrder:()=>Hb(a),getUpToDateStatusOfProject:e=>{let t=Hg(a,e),n=Hh(a,t);return Hj(a,Hy(a,t,n),n)},invalidateProject:(e,t)=>Hq(a,e,t||0),close:()=>{Ly(a.allWatchedConfigFiles,Ll),Ly(a.allWatchedExtendedConfigFiles,Vs),Ly(a.allWatchedWildcardDirectories,e=>Ly(e,Vs)),Ly(a.allWatchedInputFiles,e=>Ly(e,Ll)),Ly(a.allWatchedPackageJsonFiles,e=>Ly(e,Ll))}}}function H4(e,t){return fK(t,e.compilerHost.getCurrentDirectory(),e.compilerHost.getCanonicalFileName)}function H8(e,t,...n){e.host.reportSolutionBuilderStatus(L0(t,...n))}function H6(e,t,...n){var r,i;null==(i=(r=e.hostWithWatch).onWatchStatusChange)||i.call(r,L0(t,...n),e.host.getNewLine(),e.baseCompilerOptions)}function H3({host:e},t){t.forEach(t=>e.reportDiagnostic(t))}function H5(e,t,n){H3(e,n),e.projectErrorsReported.set(t,!0),n.length&&e.diagnostics.set(t,n)}function H7(e,t){H5(e,t,[e.configFileCache.get(t)])}function H9(e,t){if(!e.needsSummary)return;e.needsSummary=!1;let n=e.watch||!!e.host.reportErrorSummary,{diagnostics:r}=e,i=0,a=[];Hs(t)?(Ke(e,t.buildOrder),H3(e,t.circularDiagnostics),n&&(i+=jM(t.circularDiagnostics)),n&&(a=[...a,...jP(t.circularDiagnostics)])):(t.forEach(t=>{let n=Hh(e,t);e.projectErrorsReported.has(n)||H3(e,r.get(n)||o)}),n&&r.forEach(e=>i+=jM(e)),n&&r.forEach(e=>[...a,...jP(e)])),e.watch?H6(e,jF(i),i):e.host.reportErrorSummary&&e.host.reportErrorSummary(i,a)}function Ke(e,t){e.options.verbose&&H8(e,tA.Projects_in_this_build_Colon_0,t.map(t=>"\r\n * "+H4(e,t)).join(""))}function Kt(e,t,n){e.options.verbose&&function(e,t,n){switch(n.type){case 6:return H8(e,tA.Project_0_is_out_of_date_because_output_1_is_older_than_input_2,H4(e,t),H4(e,n.outOfDateOutputFileName),H4(e,n.newerInputFileName));case 7:return H8(e,tA.Project_0_is_out_of_date_because_output_1_is_older_than_input_2,H4(e,t),H4(e,n.outOfDateOutputFileName),H4(e,n.newerProjectName));case 4:return H8(e,tA.Project_0_is_out_of_date_because_output_file_1_does_not_exist,H4(e,t),H4(e,n.missingOutputFileName));case 5:return H8(e,tA.Project_0_is_out_of_date_because_there_was_error_reading_file_1,H4(e,t),H4(e,n.fileName));case 8:return H8(e,tA.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitted,H4(e,t),H4(e,n.buildInfoFile));case 9:return H8(e,tA.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions,H4(e,t),H4(e,n.buildInfoFile));case 10:return H8(e,tA.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_but_not_any_more,H4(e,t),H4(e,n.buildInfoFile),H4(e,n.inputFile));case 1:if(void 0!==n.newestInputFileTime)return H8(e,tA.Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2,H4(e,t),H4(e,n.newestInputFileName||""),H4(e,n.oldestOutputFileName||""));break;case 3:return H8(e,tA.Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed,H4(e,t),H4(e,n.newerProjectName));case 2:return H8(e,tA.Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies,H4(e,t));case 15:return H8(e,tA.Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_files,H4(e,t));case 11:return H8(e,tA.Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date,H4(e,t),H4(e,n.upstreamProjectName));case 12:return H8(e,n.upstreamProjectBlocked?tA.Project_0_can_t_be_built_because_its_dependency_1_was_not_built:tA.Project_0_can_t_be_built_because_its_dependency_1_has_errors,H4(e,t),H4(e,n.upstreamProjectName));case 0:return H8(e,tA.Failed_to_parse_file_0_Colon_1,H4(e,t),n.reason);case 14:return H8(e,tA.Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2,H4(e,t),n.version,i);case 17:return H8(e,tA.Project_0_is_being_forcibly_rebuilt,H4(e,t))}}(e,t,n)}var Kn=dj({"src/compiler/tsbuildPublic.ts"(){var e;Kr(),Kr(),pJ(),as=new Date(-864e13),al=new Date(864e13),(e=ac||{})[e.Build=0]="Build",e[e.UpdateBundle=1]="UpdateBundle",e[e.UpdateOutputFileStamps=2]="UpdateOutputFileStamps",ac=e}}),Kr=dj({"src/compiler/_namespaces/ts.ts"(){dK(),pv(),pb(),pk(),pR(),pN(),pX(),p$(),fn(),fX(),f$(),mw(),g7(),k4(),k6(),k5(),k9(),Iy(),I8(),we(),DM(),OU(),OK(),Mv(),PA(),FH(),F$(),FZ(),GI(),GU(),G4(),BT(),Bw(),BO(),BP(),BG(),BU(),Bj(),BK(),Bq(),BX(),B$(),BZ(),B1(),B4(),B6(),B5(),Ue(),Un(),Ui(),Uo(),Ul(),Ud(),U_(),Uh(),Ux(),UR(),U6(),Vl(),V0(),V1(),V4(),jE(),jA(),jI(),j3(),Hn(),Hi(),Kn(),Gy(),pJ()}});function Ki(e,t){return 0>=new w(u8(t,`ts${r}`)||u8(t,"latest")).compareTo(e.version)}function Ka(e){return ap.has(e)?"node":e}function Ko(e,t){let n=MF(t,t=>e.readFile(t));return new Map(Object.entries(n.config))}function Ks(e,t){var n;let r=MF(t,t=>e.readFile(t));if(null==(n=r.config)?void 0:n.simpleMap)return new Map(Object.entries(r.config.simpleMap))}function Kl(e,t,n,r,i,a,o,s,l,c){var d;let u;if(!o||!o.enable)return{cachedTypingPaths:[],newTypingNames:[],filesToWatch:[]};let _=new Map;n=uu(n,e=>{let t=fI(e);if(CY(t))return t});let p=[];o.include&&v(o.include,"Explicitly included types");let f=o.exclude||[];if(!c.types){let e=new Set(n.map(fy));e.add(r),e.forEach(e=>{b(e,"bower.json","bower_components",p),b(e,"package.json","node_modules",p)})}for(let e of(o.disableFilenameBasedTypeAcquisition||((u=uu(d=n,e=>{if(!CY(e))return;let t=_4(C4(_I(fg(e))));return i.get(t)})).length&&v(u,"Inferred typings from file names"),uv(d,e=>fu(e,".jsx"))&&(t&&t("Inferred 'react' typings due to presence of '.jsx' extension"),g("react"))),s&&v(uS(s.map(Ka),_G,_W),"Inferred typings from unresolved imports"),a.forEach((e,t)=>{let n=l.get(t);_.has(t)&&void 0===_.get(t)&&void 0!==n&&Ki(e,n)&&_.set(t,e.typingLocation)}),f))_.delete(e)&&t&&t(`Typing for ${e} is in exclude list, will be ignored.`);let m=[],h=[];_.forEach((e,t)=>{void 0!==e?h.push(e):m.push(t)});let y={cachedTypingPaths:h,newTypingNames:m,filesToWatch:p};return t&&t(`Result: ${JSON.stringify(y)}`),y;function g(e){_.has(e)||_.set(e,void 0)}function v(e,n){t&&t(`${n}: ${JSON.stringify(e)}`),dz(e,g)}function b(n,r,i,a){let o,s;let l=fA(n,r);e.fileExists(l)&&(a.push(l),v(s=uo([(o=MF(l,t=>e.readFile(t)).config).dependencies,o.devDependencies,o.optionalDependencies,o.peerDependencies],u6),`Typing names in '${l}' dependencies`));let c=fA(n,i);if(a.push(c),!e.directoryExists(c))return;let d=[],u=s?s.map(e=>fA(c,e,r)):e.readDirectory(c,[".json"],void 0,void 0,3).filter(e=>{if(fg(e)!==r)return!1;let t=fE(fI(e)),n="@"===t[t.length-3][0];return n&&_I(t[t.length-4])===i||!n&&_I(t[t.length-3])===i});for(let n of(t&&t(`Searching for typing names in ${c}; all files: ${JSON.stringify(u)}`),u)){let r=fI(n),i=MF(r,t=>e.readFile(t)).config;if(!i.name)continue;let a=i.types||i.typings;if(a){let n=fk(a,fy(r));e.fileExists(n)?(t&&t(` Package '${i.name}' provides its own types.`),_.set(i.name,n)):t&&t(` Package '${i.name}' provides its own types but they are missing.`)}else d.push(i.name)}v(d," Found package names")}}function Kc(e){return function e(t,n){if(!t)return 1;if(t.length>am)return 2;if(46===t.charCodeAt(0))return 3;if(95===t.charCodeAt(0))return 4;if(n){let n=/^@([^/]+)\/([^/]+)$/.exec(t);if(n){let t=e(n[1],!1);if(0!==t)return{name:n[1],isScopeName:!0,result:t};let r=e(n[2],!1);return 0!==r?{name:n[2],isScopeName:!1,result:r}:0}}return encodeURIComponent(t)!==t?5:0}(e,!0)}function Kd(e,t){return"object"==typeof e?Ku(t,e.result,e.name,e.isScopeName):Ku(t,e,t,!1)}function Ku(e,t,n,r){let i=r?"Scope":"Package";switch(t){case 1:return`'${e}':: ${i} name '${n}' cannot be empty`;case 2:return`'${e}':: ${i} name '${n}' should be less than ${am} characters`;case 3:return`'${e}':: ${i} name '${n}' cannot start with '.'`;case 4:return`'${e}':: ${i} name '${n}' cannot start with '_'`;case 5:return`'${e}':: ${i} name '${n}' contains non URI safe characters`;case 0:return T.fail();default:throw T.assertNever(t)}}var K_=dj({"src/jsTyping/jsTyping.ts"(){var e;KT(),au=(ad=["assert","assert/strict","async_hooks","buffer","child_process","cluster","console","constants","crypto","dgram","diagnostics_channel","dns","dns/promises","domain","events","fs","fs/promises","http","https","http2","inspector","module","net","os","path","perf_hooks","process","punycode","querystring","readline","repl","stream","stream/promises","string_decoder","timers","timers/promises","tls","trace_events","tty","url","util","util/types","v8","vm","wasi","worker_threads","zlib"]).map(e=>`node:${e}`),a_=[...ad,...au],ap=new Set(a_),(e=af||{})[e.Ok=0]="Ok",e[e.EmptyName=1]="EmptyName",e[e.NameTooLong=2]="NameTooLong",e[e.NameStartsWithDot=3]="NameStartsWithDot",e[e.NameStartsWithUnderscore=4]="NameStartsWithUnderscore",e[e.NameContainsNonURISafeCharacters=5]="NameContainsNonURISafeCharacters",af=e,am=214}}),Kp={};dH(Kp,{NameValidationResult:()=>af,discoverTypings:()=>Kl,isTypingUpToDate:()=>Ki,loadSafeList:()=>Ko,loadTypesMap:()=>Ks,nodeCoreModuleList:()=>a_,nodeCoreModules:()=>ap,nonRelativeModuleNameForTypingCache:()=>Ka,prefixedNodeCoreModuleList:()=>au,renderPackageNameValidationFailure:()=>Kd,validatePackageName:()=>Kc});var Kf=dj({"src/jsTyping/_namespaces/ts.JsTyping.ts"(){K_()}});function Km(e){return tv.args.indexOf(e)>=0}function Kh(e){let t=tv.args.indexOf(e);return t>=0&&tay,ActionPackageInstalled:()=>ag,ActionSet:()=>ah,Arguments:()=>ax,EventBeginInstallTypes:()=>ab,EventEndInstallTypes:()=>aE,EventInitializationFailed:()=>aT,EventTypesRegistry:()=>av,findArgument:()=>Kh,hasArgument:()=>Km,nowString:()=>Ky});var KE=dj({"src/jsTyping/_namespaces/ts.server.ts"(){Kg(),Kv()}}),KT=dj({"src/jsTyping/_namespaces/ts.ts"(){Kr(),Kf(),KE()}});function Kx(e){return{indentSize:4,tabSize:4,newLineCharacter:e||"\n",convertTabsToSpaces:!0,indentStyle:2,insertSpaceAfterConstructor:!1,insertSpaceAfterCommaDelimiter:!0,insertSpaceAfterSemicolonInForStatements:!0,insertSpaceBeforeAndAfterBinaryOperators:!0,insertSpaceAfterKeywordsInControlFlowStatements:!0,insertSpaceAfterFunctionKeywordForAnonymousFunctions:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces:!0,insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces:!1,insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces:!1,insertSpaceBeforeFunctionParenthesis:!1,placeOpenBraceOnNewLineForFunctions:!1,placeOpenBraceOnNewLineForControlBlocks:!1,semicolons:"ignore",trimTrailingWhitespace:!0}}var KS=dj({"src/services/types.ts"(){var e,t,n,r,i,a,o,s,l,c,d,u,_,p,f,m,h,y,g,v;(e=>{class t{constructor(e){this.text=e}getText(e,t){return 0===e&&t===this.text.length?this.text:this.text.substring(e,t)}getLength(){return this.text.length}getChangeRange(){}}e.fromString=function(e){return new t(e)}})(aS||(aS={})),(e=aA||{})[e.Dependencies=1]="Dependencies",e[e.DevDependencies=2]="DevDependencies",e[e.PeerDependencies=4]="PeerDependencies",e[e.OptionalDependencies=8]="OptionalDependencies",e[e.All=15]="All",aA=e,(t=aL||{})[t.Off=0]="Off",t[t.On=1]="On",t[t.Auto=2]="Auto",aL=t,(n=aC||{})[n.Semantic=0]="Semantic",n[n.PartialSemantic=1]="PartialSemantic",n[n.Syntactic=2]="Syntactic",aC=n,ak={},(r=aI||{}).Original="original",r.TwentyTwenty="2020",aI=r,(i=aw||{}).All="All",i.SortAndCombine="SortAndCombine",i.RemoveUnused="RemoveUnused",aw=i,(a=aR||{})[a.Invoked=1]="Invoked",a[a.TriggerCharacter=2]="TriggerCharacter",a[a.TriggerForIncompleteCompletions=3]="TriggerForIncompleteCompletions",aR=a,(o=aN||{}).Type="Type",o.Parameter="Parameter",o.Enum="Enum",aN=o,(s=aD||{}).none="none",s.definition="definition",s.reference="reference",s.writtenReference="writtenReference",aD=s,(l=aO||{})[l.None=0]="None",l[l.Block=1]="Block",l[l.Smart=2]="Smart",aO=l,(c=aM||{}).Ignore="ignore",c.Insert="insert",c.Remove="remove",aM=c,aP=Kx("\n"),(d=aF||{})[d.aliasName=0]="aliasName",d[d.className=1]="className",d[d.enumName=2]="enumName",d[d.fieldName=3]="fieldName",d[d.interfaceName=4]="interfaceName",d[d.keyword=5]="keyword",d[d.lineBreak=6]="lineBreak",d[d.numericLiteral=7]="numericLiteral",d[d.stringLiteral=8]="stringLiteral",d[d.localName=9]="localName",d[d.methodName=10]="methodName",d[d.moduleName=11]="moduleName",d[d.operator=12]="operator",d[d.parameterName=13]="parameterName",d[d.propertyName=14]="propertyName",d[d.punctuation=15]="punctuation",d[d.space=16]="space",d[d.text=17]="text",d[d.typeParameterName=18]="typeParameterName",d[d.enumMemberName=19]="enumMemberName",d[d.functionName=20]="functionName",d[d.regularExpressionLiteral=21]="regularExpressionLiteral",d[d.link=22]="link",d[d.linkName=23]="linkName",d[d.linkText=24]="linkText",aF=d,(u=aG||{})[u.None=0]="None",u[u.MayIncludeAutoImports=1]="MayIncludeAutoImports",u[u.IsImportStatementCompletion=2]="IsImportStatementCompletion",u[u.IsContinuation=4]="IsContinuation",u[u.ResolvedModuleSpecifiers=8]="ResolvedModuleSpecifiers",u[u.ResolvedModuleSpecifiersBeyondLimit=16]="ResolvedModuleSpecifiersBeyondLimit",u[u.MayIncludeMethodSnippets=32]="MayIncludeMethodSnippets",aG=u,(_=aB||{}).Comment="comment",_.Region="region",_.Code="code",_.Imports="imports",aB=_,(p=aU||{})[p.JavaScript=0]="JavaScript",p[p.SourceMap=1]="SourceMap",p[p.Declaration=2]="Declaration",aU=p,(f=aV||{})[f.None=0]="None",f[f.InMultiLineCommentTrivia=1]="InMultiLineCommentTrivia",f[f.InSingleQuoteStringLiteral=2]="InSingleQuoteStringLiteral",f[f.InDoubleQuoteStringLiteral=3]="InDoubleQuoteStringLiteral",f[f.InTemplateHeadOrNoSubstitutionTemplate=4]="InTemplateHeadOrNoSubstitutionTemplate",f[f.InTemplateMiddleOrTail=5]="InTemplateMiddleOrTail",f[f.InTemplateSubstitutionPosition=6]="InTemplateSubstitutionPosition",aV=f,(m=aj||{})[m.Punctuation=0]="Punctuation",m[m.Keyword=1]="Keyword",m[m.Operator=2]="Operator",m[m.Comment=3]="Comment",m[m.Whitespace=4]="Whitespace",m[m.Identifier=5]="Identifier",m[m.NumberLiteral=6]="NumberLiteral",m[m.BigIntLiteral=7]="BigIntLiteral",m[m.StringLiteral=8]="StringLiteral",m[m.RegExpLiteral=9]="RegExpLiteral",aj=m,(h=aH||{}).unknown="",h.warning="warning",h.keyword="keyword",h.scriptElement="script",h.moduleElement="module",h.classElement="class",h.localClassElement="local class",h.interfaceElement="interface",h.typeElement="type",h.enumElement="enum",h.enumMemberElement="enum member",h.variableElement="var",h.localVariableElement="local var",h.functionElement="function",h.localFunctionElement="local function",h.memberFunctionElement="method",h.memberGetAccessorElement="getter",h.memberSetAccessorElement="setter",h.memberVariableElement="property",h.memberAccessorVariableElement="accessor",h.constructorImplementationElement="constructor",h.callSignatureElement="call",h.indexSignatureElement="index",h.constructSignatureElement="construct",h.parameterElement="parameter",h.typeParameterElement="type parameter",h.primitiveType="primitive type",h.label="label",h.alias="alias",h.constElement="const",h.letElement="let",h.directory="directory",h.externalModuleName="external module name",h.jsxAttribute="JSX attribute",h.string="string",h.link="link",h.linkName="link name",h.linkText="link text",aH=h,(y=aK||{}).none="",y.publicMemberModifier="public",y.privateMemberModifier="private",y.protectedMemberModifier="protected",y.exportedModifier="export",y.ambientModifier="declare",y.staticModifier="static",y.abstractModifier="abstract",y.optionalModifier="optional",y.deprecatedModifier="deprecated",y.dtsModifier=".d.ts",y.tsModifier=".ts",y.tsxModifier=".tsx",y.jsModifier=".js",y.jsxModifier=".jsx",y.jsonModifier=".json",y.dmtsModifier=".d.mts",y.mtsModifier=".mts",y.mjsModifier=".mjs",y.dctsModifier=".d.cts",y.ctsModifier=".cts",y.cjsModifier=".cjs",aK=y,(g=aW||{}).comment="comment",g.identifier="identifier",g.keyword="keyword",g.numericLiteral="number",g.bigintLiteral="bigint",g.operator="operator",g.stringLiteral="string",g.whiteSpace="whitespace",g.text="text",g.punctuation="punctuation",g.className="class name",g.enumName="enum name",g.interfaceName="interface name",g.moduleName="module name",g.typeParameterName="type parameter name",g.typeAliasName="type alias name",g.parameterName="parameter name",g.docCommentTagName="doc comment tag name",g.jsxOpenTagName="jsx open tag name",g.jsxCloseTagName="jsx close tag name",g.jsxSelfClosingTagName="jsx self closing tag name",g.jsxAttribute="jsx attribute",g.jsxText="jsx text",g.jsxAttributeStringLiteralValue="jsx attribute string literal value",aW=g,(v=az||{})[v.comment=1]="comment",v[v.identifier=2]="identifier",v[v.keyword=3]="keyword",v[v.numericLiteral=4]="numericLiteral",v[v.operator=5]="operator",v[v.stringLiteral=6]="stringLiteral",v[v.regularExpressionLiteral=7]="regularExpressionLiteral",v[v.whiteSpace=8]="whiteSpace",v[v.text=9]="text",v[v.punctuation=10]="punctuation",v[v.className=11]="className",v[v.enumName=12]="enumName",v[v.interfaceName=13]="interfaceName",v[v.moduleName=14]="moduleName",v[v.typeParameterName=15]="typeParameterName",v[v.typeAliasName=16]="typeAliasName",v[v.parameterName=17]="parameterName",v[v.docCommentTagName=18]="docCommentTagName",v[v.jsxOpenTagName=19]="jsxOpenTagName",v[v.jsxCloseTagName=20]="jsxCloseTagName",v[v.jsxSelfClosingTagName=21]="jsxSelfClosingTagName",v[v.jsxAttribute=22]="jsxAttribute",v[v.jsxText=23]="jsxText",v[v.jsxAttributeStringLiteralValue=24]="jsxAttributeStringLiteralValue",v[v.bigintLiteral=25]="bigintLiteral",az=v}});function KA(e){switch(e.kind){case 257:return EZ(e)&&hG(e)?7:1;case 166:case 205:case 169:case 168:case 299:case 300:case 171:case 170:case 173:case 174:case 175:case 259:case 215:case 216:case 295:case 288:return 1;case 165:case 261:case 262:case 184:return 2;case 349:return void 0===e.name?3:2;case 302:case 260:return 3;case 264:if(v7(e)||1===FK(e))return 5;return 4;case 263:case 272:case 273:case 268:case 269:case 274:case 275:break;case 308:return 5}return 7}function KL(e){var t,n;let r=(e=Wm(e)).parent;if(308===e.kind)return 1;if(NS(r)||NC(r)||ND(r)||Nx(r)||Nh(r)||Nf(r)&&e===r.name)return 7;if(KC(e)){let t;return(t=163===(n=e).kind?n:wM(n.parent)&&n.parent.right===n?n.parent:void 0)&&268===t.parent.kind?7:4}return xs(e)?KA(r):yO(e)&&m9(e,ps(N8,g6,N6))?7:!function(e){switch(AM(e)&&(e=e.parent),e.kind){case 108:return!EH(e);case 194:return!0}switch(e.parent.kind){case 180:return!0;case 202:return!e.parent.isTypeOf;case 230:return b4(e.parent)}return!1}(e)?function(e){let t=e,n=!0;if(163===t.parent.kind){for(;t.parent&&163===t.parent.kind;)t=t.parent;n=t.right===e}return 180===t.parent.kind&&!n}(t=e)||function(e){let t=e,n=!0;if(208===t.parent.kind){for(;t.parent&&208===t.parent.kind;)t=t.parent;n=t.name===e}if(!n&&230===t.parent.kind&&294===t.parent.parent.kind){let e=t.parent.parent.parent;return 260===e.kind&&117===t.parent.parent.token||261===e.kind&&94===t.parent.parent.token}return!1}(t)?4:wF(r)?(T.assert(DC(r.parent)),2):Rs(r)?3:1:2}function KC(e){for(;163===e.parent.kind;)e=e.parent;return EY(e.parent)&&e.parent.moduleReference===e}function Kk(e,t=!1,n=!1){return KF(e,Rg,KO,t,n)}function KI(e,t=!1,n=!1){return KF(e,Rv,KO,t,n)}function Kw(e,t=!1,n=!1){return KF(e,ga,KO,t,n)}function KR(e,t=!1,n=!1){return KF(e,Rb,KM,t,n)}function KN(e,t=!1,n=!1){return KF(e,wB,KO,t,n)}function KD(e,t=!1,n=!1){return KF(e,gK,KP,t,n)}function KO(e){return e.expression}function KM(e){return e.tag}function KP(e){return e.tagName}function KF(e,t,n,r,i){let a=r?KB(e):KG(e);return i&&(a=D3(a)),!!a&&!!a.parent&&t(a.parent)&&n(a.parent)===a}function KG(e){return Kq(e)?e.parent:e}function KB(e){return Kq(e)||KJ(e)?e.parent:e}function KU(e,t){for(;e;){if(253===e.kind&&e.label.escapedText===t)return e.label;e=e.parent}}function KV(e,t){return!!Rh(e.expression)&&e.expression.name.text===t}function Kj(e){var t;return wb(e)&&(null==(t=_E(e.parent,yi))?void 0:t.label)===e}function KH(e){var t;return wb(e)&&(null==(t=_E(e.parent,R9))?void 0:t.label)===e}function KK(e){return KH(e)||Kj(e)}function KW(e){var t;return(null==(t=_E(e.parent,gJ))?void 0:t.tagName)===e}function Kz(e){var t;return(null==(t=_E(e.parent,wM))?void 0:t.right)===e}function Kq(e){var t;return(null==(t=_E(e.parent,Rh))?void 0:t.name)===e}function KJ(e){var t;return(null==(t=_E(e.parent,Ry))?void 0:t.argumentExpression)===e}function KX(e){var t;return(null==(t=_E(e.parent,Nd))?void 0:t.name)===e}function KY(e){var t;return wb(e)&&(null==(t=_E(e.parent,yF))?void 0:t.name)===e}function K$(e){switch(e.parent.kind){case 169:case 168:case 299:case 302:case 171:case 170:case 174:case 175:case 264:return hp(e.parent)===e;case 209:return e.parent.argumentExpression===e;case 164:return!0;case 198:return 196===e.parent.parent.kind;default:return!1}}function KQ(e){return Eq(e.parent.parent)&&EJ(e.parent.parent)===e}function KZ(e){for(TB(e)&&(e=e.parent.parent);;){if(!(e=e.parent))return;switch(e.kind){case 308:case 171:case 170:case 259:case 215:case 174:case 175:case 260:case 261:case 263:case 264:return e}}}function K0(e){switch(e.kind){case 308:return Md(e)?"module":"script";case 264:return"module";case 260:case 228:return"class";case 261:return"interface";case 262:case 341:case 349:return"type";case 263:return"enum";case 257:return o(e);case 205:return o(xZ(e));case 216:case 259:case 215:return"function";case 174:return"getter";case 175:return"setter";case 171:case 170:return"method";case 299:let{initializer:t}=e;return yF(t)?"method":"property";case 169:case 168:case 300:case 301:return"property";case 178:return"index";case 177:return"construct";case 176:return"call";case 173:case 172:return"constructor";case 165:return"type parameter";case 302:return"enum member";case 166:return S3(e,16476)?"property":"parameter";case 268:case 273:case 278:case 271:case 277:return"alias";case 223:let n=Tf(e),{right:r}=e;switch(n){case 7:case 8:case 9:case 0:default:return"";case 1:case 2:let i=K0(r);return""===i?"const":i;case 3:case 5:return Rx(r)?"method":"property";case 4:return"property";case 6:return"local class"}case 79:return Nh(e.parent)?"alias":"";case 274:let a=K0(e.expression);return""===a?"const":a;default:return""}function o(e){return bK(e)?"const":bW(e)?"let":"var"}}function K1(e){switch(e.kind){case 108:return!0;case 79:return SH(e)&&166===e.parent.kind;default:return!1}}function K2(e,t){return f5(t)[t.getLineAndCharacterOfPosition(e).line]}function K4(e,t){return K5(e.pos,e.end,t)}function K8(e,t){return K3(e,t.pos)&&K3(e,t.end)}function K6(e,t){return e.pos<=t&&t<=e.end}function K3(e,t){return e.pos=n.end}function K7(e,t,n){return e.pos<=t&&e.end>=n}function K9(e,t,n){return Wt(e.pos,e.end,t,n)}function We(e,t,n,r){return Wt(e.getStart(t),e.end,n,r)}function Wt(e,t,n,r){return Math.max(e,n)e.kind===t)}function Ws(e){let t=d0(e.parent.getChildren(),t=>DO(t)&&K4(t,e));return T.assert(!t||d6(t.getChildren(),e)),t}function Wl(e){return 88===e.kind}function Wc(e){return 84===e.kind}function Wd(e){return 98===e.kind}function Wu(e,t){let n;if(8388608&e.flags)return;let r=qv(e,t);if(r)return r;let i=(m9(e,e=>(y0(e)&&(n=e),!wM(e.parent)&&!y0(e.parent)&&!y$(e.parent))),n);return i&&t.getTypeAtLocation(i)}function W_(e,t){if(e.importClause){if(e.importClause.name&&e.importClause.namedBindings)return;if(e.importClause.name)return e.importClause.name;if(e.importClause.namedBindings){if(NT(e.importClause.namedBindings)){let t=uY(e.importClause.namedBindings.elements);if(!t)return;return t.name}if(Nb(e.importClause.namedBindings))return e.importClause.namedBindings.name}}if(!t)return e.moduleSpecifier}function Wp(e,t){if(e.exportClause){if(NL(e.exportClause)){if(!uY(e.exportClause.elements))return;return e.exportClause.elements[0].name}if(NE(e.exportClause))return e.exportClause.name}if(!t)return e.moduleSpecifier}function Wf(e,t){let{parent:n}=e;if(yD(e)&&(t||88!==e.kind)?Oj(n)&&d6(n.modifiers,e):84===e.kind?No(n)||RP(e):98===e.kind?Na(n)||Rx(e):118===e.kind?Ns(n):92===e.kind?Nc(n):154===e.kind?Nl(n):143===e.kind||142===e.kind?Nd(n):100===e.kind?Nf(n):137===e.kind?wz(n):151===e.kind&&wq(n)){let e=function(e,t){if(!t)switch(e.kind){case 260:case 228:return function(e){if(hu(e))return e.name;if(No(e)){let t=e.modifiers&&d0(e.modifiers,Wl);if(t)return t}if(RP(e)){let t=d0(e.getChildren(),Wc);if(t)return t}}(e);case 259:case 215:return function(e){if(hu(e))return e.name;if(Na(e)){let t=d0(e.modifiers,Wl);if(t)return t}if(Rx(e)){let t=d0(e.getChildren(),Wd);if(t)return t}}(e);case 173:return e}if(hu(e))return e.name}(n,t);if(e)return e}if((113===e.kind||85===e.kind||119===e.kind)&&Ni(n)&&1===n.declarations.length){let e=n.declarations[0];if(wb(e.name))return e.name}if(154===e.kind){if(Nh(n)&&n.isTypeOnly){let e=W_(n.parent,t);if(e)return e}if(NA(n)&&n.isTypeOnly){let e=Wp(n,t);if(e)return e}}if(128===e.kind){if(Nx(n)&&n.propertyName||NC(n)&&n.propertyName||Nb(n)||NE(n))return n.name;if(NA(n)&&n.exportClause&&NE(n.exportClause))return n.exportClause.name}if(100===e.kind&&Nm(n)){let e=W_(n,t);if(e)return e}if(93===e.kind){if(NA(n)){let e=Wp(n,t);if(e)return e}if(NS(n))return D3(n.expression)}if(147===e.kind&&ND(n))return n.expression;if(158===e.kind&&(Nm(n)||NA(n))&&n.moduleSpecifier)return n.moduleSpecifier;if((94===e.kind||117===e.kind)&&Nq(n)&&n.token===e.kind){let e=function(e){if(1===e.types.length)return e.types[0].expression}(n);if(e)return e}if(94===e.kind){if(wF(n)&&n.constraint&&wQ(n.constraint))return n.constraint.typeName;if(Re(n)&&wQ(n.extendsType))return n.extendsType.typeName}if(138===e.kind&&Rt(n))return n.typeParameter.name;if(101===e.kind&&wF(n)&&Ro(n.parent))return n.name;if(141===e.kind&&Ri(n)&&141===n.operator&&wQ(n.type))return n.type.typeName;if(146===e.kind&&Ri(n)&&146===n.operator&&w4(n.type)&&wQ(n.type.elementType))return n.type.elementType.typeName;if(!t){if((103===e.kind&&Rv(n)||114===e.kind&&RC(n)||112===e.kind&&RL(n)||133===e.kind&&Rk(n)||125===e.kind&&RO(n)||89===e.kind&&RA(n))&&n.expression)return D3(n.expression);if((101===e.kind||102===e.kind)&&RR(n)&&n.operatorToken===e)return D3(n.right);if(128===e.kind&&RB(n)&&wQ(n.type))return n.type.typeName;if(101===e.kind&&R2(n)||162===e.kind&&R4(n))return D3(n.expression)}return e}function Wm(e){return Wf(e,!1)}function Wh(e){return Wf(e,!0)}function Wy(e,t){return Wg(e,t,e=>xB(e)||xS(e.kind)||wE(e))}function Wg(e,t,n){return Wb(e,t,!1,n,!1)}function Wv(e,t){return Wb(e,t,!0,void 0,!1)}function Wb(e,t,n,r,i){let a,o=e;for(;;){let i=o.getChildren(e),l=u1(i,t,(e,t)=>t,(a,o)=>{let l=i[a].getEnd();if(lt?1:s(i[a],c,l)?i[a-1]&&s(i[a-1])?1:0:r&&c===t&&i[a-1]&&i[a-1].getEnd()===t&&s(i[a-1])?1:-1});if(a)return a;if(l>=0&&i[l]){o=i[l];continue}return o}function s(o,s,l){if(null!=l||(l=o.getEnd()),lt))return!1;if(tn.getStart(e)&&t(r.pos<=e.pos&&r.end>e.end||r.pos===e.end)&&WU(r,n)?t(r):void 0)}(t)}function WS(e,t,n,r){let i=function i(a){if(y_(a)&&!WI(a)&&1!==a.kind)return a;let o=a.getChildren(t),s=u1(o,e,(e,t)=>t,(t,n)=>e=o[t-1].end?0:1:-1);if(s>=0&&o[s]){let n=o[s];if(e=e||!WU(n,t)||WI(n)))return i(n);{let e=WL(o,s,t,a.kind);return e&&WA(e,t)}}}T.assert(void 0!==n||308===a.kind||1===a.kind||gq(a));let l=WL(o,o.length,t,a.kind);return l&&WA(l,t)}(n||t);return T.assert(!(i&&WI(i))),i}function WA(e,t){if(y_(e)&&!WI(e))return e;let n=e.getChildren(t);if(0===n.length)return e;let r=WL(n,n.length,t,e.kind);return r&&WA(r,t)}function WL(e,t,n,r){for(let i=t-1;i>=0;i--)if(WI(e[i]))0===i&&(11===r||282===r)&&T.fail("`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`");else if(WU(e[i],n))return e[i]}function WC(e,t,n=WS(t,e)){if(n&&yA(n)){let r=n.getStart(e),i=n.getEnd();if(rn.getStart(e)}function WR(e,t){let n=Wv(e,t);return!!(wi(n)||18===n.kind&&NK(n.parent)&&NO(n.parent.parent)||29===n.kind&&gK(n.parent)&&NO(n.parent.parent))}function WN(e,t){return function(n){for(;n;)if(n.kind>=282&&n.kind<=291||11===n.kind||29===n.kind||31===n.kind||79===n.kind||19===n.kind||18===n.kind||43===n.kind)n=n.parent;else if(281===n.kind){if(t>n.getStart(e))return!0;n=n.parent}else break;return!1}(Wv(e,t))}function WD(e,t,n){let r=tF[e.kind],i=tF[t],a=e.getFullStart(),o=n.text.lastIndexOf(i,a);if(-1===o)return;if(n.text.lastIndexOf(r,a-1)!!e.typeParameters&&e.typeParameters.length>=t)}function WF(e,t){if(-1===t.text.lastIndexOf("<",e?e.pos:t.text.length))return;let n=e,r=0,i=0;for(;n;){switch(n.kind){case 29:if((n=WS(n.getFullStart(),t))&&28===n.kind&&(n=WS(n.getFullStart(),t)),!n||!wb(n))return;if(!r)return xs(n)?void 0:{called:n,nTypeArguments:i};r--;break;case 49:r=3;break;case 48:r=2;break;case 31:r++;break;case 19:if(!(n=WD(n,18,t)))return;break;case 21:if(!(n=WD(n,20,t)))return;break;case 23:if(!(n=WD(n,22,t)))return;break;case 27:i++;break;case 38:case 79:case 10:case 8:case 9:case 110:case 95:case 112:case 94:case 141:case 24:case 51:case 57:case 58:break;default:if(y0(n))break;return}n=WS(n.getFullStart(),t)}}function WG(e,t,n){return ecc.getRangeOfEnclosingComment(e,t,void 0,n)}function WB(e,t){return!!m9(Wv(e,t),Ds)}function WU(e,t){return 1===e.kind?!!e.jsDoc:0!==e.getWidth(t)}function WV(e,t=0){let n=[],r=gO(e)?m6(e)&~t:0;return 8&r&&n.push("private"),16&r&&n.push("protected"),4&r&&n.push("public"),(32&r||wK(e))&&n.push("static"),256&r&&n.push("abstract"),1&r&&n.push("export"),8192&r&&n.push("deprecated"),16777216&e.flags&&n.push("declare"),274===e.kind&&n.push("export"),n.length>0?n.join(","):""}function Wj(e){return 180===e.kind||210===e.kind?e.typeArguments:yF(e)||260===e.kind||261===e.kind?e.typeParameters:void 0}function WH(e){return 2===e||3===e}function WK(e){return!!(10===e||13===e||yy(e))}function WW(e){if(!e.isIntersection())return!1;let{types:t,checker:n}=e;return 2===t.length&&4&t[0].flags&&n.isEmptyAnonymousObjectType(t[1])}function Wz(e){return 18<=e&&e<=78}function Wq(e,t,n){return yy(e.kind)&&e.getStart(n){let n=Gv(t);return!e[n]&&(e[n]=!0)}}function zr(e){return e.getText(0,e.getLength())}function zi(e,t){let n="";for(let r=0;r!t.isDeclarationFile&&!e.isSourceFileFromExternalLibrary(t)&&!!(t.externalModuleIndicator||t.commonJsModuleIndicator))}function zl(e){return e.getSourceFiles().some(t=>!t.isDeclarationFile&&!e.isSourceFileFromExternalLibrary(t)&&!!t.externalModuleIndicator)}function zc(e){return!!e.module||Ct(e)>=2||!!e.noEmit}function zd(e,t){return{fileExists:t=>e.fileExists(t),getCurrentDirectory:()=>t.getCurrentDirectory(),readFile:_d(t,t.readFile),useCaseSensitiveFileNames:_d(t,t.useCaseSensitiveFileNames),getSymlinkCache:_d(t,t.getSymlinkCache)||e.getSymlinkCache,getModuleSpecifierCache:_d(t,t.getModuleSpecifierCache),getPackageJsonInfoCache:()=>{var t;return null==(t=e.getModuleResolutionCache())?void 0:t.getPackageJsonInfoCache()},getGlobalTypingsCacheLocation:_d(t,t.getGlobalTypingsCacheLocation),redirectTargetsMap:e.redirectTargetsMap,getProjectReferenceRedirect:t=>e.getProjectReferenceRedirect(t),isSourceOfProjectReferenceRedirect:t=>e.isSourceOfProjectReferenceRedirect(t),getNearestAncestorDirectoryWithPackageJson:_d(t,t.getNearestAncestorDirectoryWithPackageJson),getFileIncludeReasons:()=>e.getFileIncludeReasons()}}function zu(e,t){return{...zd(e,t),getCommonSourceDirectory:()=>e.getCommonSourceDirectory()}}function z_(e){return 2===e||e>=3&&e<=99||100===e}function zp(e,t,n,r){return e||t&&t.length?zf(e,t,n,r):void 0}function zf(e,t,n,r,i){return nU.createImportDeclaration(void 0,e||t?nU.createImportClause(!!i,e,t&&t.length?nU.createNamedImports(t):void 0):void 0,"string"==typeof n?zm(n,r):n,void 0)}function zm(e,t){return nU.createStringLiteral(e,0===t)}function zh(e,t){return Tt(e,t)?1:0}function zy(e,t){if(t.quotePreference&&"auto"!==t.quotePreference)return"single"===t.quotePreference?0:1;{let t=e.imports&&d0(e.imports,e=>wr(e)&&!x1(e.parent));return t?zh(t,e):1}}function zg(e){switch(e){case 0:return"'";case 1:return'"';default:return T.assertNever(e)}}function zv(e){let t=zb(e);return void 0===t?void 0:hr(t)}function zb(e){return"default"!==e.escapedName?e.escapedName:dJ(e.declarations,e=>{let t=hp(e);return t&&79===t.kind?t.escapedText:void 0})}function zE(e){return g8(e)&&(ND(e.parent)||Nm(e.parent)||E8(e.parent,!1)&&e.parent.arguments[0]===e||bq(e.parent)&&e.parent.arguments[0]===e)}function zT(e){return Rp(e)&&Ru(e.parent)&&wb(e.name)&&!e.propertyName}function zx(e,t){let n=e.getTypeAtLocation(t.parent);return n&&e.getPropertyOfType(n,t.name.text)}function zS(e,t,n){if(e)for(;e.parent;){var r;if(N0(e.parent)||!(mP(n,(r=e.parent).getStart(t))&&r.getEnd()<=mO(n)))return e;e=e.parent}}function zA(e,t){return Oj(e)?d0(e.modifiers,e=>e.kind===t):void 0}function zL(e,t,n,r,i){let a=240===(_y(n)?n[0]:n).kind?E9:bf,o=d9(t.statements,a),s=_y(n)?eij.detectImportDeclarationSorting(n,i):3,l=eij.getOrganizeImportsComparer(i,2===s),c=_y(n)?uj(n,(e,t)=>eij.compareImportsOrRequireStatements(e,t,l)):[n];if(o.length){if(o&&(s=eij.detectImportDeclarationSorting(o,i))){let n=eij.getOrganizeImportsComparer(i,2===s);for(let r of c){let i=eij.getImportDeclarationInsertionIndex(o,r,n);if(0===i){let n=o[0]===t.statements[0]?{leadingTriviaOption:esW.LeadingTriviaOption.Exclude}:{};e.insertNodeBefore(t,o[0],r,!1,n)}else{let n=o[i-1];e.insertNodeAfter(t,n,r)}}}else{let n=uJ(o);n?e.insertNodesAfter(t,n,c):e.insertNodesAtTopOfFile(t,c,r)}}else e.insertNodesAtTopOfFile(t,c,r)}function zC(e,t){return T.assert(e.isTypeOnly),_T(e.getChildAt(0,t),W9)}function zk(e,t){return!!e&&!!t&&e.start===t.start&&e.length===t.length}function zI(e,t){return e.fileName===t.fileName&&zk(e.textSpan,t.textSpan)}function zw(e,t){if(e){for(let n=0;n!!wG(e)||!(Rp(e)||Ru(e)||R_(e))&&"quit")}function zP(e,t){let n;return zF(e,3&(n=t.flags)?zM(t)?13:9:4&n||32768&n||65536&n?14:8&n?19:16&n?20:32&n?1:64&n?4:384&n?2:1536&n?11:8192&n?10:262144&n?18:524288&n||2097152&n?0:17)}function zF(e,t){return{text:e,kind:aF[t]}}function zG(){return zF(" ",16)}function zB(e){return zF(tF[e],5)}function zU(e){return zF(tF[e],15)}function zV(e){return zF(tF[e],12)}function zj(e){return zF(e,13)}function zH(e){return zF(e,14)}function zK(e){let t=f4(e);return void 0===t?zW(e):zB(t)}function zW(e){return zF(e,17)}function zz(e){return zF(e,0)}function zq(e){return zF(e,18)}function zJ(e){return zF(e,24)}function zX(e,t){return{text:e,kind:aF[23],target:{fileName:vS(t).fileName,textSpan:W1(t)}}}function zY(e){return zF(e,22)}function z$(e,t){var n;let r=[zY(`{@${N3(e)?"link":N5(e)?"linkcode":"linkplain"} `)];if(e.name){let i=null==t?void 0:t.getSymbolAtLocation(e.name),a=function(e){let t=e.indexOf("://");if(0===t){for(;t"===e[n]&&t--,n++,!t)return n}return 0}(e.text),o=v$(e.name)+e.text.slice(0,a),s=function(e){let t=0;if(124===e.charCodeAt(t++)){for(;t{e.writeType(t,n,17408|r,i)})}function z2(e,t,n,r,i=0){return z0(a=>{e.writeSymbol(t,n,r,8|i,a)})}function z4(e,t,n,r=0){return r|=25632,z0(i=>{e.writeSignature(t,n,r,void 0,i)})}function z8(e,t){let n=t.getSourceFile();return z0(t=>{iz().writeNode(4,e,n,t)})}function z6(e){return!!e.parent&&yb(e.parent)&&e.parent.propertyName===e}function z3(e,t){return Cz(e,t.getScriptKind&&t.getScriptKind(e))}function z5(e,t){let n=e;for(;(2097152&n.flags)!=0||vn(n)&&n.links.target;)n=vn(n)&&n.links.target?n.links.target:Lu(n,t);return n}function z7(e,t){return Gb(Lu(e,t))}function z9(e,t){for(;mn(e.charCodeAt(t));)t+=1;return t}function qe(e,t){for(;t>-1&&mr(e.charCodeAt(t));)t-=1;return t+1}function qt(e,t=!0){let n=e&&qr(e);return n&&!t&&qo(n),n}function qn(e,t,n){let r=n(e);return r?Ih(r,e):r=qr(e,n),r&&!t&&qo(r),r}function qr(e,t){let n=t?e=>qn(e,!0,t):qt,r=GB(e,n,iU,t?e=>e&&qa(e,!0,t):e=>e&&qi(e),n);return r===e?OV(wr(e)?Ih(nU.createStringLiteralFromNode(e),e):wt(e)?Ih(nU.createNumericLiteral(e.text,e.numericLiteralFlags),e):nU.cloneNode(e),e):(r.parent=void 0,r)}function qi(e,t=!0){return e&&nU.createNodeArray(e.map(e=>qt(e,t)),e.hasTrailingComma)}function qa(e,t,n){return nU.createNodeArray(e.map(e=>qn(e,t,n)),e.hasTrailingComma)}function qo(e){qs(e),ql(e)}function qs(e){qd(e,1024,qu)}function ql(e){qd(e,2048,LL)}function qc(e,t){let n=e.getSourceFile();(function(e,t){let n=e.getFullStart(),r=e.getStart();for(let e=n;ee)}function q_(e,t){let n=e;for(let r=1;!vR(t,n);r++)n=`${e}_${r}`;return n}function qp(e,t,n,r){let i=0,a=-1;for(let{fileName:o,textChanges:s}of e)for(let e of(T.assert(o===t),s)){let{span:t,newText:o}=e,s=function(e,t){if(pn(e,t))return 0;let n=e.indexOf(" "+t);return -1===n&&(n=e.indexOf("."+t)),-1===n&&(n=e.indexOf('"'+t)),-1===n?-1:n+1}(o,Si(n));if(-1!==s&&(a=t.start+i+s,!r))return a;i+=o.length-t.length}return T.assert(r),T.assert(a>=0),a}function qf(e,t,n,r,i){mm(n.text,e.pos,qy(t,n,r,i,IM))}function qm(e,t,n,r,i){mh(n.text,e.end,qy(t,n,r,i,IG))}function qh(e,t,n,r,i){mh(n.text,e.pos,qy(t,n,r,i,IM))}function qy(e,t,n,r,i){return(a,o,s,l)=>{3===s?(a+=2,o-=2):a+=2,i(e,n||s,t.text.slice(a,o),void 0!==r?r:l)}}function qg(e){return RR(e)&&27===e.operatorToken.kind||Rm(e)||RB(e)&&Rm(e.expression)}function qv(e,t,n){let r=xt(e.parent);switch(r.kind){case 211:return t.getContextualType(r,n);case 223:{let{left:i,operatorToken:a,right:o}=r;return qE(a.kind)?t.getTypeAtLocation(e===o?i:o):t.getContextualType(e,n)}case 292:return qS(r,t);default:return t.getContextualType(e,n)}}function qb(e,t,n){let r=zy(e,t),i=JSON.stringify(n);return 0===r?`'${Sl(i).replace(/'/g,"\\'").replace(/\\"/g,'"')}'`:i}function qE(e){switch(e){case 36:case 34:case 37:case 35:return!0;default:return!1}}function qT(e){switch(e.kind){case 10:case 14:case 225:case 212:return!0;default:return!1}}function qx(e){return!!e.getStringIndexType()||!!e.getNumberIndexType()}function qS(e,t){return t.getTypeAtLocation(e.parent.parent.expression)}function qA(e,t,n,r){let i=n.getTypeChecker(),a=!0,o=()=>a=!1,s=i.typeToTypeNode(e,t,1,{trackSymbol:(e,t,n)=>!(a=a&&0===i.isSymbolAccessible(e,t,n,!1).accessibility),reportInaccessibleThisError:o,reportPrivateInBaseOfClassExpression:o,reportInaccessibleUniqueSymbolError:o,moduleResolverHost:zu(n,r)});return a?s:void 0}function qL(e){return 176===e||177===e||178===e||168===e||170===e}function qC(e){return 259===e||173===e||171===e||174===e||175===e}function qk(e){return 264===e}function qI(e){return 240===e||241===e||243===e||248===e||249===e||250===e||254===e||256===e||169===e||262===e||269===e||268===e||275===e||267===e||274===e}function qw(e,t,n){let r=m9(t,t=>t.end!==e?"quit":a1(t.kind));return!!r&&function(e,t){let n=e.getLastToken(t);if(n&&26===n.kind)return!1;if(qL(e.kind)){if(n&&27===n.kind)return!1}else if(qk(e.kind)){let n=uX(e.getChildren(t));if(n&&Nu(n))return!1}else if(qC(e.kind)){let n=uX(e.getChildren(t));if(n&&Es(n))return!1}else if(!qI(e.kind))return!1;if(243===e.kind)return!0;let r=m9(e,e=>!e.parent),i=Wx(e,r,t);return!i||19===i.kind||t.getLineAndCharacterOfPosition(e.getEnd()).line!==t.getLineAndCharacterOfPosition(i.getStart(t)).line}(r,n)}function qR(e){let t=0,n=0;return Mr(e,function r(i){if(qI(i.kind)){let r=i.getLastToken(e);(null==r?void 0:r.kind)===26?t++:n++}else if(qL(i.kind)){let r=i.getLastToken(e);(null==r?void 0:r.kind)===26?t++:r&&27!==r.kind&&mt(e,r.getStart(e)).line!==mt(e,bF(e,r.end).start).line&&n++}return t+n>=5||Mr(i,r)}),0===t&&n<=1||t/n>.2}function qN(e,t){return qF(e,e.getDirectories,t)||[]}function qD(e,t,n,r,i){return qF(e,e.readDirectory,t,n,r,i)||o}function qO(e,t){return qF(e,e.fileExists,t)}function qM(e,t){return qP(()=>Aq(t,e))||!1}function qP(e){try{return e()}catch(e){return}}function qF(e,t,...n){return qP(()=>t&&t.apply(e,n))}function qG(e,t,n){let r=[];return fq(e,e=>{if(e===n)return!0;let i=fA(e,"package.json");qO(t,i)&&r.push(i)}),r}function qB(e,t){let n;return fq(e,e=>{if("node_modules"===e||(n=Vc(e,e=>qO(t,e),"package.json")))return!0}),n}function qU(e,t){if(!t.fileExists)return[];let n=[];return fq(fy(e),e=>{let r=fA(e,"package.json");if(t.fileExists(r)){let e=qV(r,t);e&&n.push(e)}}),n}function qV(e,t){if(!t.readFile)return;let n=function(e){try{return JSON.parse(e)}catch(e){return}}(t.readFile(e)||""),r={};if(n)for(let e of["dependencies","devDependencies","optionalDependencies","peerDependencies"]){let t=n[e];if(!t)continue;let i=new Map;for(let e in t)i.set(e,t[e]);r[e]=i}let i=[[1,r.dependencies],[2,r.devDependencies],[8,r.optionalDependencies],[4,r.peerDependencies]];return{...r,parseable:!!n,fileName:e,get:a,has:(e,t)=>!!a(e,t)};function a(e,t=15){for(let[n,r]of i)if(r&&t&n){let t=r.get(e);if(void 0!==t)return t}}}function qj(e,t,n){let r,i,a;let o=(n.getPackageJsonsVisibleToFile&&n.getPackageJsonsVisibleToFile(e.fileName)||qU(e.fileName,n)).filter(e=>e.parseable);return{allowsImportingAmbientModule:function(e,t){if(!o.length||!e.valueDeclaration)return!0;if(i){let t=i.get(e);if(void 0!==t)return t}else i=new Map;let n=Sl(e.getName());if(l(n))return i.set(e,!0),!0;let r=c(e.valueDeclaration.getSourceFile().fileName,t);if(void 0===r)return i.set(e,!0),!0;let a=s(r)||s(n);return i.set(e,a),a},allowsImportingSourceFile:function(e,t){if(!o.length)return!0;if(a){let t=a.get(e);if(void 0!==t)return t}else a=new Map;let n=c(e.fileName,t);if(!n)return a.set(e,!0),!0;let r=s(n);return a.set(e,r),r},allowsImportingSpecifier:function(e){return!!(!o.length||l(e)||fl(e)||fa(e))||s(e)}};function s(e){let t=d(e);for(let e of o)if(e.has(t)||e.has(FD(t)))return!0;return!1}function l(t){return!!(EZ(e)&&Kp.nodeCoreModules.has(t))&&(void 0===r&&(r=qH(e)),!!r)}function c(r,i){if(!_2(r,"node_modules"))return;let a=Gh.getNodeModulesPackageName(n.getCompilationSettings(),e,r,i,t);if(a&&!fl(a)&&!fa(a))return d(a)}function d(e){let t=fE(FM(e)).slice(1);return pn(t[0],"@")?`${t[0]}/${t[1]}`:t[0]}}function qH(e){return uv(e.imports,({text:e})=>Kp.nodeCoreModules.has(e))}function qK(e){return d6(fE(e),"node_modules")}function qW(e){return void 0!==e.file&&void 0!==e.start&&void 0!==e.length}function qz(e,t){let n=u1(t,W1(e),_C,_V);if(n>=0){let r=t[n];return T.assertEqual(r.file,e.getSourceFile(),"Diagnostics proided to 'findDiagnosticForNode' must be from a single SourceFile"),_T(r,qW)}}function qq(e,t){var n;let r=u1(t,e.start,e=>e.start,_U);for(r<0&&(r=~r);(null==(n=t[r-1])?void 0:n.start)===e.start;)r--;let i=[],a=mO(e);for(;;){let n=_E(t[r],qW);if(!n||n.start>a)break;mG(e,n)&&i.push(n),r++}return i}function qJ({startPosition:e,endPosition:t}){return mq(e,void 0===t?e:t)}function qX(e,t){return m9(Wv(e,t.start),n=>n.getStart(e)mO(t)?"quit":gp(n)&&zk(t,W1(n,e)))}function qY(e,t,n=_C){return e?_y(e)?n(un(e,t)):t(e,0):void 0}function q$(e){return _y(e)?uz(e):e}function qQ(e,t){if(q0(e)){let n=q1(e);if(n)return n;let r=enn.moduleSymbolToValidIdentifier(q2(e),t,!1),i=enn.moduleSymbolToValidIdentifier(q2(e),t,!0);return r===i?r:[r,i]}return e.name}function qZ(e,t,n){return q0(e)?q1(e)||enn.moduleSymbolToValidIdentifier(q2(e),t,!!n):e.name}function q0(e){return!(33554432&e.flags)&&("export="===e.escapedName||"default"===e.escapedName)}function q1(e){return dJ(e.declarations,e=>{var t,n;return NS(e)?null==(t=_E(D3(e.expression),wb))?void 0:t.text:null==(n=_E(hp(e),wb))?void 0:n.text})}function q2(e){var t;return T.checkDefined(e.parent,`Symbol parent was undefined. Flags: ${T.formatSymbolFlags(e.flags)}. Declarations: ${null==(t=e.declarations)?void 0:t.map(e=>{let t=T.formatSyntaxKind(e.kind),n=EZ(e),{expression:r}=e;return(n?"[JS]":"")+t+(r?` (expression: ${T.formatSyntaxKind(r.kind)})`:"")}).join(", ")}.`)}function q4(e,t,n){let r=t.length;if(r+n>e.length)return!1;for(let i=0;iNd(e)&&bi(e)))}function q5(e){return!!(8192&m6(e))}function q7(e,t){let n=dJ(e.imports,e=>{if(Kp.nodeCoreModules.has(e.text))return pn(e.text,"node:")});return null!=n?n:t.usesUriStyleNodeCoreModules}function q9(e){return"\n"===e?1:0}function Je(e){return _y(e)?Lz(LX(e[0]),e.slice(1)):LX(e)}function Jt({options:e},t){let n=!e.semicolons||"ignore"===e.semicolons,r="remove"===e.semicolons||n&&!qR(t);return{...e,semicolons:r?"remove":"ignore"}}function Jn(e){return 2===e||3===e}function Jr(e,t){return e.isSourceFileFromExternalLibrary(t)||e.isSourceFileDefaultLibrary(t)}function Ji(e,t){let n=new Set,r=new Set,i=new Set;for(let o of t)if(!Nz(o)){let t=xi(o.expression);if(ym(t))switch(t.kind){case 14:case 10:n.add(t.text);break;case 8:r.add(parseInt(t.text));break;case 9:let s=kh(_Z(t.text,"n")?t.text.slice(0,-1):t.text);s&&i.add(km(s))}else{let t=e.getSymbolAtLocation(o.expression);if(t&&t.valueDeclaration&&NQ(t.valueDeclaration)){let n=e.getConstantValue(t.valueDeclaration);void 0!==n&&a(n)}}}return{addValue:a,hasValue:function(e){switch(typeof e){case"string":return n.has(e);case"number":return r.has(e);case"object":return i.has(km(e))}}};function a(e){switch(typeof e){case"string":n.add(e);break;case"number":r.add(e)}}}var Ja=dj({"src/services/utilities.ts"(){var e,t;ecu(),aq=mL(99,!0),(e=aJ||{})[e.None=0]="None",e[e.Value=1]="Value",e[e.Type=2]="Type",e[e.Namespace=4]="Namespace",e[e.All=7]="All",aJ=e,aX=/^\/\/\/\s*s(e,17);return{displayParts:()=>{let t=e.length&&e[e.length-1].text;return r>i&&t&&"..."!==t&&(mn(t.charCodeAt(t.length-1))||e.push(zF(" ",16)),e.push(zF("...",15))),e},writeKeyword:e=>s(e,5),writeOperator:e=>s(e,12),writePunctuation:e=>s(e,15),writeTrailingSemicolon:e=>s(e,15),writeSpace:e=>s(e,16),writeStringLiteral:e=>s(e,8),writeParameter:e=>s(e,13),writeProperty:e=>s(e,14),writeLiteral:e=>s(e,8),writeSymbol:function(t,n){r>i||(o(),r+=t.length,e.push(zP(t,n)))},writeLine:function(){r>i||(r+=1,e.push(zZ()),t=!0)},write:a,writeComment:a,getText:()=>"",getTextPos:()=>0,getColumn:()=>0,getLine:()=>0,isAtStartOfLine:()=>!1,hasTrailingWhitespace:()=>!1,hasTrailingComment:()=>!1,rawWrite:_w,getIndent:()=>n,increaseIndent:()=>{n++},decreaseIndent:()=>{n--},clear:l};function o(){if(!(r>i)&&t){let i=Sd(n);i&&(r+=i.length,e.push(zF(i,16))),t=!1}}function s(t,n){r>i||(o(),r+=t.length,e.push(zF(t,n)))}function l(){e=[],t=!0,n=0,r=0}}(),aZ="\n",a0="anonymous function",a1=ps(qL,qC,qk,qI)}});function Jo(e){let t,n=1,r=_u(),i=new Map,a=new Map,s={isUsableByFile:e=>e===t,isEmpty:()=>!r.size,clear:()=>{r.clear(),i.clear(),t=void 0},add:(e,o,l,c,d,u,_,p)=>{let f;if(e!==t&&(s.clear(),t=e),d){let t=kK(d.fileName);if(t){let{topLevelNodeModulesIndex:n,topLevelPackageNameIndex:r,packageRootIndex:i}=t;if(f=FP(FM(d.fileName.substring(r+1,i))),pn(e,d.path.substring(0,n))){let e=a.get(f),t=d.fileName.substring(0,r+1);e?n>e.indexOf(il)&&a.set(f,t):a.set(f,t)}}}let m=1===u&&AU(o)||o,h=0===u||zt(m)?hr(l):qQ(m,void 0),y="string"==typeof h?h:h[0],g="string"==typeof h?void 0:h[1],v=Sl(c.name),b=n++,E=Lu(o,p),T=33554432&o.flags?void 0:o,x=33554432&c.flags?void 0:c;T&&x||i.set(b,[o,c]),r.add(`${y}|${Gb(Lu(o,p))}|${(mR(v)?void 0:v)||""}`,{id:b,symbolTableKey:l,symbolName:y,capitalizedSymbolName:g,moduleName:v,moduleFile:d,moduleFileName:null==d?void 0:d.fileName,packageName:f,exportKind:u,targetFlags:E.flags,isFromPackageJson:_,symbol:T,moduleSymbol:x})},get:(e,n)=>{if(e!==t)return;let i=r.get(n);return null==i?void 0:i.map(l)},search:(n,i,o,s)=>{if(n===t)return vl(r,(t,n)=>{let r;let{symbolName:c,ambientModuleName:d}={symbolName:n.substring(0,n.indexOf("|")),ambientModuleName:""===(r=n.substring(n.lastIndexOf("|")+1))?void 0:r},u=i&&t[0].capitalizedSymbolName||c;if(o(u,t[0].targetFlags)){let r=t.map(l).filter((n,r)=>(function(t,n){if(!n||!t.moduleFileName)return!0;let r=e.getGlobalTypingsCacheLocation();if(r&&pn(t.moduleFileName,r))return!0;let i=a.get(n);return!i||pn(t.moduleFileName,i)})(n,t[r].packageName));if(r.length){let e=s(r,u,!!d,n);if(void 0!==e)return e}}})},releaseSymbols:()=>{i.clear()},onFileChanged:(e,n,r)=>!(c(e)&&c(n))&&(t&&t!==n.path||r&&qH(e)!==qH(n)||!uw(e.moduleAugmentations,n.moduleAugmentations)||!function(e,t){if(!uw(e.ambientModuleNames,t.ambientModuleNames))return!1;let n=-1,r=-1;for(let i of t.ambientModuleNames){let a=e=>be(e)&&e.name.text===i;if(n=d2(e.statements,a,n+1),r=d2(t.statements,a,r+1),e.statements[n]!==t.statements[r])return!1}return!0}(e,n)?(s.clear(),!0):(t=n.path,!1))};return T.isDebugging&&Object.defineProperty(s,"__cache",{get:()=>r}),s;function l(t){if(t.symbol&&t.moduleSymbol)return t;let{id:n,exportKind:r,targetFlags:a,isFromPackageJson:s,moduleFileName:l}=t,[c,d]=i.get(n)||o;if(c&&d)return{symbol:c,moduleSymbol:d,moduleFileName:l,exportKind:r,targetFlags:a,isFromPackageJson:s};let u=(s?e.getPackageJsonAutoImportProvider():e.getCurrentProgram()).getTypeChecker(),_=t.moduleSymbol||d||T.checkDefined(t.moduleFile?u.getMergedSymbol(t.moduleFile.symbol):u.tryFindAmbientModule(t.moduleName)),p=t.symbol||c||T.checkDefined(2===r?u.resolveExternalModuleSymbol(_):u.tryGetMemberInModuleExportsAndProperties(hr(t.symbolTableKey),_),`Could not find symbol '${t.symbolName}' by key '${t.symbolTableKey}' in module ${_.name}`);return i.set(n,[p,_]),{symbol:p,moduleSymbol:_,moduleFileName:l,exportKind:r,targetFlags:a,isFromPackageJson:s}}function c(e){return!e.commonJsModuleIndicator&&!e.externalModuleIndicator&&!e.moduleAugmentations&&!e.ambientModuleNames}}function Js(e,t,n,r,i,a,o){var s;if(t===n)return!1;let l=null==o?void 0:o.get(t.path,n.path,r,{});if((null==l?void 0:l.isBlockedByPackageJsonDependencies)!==void 0)return!l.isBlockedByPackageJsonDependencies;let c=Sh(a),d=null==(s=a.getGlobalTypingsCacheLocation)?void 0:s.call(a),u=!!Gh.forEachFileNameOfModule(t.fileName,n.fileName,a,!1,r=>{var i;let a,o,s=e.getSourceFile(r);return(s===n||!s)&&(i=t.fileName,void 0===(o=(a=fq(r,e=>"node_modules"===fg(e)?e:void 0))&&fy(c(a)))||pn(c(i),o)||!!d&&pn(c(d),o))});if(i){let e=u&&i.allowsImportingSourceFile(n,a);return null==o||o.setBlockedByPackageJsonDependencies(t.path,n.path,r,{},!e),e}return u}function Jl(e,t,n,r,i){var a,o;let s=Sm(t),l=n.autoImportFileExcludePatterns&&uu(n.autoImportFileExcludePatterns,e=>{let t=CU(e,"","exclude");return t?CK(t,s):void 0});Jc(e.getTypeChecker(),e.getSourceFiles(),l,(t,n)=>i(t,n,e,!1));let c=r&&(null==(a=t.getPackageJsonAutoImportProvider)?void 0:a.call(t));if(c){let n=B(),r=e.getTypeChecker();Jc(c.getTypeChecker(),c.getSourceFiles(),l,(t,n)=>{(!n||e.getSourceFile(n.fileName))&&(n||r.resolveName(t.name,void 0,1536,!1))||i(t,n,c,!0)}),null==(o=t.log)||o.call(t,`forEachExternalModuleToImportFrom autoImportProvider: ${B()-n}`)}}function Jc(e,t,n,r){var i;let a=n&&(e=>n.some(t=>t.test(e)));for(let t of e.getAmbientModules())_2(t.name,"*")||n&&(null==(i=t.declarations)?void 0:i.every(e=>a(e.getSourceFile().fileName)))||r(t,void 0);for(let n of t)!bU(n)||(null==a?void 0:a(n.fileName))||r(e.getMergedSymbol(n.symbol),n)}function Jd(e,t,n,r,i){var a,o,s,l,c;let d=B();null==(a=t.getPackageJsonAutoImportProvider)||a.call(t);let u=(null==(o=t.getCachedExportInfoMap)?void 0:o.call(t))||Jo({getCurrentProgram:()=>n,getPackageJsonAutoImportProvider:()=>{var e;return null==(e=t.getPackageJsonAutoImportProvider)?void 0:e.call(t)},getGlobalTypingsCacheLocation:()=>{var e;return null==(e=t.getGlobalTypingsCacheLocation)?void 0:e.call(t)}});if(u.isUsableByFile(e.path))return null==(s=t.log)||s.call(t,"getExportInfoMap: cache hit"),u;null==(l=t.log)||l.call(t,"getExportInfoMap: cache miss or empty; calculating new results");let _=n.getCompilerOptions(),p=0;try{Jl(n,t,r,!0,(t,n,r,a)=>{++p%100==0&&(null==i||i.throwIfCancellationRequested());let o=new Map,s=r.getTypeChecker(),l=Ju(t,s,_);l&&J_(l.symbol,s)&&u.add(e.path,l.symbol,1===l.exportKind?"default":"export=",t,n,l.exportKind,a,s),s.forEachExportAndPropertyOfModule(t,(r,i)=>{r!==(null==l?void 0:l.symbol)&&J_(r,s)&&LC(o,i)&&u.add(e.path,r,i,t,n,0,a,s)})})}catch(e){throw u.clear(),e}return null==(c=t.log)||c.call(t,`getExportInfoMap: done in ${B()-d} ms`),u}function Ju(e,t,n){let r=function(e,t){let n=t.resolveExternalModuleSymbol(e);if(n!==e)return{symbol:n,exportKind:2};let r=t.tryGetMemberInModuleExports("default",e);if(r)return{symbol:r,exportKind:1}}(e,t);if(!r)return;let{symbol:i,exportKind:a}=r,o=Jp(i,t,n);return o&&{symbol:i,exportKind:a,...o}}function J_(e,t){return!t.isUndefinedSymbol(e)&&!t.isUnknownSymbol(e)&&!xK(e)&&!xW(e)}function Jp(e,t,n){let r=AU(e);if(r)return{resolvedSymbol:r,name:r.name};let i=e.declarations&&dJ(e.declarations,e=>{var t;return NS(e)?null==(t=_E(D3(e.expression),wb))?void 0:t.text:NC(e)?(T.assert("default"===e.name.text,"Expected the specifier to be a default export"),e.propertyName&&e.propertyName.text):void 0});if(void 0!==i)return{resolvedSymbol:e,name:i};if(2097152&e.flags){let r=t.getImmediateAliasedSymbol(e);if(r&&r.parent)return Jp(r,t,n)}return"default"!==e.escapedName&&"export="!==e.escapedName?{resolvedSymbol:e,name:e.getName()}:{resolvedSymbol:e,name:qZ(e,n.target)}}var Jf=dj({"src/services/exportInfoMap.ts"(){var e,t;ecu(),(e=a2||{})[e.Named=0]="Named",e[e.Default=1]="Default",e[e.Namespace=2]="Namespace",e[e.CommonJS=3]="CommonJS",a2=e,(t=a4||{})[t.Named=0]="Named",t[t.Default=1]="Default",t[t.ExportEquals=2]="ExportEquals",t[t.UMD=3]="UMD",a4=t}});function Jm(){let e=mL(99,!1);function t(t,n,r){let i=0,a=0,o=[],{prefix:s,pushTemplate:l}=function(e){switch(e){case 3:return{prefix:'"\\\n'};case 2:return{prefix:"'\\\n"};case 1:return{prefix:"/*\n"};case 4:return{prefix:"`\n"};case 5:return{prefix:"}\n",pushTemplate:!0};case 6:return{prefix:"",pushTemplate:!0};case 0:return{prefix:""};default:return T.assertNever(e)}}(n);t=s+t;let c=s.length;l&&o.push(15),e.setText(t);let d=0,u=[],_=0;do{xR(i=e.scan())||(function(){switch(i){case 43:case 68:a8[a]||13!==e.reScanSlashToken()||(i=13);break;case 29:79===a&&_++;break;case 31:_>0&&_--;break;case 131:case 152:case 148:case 134:case 153:_>0&&!r&&(i=79);break;case 15:o.push(i);break;case 18:o.length>0&&o.push(i);break;case 19:if(o.length>0){let t=uJ(o);15===t?17===(i=e.reScanTemplateToken(!1))?o.pop():T.assertEqual(i,16,"Should have been a template middle."):(T.assertEqual(t,18,"Should have been an open brace"),o.pop())}break;default:if(!xS(i))break;24===a?i=79:xS(a)&&xS(i)&&!function(e,t){if(!WJ(e))return!0;switch(t){case 137:case 151:case 135:case 124:case 127:return!0;default:return!1}}(a,i)&&(i=79)}}(),a=i);let n=e.getTextPos();if(function(e,t,n,r,i){if(8===r)return;0===e&&n>0&&(e+=n);let a=t-e;a>0&&i.push(e-n,a,r)}(e.getTokenPos(),n,c,function(e){if(xS(e))return 3;if(function(e){switch(e){case 41:case 43:case 44:case 39:case 40:case 47:case 48:case 49:case 29:case 31:case 32:case 33:case 102:case 101:case 128:case 150:case 34:case 35:case 36:case 37:case 50:case 52:case 51:case 55:case 56:case 74:case 73:case 78:case 70:case 71:case 72:case 64:case 65:case 66:case 68:case 69:case 63:case 27:case 60:case 75:case 76:case 77:return!0;default:return!1}}(e)||function(e){switch(e){case 39:case 40:case 54:case 53:case 45:case 46:return!0;default:return!1}}(e))return 5;if(e>=18&&e<=78)return 10;switch(e){case 8:return 4;case 9:return 25;case 10:return 6;case 13:return 7;case 7:case 3:case 2:return 1;case 5:case 4:return 8;default:if(yy(e))return 6;return 2}}(i),u),n>=t.length){let t=function(e,t,n){switch(t){case 10:{if(!e.isUnterminated())return;let t=e.getTokenText(),n=t.length-1,r=0;for(;92===t.charCodeAt(n-r);)r++;if((1&r)==0)return;return 34===t.charCodeAt(0)?3:2}case 3:return e.isUnterminated()?1:void 0;default:if(yy(t)){if(!e.isUnterminated())return;switch(t){case 17:return 5;case 14:return 4;default:return T.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+t)}}return 15===n?6:void 0}}(e,i,uJ(o));void 0!==t&&(d=t)}}while(1!==i)return{endOfLineState:d,spans:u}}return{getClassificationsForLine:function(e,n,r){return function(e,t){let n=[],r=e.spans,i=0;for(let e=0;e=0){let e=t-i;e>0&&n.push({length:e,classification:4})}n.push({length:a,classification:function(e){switch(e){case 1:return 3;case 3:return 1;case 4:return 6;case 25:return 7;case 5:return 2;case 6:return 8;case 8:return 4;case 10:return 0;case 2:case 11:case 12:case 13:case 14:case 15:case 16:case 9:case 17:return 5;default:return}}(o)}),i=t+a}let a=t.length-i;return a>0&&n.push({length:a,classification:4}),{entries:n,finalLexState:e.endOfLineState}}(t(e,n,r),e)},getEncodedLexicalClassifications:t}}function Jh(e,t,n,r,i){return Jv(Jg(e,t,n,r,i))}function Jy(e,t){switch(t){case 264:case 260:case 261:case 259:case 228:case 215:case 216:e.throwIfCancellationRequested()}}function Jg(e,t,n,r,i){let a=[];return n.forEachChild(function o(s){if(s&&mj(i,s.pos,s.getFullWidth())){if(Jy(t,s.kind),wb(s)&&!vN(s)&&r.has(s.escapedText)){var l;let t,r=e.getSymbolAtLocation(s),i=r&&function e(t,n,r){let i=t.getFlags();if((2885600&i)!=0)return 32&i?11:384&i?12:524288&i?16:1536&i?4&n||1&n&&uv(t.declarations,e=>Nd(e)&&1===FK(e))?14:void 0:2097152&i?e(r.getAliasedSymbol(t),n,r):2&n?64&i?13:262144&i?15:void 0:void 0}(r,KL(s),e);i&&(l=s.getStart(n),t=s.getEnd()-l,T.assert(t>0,`Classification had non-positive length of ${t}`),a.push(l),a.push(t),a.push(i))}s.forEachChild(o)}}),{spans:a,endOfLineState:0}}function Jv(e){T.assert(e.spans.length%3==0);let t=e.spans,n=[];for(let e=0;e])*)(\/>)?)?/im.exec(i);if(!a||!a[3]||!(a[3]in tc))return!1;let o=e;c(o,a[1].length),l(o+=a[1].length,a[2].length,10),l(o+=a[2].length,a[3].length,21),o+=a[3].length;let s=a[4],d=o;for(;;){let e=r.exec(s);if(!e)break;let t=o+e.index+e[1].length;t>d&&(c(d,t-d),d=t),l(d,e[2].length,22),d+=e[2].length,e[3].length&&(c(d,e[3].length),d+=e[3].length),l(d,e[4].length,5),d+=e[4].length,e[5].length&&(c(d,e[5].length),d+=e[5].length),l(d,e[6].length,24),d+=e[6].length}(o+=a[4].length)>d&&c(d,o-d),a[5]&&(l(o,a[5].length,10),o+=a[5].length);let u=e+n;return o=0),s>0){let t=r||d(e.kind,e);t&&l(i,s,t)}return!0}(r)&&n(r)}(t),{spans:s,endOfLineState:0};function l(e,t,n){s.push(e),s.push(t),s.push(n)}function c(e,t){l(e,t,1)}function d(e,t){if(xS(e))return 3;if((29===e||31===e)&&t&&Wj(t.parent))return 10;if(Wz(e)){if(t){let n=t.parent;if(63===e&&(257===n.kind||169===n.kind||166===n.kind||288===n.kind)||223===n.kind||221===n.kind||222===n.kind||224===n.kind)return 5}return 10}if(8===e)return 4;if(9===e)return 25;if(10===e)return t&&288===t.parent.kind?24:6;if(13===e||yy(e))return 6;if(11===e)return 23;if(79===e){if(t){switch(t.parent.kind){case 260:if(t.parent.name===t)return 11;return;case 165:if(t.parent.name===t)return 15;return;case 261:if(t.parent.name===t)return 13;return;case 263:if(t.parent.name===t)return 12;return;case 264:if(t.parent.name===t)return 14;return;case 166:if(t.parent.name===t)return SV(t)?3:17;return}if(yt(t.parent))return 3}return 2}}}var JT=dj({"src/services/classifier.ts"(){ecu(),a8=_r([79,10,8,9,13,108,45,46,21,23,19,110,95],e=>e,()=>!0)}}),Jx=dj({"src/services/documentHighlights.ts"(){ecu(),(e=>{function t(e,t){return{fileName:t.fileName,textSpan:W1(e,t),kind:"none"}}function n(e){return Ne(e)?[e]:Nt(e)?uE(e.catchClause?n(e.catchClause):e.tryBlock&&n(e.tryBlock),e.finallyBlock&&n(e.finallyBlock)):yF(e)?void 0:i(e,n)}function r(e){return yi(e)?[e]:yF(e)?void 0:i(e,r)}function i(e,t){let n=[];return e.forEachChild(e=>{let r=t(e);void 0!==r&&n.push(..._g(r))}),n}function a(e,t){let n=o(t);return!!n&&n===e}function o(e){return m9(e,t=>{switch(t.kind){case 252:if(248===e.kind)return!1;case 245:case 246:case 247:case 244:case 243:var n;return!e.label||(n=e.label.escapedText,!!m9(t.parent,e=>R9(e)?e.label.escapedText===n:"quit"));default:return yF(t)&&"quit"}})}function s(e,t,...n){return!!(t&&d6(n,t.kind))&&(e.push(t),!0)}function l(e){let t=[];if(s(t,e.getFirstToken(),97,115,90)&&243===e.kind){let n=e.getChildren();for(let e=n.length-1;e>=0&&!s(t,n[e],115);e--);}return dz(r(e.statement),n=>{a(e,n)&&s(t,n.getFirstToken(),81,86)}),t}function c(e){let t=o(e);if(t)switch(t.kind){case 245:case 246:case 247:case 243:case 244:return l(t);case 252:return d(t)}}function d(e){let t=[];return s(t,e.getFirstToken(),107),dz(e.caseBlock.clauses,n=>{s(t,n.getFirstToken(),82,88),dz(r(n),n=>{a(e,n)&&s(t,n.getFirstToken(),81)})}),t}function u(e,t){let n=[];return s(n,e.getFirstToken(),111),e.catchClause&&s(n,e.catchClause.getFirstToken(),83),e.finallyBlock&&s(n,Wo(e,96,t),96),n}function _(e,t){let r=function(e){let t=e;for(;t.parent;){let e=t.parent;if(Es(e)||308===e.kind)return e;if(Nt(e)&&e.tryBlock===t&&e.catchClause)return t;t=e}}(e);if(!r)return;let i=[];return dz(n(r),e=>{i.push(Wo(e,109,t))}),Es(r)&&b6(r,e=>{i.push(Wo(e,105,t))}),i}function p(e,t){let r=Ey(e);if(!r)return;let i=[];return b6(_T(r.body,RJ),e=>{i.push(Wo(e,105,t))}),dz(n(r.body),e=>{i.push(Wo(e,109,t))}),i}function f(e){let t=Ey(e);if(!t)return;let n=[];return t.modifiers&&t.modifiers.forEach(e=>{s(n,e,132)}),Mr(t,e=>{m(e,e=>{Rk(e)&&s(n,e.getFirstToken(),133)})}),n}function m(e,t){t(e),yF(e)||yW(e)||Ns(e)||Nd(e)||Nl(e)||y0(e)||Mr(e,e=>m(e,t))}e.getDocumentHighlights=function(e,n,r,i,a){let o,h=Wy(r,i);if(h.parent&&(NP(h.parent)&&h.parent.tagName===h||NF(h.parent))){let{openingElement:e,closingElement:n}=h.parent.parent,i=[e,n].map(({tagName:e})=>t(e,r));return[{fileName:r.fileName,highlightSpans:i}]}return function(e,t,n,r,i){let a=new Set(i.map(e=>e.fileName)),o=erX.getReferenceEntriesForNode(e,t,n,i,r,void 0,a);if(!o)return;let s=_i(o.map(erX.toHighlightSpan),e=>e.fileName,e=>e.span),l=_7(n.useCaseSensitiveFileNames());return u9(u_(s.entries(),([e,t])=>{if(!a.has(e)){if(!n.redirectTargetsMap.has(fR(e,n.getCurrentDirectory(),l)))return;let t=n.getSourceFile(e);e=d0(i,e=>!!e.redirectInfo&&e.redirectInfo.redirectTarget===t).fileName,T.assert(a.has(e))}return{fileName:e,highlightSpans:t}}))}(i,h,e,n,a)||(o=function(e,n){switch(e.kind){case 99:case 91:return RQ(e.parent)?function(e,n){let r=function(e,t){let n=[];for(;RQ(e.parent)&&e.parent.elseStatement===e;)e=e.parent;for(;;){let r=e.getChildren(t);s(n,r[0],99);for(let e=r.length-1;e>=0&&!s(n,r[e],91);e--);if(!e.elseStatement||!RQ(e.elseStatement))break;e=e.elseStatement}return n}(e,n),i=[];for(let e=0;e=t.end;e--)if(!mr(n.text.charCodeAt(e))){o=!1;break}if(o){i.push({fileName:n.fileName,textSpan:mq(t.getStart(),a.end),kind:"reference"}),e++;continue}}i.push(t(r[e],n))}return i}(e.parent,n):void 0;case 105:return a(e.parent,R3,p);case 109:return a(e.parent,Ne,_);case 111:case 83:case 96:return a(83===e.kind?e.parent.parent:e.parent,Nt,u);case 107:return a(e.parent,R7,d);case 82:case 88:if(Nz(e.parent)||NW(e.parent))return a(e.parent.parent.parent,R7,d);return;case 81:case 86:return a(e.parent,yi,c);case 97:case 115:case 90:return a(e.parent,e=>gh(e,!0),l);case 135:return i(wW,[135]);case 137:case 151:return i(yz,[137,151]);case 133:return a(e.parent,Rk,f);case 132:return o(f(e));case 125:return o(function(e){let t=Ey(e);if(!t)return;let n=[];return Mr(t,e=>{m(e,e=>{RO(e)&&s(n,e.getFirstToken(),125)})}),n}(e));case 101:return;default:var r;return yw(e.kind)&&(gO(e.parent)||RX(e.parent))?o((r=e.kind,uu(function(e,t){let n=e.parent;switch(n.kind){case 265:case 308:case 238:case 292:case 293:if(256&t&&No(e))return[...e.members,e];return n.statements;case 173:case 171:case 259:return[...n.parameters,...yW(n.parent)?n.parent.members:[]];case 260:case 228:case 261:case 184:let r=n.members;if(92&t){let e=d0(n.members,wW);if(e)return[...r,...e.parameters]}else if(256&t)return[...r,n];return r;case 207:return;default:T.assertNever(n,"Invalid container kind.")}}(e.parent,Am(r)),e=>zA(e,r)))):void 0}function i(t,r){return a(e.parent,t,e=>{var i;return uu(null==(i=_E(e,gw))?void 0:i.symbol.declarations,e=>t(e)?d0(e.getChildren(n),e=>d6(r,e.kind)):void 0)})}function a(e,t,r){return t(e)?o(r(e,n)):void 0}function o(e){return e&&e.map(e=>t(e,n))}}(h,r))&&[{fileName:r.fileName,highlightSpans:o}]}})(a6||(a6={}))}});function JS(e){return!!e.sourceFile}function JA(e,t){return JL(e,t)}function JL(e,t="",n){let r=new Map,i=_7(!!e);function a(e){return"function"==typeof e.getCompilationSettings?e.getCompilationSettings():e}function o(e,t,n,r,i,a,o,s){return c(e,t,n,r,i,a,!0,o,s)}function s(e,t,n,r,i,o,s,l){return c(e,t,a(n),r,i,o,!1,s,l)}function l(e,t){let n=JS(e)?e:e.get(T.checkDefined(t,"If there are more than one scriptKind's for same document the scriptKind should be provided"));return T.assert(void 0===t||!n||n.sourceFile.scriptKind===t,`Script kind should match provided ScriptKind:${t} and sourceFile.scriptKind: ${null==n?void 0:n.sourceFile.scriptKind}, !entry: ${!n}`),n}function c(e,t,i,o,s,c,d,u,_){var p,f,m,h;u=Cz(e,u);let y=a(i),g=i===y?void 0:i,v=6===u?100:Ct(y),b="object"==typeof _?_:{languageVersion:v,impliedNodeFormat:g&&VH(t,null==(h=null==(m=null==(f=null==(p=g.getCompilerHost)?void 0:p.call(g))?void 0:f.getModuleResolutionCache)?void 0:m.call(f))?void 0:h.getPackageJsonInfoCache(),g,y),setExternalModuleIndicator:Ce(y)};b.languageVersion=v;let E=r.size,x=Jk(o,b.impliedNodeFormat),S=uf(r,x,()=>new Map);if(Q){r.size>E&&Q.instant(Q.Phase.Session,"createdDocumentRegistryBucket",{configFilePath:y.configFilePath,key:x});let e=!Mf(t)&&vl(r,(e,n)=>n!==x&&e.has(t)&&n);e&&Q.instant(Q.Phase.Session,"documentRegistryBucketOverlap",{path:t,key1:e,key2:x})}let A=S.get(t),L=A&&l(A,u);if(!L&&n){let e=n.getDocument(x,t);e&&(T.assert(d),L={sourceFile:e,languageServiceRefCount:0},C())}if(L)L.sourceFile.version!==c&&(L.sourceFile=Yl(L.sourceFile,s,c,s.getChangeRange(L.sourceFile.scriptSnapshot)),n&&n.setDocument(x,t,L.sourceFile)),d&&L.languageServiceRefCount++;else{let r=Ys(e,s,b,c,!1,u);n&&n.setDocument(x,t,r),L={sourceFile:r,languageServiceRefCount:1},C()}return T.assert(0!==L.languageServiceRefCount),L.sourceFile;function C(){if(A){if(JS(A)){let e=new Map;e.set(A.sourceFile.scriptKind,A),e.set(u,L),S.set(t,e)}else A.set(u,L)}else S.set(t,L)}}function d(e,t,n,i){let a=T.checkDefined(r.get(Jk(t,i))),o=a.get(e),s=l(o,n);s.languageServiceRefCount--,T.assert(s.languageServiceRefCount>=0),0===s.languageServiceRefCount&&(JS(o)?a.delete(e):(o.delete(n),1===o.size&&a.set(e,dX(o.values(),_C))))}return{acquireDocument:function(e,n,r,s,l,c){let d=fR(e,t,i),u=JC(a(n));return o(e,d,n,u,r,s,l,c)},acquireDocumentWithKey:o,updateDocument:function(e,n,r,o,l,c){let d=fR(e,t,i),u=JC(a(n));return s(e,d,n,u,r,o,l,c)},updateDocumentWithKey:s,releaseDocument:function(e,n,r,a){return d(fR(e,t,i),JC(n),r,a)},releaseDocumentWithKey:d,getLanguageServiceRefCounts:function(e,t){return u9(r.entries(),([n,r])=>{let i=r.get(e),a=i&&l(i,t);return[n,a&&a.languageServiceRefCount]})},reportStats:function(){return JSON.stringify(u9(r.keys()).filter(e=>e&&"_"===e.charAt(0)).map(e=>{let t=r.get(e),n=[];return t.forEach((e,t)=>{JS(e)?n.push({name:t,scriptKind:e.sourceFile.scriptKind,refCount:e.languageServiceRefCount}):e.forEach((e,r)=>n.push({name:t,scriptKind:r,refCount:e.languageServiceRefCount}))}),n.sort((e,t)=>t.refCount-e.refCount),{bucket:e,sourceFiles:n}}),void 0,2)},getKeyForCompilationSettings:JC}}function JC(e){return Pq(e,rW)}function Jk(e,t){return t?`${e}|${t}`:e}var JI=dj({"src/services/documentRegistry.ts"(){ecu()}});function Jw(e,t,n,r,i,a,s){let l=Sm(r),c=_7(l),d=JR(t,n,c,s),u=JR(n,t,c,s);return esW.ChangeTracker.with({host:r,formatContext:i,preferences:a},i=>{(function(e,t,n,r,i,a,o){let{configFile:s}=e.getCompilerOptions();if(!s)return;let l=fy(s.fileName),c=Ef(s);function d(e){let t=Rf(e.initializer)?e.initializer.elements:[e.initializer],n=!1;for(let e of t)n=u(e)||n;return n}function u(e){if(!wr(e))return!1;let r=n(JN(l,e.text));return void 0!==r&&(t.replaceRangeWithText(s,JO(e,s),fH(l,r,!o)),!0)}c&&JM(c,(e,n)=>{switch(n){case"files":case"include":case"exclude":{if(d(e)||"include"!==n||!Rf(e.initializer))return;let c=uu(e.initializer.elements,e=>wr(e)?e.text:void 0);if(0===c.length)return;let u=CH(l,[],c,o,a);CK(T.checkDefined(u.includeFilePattern),o).test(r)&&!CK(T.checkDefined(u.includeFilePattern),o).test(i)&&t.insertNodeAfter(s,uX(e.initializer.elements),nU.createStringLiteral(fH(l,i,!o)));return}case"compilerOptions":JM(e.initializer,(e,t)=>{let n=MR(t);T.assert((null==n?void 0:n.type)!=="listOrElement"),n&&(n.isFilePath||"list"===n.type&&n.element.isFilePath)?d(e):"paths"===t&&JM(e.initializer,e=>{if(Rf(e.initializer))for(let t of e.initializer.elements)u(t)})});return}})})(e,i,d,t,n,r.getCurrentDirectory(),l),function(e,t,n,r,i,a){let s=e.getSourceFiles();for(let l of s){let c=n(l.fileName),d=null!=c?c:l.fileName,u=fy(d),_=r(l.fileName),p=_||l.fileName,f=fy(p),m=void 0!==c||void 0!==_;(function(e,t,n,r){for(let r of e.referencedFiles||o){let i=n(r.fileName);void 0!==i&&i!==e.text.slice(r.pos,r.end)&&t.replaceRangeWithText(e,r,i)}for(let n of e.imports){let i=r(n);void 0!==i&&i!==n.text&&t.replaceRangeWithText(e,JO(n,e),i)}})(l,t,e=>{if(!fl(e))return;let t=n(JN(f,e));return void 0===t?void 0:fO(fH(u,t,a))},t=>{let r=e.getTypeChecker().getSymbolAtLocation(t);if((null==r?void 0:r.declarations)&&r.declarations.some(e=>v7(e)))return;let o=void 0!==_?JD(t,P6(t.text,p,e.getCompilerOptions(),i),n,s):function(e,t,n,r,i,a){var o;if(e){let t=d0(e.declarations,N0).fileName,n=a(t);return void 0===n?{newFileName:t,updated:!1}:{newFileName:n,updated:!0}}{let e=VI(n,t),s=i.resolveModuleNameLiterals||!i.resolveModuleNames?null==(o=n.resolvedModules)?void 0:o.get(t.text,e):i.getResolvedModuleWithFailedLookupLocationsFromCache&&i.getResolvedModuleWithFailedLookupLocationsFromCache(t.text,n.fileName,e);return JD(t,s,a,r.getSourceFiles())}}(r,t,l,e,i,n);return void 0!==o&&(o.updated||m&&fl(t.text))?Gh.updateModuleSpecifier(e.getCompilerOptions(),l,a(d),o.newFileName,zd(e,i),t.text):void 0})}}(e,i,d,u,r,c)})}function JR(e,t,n,r){let i=n(e);return e=>{let a,o=r&&r.tryGetSourcePosition({fileName:e,pos:0}),s=function(e){if(n(e)===i)return t;let r=CO(e,i,n);return void 0===r?void 0:t+"/"+r}(o?o.fileName:e);return o?void 0===s?void 0:(a=fW(o.fileName,s,n),JN(fy(e),a)):s}}function JN(e,t){return fO(fI(fA(e,t)))}function JD(e,t,n,r){if(!t)return;if(t.resolvedModule){let e=o(t.resolvedModule.resolvedFileName);if(e)return e}let i=dz(t.failedLookupLocations,function(e){let t=n(e);return t&&d0(r,e=>e.fileName===t)?a(e):void 0})||fl(e.text)&&dz(t.failedLookupLocations,a);if(i)return i;return t.resolvedModule&&{newFileName:t.resolvedModule.resolvedFileName,updated:!1};function a(e){return _Z(e,"/package.json")?void 0:o(e)}function o(e){let t=n(e);return t&&{newFileName:t,updated:!0}}}function JO(e,t){return AX(e.getStart(t)+1,e.end-1)}function JM(e,t){if(Rm(e))for(let n of e.properties)NX(n)&&wr(n.name)&&t(n,n.name.text)}var JP=dj({"src/services/getEditsForFileRename.ts"(){ecu()}});function JF(e,t){return{kind:e,isCaseSensitive:t}}function JG(e){let t=new Map,n=e.trim().split(".").map(e=>{var t;return{totalTextChunk:JX(t=e.trim()),subWordTextChunks:function(e){let t=[],n=0,r=0;for(let i=0;i0&&(t.push(JX(e.substr(n,r))),r=0)}return r>0&&t.push(JX(e.substr(n,r))),t}(t)}});if(!n.some(e=>!e.subWordTextChunks.length))return{getFullMatch:(e,r)=>(function(e,t,n,r){let i;if(JV(t,uX(n),r)&&!(n.length-1>e.length)){for(let t=n.length-2,a=e.length-1;t>=0;t-=1,a-=1)i=_j([i,JV(e[a],n[t],r)],Jj);return i}})(e,r,n,t),getMatchForLastSegmentOfPattern:e=>JV(e,uX(n),t),patternContainsDots:n.length>1}}function JB(e,t){let n=t.get(e);return n||t.set(e,n=J$(e)),n}function JU(e,t,n){let r=function(e,t){let n=e.length-t.length;for(let r=0;r<=n;r++)if(J2(t,(t,n)=>Jq(e.charCodeAt(n+r))===t))return r;return -1}(e,t.textLowerCase);if(0===r)return JF(t.text.length===e.length?0:1,pn(e,t.text));if(t.isLowerCase){if(-1===r)return;for(let r of JB(e,n))if(JH(e,r,t.text,!0))return JF(2,JH(e,r,t.text,!1));if(t.text.length0)return JF(2,!0);if(t.characterSpans.length>0){let r=JB(e,n),i=!!JK(e,r,t,!1)||!JK(e,r,t,!0)&&void 0;if(void 0!==i)return JF(3,i)}}}function JV(e,t,n){let r;if(J2(t.totalTextChunk.text,e=>32!==e&&42!==e)){let r=JU(e,t.totalTextChunk,n);if(r)return r}for(let i of t.subWordTextChunks)r=_j([r,JU(e,i,n)],Jj);return r}function Jj(e,t){return void 0===e?1:void 0===t?-1:_U(e.kind,t.kind)||_$(!e.isCaseSensitive,!t.isCaseSensitive)}function JH(e,t,n,r,i={start:0,length:n.length}){return i.length<=t.length&&J1(0,i.length,a=>{var o,s;return o=n.charCodeAt(i.start+a),s=e.charCodeAt(t.start+a),r?Jq(o)===Jq(s):o===s})}function JK(e,t,n,r){let i,a;let o=n.characterSpans,s=0,l=0;for(;;){if(l===o.length)return!0;if(s===t.length)return!1;let c=t[s],d=!1;for(;l=65&&e<=90)return!0;if(e<127||!f1(e,99))return!1;let t=String.fromCharCode(e);return t===t.toUpperCase()}function Jz(e){if(e>=97&&e<=122)return!0;if(e<127||!f1(e,99))return!1;let t=String.fromCharCode(e);return t===t.toLowerCase()}function Jq(e){return e>=65&&e<=90?97+(e-65):e<127?e:String.fromCharCode(e).toLowerCase().charCodeAt(0)}function JJ(e){return e>=48&&e<=57}function JX(e){let t=e.toLowerCase();return{text:e,textLowerCase:t,isLowerCase:e===t,characterSpans:JY(e)}}function JY(e){return JQ(e,!1)}function J$(e){return JQ(e,!0)}function JQ(e,t){let n=[],r=0;for(let o=1;oJZ(e)&&95!==e,t,n)}function J1(e,t,n){for(let r=e;rt(e.charCodeAt(n),n))}var J4=dj({"src/services/patternMatcher.ts"(){var e;ecu(),(e=a3||{})[e.exact=0]="exact",e[e.prefix=1]="prefix",e[e.substring=2]="substring",e[e.camelCase=3]="camelCase",a3=e}});function J8(e,t=!0,n=!1){let r,i,a;let o={languageVersion:1,pragmas:void 0,checkJsDirective:void 0,referencedFiles:[],typeReferenceDirectives:[],libReferenceDirectives:[],amdDependencies:[],hasNoDefaultLib:void 0,moduleName:void 0},s=[],l=0,c=!1;function d(){return i=a,18===(a=aq.scan())?l++:19===a&&l--,a}function u(){let e=aq.getTokenValue(),t=aq.getTokenPos();return{fileName:e,pos:t,end:t+e.length}}function _(){s.push(u()),p()}function p(){0===l&&(c=!0)}function f(){if(24===i)return!1;let e=aq.getToken();if(100===e){if(20===(e=d()))(10===(e=d())||14===e)&&_();else if(10===e)_();else{if(154===e&&aq.lookAhead(()=>{let e=aq.scan();return 158!==e&&(41===e||18===e||79===e||xS(e))})&&(e=d()),79===e||xS(e)){if(158===(e=d())){if(10===(e=d()))return _(),!0}else if(63===e){if(m(!0))return!0}else{if(27!==e)return!0;e=d()}}if(18===e){for(e=d();19!==e&&1!==e;)e=d();19===e&&158===(e=d())&&10===(e=d())&&_()}else 41===e&&128===(e=d())&&(79===(e=d())||xS(e))&&158===(e=d())&&10===(e=d())&&_()}return!0}return!1}function m(e,t=!1){let n=e?d():aq.getToken();return 147===n&&(20===(n=d())&&(10===(n=d())||t&&14===n)&&_(),!0)}if(t&&function(){for(aq.setText(e),d();1!==aq.getToken();){if(15===aq.getToken()){let e=[aq.getToken()];t:for(;dW(e);){let t=aq.scan();switch(t){case 1:break t;case 100:f();break;case 15:e.push(t);break;case 18:dW(e)&&e.push(t);break;case 19:dW(e)&&(15===uJ(e)?17===aq.reScanTemplateToken(!1)&&e.pop():e.pop())}}d()}(function(){let e=aq.getToken();return 136===e&&(142===(e=d())&&10===(e=d())&&(r||(r=[]),r.push({ref:u(),depth:l})),!0)})()||f()||function(){let e=aq.getToken();if(93===e){if(p(),154===(e=d())&&aq.lookAhead(()=>{let e=aq.scan();return 41===e||18===e})&&(e=d()),18===e){for(e=d();19!==e&&1!==e;)e=d();19===e&&158===(e=d())&&10===(e=d())&&_()}else 41===e?158===(e=d())&&10===(e=d())&&_():100===e&&(154===(e=d())&&aq.lookAhead(()=>{let e=aq.scan();return 79===e||xS(e)})&&(e=d()),(79===e||xS(e))&&63===(e=d())&&m(!0));return!0}return!1}()||n&&(m(!1,!0)||function(){let e=aq.getToken();if(79===e&&"define"===aq.getTokenValue()){if(20!==(e=d()))return!0;if(10===(e=d())||14===e){if(27!==(e=d()))return!0;e=d()}if(22!==e)return!0;for(e=d();23!==e&&1!==e;)(10===e||14===e)&&_(),e=d();return!0}return!1}())||d()}aq.setText(void 0)}(),Mm(o,e),Mh(o,_x),c){if(r)for(let e of r)s.push(e.ref);return{referencedFiles:o.referencedFiles,typeReferenceDirectives:o.typeReferenceDirectives,libReferenceDirectives:o.libReferenceDirectives,importedFiles:s,isLibFile:!!o.hasNoDefaultLib,ambientExternalModules:void 0}}{let e;if(r)for(let t of r)0===t.depth?(e||(e=[]),e.push(t.ref.fileName)):s.push(t.ref);return{referencedFiles:o.referencedFiles,typeReferenceDirectives:o.typeReferenceDirectives,libReferenceDirectives:o.libReferenceDirectives,importedFiles:s,isLibFile:!!o.hasNoDefaultLib,ambientExternalModules:e}}}var J6=dj({"src/services/preProcess.ts"(){ecu()}});function J3(e){let t=_7(e.useCaseSensitiveFileNames()),n=e.getCurrentDirectory(),r=new Map,i=new Map;return{tryGetSourcePosition:function e(t){if(!Mf(t.fileName)||!o(t.fileName))return;let n=a(t.fileName).getSourcePosition(t);return n&&n!==t?e(n)||n:void 0},tryGetGeneratedPosition:function(r){if(Mf(r.fileName))return;let i=o(r.fileName);if(!i)return;let s=e.getProgram();if(s.isSourceOfProjectReferenceRedirect(i.fileName))return;let l=SL(s.getCompilerOptions()),c=l?C4(l)+".d.ts":Sx(r.fileName,s.getCompilerOptions(),n,s.getCommonSourceDirectory(),t);if(void 0===c)return;let d=a(c,r.fileName).getGeneratedPosition(r);return d===r?void 0:d},toLineColumnOffset:function(e,t){return s(e).getLineAndCharacterOfPosition(t)},clearCache:function(){r.clear(),i.clear()}};function a(r,a){let o;let l=fR(r,n,t),c=i.get(l);if(c)return c;if(e.getDocumentPositionMapper)o=e.getDocumentPositionMapper(r,a);else if(e.readFile){let n=s(r);o=n&&J5({getSourceFileLike:s,getCanonicalFileName:t,log:t=>e.log(t)},r,Gj(n.text,f5(n)),t=>!e.fileExists||e.fileExists(t)?e.readFile(t):void 0)}return i.set(l,o||iN),o||iN}function o(r){let i=e.getProgram();if(!i)return;let a=fR(r,n,t),o=i.getSourceFileByPath(a);return o&&o.resolvedPath===a?o:void 0}function s(i){return e.getSourceFileLike?e.getSourceFileLike(i):o(i)||function(i){let a=fR(i,n,t),o=r.get(a);if(void 0!==o)return o||void 0;if(!e.readFile||e.fileExists&&!e.fileExists(a)){r.set(a,!1);return}let s=e.readFile(a),l=!!s&&{text:s,lineMap:void 0,getLineAndCharacterOfPosition(e){return f7(f5(this),e)}};return r.set(a,l),l||void 0}(i)}}function J5(e,t,n,r){let i=GH(n);if(i){let n=a5.exec(i);if(n){if(n[1]){let r=n[1];return J7(e,AK(tv,r),t)}i=void 0}}let a=[];i&&a.push(i),a.push(t+".map");let o=i&&fk(i,fy(t));for(let n of a){let i=fk(n,fy(t)),a=r(i,o);if(_v(a))return J7(e,a,i);if(void 0!==a)return a||void 0}}function J7(e,t,n){let r=Gz(t);if(r&&r.sources&&r.file&&r.mappings&&!(r.sourcesContent&&r.sourcesContent.some(_v)))return G2(e,r,n)}var J9=dj({"src/services/sourcemaps.ts"(){ecu(),ecu(),a5=/^data:(?:application\/json(?:;charset=[uU][tT][fF]-8);base64,([A-Za-z0-9+\/=]+)$)?/}});function Xe(e,t,n){var r;t.getSemanticDiagnostics(e,n);let i=[],a=t.getTypeChecker();!(1===e.impliedNodeFormat||f_(e.fileName,[".cts",".cjs"]))&&e.commonJsModuleIndicator&&(zl(t)||zc(t.getCompilerOptions()))&&e.statements.some(e=>{switch(e.kind){case 240:return e.declarationList.declarations.some(e=>!!e.initializer&&E8(function e(t){return Rh(t)?e(t.expression):t}(e.initializer),!0));case 241:{let{expression:t}=e;if(!RR(t))return E8(t,!0);let n=Tf(t);return 1===n||2===n}default:return!1}})&&i.push(bC(RR(r=e.commonJsModuleIndicator)?r.left:r,tA.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module));let o=EZ(e);if(a7.clear(),function t(n){if(o)(function(e,t){var n,r,i,a;if(Rx(e)){if(Nr(e.parent)&&(null==(n=e.symbol.members)?void 0:n.size))return!0;let a=t.getSymbolOfExpando(e,!1);return!!(a&&((null==(r=a.exports)?void 0:r.size)||(null==(i=a.members)?void 0:i.size)))}return!!Na(e)&&!!(null==(a=e.symbol.members)?void 0:a.size)})(n,a)&&i.push(bC(Nr(n.parent)?n.parent.name:n,tA.This_constructor_function_may_be_converted_to_a_class_declaration));else{if(RX(n)&&n.parent===e&&2&n.declarationList.flags&&1===n.declarationList.declarations.length){let e=n.declarationList.declarations[0].initializer;e&&E8(e,!0)&&i.push(bC(e,tA.require_call_may_be_converted_to_an_import))}enn.parameterShouldGetTypeFromJSDoc(n)&&i.push(bC(n.name||n,tA.JSDoc_types_may_be_moved_to_TypeScript_types))}Xl(n)&&!xD(n)&&n.body&&RJ(n.body)&&b6(n.body,e=>Xn(e,a))&&Xt(n,a)&&!a7.has(Xs(n))&&i.push(bC(!n.name&&Nr(n.parent)&&wb(n.parent.name)?n.parent.name:n,tA.This_may_be_converted_to_an_async_function)),n.forEachChild(t)}(e),Cp(t.getCompilerOptions()))for(let n of e.imports){let r=function(e){switch(e.kind){case 269:let{importClause:t,moduleSpecifier:n}=e;return t&&!t.name&&t.namedBindings&&271===t.namedBindings.kind&&wr(n)?t.namedBindings.name:void 0;case 268:return e.name;default:return}}(TR(n));if(!r)continue;let a=vp(e,n.text,VI(e,n)),o=a&&t.getSourceFile(a.resolvedFileName);o&&o.externalModuleIndicator&&!0!==o.externalModuleIndicator&&NS(o.externalModuleIndicator)&&o.externalModuleIndicator.isExportEquals&&i.push(bC(r,tA.Import_may_be_converted_to_a_default_import))}return uP(i,e.bindSuggestionDiagnostics),uP(i,t.getSuggestionDiagnostics(e,n)),i.sort((e,t)=>e.start-t.start)}function Xt(e,t){let n=t.getSignatureFromDeclaration(e),r=n?t.getReturnTypeOfSignature(n):void 0;return!!r&&!!t.getPromisedTypeOfPromise(r)}function Xn(e,t){return R3(e)&&!!e.expression&&Xr(e.expression,t)}function Xr(e,t){if(!Xi(e)||!Xa(e)||!e.arguments.every(e=>Xo(e,t)))return!1;let n=e.expression.expression;for(;Xi(n)||Rh(n);)if(Rg(n)){if(!Xa(n)||!n.arguments.every(e=>Xo(e,t)))return!1;n=n.expression.expression}else n=n.expression;return!0}function Xi(e){return Rg(e)&&(KV(e,"then")||KV(e,"catch")||KV(e,"finally"))}function Xa(e){let t=e.expression.name.text,n="then"===t?2:"catch"===t?1:"finally"===t?1:0;return!(e.arguments.length>n)&&(e.arguments.length104===e.kind||wb(e)&&"undefined"===e.text))}function Xo(e,t){switch(e.kind){case 259:case 215:if(1&xN(e))return!1;case 216:a7.set(Xs(e),!0);case 104:return!0;case 79:case 208:{let n=t.getSymbolAtLocation(e);if(!n)return!1;return t.isUndefinedSymbol(n)||uv(Lu(n,t).declarations,e=>yF(e)||gZ(e)&&!!e.initializer&&yF(e.initializer))}default:return!1}}function Xs(e){return`${e.pos.toString()}:${e.end.toString()}`}function Xl(e){switch(e.kind){case 259:case 171:case 215:case 216:return!0;default:return!1}}var Xc=dj({"src/services/suggestionDiagnostics.ts"(){ecu(),a7=new Map}});function Xd(e,t){let n,r;let i=[],a=t.compilerOptions?X_(t.compilerOptions,i):{},o=Yi();for(let e in o)u4(o,e)&&void 0===a[e]&&(a[e]=o[e]);for(let e of rq)a.verbatimModuleSyntax&&a9.has(e.name)||(a[e.name]=e.transpileOptionValue);a.suppressOutputPathCheck=!0,a.allowNonTsExtensions=!0;let s=AJ(a),l={getSourceFile:e=>e===fI(c)?d:void 0,writeFile:(e,t)=>{fu(e,".map")?(T.assertEqual(r,void 0,"Unexpected multiple source map outputs, file:",e),r=t):(T.assertEqual(n,void 0,"Unexpected multiple outputs, file:",e),n=t)},getDefaultLibFileName:()=>"lib.d.ts",useCaseSensitiveFileNames:()=>!1,getCanonicalFileName:e=>e,getCurrentDirectory:()=>"",getNewLine:()=>s,fileExists:e=>e===c,readFile:()=>"",directoryExists:()=>!0,getDirectories:()=>[]},c=t.fileName||(t.compilerOptions&&t.compilerOptions.jsx?"module.tsx":"module.ts"),d=Ms(c,e,{languageVersion:Ct(a),impliedNodeFormat:VH(fR(c,"",l.getCanonicalFileName),void 0,l,a),setExternalModuleIndicator:Ce(a)});t.moduleName&&(d.moduleName=t.moduleName),t.renamedDependencies&&(d.renamedDependencies=new Map(Object.entries(t.renamedDependencies)));let u=VW([c],a,l);return(t.reportDiagnostics&&(uP(i,u.getSyntacticDiagnostics(d)),uP(i,u.getOptionsDiagnostics())),u.emit(void 0,void 0,void 0,void 0,t.transformers),void 0===n)?T.fail("Output generation failed"):{outputText:n,diagnostics:i,sourceMapText:r}}function Xu(e,t,n,r,i){let a=Xd(e,{compilerOptions:t,fileName:n,reportDiagnostics:!!r,moduleName:i});return uP(r,a.diagnostics),a.outputText}function X_(e,t){for(let n of(oe=oe||d9(rU,e=>"object"==typeof e.type&&!vl(e.type,e=>"number"!=typeof e)),e=WX(e),oe)){if(!u4(e,n.name))continue;let r=e[n.name];_v(r)?e[n.name]=MS(n,r,t):vl(n.type,e=>e===r)||t.push(MT(n))}return e}var Xp=dj({"src/services/transpile.ts"(){ecu(),a9=new Set(["isolatedModules","preserveValueImports","importsNotUsedAsValues"])}});function Xf(e,t,n,r,i,a){let s=JG(r);if(!s)return o;let l=[];for(let r of e)n.throwIfCancellationRequested(),a&&r.isDeclarationFile||r.getNamedDeclarations().forEach((e,n)=>{!function(e,t,n,r,i,a){let s=e.getMatchForLastSegmentOfPattern(t);if(s){for(let l of n)if(function(e,t){switch(e.kind){case 270:case 273:case 268:let n=t.getSymbolAtLocation(e.name),r=t.getAliasedSymbol(n);return n.escapedName!==r.escapedName;default:return!0}}(l,r)){if(e.patternContainsDots){let n=e.getFullMatch(function(e){let t=[],n=hp(e);if(n&&164===n.kind&&!Xm(n.expression,t))return o;t.shift();let r=KZ(e);for(;r;){if(!function(e,t){let n=hp(e);return!!n&&(Xh(n,t)||164===n.kind&&Xm(n.expression,t))}(r,t))return o;r=KZ(r)}return t.reverse()}(l),t);n&&a.push({name:t,fileName:i,matchKind:n.kind,isCaseSensitive:n.isCaseSensitive,declaration:l})}else a.push({name:t,fileName:i,matchKind:s.kind,isCaseSensitive:s.isCaseSensitive,declaration:l})}}}(s,n,e,t,r.fileName,l)});return l.sort(Xy),(void 0===i?l:l.slice(0,i)).map(Xg)}function Xm(e,t){return Xh(e,t)||Rh(e)&&(t.push(e.name.text),!0)&&Xm(e.expression,t)}function Xh(e,t){return xB(e)&&(t.push(xU(e)),!0)}function Xy(e,t){return _U(e.matchKind,t.matchKind)||_X(e.name,t.name)}function Xg(e){let t=e.declaration,n=KZ(t),r=n&&hp(n);return{name:e.name,kind:K0(t),kindModifiers:WV(t),matchKind:a3[e.matchKind],isCaseSensitive:e.isCaseSensitive,fileName:e.fileName,textSpan:W1(t),containerName:r?r.text:"",containerKind:r?K0(n):""}}var Xv=dj({"src/services/navigateTo.ts"(){ecu()}}),Xb={};dH(Xb,{getNavigateToItems:()=>Xf});var XE=dj({"src/services/_namespaces/ts.NavigateTo.ts"(){Xv()}});function XT(e,t){or=t,oi=e;try{var n;let t;return un((n=Xk(e),t=[],function e(n){if(function(e){if(e.children)return!0;switch(XL(e)){case 260:case 228:case 263:case 261:case 264:case 308:case 262:case 349:case 341:return!0;case 216:case 259:case 215:return function(e){if(!e.node.body)return!1;switch(XL(e.parent)){case 265:case 308:case 171:case 173:return!0;default:return!1}}(e);default:return!1}}(n)&&(t.push(n),n.children))for(let t of n.children)e(t)}(n),t),XJ)}finally{XS()}}function Xx(e,t){or=t,oi=e;try{return function e(t){return{text:Xq(t.node,t.name),kind:K0(t.node),kindModifiers:XZ(t.node),spans:XX(t),nameSpan:t.name&&XQ(t.name),childItems:un(t.children,e)}}(Xk(e))}finally{XS()}}function XS(){oi=void 0,or=void 0,oa=[],oo=void 0,oc=[]}function XA(e){return X1(e.getText(oi))}function XL(e){return e.node.kind}function XC(e,t){e.children?e.children.push(t):e.children=[t]}function Xk(e){T.assert(!oa.length);let t={node:e,name:void 0,additionalNodes:void 0,parent:void 0,children:void 0,indent:0};for(let n of(oo=t,e.statements))XB(n);return XM(),T.assert(!oo&&!oa.length),t}function XI(e,t){XC(oo,Xw(e,t))}function Xw(e,t){return{node:e,name:t||(gO(e)||gp(e)?hp(e):void 0),additionalNodes:void 0,parent:oo,children:void 0,indent:oo.indent+1}}function XR(e){ol||(ol=new Map),ol.set(e,!0)}function XN(e){for(let t=0;t0;t--)XO(e,n[t]);return[n.length-1,n[0]]}function XO(e,t){let n=Xw(e,t);XC(oo,n),oa.push(oo),os.push(ol),ol=void 0,oo=n}function XM(){oo.children&&(XU(oo.children,oo),XK(oo.children)),oo=oa.pop(),ol=os.pop()}function XP(e,t,n){XO(e,n),XB(t),XM()}function XF(e){e.initializer&&function(e){switch(e.kind){case 216:case 215:case 228:return!0;default:return!1}}(e.initializer)?(XO(e),Mr(e.initializer,XB),XM()):XP(e,e.initializer)}function XG(e){return!xP(e)||223!==e.kind&&Rh(e.name.expression)&&wb(e.name.expression.expression)&&"Symbol"===hi(e.name.expression.expression)}function XB(e){if(or.throwIfCancellationRequested(),!(!e||y_(e)))switch(e.kind){case 173:for(let t of(XP(e,e.body),e.parameters))mZ(t,e)&&XI(t);break;case 171:case 174:case 175:case 170:XG(e)&&XP(e,e.body);break;case 169:XG(e)&&XF(e);break;case 168:XG(e)&&XI(e);break;case 270:e.name&&XI(e.name);let{namedBindings:t}=e;if(t){if(271===t.kind)XI(t);else for(let e of t.elements)XI(e)}break;case 300:XP(e,e.name);break;case 301:let{expression:n}=e;wb(n)?XI(e,n):XI(e);break;case 205:case 299:case 257:y2(e.name)?XB(e.name):XF(e);break;case 259:let r=e.name;r&&wb(r)&&XR(r.text),XP(e,e.body);break;case 216:case 215:XP(e,e.body);break;case 263:for(let t of(XO(e),e.members))t.name&&164!==t.name.kind&&XI(t);XM();break;case 260:case 228:case 261:for(let t of(XO(e),e.members))XB(t);XM();break;case 264:XP(e,function e(t){return t.body&&Nd(t.body)?e(t.body):t}(e).body);break;case 274:{let t=e.expression,n=Rm(t)||Rg(t)?t:RS(t)||Rx(t)?t.body:void 0;n?(XO(e),XB(n),XM()):XI(e);break}case 278:case 268:case 178:case 176:case 177:case 262:XI(e);break;case 210:case 223:{let t=Tf(e);switch(t){case 1:case 2:XP(e,e.right);return;case 6:case 3:{let n;let r=e.left,i=3===t?r.expression:r,a=0;wb(i.expression)?(XR(i.expression.text),n=i.expression):[a,n]=XD(e,i.expression),6===t?Rm(e.right)&&e.right.properties.length>0&&(XO(e,n),Mr(e.right,XB),XM()):Rx(e.right)||RS(e.right)?XP(e,e.right,n):(XO(e,n),XP(e,e.right,r.name),XM()),XN(a);return}case 7:case 9:{let n=7===t?e.arguments[0]:e.arguments[0].expression,r=e.arguments[1],[i,a]=XD(e,n);XO(e,a),XO(e,OV(nU.createIdentifier(r.text),r)),XB(e.arguments[2]),XM(),XM(),XN(i);return}case 5:{let t=e.left,n=t.expression;if(wb(n)&&"prototype"!==Tx(t)&&ol&&ol.has(n.text)){Rx(e.right)||RS(e.right)?XP(e,e.right,n):Tg(t)&&(XO(e,n),XP(e.left,e.right,TE(t)),XM());return}break}case 4:case 0:case 8:break;default:T.assertNever(t)}}default:g$(e)&&dz(e.jsDoc,e=>{dz(e.tags,e=>{TB(e)&&XI(e)})}),Mr(e,XB)}}function XU(e,t){let n=new Map;ue(e,(e,r)=>{let i=e.name||hp(e.node),a=i&&XA(i);if(!a)return!0;let o=n.get(a);if(!o)return n.set(a,e),!0;if(o instanceof Array){for(let n of o)if(XV(n,e,r,t))return!1;return o.push(e),!0}return!XV(o,e,r,t)&&(n.set(a,[o,e]),!0)})}function XV(e,t,n,r){return!!function(e,t,n,r){function i(e){return Rx(e)||Na(e)||Nr(e)}let a=RR(t.node)||Rg(t.node)?Tf(t.node):0,o=RR(e.node)||Rg(e.node)?Tf(e.node):0;if(od[a]&&od[o]||i(e.node)&&od[a]||i(t.node)&&od[o]||No(e.node)&&Xj(e.node)&&od[a]||No(t.node)&&od[o]||No(e.node)&&Xj(e.node)&&i(t.node)||No(t.node)&&i(e.node)&&Xj(e.node)){let a=e.additionalNodes&&uJ(e.additionalNodes)||e.node;if(!No(e.node)&&!No(t.node)||i(e.node)||i(t.node)){let n=i(e.node)?e.node:i(t.node)?t.node:void 0;if(void 0!==n){let r=Xw(OV(nU.createConstructorDeclaration(void 0,[],void 0),n));r.indent=e.indent+1,r.children=e.node===n?e.children:t.children,e.children=e.node===n?uE([r],t.children||[t]):uE(e.children||[{...e}],[r])}else(e.children||t.children)&&(e.children=uE(e.children||[{...e}],t.children||[t]),e.children&&(XU(e.children,e),XK(e.children)));a=e.node=OV(nU.createClassDeclaration(void 0,e.name||nU.createIdentifier("__class__"),void 0,void 0,[]),e.node)}else e.children=uE(e.children,t.children),e.children&&XU(e.children,e);let o=t.node;return r.children[n-1].node.end===a.end?OV(a,{pos:a.pos,end:o.end}):(e.additionalNodes||(e.additionalNodes=[]),e.additionalNodes.push(OV(nU.createClassDeclaration(void 0,e.name||nU.createIdentifier("__class__"),void 0,void 0,[]),t.node))),!0}return 0!==a}(e,t,n,r)||!!function(e,t,n){if(e.kind!==t.kind||e.parent!==t.parent&&!(XH(e,n)&&XH(t,n)))return!1;switch(e.kind){case 169:case 171:case 174:case 175:return S5(e)===S5(t);case 264:return function e(t,n){return t.body&&n.body?t.body.kind===n.body.kind&&(264!==t.body.kind||e(t.body,n.body)):t.body===n.body}(e,t)&&X$(e)===X$(t);default:return!0}}(e.node,t.node,r)&&(e.additionalNodes=e.additionalNodes||[],e.additionalNodes.push(t.node),t.additionalNodes&&e.additionalNodes.push(...t.additionalNodes),e.children=uE(e.children,t.children),e.children&&(XU(e.children,e),XK(e.children)),!0)}function Xj(e){return!!(8&e.flags)}function XH(e,t){let n=Nu(e.parent)?e.parent.parent:e.parent;return n===t.node||d6(t.additionalNodes,n)}function XK(e){e.sort(XW)}function XW(e,t){return _X(Xz(e.node),Xz(t.node))||_U(XL(e),XL(t))}function Xz(e){if(264===e.kind)return XY(e);let t=hp(e);if(t&&yM(t)){let e=xG(t);return e&&hr(e)}switch(e.kind){case 215:case 216:case 228:return X0(e);default:return}}function Xq(e,t){if(264===e.kind)return X1(XY(e));if(t){let e=wb(t)?t.text:Ry(t)?`[${XA(t.argumentExpression)}]`:XA(t);if(e.length>0)return X1(e)}switch(e.kind){case 308:return Md(e)?`"${Si(fg(C4(fI(e.fileName))))}"`:"";case 274:return NS(e)&&e.isExportEquals?"export=":"default";case 216:case 259:case 215:case 260:case 228:if(1024&Ad(e))return"default";return X0(e);case 173:return"constructor";case 177:return"new()";case 176:return"()";case 178:return"[]";default:return""}}function XJ(e){return{text:Xq(e.node,e.name),kind:K0(e.node),kindModifiers:XZ(e.node),spans:XX(e),childItems:un(e.children,function(e){return{text:Xq(e.node,e.name),kind:K0(e.node),kindModifiers:WV(e.node),spans:XX(e),childItems:oc,indent:0,bolded:!1,grayed:!1}})||oc,indent:e.indent,bolded:!1,grayed:!1}}function XX(e){let t=[XQ(e.node)];if(e.additionalNodes)for(let n of e.additionalNodes)t.push(XQ(n));return t}function XY(e){return v7(e)?v$(e.name):X$(e)}function X$(e){let t=[xU(e.name)];for(;e.body&&264===e.body.kind;)t.push(xU((e=e.body).name));return t.join(".")}function XQ(e){return 308===e.kind?W8(e):W1(e,oi)}function XZ(e){return e.parent&&257===e.parent.kind&&(e=e.parent),WV(e)}function X0(e){let{parent:t}=e;if(e.name&&v_(e.name)>0)return X1(bE(e.name));if(Nr(t))return X1(bE(t.name));if(RR(t)&&63===t.operatorToken.kind)return XA(t.left).replace(ot,"");if(NX(t))return XA(t.name);if(1024&Ad(e))return"default";if(yW(e))return"";if(Rg(t)){let e=function e(t){if(wb(t))return t.text;if(Rh(t)){let n=e(t.expression),r=t.name.text;return void 0===n?r:`${n}.${r}`}}(t.expression);if(void 0!==e)return(e=X1(e)).length>on?`${e} callback`:`${e}(${X1(uu(t.arguments,e=>g8(e)?e.getText(oi):void 0).join(", "))}) callback`}return""}function X1(e){return(e=e.length>on?e.substring(0,on)+"...":e).replace(/\\?(\r?\n|\r|\u2028|\u2029)/g,"")}var X2=dj({"src/services/navigationBar.ts"(){ecu(),ot=/\s+/g,on=150,oa=[],os=[],oc=[],od={5:!0,3:!0,7:!0,9:!0,0:!1,1:!1,2:!1,8:!1,6:!0,4:!1}}}),X4={};dH(X4,{getNavigationBarItems:()=>XT,getNavigationTree:()=>Xx});var X8=dj({"src/services/_namespaces/ts.NavigationBar.ts"(){X2()}});function X6(e,t,n,r){let i=yd(e)?new o_(e,t,n):79===e?new oh(79,t,n):80===e?new oy(80,t,n):new om(e,t,n);return i.parent=r,i.flags=50720768&r.flags,i}function X3(e,t,n,r){for(aq.setTextPos(t);t"inheritDoc"===e.tagName.text||"inheritdoc"===e.tagName.text)}function X7(e,t){if(!e)return o;let n=eig.getJsDocTagsFromDeclarations(e,t);if(t&&(0===n.length||e.some(X5))){let r=new Set;for(let i of e){let e=Ye(t,i,e=>{var n;if(!r.has(e))return(r.add(e),174===i.kind||175===i.kind)?e.getContextualJsDocTags(i,t):(null==(n=e.declarations)?void 0:n.length)===1?e.getJsDocTags():void 0});e&&(n=[...e,...n])}}return n}function X9(e,t){if(!e)return o;let n=eig.getJsDocCommentsFromDeclarations(e,t);if(t&&(0===n.length||e.some(X5))){let r=new Set;for(let i of e){let e=Ye(t,i,e=>{if(!r.has(e))return(r.add(e),174===i.kind||175===i.kind)?e.getContextualDocumentationComment(i,t):e.getDocumentationComment(t)});e&&(n=0===n.length?e.slice():e.concat(zZ(),n))}}return n}function Ye(e,t,n){var r;let i=(null==(r=t.parent)?void 0:r.kind)===173?t.parent.parent:t.parent;if(!i)return;let a=S7(t);return dJ(xb(i),r=>{let i=e.getTypeAtLocation(r),o=a&&i.symbol?e.getTypeOfSymbol(i.symbol):i,s=e.getPropertyOfType(o,t.symbol.name);return s?n(s):void 0})}function Yt(e){let t=!0;for(let n in e)if(u4(e,n)&&!Yn(n)){t=!1;break}if(t)return e;let n={};for(let t in e)u4(e,t)&&(n[Yn(t)?t:t.charAt(0).toLowerCase()+t.substr(1)]=e[t]);return n}function Yn(e){return!e.length||e.charAt(0)===e.charAt(0).toLowerCase()}function Yr(e){return e?un(e,e=>e.text).join(""):""}function Yi(){return{target:1,jsx:1}}function Ya(){return enn.getSupportedErrorCodes()}function Yo(e,t,n){e.version=n,e.scriptSnapshot=t}function Ys(e,t,n,r,i,a){let o=Ms(e,zr(t),n,i,a);return Yo(o,t,r),o}function Yl(e,t,n,r,i){if(r&&n!==e.version){let a;let o=0!==r.span.start?e.text.substr(0,r.span.start):"",s=mO(r.span)!==e.text.length?e.text.substr(mO(r.span)):"";if(0===r.newLength)a=o&&s?o+s:o||s;else{let e=t.getText(r.span.start,r.span.start+r.newLength);a=o&&s?o+e+s:o?o+e:e+s}let l=Mu(e,a,r,i);return Yo(l,t,n),l.nameTable=void 0,e!==l&&e.scriptSnapshot&&(e.scriptSnapshot.dispose&&e.scriptSnapshot.dispose(),e.scriptSnapshot=void 0),l}let a={languageVersion:e.languageVersion,impliedNodeFormat:e.impliedNodeFormat,setExternalModuleIndicator:e.setExternalModuleIndicator};return Ys(e.fileName,t,a,n,!0,e.scriptKind)}function Yc(e,t=JL(e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames(),e.getCurrentDirectory()),n){var r;let i,a,s;i=void 0===n?0:"boolean"==typeof n?n?2:0:n;let l=new oT(e),c=0,d=e.getCancellationToken?new oS(e.getCancellationToken()):ox,u=e.getCurrentDirectory();function _(t){e.log&&e.log(t)}LJ(null==(r=e.getLocalizedDiagnosticMessages)?void 0:r.bind(e));let p=Sm(e),f=_7(p),m=J3({useCaseSensitiveFileNames:()=>p,getCurrentDirectory:()=>u,getProgram:g,fileExists:_d(e,e.fileExists),readFile:_d(e,e.readFile),getDocumentPositionMapper:_d(e,e.getDocumentPositionMapper),getSourceFileLike:_d(e,e.getSourceFileLike),log:_});function h(e){let t=a.getSourceFile(e);if(!t){let t=Error(`Could not find source file: '${e}'.`);throw t.ProgramFiles=a.getSourceFiles().map(e=>e.fileName),t}return t}function y(){var n,r,o;let l;if(T.assert(2!==i),e.getProjectVersion){let t=e.getProjectVersion();if(t){if(s===t&&!(null==(n=e.hasChangedAutomaticTypeDirectiveNames)?void 0:n.call(e)))return;s=t}}let h=e.getTypeRootsVersion?e.getTypeRootsVersion():0;c!==h&&(_("TypeRoots version has changed; provide new program"),a=void 0,c=h);let y=e.getScriptFileNames().slice(),g=e.getCompilationSettings()||Yi(),v=e.hasInvalidatedResolutions||_S,b=_d(e,e.hasChangedAutomaticTypeDirectiveNames),E=null==(r=e.getProjectReferences)?void 0:r.call(e),x={getSourceFile:w,getSourceFileByPath:R,getCancellationToken:()=>d,getCanonicalFileName:f,useCaseSensitiveFileNames:()=>p,getNewLine:()=>AJ(g),getDefaultLibFileName:t=>e.getDefaultLibFileName(t),writeFile:_x,getCurrentDirectory:()=>u,fileExists:t=>e.fileExists(t),readFile:t=>e.readFile&&e.readFile(t),getSymlinkCache:_d(e,e.getSymlinkCache),realpath:_d(e,e.realpath),directoryExists:t=>Aq(t,e),getDirectories:t=>e.getDirectories?e.getDirectories(t):[],readDirectory:(t,n,r,i,a)=>(T.checkDefined(e.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'"),e.readDirectory(t,n,r,i,a)),onReleaseOldSourceFile:I,onReleaseParsedCommandLine:function(t,n,r){var i;e.getParsedCommandLine?null==(i=e.onReleaseParsedCommandLine)||i.call(e,t,n,r):n&&I(n.sourceFile,r)},hasInvalidatedResolutions:v,hasChangedAutomaticTypeDirectiveNames:b,trace:_d(e,e.trace),resolveModuleNames:_d(e,e.resolveModuleNames),getModuleResolutionCache:_d(e,e.getModuleResolutionCache),createHash:_d(e,e.createHash),resolveTypeReferenceDirectives:_d(e,e.resolveTypeReferenceDirectives),resolveModuleNameLiterals:_d(e,e.resolveModuleNameLiterals),resolveTypeReferenceDirectiveReferences:_d(e,e.resolveTypeReferenceDirectiveReferences),useSourceOfProjectReferenceRedirect:_d(e,e.useSourceOfProjectReferenceRedirect),getParsedCommandLine:k},S=x.getSourceFile,{getSourceFileWithCache:A}=Vh(x,e=>fR(e,u,f),(...e)=>S.call(x,...e));x.getSourceFile=A,null==(o=e.setCompilerHost)||o.call(e,x);let L={useCaseSensitiveFileNames:p,fileExists:e=>x.fileExists(e),readFile:e=>x.readFile(e),readDirectory:(...e)=>x.readDirectory(...e),trace:x.trace,getCurrentDirectory:x.getCurrentDirectory,onUnRecoverableConfigFileDiagnostic:_x},C=t.getKeyForCompilationSettings(g);function k(t){let n=fR(t,u,f),r=null==l?void 0:l.get(n);if(void 0!==r)return r||void 0;let i=e.getParsedCommandLine?e.getParsedCommandLine(t):function(e){let t=w(e,100);if(t)return t.path=fR(e,u,f),t.resolvedPath=t.path,t.originalFileName=t.fileName,M6(t,L,fk(fy(e),u),void 0,fk(e,u))}(t);return(l||(l=new Map)).set(n,i||!1),i}function I(e,n){let r=t.getKeyForCompilationSettings(n);t.releaseDocumentWithKey(e.resolvedPath,r,e.scriptKind,e.impliedNodeFormat)}function w(e,t,n,r){return R(e,fR(e,u,f),t,n,r)}function R(n,r,i,o,s){T.assert(x,"getOrCreateSourceFileByPath called after typical CompilerHost lifetime, check the callstack something with a reference to an old host.");let l=e.getScriptSnapshot(n);if(!l)return;let c=z3(n,e),d=e.getScriptVersion(n);if(!s){let o=a&&a.getSourceFileByPath(r);if(o){if(c===o.scriptKind)return t.updateDocumentWithKey(n,r,e,C,l,d,c,i);t.releaseDocumentWithKey(o.resolvedPath,t.getKeyForCompilationSettings(a.getCompilerOptions()),o.scriptKind,o.impliedNodeFormat)}}return t.acquireDocumentWithKey(n,r,e,C,l,d,c,i)}VV(a,y,g,(t,n)=>e.getScriptVersion(n),e=>x.fileExists(e),v,b,k,E)||(a=VW({rootNames:y,options:g,host:x,oldProgram:a,projectReferences:E}),x=void 0,l=void 0,m.clearCache(),a.getTypeChecker())}function g(){if(2===i){T.assert(void 0===a);return}return y(),a}function v(e,t,n){let r=fI(e);T.assert(n.some(e=>fI(e)===r)),y();let i=uu(n,e=>a.getSourceFile(e)),o=h(e);return a6.getDocumentHighlights(a,d,o,t,i)}function b(e,t,n,r){y();let i=n&&n.use===erX.FindReferencesUse.Rename?a.getSourceFiles().filter(e=>!a.isSourceFileDefaultLibrary(e)):a.getSourceFiles();return erX.findReferenceOrRenameEntries(a,d,i,e,t,n,r)}let E=new Map(Object.entries({18:19,20:21,22:23,31:29}));function x(t){return T.assertEqual(t.type,"install package"),e.installPackage?e.installPackage({fileName:fR(t.file,u,f),packageName:t.packageName}):Promise.reject("Host does not implement `installPackage`")}function S(e,t){return{lineStarts:e.getLineStarts(),firstLine:e.getLineAndCharacterOfPosition(t.pos).line,lastLine:e.getLineAndCharacterOfPosition(t.end).line}}function A(e,t,n){let r=l.getCurrentSourceFile(e),i=[],{lineStarts:a,firstLine:o,lastLine:s}=S(r,t),c=n||!1,d=Number.MAX_VALUE,u=new Map,_=new RegExp(/\S/),p=WN(r,a[o]),f=p?"{/*":"//";for(let e=o;e<=s;e++){let t=r.text.substring(a[e],r.getLineEndOfPosition(a[e])),i=_.exec(t);i&&(d=Math.min(d,i.index),u.set(e.toString(),i.index),t.substr(i.index,f.length)!==f&&(c=void 0===n||n))}for(let n=o;n<=s;n++){if(o!==s&&a[n]===t.end)continue;let l=u.get(n.toString());void 0!==l&&(p?i.push.apply(i,L(e,{pos:a[n]+d,end:r.getLineEndOfPosition(a[n])},c,p)):c?i.push({newText:f,span:{length:0,start:a[n]+d}}):r.text.substr(a[n]+l,f.length)===f&&i.push({newText:"",span:{length:f.length,start:a[n]+l}}))}return i}function L(e,t,n,r){var i;let a=l.getCurrentSourceFile(e),o=[],{text:s}=a,c=!1,d=n||!1,u=[],{pos:_}=t,p=void 0!==r?r:WN(a,_),f=p?"{/*":"/*",m=p?"*/}":"*/",h=p?"\\{\\/\\*":"\\/\\*",y=p?"\\*\\/\\}":"\\*\\/";for(;_<=t.end;){let e=s.substr(_,f.length)===f?f.length:0,r=WG(a,_+e);if(r)p&&(r.pos--,r.end++),u.push(r.pos),3===r.kind&&u.push(r.end),c=!0,_=r.end+1;else{let e=s.substring(_,t.end).search(`(${h})|(${y})`);d=void 0!==n?n:d||!zR(s,_,-1===e?t.end:_+e),_=-1===e?t.end+1:_+e+m.length}}if(d||!c){(null==(i=WG(a,t.pos))?void 0:i.kind)!==2&&uL(u,t.pos,_U),uL(u,t.end,_U);let e=u[0];s.substr(e,f.length)!==f&&o.push({newText:f,span:{length:0,start:e}});for(let e=1;e0?e-m.length:0,n=s.substr(t,m.length)===m?m.length:0;o.push({newText:"",span:{length:f.length,start:e-n}})}return o}function C(t,n,r,i,a,o){let[s,l]="number"==typeof n?[n,void 0]:[n.pos,n.end];return{file:t,startPosition:s,endPosition:l,program:g(),host:e,formatContext:ecc.getFormatContext(i,e),cancellationToken:d,preferences:r,triggerReason:a,kind:o}}E.forEach((e,t)=>E.set(e.toString(),Number(t)));let k={dispose:function(){if(a){let e=t.getKeyForCompilationSettings(a.getCompilerOptions());dz(a.getSourceFiles(),n=>t.releaseDocumentWithKey(n.resolvedPath,e,n.scriptKind,n.impliedNodeFormat)),a=void 0}e=void 0},cleanupSemanticCache:function(){a=void 0},getSyntacticDiagnostics:function(e){return y(),a.getSyntacticDiagnostics(h(e),d).slice()},getSemanticDiagnostics:function(e){y();let t=h(e),n=a.getSemanticDiagnostics(t,d);return Cg(a.getCompilerOptions())?[...n,...a.getDeclarationDiagnostics(t,d)]:n.slice()},getSuggestionDiagnostics:function(e){return y(),Xe(h(e),a,d)},getCompilerOptionsDiagnostics:function(){return y(),[...a.getOptionsDiagnostics(d),...a.getGlobalDiagnostics(d)]},getSyntacticClassifications:function(e,t){return Jb(d,l.getCurrentSourceFile(e),t)},getSemanticClassifications:function(e,t,n){return(y(),"2020"===(n||"original"))?YQ.v2020.getSemanticClassifications(a,d,h(e),t):Jh(a.getTypeChecker(),d,h(e),a.getClassifiableNames(),t)},getEncodedSyntacticClassifications:function(e,t){return JE(d,l.getCurrentSourceFile(e),t)},getEncodedSemanticClassifications:function(e,t,n){return(y(),"original"===(n||"original"))?Jg(a.getTypeChecker(),d,h(e),a.getClassifiableNames(),t):YQ.v2020.getEncodedSemanticClassifications(a,d,h(e),t)},getCompletionsAtPosition:function(t,n,r=ak,i){let o={..._C(r),includeCompletionsForModuleExports:r.includeCompletionsForModuleExports||r.includeExternalModuleExports,includeCompletionsWithInsertText:r.includeCompletionsWithInsertText||r.includeInsertTextCompletions};return y(),erh.getCompletionsAtPosition(e,a,_,h(t),n,o,r.triggerCharacter,r.triggerKind,d,i&&ecc.getFormatContext(i,e),r.includeSymbol)},getCompletionEntryDetails:function(t,n,r,i,o,s=ak,l){return y(),erh.getCompletionEntryDetails(a,_,h(t),n,{name:r,source:o,data:l},e,i&&ecc.getFormatContext(i,e),s,d)},getCompletionEntrySymbol:function(t,n,r,i,o=ak){return y(),erh.getCompletionEntrySymbol(a,_,h(t),n,{name:r,source:i},e,o)},getSignatureHelpItems:function(e,t,{triggerReason:n}=ak){y();let r=h(e);return ess.getSignatureHelpItems(a,r,t,n,d)},getQuickInfoAtPosition:function(e,t){y();let n=h(e),r=Wy(n,t);if(r===n)return;let i=a.getTypeChecker(),o=Rv(r.parent)&&r.pos===r.parent.pos?r.parent.expression:w6(r.parent)&&r.pos===r.parent.pos||bJ(r.parent)&&r.parent.name===r?r.parent:r,s=function(e,t){let n=Yu(e);if(n){let e=t.getContextualType(n.parent),r=e&&Y_(n,t,e,!1);if(r&&1===r.length)return uz(r)}return t.getSymbolAtLocation(e)}(o,i);if(!s||i.isUnknownSymbol(s)){let e=!function(e,t,n){switch(t.kind){case 79:return!KK(t)&&!KW(t)&&!yt(t.parent);case 208:case 163:return!WG(e,n);case 108:case 194:case 106:case 199:return!0;case 233:return bJ(t);default:return!1}}(n,o,t)?void 0:i.getTypeAtLocation(o);return e&&{kind:"",kindModifiers:"",textSpan:W1(o,n),displayParts:i.runWithCancellationToken(d,t=>z1(t,e,KZ(o))),documentation:e.symbol?e.symbol.getDocumentationComment(i):void 0,tags:e.symbol?e.symbol.getJsDocTags(i):void 0}}let{symbolKind:l,displayParts:c,documentation:u,tags:_}=i.runWithCancellationToken(d,e=>esT.getSymbolDisplayPartsDocumentationAndSymbolKind(e,s,n,KZ(o),o));return{kind:l,kindModifiers:esT.getSymbolModifiers(i,s),textSpan:W1(o,n),displayParts:c,documentation:u,tags:_}},getDefinitionAtPosition:function(e,t,n,r){return y(),eie.getDefinitionAtPosition(a,h(e),t,n,r)},getDefinitionAndBoundSpan:function(e,t){return y(),eie.getDefinitionAndBoundSpan(a,h(e),t)},getImplementationAtPosition:function(e,t){return y(),erX.getImplementationsAtPosition(a,d,a.getSourceFiles(),h(e),t)},getTypeDefinitionAtPosition:function(e,t){return y(),eie.getTypeDefinitionAtPosition(a.getTypeChecker(),h(e),t)},getReferencesAtPosition:function(e,t){return y(),b(Wy(h(e),t),t,{use:erX.FindReferencesUse.References},erX.toReferenceEntry)},findReferences:function(e,t){return y(),erX.findReferencedSymbols(a,d,a.getSourceFiles(),h(e),t)},getFileReferences:function(e){return y(),erX.Core.getReferencesForFileName(e,a,a.getSourceFiles()).map(erX.toReferenceEntry)},getOccurrencesAtPosition:function(e,t){return uo(v(e,t,[e]),e=>e.highlightSpans.map(t=>({fileName:e.fileName,textSpan:t.textSpan,isWriteAccess:"writtenReference"===t.kind,...t.isInString&&{isInString:!0},...t.contextSpan&&{contextSpan:t.contextSpan}})))},getDocumentHighlights:v,getNameOrDottedNameSpan:function(e,t,n){let r=l.getCurrentSourceFile(e),i=Wy(r,t);if(i===r)return;switch(i.kind){case 208:case 163:case 10:case 95:case 110:case 104:case 106:case 108:case 194:case 79:break;default:return}let a=i;for(;;)if(Kq(a)||Kz(a))a=a.parent;else if(KX(a)){if(264===a.parent.parent.kind&&a.parent.parent.body===a.parent)a=a.parent.parent.name;else break}else break;return mq(a.getStart(),i.getEnd())},getBreakpointStatementAtPosition:function(e,t){let n=l.getCurrentSourceFile(e);return YS.spanInSourceFileAtLocation(n,t)},getNavigateToItems:function(e,t,n,r=!1){return y(),Xf(n?[h(n)]:a.getSourceFiles(),a.getTypeChecker(),d,e,t,r)},getRenameInfo:function(e,t,n){return y(),eo4.getRenameInfo(a,h(e),t,n||{})},getSmartSelectionRange:function(e,t){return esf.getSmartSelectionRange(t,l.getCurrentSourceFile(e))},findRenameLocations:function(e,t,n,r,i){y();let a=h(e),o=Wh(Wy(a,t));if(eo4.nodeIsEligibleForRename(o)){if(!(wb(o)&&(NP(o.parent)||NF(o.parent))&&Sc(o.escapedText)))return b(o,t,{findInStrings:n,findInComments:r,providePrefixAndSuffixTextForRename:i,use:erX.FindReferencesUse.Rename},(e,t,n)=>erX.toRenameLocation(e,t,n,i||!1));{let{openingElement:e,closingElement:t}=o.parent.parent;return[e,t].map(e=>{let t=W1(e.tagName,a);return{fileName:a.fileName,textSpan:t,...erX.toContextSpan(t,a,e.parent)}})}}},getNavigationBarItems:function(e){return XT(l.getCurrentSourceFile(e),d)},getNavigationTree:function(e){return Xx(l.getCurrentSourceFile(e),d)},getOutliningSpans:function(e){let t=l.getCurrentSourceFile(e);return eiQ.collectElements(t,d)},getTodoComments:function(e,t){y();let n=h(e);d.throwIfCancellationRequested();let r=n.text,i=[];if(t.length>0&&!_2(n.fileName,"/node_modules/")){let e,o,s,l,c,u;let _=(o=/(?:\/\/+\s*)/.source,s=/(?:\/\*+\s*)/.source,l=/(?:^(?:\s|\*)*)/.source,c="(?:"+un(t,e=>"("+e.text.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")+")").join("|")+")",u=/(?:$|\*\/)/.source,RegExp("("+l+"|"+o+"|"+s+")("+c+/(?:.*?)/.source+")"+u,"gim"));for(;e=_.exec(r);){var a;let o;d.throwIfCancellationRequested(),T.assert(e.length===t.length+3);let s=e[1],l=e.index+s.length;if(!WG(n,l))continue;for(let n=0;n=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57)continue;let c=e[2];i.push({descriptor:o,message:c,position:l})}}return i},getBraceMatchingAtPosition:function(e,t){let n=l.getCurrentSourceFile(e),r=Wg(n,t),i=r.getStart(n)===t?E.get(r.kind.toString()):void 0,a=i&&Wo(r.parent,i,n);return a?[W1(r,n),W1(a,n)].sort((e,t)=>e.start-t.start):o},getIndentationAtPosition:function(e,t,n){let r=B(),i=Yt(n),a=l.getCurrentSourceFile(e);_("getIndentationAtPosition: getCurrentSourceFile: "+(B()-r)),r=B();let o=ecc.SmartIndenter.getIndentation(t,a,i);return _("getIndentationAtPosition: computeIndentation : "+(B()-r)),o},getFormattingEditsForRange:function(t,n,r,i){let a=l.getCurrentSourceFile(t);return ecc.formatSelection(n,r,a,ecc.getFormatContext(Yt(i),e))},getFormattingEditsForDocument:function(t,n){return ecc.formatDocument(l.getCurrentSourceFile(t),ecc.getFormatContext(Yt(n),e))},getFormattingEditsAfterKeystroke:function(t,n,r,i){let a=l.getCurrentSourceFile(t),o=ecc.getFormatContext(Yt(i),e);if(!WG(a,n))switch(r){case"{":return ecc.formatOnOpeningCurly(n,a,o);case"}":return ecc.formatOnClosingCurly(n,a,o);case";":return ecc.formatOnSemicolon(n,a,o);case"\n":return ecc.formatOnEnter(n,a,o)}return[]},getDocCommentTemplateAtPosition:function(t,n,r,i){let a=i?ecc.getFormatContext(i,e).options:void 0;return eig.getDocCommentTemplateAtPosition(zQ(e,a),l.getCurrentSourceFile(t),n,r)},isValidBraceCompletionAtPosition:function(e,t,n){if(60===n)return!1;let r=l.getCurrentSourceFile(e);if(WC(r,t))return!1;if(Wk(r,t))return 123===n;if(Ww(r,t))return!1;switch(n){case 39:case 34:case 96:return!WG(r,t)}return!0},getJsxClosingTagAtPosition:function(e,t){let n=l.getCurrentSourceFile(e),r=WS(t,n);if(!r)return;let i=31===r.kind&&NP(r.parent)?r.parent.parent:wi(r)&&NO(r.parent)?r.parent:void 0;if(i&&function e({openingElement:t,closingElement:n,parent:r}){return!Mg(t.tagName,n.tagName)||NO(r)&&Mg(t.tagName,r.openingElement.tagName)&&e(r)}(i))return{newText:``};let a=31===r.kind&&NB(r.parent)?r.parent.parent:wi(r)&&NG(r.parent)?r.parent:void 0;if(a&&function e({closingFragment:t,parent:n}){return!!(131072&t.flags)||NG(n)&&e(n)}(a))return{newText:""}},getSpanOfEnclosingComment:function(e,t,n){let r=l.getCurrentSourceFile(e),i=ecc.getRangeOfEnclosingComment(r,t);return i&&(!n||3===i.kind)?W8(i):void 0},getCodeFixesAtPosition:function(t,n,r,i,o,s=ak){y();let l=h(t),c=mq(n,r),u=ecc.getFormatContext(o,e);return uo(uS(i,_P,_U),t=>(d.throwIfCancellationRequested(),enn.getFixes({errorCode:t,sourceFile:l,span:c,program:a,host:e,cancellationToken:d,formatContext:u,preferences:s})))},getCombinedCodeFix:function(t,n,r,i=ak){y(),T.assert("file"===t.type);let o=h(t.fileName),s=ecc.getFormatContext(r,e);return enn.getAllFixes({fixId:n,sourceFile:o,program:a,host:e,cancellationToken:d,formatContext:s,preferences:i})},applyCodeActionCommand:function(e,t){let n="string"==typeof e?t:e;return _y(n)?Promise.all(n.map(e=>x(e))):x(n)},organizeImports:function(t,n,r=ak){var i;y(),T.assert("file"===t.type);let o=h(t.fileName),s=ecc.getFormatContext(n,e),l=null!=(i=t.mode)?i:t.skipDestructiveCodeActions?"SortAndCombine":"All";return eij.organizeImports(o,s,e,a,r,l)},getEditsForFileRename:function(t,n,r,i=ak){return Jw(g(),t,n,e,ecc.getFormatContext(r,e),i,m)},getEmitOutput:function(t,n,r){y();let i=h(t),o=e.getCustomTransformers&&e.getCustomTransformers();return V2(a,i,!!n,d,o,r)},getNonBoundSourceFile:function(e){return l.getCurrentSourceFile(e)},getProgram:g,getCurrentProgram:()=>a,getAutoImportProvider:function(){var t;return null==(t=e.getPackageJsonAutoImportProvider)?void 0:t.call(e)},updateIsDefinitionOfReferencedSymbols:function(t,n){let r=a.getTypeChecker(),i=function(){for(let i of t)for(let t of i.references){if(n.has(t)){let e=o(t);return T.assertIsDefined(e),r.getSymbolAtLocation(e)}let i=zD(t,m,_d(e,e.fileExists));if(i&&n.has(i)){let e=o(i);if(e)return r.getSymbolAtLocation(e)}}}();if(!i)return!1;for(let r of t)for(let t of r.references){let r=o(t);if(T.assertIsDefined(r),n.has(t)||erX.isDeclarationOfSymbol(r,i)){n.add(t),t.isDefinition=!0;let r=zD(t,m,_d(e,e.fileExists));r&&n.add(r)}else t.isDefinition=!1}return!0;function o(e){let t=a.getSourceFile(e.fileName);if(!t)return;let n=Wy(t,e.textSpan.start);return erX.Core.getAdjustedNode(n,{use:erX.FindReferencesUse.References})}},getApplicableRefactors:function(e,t,n=ak,r,i){y();let a=h(e);return eoX.getApplicableRefactors(C(a,t,n,ak,r,i))},getEditsForRefactor:function(e,t,n,r,i,a=ak){y();let o=h(e);return eoX.getEditsForRefactor(C(o,n,a,t),r,i)},toLineColumnOffset:function(e,t){return 0===t?{line:0,character:0}:m.toLineColumnOffset(e,t)},getSourceMapper:()=>m,clearSourceMapperCache:()=>m.clearCache(),prepareCallHierarchy:function(e,t){y();let n=YH.resolveCallHierarchyDeclaration(a,Wy(h(e),t));return n&&qY(n,e=>YH.createCallHierarchyItem(a,e))},provideCallHierarchyIncomingCalls:function(e,t){y();let n=h(e),r=q$(YH.resolveCallHierarchyDeclaration(a,0===t?n:Wy(n,t)));return r?YH.getIncomingCalls(a,r,d):[]},provideCallHierarchyOutgoingCalls:function(e,t){y();let n=h(e),r=q$(YH.resolveCallHierarchyDeclaration(a,0===t?n:Wy(n,t)));return r?YH.getOutgoingCalls(a,r):[]},toggleLineComment:A,toggleMultilineComment:L,commentSelection:function(e,t){let{firstLine:n,lastLine:r}=S(l.getCurrentSourceFile(e),t);return n===r&&t.pos!==t.end?L(e,t,!0):A(e,t,!0)},uncommentSelection:function(e,t){let n=l.getCurrentSourceFile(e),r=[],{pos:i}=t,{end:a}=t;i===a&&(a+=WN(n,i)?2:1);for(let t=i;t<=a;t++){let i=WG(n,t);if(i){switch(i.kind){case 2:r.push.apply(r,A(e,{end:i.end,pos:i.pos+1},!1));break;case 3:r.push.apply(r,L(e,{end:i.end,pos:i.pos+1},!1))}t=i.end+1}}return r},provideInlayHints:function(t,n,r=ak){y();let i=h(t);return eii.provideInlayHints({file:i,program:g(),host:e,span:n,preferences:r,cancellationToken:d})},getSupportedCodeFixes:Ya};switch(i){case 0:break;case 1:oL.forEach(e=>k[e]=()=>{throw Error(`LanguageService Operation: ${e} not allowed in LanguageServiceMode.PartialSemantic`)});break;case 2:oC.forEach(e=>k[e]=()=>{throw Error(`LanguageService Operation: ${e} not allowed in LanguageServiceMode.Syntactic`)});break;default:T.assertNever(i)}return k}function Yd(e){return e.nameTable||function(e){let t=e.nameTable=new Map;e.forEachChild(function e(n){if(wb(n)&&!KW(n)&&n.escapedText||xO(n)&&(xs(n)||280===n.parent.kind||n&&n.parent&&209===n.parent.kind&&n.parent.argumentExpression===n||xc(n))){let e=xV(n);t.set(e,void 0===t.get(e)?n.pos:-1)}else if(wE(n)){let e=n.escapedText;t.set(e,void 0===t.get(e)?n.pos:-1)}if(Mr(n,e),g$(n))for(let t of n.jsDoc)Mr(t,e)})}(e),e.nameTable}function Yu(e){let t=function(e){switch(e.kind){case 10:case 14:case 8:if(164===e.parent.kind)return g1(e.parent.parent)?e.parent.parent:void 0;case 79:return g1(e.parent)&&(207===e.parent.parent.kind||289===e.parent.parent.kind)&&e.parent.name===e?e.parent:void 0}}(e);return t&&(Rm(t.parent)||Nj(t.parent))?t:void 0}function Y_(e,t,n,r){let i=zo(e.name);if(!i)return o;if(!n.isUnion()){let e=n.getProperty(i);return e?[e]:o}let a=uu(n.types,n=>(Rm(e.parent)||Nj(e.parent))&&t.isTypeInvalidDueToUnionDiscriminant(n,e.parent)?void 0:n.getProperty(i));if(r&&(0===a.length||a.length===n.types.length)){let e=n.getProperty(i);if(e)return[e]}return 0===a.length?uu(n.types,e=>e.getProperty(i)):a}function Yp(e){if(tv)return fA(fy(fI(tv.getExecutingFilePath())),mD(e));throw Error("getDefaultLibFilePath is only supported when consumed as a node module. ")}var Yf=dj({"src/services/services.ts"(){ecu(),ecu(),XE(),X8(),ou="0.8",o_=class{constructor(e,t,n){this.pos=t,this.end=n,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.kind=e}assertHasRealPosition(e){T.assert(!C9(this.pos)&&!C9(this.end),e||"Node must have a real position for this operation")}getSourceFile(){return vS(this)}getStart(e,t){return this.assertHasRealPosition(),vz(this,e,t)}getFullStart(){return this.assertHasRealPosition(),this.pos}getEnd(){return this.assertHasRealPosition(),this.end}getWidth(e){return this.assertHasRealPosition(),this.getEnd()-this.getStart(e)}getFullWidth(){return this.assertHasRealPosition(),this.end-this.pos}getLeadingTriviaWidth(e){return this.assertHasRealPosition(),this.getStart(e)-this.pos}getFullText(e){return this.assertHasRealPosition(),(e||this.getSourceFile()).text.substring(this.pos,this.end)}getText(e){return this.assertHasRealPosition(),e||(e=this.getSourceFile()),e.text.substring(this.getStart(e),this.getEnd())}getChildCount(e){return this.getChildren(e).length}getChildAt(e,t){return this.getChildren(t)[e]}getChildren(e){return this.assertHasRealPosition("Node without a real position cannot be scanned and thus has no token nodes - use forEachChild and collect the result if that's fine"),this._children||(this._children=function(e,t){if(!yd(e.kind))return o;let n=[];if(gq(e))return e.forEachChild(e=>{n.push(e)}),n;aq.setText((t||e.getSourceFile()).text);let r=e.pos,i=t=>{X3(n,r,t.pos,e),n.push(t),r=t.end};return dz(e.jsDoc,i),r=e.pos,e.forEachChild(i,t=>{X3(n,r,t.pos,e),n.push(function(e,t){let n=X6(354,e.pos,e.end,t);n._children=[];let r=e.pos;for(let i of e)X3(n._children,r,i.pos,t),n._children.push(i),r=i.end;return X3(n._children,r,e.end,t),n}(t,e)),r=t.end}),X3(n,r,e.end,e),aq.setText(void 0),n}(this,e))}getFirstToken(e){this.assertHasRealPosition();let t=this.getChildren(e);if(!t.length)return;let n=d0(t,e=>e.kind<312||e.kind>353);return n.kind<163?n:n.getFirstToken(e)}getLastToken(e){this.assertHasRealPosition();let t=uJ(this.getChildren(e));if(t)return t.kind<163?t:t.getLastToken(e)}forEachChild(e,t){return Mr(this,e,t)}},op=class{constructor(e,t){this.pos=e,this.end=t,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0}getSourceFile(){return vS(this)}getStart(e,t){return vz(this,e,t)}getFullStart(){return this.pos}getEnd(){return this.end}getWidth(e){return this.getEnd()-this.getStart(e)}getFullWidth(){return this.end-this.pos}getLeadingTriviaWidth(e){return this.getStart(e)-this.pos}getFullText(e){return(e||this.getSourceFile()).text.substring(this.pos,this.end)}getText(e){return e||(e=this.getSourceFile()),e.text.substring(this.getStart(e),this.getEnd())}getChildCount(){return this.getChildren().length}getChildAt(e){return this.getChildren()[e]}getChildren(){return 1===this.kind&&this.jsDoc||o}getFirstToken(){}getLastToken(){}forEachChild(){}},of=class{constructor(e,t){this.id=0,this.mergeId=0,this.flags=e,this.escapedName=t}getFlags(){return this.flags}get name(){return ho(this)}getEscapedName(){return this.escapedName}getName(){return this.name}getDeclarations(){return this.declarations}getDocumentationComment(e){if(!this.documentationComment){if(this.documentationComment=o,!this.declarations&&vn(this)&&this.links.target&&vn(this.links.target)&&this.links.target.links.tupleLabelDeclaration){let t=this.links.target.links.tupleLabelDeclaration;this.documentationComment=X9([t],e)}else this.documentationComment=X9(this.declarations,e)}return this.documentationComment}getContextualDocumentationComment(e,t){if(e){if(gY(e)&&(this.contextualGetAccessorDocumentationComment||(this.contextualGetAccessorDocumentationComment=X9(d9(this.declarations,gY),t)),dW(this.contextualGetAccessorDocumentationComment)))return this.contextualGetAccessorDocumentationComment;if(gX(e)&&(this.contextualSetAccessorDocumentationComment||(this.contextualSetAccessorDocumentationComment=X9(d9(this.declarations,gX),t)),dW(this.contextualSetAccessorDocumentationComment)))return this.contextualSetAccessorDocumentationComment}return this.getDocumentationComment(t)}getJsDocTags(e){return void 0===this.tags&&(this.tags=X7(this.declarations,e)),this.tags}getContextualJsDocTags(e,t){if(e){if(gY(e)&&(this.contextualGetAccessorTags||(this.contextualGetAccessorTags=X7(d9(this.declarations,gY),t)),dW(this.contextualGetAccessorTags)))return this.contextualGetAccessorTags;if(gX(e)&&(this.contextualSetAccessorTags||(this.contextualSetAccessorTags=X7(d9(this.declarations,gX),t)),dW(this.contextualSetAccessorTags)))return this.contextualSetAccessorTags}return this.getJsDocTags(t)}},om=class extends op{constructor(e,t,n){super(t,n),this.kind=e}},(oh=class extends op{constructor(e,t,n){super(t,n),this.kind=79}get text(){return hi(this)}}).prototype.kind=79,(oy=class extends op{constructor(e,t,n){super(t,n),this.kind=80}get text(){return hi(this)}}).prototype.kind=80,og=class{constructor(e,t){this.checker=e,this.flags=t}getFlags(){return this.flags}getSymbol(){return this.symbol}getProperties(){return this.checker.getPropertiesOfType(this)}getProperty(e){return this.checker.getPropertyOfType(this,e)}getApparentProperties(){return this.checker.getAugmentedPropertiesOfType(this)}getCallSignatures(){return this.checker.getSignaturesOfType(this,0)}getConstructSignatures(){return this.checker.getSignaturesOfType(this,1)}getStringIndexType(){return this.checker.getIndexTypeOfType(this,0)}getNumberIndexType(){return this.checker.getIndexTypeOfType(this,1)}getBaseTypes(){return this.isClassOrInterface()?this.checker.getBaseTypes(this):void 0}isNullableType(){return this.checker.isNullableType(this)}getNonNullableType(){return this.checker.getNonNullableType(this)}getNonOptionalType(){return this.checker.getNonOptionalType(this)}getConstraint(){return this.checker.getBaseConstraintOfType(this)}getDefault(){return this.checker.getDefaultFromTypeParameter(this)}isUnion(){return!!(1048576&this.flags)}isIntersection(){return!!(2097152&this.flags)}isUnionOrIntersection(){return!!(3145728&this.flags)}isLiteral(){return!!(2432&this.flags)}isStringLiteral(){return!!(128&this.flags)}isNumberLiteral(){return!!(256&this.flags)}isTypeParameter(){return!!(262144&this.flags)}isClassOrInterface(){return!!(3<(this))}isClass(){return!!(1<(this))}isIndexType(){return!!(4194304&this.flags)}get typeArguments(){if(4<(this))return this.checker.getTypeArguments(this)}},ov=class{constructor(e,t){this.checker=e,this.flags=t}getDeclaration(){return this.declaration}getTypeParameters(){return this.typeParameters}getParameters(){return this.parameters}getReturnType(){return this.checker.getReturnTypeOfSignature(this)}getTypeParameterAtPosition(e){let t=this.checker.getParameterType(this,e);if(t.isIndexType()&&kH(t.type)){let e=t.type.getConstraint();if(e)return this.checker.getIndexType(e)}return t}getDocumentationComment(){return this.documentationComment||(this.documentationComment=X9(pd(this.declaration),this.checker))}getJsDocTags(){return this.jsDocTags||(this.jsDocTags=X7(pd(this.declaration),this.checker))}},ob=class extends o_{constructor(e,t,n){super(e,t,n),this.kind=308}update(e,t){return Mu(this,e,t)}getLineAndCharacterOfPosition(e){return mt(this,e)}getLineStarts(){return f5(this)}getPositionOfLineAndCharacter(e,t,n){return f3(f5(this),e,t,this.text,n)}getLineEndOfPosition(e){let t;let{line:n}=this.getLineAndCharacterOfPosition(e),r=this.getLineStarts();n+1>=r.length&&(t=this.getEnd()),t||(t=r[n+1]-1);let i=this.getFullText();return"\n"===i[t]&&"\r"===i[t-1]?t-1:t}getNamedDeclarations(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations}computeNamedDeclarations(){let e=_u();return this.forEachChild(function r(i){switch(i.kind){case 259:case 215:case 171:case 170:let a=n(i);if(a){let t;let n=((t=e.get(a))||e.set(a,t=[]),t),r=uJ(n);r&&i.parent===r.parent&&i.symbol===r.symbol?i.body&&!r.body&&(n[n.length-1]=i):n.push(i)}Mr(i,r);break;case 260:case 228:case 261:case 262:case 263:case 264:case 268:case 278:case 273:case 270:case 271:case 174:case 175:case 184:t(i),Mr(i,r);break;case 166:if(!S3(i,16476))break;case 257:case 205:if(y2(i.name)){Mr(i.name,r);break}i.initializer&&r(i.initializer);case 302:case 169:case 168:t(i);break;case 275:i.exportClause&&(NL(i.exportClause)?dz(i.exportClause.elements,r):r(i.exportClause.name));break;case 269:let o=i.importClause;o&&(o.name&&t(o.name),o.namedBindings&&(271===o.namedBindings.kind?t(o.namedBindings):dz(o.namedBindings.elements,r)));break;case 223:0!==Tf(i)&&t(i);default:Mr(i,r)}}),e;function t(t){let r=n(t);r&&e.add(r,t)}function n(e){let t=h_(e);return t&&(wP(t)&&Rh(t.expression)?t.expression.name.text:yM(t)?zo(t):void 0)}}},oE=class{constructor(e,t,n){this.fileName=e,this.text=t,this.skipTrivia=n}getLineAndCharacterOfPosition(e){return mt(this,e)}},oT=class{constructor(e){this.host=e}getCurrentSourceFile(e){var t,n,r,i,a,o,s,l;let c;let d=this.host.getScriptSnapshot(e);if(!d)throw Error("Could not find file: '"+e+"'.");let u=z3(e,this.host),_=this.host.getScriptVersion(e);if(this.currentFileName!==e){let p={languageVersion:99,impliedNodeFormat:VH(fR(e,this.host.getCurrentDirectory(),(null==(r=null==(n=(t=this.host).getCompilerHost)?void 0:n.call(t))?void 0:r.getCanonicalFileName)||Sh(this.host)),null==(l=null==(s=null==(o=null==(a=(i=this.host).getCompilerHost)?void 0:a.call(i))?void 0:o.getModuleResolutionCache)?void 0:s.call(o))?void 0:l.getPackageJsonInfoCache(),this.host,this.host.getCompilationSettings()),setExternalModuleIndicator:Ce(this.host.getCompilationSettings())};c=Ys(e,d,p,_,!0,u)}else if(this.currentFileVersion!==_){let e=d.getChangeRange(this.currentFileScriptSnapshot);c=Yl(this.currentSourceFile,d,_,e)}return c&&(this.currentFileVersion=_,this.currentFileName=e,this.currentFileScriptSnapshot=d,this.currentSourceFile=c),this.currentSourceFile}},ox={isCancellationRequested:_S,throwIfCancellationRequested:_x},oS=class{constructor(e){this.cancellationToken=e}isCancellationRequested(){return this.cancellationToken.isCancellationRequested()}throwIfCancellationRequested(){var e;if(this.isCancellationRequested())throw null==(e=Q)||e.instant(Q.Phase.Session,"cancellationThrown",{kind:"CancellationTokenObject"}),new eu}},oA=class{constructor(e,t=20){this.hostCancellationToken=e,this.throttleWaitMilliseconds=t,this.lastCancellationCheckTime=0}isCancellationRequested(){let e=B();return Math.abs(e-this.lastCancellationCheckTime)>=this.throttleWaitMilliseconds&&(this.lastCancellationCheckTime=e,this.hostCancellationToken.isCancellationRequested())}throwIfCancellationRequested(){var e;if(this.isCancellationRequested())throw null==(e=Q)||e.instant(Q.Phase.Session,"cancellationThrown",{kind:"ThrottledCancellationToken"}),new eu}},oC=[...oL=["getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","provideInlayHints","getSupportedCodeFixes"],"getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getOccurrencesAtPosition","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors"],LW({getNodeConstructor:()=>o_,getTokenConstructor:()=>om,getIdentifierConstructor:()=>oh,getPrivateIdentifierConstructor:()=>oy,getSourceFileConstructor:()=>ob,getSymbolConstructor:()=>of,getTypeConstructor:()=>og,getSignatureConstructor:()=>ov,getSourceMapSourceConstructor:()=>oE})}});function Ym(e,t,n){let r=[];n=X_(n,r);let i=_y(e)?e:[e],a=Uw(void 0,void 0,nU,n,i,t,!0);return a.diagnostics=uE(a.diagnostics,r),a}var Yh=dj({"src/services/transform.ts"(){ecu()}});function Yy(e,t){e&&e.log("*INTERNAL ERROR* - Exception in typescript services: "+t.message)}function Yg(e,t,n,r,i){try{let a=function(e,t,n,r){let i;r&&(e.log(t),i=B());let a=n();if(r){let n=B();if(e.log(`${t} completed in ${n-i} msec`),_v(a)){let t=a;t.length>128&&(t=t.substring(0,128)+"..."),e.log(` result.length=${t.length}, result='${JSON.stringify(t)}'`)}}return a}(e,t,r,i);return n?JSON.stringify({result:a}):a}catch(n){if(n instanceof eu)return JSON.stringify({canceled:!0});return Yy(e,n),n.description=t,JSON.stringify({error:n})}}function Yv(e,t){return e.map(e=>({message:VA(e.messageText,t),start:e.start,length:e.length,category:pY(e),code:e.code,reportsUnnecessary:e.reportsUnnecessary,reportsDeprecated:e.reportsDeprecated}))}function Yb(e){return{spans:e.spans.join(","),endOfLineState:e.endOfLineState}}var YE=dj({"src/services/shims.ts"(){ecu(),ok=function(){return this}(),oI=class{constructor(e){this.scriptSnapshotShim=e}getText(e,t){return this.scriptSnapshotShim.getText(e,t)}getLength(){return this.scriptSnapshotShim.getLength()}getChangeRange(e){let t=this.scriptSnapshotShim.getChangeRange(e.scriptSnapshotShim);if(null===t)return null;let n=JSON.parse(t);return mY(mz(n.span.start,n.span.length),n.newLength)}dispose(){"dispose"in this.scriptSnapshotShim&&this.scriptSnapshotShim.dispose()}},ow=class{constructor(e){this.shimHost=e,this.loggingEnabled=!1,this.tracingEnabled=!1,"getModuleResolutionsForFile"in this.shimHost&&(this.resolveModuleNames=(e,t)=>{let n=JSON.parse(this.shimHost.getModuleResolutionsForFile(t));return un(e,e=>{let t=u8(n,e);return t?{resolvedFileName:t,extension:kn(t),isExternalLibraryImport:!1}:void 0})}),"directoryExists"in this.shimHost&&(this.directoryExists=e=>this.shimHost.directoryExists(e)),"getTypeReferenceDirectiveResolutionsForFile"in this.shimHost&&(this.resolveTypeReferenceDirectives=(e,t)=>{let n=JSON.parse(this.shimHost.getTypeReferenceDirectiveResolutionsForFile(t));return un(e,e=>u8(n,_v(e)?e:_I(e.fileName)))})}log(e){this.loggingEnabled&&this.shimHost.log(e)}trace(e){this.tracingEnabled&&this.shimHost.trace(e)}error(e){this.shimHost.error(e)}getProjectVersion(){if(this.shimHost.getProjectVersion)return this.shimHost.getProjectVersion()}getTypeRootsVersion(){return this.shimHost.getTypeRootsVersion?this.shimHost.getTypeRootsVersion():0}useCaseSensitiveFileNames(){return!!this.shimHost.useCaseSensitiveFileNames&&this.shimHost.useCaseSensitiveFileNames()}getCompilationSettings(){let e=this.shimHost.getCompilationSettings();if(null===e||""===e)throw Error("LanguageServiceShimHostAdapter.getCompilationSettings: empty compilationSettings");let t=JSON.parse(e);return t.allowNonTsExtensions=!0,t}getScriptFileNames(){return JSON.parse(this.shimHost.getScriptFileNames())}getScriptSnapshot(e){let t=this.shimHost.getScriptSnapshot(e);return t&&new oI(t)}getScriptKind(e){return"getScriptKind"in this.shimHost?this.shimHost.getScriptKind(e):0}getScriptVersion(e){return this.shimHost.getScriptVersion(e)}getLocalizedDiagnosticMessages(){let e=this.shimHost.getLocalizedDiagnosticMessages();if(null===e||""===e)return null;try{return JSON.parse(e)}catch(e){return this.log(e.description||"diagnosticMessages.generated.json has invalid JSON format"),null}}getCancellationToken(){let e=this.shimHost.getCancellationToken();return new oA(e)}getCurrentDirectory(){return this.shimHost.getCurrentDirectory()}getDirectories(e){return JSON.parse(this.shimHost.getDirectories(e))}getDefaultLibFileName(e){return this.shimHost.getDefaultLibFileName(JSON.stringify(e))}readDirectory(e,t,n,r,i){let a=CH(e,n,r,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(e,JSON.stringify(t),JSON.stringify(a.basePaths),a.excludePattern,a.includeFilePattern,a.includeDirectoryPattern,i))}readFile(e,t){return this.shimHost.readFile(e,t)}fileExists(e){return this.shimHost.fileExists(e)}},oR=class{constructor(e){this.shimHost=e,this.useCaseSensitiveFileNames=!!this.shimHost.useCaseSensitiveFileNames&&this.shimHost.useCaseSensitiveFileNames(),"directoryExists"in this.shimHost?this.directoryExists=e=>this.shimHost.directoryExists(e):this.directoryExists=void 0,"realpath"in this.shimHost?this.realpath=e=>this.shimHost.realpath(e):this.realpath=void 0}readDirectory(e,t,n,r,i){let a=CH(e,n,r,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(e,JSON.stringify(t),JSON.stringify(a.basePaths),a.excludePattern,a.includeFilePattern,a.includeDirectoryPattern,i))}fileExists(e){return this.shimHost.fileExists(e)}readFile(e){return this.shimHost.readFile(e)}getDirectories(e){return JSON.parse(this.shimHost.getDirectories(e))}},oN=class{constructor(e){this.factory=e,e.registerShim(this)}dispose(e){this.factory.unregisterShim(this)}},oD=class extends oN{constructor(e,t,n){super(e),this.host=t,this.languageService=n,this.logPerformance=!1,this.logger=this.host}forwardJSONCall(e,t){return Yg(this.logger,e,!0,t,this.logPerformance)}dispose(e){this.logger.log("dispose()"),this.languageService.dispose(),this.languageService=null,ok&&ok.CollectGarbage&&(ok.CollectGarbage(),this.logger.log("CollectGarbage()")),this.logger=null,super.dispose(e)}refresh(e){this.forwardJSONCall(`refresh(${e})`,()=>null)}cleanupSemanticCache(){this.forwardJSONCall("cleanupSemanticCache()",()=>(this.languageService.cleanupSemanticCache(),null))}realizeDiagnostics(e){return Yv(e,zQ(this.host,void 0))}getSyntacticClassifications(e,t,n){return this.forwardJSONCall(`getSyntacticClassifications('${e}', ${t}, ${n})`,()=>this.languageService.getSyntacticClassifications(e,mz(t,n)))}getSemanticClassifications(e,t,n){return this.forwardJSONCall(`getSemanticClassifications('${e}', ${t}, ${n})`,()=>this.languageService.getSemanticClassifications(e,mz(t,n)))}getEncodedSyntacticClassifications(e,t,n){return this.forwardJSONCall(`getEncodedSyntacticClassifications('${e}', ${t}, ${n})`,()=>Yb(this.languageService.getEncodedSyntacticClassifications(e,mz(t,n))))}getEncodedSemanticClassifications(e,t,n){return this.forwardJSONCall(`getEncodedSemanticClassifications('${e}', ${t}, ${n})`,()=>Yb(this.languageService.getEncodedSemanticClassifications(e,mz(t,n))))}getSyntacticDiagnostics(e){return this.forwardJSONCall(`getSyntacticDiagnostics('${e}')`,()=>{let t=this.languageService.getSyntacticDiagnostics(e);return this.realizeDiagnostics(t)})}getSemanticDiagnostics(e){return this.forwardJSONCall(`getSemanticDiagnostics('${e}')`,()=>{let t=this.languageService.getSemanticDiagnostics(e);return this.realizeDiagnostics(t)})}getSuggestionDiagnostics(e){return this.forwardJSONCall(`getSuggestionDiagnostics('${e}')`,()=>this.realizeDiagnostics(this.languageService.getSuggestionDiagnostics(e)))}getCompilerOptionsDiagnostics(){return this.forwardJSONCall("getCompilerOptionsDiagnostics()",()=>{let e=this.languageService.getCompilerOptionsDiagnostics();return this.realizeDiagnostics(e)})}getQuickInfoAtPosition(e,t){return this.forwardJSONCall(`getQuickInfoAtPosition('${e}', ${t})`,()=>this.languageService.getQuickInfoAtPosition(e,t))}getNameOrDottedNameSpan(e,t,n){return this.forwardJSONCall(`getNameOrDottedNameSpan('${e}', ${t}, ${n})`,()=>this.languageService.getNameOrDottedNameSpan(e,t,n))}getBreakpointStatementAtPosition(e,t){return this.forwardJSONCall(`getBreakpointStatementAtPosition('${e}', ${t})`,()=>this.languageService.getBreakpointStatementAtPosition(e,t))}getSignatureHelpItems(e,t,n){return this.forwardJSONCall(`getSignatureHelpItems('${e}', ${t})`,()=>this.languageService.getSignatureHelpItems(e,t,n))}getDefinitionAtPosition(e,t){return this.forwardJSONCall(`getDefinitionAtPosition('${e}', ${t})`,()=>this.languageService.getDefinitionAtPosition(e,t))}getDefinitionAndBoundSpan(e,t){return this.forwardJSONCall(`getDefinitionAndBoundSpan('${e}', ${t})`,()=>this.languageService.getDefinitionAndBoundSpan(e,t))}getTypeDefinitionAtPosition(e,t){return this.forwardJSONCall(`getTypeDefinitionAtPosition('${e}', ${t})`,()=>this.languageService.getTypeDefinitionAtPosition(e,t))}getImplementationAtPosition(e,t){return this.forwardJSONCall(`getImplementationAtPosition('${e}', ${t})`,()=>this.languageService.getImplementationAtPosition(e,t))}getRenameInfo(e,t,n){return this.forwardJSONCall(`getRenameInfo('${e}', ${t})`,()=>this.languageService.getRenameInfo(e,t,n))}getSmartSelectionRange(e,t){return this.forwardJSONCall(`getSmartSelectionRange('${e}', ${t})`,()=>this.languageService.getSmartSelectionRange(e,t))}findRenameLocations(e,t,n,r,i){return this.forwardJSONCall(`findRenameLocations('${e}', ${t}, ${n}, ${r}, ${i})`,()=>this.languageService.findRenameLocations(e,t,n,r,i))}getBraceMatchingAtPosition(e,t){return this.forwardJSONCall(`getBraceMatchingAtPosition('${e}', ${t})`,()=>this.languageService.getBraceMatchingAtPosition(e,t))}isValidBraceCompletionAtPosition(e,t,n){return this.forwardJSONCall(`isValidBraceCompletionAtPosition('${e}', ${t}, ${n})`,()=>this.languageService.isValidBraceCompletionAtPosition(e,t,n))}getSpanOfEnclosingComment(e,t,n){return this.forwardJSONCall(`getSpanOfEnclosingComment('${e}', ${t})`,()=>this.languageService.getSpanOfEnclosingComment(e,t,n))}getIndentationAtPosition(e,t,n){return this.forwardJSONCall(`getIndentationAtPosition('${e}', ${t})`,()=>{let r=JSON.parse(n);return this.languageService.getIndentationAtPosition(e,t,r)})}getReferencesAtPosition(e,t){return this.forwardJSONCall(`getReferencesAtPosition('${e}', ${t})`,()=>this.languageService.getReferencesAtPosition(e,t))}findReferences(e,t){return this.forwardJSONCall(`findReferences('${e}', ${t})`,()=>this.languageService.findReferences(e,t))}getFileReferences(e){return this.forwardJSONCall(`getFileReferences('${e})`,()=>this.languageService.getFileReferences(e))}getOccurrencesAtPosition(e,t){return this.forwardJSONCall(`getOccurrencesAtPosition('${e}', ${t})`,()=>this.languageService.getOccurrencesAtPosition(e,t))}getDocumentHighlights(e,t,n){return this.forwardJSONCall(`getDocumentHighlights('${e}', ${t})`,()=>{let r=this.languageService.getDocumentHighlights(e,t,JSON.parse(n)),i=_I(fx(e));return d9(r,e=>_I(fx(e.fileName))===i)})}getCompletionsAtPosition(e,t,n,r){return this.forwardJSONCall(`getCompletionsAtPosition('${e}', ${t}, ${n}, ${r})`,()=>this.languageService.getCompletionsAtPosition(e,t,n,r))}getCompletionEntryDetails(e,t,n,r,i,a,o){return this.forwardJSONCall(`getCompletionEntryDetails('${e}', ${t}, '${n}')`,()=>{let s=void 0===r?void 0:JSON.parse(r);return this.languageService.getCompletionEntryDetails(e,t,n,s,i,a,o)})}getFormattingEditsForRange(e,t,n,r){return this.forwardJSONCall(`getFormattingEditsForRange('${e}', ${t}, ${n})`,()=>{let i=JSON.parse(r);return this.languageService.getFormattingEditsForRange(e,t,n,i)})}getFormattingEditsForDocument(e,t){return this.forwardJSONCall(`getFormattingEditsForDocument('${e}')`,()=>{let n=JSON.parse(t);return this.languageService.getFormattingEditsForDocument(e,n)})}getFormattingEditsAfterKeystroke(e,t,n,r){return this.forwardJSONCall(`getFormattingEditsAfterKeystroke('${e}', ${t}, '${n}')`,()=>{let i=JSON.parse(r);return this.languageService.getFormattingEditsAfterKeystroke(e,t,n,i)})}getDocCommentTemplateAtPosition(e,t,n,r){return this.forwardJSONCall(`getDocCommentTemplateAtPosition('${e}', ${t})`,()=>this.languageService.getDocCommentTemplateAtPosition(e,t,n,r))}getNavigateToItems(e,t,n){return this.forwardJSONCall(`getNavigateToItems('${e}', ${t}, ${n})`,()=>this.languageService.getNavigateToItems(e,t,n))}getNavigationBarItems(e){return this.forwardJSONCall(`getNavigationBarItems('${e}')`,()=>this.languageService.getNavigationBarItems(e))}getNavigationTree(e){return this.forwardJSONCall(`getNavigationTree('${e}')`,()=>this.languageService.getNavigationTree(e))}getOutliningSpans(e){return this.forwardJSONCall(`getOutliningSpans('${e}')`,()=>this.languageService.getOutliningSpans(e))}getTodoComments(e,t){return this.forwardJSONCall(`getTodoComments('${e}')`,()=>this.languageService.getTodoComments(e,JSON.parse(t)))}prepareCallHierarchy(e,t){return this.forwardJSONCall(`prepareCallHierarchy('${e}', ${t})`,()=>this.languageService.prepareCallHierarchy(e,t))}provideCallHierarchyIncomingCalls(e,t){return this.forwardJSONCall(`provideCallHierarchyIncomingCalls('${e}', ${t})`,()=>this.languageService.provideCallHierarchyIncomingCalls(e,t))}provideCallHierarchyOutgoingCalls(e,t){return this.forwardJSONCall(`provideCallHierarchyOutgoingCalls('${e}', ${t})`,()=>this.languageService.provideCallHierarchyOutgoingCalls(e,t))}provideInlayHints(e,t,n){return this.forwardJSONCall(`provideInlayHints('${e}', '${JSON.stringify(t)}', ${JSON.stringify(n)})`,()=>this.languageService.provideInlayHints(e,t,n))}getEmitOutput(e){return this.forwardJSONCall(`getEmitOutput('${e}')`,()=>{let{diagnostics:t,...n}=this.languageService.getEmitOutput(e);return{...n,diagnostics:this.realizeDiagnostics(t)}})}getEmitOutputObject(e){return Yg(this.logger,`getEmitOutput('${e}')`,!1,()=>this.languageService.getEmitOutput(e),this.logPerformance)}toggleLineComment(e,t){return this.forwardJSONCall(`toggleLineComment('${e}', '${JSON.stringify(t)}')`,()=>this.languageService.toggleLineComment(e,t))}toggleMultilineComment(e,t){return this.forwardJSONCall(`toggleMultilineComment('${e}', '${JSON.stringify(t)}')`,()=>this.languageService.toggleMultilineComment(e,t))}commentSelection(e,t){return this.forwardJSONCall(`commentSelection('${e}', '${JSON.stringify(t)}')`,()=>this.languageService.commentSelection(e,t))}uncommentSelection(e,t){return this.forwardJSONCall(`uncommentSelection('${e}', '${JSON.stringify(t)}')`,()=>this.languageService.uncommentSelection(e,t))}},oO=class extends oN{constructor(e,t){super(e),this.logger=t,this.logPerformance=!1,this.classifier=Jm()}getEncodedLexicalClassifications(e,t,n=!1){return Yg(this.logger,"getEncodedLexicalClassifications",!0,()=>Yb(this.classifier.getEncodedLexicalClassifications(e,t,n)),this.logPerformance)}getClassificationsForLine(e,t,n=!1){let r=this.classifier.getClassificationsForLine(e,t,n),i="";for(let e of r.entries)i+=e.length+"\n"+e.classification+"\n";return i+r.finalLexState}},oM=class extends oN{constructor(e,t,n){super(e),this.logger=t,this.host=n,this.logPerformance=!1}forwardJSONCall(e,t){return Yg(this.logger,e,!0,t,this.logPerformance)}resolveModuleName(e,t,n){return this.forwardJSONCall(`resolveModuleName('${e}')`,()=>{let r=JSON.parse(n),i=P6(t,fx(e),r,this.host),a=i.resolvedModule?i.resolvedModule.resolvedFileName:void 0;return i.resolvedModule&&".ts"!==i.resolvedModule.extension&&".tsx"!==i.resolvedModule.extension&&".d.ts"!==i.resolvedModule.extension&&(a=void 0),{resolvedFileName:a,failedLookupLocations:i.failedLookupLocations,affectingLocations:i.affectingLocations}})}resolveTypeReferenceDirective(e,t,n){return this.forwardJSONCall(`resolveTypeReferenceDirective(${e})`,()=>{let r=JSON.parse(n),i=Pj(t,fx(e),r,this.host);return{resolvedFileName:i.resolvedTypeReferenceDirective?i.resolvedTypeReferenceDirective.resolvedFileName:void 0,primary:!i.resolvedTypeReferenceDirective||i.resolvedTypeReferenceDirective.primary,failedLookupLocations:i.failedLookupLocations}})}getPreProcessedFileInfo(e,t){return this.forwardJSONCall(`getPreProcessedFileInfo('${e}')`,()=>{let e=J8(zr(t),!0,!0);return{referencedFiles:this.convertFileReferences(e.referencedFiles),importedFiles:this.convertFileReferences(e.importedFiles),ambientExternalModules:e.ambientExternalModules,isLibFile:e.isLibFile,typeReferenceDirectives:this.convertFileReferences(e.typeReferenceDirectives),libReferenceDirectives:this.convertFileReferences(e.libReferenceDirectives)}})}getAutomaticTypeDirectiveNames(e){return this.forwardJSONCall(`getAutomaticTypeDirectiveNames('${e}')`,()=>Pz(JSON.parse(e),this.host))}convertFileReferences(e){if(!e)return;let t=[];for(let n of e)t.push({path:fx(n.fileName),position:n.pos,length:n.end-n.pos});return t}getTSConfigFileInfo(e,t){return this.forwardJSONCall(`getTSConfigFileInfo('${e}')`,()=>{let n=Mc(e,zr(t)),r=fx(e),i=M6(n,this.host,fy(r),{},r);return{options:i.options,typeAcquisition:i.typeAcquisition,files:i.fileNames,raw:i.raw,errors:Yv([...n.parseDiagnostics,...i.errors],"\r\n")}})}getDefaultCompilationSettings(){return this.forwardJSONCall("getDefaultCompilationSettings()",()=>Yi())}discoverTypings(e){let t=_7(!1);return this.forwardJSONCall("discoverTypings()",()=>{let n=JSON.parse(e);return void 0===this.safeList&&(this.safeList=Kp.loadSafeList(this.host,fR(n.safeListPath,n.safeListPath,t))),Kp.discoverTypings(this.host,e=>this.logger.log(e),n.fileNames,fR(n.projectRootPath,n.projectRootPath,t),this.safeList,n.packageNameToTypingLocation,n.typeAcquisition,n.unresolvedImports,n.typesRegistry,ak)})}},oP=class{constructor(){this._shims=[]}getServicesVersion(){return ou}createLanguageServiceShim(e){try{if(void 0===this.documentRegistry){var t,n;this.documentRegistry=(t=e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames(),n=e.getCurrentDirectory(),JL(t,n))}let r=new ow(e),i=Yc(r,this.documentRegistry,!1);return new oD(this,e,i)}catch(t){throw Yy(e,t),t}}createClassifierShim(e){try{return new oO(this,e)}catch(t){throw Yy(e,t),t}}createCoreServicesShim(e){try{let t=new oR(e);return new oM(this,e,t)}catch(t){throw Yy(e,t),t}}close(){ut(this._shims),this.documentRegistry=void 0}registerShim(e){this._shims.push(e)}unregisterShim(e){for(let t=0;tr){let t=WS(n.pos,e);if(!t||e.getLineAndCharacterOfPosition(t.getEnd()).line!==r)return;n=t}if(!(16777216&n.flags))return c(n);function i(t,n){let r=OH(t)?d1(t.modifiers,wB):void 0;return mq(r?mc(e.text,r.end):t.getStart(e),(n||t).getEnd())}function a(t,n){return i(t,Wx(n,n.parent,e))}function o(t,n){return t&&r===e.getLineAndCharacterOfPosition(t.getStart(e)).line?c(t):c(n)}function s(t){return c(WS(t.pos,e))}function l(t){return c(Wx(t,t.parent,e))}function c(t){if(t){let{parent:n}=t;switch(t.kind){case 240:return r(t.declarationList.declarations[0]);case 257:case 169:case 168:return r(t);case 166:return function e(t){if(y2(t.name))return p(t.name);if(t.initializer||void 0!==t.dotDotDotToken||S3(t,12))return i(t);{let n=t.parent,r=n.parameters.indexOf(t);return(T.assert(-1!==r),0!==r)?e(n.parameters[r-1]):c(n.body)}}(t);case 259:case 171:case 170:case 174:case 175:case 173:case 215:case 216:return t.body?d(t)?i(t):c(t.body):void 0;case 238:if(Es(t)){let e;return e=t.statements.length?t.statements[0]:t.getLastToken(),d(t.parent)?o(t.parent,e):c(e)}case 265:return u(t);case 295:return u(t.block);case 241:return i(t.expression);case 250:return i(t.getChildAt(0),t.expression);case 244:case 242:case 246:case 252:return a(t,t.expression);case 243:case 253:return c(t.statement);case 256:return i(t.getChildAt(0));case 249:case 248:return i(t.getChildAt(0),t.label);case 245:return t.initializer?_(t):t.condition?i(t.condition):t.incrementor?i(t.incrementor):void 0;case 247:return _(t);case 292:case 293:return c(t.statements[0]);case 255:return u(t.tryBlock);case 254:case 274:return i(t,t.expression);case 268:return i(t,t.moduleReference);case 269:case 275:return i(t,t.moduleSpecifier);case 264:if(1!==FK(t))return;case 260:case 263:case 302:case 205:return i(t);case 251:return c(t.statement);case 167:return function(t,n,r){if(t){let i=t.indexOf(n);if(i>=0){let n=i,a=i+1;for(;n>0&&r(t[n-1]);)n--;for(;a0)return c(t.declarations[0])}}function p(e){let t=dz(e.elements,e=>229!==e.kind?e:void 0);return t?c(t):205===e.parent.kind?i(e.parent):n(e.parent)}function f(e){T.assert(204!==e.kind&&203!==e.kind);let t=dz(206===e.kind?e.elements:e.properties,e=>229!==e.kind?e:void 0);return t?c(t):i(223===e.parent.kind?e.parent:e)}}}var Yx=dj({"src/services/breakpoints.ts"(){ecu()}}),YS={};dH(YS,{spanInSourceFileAtLocation:()=>YT});var YA=dj({"src/services/_namespaces/ts.BreakpointResolver.ts"(){Yx()}});function YL(e){return(Rx(e)||RS(e)||RP(e))&&Nr(e.parent)&&e===e.parent.initializer&&wb(e.parent.name)&&!!(2&m3(e.parent))}function YC(e){return N0(e)||Nd(e)||Na(e)||Rx(e)||No(e)||RP(e)||wK(e)||wH(e)||wj(e)||wz(e)||wq(e)}function Yk(e){return N0(e)||Nd(e)&&wb(e.name)||Na(e)||No(e)||wK(e)||wH(e)||wj(e)||wz(e)||wq(e)||(Rx(e)||RP(e))&&hu(e)||YL(e)}function YI(e){return N0(e)?e:hu(e)?e.name:YL(e)?e.parent.name:T.checkDefined(e.modifiers&&d0(e.modifiers,Yw))}function Yw(e){return 88===e.kind}function YR(e,t){let n=YI(t);return n&&e.getSymbolAtLocation(n)}function YN(e,t){if(t.body)return t;if(wW(t))return SP(t.parent);if(Na(t)||wH(t)){let n=YR(e,t);return n&&n.valueDeclaration&&yB(n.valueDeclaration)&&n.valueDeclaration.body?n.valueDeclaration:void 0}return t}function YD(e,t){let n;let r=YR(e,t);if(r&&r.declarations){let e;let t=ux(r.declarations),i=un(r.declarations,e=>({file:e.getSourceFile().fileName,pos:e.pos}));for(let a of(t.sort((e,t)=>_W(i[e].file,i[t].file)||i[e].pos-i[t].pos),un(t,e=>r.declarations[e])))Yk(a)&&(e&&e.parent===a.parent&&e.end===a.pos||(n=uD(n,a)),e=a)}return n}function YO(e,t){var n,r,i;return wK(t)?t:yB(t)?null!=(r=null!=(n=YN(e,t))?n:YD(e,t))?r:t:null!=(i=YD(e,t))?i:t}function YM(e,t){let n=e.getTypeChecker(),r=!1;for(;;){if(Yk(t))return YO(n,t);if(YC(t)){let e=m9(t,Yk);return e&&YO(n,e)}if(xs(t)){if(Yk(t.parent))return YO(n,t.parent);if(YC(t.parent)){let e=m9(t.parent,Yk);return e&&YO(n,e)}if(Nr(t.parent)&&t.parent.initializer&&YL(t.parent.initializer))return t.parent.initializer;return}if(wW(t)){if(Yk(t.parent))return t.parent;return}if(124===t.kind&&wK(t.parent)){t=t.parent;continue}if(Nr(t)&&t.initializer&&YL(t.initializer))return t.initializer;if(!r){let e=n.getSymbolAtLocation(t);if(e&&(2097152&e.flags&&(e=n.getAliasedSymbol(e)),e.valueDeclaration)){r=!0,t=e.valueDeclaration;continue}}return}}function YP(e,t){let n=t.getSourceFile(),r=function(e,t){if(N0(t))return{text:t.fileName,pos:0,end:0};if((Na(t)||No(t))&&!hu(t)){let e=t.modifiers&&d0(t.modifiers,Yw);if(e)return{text:"default",pos:e.getStart(),end:e.getEnd()}}if(wK(t)){let n=mc(t.getSourceFile().text,AZ(t).pos),r=e.getTypeChecker(),i=r.getSymbolAtLocation(t.parent);return{text:`${i?`${r.symbolToString(i,t.parent)} `:""}static {}`,pos:n,end:n+6}}let n=YL(t)?t.parent.name:T.checkDefined(hp(t),"Expected call hierarchy item to have a name"),r=wb(n)?hi(n):xO(n)?n.text:wP(n)&&xO(n.expression)?n.expression.text:void 0;if(void 0===r){let i=e.getTypeChecker(),a=i.getSymbolAtLocation(n);a&&(r=i.symbolToString(a,t))}if(void 0===r){let e=iz();r=vu(n=>e.writeNode(4,t,t.getSourceFile(),n))}return{text:r,pos:n.getStart(),end:n.getEnd()}}(e,t),i=function(e){var t,n;if(YL(e))return Nu(e.parent.parent.parent.parent)&&wb(e.parent.parent.parent.parent.parent.name)?e.parent.parent.parent.parent.parent.name.getText():void 0;switch(e.kind){case 174:case 175:case 171:if(207===e.parent.kind)return null==(t=hf(e.parent))?void 0:t.getText();return null==(n=hp(e.parent))?void 0:n.getText();case 259:case 260:case 264:if(Nu(e.parent)&&wb(e.parent.parent.name))return e.parent.parent.name.getText()}}(t),a=K0(t),o=WV(t),s=mq(mc(n.text,t.getFullStart(),!1,!0),t.getEnd()),l=mq(r.pos,r.end);return{file:n.fileName,kind:a,kindModifiers:o,name:r.text,containerName:i,span:s,selectionSpan:l}}function YF(e){return void 0!==e}function YG(e){if(e.kind===erX.EntryKind.Node){let{node:t}=e;if(Kw(t,!0,!0)||KR(t,!0,!0)||KN(t,!0,!0)||KD(t,!0,!0)||Kq(t)||KJ(t)){let e=t.getSourceFile();return{declaration:m9(t,Yk)||e,range:W4(t,e)}}}}function YB(e){return Gv(e.declaration)}function YU(e,t,n){if(N0(t)||Nd(t)||wK(t))return[];let r=YI(t),i=d9(erX.findReferenceOrRenameEntries(e,n,e.getSourceFiles(),r,0,{use:erX.FindReferencesUse.References},YG),YF);return i?_a(i,YB,t=>({from:YP(e,t[0].declaration),fromSpans:un(t,e=>W8(e.range))})):[]}function YV(e,t){return 16777216&t.flags||wj(t)?[]:_a(function(e,t){let n=[],r=function(e,t){function n(n){let r=Rb(n)?n.tag:gK(n)?n.tagName:Lw(n)?n:wK(n)?n:n.expression,i=YM(e,r);if(i){let e=W4(r,n.getSourceFile());if(_y(i))for(let n of i)t.push({declaration:n,range:e});else t.push({declaration:i,range:e})}}return function e(t){if(t&&!(16777216&t.flags)){if(Yk(t)){if(yW(t))for(let n of t.members)n.name&&wP(n.name)&&e(n.name.expression);return}switch(t.kind){case 79:case 268:case 269:case 275:case 261:case 262:return;case 172:n(t);return;case 213:case 231:case 235:e(t.expression);return;case 257:case 166:e(t.name),e(t.initializer);return;case 210:case 211:n(t),e(t.expression),dz(t.arguments,e);return;case 212:n(t),e(t.tag),e(t.template);return;case 283:case 282:n(t),e(t.tagName),e(t.attributes);return;case 167:n(t),e(t.expression);return;case 208:case 209:n(t),Mr(t,e)}b4(t)||Mr(t,e)}}}(e,n);switch(t.kind){case 308:dz(t.statements,r);break;case 264:!S3(t,2)&&t.body&&Nu(t.body)&&dz(t.body.statements,r);break;case 259:case 215:case 216:case 171:case 174:case 175:let i;(i=YN(e.getTypeChecker(),t))&&(dz(i.parameters,r),r(i.body));break;case 260:case 228:!function(e,t){dz(e.modifiers,t);let n=xg(e);for(let r of(n&&t(n.expression),e.members))Oj(r)&&dz(r.modifiers,t),wV(r)?t(r.initializer):wW(r)&&r.body?(dz(r.parameters,t),t(r.body)):wK(r)&&t(r)}(t,r);break;case 172:r(t.body);break;default:T.assertNever(t)}return n}(e,t),YB,t=>({to:YP(e,t[0].declaration),fromSpans:un(t,e=>W8(e.range))}))}var Yj=dj({"src/services/callHierarchy.ts"(){ecu()}}),YH={};dH(YH,{createCallHierarchyItem:()=>YP,getIncomingCalls:()=>YU,getOutgoingCalls:()=>YV,resolveCallHierarchyDeclaration:()=>YM});var YK=dj({"src/services/_namespaces/ts.CallHierarchy.ts"(){Yj()}});function YW(e,t,n,r){let i=Yz(e,t,n,r);T.assert(i.spans.length%3==0);let a=i.spans,o=[];for(let e=0;e{a.push(e.getStart(n),e.getWidth(n),(t+1<<8)+r)},o=e.getTypeChecker(),s=!1,function a(l){let c;switch(l.kind){case 264:case 260:case 261:case 259:case 228:case 215:case 216:t.throwIfCancellationRequested()}if(!l||!mj(r,l.pos,l.getFullWidth())||0===l.getFullWidth())return;let d=s;if((NO(l)||NM(l))&&(s=!0),NK(l)&&(s=!1),wb(l)&&!s&&!((c=l.parent)&&(Nh(c)||Nx(c)||Nb(c)))&&!kP(l.escapedText)){let t=o.getSymbolAtLocation(l);if(t){2097152&t.flags&&(t=o.getAliasedSymbol(t));let r=function(e,t){let n=e.getFlags();if(32&n)return 0;if(384&n)return 1;if(524288&n)return 5;if(64&n){if(2&t)return 2}else if(262144&n)return 4;let r=e.valueDeclaration||e.declarations&&e.declarations[0];return r&&Rp(r)&&(r=Yq(r)),r&&oU.get(r.kind)}(t,KL(l));if(void 0!==r){let a=0;l.parent&&(Rp(l.parent)||oU.get(l.parent.kind)===r)&&l.parent.name===l&&(a=1),6===r&&YJ(l)&&(r=9),r=function(e,t,n){if(7===n||9===n||6===n){let r=e.getTypeAtLocation(t);if(r){let e=e=>e(r)||r.isUnion()&&r.types.some(e);if(6!==n&&e(e=>e.getConstructSignatures().length>0))return 0;if(e(e=>e.getCallSignatures().length>0)&&!e(e=>e.getProperties().length>0)||function(e){for(;YJ(e);)e=e.parent;return Rg(e.parent)&&e.parent.expression===e}(t))return 9===n?11:10}}return n}(o,l,r);let s=t.valueDeclaration;if(s){var u;let i=m8(s),o=m3(s);32&i&&(a|=2),512&i&&(a|=4),0!==r&&2!==r&&(64&i||2&o||8&t.getFlags())&&(a|=8),(7===r||10===r)&&((Rp(u=s)&&(u=Yq(u)),Nr(u))?(!N0(u.parent.parent.parent)||NJ(u.parent))&&u.getSourceFile()===n:!!Na(u)&&!N0(u.parent)&&u.getSourceFile()===n)&&(a|=32),e.isSourceFileDefaultLibrary(s.getSourceFile())&&(a|=16)}else t.declarations&&t.declarations.some(t=>e.isSourceFileDefaultLibrary(t.getSourceFile()))&&(a|=16);i(l,r,a)}}}Mr(l,a),s=d}(n)),a),endOfLineState:0}}function Yq(e){for(;;){if(!Rp(e.parent.parent))return e.parent.parent;e=e.parent.parent}}function YJ(e){return wM(e.parent)&&e.parent.right===e||Rh(e.parent)&&e.parent.name===e}var YX=dj({"src/services/classifier2020.ts"(){var e,t,n;ecu(),(e=oF||{})[e.typeOffset=8]="typeOffset",e[e.modifierMask=255]="modifierMask",oF=e,(t=oG||{})[t.class=0]="class",t[t.enum=1]="enum",t[t.interface=2]="interface",t[t.namespace=3]="namespace",t[t.typeParameter=4]="typeParameter",t[t.type=5]="type",t[t.parameter=6]="parameter",t[t.variable=7]="variable",t[t.enumMember=8]="enumMember",t[t.property=9]="property",t[t.function=10]="function",t[t.member=11]="member",oG=t,(n=oB||{})[n.declaration=0]="declaration",n[n.static=1]="static",n[n.async=2]="async",n[n.readonly=3]="readonly",n[n.defaultLibrary=4]="defaultLibrary",n[n.local=5]="local",oB=n,oU=new Map([[257,7],[166,6],[169,9],[264,3],[263,1],[302,8],[260,0],[171,11],[259,10],[215,10],[170,11],[174,9],[175,9],[168,9],[261,2],[262,5],[165,4],[299,9],[300,9]])}}),YY={};dH(YY,{TokenEncodingConsts:()=>oF,TokenModifier:()=>oB,TokenType:()=>oG,getEncodedSemanticClassifications:()=>Yz,getSemanticClassifications:()=>YW});var Y$=dj({"src/services/_namespaces/ts.classifier.v2020.ts"(){YX()}}),YQ={};dH(YQ,{v2020:()=>YY});var YZ=dj({"src/services/_namespaces/ts.classifier.ts"(){Y$()}});function Y0(e,t,n){return Y4(e,Je(n),t,void 0,void 0)}function Y1(e,t,n,r,i,a){return Y4(e,Je(n),t,r,Je(i),a)}function Y2(e,t,n,r,i,a){return Y4(e,Je(n),t,r,i&&Je(i),a)}function Y4(e,t,n,r,i,a){return{fixName:e,description:t,changes:n,fixId:r,fixAllDescription:i,commands:a?[a]:void 0}}function Y8(e){for(let t of e.errorCodes)oV.add(String(t),e);if(e.fixIds)for(let t of e.fixIds)T.assert(!oj.has(t)),oj.set(t,e)}function Y6(){return u9(oV.keys())}function Y3(e){let t=$n(e);return uo(oV.get(String(e.errorCode)),n=>un(n.getCodeActions(e),function(e,t){let{errorCodes:n}=e,r=0;for(let e of t)if(d6(n,e.code)&&r++,r>1)break;let i=r<2;return({fixId:e,fixAllDescription:t,...n})=>i?n:{...n,fixId:e,fixAllDescription:t}}(n,t)))}function Y5(e){return oj.get(_T(e.fixId,_v)).getAllCodeActions(e)}function Y7(e,t){return{changes:e,commands:t}}function Y9(e,t){return{fileName:e,textChanges:t}}function $e(e,t,n){let r=[];return Y7(esW.ChangeTracker.with(e,i=>$t(e,t,e=>n(i,e,r))),0===r.length?void 0:r)}function $t(e,t,n){for(let r of $n(e))d6(t,r.code)&&n(r)}function $n({program:e,sourceFile:t,cancellationToken:n}){return[...e.getSemanticDiagnostics(t,n),...e.getSyntacticDiagnostics(t,n),...Xe(t,e,n)]}var $r=dj({"src/services/codeFixProvider.ts"(){ecu(),oV=_u(),oj=new Map}});function $i(e,t,n){let r=RB(n)?nU.createAsExpression(n.expression,nU.createKeywordTypeNode(157)):nU.createTypeAssertion(nU.createKeywordTypeNode(157),n.expression);e.replaceNode(t,n.expression,r)}function $a(e,t){if(!EZ(e))return m9(Wv(e,t),e=>RB(e)||RE(e))}var $o=dj({"src/services/codefixes/addConvertToUnknownForNonOverlappingTypes.ts"(){ecu(),enr(),oH="addConvertToUnknownForNonOverlappingTypes",Y8({errorCodes:oK=[tA.Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first.code],getCodeActions:function(e){let t=$a(e.sourceFile,e.span.start);if(void 0!==t)return[Y1(oH,esW.ChangeTracker.with(e,n=>$i(n,e.sourceFile,t)),tA.Add_unknown_conversion_for_non_overlapping_types,oH,tA.Add_unknown_to_all_conversions_of_non_overlapping_types)]},fixIds:[oH],getAllCodeActions:e=>$e(e,oK,(e,t)=>{let n=$a(t.file,t.start);n&&$i(e,t.file,n)})})}}),$s=dj({"src/services/codefixes/addEmptyExportDeclaration.ts"(){ecu(),enr(),Y8({errorCodes:[tA.await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module.code,tA.for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module.code],getCodeActions:function(e){let{sourceFile:t}=e;return[Y0("addEmptyExportDeclaration",esW.ChangeTracker.with(e,e=>{let n=nU.createExportDeclaration(void 0,!1,nU.createNamedExports([]),void 0);e.insertNodeAtEndOfScope(t,t,n)}),tA.Add_export_to_make_this_file_into_a_module)]}})}});function $l(e,t,n,r){let i=n(n=>(function(e,t,n,r){if(r&&r.has(Gv(n)))return;null==r||r.add(Gv(n));let i=nU.updateModifiers(qt(n,!0),nU.createNodeArray(nU.createModifiersFromModifierFlags(512|Ad(n))));e.replaceNode(t,n,i)})(n,e.sourceFile,t,r));return Y1(oW,i,tA.Add_async_modifier_to_containing_function,oW,tA.Add_all_missing_async_modifiers)}function $c(e,t){if(t)return m9(Wv(e,t.start),n=>n.getStart(e)mO(t)?"quit":(RS(n)||wH(n)||Rx(n)||Na(n))&&zk(t,W1(n,e)))}var $d=dj({"src/services/codefixes/addMissingAsync.ts"(){ecu(),enr(),oW="addMissingAsync",oz=[tA.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,tA.Type_0_is_not_assignable_to_type_1.code,tA.Type_0_is_not_comparable_to_type_1.code],Y8({fixIds:[oW],errorCodes:oz,getCodeActions:function(e){let{sourceFile:t,errorCode:n,cancellationToken:r,program:i,span:a}=e,o=d0(i.getTypeChecker().getDiagnostics(t,r),({start:e,length:t,relatedInformation:r,code:i})=>_b(e)&&_b(t)&&zk({start:e,length:t},a)&&i===n&&!!r&&uv(r,e=>e.code===tA.Did_you_mean_to_mark_this_function_as_async.code)),s=$c(t,o&&o.relatedInformation&&d0(o.relatedInformation,e=>e.code===tA.Did_you_mean_to_mark_this_function_as_async.code));if(s)return[$l(e,s,t=>esW.ChangeTracker.with(e,t))]},getAllCodeActions:e=>{let{sourceFile:t}=e,n=new Set;return $e(e,oz,(r,i)=>{let a=$c(t,i.relatedInformation&&d0(i.relatedInformation,e=>e.code===tA.Did_you_mean_to_mark_this_function_as_async.code));if(a)return $l(e,a,e=>(e(r),[]),n)})}})}});function $u(e,t,n,r,i){let a=qX(e,n);return a&&uv(i.getTypeChecker().getDiagnostics(e,r),({start:e,length:r,relatedInformation:i,code:a})=>_b(e)&&_b(r)&&zk({start:e,length:r},n)&&a===t&&!!i&&uv(i,e=>e.code===tA.Did_you_forget_to_use_await.code))&&$f(a)?a:void 0}function $_(e,t,n,r,i,a){let{sourceFile:o,program:s,cancellationToken:l}=e,c=function(e,t,n,r,i){let a;let o=function(e,t){if(Rh(e.parent)&&wb(e.parent.expression))return{identifiers:[e.parent.expression],isCompleteFix:!0};if(wb(e))return{identifiers:[e],isCompleteFix:!0};if(RR(e)){let n;let r=!0;for(let i of[e.left,e.right]){let e=t.getTypeAtLocation(i);if(t.getPromisedTypeOfPromise(e)){if(!wb(i)){r=!1;continue}(n||(n=[])).push(i)}}return n&&{identifiers:n,isCompleteFix:r}}}(e,i);if(!o)return;let s=o.isCompleteFix;for(let e of o.identifiers){let o=i.getSymbolAtLocation(e);if(!o)continue;let l=_E(o.valueDeclaration,Nr),c=l&&_E(l.name,wb),d=xx(l,240);if(!l||!d||l.type||!l.initializer||d.getSourceFile()!==t||S3(d,1)||!c||!$f(l.initializer)){s=!1;continue}let u=r.getSemanticDiagnostics(t,n);if(erX.Core.eachSymbolReferenceInFile(c,i,t,n=>e!==n&&!function(e,t,n,r){let i=Rh(e.parent)?e.parent.name:RR(e.parent)?e.parent:e,a=d0(t,e=>e.start===i.getStart(n)&&e.start+e.length===i.getEnd());return a&&d6(oY,a.code)||1&r.getTypeAtLocation(i).flags}(n,u,t,i))){s=!1;continue}(a||(a=[])).push({expression:l.initializer,declarationSymbol:o})}return a&&{initializers:a,needsSecondPassForFixAll:!s}}(t,o,l,s,r);if(c)return Y0("addMissingAwaitToInitializer",i(e=>{dz(c.initializers,({expression:t})=>$m(e,n,o,r,t,a)),a&&c.needsSecondPassForFixAll&&$m(e,n,o,r,t,a)}),1===c.initializers.length?[tA.Add_await_to_initializer_for_0,c.initializers[0].declarationSymbol.name]:tA.Add_await_to_initializers)}function $p(e,t,n,r,i,a){let o=i(i=>$m(i,n,e.sourceFile,r,t,a));return Y1(oq,o,tA.Add_await,oq,tA.Fix_all_expressions_possibly_missing_await)}function $f(e){return 32768&e.kind||!!m9(e,e=>e.parent&&RS(e.parent)&&e.parent.body===e||RJ(e)&&(259===e.parent.kind||215===e.parent.kind||216===e.parent.kind||171===e.parent.kind))}function $m(e,t,n,r,i,a){if(R4(i.parent)&&!i.parent.awaitModifier){let t=r.getTypeAtLocation(i),a=r.getAsyncIterableType();if(a&&r.isTypeAssignableTo(t,a)){let t=i.parent;e.replaceNode(n,t,nU.updateForOfStatement(t,nU.createToken(133),t.initializer,t.expression,t.statement));return}}if(RR(i))for(let t of[i.left,i.right]){if(a&&wb(t)){let e=r.getSymbolAtLocation(t);if(e&&a.has(Gb(e)))continue}let i=r.getTypeAtLocation(t),o=r.getPromisedTypeOfPromise(i)?nU.createAwaitExpression(t):t;e.replaceNode(n,t,o)}else if(t===oJ&&Rh(i.parent)){if(a&&wb(i.parent.expression)){let e=r.getSymbolAtLocation(i.parent.expression);if(e&&a.has(Gb(e)))return}e.replaceNode(n,i.parent.expression,nU.createParenthesizedExpression(nU.createAwaitExpression(i.parent.expression))),$h(e,i.parent.expression,n)}else if(d6(oX,t)&&ga(i.parent)){if(a&&wb(i)){let e=r.getSymbolAtLocation(i);if(e&&a.has(Gb(e)))return}e.replaceNode(n,i,nU.createParenthesizedExpression(nU.createAwaitExpression(i))),$h(e,i,n)}else{if(a&&Nr(i.parent)&&wb(i.parent.name)){let e=r.getSymbolAtLocation(i.parent.name);if(e&&!um(a,Gb(e)))return}e.replaceNode(n,i,nU.createAwaitExpression(i))}}function $h(e,t,n){let r=WS(t.pos,n);r&&qw(r.end,r.parent,n)&&e.insertText(n,t.getStart(n),";")}var $y=dj({"src/services/codefixes/addMissingAwait.ts"(){ecu(),enr(),oq="addMissingAwait",oJ=tA.Property_0_does_not_exist_on_type_1.code,oX=[tA.This_expression_is_not_callable.code,tA.This_expression_is_not_constructable.code],oY=[tA.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type.code,tA.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,tA.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,tA.Operator_0_cannot_be_applied_to_type_1.code,tA.Operator_0_cannot_be_applied_to_types_1_and_2.code,tA.This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap.code,tA.This_condition_will_always_return_true_since_this_0_is_always_defined.code,tA.Type_0_is_not_an_array_type.code,tA.Type_0_is_not_an_array_type_or_a_string_type.code,tA.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher.code,tA.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,tA.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,tA.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator.code,tA.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator.code,tA.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,oJ,...oX],Y8({fixIds:[oq],errorCodes:oY,getCodeActions:function(e){let{sourceFile:t,errorCode:n,span:r,cancellationToken:i,program:a}=e,o=$u(t,n,r,i,a);if(!o)return;let s=e.program.getTypeChecker(),l=t=>esW.ChangeTracker.with(e,t);return uR([$_(e,o,n,s,l),$p(e,o,n,s,l)])},getAllCodeActions:e=>{let{sourceFile:t,program:n,cancellationToken:r}=e,i=e.program.getTypeChecker(),a=new Set;return $e(e,oY,(o,s)=>{let l=$u(t,s.code,s,r,n);if(!l)return;let c=e=>(e(o),[]);return $_(e,l,s.code,i,c,a)||$p(e,l,s.code,i,c,a)})}})}});function $g(e,t,n,r,i){let a=Wv(t,n),o=m9(a,e=>gE(e.parent)?e.parent.initializer===e:!function(e){switch(e.kind){case 79:case 206:case 207:case 299:case 300:return!0;default:return!1}}(e)&&"quit");if(o)return $v(e,o,t,i);let s=a.parent;if(RR(s)&&63===s.operatorToken.kind&&R$(s.parent))return $v(e,a,t,i);if(Rf(s)){let n=r.getTypeChecker();if(!dZ(s.elements,e=>{let t;return!!(t=wb(e)?e:AA(e,!0)&&wb(e.left)?e.left:void 0)&&!n.getSymbolAtLocation(t)}))return;return $v(e,s,t,i)}let l=m9(a,e=>!!R$(e.parent)||!function(e){switch(e.kind){case 79:case 223:case 27:return!0;default:return!1}}(e)&&"quit");if(l){if(!function e(t,n){return!!RR(t)&&(27===t.operatorToken.kind?dZ([t.left,t.right],t=>e(t,n)):63===t.operatorToken.kind&&wb(t.left)&&!n.getSymbolAtLocation(t.left))}(l,r.getTypeChecker()))return;return $v(e,l,t,i)}}function $v(e,t,n,r){(!r||um(r,t))&&e.insertModifierBefore(n,85,t)}var $b=dj({"src/services/codefixes/addMissingConst.ts"(){ecu(),enr(),o$="addMissingConst",Y8({errorCodes:oQ=[tA.Cannot_find_name_0.code,tA.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer.code],getCodeActions:function(e){let t=esW.ChangeTracker.with(e,t=>$g(t,e.sourceFile,e.span.start,e.program));if(t.length>0)return[Y1(o$,t,tA.Add_const_to_unresolved_variable,o$,tA.Add_const_to_all_unresolved_variables)]},fixIds:[o$],getAllCodeActions:e=>{let t=new Set;return $e(e,oQ,(n,r)=>$g(n,r.file,r.start,e.program,t))}})}});function $E(e,t,n,r){let i=Wv(t,n);if(!wb(i))return;let a=i.parent;169===a.kind&&(!r||um(r,a))&&e.insertModifierBefore(t,136,a)}var $T=dj({"src/services/codefixes/addMissingDeclareProperty.ts"(){ecu(),enr(),oZ="addMissingDeclareProperty",Y8({errorCodes:o0=[tA.Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration.code],getCodeActions:function(e){let t=esW.ChangeTracker.with(e,t=>$E(t,e.sourceFile,e.span.start));if(t.length>0)return[Y1(oZ,t,tA.Prefix_with_declare,oZ,tA.Prefix_all_incorrect_property_declarations_with_declare)]},fixIds:[oZ],getAllCodeActions:e=>{let t=new Set;return $e(e,o0,(e,n)=>$E(e,n.file,n.start,t))}})}});function $x(e,t,n){let r=m9(Wv(t,n),wB);T.assert(!!r,"Expected position to be owned by a decorator.");let i=nU.createCallExpression(r.expression,void 0,void 0);e.replaceNode(t,r.expression,i)}var $S=dj({"src/services/codefixes/addMissingInvocationForDecorator.ts"(){ecu(),enr(),o1="addMissingInvocationForDecorator",Y8({errorCodes:o2=[tA._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0.code],getCodeActions:function(e){return[Y1(o1,esW.ChangeTracker.with(e,t=>$x(t,e.sourceFile,e.span.start)),tA.Call_decorator_expression,o1,tA.Add_to_all_uncalled_decorators)]},fixIds:[o1],getAllCodeActions:e=>$e(e,o2,(e,t)=>$x(e,t.file,t.start))})}});function $A(e,t,n){let r=Wv(t,n),i=r.parent;if(!wG(i))return T.fail("Tried to add a parameter name to a non-parameter: "+T.formatSyntaxKind(r.kind));let a=i.parent.parameters.indexOf(i);T.assert(!i.type,"Tried to add a parameter name to a parameter that already had one."),T.assert(a>-1,"Parameter not found in parent parameter list.");let o=nU.createTypeReferenceNode(i.name,void 0),s=nU.createParameterDeclaration(i.modifiers,i.dotDotDotToken,"arg"+a,i.questionToken,i.dotDotDotToken?nU.createArrayTypeNode(o):o,i.initializer);e.replaceNode(t,i,s)}var $L=dj({"src/services/codefixes/addNameToNamelessParameter.ts"(){ecu(),enr(),o4="addNameToNamelessParameter",Y8({errorCodes:o8=[tA.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1.code],getCodeActions:function(e){return[Y1(o4,esW.ChangeTracker.with(e,t=>$A(t,e.sourceFile,e.span.start)),tA.Add_parameter_name,o4,tA.Add_names_to_all_parameters_without_names)]},fixIds:[o4],getAllCodeActions:e=>$e(e,o8,(e,t)=>$A(e,t.file,t.start))})}}),$C=dj({"src/services/codefixes/addOptionalPropertyUndefined.ts"(){ecu(),enr(),o6="addOptionalPropertyUndefined",Y8({errorCodes:[tA.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target.code,tA.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,tA.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code],getCodeActions(e){let t=e.program.getTypeChecker(),n=function(e,t,n){var r,i;let a=function e(t,n){var r;if(t){if(RR(t.parent)&&63===t.parent.operatorToken.kind)return{source:t.parent.right,target:t.parent.left};if(Nr(t.parent)&&t.parent.initializer)return{source:t.parent.initializer,target:t.parent.name};if(Rg(t.parent)){let e=n.getSymbolAtLocation(t.parent.expression);if(!(null==e?void 0:e.valueDeclaration)||!yj(e.valueDeclaration.kind)||!gp(t))return;let r=t.parent.arguments.indexOf(t);if(-1===r)return;let i=e.valueDeclaration.parameters[r].name;if(wb(i))return{source:t,target:i}}else if(NX(t.parent)&&wb(t.parent.name)||NY(t.parent)){let i=e(t.parent.parent,n);if(!i)return;let a=n.getPropertyOfType(n.getTypeAtLocation(i.target),t.parent.name.text),o=null==(r=null==a?void 0:a.declarations)?void 0:r[0];if(!o)return;return{source:NX(t.parent)?t.parent.initializer:t.parent.name,target:o}}}}(qX(e,t),n);if(!a)return o;let{source:s,target:l}=a,c=Rh(l)&&n.getExactOptionalProperties(n.getTypeAtLocation(l.expression)).length&&n.getTypeAtLocation(s)===n.getUndefinedType()?n.getTypeAtLocation(l.expression):n.getTypeAtLocation(l);return(null==(i=null==(r=c.symbol)?void 0:r.declarations)?void 0:i.some(e=>vS(e).fileName.match(/\.d\.ts$/)))?o:n.getExactOptionalProperties(c)}(e.sourceFile,e.span,t);if(n.length)return[Y0(o6,esW.ChangeTracker.with(e,e=>(function(e,t){for(let n of t){let t=n.valueDeclaration;if(t&&(wU(t)||wV(t))&&t.type){let n=nU.createUnionTypeNode([...189===t.type.kind?t.type.types:[t.type],nU.createTypeReferenceNode("undefined")]);e.replaceNode(t.getSourceFile(),t.type,n)}}})(e,n)),tA.Add_undefined_to_optional_property_type)]},fixIds:[o6]})}});function $k(e,t){let n=Wv(e,t);return _E(wG(n.parent)?n.parent.parent:n.parent,$I)}function $I(e){return(yB(e)||257===e.kind||168===e.kind||169===e.kind)&&function e(t){return yB(t)?t.parameters.some(e)||!t.type&&!!hW(t):!t.type&&!!hK(t)}(e)}function $w(e,t,n){if(yB(n)&&(hW(n)||n.parameters.some(e=>!!hK(e)))){if(!n.typeParameters){let r=SJ(n);r.length&&e.insertTypeParameters(t,n,r)}let r=RS(n)&&!Wo(n,20,t);for(let i of(r&&e.insertNodeBefore(t,uz(n.parameters),nU.createToken(20)),n.parameters))if(!i.type){let n=hK(i);n&&e.tryInsertTypeAnnotation(t,i,Gw(n,$R,y0))}if(r&&e.insertNodeAfter(t,uX(n.parameters),nU.createToken(21)),!n.type){let r=hW(n);r&&e.tryInsertTypeAnnotation(t,n,Gw(r,$R,y0))}}else{let r=T.checkDefined(hK(n),"A JSDocType for this declaration should exist");T.assert(!n.type,"The JSDocType decl should have a type"),e.tryInsertTypeAnnotation(t,n,Gw(r,$R,y0))}}function $R(e){var t;switch(e.kind){case 315:case 316:return nU.createTypeReferenceNode("any",o);case 319:return nU.createUnionTypeNode([Gw(e.type,$R,y0),nU.createTypeReferenceNode("undefined",o)]);case 318:return $R(e.type);case 317:return nU.createUnionTypeNode([Gw(e.type,$R,y0),nU.createTypeReferenceNode("null",o)]);case 321:return nU.createArrayTypeNode(Gw(e.type,$R,y0));case 320:return nU.createFunctionTypeNode(o,e.parameters.map($N),null!=(t=e.type)?t:nU.createKeywordTypeNode(131));case 180:return function(e){let t=e.typeName,n=e.typeArguments;if(wb(e.typeName)){if(E4(e)){let t,n;return t=nU.createParameterDeclaration(void 0,void 0,148===e.typeArguments[0].kind?"n":"s",void 0,nU.createTypeReferenceNode(148===e.typeArguments[0].kind?"number":"string",[]),void 0),IE(n=nU.createTypeLiteralNode([nU.createIndexSignature(void 0,[t],e.typeArguments[1])]),1),n}let r=e.typeName.text;switch(e.typeName.text){case"String":case"Boolean":case"Object":case"Number":r=r.toLowerCase();break;case"array":case"date":case"promise":r=r[0].toUpperCase()+r.slice(1)}t=nU.createIdentifier(r),n="Array"!==r&&"Promise"!==r||e.typeArguments?GR(e.typeArguments,$R,y0):nU.createNodeArray([nU.createTypeReferenceNode("any",o)])}return nU.createTypeReferenceNode(t,n)}(e);case 325:let n;return IE(n=nU.createTypeLiteralNode(un(e.jsDocPropertyTags,e=>nU.createPropertySignature(void 0,wb(e.name)?e.name:e.name.right,kJ(e)?nU.createToken(57):void 0,e.typeExpression&&Gw(e.typeExpression.type,$R,y0)||nU.createKeywordTypeNode(131)))),1),n;default:let r=GB(e,$R,iU);return IE(r,1),r}}function $N(e){let t=e.parent.parameters.indexOf(e),n=321===e.type.kind&&t===e.parent.parameters.length-1,r=e.name||(n?"rest":"arg"+t),i=n?nU.createToken(25):e.dotDotDotToken;return nU.createParameterDeclaration(e.modifiers,i,r,e.questionToken,Gw(e.type,$R,y0),e.initializer)}var $D=dj({"src/services/codefixes/annotateWithTypeFromJSDoc.ts"(){ecu(),enr(),o3="annotateWithTypeFromJSDoc",Y8({errorCodes:o5=[tA.JSDoc_types_may_be_moved_to_TypeScript_types.code],getCodeActions(e){let t=$k(e.sourceFile,e.span.start);if(t)return[Y1(o3,esW.ChangeTracker.with(e,n=>$w(n,e.sourceFile,t)),tA.Annotate_with_type_from_JSDoc,o3,tA.Annotate_everything_with_types_from_JSDoc)]},fixIds:[o3],getAllCodeActions:e=>$e(e,o5,(e,t)=>{let n=$k(t.file,t.start);n&&$w(e,t.file,n)})})}});function $O(e,t,n,r,i,a){let o=r.getSymbolAtLocation(Wv(t,n));if(!o||!o.valueDeclaration||!(19&o.flags))return;let s=o.valueDeclaration;if(Na(s)||Rx(s)){let n,r;e.replaceNode(t,s,(n=l(o),s.body&&n.unshift(nU.createConstructorDeclaration(void 0,s.parameters,s.body)),r=$M(s,93),nU.createClassDeclaration(r,s.name,void 0,void 0,n)))}else if(Nr(s)){let n=function(e){let t=e.initializer;if(!t||!Rx(t)||!wb(e.name))return;let n=l(e.symbol);t.body&&n.unshift(nU.createConstructorDeclaration(void 0,t.parameters,t.body));let r=$M(e.parent.parent,93);return nU.createClassDeclaration(r,e.name,void 0,void 0,n)}(s);if(!n)return;let r=s.parent.parent;Ni(s.parent)&&s.parent.declarations.length>1?(e.delete(t,s),e.insertNodeAfter(t,r,n)):e.replaceNode(t,r,n)}function l(n){let r=[];return n.exports&&n.exports.forEach(e=>{if("prototype"===e.name&&e.declarations){let t=e.declarations[0];1===e.declarations.length&&Rh(t)&&RR(t.parent)&&63===t.parent.operatorToken.kind&&Rm(t.parent.right)&&o(t.parent.right.symbol,void 0,r)}else o(e,[nU.createToken(124)],r)}),n.members&&n.members.forEach((i,a)=>{var s,l,c,d;if("constructor"===a&&i.valueDeclaration){let r=null==(d=null==(c=null==(l=null==(s=n.exports)?void 0:s.get("prototype"))?void 0:l.declarations)?void 0:c[0])?void 0:d.parent;r&&RR(r)&&Rm(r.right)&&uv(r.right.properties,$P)||e.delete(t,i.valueDeclaration.parent);return}o(i,void 0,r)}),r;function o(n,r,o){if(!(8192&n.flags)&&!(4096&n.flags))return;let s=n.valueDeclaration,l=s.parent,c=l.right;if((Lw(s)?!(Rh(s)&&$P(s)||yF(c)):!dZ(s.properties,e=>!!(wH(e)||h2(e)||NX(e)&&Rx(e.initializer)&&e.name||$P(e))))||uv(o,e=>{let t=hp(e);return!!(t&&wb(t))&&hi(t)===ho(n)}))return;let d=l.parent&&241===l.parent.kind?l.parent:l;if(e.delete(t,d),!c){o.push(nU.createPropertyDeclaration(r,n.name,void 0,void 0,void 0));return}if(Lw(s)&&(Rx(c)||RS(c))){let e=function(e,t,n){if(Rh(e))return e.name;let r=e.argumentExpression;return wt(r)?r:g8(r)?mA(r.text,Ct(t))?nU.createIdentifier(r.text):wo(r)?nU.createStringLiteral(r.text,0===n):r:void 0}(s,a,zy(t,i));e&&u(o,c,e);return}if(Rm(c)){dz(c.properties,e=>{(wH(e)||h2(e))&&o.push(e),NX(e)&&Rx(e.initializer)&&u(o,e.initializer,e.name),$P(e)});return}{if(EZ(t)||!Rh(s))return;let e=nU.createPropertyDeclaration(r,s.name,void 0,void 0,c);qf(l.parent,e,t),o.push(e);return}function u(e,n,i){let a,o,s,c,d,u;return Rx(n)?(a=uE(r,$M(n,132)),void(qf(l,o=nU.createMethodDeclaration(a,void 0,i,void 0,void 0,n.parameters,void 0,n.body),t),e.push(o))):(s=238===(c=n.body).kind?c:nU.createBlock([nU.createReturnStatement(c)]),d=uE(r,$M(n,132)),void(qf(l,u=nU.createMethodDeclaration(d,void 0,i,void 0,void 0,n.parameters,void 0,s),t),e.push(u)))}}}}function $M(e,t){return Oj(e)?d9(e.modifiers,e=>e.kind===t):void 0}function $P(e){return!!e.name&&!!wb(e.name)&&"constructor"===e.name.text}var $F=dj({"src/services/codefixes/convertFunctionToEs6Class.ts"(){ecu(),enr(),o7="convertFunctionToEs6Class",Y8({errorCodes:o9=[tA.This_constructor_function_may_be_converted_to_a_class_declaration.code],getCodeActions:e=>[Y1(o7,esW.ChangeTracker.with(e,t=>$O(t,e.sourceFile,e.span.start,e.program.getTypeChecker(),e.preferences,e.program.getCompilerOptions())),tA.Convert_function_to_an_ES2015_class,o7,tA.Convert_all_constructor_functions_to_classes)],fixIds:[o7],getAllCodeActions:e=>$e(e,o9,(t,n)=>$O(t,n.file,n.start,e.program.getTypeChecker(),e.preferences,e.program.getCompilerOptions()))})}});function $G(e,t,n,r){var i;let a,s,l,c;let d=Wv(t,n);if(!(a=wb(d)&&Nr(d.parent)&&d.parent.initializer&&yB(d.parent.initializer)?d.parent.initializer:_E(Ey(Wv(t,n)),Xl)))return;let u=new Map,_=EZ(a),p=function(e,t){if(!e.body)return new Set;let n=new Set;return Mr(e.body,function e(r){$B(r,t,"then")?(n.add(Gv(r)),dz(r.arguments,e)):$B(r,t,"catch")||$B(r,t,"finally")?(n.add(Gv(r)),Mr(r,e)):$j(r,t)?n.add(Gv(r)):Mr(r,e)}),n}(a,r),f=(s=new Map,l=_u(),Mr(a,function e(t){if(!wb(t)){Mr(t,e);return}let n=r.getSymbolAtLocation(t);if(n){let e=$0(r.getTypeAtLocation(t),r),i=Gb(n).toString();if(!e||wG(t.parent)||yB(t.parent)||u.has(i)){if(t.parent&&(wG(t.parent)||Nr(t.parent)||Rp(t.parent))){let e=t.text,r=l.get(e);if(r&&r.some(e=>e!==n)){let r=$H(t,l);s.set(i,r.identifier),u.set(i,r),l.add(e,n)}else{let r=qt(t);u.set(i,$4(r)),l.add(e,n)}}}else{let t=uK(e.parameters),r=(null==t?void 0:t.valueDeclaration)&&wG(t.valueDeclaration)&&_E(t.valueDeclaration.name,wb)||nU.createUniqueName("result",16),a=$H(r,l);u.set(i,a),l.add(r.text,n)}}}),qn(a,!0,e=>{if(Rp(e)&&wb(e.name)&&Ru(e.parent)){let t=r.getSymbolAtLocation(e.name),n=t&&s.get(String(Gb(t)));if(n&&n.text!==(e.name||e.propertyName).getText())return nU.createBindingElement(e.dotDotDotToken,e.propertyName||e.name,n,e.initializer)}else if(wb(e)){let t=r.getSymbolAtLocation(e),n=t&&s.get(String(Gb(t)));if(n)return nU.createIdentifier(n.text)}}));if(!Xt(f,r))return;let m=f.body&&RJ(f.body)?(i=f.body,c=[],b6(i,e=>{Xn(e,r)&&c.push(e)}),c):o,h={checker:r,synthNamesMap:u,setOfExpressionsToReturn:p,isInJSFile:_};if(!m.length)return;let y=mc(t.text,AZ(a).pos);for(let n of(e.insertModifierAt(t,y,132,{suffix:" "}),m))if(Mr(n,function r(i){if(Rg(i)){let r=$W(i,i,h,!1);if(!sn)return!0;e.replaceNodeWithNodes(t,n,r)}else if(!yF(i)&&(Mr(i,r),!sn))return!0}),!sn)return}function $B(e,t,n){if(!Rg(e))return!1;let r=KV(e,n)&&t.getTypeAtLocation(e);return!!(r&&t.getPromisedTypeOfPromise(r))}function $U(e,t){return(4<(e))!=0&&e.target===t}function $V(e,t,n){if("finally"===e.expression.name.escapedText)return;let r=n.getTypeAtLocation(e.expression.expression);if($U(r,n.getPromiseType())||$U(r,n.getPromiseLikeType())){if("then"!==e.expression.name.escapedText||t===d(e.arguments,0))return d(e.typeArguments,0);if(t===d(e.arguments,1))return d(e.typeArguments,1)}}function $j(e,t){return!!gp(e)&&!!t.getPromisedTypeOfPromise(t.getTypeAtLocation(e))}function $H(e,t){let n=(t.get(e.text)||o).length;return $4(0===n?e:nU.createIdentifier(e.text+"_"+n))}function $K(){return sn=!1,o}function $W(e,t,n,r,i){if($B(t,n.checker,"then"))return function(e,t,n,r,i,a){if(!t||$z(r,t))return $X(e,n,r,i,a);if(n&&!$z(r,n))return $K();let o=$2(t,r),s=$W(e.expression.expression,e.expression.expression,r,!0,o);if(!sn)return $K();let l=$Q(t,i,a,o,e,r);return sn?uE(s,l):$K()}(t,d(t.arguments,0),d(t.arguments,1),n,r,i);if($B(t,n.checker,"catch"))return $X(t,d(t.arguments,0),n,r,i);if($B(t,n.checker,"finally"))return function(e,t,n,r,i){if(!t||$z(n,t))return $W(e,e.expression.expression,n,r,i);let a=$q(e,n,i),o=$W(e,e.expression.expression,n,!0,a);if(!sn)return $K();let s=$Q(t,r,void 0,void 0,e,n);if(!sn)return $K();let l=nU.createBlock(o),c=nU.createBlock(s);return $J(e,n,nU.createTryStatement(l,void 0,c),a,i)}(t,d(t.arguments,0),n,r,i);if(Rh(t))return $W(e,t.expression,n,r,i);let a=n.checker.getTypeAtLocation(t);return a&&n.checker.getPromisedTypeOfPromise(a)?(T.assertNode(m7(t).parent,Rh),function(e,t,n,r,i){if($9(e,n)){let e=qt(t);return r&&(e=nU.createAwaitExpression(e)),[nU.createReturnStatement(e)]}return $Y(i,nU.createAwaitExpression(t),void 0)}(e,t,n,r,i)):$K()}function $z({checker:e},t){if(104===t.kind)return!0;if(wb(t)&&!yL(t)&&"undefined"===hi(t)){let n=e.getSymbolAtLocation(t);return!n||e.isUndefinedSymbol(n)}return!1}function $q(e,t,n){let r;return n&&!$9(e,t)&&($7(n)?(r=n,t.synthNamesMap.forEach((e,r)=>{if(e.identifier.text===n.identifier.text){let e=$4(nU.createUniqueName(n.identifier.text,16));t.synthNamesMap.set(r,e)}})):r=$4(nU.createUniqueName("result",16),n.types),$5(r)),r}function $J(e,t,n,r,i){let a;let o=[];if(r&&!$9(e,t)){a=qt($5(r));let e=r.types,n=t.checker.getUnionType(e,2),i=t.isInJSFile?void 0:t.checker.typeToTypeNode(n,void 0,void 0),s=[nU.createVariableDeclaration(a,void 0,i)],l=nU.createVariableStatement(void 0,nU.createVariableDeclarationList(s,1));o.push(l)}return o.push(n),i&&a&&1===i.kind&&o.push(nU.createVariableStatement(void 0,nU.createVariableDeclarationList([nU.createVariableDeclaration(qt($3(i)),void 0,void 0,a)],2))),o}function $X(e,t,n,r,i){if(!t||$z(n,t))return $W(e,e.expression.expression,n,r,i);let a=$2(t,n),o=$q(e,n,i),s=$W(e,e.expression.expression,n,!0,o);if(!sn)return $K();let l=$Q(t,r,o,a,e,n);if(!sn)return $K();let c=nU.createBlock(s),d=nU.createCatchClause(a&&qt($6(a)),nU.createBlock(l));return $J(e,n,nU.createTryStatement(c,d,void 0),o,i)}function $Y(e,t,n){return!e||function e(t){return!t||($7(t)?!t.identifier.text:dZ(t.elements,e))}(e)?[nU.createExpressionStatement(t)]:$7(e)&&e.hasBeenDeclared?[nU.createExpressionStatement(nU.createAssignment(qt($8(e)),t))]:[nU.createVariableStatement(void 0,nU.createVariableDeclarationList([nU.createVariableDeclaration(qt($6(e)),void 0,n,t)],2))]}function $$(e,t){if(t&&e){let n=nU.createUniqueName("result",16);return[...$Y($4(n),e,t),nU.createReturnStatement(n)]}return[nU.createReturnStatement(e)]}function $Q(e,t,n,r,i,a){var s;switch(e.kind){case 104:break;case 208:case 79:if(!r)break;let l=nU.createCallExpression(qt(e),void 0,$7(r)?[$8(r)]:[]);if($9(i,a))return $$(l,$V(i,e,a.checker));let c=a.checker.getTypeAtLocation(e),d=a.checker.getSignaturesOfType(c,0);if(!d.length)return $K();let u=d[0].getReturnType(),_=$Y(n,nU.createAwaitExpression(l),$V(i,e,a.checker));return n&&n.types.push(a.checker.getAwaitedType(u)||u),_;case 215:case 216:{let r=e.body,l=null==(s=$0(a.checker.getTypeAtLocation(e),a.checker))?void 0:s.getReturnType();if(RJ(r)){let o=[],s=!1;for(let c of r.statements)if(R3(c)){if(s=!0,Xn(c,a.checker))o=o.concat($1(a,c,t,n));else{let t=l&&c.expression?$Z(a.checker,l,c.expression):c.expression;o.push(...$$(t,$V(i,e,a.checker)))}}else{if(t&&b6(c,_A))return $K();o.push(c)}return $9(i,a)?o.map(e=>qt(e)):function(e,t,n,r){let i=[];for(let r of e)if(R3(r)){if(r.expression){let e=$j(r.expression,n.checker)?nU.createAwaitExpression(r.expression):r.expression;void 0===t?i.push(nU.createExpressionStatement(e)):$7(t)&&t.hasBeenDeclared?i.push(nU.createExpressionStatement(nU.createAssignment($8(t),e))):i.push(nU.createVariableStatement(void 0,nU.createVariableDeclarationList([nU.createVariableDeclaration($6(t),void 0,void 0,e)],2)))}}else i.push(qt(r));return r||void 0===t||i.push(nU.createVariableStatement(void 0,nU.createVariableDeclarationList([nU.createVariableDeclaration($6(t),void 0,void 0,nU.createIdentifier("undefined"))],2))),i}(o,n,a,s)}{let s=Xr(r,a.checker)?$1(a,nU.createReturnStatement(r),t,n):o;if(s.length>0)return s;if(!l)return $K();{let t=$Z(a.checker,l,r);if($9(i,a))return $$(t,$V(i,e,a.checker));{let e=$Y(n,t,void 0);return n&&n.types.push(a.checker.getAwaitedType(l)||l),e}}}}default:return $K()}return o}function $Z(e,t,n){let r=qt(n);return e.getPromisedTypeOfPromise(t)?nU.createAwaitExpression(r):r}function $0(e,t){return uJ(t.getSignaturesOfType(e,0))}function $1(e,t,n,r){let i=[];return Mr(t,function t(a){if(Rg(a)){let t=$W(a,a,e,n,r);if((i=i.concat(t)).length>0)return}else yF(a)||Mr(a,t)}),i}function $2(e,t){let n;let r=[];if(yB(e)?e.parameters.length>0&&(n=function e(t){if(wb(t))return i(t);let n=uo(t.elements,t=>RF(t)?[]:[e(t.name)]);return function(e,t=o,n=[]){return{kind:1,bindingPattern:e,elements:t,types:n}}(t,n)}(e.parameters[0].name)):wb(e)?n=i(e):Rh(e)&&wb(e.name)&&(n=i(e.name)),n&&(!("identifier"in n)||"undefined"!==n.identifier.text))return n;function i(e){var n,i;let a=e.original?e.original:e,o=null!=(i=null==(n=_E(a,gw))?void 0:n.symbol)?i:t.checker.getSymbolAtLocation(a);return o&&t.synthNamesMap.get(Gb(o).toString())||$4(e,r)}}function $4(e,t=[]){return{kind:0,identifier:e,types:t,hasBeenDeclared:!1,hasBeenReferenced:!1}}function $8(e){return e.hasBeenReferenced=!0,e.identifier}function $6(e){return $7(e)?$5(e):$3(e)}function $3(e){for(let t of e.elements)$6(t);return e.bindingPattern}function $5(e){return e.hasBeenDeclared=!0,e.identifier}function $7(e){return 0===e.kind}function $9(e,t){return!!e.original&&t.setOfExpressionsToReturn.has(Gv(e.original))}var Qe=dj({"src/services/codefixes/convertToAsyncFunction.ts"(){ecu(),enr(),se="convertToAsyncFunction",st=[tA.This_may_be_converted_to_an_async_function.code],sn=!0,Y8({errorCodes:st,getCodeActions(e){sn=!0;let t=esW.ChangeTracker.with(e,t=>$G(t,e.sourceFile,e.span.start,e.program.getTypeChecker()));return sn?[Y1(se,t,tA.Convert_to_async_function,se,tA.Convert_all_to_async_functions)]:[]},fixIds:[se],getAllCodeActions:e=>$e(e,st,(t,n)=>$G(t,n.file,n.start,e.program.getTypeChecker()))})}});function Qt(e,t){e.forEachChild(function n(r){if(Rh(r)&&FJ(e,r.expression)&&wb(r.name)){let{parent:e}=r;t(r,RR(e)&&e.left===r&&63===e.operatorToken.kind)}r.forEachChild(n)})}function Qn(e,t,n,r,i,a,o){let{declarationList:s}=t,l=!1,c=un(s.declarations,t=>{let{name:n,initializer:c}=t;if(c){if(FJ(e,c))return l=!0,Qu([]);if(E8(c,!0))return l=!0,function(e,t,n,r,i,a){switch(e.kind){case 203:{let n=ud(e.elements,e=>e.dotDotDotToken||e.initializer||e.propertyName&&!wb(e.propertyName)||!wb(e.name)?void 0:Ql(e.propertyName&&e.propertyName.text,e.name.text));if(n)return Qu([zf(void 0,n,t,a)])}case 204:{let n=Qa(Q5(t.text,i),r);return Qu([zf(nU.createIdentifier(n),void 0,t,a),Qc(void 0,qt(e),nU.createIdentifier(n))])}case 79:return function(e,t,n,r,i){let a;let o=n.getSymbolAtLocation(e),s=new Map,l=!1;for(let t of r.original.get(e.text)){if(n.getSymbolAtLocation(t)!==o||t===e)continue;let{parent:i}=t;if(Rh(i)){let{name:{text:e}}=i;if("default"===e){l=!0;let e=t.getText();(null!=a?a:a=new Map).set(i,nU.createIdentifier(e))}else{T.assert(i.expression===t,"Didn't expect expression === use");let n=s.get(e);void 0===n&&(n=Qa(e,r),s.set(e,n)),(null!=a?a:a=new Map).set(i,nU.createIdentifier(n))}}else l=!0}let c=0===s.size?void 0:u9(ur(s.entries(),([e,t])=>nU.createImportSpecifier(!1,e===t?void 0:nU.createIdentifier(e),nU.createIdentifier(t))));return c||(l=!0),Qu([zf(l?qt(e):void 0,c,t,i)],a)}(e,t,n,r,a);default:return T.assertNever(e,`Convert to ES module got invalid name kind ${e.kind}`)}}(n,c.arguments[0],r,i,a,o);if(Rh(c)&&E8(c.expression,!0))return l=!0,function(e,t,n,r,i){switch(e.kind){case 203:case 204:{let a=Qa(t,r);return Qu([Qs(a,t,n,i),Qc(void 0,e,nU.createIdentifier(a))])}case 79:return Qu([Qs(e.text,t,n,i)]);default:return T.assertNever(e,`Convert to ES module got invalid syntax form ${e.kind}`)}}(n,c.name.text,c.expression.arguments[0],i,o)}return Qu([nU.createVariableStatement(void 0,nU.createVariableDeclarationList([t],s.flags))])});if(l){let r;return n.replaceNodeWithNodes(e,t,uo(c,e=>e.newImports)),dz(c,e=>{e.useSitesToUnqualify&&vd(e.useSitesToUnqualify,null!=r?r:r=new Map)}),r}}function Qr(e){return Qd([nU.createExportSpecifier(!1,void 0,"default")],e)}function Qi(e,t){if(!t||!uv(u9(t.keys()),t=>K4(e,t)))return e;return _y(e)?qa(e,!0,n):qn(e,!0,n);function n(e){if(208===e.kind){let n=t.get(e);return t.delete(e),n}}}function Qa(e,t){for(;t.original.has(e)||t.additional.has(e);)e=`_${e}`;return t.additional.add(e),e}function Qo(e,t,n,r){return nU.createFunctionDeclaration(uE(t,qi(n.modifiers)),qt(n.asteriskToken),e,qi(n.typeParameters),qi(n.parameters),qt(n.type),nU.converters.convertToFunctionBlock(Qi(n.body,r)))}function Qs(e,t,n,r){return"default"===t?zf(nU.createIdentifier(e),void 0,n,r):zf(void 0,[Ql(t,e)],n,r)}function Ql(e,t){return nU.createImportSpecifier(!1,void 0!==e&&e!==t?nU.createIdentifier(e):void 0,nU.createIdentifier(t))}function Qc(e,t,n){return nU.createVariableStatement(e,nU.createVariableDeclarationList([nU.createVariableDeclaration(t,void 0,void 0,n)],2))}function Qd(e,t){return nU.createExportDeclaration(void 0,!1,e&&nU.createNamedExports(e),void 0===t?void 0:nU.createStringLiteral(t))}function Qu(e,t){return{newImports:e,useSitesToUnqualify:t}}var Q_=dj({"src/services/codefixes/convertToEsModule.ts"(){ecu(),enr(),Y8({errorCodes:[tA.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module.code],getCodeActions(e){let{sourceFile:t,program:n,preferences:r}=e;return[Y0("convertToEsModule",esW.ChangeTracker.with(e,e=>{if(function(e,t,n,r,i){let a,o,l;let c={original:(o=_u(),function e(t,n){wb(t)&&function(e){let{parent:t}=e;switch(t.kind){case 208:return t.name!==e;case 205:case 273:return t.propertyName!==e;default:return!0}}(t)&&n(t),t.forEachChild(t=>e(t,n))}(e,e=>o.add(e.text,e)),o),additional:new Set},d=(l=new Map,Qt(e,e=>{let{text:n}=e.name;!l.has(n)&&(xw(e.name)||t.resolveName(n,e,111551,!0))&&l.set(n,Qa(`_${n}`,c))}),l);Qt(e,(t,r)=>{if(r)return;let{text:i}=t.name;n.replaceNode(e,t,nU.createIdentifier(d.get(i)||i))});let u=!1;for(let o of d9(e.statements,RX)){let s=Qn(e,o,n,t,c,r,i);s&&vd(s,null!=a?a:a=new Map)}for(let o of d9(e.statements,e=>!RX(e))){let l=function(e,t,n,r,i,a,o,l,c){switch(t.kind){case 240:return Qn(e,t,r,n,i,a,c),!1;case 241:{let{expression:i}=t;switch(i.kind){case 210:return E8(i,!0)&&r.replaceNode(e,t,zf(void 0,void 0,i.arguments[0],c)),!1;case 223:{let{operatorToken:t}=i;return 63===t.kind&&function(e,t,n,r,i,a){let{left:o,right:l}=n;if(!Rh(o))return!1;if(FJ(e,o)){if(FJ(e,l))r.delete(e,n.parent);else{let i=Rm(l)?function(e,t){let n=ud(e.properties,e=>{switch(e.kind){case 174:case 175:case 300:case 301:return;case 299:return wb(e.name)?function(e,t,n){let r=[nU.createToken(93)];switch(t.kind){case 215:{let{name:n}=t;if(n&&n.text!==e)return i()}case 216:return Qo(e,r,t,n);case 228:return nU.createClassDeclaration(uE(r,qi(t.modifiers)),e,qi(t.typeParameters),qi(t.heritageClauses),Qi(t.members,n));default:return i()}function i(){return Qc(r,nU.createIdentifier(e),Qi(t,n))}}(e.name.text,e.initializer,t):void 0;case 171:return wb(e.name)?Qo(e.name.text,[nU.createToken(93)],e,t):void 0;default:T.assertNever(e,`Convert to ES6 got invalid prop kind ${e.kind}`)}});return n&&[n,!1]}(l,a):E8(l,!0)?function(e,t){let n=e.text,r=t.getSymbolAtLocation(e),i=r?r.exports:s;return i.has("export=")?[[Qr(n)],!0]:i.has("default")?i.size>1?[[Qd(void 0,n),Qr(n)],!0]:[[Qr(n)],!0]:[[Qd(void 0,n)],!1]}(l.arguments[0],t):void 0;return i?(r.replaceNodeWithNodes(e,n.parent,i[0]),i[1]):(r.replaceRangeWithText(e,AX(o.getStart(e),l.pos),"export default"),!0)}}else FJ(e,o.expression)&&function(e,t,n,r){let{text:i}=t.left.name,a=r.get(i);if(void 0!==a){let r=[Qc(void 0,a,t.right),Qd([nU.createExportSpecifier(!1,a,i)])];n.replaceNodeWithNodes(e,t.parent,r)}else(function({left:e,right:t,parent:n},r,i){let a=e.name.text;if((Rx(t)||RS(t)||RP(t))&&(!t.name||t.name.text===a)){i.replaceRange(r,{pos:e.getStart(r),end:t.getStart(r)},nU.createToken(93),{suffix:" "}),t.name||i.insertName(r,t,a);let o=Wo(n,26,r);o&&i.delete(r,o)}else i.replaceNodeRangeWithNodes(r,e.expression,Wo(e,24,r),[nU.createToken(93),nU.createToken(85)],{joiner:" ",suffix:" "})})(t,e,n)}(e,n,r,i);return!1}(e,n,i,r,o,l)}}}default:return!1}}(e,o,t,n,c,r,d,a,i);u=u||l}return null==a||a.forEach((t,r)=>{n.replaceNode(e,r,t)}),u}(t,n.getTypeChecker(),e,Ct(n.getCompilerOptions()),zy(t,r)))for(let i of n.getSourceFiles())!function(e,t,n,r){for(let i of e.imports){let a=vp(e,i.text,VI(e,i));if(!a||a.resolvedFileName!==t.fileName)continue;let o=TR(i);switch(o.kind){case 268:n.replaceNode(e,o,zf(o.name,void 0,i,r));break;case 210:E8(o,!1)&&n.replaceNode(e,o,nU.createPropertyAccessExpression(qt(o),"default"))}}}(i,t,e,zy(i,r))}),tA.Convert_to_ES_module)]}})}});function Qp(e,t){let n=m9(Wv(e,t),wM);return T.assert(!!n,"Expected position to be owned by a qualified name."),wb(n.left)?n:void 0}function Qf(e,t,n){let r=n.right.text,i=nU.createIndexedAccessTypeNode(nU.createTypeReferenceNode(n.left,void 0),nU.createLiteralTypeNode(nU.createStringLiteral(r)));e.replaceNode(t,n,i)}var Qm=dj({"src/services/codefixes/correctQualifiedNameToIndexedAccessType.ts"(){ecu(),enr(),sr="correctQualifiedNameToIndexedAccessType",Y8({errorCodes:si=[tA.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1.code],getCodeActions(e){let t=Qp(e.sourceFile,e.span.start);if(!t)return;let n=esW.ChangeTracker.with(e,n=>Qf(n,e.sourceFile,t)),r=`${t.left.text}["${t.right.text}"]`;return[Y1(sr,n,[tA.Rewrite_as_the_indexed_access_type_0,r],sr,tA.Rewrite_all_as_indexed_access_types)]},fixIds:[sr],getAllCodeActions:e=>$e(e,si,(e,t)=>{let n=Qp(t.file,t.start);n&&Qf(e,t.file,n)})})}});function Qh(e,t){return _E(Wv(t,e.start).parent,NC)}function Qy(e,t,n){if(!t)return;let r=t.parent,i=r.parent,a=function(e,t){let n=e.parent;if(1===n.elements.length)return n.elements;let r=qq(W1(n),t.program.getSemanticDiagnostics(t.sourceFile,t.cancellationToken));return d9(n.elements,t=>{var n;return t===e||(null==(n=qz(t,r))?void 0:n.code)===sa[0]})}(t,n);if(a.length===r.elements.length)e.insertModifierBefore(n.sourceFile,154,r);else{let t=nU.updateExportDeclaration(i,i.modifiers,!1,nU.updateNamedExports(r,d9(r.elements,e=>!d6(a,e))),i.moduleSpecifier,void 0),o=nU.createExportDeclaration(void 0,!0,nU.createNamedExports(a),i.moduleSpecifier,void 0);e.replaceNode(n.sourceFile,i,t,{leadingTriviaOption:esW.LeadingTriviaOption.IncludeAll,trailingTriviaOption:esW.TrailingTriviaOption.Exclude}),e.insertNodeAfter(n.sourceFile,i,o)}}var Qg=dj({"src/services/codefixes/convertToTypeOnlyExport.ts"(){ecu(),enr(),Y8({errorCodes:sa=[tA.Re_exporting_a_type_when_0_is_enabled_requires_using_export_type.code],getCodeActions:function(e){let t=esW.ChangeTracker.with(e,t=>Qy(t,Qh(e.span,e.sourceFile),e));if(t.length)return[Y1(so,t,tA.Convert_to_type_only_export,so,tA.Convert_all_re_exported_types_to_type_only_exports)]},fixIds:[so="convertToTypeOnlyExport"],getAllCodeActions:function(e){let t=new Map;return $e(e,sa,(n,r)=>{let i=Qh(r,e.sourceFile);i&&LC(t,Gv(i.parent.parent))&&Qy(n,i,e)})}})}});function Qv(e,t){let{parent:n}=Wv(e,t);return Nx(n)||Nm(n)&&n.importClause?n:void 0}function Qb(e,t,n){if(Nx(n))e.replaceNode(t,n,nU.updateImportSpecifier(n,!0,n.propertyName,n.name));else{let r=n.importClause;if(r.name&&r.namedBindings)e.replaceNodeWithNodes(t,n,[nU.createImportDeclaration(qi(n.modifiers,!0),nU.createImportClause(!0,qt(r.name,!0),void 0),qt(n.moduleSpecifier,!0),qt(n.assertClause,!0)),nU.createImportDeclaration(qi(n.modifiers,!0),nU.createImportClause(!0,void 0,qt(r.namedBindings,!0)),qt(n.moduleSpecifier,!0),qt(n.assertClause,!0))]);else{let i=nU.updateImportDeclaration(n,n.modifiers,nU.updateImportClause(r,!0,r.name,r.namedBindings),n.moduleSpecifier,n.assertClause);e.replaceNode(t,n,i)}}}var QE=dj({"src/services/codefixes/convertToTypeOnlyImport.ts"(){ecu(),enr(),Y8({errorCodes:ss=[tA.This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error.code,tA._0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled.code],getCodeActions:function(e){let t=Qv(e.sourceFile,e.span.start);if(t){let n=esW.ChangeTracker.with(e,n=>Qb(n,e.sourceFile,t));return[Y1(sl,n,tA.Convert_to_type_only_import,sl,tA.Convert_all_imports_not_used_as_a_value_to_type_only_imports)]}},fixIds:[sl="convertToTypeOnlyImport"],getAllCodeActions:function(e){return $e(e,ss,(e,t)=>{let n=Qv(t.file,t.start);n&&Qb(e,t.file,n)})}})}});function QT(e,t){let n=Wv(e,t);if(wb(n)){let t=_T(n.parent.parent,wU),r=n.getText(e);return{container:_T(t.parent,w2),typeNode:t.type,constraint:r,name:"K"===r?"P":"K"}}}function Qx(e,t,{container:n,typeNode:r,constraint:i,name:a}){e.replaceNode(t,n,nU.createMappedTypeNode(void 0,nU.createTypeParameterDeclaration(void 0,a,nU.createTypeReferenceNode(i)),void 0,void 0,r,void 0))}var QS=dj({"src/services/codefixes/convertLiteralTypeToMappedType.ts"(){ecu(),enr(),sc="convertLiteralTypeToMappedType",Y8({errorCodes:sd=[tA._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0.code],getCodeActions:function(e){let{sourceFile:t,span:n}=e,r=QT(t,n.start);if(!r)return;let{name:i,constraint:a}=r;return[Y1(sc,esW.ChangeTracker.with(e,e=>Qx(e,t,r)),[tA.Convert_0_to_1_in_0,a,i],sc,tA.Convert_all_type_literals_to_mapped_type)]},fixIds:[sc],getAllCodeActions:e=>$e(e,sd,(e,t)=>{let n=QT(t.file,t.start);n&&Qx(e,t.file,n)})})}});function QA(e,t){return T.checkDefined(Ev(Wv(e,t)),"There should be a containing class")}function QL(e){return!e.valueDeclaration||!(8&Al(e.valueDeclaration))}function QC(e,t,n,r,i,a){let o=e.program.getTypeChecker(),s=function(e,t){let n=xy(e);if(!n)return vt();let r=t.getTypeAtLocation(n);return vt(t.getPropertiesOfType(r).filter(QL))}(r,o),l=o.getTypeAtLocation(t),c=o.getPropertiesOfType(l).filter(po(QL,e=>!s.has(e.escapedName))),d=o.getTypeAtLocation(r),u=d0(r.members,e=>wW(e));d.getNumberIndexType()||p(l,1),d.getStringIndexType()||p(l,0);let _=QI(n,e.program,a,e.host);function p(t,i){let a=o.getIndexInfoOfType(t,i);a&&f(n,r,o.indexInfoToIndexSignatureDeclaration(a,r,void 0,ee5(e)))}function f(e,t,n){u?i.insertNodeAfter(e,u,n):i.insertMemberAtStart(e,t,n)}ee3(r,c,n,e,a,_,e=>f(n,r,e)),_.writeFixes(i)}var Qk=dj({"src/services/codefixes/fixClassIncorrectlyImplementsInterface.ts"(){ecu(),enr(),Y8({errorCodes:su=[tA.Class_0_incorrectly_implements_interface_1.code,tA.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code],getCodeActions(e){let{sourceFile:t,span:n}=e,r=QA(t,n.start);return uu(xv(r),n=>{let i=esW.ChangeTracker.with(e,i=>QC(e,n,t,r,i,e.preferences));return 0===i.length?void 0:Y1(s_,i,[tA.Implement_interface_0,n.getText(t)],s_,tA.Implement_all_unimplemented_interfaces)})},fixIds:[s_="fixClassIncorrectlyImplementsInterface"],getAllCodeActions(e){let t=new Map;return $e(e,su,(n,r)=>{let i=QA(r.file,r.start);if(LC(t,Gv(i)))for(let t of xv(i))QC(e,t,r.file,i,n,e.preferences)})}})}});function QI(e,t,n,r,i){return Qw(e,t,!1,n,r,i)}function Qw(e,t,n,r,i,a){let o=t.getCompilerOptions(),s=[],l=[],c=new Map,d=new Map;return{addImportFromDiagnostic:function(e,t){let r=Qj(t,e.code,e.start,n);r&&r.length&&u(uz(r))},addImportFromExportedSymbol:function(n,s){let l=T.checkDefined(n.parent),c=qZ(n,Ct(o)),d=t.getTypeChecker(),_=QP(e,d.getMergedSymbol(Lu(n,d)),c,l,!1,t,i,r,a),p=QU(e,t),f=QO(e,T.checkDefined(_),t,void 0,!!s,p,i,r);f&&u({fix:f,symbolName:c,errorIdentifierText:void 0})},writeFixes:function(t){let n;let i=zy(e,r);for(let n of s)QQ(t,e,n);for(let n of l)QZ(t,e,n,i);c.forEach(({importClauseOrBindingPattern:n,defaultImport:i,namedImports:a})=>{Q$(t,e,n,i,u9(a.entries(),([e,t])=>({addAsTypeOnly:t,name:e})),o,r)}),d.forEach(({useRequire:e,defaultImport:t,namedImports:r,namespaceLikeImport:a},s)=>{let l=(e?Q4:Q2)(s.slice(2),i,t,r&&u9(r.entries(),([e,t])=>({addAsTypeOnly:t,name:e})),a,o);n=uO(n,l)}),n&&zL(t,e,n,!0,r)},hasFixes:function(){return s.length>0||l.length>0||c.size>0||d.size>0}};function u(e){var t,n;let{fix:r,symbolName:i}=e;switch(r.kind){case 0:s.push(r);break;case 1:l.push(r);break;case 2:{let{importClauseOrBindingPattern:e,importKind:n,addAsTypeOnly:o}=r,s=String(Gv(e)),l=c.get(s);if(l||c.set(s,l={importClauseOrBindingPattern:e,defaultImport:void 0,namedImports:new Map}),0===n){let e=null==l?void 0:l.namedImports.get(i);l.namedImports.set(i,a(e,o))}else T.assert(void 0===l.defaultImport||l.defaultImport.name===i,"(Add to Existing) Default import should be missing or match symbolName"),l.defaultImport={name:i,addAsTypeOnly:a(null==(t=l.defaultImport)?void 0:t.addAsTypeOnly,o)};break}case 3:{let e,t,s,l,c;let{moduleSpecifier:u,importKind:_,useRequire:p,addAsTypeOnly:f}=r,m=(e=o(u,!0),t=o(u,!1),s=d.get(e),l=d.get(t),c={defaultImport:void 0,namedImports:void 0,namespaceLikeImport:void 0,useRequire:p},1===_&&2===f?s||(d.set(e,c),c):1===f&&(s||l)?s||l:l||(d.set(t,c),c));switch(T.assert(m.useRequire===p,"(Add new) Tried to add an `import` and a `require` for the same module"),_){case 1:T.assert(void 0===m.defaultImport||m.defaultImport.name===i,"(Add new) Default import should be missing or match symbolName"),m.defaultImport={name:i,addAsTypeOnly:a(null==(n=m.defaultImport)?void 0:n.addAsTypeOnly,f)};break;case 0:let h=(m.namedImports||(m.namedImports=new Map)).get(i);m.namedImports.set(i,a(h,f));break;case 3:case 2:T.assert(void 0===m.namespaceLikeImport||m.namespaceLikeImport.name===i,"Namespacelike import shoudl be missing or match symbolName"),m.namespaceLikeImport={importKind:_,name:i,addAsTypeOnly:f}}break}case 4:break;default:T.assertNever(r,`fix wasn't never - got kind ${r.kind}`)}function a(e,t){return Math.max(null!=e?e:0,t)}function o(e,t){return`${t?1:0}|${e}`}}}function QR(e,t,n,r){let i=qj(e,r,n),a=QB(t.getTypeChecker(),e,t.getCompilerOptions());return{getModuleSpecifierForBestExportInfo:function(o,s,l,c){let{fixes:d,computedWithoutCacheCount:u}=QF(o,s,l,!1,t,e,n,r,a,c),_=QH(d,e,t,i,n);return _&&{..._,computedWithoutCacheCount:u}}}}function QN(e,t,n,r,i,a,o,s,l,c,d,u){let _;let p=s.getCompilerOptions();n?(_=Jd(r,o,s,d,u).get(r.path,n),T.assertIsDefined(_,"Some exportInfo should match the specified exportMapKey")):(_=fc(Sl(t.name))?[function(e,t,n,r,i){var a,o;let s=r.getCompilerOptions(),l=d(r.getTypeChecker(),!1);if(l)return l;let c=null==(o=null==(a=i.getPackageJsonAutoImportProvider)?void 0:a.call(i))?void 0:o.getTypeChecker();return T.checkDefined(c&&d(c,!0),"Could not find symbol in specified module for code actions");function d(r,i){let a=Ju(n,r,s);if(a&&Lu(a.symbol,r)===e)return{symbol:a.symbol,moduleSymbol:n,moduleFileName:void 0,exportKind:a.exportKind,targetFlags:Lu(e,r).flags,isFromPackageJson:i};let o=r.tryGetMemberInModuleExportsAndProperties(t,n);if(o&&Lu(o,r)===e)return{symbol:o,moduleSymbol:n,moduleFileName:void 0,exportKind:0,targetFlags:Lu(e,r).flags,isFromPackageJson:i}}}(e,i,t,s,o)]:QP(r,e,i,t,a,s,o,d,u),T.assertIsDefined(_,"Some exportInfo should match the specified symbol / moduleSymbol"));let f=QU(r,s),m=kv(Wv(r,c)),h=T.checkDefined(QO(r,_,s,c,m,f,o,d));return{moduleSpecifier:h.moduleSpecifier,codeAction:QM(QX({host:o,formatContext:l,preferences:d},r,i,h,!1,p,d))}}function QD(e,t,n,r,i,a){let o=n.getCompilerOptions(),s=u$(QJ(e,n.getTypeChecker(),t,o)),l=Qq(e,t,s,n),c=s!==t.text;return l&&QM(QX({host:r,formatContext:i,preferences:a},e,s,l,c,o,a))}function QO(e,t,n,r,i,a,o,s){let l=qj(e,s,o);return QH(QF(t,r,i,a,n,e,o,s).fixes,e,n,l,o)}function QM({description:e,changes:t,commands:n}){return{description:e,changes:t,commands:n}}function QP(e,t,n,r,i,a,o,s,l){let c=QV(a,o);return Jd(e,o,a,s,l).search(e.path,i,e=>e===n,e=>{if(Lu(e[0].symbol,c(e[0].isFromPackageJson))===t&&e.some(e=>e.moduleSymbol===r||e.symbol.parent===r))return e})}function QF(e,t,n,r,i,a,s,l,c=QB(i.getTypeChecker(),a,i.getCompilerOptions()),d){var u;let _,p,f,m,h,y,g,v,b;let E=i.getTypeChecker(),x=uo(e,c.getImportsForExportInfo),S=void 0!==t&&dJ(x,({declaration:e,importKind:n})=>{var r;if(0!==n)return;let i=function(e){var t,n,r;switch(e.kind){case 257:return null==(t=_E(e.name,wb))?void 0:t.text;case 268:return e.name.text;case 269:return null==(r=_E(null==(n=e.importClause)?void 0:n.namedBindings,Nb))?void 0:r.name.text;default:return T.assertNever(e)}}(e),a=i&&(null==(r=Tw(e))?void 0:r.text);if(a)return{kind:0,namespacePrefix:i,usagePosition:t,moduleSpecifier:a}}),A=(u=i.getCompilerOptions(),dJ(x,({declaration:e,importKind:t,symbol:r,targetFlags:i})=>{if(3===t||2===t||268===e.kind)return;if(257===e.kind)return(0===t||1===t)&&203===e.name.kind?{kind:2,importClauseOrBindingPattern:e.name,importKind:t,moduleSpecifier:e.initializer.arguments[0].text,addAsTypeOnly:4}:void 0;let{importClause:a}=e;if(!a||!g8(e.moduleSpecifier))return;let{name:o,namedBindings:s}=a;if(a.isTypeOnly&&!(0===t&&s))return;let l=QG(n,!1,r,i,E,u);if((1!==t||!o&&(2!==l||!s))&&(0!==t||(null==s?void 0:s.kind)!==271))return{kind:2,importClauseOrBindingPattern:a,importKind:t,moduleSpecifier:e.moduleSpecifier.text,addAsTypeOnly:l}}));if(A)return{computedWithoutCacheCount:0,fixes:[...S?[S]:o,A]};let{fixes:L,computedWithoutCacheCount:C=0}=(_=dJ(x,e=>(function({declaration:e,importKind:t,symbol:n,targetFlags:r},i,a,o,s){var l;let c=null==(l=Tw(e))?void 0:l.text;if(c)return{kind:3,moduleSpecifier:c,importKind:t,addAsTypeOnly:a?4:QG(i,!0,n,r,o,s),useRequire:a}})(e,n,r,i.getTypeChecker(),i.getCompilerOptions())))?{fixes:[_]}:(p=EZ(a),f=i.getCompilerOptions(),m=zd(i,s),h=QV(i,s),y=z_(Ci(f)),g=d?e=>({moduleSpecifiers:Gh.tryGetModuleSpecifiersFromCache(e,a,m,l),computedWithoutCache:!1}):(e,t)=>Gh.getModuleSpecifiersWithCacheInfo(e,t,f,a,m,l),v=0,b=uo(e,(e,i)=>{let o=h(e.isFromPackageJson),{computedWithoutCache:s,moduleSpecifiers:l}=g(e.moduleSymbol,o),c=!!(111551&e.targetFlags),d=QG(n,!0,e.symbol,e.targetFlags,o,f);return v+=s?1:0,uu(l,n=>{var s;let l;if(y&&Fi(n))return;if(!c&&p&&void 0!==t)return{kind:1,moduleSpecifier:n,usagePosition:t,exportInfo:e,isReExport:i>0};let u=Qz(a,e.exportKind,f);if(void 0!==t&&3===u&&0===e.exportKind){let n;let r=o.resolveExternalModuleSymbol(e.moduleSymbol);r!==e.moduleSymbol&&(n=null==(s=Jp(r,o,f))?void 0:s.name),n||(n=Q3(e.moduleSymbol,Ct(f),!1)),l={namespacePrefix:n,usagePosition:t}}return{kind:3,moduleSpecifier:n,importKind:u,useRequire:r,addAsTypeOnly:d,exportInfo:e,isReExport:i>0,qualification:l}})}),{computedWithoutCacheCount:v,fixes:b});return{computedWithoutCacheCount:C,fixes:[...S?[S]:o,...L]}}function QG(e,t,n,r,i,a){return e?t&&2===a.importsNotUsedAsValues||Cl(a)&&(!(111551&r)||i.getTypeOnlyAliasDeclaration(n))?2:1:4}function QB(e,t,n){let r;for(let n of t.imports){let t=TR(n);if(E6(t.parent)){let i=e.resolveExternalModuleName(n);i&&(r||(r=_u())).add(Gb(i),t.parent)}else if(269===t.kind||268===t.kind){let i=e.getSymbolAtLocation(n);i&&(r||(r=_u())).add(Gb(i),t)}}return{getImportsForExportInfo:({moduleSymbol:e,exportKind:i,targetFlags:a,symbol:s})=>{if(!(111551&a)&&EZ(t))return o;let l=null==r?void 0:r.get(Gb(e));if(!l)return o;let c=Qz(t,i,n);return l.map(e=>({declaration:e,importKind:c,symbol:s,targetFlags:a}))}}}function QU(e,t){if(!EZ(e))return!1;if(e.commonJsModuleIndicator&&!e.externalModuleIndicator)return!0;if(e.externalModuleIndicator&&!e.commonJsModuleIndicator)return!1;let n=t.getCompilerOptions();if(n.configFile)return 5>Cn(n);for(let n of t.getSourceFiles())if(!(n===e||!EZ(n)||t.isSourceFileFromExternalLibrary(n))){if(n.commonJsModuleIndicator&&!n.externalModuleIndicator)return!0;if(n.externalModuleIndicator&&!n.commonJsModuleIndicator)return!1}return!0}function QV(e,t){return _N(n=>n?t.getPackageJsonAutoImportProvider().getTypeChecker():e.getTypeChecker())}function Qj(e,t,n,r){var i,a,o,s;let l,c;let d=Wv(e.sourceFile,n);if(t===tA._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code)l=function({sourceFile:e,program:t,host:n,preferences:r},i){let a=t.getTypeChecker(),o=function(e,t){let n=wb(e)?t.getSymbolAtLocation(e):void 0;if(LS(n))return n;let{parent:r}=e;if(gK(r)&&r.tagName===e||NB(r)){let n=t.resolveName(t.getJsxNamespace(r),gK(r)?e:r,111551,!1);if(LS(n))return n}}(i,a);if(!o)return;let s=a.getAliasedSymbol(o),l=o.name;return QF([{symbol:o,moduleSymbol:s,moduleFileName:void 0,exportKind:3,targetFlags:s.flags,isFromPackageJson:!1}],void 0,!1,QU(e,t),t,e,n,r).fixes.map(e=>{var t;return{fix:e,symbolName:l,errorIdentifierText:null==(t=_E(i,wb))?void 0:t.text}})}(e,d);else if(!wb(d))return;else if(t===tA._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type.code){let t=u$(QJ(e.sourceFile,e.program.getTypeChecker(),d,e.program.getCompilerOptions())),n=Qq(e.sourceFile,d,t,e.program);return n&&[{fix:n,symbolName:t,errorIdentifierText:d.text}]}else l=function({sourceFile:e,program:t,cancellationToken:n,host:r,preferences:i},a,o){return uo(QJ(e,t.getTypeChecker(),a,t.getCompilerOptions()),s=>{if("default"===s)return;let l=kv(a),c=QU(e,t);return u9(ul((function(e,t,n,r,i,a,o,s,l){var c;let d=_u(),u=qj(i,l,s),_=null==(c=s.getModuleSpecifierCache)?void 0:c.call(s),p=_N(e=>zd(e?s.getPackageJsonAutoImportProvider():a,s));function f(e,t,n,r,a,o){let s=p(o);if(t&&Js(a,i,t,l,u,s,_)||!t&&u.allowsImportingAmbientModule(e,s)){let i=a.getTypeChecker();d.add(z7(n,i).toString(),{symbol:n,moduleSymbol:e,moduleFileName:null==t?void 0:t.fileName,exportKind:r,targetFlags:Lu(n,i).flags,isFromPackageJson:o})}}return Jl(a,s,l,o,(i,a,o,s)=>{let l=o.getTypeChecker();r.throwIfCancellationRequested();let c=o.getCompilerOptions(),d=Ju(i,l,c);d&&(d.name===e||Q3(i,Ct(c),t)===e)&&Q6(d.resolvedSymbol,n)&&f(i,a,d.symbol,d.exportKind,o,s);let u=l.tryGetMemberInModuleExportsAndProperties(e,i);u&&Q6(u,n)&&f(i,a,u,0,o,s)}),d})(s,Ej(a),KL(a),n,e,t,o,r,i).values(),n=>QF(n,a.getStart(e),l,c,t,e,r,i).fixes),e=>({fix:e,symbolName:s,errorIdentifierText:a.text,isJsxNamespaceFix:s!==a.text}))})}(e,d,r);let u=qj(e.sourceFile,e.preferences,e.host);return l&&(i=l,a=e.sourceFile,o=e.program,s=e.host,c=e=>fR(e,s.getCurrentDirectory(),Sh(s)),uU(i,(e,t)=>_$(!!e.isJsxNamespaceFix,!!t.isJsxNamespaceFix)||_U(e.fix.kind,t.fix.kind)||QK(e.fix,t.fix,a,o,u.allowsImportingSpecifier,c)))}function QH(e,t,n,r,i){if(uv(e))return 0===e[0].kind||2===e[0].kind?e[0]:e.reduce((e,a)=>-1===QK(a,e,t,n,r.allowsImportingSpecifier,e=>fR(e,i.getCurrentDirectory(),Sh(i)))?a:e)}function QK(e,t,n,r,i,a){var o,s;return 0!==e.kind&&0!==t.kind?_$(i(t.moduleSpecifier),i(e.moduleSpecifier))||(o=e.moduleSpecifier,s=t.moduleSpecifier,pn(o,"node:")&&!pn(s,"node:")?q7(n,r)?-1:1:pn(s,"node:")&&!pn(o,"node:")?q7(n,r)?1:-1:0)||_$(QW(e,n,r.getCompilerOptions(),a),QW(t,n,r.getCompilerOptions(),a))||C2(e.moduleSpecifier,t.moduleSpecifier):0}function QW(e,t,n,r){var i;if(e.isReExport&&(null==(i=e.exportInfo)?void 0:i.moduleFileName)&&2===Ci(n)&&"index"===fg(e.exportInfo.moduleFileName,[".js",".jsx",".d.ts",".ts",".tsx"],!0)){let n=r(fy(e.exportInfo.moduleFileName));return pn(t.path,n)}return!1}function Qz(e,t,n,r){if(n.verbatimModuleSyntax&&(1===Cn(n)||1===e.impliedNodeFormat))return 3;switch(t){case 0:return 0;case 1:return 1;case 2:return function(e,t,n){let r=Cp(t),i=EZ(e);if(!i&&Cn(t)>=5)return r?1:2;if(i)return Md(e)||n?r?1:2:3;for(let t of e.statements)if(Nf(t)&&!vN(t.moduleReference))return 3;return r?1:3}(e,n,!!r);case 3:return function(e,t,n){if(Cp(t))return 1;let r=Cn(t);switch(r){case 2:case 1:case 3:if(EZ(e))return Md(e)||n?2:3;return 3;case 4:case 5:case 6:case 7:case 99:case 0:return 2;case 100:case 199:return 99===e.impliedNodeFormat?2:3;default:return T.assertNever(r,`Unexpected moduleKind ${r}`)}}(e,n,!!r);default:return T.assertNever(t)}}function Qq(e,t,n,r){let i=r.getTypeChecker(),a=i.resolveName(n,t,111551,!0);if(!a)return;let o=i.getTypeOnlyAliasDeclaration(a);if(o&&vS(o)===e)return{kind:4,typeOnlyAliasDeclaration:o}}function QJ(e,t,n,r){let i=n.parent;if((gK(i)||NF(i))&&i.tagName===n&&Jn(r.jsx)){let r=t.getJsxNamespace(e);if(function(e,t,n){if(Sc(t.text))return!0;let r=n.resolveName(e,t,111551,!0);return!r||uv(r.declarations,yx)&&!(111551&r.flags)}(r,n,t))return Sc(n.text)||t.resolveName(n.text,n,111551,!1)?[r]:[n.text,r]}return[n.text]}function QX(e,t,n,r,i,a,s){let l;let c=esW.ChangeTracker.with(e,e=>{l=function(e,t,n,r,i,a,s){let l=zy(t,s);switch(r.kind){case 0:return QQ(e,t,r),[tA.Change_0_to_1,n,`${r.namespacePrefix}.${n}`];case 1:return QZ(e,t,r,l),[tA.Change_0_to_1,n,Q0(r.moduleSpecifier,l)+n];case 2:{let{importClauseOrBindingPattern:l,importKind:c,addAsTypeOnly:d,moduleSpecifier:u}=r;Q$(e,t,l,1===c?{name:n,addAsTypeOnly:d}:void 0,0===c?[{name:n,addAsTypeOnly:d}]:o,a,s);let _=Sl(u);return i?[tA.Import_0_from_1,n,_]:[tA.Update_import_from_0,_]}case 3:{let{importKind:o,moduleSpecifier:c,addAsTypeOnly:d,useRequire:u,qualification:_}=r;return zL(e,t,(u?Q4:Q2)(c,l,1===o?{name:n,addAsTypeOnly:d}:void 0,0===o?[{name:n,addAsTypeOnly:d}]:void 0,2===o||3===o?{importKind:o,name:(null==_?void 0:_.namespacePrefix)||n,addAsTypeOnly:d}:void 0,a),!0,s),_&&QQ(e,t,_),i?[tA.Import_0_from_1,n,c]:[tA.Add_import_from_0,c]}case 4:{let{typeOnlyAliasDeclaration:i}=r,o=function(e,t,n,r,i){let a=Cl(n);switch(t.kind){case 273:if(!t.isTypeOnly)return T.assert(t.parent.parent.isTypeOnly),o(t.parent.parent),t.parent.parent;{let n=eij.detectImportSpecifierSorting(t.parent.elements,i);if(t.parent.elements.length>1&&n){e.delete(r,t);let a=nU.updateImportSpecifier(t,!1,t.propertyName,t.name),o=eij.getOrganizeImportsComparer(i,2===n),s=eij.getImportSpecifierInsertionIndex(t.parent.elements,a,o);e.insertImportSpecifierAtIndex(r,a,t.parent,s)}else e.deleteRange(r,t.getFirstToken());return t}case 270:return o(t),t;case 271:return o(t.parent),t.parent;case 268:return e.deleteRange(r,t.getChildAt(1)),t;default:T.failBadSyntaxKind(t)}function o(n){if(e.delete(r,zC(n,r)),a){let a=_E(n.namedBindings,NT);if(a&&a.elements.length>1)for(let n of(eij.detectImportSpecifierSorting(a.elements,i)&&273===t.kind&&0!==a.elements.indexOf(t)&&(e.delete(r,t),e.insertImportSpecifierAtIndex(r,t,a,0)),a.elements))n===t||n.isTypeOnly||e.insertModifierBefore(r,154,n)}}}(e,i,a,t,s);return 273===o.kind?[tA.Remove_type_from_import_of_0_from_1,n,QY(o.parent.parent)]:[tA.Remove_type_from_import_declaration_from_0,QY(o)]}default:return T.assertNever(r,`Unexpected fix kind ${r.kind}`)}}(e,t,n,r,i,a,s)});return Y1(sp,c,l,sf,tA.Add_all_missing_imports)}function QY(e){var t,n;return 268===e.kind?(null==(n=_E(null==(t=_E(e.moduleReference,ND))?void 0:t.expression,g8))?void 0:n.text)||e.moduleReference.getText():_T(e.parent.moduleSpecifier,wr).text}function Q$(e,t,n,r,i,a,o){var s;if(203===n.kind){for(let e of(r&&u(n,r.name,"default"),i))u(n,e.name,void 0);return}let l=n.isTypeOnly&&uv([r,...i],e=>(null==e?void 0:e.addAsTypeOnly)===4),c=n.namedBindings&&(null==(s=_E(n.namedBindings,NT))?void 0:s.elements),d=l&&Cl(a);if(r&&(T.assert(!n.name,"Cannot add a default import to an import clause that already has one"),e.insertNodeAt(t,n.getStart(t),nU.createIdentifier(r.name),{suffix:", "})),i.length){let r;if("boolean"==typeof o.organizeImportsIgnoreCase)r=o.organizeImportsIgnoreCase;else if(c){let e=eij.detectImportSpecifierSorting(c,o);3!==e&&(r=2===e)}void 0===r&&(r=2===eij.detectSorting(t,o));let a=eij.getOrganizeImportsComparer(o,r),s=uj(i.map(e=>nU.createImportSpecifier((!n.isTypeOnly||l)&&Q1(e),void 0,nU.createIdentifier(e.name))),(e,t)=>eij.compareImportOrExportSpecifiers(e,t,a)),u=(null==c?void 0:c.length)&&eij.detectImportSpecifierSorting(c,o);if(u&&!(r&&1===u))for(let r of s){let i=d&&!r.isTypeOnly?0:eij.getImportSpecifierInsertionIndex(c,r,a);e.insertImportSpecifierAtIndex(t,r,n.namedBindings,i)}else if(null==c?void 0:c.length)for(let n of s)e.insertNodeInListAfter(t,uX(c),n,c);else if(s.length){let r=nU.createNamedImports(s);n.namedBindings?e.replaceNode(t,n.namedBindings,r):e.insertNodeAfter(t,T.checkDefined(n.name,"Import clause must have either named imports or a default import"),r)}}if(l&&(e.delete(t,zC(n,t)),d&&c))for(let n of c)e.insertModifierBefore(t,154,n);function u(n,r,i){let a=nU.createBindingElement(void 0,i,r);n.elements.length?e.insertNodeInListAfter(t,uX(n.elements),a):e.replaceNode(t,n,nU.createObjectBindingPattern([a]))}}function QQ(e,t,{namespacePrefix:n,usagePosition:r}){e.insertText(t,r,n+".")}function QZ(e,t,{moduleSpecifier:n,usagePosition:r},i){e.insertText(t,r,Q0(n,i))}function Q0(e,t){let n=zg(t);return`import(${n}${e}${n}).`}function Q1({addAsTypeOnly:e}){return 2===e}function Q2(e,t,n,r,i,a){let o;let s=zm(e,t);if(void 0!==n||(null==r?void 0:r.length)){let i=(!n||Q1(n))&&dZ(r,Q1)||a.verbatimModuleSyntax&&(null==n?void 0:n.addAsTypeOnly)!==4&&!uv(r,e=>4===e.addAsTypeOnly);o=uO(o,zf(n&&nU.createIdentifier(n.name),null==r?void 0:r.map(({addAsTypeOnly:e,name:t})=>nU.createImportSpecifier(!i&&2===e,void 0,nU.createIdentifier(t))),e,t,i))}return i&&(o=uO(o,3===i.importKind?nU.createImportEqualsDeclaration(void 0,Q1(i),nU.createIdentifier(i.name),nU.createExternalModuleReference(s)):nU.createImportDeclaration(void 0,nU.createImportClause(Q1(i),void 0,nU.createNamespaceImport(nU.createIdentifier(i.name))),s,void 0))),T.checkDefined(o)}function Q4(e,t,n,r,i){let a;let o=zm(e,t);if(n||(null==r?void 0:r.length)){let e=(null==r?void 0:r.map(({name:e})=>nU.createBindingElement(void 0,void 0,e)))||[];n&&e.unshift(nU.createBindingElement(void 0,"default",n.name)),a=uO(a,Q8(nU.createObjectBindingPattern(e),o))}return i&&(a=uO(a,Q8(i.name,o))),T.checkDefined(a)}function Q8(e,t){return nU.createVariableStatement(void 0,nU.createVariableDeclarationList([nU.createVariableDeclaration("string"==typeof e?nU.createIdentifier(e):e,void 0,void 0,nU.createCallExpression(nU.createIdentifier("require"),void 0,[t]))],2))}function Q6({declarations:e},t){return uv(e,e=>!!(KA(e)&t))}function Q3(e,t,n){return Q5(C4(Sl(e.name)),t,n)}function Q5(e,t,n){let r=fg(_0(e,"/index")),i="",a=!0,o=r.charCodeAt(0);mx(o,t)?(i+=String.fromCharCode(o),n&&(i=i.toUpperCase())):a=!1;for(let e=1;eQX(e,r,i,t,i!==o,a.getCompilerOptions(),n))},fixIds:[sf],getAllCodeActions:e=>{let{sourceFile:t,program:n,preferences:r,host:i,cancellationToken:a}=e,o=Qw(t,n,!0,r,i,a);return $t(e,sm,t=>o.addImportFromDiagnostic(t,e)),Y7(esW.ChangeTracker.with(e,o.writeFixes))}})}});function Q9(e,t,n){let r=d0(e.getSemanticDiagnostics(t),e=>e.start===n.start&&e.length===n.length);if(void 0===r||void 0===r.relatedInformation)return;let i=d0(r.relatedInformation,e=>e.code===tA.This_type_parameter_might_need_an_extends_0_constraint.code);if(void 0===i||void 0===i.file||void 0===i.start||void 0===i.length)return;let a=etf(i.file,mz(i.start,i.length));if(void 0!==a&&(wb(a)&&wF(a.parent)&&(a=a.parent),wF(a))){var o;if(Ro(a.parent))return;let r=Wv(t,n.start);return{constraint:(o=e.getTypeChecker(),(y0(r.parent)?o.getTypeArgumentConstraint(r.parent):(gp(r)?o.getContextualType(r):void 0)||o.getTypeAtLocation(r))||function(e){let[t,n]=VA(e,"\n",0).match(/`extends (.*)`/)||[];return n}(i.messageText)),declaration:a,token:r}}}function Ze(e,t,n,r,i,a){let{declaration:o,constraint:s}=a,l=t.getTypeChecker();if(_v(s))e.insertText(i,o.name.end,` extends ${s}`);else{let a=Ct(t.getCompilerOptions()),c=ee5({program:t,host:r}),d=QI(i,t,n,r),u=etn(l,d,s,void 0,a,void 0,c);u&&(e.replaceNode(i,o,nU.updateTypeParameterDeclaration(o,void 0,o.name,u,o.default)),d.writeFixes(e))}}var Zt=dj({"src/services/codefixes/fixAddMissingConstraint.ts"(){ecu(),enr(),sh="addMissingConstraint",Y8({errorCodes:sy=[tA.Type_0_is_not_comparable_to_type_1.code,tA.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated.code,tA.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,tA.Type_0_is_not_assignable_to_type_1.code,tA.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,tA.Property_0_is_incompatible_with_index_signature.code,tA.Property_0_in_type_1_is_not_assignable_to_type_2.code,tA.Type_0_does_not_satisfy_the_constraint_1.code],getCodeActions(e){let{sourceFile:t,span:n,program:r,preferences:i,host:a}=e,o=Q9(r,t,n);if(void 0!==o)return[Y1(sh,esW.ChangeTracker.with(e,e=>Ze(e,r,i,a,t,o)),tA.Add_extends_constraint,sh,tA.Add_extends_constraint_to_all_type_parameters)]},fixIds:[sh],getAllCodeActions:e=>{let{program:t,preferences:n,host:r}=e,i=new Map;return Y7(esW.ChangeTracker.with(e,a=>{$t(e,sy,e=>{let o=Q9(t,e.file,mz(e.start,e.length));if(o&&LC(i,Gv(o.declaration)))return Ze(a,t,n,r,e.file,o)})}))}})}});function Zn(e,t,n,r){switch(n){case tA.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code:case tA.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code:case tA.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code:case tA.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code:case tA.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code:return function(e,t,n){let r=Zi(t,n);if(EZ(t)){e.addJSDocTags(t,r,[nU.createJSDocOverrideTag(nU.createIdentifier("override"))]);return}let i=r.modifiers||o,a=d0(i,wk),s=d0(i,wI),l=d0(i,e=>WJ(e.kind)),c=d1(i,wB),d=s?s.end:a?a.end:l?l.end:c?mc(t.text,c.end):r.getStart(t),u=l||a||s?{prefix:" "}:{suffix:" "};e.insertModifierAt(t,d,161,u)}(e,t.sourceFile,r);case tA.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code:case tA.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code:case tA.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code:case tA.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code:return function(e,t,n){let r=Zi(t,n);if(EZ(t)){e.filterJSDocTags(t,r,pl(Dg));return}let i=d0(r.modifiers,ww);T.assertIsDefined(i),e.deleteModifier(t,i)}(e,t.sourceFile,r);default:T.fail("Unexpected error code: "+n)}}function Zr(e){switch(e.kind){case 173:case 169:case 171:case 174:case 175:return!0;case 166:return mZ(e,e.parent);default:return!1}}function Zi(e,t){let n=m9(Wv(e,t),e=>yW(e)?"quit":Zr(e));return T.assert(n&&Zr(n)),n}var Za=dj({"src/services/codefixes/fixOverrideModifier.ts"(){ecu(),enr(),sg="fixOverrideModifier",sv="fixAddOverrideModifier",sb="fixRemoveOverrideModifier",sE=[tA.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code,tA.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code,tA.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code,tA.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code,tA.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code,tA.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code,tA.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code,tA.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code,tA.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code],sT={[tA.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code]:{descriptions:tA.Add_override_modifier,fixId:sv,fixAllDescriptions:tA.Add_all_missing_override_modifiers},[tA.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code]:{descriptions:tA.Add_override_modifier,fixId:sv,fixAllDescriptions:tA.Add_all_missing_override_modifiers},[tA.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code]:{descriptions:tA.Remove_override_modifier,fixId:sb,fixAllDescriptions:tA.Remove_all_unnecessary_override_modifiers},[tA.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code]:{descriptions:tA.Remove_override_modifier,fixId:sb,fixAllDescriptions:tA.Remove_override_modifier},[tA.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code]:{descriptions:tA.Add_override_modifier,fixId:sv,fixAllDescriptions:tA.Add_all_missing_override_modifiers},[tA.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code]:{descriptions:tA.Add_override_modifier,fixId:sv,fixAllDescriptions:tA.Add_all_missing_override_modifiers},[tA.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code]:{descriptions:tA.Add_override_modifier,fixId:sv,fixAllDescriptions:tA.Remove_all_unnecessary_override_modifiers},[tA.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code]:{descriptions:tA.Remove_override_modifier,fixId:sb,fixAllDescriptions:tA.Remove_all_unnecessary_override_modifiers},[tA.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code]:{descriptions:tA.Remove_override_modifier,fixId:sb,fixAllDescriptions:tA.Remove_all_unnecessary_override_modifiers}},Y8({errorCodes:sE,getCodeActions:function(e){let{errorCode:t,span:n}=e,r=sT[t];if(!r)return o;let{descriptions:i,fixId:a,fixAllDescriptions:s}=r;return[Y2(sg,esW.ChangeTracker.with(e,r=>Zn(r,e,t,n.start)),i,a,s)]},fixIds:[sg,sv,sb],getAllCodeActions:e=>$e(e,sE,(t,n)=>{let{code:r,start:i}=n,a=sT[r];a&&a.fixId===e.fixId&&Zn(t,e,r,i)})})}});function Zo(e,t,n,r){let i=zy(t,r),a=nU.createStringLiteral(n.name.text,0===i);e.replaceNode(t,n,h4(n)?nU.createElementAccessChain(n.expression,n.questionDotToken,a):nU.createElementAccessExpression(n.expression,a))}function Zs(e,t){return _T(Wv(e,t).parent,Rh)}var Zl=dj({"src/services/codefixes/fixNoPropertyAccessFromIndexSignature.ts"(){ecu(),enr(),sx="fixNoPropertyAccessFromIndexSignature",Y8({errorCodes:sS=[tA.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0.code],fixIds:[sx],getCodeActions(e){let{sourceFile:t,span:n,preferences:r}=e,i=Zs(t,n.start);return[Y1(sx,esW.ChangeTracker.with(e,t=>Zo(t,e.sourceFile,i,r)),[tA.Use_element_access_for_0,i.name.text],sx,tA.Use_element_access_for_all_undeclared_properties)]},getAllCodeActions:e=>$e(e,sS,(t,n)=>Zo(t,n.file,Zs(n.file,n.start),e.preferences))})}});function Zc(e,t,n,r){let i=Wv(t,n);if(!K1(i))return;let a=ET(i,!1,!1);if((Na(a)||Rx(a))&&!N0(ET(a,!1,!1))){let n=T.checkDefined(Wo(a,98,t)),{name:i}=a,o=T.checkDefined(a.body);if(!Rx(a))return e.replaceNode(t,n,nU.createToken(85)),e.insertText(t,i.end," = "),e.insertText(t,o.pos," =>"),[tA.Convert_function_declaration_0_to_arrow_function,i.text];if(i&&erX.Core.isSymbolReferencedInFile(i,r,t,o))return;return e.delete(t,n),i&&e.delete(t,i),e.insertText(t,o.pos," =>"),[tA.Convert_function_expression_0_to_arrow_function,i?i.text:a0]}}var Zd=dj({"src/services/codefixes/fixImplicitThis.ts"(){ecu(),enr(),sA="fixImplicitThis",Y8({errorCodes:sL=[tA.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code],getCodeActions:function(e){let t;let{sourceFile:n,program:r,span:i}=e,a=esW.ChangeTracker.with(e,e=>{t=Zc(e,n,i.start,r.getTypeChecker())});return t?[Y1(sA,a,t,sA,tA.Fix_all_implicit_this_errors)]:o},fixIds:[sA],getAllCodeActions:e=>$e(e,sL,(t,n)=>{Zc(t,n.file,n.start,e.program.getTypeChecker())})})}});function Zu(e,t,n){var r;let i=Wv(e,t);if(wb(i)){let t=m9(i,Nm);if(void 0===t)return;let a=wr(t.moduleSpecifier)?t.moduleSpecifier.text:void 0;if(void 0===a)return;let o=vp(e,a,void 0);if(void 0===o)return;let s=n.getSourceFile(o.resolvedFileName);if(void 0===s||Jr(n,s))return;let l=null==(r=_E(s.symbol.valueDeclaration,gR))?void 0:r.locals;if(void 0===l)return;let c=l.get(i.escapedText);if(void 0===c)return;let d=function(e){if(void 0===e.valueDeclaration)return uK(e.declarations);let t=e.valueDeclaration,n=Nr(t)?_E(t.parent.parent,RX):void 0;return n&&1===dW(n.declarationList.declarations)?n:t}(c);if(void 0===d)return;return{exportName:{node:i,isTypeOnly:kz(d)},node:d,moduleSourceFile:s,moduleSpecifier:a}}}function Z_(e,t,n,r,i){dW(r)&&(i?Zf(e,t,n,i,r):Zm(e,t,n,r))}function Zp(e,t){return d1(e.statements,e=>NA(e)&&(t&&e.isTypeOnly||!e.isTypeOnly))}function Zf(e,t,n,r,i){let a=r.exportClause&&NL(r.exportClause)?r.exportClause.elements:nU.createNodeArray([]),o=!r.isTypeOnly&&!!(Cs(t.getCompilerOptions())||d0(a,e=>e.isTypeOnly));e.replaceNode(n,r,nU.updateExportDeclaration(r,r.modifiers,r.isTypeOnly,nU.createNamedExports(nU.createNodeArray([...a,...Zh(i,o)],a.hasTrailingComma)),r.moduleSpecifier,r.assertClause))}function Zm(e,t,n,r){e.insertNodeAtEndOfScope(n,n,nU.createExportDeclaration(void 0,!1,nU.createNamedExports(Zh(r,Cs(t.getCompilerOptions()))),void 0,void 0))}function Zh(e,t){return nU.createNodeArray(un(e,e=>nU.createExportSpecifier(t&&e.isTypeOnly,void 0,e.node)))}var Zy=dj({"src/services/codefixes/fixImportNonExportedMember.ts"(){ecu(),enr(),sC="fixImportNonExportedMember",Y8({errorCodes:sk=[tA.Module_0_declares_1_locally_but_it_is_not_exported.code],fixIds:[sC],getCodeActions(e){let{sourceFile:t,span:n,program:r}=e,i=Zu(t,n.start,r);if(void 0!==i)return[Y1(sC,esW.ChangeTracker.with(e,e=>(function(e,t,{exportName:n,node:r,moduleSourceFile:i}){let a=Zp(i,n.isTypeOnly);a?Zf(e,t,i,a,[n]):kq(r)?e.insertExportModifier(i,r):Zm(e,t,i,[n])})(e,r,i)),[tA.Export_0_from_module_1,i.exportName.node.text,i.moduleSpecifier],sC,tA.Export_all_referenced_locals)]},getAllCodeActions(e){let{program:t}=e;return Y7(esW.ChangeTracker.with(e,n=>{let r=new Map;$t(e,sk,e=>{let i=Zu(e.file,e.start,t);if(void 0===i)return;let{exportName:a,node:o,moduleSourceFile:s}=i;if(void 0===Zp(s,a.isTypeOnly)&&kq(o))n.insertExportModifier(s,o);else{let e=r.get(s)||{typeOnlyExports:[],exports:[]};a.isTypeOnly?e.typeOnlyExports.push(a):e.exports.push(a),r.set(s,e)}}),r.forEach((e,r)=>{let i=Zp(r,!0);i&&i.isTypeOnly?(Z_(n,t,r,e.typeOnlyExports,i),Z_(n,t,r,e.exports,Zp(r,!1))):Z_(n,t,r,[...e.exports,...e.typeOnlyExports],i)})}))}})}}),Zg=dj({"src/services/codefixes/fixIncorrectNamedTupleSyntax.ts"(){ecu(),enr(),sI="fixIncorrectNamedTupleSyntax",Y8({errorCodes:[tA.A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type.code,tA.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type.code],getCodeActions:function(e){let{sourceFile:t,span:n}=e,r=m9(Wv(t,n.start),e=>199===e.kind);return[Y1(sI,esW.ChangeTracker.with(e,e=>(function(e,t,n){if(!n)return;let r=n.type,i=!1,a=!1;for(;187===r.kind||188===r.kind||193===r.kind;)187===r.kind?i=!0:188===r.kind&&(a=!0),r=r.type;let o=nU.updateNamedTupleMember(n,n.dotDotDotToken||(a?nU.createToken(25):void 0),n.name,n.questionToken||(i?nU.createToken(57):void 0),r);o!==n&&e.replaceNode(t,n,o)})(e,t,r)),tA.Move_labeled_tuple_element_modifiers_to_labels,sI,tA.Move_labeled_tuple_element_modifiers_to_labels)]},fixIds:[sI]})}});function Zv(e,t,n,r){let i;let a=Wv(e,t),o=a.parent;if((r===tA.No_overload_matches_this_call.code||r===tA.Type_0_is_not_assignable_to_type_1.code)&&!NV(o))return;let s=n.program.getTypeChecker();if(Rh(o)&&o.name===a){T.assert(h1(a),"Expected an identifier for spelling (property access)");let e=s.getTypeAtLocation(o.expression);32&o.flags&&(e=s.getNonNullableType(e)),i=s.getSuggestedSymbolForNonexistentProperty(a,e)}else if(RR(o)&&101===o.operatorToken.kind&&o.left===a&&wE(a)){let e=s.getTypeAtLocation(o.right);i=s.getSuggestedSymbolForNonexistentProperty(a,e)}else if(wM(o)&&o.right===a){let e=s.getSymbolAtLocation(o.left);e&&1536&e.flags&&(i=s.getSuggestedSymbolForNonexistentModule(o.right,e))}else if(Nx(o)&&o.name===a){T.assertNode(a,wb,"Expected an identifier for spelling (import)");let t=function(e,t,n){if(!n||!g8(n.moduleSpecifier))return;let r=vp(e,n.moduleSpecifier.text,VI(e,n.moduleSpecifier));if(r)return t.program.getSourceFile(r.resolvedFileName)}(e,n,m9(a,Nm));t&&t.symbol&&(i=s.getSuggestedSymbolForNonexistentModule(a,t.symbol))}else if(NV(o)&&o.name===a){T.assertNode(a,wb,"Expected an identifier for JSX attribute");let e=m9(a,gK),t=s.getContextualTypeForArgumentAtIndex(e,0);i=s.getSuggestedSymbolForNonexistentJSXAttribute(a,t)}else if(S3(o,16384)&&yK(o)&&o.name===a){let e=m9(a,yW),t=e?xy(e):void 0,n=t?s.getTypeAtLocation(t):void 0;n&&(i=s.getSuggestedSymbolForNonexistentClassMember(v$(a),n))}else{let e;let t=KL(a),n=v$(a);T.assert(void 0!==n,"name should be defined"),i=s.getSuggestedSymbolForNonexistentSymbol(a,n,(e=0,4&t&&(e|=1920),2&t&&(e|=788968),1&t&&(e|=111551),e))}return void 0===i?void 0:{node:a,suggestedSymbol:i}}function Zb(e,t,n,r,i){let a=ho(r);if(!mA(a,i)&&Rh(n.parent)){let i=r.valueDeclaration;i&&hu(i)&&wE(i.name)?e.replaceNode(t,n,nU.createIdentifier(a)):e.replaceNode(t,n.parent,nU.createElementAccessExpression(n.parent.expression,nU.createStringLiteral(a)))}else e.replaceNode(t,n,nU.createIdentifier(a))}var ZE=dj({"src/services/codefixes/fixSpelling.ts"(){ecu(),enr(),sw="fixSpelling",Y8({errorCodes:sR=[tA.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,tA.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code,tA.Cannot_find_name_0_Did_you_mean_1.code,tA.Could_not_find_name_0_Did_you_mean_1.code,tA.Cannot_find_namespace_0_Did_you_mean_1.code,tA.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,tA.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,tA._0_has_no_exported_member_named_1_Did_you_mean_2.code,tA.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,tA.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,tA.No_overload_matches_this_call.code,tA.Type_0_is_not_assignable_to_type_1.code],getCodeActions(e){let{sourceFile:t,errorCode:n}=e,r=Zv(t,e.span.start,e,n);if(!r)return;let{node:i,suggestedSymbol:a}=r,o=Ct(e.host.getCompilationSettings());return[Y1("spelling",esW.ChangeTracker.with(e,e=>Zb(e,t,i,a,o)),[tA.Change_spelling_to_0,ho(a)],sw,tA.Fix_all_detected_spelling_errors)]},fixIds:[sw],getAllCodeActions:e=>$e(e,sR,(t,n)=>{let r=Zv(n.file,n.start,e,n.code),i=Ct(e.host.getCompilationSettings());r&&Zb(t,e.sourceFile,r.node,r.suggestedSymbol,i)})})}});function ZT(e,t,n){let r=e.createSymbol(4,t.escapedText);r.links.type=e.getTypeAtLocation(n);let i=vt([r]);return e.createAnonymousType(void 0,i,[],[],[])}function Zx(e,t,n,r){if(!t.body||!RJ(t.body)||1!==dW(t.body.statements))return;let i=uz(t.body.statements);if(R$(i)&&ZS(e,t,e.getTypeAtLocation(i.expression),n,r))return{declaration:t,kind:0,expression:i.expression,statement:i,commentSource:i.expression};if(R9(i)&&R$(i.statement)){let a=nU.createObjectLiteralExpression([nU.createPropertyAssignment(i.label,i.statement.expression)]),o=ZT(e,i.label,i.statement.expression);if(ZS(e,t,o,n,r))return RS(t)?{declaration:t,kind:1,expression:a,statement:i,commentSource:i.statement.expression}:{declaration:t,kind:0,expression:a,statement:i,commentSource:i.statement.expression}}else if(RJ(i)&&1===dW(i.statements)){let a=uz(i.statements);if(R9(a)&&R$(a.statement)){let o=nU.createObjectLiteralExpression([nU.createPropertyAssignment(a.label,a.statement.expression)]),s=ZT(e,a.label,a.statement.expression);if(ZS(e,t,s,n,r))return{declaration:t,kind:0,expression:o,statement:i,commentSource:a}}}}function ZS(e,t,n,r,i){if(i){let r=e.getSignatureFromDeclaration(t);if(r){S3(t,512)&&(n=e.createPromiseType(n));let i=e.createSignature(t,r.typeParameters,r.thisParameter,r.parameters,n,void 0,r.minArgumentCount,r.flags);n=e.createAnonymousType(void 0,vt(),[i],[],[])}else n=e.getAnyType()}return e.isTypeAssignableTo(n,r)}function ZA(e,t,n,r){let i=Wv(t,n);if(!i.parent)return;let a=m9(i.parent,yB);switch(r){case tA.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code:if(!a||!a.body||!a.type||!K4(a.type,i))break;return Zx(e,a,e.getTypeFromTypeNode(a.type),!1);case tA.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code:if(!a||!Rg(a.parent)||!a.body)break;let o=a.parent.arguments.indexOf(a),s=e.getContextualTypeForArgumentAtIndex(a.parent,o);if(!s)break;return Zx(e,a,s,!0);case tA.Type_0_is_not_assignable_to_type_1.code:if(!xs(i)||!b9(i.parent)&&!NV(i.parent))break;let l=function(e){switch(e.kind){case 257:case 166:case 205:case 169:case 299:return e.initializer;case 288:return e.initializer&&(NK(e.initializer)?e.initializer.expression:void 0);case 300:case 168:case 302:case 351:case 344:return}}(i.parent);if(!l||!yB(l)||!l.body)break;return Zx(e,l,e.getTypeAtLocation(i.parent),!0)}}function ZL(e,t,n,r){qo(n);let i=qR(t);e.replaceNode(t,r,nU.createReturnStatement(n),{leadingTriviaOption:esW.LeadingTriviaOption.Exclude,trailingTriviaOption:esW.TrailingTriviaOption.Exclude,suffix:i?";":void 0})}function ZC(e,t,n,r,i,a){let o=a||qg(r)?nU.createParenthesizedExpression(r):r;qo(i),qc(i,o),e.replaceNode(t,n.body,o)}function Zk(e,t,n,r){e.replaceNode(t,n.body,nU.createParenthesizedExpression(r))}var ZI=dj({"src/services/codefixes/returnValueCorrect.ts"(){ecu(),enr(),sN="returnValueCorrect",sD="fixAddReturnStatement",sO="fixRemoveBracesFromArrowFunctionBody",sM="fixWrapTheBlockWithParen",Y8({errorCodes:sP=[tA.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code,tA.Type_0_is_not_assignable_to_type_1.code,tA.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code],fixIds:[sD,sO,sM],getCodeActions:function(e){let{program:t,sourceFile:n,span:{start:r},errorCode:i}=e,a=ZA(t.getTypeChecker(),n,r,i);if(a){var o,s,l,c,d,u,_;return 0===a.kind?uD([(o=a.expression,s=a.statement,Y1(sN,esW.ChangeTracker.with(e,t=>ZL(t,e.sourceFile,o,s)),tA.Add_a_return_statement,sD,tA.Add_all_missing_return_statement))],RS(a.declaration)?(l=a.declaration,c=a.expression,d=a.commentSource,Y1(sN,esW.ChangeTracker.with(e,t=>ZC(t,e.sourceFile,l,c,d,!1)),tA.Remove_braces_from_arrow_function_body,sO,tA.Remove_braces_from_all_arrow_function_bodies_with_relevant_issues)):void 0):[(u=a.declaration,_=a.expression,Y1(sN,esW.ChangeTracker.with(e,t=>Zk(t,e.sourceFile,u,_)),tA.Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal,sM,tA.Wrap_all_object_literal_with_parentheses))]}},getAllCodeActions:e=>$e(e,sP,(t,n)=>{let r=ZA(e.program.getTypeChecker(),n.file,n.start,n.code);if(r)switch(e.fixId){case sD:ZL(t,n.file,r.expression,r.statement);break;case sO:if(!RS(r.declaration))return;ZC(t,n.file,r.declaration,r.expression,r.commentSource,!1);break;case sM:if(!RS(r.declaration))return;Zk(t,n.file,r.declaration,r.expression);break;default:T.fail(JSON.stringify(e.fixId))}})})}});function Zw(e,t,n,r,i){var a;let s=Wv(e,t),l=s.parent;if(n===tA.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code){if(!(18===s.kind&&Rm(l)&&Rg(l.parent)))return;let e=d2(l.parent.arguments,e=>e===l);if(e<0)return;let t=r.getResolvedSignature(l.parent);if(!(t&&t.declaration&&t.parameters[e]))return;let n=t.parameters[e].valueDeclaration;if(!(n&&wG(n)&&wb(n.name)))return;let i=u9(r.getUnmatchedProperties(r.getTypeAtLocation(l),r.getParameterType(t,e),!1,!1));if(!dW(i))return;return{kind:3,token:n.name,properties:i,parentDeclaration:l}}if(!h1(s))return;if(wb(s)&&gZ(l)&&l.initializer&&Rm(l.initializer)){let e=u9(r.getUnmatchedProperties(r.getTypeAtLocation(l.initializer),r.getTypeAtLocation(s),!1,!1));if(!dW(e))return;return{kind:3,token:s,properties:e,parentDeclaration:l.initializer}}if(wb(s)&&gK(s.parent)){let e=function(e,t,n){let r=e.getContextualType(n.attributes);if(void 0===r)return o;let i=r.getProperties();if(!dW(i))return o;let a=new Set;for(let t of n.attributes.properties)if(NV(t)&&a.add(t.name.escapedText),NH(t))for(let n of e.getTypeAtLocation(t.expression).getProperties())a.add(n.escapedName);return d9(i,e=>mA(e.name,t,1)&&!(16777216&e.flags||48&Lc(e)||a.has(e.escapedName)))}(r,Ct(i.getCompilerOptions()),s.parent);if(!dW(e))return;return{kind:4,token:s,attributes:e,parentDeclaration:s.parent}}if(wb(s)){let t=null==(a=r.getContextualType(s))?void 0:a.getNonNullableType();if(t&&16<(t)){let n=uK(r.getSignaturesOfType(t,0));if(void 0===n)return;return{kind:5,token:s,signature:n,sourceFile:e,parentDeclaration:ZH(s)}}if(Rg(l)&&l.expression===s)return{kind:2,token:s,call:l,sourceFile:e,modifierFlags:0,parentDeclaration:ZH(s)}}if(!Rh(l))return;let c=za(r.getTypeAtLocation(l.expression)),d=c.symbol;if(!d||!d.declarations)return;if(wb(s)&&Rg(l.parent)){let t=d0(d.declarations,Nd),n=null==t?void 0:t.getSourceFile();if(t&&n&&!Jr(i,n))return{kind:2,token:s,call:l.parent,sourceFile:e,modifierFlags:1,parentDeclaration:t};let r=d0(d.declarations,N0);if(e.commonJsModuleIndicator)return;if(r&&!Jr(i,r))return{kind:2,token:s,call:l.parent,sourceFile:r,modifierFlags:1,parentDeclaration:r}}let u=d0(d.declarations,yW);if(!u&&wE(s))return;let _=u||d0(d.declarations,e=>Ns(e)||w2(e));if(_&&!Jr(i,_.getSourceFile())){let e=!w2(_)&&(c.target||c)!==r.getDeclaredTypeOfSymbol(d);if(e&&(wE(s)||Ns(_)))return;let t=_.getSourceFile(),n=w2(_)?0:(e?32:0)|(q8(s.text)?8:0),i=EZ(t);return{kind:0,token:s,call:_E(l.parent,Rg),modifierFlags:n,parentDeclaration:_,declSourceFile:t,isJSFile:i}}let p=d0(d.declarations,Nc);if(p&&!(1056&c.flags)&&!wE(s)&&!Jr(i,p.getSourceFile()))return{kind:1,token:s,parentDeclaration:p}}function ZR(e,t,n,r,i){let a=r.text;if(i){if(228===n.kind)return;let r=n.name.getText(),i=ZN(nU.createIdentifier(r),a);e.insertNodeAfter(t,n,i)}else if(wE(r)){let r=nU.createPropertyDeclaration(void 0,a,void 0,void 0,void 0),i=ZM(n);i?e.insertNodeAfter(t,i,r):e.insertMemberAtStart(t,n,r)}else{let r=SP(n);if(!r)return;let i=ZN(nU.createThis(),a);e.insertNodeAtConstructorEnd(t,r,i)}}function ZN(e,t){return nU.createExpressionStatement(nU.createAssignment(nU.createPropertyAccessExpression(e,t),Zj()))}function ZD(e,t,n){let r;if(223===n.parent.parent.kind){let i=n.parent.parent,a=n.parent===i.left?i.right:i.left,o=e.getWidenedType(e.getBaseTypeOfLiteralType(e.getTypeAtLocation(a)));r=e.typeToTypeNode(o,t,1)}else{let t=e.getContextualType(n.parent);r=t?e.typeToTypeNode(t,void 0,1):void 0}return r||nU.createKeywordTypeNode(131)}function ZO(e,t,n,r,i,a){let o=a?nU.createNodeArray(nU.createModifiersFromModifierFlags(a)):void 0,s=yW(n)?nU.createPropertyDeclaration(o,r,void 0,i,void 0):nU.createPropertySignature(void 0,r,void 0,i),l=ZM(n);l?e.insertNodeAfter(t,l,s):e.insertMemberAtStart(t,n,s)}function ZM(e){let t;for(let n of e.members){if(!wV(n))break;t=n}return t}function ZP(e,t,n,r,i,a,o){let s=QI(o,e.program,e.preferences,e.host),l=ete(yW(a)?171:170,e,s,n,r,i,a),c=function(e,t){if(w2(e))return;let n=m9(t,e=>wH(e)||wW(e));return n&&n.parent===e?n:void 0}(a,n);c?t.insertNodeAfter(o,c,l):t.insertMemberAtStart(o,a,l),s.writeFixes(t)}function ZF(e,t,{token:n,parentDeclaration:r}){let i=uv(r.members,e=>{let n=t.getTypeAtLocation(e);return!!(n&&402653316&n.flags)}),a=nU.createEnumMember(n,i?nU.createStringLiteral(n.text):void 0);e.replaceNode(r.getSourceFile(),r,nU.updateEnumDeclaration(r,r.modifiers,r.name,uE(r.members,pd(a))),{leadingTriviaOption:esW.LeadingTriviaOption.IncludeAll,trailingTriviaOption:esW.TrailingTriviaOption.Exclude})}function ZG(e,t,n){let r=zy(t.sourceFile,t.preferences),i=QI(t.sourceFile,t.program,t.preferences,t.host),a=2===n.kind?ete(259,t,i,n.call,hi(n.token),n.modifierFlags,n.parentDeclaration):ee9(259,t,r,n.signature,ets(tA.Function_not_implemented.message,r),n.token,void 0,void 0,void 0,i);void 0===a&&T.fail("fixMissingFunctionDeclaration codefix got unexpected error."),R3(n.parentDeclaration)?e.insertNodeBefore(n.sourceFile,n.parentDeclaration,a,!0):e.insertNodeAtEndOfScope(n.sourceFile,n.parentDeclaration,a),i.writeFixes(e)}function ZB(e,t,n){let r=QI(t.sourceFile,t.program,t.preferences,t.host),i=zy(t.sourceFile,t.preferences),a=t.program.getTypeChecker(),o=n.parentDeclaration.attributes,s=uv(o.properties,NH),l=un(n.attributes,e=>{let o=ZV(t,a,r,i,a.getTypeOfSymbol(e),n.parentDeclaration),s=nU.createIdentifier(e.name),l=nU.createJsxAttribute(s,nU.createJsxExpression(void 0,o));return kC(s,l),l}),c=nU.createJsxAttributes(s?[...l,...o.properties]:[...o.properties,...l]),d={prefix:o.pos===o.end?" ":void 0};e.replaceNode(t.sourceFile,o,c,d),r.writeFixes(e)}function ZU(e,t,n){let r=QI(t.sourceFile,t.program,t.preferences,t.host),i=zy(t.sourceFile,t.preferences),a=Ct(t.program.getCompilerOptions()),o=t.program.getTypeChecker(),s=un(n.properties,e=>{let s=ZV(t,o,r,i,o.getTypeOfSymbol(e),n.parentDeclaration);return nU.createPropertyAssignment(function(e,t,n,r){if(vn(e)){let t=r.symbolToNode(e,111551,void 0,1073741824);if(t&&wP(t))return t}return kj(e.name,t,0===n)}(e,a,i,o),s)}),l={leadingTriviaOption:esW.LeadingTriviaOption.Exclude,trailingTriviaOption:esW.TrailingTriviaOption.Exclude,indentation:n.indentation};e.replaceNode(t.sourceFile,n.parentDeclaration,nU.createObjectLiteralExpression([...n.parentDeclaration.properties,...s],!0),l),r.writeFixes(e)}function ZV(e,t,n,r,i,a){if(3&i.flags)return Zj();if(134217732&i.flags)return nU.createStringLiteral("",0===r);if(8&i.flags)return nU.createNumericLiteral(0);if(64&i.flags)return nU.createBigIntLiteral("0n");if(16&i.flags)return nU.createFalse();if(1056&i.flags){let e=i.symbol.exports?uW(i.symbol.exports.values()):i.symbol,n=t.symbolToExpression(i.symbol.parent?i.symbol.parent:i.symbol,111551,void 0,void 0);return void 0===e||void 0===n?nU.createNumericLiteral(0):nU.createPropertyAccessExpression(n,t.symbolToString(e))}if(256&i.flags)return nU.createNumericLiteral(i.value);if(2048&i.flags)return nU.createBigIntLiteral(i.value);if(128&i.flags)return nU.createStringLiteral(i.value,0===r);if(512&i.flags)return i===t.getFalseType()||i===t.getFalseType(!0)?nU.createFalse():nU.createTrue();if(65536&i.flags)return nU.createNull();if(1048576&i.flags){let o=dJ(i.types,i=>ZV(e,t,n,r,i,a));return null!=o?o:Zj()}if(t.isArrayLikeType(i))return nU.createArrayLiteralExpression();if(524288&i.flags&&(128<(i)||i.symbol&&_E(uY(i.symbol.declarations),w2))){let o=un(t.getPropertiesOfType(i),i=>{let o=ZV(e,t,n,r,t.getTypeOfSymbol(i),a);return nU.createPropertyAssignment(i.name,o)});return nU.createObjectLiteralExpression(o,!0)}if(16<(i)){if(void 0===d0(i.symbol.declarations||o,ps(wZ,wj,wH)))return Zj();let s=t.getSignaturesOfType(i,0);if(void 0===s)return Zj();let l=ee9(215,e,r,s[0],ets(tA.Function_not_implemented.message,r),void 0,void 0,void 0,a,n);return null!=l?l:Zj()}if(1<(i)){let e=LE(i.symbol);if(void 0===e||Ae(e))return Zj();let t=SP(e);return t&&dW(t.parameters)?Zj():nU.createNewExpression(nU.createIdentifier(i.symbol.name),void 0,void 0)}return Zj()}function Zj(){return nU.createIdentifier("undefined")}function ZH(e){if(m9(e,NK)){let t=m9(e.parent,R3);if(t)return t}return vS(e)}var ZK=dj({"src/services/codefixes/fixAddMissingMember.ts"(){ecu(),enr(),sF="fixMissingMember",sG="fixMissingProperties",sB="fixMissingAttributes",sU="fixMissingFunctionDeclaration",Y8({errorCodes:sV=[tA.Property_0_does_not_exist_on_type_1.code,tA.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,tA.Property_0_is_missing_in_type_1_but_required_in_type_2.code,tA.Type_0_is_missing_the_following_properties_from_type_1_Colon_2.code,tA.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more.code,tA.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,tA.Cannot_find_name_0.code],getCodeActions(e){let t=e.program.getTypeChecker(),n=Zw(e.sourceFile,e.span.start,e.errorCode,t,e.program);if(n)return 3===n.kind?[Y1(sG,esW.ChangeTracker.with(e,t=>ZU(t,e,n)),tA.Add_missing_properties,sG,tA.Add_all_missing_properties)]:4===n.kind?[Y1(sB,esW.ChangeTracker.with(e,t=>ZB(t,e,n)),tA.Add_missing_attributes,sB,tA.Add_all_missing_attributes)]:2===n.kind||5===n.kind?[Y1(sU,esW.ChangeTracker.with(e,t=>ZG(t,e,n)),[tA.Add_missing_function_declaration_0,n.token.text],sU,tA.Add_all_missing_function_declarations)]:1===n.kind?[Y1(sF,esW.ChangeTracker.with(e,t=>ZF(t,e.program.getTypeChecker(),n)),[tA.Add_missing_enum_member_0,n.token.text],sF,tA.Add_all_missing_members)]:uE(function(e,t){let{parentDeclaration:n,declSourceFile:r,modifierFlags:i,token:a,call:o}=t;if(void 0===o||wE(a))return;let s=a.text,l=t=>esW.ChangeTracker.with(e,i=>ZP(e,i,o,a,t,n,r)),c=[Y1(sF,l(32&i),[32&i?tA.Declare_static_method_0:tA.Declare_method_0,s],sF,tA.Add_all_missing_members)];return 8&i&&c.unshift(Y0(sF,l(8),[tA.Declare_private_method_0,s])),c}(e,n),n.isJSFile?pd(function(e,{parentDeclaration:t,declSourceFile:n,modifierFlags:r,token:i}){if(Ns(t)||w2(t))return;let a=esW.ChangeTracker.with(e,e=>ZR(e,n,t,i,!!(32&r)));if(0!==a.length)return Y1(sF,a,[32&r?tA.Initialize_static_property_0:wE(i)?tA.Declare_a_private_field_named_0:tA.Initialize_property_0_in_the_constructor,i.text],sF,tA.Add_all_missing_members)}(e,n)):function(e,{parentDeclaration:t,declSourceFile:n,modifierFlags:r,token:i}){var a;let o,s,l,c=i.text,d=32&r,u=ZD(e.program.getTypeChecker(),t,i),_=r=>esW.ChangeTracker.with(e,e=>ZO(e,n,t,c,u,r)),p=[Y1(sF,_(32&r),[d?tA.Declare_static_property_0:tA.Declare_property_0,c],sF,tA.Add_all_missing_members)];return d||wE(i)||(8&r&&p.unshift(Y0(sF,_(8),[tA.Declare_private_property_0,c])),p.push((a=i.text,o=nU.createKeywordTypeNode(152),s=nU.createParameterDeclaration(void 0,void 0,"x",void 0,o,void 0),l=nU.createIndexSignature(void 0,[s],u),Y0(sF,esW.ChangeTracker.with(e,e=>e.insertMemberAtStart(n,t,l)),[tA.Add_index_signature_for_property_0,a])))),p}(e,n))},fixIds:[sF,sU,sG,sB],getAllCodeActions:e=>{let{program:t,fixId:n}=e,r=t.getTypeChecker(),i=new Map,a=new Map;return Y7(esW.ChangeTracker.with(e,t=>{$t(e,sV,o=>{let s=Zw(o.file,o.start,o.code,r,e.program);if(s&&LC(i,Gv(s.parentDeclaration)+"#"+s.token.text)){if(n===sU&&(2===s.kind||5===s.kind))ZG(t,e,s);else if(n===sG&&3===s.kind)ZU(t,e,s);else if(n===sB&&4===s.kind)ZB(t,e,s);else if(1===s.kind&&ZF(t,r,s),0===s.kind){let{parentDeclaration:e,token:t}=s,n=uf(a,e,()=>[]);n.some(e=>e.token.text===t.text)||n.push(s)}}}),a.forEach((n,i)=>{let o=w2(i)?void 0:etT(i,r);for(let i of n){if(null==o?void 0:o.some(e=>{let t=a.get(e);return!!t&&t.some(({token:e})=>e.text===i.token.text)}))continue;let{parentDeclaration:n,declSourceFile:s,modifierFlags:l,token:c,call:d,isJSFile:u}=i;if(d&&!wE(c))ZP(e,t,d,c,32&l,n,s);else if(!u||Ns(n)||w2(n)){let e=ZD(r,n,c);ZO(t,s,n,c.text,e,32&l)}else ZR(t,s,n,c,!!(32&l))}})}))}})}});function ZW(e,t,n){let r=_T(function(e,t){let n=Wv(e,t.start),r=mO(t);for(;n.endZW(e,t,n)),tA.Add_missing_new_operator_to_call,sj,tA.Add_missing_new_operator_to_all_calls)]},fixIds:[sj],getAllCodeActions:e=>$e(e,sH,(t,n)=>ZW(t,e.sourceFile,n))})}});function Zq(e,t){return{type:"install package",file:e,packageName:t}}function ZJ(e,t){let n=_E(Wv(e,t),wr);if(!n)return;let{packageName:r}=FT(n.text);return mR(r)?void 0:r}function ZX(e,t,n){var r;return n===sW?Kp.nodeCoreModules.has(e)?"@types/node":void 0:(null==(r=t.isKnownTypesPackageName)?void 0:r.call(t,e))?FD(e):void 0}var ZY=dj({"src/services/codefixes/fixCannotFindModule.ts"(){ecu(),enr(),sK="installTypesPackage",Y8({errorCodes:sz=[sW=tA.Cannot_find_module_0_or_its_corresponding_type_declarations.code,tA.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type.code],getCodeActions:function(e){let{host:t,sourceFile:n,span:{start:r}}=e,i=ZJ(n,r);if(void 0===i)return;let a=ZX(i,t,e.errorCode);return void 0===a?[]:[Y1("fixCannotFindModule",[],[tA.Install_0,a],sK,tA.Install_all_missing_types_packages,Zq(n.fileName,a))]},fixIds:[sK],getAllCodeActions:e=>$e(e,sz,(t,n,r)=>{let i=ZJ(n.file,n.start);if(void 0!==i){if(e.fixId===sK){let t=ZX(i,e.host,n.code);t&&r.push(Zq(n.file.fileName,t))}else T.fail(`Bad fixId: ${e.fixId}`)}})})}});function Z$(e,t){return _T(Wv(e,t).parent,yW)}function ZQ(e,t,n,r,i){let a=xy(e),o=n.program.getTypeChecker(),s=o.getTypeAtLocation(a),l=o.getPropertiesOfType(s).filter(ZZ),c=QI(t,n.program,i,n.host);ee3(e,l,t,n,i,c,n=>r.insertMemberAtStart(t,e,n)),c.writeFixes(r)}function ZZ(e){let t=Ad(uz(e.getDeclarations()));return!(8&t)&&!!(256&t)}var Z0=dj({"src/services/codefixes/fixClassDoesntImplementInheritedAbstractMember.ts"(){ecu(),enr(),Y8({errorCodes:sq=[tA.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2.code,tA.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1.code],getCodeActions:function(e){let{sourceFile:t,span:n}=e,r=esW.ChangeTracker.with(e,r=>ZQ(Z$(t,n.start),t,e,r,e.preferences));return 0===r.length?void 0:[Y1(sJ,r,tA.Implement_inherited_abstract_class,sJ,tA.Implement_all_inherited_abstract_classes)]},fixIds:[sJ="fixClassDoesntImplementInheritedAbstractMember"],getAllCodeActions:function(e){let t=new Map;return $e(e,sq,(n,r)=>{let i=Z$(r.file,r.start);LC(t,Gv(i))&&ZQ(i,e.sourceFile,e,n,e.preferences)})}})}});function Z1(e,t,n,r){e.insertNodeAtConstructorStart(t,n,r),e.delete(t,r)}function Z2(e,t){let n=Wv(e,t);if(108!==n.kind)return;let r=Ey(n),i=function e(t){return R$(t)&&bz(t.expression)?t:yF(t)?void 0:Mr(t,e)}(r.body);return i&&!i.expression.arguments.some(e=>Rh(e)&&e.expression===n)?{constructor:r,superCall:i}:void 0}var Z4=dj({"src/services/codefixes/fixClassSuperMustPrecedeThisAccess.ts"(){ecu(),enr(),sX="classSuperMustPrecedeThisAccess",Y8({errorCodes:sY=[tA.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class.code],getCodeActions(e){let{sourceFile:t,span:n}=e,r=Z2(t,n.start);if(!r)return;let{constructor:i,superCall:a}=r;return[Y1(sX,esW.ChangeTracker.with(e,e=>Z1(e,t,i,a)),tA.Make_super_call_the_first_statement_in_the_constructor,sX,tA.Make_all_super_calls_the_first_statement_in_their_constructor)]},fixIds:[sX],getAllCodeActions(e){let{sourceFile:t}=e,n=new Map;return $e(e,sY,(e,r)=>{let i=Z2(r.file,r.start);if(!i)return;let{constructor:a,superCall:o}=i;LC(n,Gv(a.parent))&&Z1(e,t,a,o)})}})}});function Z8(e,t){let n=Wv(e,t);return T.assert(wW(n.parent),"token should be at the constructor declaration"),n.parent}function Z6(e,t,n){let r=nU.createExpressionStatement(nU.createCallExpression(nU.createSuper(),void 0,o));e.insertNodeAtConstructorStart(t,n,r)}var Z3=dj({"src/services/codefixes/fixConstructorForDerivedNeedSuperCall.ts"(){ecu(),enr(),s$="constructorForDerivedNeedSuperCall",Y8({errorCodes:sQ=[tA.Constructors_for_derived_classes_must_contain_a_super_call.code],getCodeActions(e){let{sourceFile:t,span:n}=e,r=Z8(t,n.start);return[Y1(s$,esW.ChangeTracker.with(e,e=>Z6(e,t,r)),tA.Add_missing_super_call,s$,tA.Add_all_missing_super_calls)]},fixIds:[s$],getAllCodeActions:e=>$e(e,sQ,(t,n)=>Z6(t,e.sourceFile,Z8(n.file,n.start)))})}});function Z5(e,t){etc(e,t,"jsx",nU.createStringLiteral("react"))}var Z7=dj({"src/services/codefixes/fixEnableJsxFlag.ts"(){ecu(),enr(),sZ="fixEnableJsxFlag",Y8({errorCodes:s0=[tA.Cannot_use_JSX_unless_the_jsx_flag_is_provided.code],getCodeActions:function(e){let{configFile:t}=e.program.getCompilerOptions();if(void 0!==t)return[Y0(sZ,esW.ChangeTracker.with(e,e=>Z5(e,t)),tA.Enable_the_jsx_flag_in_your_configuration_file)]},fixIds:[sZ],getAllCodeActions:e=>$e(e,s0,t=>{let{configFile:n}=e.program.getCompilerOptions();void 0!==n&&Z5(t,n)})})}});function Z9(e,t,n){let r=d0(e.getSemanticDiagnostics(t),e=>e.start===n.start&&e.length===n.length);if(void 0===r||void 0===r.relatedInformation)return;let i=d0(r.relatedInformation,e=>e.code===tA.Did_you_mean_0.code);if(void 0===i||void 0===i.file||void 0===i.start||void 0===i.length)return;let a=etf(i.file,mz(i.start,i.length));if(void 0!==a&&gp(a)&&RR(a.parent))return{suggestion:function(e){let[t,n]=VA(e,"\n",0).match(/\'(.*)\'/)||[];return n}(i.messageText),expression:a.parent,arg:a}}function eee(e,t,n,r){let i=nU.createCallExpression(nU.createPropertyAccessExpression(nU.createIdentifier("Number"),nU.createIdentifier("isNaN")),void 0,[n]),a=r.operatorToken.kind;e.replaceNode(t,r,37===a||35===a?nU.createPrefixUnaryExpression(53,i):i)}var eet=dj({"src/services/codefixes/fixNaNEquality.ts"(){ecu(),enr(),s1="fixNaNEquality",Y8({errorCodes:s2=[tA.This_condition_will_always_return_0.code],getCodeActions(e){let{sourceFile:t,span:n,program:r}=e,i=Z9(r,t,n);if(void 0===i)return;let{suggestion:a,expression:o,arg:s}=i;return[Y1(s1,esW.ChangeTracker.with(e,e=>eee(e,t,s,o)),[tA.Use_0,a],s1,tA.Use_Number_isNaN_in_all_conditions)]},fixIds:[s1],getAllCodeActions:e=>$e(e,s2,(t,n)=>{let r=Z9(e.program,n.file,mz(n.start,n.length));r&&eee(t,n.file,r.arg,r.expression)})})}}),een=dj({"src/services/codefixes/fixModuleAndTargetOptions.ts"(){ecu(),enr(),Y8({errorCodes:[tA.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher.code,tA.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher.code],getCodeActions:function(e){let t=e.program.getCompilerOptions(),{configFile:n}=t;if(void 0===n)return;let r=[],i=Cn(t);if(i>=5&&i<99){let t=esW.ChangeTracker.with(e,e=>{etc(e,n,"module",nU.createStringLiteral("esnext"))});r.push(Y0("fixModuleOption",t,[tA.Set_the_module_option_in_your_configuration_file_to_0,"esnext"]))}let a=Ct(t);if(a<4||a>99){let t=esW.ChangeTracker.with(e,e=>{if(!Ef(n))return;let t=[["target",nU.createStringLiteral("es2017")]];1===i&&t.push(["module",nU.createStringLiteral("commonjs")]),etl(e,n,t)});r.push(Y0("fixTargetOption",t,[tA.Set_the_target_option_in_your_configuration_file_to_0,"es2017"]))}return r.length?r:void 0}})}});function eer(e,t,n){e.replaceNode(t,n,nU.createPropertyAssignment(n.name,n.objectAssignmentInitializer))}function eei(e,t){return _T(Wv(e,t).parent,NY)}var eea=dj({"src/services/codefixes/fixPropertyAssignment.ts"(){ecu(),enr(),s4="fixPropertyAssignment",Y8({errorCodes:s8=[tA.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern.code],fixIds:[s4],getCodeActions(e){let{sourceFile:t,span:n}=e,r=eei(t,n.start);return[Y1(s4,esW.ChangeTracker.with(e,t=>eer(t,e.sourceFile,r)),[tA.Change_0_to_1,"=",":"],s4,[tA.Switch_each_misused_0_to_1,"=",":"])]},getAllCodeActions:e=>$e(e,s8,(e,t)=>eer(e,t.file,eei(t.file,t.start)))})}});function eeo(e,t){let n=Ev(Wv(e,t)).heritageClauses,r=n[0].getFirstToken();return 94===r.kind?{extendsToken:r,heritageClauses:n}:void 0}function ees(e,t,n,r){if(e.replaceNode(t,n,nU.createToken(117)),2===r.length&&94===r[0].token&&117===r[1].token){let n=r[1].getFirstToken(),i=n.getFullStart();e.replaceRange(t,{pos:i,end:i},nU.createToken(27));let a=t.text,o=n.end;for(;oees(e,t,r,i)),tA.Change_extends_to_implements,s6,tA.Change_all_extended_interfaces_to_implements)]},fixIds:[s6],getAllCodeActions:e=>$e(e,s3,(e,t)=>{let n=eeo(t.file,t.start);n&&ees(e,t.file,n.extendsToken,n.heritageClauses)})})}});function eec(e,t,n){let r=Wv(e,t);if(wb(r)||wE(r))return{node:r,className:n===s7?Ev(r).name.text:void 0}}function eed(e,t,{node:n,className:r}){qo(n),e.replaceNode(t,n,nU.createPropertyAccessExpression(r?nU.createIdentifier(r):nU.createThis(),n))}var eeu=dj({"src/services/codefixes/fixForgottenThisPropertyAccess.ts"(){ecu(),enr(),s5="forgottenThisPropertyAccess",s7=tA.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,Y8({errorCodes:s9=[tA.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,tA.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression.code,s7],getCodeActions(e){let{sourceFile:t}=e,n=eec(t,e.span.start,e.errorCode);if(n)return[Y1(s5,esW.ChangeTracker.with(e,e=>eed(e,t,n)),[tA.Add_0_to_unresolved_variable,n.className||"this"],s5,tA.Add_qualifier_to_all_unresolved_variables_matching_a_member_name)]},fixIds:[s5],getAllCodeActions:e=>$e(e,s9,(t,n)=>{let r=eec(n.file,n.start,n.code);r&&eed(t,e.sourceFile,r)})})}});function ee_(e,t,n,r,i){let a=n.getText()[r];if(!u4(lr,a))return;let o=i?lr[a]:`{${qb(n,t,a)}}`;e.replaceRangeWithText(n,{pos:r,end:r+1},o)}var eep=dj({"src/services/codefixes/fixInvalidJsxCharacters.ts"(){ecu(),enr(),le="fixInvalidJsxCharacters_expression",lt="fixInvalidJsxCharacters_htmlEntity",Y8({errorCodes:ln=[tA.Unexpected_token_Did_you_mean_or_gt.code,tA.Unexpected_token_Did_you_mean_or_rbrace.code],fixIds:[le,lt],getCodeActions(e){let{sourceFile:t,preferences:n,span:r}=e,i=esW.ChangeTracker.with(e,e=>ee_(e,n,t,r.start,!1)),a=esW.ChangeTracker.with(e,e=>ee_(e,n,t,r.start,!0));return[Y1(le,i,tA.Wrap_invalid_character_in_an_expression_container,le,tA.Wrap_all_invalid_characters_in_an_expression_container),Y1(lt,a,tA.Convert_invalid_character_to_its_html_entity_code,lt,tA.Convert_all_invalid_characters_to_HTML_entity_code)]},getAllCodeActions:e=>$e(e,ln,(t,n)=>ee_(t,e.preferences,n.file,n.start,e.fixId===lt))}),lr={">":">","}":"}"}}});function eef(e,t){let n=Wv(e,t);if(n.parent&&Dx(n.parent)&&wb(n.parent.name)){let e=n.parent,t=T1(e),r=TZ(e);if(t&&r)return{jsDocHost:t,signature:r,name:n.parent.name,jsDocParameterTag:e}}}var eem=dj({"src/services/codefixes/fixUnmatchedParameter.ts"(){ecu(),enr(),Y8({fixIds:[li="deleteUnmatchedParameter",la="renameUnmatchedParameter"],errorCodes:lo=[tA.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name.code],getCodeActions:function(e){let{sourceFile:t,span:n}=e,r=[],i=eef(t,n.start);if(i)return uD(r,function(e,{name:t,jsDocHost:n,jsDocParameterTag:r}){return Y1(li,esW.ChangeTracker.with(e,t=>t.filterJSDocTags(e.sourceFile,n,e=>e!==r)),[tA.Delete_unused_param_tag_0,t.getText(e.sourceFile)],li,tA.Delete_all_unused_param_tags)}(e,i)),uD(r,function(e,{name:t,jsDocHost:n,signature:r,jsDocParameterTag:i}){if(!dW(r.parameters))return;let a=e.sourceFile,o=hq(r),s=new Set;for(let e of o)Dx(e)&&wb(e.name)&&s.add(e.name.escapedText);let l=dJ(r.parameters,e=>wb(e.name)&&!s.has(e.name.escapedText)?e.name.getText(a):void 0);if(void 0===l)return;let c=nU.updateJSDocParameterTag(i,i.tagName,nU.createIdentifier(l),i.isBracketed,i.typeExpression,i.isNameFirst,i.comment);return Y0(la,esW.ChangeTracker.with(e,e=>e.replaceJSDocComment(a,n,un(o,e=>e===i?c:e))),[tA.Rename_param_tag_name_0_to_1,t.getText(a),l])}(e,i)),r},getAllCodeActions:function(e){let t=new Map;return Y7(esW.ChangeTracker.with(e,n=>{$t(e,lo,({file:e,start:n})=>{let r=eef(e,n);r&&t.set(r.signature,uD(t.get(r.signature),r.jsDocParameterTag))}),t.forEach((t,r)=>{if(e.fixId===li){let e=new Set(t);n.filterJSDocTags(r.getSourceFile(),r,t=>!e.has(t))}})}))}})}}),eeh=dj({"src/services/codefixes/fixUnreferenceableDecoratorMetadata.ts"(){ecu(),enr(),ls="fixUnreferenceableDecoratorMetadata",Y8({errorCodes:[tA.A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled.code],getCodeActions:e=>{let t;let n=function(e,t,n){let r=_E(Wv(e,n),wb);if(!r||180!==r.parent.kind)return;let i=t.getTypeChecker().getSymbolAtLocation(r);return d0((null==i?void 0:i.declarations)||o,ps(Nh,Nx,Nf))}(e.sourceFile,e.program,e.span.start);if(!n)return;let r=esW.ChangeTracker.with(e,t=>{var r,i;return 273===n.kind&&(r=e.sourceFile,i=e.program,void eoX.doChangeNamedToNamespaceOrDefault(r,i,t,n.parent))}),i=esW.ChangeTracker.with(e,t=>(function(e,t,n,r){if(268===n.kind){e.insertModifierBefore(t,154,n.name);return}let i=270===n.kind?n:n.parent.parent;if(i.name&&i.namedBindings)return;let a=r.getTypeChecker();TP(i,e=>{if(111551&Lu(e.symbol,a).flags)return!0})||e.insertModifierBefore(t,154,i)})(t,e.sourceFile,n,e.program));return r.length&&(t=uD(t,Y0(ls,r,tA.Convert_named_imports_to_namespace_import))),i.length&&(t=uD(t,Y0(ls,i,tA.Convert_to_type_only_import))),t},fixIds:[ls]})}});function eey(e,t,n){e.replaceNode(t,n.parent,nU.createKeywordTypeNode(157))}function eeg(e,t){return Y1(ll,e,t,ld,tA.Delete_all_unused_declarations)}function eev(e,t,n){e.delete(t,T.checkDefined(_T(n.parent,bp).typeParameters,"The type parameter to delete should exist"))}function eeb(e){return 100===e.kind||79===e.kind&&(273===e.parent.kind||270===e.parent.kind)}function eeE(e){return 100===e.kind?_E(e.parent,Nm):void 0}function eeT(e,t){return Ni(t.parent)&&uz(t.parent.getChildren(e))===t}function eex(e,t,n){e.delete(t,240===n.parent.kind?n.parent:n)}function eeS(e,t,n,r){t!==tA.Property_0_is_declared_but_its_value_is_never_read.code&&(138===r.kind&&(r=_T(r.parent,Rt).typeParameter.name),wb(r)&&function(e){switch(e.parent.kind){case 166:case 165:return!0;case 257:switch(e.parent.parent.parent.kind){case 247:case 246:return!0}}return!1}(r)&&(e.replaceNode(n,r,nU.createIdentifier(`_${r.text}`)),wG(r.parent)&&hg(r.parent).forEach(t=>{wb(t.name)&&e.replaceNode(n,t.name,nU.createIdentifier(`_${t.name.text}`))})))}function eeA(e,t,n,r,i,a,o,s){(function(e,t,n,r,i,a,o,s){let{parent:l}=e;if(wG(l))(function(e,t,n,r,i,a,o,s=!1){if(function(e,t,n,r,i,a,o){let{parent:s}=n;switch(s.kind){case 171:case 173:let l=s.parameters.indexOf(n),c=wH(s)?s.name:s,d=erX.Core.getReferencedSymbolsForNode(s.pos,c,i,r,a);if(d){for(let e of d)for(let t of e.references)if(t.kind===erX.EntryKind.Node){let e=wN(t.node)&&Rg(t.node.parent)&&t.node.parent.arguments.length>l,r=Rh(t.node.parent)&&wN(t.node.parent.expression)&&Rg(t.node.parent.parent)&&t.node.parent.parent.arguments.length>l,i=(wH(t.node.parent)||wj(t.node.parent))&&t.node.parent!==n.parent&&t.node.parent.parameters.length>l;if(e||r||i)return!1}}return!0;case 259:var u;if(s.name&&(u=s.name,erX.Core.eachSymbolReferenceInFile(u,e,t,e=>wb(e)&&Rg(e.parent)&&e.parent.arguments.indexOf(e)>=0)))return eeC(s,n,o);return!0;case 215:case 216:return eeC(s,n,o);case 175:return!1;case 174:return!0;default:return T.failBadSyntaxKind(s)}}(r,t,n,i,a,o,s)){if(n.modifiers&&n.modifiers.length>0&&(!wb(n.name)||erX.Core.isSymbolReferencedInFile(n.name,r,t)))for(let r of n.modifiers)yD(r)&&e.deleteModifier(t,r);else!n.initializer&&eeL(n,r,i)&&e.delete(t,n)}})(t,n,l,r,i,a,o,s);else if(!(s&&wb(e)&&erX.Core.isSymbolReferencedInFile(e,r,n))){let r=Nh(l)?e:wP(l)?l.parent:l;T.assert(r!==n,"should not delete whole source file"),t.delete(n,r)}})(t,n,e,r,i,a,o,s),wb(t)&&erX.Core.eachSymbolReferenceInFile(t,r,e,t=>{var r;Rh(t.parent)&&t.parent.name===t&&(t=t.parent),!s&&(RR((r=t).parent)&&r.parent.left===r||(Rw(r.parent)||RI(r.parent))&&r.parent.operand===r)&&R$(r.parent.parent)&&n.delete(e,t.parent.parent)})}function eeL(e,t,n){let r=e.parent.parameters.indexOf(e);return!erX.Core.someSignatureUsage(e.parent,n,t,(e,t)=>!t||t.arguments.length>r)}function eeC(e,t,n){let r=e.parameters,i=r.indexOf(t);return T.assert(-1!==i,"The parameter should already be in the list"),n?r.slice(i+1).every(e=>wb(e.name)&&!e.symbol.isReferenced):i===r.length-1}var eek=dj({"src/services/codefixes/fixUnusedIdentifier.ts"(){ecu(),enr(),ll="unusedIdentifier",lc="unusedIdentifier_prefix",ld="unusedIdentifier_delete",lu="unusedIdentifier_deleteImports",l_="unusedIdentifier_infer",Y8({errorCodes:lp=[tA._0_is_declared_but_its_value_is_never_read.code,tA._0_is_declared_but_never_used.code,tA.Property_0_is_declared_but_its_value_is_never_read.code,tA.All_imports_in_import_declaration_are_unused.code,tA.All_destructured_elements_are_unused.code,tA.All_variables_are_unused.code,tA.All_type_parameters_are_unused.code],getCodeActions(e){let{errorCode:t,sourceFile:n,program:r,cancellationToken:i}=e,a=r.getTypeChecker(),o=r.getSourceFiles(),s=Wv(n,e.span.start);if(DC(s))return[eeg(esW.ChangeTracker.with(e,e=>e.delete(n,s)),tA.Remove_template_tag)];if(29===s.kind)return[eeg(esW.ChangeTracker.with(e,e=>eev(e,n,s)),tA.Remove_type_parameters)];let l=eeE(s);if(l){let t=esW.ChangeTracker.with(e,e=>e.delete(n,l));return[Y1(ll,t,[tA.Remove_import_from_0,LA(l)],lu,tA.Delete_all_unused_imports)]}if(eeb(s)){let t=esW.ChangeTracker.with(e,e=>eeA(n,s,e,a,o,r,i,!1));if(t.length)return[Y1(ll,t,[tA.Remove_unused_declaration_for_Colon_0,s.getText(n)],lu,tA.Delete_all_unused_imports)]}if(Ru(s.parent)||R_(s.parent)){if(wG(s.parent.parent)){let t=s.parent.elements,r=[t.length>1?tA.Remove_unused_declarations_for_Colon_0:tA.Remove_unused_declaration_for_Colon_0,un(t,e=>e.getText(n)).join(", ")];return[eeg(esW.ChangeTracker.with(e,e=>{dz(s.parent.elements,t=>e.delete(n,t))}),r)]}return[eeg(esW.ChangeTracker.with(e,e=>e.delete(n,s.parent.parent)),tA.Remove_unused_destructuring_declaration)]}if(eeT(n,s))return[eeg(esW.ChangeTracker.with(e,e=>eex(e,n,s.parent)),tA.Remove_variable_statement)];let c=[];if(138===s.kind){let t=esW.ChangeTracker.with(e,e=>eey(e,n,s)),r=_T(s.parent,Rt).typeParameter.name.text;c.push(Y1(ll,t,[tA.Replace_infer_0_with_unknown,r],l_,tA.Replace_all_unused_infer_with_unknown))}else{let t=esW.ChangeTracker.with(e,e=>eeA(n,s,e,a,o,r,i,!1));if(t.length){let e=wP(s.parent)?s.parent:s;c.push(eeg(t,[tA.Remove_unused_declaration_for_Colon_0,e.getText(n)]))}}let d=esW.ChangeTracker.with(e,e=>eeS(e,t,n,s));return d.length&&c.push(Y1(ll,d,[tA.Prefix_0_with_an_underscore,s.getText(n)],lc,tA.Prefix_all_unused_declarations_with_where_possible)),c},fixIds:[lc,ld,lu,l_],getAllCodeActions:e=>{let{sourceFile:t,program:n,cancellationToken:r}=e,i=n.getTypeChecker(),a=n.getSourceFiles();return $e(e,lp,(o,s)=>{let l=Wv(t,s.start);switch(e.fixId){case lc:eeS(o,s.code,t,l);break;case lu:{let e=eeE(l);e?o.delete(t,e):eeb(l)&&eeA(t,l,o,i,a,n,r,!0);break}case ld:138===l.kind||eeb(l)||(DC(l)?o.delete(t,l):29===l.kind?eev(o,t,l):Ru(l.parent)?l.parent.parent.initializer||(!wG(l.parent.parent)||eeL(l.parent.parent,i,a))&&o.delete(t,l.parent.parent):R_(l.parent.parent)&&l.parent.parent.parent.initializer||(eeT(t,l)?eex(o,t,l.parent):eeA(t,l,o,i,a,n,r,!0)));break;case l_:138===l.kind&&eey(o,t,l);break;default:T.fail(JSON.stringify(e.fixId))}})}})}});function eeI(e,t,n,r,i){let a=Wv(t,n),s=m9(a,gF);if(s.getStart(t)!==a.getStart(t)){let e=JSON.stringify({statementKind:T.formatSyntaxKind(s.kind),tokenKind:T.formatSyntaxKind(a.kind),errorCode:i,start:n,length:r});T.fail("Token and statement should start at the same point. "+e)}let l=(RJ(s.parent)?s.parent:s).parent;if(!RJ(s.parent)||s===uz(s.parent.statements))switch(l.kind){case 242:if(l.elseStatement){if(RJ(s.parent))break;e.replaceNode(t,s,nU.createBlock(o));return}case 244:case 245:e.delete(t,l);return}if(RJ(s.parent)){let i=n+r,a=T.checkDefined(function(e,t){let n;for(let r of e){if(!t(r))break;n=r}return n}(ks(s.parent.statements,s),e=>e.poseeI(t,e.sourceFile,e.span.start,e.span.length,e.errorCode)),tA.Remove_unreachable_code,lf,tA.Remove_all_unreachable_code)]},fixIds:[lf],getAllCodeActions:e=>$e(e,lm,(e,t)=>eeI(e,t.file,t.start,t.length,t.code))})}});function eeR(e,t,n){let r=Wv(t,n),i=_T(r.parent,R9),a=r.getStart(t),o=i.statement.getStart(t),s=Le(a,o,t)?o:mc(t.text,Wo(i,58,t).end,!0);e.deleteRange(t,{pos:a,end:s})}var eeN=dj({"src/services/codefixes/fixUnusedLabel.ts"(){ecu(),enr(),lh="fixUnusedLabel",Y8({errorCodes:ly=[tA.Unused_label.code],getCodeActions:e=>[Y1(lh,esW.ChangeTracker.with(e,t=>eeR(t,e.sourceFile,e.span.start)),tA.Remove_unused_label,lh,tA.Remove_all_unused_labels)],fixIds:[lh],getAllCodeActions:e=>$e(e,ly,(e,t)=>eeR(e,t.file,t.start))})}});function eeD(e,t,n,r,i){e.replaceNode(t,n,i.typeToTypeNode(r,n,void 0))}function eeO(e,t,n){let r=m9(Wv(e,t),eeM),i=r&&r.type;return i&&{typeNode:i,type:function(e,t){if(Dt(t)){let n=e.getTypeFromTypeNode(t.type);return n===e.getNeverType()||n===e.getVoidType()?n:e.getUnionType(uD([n,e.getUndefinedType()],t.postfix?void 0:e.getNullType()))}return e.getTypeFromTypeNode(t)}(n,i)}}function eeM(e){switch(e.kind){case 231:case 176:case 177:case 259:case 174:case 178:case 197:case 171:case 170:case 166:case 169:case 168:case 175:case 262:case 213:case 257:return!0;default:return!1}}var eeP=dj({"src/services/codefixes/fixJSDocTypes.ts"(){ecu(),enr(),lg="fixJSDocTypes_plain",lv="fixJSDocTypes_nullable",Y8({errorCodes:lb=[tA.JSDoc_types_can_only_be_used_inside_documentation_comments.code,tA._0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1.code,tA._0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1.code],getCodeActions(e){let{sourceFile:t}=e,n=e.program.getTypeChecker(),r=eeO(t,e.span.start,n);if(!r)return;let{typeNode:i,type:a}=r,o=i.getText(t),s=[l(a,lg,tA.Change_all_jsdoc_style_types_to_TypeScript)];return 317===i.kind&&s.push(l(a,lv,tA.Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types)),s;function l(r,a,s){return Y1("jdocTypes",esW.ChangeTracker.with(e,e=>eeD(e,t,i,r,n)),[tA.Change_0_to_1,o,n.typeToString(r)],a,s)}},fixIds:[lg,lv],getAllCodeActions(e){let{fixId:t,program:n,sourceFile:r}=e,i=n.getTypeChecker();return $e(e,lb,(e,n)=>{let a=eeO(n.file,n.start,i);if(!a)return;let{typeNode:o,type:s}=a,l=317===o.kind&&t===lv?i.getNullableType(s,32768):s;eeD(e,r,o,l,i)})}})}});function eeF(e,t,n){e.replaceNodeWithText(t,n,`${n.text}()`)}function eeG(e,t){let n=Wv(e,t);if(Rh(n.parent)){let e=n.parent;for(;Rh(e.parent);)e=e.parent;return e.name}if(wb(n))return n}var eeB=dj({"src/services/codefixes/fixMissingCallParentheses.ts"(){ecu(),enr(),lE="fixMissingCallParentheses",Y8({errorCodes:lT=[tA.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead.code],fixIds:[lE],getCodeActions(e){let{sourceFile:t,span:n}=e,r=eeG(t,n.start);if(r)return[Y1(lE,esW.ChangeTracker.with(e,t=>eeF(t,e.sourceFile,r)),tA.Add_missing_call_parentheses,lE,tA.Add_all_missing_call_parentheses)]},getAllCodeActions:e=>$e(e,lT,(e,t)=>{let n=eeG(t.file,t.start);n&&eeF(e,t.file,n)})})}});function eeU(e,t){let n;let r=Ey(Wv(e,t));if(r){switch(r.kind){case 171:n=r.name;break;case 259:case 215:n=Wo(r,98,e);break;case 216:let t=r.typeParameters?29:20;n=Wo(r,t,e)||uz(r.parameters);break;default:return}return n&&{insertBefore:n,returnType:r.type?r.type:Nr(r.parent)&&r.parent.type&&wZ(r.parent.type)?r.parent.type.type:void 0}}}function eeV(e,t,{insertBefore:n,returnType:r}){if(r){let n=ED(r);n&&79===n.kind&&"Promise"===n.text||e.replaceNode(t,r,nU.createTypeReferenceNode("Promise",nU.createNodeArray([r])))}e.insertModifierBefore(t,132,n)}var eej=dj({"src/services/codefixes/fixAwaitInSyncFunction.ts"(){ecu(),enr(),lx="fixAwaitInSyncFunction",Y8({errorCodes:lS=[tA.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,tA.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,tA.Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function.code],getCodeActions(e){let{sourceFile:t,span:n}=e,r=eeU(t,n.start);if(r)return[Y1(lx,esW.ChangeTracker.with(e,e=>eeV(e,t,r)),tA.Add_async_modifier_to_containing_function,lx,tA.Add_all_missing_async_modifiers)]},fixIds:[lx],getAllCodeActions:function(e){let t=new Map;return $e(e,lS,(n,r)=>{let i=eeU(r.file,r.start);i&&LC(t,Gv(i.insertBefore))&&eeV(n,e.sourceFile,i)})}})}});function eeH(e,t,n,r,i){let a,o;if(r===tA._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code)a=t,o=t+n;else if(r===tA._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code){let n=i.program.getTypeChecker(),r=Wv(e,t).parent;T.assert(yz(r),"error span of fixPropertyOverrideAccessor should only be on an accessor");let s=r.parent;T.assert(yW(s),"erroneous accessors should only be inside classes");let l=uY(etT(s,n));if(!l)return[];let c=hr(bA(r.name)),d=n.getPropertyOfType(n.getTypeAtLocation(l),c);if(!d||!d.valueDeclaration)return[];a=d.valueDeclaration.pos,o=d.valueDeclaration.end,e=vS(d.valueDeclaration)}else T.fail("fixPropertyOverrideAccessor codefix got unexpected error code "+r);return eth(e,i.program,a,o,i,tA.Generate_get_and_set_accessors.message)}var eeK=dj({"src/services/codefixes/fixPropertyOverrideAccessor.ts"(){ecu(),enr(),Y8({errorCodes:lA=[tA._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code,tA._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code],getCodeActions(e){let t=eeH(e.sourceFile,e.span.start,e.span.length,e.errorCode,e);if(t)return[Y1(lL,t,tA.Generate_get_and_set_accessors,lL,tA.Generate_get_and_set_accessors_for_all_overriding_properties)]},fixIds:[lL="fixPropertyOverrideAccessor"],getAllCodeActions:e=>$e(e,lA,(t,n)=>{let r=eeH(n.file,n.start,n.length,n.code,e);if(r)for(let n of r)t.pushRaw(e.sourceFile,n)})})}});function eeW(e,t,n,r,i,a,o,s,l){let c;if(!yR(n.kind)&&79!==n.kind&&25!==n.kind&&108!==n.kind)return;let{parent:d}=n,u=QI(t,i,l,s);switch(r=function(e){switch(e){case tA.Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage.code:return tA.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code;case tA.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return tA.Variable_0_implicitly_has_an_1_type.code;case tA.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return tA.Parameter_0_implicitly_has_an_1_type.code;case tA.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code:return tA.Rest_parameter_0_implicitly_has_an_any_type.code;case tA.Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage.code:return tA.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code;case tA._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage.code:return tA._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code;case tA.Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage.code:return tA.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code;case tA.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return tA.Member_0_implicitly_has_an_1_type.code}return e}(r)){case tA.Member_0_implicitly_has_an_1_type.code:case tA.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code:if(Nr(d)&&o(d)||wV(d)||wU(d))return eez(e,u,t,d,i,s,a),u.writeFixes(e),d;if(Rh(d)){let n=qA(ee$(d.name,i,a),d,i,s);if(n){let r=nU.createJSDocTypeTag(void 0,nU.createJSDocTypeExpression(n),void 0);e.addJSDocTags(t,_T(d.parent.parent,R$),[r])}return u.writeFixes(e),d}return;case tA.Variable_0_implicitly_has_an_1_type.code:{let t=i.getTypeChecker().getSymbolAtLocation(n);if(t&&t.valueDeclaration&&Nr(t.valueDeclaration)&&o(t.valueDeclaration))return eez(e,u,vS(t.valueDeclaration),t.valueDeclaration,i,s,a),u.writeFixes(e),t.valueDeclaration;return}}let _=Ey(n);if(void 0!==_){switch(r){case tA.Parameter_0_implicitly_has_an_1_type.code:if(wq(_)){eeq(e,u,t,_,i,s,a),c=_;break}case tA.Rest_parameter_0_implicitly_has_an_any_type.code:if(o(_)){let n=_T(d,wG);(function(e,t,n,r,i,a,o,s){let l;if(!wb(r.name))return;let c=(l=eeQ(i,n,a,s))&&eeZ(a,l,s).parameters(i)||i.parameters.map(e=>({declaration:e,type:wb(e.name)?ee$(e.name,a,s):a.getTypeChecker().getAnyType()}));if(T.assert(i.parameters.length===c.length,"Parameter count and inference count should match"),EZ(i))eeX(e,n,c,a,o);else{let r=RS(i)&&!Wo(i,20,n);for(let{declaration:s,type:l}of(r&&e.insertNodeBefore(n,uz(i.parameters),nU.createToken(20)),c))!s||s.type||s.initializer||eeJ(e,t,n,s,l,a,o);r&&e.insertNodeAfter(n,uX(i.parameters),nU.createToken(21))}})(e,u,t,n,_,i,s,a),c=n}break;case tA.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code:case tA._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code:wz(_)&&wb(_.name)&&(eeJ(e,u,t,_,ee$(_.name,i,a),i,s),c=_);break;case tA.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code:wq(_)&&(eeq(e,u,t,_,i,s,a),c=_);break;case tA.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:esW.isThisTypeAnnotatable(_)&&o(_)&&(function(e,t,n,r,i,a){let o=eeQ(n,t,r,a);if(!o||!o.length)return;let s=qA(eeZ(r,o,a).thisParameter(),n,r,i);s&&(EZ(n)?function(e,t,n,r){e.addJSDocTags(t,n,[nU.createJSDocThisTag(void 0,nU.createJSDocTypeExpression(r))])}(e,t,n,s):e.tryInsertThisTypeAnnotation(t,n,s))}(e,t,_,i,s,a),c=_);break;default:return T.fail(String(r))}return u.writeFixes(e),c}}function eez(e,t,n,r,i,a,o){wb(r.name)&&eeJ(e,t,n,r,ee$(r.name,i,o),i,a)}function eeq(e,t,n,r,i,a,o){let s=uK(r.parameters);if(s&&wb(r.name)&&wb(s.name)){let l=ee$(r.name,i,o);l===i.getTypeChecker().getAnyType()&&(l=ee$(s.name,i,o)),EZ(r)?eeX(e,n,[{declaration:s,type:l}],i,a):eeJ(e,t,n,s,l,i,a)}}function eeJ(e,t,n,r,i,a,o){let s=qA(i,r,a,o);if(s){if(EZ(n)&&168!==r.kind){let t=Nr(r)?_E(r.parent.parent,RX):r;if(!t)return;let i=nU.createJSDocTypeExpression(s),a=wz(r)?nU.createJSDocReturnTag(void 0,i,void 0):nU.createJSDocTypeTag(void 0,i,void 0);e.addJSDocTags(n,t,[a])}else{let i;(i=et_(s,Ct(a.getCompilerOptions())))&&e.tryInsertTypeAnnotation(n,r,i.typeNode)&&(dz(i.symbols,e=>t.addImportFromExportedSymbol(e,!0)),1)||e.tryInsertTypeAnnotation(n,r,s)}}}function eeX(e,t,n,r,i){let a=n.length&&n[0].declaration.parent;if(!a)return;let o=uu(n,e=>{let t=e.declaration;if(t.initializer||hK(t)||!wb(t.name))return;let n=e.type&&qA(e.type,t,r,i);if(n)return IE(nU.cloneNode(t.name),7168),{name:nU.cloneNode(t.name),param:t,isOptional:!!e.isOptional,typeNode:n}});if(o.length){if(RS(a)||Rx(a)){let n=RS(a)&&!Wo(a,20,t);n&&e.insertNodeBefore(t,uz(a.parameters),nU.createToken(20)),dz(o,({typeNode:n,param:r})=>{let i=nU.createJSDocTypeTag(void 0,nU.createJSDocTypeExpression(n)),a=nU.createJSDocComment(void 0,[i]);e.insertNodeAt(t,r.getStart(t),a,{suffix:" "})}),n&&e.insertNodeAfter(t,uX(a.parameters),nU.createToken(21))}else{let n=un(o,({name:e,typeNode:t,isOptional:n})=>nU.createJSDocParameterTag(void 0,e,!!n,nU.createJSDocTypeExpression(t),!1,void 0));e.addJSDocTags(t,a,n)}}}function eeY(e,t,n){return uu(erX.getReferenceEntriesForNode(-1,e,t,t.getSourceFiles(),n),e=>e.kind!==erX.EntryKind.Span?_E(e.node,wb):void 0)}function ee$(e,t,n){let r=eeY(e,t,n);return eeZ(t,r,n).single()}function eeQ(e,t,n,r){let i;switch(e.kind){case 173:i=Wo(e,135,t);break;case 216:case 215:let a=e.parent;i=(Nr(a)||wV(a))&&wb(a.name)?a.name:e.name;break;case 259:case 171:case 170:i=e.name}if(i)return eeY(i,n,r)}function eeZ(e,t,n){let r=e.getTypeChecker(),i={string:()=>r.getStringType(),number:()=>r.getNumberType(),Array:e=>r.createArrayType(e),Promise:e=>r.createPromiseType(e)},a=[r.getStringType(),r.getNumberType(),r.createArrayType(r.getAnyType()),r.createPromiseType(r.getAnyType())];return{single:function(){return _(l(t))},parameters:function(i){if(0===t.length||!i.parameters)return;let a=s();for(let e of t)n.throwIfCancellationRequested(),c(e,a);let o=[...a.constructs||[],...a.calls||[]];return i.parameters.map((t,a)=>{let s=[],c=g5(t),d=!1;for(let e of o)if(e.argumentTypes.length<=a)d=EZ(i),s.push(r.getUndefinedType());else if(c)for(let t=a;tn.every(t=>!t(e)))}(e,[{high:e=>e===r.getStringType()||e===r.getNumberType(),low:e=>e===t},{high:e=>!(16385&e.flags),low:e=>!!(16385&e.flags)},{high:e=>!(114689&e.flags)&&!(16<(e)),low:e=>!!(16<(e))}]),i=n.filter(e=>16<(e));return i.length&&(n=n.filter(e=>!(16<(e)))).push(function(e){if(1===e.length)return e[0];let t=[],n=[],i=[],a=[],o=!1,s=!1,l=_u();for(let c of e){for(let e of r.getPropertiesOfType(c))l.add(e.name,e.valueDeclaration?r.getTypeOfSymbolAtLocation(e,e.valueDeclaration):r.getAnyType());t.push(...r.getSignaturesOfType(c,0)),n.push(...r.getSignaturesOfType(c,1));let e=r.getIndexInfoOfType(c,0);e&&(i.push(e.type),o=o||e.isReadonly);let d=r.getIndexInfoOfType(c,1);d&&(a.push(d.type),s=s||d.isReadonly)}let c=ug(l,(t,n)=>{let i=n.lengthr.getBaseTypeOfLiteralType(e)),d=(null==(s=e.calls)?void 0:s.length)?f(e):void 0;return d&&c?l.push(r.getUnionType([d,...c],2)):(d&&l.push(d),dW(c)&&l.push(...c)),l.push(...function(e){if(!e.properties||!e.properties.size)return[];let t=a.filter(t=>!!e.properties&&!vl(e.properties,(e,n)=>{var i;let a=r.getTypeOfPropertyOfType(t,n);return!a||(e.calls?!r.getSignaturesOfType(a,0).length||!r.isTypeAssignableTo(a,(i=e.calls,r.createAnonymousType(void 0,vt(),[m(i)],o,o))):!r.isTypeAssignableTo(a,u(e)))}));return 0(function(e,t){if(!(4<(e))||!t.properties)return e;let n=e.target,a=uY(n.typeParameters);if(!a)return e;let o=[];return t.properties.forEach((e,t)=>{let i=r.getTypeOfPropertyOfType(n,t);T.assert(!!i,"generic should have all the properties of its reference."),o.push(...function e(t,n,i){if(t===i)return[n];if(3145728&t.flags)return uo(t.types,t=>e(t,n,i));if(4<(t)&&4<(n)){let a=r.getTypeArguments(t),o=r.getTypeArguments(n),s=[];if(a&&o)for(let t=0;t{let i=r.createSymbol(4,n);i.links.type=u(e),t.set(n,i)});let n=e.calls?[m(e.calls)]:[],i=e.constructs?[m(e.constructs)]:[],a=e.stringIndex?[r.createIndexInfo(r.getStringType(),u(e.stringIndex),!1)]:[];return r.createAnonymousType(void 0,t,n,i,a)}function m(e){let t=[],n=Math.max(...e.map(e=>e.argumentTypes.length));for(let i=0;ie.argumentTypes[i]||r.getUndefinedType())),e.some(e=>void 0===e.argumentTypes[i])&&(n.flags|=16777216),t.push(n)}let i=u(function e(t){let n=new Map;for(let e of t)e.properties&&e.properties.forEach((e,t)=>{n.has(t)||n.set(t,[]),n.get(t).push(e)});let r=new Map;return n.forEach((t,n)=>{r.set(n,e(t))}),{isNumber:t.some(e=>e.isNumber),isString:t.some(e=>e.isString),isNumberOrString:t.some(e=>e.isNumberOrString),candidateTypes:uo(t,e=>e.candidateTypes),properties:r,calls:uo(t,e=>e.calls),constructs:uo(t,e=>e.constructs),numberIndex:dz(t,e=>e.numberIndex),stringIndex:dz(t,e=>e.stringIndex),candidateThisTypes:uo(t,e=>e.candidateThisTypes),inferredTypes:void 0}}(e.map(e=>e.return_)));return r.createSignature(void 0,void 0,void 0,t,i,void 0,n,0)}function h(e,t){!t||1&t.flags||131072&t.flags||(e.candidateTypes||(e.candidateTypes=[])).push(t)}function y(e,t){!t||1&t.flags||131072&t.flags||(e.candidateThisTypes||(e.candidateThisTypes=[])).push(t)}}var ee0=dj({"src/services/codefixes/inferFromUsage.ts"(){ecu(),enr(),lC="inferFromUsage",Y8({errorCodes:lk=[tA.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code,tA.Variable_0_implicitly_has_an_1_type.code,tA.Parameter_0_implicitly_has_an_1_type.code,tA.Rest_parameter_0_implicitly_has_an_any_type.code,tA.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code,tA._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code,tA.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code,tA.Member_0_implicitly_has_an_1_type.code,tA.Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage.code,tA.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,tA.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,tA.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code,tA.Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage.code,tA._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage.code,tA.Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage.code,tA.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,tA.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code],getCodeActions(e){let t;let{sourceFile:n,program:r,span:{start:i},errorCode:a,cancellationToken:o,host:s,preferences:l}=e,c=Wv(n,i),d=esW.ChangeTracker.with(e,e=>{t=eeW(e,n,c,a,r,o,_A,s,l)}),u=t&&hp(t);return u&&0!==d.length?[Y1(lC,d,[function(e,t){switch(e){case tA.Parameter_0_implicitly_has_an_1_type.code:case tA.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return wq(Ey(t))?tA.Infer_type_of_0_from_usage:tA.Infer_parameter_types_from_usage;case tA.Rest_parameter_0_implicitly_has_an_any_type.code:case tA.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code:return tA.Infer_parameter_types_from_usage;case tA.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:return tA.Infer_this_type_of_0_from_usage;default:return tA.Infer_type_of_0_from_usage}}(a,c),v$(u)],lC,tA.Infer_all_types_from_usage)]:void 0},fixIds:[lC],getAllCodeActions(e){let{sourceFile:t,program:n,cancellationToken:r,host:i,preferences:a}=e,o=zn();return $e(e,lk,(e,s)=>{eeW(e,t,Wv(s.file,s.start),s.code,n,r,o,i,a)})}})}});function ee1(e,t,n){if(EZ(e))return;let r=m9(Wv(e,n),yB),i=null==r?void 0:r.type;if(!i)return;let a=t.getTypeFromTypeNode(i),o=t.getAwaitedType(a)||t.getVoidType(),s=t.typeToTypeNode(o,i,void 0);if(s)return{returnTypeNode:i,returnType:a,promisedTypeNode:s,promisedType:o}}function ee2(e,t,n,r){e.replaceNode(t,n,nU.createTypeReferenceNode("Promise",[r]))}var ee4=dj({"src/services/codefixes/fixReturnTypeInAsyncFunction.ts"(){ecu(),enr(),lI="fixReturnTypeInAsyncFunction",Y8({errorCodes:lw=[tA.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0.code],fixIds:[lI],getCodeActions:function(e){let{sourceFile:t,program:n,span:r}=e,i=n.getTypeChecker(),a=ee1(t,n.getTypeChecker(),r.start);if(!a)return;let{returnTypeNode:o,returnType:s,promisedTypeNode:l,promisedType:c}=a;return[Y1(lI,esW.ChangeTracker.with(e,e=>ee2(e,t,o,l)),[tA.Replace_0_with_Promise_1,i.typeToString(s),i.typeToString(c)],lI,tA.Fix_all_incorrect_return_type_of_an_async_functions)]},getAllCodeActions:e=>$e(e,lw,(t,n)=>{let r=ee1(n.file,e.program.getTypeChecker(),n.start);r&&ee2(t,n.file,r.returnTypeNode,r.promisedTypeNode)})})}});function ee8(e,t,n,r){let{line:i}=mt(t,n);(!r||um(r,i))&&e.insertCommentBeforeLine(t,i,n," @ts-ignore")}var ee6=dj({"src/services/codefixes/disableJsDiagnostics.ts"(){ecu(),enr(),lR="disableJsDiagnostics",lN="disableJsDiagnostics",Y8({errorCodes:lD=uu(Object.keys(tA),e=>{let t=tA[e];return 1===t.category?t.code:void 0}),getCodeActions:function(e){let{sourceFile:t,program:n,span:r,host:i,formatContext:a}=e;if(!EZ(t)||!ka(t,n.getCompilerOptions()))return;let o=t.checkJsDirective?"":zQ(i,a.options),s=[Y0(lR,[Y9(t.fileName,[W5(t.checkJsDirective?mq(t.checkJsDirective.pos,t.checkJsDirective.end):mz(0,0),`// @ts-nocheck${o}`)])],tA.Disable_checking_for_this_file)];return esW.isValidLocationToAddComment(t,r.start)&&s.unshift(Y1(lR,esW.ChangeTracker.with(e,e=>ee8(e,t,r.start)),tA.Ignore_this_error_message,lN,tA.Add_ts_ignore_to_all_error_messages)),s},fixIds:[lN],getAllCodeActions:e=>{let t=new Set;return $e(e,lD,(e,n)=>{esW.isValidLocationToAddComment(n.file,n.start)&&ee8(e,n.file,n.start,t)})}})}});function ee3(e,t,n,r,i,a,o){let s=e.symbol.members;for(let l of t)s.has(l.escapedName)||ee7(l,e,n,r,i,a,o,void 0)}function ee5(e){return{trackSymbol:()=>!1,moduleResolverHost:zu(e.program,e.host)}}function ee7(e,t,n,r,i,a,s,l,c=3,d=!1){var u;let _;let p=e.getDeclarations(),f=null==p?void 0:p[0],m=r.program.getTypeChecker(),h=Ct(r.program.getCompilerOptions()),y=null!=(u=null==f?void 0:f.kind)?u:168,g=qt(hp(f),!1),v=f?Al(f):0,b=4&v?4:16&v?16:0;f&&yq(f)&&(b|=128);let E=(b&&(_=uO(_,nU.createModifiersFromModifierFlags(b))),r.program.getCompilerOptions().noImplicitOverride&&f&&Ae(f)&&(_=uD(_,nU.createToken(161))),_&&nU.createNodeArray(_)),x=m.getWidenedType(m.getTypeOfSymbolAtLocation(e,t)),S=!!(16777216&e.flags),A=!!(16777216&t.flags)||d,L=zy(n,i);switch(y){case 168:case 169:let C=0===L?268435456:void 0,k=m.typeToTypeNode(x,t,C,ee5(r));if(a){let e=et_(k,h);e&&(k=e.typeNode,etp(a,e.symbols))}s(nU.createPropertyDeclaration(E,f?R(g):e.getName(),S&&2&c?nU.createToken(57):void 0,k,void 0));break;case 174:case 175:{T.assertIsDefined(p);let e=m.typeToTypeNode(x,t,void 0,ee5(r)),n=SK(p,f),i=n.secondAccessor?[n.firstAccessor,n.secondAccessor]:[n.firstAccessor];if(a){let t=et_(e,h);t&&(e=t.typeNode,etp(a,t.symbols))}for(let t of i)if(wz(t))s(nU.createGetAccessorDeclaration(E,R(g),o,qt(e,!1),N(l,L,A)));else{T.assertNode(t,wq,"The counterpart to a getter should be a setter");let n=SF(t),r=n&&wb(n.name)?hi(n.name):void 0;s(nU.createSetAccessorDeclaration(E,R(g),eta(1,[r],[qt(e,!1)],1,!1),N(l,L,A)))}break}case 170:case 171:T.assertIsDefined(p);let I=x.isUnion()?uo(x.types,e=>e.getCallSignatures()):x.getCallSignatures();if(!uv(I))break;if(1===p.length){T.assert(1===I.length,"One declaration implies one signature"),w(L,I[0],E,R(g),N(l,L,A));break}for(let e of I)w(L,e,E,R(g));A||(p.length>I.length?w(L,m.getSignatureFromDeclaration(p[p.length-1]),E,R(g),N(l,L)):(T.assert(p.length===I.length,"Declarations and signatures should match count"),s(function(e,t,n,r,i,a,o,s,l){var c;let d=r[0],u=r[0].minArgumentCount,_=!1;for(let e of r)u=Math.min(e.minArgumentCount,u),GC(e)&&(_=!0),e.parameters.length>=d.parameters.length&&(!GC(e)||GC(d))&&(d=e);let p=d.parameters.length-(GC(d)?1:0),f=d.parameters.map(e=>e.name),m=eta(p,f,void 0,u,!1);if(_){let e=nU.createParameterDeclaration(void 0,nU.createToken(25),f[p]||"rest",p>=u?nU.createToken(57):void 0,nU.createArrayTypeNode(nU.createKeywordTypeNode(157)),void 0);m.push(e)}return c=function(e,t,n,r){if(dW(e)){let i=t.getUnionType(un(e,t.getReturnTypeOfSignature));return t.typeToTypeNode(i,r,1,ee5(n))}}(r,e,t,n),nU.createMethodDeclaration(o,void 0,i,a?nU.createToken(57):void 0,void 0,m,c,l||eto(s))}(m,r,t,I,R(g),S&&!!(1&c),E,L,l))))}function w(e,n,i,o,l){let d=ee9(171,r,e,n,l,o,i,S&&!!(1&c),t,a);d&&s(d)}function R(e){return wb(e)&&"constructor"===e.escapedText?nU.createComputedPropertyName(nU.createStringLiteral(hi(e),0===L)):qt(e,!1)}function N(e,t,n){return n?void 0:qt(e,!1)||eto(t)}}function ee9(e,t,n,r,i,a,o,s,l,c){let d=t.program,u=d.getTypeChecker(),_=Ct(d.getCompilerOptions()),p=EZ(l),f=u.signatureToSignatureDeclaration(r,e,l,524545|(0===n?268435456:0),ee5(t));if(!f)return;let m=p?void 0:f.typeParameters,h=f.parameters,y=p?void 0:f.type;if(c){if(m){let e=ui(m,e=>{let t=e.constraint,n=e.default;if(t){let e=et_(t,_);e&&(t=e.typeNode,etp(c,e.symbols))}if(n){let e=et_(n,_);e&&(n=e.typeNode,etp(c,e.symbols))}return nU.updateTypeParameterDeclaration(e,e.modifiers,e.name,t,n)});m!==e&&(m=OV(nU.createNodeArray(e,m.hasTrailingComma),m))}let e=ui(h,e=>{let t=p?void 0:e.type;if(t){let e=et_(t,_);e&&(t=e.typeNode,etp(c,e.symbols))}return nU.updateParameterDeclaration(e,e.modifiers,e.dotDotDotToken,e.name,p?void 0:e.questionToken,t,e.initializer)});if(h!==e&&(h=OV(nU.createNodeArray(e,h.hasTrailingComma),h)),y){let e=et_(y,_);e&&(y=e.typeNode,etp(c,e.symbols))}}let g=s?nU.createToken(57):void 0,v=f.asteriskToken;return Rx(f)?nU.updateFunctionExpression(f,o,f.asteriskToken,_E(a,wb),m,h,y,null!=i?i:f.body):RS(f)?nU.updateArrowFunction(f,o,m,h,y,f.equalsGreaterThanToken,null!=i?i:f.body):wH(f)?nU.updateMethodDeclaration(f,o,v,null!=a?a:nU.createIdentifier(""),g,m,h,y,i):Na(f)?nU.updateFunctionDeclaration(f,o,f.asteriskToken,_E(a,wb),m,h,y,null!=i?i:f.body):void 0}function ete(e,t,n,r,i,a,o){let s=zy(t.sourceFile,t.preferences),l=Ct(t.program.getCompilerOptions()),c=ee5(t),d=t.program.getTypeChecker(),u=EZ(o),{typeArguments:_,arguments:p,parent:f}=r,m=u?void 0:d.getContextualType(r),h=un(p,e=>wb(e)?e.text:Rh(e)&&wb(e.name)?e.name.text:void 0),y=u?[]:un(p,e=>d.getTypeAtLocation(e)),{argumentTypeNodes:g,argumentTypeParameters:v}=eti(d,n,y,o,l,void 0,c),b=a?nU.createNodeArray(nU.createModifiersFromModifierFlags(a)):void 0,E=RO(f)?nU.createToken(41):void 0,x=u?void 0:function(e,t,n){let r=new Set(t.map(e=>e[0])),i=new Map(t);if(n){let i=n.filter(n=>!t.some(t=>{var r;return e.getTypeAtLocation(n)===(null==(r=t[1])?void 0:r.argumentType)})),a=r.size+i.length;for(let e=0;r.size{var t;return nU.createTypeParameterDeclaration(void 0,e,null==(t=i.get(e))?void 0:t.constraint)})}(d,v,_),S=eta(p.length,h,g,void 0,u),A=u||void 0===m?void 0:d.typeToTypeNode(m,o,void 0,c);switch(e){case 171:return nU.createMethodDeclaration(b,E,i,void 0,x,S,A,eto(s));case 170:return nU.createMethodSignature(b,i,void 0,x,S,void 0===A?nU.createKeywordTypeNode(157):A);case 259:return nU.createFunctionDeclaration(b,E,i,x,S,A,ets(tA.Function_not_implemented.message,s));default:T.fail("Unexpected kind")}}function ett(e){return 84+e<=90?String.fromCharCode(84+e):`T${e}`}function etn(e,t,n,r,i,a,o){let s=e.typeToTypeNode(n,r,a,o);if(s&&Rl(s)){let e=et_(s,i);e&&(etp(t,e.symbols),s=e.typeNode)}return qt(s)}function etr(e){return e.isUnionOrIntersection()?e.types.some(etr):262144&e.flags}function eti(e,t,n,r,i,a,o){let s=[],l=new Map;for(let d=0;d=r?nU.createToken(57):void 0,i?void 0:(null==n?void 0:n[s])||nU.createKeywordTypeNode(157),void 0);a.push(c)}return a}function eto(e){return ets(tA.Method_not_implemented.message,e)}function ets(e,t){return nU.createBlock([nU.createThrowStatement(nU.createNewExpression(nU.createIdentifier("Error"),void 0,[nU.createStringLiteral(e,0===t)]))],!0)}function etl(e,t,n){let r=Ef(t);if(!r)return;let i=etu(r,"compilerOptions");if(void 0===i){e.insertNodeAtObjectStart(t,r,etd("compilerOptions",nU.createObjectLiteralExpression(n.map(([e,t])=>etd(e,t)),!0)));return}let a=i.initializer;if(Rm(a))for(let[r,i]of n){let n=etu(a,r);void 0===n?e.insertNodeAtObjectStart(t,a,etd(r,i)):e.replaceNode(t,n.initializer,i)}}function etc(e,t,n,r){etl(e,t,[[n,r]])}function etd(e,t){return nU.createPropertyAssignment(nU.createStringLiteral(e),t)}function etu(e,t){return d0(e.properties,e=>NX(e)&&!!e.name&&wr(e.name)&&e.name.text===t)}function et_(e,t){let n;let r=Gw(e,function e(r){if(bX(r)&&r.qualifier){let i=Aw(r.qualifier),a=qZ(i.symbol,t),o=a!==i.text?function e(t,n){return 79===t.kind?n:nU.createQualifiedName(e(t.left,n),t.right)}(r.qualifier,nU.createIdentifier(a)):r.qualifier;n=uD(n,i.symbol);let s=GR(r.typeArguments,e,y0);return nU.createTypeReferenceNode(o,s)}return GB(r,e,iU)},y0);if(n&&r)return{typeNode:r,symbols:n}}function etp(e,t){t.forEach(t=>e.addImportFromExportedSymbol(t,!0))}function etf(e,t){let n=mO(t),r=Wv(e,t.start);for(;r.ende.replaceNode(t,n,r));return Y0(lM,i,[tA.Replace_import_with_0,i[0].textChanges[0].newText])}function etA(e){let t=e.sourceFile,n=tA.This_expression_is_not_callable.code===e.errorCode?210:211,r=m9(Wv(t,e.span.start),e=>e.kind===n);return r?etC(e,r.expression):[]}function etL(e){let t=m9(Wv(e.sourceFile,e.span.start),t=>t.getStart()===e.span.start&&t.getEnd()===e.span.start+e.span.length);return t?etC(e,t):[]}function etC(e,t){let n,r,i,a,o=e.program.getTypeChecker().getTypeAtLocation(t);if(!(o.symbol&&vn(o.symbol)&&o.symbol.links.originatingImport))return[];let s=[],l=o.symbol.links.originatingImport;if(bq(l)||uP(s,(n=vS(l),r=TO(l),i=e.program.getCompilerOptions(),(a=[]).push(etS(e,n,l,zf(r.name,void 0,l.moduleSpecifier,zy(n,e.preferences)))),1===Cn(i)&&a.push(etS(e,n,l,nU.createImportEqualsDeclaration(void 0,!1,r.name,nU.createExternalModuleReference(l.moduleSpecifier)))),a)),gp(t)&&!(hu(t.parent)&&t.parent.name===t)){let n=e.sourceFile,r=esW.ChangeTracker.with(e,e=>e.replaceNode(n,t,nU.createPropertyAccessExpression(t,"default"),{}));s.push(Y0(lM,r,tA.Use_synthetic_default_member))}return s}var etk=dj({"src/services/codefixes/fixInvalidImportSyntax.ts"(){ecu(),enr(),lM="invalidImportSyntax",Y8({errorCodes:[tA.This_expression_is_not_callable.code,tA.This_expression_is_not_constructable.code],getCodeActions:etA}),Y8({errorCodes:[tA.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,tA.Type_0_does_not_satisfy_the_constraint_1.code,tA.Type_0_is_not_assignable_to_type_1.code,tA.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated.code,tA.Type_predicate_0_is_not_assignable_to_1.code,tA.Property_0_of_type_1_is_not_assignable_to_2_index_type_3.code,tA._0_index_type_1_is_not_assignable_to_2_index_type_3.code,tA.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2.code,tA.Property_0_in_type_1_is_not_assignable_to_type_2.code,tA.Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property.code,tA.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1.code],getCodeActions:etL})}});function etI(e,t){let n=Wv(e,t);if(wb(n)&&wV(n.parent)){let e=SW(n.parent);if(e)return{type:e,prop:n.parent,isJs:EZ(n.parent)}}}function etw(e,t,n){qo(n);let r=nU.updatePropertyDeclaration(n,n.modifiers,n.name,nU.createToken(53),n.type,n.initializer);e.replaceNode(t,n,r)}function etR(e,t,n){let r=nU.createKeywordTypeNode(155),i=w7(n.type)?n.type.types.concat(r):[n.type,r],a=nU.createUnionTypeNode(i);n.isJs?e.addJSDocTags(t,n.prop,[nU.createJSDocTypeTag(void 0,nU.createJSDocTypeExpression(a))]):e.replaceNode(t,n.type,a)}function etN(e,t,n,r){qo(n);let i=nU.updatePropertyDeclaration(n,n.modifiers,n.name,n.questionToken,n.type,r);e.replaceNode(t,n,i)}function etD(e,t){return function e(t,n){if(512&n.flags)return n===t.getFalseType()||n===t.getFalseType(!0)?nU.createFalse():nU.createTrue();if(n.isStringLiteral())return nU.createStringLiteral(n.value);if(n.isNumberLiteral())return nU.createNumericLiteral(n.value);if(2048&n.flags)return nU.createBigIntLiteral(n.value);if(n.isUnion())return dJ(n.types,n=>e(t,n));if(n.isClass()){let e=LE(n.symbol);if(!e||S3(e,256))return;let t=SP(e);if(t&&t.parameters.length)return;return nU.createNewExpression(nU.createIdentifier(n.symbol.name),void 0,void 0)}if(t.isArrayLikeType(n))return nU.createArrayLiteralExpression()}(e,e.getTypeFromTypeNode(t.type))}var etO=dj({"src/services/codefixes/fixStrictClassInitialization.ts"(){ecu(),enr(),lP="strictClassInitialization",lF="addMissingPropertyDefiniteAssignmentAssertions",lG="addMissingPropertyUndefinedType",lB="addMissingPropertyInitializer",Y8({errorCodes:lU=[tA.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor.code],getCodeActions:function(e){let t=etI(e.sourceFile,e.span.start);if(!t)return;let n=[];return uD(n,Y1(lP,esW.ChangeTracker.with(e,n=>etR(n,e.sourceFile,t)),[tA.Add_undefined_type_to_property_0,t.prop.name.getText()],lG,tA.Add_undefined_type_to_all_uninitialized_properties)),uD(n,function(e,t){if(!t.isJs)return Y1(lP,esW.ChangeTracker.with(e,n=>etw(n,e.sourceFile,t.prop)),[tA.Add_definite_assignment_assertion_to_property_0,t.prop.getText()],lF,tA.Add_definite_assignment_assertions_to_all_uninitialized_properties)}(e,t)),uD(n,function(e,t){if(t.isJs)return;let n=etD(e.program.getTypeChecker(),t.prop);if(n)return Y1(lP,esW.ChangeTracker.with(e,r=>etN(r,e.sourceFile,t.prop,n)),[tA.Add_initializer_to_property_0,t.prop.name.getText()],lB,tA.Add_initializers_to_all_uninitialized_properties)}(e,t)),n},fixIds:[lF,lG,lB],getAllCodeActions:e=>$e(e,lU,(t,n)=>{let r=etI(n.file,n.start);if(r)switch(e.fixId){case lF:etw(t,n.file,r.prop);break;case lG:etR(t,n.file,r);break;case lB:let i=etD(e.program.getTypeChecker(),r.prop);if(!i)return;etN(t,n.file,r.prop,i);break;default:T.fail(JSON.stringify(e.fixId))}})})}});function etM(e,t,n){let{allowSyntheticDefaults:r,defaultImportName:i,namedImports:a,statement:o,required:s}=n;e.replaceNode(t,o,i&&!r?nU.createImportEqualsDeclaration(void 0,!1,i,nU.createExternalModuleReference(s)):nU.createImportDeclaration(void 0,nU.createImportClause(!1,i,a),s,void 0))}function etP(e,t,n){let{parent:r}=Wv(e,n);if(!E8(r,!0))throw T.failBadSyntaxKind(r);let i=_T(r.parent,Nr),a=_E(i.name,wb),o=Ru(i.name)?function(e){let t=[];for(let n of e.elements){if(!wb(n.name)||n.initializer)return;t.push(nU.createImportSpecifier(!1,_E(n.propertyName,wb),n.name))}if(t.length)return nU.createNamedImports(t)}(i.name):void 0;if(a||o)return{allowSyntheticDefaults:Cp(t.getCompilerOptions()),defaultImportName:a,namedImports:o,statement:_T(i.parent.parent,RX),required:uz(r.arguments)}}var etF=dj({"src/services/codefixes/requireInTs.ts"(){ecu(),enr(),lV="requireInTs",Y8({errorCodes:lj=[tA.require_call_may_be_converted_to_an_import.code],getCodeActions(e){let t=etP(e.sourceFile,e.program,e.span.start);if(t)return[Y1(lV,esW.ChangeTracker.with(e,n=>etM(n,e.sourceFile,t)),tA.Convert_require_to_import,lV,tA.Convert_all_require_to_import)]},fixIds:[lV],getAllCodeActions:e=>$e(e,lj,(t,n)=>{let r=etP(n.file,e.program,n.start);r&&etM(t,e.sourceFile,r)})})}});function etG(e,t){let n=Wv(e,t);if(!wb(n))return;let{parent:r}=n;if(Nf(r)&&ND(r.moduleReference))return{importNode:r,name:n,moduleSpecifier:r.moduleReference.expression};if(Nb(r)){let e=r.parent.parent;return{importNode:e,name:n,moduleSpecifier:e.moduleSpecifier}}}function etB(e,t,n,r){e.replaceNode(t,n.importNode,zf(n.name,void 0,n.moduleSpecifier,zy(t,r)))}var etU=dj({"src/services/codefixes/useDefaultImport.ts"(){ecu(),enr(),lH="useDefaultImport",Y8({errorCodes:lK=[tA.Import_may_be_converted_to_a_default_import.code],getCodeActions(e){let{sourceFile:t,span:{start:n}}=e,r=etG(t,n);if(r)return[Y1(lH,esW.ChangeTracker.with(e,n=>etB(n,t,r,e.preferences)),tA.Convert_to_default_import,lH,tA.Convert_all_to_default_imports)]},fixIds:[lH],getAllCodeActions:e=>$e(e,lK,(t,n)=>{let r=etG(n.file,n.start);r&&etB(t,n.file,r,e.preferences)})})}});function etV(e,t,n){let r=_E(Wv(t,n.start),wt);if(!r)return;let i=r.getText(t)+"n";e.replaceNode(t,r,nU.createBigIntLiteral(i))}var etj=dj({"src/services/codefixes/useBigintLiteral.ts"(){ecu(),enr(),lW="useBigintLiteral",Y8({errorCodes:lz=[tA.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers.code],getCodeActions:function(e){let t=esW.ChangeTracker.with(e,t=>etV(t,e.sourceFile,e.span));if(t.length>0)return[Y1(lW,t,tA.Convert_to_a_bigint_numeric_literal,lW,tA.Convert_all_to_bigint_numeric_literals)]},fixIds:[lW],getAllCodeActions:e=>$e(e,lz,(e,t)=>etV(e,t.file,t))})}});function etH(e,t){let n=Wv(e,t);return T.assert(100===n.kind,"This token should be an ImportKeyword"),T.assert(202===n.parent.kind,"Token parent should be an ImportType"),n.parent}function etK(e,t,n){let r=nU.updateImportTypeNode(n,n.argument,n.assertions,n.qualifier,n.typeArguments,!0);e.replaceNode(t,n,r)}var etW=dj({"src/services/codefixes/fixAddModuleReferTypeMissingTypeof.ts"(){ecu(),enr(),lq="fixAddModuleReferTypeMissingTypeof",Y8({errorCodes:lJ=[tA.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0.code],getCodeActions:function(e){let{sourceFile:t,span:n}=e,r=etH(t,n.start);return[Y1(lq,esW.ChangeTracker.with(e,e=>etK(e,t,r)),tA.Add_missing_typeof,lq,tA.Add_missing_typeof)]},fixIds:[lq],getAllCodeActions:e=>$e(e,lJ,(t,n)=>etK(t,e.sourceFile,etH(n.file,n.start)))})}});function etz(e,t){let n=Wv(e,t).parent.parent;if((RR(n)||RR(n=n.parent))&&vN(n.operatorToken))return n}function etq(e,t,n){let r=function(e){let t=[],n=e;for(;;){if(!(RR(n)&&vN(n.operatorToken))||27!==n.operatorToken.kind)return;if(t.push(n.left),gV(n.right))return t.push(n.right),t;if(!RR(n.right))return;n=n.right}}(n);r&&e.replaceNode(t,n,nU.createJsxFragment(nU.createJsxOpeningFragment(),r,nU.createJsxJsxClosingFragment()))}var etJ=dj({"src/services/codefixes/wrapJsxInFragment.ts"(){ecu(),enr(),lX="wrapJsxInFragment",Y8({errorCodes:lY=[tA.JSX_expressions_must_have_one_parent_element.code],getCodeActions:function(e){let{sourceFile:t,span:n}=e,r=etz(t,n.start);if(r)return[Y1(lX,esW.ChangeTracker.with(e,e=>etq(e,t,r)),tA.Wrap_in_JSX_fragment,lX,tA.Wrap_all_unparented_JSX_in_JSX_fragment)]},fixIds:[lX],getAllCodeActions:e=>$e(e,lY,(t,n)=>{let r=etz(e.sourceFile,n.start);r&&etq(t,e.sourceFile,r)})})}});function etX(e,t){let n=_E(Wv(e,t).parent.parent,wY);if(!n)return;let r=Ns(n.parent)?n.parent:_E(n.parent.parent,Nl);if(r)return{indexSignature:n,container:r}}function etY(e,t,{indexSignature:n,container:r}){let i=(Ns(r)?r.members:r.type.members).filter(e=>!wY(e)),a=uz(n.parameters),s=nU.createTypeParameterDeclaration(void 0,_T(a.name,wb),a.type),l=nU.createMappedTypeNode(Ar(n)?nU.createModifier(146):void 0,s,void 0,n.questionToken,n.type,void 0),c=nU.createIntersectionTypeNode([...xb(r),l,...i.length?[nU.createTypeLiteralNode(i)]:o]);e.replaceNode(t,r,nU.createTypeAliasDeclaration(r.modifiers,r.name,r.typeParameters,c))}var et$=dj({"src/services/codefixes/convertToMappedObjectType.ts"(){ecu(),enr(),l$="fixConvertToMappedObjectType",Y8({errorCodes:lQ=[tA.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead.code],getCodeActions:function(e){let{sourceFile:t,span:n}=e,r=etX(t,n.start);if(!r)return;let i=esW.ChangeTracker.with(e,e=>etY(e,t,r)),a=hi(r.container.name);return[Y1(l$,i,[tA.Convert_0_to_mapped_object_type,a],l$,[tA.Convert_0_to_mapped_object_type,a])]},fixIds:[l$],getAllCodeActions:e=>$e(e,lQ,(e,t)=>{let n=etX(t.file,t.start);n&&etY(e,t.file,n)})})}}),etQ=dj({"src/services/codefixes/removeAccidentalCallParentheses.ts"(){ecu(),enr(),lZ="removeAccidentalCallParentheses",Y8({errorCodes:[tA.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without.code],getCodeActions(e){let t=m9(Wv(e.sourceFile,e.span.start),Rg);if(t)return[Y0(lZ,esW.ChangeTracker.with(e,n=>{n.deleteRange(e.sourceFile,{pos:t.expression.end,end:t.end})}),tA.Remove_parentheses)]},fixIds:[lZ]})}});function etZ(e,t,n){let r=_E(Wv(t,n.start),e=>133===e.kind),i=r&&_E(r.parent,Rk);if(!i)return;let a=i;if(RT(i.parent)&&wb(LP(i.expression,!1))){let e=WS(i.parent.pos,t);e&&103!==e.kind&&(a=i.parent)}e.replaceNode(t,a,i.expression)}var et0=dj({"src/services/codefixes/removeUnnecessaryAwait.ts"(){ecu(),enr(),l0="removeUnnecessaryAwait",Y8({errorCodes:l1=[tA.await_has_no_effect_on_the_type_of_this_expression.code],getCodeActions:function(e){let t=esW.ChangeTracker.with(e,t=>etZ(t,e.sourceFile,e.span));if(t.length>0)return[Y1(l0,t,tA.Remove_unnecessary_await,l0,tA.Remove_all_unnecessary_uses_of_await)]},fixIds:[l0],getAllCodeActions:e=>$e(e,l1,(e,t)=>etZ(e,t.file,t))})}});function et1(e,t){return m9(Wv(e,t.start),Nm)}function et2(e,t,n){if(!t)return;let r=T.checkDefined(t.importClause);e.replaceNode(n.sourceFile,t,nU.updateImportDeclaration(t,t.modifiers,nU.updateImportClause(r,r.isTypeOnly,r.name,void 0),t.moduleSpecifier,t.assertClause)),e.insertNodeAfter(n.sourceFile,t,nU.createImportDeclaration(void 0,nU.updateImportClause(r,r.isTypeOnly,void 0,r.namedBindings),t.moduleSpecifier,t.assertClause))}var et4=dj({"src/services/codefixes/splitTypeOnlyImport.ts"(){ecu(),enr(),Y8({errorCodes:l2=[tA.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both.code],fixIds:[l4="splitTypeOnlyImport"],getCodeActions:function(e){let t=esW.ChangeTracker.with(e,t=>et2(t,et1(e.sourceFile,e.span),e));if(t.length)return[Y1(l4,t,tA.Split_into_two_separate_import_declarations,l4,tA.Split_all_invalid_type_only_imports)]},getAllCodeActions:e=>$e(e,l2,(t,n)=>{et2(t,et1(e.sourceFile,n),e)})})}});function et8(e,t,n){var r;let i=n.getTypeChecker().getSymbolAtLocation(Wv(e,t));if(void 0===i)return;let a=_E(null==(r=null==i?void 0:i.valueDeclaration)?void 0:r.parent,Ni);if(void 0===a)return;let o=Wo(a,85,e);if(void 0!==o)return{symbol:i,token:o}}function et6(e,t,n){e.replaceNode(t,n,nU.createToken(119))}var et3=dj({"src/services/codefixes/convertConstToLet.ts"(){ecu(),enr(),l8="fixConvertConstToLet",Y8({errorCodes:l6=[tA.Cannot_assign_to_0_because_it_is_a_constant.code],getCodeActions:function(e){let{sourceFile:t,span:n,program:r}=e,i=et8(t,n.start,r);if(void 0!==i)return[Y2(l8,esW.ChangeTracker.with(e,e=>et6(e,t,i.token)),tA.Convert_const_to_let,l8,tA.Convert_all_const_to_let)]},getAllCodeActions:e=>{let{program:t}=e,n=new Map;return Y7(esW.ChangeTracker.with(e,r=>{$t(e,l6,e=>{let i=et8(e.file,e.start,t);if(i&&LC(n,Gb(i.symbol)))return et6(r,e.file,i.token)})}))},fixIds:[l8]})}});function et5(e,t,n){let r=Wv(e,t);return 26===r.kind&&r.parent&&(Rm(r.parent)||Rf(r.parent))?{node:r}:void 0}function et7(e,t,{node:n}){let r=nU.createToken(27);e.replaceNode(t,n,r)}var et9=dj({"src/services/codefixes/fixExpectedComma.ts"(){ecu(),enr(),l3="fixExpectedComma",Y8({errorCodes:l5=[tA._0_expected.code],getCodeActions(e){let{sourceFile:t}=e,n=et5(t,e.span.start,e.errorCode);if(n)return[Y1(l3,esW.ChangeTracker.with(e,e=>et7(e,t,n)),[tA.Change_0_to_1,";",","],l3,[tA.Change_0_to_1,";",","])]},fixIds:[l3],getAllCodeActions:e=>$e(e,l5,(t,n)=>{let r=et5(n.file,n.start,n.code);r&&et7(t,e.sourceFile,r)})})}});function ene(e,t,n,r,i){let a=Wv(t,n.start);if(!wb(a)||!Rg(a.parent)||a.parent.expression!==a||0!==a.parent.arguments.length)return;let o=r.getTypeChecker(),s=o.getSymbolAtLocation(a),l=null==s?void 0:s.valueDeclaration;if(!l||!wG(l)||!Rv(l.parent.parent)||(null==i?void 0:i.has(l)))return;null==i||i.add(l);let c=function(e){var t;if(!EZ(e))return e.typeArguments;if(RT(e.parent)){let n=null==(t=hH(e.parent))?void 0:t.typeExpression.type;if(n&&wQ(n)&&wb(n.typeName)&&"Promise"===hi(n.typeName))return n.typeArguments}}(l.parent.parent);if(uv(c)){let n=c[0],r=!w7(n)&&!Rn(n)&&Rn(nU.createUnionTypeNode([n,nU.createKeywordTypeNode(114)]).types[0]);r&&e.insertText(t,n.pos,"("),e.insertText(t,n.end,r?") | void":" | void")}else{let n=o.getResolvedSignature(a.parent),r=null==n?void 0:n.parameters[0],i=r&&o.getTypeOfSymbolAtLocation(r,l.parent.parent);EZ(l)?(!i||3&i.flags)&&(e.insertText(t,l.parent.parent.end,")"),e.insertText(t,mc(t.text,l.parent.parent.pos),"/** @type {Promise} */(")):(!i||2&i.flags)&&e.insertText(t,l.parent.parent.expression.end,"")}}var ent=dj({"src/services/codefixes/fixAddVoidToPromise.ts"(){ecu(),enr(),l7="addVoidToPromise",Y8({errorCodes:l9=[tA.Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments.code,tA.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise.code],fixIds:[l7],getCodeActions(e){let t=esW.ChangeTracker.with(e,t=>ene(t,e.sourceFile,e.span,e.program));if(t.length>0)return[Y1("addVoidToPromise",t,tA.Add_void_to_Promise_resolved_without_a_value,l7,tA.Add_void_to_all_Promises_resolved_without_a_value)]},getAllCodeActions:e=>$e(e,l9,(t,n)=>ene(t,n.file,n,e.program,new Set))})}}),enn={};dH(enn,{PreserveOptionalFlags:()=>lO,addNewNodeForMemberSymbol:()=>ee7,codeFixAll:()=>$e,createCodeFixAction:()=>Y1,createCodeFixActionMaybeFixAll:()=>Y2,createCodeFixActionWithoutFixAll:()=>Y0,createCombinedCodeActions:()=>Y7,createFileTextChanges:()=>Y9,createImportAdder:()=>QI,createImportSpecifierResolver:()=>QR,createJsonPropertyAssignment:()=>etd,createMissingMemberNodes:()=>ee3,createSignatureDeclarationFromCallExpression:()=>ete,createSignatureDeclarationFromSignature:()=>ee9,createStubbedBody:()=>ets,eachDiagnostic:()=>$t,findAncestorMatchingSpan:()=>etf,findJsonProperty:()=>etu,generateAccessorFromProperty:()=>eth,getAccessorConvertiblePropertyAtPosition:()=>etb,getAllFixes:()=>Y5,getAllSupers:()=>etT,getArgumentTypesAndTypeParameters:()=>eti,getFixes:()=>Y3,getImportCompletionAction:()=>QN,getImportKind:()=>Qz,getNoopSymbolTrackerWithResolver:()=>ee5,getPromoteTypeOnlyCompletionAction:()=>QD,getSupportedErrorCodes:()=>Y6,importFixName:()=>sp,importSymbols:()=>etp,moduleSpecifierToValidIdentifier:()=>Q5,moduleSymbolToValidIdentifier:()=>Q3,parameterShouldGetTypeFromJSDoc:()=>$I,registerCodeFix:()=>Y8,setJsonCompilerOptionValue:()=>etc,setJsonCompilerOptionValues:()=>etl,tryGetAutoImportableReferenceFromTypeNode:()=>et_,typeToAutoImportableTypeNode:()=>etn});var enr=dj({"src/services/_namespaces/ts.codefix.ts"(){$r(),$o(),$s(),$d(),$y(),$b(),$T(),$S(),$L(),$C(),$D(),$F(),Qe(),Q_(),Qm(),Qg(),QE(),QS(),Qk(),Q7(),Zt(),Za(),Zl(),Zd(),Zy(),Zg(),ZE(),ZI(),ZK(),Zz(),ZY(),Z0(),Z4(),Z3(),Z7(),eet(),een(),eea(),eel(),eeu(),eep(),eem(),eeh(),eek(),eew(),eeN(),eeP(),eeB(),eej(),eeK(),ee0(),ee4(),ee6(),etm(),etx(),etk(),etO(),etF(),etU(),etj(),etW(),etJ(),et$(),etQ(),et0(),et4(),et3(),et9(),ent()}});function eni(e){return!!(e&&4&e.kind)}function ena(e){return!!(e&&32===e.kind)}function eno(e){return!!(e&&64&e.kind)}function ens(e){return!!(e&&128&e.kind)}function enl(e){return!!(e&&512&e.kind)}function enc(e,t,n,r,i,a,o,s,l){var c,d,u;let _=B(),p=o||Cf(Ci(r.getCompilerOptions())),f=!1,m=0,h=0,y=0,g=0,v=l({tryResolve:function(e,t){if(t){let t=n.getModuleSpecifierForBestExportInfo(e,i,s);return t&&m++,t||"failed"}let r=p||a.allowIncompleteCompletions&&hf,resolvedAny:()=>h>0,resolvedBeyondLimit:()=>h>ce}),b=g?` (${(y/g*100).toFixed(1)}% hit rate)`:"";return null==(c=t.log)||c.call(t,`${e}: resolved ${h} module specifiers, plus ${m} ambient and ${y} from cache${b}`),null==(d=t.log)||d.call(t,`${e}: response is ${f?"incomplete":"complete"}`),null==(u=t.log)||u.call(t,`${e}: ${B()-_}`),v}function end(e,t,n,r,i,a,o,s,l,c,d=!1){var u,_;let{previousToken:p}=enO(i,r);if(o&&!WC(r,i,p)&&!function(e,t,n,r){switch(t){case".":case"@":return!0;case'"':case"'":case"`":return!!n&&qT(n)&&r===n.getStart(e)+1;case"#":return!!n&&wE(n)&&!!Ev(n);case"<":return!!n&&29===n.kind&&(!RR(n.parent)||function({left:e}){return vN(e)}(n.parent));case"/":return!!n&&(g8(n)?!!TN(n):43===n.kind&&NF(n.parent));case" ":return!!n&&wD(n)&&308===n.parent.kind;default:return T.assertNever(t)}}(r,o,p,i))return;if(" "===o)return a.includeCompletionsForImportStatements&&a.includeCompletionsWithInsertText?{isGlobalCompletion:!0,isMemberCompletion:!1,isNewIdentifierLocation:!0,isIncomplete:!0,entries:[]}:void 0;let f=t.getCompilerOptions(),m=a.allowIncompleteCompletions?null==(u=e.getIncompleteCompletionsCache)?void 0:u.call(e):void 0;if(m&&3===s&&p&&wb(p)){let n=function(e,t,n,r,i,a,o,s){let l=e.get();if(!l)return;let c=Wy(t,s),d=n.text.toLowerCase(),u=Jd(t,i,r,a,o),_=enc("continuePreviousIncompleteResponse",i,enn.createImportSpecifierResolver(t,r,i,a),r,n.getStart(),a,!1,kv(n),e=>{let n=uu(l.entries,n=>{var a;if(!n.hasAction||!n.source||!n.data||en_(n.data))return n;if(!enZ(n.name,d))return;let{origin:o}=T.checkDefined(enM(n.name,n.data,r,i)),s=u.get(t.path,n.data.exportMapKey),l=s&&e.tryResolve(s,!mR(Sl(o.moduleSymbol.name)));if("skipped"===l)return n;if(!l||"failed"===l){null==(a=i.log)||a.call(i,`Unexpected failure resolving auto import for '${n.name}' from '${n.source}'`);return}let c={...o,kind:32,moduleSpecifier:l.moduleSpecifier};return n.data=enT(c),n.source=enS(c),n.sourceDisplay=[zW(c.moduleSpecifier)],n});return e.skippedAny()||(l.isIncomplete=void 0),n});return l.entries=_,l.flags=4|(l.flags||0),l.optionalReplacementSpan=enm(c),l}(m,r,p,t,e,a,l,i);if(n)return n}else null==m||m.clear();let h=erf.getStringLiteralCompletions(r,i,p,f,e,t,n,a,d);if(h)return h;if(p&&yi(p.parent)&&(81===p.kind||86===p.kind||79===p.kind))return function(e){let t=function(e){let t=[],n=new Map,r=e;for(;r&&!yF(r);){if(R9(r)){let e=r.label.text;n.has(e)||(n.set(e,!0),t.push({name:e,kindModifiers:"",kind:"label",sortText:cn.LocationPriority}))}r=r.parent}return t}(e);if(t.length)return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:t}}(p.parent);let y=enD(t,n,r,f,i,a,void 0,e,c,l);if(y)switch(y.kind){case 0:let g=function(e,t,n,r,i,a,o,s,l,c){let d;let{symbols:u,contextToken:_,completionKind:p,isInSnippetScope:f,isNewIdentifierLocation:m,location:h,propertyAccessToConvert:y,keywordFilters:g,symbolToOriginInfoMap:v,recommendedCompletion:b,isJsxInitializer:E,isTypeOnlyLocation:T,isJsxIdentifierExpected:x,isRightOfOpenTag:S,isRightOfDotOrQuestionDot:A,importStatementCompletion:L,insideJsDocTagTypeExpression:C,symbolToSortTextMap:k,hasUnresolvedAutoImports:I}=a,w=a.literals,R=n.getTypeChecker();if(1===L5(e.scriptKind)){let t=function(e,t){let n=m9(e,e=>{switch(e.kind){case 284:return!0;case 43:case 31:case 79:case 208:return!1;default:return"quit"}});if(n){let e=!!Wo(n,31,t),r=n.parent.openingElement.tagName.getText(t);return{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:!1,optionalReplacementSpan:W1(n.tagName),entries:[{name:r+(e?"":">"),kind:"class",kindModifiers:void 0,sortText:cn.LocationPriority}]}}}(h,e);if(t)return t}let N=m9(_,NW);if(N&&(wO(_)||xo(_,N.expression))){let e=Ji(R,N.parent.clauses);w=w.filter(t=>!e.hasValue(t)),u.forEach((t,n)=>{if(t.valueDeclaration&&NQ(t.valueDeclaration)){let r=R.getConstantValue(t.valueDeclaration);void 0!==r&&e.hasValue(r)&&(v[n]={kind:256})}})}let D=[],O=enh(e,r);if(O&&!m&&(!u||0===u.length)&&0===g)return;let M=enA(u,D,void 0,_,h,l,e,t,n,Ct(r),i,p,o,r,s,T,y,x,E,L,b,v,k,x,S,c);if(0!==g)for(let t of enF(g,!C&&EZ(e)))(T&&W7(f4(t.name))||!M.has(t.name))&&(M.add(t.name),uL(D,t,enu,!0));for(let e of function(e,t){let n=[];if(e){let r=e.getSourceFile(),i=e.parent,a=r.getLineAndCharacterOfPosition(e.end).line,o=r.getLineAndCharacterOfPosition(t).line;(Nm(i)||NA(i)&&i.moduleSpecifier)&&e===i.moduleSpecifier&&a===o&&n.push({name:tF[130],kind:"keyword",kindModifiers:"",sortText:cn.GlobalsOrKeywords})}return n}(_,l))M.has(e.name)||(M.add(e.name),uL(D,e,enu,!0));for(let t of w){let n={name:env(e,o,t),kind:"string",kindModifiers:"",sortText:cn.LocationPriority};M.add(n.name),uL(D,n,enu,!0)}if(O||function(e,t,n,r,i){Yd(e).forEach((e,a)=>{if(e===t)return;let o=hr(a);!n.has(o)&&mA(o,r)&&(n.add(o),uL(i,{name:o,kind:"warning",kindModifiers:"",sortText:cn.JavascriptIdentifiers,isFromUncheckedFile:!0},enu))})}(e,h.pos,M,Ct(r),D),o.includeCompletionsWithInsertText&&_&&!S&&!A&&(d=m9(_,N_))){let i=eny(d,e,o,r,t,n,s);i&&D.push(i.entry)}return{flags:a.flags,isGlobalCompletion:f,isIncomplete:!!o.allowIncompleteCompletions&&!!I||void 0,isMemberCompletion:function(e){switch(e){case 0:case 3:case 2:return!0;default:return!1}}(p),isNewIdentifierLocation:m,optionalReplacementSpan:enm(h),entries:D}}(r,e,t,f,n,y,a,c,i,d);return(null==g?void 0:g.isIncomplete)&&(null==m||m.set(g)),g;case 1:return enp(eig.getJSDocTagNameCompletions());case 2:return enp(eig.getJSDocTagCompletions());case 3:return enp(eig.getJSDocParameterNameCompletions(y.tag));case 4:return _=y.keywordCompletions,{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:y.isNewIdentifierLocation,entries:_.slice()};default:return T.assertNever(y)}}function enu(e,t){var n,r;let i=_X(e.sortText,t.sortText);return(0===i&&(i=_X(e.name,t.name)),0===i&&(null==(n=e.data)?void 0:n.moduleSpecifier)&&(null==(r=t.data)?void 0:r.moduleSpecifier)&&(i=C2(e.data.moduleSpecifier,t.data.moduleSpecifier)),0===i)?-1:i}function en_(e){return!!(null==e?void 0:e.moduleSpecifier)}function enp(e){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:e}}function enf(e,t,n){return{kind:4,keywordCompletions:enF(e,t),isNewIdentifierLocation:n}}function enm(e){return(null==e?void 0:e.kind)===79?W1(e):void 0}function enh(e,t){return!EZ(e)||!!ka(e,t)}function eny(e,t,n,r,i,a,o){let s=e.clauses,l=a.getTypeChecker(),c=l.getTypeAtLocation(e.parent.expression);if(c&&c.isUnion()&&dZ(c.types,e=>e.isLiteral())){let d=Ji(l,s),u=Ct(r),_=zy(t,n),p=enn.createImportAdder(t,a,n,i),f=[];for(let t of c.types)if(1024&t.flags){T.assert(t.symbol,"An enum member type should have a symbol"),T.assert(t.symbol.parent,"An enum member type should have a parent symbol (the enum symbol)");let n=t.symbol.valueDeclaration&&l.getConstantValue(t.symbol.valueDeclaration);if(void 0!==n){if(d.hasValue(n))continue;d.addValue(n)}let r=enn.typeToAutoImportableTypeNode(l,p,t,e,u);if(!r)return;let i=function e(t,n,r){switch(t.kind){case 180:return eng(t.typeName,n,r);case 196:let i=e(t.objectType,n,r),a=e(t.indexType,n,r);return i&&a&&nU.createElementAccessExpression(i,a);case 198:let o=t.literal;switch(o.kind){case 10:return nU.createStringLiteral(o.text,0===r);case 8:return nU.createNumericLiteral(o.text,o.numericLiteralFlags)}break;case 193:let s=e(t.type,n,r);return s&&(wb(s)?s:nU.createParenthesizedExpression(s));case 183:return eng(t.exprName,n,r);case 202:T.fail("We should not get an import type after calling 'codefix.typeToAutoImportableTypeNode'.")}}(r,u,_);if(!i)return;f.push(i)}else if(!d.hasValue(t.value))switch(typeof t.value){case"object":f.push(t.value.negative?nU.createPrefixUnaryExpression(40,nU.createBigIntLiteral({negative:!1,base10Value:t.value.base10Value})):nU.createBigIntLiteral(t.value));break;case"number":f.push(t.value<0?nU.createPrefixUnaryExpression(40,nU.createNumericLiteral(-t.value)):nU.createNumericLiteral(t.value));break;case"string":f.push(nU.createStringLiteral(t.value,0===_))}if(0===f.length)return;let m=un(f,e=>nU.createCaseClause(e,[])),h=zQ(i,null==o?void 0:o.options),y=enE({removeComments:!0,module:r.module,target:r.target,newLine:q9(h)}),g=o?e=>y.printAndFormatNode(4,e,t,o):e=>y.printNode(4,e,t),v=un(m,(e,t)=>n.includeCompletionsWithSnippetText?`${g(e)}$${t+1}`:`${g(e)}`).join(h);return{entry:{name:`${y.printNode(4,m[0],t)} ...`,kind:"",sortText:cn.GlobalsOrKeywords,insertText:v,hasAction:p.hasFixes()||void 0,source:"SwitchCases/",isSnippet:!!n.includeCompletionsWithSnippetText||void 0},importAdder:p}}}function eng(e,t,n){if(wb(e))return e;let r=hr(e.right.escapedText);return kX(r,t)?nU.createPropertyAccessExpression(eng(e.left,t,n),r):nU.createElementAccessExpression(eng(e.left,t,n),nU.createStringLiteral(r,0===n))}function env(e,t,n){return"object"==typeof n?km(n)+"n":_v(n)?qb(e,t,n):JSON.stringify(n)}function enb(e,t,n,r,i,a,o,s,l,c){let d,u,_;let p=m9(o,yW);if(!p)return{insertText:i};let f=i,m=t.getTypeChecker(),h=o.getSourceFile(),y=enE({removeComments:!0,module:n.module,target:n.target,omitTrailingSemicolon:!1,newLine:q9(zQ(e,null==c?void 0:c.options))}),g=enn.createImportAdder(h,t,r,e);if(r.includeCompletionsWithSnippetText){d=!0;let e=nU.createEmptyStatement();_=nU.createBlock([e],!0),IJ(e,{kind:0,order:0})}else _=nU.createBlock([],!0);let v=0,{modifiers:b,span:E}=function(e,t,n){let r,i;if(!e||mt(t,n).line>mt(t,e.getEnd()).line)return{modifiers:0};let a=0;return(i=function(e){if(yD(e))return e.kind;if(wb(e)){let t=ha(e);if(t&&yw(t))return t}}(e))&&(a|=Am(i),r=W1(e)),wV(e.parent)&&(a|=126975&Af(e.parent.modifiers),r=W1(e.parent)),{modifiers:a,span:r}}(l,h,s),T=!!(256&b),x=[];return enn.addNewNodeForMemberSymbol(a,p,h,{program:t,host:e},r,g,e=>{let t=0;T&&(t|=256),yK(e)&&1===m.getMemberOverrideModifierStatus(p,e,a)&&(t|=16384),x.length||(v=e.modifierFlagsCache|t|b),e=nU.updateModifiers(e,v),x.push(e)},_,enn.PreserveOptionalFlags.Property,T),x.length&&(u=E,f=c?y.printAndFormatSnippetList(131073,nU.createNodeArray(x),h,c):y.printSnippetList(131073,nU.createNodeArray(x),h)),{insertText:f,isSnippet:d,importAdder:g,replacementSpan:u}}function enE(e){let t;let n=esW.createWriter(AJ(e)),r=U1(e,n),i={...n,write:e=>a(e,()=>n.write(e)),nonEscapingWrite:n.write,writeLiteral:e=>a(e,()=>n.writeLiteral(e)),writeStringLiteral:e=>a(e,()=>n.writeStringLiteral(e)),writeSymbol:(e,t)=>a(e,()=>n.writeSymbol(e,t)),writeParameter:e=>a(e,()=>n.writeParameter(e)),writeComment:e=>a(e,()=>n.writeComment(e)),writeProperty:e=>a(e,()=>n.writeProperty(e))};return{printSnippetList:function(e,n,r){let i=o(e,n,r);return t?esW.applyChanges(i,t):i},printAndFormatSnippetList:function(e,n,r,i){let a={text:o(e,n,r),getLineAndCharacterOfPosition(e){return mt(this,e)}},s=Jt(i,r),l=uo(n,e=>{let t=esW.assignPositionsToNode(e);return ecc.formatNodeGivenIndentation(t,a,r.languageVariant,0,0,{...i,options:s})}),c=t?uj(uE(l,t),(e,t)=>_V(e.span,t.span)):l;return esW.applyChanges(a.text,c)},printNode:function(e,n,r){let i=s(e,n,r);return t?esW.applyChanges(i,t):i},printAndFormatNode:function(e,n,r,i){let a={text:s(e,n,r),getLineAndCharacterOfPosition(e){return mt(this,e)}},o=Jt(i,r),l=esW.assignPositionsToNode(n),c=ecc.formatNodeGivenIndentation(l,a,r.languageVariant,0,0,{...i,options:o}),d=t?uj(uE(c,t),(e,t)=>_V(e.span,t.span)):c;return esW.applyChanges(a.text,d)}};function a(e,r){let i=kU(e);if(i!==e){let e=n.getTextPos();r();let a=n.getTextPos();t=uD(t||(t=[]),{newText:i,span:{start:e,length:a-e}})}else r()}function o(e,n,a){return t=void 0,i.clear(),r.writeList(e,n,a,i),i.getText()}function s(e,n,a){return t=void 0,i.clear(),r.writeNode(e,n,a,i),i.getText()}}function enT(e){let t=e.fileName?void 0:Sl(e.moduleSymbol.name),n=!!e.isFromPackageJson||void 0;return ena(e)?{exportName:e.exportName,exportMapKey:e.exportMapKey,moduleSpecifier:e.moduleSpecifier,ambientModuleName:t,fileName:e.fileName,isPackageJsonImport:n}:{exportName:e.exportName,exportMapKey:e.exportMapKey,fileName:e.fileName,ambientModuleName:e.fileName?void 0:Sl(e.moduleSymbol.name),isPackageJsonImport:!!e.isFromPackageJson||void 0}}function enx(e,t,n){return/^\d+$/.test(n)?n:qb(e,t,n)}function enS(e){return eni(e)?Sl(e.moduleSymbol.name):ena(e)?e.moduleSpecifier:(null==e?void 0:e.kind)===1?"ThisProperty/":(null==e?void 0:e.kind)===64?"TypeOnlyAlias/":void 0}function enA(e,t,n,r,i,a,o,s,l,c,d,u,_,p,f,m,h,y,g,v,b,E,T,x,S,A=!1){var L;let C=B(),k=m9(i,e=>Es(e)||e.parent&&RS(e.parent)&&e.parent.body===e||y2(e)?"quit":Nr(e)),I=qR(o),w=l.getTypeChecker(),R=new Map;for(let d=0;d!!(528&e.flags))||(402653316&n.flags||1048576&n.flags&&dZ(n.types,e=>!!(402686084&e.flags||WW(e)))?(S=`${kU(c)}=${qb(o,g,"$1")}`,L=!0):t=!0),t&&(S=`${kU(c)}={$1}`,L=!0)}if(void 0===S||g.includeCompletionsWithInsertText)return(eni(u)||ena(u))&&(A=enT(u),k=!m),{name:c,kind:esT.getSymbolKind(N,e,i),kindModifiers:esT.getSymbolModifiers(N,e),sortText:t,source:R,hasAction:!!k||void 0,isRecommended:e===_||!!(1048576&e.flags)&&N.getExportSymbolOfSymbol(e)===_||void 0,insertText:S,replacementSpan:w,sourceDisplay:C,labelDetails:I,isSnippet:L,isPackageJsonImport:(eni(u)||ena(u))&&!!u.isFromPackageJson||void 0,isImportStatementCompletion:!!m||void 0,data:A,...x?{symbol:e}:void 0}}(C,F,n,r,i,a,o,s,l,O,M,N,b,h,g,v,I,p,_,u,f,x,S,A);if(!G)continue;let B=(!N||eno(N))&&!(void 0===C.parent&&!uv(C.declarations,e=>e.getSourceFile()===i.getSourceFile()));R.set(O,B),uL(t,G,enu,!0)}return d("getCompletionsAtPosition: getCompletionEntriesFromSymbols: "+(B()-C)),{has:e=>R.has(e),add:e=>R.set(e,!0)}}function enL(e,t,n,r,i,a,o){if("SwitchCases/"===i.source)return{type:"cases"};if(i.data){let t=enM(i.name,i.data,e,a);if(t){let{contextToken:e,previousToken:i}=enO(r,n);return{type:"symbol",symbol:t.symbol,location:Wy(n,r),previousToken:i,contextToken:e,isJsxInitializer:!1,isTypeOnlyLocation:!1,origin:t.origin}}}let s=e.getCompilerOptions(),l=enD(e,t,n,s,r,{includeCompletionsForModuleExports:!0,includeCompletionsWithInsertText:!0},i,a,void 0);if(!l)return{type:"none"};if(0!==l.kind)return{type:"request",request:l};let{symbols:c,literals:d,location:u,completionKind:_,symbolToOriginInfoMap:p,contextToken:f,previousToken:m,isJsxInitializer:h,isTypeOnlyLocation:y}=l,g=d0(d,e=>env(n,o,e)===i.name);return void 0!==g?{type:"literal",literal:g}:dJ(c,(e,t)=>{let n=p[t],r=enP(e,Ct(s),n,_,l.isJsxIdentifierExpected);return r&&r.name===i.name&&("ClassMemberSnippet/"===i.source&&106500&e.flags||"ObjectLiteralMethodSnippet/"===i.source&&8196&e.flags||enS(n)===i.source)?{type:"symbol",symbol:e,location:u,origin:n,contextToken:f,previousToken:m,isJsxInitializer:h,isTypeOnlyLocation:y}:void 0})||{type:"none"}}function enC(e,t,n,r,i,a,o,s,l){let c=e.getTypeChecker(),d=e.getCompilerOptions(),{name:u,source:_,data:p}=i,{previousToken:f,contextToken:m}=enO(r,n);if(WC(n,r,f))return erf.getStringLiteralCompletionDetails(u,n,r,f,c,d,a,l,s);let h=enL(e,t,n,r,i,a,s);switch(h.type){case"request":{let{request:e}=h;switch(e.kind){case 1:return eig.getJSDocTagNameCompletionDetails(u);case 2:return eig.getJSDocTagCompletionDetails(u);case 3:return eig.getJSDocParameterNameCompletionDetails(u);case 4:return uv(e.keywordCompletions,e=>e.name===u)?enk(u,"keyword",5):void 0;default:return T.assertNever(e)}}case"symbol":{let{symbol:t,location:i,contextToken:f,origin:m,previousToken:y}=h,{codeActions:g,sourceDisplay:v}=function(e,t,n,r,i,a,o,s,l,c,d,u,_,p,f,m){if((null==p?void 0:p.moduleSpecifier)&&d&&enq(n||d).replacementSpan)return{codeActions:void 0,sourceDisplay:[zW(p.moduleSpecifier)]};if("ClassMemberSnippet/"===f){let{importAdder:r}=enb(o,a,s,_,e,i,t,c,n,u);if(r)return{sourceDisplay:void 0,codeActions:[{changes:esW.ChangeTracker.with({host:o,formatContext:u,preferences:_},r.writeFixes),description:Je([tA.Includes_imports_of_types_referenced_by_0,e])}]}}if(eno(r)){let e=enn.getPromoteTypeOnlyCompletionAction(l,r.declaration.name,a,o,u,_);return T.assertIsDefined(e,"Expected to have a code action for promoting type-only alias"),{codeActions:[e],sourceDisplay:void 0}}if(!r||!(eni(r)||ena(r)))return{codeActions:void 0,sourceDisplay:void 0};let h=r.isFromPackageJson?o.getPackageJsonAutoImportProvider().getTypeChecker():a.getTypeChecker(),{moduleSymbol:y}=r,g=h.getMergedSymbol(Lu(i.exportSymbol||i,h)),v=(null==n?void 0:n.kind)===29&&gK(n.parent),{moduleSpecifier:b,codeAction:E}=enn.getImportCompletionAction(g,y,null==p?void 0:p.exportMapKey,l,e,v,o,a,u,d&&wb(d)?d.getStart(l):c,_,m);return T.assert(!(null==p?void 0:p.moduleSpecifier)||b===p.moduleSpecifier),{sourceDisplay:[zW(b)],codeActions:[E]}}(u,i,f,m,t,e,a,d,n,r,y,o,s,p,_,l),b=enl(m)?m.symbolName:t.name;return enI(t,b,c,n,i,l,g,v)}case"literal":{let{literal:e}=h;return enk(env(n,s,e),"string","string"==typeof e?8:7)}case"cases":{let{entry:t,importAdder:r}=eny(m.parent,n,s,e.getCompilerOptions(),a,e,void 0);if(r.hasFixes()){let e=esW.ChangeTracker.with({host:a,formatContext:o,preferences:s},r.writeFixes);return{name:t.name,kind:"",kindModifiers:"",displayParts:[],sourceDisplay:void 0,codeActions:[{changes:e,description:Je([tA.Includes_imports_of_types_referenced_by_0,u])}]}}return{name:t.name,kind:"",kindModifiers:"",displayParts:[],sourceDisplay:void 0}}case"none":return cs().some(e=>e.name===u)?enk(u,"keyword",5):void 0;default:T.assertNever(h)}}function enk(e,t,n){return enw(e,"",t,[zF(e,n)])}function enI(e,t,n,r,i,a,o,s){let{displayParts:l,documentation:c,symbolKind:d,tags:u}=n.runWithCancellationToken(a,t=>esT.getSymbolDisplayPartsDocumentationAndSymbolKind(t,e,r,i,i,7));return enw(t,esT.getSymbolModifiers(n,e),d,l,c,u,o,s)}function enw(e,t,n,r,i,a,o,s){return{name:e,kindModifiers:t,kind:n,displayParts:r,documentation:i,tags:a,codeActions:o,source:s,sourceDisplay:s}}function enR(e,t,n,r,i,a,o){let s=enL(e,t,n,r,i,a,o);return"symbol"===s.type?s.symbol:void 0}function enN(e,t,n){var r;let i=n.getAccessibleSymbolChain(e,t,67108863,!1);return i?uz(i):e.parent&&((null==(r=e.parent.declarations)?void 0:r.some(e=>308===e.kind))?e:enN(e.parent,t,n))}function enD(e,t,n,r,i,a,o,s,l,c){var d,u;let _,p,f;let m=e.getTypeChecker(),h=enh(n,r),y=B(),g=Wv(n,i);t("getCompletionData: Get current token: "+(B()-y)),y=B();let v=WG(n,i,g);t("getCompletionData: Is inside comment: "+(B()-y));let b=!1,E=!1;if(v){if(WB(n,i)){if(64===n.text.charCodeAt(i-1))return{kind:1};{let e=K2(i,n);if(!/[^\*|\s(/)]/.test(n.text.substring(e,i)))return{kind:2}}}let e=m9(g,e=>!!(gJ(e)&&K6(e,i))||!!Ds(e)&&"quit");if(e){if(e.tagName.pos<=i&&i<=e.tagName.end)return{kind:1};let t=function(e){if(function(e){switch(e.kind){case 344:case 351:case 345:case 347:case 349:case 352:case 353:return!0;case 348:return!!e.constraint;default:return!1}}(e)){let t=DC(e)?e.constraint:e.typeExpression;return t&&312===t.kind?t:void 0}if(Dd(e)||DR(e))return e.class}(e);if(!t||(g=Wv(n,i))&&(xs(g)||351===g.parent.kind&&g.parent.name===g)||(b=ec(t)),!b&&Dx(e)&&(vN(e.name)||e.name.pos<=i&&i<=e.name.end))return{kind:3,tag:e}}if(!b){t("Returning an empty list because completion was inside a regular comment or plain text part of a JsDoc comment.");return}}y=B();let x=!b&&EZ(n),S=enO(i,n),A=S.previousToken,L=S.contextToken;t("getCompletionData: Get previous token: "+(B()-y));let C=g,k=!1,I=!1,w=!1,R=!1,N=!1,D=!1,O=Wy(n,i),M=0,P=!1,F=0;if(L){let e,r,o=enq(L);if(o.keywordCompletion){if(o.isKeywordOnlyCompletion)return{kind:4,keywordCompletions:[{name:tF[o.keywordCompletion],kind:"keyword",kindModifiers:"",sortText:cn.GlobalsOrKeywords}],isNewIdentifierLocation:o.isNewIdentifierLocation};M=function(e){if(154===e)return 8;T.fail("Unknown mapping from SyntaxKind to KeywordCompletionFilters")}(o.keywordCompletion)}if(o.replacementSpan&&a.includeCompletionsForImportStatements&&a.includeCompletionsWithInsertText&&(F|=2,p=o,P=o.isNewIdentifierLocation),!o.replacementSpan&&(u=L,e=B(),r=(wa(u)||yA(u))&&(K3(u,i)||i===u.end&&(!!u.isUnterminated||wa(u)))||function(e){let t=e.parent,r=t.kind;switch(e.kind){case 27:return 257===r||258===e.parent.kind&&!WM(e,n,m)||240===r||263===r||ea(r)||261===r||204===r||262===r||yW(t)&&!!t.typeParameters&&t.typeParameters.end>=e.pos;case 24:case 22:return 204===r;case 58:return 205===r;case 20:return 295===r||ea(r);case 18:return 263===r;case 29:return 260===r||228===r||261===r||262===r||yj(r);case 124:return 169===r&&!yW(t.parent);case 25:return 166===r||!!t.parent&&204===t.parent.kind;case 123:case 121:case 122:return 166===r&&!wW(t.parent);case 128:return 273===r||278===r||271===r;case 137:case 151:return!enz(e);case 79:if(273===r&&e===t.name&&"type"===e.text)return!1;break;case 84:case 92:case 118:case 98:case 113:case 100:case 119:case 85:case 138:return!0;case 154:return 273!==r;case 41:return yF(e.parent)&&!wH(e.parent)}if(enU(enj(e))&&enz(e)||er(e)&&(!wb(e)||yR(enj(e))||ec(e)))return!1;switch(enj(e)){case 126:case 84:case 85:case 136:case 92:case 98:case 118:case 119:case 121:case 122:case 123:case 124:case 113:return!0;case 132:return wV(e.parent)}if(m9(e.parent,yW)&&e===A&&ei(e,i))return!1;let a=xx(e.parent,169);if(a&&e!==A&&yW(A.parent.parent)&&i<=A.end){if(ei(e,A.end))return!1;if(63!==e.kind&&(Bu(a)||gQ(a)))return!0}return xs(e)&&!NY(e.parent)&&!NV(e.parent)&&!(yW(e.parent)&&(e!==A||i>A.end))}(u)||function(e){if(8===e.kind){let t=e.getFullText();return"."===t.charAt(t.length-1)}return!1}(u)||function(e){if(11===e.kind)return!0;if(31===e.kind&&e.parent){if(O===e.parent&&(283===O.kind||282===O.kind))return!1;if(283===e.parent.kind)return 283!==O.parent.kind;if(284===e.parent.kind||282===e.parent.kind)return!!e.parent.parent&&281===e.parent.parent.kind}return!1}(u)||wn(u),t("getCompletionsAtPosition: isCompletionListBlocker: "+(B()-e)),r))return t("Returning an empty list because completion was requested in an invalid position."),M?enf(M,x,en()):void 0;let s=L.parent;if(24===L.kind||28===L.kind)switch(k=24===L.kind,I=28===L.kind,s.kind){case 208:if(C=(_=s).expression,vN(LO(_))||(Rg(C)||yF(C))&&C.end===L.pos&&C.getChildCount(n)&&21!==uX(C.getChildren(n)).kind)return;break;case 163:C=s.left;break;case 264:C=s.name;break;case 202:C=s;break;case 233:C=s.getFirstToken(n),T.assert(100===C.kind||103===C.kind);break;default:return}else if(!p){if(s&&208===s.kind&&(L=s,s=s.parent),g.parent===O)switch(g.kind){case 31:(281===g.parent.kind||283===g.parent.kind)&&(O=g);break;case 43:282===g.parent.kind&&(O=g)}switch(s.kind){case 284:43===L.kind&&(R=!0,O=L);break;case 223:if(!function({left:e}){return vN(e)}(s))break;case 282:case 281:case 283:D=!0,29===L.kind&&(w=!0,O=L);break;case 291:case 290:(19===A.kind||79===A.kind&&288===A.parent.kind)&&(D=!0);break;case 288:if(s.initializer===A&&A.endzd(t?s.getPackageJsonAutoImportProvider():e,s));if(k||I)!function(){U=2;let e=bX(C),t=b||e&&!C.isTypeOf||b4(C.parent)||WM(L,n,m),r=KC(C);if(yO(C)||e||Rh(C)){let n=Nd(C.parent);n&&(P=!0);let i=m.getSymbolAtLocation(C);if(i&&1920&(i=Lu(i,m)).flags){let o=m.getExportsOfModule(i);T.assertEachIsDefined(o,"getExportsOfModule() should all be defined");let s=t=>m.isValidPropertyAccess(e?C:C.parent,t.name),l=e=>enQ(e,m),c=n?e=>{var t;return!!(1920&e.flags)&&!(null==(t=e.declarations)?void 0:t.every(e=>e.parent===C.parent))}:r?e=>l(e)||s(e):t?l:s;for(let e of o)c(e)&&H.push(e);if(!t&&i.declarations&&i.declarations.some(e=>308!==e.kind&&264!==e.kind&&263!==e.kind)){let e=m.getTypeOfSymbolAtLocation(i,C).getNonOptionalType(),t=!1;if(e.isNullableType()){let n=k&&!I&&!1!==a.includeAutomaticOptionalChainCompletions;(n||I)&&(e=e.getNonNullableType(),n&&(t=!0))}Q(e,!!(32768&C.flags),t)}return}}if(!t){m.tryGetThisTypeAt(C,!1);let e=m.getTypeAtLocation(C).getNonOptionalType(),t=!1;if(e.isNullableType()){let n=k&&!I&&!1!==a.includeAutomaticOptionalChainCompletions;(n||I)&&(e=e.getNonNullableType(),n&&(t=!0))}Q(e,!!(32768&C.flags),t)}}();else if(w)H=m.getJsxIntrinsicTagNamesAt(O),T.assertEachIsDefined(H,"getJsxIntrinsicTagNames() should all be defined"),ee(),U=1,M=0;else if(R){let e=L.parent.parent.openingElement.tagName,t=m.getSymbolAtLocation(e);t&&(H=[t]),U=1,M=0}else if(!ee())return M?enf(M,x,P):void 0;t("getCompletionData: Semantic work: "+(B()-G));let X=A&&function(e,t,n,r){let{parent:i}=e;switch(e.kind){case 79:return qv(e,r);case 63:switch(i.kind){case 257:return r.getContextualType(i.initializer);case 223:return r.getTypeAtLocation(i.left);case 288:return r.getContextualTypeForJsxAttribute(i);default:return}case 103:return r.getContextualType(i);case 82:let a=_E(i,NW);return a?qS(a,r):void 0;case 18:return!NK(i)||NO(i.parent)||NG(i.parent)?void 0:r.getContextualTypeForJsxAttribute(i.parent);default:let o=ess.getArgumentInfoForCompletions(e,t,n);return o?r.getContextualTypeForArgumentAtIndex(o.invocation,o.argumentIndex+(27===e.kind?1:0)):qE(e.kind)&&RR(i)&&qE(i.operatorToken.kind)?r.getTypeAtLocation(i.left):r.getContextualType(e)}}(A,i,n,m),Y=uu(X&&(X.isUnion()?X.types:[X]),e=>e.isLiteral()&&!(1024&e.flags)?e.value:void 0),$=A&&X&&dJ(X&&(X.isUnion()?X.types:[X]),e=>{let t=e&&e.symbol;return t&&424&t.flags&&!Lb(t)?enN(t,A,m):void 0});return{kind:0,symbols:H,completionKind:U,isInSnippetScope:E,propertyAccessToConvert:_,isNewIdentifierLocation:P,location:O,keywordFilters:M,literals:Y,symbolToOriginInfoMap:K,recommendedCompletion:$,previousToken:A,contextToken:L,isJsxInitializer:N,insideJsDocTagTypeExpression:b,symbolToSortTextMap:W,isTypeOnlyLocation:q,isJsxIdentifierExpected:D,isRightOfOpenTag:w,isRightOfDotOrQuestionDot:k||I,importStatementCompletion:p,hasUnresolvedAutoImports:j,flags:F};function Q(e,t,n){P=!!e.getStringIndexType(),I&&uv(e.getCallSignatures())&&(P=!0);let r=202===C.kind?C:C.parent;if(h)for(let t of e.getApparentProperties())m.isValidPropertyAccessForCompletions(r,e,t)&&Z(t,!1,n);else H.push(...d9(enW(e,m),t=>m.isValidPropertyAccessForCompletions(r,e,t)));if(t&&a.includeCompletionsWithInsertText){let t=m.getPromisedTypeOfPromise(e);if(t)for(let e of t.getApparentProperties())m.isValidPropertyAccessForCompletions(r,t,e)&&Z(e,!0,n)}}function Z(t,r,o){var l;let c=dJ(t.declarations,e=>_E(hp(e),wP));if(c){let r=function e(t){return wb(t)?t:Rh(t)?e(t.expression):void 0}(c.expression),o=r&&m.getSymbolAtLocation(r),p=o&&enN(o,L,m);if(p&&LC(z,Gb(p))){let t=H.length;H.push(p);let r=p.parent;if(r&&zt(r)&&m.tryGetMemberInModuleExportsAndProperties(p.name,r)===p){let o=mR(Sl(r.name))?null==(l=vA(r))?void 0:l.fileName:void 0,{moduleSpecifier:c}=(f||(f=enn.createImportSpecifierResolver(n,e,s,a))).getModuleSpecifierForBestExportInfo([{exportKind:0,moduleFileName:o,isFromPackageJson:!1,moduleSymbol:r,symbol:p,targetFlags:Lu(p,m).flags}],i,kv(O))||{};if(c){let e={kind:_(6),moduleSymbol:r,isDefaultExport:!1,symbolName:p.name,exportName:p.name,fileName:o,moduleSpecifier:c};K[t]=e}}else K[t]={kind:_(2)}}else a.includeCompletionsWithInsertText&&(u(t),d(t),H.push(t))}else u(t),d(t),H.push(t);function d(e){e.valueDeclaration&&32&Al(e.valueDeclaration)&&yW(e.valueDeclaration.parent)&&(W[Gb(e)]=cn.LocalDeclarationPriority)}function u(e){a.includeCompletionsWithInsertText&&(r&&LC(z,Gb(e))?K[H.length]={kind:_(8)}:o&&(K[H.length]={kind:16}))}function _(e){return o?16|e:e}}function ee(){return 1===(function(){let e=function(e){if(!e)return;let t=e.parent;switch(e.kind){case 18:if(w2(t))return t;break;case 26:case 27:case 79:if(168===t.kind&&w2(t.parent))return t.parent}}(L);if(!e)return 0;let t=(w9(e.parent)?e.parent:void 0)||e,n=function e(t,n){if(!t)return;if(y0(t)&&g2(t.parent))return n.getTypeArgumentConstraint(t);let r=e(t.parent,n);if(r)switch(t.kind){case 168:return n.getTypeOfPropertyOfContextualType(r,t.symbol.escapedName);case 190:case 184:case 189:return r}}(t,m);if(!n)return 0;let r=m.getTypeFromTypeNode(t),i=enW(n,m),a=enW(r,m),o=new Set;return a.forEach(e=>o.add(e.escapedName)),H=uE(H,d9(i,e=>!o.has(e.escapedName))),U=0,P=!0,1}()||function(){let t,n;let i=H.length,o=function(e){if(e){let{parent:t}=e;switch(e.kind){case 18:case 27:if(Rm(t)||Ru(t))return t;break;case 41:return wH(t)?_E(t.parent,Rm):void 0;case 79:return"async"===e.text&&NY(e.parent)?e.parent.parent:void 0}}}(L);if(!o)return 0;if(U=0,207===o.kind){let e=function(e,t){let n=t.getContextualType(e);if(n)return n;let r=xt(e.parent);return RR(r)&&63===r.operatorToken.kind&&e===r.left?t.getTypeAtLocation(r):gp(r)?t.getContextualType(r):void 0}(o,m);if(void 0===e)return 33554432&o.flags?2:(V=!0,0);let r=m.getContextualType(o,4),i=(r||e).getStringIndexType(),a=(r||e).getNumberIndexType();if(P=!!i||!!a,t=enH(e,r,o,m),n=o.properties,0===t.length&&!a)return V=!0,0}else{T.assert(203===o.kind),P=!1;let e=xZ(o.parent);if(!b9(e))return T.fail("Root declaration is not variable-like.");let r=gZ(e)||!!SW(e)||247===e.parent.parent.kind;if(r||166!==e.kind||(gp(e.parent)?r=!!m.getContextualType(e.parent):(171===e.parent.kind||175===e.parent.kind)&&(r=gp(e.parent.parent)&&!!m.getContextualType(e.parent.parent))),r){let e=m.getTypeAtLocation(o);if(!e)return 2;t=m.getPropertiesOfType(e).filter(t=>m.isPropertyAccessible(o,!1,!1,e,t)),n=o.elements}}if(t&&t.length>0){let c=function(e,t){if(0===t.length)return e;let n=new Set,r=new Set;for(let e of t){let t;if(!(299!==e.kind&&300!==e.kind&&205!==e.kind&&171!==e.kind&&174!==e.kind&&175!==e.kind&&301!==e.kind||ec(e))){if(N$(e))eo(e,n);else if(Rp(e)&&e.propertyName)79===e.propertyName.kind&&(t=e.propertyName.escapedText);else{let n=hp(e);t=n&&xB(n)?xV(n):void 0}void 0!==t&&r.add(t)}}let i=e.filter(e=>!r.has(e.escapedName));return el(n,i),i}(t,T.checkDefined(n));H=uE(H,c),es(),207===o.kind&&a.includeCompletionsWithObjectLiteralMethodSnippets&&a.includeCompletionsWithInsertText&&(function(e){var t;for(let n=e;n{if(!(8196&t.flags))return;let n=enP(t,Ct(r),void 0,0,!1);if(!n)return;let{name:i}=n,c=function(e,t,n,r,i,a,o,s){let l=o.includeCompletionsWithSnippetText||void 0,c=t,d=n.getSourceFile(),u=function(e,t,n,r,i,a){let o=e.getDeclarations();if(!(o&&o.length))return;let s=r.getTypeChecker(),l=o[0],c=qt(hp(l),!1),d=s.getWidenedType(s.getTypeOfSymbolAtLocation(e,t)),u=zy(n,a);switch(l.kind){case 168:case 169:case 170:case 171:{let e,n=1048576&d.flags&&d.types.length<10?s.getUnionType(d.types,2):d;if(1048576&n.flags){let e=d9(n.types,e=>s.getSignaturesOfType(e,0).length>0);if(1!==e.length)return;n=e[0]}if(1!==s.getSignaturesOfType(n,0).length)return;let o=s.typeToTypeNode(n,t,33554432|(0===u?268435456:0),enn.getNoopSymbolTrackerWithResolver({program:r,host:i}));if(!o||!wZ(o))return;if(a.includeCompletionsWithSnippetText){let t=nU.createEmptyStatement();e=nU.createBlock([t],!0),IJ(t,{kind:0,order:0})}else e=nU.createBlock([],!0);let l=o.parameters.map(e=>nU.createParameterDeclaration(void 0,e.dotDotDotToken,e.name,void 0,void 0,e.initializer));return nU.createMethodDeclaration(void 0,void 0,c,void 0,void 0,l,void 0,e)}default:return}}(e,n,d,r,i,o);if(!u)return;let _=enE({removeComments:!0,module:a.module,target:a.target,omitTrailingSemicolon:!1,newLine:q9(zQ(i,null==s?void 0:s.options))});c=s?_.printAndFormatSnippetList(80,nU.createNodeArray([u],!0),d,s):_.printSnippetList(80,nU.createNodeArray([u],!0),d);let p=U1({removeComments:!0,module:a.module,target:a.target,omitTrailingSemicolon:!0}),f=nU.createMethodSignature(void 0,"",u.questionToken,u.typeParameters,u.parameters,u.type);return{isSnippet:l,insertText:c,labelDetails:{detail:p.printNode(4,f,d)}}}(t,i,o,e,s,r,a,l);if(!c)return;let d={kind:128,...c};F|=32,K[H.length]=d,H.push(t)}))}return 1}()||(p?(P=!0,et(),1):0)||function(){if(!L)return 0;let e=18===L.kind||27===L.kind?_E(L.parent,LD):ze(L)?_E(L.parent.parent,LD):void 0;if(!e)return 0;ze(L)||(M=8);let{moduleSpecifier:t}=272===e.kind?e.parent.parent:e.parent;if(!t)return P=!0,272===e.kind?2:0;let n=m.getSymbolAtLocation(t);if(!n)return P=!0,2;U=3,P=!1;let r=m.getExportsAndPropertiesOfModule(n),i=new Set(e.elements.filter(e=>!ec(e)).map(e=>(e.propertyName||e.name).escapedText)),a=r.filter(e=>"default"!==e.escapedName&&!i.has(e.escapedName));return H=uE(H,a),a.length||(M=0),1}()||function(){var e;let t=L&&(18===L.kind||27===L.kind)?_E(L.parent,NL):void 0;if(!t)return 0;let n=m9(t,ps(N0,Nd));return U=5,P=!1,null==(e=n.locals)||e.forEach((e,t)=>{var r,i;H.push(e),(null==(i=null==(r=n.symbol)?void 0:r.exports)?void 0:i.has(t))&&(W[Gb(e)]=cn.OptionalMember)}),1}()||(!function(e){if(e){let t=e.parent;switch(e.kind){case 20:case 27:return wW(e.parent)?e.parent:void 0;default:if(er(e))return t.parent}}}(L)?0:(U=5,P=!0,M=4,1))||function(){let e=function(e,t,n,r){var i;switch(n.kind){case 354:return _E(n.parent,Lk);case 1:let a=_E(uJ(_T(n.parent,N0).statements),Lk);if(a&&!Wo(a,19,e))return a;break;case 79:if(ha(n)||wV(n.parent)&&n.parent.initializer===n)return;if(enz(n))return m9(n,Lk)}if(t){if(135===n.kind||wb(t)&&wV(t.parent)&&yW(n))return m9(t,yW);switch(t.kind){case 63:return;case 26:case 19:return enz(n)&&n.parent.name===n?n.parent.parent:_E(n,Lk);case 18:case 27:return _E(t.parent,Lk);default:if(Lk(n)){if(mt(e,t.getEnd()).line!==mt(e,r).line)return n;let a=yW(t.parent.parent)?enU:enB;return a(t.kind)||41===t.kind||wb(t)&&a(null!=(i=ha(t))?i:0)?t.parent.parent:void 0}return}}}(n,L,O,i);if(!e)return 0;if(U=3,P=!0,M=41===L.kind?0:yW(e)?2:3,!yW(e))return 1;let t=26===L.kind?L.parent.parent:L.parent,r=yK(t)?Al(t):0;if(79===L.kind&&!ec(L))switch(L.getText()){case"private":r|=8;break;case"static":r|=32;break;case"override":r|=16384}if(wK(t)&&(r|=32),!(8&r)){let t=uo(yW(e)&&16384&r?pd(xy(e)):xb(e),t=>{let n=m.getTypeAtLocation(t);return 32&r?(null==n?void 0:n.symbol)&&m.getPropertiesOfType(m.getTypeOfSymbolAtLocation(n.symbol,e)):n&&m.getPropertiesOfType(n)});dz(H=uE(H,function(e,t,n){let r=new Set;for(let e of t){if(169!==e.kind&&171!==e.kind&&174!==e.kind&&175!==e.kind||ec(e)||S6(e,8)||S5(e)!==!!(32&n))continue;let t=xG(e.name);t&&r.add(t)}return e.filter(e=>!r.has(e.escapedName)&&!!e.declarations&&!(8&Ld(e))&&!(e.valueDeclaration&&yk(e.valueDeclaration)))}(t,e.members,r)),(e,t)=>{let n=null==e?void 0:e.valueDeclaration;if(n&&yK(n)&&n.name&&wP(n.name)){let n={kind:512,symbolName:m.symbolToString(e)};K[t]=n}})}return 1}()||function(){let e=function(e){if(e){let t=e.parent;switch(e.kind){case 31:case 30:case 43:case 79:case 208:case 289:case 288:case 290:if(t&&(282===t.kind||283===t.kind)){if(31===e.kind){let r=WS(e.pos,n,void 0);if(!t.typeArguments||r&&43===r.kind)break}return t}if(288===t.kind)return t.parent.parent;break;case 10:if(t&&(288===t.kind||290===t.kind))return t.parent.parent;break;case 19:if(t&&291===t.kind&&t.parent&&288===t.parent.kind)return t.parent.parent.parent;if(t&&290===t.kind)return t.parent.parent}}}(L),t=e&&m.getContextualType(e.attributes);if(!t)return 0;let r=e&&m.getContextualType(e.attributes,4);return H=uE(H,function(e,t){let n=new Set,r=new Set;for(let e of t)!ec(e)&&(288===e.kind?n.add(e.name.escapedText):NH(e)&&eo(e,r));let i=e.filter(e=>!n.has(e.escapedName));return el(r,i),i}(enH(t,r,e.attributes,m),e.attributes.properties)),es(),U=3,P=!1,1}()||(function(){M=!function(e){if(e){let t;let n=m9(e.parent,e=>yW(e)?"quit":!!yB(e)&&t===e.body||(t=e,!1));return n&&n}}(L)?1:5,U=1,P=en(),A!==L&&T.assert(!!A,"Expected 'contextToken' to be defined when different from 'previousToken'.");let e=A!==L?A.getStart():i,t=function(e,t,n){let r=e;for(;r&&!Wn(r,t,n);)r=r.parent;return r}(L,e,n)||n;E=function(e){switch(e.kind){case 308:case 225:case 291:case 238:return!0;default:return gF(e)}}(t);let r=A&&!kv(A);H=uE(H,m.getSymbolsInScope(t,(q?0:111551)|2887656)),T.assertEachIsDefined(H,"getSymbolsInScope() should all be defined");for(let e=0;ee.getSourceFile()===n)||(W[Gb(t)]=cn.GlobalsOrKeywords),r&&!(111551&t.flags)){let n=t.declarations&&d0(t.declarations,yE);if(n){let t={kind:64,declaration:n};K[e]=t}}}if(a.includeCompletionsWithInsertText&&308!==t.kind){let e=m.tryGetThisTypeAt(t,!1,yW(t.parent)?t:void 0);if(e&&!function(e,t,n){let r=n.resolveName("self",void 0,111551,!1);if(r&&n.getTypeOfSymbolAtLocation(r,t)===e)return!0;let i=n.resolveName("global",void 0,111551,!1);if(i&&n.getTypeOfSymbolAtLocation(i,t)===e)return!0;let a=n.resolveName("globalThis",void 0,111551,!1);return!!a&&n.getTypeOfSymbolAtLocation(a,t)===e}(e,n,m))for(let t of enW(e,m))K[H.length]={kind:1},H.push(t),W[Gb(t)]=cn.SuggestedClassMembers}et(),q&&(M=L&&gf(L.parent)?6:7)}(),1))}function et(){var t,r;if(!(p||!V&&a.includeCompletionsForModuleExports&&(n.externalModuleIndicator||n.commonJsModuleIndicator||zc(e.getCompilerOptions())||zs(e)))||(T.assert(!(null==o?void 0:o.data),"Should not run 'collectAutoImports' when faster path is available via `data`"),o&&!o.source))return;F|=1;let l=A===L&&p?"":A&&wb(A)?A.text.toLowerCase():"",d=null==(t=s.getModuleSpecifierCache)?void 0:t.call(s),u=Jd(n,s,e,a,c),_=null==(r=s.getPackageJsonAutoImportProvider)?void 0:r.call(s),m=o?void 0:qj(n,a,s);function h(t){let r=_E(t.moduleSymbol.valueDeclaration,N0);if(!r){let r=Sl(t.moduleSymbol.name);return(!Kp.nodeCoreModules.has(r)||pn(r,"node:")===q7(n,e))&&(!m||m.allowsImportingAmbientModule(t.moduleSymbol,J(t.isFromPackageJson)))}return Js(t.isFromPackageJson?_:e,n,r,a,m,J(t.isFromPackageJson),d)}enc("collectAutoImports",s,f||(f=enn.createImportSpecifierResolver(n,e,s,a)),e,i,a,!!p,kv(O),e=>{u.search(n.path,w,(e,t)=>{if(!mA(e,Ct(s.getCompilationSettings()))||!o&&xk(e)||!q&&!p&&!(111551&t)||q&&!(790504&t))return!1;let n=e.charCodeAt(0);return(!w||!(n<65)&&!(n>90))&&(!!o||enZ(e,l))},(t,n,r,i)=>{var a,s;let l;if(o&&!uv(t,e=>o.source===Sl(e.moduleSymbol.name))||!(t=d9(t,h)).length)return;let c=e.tryResolve(t,r)||{};if("failed"===c)return;let d=t[0],u;"skipped"!==c&&({exportInfo:d=t[0],moduleSpecifier:u}=c);let _=1===d.exportKind;a=_&&AU(d.symbol)||d.symbol,s={kind:u?32:4,moduleSpecifier:u,symbolName:n,exportMapKey:i,exportName:2===d.exportKind?"export=":d.symbol.name,fileName:d.moduleFileName,isDefaultExport:_,moduleSymbol:d.moduleSymbol,isFromPackageJson:d.isFromPackageJson},W[l=Gb(a)]!==cn.GlobalsOrKeywords&&(K[H.length]=s,W[l]=p?cn.LocationPriority:cn.AutoImportSuggestions,H.push(a))}),j=e.skippedAny(),F|=e.resolvedAny()?8:0,F|=e.resolvedBeyondLimit()?16:0})}function en(){if(L){let e=L.parent.kind,t=enj(L);switch(t){case 27:return 210===e||173===e||211===e||206===e||223===e||181===e||207===e;case 20:return 210===e||173===e||211===e||214===e||193===e;case 22:return 206===e||178===e||164===e;case 142:case 143:case 100:return!0;case 24:return 264===e;case 18:return 260===e||207===e;case 63:return 257===e||223===e;case 15:return 225===e;case 16:return 236===e;case 132:return 171===e||300===e;case 41:return 171===e}if(enU(t))return!0}return!1}function er(e){return!!e.parent&&wG(e.parent)&&wW(e.parent.parent)&&(yR(e.kind)||xs(e))}function ei(e,t){return 63!==e.kind&&(26===e.kind||!Le(e.end,t,n))}function ea(e){return yj(e)&&173!==e}function eo(e,t){let n=e.expression,r=m.getSymbolAtLocation(n),i=r&&m.getTypeOfSymbolAtLocation(r,n),a=i&&i.properties;a&&a.forEach(e=>{t.add(e.name)})}function es(){H.forEach(e=>{var t;if(16777216&e.flags){let n=Gb(e);W[n]=null!=(t=W[n])?t:cn.OptionalMember}})}function el(e,t){if(0!==e.size)for(let n of t)e.has(n.name)&&(W[Gb(n)]=cn.MemberDeclaredBySpreadAssignment)}function ec(e){return e.getStart(n)<=i&&i<=e.getEnd()}}function enO(e,t){let n=WS(e,t);return n&&e<=n.end&&(h1(n)||xS(n.kind))?{contextToken:WS(n.getFullStart(),t,void 0),previousToken:n}:{contextToken:n,previousToken:n}}function enM(e,t,n,r){let i,a,o=t.isPackageJsonImport?r.getPackageJsonAutoImportProvider():n,s=o.getTypeChecker(),l=t.ambientModuleName?s.tryFindAmbientModule(t.ambientModuleName):t.fileName?s.getMergedSymbol(T.checkDefined(o.getSourceFile(t.fileName)).symbol):void 0;if(!l)return;let c="export="===t.exportName?s.resolveExternalModuleSymbol(l):s.tryGetMemberInModuleExportsAndProperties(t.exportName,l);if(c)return{symbol:c="default"===t.exportName&&AU(c)||c,origin:(i="default"===t.exportName,a=!!t.isPackageJsonImport,en_(t)?{kind:32,exportName:t.exportName,exportMapKey:t.exportMapKey,moduleSpecifier:t.moduleSpecifier,symbolName:e,fileName:t.fileName,moduleSymbol:l,isDefaultExport:i,isFromPackageJson:a}:{kind:4,exportName:t.exportName,exportMapKey:t.exportMapKey,symbolName:e,fileName:t.fileName,moduleSymbol:l,isDefaultExport:i,isFromPackageJson:a})}}function enP(e,t,n,r,i){if(n&&256&n.kind)return;let a=eni(n)||ena(n)||enl(n)?n.symbolName:e.name;if(void 0===a||1536&e.flags&&Te(a.charCodeAt(0))||xK(e))return;let o={name:a,needsConvertPropertyAccess:!1};if(mA(a,t,i?1:0)||e.valueDeclaration&&yk(e.valueDeclaration))return o;switch(r){case 3:return enl(n)?{name:n.symbolName,needsConvertPropertyAccess:!1}:void 0;case 0:return{name:JSON.stringify(a),needsConvertPropertyAccess:!1};case 2:case 1:return 32===a.charCodeAt(0)?void 0:{name:a,needsConvertPropertyAccess:!0};case 5:case 4:return o;default:T.assertNever(r)}}function enF(e,t){if(!t)return enG(e);let n=e+8+1;return co[n]||(co[n]=enG(e).filter(e=>!function(e){switch(e){case 126:case 131:case 160:case 134:case 136:case 92:case 159:case 117:case 138:case 118:case 140:case 141:case 142:case 143:case 144:case 148:case 149:case 161:case 121:case 122:case 123:case 146:case 152:case 153:case 154:case 156:case 157:return!0;default:return!1}}(f4(e.name))))}function enG(e){return co[e]||(co[e]=cs().filter(t=>{let n=f4(t.name);switch(e){case 0:return!1;case 1:return enV(n)||136===n||142===n||154===n||143===n||126===n||W7(n)&&155!==n;case 5:return enV(n);case 2:return enU(n);case 3:return enB(n);case 4:return yR(n);case 6:return W7(n)||85===n;case 7:return W7(n);case 8:return 154===n;default:return T.assertNever(e)}}))}function enB(e){return 146===e}function enU(e){switch(e){case 126:case 127:case 135:case 137:case 151:case 132:case 136:case 161:return!0;default:return yN(e)}}function enV(e){return 132===e||133===e||128===e||150===e||154===e||!xA(e)&&!enU(e)}function enj(e){var t;return wb(e)?null!=(t=ha(e))?t:0:e.kind}function enH(e,t,n,r){let i=t&&t!==e,a=i&&!(3&t.flags)?r.getUnionType([e,t]):e,o=a.isUnion()?r.getAllPossiblePropertiesOfTypes(d9(a.types,e=>!(134348796&e.flags||r.isArrayLikeType(e)||r.isTypeInvalidDueToUnionDiscriminant(e,n)||r.typeHasCallOrConstructSignatures(e)||e.isClass()&&enK(e.getApparentProperties())))):a.getApparentProperties();return a.isClass()&&enK(o)?[]:i?d9(o,function(e){return!dW(e.declarations)||uv(e.declarations,e=>e.parent!==n)}):o}function enK(e){return uv(e,e=>!!(24&Ld(e)))}function enW(e,t){return e.isUnion()?T.checkEachDefined(t.getAllPossiblePropertiesOfTypes(e.types),"getAllPossiblePropertiesOfTypes() should all be defined"):T.checkEachDefined(e.getApparentProperties(),"getApparentProperties() should all be defined")}function enz(e){return e.parent&&yQ(e.parent)&&Lk(e.parent.parent)}function enq(e){var t,n,r;let i;let a=!1,o=function(){let t=e.parent;if(Nf(t))return i=154===e.kind?void 0:154,en$(t.moduleReference)?t:void 0;if(enX(t,e)&&enY(t.parent))return t;if(NT(t)||Nb(t)){if(t.parent.isTypeOnly||18!==e.kind&&100!==e.kind&&27!==e.kind||(i=154),enY(t)){if(19!==e.kind&&79!==e.kind)return t.parent.parent;a=!0,i=158}return}return wD(e)&&N0(t)?(i=154,e):wD(e)&&Nm(t)?(i=154,en$(t.moduleSpecifier)?t:void 0):void 0}();return{isKeywordOnlyCompletion:a,keywordCompletion:i,isNewIdentifierLocation:!!(o||154===i),isTopLevelTypeOnly:!!(null==(n=null==(t=_E(o,Nm))?void 0:t.importClause)?void 0:n.isTypeOnly)||!!(null==(r=_E(o,Nf))?void 0:r.isTypeOnly),couldBeTypeOnlyImportSpecifier:!!o&&enX(o,e),replacementSpan:function(e){var t,n,r;if(!e)return;let i=null!=(t=m9(e,ps(Nm,Nf)))?t:e,a=i.getSourceFile();if(A2(i,a))return W1(i,a);T.assert(100!==i.kind&&273!==i.kind);let o=269===i.kind?null!=(r=enJ(null==(n=i.importClause)?void 0:n.namedBindings))?r:i.moduleSpecifier:i.moduleReference,s={pos:i.getFirstToken().getStart(),end:o.pos};if(A2(s,a))return W8(s)}(o)}}function enJ(e){var t;return d0(null==(t=_E(e,NT))?void 0:t.elements,t=>{var n;return!t.propertyName&&xk(t.name.text)&&(null==(n=WS(t.name.pos,e.getSourceFile(),e))?void 0:n.kind)!==27})}function enX(e,t){return Nx(e)&&(e.isTypeOnly||t===e.name&&ze(t))}function enY(e){if(!en$(e.parent.parent.moduleSpecifier)||e.parent.name)return!1;if(NT(e)){let t=enJ(e);return(t?e.elements.indexOf(t):e.elements.length)<2}return!0}function en$(e){var t;return!!vN(e)||!(null==(t=_E(ND(e)?e.expression:e,g8))?void 0:t.text)}function enQ(e,t,n=new Map){return r(e)||r(Lu(e.exportSymbol||e,t));function r(e){return!!(788968&e.flags)||t.isUnknownSymbol(e)||!!(1536&e.flags)&&LC(n,Gb(e))&&t.getExportsOfModule(e).some(e=>enQ(e,t,n))}}function enZ(e,t){let n;if(0===t.length)return!0;let r=!1,i=0,a=e.length;for(let o=0;o"z"+e,ObjectLiteralProperty:(e,t)=>`${e}\0${t}\0`,SortBelow:e=>e+"1"},(e=cr||{}).ThisProperty="ThisProperty/",e.ClassMemberSnippet="ClassMemberSnippet/",e.TypeOnlyAlias="TypeOnlyAlias/",e.ObjectLiteralMethodSnippet="ObjectLiteralMethodSnippet/",e.SwitchCases="SwitchCases/",cr=e,(t=ci||{})[t.ThisType=1]="ThisType",t[t.SymbolMember=2]="SymbolMember",t[t.Export=4]="Export",t[t.Promise=8]="Promise",t[t.Nullable=16]="Nullable",t[t.ResolvedExport=32]="ResolvedExport",t[t.TypeOnlyAlias=64]="TypeOnlyAlias",t[t.ObjectLiteralMethod=128]="ObjectLiteralMethod",t[t.Ignore=256]="Ignore",t[t.ComputedPropertyName=512]="ComputedPropertyName",t[t.SymbolMemberNoExport=2]="SymbolMemberNoExport",t[t.SymbolMemberExport=6]="SymbolMemberExport",ci=t,(n=ca||{})[n.ObjectPropertyDeclaration=0]="ObjectPropertyDeclaration",n[n.Global=1]="Global",n[n.PropertyAccess=2]="PropertyAccess",n[n.MemberLike=3]="MemberLike",n[n.String=4]="String",n[n.None=5]="None",ca=n,co=[],cs=_R(()=>{let e=[];for(let t=81;t<=162;t++)e.push({name:tF[t],kind:"keyword",kindModifiers:"",sortText:cn.GlobalsOrKeywords});return e})}});function en1(){let e=new Map;return{add:function(t){let n=e.get(t.name);(!n||cl[n.kind]t>=e.pos&&t<=e.end);if(!o)return;let s=e.text.slice(o.pos,t),l=cc.exec(s);if(!l)return;let[,c,d,u]=l,_=fy(e.path),p="path"===d?era(u,_,eri(n,0,e),r,!0,e.path):"types"===d?er_(r,n,_,erc(u),eri(n,1,e)):T.fail();return ern(u,o.pos+c.length,u9(p.values()))}(e,t,r,i);return n&&en8(n)}if(WC(e,t,n)){if(!n||!g8(n))return;return function(e,t,n,r,i,a,o,s,l,c){if(void 0===e)return;let d=W2(t);switch(e.kind){case 0:return en8(e.paths);case 1:{let u=[];return enA(e.symbols,u,t,t,n,l,n,r,i,99,a,4,s,o,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,c),{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:e.hasIndexSignature,optionalReplacementSpan:d,entries:u}}case 2:{let n=e.types.map(e=>({name:e.value,kindModifiers:"",kind:"string",sortText:cn.LocationPriority,replacementSpan:W0(t)}));return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:e.isNewIdentifier,optionalReplacementSpan:d,entries:n}}default:return T.assertNever(e)}}(en3(e,n,t,a.getTypeChecker(),r,i,s),n,e,i,a,o,r,s,t,l)}}function en4(e,t,n,r,i,a,o,s,l){if(!r||!g8(r))return;let c=en3(t,r,n,i,a,o,l);return c&&function(e,t,n,r,i,a){switch(n.kind){case 0:{let t=d0(n.paths,t=>t.name===e);return t&&enw(e,en6(t.extension),t.kind,[zW(e)])}case 1:{let o=d0(n.symbols,t=>t.name===e);return o&&enI(o,o.name,i,r,t,a)}case 2:return d0(n.types,t=>t.value===e)?enw(e,"","string",[zW(e)]):void 0;default:return T.assertNever(n)}}(e,r,c,t,i,s)}function en8(e){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!0,entries:e.map(({name:e,kind:t,span:n,extension:r})=>({name:e,kind:t,kindModifiers:en6(r),sortText:cn.LocationPriority,replacementSpan:n}))}}function en6(e){switch(e){case".d.ts":return".d.ts";case".js":return".js";case".json":return".json";case".jsx":return".jsx";case".ts":return".ts";case".tsx":return".tsx";case".d.mts":return".d.mts";case".mjs":return".mjs";case".mts":return".mts";case".d.cts":return".d.cts";case".cjs":return".cjs";case".cts":return".cts";case".tsbuildinfo":return T.fail("Extension .tsbuildinfo is unsupported.");case void 0:return"";default:return T.assertNever(e)}}function en3(e,t,n,r,i,a,o){let s=en5(t.parent);switch(s.kind){case 198:{let l=en5(s.parent);switch(l.kind){case 230:case 180:{let e=m9(s,e=>e.parent===l);if(e)return{kind:2,types:en9(r.getTypeArgumentConstraint(e)),isNewIdentifier:!1};return}case 196:let{indexType:c,objectType:d}=l;if(!K6(c,n))return;return en7(r.getTypeFromTypeNode(d));case 202:return{kind:0,paths:err(e,t,i,a,r,o)};case 189:{if(!wQ(l.parent))return;let e=uu(l.types,e=>e!==s&&Rs(e)&&wr(e.literal)?e.literal.text:void 0);return{kind:2,types:en9(r.getTypeArgumentConstraint(l)).filter(t=>!d6(e,t.value)),isNewIdentifier:!1}}default:return}}case 299:if(Rm(s.parent)&&s.name===t)return function(e,t){let n=e.getContextualType(t);if(n)return{kind:1,symbols:enH(n,e.getContextualType(t,4),t,e),hasIndexSignature:qx(n)}}(r,s.parent);return d()||d(0);case 209:{let{expression:e,argumentExpression:n}=s;if(t===xi(n))return en7(r.getTypeAtLocation(e));return}case 210:case 211:case 288:if(!(Rg(t.parent)&&uK(t.parent.arguments)===t&&wb(t.parent.expression)&&"require"===t.parent.expression.escapedText)&&!bq(s)){let i=ess.getArgumentInfoForCompletions(288===s.kind?s.parent:t,n,e);return i&&function(e,t,n,r){let i=!1,a=new Map,o=[],s=gK(e)?T.checkDefined(m9(t.parent,NV)):t;r.getResolvedSignatureForStringLiteralCompletions(e,s,o);let l=uo(o,t=>{if(!GC(t)&&n.argumentCount>t.parameters.length)return;let o=t.getTypeParameterAtPosition(n.argumentIndex);if(gK(e)){let e=r.getTypeOfPropertyOfType(o,s.name.text);e&&(o=e)}return i=i||!!(4&o.flags),en9(o,a)});return dW(l)?{kind:2,types:l,isNewIdentifier:i}:void 0}(i.invocation,t,i,r)||d()}case 269:case 275:case 280:return{kind:0,paths:err(e,t,i,a,r,o)};case 292:let l=Ji(r,s.parent.clauses),c=d();if(!c)return;return{kind:2,types:c.types.filter(e=>!l.hasValue(e.value)),isNewIdentifier:!1};default:return d()}function d(e=4){let n=en9(qv(t,r,e));if(n.length)return{kind:2,types:n,isNewIdentifier:!1}}}function en5(e){switch(e.kind){case 193:return xe(e);case 214:return xt(e);default:return e}}function en7(e){return e&&{kind:1,symbols:d9(e.getApparentProperties(),e=>!(e.valueDeclaration&&yk(e.valueDeclaration))),hasIndexSignature:qx(e)}}function en9(e,t=new Map){return e?(e=za(e)).isUnion()?uo(e.types,e=>en9(e,t)):e.isStringLiteral()&&!(1024&e.flags)&&LC(t,e.value)?[e]:o:o}function ere(e,t,n){return{name:e,kind:t,extension:n}}function ert(e){return ere(e,"directory",void 0)}function ern(e,t,n){let r,i,a;let o=(i=-1!==(r=Math.max(e.lastIndexOf(tb),e.lastIndexOf(tE)))?r+1:0,0==(a=e.length-i)||mA(e.substr(i,a),99)?void 0:mz(t+i,a)),s=0===e.length?void 0:mz(t,e.length);return n.map(({name:e,kind:t,extension:n})=>-1!==Math.max(e.indexOf(tb),e.indexOf(tE))?{name:e,kind:t,extension:n,span:s}:{name:e,kind:t,extension:n,span:o})}function err(e,t,n,r,i,a){var s,l;let c,d,u,_,p,f,m,h;return ern(t.text,t.getStart(e)+1,(c=fx(t.text),d=g8(t)?VI(e,t):void 0,_=fy(u=e.path),p=eri(n,1,e,i,a,d),function(e){if(e&&e.length>=2&&46===e.charCodeAt(0)){let t=e.length>=3&&46===e.charCodeAt(1)?2:1,n=e.charCodeAt(t);return 47===n||92===n}return!1}(c)||!n.baseUrl&&(fa(c)||fi(c))?n.rootDirs?(s=n.rootDirs,m=n.project||r.getCurrentDirectory(),h=!(r.useCaseSensitiveFileNames&&r.useCaseSensitiveFileNames()),uo((f=dJ(l=(l=s).map(e=>fI(fa(e)?e:fA(m,e))),e=>fU(e,_,m,h)?_.substr(e.length):void 0),uS([...l.map(e=>fA(e,f)),_],_G,_W)),e=>u9(era(c,e,p,r,!0,u).values()))):u9(era(c,_,p,r,!1,u).values()):function(e,t,n,r,i,a,s){let{baseUrl:l,paths:c}=r,d=en1(),u=Ci(r);if(l){let t=fI(fA(r.project||i.getCurrentDirectory(),l));era(e,t,a,i,!1,void 0,d),c&&ers(d,e,t,a,i,c)}let _=erc(e);for(let t of function(e,t,n){let r=n.getAmbientModules().map(e=>Sl(e.name)).filter(t=>pn(t,e)&&0>t.indexOf("*"));if(void 0!==t){let e=fD(t);return r.map(t=>pr(t,e))}return r}(e,_,s))d.add(ere(t,"external module name",void 0));if(er_(i,r,t,_,a,d),z_(u)){let s=!1;if(void 0===_)for(let e of function(e,t){if(!e.readFile||!e.fileExists)return o;let n=[];for(let r of qG(t,e)){let t=Az(r,e);for(let e of cd){let r=t[e];if(r)for(let e in r)u4(r,e)&&!pn(e,"@types/")&&n.push(e)}}return n}(i,t)){let t=ere(e,"external module name",void 0);d.has(t.name)||(s=!0,d.add(t))}if(!s){let o=t=>{let n=fA(t,"node_modules");qM(i,n)&&era(e,n,a,i,!1,void 0,d)};if(_&&Cm(r)){let t=o;o=r=>{let o=fE(e);o.shift();let s=o.shift();if(!s)return t(r);if(pn(s,"@")){let e=o.shift();if(!e)return t(r);s=fA(s,e)}let l=fA(r,"node_modules",s),c=fA(l,"package.json");if(qO(i,c)){let t=Az(c,i).exports;if(t){if("object"!=typeof t||null===t)return;let r=u6(t),s=o.join("/")+(o.length&&fp(e)?"/":""),c=99===n?["node","import","types"]:["node","require","types"];erl(d,s,l,a,i,r,e=>pd(function e(t,n){if("string"==typeof t)return t;if(t&&"object"==typeof t&&!_y(t)){for(let r in t)if("default"===r||n.indexOf(r)>-1||Fk(n,r))return e(t[r],n)}}(t[e],c)),FA);return}}return t(r)}}fq(t,o)}}return u9(d.values())}(c,_,d,n,r,p,i)))}function eri(e,t,n,r,i,a){let o,s;return{extensionsToSearch:ua((o=r?uu(r.getAmbientModules(),e=>{let t=e.name.slice(1,-1);if(!(!t.startsWith("*.")||t.includes("/")))return t.slice(1)}):[],s=[...CJ(e),o],z_(Ci(e))?CX(e,s):s)),referenceKind:t,importingSourceFile:n,endingPreference:null==i?void 0:i.importModuleSpecifierEnding,resolutionMode:a}}function era(e,t,n,r,i,a,o=en1()){var s;void 0===e&&(e=""),fp(e=fx(e))||(e=fy(e)),""===e&&(e="."+tb);let l=fL(t,e=fD(e)),c=fp(l)?l:fy(l);if(!i){let e=qB(c,r);if(e){let t=Az(e,r).typesVersions;if("object"==typeof t){let i=null==(s=PB(t))?void 0:s.paths;if(i){let t=fy(e);if(ers(o,l.slice(fD(t).length),t,n,r,i))return o}}}}let d=!(r.useCaseSensitiveFileNames&&r.useCaseSensitiveFileNames());if(!qM(r,c))return o;let u=qD(r,c,n.extensionsToSearch,void 0,["./*"]);if(u)for(let e of u){if(e=fI(e),a&&0===fB(e,a,t,d))continue;let{name:i,extension:s}=ero(fg(e),r.getCompilationSettings(),n);o.add(ere(i,"script",s))}let _=qN(r,c);if(_)for(let e of _){let t=fg(fI(e));"@types"!==t&&o.add(ert(t))}return o}function ero(e,t,n){let r=Gh.tryGetRealFileNameForNonJsDeclarationFileName(e);if(r)return{name:r,extension:ki(r)};if(0===n.referenceKind)return{name:e,extension:ki(e)};let i=CZ(n.endingPreference,n.resolutionMode,t,n.importingSourceFile);if(3===i){if(f_(e,nk))return{name:e,extension:ki(e)};let n=Gh.tryGetJSExtensionForFile(e,t);return n?{name:C3(e,n),extension:n}:{name:e,extension:ki(e)}}if((0===i||1===i)&&f_(e,[".js",".jsx",".ts",".tsx",".d.ts"]))return{name:C4(e),extension:ki(e)};let a=Gh.tryGetJSExtensionForFile(e,t);return a?{name:C3(e,a),extension:a}:{name:e,extension:ki(e)}}function ers(e,t,n,r,i,a){return erl(e,t,n,r,i,u6(a),e=>a[e],(e,t)=>{let n=C5(e),r=C5(t),i="object"==typeof n?n.prefix.length:e.length;return _U("object"==typeof r?r.prefix.length:t.length,i)})}function erl(e,t,n,r,i,a,s,l){let c,d=[];for(let e of a){if("."===e)continue;let a=e.replace(/^\.\//,""),u=s(e);if(u){let s=C5(a);if(!s)continue;let _="object"==typeof s&&pa(s,t);_&&(void 0===c||-1===l(e,c))&&(c=e,d=d.filter(e=>!e.matchedPattern)),("string"==typeof s||void 0===c||1!==l(e,c))&&d.push({matchedPattern:_,results:(function(e,t,n,r,i,a){if(!_Z(e,"*"))return _2(e,"*")?o:c(e,"script");let s=e.slice(0,e.length-1),l=pi(n,s);if(void 0===l)return"/"===e[e.length-2]?c(s,"directory"):uo(t,e=>{var t;return null==(t=erd("",r,e,i,a))?void 0:t.map(({name:e,...t})=>({name:s+e,...t}))});return uo(t,e=>erd(l,r,e,i,a));function c(e,t){return pn(e,n)?[{name:fN(e),kind:t,extension:void 0}]:o}})(a,u,t,n,r,i).map(({name:e,kind:t,extension:n})=>ere(e,t,n))})}}return d.forEach(t=>t.results.forEach(t=>e.add(t))),void 0!==c}function erc(e){return _2(e,tb)?fp(e)?e:fy(e):void 0}function erd(e,t,n,r,i){if(!i.readDirectory)return;let a=C5(n);if(void 0===a||_v(a))return;let s=fL(a.prefix),l=fp(a.prefix)?s:fy(s),c=fp(a.prefix)?"":fg(s),d=_2(e,tb),u=d?fp(e)?e:fy(e):void 0,_=d?fA(l,c+u):l,p=fI(a.suffix),f=fI(fA(t,_)),m=d?f:fD(f)+c,h=p?"**/*"+p:"./*";return[...uu(qD(i,f,r.extensionsToSearch,void 0,[h]),e=>{var t;let n;let a=void 0===(n=pn(t=fI(e),m)&&_Z(t,p)?t.slice(m.length,t.length-p.length):void 0)?void 0:eru(n);if(a){if(_2(a,tb))return ert(fE(eru(a))[1]);let{name:e,extension:t}=ero(a,i.getCompilationSettings(),r);return ere(e,"script",t)}}),...p?o:uu(qN(i,f),e=>"node_modules"===e?void 0:ert(e))]}function eru(e){return e[0]===tb?e.slice(1):e}function er_(e,t,n,r,i,a=en1()){let s=new Map;for(let n of qP(()=>PU(t,e))||o)l(n);for(let t of qG(n,e))l(fA(fy(t),"node_modules/@types"));return a;function l(n){if(qM(e,n))for(let o of qN(e,n)){let l=FP(o);if(!t.types||d6(t.types,l)){if(void 0===r)s.has(l)||(a.add(ere(l,"external module name",void 0)),s.set(l,!0));else{let t=fA(n,o),s=CO(r,l,Sh(e));void 0!==s&&era(s,t,i,e,!1,void 0,a)}}}}}var erp=dj({"src/services/stringCompletions.ts"(){ecu(),ery(),cl={directory:0,script:1,"external module name":2},cc=/^(\/\/\/\s*en4,getStringLiteralCompletions:()=>en2});var erm=dj({"src/services/_namespaces/ts.Completions.StringCompletions.ts"(){erp()}}),erh={};dH(erh,{CompletionKind:()=>ca,CompletionSource:()=>cr,SortText:()=>cn,StringCompletions:()=>erf,SymbolOriginInfoKind:()=>ci,createCompletionDetails:()=>enw,createCompletionDetailsForSymbol:()=>enI,getCompletionEntriesFromSymbols:()=>enA,getCompletionEntryDetails:()=>enC,getCompletionEntrySymbol:()=>enR,getCompletionsAtPosition:()=>end,getPropertiesForObjectExpression:()=>enH,moduleSpecifierResolutionCacheAttemptLimit:()=>ct,moduleSpecifierResolutionLimit:()=>ce});var ery=dj({"src/services/_namespaces/ts.Completions.ts"(){en0(),erm()}});function erg(e,t,n,r){let i=function(e,t,n){let r=new Map;for(let i of e)n&&n.throwIfCancellationRequested(),erE(i,(e,n)=>{let i=t.getSymbolAtLocation(n);if(i){let t=Gb(i).toString(),n=r.get(t);n||r.set(t,n=[]),n.push(e)}});return r}(e,n,r);return(a,o,s)=>{let{directImports:l,indirectUsers:c}=function(e,t,n,{exportingModuleSymbol:r,exportKind:i},a,o){let s=zn(),l=zn(),c=[],d=!!r.globalExports,u=d?void 0:[];return function e(t){let n=m(t);if(n){for(let t of n)if(s(t))switch(o&&o.throwIfCancellationRequested(),t.kind){case 210:if(bq(t)){f(m9(t,erA)||t.getSourceFile(),!!_(t,!0));break}if(!d){let e=t.parent;if(2===i&&257===e.kind){let{name:t}=e;79===t.kind&&c.push(t)}}break;case 79:break;case 268:p(t,t.name,S3(t,1),!1);break;case 269:c.push(t);let n=t.importClause&&t.importClause.namedBindings;n&&271===n.kind?p(t,n.name,!1,!0):!d&&TM(t)&&f(erS(t));break;case 275:t.exportClause?277===t.exportClause.kind?f(erS(t),!0):c.push(t):e(a.getMergedSymbol(erS(t).symbol));break;case 202:!d&&t.isTypeOf&&!t.qualifier&&_(t)&&f(t.getSourceFile(),!0),c.push(t);break;default:T.failBadSyntaxKind(t,"Unexpected import kind.")}}}(r),{directImports:c,indirectUsers:function(){if(d)return e;if(r.declarations)for(let e of r.declarations)ba(e)&&t.has(e.getSourceFile().fileName)&&f(e);return u.map(vS)}()};function _(e,t=!1){return m9(e,e=>t&&erA(e)?"quit":Oj(e)&&uv(e.modifiers,wT))}function p(e,t,n,r){if(2===i)r||c.push(e);else if(!d){let r,i=erS(e);T.assert(308===i.kind||264===i.kind),n||(r=a.getSymbolAtLocation(t),erb(i,e=>{if(!NA(e))return;let{exportClause:t,moduleSpecifier:n}=e;return!n&&t&&NL(t)&&t.elements.some(e=>a.getExportSpecifierLocalTargetSymbol(e)===r)}))?f(i,!0):f(i)}}function f(e,t=!1){if(T.assert(!d),!l(e)||(u.push(e),!t))return;let n=a.getMergedSymbol(e.symbol);if(!n)return;T.assert(!!(1536&n.flags));let r=m(n);if(r)for(let e of r)Rl(e)||f(erS(e),!0)}function m(e){return n.get(Gb(e).toString())}}(e,t,i,o,n,r);return{indirectUsers:c,...function(e,t,n,r,i){let a=[],o=[];function s(e,t){a.push([e,t])}if(e)for(let a of e)!function(e){if(268===e.kind){erL(e)&&l(e.name);return}if(79===e.kind){l(e);return}if(202===e.kind){if(e.qualifier){let n=Aw(e.qualifier);n.escapedText===ho(t)&&o.push(n)}else 2===n&&o.push(e.argument.literal);return}if(10!==e.moduleSpecifier.kind)return;if(275===e.kind){e.exportClause&&NL(e.exportClause)&&c(e.exportClause);return}let{name:a,namedBindings:d}=e.importClause||{name:void 0,namedBindings:void 0};if(d)switch(d.kind){case 271:l(d.name);break;case 272:(0===n||1===n)&&c(d);break;default:T.assertNever(d)}if(a&&(1===n||2===n)&&(!i||a.escapedText===zb(t))){let e=r.getSymbolAtLocation(a);s(a,e)}}(a);return{importSearches:a,singleReferences:o};function l(e){2===n&&(!i||d(e.escapedText))&&s(e,r.getSymbolAtLocation(e))}function c(e){if(e)for(let n of e.elements){let{name:e,propertyName:a}=n;if(d((a||e).escapedText)){if(a)o.push(a),i&&e.escapedText!==t.escapedName||s(e,r.getSymbolAtLocation(e));else{let t=278===n.kind&&n.propertyName?r.getExportSpecifierLocalTargetSymbol(n):r.getSymbolAtLocation(e);s(e,t)}}}}function d(e){return e===t.escapedName||0!==n&&"default"===e}}(l,a,o.exportKind,n,s)}}}function erv(e,t,n){var r;let i=[],a=e.getTypeChecker();for(let o of t){let t=n.valueDeclaration;if((null==t?void 0:t.kind)===308){for(let n of o.referencedFiles)e.getSourceFileFromReference(o,n)===t&&i.push({kind:"reference",referencingFile:o,ref:n});for(let n of o.typeReferenceDirectives){let a=null==(r=e.getResolvedTypeReferenceDirectives().get(n.fileName,n.resolutionMode||o.impliedNodeFormat))?void 0:r.resolvedTypeReferenceDirective;void 0!==a&&a.resolvedFileName===t.fileName&&i.push({kind:"reference",referencingFile:o,ref:n})}}erE(o,(e,t)=>{a.getSymbolAtLocation(t)===n&&i.push({kind:"import",literal:t})})}return i}function erb(e,t){return dz(308===e.kind?e.statements:e.body.statements,e=>t(e)||erA(e)&&dz(e.body&&e.body.statements,t))}function erE(e,t){if(e.externalModuleIndicator||void 0!==e.imports)for(let n of e.imports)t(TR(n),n);else erb(e,e=>{switch(e.kind){case 275:case 269:e.moduleSpecifier&&wr(e.moduleSpecifier)&&t(e,e.moduleSpecifier);break;case 268:erL(e)&&t(e,e.moduleReference.expression)}})}function erT(e,t,n,r){return r?i():i()||function(){if(!function(e){let{parent:t}=e;switch(t.kind){case 268:return t.name===e&&erL(t);case 273:return!t.propertyName;case 270:case 271:return T.assert(t.name===e),!0;case 205:return EZ(e)&&E3(t.parent.parent);default:return!1}}(e))return;let r=n.getImmediateAliasedSymbol(t);if(!r||"export="===(r=function(e,t){if(e.declarations)for(let n of e.declarations){if(NC(n)&&!n.propertyName&&!n.parent.parent.moduleSpecifier)return t.getExportSpecifierLocalTargetSymbol(n)||e;if(Rh(n)&&Tp(n.expression)&&!wE(n.name))return t.getSymbolAtLocation(n);if(NY(n)&&RR(n.parent.parent)&&2===Tf(n.parent.parent))return t.getExportSpecifierLocalTargetSymbol(n.name)}return e}(r,n)).escapedName&&void 0===(r=function(e,t){var n,r;if(2097152&e.flags)return t.getImmediateAliasedSymbol(e);let i=T.checkDefined(e.valueDeclaration);return NS(i)?null==(n=_E(i.expression,gw))?void 0:n.symbol:RR(i)?null==(r=_E(i.right,gw))?void 0:r.symbol:N0(i)?i.symbol:void 0}(r,n)))return;let i=zb(r);if(void 0===i||"default"===i||i===t.escapedName)return{kind:0,symbol:r}}();function i(){var i;let{parent:s}=e,l=s.parent;if(t.exportSymbol)return 208===s.kind?(null==(i=t.declarations)?void 0:i.some(e=>e===s))&&RR(l)?d(l,!1):void 0:a(t.exportSymbol,o(s));{let i;let u=(i=Nr(s)?s:Rp(s)?m2(s):void 0)?s.name!==e?void 0:NJ(i.parent)?void 0:RX(i.parent.parent)?i.parent.parent:void 0:s;if(u&&S3(u,1)){if(!Nf(u)||u.moduleReference!==e)return a(t,o(u));if(r)return;return{kind:0,symbol:n.getSymbolAtLocation(u.name)}}if(NE(s))return a(t,0);if(NS(s))return c(s);if(NS(l))return c(l);if(RR(s))return d(s,!0);if(RR(l))return d(l,!0);if(Dk(s)||Dp(s))return a(t,0)}function c(e){if(!e.symbol.parent)return;let n=e.isExportEquals?2:1;return{kind:1,symbol:t,exportInfo:{exportingModuleSymbol:e.symbol.parent,exportKind:n}}}function d(e,r){let i;switch(Tf(e)){case 1:i=0;break;case 2:i=2;break;default:return}let o=r?n.getSymbolAtLocation(LR(_T(e.left,Lw))):t;return o&&a(o,i)}}function a(e,t){let r=erx(e,t,n);return r&&{kind:1,symbol:e,exportInfo:r}}function o(e){return S3(e,1024)?1:0}}function erx(e,t,n){let r=e.parent;if(!r)return;let i=n.getMergedSymbol(r);return zt(i)?{exportingModuleSymbol:i,exportKind:t}:void 0}function erS(e){if(210===e.kind)return e.getSourceFile();let{parent:t}=e;return 308===t.kind?t:(T.assert(265===t.kind),_T(t.parent,erA))}function erA(e){return 264===e.kind&&10===e.name.kind}function erL(e){return 280===e.moduleReference.kind&&10===e.moduleReference.expression.kind}var erC=dj({"src/services/importTracker.ts"(){var e,t;ecu(),(e=cu||{})[e.Named=0]="Named",e[e.Default=1]="Default",e[e.ExportEquals=2]="ExportEquals",cu=e,(t=c_||{})[t.Import=0]="Import",t[t.Export=1]="Export",c_=t}});function erk(e,t=1){return{kind:t,node:e.name||e,context:function(e){if(gO(e))return erw(e);if(e.parent){if(!gO(e.parent)&&!NS(e.parent)){if(EZ(e)){let t=RR(e.parent)?e.parent:Lw(e.parent)&&RR(e.parent.parent)&&e.parent.parent.left===e.parent?e.parent.parent:void 0;if(t&&0!==Tf(t))return erw(t)}if(NP(e.parent)||NF(e.parent))return e.parent.parent;if(NM(e.parent)||R9(e.parent)||yi(e.parent))return e.parent;if(g8(e)){let t=TN(e);if(t){let e=m9(t,e=>gO(e)||gF(e)||gJ(e));return gO(e)?erw(e):e}}let t=m9(e,wP);return t?erw(t.parent):void 0}if(e.parent.name===e||wW(e.parent)||NS(e.parent)||(yb(e.parent)||Rp(e.parent))&&e.parent.propertyName===e||88===e.kind&&S3(e.parent,1025))return erw(e.parent)}}(e)}}function erI(e){return e&&void 0===e.kind}function erw(e){if(e)switch(e.kind){case 257:return Ni(e.parent)&&1===e.parent.declarations.length?RX(e.parent.parent)?e.parent.parent:gE(e.parent.parent)?erw(e.parent.parent):e.parent:e;case 205:return erw(e.parent.parent);case 273:return e.parent.parent.parent;case 278:case 271:return e.parent.parent;case 270:case 277:return e.parent;case 223:return R$(e.parent)?e.parent:e;case 247:case 246:return{start:e.initializer,end:e.expression};case 299:case 300:return WY(e.parent)?erw(m9(e.parent,e=>RR(e)||gE(e))):e;default:return e}}function erR(e,t,n){if(!n)return;let r=erI(n)?erK(n.start,t,n.end):erK(n,t);return r.start!==e.start||r.length!==e.length?{contextSpan:r}:void 0}function erN(e,t,n,r,i){let a=Wy(r,i),o={use:1},s=ch.getReferencedSymbolsForNode(i,a,e,n,t,o),l=e.getTypeChecker(),c=ch.getAdjustedNode(a,o),d=88===c.kind||xl(c)||xc(c)||135===c.kind&&wW(c.parent)?l.getSymbolAtLocation(c):void 0;return s&&s.length?uu(s,({definition:e,references:n})=>e&&{definition:l.runWithCancellationToken(t,t=>(function(e,t,n){let{sourceFile:r,textSpan:i,name:a,kind:o,displayParts:s,context:l}=(()=>{switch(e.type){case 0:{let{symbol:r}=e,{displayParts:i,kind:a}=erB(r,t,n),o=i.map(e=>e.text).join(""),s=r.declarations&&uK(r.declarations);return{...erG(s?hp(s)||s:n),name:o,kind:a,displayParts:i,context:erw(s)}}case 1:{let{node:t}=e;return{...erG(t),name:t.text,kind:"label",displayParts:[zF(t.text,17)]}}case 2:{let{node:t}=e,n=tF[t.kind];return{...erG(t),name:n,kind:"keyword",displayParts:[{text:n,kind:"keyword"}]}}case 3:{let{node:n}=e,r=t.getSymbolAtLocation(n),i=r&&esT.getSymbolDisplayPartsDocumentationAndSymbolKind(t,r,n.getSourceFile(),KZ(n),n).displayParts||[zW("this")];return{...erG(n),name:"this",kind:"var",displayParts:i}}case 4:{let{node:t}=e;return{...erG(t),name:t.text,kind:"var",displayParts:[zF(v$(t),8)]}}case 5:return{textSpan:W8(e.reference),sourceFile:e.file,name:e.reference.fileName,kind:"string",displayParts:[zF(`"${e.reference.fileName}"`,8)]};default:return T.assertNever(e)}})();return{containerKind:"",containerName:"",fileName:r.fileName,kind:o,name:a,textSpan:i,displayParts:s,...erR(i,r,l)}})(e,t,a)),references:n.map(e=>{let t;return t=erV(e),d?{...t,isDefinition:0!==e.kind&&erq(e.node,d)}:t})}):void 0}function erD(e,t,n,r,i){let a;let o=Wy(r,i),s=erO(e,t,n,o,i);if(208===o.parent.kind||205===o.parent.kind||209===o.parent.kind||106===o.kind)a=s&&[...s];else if(s){let r=_m(s),i=new Map;for(;!r.isEmpty();){let o=r.dequeue();if(!LC(i,Gv(o.node)))continue;a=uD(a,o);let s=erO(e,t,n,o.node,o.node.pos);s&&r.enqueue(...s)}}let l=e.getTypeChecker();return un(a,e=>(function(e,t){let n=erj(e);if(0===e.kind)return{...n,kind:"",displayParts:[]};{let r,{node:i}=e;return{...n,...(r=t.getSymbolAtLocation(gO(i)&&i.name?i.name:i))?erB(r,t,i):207===i.kind?{kind:"interface",displayParts:[zU(20),zW("object literal"),zU(21)]}:228===i.kind?{kind:"local class",displayParts:[zU(20),zW("anonymous local class"),zU(21)]}:{kind:K0(i),displayParts:[]}}}})(e,l))}function erO(e,t,n,r,i){if(308===r.kind)return;let a=e.getTypeChecker();if(300===r.parent.kind){let e=[];return ch.getReferenceEntriesForShorthandPropertyAssignment(r,a,t=>e.push(erk(t))),e}if(!(106===r.kind||EI(r.parent)))return erP(i,r,e,n,t,{implementations:!0,use:1});{let e=a.getSymbolAtLocation(r);return e.valueDeclaration&&[erk(e.valueDeclaration)]}}function erM(e,t,n,r,i,a,o){return un(erF(ch.getReferencedSymbolsForNode(i,r,e,n,t,a)),t=>o(t,r,e.getTypeChecker()))}function erP(e,t,n,r,i,a={},o=new Set(r.map(e=>e.fileName))){return erF(ch.getReferencedSymbolsForNode(e,t,n,r,i,a,o))}function erF(e){return e&&uo(e,e=>e.references)}function erG(e){let t=e.getSourceFile();return{sourceFile:t,textSpan:erK(wP(e)?e.expression:e,t)}}function erB(e,t,n){let r=ch.getIntersectingMeaningFromDeclarations(n,e),i=e.declarations&&uK(e.declarations)||n,{displayParts:a,symbolKind:o}=esT.getSymbolDisplayPartsDocumentationAndSymbolKind(t,e,i.getSourceFile(),i,i,r);return{displayParts:a,kind:o}}function erU(e,t,n,r){return{...erj(e),...r&&function(e,t,n){if(0!==e.kind&&wb(t)){let{node:r,kind:i}=e,a=r.parent,o=t.text,s=NY(a);if(s||zT(a)&&a.name===r&&void 0===a.dotDotDotToken){let e={prefixText:o+": "},t={suffixText:": "+o};if(3===i)return e;if(4===i)return t;if(!s)return e;{let n=a.parent;return Rm(n)&&RR(n.parent)&&Tp(n.parent.left)?e:t}}if(Nx(a)&&!a.propertyName)return d6((NC(t.parent)?n.getExportSpecifierLocalTargetSymbol(t.parent):n.getSymbolAtLocation(t)).declarations,a)?{prefixText:o+" as "}:ak;if(NC(a)&&!a.propertyName)return t===e.node||n.getSymbolAtLocation(t)===n.getSymbolAtLocation(e.node)?{prefixText:o+" as "}:{suffixText:" as "+o}}return ak}(e,t,n)}}function erV(e){let t=erj(e);if(0===e.kind)return{...t,isWriteAccess:!1};let{kind:n,node:r}=e;return{...t,isWriteAccess:erz(r),isInString:2===n||void 0}}function erj(e){if(0===e.kind)return{textSpan:e.textSpan,fileName:e.fileName};{let t=e.node.getSourceFile(),n=erK(e.node,t);return{textSpan:n,fileName:t.fileName,...erR(n,t,e.context)}}}function erH(e){let t=erj(e);if(0===e.kind)return{fileName:t.fileName,span:{textSpan:t.textSpan,kind:"reference"}};let n=erz(e.node),r={textSpan:t.textSpan,kind:n?"writtenReference":"reference",isInString:2===e.kind||void 0,...t.contextSpan&&{contextSpan:t.contextSpan}};return{fileName:t.fileName,span:r}}function erK(e,t,n){let r=e.getStart(t),i=(n||e).getEnd();return g8(e)&&i-r>2&&(T.assert(void 0===n),r+=1,i-=1),mq(r,i)}function erW(e){return 0===e.kind?e.textSpan:erK(e.node,e.node.getSourceFile())}function erz(e){let t=xl(e);return!!t&&function(e){if(16777216&e.flags)return!0;switch(e.kind){case 223:case 205:case 260:case 228:case 88:case 263:case 302:case 278:case 270:case 268:case 273:case 261:case 341:case 349:case 288:case 264:case 267:case 271:case 277:case 166:case 300:case 262:case 165:return!0;case 299:return!WY(e.parent);case 259:case 215:case 173:case 171:case 174:case 175:return!!e.body;case 257:case 169:return!!e.initializer||NJ(e.parent);case 170:case 168:case 351:case 344:return!1;default:return T.failBadSyntaxKind(e)}}(t)||88===e.kind||Lf(e)}function erq(e,t){var n;if(!t)return!1;let r=xl(e)||(88===e.kind?e.parent:xc(e)?e.parent.parent:135===e.kind&&wW(e.parent)?e.parent.parent:void 0),i=r&&RR(r)?r.left:void 0;return!!(r&&(null==(n=t.declarations)?void 0:n.some(e=>e===r||e===i)))}var erJ=dj({"src/services/findAllReferences.ts"(){var e,t,n;ecu(),erY(),(e=cp||{})[e.Symbol=0]="Symbol",e[e.Label=1]="Label",e[e.Keyword=2]="Keyword",e[e.This=3]="This",e[e.String=4]="String",e[e.TripleSlashReference=5]="TripleSlashReference",cp=e,(t=cf||{})[t.Span=0]="Span",t[t.Node=1]="Node",t[t.StringLiteral=2]="StringLiteral",t[t.SearchedLocalFoundProperty=3]="SearchedLocalFoundProperty",t[t.SearchedPropertyFoundLocal=4]="SearchedPropertyFoundLocal",cf=t,(n=cm||{})[n.Other=0]="Other",n[n.References=1]="References",n[n.Rename=2]="Rename",cm=n,(e=>{var t;let n;function r(e,t){return 1===t.use?e=Wm(e):2===t.use&&(e=Wh(e)),e}function i(e,t,n){let r;for(let i of t.get(e.path)||o)if(VG(i)){let e=n.getSourceFileByPath(i.file),t=VU(n.getSourceFileByPath,i);VB(t)&&(r=uD(r,{kind:0,fileName:e.fileName,textSpan:W8(t)}))}return r}function a(e,t,n){if(e.parent&&Np(e.parent)){let e=n.getAliasedSymbol(t),r=n.getMergedSymbol(e);if(e!==r)return r}}function s(e,t,n,r,i,a){let o=1536&e.flags&&e.declarations&&d0(e.declarations,N0);if(!o)return;let s=e.exports.get("export="),c=d(t,e,!!s,n,a);if(!s||!a.has(o.fileName))return c;let u=t.getTypeChecker();return l(t,c,_(e=Lu(s,u),void 0,n,a,u,r,i))}function l(e,...t){let n;for(let r of t)if(r&&r.length){if(!n){n=r;continue}for(let t of r){if(!t.definition||0!==t.definition.type){n.push(t);continue}let r=t.definition.symbol,i=d2(n,e=>!!e.definition&&0===e.definition.type&&e.definition.symbol===r);if(-1===i){n.push(t);continue}let a=n[i];n[i]={definition:a.definition,references:a.references.concat(t.references).sort((t,n)=>{let r=c(e,t),i=c(e,n);if(r!==i)return _U(r,i);let a=erW(t),o=erW(n);return a.start!==o.start?_U(a.start,o.start):_U(a.length,o.length)})}}}return n}function c(e,t){let n=0===t.kind?e.getSourceFile(t.fileName):t.node.getSourceFile();return e.getSourceFiles().indexOf(n)}function d(e,t,n,r,i){T.assert(!!t.valueDeclaration);let a=uu(erv(e,r,t),e=>{if("import"!==e.kind)return{kind:0,fileName:e.referencingFile.fileName,textSpan:W8(e.ref)};{let t=e.literal.parent;if(Rs(t)){let e=_T(t.parent,Rl);if(n&&!e.qualifier)return}return erk(e.literal)}});if(t.declarations)for(let e of t.declarations)switch(e.kind){case 308:break;case 264:i.has(e.getSourceFile().fileName)&&a.push(erk(e.name));break;default:T.assert(!!(33554432&t.flags),"Expected a module symbol to be declared by a SourceFile or ModuleDeclaration.")}let s=t.exports.get("export=");if(null==s?void 0:s.declarations)for(let e of s.declarations){let t=e.getSourceFile();if(i.has(t.fileName)){let n=RR(e)&&Rh(e.left)?e.left.expression:NS(e)?T.checkDefined(Wo(e,93,t)):hp(e)||e;a.push(erk(n))}}return a.length?[{definition:{type:0,symbol:t},references:a}]:o}function u(e){return 146===e.kind&&Ri(e.parent)&&146===e.parent.operator}function _(e,t,n,r,i,a,o){let s=t&&function(e,t,n,r){let{parent:i}=t;return NC(i)&&r?C(t,e,i,n):dJ(e.declarations,r=>{if(!r.parent){if(33554432&e.flags)return;T.fail(`Unexpected symbol at ${T.formatSyntaxKind(t.kind)}: ${T.formatSymbol(e)}`)}return w2(r.parent)&&w7(r.parent.parent)?n.getPropertyOfType(n.getTypeFromTypeNode(r.parent.parent),e.name):void 0})}(e,t,i,!P(o))||e,l=t?D(t,s):7,c=[],d=new f(n,r,t?function(e){switch(e.kind){case 173:case 135:return 1;case 79:if(yW(e.parent))return T.assert(e.parent.name===e),2;default:return 0}}(t):0,i,a,l,o,c),u=P(o)&&s.declarations?d0(s.declarations,NC):void 0;if(u)L(u.name,s,u,d.createSearch(t,e,void 0),d,!0,!0);else if(t&&88===t.kind&&"default"===s.escapedName&&s.parent)k(t,s,d),m(t,s,{exportingModuleSymbol:s.parent,exportKind:1},d);else{var _,h,y;let e;let n=d.createSearch(t,s,void 0,{allSearchSymbols:t?(_=2===o.use,h=!!o.providePrefixAndSuffixTextForRename,y=!!o.implementations,e=[],R(s,t,i,_,!(_&&h),(t,n,r)=>{r&&N(s)!==N(r)&&(r=void 0),e.push(r||n||t)},()=>!y),e):[s]});p(s,d,n)}return c}function p(e,t,n){let r=function(e){let t;let{declarations:n,flags:r,parent:i,valueDeclaration:a}=e;if(a&&(215===a.kind||228===a.kind))return a;if(!n)return;if(8196&r){let e=d0(n,e=>S6(e,8)||yk(e));return e?xx(e,260):void 0}if(n.some(zT))return;let o=i&&!(262144&e.flags);if(!o||zt(i)&&!i.globalExports){for(let e of n){let n=KZ(e);if(t&&t!==n||!n||308===n.kind&&!bU(n))return;if(Rx(t=n)){let e;for(;e=TY(t);)t=e}}return o?t.getSourceFile():t}}(e);if(r)S(r,r.getSourceFile(),n,t,!(N0(r)&&!d6(t.sourceFiles,r)));else for(let e of t.sourceFiles)t.cancellationToken.throwIfCancellationRequested(),y(e,n,t)}e.getReferencedSymbolsForNode=function(e,t,n,c,p,f={},m=new Set(c.map(e=>e.fileName))){var h,y,g,b;if(N0(t=r(t,f))){let r=eie.getReferenceAtPosition(t,e,n);if(!(null==r?void 0:r.file))return;let a=n.getTypeChecker().getMergedSymbol(r.file.symbol);if(a)return d(n,a,!1,c,m);let s=n.getFileIncludeReasons();if(!s)return;return[{definition:{type:5,reference:r.reference,file:t},references:i(r.file,s,n)||o}]}if(!f.implementations){let e=function(e,t,n){var r,i;if(W7(e.kind)){let a;if(114===e.kind&&RC(e.parent)||146===e.kind&&!u(e))return;return r=e.kind,i=146===e.kind?u:void 0,(a=uo(t,e=>(n.throwIfCancellationRequested(),uu(v(e,tF[r],e),e=>{if(e.kind===r&&(!i||i(e)))return erk(e)})))).length?[{definition:{type:2,node:a[0].node},references:a}]:void 0}if(bJ(e.parent)&&e.parent.name===e){let e;return(e=uo(t,e=>(n.throwIfCancellationRequested(),uu(v(e,"meta",e),e=>{let t=e.parent;if(bJ(t))return erk(t)})))).length?[{definition:{type:2,node:e[0].node},references:e}]:void 0}if(wk(e)&&wK(e.parent))return[{definition:{type:2,node:e},references:[erk(e)]}];if(Kj(e)){let t=KU(e.parent,e.text);return t&&E(t.parent,t)}return KH(e)?E(e.parent,e):K1(e)?function(e,t,n){let r=ET(e,!1,!1),i=32;switch(r.kind){case 171:case 170:if(El(r)){i&=Ad(r),r=r.parent;break}case 169:case 168:case 173:case 174:case 175:i&=Ad(r),r=r.parent;break;case 308:if(Md(r)||w(e))return;case 259:case 215:break;default:return}let a=uo(308===r.kind?t:[r.getSourceFile()],e=>(n.throwIfCancellationRequested(),v(e,"this",N0(r)?e:r).filter(e=>{if(!K1(e))return!1;let t=ET(e,!1,!1);if(!gw(t))return!1;switch(r.kind){case 215:case 259:return r.symbol===t.symbol;case 171:case 170:return El(r)&&r.symbol===t.symbol;case 228:case 260:case 207:return t.parent&&gw(t.parent)&&r.symbol===t.parent.symbol&&S5(t)===!!i;case 308:return 308===t.kind&&!Md(t)&&!w(e)}}))).map(e=>erk(e));return[{definition:{type:3,node:dJ(a,e=>wG(e.node.parent)?e.node:void 0)||e},references:a}]}(e,t,n):106===e.kind?function(e){let t=EL(e,!1);if(!t)return;let n=32;switch(t.kind){case 169:case 168:case 171:case 170:case 173:case 174:case 175:n&=Ad(t),t=t.parent;break;default:return}let r=uu(v(t.getSourceFile(),"super",t),e=>{if(106!==e.kind)return;let r=EL(e,!1);return r&&S5(r)===!!n&&r.parent.symbol===t.symbol?erk(e):void 0});return[{definition:{type:0,symbol:t.symbol},references:r}]}(e):void 0}(t,c,p);if(e)return e}let T=n.getTypeChecker(),x=T.getSymbolAtLocation(wW(t)&&t.parent.name||t);if(!x){if(!f.implementations&&g8(t)){let e,r;if(zE(t)){let e=n.getFileIncludeReasons(),r=null==(g=null==(y=null==(h=t.getSourceFile().resolvedModules)?void 0:h.get(t.text,VI(t.getSourceFile(),t)))?void 0:y.resolvedModule)?void 0:g.resolvedFileName,a=r?n.getSourceFile(r):void 0;if(a)return[{definition:{type:4,node:t},references:i(a,e,n)||o}]}return e=Wu(b=t,T),r=uo(c,t=>(p.throwIfCancellationRequested(),uu(v(t,b.text),n=>{if(g8(n)&&n.text===b.text){if(!e)return wo(n)&&!A2(n,t)?void 0:erk(n,2);{let t=Wu(n,T);if(e!==T.getStringType()&&e===t)return erk(n,2)}}}))),[{definition:{type:4,node:b},references:r}]}return}if("export="===x.escapedName)return d(n,x.parent,!1,c,m);let S=s(x,n,c,p,f,m);if(S&&!(33554432&x.flags))return S;let A=a(t,x,T),L=A&&s(A,n,c,p,f,m);return l(n,S,_(x,t,c,m,T,p,f),L)},e.getAdjustedNode=r,e.getReferencesForFileName=function(e,t,n,r=new Set(n.map(e=>e.fileName))){var a,s;let l=null==(a=t.getSourceFile(e))?void 0:a.symbol;if(l)return(null==(s=d(t,l,!1,n,r)[0])?void 0:s.references)||o;let c=t.getFileIncludeReasons(),u=t.getSourceFile(e);return u&&c&&i(u,c,t)||o},(t=n||(n={}))[t.None=0]="None",t[t.Constructor=1]="Constructor",t[t.Class=2]="Class";class f{constructor(e,t,n,r,i,a,o,s){this.sourceFiles=e,this.sourceFilesSet=t,this.specialSearchKind=n,this.checker=r,this.cancellationToken=i,this.searchMeaning=a,this.options=o,this.result=s,this.inheritsFromCache=new Map,this.markSeenContainingTypeReference=zn(),this.markSeenReExportRHS=zn(),this.symbolIdToReferences=[],this.sourceFileToSeenSymbols=[]}includesSourceFile(e){return this.sourceFilesSet.has(e.fileName)}getImportSearches(e,t){return this.importTracker||(this.importTracker=erg(this.sourceFiles,this.sourceFilesSet,this.checker,this.cancellationToken)),this.importTracker(e,t,2===this.options.use)}createSearch(e,t,n,r={}){var i;let a,o,s;let{text:l=Sl(ho(AU(t)||function(e){if(!(33555968&e.flags))return;let t=e.declarations&&d0(e.declarations,e=>!N0(e)&&!Nd(e));return t&&t.symbol}(t)||t)),allSearchSymbols:c=[t]}=r,d=hn(l),u=this.options.implementations&&e?(i=this.checker,0===(s=uu((o=(a=Kq(e)?e.parent:void 0)&&i.getTypeAtLocation(a.expression))&&(o.isUnionOrIntersection()?o.types:o.symbol===t.parent?void 0:[o]),e=>e.symbol&&96&e.symbol.flags?e.symbol:void 0)).length?void 0:s):void 0;return{symbol:t,comingFrom:n,text:l,escapedText:d,parents:u,allSearchSymbols:c,includes:e=>d6(c,e)}}referenceAdder(e){let t=Gb(e),n=this.symbolIdToReferences[t];return n||(n=this.symbolIdToReferences[t]=[],this.result.push({definition:{type:0,symbol:e},references:n})),(e,t)=>n.push(erk(e,t))}addStringOrCommentReference(e,t){this.result.push({definition:void 0,references:[{kind:0,fileName:e,textSpan:t}]})}markSearchedSymbols(e,t){let n=Gv(e),r=this.sourceFileToSeenSymbols[n]||(this.sourceFileToSeenSymbols[n]=new Set),i=!1;for(let e of t)i=um(r,Gb(e))||i;return i}}function m(e,t,n,r){let{importSearches:i,singleReferences:a,indirectUsers:o}=r.getImportSearches(t,n);if(a.length){let e=r.referenceAdder(t);for(let t of a)!A(t,r)||2===r.options.use&&(!wb(t)||yb(t.parent)&&"default"===t.escapedText)||e(t)}for(let[e,t]of i)x(e.getSourceFile(),r.createSearch(e,t,1),r);if(o.length){let i;switch(n.exportKind){case 0:i=r.createSearch(e,t,1);break;case 1:i=2===r.options.use?void 0:r.createSearch(e,t,1,{text:"default"})}if(i)for(let e of o)y(e,i,r)}}function h(e,t){if(e.declarations)for(let n of e.declarations){let r=n.getSourceFile();x(r,t.createSearch(n,e,0),t,t.includesSourceFile(r))}}function y(e,t,n){void 0!==Yd(e).get(t.escapedText)&&x(e,t,n)}function g(e,t,n,r,i=n){let a=mZ(e.parent,e.parent.parent)?uz(t.getSymbolsOfParameterPropertyDeclaration(e.parent,e.text)):t.getSymbolAtLocation(e);if(a)for(let o of v(n,a.name,i)){if(!wb(o)||o===e||o.escapedText!==e.escapedText)continue;let n=t.getSymbolAtLocation(o);if(n===a||t.getShorthandAssignmentValueSymbol(o.parent)===a||NC(o.parent)&&C(o,n,o.parent,t)===a){let e=r(o);if(e)return e}}}function v(e,t,n=e){return b(e,t,n).map(t=>Wy(e,t))}function b(e,t,n=e){let r=[];if(!t||!t.length)return r;let i=e.text,a=i.length,o=t.length,s=i.indexOf(t,n.pos);for(;s>=0&&!(s>n.end);){let e=s+o;0!==s&&mS(i.charCodeAt(s-1),99)||e!==a&&mS(i.charCodeAt(e),99)||r.push(s),s=i.indexOf(t,s+o+1)}return r}function E(e,t){let n=e.getSourceFile(),r=t.text,i=uu(v(n,r,e),e=>e===t||Kj(e)&&KU(e,r)===t?erk(e):void 0);return[{definition:{type:1,node:t},references:i}]}function x(e,t,n,r=!0){return n.cancellationToken.throwIfCancellationRequested(),S(e,e,t,n,r)}function S(e,t,n,r,i){if(r.markSearchedSymbols(t,n.allSearchSymbols))for(let a of b(t,n.text,e))(function(e,t,n,r,i){let a=Wy(e,t);if(!function(e,t){switch(e.kind){case 80:if(N6(e.parent))return!0;case 79:return e.text.length===t.length;case 14:case 10:return(K$(e)||KX(e)||KQ(e)||Rg(e.parent)&&Tm(e.parent)&&e.parent.arguments[1]===e)&&e.text.length===t.length;case 8:return K$(e)&&e.text.length===t.length;case 88:return 7===t.length;default:return!1}}(a,n.text)){!r.options.implementations&&(r.options.findInStrings&&WC(e,t)||r.options.findInComments&&WQ(e,t))&&r.addStringOrCommentReference(e.fileName,mz(t,n.text.length));return}if(!A(a,r))return;let o=r.checker.getSymbolAtLocation(a);if(!o)return;let s=a.parent;if(Nx(s)&&s.propertyName===a)return;if(NC(s)){T.assert(79===a.kind),L(a,o,s,n,r,i);return}let l=function(e,t,n,r){let{checker:i}=r;return R(t,n,i,!1,2!==r.options.use||!!r.options.providePrefixAndSuffixTextForRename,(n,r,i,a)=>(i&&N(t)!==N(i)&&(i=void 0),e.includes(i||r||n)?{symbol:r&&!(6&Lc(n))?r:n,kind:a}:void 0),t=>!(e.parents&&!e.parents.some(e=>(function e(t,n,r,i){if(t===n)return!0;let a=Gb(t)+","+Gb(n),o=r.get(a);if(void 0!==o)return o;r.set(a,!1);let s=!!t.declarations&&t.declarations.some(t=>xb(t).some(t=>{let a=i.getTypeAtLocation(t);return!!a&&!!a.symbol&&e(a.symbol,n,r,i)}));return r.set(a,s),s})(t.parent,e,r.inheritsFromCache,i))))}(n,o,a,r);if(!l){(function({flags:e,valueDeclaration:t},n,r){let i=r.checker.getShorthandAssignmentValueSymbol(t),a=t&&hp(t);!(33554432&e)&&a&&n.includes(i)&&k(a,i,r)})(o,n,r);return}switch(r.specialSearchKind){case 0:i&&k(a,l,r);break;case 1:(function(e,t,n,r){KI(e)&&k(e,n.symbol,r);let i=()=>r.referenceAdder(n.symbol);if(yW(e.parent))T.assert(88===e.kind||e.parent.name===e),function(e,t,n){let r=I(e);if(r&&r.declarations)for(let e of r.declarations){let r=Wo(e,135,t);T.assert(173===e.kind&&!!r),n(r)}e.exports&&e.exports.forEach(e=>{let t=e.valueDeclaration;if(t&&171===t.kind){let e=t.body;e&&M(e,108,e=>{KI(e)&&n(e)})}})}(n.symbol,t,i());else{let t=Ax(KG(e).parent);t&&(function(e,t){let n=I(e.symbol);if(n&&n.declarations)for(let e of n.declarations){T.assert(173===e.kind);let n=e.body;n&&M(n,106,e=>{Kk(e)&&t(e)})}}(t,i()),function(e,t){if(I(e.symbol))return;let n=e.symbol,r=t.createSearch(void 0,n,void 0);p(n,t,r)}(t,r))}})(a,e,n,r);break;case 2:(function(e,t,n){k(e,t.symbol,n);let r=e.parent;if(2===n.options.use||!yW(r))return;T.assert(r.name===e);let i=n.referenceAdder(t.symbol);for(let e of r.members)yJ(e)&&S5(e)&&e.body&&e.body.forEachChild(function e(t){108===t.kind?i(t):yF(t)||yW(t)||t.forEachChild(e)})})(a,n,r);break;default:T.assertNever(r.specialSearchKind)}(!(EZ(a)&&Rp(a.parent)&&E3(a.parent.parent.parent))||(o=a.parent.symbol))&&function(e,t,n,r){let i=erT(e,t,r.checker,1===n.comingFrom);if(!i)return;let{symbol:a}=i;0===i.kind?P(r.options)||h(a,r):m(e,a,i.exportInfo,r)}(a,o,n,r)})(t,a,n,r,i)}function A(e,t){return!!(KL(e)&t.searchMeaning)}function L(e,t,n,r,i,a,o){T.assert(!o||!!i.options.providePrefixAndSuffixTextForRename,"If alwaysGetReferences is true, then prefix/suffix text must be enabled");let{parent:s,propertyName:l,name:c}=n,d=s.parent,u=C(e,t,n,i.checker);if(o||r.includes(u)){if(l?e===l?(d.moduleSpecifier||_(),a&&2!==i.options.use&&i.markSeenReExportRHS(c)&&k(c,T.checkDefined(n.symbol),i)):i.markSeenReExportRHS(e)&&_():2===i.options.use&&"default"===c.escapedText||_(),!P(i.options)||o){let t="default"===e.escapedText||"default"===n.name.escapedText,r=T.checkDefined(n.symbol),a=erx(r,t?1:0,i.checker);a&&m(e,r,a,i)}if(1!==r.comingFrom&&d.moduleSpecifier&&!l&&!P(i.options)){let e=i.checker.getExportSpecifierLocalTargetSymbol(n);e&&h(e,i)}}function _(){a&&k(e,u,i)}}function C(e,t,n,r){return function(e,t){let{parent:n,propertyName:r,name:i}=t;return(T.assert(r===e||i===e),r)?r===e:!n.parent.moduleSpecifier}(e,n)&&r.getExportSpecifierLocalTargetSymbol(n)||t}function k(e,t,n){let{kind:r,symbol:i}="kind"in t?t:{kind:void 0,symbol:t};if(2===n.options.use&&88===e.kind)return;let a=n.referenceAdder(i);n.options.implementations?function(e,t,n){var r;if(xs(e)&&(16777216&(r=e.parent).flags?!(Ns(r)||Nl(r)):b9(r)?gZ(r):yB(r)?!!r.body:yW(r)||gI(r))){t(e);return}if(79!==e.kind)return;300===e.parent.kind&&O(e,n.checker,t);let i=function e(t){return wb(t)||Rh(t)?e(t.parent):RG(t)?_E(t.parent.parent,yW):void 0}(e);if(i){t(i);return}let a=m9(e,e=>!wM(e.parent)&&!y0(e.parent)&&!y$(e.parent)),o=a.parent;if(gQ(o)&&o.type===a&&n.markSeenContainingTypeReference(o)){if(gZ(o))s(o.initializer);else if(yF(o)&&o.body){let e=o.body;238===e.kind?b6(e,e=>{e.expression&&s(e.expression)}):s(e)}else gf(o)&&s(o.expression)}function s(e){(function e(t){switch(t.kind){case 214:return e(t.expression);case 216:case 215:case 207:case 228:case 206:return!0;default:return!1}})(e)&&t(e)}}(e,a,n):a(e,r)}function I(e){return e.members&&e.members.get("__constructor")}function w(e){return 79===e.kind&&166===e.parent.kind&&e.parent.name===e}function R(e,t,n,r,i,o,s){let l=Yu(t);if(l){let e=n.getShorthandAssignmentValueSymbol(t.parent);if(e&&r)return o(e,void 0,void 0,3);let i=n.getContextualType(l.parent),a=i&&dJ(Y_(l,n,i,!0),e=>_(e,4));if(a)return a;let s=WY(t.parent.parent)?n.getPropertySymbolOfDestructuringAssignment(t):void 0,c=s&&o(s,void 0,void 0,4);if(c)return c;let d=e&&o(e,void 0,void 0,3);if(d)return d}let c=a(t,e,n);if(c){let e=o(c,void 0,void 0,1);if(e)return e}let d=_(e);if(d)return d;if(e.valueDeclaration&&mZ(e.valueDeclaration,e.valueDeclaration.parent)){let t=n.getSymbolsOfParameterPropertyDeclaration(_T(e.valueDeclaration,wG),e.name);return T.assert(2===t.length&&!!(1&t[0].flags)&&!!(4&t[1].flags)),_(1&e.flags?t[1]:t[0])}let u=g9(e,278);if(!r||u&&!u.propertyName){let e=u&&n.getExportSpecifierLocalTargetSymbol(u);if(e){let t=o(e,void 0,void 0,1);if(t)return t}}if(!r){let r;return(r=i?zT(t.parent)?zx(n,t.parent):void 0:p(e,n))&&_(r,4)}if(T.assert(r),i){let t=p(e,n);return t&&_(t,4)}function _(e,t){return dJ(n.getRootSymbols(e),r=>{var i,a,l;let c;return o(e,r,void 0,t)||(r.parent&&96&r.parent.flags&&s(r)?(i=r.parent,a=r.name,l=n=>o(e,r,n,t),c=new Map,function e(t){if(96&t.flags&&LC(c,Gb(t)))return dJ(t.declarations,t=>dJ(xb(t),t=>{let r=n.getTypeAtLocation(t),i=r&&r.symbol&&n.getPropertyOfType(r,a);return r&&i&&(dJ(n.getRootSymbols(i),l)||e(r.symbol))}))}(i)):void 0)})}function p(e,t){let n=g9(e,205);if(n&&zT(n))return zx(t,n)}}function N(e){return!!e.valueDeclaration&&!!(32&Al(e.valueDeclaration))}function D(e,t){let n=KL(e),{declarations:r}=t;if(r){let e;do for(let t of(e=n,r)){let e=KA(t);e&n&&(n|=e)}while(n!==e)}return n}function O(e,t,n){let r=t.getSymbolAtLocation(e),i=t.getShorthandAssignmentValueSymbol(r.valueDeclaration);if(i)for(let e of i.getDeclarations())1&KA(e)&&n(e)}function M(e,t,n){Mr(e,e=>{e.kind===t&&n(e),M(e,t,n)})}function P(e){return 2===e.use&&e.providePrefixAndSuffixTextForRename}e.eachExportReference=function(e,t,n,r,i,a,o,s){let{importSearches:l,indirectUsers:c,singleReferences:d}=erg(e,new Set(e.map(e=>e.fileName)),t,n)(r,{exportKind:o?1:0,exportingModuleSymbol:i},!1);for(let[e]of l)s(e);for(let e of d)wb(e)&&Rl(e.parent)&&s(e);for(let e of c)for(let n of v(e,o?"default":a)){let e=t.getSymbolAtLocation(n),i=uv(null==e?void 0:e.declarations,e=>!!_E(e,NS));wb(n)&&!yb(n.parent)&&(e===r||i)&&s(n)}},e.isSymbolReferencedInFile=function(e,t,n,r=n){return g(e,t,n,()=>!0,r)||!1},e.eachSymbolReferenceInFile=g,e.getTopMostDeclarationNamesInFile=function(e,t){return d9(v(t,e),e=>!!xl(e)).reduce((e,t)=>{let n=function(e){let t=0;for(;e;)e=KZ(e),t++;return t}(t);return uv(e.declarationNames)&&n!==e.depth?ne===i)&&r(t,o))return!0}return!1},e.getIntersectingMeaningFromDeclarations=D,e.getReferenceEntriesForShorthandPropertyAssignment=O})(ch||(ch={}))}}),erX={};dH(erX,{Core:()=>ch,DefinitionKind:()=>cp,EntryKind:()=>cf,ExportKind:()=>cu,FindReferencesUse:()=>cm,ImportExport:()=>c_,createImportTracker:()=>erg,findModuleReferences:()=>erv,findReferenceOrRenameEntries:()=>erM,findReferencedSymbols:()=>erN,getContextNode:()=>erw,getExportInfo:()=>erx,getImplementationsAtPosition:()=>erD,getImportOrExportSymbol:()=>erT,getReferenceEntriesForNode:()=>erP,getTextSpanOfEntry:()=>erW,isContextWithStartAndEndNode:()=>erI,isDeclarationOfSymbol:()=>erq,nodeEntry:()=>erk,toContextSpan:()=>erR,toHighlightSpan:()=>erH,toReferenceEntry:()=>erV,toRenameLocation:()=>erU});var erY=dj({"src/services/_namespaces/ts.FindAllReferences.ts"(){erC(),erJ()}});function er$(e,t,n,r,i){var a,s,l,c,d;let u,_,p,f;let m=erZ(t,n,e),h=m&&[(l=m.reference.fileName,c=m.fileName,d=m.unverified,{fileName:c,textSpan:mq(0,0),kind:"script",name:l,containerName:void 0,containerKind:void 0,unverified:d})]||o;if(null==m?void 0:m.file)return h;let y=Wy(t,n);if(y===t)return;let{parent:g}=y,v=e.getTypeChecker();if(161===y.kind||wb(y)&&Dg(g)&&g.tagName===y)return function(e,t){let n=m9(t,yK);if(!(n&&n.name))return;let r=m9(n,yW);if(!r)return;let i=xy(r);if(!i)return;let a=xi(i.expression),o=RP(a)?a.symbol:e.getSymbolAtLocation(a);if(!o)return;let s=hr(bA(n.name)),l=S7(n)?e.getPropertyOfType(e.getTypeOfSymbol(o),s):e.getPropertyOfType(e.getDeclaredTypeOfSymbol(o),s);if(l)return er8(e,l,t)}(v,y)||o;if(Kj(y)){let e=KU(y.parent,y.text);return e?[er3(v,e,"label",y.text,void 0)]:void 0}if(105===y.kind){let e=m9(y.parent,e=>wK(e)?"quit":yB(e));return e?[er5(v,e)]:void 0}if(133===y.kind){let e=m9(y,e=>yB(e));return e&&uv(e.modifiers,e=>132===e.kind)?[er5(v,e)]:void 0}if(125===y.kind){let e=m9(y,e=>yB(e));return e&&e.asteriskToken?[er5(v,e)]:void 0}if(wk(y)&&wK(y.parent)){let e=y.parent.parent,{symbol:t,failedAliasResolution:n}=er4(e,v,i),r=d9(e.members,wK),a=t?v.symbolToString(t,e):"",o=y.getSourceFile();return un(r,e=>{let{pos:t}=AZ(e);return er3(v,e,"constructor","static {}",a,!1,n,{start:t=mc(o.text,t),length:6})})}let{symbol:b,failedAliasResolution:E}=er4(y,v,i),T=y;if(r&&E){let e=dz([y,...(null==b?void 0:b.declarations)||o],e=>m9(e,bm)),t=e&&Tw(e);t&&({symbol:b,failedAliasResolution:E}=er4(t,v,i),T=t)}if(!b&&zE(T)){let e=null==(s=null==(a=t.resolvedModules)?void 0:a.get(T.text,VI(t,T)))?void 0:s.resolvedModule;if(e)return[{name:T.text,fileName:e.resolvedFileName,containerName:void 0,containerKind:void 0,kind:"script",textSpan:mz(0,0),failedAliasResolution:E,isAmbient:Mf(e.resolvedFileName),unverified:T!==y}]}if(!b)return uE(h,uu(v.getIndexInfosAtLocation(y),e=>e.declaration&&er5(v,e.declaration)));if(r&&dZ(b.declarations,e=>e.getSourceFile().fileName===t.fileName))return;let x=_E((f=(p=(_=null==(u=m9(y,e=>!Kq(e)))?void 0:u.parent)&&gi(_)&&EO(_)===u?_:void 0)&&v.getResolvedSignature(p))&&f.declaration,e=>yF(e)&&!wZ(e));if(x&&!(gK(y.parent)&&function(e){switch(e.kind){case 173:case 182:case 177:return!0;default:return!1}}(x))){let e=er5(v,x,E);if(v.getRootSymbols(b).some(e=>{var t;return e===x.symbol||e===x.symbol.parent||AA(x.parent)||!gi(x.parent)&&e===(null==(t=_E(x.parent,gw))?void 0:t.symbol)}))return[e];{let t=er8(v,b,y,E,x)||o;return 106===y.kind?[e,...t]:[...t,e]}}if(300===y.parent.kind){let e=v.getShorthandAssignmentValueSymbol(b.valueDeclaration);return uE((null==e?void 0:e.declarations)?e.declarations.map(t=>er6(t,v,e,y,!1,E)):o,erQ(v,y)||o)}if(yM(y)&&Rp(g)&&Ru(g.parent)&&y===(g.propertyName||g.name)){let e=zo(y),t=v.getTypeAtLocation(g.parent);return void 0===e?o:uo(t.isUnion()?t.types:[t],t=>{let n=t.getProperty(e);return n&&er8(v,n,y)})}return uE(h,erQ(v,y)||er8(v,b,y,E))}function erQ(e,t){let n=Yu(t);if(n){let r=n&&e.getContextualType(n.parent);if(r)return uo(Y_(n,e,r,!1),n=>er8(e,n,t))}}function erZ(e,t,n){var r,i,a,o;let s=er7(e.referencedFiles,t);if(s){let t=n.getSourceFileFromReference(e,s);return t&&{reference:s,fileName:t.fileName,file:t,unverified:!1}}let l=er7(e.typeReferenceDirectives,t);if(l){let t=null==(r=n.getResolvedTypeReferenceDirectives().get(l.fileName,l.resolutionMode||e.impliedNodeFormat))?void 0:r.resolvedTypeReferenceDirective,i=t&&n.getSourceFile(t.resolvedFileName);return i&&{reference:l,fileName:i.fileName,file:i,unverified:!1}}let c=er7(e.libReferenceDirectives,t);if(c){let e=n.getLibFileFromReference(c);return e&&{reference:c,fileName:e.fileName,file:e,unverified:!1}}if(null==(i=e.resolvedModules)?void 0:i.size()){let r=Wg(e,t);if(zE(r)&&mR(r.text)&&e.resolvedModules.has(r.text,VI(e,r))){let t=null==(o=null==(a=e.resolvedModules.get(r.text,VI(e,r)))?void 0:a.resolvedModule)?void 0:o.resolvedFileName,i=t||fL(fy(e.fileName),r.text);return{file:n.getSourceFile(i),fileName:i,reference:{pos:r.getStart(),end:r.getEnd(),fileName:r.text},unverified:!t}}}}function er0(e,t,n){let r=Wy(t,n);if(r===t)return;if(bJ(r.parent)&&r.parent.name===r)return er1(e.getTypeAtLocation(r.parent),e,r.parent,!1);let{symbol:i,failedAliasResolution:a}=er4(r,e,!1);if(!i)return;let o=e.getTypeOfSymbolAtLocation(i,r),s=function(e,t,n){if(t.symbol===e||e.valueDeclaration&&t.symbol&&Nr(e.valueDeclaration)&&e.valueDeclaration.initializer===t.symbol.valueDeclaration){let e=t.getCallSignatures();if(1===e.length)return n.getReturnTypeOfSignature(uz(e))}}(i,o,e),l=s&&er1(s,e,r,a),c=l&&0!==l.length?l:er1(o,e,r,a);return c.length?c:!(111551&i.flags)&&788968&i.flags?er8(e,Lu(i,e),r,a):void 0}function er1(e,t,n,r){return uo(e.isUnion()&&!(32&e.flags)?e.types:[e],e=>e.symbol&&er8(t,e.symbol,n,r))}function er2(e,t,n){let r=er$(e,t,n);if(!r||0===r.length)return;let i=er7(t.referencedFiles,n)||er7(t.typeReferenceDirectives,n)||er7(t.libReferenceDirectives,n);if(i)return{definitions:r,textSpan:W8(i)};let a=Wy(t,n);return{definitions:r,textSpan:mz(a.getStart(),a.getWidth())}}function er4(e,t,n){var r;let i=t.getSymbolAtLocation(e),a=!1;if((null==i?void 0:i.declarations)&&2097152&i.flags&&!n&&(r=i.declarations[0],79===e.kind&&(e.parent===r||271!==r.kind))){let e=t.getAliasedSymbol(i);if(e.declarations)return{symbol:e};a=!0}return{symbol:i,failedAliasResolution:a}}function er8(e,t,n,r,i){let a=d9(t.declarations,e=>e!==i),o=d9(a,e=>!function(e){if(!Tn(e))return!1;let t=m9(e,e=>!!AA(e)||!Tn(e)&&"quit");return!!t&&5===Tf(t)}(e)),s=uv(o)?o:a;return function(){if(32&t.flags&&!(19&t.flags)&&(KI(n)||135===n.kind))return l((d0(a,yW)||T.fail("Expected declaration to have at least one class-like declaration")).members,!0)}()||(Kw(n)||KY(n)?l(a,!1):void 0)||un(s,i=>er6(i,e,t,n,!1,r));function l(i,a){if(!i)return;let o=i.filter(a?wW:yF),s=o.filter(e=>!!e.body);return o.length?0!==s.length?s.map(r=>er6(r,e,t,n)):[er6(uX(o),e,t,n,!1,r)]:void 0}}function er6(e,t,n,r,i,a){let o=t.symbolToString(n),s=esT.getSymbolKind(t,n,r),l=n.parent?t.symbolToString(n.parent,r):"";return er3(t,e,s,o,l,i,a)}function er3(e,t,n,r,i,a,o,s){let l=t.getSourceFile();return s||(s=W1(hp(t)||t,l)),{fileName:l.fileName,textSpan:s,kind:n,name:r,containerKind:void 0,containerName:i,...erX.toContextSpan(s,l,erX.getContextNode(t)),isLocal:!function e(t,n){if(t.isDeclarationVisible(n))return!0;if(!n.parent)return!1;if(gZ(n.parent)&&n.parent.initializer===n)return e(t,n.parent);switch(n.kind){case 169:case 174:case 175:case 171:if(S6(n,8))return!1;case 173:case 299:case 300:case 207:case 228:case 216:case 215:return e(t,n.parent);default:return!1}}(e,t),isAmbient:!!(16777216&t.flags),unverified:a,failedAliasResolution:o}}function er5(e,t,n){return er6(t,e,t.symbol,t,!1,n)}function er7(e,t){return d0(e,e=>mF(e,t))}var er9=dj({"src/services/goToDefinition.ts"(){ecu()}}),eie={};dH(eie,{createDefinitionInfo:()=>er6,findReferenceInPosition:()=>er7,getDefinitionAndBoundSpan:()=>er2,getDefinitionAtPosition:()=>er$,getReferenceAtPosition:()=>erZ,getTypeDefinitionAtPosition:()=>er0});var eit=dj({"src/services/_namespaces/ts.GoToDefinition.ts"(){er9()}});function ein(e){let{file:t,program:n,span:r,cancellationToken:i,preferences:a}=e,o=t.text,s=n.getCompilerOptions(),l=n.getTypeChecker(),c=[];return function e(n){if(n&&0!==n.getFullWidth()){switch(n.kind){case 264:case 260:case 261:case 259:case 228:case 215:case 171:case 216:i.throwIfCancellationRequested()}if(!(!mj(r,n.pos,n.getFullWidth())||y0(n)&&!RG(n)))return a.includeInlayVariableTypeHints&&Nr(n)?_(n):a.includeInlayPropertyDeclarationTypeHints&&wV(n)?_(n):a.includeInlayEnumMemberValueHints&&NQ(n)?function(e){if(e.initializer)return;let t=l.getConstantValue(e);if(void 0!==t){var n,r;n=t.toString(),r=e.end,c.push({text:`= ${f(n,cy)}`,position:r,kind:"Enum",whitespaceBefore:!0})}}(n):("literals"===a.includeInlayParameterNameHints||"all"===a.includeInlayParameterNameHints)&&(Rg(n)||Rv(n))?function(e){let n=e.arguments;if(!n||!n.length)return;let r=[],i=l.getResolvedSignatureForSignatureHelp(e,r);if(i&&r.length)for(let e=0;ei.test(o.substring(e.pos,e.end)))}(u,i))continue;d=r.getStart(),c.push({text:`${n?"...":""}${f(i,cy)}:`,position:d,kind:"Parameter",whitespaceAfter:!0})}}}(n):(a.includeInlayFunctionParameterTypeHints&&yB(n)&&kM(n)&&function(e){let t=l.getSignatureFromDeclaration(e);if(t)for(let n=0;nt?e.substr(0,t-3)+"...":e}function m(e){let n=iK();return vu(r=>{let i=l.typeToTypeNode(e,void 0,71286784);T.assertIsDefined(i,"should always get typenode"),n.writeNode(4,i,t,r)})}function h(e){if((xQ(e)||Nr(e)&&bK(e))&&e.initializer){let t=xi(e.initializer);return!(p(t)||Rv(t)||Rm(t)||gf(t))}return!0}}var eir=dj({"src/services/inlayHints.ts"(){ecu(),cy=30,cg=e=>RegExp(`^\\s?/\\*\\*?\\s?${e}\\s?\\*\\/\\s?$`)}}),eii={};dH(eii,{provideInlayHints:()=>ein});var eia=dj({"src/services/_namespaces/ts.InlayHints.ts"(){eir()}});function eio(e,t){let n=[];return zw(e,e=>{for(let r of function(e){switch(e.kind){case 344:case 351:return[e];case 341:case 349:return[e,e.parent];default:return Tq(e)}}(e)){let i=Ds(r)&&r.tags&&d0(r.tags,e=>330===e.kind&&("inheritDoc"===e.tagName.escapedText||"inheritdoc"===e.tagName.escapedText));if(void 0===r.comment&&!i||Ds(r)&&349!==e.kind&&341!==e.kind&&r.tags&&r.tags.some(e=>349===e.kind||341===e.kind)&&!r.tags.some(e=>344===e.kind||345===e.kind))continue;let a=r.comment?eic(r.comment,t):[];i&&i.comment&&(a=a.concat(eic(i.comment,t))),d6(n,a,eis)||n.push(a)}}),ua(dQ(n,[zZ()]))}function eis(e,t){return d3(e,t,(e,t)=>e.kind===t.kind&&e.text===t.text)}function eil(e,t){let n=[];return zw(e,e=>{let r=hq(e);if(!r.some(e=>349===e.kind||341===e.kind)||r.some(e=>344===e.kind||345===e.kind))for(let e of r)n.push({name:e.tagName.text,text:function(e,t){let{comment:n,kind:r}=e,i=function(e){switch(e){case 344:return zj;case 351:return zH;case 348:return zq;case 349:case 341:return zz;default:return zW}}(r);switch(r){case 352:let a=e.typeExpression;return a?l(a):void 0===n?void 0:eic(n,t);case 332:case 331:return l(e.class);case 348:let o=[];if(e.constraint&&o.push(zW(e.constraint.getText())),dW(e.typeParameters)){dW(o)&&o.push(zG());let t=e.typeParameters[e.typeParameters.length-1];dz(e.typeParameters,e=>{o.push(i(e.getText())),t!==e&&o.push(...[zU(27),zG()])})}return n&&o.push(...[zG(),...eic(n,t)]),o;case 347:case 353:return l(e.typeExpression);case 349:case 341:case 351:case 344:case 350:let{name:s}=e;return s?l(s):void 0===n?void 0:eic(n,t);default:return void 0===n?void 0:eic(n,t)}function l(e){var r;return r=e.getText(),n?r.match(/^https?$/)?[zW(r),...eic(n,t)]:[i(r),zG(),...eic(n,t)]:[zW(r)]}}(e,t)})}),n}function eic(e,t){return"string"==typeof e?[zW(e)]:uo(e,e=>324===e.kind?[zW(e.text)]:z$(e,t))}function eid(){return cb||(cb=un(cv,e=>({name:e,kind:"keyword",kindModifiers:"",sortText:erh.SortText.LocationPriority})))}function eiu(){return cE||(cE=un(cv,e=>({name:`@${e}`,kind:"keyword",kindModifiers:"",sortText:erh.SortText.LocationPriority})))}function ei_(e){return{name:e,kind:"",kindModifiers:"",displayParts:[zW(e)],documentation:o,tags:void 0,codeActions:void 0}}function eip(e){if(!wb(e.name))return o;let t=e.name.text,n=e.parent,r=n.parent;return yF(r)?uu(r.parameters,r=>{if(!wb(r.name))return;let i=r.name.text;if(!n.tags.some(t=>t!==e&&Dx(t)&&wb(t.name)&&t.name.escapedText===i)&&(void 0===t||pn(i,t)))return{name:i,kind:"parameter",kindModifiers:"",sortText:erh.SortText.LocationPriority}}):[]}function eif(e){return{name:e,kind:"parameter",kindModifiers:"",displayParts:[zW(e)],documentation:o,tags:void 0,codeActions:void 0}}function eim(e,t,n,r){let i=Wv(t,n),a=m9(i,Ds);if(a&&(void 0!==a.comment||dW(a.tags)))return;let o=i.getStart(t);if(!a&&o(function e(t,n){switch(t.kind){case 259:case 215:case 171:case 173:case 170:case 216:return{commentOwner:t,parameters:t.parameters,hasReturn:eih(t,n)};case 299:return e(t.initializer,n);case 260:case 261:case 263:case 302:case 262:return{commentOwner:t};case 168:return t.type&&wZ(t.type)?{commentOwner:t,parameters:t.type.parameters,hasReturn:eih(t.type,n)}:{commentOwner:t};case 240:{let e=t.declarationList.declarations,r=1===e.length&&e[0].initializer?function(e){for(;214===e.kind;)e=e.expression;switch(e.kind){case 215:case 216:return e;case 228:return d0(e.members,wW)}}(e[0].initializer):void 0;return r?{commentOwner:t,parameters:r.parameters,hasReturn:eih(r,n)}:{commentOwner:t}}case 308:return"quit";case 264:return 264===t.parent.kind?void 0:{commentOwner:t};case 241:return e(t.expression,n);case 223:if(0===Tf(t))return"quit";return yF(t.right)?{commentOwner:t,parameters:t.right.parameters,hasReturn:eih(t.right,n)}:{commentOwner:t};case 169:let r=t.initializer;if(r&&(Rx(r)||RS(r)))return{commentOwner:t,parameters:r.parameters,hasReturn:eih(r,n)}}})(e,r));if(!s)return;let{commentOwner:l,parameters:c,hasReturn:d}=s,u=g$(l)&&l.jsDoc?l.jsDoc:void 0,_=uJ(u);if(l.getStart(t)`${p} * @param ${f?n?"{...any} ":"{any} ":""}${79===t.kind?t.text:"param"+r}${e}`).join(""):"")+(d?`${p} * @returns${e}`:""),h=(u||[]).some(e=>!!e.tags);if(m&&!h){let t="/**"+e+p+" * ",r=o===n?e+p:"";return{newText:t+e+m+p+" */"+r,caretOffset:t.length}}return{newText:"/** */",caretOffset:3}}function eih(e,t){return!!(null==t?void 0:t.generateReturnInDocTemplate)&&(wZ(e)||RS(e)&&gp(e.body)||yB(e)&&e.body&&RJ(e.body)&&!!b6(e.body,e=>e))}var eiy=dj({"src/services/jsDoc.ts"(){ecu(),cv=["abstract","access","alias","argument","async","augments","author","borrows","callback","class","classdesc","constant","constructor","constructs","copyright","default","deprecated","description","emits","enum","event","example","exports","extends","external","field","file","fileoverview","fires","function","generator","global","hideconstructor","host","ignore","implements","inheritdoc","inner","instance","interface","kind","lends","license","link","linkcode","linkplain","listens","member","memberof","method","mixes","module","name","namespace","overload","override","package","param","private","prop","property","protected","public","readonly","requires","returns","satisfies","see","since","static","summary","template","this","throws","todo","tutorial","type","typedef","var","variation","version","virtual","yields"],cT=ei_}}),eig={};dH(eig,{getDocCommentTemplateAtPosition:()=>eim,getJSDocParameterNameCompletionDetails:()=>eif,getJSDocParameterNameCompletions:()=>eip,getJSDocTagCompletionDetails:()=>ei_,getJSDocTagCompletions:()=>eiu,getJSDocTagNameCompletionDetails:()=>cT,getJSDocTagNameCompletions:()=>eid,getJsDocCommentsFromDeclarations:()=>eio,getJsDocTagsFromDeclarations:()=>eil});var eiv=dj({"src/services/_namespaces/ts.JsDoc.ts"(){eiy()}});function eib(e,t,n,r,i,a){var o,s;let l;let c=esW.ChangeTracker.fromContext({host:n,formatContext:t,preferences:i}),d="SortAndCombine"===a||"All"===a,u="RemoveUnused"===a||"All"===a,_=eiE(e,e.statements.filter(Nm)),p=(o=d?()=>2===eiO(_,i):void 0,l="boolean"==typeof i.organizeImportsIgnoreCase?i.organizeImportsIgnoreCase:null!=(s=null==o?void 0:o())&&s,eiU(i,l)),f=t=>(u&&(t=function(e,t,n){let r=n.getTypeChecker(),i=n.getCompilerOptions(),a=r.getJsxNamespace(t),o=r.getJsxFragmentFactory(t),s=!!(2&t.transformFlags),l=[];for(let n of e){let{importClause:e,moduleSpecifier:r}=n;if(!e){l.push(n);continue}let{name:i,namedBindings:a}=e;if(i&&!c(i)&&(i=void 0),a){if(Nb(a))c(a.name)||(a=void 0);else{let e=a.elements.filter(e=>c(e.name));e.lengthwr(e)&&e.text===n)}(t,r)&&(t.isDeclarationFile?l.push(nU.createImportDeclaration(n.modifiers,void 0,r,void 0)):l.push(n))}return l;function c(e){return s&&(e.text===a||o&&e.text===o)&&Jn(i.jsx)||erX.Core.isSymbolReferencedInFile(e,r,t)}}(t,e,r)),d&&(t=eiS(t,p,e)),d&&(t=uj(t,(e,t)=>eiG(e,t,p))),t);for(let t of(_.forEach(e=>m(e,f)),"RemoveUnused"!==a&&m(e.statements.filter(NA),e=>eiL(e,p)),e.statements.filter(v7)))t.body&&(eiE(e,t.body.statements.filter(Nm)).forEach(e=>m(e,f)),"RemoveUnused"!==a&&m(t.body.statements.filter(NA),e=>eiL(e,p)));return c.getChanges();function m(r,i){if(0===dW(r))return;qs(r[0]);let a=d?_a(r,e=>eiT(e.moduleSpecifier)):[r],o=uo(d?uj(a,(e,t)=>eiR(e[0].moduleSpecifier,t[0].moduleSpecifier,p)):a,e=>eiT(e[0].moduleSpecifier)?i(e):e);if(0===o.length)c.deleteNodes(e,r,{leadingTriviaOption:esW.LeadingTriviaOption.Exclude,trailingTriviaOption:esW.TrailingTriviaOption.Include},!0);else{let i={leadingTriviaOption:esW.LeadingTriviaOption.Exclude,trailingTriviaOption:esW.TrailingTriviaOption.Include,suffix:zQ(n,t.options)};c.replaceNodeWithNodes(e,r[0],o,i);let a=c.nodeHasTrailingComment(e,r[0],i);c.deleteNodes(e,r.slice(1),{trailingTriviaOption:esW.TrailingTriviaOption.Include},a)}}}function eiE(e,t){let n=mL(e.languageVersion,!1,e.languageVariant),r=[],i=0;for(let a of t)r[i]&&function(e,t,n){let r=t.getFullStart(),i=t.getStart();n.setText(e.text,r,i-r);let a=0;for(;n.getTokenPos()=2)return!0;return!1}(e,a,n)&&i++,r[i]||(r[i]=[]),r[i].push(a);return r}function eiT(e){return void 0!==e&&g8(e)?e.text:void 0}function eix(e,t,n){return eiS(e,t?_K:_W,n)}function eiS(e,t,n){if(0===e.length)return e;let{importWithoutClause:r,typeOnlyImports:i,regularImports:a}=function(e){let t;let n={defaultImports:[],namespaceImports:[],namedImports:[]},r={defaultImports:[],namespaceImports:[],namedImports:[]};for(let i of e){if(void 0===i.importClause){t=t||i;continue}let e=i.importClause.isTypeOnly?n:r,{name:a,namedBindings:o}=i.importClause;a&&e.defaultImports.push(i),o&&(Nb(o)?e.namespaceImports.push(i):e.namedImports.push(i))}return{importWithoutClause:t,typeOnlyImports:n,regularImports:r}}(e),s=[];for(let e of(r&&s.push(r),[a,i])){let r;let a=e===i,{defaultImports:l,namespaceImports:c,namedImports:d}=e;if(!a&&1===l.length&&1===c.length&&0===d.length){let e=l[0];s.push(eiC(e,e.importClause.name,c[0].importClause.namedBindings));continue}for(let e of uj(c,(e,n)=>t(e.importClause.namedBindings.name.text,n.importClause.namedBindings.name.text)))s.push(eiC(e,void 0,e.importClause.namedBindings));let u=uK(l),_=uK(d),p=null!=u?u:_;if(!p)continue;let f=[];if(1===l.length)r=l[0].importClause.name;else for(let e of l)f.push(nU.createImportSpecifier(!1,nU.createIdentifier("default"),e.importClause.name));f.push(...uo(d,e=>un(function(e){var t;return(null==(t=e.importClause)?void 0:t.namedBindings)&&NT(e.importClause.namedBindings)?e.importClause.namedBindings.elements:void 0}(e),e=>e.name&&e.propertyName&&e.name.escapedText===e.propertyName.escapedText?nU.updateImportSpecifier(e,e.isTypeOnly,void 0,e.name):e)));let m=nU.createNodeArray(eik(f,t),null==_?void 0:_.importClause.namedBindings.elements.hasTrailingComma),h=0===m.length?r?void 0:nU.createNamedImports(o):_?nU.updateNamedImports(_.importClause.namedBindings,m):nU.createNamedImports(m);n&&h&&(null==_?void 0:_.importClause.namedBindings)&&!A2(_.importClause.namedBindings,n)&&IE(h,2),a&&r&&h?(s.push(eiC(p,r,void 0)),s.push(eiC(null!=_?_:p,void 0,h))):s.push(eiC(p,r,h))}return s}function eiA(e,t){return eiL(e,t?_K:_W)}function eiL(e,t){if(0===e.length)return e;let{exportWithoutClause:n,namedExports:r,typeOnlyExports:i}=function(e){let t;let n=[],r=[];for(let i of e)void 0===i.exportClause?t=t||i:i.isTypeOnly?r.push(i):n.push(i);return{exportWithoutClause:t,namedExports:n,typeOnlyExports:r}}(e),a=[];for(let e of(n&&a.push(n),[r,i])){if(0===e.length)continue;let n=[];n.push(...uo(e,e=>e.exportClause&&NL(e.exportClause)?e.exportClause.elements:o));let r=eik(n,t),i=e[0];a.push(nU.updateExportDeclaration(i,i.modifiers,i.isTypeOnly,i.exportClause&&(NL(i.exportClause)?nU.updateNamedExports(i.exportClause,r):nU.updateNamespaceExport(i.exportClause,i.exportClause.name)),i.moduleSpecifier,i.assertClause))}return a}function eiC(e,t,n){return nU.updateImportDeclaration(e,e.modifiers,nU.updateImportClause(e.importClause,e.importClause.isTypeOnly,t,n),e.moduleSpecifier,e.assertClause)}function eik(e,t){return uj(e,(e,n)=>eiI(e,n,t))}function eiI(e,t,n){return _$(e.isTypeOnly,t.isTypeOnly)||n(e.name.text,t.name.text)}function eiw(e,t,n){return eiR(e,t,n?_K:_W)}function eiR(e,t,n){let r=void 0===e?void 0:eiT(e),i=void 0===t?void 0:eiT(t);return _$(void 0===r,void 0===i)||_$(mR(r),mR(i))||n(r,i)}function eiN(e){var t;switch(e.kind){case 268:return null==(t=_E(e.moduleReference,ND))?void 0:t.expression;case 269:return e.moduleSpecifier;case 240:return e.declarationList.declarations[0].initializer.arguments[0]}}function eiD(e,t){return eiO(eiE(e,e.statements.filter(Nm)),t)}function eiO(e,t){let n=eiU(t,!1),r=eiU(t,!0),i=3,a=!1;for(let o of e){if(o.length>1){let e=uI(o,e=>{var t,n;return null!=(n=null==(t=_E(e.moduleSpecifier,wr))?void 0:t.text)?n:""},n,r);if(e&&(i&=e,a=!0),!i)return i}let e=d0(o,e=>{var t,n;return(null==(n=_E(null==(t=e.importClause)?void 0:t.namedBindings,NT))?void 0:n.elements.length)>1});if(e){let n=cx(e.importClause.namedBindings.elements,t);if(n&&(i&=n,a=!0),!i)return i}if(3!==i)return i}return a?0:i}function eiM(e,t){return uI(e,e=>eiT(eiN(e))||"",eiU(t,!1),eiU(t,!0))}function eiP(e,t,n){let r=u0(e,t,_C,(e,t)=>eiG(e,t,n));return r<0?~r:r}function eiF(e,t,n){let r=u0(e,t,_C,(e,t)=>eiI(e,t,n));return r<0?~r:r}function eiG(e,t,n){return eiR(eiN(e),eiN(t),n)||_U(eiB(e),eiB(t))}function eiB(e){var t;switch(e.kind){case 269:if(!e.importClause)return 0;if(e.importClause.isTypeOnly)return 1;if((null==(t=e.importClause.namedBindings)?void 0:t.kind)===271)return 2;if(e.importClause.name)return 3;return 4;case 268:return 5;case 240:return 6}}function eiU(e,t){var n,r,i,a;let o,s,l,c,d,u;return"unicode"===(null!=(n=e.organizeImportsCollation)?n:"ordinal")?("auto"===(o=e.organizeImportsLocale)&&(o=y),void 0===o&&(o="en"),l=(s=Intl.Collator.supportedLocalesOf(o)).length?s[0]:"en",c=null!=(r=e.organizeImportsCaseFirst)&&r,d=null!=(i=e.organizeImportsNumericCollation)&&i,u=null==(a=e.organizeImportsAccentCollation)||a,new Intl.Collator(l,{usage:"sort",caseFirst:c||"false",sensitivity:t?u?"accent":"base":u?"variant":"case",numeric:d}).compare):t?_K:_W}var eiV=dj({"src/services/organizeImports.ts"(){ecu(),cx=_O((e,t)=>uk(e,(e,t)=>_$(e.isTypeOnly,t.isTypeOnly))?uI(e,e=>e.name.text,eiU(t,!1),eiU(t,!0)):0,new class{has([e,t]){return this._lastPreferences===t&&!!this._cache&&this._cache.has(e)}get([e,t]){if(this._lastPreferences===t&&this._cache)return this._cache.get(e)}set([e,t],n){this._lastPreferences!==t&&(this._lastPreferences=t,this._cache=void 0),null!=this._cache||(this._cache=new WeakMap),this._cache.set(e,n)}})}}),eij={};dH(eij,{coalesceExports:()=>eiA,coalesceImports:()=>eix,compareImportOrExportSpecifiers:()=>eiI,compareImportsOrRequireStatements:()=>eiG,compareModuleSpecifiers:()=>eiw,detectImportDeclarationSorting:()=>eiM,detectImportSpecifierSorting:()=>cx,detectSorting:()=>eiD,getImportDeclarationInsertionIndex:()=>eiP,getImportSpecifierInsertionIndex:()=>eiF,getOrganizeImportsComparer:()=>eiU,organizeImports:()=>eib});var eiH=dj({"src/services/_namespaces/ts.OrganizeImports.ts"(){eiV()}});function eiK(e,t){let n=[];return function(e,t,n){let r=40,i=0,a=[...e.statements,e.endOfFileToken],o=a.length;for(;i...");case 285:let s;return eiY(s=mq(e.openingFragment.getStart(t),e.closingFragment.getEnd()),"code",s,!1,"<>...");case 282:case 283:return function(e){if(0!==e.properties.length)return eiJ(e.getStart(t),e.getEnd(),"code")}(e.attributes);case 225:case 14:return function(e){if(14!==e.kind||0!==e.text.length)return eiJ(e.getStart(t),e.getEnd(),"code")}(e);case 204:return c(e,!1,!Rp(e.parent),22);case 216:return function(e){if(!(RJ(e.body)||RT(e.body)||Le(e.body.getFullStart(),e.body.getEnd(),t)))return eiY(mq(e.body.getFullStart(),e.body.getEnd()),"code",W1(e))}(e);case 210:return function(e){if(!e.arguments.length)return;let n=Wo(e,20,t),r=Wo(e,21,t);if(!(!n||!r||Le(n.pos,r.pos,t)))return eiX(n,r,e,t,!1,!0)}(e);case 214:return function(e){if(!Le(e.getStart(),e.getEnd(),t))return eiY(mq(e.getStart(),e.getEnd()),"code",W1(e))}(e);case 272:case 276:case 296:return function(e){if(!e.elements.length)return;let n=Wo(e,18,t),r=Wo(e,19,t);if(!(!n||!r||Le(n.pos,r.pos,t)))return eiX(n,r,e,t,!1,!1)}(e)}function l(e,t=18){return c(e,!1,!Rf(e.parent)&&!Rg(e.parent),t)}function c(n,r=!1,i=!0,a=18,o=18===a?19:23){let s=Wo(e,a,t),l=Wo(e,o,t);return s&&l&&eiX(s,l,n,t,r,i)}}(i,e);o&&n.push(o),r--,Rg(i)?(r++,s(i.expression),r--,i.arguments.forEach(s),null==(a=i.typeArguments)||a.forEach(s)):RQ(i)&&i.elseStatement&&RQ(i.elseStatement)?(s(i.expression),s(i.thenStatement),r++,s(i.elseStatement),r--):i.forEachChild(s),r++}}(e,t,n),function(e,t){let n=[];for(let r of e.getLineStarts()){let i=e.getLineEndOfPosition(r),a=eiW(e.text.substring(r,i));if(!(!a||WG(e,r))){if(a[1]){let e=n.pop();e&&(e.textSpan.length=i-e.textSpan.start,e.hintSpan.length=i-e.textSpan.start,t.push(e))}else{let t=mq(e.text.indexOf("//",r),i);n.push(eiY(t,"region",t,!1,a[2]||"#region"))}}}}(e,n),n.sort((e,t)=>e.textSpan.start-t.textSpan.start)}function eiW(e){return pn(e=b(e),"//")?(e=g(e.slice(2)),cS.exec(e)):null}function eiz(e,t,n,r){let i=mb(t.text,e);if(!i)return;let a=-1,o=-1,s=0,l=t.getFullText();for(let{kind:e,pos:t,end:d}of i)switch(n.throwIfCancellationRequested(),e){case 2:if(eiW(l.slice(t,d))){c(),s=0;break}0===s&&(a=t),o=d,s++;break;case 3:c(),r.push(eiJ(t,d,"comment")),s=0;break;default:T.assertNever(e)}function c(){s>1&&r.push(eiJ(a,o,"comment"))}c()}function eiq(e,t,n,r){wi(e)||eiz(e.pos,t,n,r)}function eiJ(e,t,n){return eiY(mq(e,t),n)}function eiX(e,t,n,r,i=!1,a=!0){return eiY(mq(a?e.getFullStart():e.getStart(r),t.getEnd()),"code",W1(n,r),i)}function eiY(e,t,n=e,r=!1,i="..."){return{textSpan:e,kind:t,hintSpan:n,bannerText:i,autoCollapse:r}}var ei$=dj({"src/services/outliningElementsCollector.ts"(){ecu(),cS=/^#(end)?region(?:\s+(.*))?(?:\r)?$/}}),eiQ={};dH(eiQ,{collectElements:()=>eiK});var eiZ=dj({"src/services/_namespaces/ts.OutliningElementsCollector.ts"(){ei$()}});function ei0(e,t){cA.set(e,t)}function ei1(e){return u9(ul(cA.values(),t=>{var n;return e.cancellationToken&&e.cancellationToken.isCancellationRequested()||!(null==(n=t.kinds)?void 0:n.some(t=>eal(t,e.kind)))?void 0:t.getAvailableActions(e)}))}function ei2(e,t,n){let r=cA.get(t);return r&&r.getEditsForAction(e,n)}var ei4=dj({"src/services/refactorProvider.ts"(){ecu(),eoY(),cA=new Map}});function ei8(e,t=!0){let{file:n,program:r}=e,i=qJ(e),a=Wv(n,i.start),o=a.parent&&1&Ad(a.parent)&&t?a.parent:zS(a,n,i);if(!o||!N0(o.parent)&&!(Nu(o.parent)&&v7(o.parent.parent)))return{error:LX(tA.Could_not_find_export_statement)};let s=r.getTypeChecker(),l=function(e,t){if(N0(e))return e.symbol;let n=e.parent.symbol;return n.valueDeclaration&&ba(n.valueDeclaration)?t.getMergedSymbol(n):n}(o.parent,s),c=Ad(o)||(NS(o)&&!o.isExportEquals?1025:0),d=!!(1024&c);if(!(1&c)||!d&&l.exports.has("default"))return{error:LX(tA.This_file_already_has_a_default_export)};let u=e=>wb(e)&&s.getSymbolAtLocation(e)?void 0:{error:LX(tA.Can_only_convert_named_export)};switch(o.kind){case 259:case 260:case 261:case 263:case 262:case 264:if(!o.name)return;return u(o.name)||{exportNode:o,exportName:o.name,wasDefault:d,exportingModuleSymbol:l};case 240:{if(!(2&o.declarationList.flags)||1!==o.declarationList.declarations.length)return;let e=uz(o.declarationList.declarations);if(!e.initializer)return;return T.assert(!d,"Can't have a default flag here"),u(e.name)||{exportNode:o,exportName:e.name,wasDefault:d,exportingModuleSymbol:l}}case 274:if(o.isExportEquals)return;return u(o.expression)||{exportNode:o,exportName:o.expression,wasDefault:d,exportingModuleSymbol:l};default:return}}function ei6(e,t){return nU.createImportSpecifier(!1,e===t?void 0:nU.createIdentifier(e),nU.createIdentifier(t))}function ei3(e,t){return nU.createExportSpecifier(!1,e===t?void 0:nU.createIdentifier(e),nU.createIdentifier(t))}var ei5=dj({"src/services/refactors/convertExport.ts"(){ecu(),eoY(),cL="Convert export",cC={name:"Convert default export to named export",description:tA.Convert_default_export_to_named_export.message,kind:"refactor.rewrite.export.named"},ck={name:"Convert named export to default export",description:tA.Convert_named_export_to_default_export.message,kind:"refactor.rewrite.export.default"},ei0(cL,{kinds:[cC.kind,ck.kind],getAvailableActions:function(e){let t=ei8(e,"invoked"===e.triggerReason);if(!t)return o;if(!eas(t)){let e=t.wasDefault?cC:ck;return[{name:cL,description:e.description,actions:[e]}]}return e.preferences.provideRefactorNotApplicableReason?[{name:cL,description:tA.Convert_default_export_to_named_export.message,actions:[{...cC,notApplicableReason:t.error},{...ck,notApplicableReason:t.error}]}]:o},getEditsForAction:function(e,t){T.assert(t===cC.name||t===ck.name,"Unexpected action name");let n=ei8(e);return T.assert(n&&!eas(n),"Expected applicable refactor info"),{edits:esW.ChangeTracker.with(e,t=>{var r,i,a;return r=e.file,i=e.program,a=e.cancellationToken,void(function(e,{wasDefault:t,exportNode:n,exportName:r},i,a){if(t){if(NS(n)&&!n.isExportEquals){let t=n.expression,r=ei3(t.text,t.text);i.replaceNode(e,n,nU.createExportDeclaration(void 0,!1,nU.createNamedExports([r])))}else i.delete(e,T.checkDefined(zA(n,88),"Should find a default keyword in modifier list"))}else{let t=T.checkDefined(zA(n,93),"Should find an export keyword in modifier list");switch(n.kind){case 259:case 260:case 261:i.insertNodeAfter(e,t,nU.createToken(88));break;case 240:let o=uz(n.declarationList.declarations);if(!erX.Core.isSymbolReferencedInFile(r,a,e)&&!o.type){i.replaceNode(e,n,nU.createExportDefault(T.checkDefined(o.initializer,"Initializer was previously known to be present")));break}case 263:case 262:case 264:i.deleteModifier(e,t),i.insertNodeAfter(e,n,nU.createExportDefault(nU.createIdentifier(r.text)));break;default:T.fail(`Unexpected exportNode kind ${n.kind}`)}}}(r,n,t,i.getTypeChecker()),function(e,{wasDefault:t,exportName:n,exportingModuleSymbol:r},i,a){let o=e.getTypeChecker(),s=T.checkDefined(o.getSymbolAtLocation(n),"Export name should resolve to a symbol");erX.Core.eachExportReference(e.getSourceFiles(),o,a,s,r,n.text,t,e=>{if(n===e)return;let r=e.getSourceFile();t?function(e,t,n,r){let{parent:i}=t;switch(i.kind){case 208:n.replaceNode(e,t,nU.createIdentifier(r));break;case 273:case 278:n.replaceNode(e,i,ei6(r,i.name.text));break;case 270:{T.assert(i.name===t,"Import clause name should match provided ref");let a=ei6(r,t.text),{namedBindings:o}=i;if(o){if(271===o.kind){n.deleteRange(e,{pos:t.getStart(e),end:o.getStart(e)});let a=wr(i.parent.moduleSpecifier)?zh(i.parent.moduleSpecifier,e):1,s=zf(void 0,[ei6(r,t.text)],i.parent.moduleSpecifier,a);n.insertNodeAfter(e,i.parent,s)}else n.delete(e,t),n.insertNodeAtEndOfList(e,o.elements,a)}else n.replaceNode(e,t,nU.createNamedImports([a]));break}case 202:n.replaceNode(e,i,nU.createImportTypeNode(i.argument,i.assertions,nU.createIdentifier(r),i.typeArguments,i.isTypeOf));break;default:T.failBadSyntaxKind(i)}}(r,e,i,n.text):function(e,t,n){let r=t.parent;switch(r.kind){case 208:n.replaceNode(e,t,nU.createIdentifier("default"));break;case 273:{let t=nU.createIdentifier(r.name.text);1===r.parent.elements.length?n.replaceNode(e,r.parent,t):(n.delete(e,r),n.insertNodeBefore(e,r.parent,t));break}case 278:n.replaceNode(e,r,ei3("default",r.name.text));break;default:T.assertNever(r,`Unexpected parent kind ${r.kind}`)}}(r,e,i)})}(i,n,t,a))}),renameFilename:void 0,renameLocation:void 0}}})}});function ei7(e,t=!0){let{file:n}=e,r=qJ(e),i=Wv(n,r.start),a=t?m9(i,Nm):zS(i,n,r);if(!a||!Nm(a))return{error:"Selection is not an import declaration."};let o=r.start+r.length,s=Wx(a,a.parent,n);if(s&&o>s.getStart())return;let{importClause:l}=a;return l?l.namedBindings?271===l.namedBindings.kind?{convertTo:0,import:l.namedBindings}:ei9(e.program,l)?{convertTo:1,import:l.namedBindings}:{convertTo:2,import:l.namedBindings}:{error:LX(tA.Could_not_find_namespace_import_or_named_imports)}:{error:LX(tA.Could_not_find_import_clause)}}function ei9(e,t){return Cp(e.getCompilerOptions())&&function(e,t){let n=t.resolveExternalModuleName(e);if(!n)return!1;let r=t.resolveExternalModuleSymbol(n);return n!==r}(t.parent.moduleSpecifier,e.getTypeChecker())}function eae(e){return Rh(e)?e.name:e.right}function eat(e,t,n,r,i=ei9(t,r.parent)){let a=t.getTypeChecker(),o=r.parent.parent,{moduleSpecifier:s}=o,l=new Set;r.elements.forEach(e=>{let t=a.getSymbolAtLocation(e.name);t&&l.add(t)});let c=s&&wr(s)?enn.moduleSpecifierToValidIdentifier(s.text,99):"module",d=r.elements.some(function(t){return!!erX.Core.eachSymbolReferenceInFile(t.name,a,e,e=>{let t=a.resolveName(c,e,67108863,!0);return!!t&&(!l.has(t)||NC(e.parent))})})?q_(c,e):c,u=new Set;for(let t of r.elements){let r=(t.propertyName||t.name).text;erX.Core.eachSymbolReferenceInFile(t.name,a,e,i=>{let a=nU.createPropertyAccessExpression(nU.createIdentifier(d),r);NY(i.parent)?n.replaceNode(e,i.parent,nU.createPropertyAssignment(i.text,a)):NC(i.parent)?u.add(t):n.replaceNode(e,i,a)})}if(n.replaceNode(e,r,i?nU.createIdentifier(d):nU.createNamespaceImport(nU.createIdentifier(d))),u.size){let t=u9(u.values(),e=>nU.createImportSpecifier(e.isTypeOnly,e.propertyName&&nU.createIdentifier(e.propertyName.text),nU.createIdentifier(e.name.text)));n.insertNodeAfter(e,r.parent.parent,ean(o,void 0,t))}}function ean(e,t,n){return nU.createImportDeclaration(void 0,nU.createImportClause(!1,t,n&&n.length?nU.createNamedImports(n):void 0),e.moduleSpecifier,void 0)}var ear=dj({"src/services/refactors/convertImport.ts"(){ecu(),eoY(),ei0(cI="Convert import",{kinds:u5(cw={0:{name:"Convert namespace import to named imports",description:tA.Convert_namespace_import_to_named_imports.message,kind:"refactor.rewrite.import.named"},2:{name:"Convert named imports to namespace import",description:tA.Convert_named_imports_to_namespace_import.message,kind:"refactor.rewrite.import.namespace"},1:{name:"Convert named imports to default import",description:tA.Convert_named_imports_to_default_import.message,kind:"refactor.rewrite.import.default"}}).map(e=>e.kind),getAvailableActions:function(e){let t=ei7(e,"invoked"===e.triggerReason);if(!t)return o;if(!eas(t)){let e=cw[t.convertTo];return[{name:cI,description:e.description,actions:[e]}]}return e.preferences.provideRefactorNotApplicableReason?u5(cw).map(e=>({name:cI,description:e.description,actions:[{...e,notApplicableReason:t.error}]})):o},getEditsForAction:function(e,t){T.assert(uv(u5(cw),e=>e.name===t),"Unexpected action name");let n=ei7(e);return T.assert(n&&!eas(n),"Expected applicable refactor info"),{edits:esW.ChangeTracker.with(e,t=>{var r,i;let a;return r=e.file,a=(i=e.program).getTypeChecker(),void(0===n.convertTo?function(e,t,n,r,i){let a=!1,o=[],s=new Map;erX.Core.eachSymbolReferenceInFile(r.name,t,e,e=>{if(gr(e.parent)){var n;let r=eae(e.parent).text;t.resolveName(r,e,67108863,!0)&&s.set(r,!0),T.assert((Rh(n=e.parent)?n.expression:n.left)===e,"Parent expression should match id"),o.push(e.parent)}else a=!0});let l=new Map;for(let t of o){let r=eae(t).text,i=l.get(r);void 0===i&&l.set(r,i=s.has(r)?q_(r,e):r),n.replaceNode(e,t,nU.createIdentifier(i))}let c=[];l.forEach((e,t)=>{c.push(nU.createImportSpecifier(!1,e===t?void 0:nU.createIdentifier(t),nU.createIdentifier(e)))});let d=r.parent.parent;a&&!i?n.insertNodeAfter(e,d,ean(d,void 0,c)):n.replaceNode(e,d,ean(d,a?nU.createIdentifier(r.name.text):void 0,c))}(r,a,t,n.import,Cp(i.getCompilerOptions())):eat(r,i,t,n.import,1===n.convertTo))}),renameFilename:void 0,renameLocation:void 0}}})}});function eai(e,t=!0){let n,{file:r,startPosition:i}=e,a=EZ(r),s=Wv(r,i),l=W6(qJ(e)),c=l.pos===l.end&&t,d=m9(s,e=>e.parent&&y0(e)&&!eaa(l,e.parent,r)&&(c||We(s,r,l.pos,l.end)));if(!d||!y0(d))return{error:LX(tA.Selection_is_not_a_valid_type_node)};let u=e.program.getTypeChecker(),_=m9(d,gF)||(a?m9(d,Ds):void 0);if(void 0===_)return{error:LX(tA.No_type_could_be_extracted_from_this_type_node)};let p=(n=[],!function e(t){if(wQ(t)){if(wb(t.typeName)){let e=t.typeName,i=u.resolveName(e.text,e,262144,!0);for(let t of(null==i?void 0:i.declarations)||o)if(wF(t)&&t.getSourceFile()===r){if(t.name.escapedText===e.escapedText&&eaa(t,d,r))return!0;if(eaa(_,t,r)&&!eaa(d,t,r)){uF(n,t);break}}}}else if(Rt(t)){let e=m9(t,e=>Re(e)&&eaa(e.extendsType,t,r));if(!e||!eaa(d,e,r))return!0}else if(w$(t)||Rr(t)){let e=m9(t.parent,yF);if(e&&e.type&&eaa(e.type,t,r)&&!eaa(d,e,r))return!0}else if(w1(t)){if(wb(t.exprName)){let e=u.resolveName(t.exprName.text,t.exprName,111551,!1);if((null==e?void 0:e.valueDeclaration)&&eaa(_,e.valueDeclaration,r)&&!eaa(d,e.valueDeclaration,r))return!0}else if(SV(t.exprName.left)&&!eaa(d,t.parent,r))return!0}return r&&w8(t)&&mt(r,t.pos).line===mt(r,t.end).line&&IE(t,1),Mr(t,e)}(d)?n:void 0);if(!p)return{error:LX(tA.No_type_could_be_extracted_from_this_type_node)};let f=function e(t,n){if(n){if(w9(n)){let r=[],i=new Map;for(let a of n.types){let n=e(t,a);if(!n||!n.every(e=>e.name&&LC(i,zo(e.name))))return;uP(r,n)}return r}if(Rn(n))return e(t,n.type);if(w2(n))return n.members}}(u,d);return{isJS:a,selection:d,enclosingNode:_,typeParameters:p,typeElements:f}}function eaa(e,t,n){return K7(e,mc(n.text,t.pos),t.end)}var eao=dj({"src/services/refactors/extractType.ts"(){ecu(),eoY(),cR="Extract type",cN={name:"Extract to type alias",description:LX(tA.Extract_to_type_alias),kind:"refactor.extract.type"},cD={name:"Extract to interface",description:LX(tA.Extract_to_interface),kind:"refactor.extract.interface"},cO={name:"Extract to typedef",description:LX(tA.Extract_to_typedef),kind:"refactor.extract.typedef"},ei0(cR,{kinds:[cN.kind,cD.kind,cO.kind],getAvailableActions:function(e){let t=eai(e,"invoked"===e.triggerReason);return t?eas(t)?e.preferences.provideRefactorNotApplicableReason?[{name:cR,description:LX(tA.Extract_type),actions:[{...cO,notApplicableReason:t.error},{...cN,notApplicableReason:t.error},{...cD,notApplicableReason:t.error}]}]:o:[{name:cR,description:LX(tA.Extract_type),actions:t.isJS?[cO]:uD([cN],t.typeElements&&cD)}]:o},getEditsForAction:function(e,t){let{file:n}=e,r=eai(e);T.assert(r&&!eas(r),"Expected to find a range to extract");let i=q_("NewType",n),a=esW.ChangeTracker.with(e,a=>{switch(t){case cN.name:return T.assert(!r.isJS,"Invalid actionName/JS combo"),function(e,t,n,r){let{enclosingNode:i,selection:a,typeParameters:o}=r,s=nU.createTypeAliasDeclaration(void 0,n,o.map(e=>nU.updateTypeParameterDeclaration(e,e.modifiers,e.name,e.constraint,void 0)),a);e.insertNodeBefore(t,i,IX(s),!0),e.replaceNode(t,a,nU.createTypeReferenceNode(n,o.map(e=>nU.createTypeReferenceNode(e.name,void 0))),{leadingTriviaOption:esW.LeadingTriviaOption.Exclude,trailingTriviaOption:esW.TrailingTriviaOption.ExcludeWhitespace})}(a,n,i,r);case cO.name:return T.assert(r.isJS,"Invalid actionName/JS combo"),function(e,t,n,r,i){var a;let{enclosingNode:o,selection:s,typeParameters:l}=i;IE(s,7168);let c=nU.createJSDocTypedefTag(nU.createIdentifier("typedef"),nU.createJSDocTypeExpression(s),nU.createIdentifier(r)),d=[];dz(l,e=>{let t=h0(e),n=nU.createTypeParameterDeclaration(void 0,e.name),r=nU.createJSDocTemplateTag(nU.createIdentifier("template"),t&&_T(t,N4),[n]);d.push(r)});let u=nU.createJSDocComment(void 0,nU.createNodeArray(uE(d,[c])));if(Ds(o)){let r=o.getStart(n),i=zQ(t.host,null==(a=t.formatContext)?void 0:a.options);e.insertNodeAt(n,o.getStart(n),u,{suffix:i+i+n.text.slice(qe(n.text,r-1),r)})}else e.insertNodeBefore(n,o,u,!0);e.replaceNode(n,s,nU.createTypeReferenceNode(r,l.map(e=>nU.createTypeReferenceNode(e.name,void 0))))}(a,e,n,i,r);case cD.name:return T.assert(!r.isJS&&!!r.typeElements,"Invalid actionName/JS combo"),function(e,t,n,r){var i;let{enclosingNode:a,selection:o,typeParameters:s,typeElements:l}=r,c=nU.createInterfaceDeclaration(void 0,n,s,void 0,l);OV(c,null==(i=l[0])?void 0:i.parent),e.insertNodeBefore(t,a,IX(c),!0),e.replaceNode(t,o,nU.createTypeReferenceNode(n,s.map(e=>nU.createTypeReferenceNode(e.name,void 0))),{leadingTriviaOption:esW.LeadingTriviaOption.Exclude,trailingTriviaOption:esW.TrailingTriviaOption.ExcludeWhitespace})}(a,n,i,r);default:T.fail("Unexpected action name")}}),o=n.fileName,s=qp(a,o,i,!1);return{edits:a,renameFilename:o,renameLocation:s}}})}});function eas(e){return void 0!==e.error}function eal(e,t){return!t||e.substr(0,t.length)===t}var eac=dj({"src/services/refactors/helpers.ts"(){}});function ead(e){let t=function(e){let{file:t}=e,n=W6(qJ(e)),{statements:r}=t,i=d2(r,e=>e.end>n.pos);if(-1===i)return;let a=r[i];if(hu(a)&&a.name&&K4(a.name,n))return{toMove:[r[i]],afterLast:r[i+1]};if(n.pos>a.getStart(t))return;let o=d2(r,e=>e.end>n.end,i);if(!(-1!==o&&(0===o||r[o].getStart(t){for(let r=e;r!!e.initializer&&E8(e.initializer,!0));default:return!1}}(e)&&!bY(e)}function ea_(e,t,n){for(let{first:r,afterLast:i}of t)n.deleteNodeRangeExcludingEnd(e,r,i)}function eap(e){return 269===e.kind?e.moduleSpecifier:268===e.kind?e.moduleReference.expression:e.initializer.arguments[0]}function eaf(e,t){if(Nm(e))wr(e.moduleSpecifier)&&t(e);else if(Nf(e))ND(e.moduleReference)&&g8(e.moduleReference.expression)&&t(e);else if(RX(e))for(let n of e.declarationList.declarations)n.initializer&&E8(n.initializer,!0)&&t(n)}function eam(e,t,n,r,i,a,o,s){let l=fL(fy(e.path),r),c=F2(i.getCompilerOptions(),e,e.path,l,zd(i,a));if(o)return zp(t,n.map(e=>nU.createImportSpecifier(!1,void 0,nU.createIdentifier(e))),c,s);{T.assert(!t,"No default import should exist");let e=n.map(e=>nU.createBindingElement(void 0,void 0,e));return e.length?eah(nU.createObjectBindingPattern(e),void 0,eay(nU.createStringLiteral(c))):void 0}}function eah(e,t,n,r=2){return nU.createVariableStatement(void 0,nU.createVariableDeclarationList([nU.createVariableDeclaration(e,void 0,t,n)],r))}function eay(e){return nU.createCallExpression(nU.createIdentifier("require"),void 0,[e])}function eag(e,t,n,r){switch(t.kind){case 269:!function(e,t,n,r){if(!t.importClause)return;let{name:i,namedBindings:a}=t.importClause,o=!i||r(i),s=!a||(271===a.kind?r(a.name):0!==a.elements.length&&a.elements.every(e=>r(e.name)));if(o&&s)n.delete(e,t);else if(i&&o&&n.delete(e,i),a){if(s)n.replaceNode(e,t.importClause,nU.updateImportClause(t.importClause,t.importClause.isTypeOnly,i,void 0));else if(272===a.kind)for(let t of a.elements)r(t.name)&&n.delete(e,t)}}(e,t,n,r);break;case 268:r(t.name)&&n.delete(e,t);break;case 257:!function(e,t,n,r){let{name:i}=t;switch(i.kind){case 79:r(i)&&(t.initializer&&E8(t.initializer,!0)?n.delete(e,Ni(t.parent)&&1===dW(t.parent.declarations)?t.parent.parent:t):n.delete(e,i));break;case 204:break;case 203:if(i.elements.every(e=>wb(e.name)&&r(e.name)))n.delete(e,Ni(t.parent)&&1===t.parent.declarations.length?t.parent.parent:t);else for(let t of i.elements)wb(t.name)&&r(t.name)&&n.delete(e,t.name)}}(e,t,n,r);break;default:T.assertNever(t,`Unexpected import decl kind ${t.kind}`)}}function eav(e){switch(e.kind){case 268:case 273:case 270:case 271:return!0;case 257:return eab(e);case 205:return Nr(e.parent.parent)&&eab(e.parent.parent);default:return!1}}function eab(e){return N0(e.parent.parent.parent)&&!!e.initializer&&E8(e.initializer,!0)}function eaE(e,t,n){switch(e.kind){case 269:{let r=e.importClause;if(!r)return;let i=r.name&&n(r.name)?r.name:void 0,a=r.namedBindings&&function(e,t){if(271===e.kind)return t(e.name)?e:void 0;{let n=e.elements.filter(e=>t(e.name));return n.length?nU.createNamedImports(n):void 0}}(r.namedBindings,n);return i||a?nU.createImportDeclaration(void 0,nU.createImportClause(r.isTypeOnly,i,a),t,void 0):void 0}case 268:return n(e.name)?e:void 0;case 257:{let r=function(e,t){switch(e.kind){case 79:return t(e)?e:void 0;case 204:return e;case 203:{let n=e.elements.filter(e=>e.propertyName||!wb(e.name)||t(e.name));return n.length?nU.createObjectBindingPattern(n):void 0}}}(e.name,n);return r?eah(r,e.type,eay(t),e.parent.flags):void 0}default:return T.assertNever(e,`Unexpected import kind ${e.kind}`)}}function eaT(e,t,n){e.forEachChild(function e(r){if(wb(r)&&!xs(r)){let e=t.getSymbolAtLocation(r);e&&n(e)}else r.forEachChild(e)})}function eax(e){return eaS(e)&&N0(e.parent)||Nr(e)&&N0(e.parent.parent.parent)}function eaS(e){switch(e.kind){case 259:case 260:case 264:case 263:case 262:case 261:case 268:return!0;default:return!1}}function eaA(e,t){switch(e.kind){case 259:case 260:case 264:case 263:case 262:case 261:case 268:return t(e);case 240:return dJ(e.declarationList.declarations,e=>(function e(t,n){switch(t.kind){case 79:return n(_T(t.parent,e=>Nr(e)||Rp(e)));case 204:case 203:return dJ(t.elements,t=>RF(t)?void 0:e(t.name,n));default:return T.assertNever(t,`Unexpected name kind ${t.kind}`)}})(e.name,t));case 241:{let{expression:n}=e;return RR(n)&&1===Tf(n)?t(e):void 0}}}function eaL(e,t,n,r){var i;return n?!R$(t)&&S3(t,1)||!!(r&&(null==(i=e.symbol.exports)?void 0:i.has(r.escapedText))):!!e.symbol&&!!e.symbol.exports&&eaC(t).some(t=>e.symbol.exports.has(hn(t)))}function eaC(e){switch(e.kind){case 259:case 260:return[e.name.text];case 240:return uu(e.declarationList.declarations,e=>wb(e.name)?e.name.text:void 0);case 264:case 263:case 262:case 261:case 268:return o;case 241:return T.fail("Can't export an ExpressionStatement");default:return T.assertNever(e,`Unexpected decl kind ${e.kind}`)}}function eak(e){return nU.createExpressionStatement(nU.createBinaryExpression(nU.createPropertyAccessExpression(nU.createIdentifier("exports"),nU.createIdentifier(e)),63,nU.createIdentifier(e)))}var eaI=dj({"src/services/refactors/moveToNewFile.ts"(){Gm(),ecu(),eoY(),cF={name:cM="Move to a new file",description:cP=LX(tA.Move_to_a_new_file),kind:"refactor.move.newFile"},ei0(cM,{kinds:[cF.kind],getAvailableActions:function(e){let t=ead(e);return e.preferences.allowTextChangesInNewFiles&&t?[{name:cM,description:cP,actions:[cF]}]:e.preferences.provideRefactorNotApplicableReason?[{name:cM,description:cP,actions:[{...cF,notApplicableReason:LX(tA.Selection_is_not_a_valid_statement_or_statements)}]}]:o},getEditsForAction:function(e,t){T.assert(t===cM,"Wrong refactor invoked");let n=T.checkDefined(ead(e));return{edits:esW.ChangeTracker.with(e,t=>{var r,i,a,o,s,l;let c,d,u,_,p;return r=e.file,i=e.program,a=e.host,o=e.preferences,c=i.getTypeChecker(),d=function(e,t,n){let r=new cG,i=new cG,a=new cG,o=function(e){if(void 0===e)return;let t=n.getJsxNamespace(e),r=n.resolveName(t,e,1920,!0);return r&&uv(r.declarations,eav)?r:void 0}(d0(t,e=>!!(2&e.transformFlags)));for(let e of(o&&i.add(o),t))eaA(e,e=>{r.add(T.checkDefined(R$(e)?n.getSymbolAtLocation(e.expression.left):e.symbol,"Need a symbol here"))});for(let o of t)eaT(o,n,t=>{if(t.declarations)for(let n of t.declarations)eav(n)?i.add(t):eax(n)&&(Nr(n)?n.parent.parent.parent:n.parent)===e&&!r.has(t)&&a.add(t)});let s=i.clone(),l=new cG;for(let i of e.statements)d6(t,i)||(o&&2&i.transformFlags&&s.delete(o),eaT(i,n,e=>{r.has(e)&&l.add(e),s.delete(e)}));return{movedSymbols:r,newFileImportsFromOldFile:a,oldFileImportsFromNewFile:l,oldImportsNeededByNewFile:i,unusedImportsFromOldFile:s}}(r,n.all,c),u=fy(r.fileName),_=kn(r.fileName),p=fA(u,function(e,t,n,r){let i=e;for(let a=1;;a++){let o=fA(n,i+t);if(!r.fileExists(o))return i;i=`${e}.${a}`}}((s=d.oldFileImportsFromNewFile,l=d.movedSymbols,s.forEachEntry(zv)||l.forEachEntry(zv)||"newFile"),_,u,a))+_,void(t.createNewFile(r,p,function(e,t,n,r,i,a,o,s){var l,c,d;let u,_;let p=i.getTypeChecker(),f=pm(e.statements,bY);if(void 0===e.externalModuleIndicator&&void 0===e.commonJsModuleIndicator&&0===t.oldImportsNeededByNewFile.size())return ea_(e,r.ranges,n),[...f,...r.all];let m=!!e.externalModuleIndicator,h=zy(e,s),y=(d=t.oldFileImportsFromNewFile,_=[],d.forEach(e=>{"default"===e.escapedName?u=nU.createIdentifier(zv(e)):_.push(e.name)}),eam(e,u,_,o,i,a,m,h));y&&zL(n,e,y,!0,s),function(e,t,n,r,i){for(let a of e.statements)d6(t,a)||eaf(a,t=>eag(e,t,n,e=>r.has(i.getSymbolAtLocation(e))))}(e,r.all,n,t.unusedImportsFromOldFile,p),ea_(e,r.ranges,n),function(e,t,n,r,i,a){let o=t.getTypeChecker();for(let s of t.getSourceFiles())if(s!==r)for(let l of s.statements)eaf(l,c=>{if(o.getSymbolAtLocation(eap(c))!==r.symbol)return;let d=e=>{let t=Rp(e.parent)?zx(o,e.parent):Lu(o.getSymbolAtLocation(e),o);return!!t&&i.has(t)};eag(s,c,e,d);let u=fL(fy(r.path),a),_=F2(t.getCompilerOptions(),s,s.path,u,zd(t,n)),p=eaE(c,nU.createStringLiteral(_),d);p&&e.insertNodeAfter(s,l,p);let f=function(e){switch(e.kind){case 269:return e.importClause&&e.importClause.namedBindings&&271===e.importClause.namedBindings.kind?e.importClause.namedBindings.name:void 0;case 268:return e.name;case 257:return _E(e.name,wb);default:return T.assertNever(e,`Unexpected node kind ${e.kind}`)}}(c);f&&function(e,t,n,r,i,a,o){let s=enn.moduleSpecifierToValidIdentifier(i,99),l=!1,c=[];if(erX.Core.eachSymbolReferenceInFile(a,n,t,e=>{Rh(e.parent)&&(l=l||!!n.resolveName(s,e,67108863,!0),r.has(n.getSymbolAtLocation(e.parent.name))&&c.push(e))}),c.length){let n=l?q_(s,t):s;for(let r of c)e.replaceNode(t,r,nU.createIdentifier(n));e.insertNodeAfter(t,o,function(e,t,n){let r=nU.createIdentifier(t),i=nU.createStringLiteral(n);switch(e.kind){case 269:return nU.createImportDeclaration(void 0,nU.createImportClause(!1,void 0,nU.createNamespaceImport(r)),i,void 0);case 268:return nU.createImportEqualsDeclaration(void 0,!1,r,nU.createExternalModuleReference(i));case 257:return nU.createVariableDeclaration(r,void 0,void 0,eay(i));default:return T.assertNever(e,`Unexpected node kind ${e.kind}`)}}(o,s,i))}}(e,s,o,i,_,f,c)})}(n,i,a,e,t.movedSymbols,o);let g=function(e,t,n,r,i,a,o,s,l){let c;let d=[];for(let n of e.statements)eaf(n,e=>{uD(d,eaE(e,eap(e),e=>t.has(i.getSymbolAtLocation(e))))});let u=[],_=zn();return n.forEach(t=>{if(t.declarations)for(let n of t.declarations){if(!eax(n))continue;let t=R$(n)?_E(n.expression.left.name,wb):_E(n.name,wb);if(!t)continue;let i=function e(t){switch(t.kind){case 257:return t.parent.parent;case 205:return e(_T(t.parent.parent,e=>Nr(e)||Rp(e)));default:return t}}(n);_(i)&&function(e,t,n,r,i){if(!eaL(e,t,i,n)){if(i)R$(t)||r.insertExportModifier(e,t);else{let n=eaC(t);0!==n.length&&r.insertNodesAfter(e,t,n.map(eak))}}}(e,i,t,r,s),S3(n,1024)?c=t:u.push(t.text)}}),uD(d,eam(e,c,u,fg(e.fileName),a,o,s,l)),d}(e,t.oldImportsNeededByNewFile,t.newFileImportsFromOldFile,n,p,i,a,m,h),v=(l=r.all,c=t.oldFileImportsFromNewFile,uo(l,t=>{if(T.assert(N0(t.parent),"Node parent should be a SourceFile"),(eaS(t)||RX(t))&&!eaL(e,t,m)&&eaA(t,e=>{var t;return c.has(T.checkDefined(null==(t=_E(e,gw))?void 0:t.symbol))})){let e=m?[function(e){let t=Oj(e)?uE([nU.createModifier(93)],hh(e)):void 0;switch(e.kind){case 259:return nU.updateFunctionDeclaration(e,t,e.asteriskToken,e.name,e.typeParameters,e.parameters,e.type,e.body);case 260:let n=OH(e)?hm(e):void 0;return nU.updateClassDeclaration(e,uE(n,t),e.name,e.typeParameters,e.heritageClauses,e.members);case 240:return nU.updateVariableStatement(e,t,e.declarationList);case 264:return nU.updateModuleDeclaration(e,t,e.name,e.body);case 263:return nU.updateEnumDeclaration(e,t,e.name,e.members);case 262:return nU.updateTypeAliasDeclaration(e,t,e.name,e.typeParameters,e.type);case 261:return nU.updateInterfaceDeclaration(e,t,e.name,e.typeParameters,e.heritageClauses,e.members);case 268:return nU.updateImportEqualsDeclaration(e,t,e.isTypeOnly,e.name,e.moduleReference);case 241:return T.fail();default:return T.assertNever(e,`Unexpected declaration kind ${e.kind}`)}}(t)]:[t,...eaC(t).map(eak)];if(e)return e}return t}));return g.length&&v.length?[...f,...g,4,...v]:[...f,...g,...v]}(r,d,t,n,i,a,p,o)),function(e,t,n,r,i){let a=e.getCompilerOptions().configFile;if(!a)return;let o=fI(fA(n,"..",r)),s=fW(a.fileName,o,i),l=a.statements[0]&&_E(a.statements[0].expression,Rm),c=l&&d0(l.properties,e=>NX(e)&&wr(e.name)&&"files"===e.name.text);c&&Rf(c.initializer)&&t.insertNodeInListAfter(a,uX(c.initializer.elements),nU.createStringLiteral(s),c.initializer.elements)}(i,t,r.fileName,p,Sh(a)))}),renameFilename:void 0,renameLocation:void 0}}}),cG=class{constructor(){this.map=new Map}add(e){this.map.set(String(Gb(e)),e)}has(e){return this.map.has(String(Gb(e)))}delete(e){this.map.delete(String(Gb(e)))}forEach(e){this.map.forEach(e)}forEachEntry(e){return vl(this.map,e)}clone(){let e=new cG;return vd(this.map,e.map),e}size(){return this.map.size}}}});function eaw(e){let{file:t,startPosition:n,program:r}=e;return eaD(t,n,r)?[{name:cB,description:cU,actions:[cV]}]:o}function eaR(e){let{file:t,startPosition:n,program:r}=e,i=eaD(t,n,r);if(!i)return;let a=r.getTypeChecker(),o=i[i.length-1],s=o;switch(o.kind){case 170:s=nU.updateMethodSignature(o,o.modifiers,o.name,o.questionToken,o.typeParameters,l(i),o.type);break;case 171:s=nU.updateMethodDeclaration(o,o.modifiers,o.asteriskToken,o.name,o.questionToken,o.typeParameters,l(i),o.type,o.body);break;case 176:s=nU.updateCallSignature(o,o.typeParameters,l(i),o.type);break;case 173:s=nU.updateConstructorDeclaration(o,o.modifiers,l(i),o.body);break;case 177:s=nU.updateConstructSignature(o,o.typeParameters,l(i),o.type);break;case 259:s=nU.updateFunctionDeclaration(o,o.modifiers,o.asteriskToken,o.name,o.typeParameters,l(i),o.type,o.body);break;default:return T.failBadSyntaxKind(o,"Unhandled signature kind in overload list conversion refactoring")}if(s!==o)return{renameFilename:void 0,renameLocation:void 0,edits:esW.ChangeTracker.with(e,e=>{e.replaceNodeRange(t,i[0],i[i.length-1],s)})};function l(e){let t=e[e.length-1];return yB(t)&&t.body&&(e=e.slice(0,e.length-1)),nU.createNodeArray([nU.createParameterDeclaration(void 0,nU.createToken(25),"args",void 0,nU.createUnionTypeNode(un(e,c)))])}function c(e){let t=un(e.parameters,d);return IE(nU.createTupleTypeNode(t),uv(t,e=>!!dW(ID(e)))?0:1)}function d(e){T.assert(wb(e.name));let t=OV(nU.createNamedTupleMember(e.dotDotDotToken,e.name,e.questionToken,e.type||nU.createKeywordTypeNode(131)),e),n=e.symbol&&e.symbol.getDocumentationComment(a);if(n){let e=Yr(n);e.length&&IO(t,[{text:`* +${e.split("\n").map(e=>` * ${e}`).join("\n")} + `,kind:3,pos:-1,end:-1,hasTrailingNewLine:!0,hasLeadingNewline:!0}])}return t}}function eaN(e){switch(e.kind){case 170:case 171:case 176:case 173:case 177:case 259:return!0}return!1}function eaD(e,t,n){let r=m9(Wv(e,t),eaN);if(!r||yB(r)&&r.body&&K6(r.body,t))return;let i=n.getTypeChecker(),a=r.symbol;if(!a)return;let o=a.declarations;if(1>=dW(o)||!dZ(o,t=>vS(t)===e)||!eaN(o[0]))return;let s=o[0].kind;if(!dZ(o,e=>e.kind===s)||uv(o,e=>!!e.typeParameters||uv(e.parameters,e=>!!e.modifiers||!wb(e.name))))return;let l=uu(o,e=>i.getSignatureFromDeclaration(e));if(dW(l)!==dW(o))return;let c=i.getReturnTypeOfSignature(l[0]);if(dZ(l,e=>i.getReturnTypeOfSignature(e)===c))return o}var eaO=dj({"src/services/refactors/convertOverloadListToSingleSignature.ts"(){ecu(),eoY(),cB="Convert overload list to single signature",cU=tA.Convert_overload_list_to_single_signature.message,cV={name:cB,description:cU,kind:"refactor.rewrite.function.overloadList"},ei0(cB,{kinds:[cV.kind],getEditsForAction:eaR,getAvailableActions:eaw})}});function eaM(e){let{file:t,startPosition:n,triggerReason:r}=e,i=eaF(t,n,"invoked"===r);return i?eas(i)?e.preferences.provideRefactorNotApplicableReason?[{name:cj,description:cH,actions:[{...cK,notApplicableReason:i.error},{...cW,notApplicableReason:i.error}]}]:o:[{name:cj,description:cH,actions:[i.addBraces?cK:cW]}]:o}function eaP(e,t){let n;let{file:r,startPosition:i}=e,a=eaF(r,i);T.assert(a&&!eas(a),"Expected applicable refactor info");let{expression:o,returnStatement:s,func:l}=a;if(t===cK.name){let e=nU.createReturnStatement(o);n=nU.createBlock([e],!0),qf(o,e,r,3,!0)}else if(t===cW.name&&s){let e=o||nU.createVoidZero();qh(s,n=qg(e)?nU.createParenthesizedExpression(e):e,r,3,!1),qf(s,n,r,3,!1),qm(s,n,r,3,!1)}else T.fail("invalid action");return{renameFilename:void 0,renameLocation:void 0,edits:esW.ChangeTracker.with(e,e=>{e.replaceNode(r,l.body,n)})}}function eaF(e,t,n=!0,r){let i=Wv(e,t),a=Ey(i);if(!a)return{error:LX(tA.Could_not_find_a_containing_arrow_function)};if(!RS(a))return{error:LX(tA.Containing_function_is_not_an_arrow_function)};if(!(!K4(a,i)||K4(a.body,i)&&!n)){if(eal(cK.kind,r)&&gp(a.body))return{func:a,addBraces:!0,expression:a.body};if(eal(cW.kind,r)&&RJ(a.body)&&1===a.body.statements.length){let e=uz(a.body.statements);if(R3(e))return{func:a,addBraces:!1,expression:e.expression,returnStatement:e}}}}var eaG=dj({"src/services/refactors/addOrRemoveBracesToArrowFunction.ts"(){ecu(),eoY(),cj="Add or remove braces in an arrow function",cH=tA.Add_or_remove_braces_in_an_arrow_function.message,cK={name:"Add braces to arrow function",description:tA.Add_braces_to_arrow_function.message,kind:"refactor.rewrite.arrow.braces.add"},cW={name:"Remove braces from arrow function",description:tA.Remove_braces_from_arrow_function.message,kind:"refactor.rewrite.arrow.braces.remove"},ei0(cj,{kinds:[cW.kind],getEditsForAction:eaP,getAvailableActions:eaM})}}),eaB={},eaU=dj({"src/services/_namespaces/ts.refactor.addOrRemoveBracesToArrowFunction.ts"(){eaO(),eaG()}});function eaV(e){let{file:t,startPosition:n,program:r,kind:i}=e,a=eaK(t,n,r);if(!a)return o;let{selectedVariableDeclaration:s,func:l}=a,c=[],d=[];if(eal(cX.kind,i)){let e=s||RS(l)&&Nr(l.parent)?void 0:LX(tA.Could_not_convert_to_named_function);e?d.push({...cX,notApplicableReason:e}):c.push(cX)}if(eal(cJ.kind,i)){let e=!s&&RS(l)?void 0:LX(tA.Could_not_convert_to_anonymous_function);e?d.push({...cJ,notApplicableReason:e}):c.push(cJ)}if(eal(cY.kind,i)){let e=Rx(l)?void 0:LX(tA.Could_not_convert_to_arrow_function);e?d.push({...cY,notApplicableReason:e}):c.push(cY)}return[{name:cz,description:cq,actions:0===c.length&&e.preferences.provideRefactorNotApplicableReason?d:c}]}function eaj(e,t){let{file:n,startPosition:r,program:i}=e,a=eaK(n,r,i);if(!a)return;let{func:o}=a,s=[];switch(t){case cJ.name:s.push(...function(e,t){let{file:n}=e,r=eaW(t.body),i=nU.createFunctionExpression(t.modifiers,t.asteriskToken,void 0,t.typeParameters,t.parameters,t.type,r);return esW.ChangeTracker.with(e,e=>e.replaceNode(n,t,i))}(e,o));break;case cX.name:let l=function(e){let t=e.parent;if(!Nr(t)||!Et(t))return;let n=t.parent,r=n.parent;if(Ni(n)&&RX(r)&&wb(t.name))return{variableDeclaration:t,variableDeclarationList:n,statement:r,name:t.name}}(o);if(!l)return;s.push(...function(e,t,n){let{file:r}=e,i=eaW(t.body),{variableDeclaration:a,variableDeclarationList:o,statement:s,name:l}=n;qs(s);let c=1&m8(a)|Al(t),d=nU.createModifiersFromModifierFlags(c),u=nU.createFunctionDeclaration(dW(d)?d:void 0,t.asteriskToken,l,t.typeParameters,t.parameters,t.type,i);return 1===o.declarations.length?esW.ChangeTracker.with(e,e=>e.replaceNode(r,s,u)):esW.ChangeTracker.with(e,e=>{e.delete(r,a),e.insertNodeAfter(r,s,u)})}(e,o,l));break;case cY.name:if(!Rx(o))return;s.push(...function(e,t){let n;let{file:r}=e,i=t.body.statements[0];1===t.body.statements.length&&R3(i)&&i.expression?(qo(n=i.expression),qc(i,n)):n=t.body;let a=nU.createArrowFunction(t.modifiers,t.typeParameters,t.parameters,t.type,nU.createToken(38),n);return esW.ChangeTracker.with(e,e=>e.replaceNode(r,t,a))}(e,o));break;default:return T.fail("invalid action")}return{renameFilename:void 0,renameLocation:void 0,edits:s}}function eaH(e){let t=!1;return e.forEachChild(function e(n){if(K1(n)){t=!0;return}yW(n)||Na(n)||Rx(n)||Mr(n,e)}),t}function eaK(e,t,n){let r=Wv(e,t),i=n.getTypeChecker(),a=function(e,t,n){if(!(Nr(n)||Ni(n)&&1===n.declarations.length))return;let r=(Nr(n)?n:uz(n.declarations)).initializer;if(r&&(RS(r)||Rx(r)&&!eaz(e,t,r)))return r}(e,i,r.parent);if(a&&!eaH(a.body)&&!i.containsArgumentsReference(a))return{selectedVariableDeclaration:!0,func:a};let o=Ey(r);if(o&&(Rx(o)||RS(o))&&!K4(o.body,r)&&!eaH(o.body)&&!i.containsArgumentsReference(o)){if(Rx(o)&&eaz(e,i,o))return;return{selectedVariableDeclaration:!1,func:o}}}function eaW(e){if(!gp(e))return e;{let t=nU.createReturnStatement(e),n=e.getSourceFile();return OV(t,e),qo(t),qh(e,t,n,void 0,!0),nU.createBlock([t],!0)}}function eaz(e,t,n){return!!n.name&&erX.Core.isSymbolReferencedInFile(n.name,t,e)}var eaq=dj({"src/services/refactors/convertArrowFunctionOrFunctionExpression.ts"(){ecu(),eoY(),cz="Convert arrow function or function expression",cq=LX(tA.Convert_arrow_function_or_function_expression),cJ={name:"Convert to anonymous function",description:LX(tA.Convert_to_anonymous_function),kind:"refactor.rewrite.function.anonymous"},cX={name:"Convert to named function",description:LX(tA.Convert_to_named_function),kind:"refactor.rewrite.function.named"},cY={name:"Convert to arrow function",description:LX(tA.Convert_to_arrow_function),kind:"refactor.rewrite.function.arrow"},ei0(cz,{kinds:[cJ.kind,cX.kind,cY.kind],getEditsForAction:eaj,getAvailableActions:eaV})}}),eaJ={},eaX=dj({"src/services/_namespaces/ts.refactor.convertArrowFunctionOrFunctionExpression.ts"(){eaq()}});function eaY(e){let{file:t,startPosition:n}=e;return EZ(t)?o:ea2(t,n,e.program.getTypeChecker())?[{name:c$,description:cZ,actions:[c0]}]:o}function ea$(e,t){T.assert(t===c$,"Unexpected action name");let{file:n,startPosition:r,program:i,cancellationToken:a,host:o}=e,s=ea2(n,r,i.getTypeChecker());if(!s||!a)return;let l=function(e,t,n){let r=function(e){switch(e.kind){case 259:if(e.name)return[e.name];return[T.checkDefined(zA(e,88),"Nameless function declaration should be a default export")];case 171:return[e.name];case 173:let t=T.checkDefined(Wo(e,135,e.getSourceFile()),"Constructor declaration should have constructor keyword");if(228===e.parent.kind)return[e.parent.parent.name,t];return[t];case 216:return[e.parent.name];case 215:if(e.name)return[e.name,e.parent.name];return[e.parent.name];default:return T.assertNever(e,`Unexpected function declaration kind ${e.kind}`)}}(e),i=wW(e)?function(e){switch(e.parent.kind){case 260:let t=e.parent;if(t.name)return[t.name];return[T.checkDefined(zA(t,88),"Nameless class declaration should be a default export")];case 228:let n=e.parent,r=e.parent.parent,i=n.name;if(i)return[i,r.name];return[r.name]}}(e):[],a=uS([...r,...i],_P),o=t.getTypeChecker(),s=function(t){let n={accessExpressions:[],typeUsages:[]},a={functionCalls:[],declarations:[],classReferences:n,valid:!0},s=un(r,l),c=un(i,l),d=wW(e),u=un(r,e=>eaQ(e,o));for(let r of t){if(r.kind===erX.EntryKind.Span){a.valid=!1;continue}if(d6(u,l(r.node))){var _;if(wj(_=r.node.parent)&&(Ns(_.parent)||w2(_.parent))){a.signature=r.node.parent;continue}let e=ea1(r);if(e){a.functionCalls.push(e);continue}}let t=eaQ(r.node,o);if(t&&d6(u,t)){let e=ea0(r);if(e){a.declarations.push(e);continue}}if(d6(s,l(r.node))||KI(r.node)){if(eaZ(r))continue;let e=ea0(r);if(e){a.declarations.push(e);continue}let t=ea1(r);if(t){a.functionCalls.push(t);continue}}if(d&&d6(c,l(r.node))){if(eaZ(r))continue;let t=ea0(r);if(t){a.declarations.push(t);continue}let i=function(e){if(e.node.parent){let t=e.node,n=t.parent;switch(n.kind){case 208:let r=_E(n,Rh);if(r&&r.expression===t)return r;break;case 209:let i=_E(n,Ry);if(i&&i.expression===t)return i}}}(r);if(i){n.accessExpressions.push(i);continue}if(No(e.parent)){let e=function(e){let t=e.node;if(2===KL(t)||Ak(t.parent))return t}(r);if(e){n.typeUsages.push(e);continue}}}a.valid=!1}return a}(uo(a,e=>erX.getReferenceEntriesForNode(-1,e,t,t.getSourceFiles(),n)));return dZ(s.declarations,e=>d6(a,e))||(s.valid=!1),s;function l(e){let t=o.getSymbolAtLocation(e);return t&&z5(t,o)}}(s,i,a);return l.valid?{renameFilename:void 0,renameLocation:void 0,edits:esW.ChangeTracker.with(e,e=>(function(e,t,n,r,i,a){let o=a.signature,s=un(ea7(i,t,n),e=>qt(e));if(o){let e=un(ea7(o,t,n),e=>qt(e));l(o,e)}for(let e of(l(i,s),uC(a.functionCalls,(e,t)=>_U(e.pos,t.pos))))if(e.arguments&&e.arguments.length){let t=qt(function(e,t){let n=ea5(e.parameters),r=g5(uX(n)),i=un(r?t.slice(0,n.length-1):t,(e,t)=>{let r=ea9(n[t]),i=wb(e)&&xU(e)===r?nU.createShorthandPropertyAssignment(r):nU.createPropertyAssignment(r,e);return qo(i.name),NX(i)&&qo(i.initializer),qc(e,i),i});if(r&&t.length>=n.length){let e=t.slice(n.length-1),r=nU.createPropertyAssignment(ea9(uX(n)),nU.createArrayLiteralExpression(e));i.push(r)}return nU.createObjectLiteralExpression(i,!1)}(i,e.arguments),!0);r.replaceNodeRange(vS(e),uz(e.arguments),uX(e.arguments),t,{leadingTriviaOption:esW.LeadingTriviaOption.IncludeAll,trailingTriviaOption:esW.TrailingTriviaOption.Include})}function l(t,n){r.replaceNodeRangeWithNodes(e,uz(t.parameters),uX(t.parameters),n,{joiner:", ",indentation:0,leadingTriviaOption:esW.LeadingTriviaOption.IncludeAll,trailingTriviaOption:esW.TrailingTriviaOption.Include})}})(n,i,o,e,s,l))}:{edits:[]}}function eaQ(e,t){let n=Yu(e);if(n){let e=t.getContextualTypeForObjectLiteralElement(n),r=null==e?void 0:e.getSymbol();if(r&&!(6&Lc(r)))return r}}function eaZ(e){let t=e.node;if(Nx(t.parent)||Nh(t.parent)||Nf(t.parent)||Nb(t.parent)||NC(t.parent)||NS(t.parent))return t}function ea0(e){if(gO(e.node.parent))return e.node}function ea1(e){if(e.node.parent){let t=e.node,n=t.parent;switch(n.kind){case 210:case 211:let r=_E(n,ga);if(r&&r.expression===t)return r;break;case 208:let i=_E(n,Rh);if(i&&i.parent&&i.name===t){let e=_E(i.parent,ga);if(e&&e.expression===i)return e}break;case 209:let a=_E(n,Ry);if(a&&a.parent&&a.argumentExpression===t){let e=_E(a.parent,ga);if(e&&e.expression===a)return e}}}}function ea2(e,t,n){let r=Wg(e,t),i=Eg(r);if(!function(e){let t=m9(e,gz);if(t){let e=m9(t,e=>!gz(e));return!!e&&yB(e)}return!1}(r)&&i&&function(e,t){var n,r;if(!((ea3(r=e.parameters)?r.length-1:r.length)>=cQ&&dZ(r,e=>(function(e,t){if(g5(e)){let n=t.getTypeAtLocation(e);if(!t.isArrayType(n)&&!t.isTupleType(n))return!1}return!e.modifiers&&wb(e.name)})(e,t))))return!1;switch(e.kind){case 259:return ea8(e)&&ea4(e,t);case 171:if(Rm(e.parent)){let r=eaQ(e.name,t);return(null==(n=null==r?void 0:r.declarations)?void 0:n.length)===1&&ea4(e,t)}return ea4(e,t);case 173:if(No(e.parent))return ea8(e.parent)&&ea4(e,t);return ea6(e.parent.parent)&&ea4(e,t);case 215:case 216:return ea6(e.parent)}return!1}(i,n)&&K4(i,r)&&!(i.body&&K4(i.body,r)))return i}function ea4(e,t){return!!e.body&&!t.isImplementationOfOverload(e)}function ea8(e){return!!e.name||!!zA(e,88)}function ea6(e){return Nr(e)&&bK(e)&&wb(e.name)&&!e.type}function ea3(e){return e.length>0&&K1(e[0].name)}function ea5(e){return ea3(e)&&(e=nU.createNodeArray(e.slice(1),e.hasTrailingComma)),e}function ea7(e,t,n){let r,i;let a=t.getTypeChecker(),o=ea5(e.parameters),s=un(o,function(e){let t=nU.createBindingElement(void 0,void 0,ea9(e),g5(e)&&u(e)?nU.createArrayLiteralExpression():e.initializer);return qo(t),e.initializer&&t.initializer&&qc(e.initializer,t.initializer),t}),l=nU.createObjectBindingPattern(s),c=(i=un(o,function(e){let r=e.type;!r&&(e.initializer||g5(e))&&(r=qA(a.getTypeAtLocation(e),e,t,n));let i=nU.createPropertySignature(void 0,ea9(e),u(e)?nU.createToken(57):e.questionToken,r);return qo(i),qc(e.name,i.name),e.type&&i.type&&qc(e.type,i.type),i}),IT(nU.createTypeLiteralNode(i),1));dZ(o,u)&&(r=nU.createObjectLiteralExpression());let d=nU.createParameterDeclaration(void 0,void 0,l,void 0,c,r);if(ea3(e.parameters)){let t=e.parameters[0],n=nU.createParameterDeclaration(void 0,void 0,t.name,void 0,t.type);return qo(n.name),qc(t.name,n.name),t.type&&(qo(n.type),qc(t.type,n.type)),nU.createNodeArray([n,d])}return nU.createNodeArray([d]);function u(e){if(g5(e)){let t=a.getTypeAtLocation(e);return!a.isTupleType(t)}return a.isOptionalParameter(e)}}function ea9(e){return xU(e.name)}var eoe=dj({"src/services/refactors/convertParamsToDestructuredObject.ts"(){ecu(),eoY(),c$="Convert parameters to destructured object",cQ=1,cZ=LX(tA.Convert_parameters_to_destructured_object),c0={name:c$,description:cZ,kind:"refactor.rewrite.parameters.toDestructured"},ei0(c$,{kinds:[c0.kind],getEditsForAction:ea$,getAvailableActions:eaY})}}),eot={},eon=dj({"src/services/_namespaces/ts.refactor.convertParamsToDestructuredObject.ts"(){eoe()}});function eor(e){let{file:t,startPosition:n}=e,r=eoo(eoi(t,n)),i={name:c1,description:c2,actions:[]};return RR(r)&&eos(r).isValidConcatenation?(i.actions.push(c4),[i]):e.preferences.provideRefactorNotApplicableReason?(i.actions.push({...c4,notApplicableReason:LX(tA.Can_only_convert_string_concatenation)}),[i]):o}function eoi(e,t){let n=Wv(e,t),r=eoo(n);return!eos(r).isValidConcatenation&&RT(r.parent)&&RR(r.parent.parent)?r.parent.parent:n}function eoa(e,t){let{file:n,startPosition:r}=e,i=eoi(n,r);return t===c2?{edits:function(e,t){let n=eoo(t),r=e.file,i=function({nodes:e,operators:t},n){let r=c8(t,n),i=c6(e,n,r),[a,o,s,l]=eoc(0,e);if(a===e.length){let e=nU.createNoSubstitutionTemplateLiteral(o,s);return i(l,e),e}let c=[],d=nU.createTemplateHead(o,s);i(l,d);for(let t=a;t{eod(e);let r=t===n.templateSpans.length-1,i=e.literal.text+(r?o:""),a=eol(e.literal)+(r?s:"");return nU.createTemplateSpan(e.expression,d&&r?nU.createTemplateTail(i,a):nU.createTemplateMiddle(i,a))});c.push(...e)}else{let e=d?nU.createTemplateTail(o,s):nU.createTemplateMiddle(o,s);i(l,e),c.push(nU.createTemplateSpan(n,e))}}return nU.createTemplateExpression(d,c)}(eos(n),r),a=mE(r.text,n.end);if(!a)return esW.ChangeTracker.with(e,e=>e.replaceNode(r,n,i));{let t=a[a.length-1],o={pos:a[0].pos,end:t.end};return esW.ChangeTracker.with(e,e=>{e.deleteRange(r,o),e.replaceNode(r,n,i)})}}(e,i)}:T.fail("invalid action")}function eoo(e){return m9(e.parent,e=>{switch(e.kind){case 208:case 209:return!1;case 225:case 223:return!(RR(e.parent)&&63!==e.parent.operatorToken.kind);default:return"quit"}})||e}function eos(e){let t=e=>{if(!RR(e))return{nodes:[e],operators:[],validOperators:!0,hasString:wr(e)||wo(e)};let{nodes:n,operators:r,hasString:i,validOperators:a}=t(e.left);if(!(i||wr(e.right)||RD(e.right)))return{nodes:[e],operators:[],hasString:!1,validOperators:!0};let o=39===e.operatorToken.kind;return n.push(e.right),r.push(e.operatorToken),{nodes:n,operators:r,hasString:!0,validOperators:a&&o}},{nodes:n,operators:r,validOperators:i,hasString:a}=t(e);return{nodes:n,operators:r,isValidConcatenation:i&&a}}function eol(e){let t=ws(e)||wl(e)?-2:-1;return v$(e).slice(1,t)}function eoc(e,t){let n=[],r="",i="";for(;e"\\"===e[0]?e:"\\"+e),n.push(e),e++;else if(RD(a)){r+=a.head.text,i+=eol(a.head);break}else break}return[e,r,i,n]}function eod(e){let t=e.getSourceFile();qm(e,e.expression,t,3,!1),qh(e.expression,e.expression,t,3,!1)}var eou=dj({"src/services/refactors/convertStringOrTemplateLiteral.ts"(){ecu(),eoY(),c1="Convert to template string",c2=LX(tA.Convert_to_template_string),c4={name:c1,description:c2,kind:"refactor.rewrite.string"},ei0(c1,{kinds:[c4.kind],getEditsForAction:eoa,getAvailableActions:eor}),c8=(e,t)=>(n,r)=>{n(r,i)=>{for(;r.length>0;){let a=r.shift();qm(e[a],i,t,3,!1),n(a,i)}}}}),eo_={},eop=dj({"src/services/_namespaces/ts.refactor.convertStringOrTemplateLiteral.ts"(){eou()}});function eof(e){let t=eog(e,"invoked"===e.triggerReason);return t?eas(t)?e.preferences.provideRefactorNotApplicableReason?[{name:c3,description:c5,actions:[{...c7,notApplicableReason:t.error}]}]:o:[{name:c3,description:c5,actions:[c7]}]:o}function eom(e,t){let n=eog(e);return T.assert(n&&!eas(n),"Expected applicable refactor info"),{edits:esW.ChangeTracker.with(e,t=>(function(e,t,n,r,i){let{finalExpression:a,occurrences:o,expression:s}=r,l=o[o.length-1],c=function e(t,n,r){if(Rh(n)||Ry(n)||Rg(n)){let i=e(t,n.expression,r),a=r.length>0?r[r.length-1]:void 0,o=(null==a?void 0:a.getText())===n.expression.getText();if(o&&r.pop(),Rg(n))return o?nU.createCallChain(i,nU.createToken(28),n.typeArguments,n.arguments):nU.createCallChain(i,n.questionDotToken,n.typeArguments,n.arguments);if(Rh(n))return o?nU.createPropertyAccessChain(i,nU.createToken(28),n.name):nU.createPropertyAccessChain(i,n.questionDotToken,n.name);if(Ry(n))return o?nU.createElementAccessChain(i,nU.createToken(28),n.argumentExpression):nU.createElementAccessChain(i,n.questionDotToken,n.argumentExpression)}return n}(t,a,o);c&&(Rh(c)||Ry(c)||Rg(c))&&(RR(s)?n.replaceNodeRange(e,l,a,c):RN(s)&&n.replaceNode(e,s,nU.createBinaryExpression(c,nU.createToken(60),s.whenFalse)))})(e.file,e.program.getTypeChecker(),t,n,0)),renameFilename:void 0,renameLocation:void 0}}function eoh(e){return RR(e)||RN(e)}function eoy(e){var t;return eoh(e)||R$(t=e)||R3(t)||RX(t)}function eog(e,t=!0){let{file:n,program:r}=e,i=qJ(e),a=0===i.length;if(a&&!t)return;let o=Wv(n,i.start),s=WT(n,i.start+i.length),l=mq(o.pos,s&&s.end>=o.pos?s.getEnd():o.getEnd()),c=a?function(e){for(;e.parent;){if(eoy(e)&&!eoy(e.parent))return e;e=e.parent}}(o):function(e,t){for(;e.parent;){if(eoy(e)&&0!==t.length&&e.end>=t.start+t.length)return e;e=e.parent}}(o,l),d=c&&eoy(c)?function(e){if(eoh(e))return e;if(RX(e)){let t=TH(e),n=null==t?void 0:t.initializer;return n&&eoh(n)?n:void 0}return e.expression&&eoh(e.expression)?e.expression:void 0}(c):void 0;if(!d)return{error:LX(tA.Could_not_find_convertible_access_expression)};let u=r.getTypeChecker();return RN(d)?function(e,t){let n=e.condition,r=eoT(e.whenTrue);if(!r||t.isNullableType(t.getTypeAtLocation(r)))return{error:LX(tA.Could_not_find_convertible_access_expression)};if((Rh(n)||wb(n))&&eob(n,r.expression))return{finalExpression:r,occurrences:[n],expression:e};if(RR(n)){let t=eov(r.expression,n);return t?{finalExpression:r,occurrences:t,expression:e}:{error:LX(tA.Could_not_find_matching_access_expressions)}}}(d,u):function(e){if(55!==e.operatorToken.kind)return{error:LX(tA.Can_only_convert_logical_AND_access_chains)};let t=eoT(e.right);if(!t)return{error:LX(tA.Could_not_find_convertible_access_expression)};let n=eov(t.expression,e.left);return n?{finalExpression:t,occurrences:n,expression:e}:{error:LX(tA.Could_not_find_matching_access_expressions)}}(d)}function eov(e,t){let n=[];for(;RR(t)&&55===t.operatorToken.kind;){let r=eob(xi(e),xi(t.right));if(!r)break;n.push(r),e=r,t=t.left}let r=eob(e,t);return r&&n.push(r),n.length>0?n:void 0}function eob(e,t){if(wb(t)||Rh(t)||Ry(t))return!function(e,t){for(;(Rg(e)||Rh(e)||Ry(e))&&eoE(e)!==eoE(t);)e=e.expression;for(;Rh(e)&&Rh(t)||Ry(e)&&Ry(t);){if(eoE(e)!==eoE(t))return!1;e=e.expression,t=t.expression}return wb(e)&&wb(t)&&e.getText()===t.getText()}(e,t)?void 0:t}function eoE(e){return wb(e)||xO(e)?e.getText():Rh(e)?eoE(e.name):Ry(e)?eoE(e.argumentExpression):void 0}function eoT(e){return RR(e=xi(e))?eoT(e.left):(Rh(e)||Ry(e)||Rg(e))&&!h3(e)?e:void 0}var eox=dj({"src/services/refactors/convertToOptionalChainExpression.ts"(){ecu(),eoY(),c3="Convert to optional chain expression",c5=LX(tA.Convert_to_optional_chain_expression),c7={name:c3,description:c5,kind:"refactor.rewrite.expression.optionalChain"},ei0(c3,{kinds:[c7.kind],getEditsForAction:eom,getAvailableActions:eof})}}),eoS={},eoA=dj({"src/services/_namespaces/ts.refactor.convertToOptionalChainExpression.ts"(){eox()}});function eoL(e){let t,n;let r=e.kind,i=eok(e.file,qJ(e),"invoked"===e.triggerReason),a=i.targetRange;if(void 0===a){if(!i.errors||0===i.errors.length||!e.preferences.provideRefactorNotApplicableReason)return o;let t=[];return eal(dt.kind,r)&&t.push({name:c9,description:dt.description,actions:[{...dt,notApplicableReason:f(i.errors)}]}),eal(de.kind,r)&&t.push({name:c9,description:de.description,actions:[{...de,notApplicableReason:f(i.errors)}]}),t}let s=function(e,t){let{scopes:n,readsAndWrites:{functionErrorsPerScope:r,constantErrorsPerScope:i}}=eow(e,t);return n.map((e,t)=>{let n,a;let o=yB(e)?"inner function":yW(e)?"method":"function",s=yW(e)?"readonly field":"constant",l=yB(e)?function(e){switch(e.kind){case 173:return"constructor";case 215:case 259:return e.name?`function '${e.name.text}'`:a0;case 216:return"arrow function";case 171:return`method '${e.name.getText()}'`;case 174:return`'get ${e.name.getText()}'`;case 175:return`'set ${e.name.getText()}'`;default:throw T.assertNever(e,`Unexpected scope kind ${e.kind}`)}}(e):yW(e)?260===e.kind?e.name?`class '${e.name.text}'`:"anonymous class declaration":e.name?`class expression '${e.name.text}'`:"anonymous class expression":265===e.kind?`namespace '${e.parent.name.getText()}'`:e.externalModuleIndicator?0:1;return 1===l?(n=Lz(LX(tA.Extract_to_0_in_1_scope),[o,"global"]),a=Lz(LX(tA.Extract_to_0_in_1_scope),[s,"global"])):0===l?(n=Lz(LX(tA.Extract_to_0_in_1_scope),[o,"module"]),a=Lz(LX(tA.Extract_to_0_in_1_scope),[s,"module"])):(n=Lz(LX(tA.Extract_to_0_in_1),[o,l]),a=Lz(LX(tA.Extract_to_0_in_1),[s,l])),0!==t||yW(e)||(a=Lz(LX(tA.Extract_to_0_in_enclosing_scope),[s])),{functionExtraction:{description:n,errors:r[t]},constantExtraction:{description:a,errors:i[t]}}})}(a,e);if(void 0===s)return o;let l=[],c=new Map,d=[],u=new Map,_=0;for(let{functionExtraction:e,constantExtraction:i}of s){if(eal(dt.kind,r)){let n=e.description;0===e.errors.length?c.has(n)||(c.set(n,!0),l.push({description:n,name:`function_scope_${_}`,kind:dt.kind})):t||(t={description:n,name:`function_scope_${_}`,notApplicableReason:f(e.errors),kind:dt.kind})}if(eal(de.kind,r)){let e=i.description;0===i.errors.length?u.has(e)||(u.set(e,!0),d.push({description:e,name:`constant_scope_${_}`,kind:de.kind})):n||(n={description:e,name:`constant_scope_${_}`,notApplicableReason:f(i.errors),kind:de.kind})}_++}let p=[];return l.length?p.push({name:c9,description:LX(tA.Extract_function),actions:l}):e.preferences.provideRefactorNotApplicableReason&&t&&p.push({name:c9,description:LX(tA.Extract_function),actions:[t]}),d.length?p.push({name:c9,description:LX(tA.Extract_constant),actions:d}):e.preferences.provideRefactorNotApplicableReason&&n&&p.push({name:c9,description:LX(tA.Extract_constant),actions:[n]}),p.length?p:o;function f(e){let t=e[0].messageText;return"string"!=typeof t&&(t=t.messageText),t}}function eoC(e,t){let n=eok(e.file,qJ(e)).targetRange,r=/^function_scope_(\d+)$/.exec(t);if(r){let t=+r[1];return T.assert(isFinite(t),"Expected to parse a finite number from the function scope index"),function(e,t,n){let{scopes:r,readsAndWrites:{target:i,usagesPerScope:a,functionErrorsPerScope:s,exposedVariableDeclarations:l}}=eow(e,t);return T.assert(!s[n].length,"The extraction went missing? How?"),t.cancellationToken.throwIfCancellationRequested(),function(e,t,{usages:n,typeParameterUsages:r,substitutions:i},a,s,l){let c,d,u;let _=l.program.getTypeChecker(),p=Ct(l.program.getCompilerOptions()),f=enn.createImportAdder(l.file,l.program,l.preferences,l.host),m=t.getSourceFile(),h=q_(yW(t)?"newMethod":"newFunction",m),y=EZ(t),g=nU.createIdentifier(h),v=[],b=[];n.forEach((e,n)=>{let r;if(!y){let n=_.getTypeOfSymbolAtLocation(e.symbol,e.node);n=_.getBaseTypeOfLiteralType(n),r=enn.typeToAutoImportableTypeNode(_,f,n,t,p,1)}let i=nU.createParameterDeclaration(void 0,void 0,n,void 0,r);v.push(i),2===e.usage&&(d||(d=[])).push(e),b.push(nU.createIdentifier(n))});let E=u9(r.values(),e=>({type:e,declaration:function(e){let t;let n=e.symbol;if(n&&n.declarations)for(let e of n.declarations)(void 0===t||e.pose.declaration),S=void 0!==x?x.map(e=>nU.createTypeReferenceNode(e.name,void 0)):void 0;if(gp(e)&&!y){let n=_.getContextualType(e);c=_.typeToTypeNode(n,t,1)}let{body:A,returnValueProperty:L}=function(e,t,n,r,i){let a;let o=void 0!==n||t.length>0;if(RJ(e)&&!o&&0===r.size)return{body:nU.createBlock(e.statements,!0),returnValueProperty:void 0};let s=!1,l=nU.createNodeArray(RJ(e)?e.statements.slice(0):[gF(e)?e:nU.createReturnStatement(xi(e))]);if(!o&&!r.size)return{body:nU.createBlock(l,!0),returnValueProperty:void 0};{let c=GR(l,function e(i){if(!s&&R3(i)&&o){let r=eoN(t,n);return(i.expression&&(a||(a="__return"),r.unshift(nU.createPropertyAssignment(a,Gw(i.expression,e,gp)))),1===r.length)?nU.createReturnStatement(r[0].name):nU.createReturnStatement(nU.createObjectLiteralExpression(r))}{let t=s;s=s||yB(i)||yW(i);let n=r.get(Gv(i).toString()),a=n?qt(n):GB(i,e,iU);return s=t,a}},gF).slice();if(o&&!i&&gF(e)){let e=eoN(t,n);1===e.length?c.push(nU.createReturnStatement(e[0].name)):c.push(nU.createReturnStatement(nU.createObjectLiteralExpression(e)))}return{body:nU.createBlock(c,!0),returnValueProperty:a}}}(e,a,d,i,!!(1&s.facts));qo(A);let C=!!(16&s.facts);if(yW(t)){let e=y?[]:[nU.createModifier(121)];32&s.facts&&e.push(nU.createModifier(124)),4&s.facts&&e.push(nU.createModifier(132)),u=nU.createMethodDeclaration(e.length?e:void 0,2&s.facts?nU.createToken(41):void 0,g,void 0,x,v,c,A)}else C&&v.unshift(nU.createParameterDeclaration(void 0,void 0,"this",void 0,_.typeToTypeNode(_.getTypeAtLocation(s.thisNode),t,1),void 0)),u=nU.createFunctionDeclaration(4&s.facts?[nU.createToken(132)]:void 0,2&s.facts?nU.createToken(41):void 0,g,x,v,c,A);let k=esW.ChangeTracker.fromContext(l),I=(_y(s.range)?uX(s.range):s.range).end,w=d0(function(e){if(yB(e)){let t=e.body;if(RJ(t))return t.statements}else if(Nu(e)||N0(e))return e.statements;else if(yW(e))return e.members;return o}(t),e=>e.pos>=I&&yB(e)&&!wW(e));w?k.insertNodeBefore(l.file,w,u,!0):k.insertNodeAtEndOfScope(l.file,t,u),f.writeFixes(k);let R=[],N=function(e,t,n){let r=nU.createIdentifier(n);if(!yW(e))return r;{let n=32&t.facts?nU.createIdentifier(e.name.text):nU.createThis();return nU.createPropertyAccessExpression(n,r)}}(t,s,h);C&&b.unshift(nU.createIdentifier("this"));let D=nU.createCallExpression(C?nU.createPropertyAccessExpression(N,"call"):N,S,b);if(2&s.facts&&(D=nU.createYieldExpression(nU.createToken(41),D)),4&s.facts&&(D=nU.createAwaitExpression(D)),eoM(e)&&(D=nU.createJsxExpression(void 0,D)),a.length&&!d){if(T.assert(!L,"Expected no returnValueProperty"),T.assert(!(1&s.facts),"Expected RangeFacts.HasReturn flag to be unset"),1===a.length){let e=a[0];R.push(nU.createVariableStatement(void 0,nU.createVariableDeclarationList([nU.createVariableDeclaration(qt(e.name),void 0,qt(e.type),D)],e.parent.flags)))}else{let e=[],n=[],r=a[0].parent.flags,i=!1;for(let o of a){e.push(nU.createBindingElement(void 0,void 0,qt(o.name)));let a=_.typeToTypeNode(_.getBaseTypeOfLiteralType(_.getTypeAtLocation(o)),t,1);n.push(nU.createPropertySignature(void 0,o.symbol.name,void 0,a)),i=i||void 0!==o.type,r&=o.parent.flags}let o=i?nU.createTypeLiteralNode(n):void 0;o&&IE(o,1),R.push(nU.createVariableStatement(void 0,nU.createVariableDeclarationList([nU.createVariableDeclaration(nU.createObjectBindingPattern(e),void 0,o,D)],r)))}}else if(a.length||d){if(a.length)for(let e of a){let t=e.parent.flags;2&t&&(t=-3&t|1),R.push(nU.createVariableStatement(void 0,nU.createVariableDeclarationList([nU.createVariableDeclaration(e.symbol.name,void 0,F(e.type))],t)))}L&&R.push(nU.createVariableStatement(void 0,nU.createVariableDeclarationList([nU.createVariableDeclaration(L,void 0,F(c))],1)));let e=eoN(a,d);L&&e.unshift(nU.createShorthandPropertyAssignment(L)),1===e.length?(T.assert(!L,"Shouldn't have returnValueProperty here"),R.push(nU.createExpressionStatement(nU.createAssignment(e[0].name,D))),1&s.facts&&R.push(nU.createReturnStatement())):(R.push(nU.createExpressionStatement(nU.createAssignment(nU.createObjectLiteralExpression(e),D))),L&&R.push(nU.createReturnStatement(nU.createIdentifier(L))))}else 1&s.facts?R.push(nU.createReturnStatement(D)):_y(s.range)?R.push(nU.createExpressionStatement(D)):R.push(D);_y(s.range)?k.replaceNodeRangeWithNodes(l.file,uz(s.range),uX(s.range),R):k.replaceNodeWithNodes(l.file,s.range,R);let O=k.getChanges(),M=(_y(s.range)?uz(s.range):s.range).getSourceFile().fileName,P=qp(O,M,h,!1);return{renameFilename:M,renameLocation:P,edits:O};function F(e){if(void 0===e)return;let t=qt(e),n=t;for(;Rn(n);)n=n.type;return w7(n)&&d0(n.types,e=>155===e.kind)?t:nU.createUnionTypeNode([t,nU.createKeywordTypeNode(155)])}}(i,r[n],a[n],l,e,t)}(n,e,t)}let i=/^constant_scope_(\d+)$/.exec(t);if(i){let t=+i[1];return T.assert(isFinite(t),"Expected to parse a finite number from the constant scope index"),function(e,t,n){let{scopes:r,readsAndWrites:{target:i,usagesPerScope:a,constantErrorsPerScope:o,exposedVariableDeclarations:s}}=eow(e,t);return T.assert(!o[n].length,"The extraction went missing? How?"),T.assert(0===s.length,"Extract constant accepted a range containing a variable declaration?"),t.cancellationToken.throwIfCancellationRequested(),function(e,t,{substitutions:n},r,i){var a;let o=i.program.getTypeChecker(),s=t.getSourceFile(),l=!Rh(e)||yW(t)||o.resolveName(e.name.text,e,111551,!1)||wE(e.name)||ha(e.name)?q_(yW(t)?"newProperty":"newLocal",s):e.name.text,c=EZ(t),d=c||!o.isContextSensitive(e)?void 0:o.typeToTypeNode(o.getContextualType(e),t,1),u=(a=xi(e),n.size?function e(t){let r=n.get(Gv(t).toString());return r?qt(r):GB(t,e,iU)}(a):a);({variableType:d,initializer:u}=function(n,r){if(void 0===n||!Rx(r)&&!RS(r)||r.typeParameters)return{variableType:n,initializer:r};let i=o.getTypeAtLocation(e),a=uY(o.getSignaturesOfType(i,0));if(!a||a.getTypeParameters())return{variableType:n,initializer:r};let s=[],l=!1;for(let e of r.parameters)if(e.type)s.push(e);else{let n=o.getTypeAtLocation(e);n===o.getAnyType()&&(l=!0),s.push(nU.updateParameterDeclaration(e,e.modifiers,e.dotDotDotToken,e.name,e.questionToken,e.type||o.typeToTypeNode(n,t,1),e.initializer))}if(l)return{variableType:n,initializer:r};if(n=void 0,RS(r))r=nU.updateArrowFunction(r,Oj(e)?hh(e):void 0,r.typeParameters,s,r.type||o.typeToTypeNode(a.getReturnType(),t,1),r.equalsGreaterThanToken,r.body);else{if(a&&a.thisParameter){let n=uK(s);if(!n||wb(n.name)&&"this"!==n.name.escapedText){let n=o.getTypeOfSymbolAtLocation(a.thisParameter,e);s.splice(0,0,nU.createParameterDeclaration(void 0,void 0,"this",void 0,o.typeToTypeNode(n,t,1)))}}r=nU.updateFunctionExpression(r,Oj(e)?hh(e):void 0,r.asteriskToken,r.name,r.typeParameters,s,r.type||o.typeToTypeNode(a.getReturnType(),t,1),r.body)}return{variableType:n,initializer:r}}(d,u)),qo(u);let _=esW.ChangeTracker.fromContext(i);if(yW(t)){T.assert(!c,"Cannot extract to a JS class");let n=[];n.push(nU.createModifier(121)),32&r&&n.push(nU.createModifier(124)),n.push(nU.createModifier(146));let a=nU.createPropertyDeclaration(n,l,void 0,d,u),o=nU.createPropertyAccessExpression(32&r?nU.createIdentifier(t.name.getText()):nU.createThis(),nU.createIdentifier(l));eoM(e)&&(o=nU.createJsxExpression(void 0,o));let s=function(e,t){let n;let r=t.members;T.assert(r.length>0,"Found no members");let i=!0;for(let t of r){if(t.pos>e)return n||r[0];if(i&&!wV(t)){if(void 0!==n)return t;i=!1}n=t}return void 0===n?T.fail():n}(e.pos,t);_.insertNodeBefore(i.file,s,a,!0),_.replaceNode(i.file,e,o)}else{let n=nU.createVariableDeclaration(l,void 0,d,u),r=function(e,t){let n;for(;void 0!==e&&e!==t;){if(Nr(e)&&e.initializer===n&&Ni(e.parent)&&e.parent.declarations.length>1)return e;n=e,e=e.parent}}(e,t);if(r){_.insertNodeBefore(i.file,r,n);let t=nU.createIdentifier(l);_.replaceNode(i.file,e,t)}else if(241===e.parent.kind&&t===m9(e,eoI)){let t=nU.createVariableStatement(void 0,nU.createVariableDeclarationList([n],2));_.replaceNode(i.file,e.parent,t)}else{let r=nU.createVariableStatement(void 0,nU.createVariableDeclarationList([n],2)),a=function(e,t){let n;T.assert(!yW(t));for(let r=e;r!==t;r=r.parent)eoI(r)&&(n=r);for(let r=(n||e).parent;;r=r.parent){if(eoO(r)){let t;for(let n of r.statements){if(n.pos>e.pos)break;t=n}if(!t&&NW(r))return T.assert(R7(r.parent.parent),"Grandparent isn't a switch statement"),r.parent.parent;return T.checkDefined(t,"prevStatement failed to get set")}T.assert(r!==t,"Didn't encounter a block-like before encountering scope")}}(e,t);if(0===a.pos?_.insertNodeAtTopOfFile(i.file,r,!1):_.insertNodeBefore(i.file,a,r,!1),241===e.parent.kind)_.delete(i.file,e.parent);else{let t=nU.createIdentifier(l);eoM(e)&&(t=nU.createJsxExpression(void 0,t)),_.replaceNode(i.file,e,t)}}}let p=_.getChanges(),f=e.getSourceFile().fileName,m=qp(p,f,l,!0);return{renameFilename:f,renameLocation:m,edits:p}}(gp(i)?i:i.statements[0].expression,r[n],a[n],e.facts,t)}(n,e,t)}T.fail("Unrecognized action name")}function eok(e,t,n=!0){let r,i,a;let{length:o}=t;if(0===o&&!n)return{errors:[LQ(e,t.start,o,dn.cannotExtractEmpty)]};let s=0===o&&n,l=WE(e,t.start),c=WT(e,mO(t)),d=l&&c&&n?(i=l.getStart(e),a=c.getEnd(),59===e.text.charCodeAt(a)&&a++,{start:i,length:a-i}):t,u=s?m9(l,e=>e.parent&&eoD(e)&&!RR(e.parent)):zS(l,e,d),_=s?u:zS(c,e,d),p=0;if(!u||!_)return{errors:[LQ(e,t.start,o,dn.cannotExtractRange)]};if(8388608&u.flags)return{errors:[LQ(e,t.start,o,dn.cannotExtractJSDoc)]};if(u.parent!==_.parent)return{errors:[LQ(e,t.start,o,dn.cannotExtractRange)]};if(u!==_){if(!eoO(u.parent))return{errors:[LQ(e,t.start,o,dn.cannotExtractRange)]};let n=[];for(let e of u.parent.statements){if(e===u||n.length){let t=h(e);if(t)return{errors:t};n.push(e)}if(e===_)break}return n.length?{targetRange:{range:n,facts:p,thisNode:r}}:{errors:[LQ(e,t.start,o,dn.cannotExtractRange)]}}if(R3(u)&&!u.expression)return{errors:[LQ(e,t.start,o,dn.cannotExtractRange)]};let f=function(e){if(R3(e)){if(e.expression)return e.expression}else if(RX(e)||Ni(e)){let t;let n=RX(e)?e.declarationList.declarations:e.declarations,r=0;for(let e of n)e.initializer&&(r++,t=e.initializer);if(1===r)return t}else if(Nr(e)&&e.initializer)return e.initializer;return e}(u),m=function(e){if(wb(R$(e)?e.expression:e))return[bC(e,dn.cannotExtractIdentifier)]}(f)||h(f);if(m)return{errors:m};return{targetRange:{range:gF(f)?[f]:EH(f)?R$(f.parent)?[f.parent]:f:eoP(f)?f:void 0,facts:p,thisNode:r}};function h(e){var n;let i,a,o;if((n=i||(i={}))[n.None=0]="None",n[n.Break=1]="Break",n[n.Continue=2]="Continue",n[n.Return=4]="Return",T.assert(e.pos<=e.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (1)"),T.assert(!C9(e.pos),"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (2)"),!gF(e)&&!(EH(e)&&eoD(e))&&!eoP(e))return[bC(e,dn.statementOrExpressionExpected)];if(16777216&e.flags)return[bC(e,dn.cannotExtractAmbientBlock)];let s=Ev(e);s&&function(e,t){let n=e;for(;n!==t;){if(169===n.kind){S5(n)&&(p|=32);break}if(166===n.kind){173===Ey(n).kind&&(p|=32);break}171===n.kind&&S5(n)&&(p|=32),n=n.parent}}(e,s);let l=4;if(function e(n){if(a)return!0;if(gO(n)&&S3(257===n.kind?n.parent.parent:n,1))return(a||(a=[])).push(bC(n,dn.cannotExtractExportedEntity)),!0;switch(n.kind){case 269:return(a||(a=[])).push(bC(n,dn.cannotExtractImport)),!0;case 274:return(a||(a=[])).push(bC(n,dn.cannotExtractExportedEntity)),!0;case 106:if(210===n.parent.kind){let e=Ev(n);if(void 0===e||e.pos=t.start+t.length)return(a||(a=[])).push(bC(n,dn.cannotExtractSuper)),!0}else p|=8,r=n;break;case 216:Mr(n,function e(t){if(K1(t))p|=8,r=n;else{if(yW(t)||yF(t)&&!RS(t))return!1;Mr(t,e)}});case 260:case 259:N0(n.parent)&&void 0===n.parent.externalModuleIndicator&&(a||(a=[])).push(bC(n,dn.functionWillNotBeVisibleInTheNewScope));case 228:case 215:case 171:case 173:case 174:case 175:return!1}let i=l;switch(n.kind){case 242:l&=-5;break;case 255:l=0;break;case 238:n.parent&&255===n.parent.kind&&n.parent.finallyBlock===n&&(l=4);break;case 293:case 292:l|=1;break;default:gh(n,!1)&&(l|=3)}switch(n.kind){case 194:case 108:p|=8,r=n;break;case 253:{let t=n.label;(o||(o=[])).push(t.escapedText),Mr(n,e),o.pop();break}case 249:case 248:{let e=n.label;e?d6(o,e.escapedText)||(a||(a=[])).push(bC(n,dn.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange)):l&(249===n.kind?1:2)||(a||(a=[])).push(bC(n,dn.cannotExtractRangeContainingConditionalBreakOrContinueStatements));break}case 220:p|=4;break;case 226:p|=2;break;case 250:4&l?p|=1:(a||(a=[])).push(bC(n,dn.cannotExtractRangeContainingConditionalReturnStatement));break;default:Mr(n,e)}l=i}(e),8&p){let t=ET(e,!1,!1);(259===t.kind||171===t.kind&&207===t.parent.kind||215===t.kind)&&(p|=16)}return a}}function eoI(e){return RS(e)?RJ(e.body):yB(e)||N0(e)||Nu(e)||yW(e)}function eow(e,t){let{file:n}=t,r=function(e){let t=_y(e.range)?uz(e.range):e.range;if(8&e.facts&&!(16&e.facts)){let e=Ev(t);if(e){let n=m9(t,yB);return n?[n,e]:[e]}}let n=[];for(;;)if(166===(t=t.parent).kind&&(t=m9(t,e=>yB(e)).parent),eoI(t)&&(n.push(t),308===t.kind))return n}(e),i=_y(e.range)?{pos:uz(e.range).getStart(n),end:uX(e.range).getEnd()}:e.range,a=function(e,t,n,r,i,a){let o,s;let l=new Map,c=[],d=[],u=[],_=[],p=[],f=new Map,m=[],h=_y(e.range)?1===e.range.length&&R$(e.range[0])?e.range[0].expression:void 0:e.range;if(void 0===h){let t=e.range,n=uz(t).getStart();s=LQ(r,n,uX(t).end-n,dn.expressionExpected)}else 147456&i.getTypeAtLocation(h).flags&&(s=bC(h,dn.uselessConstantType));for(let e of t){c.push({usages:new Map,typeParameterUsages:new Map,substitutions:new Map}),d.push(new Map),u.push([]);let t=[];s&&t.push(s),yW(e)&&EZ(e)&&t.push(bC(e,dn.cannotExtractToJSClass)),RS(e)&&!RJ(e.body)&&t.push(bC(e,dn.cannotExtractToExpressionArrowFunction)),_.push(t)}let y=new Map,g=_y(e.range)?nU.createBlock(e.range):e.range,v=_y(e.range)?uz(e.range):e.range,b=!!m9(v,e=>b_(e)&&0!==hZ(e).length);if(function a(o,s=1){if(b&&E(i.getTypeAtLocation(o)),gO(o)&&o.symbol&&p.push(o),AA(o))a(o.left,2),a(o.right);else if(gu(o))a(o.operand,2);else if(Rh(o)||Ry(o))Mr(o,a);else if(wb(o)){if(!o.parent||wM(o.parent)&&o!==o.parent.left||Rh(o.parent)&&o!==o.parent.expression)return;(function(a,o,s){let l=function(a,o,s){let l=x(a);if(!l)return;let p=Gb(l).toString(),f=y.get(p);if(f&&f>=o)return p;if(y.set(p,o),f){for(let e of c)e.usages.get(a.text)&&e.usages.set(a.text,{usage:o,symbol:l,node:a});return p}let m=l.getDeclarations(),h=m&&d0(m,e=>e.getSourceFile()===r);if(!(!h||K7(n,h.getStart(),h.end))){if(2&e.facts&&2===o){let e=bC(a,dn.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators);for(let t of u)t.push(e);for(let t of _)t.push(e)}for(let e=0;ee.parent===n))return nU.createIdentifier(t.name);let a=e(t.parent,n,r);if(void 0!==a)return r?nU.createQualifiedName(a,nU.createIdentifier(t.name)):nU.createPropertyAccessExpression(a,t.name)}(l.exportSymbol||l,n,s);if(t)d[e].set(p,t);else if(s){if(!(262144&l.flags)){let t=bC(a,dn.typeWillNotBeVisibleInTheNewScope);u[e].push(t),_[e].push(t)}}else c[e].usages.set(a.text,{usage:o,symbol:l,node:a})}}return p}}(a,o,s);if(l)for(let e=0;e0){let e=new Map,n=0;for(let r=v;void 0!==r&&n{c[n].typeParameterUsages.set(t,e)}),n++),b_(r))for(let t of hZ(r)){let n=i.getTypeAtLocation(t);l.has(n.id.toString())&&e.set(n.id.toString(),n)}T.assert(n===t.length,"Should have iterated all scopes")}p.length&&Mr(bu(t[0],t[0].parent)?t[0]:bv(t[0]),function t(n){if(n===e.range||_y(e.range)&&e.range.indexOf(n)>=0)return;let r=wb(n)?x(n):i.getSymbolAtLocation(n);if(r){let e=d0(p,e=>e.symbol===r);if(e){if(Nr(e)){let t=e.symbol.id.toString();f.has(t)||(m.push(e),f.set(t,!0))}else o=o||e}}Mr(n,t)});for(let n=0;n0&&(i.usages.size>0||i.typeParameterUsages.size>0)){let t=_y(e.range)?e.range[0]:e.range;_[n].push(bC(t,dn.cannotAccessVariablesFromNestedScopes))}16&e.facts&&yW(t[n])&&u[n].push(bC(e.thisNode,dn.cannotExtractFunctionsContainingThisToMethod));let a=!1;if(c[n].usages.forEach(e=>{2===e.usage&&(a=!0,106500&e.symbol.flags&&e.symbol.valueDeclaration&&S6(e.symbol.valueDeclaration,64)&&(r=e.symbol.valueDeclaration))}),T.assert(_y(e.range)||0===m.length,"No variable declarations expected if something was extracted"),a&&!_y(e.range)){let t=bC(e.range,dn.cannotWriteInExpression);u[n].push(t),_[n].push(t)}else if(r&&n>0){let e=bC(r,dn.cannotExtractReadonlyPropertyInitializerOutsideConstructor);u[n].push(e),_[n].push(e)}else if(o){let e=bC(o,dn.cannotExtractExportedEntity);u[n].push(e),_[n].push(e)}}return{target:g,usagesPerScope:c,functionErrorsPerScope:u,constantErrorsPerScope:_,exposedVariableDeclarations:m};function E(e){let{visitedTypes:t}=i.getSymbolWalker(()=>(a.throwIfCancellationRequested(),!0)).walkType(e);for(let e of t)e.isTypeParameter()&&l.set(e.id.toString(),e)}function x(e){return e.parent&&NY(e.parent)&&e.parent.name===e?i.getShorthandAssignmentValueSymbol(e.parent):i.getSymbolAtLocation(e)}}(e,r,i,n,t.program.getTypeChecker(),t.cancellationToken);return{scopes:r,readsAndWrites:a}}function eoR({type:e,declaration:t},{type:n,declaration:r}){return _Y(t,r,"pos",_U)||_W(e.symbol?e.symbol.getName():"",n.symbol?n.symbol.getName():"")||_U(e.id,n.id)}function eoN(e,t){let n=un(e,e=>nU.createShorthandPropertyAssignment(e.symbol.name)),r=un(t,e=>nU.createShorthandPropertyAssignment(e.symbol.name));return void 0===n?r:void 0===r?n:n.concat(r)}function eoD(e){let{parent:t}=e;if(302===t.kind)return!1;switch(e.kind){case 10:return 269!==t.kind&&273!==t.kind;case 227:case 203:case 205:return!1;case 79:return 205!==t.kind&&273!==t.kind&&278!==t.kind}return!0}function eoO(e){switch(e.kind){case 238:case 308:case 265:case 292:return!0;default:return!1}}function eoM(e){return eoP(e)||(NO(e)||NM(e)||NG(e))&&(NO(e.parent)||NG(e.parent))}function eoP(e){return wr(e)&&e.parent&&NV(e.parent)}var eoF=dj({"src/services/refactors/extractSymbol.ts"(){var e;ecu(),eoY(),c9="Extract Symbol",de={name:"Extract Constant",description:LX(tA.Extract_constant),kind:"refactor.extract.constant"},dt={name:"Extract Function",description:LX(tA.Extract_function),kind:"refactor.extract.function"},ei0(c9,{kinds:[de.kind,dt.kind],getEditsForAction:eoC,getAvailableActions:eoL}),(e=>{function t(e){return{message:e,code:0,category:3,key:e}}e.cannotExtractRange=t("Cannot extract range."),e.cannotExtractImport=t("Cannot extract import statement."),e.cannotExtractSuper=t("Cannot extract super call."),e.cannotExtractJSDoc=t("Cannot extract JSDoc."),e.cannotExtractEmpty=t("Cannot extract empty range."),e.expressionExpected=t("expression expected."),e.uselessConstantType=t("No reason to extract constant of type."),e.statementOrExpressionExpected=t("Statement or expression expected."),e.cannotExtractRangeContainingConditionalBreakOrContinueStatements=t("Cannot extract range containing conditional break or continue statements."),e.cannotExtractRangeContainingConditionalReturnStatement=t("Cannot extract range containing conditional return statement."),e.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange=t("Cannot extract range containing labeled break or continue with target outside of the range."),e.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators=t("Cannot extract range containing writes to references located outside of the target range in generators."),e.typeWillNotBeVisibleInTheNewScope=t("Type will not visible in the new scope."),e.functionWillNotBeVisibleInTheNewScope=t("Function will not visible in the new scope."),e.cannotExtractIdentifier=t("Select more than a single identifier."),e.cannotExtractExportedEntity=t("Cannot extract exported declaration"),e.cannotWriteInExpression=t("Cannot write back side-effects when extracting an expression"),e.cannotExtractReadonlyPropertyInitializerOutsideConstructor=t("Cannot move initialization of read-only class property outside of the constructor"),e.cannotExtractAmbientBlock=t("Cannot extract code from ambient contexts"),e.cannotAccessVariablesFromNestedScopes=t("Cannot access variables from nested scopes"),e.cannotExtractToJSClass=t("Cannot extract constant to a class scope in JS"),e.cannotExtractToExpressionArrowFunction=t("Cannot extract constant to an arrow function without a block"),e.cannotExtractFunctionsContainingThisToMethod=t("Cannot extract functions containing this to method")})(dn||(dn={})),(e=dr||{})[e.None=0]="None",e[e.HasReturn=1]="HasReturn",e[e.IsGenerator=2]="IsGenerator",e[e.IsAsyncFunction=4]="IsAsyncFunction",e[e.UsesThis=8]="UsesThis",e[e.UsesThisInFunction=16]="UsesThisInFunction",e[e.InStaticRegion=32]="InStaticRegion",dr=e}}),eoG={};dH(eoG,{Messages:()=>dn,RangeFacts:()=>dr,getRangeToExtract:()=>eok,getRefactorActionsToExtractSymbol:()=>eoL,getRefactorEditsToExtractSymbol:()=>eoC});var eoB=dj({"src/services/_namespaces/ts.refactor.extractSymbol.ts"(){eoF()}}),eoU=dj({"src/services/refactors/generateGetAccessorAndSetAccessor.ts"(){ecu(),eoY(),ds={name:di="Generate 'get' and 'set' accessors",description:da=tA.Generate_get_and_set_accessors.message,kind:"refactor.rewrite.property.generateAccessors"},ei0(di,{kinds:[ds.kind],getEditsForAction:function(e,t){if(!e.endPosition)return;let n=enn.getAccessorConvertiblePropertyAtPosition(e.file,e.program,e.startPosition,e.endPosition);T.assert(n&&!eas(n),"Expected applicable refactor info");let r=enn.generateAccessorFromProperty(e.file,e.program,e.startPosition,e.endPosition,e,t);if(!r)return;let i=e.file.fileName,a=n.renameAccessor?n.accessorName:n.fieldName,o=(wb(a)?0:-1)+qp(r,i,a.text,wG(n.declaration));return{renameFilename:i,renameLocation:o,edits:r}},getAvailableActions(e){if(!e.endPosition)return o;let t=enn.getAccessorConvertiblePropertyAtPosition(e.file,e.program,e.startPosition,e.endPosition,"invoked"===e.triggerReason);return t?eas(t)?e.preferences.provideRefactorNotApplicableReason?[{name:di,description:da,actions:[{...ds,notApplicableReason:t.error}]}]:o:[{name:di,description:da,actions:[ds]}]:o}})}}),eoV={},eoj=dj({"src/services/_namespaces/ts.refactor.generateGetAccessorAndSetAccessor.ts"(){eoU()}});function eoH(e){let t=eoW(e);if(t&&!eas(t))return{renameFilename:void 0,renameLocation:void 0,edits:esW.ChangeTracker.with(e,n=>{var r,i,a;let o,s,l;return r=e.file,i=t.declaration,a=t.returnTypeNode,o=Wo(i,21,r),void((l=(s=RS(i)&&void 0===o)?uz(i.parameters):o)&&(s&&(n.insertNodeBefore(r,l,nU.createToken(20)),n.insertNodeAfter(r,l,nU.createToken(21))),n.insertNodeAt(r,l.end,a,{prefix:": "})))})}}function eoK(e){let t=eoW(e);return t?eas(t)?e.preferences.provideRefactorNotApplicableReason?[{name:dl,description:dc,actions:[{...dd,notApplicableReason:t.error}]}]:o:[{name:dl,description:dc,actions:[dd]}]:o}function eoW(e){if(EZ(e.file)||!eal(dd.kind,e.kind))return;let t=m9(Wv(e.file,e.startPosition),e=>RJ(e)||e.parent&&RS(e.parent)&&(38===e.kind||e.parent.body===e)?"quit":function(e){switch(e.kind){case 259:case 215:case 216:case 171:return!0;default:return!1}}(e));if(!t||!t.body||t.type)return{error:LX(tA.Return_type_must_be_inferred_from_a_function)};let n=e.program.getTypeChecker(),r=function(e,t){if(e.isImplementationOfOverload(t)){let n=e.getTypeAtLocation(t).getCallSignatures();if(n.length>1)return e.getUnionType(uu(n,e=>e.getReturnType()))}let n=e.getSignatureFromDeclaration(t);if(n)return e.getReturnTypeOfSignature(n)}(n,t);if(!r)return{error:LX(tA.Could_not_determine_function_return_type)};let i=n.typeToTypeNode(r,t,1);if(i)return{declaration:t,returnTypeNode:i}}var eoz=dj({"src/services/refactors/inferFunctionReturnType.ts"(){ecu(),eoY(),dl="Infer function return type",dc=tA.Infer_function_return_type.message,dd={name:dl,description:dc,kind:"refactor.rewrite.function.returnType"},ei0(dl,{kinds:[dd.kind],getEditsForAction:eoH,getAvailableActions:eoK})}}),eoq={},eoJ=dj({"src/services/_namespaces/ts.refactor.inferFunctionReturnType.ts"(){eoz()}}),eoX={};dH(eoX,{addOrRemoveBracesToArrowFunction:()=>eaB,convertArrowFunctionOrFunctionExpression:()=>eaJ,convertParamsToDestructuredObject:()=>eot,convertStringOrTemplateLiteral:()=>eo_,convertToOptionalChainExpression:()=>eoS,doChangeNamedToNamespaceOrDefault:()=>eat,extractSymbol:()=>eoG,generateGetAccessorAndSetAccessor:()=>eoV,getApplicableRefactors:()=>ei1,getEditsForRefactor:()=>ei2,inferFunctionReturnType:()=>eoq,isRefactorErrorInfo:()=>eas,refactorKindBeginsWith:()=>eal,registerRefactor:()=>ei0});var eoY=dj({"src/services/_namespaces/ts.refactor.ts"(){ei4(),ei5(),ear(),eao(),eac(),eaI(),eaU(),eaX(),eon(),eop(),eoA(),eoB(),eoj(),eoJ()}});function eo$(e,t,n,r){let i=Wh(Wy(t,n));if(eo1(i)){let n=function(e,t,n,r,i){let a=t.getSymbolAtLocation(e);if(!a){if(g8(e)){let r=Wu(e,t);if(r&&(128&r.flags||1048576&r.flags&&dZ(r.types,e=>!!(128&e.flags))))return eoZ(e.text,e.text,"string","",e,n)}else if(KK(e)){let t=v$(e);return eoZ(t,t,"label","",e,n)}return}let{declarations:o}=a;if(!o||0===o.length)return;if(o.some(e=>{let t;return t=e.getSourceFile(),r.isSourceFileDefaultLibrary(t)&&fu(t.fileName,".d.ts")}))return eo0(tA.You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library);if(wb(e)&&"default"===e.escapedText&&a.parent&&1536&a.parent.flags)return;if(g8(e)&&TN(e))return i.allowRenameOfImportPath?function(e,t,n){if(!mR(e.text))return eo0(tA.You_cannot_rename_a_module_via_a_global_import);let r=n.declarations&&d0(n.declarations,N0);if(!r)return;let i=_Z(e.text,"/index")||_Z(e.text,"/index.js")?void 0:_1(C4(r.fileName),"/index"),a=void 0===i?r.fileName:i,o=e.text.lastIndexOf("/")+1;return{canRename:!0,fileToRename:a,kind:void 0===i?"module":"directory",displayName:a,fullDisplayName:a,kindModifiers:"",triggerSpan:mz(e.getStart(t)+1+o,e.text.length-o)}}(e,n,a):void 0;let s=function(e,t,n,r){if(!r.providePrefixAndSuffixTextForRename&&2097152&t.flags){let e=t.declarations&&d0(t.declarations,e=>Nx(e));e&&!e.propertyName&&(t=n.getAliasedSymbol(t))}let{declarations:i}=t;if(!i)return;let a=eoQ(e.path);if(void 0===a)return uv(i,e=>qK(e.getSourceFile().path))?tA.You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder:void 0;for(let e of i){let t=eoQ(e.getSourceFile().path);if(t){let e=Math.min(a.length,t.length);for(let n=0;n<=e;n++)if(0!==_W(a[n],t[n]))return tA.You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder}}}(n,a,t,i);if(s)return eo0(s);let l=esT.getSymbolKind(t,a,e),c=z6(e)||xO(e)&&164===e.parent.kind?Sl(xU(e)):void 0;return eoZ(c||t.symbolToString(a),c||t.getFullyQualifiedName(a),l,esT.getSymbolModifiers(t,a),e,n)}(i,e.getTypeChecker(),t,e,r);if(n)return n}return eo0(tA.You_cannot_rename_this_element)}function eoQ(e){let t=fE(e),n=t.lastIndexOf("node_modules");if(-1!==n)return t.slice(0,n+2)}function eoZ(e,t,n,r,i,a){let o,s;return{canRename:!0,fileToRename:void 0,kind:n,displayName:e,fullDisplayName:t,kindModifiers:r,triggerSpan:(o=i.getStart(a),s=i.getWidth(a),g8(i)&&(o+=1,s-=2),mz(o,s))}}function eo0(e){return{canRename:!1,localizedErrorMessage:LX(e)}}function eo1(e){switch(e.kind){case 79:case 80:case 10:case 14:case 108:return!0;case 8:return K$(e);default:return!1}}var eo2=dj({"src/services/rename.ts"(){ecu()}}),eo4={};dH(eo4,{getRenameInfo:()=>eo$,nodeIsEligibleForRename:()=>eo1});var eo8=dj({"src/services/_namespaces/ts.Rename.ts"(){eo2()}});function eo6(e,t,n,r,i){let a=e.getTypeChecker(),o=WT(t,n);if(!o)return;let s=!!r&&"characterTyped"===r.kind;if(s&&(WC(t,n,o)||WG(t,n)))return;let l=function(e,t,n,r,i){for(let o=e;!N0(o)&&(i||!RJ(o));o=o.parent){var a;T.assert(K4(o.parent,o),"Not a subspan",()=>`Child: ${T.formatSyntaxKind(o.kind)}, parent: ${T.formatSyntaxKind(o.parent.kind)}`);let e=function(e,t,n,r){let i=function(e,t,n,r){if(20!==e.kind&&27!==e.kind)return;let{parent:i}=e;switch(i.kind){case 214:case 171:case 215:case 216:let a=eo7(e,n,t);if(!a)return;let{argumentIndex:o,argumentCount:s,argumentsSpan:l}=a,c=wH(i)?r.getContextualTypeForObjectLiteralElement(i):r.getContextualType(i);return c&&{contextualType:c,argumentIndex:o,argumentCount:s,argumentsSpan:l};case 223:{let t=function e(t){return RR(t.parent)?e(t.parent):t}(i),n=r.getContextualType(t),a=20===e.kind?0:ese(i)-1,o=ese(t);return n&&{contextualType:n,argumentIndex:a,argumentCount:o,argumentsSpan:W1(i)}}default:return}}(e,n,t,r);if(!i)return;let{contextualType:a,argumentIndex:o,argumentCount:s,argumentsSpan:l}=i,c=a.getNonNullableType(),d=c.symbol;if(void 0===d)return;let u=uJ(c.getCallSignatures());if(void 0!==u)return{isTypeParameterList:!1,invocation:{kind:2,signature:u,node:e,symbol:"__type"===d.name&&dJ(d.declarations,e=>{var t;return wZ(e)?null==(t=_E(e.parent,gw))?void 0:t.symbol:void 0})||d},argumentsSpan:l,argumentIndex:o,argumentCount:s}}(a=o,t,n,r)||eo9(a,t,n);if(e)return e}}(o,n,t,a,!!r&&"invoked"===r.kind);if(!l)return;i.throwIfCancellationRequested();let c=function({invocation:e,argumentCount:t},n,r,i,a){switch(e.kind){case 0:{if(a&&!function(e,t,n){if(!ga(t))return!1;let r=t.getChildren(n);switch(e.kind){case 20:return d6(r,e);case 27:{let t=Ws(e);return!!t&&d6(r,t)}case 29:return eo3(e,n,t.expression);default:return!1}}(i,e.node,r))return;let o=[],s=n.getResolvedSignatureForSignatureHelp(e.node,o,t);return 0===o.length?void 0:{kind:0,candidates:o,resolvedSignature:s}}case 1:{let{called:o}=e;if(a&&!eo3(i,r,wb(o)?o.parent:o))return;let s=WP(o,t,n);if(0!==s.length)return{kind:0,candidates:s,resolvedSignature:uz(s)};let l=n.getSymbolAtLocation(o);return l&&{kind:1,symbol:l}}case 2:return{kind:0,candidates:[e.signature],resolvedSignature:e.signature};default:return T.assertNever(e)}}(l,a,t,o,s);return(i.throwIfCancellationRequested(),c)?a.runWithCancellationToken(i,e=>0===c.kind?esi(c.candidates,c.resolvedSignature,l,t,e):function(e,{argumentCount:t,argumentsSpan:n,invocation:r,argumentIndex:i},a,o){var s;let l,c,d,u,_,p=o.getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(e);if(p)return{items:[(s=esr(r),l=z2(o,e),c=iK(),d=p.map(e=>esa(e,o,s,a,c)),u=e.getDocumentationComment(o),_=e.getJsDocTags(o),{isVariadic:!1,prefixDisplayParts:[...l,zU(29)],suffixDisplayParts:[zU(31)],separatorDisplayParts:d_,parameters:d,documentation:u,tags:_})],applicableSpan:n,selectedItemIndex:0,argumentIndex:i,argumentCount:t}}(c.symbol,l,t,e)):EZ(t)?function(e,t,n){if(2===e.invocation.kind)return;let r=esn(e.invocation),i=Rh(r)?r.name.text:void 0,a=t.getTypeChecker();return void 0===i?void 0:dJ(t.getSourceFiles(),t=>dJ(t.getNamedDeclarations().get(i),r=>{let i=r.symbol&&a.getTypeOfSymbolAtLocation(r.symbol,r),o=i&&i.getCallSignatures();if(o&&o.length)return a.runWithCancellationToken(n,n=>esi(o,o[0],e,t,n,!0))}))}(l,e,i):void 0}function eo3(e,t,n){let r=e.getFullStart(),i=e.parent;for(;i;){let e=WS(r,t,i,!0);if(e)return K4(n,e);i=i.parent}return T.fail("Could not find preceding token")}function eo5(e,t,n){let r=eo9(e,t,n);return!r||r.isTypeParameterList||0!==r.invocation.kind?void 0:{invocation:r.invocation.node,argumentCount:r.argumentCount,argumentIndex:r.argumentIndex}}function eo7(e,t,n){var r;let i,a,o,s=function(e,t){if(29===e.kind||20===e.kind){let n,r;return{list:(r=(n=e.parent.getChildren(t)).indexOf(e),T.assert(r>=0&&n.length>r+1),n[r+1]),argumentIndex:0}}{let t=Ws(e);return t&&{list:t,argumentIndex:function(e,t){let n=0;for(let r of e.getChildren()){if(r===t)break;27!==r.kind&&n++}return n}(t,e)}}}(e,n);if(!s)return;let{list:l,argumentIndex:c}=s,d=(r=WC(n,t,e),a=d7(i=l.getChildren(),e=>27!==e.kind),!r&&i.length>0&&27===uX(i).kind&&a++,a);0!==c&&T.assertLessThan(c,d);let u=mz(o=l.getFullStart(),mc(n.text,l.getEnd(),!1)-o);return{list:l,argumentIndex:c,argumentCount:d,argumentsSpan:u}}function eo9(e,t,n){let{parent:r}=e;if(ga(r)){let i=eo7(e,t,n);if(!i)return;let{list:a,argumentIndex:o,argumentCount:s,argumentsSpan:l}=i;return{isTypeParameterList:!!r.typeArguments&&r.typeArguments.pos===a.pos,invocation:{kind:0,node:r},argumentsSpan:l,argumentIndex:o,argumentCount:s}}if(wo(e)&&Rb(r))return Wq(e,t,n)?est(r,0,n):void 0;if(ws(e)&&212===r.parent.kind){let i=r.parent;return T.assert(225===r.kind),est(i,Wq(e,t,n)?0:1,n)}if(Rz(r)&&Rb(r.parent.parent)){let i=r.parent.parent;if(wc(e)&&!Wq(e,t,n))return;let a=r.parent.templateSpans.indexOf(r);return est(i,(T.assert(t>=e.getStart(),"Assumed 'position' could not occur before node."),yg(e))?Wq(e,t,n)?0:a+2:a+1,n)}if(gK(r)){let e=r.attributes.pos,t=mc(n.text,r.attributes.end,!1);return{isTypeParameterList:!1,invocation:{kind:0,node:r},argumentsSpan:mz(e,t-e),argumentIndex:0,argumentCount:1}}{let t=WF(e,n);if(t){let{called:r,nTypeArguments:i}=t,a=mq(r.getStart(n),e.end);return{isTypeParameterList:!0,invocation:{kind:1,called:r},argumentsSpan:a,argumentIndex:i,argumentCount:i+1}}return}}function ese(e){return RR(e.left)?ese(e.left)+1:2}function est(e,t,n){let r,i,a,o=wo(e.template)?1:e.template.templateSpans.length+1;return 0!==t&&T.assertLessThan(t,o),{isTypeParameterList:!1,invocation:{kind:0,node:e},argumentsSpan:(i=(r=e.template).getStart(),a=r.getEnd(),225===r.kind&&0===uX(r.templateSpans).literal.getFullWidth()&&(a=mc(n.text,a,!1)),mz(i,a-i)),argumentIndex:t,argumentCount:o}}function esn(e){return 0===e.kind?EO(e.node):e.called}function esr(e){return 0===e.kind?e.node:1===e.kind?e.called:e.node}function esi(e,t,{isTypeParameterList:n,argumentCount:r,argumentsSpan:i,invocation:a,argumentIndex:s},l,c,d){var u;let _=esr(a),p=2===a.kind?a.symbol:c.getSymbolAtLocation(esn(a))||d&&(null==(u=t.declaration)?void 0:u.symbol),f=p?z2(c,p,d?l:void 0,void 0):o,m=un(e,e=>{let t;return t=(n?function(e,t,n,r){let i=(e.target||e).typeParameters,a=iK(),s=(i||o).map(e=>esa(e,t,n,r,a)),l=e.thisParameter?[t.symbolToParameterDeclaration(e.thisParameter,n,du)]:[];return t.getExpandedParameters(e).map(e=>{let i=nU.createNodeArray([...l,...un(e,e=>t.symbolToParameterDeclaration(e,n,du))]),o=z0(e=>{a.writeList(2576,i,r,e)});return{isVariadic:!1,parameters:s,prefix:[zU(29)],suffix:[zU(31),...o]}})}:function(e,t,n,r){let i=iK(),a=z0(a=>{if(e.typeParameters&&e.typeParameters.length){let o=nU.createNodeArray(e.typeParameters.map(e=>t.typeParameterToDeclaration(e,n,du)));i.writeList(53776,o,r,a)}}),o=t.getExpandedParameters(e),s=t.hasEffectiveRestParameter(e)?1===o.length?e=>!0:e=>{var t;return!!(e.length&&(null==(t=_E(e[e.length-1],vn))?void 0:t.links.checkFlags)&32768)}:e=>!1;return o.map(e=>({isVariadic:s(e),parameters:e.map(e=>{let a,o,s;return a=z0(a=>{let o=t.symbolToParameterDeclaration(e,n,du);i.writeNode(4,o,r,a)}),o=t.isOptionalParameter(e.valueDeclaration),s=vn(e)&&!!(32768&e.links.checkFlags),{name:e.name,documentation:e.getDocumentationComment(t),displayParts:a,isOptional:o,isRest:s}}),prefix:[...a,zU(20)],suffix:[zU(21)]}))})(e,c,_,l),un(t,({isVariadic:t,parameters:n,prefix:r,suffix:i})=>{let a=[...f,...r],o=[...i,...z0(t=>{t.writePunctuation(":"),t.writeSpace(" ");let n=c.getTypePredicateOfSignature(e);n?c.writeTypePredicate(n,_,void 0,t):c.writeType(c.getReturnTypeOfSignature(e),_,void 0,t)})],s=e.getDocumentationComment(c),l=e.getJsDocTags();return{isVariadic:t,prefixDisplayParts:a,suffixDisplayParts:o,separatorDisplayParts:d_,parameters:n,documentation:s,tags:l}})});0!==s&&T.assertLessThan(s,r);let h=0,y=0;for(let n=0;n1)){let e=0;for(let t of i){if(t.isVariadic||t.parameters.length>=r){h=y+e;break}e++}}y+=i.length}T.assert(-1!==h);let g={items:us(m,_C),applicableSpan:i,selectedItemIndex:h,argumentIndex:s,argumentCount:r},v=g.items[h];if(v.isVariadic){let e=d2(v.parameters,e=>!!e.isRest);-1{let o=t.typeParameterToDeclaration(e,n,du);i.writeNode(4,o,r,a)});return{name:e.symbol.name,documentation:e.symbol.getDocumentationComment(t),displayParts:a,isOptional:!1,isRest:!1}}var eso=dj({"src/services/signatureHelp.ts"(){ecu(),du=70246400,d_=[zU(27),zG()]}}),ess={};dH(ess,{getArgumentInfoForCompletions:()=>eo5,getSignatureHelpItems:()=>eo6});var esl=dj({"src/services/_namespaces/ts.SignatureHelp.ts"(){eso()}});function esc(e,t){var n,r;let i={textSpan:mq(t.getFullStart(),t.getEnd())},a=t;n:for(;;){let i=function(e){var t;if(N0(e))return esd(e.getChildAt(0).getChildren(),dp);if(Ro(e)){let[t,...n]=e.getChildren(),r=T.checkDefined(n.pop());T.assertEqual(t.kind,18),T.assertEqual(r.kind,19);let i=esd(n,t=>t===e.readonlyToken||146===t.kind||t===e.questionToken||57===t.kind);return[t,es_(esu(esd(i,({kind:e})=>22===e||165===e||23===e),({kind:e})=>58===e)),r]}if(wU(e)){let n=esd(e.getChildren(),t=>t===e.name||d6(e.modifiers,t)),r=(null==(t=n[0])?void 0:t.kind)===323?n[0]:void 0,i=esu(r?n.slice(1):n,({kind:e})=>58===e);return r?[r,es_(i)]:i}if(wG(e)){let t=esd(e.getChildren(),t=>t===e.dotDotDotToken||t===e.name);return esu(esd(t,n=>n===t[0]||n===e.questionToken),({kind:e})=>63===e)}return Rp(e)?esu(e.getChildren(),({kind:e})=>63===e):e.getChildren()}(a);if(!i.length)break;for(let s=0;se)break n;let u=uY(mE(t.text,c.end));if(u&&2===u.kind&&function(e,n){o(e,n);let r=e;for(;47===t.text.charCodeAt(r);)r++;o(r,n)}(u.pos,u.end),T.assert(c.pos<=e),eesc});var esm=dj({"src/services/_namespaces/ts.SmartSelectionRange.ts"(){esp()}});function esh(e,t,n){let r=esy(e,t,n);if(""!==r)return r;let i=L_(t);return 32&i?g9(t,228)?"local class":"class":384&i?"enum":524288&i?"type":64&i?"interface":262144&i?"type parameter":8&i?"enum member":2097152&i?"alias":1536&i?"module":r}function esy(e,t,n){let r=e.getRootSymbols(t);if(1===r.length&&8192&uz(r).flags&&0!==e.getTypeOfSymbolAtLocation(t,n).getNonNullableType().getCallSignatures().length)return"method";if(e.isUndefinedSymbol(t))return"var";if(e.isArgumentsSymbol(t))return"local var";if(108===n.kind&&gp(n)||Sj(n))return"parameter";let i=L_(t);if(3&i)return zM(t)?"parameter":t.valueDeclaration&&bK(t.valueDeclaration)?"const":dz(t.declarations,bW)?"let":esb(t)?"local var":"var";if(16&i)return esb(t)?"local function":"function";if(32768&i)return"getter";if(65536&i)return"setter";if(8192&i)return"method";if(16384&i)return"constructor";if(131072&i)return"index";if(4&i)return 33554432&i&&6&t.links.checkFlags?dz(e.getRootSymbols(t),e=>{if(98311&e.getFlags())return"property"})||(e.getTypeOfSymbolAtLocation(t,n).getCallSignatures().length?"method":"property"):"property";return""}function esg(e){if(e.declarations&&e.declarations.length){let[t,...n]=e.declarations,r=dW(n)&&q5(t)&&uv(n,e=>!q5(e))?8192:0,i=WV(t,r);if(i)return i.split(",")}return[]}function esv(e,t){if(!t)return"";let n=new Set(esg(t));if(2097152&t.flags){let r=e.getAliasedSymbol(t);r!==t&&dz(esg(r),e=>{n.add(e)})}return 16777216&t.flags&&n.add("optional"),n.size>0?u9(n.values()).join(","):""}function esb(e){return!e.parent&&dz(e.declarations,e=>{if(215===e.kind)return!0;if(257!==e.kind&&259!==e.kind)return!1;for(let t=e.parent;!Es(t);t=t.parent)if(308===t.kind||265===t.kind)return!1;return!0})}var esE=dj({"src/services/symbolDisplay.ts"(){ecu(),df=70246400}}),esT={};dH(esT,{getSymbolDisplayPartsDocumentationAndSymbolKind:()=>function e(t,n,r,i,a,s=KL(a),l){var c;let d,u,_;let p=[],f=[],m=[],h=L_(n),y=1&s?esy(t,n,a):"",g=!1,v=108===a.kind&&EK(a)||Sj(a),b=!1;if(108===a.kind&&!v)return{displayParts:[zB(108)],documentation:[],symbolKind:"primitive type",tags:void 0};if(""!==y||32&h||2097152&h){let e,r;if("getter"===y||"setter"===y){let e=d0(n.declarations,e=>e.name===a);if(e)switch(e.kind){case 174:y="getter";break;case 175:y="setter";break;case 169:y="accessor";break;default:T.assertNever(e)}else y="property"}if(d=v?t.getTypeAtLocation(a):t.getTypeOfSymbolAtLocation(n,a),a.parent&&208===a.parent.kind){let e=a.parent.name;(e===a||e&&0===e.getFullWidth())&&(a=a.parent)}if(ga(a)?r=a:Kk(a)||KI(a)?r=a.parent:a.parent&&(gK(a.parent)||Rb(a.parent))&&yF(n.valueDeclaration)&&(r=a.parent),r){e=t.getResolvedSignature(r);let a=211===r.kind||Rg(r)&&106===r.expression.kind,o=a?d.getConstructSignatures():d.getCallSignatures();if(!e||d6(o,e.target)||d6(o,e)||(e=o.length?o[0]:void 0),e){switch(a&&32&h?(y="constructor",L(d.symbol,y)):2097152&h?(C(y="alias"),p.push(zG()),a&&(4&e.flags&&(p.push(zB(126)),p.push(zG())),p.push(zB(103)),p.push(zG())),A(n)):L(n,y),y){case"JSX attribute":case"property":case"var":case"const":case"let":case"parameter":case"local var":p.push(zU(58)),p.push(zG()),!(16<(d))&&d.symbol&&(uP(p,z2(t,d.symbol,i,void 0,5)),p.push(zZ())),a&&(4&e.flags&&(p.push(zB(126)),p.push(zG())),p.push(zB(103)),p.push(zG())),k(e,o,262144);break;default:k(e,o)}g=!0,b=o.length>1}}else if(KY(a)&&!(98304&h)||135===a.kind&&173===a.parent.kind){let r=a.parent;if(n.declarations&&d0(n.declarations,e=>e===(135===a.kind?r.parent:r))){let i=173===r.kind?d.getNonNullableType().getConstructSignatures():d.getNonNullableType().getCallSignatures();e=t.isImplementationOfOverload(r)?i[0]:t.getSignatureFromDeclaration(r),173===r.kind?(y="constructor",L(d.symbol,y)):L(176!==r.kind||2048&d.symbol.flags||4096&d.symbol.flags?n:d.symbol,y),e&&k(e,i),g=!0,b=i.length>1}}}if(!(32&h)||g||v||(x(),g9(n,228)?C("local class"):p.push(zB(84)),p.push(zG()),A(n),I(n,r)),64&h&&2&s&&(E(),p.push(zB(118)),p.push(zG()),A(n),I(n,r)),524288&h&&2&s&&(E(),p.push(zB(154)),p.push(zG()),A(n),I(n,r),p.push(zG()),p.push(zV(63)),p.push(zG()),uP(p,z1(t,yt(a.parent)?t.getTypeAtLocation(a.parent):t.getDeclaredTypeOfSymbol(n),i,8388608))),384&h&&(E(),uv(n.declarations,e=>Nc(e)&&bj(e))&&(p.push(zB(85)),p.push(zG())),p.push(zB(92)),p.push(zG()),A(n)),1536&h&&!v){E();let e=g9(n,264),t=e&&e.name&&79===e.name.kind;p.push(zB(t?143:142)),p.push(zG()),A(n)}if(262144&h&&2&s){if(E(),p.push(zU(20)),p.push(zW("type parameter")),p.push(zU(21)),p.push(zG()),A(n),n.parent)S(),A(n.parent,i),I(n.parent,i);else{let e=g9(n,165);if(void 0===e)return T.fail();let i=e.parent;if(i){if(yF(i)){S();let e=t.getSignatureFromDeclaration(i);177===i.kind?(p.push(zB(103)),p.push(zG())):176!==i.kind&&i.name&&A(i.symbol),uP(p,z4(t,e,r,32))}else Nl(i)&&(S(),p.push(zB(154)),p.push(zG()),A(i.symbol),I(i.symbol,r))}}}if(8&h){y="enum member",L(n,"enum member");let e=null==(c=n.declarations)?void 0:c[0];if((null==e?void 0:e.kind)===302){let n=t.getConstantValue(e);void 0!==n&&(p.push(zG()),p.push(zV(63)),p.push(zG()),p.push(zF(v8(n),"number"==typeof n?7:8)))}}if(2097152&n.flags){if(E(),!g){let r=t.getAliasedSymbol(n);if(r!==n&&r.declarations&&r.declarations.length>0){let i=r.declarations[0],a=hp(i);if(a){let o=v9(i)&&S3(i,2),l="default"!==n.name&&!o,c=e(t,r,vS(i),i,a,s,l?n:r);p.push(...c.displayParts),p.push(zZ()),u=c.documentation,_=c.tags}else u=r.getContextualDocumentationComment(i,t),_=r.getJsDocTags(t)}}if(n.declarations)switch(n.declarations[0].kind){case 267:p.push(zB(93)),p.push(zG()),p.push(zB(143));break;case 274:p.push(zB(93)),p.push(zG()),p.push(zB(n.declarations[0].isExportEquals?63:88));break;case 278:p.push(zB(93));break;default:p.push(zB(100))}p.push(zG()),A(n),dz(n.declarations,e=>{if(268===e.kind){if(Eq(e))p.push(zG()),p.push(zV(63)),p.push(zG()),p.push(zB(147)),p.push(zU(20)),p.push(zF(v$(EJ(e)),8)),p.push(zU(21));else{let n=t.getSymbolAtLocation(e.moduleReference);n&&(p.push(zG()),p.push(zV(63)),p.push(zG()),A(n,i))}return!0}})}if(!g){if(""!==y){if(d){if(v?(E(),p.push(zB(108))):L(n,y),"property"===y||"accessor"===y||"getter"===y||"setter"===y||"JSX attribute"===y||3&h||"local var"===y||"index"===y||v){if((p.push(zU(58)),p.push(zG()),d.symbol&&262144&d.symbol.flags&&"index"!==y)?uP(p,z0(e=>{let n=t.typeParameterToDeclaration(d,i,df);iK().writeNode(4,n,vS(ht(i)),e)})):uP(p,z1(t,d,i)),vn(n)&&n.links.target&&vn(n.links.target)&&n.links.target.links.tupleLabelDeclaration){let e=n.links.target.links.tupleLabelDeclaration;T.assertNode(e.name,wb),p.push(zG()),p.push(zU(20)),p.push(zW(hi(e.name))),p.push(zU(21))}}else if(16&h||8192&h||16384&h||131072&h||98304&h||"method"===y){let e=d.getNonNullableType().getCallSignatures();e.length&&(k(e[0],e),b=e.length>1)}}}else y=esh(t,n,a)}if(0!==f.length||b||(f=n.getContextualDocumentationComment(i,t)),0===f.length&&4&h&&n.parent&&n.declarations&&dz(n.parent.declarations,e=>308===e.kind))for(let e of n.declarations){if(!e.parent||223!==e.parent.kind)continue;let n=t.getSymbolAtLocation(e.parent.right);if(n&&(f=n.getDocumentationComment(t),m=n.getJsDocTags(t),f.length>0))break}if(0===f.length&&wb(a)&&n.valueDeclaration&&Rp(n.valueDeclaration)){let e=n.valueDeclaration,r=e.parent;if(wb(e.name)&&Ru(r)){let n=xU(e.name),i=t.getTypeAtLocation(r);f=dJ(i.isUnion()?i.types:[i],e=>{let r=e.getProperty(n);return r?r.getDocumentationComment(t):void 0})||o}}return 0!==m.length||b||(m=n.getContextualJsDocTags(i,t)),0===f.length&&u&&(f=u),0===m.length&&_&&(m=_),{displayParts:p,documentation:f,symbolKind:y,tags:0===m.length?void 0:m};function E(){p.length&&p.push(zZ()),x()}function x(){l&&(C("alias"),p.push(zG()))}function S(){p.push(zG()),p.push(zB(101)),p.push(zG())}function A(e,i){let a;l&&e===n&&(e=l),"index"===y&&(a=t.getIndexInfosOfIndexSymbol(e));let o=[];131072&e.flags&&a?(e.parent&&(o=z2(t,e.parent)),o.push(zU(22)),a.forEach((e,n)=>{o.push(...z1(t,e.keyType)),n!==a.length-1&&(o.push(zG()),o.push(zU(51)),o.push(zG()))}),o.push(zU(23))):o=z2(t,e,i||r,void 0,7),uP(p,o),16777216&n.flags&&p.push(zU(57))}function L(e,t){E(),t&&(C(t),e&&!uv(e.declarations,e=>RS(e)||(Rx(e)||RP(e))&&!e.name)&&(p.push(zG()),A(e)))}function C(e){switch(e){case"var":case"function":case"let":case"const":case"constructor":p.push(zK(e));return;default:p.push(zU(20)),p.push(zK(e)),p.push(zU(21));return}}function k(e,n,r=0){uP(p,z4(t,e,i,32|r)),n.length>1&&(p.push(zG()),p.push(zU(20)),p.push(zV(39)),p.push(zF((n.length-1).toString(),7)),p.push(zG()),p.push(zW(2===n.length?"overload":"overloads")),p.push(zU(21))),f=e.getDocumentationComment(t),m=e.getJsDocTags(),n.length>1&&0===f.length&&0===m.length&&(f=n[0].getDocumentationComment(t),m=n[0].getJsDocTags().filter(e=>"deprecated"!==e.name))}function I(e,n){uP(p,z0(r=>{let i=t.symbolToTypeParameterDeclarations(e,n,df);iK().writeList(53776,i,vS(ht(n)),r)}))}},getSymbolKind:()=>esh,getSymbolModifiers:()=>esv});var esx=dj({"src/services/_namespaces/ts.SymbolDisplay.ts"(){esE()}});function esS(e){let t=e.__pos;return T.assert("number"==typeof t),t}function esA(e,t){T.assert("number"==typeof t),e.__pos=t}function esL(e){let t=e.__end;return T.assert("number"==typeof t),t}function esC(e,t){T.assert("number"==typeof t),e.__end=t}function esk(e,t,n,r){return{pos:esI(e,t,r),end:esR(e,n,r)}}function esI(e,t,n,r=!1){var i,a,o;let{leadingTriviaOption:s}=n;if(0===s)return t.getStart(e);if(3===s){let n=t.getStart(e),r=K2(n,e);return K6(t,r)?r:n}if(2===s){let n=b2(t,e.text);if(null==n?void 0:n.length)return K2(n[0].pos,e)}let l=t.getFullStart(),c=t.getStart(e);if(l===c)return c;let d=K2(l,e);if(K2(c,e)===d)return 1===s?l:c;if(r){let t=(null==(i=mb(e.text,l))?void 0:i[0])||(null==(a=mE(e.text,l))?void 0:a[0]);if(t)return mc(e.text,t.end,!0,!0)}let u=l>0?1:0,_=vk(SO(e,d)+u,e);return o=e.text,vk(SO(e,_=mc(o,_,!1,!0)),e)}function esw(e,t,n){let{end:r}=t,{trailingTriviaOption:i}=n;if(2===i){let n=mE(e.text,r);if(n){let r=SO(e,t.end);for(let t of n){if(2===t.kind||SO(e,t.pos)>r)break;if(SO(e,t.end)>r)return mc(e.text,t.end,!0,!0)}}}}function esR(e,t,n){var r;let{end:i}=t,{trailingTriviaOption:a}=n;if(0===a)return i;if(1===a){let t=uE(mE(e.text,i),mb(e.text,i));return(null==(r=null==t?void 0:t[t.length-1])?void 0:r.end)||i}let o=esw(e,t,n);if(o)return o;let s=mc(e.text,i,!0);return s!==i&&(2===a||mi(e.text.charCodeAt(s-1)))?s:i}function esN(e,t){return!!t&&!!e.parent&&(27===t.kind||26===t.kind&&207===e.parent.kind)}function esD(e){return Rx(e)||Na(e)}function esO(e,t){return mc(e.text,esI(e,t,{leadingTriviaOption:1}),!1,!0)}function esM(e){return Rm(e)?e.properties:e.members}function esP(e,t,n,r){return dv.newFileChangesWorker(void 0,t,e,n,r)}function esF(e,t){for(let n=t.length-1;n>=0;n--){let{span:r,newText:i}=t[n];e=`${e.substring(0,r.start)}${i}${e.substring(mO(r))}`}return e}function esG(e){let t=GB(e,esG,db,esB,esG),n=x1(t)?t:Object.create(t);return kS(n,esS(e),esL(e)),n}function esB(e,t,n,r,i){let a=GR(e,t,n,r,i);if(!a)return a;T.assert(e);let o=a===e?nU.createNodeArray(a.slice(0)):a;return kS(o,esS(e),esL(e)),o}function esU(e){let t=0,n=Sp(e);function r(e,r){if(r||mc(e,0)!==e.length){t=n.getTextPos();let r=0;for(;mn(e.charCodeAt(e.length-r-1));)r++;t-=r}}return{onBeforeEmitNode:e=>{e&&esA(e,t)},onAfterEmitNode:e=>{e&&esC(e,t)},onBeforeEmitNodeArray:e=>{e&&esA(e,t)},onAfterEmitNodeArray:e=>{e&&esC(e,t)},onBeforeEmitToken:e=>{e&&esA(e,t)},onAfterEmitToken:e=>{e&&esC(e,t)},write:function(e){n.write(e),r(e,!1)},writeComment:function(e){n.writeComment(e)},writeKeyword:function(e){n.writeKeyword(e),r(e,!1)},writeOperator:function(e){n.writeOperator(e),r(e,!1)},writePunctuation:function(e){n.writePunctuation(e),r(e,!1)},writeTrailingSemicolon:function(e){n.writeTrailingSemicolon(e),r(e,!1)},writeParameter:function(e){n.writeParameter(e),r(e,!1)},writeProperty:function(e){n.writeProperty(e),r(e,!1)},writeSpace:function(e){n.writeSpace(e),r(e,!1)},writeStringLiteral:function(e){n.writeStringLiteral(e),r(e,!1)},writeSymbol:function(e,t){n.writeSymbol(e,t),r(e,!1)},writeLine:function(e){n.writeLine(e)},increaseIndent:function(){n.increaseIndent()},decreaseIndent:function(){n.decreaseIndent()},getText:function(){return n.getText()},rawWrite:function(e){n.rawWrite(e),r(e,!1)},writeLiteral:function(e){n.writeLiteral(e),r(e,!0)},getTextPos:function(){return n.getTextPos()},getLine:function(){return n.getLine()},getColumn:function(){return n.getColumn()},getIndent:function(){return n.getIndent()},isAtStartOfLine:function(){return n.isAtStartOfLine()},hasTrailingComment:()=>n.hasTrailingComment(),hasTrailingWhitespace:()=>n.hasTrailingWhitespace(),clear:function(){n.clear(),t=0}}}function esV(e,t){return!WG(e,t)&&!WC(e,t)&&!Ww(e,t)&&!WR(e,t)}function esj(e,t,n,r={leadingTriviaOption:1}){let i=esI(t,n,r),a=esR(t,n,r);e.deleteRange(t,{pos:i,end:a})}function esH(e,t,n,r){let i=T.checkDefined(ecc.SmartIndenter.getContainingList(r,n)),a=vZ(i,r);if(T.assert(-1!==a),1===i.length){esj(e,n,r);return}T.assert(!t.has(r),"Deleting a node twice"),t.add(r),e.deleteRange(n,{pos:esO(n,r),end:a===i.length-1?esR(n,r,{}):function(e,t,n,r){let i=esO(e,r);if(void 0===n||Le(esR(e,t,{}),i,e))return i;let a=WS(r.getStart(e),e);if(esN(t,a)){let r=WS(t.getStart(e),e);if(esN(n,r)){let t=mc(e.text,a.getEnd(),!0,!0);if(Le(r.getStart(e),a.getStart(e),e))return mi(e.text.charCodeAt(t-1))?t-1:t;if(mi(e.text.charCodeAt(t)))return t}}return i}(n,r,i[a-1],i[a+1])})}var esK=dj({"src/services/textChanges.ts"(){var e,t;ecu(),(e=dm||{})[e.Exclude=0]="Exclude",e[e.IncludeAll=1]="IncludeAll",e[e.JSDoc=2]="JSDoc",e[e.StartLine=3]="StartLine",dm=e,(t=dh||{})[t.Exclude=0]="Exclude",t[t.ExcludeWhitespace=1]="ExcludeWhitespace",t[t.Include=2]="Include",dh=t,dy={leadingTriviaOption:0,trailingTriviaOption:0},dg=class{constructor(e,t){this.newLineCharacter=e,this.formatContext=t,this.changes=[],this.newFiles=[],this.classesWithNodesInsertedAtStart=new Map,this.deletedNodes=[]}static fromContext(e){return new dg(zQ(e.host,e.formatContext.options),e.formatContext)}static with(e,t){let n=dg.fromContext(e);return t(n),n.getChanges()}pushRaw(e,t){for(let n of(T.assertEqual(e.fileName,t.fileName),t.textChanges))this.changes.push({kind:3,sourceFile:e,text:n.newText,range:W6(n.span)})}deleteRange(e,t){this.changes.push({kind:0,sourceFile:e,range:t})}delete(e,t){this.deletedNodes.push({sourceFile:e,node:t})}deleteNode(e,t,n={leadingTriviaOption:1}){this.deleteRange(e,esk(e,t,t,n))}deleteNodes(e,t,n={leadingTriviaOption:1},r){for(let i of t){let t=esI(e,i,n,r),a=esR(e,i,n);this.deleteRange(e,{pos:t,end:a}),r=!!esw(e,i,n)}}deleteModifier(e,t){this.deleteRange(e,{pos:t.getStart(e),end:mc(e.text,t.end,!0)})}deleteNodeRange(e,t,n,r={leadingTriviaOption:1}){let i=esI(e,t,r),a=esR(e,n,r);this.deleteRange(e,{pos:i,end:a})}deleteNodeRangeExcludingEnd(e,t,n,r={leadingTriviaOption:1}){let i=esI(e,t,r),a=void 0===n?e.text.length:esI(e,n,r);this.deleteRange(e,{pos:i,end:a})}replaceRange(e,t,n,r={}){this.changes.push({kind:1,sourceFile:e,range:t,options:r,node:n})}replaceNode(e,t,n,r=dy){this.replaceRange(e,esk(e,t,t,r),n,r)}replaceNodeRange(e,t,n,r,i=dy){this.replaceRange(e,esk(e,t,n,i),r,i)}replaceRangeWithNodes(e,t,n,r={}){this.changes.push({kind:2,sourceFile:e,range:t,options:r,nodes:n})}replaceNodeWithNodes(e,t,n,r=dy){this.replaceRangeWithNodes(e,esk(e,t,t,r),n,r)}replaceNodeWithText(e,t,n){this.replaceRangeWithText(e,esk(e,t,t,dy),n)}replaceNodeRangeWithNodes(e,t,n,r,i=dy){this.replaceRangeWithNodes(e,esk(e,t,n,i),r,i)}nodeHasTrailingComment(e,t,n=dy){return!!esw(e,t,n)}nextCommaToken(e,t){let n=Wx(t,t.parent,e);return n&&27===n.kind?n:void 0}replacePropertyAssignment(e,t,n){let r=this.nextCommaToken(e,t)?"":","+this.newLineCharacter;this.replaceNode(e,t,n,{suffix:r})}insertNodeAt(e,t,n,r={}){this.replaceRange(e,AX(t),n,r)}insertNodesAt(e,t,n,r={}){this.replaceRangeWithNodes(e,AX(t),n,r)}insertNodeAtTopOfFile(e,t,n){this.insertAtTopOfFile(e,t,n)}insertNodesAtTopOfFile(e,t,n){this.insertAtTopOfFile(e,t,n)}insertAtTopOfFile(e,t,n){let r=function(e){let t,n,r;for(let n of e.statements)if(bY(n))t=n;else break;let i=0,a=e.text;if(t)return i=t.end,l(),i;let o=mT(a);void 0!==o&&(i=o.length,l());let s=mb(a,i);if(!s)return i;for(let t of s){if(3===t.kind){if(vK(a,t.pos)){n={range:t,pinnedOrTripleSlash:!0};continue}}else if(vH(a,t.pos,t.end)){n={range:t,pinnedOrTripleSlash:!0};continue}if(n&&(n.pinnedOrTripleSlash||e.getLineAndCharacterOfPosition(t.pos).line>=e.getLineAndCharacterOfPosition(n.range.end).line+2)||e.statements.length&&(void 0===r&&(r=e.getLineAndCharacterOfPosition(e.statements[0].getStart()).line),r_v(e.comment)?nU.createJSDocText(e.comment):e.comment),r=uY(t.jsDoc);return r&&Le(r.pos,r.end,e)&&0===dW(n)?void 0:nU.createNodeArray(dQ(n,nU.createJSDocText("\n")))}replaceJSDocComment(e,t,n){this.insertJsdocCommentBefore(e,function(e){if(216!==e.kind)return e;let t=169===e.parent.kind?e.parent:e.parent.parent;return t.jsDoc=e.jsDoc,t}(t),nU.createJSDocComment(this.createJSDocText(e,t),nU.createNodeArray(n)))}addJSDocTags(e,t,n){let r=us(t.jsDoc,e=>e.tags),i=n.filter(e=>!r.some((t,n)=>{let i=function(e,t){if(e.kind===t.kind)switch(e.kind){case 344:return wb(e.name)&&wb(t.name)&&e.name.escapedText===t.name.escapedText?nU.createJSDocParameterTag(void 0,t.name,!1,t.typeExpression,t.isNameFirst,e.comment):void 0;case 345:return nU.createJSDocReturnTag(void 0,t.typeExpression,e.comment);case 347:return nU.createJSDocTypeTag(void 0,t.typeExpression,e.comment)}}(t,e);return i&&(r[n]=i),!!i}));this.replaceJSDocComment(e,t,[...r,...i])}filterJSDocTags(e,t,n){this.replaceJSDocComment(e,t,d9(us(t.jsDoc,e=>e.tags),n))}replaceRangeWithText(e,t,n){this.changes.push({kind:3,sourceFile:e,range:t,text:n})}insertText(e,t,n){this.replaceRangeWithText(e,AX(t),n)}tryInsertTypeAnnotation(e,t,n){var r;let i;if(yF(t)){if(!(i=Wo(t,21,e))){if(!RS(t))return!1;i=uz(t.parameters)}}else i=null!=(r=257===t.kind?t.exclamationToken:t.questionToken)?r:t.name;return this.insertNodeAt(e,i.end,n,{prefix:": "}),!0}tryInsertThisTypeAnnotation(e,t,n){let r=Wo(t,20,e).getStart(e)+1,i=t.parameters.length?", ":"";this.insertNodeAt(e,r,n,{prefix:"this: ",suffix:i})}insertTypeParameters(e,t,n){let r=(Wo(t,20,e)||uz(t.parameters)).getStart(e);this.insertNodesAt(e,r,n,{prefix:"<",suffix:">",joiner:", "})}getOptionsForInsertNodeBefore(e,t,n){return gF(e)||yK(e)?{suffix:n?this.newLineCharacter+this.newLineCharacter:this.newLineCharacter}:Nr(e)?{suffix:", "}:wG(e)?wG(t)?{suffix:", "}:{}:wr(e)&&Nm(e.parent)||NT(e)?{suffix:", "}:Nx(e)?{suffix:","+(n?this.newLineCharacter:" ")}:T.failBadSyntaxKind(e)}insertNodeAtConstructorStart(e,t,n){let r=uK(t.body.statements);r&&t.body.multiLine?this.insertNodeBefore(e,r,n):this.replaceConstructorBody(e,t,[n,...t.body.statements])}insertNodeAtConstructorStartAfterSuperCall(e,t,n){let r=d0(t.body.statements,e=>R$(e)&&bz(e.expression));r&&t.body.multiLine?this.insertNodeAfter(e,r,n):this.replaceConstructorBody(e,t,[...t.body.statements,n])}insertNodeAtConstructorEnd(e,t,n){let r=uJ(t.body.statements);r&&t.body.multiLine?this.insertNodeAfter(e,r,n):this.replaceConstructorBody(e,t,[...t.body.statements,n])}replaceConstructorBody(e,t,n){this.replaceNode(e,t.body,nU.createBlock(n,!0))}insertNodeAtEndOfScope(e,t,n){let r=esI(e,t.getLastToken(),{});this.insertNodeAt(e,r,n,{prefix:mi(e.text.charCodeAt(t.getLastToken().pos))?this.newLineCharacter:this.newLineCharacter+this.newLineCharacter,suffix:this.newLineCharacter})}insertMemberAtStart(e,t,n){this.insertNodeAtStartWorker(e,t,n)}insertNodeAtObjectStart(e,t,n){this.insertNodeAtStartWorker(e,t,n)}insertNodeAtStartWorker(e,t,n){var r;let i=null!=(r=this.guessIndentationFromExistingMembers(e,t))?r:this.computeIndentationForNewMember(e,t);this.insertNodeAt(e,esM(t).pos,n,this.getInsertNodeAtStartInsertOptions(e,t,i))}guessIndentationFromExistingMembers(e,t){let n;let r=t;for(let i of esM(t)){if(A4(r,i,e))return;let t=i.getStart(e),a=ecc.SmartIndenter.findFirstNonWhitespaceColumn(K2(t,e),t,e,this.formatContext.options);if(void 0===n)n=a;else if(a!==n)return;r=i}return n}computeIndentationForNewMember(e,t){var n;let r=t.getStart(e);return ecc.SmartIndenter.findFirstNonWhitespaceColumn(K2(r,e),r,e,this.formatContext.options)+(null!=(n=this.formatContext.options.indentSize)?n:4)}getInsertNodeAtStartInsertOptions(e,t,n){let r=0===esM(t).length,i=LC(this.classesWithNodesInsertedAtStart,Gv(t),{node:t,sourceFile:e}),a=Rm(t)&&(!bV(e)||!r);return{indentation:n,prefix:(Rm(t)&&bV(e)&&r&&!i?",":"")+this.newLineCharacter,suffix:a?",":Ns(t)&&r?";":""}}insertNodeAfterComma(e,t,n){let r=this.insertNodeAfterWorker(e,this.nextCommaToken(e,t)||t,n);this.insertNodeAt(e,r,n,this.getInsertNodeAfterOptions(e,t))}insertNodeAfter(e,t,n){let r=this.insertNodeAfterWorker(e,t,n);this.insertNodeAt(e,r,n,this.getInsertNodeAfterOptions(e,t))}insertNodeAtEndOfList(e,t,n){this.insertNodeAt(e,t.end,n,{prefix:", "})}insertNodesAfter(e,t,n){let r=this.insertNodeAfterWorker(e,t,uz(n));this.insertNodesAt(e,r,n,this.getInsertNodeAfterOptions(e,t))}insertNodeAfterWorker(e,t,n){return((wU(t)||wV(t))&&yQ(n)&&164===n.name.kind||gP(t)&&gP(n))&&59!==e.text.charCodeAt(t.end-1)&&this.replaceRange(e,AX(t.end),nU.createToken(26)),esR(e,t,{})}getInsertNodeAfterOptions(e,t){let n=this.getInsertNodeAfterOptionsWorker(t);return{...n,prefix:t.end===e.end&&gF(t)?n.prefix?` +${n.prefix}`:"\n":n.prefix}}getInsertNodeAfterOptionsWorker(e){switch(e.kind){case 260:case 264:return{prefix:this.newLineCharacter,suffix:this.newLineCharacter};case 257:case 10:case 79:return{prefix:", "};case 299:return{suffix:","+this.newLineCharacter};case 93:return{prefix:" "};case 166:return{};default:return T.assert(gF(e)||yQ(e)),{suffix:this.newLineCharacter}}}insertName(e,t,n){if(T.assert(!t.name),216===t.kind){let r=Wo(t,38,e),i=Wo(t,20,e);i?(this.insertNodesAt(e,i.getStart(e),[nU.createToken(98),nU.createIdentifier(n)],{joiner:" "}),esj(this,e,r)):(this.insertText(e,uz(t.parameters).getStart(e),`function ${n}(`),this.replaceRange(e,r,nU.createToken(21))),238!==t.body.kind&&(this.insertNodesAt(e,t.body.getStart(e),[nU.createToken(18),nU.createToken(105)],{joiner:" ",suffix:" "}),this.insertNodesAt(e,t.body.end,[nU.createToken(26),nU.createToken(19)],{joiner:" "}))}else{let r=Wo(t,215===t.kind?98:84,e).end;this.insertNodeAt(e,r,nU.createIdentifier(n),{prefix:" "})}}insertExportModifier(e,t){this.insertText(e,t.getStart(e),"export ")}insertImportSpecifierAtIndex(e,t,n,r){let i=n.elements[r-1];i?this.insertNodeInListAfter(e,i,t):this.insertNodeBefore(e,n.elements[0],t,!Le(n.elements[0].getStart(),n.parent.parent.getStart(),e))}insertNodeInListAfter(e,t,n,r=ecc.SmartIndenter.getContainingList(t,e)){if(!r){T.fail("node is not a list element");return}let i=vZ(r,t);if(i<0)return;let a=t.getEnd();if(i!==r.length-1){let a=Wv(e,t.end);if(a&&esN(t,a)){let t=r[i+1],o=mc(e.text,t.getFullStart(),!1,!0),s=`${tF[a.kind]}${e.text.substring(a.end,o)}`;this.insertNodesAt(e,o,[n],{suffix:s})}}else{let o;let s=t.getStart(e),l=K2(s,e),c=!1;if(1===r.length)o=27;else{let n=WS(t.pos,e);o=esN(t,n)?n.kind:27,c=K2(r[i-1].getStart(e),e)!==l}if(function(e,t){let n=t;for(;n{let n,r;let[i,a]=(n=Wo(e,18,t),r=Wo(e,19,t),[null==n?void 0:n.end,null==r?void 0:r.end]);if(void 0!==i&&void 0!==a){let n=0===esM(e).length,r=Le(i,a,t);n&&r&&i!==a-1&&this.deleteRange(t,AX(i,a-1)),r&&this.insertText(t,a-1,this.newLineCharacter)}})}finishDeleteDeclarations(){let e=new Set;for(let{sourceFile:t,node:n}of this.deletedNodes)this.deletedNodes.some(e=>e.sourceFile===t&&K8(e.node,n))||(_y(n)?this.deleteRange(t,ku(t,n)):dE.deleteDeclaration(this,e,t,n));e.forEach(t=>{let n=t.getSourceFile(),r=ecc.SmartIndenter.getContainingList(t,n);if(t!==uX(r))return;let i=d4(r,t=>!e.has(t),r.length-2);-1!==i&&this.deleteRange(n,{pos:r[i].end,end:esO(n,r[i+1])})})}getChanges(e){this.finishDeleteDeclarations(),this.finishClassesWithNodesInsertedAtStart();let t=dv.getTextChangesFromChanges(this.changes,this.newLineCharacter,this.formatContext,e);for(let{oldFile:e,fileName:n,statements:r}of this.newFiles)t.push(dv.newFileChanges(e,n,r,this.newLineCharacter,this.formatContext));return t}createNewFile(e,t,n){this.newFiles.push({oldFile:e,fileName:t,statements:n})}},(e=>{function t(e,t,r,i,a){let o=r.map(t=>4===t?"":n(t,e,i).text).join(i),s=Ms("any file name",o,99,!0,t);return esF(o,ecc.formatDocument(s,a))+i}function n(e,t,n){let r=esU(n);return U1({newLine:q9(n),neverAsciiEscape:!0,preserveSourceNewlines:!0,terminateUnterminatedLiterals:!0},r).writeNode(4,e,t,r),{text:r.getText(),node:esG(e)}}e.getTextChangesFromChanges=function(e,t,r,i){return uu(_a(e,e=>e.sourceFile.path),e=>{let a=e[0].sourceFile,o=uj(e,(e,t)=>e.range.pos-t.range.pos||e.range.end-t.range.end);for(let e=0;e`${JSON.stringify(o[e].range)} and ${JSON.stringify(o[e+1].range)}`);let s=uu(o,e=>{let o=W8(e.range),s=function(e,t,r,i,a){var o;if(0===e.kind)return"";if(3===e.kind)return e.text;let{options:s={},range:{pos:l}}=e,c=e=>(function(e,t,r,{indentation:i,prefix:a,delta:o},s,l,c){let{node:d,text:u}=n(e,t,s);c&&c(d,u);let _=Jt(l,t),p=void 0!==i?i:ecc.SmartIndenter.getIndentation(r,t,_,a===s||K2(r,t)===r);void 0===o&&(o=ecc.SmartIndenter.shouldIndentChildNode(_,e)&&_.indentSize||0);let f=ecc.formatNodeGivenIndentation(d,{text:u,getLineAndCharacterOfPosition(e){return mt(this,e)}},t.languageVariant,p,o,{...l,options:_});return esF(u,f)})(e,t,l,s,r,i,a),d=2===e.kind?e.nodes.map(e=>_0(c(e),r)).join((null==(o=e.options)?void 0:o.joiner)||r):c(e.node),u=void 0!==s.indentation||K2(l,t)===l?d:d.replace(/^\s+/,"");return(s.prefix||"")+u+(!s.suffix||_Z(u,s.suffix)?"":s.suffix)}(e,a,t,r,i);if(!(o.length===s.length&&q4(a.text,s,o.start)))return W5(o,s)});return s.length>0?{fileName:a.fileName,textChanges:s}:void 0})},e.newFileChanges=function(e,n,r,i,a){let o=t(e,Cq(n),r,i,a);return{fileName:n,textChanges:[W5(mz(0,0),o)],isNewFile:!0}},e.newFileChangesWorker=t,e.getNonformattedText=n})(dv||(dv={})),db={...iU,factory:It(1|iU.factory.flags,iU.factory.baseFactory)},(e=>{e.deleteDeclaration=function(e,n,r,i){switch(i.kind){case 166:{let t=i.parent;RS(t)&&1===t.parameters.length&&!Wo(t,20,r)?e.replaceNodeWithText(r,i,"()"):esH(e,n,r,i);break}case 269:case 268:let a=r.imports.length&&i===uz(r.imports).parent||i===d0(r.statements,bf);esj(e,r,i,{leadingTriviaOption:a?0:g$(i)?2:3});break;case 205:let o=i.parent;204===o.kind&&i!==uX(o.elements)?esj(e,r,i):esH(e,n,r,i);break;case 257:(function(e,t,n,r){let{parent:i}=r;if(295===i.kind){e.deleteNodeRange(n,Wo(i,20,n),Wo(i,21,n));return}if(1!==i.declarations.length){esH(e,t,n,r);return}let a=i.parent;switch(a.kind){case 247:case 246:e.replaceNode(n,r,nU.createObjectLiteralExpression());break;case 245:esj(e,n,i);break;case 240:esj(e,n,a,{leadingTriviaOption:g$(a)?2:3});break;default:T.assertNever(a)}})(e,n,r,i);break;case 165:esH(e,n,r,i);break;case 273:let s=i.parent;1===s.elements.length?t(e,r,s):esH(e,n,r,i);break;case 271:t(e,r,i);break;case 26:esj(e,r,i,{trailingTriviaOption:0});break;case 98:esj(e,r,i,{leadingTriviaOption:0});break;case 260:case 259:esj(e,r,i,{leadingTriviaOption:g$(i)?2:3});break;default:i.parent?Nh(i.parent)&&i.parent.name===i?function(e,t,n){if(n.namedBindings){let r=n.name.getStart(t),i=Wv(t,n.name.end);if(i&&27===i.kind){let n=mc(t.text,i.end,!1,!0);e.deleteRange(t,{pos:r,end:n})}else esj(e,t,n.name)}else esj(e,t,n.parent)}(e,r,i.parent):Rg(i.parent)&&d6(i.parent.arguments,i)?esH(e,n,r,i):esj(e,r,i):esj(e,r,i)}};function t(e,t,n){if(n.parent.name){let r=T.checkDefined(Wv(t,n.pos-1));e.deleteRange(t,{pos:r.getStart(t),end:n.end})}else esj(e,t,xx(n,269))}})(dE||(dE={}))}}),esW={};dH(esW,{ChangeTracker:()=>dg,LeadingTriviaOption:()=>dm,TrailingTriviaOption:()=>dh,applyChanges:()=>esF,assignPositionsToNode:()=>esG,createWriter:()=>esU,deleteNode:()=>esj,getNewFileText:()=>esP,isThisTypeAnnotatable:()=>esD,isValidLocationToAddComment:()=>esV});var esz=dj({"src/services/_namespaces/ts.textChanges.ts"(){esK()}}),esq=dj({"src/services/formatting/formattingContext.ts"(){var e;ecu(),(e=dT||{})[e.FormatDocument=0]="FormatDocument",e[e.FormatSelection=1]="FormatSelection",e[e.FormatOnEnter=2]="FormatOnEnter",e[e.FormatOnSemicolon=3]="FormatOnSemicolon",e[e.FormatOnOpeningCurlyBrace=4]="FormatOnOpeningCurlyBrace",e[e.FormatOnClosingCurlyBrace=5]="FormatOnClosingCurlyBrace",dT=e,dx=class{constructor(e,t,n){this.sourceFile=e,this.formattingRequestKind=t,this.options=n}updateContext(e,t,n,r,i){this.currentTokenSpan=T.checkDefined(e),this.currentTokenParent=T.checkDefined(t),this.nextTokenSpan=T.checkDefined(n),this.nextTokenParent=T.checkDefined(r),this.contextNode=T.checkDefined(i),this.contextNodeAllOnSameLine=void 0,this.nextNodeAllOnSameLine=void 0,this.tokensAreOnSameLine=void 0,this.contextNodeBlockIsOnOneLine=void 0,this.nextNodeBlockIsOnOneLine=void 0}ContextNodeAllOnSameLine(){return void 0===this.contextNodeAllOnSameLine&&(this.contextNodeAllOnSameLine=this.NodeIsOnOneLine(this.contextNode)),this.contextNodeAllOnSameLine}NextNodeAllOnSameLine(){return void 0===this.nextNodeAllOnSameLine&&(this.nextNodeAllOnSameLine=this.NodeIsOnOneLine(this.nextTokenParent)),this.nextNodeAllOnSameLine}TokensAreOnSameLine(){if(void 0===this.tokensAreOnSameLine){let e=this.sourceFile.getLineAndCharacterOfPosition(this.currentTokenSpan.pos).line,t=this.sourceFile.getLineAndCharacterOfPosition(this.nextTokenSpan.pos).line;this.tokensAreOnSameLine=e===t}return this.tokensAreOnSameLine}ContextNodeBlockIsOnOneLine(){return void 0===this.contextNodeBlockIsOnOneLine&&(this.contextNodeBlockIsOnOneLine=this.BlockIsOnOneLine(this.contextNode)),this.contextNodeBlockIsOnOneLine}NextNodeBlockIsOnOneLine(){return void 0===this.nextNodeBlockIsOnOneLine&&(this.nextNodeBlockIsOnOneLine=this.BlockIsOnOneLine(this.nextTokenParent)),this.nextNodeBlockIsOnOneLine}NodeIsOnOneLine(e){return this.sourceFile.getLineAndCharacterOfPosition(e.getStart(this.sourceFile)).line===this.sourceFile.getLineAndCharacterOfPosition(e.getEnd()).line}BlockIsOnOneLine(e){let t=Wo(e,18,this.sourceFile),n=Wo(e,19,this.sourceFile);return!!t&&!!n&&this.sourceFile.getLineAndCharacterOfPosition(t.getEnd()).line===this.sourceFile.getLineAndCharacterOfPosition(n.getStart(this.sourceFile)).line}}}});function esJ(e,t,n,r,i){let a,o,s,l,c;let d=1===t?dA:dS;d.setText(e),d.setTextPos(n);let u=!0,_=i({advance:function(){c=void 0,d.getStartPos()!==n?u=!!o&&4===uX(o).kind:d.scan(),a=void 0,o=void 0;let e=d.getStartPos();for(;ea,lastTrailingTriviaWasNewLine:()=>u,skipToEndOf:function(e){d.setTextPos(e.end),s=d.getStartPos(),l=void 0,c=void 0,u=!1,a=void 0,o=void 0},skipToStartOf:function(e){d.setTextPos(e.pos),s=d.getStartPos(),l=void 0,c=void 0,u=!1,a=void 0,o=void 0},getStartPos:()=>{var e;return null!=(e=null==c?void 0:c.token.pos)?e:d.getTokenPos()}});return c=void 0,d.setText(void 0),_;function p(){let e=c?c.token.kind:d.getToken();return 1!==e&&!xR(e)}function f(){return 1===(c?c.token.kind:d.getToken())}function m(e,t){return y_(t)&&e.token.kind!==t.kind&&(e.token.kind=t.kind),e}}var esX=dj({"src/services/formatting/formattingScanner.ts"(){ecu(),ecd(),dS=mL(99,!1,0),dA=mL(99,!1,1)}}),esY=dj({"src/services/formatting/rule.ts"(){var e,t;ecu(),dL=o,(e=dC||{})[e.None=0]="None",e[e.StopProcessingSpaceActions=1]="StopProcessingSpaceActions",e[e.StopProcessingTokenActions=2]="StopProcessingTokenActions",e[e.InsertSpace=4]="InsertSpace",e[e.InsertNewLine=8]="InsertNewLine",e[e.DeleteSpace=16]="DeleteSpace",e[e.DeleteToken=32]="DeleteToken",e[e.InsertTrailingSemicolon=64]="InsertTrailingSemicolon",e[e.StopAction=3]="StopAction",e[e.ModifySpaceAction=28]="ModifySpaceAction",e[e.ModifyTokenAction=96]="ModifyTokenAction",dC=e,(t=dk||{})[t.None=0]="None",t[t.CanDeleteNewLines=1]="CanDeleteNewLines",dk=t}});function es$(){let e=[];for(let t=0;t<=162;t++)1!==t&&e.push(t);function t(...n){return{tokens:e.filter(e=>!n.some(t=>t===e)),isSpecific:!1}}let n={tokens:e,isSpecific:!1},r=esZ([...e,3]),i=esZ([...e,1]),a=es1(81,162),o=es1(29,78),s=[101,102,162,128,140,150],l=[79,...aY],c=esZ([79,3,84,93,100]),d=esZ([21,3,90,111,96,91]);return[esQ("IgnoreBeforeComment",n,[2,3],dL,1),esQ("IgnoreAfterLineComment",2,n,dL,1),esQ("NotSpaceBeforeColon",n,58,[elL,elt,eln],16),esQ("SpaceAfterColon",58,n,[elL,elt],4),esQ("NoSpaceBeforeQuestionMark",n,57,[elL,elt,eln],16),esQ("SpaceAfterQuestionMarkInConditionalOperator",57,n,[elL,eli],4),esQ("NoSpaceAfterQuestionMark",57,n,[elL],16),esQ("NoSpaceBeforeDot",n,[24,28],[elL,el$],16),esQ("NoSpaceAfterDot",[24,28],n,[elL],16),esQ("NoSpaceBetweenImportParenInImportType",100,20,[elL,elA],16),esQ("NoSpaceAfterUnaryPrefixOperator",[45,46,54,53],[8,9,79,20,22,18,108,103],[elL,elt],16),esQ("NoSpaceAfterUnaryPreincrementOperator",45,[79,20,108,103],[elL],16),esQ("NoSpaceAfterUnaryPredecrementOperator",46,[79,20,108,103],[elL],16),esQ("NoSpaceBeforeUnaryPostincrementOperator",[79,21,23,103],45,[elL,elJ],16),esQ("NoSpaceBeforeUnaryPostdecrementOperator",[79,21,23,103],46,[elL,elJ],16),esQ("SpaceAfterPostincrementWhenFollowedByAdd",45,39,[elL,ele],4),esQ("SpaceAfterAddWhenFollowedByUnaryPlus",39,39,[elL,ele],4),esQ("SpaceAfterAddWhenFollowedByPreincrement",39,45,[elL,ele],4),esQ("SpaceAfterPostdecrementWhenFollowedBySubtract",46,40,[elL,ele],4),esQ("SpaceAfterSubtractWhenFollowedByUnaryMinus",40,40,[elL,ele],4),esQ("SpaceAfterSubtractWhenFollowedByPredecrement",40,46,[elL,ele],4),esQ("NoSpaceAfterCloseBrace",19,[27,26],[elL],16),esQ("NewLineBeforeCloseBraceInBlockContext",r,19,[ell],8),esQ("SpaceAfterCloseBrace",19,t(21),[elL,ely],4),esQ("SpaceBetweenCloseBraceAndElse",19,91,[elL],4),esQ("SpaceBetweenCloseBraceAndWhile",19,115,[elL],4),esQ("NoSpaceBetweenEmptyBraceBrackets",18,19,[elL,elv],16),esQ("SpaceAfterConditionalClosingParen",21,22,[elg],4),esQ("NoSpaceBetweenFunctionKeywordAndStar",98,41,[elf],16),esQ("SpaceAfterStarInGeneratorDeclaration",41,79,[elf],4),esQ("SpaceAfterFunctionInFuncDecl",98,n,[el_],4),esQ("NewLineAfterOpenBraceInBlockContext",18,n,[ell],8),esQ("SpaceAfterGetSetInMember",[137,151],79,[el_],4),esQ("NoSpaceBetweenYieldKeywordAndStar",125,41,[elL,elz],16),esQ("SpaceBetweenYieldOrYieldStarAndOperand",[125,41],n,[elL,elz],4),esQ("NoSpaceBetweenReturnAndSemicolon",105,26,[elL],16),esQ("SpaceAfterCertainKeywords",[113,109,103,89,105,112,133],n,[elL],4),esQ("SpaceAfterLetConstInVariableDeclaration",[119,85],n,[elL,elP],4),esQ("NoSpaceBeforeOpenParenInFuncCall",n,20,[elL,elb,elE],16),esQ("SpaceBeforeBinaryKeywordOperator",n,s,[elL,ele],4),esQ("SpaceAfterBinaryKeywordOperator",s,n,[elL,ele],4),esQ("SpaceAfterVoidOperator",114,n,[elL,elW],4),esQ("SpaceBetweenAsyncAndOpenParen",132,20,[elS,elL],4),esQ("SpaceBetweenAsyncAndFunctionKeyword",132,[98,79],[elL],4),esQ("NoSpaceBetweenTagAndTemplateString",[79,21],[14,15],[elL],16),esQ("SpaceBeforeJsxAttribute",n,79,[elw,elL],4),esQ("SpaceBeforeSlashInJsxOpeningElement",n,43,[elN,elL],4),esQ("NoSpaceBeforeGreaterThanTokenInJsxOpeningElement",43,31,[elN,elL],16),esQ("NoSpaceBeforeEqualInJsxAttribute",n,63,[elR,elL],16),esQ("NoSpaceAfterEqualInJsxAttribute",63,n,[elR,elL],16),esQ("NoSpaceAfterModuleImport",[142,147],20,[elL],16),esQ("SpaceAfterCertainTypeScriptKeywords",[126,127,84,136,88,92,93,94,137,117,100,118,142,143,121,123,122,146,151,124,154,158,141,138],n,[elL],4),esQ("SpaceBeforeCertainTypeScriptKeywords",n,[94,117,158],[elL],4),esQ("SpaceAfterModuleName",10,18,[elG],4),esQ("SpaceBeforeArrow",n,38,[elL],4),esQ("SpaceAfterArrow",38,n,[elL],4),esQ("NoSpaceAfterEllipsis",25,79,[elL],16),esQ("NoSpaceAfterOptionalParameters",57,[21,27],[elL,elt],16),esQ("NoSpaceBetweenEmptyInterfaceBraceBrackets",18,19,[elL,elB],16),esQ("NoSpaceBeforeOpenAngularBracket",l,29,[elL,elj],16),esQ("NoSpaceBetweenCloseParenAndAngularBracket",21,29,[elL,elj],16),esQ("NoSpaceAfterOpenAngularBracket",29,n,[elL,elj],16),esQ("NoSpaceBeforeCloseAngularBracket",n,31,[elL,elj],16),esQ("NoSpaceAfterCloseAngularBracket",31,[20,22,31,27],[elL,elj,elp,elK],16),esQ("SpaceBeforeAt",[21,79],59,[elL],4),esQ("NoSpaceAfterAt",59,n,[elL],16),esQ("SpaceAfterDecorator",n,[126,79,93,88,84,124,123,121,122,137,151,22,41],[elO],4),esQ("NoSpaceBeforeNonNullAssertionOperator",n,53,[elL,elq],16),esQ("NoSpaceAfterNewKeywordOnConstructorSignature",103,20,[elL,elU],16),esQ("SpaceLessThanAndNonJSXTypeAnnotation",29,29,[elL],4),esQ("SpaceAfterConstructor",135,20,[es4("insertSpaceAfterConstructor"),elL],4),esQ("NoSpaceAfterConstructor",135,20,[es6("insertSpaceAfterConstructor"),elL],16),esQ("SpaceAfterComma",27,n,[es4("insertSpaceAfterCommaDelimiter"),elL,elk,elT,elx],4),esQ("NoSpaceAfterComma",27,n,[es6("insertSpaceAfterCommaDelimiter"),elL,elk],16),esQ("SpaceAfterAnonymousFunctionKeyword",[98,41],20,[es4("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),el_],4),esQ("NoSpaceAfterAnonymousFunctionKeyword",[98,41],20,[es6("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),el_],16),esQ("SpaceAfterKeywordInControl",a,20,[es4("insertSpaceAfterKeywordsInControlFlowStatements"),elg],4),esQ("NoSpaceAfterKeywordInControl",a,20,[es6("insertSpaceAfterKeywordsInControlFlowStatements"),elg],16),esQ("SpaceAfterOpenParen",20,n,[es4("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),elL],4),esQ("SpaceBeforeCloseParen",n,21,[es4("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),elL],4),esQ("SpaceBetweenOpenParens",20,20,[es4("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),elL],4),esQ("NoSpaceBetweenParens",20,21,[elL],16),esQ("NoSpaceAfterOpenParen",20,n,[es6("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),elL],16),esQ("NoSpaceBeforeCloseParen",n,21,[es6("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),elL],16),esQ("SpaceAfterOpenBracket",22,n,[es4("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),elL],4),esQ("SpaceBeforeCloseBracket",n,23,[es4("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),elL],4),esQ("NoSpaceBetweenBrackets",22,23,[elL],16),esQ("NoSpaceAfterOpenBracket",22,n,[es6("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),elL],16),esQ("NoSpaceBeforeCloseBracket",n,23,[es6("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),elL],16),esQ("SpaceAfterOpenBrace",18,n,[es5("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),elo],4),esQ("SpaceBeforeCloseBrace",n,19,[es5("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),elo],4),esQ("NoSpaceBetweenEmptyBraceBrackets",18,19,[elL,elv],16),esQ("NoSpaceAfterOpenBrace",18,n,[es8("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),elL],16),esQ("NoSpaceBeforeCloseBrace",n,19,[es8("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),elL],16),esQ("SpaceBetweenEmptyBraceBrackets",18,19,[es4("insertSpaceAfterOpeningAndBeforeClosingEmptyBraces")],4),esQ("NoSpaceBetweenEmptyBraceBrackets",18,19,[es8("insertSpaceAfterOpeningAndBeforeClosingEmptyBraces"),elL],16),esQ("SpaceAfterTemplateHeadAndMiddle",[15,16],n,[es4("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),elC],4,1),esQ("SpaceBeforeTemplateMiddleAndTail",n,[16,17],[es4("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),elL],4),esQ("NoSpaceAfterTemplateHeadAndMiddle",[15,16],n,[es6("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),elC],16,1),esQ("NoSpaceBeforeTemplateMiddleAndTail",n,[16,17],[es6("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),elL],16),esQ("SpaceAfterOpenBraceInJsxExpression",18,n,[es4("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),elL,elI],4),esQ("SpaceBeforeCloseBraceInJsxExpression",n,19,[es4("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),elL,elI],4),esQ("NoSpaceAfterOpenBraceInJsxExpression",18,n,[es6("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),elL,elI],16),esQ("NoSpaceBeforeCloseBraceInJsxExpression",n,19,[es6("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),elL,elI],16),esQ("SpaceAfterSemicolonInFor",26,n,[es4("insertSpaceAfterSemicolonInForStatements"),elL,es7],4),esQ("NoSpaceAfterSemicolonInFor",26,n,[es6("insertSpaceAfterSemicolonInForStatements"),elL,es7],16),esQ("SpaceBeforeBinaryOperator",n,o,[es4("insertSpaceBeforeAndAfterBinaryOperators"),elL,ele],4),esQ("SpaceAfterBinaryOperator",o,n,[es4("insertSpaceBeforeAndAfterBinaryOperators"),elL,ele],4),esQ("NoSpaceBeforeBinaryOperator",n,o,[es6("insertSpaceBeforeAndAfterBinaryOperators"),elL,ele],16),esQ("NoSpaceAfterBinaryOperator",o,n,[es6("insertSpaceBeforeAndAfterBinaryOperators"),elL,ele],16),esQ("SpaceBeforeOpenParenInFuncDecl",n,20,[es4("insertSpaceBeforeFunctionParenthesis"),elL,el_],4),esQ("NoSpaceBeforeOpenParenInFuncDecl",n,20,[es6("insertSpaceBeforeFunctionParenthesis"),elL,el_],16),esQ("NewLineBeforeOpenBraceInControl",d,18,[es4("placeOpenBraceOnNewLineForControlBlocks"),elg,els],8,1),esQ("NewLineBeforeOpenBraceInFunction",r,18,[es4("placeOpenBraceOnNewLineForFunctions"),el_,els],8,1),esQ("NewLineBeforeOpenBraceInTypeScriptDeclWithBlock",c,18,[es4("placeOpenBraceOnNewLineForFunctions"),elm,els],8,1),esQ("SpaceAfterTypeAssertion",31,n,[es4("insertSpaceAfterTypeAssertion"),elL,elH],4),esQ("NoSpaceAfterTypeAssertion",31,n,[es6("insertSpaceAfterTypeAssertion"),elL,elH],16),esQ("SpaceBeforeTypeAnnotation",n,[57,58],[es4("insertSpaceBeforeTypeAnnotation"),elL,elr],4),esQ("NoSpaceBeforeTypeAnnotation",n,[57,58],[es6("insertSpaceBeforeTypeAnnotation"),elL,elr],16),esQ("NoOptionalSemicolon",26,i,[es2("semicolons","remove"),elX],32),esQ("OptionalSemicolon",n,i,[es2("semicolons","insert"),elY],64),esQ("NoSpaceBeforeSemicolon",n,26,[elL],16),esQ("SpaceBeforeOpenBraceInControl",d,18,[es3("placeOpenBraceOnNewLineForControlBlocks"),elg,elF,ela],4,1),esQ("SpaceBeforeOpenBraceInFunction",r,18,[es3("placeOpenBraceOnNewLineForFunctions"),el_,eld,elF,ela],4,1),esQ("SpaceBeforeOpenBraceInTypeScriptDeclWithBlock",c,18,[es3("placeOpenBraceOnNewLineForFunctions"),elm,elF,ela],4,1),esQ("NoSpaceBeforeComma",n,27,[elL],16),esQ("NoSpaceBeforeOpenBracket",t(132,82),22,[elL],16),esQ("NoSpaceAfterCloseBracket",23,n,[elL,elD],16),esQ("SpaceAfterSemicolon",26,n,[elL],4),esQ("SpaceBetweenForAndAwaitKeyword",97,133,[elL],4),esQ("SpaceBetweenStatements",[21,90,91,82],n,[elL,elk,es9],4),esQ("SpaceAfterTryCatchFinally",[111,83,96],18,[elL],4)]}function esQ(e,t,n,r,i,a=0){return{leftTokenRange:es0(t),rightTokenRange:es0(n),rule:{debugName:e,context:r,action:i,flags:a}}}function esZ(e){return{tokens:e,isSpecific:!0}}function es0(e){return"number"==typeof e?esZ([e]):_y(e)?esZ(e):e}function es1(e,t,n=[]){let r=[];for(let i=e;i<=t;i++)d6(n,i)||r.push(i);return esZ(r)}function es2(e,t){return n=>n.options&&n.options[e]===t}function es4(e){return t=>t.options&&u4(t.options,e)&&!!t.options[e]}function es8(e){return t=>t.options&&u4(t.options,e)&&!t.options[e]}function es6(e){return t=>!t.options||!u4(t.options,e)||!t.options[e]}function es3(e){return t=>!t.options||!u4(t.options,e)||!t.options[e]||t.TokensAreOnSameLine()}function es5(e){return t=>!t.options||!u4(t.options,e)||!!t.options[e]}function es7(e){return 245===e.contextNode.kind}function es9(e){return!es7(e)}function ele(e){switch(e.contextNode.kind){case 223:return 27!==e.contextNode.operatorToken.kind;case 224:case 191:case 231:case 278:case 273:case 179:case 189:case 190:case 235:return!0;case 205:case 262:case 268:case 274:case 257:case 166:case 302:case 169:case 168:return 63===e.currentTokenSpan.kind||63===e.nextTokenSpan.kind;case 246:case 165:return 101===e.currentTokenSpan.kind||101===e.nextTokenSpan.kind||63===e.currentTokenSpan.kind||63===e.nextTokenSpan.kind;case 247:return 162===e.currentTokenSpan.kind||162===e.nextTokenSpan.kind}return!1}function elt(e){return!ele(e)}function eln(e){return!elr(e)}function elr(e){let t=e.contextNode.kind;return 169===t||168===t||166===t||257===t||yj(t)}function eli(e){return 224===e.contextNode.kind||191===e.contextNode.kind}function ela(e){return e.TokensAreOnSameLine()||eld(e)}function elo(e){return 203===e.contextNode.kind||197===e.contextNode.kind||elc(e)&&(e.ContextNodeAllOnSameLine()||e.ContextNodeBlockIsOnOneLine())}function els(e){return eld(e)&&!(e.NextNodeAllOnSameLine()||e.NextNodeBlockIsOnOneLine())}function ell(e){return elc(e)&&!(e.ContextNodeAllOnSameLine()||e.ContextNodeBlockIsOnOneLine())}function elc(e){return elu(e.contextNode)}function eld(e){return elu(e.nextTokenParent)}function elu(e){if(elh(e))return!0;switch(e.kind){case 238:case 266:case 207:case 265:return!0}return!1}function el_(e){switch(e.contextNode.kind){case 259:case 171:case 170:case 174:case 175:case 176:case 215:case 173:case 216:case 261:return!0}return!1}function elp(e){return!el_(e)}function elf(e){return 259===e.contextNode.kind||215===e.contextNode.kind}function elm(e){return elh(e.contextNode)}function elh(e){switch(e.kind){case 260:case 228:case 261:case 263:case 184:case 264:case 275:case 276:case 269:case 272:return!0}return!1}function ely(e){switch(e.currentTokenParent.kind){case 260:case 264:case 263:case 295:case 265:case 252:return!0;case 238:{let t=e.currentTokenParent.parent;if(!t||216!==t.kind&&215!==t.kind)return!0}}return!1}function elg(e){switch(e.contextNode.kind){case 242:case 252:case 245:case 246:case 247:case 244:case 255:case 243:case 251:case 295:return!0;default:return!1}}function elv(e){return 207===e.contextNode.kind}function elb(e){return 210===e.contextNode.kind||211===e.contextNode.kind}function elE(e){return 27!==e.currentTokenSpan.kind}function elT(e){return 23!==e.nextTokenSpan.kind}function elx(e){return 21!==e.nextTokenSpan.kind}function elS(e){return 216===e.contextNode.kind}function elA(e){return 202===e.contextNode.kind}function elL(e){return e.TokensAreOnSameLine()&&11!==e.contextNode.kind}function elC(e){return 11!==e.contextNode.kind}function elk(e){return 281!==e.contextNode.kind&&285!==e.contextNode.kind}function elI(e){return 291===e.contextNode.kind||290===e.contextNode.kind}function elw(e){return 288===e.nextTokenParent.kind}function elR(e){return 288===e.contextNode.kind}function elN(e){return 282===e.contextNode.kind}function elD(e){return!el_(e)&&!eld(e)}function elO(e){return e.TokensAreOnSameLine()&&Ai(e.contextNode)&&elM(e.currentTokenParent)&&!elM(e.nextTokenParent)}function elM(e){for(;e&&gp(e);)e=e.parent;return e&&167===e.kind}function elP(e){return 258===e.currentTokenParent.kind&&e.currentTokenParent.getStart(e.sourceFile)===e.currentTokenSpan.pos}function elF(e){return 2!==e.formattingRequestKind}function elG(e){return 264===e.contextNode.kind}function elB(e){return 184===e.contextNode.kind}function elU(e){return 177===e.contextNode.kind}function elV(e,t){if(29!==e.kind&&31!==e.kind)return!1;switch(t.kind){case 180:case 213:case 262:case 260:case 228:case 261:case 259:case 215:case 216:case 171:case 170:case 176:case 177:case 210:case 211:case 230:return!0;default:return!1}}function elj(e){return elV(e.currentTokenSpan,e.currentTokenParent)||elV(e.nextTokenSpan,e.nextTokenParent)}function elH(e){return 213===e.contextNode.kind}function elK(e){return!elH(e)}function elW(e){return 114===e.currentTokenSpan.kind&&219===e.currentTokenParent.kind}function elz(e){return 226===e.contextNode.kind&&void 0!==e.contextNode.expression}function elq(e){return 232===e.contextNode.kind}function elJ(e){return!function(e){switch(e.contextNode.kind){case 242:case 245:case 246:case 247:case 243:case 244:return!0;default:return!1}}(e)}function elX(e){let t=e.nextTokenSpan.kind,n=e.nextTokenSpan.pos;if(xR(t)){let r=e.nextTokenParent===e.currentTokenParent?Wx(e.currentTokenParent,m9(e.currentTokenParent,e=>!e.parent),e.sourceFile):e.nextTokenParent.getFirstToken(e.sourceFile);if(!r)return!0;t=r.kind,n=r.getStart(e.sourceFile)}return e.sourceFile.getLineAndCharacterOfPosition(e.currentTokenSpan.pos).line===e.sourceFile.getLineAndCharacterOfPosition(n).line?19===t||1===t:237!==t&&26!==t&&(261===e.contextNode.kind||262===e.contextNode.kind?!wU(e.currentTokenParent)||!!e.currentTokenParent.type||20!==t:wV(e.currentTokenParent)?!e.currentTokenParent.initializer:245!==e.currentTokenParent.kind&&239!==e.currentTokenParent.kind&&237!==e.currentTokenParent.kind&&22!==t&&20!==t&&39!==t&&40!==t&&43!==t&&13!==t&&27!==t&&225!==t&&15!==t&&14!==t&&24!==t)}function elY(e){return qw(e.currentTokenSpan.end,e.currentTokenParent,e.sourceFile)}function el$(e){return!Rh(e.contextNode)||!wt(e.contextNode.expression)||-1!==e.contextNode.expression.getText().indexOf(".")}var elQ=dj({"src/services/formatting/rules.ts"(){ecu(),ecd()}});function elZ(e,t){let n;return{options:e,getRules:(void 0===dI&&(n=function(e){let t=Array(dN*dN),n=Array(t.length);for(let r of e){let e=r.leftTokenRange.isSpecific&&r.rightTokenRange.isSpecific;for(let i of r.leftTokenRange.tokens)for(let a of r.rightTokenRange.tokens){let o=el0(i,a),s=t[o];void 0===s&&(s=t[o]=[]),function(e,t,n,r,i){let a=3&t.action?n?0:dD.StopRulesAny:t.context!==dL?n?dD.ContextRulesSpecific:dD.ContextRulesAny:n?dD.NoContextRulesSpecific:dD.NoContextRulesAny,o=r[i]||0;e.splice(function(e,t){let n=0;for(let r=0;r<=t;r+=dw)n+=e&dR,e>>=dw;return n}(o,a),0,t),r[i]=function(e,t){let n=(e>>t&dR)+1;return T.assert((n&dR)===n,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules."),e&~(dR<{let t=n[el0(e.currentTokenSpan.kind,e.nextTokenSpan.kind)];if(t){let n=[],r=0;for(let i of t){let t=~function(e){let t=0;return 1&e&&(t|=28),2&e&&(t|=96),28&e&&(t|=28),96&e&&(t|=96),t}(r);i.action&t&&dZ(i.context,t=>t(e))&&(n.push(i),r|=i.action)}if(n.length)return n}}),dI),host:t}}function el0(e,t){return T.assert(e<=162&&t<=162,"Must compute formatting context from tokens"),e*dN+t}var el1=dj({"src/services/formatting/rulesMap.ts"(){var e;ecu(),ecd(),dw=5,dR=31,dN=163,(e=dD||{})[e.StopRulesSpecific=0]="StopRulesSpecific",e[e.StopRulesAny=1*dw]="StopRulesAny",e[e.ContextRulesSpecific=2*dw]="ContextRulesSpecific",e[e.ContextRulesAny=3*dw]="ContextRulesAny",e[e.NoContextRulesSpecific=4*dw]="NoContextRulesSpecific",e[e.NoContextRulesAny=5*dw]="NoContextRulesAny",dD=e}});function el2(e,t,n){let r={pos:e,end:t,kind:n};return T.isDebugging&&Object.defineProperty(r,"__debugKind",{get:()=>T.formatSyntaxKind(n)}),r}function el4(e,t,n){let r=t.getLineAndCharacterOfPosition(e).line;if(0===r)return[];let i=vw(r,t);for(;mr(t.text.charCodeAt(i));)i--;return mi(t.text.charCodeAt(i))&&i--,ecr({pos:vk(r-1,t),end:i+1},t,n,2)}function el8(e,t,n){return ecn(ece(el9(e,26,t)),t,n,3)}function el6(e,t,n){let r=el9(e,18,t);return r?ecr({pos:K2(ece(r.parent).getStart(t),t),end:e},t,n,4):[]}function el3(e,t,n){return ecn(ece(el9(e,19,t)),t,n,5)}function el5(e,t){return ecr({pos:0,end:e.text.length},e,t,0)}function el7(e,t,n,r){return ecr({pos:K2(e,n),end:t},n,r,1)}function el9(e,t,n){let r=WS(e,n);return r&&r.kind===t&&e===r.getEnd()?r:void 0}function ece(e){let t=e;for(;t&&t.parent&&t.parent.end===e.end&&!function(e,t){switch(e.kind){case 260:case 261:return K4(e.members,t);case 264:let n=e.body;return!!n&&265===n.kind&&K4(n.statements,t);case 308:case 238:case 265:return K4(e.statements,t);case 295:return K4(e.block.statements,t)}return!1}(t.parent,t);)t=t.parent;return t}function ect(e,t,n,r,i,a){let o={pos:e.pos,end:e.end};return esJ(t.text,n,o.pos,o.end,n=>eci(o,e,r,i,n,a,1,e=>!1,t))}function ecn(e,t,n,r){return e?ecr({pos:K2(e.getStart(t),t),end:e.end},t,n,r):[]}function ecr(e,t,n,r){var i;let a=function t(n){let r=Mr(n,t=>K5(t.getStart(i),t.end,e)&&t);if(r){let e=t(r);if(e)return e}return n}(i=t);return esJ(t.text,t.languageVariant,function(e,t,n){let r=e.getStart(n);if(r===t.pos&&e.end===t.end)return r;let i=WS(t.pos,n);return!i||i.end>=t.pos?e.pos:i.end}(a,e,t),e.end,i=>eci(e,a,dF.getIndentationForNode(a,e,t,n.options),function(e,t,n){let r,i=-1;for(;e;){let a=n.getLineAndCharacterOfPosition(e.getStart(n)).line;if(-1!==i&&a!==i)break;if(dF.shouldIndentChildNode(t,e,r,n))return t.indentSize;i=a,r=e,e=e.parent}return 0}(a,n.options,t),i,n,r,function(e,t){if(!e.length)return i;let n=e.filter(e=>K9(t,e.start,e.start+e.length)).sort((e,t)=>e.start-t.start);if(!n.length)return i;let r=0;return e=>{for(;;){if(r>=n.length)return!1;let t=n[r];if(e.end<=t.start)return!1;if(Wt(e.pos,e.end,t.start,t.start+t.length))return!0;r++}};function i(){return!1}}(t.parseDiagnostics,e),t))}function eci(e,t,n,r,i,{options:a,getRules:o,host:s},l,c,d){var u;let _,p,f,m,h;let y=new dx(d,l,a),g=-1,v=[];if(i.advance(),i.isOnToken()){let o=d.getLineAndCharacterOfPosition(t.getStart(d)).line,s=o;Ai(t)&&(s=d.getLineAndCharacterOfPosition(vq(t,d)).line),function t(n,r,o,s,l,u){if(!K9(e,n.getStart(d),n.getEnd()))return;let f=b(n,o,l,u),m=r;for(Mr(n,e=>{y(e,-1,n,f,o,s,!1)},t=>{(function(t,r,o,s){T.assert(yp(t)),T.assert(!x1(t));let l=function(e,t){switch(e.kind){case 173:case 259:case 215:case 171:case 170:case 216:case 176:case 177:case 181:case 182:case 174:case 175:if(e.typeParameters===t)return 29;if(e.parameters===t)return 20;break;case 210:case 211:if(e.typeArguments===t)return 29;if(e.arguments===t)return 20;break;case 260:case 228:case 261:case 262:if(e.typeParameters===t)return 29;break;case 180:case 212:case 183:case 230:case 202:if(e.typeArguments===t)return 29;break;case 184:return 18}return 0}(r,t),c=s,u=o;if(!K9(e,t.pos,t.end)){t.endt.pos)break;if(e.token.kind===l){let t;if(u=d.getLineAndCharacterOfPosition(e.token.pos).line,v(e,r,s,r),-1!==g)t=g;else{let n=K2(e.token.pos,d);t=dF.findFirstNonWhitespaceColumn(n,e.token.pos,d,a)}c=b(r,o,t,a.indentSize)}else v(e,r,s,r)}let _=-1;for(let e=0;eMath.min(n.end,e.end))break;v(t,n,f,n)}function y(r,o,s,l,c,u,_,p){var f;let y;if(T.assert(!x1(r)),vN(r)||vO(s,r))return o;let b=r.getStart(d),E=d.getLineAndCharacterOfPosition(b).line,x=E;Ai(r)&&(x=d.getLineAndCharacterOfPosition(vq(r,d)).line);let S=-1;if(_&&K4(e,s)&&-1!==(S=function(e,t,n,r,i){if(K9(r,e,t)||K7(r,e,t)){if(-1!==i)return i}else{let t=d.getLineAndCharacterOfPosition(e).line,r=K2(e,d),i=dF.findFirstNonWhitespaceColumn(r,e,d,a);if(t!==n||e===i){let e=dF.getBaseIndentation(a);return e>i?e:i}}return -1}(b,r.end,c,e,o))&&(o=S),!K9(e,r.pos,r.end))return r.ende.end)return o;if(t.token.end>b){t.token.pos>b&&i.skipToStartOf(r);break}v(t,n,l,n)}if(!i.isOnToken()||i.getStartPos()>=e.end)return o;if(y_(r)){let e=i.readTokenInfo(r);if(11!==r.kind)return T.assert(e.token.end===r.end,"Token end is child end"),v(e,n,l,r),o}let A=167===r.kind?E:u,L=(f=S,y=dF.shouldIndentChildNode(a,r)?a.indentSize:0,A===E?{indentation:E===h?g:l.getIndentation(),delta:Math.min(a.indentSize,l.getDelta(r)+y)}:-1!==f?{indentation:f,delta:y}:20===r.kind&&E===h?{indentation:g,delta:l.getDelta(r)}:dF.childStartsOnTheSameLineWithElseInIfStatement(n,r,E,d)||dF.childIsUnindentedBranchOfConditionalExpression(n,r,E,d)||dF.argumentStartsOnSameLineAsPreviousArgument(n,r,E,d)?{indentation:l.getIndentation(),delta:y}:{indentation:l.getIndentation()+l.getDelta(r),delta:y});return t(r,m,E,x,L.indentation,L.delta),m=n,p&&206===s.kind&&-1===o&&(o=L.indentation),o}function v(t,n,r,a,o){T.assert(K4(n,t.token));let s=i.lastTrailingTriviaWasNewLine(),l=!1;t.leadingTrivia&&x(t.leadingTrivia,n,m,r);let u=0,f=K4(e,t.token),y=d.getLineAndCharacterOfPosition(t.token.pos);if(f){let e=c(t.token),i=p;if(u=S(t.token,y,n,m,r),!e){if(0===u){let e=i&&d.getLineAndCharacterOfPosition(i.end).line;l=s&&y.line!==e}else l=1===u}}if(t.trailingTrivia&&(_=uX(t.trailingTrivia).end,x(t.trailingTrivia,n,m,r)),l){let e=f&&!c(t.token)?r.getIndentationForToken(y.line,t.token.kind,a,!!o):-1,n=!0;if(t.leadingTrivia){let i=r.getIndentationForComment(t.token.kind,e,a);n=E(t.leadingTrivia,i,n,e=>L(e.pos,i,!1))}-1!==e&&n&&(L(t.token.pos,e,1===u),h=y.line,g=e)}i.advance(),m=n}}(t,t,o,s,n,r)}if(!i.isOnToken()){let r=dF.nodeWillIndentChild(a,t,void 0,d,!1)?n+a.indentSize:n,o=i.getCurrentLeadingTrivia();o&&(E(o,r,!1,e=>S(e,d.getLineAndCharacterOfPosition(e.pos),t,t,void 0)),!1!==a.trimTrailingWhitespace&&function(t){let n=p?p.end:e.pos;for(let e of t)WH(e.kind)&&(n=e.end){let e=i.isOnEOF()?i.readEOFTokenRange():i.isOnToken()?i.readTokenInfo(t).token:void 0;if(e&&e.pos===_){let n=(null==(u=WS(e.end,d,t))?void 0:u.parent)||f;A(e,d.getLineAndCharacterOfPosition(e.pos).line,n,p,m,f,n,void 0)}}return v;function b(e,t,n,r){return{getIndentationForComment:(e,t,r)=>{switch(e){case 19:case 23:case 21:return n+i(r)}return -1!==t?t:n},getIndentationForToken:(r,a,o,s)=>!s&&function(n,r,i){switch(r){case 18:case 19:case 21:case 91:case 115:case 59:return!1;case 43:case 31:switch(i.kind){case 283:case 284:case 282:return!1}break;case 22:case 23:if(197!==i.kind)return!1}return t!==n&&!(Ai(e)&&r===function(e){if(Oj(e)){let t=d0(e.modifiers,yD,d2(e.modifiers,wB));if(t)return t.kind}switch(e.kind){case 260:return 84;case 261:return 118;case 259:return 98;case 263:return 263;case 174:return 137;case 175:return 151;case 171:if(e.asteriskToken)return 41;case 169:case 166:let t=hp(e);if(t)return t.kind}}(e))}(r,a,o)?n+i(o):n,getIndentation:()=>n,getDelta:i,recomputeIndentation:(t,i)=>{dF.shouldIndentChildNode(a,i,e,d)&&(n+=t?a.indentSize:-a.indentSize,r=dF.shouldIndentChildNode(a,e)?a.indentSize:0)}};function i(t){return dF.nodeWillIndentChild(a,e,t,d,!0)?r:0}}function E(t,n,r,i){for(let o of t){let t=K4(e,o);switch(o.kind){case 3:t&&function(e,t,n,r=!0){let i=d.getLineAndCharacterOfPosition(e.pos).line,o=d.getLineAndCharacterOfPosition(e.end).line;if(i===o){n||L(e.pos,t,!1);return}let s=[],l=e.pos;for(let e=i;e0){let e=eco(r,a);w(t,n.character,e)}else I(t,n.character)}}(o,n,!r),r=!1;break;case 2:r&&t&&i(o),r=!1;break;case 4:r=!0}}return r}function x(t,n,r,i){for(let a of t)if(WH(a.kind)&&K4(e,a)){let e=d.getLineAndCharacterOfPosition(a.pos);S(a,e,n,r,i)}}function S(t,n,r,i,a){let o=c(t),s=0;return o||(p?s=A(t,n.line,r,p,m,f,i,a):C(d.getLineAndCharacterOfPosition(e.pos).line,n.line)),p=t,_=t.end,f=r,m=n.line,s}function A(e,t,n,r,i,l,c,u){y.updateContext(r,l,e,n,c);let _=o(y),p=!1!==y.options.trimTrailingWhitespace,f=0;return _?dq(_,o=>{if(f=function(e,t,n,r,i){let o=i!==n;switch(e.action){case 1:break;case 16:if(t.end!==r.pos)return I(t.end,r.pos-t.end),o?2:0;break;case 32:I(t.pos,t.end-t.pos);break;case 8:if(1!==e.flags&&n!==i)break;if(1!=i-n)return w(t.end,r.pos-t.end,zQ(s,a)),o?0:1;break;case 4:if(1!==e.flags&&n!==i)break;if(1!=r.pos-t.end||32!==d.text.charCodeAt(t.end))return w(t.end,r.pos-t.end," "),o?2:0;break;case 64:var l;l=t.end,v.push(W3(l,0,";"))}return 0}(o,r,i,e,t),u)switch(f){case 2:n.getStart(d)===e.pos&&u.recomputeIndentation(!1,c);break;case 1:n.getStart(d)===e.pos&&u.recomputeIndentation(!0,c);break;default:T.assert(0===f)}p=p&&!(16&o.action)&&1!==o.flags}):p=p&&1!==e.kind,t!==i&&p&&C(i,t,r),f}function L(e,t,n){let r=eco(t,a);if(n)w(e,0,r);else{let n=d.getLineAndCharacterOfPosition(e),i=vk(n.line,d);(t!==function(e,t){let n=0;for(let r=0;rt)continue;let i=function(e,t){let n=t;for(;n>=e&&mr(d.text.charCodeAt(n));)n--;return n!==t?n+1:-1}(e,t);-1!==i&&(T.assert(i===e||!mr(d.text.charCodeAt(i-1))),I(i,t+1-i))}}function k(e,t,n){C(d.getLineAndCharacterOfPosition(e).line,d.getLineAndCharacterOfPosition(t).line+1,n)}function I(e,t){t&&v.push(W3(e,t,""))}function w(e,t,n){(t||n)&&v.push(W3(e,t,n))}}function eca(e,t,n,r=Wv(e,t)){let i=m9(r,Ds);if(i&&(r=i.parent),r.getStart(e)<=t&&tK3(n,t)||t===n.end&&(2===n.kind||t===e.getFullWidth()))}function eco(e,t){if(dO&&dO.tabSize===t.tabSize&&dO.indentSize===t.indentSize||(dO={tabSize:t.tabSize,indentSize:t.indentSize},dM=dP=void 0),t.convertTabsToSpaces){let n;let r=Math.floor(e/t.indentSize),i=e%t.indentSize;return dP||(dP=[]),void 0===dP[r]?(n=zi(" ",t.indentSize*r),dP[r]=n):n=dP[r],i?n+zi(" ",i):n}{let n;let r=Math.floor(e/t.tabSize),i=e-r*t.tabSize;return dM||(dM=[]),void 0===dM[r]?dM[r]=n=zi(" ",r):n=dM[r],i?n+zi(" ",i):n}}var ecs=dj({"src/services/formatting/formatting.ts"(){ecu(),ecd()}}),ecl=dj({"src/services/formatting/smartIndenter.ts"(){ecu(),ecd(),(e=>{var t,n;let r,i;function a(e){return e.baseIndentSize||0}function o(e,t,n,r,i,o,u){var _,f,h,y;let g=e.parent;for(;g;){let a=!0;if(n){let t=e.getStart(i);a=tn.end}let b=function(e,t,n){let r=d(t,n),i=r?r.pos:e.getStart(n);return n.getLineAndCharacterOfPosition(i)}(g,e,i),E=b.line===t.line||c(g,e,t.line,i);if(a){let n=null==(_=d(e,i))?void 0:_[0],a=!!n&&s(n,i).line>b.line,o=p(e,i,u,a);if(-1!==o||-1!==(f=e,h=g,y=t,o=(gO(f)||gP(f))&&(308===h.kind||!E)?m(y,i,u):-1))return o+r}v(u,g,e,i,o)&&!E&&(r+=u.indentSize);let T=l(g,e,t.line,i);g=(e=g).parent,t=T?i.getLineAndCharacterOfPosition(e.getStart(i)):b}return r+a(u)}function s(e,t){return t.getLineAndCharacterOfPosition(e.getStart(t))}function l(e,t,n,r){return!!(Rg(e)&&d6(e.arguments,t))&&mt(r,e.expression.getEnd()).line===n}function c(e,t,n,r){if(242===e.kind&&e.elseStatement===t){let t=Wo(e,91,r);return T.assert(void 0!==t),s(t,r).line===n}return!1}function d(e,t){return e.parent&&u(e.getStart(t),e.getEnd(),e.parent,t)}function u(e,t,n,r){switch(n.kind){case 180:return i(n.typeArguments);case 207:return i(n.properties);case 206:case 272:case 276:case 203:case 204:return i(n.elements);case 184:return i(n.members);case 259:case 215:case 216:case 171:case 170:case 176:case 173:case 182:case 177:return i(n.typeParameters)||i(n.parameters);case 174:return i(n.parameters);case 260:case 228:case 261:case 262:case 348:return i(n.typeParameters);case 211:case 210:return i(n.typeArguments)||i(n.arguments);case 258:return i(n.declarations)}function i(i){return i&&K7(function(e,t,n){let r=e.getChildren(n);for(let e=1;e=0&&t=0;a--)if(27!==e[a].kind){if(n.getLineAndCharacterOfPosition(e[a].end).line!==i.line)return m(i,n,r);i=s(e[a],n)}return -1}function m(e,t,n){let r=t.getPositionOfLineAndCharacter(e.line,0);return y(r,r+e.character,t,n)}function h(e,t,n,r){let i=0,a=0;for(let o=e;ot.text.length)return a(n);if(0===n.indentStyle)return 0;let l=WS(e,t,void 0,!0),c=eca(t,e,l||null);if(c&&3===c.kind)return function(e,t,n,r){let i=mt(e,t).line-1,a=mt(e,r.pos).line;if(T.assert(a>=0),i<=a)return y(vk(a,e),t,e,n);let o=vk(i,e),{column:s,character:l}=h(o,t,e,n);return 0===s?s:42===e.text.charCodeAt(o+l)?s-1:s}(t,e,n,c);if(!l)return a(n);if(WK(l.kind)&&l.getStart(t)<=e&&e0&&mn(e.text.charCodeAt(r));)r--;return y(K2(r,e),r,e,n)}(t,e,n);if(27===l.kind&&223!==l.parent.kind){let e;let r=(e=Wi(l))&&e.listItemIndex>0?f(e.list.getChildren(),e.listItemIndex-1,t,n):-1;if(-1!==r)return r}let b=(i=l.parent)&&u(e,e,i,t);if(b&&!K4(b,l)){let e=-1!==[215,216].indexOf(m.parent.kind)?0:n.indentSize;return _(b,t,n)+e}return function(e,t,n,r,i,l){let c;let d=n;for(;d;){if(Wn(d,t,e)&&v(l,d,c,e,!0)){let t=s(d,e),a=function(e,t,n,r){let i=Wx(e,t,r);return i?18===i.kind?1:19===i.kind&&n===s(i,r).line?2:0:0}(n,d,r,e),c=0!==a?i&&2===a?l.indentSize:0:r!==t.line?l.indentSize:0;return o(d,t,void 0,c,e,!0,l)}let a=p(d,e,l,!0);if(-1!==a)return a;c=d,d=d.parent}return a(l)}(t,e,l,d,r,n)},e.getIndentationForNode=function(e,t,n,r){let i=n.getLineAndCharacterOfPosition(e.getStart(n));return o(e,i,t,0,n,!1,r)},e.getBaseIndentation=a,(n=i||(i={}))[n.Unknown=0]="Unknown",n[n.OpenBrace=1]="OpenBrace",n[n.CloseBrace=2]="CloseBrace",e.isArgumentAndStartLineOverlapsExpressionBeingCalled=l,e.childStartsOnTheSameLineWithElseInIfStatement=c,e.childIsUnindentedBranchOfConditionalExpression=function(e,t,n,r){if(RN(e)&&(t===e.whenTrue||t===e.whenFalse)){let i=mt(r,e.condition.end).line;if(t===e.whenTrue)return n===i;{let t=s(e.whenTrue,r).line,a=mt(r,e.whenTrue.end).line;return i===t&&a===n}}return!1},e.argumentStartsOnSameLineAsPreviousArgument=function(e,t,n,r){if(ga(e)){if(!e.arguments)return!1;let i=d0(e.arguments,e=>e.pos===t.pos);if(!i)return!1;let a=e.arguments.indexOf(i);if(0===a)return!1;if(n===mt(r,e.arguments[a-1].getEnd()).line)return!0}return!1},e.getContainingList=d,e.findFirstNonWhitespaceCharacterAndColumn=h,e.findFirstNonWhitespaceColumn=y,e.nodeWillIndentChild=g,e.shouldIndentChildNode=v})(dF||(dF={}))}}),ecc={};dH(ecc,{FormattingContext:()=>dx,FormattingRequestKind:()=>dT,RuleAction:()=>dC,RuleFlags:()=>dk,SmartIndenter:()=>dF,anyContext:()=>dL,createTextRangeWithKind:()=>el2,formatDocument:()=>el5,formatNodeGivenIndentation:()=>ect,formatOnClosingCurly:()=>el3,formatOnEnter:()=>el4,formatOnOpeningCurly:()=>el6,formatOnSemicolon:()=>el8,formatSelection:()=>el7,getAllRules:()=>es$,getFormatContext:()=>elZ,getFormattingScanner:()=>esJ,getIndentationString:()=>eco,getRangeOfEnclosingComment:()=>eca});var ecd=dj({"src/services/_namespaces/ts.formatting.ts"(){esq(),esX(),esY(),elQ(),el1(),ecs(),ecl()}}),ecu=dj({"src/services/_namespaces/ts.ts"(){Kr(),KT(),KS(),Ja(),Jf(),JT(),Jx(),JI(),JP(),J4(),J6(),J9(),Xc(),Xp(),Yf(),Yh(),YE(),YA(),YK(),YZ(),enr(),ery(),erY(),eit(),eia(),eiv(),XE(),X8(),eiH(),eiZ(),eoY(),eo8(),esl(),esm(),esx(),esz(),ecd()}});function ec_(e,t,n,r,i){return(t?"DeprecationError: ":"DeprecationWarning: ")+`'${e}' `+(r?`has been deprecated since v${r}`:"is deprecated")+(t?" and can no longer be used.":n?` and will no longer be usable after v${n}.`:".")+(i?` ${Lz(i,[e],0)}`:"")}function ecp(e,t){var n;let r=function(e,t={}){var n,r,a;let o,s;let l="string"==typeof t.typeScriptVersion?new w(t.typeScriptVersion):null!=(n=t.typeScriptVersion)?n:null!=dB?dB:dB=new w(i),c="string"==typeof t.errorAfter?new w(t.errorAfter):t.errorAfter,d="string"==typeof t.warnAfter?new w(t.warnAfter):t.warnAfter,u="string"==typeof t.since?new w(t.since):null!=(r=t.since)?r:d,_=t.error||c&&l.compareTo(c)>=0,p=!d||l.compareTo(d)>=0;return _?(s=ec_(e,!0,c,u,t.message),()=>{throw TypeError(s)}):p?(a=t.message,o=!1,()=>{dG&&!o&&(T.log.warn(ec_(e,!1,c,u,a)),o=!0)}):_x}(null!=(n=null==t?void 0:t.name)?n:T.getFunctionName(e),t);return function(){return r(),e.apply(this,arguments)}}var ecf=dj({"src/deprecatedCompat/deprecate.ts"(){ecv(),dG=!0}});function ecm(e,t,n,r){if(Object.defineProperty(a,"name",{...Object.getOwnPropertyDescriptor(a,"name"),value:e}),r)for(let n of Object.keys(r)){let i=+n;!isNaN(i)&&u4(t,`${i}`)&&(t[i]=ecp(t[i],{...r[i],name:e}))}let i=e=>{for(let r=0;u4(t,`${r}`)&&u4(n,`${r}`);r++)if((0,n[r])(e))return r};return a;function a(...e){let n=i(e),r=void 0!==n?t[n]:void 0;if("function"==typeof r)return r(...e);throw TypeError("Invalid arguments")}}function ech(e){return{overload:t=>({bind:n=>({finish:()=>ecm(e,t,n),deprecate:r=>({finish:()=>ecm(e,t,n,r)})})})}}var ecy=dj({"src/deprecatedCompat/deprecations.ts"(){ecv(),ecf()}}),ecg=dj({"src/deprecatedCompat/5.0/identifierProperties.ts"(){ecv(),ecf(),LK(e=>{let t=e.getIdentifierConstructor();u4(t.prototype,"originalKeywordKind")||Object.defineProperty(t.prototype,"originalKeywordKind",{get:ecp(function(){return ha(this)},{name:"originalKeywordKind",since:"5.0",warnAfter:"5.1",errorAfter:"5.2",message:"Use 'identifierToKeywordKind(identifier)' instead."})}),u4(t.prototype,"isInJSDocNamespace")||Object.defineProperty(t.prototype,"isInJSDocNamespace",{get:ecp(function(){return!!(2048&this.flags)||void 0},{name:"isInJSDocNamespace",since:"5.0",warnAfter:"5.1",errorAfter:"5.2",message:"Use '.parent' or the surrounding context to determine this instead."})})})}}),ecv=dj({"src/deprecatedCompat/_namespaces/ts.ts"(){Kr(),ecy(),ecg()}}),ecb={};dH(ecb,{ANONYMOUS:()=>a0,AccessFlags:()=>eP,AssertionLevel:()=>f,AssignmentDeclarationKind:()=>eW,AssignmentKind:()=>t1,Associativity:()=>t4,BreakpointResolver:()=>YS,BuilderFileEmit:()=>i9,BuilderProgramKind:()=>ae,BuilderState:()=>i7,BundleFileSectionKind:()=>to,CallHierarchy:()=>YH,CharacterCodes:()=>e3,CheckFlags:()=>eI,CheckMode:()=>iE,ClassificationType:()=>az,ClassificationTypeNames:()=>aW,CommentDirectiveType:()=>ed,Comparison:()=>a,CompletionInfoFlags:()=>aG,CompletionTriggerKind:()=>aR,Completions:()=>erh,ConfigFileProgramReloadLevel:()=>iq,ContextFlags:()=>ev,CoreServicesShimHostAdapter:()=>oR,Debug:()=>T,DiagnosticCategory:()=>ez,Diagnostics:()=>tA,DocumentHighlights:()=>a6,ElementFlags:()=>eM,EmitFlags:()=>te,EmitHint:()=>tr,EmitOnly:()=>ef,EndOfLineState:()=>aV,EnumKind:()=>ek,ExitStatus:()=>eh,ExportKind:()=>a4,Extension:()=>e5,ExternalEmitHelpers:()=>tn,FileIncludeKind:()=>e_,FilePreprocessingDiagnosticsKind:()=>ep,FileSystemEntryKind:()=>tg,FileWatcherEventKind:()=>td,FindAllReferences:()=>erX,FlattenLevel:()=>iD,FlowFlags:()=>ec,ForegroundColorEscapeSequences:()=>iX,FunctionFlags:()=>t2,GeneratedIdentifierFlags:()=>es,GetLiteralTextFlags:()=>tY,GoToDefinition:()=>eie,HighlightSpanKind:()=>aD,ImportKind:()=>a2,ImportsNotUsedAsValues:()=>e0,IndentStyle:()=>aO,IndexKind:()=>eU,InferenceFlags:()=>eH,InferencePriority:()=>ej,InlayHintKind:()=>aN,InlayHints:()=>eii,InternalEmitFlags:()=>tt,InternalSymbolName:()=>ew,InvalidatedProjectKind:()=>ac,JsDoc:()=>eig,JsTyping:()=>Kp,JsxEmit:()=>eZ,JsxFlags:()=>ea,JsxReferenceKind:()=>eF,LanguageServiceMode:()=>aC,LanguageServiceShimHostAdapter:()=>ow,LanguageVariant:()=>e8,LexicalEnvironmentFlags:()=>ta,ListFormat:()=>ts,LogLevel:()=>E,MemberOverrideStatus:()=>ey,ModifierFlags:()=>ei,ModuleDetectionKind:()=>eJ,ModuleInstanceState:()=>id,ModuleKind:()=>eQ,ModuleResolutionKind:()=>eq,ModuleSpecifierEnding:()=>nI,NavigateTo:()=>Xb,NavigationBar:()=>X4,NewLineKind:()=>e1,NodeBuilderFlags:()=>eb,NodeCheckFlags:()=>eR,NodeFactoryFlags:()=>nM,NodeFlags:()=>er,NodeResolutionFeatures:()=>is,ObjectFlags:()=>eD,OperationCanceledException:()=>eu,OperatorPrecedence:()=>t8,OrganizeImports:()=>eij,OrganizeImportsMode:()=>aw,OuterExpressionKinds:()=>ti,OutliningElementsCollector:()=>eiQ,OutliningSpanKind:()=>aB,OutputFileType:()=>aU,PackageJsonAutoImportPreference:()=>aL,PackageJsonDependencyGroup:()=>aA,PatternMatchKind:()=>a3,PollingInterval:()=>tu,PollingWatchKind:()=>e$,PragmaKindFlags:()=>tl,PrivateIdentifierKind:()=>nj,ProcessLevel:()=>iO,QuotePreference:()=>a$,RelationComparisonResult:()=>eo,Rename:()=>eo4,ScriptElementKind:()=>aH,ScriptElementKindModifier:()=>aK,ScriptKind:()=>e2,ScriptSnapshot:()=>aS,ScriptTarget:()=>e4,SemanticClassificationFormat:()=>aI,SemanticMeaning:()=>aJ,SemicolonPreference:()=>aM,SignatureCheckMode:()=>iT,SignatureFlags:()=>eB,SignatureHelp:()=>ess,SignatureKind:()=>eG,SmartSelectionRange:()=>esf,SnippetKind:()=>e9,SortKind:()=>c,StructureIsReused:()=>em,SymbolAccessibility:()=>ex,SymbolDisplay:()=>esT,SymbolDisplayPartKind:()=>aF,SymbolFlags:()=>eC,SymbolFormatFlags:()=>eT,SyntaxKind:()=>en,SyntheticSymbolKind:()=>eS,Ternary:()=>eK,ThrottledCancellationToken:()=>oA,TokenClass:()=>aj,TokenFlags:()=>el,TransformFlags:()=>e7,TypeFacts:()=>iv,TypeFlags:()=>eN,TypeFormatFlags:()=>eE,TypeMapKind:()=>eV,TypePredicateKind:()=>eA,TypeReferenceSerializationKind:()=>eL,TypeScriptServicesFactory:()=>oP,UnionReduction:()=>eg,UpToDateStatusType:()=>ao,VarianceFlags:()=>eO,Version:()=>w,VersionRange:()=>R,WatchDirectoryFlags:()=>e6,WatchDirectoryKind:()=>eY,WatchFileKind:()=>eX,WatchLogLevel:()=>iJ,WatchType:()=>aa,accessPrivateIdentifier:()=>BE,addEmitFlags:()=>IT,addEmitHelper:()=>Ij,addEmitHelpers:()=>IH,addInternalEmitFlags:()=>IS,addNodeFactoryPatcher:()=>Ie,addObjectAllocatorPatcher:()=>LK,addRange:()=>uP,addRelatedInfo:()=>kl,addSyntheticLeadingComment:()=>IM,addSyntheticTrailingComment:()=>IG,addToSeen:()=>LC,advancedAsyncSuperHelper:()=>rp,affectsDeclarationPathOptionDeclarations:()=>rH,affectsEmitOptionDeclarations:()=>rj,allKeysStartWithDot:()=>Fx,altDirectorySeparator:()=>tE,and:()=>po,append:()=>uD,appendIfUnique:()=>uG,arrayFrom:()=>u9,arrayIsEqualTo:()=>uw,arrayIsHomogeneous:()=>kE,arrayIsSorted:()=>uk,arrayOf:()=>u7,arrayReverseIterator:()=>uV,arrayToMap:()=>_n,arrayToMultiMap:()=>_i,arrayToNumericMap:()=>_r,arraysEqual:()=>d3,assertType:()=>pc,assign:()=>_e,assignHelper:()=>nJ,asyncDelegator:()=>n$,asyncGeneratorHelper:()=>nY,asyncSuperHelper:()=>r_,asyncValues:()=>nQ,attachFileToDiagnostics:()=>L$,awaitHelper:()=>nX,awaiterHelper:()=>n0,base64decode:()=>AK,base64encode:()=>AH,binarySearch:()=>u0,binarySearchKey:()=>u1,bindSourceFile:()=>Fz,breakIntoCharacterSpans:()=>JY,breakIntoWordSpans:()=>J$,buildLinkParts:()=>z$,buildOpts:()=>rX,buildOverload:()=>ech,bundlerModuleNameResolver:()=>P7,canBeConvertedToAsync:()=>Xl,canHaveDecorators:()=>OH,canHaveExportModifier:()=>kq,canHaveFlowNode:()=>TW,canHaveIllegalDecorators:()=>Oy,canHaveIllegalModifiers:()=>Og,canHaveIllegalType:()=>Om,canHaveIllegalTypeParameters:()=>Oh,canHaveJSDoc:()=>Tz,canHaveLocals:()=>gR,canHaveModifiers:()=>Oj,canHaveSymbol:()=>gw,canJsonReportNoInputFiles:()=>Pt,canProduceDiagnostics:()=>Up,canUsePropertyAccess:()=>kX,canWatchDirectoryOrFile:()=>jC,cartesianProduct:()=>p_,cast:()=>_T,chainBundle:()=>G3,chainDiagnosticMessages:()=>L2,changeAnyExtension:()=>fM,changeCompilerHostLikeToUseCache:()=>Vh,changeExtension:()=>C3,changesAffectModuleResolution:()=>vr,changesAffectingProgramStructure:()=>va,childIsDecorated:()=>EG,classElementOrClassElementParameterIsDecorated:()=>EU,classOrConstructorParameterIsDecorated:()=>EB,classPrivateFieldGetHelper:()=>ri,classPrivateFieldInHelper:()=>rl,classPrivateFieldSetHelper:()=>rs,classicNameResolver:()=>FG,classifier:()=>YQ,cleanExtendedConfigCache:()=>U9,clear:()=>ut,clearMap:()=>Ly,clearSharedExtendedConfigFileWatcher:()=>U7,climbPastPropertyAccess:()=>KG,climbPastPropertyOrElementAccess:()=>KB,clone:()=>_s,cloneCompilerOptions:()=>WX,closeFileWatcher:()=>Ll,closeFileWatcherOf:()=>Vs,codefix:()=>enn,collapseTextChangeRangesAcrossMultipleVersions:()=>m$,collectExternalModuleInfo:()=>Be,combine:()=>uO,combinePaths:()=>fA,commentPragmas:()=>tc,commonOptionsWithBuild:()=>rP,commonPackageFolders:()=>np,compact:()=>uR,compareBooleans:()=>_$,compareDataObjects:()=>Lh,compareDiagnostics:()=>L6,compareDiagnosticsSkipRelatedInformation:()=>L3,compareEmitHelpers:()=>I3,compareNumberOfDirectorySeparators:()=>C2,comparePaths:()=>fB,comparePathsCaseInsensitive:()=>fG,comparePathsCaseSensitive:()=>fF,comparePatternKeys:()=>FA,compareProperties:()=>_Y,compareStringsCaseInsensitive:()=>_H,compareStringsCaseInsensitiveEslintCompatible:()=>_K,compareStringsCaseSensitive:()=>_W,compareStringsCaseSensitiveUI:()=>_X,compareTextSpans:()=>_V,compareValues:()=>_U,compileOnSaveCommandLineOption:()=>rI,compilerOptionsAffectDeclarationPath:()=>CL,compilerOptionsAffectEmit:()=>CA,compilerOptionsAffectSemanticDiagnostics:()=>CS,compilerOptionsDidYouMeanDiagnostics:()=>r0,compilerOptionsIndicateEsModules:()=>zc,compose:()=>_M,computeCommonSourceDirectoryOfFilenames:()=>Vu,computeLineAndCharacterOfPosition:()=>f7,computeLineOfPosition:()=>f9,computeLineStarts:()=>f8,computePositionOfLineAndCharacter:()=>f3,computeSignature:()=>j_,computeSignatureWithDiagnostics:()=>ju,computeSuggestionDiagnostics:()=>Xe,concatenate:()=>uE,concatenateDiagnosticMessageChains:()=>L4,consumesNodeCoreModules:()=>qH,contains:()=>d6,containsIgnoredPath:()=>kD,containsObjectRestOrSpread:()=>OB,containsParseError:()=>vx,containsPath:()=>fU,convertCompilerOptionsForTelemetry:()=>Px,convertCompilerOptionsFromJson:()=>Pi,convertJsonOption:()=>Pu,convertToBase64:()=>Aj,convertToObject:()=>Mz,convertToObjectWorker:()=>Mq,convertToOptionsWithAbsolutePaths:()=>M4,convertToRelativePath:()=>fK,convertToTSConfig:()=>MY,convertTypeAcquisitionFromJson:()=>Pa,copyComments:()=>qc,copyEntries:()=>vd,copyLeadingComments:()=>qf,copyProperties:()=>_c,copyTrailingAsLeadingComments:()=>qh,copyTrailingComments:()=>qm,couldStartTrivia:()=>ml,countWhere:()=>d7,createAbstractBuilder:()=>jS,createAccessorPropertyBackingField:()=>OO,createAccessorPropertyGetRedirector:()=>OM,createAccessorPropertySetRedirector:()=>OP,createBaseNodeFactory:()=>k8,createBinaryExpressionTrampoline:()=>OL,createBindingHelper:()=>n9,createBuildInfo:()=>U$,createBuilderProgram:()=>jp,createBuilderProgramUsingProgramBuildInfo:()=>jg,createBuilderStatusReporter:()=>Hc,createCacheWithRedirects:()=>PJ,createCacheableExportInfoMap:()=>Jo,createCachedDirectoryStructureHost:()=>U3,createClassifier:()=>Jm,createCommentDirectivesMap:()=>vW,createCompilerDiagnostic:()=>L0,createCompilerDiagnosticForInvalidCustomType:()=>MT,createCompilerDiagnosticFromMessageChain:()=>L1,createCompilerHost:()=>V_,createCompilerHostFromProgramHost:()=>jQ,createCompilerHostWorker:()=>Vm,createDetachedDiagnostic:()=>LY,createDiagnosticCollection:()=>Se,createDiagnosticForFileFromMessageChain:()=>bO,createDiagnosticForNode:()=>bC,createDiagnosticForNodeArray:()=>bk,createDiagnosticForNodeArrayFromMessageChain:()=>bR,createDiagnosticForNodeFromMessageChain:()=>bw,createDiagnosticForNodeInSourceFile:()=>bI,createDiagnosticForRange:()=>bP,createDiagnosticMessageChainFromDiagnostic:()=>bM,createDiagnosticReporter:()=>jw,createDocumentPositionMapper:()=>G2,createDocumentRegistry:()=>JA,createDocumentRegistryInternal:()=>JL,createEmitAndSemanticDiagnosticsBuilderProgram:()=>jx,createEmitHelperFactory:()=>I6,createEmptyExports:()=>DP,createExpressionForJsxElement:()=>DV,createExpressionForJsxFragment:()=>Dj,createExpressionForObjectLiteralElementLike:()=>Dq,createExpressionForPropertyName:()=>Dz,createExpressionFromEntityName:()=>DW,createExternalHelpersImportDeclarationIfNeeded:()=>On,createFileDiagnostic:()=>LQ,createFileDiagnosticFromMessageChain:()=>bD,createForOfBindingStatement:()=>DH,createGetCanonicalFileName:()=>_7,createGetSourceFile:()=>Vp,createGetSymbolAccessibilityDiagnosticForNode:()=>Um,createGetSymbolAccessibilityDiagnosticForNodeName:()=>Uf,createGetSymbolWalker:()=>FQ,createIncrementalCompilerHost:()=>j7,createIncrementalProgram:()=>j9,createInputFiles:()=>I_,createInputFilesWithFilePaths:()=>Ip,createInputFilesWithFileTexts:()=>If,createJsxFactoryExpression:()=>DU,createLanguageService:()=>Yc,createLanguageServiceSourceFile:()=>Ys,createMemberAccessForPropertyName:()=>DF,createModeAwareCache:()=>P$,createModeAwareCacheKey:()=>PY,createModuleResolutionCache:()=>P2,createModuleResolutionLoader:()=>VN,createModuleSpecifierResolutionHost:()=>zd,createMultiMap:()=>_u,createNodeConverters:()=>k7,createNodeFactory:()=>It,createOptionNameMap:()=>Mb,createOverload:()=>ecm,createPackageJsonImportFilter:()=>qj,createPackageJsonInfo:()=>qV,createParenthesizerRules:()=>k3,createPatternMatcher:()=>JG,createPrependNodes:()=>VX,createPrinter:()=>U1,createPrinterWithDefaults:()=>iH,createPrinterWithRemoveComments:()=>iK,createPrinterWithRemoveCommentsNeverAsciiEscape:()=>iW,createPrinterWithRemoveCommentsOmitTrailingSemicolon:()=>iz,createProgram:()=>VW,createProgramHost:()=>j1,createPropertyNameNodeForIdentifierOrLiteral:()=>kj,createQueue:()=>_m,createRange:()=>AX,createRedirectedBuilderProgram:()=>jb,createResolutionCache:()=>jk,createRuntimeTypeSerializer:()=>BB,createScanner:()=>mL,createSemanticDiagnosticsBuilderProgram:()=>jT,createSet:()=>_h,createSolutionBuilder:()=>Hp,createSolutionBuilderHost:()=>Hu,createSolutionBuilderWithWatch:()=>Hf,createSolutionBuilderWithWatchHost:()=>H_,createSortedArray:()=>uA,createSourceFile:()=>Ms,createSourceMapGenerator:()=>GV,createSourceMapSource:()=>Im,createSuperAccessVariableStatement:()=>Bz,createSymbolTable:()=>vt,createSymlinkCache:()=>CN,createSystemWatchFunctions:()=>p9,createTextChange:()=>W5,createTextChangeFromStartLength:()=>W3,createTextChangeRange:()=>mY,createTextRangeFromNode:()=>W4,createTextRangeFromSpan:()=>W6,createTextSpan:()=>mz,createTextSpanFromBounds:()=>mq,createTextSpanFromNode:()=>W1,createTextSpanFromRange:()=>W8,createTextSpanFromStringLiteralLikeContent:()=>W2,createTextWriter:()=>Sp,createTokenRange:()=>A1,createTypeChecker:()=>GT,createTypeReferenceDirectiveResolutionCache:()=>P4,createTypeReferenceResolutionLoader:()=>VO,createUnderscoreEscapedMultiMap:()=>_f,createUnparsedSourceFile:()=>Iu,createWatchCompilerHost:()=>He,createWatchCompilerHostOfConfigFile:()=>j4,createWatchCompilerHostOfFilesAndCompilerOptions:()=>j8,createWatchFactory:()=>j$,createWatchHost:()=>jY,createWatchProgram:()=>Ht,createWatchStatusReporter:()=>jD,createWriteFileMeasuringIO:()=>Vf,declarationNameToString:()=>bE,decodeMappings:()=>Gq,decodedTextSpanIntersectsWith:()=>mH,decorateHelper:()=>nH,deduplicate:()=>uS,defaultIncludeSpec:()=>it,defaultInitCompilerOptions:()=>rZ,defaultMaximumTruncationLength:()=>tq,detectSortCaseSensitivity:()=>uI,diagnosticCategoryName:()=>pY,diagnosticToString:()=>Je,directoryProbablyExists:()=>Aq,directorySeparator:()=>tb,displayPart:()=>zF,displayPartsToString:()=>Yr,disposeEmitNodes:()=>Iv,documentSpansEqual:()=>zI,dumpTracingLegend:()=>et,elementAt:()=>d,elideNodes:()=>Ow,emitComments:()=>SZ,emitDetachedComments:()=>S0,emitFiles:()=>UY,emitFilesAndReportErrors:()=>jJ,emitFilesAndReportErrorsAndGetExitStatus:()=>jX,emitModuleKindIsNonNodeESM:()=>Cr,emitNewLineBeforeLeadingCommentOfPosition:()=>SQ,emitNewLineBeforeLeadingComments:()=>SY,emitNewLineBeforeLeadingCommentsOfPosition:()=>S$,emitSkippedWithNoDiagnostics:()=>i5,emitUsingBuildInfo:()=>U0,emptyArray:()=>o,emptyFileSystemEntries:()=>nR,emptyMap:()=>s,emptyOptions:()=>ak,emptySet:()=>l,endsWith:()=>_Z,ensurePathIsNonModuleName:()=>fO,ensureScriptKind:()=>Cz,ensureTrailingDirectorySeparator:()=>fD,entityNameToString:()=>bL,enumerateInsertsAndDeletes:()=>pu,equalOwnProperties:()=>_t,equateStringsCaseInsensitive:()=>_F,equateStringsCaseSensitive:()=>_G,equateValues:()=>_P,esDecorateHelper:()=>nz,escapeJsxAttributeString:()=>Ss,escapeLeadingUnderscores:()=>hn,escapeNonAsciiString:()=>Sa,escapeSnippetText:()=>kU,escapeString:()=>Si,every:()=>dZ,expandPreOrPostfixIncrementOrDecrementExpression:()=>DJ,explainFiles:()=>jj,explainIfFileIsRedirectAndImpliedFormat:()=>jH,exportAssignmentIsAlias:()=>xf,exportStarHelper:()=>rr,expressionResultIsUnused:()=>kN,extend:()=>_l,extendsHelper:()=>n1,extensionFromPath:()=>kn,extensionIsTS:()=>ke,externalHelpersModuleNameText:()=>tz,factory:()=>nU,fileExtensionIs:()=>fu,fileExtensionIsOneOf:()=>f_,fileIncludeReasonToDiagnostics:()=>jz,filter:()=>d9,filterMutate:()=>ue,filterSemanticDiagnostics:()=>Vq,find:()=>d0,findAncestor:()=>m9,findBestPatternMatch:()=>pt,findChildOfKind:()=>Wo,findComputedPropertyNameCacheAssignment:()=>OF,findConfigFile:()=>Vc,findContainingList:()=>Ws,findDiagnosticForNode:()=>qz,findFirstNonJsxWhitespaceToken:()=>WE,findIndex:()=>d2,findLast:()=>d1,findLastIndex:()=>d4,findListItemInfo:()=>Wi,findMap:()=>d8,findModifier:()=>zA,findNextToken:()=>Wx,findPackageJson:()=>qB,findPackageJsons:()=>qG,findPrecedingMatchingToken:()=>WD,findPrecedingToken:()=>WS,findSuperStatementIndex:()=>Bs,findTokenOnLeftOfPosition:()=>WT,findUseStrictPrologue:()=>DZ,first:()=>uz,firstDefined:()=>dJ,firstDefinedIterator:()=>dX,firstIterator:()=>uq,firstOrOnly:()=>q$,firstOrUndefined:()=>uK,firstOrUndefinedIterator:()=>uW,fixupCompilerOptions:()=>X_,flatMap:()=>uo,flatMapIterator:()=>ul,flatMapToMutable:()=>us,flatten:()=>ua,flattenCommaList:()=>OG,flattenDestructuringAssignment:()=>Bx,flattenDestructuringBinding:()=>BL,flattenDiagnosticMessageText:()=>VA,forEach:()=>dz,forEachAncestor:()=>vs,forEachAncestorDirectory:()=>fq,forEachChild:()=>Mr,forEachChildRecursively:()=>Mi,forEachEmittedFile:()=>UD,forEachEnclosingBlockScopeContainer:()=>bb,forEachEntry:()=>vl,forEachExternalModuleToImportFrom:()=>Jl,forEachImportClauseDeclaration:()=>TP,forEachKey:()=>vc,forEachLeadingCommentRange:()=>mm,forEachNameInAccessChainWalkingLeft:()=>LM,forEachResolvedProjectReference:()=>VP,forEachReturnStatement:()=>b6,forEachRight:()=>dq,forEachTrailingCommentRange:()=>mh,forEachUnique:()=>zw,forEachYieldExpression:()=>b3,forSomeAncestorDirectory:()=>Lx,formatColorAndReset:()=>VE,formatDiagnostic:()=>Vv,formatDiagnostics:()=>Vg,formatDiagnosticsWithColorAndContext:()=>VS,formatGeneratedName:()=>OD,formatGeneratedNamePart:()=>ON,formatLocation:()=>Vx,formatMessage:()=>LZ,formatStringFromArgs:()=>Lz,formatting:()=>ecc,fullTripleSlashAMDReferencePathRegEx:()=>tZ,fullTripleSlashReferencePathRegEx:()=>t$,generateDjb2Hash:()=>pQ,generateTSConfig:()=>M2,generatorHelper:()=>n7,getAdjustedReferenceLocation:()=>Wm,getAdjustedRenameLocation:()=>Wh,getAliasDeclarationFromName:()=>x_,getAllAccessorDeclarations:()=>SK,getAllDecoratorsOfClass:()=>Bf,getAllDecoratorsOfClassElement:()=>Bm,getAllJSDocTags:()=>hY,getAllJSDocTagsOfKind:()=>h$,getAllKeys:()=>u3,getAllProjectOutputs:()=>Uq,getAllSuperTypeNodes:()=>xb,getAllUnscopedEmitHelpers:()=>I7,getAllowJSCompilerOption:()=>CT,getAllowSyntheticDefaultImports:()=>Cp,getAncestor:()=>xx,getAnyExtensionFromPath:()=>fb,getAreDeclarationMapsEnabled:()=>Cu,getAssignedExpandoInitializer:()=>Ta,getAssignedName:()=>hf,getAssignmentDeclarationKind:()=>Tf,getAssignmentDeclarationPropertyAccessKind:()=>TS,getAssignmentTargetKind:()=>T6,getAutomaticTypeDirectiveNames:()=>Pz,getBaseFileName:()=>fg,getBinaryOperatorPrecedence:()=>x7,getBuildInfo:()=>UZ,getBuildInfoFileVersionMap:()=>jv,getBuildInfoText:()=>UQ,getBuildOrderFromAnyBuildOrder:()=>Hl,getBuilderCreationParameters:()=>jc,getBuilderFileEmit:()=>V8,getCheckFlags:()=>Lc,getClassExtendsHeritageElement:()=>xg,getClassLikeDeclarationOfSymbol:()=>LE,getCombinedLocalAndExportSymbolFlags:()=>L_,getCombinedModifierFlags:()=>m8,getCombinedNodeFlags:()=>m3,getCombinedNodeFlagsAlwaysIncludeJSDoc:()=>m6,getCommentRange:()=>IR,getCommonSourceDirectory:()=>UW,getCommonSourceDirectoryOfConfig:()=>Uz,getCompilerOptionValue:()=>CC,getCompilerOptionsDiffValue:()=>M1,getConditions:()=>PK,getConfigFileParsingDiagnostics:()=>Vj,getConstantValue:()=>IU,getContainerNode:()=>KZ,getContainingClass:()=>Ev,getContainingClassStaticBlock:()=>Eb,getContainingFunction:()=>Ey,getContainingFunctionDeclaration:()=>Eg,getContainingFunctionOrClassStaticBlock:()=>EE,getContainingNodeArray:()=>kO,getContainingObjectLiteralElement:()=>Yu,getContextualTypeFromParent:()=>qv,getContextualTypeFromParentOrAncestorTypeNode:()=>Wu,getCurrentTime:()=>Ho,getDeclarationDiagnostics:()=>Uy,getDeclarationEmitExtensionForPath:()=>SS,getDeclarationEmitOutputFilePath:()=>ST,getDeclarationEmitOutputFilePathWorker:()=>Sx,getDeclarationFromName:()=>xl,getDeclarationModifierFlagsFromSymbol:()=>Ld,getDeclarationOfKind:()=>g9,getDeclarationsOfKind:()=>ve,getDeclaredExpandoInitializer:()=>Ti,getDecorators:()=>hm,getDefaultCompilerOptions:()=>Yi,getDefaultExportInfoWorker:()=>Jp,getDefaultFormatCodeSettings:()=>Kx,getDefaultLibFileName:()=>mD,getDefaultLibFilePath:()=>Yp,getDefaultLikeExportInfo:()=>Ju,getDiagnosticText:()=>MM,getDiagnosticsWithinSpan:()=>qq,getDirectoryPath:()=>fy,getDocumentPositionMapper:()=>J5,getESModuleInterop:()=>C_,getEditsForFileRename:()=>Jw,getEffectiveBaseTypeNode:()=>xy,getEffectiveConstraintOfTypeParameter:()=>h0,getEffectiveContainerForJSDocTemplateTag:()=>TQ,getEffectiveImplementsTypeNodes:()=>xv,getEffectiveInitializer:()=>Tr,getEffectiveJSDocHost:()=>T0,getEffectiveModifierFlags:()=>Al,getEffectiveModifierFlagsAlwaysIncludeJSDoc:()=>Ac,getEffectiveModifierFlagsNoCache:()=>A_,getEffectiveReturnTypeNode:()=>Sq,getEffectiveSetAccessorTypeAnnotationNode:()=>SX,getEffectiveTypeAnnotationNode:()=>SW,getEffectiveTypeParameterDeclarations:()=>hZ,getEffectiveTypeRoots:()=>PU,getElementOrPropertyAccessArgumentExpressionOrName:()=>TT,getElementOrPropertyAccessName:()=>Tx,getElementsOfBindingOrAssignmentPattern:()=>Op,getEmitDeclarations:()=>Cg,getEmitFlags:()=>v0,getEmitHelpers:()=>IW,getEmitModuleDetectionKind:()=>Ca,getEmitModuleKind:()=>Cn,getEmitModuleResolutionKind:()=>Ci,getEmitScriptTarget:()=>Ct,getEnclosingBlockScopeContainer:()=>bv,getEncodedSemanticClassifications:()=>Jg,getEncodedSyntacticClassifications:()=>JE,getEndLinePosition:()=>vw,getEntityNameFromTypeNode:()=>ED,getEntrypointsFromPackageJsonInfo:()=>Fm,getErrorCountForSummary:()=>jM,getErrorSpanForNode:()=>bB,getErrorSummaryText:()=>jB,getEscapedTextOfIdentifierOrLiteral:()=>xV,getExpandoInitializer:()=>To,getExportAssignmentExpression:()=>xm,getExportInfoMap:()=>Jd,getExportNeedsImportStarHelper:()=>G5,getExpressionAssociativity:()=>x4,getExpressionPrecedence:()=>x6,getExternalHelpersModuleName:()=>Oe,getExternalModuleImportEqualsDeclarationExpression:()=>EJ,getExternalModuleName:()=>TD,getExternalModuleNameFromDeclaration:()=>Sv,getExternalModuleNameFromPath:()=>Sb,getExternalModuleNameLiteral:()=>Oa,getExternalModuleRequireArgument:()=>EX,getFallbackOptions:()=>Vo,getFileEmitOutput:()=>V2,getFileMatcherPatterns:()=>CH,getFileNamesFromConfigSpecs:()=>Ph,getFileWatcherEventKind:()=>p8,getFilesInErrorForSummary:()=>jP,getFirstConstructorWithBody:()=>SP,getFirstIdentifier:()=>Aw,getFirstNonSpaceCharacterPosition:()=>z9,getFirstProjectOutput:()=>UX,getFixableErrorSpanExpression:()=>qX,getFormatCodeSettingsForWriting:()=>Jt,getFullWidth:()=>v_,getFunctionFlags:()=>xN,getHeritageClause:()=>xT,getHostSignatureFromJSDoc:()=>TZ,getIdentifierAutoGenerate:()=>I1,getIdentifierGeneratedImportReference:()=>I4,getIdentifierTypeArguments:()=>IZ,getImmediatelyInvokedFunctionExpression:()=>EC,getImpliedNodeFormatForFile:()=>VH,getImpliedNodeFormatForFileWorker:()=>VK,getImportNeedsImportDefaultHelper:()=>G9,getImportNeedsImportStarHelper:()=>G7,getIndentSize:()=>Su,getIndentString:()=>Sd,getInitializedVariables:()=>La,getInitializerOfBinaryExpression:()=>TA,getInitializerOfBindingOrAssignmentElement:()=>Os,getInterfaceBaseTypeNodes:()=>xE,getInternalEmitFlags:()=>v1,getInvokedExpression:()=>EO,getIsolatedModules:()=>Cs,getJSDocAugmentsTag:()=>hS,getJSDocClassTag:()=>hL,getJSDocCommentRanges:()=>b2,getJSDocCommentsAndTags:()=>Tq,getJSDocDeprecatedTag:()=>hP,getJSDocDeprecatedTagNoCache:()=>hF,getJSDocEnumTag:()=>hG,getJSDocHost:()=>T1,getJSDocImplementsTags:()=>hA,getJSDocOverrideTagNoCache:()=>hM,getJSDocParameterTags:()=>hg,getJSDocParameterTagsNoCache:()=>hv,getJSDocPrivateTag:()=>hI,getJSDocPrivateTagNoCache:()=>hw,getJSDocProtectedTag:()=>hR,getJSDocProtectedTagNoCache:()=>hN,getJSDocPublicTag:()=>hC,getJSDocPublicTagNoCache:()=>hk,getJSDocReadonlyTag:()=>hD,getJSDocReadonlyTagNoCache:()=>hO,getJSDocReturnTag:()=>hU,getJSDocReturnType:()=>hW,getJSDocRoot:()=>T2,getJSDocSatisfiesExpressionType:()=>k1,getJSDocSatisfiesTag:()=>hj,getJSDocTags:()=>hq,getJSDocTagsNoCache:()=>hJ,getJSDocTemplateTag:()=>hV,getJSDocThisTag:()=>hB,getJSDocType:()=>hK,getJSDocTypeAliasName:()=>Of,getJSDocTypeAssertionType:()=>D8,getJSDocTypeParameterDeclarations:()=>SJ,getJSDocTypeParameterTags:()=>hE,getJSDocTypeParameterTagsNoCache:()=>hT,getJSDocTypeTag:()=>hH,getJSXImplicitImportBase:()=>CI,getJSXRuntimeImport:()=>Cw,getJSXTransformEnabled:()=>Ck,getKeyForCompilerOptions:()=>Pq,getLanguageVariant:()=>L5,getLastChild:()=>LL,getLeadingCommentRanges:()=>mb,getLeadingCommentRangesOfNode:()=>b1,getLeftmostAccessExpression:()=>LO,getLeftmostExpression:()=>LP,getLineAndCharacterOfPosition:()=>mt,getLineInfo:()=>Gj,getLineOfLocalPosition:()=>SO,getLineOfLocalPositionFromLineMap:()=>SM,getLineStartPositionForPosition:()=>K2,getLineStarts:()=>f5,getLinesBetweenPositionAndNextNonWhitespaceCharacter:()=>Lr,getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter:()=>Ln,getLinesBetweenPositions:()=>me,getLinesBetweenRangeEndAndRangeStart:()=>A5,getLinesBetweenRangeEndPositions:()=>A7,getLiteralText:()=>v4,getLocalNameForExternalImport:()=>Oi,getLocalSymbolForExportDefault:()=>AU,getLocaleSpecificMessage:()=>LX,getLocaleTimeString:()=>jN,getMappedContextSpan:()=>zO,getMappedDocumentSpan:()=>zD,getMappedLocation:()=>zN,getMatchedFileSpec:()=>jK,getMatchedIncludeSpec:()=>jW,getMeaningFromDeclaration:()=>KA,getMeaningFromLocation:()=>KL,getMembersOfDeclaration:()=>b7,getModeForFileReference:()=>VL,getModeForResolutionAtIndex:()=>VC,getModeForUsageLocation:()=>VI,getModifiedTime:()=>p0,getModifiers:()=>hh,getModuleInstanceState:()=>FK,getModuleNameStringLiteralAt:()=>VZ,getModuleSpecifierEndingPreference:()=>CZ,getModuleSpecifierResolverHost:()=>zu,getNameForExportedSymbol:()=>qZ,getNameFromIndexInfo:()=>bT,getNameFromPropertyName:()=>zo,getNameOfAccessExpression:()=>LR,getNameOfCompilerOptionValue:()=>MQ,getNameOfDeclaration:()=>hp,getNameOfExpando:()=>Tl,getNameOfJSDocTypedef:()=>hd,getNameOrArgument:()=>TE,getNameTable:()=>Yd,getNamesForExportedSymbol:()=>qQ,getNamespaceDeclarationNode:()=>TO,getNewLineCharacter:()=>AJ,getNewLineKind:()=>q9,getNewLineOrDefaultFromHost:()=>zQ,getNewTargetContainer:()=>EA,getNextJSDocCommentLocation:()=>TY,getNodeForGeneratedName:()=>OR,getNodeId:()=>Gv,getNodeKind:()=>K0,getNodeModifiers:()=>WV,getNodeModulePathParts:()=>kK,getNonAssignedNameOfDeclaration:()=>h_,getNonAssignmentOperatorForCompoundAssignment:()=>Ba,getNonAugmentationDeclaration:()=>bs,getNonDecoratorTokenPosOfNode:()=>vq,getNormalizedAbsolutePath:()=>fk,getNormalizedAbsolutePathWithoutRoot:()=>fw,getNormalizedPathComponents:()=>fC,getObjectFlags:()=>LT,getOperator:()=>x3,getOperatorAssociativity:()=>x8,getOperatorPrecedence:()=>x5,getOptionFromName:()=>MR,getOptionsNameMap:()=>ME,getOrCreateEmitNode:()=>Ig,getOrCreateExternalHelpersModuleNameIfNeeded:()=>Or,getOrUpdate:()=>uf,getOriginalNode:()=>m7,getOriginalNodeId:()=>G8,getOriginalSourceFile:()=>x2,getOutputDeclarationFileName:()=>UU,getOutputExtension:()=>UG,getOutputFileNames:()=>UJ,getOutputPathsFor:()=>UP,getOutputPathsForBundle:()=>UM,getOwnEmitOutputFilePath:()=>SE,getOwnKeys:()=>u6,getOwnValues:()=>u5,getPackageJsonInfo:()=>Fv,getPackageJsonTypesVersionsPaths:()=>PB,getPackageJsonsVisibleToFile:()=>qU,getPackageNameFromTypesPackageName:()=>FM,getPackageScopeForPath:()=>Fy,getParameterSymbolFromJSDoc:()=>T$,getParameterTypeNode:()=>kW,getParentNodeInSpan:()=>zS,getParseTreeNode:()=>ht,getParsedCommandLineOfConfigFile:()=>MP,getPathComponents:()=>fE,getPathComponentsRelativeTo:()=>fj,getPathFromPathComponents:()=>fT,getPathUpdater:()=>JR,getPathsBasePath:()=>SC,getPatternFromSpec:()=>CU,getPendingEmitKind:()=>V6,getPositionOfLineAndCharacter:()=>f6,getPossibleGenericSignatures:()=>WP,getPossibleOriginalInputExtensionForExtension:()=>SA,getPossibleTypeArgumentsInfo:()=>WF,getPreEmitDiagnostics:()=>Vy,getPrecedingNonSpaceCharacterPosition:()=>qe,getPrivateIdentifier:()=>Bv,getProperties:()=>Bl,getProperty:()=>u8,getPropertyArrayElementValue:()=>Ep,getPropertyAssignment:()=>E_,getPropertyAssignmentAliasLikeExpression:()=>xh,getPropertyNameForPropertyNameNode:()=>xG,getPropertyNameForUniqueESSymbol:()=>xj,getPropertyNameOfBindingOrAssignmentElement:()=>Od,getPropertySymbolFromBindingElement:()=>zx,getPropertySymbolsFromContextualType:()=>Y_,getQuoteFromPreference:()=>zg,getQuotePreference:()=>zy,getRangesWhere:()=>ub,getRefactorContextSpan:()=>qJ,getReferencedFileLocation:()=>VU,getRegexFromPattern:()=>CK,getRegularExpressionForWildcard:()=>CF,getRegularExpressionsForWildcards:()=>CG,getRelativePathFromDirectory:()=>fH,getRelativePathFromFile:()=>fW,getRelativePathToDirectoryOrUrl:()=>fz,getRenameLocation:()=>qp,getReplacementSpanForContextToken:()=>W0,getResolutionDiagnostic:()=>V$,getResolutionModeOverrideForClause:()=>Vw,getResolveJsonModule:()=>Cy,getResolvePackageJsonExports:()=>Cm,getResolvePackageJsonImports:()=>Ch,getResolvedExternalModuleName:()=>Sy,getResolvedModule:()=>vp,getResolvedTypeReferenceDirective:()=>vh,getRestIndicatorOfBindingOrAssignmentElement:()=>Oc,getRestParameterElementType:()=>b5,getRightMostAssignedExpression:()=>Td,getRootDeclaration:()=>xZ,getRootLength:()=>fh,getScriptKind:()=>z3,getScriptKindFromFileName:()=>Cq,getScriptTargetFeatures:()=>v2,getSelectedEffectiveModifierFlags:()=>Aa,getSelectedSyntacticModifierFlags:()=>Ao,getSemanticClassifications:()=>Jh,getSemanticJsxChildren:()=>x9,getSetAccessorTypeAnnotationNode:()=>SG,getSetAccessorValueParameter:()=>SF,getSetExternalModuleIndicator:()=>Ce,getShebang:()=>mT,getSingleInitializerOfVariableStatementOrPropertyDeclaration:()=>Tj,getSingleVariableOfVariableStatement:()=>TH,getSnapshotText:()=>zr,getSnippetElement:()=>Iq,getSourceFileOfModule:()=>vA,getSourceFileOfNode:()=>vS,getSourceFilePathInNewDir:()=>Sw,getSourceFilePathInNewDirWorker:()=>SR,getSourceFileVersionAsHashFromText:()=>jZ,getSourceFilesToEmit:()=>Sk,getSourceMapRange:()=>IA,getSourceMapper:()=>J3,getSourceTextOfNodeFromSourceFile:()=>vJ,getSpanOfTokenAtPosition:()=>bF,getSpellingSuggestion:()=>_Q,getStartPositionOfLine:()=>vk,getStartPositionOfRange:()=>Lt,getStartsOnNewLine:()=>II,getStaticPropertiesAndClassStaticBlock:()=>Bd,getStrictOptionValue:()=>CE,getStringComparer:()=>_z,getSuperCallFromStatement:()=>Bo,getSuperContainer:()=>EL,getSupportedCodeFixes:()=>Ya,getSupportedExtensions:()=>CJ,getSupportedExtensionsWithJsonIfResolveJsonModule:()=>CX,getSwitchedType:()=>qS,getSymbolId:()=>Gb,getSymbolNameForPrivateIdentifier:()=>xH,getSymbolTarget:()=>z5,getSyntacticClassifications:()=>Jb,getSyntacticModifierFlags:()=>Ad,getSyntacticModifierFlagsNoCache:()=>Ap,getSynthesizedDeepClone:()=>qt,getSynthesizedDeepCloneWithReplacements:()=>qn,getSynthesizedDeepClones:()=>qi,getSynthesizedDeepClonesWithReplacements:()=>qa,getSyntheticLeadingComments:()=>ID,getSyntheticTrailingComments:()=>IP,getTargetLabel:()=>KU,getTargetOfBindingOrAssignmentElement:()=>Ol,getTemporaryModuleResolutionState:()=>Fh,getTextOfConstantValue:()=>v8,getTextOfIdentifierOrLiteral:()=>xU,getTextOfJSDocComment:()=>hQ,getTextOfNode:()=>v$,getTextOfNodeFromSourceText:()=>vY,getTextOfPropertyName:()=>bA,getThisContainer:()=>ET,getThisParameter:()=>SB,getTokenAtPosition:()=>Wv,getTokenPosOfNode:()=>vz,getTokenSourceMapRange:()=>IC,getTouchingPropertyName:()=>Wy,getTouchingToken:()=>Wg,getTrailingCommentRanges:()=>mE,getTrailingSemicolonDeferringWriter:()=>Sf,getTransformFlagsSubtreeExclusions:()=>Ic,getTransformers:()=>US,getTsBuildInfoEmitOutputFilePath:()=>UO,getTsConfigObjectLiteralExpression:()=>Ef,getTsConfigPropArray:()=>Eh,getTsConfigPropArrayElementValue:()=>Em,getTypeAnnotationNode:()=>Sz,getTypeArgumentOrTypeParameterList:()=>Wj,getTypeKeywordOfTypeOnlyImport:()=>zC,getTypeNode:()=>I$,getTypeNodeIfAccessible:()=>qA,getTypeParameterFromJsDoc:()=>T4,getTypeParameterOwner:()=>mQ,getTypesPackageName:()=>FD,getUILocale:()=>_q,getUniqueName:()=>q_,getUniqueSymbolId:()=>z7,getUseDefineForClassFields:()=>Cx,getWatchErrorSummaryDiagnosticMessage:()=>jF,getWatchFactory:()=>Va,group:()=>_a,groupBy:()=>_o,guessIndentation:()=>g4,handleNoEmitOptions:()=>Vz,hasAbstractModifier:()=>Ae,hasAccessorModifier:()=>An,hasAmbientModifier:()=>At,hasChangesInResolutions:()=>vT,hasChildOfKind:()=>Wa,hasContextSensitiveParameters:()=>kM,hasDecorators:()=>Ai,hasDocComment:()=>WB,hasDynamicName:()=>xP,hasEffectiveModifier:()=>S6,hasEffectiveModifiers:()=>S4,hasEffectiveReadonlyModifier:()=>Ar,hasExtension:()=>fd,hasIndexSignature:()=>qx,hasInitializer:()=>gZ,hasInvalidEscape:()=>St,hasJSDocNodes:()=>g$,hasJSDocParameterTags:()=>hx,hasJSFileExtension:()=>CY,hasJsonModuleEmitEnabled:()=>Co,hasOnlyExpressionInitializer:()=>g0,hasOverrideModifier:()=>S9,hasPossibleExternalModuleReference:()=>by,hasProperty:()=>u4,hasPropertyAccessExpressionWithName:()=>KV,hasQuestionToken:()=>TF,hasRecordedExternalHelpers:()=>Ot,hasRestParameter:()=>g3,hasScopeMarker:()=>gg,hasStaticModifier:()=>S7,hasSyntacticModifier:()=>S3,hasSyntacticModifiers:()=>S8,hasTSFileExtension:()=>C$,hasTabstop:()=>kY,hasTrailingDirectorySeparator:()=>fp,hasType:()=>gQ,hasTypeArguments:()=>T8,hasZeroOrOneAsteriskCharacter:()=>CR,helperString:()=>I5,hostGetCanonicalFileName:()=>Sh,hostUsesCaseSensitiveFileNames:()=>Sm,idText:()=>hi,identifierIsThisKeyword:()=>SH,identifierToKeywordKind:()=>ha,identity:()=>_C,identitySourceMapConsumer:()=>iN,ignoreSourceNewlines:()=>IX,ignoredPaths:()=>th,importDefaultHelper:()=>rn,importFromModuleSpecifier:()=>TR,importNameElisionDisabled:()=>Cl,importStarHelper:()=>rt,indexOfAnyCharCode:()=>d5,indexOfNode:()=>vZ,indicesOf:()=>ux,inferredTypesContainingFile:()=>i6,insertImports:()=>zL,insertLeadingStatement:()=>DK,insertSorted:()=>uL,insertStatementAfterCustomPrologue:()=>vj,insertStatementAfterStandardPrologue:()=>vV,insertStatementsAfterCustomPrologue:()=>vU,insertStatementsAfterStandardPrologue:()=>vB,intersperse:()=>dQ,introducesArgumentsExoticObject:()=>Ea,inverseJsxOptionMap:()=>rR,isAbstractConstructorSymbol:()=>Lb,isAbstractModifier:()=>wI,isAccessExpression:()=>Lw,isAccessibilityModifier:()=>WJ,isAccessor:()=>yz,isAccessorModifier:()=>wR,isAliasSymbolDeclaration:()=>xu,isAliasableExpression:()=>xp,isAmbientModule:()=>v7,isAmbientPropertyDeclaration:()=>bd,isAnonymousFunctionDefinition:()=>xJ,isAnyDirectorySeparator:()=>fr,isAnyImportOrBareOrAccessedRequire:()=>bm,isAnyImportOrReExport:()=>bg,isAnyImportSyntax:()=>bf,isAnySupportedFileExtension:()=>kr,isApplicableVersionedTypesKey:()=>Fk,isArgumentExpressionOfElementAccess:()=>KJ,isArray:()=>_y,isArrayBindingElement:()=>y8,isArrayBindingOrAssignmentElement:()=>gt,isArrayBindingOrAssignmentPattern:()=>ge,isArrayBindingPattern:()=>R_,isArrayLiteralExpression:()=>Rf,isArrayLiteralOrObjectLiteralDestructuringPattern:()=>WY,isArrayTypeNode:()=>w4,isArrowFunction:()=>RS,isAsExpression:()=>RB,isAssertClause:()=>Ng,isAssertEntry:()=>Nv,isAssertionExpression:()=>gf,isAssertionKey:()=>yS,isAssertsKeyword:()=>wA,isAssignmentDeclaration:()=>Tn,isAssignmentExpression:()=>AA,isAssignmentOperator:()=>AT,isAssignmentPattern:()=>y4,isAssignmentTarget:()=>T3,isAsteriskToken:()=>wf,isAsyncFunction:()=>xD,isAsyncModifier:()=>wS,isAutoAccessorPropertyDeclaration:()=>yq,isAwaitExpression:()=>Rk,isAwaitKeyword:()=>wL,isBigIntLiteral:()=>wn,isBinaryExpression:()=>RR,isBinaryOperatorToken:()=>OA,isBindableObjectDefinePropertyCall:()=>Tm,isBindableStaticAccessExpression:()=>Tg,isBindableStaticElementAccessExpression:()=>Tv,isBindableStaticNameExpression:()=>Tb,isBindingElement:()=>Rp,isBindingElementOfBareOrAccessedRequire:()=>E5,isBindingName:()=>yP,isBindingOrAssignmentElement:()=>y3,isBindingOrAssignmentPattern:()=>y5,isBindingPattern:()=>y2,isBlock:()=>RJ,isBlockOrCatchScoped:()=>v3,isBlockScope:()=>bu,isBlockScopedContainerTopLevel:()=>br,isBooleanLiteral:()=>yU,isBreakOrContinueStatement:()=>yi,isBreakStatement:()=>R6,isBuildInfoFile:()=>UN,isBuilderProgram:()=>jU,isBundle:()=>N1,isBundleFileTextLike:()=>LN,isCallChain:()=>h6,isCallExpression:()=>Rg,isCallExpressionTarget:()=>Kk,isCallLikeExpression:()=>gi,isCallOrNewExpression:()=>ga,isCallOrNewExpressionTarget:()=>Kw,isCallSignatureDeclaration:()=>wJ,isCallToHelper:()=>I9,isCaseBlock:()=>N_,isCaseClause:()=>NW,isCaseKeyword:()=>wO,isCaseOrDefaultClause:()=>gW,isCatchClause:()=>NJ,isCatchClauseVariableDeclaration:()=>kF,isCatchClauseVariableDeclarationOrBindingElement:()=>v5,isCheckJsEnabledForFile:()=>ka,isChildOfNodeWithKind:()=>b8,isCircularBuildOrder:()=>Hs,isClassDeclaration:()=>No,isClassElement:()=>yK,isClassExpression:()=>RP,isClassLike:()=>yW,isClassMemberModifier:()=>yN,isClassOrTypeElement:()=>yQ,isClassStaticBlockDeclaration:()=>wK,isCollapsedRange:()=>A0,isColonToken:()=>wy,isCommaExpression:()=>D1,isCommaListExpression:()=>RW,isCommaSequence:()=>D2,isCommaToken:()=>wu,isComment:()=>WH,isCommonJsExportPropertyAssignment:()=>Er,isCommonJsExportedExpression:()=>En,isCompoundAssignment:()=>Bi,isComputedNonLiteralName:()=>bx,isComputedPropertyName:()=>wP,isConciseBody:()=>gT,isConditionalExpression:()=>RN,isConditionalTypeNode:()=>Re,isConstTypeReference:()=>yt,isConstructSignatureDeclaration:()=>wX,isConstructorDeclaration:()=>wW,isConstructorTypeNode:()=>w0,isContextualKeyword:()=>xA,isContinueStatement:()=>R8,isCustomPrologue:()=>b$,isDebuggerStatement:()=>Nn,isDeclaration:()=>gO,isDeclarationBindingElement:()=>y6,isDeclarationFileName:()=>Mf,isDeclarationName:()=>xs,isDeclarationNameOfEnumOrNamespace:()=>Li,isDeclarationReadonly:()=>bH,isDeclarationStatement:()=>gM,isDeclarationWithTypeParameterChildren:()=>bp,isDeclarationWithTypeParameters:()=>b_,isDecorator:()=>wB,isDecoratorTarget:()=>KN,isDefaultClause:()=>Nz,isDefaultImport:()=>TM,isDefaultModifier:()=>wx,isDefaultedExpandoInitializer:()=>Ts,isDeleteExpression:()=>RA,isDeleteTarget:()=>xa,isDeprecatedDeclaration:()=>q5,isDestructuringAssignment:()=>AC,isDiagnosticWithLocation:()=>qW,isDiskPathRoot:()=>fo,isDoStatement:()=>RZ,isDotDotDotToken:()=>wd,isDottedName:()=>AR,isDynamicName:()=>xF,isESSymbolIdentifier:()=>xz,isEffectiveExternalModule:()=>bl,isEffectiveModuleDeclaration:()=>bt,isEffectiveStrictModeSourceFile:()=>bc,isElementAccessChain:()=>h8,isElementAccessExpression:()=>Ry,isEmittedFileOfProgram:()=>Vi,isEmptyArrayLiteral:()=>AB,isEmptyBindingElement:()=>m1,isEmptyBindingPattern:()=>m0,isEmptyObjectLiteral:()=>AG,isEmptyStatement:()=>RY,isEmptyStringLiteral:()=>EV,isEndOfDeclarationMarker:()=>NN,isEntityName:()=>yO,isEntityNameExpression:()=>AI,isEnumConst:()=>bj,isEnumDeclaration:()=>Nc,isEnumMember:()=>NQ,isEqualityOperatorKind:()=>qE,isEqualsGreaterThanToken:()=>wv,isExclamationToken:()=>wm,isExcludedFile:()=>Py,isExclusivelyTypeOnlyImportOrExport:()=>Vk,isExportAssignment:()=>NS,isExportDeclaration:()=>NA,isExportModifier:()=>wT,isExportName:()=>D$,isExportNamespaceAsDefaultDeclaration:()=>vX,isExportOrDefaultModifier:()=>Ok,isExportSpecifier:()=>NC,isExportsIdentifier:()=>Tu,isExportsOrModuleExportsOrAlias:()=>FJ,isExpression:()=>gp,isExpressionNode:()=>EH,isExpressionOfExternalModuleImportEqualsDeclaration:()=>KQ,isExpressionOfOptionalChainRoot:()=>h7,isExpressionStatement:()=>R$,isExpressionWithTypeArguments:()=>RG,isExpressionWithTypeArgumentsInClassExtendsClause:()=>Ak,isExternalModule:()=>Md,isExternalModuleAugmentation:()=>ba,isExternalModuleImportEqualsDeclaration:()=>Eq,isExternalModuleIndicator:()=>gb,isExternalModuleNameRelative:()=>mR,isExternalModuleReference:()=>ND,isExternalModuleSymbol:()=>zt,isExternalOrCommonJsModule:()=>bU,isFileLevelUniqueName:()=>vR,isFileProbablyExternalModule:()=>OJ,isFirstDeclarationOfSymbolParameter:()=>zM,isFixablePromiseHandler:()=>Xr,isForInOrOfStatement:()=>gE,isForInStatement:()=>R2,isForInitializer:()=>gS,isForOfStatement:()=>R4,isForStatement:()=>R1,isFunctionBlock:()=>Es,isFunctionBody:()=>gx,isFunctionDeclaration:()=>Na,isFunctionExpression:()=>Rx,isFunctionExpressionOrArrowFunction:()=>kB,isFunctionLike:()=>yF,isFunctionLikeDeclaration:()=>yB,isFunctionLikeKind:()=>yj,isFunctionLikeOrClassStaticBlockDeclaration:()=>yG,isFunctionOrConstructorTypeNode:()=>y1,isFunctionOrModuleBlock:()=>yH,isFunctionSymbol:()=>TI,isFunctionTypeNode:()=>wZ,isFutureReservedKeyword:()=>xC,isGeneratedIdentifier:()=>yL,isGeneratedPrivateIdentifier:()=>yC,isGetAccessor:()=>gY,isGetAccessorDeclaration:()=>wz,isGetOrSetAccessorDeclaration:()=>h2,isGlobalDeclaration:()=>q6,isGlobalScopeAugmentation:()=>bi,isGrammarError:()=>vO,isHeritageClause:()=>Nq,isHoistedFunction:()=>bQ,isHoistedVariableStatement:()=>b0,isIdentifier:()=>wb,isIdentifierANonContextualKeyword:()=>xw,isIdentifierName:()=>xd,isIdentifierOrThisTypeNode:()=>Ob,isIdentifierPart:()=>mS,isIdentifierStart:()=>mx,isIdentifierText:()=>mA,isIdentifierTypePredicate:()=>Ed,isIdentifierTypeReference:()=>kb,isIfStatement:()=>RQ,isIgnoredFileFromWildCardWatching:()=>Vr,isImplicitGlob:()=>CB,isImportCall:()=>bq,isImportClause:()=>Nh,isImportDeclaration:()=>Nm,isImportEqualsDeclaration:()=>Nf,isImportKeyword:()=>wD,isImportMeta:()=>bJ,isImportOrExportSpecifier:()=>yb,isImportOrExportSpecifierName:()=>z6,isImportSpecifier:()=>Nx,isImportTypeAssertionContainer:()=>Ny,isImportTypeNode:()=>Rl,isImportableFile:()=>Js,isInComment:()=>WG,isInExpressionContext:()=>EK,isInJSDoc:()=>E2,isInJSFile:()=>EZ,isInJSXText:()=>WR,isInJsonFile:()=>E0,isInNonReferenceComment:()=>WQ,isInReferenceComment:()=>W$,isInRightSideOfInternalImportEqualsDeclaration:()=>KC,isInString:()=>WC,isInTemplateString:()=>Ww,isInTopLevelContext:()=>ES,isIncrementalCompilation:()=>Cb,isIndexSignatureDeclaration:()=>wY,isIndexedAccessTypeNode:()=>Ra,isInferTypeNode:()=>Rt,isInfinityOrNaNString:()=>kP,isInitializedProperty:()=>Bu,isInitializedVariable:()=>Lo,isInsideJsxElement:()=>WN,isInsideJsxElementOrAttribute:()=>Wk,isInsideNodeModules:()=>qK,isInsideTemplateLiteral:()=>Wq,isInstantiatedModule:()=>GE,isInterfaceDeclaration:()=>Ns,isInternalDeclaration:()=>Uv,isInternalModuleImportEqualsDeclaration:()=>EY,isInternalName:()=>DX,isIntersectionTypeNode:()=>w9,isIntrinsicJsxName:()=>Sc,isIterationStatement:()=>gh,isJSDoc:()=>Ds,isJSDocAllType:()=>N9,isJSDocAugmentsTag:()=>Dd,isJSDocAuthorTag:()=>Du,isJSDocCallbackTag:()=>Dp,isJSDocClassTag:()=>D_,isJSDocCommentContainingNode:()=>gq,isJSDocConstructSignature:()=>TG,isJSDocDeprecatedTag:()=>Db,isJSDocEnumTag:()=>DT,isJSDocFunctionType:()=>Di,isJSDocImplementsTag:()=>DR,isJSDocIndexSignature:()=>E4,isJSDocLikeText:()=>Oq,isJSDocLink:()=>N3,isJSDocLinkCode:()=>N5,isJSDocLinkLike:()=>g6,isJSDocLinkPlain:()=>N7,isJSDocMemberName:()=>N6,isJSDocNameReference:()=>N8,isJSDocNamepathType:()=>Do,isJSDocNamespaceBody:()=>gC,isJSDocNode:()=>gz,isJSDocNonNullableType:()=>Dn,isJSDocNullableType:()=>Dt,isJSDocOptionalParameter:()=>k$,isJSDocOptionalType:()=>Dr,isJSDocOverloadTag:()=>Dv,isJSDocOverrideTag:()=>Dg,isJSDocParameterTag:()=>Dx,isJSDocPrivateTag:()=>Dm,isJSDocPropertyLikeTag:()=>yl,isJSDocPropertyTag:()=>Dw,isJSDocProtectedTag:()=>Dh,isJSDocPublicTag:()=>Df,isJSDocReadonlyTag:()=>Dy,isJSDocReturnTag:()=>DS,isJSDocSatisfiesExpression:()=>k0,isJSDocSatisfiesTag:()=>DN,isJSDocSeeTag:()=>DE,isJSDocSignature:()=>Dc,isJSDocTag:()=>gJ,isJSDocTemplateTag:()=>DC,isJSDocThisTag:()=>DA,isJSDocThrowsTag:()=>DD,isJSDocTypeAlias:()=>TB,isJSDocTypeAssertion:()=>D4,isJSDocTypeExpression:()=>N4,isJSDocTypeLiteral:()=>Dl,isJSDocTypeTag:()=>DL,isJSDocTypedefTag:()=>Dk,isJSDocUnknownTag:()=>DI,isJSDocUnknownType:()=>De,isJSDocVariadicType:()=>Da,isJSXTagName:()=>Ej,isJsonEqual:()=>kp,isJsonSourceFile:()=>bV,isJsxAttribute:()=>NV,isJsxAttributeLike:()=>gj,isJsxAttributes:()=>Nj,isJsxChild:()=>gV,isJsxClosingElement:()=>NF,isJsxClosingFragment:()=>NU,isJsxElement:()=>NO,isJsxExpression:()=>NK,isJsxFragment:()=>NG,isJsxOpeningElement:()=>NP,isJsxOpeningFragment:()=>NB,isJsxOpeningLikeElement:()=>gK,isJsxOpeningLikeElementTagName:()=>KD,isJsxSelfClosingElement:()=>NM,isJsxSpreadAttribute:()=>NH,isJsxTagNameExpression:()=>gU,isJsxText:()=>wi,isJumpStatementTarget:()=>Kj,isKeyword:()=>xS,isKnownSymbol:()=>xK,isLabelName:()=>KK,isLabelOfLabeledStatement:()=>KH,isLabeledStatement:()=>R9,isLateVisibilityPaintedStatement:()=>bh,isLeftHandSideExpression:()=>gs,isLeftHandSideOfAssignment:()=>AL,isLet:()=>bW,isLineBreak:()=>mi,isLiteralComputedPropertyDeclarationName:()=>xc,isLiteralExpression:()=>ym,isLiteralExpressionOfObject:()=>yh,isLiteralImportTypeNode:()=>bX,isLiteralKind:()=>yf,isLiteralLikeAccess:()=>Th,isLiteralLikeElementAccess:()=>Ty,isLiteralNameOfPropertyDeclarationOrIndexAccess:()=>K$,isLiteralTypeLikeExpression:()=>OS,isLiteralTypeLiteral:()=>g_,isLiteralTypeNode:()=>Rs,isLocalName:()=>DY,isLogicalOperator:()=>Ay,isLogicalOrCoalescingAssignmentExpression:()=>Av,isLogicalOrCoalescingAssignmentOperator:()=>Ag,isLogicalOrCoalescingBinaryExpression:()=>AE,isLogicalOrCoalescingBinaryOperator:()=>Ab,isMappedTypeNode:()=>Ro,isMemberName:()=>h1,isMergeDeclarationMarker:()=>NR,isMetaProperty:()=>Rj,isMethodDeclaration:()=>wH,isMethodOrAccessor:()=>yJ,isMethodSignature:()=>wj,isMinusToken:()=>wp,isMissingDeclaration:()=>Nk,isModifier:()=>yD,isModifierKind:()=>yw,isModifierLike:()=>yY,isModuleAugmentationExternal:()=>bo,isModuleBlock:()=>Nu,isModuleBody:()=>gA,isModuleDeclaration:()=>Nd,isModuleExportsAccessExpression:()=>Tp,isModuleIdentifier:()=>T_,isModuleName:()=>Ox,isModuleOrEnumDeclaration:()=>gI,isModuleReference:()=>gB,isModuleSpecifierLike:()=>zE,isModuleWithStringLiteralName:()=>v9,isNameOfFunctionDeclaration:()=>KY,isNameOfModuleDeclaration:()=>KX,isNamedClassElement:()=>yX,isNamedDeclaration:()=>hu,isNamedEvaluation:()=>xY,isNamedEvaluationSource:()=>xX,isNamedExportBindings:()=>ya,isNamedExports:()=>NL,isNamedImportBindings:()=>gk,isNamedImports:()=>NT,isNamedImportsOrExports:()=>LD,isNamedTupleMember:()=>w6,isNamespaceBody:()=>gL,isNamespaceExport:()=>NE,isNamespaceExportDeclaration:()=>Np,isNamespaceImport:()=>Nb,isNamespaceReexportDeclaration:()=>Ez,isNewExpression:()=>Rv,isNewExpressionTarget:()=>KI,isNightly:()=>S_,isNoSubstitutionTemplateLiteral:()=>wo,isNode:()=>yc,isNodeArray:()=>yp,isNodeArrayMultiLine:()=>A9,isNodeDescendantOf:()=>xo,isNodeKind:()=>yd,isNodeLikeSystem:()=>pg,isNodeModulesDirectory:()=>fJ,isNodeWithPossibleHoistedDeclaration:()=>T5,isNonContextualKeyword:()=>xL,isNonExportDefaultModifier:()=>OI,isNonGlobalAmbientModule:()=>be,isNonGlobalDeclaration:()=>q3,isNonNullAccess:()=>kZ,isNonNullChain:()=>yr,isNonNullExpression:()=>RV,isNonStaticMethodOrAccessorWithPrivateName:()=>B_,isNotEmittedOrPartiallyEmittedNode:()=>gm,isNotEmittedStatement:()=>NI,isNullishCoalesce:()=>ye,isNumber:()=>_b,isNumericLiteral:()=>wt,isNumericLiteralName:()=>kV,isObjectBindingElementWithoutPropertyName:()=>zT,isObjectBindingOrAssignmentElement:()=>y9,isObjectBindingOrAssignmentPattern:()=>y7,isObjectBindingPattern:()=>Ru,isObjectLiteralElement:()=>g1,isObjectLiteralElementLike:()=>yZ,isObjectLiteralExpression:()=>Rm,isObjectLiteralMethod:()=>El,isObjectLiteralOrClassExpressionMethodOrAccessor:()=>Ec,isObjectTypeDeclaration:()=>Lk,isOctalDigit:()=>ms,isOmittedExpression:()=>RF,isOptionalChain:()=>h3,isOptionalChainRoot:()=>h5,isOptionalDeclaration:()=>kQ,isOptionalJSDocPropertyLikeTag:()=>kJ,isOptionalTypeNode:()=>w3,isOuterExpression:()=>D6,isOutermostOptionalChain:()=>h9,isOverrideModifier:()=>ww,isPackedArrayLiteral:()=>kR,isParameter:()=>wG,isParameterDeclaration:()=>xQ,isParameterOrCatchClauseVariable:()=>kG,isParameterPropertyDeclaration:()=>mZ,isParameterPropertyModifier:()=>yR,isParenthesizedExpression:()=>RT,isParenthesizedTypeNode:()=>Rn,isParseTreeNode:()=>he,isPartOfTypeNode:()=>b4,isPartOfTypeQuery:()=>EW,isPartiallyEmittedExpression:()=>RK,isPatternMatch:()=>pa,isPinnedComment:()=>vK,isPlainJsFile:()=>vL,isPlusToken:()=>w_,isPossiblyTypeArgumentPosition:()=>WM,isPostfixUnaryExpression:()=>Rw,isPrefixUnaryExpression:()=>RI,isPrivateIdentifier:()=>wE,isPrivateIdentifierClassElementDeclaration:()=>yk,isPrivateIdentifierPropertyAccessExpression:()=>yI,isPrivateIdentifierSymbol:()=>xW,isProgramBundleEmitBuildInfo:()=>js,isProgramUptoDate:()=>VV,isPrologueDirective:()=>bY,isPropertyAccessChain:()=>h4,isPropertyAccessEntityNameExpression:()=>AN,isPropertyAccessExpression:()=>Rh,isPropertyAccessOrQualifiedName:()=>gr,isPropertyAccessOrQualifiedNameOrImportTypeNode:()=>gn,isPropertyAssignment:()=>NX,isPropertyDeclaration:()=>wV,isPropertyName:()=>yM,isPropertyNameLiteral:()=>xB,isPropertySignature:()=>wU,isProtoSetter:()=>xq,isPrototypeAccess:()=>AO,isPrototypePropertyAssignment:()=>TL,isPunctuation:()=>Wz,isPushOrUnshiftIdentifier:()=>x$,isQualifiedName:()=>wM,isQuestionDotToken:()=>wg,isQuestionOrExclamationToken:()=>Ov,isQuestionOrPlusOrMinusToken:()=>OT,isQuestionToken:()=>wh,isRawSourceMap:()=>GW,isReadonlyKeyword:()=>wC,isReadonlyKeywordOrPlusOrMinusToken:()=>OE,isRecognizedTripleSlashComment:()=>vH,isReferenceFileLocation:()=>VB,isReferencedFile:()=>VG,isRegularExpressionLiteral:()=>wa,isRequireCall:()=>E8,isRequireVariableStatement:()=>E9,isRestParameter:()=>g5,isRestTypeNode:()=>w5,isReturnStatement:()=>R3,isReturnStatementWithFixablePromiseHandler:()=>Xn,isRightSideOfAccessExpression:()=>AP,isRightSideOfPropertyAccess:()=>Kq,isRightSideOfQualifiedName:()=>Kz,isRightSideOfQualifiedNameOrPropertyAccess:()=>AM,isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName:()=>AF,isRootedDiskPath:()=>fa,isSameEntityName:()=>Tc,isSatisfiesExpression:()=>RU,isScopeMarker:()=>gy,isSemicolonClassElement:()=>Rq,isSetAccessor:()=>gX,isSetAccessorDeclaration:()=>wq,isShebangTrivia:()=>m_,isShorthandAmbientModuleSymbol:()=>bn,isShorthandPropertyAssignment:()=>NY,isSignedNumericLiteral:()=>xM,isSimpleCopiableExpression:()=>Bn,isSimpleInlineableExpression:()=>Br,isSingleOrDoubleQuote:()=>Te,isSourceFile:()=>N0,isSourceFileFromLibrary:()=>Jr,isSourceFileJS:()=>E$,isSourceFileNotJS:()=>EQ,isSourceFileNotJson:()=>E1,isSourceMapping:()=>GX,isSpecialPropertyDeclaration:()=>TC,isSpreadAssignment:()=>N$,isSpreadElement:()=>RM,isStatement:()=>gF,isStatementButNotDeclaration:()=>gP,isStatementOrBlock:()=>gG,isStatementWithLocals:()=>vC,isStatic:()=>S5,isStaticModifier:()=>wk,isString:()=>_v,isStringAKeyword:()=>xI,isStringANonContextualKeyword:()=>xk,isStringAndEmptyAnonymousObjectIntersection:()=>WW,isStringDoubleQuoted:()=>Tt,isStringLiteral:()=>wr,isStringLiteralLike:()=>g8,isStringLiteralOrJsxExpression:()=>gH,isStringLiteralOrTemplate:()=>qT,isStringOrNumericLiteralLike:()=>xO,isStringOrRegularExpressionOrTemplateLiteral:()=>WK,isStringTextContainingNode:()=>yA,isSuperCall:()=>bz,isSuperKeyword:()=>wN,isSuperOrSuperProperty:()=>Ek,isSuperProperty:()=>EI,isSupportedSourceFileName:()=>C0,isSwitchStatement:()=>R7,isSyntaxList:()=>DO,isSyntheticExpression:()=>RH,isSyntheticReference:()=>Nw,isTagName:()=>KW,isTaggedTemplateExpression:()=>Rb,isTaggedTemplateTag:()=>KR,isTemplateExpression:()=>RD,isTemplateHead:()=>ws,isTemplateLiteral:()=>go,isTemplateLiteralKind:()=>yy,isTemplateLiteralToken:()=>yg,isTemplateLiteralTypeNode:()=>Rd,isTemplateLiteralTypeSpan:()=>Rc,isTemplateMiddle:()=>wl,isTemplateMiddleOrTemplateTail:()=>yv,isTemplateSpan:()=>Rz,isTemplateTail:()=>wc,isTextWhiteSpaceLike:()=>zR,isThis:()=>K1,isThisContainerOrFunctionBlock:()=>Ex,isThisIdentifier:()=>SV,isThisInTypeQuery:()=>Sj,isThisInitializedDeclaration:()=>ER,isThisInitializedObjectBindingExpression:()=>EN,isThisProperty:()=>Ew,isThisTypeNode:()=>Rr,isThisTypeParameter:()=>kH,isThisTypePredicate:()=>Eu,isThrowStatement:()=>Ne,isToken:()=>y_,isTokenKind:()=>yu,isTraceEnabled:()=>PC,isTransientSymbol:()=>vn,isTrivia:()=>xR,isTryStatement:()=>Nt,isTupleTypeNode:()=>w8,isTypeAlias:()=>TU,isTypeAliasDeclaration:()=>Nl,isTypeAssertionExpression:()=>RE,isTypeDeclaration:()=>kz,isTypeElement:()=>y$,isTypeKeyword:()=>W7,isTypeKeywordToken:()=>W9,isTypeKeywordTokenOrIdentifier:()=>ze,isTypeLiteralNode:()=>w2,isTypeNode:()=>y0,isTypeNodeKind:()=>LI,isTypeOfExpression:()=>RL,isTypeOnlyExportDeclaration:()=>yT,isTypeOnlyImportDeclaration:()=>yE,isTypeOnlyImportOrExportDeclaration:()=>yx,isTypeOperatorNode:()=>Ri,isTypeParameterDeclaration:()=>wF,isTypePredicateNode:()=>w$,isTypeQueryNode:()=>w1,isTypeReferenceNode:()=>wQ,isTypeReferenceType:()=>g2,isUMDExportSymbol:()=>LS,isUnaryExpression:()=>gc,isUnaryExpressionWithWrite:()=>gu,isUnicodeIdentifierStart:()=>f1,isUnionTypeNode:()=>w7,isUnparsedNode:()=>ys,isUnparsedPrepend:()=>NZ,isUnparsedSource:()=>N2,isUnparsedTextLike:()=>yo,isUrl:()=>fi,isValidBigIntString:()=>kg,isValidESSymbolDeclaration:()=>Ei,isValidTypeOnlyAliasUseSite:()=>kv,isValueSignatureDeclaration:()=>T7,isVarConst:()=>bK,isVariableDeclaration:()=>Nr,isVariableDeclarationInVariableStatement:()=>Et,isVariableDeclarationInitializedToBareOrAccessedRequire:()=>E3,isVariableDeclarationInitializedToRequire:()=>E6,isVariableDeclarationList:()=>Ni,isVariableLike:()=>b9,isVariableLikeOrAccessor:()=>Ee,isVariableStatement:()=>RX,isVoidExpression:()=>RC,isWatchSet:()=>Ls,isWhileStatement:()=>R0,isWhiteSpaceLike:()=>mn,isWhiteSpaceSingleLine:()=>mr,isWithStatement:()=>R5,isWriteAccess:()=>Lf,isWriteOnlyAccess:()=>Lp,isYieldExpression:()=>RO,jsxModeNeedsExplicitImport:()=>Jn,keywordPart:()=>zB,last:()=>uX,lastOrUndefined:()=>uJ,length:()=>dW,libMap:()=>rO,libs:()=>rD,lineBreakPart:()=>zZ,linkNamePart:()=>zX,linkPart:()=>zY,linkTextPart:()=>zJ,listFiles:()=>jV,loadModuleFromGlobalCache:()=>FU,loadWithModeAwareCache:()=>VM,makeIdentifierFromModuleName:()=>v6,makeImport:()=>zf,makeImportIfNecessary:()=>zp,makeStringLiteral:()=>zm,mangleScopedPackageName:()=>FO,map:()=>un,mapAllOrFail:()=>ud,mapDefined:()=>uu,mapDefinedEntries:()=>up,mapDefinedIterator:()=>u_,mapEntries:()=>ug,mapIterator:()=>ur,mapOneOrMany:()=>qY,mapToDisplayParts:()=>z0,matchFiles:()=>CW,matchPatternOrExact:()=>ko,matchedText:()=>pe,matchesExclude:()=>Pv,maybeBind:()=>_d,maybeSetLocalizedDiagnosticMessages:()=>LJ,memoize:()=>_R,memoizeCached:()=>_O,memoizeOne:()=>_N,memoizeWeak:()=>_D,metadataHelper:()=>nK,min:()=>_j,minAndMax:()=>kc,missingFileModifiedTime:()=>t_,modifierToFlag:()=>Am,modifiersToFlags:()=>Af,moduleOptionDeclaration:()=>rG,moduleResolutionIsEqualTo:()=>vg,moduleResolutionNameAndModeGetter:()=>i4,moduleResolutionOptionDeclarations:()=>rK,moduleResolutionSupportsPackageJsonExportsAndImports:()=>Cf,moduleResolutionUsesNodeModules:()=>z_,moduleSpecifiers:()=>Gh,moveEmitHelpers:()=>Iz,moveRangeEnd:()=>AY,moveRangePastDecorators:()=>AQ,moveRangePastModifiers:()=>AZ,moveRangePos:()=>A$,moveSyntheticComments:()=>IB,mutateMap:()=>Lv,mutateMapSkippingNewValues:()=>Lg,needsParentheses:()=>qg,needsScopeMarker:()=>gv,newCaseClauseTracker:()=>Ji,newPrivateEnvironment:()=>Bg,noEmitNotification:()=>UI,noEmitSubstitution:()=>Uk,noTransformers:()=>iB,noTruncationMaximumTruncationLength:()=>tJ,nodeCanBeDecorated:()=>EM,nodeHasName:()=>hc,nodeIsDecorated:()=>EP,nodeIsMissing:()=>vN,nodeIsPresent:()=>vD,nodeIsSynthesized:()=>x1,nodeModuleNameResolver:()=>P9,nodeModulesPathPart:()=>il,nodeNextJsonConfigResolver:()=>Fe,nodeOrChildIsDecorated:()=>EF,nodeOverlapsWithStartEnd:()=>We,nodePosToString:()=>vI,nodeSeenTracker:()=>zn,nodeStartsNewLexicalEnvironment:()=>x0,nodeToDisplayParts:()=>z8,noop:()=>_x,noopFileWatcher:()=>ar,noopPush:()=>_,normalizePath:()=>fI,normalizeSlashes:()=>fx,not:()=>pl,notImplemented:()=>_w,notImplementedResolver:()=>ij,nullNodeConverters:()=>nD,nullParenthesizerRules:()=>nN,nullTransformationContext:()=>iU,objectAllocator:()=>nl,operatorPart:()=>zV,optionDeclarations:()=>rU,optionMapToObject:()=>M$,optionsAffectingProgramStructure:()=>rz,optionsForBuild:()=>rJ,optionsForWatch:()=>rM,optionsHaveChanges:()=>vo,optionsHaveModuleResolutionChanges:()=>vi,or:()=>ps,orderedRemoveItem:()=>_8,orderedRemoveItemAt:()=>_6,outFile:()=>SL,packageIdToPackageName:()=>vv,packageIdToString:()=>vb,padLeft:()=>pp,padRight:()=>pf,paramHelper:()=>nW,parameterIsThisKeyword:()=>SU,parameterNamePart:()=>zj,parseBaseNodeFactory:()=>rE,parseBigInt:()=>kh,parseBuildCommand:()=>MO,parseCommandLine:()=>Mw,parseCommandLineWorker:()=>Mk,parseConfigFileTextToJson:()=>MG,parseConfigFileWithSystem:()=>jO,parseConfigHostFromCompilerHostLike:()=>VJ,parseCustomTypeOption:()=>MS,parseIsolatedEntityName:()=>Ml,parseIsolatedJSDocComment:()=>M_,parseJSDocTypeExpressionForTests:()=>Mp,parseJsonConfigFileContent:()=>M8,parseJsonSourceFileConfigFileContent:()=>M6,parseJsonText:()=>Mc,parseListTypeOption:()=>MA,parseNodeFactory:()=>rT,parseNodeModuleFromPath:()=>Fa,parsePackageName:()=>FT,parsePseudoBigInt:()=>kf,parseValidBigInt:()=>ky,patchWriteFileEnsuringDirectory:()=>fe,pathContainsNodeModules:()=>Fi,pathIsAbsolute:()=>fs,pathIsBareSpecifier:()=>fc,pathIsRelative:()=>fl,patternText:()=>_9,perfLogger:()=>H,performIncrementalCompilation:()=>j6,performance:()=>pq,plainJSErrors:()=>i3,positionBelongsToNode:()=>Wn,positionIsASICandidate:()=>qw,positionIsSynthesized:()=>C9,positionsAreOnSameLine:()=>Le,preProcessFile:()=>J8,probablyUsesSemicolons:()=>qR,processCommentPragmas:()=>Mm,processPragmasIntoFields:()=>Mh,processTaggedTemplateExpression:()=>BR,programContainsEsModules:()=>zl,programContainsModules:()=>zs,projectReferenceIsEqualTo:()=>vy,propKeyHelper:()=>n6,propertyNamePart:()=>zH,pseudoBigIntToString:()=>km,punctuationPart:()=>zU,pushIfUnique:()=>uF,quote:()=>qb,quotePreferenceFromString:()=>zh,rangeContainsPosition:()=>K6,rangeContainsPositionExclusive:()=>K3,rangeContainsRange:()=>K4,rangeContainsRangeExclusive:()=>K8,rangeContainsStartEnd:()=>K7,rangeEndIsOnSameLineAsRangeStart:()=>A3,rangeEndPositionsAreOnSameLine:()=>A8,rangeEquals:()=>uH,rangeIsOnSingleLine:()=>A2,rangeOfNode:()=>kd,rangeOfTypeParameters:()=>ku,rangeOverlapsWithStartEnd:()=>K9,rangeStartIsOnSameLineAsRangeEnd:()=>A6,rangeStartPositionsAreOnSameLine:()=>A4,readBuilderProgram:()=>j5,readConfigFile:()=>MF,readHelper:()=>n4,readJson:()=>Az,readJsonConfigFile:()=>MB,readJsonOrUndefined:()=>AW,realizeDiagnostics:()=>Yv,reduceEachLeadingCommentRange:()=>my,reduceEachTrailingCommentRange:()=>mg,reduceLeft:()=>u2,reduceLeftIterator:()=>dY,reducePathComponents:()=>fS,refactor:()=>eoX,regExpEscape:()=>CM,relativeComplement:()=>uN,removeAllComments:()=>Ib,removeEmitHelper:()=>IK,removeExtension:()=>C6,removeFileExtension:()=>C4,removeIgnoredPath:()=>jL,removeMinAndVersionNumbers:()=>_4,removeOptionality:()=>WO,removePrefix:()=>pr,removeSuffix:()=>_0,removeTrailingDirectorySeparator:()=>fN,repeatString:()=>zi,replaceElement:()=>uZ,resolutionExtensionIsTSOrJson:()=>kt,resolveConfigFileProjectName:()=>Hr,resolveJSModule:()=>P5,resolveModuleName:()=>P6,resolveModuleNameFromCache:()=>P8,resolvePackageNameToPackageJson:()=>PW,resolvePath:()=>fL,resolveProjectReferencePath:()=>VY,resolveTripleslashReference:()=>Vd,resolveTypeReferenceDirective:()=>Pj,resolvingEmptyArray:()=>tW,restHelper:()=>nZ,returnFalse:()=>_S,returnNoopFileWatcher:()=>ai,returnTrue:()=>_A,returnUndefined:()=>_L,returnsPromise:()=>Xt,runInitializersHelper:()=>nq,sameFlatMap:()=>uc,sameMap:()=>ui,sameMapping:()=>GJ,scanShebangTrivia:()=>mp,scanTokenAtPosition:()=>bG,scanner:()=>aq,screenStartingMessageCodes:()=>an,semanticDiagnosticsOptionDeclarations:()=>rV,serializeCompilerOptions:()=>MZ,server:()=>Kb,servicesVersion:()=>ou,setCommentRange:()=>IN,setConfigFileInOptions:()=>M3,setConstantValue:()=>IV,setEachParent:()=>kk,setEmitFlags:()=>IE,setFunctionNameHelper:()=>n3,setGetSourceFileAsHashVersioned:()=>j0,setIdentifierAutoGenerate:()=>I0,setIdentifierGeneratedImportReference:()=>I2,setIdentifierTypeArguments:()=>IQ,setInternalEmitFlags:()=>Ix,setLocalizedDiagnosticMessages:()=>Lq,setModuleDefaultHelper:()=>re,setNodeFlags:()=>kL,setObjectAllocator:()=>LW,setOriginalNode:()=>Ih,setParent:()=>kC,setParentRecursive:()=>kI,setPrivateIdentifier:()=>Bb,setResolvedModule:()=>vf,setResolvedTypeReferenceDirective:()=>vm,setSnippetElement:()=>IJ,setSourceMapRange:()=>IL,setStackTraceLimit:()=>pZ,setStartsOnNewLine:()=>Iw,setSyntheticLeadingComments:()=>IO,setSyntheticTrailingComments:()=>IF,setSys:()=>ft,setSysLog:()=>p3,setTextRange:()=>OV,setTextRangeEnd:()=>kx,setTextRangePos:()=>kT,setTextRangePosEnd:()=>kS,setTextRangePosWidth:()=>kA,setTokenSourceMapRange:()=>Ik,setTypeNode:()=>IY,setUILocale:()=>_J,setValueDeclaration:()=>Tk,shouldAllowImportingTsExtension:()=>FB,shouldPreserveConstEnums:()=>Cv,shouldUseUriStyleNodeCoreModules:()=>q7,showModuleSpecifier:()=>LA,signatureHasLiteralTypes:()=>Gk,signatureHasRestParameter:()=>GC,signatureToDisplayParts:()=>z4,single:()=>u$,singleElementArray:()=>pd,singleIterator:()=>uh,singleOrMany:()=>uQ,singleOrUndefined:()=>uY,skipAlias:()=>Lu,skipAssertions:()=>D7,skipConstraint:()=>za,skipOuterExpressions:()=>D3,skipParentheses:()=>xi,skipPartiallyEmittedExpressions:()=>yn,skipTrivia:()=>mc,skipTypeChecking:()=>k_,skipTypeParentheses:()=>xr,skipWhile:()=>ph,sliceAfter:()=>ks,some:()=>uv,sort:()=>uU,sortAndDeduplicate:()=>uC,sortAndDeduplicateDiagnostics:()=>mN,sourceFileAffectingCompilerOptions:()=>rW,sourceFileMayBeEmitted:()=>SI,sourceMapCommentRegExp:()=>iw,sourceMapCommentRegExpDontCareLineStart:()=>iI,spacePart:()=>zG,spanMap:()=>uy,spreadArrayHelper:()=>n8,stableSort:()=>uj,startEndContainsRange:()=>K5,startEndOverlapsWithStartEnd:()=>Wt,startOnNewLine:()=>D9,startTracing:()=>ee,startsWith:()=>pn,startsWithDirectory:()=>fV,startsWithUnderscore:()=>q8,startsWithUseStrict:()=>D0,stringContains:()=>_2,stringContainsAt:()=>q4,stringToToken:()=>f4,stripQuotes:()=>Sl,supportedDeclarationExtensions:()=>nC,supportedJSExtensions:()=>nx,supportedJSExtensionsFlat:()=>nS,supportedLocaleDirectories:()=>tH,supportedTSExtensions:()=>nv,supportedTSExtensionsFlat:()=>nb,supportedTSImplementationExtensions:()=>nk,suppressLeadingAndTrailingTrivia:()=>qo,suppressLeadingTrivia:()=>qs,suppressTrailingTrivia:()=>ql,symbolEscapedNameNoDefault:()=>zb,symbolName:()=>ho,symbolNameNoDefault:()=>zv,symbolPart:()=>zP,symbolToDisplayParts:()=>z2,syntaxMayBeASICandidate:()=>a1,syntaxRequiresTrailingSemicolonOrASI:()=>qI,sys:()=>tv,sysLog:()=>p6,tagNamesAreEquivalent:()=>Mg,takeWhile:()=>pm,targetOptionDeclaration:()=>rF,templateObjectHelper:()=>n2,testFormatSettings:()=>aP,textChangeRangeIsUnchanged:()=>mX,textChangeRangeNewSpan:()=>mJ,textChanges:()=>esW,textOrKeywordPart:()=>zK,textPart:()=>zW,textRangeContainsPositionInclusive:()=>mF,textSpanContainsPosition:()=>mP,textSpanContainsTextSpan:()=>mG,textSpanEnd:()=>mO,textSpanIntersection:()=>mW,textSpanIntersectsWith:()=>mj,textSpanIntersectsWithPosition:()=>mK,textSpanIntersectsWithTextSpan:()=>mV,textSpanIsEmpty:()=>mM,textSpanOverlap:()=>mU,textSpanOverlapsWith:()=>mB,textSpansEqual:()=>zk,textToKeywordObj:()=>tL,timestamp:()=>B,toArray:()=>_g,toBuilderFileEmit:()=>jh,toBuilderStateFileInfoForMultiEmit:()=>jm,toEditorSettings:()=>Yt,toFileNameLowerCase:()=>_I,toLowerCase:()=>_k,toPath:()=>fR,toProgramEmitPending:()=>jy,tokenIsIdentifierOrKeyword:()=>fQ,tokenIsIdentifierOrKeywordOrGreaterThan:()=>fZ,tokenToString:()=>f2,trace:()=>PL,tracing:()=>Q,tracingEnabled:()=>Z,transform:()=>Ym,transformClassFields:()=>BF,transformDeclarations:()=>Ub,transformECMAScriptModule:()=>Uc,transformES2015:()=>B9,transformES2016:()=>B3,transformES2017:()=>BW,transformES2018:()=>BJ,transformES2019:()=>BY,transformES2020:()=>BQ,transformES2021:()=>B0,transformES5:()=>Ut,transformESDecorators:()=>BH,transformESNext:()=>B2,transformGenerators:()=>Ur,transformJsx:()=>B8,transformLegacyDecorators:()=>BV,transformModule:()=>Ua,transformNodeModule:()=>Uu,transformNodes:()=>Uw,transformSystemModule:()=>Us,transformTypeScript:()=>BM,transpile:()=>Xu,transpileModule:()=>Xd,transpileOptionValueCompilerOptions:()=>rq,trimString:()=>g,trimStringEnd:()=>v,trimStringStart:()=>b,tryAddToSet:()=>um,tryAndIgnoreErrors:()=>qP,tryCast:()=>_E,tryDirectoryExists:()=>qM,tryExtractTSExtension:()=>AV,tryFileExists:()=>qO,tryGetClassExtendingExpressionWithTypeArguments:()=>Ax,tryGetClassImplementingOrExtendingExpressionWithTypeArguments:()=>AS,tryGetDirectories:()=>qN,tryGetExtensionFromPath:()=>ki,tryGetImportFromModuleSpecifier:()=>TN,tryGetJSDocSatisfiesTypeNode:()=>k2,tryGetModuleNameFromFile:()=>Oo,tryGetModuleSpecifierFromDeclaration:()=>Tw,tryGetNativePerformanceHooks:()=>pw,tryGetPropertyAccessOrIdentifierToString:()=>AD,tryGetPropertyNameOfBindingOrAssignmentElement:()=>Ou,tryGetSourceMappingURL:()=>GH,tryGetTextOfPropertyName:()=>bS,tryIOAndConsumeErrors:()=>qF,tryParsePattern:()=>C5,tryParsePatterns:()=>C7,tryParseRawSourceMap:()=>Gz,tryReadDirectory:()=>qD,tryReadFile:()=>MU,tryRemoveDirectoryPrefix:()=>CO,tryRemoveExtension:()=>C8,tryRemovePrefix:()=>pi,tryRemoveSuffix:()=>_1,typeAcquisitionDeclarations:()=>rY,typeAliasNamePart:()=>zz,typeDirectiveIsEqualTo:()=>vE,typeKeywords:()=>aY,typeParameterNamePart:()=>zq,typeReferenceResolutionNameAndModeGetter:()=>i8,typeToDisplayParts:()=>z1,unchangedPollThresholds:()=>tm,unchangedTextChangeRange:()=>tj,unescapeLeadingUnderscores:()=>hr,unmangleScopedPackageName:()=>FP,unorderedRemoveItem:()=>_5,unorderedRemoveItemAt:()=>_3,unreachableCodeIsError:()=>Cc,unusedLabelIsError:()=>Cd,unwrapInnermostStatementOfLabel:()=>Eo,updateErrorForNoInputFiles:()=>Pn,updateLanguageServiceSourceFile:()=>Yl,updateMissingFilePathsWatch:()=>Vt,updatePackageJsonWatch:()=>Ve,updateResolutionField:()=>PP,updateSharedExtendedConfigFileWatcher:()=>U5,updateSourceFile:()=>Mu,updateWatchingWildcardDirectories:()=>Vn,usesExtensionsOnImports:()=>CQ,usingSingleLineStringWriter:()=>vu,utf16EncodeAsString:()=>mI,validateLocaleAndSetLanguage:()=>m5,valuesHelper:()=>n5,version:()=>i,versionMajorMinor:()=>r,visitArray:()=>GN,visitCommaListElements:()=>GG,visitEachChild:()=>GB,visitFunctionBody:()=>GP,visitIterationBody:()=>GF,visitLexicalEnvironment:()=>GO,visitNode:()=>Gw,visitNodes:()=>GR,visitParameterList:()=>GM,walkUpBindingElementsAndPatterns:()=>m2,walkUpLexicalEnvironments:()=>By,walkUpOuterExpressions:()=>D5,walkUpParenthesizedExpressions:()=>xt,walkUpParenthesizedTypes:()=>xe,walkUpParenthesizedTypesAndGetParentAndChild:()=>xn,whitespaceOrMapCommentRegExp:()=>iR,writeCommentRange:()=>S1,writeFile:()=>SN,writeFileEnsuringDirectories:()=>SD,zipToModeAwareCache:()=>PQ,zipWith:()=>d$});var ecE=dj({"src/typescript/_namespaces/ts.ts"(){Kr(),KT(),ecu(),ecv()}});return(e={"src/typescript/typescript.ts"(e,t){ecE(),ecE(),"undefined"!=typeof console&&(T.loggingHost={log(e,t){switch(e){case 1:return console.error(t);case 2:return console.warn(t);case 3:case 4:return console.log(t)}}}),t.exports=ecb}},function(){return t||e[dV(e)[0]]((t={exports:{}}).exports,t),t.exports})()})();void 0!==rd&&rd.exports&&(rd.exports=ru);var r_=ru.createClassifier,rp=ru.createLanguageService,rf=ru.displayPartsToString,rm=ru.EndOfLineState,rh=ru.flattenDiagnosticMessageText,ry=ru.IndentStyle,rg=ru.ScriptKind,rv=ru.ScriptTarget,rb=ru.TokenClass,rE=ru,rT={};function rx(e){return"string"==typeof e?!!/^file:\/\/\//.test(e)&&!!rT[e.substr(8)]:0===e.path.indexOf("/lib.")&&!!rT[e.path.slice(1)]}rT["lib.d.ts"]='/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n/// \n\n/// \n/// \n/// \n/// \n',rT["lib.decorators.d.ts"]='/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n/// \n\n/**\n * The decorator context types provided to class element decorators.\n */\ntype ClassMemberDecoratorContext =\n | ClassMethodDecoratorContext\n | ClassGetterDecoratorContext\n | ClassSetterDecoratorContext\n | ClassFieldDecoratorContext\n | ClassAccessorDecoratorContext\n ;\n\n/**\n * The decorator context types provided to any decorator.\n */\ntype DecoratorContext =\n | ClassDecoratorContext\n | ClassMemberDecoratorContext\n ;\n\n/**\n * Context provided to a class decorator.\n * @template Class The type of the decorated class associated with this context.\n */\ninterface ClassDecoratorContext<\n Class extends abstract new (...args: any) => any = abstract new (...args: any) => any,\n> {\n /** The kind of element that was decorated. */\n readonly kind: "class";\n\n /** The name of the decorated class. */\n readonly name: string | undefined;\n\n /**\n * Adds a callback to be invoked after the class definition has been finalized.\n *\n * @example\n * ```ts\n * function customElement(name: string): ClassDecoratorFunction {\n * return (target, context) => {\n * context.addInitializer(function () {\n * customElements.define(name, this);\n * });\n * }\n * }\n *\n * @customElement("my-element")\n * class MyElement {}\n * ```\n */\n addInitializer(initializer: (this: Class) => void): void;\n}\n\n/**\n * Context provided to a class method decorator.\n * @template This The type on which the class element will be defined. For a static class element, this will be\n * the type of the constructor. For a non-static class element, this will be the type of the instance.\n * @template Value The type of the decorated class method.\n */\ninterface ClassMethodDecoratorContext<\n This = unknown,\n Value extends (this: This, ...args: any) => any = (this: This, ...args: any) => any,\n> {\n /** The kind of class element that was decorated. */\n readonly kind: "method";\n\n /** The name of the decorated class element. */\n readonly name: string | symbol;\n\n /** A value indicating whether the class element is a static (`true`) or instance (`false`) element. */\n readonly static: boolean;\n\n /** A value indicating whether the class element has a private name. */\n readonly private: boolean;\n\n /** An object that can be used to access the current value of the class element at runtime. */\n readonly access: {\n /**\n * Determines whether an object has a property with the same name as the decorated element.\n */\n has(object: This): boolean;\n /**\n * Gets the current value of the method from the provided object.\n *\n * @example\n * let fn = context.access.get(instance);\n */\n get(object: This): Value;\n };\n\n /**\n * Adds a callback to be invoked either before static initializers are run (when\n * decorating a `static` element), or before instance initializers are run (when\n * decorating a non-`static` element).\n *\n * @example\n * ```ts\n * const bound: ClassMethodDecoratorFunction = (value, context) {\n * if (context.private) throw new TypeError("Not supported on private methods.");\n * context.addInitializer(function () {\n * this[context.name] = this[context.name].bind(this);\n * });\n * }\n *\n * class C {\n * message = "Hello";\n *\n * @bound\n * m() {\n * console.log(this.message);\n * }\n * }\n * ```\n */\n addInitializer(initializer: (this: This) => void): void;\n}\n\n/**\n * Context provided to a class getter decorator.\n * @template This The type on which the class element will be defined. For a static class element, this will be\n * the type of the constructor. For a non-static class element, this will be the type of the instance.\n * @template Value The property type of the decorated class getter.\n */\ninterface ClassGetterDecoratorContext<\n This = unknown,\n Value = unknown,\n> {\n /** The kind of class element that was decorated. */\n readonly kind: "getter";\n\n /** The name of the decorated class element. */\n readonly name: string | symbol;\n\n /** A value indicating whether the class element is a static (`true`) or instance (`false`) element. */\n readonly static: boolean;\n\n /** A value indicating whether the class element has a private name. */\n readonly private: boolean;\n\n /** An object that can be used to access the current value of the class element at runtime. */\n readonly access: {\n /**\n * Determines whether an object has a property with the same name as the decorated element.\n */\n has(object: This): boolean;\n /**\n * Invokes the getter on the provided object.\n *\n * @example\n * let value = context.access.get(instance);\n */\n get(object: This): Value;\n };\n\n /**\n * Adds a callback to be invoked either before static initializers are run (when\n * decorating a `static` element), or before instance initializers are run (when\n * decorating a non-`static` element).\n */\n addInitializer(initializer: (this: This) => void): void;\n}\n\n/**\n * Context provided to a class setter decorator.\n * @template This The type on which the class element will be defined. For a static class element, this will be\n * the type of the constructor. For a non-static class element, this will be the type of the instance.\n * @template Value The type of the decorated class setter.\n */\ninterface ClassSetterDecoratorContext<\n This = unknown,\n Value = unknown,\n> {\n /** The kind of class element that was decorated. */\n readonly kind: "setter";\n\n /** The name of the decorated class element. */\n readonly name: string | symbol;\n\n /** A value indicating whether the class element is a static (`true`) or instance (`false`) element. */\n readonly static: boolean;\n\n /** A value indicating whether the class element has a private name. */\n readonly private: boolean;\n\n /** An object that can be used to access the current value of the class element at runtime. */\n readonly access: {\n /**\n * Determines whether an object has a property with the same name as the decorated element.\n */\n has(object: This): boolean;\n /**\n * Invokes the setter on the provided object.\n *\n * @example\n * context.access.set(instance, value);\n */\n set(object: This, value: Value): void;\n };\n\n /**\n * Adds a callback to be invoked either before static initializers are run (when\n * decorating a `static` element), or before instance initializers are run (when\n * decorating a non-`static` element).\n */\n addInitializer(initializer: (this: This) => void): void;\n}\n\n/**\n * Context provided to a class `accessor` field decorator.\n * @template This The type on which the class element will be defined. For a static class element, this will be\n * the type of the constructor. For a non-static class element, this will be the type of the instance.\n * @template Value The type of decorated class field.\n */\ninterface ClassAccessorDecoratorContext<\n This = unknown,\n Value = unknown,\n> {\n /** The kind of class element that was decorated. */\n readonly kind: "accessor";\n\n /** The name of the decorated class element. */\n readonly name: string | symbol;\n\n /** A value indicating whether the class element is a static (`true`) or instance (`false`) element. */\n readonly static: boolean;\n\n /** A value indicating whether the class element has a private name. */\n readonly private: boolean;\n\n /** An object that can be used to access the current value of the class element at runtime. */\n readonly access: {\n /**\n * Determines whether an object has a property with the same name as the decorated element.\n */\n has(object: This): boolean;\n\n /**\n * Invokes the getter on the provided object.\n *\n * @example\n * let value = context.access.get(instance);\n */\n get(object: This): Value;\n\n /**\n * Invokes the setter on the provided object.\n *\n * @example\n * context.access.set(instance, value);\n */\n set(object: This, value: Value): void;\n };\n\n /**\n * Adds a callback to be invoked either before static initializers are run (when\n * decorating a `static` element), or before instance initializers are run (when\n * decorating a non-`static` element).\n */\n addInitializer(initializer: (this: This) => void): void;\n}\n\n/**\n * Describes the target provided to class `accessor` field decorators.\n * @template This The `this` type to which the target applies.\n * @template Value The property type for the class `accessor` field.\n */\ninterface ClassAccessorDecoratorTarget {\n /**\n * Invokes the getter that was defined prior to decorator application.\n *\n * @example\n * let value = target.get.call(instance);\n */\n get(this: This): Value;\n\n /**\n * Invokes the setter that was defined prior to decorator application.\n *\n * @example\n * target.set.call(instance, value);\n */\n set(this: This, value: Value): void;\n}\n\n/**\n * Describes the allowed return value from a class `accessor` field decorator.\n * @template This The `this` type to which the target applies.\n * @template Value The property type for the class `accessor` field.\n */\ninterface ClassAccessorDecoratorResult {\n /**\n * An optional replacement getter function. If not provided, the existing getter function is used instead.\n */\n get?(this: This): Value;\n\n /**\n * An optional replacement setter function. If not provided, the existing setter function is used instead.\n */\n set?(this: This, value: Value): void;\n\n /**\n * An optional initializer mutator that is invoked when the underlying field initializer is evaluated.\n * @param value The incoming initializer value.\n * @returns The replacement initializer value.\n */\n init?(this: This, value: Value): Value;\n}\n\n/**\n * Context provided to a class field decorator.\n * @template This The type on which the class element will be defined. For a static class element, this will be\n * the type of the constructor. For a non-static class element, this will be the type of the instance.\n * @template Value The type of the decorated class field.\n */\ninterface ClassFieldDecoratorContext<\n This = unknown,\n Value = unknown,\n> {\n /** The kind of class element that was decorated. */\n readonly kind: "field";\n\n /** The name of the decorated class element. */\n readonly name: string | symbol;\n\n /** A value indicating whether the class element is a static (`true`) or instance (`false`) element. */\n readonly static: boolean;\n\n /** A value indicating whether the class element has a private name. */\n readonly private: boolean;\n\n /** An object that can be used to access the current value of the class element at runtime. */\n readonly access: {\n /**\n * Determines whether an object has a property with the same name as the decorated element.\n */\n has(object: This): boolean;\n\n /**\n * Gets the value of the field on the provided object.\n */\n get(object: This): Value;\n\n /**\n * Sets the value of the field on the provided object.\n */\n set(object: This, value: Value): void;\n };\n\n /**\n * Adds a callback to be invoked either before static initializers are run (when\n * decorating a `static` element), or before instance initializers are run (when\n * decorating a non-`static` element).\n */\n addInitializer(initializer: (this: This) => void): void;\n}\n',rT["lib.decorators.legacy.d.ts"]='/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n/// \n\ndeclare type ClassDecorator = (target: TFunction) => TFunction | void;\ndeclare type PropertyDecorator = (target: Object, propertyKey: string | symbol) => void;\ndeclare type MethodDecorator = (target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor | void;\ndeclare type ParameterDecorator = (target: Object, propertyKey: string | symbol, parameterIndex: number) => void;\n',rT["lib.dom.d.ts"]=`/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ + + +/// + +///////////////////////////// +/// Window APIs +///////////////////////////// + +interface AddEventListenerOptions extends EventListenerOptions { + once?: boolean; + passive?: boolean; + signal?: AbortSignal; +} + +interface AesCbcParams extends Algorithm { + iv: BufferSource; +} + +interface AesCtrParams extends Algorithm { + counter: BufferSource; + length: number; +} + +interface AesDerivedKeyParams extends Algorithm { + length: number; +} + +interface AesGcmParams extends Algorithm { + additionalData?: BufferSource; + iv: BufferSource; + tagLength?: number; +} + +interface AesKeyAlgorithm extends KeyAlgorithm { + length: number; +} + +interface AesKeyGenParams extends Algorithm { + length: number; +} + +interface Algorithm { + name: string; +} + +interface AnalyserOptions extends AudioNodeOptions { + fftSize?: number; + maxDecibels?: number; + minDecibels?: number; + smoothingTimeConstant?: number; +} + +interface AnimationEventInit extends EventInit { + animationName?: string; + elapsedTime?: number; + pseudoElement?: string; +} + +interface AnimationPlaybackEventInit extends EventInit { + currentTime?: CSSNumberish | null; + timelineTime?: CSSNumberish | null; +} + +interface AssignedNodesOptions { + flatten?: boolean; +} + +interface AudioBufferOptions { + length: number; + numberOfChannels?: number; + sampleRate: number; +} + +interface AudioBufferSourceOptions { + buffer?: AudioBuffer | null; + detune?: number; + loop?: boolean; + loopEnd?: number; + loopStart?: number; + playbackRate?: number; +} + +interface AudioConfiguration { + bitrate?: number; + channels?: string; + contentType: string; + samplerate?: number; + spatialRendering?: boolean; +} + +interface AudioContextOptions { + latencyHint?: AudioContextLatencyCategory | number; + sampleRate?: number; +} + +interface AudioNodeOptions { + channelCount?: number; + channelCountMode?: ChannelCountMode; + channelInterpretation?: ChannelInterpretation; +} + +interface AudioProcessingEventInit extends EventInit { + inputBuffer: AudioBuffer; + outputBuffer: AudioBuffer; + playbackTime: number; +} + +interface AudioTimestamp { + contextTime?: number; + performanceTime?: DOMHighResTimeStamp; +} + +interface AudioWorkletNodeOptions extends AudioNodeOptions { + numberOfInputs?: number; + numberOfOutputs?: number; + outputChannelCount?: number[]; + parameterData?: Record; + processorOptions?: any; +} + +interface AuthenticationExtensionsClientInputs { + appid?: string; + credProps?: boolean; + hmacCreateSecret?: boolean; +} + +interface AuthenticationExtensionsClientOutputs { + appid?: boolean; + credProps?: CredentialPropertiesOutput; + hmacCreateSecret?: boolean; +} + +interface AuthenticatorSelectionCriteria { + authenticatorAttachment?: AuthenticatorAttachment; + requireResidentKey?: boolean; + residentKey?: ResidentKeyRequirement; + userVerification?: UserVerificationRequirement; +} + +interface BiquadFilterOptions extends AudioNodeOptions { + Q?: number; + detune?: number; + frequency?: number; + gain?: number; + type?: BiquadFilterType; +} + +interface BlobEventInit { + data: Blob; + timecode?: DOMHighResTimeStamp; +} + +interface BlobPropertyBag { + endings?: EndingType; + type?: string; +} + +interface CSSStyleSheetInit { + baseURL?: string; + disabled?: boolean; + media?: MediaList | string; +} + +interface CacheQueryOptions { + ignoreMethod?: boolean; + ignoreSearch?: boolean; + ignoreVary?: boolean; +} + +interface CanvasRenderingContext2DSettings { + alpha?: boolean; + colorSpace?: PredefinedColorSpace; + desynchronized?: boolean; + willReadFrequently?: boolean; +} + +interface ChannelMergerOptions extends AudioNodeOptions { + numberOfInputs?: number; +} + +interface ChannelSplitterOptions extends AudioNodeOptions { + numberOfOutputs?: number; +} + +interface CheckVisibilityOptions { + checkOpacity?: boolean; + checkVisibilityCSS?: boolean; +} + +interface ClientQueryOptions { + includeUncontrolled?: boolean; + type?: ClientTypes; +} + +interface ClipboardEventInit extends EventInit { + clipboardData?: DataTransfer | null; +} + +interface ClipboardItemOptions { + presentationStyle?: PresentationStyle; +} + +interface CloseEventInit extends EventInit { + code?: number; + reason?: string; + wasClean?: boolean; +} + +interface CompositionEventInit extends UIEventInit { + data?: string; +} + +interface ComputedEffectTiming extends EffectTiming { + activeDuration?: CSSNumberish; + currentIteration?: number | null; + endTime?: CSSNumberish; + localTime?: CSSNumberish | null; + progress?: number | null; + startTime?: CSSNumberish; +} + +interface ComputedKeyframe { + composite: CompositeOperationOrAuto; + computedOffset: number; + easing: string; + offset: number | null; + [property: string]: string | number | null | undefined; +} + +interface ConstantSourceOptions { + offset?: number; +} + +interface ConstrainBooleanParameters { + exact?: boolean; + ideal?: boolean; +} + +interface ConstrainDOMStringParameters { + exact?: string | string[]; + ideal?: string | string[]; +} + +interface ConstrainDoubleRange extends DoubleRange { + exact?: number; + ideal?: number; +} + +interface ConstrainULongRange extends ULongRange { + exact?: number; + ideal?: number; +} + +interface ConvolverOptions extends AudioNodeOptions { + buffer?: AudioBuffer | null; + disableNormalization?: boolean; +} + +interface CredentialCreationOptions { + publicKey?: PublicKeyCredentialCreationOptions; + signal?: AbortSignal; +} + +interface CredentialPropertiesOutput { + rk?: boolean; +} + +interface CredentialRequestOptions { + mediation?: CredentialMediationRequirement; + publicKey?: PublicKeyCredentialRequestOptions; + signal?: AbortSignal; +} + +interface CryptoKeyPair { + privateKey: CryptoKey; + publicKey: CryptoKey; +} + +interface CustomEventInit extends EventInit { + detail?: T; +} + +interface DOMMatrix2DInit { + a?: number; + b?: number; + c?: number; + d?: number; + e?: number; + f?: number; + m11?: number; + m12?: number; + m21?: number; + m22?: number; + m41?: number; + m42?: number; +} + +interface DOMMatrixInit extends DOMMatrix2DInit { + is2D?: boolean; + m13?: number; + m14?: number; + m23?: number; + m24?: number; + m31?: number; + m32?: number; + m33?: number; + m34?: number; + m43?: number; + m44?: number; +} + +interface DOMPointInit { + w?: number; + x?: number; + y?: number; + z?: number; +} + +interface DOMQuadInit { + p1?: DOMPointInit; + p2?: DOMPointInit; + p3?: DOMPointInit; + p4?: DOMPointInit; +} + +interface DOMRectInit { + height?: number; + width?: number; + x?: number; + y?: number; +} + +interface DelayOptions extends AudioNodeOptions { + delayTime?: number; + maxDelayTime?: number; +} + +interface DeviceMotionEventAccelerationInit { + x?: number | null; + y?: number | null; + z?: number | null; +} + +interface DeviceMotionEventInit extends EventInit { + acceleration?: DeviceMotionEventAccelerationInit; + accelerationIncludingGravity?: DeviceMotionEventAccelerationInit; + interval?: number; + rotationRate?: DeviceMotionEventRotationRateInit; +} + +interface DeviceMotionEventRotationRateInit { + alpha?: number | null; + beta?: number | null; + gamma?: number | null; +} + +interface DeviceOrientationEventInit extends EventInit { + absolute?: boolean; + alpha?: number | null; + beta?: number | null; + gamma?: number | null; +} + +interface DisplayMediaStreamOptions { + audio?: boolean | MediaTrackConstraints; + video?: boolean | MediaTrackConstraints; +} + +interface DocumentTimelineOptions { + originTime?: DOMHighResTimeStamp; +} + +interface DoubleRange { + max?: number; + min?: number; +} + +interface DragEventInit extends MouseEventInit { + dataTransfer?: DataTransfer | null; +} + +interface DynamicsCompressorOptions extends AudioNodeOptions { + attack?: number; + knee?: number; + ratio?: number; + release?: number; + threshold?: number; +} + +interface EcKeyAlgorithm extends KeyAlgorithm { + namedCurve: NamedCurve; +} + +interface EcKeyGenParams extends Algorithm { + namedCurve: NamedCurve; +} + +interface EcKeyImportParams extends Algorithm { + namedCurve: NamedCurve; +} + +interface EcdhKeyDeriveParams extends Algorithm { + public: CryptoKey; +} + +interface EcdsaParams extends Algorithm { + hash: HashAlgorithmIdentifier; +} + +interface EffectTiming { + delay?: number; + direction?: PlaybackDirection; + duration?: number | string; + easing?: string; + endDelay?: number; + fill?: FillMode; + iterationStart?: number; + iterations?: number; + playbackRate?: number; +} + +interface ElementCreationOptions { + is?: string; +} + +interface ElementDefinitionOptions { + extends?: string; +} + +interface ErrorEventInit extends EventInit { + colno?: number; + error?: any; + filename?: string; + lineno?: number; + message?: string; +} + +interface EventInit { + bubbles?: boolean; + cancelable?: boolean; + composed?: boolean; +} + +interface EventListenerOptions { + capture?: boolean; +} + +interface EventModifierInit extends UIEventInit { + altKey?: boolean; + ctrlKey?: boolean; + metaKey?: boolean; + modifierAltGraph?: boolean; + modifierCapsLock?: boolean; + modifierFn?: boolean; + modifierFnLock?: boolean; + modifierHyper?: boolean; + modifierNumLock?: boolean; + modifierScrollLock?: boolean; + modifierSuper?: boolean; + modifierSymbol?: boolean; + modifierSymbolLock?: boolean; + shiftKey?: boolean; +} + +interface EventSourceInit { + withCredentials?: boolean; +} + +interface FilePropertyBag extends BlobPropertyBag { + lastModified?: number; +} + +interface FileSystemFlags { + create?: boolean; + exclusive?: boolean; +} + +interface FileSystemGetDirectoryOptions { + create?: boolean; +} + +interface FileSystemGetFileOptions { + create?: boolean; +} + +interface FileSystemRemoveOptions { + recursive?: boolean; +} + +interface FocusEventInit extends UIEventInit { + relatedTarget?: EventTarget | null; +} + +interface FocusOptions { + preventScroll?: boolean; +} + +interface FontFaceDescriptors { + ascentOverride?: string; + descentOverride?: string; + display?: FontDisplay; + featureSettings?: string; + lineGapOverride?: string; + stretch?: string; + style?: string; + unicodeRange?: string; + variant?: string; + weight?: string; +} + +interface FontFaceSetLoadEventInit extends EventInit { + fontfaces?: FontFace[]; +} + +interface FormDataEventInit extends EventInit { + formData: FormData; +} + +interface FullscreenOptions { + navigationUI?: FullscreenNavigationUI; +} + +interface GainOptions extends AudioNodeOptions { + gain?: number; +} + +interface GamepadEventInit extends EventInit { + gamepad: Gamepad; +} + +interface GetAnimationsOptions { + subtree?: boolean; +} + +interface GetNotificationOptions { + tag?: string; +} + +interface GetRootNodeOptions { + composed?: boolean; +} + +interface HashChangeEventInit extends EventInit { + newURL?: string; + oldURL?: string; +} + +interface HkdfParams extends Algorithm { + hash: HashAlgorithmIdentifier; + info: BufferSource; + salt: BufferSource; +} + +interface HmacImportParams extends Algorithm { + hash: HashAlgorithmIdentifier; + length?: number; +} + +interface HmacKeyAlgorithm extends KeyAlgorithm { + hash: KeyAlgorithm; + length: number; +} + +interface HmacKeyGenParams extends Algorithm { + hash: HashAlgorithmIdentifier; + length?: number; +} + +interface IDBDatabaseInfo { + name?: string; + version?: number; +} + +interface IDBIndexParameters { + multiEntry?: boolean; + unique?: boolean; +} + +interface IDBObjectStoreParameters { + autoIncrement?: boolean; + keyPath?: string | string[] | null; +} + +interface IDBTransactionOptions { + durability?: IDBTransactionDurability; +} + +interface IDBVersionChangeEventInit extends EventInit { + newVersion?: number | null; + oldVersion?: number; +} + +interface IIRFilterOptions extends AudioNodeOptions { + feedback: number[]; + feedforward: number[]; +} + +interface IdleRequestOptions { + timeout?: number; +} + +interface ImageBitmapOptions { + colorSpaceConversion?: ColorSpaceConversion; + imageOrientation?: ImageOrientation; + premultiplyAlpha?: PremultiplyAlpha; + resizeHeight?: number; + resizeQuality?: ResizeQuality; + resizeWidth?: number; +} + +interface ImageBitmapRenderingContextSettings { + alpha?: boolean; +} + +interface ImageDataSettings { + colorSpace?: PredefinedColorSpace; +} + +interface ImageEncodeOptions { + quality?: number; + type?: string; +} + +interface ImportMeta { + url: string; +} + +interface InputEventInit extends UIEventInit { + data?: string | null; + dataTransfer?: DataTransfer | null; + inputType?: string; + isComposing?: boolean; + targetRanges?: StaticRange[]; +} + +interface IntersectionObserverEntryInit { + boundingClientRect: DOMRectInit; + intersectionRatio: number; + intersectionRect: DOMRectInit; + isIntersecting: boolean; + rootBounds: DOMRectInit | null; + target: Element; + time: DOMHighResTimeStamp; +} + +interface IntersectionObserverInit { + root?: Element | Document | null; + rootMargin?: string; + threshold?: number | number[]; +} + +interface JsonWebKey { + alg?: string; + crv?: string; + d?: string; + dp?: string; + dq?: string; + e?: string; + ext?: boolean; + k?: string; + key_ops?: string[]; + kty?: string; + n?: string; + oth?: RsaOtherPrimesInfo[]; + p?: string; + q?: string; + qi?: string; + use?: string; + x?: string; + y?: string; +} + +interface KeyAlgorithm { + name: string; +} + +interface KeyboardEventInit extends EventModifierInit { + /** @deprecated */ + charCode?: number; + code?: string; + isComposing?: boolean; + key?: string; + /** @deprecated */ + keyCode?: number; + location?: number; + repeat?: boolean; +} + +interface Keyframe { + composite?: CompositeOperationOrAuto; + easing?: string; + offset?: number | null; + [property: string]: string | number | null | undefined; +} + +interface KeyframeAnimationOptions extends KeyframeEffectOptions { + id?: string; +} + +interface KeyframeEffectOptions extends EffectTiming { + composite?: CompositeOperation; + iterationComposite?: IterationCompositeOperation; + pseudoElement?: string | null; +} + +interface LockInfo { + clientId?: string; + mode?: LockMode; + name?: string; +} + +interface LockManagerSnapshot { + held?: LockInfo[]; + pending?: LockInfo[]; +} + +interface LockOptions { + ifAvailable?: boolean; + mode?: LockMode; + signal?: AbortSignal; + steal?: boolean; +} + +interface MIDIConnectionEventInit extends EventInit { + port?: MIDIPort; +} + +interface MIDIMessageEventInit extends EventInit { + data?: Uint8Array; +} + +interface MIDIOptions { + software?: boolean; + sysex?: boolean; +} + +interface MediaCapabilitiesDecodingInfo extends MediaCapabilitiesInfo { + configuration?: MediaDecodingConfiguration; +} + +interface MediaCapabilitiesEncodingInfo extends MediaCapabilitiesInfo { + configuration?: MediaEncodingConfiguration; +} + +interface MediaCapabilitiesInfo { + powerEfficient: boolean; + smooth: boolean; + supported: boolean; +} + +interface MediaConfiguration { + audio?: AudioConfiguration; + video?: VideoConfiguration; +} + +interface MediaDecodingConfiguration extends MediaConfiguration { + type: MediaDecodingType; +} + +interface MediaElementAudioSourceOptions { + mediaElement: HTMLMediaElement; +} + +interface MediaEncodingConfiguration extends MediaConfiguration { + type: MediaEncodingType; +} + +interface MediaEncryptedEventInit extends EventInit { + initData?: ArrayBuffer | null; + initDataType?: string; +} + +interface MediaImage { + sizes?: string; + src: string; + type?: string; +} + +interface MediaKeyMessageEventInit extends EventInit { + message: ArrayBuffer; + messageType: MediaKeyMessageType; +} + +interface MediaKeySystemConfiguration { + audioCapabilities?: MediaKeySystemMediaCapability[]; + distinctiveIdentifier?: MediaKeysRequirement; + initDataTypes?: string[]; + label?: string; + persistentState?: MediaKeysRequirement; + sessionTypes?: string[]; + videoCapabilities?: MediaKeySystemMediaCapability[]; +} + +interface MediaKeySystemMediaCapability { + contentType?: string; + encryptionScheme?: string | null; + robustness?: string; +} + +interface MediaMetadataInit { + album?: string; + artist?: string; + artwork?: MediaImage[]; + title?: string; +} + +interface MediaPositionState { + duration?: number; + playbackRate?: number; + position?: number; +} + +interface MediaQueryListEventInit extends EventInit { + matches?: boolean; + media?: string; +} + +interface MediaRecorderOptions { + audioBitsPerSecond?: number; + bitsPerSecond?: number; + mimeType?: string; + videoBitsPerSecond?: number; +} + +interface MediaSessionActionDetails { + action: MediaSessionAction; + fastSeek?: boolean; + seekOffset?: number; + seekTime?: number; +} + +interface MediaStreamAudioSourceOptions { + mediaStream: MediaStream; +} + +interface MediaStreamConstraints { + audio?: boolean | MediaTrackConstraints; + peerIdentity?: string; + preferCurrentTab?: boolean; + video?: boolean | MediaTrackConstraints; +} + +interface MediaStreamTrackEventInit extends EventInit { + track: MediaStreamTrack; +} + +interface MediaTrackCapabilities { + aspectRatio?: DoubleRange; + autoGainControl?: boolean[]; + channelCount?: ULongRange; + deviceId?: string; + displaySurface?: string; + echoCancellation?: boolean[]; + facingMode?: string[]; + frameRate?: DoubleRange; + groupId?: string; + height?: ULongRange; + noiseSuppression?: boolean[]; + sampleRate?: ULongRange; + sampleSize?: ULongRange; + width?: ULongRange; +} + +interface MediaTrackConstraintSet { + aspectRatio?: ConstrainDouble; + autoGainControl?: ConstrainBoolean; + channelCount?: ConstrainULong; + deviceId?: ConstrainDOMString; + displaySurface?: ConstrainDOMString; + echoCancellation?: ConstrainBoolean; + facingMode?: ConstrainDOMString; + frameRate?: ConstrainDouble; + groupId?: ConstrainDOMString; + height?: ConstrainULong; + noiseSuppression?: ConstrainBoolean; + sampleRate?: ConstrainULong; + sampleSize?: ConstrainULong; + width?: ConstrainULong; +} + +interface MediaTrackConstraints extends MediaTrackConstraintSet { + advanced?: MediaTrackConstraintSet[]; +} + +interface MediaTrackSettings { + aspectRatio?: number; + autoGainControl?: boolean; + channelCount?: number; + deviceId?: string; + displaySurface?: string; + echoCancellation?: boolean; + facingMode?: string; + frameRate?: number; + groupId?: string; + height?: number; + noiseSuppression?: boolean; + sampleRate?: number; + sampleSize?: number; + width?: number; +} + +interface MediaTrackSupportedConstraints { + aspectRatio?: boolean; + autoGainControl?: boolean; + channelCount?: boolean; + deviceId?: boolean; + displaySurface?: boolean; + echoCancellation?: boolean; + facingMode?: boolean; + frameRate?: boolean; + groupId?: boolean; + height?: boolean; + noiseSuppression?: boolean; + sampleRate?: boolean; + sampleSize?: boolean; + width?: boolean; +} + +interface MessageEventInit extends EventInit { + data?: T; + lastEventId?: string; + origin?: string; + ports?: MessagePort[]; + source?: MessageEventSource | null; +} + +interface MouseEventInit extends EventModifierInit { + button?: number; + buttons?: number; + clientX?: number; + clientY?: number; + movementX?: number; + movementY?: number; + relatedTarget?: EventTarget | null; + screenX?: number; + screenY?: number; +} + +interface MultiCacheQueryOptions extends CacheQueryOptions { + cacheName?: string; +} + +interface MutationObserverInit { + /** Set to a list of attribute local names (without namespace) if not all attribute mutations need to be observed and attributes is true or omitted. */ + attributeFilter?: string[]; + /** Set to true if attributes is true or omitted and target's attribute value before the mutation needs to be recorded. */ + attributeOldValue?: boolean; + /** Set to true if mutations to target's attributes are to be observed. Can be omitted if attributeOldValue or attributeFilter is specified. */ + attributes?: boolean; + /** Set to true if mutations to target's data are to be observed. Can be omitted if characterDataOldValue is specified. */ + characterData?: boolean; + /** Set to true if characterData is set to true or omitted and target's data before the mutation needs to be recorded. */ + characterDataOldValue?: boolean; + /** Set to true if mutations to target's children are to be observed. */ + childList?: boolean; + /** Set to true if mutations to not just target, but also target's descendants are to be observed. */ + subtree?: boolean; +} + +interface NavigationPreloadState { + enabled?: boolean; + headerValue?: string; +} + +interface NotificationAction { + action: string; + icon?: string; + title: string; +} + +interface NotificationOptions { + actions?: NotificationAction[]; + badge?: string; + body?: string; + data?: any; + dir?: NotificationDirection; + icon?: string; + image?: string; + lang?: string; + renotify?: boolean; + requireInteraction?: boolean; + silent?: boolean; + tag?: string; + timestamp?: EpochTimeStamp; + vibrate?: VibratePattern; +} + +interface OfflineAudioCompletionEventInit extends EventInit { + renderedBuffer: AudioBuffer; +} + +interface OfflineAudioContextOptions { + length: number; + numberOfChannels?: number; + sampleRate: number; +} + +interface OptionalEffectTiming { + delay?: number; + direction?: PlaybackDirection; + duration?: number | string; + easing?: string; + endDelay?: number; + fill?: FillMode; + iterationStart?: number; + iterations?: number; + playbackRate?: number; +} + +interface OscillatorOptions extends AudioNodeOptions { + detune?: number; + frequency?: number; + periodicWave?: PeriodicWave; + type?: OscillatorType; +} + +interface PageTransitionEventInit extends EventInit { + persisted?: boolean; +} + +interface PannerOptions extends AudioNodeOptions { + coneInnerAngle?: number; + coneOuterAngle?: number; + coneOuterGain?: number; + distanceModel?: DistanceModelType; + maxDistance?: number; + orientationX?: number; + orientationY?: number; + orientationZ?: number; + panningModel?: PanningModelType; + positionX?: number; + positionY?: number; + positionZ?: number; + refDistance?: number; + rolloffFactor?: number; +} + +interface PaymentCurrencyAmount { + currency: string; + value: string; +} + +interface PaymentDetailsBase { + displayItems?: PaymentItem[]; + modifiers?: PaymentDetailsModifier[]; +} + +interface PaymentDetailsInit extends PaymentDetailsBase { + id?: string; + total: PaymentItem; +} + +interface PaymentDetailsModifier { + additionalDisplayItems?: PaymentItem[]; + data?: any; + supportedMethods: string; + total?: PaymentItem; +} + +interface PaymentDetailsUpdate extends PaymentDetailsBase { + paymentMethodErrors?: any; + total?: PaymentItem; +} + +interface PaymentItem { + amount: PaymentCurrencyAmount; + label: string; + pending?: boolean; +} + +interface PaymentMethodChangeEventInit extends PaymentRequestUpdateEventInit { + methodDetails?: any; + methodName?: string; +} + +interface PaymentMethodData { + data?: any; + supportedMethods: string; +} + +interface PaymentRequestUpdateEventInit extends EventInit { +} + +interface PaymentValidationErrors { + error?: string; + paymentMethod?: any; +} + +interface Pbkdf2Params extends Algorithm { + hash: HashAlgorithmIdentifier; + iterations: number; + salt: BufferSource; +} + +interface PerformanceMarkOptions { + detail?: any; + startTime?: DOMHighResTimeStamp; +} + +interface PerformanceMeasureOptions { + detail?: any; + duration?: DOMHighResTimeStamp; + end?: string | DOMHighResTimeStamp; + start?: string | DOMHighResTimeStamp; +} + +interface PerformanceObserverInit { + buffered?: boolean; + entryTypes?: string[]; + type?: string; +} + +interface PeriodicWaveConstraints { + disableNormalization?: boolean; +} + +interface PeriodicWaveOptions extends PeriodicWaveConstraints { + imag?: number[] | Float32Array; + real?: number[] | Float32Array; +} + +interface PermissionDescriptor { + name: PermissionName; +} + +interface PictureInPictureEventInit extends EventInit { + pictureInPictureWindow: PictureInPictureWindow; +} + +interface PointerEventInit extends MouseEventInit { + coalescedEvents?: PointerEvent[]; + height?: number; + isPrimary?: boolean; + pointerId?: number; + pointerType?: string; + predictedEvents?: PointerEvent[]; + pressure?: number; + tangentialPressure?: number; + tiltX?: number; + tiltY?: number; + twist?: number; + width?: number; +} + +interface PopStateEventInit extends EventInit { + state?: any; +} + +interface PositionOptions { + enableHighAccuracy?: boolean; + maximumAge?: number; + timeout?: number; +} + +interface ProgressEventInit extends EventInit { + lengthComputable?: boolean; + loaded?: number; + total?: number; +} + +interface PromiseRejectionEventInit extends EventInit { + promise: Promise; + reason?: any; +} + +interface PropertyIndexedKeyframes { + composite?: CompositeOperationOrAuto | CompositeOperationOrAuto[]; + easing?: string | string[]; + offset?: number | (number | null)[]; + [property: string]: string | string[] | number | null | (number | null)[] | undefined; +} + +interface PublicKeyCredentialCreationOptions { + attestation?: AttestationConveyancePreference; + authenticatorSelection?: AuthenticatorSelectionCriteria; + challenge: BufferSource; + excludeCredentials?: PublicKeyCredentialDescriptor[]; + extensions?: AuthenticationExtensionsClientInputs; + pubKeyCredParams: PublicKeyCredentialParameters[]; + rp: PublicKeyCredentialRpEntity; + timeout?: number; + user: PublicKeyCredentialUserEntity; +} + +interface PublicKeyCredentialDescriptor { + id: BufferSource; + transports?: AuthenticatorTransport[]; + type: PublicKeyCredentialType; +} + +interface PublicKeyCredentialEntity { + name: string; +} + +interface PublicKeyCredentialParameters { + alg: COSEAlgorithmIdentifier; + type: PublicKeyCredentialType; +} + +interface PublicKeyCredentialRequestOptions { + allowCredentials?: PublicKeyCredentialDescriptor[]; + challenge: BufferSource; + extensions?: AuthenticationExtensionsClientInputs; + rpId?: string; + timeout?: number; + userVerification?: UserVerificationRequirement; +} + +interface PublicKeyCredentialRpEntity extends PublicKeyCredentialEntity { + id?: string; +} + +interface PublicKeyCredentialUserEntity extends PublicKeyCredentialEntity { + displayName: string; + id: BufferSource; +} + +interface PushSubscriptionJSON { + endpoint?: string; + expirationTime?: EpochTimeStamp | null; + keys?: Record; +} + +interface PushSubscriptionOptionsInit { + applicationServerKey?: BufferSource | string | null; + userVisibleOnly?: boolean; +} + +interface QueuingStrategy { + highWaterMark?: number; + size?: QueuingStrategySize; +} + +interface QueuingStrategyInit { + /** + * Creates a new ByteLengthQueuingStrategy with the provided high water mark. + * + * Note that the provided high water mark will not be validated ahead of time. Instead, if it is negative, NaN, or not a number, the resulting ByteLengthQueuingStrategy will cause the corresponding stream constructor to throw. + */ + highWaterMark: number; +} + +interface RTCAnswerOptions extends RTCOfferAnswerOptions { +} + +interface RTCCertificateExpiration { + expires?: number; +} + +interface RTCConfiguration { + bundlePolicy?: RTCBundlePolicy; + certificates?: RTCCertificate[]; + iceCandidatePoolSize?: number; + iceServers?: RTCIceServer[]; + iceTransportPolicy?: RTCIceTransportPolicy; + rtcpMuxPolicy?: RTCRtcpMuxPolicy; +} + +interface RTCDTMFToneChangeEventInit extends EventInit { + tone?: string; +} + +interface RTCDataChannelEventInit extends EventInit { + channel: RTCDataChannel; +} + +interface RTCDataChannelInit { + id?: number; + maxPacketLifeTime?: number; + maxRetransmits?: number; + negotiated?: boolean; + ordered?: boolean; + protocol?: string; +} + +interface RTCDtlsFingerprint { + algorithm?: string; + value?: string; +} + +interface RTCEncodedAudioFrameMetadata { + contributingSources?: number[]; + synchronizationSource?: number; +} + +interface RTCEncodedVideoFrameMetadata { + contributingSources?: number[]; + dependencies?: number[]; + frameId?: number; + height?: number; + spatialIndex?: number; + synchronizationSource?: number; + temporalIndex?: number; + width?: number; +} + +interface RTCErrorEventInit extends EventInit { + error: RTCError; +} + +interface RTCErrorInit { + errorDetail: RTCErrorDetailType; + httpRequestStatusCode?: number; + receivedAlert?: number; + sctpCauseCode?: number; + sdpLineNumber?: number; + sentAlert?: number; +} + +interface RTCIceCandidateInit { + candidate?: string; + sdpMLineIndex?: number | null; + sdpMid?: string | null; + usernameFragment?: string | null; +} + +interface RTCIceCandidatePairStats extends RTCStats { + availableIncomingBitrate?: number; + availableOutgoingBitrate?: number; + bytesReceived?: number; + bytesSent?: number; + currentRoundTripTime?: number; + lastPacketReceivedTimestamp?: DOMHighResTimeStamp; + lastPacketSentTimestamp?: DOMHighResTimeStamp; + localCandidateId: string; + nominated?: boolean; + remoteCandidateId: string; + requestsReceived?: number; + requestsSent?: number; + responsesReceived?: number; + responsesSent?: number; + state: RTCStatsIceCandidatePairState; + totalRoundTripTime?: number; + transportId: string; +} + +interface RTCIceServer { + credential?: string; + urls: string | string[]; + username?: string; +} + +interface RTCInboundRtpStreamStats extends RTCReceivedRtpStreamStats { + audioLevel?: number; + bytesReceived?: number; + concealedSamples?: number; + concealmentEvents?: number; + decoderImplementation?: string; + estimatedPlayoutTimestamp?: DOMHighResTimeStamp; + fecPacketsDiscarded?: number; + fecPacketsReceived?: number; + firCount?: number; + frameHeight?: number; + frameWidth?: number; + framesDecoded?: number; + framesDropped?: number; + framesPerSecond?: number; + framesReceived?: number; + headerBytesReceived?: number; + insertedSamplesForDeceleration?: number; + jitterBufferDelay?: number; + jitterBufferEmittedCount?: number; + keyFramesDecoded?: number; + kind: string; + lastPacketReceivedTimestamp?: DOMHighResTimeStamp; + nackCount?: number; + packetsDiscarded?: number; + pliCount?: number; + qpSum?: number; + remoteId?: string; + removedSamplesForAcceleration?: number; + silentConcealedSamples?: number; + totalAudioEnergy?: number; + totalDecodeTime?: number; + totalInterFrameDelay?: number; + totalProcessingDelay?: number; + totalSamplesDuration?: number; + totalSamplesReceived?: number; + totalSquaredInterFrameDelay?: number; +} + +interface RTCLocalSessionDescriptionInit { + sdp?: string; + type?: RTCSdpType; +} + +interface RTCOfferAnswerOptions { +} + +interface RTCOfferOptions extends RTCOfferAnswerOptions { + iceRestart?: boolean; + offerToReceiveAudio?: boolean; + offerToReceiveVideo?: boolean; +} + +interface RTCOutboundRtpStreamStats extends RTCSentRtpStreamStats { + firCount?: number; + frameHeight?: number; + frameWidth?: number; + framesEncoded?: number; + framesPerSecond?: number; + framesSent?: number; + headerBytesSent?: number; + hugeFramesSent?: number; + keyFramesEncoded?: number; + mediaSourceId?: string; + nackCount?: number; + pliCount?: number; + qpSum?: number; + qualityLimitationResolutionChanges?: number; + remoteId?: string; + retransmittedBytesSent?: number; + retransmittedPacketsSent?: number; + rid?: string; + targetBitrate?: number; + totalEncodeTime?: number; + totalEncodedBytesTarget?: number; + totalPacketSendDelay?: number; +} + +interface RTCPeerConnectionIceErrorEventInit extends EventInit { + address?: string | null; + errorCode: number; + errorText?: string; + port?: number | null; + url?: string; +} + +interface RTCPeerConnectionIceEventInit extends EventInit { + candidate?: RTCIceCandidate | null; + url?: string | null; +} + +interface RTCReceivedRtpStreamStats extends RTCRtpStreamStats { + jitter?: number; + packetsLost?: number; + packetsReceived?: number; +} + +interface RTCRtcpParameters { + cname?: string; + reducedSize?: boolean; +} + +interface RTCRtpCapabilities { + codecs: RTCRtpCodecCapability[]; + headerExtensions: RTCRtpHeaderExtensionCapability[]; +} + +interface RTCRtpCodecCapability { + channels?: number; + clockRate: number; + mimeType: string; + sdpFmtpLine?: string; +} + +interface RTCRtpCodecParameters { + channels?: number; + clockRate: number; + mimeType: string; + payloadType: number; + sdpFmtpLine?: string; +} + +interface RTCRtpCodingParameters { + rid?: string; +} + +interface RTCRtpContributingSource { + audioLevel?: number; + rtpTimestamp: number; + source: number; + timestamp: DOMHighResTimeStamp; +} + +interface RTCRtpEncodingParameters extends RTCRtpCodingParameters { + active?: boolean; + maxBitrate?: number; + maxFramerate?: number; + networkPriority?: RTCPriorityType; + priority?: RTCPriorityType; + scaleResolutionDownBy?: number; +} + +interface RTCRtpHeaderExtensionCapability { + uri?: string; +} + +interface RTCRtpHeaderExtensionParameters { + encrypted?: boolean; + id: number; + uri: string; +} + +interface RTCRtpParameters { + codecs: RTCRtpCodecParameters[]; + headerExtensions: RTCRtpHeaderExtensionParameters[]; + rtcp: RTCRtcpParameters; +} + +interface RTCRtpReceiveParameters extends RTCRtpParameters { +} + +interface RTCRtpSendParameters extends RTCRtpParameters { + degradationPreference?: RTCDegradationPreference; + encodings: RTCRtpEncodingParameters[]; + transactionId: string; +} + +interface RTCRtpStreamStats extends RTCStats { + codecId?: string; + kind: string; + ssrc: number; + transportId?: string; +} + +interface RTCRtpSynchronizationSource extends RTCRtpContributingSource { +} + +interface RTCRtpTransceiverInit { + direction?: RTCRtpTransceiverDirection; + sendEncodings?: RTCRtpEncodingParameters[]; + streams?: MediaStream[]; +} + +interface RTCSentRtpStreamStats extends RTCRtpStreamStats { + bytesSent?: number; + packetsSent?: number; +} + +interface RTCSessionDescriptionInit { + sdp?: string; + type: RTCSdpType; +} + +interface RTCStats { + id: string; + timestamp: DOMHighResTimeStamp; + type: RTCStatsType; +} + +interface RTCTrackEventInit extends EventInit { + receiver: RTCRtpReceiver; + streams?: MediaStream[]; + track: MediaStreamTrack; + transceiver: RTCRtpTransceiver; +} + +interface RTCTransportStats extends RTCStats { + bytesReceived?: number; + bytesSent?: number; + dtlsCipher?: string; + dtlsState: RTCDtlsTransportState; + localCertificateId?: string; + remoteCertificateId?: string; + selectedCandidatePairId?: string; + srtpCipher?: string; + tlsVersion?: string; +} + +interface ReadableStreamGetReaderOptions { + /** + * Creates a ReadableStreamBYOBReader and locks the stream to the new reader. + * + * This call behaves the same way as the no-argument variant, except that it only works on readable byte streams, i.e. streams which were constructed specifically with the ability to handle "bring your own buffer" reading. The returned BYOB reader provides the ability to directly read individual chunks from the stream via its read() method, into developer-supplied buffers, allowing more precise control over allocation. + */ + mode?: ReadableStreamReaderMode; +} + +interface ReadableStreamReadDoneResult { + done: true; + value?: T; +} + +interface ReadableStreamReadValueResult { + done: false; + value: T; +} + +interface ReadableWritablePair { + readable: ReadableStream; + /** + * Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use. + * + * Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader. + */ + writable: WritableStream; +} + +interface RegistrationOptions { + scope?: string; + type?: WorkerType; + updateViaCache?: ServiceWorkerUpdateViaCache; +} + +interface RequestInit { + /** A BodyInit object or null to set request's body. */ + body?: BodyInit | null; + /** A string indicating how the request will interact with the browser's cache to set request's cache. */ + cache?: RequestCache; + /** A string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL. Sets request's credentials. */ + credentials?: RequestCredentials; + /** A Headers object, an object literal, or an array of two-item arrays to set request's headers. */ + headers?: HeadersInit; + /** A cryptographic hash of the resource to be fetched by request. Sets request's integrity. */ + integrity?: string; + /** A boolean to set request's keepalive. */ + keepalive?: boolean; + /** A string to set request's method. */ + method?: string; + /** A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request's mode. */ + mode?: RequestMode; + /** A string indicating whether request follows redirects, results in an error upon encountering a redirect, or returns the redirect (in an opaque fashion). Sets request's redirect. */ + redirect?: RequestRedirect; + /** A string whose value is a same-origin URL, "about:client", or the empty string, to set request's referrer. */ + referrer?: string; + /** A referrer policy to set request's referrerPolicy. */ + referrerPolicy?: ReferrerPolicy; + /** An AbortSignal to set request's signal. */ + signal?: AbortSignal | null; + /** Can only be null. Used to disassociate request from any Window. */ + window?: null; +} + +interface ResizeObserverOptions { + box?: ResizeObserverBoxOptions; +} + +interface ResponseInit { + headers?: HeadersInit; + status?: number; + statusText?: string; +} + +interface RsaHashedImportParams extends Algorithm { + hash: HashAlgorithmIdentifier; +} + +interface RsaHashedKeyAlgorithm extends RsaKeyAlgorithm { + hash: KeyAlgorithm; +} + +interface RsaHashedKeyGenParams extends RsaKeyGenParams { + hash: HashAlgorithmIdentifier; +} + +interface RsaKeyAlgorithm extends KeyAlgorithm { + modulusLength: number; + publicExponent: BigInteger; +} + +interface RsaKeyGenParams extends Algorithm { + modulusLength: number; + publicExponent: BigInteger; +} + +interface RsaOaepParams extends Algorithm { + label?: BufferSource; +} + +interface RsaOtherPrimesInfo { + d?: string; + r?: string; + t?: string; +} + +interface RsaPssParams extends Algorithm { + saltLength: number; +} + +interface SVGBoundingBoxOptions { + clipped?: boolean; + fill?: boolean; + markers?: boolean; + stroke?: boolean; +} + +interface ScrollIntoViewOptions extends ScrollOptions { + block?: ScrollLogicalPosition; + inline?: ScrollLogicalPosition; +} + +interface ScrollOptions { + behavior?: ScrollBehavior; +} + +interface ScrollToOptions extends ScrollOptions { + left?: number; + top?: number; +} + +interface SecurityPolicyViolationEventInit extends EventInit { + blockedURI?: string; + columnNumber?: number; + disposition: SecurityPolicyViolationEventDisposition; + documentURI: string; + effectiveDirective: string; + lineNumber?: number; + originalPolicy: string; + referrer?: string; + sample?: string; + sourceFile?: string; + statusCode: number; + violatedDirective: string; +} + +interface ShadowRootInit { + delegatesFocus?: boolean; + mode: ShadowRootMode; + slotAssignment?: SlotAssignmentMode; +} + +interface ShareData { + files?: File[]; + text?: string; + title?: string; + url?: string; +} + +interface SpeechSynthesisErrorEventInit extends SpeechSynthesisEventInit { + error: SpeechSynthesisErrorCode; +} + +interface SpeechSynthesisEventInit extends EventInit { + charIndex?: number; + charLength?: number; + elapsedTime?: number; + name?: string; + utterance: SpeechSynthesisUtterance; +} + +interface StaticRangeInit { + endContainer: Node; + endOffset: number; + startContainer: Node; + startOffset: number; +} + +interface StereoPannerOptions extends AudioNodeOptions { + pan?: number; +} + +interface StorageEstimate { + quota?: number; + usage?: number; +} + +interface StorageEventInit extends EventInit { + key?: string | null; + newValue?: string | null; + oldValue?: string | null; + storageArea?: Storage | null; + url?: string; +} + +interface StreamPipeOptions { + preventAbort?: boolean; + preventCancel?: boolean; + /** + * Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered. + * + * Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader. + * + * Errors and closures of the source and destination streams propagate as follows: + * + * An error in this source readable stream will abort destination, unless preventAbort is truthy. The returned promise will be rejected with the source's error, or with any error that occurs during aborting the destination. + * + * An error in destination will cancel this source readable stream, unless preventCancel is truthy. The returned promise will be rejected with the destination's error, or with any error that occurs during canceling the source. + * + * When this source readable stream closes, destination will be closed, unless preventClose is truthy. The returned promise will be fulfilled once this process completes, unless an error is encountered while closing the destination, in which case it will be rejected with that error. + * + * If destination starts out closed or closing, this source readable stream will be canceled, unless preventCancel is true. The returned promise will be rejected with an error indicating piping to a closed stream failed, or with any error that occurs during canceling the source. + * + * The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set. + */ + preventClose?: boolean; + signal?: AbortSignal; +} + +interface StructuredSerializeOptions { + transfer?: Transferable[]; +} + +interface SubmitEventInit extends EventInit { + submitter?: HTMLElement | null; +} + +interface TextDecodeOptions { + stream?: boolean; +} + +interface TextDecoderOptions { + fatal?: boolean; + ignoreBOM?: boolean; +} + +interface TextEncoderEncodeIntoResult { + read?: number; + written?: number; +} + +interface TouchEventInit extends EventModifierInit { + changedTouches?: Touch[]; + targetTouches?: Touch[]; + touches?: Touch[]; +} + +interface TouchInit { + altitudeAngle?: number; + azimuthAngle?: number; + clientX?: number; + clientY?: number; + force?: number; + identifier: number; + pageX?: number; + pageY?: number; + radiusX?: number; + radiusY?: number; + rotationAngle?: number; + screenX?: number; + screenY?: number; + target: EventTarget; + touchType?: TouchType; +} + +interface TrackEventInit extends EventInit { + track?: TextTrack | null; +} + +interface Transformer { + flush?: TransformerFlushCallback; + readableType?: undefined; + start?: TransformerStartCallback; + transform?: TransformerTransformCallback; + writableType?: undefined; +} + +interface TransitionEventInit extends EventInit { + elapsedTime?: number; + propertyName?: string; + pseudoElement?: string; +} + +interface UIEventInit extends EventInit { + detail?: number; + view?: Window | null; + /** @deprecated */ + which?: number; +} + +interface ULongRange { + max?: number; + min?: number; +} + +interface UnderlyingByteSource { + autoAllocateChunkSize?: number; + cancel?: UnderlyingSourceCancelCallback; + pull?: (controller: ReadableByteStreamController) => void | PromiseLike; + start?: (controller: ReadableByteStreamController) => any; + type: "bytes"; +} + +interface UnderlyingDefaultSource { + cancel?: UnderlyingSourceCancelCallback; + pull?: (controller: ReadableStreamDefaultController) => void | PromiseLike; + start?: (controller: ReadableStreamDefaultController) => any; + type?: undefined; +} + +interface UnderlyingSink { + abort?: UnderlyingSinkAbortCallback; + close?: UnderlyingSinkCloseCallback; + start?: UnderlyingSinkStartCallback; + type?: undefined; + write?: UnderlyingSinkWriteCallback; +} + +interface UnderlyingSource { + autoAllocateChunkSize?: number; + cancel?: UnderlyingSourceCancelCallback; + pull?: UnderlyingSourcePullCallback; + start?: UnderlyingSourceStartCallback; + type?: ReadableStreamType; +} + +interface ValidityStateFlags { + badInput?: boolean; + customError?: boolean; + patternMismatch?: boolean; + rangeOverflow?: boolean; + rangeUnderflow?: boolean; + stepMismatch?: boolean; + tooLong?: boolean; + tooShort?: boolean; + typeMismatch?: boolean; + valueMissing?: boolean; +} + +interface VideoColorSpaceInit { + fullRange?: boolean | null; + matrix?: VideoMatrixCoefficients | null; + primaries?: VideoColorPrimaries | null; + transfer?: VideoTransferCharacteristics | null; +} + +interface VideoConfiguration { + bitrate: number; + colorGamut?: ColorGamut; + contentType: string; + framerate: number; + hdrMetadataType?: HdrMetadataType; + height: number; + scalabilityMode?: string; + transferFunction?: TransferFunction; + width: number; +} + +interface VideoFrameCallbackMetadata { + captureTime?: DOMHighResTimeStamp; + expectedDisplayTime: DOMHighResTimeStamp; + height: number; + mediaTime: number; + presentationTime: DOMHighResTimeStamp; + presentedFrames: number; + processingDuration?: number; + receiveTime?: DOMHighResTimeStamp; + rtpTimestamp?: number; + width: number; +} + +interface WaveShaperOptions extends AudioNodeOptions { + curve?: number[] | Float32Array; + oversample?: OverSampleType; +} + +interface WebGLContextAttributes { + alpha?: boolean; + antialias?: boolean; + depth?: boolean; + desynchronized?: boolean; + failIfMajorPerformanceCaveat?: boolean; + powerPreference?: WebGLPowerPreference; + premultipliedAlpha?: boolean; + preserveDrawingBuffer?: boolean; + stencil?: boolean; +} + +interface WebGLContextEventInit extends EventInit { + statusMessage?: string; +} + +interface WheelEventInit extends MouseEventInit { + deltaMode?: number; + deltaX?: number; + deltaY?: number; + deltaZ?: number; +} + +interface WindowPostMessageOptions extends StructuredSerializeOptions { + targetOrigin?: string; +} + +interface WorkerOptions { + credentials?: RequestCredentials; + name?: string; + type?: WorkerType; +} + +interface WorkletOptions { + credentials?: RequestCredentials; +} + +type NodeFilter = ((node: Node) => number) | { acceptNode(node: Node): number; }; + +declare var NodeFilter: { + readonly FILTER_ACCEPT: 1; + readonly FILTER_REJECT: 2; + readonly FILTER_SKIP: 3; + readonly SHOW_ALL: 0xFFFFFFFF; + readonly SHOW_ELEMENT: 0x1; + readonly SHOW_ATTRIBUTE: 0x2; + readonly SHOW_TEXT: 0x4; + readonly SHOW_CDATA_SECTION: 0x8; + readonly SHOW_ENTITY_REFERENCE: 0x10; + readonly SHOW_ENTITY: 0x20; + readonly SHOW_PROCESSING_INSTRUCTION: 0x40; + readonly SHOW_COMMENT: 0x80; + readonly SHOW_DOCUMENT: 0x100; + readonly SHOW_DOCUMENT_TYPE: 0x200; + readonly SHOW_DOCUMENT_FRAGMENT: 0x400; + readonly SHOW_NOTATION: 0x800; +}; + +type XPathNSResolver = ((prefix: string | null) => string | null) | { lookupNamespaceURI(prefix: string | null): string | null; }; + +/** The ANGLE_instanced_arrays extension is part of the WebGL API and allows to draw the same object, or groups of similar objects multiple times, if they share the same vertex data, primitive count and type. */ +interface ANGLE_instanced_arrays { + drawArraysInstancedANGLE(mode: GLenum, first: GLint, count: GLsizei, primcount: GLsizei): void; + drawElementsInstancedANGLE(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr, primcount: GLsizei): void; + vertexAttribDivisorANGLE(index: GLuint, divisor: GLuint): void; + readonly VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: 0x88FE; +} + +interface ARIAMixin { + ariaAtomic: string | null; + ariaAutoComplete: string | null; + ariaBusy: string | null; + ariaChecked: string | null; + ariaColCount: string | null; + ariaColIndex: string | null; + ariaColSpan: string | null; + ariaCurrent: string | null; + ariaDisabled: string | null; + ariaExpanded: string | null; + ariaHasPopup: string | null; + ariaHidden: string | null; + ariaInvalid: string | null; + ariaKeyShortcuts: string | null; + ariaLabel: string | null; + ariaLevel: string | null; + ariaLive: string | null; + ariaModal: string | null; + ariaMultiLine: string | null; + ariaMultiSelectable: string | null; + ariaOrientation: string | null; + ariaPlaceholder: string | null; + ariaPosInSet: string | null; + ariaPressed: string | null; + ariaReadOnly: string | null; + ariaRequired: string | null; + ariaRoleDescription: string | null; + ariaRowCount: string | null; + ariaRowIndex: string | null; + ariaRowSpan: string | null; + ariaSelected: string | null; + ariaSetSize: string | null; + ariaSort: string | null; + ariaValueMax: string | null; + ariaValueMin: string | null; + ariaValueNow: string | null; + ariaValueText: string | null; + role: string | null; +} + +/** A controller object that allows you to abort one or more DOM requests as and when desired. */ +interface AbortController { + /** Returns the AbortSignal object associated with this object. */ + readonly signal: AbortSignal; + /** Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted. */ + abort(reason?: any): void; +} + +declare var AbortController: { + prototype: AbortController; + new(): AbortController; +}; + +interface AbortSignalEventMap { + "abort": Event; +} + +/** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */ +interface AbortSignal extends EventTarget { + /** Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise. */ + readonly aborted: boolean; + onabort: ((this: AbortSignal, ev: Event) => any) | null; + readonly reason: any; + throwIfAborted(): void; + addEventListener(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var AbortSignal: { + prototype: AbortSignal; + new(): AbortSignal; + abort(reason?: any): AbortSignal; + timeout(milliseconds: number): AbortSignal; +}; + +interface AbstractRange { + /** Returns true if range is collapsed, and false otherwise. */ + readonly collapsed: boolean; + /** Returns range's end node. */ + readonly endContainer: Node; + /** Returns range's end offset. */ + readonly endOffset: number; + /** Returns range's start node. */ + readonly startContainer: Node; + /** Returns range's start offset. */ + readonly startOffset: number; +} + +declare var AbstractRange: { + prototype: AbstractRange; + new(): AbstractRange; +}; + +interface AbstractWorkerEventMap { + "error": ErrorEvent; +} + +interface AbstractWorker { + onerror: ((this: AbstractWorker, ev: ErrorEvent) => any) | null; + addEventListener(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +/** A node able to provide real-time frequency and time-domain analysis information. It is an AudioNode that passes the audio stream unchanged from the input to the output, but allows you to take the generated data, process it, and create audio visualizations. */ +interface AnalyserNode extends AudioNode { + fftSize: number; + readonly frequencyBinCount: number; + maxDecibels: number; + minDecibels: number; + smoothingTimeConstant: number; + getByteFrequencyData(array: Uint8Array): void; + getByteTimeDomainData(array: Uint8Array): void; + getFloatFrequencyData(array: Float32Array): void; + getFloatTimeDomainData(array: Float32Array): void; +} + +declare var AnalyserNode: { + prototype: AnalyserNode; + new(context: BaseAudioContext, options?: AnalyserOptions): AnalyserNode; +}; + +interface Animatable { + animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation; + getAnimations(options?: GetAnimationsOptions): Animation[]; +} + +interface AnimationEventMap { + "cancel": AnimationPlaybackEvent; + "finish": AnimationPlaybackEvent; + "remove": Event; +} + +interface Animation extends EventTarget { + currentTime: CSSNumberish | null; + effect: AnimationEffect | null; + readonly finished: Promise; + id: string; + oncancel: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null; + onfinish: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null; + onremove: ((this: Animation, ev: Event) => any) | null; + readonly pending: boolean; + readonly playState: AnimationPlayState; + playbackRate: number; + readonly ready: Promise; + readonly replaceState: AnimationReplaceState; + startTime: CSSNumberish | null; + timeline: AnimationTimeline | null; + cancel(): void; + commitStyles(): void; + finish(): void; + pause(): void; + persist(): void; + play(): void; + reverse(): void; + updatePlaybackRate(playbackRate: number): void; + addEventListener(type: K, listener: (this: Animation, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: Animation, ev: AnimationEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var Animation: { + prototype: Animation; + new(effect?: AnimationEffect | null, timeline?: AnimationTimeline | null): Animation; +}; + +interface AnimationEffect { + getComputedTiming(): ComputedEffectTiming; + getTiming(): EffectTiming; + updateTiming(timing?: OptionalEffectTiming): void; +} + +declare var AnimationEffect: { + prototype: AnimationEffect; + new(): AnimationEffect; +}; + +/** Events providing information related to animations. */ +interface AnimationEvent extends Event { + readonly animationName: string; + readonly elapsedTime: number; + readonly pseudoElement: string; +} + +declare var AnimationEvent: { + prototype: AnimationEvent; + new(type: string, animationEventInitDict?: AnimationEventInit): AnimationEvent; +}; + +interface AnimationFrameProvider { + cancelAnimationFrame(handle: number): void; + requestAnimationFrame(callback: FrameRequestCallback): number; +} + +interface AnimationPlaybackEvent extends Event { + readonly currentTime: CSSNumberish | null; + readonly timelineTime: CSSNumberish | null; +} + +declare var AnimationPlaybackEvent: { + prototype: AnimationPlaybackEvent; + new(type: string, eventInitDict?: AnimationPlaybackEventInit): AnimationPlaybackEvent; +}; + +interface AnimationTimeline { + readonly currentTime: number | null; +} + +declare var AnimationTimeline: { + prototype: AnimationTimeline; + new(): AnimationTimeline; +}; + +/** A DOM element's attribute as an object. In most DOM methods, you will probably directly retrieve the attribute as a string (e.g., Element.getAttribute(), but certain functions (e.g., Element.getAttributeNode()) or means of iterating give Attr types. */ +interface Attr extends Node { + readonly localName: string; + readonly name: string; + readonly namespaceURI: string | null; + readonly ownerDocument: Document; + readonly ownerElement: Element | null; + readonly prefix: string | null; + /** @deprecated */ + readonly specified: boolean; + value: string; +} + +declare var Attr: { + prototype: Attr; + new(): Attr; +}; + +/** A short audio asset residing in memory, created from an audio file using the AudioContext.decodeAudioData() method, or from raw data using AudioContext.createBuffer(). Once put into an AudioBuffer, the audio can then be played by being passed into an AudioBufferSourceNode. */ +interface AudioBuffer { + readonly duration: number; + readonly length: number; + readonly numberOfChannels: number; + readonly sampleRate: number; + copyFromChannel(destination: Float32Array, channelNumber: number, bufferOffset?: number): void; + copyToChannel(source: Float32Array, channelNumber: number, bufferOffset?: number): void; + getChannelData(channel: number): Float32Array; +} + +declare var AudioBuffer: { + prototype: AudioBuffer; + new(options: AudioBufferOptions): AudioBuffer; +}; + +/** An AudioScheduledSourceNode which represents an audio source consisting of in-memory audio data, stored in an AudioBuffer. It's especially useful for playing back audio which has particularly stringent timing accuracy requirements, such as for sounds that must match a specific rhythm and can be kept in memory rather than being played from disk or the network. */ +interface AudioBufferSourceNode extends AudioScheduledSourceNode { + buffer: AudioBuffer | null; + readonly detune: AudioParam; + loop: boolean; + loopEnd: number; + loopStart: number; + readonly playbackRate: AudioParam; + start(when?: number, offset?: number, duration?: number): void; + addEventListener(type: K, listener: (this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var AudioBufferSourceNode: { + prototype: AudioBufferSourceNode; + new(context: BaseAudioContext, options?: AudioBufferSourceOptions): AudioBufferSourceNode; +}; + +/** An audio-processing graph built from audio modules linked together, each represented by an AudioNode. */ +interface AudioContext extends BaseAudioContext { + readonly baseLatency: number; + readonly outputLatency: number; + close(): Promise; + createMediaElementSource(mediaElement: HTMLMediaElement): MediaElementAudioSourceNode; + createMediaStreamDestination(): MediaStreamAudioDestinationNode; + createMediaStreamSource(mediaStream: MediaStream): MediaStreamAudioSourceNode; + getOutputTimestamp(): AudioTimestamp; + resume(): Promise; + suspend(): Promise; + addEventListener(type: K, listener: (this: AudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: AudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var AudioContext: { + prototype: AudioContext; + new(contextOptions?: AudioContextOptions): AudioContext; +}; + +/** AudioDestinationNode has no output (as it is the output, no more AudioNode can be linked after it in the audio graph) and one input. The number of channels in the input must be between 0 and the maxChannelCount value or an exception is raised. */ +interface AudioDestinationNode extends AudioNode { + readonly maxChannelCount: number; +} + +declare var AudioDestinationNode: { + prototype: AudioDestinationNode; + new(): AudioDestinationNode; +}; + +/** The position and orientation of the unique person listening to the audio scene, and is used in audio spatialization. All PannerNodes spatialize in relation to the AudioListener stored in the BaseAudioContext.listener attribute. */ +interface AudioListener { + readonly forwardX: AudioParam; + readonly forwardY: AudioParam; + readonly forwardZ: AudioParam; + readonly positionX: AudioParam; + readonly positionY: AudioParam; + readonly positionZ: AudioParam; + readonly upX: AudioParam; + readonly upY: AudioParam; + readonly upZ: AudioParam; + /** @deprecated */ + setOrientation(x: number, y: number, z: number, xUp: number, yUp: number, zUp: number): void; + /** @deprecated */ + setPosition(x: number, y: number, z: number): void; +} + +declare var AudioListener: { + prototype: AudioListener; + new(): AudioListener; +}; + +/** A generic interface for representing an audio processing module. Examples include: */ +interface AudioNode extends EventTarget { + channelCount: number; + channelCountMode: ChannelCountMode; + channelInterpretation: ChannelInterpretation; + readonly context: BaseAudioContext; + readonly numberOfInputs: number; + readonly numberOfOutputs: number; + connect(destinationNode: AudioNode, output?: number, input?: number): AudioNode; + connect(destinationParam: AudioParam, output?: number): void; + disconnect(): void; + disconnect(output: number): void; + disconnect(destinationNode: AudioNode): void; + disconnect(destinationNode: AudioNode, output: number): void; + disconnect(destinationNode: AudioNode, output: number, input: number): void; + disconnect(destinationParam: AudioParam): void; + disconnect(destinationParam: AudioParam, output: number): void; +} + +declare var AudioNode: { + prototype: AudioNode; + new(): AudioNode; +}; + +/** The Web Audio API's AudioParam interface represents an audio-related parameter, usually a parameter of an AudioNode (such as GainNode.gain). */ +interface AudioParam { + automationRate: AutomationRate; + readonly defaultValue: number; + readonly maxValue: number; + readonly minValue: number; + value: number; + cancelAndHoldAtTime(cancelTime: number): AudioParam; + cancelScheduledValues(cancelTime: number): AudioParam; + exponentialRampToValueAtTime(value: number, endTime: number): AudioParam; + linearRampToValueAtTime(value: number, endTime: number): AudioParam; + setTargetAtTime(target: number, startTime: number, timeConstant: number): AudioParam; + setValueAtTime(value: number, startTime: number): AudioParam; + setValueCurveAtTime(values: number[] | Float32Array, startTime: number, duration: number): AudioParam; +} + +declare var AudioParam: { + prototype: AudioParam; + new(): AudioParam; +}; + +interface AudioParamMap { + forEach(callbackfn: (value: AudioParam, key: string, parent: AudioParamMap) => void, thisArg?: any): void; +} + +declare var AudioParamMap: { + prototype: AudioParamMap; + new(): AudioParamMap; +}; + +/** + * The Web Audio API events that occur when a ScriptProcessorNode input buffer is ready to be processed. + * @deprecated As of the August 29 2014 Web Audio API spec publication, this feature has been marked as deprecated, and is soon to be replaced by AudioWorklet. + */ +interface AudioProcessingEvent extends Event { + /** @deprecated */ + readonly inputBuffer: AudioBuffer; + /** @deprecated */ + readonly outputBuffer: AudioBuffer; + /** @deprecated */ + readonly playbackTime: number; +} + +/** @deprecated */ +declare var AudioProcessingEvent: { + prototype: AudioProcessingEvent; + new(type: string, eventInitDict: AudioProcessingEventInit): AudioProcessingEvent; +}; + +interface AudioScheduledSourceNodeEventMap { + "ended": Event; +} + +interface AudioScheduledSourceNode extends AudioNode { + onended: ((this: AudioScheduledSourceNode, ev: Event) => any) | null; + start(when?: number): void; + stop(when?: number): void; + addEventListener(type: K, listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var AudioScheduledSourceNode: { + prototype: AudioScheduledSourceNode; + new(): AudioScheduledSourceNode; +}; + +/** Available only in secure contexts. */ +interface AudioWorklet extends Worklet { +} + +declare var AudioWorklet: { + prototype: AudioWorklet; + new(): AudioWorklet; +}; + +interface AudioWorkletNodeEventMap { + "processorerror": Event; +} + +/** Available only in secure contexts. */ +interface AudioWorkletNode extends AudioNode { + onprocessorerror: ((this: AudioWorkletNode, ev: Event) => any) | null; + readonly parameters: AudioParamMap; + readonly port: MessagePort; + addEventListener(type: K, listener: (this: AudioWorkletNode, ev: AudioWorkletNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: AudioWorkletNode, ev: AudioWorkletNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var AudioWorkletNode: { + prototype: AudioWorkletNode; + new(context: BaseAudioContext, name: string, options?: AudioWorkletNodeOptions): AudioWorkletNode; +}; + +/** Available only in secure contexts. */ +interface AuthenticatorAssertionResponse extends AuthenticatorResponse { + readonly authenticatorData: ArrayBuffer; + readonly signature: ArrayBuffer; + readonly userHandle: ArrayBuffer | null; +} + +declare var AuthenticatorAssertionResponse: { + prototype: AuthenticatorAssertionResponse; + new(): AuthenticatorAssertionResponse; +}; + +/** Available only in secure contexts. */ +interface AuthenticatorAttestationResponse extends AuthenticatorResponse { + readonly attestationObject: ArrayBuffer; + getAuthenticatorData(): ArrayBuffer; + getPublicKey(): ArrayBuffer | null; + getPublicKeyAlgorithm(): COSEAlgorithmIdentifier; + getTransports(): string[]; +} + +declare var AuthenticatorAttestationResponse: { + prototype: AuthenticatorAttestationResponse; + new(): AuthenticatorAttestationResponse; +}; + +/** Available only in secure contexts. */ +interface AuthenticatorResponse { + readonly clientDataJSON: ArrayBuffer; +} + +declare var AuthenticatorResponse: { + prototype: AuthenticatorResponse; + new(): AuthenticatorResponse; +}; + +interface BarProp { + readonly visible: boolean; +} + +declare var BarProp: { + prototype: BarProp; + new(): BarProp; +}; + +interface BaseAudioContextEventMap { + "statechange": Event; +} + +interface BaseAudioContext extends EventTarget { + /** Available only in secure contexts. */ + readonly audioWorklet: AudioWorklet; + readonly currentTime: number; + readonly destination: AudioDestinationNode; + readonly listener: AudioListener; + onstatechange: ((this: BaseAudioContext, ev: Event) => any) | null; + readonly sampleRate: number; + readonly state: AudioContextState; + createAnalyser(): AnalyserNode; + createBiquadFilter(): BiquadFilterNode; + createBuffer(numberOfChannels: number, length: number, sampleRate: number): AudioBuffer; + createBufferSource(): AudioBufferSourceNode; + createChannelMerger(numberOfInputs?: number): ChannelMergerNode; + createChannelSplitter(numberOfOutputs?: number): ChannelSplitterNode; + createConstantSource(): ConstantSourceNode; + createConvolver(): ConvolverNode; + createDelay(maxDelayTime?: number): DelayNode; + createDynamicsCompressor(): DynamicsCompressorNode; + createGain(): GainNode; + createIIRFilter(feedforward: number[], feedback: number[]): IIRFilterNode; + createOscillator(): OscillatorNode; + createPanner(): PannerNode; + createPeriodicWave(real: number[] | Float32Array, imag: number[] | Float32Array, constraints?: PeriodicWaveConstraints): PeriodicWave; + /** @deprecated */ + createScriptProcessor(bufferSize?: number, numberOfInputChannels?: number, numberOfOutputChannels?: number): ScriptProcessorNode; + createStereoPanner(): StereoPannerNode; + createWaveShaper(): WaveShaperNode; + decodeAudioData(audioData: ArrayBuffer, successCallback?: DecodeSuccessCallback | null, errorCallback?: DecodeErrorCallback | null): Promise; + addEventListener(type: K, listener: (this: BaseAudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: BaseAudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var BaseAudioContext: { + prototype: BaseAudioContext; + new(): BaseAudioContext; +}; + +/** The beforeunload event is fired when the window, the document and its resources are about to be unloaded. */ +interface BeforeUnloadEvent extends Event { + returnValue: any; +} + +declare var BeforeUnloadEvent: { + prototype: BeforeUnloadEvent; + new(): BeforeUnloadEvent; +}; + +/** A simple low-order filter, and is created using the AudioContext.createBiquadFilter() method. It is an AudioNode that can represent different kinds of filters, tone control devices, and graphic equalizers. */ +interface BiquadFilterNode extends AudioNode { + readonly Q: AudioParam; + readonly detune: AudioParam; + readonly frequency: AudioParam; + readonly gain: AudioParam; + type: BiquadFilterType; + getFrequencyResponse(frequencyHz: Float32Array, magResponse: Float32Array, phaseResponse: Float32Array): void; +} + +declare var BiquadFilterNode: { + prototype: BiquadFilterNode; + new(context: BaseAudioContext, options?: BiquadFilterOptions): BiquadFilterNode; +}; + +/** A file-like object of immutable, raw data. Blobs represent data that isn't necessarily in a JavaScript-native format. The File interface is based on Blob, inheriting blob functionality and expanding it to support files on the user's system. */ +interface Blob { + readonly size: number; + readonly type: string; + arrayBuffer(): Promise; + slice(start?: number, end?: number, contentType?: string): Blob; + stream(): ReadableStream; + text(): Promise; +} + +declare var Blob: { + prototype: Blob; + new(blobParts?: BlobPart[], options?: BlobPropertyBag): Blob; +}; + +interface BlobEvent extends Event { + readonly data: Blob; + readonly timecode: DOMHighResTimeStamp; +} + +declare var BlobEvent: { + prototype: BlobEvent; + new(type: string, eventInitDict: BlobEventInit): BlobEvent; +}; + +interface Body { + readonly body: ReadableStream | null; + readonly bodyUsed: boolean; + arrayBuffer(): Promise; + blob(): Promise; + formData(): Promise; + json(): Promise; + text(): Promise; +} + +interface BroadcastChannelEventMap { + "message": MessageEvent; + "messageerror": MessageEvent; +} + +interface BroadcastChannel extends EventTarget { + /** Returns the channel name (as passed to the constructor). */ + readonly name: string; + onmessage: ((this: BroadcastChannel, ev: MessageEvent) => any) | null; + onmessageerror: ((this: BroadcastChannel, ev: MessageEvent) => any) | null; + /** Closes the BroadcastChannel object, opening it up to garbage collection. */ + close(): void; + /** Sends the given message to other BroadcastChannel objects set up for this channel. Messages can be structured objects, e.g. nested objects and arrays. */ + postMessage(message: any): void; + addEventListener(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var BroadcastChannel: { + prototype: BroadcastChannel; + new(name: string): BroadcastChannel; +}; + +/** This Streams API interface provides\xa0a built-in byte length queuing strategy that can be used when constructing streams. */ +interface ByteLengthQueuingStrategy extends QueuingStrategy { + readonly highWaterMark: number; + readonly size: QueuingStrategySize; +} + +declare var ByteLengthQueuingStrategy: { + prototype: ByteLengthQueuingStrategy; + new(init: QueuingStrategyInit): ByteLengthQueuingStrategy; +}; + +/** A CDATA section that can be used within XML to include extended portions of unescaped text. The symbols < and & don\u2019t need escaping as they normally do when inside a CDATA section. */ +interface CDATASection extends Text { +} + +declare var CDATASection: { + prototype: CDATASection; + new(): CDATASection; +}; + +interface CSSAnimation extends Animation { + readonly animationName: string; + addEventListener(type: K, listener: (this: CSSAnimation, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: CSSAnimation, ev: AnimationEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var CSSAnimation: { + prototype: CSSAnimation; + new(): CSSAnimation; +}; + +/** A single condition CSS at-rule, which consists of a condition and a statement block. It is a child of CSSGroupingRule. */ +interface CSSConditionRule extends CSSGroupingRule { + readonly conditionText: string; +} + +declare var CSSConditionRule: { + prototype: CSSConditionRule; + new(): CSSConditionRule; +}; + +interface CSSContainerRule extends CSSConditionRule { +} + +declare var CSSContainerRule: { + prototype: CSSContainerRule; + new(): CSSContainerRule; +}; + +interface CSSCounterStyleRule extends CSSRule { + additiveSymbols: string; + fallback: string; + name: string; + negative: string; + pad: string; + prefix: string; + range: string; + speakAs: string; + suffix: string; + symbols: string; + system: string; +} + +declare var CSSCounterStyleRule: { + prototype: CSSCounterStyleRule; + new(): CSSCounterStyleRule; +}; + +interface CSSFontFaceRule extends CSSRule { + readonly style: CSSStyleDeclaration; +} + +declare var CSSFontFaceRule: { + prototype: CSSFontFaceRule; + new(): CSSFontFaceRule; +}; + +interface CSSFontFeatureValuesRule extends CSSRule { + fontFamily: string; +} + +declare var CSSFontFeatureValuesRule: { + prototype: CSSFontFeatureValuesRule; + new(): CSSFontFeatureValuesRule; +}; + +interface CSSFontPaletteValuesRule extends CSSRule { + readonly basePalette: string; + readonly fontFamily: string; + readonly name: string; + readonly overrideColors: string; +} + +declare var CSSFontPaletteValuesRule: { + prototype: CSSFontPaletteValuesRule; + new(): CSSFontPaletteValuesRule; +}; + +/** Any CSS at-rule that contains other rules nested within it. */ +interface CSSGroupingRule extends CSSRule { + readonly cssRules: CSSRuleList; + deleteRule(index: number): void; + insertRule(rule: string, index?: number): number; +} + +declare var CSSGroupingRule: { + prototype: CSSGroupingRule; + new(): CSSGroupingRule; +}; + +interface CSSImportRule extends CSSRule { + readonly href: string; + readonly layerName: string | null; + readonly media: MediaList; + readonly styleSheet: CSSStyleSheet; +} + +declare var CSSImportRule: { + prototype: CSSImportRule; + new(): CSSImportRule; +}; + +/** An object representing a set of style for a given keyframe. It corresponds to the contains of a single keyframe of a @keyframes at-rule. It implements the CSSRule interface with a type value of 8 (CSSRule.KEYFRAME_RULE). */ +interface CSSKeyframeRule extends CSSRule { + keyText: string; + readonly style: CSSStyleDeclaration; +} + +declare var CSSKeyframeRule: { + prototype: CSSKeyframeRule; + new(): CSSKeyframeRule; +}; + +/** An object representing a complete set of keyframes for a CSS animation. It corresponds to the contains of a whole @keyframes at-rule. It implements the CSSRule interface with a type value of 7 (CSSRule.KEYFRAMES_RULE). */ +interface CSSKeyframesRule extends CSSRule { + readonly cssRules: CSSRuleList; + name: string; + appendRule(rule: string): void; + deleteRule(select: string): void; + findRule(select: string): CSSKeyframeRule | null; + [index: number]: CSSKeyframeRule; +} + +declare var CSSKeyframesRule: { + prototype: CSSKeyframesRule; + new(): CSSKeyframesRule; +}; + +interface CSSLayerBlockRule extends CSSGroupingRule { + readonly name: string; +} + +declare var CSSLayerBlockRule: { + prototype: CSSLayerBlockRule; + new(): CSSLayerBlockRule; +}; + +interface CSSLayerStatementRule extends CSSRule { + readonly nameList: ReadonlyArray; +} + +declare var CSSLayerStatementRule: { + prototype: CSSLayerStatementRule; + new(): CSSLayerStatementRule; +}; + +/** A single CSS @media rule. It implements the CSSConditionRule interface, and therefore the CSSGroupingRule and the CSSRule interface with a type value of 4 (CSSRule.MEDIA_RULE). */ +interface CSSMediaRule extends CSSConditionRule { + readonly media: MediaList; +} + +declare var CSSMediaRule: { + prototype: CSSMediaRule; + new(): CSSMediaRule; +}; + +/** An object representing a single CSS @namespace at-rule. It implements the CSSRule interface, with a type value of 10 (CSSRule.NAMESPACE_RULE). */ +interface CSSNamespaceRule extends CSSRule { + readonly namespaceURI: string; + readonly prefix: string; +} + +declare var CSSNamespaceRule: { + prototype: CSSNamespaceRule; + new(): CSSNamespaceRule; +}; + +/** CSSPageRule is an interface representing a single CSS @page rule. It implements the CSSRule interface with a type value of 6 (CSSRule.PAGE_RULE). */ +interface CSSPageRule extends CSSGroupingRule { + selectorText: string; + readonly style: CSSStyleDeclaration; +} + +declare var CSSPageRule: { + prototype: CSSPageRule; + new(): CSSPageRule; +}; + +/** A single CSS rule. There are several types of rules, listed in the Type constants section below. */ +interface CSSRule { + cssText: string; + readonly parentRule: CSSRule | null; + readonly parentStyleSheet: CSSStyleSheet | null; + /** @deprecated */ + readonly type: number; + readonly STYLE_RULE: 1; + readonly CHARSET_RULE: 2; + readonly IMPORT_RULE: 3; + readonly MEDIA_RULE: 4; + readonly FONT_FACE_RULE: 5; + readonly PAGE_RULE: 6; + readonly NAMESPACE_RULE: 10; + readonly KEYFRAMES_RULE: 7; + readonly KEYFRAME_RULE: 8; + readonly SUPPORTS_RULE: 12; +} + +declare var CSSRule: { + prototype: CSSRule; + new(): CSSRule; + readonly STYLE_RULE: 1; + readonly CHARSET_RULE: 2; + readonly IMPORT_RULE: 3; + readonly MEDIA_RULE: 4; + readonly FONT_FACE_RULE: 5; + readonly PAGE_RULE: 6; + readonly NAMESPACE_RULE: 10; + readonly KEYFRAMES_RULE: 7; + readonly KEYFRAME_RULE: 8; + readonly SUPPORTS_RULE: 12; +}; + +/** A CSSRuleList is an (indirect-modify only) array-like object containing an ordered collection of CSSRule objects. */ +interface CSSRuleList { + readonly length: number; + item(index: number): CSSRule | null; + [index: number]: CSSRule; +} + +declare var CSSRuleList: { + prototype: CSSRuleList; + new(): CSSRuleList; +}; + +/** An object that is a CSS declaration block, and exposes style information and various style-related methods and properties. */ +interface CSSStyleDeclaration { + accentColor: string; + alignContent: string; + alignItems: string; + alignSelf: string; + alignmentBaseline: string; + all: string; + animation: string; + animationDelay: string; + animationDirection: string; + animationDuration: string; + animationFillMode: string; + animationIterationCount: string; + animationName: string; + animationPlayState: string; + animationTimingFunction: string; + appearance: string; + aspectRatio: string; + backdropFilter: string; + backfaceVisibility: string; + background: string; + backgroundAttachment: string; + backgroundBlendMode: string; + backgroundClip: string; + backgroundColor: string; + backgroundImage: string; + backgroundOrigin: string; + backgroundPosition: string; + backgroundPositionX: string; + backgroundPositionY: string; + backgroundRepeat: string; + backgroundSize: string; + baselineShift: string; + blockSize: string; + border: string; + borderBlock: string; + borderBlockColor: string; + borderBlockEnd: string; + borderBlockEndColor: string; + borderBlockEndStyle: string; + borderBlockEndWidth: string; + borderBlockStart: string; + borderBlockStartColor: string; + borderBlockStartStyle: string; + borderBlockStartWidth: string; + borderBlockStyle: string; + borderBlockWidth: string; + borderBottom: string; + borderBottomColor: string; + borderBottomLeftRadius: string; + borderBottomRightRadius: string; + borderBottomStyle: string; + borderBottomWidth: string; + borderCollapse: string; + borderColor: string; + borderEndEndRadius: string; + borderEndStartRadius: string; + borderImage: string; + borderImageOutset: string; + borderImageRepeat: string; + borderImageSlice: string; + borderImageSource: string; + borderImageWidth: string; + borderInline: string; + borderInlineColor: string; + borderInlineEnd: string; + borderInlineEndColor: string; + borderInlineEndStyle: string; + borderInlineEndWidth: string; + borderInlineStart: string; + borderInlineStartColor: string; + borderInlineStartStyle: string; + borderInlineStartWidth: string; + borderInlineStyle: string; + borderInlineWidth: string; + borderLeft: string; + borderLeftColor: string; + borderLeftStyle: string; + borderLeftWidth: string; + borderRadius: string; + borderRight: string; + borderRightColor: string; + borderRightStyle: string; + borderRightWidth: string; + borderSpacing: string; + borderStartEndRadius: string; + borderStartStartRadius: string; + borderStyle: string; + borderTop: string; + borderTopColor: string; + borderTopLeftRadius: string; + borderTopRightRadius: string; + borderTopStyle: string; + borderTopWidth: string; + borderWidth: string; + bottom: string; + boxShadow: string; + boxSizing: string; + breakAfter: string; + breakBefore: string; + breakInside: string; + captionSide: string; + caretColor: string; + clear: string; + /** @deprecated */ + clip: string; + clipPath: string; + clipRule: string; + color: string; + colorInterpolation: string; + colorInterpolationFilters: string; + colorScheme: string; + columnCount: string; + columnFill: string; + columnGap: string; + columnRule: string; + columnRuleColor: string; + columnRuleStyle: string; + columnRuleWidth: string; + columnSpan: string; + columnWidth: string; + columns: string; + contain: string; + containIntrinsicBlockSize: string; + containIntrinsicHeight: string; + containIntrinsicInlineSize: string; + containIntrinsicSize: string; + containIntrinsicWidth: string; + container: string; + containerName: string; + containerType: string; + content: string; + contentVisibility: string; + counterIncrement: string; + counterReset: string; + counterSet: string; + cssFloat: string; + cssText: string; + cursor: string; + direction: string; + display: string; + dominantBaseline: string; + emptyCells: string; + fill: string; + fillOpacity: string; + fillRule: string; + filter: string; + flex: string; + flexBasis: string; + flexDirection: string; + flexFlow: string; + flexGrow: string; + flexShrink: string; + flexWrap: string; + float: string; + floodColor: string; + floodOpacity: string; + font: string; + fontFamily: string; + fontFeatureSettings: string; + fontKerning: string; + fontOpticalSizing: string; + fontPalette: string; + fontSize: string; + fontSizeAdjust: string; + fontStretch: string; + fontStyle: string; + fontSynthesis: string; + fontVariant: string; + fontVariantAlternates: string; + fontVariantCaps: string; + fontVariantEastAsian: string; + fontVariantLigatures: string; + fontVariantNumeric: string; + fontVariantPosition: string; + fontVariationSettings: string; + fontWeight: string; + gap: string; + grid: string; + gridArea: string; + gridAutoColumns: string; + gridAutoFlow: string; + gridAutoRows: string; + gridColumn: string; + gridColumnEnd: string; + /** @deprecated This is a legacy alias of \`columnGap\`. */ + gridColumnGap: string; + gridColumnStart: string; + /** @deprecated This is a legacy alias of \`gap\`. */ + gridGap: string; + gridRow: string; + gridRowEnd: string; + /** @deprecated This is a legacy alias of \`rowGap\`. */ + gridRowGap: string; + gridRowStart: string; + gridTemplate: string; + gridTemplateAreas: string; + gridTemplateColumns: string; + gridTemplateRows: string; + height: string; + hyphenateCharacter: string; + hyphens: string; + /** @deprecated */ + imageOrientation: string; + imageRendering: string; + inlineSize: string; + inset: string; + insetBlock: string; + insetBlockEnd: string; + insetBlockStart: string; + insetInline: string; + insetInlineEnd: string; + insetInlineStart: string; + isolation: string; + justifyContent: string; + justifyItems: string; + justifySelf: string; + left: string; + readonly length: number; + letterSpacing: string; + lightingColor: string; + lineBreak: string; + lineHeight: string; + listStyle: string; + listStyleImage: string; + listStylePosition: string; + listStyleType: string; + margin: string; + marginBlock: string; + marginBlockEnd: string; + marginBlockStart: string; + marginBottom: string; + marginInline: string; + marginInlineEnd: string; + marginInlineStart: string; + marginLeft: string; + marginRight: string; + marginTop: string; + marker: string; + markerEnd: string; + markerMid: string; + markerStart: string; + mask: string; + maskClip: string; + maskComposite: string; + maskImage: string; + maskMode: string; + maskOrigin: string; + maskPosition: string; + maskRepeat: string; + maskSize: string; + maskType: string; + mathStyle: string; + maxBlockSize: string; + maxHeight: string; + maxInlineSize: string; + maxWidth: string; + minBlockSize: string; + minHeight: string; + minInlineSize: string; + minWidth: string; + mixBlendMode: string; + objectFit: string; + objectPosition: string; + offset: string; + offsetDistance: string; + offsetPath: string; + offsetRotate: string; + opacity: string; + order: string; + orphans: string; + outline: string; + outlineColor: string; + outlineOffset: string; + outlineStyle: string; + outlineWidth: string; + overflow: string; + overflowAnchor: string; + overflowClipMargin: string; + overflowWrap: string; + overflowX: string; + overflowY: string; + overscrollBehavior: string; + overscrollBehaviorBlock: string; + overscrollBehaviorInline: string; + overscrollBehaviorX: string; + overscrollBehaviorY: string; + padding: string; + paddingBlock: string; + paddingBlockEnd: string; + paddingBlockStart: string; + paddingBottom: string; + paddingInline: string; + paddingInlineEnd: string; + paddingInlineStart: string; + paddingLeft: string; + paddingRight: string; + paddingTop: string; + pageBreakAfter: string; + pageBreakBefore: string; + pageBreakInside: string; + paintOrder: string; + readonly parentRule: CSSRule | null; + perspective: string; + perspectiveOrigin: string; + placeContent: string; + placeItems: string; + placeSelf: string; + pointerEvents: string; + position: string; + printColorAdjust: string; + quotes: string; + resize: string; + right: string; + rotate: string; + rowGap: string; + rubyPosition: string; + scale: string; + scrollBehavior: string; + scrollMargin: string; + scrollMarginBlock: string; + scrollMarginBlockEnd: string; + scrollMarginBlockStart: string; + scrollMarginBottom: string; + scrollMarginInline: string; + scrollMarginInlineEnd: string; + scrollMarginInlineStart: string; + scrollMarginLeft: string; + scrollMarginRight: string; + scrollMarginTop: string; + scrollPadding: string; + scrollPaddingBlock: string; + scrollPaddingBlockEnd: string; + scrollPaddingBlockStart: string; + scrollPaddingBottom: string; + scrollPaddingInline: string; + scrollPaddingInlineEnd: string; + scrollPaddingInlineStart: string; + scrollPaddingLeft: string; + scrollPaddingRight: string; + scrollPaddingTop: string; + scrollSnapAlign: string; + scrollSnapStop: string; + scrollSnapType: string; + scrollbarGutter: string; + shapeImageThreshold: string; + shapeMargin: string; + shapeOutside: string; + shapeRendering: string; + stopColor: string; + stopOpacity: string; + stroke: string; + strokeDasharray: string; + strokeDashoffset: string; + strokeLinecap: string; + strokeLinejoin: string; + strokeMiterlimit: string; + strokeOpacity: string; + strokeWidth: string; + tabSize: string; + tableLayout: string; + textAlign: string; + textAlignLast: string; + textAnchor: string; + textCombineUpright: string; + textDecoration: string; + textDecorationColor: string; + textDecorationLine: string; + textDecorationSkipInk: string; + textDecorationStyle: string; + textDecorationThickness: string; + textEmphasis: string; + textEmphasisColor: string; + textEmphasisPosition: string; + textEmphasisStyle: string; + textIndent: string; + textOrientation: string; + textOverflow: string; + textRendering: string; + textShadow: string; + textTransform: string; + textUnderlineOffset: string; + textUnderlinePosition: string; + top: string; + touchAction: string; + transform: string; + transformBox: string; + transformOrigin: string; + transformStyle: string; + transition: string; + transitionDelay: string; + transitionDuration: string; + transitionProperty: string; + transitionTimingFunction: string; + translate: string; + unicodeBidi: string; + userSelect: string; + verticalAlign: string; + visibility: string; + /** @deprecated This is a legacy alias of \`alignContent\`. */ + webkitAlignContent: string; + /** @deprecated This is a legacy alias of \`alignItems\`. */ + webkitAlignItems: string; + /** @deprecated This is a legacy alias of \`alignSelf\`. */ + webkitAlignSelf: string; + /** @deprecated This is a legacy alias of \`animation\`. */ + webkitAnimation: string; + /** @deprecated This is a legacy alias of \`animationDelay\`. */ + webkitAnimationDelay: string; + /** @deprecated This is a legacy alias of \`animationDirection\`. */ + webkitAnimationDirection: string; + /** @deprecated This is a legacy alias of \`animationDuration\`. */ + webkitAnimationDuration: string; + /** @deprecated This is a legacy alias of \`animationFillMode\`. */ + webkitAnimationFillMode: string; + /** @deprecated This is a legacy alias of \`animationIterationCount\`. */ + webkitAnimationIterationCount: string; + /** @deprecated This is a legacy alias of \`animationName\`. */ + webkitAnimationName: string; + /** @deprecated This is a legacy alias of \`animationPlayState\`. */ + webkitAnimationPlayState: string; + /** @deprecated This is a legacy alias of \`animationTimingFunction\`. */ + webkitAnimationTimingFunction: string; + /** @deprecated This is a legacy alias of \`appearance\`. */ + webkitAppearance: string; + /** @deprecated This is a legacy alias of \`backfaceVisibility\`. */ + webkitBackfaceVisibility: string; + /** @deprecated This is a legacy alias of \`backgroundClip\`. */ + webkitBackgroundClip: string; + /** @deprecated This is a legacy alias of \`backgroundOrigin\`. */ + webkitBackgroundOrigin: string; + /** @deprecated This is a legacy alias of \`backgroundSize\`. */ + webkitBackgroundSize: string; + /** @deprecated This is a legacy alias of \`borderBottomLeftRadius\`. */ + webkitBorderBottomLeftRadius: string; + /** @deprecated This is a legacy alias of \`borderBottomRightRadius\`. */ + webkitBorderBottomRightRadius: string; + /** @deprecated This is a legacy alias of \`borderRadius\`. */ + webkitBorderRadius: string; + /** @deprecated This is a legacy alias of \`borderTopLeftRadius\`. */ + webkitBorderTopLeftRadius: string; + /** @deprecated This is a legacy alias of \`borderTopRightRadius\`. */ + webkitBorderTopRightRadius: string; + /** @deprecated This is a legacy alias of \`boxAlign\`. */ + webkitBoxAlign: string; + /** @deprecated This is a legacy alias of \`boxFlex\`. */ + webkitBoxFlex: string; + /** @deprecated This is a legacy alias of \`boxOrdinalGroup\`. */ + webkitBoxOrdinalGroup: string; + /** @deprecated This is a legacy alias of \`boxOrient\`. */ + webkitBoxOrient: string; + /** @deprecated This is a legacy alias of \`boxPack\`. */ + webkitBoxPack: string; + /** @deprecated This is a legacy alias of \`boxShadow\`. */ + webkitBoxShadow: string; + /** @deprecated This is a legacy alias of \`boxSizing\`. */ + webkitBoxSizing: string; + /** @deprecated This is a legacy alias of \`filter\`. */ + webkitFilter: string; + /** @deprecated This is a legacy alias of \`flex\`. */ + webkitFlex: string; + /** @deprecated This is a legacy alias of \`flexBasis\`. */ + webkitFlexBasis: string; + /** @deprecated This is a legacy alias of \`flexDirection\`. */ + webkitFlexDirection: string; + /** @deprecated This is a legacy alias of \`flexFlow\`. */ + webkitFlexFlow: string; + /** @deprecated This is a legacy alias of \`flexGrow\`. */ + webkitFlexGrow: string; + /** @deprecated This is a legacy alias of \`flexShrink\`. */ + webkitFlexShrink: string; + /** @deprecated This is a legacy alias of \`flexWrap\`. */ + webkitFlexWrap: string; + /** @deprecated This is a legacy alias of \`justifyContent\`. */ + webkitJustifyContent: string; + webkitLineClamp: string; + /** @deprecated This is a legacy alias of \`mask\`. */ + webkitMask: string; + /** @deprecated This is a legacy alias of \`maskBorder\`. */ + webkitMaskBoxImage: string; + /** @deprecated This is a legacy alias of \`maskBorderOutset\`. */ + webkitMaskBoxImageOutset: string; + /** @deprecated This is a legacy alias of \`maskBorderRepeat\`. */ + webkitMaskBoxImageRepeat: string; + /** @deprecated This is a legacy alias of \`maskBorderSlice\`. */ + webkitMaskBoxImageSlice: string; + /** @deprecated This is a legacy alias of \`maskBorderSource\`. */ + webkitMaskBoxImageSource: string; + /** @deprecated This is a legacy alias of \`maskBorderWidth\`. */ + webkitMaskBoxImageWidth: string; + /** @deprecated This is a legacy alias of \`maskClip\`. */ + webkitMaskClip: string; + webkitMaskComposite: string; + /** @deprecated This is a legacy alias of \`maskImage\`. */ + webkitMaskImage: string; + /** @deprecated This is a legacy alias of \`maskOrigin\`. */ + webkitMaskOrigin: string; + /** @deprecated This is a legacy alias of \`maskPosition\`. */ + webkitMaskPosition: string; + /** @deprecated This is a legacy alias of \`maskRepeat\`. */ + webkitMaskRepeat: string; + /** @deprecated This is a legacy alias of \`maskSize\`. */ + webkitMaskSize: string; + /** @deprecated This is a legacy alias of \`order\`. */ + webkitOrder: string; + /** @deprecated This is a legacy alias of \`perspective\`. */ + webkitPerspective: string; + /** @deprecated This is a legacy alias of \`perspectiveOrigin\`. */ + webkitPerspectiveOrigin: string; + webkitTextFillColor: string; + /** @deprecated This is a legacy alias of \`textSizeAdjust\`. */ + webkitTextSizeAdjust: string; + webkitTextStroke: string; + webkitTextStrokeColor: string; + webkitTextStrokeWidth: string; + /** @deprecated This is a legacy alias of \`transform\`. */ + webkitTransform: string; + /** @deprecated This is a legacy alias of \`transformOrigin\`. */ + webkitTransformOrigin: string; + /** @deprecated This is a legacy alias of \`transformStyle\`. */ + webkitTransformStyle: string; + /** @deprecated This is a legacy alias of \`transition\`. */ + webkitTransition: string; + /** @deprecated This is a legacy alias of \`transitionDelay\`. */ + webkitTransitionDelay: string; + /** @deprecated This is a legacy alias of \`transitionDuration\`. */ + webkitTransitionDuration: string; + /** @deprecated This is a legacy alias of \`transitionProperty\`. */ + webkitTransitionProperty: string; + /** @deprecated This is a legacy alias of \`transitionTimingFunction\`. */ + webkitTransitionTimingFunction: string; + /** @deprecated This is a legacy alias of \`userSelect\`. */ + webkitUserSelect: string; + whiteSpace: string; + widows: string; + width: string; + willChange: string; + wordBreak: string; + wordSpacing: string; + /** @deprecated */ + wordWrap: string; + writingMode: string; + zIndex: string; + getPropertyPriority(property: string): string; + getPropertyValue(property: string): string; + item(index: number): string; + removeProperty(property: string): string; + setProperty(property: string, value: string | null, priority?: string): void; + [index: number]: string; +} + +declare var CSSStyleDeclaration: { + prototype: CSSStyleDeclaration; + new(): CSSStyleDeclaration; +}; + +/** CSSStyleRule represents a single CSS style rule. It implements the CSSRule interface with a type value of 1 (CSSRule.STYLE_RULE). */ +interface CSSStyleRule extends CSSRule { + selectorText: string; + readonly style: CSSStyleDeclaration; +} + +declare var CSSStyleRule: { + prototype: CSSStyleRule; + new(): CSSStyleRule; +}; + +/** A single CSS style sheet. It inherits properties and methods from its parent, StyleSheet. */ +interface CSSStyleSheet extends StyleSheet { + readonly cssRules: CSSRuleList; + readonly ownerRule: CSSRule | null; + /** @deprecated */ + readonly rules: CSSRuleList; + /** @deprecated */ + addRule(selector?: string, style?: string, index?: number): number; + deleteRule(index: number): void; + insertRule(rule: string, index?: number): number; + /** @deprecated */ + removeRule(index?: number): void; + replace(text: string): Promise; + replaceSync(text: string): void; +} + +declare var CSSStyleSheet: { + prototype: CSSStyleSheet; + new(options?: CSSStyleSheetInit): CSSStyleSheet; +}; + +/** An object representing a single CSS @supports at-rule. It implements the CSSConditionRule interface, and therefore the CSSRule and CSSGroupingRule interfaces with a type value of 12 (CSSRule.SUPPORTS_RULE). */ +interface CSSSupportsRule extends CSSConditionRule { +} + +declare var CSSSupportsRule: { + prototype: CSSSupportsRule; + new(): CSSSupportsRule; +}; + +interface CSSTransition extends Animation { + readonly transitionProperty: string; + addEventListener(type: K, listener: (this: CSSTransition, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: CSSTransition, ev: AnimationEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var CSSTransition: { + prototype: CSSTransition; + new(): CSSTransition; +}; + +/** + * Provides a storage mechanism for Request / Response object pairs that are cached, for example as part of the ServiceWorker life cycle. Note that the Cache interface is exposed to windowed scopes as well as workers. You don't have to use it in conjunction with service workers, even though it is defined in the service worker spec. + * Available only in secure contexts. + */ +interface Cache { + add(request: RequestInfo | URL): Promise; + addAll(requests: RequestInfo[]): Promise; + delete(request: RequestInfo | URL, options?: CacheQueryOptions): Promise; + keys(request?: RequestInfo | URL, options?: CacheQueryOptions): Promise>; + match(request: RequestInfo | URL, options?: CacheQueryOptions): Promise; + matchAll(request?: RequestInfo | URL, options?: CacheQueryOptions): Promise>; + put(request: RequestInfo | URL, response: Response): Promise; +} + +declare var Cache: { + prototype: Cache; + new(): Cache; +}; + +/** + * The storage for Cache objects. + * Available only in secure contexts. + */ +interface CacheStorage { + delete(cacheName: string): Promise; + has(cacheName: string): Promise; + keys(): Promise; + match(request: RequestInfo | URL, options?: MultiCacheQueryOptions): Promise; + open(cacheName: string): Promise; +} + +declare var CacheStorage: { + prototype: CacheStorage; + new(): CacheStorage; +}; + +interface CanvasCaptureMediaStreamTrack extends MediaStreamTrack { + readonly canvas: HTMLCanvasElement; + requestFrame(): void; + addEventListener(type: K, listener: (this: CanvasCaptureMediaStreamTrack, ev: MediaStreamTrackEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: CanvasCaptureMediaStreamTrack, ev: MediaStreamTrackEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var CanvasCaptureMediaStreamTrack: { + prototype: CanvasCaptureMediaStreamTrack; + new(): CanvasCaptureMediaStreamTrack; +}; + +interface CanvasCompositing { + globalAlpha: number; + globalCompositeOperation: GlobalCompositeOperation; +} + +interface CanvasDrawImage { + drawImage(image: CanvasImageSource, dx: number, dy: number): void; + drawImage(image: CanvasImageSource, dx: number, dy: number, dw: number, dh: number): void; + drawImage(image: CanvasImageSource, sx: number, sy: number, sw: number, sh: number, dx: number, dy: number, dw: number, dh: number): void; +} + +interface CanvasDrawPath { + beginPath(): void; + clip(fillRule?: CanvasFillRule): void; + clip(path: Path2D, fillRule?: CanvasFillRule): void; + fill(fillRule?: CanvasFillRule): void; + fill(path: Path2D, fillRule?: CanvasFillRule): void; + isPointInPath(x: number, y: number, fillRule?: CanvasFillRule): boolean; + isPointInPath(path: Path2D, x: number, y: number, fillRule?: CanvasFillRule): boolean; + isPointInStroke(x: number, y: number): boolean; + isPointInStroke(path: Path2D, x: number, y: number): boolean; + stroke(): void; + stroke(path: Path2D): void; +} + +interface CanvasFillStrokeStyles { + fillStyle: string | CanvasGradient | CanvasPattern; + strokeStyle: string | CanvasGradient | CanvasPattern; + createConicGradient(startAngle: number, x: number, y: number): CanvasGradient; + createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient; + createPattern(image: CanvasImageSource, repetition: string | null): CanvasPattern | null; + createRadialGradient(x0: number, y0: number, r0: number, x1: number, y1: number, r1: number): CanvasGradient; +} + +interface CanvasFilters { + filter: string; +} + +/** An opaque object describing a gradient. It is returned by the methods CanvasRenderingContext2D.createLinearGradient() or CanvasRenderingContext2D.createRadialGradient(). */ +interface CanvasGradient { + /** + * Adds a color stop with the given color to the gradient at the given offset. 0.0 is the offset at one end of the gradient, 1.0 is the offset at the other end. + * + * Throws an "IndexSizeError" DOMException if the offset is out of range. Throws a "SyntaxError" DOMException if the color cannot be parsed. + */ + addColorStop(offset: number, color: string): void; +} + +declare var CanvasGradient: { + prototype: CanvasGradient; + new(): CanvasGradient; +}; + +interface CanvasImageData { + createImageData(sw: number, sh: number, settings?: ImageDataSettings): ImageData; + createImageData(imagedata: ImageData): ImageData; + getImageData(sx: number, sy: number, sw: number, sh: number, settings?: ImageDataSettings): ImageData; + putImageData(imagedata: ImageData, dx: number, dy: number): void; + putImageData(imagedata: ImageData, dx: number, dy: number, dirtyX: number, dirtyY: number, dirtyWidth: number, dirtyHeight: number): void; +} + +interface CanvasImageSmoothing { + imageSmoothingEnabled: boolean; + imageSmoothingQuality: ImageSmoothingQuality; +} + +interface CanvasPath { + arc(x: number, y: number, radius: number, startAngle: number, endAngle: number, counterclockwise?: boolean): void; + arcTo(x1: number, y1: number, x2: number, y2: number, radius: number): void; + bezierCurveTo(cp1x: number, cp1y: number, cp2x: number, cp2y: number, x: number, y: number): void; + closePath(): void; + ellipse(x: number, y: number, radiusX: number, radiusY: number, rotation: number, startAngle: number, endAngle: number, counterclockwise?: boolean): void; + lineTo(x: number, y: number): void; + moveTo(x: number, y: number): void; + quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void; + rect(x: number, y: number, w: number, h: number): void; + roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | (number | DOMPointInit)[]): void; +} + +interface CanvasPathDrawingStyles { + lineCap: CanvasLineCap; + lineDashOffset: number; + lineJoin: CanvasLineJoin; + lineWidth: number; + miterLimit: number; + getLineDash(): number[]; + setLineDash(segments: number[]): void; +} + +/** An opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method. */ +interface CanvasPattern { + /** Sets the transformation matrix that will be used when rendering the pattern during a fill or stroke painting operation. */ + setTransform(transform?: DOMMatrix2DInit): void; +} + +declare var CanvasPattern: { + prototype: CanvasPattern; + new(): CanvasPattern; +}; + +interface CanvasRect { + clearRect(x: number, y: number, w: number, h: number): void; + fillRect(x: number, y: number, w: number, h: number): void; + strokeRect(x: number, y: number, w: number, h: number): void; +} + +/** The CanvasRenderingContext2D interface, part of the Canvas API, provides the 2D rendering context for the drawing surface of a element. It is used for drawing shapes, text, images, and other objects. */ +interface CanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform, CanvasUserInterface { + readonly canvas: HTMLCanvasElement; + getContextAttributes(): CanvasRenderingContext2DSettings; +} + +declare var CanvasRenderingContext2D: { + prototype: CanvasRenderingContext2D; + new(): CanvasRenderingContext2D; +}; + +interface CanvasShadowStyles { + shadowBlur: number; + shadowColor: string; + shadowOffsetX: number; + shadowOffsetY: number; +} + +interface CanvasState { + restore(): void; + save(): void; +} + +interface CanvasText { + fillText(text: string, x: number, y: number, maxWidth?: number): void; + measureText(text: string): TextMetrics; + strokeText(text: string, x: number, y: number, maxWidth?: number): void; +} + +interface CanvasTextDrawingStyles { + direction: CanvasDirection; + font: string; + fontKerning: CanvasFontKerning; + textAlign: CanvasTextAlign; + textBaseline: CanvasTextBaseline; +} + +interface CanvasTransform { + getTransform(): DOMMatrix; + resetTransform(): void; + rotate(angle: number): void; + scale(x: number, y: number): void; + setTransform(a: number, b: number, c: number, d: number, e: number, f: number): void; + setTransform(transform?: DOMMatrix2DInit): void; + transform(a: number, b: number, c: number, d: number, e: number, f: number): void; + translate(x: number, y: number): void; +} + +interface CanvasUserInterface { + drawFocusIfNeeded(element: Element): void; + drawFocusIfNeeded(path: Path2D, element: Element): void; +} + +/** The ChannelMergerNode interface, often used in conjunction with its opposite, ChannelSplitterNode, reunites different mono inputs into a single output. Each input is used to fill a channel of the output. This is useful for accessing each channels separately, e.g. for performing channel mixing where gain must be separately controlled on each channel. */ +interface ChannelMergerNode extends AudioNode { +} + +declare var ChannelMergerNode: { + prototype: ChannelMergerNode; + new(context: BaseAudioContext, options?: ChannelMergerOptions): ChannelMergerNode; +}; + +/** The ChannelSplitterNode interface, often used in conjunction with its opposite, ChannelMergerNode, separates the different channels of an audio source into a set of mono outputs. This is useful for accessing each channel separately, e.g. for performing channel mixing where gain must be separately controlled on each channel. */ +interface ChannelSplitterNode extends AudioNode { +} + +declare var ChannelSplitterNode: { + prototype: ChannelSplitterNode; + new(context: BaseAudioContext, options?: ChannelSplitterOptions): ChannelSplitterNode; +}; + +/** The CharacterData abstract interface represents a Node object that contains characters. This is an abstract interface, meaning there aren't any object of type CharacterData: it is implemented by other interfaces, like Text, Comment, or ProcessingInstruction which aren't abstract. */ +interface CharacterData extends Node, ChildNode, NonDocumentTypeChildNode { + data: string; + readonly length: number; + readonly ownerDocument: Document; + appendData(data: string): void; + deleteData(offset: number, count: number): void; + insertData(offset: number, data: string): void; + replaceData(offset: number, count: number, data: string): void; + substringData(offset: number, count: number): string; +} + +declare var CharacterData: { + prototype: CharacterData; + new(): CharacterData; +}; + +interface ChildNode extends Node { + /** + * Inserts nodes just after node, while replacing strings in nodes with equivalent Text nodes. + * + * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. + */ + after(...nodes: (Node | string)[]): void; + /** + * Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes. + * + * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. + */ + before(...nodes: (Node | string)[]): void; + /** Removes node. */ + remove(): void; + /** + * Replaces node with nodes, while replacing strings in nodes with equivalent Text nodes. + * + * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. + */ + replaceWith(...nodes: (Node | string)[]): void; +} + +/** @deprecated */ +interface ClientRect extends DOMRect { +} + +/** Available only in secure contexts. */ +interface Clipboard extends EventTarget { + read(): Promise; + readText(): Promise; + write(data: ClipboardItems): Promise; + writeText(data: string): Promise; +} + +declare var Clipboard: { + prototype: Clipboard; + new(): Clipboard; +}; + +/** Events providing information related to modification of the clipboard, that is cut, copy, and paste events. */ +interface ClipboardEvent extends Event { + readonly clipboardData: DataTransfer | null; +} + +declare var ClipboardEvent: { + prototype: ClipboardEvent; + new(type: string, eventInitDict?: ClipboardEventInit): ClipboardEvent; +}; + +/** Available only in secure contexts. */ +interface ClipboardItem { + readonly presentationStyle: PresentationStyle; + readonly types: ReadonlyArray; + getType(type: string): Promise; +} + +declare var ClipboardItem: { + prototype: ClipboardItem; + new(items: Record>, options?: ClipboardItemOptions): ClipboardItem; +}; + +/** A CloseEvent is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object's onclose attribute. */ +interface CloseEvent extends Event { + /** Returns the WebSocket connection close code provided by the server. */ + readonly code: number; + /** Returns the WebSocket connection close reason provided by the server. */ + readonly reason: string; + /** Returns true if the connection closed cleanly; false otherwise. */ + readonly wasClean: boolean; +} + +declare var CloseEvent: { + prototype: CloseEvent; + new(type: string, eventInitDict?: CloseEventInit): CloseEvent; +}; + +/** Textual notations within markup; although it is generally not visually shown, such comments are available to be read in the source view. */ +interface Comment extends CharacterData { +} + +declare var Comment: { + prototype: Comment; + new(data?: string): Comment; +}; + +/** The DOM CompositionEvent represents events that occur due to the user indirectly entering text. */ +interface CompositionEvent extends UIEvent { + readonly data: string; + /** @deprecated */ + initCompositionEvent(typeArg: string, bubblesArg?: boolean, cancelableArg?: boolean, viewArg?: WindowProxy | null, dataArg?: string): void; +} + +declare var CompositionEvent: { + prototype: CompositionEvent; + new(type: string, eventInitDict?: CompositionEventInit): CompositionEvent; +}; + +interface ConstantSourceNode extends AudioScheduledSourceNode { + readonly offset: AudioParam; + addEventListener(type: K, listener: (this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var ConstantSourceNode: { + prototype: ConstantSourceNode; + new(context: BaseAudioContext, options?: ConstantSourceOptions): ConstantSourceNode; +}; + +/** An AudioNode that performs a Linear Convolution on a given AudioBuffer, often used to achieve a reverb effect. A ConvolverNode always has exactly one input and one output. */ +interface ConvolverNode extends AudioNode { + buffer: AudioBuffer | null; + normalize: boolean; +} + +declare var ConvolverNode: { + prototype: ConvolverNode; + new(context: BaseAudioContext, options?: ConvolverOptions): ConvolverNode; +}; + +/** This Streams API interface provides\xa0a built-in byte length queuing strategy that can be used when constructing streams. */ +interface CountQueuingStrategy extends QueuingStrategy { + readonly highWaterMark: number; + readonly size: QueuingStrategySize; +} + +declare var CountQueuingStrategy: { + prototype: CountQueuingStrategy; + new(init: QueuingStrategyInit): CountQueuingStrategy; +}; + +/** Available only in secure contexts. */ +interface Credential { + readonly id: string; + readonly type: string; +} + +declare var Credential: { + prototype: Credential; + new(): Credential; +}; + +/** Available only in secure contexts. */ +interface CredentialsContainer { + create(options?: CredentialCreationOptions): Promise; + get(options?: CredentialRequestOptions): Promise; + preventSilentAccess(): Promise; + store(credential: Credential): Promise; +} + +declare var CredentialsContainer: { + prototype: CredentialsContainer; + new(): CredentialsContainer; +}; + +/** Basic cryptography features available in the current context. It allows access to a cryptographically strong random number generator and to cryptographic primitives. */ +interface Crypto { + /** Available only in secure contexts. */ + readonly subtle: SubtleCrypto; + getRandomValues(array: T): T; + /** Available only in secure contexts. */ + randomUUID(): \`\${string}-\${string}-\${string}-\${string}-\${string}\`; +} + +declare var Crypto: { + prototype: Crypto; + new(): Crypto; +}; + +/** + * The CryptoKey dictionary of the Web Crypto API represents a cryptographic key. + * Available only in secure contexts. + */ +interface CryptoKey { + readonly algorithm: KeyAlgorithm; + readonly extractable: boolean; + readonly type: KeyType; + readonly usages: KeyUsage[]; +} + +declare var CryptoKey: { + prototype: CryptoKey; + new(): CryptoKey; +}; + +interface CustomElementRegistry { + define(name: string, constructor: CustomElementConstructor, options?: ElementDefinitionOptions): void; + get(name: string): CustomElementConstructor | undefined; + upgrade(root: Node): void; + whenDefined(name: string): Promise; +} + +declare var CustomElementRegistry: { + prototype: CustomElementRegistry; + new(): CustomElementRegistry; +}; + +interface CustomEvent extends Event { + /** Returns any custom data event was created with. Typically used for synthetic events. */ + readonly detail: T; + /** @deprecated */ + initCustomEvent(type: string, bubbles?: boolean, cancelable?: boolean, detail?: T): void; +} + +declare var CustomEvent: { + prototype: CustomEvent; + new(type: string, eventInitDict?: CustomEventInit): CustomEvent; +}; + +/** An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API. */ +interface DOMException extends Error { + /** @deprecated */ + readonly code: number; + readonly message: string; + readonly name: string; + readonly INDEX_SIZE_ERR: 1; + readonly DOMSTRING_SIZE_ERR: 2; + readonly HIERARCHY_REQUEST_ERR: 3; + readonly WRONG_DOCUMENT_ERR: 4; + readonly INVALID_CHARACTER_ERR: 5; + readonly NO_DATA_ALLOWED_ERR: 6; + readonly NO_MODIFICATION_ALLOWED_ERR: 7; + readonly NOT_FOUND_ERR: 8; + readonly NOT_SUPPORTED_ERR: 9; + readonly INUSE_ATTRIBUTE_ERR: 10; + readonly INVALID_STATE_ERR: 11; + readonly SYNTAX_ERR: 12; + readonly INVALID_MODIFICATION_ERR: 13; + readonly NAMESPACE_ERR: 14; + readonly INVALID_ACCESS_ERR: 15; + readonly VALIDATION_ERR: 16; + readonly TYPE_MISMATCH_ERR: 17; + readonly SECURITY_ERR: 18; + readonly NETWORK_ERR: 19; + readonly ABORT_ERR: 20; + readonly URL_MISMATCH_ERR: 21; + readonly QUOTA_EXCEEDED_ERR: 22; + readonly TIMEOUT_ERR: 23; + readonly INVALID_NODE_TYPE_ERR: 24; + readonly DATA_CLONE_ERR: 25; +} + +declare var DOMException: { + prototype: DOMException; + new(message?: string, name?: string): DOMException; + readonly INDEX_SIZE_ERR: 1; + readonly DOMSTRING_SIZE_ERR: 2; + readonly HIERARCHY_REQUEST_ERR: 3; + readonly WRONG_DOCUMENT_ERR: 4; + readonly INVALID_CHARACTER_ERR: 5; + readonly NO_DATA_ALLOWED_ERR: 6; + readonly NO_MODIFICATION_ALLOWED_ERR: 7; + readonly NOT_FOUND_ERR: 8; + readonly NOT_SUPPORTED_ERR: 9; + readonly INUSE_ATTRIBUTE_ERR: 10; + readonly INVALID_STATE_ERR: 11; + readonly SYNTAX_ERR: 12; + readonly INVALID_MODIFICATION_ERR: 13; + readonly NAMESPACE_ERR: 14; + readonly INVALID_ACCESS_ERR: 15; + readonly VALIDATION_ERR: 16; + readonly TYPE_MISMATCH_ERR: 17; + readonly SECURITY_ERR: 18; + readonly NETWORK_ERR: 19; + readonly ABORT_ERR: 20; + readonly URL_MISMATCH_ERR: 21; + readonly QUOTA_EXCEEDED_ERR: 22; + readonly TIMEOUT_ERR: 23; + readonly INVALID_NODE_TYPE_ERR: 24; + readonly DATA_CLONE_ERR: 25; +}; + +/** An object providing methods which are not dependent on any particular document. Such an object is returned by the Document.implementation property. */ +interface DOMImplementation { + createDocument(namespace: string | null, qualifiedName: string | null, doctype?: DocumentType | null): XMLDocument; + createDocumentType(qualifiedName: string, publicId: string, systemId: string): DocumentType; + createHTMLDocument(title?: string): Document; + /** @deprecated */ + hasFeature(...args: any[]): true; +} + +declare var DOMImplementation: { + prototype: DOMImplementation; + new(): DOMImplementation; +}; + +interface DOMMatrix extends DOMMatrixReadOnly { + a: number; + b: number; + c: number; + d: number; + e: number; + f: number; + m11: number; + m12: number; + m13: number; + m14: number; + m21: number; + m22: number; + m23: number; + m24: number; + m31: number; + m32: number; + m33: number; + m34: number; + m41: number; + m42: number; + m43: number; + m44: number; + invertSelf(): DOMMatrix; + multiplySelf(other?: DOMMatrixInit): DOMMatrix; + preMultiplySelf(other?: DOMMatrixInit): DOMMatrix; + rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix; + rotateFromVectorSelf(x?: number, y?: number): DOMMatrix; + rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; + scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; + scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; + setMatrixValue(transformList: string): DOMMatrix; + skewXSelf(sx?: number): DOMMatrix; + skewYSelf(sy?: number): DOMMatrix; + translateSelf(tx?: number, ty?: number, tz?: number): DOMMatrix; +} + +declare var DOMMatrix: { + prototype: DOMMatrix; + new(init?: string | number[]): DOMMatrix; + fromFloat32Array(array32: Float32Array): DOMMatrix; + fromFloat64Array(array64: Float64Array): DOMMatrix; + fromMatrix(other?: DOMMatrixInit): DOMMatrix; +}; + +type SVGMatrix = DOMMatrix; +declare var SVGMatrix: typeof DOMMatrix; + +type WebKitCSSMatrix = DOMMatrix; +declare var WebKitCSSMatrix: typeof DOMMatrix; + +interface DOMMatrixReadOnly { + readonly a: number; + readonly b: number; + readonly c: number; + readonly d: number; + readonly e: number; + readonly f: number; + readonly is2D: boolean; + readonly isIdentity: boolean; + readonly m11: number; + readonly m12: number; + readonly m13: number; + readonly m14: number; + readonly m21: number; + readonly m22: number; + readonly m23: number; + readonly m24: number; + readonly m31: number; + readonly m32: number; + readonly m33: number; + readonly m34: number; + readonly m41: number; + readonly m42: number; + readonly m43: number; + readonly m44: number; + flipX(): DOMMatrix; + flipY(): DOMMatrix; + inverse(): DOMMatrix; + multiply(other?: DOMMatrixInit): DOMMatrix; + rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; + rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix; + rotateFromVector(x?: number, y?: number): DOMMatrix; + scale(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; + scale3d(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; + /** @deprecated */ + scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix; + skewX(sx?: number): DOMMatrix; + skewY(sy?: number): DOMMatrix; + toFloat32Array(): Float32Array; + toFloat64Array(): Float64Array; + toJSON(): any; + transformPoint(point?: DOMPointInit): DOMPoint; + translate(tx?: number, ty?: number, tz?: number): DOMMatrix; + toString(): string; +} + +declare var DOMMatrixReadOnly: { + prototype: DOMMatrixReadOnly; + new(init?: string | number[]): DOMMatrixReadOnly; + fromFloat32Array(array32: Float32Array): DOMMatrixReadOnly; + fromFloat64Array(array64: Float64Array): DOMMatrixReadOnly; + fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly; + toString(): string; +}; + +/** Provides the ability to parse XML or HTML source code from a string into a DOM Document. */ +interface DOMParser { + /** + * Parses string using either the HTML or XML parser, according to type, and returns the resulting Document. type can be "text/html" (which will invoke the HTML parser), or any of "text/xml", "application/xml", "application/xhtml+xml", or "image/svg+xml" (which will invoke the XML parser). + * + * For the XML parser, if string cannot be parsed, then the returned Document will contain elements describing the resulting error. + * + * Note that script elements are not evaluated during parsing, and the resulting document's encoding will always be UTF-8. + * + * Values other than the above for type will cause a TypeError exception to be thrown. + */ + parseFromString(string: string, type: DOMParserSupportedType): Document; +} + +declare var DOMParser: { + prototype: DOMParser; + new(): DOMParser; +}; + +interface DOMPoint extends DOMPointReadOnly { + w: number; + x: number; + y: number; + z: number; +} + +declare var DOMPoint: { + prototype: DOMPoint; + new(x?: number, y?: number, z?: number, w?: number): DOMPoint; + fromPoint(other?: DOMPointInit): DOMPoint; +}; + +type SVGPoint = DOMPoint; +declare var SVGPoint: typeof DOMPoint; + +interface DOMPointReadOnly { + readonly w: number; + readonly x: number; + readonly y: number; + readonly z: number; + matrixTransform(matrix?: DOMMatrixInit): DOMPoint; + toJSON(): any; +} + +declare var DOMPointReadOnly: { + prototype: DOMPointReadOnly; + new(x?: number, y?: number, z?: number, w?: number): DOMPointReadOnly; + fromPoint(other?: DOMPointInit): DOMPointReadOnly; +}; + +interface DOMQuad { + readonly p1: DOMPoint; + readonly p2: DOMPoint; + readonly p3: DOMPoint; + readonly p4: DOMPoint; + getBounds(): DOMRect; + toJSON(): any; +} + +declare var DOMQuad: { + prototype: DOMQuad; + new(p1?: DOMPointInit, p2?: DOMPointInit, p3?: DOMPointInit, p4?: DOMPointInit): DOMQuad; + fromQuad(other?: DOMQuadInit): DOMQuad; + fromRect(other?: DOMRectInit): DOMQuad; +}; + +interface DOMRect extends DOMRectReadOnly { + height: number; + width: number; + x: number; + y: number; +} + +declare var DOMRect: { + prototype: DOMRect; + new(x?: number, y?: number, width?: number, height?: number): DOMRect; + fromRect(other?: DOMRectInit): DOMRect; +}; + +type SVGRect = DOMRect; +declare var SVGRect: typeof DOMRect; + +interface DOMRectList { + readonly length: number; + item(index: number): DOMRect | null; + [index: number]: DOMRect; +} + +declare var DOMRectList: { + prototype: DOMRectList; + new(): DOMRectList; +}; + +interface DOMRectReadOnly { + readonly bottom: number; + readonly height: number; + readonly left: number; + readonly right: number; + readonly top: number; + readonly width: number; + readonly x: number; + readonly y: number; + toJSON(): any; +} + +declare var DOMRectReadOnly: { + prototype: DOMRectReadOnly; + new(x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly; + fromRect(other?: DOMRectInit): DOMRectReadOnly; +}; + +/** A type returned by some APIs which contains a list of DOMString (strings). */ +interface DOMStringList { + /** Returns the number of strings in strings. */ + readonly length: number; + /** Returns true if strings contains string, and false otherwise. */ + contains(string: string): boolean; + /** Returns the string with index index from strings. */ + item(index: number): string | null; + [index: number]: string; +} + +declare var DOMStringList: { + prototype: DOMStringList; + new(): DOMStringList; +}; + +/** Used by the dataset\xa0HTML\xa0attribute to represent data for custom attributes added to elements. */ +interface DOMStringMap { + [name: string]: string | undefined; +} + +declare var DOMStringMap: { + prototype: DOMStringMap; + new(): DOMStringMap; +}; + +/** A set of space-separated tokens. Such a set is returned by Element.classList, HTMLLinkElement.relList, HTMLAnchorElement.relList, HTMLAreaElement.relList, HTMLIframeElement.sandbox, or HTMLOutputElement.htmlFor. It is indexed beginning with 0 as with JavaScript Array objects. DOMTokenList is always case-sensitive. */ +interface DOMTokenList { + /** Returns the number of tokens. */ + readonly length: number; + /** + * Returns the associated set as string. + * + * Can be set, to change the associated attribute. + */ + value: string; + toString(): string; + /** + * Adds all arguments passed, except those already present. + * + * Throws a "SyntaxError" DOMException if one of the arguments is the empty string. + * + * Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace. + */ + add(...tokens: string[]): void; + /** Returns true if token is present, and false otherwise. */ + contains(token: string): boolean; + /** Returns the token with index index. */ + item(index: number): string | null; + /** + * Removes arguments passed, if they are present. + * + * Throws a "SyntaxError" DOMException if one of the arguments is the empty string. + * + * Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace. + */ + remove(...tokens: string[]): void; + /** + * Replaces token with newToken. + * + * Returns true if token was replaced with newToken, and false otherwise. + * + * Throws a "SyntaxError" DOMException if one of the arguments is the empty string. + * + * Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace. + */ + replace(token: string, newToken: string): boolean; + /** + * Returns true if token is in the associated attribute's supported tokens. Returns false otherwise. + * + * Throws a TypeError if the associated attribute has no supported tokens defined. + */ + supports(token: string): boolean; + /** + * If force is not given, "toggles" token, removing it if it's present and adding it if it's not present. If force is true, adds token (same as add()). If force is false, removes token (same as remove()). + * + * Returns true if token is now present, and false otherwise. + * + * Throws a "SyntaxError" DOMException if token is empty. + * + * Throws an "InvalidCharacterError" DOMException if token contains any spaces. + */ + toggle(token: string, force?: boolean): boolean; + forEach(callbackfn: (value: string, key: number, parent: DOMTokenList) => void, thisArg?: any): void; + [index: number]: string; +} + +declare var DOMTokenList: { + prototype: DOMTokenList; + new(): DOMTokenList; +}; + +/** Used to hold the data that is being dragged during a drag and drop operation. It may hold one or more data items, each of one or more data types. For more information about drag and drop, see HTML Drag and Drop API. */ +interface DataTransfer { + /** + * Returns the kind of operation that is currently selected. If the kind of operation isn't one of those that is allowed by the effectAllowed attribute, then the operation will fail. + * + * Can be set, to change the selected operation. + * + * The possible values are "none", "copy", "link", and "move". + */ + dropEffect: "none" | "copy" | "link" | "move"; + /** + * Returns the kinds of operations that are to be allowed. + * + * Can be set (during the dragstart event), to change the allowed operations. + * + * The possible values are "none", "copy", "copyLink", "copyMove", "link", "linkMove", "move", "all", and "uninitialized", + */ + effectAllowed: "none" | "copy" | "copyLink" | "copyMove" | "link" | "linkMove" | "move" | "all" | "uninitialized"; + /** Returns a FileList of the files being dragged, if any. */ + readonly files: FileList; + /** Returns a DataTransferItemList object, with the drag data. */ + readonly items: DataTransferItemList; + /** Returns a frozen array listing the formats that were set in the dragstart event. In addition, if any files are being dragged, then one of the types will be the string "Files". */ + readonly types: ReadonlyArray; + /** Removes the data of the specified formats. Removes all data if the argument is omitted. */ + clearData(format?: string): void; + /** Returns the specified data. If there is no such data, returns the empty string. */ + getData(format: string): string; + /** Adds the specified data. */ + setData(format: string, data: string): void; + /** Uses the given element to update the drag feedback, replacing any previously specified feedback. */ + setDragImage(image: Element, x: number, y: number): void; +} + +declare var DataTransfer: { + prototype: DataTransfer; + new(): DataTransfer; +}; + +/** One drag data item. During a drag operation, each drag event has a dataTransfer property which contains a list of drag data items. Each item in the list is a DataTransferItem object. */ +interface DataTransferItem { + /** Returns the drag data item kind, one of: "string", "file". */ + readonly kind: string; + /** Returns the drag data item type string. */ + readonly type: string; + /** Returns a File object, if the drag data item kind is File. */ + getAsFile(): File | null; + /** Invokes the callback with the string data as the argument, if the drag data item kind is text. */ + getAsString(callback: FunctionStringCallback | null): void; + webkitGetAsEntry(): FileSystemEntry | null; +} + +declare var DataTransferItem: { + prototype: DataTransferItem; + new(): DataTransferItem; +}; + +/** A list of DataTransferItem objects representing items being dragged. During a drag operation, each DragEvent has a dataTransfer property and that property is a DataTransferItemList. */ +interface DataTransferItemList { + /** Returns the number of items in the drag data store. */ + readonly length: number; + /** Adds a new entry for the given data to the drag data store. If the data is plain text then a type string has to be provided also. */ + add(data: string, type: string): DataTransferItem | null; + add(data: File): DataTransferItem | null; + /** Removes all the entries in the drag data store. */ + clear(): void; + /** Removes the indexth entry in the drag data store. */ + remove(index: number): void; + [index: number]: DataTransferItem; +} + +declare var DataTransferItemList: { + prototype: DataTransferItemList; + new(): DataTransferItemList; +}; + +/** A delay-line; an AudioNode audio-processing module that causes a delay between the arrival of an input data and its propagation to the output. */ +interface DelayNode extends AudioNode { + readonly delayTime: AudioParam; +} + +declare var DelayNode: { + prototype: DelayNode; + new(context: BaseAudioContext, options?: DelayOptions): DelayNode; +}; + +/** + * The DeviceMotionEvent provides web developers with information about the speed of changes for the device's position and orientation. + * Available only in secure contexts. + */ +interface DeviceMotionEvent extends Event { + readonly acceleration: DeviceMotionEventAcceleration | null; + readonly accelerationIncludingGravity: DeviceMotionEventAcceleration | null; + readonly interval: number; + readonly rotationRate: DeviceMotionEventRotationRate | null; +} + +declare var DeviceMotionEvent: { + prototype: DeviceMotionEvent; + new(type: string, eventInitDict?: DeviceMotionEventInit): DeviceMotionEvent; +}; + +/** Available only in secure contexts. */ +interface DeviceMotionEventAcceleration { + readonly x: number | null; + readonly y: number | null; + readonly z: number | null; +} + +/** Available only in secure contexts. */ +interface DeviceMotionEventRotationRate { + readonly alpha: number | null; + readonly beta: number | null; + readonly gamma: number | null; +} + +/** + * The DeviceOrientationEvent provides web developers with information from the physical orientation of the device running the web page. + * Available only in secure contexts. + */ +interface DeviceOrientationEvent extends Event { + readonly absolute: boolean; + readonly alpha: number | null; + readonly beta: number | null; + readonly gamma: number | null; +} + +declare var DeviceOrientationEvent: { + prototype: DeviceOrientationEvent; + new(type: string, eventInitDict?: DeviceOrientationEventInit): DeviceOrientationEvent; +}; + +interface DocumentEventMap extends GlobalEventHandlersEventMap { + "DOMContentLoaded": Event; + "fullscreenchange": Event; + "fullscreenerror": Event; + "pointerlockchange": Event; + "pointerlockerror": Event; + "readystatechange": Event; + "visibilitychange": Event; +} + +/** Any web page loaded in the browser and serves as an entry point into the web page's content, which is the DOM tree. */ +interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEventHandlers, NonElementParentNode, ParentNode, XPathEvaluatorBase { + /** Sets or gets the URL for the current document. */ + readonly URL: string; + /** + * Sets or gets the color of all active links in the document. + * @deprecated + */ + alinkColor: string; + /** + * Returns a reference to the collection of elements contained by the object. + * @deprecated + */ + readonly all: HTMLAllCollection; + /** + * Retrieves a collection of all a objects that have a name and/or id property. Objects in this collection are in HTML source order. + * @deprecated + */ + readonly anchors: HTMLCollectionOf; + /** + * Retrieves a collection of all applet objects in the document. + * @deprecated + */ + readonly applets: HTMLCollection; + /** + * Deprecated. Sets or retrieves a value that indicates the background color behind the object. + * @deprecated + */ + bgColor: string; + /** Specifies the beginning and end of the document body. */ + body: HTMLElement; + /** Returns document's encoding. */ + readonly characterSet: string; + /** + * Gets or sets the character set used to encode the object. + * @deprecated This is a legacy alias of \`characterSet\`. + */ + readonly charset: string; + /** Gets a value that indicates whether standards-compliant mode is switched on for the object. */ + readonly compatMode: string; + /** Returns document's content type. */ + readonly contentType: string; + /** + * Returns the HTTP cookies that apply to the Document. If there are no cookies or cookies can't be applied to this resource, the empty string will be returned. + * + * Can be set, to add a new cookie to the element's set of HTTP cookies. + * + * If the contents are sandboxed into a unique origin (e.g. in an iframe with the sandbox attribute), a "SecurityError" DOMException will be thrown on getting and setting. + */ + cookie: string; + /** + * Returns the script element, or the SVG script element, that is currently executing, as long as the element represents a classic script. In the case of reentrant script execution, returns the one that most recently started executing amongst those that have not yet finished executing. + * + * Returns null if the Document is not currently executing a script or SVG script element (e.g., because the running script is an event handler, or a timeout), or if the currently executing script or SVG script element represents a module script. + */ + readonly currentScript: HTMLOrSVGScriptElement | null; + /** Returns the Window object of the active document. */ + readonly defaultView: (WindowProxy & typeof globalThis) | null; + /** Sets or gets a value that indicates whether the document can be edited. */ + designMode: string; + /** Sets or retrieves a value that indicates the reading order of the object. */ + dir: string; + /** Gets an object representing the document type declaration associated with the current document. */ + readonly doctype: DocumentType | null; + /** Gets a reference to the root node of the document. */ + readonly documentElement: HTMLElement; + /** Returns document's URL. */ + readonly documentURI: string; + /** + * Sets or gets the security domain of the document. + * @deprecated + */ + domain: string; + /** Retrieves a collection of all embed objects in the document. */ + readonly embeds: HTMLCollectionOf; + /** + * Sets or gets the foreground (text) color of the document. + * @deprecated + */ + fgColor: string; + /** Retrieves a collection, in source order, of all form objects in the document. */ + readonly forms: HTMLCollectionOf; + /** @deprecated */ + readonly fullscreen: boolean; + /** Returns true if document has the ability to display elements fullscreen and fullscreen is supported, or false otherwise. */ + readonly fullscreenEnabled: boolean; + /** Returns the head element. */ + readonly head: HTMLHeadElement; + readonly hidden: boolean; + /** Retrieves a collection, in source order, of img objects in the document. */ + readonly images: HTMLCollectionOf; + /** Gets the implementation object of the current document. */ + readonly implementation: DOMImplementation; + /** + * Returns the character encoding used to create the webpage that is loaded into the document object. + * @deprecated This is a legacy alias of \`characterSet\`. + */ + readonly inputEncoding: string; + /** Gets the date that the page was last modified, if the page supplies one. */ + readonly lastModified: string; + /** + * Sets or gets the color of the document links. + * @deprecated + */ + linkColor: string; + /** Retrieves a collection of all a objects that specify the href property and all area objects in the document. */ + readonly links: HTMLCollectionOf; + /** Contains information about the current URL. */ + get location(): Location; + set location(href: string | Location); + onfullscreenchange: ((this: Document, ev: Event) => any) | null; + onfullscreenerror: ((this: Document, ev: Event) => any) | null; + onpointerlockchange: ((this: Document, ev: Event) => any) | null; + onpointerlockerror: ((this: Document, ev: Event) => any) | null; + /** + * Fires when the state of the object has changed. + * @param ev The event + */ + onreadystatechange: ((this: Document, ev: Event) => any) | null; + onvisibilitychange: ((this: Document, ev: Event) => any) | null; + readonly ownerDocument: null; + readonly pictureInPictureEnabled: boolean; + /** Return an HTMLCollection of the embed elements in the Document. */ + readonly plugins: HTMLCollectionOf; + /** Retrieves a value that indicates the current state of the object. */ + readonly readyState: DocumentReadyState; + /** Gets the URL of the location that referred the user to the current page. */ + readonly referrer: string; + /** @deprecated */ + readonly rootElement: SVGSVGElement | null; + /** Retrieves a collection of all script objects in the document. */ + readonly scripts: HTMLCollectionOf; + readonly scrollingElement: Element | null; + readonly timeline: DocumentTimeline; + /** Contains the title of the document. */ + title: string; + readonly visibilityState: DocumentVisibilityState; + /** + * Sets or gets the color of the links that the user has visited. + * @deprecated + */ + vlinkColor: string; + /** + * Moves node from another document and returns it. + * + * If node is a document, throws a "NotSupportedError" DOMException or, if node is a shadow root, throws a "HierarchyRequestError" DOMException. + */ + adoptNode(node: T): T; + /** @deprecated */ + captureEvents(): void; + /** @deprecated */ + caretRangeFromPoint(x: number, y: number): Range | null; + /** @deprecated */ + clear(): void; + /** Closes an output stream and forces the sent data to display. */ + close(): void; + /** + * Creates an attribute object with a specified name. + * @param name String that sets the attribute object's name. + */ + createAttribute(localName: string): Attr; + createAttributeNS(namespace: string | null, qualifiedName: string): Attr; + /** Returns a CDATASection node whose data is data. */ + createCDATASection(data: string): CDATASection; + /** + * Creates a comment object with the specified data. + * @param data Sets the comment object's data. + */ + createComment(data: string): Comment; + /** Creates a new document. */ + createDocumentFragment(): DocumentFragment; + /** + * Creates an instance of the element for the specified tag. + * @param tagName The name of an element. + */ + createElement(tagName: K, options?: ElementCreationOptions): HTMLElementTagNameMap[K]; + /** @deprecated */ + createElement(tagName: K, options?: ElementCreationOptions): HTMLElementDeprecatedTagNameMap[K]; + createElement(tagName: string, options?: ElementCreationOptions): HTMLElement; + /** + * Returns an element with namespace namespace. Its namespace prefix will be everything before ":" (U+003E) in qualifiedName or null. Its local name will be everything after ":" (U+003E) in qualifiedName or qualifiedName. + * + * If localName does not match the Name production an "InvalidCharacterError" DOMException will be thrown. + * + * If one of the following conditions is true a "NamespaceError" DOMException will be thrown: + * + * localName does not match the QName production. + * Namespace prefix is not null and namespace is the empty string. + * Namespace prefix is "xml" and namespace is not the XML namespace. + * qualifiedName or namespace prefix is "xmlns" and namespace is not the XMLNS namespace. + * namespace is the XMLNS namespace and neither qualifiedName nor namespace prefix is "xmlns". + * + * When supplied, options's is can be used to create a customized built-in element. + */ + createElementNS(namespaceURI: "http://www.w3.org/1999/xhtml", qualifiedName: string): HTMLElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: K): SVGElementTagNameMap[K]; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: string): SVGElement; + createElementNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", qualifiedName: K): MathMLElementTagNameMap[K]; + createElementNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", qualifiedName: string): MathMLElement; + createElementNS(namespaceURI: string | null, qualifiedName: string, options?: ElementCreationOptions): Element; + createElementNS(namespace: string | null, qualifiedName: string, options?: string | ElementCreationOptions): Element; + createEvent(eventInterface: "AnimationEvent"): AnimationEvent; + createEvent(eventInterface: "AnimationPlaybackEvent"): AnimationPlaybackEvent; + createEvent(eventInterface: "AudioProcessingEvent"): AudioProcessingEvent; + createEvent(eventInterface: "BeforeUnloadEvent"): BeforeUnloadEvent; + createEvent(eventInterface: "BlobEvent"): BlobEvent; + createEvent(eventInterface: "ClipboardEvent"): ClipboardEvent; + createEvent(eventInterface: "CloseEvent"): CloseEvent; + createEvent(eventInterface: "CompositionEvent"): CompositionEvent; + createEvent(eventInterface: "CustomEvent"): CustomEvent; + createEvent(eventInterface: "DeviceMotionEvent"): DeviceMotionEvent; + createEvent(eventInterface: "DeviceOrientationEvent"): DeviceOrientationEvent; + createEvent(eventInterface: "DragEvent"): DragEvent; + createEvent(eventInterface: "ErrorEvent"): ErrorEvent; + createEvent(eventInterface: "Event"): Event; + createEvent(eventInterface: "Events"): Event; + createEvent(eventInterface: "FocusEvent"): FocusEvent; + createEvent(eventInterface: "FontFaceSetLoadEvent"): FontFaceSetLoadEvent; + createEvent(eventInterface: "FormDataEvent"): FormDataEvent; + createEvent(eventInterface: "GamepadEvent"): GamepadEvent; + createEvent(eventInterface: "HashChangeEvent"): HashChangeEvent; + createEvent(eventInterface: "IDBVersionChangeEvent"): IDBVersionChangeEvent; + createEvent(eventInterface: "InputEvent"): InputEvent; + createEvent(eventInterface: "KeyboardEvent"): KeyboardEvent; + createEvent(eventInterface: "MIDIConnectionEvent"): MIDIConnectionEvent; + createEvent(eventInterface: "MIDIMessageEvent"): MIDIMessageEvent; + createEvent(eventInterface: "MediaEncryptedEvent"): MediaEncryptedEvent; + createEvent(eventInterface: "MediaKeyMessageEvent"): MediaKeyMessageEvent; + createEvent(eventInterface: "MediaQueryListEvent"): MediaQueryListEvent; + createEvent(eventInterface: "MediaStreamTrackEvent"): MediaStreamTrackEvent; + createEvent(eventInterface: "MessageEvent"): MessageEvent; + createEvent(eventInterface: "MouseEvent"): MouseEvent; + createEvent(eventInterface: "MouseEvents"): MouseEvent; + createEvent(eventInterface: "MutationEvent"): MutationEvent; + createEvent(eventInterface: "MutationEvents"): MutationEvent; + createEvent(eventInterface: "OfflineAudioCompletionEvent"): OfflineAudioCompletionEvent; + createEvent(eventInterface: "PageTransitionEvent"): PageTransitionEvent; + createEvent(eventInterface: "PaymentMethodChangeEvent"): PaymentMethodChangeEvent; + createEvent(eventInterface: "PaymentRequestUpdateEvent"): PaymentRequestUpdateEvent; + createEvent(eventInterface: "PictureInPictureEvent"): PictureInPictureEvent; + createEvent(eventInterface: "PointerEvent"): PointerEvent; + createEvent(eventInterface: "PopStateEvent"): PopStateEvent; + createEvent(eventInterface: "ProgressEvent"): ProgressEvent; + createEvent(eventInterface: "PromiseRejectionEvent"): PromiseRejectionEvent; + createEvent(eventInterface: "RTCDTMFToneChangeEvent"): RTCDTMFToneChangeEvent; + createEvent(eventInterface: "RTCDataChannelEvent"): RTCDataChannelEvent; + createEvent(eventInterface: "RTCErrorEvent"): RTCErrorEvent; + createEvent(eventInterface: "RTCPeerConnectionIceErrorEvent"): RTCPeerConnectionIceErrorEvent; + createEvent(eventInterface: "RTCPeerConnectionIceEvent"): RTCPeerConnectionIceEvent; + createEvent(eventInterface: "RTCTrackEvent"): RTCTrackEvent; + createEvent(eventInterface: "SecurityPolicyViolationEvent"): SecurityPolicyViolationEvent; + createEvent(eventInterface: "SpeechSynthesisErrorEvent"): SpeechSynthesisErrorEvent; + createEvent(eventInterface: "SpeechSynthesisEvent"): SpeechSynthesisEvent; + createEvent(eventInterface: "StorageEvent"): StorageEvent; + createEvent(eventInterface: "SubmitEvent"): SubmitEvent; + createEvent(eventInterface: "TouchEvent"): TouchEvent; + createEvent(eventInterface: "TrackEvent"): TrackEvent; + createEvent(eventInterface: "TransitionEvent"): TransitionEvent; + createEvent(eventInterface: "UIEvent"): UIEvent; + createEvent(eventInterface: "UIEvents"): UIEvent; + createEvent(eventInterface: "WebGLContextEvent"): WebGLContextEvent; + createEvent(eventInterface: "WheelEvent"): WheelEvent; + createEvent(eventInterface: string): Event; + /** + * Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document. + * @param root The root element or node to start traversing on. + * @param whatToShow The type of nodes or elements to appear in the node list + * @param filter A custom NodeFilter function to use. For more information, see filter. Use null for no filter. + */ + createNodeIterator(root: Node, whatToShow?: number, filter?: NodeFilter | null): NodeIterator; + /** Returns a ProcessingInstruction node whose target is target and data is data. If target does not match the Name production an "InvalidCharacterError" DOMException will be thrown. If data contains "?>" an "InvalidCharacterError" DOMException will be thrown. */ + createProcessingInstruction(target: string, data: string): ProcessingInstruction; + /** Returns an empty range object that has both of its boundary points positioned at the beginning of the document. */ + createRange(): Range; + /** + * Creates a text string from the specified value. + * @param data String that specifies the nodeValue property of the text node. + */ + createTextNode(data: string): Text; + /** + * Creates a TreeWalker object that you can use to traverse filtered lists of nodes or elements in a document. + * @param root The root element or node to start traversing on. + * @param whatToShow The type of nodes or elements to appear in the node list. For more information, see whatToShow. + * @param filter A custom NodeFilter function to use. + */ + createTreeWalker(root: Node, whatToShow?: number, filter?: NodeFilter | null): TreeWalker; + /** + * Executes a command on the current document, current selection, or the given range. + * @param commandId String that specifies the command to execute. This command can be any of the command identifiers that can be executed in script. + * @param showUI Display the user interface, defaults to false. + * @param value Value to assign. + * @deprecated + */ + execCommand(commandId: string, showUI?: boolean, value?: string): boolean; + /** Stops document's fullscreen element from being displayed fullscreen and resolves promise when done. */ + exitFullscreen(): Promise; + exitPictureInPicture(): Promise; + exitPointerLock(): void; + /** + * Returns a reference to the first object with the specified value of the ID attribute. + * @param elementId String that specifies the ID value. + */ + getElementById(elementId: string): HTMLElement | null; + /** Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes. */ + getElementsByClassName(classNames: string): HTMLCollectionOf; + /** + * Gets a collection of objects based on the value of the NAME or ID attribute. + * @param elementName Gets a collection of objects based on the value of the NAME or ID attribute. + */ + getElementsByName(elementName: string): NodeListOf; + /** + * Retrieves a collection of objects based on the specified element name. + * @param name Specifies the name of an element. + */ + getElementsByTagName(qualifiedName: K): HTMLCollectionOf; + getElementsByTagName(qualifiedName: K): HTMLCollectionOf; + getElementsByTagName(qualifiedName: K): HTMLCollectionOf; + /** @deprecated */ + getElementsByTagName(qualifiedName: K): HTMLCollectionOf; + getElementsByTagName(qualifiedName: string): HTMLCollectionOf; + /** + * If namespace and localName are "*" returns a HTMLCollection of all descendant elements. + * + * If only namespace is "*" returns a HTMLCollection of all descendant elements whose local name is localName. + * + * If only localName is "*" returns a HTMLCollection of all descendant elements whose namespace is namespace. + * + * Otherwise, returns a HTMLCollection of all descendant elements whose namespace is namespace and local name is localName. + */ + getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf; + getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf; + getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf; + getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf; + /** Returns an object representing the current selection of the document that is loaded into the object displaying a webpage. */ + getSelection(): Selection | null; + /** Gets a value indicating whether the object currently has focus. */ + hasFocus(): boolean; + hasStorageAccess(): Promise; + /** + * Returns a copy of node. If deep is true, the copy also includes the node's descendants. + * + * If node is a document or a shadow root, throws a "NotSupportedError" DOMException. + */ + importNode(node: T, deep?: boolean): T; + /** + * Opens a new window and loads a document specified by a given URL. Also, opens a new window that uses the url parameter and the name parameter to collect the output of the write method and the writeln method. + * @param url Specifies a MIME type for the document. + * @param name Specifies the name of the window. This name is used as the value for the TARGET attribute on a form or an anchor element. + * @param features Contains a list of items separated by commas. Each item consists of an option and a value, separated by an equals sign (for example, "fullscreen=yes, toolbar=yes"). The following values are supported. + * @param replace Specifies whether the existing entry for the document is replaced in the history list. + */ + open(unused1?: string, unused2?: string): Document; + open(url: string | URL, name: string, features: string): WindowProxy | null; + /** + * Returns a Boolean value that indicates whether a specified command can be successfully executed using execCommand, given the current state of the document. + * @param commandId Specifies a command identifier. + * @deprecated + */ + queryCommandEnabled(commandId: string): boolean; + /** + * Returns a Boolean value that indicates whether the specified command is in the indeterminate state. + * @param commandId String that specifies a command identifier. + * @deprecated + */ + queryCommandIndeterm(commandId: string): boolean; + /** + * Returns a Boolean value that indicates the current state of the command. + * @param commandId String that specifies a command identifier. + * @deprecated + */ + queryCommandState(commandId: string): boolean; + /** + * Returns a Boolean value that indicates whether the current command is supported on the current range. + * @param commandId Specifies a command identifier. + * @deprecated + */ + queryCommandSupported(commandId: string): boolean; + /** + * Returns the current value of the document, range, or current selection for the given command. + * @param commandId String that specifies a command identifier. + * @deprecated + */ + queryCommandValue(commandId: string): string; + /** @deprecated */ + releaseEvents(): void; + requestStorageAccess(): Promise; + /** + * Writes one or more HTML expressions to a document in the specified window. + * @param content Specifies the text and HTML tags to write. + */ + write(...text: string[]): void; + /** + * Writes one or more HTML expressions, followed by a carriage return, to a document in the specified window. + * @param content The text and HTML tags to write. + */ + writeln(...text: string[]): void; + addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var Document: { + prototype: Document; + new(): Document; +}; + +/** A minimal document object that has no parent. It is used as a lightweight version of Document that stores a segment of a document structure comprised of nodes just like a standard document. The key difference is that because the document fragment isn't part of the active document tree structure, changes made to the fragment don't affect the document, cause reflow, or incur any performance impact that can occur when changes are made. */ +interface DocumentFragment extends Node, NonElementParentNode, ParentNode { + readonly ownerDocument: Document; + getElementById(elementId: string): HTMLElement | null; +} + +declare var DocumentFragment: { + prototype: DocumentFragment; + new(): DocumentFragment; +}; + +interface DocumentOrShadowRoot { + /** + * Returns the deepest element in the document through which or to which key events are being routed. This is, roughly speaking, the focused element in the document. + * + * For the purposes of this API, when a child browsing context is focused, its container is focused in the parent browsing context. For example, if the user moves the focus to a text control in an iframe, the iframe is the element returned by the activeElement API in the iframe's node document. + * + * Similarly, when the focused element is in a different node tree than documentOrShadowRoot, the element returned will be the host that's located in the same node tree as documentOrShadowRoot if documentOrShadowRoot is a shadow-including inclusive ancestor of the focused element, and null if not. + */ + readonly activeElement: Element | null; + adoptedStyleSheets: CSSStyleSheet[]; + /** Returns document's fullscreen element. */ + readonly fullscreenElement: Element | null; + readonly pictureInPictureElement: Element | null; + readonly pointerLockElement: Element | null; + /** Retrieves a collection of styleSheet objects representing the style sheets that correspond to each instance of a link or style object in the document. */ + readonly styleSheets: StyleSheetList; + /** + * Returns the element for the specified x coordinate and the specified y coordinate. + * @param x The x-offset + * @param y The y-offset + */ + elementFromPoint(x: number, y: number): Element | null; + elementsFromPoint(x: number, y: number): Element[]; + getAnimations(): Animation[]; +} + +interface DocumentTimeline extends AnimationTimeline { +} + +declare var DocumentTimeline: { + prototype: DocumentTimeline; + new(options?: DocumentTimelineOptions): DocumentTimeline; +}; + +/** A Node containing a doctype. */ +interface DocumentType extends Node, ChildNode { + readonly name: string; + readonly ownerDocument: Document; + readonly publicId: string; + readonly systemId: string; +} + +declare var DocumentType: { + prototype: DocumentType; + new(): DocumentType; +}; + +/** A DOM event that represents a drag and drop interaction. The user initiates a drag by placing a pointer device (such as a mouse) on the touch surface and then dragging the pointer to a new location (such as another DOM element). Applications are free to interpret a drag and drop interaction in an application-specific way. */ +interface DragEvent extends MouseEvent { + /** Returns the DataTransfer object for the event. */ + readonly dataTransfer: DataTransfer | null; +} + +declare var DragEvent: { + prototype: DragEvent; + new(type: string, eventInitDict?: DragEventInit): DragEvent; +}; + +/** Inherits properties from its parent, AudioNode. */ +interface DynamicsCompressorNode extends AudioNode { + readonly attack: AudioParam; + readonly knee: AudioParam; + readonly ratio: AudioParam; + readonly reduction: number; + readonly release: AudioParam; + readonly threshold: AudioParam; +} + +declare var DynamicsCompressorNode: { + prototype: DynamicsCompressorNode; + new(context: BaseAudioContext, options?: DynamicsCompressorOptions): DynamicsCompressorNode; +}; + +interface EXT_blend_minmax { + readonly MIN_EXT: 0x8007; + readonly MAX_EXT: 0x8008; +} + +interface EXT_color_buffer_float { +} + +interface EXT_color_buffer_half_float { + readonly RGBA16F_EXT: 0x881A; + readonly RGB16F_EXT: 0x881B; + readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: 0x8211; + readonly UNSIGNED_NORMALIZED_EXT: 0x8C17; +} + +interface EXT_float_blend { +} + +/** The EXT_frag_depth extension is part of the WebGL API and enables to set a depth value of a fragment from within the fragment shader. */ +interface EXT_frag_depth { +} + +interface EXT_sRGB { + readonly SRGB_EXT: 0x8C40; + readonly SRGB_ALPHA_EXT: 0x8C42; + readonly SRGB8_ALPHA8_EXT: 0x8C43; + readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: 0x8210; +} + +interface EXT_shader_texture_lod { +} + +interface EXT_texture_compression_bptc { + readonly COMPRESSED_RGBA_BPTC_UNORM_EXT: 0x8E8C; + readonly COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT: 0x8E8D; + readonly COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT: 0x8E8E; + readonly COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT: 0x8E8F; +} + +interface EXT_texture_compression_rgtc { + readonly COMPRESSED_RED_RGTC1_EXT: 0x8DBB; + readonly COMPRESSED_SIGNED_RED_RGTC1_EXT: 0x8DBC; + readonly COMPRESSED_RED_GREEN_RGTC2_EXT: 0x8DBD; + readonly COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT: 0x8DBE; +} + +/** The EXT_texture_filter_anisotropic extension is part of the WebGL API and exposes two constants for anisotropic filtering (AF). */ +interface EXT_texture_filter_anisotropic { + readonly TEXTURE_MAX_ANISOTROPY_EXT: 0x84FE; + readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: 0x84FF; +} + +interface EXT_texture_norm16 { + readonly R16_EXT: 0x822A; + readonly RG16_EXT: 0x822C; + readonly RGB16_EXT: 0x8054; + readonly RGBA16_EXT: 0x805B; + readonly R16_SNORM_EXT: 0x8F98; + readonly RG16_SNORM_EXT: 0x8F99; + readonly RGB16_SNORM_EXT: 0x8F9A; + readonly RGBA16_SNORM_EXT: 0x8F9B; +} + +interface ElementEventMap { + "fullscreenchange": Event; + "fullscreenerror": Event; +} + +/** Element is the most general base class from which all objects in a Document inherit. It only has methods and properties common to all kinds of elements. More specific classes inherit from Element. */ +interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, NonDocumentTypeChildNode, ParentNode, Slottable { + readonly attributes: NamedNodeMap; + /** Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object. */ + readonly classList: DOMTokenList; + /** Returns the value of element's class content attribute. Can be set to change it. */ + className: string; + readonly clientHeight: number; + readonly clientLeft: number; + readonly clientTop: number; + readonly clientWidth: number; + /** Returns the value of element's id content attribute. Can be set to change it. */ + id: string; + /** Returns the local name. */ + readonly localName: string; + /** Returns the namespace. */ + readonly namespaceURI: string | null; + onfullscreenchange: ((this: Element, ev: Event) => any) | null; + onfullscreenerror: ((this: Element, ev: Event) => any) | null; + outerHTML: string; + readonly ownerDocument: Document; + readonly part: DOMTokenList; + /** Returns the namespace prefix. */ + readonly prefix: string | null; + readonly scrollHeight: number; + scrollLeft: number; + scrollTop: number; + readonly scrollWidth: number; + /** Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise. */ + readonly shadowRoot: ShadowRoot | null; + /** Returns the value of element's slot content attribute. Can be set to change it. */ + slot: string; + /** Returns the HTML-uppercased qualified name. */ + readonly tagName: string; + /** Creates a shadow root for element and returns it. */ + attachShadow(init: ShadowRootInit): ShadowRoot; + checkVisibility(options?: CheckVisibilityOptions): boolean; + /** Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise. */ + closest(selector: K): HTMLElementTagNameMap[K] | null; + closest(selector: K): SVGElementTagNameMap[K] | null; + closest(selector: K): MathMLElementTagNameMap[K] | null; + closest(selectors: string): E | null; + /** Returns element's first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise. */ + getAttribute(qualifiedName: string): string | null; + /** Returns element's attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise. */ + getAttributeNS(namespace: string | null, localName: string): string | null; + /** Returns the qualified names of all element's attributes. Can contain duplicates. */ + getAttributeNames(): string[]; + getAttributeNode(qualifiedName: string): Attr | null; + getAttributeNodeNS(namespace: string | null, localName: string): Attr | null; + getBoundingClientRect(): DOMRect; + getClientRects(): DOMRectList; + /** Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes. */ + getElementsByClassName(classNames: string): HTMLCollectionOf; + getElementsByTagName(qualifiedName: K): HTMLCollectionOf; + getElementsByTagName(qualifiedName: K): HTMLCollectionOf; + getElementsByTagName(qualifiedName: K): HTMLCollectionOf; + /** @deprecated */ + getElementsByTagName(qualifiedName: K): HTMLCollectionOf; + getElementsByTagName(qualifiedName: string): HTMLCollectionOf; + getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf; + getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf; + getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf; + getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf; + /** Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise. */ + hasAttribute(qualifiedName: string): boolean; + /** Returns true if element has an attribute whose namespace is namespace and local name is localName. */ + hasAttributeNS(namespace: string | null, localName: string): boolean; + /** Returns true if element has attributes, and false otherwise. */ + hasAttributes(): boolean; + hasPointerCapture(pointerId: number): boolean; + insertAdjacentElement(where: InsertPosition, element: Element): Element | null; + insertAdjacentHTML(position: InsertPosition, text: string): void; + insertAdjacentText(where: InsertPosition, data: string): void; + /** Returns true if matching selectors against element's root yields element, and false otherwise. */ + matches(selectors: string): boolean; + releasePointerCapture(pointerId: number): void; + /** Removes element's first attribute whose qualified name is qualifiedName. */ + removeAttribute(qualifiedName: string): void; + /** Removes element's attribute whose namespace is namespace and local name is localName. */ + removeAttributeNS(namespace: string | null, localName: string): void; + removeAttributeNode(attr: Attr): Attr; + /** + * Displays element fullscreen and resolves promise when done. + * + * When supplied, options's navigationUI member indicates whether showing navigation UI while in fullscreen is preferred or not. If set to "show", navigation simplicity is preferred over screen space, and if set to "hide", more screen space is preferred. User agents are always free to honor user preference over the application's. The default value "auto" indicates no application preference. + */ + requestFullscreen(options?: FullscreenOptions): Promise; + requestPointerLock(): void; + scroll(options?: ScrollToOptions): void; + scroll(x: number, y: number): void; + scrollBy(options?: ScrollToOptions): void; + scrollBy(x: number, y: number): void; + scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void; + scrollTo(options?: ScrollToOptions): void; + scrollTo(x: number, y: number): void; + /** Sets the value of element's first attribute whose qualified name is qualifiedName to value. */ + setAttribute(qualifiedName: string, value: string): void; + /** Sets the value of element's attribute whose namespace is namespace and local name is localName to value. */ + setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void; + setAttributeNode(attr: Attr): Attr | null; + setAttributeNodeNS(attr: Attr): Attr | null; + setPointerCapture(pointerId: number): void; + /** + * If force is not given, "toggles" qualifiedName, removing it if it is present and adding it if it is not present. If force is true, adds qualifiedName. If force is false, removes qualifiedName. + * + * Returns true if qualifiedName is now present, and false otherwise. + */ + toggleAttribute(qualifiedName: string, force?: boolean): boolean; + /** @deprecated This is a legacy alias of \`matches\`. */ + webkitMatchesSelector(selectors: string): boolean; + addEventListener(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var Element: { + prototype: Element; + new(): Element; +}; + +interface ElementCSSInlineStyle { + readonly style: CSSStyleDeclaration; +} + +interface ElementContentEditable { + contentEditable: string; + enterKeyHint: string; + inputMode: string; + readonly isContentEditable: boolean; +} + +interface ElementInternals extends ARIAMixin { + /** Returns the form owner of internals's target element. */ + readonly form: HTMLFormElement | null; + /** Returns a NodeList of all the label elements that internals's target element is associated with. */ + readonly labels: NodeList; + /** Returns the ShadowRoot for internals's target element, if the target element is a shadow host, or null otherwise. */ + readonly shadowRoot: ShadowRoot | null; + /** Returns the error message that would be shown to the user if internals's target element was to be checked for validity. */ + readonly validationMessage: string; + /** Returns the ValidityState object for internals's target element. */ + readonly validity: ValidityState; + /** Returns true if internals's target element will be validated when the form is submitted; false otherwise. */ + readonly willValidate: boolean; + /** Returns true if internals's target element has no validity problems; false otherwise. Fires an invalid event at the element in the latter case. */ + checkValidity(): boolean; + /** Returns true if internals's target element has no validity problems; otherwise, returns false, fires an invalid event at the element, and (if the event isn't canceled) reports the problem to the user. */ + reportValidity(): boolean; + /** + * Sets both the state and submission value of internals's target element to value. + * + * If value is null, the element won't participate in form submission. + */ + setFormValue(value: File | string | FormData | null, state?: File | string | FormData | null): void; + /** Marks internals's target element as suffering from the constraints indicated by the flags argument, and sets the element's validation message to message. If anchor is specified, the user agent might use it to indicate problems with the constraints of internals's target element when the form owner is validated interactively or reportValidity() is called. */ + setValidity(flags?: ValidityStateFlags, message?: string, anchor?: HTMLElement): void; +} + +declare var ElementInternals: { + prototype: ElementInternals; + new(): ElementInternals; +}; + +/** Events providing information related to errors in scripts or in files. */ +interface ErrorEvent extends Event { + readonly colno: number; + readonly error: any; + readonly filename: string; + readonly lineno: number; + readonly message: string; +} + +declare var ErrorEvent: { + prototype: ErrorEvent; + new(type: string, eventInitDict?: ErrorEventInit): ErrorEvent; +}; + +/** An event which takes place in the DOM. */ +interface Event { + /** Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise. */ + readonly bubbles: boolean; + /** @deprecated */ + cancelBubble: boolean; + /** Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method. */ + readonly cancelable: boolean; + /** Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise. */ + readonly composed: boolean; + /** Returns the object whose event listener's callback is currently being invoked. */ + readonly currentTarget: EventTarget | null; + /** Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise. */ + readonly defaultPrevented: boolean; + /** Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE. */ + readonly eventPhase: number; + /** Returns true if event was dispatched by the user agent, and false otherwise. */ + readonly isTrusted: boolean; + /** @deprecated */ + returnValue: boolean; + /** @deprecated */ + readonly srcElement: EventTarget | null; + /** Returns the object to which event is dispatched (its target). */ + readonly target: EventTarget | null; + /** Returns the event's timestamp as the number of milliseconds measured relative to the time origin. */ + readonly timeStamp: DOMHighResTimeStamp; + /** Returns the type of event, e.g. "click", "hashchange", or "submit". */ + readonly type: string; + /** Returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is "closed" that are not reachable from event's currentTarget. */ + composedPath(): EventTarget[]; + /** @deprecated */ + initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void; + /** If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled. */ + preventDefault(): void; + /** Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects. */ + stopImmediatePropagation(): void; + /** When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object. */ + stopPropagation(): void; + readonly NONE: 0; + readonly CAPTURING_PHASE: 1; + readonly AT_TARGET: 2; + readonly BUBBLING_PHASE: 3; +} + +declare var Event: { + prototype: Event; + new(type: string, eventInitDict?: EventInit): Event; + readonly NONE: 0; + readonly CAPTURING_PHASE: 1; + readonly AT_TARGET: 2; + readonly BUBBLING_PHASE: 3; +}; + +interface EventCounts { + forEach(callbackfn: (value: number, key: string, parent: EventCounts) => void, thisArg?: any): void; +} + +declare var EventCounts: { + prototype: EventCounts; + new(): EventCounts; +}; + +interface EventListener { + (evt: Event): void; +} + +interface EventListenerObject { + handleEvent(object: Event): void; +} + +interface EventSourceEventMap { + "error": Event; + "message": MessageEvent; + "open": Event; +} + +interface EventSource extends EventTarget { + onerror: ((this: EventSource, ev: Event) => any) | null; + onmessage: ((this: EventSource, ev: MessageEvent) => any) | null; + onopen: ((this: EventSource, ev: Event) => any) | null; + /** Returns the state of this EventSource object's connection. It can have the values described below. */ + readonly readyState: number; + /** Returns the URL providing the event stream. */ + readonly url: string; + /** Returns true if the credentials mode for connection requests to the URL providing the event stream is set to "include", and false otherwise. */ + readonly withCredentials: boolean; + /** Aborts any instances of the fetch algorithm started for this EventSource object, and sets the readyState attribute to CLOSED. */ + close(): void; + readonly CONNECTING: 0; + readonly OPEN: 1; + readonly CLOSED: 2; + addEventListener(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: (this: EventSource, event: MessageEvent) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: (this: EventSource, event: MessageEvent) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var EventSource: { + prototype: EventSource; + new(url: string | URL, eventSourceInitDict?: EventSourceInit): EventSource; + readonly CONNECTING: 0; + readonly OPEN: 1; + readonly CLOSED: 2; +}; + +/** EventTarget is a DOM interface implemented by objects that can receive events and may have listeners for them. */ +interface EventTarget { + /** + * Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + * + * The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + * + * When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + * + * When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in \xa7 2.8 Observing event listeners. + * + * When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + * + * If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + * + * The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + */ + addEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void; + /** Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. */ + dispatchEvent(event: Event): boolean; + /** Removes the event listener in target's event listener list with the same type, callback, and options. */ + removeEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void; +} + +declare var EventTarget: { + prototype: EventTarget; + new(): EventTarget; +}; + +/** @deprecated */ +interface External { + /** @deprecated */ + AddSearchProvider(): void; + /** @deprecated */ + IsSearchProviderInstalled(): void; +} + +/** @deprecated */ +declare var External: { + prototype: External; + new(): External; +}; + +/** Provides information about files and allows JavaScript in a web page to access their content. */ +interface File extends Blob { + readonly lastModified: number; + readonly name: string; + readonly webkitRelativePath: string; +} + +declare var File: { + prototype: File; + new(fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File; +}; + +/** An object of this type is returned by the files property of the HTML element; this lets you access the list of files selected with the element. It's also used for a list of files dropped into web content when using the drag and drop API; see the DataTransfer object for details on this usage. */ +interface FileList { + readonly length: number; + item(index: number): File | null; + [index: number]: File; +} + +declare var FileList: { + prototype: FileList; + new(): FileList; +}; + +interface FileReaderEventMap { + "abort": ProgressEvent; + "error": ProgressEvent; + "load": ProgressEvent; + "loadend": ProgressEvent; + "loadstart": ProgressEvent; + "progress": ProgressEvent; +} + +/** Lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user's computer, using File or Blob objects to specify the file or data to read. */ +interface FileReader extends EventTarget { + readonly error: DOMException | null; + onabort: ((this: FileReader, ev: ProgressEvent) => any) | null; + onerror: ((this: FileReader, ev: ProgressEvent) => any) | null; + onload: ((this: FileReader, ev: ProgressEvent) => any) | null; + onloadend: ((this: FileReader, ev: ProgressEvent) => any) | null; + onloadstart: ((this: FileReader, ev: ProgressEvent) => any) | null; + onprogress: ((this: FileReader, ev: ProgressEvent) => any) | null; + readonly readyState: typeof FileReader.EMPTY | typeof FileReader.LOADING | typeof FileReader.DONE; + readonly result: string | ArrayBuffer | null; + abort(): void; + readAsArrayBuffer(blob: Blob): void; + readAsBinaryString(blob: Blob): void; + readAsDataURL(blob: Blob): void; + readAsText(blob: Blob, encoding?: string): void; + readonly EMPTY: 0; + readonly LOADING: 1; + readonly DONE: 2; + addEventListener(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var FileReader: { + prototype: FileReader; + new(): FileReader; + readonly EMPTY: 0; + readonly LOADING: 1; + readonly DONE: 2; +}; + +interface FileSystem { + readonly name: string; + readonly root: FileSystemDirectoryEntry; +} + +declare var FileSystem: { + prototype: FileSystem; + new(): FileSystem; +}; + +interface FileSystemDirectoryEntry extends FileSystemEntry { + createReader(): FileSystemDirectoryReader; + getDirectory(path?: string | null, options?: FileSystemFlags, successCallback?: FileSystemEntryCallback, errorCallback?: ErrorCallback): void; + getFile(path?: string | null, options?: FileSystemFlags, successCallback?: FileSystemEntryCallback, errorCallback?: ErrorCallback): void; +} + +declare var FileSystemDirectoryEntry: { + prototype: FileSystemDirectoryEntry; + new(): FileSystemDirectoryEntry; +}; + +/** Available only in secure contexts. */ +interface FileSystemDirectoryHandle extends FileSystemHandle { + readonly kind: "directory"; + getDirectoryHandle(name: string, options?: FileSystemGetDirectoryOptions): Promise; + getFileHandle(name: string, options?: FileSystemGetFileOptions): Promise; + removeEntry(name: string, options?: FileSystemRemoveOptions): Promise; + resolve(possibleDescendant: FileSystemHandle): Promise; +} + +declare var FileSystemDirectoryHandle: { + prototype: FileSystemDirectoryHandle; + new(): FileSystemDirectoryHandle; +}; + +interface FileSystemDirectoryReader { + readEntries(successCallback: FileSystemEntriesCallback, errorCallback?: ErrorCallback): void; +} + +declare var FileSystemDirectoryReader: { + prototype: FileSystemDirectoryReader; + new(): FileSystemDirectoryReader; +}; + +interface FileSystemEntry { + readonly filesystem: FileSystem; + readonly fullPath: string; + readonly isDirectory: boolean; + readonly isFile: boolean; + readonly name: string; + getParent(successCallback?: FileSystemEntryCallback, errorCallback?: ErrorCallback): void; +} + +declare var FileSystemEntry: { + prototype: FileSystemEntry; + new(): FileSystemEntry; +}; + +interface FileSystemFileEntry extends FileSystemEntry { + file(successCallback: FileCallback, errorCallback?: ErrorCallback): void; +} + +declare var FileSystemFileEntry: { + prototype: FileSystemFileEntry; + new(): FileSystemFileEntry; +}; + +/** Available only in secure contexts. */ +interface FileSystemFileHandle extends FileSystemHandle { + readonly kind: "file"; + getFile(): Promise; +} + +declare var FileSystemFileHandle: { + prototype: FileSystemFileHandle; + new(): FileSystemFileHandle; +}; + +/** Available only in secure contexts. */ +interface FileSystemHandle { + readonly kind: FileSystemHandleKind; + readonly name: string; + isSameEntry(other: FileSystemHandle): Promise; +} + +declare var FileSystemHandle: { + prototype: FileSystemHandle; + new(): FileSystemHandle; +}; + +/** Focus-related events like focus, blur, focusin, or focusout. */ +interface FocusEvent extends UIEvent { + readonly relatedTarget: EventTarget | null; +} + +declare var FocusEvent: { + prototype: FocusEvent; + new(type: string, eventInitDict?: FocusEventInit): FocusEvent; +}; + +interface FontFace { + ascentOverride: string; + descentOverride: string; + display: FontDisplay; + family: string; + featureSettings: string; + lineGapOverride: string; + readonly loaded: Promise; + readonly status: FontFaceLoadStatus; + stretch: string; + style: string; + unicodeRange: string; + variant: string; + weight: string; + load(): Promise; +} + +declare var FontFace: { + prototype: FontFace; + new(family: string, source: string | BinaryData, descriptors?: FontFaceDescriptors): FontFace; +}; + +interface FontFaceSetEventMap { + "loading": Event; + "loadingdone": Event; + "loadingerror": Event; +} + +interface FontFaceSet extends EventTarget { + onloading: ((this: FontFaceSet, ev: Event) => any) | null; + onloadingdone: ((this: FontFaceSet, ev: Event) => any) | null; + onloadingerror: ((this: FontFaceSet, ev: Event) => any) | null; + readonly ready: Promise; + readonly status: FontFaceSetLoadStatus; + check(font: string, text?: string): boolean; + load(font: string, text?: string): Promise; + forEach(callbackfn: (value: FontFace, key: FontFace, parent: FontFaceSet) => void, thisArg?: any): void; + addEventListener(type: K, listener: (this: FontFaceSet, ev: FontFaceSetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: FontFaceSet, ev: FontFaceSetEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var FontFaceSet: { + prototype: FontFaceSet; + new(initialFaces: FontFace[]): FontFaceSet; +}; + +interface FontFaceSetLoadEvent extends Event { + readonly fontfaces: ReadonlyArray; +} + +declare var FontFaceSetLoadEvent: { + prototype: FontFaceSetLoadEvent; + new(type: string, eventInitDict?: FontFaceSetLoadEventInit): FontFaceSetLoadEvent; +}; + +interface FontFaceSource { + readonly fonts: FontFaceSet; +} + +/** Provides a way to easily construct a set of key/value pairs representing form fields and their values, which can then be easily sent using the XMLHttpRequest.send() method. It uses the same format a form would use if the encoding type were set to "multipart/form-data". */ +interface FormData { + append(name: string, value: string | Blob, fileName?: string): void; + delete(name: string): void; + get(name: string): FormDataEntryValue | null; + getAll(name: string): FormDataEntryValue[]; + has(name: string): boolean; + set(name: string, value: string | Blob, fileName?: string): void; + forEach(callbackfn: (value: FormDataEntryValue, key: string, parent: FormData) => void, thisArg?: any): void; +} + +declare var FormData: { + prototype: FormData; + new(form?: HTMLFormElement): FormData; +}; + +interface FormDataEvent extends Event { + /** Returns a FormData object representing names and values of elements associated to the target form. Operations on the FormData object will affect form data to be submitted. */ + readonly formData: FormData; +} + +declare var FormDataEvent: { + prototype: FormDataEvent; + new(type: string, eventInitDict: FormDataEventInit): FormDataEvent; +}; + +/** A change in volume. It is an AudioNode audio-processing module that causes a given gain to be applied to the input data before its propagation to the output. A GainNode always has exactly one input and one output, both with the same number of channels. */ +interface GainNode extends AudioNode { + readonly gain: AudioParam; +} + +declare var GainNode: { + prototype: GainNode; + new(context: BaseAudioContext, options?: GainOptions): GainNode; +}; + +/** + * This Gamepad API interface defines an individual gamepad or other controller, allowing access to information such as button presses, axis positions, and id. + * Available only in secure contexts. + */ +interface Gamepad { + readonly axes: ReadonlyArray; + readonly buttons: ReadonlyArray; + readonly connected: boolean; + readonly hapticActuators: ReadonlyArray; + readonly id: string; + readonly index: number; + readonly mapping: GamepadMappingType; + readonly timestamp: DOMHighResTimeStamp; +} + +declare var Gamepad: { + prototype: Gamepad; + new(): Gamepad; +}; + +/** + * An individual button of a gamepad or other controller, allowing access to the current state of different types of buttons available on the control device. + * Available only in secure contexts. + */ +interface GamepadButton { + readonly pressed: boolean; + readonly touched: boolean; + readonly value: number; +} + +declare var GamepadButton: { + prototype: GamepadButton; + new(): GamepadButton; +}; + +/** + * This Gamepad API interface contains references to gamepads connected to the system, which is what the gamepad events Window.gamepadconnected and Window.gamepaddisconnected are fired in response to. + * Available only in secure contexts. + */ +interface GamepadEvent extends Event { + readonly gamepad: Gamepad; +} + +declare var GamepadEvent: { + prototype: GamepadEvent; + new(type: string, eventInitDict: GamepadEventInit): GamepadEvent; +}; + +/** This Gamepad API interface represents hardware in the controller designed to provide haptic feedback to the user (if available), most commonly vibration hardware. */ +interface GamepadHapticActuator { + readonly type: GamepadHapticActuatorType; +} + +declare var GamepadHapticActuator: { + prototype: GamepadHapticActuator; + new(): GamepadHapticActuator; +}; + +interface GenericTransformStream { + readonly readable: ReadableStream; + readonly writable: WritableStream; +} + +/** An object able to programmatically obtain the position of the device. It gives Web content access to the location of the device. This allows a Web site or app to offer customized results based on the user's location. */ +interface Geolocation { + clearWatch(watchId: number): void; + getCurrentPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback | null, options?: PositionOptions): void; + watchPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback | null, options?: PositionOptions): number; +} + +declare var Geolocation: { + prototype: Geolocation; + new(): Geolocation; +}; + +/** Available only in secure contexts. */ +interface GeolocationCoordinates { + readonly accuracy: number; + readonly altitude: number | null; + readonly altitudeAccuracy: number | null; + readonly heading: number | null; + readonly latitude: number; + readonly longitude: number; + readonly speed: number | null; +} + +declare var GeolocationCoordinates: { + prototype: GeolocationCoordinates; + new(): GeolocationCoordinates; +}; + +/** Available only in secure contexts. */ +interface GeolocationPosition { + readonly coords: GeolocationCoordinates; + readonly timestamp: EpochTimeStamp; +} + +declare var GeolocationPosition: { + prototype: GeolocationPosition; + new(): GeolocationPosition; +}; + +interface GeolocationPositionError { + readonly code: number; + readonly message: string; + readonly PERMISSION_DENIED: 1; + readonly POSITION_UNAVAILABLE: 2; + readonly TIMEOUT: 3; +} + +declare var GeolocationPositionError: { + prototype: GeolocationPositionError; + new(): GeolocationPositionError; + readonly PERMISSION_DENIED: 1; + readonly POSITION_UNAVAILABLE: 2; + readonly TIMEOUT: 3; +}; + +interface GlobalEventHandlersEventMap { + "abort": UIEvent; + "animationcancel": AnimationEvent; + "animationend": AnimationEvent; + "animationiteration": AnimationEvent; + "animationstart": AnimationEvent; + "auxclick": MouseEvent; + "beforeinput": InputEvent; + "blur": FocusEvent; + "cancel": Event; + "canplay": Event; + "canplaythrough": Event; + "change": Event; + "click": MouseEvent; + "close": Event; + "compositionend": CompositionEvent; + "compositionstart": CompositionEvent; + "compositionupdate": CompositionEvent; + "contextmenu": MouseEvent; + "copy": ClipboardEvent; + "cuechange": Event; + "cut": ClipboardEvent; + "dblclick": MouseEvent; + "drag": DragEvent; + "dragend": DragEvent; + "dragenter": DragEvent; + "dragleave": DragEvent; + "dragover": DragEvent; + "dragstart": DragEvent; + "drop": DragEvent; + "durationchange": Event; + "emptied": Event; + "ended": Event; + "error": ErrorEvent; + "focus": FocusEvent; + "focusin": FocusEvent; + "focusout": FocusEvent; + "formdata": FormDataEvent; + "gotpointercapture": PointerEvent; + "input": Event; + "invalid": Event; + "keydown": KeyboardEvent; + "keypress": KeyboardEvent; + "keyup": KeyboardEvent; + "load": Event; + "loadeddata": Event; + "loadedmetadata": Event; + "loadstart": Event; + "lostpointercapture": PointerEvent; + "mousedown": MouseEvent; + "mouseenter": MouseEvent; + "mouseleave": MouseEvent; + "mousemove": MouseEvent; + "mouseout": MouseEvent; + "mouseover": MouseEvent; + "mouseup": MouseEvent; + "paste": ClipboardEvent; + "pause": Event; + "play": Event; + "playing": Event; + "pointercancel": PointerEvent; + "pointerdown": PointerEvent; + "pointerenter": PointerEvent; + "pointerleave": PointerEvent; + "pointermove": PointerEvent; + "pointerout": PointerEvent; + "pointerover": PointerEvent; + "pointerup": PointerEvent; + "progress": ProgressEvent; + "ratechange": Event; + "reset": Event; + "resize": UIEvent; + "scroll": Event; + "securitypolicyviolation": SecurityPolicyViolationEvent; + "seeked": Event; + "seeking": Event; + "select": Event; + "selectionchange": Event; + "selectstart": Event; + "slotchange": Event; + "stalled": Event; + "submit": SubmitEvent; + "suspend": Event; + "timeupdate": Event; + "toggle": Event; + "touchcancel": TouchEvent; + "touchend": TouchEvent; + "touchmove": TouchEvent; + "touchstart": TouchEvent; + "transitioncancel": TransitionEvent; + "transitionend": TransitionEvent; + "transitionrun": TransitionEvent; + "transitionstart": TransitionEvent; + "volumechange": Event; + "waiting": Event; + "webkitanimationend": Event; + "webkitanimationiteration": Event; + "webkitanimationstart": Event; + "webkittransitionend": Event; + "wheel": WheelEvent; +} + +interface GlobalEventHandlers { + /** + * Fires when the user aborts the download. + * @param ev The event. + */ + onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null; + onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null; + onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null; + onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null; + onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null; + onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; + onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null; + /** + * Fires when the object loses the input focus. + * @param ev The focus event. + */ + onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null; + oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Occurs when playback is possible, but would require further buffering. + * @param ev The event. + */ + oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null; + oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Fires when the contents of the object or selection have changed. + * @param ev The event. + */ + onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Fires when the user clicks the left mouse button on the object + * @param ev The mouse event. + */ + onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; + onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Fires when the user clicks the right mouse button in the client area, opening the context menu. + * @param ev The mouse event. + */ + oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; + oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null; + oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null; + oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null; + /** + * Fires when the user double-clicks the object. + * @param ev The mouse event. + */ + ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; + /** + * Fires on the source object continuously during a drag operation. + * @param ev The event. + */ + ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; + /** + * Fires on the source object when the user releases the mouse at the close of a drag operation. + * @param ev The event. + */ + ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; + /** + * Fires on the target element when the user drags the object to a valid drop target. + * @param ev The drag event. + */ + ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; + /** + * Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation. + * @param ev The drag event. + */ + ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; + /** + * Fires on the target element continuously while the user drags the object over a valid drop target. + * @param ev The event. + */ + ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; + /** + * Fires on the source object when the user starts to drag a text selection or selected object. + * @param ev The event. + */ + ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; + ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; + /** + * Occurs when the duration attribute is updated. + * @param ev The event. + */ + ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Occurs when the media element is reset to its initial state. + * @param ev The event. + */ + onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Occurs when the end of playback is reached. + * @param ev The event + */ + onended: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Fires when an error occurs during object loading. + * @param ev The event. + */ + onerror: OnErrorEventHandler; + /** + * Fires when the object receives focus. + * @param ev The event. + */ + onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null; + onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null; + ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; + oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null; + oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Fires when the user presses a key. + * @param ev The keyboard event + */ + onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null; + /** + * Fires when the user presses an alphanumeric key. + * @param ev The event. + * @deprecated + */ + onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null; + /** + * Fires when the user releases a key. + * @param ev The keyboard event + */ + onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null; + /** + * Fires immediately after the browser loads the object. + * @param ev The event. + */ + onload: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Occurs when media data is loaded at the current playback position. + * @param ev The event. + */ + onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Occurs when the duration and dimensions of the media have been determined. + * @param ev The event. + */ + onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Occurs when Internet Explorer begins looking for media data. + * @param ev The event. + */ + onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null; + onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; + /** + * Fires when the user clicks the object with either mouse button. + * @param ev The mouse event. + */ + onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; + onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; + onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; + /** + * Fires when the user moves the mouse over the object. + * @param ev The mouse event. + */ + onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; + /** + * Fires when the user moves the mouse pointer outside the boundaries of the object. + * @param ev The mouse event. + */ + onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; + /** + * Fires when the user moves the mouse pointer into the object. + * @param ev The mouse event. + */ + onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; + /** + * Fires when the user releases a mouse button while the mouse is over the object. + * @param ev The mouse event. + */ + onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; + onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null; + /** + * Occurs when playback is paused. + * @param ev The event. + */ + onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Occurs when the play method is requested. + * @param ev The event. + */ + onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Occurs when the audio or video has started playing. + * @param ev The event. + */ + onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null; + onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; + onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; + onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; + onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; + onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; + onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; + onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; + onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; + /** + * Occurs to indicate progress while downloading media data. + * @param ev The event. + */ + onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null; + /** + * Occurs when the playback rate is increased or decreased. + * @param ev The event. + */ + onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Fires when the user resets a form. + * @param ev The event. + */ + onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null; + onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null; + /** + * Fires when the user repositions the scroll box in the scroll bar on the object. + * @param ev The event. + */ + onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null; + onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null; + /** + * Occurs when the seek operation ends. + * @param ev The event. + */ + onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Occurs when the current playback position is moved. + * @param ev The event. + */ + onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Fires when the current selection changes. + * @param ev The event. + */ + onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null; + onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null; + onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null; + onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Occurs when the download has stopped. + * @param ev The event. + */ + onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null; + onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null; + /** + * Occurs if the load operation has been intentionally halted. + * @param ev The event. + */ + onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Occurs to indicate the current playback position. + * @param ev The event. + */ + ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null; + ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null; + ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined; + ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined; + ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined; + ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined; + ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null; + ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null; + ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null; + ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null; + /** + * Occurs when the volume is changed, or playback is muted or unmuted. + * @param ev The event. + */ + onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Occurs when playback stops because the next frame of a video resource is not available. + * @param ev The event. + */ + onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** @deprecated This is a legacy alias of \`onanimationend\`. */ + onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** @deprecated This is a legacy alias of \`onanimationiteration\`. */ + onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** @deprecated This is a legacy alias of \`onanimationstart\`. */ + onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** @deprecated This is a legacy alias of \`ontransitionend\`. */ + onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null; + onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null; + addEventListener(type: K, listener: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +interface HTMLAllCollection { + /** Returns the number of elements in the collection. */ + readonly length: number; + /** Returns the item with index index from the collection (determined by tree order). */ + item(nameOrIndex?: string): HTMLCollection | Element | null; + /** + * Returns the item with ID or name name from the collection. + * + * If there are multiple matching items, then an HTMLCollection object containing all those elements is returned. + * + * Only button, form, iframe, input, map, meta, object, select, and textarea elements can have a name for the purpose of this method; their name is given by the value of their name attribute. + */ + namedItem(name: string): HTMLCollection | Element | null; + [index: number]: Element; +} + +declare var HTMLAllCollection: { + prototype: HTMLAllCollection; + new(): HTMLAllCollection; +}; + +/** Hyperlink elements and provides special properties and methods (beyond those of the regular HTMLElement object interface that they inherit from) for manipulating the layout and presentation of such elements. */ +interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { + /** + * Sets or retrieves the character set used to encode the object. + * @deprecated + */ + charset: string; + /** + * Sets or retrieves the coordinates of the object. + * @deprecated + */ + coords: string; + download: string; + /** Sets or retrieves the language code of the object. */ + hreflang: string; + /** + * Sets or retrieves the shape of the object. + * @deprecated + */ + name: string; + ping: string; + referrerPolicy: string; + /** Sets or retrieves the relationship between the object and the destination of the link. */ + rel: string; + readonly relList: DOMTokenList; + /** + * Sets or retrieves the relationship between the object and the destination of the link. + * @deprecated + */ + rev: string; + /** + * Sets or retrieves the shape of the object. + * @deprecated + */ + shape: string; + /** Sets or retrieves the window or frame at which to target content. */ + target: string; + /** Retrieves or sets the text of the object as a string. */ + text: string; + type: string; + addEventListener(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLAnchorElement: { + prototype: HTMLAnchorElement; + new(): HTMLAnchorElement; +}; + +/** Provides special properties and methods (beyond those of the regular object HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of elements. */ +interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { + /** Sets or retrieves a text alternative to the graphic. */ + alt: string; + /** Sets or retrieves the coordinates of the object. */ + coords: string; + download: string; + /** + * Sets or gets whether clicks in this region cause action. + * @deprecated + */ + noHref: boolean; + ping: string; + referrerPolicy: string; + rel: string; + readonly relList: DOMTokenList; + /** Sets or retrieves the shape of the object. */ + shape: string; + /** Sets or retrieves the window or frame at which to target content. */ + target: string; + addEventListener(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLAreaElement: { + prototype: HTMLAreaElement; + new(): HTMLAreaElement; +}; + +/** Provides access to the properties of