/*! *****************************************************************************
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.

The following is a minified version of the unmodified Typescript 5.2
***************************************************************************** */

"use strict";var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},__extends=this&&this.__extends||function(){var n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}(),__assign=this&&this.__assign||function(){return(__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)},__generator=this&&this.__generator||function(r,n){var a,i,o,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},c={next:e(0),throw:e(1),return:e(2)};return"function"==typeof Symbol&&(c[Symbol.iterator]=function(){return this}),c;function e(t){return function(e){return function(t){if(a)throw new TypeError("Generator is already executing.");for(;c&&t[c=0]&&(s=0),s;)try{if(a=1,i&&(o=2&t[0]?i.return:t[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,t[1])).done)return o;switch(i=0,o&&(t=[2&t[0],o.value]),t[0]){case 0:case 1:o=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,i=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(!(o=0<(o=s.trys).length&&o[o.length-1])&&(6===t[0]||2===t[0])){s=0;continue}if(3===t[0]&&(!o||t[1]>o[0]&&t[1]<o[3])){s.label=t[1];break}if(6===t[0]&&s.label<o[1]){s.label=o[1],o=t;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(t);break}o[2]&&s.ops.pop(),s.trys.pop();continue}t=n.call(r,s)}catch(e){t=[6,e],i=0}finally{a=o=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([t,e])}}},__rest=this&&this.__rest||function(e,t){var r={};for(a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,a=Object.getOwnPropertySymbols(e);n<a.length;n++)t.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(e,a[n])&&(r[a[n]]=e[a[n]]);return r},__values=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},__read=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,a,i=r.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(n=i.next()).done;)o.push(n.value)}catch(e){a={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o},__spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,a=0,i=t.length;a<i;a++)!n&&a in t||((n=n||Array.prototype.slice.call(t,0,a))[a]=t[a]);return e.concat(n||Array.prototype.slice.call(t))},ts=function(){function e(e,t){return function(){return e&&(t=(0,e[o(e)[0]])(e=0)),t}}function t(e,t){for(var r in t)a(e,r,{get:t[r],enumerable:!0})}var er,oe,r,WN,li,s,c,De,u,_,l,d,n,i,h,di,V,a=Object.defineProperty,o=Object.getOwnPropertyNames,f=e({"src/compiler/corePublic.ts":function(){er="5.2",oe="5.2.2",r=function(e){return e[e.LessThan=-1]="LessThan",e[e.EqualTo=0]="EqualTo",e[e.GreaterThan=1]="GreaterThan",e}(r||{})}});function HN(e){return e?e.length:0}function KN(e,t){if(e)for(var r=0;r<e.length;r++){var n=t(e[r],r);if(n)return n}}function m(e,t){if(e)for(var r=e.length-1;0<=r;r--){var n=t(e[r],r);if(n)return n}}function GN(e,t){if(void 0!==e)for(var r=0;r<e.length;r++){var n=t(e[r],r);if(void 0!==n)return n}}function tr(e,t){var r,n;try{for(var a=__values(e),i=a.next();!i.done;i=a.next()){var o=t(i.value);if(void 0!==o)return o}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}function p(e,t,r){var n,a,i=r;if(e){var o=0;try{for(var s=__values(e),c=s.next();!c.done;c=s.next()){i=t(i,c.value,o);o++}}catch(e){n={error:e}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(n)throw n.error}}}return i}function L(e,t,r){var n=[];rA.assertEqual(e.length,t.length);for(var a=0;a<e.length;a++)n.push(r(e[a],t[a],a));return n}function y(e,t){if(e.length<=1)return e;for(var r=[],n=0,a=e.length;n<a;n++)n&&r.push(t),r.push(e[n]);return r}function XN(e,t){if(e)for(var r=0;r<e.length;r++)if(!t(e[r],r))return!1;return!0}function QN(e,t,r){if(void 0!==e)for(var n=null!=r?r:0;n<e.length;n++){var a=e[n];if(t(a,n))return a}}function YN(e,t,r){if(void 0!==e)for(var n=null!=r?r:e.length-1;0<=n;n--){var a=e[n];if(t(a,n))return a}}function ZN(e,t,r){if(void 0===e)return-1;for(var n=null!=r?r:0;n<e.length;n++)if(t(e[n],n))return n;return-1}function $N(e,t,r){if(void 0===e)return-1;for(var n=null!=r?r:e.length-1;0<=n;n--)if(t(e[n],n))return n;return-1}function v(e,t){for(var r=0;r<e.length;r++){var n=t(e[r],r);if(n)return n}return rA.fail()}function eD(e,t,r){var n,a;if(void 0===r&&(r=zD),e)try{for(var i=__values(e),o=i.next();!o.done;o=i.next())if(r(o.value,t))return!0}catch(e){n={error:e}}finally{try{o&&!o.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}return!1}function tD(e,r,n){return void 0===n&&(n=zD),e.length===r.length&&e.every(function(e,t){return n(e,r[t])})}function g(e,t,r){for(var n=r||0;n<e.length;n++)if(eD(t,e.charCodeAt(n)))return n;return-1}function rD(e,t){var r=0;if(e)for(var n=0;n<e.length;n++)t(e[n],n)&&r++;return r}function nD(e,t){if(e){for(var r=e.length,n=0;n<r&&t(e[n]);)n++;if(n<r){var a=e.slice(0,n);for(n++;n<r;){var i=e[n];t(i)&&a.push(i),n++}return a}}return e}function x(e,t){for(var r=0,n=0;n<e.length;n++)t(e[n],n,e)&&(e[r]=e[n],r++);e.length=r}function aD(e){e.length=0}function iD(e,t){var r;if(e){r=[];for(var n=0;n<e.length;n++)r.push(t(e[n],n))}return r}function b(t,r){var n,a,i,o,s;return __generator(this,function(e){switch(e.label){case 0:e.trys.push([0,5,6,7]),n=__values(t),a=n.next(),e.label=1;case 1:return a.done?[3,4]:(i=a.value,[4,r(i)]);case 2:e.sent(),e.label=3;case 3:return a=n.next(),[3,1];case 4:return[3,7];case 5:return o=e.sent(),o={error:o},[3,7];case 6:try{a&&!a.done&&(s=n.return)&&s.call(n)}finally{if(o)throw o.error}return[7];case 7:return[2]}})}function oD(e,t){if(e)for(var r=0;r<e.length;r++){var n=e[r],a=t(n,r);if(n!==a){var i=e.slice(0,r);for(i.push(a),r++;r<e.length;r++)i.push(t(e[r],r));return i}}return e}function sD(e){var t,r,n=[];try{for(var a=__values(e),i=a.next();!i.done;i=a.next()){var o=i.value;o&&(RD(o)?gD(n,o):n.push(o))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n}function cD(e,t){var r;if(e)for(var n=0;n<e.length;n++){var a=t(e[n],n);a&&(r=(RD(a)?gD:vD)(r,a))}return r||WN}function S(e,t){var r=[];if(e)for(var n=0;n<e.length;n++){var a=t(e[n],n);a&&(RD(a)?gD(r,a):r.push(a))}return r}function w(t,r){var n,a,i,o,s;return __generator(this,function(e){switch(e.label){case 0:e.trys.push([0,5,6,7]),n=__values(t),a=n.next(),e.label=1;case 1:return a.done?[3,4]:(i=a.value,(i=r(i))?[5,__values(i)]:[3,3]);case 2:e.sent(),e.label=3;case 3:return a=n.next(),[3,1];case 4:return[3,7];case 5:return o=e.sent(),o={error:o},[3,7];case 6:try{a&&!a.done&&(s=n.return)&&s.call(n)}finally{if(o)throw o.error}return[7];case 7:return[2]}})}function fa(e,t){var r;if(e)for(var n=0;n<e.length;n++){var a=e[n],i=t(a,n);(r||a!==i||RD(i))&&(r=r||e.slice(0,n),RD(i)?gD(r,i):r.push(i))}return r||e}function D(e,t){for(var r=[],n=0;n<e.length;n++){var a=t(e[n],n);if(void 0===a)return;r.push(a)}return r}function uD(e,t){var r=[];if(e)for(var n=0;n<e.length;n++){var a=t(e[n],n);void 0!==a&&r.push(a)}return r}function rr(t,r){var n,a,i,o,s;return __generator(this,function(e){switch(e.label){case 0:e.trys.push([0,5,6,7]),n=__values(t),a=n.next(),e.label=1;case 1:return a.done?[3,4]:(i=a.value,void 0===(i=r(i))?[3,3]:[4,i]);case 2:e.sent(),e.label=3;case 3:return a=n.next(),[3,1];case 4:return[3,7];case 5:return o=e.sent(),o={error:o},[3,7];case 6:try{a&&!a.done&&(s=n.return)&&s.call(n)}finally{if(o)throw o.error}return[7];case 7:return[2]}})}function k(e,r){if(e){var n=new Map;return e.forEach(function(e,t){t=r(t,e);void 0!==t&&(t=(e=__read(t,2))[0],e=e[1],void 0!==t&&void 0!==e&&n.set(t,e))}),n}}function _D(e,t,r){if(e.has(t))return e.get(t);r=r();return e.set(t,r),r}function lD(e,t){return!e.has(t)&&(e.add(t),!0)}function T(t){return __generator(this,function(e){switch(e.label){case 0:return[4,t];case 1:return e.sent(),[2]}})}function Ae(e,t,r){var n;if(e){n=[];for(var a,i=e.length,o=void 0,s=void 0,c=0,u=0;c<i;){for(;u<i;){s=t(e[u],u);if(0===u)o=s;else if(s!==o)break;u++}c<u&&((a=r(e.slice(c,u),o,c,u))&&n.push(a),c=u),o=s,u++}}return n}function C(e,r){if(e){var n=new Map;return e.forEach(function(e,t){t=__read(r(t,e),2),e=t[0],t=t[1];n.set(e,t)}),n}}function dD(e,t){var r,n;if(e){if(!t)return 0<e.length;try{for(var a=__values(e),i=a.next();!i.done;i=a.next())if(t(i.value))return!0}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}return!1}function Ze(e,t,r){for(var n,a=0;a<e.length;a++)t(e[a])?n=void 0===n?a:n:void 0!==n&&(r(n,a),n=void 0);void 0!==n&&r(n,e.length)}function fD(e,t){return dD(t)?dD(e)?__spreadArray(__spreadArray([],__read(e),!1),__read(t),!1):t:e}function N(e,t){return t}function pD(e){return e.map(N)}function mD(e,t,r){return 0===e.length?[]:1===e.length?e.slice():r?function(t,e,r){var n=pD(t);O(t,n,r);for(var a=t[n[0]],i=[n[0]],o=1;o<n.length;o++){var s=n[o],c=t[s];e(a,c)||(i.push(s),a=c)}return i.sort(),i.map(function(e){return t[e]})}(e,t,r):function(e,t){var r,n,a=[];try{for(var i=__values(e),o=i.next();!o.done;o=i.next())hD(a,o.value,t)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a}(e,t)}function A(){return[]}function Q(e,t,r,n){if(0===e.length)return e.push(t),!0;r=AD(e,t,ir,r);return r<0?(e.splice(~r,0,t),!0):!!n&&(e.splice(r,0,t),!0)}function E(e,t,r){return function(e,t){if(0===e.length)return WN;for(var r=e[0],n=[r],a=1;a<e.length;a++){var i=e[a];switch(t(i,r)){case!0:case 0:continue;case-1:return rA.fail("Array is unsorted.")}n.push(r=i)}return n}(M(e,t),r||t||ge)}function F(e,t){if(e.length<2)return!0;for(var r=1,n=e.length;r<n;r++)if(1===t(e[r-1],e[r]))return!1;return!0}function P(e,t,r,n){var a=3;if(e.length<2)return a;for(var i=t(e[0]),o=1,s=e.length;o<s&&0!==a;o++){var c=t(e[o]);1&a&&0<r(i,c)&&(a&=-2),2&a&&0<n(i,c)&&(a&=-3),i=c}return a}function nr(e,t,r){if(void 0===r&&(r=zD),!e||!t)return e===t;if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!r(e[n],t[n],n))return!1;return!0}function Me(e){var t;if(e)for(var r=0;r<e.length;r++){var n=e[r];!t&&n||(t=t||e.slice(0,r),n&&t.push(n))}return t||e}function yD(e,t,r){if(!t||!e||0===t.length||0===e.length)return t;var n=[];e:for(var a=0,i=0;i<t.length;i++){0<i&&rA.assertGreaterThanOrEqual(r(t[i],t[i-1]),0);t:for(var o=a;a<e.length;a++)switch(o<a&&rA.assertGreaterThanOrEqual(r(e[a],e[a-1]),0),r(t[i],e[a])){case-1:n.push(t[i]);continue e;case 0:continue e;case 1:continue t}}return n}function vD(e,t){return void 0===t?e:void 0===e?[t]:(e.push(t),e)}function U(e,t){return void 0===e?t:void 0===t?e:RD(e)?(RD(t)?fD:vD)(e,t):RD(t)?vD(t,e):[e,t]}function I(e,t){return t<0?e.length+t:t}function gD(e,t,r,n){if(void 0===t||0===t.length)return e;if(void 0===e)return t.slice(r,n);r=void 0===r?0:I(t,r),n=void 0===n?t.length:I(t,n);for(var a=r;a<n&&a<t.length;a++)void 0!==t[a]&&e.push(t[a]);return e}function hD(e,t,r){return!eD(e,t,r)&&(e.push(t),!0)}function xD(e,t,r){return e?(hD(e,t,r),e):[t]}function O(r,e,n){e.sort(function(e,t){return n(r[e],r[t])||UD(e,t)})}function M(e,t){return 0===e.length?e:e.slice().sort(t)}function R(t){var r;return __generator(this,function(e){switch(e.label){case 0:r=t.length-1,e.label=1;case 1:return 0<=r?[4,t[r]]:[3,4];case 2:e.sent(),e.label=3;case 3:return r--,[3,1];case 4:return[2]}})}function bn(t,e){var r=pD(t);return O(t,r,e),r.map(function(e){return t[e]})}function bD(e,t,r,n){for(;r<n;){if(e[r]!==t[r])return!1;r++}return!0}function kD(e){return void 0===e||0===e.length?void 0:e[0]}function TD(e){var t,r;if(e)try{for(var n=__values(e),a=n.next();!a.done;a=n.next())return a.value}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}function SD(e){return rA.assert(0!==e.length),e[0]}function wD(e){var t,r;try{for(var n=__values(e),a=n.next();!a.done;a=n.next())return a.value}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}rA.fail("iterator is empty")}function CD(e){return void 0===e||0===e.length?void 0:e[e.length-1]}function ND(e){return rA.assert(0!==e.length),e[e.length-1]}function pa(e){return e&&1===e.length?e[0]:void 0}function j(e){return rA.checkDefined(pa(e))}function Ee(e){return e&&1===e.length?e[0]:e}function DD(e,t,r){e=e.slice(0);return e[t]=r,e}function AD(e,t,r,n,a){return B(e,r(t),r,n,a)}function B(e,t,r,n,a){if(!dD(e))return-1;for(var i=a||0,o=e.length-1;i<=o;){var s=i+(o-i>>1);switch(n(r(e[s],s),t)){case-1:i=s+1;break;case 0:return s;case 1:o=s-1}}return~i}function ED(e,t,r,n,a){if(e&&0<e.length){var i=e.length;if(0<i){var o=void 0===n||n<0?0:n,s=void 0===a||i-1<o+a?i-1:o+a,c=void 0;for(arguments.length<=2?(c=e[o],o++):c=r;o<=s;)c=t(c,e[o],o),o++;return c}}return r}function ma(e,t){return u.call(e,t)}function J(e,t){return u.call(e,t)?e[t]:void 0}function G(e){var t,r=[];for(t in e)u.call(e,t)&&r.push(t);return r}function z(e){var t,r,n=[];do{var a=Object.getOwnPropertyNames(e);try{for(var i=(t=void 0,__values(a)),o=i.next();!o.done;o=i.next())hD(n,o.value)}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}}while(e=Object.getPrototypeOf(e));return n}function q(e){var t,r=[];for(t in e)u.call(e,t)&&r.push(e[t]);return r}function FD(e,t){for(var r=new Array(e),n=0;n<e;n++)r[n]=t(n);return r}function PD(e,t){var r,n,a=[];try{for(var i=__values(e),o=i.next();!o.done;o=i.next()){var s=o.value;a.push(t?t(s):s)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a}function W(e){for(var t,r,n=[],a=1;a<arguments.length;a++)n[a-1]=arguments[a];try{for(var i=__values(n),o=i.next();!o.done;o=i.next()){var s=o.value;if(void 0!==s)for(var c in s)ma(s,c)&&(e[c]=s[c])}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return e}function H(e,t,r){if(void 0===r&&(r=zD),e===t)return!0;if(!e||!t)return!1;for(var n in e)if(u.call(e,n)){if(!u.call(t,n))return!1;if(!r(e[n],t[n]))return!1}for(var n in t)if(u.call(t,n)&&!u.call(e,n))return!1;return!0}function ie(e,t,r){var n,a;void 0===r&&(r=ir);var i=new Map;try{for(var o=__values(e),s=o.next();!s.done;s=o.next()){var c=s.value,u=t(c);void 0!==u&&i.set(u,r(c))}}catch(e){n={error:e}}finally{try{s&&!s.done&&(a=o.return)&&a.call(o)}finally{if(n)throw n.error}}return i}function K(e,t,r){var n,a;void 0===r&&(r=ir);var i=[];try{for(var o=__values(e),s=o.next();!s.done;s=o.next()){var c=s.value;i[t(c)]=r(c)}}catch(e){n={error:e}}finally{try{s&&!s.done&&(a=o.return)&&a.call(o)}finally{if(n)throw n.error}}return i}function ID(e,t,r){var n,a;void 0===r&&(r=ir);var i=MD();try{for(var o=__values(e),s=o.next();!s.done;s=o.next()){var c=s.value;i.add(t(c),r(c))}}catch(e){n={error:e}}finally{try{s&&!s.done&&(a=o.return)&&a.call(o)}finally{if(n)throw n.error}}return i}function OD(e,t,r){return void 0===r&&(r=ir),PD(ID(e,t).values(),r)}function X(e,t){var r,n,a,i={};if(e)try{for(var o=__values(e),s=o.next();!s.done;s=o.next()){var c=s.value,u="".concat(t(c));(null!==(a=i[u])&&void 0!==a?a:i[u]=[]).push(c)}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return i}function kn(e){var t,r={};for(t in e)u.call(e,t)&&(r[t]=e[t]);return r}function Y(e,t){var r,n={};for(r in t)u.call(t,r)&&(n[r]=t[r]);for(r in e)u.call(e,r)&&(n[r]=e[r]);return n}function Z(e,t){for(var r in t)u.call(t,r)&&(e[r]=t[r])}function LD(e,t){return t?t.bind(e):void 0}function MD(){var e=new Map;return e.add=$,e.remove=ee,e}function $(e,t){var r=this.get(e);return r?r.push(t):this.set(e,r=[t]),r}function ee(e,t){var r=this.get(e);r&&(Pe(r,t),r.length||this.delete(e))}function te(e){var r=(null==e?void 0:e.slice())||[],n=0;function a(){return n===r.length}return{enqueue:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];r.push.apply(r,__spreadArray([],__read(e),!1))},dequeue:function(){if(a())throw new Error("Queue is empty");var e,t=r[n];return r[n]=void 0,100<++n&&n>r.length>>1&&(e=r.length-n,r.copyWithin(0,n),r.length=e,n=0),t},isEmpty:a}}function re(c,u){var e,l=new Map,a=0;function o(){var t,r,n,a,i;return __generator(this,function(e){switch(e.label){case 0:e.trys.push([0,7,8,9]),t=__values(l.values()),r=t.next(),e.label=1;case 1:return r.done?[3,6]:RD(n=r.value)?[5,__values(n)]:[3,3];case 2:return e.sent(),[3,5];case 3:return[4,n];case 4:e.sent(),e.label=5;case 5:return r=t.next(),[3,1];case 6:return[3,9];case 7:return a=e.sent(),a={error:a},[3,9];case 8:try{r&&!r.done&&(i=t.return)&&i.call(t)}finally{if(a)throw a.error}return[7];case 9:return[2]}})}var d=((e={has:function(e){var t,r,n=c(e);if(!l.has(n))return!1;var a=l.get(n);if(!RD(a))return u(a,e);try{for(var i=__values(a),o=i.next();!o.done;o=i.next()){var s=o.value;if(u(s,e))return!0}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return!1},add:function(e){var t,r=c(e);return l.has(r)?RD(t=l.get(r))?eD(t,e,u)||(t.push(e),a++):u(t=t,e)||(l.set(r,[t,e]),a++):(l.set(r,e),a++),this},delete:function(e){var t=c(e);if(!l.has(t))return!1;var r=l.get(t);if(RD(r)){for(var n=0;n<r.length;n++)if(u(r[n],e))return 1===r.length?l.delete(t):2===r.length?l.set(t,r[1-n]):Fe(r,n),a--,!0}else if(u(r,e))return l.delete(t),a--,!0;return!1},clear:function(){l.clear(),a=0},get size(){return a},forEach:function(e){var t,r,n,a;try{for(var i=__values(PD(l.values())),o=i.next();!o.done;o=i.next()){var s=o.value;if(RD(s))try{for(var c,u=(n=void 0,__values(s)),_=u.next();!_.done;_=u.next())e(c=_.value,c,d)}catch(e){n={error:e}}finally{try{_&&!_.done&&(a=u.return)&&a.call(u)}finally{if(n)throw n.error}}else e(c=s,c,d)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},keys:function(){return o()},values:function(){return o()},entries:function(){var t,r,n,a,i;return __generator(this,function(e){switch(e.label){case 0:e.trys.push([0,5,6,7]),t=__values(o()),r=t.next(),e.label=1;case 1:return r.done?[3,4]:[4,[n=r.value,n]];case 2:e.sent(),e.label=3;case 3:return r=t.next(),[3,1];case 4:return[3,7];case 5:return a=e.sent(),a={error:a},[3,7];case 6:try{r&&!r.done&&(i=t.return)&&i.call(t)}finally{if(a)throw a.error}return[7];case 7:return[2]}})}})[Symbol.iterator]=function(){return o()},e[Symbol.toStringTag]=l[Symbol.toStringTag],e);return d}function RD(e){return Array.isArray(e)}function ne(e){return RD(e)?e:[e]}function jD(e){return"string"==typeof e}function ae(e){return"number"==typeof e}function BD(e,t){return void 0!==e&&t(e)?e:void 0}function JD(e,t){return void 0!==e&&t(e)?e:rA.fail("Invalid cast. The supplied value ".concat(e," did not pass the test '").concat(rA.getFunctionName(t),"'."))}function fi(e){}function ar(){return!1}function ya(){return!0}function se(){}function ir(e){return e}function ce(e){return e.toLowerCase()}function or(e){return _.test(e)?e.replace(_,ce):e}function ue(){throw new Error("Not implemented")}function va(e){var t;return function(){return e&&(t=e(),e=void 0),t}}function ga(n){var a=new Map;return function(e){var t="".concat(typeof e,":").concat(e),r=a.get(t);return void 0!==r||a.has(t)||(r=n(e),a.set(t,r)),r}}function _e(r){var n=new WeakMap;return function(e){var t=n.get(e);return void 0!==t||n.has(e)||(t=r(e),n.set(e,t)),t}}function le(n,a){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=a.get(e);return void 0!==r||a.has(e)||(r=n.apply(void 0,__spreadArray([],__read(e),!1)),a.set(e,r)),r}}function de(t,r,n,a,e){if(e){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];return function(e){return ED(i,function(e,t){return t(e)},e)}}return a?function(e){return a(n(r(t(e))))}:n?function(e){return n(r(t(e)))}:r?function(e){return r(t(e))}:t?function(e){return t(e)}:function(e){return e}}function zD(e,t){return e===t}function sr(e,t){return e===t||void 0!==e&&void 0!==t&&e.toUpperCase()===t.toUpperCase()}function cr(e,t){return e===t}function fe(e,t){return e===t?0:void 0===e||void 0!==t&&e<t?-1:1}function UD(e,t){return fe(e,t)}function pe(e,t){return UD(null==e?void 0:e.start,null==t?void 0:t.start)||UD(null==e?void 0:e.length,null==t?void 0:t.length)}function me(e,r){return ED(e,function(e,t){return-1===r(e,t)?e:t})}function ye(e,t){return e===t?0:void 0===e?-1:void 0===t?1:(e=e.toUpperCase())<(t=t.toUpperCase())?-1:t<e?1:0}function ve(e,t){return e===t?0:void 0===e?-1:void 0===t?1:(e=e.toLowerCase())<(t=t.toLowerCase())?-1:t<e?1:0}function ge(e,t){return fe(e,t)}function he(e){return e?ye:ge}function xe(){return i}function be(e){i!==e&&(i=e,n=void 0)}function ke(e,t){return(n=n||d(i))(e,t)}function Te(e,t,r,n){return e===t?0:void 0===e?-1:void 0===t?1:n(e[r],t[r])}function Se(e,t){return UD(e?1:0,t?1:0)}function VD(e,t,r){var n,a,i,o=Math.max(2,Math.floor(.34*e.length)),s=Math.floor(.4*e.length)+1;try{for(var c=__values(t),u=c.next();!u.done;u=c.next()){var _=u.value,l=r(_);void 0!==l&&Math.abs(l.length-e.length)<=o&&l!==e&&(l.length<3&&l.toLowerCase()!==e.toLowerCase()||void 0!==(l=function(e,t,r){for(var n=new Array(t.length+1),a=new Array(t.length+1),i=r+.01,o=0;o<=t.length;o++)n[o]=o;for(o=1;o<=e.length;o++){for(var s=e.charCodeAt(o-1),c=Math.ceil(r<o?o-r:1),u=Math.floor(t.length>r+o?r+o:t.length),_=a[0]=o,l=1;l<c;l++)a[l]=i;for(l=c;l<=u;l++){var d=e[o-1].toLowerCase()===t[l-1].toLowerCase()?n[l-1]+.1:n[l-1]+2,d=s===t.charCodeAt(l-1)?n[l-1]:Math.min(n[l]+1,a[l-1]+1,d);a[l]=d,_=Math.min(_,d)}for(l=u+1;l<=t.length;l++)a[l]=i;if(r<_)return;var f=n;n=a,a=f}var p=n[t.length];return r<p?void 0:p}(e,l,s-.1))&&(rA.assert(l<s),s=l,i=_))}}catch(e){n={error:e}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(n)throw n.error}}return i}function qD(e,t){var r=e.length-t.length;return 0<=r&&e.indexOf(t,r)===r}function ur(e,t){return qD(e,t)?e.slice(0,e.length-t.length):e}function we(e,t){return qD(e,t)?e.slice(0,e.length-t.length):void 0}function WD(e,t){return-1!==e.indexOf(t)}function Ce(e){for(var t=e.length,r=t-1;0<r;r--){var n=e.charCodeAt(r);if(48<=n&&n<=57)for(;--r,n=e.charCodeAt(r),0<r&&48<=n&&n<=57;);else{if(!(4<r)||110!==n&&78!==n)break;if(--r,105!==(n=e.charCodeAt(r))&&73!==n)break;if(--r,109!==(n=e.charCodeAt(r))&&77!==n)break;--r,n=e.charCodeAt(r)}if(45!==n&&46!==n)break;t=r}return t===e.length?e:e.slice(0,t)}function Ne(e,t){for(var r=0;r<e.length;r++)if(e[r]===t)return HD(e,r),!0;return!1}function HD(e,t){for(var r=t;r<e.length-1;r++)e[r]=e[r+1];e.pop()}function Fe(e,t){e[t]=e[e.length-1],e.pop()}function Pe(e,t){return function(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return Fe(e,r),!0;return!1}(e,function(e){return e===t})}function KD(e){return e?ir:or}function Ie(e){var t=e.prefix,e=e.suffix;return"".concat(t,"*").concat(e)}function Oe(e,t){return rA.assert(Re(e,t)),t.substring(e.prefix.length,t.length-e.suffix.length)}function GD(e,t,r){var n,a,i,o=-1;try{for(var s=__values(e),c=s.next();!c.done;c=s.next()){var u=c.value,_=t(u);Re(_,r)&&_.prefix.length>o&&(o=_.prefix.length,i=u)}}catch(e){n={error:e}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(n)throw n.error}}return i}function XD(e,t){return 0===e.lastIndexOf(t,0)}function QD(e,t){return XD(e,t)?e.substr(t.length):e}function Le(e,t,r){return void 0===r&&(r=ir),XD(r(e),r(t))?e.substring(t.length):void 0}function Re(e,t){var r=e.prefix,e=e.suffix;return t.length>=r.length+e.length&&XD(t,r)&&qD(t,e)}function YD(t,r){return function(e){return t(e)&&r(e)}}function ZD(){for(var s=[],e=0;e<arguments.length;e++)s[e]=arguments[e];return function(){for(var t,e,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];try{for(var a,i=__values(s),o=i.next();!o.done;o=i.next())if(a=o.value.apply(void 0,__spreadArray([],__read(r),!1)))return a}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return a}}function $D(r){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return!r.apply(void 0,__spreadArray([],__read(e),!1))}}function je(e){}function eA(e){return void 0===e?void 0:[e]}function Be(e,t,r,n,a,i){i=i||fi;for(var o=0,s=0,c=e.length,u=t.length,_=!1;o<c&&s<u;){var l=e[o],d=t[s],f=r(l,d);-1===f?(n(l),o++,_=!0):1===f?(a(d),s++,_=!0):(i(d,l),o++,s++)}for(;o<c;)n(e[o++]),_=!0;for(;s<u;)a(t[s++]),_=!0;return _}function tA(e){var t=[];return function e(t,r,n,a){var i,o;try{for(var s=__values(t[a]),c=s.next();!c.done;c=s.next()){var u=c.value,_=void 0;n?(_=n.slice()).push(u):_=[u],a===t.length-1?r.push(_):e(t,r,_,a+1)}}catch(e){i={error:e}}finally{try{c&&!c.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}}(e,t,void 0,0),t}function Je(e,t,r){return void 0===r&&(r=" "),t<=e.length?e:r.repeat(t-e.length)+e}function ze(e,t,r){return void 0===r&&(r=" "),t<=e.length?e:e+r.repeat(t-e.length)}function Ue(e,t){if(e){for(var r=e.length,n=0;n<r&&t(e[n]);)n++;return e.slice(0,n)}}function Ve(e,t){if(e){for(var r=e.length,n=0;n<r&&t(e[n]);)n++;return e.slice(n)}}function qe(e){for(var t=e.length-1;0<=t&&Ri(e.charCodeAt(t));)t--;return e.slice(0,t+1)}function We(){return"undefined"!=typeof process&&!!process.nextTick&&!process.browser&&"object"==typeof module}var He,rA,Ke,Ge,Xe,Qe,Ye,$e,et,_r,tt,rt,nt,at,it,ot,st=e({"src/compiler/core.ts":function(){function a(e,t,r){if(e===t)return 0;if(void 0===e)return-1;if(void 0===t)return 1;t=r(e,t);return t<0?-1:0<t?1:0}function e(e){var r=new Intl.Collator(e,{usage:"sort",sensitivity:"variant"}).compare;return function(e,t){return a(e,t,r)}}function t(e){return void 0!==e?n():function(e,t){return a(e,t,r)};function r(e,t){return e.localeCompare(t)}}function n(){return function(e,t){return a(e,t,r)};function r(e,t){return n(e.toUpperCase(),t.toUpperCase())||n(e,t)}function n(e,t){return e<t?-1:t<e?1:0}}var r,i,o;MK(),WN=[],li=new Map,s=new Set,c=function(e){return e[e.None=0]="None",e[e.CaseSensitive=1]="CaseSensitive",e[e.CaseInsensitive=2]="CaseInsensitive",e[e.Both=3]="Both",e}(c||{}),De=Array.prototype.at?function(e,t){return null==e?void 0:e.at(t)}:function(e,t){if(e&&(t=I(e,t))<e.length)return e[t]},u=Object.prototype.hasOwnProperty,_=/[^\u0130\u0131\u00DFa-z0-9\\/:\-_. ]+/g,l=function(e){return e[e.None=0]="None",e[e.Normal=1]="Normal",e[e.Aggressive=2]="Aggressive",e[e.VeryAggressive=3]="VeryAggressive",e}(l||{}),o=function(){if("object"==typeof Intl&&"function"==typeof Intl.Collator)return e;if("function"==typeof String.prototype.localeCompare&&"function"==typeof String.prototype.toLocaleUpperCase&&"a".localeCompare("B")<0)return t;return n}(),d=function(e){return void 0===e?r=r||o(e):"en-US"===e?i=i||o(e):o(e)},h=String.prototype.trim?function(e){return e.trim()}:function(e){return di(V(e))},di=String.prototype.trimEnd?function(e){return e.trimEnd()}:qe,V=String.prototype.trimStart?function(e){return e.trimStart()}:function(e){return e.replace(/^\s+/g,"")}}}),ct=e({"src/compiler/debug.ts":function(){MK(),MK(),He=function(e){return 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}(He||{}),function(s){var e,c=0;function r(e){return s.currentLogLevel<=e}function t(e,t){s.loggingHost&&r(e)&&s.loggingHost.log(e,t)}s.currentLogLevel=2,s.isDebugging=!1,s.shouldLog=r,s.log=function(e){t(3,e)},(e=s.log||(s.log={})).error=function(e){t(1,e)},e.warn=function(e){t(2,e)},e.log=function(e){t(3,e)},e.trace=function(e){t(4,e)};var u={};function n(e){return e<=c}function i(e,t){return e<=c||(u[t]={level:e,assertion:s[t]},void(s[t]=fi))}function o(e,t){e=new Error(e?"Debug Failure. ".concat(e):"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(e,t||o),e}function _(e,t,r,n){e||(t=t?"False expression: ".concat(t):"False expression.",r&&(t+="\r\nVerbose Debug Information: "+("string"==typeof r?r:r())),o(t,n||_))}function l(e,t,r){null==e&&o(t,r||l)}function d(e,t,r){var n,a;try{for(var i=__values(e),o=i.next();!o.done;o=i.next())l(o.value,t,r||d)}catch(e){n={error:e}}finally{try{o&&!o.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}}function a(e,t,r){void 0===t&&(t="Illegal value:");e="object"==typeof e&&ma(e,"kind")&&ma(e,"pos")?"SyntaxKind: "+y(e.kind):JSON.stringify(e);return o("".concat(t," ").concat(e),r||a)}function f(e){}function p(e){if("function"!=typeof e)return"";if(ma(e,"name"))return e.name;e=Function.prototype.toString.call(e),e=/^function\s+([\w$]+)\s*\(/.exec(e);return e?e[1]:""}function m(e,t,r){var n,a,i,o;void 0===e&&(e=0);var s=function(e){var t=g.get(e);if(t)return t;var r,n=[];for(r in e){var a=e[r];"number"==typeof a&&n.push([a,r])}t=bn(n,function(e,t){return UD(e[0],t[0])});return g.set(e,t),t}(t);if(0===e)return 0<s.length&&0===s[0][0]?s[0][1]:"0";if(r){var c=[],u=e;try{for(var _=__values(s),l=_.next();!l.done;l=_.next()){var d=__read(l.value,2),f=d[0],p=d[1];if(e<f)break;0!==f&&f&e&&(c.push(p),u&=~f)}}catch(e){n={error:e}}finally{try{l&&!l.done&&(a=_.return)&&a.call(_)}finally{if(n)throw n.error}}if(0===u)return c.join("|")}else try{for(var m=__values(s),y=m.next();!y.done;y=m.next()){var v=__read(y.value,2),f=v[0],p=v[1];if(f===e)return p}}catch(e){i={error:e}}finally{try{y&&!y.done&&(o=m.return)&&o.call(m)}finally{if(i)throw i.error}}return e.toString()}s.getAssertionLevel=function(){return c},s.setAssertionLevel=function(e){var t,r;if(c<(c=e))try{for(var n=__values(G(u)),a=n.next();!a.done;a=n.next()){var i=a.value,o=u[i];void 0!==o&&s[i]!==o.assertion&&e>=o.level&&(s[i]=o,u[i]=void 0)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},s.shouldAssert=n,s.fail=o,s.failBadSyntaxKind=function e(t,r,n){return o("".concat(r||"Unexpected node.","\r\nNode ").concat(y(t.kind)," was unexpected."),n||e)},s.assert=_,s.assertEqual=function e(t,r,n,a,i){t!==r&&(n=n?a?"".concat(n," ").concat(a):n:"",o("Expected ".concat(t," === ").concat(r,". ").concat(n),i||e))},s.assertLessThan=function e(t,r,n,a){r<=t&&o("Expected ".concat(t," < ").concat(r,". ").concat(n||""),a||e)},s.assertLessThanOrEqual=function e(t,r,n){r<t&&o("Expected ".concat(t," <= ").concat(r),n||e)},s.assertGreaterThanOrEqual=function e(t,r,n){t<r&&o("Expected ".concat(t," >= ").concat(r),n||e)},s.assertIsDefined=l,s.checkDefined=function e(t,r,n){return l(t,r,n||e),t},s.assertEachIsDefined=d,s.checkEachDefined=function e(t,r,n){return d(t,r,n||e),t},s.assertNever=a,s.assertEachNode=function e(t,r,n,a){i(1,"assertEachNode")&&_(void 0===r||XN(t,r),n||"Unexpected node.",function(){return"Node array did not pass test '".concat(p(r),"'.")},a||e)},s.assertNode=function e(t,r,n,a){i(1,"assertNode")&&_(void 0!==t&&(void 0===r||r(t)),n||"Unexpected node.",function(){return"Node ".concat(y(null==t?void 0:t.kind)," did not pass test '").concat(p(r),"'.")},a||e)},s.assertNotNode=function e(t,r,n,a){i(1,"assertNotNode")&&_(void 0===t||void 0===r||!r(t),n||"Unexpected node.",function(){return"Node ".concat(y(t.kind)," should not have passed test '").concat(p(r),"'.")},a||e)},s.assertOptionalNode=function e(t,r,n,a){i(1,"assertOptionalNode")&&_(void 0===r||void 0===t||r(t),n||"Unexpected node.",function(){return"Node ".concat(y(null==t?void 0:t.kind)," did not pass test '").concat(p(r),"'.")},a||e)},s.assertOptionalToken=function e(t,r,n,a){i(1,"assertOptionalToken")&&_(void 0===r||void 0===t||t.kind===r,n||"Unexpected node.",function(){return"Node ".concat(y(null==t?void 0:t.kind)," was not a '").concat(y(r),"' token.")},a||e)},s.assertMissingNode=function e(t,r,n){i(1,"assertMissingNode")&&_(void 0===t,r||"Unexpected node.",function(){return"Node ".concat(y(t.kind)," was unexpected'.")},n||e)},s.type=f,s.getFunctionName=p,s.formatSymbol=function(e){return"{ name: ".concat(OA(e.escapedName),"; flags: ").concat(k(e.flags),"; declarations: ").concat(iD(e.declarations,function(e){return y(e.kind)})," }")},s.formatEnum=m;var g=new Map;function y(e){return m(e,Qt,!1)}function v(e){return m(e,Yt,!0)}function h(e){return m(e,Zt,!0)}function x(e){return m(e,fn,!0)}function b(e){return m(e,mn,!0)}function k(e){return m(e,Fr,!0)}function T(e){return m(e,Mr,!0)}function S(e){return m(e,qr,!0)}function w(e){return m(e,Rr,!0)}function C(e){return m(e,fr,!0)}s.formatSyntaxKind=y,s.formatSnippetKind=function(e){return m(e,pn,!1)},s.formatScriptKind=function(e){return m(e,sn,!1)},s.formatNodeFlags=v,s.formatModifierFlags=h,s.formatTransformFlags=x,s.formatEmitFlags=b,s.formatSymbolFlags=k,s.formatTypeFlags=T,s.formatSignatureFlags=S,s.formatObjectFlags=w,s.formatFlowFlags=C,s.formatRelationComparisonResult=function(e){return m(e,lr,!0)},s.formatCheckMode=function(e){return m(e,CC,!0)},s.formatSignatureCheckMode=function(e){return m(e,NC,!0)};var N,D,A=!(s.formatTypeFacts=function(e){return m(e,wC,!0)});function E(e){"__debugFlowFlags"in e||Object.defineProperties(e,{__tsDebuggerDisplay:{value:function(){var 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"".concat(e).concat(t?" (".concat(C(t),")"):"")}},__debugFlowFlags:{get:function(){return m(this.flags,fr,!0)}},__debugToString:{value:function(){return O(this)}}})}function F(e){"__tsDebuggerDisplay"in e||Object.defineProperties(e,{__tsDebuggerDisplay:{value:function(e){return e=String(e).replace(/(?:,[\s\w\d_]+:[^,]+)+\]$/,"]"),"NodeArray ".concat(e)}}})}s.attachFlowNodeDebugInfo=function(e){A&&("function"==typeof Object.setPrototypeOf?(N||E(N=Object.create(Object.prototype)),Object.setPrototypeOf(e,N)):E(e))},s.attachNodeArrayDebugInfo=function(e){A&&("function"==typeof Object.setPrototypeOf?(D||F(D=Object.create(Array.prototype)),Object.setPrototypeOf(e,D)):F(e))},s.enableDebugInfo=function(){var t,e;if(!A){var r=new WeakMap,a=new WeakMap;Object.defineProperties(pF.getSymbolConstructor().prototype,{__tsDebuggerDisplay:{value:function(){var e=33554432&this.flags?"TransientSymbol":"Symbol",t=-33554433&this.flags;return"".concat(e," '").concat(RA(this),"'").concat(t?" (".concat(k(t),")"):"")}},__debugFlags:{get:function(){return k(this.flags)}}}),Object.defineProperties(pF.getTypeConstructor().prototype,{__tsDebuggerDisplay:{value:function(){var e=98304&this.flags?"NullableType":384&this.flags?"LiteralType ".concat(JSON.stringify(this.value)):2048&this.flags?"LiteralType ".concat(this.value.negative?"-":"").concat(this.value.base10Value,"n"):8192&this.flags?"UniqueESSymbolType":32&this.flags?"EnumType":67359327&this.flags?"IntrinsicType ".concat(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"".concat(e).concat(this.symbol?" '".concat(RA(this.symbol),"'"):"").concat(t?" (".concat(w(t),")"):"")}},__debugFlags:{get:function(){return T(this.flags)}},__debugObjectFlags:{get:function(){return 524288&this.flags?w(this.objectFlags):""}},__debugTypeToString:{value:function(){var e=r.get(this);return void 0===e&&(e=this.checker.typeToString(this),r.set(this,e)),e}}}),Object.defineProperties(pF.getSignatureConstructor().prototype,{__debugFlags:{get:function(){return S(this.flags)}},__debugSignatureToString:{value:function(){var e;return null==(e=this.checker)?void 0:e.signatureToString(this)}}});var n=[pF.getNodeConstructor(),pF.getIdentifierConstructor(),pF.getTokenConstructor(),pF.getSourceFileConstructor()];try{for(var i=__values(n),o=i.next();!o.done;o=i.next()){var s=o.value;ma(s.prototype,"__debugKind")||Object.defineProperties(s.prototype,{__tsDebuggerDisplay:{value:function(){var e=mE(this)?"GeneratedIdentifier":xR(this)?"Identifier '".concat(LA(this),"'"):bR(this)?"PrivateIdentifier '".concat(LA(this),"'"):hR(this)?"StringLiteral ".concat(JSON.stringify(this.text.length<10?this.text:this.text.slice(10)+"...")):gR(this)?"NumericLiteral ".concat(this.text):Vv(this)?"BigIntLiteral ".concat(this.text,"n"):wR(this)?"TypeParameterDeclaration":CR(this)?"ParameterDeclaration":IR(this)?"ConstructorDeclaration":OR(this)?"GetAccessorDeclaration":LR(this)?"SetAccessorDeclaration":MR(this)?"CallSignatureDeclaration":RR(this)?"ConstructSignatureDeclaration":gg(this)?"IndexSignatureDeclaration":jR(this)?"TypePredicateNode":BR(this)?"TypeReferenceNode":JR(this)?"FunctionTypeNode":zR(this)?"ConstructorTypeNode":UR(this)?"TypeQueryNode":VR(this)?"TypeLiteralNode":hg(this)?"ArrayTypeNode":qR(this)?"TupleTypeNode":HR(this)?"OptionalTypeNode":KR(this)?"RestTypeNode":xg(this)?"UnionTypeNode":bg(this)?"IntersectionTypeNode":kg(this)?"ConditionalTypeNode":Tg(this)?"InferTypeNode":GR(this)?"ParenthesizedTypeNode":Sg(this)?"ThisTypeNode":XR(this)?"TypeOperatorNode":QR(this)?"IndexedAccessTypeNode":wg(this)?"MappedTypeNode":YR(this)?"LiteralTypeNode":WR(this)?"NamedTupleMember":ZR(this)?"ImportTypeNode":y(this.kind);return"".concat(e).concat(this.flags?" (".concat(v(this.flags),")"):"")}},__debugKind:{get:function(){return y(this.kind)}},__debugNodeFlags:{get:function(){return v(this.flags)}},__debugModifierFlags:{get:function(){return h(Zd(this))}},__debugTransformFlags:{get:function(){return x(this.transformFlags)}},__debugIsParseTreeNode:{get:function(){return Ro(this)}},__debugEmitFlags:{get:function(){return b(p_(this))}},__debugGetText:{value:function(e){if(jO(this))return"";var t,r,n=a.get(this);return void 0===n&&(n=(r=(t=PA(this))&&CF(t))?__(r,t,e):"",a.set(this,n)),n}}})}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}A=!0}},s.formatVariance=function(e){var t=0==(t=7&e)?"in out":3==t?"[bivariant]":2==t?"in":1==t?"out":4==t?"[independent]":"";return 8&e?t+=" (unmeasurable)":16&e&&(t+=" (unreliable)"),t};var P=(I.prototype.__debugToString=function(){var e;switch(this.kind){case 3:return(null==(e=this.debugInfo)?void 0:e.call(this))||"(function mapper)";case 0:return"".concat(this.source.__debugTypeToString()," -> ").concat(this.target.__debugTypeToString());case 1:return L(this.sources,this.targets||iD(this.sources,function(){return"any"}),function(e,t){return"".concat(e.__debugTypeToString()," -> ").concat("string"==typeof t?t:t.__debugTypeToString())}).join(", ");case 2:return L(this.sources,this.targets,function(e,t){return"".concat(e.__debugTypeToString()," -> ").concat(t().__debugTypeToString())}).join(", ");case 5:case 4:return"m1: ".concat(this.mapper1.__debugToString().split("\n").join("\n    "),"\nm2: ").concat(this.mapper2.__debugToString().split("\n").join("\n    "));default:return a(this)}},I);function I(){}function O(e){var t,r,n,a=-1;function c(e){return e.id||(e.id=a,a--),e.id}(n={}).lr="─",n.ud="│",n.dr="╭",n.dl="╮",n.ul="╯",n.ur="╰",n.udr="├",n.udl="┤",n.dlr="┬",n.ulr="┴",n.udlr="╫",(n={})[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";var u=2032,o=882,_=Object.create(null),k=[],i=[],e=f(e,new Set);try{for(var s=__values(k),l=s.next();!l.done;l=s.next()){var d=l.value;d.text=function(e,t){var r=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 new Error}(e.flags);t&&(r="".concat(r,"#").concat(c(e)));if(function(e){return!!(e.flags&o)}(e))e.node&&(r+=" (".concat(m(e.node),")"));else if(128&e.flags){for(var n=[],a=e.clauseStart;a<e.clauseEnd;a++){var i=e.switchStatement.caseBlock.clauses[a];ph(i)?n.push("default"):n.push(m(i.expression))}r+=" (".concat(n.join(", "),")")}return"circularity"===t?"Circular(".concat(r,")"):r}(d.flowNode,d.circular),function e(t){var r,n;if(-1!==t.level)return t.level;var a=0;try{for(var i=__values(w(t)),o=i.next();!o.done;o=i.next()){var s=o.value;a=Math.max(a,e(s)+1)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return t.level=a}(d)}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}var T=function(e){var t,r,n=C(Array(e),0);try{for(var a=__values(k),i=a.next();!i.done;i=a.next()){var o=i.value;n[o.level]=Math.max(n[o.level],o.text.length)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n}(function e(t){var r,n;var a=0;try{for(var i=__values(S(t)),o=i.next();!o.done;o=i.next()){var s=o.value;a=Math.max(a,e(s))}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a+1}(e));return function e(t,r){if(-1===t.lane){t.lane=r,t.endLane=r;for(var n=S(t),a=0;a<n.length;a++){0<a&&r++;var i=n[a];e(i,r),i.endLane>t.endLane&&(r=i.endLane)}t.endLane=r}}(e,0),function(){var t,e,r=T.length,n=k.reduce(function(e,t){return Math.max(e,t.lane)},0)+1,a=C(Array(n),""),i=T.map(function(){return Array(n)}),o=T.map(function(){return C(Array(n),0)});try{for(var s=__values(k),c=s.next();!c.done;c=s.next()){for(var u=c.value,_=S(i[u.level][u.lane]=u),l=0;l<_.length;l++){var d=_[l],f=8;d.lane===u.lane&&(f|=4),0<l&&(f|=1),l<_.length-1&&(f|=2),o[u.level][d.lane]|=f}0===_.length&&(o[u.level][u.lane]|=16);for(var p=w(u),l=0;l<p.length;l++){var m=p[l],f=4;0<l&&(f|=1),l<p.length-1&&(f|=2),o[u.level-1][m.lane]|=f}}}catch(e){t={error:e}}finally{try{c&&!c.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}for(var y=0;y<r;y++)for(var v=0;v<n;v++){var g=0<y?o[y-1][v]:0,h=0<v?o[y][v-1]:0;(f=o[y][v])||(8&g&&(f|=12),2&h&&(f|=3),o[y][v]=f)}for(y=0;y<r;y++)for(v=0;v<a.length;v++){var x=4&(f=o[y][v])?"─":" ";(u=i[y][v])?(b(v,u.text),y<r-1&&(b(v," "),b(v,N(x,T[y]-u.text.length)))):y<r-1&&b(v,N(x,T[y]+1)),b(v,function(e){switch(e){case 3:return"│";case 12:return"─";case 5:return"╯";case 9:return"╰";case 6:return"╮";case 10:return"╭";case 7:return"┤";case 11:return"├";case 13:return"┴";case 14:return"┬";case 15:return"╫"}return" "}(f)),b(v,8&f&&y<r-1&&!i[y+1][v]?"─":" ")}return"\n".concat(a.join("\n"),"\n");function b(e,t){a[e]+=t}}();function S(e){var t,r,n=[];try{for(var a=__values(e.edges),i=a.next();!i.done;i=a.next()){var o=i.value;o.source===e&&n.push(o.target)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n}function w(e){var t,r,n=[];try{for(var a=__values(e.edges),i=a.next();!i.done;i=a.next()){var o=i.value;o.target===e&&n.push(o.source)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n}function f(e,t){var r,n,a=c(e),i=_[a];if(i&&t.has(e))return i.circular=!0,i={id:-1,flowNode:e,edges:[],text:"",lane:-1,endLane:-1,level:-1,circular:"circularity"},k.push(i),i;if(t.add(e),!i)if(_[a]=i={id:a,flowNode:e,edges:[],text:"",lane:-1,endLane:-1,level:-1,circular:!1},k.push(i),12&(a=e).flags&&a.antecedents)try{for(var o=__values(e.antecedents),s=o.next();!s.done;s=o.next())p(i,s.value,t)}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}else e.flags&u&&p(i,e.antecedent,t);return t.delete(e),i}function p(e,t,r){t=f(t,r),r={source:e,target:t};i.push(r),e.edges.push(r),t.edges.push(r)}function m(e){return __(CF(e),e,!1)}function C(e,t){if(e.fill)e.fill(t);else for(var r=0;r<e.length;r++)e[r]=t;return e}function N(e,t){if(e.repeat)return 0<t?e.repeat(t):"";for(var r="";r.length<t;)r+=e;return r}}s.DebugTypeMapper=P,s.attachDebugPrototypeIfDebug=function(e){return s.isDebugging?Object.setPrototypeOf(e,P.prototype):e},s.printControlFlowGraph=function(e){return console.log(O(e))},s.formatControlFlowGraph=O}(rA=rA||{})}});function ut(e){var t=Ke.exec(e);if(t){var r=__read(t,6),n=r[1],a=r[2],e=void 0===a?"0":a,t=r[3],a=void 0===t?"0":t,t=r[4],t=void 0===t?"":t,r=r[5],r=void 0===r?"":r;if((!t||Ge.test(t))&&(!r||Qe.test(r)))return{major:parseInt(n,10),minor:parseInt(e,10),patch:parseInt(a,10),prerelease:t,build:r}}}function _t(e){var t,r,n,a,i=[];try{for(var o=__values(h(e).split(rt)),s=o.next();!s.done;s=o.next())if(u=s.value){var c=[],u=h(u),_=it.exec(u);if(_){if(!function(e,t,r){e=lt(e);if(!e)return!1;t=lt(t);if(!t)return!1;dt(e.major)||r.push(ft(">=",e.version));dt(t.major)||r.push(dt(t.minor)?ft("<",t.version.increment("major")):dt(t.patch)?ft("<",t.version.increment("minor")):ft("<=",t.version));return!0}(_[1],_[2],c))return}else try{for(var l=(n=void 0,__values(u.split(nt))),d=l.next();!d.done;d=l.next()){var f=d.value,f=ot.exec(h(f));if(!f||!function(e,t,r){var n=lt(t);if(!n)return!1;var a=n.version,t=n.major,i=n.minor,o=n.patch;if(dt(t))"<"!==e&&">"!==e||r.push(ft("<",_r.zero));else switch(e){case"~":r.push(ft(">=",a)),r.push(ft("<",a.increment(dt(i)?"major":"minor")));break;case"^":r.push(ft(">=",a)),r.push(ft("<",a.increment(0<a.major||dt(i)?"major":0<a.minor||dt(o)?"minor":"patch")));break;case"<":case">=":r.push(dt(i)||dt(o)?ft(e,a.with({prerelease:"0"})):ft(e,a));break;case"<=":case">":r.push(dt(i)?ft("<="===e?"<":">=",a.increment("major").with({prerelease:"0"})):dt(o)?ft("<="===e?"<":">=",a.increment("minor").with({prerelease:"0"})):ft(e,a));break;case"=":case void 0:dt(i)||dt(o)?(r.push(ft(">=",a.with({prerelease:"0"}))),r.push(ft("<",a.increment(dt(i)?"major":"minor").with({prerelease:"0"})))):r.push(ft("=",a));break;default:return!1}return!0}(f[1],f[2],c))return}}catch(e){n={error:e}}finally{try{d&&!d.done&&(a=l.return)&&a.call(l)}finally{if(n)throw n.error}}i.push(c)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i}function lt(e){var t=at.exec(e);if(t){var r=__read(t,6),n=r[1],a=r[2],e=void 0===a?"*":a,t=r[3],a=void 0===t?"*":t,t=r[4],r=r[5];return{version:new _r(dt(n)?0:parseInt(n,10),dt(n)||dt(e)?0:parseInt(e,10),dt(n)||dt(e)||dt(a)?0:parseInt(a,10),t,r),major:n,minor:e,patch:a}}}function dt(e){return"*"===e||"x"===e||"X"===e}function ft(e,t){return{operator:e,operand:t}}function pt(e,t){var r,n;if(0===t.length)return!0;try{for(var a=__values(t),i=a.next();!i.done;i=a.next())if(function(e,t){var r,n;try{for(var a=__values(t),i=a.next();!i.done;i=a.next()){var o=i.value;if(!function(e,t,r){var n=e.compareTo(r);switch(t){case"<":return n<0;case"<=":return n<=0;case">":return 0<n;case">=":return 0<=n;case"=":return 0===n;default:return rA.assertNever(t)}}(e,o.operator,o.operand))return!1}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return!0}(e,i.value))return!0}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return!1}function mt(e){return iD(e,yt).join(" ")}function yt(e){return"".concat(e.operator).concat(e.operand)}var vt,gt,ht,xt=e({"src/compiler/semver.ts":function(){function i(e,t,r,n,a){var i;void 0===t&&(t=0),void 0===r&&(r=0),void 0===n&&(n=""),void 0===a&&(a=""),"string"==typeof e&&(e=(i=rA.checkDefined(ut(e),"Invalid version")).major,t=i.minor,r=i.patch,n=i.prerelease,a=i.build),rA.assert(0<=e,"Invalid argument: major"),rA.assert(0<=t,"Invalid argument: minor"),rA.assert(0<=r,"Invalid argument: patch");n=n?RD(n)?n:n.split("."):WN,a=a?RD(a)?a:a.split("."):WN;rA.assert(XN(n,function(e){return Xe.test(e)}),"Invalid argument: prerelease"),rA.assert(XN(a,function(e){return Ye.test(e)}),"Invalid argument: build"),this.major=e,this.minor=t,this.patch=r,this.prerelease=n,this.build=a}function r(e){this._alternatives=e?rA.checkDefined(_t(e),"Invalid range spec."):WN}MK(),Ke=/^(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,Ge=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)(?:\.(?:0|[1-9]\d*|[a-z-][a-z0-9-]*))*$/i,Xe=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)$/i,Qe=/^[a-z0-9-]+(?:\.[a-z0-9-]+)*$/i,Ye=/^[a-z0-9-]+$/i,$e=/^(0|[1-9]\d*)$/,i.tryParse=function(e){e=ut(e);if(e)return new i(e.major,e.minor,e.patch,e.prerelease,e.build)},i.prototype.compareTo=function(e){return this===e?0:void 0===e?1:UD(this.major,e.major)||UD(this.minor,e.minor)||UD(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;for(var r=Math.min(e.length,t.length),n=0;n<r;n++){var a=e[n],i=t[n];if(a!==i){var o,s=$e.test(a),c=$e.test(i);if(s||c){if(s!==c)return s?-1:1;if(o=UD(+a,+i))return o}else if(o=ge(a,i))return o}}return UD(e.length,t.length)}(this.prerelease,e.prerelease)},i.prototype.increment=function(e){switch(e){case"major":return new i(this.major+1,0,0);case"minor":return new i(this.major,this.minor+1,0);case"patch":return new i(this.major,this.minor,this.patch+1);default:return rA.assertNever(e)}},i.prototype.with=function(e){var t=e.major,r=void 0===t?this.major:t,n=e.minor,a=void 0===n?this.minor:n,t=e.patch,n=void 0===t?this.patch:t,t=e.prerelease,t=void 0===t?this.prerelease:t,e=e.build;return new i(r,a,n,t,void 0===e?this.build:e)},i.prototype.toString=function(){var e="".concat(this.major,".").concat(this.minor,".").concat(this.patch);return dD(this.prerelease)&&(e+="-".concat(this.prerelease.join("."))),dD(this.build)&&(e+="+".concat(this.build.join("."))),e},(et=i).zero=new et(0,0,0,["0"]),_r=et,r.tryParse=function(e){var t=_t(e);if(t){e=new r("");return e._alternatives=t,e}},r.prototype.test=function(e){return"string"==typeof e&&(e=new _r(e)),pt(e,this._alternatives)},r.prototype.toString=function(){return iD(this._alternatives,mt).join(" || ")||"*"},tt=r,rt=/\|\|/g,nt=/\s+/g,at=/^([xX*0]|[1-9]\d*)(?:\.([xX*0]|[1-9]\d*)(?:\.([xX*0]|[1-9]\d*)(?:-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,it=/^\s*([a-z0-9-+.*]+)\s+-\s+([a-z0-9-+.*]+)\s*$/i,ot=/^(~|\^|<|<=|>|>=|=)?\s*([a-z0-9-+.*]+)$/i}});function bt(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 kt(){return vt}var Tt,St,wt,Ct,Nt,Dt,At,Et,Ft,Pt,It=e({"src/compiler/performanceCore.ts":function(){MK(),vt=function(){if("object"==typeof performance&&"function"==typeof PerformanceObserver&&bt(performance,PerformanceObserver))return{shouldWriteNativeEvents:!0,performance:performance,PerformanceObserver:PerformanceObserver}}()||function(){if(We())try{var e=require("perf_hooks"),t=e.performance,e=e.PerformanceObserver;if(bt(t,e))return{shouldWriteNativeEvents:!1,performance:t,PerformanceObserver:e}}catch(e){}}(),gt=null==vt?void 0:vt.performance,ht=gt?function(){return gt.now()}:Date.now||function(){return+new Date}}}),Ot=e({"src/compiler/perfLogger.ts":function(){try{var e=null!==(e=process.env.TS_ETW_MODULE_PATH)&&void 0!==e?e:"./node_modules/@microsoft/typescript-etw";Tt=require(e)}catch(e){Tt=void 0}St=null!=Tt&&Tt.logEvent?Tt:void 0}});function Tn(e,t,r,n){return e?Lt(t,r,n):Nt}function Lt(e,t,r){var n=0;return{enter:function(){1==++n&&nA(t)},exit:function(){0==--n?(nA(r),aA(e,t,r)):n<0&&rA.fail("enter/exit count does not match.")}}}function nA(e){var t;Dt&&(t=null!==(t=Ft.get(e))&&void 0!==t?t:0,Ft.set(e,t+1),Et.set(e,ht()),null!=Ct&&Ct.mark(e),"function"==typeof onProfilerEvent&&onProfilerEvent(e))}function aA(e,t,r){var n,a,i;Dt&&(n=null!==(a=void 0!==r?Et.get(r):void 0)&&void 0!==a?a:ht(),a=null!==(i=void 0!==t?Et.get(t):void 0)&&void 0!==i?i:At,i=Pt.get(e)||0,Pt.set(e,i+(n-a)),null!=Ct&&Ct.measure(e,t,r))}function Mt(e){return Ft.get(e)||0}function Rt(e){return Pt.get(e)||0}function jt(r){Pt.forEach(function(e,t){return r(t,e)})}function Bt(r){Et.forEach(function(e,t){return r(t)})}function Jt(e){void 0!==e?Pt.delete(e):Pt.clear(),null!=Ct&&Ct.clearMeasures(e)}function zt(e){void 0!==e?(Ft.delete(e),Et.delete(e)):(Ft.clear(),Et.clear()),null!=Ct&&Ct.clearMarks(e)}function Ut(){return Dt}function Vt(e){var t;return void 0===e&&(e=zn),Dt||(Dt=!0,(wt=wt||vt)&&(At=wt.performance.timeOrigin,(wt.shouldWriteNativeEvents||null!=(t=null==e?void 0:e.cpuProfilingEnabled)&&t.call(e)||null!=e&&e.debugMode)&&(Ct=wt.performance))),!0}function qt(){Dt&&(Et.clear(),Ft.clear(),Pt.clear(),Ct=void 0,Dt=!1)}var Wt=e({"src/compiler/performance.ts":function(){MK(),Dt=!(Nt={enter:fi,exit:fi}),At=ht(),Et=new Map,Ft=new Map,Pt=new Map}}),Ht={};t(Ht,{clearMarks:function(){return zt},clearMeasures:function(){return Jt},createTimer:function(){return Lt},createTimerIf:function(){return Tn},disable:function(){return qt},enable:function(){return Vt},forEachMark:function(){return Bt},forEachMeasure:function(){return jt},getCount:function(){return Mt},getDuration:function(){return Rt},isEnabled:function(){return Ut},mark:function(){return nA},measure:function(){return aA},nullTimer:function(){return Nt}});var iA,Kt,Gt,Xt,Qt,Yt,Zt,$t,lr,Sn,dr,fr,pr,mr,yr,vr,gr,hr,xr,br,kr,Tr,Sr,wr,Cr,Nr,Dr,Ar,Er,Fr,Pr,Ir,Or,Lr,Mr,Rr,jr,Br,Jr,zr,Ur,Vr,qr,Wr,Hr,Kr,Gr,Xr,Qr,Yr,Zr,$r,en,tn,rn,oA,nn,an,on,sn,cn,un,_n,ln,dn,fn,pn,mn,yn,vn,gn,hn,xn,wn,Cn,Nn,Dn,An=e({"src/compiler/_namespaces/ts.performance.ts":function(){Wt()}}),En=e({"src/compiler/tracing.ts":function(){MK(),An(),function(a){var k,o,i,e,s=0,c=0,u=[],T=[];a.startTracing=function(e,t,r){if(rA.assert(!iA,"Tracing already started"),void 0===k)try{k=require("fs")}catch(e){throw new Error("tracing requires having fs\n(original error: ".concat(e.message||e,")"))}o=e,void(u.length=0)===i&&(i=dA(t,"legend.json")),k.existsSync(t)||k.mkdirSync(t,{recursive:!0});var n="build"===o?".".concat(process.pid,"-").concat(++s):"server"===o?".".concat(process.pid):"",e=dA(t,"trace".concat(n,".json")),n=dA(t,"types".concat(n,".json"));T.push({configFilePath:r,tracePath:e,typesPath:n}),c=k.openSync(e,"w"),iA=a,e={cat:"__metadata",ph:"M",ts:1e3*ht(),pid:1,tid:1},k.writeSync(c,"[\n"+[__assign({name:"process_name",args:{name:"tsc"}},e),__assign({name:"thread_name",args:{name:"Main"}},e),__assign(__assign({name:"TracingStartedInBrowser"},e),{cat:"disabled-by-default-devtools.timeline"})].map(function(e){return JSON.stringify(e)}).join(",\n"))},a.stopTracing=function(){rA.assert(iA,"Tracing is not in progress"),rA.assert(!!u.length==("server"!==o)),k.writeSync(c,"\n]\n"),k.closeSync(c),iA=void 0,u.length?function(e){var t,r,n,a;nA("beginDumpTypes");var i=T[T.length-1].typesPath,o=k.openSync(i,"w"),s=new Map;k.writeSync(o,"[");for(var c=e.length,u=0;u<c;u++){var _=e[u],l=_.objectFlags,d=null!==(p=_.aliasSymbol)&&void 0!==p?p:_.symbol,f=void 0;if(16&l|2944&_.flags)try{f=null==(t=_.checker)?void 0:t.typeToString(_)}catch(e){f=void 0}var p={};8388608&_.flags&&(p={indexedAccessObjectType:null==(m=_.objectType)?void 0:m.id,indexedAccessIndexType:null==(r=_.indexType)?void 0:r.id});var m={};4&l&&(m={instantiatedType:null==(r=(y=_).target)?void 0:r.id,typeArguments:null==(r=y.resolvedTypeArguments)?void 0:r.map(function(e){return e.id}),referenceLocation:S(y.node)});var y={};16777216&_.flags&&(y={conditionalCheckType:null==(v=_.checkType)?void 0:v.id,conditionalExtendsType:null==(v=_.extendsType)?void 0:v.id,conditionalTrueType:null!==(v=null==(v=_.resolvedTrueType)?void 0:v.id)&&void 0!==v?v:-1,conditionalFalseType:null!==(v=null==(v=_.resolvedFalseType)?void 0:v.id)&&void 0!==v?v:-1});var v={};33554432&_.flags&&(v={substitutionBaseType:null==(g=_.baseType)?void 0:g.id,constraintType:null==(g=_.constraint)?void 0:g.id});var g={};1024&l&&(g={reverseMappedSourceType:null==(x=_.source)?void 0:x.id,reverseMappedMappedType:null==(h=_.mappedType)?void 0:h.id,reverseMappedConstraintType:null==(x=_.constraintType)?void 0:x.id});var h={};256&l&&(h={evolvingArrayElementType:_.elementType.id,evolvingArrayFinalType:null==(b=_.finalArrayType)?void 0:b.id});var x=void 0,b=_.checker.getRecursionIdentity(_);b&&((x=s.get(b))||(x=s.size,s.set(b,x)));d=__assign(__assign(__assign(__assign(__assign(__assign(__assign({id:_.id,intrinsicName:_.intrinsicName,symbolName:(null==d?void 0:d.escapedName)&&OA(d.escapedName),recursionId:x,isTuple:!!(8&l)||void 0,unionTypes:!(1048576&_.flags)||null==(n=_.types)?void 0:n.map(function(e){return e.id}),intersectionTypes:2097152&_.flags?_.types.map(function(e){return e.id}):void 0,aliasTypeArguments:null==(l=_.aliasTypeArguments)?void 0:l.map(function(e){return e.id}),keyofType:!(4194304&_.flags)||null==(a=_.type)?void 0:a.id},p),m),y),v),g),h),{destructuringPattern:S(_.pattern),firstDeclaration:S(null==(d=null==d?void 0:d.declarations)?void 0:d[0]),flags:rA.formatTypeFlags(_.flags).split("|"),display:f});k.writeSync(o,JSON.stringify(d)),u<c-1&&k.writeSync(o,",\n")}k.writeSync(o,"]\n"),k.closeSync(o),nA("endDumpTypes"),aA("Dump types","beginDumpTypes","endDumpTypes")}(u):T[T.length-1].typesPath=void 0},a.recordType=function(e){"server"!==o&&u.push(e)},(e=a.Phase||(a.Phase={})).Parse="parse",e.Program="program",e.Bind="bind",e.Check="check",e.CheckTypes="checkTypes",e.Emit="emit",e.Session="session",a.instant=function(e,t,r){d("I",e,t,r,'"s":"g"')};var _=[];a.push=function(e,t,r,n){void 0===n&&(n=!1),n&&d("B",e,t,r),_.push({phase:e,name:t,args:r,time:1e3*ht(),separateBeginAndEnd:n})},a.pop=function(e){rA.assert(0<_.length),r(_.length-1,1e3*ht(),e),_.length--},a.popAll=function(){for(var e=1e3*ht(),t=_.length-1;0<=t;t--)r(t,e);_.length=0};var l=1e4;function r(e,t,r){var n=_[e],a=n.phase,i=n.name,o=n.args,e=n.time;n.separateBeginAndEnd?(rA.assert(!r,"`results` are not supported for events with `separateBeginAndEnd`"),d("E",a,i,o,void 0,t)):l-e%l<=t-e&&d("X",a,i,__assign(__assign({},o),{results:r}),'"dur":'.concat(t-e),e)}function d(e,t,r,n,a,i){void 0===i&&(i=1e3*ht()),"server"===o&&"checkTypes"===t||(nA("beginTracing"),k.writeSync(c,',\n{"pid":1,"tid":1,"ph":"'.concat(e,'","cat":"').concat(t,'","ts":').concat(i,',"name":"').concat(r,'"')),a&&k.writeSync(c,",".concat(a)),n&&k.writeSync(c,',"args":'.concat(JSON.stringify(n))),k.writeSync(c,"}"),nA("endTracing"),aA("Tracing","beginTracing","endTracing"))}function S(e){var t=CF(e);return t?{path:t.path,start:r(gA(t,e.pos)),end:r(gA(t,e.end))}:void 0;function r(e){return{line:e.line+1,character:e.character+1}}}a.dumpLegend=function(){i&&k.writeFileSync(i,JSON.stringify(T))}}(Kt=Kt||{}),Gt=Kt.startTracing,Xt=Kt.dumpLegend}});function Fn(e,t){void 0===t&&(t=!0);e=Yr[e.category];return t?e.toLowerCase():e}var Pn,In,On,Ln,Mn,Rn,jn,Bn,Jn,zn,Un=e({"src/compiler/types.ts":function(){Qt=function(e){return e[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.NonTextFileMarkerTrivia=8]="NonTextFileMarkerTrivia",e[e.NumericLiteral=9]="NumericLiteral",e[e.BigIntLiteral=10]="BigIntLiteral",e[e.StringLiteral=11]="StringLiteral",e[e.JsxText=12]="JsxText",e[e.JsxTextAllWhiteSpaces=13]="JsxTextAllWhiteSpaces",e[e.RegularExpressionLiteral=14]="RegularExpressionLiteral",e[e.NoSubstitutionTemplateLiteral=15]="NoSubstitutionTemplateLiteral",e[e.TemplateHead=16]="TemplateHead",e[e.TemplateMiddle=17]="TemplateMiddle",e[e.TemplateTail=18]="TemplateTail",e[e.OpenBraceToken=19]="OpenBraceToken",e[e.CloseBraceToken=20]="CloseBraceToken",e[e.OpenParenToken=21]="OpenParenToken",e[e.CloseParenToken=22]="CloseParenToken",e[e.OpenBracketToken=23]="OpenBracketToken",e[e.CloseBracketToken=24]="CloseBracketToken",e[e.DotToken=25]="DotToken",e[e.DotDotDotToken=26]="DotDotDotToken",e[e.SemicolonToken=27]="SemicolonToken",e[e.CommaToken=28]="CommaToken",e[e.QuestionDotToken=29]="QuestionDotToken",e[e.LessThanToken=30]="LessThanToken",e[e.LessThanSlashToken=31]="LessThanSlashToken",e[e.GreaterThanToken=32]="GreaterThanToken",e[e.LessThanEqualsToken=33]="LessThanEqualsToken",e[e.GreaterThanEqualsToken=34]="GreaterThanEqualsToken",e[e.EqualsEqualsToken=35]="EqualsEqualsToken",e[e.ExclamationEqualsToken=36]="ExclamationEqualsToken",e[e.EqualsEqualsEqualsToken=37]="EqualsEqualsEqualsToken",e[e.ExclamationEqualsEqualsToken=38]="ExclamationEqualsEqualsToken",e[e.EqualsGreaterThanToken=39]="EqualsGreaterThanToken",e[e.PlusToken=40]="PlusToken",e[e.MinusToken=41]="MinusToken",e[e.AsteriskToken=42]="AsteriskToken",e[e.AsteriskAsteriskToken=43]="AsteriskAsteriskToken",e[e.SlashToken=44]="SlashToken",e[e.PercentToken=45]="PercentToken",e[e.PlusPlusToken=46]="PlusPlusToken",e[e.MinusMinusToken=47]="MinusMinusToken",e[e.LessThanLessThanToken=48]="LessThanLessThanToken",e[e.GreaterThanGreaterThanToken=49]="GreaterThanGreaterThanToken",e[e.GreaterThanGreaterThanGreaterThanToken=50]="GreaterThanGreaterThanGreaterThanToken",e[e.AmpersandToken=51]="AmpersandToken",e[e.BarToken=52]="BarToken",e[e.CaretToken=53]="CaretToken",e[e.ExclamationToken=54]="ExclamationToken",e[e.TildeToken=55]="TildeToken",e[e.AmpersandAmpersandToken=56]="AmpersandAmpersandToken",e[e.BarBarToken=57]="BarBarToken",e[e.QuestionToken=58]="QuestionToken",e[e.ColonToken=59]="ColonToken",e[e.AtToken=60]="AtToken",e[e.QuestionQuestionToken=61]="QuestionQuestionToken",e[e.BacktickToken=62]="BacktickToken",e[e.HashToken=63]="HashToken",e[e.EqualsToken=64]="EqualsToken",e[e.PlusEqualsToken=65]="PlusEqualsToken",e[e.MinusEqualsToken=66]="MinusEqualsToken",e[e.AsteriskEqualsToken=67]="AsteriskEqualsToken",e[e.AsteriskAsteriskEqualsToken=68]="AsteriskAsteriskEqualsToken",e[e.SlashEqualsToken=69]="SlashEqualsToken",e[e.PercentEqualsToken=70]="PercentEqualsToken",e[e.LessThanLessThanEqualsToken=71]="LessThanLessThanEqualsToken",e[e.GreaterThanGreaterThanEqualsToken=72]="GreaterThanGreaterThanEqualsToken",e[e.GreaterThanGreaterThanGreaterThanEqualsToken=73]="GreaterThanGreaterThanGreaterThanEqualsToken",e[e.AmpersandEqualsToken=74]="AmpersandEqualsToken",e[e.BarEqualsToken=75]="BarEqualsToken",e[e.BarBarEqualsToken=76]="BarBarEqualsToken",e[e.AmpersandAmpersandEqualsToken=77]="AmpersandAmpersandEqualsToken",e[e.QuestionQuestionEqualsToken=78]="QuestionQuestionEqualsToken",e[e.CaretEqualsToken=79]="CaretEqualsToken",e[e.Identifier=80]="Identifier",e[e.PrivateIdentifier=81]="PrivateIdentifier",e[e.JSDocCommentTextToken=82]="JSDocCommentTextToken",e[e.BreakKeyword=83]="BreakKeyword",e[e.CaseKeyword=84]="CaseKeyword",e[e.CatchKeyword=85]="CatchKeyword",e[e.ClassKeyword=86]="ClassKeyword",e[e.ConstKeyword=87]="ConstKeyword",e[e.ContinueKeyword=88]="ContinueKeyword",e[e.DebuggerKeyword=89]="DebuggerKeyword",e[e.DefaultKeyword=90]="DefaultKeyword",e[e.DeleteKeyword=91]="DeleteKeyword",e[e.DoKeyword=92]="DoKeyword",e[e.ElseKeyword=93]="ElseKeyword",e[e.EnumKeyword=94]="EnumKeyword",e[e.ExportKeyword=95]="ExportKeyword",e[e.ExtendsKeyword=96]="ExtendsKeyword",e[e.FalseKeyword=97]="FalseKeyword",e[e.FinallyKeyword=98]="FinallyKeyword",e[e.ForKeyword=99]="ForKeyword",e[e.FunctionKeyword=100]="FunctionKeyword",e[e.IfKeyword=101]="IfKeyword",e[e.ImportKeyword=102]="ImportKeyword",e[e.InKeyword=103]="InKeyword",e[e.InstanceOfKeyword=104]="InstanceOfKeyword",e[e.NewKeyword=105]="NewKeyword",e[e.NullKeyword=106]="NullKeyword",e[e.ReturnKeyword=107]="ReturnKeyword",e[e.SuperKeyword=108]="SuperKeyword",e[e.SwitchKeyword=109]="SwitchKeyword",e[e.ThisKeyword=110]="ThisKeyword",e[e.ThrowKeyword=111]="ThrowKeyword",e[e.TrueKeyword=112]="TrueKeyword",e[e.TryKeyword=113]="TryKeyword",e[e.TypeOfKeyword=114]="TypeOfKeyword",e[e.VarKeyword=115]="VarKeyword",e[e.VoidKeyword=116]="VoidKeyword",e[e.WhileKeyword=117]="WhileKeyword",e[e.WithKeyword=118]="WithKeyword",e[e.ImplementsKeyword=119]="ImplementsKeyword",e[e.InterfaceKeyword=120]="InterfaceKeyword",e[e.LetKeyword=121]="LetKeyword",e[e.PackageKeyword=122]="PackageKeyword",e[e.PrivateKeyword=123]="PrivateKeyword",e[e.ProtectedKeyword=124]="ProtectedKeyword",e[e.PublicKeyword=125]="PublicKeyword",e[e.StaticKeyword=126]="StaticKeyword",e[e.YieldKeyword=127]="YieldKeyword",e[e.AbstractKeyword=128]="AbstractKeyword",e[e.AccessorKeyword=129]="AccessorKeyword",e[e.AsKeyword=130]="AsKeyword",e[e.AssertsKeyword=131]="AssertsKeyword",e[e.AssertKeyword=132]="AssertKeyword",e[e.AnyKeyword=133]="AnyKeyword",e[e.AsyncKeyword=134]="AsyncKeyword",e[e.AwaitKeyword=135]="AwaitKeyword",e[e.BooleanKeyword=136]="BooleanKeyword",e[e.ConstructorKeyword=137]="ConstructorKeyword",e[e.DeclareKeyword=138]="DeclareKeyword",e[e.GetKeyword=139]="GetKeyword",e[e.InferKeyword=140]="InferKeyword",e[e.IntrinsicKeyword=141]="IntrinsicKeyword",e[e.IsKeyword=142]="IsKeyword",e[e.KeyOfKeyword=143]="KeyOfKeyword",e[e.ModuleKeyword=144]="ModuleKeyword",e[e.NamespaceKeyword=145]="NamespaceKeyword",e[e.NeverKeyword=146]="NeverKeyword",e[e.OutKeyword=147]="OutKeyword",e[e.ReadonlyKeyword=148]="ReadonlyKeyword",e[e.RequireKeyword=149]="RequireKeyword",e[e.NumberKeyword=150]="NumberKeyword",e[e.ObjectKeyword=151]="ObjectKeyword",e[e.SatisfiesKeyword=152]="SatisfiesKeyword",e[e.SetKeyword=153]="SetKeyword",e[e.StringKeyword=154]="StringKeyword",e[e.SymbolKeyword=155]="SymbolKeyword",e[e.TypeKeyword=156]="TypeKeyword",e[e.UndefinedKeyword=157]="UndefinedKeyword",e[e.UniqueKeyword=158]="UniqueKeyword",e[e.UnknownKeyword=159]="UnknownKeyword",e[e.UsingKeyword=160]="UsingKeyword",e[e.FromKeyword=161]="FromKeyword",e[e.GlobalKeyword=162]="GlobalKeyword",e[e.BigIntKeyword=163]="BigIntKeyword",e[e.OverrideKeyword=164]="OverrideKeyword",e[e.OfKeyword=165]="OfKeyword",e[e.QualifiedName=166]="QualifiedName",e[e.ComputedPropertyName=167]="ComputedPropertyName",e[e.TypeParameter=168]="TypeParameter",e[e.Parameter=169]="Parameter",e[e.Decorator=170]="Decorator",e[e.PropertySignature=171]="PropertySignature",e[e.PropertyDeclaration=172]="PropertyDeclaration",e[e.MethodSignature=173]="MethodSignature",e[e.MethodDeclaration=174]="MethodDeclaration",e[e.ClassStaticBlockDeclaration=175]="ClassStaticBlockDeclaration",e[e.Constructor=176]="Constructor",e[e.GetAccessor=177]="GetAccessor",e[e.SetAccessor=178]="SetAccessor",e[e.CallSignature=179]="CallSignature",e[e.ConstructSignature=180]="ConstructSignature",e[e.IndexSignature=181]="IndexSignature",e[e.TypePredicate=182]="TypePredicate",e[e.TypeReference=183]="TypeReference",e[e.FunctionType=184]="FunctionType",e[e.ConstructorType=185]="ConstructorType",e[e.TypeQuery=186]="TypeQuery",e[e.TypeLiteral=187]="TypeLiteral",e[e.ArrayType=188]="ArrayType",e[e.TupleType=189]="TupleType",e[e.OptionalType=190]="OptionalType",e[e.RestType=191]="RestType",e[e.UnionType=192]="UnionType",e[e.IntersectionType=193]="IntersectionType",e[e.ConditionalType=194]="ConditionalType",e[e.InferType=195]="InferType",e[e.ParenthesizedType=196]="ParenthesizedType",e[e.ThisType=197]="ThisType",e[e.TypeOperator=198]="TypeOperator",e[e.IndexedAccessType=199]="IndexedAccessType",e[e.MappedType=200]="MappedType",e[e.LiteralType=201]="LiteralType",e[e.NamedTupleMember=202]="NamedTupleMember",e[e.TemplateLiteralType=203]="TemplateLiteralType",e[e.TemplateLiteralTypeSpan=204]="TemplateLiteralTypeSpan",e[e.ImportType=205]="ImportType",e[e.ObjectBindingPattern=206]="ObjectBindingPattern",e[e.ArrayBindingPattern=207]="ArrayBindingPattern",e[e.BindingElement=208]="BindingElement",e[e.ArrayLiteralExpression=209]="ArrayLiteralExpression",e[e.ObjectLiteralExpression=210]="ObjectLiteralExpression",e[e.PropertyAccessExpression=211]="PropertyAccessExpression",e[e.ElementAccessExpression=212]="ElementAccessExpression",e[e.CallExpression=213]="CallExpression",e[e.NewExpression=214]="NewExpression",e[e.TaggedTemplateExpression=215]="TaggedTemplateExpression",e[e.TypeAssertionExpression=216]="TypeAssertionExpression",e[e.ParenthesizedExpression=217]="ParenthesizedExpression",e[e.FunctionExpression=218]="FunctionExpression",e[e.ArrowFunction=219]="ArrowFunction",e[e.DeleteExpression=220]="DeleteExpression",e[e.TypeOfExpression=221]="TypeOfExpression",e[e.VoidExpression=222]="VoidExpression",e[e.AwaitExpression=223]="AwaitExpression",e[e.PrefixUnaryExpression=224]="PrefixUnaryExpression",e[e.PostfixUnaryExpression=225]="PostfixUnaryExpression",e[e.BinaryExpression=226]="BinaryExpression",e[e.ConditionalExpression=227]="ConditionalExpression",e[e.TemplateExpression=228]="TemplateExpression",e[e.YieldExpression=229]="YieldExpression",e[e.SpreadElement=230]="SpreadElement",e[e.ClassExpression=231]="ClassExpression",e[e.OmittedExpression=232]="OmittedExpression",e[e.ExpressionWithTypeArguments=233]="ExpressionWithTypeArguments",e[e.AsExpression=234]="AsExpression",e[e.NonNullExpression=235]="NonNullExpression",e[e.MetaProperty=236]="MetaProperty",e[e.SyntheticExpression=237]="SyntheticExpression",e[e.SatisfiesExpression=238]="SatisfiesExpression",e[e.TemplateSpan=239]="TemplateSpan",e[e.SemicolonClassElement=240]="SemicolonClassElement",e[e.Block=241]="Block",e[e.EmptyStatement=242]="EmptyStatement",e[e.VariableStatement=243]="VariableStatement",e[e.ExpressionStatement=244]="ExpressionStatement",e[e.IfStatement=245]="IfStatement",e[e.DoStatement=246]="DoStatement",e[e.WhileStatement=247]="WhileStatement",e[e.ForStatement=248]="ForStatement",e[e.ForInStatement=249]="ForInStatement",e[e.ForOfStatement=250]="ForOfStatement",e[e.ContinueStatement=251]="ContinueStatement",e[e.BreakStatement=252]="BreakStatement",e[e.ReturnStatement=253]="ReturnStatement",e[e.WithStatement=254]="WithStatement",e[e.SwitchStatement=255]="SwitchStatement",e[e.LabeledStatement=256]="LabeledStatement",e[e.ThrowStatement=257]="ThrowStatement",e[e.TryStatement=258]="TryStatement",e[e.DebuggerStatement=259]="DebuggerStatement",e[e.VariableDeclaration=260]="VariableDeclaration",e[e.VariableDeclarationList=261]="VariableDeclarationList",e[e.FunctionDeclaration=262]="FunctionDeclaration",e[e.ClassDeclaration=263]="ClassDeclaration",e[e.InterfaceDeclaration=264]="InterfaceDeclaration",e[e.TypeAliasDeclaration=265]="TypeAliasDeclaration",e[e.EnumDeclaration=266]="EnumDeclaration",e[e.ModuleDeclaration=267]="ModuleDeclaration",e[e.ModuleBlock=268]="ModuleBlock",e[e.CaseBlock=269]="CaseBlock",e[e.NamespaceExportDeclaration=270]="NamespaceExportDeclaration",e[e.ImportEqualsDeclaration=271]="ImportEqualsDeclaration",e[e.ImportDeclaration=272]="ImportDeclaration",e[e.ImportClause=273]="ImportClause",e[e.NamespaceImport=274]="NamespaceImport",e[e.NamedImports=275]="NamedImports",e[e.ImportSpecifier=276]="ImportSpecifier",e[e.ExportAssignment=277]="ExportAssignment",e[e.ExportDeclaration=278]="ExportDeclaration",e[e.NamedExports=279]="NamedExports",e[e.NamespaceExport=280]="NamespaceExport",e[e.ExportSpecifier=281]="ExportSpecifier",e[e.MissingDeclaration=282]="MissingDeclaration",e[e.ExternalModuleReference=283]="ExternalModuleReference",e[e.JsxElement=284]="JsxElement",e[e.JsxSelfClosingElement=285]="JsxSelfClosingElement",e[e.JsxOpeningElement=286]="JsxOpeningElement",e[e.JsxClosingElement=287]="JsxClosingElement",e[e.JsxFragment=288]="JsxFragment",e[e.JsxOpeningFragment=289]="JsxOpeningFragment",e[e.JsxClosingFragment=290]="JsxClosingFragment",e[e.JsxAttribute=291]="JsxAttribute",e[e.JsxAttributes=292]="JsxAttributes",e[e.JsxSpreadAttribute=293]="JsxSpreadAttribute",e[e.JsxExpression=294]="JsxExpression",e[e.JsxNamespacedName=295]="JsxNamespacedName",e[e.CaseClause=296]="CaseClause",e[e.DefaultClause=297]="DefaultClause",e[e.HeritageClause=298]="HeritageClause",e[e.CatchClause=299]="CatchClause",e[e.AssertClause=300]="AssertClause",e[e.AssertEntry=301]="AssertEntry",e[e.ImportTypeAssertionContainer=302]="ImportTypeAssertionContainer",e[e.PropertyAssignment=303]="PropertyAssignment",e[e.ShorthandPropertyAssignment=304]="ShorthandPropertyAssignment",e[e.SpreadAssignment=305]="SpreadAssignment",e[e.EnumMember=306]="EnumMember",e[e.UnparsedPrologue=307]="UnparsedPrologue",e[e.UnparsedPrepend=308]="UnparsedPrepend",e[e.UnparsedText=309]="UnparsedText",e[e.UnparsedInternalText=310]="UnparsedInternalText",e[e.UnparsedSyntheticReference=311]="UnparsedSyntheticReference",e[e.SourceFile=312]="SourceFile",e[e.Bundle=313]="Bundle",e[e.UnparsedSource=314]="UnparsedSource",e[e.InputFiles=315]="InputFiles",e[e.JSDocTypeExpression=316]="JSDocTypeExpression",e[e.JSDocNameReference=317]="JSDocNameReference",e[e.JSDocMemberName=318]="JSDocMemberName",e[e.JSDocAllType=319]="JSDocAllType",e[e.JSDocUnknownType=320]="JSDocUnknownType",e[e.JSDocNullableType=321]="JSDocNullableType",e[e.JSDocNonNullableType=322]="JSDocNonNullableType",e[e.JSDocOptionalType=323]="JSDocOptionalType",e[e.JSDocFunctionType=324]="JSDocFunctionType",e[e.JSDocVariadicType=325]="JSDocVariadicType",e[e.JSDocNamepathType=326]="JSDocNamepathType",e[e.JSDoc=327]="JSDoc",e[e.JSDocComment=327]="JSDocComment",e[e.JSDocText=328]="JSDocText",e[e.JSDocTypeLiteral=329]="JSDocTypeLiteral",e[e.JSDocSignature=330]="JSDocSignature",e[e.JSDocLink=331]="JSDocLink",e[e.JSDocLinkCode=332]="JSDocLinkCode",e[e.JSDocLinkPlain=333]="JSDocLinkPlain",e[e.JSDocTag=334]="JSDocTag",e[e.JSDocAugmentsTag=335]="JSDocAugmentsTag",e[e.JSDocImplementsTag=336]="JSDocImplementsTag",e[e.JSDocAuthorTag=337]="JSDocAuthorTag",e[e.JSDocDeprecatedTag=338]="JSDocDeprecatedTag",e[e.JSDocClassTag=339]="JSDocClassTag",e[e.JSDocPublicTag=340]="JSDocPublicTag",e[e.JSDocPrivateTag=341]="JSDocPrivateTag",e[e.JSDocProtectedTag=342]="JSDocProtectedTag",e[e.JSDocReadonlyTag=343]="JSDocReadonlyTag",e[e.JSDocOverrideTag=344]="JSDocOverrideTag",e[e.JSDocCallbackTag=345]="JSDocCallbackTag",e[e.JSDocOverloadTag=346]="JSDocOverloadTag",e[e.JSDocEnumTag=347]="JSDocEnumTag",e[e.JSDocParameterTag=348]="JSDocParameterTag",e[e.JSDocReturnTag=349]="JSDocReturnTag",e[e.JSDocThisTag=350]="JSDocThisTag",e[e.JSDocTypeTag=351]="JSDocTypeTag",e[e.JSDocTemplateTag=352]="JSDocTemplateTag",e[e.JSDocTypedefTag=353]="JSDocTypedefTag",e[e.JSDocSeeTag=354]="JSDocSeeTag",e[e.JSDocPropertyTag=355]="JSDocPropertyTag",e[e.JSDocThrowsTag=356]="JSDocThrowsTag",e[e.JSDocSatisfiesTag=357]="JSDocSatisfiesTag",e[e.SyntaxList=358]="SyntaxList",e[e.NotEmittedStatement=359]="NotEmittedStatement",e[e.PartiallyEmittedExpression=360]="PartiallyEmittedExpression",e[e.CommaListExpression=361]="CommaListExpression",e[e.SyntheticReferenceExpression=362]="SyntheticReferenceExpression",e[e.Count=363]="Count",e[e.FirstAssignment=64]="FirstAssignment",e[e.LastAssignment=79]="LastAssignment",e[e.FirstCompoundAssignment=65]="FirstCompoundAssignment",e[e.LastCompoundAssignment=79]="LastCompoundAssignment",e[e.FirstReservedWord=83]="FirstReservedWord",e[e.LastReservedWord=118]="LastReservedWord",e[e.FirstKeyword=83]="FirstKeyword",e[e.LastKeyword=165]="LastKeyword",e[e.FirstFutureReservedWord=119]="FirstFutureReservedWord",e[e.LastFutureReservedWord=127]="LastFutureReservedWord",e[e.FirstTypeNode=182]="FirstTypeNode",e[e.LastTypeNode=205]="LastTypeNode",e[e.FirstPunctuation=19]="FirstPunctuation",e[e.LastPunctuation=79]="LastPunctuation",e[e.FirstToken=0]="FirstToken",e[e.LastToken=165]="LastToken",e[e.FirstTriviaToken=2]="FirstTriviaToken",e[e.LastTriviaToken=7]="LastTriviaToken",e[e.FirstLiteralToken=9]="FirstLiteralToken",e[e.LastLiteralToken=15]="LastLiteralToken",e[e.FirstTemplateToken=15]="FirstTemplateToken",e[e.LastTemplateToken=18]="LastTemplateToken",e[e.FirstBinaryOperator=30]="FirstBinaryOperator",e[e.LastBinaryOperator=79]="LastBinaryOperator",e[e.FirstStatement=243]="FirstStatement",e[e.LastStatement=259]="LastStatement",e[e.FirstNode=166]="FirstNode",e[e.FirstJSDocNode=316]="FirstJSDocNode",e[e.LastJSDocNode=357]="LastJSDocNode",e[e.FirstJSDocTagNode=334]="FirstJSDocTagNode",e[e.LastJSDocTagNode=357]="LastJSDocTagNode",e[e.FirstContextualKeyword=128]="FirstContextualKeyword",e[e.LastContextualKeyword=165]="LastContextualKeyword",e}(Qt||{}),Yt=function(e){return e[e.None=0]="None",e[e.Let=1]="Let",e[e.Const=2]="Const",e[e.Using=4]="Using",e[e.AwaitUsing=6]="AwaitUsing",e[e.NestedNamespace=8]="NestedNamespace",e[e.Synthesized=16]="Synthesized",e[e.Namespace=32]="Namespace",e[e.OptionalChain=64]="OptionalChain",e[e.ExportContext=128]="ExportContext",e[e.ContainsThis=256]="ContainsThis",e[e.HasImplicitReturn=512]="HasImplicitReturn",e[e.HasExplicitReturn=1024]="HasExplicitReturn",e[e.GlobalAugmentation=2048]="GlobalAugmentation",e[e.HasAsyncFunctions=4096]="HasAsyncFunctions",e[e.DisallowInContext=8192]="DisallowInContext",e[e.YieldContext=16384]="YieldContext",e[e.DecoratorContext=32768]="DecoratorContext",e[e.AwaitContext=65536]="AwaitContext",e[e.DisallowConditionalTypesContext=131072]="DisallowConditionalTypesContext",e[e.ThisNodeHasError=262144]="ThisNodeHasError",e[e.JavaScriptFile=524288]="JavaScriptFile",e[e.ThisNodeOrAnySubNodesHasError=1048576]="ThisNodeOrAnySubNodesHasError",e[e.HasAggregatedChildData=2097152]="HasAggregatedChildData",e[e.PossiblyContainsDynamicImport=4194304]="PossiblyContainsDynamicImport",e[e.PossiblyContainsImportMeta=8388608]="PossiblyContainsImportMeta",e[e.JSDoc=16777216]="JSDoc",e[e.Ambient=33554432]="Ambient",e[e.InWithStatement=67108864]="InWithStatement",e[e.JsonFile=134217728]="JsonFile",e[e.TypeCached=268435456]="TypeCached",e[e.Deprecated=536870912]="Deprecated",e[e.BlockScoped=7]="BlockScoped",e[e.Constant=6]="Constant",e[e.ReachabilityCheckFlags=1536]="ReachabilityCheckFlags",e[e.ReachabilityAndEmitFlags=5632]="ReachabilityAndEmitFlags",e[e.ContextFlags=101441536]="ContextFlags",e[e.TypeExcludesFlags=81920]="TypeExcludesFlags",e[e.PermanentlySetIncrementalFlags=12582912]="PermanentlySetIncrementalFlags",e[e.IdentifierHasExtendedUnicodeEscape=256]="IdentifierHasExtendedUnicodeEscape",e[e.IdentifierIsInJSDocNamespace=4096]="IdentifierIsInJSDocNamespace",e}(Yt||{}),Zt=function(e){return e[e.None=0]="None",e[e.Export=1]="Export",e[e.Ambient=2]="Ambient",e[e.Public=4]="Public",e[e.Private=8]="Private",e[e.Protected=16]="Protected",e[e.Static=32]="Static",e[e.Readonly=64]="Readonly",e[e.Accessor=128]="Accessor",e[e.Abstract=256]="Abstract",e[e.Async=512]="Async",e[e.Default=1024]="Default",e[e.Const=2048]="Const",e[e.HasComputedJSDocModifiers=4096]="HasComputedJSDocModifiers",e[e.Deprecated=8192]="Deprecated",e[e.Override=16384]="Override",e[e.In=32768]="In",e[e.Out=65536]="Out",e[e.Decorator=131072]="Decorator",e[e.HasComputedFlags=536870912]="HasComputedFlags",e[e.AccessibilityModifier=28]="AccessibilityModifier",e[e.ParameterPropertyModifier=16476]="ParameterPropertyModifier",e[e.NonPublicAccessibilityModifier=24]="NonPublicAccessibilityModifier",e[e.TypeScriptModifier=117086]="TypeScriptModifier",e[e.ExportDefault=1025]="ExportDefault",e[e.All=258047]="All",e[e.Modifier=126975]="Modifier",e}(Zt||{}),$t=function(e){return e[e.None=0]="None",e[e.IntrinsicNamedElement=1]="IntrinsicNamedElement",e[e.IntrinsicIndexedElement=2]="IntrinsicIndexedElement",e[e.IntrinsicElement=3]="IntrinsicElement",e}($t||{}),lr=function(e){return e[e.Succeeded=1]="Succeeded",e[e.Failed=2]="Failed",e[e.Reported=4]="Reported",e[e.ReportsUnmeasurable=8]="ReportsUnmeasurable",e[e.ReportsUnreliable=16]="ReportsUnreliable",e[e.ReportsMask=24]="ReportsMask",e}(lr||{}),Sn=function(e){return e[e.None=0]="None",e[e.Auto=1]="Auto",e[e.Loop=2]="Loop",e[e.Unique=3]="Unique",e[e.Node=4]="Node",e[e.KindMask=7]="KindMask",e[e.ReservedInNestedScopes=8]="ReservedInNestedScopes",e[e.Optimistic=16]="Optimistic",e[e.FileLevel=32]="FileLevel",e[e.AllowNameSubstitution=64]="AllowNameSubstitution",e}(Sn||{}),dr=function(e){return e[e.None=0]="None",e[e.PrecedingLineBreak=1]="PrecedingLineBreak",e[e.PrecedingJSDocComment=2]="PrecedingJSDocComment",e[e.Unterminated=4]="Unterminated",e[e.ExtendedUnicodeEscape=8]="ExtendedUnicodeEscape",e[e.Scientific=16]="Scientific",e[e.Octal=32]="Octal",e[e.HexSpecifier=64]="HexSpecifier",e[e.BinarySpecifier=128]="BinarySpecifier",e[e.OctalSpecifier=256]="OctalSpecifier",e[e.ContainsSeparator=512]="ContainsSeparator",e[e.UnicodeEscape=1024]="UnicodeEscape",e[e.ContainsInvalidEscape=2048]="ContainsInvalidEscape",e[e.HexEscape=4096]="HexEscape",e[e.ContainsLeadingZero=8192]="ContainsLeadingZero",e[e.ContainsInvalidSeparator=16384]="ContainsInvalidSeparator",e[e.BinaryOrOctalSpecifier=384]="BinaryOrOctalSpecifier",e[e.WithSpecifier=448]="WithSpecifier",e[e.StringLiteralFlags=7176]="StringLiteralFlags",e[e.NumericLiteralFlags=25584]="NumericLiteralFlags",e[e.TemplateLiteralLikeFlags=7176]="TemplateLiteralLikeFlags",e[e.IsInvalid=26656]="IsInvalid",e}(dr||{}),fr=function(e){return e[e.Unreachable=1]="Unreachable",e[e.Start=2]="Start",e[e.BranchLabel=4]="BranchLabel",e[e.LoopLabel=8]="LoopLabel",e[e.Assignment=16]="Assignment",e[e.TrueCondition=32]="TrueCondition",e[e.FalseCondition=64]="FalseCondition",e[e.SwitchClause=128]="SwitchClause",e[e.ArrayMutation=256]="ArrayMutation",e[e.Call=512]="Call",e[e.ReduceLabel=1024]="ReduceLabel",e[e.Referenced=2048]="Referenced",e[e.Shared=4096]="Shared",e[e.Label=12]="Label",e[e.Condition=96]="Condition",e}(fr||{}),pr=function(e){return e[e.ExpectError=0]="ExpectError",e[e.Ignore=1]="Ignore",e}(pr||{}),mr=function(){},yr=function(e){return e[e.RootFile=0]="RootFile",e[e.SourceFromProjectReference=1]="SourceFromProjectReference",e[e.OutputFromProjectReference=2]="OutputFromProjectReference",e[e.Import=3]="Import",e[e.ReferenceFile=4]="ReferenceFile",e[e.TypeReferenceDirective=5]="TypeReferenceDirective",e[e.LibFile=6]="LibFile",e[e.LibReferenceDirective=7]="LibReferenceDirective",e[e.AutomaticTypeDirectiveFile=8]="AutomaticTypeDirectiveFile",e}(yr||{}),vr=function(e){return e[e.FilePreprocessingReferencedDiagnostic=0]="FilePreprocessingReferencedDiagnostic",e[e.FilePreprocessingFileExplainingDiagnostic=1]="FilePreprocessingFileExplainingDiagnostic",e[e.ResolutionDiagnostics=2]="ResolutionDiagnostics",e}(vr||{}),gr=function(e){return e[e.Js=0]="Js",e[e.Dts=1]="Dts",e}(gr||{}),hr=function(e){return e[e.Not=0]="Not",e[e.SafeModules=1]="SafeModules",e[e.Completely=2]="Completely",e}(hr||{}),xr=function(e){return e[e.Success=0]="Success",e[e.DiagnosticsPresent_OutputsSkipped=1]="DiagnosticsPresent_OutputsSkipped",e[e.DiagnosticsPresent_OutputsGenerated=2]="DiagnosticsPresent_OutputsGenerated",e[e.InvalidProject_OutputsSkipped=3]="InvalidProject_OutputsSkipped",e[e.ProjectReferenceCycle_OutputsSkipped=4]="ProjectReferenceCycle_OutputsSkipped",e}(xr||{}),br=function(e){return e[e.Ok=0]="Ok",e[e.NeedsOverride=1]="NeedsOverride",e[e.HasInvalidOverride=2]="HasInvalidOverride",e}(br||{}),kr=function(e){return e[e.None=0]="None",e[e.Literal=1]="Literal",e[e.Subtype=2]="Subtype",e}(kr||{}),Tr=function(e){return e[e.None=0]="None",e[e.Signature=1]="Signature",e[e.NoConstraints=2]="NoConstraints",e[e.Completions=4]="Completions",e[e.SkipBindingPatterns=8]="SkipBindingPatterns",e}(Tr||{}),Sr=function(e){return e[e.None=0]="None",e[e.NoTruncation=1]="NoTruncation",e[e.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",e[e.GenerateNamesForShadowedTypeParams=4]="GenerateNamesForShadowedTypeParams",e[e.UseStructuralFallback=8]="UseStructuralFallback",e[e.ForbidIndexedAccessSymbolReferences=16]="ForbidIndexedAccessSymbolReferences",e[e.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",e[e.UseFullyQualifiedType=64]="UseFullyQualifiedType",e[e.UseOnlyExternalAliasing=128]="UseOnlyExternalAliasing",e[e.SuppressAnyReturnType=256]="SuppressAnyReturnType",e[e.WriteTypeParametersInQualifiedName=512]="WriteTypeParametersInQualifiedName",e[e.MultilineObjectLiterals=1024]="MultilineObjectLiterals",e[e.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",e[e.UseTypeOfFunction=4096]="UseTypeOfFunction",e[e.OmitParameterModifiers=8192]="OmitParameterModifiers",e[e.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",e[e.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",e[e.NoTypeReduction=536870912]="NoTypeReduction",e[e.OmitThisParameter=33554432]="OmitThisParameter",e[e.AllowThisInObjectLiteral=32768]="AllowThisInObjectLiteral",e[e.AllowQualifiedNameInPlaceOfIdentifier=65536]="AllowQualifiedNameInPlaceOfIdentifier",e[e.AllowAnonymousIdentifier=131072]="AllowAnonymousIdentifier",e[e.AllowEmptyUnionOrIntersection=262144]="AllowEmptyUnionOrIntersection",e[e.AllowEmptyTuple=524288]="AllowEmptyTuple",e[e.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",e[e.AllowEmptyIndexInfoType=2097152]="AllowEmptyIndexInfoType",e[e.WriteComputedProps=1073741824]="WriteComputedProps",e[e.AllowNodeModulesRelativePaths=67108864]="AllowNodeModulesRelativePaths",e[e.DoNotIncludeSymbolChain=134217728]="DoNotIncludeSymbolChain",e[e.IgnoreErrors=70221824]="IgnoreErrors",e[e.InObjectTypeLiteral=4194304]="InObjectTypeLiteral",e[e.InTypeAlias=8388608]="InTypeAlias",e[e.InInitialEntityName=16777216]="InInitialEntityName",e}(Sr||{}),wr=function(e){return e[e.None=0]="None",e[e.NoTruncation=1]="NoTruncation",e[e.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",e[e.UseStructuralFallback=8]="UseStructuralFallback",e[e.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",e[e.UseFullyQualifiedType=64]="UseFullyQualifiedType",e[e.SuppressAnyReturnType=256]="SuppressAnyReturnType",e[e.MultilineObjectLiterals=1024]="MultilineObjectLiterals",e[e.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",e[e.UseTypeOfFunction=4096]="UseTypeOfFunction",e[e.OmitParameterModifiers=8192]="OmitParameterModifiers",e[e.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",e[e.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",e[e.NoTypeReduction=536870912]="NoTypeReduction",e[e.OmitThisParameter=33554432]="OmitThisParameter",e[e.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",e[e.AddUndefined=131072]="AddUndefined",e[e.WriteArrowStyleSignature=262144]="WriteArrowStyleSignature",e[e.InArrayType=524288]="InArrayType",e[e.InElementType=2097152]="InElementType",e[e.InFirstTypeArgument=4194304]="InFirstTypeArgument",e[e.InTypeAlias=8388608]="InTypeAlias",e[e.NodeBuilderFlagsMask=848330091]="NodeBuilderFlagsMask",e}(wr||{}),Cr=function(e){return e[e.None=0]="None",e[e.WriteTypeParametersOrArguments=1]="WriteTypeParametersOrArguments",e[e.UseOnlyExternalAliasing=2]="UseOnlyExternalAliasing",e[e.AllowAnyNodeKind=4]="AllowAnyNodeKind",e[e.UseAliasDefinedOutsideCurrentScope=8]="UseAliasDefinedOutsideCurrentScope",e[e.WriteComputedProps=16]="WriteComputedProps",e[e.DoNotIncludeSymbolChain=32]="DoNotIncludeSymbolChain",e}(Cr||{}),Nr=function(e){return e[e.Accessible=0]="Accessible",e[e.NotAccessible=1]="NotAccessible",e[e.CannotBeNamed=2]="CannotBeNamed",e}(Nr||{}),Dr=function(e){return e[e.UnionOrIntersection=0]="UnionOrIntersection",e[e.Spread=1]="Spread",e}(Dr||{}),Ar=function(e){return e[e.This=0]="This",e[e.Identifier=1]="Identifier",e[e.AssertsThis=2]="AssertsThis",e[e.AssertsIdentifier=3]="AssertsIdentifier",e}(Ar||{}),Er=function(e){return e[e.Unknown=0]="Unknown",e[e.TypeWithConstructSignatureAndValue=1]="TypeWithConstructSignatureAndValue",e[e.VoidNullableOrNeverType=2]="VoidNullableOrNeverType",e[e.NumberLikeType=3]="NumberLikeType",e[e.BigIntLikeType=4]="BigIntLikeType",e[e.StringLikeType=5]="StringLikeType",e[e.BooleanType=6]="BooleanType",e[e.ArrayLikeType=7]="ArrayLikeType",e[e.ESSymbolType=8]="ESSymbolType",e[e.Promise=9]="Promise",e[e.TypeWithCallSignature=10]="TypeWithCallSignature",e[e.ObjectType=11]="ObjectType",e}(Er||{}),Fr=function(e){return e[e.None=0]="None",e[e.FunctionScopedVariable=1]="FunctionScopedVariable",e[e.BlockScopedVariable=2]="BlockScopedVariable",e[e.Property=4]="Property",e[e.EnumMember=8]="EnumMember",e[e.Function=16]="Function",e[e.Class=32]="Class",e[e.Interface=64]="Interface",e[e.ConstEnum=128]="ConstEnum",e[e.RegularEnum=256]="RegularEnum",e[e.ValueModule=512]="ValueModule",e[e.NamespaceModule=1024]="NamespaceModule",e[e.TypeLiteral=2048]="TypeLiteral",e[e.ObjectLiteral=4096]="ObjectLiteral",e[e.Method=8192]="Method",e[e.Constructor=16384]="Constructor",e[e.GetAccessor=32768]="GetAccessor",e[e.SetAccessor=65536]="SetAccessor",e[e.Signature=131072]="Signature",e[e.TypeParameter=262144]="TypeParameter",e[e.TypeAlias=524288]="TypeAlias",e[e.ExportValue=1048576]="ExportValue",e[e.Alias=2097152]="Alias",e[e.Prototype=4194304]="Prototype",e[e.ExportStar=8388608]="ExportStar",e[e.Optional=16777216]="Optional",e[e.Transient=33554432]="Transient",e[e.Assignment=67108864]="Assignment",e[e.ModuleExports=134217728]="ModuleExports",e[e.All=67108863]="All",e[e.Enum=384]="Enum",e[e.Variable=3]="Variable",e[e.Value=111551]="Value",e[e.Type=788968]="Type",e[e.Namespace=1920]="Namespace",e[e.Module=1536]="Module",e[e.Accessor=98304]="Accessor",e[e.FunctionScopedVariableExcludes=111550]="FunctionScopedVariableExcludes",e[e.BlockScopedVariableExcludes=111551]="BlockScopedVariableExcludes",e[e.ParameterExcludes=111551]="ParameterExcludes",e[e.PropertyExcludes=0]="PropertyExcludes",e[e.EnumMemberExcludes=900095]="EnumMemberExcludes",e[e.FunctionExcludes=110991]="FunctionExcludes",e[e.ClassExcludes=899503]="ClassExcludes",e[e.InterfaceExcludes=788872]="InterfaceExcludes",e[e.RegularEnumExcludes=899327]="RegularEnumExcludes",e[e.ConstEnumExcludes=899967]="ConstEnumExcludes",e[e.ValueModuleExcludes=110735]="ValueModuleExcludes",e[e.NamespaceModuleExcludes=0]="NamespaceModuleExcludes",e[e.MethodExcludes=103359]="MethodExcludes",e[e.GetAccessorExcludes=46015]="GetAccessorExcludes",e[e.SetAccessorExcludes=78783]="SetAccessorExcludes",e[e.AccessorExcludes=13247]="AccessorExcludes",e[e.TypeParameterExcludes=526824]="TypeParameterExcludes",e[e.TypeAliasExcludes=788968]="TypeAliasExcludes",e[e.AliasExcludes=2097152]="AliasExcludes",e[e.ModuleMember=2623475]="ModuleMember",e[e.ExportHasLocal=944]="ExportHasLocal",e[e.BlockScoped=418]="BlockScoped",e[e.PropertyOrAccessor=98308]="PropertyOrAccessor",e[e.ClassMember=106500]="ClassMember",e[e.ExportSupportsDefaultModifier=112]="ExportSupportsDefaultModifier",e[e.ExportDoesNotSupportDefaultModifier=-113]="ExportDoesNotSupportDefaultModifier",e[e.Classifiable=2885600]="Classifiable",e[e.LateBindingContainer=6256]="LateBindingContainer",e}(Fr||{}),Pr=function(e){return e[e.Numeric=0]="Numeric",e[e.Literal=1]="Literal",e}(Pr||{}),Ir=function(e){return e[e.None=0]="None",e[e.Instantiated=1]="Instantiated",e[e.SyntheticProperty=2]="SyntheticProperty",e[e.SyntheticMethod=4]="SyntheticMethod",e[e.Readonly=8]="Readonly",e[e.ReadPartial=16]="ReadPartial",e[e.WritePartial=32]="WritePartial",e[e.HasNonUniformType=64]="HasNonUniformType",e[e.HasLiteralType=128]="HasLiteralType",e[e.ContainsPublic=256]="ContainsPublic",e[e.ContainsProtected=512]="ContainsProtected",e[e.ContainsPrivate=1024]="ContainsPrivate",e[e.ContainsStatic=2048]="ContainsStatic",e[e.Late=4096]="Late",e[e.ReverseMapped=8192]="ReverseMapped",e[e.OptionalParameter=16384]="OptionalParameter",e[e.RestParameter=32768]="RestParameter",e[e.DeferredType=65536]="DeferredType",e[e.HasNeverType=131072]="HasNeverType",e[e.Mapped=262144]="Mapped",e[e.StripOptional=524288]="StripOptional",e[e.Unresolved=1048576]="Unresolved",e[e.Synthetic=6]="Synthetic",e[e.Discriminant=192]="Discriminant",e[e.Partial=48]="Partial",e}(Ir||{}),Or=function(e){return e.Call="__call",e.Constructor="__constructor",e.New="__new",e.Index="__index",e.ExportStar="__export",e.Global="__global",e.Missing="__missing",e.Type="__type",e.Object="__object",e.JSXAttributes="__jsxAttributes",e.Class="__class",e.Function="__function",e.Computed="__computed",e.Resolving="__resolving__",e.ExportEquals="export=",e.Default="default",e.This="this",e}(Or||{}),Lr=function(e){return e[e.None=0]="None",e[e.TypeChecked=1]="TypeChecked",e[e.LexicalThis=2]="LexicalThis",e[e.CaptureThis=4]="CaptureThis",e[e.CaptureNewTarget=8]="CaptureNewTarget",e[e.SuperInstance=16]="SuperInstance",e[e.SuperStatic=32]="SuperStatic",e[e.ContextChecked=64]="ContextChecked",e[e.MethodWithSuperPropertyAccessInAsync=128]="MethodWithSuperPropertyAccessInAsync",e[e.MethodWithSuperPropertyAssignmentInAsync=256]="MethodWithSuperPropertyAssignmentInAsync",e[e.CaptureArguments=512]="CaptureArguments",e[e.EnumValuesComputed=1024]="EnumValuesComputed",e[e.LexicalModuleMergesWithClass=2048]="LexicalModuleMergesWithClass",e[e.LoopWithCapturedBlockScopedBinding=4096]="LoopWithCapturedBlockScopedBinding",e[e.ContainsCapturedBlockScopeBinding=8192]="ContainsCapturedBlockScopeBinding",e[e.CapturedBlockScopedBinding=16384]="CapturedBlockScopedBinding",e[e.BlockScopedBindingInLoop=32768]="BlockScopedBindingInLoop",e[e.NeedsLoopOutParameter=65536]="NeedsLoopOutParameter",e[e.AssignmentsMarked=131072]="AssignmentsMarked",e[e.ContainsConstructorReference=262144]="ContainsConstructorReference",e[e.ConstructorReference=536870912]="ConstructorReference",e[e.ContainsClassWithPrivateIdentifiers=1048576]="ContainsClassWithPrivateIdentifiers",e[e.ContainsSuperPropertyInStaticInitializer=2097152]="ContainsSuperPropertyInStaticInitializer",e[e.InCheckIdentifier=4194304]="InCheckIdentifier",e}(Lr||{}),Mr=function(e){return e[e.Any=1]="Any",e[e.Unknown=2]="Unknown",e[e.String=4]="String",e[e.Number=8]="Number",e[e.Boolean=16]="Boolean",e[e.Enum=32]="Enum",e[e.BigInt=64]="BigInt",e[e.StringLiteral=128]="StringLiteral",e[e.NumberLiteral=256]="NumberLiteral",e[e.BooleanLiteral=512]="BooleanLiteral",e[e.EnumLiteral=1024]="EnumLiteral",e[e.BigIntLiteral=2048]="BigIntLiteral",e[e.ESSymbol=4096]="ESSymbol",e[e.UniqueESSymbol=8192]="UniqueESSymbol",e[e.Void=16384]="Void",e[e.Undefined=32768]="Undefined",e[e.Null=65536]="Null",e[e.Never=131072]="Never",e[e.TypeParameter=262144]="TypeParameter",e[e.Object=524288]="Object",e[e.Union=1048576]="Union",e[e.Intersection=2097152]="Intersection",e[e.Index=4194304]="Index",e[e.IndexedAccess=8388608]="IndexedAccess",e[e.Conditional=16777216]="Conditional",e[e.Substitution=33554432]="Substitution",e[e.NonPrimitive=67108864]="NonPrimitive",e[e.TemplateLiteral=134217728]="TemplateLiteral",e[e.StringMapping=268435456]="StringMapping",e[e.AnyOrUnknown=3]="AnyOrUnknown",e[e.Nullable=98304]="Nullable",e[e.Literal=2944]="Literal",e[e.Unit=109472]="Unit",e[e.Freshable=2976]="Freshable",e[e.StringOrNumberLiteral=384]="StringOrNumberLiteral",e[e.StringOrNumberLiteralOrUnique=8576]="StringOrNumberLiteralOrUnique",e[e.DefinitelyFalsy=117632]="DefinitelyFalsy",e[e.PossiblyFalsy=117724]="PossiblyFalsy",e[e.Intrinsic=67359327]="Intrinsic",e[e.StringLike=402653316]="StringLike",e[e.NumberLike=296]="NumberLike",e[e.BigIntLike=2112]="BigIntLike",e[e.BooleanLike=528]="BooleanLike",e[e.EnumLike=1056]="EnumLike",e[e.ESSymbolLike=12288]="ESSymbolLike",e[e.VoidLike=49152]="VoidLike",e[e.Primitive=402784252]="Primitive",e[e.DefinitelyNonNullable=470302716]="DefinitelyNonNullable",e[e.DisjointDomains=469892092]="DisjointDomains",e[e.UnionOrIntersection=3145728]="UnionOrIntersection",e[e.StructuredType=3670016]="StructuredType",e[e.TypeVariable=8650752]="TypeVariable",e[e.InstantiableNonPrimitive=58982400]="InstantiableNonPrimitive",e[e.InstantiablePrimitive=406847488]="InstantiablePrimitive",e[e.Instantiable=465829888]="Instantiable",e[e.StructuredOrInstantiable=469499904]="StructuredOrInstantiable",e[e.ObjectFlagsType=138117121]="ObjectFlagsType",e[e.Simplifiable=25165824]="Simplifiable",e[e.Singleton=67358815]="Singleton",e[e.Narrowable=536624127]="Narrowable",e[e.IncludesMask=473694207]="IncludesMask",e[e.IncludesMissingType=262144]="IncludesMissingType",e[e.IncludesNonWideningType=4194304]="IncludesNonWideningType",e[e.IncludesWildcard=8388608]="IncludesWildcard",e[e.IncludesEmptyObject=16777216]="IncludesEmptyObject",e[e.IncludesInstantiable=33554432]="IncludesInstantiable",e[e.NotPrimitiveUnion=36323331]="NotPrimitiveUnion",e}(Mr||{}),Rr=function(e){return e[e.None=0]="None",e[e.Class=1]="Class",e[e.Interface=2]="Interface",e[e.Reference=4]="Reference",e[e.Tuple=8]="Tuple",e[e.Anonymous=16]="Anonymous",e[e.Mapped=32]="Mapped",e[e.Instantiated=64]="Instantiated",e[e.ObjectLiteral=128]="ObjectLiteral",e[e.EvolvingArray=256]="EvolvingArray",e[e.ObjectLiteralPatternWithComputedProperties=512]="ObjectLiteralPatternWithComputedProperties",e[e.ReverseMapped=1024]="ReverseMapped",e[e.JsxAttributes=2048]="JsxAttributes",e[e.JSLiteral=4096]="JSLiteral",e[e.FreshLiteral=8192]="FreshLiteral",e[e.ArrayLiteral=16384]="ArrayLiteral",e[e.PrimitiveUnion=32768]="PrimitiveUnion",e[e.ContainsWideningType=65536]="ContainsWideningType",e[e.ContainsObjectOrArrayLiteral=131072]="ContainsObjectOrArrayLiteral",e[e.NonInferrableType=262144]="NonInferrableType",e[e.CouldContainTypeVariablesComputed=524288]="CouldContainTypeVariablesComputed",e[e.CouldContainTypeVariables=1048576]="CouldContainTypeVariables",e[e.ClassOrInterface=3]="ClassOrInterface",e[e.RequiresWidening=196608]="RequiresWidening",e[e.PropagatingFlags=458752]="PropagatingFlags",e[e.ObjectTypeKindMask=1343]="ObjectTypeKindMask",e[e.ContainsSpread=2097152]="ContainsSpread",e[e.ObjectRestType=4194304]="ObjectRestType",e[e.InstantiationExpressionType=8388608]="InstantiationExpressionType",e[e.IsClassInstanceClone=16777216]="IsClassInstanceClone",e[e.IdenticalBaseTypeCalculated=33554432]="IdenticalBaseTypeCalculated",e[e.IdenticalBaseTypeExists=67108864]="IdenticalBaseTypeExists",e[e.IsGenericTypeComputed=2097152]="IsGenericTypeComputed",e[e.IsGenericObjectType=4194304]="IsGenericObjectType",e[e.IsGenericIndexType=8388608]="IsGenericIndexType",e[e.IsGenericType=12582912]="IsGenericType",e[e.ContainsIntersections=16777216]="ContainsIntersections",e[e.IsUnknownLikeUnionComputed=33554432]="IsUnknownLikeUnionComputed",e[e.IsUnknownLikeUnion=67108864]="IsUnknownLikeUnion",e[e.IsNeverIntersectionComputed=16777216]="IsNeverIntersectionComputed",e[e.IsNeverIntersection=33554432]="IsNeverIntersection",e}(Rr||{}),jr=function(e){return e[e.Invariant=0]="Invariant",e[e.Covariant=1]="Covariant",e[e.Contravariant=2]="Contravariant",e[e.Bivariant=3]="Bivariant",e[e.Independent=4]="Independent",e[e.VarianceMask=7]="VarianceMask",e[e.Unmeasurable=8]="Unmeasurable",e[e.Unreliable=16]="Unreliable",e[e.AllowsStructuralFallback=24]="AllowsStructuralFallback",e}(jr||{}),Br=function(e){return e[e.Required=1]="Required",e[e.Optional=2]="Optional",e[e.Rest=4]="Rest",e[e.Variadic=8]="Variadic",e[e.Fixed=3]="Fixed",e[e.Variable=12]="Variable",e[e.NonRequired=14]="NonRequired",e[e.NonRest=11]="NonRest",e}(Br||{}),Jr=function(e){return e[e.None=0]="None",e[e.IncludeUndefined=1]="IncludeUndefined",e[e.NoIndexSignatures=2]="NoIndexSignatures",e[e.Writing=4]="Writing",e[e.CacheSymbol=8]="CacheSymbol",e[e.NoTupleBoundsCheck=16]="NoTupleBoundsCheck",e[e.ExpressionPosition=32]="ExpressionPosition",e[e.ReportDeprecated=64]="ReportDeprecated",e[e.SuppressNoImplicitAnyError=128]="SuppressNoImplicitAnyError",e[e.Contextual=256]="Contextual",e[e.Persistent=1]="Persistent",e}(Jr||{}),zr=function(e){return e[e.None=0]="None",e[e.StringsOnly=1]="StringsOnly",e[e.NoIndexSignatures=2]="NoIndexSignatures",e[e.NoReducibleCheck=4]="NoReducibleCheck",e}(zr||{}),Ur=function(e){return e[e.Component=0]="Component",e[e.Function=1]="Function",e[e.Mixed=2]="Mixed",e}(Ur||{}),Vr=function(e){return e[e.Call=0]="Call",e[e.Construct=1]="Construct",e}(Vr||{}),qr=function(e){return e[e.None=0]="None",e[e.HasRestParameter=1]="HasRestParameter",e[e.HasLiteralTypes=2]="HasLiteralTypes",e[e.Abstract=4]="Abstract",e[e.IsInnerCallChain=8]="IsInnerCallChain",e[e.IsOuterCallChain=16]="IsOuterCallChain",e[e.IsUntypedSignatureInJSFile=32]="IsUntypedSignatureInJSFile",e[e.IsNonInferrable=64]="IsNonInferrable",e[e.IsSignatureCandidateForOverloadFailure=128]="IsSignatureCandidateForOverloadFailure",e[e.PropagatingFlags=167]="PropagatingFlags",e[e.CallChainFlags=24]="CallChainFlags",e}(qr||{}),Wr=function(e){return e[e.String=0]="String",e[e.Number=1]="Number",e}(Wr||{}),Hr=function(e){return e[e.Simple=0]="Simple",e[e.Array=1]="Array",e[e.Deferred=2]="Deferred",e[e.Function=3]="Function",e[e.Composite=4]="Composite",e[e.Merged=5]="Merged",e}(Hr||{}),Kr=function(e){return e[e.None=0]="None",e[e.NakedTypeVariable=1]="NakedTypeVariable",e[e.SpeculativeTuple=2]="SpeculativeTuple",e[e.SubstituteSource=4]="SubstituteSource",e[e.HomomorphicMappedType=8]="HomomorphicMappedType",e[e.PartialHomomorphicMappedType=16]="PartialHomomorphicMappedType",e[e.MappedTypeConstraint=32]="MappedTypeConstraint",e[e.ContravariantConditional=64]="ContravariantConditional",e[e.ReturnType=128]="ReturnType",e[e.LiteralKeyof=256]="LiteralKeyof",e[e.NoConstraints=512]="NoConstraints",e[e.AlwaysStrict=1024]="AlwaysStrict",e[e.MaxValue=2048]="MaxValue",e[e.PriorityImpliesCombination=416]="PriorityImpliesCombination",e[e.Circularity=-1]="Circularity",e}(Kr||{}),Gr=function(e){return e[e.None=0]="None",e[e.NoDefault=1]="NoDefault",e[e.AnyDefault=2]="AnyDefault",e[e.SkippedGenericFunction=4]="SkippedGenericFunction",e}(Gr||{}),Xr=function(e){return e[e.False=0]="False",e[e.Unknown=1]="Unknown",e[e.Maybe=3]="Maybe",e[e.True=-1]="True",e}(Xr||{}),Qr=function(e){return e[e.None=0]="None",e[e.ExportsProperty=1]="ExportsProperty",e[e.ModuleExports=2]="ModuleExports",e[e.PrototypeProperty=3]="PrototypeProperty",e[e.ThisProperty=4]="ThisProperty",e[e.Property=5]="Property",e[e.Prototype=6]="Prototype",e[e.ObjectDefinePropertyValue=7]="ObjectDefinePropertyValue",e[e.ObjectDefinePropertyExports=8]="ObjectDefinePropertyExports",e[e.ObjectDefinePrototypeProperty=9]="ObjectDefinePrototypeProperty",e}(Qr||{}),Yr=function(e){return e[e.Warning=0]="Warning",e[e.Error=1]="Error",e[e.Suggestion=2]="Suggestion",e[e.Message=3]="Message",e}(Yr||{}),Zr=function(e){return e[e.Classic=1]="Classic",e[e.NodeJs=2]="NodeJs",e[e.Node10=2]="Node10",e[e.Node16=3]="Node16",e[e.NodeNext=99]="NodeNext",e[e.Bundler=100]="Bundler",e}(Zr||{}),$r=function(e){return e[e.Legacy=1]="Legacy",e[e.Auto=2]="Auto",e[e.Force=3]="Force",e}($r||{}),en=function(e){return e[e.FixedPollingInterval=0]="FixedPollingInterval",e[e.PriorityPollingInterval=1]="PriorityPollingInterval",e[e.DynamicPriorityPolling=2]="DynamicPriorityPolling",e[e.FixedChunkSizePolling=3]="FixedChunkSizePolling",e[e.UseFsEvents=4]="UseFsEvents",e[e.UseFsEventsOnParentDirectory=5]="UseFsEventsOnParentDirectory",e}(en||{}),tn=function(e){return e[e.UseFsEvents=0]="UseFsEvents",e[e.FixedPollingInterval=1]="FixedPollingInterval",e[e.DynamicPriorityPolling=2]="DynamicPriorityPolling",e[e.FixedChunkSizePolling=3]="FixedChunkSizePolling",e}(tn||{}),rn=function(e){return e[e.FixedInterval=0]="FixedInterval",e[e.PriorityInterval=1]="PriorityInterval",e[e.DynamicPriority=2]="DynamicPriority",e[e.FixedChunkSize=3]="FixedChunkSize",e}(rn||{}),oA=function(e){return e[e.None=0]="None",e[e.CommonJS=1]="CommonJS",e[e.AMD=2]="AMD",e[e.UMD=3]="UMD",e[e.System=4]="System",e[e.ES2015=5]="ES2015",e[e.ES2020=6]="ES2020",e[e.ES2022=7]="ES2022",e[e.ESNext=99]="ESNext",e[e.Node16=100]="Node16",e[e.NodeNext=199]="NodeNext",e}(oA||{}),nn=function(e){return e[e.None=0]="None",e[e.Preserve=1]="Preserve",e[e.React=2]="React",e[e.ReactNative=3]="ReactNative",e[e.ReactJSX=4]="ReactJSX",e[e.ReactJSXDev=5]="ReactJSXDev",e}(nn||{}),an=function(e){return e[e.Remove=0]="Remove",e[e.Preserve=1]="Preserve",e[e.Error=2]="Error",e}(an||{}),on=function(e){return e[e.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",e[e.LineFeed=1]="LineFeed",e}(on||{}),sn=function(e){return e[e.Unknown=0]="Unknown",e[e.JS=1]="JS",e[e.JSX=2]="JSX",e[e.TS=3]="TS",e[e.TSX=4]="TSX",e[e.External=5]="External",e[e.JSON=6]="JSON",e[e.Deferred=7]="Deferred",e}(sn||{}),cn=function(e){return e[e.ES3=0]="ES3",e[e.ES5=1]="ES5",e[e.ES2015=2]="ES2015",e[e.ES2016=3]="ES2016",e[e.ES2017=4]="ES2017",e[e.ES2018=5]="ES2018",e[e.ES2019=6]="ES2019",e[e.ES2020=7]="ES2020",e[e.ES2021=8]="ES2021",e[e.ES2022=9]="ES2022",e[e.ESNext=99]="ESNext",e[e.JSON=100]="JSON",e[e.Latest=99]="Latest",e}(cn||{}),un=function(e){return e[e.Standard=0]="Standard",e[e.JSX=1]="JSX",e}(un||{}),_n=function(e){return e[e.None=0]="None",e[e.Recursive=1]="Recursive",e}(_n||{}),ln=function(e){return e[e.nullCharacter=0]="nullCharacter",e[e.maxAsciiCharacter=127]="maxAsciiCharacter",e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.lineSeparator=8232]="lineSeparator",e[e.paragraphSeparator=8233]="paragraphSeparator",e[e.nextLine=133]="nextLine",e[e.space=32]="space",e[e.nonBreakingSpace=160]="nonBreakingSpace",e[e.enQuad=8192]="enQuad",e[e.emQuad=8193]="emQuad",e[e.enSpace=8194]="enSpace",e[e.emSpace=8195]="emSpace",e[e.threePerEmSpace=8196]="threePerEmSpace",e[e.fourPerEmSpace=8197]="fourPerEmSpace",e[e.sixPerEmSpace=8198]="sixPerEmSpace",e[e.figureSpace=8199]="figureSpace",e[e.punctuationSpace=8200]="punctuationSpace",e[e.thinSpace=8201]="thinSpace",e[e.hairSpace=8202]="hairSpace",e[e.zeroWidthSpace=8203]="zeroWidthSpace",e[e.narrowNoBreakSpace=8239]="narrowNoBreakSpace",e[e.ideographicSpace=12288]="ideographicSpace",e[e.mathematicalSpace=8287]="mathematicalSpace",e[e.ogham=5760]="ogham",e[e.replacementCharacter=65533]="replacementCharacter",e[e._=95]="_",e[e.$=36]="$",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.ampersand=38]="ampersand",e[e.asterisk=42]="asterisk",e[e.at=64]="at",e[e.backslash=92]="backslash",e[e.backtick=96]="backtick",e[e.bar=124]="bar",e[e.caret=94]="caret",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.closeParen=41]="closeParen",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.equals=61]="equals",e[e.exclamation=33]="exclamation",e[e.greaterThan=62]="greaterThan",e[e.hash=35]="hash",e[e.lessThan=60]="lessThan",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.openParen=40]="openParen",e[e.percent=37]="percent",e[e.plus=43]="plus",e[e.question=63]="question",e[e.semicolon=59]="semicolon",e[e.singleQuote=39]="singleQuote",e[e.slash=47]="slash",e[e.tilde=126]="tilde",e[e.backspace=8]="backspace",e[e.formFeed=12]="formFeed",e[e.byteOrderMark=65279]="byteOrderMark",e[e.tab=9]="tab",e[e.verticalTab=11]="verticalTab",e}(ln||{}),dn=function(e){return e.Ts=".ts",e.Tsx=".tsx",e.Dts=".d.ts",e.Js=".js",e.Jsx=".jsx",e.Json=".json",e.TsBuildInfo=".tsbuildinfo",e.Mjs=".mjs",e.Mts=".mts",e.Dmts=".d.mts",e.Cjs=".cjs",e.Cts=".cts",e.Dcts=".d.cts",e}(dn||{}),fn=function(e){return e[e.None=0]="None",e[e.ContainsTypeScript=1]="ContainsTypeScript",e[e.ContainsJsx=2]="ContainsJsx",e[e.ContainsESNext=4]="ContainsESNext",e[e.ContainsES2022=8]="ContainsES2022",e[e.ContainsES2021=16]="ContainsES2021",e[e.ContainsES2020=32]="ContainsES2020",e[e.ContainsES2019=64]="ContainsES2019",e[e.ContainsES2018=128]="ContainsES2018",e[e.ContainsES2017=256]="ContainsES2017",e[e.ContainsES2016=512]="ContainsES2016",e[e.ContainsES2015=1024]="ContainsES2015",e[e.ContainsGenerator=2048]="ContainsGenerator",e[e.ContainsDestructuringAssignment=4096]="ContainsDestructuringAssignment",e[e.ContainsTypeScriptClassSyntax=8192]="ContainsTypeScriptClassSyntax",e[e.ContainsLexicalThis=16384]="ContainsLexicalThis",e[e.ContainsRestOrSpread=32768]="ContainsRestOrSpread",e[e.ContainsObjectRestOrSpread=65536]="ContainsObjectRestOrSpread",e[e.ContainsComputedPropertyName=131072]="ContainsComputedPropertyName",e[e.ContainsBlockScopedBinding=262144]="ContainsBlockScopedBinding",e[e.ContainsBindingPattern=524288]="ContainsBindingPattern",e[e.ContainsYield=1048576]="ContainsYield",e[e.ContainsAwait=2097152]="ContainsAwait",e[e.ContainsHoistedDeclarationOrCompletion=4194304]="ContainsHoistedDeclarationOrCompletion",e[e.ContainsDynamicImport=8388608]="ContainsDynamicImport",e[e.ContainsClassFields=16777216]="ContainsClassFields",e[e.ContainsDecorators=33554432]="ContainsDecorators",e[e.ContainsPossibleTopLevelAwait=67108864]="ContainsPossibleTopLevelAwait",e[e.ContainsLexicalSuper=134217728]="ContainsLexicalSuper",e[e.ContainsUpdateExpressionForIdentifier=268435456]="ContainsUpdateExpressionForIdentifier",e[e.ContainsPrivateIdentifierInExpression=536870912]="ContainsPrivateIdentifierInExpression",e[e.HasComputedFlags=-2147483648]="HasComputedFlags",e[e.AssertTypeScript=1]="AssertTypeScript",e[e.AssertJsx=2]="AssertJsx",e[e.AssertESNext=4]="AssertESNext",e[e.AssertES2022=8]="AssertES2022",e[e.AssertES2021=16]="AssertES2021",e[e.AssertES2020=32]="AssertES2020",e[e.AssertES2019=64]="AssertES2019",e[e.AssertES2018=128]="AssertES2018",e[e.AssertES2017=256]="AssertES2017",e[e.AssertES2016=512]="AssertES2016",e[e.AssertES2015=1024]="AssertES2015",e[e.AssertGenerator=2048]="AssertGenerator",e[e.AssertDestructuringAssignment=4096]="AssertDestructuringAssignment",e[e.OuterExpressionExcludes=-2147483648]="OuterExpressionExcludes",e[e.PropertyAccessExcludes=-2147483648]="PropertyAccessExcludes",e[e.NodeExcludes=-2147483648]="NodeExcludes",e[e.ArrowFunctionExcludes=-2072174592]="ArrowFunctionExcludes",e[e.FunctionExcludes=-1937940480]="FunctionExcludes",e[e.ConstructorExcludes=-1937948672]="ConstructorExcludes",e[e.MethodOrAccessorExcludes=-2005057536]="MethodOrAccessorExcludes",e[e.PropertyExcludes=-2013249536]="PropertyExcludes",e[e.ClassExcludes=-2147344384]="ClassExcludes",e[e.ModuleExcludes=-1941676032]="ModuleExcludes",e[e.TypeExcludes=-2]="TypeExcludes",e[e.ObjectLiteralExcludes=-2147278848]="ObjectLiteralExcludes",e[e.ArrayLiteralOrCallOrNewExcludes=-2147450880]="ArrayLiteralOrCallOrNewExcludes",e[e.VariableDeclarationListExcludes=-2146893824]="VariableDeclarationListExcludes",e[e.ParameterExcludes=-2147483648]="ParameterExcludes",e[e.CatchClauseExcludes=-2147418112]="CatchClauseExcludes",e[e.BindingPatternExcludes=-2147450880]="BindingPatternExcludes",e[e.ContainsLexicalThisOrSuper=134234112]="ContainsLexicalThisOrSuper",e[e.PropertyNamePropagatingFlags=134234112]="PropertyNamePropagatingFlags",e}(fn||{}),pn=function(e){return e[e.TabStop=0]="TabStop",e[e.Placeholder=1]="Placeholder",e[e.Choice=2]="Choice",e[e.Variable=3]="Variable",e}(pn||{}),mn=function(e){return e[e.None=0]="None",e[e.SingleLine=1]="SingleLine",e[e.MultiLine=2]="MultiLine",e[e.AdviseOnEmitNode=4]="AdviseOnEmitNode",e[e.NoSubstitution=8]="NoSubstitution",e[e.CapturesThis=16]="CapturesThis",e[e.NoLeadingSourceMap=32]="NoLeadingSourceMap",e[e.NoTrailingSourceMap=64]="NoTrailingSourceMap",e[e.NoSourceMap=96]="NoSourceMap",e[e.NoNestedSourceMaps=128]="NoNestedSourceMaps",e[e.NoTokenLeadingSourceMaps=256]="NoTokenLeadingSourceMaps",e[e.NoTokenTrailingSourceMaps=512]="NoTokenTrailingSourceMaps",e[e.NoTokenSourceMaps=768]="NoTokenSourceMaps",e[e.NoLeadingComments=1024]="NoLeadingComments",e[e.NoTrailingComments=2048]="NoTrailingComments",e[e.NoComments=3072]="NoComments",e[e.NoNestedComments=4096]="NoNestedComments",e[e.HelperName=8192]="HelperName",e[e.ExportName=16384]="ExportName",e[e.LocalName=32768]="LocalName",e[e.InternalName=65536]="InternalName",e[e.Indented=131072]="Indented",e[e.NoIndentation=262144]="NoIndentation",e[e.AsyncFunctionBody=524288]="AsyncFunctionBody",e[e.ReuseTempVariableScope=1048576]="ReuseTempVariableScope",e[e.CustomPrologue=2097152]="CustomPrologue",e[e.NoHoisting=4194304]="NoHoisting",e[e.Iterator=8388608]="Iterator",e[e.NoAsciiEscaping=16777216]="NoAsciiEscaping",e}(mn||{}),yn=function(e){return e[e.None=0]="None",e[e.TypeScriptClassWrapper=1]="TypeScriptClassWrapper",e[e.NeverApplyImportHelper=2]="NeverApplyImportHelper",e[e.IgnoreSourceNewlines=4]="IgnoreSourceNewlines",e[e.Immutable=8]="Immutable",e[e.IndirectCall=16]="IndirectCall",e[e.TransformPrivateStaticElements=32]="TransformPrivateStaticElements",e}(yn||{}),vn=function(e){return e[e.Extends=1]="Extends",e[e.Assign=2]="Assign",e[e.Rest=4]="Rest",e[e.Decorate=8]="Decorate",e[e.ESDecorateAndRunInitializers=8]="ESDecorateAndRunInitializers",e[e.Metadata=16]="Metadata",e[e.Param=32]="Param",e[e.Awaiter=64]="Awaiter",e[e.Generator=128]="Generator",e[e.Values=256]="Values",e[e.Read=512]="Read",e[e.SpreadArray=1024]="SpreadArray",e[e.Await=2048]="Await",e[e.AsyncGenerator=4096]="AsyncGenerator",e[e.AsyncDelegator=8192]="AsyncDelegator",e[e.AsyncValues=16384]="AsyncValues",e[e.ExportStar=32768]="ExportStar",e[e.ImportStar=65536]="ImportStar",e[e.ImportDefault=131072]="ImportDefault",e[e.MakeTemplateObject=262144]="MakeTemplateObject",e[e.ClassPrivateFieldGet=524288]="ClassPrivateFieldGet",e[e.ClassPrivateFieldSet=1048576]="ClassPrivateFieldSet",e[e.ClassPrivateFieldIn=2097152]="ClassPrivateFieldIn",e[e.CreateBinding=4194304]="CreateBinding",e[e.SetFunctionName=8388608]="SetFunctionName",e[e.PropKey=16777216]="PropKey",e[e.AddDisposableResourceAndDisposeResources=33554432]="AddDisposableResourceAndDisposeResources",e[e.FirstEmitHelper=1]="FirstEmitHelper",e[e.LastEmitHelper=33554432]="LastEmitHelper",e[e.ForOfIncludes=256]="ForOfIncludes",e[e.ForAwaitOfIncludes=16384]="ForAwaitOfIncludes",e[e.AsyncGeneratorIncludes=6144]="AsyncGeneratorIncludes",e[e.AsyncDelegatorIncludes=26624]="AsyncDelegatorIncludes",e[e.SpreadIncludes=1536]="SpreadIncludes",e}(vn||{}),gn=function(e){return e[e.SourceFile=0]="SourceFile",e[e.Expression=1]="Expression",e[e.IdentifierName=2]="IdentifierName",e[e.MappedTypeParameter=3]="MappedTypeParameter",e[e.Unspecified=4]="Unspecified",e[e.EmbeddedStatement=5]="EmbeddedStatement",e[e.JsxAttributeValue=6]="JsxAttributeValue",e}(gn||{}),hn=function(e){return e[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",e}(hn||{}),xn=function(e){return e[e.None=0]="None",e[e.InParameters=1]="InParameters",e[e.VariablesHoistedInParameters=2]="VariablesHoistedInParameters",e}(xn||{}),wn=function(e){return e.Prologue="prologue",e.EmitHelpers="emitHelpers",e.NoDefaultLib="no-default-lib",e.Reference="reference",e.Type="type",e.TypeResolutionModeRequire="type-require",e.TypeResolutionModeImport="type-import",e.Lib="lib",e.Prepend="prepend",e.Text="text",e.Internal="internal",e}(wn||{}),Cn=function(e){return e[e.None=0]="None",e[e.SingleLine=0]="SingleLine",e[e.MultiLine=1]="MultiLine",e[e.PreserveLines=2]="PreserveLines",e[e.LinesMask=3]="LinesMask",e[e.NotDelimited=0]="NotDelimited",e[e.BarDelimited=4]="BarDelimited",e[e.AmpersandDelimited=8]="AmpersandDelimited",e[e.CommaDelimited=16]="CommaDelimited",e[e.AsteriskDelimited=32]="AsteriskDelimited",e[e.DelimitersMask=60]="DelimitersMask",e[e.AllowTrailingComma=64]="AllowTrailingComma",e[e.Indented=128]="Indented",e[e.SpaceBetweenBraces=256]="SpaceBetweenBraces",e[e.SpaceBetweenSiblings=512]="SpaceBetweenSiblings",e[e.Braces=1024]="Braces",e[e.Parenthesis=2048]="Parenthesis",e[e.AngleBrackets=4096]="AngleBrackets",e[e.SquareBrackets=8192]="SquareBrackets",e[e.BracketsMask=15360]="BracketsMask",e[e.OptionalIfUndefined=16384]="OptionalIfUndefined",e[e.OptionalIfEmpty=32768]="OptionalIfEmpty",e[e.Optional=49152]="Optional",e[e.PreferNewLine=65536]="PreferNewLine",e[e.NoTrailingNewLine=131072]="NoTrailingNewLine",e[e.NoInterveningComments=262144]="NoInterveningComments",e[e.NoSpaceIfEmpty=524288]="NoSpaceIfEmpty",e[e.SingleElement=1048576]="SingleElement",e[e.SpaceAfterList=2097152]="SpaceAfterList",e[e.Modifiers=2359808]="Modifiers",e[e.HeritageClauses=512]="HeritageClauses",e[e.SingleLineTypeLiteralMembers=768]="SingleLineTypeLiteralMembers",e[e.MultiLineTypeLiteralMembers=32897]="MultiLineTypeLiteralMembers",e[e.SingleLineTupleTypeElements=528]="SingleLineTupleTypeElements",e[e.MultiLineTupleTypeElements=657]="MultiLineTupleTypeElements",e[e.UnionTypeConstituents=516]="UnionTypeConstituents",e[e.IntersectionTypeConstituents=520]="IntersectionTypeConstituents",e[e.ObjectBindingPatternElements=525136]="ObjectBindingPatternElements",e[e.ArrayBindingPatternElements=524880]="ArrayBindingPatternElements",e[e.ObjectLiteralExpressionProperties=526226]="ObjectLiteralExpressionProperties",e[e.ImportClauseEntries=526226]="ImportClauseEntries",e[e.ArrayLiteralExpressionElements=8914]="ArrayLiteralExpressionElements",e[e.CommaListElements=528]="CommaListElements",e[e.CallExpressionArguments=2576]="CallExpressionArguments",e[e.NewExpressionArguments=18960]="NewExpressionArguments",e[e.TemplateExpressionSpans=262144]="TemplateExpressionSpans",e[e.SingleLineBlockStatements=768]="SingleLineBlockStatements",e[e.MultiLineBlockStatements=129]="MultiLineBlockStatements",e[e.VariableDeclarationList=528]="VariableDeclarationList",e[e.SingleLineFunctionBodyStatements=768]="SingleLineFunctionBodyStatements",e[e.MultiLineFunctionBodyStatements=1]="MultiLineFunctionBodyStatements",e[e.ClassHeritageClauses=0]="ClassHeritageClauses",e[e.ClassMembers=129]="ClassMembers",e[e.InterfaceMembers=129]="InterfaceMembers",e[e.EnumMembers=145]="EnumMembers",e[e.CaseBlockClauses=129]="CaseBlockClauses",e[e.NamedImportsOrExportsElements=525136]="NamedImportsOrExportsElements",e[e.JsxElementOrFragmentChildren=262144]="JsxElementOrFragmentChildren",e[e.JsxElementAttributes=262656]="JsxElementAttributes",e[e.CaseOrDefaultClauseStatements=163969]="CaseOrDefaultClauseStatements",e[e.HeritageClauseTypes=528]="HeritageClauseTypes",e[e.SourceFileStatements=131073]="SourceFileStatements",e[e.Decorators=2146305]="Decorators",e[e.TypeArguments=53776]="TypeArguments",e[e.TypeParameters=53776]="TypeParameters",e[e.Parameters=2576]="Parameters",e[e.IndexSignatureParameters=8848]="IndexSignatureParameters",e[e.JSDocComment=33]="JSDocComment",e}(Cn||{}),Nn=function(e){return e[e.None=0]="None",e[e.TripleSlashXML=1]="TripleSlashXML",e[e.SingleLine=2]="SingleLine",e[e.MultiLine=4]="MultiLine",e[e.All=7]="All",e[e.Default=7]="Default",e}(Nn||{}),Dn={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 Vn(e){for(var t=5381,r=0;r<e.length;r++)t=(t<<5)+t+e.charCodeAt(r);return t.toString()}function qn(){Error.stackTraceLimit<100&&(Error.stackTraceLimit=100)}function Wn(e,t){return e.getModifiedTime(t)||On}function Hn(e){var t={};return t[250]=e.Low,t[500]=e.Medium,t[2e3]=e.High,t}function Kn(i){var r;function a(n){var a;return e("Low"),e("Medium"),e("High"),a;function e(e){var t,r,r=(t=n,r=e,i.getEnvironmentVariable("".concat(t,"_").concat(r.toUpperCase())));r&&((a=a||{})[e]=Number(r))}}function e(e,t){e=a(e);return(r||e)&&Hn(e?__assign(__assign({},t),e):t)}i.getEnvironmentVariable&&(r=function(e,t){var r=a(e);if(r)return n("Low"),n("Medium"),n("High"),!0;return!1;function n(e){t[e]=r[e]||t[e]}}("TSC_WATCH_POLLINGINTERVAL",In),Mn=e("TSC_WATCH_POLLINGCHUNKSIZE",Ln)||Mn,Rn=e("TSC_WATCH_UNCHANGEDPOLLTHRESHOLDS",Ln)||Rn)}function Gn(e,t,r,n,a){for(var i,o,s,c=r,u=t.length;n&&u;++r===t.length&&(c<r&&(t.length=c),c=r=0),u--){var _,l=t[r];l&&(l.isClosed?t[r]=void 0:(n--,_=Wn(e,(i=l).fileName),s=o=void 0,o=i.mtime.getTime(),s=_.getTime(),_=o!==s&&(i.mtime=_,i.callback(i.fileName,$n(o,s),_),!0),l.isClosed?t[r]=void 0:(null!=a&&a(l,r,_),t[r]&&(c<r&&(t[c]=l,t[r]=void 0),c++))))}return r}function Xn(i){var a=[],o=[],t=e(250),r=e(500),n=e(2e3);return function(e,t,r){var n={fileName:e,callback:t,unchangedPolls:0,mtime:Wn(i,e)};return a.push(n),l(n,r),{close:function(){n.isClosed=!0,Pe(a,n)}}};function e(e){var t=[];return t.pollingInterval=e,t.pollIndex=0,t.pollScheduled=!1,t}function s(e,t){t.pollIndex=u(t,t.pollingInterval,t.pollIndex,Mn[t.pollingInterval]),t.length?f(t.pollingInterval):(rA.assert(0===t.pollIndex),t.pollScheduled=!1)}function c(e,t){u(o,250,0,o.length),s(0,t),!t.pollScheduled&&o.length&&f(250)}function u(n,a,e,t){return Gn(i,n,e,t,function(e,t,r){r?(e.unchangedPolls=0,n!==o&&(n[t]=void 0,o.push(e),d(250))):e.unchangedPolls!==Rn[a]?e.unchangedPolls++:n===o?(e.unchangedPolls=1,n[t]=void 0,l(e,250)):2e3!==a&&(e.unchangedPolls++,n[t]=void 0,l(e,250===a?500:2e3))})}function _(e){switch(e){case 250:return t;case 500:return r;case 2e3:return n}}function l(e,t){_(t).push(e),d(t)}function d(e){_(e).pollScheduled||f(e)}function f(e){_(e).pollScheduled=i.setTimeout(250===e?c:s,e,250===e?"pollLowPollingIntervalQueue":"pollPollingIntervalQueue",_(e))}}function Qn(s,e){var _=MD(),c=new Map,l=KD(e);return function(e,t,r,n){var a=l(e);_.add(a,t);var i=lA(a)||".",o=c.get(i)||function(u,e,t){t=s(u,1,function(e,t,r){var n,a;if(jD(t)){var i=fA(t,u),o=i&&_.get(l(i));if(o)try{for(var s=__values(o),c=s.next();!c.done;c=s.next())(0,c.value)(i,1,r)}catch(e){n={error:e}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(n)throw n.error}}}},!1,500,t);return t.referenceCount=0,c.set(e,t),t}(lA(e)||".",i,n);return o.referenceCount++,{close:function(){1===o.referenceCount?(o.close(),c.delete(i)):o.referenceCount--,_.remove(a,t)}}}}function Yn(n){var e,a=[],t=0;return function(e,t){var r={fileName:e,callback:t,mtime:Wn(n,e)};return a.push(r),i(),{close:function(){r.isClosed=!0,Pe(a,r)}}};function r(){e=void 0,t=Gn(n,a,t,Mn[250]),i()}function i(){a.length&&!e&&(e=n.setTimeout(r,2e3,"pollQueue"))}}function Zn(a,e,t,r,n){var i=KD(e)(t),t=a.get(i);return t?t.callbacks.push(r):a.set(i,{watcher:n(function(t,r,n){var e;return null==(e=a.get(i))?void 0:e.callbacks.slice().forEach(function(e){return e(t,r,n)})}),callbacks:[r]}),{close:function(){var e=a.get(i);e&&Ne(e.callbacks,r)&&!e.callbacks.length&&(a.delete(i),cV(e))}}}function $n(e,t){return 0===e?0:0===t?2:1}function ea(e){return Bn(e)}function ta(e){Bn=e}function ra(e){var o,s=e.watchDirectory,n=e.useCaseSensitiveFileNames,t=e.getCurrentDirectory,c=e.getAccessibleSortedChildDirectories,u=e.fileSystemEntryExists,_=e.realpath,l=e.setTimeout,d=e.clearTimeout,f=new Map,p=MD(),m=new Map,y=he(!n),v=KD(n);return function(e,t,r,n){return r?g(e,n,t):s(e,t,r,n)};function g(t,r,e){var n=v(t),a=f.get(n);a?a.refCount++:(a={watcher:s(t,function(e){k(e,r)||(null!=r&&r.synchronousWatchDirectory?(h(n,e),b(t,n,r)):function(e,t,r,n){var a=f.get(t);if(a&&u(e,1))return function(e,t,r,n){var a=m.get(t);a?a.fileNames.push(r):m.set(t,{dirName:e,options:n,fileNames:[r]}),o&&(d(o),o=void 0),o=l(x,1e3,"timerToUpdateChildWatches")}(e,t,r,n),0;h(t,r),function e(t){var r,n;if(!t)return;var a=t.childWatches;t.childWatches=WN;try{for(var i=__values(a),o=i.next();!o.done;o=i.next()){var s=o.value;s.close(),e(f.get(v(s.dirName)))}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}(a)}(t,n,e,r))},!1,r),refCount:1,childWatches:WN},f.set(n,a),b(t,n,r));var i=e&&{dirName:t,callback:e};return i&&p.add(n,i),{dirName:t,close:function(){var e=rA.checkDefined(f.get(n));i&&p.remove(n,i),e.refCount--,e.refCount||(f.delete(n),cV(e),e.childWatches.forEach(zf))}}}function h(n,e,a){var i,o;jD(e)?i=e:o=e,p.forEach(function(e,t){var r;o&&!0===o.get(t)||(t===n||XD(n,t)&&n[t.length]===ca)&&(o?a?(r=o.get(t))?r.push.apply(r,__spreadArray([],__read(a),!1)):o.set(t,a.slice()):o.set(t,!0):e.forEach(function(e){return(0,e.callback)(i)}))})}function x(){o=void 0,ea("sysLog:: onTimerToUpdateChildWatches:: ".concat(m.size));for(var e=ht(),n=new Map;!o&&m.size;){var t=m.entries().next();rA.assert(!t.done);var r=__read(t.value,2),a=r[0],i=r[1],t=i.dirName,r=i.options,i=i.fileNames;m.delete(a);r=b(t,a,r);h(a,n,r?void 0:i)}ea("sysLog:: invokingWatchers:: Elapsed:: ".concat(ht()-e,"ms:: ").concat(m.size)),p.forEach(function(e,t){var r=n.get(t);r&&e.forEach(function(e){var t=e.callback,e=e.dirName;RD(r)?r.forEach(t):t(e)})});e=ht()-e;ea("sysLog:: Elapsed:: ".concat(e,"ms:: onTimerToUpdateChildWatches:: ").concat(m.size," ").concat(o))}function b(t,e,r){var n,a=f.get(e);if(!a)return!1;e=Be(u(t,1)?uD(c(t),function(e){e=fA(e,t);return k(e,r)||0!==y(e,pi(_(e)))?void 0:e}):WN,a.childWatches,function(e,t){return y(e,t.dirName)},function(e){i(g(e,r))},zf,i);return a.childWatches=n||WN,e;function i(e){(n=n||[]).push(e)}}function k(r,e){return dD(jn,function(e){return!!WD(t=r,e=e)||!n&&WD(v(t),e);var t})||na(r,e,n,t)}}function na(e,t,r,n){return((null==t?void 0:t.excludeDirectories)||(null==t?void 0:t.excludeFiles))&&(VT(e,null==t?void 0:t.excludeFiles,r,n())||VT(e,null==t?void 0:t.excludeDirectories,r,n()))}function aa(r,n,a,i,o){return function(e,t){"rename"===e&&(e=t?pi(dA(r,t)):r,t&&na(e,a,i,o)||n(e))}}function ia(e){var t,r,c,a,i=e.pollingWatchFileWorker,p=e.getModifiedTime,o=e.setTimeout,s=e.clearTimeout,m=e.fsWatchWorker,y=e.fileSystemEntryExists,u=e.useCaseSensitiveFileNames,_=e.getCurrentDirectory,l=e.fsSupportsRecursiveFsWatch,d=e.getAccessibleSortedChildDirectories,f=e.realpath,v=e.tscWatchFile,g=e.useNonPollingWatchers,h=e.tscWatchDirectory,x=e.inodeWatching,b=e.sysLog,k=new Map,T=new Map,S=new Map,w=!1;return{watchFile:C,watchDirectory:function(e,t,r,n){if(l)return P(e,1,aa(e,t,n,u,_),r,500,sV(n));a=a||ra({useCaseSensitiveFileNames:u,getCurrentDirectory:_,fileSystemEntryExists:y,getAccessibleSortedChildDirectories:d,watchDirectory:E,realpath:f,setTimeout:o,clearTimeout:s});return a(e,t,r,n)}};function C(e,t,r,n){n=function(e,t){if(e&&void 0!==e.watchFile)return e;switch(v){case"PriorityPollingInterval":return{watchFile:1};case"DynamicPriorityPolling":return{watchFile:2};case"UseFsEvents":return A(4,1,e);case"UseFsEventsWithFallbackDynamicPolling":return A(4,2,e);case"UseFsEventsOnParentDirectory":t=!0;default:return t?A(5,1,e):{watchFile:4}}}(n,g);var a,i,o,s=rA.checkDefined(n.watchFile);switch(s){case 0:return F(e,t,250,void 0);case 1:return F(e,t,r,void 0);case 2:return N()(e,t,r,void 0);case 3:return D()(e,t,void 0,void 0);case 4:return P(e,0,(a=e,i=t,o=p,function(e,t,r){"rename"===e?(r=r||(o(a)||On),i(a,r!==On?0:2,r)):i(a,1,r)}),!1,r,sV(n));case 5:return(c=c||Qn(P,u))(e,t,r,sV(n));default:rA.assertNever(s)}}function N(){return t=t||Xn({getModifiedTime:p,setTimeout:o})}function D(){return r=r||Yn({getModifiedTime:p,setTimeout:o})}function A(e,t,r){r=null==r?void 0:r.fallbackPolling;return{watchFile:e,fallbackPolling:void 0===r?t:r}}function E(e,t,r,n){rA.assert(!r);var a=function(e){if(e&&void 0!==e.watchDirectory)return e;switch(h){case"RecursiveDirectoryUsingFsWatchFile":return{watchDirectory:1};case"RecursiveDirectoryUsingDynamicPriorityPolling":return{watchDirectory:2};default:var t=null==e?void 0:e.fallbackPolling;return{watchDirectory:0,fallbackPolling:void 0!==t?t:void 0}}}(n),i=rA.checkDefined(a.watchDirectory);switch(i){case 1:return F(e,function(){return t(e)},500,void 0);case 2:return N()(e,function(){return t(e)},500,void 0);case 3:return D()(e,function(){return t(e)},void 0,void 0);case 0:return P(e,1,aa(e,t,n,u,_),r,500,sV(a));default:rA.assertNever(i)}}function F(t,e,r,n){return Zn(k,u,t,e,function(e){return i(t,e,r,n)})}function P(t,r,e,n,a,i){return Zn(n?S:T,u,t,e,function(e){return function(a,e,i,t,r,o){var s,c;x&&(s=a.substring(a.lastIndexOf(ca)),c=s.slice(ca.length));var n=(y(a,e)?_:f)();return{close:function(){n&&(n.close(),n=void 0)}};function u(e){n&&(b("sysLog:: ".concat(a,":: Changing watcher to ").concat(e===_?"Present":"Missing","FileSystemEntryWatcher")),n.close(),n=e())}function _(){if(w)return b("sysLog:: ".concat(a,":: Defaulting to watchFile")),d();try{var e=m(a,t,x?l:i);return e.on("error",function(){i("rename",""),u(f)}),e}catch(e){return w=w||"ENOSPC"===e.code,b("sysLog:: ".concat(a,":: Changing to watchFile")),d()}}function l(e,t){var r,n;t&&qD(t,"~")&&(t=(r=t).slice(0,t.length-1)),"rename"!==e||t&&t!==c&&!qD(t,s)?(r&&i(e,r),i(e,t)):(n=p(a)||On,r&&i(e,r,n),i(e,t,n),x?u(n===On?f:_):n===On&&u(f))}function d(){return C(a,(n=i,function(e,t,r){return n(1===t?"change":"rename","",r)}),r,o);var n}function f(){return C(a,function(e,t,r){0===t&&(r=r||(p(a)||On))!==On&&(i("rename","",r),u(_))},r,o)}}(t,r,e,n,a,i)})}}function oa(n){var a=n.writeFile;n.writeFile=function(e,t,r){return Od(e,t,!!r,function(e,t,r){return a.call(n,e,t,r)},function(e){return n.createDirectory(e)},function(e){return n.directoryExists(e)})}}function sa(e){zn=e}var ca,ua,_a,la,da,ha=e({"src/compiler/sys.ts":function(){var e;MK(),Pn=function(e){return e[e.Created=0]="Created",e[e.Changed=1]="Changed",e[e.Deleted=2]="Deleted",e}(Pn||{}),In=function(e){return e[e.High=2e3]="High",e[e.Medium=500]="Medium",e[e.Low=250]="Low",e}(In||{}),On=new Date(0),Mn=Hn(Ln={Low:32,Medium:64,High:256}),Rn=Hn(Ln),jn=["/node_modules/.","/.git","/.#"],Bn=fi,Jn=function(e){return e[e.File=0]="File",e[e.Directory=1]="Directory",e}(Jn||{}),We()&&(e=function(){var r,i,l=/^native |^\([^)]+\)$|^(internal[\\/]|[a-zA-Z0-9_\s]+(\.js)?$)/,d=require("fs"),f=require("path"),e=require("os");try{r=require("crypto")}catch(e){r=void 0}var o="./profile.cpuprofile",n=require("buffer").Buffer,t="linux"===process.platform||"darwin"===process.platform,a=e.platform(),p="win32"!==a&&"win64"!==a&&!b(function(e){return e.replace(/\w/g,function(e){var t=e.toUpperCase();return e===t?e.toLowerCase():t})}(__filename)),s=d.realpathSync.native?"win32"===process.platform?function(e){return e.length<260?d.realpathSync.native(e):d.realpathSync(e)}:d.realpathSync.native:d.realpathSync,m=__filename.endsWith("sys.js")?f.join(f.dirname(__dirname),"__fake__.js"):__filename,c="win32"===process.platform||"darwin"===process.platform,u=va(function(){return process.cwd()}),t=(a=ia({pollingWatchFileWorker:function(n,a,e){var i;return d.watchFile(n,{persistent:!0,interval:e},t),{close:function(){return d.unwatchFile(n,t)}};function t(e,t){var r=0==+t.mtime||2===i;if(0==+e.mtime){if(r)return;i=2}else if(r)i=0;else{if(+e.mtime==+t.mtime)return;i=1}a(n,i,e.mtime)}},getModifiedTime:T,setTimeout:setTimeout,clearTimeout:clearTimeout,fsWatchWorker:function(e,t,r){return d.watch(e,c?{persistent:!0,recursive:!!t}:{persistent:!0},r)},useCaseSensitiveFileNames:p,getCurrentDirectory:u,fileSystemEntryExists:x,fsSupportsRecursiveFsWatch:c,getAccessibleSortedChildDirectories:function(e){return h(e).directories},realpath:k,tscWatchFile:process.env.TSC_WATCHFILE,useNonPollingWatchers:!!process.env.TSC_NONPOLLING_WATCHER,tscWatchDirectory:process.env.TSC_WATCHDIRECTORY,inodeWatching:t,sysLog:ea})).watchFile,a=a.watchDirectory,_={args:process.argv.slice(2),newLine:e.EOL,useCaseSensitiveFileNames:p,write:function(e){process.stdout.write(e)},getWidthOfTerminal:function(){return process.stdout.columns},writeOutputIsTTY:function(){return process.stdout.isTTY},readFile:function(e,t){null!=(r=St)&&r.logStartReadFile(e);var r=function(e){var t;try{t=d.readFileSync(e)}catch(e){return}var r=t.length;if(2<=r&&254===t[0]&&255===t[1]){r&=-2;for(var n=0;n<r;n+=2){var a=t[n];t[n]=t[n+1],t[n+1]=a}return t.toString("utf16le",2)}if(2<=r&&255===t[0]&&254===t[1])return t.toString("utf16le",2);if(3<=r&&239===t[0]&&187===t[1]&&191===t[2])return t.toString("utf8",3);return t.toString("utf8")}(e);return null!=(e=St)&&e.logStopReadFile(),r},writeFile:function(e,t,r){var n,a;null!=(n=St)&&n.logEvent("WriteFile: "+e),r&&(t="\ufeff"+t);try{a=d.openSync(e,"w"),d.writeSync(a,t,void 0,"utf8")}finally{void 0!==a&&d.closeSync(a)}},watchFile:t,watchDirectory:a,resolvePath:function(e){return f.resolve(e)},fileExists:b,directoryExists:function(e){return x(e,1)},createDirectory:function(e){if(!_.directoryExists(e))try{d.mkdirSync(e)}catch(e){if("EEXIST"!==e.code)throw e}},getExecutingFilePath:function(){return m},getCurrentDirectory:u,getDirectories:function(e){return h(e).directories.slice()},getEnvironmentVariable:function(e){return process.env[e]||""},readDirectory:function(e,t,r,n,a){return rm(e,t,r,n,p,process.cwd(),a,h,k)},getModifiedTime:T,setModifiedTime:function(e,t){try{d.utimesSync(e,t,t)}catch(e){return}},deleteFile:function(e){try{return d.unlinkSync(e)}catch(e){return}},createHash:r?S:Vn,createSHA256Hash:r?S:void 0,getMemoryUsage:function(){return global.gc&&global.gc(),process.memoryUsage().heapUsed},getFileSize:function(e){try{var t=y(e);if(null!=t&&t.isFile())return t.size}catch(e){}return 0},exit:function(e){v(function(){return process.exit(e)})},enableCPUProfiler:function(e,t){if(i)return t(),!1;var r=require("inspector");if(!r||!r.Session)return t(),!1;var n=new r.Session;return n.connect(),n.post("Profiler.enable",function(){n.post("Profiler.start",function(){i=n,o=e,t()})}),!0},disableCPUProfiler:v,cpuProfilingEnabled:function(){return!!i||eD(process.execArgv,"--cpu-prof")||eD(process.execArgv,"--prof")},realpath:k,debugMode:!!process.env.NODE_INSPECTOR_IPC||!!process.env.VSCODE_INSPECTOR_OPTIONS||dD(process.execArgv,function(e){return/^--(inspect|debug)(-brk)?(=\d+)?$/i.test(e)})||!!process.recordreplay,tryEnableSourceMapsForHost:function(){try{require("source-map-support").install()}catch(e){}},setTimeout:setTimeout,clearTimeout:clearTimeout,clearScreen:function(){process.stdout.write("c")},setBlocking:function(){var e=null==(e=process.stdout)?void 0:e._handle;e&&e.setBlocking&&e.setBlocking(!0)},bufferFrom:g,base64decode:function(e){return g(e,"base64").toString("utf8")},base64encode:function(e){return g(e).toString("base64")},require:function(e,t){try{var r=US(t,e,_);return{module:require(r),modulePath:r,error:void 0}}catch(e){return{module:void 0,modulePath:void 0,error:e}}}};return _;function y(e){return d.statSync(e,{throwIfNoEntry:!1})}function v(n){if(i&&"stopping"!==i){var a=i;return i.post("Profiler.stop",function(e,t){var r,t=t.profile;if(!e){try{null!=(r=y(o))&&r.isDirectory()&&(o=f.join(o,"".concat((new Date).toISOString().replace(/:/g,"-"),"+P").concat(process.pid,".cpuprofile")))}catch(e){}try{d.mkdirSync(f.dirname(o),{recursive:!0})}catch(e){}d.writeFileSync(o,JSON.stringify(function(e){var t,r,n=0,a=new Map,i=La(f.dirname(m)),o="file://".concat(1===Aa(i)?"":"/").concat(i);try{for(var s=__values(e.nodes),c=s.next();!c.done;c=s.next()){var u,_=c.value;_.callFrame.url&&(Ga(o,u=La(_.callFrame.url),p)?_.callFrame.url=ei(o,u,o,KD(p),!0):l.test(u)||(_.callFrame.url=(a.has(u)?a:a.set(u,"external".concat(n,".js"))).get(u),n++))}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}return e}(t)))}i=void 0,a.disconnect(),n()}),i="stopping",!0}return n(),!1}function g(e,t){return n.from&&n.from!==Int8Array.from?n.from(e,t):new n(e,t)}function h(e){var t,r;null!=St&&St.logEvent("ReadDir: "+(e||"."));try{var n=d.readdirSync(e||".",{withFileTypes:!0}),a=[],i=[];try{for(var o=__values(n),s=o.next();!s.done;s=o.next()){var c=s.value,u="string"==typeof c?c:c.name;if("."!==u&&".."!==u){var _=void 0;if("string"==typeof c||c.isSymbolicLink()){var l=dA(e,u);try{if(!(_=y(l)))continue}catch(e){continue}}else _=c;_.isFile()?a.push(u):_.isDirectory()&&i.push(u)}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return a.sort(),i.sort(),{files:a,directories:i}}catch(e){return Du}}function x(e,t){var r=Error.stackTraceLimit;Error.stackTraceLimit=0;try{var n=y(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=r}}function b(e){return x(e,0)}function k(t){try{return s(t)}catch(e){return t}}function T(e){var t,r=Error.stackTraceLimit;Error.stackTraceLimit=0;try{return null==(t=y(e))?void 0:t.mtime}catch(e){return}finally{Error.stackTraceLimit=r}}function S(e){var t=r.createHash("sha256");return t.update(e),t.digest("hex")}}()),e&&oa(e),(zn=e)&&zn.getEnvironmentVariable&&(Kn(zn),rA.setAssertionLevel(/^development$/i.test(zn.getEnvironmentVariable("NODE_ENV"))?1:0)),zn&&zn.debugMode&&(rA.isDebugging=!0)}});function xa(e){return 47===e||92===e}function ba(e){return Da(e)<0}function ka(e){return 0<Da(e)}function Ta(e){var t=Da(e);return 0<t&&t===e.length}function Sa(e){return 0!==Da(e)}function sA(e){return/^\.\.?($|[\\/])/.test(e)}function wa(e){return!Sa(e)&&!sA(e)}function cA(e){return WD(Ea(e),".")}function uA(e,t){return e.length>t.length&&qD(e,t)}function _A(e,t){var r,n;try{for(var a=__values(t),i=a.next();!i.done;i=a.next())if(uA(e,i.value))return!0}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return!1}function Ca(e){return 0<e.length&&xa(e.charCodeAt(e.length-1))}function Na(e){return 97<=e&&e<=122||65<=e&&e<=90}function Da(e){if(!e)return 0;var t=e.charCodeAt(0);if(47===t||92===t){if(e.charCodeAt(1)!==t)return 1;var r=e.indexOf(47===t?ca:ua,2);return r<0?e.length:r+1}if(Na(t)&&58===e.charCodeAt(1)){var n=e.charCodeAt(2);if(47===n||92===n)return 3;if(2===e.length)return 2}r=e.indexOf(_a);if(-1===r)return 0;t=r+_a.length,n=e.indexOf(ca,t);if(-1===n)return~e.length;r=e.slice(0,r),t=e.slice(t,n);if("file"===r&&(""===t||"localhost"===t)&&Na(e.charCodeAt(n+1))){t=function(e,t){var r=e.charCodeAt(t);if(58===r)return t+1;if(37===r&&51===e.charCodeAt(t+1)){e=e.charCodeAt(t+2);if(97===e||65===e)return t+3}return-1}(e,n+2);if(-1!==t){if(47===e.charCodeAt(t))return~(t+1);if(t===e.length)return~t}}return~(n+1)}function Aa(e){e=Da(e);return e<0?~e:e}function lA(e){var t=Aa(e=La(e));return t===e.length?e:(e=za(e)).slice(0,Math.max(t,e.lastIndexOf(ca)))}function Ea(e,t,r){if(Aa(e=La(e))===e.length)return"";e=(e=za(e)).slice(Math.max(Aa(e),e.lastIndexOf(ca)+1)),r=void 0!==t&&void 0!==r?Pa(e,t,r):void 0;return r?e.slice(0,e.length-r.length):e}function Fa(e,t,r){if(XD(t,".")||(t="."+t),e.length>=t.length&&46===e.charCodeAt(e.length-t.length)){e=e.slice(e.length-t.length);if(r(e,t))return e}}function Pa(e,t,r){if(t)return function(e,t,r){var n,a;if("string"==typeof t)return Fa(e,t,r)||"";try{for(var i=__values(t),o=i.next();!o.done;o=i.next()){var s=Fa(e,o.value,r);if(s)return s}}catch(e){n={error:e}}finally{try{o&&!o.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}return""}(za(e),t,r?sr:cr);r=Ea(e),e=r.lastIndexOf(".");return 0<=e?r.substring(e):""}function Ia(e,t){return void 0===t&&(t=""),e=dA(t,e),t=Aa(r=e),e=r.substring(0,t),(t=r.substring(t).split(ca)).length&&!CD(t)&&t.pop(),__spreadArray([e],__read(t),!1);var r}function Oa(e,t){return 0===e.length?"":(e[0]&&Ua(e[0]))+e.slice(1,t).join(ca)}function La(e){return-1!==e.indexOf("\\")?e.replace(la,ca):e}function Ma(e){if(!dD(e))return[];for(var t=[e[0]],r=1;r<e.length;r++){var n=e[r];if(n&&"."!==n){if(".."===n)if(1<t.length){if(".."!==t[t.length-1]){t.pop();continue}}else if(t[0])continue;t.push(n)}}return t}function dA(e){for(var t,r,n=[],a=1;a<arguments.length;a++)n[a-1]=arguments[a];e=e&&La(e);try{for(var i=__values(n),o=i.next();!o.done;o=i.next()){var s=o.value;s&&(s=La(s),e=e&&0===Aa(s)?Ua(e)+s:s)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return e}function Ra(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return pi(dD(t)?dA.apply(void 0,__spreadArray([e],__read(t),!1)):La(e))}function ja(e,t){return Ma(Ia(e,t))}function fA(e,t){return Oa(ja(e,t))}function pi(e){if(e=La(e),!da.test(e))return e;var t=e.replace(/\/\.\//g,"/").replace(/^\.\//,"");if(t!==e&&(e=t,!da.test(e)))return e;t=Oa(Ma(Ia(e)));return t&&Ca(e)?Ua(t):t}function Ba(e,t){return 0===(t=ja(e,t)).length?"":t.slice(1).join(ca)}function Ja(e,t,r){return r(ka(e)?pi(e):fA(e,t))}function za(e){return Ca(e)?e.substr(0,e.length-1):e}function Ua(e){return Ca(e)?e:e+ca}function Va(e){return Sa(e)||sA(e)?e:"./"+e}function qa(e,t,r,n){n=void 0!==r&&void 0!==n?Pa(e,r,n):Pa(e);return n?e.slice(0,e.length-n.length)+(XD(t,".")?t:"."+t):e}function Wa(e,t,r){if(e===t)return 0;if(void 0===e)return-1;if(void 0===t)return 1;var n=e.substring(0,Aa(e)),a=t.substring(0,Aa(t)),i=ye(n,a);if(0!==i)return i;n=e.substring(n.length),a=t.substring(a.length);if(!da.test(n)&&!da.test(a))return r(n,a);for(var o=Ma(Ia(e)),s=Ma(Ia(t)),c=Math.min(o.length,s.length),u=1;u<c;u++){var _=r(o[u],s[u]);if(0!==_)return _}return UD(o.length,s.length)}function Ha(e,t){return Wa(e,t,ge)}function Ka(e,t){return Wa(e,t,ye)}function pA(e,t,r,n){return"string"==typeof r?(e=dA(r,e),t=dA(r,t)):"boolean"==typeof r&&(n=r),Wa(e,t,he(n))}function Ga(e,t,r,n){if("string"==typeof r?(e=dA(r,e),t=dA(r,t)):"boolean"==typeof r&&(n=r),void 0===e||void 0===t)return!1;if(e===t)return!0;var a=Ma(Ia(e)),i=Ma(Ia(t));if(i.length<a.length)return!1;for(var o=n?sr:cr,s=0;s<a.length;s++)if(!(0===s?sr:o)(a[s],i[s]))return!1;return!0}function Xa(e,t,r){e=r(e),t=r(t);return XD(e,t+"/")||XD(e,t+"\\")}function Qa(e,t,r,n){for(var a=Ma(Ia(e)),i=Ma(Ia(t)),o=0;o<a.length&&o<i.length;o++)if(!(0===o?sr:r)(n(a[o]),n(i[o])))break;if(0===o)return i;for(var t=i.slice(o),s=[];o<a.length;o++)s.push("..");return __spreadArray(__spreadArray([""],__read(s),!1),__read(t),!1)}function Ya(e,t,r){return rA.assert(0<Aa(e)==0<Aa(t),"Paths must either both be absolute or both be relative"),Oa(Qa(e,t,"boolean"==typeof r&&r?sr:cr,"function"==typeof r?r:ir))}function Za(e,t,r){return ka(e)?ei(t,e,t,r,!1):e}function $a(e,t,r){return Va(Ya(lA(e),t,r))}function ei(e,t,r,n,a){t=Qa(Ra(r,e),Ra(r,t),cr,n),n=t[0];return a&&ka(n)&&(a=n.charAt(0)===ca?"file://":"file:///",t[0]=a+n),Oa(t)}function ti(e,t){for(;;){var r=t(e);if(void 0!==r)return r;r=lA(e);if(r===e)return;e=r}}function ri(e){return qD(e,"/node_modules")}var mA,ni=e({"src/compiler/path.ts":function(){MK(),ca="/",ua="\\",_a="://",la=/\\/g,da=/(?:\/\/)|(?:^|\/)\.\.?(?:$|\/)/}});function ai(e,t,r,n,a,i,o){return{code:e,category:t,key:r,message:n,reportsUnnecessary:a,elidedInCompatabilityPyramid:i,reportsDeprecated:o}}var mi,ii,oi,si,ci,ui,_i,yi,vi,gi,hi,yA,xi,bi,ki,Ti,Si=e({"src/compiler/diagnosticInformationMap.generated.ts":function(){Un(),mA={Unterminated_string_literal:ai(1002,1,"Unterminated_string_literal_1002","Unterminated string literal."),Identifier_expected:ai(1003,1,"Identifier_expected_1003","Identifier expected."),_0_expected:ai(1005,1,"_0_expected_1005","'{0}' expected."),A_file_cannot_have_a_reference_to_itself:ai(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:ai(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:ai(1009,1,"Trailing_comma_not_allowed_1009","Trailing comma not allowed."),Asterisk_Slash_expected:ai(1010,1,"Asterisk_Slash_expected_1010","'*/' expected."),An_element_access_expression_should_take_an_argument:ai(1011,1,"An_element_access_expression_should_take_an_argument_1011","An element access expression should take an argument."),Unexpected_token:ai(1012,1,"Unexpected_token_1012","Unexpected token."),A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(1025,1,"An_index_signature_cannot_have_a_trailing_comma_1025","An index signature cannot have a trailing comma."),Accessibility_modifier_already_seen:ai(1028,1,"Accessibility_modifier_already_seen_1028","Accessibility modifier already seen."),_0_modifier_must_precede_1_modifier:ai(1029,1,"_0_modifier_must_precede_1_modifier_1029","'{0}' modifier must precede '{1}' modifier."),_0_modifier_already_seen:ai(1030,1,"_0_modifier_already_seen_1030","'{0}' modifier already seen."),_0_modifier_cannot_appear_on_class_elements_of_this_kind:ai(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:ai(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:ai(1035,1,"Only_ambient_modules_can_use_quoted_names_1035","Only ambient modules can use quoted names."),Statements_are_not_allowed_in_ambient_contexts:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(1047,1,"A_rest_parameter_cannot_be_optional_1047","A rest parameter cannot be optional."),A_rest_parameter_cannot_have_an_initializer:ai(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:ai(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:ai(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:ai(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:ai(1053,1,"A_set_accessor_cannot_have_rest_parameter_1053","A 'set' accessor cannot have rest parameter."),A_get_accessor_cannot_have_parameters:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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<T> type. Did you mean to write 'Promise<{0}>'?"),The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type:ai(1065,1,"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_1065","The return type of an async function or method must be the global Promise<T> type."),In_ambient_enum_declarations_member_initializer_must_be_constant_expression:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(1084,1,"Invalid_reference_directive_syntax_1084","Invalid 'reference' directive syntax."),_0_modifier_cannot_appear_on_a_constructor_declaration:ai(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:ai(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:ai(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:ai(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:ai(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:ai(1094,1,"An_accessor_cannot_have_type_parameters_1094","An accessor cannot have type parameters."),A_set_accessor_cannot_have_a_return_type_annotation:ai(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:ai(1096,1,"An_index_signature_must_have_exactly_one_parameter_1096","An index signature must have exactly one parameter."),_0_list_cannot_be_empty:ai(1097,1,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:ai(1098,1,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:ai(1099,1,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(1109,1,"Expression_expected_1109","Expression expected."),Type_expected:ai(1110,1,"Type_expected_1110","Type expected."),Private_field_0_must_be_declared_in_an_enclosing_class:ai(1111,1,"Private_field_0_must_be_declared_in_an_enclosing_class_1111","Private field '{0}' must be declared in an enclosing class."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:ai(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:ai(1114,1,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:ai(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:ai(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:ai(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:ai(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:ai(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:ai(1120,1,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_Use_the_syntax_0:ai(1121,1,"Octal_literals_are_not_allowed_Use_the_syntax_0_1121","Octal literals are not allowed. Use the syntax '{0}'."),Variable_declaration_list_cannot_be_empty:ai(1123,1,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:ai(1124,1,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:ai(1125,1,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:ai(1126,1,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:ai(1127,1,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:ai(1128,1,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:ai(1129,1,"Statement_expected_1129","Statement expected."),case_or_default_expected:ai(1130,1,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:ai(1131,1,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:ai(1132,1,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:ai(1134,1,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:ai(1135,1,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:ai(1136,1,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:ai(1137,1,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:ai(1138,1,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:ai(1139,1,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:ai(1140,1,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:ai(1141,1,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:ai(1142,1,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:ai(1144,1,"or_expected_1144","'{' or ';' expected."),or_JSX_element_expected:ai(1145,1,"or_JSX_element_expected_1145","'{' or JSX element expected."),Declaration_expected:ai(1146,1,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:ai(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:ai(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:ai(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."),_0_declarations_must_be_initialized:ai(1155,1,"_0_declarations_must_be_initialized_1155","'{0}' declarations must be initialized."),_0_declarations_can_only_be_declared_inside_a_block:ai(1156,1,"_0_declarations_can_only_be_declared_inside_a_block_1156","'{0}' declarations can only be declared inside a block."),Unterminated_template_literal:ai(1160,1,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:ai(1161,1,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(1172,1,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:ai(1173,1,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:ai(1174,1,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:ai(1175,1,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:ai(1176,1,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:ai(1177,1,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:ai(1178,1,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:ai(1179,1,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:ai(1180,1,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:ai(1181,1,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:ai(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:ai(1183,1,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:ai(1184,1,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:ai(1185,1,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:ai(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:ai(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:ai(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:ai(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:ai(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:ai(1191,1,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:ai(1192,1,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:ai(1193,1,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:ai(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:ai(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:ai(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:ai(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:ai(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:ai(1199,1,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(1223,1,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:ai(1224,1,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:ai(1225,1,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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."),Abstract_properties_can_only_appear_within_an_abstract_class:ai(1253,1,"Abstract_properties_can_only_appear_within_an_abstract_class_1253","Abstract properties can only appear within an abstract class."),A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(1348,1,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:ai(1349,1,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:ai(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:ai(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:ai(1352,1,"A_bigint_literal_cannot_use_exponential_notation_1352","A bigint literal cannot use exponential notation."),A_bigint_literal_must_be_an_integer:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(1364,3,"Convert_to_type_only_export_1364","Convert to type-only export"),Convert_all_re_exported_types_to_type_only_exports:ai(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:ai(1366,3,"Split_into_two_separate_import_declarations_1366","Split into two separate import declarations"),Split_all_invalid_type_only_imports:ai(1367,3,"Split_all_invalid_type_only_imports_1367","Split all invalid type-only imports"),Class_constructor_may_not_be_a_generator:ai(1368,1,"Class_constructor_may_not_be_a_generator_1368","Class constructor may not be a generator."),Did_you_mean_0:ai(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:ai(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'."),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:ai(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:ai(1376,3,"_0_was_imported_here_1376","'{0}' was imported here."),_0_was_exported_here:ai(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:ai(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:ai(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:ai(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:ai(1381,1,"Unexpected_token_Did_you_mean_or_rbrace_1381","Unexpected token. Did you mean `{'}'}` or `&rbrace;`?"),Unexpected_token_Did_you_mean_or_gt:ai(1382,1,"Unexpected_token_Did_you_mean_or_gt_1382","Unexpected token. Did you mean `{'>'}` or `&gt;`?"),Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(1392,1,"An_import_alias_cannot_use_import_type_1392","An import alias cannot use 'import type'"),Imported_via_0_from_file_1:ai(1393,3,"Imported_via_0_from_file_1_1393","Imported via {0} from file '{1}'"),Imported_via_0_from_file_1_with_packageId_2:ai(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:ai(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:ai(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:ai(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:ai(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:ai(1399,3,"File_is_included_via_import_here_1399","File is included via import here."),Referenced_via_0_from_file_1:ai(1400,3,"Referenced_via_0_from_file_1_1400","Referenced via '{0}' from file '{1}'"),File_is_included_via_reference_here:ai(1401,3,"File_is_included_via_reference_here_1401","File is included via reference here."),Type_library_referenced_via_0_from_file_1:ai(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:ai(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:ai(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:ai(1405,3,"Library_referenced_via_0_from_file_1_1405","Library referenced via '{0}' from file '{1}'"),File_is_included_via_library_reference_here:ai(1406,3,"File_is_included_via_library_reference_here_1406","File is included via library reference here."),Matched_by_include_pattern_0_in_1:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(1422,3,"Library_0_specified_in_compilerOptions_1422","Library '{0}' specified in compilerOptions"),File_is_library_specified_here:ai(1423,3,"File_is_library_specified_here_1423","File is library specified here."),Default_library:ai(1424,3,"Default_library_1424","Default library"),Default_library_for_target_0:ai(1425,3,"Default_library_for_target_0_1425","Default library for target '{0}'"),File_is_default_library_for_target_specified_here:ai(1426,3,"File_is_default_library_for_target_specified_here_1426","File is default library for target specified here."),Root_file_specified_for_compilation:ai(1427,3,"Root_file_specified_for_compilation_1427","Root file specified for compilation"),File_is_output_of_project_reference_source_0:ai(1428,3,"File_is_output_of_project_reference_source_0_1428","File is output of project reference source '{0}'"),File_redirects_to_file_0:ai(1429,3,"File_redirects_to_file_0_1429","File redirects to file '{0}'"),The_file_is_in_the_program_because_Colon:ai(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:ai(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:ai(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:ai(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:ai(1434,1,"Unexpected_keyword_or_identifier_1434","Unexpected keyword or identifier."),Unknown_keyword_or_identifier_Did_you_mean_0:ai(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:ai(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:ai(1437,1,"Namespace_must_be_given_a_name_1437","Namespace must be given a name."),Interface_must_be_given_a_name:ai(1438,1,"Interface_must_be_given_a_name_1438","Interface must be given a name."),Type_alias_must_be_given_a_name:ai(1439,1,"Type_alias_must_be_given_a_name_1439","Type alias must be given a name."),Variable_declaration_not_allowed_at_this_location:ai(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:ai(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:ai(1442,1,"Expected_for_property_initializer_1442","Expected '=' for property initializer."),Module_declaration_names_may_only_use_or_quoted_strings:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(1486,1,"Decorator_used_before_export_here_1486","Decorator used before 'export' here."),Octal_escape_sequences_are_not_allowed_Use_the_syntax_0:ai(1487,1,"Octal_escape_sequences_are_not_allowed_Use_the_syntax_0_1487","Octal escape sequences are not allowed. Use the syntax '{0}'."),Escape_sequence_0_is_not_allowed:ai(1488,1,"Escape_sequence_0_is_not_allowed_1488","Escape sequence '{0}' is not allowed."),Decimals_with_leading_zeros_are_not_allowed:ai(1489,1,"Decimals_with_leading_zeros_are_not_allowed_1489","Decimals with leading zeros are not allowed."),File_appears_to_be_binary:ai(1490,1,"File_appears_to_be_binary_1490","File appears to be binary."),_0_modifier_cannot_appear_on_a_using_declaration:ai(1491,1,"_0_modifier_cannot_appear_on_a_using_declaration_1491","'{0}' modifier cannot appear on a 'using' declaration."),_0_declarations_may_not_have_binding_patterns:ai(1492,1,"_0_declarations_may_not_have_binding_patterns_1492","'{0}' declarations may not have binding patterns."),The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration:ai(1493,1,"The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration_1493","The left-hand side of a 'for...in' statement cannot be a 'using' declaration."),The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration:ai(1494,1,"The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration_1494","The left-hand side of a 'for...in' statement cannot be an 'await using' declaration."),_0_modifier_cannot_appear_on_an_await_using_declaration:ai(1495,1,"_0_modifier_cannot_appear_on_an_await_using_declaration_1495","'{0}' modifier cannot appear on an 'await using' declaration."),The_types_of_0_are_incompatible_between_these_types:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(2211,3,"Add_extends_constraint_2211","Add `extends` constraint."),Add_extends_constraint_to_all_type_parameters:ai(2212,3,"Add_extends_constraint_to_all_type_parameters_2212","Add `extends` constraint to all type parameters"),Duplicate_identifier_0:ai(2300,1,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:ai(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:ai(2302,1,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:ai(2303,1,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:ai(2304,1,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:ai(2305,1,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:ai(2306,1,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0_or_its_corresponding_type_declarations:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(2314,1,"Generic_type_0_requires_1_type_argument_s_2314","Generic type '{0}' requires {1} type argument(s)."),Type_0_is_not_generic:ai(2315,1,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:ai(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:ai(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:ai(2318,1,"Cannot_find_global_type_0_2318","Cannot find global type '{0}'."),Named_property_0_of_types_1_and_2_are_not_identical:ai(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:ai(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:ai(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:ai(2322,1,"Type_0_is_not_assignable_to_type_1_2322","Type '{0}' is not assignable to type '{1}'."),Cannot_redeclare_exported_variable_0:ai(2323,1,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(2332,1,"this_cannot_be_referenced_in_current_location_2332","'this' cannot be referenced in current location."),this_cannot_be_referenced_in_constructor_arguments:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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}'."),Untyped_function_calls_may_not_accept_type_arguments:ai(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:ai(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:ai(2349,1,"This_expression_is_not_callable_2349","This expression is not callable."),Only_a_void_function_can_be_called_with_the_new_keyword:ai(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:ai(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:ai(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:ai(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:ai(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_undefined_void_nor_any_must_return_a_value:ai(2355,1,"A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value_2355","A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value."),An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(2372,1,"Parameter_0_cannot_reference_itself_2372","Parameter '{0}' cannot reference itself."),Parameter_0_cannot_reference_identifier_1_declared_after_it:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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."),Overload_signatures_must_all_be_exported_or_non_exported:ai(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:ai(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:ai(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:ai(2386,1,"Overload_signatures_must_all_be_optional_or_required_2386","Overload signatures must all be optional or required."),Function_overload_must_be_static:ai(2387,1,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:ai(2388,1,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:ai(2389,1,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:ai(2390,1,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:ai(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:ai(2392,1,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:ai(2393,1,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(2414,1,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:ai(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:ai(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:ai(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:ai(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:ai(2419,1,"Types_of_construct_signatures_are_incompatible_2419","Types of construct signatures are incompatible."),Class_0_incorrectly_implements_interface_1:ai(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:ai(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:ai(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:ai(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:ai(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:ai(2427,1,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:ai(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:ai(2430,1,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(2449,1,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:ai(2450,1,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:ai(2451,1,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:ai(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:ai(2454,1,"Variable_0_is_used_before_being_assigned_2454","Variable '{0}' is used before being assigned."),Type_alias_0_circularly_references_itself:ai(2456,1,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:ai(2457,1,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(2468,1,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(2503,1,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(2530,1,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:ai(2531,1,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:ai(2532,1,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(2554,1,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(2571,1,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),A_rest_element_type_must_be_an_array_type:ai(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:ai(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:ai(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:ai(2577,1,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Unused_ts_expect_error_directive:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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."),React_components_cannot_include_JSX_namespace_names:ai(2639,1,"React_components_cannot_include_JSX_namespace_names_2639","React components cannot include JSX namespace names"),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(2708,1,"Cannot_use_namespace_0_as_a_value_2708","Cannot use namespace '{0}' as a value."),Cannot_use_namespace_0_as_a_type:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(2728,3,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:ai(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:ai(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:ai(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:ai(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:ai(2733,1,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),Are_you_missing_a_semicolon:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(2750,1,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:ai(2751,1,"Circularity_originates_in_type_at_this_location_2751","Circularity originates in type at this location."),The_first_export_default_is_here:ai(2752,1,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:ai(2753,1,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:ai(2754,1,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(2769,1,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:ai(2770,1,"The_last_overload_gave_the_following_error_2770","The last overload gave the following error."),The_last_overload_is_declared_here:ai(2771,1,"The_last_overload_is_declared_here_2771","The last overload is declared here."),Overload_0_of_1_2_gave_the_following_error:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(2785,1,"This_spread_always_overwrites_this_property_2785","This spread always overwrites this property."),_0_cannot_be_used_as_a_JSX_component:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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?"),The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression:ai(2848,1,"The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression_2848","The right-hand side of an 'instanceof' expression must not be an instantiation expression."),Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1:ai(2849,1,"Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1_2849","Target signature provides too few arguments. Expected {0} or more, but got {1}."),The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_null_or_undefined:ai(2850,1,"The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_n_2850","The initializer of a 'using' declaration must be either an object with a '[Symbol.dispose]()' method, or be 'null' or 'undefined'."),The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_Symbol_dispose_method_or_be_null_or_undefined:ai(2851,1,"The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_2851","The initializer of an 'await using' declaration must be either an object with a '[Symbol.asyncDispose]()' or '[Symbol.dispose]()' method, or be 'null' or 'undefined'."),await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:ai(2852,1,"await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_2852","'await using' statements are only allowed within async functions and at the top levels of modules."),await_using_statements_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:ai(2853,1,"await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_th_2853","'await using' statements 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_await_using_statements_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:ai(2854,1,"Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_sys_2854","Top-level 'await using' statements 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."),Import_declaration_0_is_using_private_name_1:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(4109,1,"Type_arguments_for_0_circularly_reference_themselves_4109","Type arguments for '{0}' circularly reference themselves."),Tuple_type_arguments_circularly_reference_themselves:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(5012,1,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Failed_to_parse_file_0_Colon_1:ai(5014,1,"Failed_to_parse_file_0_Colon_1_5014","Failed to parse file '{0}': {1}."),Unknown_compiler_option_0:ai(5023,1,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(5072,1,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:ai(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:ai(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:ai(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:ai(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:ai(5077,1,"Unknown_build_option_0_Did_you_mean_1_5077","Unknown build option '{0}'. Did you mean '{1}'?"),Unknown_watch_option_0:ai(5078,1,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:ai(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:ai(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:ai(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:ai(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:ai(5083,1,"Cannot_read_file_0_5083","Cannot read file '{0}'."),A_tuple_member_cannot_be_both_optional_and_rest:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(5103,1,"Invalid_value_for_ignoreDeprecations_5103","Invalid value for '--ignoreDeprecations'."),Option_0_is_redundant_and_cannot_be_specified_with_option_1:ai(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:ai(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:ai(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:ai(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:ai(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."),Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1:ai(5109,1,"Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1_5109","Option 'moduleResolution' must be set to '{0}' (or left unspecified) when option 'module' is set to '{1}'."),Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1:ai(5110,1,"Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1_5110","Option 'module' must be set to '{0}' when option 'moduleResolution' is set to '{1}'."),Generates_a_sourcemap_for_each_corresponding_d_ts_file:ai(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:ai(6001,3,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:ai(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:ai(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:ai(6005,3,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:ai(6006,3,"Redirect_output_structure_to_the_directory_6006","Redirect output structure to the directory."),Do_not_erase_const_enum_declarations_in_generated_code:ai(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:ai(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:ai(6009,3,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:ai(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:ai(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:ai(6012,3,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:ai(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:ai(6014,3,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version:ai(6015,3,"Specify_ECMAScript_target_version_6015","Specify ECMAScript target version."),Specify_module_code_generation:ai(6016,3,"Specify_module_code_generation_6016","Specify module code generation."),Print_this_message:ai(6017,3,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:ai(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:ai(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:ai(6023,3,"Syntax_Colon_0_6023","Syntax: {0}"),options:ai(6024,3,"options_6024","options"),file:ai(6025,3,"file_6025","file"),Examples_Colon_0:ai(6026,3,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:ai(6027,3,"Options_Colon_6027","Options:"),Version_0:ai(6029,3,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:ai(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:ai(6031,3,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:ai(6032,3,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:ai(6034,3,"KIND_6034","KIND"),FILE:ai(6035,3,"FILE_6035","FILE"),VERSION:ai(6036,3,"VERSION_6036","VERSION"),LOCATION:ai(6037,3,"LOCATION_6037","LOCATION"),DIRECTORY:ai(6038,3,"DIRECTORY_6038","DIRECTORY"),STRATEGY:ai(6039,3,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:ai(6040,3,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Errors_Files:ai(6041,3,"Errors_Files_6041","Errors  Files"),Generates_corresponding_map_file:ai(6043,3,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:ai(6044,1,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:ai(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:ai(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:ai(6048,1,"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048","Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'."),Unable_to_open_file_0:ai(6050,1,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:ai(6051,1,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:ai(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:ai(6053,1,"File_0_not_found_6053","File '{0}' not found."),File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(6061,3,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:ai(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:ai(6065,3,"Enables_experimental_support_for_ES7_decorators_6065","Enables experimental support for ES7 decorators."),Enables_experimental_support_for_emitting_type_metadata_for_decorators:ai(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:ai(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:ai(6071,3,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(6080,3,"Specify_JSX_code_generation_6080","Specify JSX code generation."),File_0_has_an_unsupported_extension_so_skipping_it:ai(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:ai(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:ai(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:ai(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:ai(6085,3,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:ai(6086,3,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:ai(6087,3,"Explicitly_specified_module_resolution_kind_Colon_0_6087","Explicitly specified module resolution kind: '{0}'."),Module_resolution_kind_is_not_specified_using_0:ai(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:ai(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:ai(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:ai(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:ai(6092,3,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:ai(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:ai(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:ai(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:ai(6096,3,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exists_use_it_as_a_name_resolution_result:ai(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:ai(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:ai(6099,3,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(6110,3,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:ai(6111,3,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Do_not_emit_use_strict_directives_in_module_output:ai(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:ai(6113,3,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:ai(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:ai(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:ai(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:ai(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:ai(6120,3,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:ai(6121,3,"Resolving_with_primary_search_path_0_6121","Resolving with primary search path '{0}'."),Root_directory_cannot_be_determined_skipping_primary_search_paths:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(6134,3,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(6149,3,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:ai(6150,3,"Show_verbose_diagnostic_information_6150","Show verbose diagnostic information."),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(6162,3,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:ai(6163,3,"The_character_set_of_the_input_files_6163","The character set of the input files."),Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1:ai(6164,3,"Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1_6164","Skipping module '{0}' that looks like an absolute URI, target file types: {1}."),Do_not_truncate_error_messages:ai(6165,3,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:ai(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:ai(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:ai(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:ai(6169,3,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:ai(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:ai(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:ai(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:ai(6180,3,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),Scoped_package_detected_looking_in_0:ai(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:ai(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:ai(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:ai(6186,3,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:ai(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:ai(6188,1,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:ai(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:ai(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:ai(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:ai(6193,3,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:ai(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:ai(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:ai(6196,1,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",!0),Include_modules_imported_with_json_extension:ai(6197,3,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:ai(6198,1,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",!0),All_variables_are_unused:ai(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:ai(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:ai(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:ai(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:ai(6203,3,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:ai(6204,3,"and_here_6204","and here."),All_type_parameters_are_unused:ai(6205,1,"All_type_parameters_are_unused_6205","All type parameters are unused."),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(6215,3,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:ai(6216,3,"Found_1_error_6216","Found 1 error."),Found_0_errors:ai(6217,3,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:ai(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:ai(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:ai(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:ai(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:ai(6222,3,"Emit_class_fields_with_Define_instead_of_Set_6222","Emit class fields with Define instead of Set."),Generates_a_CPU_profile:ai(6223,3,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Disable_solution_searching_for_this_project:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(6235,3,"Disable_loading_referenced_projects_6235","Disable loading referenced projects."),Arguments_for_the_rest_parameter_0_were_not_provided:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(6243,3,"Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243","Interpret optional property types as written, rather than adding 'undefined'."),Modules:ai(6244,3,"Modules_6244","Modules"),File_Management:ai(6245,3,"File_Management_6245","File Management"),Emit:ai(6246,3,"Emit_6246","Emit"),JavaScript_Support:ai(6247,3,"JavaScript_Support_6247","JavaScript Support"),Type_Checking:ai(6248,3,"Type_Checking_6248","Type Checking"),Editor_Support:ai(6249,3,"Editor_Support_6249","Editor Support"),Watch_and_Build_Modes:ai(6250,3,"Watch_and_Build_Modes_6250","Watch and Build Modes"),Compiler_Diagnostics:ai(6251,3,"Compiler_Diagnostics_6251","Compiler Diagnostics"),Interop_Constraints:ai(6252,3,"Interop_Constraints_6252","Interop Constraints"),Backwards_Compatibility:ai(6253,3,"Backwards_Compatibility_6253","Backwards Compatibility"),Language_and_Environment:ai(6254,3,"Language_and_Environment_6254","Language and Environment"),Projects:ai(6255,3,"Projects_6255","Projects"),Output_Formatting:ai(6256,3,"Output_Formatting_6256","Output Formatting"),Completeness:ai(6257,3,"Completeness_6257","Completeness"),_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file:ai(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_0:ai(6259,3,"Found_1_error_in_0_6259","Found 1 error in {0}"),Found_0_errors_in_the_same_file_starting_at_Colon_1:ai(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:ai(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:ai(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:ai(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:ai(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."),Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_node_modules_folder:ai(6265,3,"Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_no_6265","Resolving type reference directive for program that specifies custom typeRoots, skipping lookup in 'node_modules' folder."),Option_0_can_only_be_specified_on_command_line:ai(6266,1,"Option_0_can_only_be_specified_on_command_line_6266","Option '{0}' can only be specified on command line."),Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(6302,3,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(6357,3,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:ai(6358,3,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:ai(6359,3,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),Project_0_is_up_to_date:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(6370,1,"Options_0_and_1_cannot_be_combined_6370","Options '{0}' and '{1}' cannot be combined."),Updating_unchanged_output_timestamps_of_project_0:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(6379,1,"Composite_projects_may_not_disable_incremental_compilation_6379","Composite projects may not disable incremental compilation."),Specify_file_to_store_incremental_compilation_information:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(6402,3,"Resolving_in_0_mode_with_conditions_1_6402","Resolving in {0} mode with conditions {1}."),Matched_0_condition_1:ai(6403,3,"Matched_0_condition_1_6403","Matched '{0}' condition '{1}'."),Using_0_subpath_1_with_target_2:ai(6404,3,"Using_0_subpath_1_with_target_2_6404","Using '{0}' subpath '{1}' with target '{2}'."),Saw_non_matching_condition_0:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(6413,3,"Entering_conditional_exports_6413","Entering conditional exports."),Resolved_under_condition_0:ai(6414,3,"Resolved_under_condition_0_6414","Resolved under condition '{0}'."),Failed_to_resolve_under_condition_0:ai(6415,3,"Failed_to_resolve_under_condition_0_6415","Failed to resolve under condition '{0}'."),Exiting_conditional_exports:ai(6416,3,"Exiting_conditional_exports_6416","Exiting conditional exports."),Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0:ai(6417,3,"Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0_6417","Searching all ancestor node_modules directories for preferred extensions: {0}."),Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0:ai(6418,3,"Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0_6418","Searching all ancestor node_modules directories for fallback extensions: {0}."),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(6602,3,"Allow_accessing_UMD_globals_from_modules_6602","Allow accessing UMD globals from modules."),Disable_error_reporting_for_unreachable_code:ai(6603,3,"Disable_error_reporting_for_unreachable_code_6603","Disable error reporting for unreachable code."),Disable_error_reporting_for_unused_labels:ai(6604,3,"Disable_error_reporting_for_unused_labels_6604","Disable error reporting for unused labels."),Ensure_use_strict_is_always_emitted:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(6614,3,"Create_sourcemaps_for_d_ts_files_6614","Create sourcemaps for d.ts files."),Output_compiler_performance_information_after_building:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(6627,3,"Filters_results_from_the_include_option_6627","Filters results from the `include` option."),Remove_a_list_of_directories_from_the_watch_process:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(6659,3,"Set_the_newline_character_for_emitting_files_6659","Set the newline character for emitting files."),Disable_emitting_files_from_a_compilation:ai(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:ai(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:ai(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:ai(6663,3,"Disable_truncating_types_in_error_messages_6663","Disable truncating types in error messages."),Enable_error_reporting_for_fallthrough_cases_in_switch_statements:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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 '<reference>'s from expanding the number of files TypeScript should add to a project."),Disable_strict_checking_of_generic_signatures_in_function_types:ai(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:ai(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:ai(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:ai(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:ai(6677,3,"Deprecated_setting_Use_outFile_instead_6677","Deprecated setting. Use 'outFile' instead."),Specify_an_output_folder_for_all_emitted_files:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(6688,3,"Disable_emitting_comments_6688","Disable emitting comments."),Enable_importing_json_files:ai(6689,3,"Enable_importing_json_files_6689","Enable importing .json files."),Specify_the_root_folder_within_your_source_files:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(6712,3,"Emit_ECMAScript_standard_compliant_class_fields_6712","Emit ECMAScript-standard-compliant class fields."),Enable_verbose_logging:ai(6713,3,"Enable_verbose_logging_6713","Enable verbose logging."),Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(6900,3,"one_of_Colon_6900","one of:"),one_or_more_Colon:ai(6901,3,"one_or_more_Colon_6901","one or more:"),type_Colon:ai(6902,3,"type_Colon_6902","type:"),default_Colon:ai(6903,3,"default_Colon_6903","default:"),module_system_or_esModuleInterop:ai(6904,3,"module_system_or_esModuleInterop_6904",'module === "system" or esModuleInterop'),false_unless_strict_is_set:ai(6905,3,"false_unless_strict_is_set_6905","`false`, unless `strict` is set"),false_unless_composite_is_set:ai(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:ai(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:ai(6908,3,"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908",'`[]` if `files` is specified, otherwise `["**/*"]`'),true_if_composite_false_otherwise:ai(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:ai(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:ai(6911,3,"Computed_from_the_list_of_input_files_6911","Computed from the list of input files"),Platform_specific:ai(6912,3,"Platform_specific_6912","Platform specific"),You_can_learn_about_all_of_the_compiler_options_at_0:ai(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:ai(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:ai(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:ai(6916,3,"COMMON_COMMANDS_6916","COMMON COMMANDS"),ALL_COMPILER_OPTIONS:ai(6917,3,"ALL_COMPILER_OPTIONS_6917","ALL COMPILER OPTIONS"),WATCH_OPTIONS:ai(6918,3,"WATCH_OPTIONS_6918","WATCH OPTIONS"),BUILD_OPTIONS:ai(6919,3,"BUILD_OPTIONS_6919","BUILD OPTIONS"),COMMON_COMPILER_OPTIONS:ai(6920,3,"COMMON_COMPILER_OPTIONS_6920","COMMON COMPILER OPTIONS"),COMMAND_LINE_FLAGS:ai(6921,3,"COMMAND_LINE_FLAGS_6921","COMMAND LINE FLAGS"),tsc_Colon_The_TypeScript_Compiler:ai(6922,3,"tsc_Colon_The_TypeScript_Compiler_6922","tsc: The TypeScript Compiler"),Compiles_the_current_project_tsconfig_json_in_the_working_directory:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(6929,3,"Compiles_the_current_project_with_additional_settings_6929","Compiles the current project, with additional settings."),true_for_ES2022_and_above_including_ESNext:ai(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:ai(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:ai(7005,1,"Variable_0_implicitly_has_an_1_type_7005","Variable '{0}' implicitly has an '{1}' type."),Parameter_0_implicitly_has_an_1_type:ai(7006,1,"Parameter_0_implicitly_has_an_1_type_7006","Parameter '{0}' implicitly has an '{1}' type."),Member_0_implicitly_has_an_1_type:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(7027,1,"Unreachable_code_detected_7027","Unreachable code detected.",!0),Unused_label:ai(7028,1,"Unused_label_7028","Unused label.",!0),Fallthrough_case_in_switch:ai(7029,1,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(8016,1,"Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016","Type assertion expressions can only be used in TypeScript files."),Signature_declarations_can_only_be_used_in_TypeScript_files:ai(8017,1,"Signature_declarations_can_only_be_used_in_TypeScript_files_8017","Signature declarations can only be used in TypeScript files."),Report_errors_in_js_files:ai(8019,3,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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'."),A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag:ai(8039,1,"A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag_8039","A JSDoc '@template' tag may not follow a '@typedef', '@callback', or '@overload' tag"),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(17014,1,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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."),JSDoc_typedef_may_be_converted_to_TypeScript_type:ai(80009,2,"JSDoc_typedef_may_be_converted_to_TypeScript_type_80009","JSDoc typedef may be converted to TypeScript type."),JSDoc_typedefs_may_be_converted_to_TypeScript_types:ai(80010,2,"JSDoc_typedefs_may_be_converted_to_TypeScript_types_80010","JSDoc typedefs may be converted to TypeScript types."),Add_missing_super_call:ai(90001,3,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:ai(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:ai(90003,3,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_unused_declaration_for_Colon_0:ai(90004,3,"Remove_unused_declaration_for_Colon_0_90004","Remove unused declaration for: '{0}'"),Remove_import_from_0:ai(90005,3,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:ai(90006,3,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:ai(90007,3,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:ai(90008,3,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_variable_statement:ai(90010,3,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:ai(90011,3,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:ai(90012,3,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_1:ai(90013,3,"Import_0_from_1_90013","Import '{0}' from \"{1}\""),Change_0_to_1:ai(90014,3,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Declare_property_0:ai(90016,3,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:ai(90017,3,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:ai(90018,3,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:ai(90019,3,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:ai(90020,3,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:ai(90021,3,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:ai(90022,3,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:ai(90023,3,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:ai(90024,3,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:ai(90025,3,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:ai(90026,3,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:ai(90027,3,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:ai(90028,3,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:ai(90029,3,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:ai(90030,3,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:ai(90031,3,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Add_parameter_name:ai(90034,3,"Add_parameter_name_90034","Add parameter name"),Declare_private_property_0:ai(90035,3,"Declare_private_property_0_90035","Declare private property '{0}'"),Replace_0_with_Promise_1:ai(90036,3,"Replace_0_with_Promise_1_90036","Replace '{0}' with 'Promise<{1}>'"),Fix_all_incorrect_return_type_of_an_async_functions:ai(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:ai(90038,3,"Declare_private_method_0_90038","Declare private method '{0}'"),Remove_unused_destructuring_declaration:ai(90039,3,"Remove_unused_destructuring_declaration_90039","Remove unused destructuring declaration"),Remove_unused_declarations_for_Colon_0:ai(90041,3,"Remove_unused_declarations_for_Colon_0_90041","Remove unused declarations for: '{0}'"),Declare_a_private_field_named_0:ai(90053,3,"Declare_a_private_field_named_0_90053","Declare a private field named '{0}'."),Includes_imports_of_types_referenced_by_0:ai(90054,3,"Includes_imports_of_types_referenced_by_0_90054","Includes imports of types referenced by '{0}'"),Remove_type_from_import_declaration_from_0:ai(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:ai(90056,3,"Remove_type_from_import_of_0_from_1_90056","Remove 'type' from import of '{0}' from \"{1}\""),Add_import_from_0:ai(90057,3,"Add_import_from_0_90057",'Add import from "{0}"'),Update_import_from_0:ai(90058,3,"Update_import_from_0_90058",'Update import from "{0}"'),Export_0_from_module_1:ai(90059,3,"Export_0_from_module_1_90059","Export '{0}' from module '{1}'"),Export_all_referenced_locals:ai(90060,3,"Export_all_referenced_locals_90060","Export all referenced locals"),Convert_function_to_an_ES2015_class:ai(95001,3,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_0_to_1_in_0:ai(95003,3,"Convert_0_to_1_in_0_95003","Convert '{0}' to '{1} in {0}'"),Extract_to_0_in_1:ai(95004,3,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:ai(95005,3,"Extract_function_95005","Extract function"),Extract_constant:ai(95006,3,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:ai(95007,3,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:ai(95008,3,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:ai(95009,3,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Infer_type_of_0_from_usage:ai(95011,3,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:ai(95012,3,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:ai(95013,3,"Convert_to_default_import_95013","Convert to default import"),Install_0:ai(95014,3,"Install_0_95014","Install '{0}'"),Replace_import_with_0:ai(95015,3,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:ai(95016,3,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES_module:ai(95017,3,"Convert_to_ES_module_95017","Convert to ES module"),Add_undefined_type_to_property_0:ai(95018,3,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:ai(95019,3,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:ai(95020,3,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Convert_all_type_literals_to_mapped_type:ai(95021,3,"Convert_all_type_literals_to_mapped_type_95021","Convert all type literals to mapped type"),Add_all_missing_members:ai(95022,3,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:ai(95023,3,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:ai(95024,3,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:ai(95025,3,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:ai(95026,3,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:ai(95027,3,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:ai(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:ai(95029,3,"Add_undefined_type_to_all_uninitialized_properties_95029","Add undefined type to all uninitialized properties"),Change_all_jsdoc_style_types_to_TypeScript:ai(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:ai(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:ai(95032,3,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:ai(95033,3,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:ai(95034,3,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:ai(95035,3,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:ai(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:ai(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:ai(95038,3,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:ai(95039,3,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:ai(95040,3,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:ai(95041,3,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:ai(95042,3,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:ai(95043,3,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:ai(95044,3,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:ai(95045,3,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:ai(95046,3,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:ai(95047,3,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:ai(95048,3,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:ai(95049,3,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:ai(95050,3,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:ai(95051,3,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:ai(95052,3,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:ai(95053,3,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:ai(95054,3,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:ai(95055,3,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:ai(95056,3,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:ai(95057,3,"Convert_named_imports_to_namespace_import_95057","Convert named imports to namespace import"),Add_or_remove_braces_in_an_arrow_function:ai(95058,3,"Add_or_remove_braces_in_an_arrow_function_95058","Add or remove braces in an arrow function"),Add_braces_to_arrow_function:ai(95059,3,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:ai(95060,3,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:ai(95061,3,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:ai(95062,3,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:ai(95063,3,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:ai(95064,3,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:ai(95065,3,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:ai(95066,3,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_missing_call_parentheses:ai(95067,3,"Add_missing_call_parentheses_95067","Add missing call parentheses"),Add_all_missing_call_parentheses:ai(95068,3,"Add_all_missing_call_parentheses_95068","Add all missing call parentheses"),Add_unknown_conversion_for_non_overlapping_types:ai(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:ai(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:ai(95071,3,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:ai(95072,3,"Add_missing_new_operator_to_all_calls_95072","Add missing 'new' operator to all calls"),Add_names_to_all_parameters_without_names:ai(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:ai(95074,3,"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074","Enable the 'experimentalDecorators' option in your configuration file"),Convert_parameters_to_destructured_object:ai(95075,3,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Extract_type:ai(95077,3,"Extract_type_95077","Extract type"),Extract_to_type_alias:ai(95078,3,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:ai(95079,3,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:ai(95080,3,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:ai(95081,3,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:ai(95082,3,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:ai(95083,3,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:ai(95084,3,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:ai(95085,3,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:ai(95086,3,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:ai(95087,3,"Remove_all_unnecessary_uses_of_await_95087","Remove all unnecessary uses of 'await'"),Enable_the_jsx_flag_in_your_configuration_file:ai(95088,3,"Enable_the_jsx_flag_in_your_configuration_file_95088","Enable the '--jsx' flag in your configuration file"),Add_await_to_initializers:ai(95089,3,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:ai(95090,3,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:ai(95091,3,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:ai(95092,3,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:ai(95093,3,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:ai(95094,3,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:ai(95095,3,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),Convert_to_template_string:ai(95096,3,"Convert_to_template_string_95096","Convert to template string"),Add_export_to_make_this_file_into_a_module:ai(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:ai(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:ai(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:ai(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:ai(95101,3,"Convert_all_invalid_characters_to_HTML_entity_code_95101","Convert all invalid characters to HTML entity code"),Convert_all_const_to_let:ai(95102,3,"Convert_all_const_to_let_95102","Convert all 'const' to 'let'"),Convert_function_expression_0_to_arrow_function:ai(95105,3,"Convert_function_expression_0_to_arrow_function_95105","Convert function expression '{0}' to arrow function"),Convert_function_declaration_0_to_arrow_function:ai(95106,3,"Convert_function_declaration_0_to_arrow_function_95106","Convert function declaration '{0}' to arrow function"),Fix_all_implicit_this_errors:ai(95107,3,"Fix_all_implicit_this_errors_95107","Fix all implicit-'this' errors"),Wrap_invalid_character_in_an_expression_container:ai(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:ai(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:ai(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:ai(95111,3,"Add_a_return_statement_95111","Add a return statement"),Remove_braces_from_arrow_function_body:ai(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:ai(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:ai(95114,3,"Add_all_missing_return_statement_95114","Add all missing return statement"),Remove_braces_from_all_arrow_function_bodies_with_relevant_issues:ai(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:ai(95116,3,"Wrap_all_object_literal_with_parentheses_95116","Wrap all object literal with parentheses"),Move_labeled_tuple_element_modifiers_to_labels:ai(95117,3,"Move_labeled_tuple_element_modifiers_to_labels_95117","Move labeled tuple element modifiers to labels"),Convert_overload_list_to_single_signature:ai(95118,3,"Convert_overload_list_to_single_signature_95118","Convert overload list to single signature"),Generate_get_and_set_accessors_for_all_overriding_properties:ai(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:ai(95120,3,"Wrap_in_JSX_fragment_95120","Wrap in JSX fragment"),Wrap_all_unparented_JSX_in_JSX_fragment:ai(95121,3,"Wrap_all_unparented_JSX_in_JSX_fragment_95121","Wrap all unparented JSX in JSX fragment"),Convert_arrow_function_or_function_expression:ai(95122,3,"Convert_arrow_function_or_function_expression_95122","Convert arrow function or function expression"),Convert_to_anonymous_function:ai(95123,3,"Convert_to_anonymous_function_95123","Convert to anonymous function"),Convert_to_named_function:ai(95124,3,"Convert_to_named_function_95124","Convert to named function"),Convert_to_arrow_function:ai(95125,3,"Convert_to_arrow_function_95125","Convert to arrow function"),Remove_parentheses:ai(95126,3,"Remove_parentheses_95126","Remove parentheses"),Could_not_find_a_containing_arrow_function:ai(95127,3,"Could_not_find_a_containing_arrow_function_95127","Could not find a containing arrow function"),Containing_function_is_not_an_arrow_function:ai(95128,3,"Containing_function_is_not_an_arrow_function_95128","Containing function is not an arrow function"),Could_not_find_export_statement:ai(95129,3,"Could_not_find_export_statement_95129","Could not find export statement"),This_file_already_has_a_default_export:ai(95130,3,"This_file_already_has_a_default_export_95130","This file already has a default export"),Could_not_find_import_clause:ai(95131,3,"Could_not_find_import_clause_95131","Could not find import clause"),Could_not_find_namespace_import_or_named_imports:ai(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:ai(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:ai(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:ai(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:ai(95136,3,"Name_is_not_valid_95136","Name is not valid"),Can_only_convert_property_with_modifier:ai(95137,3,"Can_only_convert_property_with_modifier_95137","Can only convert property with modifier"),Switch_each_misused_0_to_1:ai(95138,3,"Switch_each_misused_0_to_1_95138","Switch each misused '{0}' to '{1}'"),Convert_to_optional_chain_expression:ai(95139,3,"Convert_to_optional_chain_expression_95139","Convert to optional chain expression"),Could_not_find_convertible_access_expression:ai(95140,3,"Could_not_find_convertible_access_expression_95140","Could not find convertible access expression"),Could_not_find_matching_access_expressions:ai(95141,3,"Could_not_find_matching_access_expressions_95141","Could not find matching access expressions"),Can_only_convert_logical_AND_access_chains:ai(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:ai(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:ai(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:ai(95145,3,"Use_element_access_for_0_95145","Use element access for '{0}'"),Use_element_access_for_all_undeclared_properties:ai(95146,3,"Use_element_access_for_all_undeclared_properties_95146","Use element access for all undeclared properties."),Delete_all_unused_imports:ai(95147,3,"Delete_all_unused_imports_95147","Delete all unused imports"),Infer_function_return_type:ai(95148,3,"Infer_function_return_type_95148","Infer function return type"),Return_type_must_be_inferred_from_a_function:ai(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:ai(95150,3,"Could_not_determine_function_return_type_95150","Could not determine function return type"),Could_not_convert_to_arrow_function:ai(95151,3,"Could_not_convert_to_arrow_function_95151","Could not convert to arrow function"),Could_not_convert_to_named_function:ai(95152,3,"Could_not_convert_to_named_function_95152","Could not convert to named function"),Could_not_convert_to_anonymous_function:ai(95153,3,"Could_not_convert_to_anonymous_function_95153","Could not convert to anonymous function"),Can_only_convert_string_concatenation:ai(95154,3,"Can_only_convert_string_concatenation_95154","Can only convert string concatenation"),Selection_is_not_a_valid_statement_or_statements:ai(95155,3,"Selection_is_not_a_valid_statement_or_statements_95155","Selection is not a valid statement or statements"),Add_missing_function_declaration_0:ai(95156,3,"Add_missing_function_declaration_0_95156","Add missing function declaration '{0}'"),Add_all_missing_function_declarations:ai(95157,3,"Add_all_missing_function_declarations_95157","Add all missing function declarations"),Method_not_implemented:ai(95158,3,"Method_not_implemented_95158","Method not implemented."),Function_not_implemented:ai(95159,3,"Function_not_implemented_95159","Function not implemented."),Add_override_modifier:ai(95160,3,"Add_override_modifier_95160","Add 'override' modifier"),Remove_override_modifier:ai(95161,3,"Remove_override_modifier_95161","Remove 'override' modifier"),Add_all_missing_override_modifiers:ai(95162,3,"Add_all_missing_override_modifiers_95162","Add all missing 'override' modifiers"),Remove_all_unnecessary_override_modifiers:ai(95163,3,"Remove_all_unnecessary_override_modifiers_95163","Remove all unnecessary 'override' modifiers"),Can_only_convert_named_export:ai(95164,3,"Can_only_convert_named_export_95164","Can only convert named export"),Add_missing_properties:ai(95165,3,"Add_missing_properties_95165","Add missing properties"),Add_all_missing_properties:ai(95166,3,"Add_all_missing_properties_95166","Add all missing properties"),Add_missing_attributes:ai(95167,3,"Add_missing_attributes_95167","Add missing attributes"),Add_all_missing_attributes:ai(95168,3,"Add_all_missing_attributes_95168","Add all missing attributes"),Add_undefined_to_optional_property_type:ai(95169,3,"Add_undefined_to_optional_property_type_95169","Add 'undefined' to optional property type"),Convert_named_imports_to_default_import:ai(95170,3,"Convert_named_imports_to_default_import_95170","Convert named imports to default import"),Delete_unused_param_tag_0:ai(95171,3,"Delete_unused_param_tag_0_95171","Delete unused '@param' tag '{0}'"),Delete_all_unused_param_tags:ai(95172,3,"Delete_all_unused_param_tags_95172","Delete all unused '@param' tags"),Rename_param_tag_name_0_to_1:ai(95173,3,"Rename_param_tag_name_0_to_1_95173","Rename '@param' tag name '{0}' to '{1}'"),Use_0:ai(95174,3,"Use_0_95174","Use `{0}`."),Use_Number_isNaN_in_all_conditions:ai(95175,3,"Use_Number_isNaN_in_all_conditions_95175","Use `Number.isNaN` in all conditions."),Convert_typedef_to_TypeScript_type:ai(95176,3,"Convert_typedef_to_TypeScript_type_95176","Convert typedef to TypeScript type."),Convert_all_typedef_to_TypeScript_types:ai(95177,3,"Convert_all_typedef_to_TypeScript_types_95177","Convert all typedef to TypeScript types."),Move_to_file:ai(95178,3,"Move_to_file_95178","Move to file"),Cannot_move_to_file_selected_file_is_invalid:ai(95179,3,"Cannot_move_to_file_selected_file_is_invalid_95179","Cannot move to file, selected file is invalid"),Use_import_type:ai(95180,3,"Use_import_type_95180","Use 'import type'"),Use_type_0:ai(95181,3,"Use_type_0_95181","Use 'type {0}'"),Fix_all_with_type_only_imports:ai(95182,3,"Fix_all_with_type_only_imports_95182","Fix all with type-only imports"),Cannot_move_statements_to_the_selected_file:ai(95183,3,"Cannot_move_statements_to_the_selected_file_95183","Cannot move statements to the selected file"),Inline_variable:ai(95184,3,"Inline_variable_95184","Inline variable"),Could_not_find_variable_to_inline:ai(95185,3,"Could_not_find_variable_to_inline_95185","Could not find variable to inline."),Variables_with_multiple_declarations_cannot_be_inlined:ai(95186,3,"Variables_with_multiple_declarations_cannot_be_inlined_95186","Variables with multiple declarations cannot be inlined."),Add_missing_comma_for_object_member_completion_0:ai(95187,3,"Add_missing_comma_for_object_member_completion_0_95187","Add missing comma for object member completion '{0}'."),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(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:ai(18046,1,"_0_is_of_type_unknown_18046","'{0}' is of type 'unknown'."),_0_is_possibly_null:ai(18047,1,"_0_is_possibly_null_18047","'{0}' is possibly 'null'."),_0_is_possibly_undefined:ai(18048,1,"_0_is_possibly_undefined_18048","'{0}' is possibly 'undefined'."),_0_is_possibly_null_or_undefined:ai(18049,1,"_0_is_possibly_null_or_undefined_18049","'{0}' is possibly 'null' or 'undefined'."),The_value_0_cannot_be_used_here:ai(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:ai(18051,1,"Compiler_option_0_cannot_be_given_an_empty_string_18051","Compiler option '{0}' cannot be given an empty string."),Non_abstract_class_0_does_not_implement_all_abstract_members_of_1:ai(18052,1,"Non_abstract_class_0_does_not_implement_all_abstract_members_of_1_18052","Non-abstract class '{0}' does not implement all abstract members of '{1}'"),Its_type_0_is_not_a_valid_JSX_element_type:ai(18053,1,"Its_type_0_is_not_a_valid_JSX_element_type_18053","Its type '{0}' is not a valid JSX element type."),await_using_statements_cannot_be_used_inside_a_class_static_block:ai(18054,1,"await_using_statements_cannot_be_used_inside_a_class_static_block_18054","'await using' statements cannot be used inside a class static block.")}}});function wi(e){return 80<=e}function Ci(e){return 32===e||80<=e}function Ni(e,t){if(e<t[0])return!1;for(var r,n=0,a=t.length;n+1<a;){if(r=n+(a-n)/2,t[r-=r%2]<=e&&e<=t[1+r])return!0;e<t[r]?a=r:n=2+r}return!1}function Di(e,t){return Ni(e,2<=t?yi:1===t?ui:si)}function vA(e){return yA[e]}function Ai(e){return oi.get(e)}function Ei(e){for(var t=[],r=0,n=0;r<e.length;){var a=e.charCodeAt(r);switch(r++,a){case 13:10===e.charCodeAt(r)&&r++;case 10:t.push(n),n=r;break;default:127<a&&hA(a)&&(t.push(n),n=r)}}return t.push(n),t}function Fi(e,t,r,n){return e.getPositionOfLineAndCharacter?e.getPositionOfLineAndCharacter(t,r,n):Pi(Ii(e),t,r,e.text,n)}function Pi(e,t,r,n,a){(t<0||t>=e.length)&&(a?t=t<0?0:t>=e.length?e.length-1:t:rA.fail("Bad line number. Line: ".concat(t,", lineStarts.length: ").concat(e.length," , line map is correct? ").concat(void 0!==n?tD(e,Ei(n)):"unknown")));r=e[t]+r;return a?r>e[t+1]?e[t+1]:"string"==typeof n&&r>n.length?n.length:r:(t<e.length-1?rA.assert(r<e[t+1]):void 0!==n&&rA.assert(r<=n.length),r)}function Ii(e){return e.lineMap||(e.lineMap=Ei(e.text))}function Oi(e,t){var r=Li(e,t);return{line:r,character:t-e[r]}}function Li(e,t,r){r=AD(e,t,ir,UD,r);return r<0&&(r=~r-1,rA.assert(-1!==r,"position cannot precede the beginning of the file")),r}function Mi(e,t,r){if(t===r)return 0;var n=Ii(e),a=Math.min(t,r),e=a===r,r=e?t:r,a=Li(n,a),r=Li(n,r,a);return e?a-r:r-a}function gA(e,t){return Oi(Ii(e),t)}function Ri(e){return ji(e)||hA(e)}function ji(e){return 32===e||9===e||11===e||12===e||160===e||133===e||5760===e||8192<=e&&e<=8203||8239===e||8287===e||12288===e||65279===e}function hA(e){return 10===e||13===e||8232===e||8233===e}function Bi(e){return 48<=e&&e<=57}function Ji(e){return Bi(e)||65<=e&&e<=70||97<=e&&e<=102}function zi(e){return 48<=e&&e<=55}function Ui(e,t){var r=e.charCodeAt(t);switch(r){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 127<r}}function xA(e,t,r,n,a){if(hm(t))return t;for(var i=!1;;){var o=e.charCodeAt(t);switch(o){case 13:10===e.charCodeAt(t+1)&&t++;case 10:if(t++,r)return t;i=!!a;continue;case 9:case 11:case 12:case 32:t++;continue;case 47:if(n)break;if(47===e.charCodeAt(t+1)){for(t+=2;t<e.length&&!hA(e.charCodeAt(t));)t++;i=!1;continue}if(42!==e.charCodeAt(t+1))break;for(t+=2;t<e.length;){if(42===e.charCodeAt(t)&&47===e.charCodeAt(t+1)){t+=2;break}t++}i=!1;continue;case 60:case 124:case 61:case 62:if(Vi(e,t)){t=qi(e,t),i=!1;continue}break;case 35:if(0===t&&Wi(e,t)){t=Hi(e,t),i=!1;continue}break;case 42:if(i){t++,i=!1;continue}break;default:if(127<o&&Ri(o)){t++;continue}}return t}}function Vi(e,t){if(rA.assert(0<=t),0===t||hA(e.charCodeAt(t-1))){var r=e.charCodeAt(t);if(t+xi<e.length){for(var n=0;n<xi;n++)if(e.charCodeAt(t+n)!==r)return;return 61===r||32===e.charCodeAt(t+xi)}}}function qi(e,t,r){r&&r(mA.Merge_conflict_marker_encountered,t,xi);var n=e.charCodeAt(t),a=e.length;if(60===n||62===n)for(;t<a&&!hA(e.charCodeAt(t));)t++;else for(rA.assert(124===n||61===n);t<a;){var i=e.charCodeAt(t);if((61===i||62===i)&&i!==n&&Vi(e,t))break;t++}return t}function Wi(e,t){return rA.assert(0===t),bi.test(e)}function Hi(e,t){return t+=bi.exec(e)[0].length}function Ki(e,t,r,n,a,i,o){var s,c,u,_,l=!1,d=n,f=o;0===r&&(d=!0,(o=to(t))&&(r=o.length));e:for(;0<=r&&r<t.length;){var p=t.charCodeAt(r);switch(p){case 13:10===t.charCodeAt(r+1)&&r++;case 10:if(r++,n)break e;d=!0,l&&(_=!0);continue;case 9:case 11:case 12:case 32:r++;continue;case 47:var m=t.charCodeAt(r+1),y=!1;if(47!==m&&42!==m)break e;var v=47===m?2:3,g=r;if(r+=2,47===m)for(;r<t.length;){if(hA(t.charCodeAt(r))){y=!0;break}r++}else for(;r<t.length;){if(42===t.charCodeAt(r)&&47===t.charCodeAt(r+1)){r+=2;break}r++}if(d){if(l&&(f=a(s,c,u,_,i,f),!e&&f))return f;s=g,c=r,u=v,_=y,l=!0}continue;default:if(127<p&&Ri(p)){l&&hA(p)&&(_=!0),r++;continue}break e}}return l&&(f=a(s,c,u,_,i,f)),f}function Gi(e,t,r,n){return Ki(!1,e,t,!1,r,n)}function Xi(e,t,r,n){return Ki(!1,e,t,!0,r,n)}function Qi(e,t,r,n,a){return Ki(!0,e,t,!1,r,n,a)}function Yi(e,t,r,n,a){return Ki(!0,e,t,!0,r,n,a)}function Zi(e,t,r,n,a,i){return void 0===i&&(i=[]),i.push({kind:r,pos:e,end:t,hasTrailingNewLine:n}),i}function $i(e,t){return Qi(e,t,Zi,void 0,void 0)}function eo(e,t){return Yi(e,t,Zi,void 0,void 0)}function to(e){e=bi.exec(e);if(e)return e[0]}function ro(e,t){return 65<=e&&e<=90||97<=e&&e<=122||36===e||95===e||127<e&&Di(e,t)}function no(e,t,r){return 65<=e&&e<=90||97<=e&&e<=122||48<=e&&e<=57||36===e||95===e||1===r&&(45===e||58===e)||127<e&&Ni(e,2<=(t=t)?vi:1===t?_i:ci)}function bA(e,t,r){var n=ki(e,0);if(!ro(n,t))return!1;for(var a=io(n);a<e.length;a+=io(n))if(!no(n=ki(e,a),t,r))return!1;return!0}function ao(s,c,u,e,i,t,r){void 0===u&&(u=0);var l,d,f,p,m,y,v,g,h=e,_=0;z(h,t,r);var n={getTokenFullStart:function(){return f},getStartPos:function(){return f},getTokenEnd:function(){return l},getTextPos:function(){return l},getToken:function(){return m},getTokenStart:function(){return p},getTokenPos:function(){return p},getTokenText:function(){return h.substring(p,l)},getTokenValue:function(){return y},hasUnicodeEscape:function(){return 0!=(1024&v)},hasExtendedUnicodeEscape:function(){return 0!=(8&v)},hasPrecedingLineBreak:function(){return 0!=(1&v)},hasPrecedingJSDocComment:function(){return 0!=(2&v)},isIdentifier:function(){return 80===m||118<m},isReservedWord:function(){return 83<=m&&m<=118},isUnterminated:function(){return 0!=(4&v)},getCommentDirectives:function(){return g},getNumericLiteralFlags:function(){return 25584&v},getTokenFlags:function(){return v},reScanGreaterToken:function(){if(32===m){if(62===h.charCodeAt(l))return m=62===h.charCodeAt(l+1)?61===h.charCodeAt(l+2)?(l+=3,73):(l+=2,50):61===h.charCodeAt(l+1)?(l+=2,72):(l++,49);if(61===h.charCodeAt(l))return l++,m=34}return m},reScanAsteriskEqualsToken:function(){return rA.assert(67===m,"'reScanAsteriskEqualsToken' should only be called on a '*='"),l=p+1,m=64},reScanSlashToken:function(){if(44===m||69===m){for(var e=p+1,t=!1,r=!1;;){if(d<=e){v|=4,x(mA.Unterminated_regular_expression_literal);break}var n=h.charCodeAt(e);if(hA(n)){v|=4,x(mA.Unterminated_regular_expression_literal);break}if(t)t=!1;else{if(47===n&&!r){e++;break}91===n?r=!0:92===n?t=!0:93===n&&(r=!1)}e++}for(;e<d&&no(h.charCodeAt(e),s);)e++;l=e,y=h.substring(p,l),m=14}return m},reScanTemplateToken:function(e){return l=p,m=C(!e)},reScanTemplateHeadOrNoSubstitutionTemplate:function(){return l=p,m=C(!0)},scanJsxIdentifier:function(){if(80<=m){for(;l<d;)if(45!==h.charCodeAt(l)){var e=l;if(y+=E(),l===e)break}else y+="-",l++;return F()}return m},scanJsxAttributeValue:j,reScanJsxAttributeValue:function(){return l=p=f,j()},reScanJsxToken:function(e){void 0===e&&(e=!0);return l=p=f,m=R(e)},reScanLessThanToken:function(){return 48!==m?m:(l=p+1,m=30)},reScanHashToken:function(){return 81!==m?m:(l=p+1,m=63)},reScanQuestionToken:function(){return rA.assert(61===m,"'reScanQuestionToken' should only be called on a '??'"),l=p+1,m=58},reScanInvalidIdentifier:function(){rA.assert(0===m,"'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'."),l=p=f,v=0;var e=ki(h,l),t=L(e,99);if(t)return m=t;return l+=io(e),m},scanJsxToken:R,scanJsDocToken:B,scanJSDocCommentTextToken:function(e){if(f=p=l,v=0,d<=l)return m=1;for(var t=h.charCodeAt(l);l<d&&!hA(t)&&96!==t;t=ki(h,++l))if(!e){if(123===t)break;if(64===t&&0<=l-1&&ji(h.charCodeAt(l-1))&&!(l+1<d&&Ri(h.charCodeAt(l+1))))break}return l!==p?(y=h.substring(p,l),m=82):B()},scan:O,getText:function(){return h},clearCommentDirectives:function(){g=void 0},setText:z,setScriptTarget:function(e){s=e},setLanguageVariant:function(e){u=e},setOnError:function(e){i=e},resetTokenState:U,setTextPos:U,setInJSDocType:function(e){_+=e?1:-1},tryScan:function(e){return J(e,!1)},lookAhead:function(e){return J(e,!0)},scanRange:function(e,t,r){var n=d,a=l,i=f,o=p,s=m,c=y,u=v,_=g;z(h,e,t);r=r();return d=n,l=a,f=i,p=o,m=s,y=c,v=u,g=_,r}};return rA.isDebugging&&Object.defineProperty(n,"__debugShowCurrentPositionInText",{get:function(){var e=n.getText();return e.slice(0,n.getTokenFullStart())+"║"+e.slice(n.getTokenFullStart())}}),n;function x(e,t,r,n){var a;void 0===t&&(t=l),i&&(a=l,l=t,i(e,r||0,n),l=a)}function b(){for(var e=l,t=!1,r=!1,n="";;){var a=h.charCodeAt(l);if(95!==a){if(!Bi(a))break;r=!(t=!0),l++}else v|=512,t?(r=!(t=!1),n+=h.substring(e,l)):(v|=16384,x(r?mA.Multiple_consecutive_numeric_separators_are_not_permitted:mA.Numeric_separators_are_not_allowed_here,l,1)),e=++l}return 95===h.charCodeAt(l-1)&&(v|=16384,x(mA.Numeric_separators_are_not_allowed_here,l-1,1)),n+h.substring(e,l)}function k(){var e,t,r,n=l;if(48===h.charCodeAt(l))if(l++,95===h.charCodeAt(l))v|=16896,x(mA.Numeric_separators_are_not_allowed_here,l,1),l--,e=b();else if(function(){var e=l,t=!0;for(;Bi(h.charCodeAt(l));)zi(h.charCodeAt(l))||(t=!1),l++;return y=h.substring(e,l),t}()){if(y){y=""+parseInt(y,8),v|=32;var a=41===m,i=(a?"-":"")+"0o"+(+y).toString(8);return a&&n--,x(mA.Octal_literals_are_not_allowed_Use_the_syntax_0,n,l-n,i),9}e="0"}else v|=8192,e=""+ +y;else e=b();46===h.charCodeAt(l)&&(l++,t=b());var o=l;if(69!==h.charCodeAt(l)&&101!==h.charCodeAt(l)||(l++,v|=16,43!==h.charCodeAt(l)&&45!==h.charCodeAt(l)||l++,a=l,(i=b())?(r=h.substring(o,a)+i,o=l):x(mA.Digit_expected)),512&v?(s=e,t&&(s+="."+t),r&&(s+=r)):s=h.substring(n,o),8192&v)return x(mA.Decimals_with_leading_zeros_are_not_allowed,n,o-n),y=""+ +s,9;if(void 0!==t||16&v)return T(n,void 0===t&&!!(16&v)),y=""+ +s,9;y=s;var s=I();return T(n),s}function T(e,t){var r,n;ro(ki(h,l),s)&&(r=l,1===(n=E().length)&&"n"===h[r]?x(t?mA.A_bigint_literal_cannot_use_exponential_notation:mA.A_bigint_literal_must_be_an_integer,e,r-e+1):(x(mA.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal,r,n),l=r))}function S(e,t){return a(e,!0,t)}function a(e,t,r){for(var n=[],a=!1,i=!1;n.length<e||t;){var o=h.charCodeAt(l);if(r&&95===o)v|=512,a?i=!(a=!1):x(i?mA.Multiple_consecutive_numeric_separators_are_not_permitted:mA.Numeric_separators_are_not_allowed_here,l,1),l++;else{if(a=r,65<=o&&o<=70)o+=32;else if(!(48<=o&&o<=57||97<=o&&o<=102))break;n.push(o),l++,i=!1}}return n.length<e&&(n=[]),95===h.charCodeAt(l-1)&&x(mA.Numeric_separators_are_not_allowed_here,l-1,1),String.fromCharCode.apply(String,__spreadArray([],__read(n),!1))}function w(e){void 0===e&&(e=!1);for(var t=h.charCodeAt(l),r="",n=++l;;){if(d<=l){r+=h.substring(n,l),v|=4,x(mA.Unterminated_string_literal);break}var a=h.charCodeAt(l);if(a===t){r+=h.substring(n,l),l++;break}if(92!==a||e){if(hA(a)&&!e){r+=h.substring(n,l),v|=4,x(mA.Unterminated_string_literal);break}l++}else r+=h.substring(n,l),r+=o(!0),n=l}return r}function C(e){for(var t,r=96===h.charCodeAt(l),n=++l,a="";;){if(d<=l){a+=h.substring(n,l),v|=4,x(mA.Unterminated_template_literal),t=r?15:18;break}var i=h.charCodeAt(l);if(96===i){a+=h.substring(n,l),l++,t=r?15:18;break}if(36===i&&l+1<d&&123===h.charCodeAt(l+1)){a+=h.substring(n,l),l+=2,t=r?16:17;break}92!==i?13!==i?l++:(a+=h.substring(n,l),++l<d&&10===h.charCodeAt(l)&&l++,a+="\n",n=l):(a+=h.substring(n,l),a+=o(e),n=l)}return rA.assert(void 0!==t),y=a,t}function o(e){var t=l;if(d<=++l)return x(mA.Unexpected_end_of_text),"";var r=h.charCodeAt(l);switch(l++,r){case 48:if(d<=l||!Bi(h.charCodeAt(l)))return"\0";case 49:case 50:case 51:l<d&&zi(h.charCodeAt(l))&&l++;case 52:case 53:case 54:case 55:if(l<d&&zi(h.charCodeAt(l))&&l++,v|=2048,e){var n=parseInt(h.substring(t+1,l),8);return x(mA.Octal_escape_sequences_are_not_allowed_Use_the_syntax_0,t,l-t,"\\x"+Je(n.toString(16),2,"0")),String.fromCharCode(n)}return h.substring(t,l);case 56:case 57:return v|=2048,e?(x(mA.Escape_sequence_0_is_not_allowed,t,l-t,h.substring(t,l)),String.fromCharCode(r)):h.substring(t,l);case 98:return"\b";case 116:return"\t";case 110:return"\n";case 118:return"\v";case 102:return"\f";case 114:return"\r";case 39:return"'";case 34:return'"';case 117:if(l<d&&123===h.charCodeAt(l)){l++;n=S(1,!1),n=n?parseInt(n,16):-1;return n<0?(v|=2048,e&&x(mA.Hexadecimal_digit_expected),h.substring(t,l)):n<=1114111?d<=l?(v|=2048,e&&x(mA.Unexpected_end_of_text),h.substring(t,l)):125!==h.charCodeAt(l)?(v|=2048,e&&x(mA.Unterminated_Unicode_escape_sequence),h.substring(t,l)):(l++,v|=8,so(n)):(v|=2048,e&&x(mA.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),h.substring(t,l))}for(;l<t+6;l++)if(!(l<d&&Ji(h.charCodeAt(l))))return v|=2048,e&&x(mA.Hexadecimal_digit_expected),h.substring(t,l);return v|=1024,String.fromCharCode(parseInt(h.substring(t+2,l),16));case 120:for(;l<t+4;l++)if(!(l<d&&Ji(h.charCodeAt(l))))return v|=2048,e&&x(mA.Hexadecimal_digit_expected),h.substring(t,l);return v|=4096,String.fromCharCode(parseInt(h.substring(t+2,l),16));case 13:l<d&&10===h.charCodeAt(l)&&l++;case 10:case 8232:case 8233:return"";default:return String.fromCharCode(r)}}function N(){var e=S(1,!1),t=e?parseInt(e,16):-1,e=!1;return t<0?(x(mA.Hexadecimal_digit_expected),e=!0):1114111<t&&(x(mA.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),e=!0),d<=l?(x(mA.Unexpected_end_of_text),e=!0):125===h.charCodeAt(l)?l++:(x(mA.Unterminated_Unicode_escape_sequence),e=!0),e?"":so(t)}function D(){if(l+5<d&&117===h.charCodeAt(l+1)){var e=l;l+=2;t=(t=a(4,t=!1,t))?parseInt(t,16):-1;return l=e,t}var t;return-1}function A(){if(117!==ki(h,l+1)||123!==ki(h,l+2))return-1;var e=l;l+=3;var t=S(1,!1),t=t?parseInt(t,16):-1;return l=e,t}function E(){for(var e="",t=l;l<d;){var r=ki(h,l);if(no(r,s))l+=io(r);else{if(92!==r)break;if(0<=(r=A())&&no(r,s))l+=3,v|=8,e+=N(),t=l;else{if(!(0<=(r=D())&&no(r,s)))break;v|=1024,e+=h.substring(t,l),e+=so(r),t=l+=6}}}return e+=h.substring(t,l)}function F(){var e=y.length;if(2<=e&&e<=12){e=y.charCodeAt(0);if(97<=e&&e<=122){e=ii.get(y);if(void 0!==e)return m=e}}return m=80}function P(e){for(var t="",r=!1,n=!1;;){var a=h.charCodeAt(l);if(95!==a){if(r=!0,!Bi(a)||e<=a-48)break;t+=h[l],l++,n=!1}else v|=512,r?n=!(r=!1):x(n?mA.Multiple_consecutive_numeric_separators_are_not_permitted:mA.Numeric_separators_are_not_allowed_here,l,1),l++}return 95===h.charCodeAt(l-1)&&x(mA.Numeric_separators_are_not_allowed_here,l-1,1),t}function I(){return 110===h.charCodeAt(l)?(y+="n",384&v&&(y=AM(y)+"n"),l++,10):(y=""+(128&v?parseInt(y.slice(2),2):256&v?parseInt(y.slice(2),8):+y),9)}function O(){f=l,v=0;for(var e=!1;;){if(d<=(p=l))return m=1;var t=ki(h,l);if(0===l){if(65533===t)return x(mA.File_appears_to_be_binary),l=d,m=8;if(35===t&&Wi(h,l)){if(l=Hi(h,l),c)continue;return m=6}}switch(t){case 10:case 13:if(v|=1,c){l++;continue}return 13===t&&l+1<d&&10===h.charCodeAt(l+1)?l+=2:l++,m=4;case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8203:case 8239:case 8287:case 12288:case 65279:if(c){l++;continue}for(;l<d&&ji(h.charCodeAt(l));)l++;return m=5;case 33:return 61===h.charCodeAt(l+1)?m=61===h.charCodeAt(l+2)?(l+=3,38):(l+=2,36):(l++,m=54);case 34:case 39:return y=w(),m=11;case 96:return m=C(!1);case 37:return 61===h.charCodeAt(l+1)?(l+=2,m=70):(l++,m=45);case 38:return 38===h.charCodeAt(l+1)?m=61===h.charCodeAt(l+2)?(l+=3,77):(l+=2,56):m=61===h.charCodeAt(l+1)?(l+=2,74):(l++,51);case 40:return l++,m=21;case 41:return l++,m=22;case 42:if(61===h.charCodeAt(l+1))return l+=2,m=67;if(42===h.charCodeAt(l+1))return m=61===h.charCodeAt(l+2)?(l+=3,68):(l+=2,43);if(l++,_&&!e&&1&v){e=!0;continue}return m=42;case 43:return 43===h.charCodeAt(l+1)?(l+=2,m=46):m=61===h.charCodeAt(l+1)?(l+=2,65):(l++,40);case 44:return l++,m=28;case 45:return 45===h.charCodeAt(l+1)?(l+=2,m=47):m=61===h.charCodeAt(l+1)?(l+=2,66):(l++,41);case 46:return Bi(h.charCodeAt(l+1))?(k(),m=9):m=46===h.charCodeAt(l+1)&&46===h.charCodeAt(l+2)?(l+=3,26):(l++,25);case 47:if(47===h.charCodeAt(l+1)){for(l+=2;l<d&&!hA(h.charCodeAt(l));)l++;if(g=M(g,h.slice(p,l),gi,p),c)continue;return m=2}if(42!==h.charCodeAt(l+1))return m=61===h.charCodeAt(l+1)?(l+=2,69):(l++,44);l+=2,42===h.charCodeAt(l)&&47!==h.charCodeAt(l+1)&&(v|=2);for(var r=!1,n=p;l<d;){var a=h.charCodeAt(l);if(42===a&&47===h.charCodeAt(l+1)){l+=2,r=!0;break}l++,hA(a)&&(n=l,v|=1)}if(g=M(g,h.slice(n,l),hi,n),r||x(mA.Asterisk_Slash_expected),c)continue;return r||(v|=4),m=3;case 48:if(l+2<d&&(88===h.charCodeAt(l+1)||120===h.charCodeAt(l+1)))return l+=2,(y=S(1,!0))||(x(mA.Hexadecimal_digit_expected),y="0"),y="0x"+y,v|=64,m=I();if(l+2<d&&(66===h.charCodeAt(l+1)||98===h.charCodeAt(l+1)))return l+=2,(y=P(2))||(x(mA.Binary_digit_expected),y="0"),y="0b"+y,v|=128,m=I();if(l+2<d&&(79===h.charCodeAt(l+1)||111===h.charCodeAt(l+1)))return l+=2,(y=P(8))||(x(mA.Octal_digit_expected),y="0"),y="0o"+y,v|=256,m=I();case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return m=k();case 58:return l++,m=59;case 59:return l++,m=27;case 60:if(Vi(h,l)){if(l=qi(h,l,x),c)continue;return m=7}return 60===h.charCodeAt(l+1)?m=61===h.charCodeAt(l+2)?(l+=3,71):(l+=2,48):m=61===h.charCodeAt(l+1)?(l+=2,33):1===u&&47===h.charCodeAt(l+1)&&42!==h.charCodeAt(l+2)?(l+=2,31):(l++,30);case 61:if(Vi(h,l)){if(l=qi(h,l,x),c)continue;return m=7}return 61===h.charCodeAt(l+1)?m=61===h.charCodeAt(l+2)?(l+=3,37):(l+=2,35):m=62===h.charCodeAt(l+1)?(l+=2,39):(l++,64);case 62:if(Vi(h,l)){if(l=qi(h,l,x),c)continue;return m=7}return l++,m=32;case 63:return 46!==h.charCodeAt(l+1)||Bi(h.charCodeAt(l+2))?m=63===h.charCodeAt(l+1)?61===h.charCodeAt(l+2)?(l+=3,78):(l+=2,61):(l++,58):(l+=2,m=29);case 91:return l++,m=23;case 93:return l++,m=24;case 94:return 61===h.charCodeAt(l+1)?(l+=2,m=79):(l++,m=53);case 123:return l++,m=19;case 124:if(Vi(h,l)){if(l=qi(h,l,x),c)continue;return m=7}return 124===h.charCodeAt(l+1)?m=61===h.charCodeAt(l+2)?(l+=3,76):(l+=2,57):m=61===h.charCodeAt(l+1)?(l+=2,75):(l++,52);case 125:return l++,m=20;case 126:return l++,m=55;case 64:return l++,m=60;case 92:var i=A();if(0<=i&&ro(i,s))return l+=3,v|=8,y=N()+E(),m=F();i=D();return 0<=i&&ro(i,s)?(l+=6,v|=1024,y=String.fromCharCode(i)+E(),m=F()):(x(mA.Invalid_character),l++,m=0);case 35:if(0!==l&&"!"===h[l+1])return x(mA.can_only_be_used_at_the_start_of_a_file),l++,m=0;var o=ki(h,l+1);if(92===o){l++;i=A();if(0<=i&&ro(i,s))return l+=3,v|=8,y="#"+N()+E(),m=81;i=D();if(0<=i&&ro(i,s))return l+=6,v|=1024,y="#"+String.fromCharCode(i)+E(),m=81;l--}return ro(o,s)?(l++,L(o,s)):(y="#",x(mA.Invalid_character,l++,io(t))),m=81;default:o=L(t,s);if(o)return m=o;if(ji(t)){l+=io(t);continue}if(hA(t)){v|=1,l+=io(t);continue}o=io(t);return x(mA.Invalid_character,l,o),l+=o,m=0}}}function L(e,t){var r=e;if(ro(r,t)){for(l+=io(r);l<d&&no(r=ki(h,l),t);)l+=io(r);return y=h.substring(p,l),92===r&&(y+=E()),F()}}function M(e,t,r,n){r=function(e,t){e=t.exec(e);if(!e)return;switch(e[1]){case"ts-expect-error":return 0;case"ts-ignore":return 1}return}(V(t),r);return void 0===r?e:vD(e,{range:{pos:n,end:l},type:r})}function R(e){if(void 0===e&&(e=!0),f=p=l,d<=l)return m=1;var t=h.charCodeAt(l);if(60===t)return m=47===h.charCodeAt(l+1)?(l+=2,31):(l++,30);if(123===t)return l++,m=19;for(var r=0;l<d&&123!==(t=h.charCodeAt(l));){if(60===t){if(Vi(h,l))return l=qi(h,l,x),m=7;break}if(62===t&&x(mA.Unexpected_token_Did_you_mean_or_gt,l,1),125===t&&x(mA.Unexpected_token_Did_you_mean_or_rbrace,l,1),hA(t)&&0===r)r=-1;else{if(!e&&hA(t)&&0<r)break;Ri(t)||(r=l)}l++}return y=h.substring(f,l),-1===r?13:12}function j(){switch(f=l,h.charCodeAt(l)){case 34:case 39:return y=w(!0),m=11;default:return O()}}function B(){if(f=p=l,v=0,d<=l)return m=1;var e=ki(h,l);switch(l+=io(e),e){case 9:case 11:case 12:case 32:for(;l<d&&ji(h.charCodeAt(l));)l++;return m=5;case 64:return m=60;case 13:10===h.charCodeAt(l)&&l++;case 10:return v|=1,m=4;case 42:return m=42;case 123:return m=19;case 125:return m=20;case 91:return m=23;case 93:return m=24;case 60:return m=30;case 62:return m=32;case 61:return m=64;case 44:return m=28;case 46:return m=25;case 96:return m=62;case 35:return m=63;case 92:l--;var t=A();if(0<=t&&ro(t,s))return l+=3,v|=8,y=N()+E(),m=F();t=D();return 0<=t&&ro(t,s)?(l+=6,v|=1024,y=String.fromCharCode(t)+E(),m=F()):(l++,m=0)}if(ro(e,s)){for(var r=e;l<d&&no(r=ki(h,l),s)||45===h.charCodeAt(l);)l+=io(r);return y=h.substring(p,l),92===r&&(y+=E()),m=F()}return m=0}function J(e,t){var r=l,n=f,a=p,i=m,o=y,s=v,e=e();return e&&!t||(l=r,f=n,p=a,m=i,y=o,v=s),e}function z(e,t,r){h=e||"",d=void 0===r?h.length:t+r,U(t||0)}function U(e){rA.assert(0<=e),p=f=l=e,y=void(m=0),v=0}}function io(e){return 65536<=e?2:1}function oo(e){if(rA.assert(0<=e&&e<=1114111),e<=65535)return String.fromCharCode(e);var t=Math.floor((e-65536)/1024)+55296,e=(e-65536)%1024+56320;return String.fromCharCode(t,e)}function so(e){return Ti(e)}var co,uo,_o,lo=e({"src/compiler/scanner.ts":function(){var r;MK(),mi={abstract:128,accessor:129,any:133,as:130,asserts:131,assert:132,bigint:163,boolean:136,break:83,case:84,catch:85,class:86,continue:88,const:87,constructor:137,debugger:89,declare:138,default:90,delete:91,do:92,else:93,enum:94,export:95,extends:96,false:97,finally:98,for:99,from:161,function:100,get:139,if:101,implements:119,import:102,in:103,infer:140,instanceof:104,interface:120,intrinsic:141,is:142,keyof:143,let:121,module:144,namespace:145,never:146,new:105,null:106,number:150,object:151,package:122,private:123,protected:124,public:125,override:164,out:147,readonly:148,require:149,global:162,return:107,satisfies:152,set:153,static:126,string:154,super:108,switch:109,symbol:155,this:110,throw:111,true:112,try:113,type:156,typeof:114,undefined:157,unique:158,unknown:159,using:160,var:115,void:116,while:117,with:118,yield:127,async:134,await:135,of:165},ii=new Map(Object.entries(mi)),oi=new Map(Object.entries(__assign(__assign({},mi),{"{":19,"}":20,"(":21,")":22,"[":23,"]":24,".":25,"...":26,";":27,",":28,"<":30,">":32,"<=":33,">=":34,"==":35,"!=":36,"===":37,"!==":38,"=>":39,"+":40,"-":41,"**":43,"*":42,"/":44,"%":45,"++":46,"--":47,"<<":48,"</":31,">>":49,">>>":50,"&":51,"|":52,"^":53,"!":54,"~":55,"&&":56,"||":57,"?":58,"??":61,"?.":29,":":59,"=":64,"+=":65,"-=":66,"*=":67,"**=":68,"/=":69,"%=":70,"<<=":71,">>=":72,">>>=":73,"&=":74,"|=":75,"^=":79,"||=":76,"&&=":77,"??=":78,"@":60,"#":63,"`":62}))),si=[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],ci=[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],ui=[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],_i=[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],yi=[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],vi=[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],gi=/^\/\/\/?\s*@(ts-expect-error|ts-ignore)/,hi=/^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/,r=[],oi.forEach(function(e,t){r[e]=t}),yA=r,xi="<<<<<<<".length,bi=/^#!.*/,ki=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){var r=e.length;if(!(t<0||r<=t)){var n=e.charCodeAt(t);if(55296<=n&&n<=56319&&t+1<r){t=e.charCodeAt(t+1);if(56320<=t&&t<=57343)return 1024*(n-55296)+t-56320+65536}return n}},Ti=String.fromCodePoint?function(e){return String.fromCodePoint(e)}:oo}});function kA(e){return sA(e)||ka(e)}function fo(e){return E(e,tM)}function po(e){switch(rM(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 TA(e){return e.start+e.length}function mo(e){return 0===e.length}function SA(e,t){return t>=e.start&&t<TA(e)}function wA(e,t){return t>=e.pos&&t<=e.end}function yo(e,t){return t.start>=e.start&&TA(t)<=TA(e)}function vo(e,t){return void 0!==go(e,t)}function go(e,t){t=To(e,t);return t&&0===t.length?void 0:t}function ho(e,t){return bo(e.start,e.length,t.start,t.length)}function xo(e,t,r){return bo(e.start,e.length,t,r)}function bo(e,t,r,n){return r<=e+t&&e<=r+n}function ko(e,t){return t<=TA(e)&&t>=e.start}function To(e,t){var r=Math.max(e.start,t.start),t=Math.min(TA(e),TA(t));return r<=t?wo(r,t):void 0}function So(e,t){if(e<0)throw new Error("start < 0");if(t<0)throw new Error("length < 0");return{start:e,length:t}}function wo(e,t){return So(e,t-e)}function Co(e){return So(e.span.start,e.newLength)}function No(e){return mo(e.span)&&0===e.newLength}function Do(e,t){if(t<0)throw new Error("newLength < 0");return{span:e,newLength:t}}function Ao(e){if(0===e.length)return co;if(1===e.length)return e[0];for(var t=e[0],r=t.span.start,n=TA(t.span),a=r+t.newLength,i=1;i<e.length;i++)var o=e[i],s=n,c=a,u=o.span.start,_=TA(o.span),o=u+o.newLength,r=Math.min(r,u),n=Math.max(s,s+(_-c)),a=Math.max(o,o+(c-_));return Do(wo(r,n),a-r)}function Eo(e){if(e&&168===e.kind)for(var t=e;t;t=t.parent)if(bE(t)||NE(t)||264===t.kind)return t}function CA(e,t){return CR(e)&&_L(e,16476)&&176===t.kind}function Fo(e){return!!PE(e)&&XN(e.elements,Po)}function Po(e){return!!gj(e)||Fo(e.name)}function NA(e){for(var t=e.parent;tj(t.parent);)t=t.parent.parent;return t.parent}function Io(e,t){tj(e)&&(e=NA(e));var r=t(e);return 260===e.kind&&(e=e.parent),e&&261===e.kind&&(r|=t(e),e=e.parent),e&&243===e.kind&&(r|=t(e)),r}function DA(e){return Io(e,xL)}function Oo(e){return Io(e,Xd)}function AA(e){return Io(e,Lo)}function Lo(e){return e.flags}function Mo(e,i,t){var r,n=e.toLowerCase(),a=/^([a-z]+)([_-]([a-z]+))?$/.exec(n);function o(e,t,r){var n=dA(lA(pi(i.getExecutingFilePath())),e);if(t&&(n=n+"-"+t),n=i.resolvePath(dA(n,"diagnosticMessages.generated.json")),i.fileExists(n)){var a="";try{a=i.readFile(n)}catch(e){return void(r&&r.push(ZL(mA.Unable_to_open_file_0,n)))}try{mp(JSON.parse(a))}catch(e){return void(r&&r.push(ZL(mA.Corrupted_locale_file_0,n)))}return 1}}a?(r=a[1],a=a[3],eD(uo,n)&&!o(r,a,t)&&o(r,void 0,t),be(e)):t&&t.push(ZL(mA.Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1,"en","ja-jp"))}function EA(e,t){if(e)for(;void 0!==e.original;)e=e.original;return!e||!t||t(e)?e:void 0}function FA(e,t){for(;e;){var r=t(e);if("quit"===r)return;if(r)return e;e=e.parent}}function Ro(e){return 0==(16&e.flags)}function PA(e,t){if(void 0===e||Ro(e))return e;for(e=e.original;e;){if(Ro(e))return!t||t(e)?e:void 0;e=e.original}}function IA(e){return 2<=e.length&&95===e.charCodeAt(0)&&95===e.charCodeAt(1)?"_"+e:e}function OA(e){return 3<=e.length&&95===e.charCodeAt(0)&&95===e.charCodeAt(1)&&95===e.charCodeAt(2)?e.substr(1):e}function LA(e){return OA(e.escapedText)}function MA(e){e=Ai(e.escapedText);return e?BD(e,zl):void 0}function RA(e){return e.valueDeclaration&&yE(e.valueDeclaration)?LA(e.valueDeclaration.name):OA(e.escapedName)}function jo(e){var t=e.parent.parent;if(t){if(GE(t))return Bo(t);switch(t.kind){case 243:if(t.declarationList&&t.declarationList.declarations[0])return Bo(t.declarationList.declarations[0]);break;case 244:var r=t.expression;switch(226===r.kind&&64===r.operatorToken.kind&&(r=r.left),r.kind){case 211:return r.name;case 212:var n=r.argumentExpression;if(xR(n))return n}break;case 217:return Bo(t.expression);case 256:if(GE(t.statement)||jE(t.statement))return Bo(t.statement)}}}function Bo(e){e=JA(e);return e&&xR(e)?e:void 0}function jA(e,t){return!(!BA(e)||!xR(e.name)||LA(e.name)!==LA(t))||!(!Tj(e)||!dD(e.declarationList.declarations,function(e){return jA(e,t)}))}function Jo(e){return e.name||jo(e)}function BA(e){return!!e.name}function zo(e){switch(e.kind){case 80:return e;case 355:case 348:var t=e.name;if(166===t.kind)return t.right;break;case 213:case 226:var r=e;switch(NI(r)){case 1:case 4:case 5:case 3:return hl(r.left);case 7:case 8:case 9:return r.arguments[1];default:return}case 353:return Jo(e);case 347:return jo(e);case 277:t=e.expression;return xR(t)?t:void 0;case 212:if(AI(e))return e.argumentExpression}return e.name}function JA(e){if(void 0!==e)return zo(e)||(_j(e)||lj(e)||vj(e)?Uo(e):void 0)}function Uo(e){if(e.parent)return iB(e.parent)||tj(e.parent)?e.parent.name:mj(e.parent)&&e===e.parent.right?xR(e.parent.left)?e.parent.left:GL(e.parent.left)?hl(e.parent.left):void 0:Aj(e.parent)&&xR(e.parent.name)?e.parent.name:void 0}function zA(e){if(gL(e))return nD(e.modifiers,NR)}function UA(e){if(_L(e,126975))return nD(e.modifiers,gE)}function Vo(e,t){if(e.name){if(xR(e.name)){var r=e.name.escapedText;return _s(e.parent,t).filter(function(e){return wB(e)&&xR(e.name)&&e.name.escapedText===r})}var n=e.parent.parameters.indexOf(e);rA.assert(-1<n,"Parameters should always be in their parents' parameter list");t=_s(e.parent,t).filter(wB);if(n<t.length)return[t[n]]}return WN}function VA(e){return Vo(e,!1)}function qo(e){return Vo(e,!0)}function Wo(e,t){var r=e.name.escapedText;return _s(e.parent,t).filter(function(e){return DB(e)&&e.typeParameters.some(function(e){return e.name.escapedText===r})})}function Ho(e){return Wo(e,!1)}function Ko(e){return Wo(e,!0)}function qA(e){return!!ds(e,wB)}function Go(e){return ds(e,kB)}function Xo(e){return ZA(e,Lh)}function WA(e){return ds(e,Sh)}function Qo(e){return ds(e,wh)}function Yo(e){return ds(e,wh,!0)}function Zo(e){return ds(e,Ch)}function $o(e){return ds(e,Ch,!0)}function es(e){return ds(e,Nh)}function ts(e){return ds(e,Nh,!0)}function rs(e){return ds(e,Dh)}function ns(e){return ds(e,Dh,!0)}function as(e){return ds(e,Ah,!0)}function HA(e){return ds(e,Eh)}function is(e){return ds(e,Eh,!0)}function KA(e){return ds(e,Ph)}function GA(e){return ds(e,Ih)}function os(e){return ds(e,CB)}function ss(e){return ds(e,DB)}function cs(e){return ds(e,FB)}function XA(e){e=ds(e,NB);if(e&&e.typeExpression&&e.typeExpression.type)return e}function QA(e){var t=ds(e,NB);return!t&&CR(e)&&(t=QN(VA(e),function(e){return e.typeExpression})),t&&t.typeExpression&&t.typeExpression.type}function us(e){var t=os(e);if(t&&t.typeExpression)return t.typeExpression.type;t=XA(e);if(t&&t.typeExpression){e=t.typeExpression.type;if(VR(e)){t=QN(e.members,MR);return t&&t.type}if(JR(e)||gB(e))return e.type}}function _s(e,t){if(!HI(e))return WN;var r,n=null==(r=e.jsDoc)?void 0:r.jsDocCache;return void 0!==n&&!t||(r=Dl(e,t),rA.assert(r.length<2||r[0]!==r[1]),n=cD(r,function(e){return kh(e)?e.tags:e}),t||(null!==(t=e.jsDoc)&&void 0!==t||(e.jsDoc=[]),e.jsDoc.jsDocCache=n)),n}function YA(e){return _s(e,!1)}function ls(e){return _s(e,!0)}function ds(e,t,r){return QN(_s(e,r),t)}function ZA(e,t){return YA(e).filter(t)}function fs(e,t){return YA(e).filter(function(e){return e.kind===t})}function $A(e){return"string"==typeof e?e:null==e?void 0:e.map(function(e){return 328===e.kind?e.text:(r=331===(t=e).kind?"link":332===t.kind?"linkcode":"linkplain",n=t.name?eP(t.name):"",e=t.name&&t.text.startsWith("://")?"":" ","{@".concat(r," ").concat(n).concat(e).concat(t.text,"}"));var t,r,n}).join("")}function eE(e){if(bB(e)){if(SB(e.parent)){var t=ZI(e.parent);if(t&&HN(t.tags))return cD(t.tags,function(e){return DB(e)?e.typeParameters:void 0})}return WN}if(UI(e))return rA.assert(327===e.parent.kind),cD(e.parent.tags,function(e){return DB(e)?e.typeParameters:void 0});if(e.typeParameters)return e.typeParameters;if(Sx(e)&&e.typeParameters)return e.typeParameters;if(cI(e)){t=iL(e);if(t.length)return t;e=QA(e);if(e&&JR(e)&&e.typeParameters)return e.typeParameters}return WN}function tE(e){return e.constraint||(DB(e.parent)&&e===e.parent.typeParameters[0]?e.parent.constraint:void 0)}function ps(e){return 80===e.kind||81===e.kind}function rE(e){return 178===e.kind||177===e.kind}function ms(e){return aj(e)&&!!(64&e.flags)}function ys(e){return ij(e)&&!!(64&e.flags)}function nE(e){return oj(e)&&!!(64&e.flags)}function aE(e){var t=e.kind;return!!(64&e.flags)&&(211===t||212===t||213===t||235===t)}function iE(e){return aE(e)&&!Rg(e)&&!!e.questionDotToken}function oE(e){return iE(e.parent)&&e.parent.expression===e}function sE(e){return!aE(e.parent)||iE(e.parent)||e!==e.parent.expression}function cE(e){return 226===e.kind&&61===e.operatorToken.kind}function uE(e){return BR(e)&&xR(e.typeName)&&"const"===e.typeName.escapedText&&!e.typeArguments}function vs(e){return RB(e,8)}function gs(e){return Rg(e)&&!!(64&e.flags)}function hs(e){return 252===e.kind||251===e.kind}function xs(e){return 280===e.kind||279===e.kind}function bs(e){switch(e.kind){case 309:case 310:return!0;default:return!1}}function ks(e){return bs(e)||307===e.kind||311===e.kind}function _E(e){return 355===e.kind||348===e.kind}function Ts(e){return Ss(e.kind)}function Ss(e){return 166<=e}function ws(e){return 0<=e&&e<=165}function Cs(e){return ws(e.kind)}function Ns(e){return ma(e,"pos")&&ma(e,"end")}function Ds(e){return 9<=e&&e<=15}function lE(e){return Ds(e.kind)}function dE(e){switch(e.kind){case 210:case 209:case 14:case 218:case 231:return!0}return!1}function As(e){return 15<=e&&e<=18}function Es(e){return As(e.kind)}function Fs(e){e=e.kind;return 17===e||18===e}function fE(e){return Vj(e)||Kj(e)}function Ps(e){switch(e.kind){case 276:return e.isTypeOnly||e.parent.parent.isTypeOnly;case 274:return e.parent.isTypeOnly;case 273:case 271:return e.isTypeOnly}return!1}function Is(e){switch(e.kind){case 281:return e.isTypeOnly||e.parent.parent.isTypeOnly;case 278:return e.isTypeOnly&&!!e.moduleSpecifier&&!e.exportClause;case 280:return e.parent.isTypeOnly}return!1}function pE(e){return Ps(e)||Is(e)}function Os(e){return hR(e)||xR(e)}function Ls(e){return 11===e.kind||As(e.kind)}function mE(e){return xR(e)&&void 0!==(null==(e=e.emitNode)?void 0:e.autoGenerate)}function Ms(e){return bR(e)&&void 0!==(null==(e=e.emitNode)?void 0:e.autoGenerate)}function Rs(e){e=e.emitNode.autoGenerate.flags;return!!(32&e)&&!!(16&e)&&!!(8&e)}function yE(e){return(AR(e)||qs(e))&&bR(e.name)}function vE(e){return aj(e)&&bR(e.name)}function js(e){switch(e){case 128:case 129:case 134:case 87:case 138:case 90:case 95:case 103:case 125:case 123:case 124:case 148:case 126:case 147:case 164:return!0}return!1}function Bs(e){return!!(16476&kL(e))}function Js(e){return Bs(e)||126===e||164===e||129===e}function gE(e){return js(e.kind)}function hE(e){e=e.kind;return 166===e||80===e}function xE(e){e=e.kind;return 80===e||81===e||11===e||9===e||167===e}function zs(e){e=e.kind;return 80===e||206===e||207===e}function bE(e){return!!e&&Vs(e.kind)}function kE(e){return!!e&&(Vs(e.kind)||PR(e))}function TE(e){return e&&Us(e.kind)}function SE(e){return 112===e.kind||97===e.kind}function Us(e){switch(e){case 262:case 174:case 176:case 177:case 178:case 218:case 219:return!0;default:return!1}}function Vs(e){switch(e){case 173:case 179:case 330:case 180:case 181:case 184:case 324:case 185:return!0;default:return Us(e)}}function wE(e){return uB(e)||Rj(e)||kj(e)&&bE(e.parent)}function CE(e){e=e.kind;return 176===e||172===e||174===e||177===e||178===e||181===e||175===e||240===e}function NE(e){return e&&(263===e.kind||231===e.kind)}function DE(e){return e&&(177===e.kind||178===e.kind)}function AE(e){return AR(e)&&yL(e)}function qs(e){switch(e.kind){case 174:case 177:case 178:return!0;default:return!1}}function Ws(e){switch(e.kind){case 174:case 177:case 178:case 172:return!0;default:return!1}}function Hs(e){return gE(e)||NR(e)}function Ks(e){e=e.kind;return 180===e||179===e||171===e||173===e||181===e||177===e||178===e}function Gs(e){return Ks(e)||CE(e)}function EE(e){e=e.kind;return 303===e||304===e||305===e||174===e||177===e||178===e}function FE(e){return KL(e.kind)}function Xs(e){switch(e.kind){case 184:case 185:return!0}return!1}function PE(e){if(e){e=e.kind;return 207===e||206===e}return!1}function IE(e){e=e.kind;return 209===e||210===e}function Qs(e){e=e.kind;return 208===e||232===e}function Ys(e){switch(e.kind){case 260:case 169:case 208:return!0}return!1}function Zs(e){return Aj(e)||CR(e)||tc(e)||nc(e)}function $s(e){return ec(e)||rc(e)}function ec(e){switch(e.kind){case 206:case 210:return!0}return!1}function tc(e){switch(e.kind){case 208:case 303:case 304:case 305:return!0}return!1}function rc(e){switch(e.kind){case 207:case 209:return!0}return!1}function nc(e){switch(e.kind){case 208:case 232:case 230:case 209:case 210:case 80:case 211:case 212:return!0}return NL(e,!0)}function OE(e){e=e.kind;return 211===e||166===e||205===e}function ac(e){e=e.kind;return 211===e||166===e}function LE(e){switch(e.kind){case 286:case 285:case 213:case 214:case 215:case 170:return!0;default:return!1}}function ME(e){return 213===e.kind||214===e.kind}function ic(e){e=e.kind;return 228===e||15===e}function RE(e){return oc(vs(e).kind)}function oc(e){switch(e){case 211:case 212:case 214:case 213:case 284:case 285:case 288:case 215:case 209:case 217:case 210:case 231:case 218:case 80:case 81:case 14:case 9:case 10:case 11:case 15:case 228:case 97:case 106:case 110:case 112:case 108:case 235:case 233:case 236:case 102:case 282:return!0;default:return!1}}function sc(e){return cc(vs(e).kind)}function cc(e){switch(e){case 224:case 225:case 220:case 221:case 222:case 223:case 216:return!0;default:return oc(e)}}function uc(e){switch(e.kind){case 225:return!0;case 224:return 46===e.operator||47===e.operator;default:return!1}}function _c(e){switch(e.kind){case 106:case 112:case 97:case 224:return!0;default:return lE(e)}}function jE(e){return function(e){switch(e){case 227:case 229:case 219:case 226:case 230:case 234:case 232:case 361:case 360:case 238:return!0;default:return cc(e)}}(vs(e).kind)}function BE(e){e=e.kind;return 216===e||234===e}function lc(e){return sh(e)||Bg(e)}function JE(e,t){switch(e.kind){case 248:case 249:case 250:case 246:case 247:return!0;case 256:return t&&JE(e.statement,t)}return!1}function dc(e){return qj(e)||Wj(e)}function zE(e){return dD(e,dc)}function UE(e){return!(A_(e)||qj(e)||_L(e,1)||RF(e))}function VE(e){return A_(e)||qj(e)||_L(e,1)}function qE(e){return 249===e.kind||250===e.kind}function fc(e){return kj(e)||jE(e)}function pc(e){return kj(e)}function mc(e){return Ej(e)||jE(e)}function yc(e){e=e.kind;return 268===e||267===e||80===e}function vc(e){e=e.kind;return 268===e||267===e}function gc(e){e=e.kind;return 80===e||267===e}function hc(e){e=e.kind;return 275===e||274===e}function WE(e){return 267===e.kind||266===e.kind}function HE(e){switch(e.kind){case 219:case 226:case 208:case 213:case 179:case 263:case 231:case 175:case 176:case 185:case 180:case 212:case 266:case 306:case 277:case 278:case 281:case 262:case 218:case 184:case 177:case 80:case 273:case 271:case 276:case 181:case 264:case 345:case 347:case 324:case 348:case 355:case 330:case 353:case 329:case 291:case 292:case 293:case 200:case 174:case 173:case 267:case 202:case 280:case 270:case 274:case 214:case 15:case 9:case 210:case 169:case 211:case 303:case 172:case 171:case 178:case 304:case 312:case 305:case 11:case 265:case 187:case 168:case 260:return!0;default:return!1}}function KE(e){switch(e.kind){case 219:case 241:case 179:case 269:case 299:case 175:case 194:case 176:case 185:case 180:case 248:case 249:case 250:case 262:case 218:case 184:case 177:case 181:case 345:case 347:case 324:case 330:case 353:case 200:case 174:case 173:case 267:case 178:case 312:case 265:return!0;default:return!1}}function xc(e){return 262===e||282===e||263===e||264===e||265===e||266===e||267===e||272===e||271===e||278===e||277===e||270===e}function bc(e){return 252===e||251===e||259===e||246===e||244===e||242===e||249===e||250===e||248===e||245===e||256===e||253===e||255===e||257===e||258===e||243===e||247===e||254===e||359===e}function GE(e){return 168===e.kind?e.parent&&352!==e.parent.kind||cI(e):219===(e=e.kind)||208===e||263===e||231===e||175===e||176===e||266===e||306===e||281===e||262===e||218===e||177===e||273===e||271===e||276===e||264===e||291===e||174===e||173===e||267===e||270===e||274===e||280===e||169===e||303===e||172===e||171===e||178===e||304===e||265===e||168===e||260===e||353===e||345===e||355===e}function kc(e){return xc(e.kind)}function Tc(e){return bc(e.kind)}function XE(e){var t=e.kind;return bc(t)||xc(t)||function(e){if(241!==e.kind)return!1;if(void 0!==e.parent&&(258===e.parent.kind||299===e.parent.kind))return!1;return!X_(e)}(e)}function Sc(e){e=e.kind;return bc(e)||xc(e)||241===e}function wc(e){e=e.kind;return 283===e||166===e||80===e}function Cc(e){e=e.kind;return 110===e||80===e||211===e||295===e}function Nc(e){e=e.kind;return 284===e||294===e||285===e||12===e||288===e}function QE(e){e=e.kind;return 291===e||293===e}function Dc(e){e=e.kind;return 11===e||294===e}function YE(e){e=e.kind;return 286===e||285===e}function Ac(e){e=e.kind;return 296===e||297===e}function ZE(e){return 316<=e.kind&&e.kind<=357}function Ec(e){return 327===e.kind||326===e.kind||328===e.kind||sF(e)||Fc(e)||xB(e)||bB(e)}function Fc(e){return 334<=e.kind&&e.kind<=357}function $E(e){return 178===e.kind}function eF(e){return 177===e.kind}function tF(e){if(!HI(e))return!1;e=e.jsDoc;return!!e&&0<e.length}function rF(e){return!!e.type}function nF(e){return!!e.initializer}function aF(e){switch(e.kind){case 260:case 169:case 208:case 172:case 303:case 306:return!0;default:return!1}}function Pc(e){return 291===e.kind||293===e.kind||EE(e)}function iF(e){return 183===e.kind||233===e.kind}function Ic(e){var t,r,n=_o;try{for(var a=__values(e),i=a.next();!i.done;i=a.next()){var o=i.value;if(o.length){for(var s=0;s<o.length&&s<n&&Ri(o.charCodeAt(s));s++);if(s<n&&(n=s),0===n)return 0}}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n===_o?void 0:n}function oF(e){return 11===e.kind||15===e.kind}function sF(e){return 331===e.kind||332===e.kind||333===e.kind}function cF(e){e=CD(e.parameters);return!!e&&uF(e)}function uF(e){var t=wB(e)?e.typeExpression&&e.typeExpression.type:e.type;return void 0!==e.dotDotDotToken||!!t&&325===t.kind}var _F,lF,dF,fF,Oc,Lc,Mc,Rc,jc,Bc,Jc,zc,Uc,Vc,qc,Wc,Hc,Kc,Gc,Xc,Qc,Yc,Zc,$c,eu,tu,ru,nu,au,pF,iu,ou,su,cu,uu,_u,lu,du,fu,pu,mu,yu,vu,gu,hu,xu,bu,ku,Tu,Su,wu,Cu,Nu,Du,Au=e({"src/compiler/utilitiesPublic.ts":function(){MK(),co=Do(So(0,0),0),uo=["cs","de","es","fr","it","ja","ko","pl","pt-br","ru","tr","zh-cn","zh-tw"],_o=1073741823}});function mF(e,t){var r,n,a=e.declarations;if(a)try{for(var i=__values(a),o=i.next();!o.done;o=i.next()){var s=o.value;if(s.kind===t)return s}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function yF(e,t){return nD(e.declarations||WN,function(e){return e.kind===t})}function vF(e){var t,r,n=new Map;if(e)try{for(var a=__values(e),i=a.next();!i.done;i=a.next()){var o=i.value;n.set(o.escapedName,o)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n}function gF(e){return 0!=(33554432&e.flags)}function Eu(){function r(e){return t+=e}var t="";return{getText:function(){return t},write:r,rawWrite:r,writeKeyword:r,writeOperator:r,writePunctuation:r,writeSpace:r,writeStringLiteral:r,writeLiteral:r,writeParameter:r,writeProperty:r,writeSymbol:function(e,t){return r(e)},writeTrailingSemicolon:r,writeComment:r,getTextPos:function(){return t.length},getLine:function(){return 0},getColumn:function(){return 0},getIndent:function(){return 0},isAtStartOfLine:function(){return!1},hasTrailingComment:function(){return!1},hasTrailingWhitespace:function(){return!!t.length&&Ri(t.charCodeAt(t.length-1))},writeLine:function(){return t+=" "},increaseIndent:fi,decreaseIndent:fi,clear:function(){return t=""}}}function Fu(e,t){return e.configFilePath!==t.configFilePath||Pu(e,t)}function Pu(e,t){return Ou(e,t,rk)}function Iu(e,t){return Ou(e,t,ak)}function Ou(t,r,e){return t!==r&&e.some(function(e){return!wm(zp(t,e),zp(r,e))})}function Lu(e,t){for(;;){var r=t(e);if("quit"===r)return;if(void 0!==r)return r;if(uB(e))return;e=e.parent}}function hF(e,t){var r,n,a=e.entries();try{for(var i=__values(a),o=i.next();!o.done;o=i.next()){var s=__read(o.value,2),c=s[0],c=t(s[1],c);if(c)return c}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function xF(e,t){var r,n,a=e.keys();try{for(var i=__values(a),o=i.next();!o.done;o=i.next()){var s=t(o.value);if(s)return s}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function bF(e,r){e.forEach(function(e,t){r.set(t,e)})}function kF(e){var t=Oc.getText();try{return e(Oc),Oc.getText()}finally{Oc.clear(),Oc.writeKeyword(t)}}function Mu(e){return e.end-e.pos}function TF(e,t,r){return null==(r=null==(e=null==e?void 0:e.resolvedModules)?void 0:e.get(t,r))?void 0:r.resolvedModule}function Ru(e,t,r,n){e.resolvedModules||(e.resolvedModules=AS()),e.resolvedModules.set(t,n,r)}function ju(e,t,r,n){e.resolvedTypeReferenceDirectiveNames||(e.resolvedTypeReferenceDirectiveNames=AS()),e.resolvedTypeReferenceDirectiveNames.set(t,n,r)}function Bu(e,t,r){return null==(r=null==(e=null==e?void 0:e.resolvedTypeReferenceDirectiveNames)?void 0:e.get(t,r))?void 0:r.resolvedTypeReferenceDirective}function Ju(e,t){return e.path===t.path&&!e.prepend==!t.prepend&&!e.circular==!t.circular}function zu(e,t){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&&(r=e.resolvedModule.packageId,n=t.resolvedModule.packageId,r===n||!!r&&!!n&&r.name===n.name&&r.subModuleName===n.subModuleName&&r.version===n.version)&&e.node10Result===t.node10Result;var r,n}function SF(e,t,r,n,a){e=null==(e=null==(e=e.resolvedModules)?void 0:e.get(r,n))?void 0:e.node10Result,t=e?$L(void 0,mA.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,-1<e.indexOf(ZT+"@types/")?"@types/".concat(Dw(a)):a):t.typesPackageExists(a)?$L(void 0,mA.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,a,Dw(a)):t.packageBundlesTypes(a)?$L(void 0,mA.If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1,a,r):$L(void 0,mA.Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,r,Dw(a));return t&&(t.repopulateInfo=function(){return{moduleReference:r,mode:n,packageName:a===r?void 0:a}}),t}function Uu(e){var t=e.name,e=e.subModuleName;return e?"".concat(t,"/").concat(e):t}function Vu(e){return"".concat(Uu(e),"@").concat(e.version)}function qu(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 Wu(e,t,r,n,a,i){rA.assert(e.length===r.length);for(var o=0;o<e.length;o++){var s=r[o],c=e[o],u=i.getName(c),c=i.getMode(c,t),c=n&&n.get(u,c);if(c?!s||!a(c,s):s)return!0}return!1}function wF(e){var t;return 2097152&(t=e).flags||(0==(262144&t.flags)&&!HB(t,wF)||(t.flags|=1048576),t.flags|=2097152),0!=(1048576&e.flags)}function CF(e){for(;e&&312!==e.kind;)e=e.parent;return e}function NF(e){return CF(e.valueDeclaration||VF(e))}function DF(e,t){return!(!e||1!==e.scriptKind&&2!==e.scriptKind||e.checkJsDirective||void 0!==t)}function AF(e){switch(e.kind){case 241:case 269:case 248:case 249:case 250:return!0}return!1}function Hu(e,t){return rA.assert(0<=e),Ii(t)[e]}function Ku(e){var t=CF(e),e=gA(t,e.pos);return"".concat(t.fileName,"(").concat(e.line+1,",").concat(e.character+1,")")}function Gu(e,t){rA.assert(0<=e);var r=Ii(t),n=t.text;if(e+1===r.length)return n.length-1;var a=r[e],i=r[e+1]-1;for(rA.assert(hA(n.charCodeAt(i)));a<=i&&hA(n.charCodeAt(i));)i--;return i}function Xu(e,t,r){return!(r&&r(t)||e.identifiers.has(t))}function EF(e){return void 0===e||e.pos===e.end&&0<=e.pos&&1!==e.kind}function FF(e){return!EF(e)}function Qu(e,t){return wR(e)?t===e.expression:PR(e)?t===e.modifiers:DR(e)?t===e.initializer:AR(e)?t===e.questionToken&&AE(e):iB(e)?t===e.modifiers||t===e.questionToken||t===e.exclamationToken||Yu(e.modifiers,t,Hs):oB(e)?t===e.equalsToken||t===e.modifiers||t===e.questionToken||t===e.exclamationToken||Yu(e.modifiers,t,Hs):FR(e)?t===e.exclamationToken:IR(e)?t===e.typeParameters||t===e.type||Yu(e.typeParameters,t,wR):OR(e)?t===e.typeParameters||Yu(e.typeParameters,t,wR):LR(e)?t===e.typeParameters||t===e.type||Yu(e.typeParameters,t,wR):!!jj(e)&&(t===e.modifiers||Yu(e.modifiers,t,Hs))}function Yu(e,t,r){return!(!e||RD(t)||!r(t))&&eD(e,t)}function Zu(e,t,r){if(void 0===t||0===t.length)return e;for(var n=0;n<e.length&&r(e[n]);++n);return e.splice.apply(e,__spreadArray([n,0],__read(t),!1)),e}function $u(e,t,r){if(void 0===t)return e;for(var n=0;n<e.length&&r(e[n]);++n);return e.splice(n,0,t),e}function e_(e){return J_(e)||!!(2097152&p_(e))}function t_(e,t){return Zu(e,t,J_)}function r_(e,t){return Zu(e,t,e_)}function n_(e,t){return $u(e,t,J_)}function a_(e,t){return $u(e,t,e_)}function i_(e,t,r){if(47===e.charCodeAt(t+1)&&t+2<r&&47===e.charCodeAt(t+2)){r=e.substring(t,r);return!!(Mc.test(r)||Bc.test(r)||Jc.test(r)||Rc.test(r)||jc.test(r)||zc.test(r))}return!1}function o_(e,t){return 42===e.charCodeAt(t+1)&&33===e.charCodeAt(t+2)}function s_(t,e){var r=new Map(e.map(function(e){return["".concat(gA(t,e.range.end).line),e]})),n=new Map;return{getUnusedExpectations:function(){return PD(r.entries()).filter(function(e){var t=__read(e,2),e=t[0];return 0===t[1].type&&!n.get(e)}).map(function(e){e=__read(e,2),e[0];return e[1]})},markUsed:function(e){return!!r.has("".concat(e))&&(n.set("".concat(e),!0),!0)}}}function c_(e,t,r){return EF(e)?e.pos:ZE(e)||12===e.kind?xA((t||CF(e)).text,e.pos,!1,!0):r&&tF(e)?c_(e.jsDoc[0],t):358===e.kind&&0<e._children.length?c_(e._children[0],t,r):xA((t||CF(e)).text,e.pos,!1,!1,_I(e))}function u_(e,t){var r=!EF(e)&&VB(e)?YN(e.modifiers,NR):void 0;return r?xA((t||CF(e)).text,r.end):c_(e,t)}function __(e,t,r){return void 0===r&&(r=!1),d_(e.text,t,r)}function l_(e){return!!(Wj(e)&&e.exportClause&&Uj(e.exportClause)&&"default"===e.exportClause.name.escapedText)}function d_(e,t,r){if(void 0===r&&(r=!1),EF(t))return"";e=e.substring(r?t.pos:xA(e,t.pos),t.end);return FA(t,_B)&&(e=e.split(/\r\n|\n|\r/).map(function(e){return V(e.replace(/^\s*\*/,""))}).join("\n")),e}function PF(e,t){return void 0===t&&(t=!1),__(CF(e),e,t)}function f_(e){return e.pos}function IF(e,t){return AD(e,t,f_,UD)}function p_(e){e=e.emitNode;return e&&e.flags||0}function m_(e){e=e.emitNode;return e&&e.internalFlags||0}function OF(){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:WN})),AsyncIterator:new Map(Object.entries({es2015:WN})),Atomics:new Map(Object.entries({es2017:WN})),SharedArrayBuffer:new Map(Object.entries({es2017:WN})),AsyncIterable:new Map(Object.entries({es2018:WN})),AsyncIterableIterator:new Map(Object.entries({es2018:WN})),AsyncGenerator:new Map(Object.entries({es2018:WN})),AsyncGeneratorFunction:new Map(Object.entries({es2018:WN})),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:WN,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:WN})),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:WN,es2022:["at"],es2023:["findLastIndex","findLast"]})),BigUint64Array:new Map(Object.entries({es2020:WN,es2022:["at"],es2023:["findLastIndex","findLast"]})),Error:new Map(Object.entries({es2022:["cause"]}))}))}function y_(e,t,r){var n;if(t&&function(e,t){if(jO(e)||!e.parent||4&t&&e.isUnterminated)return!1;if(gR(e)){if(26656&e.numericLiteralFlags)return!1;if(512&e.numericLiteralFlags)return!!(8&t)}return!Vv(e)}(e,r))return __(t,e);switch(e.kind){case 11:var a=2&r?md:1&r||16777216&p_(e)?zO:fd;return e.singleQuote?"'"+a(e.text,39)+"'":'"'+a(e.text,34)+'"';case 15:case 16:case 17:case 18:var a=1&r||16777216&p_(e)?zO:fd,i=null!==(n=e.rawText)&&void 0!==n?n:a(e.text,96).replace(Hc,"\\${");switch(e.kind){case 15:return"`"+i+"`";case 16:return"`"+i+"${";case 17:return"}"+i+"${";case 18:return"}"+i+"`"}break;case 9:case 10:return e.text;case 14:return 4&r&&e.isUnterminated?e.text+(92===e.text.charCodeAt(e.text.length-1)?" /":"/"):e.text}return rA.fail("Literal kind '".concat(e.kind,"' not accounted for."))}function v_(e){return jD(e)?'"'+fd(e)+'"':""+e}function g_(e){return Ea(e).replace(/^(\d)/,"_$1").replace(/\W/g,"_")}function LF(e){return 0!=(7&AA(e))||MF(e)}function MF(e){e=MO(e);return 260===e.kind&&299===e.parent.kind}function RF(e){return Mj(e)&&(11===e.name.kind||zF(e))}function jF(e){return Mj(e)&&11===e.name.kind}function h_(e){return Mj(e)&&hR(e.name)}function x_(e){return Mj(e)||xR(e)}function BF(e){return!!(e=e.valueDeclaration)&&267===e.kind&&!e.body}function JF(e){return 312===e.kind||267===e.kind||kE(e)}function zF(e){return!!(2048&e.flags)}function UF(e){return RF(e)&&b_(e)}function b_(e){switch(e.parent.kind){case 312:return XB(e.parent);case 268:return RF(e.parent.parent)&&uB(e.parent.parent.parent)&&!XB(e.parent.parent.parent)}return!1}function VF(e){return null==(e=e.declarations)?void 0:e.find(function(e){return!(UF(e)||Mj(e)&&zF(e))})}function qF(e,t){return XB(e)||(1===(t=nM(t))||100===t||199===t)&&!!e.commonJsModuleIndicator}function k_(e,t){switch(e.scriptKind){case 1:case 3:case 2:case 4:break;default:return!1}return!e.isDeclarationFile&&(!!pM(t,"alwaysStrict")||(!!nx(e.statements)||!(!XB(e)&&!sM(t))&&(5<=nM(t)||!t.noImplicitUseStrict)))}function T_(e){return!!(33554432&e.flags)||_L(e,2)}function S_(e,t){switch(e.kind){case 312:case 269:case 299:case 267:case 248:case 249:case 250:case 176:case 174:case 177:case 178:case 262:case 218:case 219:case 172:case 175:return!0;case 241:return!kE(t)}return!1}function w_(e){switch(rA.type(e),e.kind){case 345:case 353:case 330:return!0;default:return C_(e)}}function C_(e){switch(rA.type(e),e.kind){case 179:case 180:case 173:case 181:case 184:case 185:case 324:case 263:case 231:case 264:case 265:case 352:case 262:case 174:case 176:case 177:case 178:case 218:case 219:return!0;default:return!1}}function N_(e){switch(e.kind){case 272:case 271:return!0;default:return!1}}function D_(e){return N_(e)||fI(e)}function WF(e){switch(e.kind){case 272:case 271:case 243:case 263:case 262:case 267:case 265:case 264:case 266:return!0;default:return!1}}function HF(e){return A_(e)||Mj(e)||ZR(e)||mP(e)}function A_(e){return N_(e)||Wj(e)}function KF(e){return FA(e.parent,function(e){return!!(1&Kw(e))})}function GF(e){return FA(e.parent,function(e){return S_(e,e.parent)})}function XF(e,t){for(var r=GF(e);r;)t(r),r=GF(r)}function QF(e){return e&&0!==Mu(e)?PF(e):"(Missing)"}function YF(e){return e.declaration?QF(e.declaration.parameters[0].name):void 0}function ZF(e){return 167===e.kind&&!SO(e.expression)}function E_(e){var t;switch(e.kind){case 80:case 81:return null!=(t=e.emitNode)&&t.autoGenerate?void 0:e.escapedText;case 11:case 9:case 15:return IA(e.text);case 167:return SO(e.expression)?IA(e.expression.text):void 0;case 295:return iR(e);default:return rA.assertNever(e)}}function $F(e){return rA.checkDefined(E_(e))}function eP(e){switch(e.kind){case 110:return"this";case 81:case 80:return(0===Mu(e)?LA:PF)(e);case 166:return eP(e.left)+"."+eP(e.right);case 211:return xR(e.name)||bR(e.name)?eP(e.expression)+"."+eP(e.name):rA.assertNever(e.name);case 318:return eP(e.left)+eP(e.right);case 295:return eP(e.namespace)+":"+eP(e.name);default:return rA.assertNever(e)}}function tP(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=CF(e);return F_.apply(void 0,__spreadArray([a,e,t],__read(r),!1))}function rP(e,t,r){for(var n=[],a=3;a<arguments.length;a++)n[a-3]=arguments[a];var i=xA(e.text,t.pos);return QL.apply(void 0,__spreadArray([e,i,t.end-i,r],__read(n),!1))}function F_(e,t,r){for(var n=[],a=3;a<arguments.length;a++)n[a-3]=arguments[a];t=uP(e,t);return QL.apply(void 0,__spreadArray([e,t.start,t.length,r],__read(n),!1))}function nP(e,t,r,n){t=uP(e,t);return I_(e,t.start,t.length,r,n)}function aP(e,t,r,n){var a=xA(e.text,t.pos);return I_(e,a,t.end-a,r,n)}function P_(e,t,r){rA.assertGreaterThanOrEqual(t,0),rA.assertGreaterThanOrEqual(r,0),e&&(rA.assertLessThanOrEqual(t,e.text.length),rA.assertLessThanOrEqual(t+r,e.text.length))}function I_(e,t,r,n,a){return P_(e,t,r),{file:e,start:t,length:r,code:n.code,category:n.category,messageText:n.next?n:n.messageText,relatedInformation:a}}function iP(e,t,r){return{file:e,start:0,length:0,code:t.code,category:t.category,messageText:t.next?t:t.messageText,relatedInformation:r}}function oP(e){return"string"==typeof e.messageText?{code:e.code,category:e.category,messageText:e.messageText,next:e.next}:e.messageText}function O_(e,t,r){return{file:e,start:t.pos,length:t.end-t.pos,code:r.code,category:r.category,messageText:r.message}}function sP(e,t){t=ao(e.languageVersion,!0,e.languageVariant,e.text,void 0,t);return t.scan(),wo(t.getTokenStart(),t.getTokenEnd())}function cP(e,t){t=ao(e.languageVersion,!0,e.languageVariant,e.text,void 0,t);return t.scan(),t.getToken()}function uP(e,t){var r,n=t;switch(t.kind){case 312:return(r=xA(e.text,0,!1))===e.text.length?So(0,0):sP(e,r);case 260:case 208:case 263:case 231:case 264:case 267:case 266:case 306:case 262:case 218:case 174:case 177:case 178:case 265:case 172:case 171:case 274:n=t.name;break;case 219:return function(e,t){var r=xA(e.text,t.pos);if(t.body&&241===t.body.kind){var n=gA(e,t.body.pos).line;if(n<gA(e,t.body.end).line)return So(r,Gu(n,e)-r+1)}return wo(r,t.end)}(e,t);case 296:case 297:return wo(xA(e.text,t.pos),0<t.statements.length?t.statements[0].pos:t.end);case 253:case 229:return sP(e,r=xA(e.text,t.pos));case 238:return sP(e,r=xA(e.text,t.expression.end));case 357:return sP(e,r=xA(e.text,t.tagName.pos))}if(void 0===n)return sP(e,t.pos);rA.assert(!kh(n));var a=EF(n),i=a||qv(t)?n.pos:xA(e.text,n.pos);return a?(rA.assert(i===n.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),rA.assert(i===n.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")):(rA.assert(i>=n.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),rA.assert(i<=n.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")),wo(i,n.end)}function _P(e){return void 0!==(e.externalModuleIndicator||e.commonJsModuleIndicator)}function lP(e){return 6===e.scriptKind}function dP(e){return!!(2048&DA(e))}function fP(e){return!(!(64&DA(e))||CA(e,e.parent))}function L_(e){return 6==(7&AA(e))}function M_(e){return 4==(7&AA(e))}function R_(e){return 2==(7&AA(e))}function j_(e){return 1==(7&AA(e))}function pP(e){return 213===e.kind&&108===e.expression.kind}function mP(e){return 213===e.kind&&102===e.expression.kind}function B_(e){return xj(e)&&102===e.keywordToken&&"meta"===e.name.escapedText}function yP(e){return ZR(e)&&YR(e.argument)&&hR(e.argument.literal)}function J_(e){return 244===e.kind&&11===e.expression.kind}function z_(e){return!!(2097152&p_(e))}function U_(e){return z_(e)&&Fj(e)}function V_(e){return xR(e.name)&&!e.initializer}function q_(e){return z_(e)&&Tj(e)&&XN(e.declarationList.declarations,V_)}function W_(e,t){return 12!==e.kind?$i(t.text,e.pos):void 0}function H_(e,t){return nD(169===e.kind||168===e.kind||218===e.kind||219===e.kind||217===e.kind||260===e.kind||281===e.kind?fD(eo(t,e.pos),$i(t,e.pos)):$i(t,e.pos),function(e){return 42===t.charCodeAt(e.pos+1)&&42===t.charCodeAt(e.pos+2)&&47!==t.charCodeAt(e.pos+3)})}function vP(e){if(182<=e.kind&&e.kind<=205)return!0;switch(e.kind){case 133:case 159:case 150:case 163:case 154:case 136:case 155:case 151:case 157:case 106:case 146:return!0;case 116:return 222!==e.parent.kind;case 233:return nB(e.parent)&&!DL(e);case 168:return 200===e.parent.kind||195===e.parent.kind;case 80:(166===e.parent.kind&&e.parent.right===e||211===e.parent.kind&&e.parent.name===e)&&(e=e.parent),rA.assert(80===e.kind||166===e.kind||211===e.kind,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 166:case 211:case 110:var t=e.parent;if(186===t.kind)return!1;if(205===t.kind)return!t.isTypeOf;if(182<=t.kind&&t.kind<=205)return!0;switch(t.kind){case 233:return nB(t.parent)&&!DL(t);case 168:case 352:return e===t.constraint;case 172:case 171:case 169:case 260:return e===t.type;case 262:case 218:case 219:case 176:case 174:case 173:case 177:case 178:return e===t.type;case 179:case 180:case 181:case 216:return e===t.type;case 213:case 214:case 215:return eD(t.typeArguments,e)}}return!1}function K_(e,t){for(;e;){if(e.kind===t)return!0;e=e.parent}return!1}function gP(e,r){return function e(t){switch(t.kind){case 253:return r(t);case 269:case 241:case 245:case 246:case 247:case 248:case 249:case 250:case 254:case 255:case 296:case 297:case 256:case 258:case 299:return HB(t,e)}}(e)}function hP(e,n){return function e(t){switch(t.kind){case 229:n(t);var r=t.expression;return void(r&&e(r));case 266:case 264:case 267:case 265:return;default:if(bE(t)){if(t.name&&167===t.name.kind)return void e(t.name.expression)}else vP(t)||HB(t,e)}}(e)}function xP(e){return e&&188===e.kind?e.elementType:e&&183===e.kind?pa(e.typeArguments):void 0}function bP(e){switch(e.kind){case 264:case 263:case 231:case 187:return e.members;case 210:return e.properties}}function kP(e){if(e)switch(e.kind){case 208:case 306:case 169:case 303:case 172:case 171:case 304:case 260:return!0}return!1}function TP(e){return kP(e)||DE(e)}function SP(e){return 261===e.parent.kind&&243===e.parent.parent.kind}function wP(e){return!!cI(e)&&(nj(e.parent)&&mj(e.parent.parent)&&2===NI(e.parent.parent)||CP(e.parent))}function CP(e){return!!cI(e)&&(mj(e)&&1===NI(e))}function NP(e){return(Aj(e)?R_(e)&&xR(e.name)&&SP(e):AR(e)?vL(e)&&dL(e):DR(e)&&vL(e))||CP(e)}function DP(e){switch(e.kind){case 174:case 173:case 176:case 177:case 178:case 262:case 218:return!0}return!1}function G_(e,t){for(;;){if(t&&t(e),256!==e.statement.kind)return e.statement;e=e.statement}}function X_(e){return e&&241===e.kind&&bE(e.parent)}function AP(e){return e&&174===e.kind&&210===e.parent.kind}function EP(e){return!(174!==e.kind&&177!==e.kind&&178!==e.kind||210!==e.parent.kind&&231!==e.parent.kind)}function FP(e){return e&&1===e.kind}function Q_(e){return e&&0===e.kind}function Y_(e,r,n,a){return KN(null==e?void 0:e.properties,function(e){if(iB(e)){var t=E_(e.name);return r===t||a&&a===t?n(e):void 0}})}function Z_(e,t,r){return Y_(e,t,function(e){return rj(e.initializer)?QN(e.initializer.elements,function(e){return hR(e)&&e.text===r}):void 0})}function $_(e){if(e&&e.statements.length)return BD(e.statements[0].expression,nj)}function el(e,t,r){return tl(e,t,function(e){return rj(e.initializer)?QN(e.initializer.elements,function(e){return hR(e)&&e.text===r}):void 0})}function tl(e,t,r){return Y_($_(e),t,r)}function PP(e){return FA(e.parent,bE)}function rl(e){return FA(e.parent,TE)}function IP(e){return FA(e.parent,NE)}function OP(e){return FA(e.parent,function(e){return NE(e)||bE(e)?"quit":PR(e)})}function LP(e){return FA(e.parent,kE)}function MP(e){var t=FA(e.parent,function(e){return NE(e)?"quit":NR(e)});return t&&NE(t.parent)?IP(t.parent):IP(null!=t?t:e)}function RP(e,t,r){for(rA.assert(312!==e.kind);;){if(!(e=e.parent))return rA.fail();switch(e.kind){case 167:if(r&&NE(e.parent.parent))return e;e=e.parent.parent;break;case 170:169===e.parent.kind&&CE(e.parent.parent)?e=e.parent.parent:CE(e.parent)&&(e=e.parent);break;case 219:if(!t)continue;case 262:case 218:case 267:case 175:case 172:case 171:case 174:case 173:case 176:case 177:case 178:case 179:case 180:case 181:case 266:case 312:return e}}}function jP(e){switch(e.kind){case 219:case 262:case 218:case 172:return!0;case 241:switch(e.parent.kind){case 176:case 174:case 177:case 178:return!0;default:return!1}default:return!1}}function BP(e){return xR(e)&&(Pj(e.parent)||Fj(e.parent))&&e.parent.name===e&&(e=e.parent),uB(RP(e,!0,!1))}function JP(e){var t=RP(e,!1,!1);if(t)switch(t.kind){case 176:case 262:case 218:return t}}function zP(e,t){for(;;){if(!(e=e.parent))return;switch(e.kind){case 167:e=e.parent;break;case 262:case 218:case 219:if(!t)continue;case 172:case 171:case 174:case 173:case 176:case 177:case 178:case 175:return e;case 170:169===e.parent.kind&&CE(e.parent.parent)?e=e.parent.parent:CE(e.parent)&&(e=e.parent)}}}function UP(e){if(218===e.kind||219===e.kind){for(var t=e,r=e.parent;217===r.kind;)r=(t=r).parent;if(213===r.kind&&r.expression===t)return r}}function nl(e){return 108===e.kind||VP(e)}function VP(e){var t=e.kind;return(211===t||212===t)&&108===e.expression.kind}function qP(e){var t=e.kind;return(211===t||212===t)&&110===e.expression.kind}function WP(e){return!!e&&Aj(e)&&110===(null==(e=e.initializer)?void 0:e.kind)}function HP(e){return!!e&&(oB(e)||iB(e))&&mj(e.parent.parent)&&64===e.parent.parent.operatorToken.kind&&110===e.parent.parent.right.kind}function KP(e){switch(e.kind){case 183:return e.typeName;case 233:return AL(e.expression)?e.expression:void 0;case 80:case 166:return e}}function GP(e){switch(e.kind){case 215:return e.tag;case 286:case 285:return e.tagName;default:return e.expression}}function XP(e,t,r,n){if(e&&BA(t)&&bR(t.name))return!1;switch(t.kind){case 263:return!0;case 231:return!e;case 172:return void 0!==r&&(e?Pj(r):NE(r)&&!pL(t)&&!mL(t));case 177:case 178:case 174:return void 0!==t.body&&void 0!==r&&(e?Pj:NE)(r);case 169:return e?void 0!==r&&void 0!==r.body&&(176===r.kind||174===r.kind||178===r.kind)&&YO(r)!==t&&void 0!==n&&263===n.kind:!1}return!1}function al(e,t,r,n){return gL(t)&&XP(e,t,r,n)}function il(e,t,r,n){return al(e,t,r,n)||ol(e,t,r)}function ol(t,r,n){switch(r.kind){case 263:return dD(r.members,function(e){return il(t,e,r,n)});case 231:return!t&&dD(r.members,function(e){return il(t,e,r,n)});case 174:case 178:case 176:return dD(r.parameters,function(e){return al(t,e,r,n)});default:return!1}}function QP(e,t){if(al(e,t))return!0;var r=XO(t);return!!r&&ol(e,r,t)}function YP(e,t,r){var n,a,i;if(DE(t)){var o=rL(r.members,t),s=o.firstAccessor,c=o.secondAccessor,o=o.setAccessor,c=gL(s)?s:c&&gL(c)?c:void 0;if(!c||t!==c)return!1;i=null==o?void 0:o.parameters}else FR(t)&&(i=t.parameters);if(al(e,t,r))return!0;if(i)try{for(var u=__values(i),_=u.next();!_.done;_=u.next()){var l=_.value;if(!ZO(l)&&al(e,l,t,r))return!0}}catch(e){n={error:e}}finally{try{_&&!_.done&&(a=u.return)&&a.call(u)}finally{if(n)throw n.error}}return!1}function sl(e){if(e.textSourceNode){switch(e.textSourceNode.kind){case 11:return sl(e.textSourceNode);case 15:return""===e.text}return!1}return""===e.text}function ZP(e){var t=e.parent;return(286===t.kind||285===t.kind||287===t.kind)&&t.tagName===e}function $P(e){switch(e.kind){case 108:case 106:case 112:case 97:case 14:case 209:case 210:case 211:case 212:case 213:case 214:case 215:case 234:case 216:case 238:case 235:case 217:case 218:case 231:case 219:case 222:case 220:case 221:case 224:case 225:case 226:case 227:case 230:case 228:case 232:case 284:case 285:case 288:case 229:case 223:case 236:return!0;case 233:return!nB(e.parent)&&!kB(e.parent);case 166:for(;166===e.parent.kind;)e=e.parent;return 186===e.parent.kind||sF(e.parent)||lB(e.parent)||dB(e.parent)||ZP(e);case 318:for(;dB(e.parent);)e=e.parent;return 186===e.parent.kind||sF(e.parent)||lB(e.parent)||dB(e.parent)||ZP(e);case 81:return mj(e.parent)&&e.parent.left===e&&103===e.parent.operatorToken.kind;case 80:if(186===e.parent.kind||sF(e.parent)||lB(e.parent)||dB(e.parent)||ZP(e))return!0;case 9:case 10:case 11:case 15:case 110:return eI(e);default:return!1}}function eI(e){var t=e.parent;switch(t.kind){case 260:case 169:case 172:case 171:case 306:case 303:case 208:return t.initializer===e;case 244:case 245:case 246:case 247:case 253:case 254:case 255:case 296:case 257:return t.expression===e;case 248:return t.initializer===e&&261!==t.initializer.kind||t.condition===e||t.incrementor===e;case 249:case 250:return t.initializer===e&&261!==t.initializer.kind||t.expression===e;case 216:case 234:case 239:case 167:return e===t.expression;case 170:case 294:case 293:case 305:return!0;case 233:return t.expression===e&&!vP(t);case 304:return t.objectAssignmentInitializer===e;case 238:return e===t.expression;default:return $P(t)}}function tI(e){for(;166===e.kind||80===e.kind;)e=e.parent;return 186===e.kind}function rI(e){return Uj(e)&&!!e.parent.moduleSpecifier}function nI(e){return 271===e.kind&&283===e.moduleReference.kind}function aI(e){return rA.assert(nI(e)),e.moduleReference.expression}function iI(e){return fI(e)&&XL(e.initializer).arguments[0]}function oI(e){return 271===e.kind&&283!==e.moduleReference.kind}function sI(e){return cI(e)}function cl(e){return!cI(e)}function cI(e){return!!e&&!!(524288&e.flags)}function uI(e){return!!e&&!!(134217728&e.flags)}function ul(e){return!lP(e)}function _I(e){return!!e&&!!(16777216&e.flags)}function lI(e){return BR(e)&&xR(e.typeName)&&"Object"===e.typeName.escapedText&&e.typeArguments&&2===e.typeArguments.length&&(154===e.typeArguments[0].kind||150===e.typeArguments[0].kind)}function dI(e,t){if(213!==e.kind)return!1;var r=e.expression,e=e.arguments;if(80!==r.kind||"require"!==r.escapedText)return!1;if(1!==e.length)return!1;e=e[0];return!t||oF(e)}function _l(e){return ll(e,!1)}function fI(e){return ll(e,!0)}function pI(e){return tj(e)&&fI(e.parent.parent)}function ll(e,t){return Aj(e)&&!!e.initializer&&dI(t?XL(e.initializer):e.initializer,!0)}function dl(e){return Tj(e)&&0<e.declarationList.declarations.length&&XN(e.declarationList.declarations,_l)}function mI(e){return 39===e||34===e}function fl(e,t){return 34===__(t,e).charCodeAt(0)}function yI(e){return mj(e)||GL(e)||xR(e)||oj(e)}function vI(e){return cI(e)&&e.initializer&&mj(e.initializer)&&(57===e.initializer.operatorToken.kind||61===e.initializer.operatorToken.kind)&&e.name&&AL(e.name)&&TI(e.name,e.initializer.left)?e.initializer.right:e.initializer}function gI(e){var t=vI(e);return t&&xI(t,OL(e.name))}function hI(e){if(e&&e.parent&&mj(e.parent)&&64===e.parent.operatorToken.kind){var t=OL(e.parent.left);return xI(e.parent.right,t)||function(e,t,r){r=mj(t)&&(57===t.operatorToken.kind||61===t.operatorToken.kind)&&xI(t.right,r);if(r&&TI(e,t.left))return r}(e.parent.left,e.parent.right,t)}if(e&&oj(e)&&DI(e)){t=(t=e.arguments[2],r="prototype"===e.arguments[1].text,KN(t.properties,function(e){return iB(e)&&xR(e.name)&&"value"===e.name.escapedText&&e.initializer&&xI(e.initializer,r)}));if(t)return t}var r}function xI(e,t){if(oj(e)){var r=oO(e.expression);return 218===r.kind||219===r.kind?e:void 0}return 218===e.kind||231===e.kind||219===e.kind||nj(e)&&(0===e.properties.length||t)?e:void 0}function bI(e){var t=Aj(e.parent)?e.parent.name:mj(e.parent)&&64===e.parent.operatorToken.kind?e.parent.left:void 0;return t&&xI(e.right,OL(t))&&AL(t)&&TI(t,e.left)}function kI(e){if(mj(e.parent)){var t=(57!==e.parent.operatorToken.kind&&61!==e.parent.operatorToken.kind||!mj(e.parent.parent)?e:e.parent).parent;if(64===t.operatorToken.kind&&xR(t.left))return t.left}else if(Aj(e.parent))return e.parent.name}function TI(e,t){return DO(e)&&DO(t)?AO(e)===AO(t):ps(e)&&ml(t)&&(110===t.expression.kind||xR(t.expression)&&("window"===t.expression.escapedText||"self"===t.expression.escapedText||"global"===t.expression.escapedText))?TI(e,gl(t)):!(!ml(e)||!ml(t))&&(FI(e)===FI(t)&&TI(e.expression,t.expression))}function pl(e){for(;NL(e,!0);)e=e.right;return e}function SI(e){return xR(e)&&"exports"===e.escapedText}function wI(e){return xR(e)&&"module"===e.escapedText}function CI(e){return(aj(e)||yl(e))&&wI(e.expression)&&"exports"===FI(e)}function NI(e){var t=function(e){if(oj(e)){if(!DI(e))return 0;var t=e.arguments[0];return SI(t)||CI(t)?8:vl(t)&&"prototype"===FI(t)?9:7}if(64!==e.operatorToken.kind||!GL(e.left)||function(e){return Eg(e)&&gR(e.expression)&&"0"===e.expression.text}(pl(e)))return 0;if(EI(e.left.expression,!0)&&"prototype"===FI(e.left)&&nj(II(e)))return 6;return PI(e.left)}(e);return 5===t||cI(e)?t:0}function DI(e){return 3===HN(e.arguments)&&aj(e.expression)&&xR(e.expression.expression)&&"Object"===LA(e.expression.expression)&&"defineProperty"===LA(e.expression.name)&&SO(e.arguments[1])&&EI(e.arguments[0],!0)}function ml(e){return aj(e)||yl(e)}function yl(e){return ij(e)&&SO(e.argumentExpression)}function vl(e,t){return aj(e)&&(!t&&110===e.expression.kind||xR(e.name)&&EI(e.expression,!0))||AI(e,t)}function AI(e,t){return yl(e)&&(!t&&110===e.expression.kind||AL(e.expression)||vl(e.expression,!0))}function EI(e,t){return AL(e)||vl(e,t)}function gl(e){return aj(e)?e.name:e.argumentExpression}function hl(e){if(aj(e))return e.name;var t=oO(e.argumentExpression);return gR(t)||oF(t)?t:e}function FI(e){e=hl(e);if(e){if(xR(e))return e.escapedText;if(oF(e)||gR(e))return IA(e.text)}}function PI(e){if(110===e.expression.kind)return 4;if(CI(e))return 2;if(EI(e.expression,!0)){if(OL(e.expression))return 3;for(var t=e;!xR(t.expression);)t=t.expression;var r=t.expression;if(("exports"===r.escapedText||"module"===r.escapedText&&"exports"===FI(t))&&vl(e))return 1;if(EI(e,!0)||ij(e)&&CO(e))return 5}return 0}function II(e){for(;mj(e.right);)e=e.right;return e.right}function OI(e){return mj(e)&&3===NI(e)}function xl(e){return cI(e)&&e.parent&&244===e.parent.kind&&(!ij(e)||yl(e))&&!!XA(e.parent)}function LI(e,t){var r=e.valueDeclaration;(!r||(!(33554432&t.flags)||cI(t)||33554432&r.flags)&&yI(r)&&!yI(t)||r.kind!==t.kind&&x_(r))&&(e.valueDeclaration=t)}function bl(e){if(!e||!e.valueDeclaration)return!1;e=e.valueDeclaration;return 262===e.kind||Aj(e)&&e.initializer&&bE(e.initializer)}function MI(e){var t;switch(e.kind){case 260:case 208:return null==(t=FA(e.initializer,function(e){return dI(e,!0)}))?void 0:t.arguments[0];case 272:return BD(e.moduleSpecifier,oF);case 271:return BD(null==(t=BD(e.moduleReference,Gj))?void 0:t.expression,oF);case 273:case 280:return BD(e.parent.moduleSpecifier,oF);case 274:case 281:return BD(e.parent.parent.moduleSpecifier,oF);case 276:return BD(e.parent.parent.parent.moduleSpecifier,oF);default:rA.assertNever(e)}}function kl(e){return Tl(e)||rA.failBadSyntaxKind(e.parent)}function Tl(e){switch(e.parent.kind){case 272:case 278:return e.parent;case 283:return e.parent.parent;case 213:return mP(e.parent)||dI(e.parent,!1)?e.parent:void 0;case 201:return rA.assert(hR(e)),BD(e.parent.parent,ZR);default:return}}function RI(e){switch(e.kind){case 272:case 278:return e.moduleSpecifier;case 271:return 283===e.moduleReference.kind?e.moduleReference.expression:void 0;case 205:return yP(e)?e.argument.literal:void 0;case 213:return e.arguments[0];case 267:return 11===e.name.kind?e.name:void 0;default:return rA.assertNever(e)}}function jI(e){switch(e.kind){case 272:return e.importClause&&BD(e.importClause.namedBindings,ah);case 271:return e;case 278:return e.exportClause&&BD(e.exportClause,Uj);default:return rA.assertNever(e)}}function Sl(e){return 272===e.kind&&!!e.importClause&&!!e.importClause.name}function BI(e,t){var r;if(e.name&&(r=t(e)))return r;if(e.namedBindings&&(r=ah(e.namedBindings)?t(e.namedBindings):KN(e.namedBindings.elements,t)))return r}function JI(e){if(e)switch(e.kind){case 169:case 174:case 173:case 304:case 303:case 172:case 171:return void 0!==e.questionToken}return!1}function zI(e){e=gB(e)?kD(e.parameters):void 0,e=BD(e&&e.name,xR);return!!e&&"new"===e.escapedText}function UI(e){return 353===e.kind||345===e.kind||347===e.kind}function VI(e){return UI(e)||Oj(e)}function wl(e){return Sj(e)&&mj(e.expression)&&0!==NI(e.expression)&&mj(e.expression.right)&&(57===e.expression.right.operatorToken.kind||61===e.expression.right.operatorToken.kind)?e.expression.right.right:void 0}function Cl(e){switch(e.kind){case 243:var t=qI(e);return t&&t.initializer;case 172:case 303:return e.initializer}}function qI(e){return Tj(e)?kD(e.declarationList.declarations):void 0}function Nl(e){return Mj(e)&&e.body&&267===e.body.kind?e.body:void 0}function WI(e){if(243<=e.kind&&e.kind<=259)return!0;switch(e.kind){case 80:case 110:case 108:case 166:case 236:case 212:case 211:case 208:case 218:case 219:case 174:case 177:case 178:return!0;default:return!1}}function HI(e){switch(e.kind){case 219:case 226:case 241:case 252:case 179:case 296:case 263:case 231:case 175:case 176:case 185:case 180:case 251:case 259:case 246:case 212:case 242:case 1:case 266:case 306:case 277:case 278:case 281:case 244:case 249:case 250:case 248:case 262:case 218:case 184:case 177:case 80:case 245:case 272:case 271:case 181:case 264:case 324:case 330:case 256:case 174:case 173:case 267:case 202:case 270:case 210:case 169:case 217:case 211:case 303:case 172:case 171:case 253:case 240:case 178:case 304:case 305:case 255:case 257:case 258:case 265:case 168:case 260:case 243:case 247:case 254:return!0;default:return!1}}function Dl(e,t){var r;kP(e)&&nF(e)&&tF(e.initializer)&&(r=gD(r,Al(e,ND(e.initializer.jsDoc))));for(var n=e;n&&n.parent;){if(tF(n)&&(r=gD(r,Al(e,ND(n.jsDoc)))),169===n.kind){r=gD(r,(t?qo:VA)(n));break}if(168===n.kind){r=gD(r,(t?Ko:Ho)(n));break}n=Fl(n)}return r||WN}function Al(t,e){if(kh(e)){var r=nD(e.tags,function(e){return El(t,e)});return e.tags===r?[e]:r}return El(t,e)?[e]:void 0}function El(e,t){return!((NB(t)||FB(t))&&t.parent&&kh(t.parent)&&uj(t.parent.parent)&&t.parent.parent!==e)}function Fl(e){var t=e.parent;return 303===t.kind||277===t.kind||172===t.kind||244===t.kind&&211===e.kind||253===t.kind||Nl(t)||mj(e)&&64===e.operatorToken.kind?t:t.parent&&(qI(t.parent)===e||mj(t)&&64===t.operatorToken.kind)?t.parent:t.parent&&t.parent.parent&&(qI(t.parent.parent)||Cl(t.parent.parent)===e||wl(t.parent.parent))?t.parent.parent:void 0}function KI(e){if(e.symbol)return e.symbol;if(xR(e.name)){var t=e.name.escapedText,e=XI(e);if(e){e=QN(e.parameters,function(e){return 80===e.name.kind&&e.name.escapedText===t});return e&&e.symbol}}}function GI(e){if(kh(e.parent)&&e.parent.tags){var t=QN(e.parent.tags,UI);if(t)return t}return XI(e)}function XI(e){e=QI(e);if(e)return DR(e)&&e.type&&bE(e.type)?e.type:bE(e)?e:void 0}function QI(e){var t=YI(e);if(t)return wl(t)||(Sj(e=t)&&mj(e.expression)&&64===e.expression.operatorToken.kind?pl(e.expression):void 0)||Cl(t)||qI(t)||Nl(t)||t}function YI(e){var t=ZI(e);if(t){e=t.parent;return e&&e.jsDoc&&t===CD(e.jsDoc)?e:void 0}}function ZI(e){return FA(e.parent,kh)}function $I(e){var t=e.name.escapedText,e=e.parent.parent.parent.typeParameters;return e&&QN(e,function(e){return e.name.escapedText===t})}function Pl(e){return!!e.typeArguments}function eO(e){for(var t=e.parent;;){switch(t.kind){case 226:var r=t.operatorToken.kind;return wL(r)&&t.left===e?64===r||rf(r)?1:2:0;case 224:case 225:r=t.operator;return 46===r||47===r?2:0;case 249:case 250:return t.initializer===e?1:0;case 217:case 209:case 230:case 235:e=t;break;case 305:e=t.parent;break;case 304:if(t.name!==e)return 0;e=t.parent;break;case 303:if(t.name===e)return 0;e=t.parent;break;default:return 0}t=e.parent}}function tO(e){return 0!==eO(e)}function Il(e){switch(e.kind){case 241:case 243:case 254:case 245:case 255:case 269:case 296:case 297:case 256:case 248:case 249:case 250:case 246:case 247:case 258:case 299:return!0}return!1}function rO(e){return _j(e)||lj(e)||qs(e)||Fj(e)||IR(e)}function Ol(e,t){for(;e&&e.kind===t;)e=e.parent;return e}function nO(e){return Ol(e,196)}function aO(e){return Ol(e,217)}function iO(e){for(var t;e&&196===e.kind;)e=(t=e).parent;return[t,e]}function Ll(e){for(;GR(e);)e=e.type;return e}function oO(e,t){return RB(e,t?17:1)}function sO(e){return(211===e.kind||212===e.kind)&&((e=aO(e.parent))&&220===e.kind)}function cO(e,t){for(;e;){if(e===t)return!0;e=e.parent}return!1}function uO(e){return!uB(e)&&!PE(e)&&GE(e.parent)&&e.parent.name===e}function Ml(e){var t=e.parent;switch(e.kind){case 11:case 15:case 9:if(SR(t))return t.parent;case 80:if(GE(t))return t.name===e?t:void 0;if(TR(t)){var r=t.parent;return wB(r)&&r.name===t?r:void 0}r=t.parent;return mj(r)&&0!==NI(r)&&(r.left.symbol||r.symbol)&&JA(r)===e?r:void 0;case 81:return GE(t)&&t.name===e?t:void 0;default:return}}function _O(e){return SO(e)&&167===e.parent.kind&&GE(e.parent.parent)}function Rl(e){var t=e.parent;switch(t.kind){case 172:case 171:case 174:case 173:case 177:case 178:case 306:case 303:case 211:return t.name===e;case 166:return t.right===e;case 208:case 276:return t.propertyName===e;case 281:case 291:case 285:case 286:case 287:return!0}return!1}function jl(e){return!!(271===e.kind||270===e.kind||273===e.kind&&e.name||274===e.kind||280===e.kind||276===e.kind||281===e.kind||277===e.kind&&fO(e))||cI(e)&&(mj(e)&&2===NI(e)&&fO(e)||aj(e)&&mj(e.parent)&&e.parent.left===e&&64===e.parent.operatorToken.kind&&dO(e.parent.right))}function lO(e){switch(e.parent.kind){case 273:case 276:case 274:case 281:case 277:case 271:case 280:return e.parent;case 166:for(;e=e.parent,166===e.parent.kind;);return lO(e)}}function dO(e){return AL(e)||vj(e)}function fO(e){return dO(pO(e))}function pO(e){return qj(e)?e.expression:e.right}function mO(e){return 304===e.kind?e.name:303===e.kind?e.initializer:e.parent.right}function yO(e){var t=vO(e);if(t&&cI(e)){e=Go(e);if(e)return e.class}return t}function vO(e){e=Jl(e.heritageClauses,96);return e&&0<e.types.length?e.types[0]:void 0}function gO(e){if(cI(e))return Xo(e).map(function(e){return e.class});e=Jl(e.heritageClauses,119);return null==e?void 0:e.types}function Bl(e){return Ij(e)?hO(e)||WN:NE(e)&&fD(eA(yO(e)),gO(e))||WN}function hO(e){e=Jl(e.heritageClauses,96);return e?e.types:void 0}function Jl(e,t){var r,n;if(e)try{for(var a=__values(e),i=a.next();!i.done;i=a.next()){var o=i.value;if(o.token===t)return o}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}function xO(e,t){for(;e;){if(e.kind===t)return e;e=e.parent}}function zl(e){return 83<=e&&e<=165}function Ul(e){return 19<=e&&e<=79}function Vl(e){return zl(e)||Ul(e)}function ql(e){return 128<=e&&e<=165}function Wl(e){return zl(e)&&!ql(e)}function Hl(e){return 119<=e&&e<=127}function bO(e){e=Ai(e);return void 0!==e&&Wl(e)}function Kl(e){e=Ai(e);return void 0!==e&&zl(e)}function Gl(e){e=MA(e);return!!e&&!ql(e)}function Xl(e){return 2<=e&&e<=7}function kO(e){if(!e)return 4;var t=0;switch(e.kind){case 262:case 218:case 174:e.asteriskToken&&(t|=1);case 219:_L(e,512)&&(t|=2)}return e.body||(t|=4),t}function TO(e){switch(e.kind){case 262:case 218:case 219:case 174:return void 0!==e.body&&void 0===e.asteriskToken&&_L(e,512)}return!1}function SO(e){return oF(e)||gR(e)}function Ql(e){return pj(e)&&(40===e.operator||41===e.operator)&&gR(e.operand)}function wO(e){e=JA(e);return!!e&&CO(e)}function CO(e){if(167!==e.kind&&212!==e.kind)return!1;e=ij(e)?oO(e.argumentExpression):e.expression;return!SO(e)&&!Ql(e)}function NO(e){switch(e.kind){case 80:case 81:return e.escapedText;case 11:case 9:return IA(e.text);case 167:var t=e.expression;return SO(t)?IA(t.text):Ql(t)?41===t.operator?vA(t.operator)+t.operand.text:t.operand.text:void 0;case 295:return iR(e);default:return rA.assertNever(e)}}function DO(e){switch(e.kind){case 80:case 11:case 15:case 9:return!0;default:return!1}}function AO(e){return ps(e)?LA(e):rB(e)?Um(e):e.text}function EO(e){return ps(e)?e.escapedText:rB(e)?iR(e):IA(e.text)}function Yl(e){return"__@".concat(yJ(e),"@").concat(e.escapedName)}function FO(e,t){return"__#".concat(yJ(e),"@").concat(t)}function PO(e){return XD(e.escapedName,"__@")}function Zl(e){return XD(e.escapedName,"__#")}function $l(e){return 80===e.kind&&"Symbol"===e.escapedText}function ed(e){return xR(e)?"__proto__"===LA(e):hR(e)&&"__proto__"===e.text}function td(e,t){switch((e=RB(e)).kind){case 231:if(JJ(e))return!1;break;case 218:if(e.name)return!1;break;case 219:break;default:return!1}return"function"!=typeof t||t(e)}function IO(e){switch(e.kind){case 303:return!ed(e.name);case 304:return!!e.objectAssignmentInitializer;case 260:return xR(e.name)&&!!e.initializer;case 169:case 208:return xR(e.name)&&!!e.initializer&&!e.dotDotDotToken;case 172:return!!e.initializer;case 226:switch(e.operatorToken.kind){case 64:case 77:case 76:case 78:return xR(e.left)}break;case 277:return!0}return!1}function rd(e,t){if(!IO(e))return!1;switch(e.kind){case 303:return td(e.initializer,t);case 304:return td(e.objectAssignmentInitializer,t);case 260:case 169:case 208:case 172:return td(e.initializer,t);case 226:return td(e.right,t);case 277:return td(e.expression,t)}}function OO(e){return"push"===e.escapedText||"unshift"===e.escapedText}function LO(e){return 169===MO(e).kind}function MO(e){for(;208===e.kind;)e=e.parent.parent;return e}function RO(e){e=e.kind;return 176===e||218===e||262===e||219===e||174===e||177===e||178===e||267===e||312===e}function jO(e){return hm(e.pos)||hm(e.end)}function nd(e){return PA(e,uB)||e}function ad(e){var t=sd(e),r=214===e.kind&&void 0!==e.arguments;return id(e.kind,t,r)}function id(e,t,r){switch(e){case 214:return r?0:1;case 224:case 221:case 222:case 220:case 223:case 227:case 229:return 1;case 226:switch(t){case 43:case 64:case 65:case 66:case 68:case 67:case 69:case 70:case 71:case 72:case 73:case 74:case 79:case 75:case 76:case 77:case 78:return 1}}return 0}function od(e){var t=sd(e),r=214===e.kind&&void 0!==e.arguments;return cd(e.kind,t,r)}function sd(e){return 226===e.kind?e.operatorToken.kind:224===e.kind||225===e.kind?e.operator:e.kind}function cd(e,t,r){switch(e){case 361:return 0;case 230:return 1;case 229:return 2;case 227:return 4;case 226:switch(t){case 28:return 0;case 64:case 65:case 66:case 68:case 67:case 69:case 70:case 71:case 72:case 73:case 74:case 79:case 75:case 76:case 77:case 78:return 3;default:return ud(t)}case 216:case 235:case 224:case 221:case 222:case 220:case 223:return 16;case 225:return 17;case 213:return 18;case 214:return r?19:18;case 215:case 211:case 212:case 236:return 19;case 234:case 238:return 11;case 110:case 108:case 80:case 81:case 106:case 112:case 97:case 9:case 10:case 11:case 209:case 210:case 218:case 219:case 231:case 14:case 15:case 228:case 217:case 232:case 284:case 285:case 288:return 20;default:return-1}}function ud(e){switch(e){case 61:return 4;case 57:return 5;case 56:return 6;case 52:return 7;case 53:return 8;case 51:return 9;case 35:case 36:case 37:case 38:return 10;case 30:case 32:case 33:case 34:case 104:case 103:case 130:case 152:return 11;case 48:case 49:case 50:return 12;case 40:case 41:return 13;case 42:case 44:case 45:return 14;case 43:return 15}return-1}function BO(e){return nD(e,function(e){switch(e.kind){case 294:return e.expression;case 12:return!e.containsOnlyTriviaWhiteSpaces;default:return 1}})}function JO(){var r=[],n=[],a=new Map,i=!1;return{add:function(e){var t;e.file?(t=a.get(e.file.fileName))||(t=[],a.set(e.file.fileName,t),Q(n,e.file.fileName,ge)):(i&&(i=!1,r=r.slice()),t=r);Q(t,e,kp)},lookup:function(e){var t;t=e.file?a.get(e.file.fileName):r;if(!t)return;e=AD(t,e,ir,kp);if(0<=e)return t[e];return},getGlobalDiagnostics:function(){return i=!0,r},getDiagnostics:function(e){if(e)return a.get(e)||[];e=S(n,function(e){return a.get(e)});return r.length&&e.unshift.apply(e,__spreadArray([],__read(r),!1)),e}}}function _d(e){return e&&!!(Hv(e)?e.templateFlags:e.head.templateFlags||dD(e.templateSpans,function(e){return!!e.literal.templateFlags}))}function ld(e){return"\\u"+("0000"+e.toString(16).toUpperCase()).slice(-4)}function dd(e,t,r){if(0!==e.charCodeAt(0))return Qc.get(e)||ld(e.charCodeAt(0));e=r.charCodeAt(t+e.length);return 48<=e&&e<=57?"\\x00":"\\0"}function zO(e,t){t=96===t?Xc:39===t?Gc:Kc;return e.replace(t,dd)}function fd(e,t){return e=zO(e,t),Yc.test(e)?e.replace(Yc,function(e){return ld(e.charCodeAt(0))}):e}function pd(e){return 0===e.charCodeAt(0)?"&#0;":eu.get(e)||"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function md(e,t){t=39===t?$c:Zc;return e.replace(t,pd)}function UO(e){var t,r=e.length;return 2<=r&&e.charCodeAt(0)===e.charCodeAt(r-1)&&(39===(t=e.charCodeAt(0))||34===t||96===t)?e.substring(1,r-1):e}function VO(e){var t=e.charCodeAt(0);return 97<=t&&t<=122||WD(e,"-")}function yd(e){for(var t=tu[1],r=tu.length;r<=e;r++)tu.push(tu[r-1]+t);return tu[e]}function vd(){return tu[1].length}function qO(){return WD(oe,"-dev")||WD(oe,"-insiders")}function WO(t){var r,n,a,i,o,s=!1;function c(e){var t=Ei(e);a=1<t.length&&(i=i+t.length-1,(o=r.length-e.length+ND(t))-r.length==0)}function u(e){e&&e.length&&(a&&(e=yd(n)+e,a=!1),r+=e,c(e))}function _(e){e&&(s=!1),u(e)}function e(){o=i=n=0,s=!(a=!(r=""))}return e(),{write:_,rawWrite:function(e){void 0!==e&&(r+=e,c(e),s=!1)},writeLiteral:function(e){e&&e.length&&_(e)},writeLine:function(e){a&&!e||(i++,o=(r+=t).length,s=!(a=!0))},increaseIndent:function(){n++},decreaseIndent:function(){n--},getIndent:function(){return n},getTextPos:function(){return r.length},getLine:function(){return i},getColumn:function(){return a?n*vd():r.length-o},getText:function(){return r},isAtStartOfLine:function(){return a},hasTrailingComment:function(){return s},hasTrailingWhitespace:function(){return!!r.length&&Ri(r.charCodeAt(r.length-1))},clear:e,writeKeyword:_,writeOperator:_,writeParameter:_,writeProperty:_,writePunctuation:_,writeSpace:_,writeStringLiteral:_,writeSymbol:function(e,t){return _(e)},writeTrailingSemicolon:_,writeComment:function(e){e&&(s=!0),u(e)},getTextPosWithWriteLine:function(){return a?r.length:r.length+t.length}}}function HO(r){var e=!1;function n(){e&&(r.writeTrailingSemicolon(";"),e=!1)}return __assign(__assign({},r),{writeTrailingSemicolon:function(){e=!0},writeLiteral:function(e){n(),r.writeLiteral(e)},writeStringLiteral:function(e){n(),r.writeStringLiteral(e)},writeSymbol:function(e,t){n(),r.writeSymbol(e,t)},writePunctuation:function(e){n(),r.writePunctuation(e)},writeKeyword:function(e){n(),r.writeKeyword(e)},writeOperator:function(e){n(),r.writeOperator(e)},writeParameter:function(e){n(),r.writeParameter(e)},writeSpace:function(e){n(),r.writeSpace(e)},writeProperty:function(e){n(),r.writeProperty(e)},writeComment:function(e){n(),r.writeComment(e)},writeLine:function(){n(),r.writeLine()},increaseIndent:function(){n(),r.increaseIndent()},decreaseIndent:function(){n(),r.decreaseIndent()}})}function gd(e){return!!e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames()}function hd(e){return KD(gd(e))}function KO(e,t,r){return t.moduleName||kd(e,t.fileName,r&&r.fileName)}function xd(e,t){return e.getCanonicalFileName(fA(t,e.getCurrentDirectory()))}function bd(e,t,r){t=t.getExternalModuleFileFromDeclaration(r);if(t&&!t.isDeclarationFile){r=RI(r);if(!r||!oF(r)||sA(r.text)||-1!==xd(e,t.path).indexOf(xd(e,Ua(e.getCommonSourceDirectory()))))return KO(e,t)}}function kd(t,e,r){var n=function(e){return t.getCanonicalFileName(e)},a=Ja(r?lA(r):t.getCommonSourceDirectory(),t.getCurrentDirectory(),n),n=pm(ei(a,fA(e,t.getCurrentDirectory()),a,n,!1));return r?Va(n):n}function Td(e,t,r){var n=t.getCompilerOptions(),e=n.outDir?pm(Fd(e,t,n.outDir)):pm(e);return e+r}function Sd(e,t){return wd(e,t.getCompilerOptions(),t.getCurrentDirectory(),t.getCommonSourceDirectory(),function(e){return t.getCanonicalFileName(e)})}function wd(e,t,r,n,a){t=t.declarationDir||t.outDir,a=t?Pd(e,t,r,n,a):e,e=Cd(a);return pm(a)+e}function Cd(e){return _A(e,[".mjs",".mts"])?".d.mts":_A(e,[".cjs",".cts"])?".d.cts":_A(e,[".json"])?".d.json.ts":".d.ts"}function Nd(e){return _A(e,[".d.mts",".mjs",".mts"])?[".mts",".mjs"]:_A(e,[".d.cts",".cjs",".cts"])?[".cts",".cjs"]:_A(e,[".d.json.ts"])?[".json"]:[".tsx",".ts",".jsx",".js"]}function GO(e){return e.outFile||e.out}function Dd(e,t){var r;if(e.paths)return null!==(r=e.baseUrl)&&void 0!==r?r:rA.checkDefined(e.pathsBasePath||(null==(e=t.getCurrentDirectory)?void 0:e.call(t)),"Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.")}function Ad(t,e,r){var n=t.getCompilerOptions();if(GO(n)){var a=nM(n),i=n.emitDeclarationOnly||2===a||4===a;return nD(t.getSourceFiles(),function(e){return(i||!XB(e))&&Ed(e,t,r)})}return nD(void 0===e?t.getSourceFiles():[e],function(e){return Ed(e,t,r)})}function Ed(e,t,r){return!(t.getCompilerOptions().noEmitForJsFiles&&sI(e))&&!e.isDeclarationFile&&!t.isSourceFileFromExternalLibrary(e)&&(r||!(lP(e)&&t.getResolvedProjectReferenceToRedirect(e.fileName))&&!t.isSourceOfProjectReferenceRedirect(e.fileName))}function Fd(e,t,r){return Pd(e,r,t.getCurrentDirectory(),t.getCommonSourceDirectory(),function(e){return t.getCanonicalFileName(e)})}function Pd(e,t,r,n,a){r=fA(e,r);return dA(t,r=0===a(r).indexOf(a(n))?r.substring(n.length):r)}function Id(e,t,r,n,a,i,o){e.writeFile(r,n,a,function(e){t.add(ZL(mA.Could_not_write_file_0_Colon_1,r,e))},i,o)}function Od(t,r,n,a,i,o){try{a(t,r,n)}catch(e){!function e(t,r,n){t.length>Aa(t)&&!n(t)&&(e(lA(t),r,n),r(t))}(lA(pi(t)),i,o),a(t,r,n)}}function Ld(e,t){return Li(Ii(e),t)}function Md(e,t){return Li(e,t)}function XO(e){return QN(e.members,function(e){return IR(e)&&FF(e.body)})}function QO(e){if(e&&0<e.parameters.length){var t=2===e.parameters.length&&ZO(e.parameters[0]);return e.parameters[t?1:0]}}function Rd(e){e=QO(e);return e&&e.type}function YO(e){if(e.parameters.length&&!bB(e)){e=e.parameters[0];if(ZO(e))return e}}function ZO(e){return $O(e.name)}function $O(e){return!!e&&80===e.kind&&jd(e)}function eL(e){return!!FA(e,function(e){return 186===e.kind||80!==e.kind&&166!==e.kind&&"quit"})}function tL(e){if(!$O(e))return!1;for(;TR(e.parent)&&e.parent.left===e;)e=e.parent;return 186===e.parent.kind}function jd(e){return"this"===e.escapedText}function rL(e,t){var r,n,a,i;return wO(t)?177===(r=t).kind?a=t:178===t.kind?i=t:rA.fail("Accessor has wrong kind"):KN(e,function(e){DE(e)&&lL(e)===lL(t)&&NO(e.name)===NO(t.name)&&(r?n=n||e:r=e,177!==e.kind||a||(a=e),178!==e.kind||i||(i=e))}),{firstAccessor:r,secondAccessor:n,getAccessor:a,setAccessor:i}}function nL(e){if(cI(e)||!Fj(e)){var t=e.type;return t||!cI(e)?t:_E(e)?e.typeExpression&&e.typeExpression.type:QA(e)}}function Bd(e){return e.type}function aL(e){return bB(e)?e.type&&e.type.typeExpression&&e.type.typeExpression.type:e.type||(cI(e)?us(e):void 0)}function iL(e){return cD(YA(e),function(e){return!DB(t=e)||327===t.parent.kind&&(t.parent.tags.some(UI)||t.parent.tags.some(SB))?void 0:e.typeParameters;var t})}function oL(e){e=QO(e);return e&&nL(e)}function Jd(e,t,r,n){zd(e,t,r.pos,n)}function zd(e,t,r,n){n&&n.length&&r!==n[0].pos&&Md(e,r)!==Md(e,n[0].pos)&&t.writeLine()}function Ud(e,t,r,n){r!==n&&Md(e,r)!==Md(e,n)&&t.writeLine()}function Vd(e,t,r,n,a,i,o,s){var c,u;if(n&&0<n.length){a&&r.writeSpace(" ");var _=!1;try{for(var l=__values(n),d=l.next();!d.done;d=l.next()){var f=d.value;_&&(r.writeSpace(" "),_=!1),s(e,t,r,f.pos,f.end,o),f.hasTrailingNewLine?r.writeLine():_=!0}}catch(e){c={error:e}}finally{try{d&&!d.done&&(u=l.return)&&u.call(l)}finally{if(c)throw c.error}}_&&i&&r.writeSpace(" ")}}function qd(t,e,r,n,a,i,o){var s,c,u,_;if(o?0===a.pos&&(u=nD($i(t,a.pos),function(e){return o_(t,e.pos)})):u=$i(t,a.pos),u){var l=[],d=void 0;try{for(var f=__values(u),p=f.next();!p.done;p=f.next()){var m=p.value;if(d)if(Md(e,d.end)+2<=Md(e,m.pos))break;l.push(m),d=m}}catch(e){s={error:e}}finally{try{p&&!p.done&&(c=f.return)&&c.call(f)}finally{if(s)throw s.error}}l.length&&Md(e,ND(l).end)+2<=Md(e,xA(t,a.pos))&&(Jd(e,r,a,u),Vd(t,e,r,l,!1,!0,i,n),_={nodePos:a.pos,detachedCommentEndPos:ND(l).end})}return _}function Wd(e,t,r,n,a,i){if(42===e.charCodeAt(n+1))for(var o=Oi(t,n),s=t.length,c=void 0,u=n,_=o.line;u<a;_++){var l=_+1===s?e.length+1:t[_+1];if(u!==n){void 0===c&&(c=Hd(e,t[o.line],n));var d=r.getIndent()*vd()-c+Hd(e,u,l);if(0<d){var f=d%vd(),p=yd((d-f)/vd());for(r.rawWrite(p);f;)r.rawWrite(" "),f--}else r.rawWrite("")}m=e,y=a,v=r,g=i,d=u,p=l,p=Math.min(y,p-1),!void((d=h(m.substring(d,p)))?(v.writeComment(d),p!==y&&v.writeLine()):v.rawWrite(g)),u=l}else r.writeComment(e.substring(n,a));var m,y,v,g}function Hd(e,t,r){for(var n=0;t<r&&ji(e.charCodeAt(t));t++)9===e.charCodeAt(t)?n+=vd()-n%vd():n++;return n}function sL(e){return 0!==xL(e)}function cL(e){return 0!==Qd(e)}function uL(e,t){return!!hL(e,t)}function _L(e,t){return!!Kd(e,t)}function lL(e){return CE(e)&&dL(e)||PR(e)}function dL(e){return _L(e,32)}function fL(e){return uL(e,16384)}function pL(e){return _L(e,256)}function mL(e){return _L(e,2)}function yL(e){return _L(e,128)}function vL(e){return uL(e,64)}function gL(e){return _L(e,131072)}function hL(e,t){return xL(e)&t}function Kd(e,t){return Qd(e)&t}function Gd(e,t,r){return 0<=e.kind&&e.kind<=165?0:(536870912&e.modifierFlagsCache||(e.modifierFlagsCache=536870912|$d(e)),!t||4096&e.modifierFlagsCache||!r&&!cI(e)||!e.parent||(e.modifierFlagsCache|=4096|Yd(e)),-536875009&e.modifierFlagsCache)}function xL(e){return Gd(e,!0)}function Xd(e){return Gd(e,!0,!0)}function Qd(e){return Gd(e,!1)}function Yd(e){var t=0;return e.parent&&!CR(e)&&(cI(e)&&(Yo(e)&&(t|=4),$o(e)&&(t|=8),ts(e)&&(t|=16),ns(e)&&(t|=64),as(e)&&(t|=16384)),is(e)&&(t|=8192)),t}function Zd(e){return $d(e)|Yd(e)}function $d(e){var t=VB(e)?bL(e.modifiers):0;return(8&e.flags||80===e.kind&&4096&e.flags)&&(t|=1),t}function bL(e){var t,r,n=0;if(e)try{for(var a=__values(e),i=a.next();!i.done;i=a.next())n|=kL(i.value.kind)}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n}function kL(e){switch(e){case 126:return 32;case 125:return 4;case 124:return 16;case 123:return 8;case 128:return 256;case 129:return 128;case 95:return 1;case 138:return 2;case 87:return 2048;case 90:return 1024;case 134:return 512;case 148:return 64;case 164:return 16384;case 103:return 32768;case 147:return 65536;case 170:return 131072}return 0}function ef(e){return 57===e||56===e}function tf(e){return ef(e)||54===e}function rf(e){return 76===e||77===e||78===e}function nf(e){return mj(e)&&rf(e.operatorToken.kind)}function TL(e){return ef(e)||61===e}function SL(e){return mj(e)&&TL(e.operatorToken.kind)}function wL(e){return 64<=e&&e<=79}function af(e){e=CL(e);return e&&!e.isImplements?e.class:void 0}function CL(e){if(hj(e)){if(nB(e.parent)&&NE(e.parent.parent))return{class:e.parent.parent,isImplements:119===e.parent.token};if(kB(e.parent)){e=QI(e.parent);if(e&&NE(e))return{class:e,isImplements:!1}}}}function NL(e,t){return mj(e)&&(t?64===e.operatorToken.kind:wL(e.operatorToken.kind))&&RE(e.left)}function of(e){return NL(e.parent)&&e.parent.left===e}function sf(e){if(NL(e,!0)){e=e.left.kind;return 210===e||209===e}return!1}function DL(e){return void 0!==af(e)}function AL(e){return 80===e.kind||PL(e)}function EL(e){switch(e.kind){case 80:return e;case 166:for(;e=e.left,80!==e.kind;);return e;case 211:for(;e=e.expression,80!==e.kind;);return e}}function FL(e){return 80===e.kind||110===e.kind||108===e.kind||236===e.kind||211===e.kind&&FL(e.expression)||217===e.kind&&FL(e.expression)}function PL(e){return aj(e)&&xR(e.name)&&AL(e.expression)}function IL(e){var t;if(aj(e)){if(void 0!==(t=IL(e.expression)))return t+"."+eP(e.name)}else if(ij(e)){if(void 0!==(t=IL(e.expression))&&xE(e.argumentExpression))return t+"."+NO(e.argumentExpression)}else{if(xR(e))return OA(e.escapedText);if(rB(e))return Um(e)}}function OL(e){return vl(e)&&"prototype"===FI(e)}function LL(e){return 166===e.parent.kind&&e.parent.right===e||211===e.parent.kind&&e.parent.name===e||236===e.parent.kind&&e.parent.name===e}function cf(e){return aj(e.parent)&&e.parent.name===e||ij(e.parent)&&e.parent.argumentExpression===e}function ML(e){return TR(e.parent)&&e.parent.right===e||aj(e.parent)&&e.parent.name===e||dB(e.parent)&&e.parent.right===e}function uf(e){return 210===e.kind&&0===e.properties.length}function _f(e){return 209===e.kind&&0===e.elements.length}function RL(e){var t,r,n;if(n=e,n&&0<HN(n.declarations)&&_L(n.declarations[0],1024)&&e.declarations)try{for(var a=__values(e.declarations),i=a.next();!i.done;i=a.next()){var o=i.value;if(o.localSymbol)return o.localSymbol}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}function jL(t){return QN(gu,function(e){return uA(t,e)})}function lf(e){for(var t,r,n,a,i="",o=function(e){for(var t=[],r=e.length,n=0;n<r;n++){var a=e.charCodeAt(n);a<128?t.push(a):a<2048?(t.push(a>>6|192),t.push(63&a|128)):a<65536?(t.push(a>>12|224),t.push(a>>6&63|128),t.push(63&a|128)):a<131072?(t.push(a>>18|240),t.push(a>>12&63|128),t.push(a>>6&63|128),t.push(63&a|128)):rA.assert(!1,"Unexpected code point")}return t}(e),s=0,c=o.length;s<c;)t=o[s]>>2,r=(3&o[s])<<4|o[s+1]>>4,n=(15&o[s+1])<<2|o[s+2]>>6,a=63&o[s+2],c<=s+1?n=a=64:c<=s+2&&(a=64),i+=ru.charAt(t)+ru.charAt(r)+ru.charAt(n)+ru.charAt(a),s+=3;return i}function df(e,t){return e&&e.base64encode?e.base64encode(t):lf(t)}function ff(e,t){if(e&&e.base64decode)return e.base64decode(t);for(var r=t.length,n=[],a=0;a<r&&t.charCodeAt(a)!==ru.charCodeAt(64);){var i=ru.indexOf(t[a]),o=ru.indexOf(t[a+1]),s=ru.indexOf(t[a+2]),c=ru.indexOf(t[a+3]),u=(63&i)<<2|o>>4&3,i=(15&o)<<4|s>>2&15,o=(3&s)<<6|63&c;0==i&&0!==s?n.push(u):0==o&&0!==c?n.push(u,i):n.push(u,i,o),a+=4}return function(e){for(var t="",r=0,n=e.length;r<n;){var a=e[r];if(a<128)t+=String.fromCharCode(a),r++;else if(192==(192&a)){for(var i=63&a,o=e[++r];128==(192&o);)i=i<<6|63&o,o=e[++r];t+=String.fromCharCode(i)}else t+=String.fromCharCode(a),r++}return t}(n)}function pf(e,t){t=jD(t)?t:t.readFile(e);if(t){t=Gk(e,t);return t.error?void 0:t.config}}function mf(e,t){return pf(e,t)||{}}function yf(e,t){return!t.directoryExists||t.directoryExists(e)}function vf(e){switch(e.newLine){case 0:return nu;case 1:case void 0:return au}}function gf(e,t){return void 0===t&&(t=e),rA.assert(e<=t||-1===t),{pos:e,end:t}}function hf(e,t){return gf(e.pos,t)}function xf(e,t){return gf(t,e.end)}function bf(e){var t=VB(e)?YN(e.modifiers,NR):void 0;return t&&!hm(t.end)?xf(e,t.end):e}function kf(e){if(AR(e)||FR(e))return xf(e,e.name.pos);var t=VB(e)?CD(e.modifiers):void 0;return t&&!hm(t.end)?xf(e,t.end):bf(e)}function Tf(e){return e.pos===e.end}function Sf(e,t){return gf(e,e+vA(t).length)}function wf(e,t){return Df(e,e,t)}function Cf(e,t,r){return If(Of(e,r,!1),Of(t,r,!1),r)}function Nf(e,t,r){return If(e.end,t.end,r)}function Df(e,t,r){return If(Of(e,r,!1),t.end,r)}function Af(e,t,r){return If(e.end,Of(t,r,!1),r)}function Ef(e,t,r,n){n=Of(t,r,n);return Mi(r,e.end,n)}function Ff(e,t,r){return Mi(r,e.end,t.end)}function Pf(e,t){return!If(e.pos,e.end,t)}function If(e,t,r){return 0===Mi(r,e,t)}function Of(e,t,r){return hm(e.pos)?-1:xA(t.text,e.pos,!1,r)}function Lf(e,t,r,n){e=xA(r.text,e,!1,n),n=function(e,t,r){void 0===t&&(t=0);for(;e-- >t;)if(!Ri(r.text.charCodeAt(e)))return e}(e,t,r);return Mi(r,null!=n?n:t,e)}function Mf(e,t,r,n){n=xA(r.text,e,!1,n);return Mi(r,e,Math.min(t,n))}function Rf(e){var t=PA(e);if(t)switch(t.parent.kind){case 266:case 267:return t===t.parent.name}return!1}function jf(e){return nD(e.declarations,Bf)}function Bf(e){return Aj(e)&&void 0!==e.initializer}function Jf(e){return e.watch&&ma(e,"watch")}function zf(e){e.close()}function BL(e){return 33554432&e.flags?e.links.checkFlags:0}function JL(e,t){if(void 0===t&&(t=!1),e.valueDeclaration){var r=DA(t&&e.declarations&&QN(e.declarations,LR)||32768&e.flags&&QN(e.declarations,OR)||e.valueDeclaration);return e.parent&&32&e.parent.flags?r:-29&r}if(6&BL(e)){r=e.links.checkFlags;return(1024&r?8:256&r?4:16)|(2048&r?32:0)}return 4194304&e.flags?36:0}function Uf(e,t){return 2097152&e.flags?t.getAliasedSymbol(e):e}function zL(e){return e.exportSymbol?e.exportSymbol.flags|e.flags:e.flags}function UL(e){return 1===Vf(e)}function VL(e){return 0!==Vf(e)}function Vf(e){var t=e.parent;switch(null==t?void 0:t.kind){case 217:return Vf(t);case 225:case 224:var r=t.operator;return 46===r||47===r?2:0;case 226:var r=t.left,n=t.operatorToken;return r===e&&wL(n.kind)?64===n.kind?1:2:0;case 211:return t.name!==e?0:Vf(t);case 303:n=Vf(t.parent);return e===t.name?function(e){switch(e){case 0:return 1;case 1:return 0;case 2:return 2;default:return rA.assertNever(e)}}(n):n;case 304:return e===t.objectAssignmentInitializer?0:Vf(t.parent);case 209:return Vf(t);default:return 0}}function qf(e,t){if(!e||!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(var r in e)if("object"==typeof e[r]){if(!qf(e[r],t[r]))return!1}else if("function"!=typeof e[r]&&e[r]!==t[r])return!1;return!0}function Wf(e,t){e.forEach(t),e.clear()}function Hf(n,a,e){var i=e.onDeleteValue,o=e.onExistingValue;n.forEach(function(e,t){var r=a.get(t);void 0===r?(n.delete(t),i(e,t)):o&&o(e,r,t)})}function Kf(r,e,t){Hf(r,e,t);var n=t.createNewValue;e.forEach(function(e,t){r.has(t)||r.set(t,n(t,e))})}function Gf(e){if(32&e.flags){e=qL(e);return!!e&&_L(e,256)}return!1}function qL(e){return null==(e=e.declarations)?void 0:e.find(NE)}function WL(e){return 138117121&e.flags?e.objectFlags:0}function Xf(e,t){return!!ti(e,function(e){return!!t(e)||void 0})}function HL(e){return!!e&&!!e.declarations&&!!e.declarations[0]&&jj(e.declarations[0])}function Qf(e){e=e.moduleSpecifier;return hR(e)?e.text:PF(e)}function Yf(e){var r;return HB(e,function(e){FF(e)&&(r=e)},function(e){for(var t=e.length-1;0<=t;t--)if(FF(e[t])){r=e[t];break}}),r}function Zf(e,t,r){return void 0===r&&(r=!0),!e.has(t)&&(e.set(t,r),!0)}function $f(e){return NE(e)||Ij(e)||VR(e)}function KL(e){return 182<=e&&e<=205||133===e||159===e||150===e||163===e||151===e||136===e||154===e||155===e||116===e||157===e||146===e||141===e||233===e||319===e||320===e||321===e||322===e||323===e||324===e||325===e}function GL(e){return 211===e.kind||212===e.kind}function ep(e){return 211===e.kind?e.name:(rA.assert(212===e.kind),e.argumentExpression)}function tp(e){switch(e.kind){case"text":case"internal":return!0;default:return!1}}function rp(e){return 275===e.kind||279===e.kind}function XL(e){for(;GL(e);)e=e.expression;return e}function np(e,n){if(GL(e.parent)&&cf(e))return function e(t){if(211===t.kind){var r=n(t.name);if(void 0!==r)return r}else if(212===t.kind){if(!xR(t.argumentExpression)&&!oF(t.argumentExpression))return;var r=n(t.argumentExpression);if(void 0!==r)return r}if(GL(t.expression))return e(t.expression);if(xR(t.expression))return n(t.expression);return}(e.parent)}function ap(e,t){for(;;){switch(e.kind){case 225:e=e.operand;continue;case 226:e=e.left;continue;case 227:e=e.condition;continue;case 215:e=e.tag;continue;case 213:if(t)return e;case 234:case 212:case 211:case 235:case 360:case 238:e=e.expression;continue}return e}}function ip(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 op(e,t){this.flags=t,(rA.isDebugging||iA)&&(this.checker=e)}function sp(e,t){this.flags=t,rA.isDebugging&&(this.checker=e)}function cp(e,t,r){this.pos=t,this.end=r,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 up(e,t,r){this.pos=t,this.end=r,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.emitNode=void 0}function _p(e,t,r){this.pos=t,this.end=r,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 lp(e,t,r){this.fileName=e,this.text=t,this.skipTrivia=r||function(e){return e}}function dp(e){iu.push(e),e(pF)}function fp(e){Object.assign(pF,e),KN(iu,function(e){return e(pF)})}function pp(e,r,n){return void 0===n&&(n=0),e.replace(/{(\d+)}/g,function(e,t){return""+rA.checkDefined(r[+t+n])})}function mp(e){ou=e}function yp(e){!ou&&e&&(ou=e())}function vp(e){return ou&&ou[e.key]||e.message}function gp(e,t,r,n){P_(void 0,t,r);var a=vp(n);return 4<arguments.length&&(a=pp(a,arguments,4)),{file:void 0,start:t,length:r,messageText:a,category:n.category,code:n.code,reportsUnnecessary:n.reportsUnnecessary,fileName:e}}function hp(e,t){var r,n,a=[];try{for(var i=__values(e),o=i.next();!o.done;o=i.next()){var s=o.value;a.push(function e(t,r){var n,a,i=r.fileName||"",o=r.text.length;rA.assertEqual(t.fileName,i),rA.assertLessThanOrEqual(t.start,o),rA.assertLessThanOrEqual(t.start+t.length,o);var s,c={file:r,start:t.start,length:t.length,messageText:t.messageText,category:t.category,code:t.code,reportsUnnecessary:t.reportsUnnecessary};if(t.relatedInformation){c.relatedInformation=[];try{for(var u=__values(t.relatedInformation),_=u.next();!_.done;_=u.next()){var l=_.value;void 0===(s=l).file&&void 0!==s.start&&void 0!==s.length&&"string"==typeof s.fileName&&l.fileName===i?(rA.assertLessThanOrEqual(l.start,o),rA.assertLessThanOrEqual(l.start+l.length,o),c.relatedInformation.push(e(l,r))):c.relatedInformation.push(l)}}catch(e){n={error:e}}finally{try{_&&!_.done&&(a=u.return)&&a.call(u)}finally{if(n)throw n.error}}}return c}(s,t))}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a}function QL(e,t,r,n){P_(e,t,r);var a=vp(n);return 4<arguments.length&&(a=pp(a,arguments,4)),{file:e,start:t,length:r,messageText:a,category:n.category,code:n.code,reportsUnnecessary:n.reportsUnnecessary,reportsDeprecated:n.reportsDeprecated}}function YL(e,t){t=vp(t);return 2<arguments.length&&(t=pp(t,arguments,2)),t}function ZL(e){var t=vp(e);return 1<arguments.length&&(t=pp(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 xp(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 $L(e,t){var r=vp(t);return 2<arguments.length&&(r=pp(r,arguments,2)),{messageText:r,category:t.category,code:t.code,next:void 0===e||Array.isArray(e)?e:[e]}}function eM(e,t){for(var r=e;r.next;)r=r.next[0];r.next=[t]}function bp(e){return e.file?e.file.path:void 0}function tM(e,t){return kp(e,t)||function(e,r){if(!e.relatedInformation&&!r.relatedInformation)return 0;if(e.relatedInformation&&r.relatedInformation)return UD(e.relatedInformation.length,r.relatedInformation.length)||KN(e.relatedInformation,function(e,t){return tM(e,r.relatedInformation[t])})||0;return e.relatedInformation?-1:1}(e,t)||0}function kp(e,t){return ge(bp(e),bp(t))||UD(e.start,t.start)||UD(e.length,t.length)||UD(e.code,t.code)||function e(t,r){{if("string"==typeof t&&"string"==typeof r)return ge(t,r);if("string"==typeof t)return-1;if("string"==typeof r)return 1}var n=ge(t.messageText,r.messageText);if(n)return n;if(!t.next&&!r.next)return 0;if(!t.next)return-1;if(!r.next)return 1;var a=Math.min(t.next.length,r.next.length);for(var i=0;i<a;i++)if(n=e(t.next[i],r.next[i]))return n;{if(t.next.length<r.next.length)return-1;if(t.next.length>r.next.length)return 1}return 0}(e.messageText,t.messageText)||0}function Tp(e){return 4===e||2===e||1===e||6===e?1:0}function Sp(e){if(2&e.transformFlags)return YE(e)||_h(e)?e:HB(e,Sp)}function wp(e){return e.isDeclarationFile?void 0:Sp(e)}function Cp(e){return!(99!==e.impliedNodeFormat&&!_A(e.fileName,[".cjs",".cts",".mjs",".mts"])||e.isDeclarationFile)||void 0}function Np(e){switch(Dp(e)){case 3:return function(e){e.externalModuleIndicator=lb(e)||!e.isDeclarationFile||void 0};case 1:return function(e){e.externalModuleIndicator=lb(e)};case 2:var t=[lb];4!==e.jsx&&5!==e.jsx||t.push(wp),t.push(Cp);var r=ZD.apply(void 0,__spreadArray([],__read(t),!1));return function(e){e.externalModuleIndicator=r(e)}}}function rM(e){var t;return null!==(t=e.target)&&void 0!==t?t:(100===e.module?9:199===e.module&&99)||1}function nM(e){return"number"==typeof e.module?e.module:2<=rM(e)?5:1}function aM(e){return 5<=e&&e<=99}function iM(e){var t=e.moduleResolution;if(void 0===t)switch(nM(e)){case 1:t=2;break;case 100:t=3;break;case 199:t=99;break;default:t=1}return t}function Dp(e){return e.moduleDetection||(100===nM(e)||199===nM(e)?3:2)}function oM(e){switch(nM(e)){case 1:case 2:case 5:case 6:case 7:case 99:case 100:case 199:return!0;default:return!1}}function sM(e){return!(!e.isolatedModules&&!e.verbatimModuleSyntax)}function Ap(e){return e.verbatimModuleSyntax||e.isolatedModules&&e.preserveValueImports}function Ep(e){return!1===e.allowUnreachableCode}function Fp(e){return!1===e.allowUnusedLabels}function Pp(e){return!(!dM(e)||!e.declarationMap)}function cM(e){if(void 0!==e.esModuleInterop)return e.esModuleInterop;switch(nM(e)){case 100:case 199:return!0}}function uM(e){return void 0!==e.allowSyntheticDefaultImports?e.allowSyntheticDefaultImports:cM(e)||4===nM(e)||100===iM(e)}function Ip(e){return 3<=e&&e<=99||100===e}function _M(e){return!!e.noDtsResolution||100!==iM(e)}function Op(e){var t=iM(e);if(!Ip(t))return!1;if(void 0!==e.resolvePackageJsonExports)return e.resolvePackageJsonExports;switch(t){case 3:case 99:case 100:return!0}return!1}function Lp(e){var t=iM(e);if(!Ip(t))return!1;if(void 0!==e.resolvePackageJsonExports)return e.resolvePackageJsonExports;switch(t){case 3:case 99:case 100:return!0}return!1}function lM(e){return void 0!==e.resolveJsonModule?e.resolveJsonModule:100===iM(e)}function dM(e){return!(!e.declaration&&!e.composite)}function fM(e){return!(!e.preserveConstEnums&&!sM(e))}function Mp(e){return!(!e.incremental&&!e.composite)}function pM(e,t){return void 0===e[t]?!!e.strict:!!e[t]}function Rp(e){return void 0===e.allowJs?!!e.checkJs:e.allowJs}function mM(e){return void 0===e.useDefineForClassFields?9<=rM(e):e.useDefineForClassFields}function yM(e){return!1!==e.useDefineForClassFields&&9<=rM(e)}function jp(e,t){return Ou(t,e,$b)}function Bp(e,t){return Ou(t,e,ek)}function Jp(e,t){return Ou(t,e,tk)}function zp(e,t){return t.strictFlag?pM(e,t.name):e[t.name]}function vM(e){e=e.jsx;return 2===e||4===e||5===e}function gM(e,t){t=null==t?void 0:t.pragmas.get("jsximportsource"),t=RD(t)?t[t.length-1]:t;return 4===e.jsx||5===e.jsx||e.jsxImportSource||t?(null==t?void 0:t.arguments.factory)||e.jsxImportSource||"react":void 0}function hM(e,t){return e?"".concat(e,"/").concat(5===t.jsx?"jsx-dev-runtime":"jsx-runtime"):void 0}function Up(e){for(var t=!1,r=0;r<e.length;r++)if(42===e.charCodeAt(r)){if(t)return!1;t=!0}return!0}function Vp(n,a){var i,o,r,u=!1;return{getSymlinkedFiles:function(){return r},getSymlinkedDirectories:function(){return i},getSymlinkedDirectoriesByRealpath:function(){return o},setSymlinkedFile:function(e,t){return(r=r||new Map).set(e,t)},setSymlinkedDirectory:function(e,t){var r=Ja(e,n,a);Om(r)||(r=Ua(r),!1===t||null!=i&&i.has(r)||(o=o||MD()).add(Ua(t.realPath),e),(i=i||new Map).set(r,t))},setSymlinksFromResolutions:function(e,t){var r,n,a,i=this;rA.assert(!u),u=!0;try{for(var o=__values(e),s=o.next();!s.done;s=o.next()){var c=s.value;null!=(a=c.resolvedModules)&&a.forEach(function(e){return _(i,e.resolvedModule)}),null!=(c=c.resolvedTypeReferenceDirectiveNames)&&c.forEach(function(e){return _(i,e.resolvedTypeReferenceDirective)})}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}t.forEach(function(e){return _(i,e.resolvedTypeReferenceDirective)})},hasProcessedResolutions:function(){return u}};function _(e,t){var r;t&&t.originalPath&&t.resolvedFileName&&(r=t.resolvedFileName,t=t.originalPath,e.setSymlinkedFile(Ja(t,n,a),r),t=(r=__read(function(e,t,r,n){var a=Ia(fA(e,r)),i=Ia(fA(t,r)),o=!1;for(;2<=a.length&&2<=i.length&&!qp(a[a.length-2],n)&&!qp(i[i.length-2],n)&&n(a[a.length-1])===n(i[i.length-1]);)a.pop(),i.pop(),o=!0;return o?[Oa(a),Oa(i)]:void 0}(r,t,n,a)||WN,2))[0],r=r[1],t&&r&&e.setSymlinkedDirectory(r,{real:t,realPath:Ja(t,n,a)}))}}function qp(e,t){return void 0!==e&&("node_modules"===t(e)||XD(e,"@"))}function Wp(e,t,r){r=Le(e,t,r);return void 0===r?void 0:xa((r=r).charCodeAt(0))?r.slice(1):void 0}function Hp(e){return e.replace(su,Kp)}function Kp(e){return"\\"+e}function Gp(e,t,r){t=Xp(e,t,r);if(t&&t.length){t=t.map(function(e){return"(".concat(e,")")}).join("|"),r="exclude"===r?"($|/)":"$";return"^(".concat(t,")").concat(r)}}function Xp(e,t,r){if(void 0!==e&&0!==e.length)return cD(e,function(e){return e&&Zp(e,t,r,pu[r])})}function Qp(e){return!/[.*?]/.test(e)}function Yp(e,t,r){t=e&&Zp(e,t,r,pu[r]);return t&&"^(".concat(t,")").concat("exclude"===r?"($|/)":"$")}function Zp(e,t,r,n){var a,i,o=n.singleAsteriskRegexFragment,s=n.doubleAsteriskRegexFragment,c=n.replaceWildcardCharacter,u="",_=!1,l=ja(e,t),t=ND(l);if("exclude"===r||"**"!==t){l[0]=za(l[0]),Qp(t)&&l.push("**","*");var d=0;try{for(var f=__values(l),p=f.next();!p.done;p=f.next()){var m,y=p.value;"**"===y?u+=s:("directories"===r&&(u+="(",d++),_&&(u+=ca),"exclude"!==r?(m="",42===y.charCodeAt(0)?(m+="([^./]"+o+")?",y=y.substr(1)):63===y.charCodeAt(0)&&(m+="[^./]",y=y.substr(1)),(m+=y.replace(su,c))!==y&&(u+=_u),u+=m):u+=y.replace(su,c)),_=!0}}catch(e){a={error:e}}finally{try{p&&!p.done&&(i=f.return)&&i.call(f)}finally{if(a)throw a.error}}for(;0<d;)u+=")?",d--;return u}}function $p(e,t){return"*"===e?t:"?"===e?"[^/]":"\\"+e}function em(e,t,r,n,a){e=pi(e);a=dA(a=pi(a),e);return{includeFilePatterns:iD(Xp(r,a,"files"),function(e){return"^".concat(e,"$")}),includeFilePattern:Gp(r,a,"files"),includeDirectoryPattern:Gp(r,a,"directories"),excludePattern:Gp(t,a,"exclude"),basePaths:function(r,e,n){var t,a,i,o,s=[r];if(e){var c=[];try{for(var u=__values(e),_=u.next();!_.done;_=u.next()){var l=_.value,l=ka(l)?l:pi(dA(r,l));c.push(function(e){var t=g(e,cu);if(t<0)return cA(e)?za(lA(e)):e;return e.substring(0,e.lastIndexOf(ca,t))}(l))}}catch(e){t={error:e}}finally{try{_&&!_.done&&(a=u.return)&&a.call(u)}finally{if(t)throw t.error}}c.sort(he(!n));try{for(var d=__values(c),f=d.next();!f.done;f=d.next())!function(t){XN(s,function(e){return!Ga(e,t,r,!n)})&&s.push(t)}(f.value)}catch(e){i={error:e}}finally{try{f&&!f.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}}return s}(e,r,n)}}function tm(e,t){return new RegExp(e,t?"":"i")}function rm(e,h,t,r,n,a,i,x,b){var o,s;e=pi(e),a=pi(a);var c=em(e,t,r,n,a),k=c.includeFilePatterns&&c.includeFilePatterns.map(function(e){return tm(e,n)}),T=c.includeDirectoryPattern&&tm(c.includeDirectoryPattern,n),S=c.excludePattern&&tm(c.excludePattern,n),w=k?k.map(function(){return[]}):[[]],C=new Map,N=KD(n);try{for(var u=__values(c.basePaths),_=u.next();!_.done;_=u.next()){var l=_.value;!function e(n,a,t){var r,i,o,s;var c=N(b(a));if(C.has(c))return;C.set(c,!0);var c=x(n),u=c.files,_=c.directories;var l=function(e){var t=dA(n,e),r=dA(a,e);return h&&!_A(t,h)||S&&S.test(r)?"continue":void(k?-1!==(e=ZN(k,function(e){return e.test(r)}))&&w[e].push(t):w[0].push(t))};try{for(var d=__values(M(u,ge)),f=d.next();!f.done;f=d.next()){var p=f.value;l(p)}}catch(e){r={error:e}}finally{try{f&&!f.done&&(i=d.return)&&i.call(d)}finally{if(r)throw r.error}}if(void 0!==t&&0===--t)return;try{for(var m=__values(M(_,ge)),y=m.next();!y.done;y=m.next()){var p=y.value,v=dA(n,p),g=dA(a,p);T&&!T.test(g)||S&&S.test(g)||e(v,g,t)}}catch(e){o={error:e}}finally{try{y&&!y.done&&(s=m.return)&&s.call(m)}finally{if(o)throw o.error}}}(l,dA(a,l),i)}}catch(e){o={error:e}}finally{try{_&&!_.done&&(s=u.return)&&s.call(u)}finally{if(o)throw o.error}}return sD(w)}function nm(e,t){return t||am(e)||3}function am(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 im(e,t){var r=e&&Rp(e);if(!t||0===t.length)return r?bu:mu;var e=r?bu:mu,n=sD(e);return __spreadArray(__spreadArray([],__read(e),!1),__read(uD(t,function(e){return 7===e.scriptKind||r&&(1===(t=e.scriptKind)||2===t)&&-1===n.indexOf(e.extension)?[e.extension]:void 0;var t})),!1)}function om(e,t){return e&&lM(e)?t===bu?ku:t===mu?vu:__spreadArray(__spreadArray([],__read(t),!1),[[".json"]],!1):t}function sm(t){return dD(xu,function(e){return uA(t,e)})}function cm(t){return dD(yu,function(e){return uA(t,e)})}function um(e,t){e=e.imports;return void 0===t&&(t=ZD(sm,cm)),GN(e,function(e){e=e.text;return sA(e)&&!_A(e,wu)?t(e):void 0})||!1}function _m(e,t,r,s){return"js"===e||99===t?ZB(r)&&2!==n()?3:2:"minimal"===e?0:"index"===e?1:ZB(r)?n():um(s)?2:0;function n(){var t,e,r=!1,n=s.imports.length?s.imports.map(function(e){return e.text}):sI(s)?function(e){var t,r,n,a=0;try{for(var i=__values(e.statements),o=i.next();!o.done;o=i.next()){var s=o.value;if(3<a)break;dl(s)?n=fD(n,s.declarationList.declarations.map(function(e){return e.initializer})):Sj(s)&&dI(s.expression,!0)?n=vD(n,s.expression):a++}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n||WN}(s).map(function(e){return e.arguments[0].text}):WN;try{for(var a=__values(n),i=a.next();!i.done;i=a.next()){var o=i.value;if(sA(o)&&!_A(o,wu)){if(cm(o))return 3;sm(o)&&(r=!0)}}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}return r?2:0}}function lm(e,t,r){var n,a;if(!e)return!1;var i=im(t,r);try{for(var o=__values(sD(om(t,i))),s=o.next();!s.done;s=o.next())if(uA(e,s.value))return!0}catch(e){n={error:e}}finally{try{s&&!s.done&&(a=o.return)&&a.call(o)}finally{if(n)throw n.error}}return!1}function dm(e){e=e.match(/\//g);return e?e.length:0}function fm(e,t){return UD(dm(e),dm(t))}function pm(e){var t,r;try{for(var n=__values(Nu),a=n.next();!a.done;a=n.next()){var i=mm(e,a.value);if(void 0!==i)return i}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return e}function mm(e,t){return uA(e,t)?xM(e,t):void 0}function xM(e,t){return e.substring(0,e.length-t.length)}function ym(e,t){return qa(e,t,Nu,!1)}function vm(e){var 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 gm(e){return uD(G(e),vm)}function hm(e){return!(0<=e)}function xm(e){return".ts"===e||".tsx"===e||".d.ts"===e||".cts"===e||".mts"===e||".d.mts"===e||".d.cts"===e||XD(e,".d.")&&qD(e,".ts")}function bM(e){return xm(e)||".json"===e}function bm(e){var t=kM(e);return void 0!==t?t:rA.fail("File ".concat(e," has unknown extension."))}function km(e){return void 0!==kM(e)}function kM(t){return QN(Nu,function(e){return uA(t,e)})}function TM(e,t){return e.checkJsDirective?e.checkJsDirective.enabled:t.checkJs}function Tm(e,t){var r,n,a=[];try{for(var i=__values(e),o=i.next();!o.done;o=i.next()){var s=o.value;if(s===t)return t;jD(s)||a.push(s)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return GD(a,function(e){return e},t)}function Sm(e,t){t=e.indexOf(t);return rA.assert(-1!==t),e.slice(t)}function SM(e){for(var t,r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];return r.length&&(e.relatedInformation||(e.relatedInformation=[]),rA.assert(e.relatedInformation!==WN,"Diagnostic had empty array singleton for related info, but is still being constructed!"),(t=e.relatedInformation).push.apply(t,__spreadArray([],__read(r),!1))),e}function wM(e,t){rA.assert(0!==e.length);for(var r=t(e[0]),n=r,a=1;a<e.length;a++){var i=t(e[a]);i<r?r=i:n<i&&(n=i)}return{min:r,max:n}}function CM(e){return{pos:c_(e),end:e.end}}function NM(e,t){return{pos:t.pos-1,end:Math.min(e.text.length,xA(e.text,t.end)+1)}}function DM(e,t,r){return t.skipLibCheck&&e.isDeclarationFile||t.skipDefaultLibCheck&&e.hasNoDefaultLib||r.isSourceOfProjectReferenceRedirect(e.fileName)}function wm(e,t){return e===t||"object"==typeof e&&null!==e&&"object"==typeof t&&null!==t&&H(e,t,wm)}function AM(e){var 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:for(var r=e.length-1,n=0;48===e.charCodeAt(n);)n++;return e.slice(n,r)||"0"}for(var a=e.length-1,i=(a-2)*t,o=new Uint16Array((i>>>4)+(15&i?1:0)),s=a-1,c=0;2<=s;s--,c+=t){var u=c>>>4,_=e.charCodeAt(s),_=(_<=57?_-48:10+_-(_<=70?65:97))<<(15&c);o[u]|=_;_=_>>>16;_&&(o[u+1]|=_)}for(var l="",d=o.length-1,f=!0;f;){for(var p=0,f=!1,u=d;0<=u;u--){var m=p<<16|o[u],y=m/10|0,p=m-10*(o[u]=y);y&&!f&&(d=u,f=!0)}l=p+l}return l}function EM(e){var t=e.negative,e=e.base10Value;return(t&&"0"!==e?"-":"")+e}function Cm(e){if(PM(e,!1))return FM(e)}function FM(e){var t=e.startsWith("-");return{negative:t,base10Value:AM("".concat(t?e.slice(1):e,"n"))}}function PM(e,t){if(""===e)return!1;var r=ao(99,!1),n=!0;r.setOnError(function(){return n=!1}),r.setText(e+"n");var a=r.scan(),i=41===a;i&&(a=r.scan());var o=r.getTokenFlags();return n&&10===a&&r.getTokenEnd()===e.length+1&&!(512&o)&&(!t||e===EM({negative:i,base10Value:AM(r.getTokenValue())}))}function IM(e){return!!(33554432&e.flags)||tI(e)||function(e){if(80!==e.kind)return!1;e=FA(e.parent,function(e){switch(e.kind){case 298:return!0;case 211:case 233:return!1;default:return"quit"}});return 119===(null==e?void 0:e.token)||264===(null==e?void 0:e.parent.kind)}(e)||function(e){for(;80===e.kind||211===e.kind;)e=e.parent;if(167!==e.kind)return!1;if(_L(e.parent,256))return!0;var t=e.parent.parent.kind;return 264===t||187===t}(e)||!($P(e)||xR(e=e)&&oB(e.parent)&&e.parent.name===e)}function OM(e){return BR(e)&&xR(e.typeName)}function LM(e,t){if(void 0===t&&(t=zD),e.length<2)return!0;for(var r=e[0],n=1,a=e.length;n<a;n++)if(!t(r,e[n]))return!1;return!0}function Nm(e,t){return e.pos=t,e}function Dm(e,t){return e.end=t,e}function MM(e,t,r){return Dm(Nm(e,t),r)}function Am(e,t,r){return MM(e,t,t+r)}function RM(e,t){return e&&(e.flags=t),e}function jM(e,t){return e&&t&&(e.parent=t),e}function Em(e,t){var r,n;if(e)try{for(var a=__values(e),i=a.next();!i.done;i=a.next())jM(i.value,t)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return e}function Fm(e,r){return e&&(KB(e,ZE(e)?o:function(e,t){return o(e,t)||function(e){var t,r;if(tF(e))try{for(var n=__values(e.jsDoc),a=n.next();!a.done;a=n.next()){var i=a.value;o(i,e),KB(i,o)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}(e)}),e);function o(e,t){if(r&&e.parent===t)return"skip";jM(e,t)}}function Pm(e){return!gj(e)}function Im(e){return rj(e)&&XN(e.elements,Pm)}function BM(e){for(rA.assertIsDefined(e.parent);;){var t=e.parent;if(uj(t))e=t;else{if(Sj(t)||Eg(t)||Cj(t)&&(t.initializer===e||t.incrementor===e))return!0;if(Jg(t)){if(e!==ND(t.elements))return!0;e=t}else{if(!mj(t)||28!==t.operatorToken.kind)return!1;if(e===t.left)return!0;e=t}}}}function Om(t){return dD(jn,function(e){return WD(t,e)})}function Lm(e){if(e.parent){switch(e.kind){case 168:var t=e.parent;return 195===t.kind?void 0:t.typeParameters;case 169:return e.parent.parameters;case 204:case 239:return e.parent.templateSpans;case 170:t=e.parent;return qB(t)?t.modifiers:void 0;case 298:return e.parent.heritageClauses}var r=e.parent;if(Fc(e))return xB(e.parent)?void 0:e.parent.tags;switch(r.kind){case 187:case 264:return Ks(e)?r.members:void 0;case 192:case 193:return r.types;case 189:case 209:case 361:case 275:case 279:return r.elements;case 210:case 292:return r.properties;case 213:case 214:return FE(e)?r.typeArguments:r.expression===e?void 0:r.arguments;case 284:case 288:return Nc(e)?r.children:void 0;case 286:case 285:return FE(e)?r.typeArguments:void 0;case 241:case 296:case 297:case 268:return r.statements;case 269:return r.clauses;case 263:case 231:return CE(e)?r.members:void 0;case 266:return cB(e)?r.members:void 0;case 312:return r.statements}}}function JM(e){if(!e.typeParameters){if(dD(e.parameters,function(e){return!nL(e)}))return!0;if(219!==e.kind){e=kD(e.parameters);if(!e||!ZO(e))return!0}}return!1}function zM(e){return"Infinity"===e||"-Infinity"===e||"NaN"===e}function Mm(e){return 260===e.kind&&299===e.parent.kind}function UM(e){e=e.valueDeclaration&&MO(e.valueDeclaration);return!!e&&(CR(e)||Mm(e))}function VM(e){return 218===e.kind||219===e.kind}function Rm(e){return e.replace(/\$/gm,function(){return"\\$"})}function qM(e){return(+e).toString()===e}function WM(e,t,r,n){return bA(e,t)?uR.createIdentifier(e):!n&&qM(e)&&0<=+e?uR.createNumericLiteral(+e):uR.createStringLiteral(e,!!r)}function HM(e){return!!(262144&e.flags&&e.isThisType)}function jm(e){var t,r=0,n=0,a=0;(t={})[t.BeforeNodeModules=0]="BeforeNodeModules",t[t.NodeModules=1]="NodeModules",t[t.Scope=2]="Scope",t[t.PackageContent=3]="PackageContent";for(var i=0,o=0,s=0;0<=o;)switch(i=o,o=e.indexOf("/",i+1),s){case 0:e.indexOf(ZT,i)===i&&(r=i,n=o,s=1);break;case 1:case 2:s=1===s&&"@"===e.charAt(i+1)?2:(a=o,3);break;case 3:s=e.indexOf(ZT,i)===i?1:3}return 1<s?{topLevelNodeModulesIndex:r,topLevelPackageNameIndex:n,packageRootIndex:a,fileNameIndex:i}:void 0}function Bm(e){var t;return 348===e.kind?null==(t=e.typeExpression)?void 0:t.type:e.type}function KM(e){switch(e.kind){case 168:case 263:case 264:case 265:case 266:case 353:case 345:case 347:return!0;case 273:return e.isTypeOnly;case 276:case 281:return e.parent.parent.isTypeOnly;default:return!1}}function GM(e){return Lj(e)||Tj(e)||Fj(e)||Pj(e)||Ij(e)||KM(e)||Mj(e)&&!UF(e)&&!zF(e)}function XM(e){if(!_E(e))return!1;var t=e.isBracketed,e=e.typeExpression;return t||!!e&&323===e.type.kind}function QM(e,t){if(0===e.length)return!1;var r=e.charCodeAt(0);return 35===r?1<e.length&&ro(e.charCodeAt(1),t):ro(r,t)}function Jm(e){return 0===(null==(e=Gy(e))?void 0:e.kind)}function YM(e){return cI(e)&&(e.type&&323===e.type.kind||VA(e).some(function(e){var t=e.isBracketed,e=e.typeExpression;return t||!!e&&323===e.type.kind}))}function ZM(e){switch(e.kind){case 172:case 171:return!!e.questionToken;case 169:return!!e.questionToken||YM(e);case 355:case 348:return XM(e);default:return!1}}function $M(e){var t=e.kind;return(211===t||212===t)&&Rg(e.expression)}function eR(e){return cI(e)&&uj(e)&&tF(e)&&!!cs(e)}function tR(e){return rA.checkDefined(rR(e))}function rR(e){e=cs(e);return e&&e.typeExpression&&e.typeExpression.type}function nR(e){return xR(e)?e.escapedText:iR(e)}function aR(e){return(xR(e)?LA:Um)(e)}function zm(e){e=e.kind;return 80===e||295===e}function iR(e){return"".concat(e.namespace.escapedText,":").concat(LA(e.name))}function Um(e){return"".concat(LA(e.namespace),":").concat(LA(e.name))}function oR(e){return(xR(e)?LA:Um)(e)}function sR(e){return!!(8576&e.flags)}function cR(e){return 8192&e.flags?e.escapedName:384&e.flags?IA(""+e.value):rA.fail()}var Vm=e({"src/compiler/utilities.ts":function(){MK(),_F=[],lF="tslib",dF=160,fF=1e6,Oc=Eu(),Lc=function(e){return e[e.None=0]="None",e[e.NeverAsciiEscape=1]="NeverAsciiEscape",e[e.JsxAttributeEscape=2]="JsxAttributeEscape",e[e.TerminateUnterminatedLiterals=4]="TerminateUnterminatedLiterals",e[e.AllowNumericSeparator=8]="AllowNumericSeparator",e}(Lc||{}),Mc=/^(\/\/\/\s*<reference\s+path\s*=\s*)(('[^']*')|("[^"]*")).*?\/>/,Rc=/^(\/\/\/\s*<reference\s+types\s*=\s*)(('[^']*')|("[^"]*")).*?\/>/,jc=/^(\/\/\/\s*<reference\s+lib\s*=\s*)(('[^']*')|("[^"]*")).*?\/>/,Bc=/^(\/\/\/\s*<amd-dependency\s+path\s*=\s*)(('[^']*')|("[^"]*")).*?\/>/,Jc=/^\/\/\/\s*<amd-module\s+.*?\/>/,zc=/^(\/\/\/\s*<reference\s+no-default-lib\s*=\s*)(('[^']*')|("[^"]*"))\s*\/>/,Uc=function(e){return e[e.None=0]="None",e[e.Definite=1]="Definite",e[e.Compound=2]="Compound",e}(Uc||{}),Vc=function(e){return e[e.Normal=0]="Normal",e[e.Generator=1]="Generator",e[e.Async=2]="Async",e[e.Invalid=4]="Invalid",e[e.AsyncGenerator=3]="AsyncGenerator",e}(Vc||{}),qc=function(e){return e[e.Left=0]="Left",e[e.Right=1]="Right",e}(qc||{}),Wc=function(e){return e[e.Comma=0]="Comma",e[e.Spread=1]="Spread",e[e.Yield=2]="Yield",e[e.Assignment=3]="Assignment",e[e.Conditional=4]="Conditional",e[e.Coalesce=4]="Coalesce",e[e.LogicalOR=5]="LogicalOR",e[e.LogicalAND=6]="LogicalAND",e[e.BitwiseOR=7]="BitwiseOR",e[e.BitwiseXOR=8]="BitwiseXOR",e[e.BitwiseAND=9]="BitwiseAND",e[e.Equality=10]="Equality",e[e.Relational=11]="Relational",e[e.Shift=12]="Shift",e[e.Additive=13]="Additive",e[e.Multiplicative=14]="Multiplicative",e[e.Exponentiation=15]="Exponentiation",e[e.Unary=16]="Unary",e[e.Update=17]="Update",e[e.LeftHandSide=18]="LeftHandSide",e[e.Member=19]="Member",e[e.Primary=20]="Primary",e[e.Highest=20]="Highest",e[e.Lowest=0]="Lowest",e[e.Invalid=-1]="Invalid",e}(Wc||{}),Hc=/\$\{/g,Kc=/[\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,Gc=/[\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,Xc=/\r\n|[\\`\u0000-\u001f\t\v\f\b\r\u2028\u2029\u0085]/g,Qc=new Map(Object.entries({"\t":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","":"\\u0085","\r\n":"\\r\\n"})),Yc=/[^\u0000-\u007F]/g,Zc=/["\u0000-\u001f\u2028\u2029\u0085]/g,$c=/['\u0000-\u001f\u2028\u2029\u0085]/g,eu=new Map(Object.entries({'"':"&quot;","'":"&apos;"})),tu=["","    "],ru="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",nu="\r\n",au="\n",pF={getNodeConstructor:function(){return cp},getTokenConstructor:function(){return up},getIdentifierConstructor:function(){return _p},getPrivateIdentifierConstructor:function(){return cp},getSourceFileConstructor:function(){return cp},getSymbolConstructor:function(){return ip},getTypeConstructor:function(){return op},getSignatureConstructor:function(){return sp},getSourceMapSourceConstructor:function(){return lp}},iu=[],su=/[^\w\s/]/g,cu=[42,63],_u="(?!(".concat((uu=["node_modules","bower_components","jspm_packages"]).join("|"),")(/|$))"),lu={singleAsteriskRegexFragment:"([^./]|(\\.(?!min\\.js$))?)*",doubleAsteriskRegexFragment:"(/".concat(_u,"[^/.][^/]*)*?"),replaceWildcardCharacter:function(e){return $p(e,lu.singleAsteriskRegexFragment)}},du={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/".concat(_u,"[^/.][^/]*)*?"),replaceWildcardCharacter:function(e){return $p(e,du.singleAsteriskRegexFragment)}},pu={files:lu,directories:du,exclude:fu={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/.+?)?",replaceWildcardCharacter:function(e){return $p(e,fu.singleAsteriskRegexFragment)}}},yu=sD(mu=[[".ts",".tsx",".d.ts"],[".cts",".d.cts"],[".mts",".d.mts"]]),vu=__spreadArray(__spreadArray([],__read(mu),!1),[[".json"]],!1),gu=[".d.ts",".d.cts",".d.mts",".cts",".mts",".ts",".tsx"],xu=sD(hu=[[".js",".jsx"],[".mjs"],[".cjs"]]),ku=__spreadArray(__spreadArray([],__read(bu=[[".ts",".tsx",".d.ts",".js",".jsx"],[".cts",".d.cts",".cjs"],[".mts",".d.mts",".mjs"]]),!1),[[".json"]],!1),Tu=[".d.ts",".d.cts",".d.mts"],Su=[".ts",".cts",".mts",".tsx"],wu=[".mts",".d.mts",".mjs",".cts",".d.cts",".cjs"],Cu=function(e){return e[e.Minimal=0]="Minimal",e[e.Index=1]="Index",e[e.JsExtension=2]="JsExtension",e[e.TsExtension=3]="TsExtension",e}(Cu||{}),Nu=[".d.ts",".d.mts",".d.cts",".mjs",".mts",".cjs",".cts",".ts",".js",".tsx",".jsx",".json"],Du={files:WN,directories:WN}}});function qm(){var t,r,n,a,i;return{createBaseSourceFileNode:function(e){return new(i=i||pF.getSourceFileConstructor())(e,-1,-1)},createBaseIdentifierNode:function(e){return new(n=n||pF.getIdentifierConstructor())(e,-1,-1)},createBasePrivateIdentifierNode:function(e){return new(a=a||pF.getPrivateIdentifierConstructor())(e,-1,-1)},createBaseTokenNode:function(e){return new(r=r||pF.getTokenConstructor())(e,-1,-1)},createBaseNode:function(e){return new(t=t||pF.getNodeConstructor())(e,-1,-1)}}}var Wm,Hm=e({"src/compiler/factory/baseNodeFactory.ts":function(){MK()}});function Km(a){var r,n;return{getParenthesizeLeftSideOfBinaryForOperator:function(t){r=r||new Map;var e=r.get(t);e||(e=function(e){return o(t,e)},r.set(t,e));return e},getParenthesizeRightSideOfBinaryForOperator:function(t){n=n||new Map;var e=n.get(t);e||(e=function(e){return s(t,void 0,e)},n.set(t,e));return e},parenthesizeLeftSideOfBinary:o,parenthesizeRightSideOfBinary:s,parenthesizeExpressionOfComputedPropertyName:function(e){return OB(e)?a.createParenthesizedExpression(e):e},parenthesizeConditionOfConditionalExpression:function(e){var t=cd(227,58);return 1===UD(od(vs(e)),t)?e:a.createParenthesizedExpression(e)},parenthesizeBranchOfConditionalExpression:function(e){return OB(vs(e))?a.createParenthesizedExpression(e):e},parenthesizeExpressionOfExportDefault:function(e){var t=vs(e),r=OB(t);if(!r)switch(ap(t,!1).kind){case 231:case 218:r=!0}return r?a.createParenthesizedExpression(e):e},parenthesizeExpressionOfNew:function(e){var t=ap(e,!0);switch(t.kind){case 213:return a.createParenthesizedExpression(e);case 214:return t.arguments?e:a.createParenthesizedExpression(e)}return u(e)},parenthesizeLeftSideOfAccess:u,parenthesizeOperandOfPostfixUnary:function(e){return RE(e)?e:UB(a.createParenthesizedExpression(e),e)},parenthesizeOperandOfPrefixUnary:function(e){return sc(e)?e:UB(a.createParenthesizedExpression(e),e)},parenthesizeExpressionsOfCommaDelimitedList:function(e){var t=oD(e,_);return UB(a.createNodeArray(t,e.hasTrailingComma),e)},parenthesizeExpressionForDisallowedComma:_,parenthesizeExpressionOfExpressionStatement:function(e){var t=vs(e);if(oj(t)){var r=t.expression,n=vs(r).kind;if(218===n||219===n){r=a.updateCallExpression(t,UB(a.createParenthesizedExpression(r),r),t.typeArguments,t.arguments);return a.restoreOuterExpressions(e,r,8)}}t=ap(t,!1).kind;return 210!==t&&218!==t?e:UB(a.createParenthesizedExpression(e),e)},parenthesizeConciseBodyOfArrowFunction:function(e){return kj(e)||!OB(e)&&210!==ap(e,!1).kind?e:UB(a.createParenthesizedExpression(e),e)},parenthesizeCheckTypeOfConditionalType:t,parenthesizeExtendsTypeOfConditionalType:function(e){if(194===e.kind)return a.createParenthesizedType(e);return e},parenthesizeConstituentTypesOfUnionType:function(e){return a.createNodeArray(oD(e,l))},parenthesizeConstituentTypeOfUnionType:l,parenthesizeConstituentTypesOfIntersectionType:function(e){return a.createNodeArray(oD(e,d))},parenthesizeConstituentTypeOfIntersectionType:d,parenthesizeOperandOfTypeOperator:f,parenthesizeOperandOfReadonlyTypeOperator:function(e){if(198===e.kind)return a.createParenthesizedType(e);return f(e)},parenthesizeNonArrayTypeOfPostfixType:p,parenthesizeElementTypesOfTupleType:function(e){return a.createNodeArray(oD(e,m))},parenthesizeElementTypeOfTupleType:m,parenthesizeTypeOfOptionalType:function(e){return y(e)?a.createParenthesizedType(e):p(e)},parenthesizeTypeArguments:function(e){if(dD(e))return a.createNodeArray(oD(e,g))},parenthesizeLeadingTypeArgument:v};function c(e){if(Ds((e=vs(e)).kind))return e.kind;if(226!==e.kind||40!==e.operatorToken.kind)return 0;if(void 0!==e.cachedLiteralKind)return e.cachedLiteralKind;var t=c(e.left),t=Ds(t)&&t===c(e.right)?t:0;return e.cachedLiteralKind=t}function i(e,t,r,n){return 217!==vs(t).kind&&function(e,t,r,n){var a=cd(226,e),i=id(226,e),o=vs(t);if(!r&&219===t.kind&&3<a)return 1;switch(UD(od(o),a)){case-1:return r||1!==i||229!==t.kind?1:void 0;case 1:return;case 0:if(r)return 1===i;if(mj(o)&&o.operatorToken.kind===e){if(42===(s=e)||52===s||51===s||53===s||28===s)return;if(40===e){var s=n?c(n):0;if(Ds(s)&&s===c(o))return}}return 0===ad(o)}}(e,t,r,n)?a.createParenthesizedExpression(t):t}function o(e,t){return i(e,t,!0)}function s(e,t,r){return i(e,r,!1,t)}function u(e,t){var r=vs(e);return!RE(r)||214===r.kind&&!r.arguments||!t&&aE(r)?UB(a.createParenthesizedExpression(e),e):e}function _(e){var t=od(vs(e));return cd(226,28)<t?e:UB(a.createParenthesizedExpression(e),e)}function t(e){switch(e.kind){case 184:case 185:case 194:return a.createParenthesizedType(e)}return e}function l(e){switch(e.kind){case 192:case 193:return a.createParenthesizedType(e)}return t(e)}function d(e){switch(e.kind){case 192:case 193:return a.createParenthesizedType(e)}return l(e)}function f(e){return 193===e.kind?a.createParenthesizedType(e):d(e)}function p(e){switch(e.kind){case 195:case 198:case 186:return a.createParenthesizedType(e)}return f(e)}function m(e){return y(e)?a.createParenthesizedType(e):e}function y(e){return mB(e)?e.postfix:WR(e)||JR(e)||zR(e)||XR(e)?y(e.type):kg(e)?y(e.falseType):xg(e)||bg(e)?y(ND(e.types)):!!Tg(e)&&(!!e.typeParameter.constraint&&y(e.typeParameter.constraint))}function v(e){return Xs(e)&&e.typeParameters?a.createParenthesizedType(e):e}function g(e,t){return 0===t?v(e):e}}var Gm,Xm=e({"src/compiler/factory/parenthesizerRules.ts":function(){MK(),Wm={getParenthesizeLeftSideOfBinaryForOperator:function(e){return ir},getParenthesizeRightSideOfBinaryForOperator:function(e){return ir},parenthesizeLeftSideOfBinary:function(e,t){return t},parenthesizeRightSideOfBinary:function(e,t,r){return r},parenthesizeExpressionOfComputedPropertyName:ir,parenthesizeConditionOfConditionalExpression:ir,parenthesizeBranchOfConditionalExpression:ir,parenthesizeExpressionOfExportDefault:ir,parenthesizeExpressionOfNew:function(e){return JD(e,RE)},parenthesizeLeftSideOfAccess:function(e){return JD(e,RE)},parenthesizeOperandOfPostfixUnary:function(e){return JD(e,RE)},parenthesizeOperandOfPrefixUnary:function(e){return JD(e,sc)},parenthesizeExpressionsOfCommaDelimitedList:function(e){return JD(e,Ns)},parenthesizeExpressionForDisallowedComma:ir,parenthesizeExpressionOfExpressionStatement:ir,parenthesizeConciseBodyOfArrowFunction:ir,parenthesizeCheckTypeOfConditionalType:ir,parenthesizeExtendsTypeOfConditionalType:ir,parenthesizeConstituentTypesOfUnionType:function(e){return JD(e,Ns)},parenthesizeConstituentTypeOfUnionType:ir,parenthesizeConstituentTypesOfIntersectionType:function(e){return JD(e,Ns)},parenthesizeConstituentTypeOfIntersectionType:ir,parenthesizeOperandOfTypeOperator:ir,parenthesizeOperandOfReadonlyTypeOperator:ir,parenthesizeNonArrayTypeOfPostfixType:ir,parenthesizeElementTypesOfTupleType:function(e){return JD(e,Ns)},parenthesizeElementTypeOfTupleType:ir,parenthesizeTypeOfOptionalType:ir,parenthesizeTypeArguments:function(e){return e&&JD(e,Ns)},parenthesizeLeadingTypeArgument:ir}}});function Qm(n){return{convertToFunctionBlock:function(e,t){if(kj(e))return e;var r=n.createReturnStatement(e);UB(r,e);t=n.createBlock([r],t);return UB(t,e),t},convertToFunctionExpression:function(e){if(!e.body)return rA.fail("Cannot convert a FunctionDeclaration without a body");var t=n.createFunctionExpression(null==(t=UA(e))?void 0:t.filter(function(e){return!og(e)&&!sg(e)}),e.asteriskToken,e.name,e.typeParameters,e.parameters,e.type,e.body);_R(t,e),UB(t,e),Iy(e)&&Oy(t,!0);return t},convertToClassExpression:function(e){var t=n.createClassExpression(null==(t=e.modifiers)?void 0:t.filter(function(e){return!og(e)&&!sg(e)}),e.name,e.typeParameters,e.heritageClauses,e.members);_R(t,e),UB(t,e),Iy(e)&&Oy(t,!0);return t},convertToArrayAssignmentElement:t,convertToObjectAssignmentElement:r,convertToAssignmentPattern:a,convertToObjectAssignmentPattern:i,convertToArrayAssignmentPattern:o,convertToAssignmentElementTarget:s};function t(e){if(tj(e)){if(e.dotDotDotToken)return rA.assertNode(e.name,xR),_R(UB(n.createSpreadElement(e.name),e),e);var t=s(e.name);return e.initializer?_R(UB(n.createAssignment(t,e.initializer),e),e):t}return JD(e,jE)}function r(e){if(tj(e)){if(e.dotDotDotToken)return rA.assertNode(e.name,xR),_R(UB(n.createSpreadAssignment(e.name),e),e);if(e.propertyName){var t=s(e.name);return _R(UB(n.createPropertyAssignment(e.propertyName,e.initializer?n.createAssignment(t,e.initializer):t),e),e)}return rA.assertNode(e.name,xR),_R(UB(n.createShorthandPropertyAssignment(e.name,e.initializer),e),e)}return JD(e,EE)}function a(e){switch(e.kind){case 207:case 209:return o(e);case 206:case 210:return i(e)}}function i(e){return $R(e)?_R(UB(n.createObjectLiteralExpression(iD(e.elements,r)),e),e):JD(e,nj)}function o(e){return ej(e)?_R(UB(n.createArrayLiteralExpression(iD(e.elements,t)),e),e):JD(e,rj)}function s(e){return PE(e)?a(e):JD(e,jE)}}var Ym,Zm,$m,ey,ty,ry,uR,ny,ay=e({"src/compiler/factory/nodeConverters.ts":function(){MK(),Gm={convertToFunctionBlock:ue,convertToFunctionExpression:ue,convertToClassExpression:ue,convertToArrayAssignmentElement:ue,convertToObjectAssignmentElement:ue,convertToAssignmentPattern:ue,convertToObjectAssignmentPattern:ue,convertToArrayAssignmentPattern:ue,convertToAssignmentElementTarget:ue}}});function iy(e){$m.push(e)}function oy(e,s){var u=8&e?sy:cy,c=va(function(){return 1&e?Wm:Km(v)}),t=va(function(){return 2&e?Gm:Qm(v)}),r=ga(function(r){return function(e,t){return gt(e,r,t)}}),n=ga(function(t){return function(e){return yt(t,e)}}),a=ga(function(t){return function(e){return vt(e,t)}}),i=ga(function(e){return function(){return h(e)}}),o=ga(function(t){return function(e){return qr(t,e)}}),_=ga(function(n){return function(e,t){return r=n,t=t,(e=e).type!==t?u(qr(r,t),e):e;var r}}),l=ga(function(r){return function(e,t){return Vr(r,e,t)}}),d=ga(function(n){return function(e,t){return r=n,t=t,(e=e).type!==t?u(Vr(r,t,e.postfix),e):e;var r}}),f=ga(function(r){return function(e,t){return fn(r,e,t)}}),p=ga(function(n){return function(e,t,r){return function(e,t,r,n){void 0===r&&(r=Xr(t));return t.tagName!==r||t.comment!==n?u(fn(e,r,n),t):t}(n,e,t,r)}}),m=ga(function(n){return function(e,t,r){return pn(n,e,t,r)}}),y=ga(function(a){return function(e,t,r,n){return function(e,t,r,n,a){void 0===r&&(r=Xr(t));return t.tagName!==r||t.typeExpression!==n||t.comment!==a?u(pn(e,r,n,a),t):t}(a,e,t,r,n)}}),v={get parenthesizer(){return c()},get converters(){return t()},baseFactory:s,flags:e,createNodeArray:g,createNumericLiteral:k,createBigIntLiteral:T,createStringLiteral:w,createStringLiteralFromNode:function(e){var t=S(AO(e),void 0);return t.textSourceNode=e,t},createRegularExpressionLiteral:C,createLiteralLikeNode:function(e,t){switch(e){case 9:return k(t,0);case 10:return T(t);case 11:return w(t,void 0);case 12:return Sn(t,!1);case 13:return Sn(t,!0);case 14:return C(t);case 15:return wt(e,t,void 0,0)}},createIdentifier:A,createTempVariable:E,createLoopVariable:function(e){var t=2;e&&(t|=8);return D("",t,void 0,void 0)},createUniqueName:function(e,t,r,n){void 0===t&&(t=0);return rA.assert(!(7&t),"Argument out of range: flags"),rA.assert(32!=(48&t),"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic"),D(e,3|t,r,n)},getGeneratedNameForNode:F,createPrivateIdentifier:function(e){XD(e,"#")||rA.fail("First character of private identifier must be #: "+e);return P(IA(e))},createUniquePrivateName:function(e,t,r){e&&!XD(e,"#")&&rA.fail("First character of private identifier must be #: "+e);return I(null!=e?e:"",8|(e?3:1),t,r)},getGeneratedPrivateNameForNode:function(e,t,r){r=I(ps(e)?Jx(!0,t,e,r,LA):"#generated@".concat(mJ(e)),4|(t||r?16:0),t,r);return r.original=e,r},createToken:L,createSuper:function(){return L(108)},createThis:M,createNull:R,createTrue:j,createFalse:B,createModifier:J,createModifiersFromModifierFlags:z,createQualifiedName:U,updateQualifiedName:function(e,t,r){return e.left!==t||e.right!==r?u(U(t,r),e):e},createComputedPropertyName:V,updateComputedPropertyName:function(e,t){return e.expression!==t?u(V(t),e):e},createTypeParameterDeclaration:q,updateTypeParameterDeclaration:W,createParameterDeclaration:H,updateParameterDeclaration:K,createDecorator:G,updateDecorator:function(e,t){return e.expression!==t?u(G(t),e):e},createPropertySignature:X,updatePropertySignature:Q,createPropertyDeclaration:Y,updatePropertyDeclaration:Z,createMethodSignature:$,updateMethodSignature:ee,createMethodDeclaration:te,updateMethodDeclaration:re,createConstructorDeclaration:ae,updateConstructorDeclaration:ie,createGetAccessorDeclaration:oe,updateGetAccessorDeclaration:se,createSetAccessorDeclaration:ce,updateSetAccessorDeclaration:ue,createCallSignature:_e,updateCallSignature:function(e,t,r,n){return e.typeParameters!==t||e.parameters!==r||e.type!==n?b(_e(t,r,n),e):e},createConstructSignature:le,updateConstructSignature:function(e,t,r,n){return e.typeParameters!==t||e.parameters!==r||e.type!==n?b(le(t,r,n),e):e},createIndexSignature:de,updateIndexSignature:fe,createClassStaticBlockDeclaration:ne,updateClassStaticBlockDeclaration:function(e,t){return e.body!==t?function(e,t){e!==t&&(e.modifiers=t.modifiers);return u(e,t)}(ne(t),e):e},createTemplateLiteralTypeSpan:pe,updateTemplateLiteralTypeSpan:function(e,t,r){return e.type!==t||e.literal!==r?u(pe(t,r),e):e},createKeywordTypeNode:L,createTypePredicateNode:me,updateTypePredicateNode:function(e,t,r,n){return e.assertsModifier!==t||e.parameterName!==r||e.type!==n?u(me(t,r,n),e):e},createTypeReferenceNode:ye,updateTypeReferenceNode:function(e,t,r){return e.typeName!==t||e.typeArguments!==r?u(ye(t,r),e):e},createFunctionTypeNode:ve,updateFunctionTypeNode:function(e,t,r,n){return e.typeParameters!==t||e.parameters!==r||e.type!==n?function(e,t){e!==t&&(e.modifiers=t.modifiers);return b(e,t)}(ve(t,r,n),e):e},createConstructorTypeNode:ge,updateConstructorTypeNode:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 5===e.length?xe.apply(void 0,__spreadArray([],__read(e),!1)):4===e.length?function(e,t,r,n){return xe(e,e.modifiers,t,r,n)}.apply(void 0,__spreadArray([],__read(e),!1)):rA.fail("Incorrect number of arguments specified.")},createTypeQueryNode:be,updateTypeQueryNode:function(e,t,r){return e.exprName!==t||e.typeArguments!==r?u(be(t,r),e):e},createTypeLiteralNode:ke,updateTypeLiteralNode:function(e,t){return e.members!==t?u(ke(t),e):e},createArrayTypeNode:Te,updateArrayTypeNode:function(e,t){return e.elementType!==t?u(Te(t),e):e},createTupleTypeNode:Se,updateTupleTypeNode:function(e,t){return e.elements!==t?u(Se(t),e):e},createNamedTupleMember:we,updateNamedTupleMember:function(e,t,r,n,a){return e.dotDotDotToken!==t||e.name!==r||e.questionToken!==n||e.type!==a?u(we(t,r,n,a),e):e},createOptionalTypeNode:Ce,updateOptionalTypeNode:function(e,t){return e.type!==t?u(Ce(t),e):e},createRestTypeNode:Ne,updateRestTypeNode:function(e,t){return e.type!==t?u(Ne(t),e):e},createUnionTypeNode:function(e){return De(192,e,c().parenthesizeConstituentTypesOfUnionType)},updateUnionTypeNode:function(e,t){return Ae(e,t,c().parenthesizeConstituentTypesOfUnionType)},createIntersectionTypeNode:function(e){return De(193,e,c().parenthesizeConstituentTypesOfIntersectionType)},updateIntersectionTypeNode:function(e,t){return Ae(e,t,c().parenthesizeConstituentTypesOfIntersectionType)},createConditionalTypeNode:Ee,updateConditionalTypeNode:function(e,t,r,n,a){return e.checkType!==t||e.extendsType!==r||e.trueType!==n||e.falseType!==a?u(Ee(t,r,n,a),e):e},createInferTypeNode:Fe,updateInferTypeNode:function(e,t){return e.typeParameter!==t?u(Fe(t),e):e},createImportTypeNode:Ie,updateImportTypeNode:function(e,t,r,n,a,i){void 0===i&&(i=e.isTypeOf);return e.argument!==t||e.assertions!==r||e.qualifier!==n||e.typeArguments!==a||e.isTypeOf!==i?u(Ie(t,r,n,a,i),e):e},createParenthesizedType:Oe,updateParenthesizedType:function(e,t){return e.type!==t?u(Oe(t),e):e},createThisTypeNode:function(){var e=h(197);return e.transformFlags=1,e},createTypeOperatorNode:Le,updateTypeOperatorNode:function(e,t){return e.type!==t?u(Le(e.operator,t),e):e},createIndexedAccessTypeNode:Me,updateIndexedAccessTypeNode:function(e,t,r){return e.objectType!==t||e.indexType!==r?u(Me(t,r),e):e},createMappedTypeNode:Re,updateMappedTypeNode:function(e,t,r,n,a,i,o){return e.readonlyToken!==t||e.typeParameter!==r||e.nameType!==n||e.questionToken!==a||e.type!==i||e.members!==o?u(Re(t,r,n,a,i,o),e):e},createLiteralTypeNode:je,updateLiteralTypeNode:function(e,t){return e.literal!==t?u(je(t),e):e},createTemplateLiteralType:Pe,updateTemplateLiteralType:function(e,t,r){return e.head!==t||e.templateSpans!==r?u(Pe(t,r),e):e},createObjectBindingPattern:Be,updateObjectBindingPattern:function(e,t){return e.elements!==t?u(Be(t),e):e},createArrayBindingPattern:Je,updateArrayBindingPattern:function(e,t){return e.elements!==t?u(Je(t),e):e},createBindingElement:ze,updateBindingElement:function(e,t,r,n,a){return e.propertyName!==r||e.dotDotDotToken!==t||e.name!==n||e.initializer!==a?u(ze(t,r,n,a),e):e},createArrayLiteralExpression:Ue,updateArrayLiteralExpression:function(e,t){return e.elements!==t?u(Ue(t,e.multiLine),e):e},createObjectLiteralExpression:Ve,updateObjectLiteralExpression:function(e,t){return e.properties!==t?u(Ve(t,e.multiLine),e):e},createPropertyAccessExpression:4&e?function(e,t){return lR(We(e,t),262144)}:We,updatePropertyAccessExpression:function(e,t,r){if(ms(e))return Ke(e,t,e.questionDotToken,JD(r,xR));return e.expression!==t||e.name!==r?u(We(t,r),e):e},createPropertyAccessChain:4&e?function(e,t,r){return lR(He(e,t,r),262144)}:He,updatePropertyAccessChain:Ke,createElementAccessExpression:Xe,updateElementAccessExpression:function(e,t,r){if(ys(e))return Ye(e,t,e.questionDotToken,r);return e.expression!==t||e.argumentExpression!==r?u(Xe(t,r),e):e},createElementAccessChain:Qe,updateElementAccessChain:Ye,createCallExpression:$e,updateCallExpression:function(e,t,r,n){if(nE(e))return tt(e,t,e.questionDotToken,r,n);return e.expression!==t||e.typeArguments!==r||e.arguments!==n?u($e(t,r,n),e):e},createCallChain:et,updateCallChain:tt,createNewExpression:rt,updateNewExpression:function(e,t,r,n){return e.expression!==t||e.typeArguments!==r||e.arguments!==n?u(rt(t,r,n),e):e},createTaggedTemplateExpression:nt,updateTaggedTemplateExpression:function(e,t,r,n){return e.tag!==t||e.typeArguments!==r||e.template!==n?u(nt(t,r,n),e):e},createTypeAssertion:at,updateTypeAssertion:it,createParenthesizedExpression:ot,updateParenthesizedExpression:st,createFunctionExpression:ct,updateFunctionExpression:ut,createArrowFunction:_t,updateArrowFunction:lt,createDeleteExpression:dt,updateDeleteExpression:function(e,t){return e.expression!==t?u(dt(t),e):e},createTypeOfExpression:ft,updateTypeOfExpression:function(e,t){return e.expression!==t?u(ft(t),e):e},createVoidExpression:pt,updateVoidExpression:function(e,t){return e.expression!==t?u(pt(t),e):e},createAwaitExpression:mt,updateAwaitExpression:function(e,t){return e.expression!==t?u(mt(t),e):e},createPrefixUnaryExpression:yt,updatePrefixUnaryExpression:function(e,t){return e.operand!==t?u(yt(e.operator,t),e):e},createPostfixUnaryExpression:vt,updatePostfixUnaryExpression:function(e,t){return e.operand!==t?u(vt(t,e.operator),e):e},createBinaryExpression:gt,updateBinaryExpression:function(e,t,r,n){return e.left!==t||e.operatorToken!==r||e.right!==n?u(gt(t,r,n),e):e},createConditionalExpression:xt,updateConditionalExpression:function(e,t,r,n,a,i){return e.condition!==t||e.questionToken!==r||e.whenTrue!==n||e.colonToken!==a||e.whenFalse!==i?u(xt(t,r,n,a,i),e):e},createTemplateExpression:bt,updateTemplateExpression:function(e,t,r){return e.head!==t||e.templateSpans!==r?u(bt(t,r),e):e},createTemplateHead:function(e,t,r){return wt(16,e=kt(16,e,t,r),t,r)},createTemplateMiddle:function(e,t,r){return wt(17,e=kt(16,e,t,r),t,r)},createTemplateTail:function(e,t,r){return wt(18,e=kt(16,e,t,r),t,r)},createNoSubstitutionTemplateLiteral:function(e,t,r){return St(15,e=kt(16,e,t,r),t,r)},createTemplateLiteralLikeNode:wt,createYieldExpression:Ct,updateYieldExpression:function(e,t,r){return e.expression!==r||e.asteriskToken!==t?u(Ct(t,r),e):e},createSpreadElement:Nt,updateSpreadElement:function(e,t){return e.expression!==t?u(Nt(t),e):e},createClassExpression:Dt,updateClassExpression:At,createOmittedExpression:function(){return h(232)},createExpressionWithTypeArguments:Et,updateExpressionWithTypeArguments:function(e,t,r){return e.expression!==t||e.typeArguments!==r?u(Et(t,r),e):e},createAsExpression:Ft,updateAsExpression:Pt,createNonNullExpression:It,updateNonNullExpression:Ot,createSatisfiesExpression:Lt,updateSatisfiesExpression:Mt,createNonNullChain:Rt,updateNonNullChain:jt,createMetaProperty:Bt,updateMetaProperty:function(e,t){return e.name!==t?u(Bt(e.keywordToken,t),e):e},createTemplateSpan:Jt,updateTemplateSpan:function(e,t,r){return e.expression!==t||e.literal!==r?u(Jt(t,r),e):e},createSemicolonClassElement:function(){var e=h(240);return e.transformFlags|=1024,e},createBlock:zt,updateBlock:function(e,t){return e.statements!==t?u(zt(t,e.multiLine),e):e},createVariableStatement:Ut,updateVariableStatement:Vt,createEmptyStatement:qt,createExpressionStatement:Wt,updateExpressionStatement:function(e,t){return e.expression!==t?u(Wt(t),e):e},createIfStatement:Ht,updateIfStatement:function(e,t,r,n){return e.expression!==t||e.thenStatement!==r||e.elseStatement!==n?u(Ht(t,r,n),e):e},createDoStatement:Kt,updateDoStatement:function(e,t,r){return e.statement!==t||e.expression!==r?u(Kt(t,r),e):e},createWhileStatement:Gt,updateWhileStatement:function(e,t,r){return e.expression!==t||e.statement!==r?u(Gt(t,r),e):e},createForStatement:Xt,updateForStatement:function(e,t,r,n,a){return e.initializer!==t||e.condition!==r||e.incrementor!==n||e.statement!==a?u(Xt(t,r,n,a),e):e},createForInStatement:Qt,updateForInStatement:function(e,t,r,n){return e.initializer!==t||e.expression!==r||e.statement!==n?u(Qt(t,r,n),e):e},createForOfStatement:Yt,updateForOfStatement:function(e,t,r,n,a){return e.awaitModifier!==t||e.initializer!==r||e.expression!==n||e.statement!==a?u(Yt(t,r,n,a),e):e},createContinueStatement:Zt,updateContinueStatement:function(e,t){return e.label!==t?u(Zt(t),e):e},createBreakStatement:$t,updateBreakStatement:function(e,t){return e.label!==t?u($t(t),e):e},createReturnStatement:er,updateReturnStatement:function(e,t){return e.expression!==t?u(er(t),e):e},createWithStatement:tr,updateWithStatement:function(e,t,r){return e.expression!==t||e.statement!==r?u(tr(t,r),e):e},createSwitchStatement:rr,updateSwitchStatement:function(e,t,r){return e.expression!==t||e.caseBlock!==r?u(rr(t,r),e):e},createLabeledStatement:nr,updateLabeledStatement:ar,createThrowStatement:ir,updateThrowStatement:function(e,t){return e.expression!==t?u(ir(t),e):e},createTryStatement:or,updateTryStatement:function(e,t,r,n){return e.tryBlock!==t||e.catchClause!==r||e.finallyBlock!==n?u(or(t,r,n),e):e},createDebuggerStatement:function(){var e=h(259);return e.jsDoc=void 0,e.flowNode=void 0,e},createVariableDeclaration:sr,updateVariableDeclaration:function(e,t,r,n,a){return e.name!==t||e.type!==n||e.exclamationToken!==r||e.initializer!==a?u(sr(t,r,n,a),e):e},createVariableDeclarationList:cr,updateVariableDeclarationList:function(e,t){return e.declarations!==t?u(cr(t,e.flags),e):e},createFunctionDeclaration:ur,updateFunctionDeclaration:_r,createClassDeclaration:lr,updateClassDeclaration:dr,createInterfaceDeclaration:fr,updateInterfaceDeclaration:pr,createTypeAliasDeclaration:mr,updateTypeAliasDeclaration:yr,createEnumDeclaration:vr,updateEnumDeclaration:gr,createModuleDeclaration:hr,updateModuleDeclaration:xr,createModuleBlock:br,updateModuleBlock:function(e,t){return e.statements!==t?u(br(t),e):e},createCaseBlock:kr,updateCaseBlock:function(e,t){return e.clauses!==t?u(kr(t),e):e},createNamespaceExportDeclaration:Tr,updateNamespaceExportDeclaration:function(e,t){return e.name!==t?function(e,t){e!==t&&(e.modifiers=t.modifiers);return u(e,t)}(Tr(t),e):e},createImportEqualsDeclaration:Sr,updateImportEqualsDeclaration:wr,createImportDeclaration:Cr,updateImportDeclaration:Nr,createImportClause:Dr,updateImportClause:function(e,t,r,n){return e.isTypeOnly!==t||e.name!==r||e.namedBindings!==n?u(Dr(t,r,n),e):e},createAssertClause:Ar,updateAssertClause:function(e,t,r){return e.elements!==t||e.multiLine!==r?u(Ar(t,r),e):e},createAssertEntry:Er,updateAssertEntry:function(e,t,r){return e.name!==t||e.value!==r?u(Er(t,r),e):e},createImportTypeAssertionContainer:Fr,updateImportTypeAssertionContainer:function(e,t,r){return e.assertClause!==t||e.multiLine!==r?u(Fr(t,r),e):e},createNamespaceImport:Pr,updateNamespaceImport:function(e,t){return e.name!==t?u(Pr(t),e):e},createNamespaceExport:Ir,updateNamespaceExport:function(e,t){return e.name!==t?u(Ir(t),e):e},createNamedImports:Or,updateNamedImports:function(e,t){return e.elements!==t?u(Or(t),e):e},createImportSpecifier:Lr,updateImportSpecifier:function(e,t,r,n){return e.isTypeOnly!==t||e.propertyName!==r||e.name!==n?u(Lr(t,r,n),e):e},createExportAssignment:Mr,updateExportAssignment:Rr,createExportDeclaration:jr,updateExportDeclaration:Br,createNamedExports:Jr,updateNamedExports:function(e,t){return e.elements!==t?u(Jr(t),e):e},createExportSpecifier:zr,updateExportSpecifier:function(e,t,r,n){return e.isTypeOnly!==t||e.propertyName!==r||e.name!==n?u(zr(t,r,n),e):e},createMissingDeclaration:function(){var e=x(282);return e.jsDoc=void 0,e},createExternalModuleReference:Ur,updateExternalModuleReference:function(e,t){return e.expression!==t?u(Ur(t),e):e},get createJSDocAllType(){return i(319)},get createJSDocUnknownType(){return i(320)},get createJSDocNonNullableType(){return l(322)},get updateJSDocNonNullableType(){return d(322)},get createJSDocNullableType(){return l(321)},get updateJSDocNullableType(){return d(321)},get createJSDocOptionalType(){return o(323)},get updateJSDocOptionalType(){return _(323)},get createJSDocVariadicType(){return o(325)},get updateJSDocVariadicType(){return _(325)},get createJSDocNamepathType(){return o(326)},get updateJSDocNamepathType(){return _(326)},createJSDocFunctionType:Wr,updateJSDocFunctionType:function(e,t,r){return e.parameters!==t||e.type!==r?u(Wr(t,r),e):e},createJSDocTypeLiteral:Hr,updateJSDocTypeLiteral:function(e,t,r){return e.jsDocPropertyTags!==t||e.isArrayType!==r?u(Hr(t,r),e):e},createJSDocTypeExpression:Kr,updateJSDocTypeExpression:function(e,t){return e.type!==t?u(Kr(t),e):e},createJSDocSignature:Gr,updateJSDocSignature:function(e,t,r,n){return e.typeParameters!==t||e.parameters!==r||e.type!==n?u(Gr(t,r,n),e):e},createJSDocTemplateTag:Zr,updateJSDocTemplateTag:function(e,t,r,n,a){void 0===t&&(t=Xr(e));return e.tagName!==t||e.constraint!==r||e.typeParameters!==n||e.comment!==a?u(Zr(t,r,n,a),e):e},createJSDocTypedefTag:$r,updateJSDocTypedefTag:function(e,t,r,n,a){void 0===t&&(t=Xr(e));return e.tagName!==t||e.typeExpression!==r||e.fullName!==n||e.comment!==a?u($r(t,r,n,a),e):e},createJSDocParameterTag:en,updateJSDocParameterTag:function(e,t,r,n,a,i,o){void 0===t&&(t=Xr(e));return e.tagName!==t||e.name!==r||e.isBracketed!==n||e.typeExpression!==a||e.isNameFirst!==i||e.comment!==o?u(en(t,r,n,a,i,o),e):e},createJSDocPropertyTag:tn,updateJSDocPropertyTag:function(e,t,r,n,a,i,o){void 0===t&&(t=Xr(e));return e.tagName!==t||e.name!==r||e.isBracketed!==n||e.typeExpression!==a||e.isNameFirst!==i||e.comment!==o?u(tn(t,r,n,a,i,o),e):e},createJSDocCallbackTag:rn,updateJSDocCallbackTag:function(e,t,r,n,a){void 0===t&&(t=Xr(e));return e.tagName!==t||e.typeExpression!==r||e.fullName!==n||e.comment!==a?u(rn(t,r,n,a),e):e},createJSDocOverloadTag:nn,updateJSDocOverloadTag:function(e,t,r,n){void 0===t&&(t=Xr(e));return e.tagName!==t||e.typeExpression!==r||e.comment!==n?u(nn(t,r,n),e):e},createJSDocAugmentsTag:an,updateJSDocAugmentsTag:function(e,t,r,n){void 0===t&&(t=Xr(e));return e.tagName!==t||e.class!==r||e.comment!==n?u(an(t,r,n),e):e},createJSDocImplementsTag:on,updateJSDocImplementsTag:function(e,t,r,n){void 0===t&&(t=Xr(e));return e.tagName!==t||e.class!==r||e.comment!==n?u(on(t,r,n),e):e},createJSDocSeeTag:sn,updateJSDocSeeTag:function(e,t,r,n){return e.tagName!==t||e.name!==r||e.comment!==n?u(sn(t,r,n),e):e},createJSDocNameReference:cn,updateJSDocNameReference:function(e,t){return e.name!==t?u(cn(t),e):e},createJSDocMemberName:un,updateJSDocMemberName:function(e,t,r){return e.left!==t||e.right!==r?u(un(t,r),e):e},createJSDocLink:_n,updateJSDocLink:function(e,t,r){return e.name!==t?u(_n(t,r),e):e},createJSDocLinkCode:ln,updateJSDocLinkCode:function(e,t,r){return e.name!==t?u(ln(t,r),e):e},createJSDocLinkPlain:dn,updateJSDocLinkPlain:function(e,t,r){return e.name!==t?u(dn(t,r),e):e},get createJSDocTypeTag(){return m(351)},get updateJSDocTypeTag(){return y(351)},get createJSDocReturnTag(){return m(349)},get updateJSDocReturnTag(){return y(349)},get createJSDocThisTag(){return m(350)},get updateJSDocThisTag(){return y(350)},get createJSDocAuthorTag(){return f(337)},get updateJSDocAuthorTag(){return p(337)},get createJSDocClassTag(){return f(339)},get updateJSDocClassTag(){return p(339)},get createJSDocPublicTag(){return f(340)},get updateJSDocPublicTag(){return p(340)},get createJSDocPrivateTag(){return f(341)},get updateJSDocPrivateTag(){return p(341)},get createJSDocProtectedTag(){return f(342)},get updateJSDocProtectedTag(){return p(342)},get createJSDocReadonlyTag(){return f(343)},get updateJSDocReadonlyTag(){return p(343)},get createJSDocOverrideTag(){return f(344)},get updateJSDocOverrideTag(){return p(344)},get createJSDocDeprecatedTag(){return f(338)},get updateJSDocDeprecatedTag(){return p(338)},get createJSDocThrowsTag(){return m(356)},get updateJSDocThrowsTag(){return y(356)},get createJSDocSatisfiesTag(){return m(357)},get updateJSDocSatisfiesTag(){return y(357)},createJSDocEnumTag:yn,updateJSDocEnumTag:function(e,t,r,n){void 0===t&&(t=Xr(e));return e.tagName!==t||e.typeExpression!==r||e.comment!==n?u(yn(t,r,n),e):e},createJSDocUnknownTag:mn,updateJSDocUnknownTag:function(e,t,r){return e.tagName!==t||e.comment!==r?u(mn(t,r),e):e},createJSDocText:vn,updateJSDocText:function(e,t){return e.text!==t?u(vn(t),e):e},createJSDocComment:gn,updateJSDocComment:function(e,t,r){return e.comment!==t||e.tags!==r?u(gn(t,r),e):e},createJsxElement:hn,updateJsxElement:function(e,t,r,n){return e.openingElement!==t||e.children!==r||e.closingElement!==n?u(hn(t,r,n),e):e},createJsxSelfClosingElement:xn,updateJsxSelfClosingElement:function(e,t,r,n){return e.tagName!==t||e.typeArguments!==r||e.attributes!==n?u(xn(t,r,n),e):e},createJsxOpeningElement:bn,updateJsxOpeningElement:function(e,t,r,n){return e.tagName!==t||e.typeArguments!==r||e.attributes!==n?u(bn(t,r,n),e):e},createJsxClosingElement:kn,updateJsxClosingElement:function(e,t){return e.tagName!==t?u(kn(t),e):e},createJsxFragment:Tn,createJsxText:Sn,updateJsxText:function(e,t,r){return e.text!==t||e.containsOnlyTriviaWhiteSpaces!==r?u(Sn(t,r),e):e},createJsxOpeningFragment:function(){var e=h(289);return e.transformFlags|=2,e},createJsxJsxClosingFragment:function(){var e=h(290);return e.transformFlags|=2,e},updateJsxFragment:function(e,t,r,n){return e.openingFragment!==t||e.children!==r||e.closingFragment!==n?u(Tn(t,r,n),e):e},createJsxAttribute:wn,updateJsxAttribute:function(e,t,r){return e.name!==t||e.initializer!==r?u(wn(t,r),e):e},createJsxAttributes:Cn,updateJsxAttributes:function(e,t){return e.properties!==t?u(Cn(t),e):e},createJsxSpreadAttribute:Nn,updateJsxSpreadAttribute:function(e,t){return e.expression!==t?u(Nn(t),e):e},createJsxExpression:Dn,updateJsxExpression:function(e,t){return e.expression!==t?u(Dn(e.dotDotDotToken,t),e):e},createJsxNamespacedName:An,updateJsxNamespacedName:function(e,t,r){return e.namespace!==t||e.name!==r?u(An(t,r),e):e},createCaseClause:En,updateCaseClause:function(e,t,r){return e.expression!==t||e.statements!==r?u(En(t,r),e):e},createDefaultClause:Fn,updateDefaultClause:function(e,t){return e.statements!==t?u(Fn(t),e):e},createHeritageClause:Pn,updateHeritageClause:function(e,t){return e.types!==t?u(Pn(e.token,t),e):e},createCatchClause:In,updateCatchClause:function(e,t,r){return e.variableDeclaration!==t||e.block!==r?u(In(t,r),e):e},createPropertyAssignment:On,updatePropertyAssignment:function(e,t,r){return e.name!==t||e.initializer!==r?function(e,t){e!==t&&(e.modifiers=t.modifiers,e.questionToken=t.questionToken,e.exclamationToken=t.exclamationToken);return u(e,t)}(On(t,r),e):e},createShorthandPropertyAssignment:Ln,updateShorthandPropertyAssignment:function(e,t,r){return e.name!==t||e.objectAssignmentInitializer!==r?function(e,t){e!==t&&(e.modifiers=t.modifiers,e.questionToken=t.questionToken,e.exclamationToken=t.exclamationToken,e.equalsToken=t.equalsToken);return u(e,t)}(Ln(t,r),e):e},createSpreadAssignment:Mn,updateSpreadAssignment:function(e,t){return e.expression!==t?u(Mn(t),e):e},createEnumMember:Rn,updateEnumMember:function(e,t,r){return e.name!==t||e.initializer!==r?u(Rn(t,r),e):e},createSourceFile:function(e,t,r){var n=s.createBaseSourceFileNode(312);return n.statements=g(e),n.endOfFileToken=t,n.flags|=r,n.text="",n.fileName="",n.path="",n.resolvedPath="",n.originalFileName="",n.languageVersion=0,n.languageVariant=0,n.scriptKind=0,n.isDeclarationFile=!1,n.hasNoDefaultLib=!1,n.transformFlags|=fy(n.statements)|dy(n.endOfFileToken),n.locals=void 0,n.nextContainer=void 0,n.endFlowNode=void 0,n.nodeCount=0,n.identifierCount=0,n.symbolCount=0,n.parseDiagnostics=void 0,n.bindDiagnostics=void 0,n.bindSuggestionDiagnostics=void 0,n.lineMap=void 0,n.externalModuleIndicator=void 0,n.setExternalModuleIndicator=void 0,n.pragmas=void 0,n.checkJsDirective=void 0,n.referencedFiles=void 0,n.typeReferenceDirectives=void 0,n.libReferenceDirectives=void 0,n.amdDependencies=void 0,n.commentDirectives=void 0,n.identifiers=void 0,n.packageJsonLocations=void 0,n.packageJsonScope=void 0,n.imports=void 0,n.moduleAugmentations=void 0,n.ambientModuleNames=void 0,n.resolvedModules=void 0,n.classifiableNames=void 0,n.impliedNodeFormat=void 0,n},updateSourceFile:function(e,t,r,n,a,i,o){void 0===r&&(r=e.isDeclarationFile);void 0===n&&(n=e.referencedFiles);void 0===a&&(a=e.typeReferenceDirectives);void 0===i&&(i=e.hasNoDefaultLib);void 0===o&&(o=e.libReferenceDirectives);return e.statements!==t||e.isDeclarationFile!==r||e.referencedFiles!==n||e.typeReferenceDirectives!==a||e.hasNoDefaultLib!==i||e.libReferenceDirectives!==o?u(function(e,t,r,n,a,i,o){e=Bn(e);return e.statements=g(t),e.isDeclarationFile=r,e.referencedFiles=n,e.typeReferenceDirectives=a,e.hasNoDefaultLib=i,e.libReferenceDirectives=o,e.transformFlags=fy(e.statements)|dy(e.endOfFileToken),e}(e,t,r,n,a,i,o),e):e},createRedirectedSourceFile:jn,createBundle:Jn,updateBundle:function(e,t,r){void 0===r&&(r=WN);return e.sourceFiles!==t||e.prepends!==r?u(Jn(t,r),e):e},createUnparsedSource:function(e,t,r){var n=h(314);return n.prologues=e,n.syntheticReferences=t,n.texts=r,n.fileName="",n.text="",n.referencedFiles=WN,n.libReferenceDirectives=WN,n.getLineAndCharacterOfPosition=function(e){return gA(n,e)},n},createUnparsedPrologue:function(e){return zn(307,e)},createUnparsedPrepend:function(e,t){e=zn(308,e);return e.texts=t,e},createUnparsedTextLike:function(e,t){return zn(t?310:309,e)},createUnparsedSyntheticReference:function(e){var t=h(311);return t.data=e.data,t.section=e,t},createInputFiles:function(){var e=h(315);return e.javascriptText="",e.declarationText="",e},createSyntheticExpression:function(e,t,r){void 0===t&&(t=!1);var n=h(237);return n.type=e,n.isSpread=t,n.tupleNameSource=r,n},createSyntaxList:function(e){var t=h(358);return t._children=e,t},createNotEmittedStatement:function(e){var t=h(359);return t.original=e,UB(t,e),t},createPartiallyEmittedExpression:Un,updatePartiallyEmittedExpression:Vn,createCommaListExpression:Wn,updateCommaListExpression:function(e,t){return e.elements!==t?u(Wn(t),e):e},createSyntheticReferenceExpression:Hn,updateSyntheticReferenceExpression:function(e,t,r){return e.expression!==t||e.thisArg!==r?u(Hn(t,r),e):e},cloneNode:Kn,get createComma(){return r(28)},get createAssignment(){return r(64)},get createLogicalOr(){return r(57)},get createLogicalAnd(){return r(56)},get createBitwiseOr(){return r(52)},get createBitwiseXor(){return r(53)},get createBitwiseAnd(){return r(51)},get createStrictEquality(){return r(37)},get createStrictInequality(){return r(38)},get createEquality(){return r(35)},get createInequality(){return r(36)},get createLessThan(){return r(30)},get createLessThanEquals(){return r(33)},get createGreaterThan(){return r(32)},get createGreaterThanEquals(){return r(34)},get createLeftShift(){return r(48)},get createRightShift(){return r(49)},get createUnsignedRightShift(){return r(50)},get createAdd(){return r(40)},get createSubtract(){return r(41)},get createMultiply(){return r(42)},get createDivide(){return r(44)},get createModulo(){return r(45)},get createExponent(){return r(43)},get createPrefixPlus(){return n(40)},get createPrefixMinus(){return n(41)},get createPrefixIncrement(){return n(46)},get createPrefixDecrement(){return n(47)},get createBitwiseNot(){return n(55)},get createLogicalNot(){return n(54)},get createPostfixIncrement(){return a(46)},get createPostfixDecrement(){return a(47)},createImmediatelyInvokedFunctionExpression:function(e,t,r){return $e(ct(void 0,void 0,void 0,void 0,t?[t]:[],void 0,zt(e,!0)),void 0,r?[r]:[])},createImmediatelyInvokedArrowFunction:function(e,t,r){return $e(_t(void 0,void 0,t?[t]:[],void 0,void 0,zt(e,!0)),void 0,r?[r]:[])},createVoidZero:Gn,createExportDefault:function(e){return Mr(void 0,!1,e)},createExternalModuleExport:function(e){return jr(void 0,!1,Jr([zr(!1,void 0,e)]))},createTypeCheck:function(e,t){return"null"===t?v.createStrictEquality(e,R()):"undefined"===t?v.createStrictEquality(e,Gn()):v.createStrictEquality(ft(e),w(t))},createIsNotTypeCheck:function(e,t){return"null"===t?v.createStrictInequality(e,R()):"undefined"===t?v.createStrictInequality(e,Gn()):v.createStrictInequality(ft(e),w(t))},createMethodCall:Xn,createGlobalMethodCall:Qn,createFunctionBindCall:function(e,t,r){return Xn(e,"bind",__spreadArray([t],__read(r),!1))},createFunctionCallCall:function(e,t,r){return Xn(e,"call",__spreadArray([t],__read(r),!1))},createFunctionApplyCall:function(e,t,r){return Xn(e,"apply",[t,r])},createArraySliceCall:function(e,t){return Xn(e,"slice",void 0===t?[]:[_a(t)])},createArrayConcatCall:function(e,t){return Xn(e,"concat",t)},createObjectDefinePropertyCall:function(e,t,r){return Qn("Object","defineProperty",[e,_a(t),r])},createObjectGetOwnPropertyDescriptorCall:function(e,t){return Qn("Object","getOwnPropertyDescriptor",[e,_a(t)])},createReflectGetCall:function(e,t,r){return Qn("Reflect","get",r?[e,t,r]:[e,t])},createReflectSetCall:function(e,t,r,n){return Qn("Reflect","set",n?[e,t,r,n]:[e,t,r])},createPropertyDescriptor:function(e,t){var r=[];Yn(r,"enumerable",_a(e.enumerable)),Yn(r,"configurable",_a(e.configurable));var n=Yn(r,"writable",_a(e.writable));n=Yn(r,"value",e.value)||n;var a=Yn(r,"get",e.get);return a=Yn(r,"set",e.set)||a,rA.assert(!(n&&a),"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor."),Ve(r,!t)},createCallBinding:function(e,t,r,n){void 0===n&&(n=!1);var a,i,o=RB(e,15);VP(o)?(a=M(),i=o):yg(o)?(a=M(),i=void 0!==r&&r<2?UB(A("_super"),o):o):8192&p_(o)?(a=Gn(),i=c().parenthesizeLeftSideOfAccess(o,!1)):aj(o)?ea(o.expression,n)?(a=E(t),i=We(UB(v.createAssignment(a,o.expression),o.expression),o.name),UB(i,o)):(a=o.expression,i=o):ij(o)?ea(o.expression,n)?(a=E(t),i=Xe(UB(v.createAssignment(a,o.expression),o.expression),o.argumentExpression),UB(i,o)):(a=o.expression,i=o):(a=Gn(),i=c().parenthesizeLeftSideOfAccess(e,!1));return{target:i,thisArg:a}},createAssignmentTargetWrapper:function(e,t){return We(ot(Ve([ce(void 0,"value",[H(void 0,void 0,e,void 0,void 0,void 0)],zt([Wt(t)]))])),"value")},inlineExpressions:function(e){return 10<e.length?Wn(e):ED(e,v.createComma)},getInternalName:function(e,t,r){return ta(e,t,r,98304)},getLocalName:function(e,t,r,n){return ta(e,t,r,32768,n)},getExportName:ra,getDeclarationName:function(e,t,r){return ta(e,t,r)},getNamespaceMemberName:na,getExternalModuleOrNamespaceExportName:function(e,t,r,n){if(e&&_L(t,1))return na(e,ta(t),r,n);return ra(t,r,n)},restoreOuterExpressions:function e(t,r,n){void 0===n&&(n=15);if(t&&ix(t,n)&&!$n(t))return Zn(t,e(t.expression,r));return r},restoreEnclosingLabel:function e(t,r,n){if(!r)return t;var t=ar(r,r.label,Qg(r.statement)?e(t,r.statement):t);n&&n(r);return t},createUseStrictPrologue:aa,copyPrologue:function(e,t,r,n){r=ia(e,t,0,r);return oa(e,t,r,n)},copyStandardPrologue:ia,copyCustomPrologue:oa,ensureUseStrict:function(e){return IB(e)?e:UB(g(__spreadArray([aa()],__read(e),!1)),e)},liftToBlock:function(e){return rA.assert(XN(e,Sc),"Cannot lift nodes to a Block."),pa(e)||zt(e)},mergeLexicalEnvironment:function(e,t){if(!dD(t))return e;var r=sa(e,J_,0),n=sa(e,U_,r),a=sa(e,q_,n),i=sa(t,J_,0),o=sa(t,U_,i),s=sa(t,q_,o),c=sa(t,z_,s);rA.assert(c===t.length,"Expected declarations to be valid standard or custom prologues");var u=Ns(e)?e.slice():e;s<c&&u.splice.apply(u,__spreadArray([a,0],__read(t.slice(s,c)),!1));o<s&&u.splice.apply(u,__spreadArray([n,0],__read(t.slice(o,s)),!1));i<o&&u.splice.apply(u,__spreadArray([r,0],__read(t.slice(i,o)),!1));if(0<i)if(0===r)u.splice.apply(u,__spreadArray([0,0],__read(t.slice(0,i)),!1));else{for(var _=new Map,l=0;l<r;l++){var d=e[l];_.set(d.expression.text,!0)}for(l=i-1;0<=l;l--){var f=t[l];_.has(f.expression.text)||u.unshift(f)}}if(Ns(e))return UB(g(u,e.hasTrailingComma),e);return e},updateModifiers:function(e,t){var r;r="number"==typeof t?z(t):t;return wR(e)?W(e,r,e.name,e.constraint,e.default):CR(e)?K(e,r,e.dotDotDotToken,e.name,e.questionToken,e.type,e.initializer):zR(e)?xe(e,r,e.typeParameters,e.parameters,e.type):DR(e)?Q(e,r,e.name,e.questionToken,e.type):AR(e)?Z(e,r,e.name,null!==(t=e.questionToken)&&void 0!==t?t:e.exclamationToken,e.type,e.initializer):ER(e)?ee(e,r,e.name,e.questionToken,e.typeParameters,e.parameters,e.type):FR(e)?re(e,r,e.asteriskToken,e.name,e.questionToken,e.typeParameters,e.parameters,e.type,e.body):IR(e)?ie(e,r,e.parameters,e.body):OR(e)?se(e,r,e.name,e.parameters,e.type,e.body):LR(e)?ue(e,r,e.name,e.parameters,e.body):gg(e)?fe(e,r,e.parameters,e.type):_j(e)?ut(e,r,e.asteriskToken,e.name,e.typeParameters,e.parameters,e.type,e.body):lj(e)?lt(e,r,e.typeParameters,e.parameters,e.type,e.equalsGreaterThanToken,e.body):vj(e)?At(e,r,e.name,e.typeParameters,e.heritageClauses,e.members):Tj(e)?Vt(e,r,e.declarationList):Fj(e)?_r(e,r,e.asteriskToken,e.name,e.typeParameters,e.parameters,e.type,e.body):Pj(e)?dr(e,r,e.name,e.typeParameters,e.heritageClauses,e.members):Ij(e)?pr(e,r,e.name,e.typeParameters,e.heritageClauses,e.members):Oj(e)?yr(e,r,e.name,e.typeParameters,e.type):Lj(e)?gr(e,r,e.name,e.members):Mj(e)?xr(e,r,e.name,e.body):Bj(e)?wr(e,r,e.isTypeOnly,e.name,e.moduleReference):Jj(e)?Nr(e,r,e.importClause,e.moduleSpecifier,e.assertClause):qj(e)?Rr(e,r,e.expression):Wj(e)?Br(e,r,e.isTypeOnly,e.exportClause,e.moduleSpecifier,e.assertClause):rA.assertNever(e)},updateModifierLike:function(e,t){var r;return CR(e)?K(e,t,e.dotDotDotToken,e.name,e.questionToken,e.type,e.initializer):AR(e)?Z(e,t,e.name,null!==(r=e.questionToken)&&void 0!==r?r:e.exclamationToken,e.type,e.initializer):FR(e)?re(e,t,e.asteriskToken,e.name,e.questionToken,e.typeParameters,e.parameters,e.type,e.body):OR(e)?se(e,t,e.name,e.parameters,e.type,e.body):LR(e)?ue(e,t,e.name,e.parameters,e.body):vj(e)?At(e,t,e.name,e.typeParameters,e.heritageClauses,e.members):Pj(e)?dr(e,t,e.name,e.typeParameters,e.heritageClauses,e.members):rA.assertNever(e)}};return KN($m,function(e){return e(v)}),v;function g(e,t){if(void 0===e||e===WN)e=[];else if(Ns(e)){if(void 0===t||e.hasTrailingComma===t)return void 0===e.transformFlags&&py(e),rA.attachNodeArrayDebugInfo(e),e;var r=e.slice();return r.pos=e.pos,r.end=e.end,r.hasTrailingComma=t,r.transformFlags=e.transformFlags,rA.attachNodeArrayDebugInfo(r),r}r=e.length,e=1<=r&&r<=4?e.slice():e;return e.pos=-1,e.end=-1,e.hasTrailingComma=!!t,e.transformFlags=0,py(e),rA.attachNodeArrayDebugInfo(e),e}function h(e){return s.createBaseNode(e)}function x(e){e=h(e);return e.symbol=void 0,e.localSymbol=void 0,e}function b(e,t){return e!==t&&(e.typeArguments=t.typeArguments),u(e,t)}function k(e,t){void 0===t&&(t=0);var r=x(9);return r.text="number"==typeof e?e+"":e,384&(r.numericLiteralFlags=t)&&(r.transformFlags|=1024),r}function T(e){var t=O(10);return t.text="string"==typeof e?e:EM(e)+"n",t.transformFlags|=32,t}function S(e,t){var r=x(11);return r.text=e,r.singleQuote=t,r}function w(e,t,r){t=S(e,t);return(t.hasExtendedUnicodeEscape=r)&&(t.transformFlags|=1024),t}function C(e){var t=O(14);return t.text=e,t}function N(e){var t=s.createBaseIdentifierNode(80);return t.escapedText=e,t.jsDoc=void 0,t.flowNode=void 0,t.symbol=void 0,t}function D(e,t,r,n){e=N(IA(e));return $y(e,{flags:t,id:Ym,prefix:r,suffix:n}),Ym++,e}function A(e,t,r){void 0===t&&e&&(t=Ai(e)),80===t&&(t=void 0);e=N(IA(e));return r&&(e.flags|=256),"await"===e.escapedText&&(e.transformFlags|=67108864),256&e.flags&&(e.transformFlags|=1024),e}function E(e,t,r,n){var a=1;t&&(a|=8);n=D("",a,r,n);return e&&e(n),n}function F(e,t,r,n){void 0===t&&(t=0),rA.assert(!(7&t),"Argument out of range: flags"),(r||n)&&(t|=16);n=D(e?ps(e)?Jx(!1,r,e,n,LA):"generated@".concat(mJ(e)):"",4|t,r,n);return n.original=e,n}function P(e){var t=s.createBasePrivateIdentifierNode(81);return t.escapedText=e,t.transformFlags|=16777216,t}function I(e,t,r,n){e=P(IA(e));return $y(e,{flags:t,id:Ym,prefix:r,suffix:n}),Ym++,e}function O(e){return s.createBaseTokenNode(e)}function L(e){rA.assert(0<=e&&e<=165,"Invalid token"),rA.assert(e<=15||18<=e,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals."),rA.assert(e<=9||15<=e,"Invalid token. Use 'createLiteralLikeNode' to create literals."),rA.assert(80!==e,"Invalid token. Use 'createIdentifier' to create identifiers");var t=O(e),r=0;switch(e){case 134:r=384;break;case 160:r=4;break;case 125:case 123:case 124:case 148:case 128:case 138:case 87:case 133:case 150:case 163:case 146:case 151:case 103:case 147:case 164:case 154:case 136:case 155:case 116:case 159:case 157:r=1;break;case 108:r=134218752,t.flowNode=void 0;break;case 126:r=1024;break;case 129:r=16777216;break;case 110:r=16384,t.flowNode=void 0}return r&&(t.transformFlags|=r),t}function M(){return L(110)}function R(){return L(106)}function j(){return L(112)}function B(){return L(97)}function J(e){return L(e)}function z(e){var t=[];return 1&e&&t.push(L(95)),2&e&&t.push(L(138)),1024&e&&t.push(L(90)),2048&e&&t.push(L(87)),4&e&&t.push(L(125)),8&e&&t.push(L(123)),16&e&&t.push(L(124)),256&e&&t.push(L(128)),32&e&&t.push(L(126)),16384&e&&t.push(L(164)),64&e&&t.push(L(148)),128&e&&t.push(L(129)),512&e&&t.push(L(134)),32768&e&&t.push(L(103)),65536&e&&t.push(L(147)),t.length?t:void 0}function U(e,t){var r=h(166);return r.left=e,r.right=ua(t),r.transformFlags|=dy(r.left)|ly(r.right),r.flowNode=void 0,r}function V(e){var t=h(167);return t.expression=c().parenthesizeExpressionOfComputedPropertyName(e),t.transformFlags|=132096|dy(t.expression),t}function q(e,t,r,n){var a=x(168);return a.modifiers=ca(e),a.name=ua(t),a.constraint=r,a.default=n,a.transformFlags=1,a.expression=void 0,a.jsDoc=void 0,a}function W(e,t,r,n,a){return e.modifiers!==t||e.name!==r||e.constraint!==n||e.default!==a?u(q(t,r,n,a),e):e}function H(e,t,r,n,a,i){var o=x(169);return o.modifiers=ca(e),o.dotDotDotToken=t,o.name=ua(r),o.questionToken=n,o.type=a,o.initializer=la(i),$O(o.name)?o.transformFlags=1:o.transformFlags=fy(o.modifiers)|dy(o.dotDotDotToken)|_y(o.name)|dy(o.questionToken)|dy(o.initializer)|((null!==(i=o.questionToken)&&void 0!==i?i:o.type)?1:0)|((null!==(i=o.dotDotDotToken)&&void 0!==i?i:o.initializer)?1024:0)|(16476&bL(o.modifiers)?8192:0),o.jsDoc=void 0,o}function K(e,t,r,n,a,i,o){return e.modifiers!==t||e.dotDotDotToken!==r||e.name!==n||e.questionToken!==a||e.type!==i||e.initializer!==o?u(H(t,r,n,a,i,o),e):e}function G(e){var t=h(170);return t.expression=c().parenthesizeLeftSideOfAccess(e,!1),t.transformFlags|=33562625|dy(t.expression),t}function X(e,t,r,n){var a=x(171);return a.modifiers=ca(e),a.name=ua(t),a.type=n,a.questionToken=r,a.transformFlags=1,a.initializer=void 0,a.jsDoc=void 0,a}function Q(e,t,r,n,a){return e.modifiers!==t||e.name!==r||e.questionToken!==n||e.type!==a?function(e,t){e!==t&&(e.initializer=t.initializer);return u(e,t)}(X(t,r,n,a),e):e}function Y(e,t,r,n,a){var i=x(172);i.modifiers=ca(e),i.name=ua(t),i.questionToken=r&&rg(r)?r:void 0,i.exclamationToken=r&&tg(r)?r:void 0,i.type=n,i.initializer=la(a);a=33554432&i.flags||2&bL(i.modifiers);return i.transformFlags=fy(i.modifiers)|_y(i.name)|dy(i.initializer)|(a||i.questionToken||i.exclamationToken||i.type?1:0)|(SR(i.name)||32&bL(i.modifiers)&&i.initializer?8192:0)|16777216,i.jsDoc=void 0,i}function Z(e,t,r,n,a,i){return e.modifiers!==t||e.name!==r||e.questionToken!==(void 0!==n&&rg(n)?n:void 0)||e.exclamationToken!==(void 0!==n&&tg(n)?n:void 0)||e.type!==a||e.initializer!==i?u(Y(t,r,n,a,i),e):e}function $(e,t,r,n,a,i){var o=x(173);return o.modifiers=ca(e),o.name=ua(t),o.questionToken=r,o.typeParameters=ca(n),o.parameters=ca(a),o.type=i,o.transformFlags=1,o.jsDoc=void 0,o.locals=void 0,o.nextContainer=void 0,o.typeArguments=void 0,o}function ee(e,t,r,n,a,i,o){return e.modifiers!==t||e.name!==r||e.questionToken!==n||e.typeParameters!==a||e.parameters!==i||e.type!==o?b($(t,r,n,a,i,o),e):e}function te(e,t,r,n,a,i,o,s){var c=x(174);return c.modifiers=ca(e),c.asteriskToken=t,c.name=ua(r),c.questionToken=n,c.exclamationToken=void 0,c.typeParameters=ca(a),c.parameters=g(i),c.type=o,c.body=s,c.body?(i=512&bL(c.modifiers),o=!!c.asteriskToken,s=i&&o,c.transformFlags=fy(c.modifiers)|dy(c.asteriskToken)|_y(c.name)|dy(c.questionToken)|fy(c.typeParameters)|fy(c.parameters)|dy(c.type)|-67108865&dy(c.body)|(s?128:i?256:o?2048:0)|(c.questionToken||c.typeParameters||c.type?1:0)|1024):c.transformFlags=1,c.typeArguments=void 0,c.jsDoc=void 0,c.locals=void 0,c.nextContainer=void 0,c.flowNode=void 0,c.endFlowNode=void 0,c.returnFlowNode=void 0,c}function re(e,t,r,n,a,i,o,s,c){return e.modifiers!==t||e.asteriskToken!==r||e.name!==n||e.questionToken!==a||e.typeParameters!==i||e.parameters!==o||e.type!==s||e.body!==c?function(e,t){e!==t&&(e.exclamationToken=t.exclamationToken);return u(e,t)}(te(t,r,n,a,i,o,s,c),e):e}function ne(e){var t=x(175);return t.body=e,t.transformFlags=16777216|dy(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 ae(e,t,r){var n=x(176);return n.modifiers=ca(e),n.parameters=g(t),n.body=r,n.transformFlags=fy(n.modifiers)|fy(n.parameters)|-67108865&dy(n.body)|1024,n.typeParameters=void 0,n.type=void 0,n.typeArguments=void 0,n.jsDoc=void 0,n.locals=void 0,n.nextContainer=void 0,n.endFlowNode=void 0,n.returnFlowNode=void 0,n}function ie(e,t,r,n){return e.modifiers!==t||e.parameters!==r||e.body!==n?function(e,t){e!==t&&(e.typeParameters=t.typeParameters,e.type=t.type);return b(e,t)}(ae(t,r,n),e):e}function oe(e,t,r,n,a){var i=x(177);return i.modifiers=ca(e),i.name=ua(t),i.parameters=g(r),i.type=n,i.body=a,i.body?i.transformFlags=fy(i.modifiers)|_y(i.name)|fy(i.parameters)|dy(i.type)|-67108865&dy(i.body)|(i.type?1:0):i.transformFlags=1,i.typeArguments=void 0,i.typeParameters=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 se(e,t,r,n,a,i){return e.modifiers!==t||e.name!==r||e.parameters!==n||e.type!==a||e.body!==i?function(e,t){e!==t&&(e.typeParameters=t.typeParameters);return b(e,t)}(oe(t,r,n,a,i),e):e}function ce(e,t,r,n){var a=x(178);return a.modifiers=ca(e),a.name=ua(t),a.parameters=g(r),a.body=n,a.body?a.transformFlags=fy(a.modifiers)|_y(a.name)|fy(a.parameters)|-67108865&dy(a.body)|(a.type?1:0):a.transformFlags=1,a.typeArguments=void 0,a.typeParameters=void 0,a.type=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 ue(e,t,r,n,a){return e.modifiers!==t||e.name!==r||e.parameters!==n||e.body!==a?function(e,t){e!==t&&(e.typeParameters=t.typeParameters,e.type=t.type);return b(e,t)}(ce(t,r,n,a),e):e}function _e(e,t,r){var n=x(179);return n.typeParameters=ca(e),n.parameters=ca(t),n.type=r,n.transformFlags=1,n.jsDoc=void 0,n.locals=void 0,n.nextContainer=void 0,n.typeArguments=void 0,n}function le(e,t,r){var n=x(180);return n.typeParameters=ca(e),n.parameters=ca(t),n.type=r,n.transformFlags=1,n.jsDoc=void 0,n.locals=void 0,n.nextContainer=void 0,n.typeArguments=void 0,n}function de(e,t,r){var n=x(181);return n.modifiers=ca(e),n.parameters=ca(t),n.type=r,n.transformFlags=1,n.jsDoc=void 0,n.locals=void 0,n.nextContainer=void 0,n.typeArguments=void 0,n}function fe(e,t,r,n){return e.parameters!==r||e.type!==n||e.modifiers!==t?b(de(t,r,n),e):e}function pe(e,t){var r=h(204);return r.type=e,r.literal=t,r.transformFlags=1,r}function me(e,t,r){var n=h(182);return n.assertsModifier=e,n.parameterName=ua(t),n.type=r,n.transformFlags=1,n}function ye(e,t){var r=h(183);return r.typeName=ua(e),r.typeArguments=t&&c().parenthesizeTypeArguments(g(t)),r.transformFlags=1,r}function ve(e,t,r){var n=x(184);return n.typeParameters=ca(e),n.parameters=ca(t),n.type=r,n.transformFlags=1,n.modifiers=void 0,n.jsDoc=void 0,n.locals=void 0,n.nextContainer=void 0,n.typeArguments=void 0,n}function ge(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 4===e.length?he.apply(void 0,__spreadArray([],__read(e),!1)):3===e.length?function(e,t,r){return he(void 0,e,t,r)}.apply(void 0,__spreadArray([],__read(e),!1)):rA.fail("Incorrect number of arguments specified.")}function he(e,t,r,n){var a=x(185);return a.modifiers=ca(e),a.typeParameters=ca(t),a.parameters=ca(r),a.type=n,a.transformFlags=1,a.jsDoc=void 0,a.locals=void 0,a.nextContainer=void 0,a.typeArguments=void 0,a}function xe(e,t,r,n,a){return e.modifiers!==t||e.typeParameters!==r||e.parameters!==n||e.type!==a?b(ge(t,r,n,a),e):e}function be(e,t){var r=h(186);return r.exprName=e,r.typeArguments=t&&c().parenthesizeTypeArguments(t),r.transformFlags=1,r}function ke(e){var t=x(187);return t.members=g(e),t.transformFlags=1,t}function Te(e){var t=h(188);return t.elementType=c().parenthesizeNonArrayTypeOfPostfixType(e),t.transformFlags=1,t}function Se(e){var t=h(189);return t.elements=g(c().parenthesizeElementTypesOfTupleType(e)),t.transformFlags=1,t}function we(e,t,r,n){var a=x(202);return a.dotDotDotToken=e,a.name=t,a.questionToken=r,a.type=n,a.transformFlags=1,a.jsDoc=void 0,a}function Ce(e){var t=h(190);return t.type=c().parenthesizeTypeOfOptionalType(e),t.transformFlags=1,t}function Ne(e){var t=h(191);return t.type=e,t.transformFlags=1,t}function De(e,t,r){e=h(e);return e.types=v.createNodeArray(r(t)),e.transformFlags=1,e}function Ae(e,t,r){return e.types!==t?u(De(e.kind,t,r),e):e}function Ee(e,t,r,n){var a=h(194);return a.checkType=c().parenthesizeCheckTypeOfConditionalType(e),a.extendsType=c().parenthesizeExtendsTypeOfConditionalType(t),a.trueType=r,a.falseType=n,a.transformFlags=1,a.locals=void 0,a.nextContainer=void 0,a}function Fe(e){var t=h(195);return t.typeParameter=e,t.transformFlags=1,t}function Pe(e,t){var r=h(203);return r.head=e,r.templateSpans=g(t),r.transformFlags=1,r}function Ie(e,t,r,n,a){void 0===a&&(a=!1);var i=h(205);return i.argument=e,i.assertions=t,i.qualifier=r,i.typeArguments=n&&c().parenthesizeTypeArguments(n),i.isTypeOf=a,i.transformFlags=1,i}function Oe(e){var t=h(196);return t.type=e,t.transformFlags=1,t}function Le(e,t){var r=h(198);return r.operator=e,r.type=148===e?c().parenthesizeOperandOfReadonlyTypeOperator(t):c().parenthesizeOperandOfTypeOperator(t),r.transformFlags=1,r}function Me(e,t){var r=h(199);return r.objectType=c().parenthesizeNonArrayTypeOfPostfixType(e),r.indexType=t,r.transformFlags=1,r}function Re(e,t,r,n,a,i){var o=x(200);return o.readonlyToken=e,o.typeParameter=t,o.nameType=r,o.questionToken=n,o.type=a,o.members=i&&g(i),o.transformFlags=1,o.locals=void 0,o.nextContainer=void 0,o}function je(e){var t=h(201);return t.literal=e,t.transformFlags=1,t}function Be(e){var t=h(206);return t.elements=g(e),t.transformFlags|=525312|fy(t.elements),32768&t.transformFlags&&(t.transformFlags|=65664),t}function Je(e){var t=h(207);return t.elements=g(e),t.transformFlags|=525312|fy(t.elements),t}function ze(e,t,r,n){var a=x(208);return a.dotDotDotToken=e,a.propertyName=ua(t),a.name=ua(r),a.initializer=la(n),a.transformFlags|=dy(a.dotDotDotToken)|_y(a.propertyName)|_y(a.name)|dy(a.initializer)|(a.dotDotDotToken?32768:0)|1024,a.flowNode=void 0,a}function Ue(e,t){var r=h(209),n=e&&CD(e),n=g(e,!(!n||!gj(n))||void 0);return r.elements=c().parenthesizeExpressionsOfCommaDelimitedList(n),r.multiLine=t,r.transformFlags|=fy(r.elements),r}function Ve(e,t){var r=x(210);return r.properties=g(e),r.multiLine=t,r.transformFlags|=fy(r.properties),r.jsDoc=void 0,r}function qe(e,t,r){var n=x(211);return n.expression=e,n.questionDotToken=t,n.name=r,n.transformFlags=dy(n.expression)|dy(n.questionDotToken)|(xR(n.name)?ly(n.name):536870912|dy(n.name)),n.jsDoc=void 0,n.flowNode=void 0,n}function We(e,t){t=qe(c().parenthesizeLeftSideOfAccess(e,!1),void 0,ua(t));return yg(e)&&(t.transformFlags|=384),t}function He(e,t,r){r=qe(c().parenthesizeLeftSideOfAccess(e,!0),t,ua(r));return r.flags|=64,r.transformFlags|=32,r}function Ke(e,t,r,n){return rA.assert(!!(64&e.flags),"Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead."),e.expression!==t||e.questionDotToken!==r||e.name!==n?u(He(t,r,n),e):e}function Ge(e,t,r){var n=x(212);return n.expression=e,n.questionDotToken=t,n.argumentExpression=r,n.transformFlags|=dy(n.expression)|dy(n.questionDotToken)|dy(n.argumentExpression),n.jsDoc=void 0,n.flowNode=void 0,n}function Xe(e,t){t=Ge(c().parenthesizeLeftSideOfAccess(e,!1),void 0,_a(t));return yg(e)&&(t.transformFlags|=384),t}function Qe(e,t,r){r=Ge(c().parenthesizeLeftSideOfAccess(e,!0),t,_a(r));return r.flags|=64,r.transformFlags|=32,r}function Ye(e,t,r,n){return rA.assert(!!(64&e.flags),"Cannot update a ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead."),e.expression!==t||e.questionDotToken!==r||e.argumentExpression!==n?u(Qe(t,r,n),e):e}function Ze(e,t,r,n){var a=x(213);return a.expression=e,a.questionDotToken=t,a.typeArguments=r,a.arguments=n,a.transformFlags|=dy(a.expression)|dy(a.questionDotToken)|fy(a.typeArguments)|fy(a.arguments),a.typeArguments&&(a.transformFlags|=1),VP(a.expression)&&(a.transformFlags|=16384),a}function $e(e,t,r){r=Ze(c().parenthesizeLeftSideOfAccess(e,!1),void 0,ca(t),c().parenthesizeExpressionsOfCommaDelimitedList(g(r)));return kR(r.expression)&&(r.transformFlags|=8388608),r}function et(e,t,r,n){n=Ze(c().parenthesizeLeftSideOfAccess(e,!0),t,ca(r),c().parenthesizeExpressionsOfCommaDelimitedList(g(n)));return n.flags|=64,n.transformFlags|=32,n}function tt(e,t,r,n,a){return rA.assert(!!(64&e.flags),"Cannot update a CallExpression using updateCallChain. Use updateCall instead."),e.expression!==t||e.questionDotToken!==r||e.typeArguments!==n||e.arguments!==a?u(et(t,r,n,a),e):e}function rt(e,t,r){var n=x(214);return n.expression=c().parenthesizeExpressionOfNew(e),n.typeArguments=ca(t),n.arguments=r?c().parenthesizeExpressionsOfCommaDelimitedList(r):void 0,n.transformFlags|=dy(n.expression)|fy(n.typeArguments)|fy(n.arguments)|32,n.typeArguments&&(n.transformFlags|=1),n}function nt(e,t,r){var n=h(215);return n.tag=c().parenthesizeLeftSideOfAccess(e,!1),n.typeArguments=ca(t),n.template=r,n.transformFlags|=dy(n.tag)|fy(n.typeArguments)|dy(n.template)|1024,n.typeArguments&&(n.transformFlags|=1),_d(n.template)&&(n.transformFlags|=128),n}function at(e,t){var r=h(216);return r.expression=c().parenthesizeOperandOfPrefixUnary(t),r.type=e,r.transformFlags|=dy(r.expression)|dy(r.type)|1,r}function it(e,t,r){return e.type!==t||e.expression!==r?u(at(t,r),e):e}function ot(e){var t=h(217);return t.expression=e,t.transformFlags=dy(t.expression),t.jsDoc=void 0,t}function st(e,t){return e.expression!==t?u(ot(t),e):e}function ct(e,t,r,n,a,i,o){var s=x(218);s.modifiers=ca(e),s.asteriskToken=t,s.name=ua(r),s.typeParameters=ca(n),s.parameters=g(a),s.type=i,s.body=o;a=512&bL(s.modifiers),i=!!s.asteriskToken,o=a&&i;return s.transformFlags=fy(s.modifiers)|dy(s.asteriskToken)|_y(s.name)|fy(s.typeParameters)|fy(s.parameters)|dy(s.type)|-67108865&dy(s.body)|(o?128:a?256:i?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 ut(e,t,r,n,a,i,o,s){return e.name!==n||e.modifiers!==t||e.asteriskToken!==r||e.typeParameters!==a||e.parameters!==i||e.type!==o||e.body!==s?b(ct(t,r,n,a,i,o,s),e):e}function _t(e,t,r,n,a,i){var o=x(219);o.modifiers=ca(e),o.typeParameters=ca(t),o.parameters=g(r),o.type=n,o.equalsGreaterThanToken=null!=a?a:L(39),o.body=c().parenthesizeConciseBodyOfArrowFunction(i);i=512&bL(o.modifiers);return o.transformFlags=fy(o.modifiers)|fy(o.typeParameters)|fy(o.parameters)|dy(o.type)|dy(o.equalsGreaterThanToken)|-67108865&dy(o.body)|(o.typeParameters||o.type?1:0)|(i?16640:0)|1024,o.typeArguments=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 lt(e,t,r,n,a,i,o){return e.modifiers!==t||e.typeParameters!==r||e.parameters!==n||e.type!==a||e.equalsGreaterThanToken!==i||e.body!==o?b(_t(t,r,n,a,i,o),e):e}function dt(e){var t=h(220);return t.expression=c().parenthesizeOperandOfPrefixUnary(e),t.transformFlags|=dy(t.expression),t}function ft(e){var t=h(221);return t.expression=c().parenthesizeOperandOfPrefixUnary(e),t.transformFlags|=dy(t.expression),t}function pt(e){var t=h(222);return t.expression=c().parenthesizeOperandOfPrefixUnary(e),t.transformFlags|=dy(t.expression),t}function mt(e){var t=h(223);return t.expression=c().parenthesizeOperandOfPrefixUnary(e),t.transformFlags|=2097536|dy(t.expression),t}function yt(e,t){var r=h(224);return r.operator=e,r.operand=c().parenthesizeOperandOfPrefixUnary(t),r.transformFlags|=dy(r.operand),46!==e&&47!==e||!xR(r.operand)||mE(r.operand)||ex(r.operand)||(r.transformFlags|=268435456),r}function vt(e,t){var r=h(225);return r.operator=t,r.operand=c().parenthesizeOperandOfPostfixUnary(e),r.transformFlags|=dy(r.operand),!xR(r.operand)||mE(r.operand)||ex(r.operand)||(r.transformFlags|=268435456),r}function gt(e,t,r){var n=x(226),t="number"==typeof(a=t)?L(a):a,a=t.kind;return n.left=c().parenthesizeLeftSideOfBinary(a,e),n.operatorToken=t,n.right=c().parenthesizeRightSideOfBinary(a,n.left,r),n.transformFlags|=dy(n.left)|dy(n.operatorToken)|dy(n.right),61===a?n.transformFlags|=32:64===a?nj(n.left)?n.transformFlags|=5248|ht(n.left):rj(n.left)&&(n.transformFlags|=5120|ht(n.left)):43===a||68===a?n.transformFlags|=512:rf(a)&&(n.transformFlags|=16),103===a&&bR(n.left)&&(n.transformFlags|=536870912),n.jsDoc=void 0,n}function ht(e){return Kx(e)?65536:0}function xt(e,t,r,n,a){var i=h(227);return i.condition=c().parenthesizeConditionOfConditionalExpression(e),i.questionToken=null!=t?t:L(58),i.whenTrue=c().parenthesizeBranchOfConditionalExpression(r),i.colonToken=null!=n?n:L(59),i.whenFalse=c().parenthesizeBranchOfConditionalExpression(a),i.transformFlags|=dy(i.condition)|dy(i.questionToken)|dy(i.whenTrue)|dy(i.colonToken)|dy(i.whenFalse),i}function bt(e,t){var r=h(228);return r.head=e,r.templateSpans=g(t),r.transformFlags|=dy(r.head)|fy(r.templateSpans)|1024,r}function kt(e,t,r,n){void 0===n&&(n=0),rA.assert(!(-7177&n),"Unsupported template flags.");n=void 0;if(void 0!==r&&r!==t&&"object"==typeof(n=function(e,t){ey=ey||ao(99,!1,0);switch(e){case 15:ey.setText("`"+t+"`");break;case 16:ey.setText("`"+t+"${");break;case 17:ey.setText("}"+t+"${");break;case 18:ey.setText("}"+t+"`")}var r,e=ey.scan();20===e&&(e=ey.reScanTemplateToken(!1));if(ey.isUnterminated())return ey.setText(void 0),ty;switch(e){case 15:case 16:case 17:case 18:r=ey.getTokenValue()}return void 0!==r&&1===ey.scan()?(ey.setText(void 0),r):(ey.setText(void 0),ty)}(e,r)))return rA.fail("Invalid raw text");if(void 0===t){if(void 0===n)return rA.fail("Arguments 'text' and 'rawText' may not both be undefined.");t=n}else void 0!==n&&rA.assert(t===n,"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.");return t}function Tt(e){var t=1024;return e&&(t|=128),t}function St(e,t,r,n){e=x(e);return e.text=t,e.rawText=r,e.templateFlags=7176&n,e.transformFlags=Tt(e.templateFlags),e}function wt(e,t,r,n){return 15===e?St(e,t,r,n):(t=t,r=r,n=n,(e=O(e=e)).text=t,e.rawText=r,e.templateFlags=7176&n,e.transformFlags=Tt(e.templateFlags),e)}function Ct(e,t){rA.assert(!e||!!t,"A `YieldExpression` with an asteriskToken must have an expression.");var r=h(229);return r.expression=t&&c().parenthesizeExpressionForDisallowedComma(t),r.asteriskToken=e,r.transformFlags|=dy(r.expression)|dy(r.asteriskToken)|1049728,r}function Nt(e){var t=h(230);return t.expression=c().parenthesizeExpressionForDisallowedComma(e),t.transformFlags|=33792|dy(t.expression),t}function Dt(e,t,r,n,a){var i=x(231);return i.modifiers=ca(e),i.name=ua(t),i.typeParameters=ca(r),i.heritageClauses=ca(n),i.members=g(a),i.transformFlags|=fy(i.modifiers)|_y(i.name)|fy(i.typeParameters)|fy(i.heritageClauses)|fy(i.members)|(i.typeParameters?1:0)|1024,i.jsDoc=void 0,i}function At(e,t,r,n,a,i){return e.modifiers!==t||e.name!==r||e.typeParameters!==n||e.heritageClauses!==a||e.members!==i?u(Dt(t,r,n,a,i),e):e}function Et(e,t){var r=h(233);return r.expression=c().parenthesizeLeftSideOfAccess(e,!1),r.typeArguments=t&&c().parenthesizeTypeArguments(t),r.transformFlags|=dy(r.expression)|fy(r.typeArguments)|1024,r}function Ft(e,t){var r=h(234);return r.expression=e,r.type=t,r.transformFlags|=dy(r.expression)|dy(r.type)|1,r}function Pt(e,t,r){return e.expression!==t||e.type!==r?u(Ft(t,r),e):e}function It(e){var t=h(235);return t.expression=c().parenthesizeLeftSideOfAccess(e,!1),t.transformFlags|=1|dy(t.expression),t}function Ot(e,t){return gs(e)?jt(e,t):e.expression!==t?u(It(t),e):e}function Lt(e,t){var r=h(238);return r.expression=e,r.type=t,r.transformFlags|=dy(r.expression)|dy(r.type)|1,r}function Mt(e,t,r){return e.expression!==t||e.type!==r?u(Lt(t,r),e):e}function Rt(e){var t=h(235);return t.flags|=64,t.expression=c().parenthesizeLeftSideOfAccess(e,!0),t.transformFlags|=1|dy(t.expression),t}function jt(e,t){return rA.assert(!!(64&e.flags),"Cannot update a NonNullExpression using updateNonNullChain. Use updateNonNullExpression instead."),e.expression!==t?u(Rt(t),e):e}function Bt(e,t){var r=h(236);switch(r.keywordToken=e,r.name=t,r.transformFlags|=dy(r.name),e){case 105:r.transformFlags|=1024;break;case 102:r.transformFlags|=32;break;default:return rA.assertNever(e)}return r.flowNode=void 0,r}function Jt(e,t){var r=h(239);return r.expression=e,r.literal=t,r.transformFlags|=dy(r.expression)|dy(r.literal)|1024,r}function zt(e,t){var r=h(241);return r.statements=g(e),r.multiLine=t,r.transformFlags|=fy(r.statements),r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r}function Ut(e,t){var r=h(243);return r.modifiers=ca(e),r.declarationList=RD(t)?cr(t):t,r.transformFlags|=fy(r.modifiers)|dy(r.declarationList),2&bL(r.modifiers)&&(r.transformFlags=1),r.jsDoc=void 0,r.flowNode=void 0,r}function Vt(e,t,r){return e.modifiers!==t||e.declarationList!==r?u(Ut(t,r),e):e}function qt(){var e=h(242);return e.jsDoc=void 0,e}function Wt(e){var t=h(244);return t.expression=c().parenthesizeExpressionOfExpressionStatement(e),t.transformFlags|=dy(t.expression),t.jsDoc=void 0,t.flowNode=void 0,t}function Ht(e,t,r){var n=h(245);return n.expression=e,n.thenStatement=da(t),n.elseStatement=da(r),n.transformFlags|=dy(n.expression)|dy(n.thenStatement)|dy(n.elseStatement),n.jsDoc=void 0,n.flowNode=void 0,n}function Kt(e,t){var r=h(246);return r.statement=da(e),r.expression=t,r.transformFlags|=dy(r.statement)|dy(r.expression),r.jsDoc=void 0,r.flowNode=void 0,r}function Gt(e,t){var r=h(247);return r.expression=e,r.statement=da(t),r.transformFlags|=dy(r.expression)|dy(r.statement),r.jsDoc=void 0,r.flowNode=void 0,r}function Xt(e,t,r,n){var a=h(248);return a.initializer=e,a.condition=t,a.incrementor=r,a.statement=da(n),a.transformFlags|=dy(a.initializer)|dy(a.condition)|dy(a.incrementor)|dy(a.statement),a.jsDoc=void 0,a.locals=void 0,a.nextContainer=void 0,a.flowNode=void 0,a}function Qt(e,t,r){var n=h(249);return n.initializer=e,n.expression=t,n.statement=da(r),n.transformFlags|=dy(n.initializer)|dy(n.expression)|dy(n.statement),n.jsDoc=void 0,n.locals=void 0,n.nextContainer=void 0,n.flowNode=void 0,n}function Yt(e,t,r,n){var a=h(250);return a.awaitModifier=e,a.initializer=t,a.expression=c().parenthesizeExpressionForDisallowedComma(r),a.statement=da(n),a.transformFlags|=dy(a.awaitModifier)|dy(a.initializer)|dy(a.expression)|dy(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 Zt(e){var t=h(251);return t.label=ua(e),t.transformFlags|=4194304|dy(t.label),t.jsDoc=void 0,t.flowNode=void 0,t}function $t(e){var t=h(252);return t.label=ua(e),t.transformFlags|=4194304|dy(t.label),t.jsDoc=void 0,t.flowNode=void 0,t}function er(e){var t=h(253);return t.expression=e,t.transformFlags|=4194432|dy(t.expression),t.jsDoc=void 0,t.flowNode=void 0,t}function tr(e,t){var r=h(254);return r.expression=e,r.statement=da(t),r.transformFlags|=dy(r.expression)|dy(r.statement),r.jsDoc=void 0,r.flowNode=void 0,r}function rr(e,t){var r=h(255);return r.expression=c().parenthesizeExpressionForDisallowedComma(e),r.caseBlock=t,r.transformFlags|=dy(r.expression)|dy(r.caseBlock),r.jsDoc=void 0,r.flowNode=void 0,r.possiblyExhaustive=!1,r}function nr(e,t){var r=h(256);return r.label=ua(e),r.statement=da(t),r.transformFlags|=dy(r.label)|dy(r.statement),r.jsDoc=void 0,r.flowNode=void 0,r}function ar(e,t,r){return e.label!==t||e.statement!==r?u(nr(t,r),e):e}function ir(e){var t=h(257);return t.expression=e,t.transformFlags|=dy(t.expression),t.jsDoc=void 0,t.flowNode=void 0,t}function or(e,t,r){var n=h(258);return n.tryBlock=e,n.catchClause=t,n.finallyBlock=r,n.transformFlags|=dy(n.tryBlock)|dy(n.catchClause)|dy(n.finallyBlock),n.jsDoc=void 0,n.flowNode=void 0,n}function sr(e,t,r,n){var a=x(260);return a.name=ua(e),a.exclamationToken=t,a.type=r,a.initializer=la(n),a.transformFlags|=_y(a.name)|dy(a.initializer)|((null!==(n=a.exclamationToken)&&void 0!==n?n:a.type)?1:0),a.jsDoc=void 0,a}function cr(e,t){void 0===t&&(t=0);var r=h(261);return r.flags|=7&t,r.declarations=g(e),r.transformFlags|=4194304|fy(r.declarations),7&t&&(r.transformFlags|=263168),4&t&&(r.transformFlags|=4),r}function ur(e,t,r,n,a,i,o){var s=x(262);return s.modifiers=ca(e),s.asteriskToken=t,s.name=ua(r),s.typeParameters=ca(n),s.parameters=g(a),s.type=i,s.body=o,!s.body||2&bL(s.modifiers)?s.transformFlags=1:(a=512&bL(s.modifiers),i=!!s.asteriskToken,o=a&&i,s.transformFlags=fy(s.modifiers)|dy(s.asteriskToken)|_y(s.name)|fy(s.typeParameters)|fy(s.parameters)|dy(s.type)|-67108865&dy(s.body)|(o?128:a?256:i?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.endFlowNode=void 0,s.returnFlowNode=void 0,s}function _r(e,t,r,n,a,i,o,s){return e.modifiers!==t||e.asteriskToken!==r||e.name!==n||e.typeParameters!==a||e.parameters!==i||e.type!==o||e.body!==s?function(e,t){e!==t&&e.modifiers===t.modifiers&&(e.modifiers=t.modifiers);return b(e,t)}(ur(t,r,n,a,i,o,s),e):e}function lr(e,t,r,n,a){var i=x(263);return i.modifiers=ca(e),i.name=ua(t),i.typeParameters=ca(r),i.heritageClauses=ca(n),i.members=g(a),2&bL(i.modifiers)?i.transformFlags=1:(i.transformFlags|=fy(i.modifiers)|_y(i.name)|fy(i.typeParameters)|fy(i.heritageClauses)|fy(i.members)|(i.typeParameters?1:0)|1024,8192&i.transformFlags&&(i.transformFlags|=1)),i.jsDoc=void 0,i}function dr(e,t,r,n,a,i){return e.modifiers!==t||e.name!==r||e.typeParameters!==n||e.heritageClauses!==a||e.members!==i?u(lr(t,r,n,a,i),e):e}function fr(e,t,r,n,a){var i=x(264);return i.modifiers=ca(e),i.name=ua(t),i.typeParameters=ca(r),i.heritageClauses=ca(n),i.members=g(a),i.transformFlags=1,i.jsDoc=void 0,i}function pr(e,t,r,n,a,i){return e.modifiers!==t||e.name!==r||e.typeParameters!==n||e.heritageClauses!==a||e.members!==i?u(fr(t,r,n,a,i),e):e}function mr(e,t,r,n){var a=x(265);return a.modifiers=ca(e),a.name=ua(t),a.typeParameters=ca(r),a.type=n,a.transformFlags=1,a.jsDoc=void 0,a.locals=void 0,a.nextContainer=void 0,a}function yr(e,t,r,n,a){return e.modifiers!==t||e.name!==r||e.typeParameters!==n||e.type!==a?u(mr(t,r,n,a),e):e}function vr(e,t,r){var n=x(266);return n.modifiers=ca(e),n.name=ua(t),n.members=g(r),n.transformFlags|=fy(n.modifiers)|dy(n.name)|fy(n.members)|1,n.transformFlags&=-67108865,n.jsDoc=void 0,n}function gr(e,t,r,n){return e.modifiers!==t||e.name!==r||e.members!==n?u(vr(t,r,n),e):e}function hr(e,t,r,n){void 0===n&&(n=0);var a=x(267);return a.modifiers=ca(e),a.flags|=2088&n,a.name=t,a.body=r,2&bL(a.modifiers)?a.transformFlags=1:a.transformFlags|=fy(a.modifiers)|dy(a.name)|dy(a.body)|1,a.transformFlags&=-67108865,a.jsDoc=void 0,a.locals=void 0,a.nextContainer=void 0,a}function xr(e,t,r,n){return e.modifiers!==t||e.name!==r||e.body!==n?u(hr(t,r,n,e.flags),e):e}function br(e){var t=h(268);return t.statements=g(e),t.transformFlags|=fy(t.statements),t.jsDoc=void 0,t}function kr(e){var t=h(269);return t.clauses=g(e),t.transformFlags|=fy(t.clauses),t.locals=void 0,t.nextContainer=void 0,t}function Tr(e){var t=x(270);return t.name=ua(e),t.transformFlags|=1|ly(t.name),t.modifiers=void 0,t.jsDoc=void 0,t}function Sr(e,t,r,n){var a=x(271);return a.modifiers=ca(e),a.name=ua(r),a.isTypeOnly=t,a.moduleReference=n,a.transformFlags|=fy(a.modifiers)|ly(a.name)|dy(a.moduleReference),Gj(a.moduleReference)||(a.transformFlags|=1),a.transformFlags&=-67108865,a.jsDoc=void 0,a}function wr(e,t,r,n,a){return e.modifiers!==t||e.isTypeOnly!==r||e.name!==n||e.moduleReference!==a?u(Sr(t,r,n,a),e):e}function Cr(e,t,r,n){var a=h(272);return a.modifiers=ca(e),a.importClause=t,a.moduleSpecifier=r,a.assertClause=n,a.transformFlags|=dy(a.importClause)|dy(a.moduleSpecifier),a.transformFlags&=-67108865,a.jsDoc=void 0,a}function Nr(e,t,r,n,a){return e.modifiers!==t||e.importClause!==r||e.moduleSpecifier!==n||e.assertClause!==a?u(Cr(t,r,n,a),e):e}function Dr(e,t,r){var n=x(273);return n.isTypeOnly=e,n.name=t,n.namedBindings=r,n.transformFlags|=dy(n.name)|dy(n.namedBindings),e&&(n.transformFlags|=1),n.transformFlags&=-67108865,n}function Ar(e,t){var r=h(300);return r.elements=g(e),r.multiLine=t,r.transformFlags|=4,r}function Er(e,t){var r=h(301);return r.name=e,r.value=t,r.transformFlags|=4,r}function Fr(e,t){var r=h(302);return r.assertClause=e,r.multiLine=t,r}function Pr(e){var t=x(274);return t.name=e,t.transformFlags|=dy(t.name),t.transformFlags&=-67108865,t}function Ir(e){var t=x(280);return t.name=e,t.transformFlags|=32|dy(t.name),t.transformFlags&=-67108865,t}function Or(e){var t=h(275);return t.elements=g(e),t.transformFlags|=fy(t.elements),t.transformFlags&=-67108865,t}function Lr(e,t,r){var n=x(276);return n.isTypeOnly=e,n.propertyName=t,n.name=r,n.transformFlags|=dy(n.propertyName)|dy(n.name),n.transformFlags&=-67108865,n}function Mr(e,t,r){var n=x(277);return n.modifiers=ca(e),n.isExportEquals=t,n.expression=t?c().parenthesizeRightSideOfBinary(64,void 0,r):c().parenthesizeExpressionOfExportDefault(r),n.transformFlags|=fy(n.modifiers)|dy(n.expression),n.transformFlags&=-67108865,n.jsDoc=void 0,n}function Rr(e,t,r){return e.modifiers!==t||e.expression!==r?u(Mr(t,e.isExportEquals,r),e):e}function jr(e,t,r,n,a){var i=x(278);return i.modifiers=ca(e),i.isTypeOnly=t,i.exportClause=r,i.moduleSpecifier=n,i.assertClause=a,i.transformFlags|=fy(i.modifiers)|dy(i.exportClause)|dy(i.moduleSpecifier),i.transformFlags&=-67108865,i.jsDoc=void 0,i}function Br(e,t,r,n,a,i){return e.modifiers!==t||e.isTypeOnly!==r||e.exportClause!==n||e.moduleSpecifier!==a||e.assertClause!==i?function(e,t){e!==t&&e.modifiers===t.modifiers&&(e.modifiers=t.modifiers);return u(e,t)}(jr(t,r,n,a,i),e):e}function Jr(e){var t=h(279);return t.elements=g(e),t.transformFlags|=fy(t.elements),t.transformFlags&=-67108865,t}function zr(e,t,r){var n=h(281);return n.isTypeOnly=e,n.propertyName=ua(t),n.name=ua(r),n.transformFlags|=dy(n.propertyName)|dy(n.name),n.transformFlags&=-67108865,n.jsDoc=void 0,n}function Ur(e){var t=h(283);return t.expression=e,t.transformFlags|=dy(t.expression),t.transformFlags&=-67108865,t}function Vr(e,t,r){void 0===r&&(r=!1);t=qr(e,r?t&&c().parenthesizeNonArrayTypeOfPostfixType(t):t);return t.postfix=r,t}function qr(e,t){e=h(e);return e.type=t,e}function Wr(e,t){var r=x(324);return r.parameters=ca(e),r.type=t,r.transformFlags=fy(r.parameters)|(r.type?1:0),r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r.typeArguments=void 0,r}function Hr(e,t){void 0===t&&(t=!1);var r=x(329);return r.jsDocPropertyTags=ca(e),r.isArrayType=t,r}function Kr(e){var t=h(316);return t.type=e,t}function Gr(e,t,r){var n=x(330);return n.typeParameters=ca(e),n.parameters=g(t),n.type=r,n.jsDoc=void 0,n.locals=void 0,n.nextContainer=void 0,n}function Xr(e){var t=uy(e.kind);return e.tagName.escapedText===IA(t)?e.tagName:A(t)}function Qr(e,t,r){e=h(e);return e.tagName=t,e.comment=r,e}function Yr(e,t,r){e=x(e);return e.tagName=t,e.comment=r,e}function Zr(e,t,r,n){n=Qr(352,null!=e?e:A("template"),n);return n.constraint=t,n.typeParameters=g(r),n}function $r(e,t,r,n){n=Yr(353,null!=e?e:A("typedef"),n);return n.typeExpression=t,n.fullName=r,n.name=kx(r),n.locals=void 0,n.nextContainer=void 0,n}function en(e,t,r,n,a,i){i=Yr(348,null!=e?e:A("param"),i);return i.typeExpression=n,i.name=t,i.isNameFirst=!!a,i.isBracketed=r,i}function tn(e,t,r,n,a,i){i=Yr(355,null!=e?e:A("prop"),i);return i.typeExpression=n,i.name=t,i.isNameFirst=!!a,i.isBracketed=r,i}function rn(e,t,r,n){n=Yr(345,null!=e?e:A("callback"),n);return n.typeExpression=t,n.fullName=r,n.name=kx(r),n.locals=void 0,n.nextContainer=void 0,n}function nn(e,t,r){r=Qr(346,null!=e?e:A("overload"),r);return r.typeExpression=t,r}function an(e,t,r){r=Qr(335,null!=e?e:A("augments"),r);return r.class=t,r}function on(e,t,r){r=Qr(336,null!=e?e:A("implements"),r);return r.class=t,r}function sn(e,t,r){r=Qr(354,null!=e?e:A("see"),r);return r.name=t,r}function cn(e){var t=h(317);return t.name=e,t}function un(e,t){var r=h(318);return r.left=e,r.right=t,r.transformFlags|=dy(r.left)|dy(r.right),r}function _n(e,t){var r=h(331);return r.name=e,r.text=t,r}function ln(e,t){var r=h(332);return r.name=e,r.text=t,r}function dn(e,t){var r=h(333);return r.name=e,r.text=t,r}function fn(e,t,r){return Qr(e,null!=t?t:A(uy(e)),r)}function pn(e,t,r,n){n=Qr(e,null!=t?t:A(uy(e)),n);return n.typeExpression=r,n}function mn(e,t){return Qr(334,e,t)}function yn(e,t,r){r=Yr(347,null!=e?e:A(uy(347)),r);return r.typeExpression=t,r.locals=void 0,r.nextContainer=void 0,r}function vn(e){var t=h(328);return t.text=e,t}function gn(e,t){var r=h(327);return r.comment=e,r.tags=ca(t),r}function hn(e,t,r){var n=h(284);return n.openingElement=e,n.children=g(t),n.closingElement=r,n.transformFlags|=dy(n.openingElement)|fy(n.children)|dy(n.closingElement)|2,n}function xn(e,t,r){var n=h(285);return n.tagName=e,n.typeArguments=ca(t),n.attributes=r,n.transformFlags|=dy(n.tagName)|fy(n.typeArguments)|dy(n.attributes)|2,n.typeArguments&&(n.transformFlags|=1),n}function bn(e,t,r){var n=h(286);return n.tagName=e,n.typeArguments=ca(t),n.attributes=r,n.transformFlags|=dy(n.tagName)|fy(n.typeArguments)|dy(n.attributes)|2,t&&(n.transformFlags|=1),n}function kn(e){var t=h(287);return t.tagName=e,t.transformFlags|=2|dy(t.tagName),t}function Tn(e,t,r){var n=h(288);return n.openingFragment=e,n.children=g(t),n.closingFragment=r,n.transformFlags|=dy(n.openingFragment)|fy(n.children)|dy(n.closingFragment)|2,n}function Sn(e,t){var r=h(12);return r.text=e,r.containsOnlyTriviaWhiteSpaces=!!t,r.transformFlags|=2,r}function wn(e,t){var r=x(291);return r.name=e,r.initializer=t,r.transformFlags|=dy(r.name)|dy(r.initializer)|2,r}function Cn(e){var t=x(292);return t.properties=g(e),t.transformFlags|=2|fy(t.properties),t}function Nn(e){var t=h(293);return t.expression=e,t.transformFlags|=2|dy(t.expression),t}function Dn(e,t){var r=h(294);return r.dotDotDotToken=e,r.expression=t,r.transformFlags|=dy(r.dotDotDotToken)|dy(r.expression)|2,r}function An(e,t){var r=h(295);return r.namespace=e,r.name=t,r.transformFlags|=dy(r.namespace)|dy(r.name)|2,r}function En(e,t){var r=h(296);return r.expression=c().parenthesizeExpressionForDisallowedComma(e),r.statements=g(t),r.transformFlags|=dy(r.expression)|fy(r.statements),r.jsDoc=void 0,r}function Fn(e){var t=h(297);return t.statements=g(e),t.transformFlags=fy(t.statements),t}function Pn(e,t){var r=h(298);switch(r.token=e,r.types=g(t),r.transformFlags|=fy(r.types),e){case 96:r.transformFlags|=1024;break;case 119:r.transformFlags|=1;break;default:return rA.assertNever(e)}return r}function In(e,t){var r=h(299);return r.variableDeclaration=function(e){if("string"==typeof e||e&&!Aj(e))return sr(e,void 0,void 0,void 0);return e}(e),r.block=t,r.transformFlags|=dy(r.variableDeclaration)|dy(r.block)|(e?0:64),r.locals=void 0,r.nextContainer=void 0,r}function On(e,t){var r=x(303);return r.name=ua(e),r.initializer=c().parenthesizeExpressionForDisallowedComma(t),r.transformFlags|=_y(r.name)|dy(r.initializer),r.modifiers=void 0,r.questionToken=void 0,r.exclamationToken=void 0,r.jsDoc=void 0,r}function Ln(e,t){var r=x(304);return r.name=ua(e),r.objectAssignmentInitializer=t&&c().parenthesizeExpressionForDisallowedComma(t),r.transformFlags|=ly(r.name)|dy(r.objectAssignmentInitializer)|1024,r.equalsToken=void 0,r.modifiers=void 0,r.questionToken=void 0,r.exclamationToken=void 0,r.jsDoc=void 0,r}function Mn(e){var t=x(305);return t.expression=c().parenthesizeExpressionForDisallowedComma(e),t.transformFlags|=65664|dy(t.expression),t.jsDoc=void 0,t}function Rn(e,t){var r=x(306);return r.name=ua(e),r.initializer=t&&c().parenthesizeExpressionForDisallowedComma(t),r.transformFlags|=dy(r.name)|dy(r.initializer)|1,r.jsDoc=void 0,r}function jn(e){var t=Object.create(e.redirectTarget);return Object.defineProperties(t,{id:{get:function(){return this.redirectInfo.redirectTarget.id},set:function(e){this.redirectInfo.redirectTarget.id=e}},symbol:{get:function(){return this.redirectInfo.redirectTarget.symbol},set:function(e){this.redirectInfo.redirectTarget.symbol=e}}}),t.redirectInfo=e,t}function Bn(e){var t,r,r=e.redirectInfo?((r=jn((t=e).redirectInfo)).flags|=-17&t.flags,r.fileName=t.fileName,r.path=t.path,r.resolvedPath=t.resolvedPath,r.originalFileName=t.originalFileName,r.packageJsonLocations=t.packageJsonLocations,r.packageJsonScope=t.packageJsonScope,r.emitNode=void 0,r):function(e){var t,r=s.createBaseSourceFileNode(312);for(t in r.flags|=-17&e.flags,e)!ma(r,t)&&ma(e,t)&&("emitNode"!==t?r[t]=e[t]:r.emitNode=void 0);return r}(e);return _R(r,e),r}function Jn(e,t){void 0===t&&(t=WN);var r=h(313);return r.prepends=t,r.sourceFiles=e,r.syntheticFileReferences=void 0,r.syntheticTypeReferences=void 0,r.syntheticLibReferences=void 0,r.hasNoDefaultLib=void 0,r}function zn(e,t){e=h(e);return e.data=t,e}function Un(e,t){var r=h(360);return r.expression=e,r.original=t,r.transformFlags|=1|dy(r.expression),UB(r,t),r}function Vn(e,t){return e.expression!==t?u(Un(t,e.original),e):e}function qn(e){if(jO(e)&&!Ro(e)&&!e.original&&!e.emitNode&&!e.id){if(Jg(e))return e.elements;if(mj(e)&&Yv(e.operatorToken))return[e.left,e.right]}return e}function Wn(e){var t=h(361);return t.elements=g(fa(e,qn)),t.transformFlags|=fy(t.elements),t}function Hn(e,t){var r=h(362);return r.expression=e,r.thisArg=t,r.transformFlags|=dy(r.expression)|dy(r.thisArg),r}function Kn(e){if(void 0===e)return e;if(uB(e))return Bn(e);if(mE(e))return(r=N((t=e).escapedText)).flags|=-17&t.flags,r.transformFlags=t.transformFlags,_R(r,t),$y(r,__assign({},t.emitNode.autoGenerate)),r;var t,r,n,a;if(xR(e))return(r=N((t=e).escapedText)).flags|=-17&t.flags,r.jsDoc=t.jsDoc,r.flowNode=t.flowNode,r.symbol=t.symbol,r.transformFlags=t.transformFlags,_R(r,t),(t=yR(t))&&mR(r,t),r;if(Ms(e))return(a=P((n=e).escapedText)).flags|=-17&n.flags,a.transformFlags=n.transformFlags,_R(a,n),$y(a,__assign({},n.emitNode.autoGenerate)),a;if(bR(e))return(a=P((n=e).escapedText)).flags|=-17&n.flags,a.transformFlags=n.transformFlags,_R(a,n),a;var i,o=Ss(e.kind)?s.createBaseNode(e.kind):s.createBaseTokenNode(e.kind);for(i in o.flags|=-17&e.flags,o.transformFlags=e.transformFlags,_R(o,e),e)!ma(o,i)&&ma(e,i)&&(o[i]=e[i]);return o}function Gn(){return pt(k("0"))}function Xn(e,t,r){return nE(e)?et(He(e,void 0,t),void 0,void 0,r):$e(We(e,t),void 0,r)}function Qn(e,t,r){return Xn(A(e),t,r)}function Yn(e,t,r){return!!r&&(e.push(On(t,r)),!0)}function Zn(e,t){switch(e.kind){case 217:return st(e,t);case 216:return it(e,e.type,t);case 234:return Pt(e,t,e.type);case 238:return Mt(e,t,e.type);case 235:return Ot(e,t);case 360:return Vn(e,t)}}function $n(e){return uj(e)&&jO(e)&&jO(Ay(e))&&jO(Ly(e))&&!dD(My(e))&&!dD(Ry(e))}function ea(e,t){var r=oO(e);switch(r.kind){case 80:return t;case 110:case 9:case 10:case 11:return;case 209:return 0===r.elements.length?void 0:1;case 210:return 0<r.properties.length;default:return 1}}function ta(e,t,r,n,a){void 0===n&&(n=0);var i=a?e&&zo(e):JA(e);if(i&&xR(i)&&!mE(i)){a=jM(UB(Kn(i),i),i.parent);return n|=p_(i),r||(n|=96),t||(n|=3072),n&&lR(a,n),a}return F(e)}function ra(e,t,r){return ta(e,t,r,16384)}function na(e,t,r,n){e=We(e,jO(t)?t:Kn(t));UB(e,t);t=0;return n||(t|=96),r||(t|=3072),t&&lR(e,t),e}function aa(){return sx(Wt(w("use strict")))}function ia(e,t,r,n){void 0===r&&(r=0),rA.assert(0===t.length,"Prologue directives should be at the first statement in the target statements array");for(var a,i=!1,o=e.length;r<o;){var s=e[r];if(!J_(s))break;hR((a=s).expression)&&"use strict"===a.expression.text&&(i=!0),t.push(s),r++}return n&&!i&&t.push(aa()),r}function oa(e,t,r,n,a){void 0===a&&(a=ya);for(var i=e.length;void 0!==r&&r<i;){var o=e[r];if(!(2097152&p_(o)&&a(o)))break;vD(t,n?TJ(o,n,XE):o),r++}return r}function sa(e,t,r){for(var n=r;n<e.length&&t(e[n]);)n++;return n}function ca(e){return e?g(e):void 0}function ua(e){return"string"==typeof e?A(e):e}function _a(e){return"string"==typeof e?w(e):"number"==typeof e?k(e):"boolean"==typeof e?(e?j:B)():e}function la(e){return e&&c().parenthesizeExpressionForDisallowedComma(e)}function da(e){return e&&sh(e)?UB(_R(qt(),e),e):e}}function sy(e,t){return e!==t&&UB(e,t),e}function cy(e,t){return e!==t&&(_R(e,t),UB(e,t)),e}function uy(e){switch(e){case 351:return"type";case 349:return"returns";case 350:return"this";case 347:return"enum";case 337:return"author";case 339:return"class";case 340:return"public";case 341:return"private";case 342:return"protected";case 343:return"readonly";case 344:return"override";case 352:return"template";case 353:return"typedef";case 348:return"param";case 355:return"prop";case 345:return"callback";case 346:return"overload";case 335:return"augments";case 336:return"implements";default:return rA.fail("Unsupported kind: ".concat(rA.formatSyntaxKind(e)))}}function _y(e){return(e&&xR(e)?ly:dy)(e)}function ly(e){return-67108865&dy(e)}function dy(e){if(!e)return 0;var t=e.transformFlags&~my(e.kind);return BA(e)&&xE(e.name)?(e=e.name,t|134234112&e.transformFlags):t}function fy(e){return e?e.transformFlags:0}function py(e){var t,r,n=0;try{for(var a=__values(e),i=a.next();!i.done;i=a.next())n|=dy(i.value)}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}e.transformFlags=n}function my(e){if(182<=e&&e<=205)return-2;switch(e){case 213:case 214:case 209:return-2147450880;case 267:return-1941676032;case 169:return-2147483648;case 219:return-2072174592;case 218:case 262:return-1937940480;case 261:return-2146893824;case 263:case 231:return-2147344384;case 176:return-1937948672;case 172:return-2013249536;case 174:case 177:case 178:return-2005057536;case 133:case 150:case 163:case 146:case 154:case 151:case 136:case 155:case 116:case 168:case 171:case 173:case 179:case 180:case 181:case 264:case 265:return-2;case 210:return-2147278848;case 299:return-2147418112;case 206:case 207:return-2147450880;case 216:case 238:case 234:case 360:case 217:case 108:return-2147483648;case 211:case 212:default:return-2147483648}}function yy(e){return e.flags|=16,e}function vy(e,t,r){var n,a,i,o,s,c,u,_,l;jD(e)?(i="",d=(o=e).length,s=t,c=r):(rA.assert("js"===t||"dts"===t),i=("js"===t?e.javascriptPath:e.declarationPath)||"",s="js"===t?e.javascriptMapPath:e.declarationMapPath,u=function(){return"js"===t?e.javascriptText:e.declarationText},_=function(){return"js"===t?e.javascriptMapText:e.declarationMapText},d=function(){return u().length},e.buildInfo&&e.buildInfo.bundle&&(rA.assert(void 0===r||"boolean"==typeof r),n=r,a="js"===t?e.buildInfo.bundle.js:e.buildInfo.bundle.dts,l=e.oldFileOfCurrentEmit));var d=l?function(e){var t,r,n,a;try{for(var i=__values(e.sections),o=i.next();!o.done;o=i.next()){var s=o.value;switch(s.kind){case"internal":case"text":n=vD(n,UB(uR.createUnparsedTextLike(s.data,"internal"===s.kind),s));break;case"no-default-lib":case"reference":case"type":case"type-import":case"type-require":case"lib":a=vD(a,UB(uR.createUnparsedSyntheticReference(s),s));break;case"prologue":case"emitHelpers":case"prepend":break;default:rA.assertNever(s)}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}var c=uR.createUnparsedSource(WN,a,null!=n?n:WN);return Em(a,c),Em(n,c),c.helpers=iD(e.sources&&e.sources.helpers,function(e){return Jv().get(e)}),c}(rA.checkDefined(a)):function(e,t,r){var n,a,i,o,s,c,u,_,l,d,f,p;try{for(var m=__values(e?e.sections:WN),y=m.next();!y.done;y=m.next()){var v=y.value;switch(v.kind){case"prologue":s=vD(s,UB(uR.createUnparsedPrologue(v.data),v));break;case"emitHelpers":c=vD(c,Jv().get(v.data));break;case"no-default-lib":p=!0;break;case"reference":u=vD(u,{pos:-1,end:-1,fileName:v.data});break;case"type":_=vD(_,{pos:-1,end:-1,fileName:v.data});break;case"type-import":_=vD(_,{pos:-1,end:-1,fileName:v.data,resolutionMode:99});break;case"type-require":_=vD(_,{pos:-1,end:-1,fileName:v.data,resolutionMode:1});break;case"lib":l=vD(l,{pos:-1,end:-1,fileName:v.data});break;case"prepend":var g=void 0;try{for(var h=(i=void 0,__values(v.texts)),x=h.next();!x.done;x=h.next()){var b=x.value;t&&"internal"===b.kind||(g=vD(g,UB(uR.createUnparsedTextLike(b.data,"internal"===b.kind),b)))}}catch(e){i={error:e}}finally{try{x&&!x.done&&(o=h.return)&&o.call(h)}finally{if(i)throw i.error}}d=gD(d,g),f=vD(f,uR.createUnparsedPrepend(v.data,null!=g?g:WN));break;case"internal":if(t){f=f||[];break}case"text":f=vD(f,UB(uR.createUnparsedTextLike(v.data,"internal"===v.kind),v));break;default:rA.assertNever(v)}}}catch(e){n={error:e}}finally{try{y&&!y.done&&(a=m.return)&&a.call(m)}finally{if(n)throw n.error}}f||(Am(k=uR.createUnparsedTextLike(void 0,!1),0,"function"==typeof r?r():r),f=[k]);var k=WB.createUnparsedSource(null!=s?s:WN,void 0,f);return Em(s,k),Em(f,k),Em(d,k),k.hasNoDefaultLib=p,k.helpers=c,k.referencedFiles=u||WN,k.typeReferenceDirectives=_,k.libReferenceDirectives=l||WN,k}(a,n,d);return d.fileName=i,d.sourceMapPath=s,d.oldFileOfCurrentEmit=l,u&&_?(Object.defineProperty(d,"text",{get:u}),Object.defineProperty(d,"sourceMapText",{get:_})):(rA.assert(!l),d.text=null!=o?o:"",d.sourceMapText=c),d}function gy(e,t,r,n,a,i){return jD(e)?xy(void 0,e,r,n,void 0,t,a,i):hy(e,t,r,n,a,i)}function hy(r,e,t,n,a,i,o,s){var c=WB.createInputFiles();c.javascriptPath=e,c.javascriptMapPath=t,c.declarationPath=n,c.declarationMapPath=a,c.buildInfoPath=i;function u(e){if(void 0!==e){var t=d.get(e);return void 0===t&&(t=r(e),d.set(e,void 0!==t&&t)),!1!==t?t:void 0}}function _(e){var t=u(e);return void 0!==t?t:"/* Input file ".concat(e," was missing */\r\n")}var l,d=new Map;return Object.defineProperties(c,{javascriptText:{get:function(){return _(e)}},javascriptMapText:{get:function(){return u(t)}},declarationText:{get:function(){return _(rA.checkDefined(n))}},declarationMapText:{get:function(){return u(a)}},buildInfo:{get:function(){var e;return void 0===l&&i&&(l=null!=o&&o.getBuildInfo?null!==(e=o.getBuildInfo(i,s.configFilePath))&&void 0!==e&&e:void 0!==(e=u(i))&&(null!==(e=UU(i,e))&&void 0!==e&&e)),l||void 0}}}),c}function xy(e,t,r,n,a,i,o,s,c,u,_){var l=WB.createInputFiles();return l.javascriptPath=e,l.javascriptText=t,l.javascriptMapPath=r,l.javascriptMapText=n,l.declarationPath=a,l.declarationText=i,l.declarationMapPath=o,l.declarationMapText=s,l.buildInfoPath=c,l.buildInfo=u,l.oldFileOfCurrentEmit=_,l}function by(e,t,r){return new(ny=ny||pF.getSourceMapSourceConstructor())(e,t,r)}function _R(e,t){return e.original!==t&&(!(e.original=t)||(t=t.emitNode)&&(e.emitNode=function(e,t){var r,n,a=e.flags,i=e.internalFlags,o=e.leadingComments,s=e.trailingComments,c=e.commentRange,u=e.sourceMapRange,_=e.tokenSourceMapRanges,l=e.constantValue,d=e.helpers,f=e.startsOnNewLine,p=e.snippetElement,m=e.classThis,e=e.assignedName;t=t||{};a&&(t.flags=a);i&&(t.internalFlags=-9&i);o&&(t.leadingComments=gD(o.slice(),t.leadingComments));s&&(t.trailingComments=gD(s.slice(),t.trailingComments));c&&(t.commentRange=c);u&&(t.sourceMapRange=u);_&&(t.tokenSourceMapRanges=function(e,t){t=t||[];for(var r in e)t[r]=e[r];return t}(_,t.tokenSourceMapRanges));void 0!==l&&(t.constantValue=l);if(d)try{for(var y=__values(d),v=y.next();!v.done;v=y.next()){var g=v.value;t.helpers=xD(t.helpers,g)}}catch(e){r={error:e}}finally{try{v&&!v.done&&(n=y.return)&&n.call(y)}finally{if(r)throw r.error}}void 0!==f&&(t.startsOnNewLine=f);void 0!==p&&(t.snippetElement=p);m&&(t.classThis=m);e&&(t.assignedName=e);return t}(t,e.emitNode))),e}var ky=e({"src/compiler/factory/nodeFactory.ts":function(){MK(),Ym=0,Zm=function(e){return e[e.None=0]="None",e[e.NoParenthesizerRules=1]="NoParenthesizerRules",e[e.NoNodeConverters=2]="NoNodeConverters",e[e.NoIndentationOnFreshPropertyAccess=4]="NoIndentationOnFreshPropertyAccess",e[e.NoOriginalNode=8]="NoOriginalNode",e}(Zm||{}),$m=[],ty={},ry=qm(),uR=oy(4,{createBaseSourceFileNode:function(e){return yy(ry.createBaseSourceFileNode(e))},createBaseIdentifierNode:function(e){return yy(ry.createBaseIdentifierNode(e))},createBasePrivateIdentifierNode:function(e){return yy(ry.createBasePrivateIdentifierNode(e))},createBaseTokenNode:function(e){return yy(ry.createBaseTokenNode(e))},createBaseNode:function(e){return yy(ry.createBaseNode(e))}})}});function Ty(e){var t;if(e.emitNode)rA.assert(!(8&e.emitNode.internalFlags),"Invalid attempt to mutate an immutable node.");else{if(Ro(e)){if(312===e.kind)return e.emitNode={annotatedNodes:[e]};Ty(null!==(t=CF(PA(CF(e))))&&void 0!==t?t:rA.fail("Could not determine parsed source file.")).annotatedNodes.push(e)}e.emitNode={}}return e.emitNode}function Sy(e){var t,r,n=null==(e=null==(e=CF(PA(e)))?void 0:e.emitNode)?void 0:e.annotatedNodes;if(n)try{for(var a=__values(n),i=a.next();!i.done;i=a.next())i.value.emitNode=void 0}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}function wy(e){var t=Ty(e);return t.flags|=3072,t.leadingComments=void 0,t.trailingComments=void 0,e}function lR(e,t){return Ty(e).flags=t,e}function Cy(e,t){var r=Ty(e);return r.flags=r.flags|t,e}function Ny(e,t){return Ty(e).internalFlags=t,e}function Dy(e,t){var r=Ty(e);return r.internalFlags=r.internalFlags|t,e}function Ay(e){var t;return null!==(t=null==(t=e.emitNode)?void 0:t.sourceMapRange)&&void 0!==t?t:e}function Ey(e,t){return Ty(e).sourceMapRange=t,e}function Fy(e,t){return null==(e=null==(e=e.emitNode)?void 0:e.tokenSourceMapRanges)?void 0:e[t]}function Py(e,t,r){var n,a=Ty(e);return(null!==(n=a.tokenSourceMapRanges)&&void 0!==n?n:a.tokenSourceMapRanges=[])[t]=r,e}function Iy(e){return null==(e=e.emitNode)?void 0:e.startsOnNewLine}function Oy(e,t){return Ty(e).startsOnNewLine=t,e}function Ly(e){var t;return null!==(t=null==(t=e.emitNode)?void 0:t.commentRange)&&void 0!==t?t:e}function dR(e,t){return Ty(e).commentRange=t,e}function My(e){return null==(e=e.emitNode)?void 0:e.leadingComments}function fR(e,t){return Ty(e).leadingComments=t,e}function pR(e,t,r,n){return fR(e,vD(My(e),{kind:t,pos:-1,end:-1,hasTrailingNewLine:n,text:r}))}function Ry(e){return null==(e=e.emitNode)?void 0:e.trailingComments}function jy(e,t){return Ty(e).trailingComments=t,e}function By(e,t,r,n){return jy(e,vD(Ry(e),{kind:t,pos:-1,end:-1,hasTrailingNewLine:n,text:r}))}function Jy(e,t){fR(e,My(t)),jy(e,Ry(t));t=Ty(t);return t.leadingComments=void 0,t.trailingComments=void 0,e}function zy(e){return null==(e=e.emitNode)?void 0:e.constantValue}function Uy(e,t){return Ty(e).constantValue=t,e}function Vy(e,t){var r=Ty(e);return r.helpers=vD(r.helpers,t),e}function qy(e,t){var r,n;if(dD(t)){var a=Ty(e);try{for(var i=__values(t),o=i.next();!o.done;o=i.next()){var s=o.value;a.helpers=xD(a.helpers,s)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}return e}function Wy(e,t){e=null==(e=e.emitNode)?void 0:e.helpers;return!!e&&Ne(e,t)}function Hy(e){return null==(e=e.emitNode)?void 0:e.helpers}function Ky(e,t,r){var e=e.emitNode,n=e&&e.helpers;if(dD(n)){for(var a=Ty(t),i=0,o=0;o<n.length;o++){var s=n[o];r(s)?(i++,a.helpers=xD(a.helpers,s)):0<i&&(n[o-i]=s)}0<i&&(n.length-=i)}}function Gy(e){return null==(e=e.emitNode)?void 0:e.snippetElement}function Xy(e,t){return Ty(e).snippetElement=t,e}function Qy(e){return Ty(e).internalFlags|=4,e}function Yy(e,t){return Ty(e).typeNode=t,e}function Zy(e){return null==(e=e.emitNode)?void 0:e.typeNode}function mR(e,t){return Ty(e).identifierTypeArguments=t,e}function yR(e){return null==(e=e.emitNode)?void 0:e.identifierTypeArguments}function $y(e,t){return Ty(e).autoGenerate=t,e}function ev(e){return null==(e=e.emitNode)?void 0:e.autoGenerate}function tv(e,t){return Ty(e).generatedImportReference=t,e}function vR(e){return null==(e=e.emitNode)?void 0:e.generatedImportReference}var rv,nv,av,iv,ov,sv,cv,uv,_v,lv,dv,fv,pv,mv,yv,vv,gv,hv,xv,bv,kv,Tv,Sv,wv,Cv,Nv,Dv,Av,Ev,Fv,Pv,Iv,Ov,Lv,Mv=e({"src/compiler/factory/emitNode.ts":function(){MK()}});function Rv(u){var _=u.factory,n=va(function(){return Ny(_.createTrue(),8)}),a=va(function(){return Ny(_.createFalse(),8)});return{getUnscopedHelperName:l,createDecorateHelper:function(e,t,r,n){u.requestEmitHelper(nv);var a=[];a.push(_.createArrayLiteralExpression(e,!0)),a.push(t),r&&(a.push(r),n&&a.push(n));return _.createCallExpression(l("__decorate"),void 0,a)},createMetadataHelper:function(e,t){return u.requestEmitHelper(av),_.createCallExpression(l("__metadata"),void 0,[_.createStringLiteral(e),t])},createParamHelper:function(e,t,r){return u.requestEmitHelper(iv),UB(_.createCallExpression(l("__param"),void 0,[_.createNumericLiteral(t+""),e]),r)},createESDecorateHelper:function(e,t,r,n,a,i){return u.requestEmitHelper(ov),_.createCallExpression(l("__esDecorate"),void 0,[null!=e?e:_.createNull(),null!=t?t:_.createNull(),r,function(e){return("class"===e.kind?function(e){e=[_.createPropertyAssignment(_.createIdentifier("kind"),_.createStringLiteral("class")),_.createPropertyAssignment(_.createIdentifier("name"),e.name),_.createPropertyAssignment(_.createIdentifier("metadata"),e.metadata)];return _.createObjectLiteralExpression(e)}:function(e){e=[_.createPropertyAssignment(_.createIdentifier("kind"),_.createStringLiteral(e.kind)),_.createPropertyAssignment(_.createIdentifier("name"),e.name.computed?e.name.name:_.createStringLiteralFromNode(e.name.name)),_.createPropertyAssignment(_.createIdentifier("static"),e.static?_.createTrue():_.createFalse()),_.createPropertyAssignment(_.createIdentifier("private"),e.private?_.createTrue():_.createFalse()),_.createPropertyAssignment(_.createIdentifier("access"),function(e,t){var r=[];r.push(function(e){e=!e.computed&&xR(e.name)?_.createStringLiteralFromNode(e.name):e.name;return _.createPropertyAssignment("has",_.createArrowFunction(void 0,void 0,[_.createParameterDeclaration(void 0,void 0,_.createIdentifier("obj"))],void 0,void 0,_.createBinaryExpression(e,103,_.createIdentifier("obj"))))}(e)),t.get&&r.push(function(e){e=e.computed?_.createElementAccessExpression(_.createIdentifier("obj"),e.name):_.createPropertyAccessExpression(_.createIdentifier("obj"),e.name);return _.createPropertyAssignment("get",_.createArrowFunction(void 0,void 0,[_.createParameterDeclaration(void 0,void 0,_.createIdentifier("obj"))],void 0,void 0,e))}(e));t.set&&r.push(function(e){e=e.computed?_.createElementAccessExpression(_.createIdentifier("obj"),e.name):_.createPropertyAccessExpression(_.createIdentifier("obj"),e.name);return _.createPropertyAssignment("set",_.createArrowFunction(void 0,void 0,[_.createParameterDeclaration(void 0,void 0,_.createIdentifier("obj")),_.createParameterDeclaration(void 0,void 0,_.createIdentifier("value"))],void 0,void 0,_.createBlock([_.createExpressionStatement(_.createAssignment(e,_.createIdentifier("value")))])))}(e));return _.createObjectLiteralExpression(r)}(e.name,e.access)),_.createPropertyAssignment(_.createIdentifier("metadata"),e.metadata)];return _.createObjectLiteralExpression(e)})(e)}(n),a,i])},createRunInitializersHelper:function(e,t,r){return u.requestEmitHelper(sv),_.createCallExpression(l("__runInitializers"),void 0,r?[e,t,r]:[e,t])},createAssignHelper:function(e){if(2<=rM(u.getCompilerOptions()))return _.createCallExpression(_.createPropertyAccessExpression(_.createIdentifier("Object"),"assign"),void 0,e);return u.requestEmitHelper(cv),_.createCallExpression(l("__assign"),void 0,e)},createAwaitHelper:function(e){return u.requestEmitHelper(uv),_.createCallExpression(l("__await"),void 0,[e])},createAsyncGeneratorHelper:function(e,t){return u.requestEmitHelper(uv),u.requestEmitHelper(_v),(e.emitNode||(e.emitNode={})).flags|=1572864,_.createCallExpression(l("__asyncGenerator"),void 0,[t?_.createThis():_.createVoidZero(),_.createIdentifier("arguments"),e])},createAsyncDelegatorHelper:function(e){return u.requestEmitHelper(uv),u.requestEmitHelper(lv),_.createCallExpression(l("__asyncDelegator"),void 0,[e])},createAsyncValuesHelper:function(e){return u.requestEmitHelper(dv),_.createCallExpression(l("__asyncValues"),void 0,[e])},createRestHelper:function(e,t,r,n){u.requestEmitHelper(fv);for(var a=[],i=0,o=0;o<t.length-1;o++){var s,c=gx(t[o]);c&&(SR(c)?(rA.assertIsDefined(r,"Encountered computed property name but 'computedTempVariables' argument was not provided."),s=r[i],i++,a.push(_.createConditionalExpression(_.createTypeCheck(s,"symbol"),void 0,s,void 0,_.createAdd(s,_.createStringLiteral(""))))):a.push(_.createStringLiteralFromNode(c)))}return _.createCallExpression(l("__rest"),void 0,[e,UB(_.createArrayLiteralExpression(a),n)])},createAwaiterHelper:function(e,t,r,n){u.requestEmitHelper(pv);n=_.createFunctionExpression(void 0,_.createToken(42),void 0,void 0,[],void 0,n);return(n.emitNode||(n.emitNode={})).flags|=1572864,_.createCallExpression(l("__awaiter"),void 0,[e?_.createThis():_.createVoidZero(),t?_.createIdentifier("arguments"):_.createVoidZero(),r?Xh(_,r):_.createVoidZero(),n])},createExtendsHelper:function(e){return u.requestEmitHelper(mv),_.createCallExpression(l("__extends"),void 0,[e,_.createUniqueName("_super",48)])},createTemplateObjectHelper:function(e,t){return u.requestEmitHelper(yv),_.createCallExpression(l("__makeTemplateObject"),void 0,[e,t])},createSpreadArrayHelper:function(e,t,r){return u.requestEmitHelper(gv),_.createCallExpression(l("__spreadArray"),void 0,[e,t,(r?n:a)()])},createPropKeyHelper:function(e){return u.requestEmitHelper(hv),_.createCallExpression(l("__propKey"),void 0,[e])},createSetFunctionNameHelper:function(e,t,r){return u.requestEmitHelper(xv),u.factory.createCallExpression(l("__setFunctionName"),void 0,r?[e,t,u.factory.createStringLiteral(r)]:[e,t])},createValuesHelper:function(e){return u.requestEmitHelper(bv),_.createCallExpression(l("__values"),void 0,[e])},createReadHelper:function(e,t){return u.requestEmitHelper(vv),_.createCallExpression(l("__read"),void 0,void 0!==t?[e,_.createNumericLiteral(t+"")]:[e])},createGeneratorHelper:function(e){return u.requestEmitHelper(kv),_.createCallExpression(l("__generator"),void 0,[_.createThis(),e])},createCreateBindingHelper:function(e,t,r){return u.requestEmitHelper(Tv),_.createCallExpression(l("__createBinding"),void 0,__spreadArray([_.createIdentifier("exports"),e,t],__read(r?[r]:[]),!1))},createImportStarHelper:function(e){return u.requestEmitHelper(wv),_.createCallExpression(l("__importStar"),void 0,[e])},createImportStarCallbackHelper:function(){return u.requestEmitHelper(wv),l("__importStar")},createImportDefaultHelper:function(e){return u.requestEmitHelper(Cv),_.createCallExpression(l("__importDefault"),void 0,[e])},createExportStarHelper:function(e,t){void 0===t&&(t=_.createIdentifier("exports"));return u.requestEmitHelper(Nv),u.requestEmitHelper(Tv),_.createCallExpression(l("__exportStar"),void 0,[e,t])},createClassPrivateFieldGetHelper:function(e,t,r,n){u.requestEmitHelper(Dv),r=n?[e,t,_.createStringLiteral(r),n]:[e,t,_.createStringLiteral(r)];return _.createCallExpression(l("__classPrivateFieldGet"),void 0,r)},createClassPrivateFieldSetHelper:function(e,t,r,n,a){u.requestEmitHelper(Av),n=a?[e,t,r,_.createStringLiteral(n),a]:[e,t,r,_.createStringLiteral(n)];return _.createCallExpression(l("__classPrivateFieldSet"),void 0,n)},createClassPrivateFieldInHelper:function(e,t){return u.requestEmitHelper(Ev),_.createCallExpression(l("__classPrivateFieldIn"),void 0,[e,t])},createAddDisposableResourceHelper:function(e,t,r){return u.requestEmitHelper(Fv),_.createCallExpression(l("__addDisposableResource"),void 0,[e,t,r?_.createTrue():_.createFalse()])},createDisposeResourcesHelper:function(e){return u.requestEmitHelper(Pv),_.createCallExpression(l("__disposeResources"),void 0,[e])}};function l(e){return lR(_.createIdentifier(e),8196)}}function jv(e,t){return e===t||e.priority===t.priority?0:void 0===e.priority?1:void 0===t.priority?-1:UD(e.priority,t.priority)}function Bv(n){for(var a=[],e=1;e<arguments.length;e++)a[e-1]=arguments[e];return function(e){for(var t="",r=0;r<a.length;r++)t+=n[r],t+=e(a[r]);return t+=n[n.length-1]}}function Jv(){return Iv=Iv||ie([nv,av,iv,ov,sv,cv,uv,_v,lv,dv,fv,pv,mv,yv,gv,bv,vv,hv,xv,kv,wv,Cv,Nv,Dv,Av,Ev,Tv,Sv,Fv,Pv],function(e){return e.name})}function zv(e,t){return oj(e)&&xR(e.expression)&&0!=(8192&p_(e.expression))&&e.expression.escapedText===t}var Uv=e({"src/compiler/factory/emitHelpers.ts":function(){MK(),rv=function(e){return e.Field="f",e.Method="m",e.Accessor="a",e}(rv||{}),Pv={name:"typescript:disposeResources",importName:"__disposeResources",scoped:!(Fv={name:"typescript:addDisposableResource",importName:"__addDisposableResource",scoped:!(Ev={name:"typescript:classPrivateFieldIn",importName:"__classPrivateFieldIn",scoped:!(Av={name:"typescript:classPrivateFieldSet",importName:"__classPrivateFieldSet",scoped:!(Dv={name:"typescript:classPrivateFieldGet",importName:"__classPrivateFieldGet",scoped:!(Nv={name:"typescript:export-star",importName:"__exportStar",scoped:!(Cv={name:"typescript:commonjsimportdefault",importName:"__importDefault",scoped:!(wv={name:"typescript:commonjsimportstar",importName:"__importStar",scoped:!(Sv={name:"typescript:commonjscreatevalue",importName:"__setModuleDefault",scoped:!(Tv={name:"typescript:commonjscreatebinding",importName:"__createBinding",scoped:!(kv={name:"typescript:generator",importName:"__generator",scoped:!(bv={name:"typescript:values",importName:"__values",scoped:!(xv={name:"typescript:setFunctionName",importName:"__setFunctionName",scoped:!(hv={name:"typescript:propKey",importName:"__propKey",scoped:!(gv={name:"typescript:spreadArray",importName:"__spreadArray",scoped:!(vv={name:"typescript:read",importName:"__read",scoped:!(yv={name:"typescript:makeTemplateObject",importName:"__makeTemplateObject",scoped:!(mv={name:"typescript:extends",importName:"__extends",scoped:!(pv={name:"typescript:awaiter",importName:"__awaiter",scoped:!(fv={name:"typescript:rest",importName:"__rest",scoped:!(dv={name:"typescript:asyncValues",importName:"__asyncValues",scoped:!(lv={name:"typescript:asyncDelegator",importName:"__asyncDelegator",scoped:!(_v={name:"typescript:asyncGenerator",importName:"__asyncGenerator",scoped:!(uv={name:"typescript:await",importName:"__await",scoped:!(cv={name:"typescript:assign",importName:"__assign",scoped:!(sv={name:"typescript:runInitializers",importName:"__runInitializers",scoped:!(ov={name:"typescript:esDecorate",importName:"__esDecorate",scoped:!(iv={name:"typescript:param",importName:"__param",scoped:!(av={name:"typescript:metadata",importName:"__metadata",scoped:!(nv={name:"typescript:decorate",importName:"__decorate",scoped:!1,priority:2,text:'\n            var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n                var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n                if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);\n                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;\n                return c > 3 && r && Object.defineProperty(target, key, r), r;\n            };'}),priority:3,text:'\n            var __metadata = (this && this.__metadata) || function (k, v) {\n                if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);\n            };'}),priority:4,text:"\n            var __param = (this && this.__param) || function (paramIndex, decorator) {\n                return function (target, key) { decorator(target, key, paramIndex); }\n            };"}),priority:2,text:'\n        var __esDecorate = (this && this.__esDecorate) || function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n            function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }\n            var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";\n            var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;\n            var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n            var _, done = false;\n            for (var i = decorators.length - 1; i >= 0; i--) {\n                var context = {};\n                for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];\n                for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n                context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };\n                var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n                if (kind === "accessor") {\n                    if (result === void 0) continue;\n                    if (result === null || typeof result !== "object") throw new TypeError("Object expected");\n                    if (_ = accept(result.get)) descriptor.get = _;\n                    if (_ = accept(result.set)) descriptor.set = _;\n                    if (_ = accept(result.init)) initializers.unshift(_);\n                }\n                else if (_ = accept(result)) {\n                    if (kind === "field") initializers.unshift(_);\n                    else descriptor[key] = _;\n                }\n            }\n            if (target) Object.defineProperty(target, contextIn.name, descriptor);\n            done = true;\n        };'}),priority:2,text:"\n        var __runInitializers = (this && this.__runInitializers) || function (thisArg, initializers, value) {\n            var useValue = arguments.length > 2;\n            for (var i = 0; i < initializers.length; i++) {\n                value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n            }\n            return useValue ? value : void 0;\n        };"}),priority:1,text:"\n            var __assign = (this && this.__assign) || function () {\n                __assign = Object.assign || function(t) {\n                    for (var s, i = 1, n = arguments.length; i < n; i++) {\n                        s = arguments[i];\n                        for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n                            t[p] = s[p];\n                    }\n                    return t;\n                };\n                return __assign.apply(this, arguments);\n            };"}),text:"\n            var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }"}),dependencies:[uv],text:'\n            var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {\n                if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n                var g = generator.apply(thisArg, _arguments || []), i, q = [];\n                return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;\n                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); }); }; }\n                function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n                function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n                function fulfill(value) { resume("next", value); }\n                function reject(value) { resume("throw", value); }\n                function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n            };'}),dependencies:[uv],text:'\n            var __asyncDelegator = (this && this.__asyncDelegator) || function (o) {\n                var i, p;\n                return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;\n                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; }\n            };'}),text:'\n            var __asyncValues = (this && this.__asyncValues) || function (o) {\n                if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n                var m = o[Symbol.asyncIterator], i;\n                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);\n                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); }); }; }\n                function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n            };'}),text:'\n            var __rest = (this && this.__rest) || function (s, e) {\n                var t = {};\n                for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n                    t[p] = s[p];\n                if (s != null && typeof Object.getOwnPropertySymbols === "function")\n                    for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n                        if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n                            t[p[i]] = s[p[i]];\n                    }\n                return t;\n            };'}),priority:5,text:'\n            var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n                function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n                return new (P || (P = Promise))(function (resolve, reject) {\n                    function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n                    function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }\n                    function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n                    step((generator = generator.apply(thisArg, _arguments || [])).next());\n                });\n            };'}),priority:0,text:'\n            var __extends = (this && this.__extends) || (function () {\n                var extendStatics = function (d, b) {\n                    extendStatics = Object.setPrototypeOf ||\n                        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n                        function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n                    return extendStatics(d, b);\n                };\n\n                return function (d, b) {\n                    if (typeof b !== "function" && b !== null)\n                        throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");\n                    extendStatics(d, b);\n                    function __() { this.constructor = d; }\n                    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n                };\n            })();'}),priority:0,text:'\n            var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {\n                if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }\n                return cooked;\n            };'}),text:'\n            var __read = (this && this.__read) || function (o, n) {\n                var m = typeof Symbol === "function" && o[Symbol.iterator];\n                if (!m) return o;\n                var i = m.call(o), r, ar = [], e;\n                try {\n                    while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n                }\n                catch (error) { e = { error: error }; }\n                finally {\n                    try {\n                        if (r && !r.done && (m = i["return"])) m.call(i);\n                    }\n                    finally { if (e) throw e.error; }\n                }\n                return ar;\n            };'}),text:"\n            var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n                if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n                    if (ar || !(i in from)) {\n                        if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n                        ar[i] = from[i];\n                    }\n                }\n                return to.concat(ar || Array.prototype.slice.call(from));\n            };"}),text:'\n        var __propKey = (this && this.__propKey) || function (x) {\n            return typeof x === "symbol" ? x : "".concat(x);\n        };'}),text:'\n        var __setFunctionName = (this && this.__setFunctionName) || function (f, name, prefix) {\n            if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";\n            return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });\n        };'}),text:'\n            var __values = (this && this.__values) || function(o) {\n                var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;\n                if (m) return m.call(o);\n                if (o && typeof o.length === "number") return {\n                    next: function () {\n                        if (o && i >= o.length) o = void 0;\n                        return { value: o && o[i++], done: !o };\n                    }\n                };\n                throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");\n            };'}),priority:6,text:'\n            var __generator = (this && this.__generator) || function (thisArg, body) {\n                var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n                return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;\n                function verb(n) { return function (v) { return step([n, v]); }; }\n                function step(op) {\n                    if (f) throw new TypeError("Generator is already executing.");\n                    while (g && (g = 0, op[0] && (_ = 0)), _) try {\n                        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;\n                        if (y = 0, t) op = [op[0] & 2, t.value];\n                        switch (op[0]) {\n                            case 0: case 1: t = op; break;\n                            case 4: _.label++; return { value: op[1], done: false };\n                            case 5: _.label++; y = op[1]; op = [0]; continue;\n                            case 7: op = _.ops.pop(); _.trys.pop(); continue;\n                            default:\n                                if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n                                if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n                                if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n                                if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n                                if (t[2]) _.ops.pop();\n                                _.trys.pop(); continue;\n                        }\n                        op = body.call(thisArg, _);\n                    } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n                    if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n                }\n            };'}),priority:1,text:'\n            var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n                if (k2 === undefined) k2 = k;\n                var desc = Object.getOwnPropertyDescriptor(m, k);\n                if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n                  desc = { enumerable: true, get: function() { return m[k]; } };\n                }\n                Object.defineProperty(o, k2, desc);\n            }) : (function(o, m, k, k2) {\n                if (k2 === undefined) k2 = k;\n                o[k2] = m[k];\n            }));'}),priority:1,text:'\n            var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n                Object.defineProperty(o, "default", { enumerable: true, value: v });\n            }) : function(o, v) {\n                o["default"] = v;\n            });'}),dependencies:[Tv,Sv],priority:2,text:'\n            var __importStar = (this && this.__importStar) || function (mod) {\n                if (mod && mod.__esModule) return mod;\n                var result = {};\n                if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n                __setModuleDefault(result, mod);\n                return result;\n            };'}),text:'\n            var __importDefault = (this && this.__importDefault) || function (mod) {\n                return (mod && mod.__esModule) ? mod : { "default": mod };\n            };'}),dependencies:[Tv],priority:2,text:'\n            var __exportStar = (this && this.__exportStar) || function(m, exports) {\n                for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n            };'}),text:'\n            var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n                if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");\n                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");\n                return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);\n            };'}),text:'\n            var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n                if (kind === "m") throw new TypeError("Private method is not writable");\n                if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");\n                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");\n                return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n            };'}),text:'\n            var __classPrivateFieldIn = (this && this.__classPrivateFieldIn) || function(state, receiver) {\n                if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use \'in\' operator on non-object");\n                return typeof state === "function" ? receiver === state : state.has(receiver);\n            };'}),text:'\n        var __addDisposableResource = (this && this.__addDisposableResource) || function (env, value, async) {\n            if (value !== null && value !== void 0) {\n                if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");\n                var dispose;\n                if (async) {\n                    if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");\n                    dispose = value[Symbol.asyncDispose];\n                }\n                if (dispose === void 0) {\n                    if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");\n                    dispose = value[Symbol.dispose];\n                }\n                if (typeof dispose !== "function") throw new TypeError("Object not disposable.");\n                env.stack.push({ value: value, dispose: dispose, async: async });\n            }\n            else if (async) {\n                env.stack.push({ async: true });\n            }\n            return value;\n        };'}),text:'\n        var __disposeResources = (this && this.__disposeResources) || (function (SuppressedError) {\n            return function (env) {\n                function fail(e) {\n                    env.error = env.hasError ? new SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;\n                    env.hasError = true;\n                }\n                function next() {\n                    while (env.stack.length) {\n                        var rec = env.stack.pop();\n                        try {\n                            var result = rec.dispose && rec.dispose.call(rec.value);\n                            if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n                        }\n                        catch (e) {\n                            fail(e);\n                        }\n                    }\n                    if (env.hasError) throw env.error;\n                }\n                return next();\n            };\n        })(typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {\n            var e = new Error(message);\n            return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;\n        });'},Ov={name:"typescript:async-super",scoped:!0,text:Bv(__makeTemplateObject(["\n            const "," = name => super[name];"],["\n            const "," = name => super[name];"]),"_superIndex")},Lv={name:"typescript:advanced-async-super",scoped:!0,text:Bv(__makeTemplateObject(["\n            const "," = (function (geti, seti) {\n                const cache = Object.create(null);\n                return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });\n            })(name => super[name], (name, value) => super[name] = value);"],["\n            const "," = (function (geti, seti) {\n                const cache = Object.create(null);\n                return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });\n            })(name => super[name], (name, value) => super[name] = value);"]),"_superIndex")}}});function gR(e){return 9===e.kind}function Vv(e){return 10===e.kind}function hR(e){return 11===e.kind}function qv(e){return 12===e.kind}function Wv(e){return 14===e.kind}function Hv(e){return 15===e.kind}function Kv(e){return 16===e.kind}function Gv(e){return 17===e.kind}function Xv(e){return 18===e.kind}function Qv(e){return 26===e.kind}function Yv(e){return 28===e.kind}function Zv(e){return 40===e.kind}function $v(e){return 41===e.kind}function eg(e){return 42===e.kind}function tg(e){return 54===e.kind}function rg(e){return 58===e.kind}function ng(e){return 59===e.kind}function ag(e){return 29===e.kind}function ig(e){return 39===e.kind}function xR(e){return 80===e.kind}function bR(e){return 81===e.kind}function og(e){return 95===e.kind}function sg(e){return 90===e.kind}function cg(e){return 134===e.kind}function ug(e){return 131===e.kind}function _g(e){return 135===e.kind}function lg(e){return 148===e.kind}function dg(e){return 126===e.kind}function fg(e){return 128===e.kind}function pg(e){return 164===e.kind}function mg(e){return 129===e.kind}function yg(e){return 108===e.kind}function kR(e){return 102===e.kind}function vg(e){return 84===e.kind}function TR(e){return 166===e.kind}function SR(e){return 167===e.kind}function wR(e){return 168===e.kind}function CR(e){return 169===e.kind}function NR(e){return 170===e.kind}function DR(e){return 171===e.kind}function AR(e){return 172===e.kind}function ER(e){return 173===e.kind}function FR(e){return 174===e.kind}function PR(e){return 175===e.kind}function IR(e){return 176===e.kind}function OR(e){return 177===e.kind}function LR(e){return 178===e.kind}function MR(e){return 179===e.kind}function RR(e){return 180===e.kind}function gg(e){return 181===e.kind}function jR(e){return 182===e.kind}function BR(e){return 183===e.kind}function JR(e){return 184===e.kind}function zR(e){return 185===e.kind}function UR(e){return 186===e.kind}function VR(e){return 187===e.kind}function hg(e){return 188===e.kind}function qR(e){return 189===e.kind}function WR(e){return 202===e.kind}function HR(e){return 190===e.kind}function KR(e){return 191===e.kind}function xg(e){return 192===e.kind}function bg(e){return 193===e.kind}function kg(e){return 194===e.kind}function Tg(e){return 195===e.kind}function GR(e){return 196===e.kind}function Sg(e){return 197===e.kind}function XR(e){return 198===e.kind}function QR(e){return 199===e.kind}function wg(e){return 200===e.kind}function YR(e){return 201===e.kind}function ZR(e){return 205===e.kind}function Cg(e){return 204===e.kind}function Ng(e){return 203===e.kind}function $R(e){return 206===e.kind}function ej(e){return 207===e.kind}function tj(e){return 208===e.kind}function rj(e){return 209===e.kind}function nj(e){return 210===e.kind}function aj(e){return 211===e.kind}function ij(e){return 212===e.kind}function oj(e){return 213===e.kind}function sj(e){return 214===e.kind}function cj(e){return 215===e.kind}function Dg(e){return 216===e.kind}function uj(e){return 217===e.kind}function _j(e){return 218===e.kind}function lj(e){return 219===e.kind}function Ag(e){return 220===e.kind}function dj(e){return 221===e.kind}function Eg(e){return 222===e.kind}function fj(e){return 223===e.kind}function pj(e){return 224===e.kind}function Fg(e){return 225===e.kind}function mj(e){return 226===e.kind}function Pg(e){return 227===e.kind}function Ig(e){return 228===e.kind}function Og(e){return 229===e.kind}function yj(e){return 230===e.kind}function vj(e){return 231===e.kind}function gj(e){return 232===e.kind}function hj(e){return 233===e.kind}function Lg(e){return 234===e.kind}function Mg(e){return 238===e.kind}function Rg(e){return 235===e.kind}function xj(e){return 236===e.kind}function jg(e){return 237===e.kind}function Bg(e){return 360===e.kind}function Jg(e){return 361===e.kind}function bj(e){return 239===e.kind}function zg(e){return 240===e.kind}function kj(e){return 241===e.kind}function Tj(e){return 243===e.kind}function Ug(e){return 242===e.kind}function Sj(e){return 244===e.kind}function wj(e){return 245===e.kind}function Vg(e){return 246===e.kind}function qg(e){return 247===e.kind}function Cj(e){return 248===e.kind}function Nj(e){return 249===e.kind}function Dj(e){return 250===e.kind}function Wg(e){return 251===e.kind}function Hg(e){return 252===e.kind}function Kg(e){return 253===e.kind}function Gg(e){return 254===e.kind}function Xg(e){return 255===e.kind}function Qg(e){return 256===e.kind}function Yg(e){return 257===e.kind}function Zg(e){return 258===e.kind}function $g(e){return 259===e.kind}function Aj(e){return 260===e.kind}function Ej(e){return 261===e.kind}function Fj(e){return 262===e.kind}function Pj(e){return 263===e.kind}function Ij(e){return 264===e.kind}function Oj(e){return 265===e.kind}function Lj(e){return 266===e.kind}function Mj(e){return 267===e.kind}function Rj(e){return 268===e.kind}function eh(e){return 269===e.kind}function jj(e){return 270===e.kind}function Bj(e){return 271===e.kind}function Jj(e){return 272===e.kind}function zj(e){return 273===e.kind}function th(e){return 302===e.kind}function rh(e){return 300===e.kind}function nh(e){return 301===e.kind}function ah(e){return 274===e.kind}function Uj(e){return 280===e.kind}function ih(e){return 275===e.kind}function Vj(e){return 276===e.kind}function qj(e){return 277===e.kind}function Wj(e){return 278===e.kind}function Hj(e){return 279===e.kind}function Kj(e){return 281===e.kind}function oh(e){return 282===e.kind}function sh(e){return 359===e.kind}function ch(e){return 362===e.kind}function Gj(e){return 283===e.kind}function Xj(e){return 284===e.kind}function Qj(e){return 285===e.kind}function Yj(e){return 286===e.kind}function uh(e){return 287===e.kind}function _h(e){return 288===e.kind}function Zj(e){return 289===e.kind}function lh(e){return 290===e.kind}function $j(e){return 291===e.kind}function eB(e){return 292===e.kind}function tB(e){return 293===e.kind}function dh(e){return 294===e.kind}function rB(e){return 295===e.kind}function fh(e){return 296===e.kind}function ph(e){return 297===e.kind}function nB(e){return 298===e.kind}function aB(e){return 299===e.kind}function iB(e){return 303===e.kind}function oB(e){return 304===e.kind}function sB(e){return 305===e.kind}function cB(e){return 306===e.kind}function mh(e){return 308===e.kind}function uB(e){return 312===e.kind}function yh(e){return 313===e.kind}function vh(e){return 314===e.kind}function _B(e){return 316===e.kind}function lB(e){return 317===e.kind}function dB(e){return 318===e.kind}function gh(e){return 331===e.kind}function hh(e){return 332===e.kind}function xh(e){return 333===e.kind}function fB(e){return 319===e.kind}function pB(e){return 320===e.kind}function mB(e){return 321===e.kind}function yB(e){return 322===e.kind}function vB(e){return 323===e.kind}function gB(e){return 324===e.kind}function hB(e){return 325===e.kind}function bh(e){return 326===e.kind}function kh(e){return 327===e.kind}function xB(e){return 329===e.kind}function bB(e){return 330===e.kind}function kB(e){return 335===e.kind}function Th(e){return 337===e.kind}function Sh(e){return 339===e.kind}function TB(e){return 345===e.kind}function wh(e){return 340===e.kind}function Ch(e){return 341===e.kind}function Nh(e){return 342===e.kind}function Dh(e){return 343===e.kind}function Ah(e){return 344===e.kind}function SB(e){return 346===e.kind}function Eh(e){return 338===e.kind}function Fh(e){return 354===e.kind}function Ph(e){return 347===e.kind}function wB(e){return 348===e.kind}function CB(e){return 349===e.kind}function Ih(e){return 350===e.kind}function NB(e){return 351===e.kind}function DB(e){return 352===e.kind}function AB(e){return 353===e.kind}function Oh(e){return 334===e.kind}function EB(e){return 355===e.kind}function Lh(e){return 336===e.kind}function FB(e){return 357===e.kind}function Mh(e){return 356===e.kind}function Rh(e){return 358===e.kind}var jh,Bh,Jh=e({"src/compiler/factory/nodeTests.ts":function(){MK()}});function PB(e){return e.createExportDeclaration(void 0,!1,e.createNamedExports([]),void 0)}function zh(e,t,r,n){if(SR(r))return UB(e.createElementAccessExpression(t,r.expression),n);r=UB(ps(r)?e.createPropertyAccessExpression(t,r):e.createElementAccessExpression(t,r),r);return Cy(r,128),r}function Uh(e,t){e=WB.createIdentifier(e||"React");return jM(e,PA(t)),e}function Vh(e,t,r){if(TR(t)){var n=Vh(e,t.left,r),a=e.createIdentifier(LA(t.right));return a.escapedText=t.right.escapedText,e.createPropertyAccessExpression(n,a)}return Uh(LA(t),r)}function qh(e,t,r,n){return t?Vh(e,t,n):e.createPropertyAccessExpression(Uh(r,n),"createElement")}function Wh(e,t,r,n,a,i){var o,s,c=[r];if(n&&c.push(n),a&&0<a.length)if(n||c.push(e.createNull()),1<a.length)try{for(var u=__values(a),_=u.next();!_.done;_=u.next()){var l=_.value;sx(l),c.push(l)}}catch(e){o={error:e}}finally{try{_&&!_.done&&(s=u.return)&&s.call(u)}finally{if(o)throw o.error}}else c.push(a[0]);return UB(e.createCallExpression(t,void 0,c),i)}function Hh(e,t,r,n,a,i,o){var s,c,u,_,l,d=[(u=e,_=n,l=i,(r=r)?Vh(u,r,l):u.createPropertyAccessExpression(Uh(_,l),"Fragment")),e.createNull()];if(a&&0<a.length)if(1<a.length)try{for(var f=__values(a),p=f.next();!p.done;p=f.next()){var m=p.value;sx(m),d.push(m)}}catch(e){s={error:e}}finally{try{p&&!p.done&&(c=f.return)&&c.call(f)}finally{if(s)throw s.error}}else d.push(a[0]);return UB(e.createCallExpression(qh(e,t,n,i),void 0,d),o)}function Kh(e,t,r){if(Ej(t)){var n=SD(t.declarations),n=e.updateVariableDeclaration(n,n.name,void 0,void 0,r);return UB(e.createVariableStatement(void 0,e.updateVariableDeclarationList(t,[n])),t)}r=UB(e.createAssignment(t,r),t);return UB(e.createExpressionStatement(r),t)}function Gh(e,t,r){return kj(t)?e.updateBlock(t,UB(e.createNodeArray(__spreadArray([r],__read(t.statements),!1)),t.statements)):e.createBlock(e.createNodeArray([t,r]),!0)}function Xh(e,t){if(TR(t)){var r=Xh(e,t.left),n=jM(UB(e.cloneNode(t.right),t.right),t.right.parent);return UB(e.createPropertyAccessExpression(r,n),t)}return jM(UB(e.cloneNode(t),t),t.parent)}function Qh(e,t){return xR(t)?e.createStringLiteralFromNode(t):SR(t)?jM(UB(e.cloneNode(t.expression),t.expression),t.expression.parent):jM(UB(e.cloneNode(t),t),t.parent)}function Yh(e,t,r,n){switch(r.name&&bR(r.name)&&rA.failBadSyntaxKind(r.name,"Private identifiers are not allowed in object literals."),r.kind){case 177:case 178:return function(e,t,r,n,a){var i=(o=rL(t,r)).firstAccessor,t=o.getAccessor,o=o.setAccessor;if(r===i)return UB(e.createObjectDefinePropertyCall(n,Qh(e,r.name),e.createPropertyDescriptor({enumerable:e.createFalse(),configurable:!0,get:t&&UB(_R(e.createFunctionExpression(UA(t),void 0,void 0,void 0,t.parameters,void 0,t.body),t),t),set:o&&UB(_R(e.createFunctionExpression(UA(o),void 0,void 0,void 0,o.parameters,void 0,o.body),o),o)},!a)),i)}(e,t.properties,r,n,!!t.multiLine);case 303:return c=r,u=n,_R(UB((s=e).createAssignment(zh(s,u,c.name,c.name),c.initializer),c),c);case 304:return i=r,o=n,_R(UB((a=e).createAssignment(zh(a,o,i.name,i.name),a.cloneNode(i.name)),i),i);case 174:return o=r,a=n,_R(UB((i=e).createAssignment(zh(i,a,o.name,o.name),_R(UB(i.createFunctionExpression(UA(o),o.asteriskToken,void 0,void 0,o.parameters,void 0,o.body),o),o)),o),o)}var a,i,o,s,c,u}function Zh(e,t,r,n,a){var i=t.operator;rA.assert(46===i||47===i,"Expected 'node' to be a pre- or post-increment or pre- or post-decrement expression");n=e.createTempVariable(n);UB(r=e.createAssignment(n,r),t.operand);i=pj(t)?e.createPrefixUnaryExpression(i,n):e.createPostfixUnaryExpression(n,i);return UB(i,t),a&&UB(i=e.createAssignment(a,i),t),UB(r=e.createComma(r,i),t),Fg(t)&&UB(r=e.createComma(r,n),t),r}function $h(e){return 0!=(65536&p_(e))}function ex(e){return 0!=(32768&p_(e))}function tx(e){return 0!=(16384&p_(e))}function rx(e){return hR(e.expression)&&"use strict"===e.expression.text}function IB(e){var t,r;try{for(var n=__values(e),a=n.next();!a.done;a=n.next()){var i=a.value;if(!J_(i))break;if(rx(i))return i}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}function nx(e){e=kD(e);return void 0!==e&&J_(e)&&rx(e)}function ax(e){return 226===e.kind&&28===e.operatorToken.kind}function OB(e){return ax(e)||Jg(e)}function LB(e){return uj(e)&&cI(e)&&!!XA(e)}function MB(e){e=QA(e);return rA.assertIsDefined(e),e}function ix(e,t){switch(void 0===t&&(t=15),e.kind){case 217:return 16&t&&LB(e)?!1:0!=(1&t);case 216:case 234:case 233:case 238:return 0!=(2&t);case 235:return 0!=(4&t);case 360:return 0!=(8&t)}return!1}function RB(e,t){for(void 0===t&&(t=15);ix(e,t);)e=e.expression;return e}function jB(e,t){void 0===t&&(t=15);for(var r=e.parent;ix(r,t);)r=r.parent,rA.assert(r);return r}function ox(e){return RB(e,6)}function sx(e){return Oy(e,!0)}function cx(e){e=EA(e,uB),e=e&&e.emitNode;return e&&e.externalHelpersModuleName}function ux(e){e=EA(e,uB),e=e&&e.emitNode;return!(!e||!e.externalHelpersModuleName&&!e.externalHelpers)}function _x(t,r,n,e,a,i,o){var s,c;if(e.importHelpers&&qF(n,e)){var u=void 0,_=nM(e);if(5<=_&&_<=99||99===n.impliedNodeFormat){var l=Hy(n);if(l){var d=[];try{for(var f=__values(l),p=f.next();!p.done;p=f.next()){var m=p.value;m.scoped||(m=m.importName)&&hD(d,m)}}catch(e){s={error:e}}finally{try{p&&!p.done&&(c=f.return)&&c.call(f)}finally{if(s)throw s.error}}dD(d)&&(d.sort(ge),u=t.createNamedImports(iD(d,function(e){return Xu(n,e)?t.createImportSpecifier(!1,void 0,t.createIdentifier(e)):t.createImportSpecifier(!1,t.createIdentifier(e),r.getUnscopedHelperName(e))})),Ty(EA(n,uB)).externalHelpers=!0)}}else{o=lx(t,n,e,a,i||o);o&&(u=t.createNamespaceImport(o))}if(u){u=t.createImportDeclaration(void 0,t.createImportClause(!1,void 0,u),t.createStringLiteral(lF),void 0);return Dy(u,2),u}}}function lx(e,t,r,n,a){var i,o;if(r.importHelpers&&qF(t,r)){var s=cx(t);if(s)return s;var s=nM(r),c=(n||cM(r)&&a)&&4!==s&&(s<5||1===t.impliedNodeFormat);if(!c){var u=Hy(t);if(u)try{for(var _=__values(u),l=_.next();!l.done;l=_.next())if(!l.value.scoped){c=!0;break}}catch(e){i={error:e}}finally{try{l&&!l.done&&(o=_.return)&&o.call(_)}finally{if(i)throw i.error}}}if(c){t=Ty(EA(t,uB));return t.externalHelpersModuleName||(t.externalHelpersModuleName=e.createUniqueName(lF))}}}function dx(e,t,r){var n=jI(t);if(!n||Sl(t)||l_(t))return 272===t.kind&&t.importClause||278===t.kind&&t.moduleSpecifier?e.getGeneratedNameForNode(t):void 0;n=n.name;return mE(n)?n:e.createIdentifier(__(r,n)||LA(n))}function fx(e,t,r,n,a,i){var o=RI(t);if(o&&hR(o))return t=t,n=n,i=i,px(e,a.getExternalModuleFileFromDeclaration(t),n,i)||function(e,t,r){t=r.renamedDependencies&&r.renamedDependencies.get(t.text);return t?e.createStringLiteral(t):void 0}(e,o,r)||e.cloneNode(o)}function px(e,t,r,n){if(t)return t.moduleName?e.createStringLiteral(t.moduleName):!t.isDeclarationFile&&GO(n)?e.createStringLiteral(kd(r,t.fileName)):void 0}function mx(e){if(Ys(e))return e.initializer;if(iB(e)){var t=e.initializer;return NL(t,!0)?t.right:void 0}return oB(e)?e.objectAssignmentInitializer:NL(e,!0)?e.right:yj(e)?mx(e.expression):void 0}function yx(e){if(Ys(e))return e.name;if(!EE(e))return NL(e,!0)?yx(e.left):yj(e)?yx(e.expression):e;switch(e.kind){case 303:return yx(e.initializer);case 304:return e.name;case 305:return yx(e.expression)}}function vx(e){switch(e.kind){case 169:case 208:return e.dotDotDotToken;case 230:case 305:return e}}function gx(e){var t=hx(e);return rA.assert(!!t||sB(e),"Invalid property name for binding element."),t}function hx(e){switch(e.kind){case 208:if(e.propertyName)return bR(t=e.propertyName)?rA.failBadSyntaxKind(t):SR(t)&&xx(t.expression)?t.expression:t;break;case 303:var t;if(e.name)return bR(t=e.name)?rA.failBadSyntaxKind(t):SR(t)&&xx(t.expression)?t.expression:t;break;case 305:return e.name&&bR(e.name)?rA.failBadSyntaxKind(e.name):e.name}var r=yx(e);if(r&&xE(r))return r}function xx(e){e=e.kind;return 11===e||9===e}function bx(e){switch(e.kind){case 206:case 207:case 209:return e.elements;case 210:return e.properties}}function kx(e){if(e)for(var t=e;;){if(xR(t)||!t.body)return xR(t)?t:t.name;t=t.body}}function Tx(e){e=e.kind;return 176===e||178===e}function Sx(e){e=e.kind;return 176===e||177===e||178===e}function BB(e){e=e.kind;return 303===e||304===e||262===e||176===e||181===e||175===e||282===e||243===e||264===e||265===e||266===e||267===e||271===e||272===e||270===e||278===e||277===e}function JB(e){e=e.kind;return 175===e||303===e||304===e||282===e||270===e}function wx(e){return rg(e)||tg(e)}function Cx(e){return xR(e)||Sg(e)}function Nx(e){return lg(e)||Zv(e)||$v(e)}function Dx(e){return rg(e)||Zv(e)||$v(e)}function Ax(e){return xR(e)||hR(e)}function Ex(e){var t=e.kind;return 106===t||112===t||97===t||lE(e)||pj(e)}function Fx(e){return 61===(t=e)||(56===(n=r=t)||57===n||(51===(r=n=r)||52===r||53===r||(35===(n=r=n)||37===n||36===n||38===n||(30===(r=n=r)||33===r||32===r||34===r||104===r||103===r||(48===(n=r=n)||49===n||50===n||(40===(r=n=r)||41===r||(43===(n=n)||(42===(n=n)||44===n||45===n))))))))||wL(t)||28===e;var t,r,n}function Px(e){return Fx(e.kind)}function zB(e,t,r,n,a,i){var s=new Bh(e,t,r,n,a,i);return function(e,t){var r={value:void 0},n=[jh.enter],a=[e],i=[void 0],o=0;for(;n[o]!==jh.done;)o=n[o](s,o,n,a,i,r,t);return rA.assertEqual(o,0),r.value}}function Ix(e){return 95===e||90===e}function Ox(e){return Ix(e.kind)}function Lx(e){e=e.kind;return js(e)&&!Ix(e)}function Mx(e,t){if(void 0!==t)return 0===t.length?t:UB(e.createNodeArray([],t.hasTrailingComma),t)}function Rx(e){var t=e.emitNode.autoGenerate;if(4&t.flags){for(var r=t.id,n=e,a=n.original;a;){var i=null==(i=(n=a).emitNode)?void 0:i.autoGenerate;if(ps(n)&&(void 0===i||4&i.flags&&i.id!==r))break;a=n.original}return n}return e}function jx(e,t){return"object"==typeof e?Jx(!1,e.prefix,e.node,e.suffix,t):"string"==typeof e?0<e.length&&35===e.charCodeAt(0)?e.slice(1):e:""}function Bx(e,t){return"string"==typeof e?e:(e=e,t=rA.checkDefined(t),Ms(e)?t(e).slice(1):mE(e)?t(e):bR(e)?e.escapedText.slice(1):LA(e))}function Jx(e,t,r,n,a){return t=jx(t,a),n=jx(n,a),r=Bx(r,a),"".concat(e?"#":"").concat(t).concat(r).concat(n)}function zx(e,t,r,n){return e.updatePropertyDeclaration(t,r,e.getGeneratedPrivateNameForNode(t.name,void 0,"_accessor_storage"),void 0,void 0,n)}function Ux(e,t,r,n,a){return void 0===a&&(a=e.createThis()),e.createGetAccessorDeclaration(r,n,[],void 0,e.createBlock([e.createReturnStatement(e.createPropertyAccessExpression(a,e.getGeneratedPrivateNameForNode(t.name,void 0,"_accessor_storage")))]))}function Vx(e,t,r,n,a){return void 0===a&&(a=e.createThis()),e.createSetAccessorDeclaration(r,n,[e.createParameterDeclaration(void 0,void 0,"value")],e.createBlock([e.createExpressionStatement(e.createAssignment(e.createPropertyAccessExpression(a,e.getGeneratedPrivateNameForNode(t.name,void 0,"_accessor_storage")),e.createIdentifier("value")))]))}function qx(e){for(var t=e.expression;;)if(Jg(t=RB(t)))t=ND(t.elements);else{if(!ax(t)){if(NL(t,!0)&&mE(t.left))return t;break}t=t.right}}function Wx(e,t){var r,n,a;if(uj(a=e)&&jO(a)&&!a.emitNode)Wx(e.expression,t);else if(ax(e))Wx(e.left,t),Wx(e.right,t);else if(Jg(e))try{for(var i=__values(e.elements),o=i.next();!o.done;o=i.next())Wx(o.value,t)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}else t.push(e)}function Hx(e){var t=[];return Wx(e,t),t}function Kx(e){var t,r;if(65536&e.transformFlags)return!0;if(128&e.transformFlags)try{for(var n=__values(bx(e)),a=n.next();!a.done;a=n.next()){var i=yx(a.value);if(i&&IE(i)){if(65536&i.transformFlags)return!0;if(128&i.transformFlags&&Kx(i))return!0}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return!1}var Gx=e({"src/compiler/factory/utilities.ts":function(){function c(e,t,r,n,a,i,o){var s=0<t?a[t-1]:void 0;return rA.assertEqual(r[t],c),a[t]=e.onEnter(n[t],s,o),r[t]=f(e,c),t}function s(e,t,r,n,a,i,o){rA.assertEqual(r[t],s),rA.assertIsDefined(e.onLeft),r[t]=f(e,s);e=e.onLeft(n[t].left,a[t],n[t]);return e?(m(t,n,e),p(t,r,n,a,e)):t}function u(e,t,r,n,a,i,o){return rA.assertEqual(r[t],u),rA.assertIsDefined(e.onOperator),r[t]=f(e,u),e.onOperator(n[t].operatorToken,a[t],n[t]),t}function _(e,t,r,n,a,i,o){rA.assertEqual(r[t],_),rA.assertIsDefined(e.onRight),r[t]=f(e,_);e=e.onRight(n[t].right,a[t],n[t]);return e?(m(t,n,e),p(t,r,n,a,e)):t}function l(e,t,r,n,a,i,o){rA.assertEqual(r[t],l),r[t]=f(e,l);n=e.onExit(n[t],a[t]);return 0<t?(t--,e.foldState&&(r=r[t]===l?"right":"left",a[t]=e.foldState(a[t],n,r))):i.value=n,t}function d(e,t,r,n,a,i,o){return rA.assertEqual(r[t],d),t}function f(e,t){switch(t){case c:if(e.onLeft)return s;case s:if(e.onOperator)return u;case u:if(e.onRight)return _;case _:return l;case l:case d:return d;default:rA.fail("Invalid state")}}function p(e,t,r,n,a){return t[++e]=c,r[e]=a,n[e]=void 0,e}function m(e,t,r){if(rA.shouldAssert(2))for(;0<=e;)rA.assert(t[e]!==r,"Circular traversal detected."),e--}var e;MK(),(e=jh=jh||{}).enter=c,e.left=s,e.operator=u,e.right=_,e.exit=l,e.done=d,e.nextState=f,Bh=function(e,t,r,n,a,i){this.onEnter=e,this.onLeft=t,this.onOperator=r,this.onRight=n,this.onExit=a,this.foldState=i}}});function UB(e,t){return t?MM(e,t.pos,t.end):e}function VB(e){e=e.kind;return 168===e||169===e||171===e||172===e||173===e||174===e||176===e||177===e||178===e||181===e||185===e||218===e||219===e||231===e||243===e||262===e||263===e||264===e||265===e||266===e||267===e||271===e||272===e||277===e||278===e}function qB(e){e=e.kind;return 169===e||172===e||174===e||177===e||178===e||231===e||263===e}var Xx,Qx,Yx,Zx,$x,eb,WB,tb,rb,nb,ab,ib,ob,sb=e({"src/compiler/factory/utilitiesPublic.ts":function(){MK()}});function cb(e,t){return t&&e(t)}function ub(e,t,r){var n,a;if(r){if(t)return t(r);try{for(var i=__values(r),o=i.next();!o.done;o=i.next()){var s=e(o.value);if(s)return s}}catch(e){n={error:e}}finally{try{o&&!o.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}}}function _b(e,t){return 42===e.charCodeAt(t+1)&&42===e.charCodeAt(t+2)&&47!==e.charCodeAt(t+3)}function lb(e){return KN(e.statements,db)||(8388608&(e=e).flags?fb(e):void 0)}function db(e){return VB(e)&&(t=95,dD(e.modifiers,function(e){return e.kind===t}))||Bj(e)&&Gj(e.moduleReference)||Jj(e)||qj(e)||Wj(e)?e:void 0;var t}function fb(e){return xj(t=e)&&102===t.keywordToken&&"meta"===t.name.escapedText?e:HB(e,fb);var t}function pb(e,t,r){return ub(t,r,e.typeParameters)||ub(t,r,e.parameters)||cb(t,e.type)}function mb(e,t,r){return ub(t,r,e.types)}function yb(e,t,r){return cb(t,e.type)}function vb(e,t,r){return ub(t,r,e.elements)}function gb(e,t,r){return cb(t,e.expression)||cb(t,e.questionDotToken)||ub(t,r,e.typeArguments)||ub(t,r,e.arguments)}function hb(e,t,r){return ub(t,r,e.statements)}function xb(e,t,r){return cb(t,e.label)}function bb(e,t,r){return ub(t,r,e.modifiers)||cb(t,e.name)||ub(t,r,e.typeParameters)||ub(t,r,e.heritageClauses)||ub(t,r,e.members)}function kb(e,t,r){return ub(t,r,e.elements)}function Tb(e,t,r){return cb(t,e.propertyName)||cb(t,e.name)}function Sb(e,t,r){return cb(t,e.tagName)||ub(t,r,e.typeArguments)||cb(t,e.attributes)}function wb(e,t,r){return cb(t,e.type)}function Cb(e,t,r){return cb(t,e.tagName)||(e.isNameFirst?cb(t,e.name)||cb(t,e.typeExpression):cb(t,e.typeExpression)||cb(t,e.name))||("string"==typeof e.comment?void 0:ub(t,r,e.comment))}function Nb(e,t,r){return cb(t,e.tagName)||cb(t,e.typeExpression)||("string"==typeof e.comment?void 0:ub(t,r,e.comment))}function Db(e,t,r){return cb(t,e.name)}function Ab(e,t,r){return cb(t,e.tagName)||("string"==typeof e.comment?void 0:ub(t,r,e.comment))}function Eb(e,t,r){return cb(t,e.expression)}function HB(e,t,r){if(!(void 0===e||e.kind<=165)){var n=tb[e.kind];return void 0===n?void 0:n(e,t,r)}}function KB(e,t,r){for(var n,a,i=Fb(e),o=[];o.length<i.length;)o.push(e);for(;0!==i.length;){var s,c=i.pop(),u=o.pop();if(RD(c)){if(r)if(s=r(c,u)){if("skip"===s)continue;return s}for(var _=c.length-1;0<=_;--_)i.push(c[_]),o.push(u)}else{if(s=t(c,u)){if("skip"===s)continue;return s}if(166<=c.kind)try{for(var l=(n=void 0,__values(Fb(c))),d=l.next();!d.done;d=l.next()){var f=d.value;i.push(f),o.push(c)}}catch(e){n={error:e}}finally{try{d&&!d.done&&(a=l.return)&&a.call(l)}finally{if(n)throw n.error}}}}}function Fb(e){var t=[];return HB(e,r,r),t;function r(e){t.unshift(e)}}function Pb(e){e.externalModuleIndicator=lb(e)}function Ib(e,t,r,n,a){void 0===n&&(n=!1),null!=iA&&iA.push(iA.Phase.Parse,"createSourceFile",{path:e},!0),nA("beforeParse"),null!=St&&St.logStartParseSourceFile(e);var i,o="object"==typeof r?r:{languageVersion:r},r=o.languageVersion,s=o.setExternalModuleIndicator,c=o.impliedNodeFormat;return i=100===r?rb.parseSourceFile(e,t,r,void 0,n,6,fi):(i=void 0===c?s:function(e){return e.impliedNodeFormat=c,(s||Pb)(e)},rb.parseSourceFile(e,t,r,void 0,n,a,i)),null!=St&&St.logStopParseSourceFile(),nA("afterParse"),aA("Parse","beforeParse","afterParse"),null!=iA&&iA.pop(),i}function GB(e,t){return rb.parseIsolatedEntityName(e,t)}function Ob(e,t){return rb.parseJsonText(e,t)}function XB(e){return void 0!==e.externalModuleIndicator}function Lb(e,t,r,n){void 0===n&&(n=!1);n=nb.updateSourceFile(e,t,r,n);return n.flags|=12582912&e.flags,n}function Mb(e,t,r){r=rb.JSDocParser.parseIsolatedJSDocComment(e,t,r);return r&&r.jsDoc&&rb.fixupParentReferences(r.jsDoc),r}function Rb(e,t,r){return rb.JSDocParser.parseJSDocTypeExpressionForTests(e,t,r)}function QB(e){return _A(e,Tu)||uA(e,".ts")&&WD(Ea(e),".d.")}function jb(e,t){var r,n,a,i,o=[];try{for(var s=__values($i(t,0)||WN),c=s.next();!c.done;c=s.next()){var u=c.value;!function(e,t,r){var n,a,i=2===t.kind&&ib.exec(r);if(i){var o=i[1].toLowerCase(),s=Dn[o];if(s&&1&s.kind)if(s.args){var c={};try{for(var u=__values(s.args),_=u.next();!_.done;_=u.next()){var l,d=_.value,f=function(e){if(ab.has(e))return ab.get(e);var t=new RegExp("(\\s".concat(e,"\\s*=\\s*)(?:(?:'([^']*)')|(?:\"([^\"]*)\"))"),"im");return ab.set(e,t),t}(d.name).exec(r);if(!f&&!d.optional)return;f&&(l=f[2]||f[3],d.captureSpan?(f=t.pos+f.index+f[1].length+1,c[d.name]={value:l,pos:f,end:f+l.length}):c[d.name]=l)}}catch(e){n={error:e}}finally{try{_&&!_.done&&(a=u.return)&&a.call(u)}finally{if(n)throw n.error}}e.push({name:o,args:{arguments:c,range:t}})}else e.push({name:o,args:{arguments:{},range:t}})}else{if(o=2===t.kind&&ob.exec(r))return Jb(e,t,2,o),0;if(3===t.kind)for(var p=/@(\S+)(\s+.*)?$/gim,m=void 0;m=p.exec(r);)Jb(e,t,4,m)}}(o,u,t.substring(u.pos,u.end))}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}e.pragmas=new Map;try{for(var _=__values(o),l=_.next();!l.done;l=_.next()){var d,f=l.value;e.pragmas.has(f.name)?(d=e.pragmas.get(f.name))instanceof Array?d.push(f.args):e.pragmas.set(f.name,[d,f.args]):e.pragmas.set(f.name,f.args)}}catch(e){a={error:e}}finally{try{l&&!l.done&&(i=_.return)&&i.call(_)}finally{if(a)throw a.error}}}function Bb(_,l){_.checkJsDirective=void 0,_.referencedFiles=[],_.typeReferenceDirectives=[],_.libReferenceDirectives=[],_.amdDependencies=[],_.hasNoDefaultLib=!1,_.pragmas.forEach(function(e,t){var r,n;switch(t){case"reference":var i=_.referencedFiles,o=_.typeReferenceDirectives,s=_.libReferenceDirectives;KN(ne(e),function(e){var t=e.arguments,r=t.types,n=t.lib,a=t.path,t=t["resolution-mode"];e.arguments["no-default-lib"]?_.hasNoDefaultLib=!0:r?(t=function(e,t,r,n){if(e)return"import"===e?99:"require"===e?1:void n(t,r-t,mA.resolution_mode_should_be_either_require_or_import)}(t,r.pos,r.end,l),o.push(__assign({pos:r.pos,end:r.end,fileName:r.value},t?{resolutionMode:t}:{}))):n?s.push({pos:n.pos,end:n.end,fileName:n.value}):a?i.push({pos:a.pos,end:a.end,fileName:a.value}):l(e.range.pos,e.range.end-e.range.pos,mA.Invalid_reference_directive_syntax)});break;case"amd-dependency":_.amdDependencies=iD(ne(e),function(e){return{name:e.arguments.name,path:e.arguments.path}});break;case"amd-module":if(e instanceof Array)try{for(var a=__values(e),c=a.next();!c.done;c=a.next()){var u=c.value;_.moduleName&&l(u.range.pos,u.range.end-u.range.pos,mA.An_AMD_module_cannot_have_multiple_name_assignments),_.moduleName=u.arguments.name}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}else _.moduleName=e.arguments.name;break;case"ts-nocheck":case"ts-check":KN(ne(e),function(e){(!_.checkJsDirective||e.range.pos>_.checkJsDirective.pos)&&(_.checkJsDirective={enabled:"ts-check"===t,end:e.range.end,pos:e.range.pos})});break;case"jsx":case"jsxfrag":case"jsximportsource":case"jsxruntime":return;default:rA.fail("Unhandled pragma kind")}})}function Jb(e,t,r,n){var a,i;n&&(a=n[1].toLowerCase(),(i=Dn[a])&&i.kind&r&&("fail"!==(n=function(e,t){if(!t)return{};if(!e.args)return{};for(var r=h(t).split(/\s+/),n={},a=0;a<e.args.length;a++){var i=e.args[a];if(!r[a]&&!i.optional)return"fail";if(i.captureSpan)return rA.fail("Capture spans not yet implemented for non-xml pragmas");n[i.name]=r[a]}return n}(i,n[2]))&&e.push({name:a,args:{arguments:n,range:t}})))}function zb(e,t){return e.kind===t.kind&&(80===e.kind?e.escapedText===t.escapedText:110===e.kind||(295===e.kind?e.namespace.escapedText===t.namespace.escapedText&&e.name.escapedText===t.name.escapedText:e.name.escapedText===t.name.escapedText&&zb(e.expression,t.expression)))}var Ub,Vb,qb,Wb,Hb,Kb,Gb,Xb,Qb,Yb,Zb,$b,ek,tk,rk,nk,ak,ik,ok,sk,ck,uk,_k,lk,dk,fk,pk,mk,yk,vk,gk,hk,xk,bk,kk,Tk,Sk,wk,Ck,Nk,Dk,Ak=e({"src/compiler/parser.ts":function(){var e;function v(e,t,o,s,c,u){function _(e){var t,r,n="";if(u&&d(e)&&(n=s.substring(e.pos,e.end)),e._children&&(e._children=void 0),MM(e,e.pos+o,e.end+o),u&&d(e)&&rA.assert(n===c.substring(e.pos,e.end)),HB(e,_,l),tF(e))try{for(var a=__values(e.jsDoc),i=a.next();!i.done;i=a.next())_(i.value)}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}h(e,u)}function l(e){var t,r;e._children=void 0,MM(e,e.pos+o,e.end+o);try{for(var n=__values(e),a=n.next();!a.done;a=n.next())_(a.value)}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}(t?l:_)(e)}function d(e){switch(e.kind){case 11:case 9:case 80:return 1}}function g(e,t,r,n,a){rA.assert(e.end>=t,"Adjusting an element that was entirely before the change range"),rA.assert(e.pos<=r,"Adjusting an element that was entirely after the change range"),rA.assert(e.pos<=e.end);t=Math.min(e.pos,n),n=e.end>=r?e.end+a:Math.min(e.end,n);rA.assert(t<=n),e.parent&&(rA.assertGreaterThanOrEqual(t,e.parent.pos),rA.assertLessThanOrEqual(n,e.parent.end)),MM(e,t,n)}function h(e,t){var r,n;if(t){var a=e.pos,i=function(e){rA.assert(e.pos>=a),a=e.end};if(tF(e))try{for(var o=__values(e.jsDoc),s=o.next();!s.done;s=o.next())i(s.value)}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}HB(e,i),rA.assert(a<=e.end)}}function x(e,t,r,n){var a=e.text;r&&(rA.assert(a.length-r.span.length+r.newLength===t.length),(n||rA.shouldAssert(3))&&(e=a.substr(0,r.span.start),n=t.substr(0,r.span.start),rA.assert(e===n),a=a.substring(TA(r.span),a.length),t=t.substring(TA(Co(r)),t.length),rA.assert(a===t)))}function b(t){var o=t.statements,s=0;rA.assert(s<o.length);var c=o[s],r=-1;return{currentNode:function(e){function n(e){return i>=e.pos&&i<e.end&&(HB(e,n,a),!0)}function a(e){if(i>=e.pos&&i<e.end)for(var t=0;t<e.length;t++){var r=e[t];if(r){if(r.pos===i)return o=e,s=t,c=r,!0;if(r.pos<i&&i<r.end)return HB(r,n,a),!0}}return!1}var i;return e!==r&&(c&&c.end===e&&s<o.length-1&&(c=o[++s]),c&&c.pos===e||(i=e,s=-1,c=o=void 0,HB(t,n,a))),r=e,rA.assert(!c||c.pos===e),c}}}MK(),An(),WB=oy(1,eb={createBaseSourceFileNode:function(e){return new($x=$x||pF.getSourceFileConstructor())(e,-1,-1)},createBaseIdentifierNode:function(e){return new(Yx=Yx||pF.getIdentifierConstructor())(e,-1,-1)},createBasePrivateIdentifierNode:function(e){return new(Zx=Zx||pF.getPrivateIdentifierConstructor())(e,-1,-1)},createBaseTokenNode:function(e){return new(Qx=Qx||pF.getTokenConstructor())(e,-1,-1)},createBaseNode:function(e){return new(Xx=Xx||pF.getNodeConstructor())(e,-1,-1)}}),(e={166:function(e,t,r){return cb(t,e.left)||cb(t,e.right)},168:function(e,t,r){return ub(t,r,e.modifiers)||cb(t,e.name)||cb(t,e.constraint)||cb(t,e.default)||cb(t,e.expression)},304:function(e,t,r){return ub(t,r,e.modifiers)||cb(t,e.name)||cb(t,e.questionToken)||cb(t,e.exclamationToken)||cb(t,e.equalsToken)||cb(t,e.objectAssignmentInitializer)},305:function(e,t,r){return cb(t,e.expression)},169:function(e,t,r){return ub(t,r,e.modifiers)||cb(t,e.dotDotDotToken)||cb(t,e.name)||cb(t,e.questionToken)||cb(t,e.type)||cb(t,e.initializer)},172:function(e,t,r){return ub(t,r,e.modifiers)||cb(t,e.name)||cb(t,e.questionToken)||cb(t,e.exclamationToken)||cb(t,e.type)||cb(t,e.initializer)},171:function(e,t,r){return ub(t,r,e.modifiers)||cb(t,e.name)||cb(t,e.questionToken)||cb(t,e.type)||cb(t,e.initializer)},303:function(e,t,r){return ub(t,r,e.modifiers)||cb(t,e.name)||cb(t,e.questionToken)||cb(t,e.exclamationToken)||cb(t,e.initializer)},260:function(e,t,r){return cb(t,e.name)||cb(t,e.exclamationToken)||cb(t,e.type)||cb(t,e.initializer)},208:function(e,t,r){return cb(t,e.dotDotDotToken)||cb(t,e.propertyName)||cb(t,e.name)||cb(t,e.initializer)},181:function(e,t,r){return ub(t,r,e.modifiers)||ub(t,r,e.typeParameters)||ub(t,r,e.parameters)||cb(t,e.type)},185:function(e,t,r){return ub(t,r,e.modifiers)||ub(t,r,e.typeParameters)||ub(t,r,e.parameters)||cb(t,e.type)},184:function(e,t,r){return ub(t,r,e.modifiers)||ub(t,r,e.typeParameters)||ub(t,r,e.parameters)||cb(t,e.type)}})[179]=pb,e[180]=pb,e[174]=function(e,t,r){return ub(t,r,e.modifiers)||cb(t,e.asteriskToken)||cb(t,e.name)||cb(t,e.questionToken)||cb(t,e.exclamationToken)||ub(t,r,e.typeParameters)||ub(t,r,e.parameters)||cb(t,e.type)||cb(t,e.body)},e[173]=function(e,t,r){return ub(t,r,e.modifiers)||cb(t,e.name)||cb(t,e.questionToken)||ub(t,r,e.typeParameters)||ub(t,r,e.parameters)||cb(t,e.type)},e[176]=function(e,t,r){return ub(t,r,e.modifiers)||cb(t,e.name)||ub(t,r,e.typeParameters)||ub(t,r,e.parameters)||cb(t,e.type)||cb(t,e.body)},e[177]=function(e,t,r){return ub(t,r,e.modifiers)||cb(t,e.name)||ub(t,r,e.typeParameters)||ub(t,r,e.parameters)||cb(t,e.type)||cb(t,e.body)},e[178]=function(e,t,r){return ub(t,r,e.modifiers)||cb(t,e.name)||ub(t,r,e.typeParameters)||ub(t,r,e.parameters)||cb(t,e.type)||cb(t,e.body)},e[262]=function(e,t,r){return ub(t,r,e.modifiers)||cb(t,e.asteriskToken)||cb(t,e.name)||ub(t,r,e.typeParameters)||ub(t,r,e.parameters)||cb(t,e.type)||cb(t,e.body)},e[218]=function(e,t,r){return ub(t,r,e.modifiers)||cb(t,e.asteriskToken)||cb(t,e.name)||ub(t,r,e.typeParameters)||ub(t,r,e.parameters)||cb(t,e.type)||cb(t,e.body)},e[219]=function(e,t,r){return ub(t,r,e.modifiers)||ub(t,r,e.typeParameters)||ub(t,r,e.parameters)||cb(t,e.type)||cb(t,e.equalsGreaterThanToken)||cb(t,e.body)},e[175]=function(e,t,r){return ub(t,r,e.modifiers)||cb(t,e.body)},e[183]=function(e,t,r){return cb(t,e.typeName)||ub(t,r,e.typeArguments)},e[182]=function(e,t,r){return cb(t,e.assertsModifier)||cb(t,e.parameterName)||cb(t,e.type)},e[186]=function(e,t,r){return cb(t,e.exprName)||ub(t,r,e.typeArguments)},e[187]=function(e,t,r){return ub(t,r,e.members)},e[188]=function(e,t,r){return cb(t,e.elementType)},e[189]=function(e,t,r){return ub(t,r,e.elements)},e[192]=mb,e[193]=mb,e[194]=function(e,t,r){return cb(t,e.checkType)||cb(t,e.extendsType)||cb(t,e.trueType)||cb(t,e.falseType)},e[195]=function(e,t,r){return cb(t,e.typeParameter)},e[205]=function(e,t,r){return cb(t,e.argument)||cb(t,e.assertions)||cb(t,e.qualifier)||ub(t,r,e.typeArguments)},e[302]=function(e,t,r){return cb(t,e.assertClause)},e[196]=yb,e[198]=yb,e[199]=function(e,t,r){return cb(t,e.objectType)||cb(t,e.indexType)},e[200]=function(e,t,r){return cb(t,e.readonlyToken)||cb(t,e.typeParameter)||cb(t,e.nameType)||cb(t,e.questionToken)||cb(t,e.type)||ub(t,r,e.members)},e[201]=function(e,t,r){return cb(t,e.literal)},e[202]=function(e,t,r){return cb(t,e.dotDotDotToken)||cb(t,e.name)||cb(t,e.questionToken)||cb(t,e.type)},e[206]=vb,e[207]=vb,e[209]=function(e,t,r){return ub(t,r,e.elements)},e[210]=function(e,t,r){return ub(t,r,e.properties)},e[211]=function(e,t,r){return cb(t,e.expression)||cb(t,e.questionDotToken)||cb(t,e.name)},e[212]=function(e,t,r){return cb(t,e.expression)||cb(t,e.questionDotToken)||cb(t,e.argumentExpression)},e[213]=gb,e[214]=gb,e[215]=function(e,t,r){return cb(t,e.tag)||cb(t,e.questionDotToken)||ub(t,r,e.typeArguments)||cb(t,e.template)},e[216]=function(e,t,r){return cb(t,e.type)||cb(t,e.expression)},e[217]=function(e,t,r){return cb(t,e.expression)},e[220]=function(e,t,r){return cb(t,e.expression)},e[221]=function(e,t,r){return cb(t,e.expression)},e[222]=function(e,t,r){return cb(t,e.expression)},e[224]=function(e,t,r){return cb(t,e.operand)},e[229]=function(e,t,r){return cb(t,e.asteriskToken)||cb(t,e.expression)},e[223]=function(e,t,r){return cb(t,e.expression)},e[225]=function(e,t,r){return cb(t,e.operand)},e[226]=function(e,t,r){return cb(t,e.left)||cb(t,e.operatorToken)||cb(t,e.right)},e[234]=function(e,t,r){return cb(t,e.expression)||cb(t,e.type)},e[235]=function(e,t,r){return cb(t,e.expression)},e[238]=function(e,t,r){return cb(t,e.expression)||cb(t,e.type)},e[236]=function(e,t,r){return cb(t,e.name)},e[227]=function(e,t,r){return cb(t,e.condition)||cb(t,e.questionToken)||cb(t,e.whenTrue)||cb(t,e.colonToken)||cb(t,e.whenFalse)},e[230]=function(e,t,r){return cb(t,e.expression)},e[241]=hb,e[268]=hb,e[312]=function(e,t,r){return ub(t,r,e.statements)||cb(t,e.endOfFileToken)},e[243]=function(e,t,r){return ub(t,r,e.modifiers)||cb(t,e.declarationList)},e[261]=function(e,t,r){return ub(t,r,e.declarations)},e[244]=function(e,t,r){return cb(t,e.expression)},e[245]=function(e,t,r){return cb(t,e.expression)||cb(t,e.thenStatement)||cb(t,e.elseStatement)},e[246]=function(e,t,r){return cb(t,e.statement)||cb(t,e.expression)},e[247]=function(e,t,r){return cb(t,e.expression)||cb(t,e.statement)},e[248]=function(e,t,r){return cb(t,e.initializer)||cb(t,e.condition)||cb(t,e.incrementor)||cb(t,e.statement)},e[249]=function(e,t,r){return cb(t,e.initializer)||cb(t,e.expression)||cb(t,e.statement)},e[250]=function(e,t,r){return cb(t,e.awaitModifier)||cb(t,e.initializer)||cb(t,e.expression)||cb(t,e.statement)},e[251]=xb,e[252]=xb,e[253]=function(e,t,r){return cb(t,e.expression)},e[254]=function(e,t,r){return cb(t,e.expression)||cb(t,e.statement)},e[255]=function(e,t,r){return cb(t,e.expression)||cb(t,e.caseBlock)},e[269]=function(e,t,r){return ub(t,r,e.clauses)},e[296]=function(e,t,r){return cb(t,e.expression)||ub(t,r,e.statements)},e[297]=function(e,t,r){return ub(t,r,e.statements)},e[256]=function(e,t,r){return cb(t,e.label)||cb(t,e.statement)},e[257]=function(e,t,r){return cb(t,e.expression)},e[258]=function(e,t,r){return cb(t,e.tryBlock)||cb(t,e.catchClause)||cb(t,e.finallyBlock)},e[299]=function(e,t,r){return cb(t,e.variableDeclaration)||cb(t,e.block)},e[170]=function(e,t,r){return cb(t,e.expression)},e[263]=bb,e[231]=bb,e[264]=function(e,t,r){return ub(t,r,e.modifiers)||cb(t,e.name)||ub(t,r,e.typeParameters)||ub(t,r,e.heritageClauses)||ub(t,r,e.members)},e[265]=function(e,t,r){return ub(t,r,e.modifiers)||cb(t,e.name)||ub(t,r,e.typeParameters)||cb(t,e.type)},e[266]=function(e,t,r){return ub(t,r,e.modifiers)||cb(t,e.name)||ub(t,r,e.members)},e[306]=function(e,t,r){return cb(t,e.name)||cb(t,e.initializer)},e[267]=function(e,t,r){return ub(t,r,e.modifiers)||cb(t,e.name)||cb(t,e.body)},e[271]=function(e,t,r){return ub(t,r,e.modifiers)||cb(t,e.name)||cb(t,e.moduleReference)},e[272]=function(e,t,r){return ub(t,r,e.modifiers)||cb(t,e.importClause)||cb(t,e.moduleSpecifier)||cb(t,e.assertClause)},e[273]=function(e,t,r){return cb(t,e.name)||cb(t,e.namedBindings)},e[300]=function(e,t,r){return ub(t,r,e.elements)},e[301]=function(e,t,r){return cb(t,e.name)||cb(t,e.value)},e[270]=function(e,t,r){return ub(t,r,e.modifiers)||cb(t,e.name)},e[274]=function(e,t,r){return cb(t,e.name)},e[280]=function(e,t,r){return cb(t,e.name)},e[275]=kb,e[279]=kb,e[278]=function(e,t,r){return ub(t,r,e.modifiers)||cb(t,e.exportClause)||cb(t,e.moduleSpecifier)||cb(t,e.assertClause)},e[276]=Tb,e[281]=Tb,e[277]=function(e,t,r){return ub(t,r,e.modifiers)||cb(t,e.expression)},e[228]=function(e,t,r){return cb(t,e.head)||ub(t,r,e.templateSpans)},e[239]=function(e,t,r){return cb(t,e.expression)||cb(t,e.literal)},e[203]=function(e,t,r){return cb(t,e.head)||ub(t,r,e.templateSpans)},e[204]=function(e,t,r){return cb(t,e.type)||cb(t,e.literal)},e[167]=function(e,t,r){return cb(t,e.expression)},e[298]=function(e,t,r){return ub(t,r,e.types)},e[233]=function(e,t,r){return cb(t,e.expression)||ub(t,r,e.typeArguments)},e[283]=function(e,t,r){return cb(t,e.expression)},e[282]=function(e,t,r){return ub(t,r,e.modifiers)},e[361]=function(e,t,r){return ub(t,r,e.elements)},e[284]=function(e,t,r){return cb(t,e.openingElement)||ub(t,r,e.children)||cb(t,e.closingElement)},e[288]=function(e,t,r){return cb(t,e.openingFragment)||ub(t,r,e.children)||cb(t,e.closingFragment)},e[285]=Sb,e[286]=Sb,e[292]=function(e,t,r){return ub(t,r,e.properties)},e[291]=function(e,t,r){return cb(t,e.name)||cb(t,e.initializer)},e[293]=function(e,t,r){return cb(t,e.expression)},e[294]=function(e,t,r){return cb(t,e.dotDotDotToken)||cb(t,e.expression)},e[287]=function(e,t,r){return cb(t,e.tagName)},e[295]=function(e,t,r){return cb(t,e.namespace)||cb(t,e.name)},e[190]=wb,e[191]=wb,e[316]=wb,e[322]=wb,e[321]=wb,e[323]=wb,e[325]=wb,e[324]=function(e,t,r){return ub(t,r,e.parameters)||cb(t,e.type)},e[327]=function(e,t,r){return("string"==typeof e.comment?void 0:ub(t,r,e.comment))||ub(t,r,e.tags)},e[354]=function(e,t,r){return cb(t,e.tagName)||cb(t,e.name)||("string"==typeof e.comment?void 0:ub(t,r,e.comment))},e[317]=function(e,t,r){return cb(t,e.name)},e[318]=function(e,t,r){return cb(t,e.left)||cb(t,e.right)},e[348]=Cb,e[355]=Cb,e[337]=function(e,t,r){return cb(t,e.tagName)||("string"==typeof e.comment?void 0:ub(t,r,e.comment))},e[336]=function(e,t,r){return cb(t,e.tagName)||cb(t,e.class)||("string"==typeof e.comment?void 0:ub(t,r,e.comment))},e[335]=function(e,t,r){return cb(t,e.tagName)||cb(t,e.class)||("string"==typeof e.comment?void 0:ub(t,r,e.comment))},e[352]=function(e,t,r){return cb(t,e.tagName)||cb(t,e.constraint)||ub(t,r,e.typeParameters)||("string"==typeof e.comment?void 0:ub(t,r,e.comment))},e[353]=function(e,t,r){return cb(t,e.tagName)||(e.typeExpression&&316===e.typeExpression.kind?cb(t,e.typeExpression)||cb(t,e.fullName)||("string"==typeof e.comment?void 0:ub(t,r,e.comment)):cb(t,e.fullName)||cb(t,e.typeExpression)||("string"==typeof e.comment?void 0:ub(t,r,e.comment)))},e[345]=function(e,t,r){return cb(t,e.tagName)||cb(t,e.fullName)||cb(t,e.typeExpression)||("string"==typeof e.comment?void 0:ub(t,r,e.comment))},e[349]=Nb,e[351]=Nb,e[350]=Nb,e[347]=Nb,e[357]=Nb,e[356]=Nb,e[346]=Nb,e[330]=function(e,t,r){return KN(e.typeParameters,t)||KN(e.parameters,t)||cb(t,e.type)},e[331]=Db,e[332]=Db,e[333]=Db,e[329]=function(e,t,r){return KN(e.jsDocPropertyTags,t)},e[334]=Ab,e[339]=Ab,e[340]=Ab,e[341]=Ab,e[342]=Ab,e[343]=Ab,e[338]=Ab,e[344]=Ab,e[360]=Eb,tb=e,function(e){var i,o,s,c,u,U=ao(99,!0),_=40960;function t(e){return g++,e}var V,l,T,d,f,p,m,y,v,q,g,h,S,W,x,b,H=oy(11,{createBaseSourceFileNode:function(e){return t(new u(e,0,0))},createBaseIdentifierNode:function(e){return t(new s(e,0,0))},createBasePrivateIdentifierNode:function(e){return t(new c(e,0,0))},createBaseTokenNode:function(e){return t(new o(e,0,0))},createBaseNode:function(e){return t(new i(e,0,0))}}),k=H.createNodeArray,w=H.createNumericLiteral,C=H.createStringLiteral,a=H.createLiteralLikeNode,K=H.createIdentifier,r=H.createPrivateIdentifier,N=H.createToken,D=H.createArrayLiteralExpression,A=H.createObjectLiteralExpression,G=H.createPropertyAccessExpression,E=H.createPropertyAccessChain,F=H.createElementAccessExpression,P=H.createElementAccessChain,I=H.createCallExpression,O=H.createCallChain,L=H.createNewExpression,n=H.createParenthesizedExpression,M=H.createBlock,R=H.createVariableStatement,j=H.createExpressionStatement,B=H.createIfStatement,J=H.createWhileStatement,z=H.createForStatement,X=H.createForOfStatement,Q=H.createVariableDeclaration,Y=H.createVariableDeclarationList,Z=!0,$=!1;function ee(e,t,r,n,a){void 0===r&&(r=2),void 0===a&&(a=!1),te(e,t,r,n,6),l=b,Le();var i,r=Fe();if(1===q)i=lt([],r,r),c=st();else{for(var o=void 0;1!==q;){var s=void 0;switch(q){case 23:s=zn();break;case 112:case 97:case 106:s=st();break;case 41:s=(We(function(){return 9===Le()&&59!==Le()})?gn:Vn)();break;case 9:case 11:if(We(function(){return 59!==Le()})){s=$t();break}default:s=Vn()}o&&RD(o)?o.push(s):o?o=[o,s]:(o=s,1!==q&&Ce(mA.Unexpected_token))}n=RD(o)?dt(D(o),r):rA.checkDefined(o),n=j(n);dt(n,r),i=lt([n],r),c=ot(1,mA.Unexpected_token)}var c=se(e,2,6,!1,i,c,l,fi);a&&oe(c),c.nodeCount=g,c.identifierCount=S,c.identifiers=h,c.parseDiagnostics=hp(m,c),y&&(c.jsDocDiagnostics=hp(y,c));return re(),c}function te(e,t,r,n,a){switch(i=pF.getNodeConstructor(),o=pF.getTokenConstructor(),s=pF.getIdentifierConstructor(),c=pF.getPrivateIdentifierConstructor(),u=pF.getSourceFileConstructor(),V=pi(e),T=t,d=r,v=n,p=Tp(f=a),m=[],W=0,h=new Map,Z=!(l=g=S=0),f){case 1:case 2:b=524288;break;case 6:b=134742016;break;default:b=0}$=!1,U.setText(T),U.setOnError(Ee),U.setScriptTarget(d),U.setLanguageVariant(p)}function re(){U.clearCommentDirectives(),U.setText(""),U.setOnError(void 0),p=f=v=d=T=void 0,y=m=void(l=0),Z=!(x=h=void(W=0))}e.parseSourceFile=function(e,t,r,n,a,i,o){if(void 0===a&&(a=!1),6!==(i=nm(e,i)))return te(e,t,r,n,i),o=function(e,t,r,n){var a=QB(V);a&&(b|=33554432);l=b,Le();var i=Bt(0,fa);rA.assert(1===q);var o=Pe(),o=ae(st(),o),n=se(V,e,r,a,i,o,l,n);jb(n,T),Bb(n,function(e,t,r){m.push(gp(V,e,t,r))}),n.commentDirectives=U.getCommentDirectives(),n.nodeCount=g,n.identifierCount=S,n.identifiers=h,n.parseDiagnostics=hp(m,n),y&&(n.jsDocDiagnostics=hp(y,n));t&&oe(n);return n}(r,a,i,o||Pb),re(),o;n=ee(e,t,r,n,a);return aT(n,null==(a=n.statements[0])?void 0:a.expression,n.parseDiagnostics,!1,void 0),n.referencedFiles=WN,n.typeReferenceDirectives=WN,n.libReferenceDirectives=WN,n.amdDependencies=WN,n.hasNoDefaultLib=!1,n.pragmas=li,n},e.parseIsolatedEntityName=function(e,t){return te("",e,t,void 0,1),Le(),e=Kt(!0),t=1===q&&!m.length,re(),t?e:void 0},e.parseJsonText=ee;var ne=!1;function ae(t,e){if(!e)return t;rA.assert(!t.jsDoc);e=uD(H_(t,T),function(e){return Ye.parseJSDocComment(t,e.pos,e.end-e.pos)});return e.length&&(t.jsDoc=e),ne&&(ne=!1,t.flags|=536870912),t}function ie(a){var e=v,t=nb.createSyntaxCursor(a);v={currentNode:function(e){e=t.currentNode(e);Z&&e&&u(e)&&(e.intersectsChange=!0);return e}};var i=[],o=m;m=[];for(var r,n,s=0,c=_(a.statements,0);-1!==c;)!function(){var t=a.statements[s],n=a.statements[c];gD(i,a.statements,s,c),s=l(a.statements,c);var e=ZN(o,function(e){return e.start>=t.pos}),r=0<=e?ZN(o,function(e){return e.start>=n.pos},e):-1;0<=e&&gD(m,o,e,0<=r?r:void 0),qe(function(){var e=b;for(b|=65536,U.resetTokenState(n.pos),Le();1!==q;){var t=U.getTokenFullStart(),r=Jt(0,fa);if(i.push(r),t===U.getTokenFullStart()&&Le(),0<=s){t=a.statements[s];if(r.end===t.pos)break;r.end>t.pos&&(s=l(a.statements,s+1))}}b=e},2),c=0<=s?_(a.statements,s):-1}();return 0<=s&&(r=a.statements[s],gD(i,a.statements,s),0<=(n=ZN(o,function(e){return e.start>=r.pos}))&&gD(m,o,n)),v=e,H.updateSourceFile(a,UB(k(i),a.statements));function u(e){return!(65536&e.flags)&&67108864&e.transformFlags}function _(e,t){for(var r=t;r<e.length;r++)if(u(e[r]))return r;return-1}function l(e,t){for(var r=t;r<e.length;r++)if(!u(e[r]))return r;return-1}}function oe(e){Fm(e,!0)}function se(t,r,n,a,e,i,o,s){o=H.createSourceFile(e,i,o);return Am(o,0,T.length),c(o),!a&&XB(o)&&67108864&o.transformFlags&&c(o=ie(o)),o;function c(e){e.text=T,e.bindDiagnostics=[],e.bindSuggestionDiagnostics=void 0,e.languageVersion=r,e.fileName=t,e.languageVariant=Tp(n),e.isDeclarationFile=a,e.scriptKind=n,s(e),e.setExternalModuleIndicator=s}}function ce(e,t){e?b|=t:b&=~t}function ue(e){ce(e,8192)}function _e(e){ce(e,16384)}function le(e){ce(e,32768)}function de(e){ce(e,65536)}function fe(e,t){var r=e&b;if(r){ce(!1,r);e=t();return ce(!0,r),e}return t()}function pe(e,t){var r=e&~b;if(r){ce(!0,r);e=t();return ce(!1,r),e}return t()}function me(e){return fe(8192,e)}function ye(e){return fe(131072,e)}function ve(e){return pe(131072,e)}function ge(e){return pe(65536,e)}function he(e){return fe(65536,e)}function xe(e){return 0!=(b&e)}function be(){return xe(16384)}function ke(){return xe(8192)}function Te(){return xe(131072)}function Se(){return xe(32768)}function we(){return xe(65536)}function Ce(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return De.apply(void 0,__spreadArray([U.getTokenStart(),U.getTokenEnd(),e],__read(t),!1))}function Ne(e,t,r){for(var n=[],a=3;a<arguments.length;a++)n[a-3]=arguments[a];var i,o=CD(m);return o&&e===o.start||(i=gp.apply(void 0,__spreadArray([V,e,t,r],__read(n),!1)),m.push(i)),$=!0,i}function De(e,t,r){for(var n=[],a=3;a<arguments.length;a++)n[a-3]=arguments[a];return Ne.apply(void 0,__spreadArray([e,t-e,r],__read(n),!1))}function Ae(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];De.apply(void 0,__spreadArray([e.pos,e.end,t],__read(r),!1))}function Ee(e,t,r){Ne(U.getTokenEnd(),t,e,r)}function Fe(){return U.getTokenFullStart()}function Pe(){return U.hasPrecedingJSDocComment()}function Ie(){return q=U.scan()}function Oe(e){return Le(),e()}function Le(){return zl(q)&&(U.hasUnicodeEscape()||U.hasExtendedUnicodeEscape())&&De(U.getTokenStart(),U.getTokenEnd(),mA.Keywords_cannot_contain_escape_characters),Ie()}function Me(){return q=U.scanJsDocToken()}function Re(e){return q=U.scanJSDocCommentTextToken(e)}function je(){return q=U.reScanGreaterToken()}function Be(e){return q=U.reScanTemplateToken(e)}function Je(){return q=U.reScanLessThanToken()}function ze(){return q=U.reScanHashToken()}function Ue(){return q=U.scanJsxIdentifier()}function Ve(){return q=U.scanJsxToken()}function qe(e,t){var r=q,n=m.length,a=$,i=b,e=0!==t?U.lookAhead(e):U.tryScan(e);return rA.assert(i===b),e&&0===t||(q=r,2!==t&&(m.length=n),$=a),e}function We(e){return qe(e,1)}function He(e){return qe(e,0)}function Ke(){return 80===q||118<q}function Ge(){return 80===q||(127!==q||!be())&&((135!==q||!we())&&118<q)}function Xe(e,t,r){return void 0===r&&(r=!0),q===e?(r&&Le(),!0):(t?Ce(t):Ce(mA._0_expected,vA(e)),!1)}e.fixupParentReferences=oe;var Qe,Ye,Ze=Object.keys(mi).filter(function(e){return 2<e.length});function $e(e){var t;if(cj(e))De(xA(T,e.template.pos),e.template.end,mA.Module_declaration_names_may_only_use_or_quoted_strings);else{var r=xR(e)?LA(e):void 0;if(r&&bA(r,d)){var n=xA(T,e.pos);switch(r){case"const":case"let":case"var":return void De(n,e.end,mA.Variable_declaration_not_allowed_at_this_location);case"declare":return;case"interface":return void et(mA.Interface_name_cannot_be_0,mA.Interface_must_be_given_a_name,19);case"is":return void De(n,U.getTokenStart(),mA.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);case"module":case"namespace":return void et(mA.Namespace_name_cannot_be_0,mA.Namespace_must_be_given_a_name,19);case"type":return void et(mA.Type_alias_name_cannot_be_0,mA.Type_alias_must_be_given_a_name,64)}r=null!==(t=VD(r,Ze,function(e){return e}))&&void 0!==t?t:function(e){var t,r;try{for(var n=__values(Ze),a=n.next();!a.done;a=n.next()){var i=a.value;if(e.length>i.length+2&&XD(e,i))return"".concat(i," ").concat(e.slice(i.length))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return}(r);r?De(n,e.end,mA.Unknown_keyword_or_identifier_Did_you_mean_0,r):0!==q&&De(n,e.end,mA.Unexpected_keyword_or_identifier)}else Ce(mA._0_expected,yA[27])}}function et(e,t,r){q===r?Ce(t):Ce(e,U.getTokenValue())}function tt(e){if(q===e)return Me(),1;rA.assert(Vl(e)),Ce(mA._0_expected,vA(e))}function rt(e,t,r,n){var a;q!==t?(a=Ce(mA._0_expected,vA(t)),r&&a&&SM(a,gp(V,n,1,mA.The_parser_expected_to_find_a_1_to_match_the_0_token_here,vA(e),vA(t)))):Le()}function nt(e){return q===e&&(Le(),!0)}function at(e){if(q===e)return st()}function it(e){if(q===e)return t=Fe(),e=q,Me(),dt(N(e),t);var t}function ot(e,t,r){return at(e)||ft(e,!1,t||mA._0_expected,r||vA(e))}function st(){var e=Fe(),t=q;return Le(),dt(N(t),e)}function ct(){return 27===q||(20===q||1===q||U.hasPrecedingLineBreak())}function ut(){return!!ct()&&(27===q&&Le(),!0)}function _t(){return ut()||Xe(27)}function lt(e,t,r,n){n=k(e,n);return MM(n,t,null!=r?r:U.getTokenFullStart()),n}function dt(e,t,r){return MM(e,t,null!=r?r:U.getTokenFullStart()),b&&(e.flags|=b),$&&($=!1,e.flags|=262144),e}function ft(e,t,r){for(var n=[],a=3;a<arguments.length;a++)n[a-3]=arguments[a];t?Ne.apply(void 0,__spreadArray([U.getTokenFullStart(),0,r],__read(n),!1)):r&&Ce.apply(void 0,__spreadArray([r],__read(n),!1));r=Fe();return dt(80===e?K("",void 0):As(e)?H.createTemplateLiteralLikeNode(e,"","",void 0):9===e?w("",void 0):11===e?C("",void 0):282===e?H.createMissingDeclaration():N(e),r)}function pt(e){var t=h.get(e);return void 0===t&&h.set(e,t=e),t}function mt(e,t,r){if(e){S++;var n=Fe(),a=q,e=pt(U.getTokenValue()),i=U.hasExtendedUnicodeEscape();return Ie(),dt(K(e,a,i),n)}if(81===q)return Ce(r||mA.Private_identifiers_are_not_allowed_outside_class_bodies),mt(!0);if(0===q&&U.tryScan(function(){return 80===U.reScanInvalidIdentifier()}))return mt(!0);S++;i=1===q,n=U.isReservedWord(),r=U.getTokenText(),n=n?mA.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:mA.Identifier_expected;return ft(80,i,t||n,r)}function yt(e){return mt(Ke(),void 0,e)}function vt(e,t){return mt(Ge(),e,t)}function gt(e){return mt(80<=q,e)}function ht(){return 80<=q||11===q||9===q}function xt(e){if(11!==q&&9!==q)return(e&&23===q?function(){var e=Fe();Xe(23);var t=me(an);return Xe(24),dt(H.createComputedPropertyName(t),e)}:81===q?kt:gt)();e=$t();return e.text=pt(e.text),e}function bt(){return xt(!0)}function kt(){var e=Fe(),t=r(pt(U.getTokenValue()));return Le(),dt(t,e)}function Tt(e){return q===e&&He(wt)}function St(){return Le(),!U.hasPrecedingLineBreak()&&Dt()}function wt(){switch(q){case 87:return 94===Le();case 95:return Le(),90===q?We(At):156===q?We(Nt):Ct();case 90:return At();case 126:case 139:case 153:return Le(),Dt();default:return St()}}function Ct(){return 60===q||42!==q&&130!==q&&19!==q&&Dt()}function Nt(){return Le(),Ct()}function Dt(){return 23===q||19===q||42===q||26===q||ht()}function At(){return Le(),86===q||100===q||120===q||60===q||128===q&&We(ea)||134===q&&We(ta)}function Et(e,t){if(zt(e))return 1;switch(e){case 0:case 1:case 3:return(27!==q||!t)&&ia();case 2:return 84===q||90===q;case 4:return We(br);case 5:return We(Oa)||27===q&&!t;case 6:return 23===q||ht();case 12:switch(q){case 23:case 42:case 26:case 25:return 1;default:return ht()}case 18:return ht();case 9:return 23===q||26===q||ht();case 24:return 80<=q||11===q;case 7:return 19===q?We(Ft):t?Ge()&&!Lt():rn()&&!Lt();case 8:return ba();case 10:return 28===q||26===q||ba();case 19:return 103===q||87===q||Ge();case 15:switch(q){case 28:case 25:return 1}case 11:return 26===q||nn();case 16:return _r(!1);case 17:return _r(!0);case 20:case 21:return 28===q||Jr();case 22:return Ga();case 23:return 161===q&&We(va)?void 0:80<=q;case 13:return 80<=q||19===q;case 14:case 25:return 1;case 26:return rA.fail("ParsingContext.Count used as a context");default:rA.assertNever(e,"Non-exhaustive case in 'isListElement'.")}}function Ft(){if(rA.assert(19===q),20!==Le())return!0;var e=Le();return 28===e||19===e||96===e||119===e}function Pt(){return Le(),Ge()}function It(){return Le(),80<=q}function Ot(){return Le(),Ci(q)}function Lt(){return(119===q||96===q)&&We(Mt)}function Mt(){return Le(),nn()}function Rt(){return Le(),Jr()}function jt(e){if(1===q)return 1;switch(e){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:case 24:return 20===q;case 3:return 20===q||84===q||90===q;case 7:return 19===q||96===q||119===q;case 8:return function(){if(ct())return 1;if(pn(q))return 1;return 39===q}();case 19:return 32===q||21===q||19===q||96===q||119===q;case 11:return 22===q||27===q;case 15:case 21:case 10:return 24===q;case 17:case 16:case 18:return 22===q||24===q;case 20:return 28!==q;case 22:return 19===q||20===q;case 13:return 32===q||44===q;case 14:return 30===q&&We(ei);default:return}}function Bt(e,t){var r=W;W|=1<<e;for(var n=[],a=Fe();!jt(e);)if(Et(e,!1))n.push(Jt(e,t));else if(Vt(e))break;return W=r,lt(n,a)}function Jt(e,t){e=zt(e);return e?Ut(e):t()}function zt(e,t){var r;if(v&&function(e){switch(e){case 5:case 2:case 0:case 1:case 3:case 6:case 4:case 8:case 17:case 16:return!0}return!1}(e)&&!$){var n=v.currentNode(null!=t?t:U.getTokenFullStart());if(!(EF(n)||n.intersectsChange||wF(n))){t=101441536&n.flags;if(t===b&&function(e,t){switch(t){case 5:return function(e){if(e)switch(e.kind){case 176:case 181:case 177:case 178:case 172:case 240:return!0;case 174:var t=e;return!(80===t.name.kind&&"constructor"===t.name.escapedText)}return!1}(e);case 2:return function(e){if(e)switch(e.kind){case 296:case 297:return!0}return!1}(e);case 0:case 1:case 3:return function(e){if(e)switch(e.kind){case 262:case 243:case 241:case 245:case 244:case 257:case 253:case 255:case 252:case 251:case 249:case 250:case 248:case 247:case 254:case 242:case 258:case 256:case 246:case 259:case 272:case 271:case 278:case 277:case 267:case 263:case 264:case 266:case 265:return!0}return!1}(e);case 6:return 306===e.kind;case 4:return function(e){if(e)switch(e.kind){case 180:case 173:case 181:case 171:case 179:return!0}return!1}(e);case 8:return function(e){if(260!==e.kind)return!1;return void 0===e.initializer}(e);case 17:case 16:return function(e){if(169!==e.kind)return!1;return void 0===e.initializer}(e)}return!1}(n,e))return HI(n)&&null!=(r=n.jsDoc)&&r.jsDocCache&&(n.jsDoc.jsDocCache=void 0),n}}}function Ut(e){return U.resetTokenState(e.end),Le(),e}function Vt(e){if(!function(e){switch(e){case 0:return 90===q?Ce(mA._0_expected,yA[95]):Ce(mA.Declaration_or_statement_expected);case 1:return Ce(mA.Declaration_or_statement_expected);case 2:return Ce(mA.case_or_default_expected);case 3:return Ce(mA.Statement_expected);case 18:case 4:return Ce(mA.Property_or_signature_expected);case 5:return Ce(mA.Unexpected_token_A_constructor_method_accessor_or_property_was_expected);case 6:return Ce(mA.Enum_member_expected);case 7:return Ce(mA.Expression_expected);case 8:return zl(q)?Ce(mA._0_is_not_allowed_as_a_variable_declaration_name,vA(q)):Ce(mA.Variable_declaration_expected);case 9:return Ce(mA.Property_destructuring_pattern_expected);case 10:return Ce(mA.Array_element_destructuring_pattern_expected);case 11:return Ce(mA.Argument_expression_expected);case 12:return Ce(mA.Property_assignment_expected);case 15:return Ce(mA.Expression_or_comma_expected);case 17:return Ce(mA.Parameter_declaration_expected);case 16:return zl(q)?Ce(mA._0_is_not_allowed_as_a_parameter_name,vA(q)):Ce(mA.Parameter_declaration_expected);case 19:return Ce(mA.Type_parameter_declaration_expected);case 20:return Ce(mA.Type_argument_expected);case 21:return Ce(mA.Type_expected);case 22:return Ce(mA.Unexpected_token_expected);case 23:return 161===q?Ce(mA._0_expected,"}"):Ce(mA.Identifier_expected);case 13:case 14:return Ce(mA.Identifier_expected);case 24:return Ce(mA.Identifier_or_string_literal_expected);case 25:return Ce(mA.Identifier_expected);case 26:return rA.fail("ParsingContext.Count used as a context");default:rA.assertNever(e)}}(e),function(){rA.assert(W,"Missing parsing context");for(var e=0;e<26;e++)if(W&1<<e&&(Et(e,!0)||jt(e)))return 1}())return 1;Le()}function qt(e,t,r){var n=W;W|=1<<e;for(var a=[],i=Fe(),o=-1;;)if(Et(e,!1)){var s=U.getTokenFullStart(),c=Jt(e,t);if(!c)return void(W=n);if(a.push(c),o=U.getTokenStart(),!nt(28)){if(o=-1,jt(e))break;Xe(28,6===e?mA.An_enum_member_name_must_be_followed_by_a_or:void 0),r&&27===q&&!U.hasPrecedingLineBreak()&&Le(),s===U.getTokenFullStart()&&Le()}}else{if(jt(e))break;if(Vt(e))break}return W=n,lt(a,i,void 0,0<=o)}function Wt(){var e=lt([],Fe());return e.isMissingList=!0,e}function Ht(e,t,r,n){if(Xe(r)){t=qt(e,t);return Xe(n),t}return Wt()}function Kt(e,t){for(var r=Fe(),n=(e?gt:vt)(t);nt(25)&&30!==q;)n=dt(H.createQualifiedName(n,Gt(e,!1)),r);return n}function Gt(e,t){if(U.hasPrecedingLineBreak()&&80<=q&&We($n))return ft(80,!0,mA.Identifier_expected);if(81!==q)return(e?gt:vt)();e=kt();return t?e:ft(80,!0,mA.Identifier_expected)}function Xt(e){for(var t,r,n=Fe(),a=[];t=e,r=void 0,r=Fe(),r=dt(H.createTemplateSpan(me(an),Zt(t)),r),a.push(r),17===r.literal.kind;);return lt(a,n)}function Qt(e){var t=Fe();return dt(H.createTemplateExpression(er(e),Xt(e)),t)}function Yt(){var e=Fe();return dt(H.createTemplateLiteralType(er(!1),function(){var e,t=Fe(),r=[];for(;e=function(){var e=Fe();return dt(H.createTemplateLiteralTypeSpan(en(),Zt(!1)),e)}(),r.push(e),17===e.literal.kind;);return lt(r,t)}()),e)}function Zt(e){return 20===q?(Be(e),e=tr(q),rA.assert(17===e.kind||18===e.kind,"Template fragment has wrong token kind"),e):ot(18,mA._0_expected,yA[20])}function $t(){return tr(q)}function er(e){!e&&26656&U.getTokenFlags()&&Be(!1);e=tr(q);return rA.assert(16===e.kind,"Template head has wrong token kind"),e}function tr(e){var t,r,n=Fe(),e=As(e)?H.createTemplateLiteralLikeNode(e,U.getTokenValue(),(r=15===(t=e)||18===t,(t=U.getTokenText()).substring(1,t.length-(U.isUnterminated()?0:r?1:2))),7176&U.getTokenFlags()):9===e?w(U.getTokenValue(),U.getNumericLiteralFlags()):11===e?C(U.getTokenValue(),void 0,U.hasExtendedUnicodeEscape()):Ds(e)?a(e,U.getTokenValue()):rA.fail();return U.hasExtendedUnicodeEscape()&&(e.hasExtendedUnicodeEscape=!0),U.isUnterminated()&&(e.isUnterminated=!0),Le(),dt(e,n)}function rr(){return Kt(!0,mA.Type_expected)}function nr(){if(!U.hasPrecedingLineBreak()&&30===Je())return Ht(20,en,30,32)}function ar(){var e=Fe();return dt(H.createTypeReferenceNode(rr(),nr()),e)}function ir(){var e=Fe();return Le(),dt(H.createThisTypeNode(),e)}function or(){var e,t=Fe();return 110!==q&&105!==q||(e=gt(),Xe(59)),dt(H.createParameterDeclaration(void 0,void 0,e,void 0,sr(),void 0),t)}function sr(){U.setInJSDocType(!0);var e=Fe();if(nt(144)){var t=H.createJSDocNamepathType(void 0);e:for(;;)switch(q){case 20:case 1:case 28:case 5:break e;default:Me()}return U.setInJSDocType(!1),dt(t,e)}var r=nt(26),t=Zr();return U.setInJSDocType(!1),r&&(t=dt(H.createJSDocVariadicType(t),e)),64===q?(Le(),dt(H.createJSDocOptionalType(t),e)):t}function cr(){var e,t,r=Fe(),n=Ba(!1,!0),a=vt();nt(96)&&(Jr()||!nn()?e=en():t=hn());var i=nt(64)?en():void 0,i=H.createTypeParameterDeclaration(n,a,e,i);return i.expression=t,dt(i,r)}function ur(){if(30===q)return Ht(19,cr,30,32)}function _r(e){return 26===q||ba()||js(q)||60===q||Jr(!e)}function lr(e){return dr(e)}function dr(e,t){void 0===t&&(t=!0);var r=Fe(),n=Pe(),e=(e?ge:he)(function(){return Ba(!0)});if(110===q){var a=H.createParameterDeclaration(e,void 0,mt(!0),void 0,tn(),void 0),i=kD(e);return i&&Ae(i,mA.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters),ae(dt(a,r),n)}i=Z;Z=!1;a=at(26);if(t||Ke()||23===q||19===q){n=ae(dt(H.createParameterDeclaration(e,a,(a=e,0===Mu(e=ka(mA.Private_identifiers_cannot_be_used_as_parameters))&&!dD(a)&&js(q)&&Le(),e),at(58),tn(),on()),r),n);return Z=i,n}}function fr(e,t){if(function(e,t){{if(39===e)return Xe(e),!0;if(nt(59))return!0;if(t&&39===q)return Ce(mA._0_expected,yA[59]),Le(),!0}return!1}(e,t))return ye(Zr)}function pr(e,t){var r=be(),n=we();_e(!!(1&e)),de(!!(2&e));e=32&e?qt(17,or):qt(16,function(){return t?lr(n):dr(n,!1)});return _e(r),de(n),e}function mr(e){if(!Xe(21))return Wt();e=pr(e,!0);return Xe(22),e}function yr(){nt(28)||_t()}function vr(e){var t=Fe(),r=Pe();180===e&&Xe(105);var n=ur(),a=mr(4),i=fr(59,!0);return yr(),ae(dt(179===e?H.createCallSignature(n,a,i):H.createConstructSignature(n,a,i),t),r)}function gr(){return 23===q&&We(hr)}function hr(){if(Le(),26===q||24===q)return!0;if(js(q)){if(Le(),Ge())return!0}else{if(!Ge())return!1;Le()}return 59===q||28===q||58===q&&(Le(),59===q||28===q||24===q)}function xr(e,t,r){var n=Ht(16,function(){return dr(!1)},23,24),a=tn();return yr(),ae(dt(H.createIndexSignature(r,n,a),e),t)}function br(){if(21===q||30===q||139===q||153===q)return!0;for(var e=!1;js(q);)e=!0,Le();return 23===q||(ht()&&(e=!0,Le()),!!e&&(21===q||30===q||58===q||59===q||28===q||ct()))}function kr(){if(21===q||30===q)return vr(179);if(105===q&&We(Tr))return vr(180);var e,t,r,n,a,i=Fe(),o=Pe(),s=Ba(!1);return Tt(139)?Ia(i,o,s,177,4):Tt(153)?Ia(i,o,s,178,4):gr()?xr(i,o,s):(e=i,t=o,r=s,i=bt(),o=at(58),21===q||30===q?(s=ur(),n=mr(4),a=fr(59,!0),n=H.createMethodSignature(r,i,o,s,n,a)):(a=tn(),n=H.createPropertySignature(r,i,o,a),64===q&&(n.initializer=on())),yr(),ae(dt(n,e),t))}function Tr(){return Le(),21===q||30===q}function Sr(){return 25===Le()}function wr(){switch(Le()){case 21:case 30:case 25:return!0}return!1}function Cr(){var e;return Xe(19)?(e=Bt(4,kr),Xe(20)):e=Wt(),e}function Nr(){return Le(),40===q||41===q?148===Le():(148===q&&Le(),23===q&&Pt()&&103===Le())}function Dr(){var e,t=Fe();Xe(19),148!==q&&40!==q&&41!==q||148!==(e=st()).kind&&Xe(148),Xe(23);var r,n=function(){var e=Fe(),t=gt();Xe(103);var r=en();return dt(H.createTypeParameterDeclaration(void 0,t,r,void 0),e)}(),a=nt(130)?en():void 0;Xe(24),58!==q&&40!==q&&41!==q||58!==(r=st()).kind&&Xe(58);var i=tn();_t();var o=Bt(4,kr);return Xe(20),dt(H.createMappedTypeNode(e,n,a,r,i,o),t)}function Ar(){var e=Fe();if(nt(26))return dt(H.createRestTypeNode(en()),e);var t=en();if(mB(t)&&t.pos===t.type.pos){e=H.createOptionalTypeNode(t.type);return UB(e,t),e.flags=t.flags,e}return t}function Er(){return 59===Le()||58===q&&59===Le()}function Fr(){return 26===q?80<=Le()&&Er():80<=q&&Er()}function Pr(){if(We(Fr)){var e=Fe(),t=Pe(),r=at(26),n=gt(),a=at(58);Xe(59);var i=Ar();return ae(dt(H.createNamedTupleMember(r,n,a,i),e),t)}return Ar()}function Ir(){var e=Fe(),t=Pe(),r=(128===q&&(o=Fe(),Le(),o=lt([dt(N(128),o)],o)),o),n=nt(105);rA.assert(!r||n,"Per isStartOfFunctionOrConstructorType, a function type cannot have modifiers.");var a=ur(),i=mr(4),o=fr(39,!1);return ae(dt(n?H.createConstructorTypeNode(r,a,i,o):H.createFunctionTypeNode(a,i,o),e),t)}function Or(){var e=st();return 25===q?void 0:e}function Lr(e){var t=Fe();e&&Le();var r=112===q||97===q||106===q?st():tr(q);return e&&(r=dt(H.createPrefixUnaryExpression(41,r),t)),dt(H.createLiteralTypeNode(r),t)}function Mr(){return Le(),102===q}function Rr(){l|=4194304;var e=Fe(),t=nt(114);Xe(102),Xe(21);var r,n=en();nt(28)&&(r=function(){var e=Fe(),t=U.getTokenStart();Xe(19);var r=U.hasPrecedingLineBreak();Xe(132),Xe(59);var n,a=ri(!0);return Xe(20)||(n=CD(m))&&n.code===mA._0_expected.code&&SM(n,gp(V,t,1,mA.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}")),dt(H.createImportTypeAssertionContainer(a,r),e)}()),Xe(22);var a=nt(25)?rr():void 0,i=nr();return dt(H.createImportTypeNode(n,r,a,i,t),e)}function jr(){return Le(),9===q||10===q}function Br(){switch(q){case 133:case 159:case 154:case 150:case 163:case 155:case 136:case 157:case 146:case 151:return He(Or)||ar();case 67:U.reScanAsteriskEqualsToken();case 42:return i=Fe(),Le(),dt(H.createJSDocAllType(),i);case 61:U.reScanQuestionToken();case 58:return a=Fe(),Le(),dt(28===q||20===q||22===q||32===q||64===q||52===q?H.createJSDocUnknownType():H.createJSDocNullableType(en(),!1),a);case 100:return function(){var e=Fe(),t=Pe();if(We(Za)){Le();var r=mr(36),n=fr(59,!1);return ae(dt(H.createJSDocFunctionType(r,n),e),t)}return dt(H.createTypeReferenceNode(gt(),void 0),e)}();case 54:return a=Fe(),Le(),dt(H.createJSDocNonNullableType(Br(),!1),a);case 15:case 11:case 9:case 10:case 112:case 97:case 106:return Lr();case 41:return We(jr)?Lr(!0):ar();case 116:return st();case 110:var e=ir();return 142!==q||U.hasPrecedingLineBreak()?e:(n=e,Le(),dt(H.createTypePredicateNode(void 0,n,en()),n.pos));case 114:return(We(Mr)?Rr:function(){var e=Fe();Xe(114);var t=Kt(!0),r=U.hasPrecedingLineBreak()?void 0:Ka();return dt(H.createTypeQueryNode(t,r),e)})();case 19:return We(Nr)?Dr():(r=Fe(),dt(H.createTypeLiteralNode(Cr()),r));case 23:return t=Fe(),dt(H.createTupleTypeNode(Ht(21,Pr,23,24)),t);case 21:return function(){var e=Fe();Xe(21);var t=en();return Xe(22),dt(H.createParenthesizedType(t),e)}();case 102:return Rr();case 131:return We($n)?(e=Fe(),n=ot(131),r=(110===q?ir:vt)(),t=nt(142)?en():void 0,dt(H.createTypePredicateNode(n,r,t),e)):ar();case 16:return Yt();default:return ar()}var t,r,n,a,i}function Jr(e){switch(q){case 133:case 159:case 154:case 150:case 163:case 136:case 148:case 155:case 158:case 116:case 157:case 106:case 110:case 114:case 146:case 19:case 23:case 30:case 52:case 51:case 105:case 11:case 9:case 10:case 112:case 97:case 151:case 42:case 58:case 54:case 26:case 140:case 102:case 131:case 15:case 16:return!0;case 100:return!e;case 41:return!e&&We(jr);case 21:return!e&&We(zr);default:return Ge()}}function zr(){return Le(),22===q||_r(!1)||Jr()}function Ur(){for(var e,t=Fe(),r=Br();!U.hasPrecedingLineBreak();)switch(q){case 54:Le(),r=dt(H.createJSDocNonNullableType(r,!0),t);break;case 58:if(We(Rt))return r;Le(),r=dt(H.createJSDocNullableType(r,!0),t);break;case 23:Xe(23),r=Jr()?(e=en(),Xe(24),dt(H.createIndexedAccessTypeNode(r,e),t)):(Xe(24),dt(H.createArrayTypeNode(r),t));break;default:return r}return r}function Vr(){if(nt(96)){var e=ve(en);if(Te()||58!==q)return e}}function qr(){var e,t,r,n=Fe();return Xe(140),dt(H.createInferTypeNode((e=Fe(),t=vt(),r=He(Vr),dt(H.createTypeParameterDeclaration(void 0,t,r),e))),n)}function Wr(){var e,t,r=q;switch(r){case 143:case 158:case 148:return e=r,t=Fe(),Xe(e),dt(H.createTypeOperatorNode(e,Wr()),t);case 140:return qr()}return ye(Ur)}function Hr(e){if(Qr()){var t=Ir();return Ae(t,JR(t)?e?mA.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:mA.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:e?mA.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:mA.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type),t}}function Kr(e,t,r){var n=Fe(),a=52===e,i=nt(e),o=i&&Hr(a)||t();if(q===e||i){for(var s=[o];nt(e);)s.push(Hr(a)||t());o=dt(r(lt(s,n)),n)}return o}function Gr(){return Kr(51,Wr,H.createIntersectionTypeNode)}function Xr(){return Le(),105===q}function Qr(){return 30===q||(21===q&&We(Yr)||(105===q||128===q&&We(Xr)))}function Yr(){if(Le(),22===q||26===q)return!0;if(function(){if(js(q)&&Ba(!1),Ge()||110===q)return Le(),1;if(23===q||19===q){var e=m.length;return ka(),e===m.length}}()){if(59===q||28===q||58===q||64===q)return!0;if(22===q&&(Le(),39===q))return!0}return!1}function Zr(){var e=Fe(),t=Ge()&&He($r),r=en();return t?dt(H.createTypePredicateNode(void 0,t,r),e):r}function $r(){var e=vt();if(142===q&&!U.hasPrecedingLineBreak())return Le(),e}function en(){if(81920&b)return fe(81920,en);if(Qr())return Ir();var e=Fe(),t=Kr(52,Gr,H.createUnionTypeNode);if(Te()||U.hasPrecedingLineBreak()||!nt(96))return t;var r=ve(en);Xe(58);var n=ye(en);Xe(59);var a=ye(en);return dt(H.createConditionalTypeNode(t,r,n,a),e)}function tn(){return nt(59)?en():void 0}function rn(){switch(q){case 110:case 108:case 106:case 112:case 97:case 9:case 10:case 11:case 15:case 16:case 21:case 23:case 19:case 100:case 86:case 105:case 44:case 69:case 80:return!0;case 102:return We(wr);default:return Ge()}}function nn(){if(rn())return!0;switch(q){case 40:case 41:case 55:case 54:case 91:case 114:case 116:case 46:case 47:case 30:case 135:case 127:case 81:case 60:return!0;default:return yn()?!0:Ge()}}function an(){var e=Se();e&&le(!1);for(var t,r=Fe(),n=sn(!0);t=at(28);)n=vn(n,t,sn(!0),r);return e&&le(!0),n}function on(){return nt(64)?sn(!0):void 0}function sn(e){if(function(){if(127!==q)return!1;if(be())return!0;return We(ra)}())return n=Fe(),Le(),U.hasPrecedingLineBreak()||42!==q&&!nn()?dt(H.createYieldExpression(void 0,void 0),n):dt(H.createYieldExpression(at(42),sn(!0)),n);var t,r=(t=e,(0!==(a=21!==q&&30!==q&&134!==q?39!==q?0:1:We(un))?1===a?ln(!0,!0):He(function(){return function(e){var t=U.getTokenStart();if(null!=x&&x.has(t))return;e=ln(!1,e);e||(x=x||new Set).add(t);return e}(t)}):void 0)||function(e){if(134===q&&1===We(_n)){var t=Fe(),r=Pe(),n=Ja(),a=fn(0);return cn(t,a,e,r,n)}return}(e));if(r)return r;var n=Fe(),a=Pe(),r=fn(0);return 80===r.kind&&39===q?cn(n,r,e,a,void 0):RE(r)&&wL(je())?vn(r,st(),sn(e),n):(a=r,r=n,n=e,(e=at(58))?dt(H.createConditionalExpression(a,e,fe(_,function(){return sn(!1)}),e=ot(59),FF(e)?sn(n):ft(80,!1,mA._0_expected,yA[59])),r):a)}function cn(e,t,r,n,a){rA.assert(39===q,"parseSimpleArrowFunctionExpression should only have been called if we had a =>");var i=H.createParameterDeclaration(void 0,void 0,t,void 0,void 0,void 0);dt(i,t.pos);t=lt([i],i.pos,i.end),i=ot(39),r=dn(!!a,r);return ae(dt(H.createArrowFunction(a,void 0,t,void 0,i,r),e),n)}function un(){if(134===q){if(Le(),U.hasPrecedingLineBreak())return 0;if(21!==q&&30!==q)return 0}var e=q,t=Le();if(21!==e)return rA.assert(30===e),Ge()||87===q?1!==p?2:We(function(){nt(87);var e=Le();if(96===e)switch(Le()){case 64:case 32:case 44:return!1;default:return!0}else if(28===e||64===e)return!0;return!1})?1:0:0;if(22===t)switch(Le()){case 39:case 59:case 19:return 1;default:return 0}if(23===t||19===t)return 2;if(26===t)return 1;if(js(t)&&134!==t&&We(Pt))return 130===Le()?0:1;if(!Ge()&&110!==t)return 0;switch(Le()){case 59:return 1;case 58:return Le(),59===q||28===q||64===q||22===q?1:0;case 28:case 64:case 22:return 2}return 0}function _n(){if(134===q){if(Le(),U.hasPrecedingLineBreak()||39===q)return 0;var e=fn(0);if(!U.hasPrecedingLineBreak()&&80===e.kind&&39===q)return 1}return 0}function ln(e,t){var r,n=Fe(),a=Pe(),i=Ja(),o=dD(i,cg)?2:0,s=ur();if(Xe(21)){if(e)r=pr(o,e);else{var c=pr(o,e);if(!c)return;r=c}if(!Xe(22)&&!e)return}else{if(!e)return;r=Wt()}var u=59===q,o=fr(59,!1);if(!o||e||!function e(t){switch(t.kind){case 183:return EF(t.typeName);case 184:case 185:var r=t.parameters,n=t.type;return!!r.isMissingList||e(n);case 196:return e(t.type);default:return!1}}(o)){for(var _=o;196===(null==_?void 0:_.kind);)_=_.type;c=_&&gB(_);if(e||39===q||!c&&19===q){e=q,c=ot(39),e=39===e||19===e?dn(dD(i,cg),t):vt();if(t||!u||59===q)return ae(dt(H.createArrowFunction(i,s,r,o,c,e),n),a)}}}function dn(e,t){if(19===q)return Kn(e?2:0);if(27!==q&&100!==q&&86!==q&&ia()&&(19===q||100===q||86===q||60===q||!nn()))return Kn(16|(e?2:0));var r=Z;Z=!1;e=(e?ge:he)(function(){return sn(t)});return Z=r,e}function fn(e){var t=Fe();return mn(e,hn(),t)}function pn(e){return 103===e||165===e}function mn(e,t,r){for(;;){je();var n=ud(q);if(!(43===q?e<=n:e<n))break;if(103===q&&ke())break;if(130===q||152===q){if(U.hasPrecedingLineBreak())break;var a=q;Le(),t=152===a?(i=t,o=en(),dt(H.createSatisfiesExpression(i,o),i.pos)):(o=t,i=en(),dt(H.createAsExpression(o,i),o.pos))}else t=vn(t,st(),fn(n),r)}var i,o;return t}function yn(){return(!ke()||103!==q)&&0<ud(q)}function vn(e,t,r,n){return dt(H.createBinaryExpression(e,t,r),n)}function gn(){var e=Fe();return dt(H.createPrefixUnaryExpression(q,Oe(xn)),e)}function hn(){if(function(){switch(q){case 40:case 41:case 55:case 54:case 91:case 114:case 116:case 135:return!1;case 30:if(1!==p)return!1;default:return!0}}()){var e=Fe(),t=bn();return 43===q?mn(ud(q),t,e):t}var r=q,n=xn();return 43===q&&(e=xA(T,n.pos),t=n.end,216===n.kind?De(e,t,mA.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):(rA.assert(Vl(r)),De(e,t,mA.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,vA(r)))),n}function xn(){switch(q){case 40:case 41:case 55:case 54:return gn();case 91:return t=Fe(),dt(H.createDeleteExpression(Oe(xn)),t);case 114:return t=Fe(),dt(H.createTypeOfExpression(Oe(xn)),t);case 116:return e=Fe(),dt(H.createVoidExpression(Oe(xn)),e);case 30:return 1===p?Sn(!0,void 0,void 0,!0):function(){rA.assert(1!==p,"Type assertions should never be parsed in JSX; they should be parsed as comparisons or JSX elements/fragments.");var e=Fe();Xe(30);var t=en();Xe(32);var r=xn();return dt(H.createTypeAssertion(t,r),e)}();case 135:if(135===q&&(we()||We(ra)))return e=Fe(),dt(H.createAwaitExpression(Oe(xn)),e);default:return bn()}var e,t}function bn(){if(46===q||47===q){var e=Fe();return dt(H.createPrefixUnaryExpression(q,Oe(kn)),e)}if(1===p&&30===q&&We(Ot))return Sn(!0);var t=kn();if(rA.assert(RE(t)),46!==q&&47!==q||U.hasPrecedingLineBreak())return t;e=q;return Le(),dt(H.createPostfixUnaryExpression(t,e),t.pos)}function kn(){var e,t=Fe();return 102===q?We(Tr)?(l|=4194304,e=st()):We(Sr)?(Le(),Le(),e=dt(H.createMetaProperty(102,gt()),t),l|=8388608):e=Tn():e=(108===q?function(){var e=Fe(),t=st();{var r,n;30===q&&(r=Fe(),void 0!==(n=He(Rn))&&(De(r,Fe(),mA.super_may_not_use_type_arguments),In()||(t=H.createExpressionWithTypeArguments(t,n))))}return 21!==q&&25!==q&&23!==q?(ot(25,mA.super_must_be_followed_by_an_argument_list_or_member_access),dt(G(t,Gt(!0,!0)),e)):t}:Tn)(),Ln(t,e)}function Tn(){return Pn(Fe(),jn(),!0)}function Sn(e,t,r,n){void 0===n&&(n=!1);var a,i,o,s,c,u=Fe(),_=function(e){var t=Fe();if(Xe(30),32===q)return Ve(),dt(H.createJsxOpeningFragment(),t);var r=Nn(),n=0==(524288&b)?Ka():void 0,a=function(){var e=Fe();return dt(H.createJsxAttributes(Bt(13,An)),e)}();a=32===q?(Ve(),H.createJsxOpeningElement(r,n,a)):(Xe(44),Xe(32,void 0,!1)&&(e?Le:Ve)(),H.createJsxSelfClosingElement(r,n,a));return dt(a,t)}(e),_=286===_.kind?(c=void 0,284===(null==(a=(s=Cn(_))[s.length-1])?void 0:a.kind)&&!zb(a.openingElement.tagName,a.closingElement.tagName)&&zb(_.tagName,a.closingElement.tagName)?(i=a.children.end,o=dt(H.createJsxElement(a.openingElement,a.children,dt(H.createJsxClosingElement(dt(K(""),i,i)),i,i)),a.openingElement.pos,i),s=lt(__spreadArray(__spreadArray([],__read(s.slice(0,s.length-1)),!1),[o],!1),s.pos,i),c=a.closingElement):(c=function(e,t){var r=Fe();Xe(31);var n=Nn();Xe(32,void 0,!1)&&(t||!zb(e.tagName,n)?Le:Ve)();return dt(H.createJsxClosingElement(n),r)}(_,e),zb(_.tagName,c.tagName)||(r&&Yj(r)&&zb(c.tagName,r.tagName)?Ae(_.tagName,mA.JSX_element_0_has_no_corresponding_closing_tag,d_(T,_.tagName)):Ae(c.tagName,mA.Expected_corresponding_JSX_closing_tag_for_0,d_(T,_.tagName)))),dt(H.createJsxElement(_,s,c),u)):289===_.kind?dt(H.createJsxFragment(_,Cn(_),function(e){var t=Fe();Xe(31),Xe(32,mA.Expected_corresponding_closing_tag_for_JSX_fragment,!1)&&(e?Le:Ve)();return dt(H.createJsxJsxClosingFragment(),t)}(e)),u):(rA.assert(285===_.kind),_);if(!n&&e&&30===q){var l=void 0===t?_.pos:t,e=He(function(){return Sn(!0,l)});if(e){t=ft(28,!1);return Am(t,e.pos,0),De(xA(T,l),e.end,mA.JSX_expressions_must_have_one_parent_element),dt(H.createBinaryExpression(_,t,e),u)}}return _}function wn(e,t){switch(t){case 1:return void(Zj(e)?Ae(e,mA.JSX_fragment_has_no_corresponding_closing_tag):(n=e.tagName,De(Math.min(xA(T,n.pos),n.end),n.end,mA.JSX_element_0_has_no_corresponding_closing_tag,d_(T,e.tagName))));case 31:case 7:return;case 12:case 13:return r=Fe(),n=H.createJsxText(U.getTokenValue(),13===q),q=U.scanJsxToken(),dt(n,r);case 19:return Dn(!1);case 30:return Sn(!1,void 0,e);default:return rA.assertNever(t)}var r,n}function Cn(e){var t=[],r=Fe(),n=W;for(W|=16384;;){var a=wn(e,q=U.reScanJsxToken());if(!a)break;if(t.push(a),Yj(e)&&284===(null==a?void 0:a.kind)&&!zb(a.openingElement.tagName,a.closingElement.tagName)&&zb(e.tagName,a.closingElement.tagName))break}return W=n,lt(t,r)}function Nn(){var e=Fe(),t=function(){var e=Fe();Ue();var t=110===q,r=gt();if(nt(59))return Ue(),dt(H.createJsxNamespacedName(r,gt()),e);return t?dt(H.createToken(110),e):r}();if(rB(t))return t;for(var r=t;nt(25);)r=dt(G(r,Gt(!0,!1)),e);return r}function Dn(e){var t,r,n=Fe();if(Xe(19))return 20!==q&&(t=at(26),r=an()),e?Xe(20):Xe(20,void 0,!1)&&Ve(),dt(H.createJsxExpression(t,r),n)}function An(){if(19===q)return function(){var e=Fe();Xe(19),Xe(26);var t=an();return Xe(20),dt(H.createJsxSpreadAttribute(t),e)}();var e=Fe();return dt(H.createJsxAttribute(function(){var e=Fe();Ue();var t=gt();if(nt(59))return Ue(),dt(H.createJsxNamespacedName(t,gt()),e);return t}(),function(){if(64===q){if(11===(q=U.scanJsxAttributeValue()))return $t();if(19===q)return Dn(!0);if(30===q)return Sn(!0);Ce(mA.or_JSX_element_expected)}return}()),e)}function En(){return Le(),80<=q||23===q||In()}function Fn(e){if(64&e.flags)return!0;if(Rg(e)){for(var t=e.expression;Rg(t)&&!(64&t.flags);)t=t.expression;if(64&t.flags){for(;Rg(e);)e.flags|=64,e=e.expression;return!0}}return!1}function Pn(e,t,r){for(;;){var n=void 0;if(r&&29===q&&We(En)?(n=ot(29),80<=q):nt(25))i=e,o=t,s=n,c=Gt(!(c=u=c=void 0),!0),u=s||Fn(o),c=u?E(o,s,c):G(o,c),u&&bR(c.name)&&Ae(c.name,mA.An_optional_chain_cannot_contain_private_identifiers),hj(o)&&o.typeArguments&&De(o.typeArguments.pos-1,xA(T,o.typeArguments.end)+1,mA.An_instantiation_expression_cannot_be_followed_by_a_property_access),t=dt(c,i);else if(!n&&Se()||!nt(23)){if(!In()){if(!n){if(54===q&&!U.hasPrecedingLineBreak()){Le(),t=dt(H.createNonNullExpression(t),e);continue}var a=He(Rn);if(a){t=dt(H.createExpressionWithTypeArguments(t,a),e);continue}}return t}t=n||233!==t.kind?On(e,t,n,void 0):On(e,t.expression,n,t.typeArguments)}else c=e,i=t,a=n,n=void 0,n=24===q?ft(80,!0,mA.An_element_access_expression_should_take_an_argument):(SO(n=me(an))&&(n.text=pt(n.text)),n),Xe(24),t=dt(a||Fn(i)?P(i,a,n):F(i,n),c)}var i,o,s,c,u}function In(){return 15===q||16===q}function On(e,t,r,n){n=H.createTaggedTemplateExpression(t,n,15===q?(Be(!0),$t()):Qt(!0));return(r||64&t.flags)&&(n.flags|=64),n.questionDotToken=r,dt(n,e)}function Ln(e,t){for(;;){t=Pn(e,t,!0);var r=void 0,n=at(29);if(n&&(r=He(Rn),In()))t=On(e,t,n,r);else{if(!r&&21!==q){n&&(a=ft(80,!1,mA.Identifier_expected),t=dt(E(t,n,a),e));break}n||233!==t.kind||(r=t.typeArguments,t=t.expression);var a=Mn();t=dt(n||Fn(t)?O(t,n,r,a):I(t,r,a),e)}}return t}function Mn(){Xe(21);var e=qt(11,Jn);return Xe(22),e}function Rn(){if(0==(524288&b)&&30===Je()){Le();var e=qt(20,en);if(32===je())return Le(),e&&function(){switch(q){case 21:case 15:case 16:return!0;case 30:case 32:case 40:case 41:return!1}return U.hasPrecedingLineBreak()||yn()||!nn()}()?e:void 0}}function jn(){switch(q){case 15:26656&U.getTokenFlags()&&Be(!1);case 9:case 10:case 11:return $t();case 110:case 108:case 106:case 112:case 97:return st();case 21:return function(){var e=Fe(),t=Pe();Xe(21);var r=me(an);return Xe(22),ae(dt(n(r),e),t)}();case 23:return zn();case 19:return Vn();case 134:if(!We(ta))break;return qn();case 60:return function(){var e=Fe(),t=Pe(),r=Ba(!0);if(86===q)return Va(e,t,r,231);t=ft(282,!0,mA.Expression_expected);return Nm(t,e),t.modifiers=r,t}();case 86:return Va(Fe(),Pe(),void 0,231);case 100:return qn();case 105:return function(){var e=Fe();if(Xe(105),nt(25)){var t=gt();return dt(H.createMetaProperty(105,t),e)}var r,n=Pn(Fe(),jn(),!1);233===n.kind&&(r=n.typeArguments,n=n.expression);29===q&&Ce(mA.Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0,d_(T,n));t=21===q?Mn():void 0;return dt(L(n,r,t),e)}();case 44:case 69:if(14===(q=U.reScanSlashToken()))return $t();break;case 16:return Qt(!1);case 81:return kt()}return vt(mA.Expression_expected)}function Bn(){return 26===q?function(){var e=Fe();Xe(26);var t=sn(!0);return dt(H.createSpreadElement(t),e)}():28===q?dt(H.createOmittedExpression(),Fe()):sn(!0)}function Jn(){return fe(_,Bn)}function zn(){var e=Fe(),t=U.getTokenStart(),r=Xe(23),n=U.hasPrecedingLineBreak(),a=qt(15,Bn);return rt(23,24,r,t),dt(D(a,n),e)}function Un(){var e=Fe(),t=Pe();if(at(26)){var r=sn(!0);return ae(dt(H.createSpreadAssignment(r),e),t)}var n=Ba(!0);if(Tt(139))return Ia(e,t,n,177,0);if(Tt(153))return Ia(e,t,n,178,0);var a,i,o=at(42),s=Ge(),c=bt(),u=at(58),r=at(54);return o||21===q||30===q?Ea(e,t,n,o,c,u,r):(s&&59!==q?(a=(i=at(64))?me(function(){return sn(!0)}):void 0,(a=H.createShorthandPropertyAssignment(c,a)).equalsToken=i):(Xe(59),i=me(function(){return sn(!0)}),a=H.createPropertyAssignment(c,i)),a.modifiers=n,a.questionToken=u,a.exclamationToken=r,ae(dt(a,e),t))}function Vn(){var e=Fe(),t=U.getTokenStart(),r=Xe(19),n=U.hasPrecedingLineBreak(),a=qt(12,Un,!0);return rt(19,20,r,t),dt(A(a,n),e)}function qn(){var e=Se();le(!1);var t=Fe(),r=Pe(),n=Ba(!1);Xe(100);var a=at(42),i=a?1:0,o=dD(n,cg)?2:0,s=i&&o?pe(81920,Wn):i?pe(16384,Wn):o?ge(Wn):Wn(),c=ur(),u=mr(i|o),_=fr(59,!1),o=Kn(i|o);return le(e),ae(dt(H.createFunctionExpression(n,a,s,c,u,_,o),t),r)}function Wn(){return Ke()?yt():void 0}function Hn(e,t){var r=Fe(),n=Pe(),a=U.getTokenStart(),t=Xe(19,t);if(t||e){var e=U.hasPrecedingLineBreak(),i=Bt(1,fa);rt(19,20,t,a);e=ae(dt(M(i,e),r),n);return 64===q&&(Ce(mA.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),Le()),e}i=Wt();return ae(dt(M(i,void 0),r),n)}function Kn(e,t){var r=be();_e(!!(1&e));var n=we();de(!!(2&e));var a=Z;Z=!1;var i=Se();i&&le(!1);t=Hn(!!(16&e),t);return i&&le(!0),Z=a,_e(r),de(n),t}function Gn(){var e=Fe(),t=Pe();Xe(99);var r,n,a=at(135);return Xe(21),27!==q&&(r=115===q||121===q||87===q||160===q&&We(sa)||135===q&&We(_a)?wa(!0):pe(8192,an)),ae(dt((a?Xe:nt)(165)?(n=me(function(){return sn(!0)}),Xe(22),X(a,r,n,fa())):nt(103)?(n=me(an),Xe(22),H.createForInStatement(r,n,fa())):(Xe(27),a=27!==q&&22!==q?me(an):void 0,Xe(27),n=22!==q?me(an):void 0,Xe(22),z(r,a,n,fa())),e),t)}function Xn(e){var t=Fe(),r=Pe();Xe(252===e?83:88);var n=ct()?void 0:vt();return _t(),ae(dt(252===e?H.createBreakStatement(n):H.createContinueStatement(n),t),r)}function Qn(){return(84===q?function(){var e=Fe(),t=Pe();Xe(84);var r=me(an);Xe(59);var n=Bt(3,fa);return ae(dt(H.createCaseClause(r,n),e),t)}:function(){var e=Fe();Xe(90),Xe(59);var t=Bt(3,fa);return dt(H.createDefaultClause(t),e)})()}function Yn(){var e=Fe(),t=Pe();Xe(109),Xe(21);var r=me(an);Xe(22);var n=function(){var e=Fe();Xe(19);var t=Bt(2,Qn);return Xe(20),dt(H.createCaseBlock(t),e)}();return ae(dt(H.createSwitchStatement(r,n),e),t)}function Zn(){var e=Fe(),t=Pe();Xe(113);var r,n=Hn(!1),a=85===q?function(){var e,t=Fe();Xe(85),nt(21)?(e=Sa(),Xe(22)):e=void 0;var r=Hn(!1);return dt(H.createCatchClause(e,r),t)}():void 0;return a&&98!==q||(Xe(98,mA.catch_or_finally_expected),r=Hn(!1)),ae(dt(H.createTryStatement(n,a,r),e),t)}function $n(){return Le(),80<=q&&!U.hasPrecedingLineBreak()}function ea(){return Le(),86===q&&!U.hasPrecedingLineBreak()}function ta(){return Le(),100===q&&!U.hasPrecedingLineBreak()}function ra(){return Le(),(80<=q||9===q||10===q||11===q)&&!U.hasPrecedingLineBreak()}function na(){for(;;)switch(q){case 115:case 121:case 87:case 100:case 86:case 94:return!0;case 160:return ua();case 135:return da();case 120:case 156:return Le(),!U.hasPrecedingLineBreak()&&Ge();case 144:case 145:return Le(),!U.hasPrecedingLineBreak()&&(Ge()||11===q);case 128:case 129:case 134:case 138:case 123:case 124:case 125:case 148:var e=q;if(Le(),U.hasPrecedingLineBreak())return!1;if(138===e&&156===q)return!0;continue;case 162:return Le(),19===q||80===q||95===q;case 102:return Le(),11===q||42===q||19===q||80<=q;case 95:e=Le();if(156===e&&(e=We(Le)),64===e||42===e||19===e||90===e||130===e||60===e)return!0;continue;case 126:Le();continue;default:return!1}}function aa(){return We(na)}function ia(){switch(q){case 60:case 27:case 19:case 115:case 121:case 160:case 100:case 86:case 94:case 101:case 92:case 117:case 99:case 88:case 83:case 107:case 118:case 109:case 111:case 113:case 89:case 85:case 98:return!0;case 102:return aa()||We(wr);case 87:case 95:return aa();case 134:case 138:case 120:case 144:case 145:case 156:case 162:return!0;case 129:case 125:case 123:case 124:case 126:case 148:return aa()||!We($n);default:return nn()}}function oa(){return Le(),Ke()||19===q||23===q}function sa(){return ca(!0)}function ca(e){return Le(),(!e||165!==q)&&((Ke()||19===q)&&!U.hasPrecedingLineBreak())}function ua(){return We(ca)}function _a(){return la(!0)}function la(e){return 160===Le()&&ca(e)}function da(){return We(la)}function fa(){switch(q){case 27:return e=Fe(),t=Pe(),Xe(27),ae(dt(H.createEmptyStatement(),e),t);case 19:return Hn(!1);case 115:return Na(Fe(),Pe(),void 0);case 121:if(We(oa))return Na(Fe(),Pe(),void 0);break;case 135:if(da())return Na(Fe(),Pe(),void 0);break;case 160:if(ua())return Na(Fe(),Pe(),void 0);break;case 100:return Da(Fe(),Pe(),void 0);case 86:return Ua(Fe(),Pe(),void 0);case 101:return function(){var e=Fe(),t=Pe();Xe(101);var r=U.getTokenStart(),n=Xe(21),a=me(an);return rt(21,22,n,r),n=fa(),r=nt(93)?fa():void 0,ae(dt(B(a,n,r),e),t)}();case 92:return function(){var e=Fe(),t=Pe();Xe(92);var r=fa();Xe(117);var n=U.getTokenStart(),a=Xe(21),i=me(an);return rt(21,22,a,n),nt(27),ae(dt(H.createDoStatement(r,i),e),t)}();case 117:return function(){var e=Fe(),t=Pe();Xe(117);var r=U.getTokenStart(),n=Xe(21),a=me(an);return rt(21,22,n,r),r=fa(),ae(dt(J(a,r),e),t)}();case 99:return Gn();case 88:return Xn(251);case 83:return Xn(252);case 107:return function(){var e=Fe(),t=Pe();Xe(107);var r=ct()?void 0:me(an);return _t(),ae(dt(H.createReturnStatement(r),e),t)}();case 118:return function(){var e=Fe(),t=Pe();Xe(118);var r=U.getTokenStart(),n=Xe(21),a=me(an);return rt(21,22,n,r),r=pe(67108864,fa),ae(dt(H.createWithStatement(a,r),e),t)}();case 109:return Yn();case 111:return function(){var e=Fe(),t=Pe();Xe(111);var r=U.hasPrecedingLineBreak()?void 0:me(an);return void 0===r&&(S++,r=dt(K(""),Fe())),ut()||$e(r),ae(dt(H.createThrowStatement(r),e),t)}();case 113:case 85:case 98:return Zn();case 89:return e=Fe(),t=Pe(),Xe(89),_t(),ae(dt(H.createDebuggerStatement(),e),t);case 60:return ma();case 134:case 120:case 156:case 144:case 145:case 138:case 87:case 94:case 95:case 102:case 123:case 124:case 125:case 128:case 129:case 126:case 148:case 162:if(aa())return ma()}var e,t,r,n,a,i,o;return n=Fe(),a=Pe(),i=21===q,xR(o=me(an))&&nt(59)?r=H.createLabeledStatement(o,fa()):(ut()||$e(o),r=j(o),i&&(a=!1)),ae(dt(r,n),a)}function pa(e){return 138===e.kind}function ma(){var t,e,r,n=Fe(),a=Pe(),i=Ba(!0);if(dD(i,pa)){var o=(r=n,pe(33554432,function(){var e=zt(W,r);if(e)return Ut(e)}));if(o)return o;try{for(var s=__values(i),c=s.next();!c.done;c=s.next())c.value.flags|=33554432}catch(e){t={error:e}}finally{try{c&&!c.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}return pe(33554432,function(){return ya(n,a,i)})}return ya(n,a,i)}function ya(e,t,r){switch(q){case 115:case 121:case 87:case 160:case 135:return Na(e,t,r);case 100:return Da(e,t,r);case 86:return Ua(e,t,r);case 120:return function(e,t,r){Xe(120);var n=vt(),a=ur(),i=qa(),o=Cr();return ae(dt(H.createInterfaceDeclaration(r,n,a,i,o),e),t)}(e,t,r);case 156:return function(e,t,r){Xe(156),U.hasPrecedingLineBreak()&&Ce(mA.Line_break_not_permitted_here);var n=vt(),a=ur();Xe(64);var i=141===q&&He(Or)||en();return _t(),ae(dt(H.createTypeAliasDeclaration(r,n,a,i),e),t)}(e,t,r);case 94:return function(e,t,r){Xe(94);var n,a=vt();Xe(19)?(n=fe(81920,function(){return qt(6,Xa)}),Xe(20)):n=Wt();return ae(dt(H.createEnumDeclaration(r,a,n),e),t)}(e,t,r);case 162:case 144:case 145:return function(e,t,r){var n=0;{if(162===q)return Ya(e,t,r);if(nt(145))n|=32;else if(Xe(144),11===q)return Ya(e,t,r)}return function e(t,r,n,a){var i=32&a;var o=vt();var i=nt(25)?e(Fe(),!1,void 0,8|i):Qa();var a=H.createModuleDeclaration(n,o,i,a);return ae(dt(a,t),r)}(e,t,r,n)}(e,t,r);case 102:return function(e,t,r){Xe(102);var n,a=U.getTokenFullStart();Ge()&&(n=vt());var i,o=!1;161===q||"type"!==(null==n?void 0:n.escapedText)||!Ge()&&42!==q&&19!==q||(o=!0,n=Ge()?vt():void 0);if(n&&28!==q&&161!==q)return function(e,t,r,n,a){Xe(64);var i=149===q&&We(Za)?function(){var e=Fe();Xe(149),Xe(21);var t=ni();return Xe(22),dt(H.createExternalModuleReference(t),e)}():Kt(!1);return _t(),ae(dt(H.createImportEqualsDeclaration(r,a,n,i),e),t)}(e,t,r,n,o);!n&&42!==q&&19!==q||(i=function(e,t,r){var n;e&&!nt(28)||(n=42===q?function(){var e=Fe();Xe(42),Xe(130);var t=vt();return dt(H.createNamespaceImport(t),e)}():ai(275));return dt(H.createImportClause(r,e,n),t)}(n,a,o),Xe(161));var s,o=ni();132!==q||U.hasPrecedingLineBreak()||(s=ri());return _t(),ae(dt(H.createImportDeclaration(r,i,o,s),e),t)}(e,t,r);case 95:switch(Le(),q){case 90:case 64:return function(e,t,r){var n,a=we();de(!0),nt(64)?n=!0:Xe(90);var i=sn(!0);return _t(),de(a),ae(dt(H.createExportAssignment(r,n,i),e),t)}(e,t,r);case 130:return function(e,t,r){Xe(130),Xe(145);var n=vt();_t();n=H.createNamespaceExportDeclaration(n);return n.modifiers=r,ae(dt(n,e),t)}(e,t,r);default:return function(e,t,r){var n,a,i,o=we();de(!0);var s=nt(156),c=Fe();nt(42)?(nt(130)&&(n=function(e){return dt(H.createNamespaceExport(gt()),e)}(c)),Xe(161),a=ni()):(n=ai(279),161!==q&&(11!==q||U.hasPrecedingLineBreak())||(Xe(161),a=ni()));a&&132===q&&!U.hasPrecedingLineBreak()&&(i=ri());return _t(),de(o),ae(dt(H.createExportDeclaration(r,s,n,a,i),e),t)}(e,t,r)}default:if(r){var n=ft(282,!0,mA.Declaration_expected);return Nm(n,e),n.modifiers=r,n}return}}function va(){return 11===Le()}function ga(e,t){if(19!==q){if(4&e)return void yr();if(ct())return void _t()}return Kn(e,t)}function ha(){var e=Fe();if(28===q)return dt(H.createOmittedExpression(),e);var t=at(26),r=ka(),n=on();return dt(H.createBindingElement(t,void 0,r,n),e)}function xa(){var e,t=Fe(),r=at(26),n=Ke(),a=bt();n&&59!==q?(e=a,a=void 0):(Xe(59),e=ka());n=on();return dt(H.createBindingElement(r,a,e,n),t)}function ba(){return 19===q||23===q||81===q||Ke()}function ka(e){return 23===q?function(){var e=Fe();Xe(23);var t=me(function(){return qt(10,ha)});return Xe(24),dt(H.createArrayBindingPattern(t),e)}():19===q?function(){var e=Fe();Xe(19);var t=me(function(){return qt(9,xa)});return Xe(20),dt(H.createObjectBindingPattern(t),e)}():yt(e)}function Ta(){return Sa(!0)}function Sa(e){var t,r=Fe(),n=Pe(),a=ka(mA.Private_identifiers_are_not_allowed_in_variable_declarations);e&&80===a.kind&&54===q&&!U.hasPrecedingLineBreak()&&(t=st());var i=tn(),e=pn(q)?void 0:on();return ae(dt(Q(a,t,i,e),r),n)}function wa(e){var t,r,n=Fe(),a=0;switch(q){case 115:break;case 121:a|=1;break;case 87:a|=2;break;case 160:a|=4;break;case 135:rA.assert(da()),a|=6,Le();break;default:rA.fail()}return Le(),165===q&&We(Ca)?t=Wt():(r=ke(),ue(e),t=qt(8,e?Sa:Ta),ue(r)),dt(Y(t,a),n)}function Ca(){return Pt()&&22===Le()}function Na(e,t,r){var n=wa(!1);return _t(),ae(dt(R(r,n),e),t)}function Da(e,t,r){var n=we(),a=bL(r);Xe(100);var i=at(42),o=(1024&a?Wn:yt)(),s=i?1:0,c=512&a?2:0,u=ur();1&a&&de(!0);var _=mr(s|c),a=fr(59,!1),c=ga(s|c,mA.or_expected);return de(n),ae(dt(H.createFunctionDeclaration(r,i,o,u,_,a,c),e),t)}function Aa(a,i,o){return He(function(){if(137===q?Xe(137):11===q&&21===We(Le)&&He(function(){var e=$t();return"constructor"===e.text?e:void 0})){var e=ur(),t=mr(0),r=fr(59,!1),n=ga(0,mA.or_expected),n=H.createConstructorDeclaration(o,t,n);return n.typeParameters=e,n.type=r,ae(dt(n,a),i)}})}function Ea(e,t,r,n,a,i,o,s){var c=n?1:0,u=dD(r,cg)?2:0,_=ur(),l=mr(c|u),d=fr(59,!1),s=ga(c|u,s),s=H.createMethodDeclaration(r,n,a,i,_,l,d,s);return s.exclamationToken=o,ae(dt(s,e),t)}function Fa(e,t,r,n,a){var i,o,s,c=a||U.hasPrecedingLineBreak()?void 0:at(54),u=tn(),_=fe(90112,on);return i=n,o=u,s=_,60!==q||U.hasPrecedingLineBreak()?21===q?(Ce(mA.Cannot_start_a_function_call_in_a_type_annotation),Le()):!o||ct()?ut()||(s?Ce(mA._0_expected,yA[27]):$e(i)):s?Ce(mA._0_expected,yA[27]):Ce(mA.Expected_for_property_initializer):Ce(mA.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations),ae(dt(H.createPropertyDeclaration(r,n,a||c,u,_),e),t)}function Pa(e,t,r){var n=at(42),a=bt(),i=at(58);return n||21===q||30===q?Ea(e,t,r,n,a,i,void 0,mA.or_expected):Fa(e,t,r,a,i)}function Ia(e,t,r,n,a){var i=bt(),o=ur(),s=mr(0),c=fr(59,!1),a=ga(a),a=177===n?H.createGetAccessorDeclaration(r,i,s,c,a):H.createSetAccessorDeclaration(r,i,s,a);return a.typeParameters=o,LR(a)&&(a.type=c),ae(dt(a,e),t)}function Oa(){var e;if(60===q)return!0;for(;js(q);){if(Js(e=q))return!0;Le()}if(42===q)return!0;if(ht()&&(e=q,Le()),23===q)return!0;if(void 0!==e){if(!zl(e)||153===e||139===e)return!0;switch(q){case 21:case 30:case 54:case 59:case 64:case 58:return!0;default:return ct()}}return!1}function La(e,t,r){ot(126);var n=function(){var e=be(),t=we();_e(!1),de(!0);var r=Hn(!1);return _e(e),de(t),r}(),t=ae(dt(H.createClassStaticBlockDeclaration(n),e),t);return t.modifiers=r,t}function Ma(){if(we()&&135===q){var e=Fe(),t=vt(mA.Expression_expected);return Le(),Ln(e,Pn(e,t,!0))}return kn()}function Ra(){var e=Fe();if(nt(60)){var t=pe(32768,Ma);return dt(H.createDecorator(t),e)}}function ja(e,t,r){var n=Fe(),a=q;if(87===q&&t){if(!He(St))return}else{if(r&&126===q&&We($a))return;if(e&&126===q)return;if(!js(q)||!He(wt))return}return dt(N(a),n)}function Ba(e,t,r){var n,a,i,o=Fe(),s=!1,c=!1,u=!1;if(e&&60===q)for(;a=Ra();)n=vD(n,a);for(;i=ja(s,t,r);)126===i.kind&&(s=!0),n=vD(n,i),c=!0;if(c&&e&&60===q)for(;a=Ra();)n=vD(n,a),u=!0;if(u)for(;i=ja(s,t,r);)126===i.kind&&(s=!0),n=vD(n,i);return n&&lt(n,o)}function Ja(){var e;return 134===q&&(e=Fe(),Le(),e=lt([dt(N(134),e)],e)),e}function za(){var t,e,r=Fe(),n=Pe();if(27===q)return Le(),ae(dt(H.createSemicolonClassElement(),r),n);var a=Ba(!0,!0,!0);if(126===q&&We($a))return La(r,n,a);if(Tt(139))return Ia(r,n,a,177,0);if(Tt(153))return Ia(r,n,a,178,0);if(137===q||11===q){var i=Aa(r,n,a);if(i)return i}if(gr())return xr(r,n,a);if(80<=q||11===q||9===q||42===q||23===q){if(dD(a,pa)){try{for(var o=__values(a),s=o.next();!s.done;s=o.next())s.value.flags|=33554432}catch(e){t={error:e}}finally{try{s&&!s.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}return pe(33554432,function(){return Pa(r,n,a)})}return Pa(r,n,a)}if(a){i=ft(80,!0,mA.Declaration_expected);return Fa(r,n,a,i,void 0)}return rA.fail("Should not have attempted to parse class member declaration.")}function Ua(e,t,r){return Va(e,t,r,263)}function Va(e,t,r,n){var a=we();Xe(86);var i=!Ke()||119===q&&We(It)?void 0:mt(Ke()),o=ur();dD(r,og)&&de(!0);var s,c=qa();return Xe(19)?(s=Bt(5,za),Xe(20)):s=Wt(),de(a),ae(dt(263===n?H.createClassDeclaration(r,i,o,c,s):H.createClassExpression(r,i,o,c,s),e),t)}function qa(){if(Ga())return Bt(22,Wa)}function Wa(){var e=Fe(),t=q;rA.assert(96===t||119===t),Le();var r=qt(7,Ha);return dt(H.createHeritageClause(t,r),e)}function Ha(){var e=Fe(),t=kn();if(233===t.kind)return t;var r=Ka();return dt(H.createExpressionWithTypeArguments(t,r),e)}function Ka(){return 30===q?Ht(20,en,30,32):void 0}function Ga(){return 96===q||119===q}function Xa(){var e=Fe(),t=Pe(),r=bt(),n=me(on);return ae(dt(H.createEnumMember(r,n),e),t)}function Qa(){var e,t=Fe();return Xe(19)?(e=Bt(1,fa),Xe(20)):e=Wt(),dt(H.createModuleBlock(e),t)}function Ya(e,t,r){var n,a,i=0;return 162===q?(n=vt(),i|=2048):(n=$t()).text=pt(n.text),19===q?a=Qa():_t(),ae(dt(H.createModuleDeclaration(r,n,a,i),e),t)}function Za(){return 21===Le()}function $a(){return 19===Le()}function ei(){return 44===Le()}function ti(){var e=Fe(),t=80<=q?gt():tr(11);Xe(59);var r=sn(!0);return dt(H.createAssertEntry(t,r),e)}function ri(e){var t=Fe();e||Xe(132);var r=U.getTokenStart();if(Xe(19)){var n=U.hasPrecedingLineBreak(),a=qt(24,ti,!0);return Xe(20)||(e=CD(m))&&e.code===mA._0_expected.code&&SM(e,gp(V,r,1,mA.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}")),dt(H.createAssertClause(a,n),t)}a=lt([],Fe(),void 0,!1);return dt(H.createAssertClause(a,!1),t)}function ni(){if(11!==q)return an();var e=$t();return e.text=pt(e.text),e}function ai(e){var t=Fe();return dt(275===e?H.createNamedImports(Ht(23,oi,19,20)):H.createNamedExports(Ht(23,ii,19,20)),t)}function ii(){var e=Pe();return ae(si(281),e)}function oi(){return si(276)}function si(e){var t,r,n,a=Fe(),i=zl(q)&&!Ge(),o=U.getTokenStart(),s=U.getTokenEnd(),c=!1,u=!0,_=gt();return"type"===_.escapedText&&(130===q?(r=gt(),130===q?(n=gt(),_=80<=q?(c=!0,t=r,l()):(t=_,n),u=!1):_=80<=q?(t=_,u=!1,l()):(c=!0,r)):80<=q&&(c=!0,_=l())),u&&130===q&&(t=_,Xe(130),_=l()),276===e&&i&&De(o,s,mA.Identifier_expected),dt(276===e?H.createImportSpecifier(c,t,_):H.createExportSpecifier(c,t,_),a);function l(){return i=zl(q)&&!Ge(),o=U.getTokenStart(),s=U.getTokenEnd(),gt()}}function ci(e){var t=Fe(),r=(e?nt:Xe)(19),n=pe(16777216,sr);e&&!r||tt(20);n=H.createJSDocTypeExpression(n);return oe(n),dt(n,t)}function ui(){for(var e=Fe(),t=nt(19),r=Fe(),n=Kt(!1);81===q;)ze(),Me(),n=dt(H.createJSDocMemberName(n,vt()),r);t&&tt(20);t=H.createJSDocNameReference(n);return oe(t),dt(t,e)}function _i(c,e){void 0===c&&(c=0);var t=W;W|=1<<25;var u=T,_=void 0===e?u.length:c+e;if(e=_-c,rA.assert(0<=c),rA.assert(c<=_),rA.assert(_<=u.length),_b(u,c)){var w,l,d,f,p,m=[],y=[],e=U.scanRange(c+3,e-5,function(){var t,e=1,r=c-(u.lastIndexOf("\n",c)+1)+4;function n(e){t=t||r,m.push(e),r+=e.length}Me();for(;k(5););k(4)&&(r=e=0);e:for(;;){switch(q){case 60:!function(e){for(;e.length;){var t=di(e[e.length-1]);if(""!==t){if(t.length<e[e.length-1].length){e[e.length-1]=t;break}break}e.pop()}}(m),p=p||Fe(),function(e){e&&(w?w.push(e):(w=[e],l=e.pos),d=e.end)}(g(r)),t=void(e=0);break;case 4:m.push(U.getTokenText()),r=e=0;break;case 42:var a=U.getTokenText();1===e?(e=2,n(a)):(rA.assert(0===e),e=1,r+=a.length);break;case 5:rA.assert(2!==e,"whitespace shouldn't come from the scanner while saving top-level comment text");var i=U.getTokenText();void 0!==t&&r+i.length>t&&m.push(i.slice(t-r)),r+=i.length;break;case 1:break e;case 82:e=2,n(U.getTokenValue());break;case 19:e=2;a=U.getTokenFullStart(),i=h(U.getTokenEnd()-1);if(i){f||v(m),y.push(dt(H.createJSDocText(m.join("")),null!=f?f:c,a)),y.push(i),m=[],f=U.getTokenEnd();break}default:e=2,n(U.getTokenText())}2===e?Re(!1):Me()}var o=di(m.join(""));y.length&&o.length&&y.push(dt(H.createJSDocText(o),null!=f?f:c,p));y.length&&w&&rA.assertIsDefined(p,"having parsed tags implies that the end of the comment span should be set");var s=w&&lt(w,l,d);return dt(H.createJSDocComment(y.length?lt(y,c,p):o.length?o:void 0,s),c,_)});return W=t,e}function v(e){for(;e.length&&("\n"===e[0]||"\r"===e[0]);)e.shift()}function n(){for(;;){if(Me(),1===q)return!0;if(5!==q&&4!==q)return!1}}function C(){if(5!==q&&4!==q||!We(n))for(;5===q||4===q;)Me()}function N(){if((5===q||4===q)&&We(n))return"";for(var e=U.hasPrecedingLineBreak(),t=!1,r="";e&&42===q||5===q||4===q;)r+=U.getTokenText(),4===q?(t=e=!0,r=""):42===q&&(e=!1),Me();return t?r:""}function g(e){rA.assert(60===q);var t=U.getTokenStart();Me();var r,n,a,i,o,s,c,u,_,l,d,f,p,m,y,v,g,h,x,b,k,T=z(void 0),S=N();switch(T.escapedText){case"author":r=function(e,t,r,n){var a=Fe(),i=function(){var e=[],t=!1,r=U.getToken();for(;1!==r&&4!==r;){if(30===r)t=!0;else{if(60===r&&!t)break;if(32===r&&t){e.push(U.getTokenText()),U.resetTokenState(U.getTokenEnd());break}}e.push(U.getTokenText()),r=Me()}return H.createJSDocText(e.join(""))}(),o=U.getTokenFullStart(),n=D(e,o,r,n);n||(o=U.getTokenFullStart());n="string"!=typeof n?lt(fD([dt(i,a,o)],n),a):i.text+n;return dt(H.createJSDocAuthorTag(t,n),e)}(t,T,e,S);break;case"implements":g=t,h=T,x=e,b=S,k=L(),r=dt(H.createJSDocImplementsTag(h,k,D(g,Fe(),x,b)),g);break;case"augments":case"extends":v=t,k=T,x=e,b=S,g=L(),r=dt(H.createJSDocAugmentsTag(k,g,D(v,Fe(),x,b)),v);break;case"class":case"constructor":r=M(t,H.createJSDocClassTag,T,e,S);break;case"public":r=M(t,H.createJSDocPublicTag,T,e,S);break;case"private":r=M(t,H.createJSDocPrivateTag,T,e,S);break;case"protected":r=M(t,H.createJSDocProtectedTag,T,e,S);break;case"readonly":r=M(t,H.createJSDocReadonlyTag,T,e,S);break;case"override":r=M(t,H.createJSDocOverrideTag,T,e,S);break;case"deprecated":ne=!0,r=M(t,H.createJSDocDeprecatedTag,T,e,S);break;case"this":f=t,v=T,p=e,m=S,y=ci(!0),C(),r=dt(H.createJSDocThisTag(v,y,D(f,Fe(),p,m)),f);break;case"enum":d=t,y=T,p=e,m=S,f=ci(!0),C(),r=dt(H.createJSDocEnumTag(y,f,D(d,Fe(),p,m)),d);break;case"arg":case"argument":case"param":return I(t,T,2,e);case"return":case"returns":r=function(e,t,r,n){dD(w,CB)&&De(t.pos,U.getTokenStart(),mA._0_tag_already_specified,OA(t.escapedText));var a=F();return dt(H.createJSDocReturnTag(t,a,D(e,Fe(),r,n)),e)}(t,T,e,S);break;case"template":r=J(t,T,e,S);break;case"type":r=O(t,T,e,S);break;case"typedef":r=function(e,t,r,n){var a=F();N();var i=R();C();var o=A(r);if(!a||P(a.type)){for(var s,c,u=void 0,_=void 0,l=void 0,d=!1;(u=He(function(){return B(1,r)}))&&352!==u.kind;)if(d=!0,351===u.kind){if(_){var f=Ce(mA.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);f&&SM(f,gp(V,0,0,mA.The_tag_was_first_specified_here));break}_=u}else l=vD(l,u);d&&(s=a&&188===a.type.kind,c=H.createJSDocTypeLiteral(l,s),a=_&&_.typeExpression&&!P(_.typeExpression.type)?_.typeExpression:dt(c,e),s=a.end)}s=s||void 0!==o?Fe():(null!==(c=null!=i?i:a)&&void 0!==c?c:t).end,o=o||D(e,s,r,n);return dt(H.createJSDocTypedefTag(t,a,i,o),e,s)}(t,T,e,S);break;case"callback":r=function(e,t,r,n){var a=R();C();var i=A(r),o=j(e,r);i=i||D(e,Fe(),r,n);n=void 0!==i?Fe():o.end;return dt(H.createJSDocCallbackTag(t,o,a,i),e,n)}(t,T,e,S);break;case"overload":r=function(e,t,r,n){C();var a=A(r),i=j(e,r);a=a||D(e,Fe(),r,n);n=void 0!==a?Fe():i.end;return dt(H.createJSDocOverloadTag(t,i,a),e,n)}(t,T,e,S);break;case"satisfies":c=t,u=T,d=e,_=S,l=ci(!1),_=void 0!==d&&void 0!==_?D(c,Fe(),d,_):void 0,r=dt(H.createJSDocSatisfiesTag(u,l,_),c);break;case"see":s=t,u=T,l=e,_=S,c=23===q||We(function(){return 60===Me()&&80<=Me()&&E(U.getTokenValue())})?void 0:ui(),_=void 0!==l&&void 0!==_?D(s,Fe(),l,_):void 0,r=dt(H.createJSDocSeeTag(u,c,_),s);break;case"exception":case"throws":n=t,a=T,s=e,i=S,o=F(),i=D(n,Fe(),s,i),r=dt(H.createJSDocThrowsTag(a,o,i),n);break;default:a=t,o=T,i=e,n=S,r=dt(H.createJSDocUnknownTag(o,D(a,Fe(),i,n)),a)}return r}function D(e,t,r,n){return n||(r+=t-e),A(r,n.slice(r))}function A(t,e){var r,n,a=Fe(),i=[],o=[],s=0;function c(e){n=n||t,i.push(e),t+=e.length}void 0!==e&&(""!==e&&c(e),s=1);var u=q;e:for(;;){switch(u){case 4:s=0,i.push(U.getTokenText()),t=0;break;case 60:U.resetTokenState(U.getTokenEnd()-1);break e;case 1:break e;case 5:rA.assert(2!==s&&3!==s,"whitespace shouldn't come from the scanner while saving comment text");var _=U.getTokenText();void 0!==n&&t+_.length>n&&(i.push(_.slice(n-t)),s=2),t+=_.length;break;case 19:s=2;var l=U.getTokenFullStart(),_=h(U.getTokenEnd()-1);_?(o.push(dt(H.createJSDocText(i.join("")),null!=r?r:a,l)),o.push(_),i=[],r=U.getTokenEnd()):c(U.getTokenText());break;case 62:s=3===s?2:3,c(U.getTokenText());break;case 82:3!==s&&(s=2),c(U.getTokenValue());break;case 42:if(0===s){t+=s=1;break}default:3!==s&&(s=2),c(U.getTokenText())}u=2===s||3===s?Re(3===s):Me()}v(i);e=di(i.join(""));return o.length?(e.length&&o.push(dt(H.createJSDocText(e),null!=r?r:a)),lt(o,a,U.getTokenEnd())):e.length?e:void 0}function h(e){var t=He(x);if(t){Me(),C();var r=Fe(),n=80<=q?Kt(!0):void 0;if(n)for(;81===q;)ze(),Me(),n=dt(H.createJSDocMemberName(n,vt()),r);for(var a=[];20!==q&&4!==q&&1!==q;)a.push(U.getTokenText()),Me();return dt(("link"===t?H.createJSDocLink:"linkcode"===t?H.createJSDocLinkCode:H.createJSDocLinkPlain)(n,a.join("")),e,U.getTokenEnd())}}function x(){if(N(),19===q&&60===Me()&&80<=Me()){var e=U.getTokenValue();if(E(e))return e}}function E(e){return"link"===e||"linkcode"===e||"linkplain"===e}function F(){return N(),19===q?ci():void 0}function b(){var e=k(23);e&&C();var t=k(62),r=function(){var e=z();nt(23)&&Xe(24);for(;nt(25);){var t=z();nt(23)&&Xe(24),e=function(e,t){return dt(H.createQualifiedName(e,t),e.pos)}(e,t)}return e}();return t&&(it(t=62)||(rA.assert(Vl(t)),ft(t,!1,mA._0_expected,vA(t)))),e&&(C(),at(64)&&an(),Xe(24)),{name:r,isBracketed:e}}function P(e){switch(e.kind){case 151:return!0;case 188:return P(e.elementType);default:return BR(e)&&xR(e.typeName)&&"Object"===e.typeName.escapedText&&!e.typeArguments}}function I(e,t,r,n){var a=F(),i=!a;N();var o=b(),s=o.name,c=o.isBracketed,o=N();i&&!We(x)&&(a=F());o=D(e,Fe(),n,o),n=function(e,t,r,n){if(e&&P(e.type)){for(var a=Fe(),i=void 0,o=void 0;i=He(function(){return B(r,n,t)});)348===i.kind||355===i.kind?o=vD(o,i):352===i.kind&&Ae(i.tagName,mA.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);if(o){e=dt(H.createJSDocTypeLiteral(o,188===e.type.kind),a);return dt(H.createJSDocTypeExpression(e),a)}}}(a,s,r,n);return n&&(a=n,i=!0),dt(1===r?H.createJSDocPropertyTag(t,s,c,a,i,o):H.createJSDocParameterTag(t,s,c,a,i,o),e)}function O(e,t,r,n){dD(w,NB)&&De(t.pos,U.getTokenStart(),mA._0_tag_already_specified,OA(t.escapedText));var a=ci(!0),n=void 0!==r&&void 0!==n?D(e,Fe(),r,n):void 0;return dt(H.createJSDocTypeTag(t,a,n),e)}function L(){var e=nt(19),t=Fe(),r=function(){var e=Fe(),t=z();for(;nt(25);){var r=z();t=dt(G(t,r),e)}return t}();U.setInJSDocType(!0);var n=Ka();U.setInJSDocType(!1);t=dt(H.createExpressionWithTypeArguments(r,n),t);return e&&Xe(20),t}function M(e,t,r,n,a){return dt(t(r,D(e,Fe(),n,a)),e)}function R(e){var t=U.getTokenStart();if(80<=q){var r=z();if(nt(25)){var n=R(!0);return dt(H.createModuleDeclaration(void 0,r,n,e?8:void 0),t)}return e&&(r.flags|=4096),r}}function j(e,t){var r=function(e){for(var t,r,n=Fe();t=He(function(){return B(4,e)});){if(352===t.kind){Ae(t.tagName,mA.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);break}r=vD(r,t)}return lt(r||[],n)}(t),n=He(function(){if(k(60)){var e=g(t);if(e&&349===e.kind)return e}});return dt(H.createJSDocSignature(void 0,r,n),e)}function B(e,t,r){for(var n=!0,a=!1;;)switch(Me()){case 60:if(n){var i=function(e,t){rA.assert(60===q);var r=U.getTokenFullStart();Me();var n,a=z(),i=N();switch(a.escapedText){case"type":return 1===e&&O(r,a);case"prop":case"property":n=1;break;case"arg":case"argument":case"param":n=6;break;case"template":return J(r,a,t,i);default:return!1}return!!(e&n)&&I(r,a,e,t)}(e,t);return!i||348!==i.kind&&355!==i.kind||!r||!xR(i.name)&&function(e,t){for(;!xR(e)||!xR(t);){if(xR(e)||xR(t)||e.right.escapedText!==t.right.escapedText)return;e=e.left,t=t.left}return e.escapedText===t.escapedText}(r,i.name.left)?i:!1}a=!1;break;case 4:a=!(n=!0);break;case 42:a&&(n=!1),a=!0;break;case 80:n=!1;break;case 1:return!1}}function o(){var e=Fe(),t=[];do{C();var r=function(){var e=Fe(),t=k(23);t&&C();var r,n=z(mA.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces);if(t&&(C(),Xe(64),r=pe(16777216,sr),Xe(24)),!EF(n))return dt(H.createTypeParameterDeclaration(void 0,n,void 0,r),e)}()}while(void 0!==r&&t.push(r),N(),k(28));return lt(t,e)}function J(e,t,r,n){var a=19===q?ci():void 0,i=o();return dt(H.createJSDocTemplateTag(t,a,i,D(e,Fe(),r,n)),e)}function k(e){return q===e&&(Me(),!0)}function z(e){if(!(80<=q))return ft(80,!e,e||mA.Identifier_expected);S++;var t=U.getTokenStart(),r=U.getTokenEnd(),n=q,e=pt(U.getTokenValue()),r=dt(K(e,n),t,r);return Me(),r}}(Qe={})[Qe.SourceElements=0]="SourceElements",Qe[Qe.BlockStatements=1]="BlockStatements",Qe[Qe.SwitchClauses=2]="SwitchClauses",Qe[Qe.SwitchClauseStatements=3]="SwitchClauseStatements",Qe[Qe.TypeMembers=4]="TypeMembers",Qe[Qe.ClassMembers=5]="ClassMembers",Qe[Qe.EnumMembers=6]="EnumMembers",Qe[Qe.HeritageClauseElement=7]="HeritageClauseElement",Qe[Qe.VariableDeclarations=8]="VariableDeclarations",Qe[Qe.ObjectBindingElements=9]="ObjectBindingElements",Qe[Qe.ArrayBindingElements=10]="ArrayBindingElements",Qe[Qe.ArgumentExpressions=11]="ArgumentExpressions",Qe[Qe.ObjectLiteralMembers=12]="ObjectLiteralMembers",Qe[Qe.JsxAttributes=13]="JsxAttributes",Qe[Qe.JsxChildren=14]="JsxChildren",Qe[Qe.ArrayLiteralMembers=15]="ArrayLiteralMembers",Qe[Qe.Parameters=16]="Parameters",Qe[Qe.JSDocParameters=17]="JSDocParameters",Qe[Qe.RestProperties=18]="RestProperties",Qe[Qe.TypeParameters=19]="TypeParameters",Qe[Qe.TypeArguments=20]="TypeArguments",Qe[Qe.TupleElementTypes=21]="TupleElementTypes",Qe[Qe.HeritageClauses=22]="HeritageClauses",Qe[Qe.ImportOrExportSpecifiers=23]="ImportOrExportSpecifiers",Qe[Qe.AssertEntries=24]="AssertEntries",Qe[Qe.JSDocComment=25]="JSDocComment",Qe[Qe.Count=26]="Count",(Qe={})[Qe.False=0]="False",Qe[Qe.True=1]="True",Qe[Qe.Unknown=2]="Unknown",(e=Ye=e.JSDocParser||(e.JSDocParser={})).parseJSDocTypeExpressionForTests=function(e,t,r){return te("file.js",e,99,void 0,1),U.setText(e,t,r),q=U.scan(),e=ci(),t=se("file.js",99,1,!1,[],N(1),0,fi),r=hp(m,t),y&&(t.jsDocDiagnostics=hp(y,t)),re(),e?{jsDocTypeExpression:e,diagnostics:r}:void 0},e.parseJSDocTypeExpression=ci,e.parseJSDocNameReference=ui,e.parseIsolatedJSDocComment=function(e,t,r){te("",e,99,void 0,1);var n=pe(16777216,function(){return _i(t,r)}),e=hp(m,{languageVariant:0,text:e});return re(),n?{jsDoc:n,diagnostics:e}:void 0},e.parseJSDocComment=function(e,t,r){var n=q,a=m.length,i=$,o=pe(16777216,function(){return _i(t,r)});return jM(o,e),524288&b&&(y=y||[]).push.apply(y,__spreadArray([],__read(m),!1)),q=n,m.length=a,$=i,o},(e={})[e.BeginningOfLine=0]="BeginningOfLine",e[e.SawAsterisk=1]="SawAsterisk",e[e.SavingComments=2]="SavingComments",e[e.SavingBackticks=3]="SavingBackticks",(e={})[e.Property=1]="Property",e[e.Parameter=2]="Parameter",e[e.CallbackParameter=4]="CallbackParameter"}(rb=rb||{}),(e=nb=nb||{}).updateSourceFile=function(e,t,r,n){if(x(e,t,r,n=n||rA.shouldAssert(2)),No(r))return e;if(0===e.statements.length)return rb.parseSourceFile(e.fileName,t,e.languageVersion,void 0,!0,e.scriptKind,e.setExternalModuleIndicator);var a=e;rA.assert(!a.hasBeenIncrementallyParsed),a.hasBeenIncrementallyParsed=!0,rb.fixupParentReferences(a);var i=e.text,o=b(e),s=function(e,t){for(var r=t.span.start,n=0;0<r&&n<=1;n++){var a=function(e,r){var n,a=e;{var t;HB(e,function e(t){if(EF(t))return;{if(!(t.pos<=r))return rA.assert(t.pos>r),!0;if(t.pos>=a.pos&&(a=t),r<t.end)return HB(t,e),!0;rA.assert(t.end<=r),n=t}}),n&&(t=function(e){for(;;){var t=Yf(e);if(!t)return e;e=t}}(n)).pos>a.pos&&(a=t)}return a}(e,r);rA.assert(a.pos<=r);a=a.pos;r=Math.max(0,a-1)}var i=wo(r,TA(t.span)),t=t.newLength+(t.span.start-r);return Do(i,t)}(e,r);x(e,t,s,n),rA.assert(s.span.start<=r.span.start),rA.assert(TA(s.span)===TA(r.span)),rA.assert(TA(Co(s))===TA(Co(r)));var c,u,_,l,d,f,p,r=Co(s).length-s.span.length;function m(e){var t,r;if(rA.assert(e.pos<=e.end),e.pos>u)v(e,!1,l,d,f,p);else{var n=e.end;if(c<=n){if(e.intersectsChange=!0,e._children=void 0,g(e,c,u,_,l),HB(e,m,y),tF(e))try{for(var a=__values(e.jsDoc),i=a.next();!i.done;i=a.next())m(i.value)}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}h(e,p)}else rA.assert(n<c)}}function y(e){var t,r;if(rA.assert(e.pos<=e.end),e.pos>u)v(e,!0,l,d,f,p);else{var n=e.end;if(c<=n){e.intersectsChange=!0,e._children=void 0,g(e,c,u,_,l);try{for(var a=__values(e),i=a.next();!i.done;i=a.next())m(i.value)}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}else rA.assert(n<c)}}return a=a,c=s.span.start,u=TA(s.span),_=TA(Co(s)),l=r,d=i,f=t,p=n,m(a),(o=rb.parseSourceFile(e.fileName,t,e.languageVersion,o,!0,e.scriptKind,e.setExternalModuleIndicator)).commentDirectives=function(e,t,r,n,a,i,o,s){var c,u,_;if(!e)return t;var l=!1;try{for(var d=__values(e),f=d.next();!f.done;f=d.next()){var p=f.value,m=p.range,y=p.type;m.end<r?_=vD(_,p):m.pos>n&&(v(),y={range:{pos:m.pos+a,end:m.end+a},type:y},_=vD(_,y),s&&rA.assert(i.substring(m.pos,m.end)===o.substring(y.range.pos,y.range.end)))}}catch(e){c={error:e}}finally{try{f&&!f.done&&(u=d.return)&&u.call(d)}finally{if(c)throw c.error}}return v(),_;function v(){l||(l=!0,_?t&&_.push.apply(_,__spreadArray([],__read(t),!1)):_=t)}}(e.commentDirectives,o.commentDirectives,s.span.start,TA(s.span),r,i,t,n),o.impliedNodeFormat=e.impliedNodeFormat,o},e.createSyntaxCursor=b,(e={})[e.Value=-1]="Value",ab=new Map,ib=/^\/\/\/\s*<(\S+)\s.*?\/>/im,ob=/^\/\/\/?\s*@([^\s:]+)(.*)\s*$/im}});function Ek(e){var t=new Map,r=new Map;return KN(e,function(e){t.set(e.name.toLowerCase(),e),e.shortName&&r.set(e.shortName,e.name)}),{optionsNameMap:t,shortOptionNames:r}}function Fk(){return uk=uk||Ek(Zb)}function Pk(e){return Ik(e,ZL)}function Ik(t,e){var r=PD(t.type.keys()),r=(t.deprecatedKeys?r.filter(function(e){return!t.deprecatedKeys.has(e)}):r).map(function(e){return"'".concat(e,"'")}).join(", ");return e(mA.Argument_for_0_option_must_be_Colon_1,"--".concat(t.name),r)}function Ok(e,t,r){return jT(e,h(t||""),r)}function Lk(t,e,r){if(void 0===e&&(e=""),!XD(e=h(e),"-")){if("listOrElement"===t.type&&!WD(e,","))return RT(t,e,r);if(""===e)return[];var n=e.split(",");switch(t.element.type){case"number":return uD(n,function(e){return RT(t.element,parseInt(e),r)});case"string":return uD(n,function(e){return RT(t.element,e||"",r)});case"boolean":case"object":return rA.fail("List of ".concat(t.element.type," is not yet supported."));default:return uD(n,function(e){return Ok(t.element,e,r)})}}}function Mk(e){return e.name}function Rk(e,t,r,n,a){if(null!=(i=t.alternateMode)&&i.getOptionsNameMap().optionsNameMap.has(e.toLowerCase()))return LT(a,n,t.alternateMode.diagnostic,e);var i=VD(e,t.optionDeclarations,Mk);return i?LT(a,n,t.unknownDidYouMeanDiagnostic,r||e,i.name):LT(a,n,t.unknownOptionDiagnostic,r||e)}function jk(i,e,o){var s,c={},u=[],_=[];return l(e),{options:c,watchOptions:s,fileNames:u,errors:_};function l(e){for(var t=0;t<e.length;){var r,n,a=e[t];t++,64===a.charCodeAt(0)?function(e){var t=Qk(e,o||function(e){return zn.readFile(e)});if(!jD(t))return _.push(t);for(var r=[],n=0;;){for(;n<t.length&&t.charCodeAt(n)<=32;)n++;if(n>=t.length)break;var a=n;if(34===t.charCodeAt(a)){for(n++;n<t.length&&34!==t.charCodeAt(n);)n++;n<t.length?(r.push(t.substring(a+1,n)),n++):_.push(ZL(mA.Unterminated_quoted_string_in_response_file_0,e))}else{for(;32<t.charCodeAt(n);)n++;r.push(t.substring(a,n))}}l(r)}(a.slice(1)):45===a.charCodeAt(0)?(r=a.slice(45===a.charCodeAt(1)?2:1),(n=Uk(i.getOptionsNameMap,r,!0))?t=Bk(e,t,i,n,c,_):(n=Uk(vk.getOptionsNameMap,r,!0))?t=Bk(e,t,vk,n,s=s||{},_):_.push(Rk(r,i,a))):u.push(a)}}}function Bk(e,t,r,n,a,i){if(n.isTSConfigOnly)"null"===(o=e[t])?(a[n.name]=void 0,t++):"boolean"===n.type?"false"===o?(a[n.name]=RT(n,!1,i),t++):("true"===o&&t++,i.push(ZL(mA.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line,n.name))):(i.push(ZL(mA.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line,n.name)),o&&!XD(o,"-")&&t++);else if(e[t]||"boolean"===n.type||i.push(ZL(r.optionTypeMismatchDiagnostic,n.name,iT(n))),"null"!==e[t])switch(n.type){case"number":a[n.name]=RT(n,parseInt(e[t]),i),t++;break;case"boolean":var o=e[t];a[n.name]=RT(n,"false"!==o,i),"false"!==o&&"true"!==o||t++;break;case"string":a[n.name]=RT(n,e[t]||"",i),t++;break;case"list":var s=Lk(n,e[t],i);a[n.name]=s||[],s&&t++;break;case"listOrElement":rA.fail("listOrElement not supported here");break;default:a[n.name]=Ok(n,e[t],i),t++}else a[n.name]=void 0,t++;return t}function Jk(e,t){return jk(lk,e,t)}function zk(e,t){return Uk(Fk,e,t)}function Uk(e,t,r){void 0===r&&(r=!1),t=t.toLowerCase();var n=e(),e=n.optionsNameMap,n=n.shortOptionNames;return!r||void 0!==(n=n.get(t))&&(t=n),e.get(t)}function Vk(){return dk=dk||Ek(sk)}function qk(e){var t=jk(pk,e),r=t.options,n=t.watchOptions,e=t.fileNames,t=t.errors,r=r;return 0===e.length&&e.push("."),r.clean&&r.force&&t.push(ZL(mA.Options_0_and_1_cannot_be_combined,"clean","force")),r.clean&&r.verbose&&t.push(ZL(mA.Options_0_and_1_cannot_be_combined,"clean","verbose")),r.clean&&r.watch&&t.push(ZL(mA.Options_0_and_1_cannot_be_combined,"clean","watch")),r.watch&&r.dry&&t.push(ZL(mA.Options_0_and_1_cannot_be_combined,"watch","dry")),{buildOptions:r,watchOptions:n,projects:e,errors:t}}function Wk(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return ZL.apply(void 0,arguments).messageText}function Hk(e,t,r,n,a,i){var o=Qk(e,function(e){return r.readFile(e)});if(jD(o)){var s=Ob(e,o),c=r.getCurrentDirectory();return s.path=Ja(e,c,KD(r.useCaseSensitiveFileNames)),s.resolvedPath=s.path,s.originalFileName=s.fileName,yT(s,r,fA(lA(e),c),t,fA(e,c),void 0,i,n,a)}r.onUnRecoverableConfigFileDiagnostic(o)}function Kk(e,t){t=Qk(e,t);return jD(t)?Gk(e,t):{config:{},error:t}}function Gk(e,t){t=Ob(e,t);return{config:rT(t,t.parseDiagnostics,void 0),error:t.parseDiagnostics.length?t.parseDiagnostics[0]:void 0}}function Xk(e,t){t=Qk(e,t);return jD(t)?Ob(e,t):{fileName:e,parseDiagnostics:[t]}}function Qk(t,e){var r;try{r=e(t)}catch(e){return ZL(mA.Cannot_read_file_0_Colon_1,t,e.message)}return void 0===r?ZL(mA.Cannot_read_file_0,t):r}function Yk(e){return ie(e,Mk)}function Zk(){return yk=yk||Ek(Kb)}function $k(){return gk=gk||Yk(Zb)}function eT(){return hk=hk||Yk(Kb)}function tT(){return xk=xk||Yk(ck)}function rT(e,t,r){var n=null==(a=e.statements[0])?void 0:a.expression;if(n&&210!==n.kind){if(t.push(F_(e,n,mA.The_root_value_of_a_0_file_must_be_an_object,"jsconfig.json"===Ea(e.fileName)?"jsconfig.json":"tsconfig.json")),rj(n)){var a=QN(n.elements,nj);if(a)return aT(e,a,t,!0,r)}return{}}return aT(e,n,t,!0,r)}function nT(e,t){return aT(e,null==(e=e.statements[0])?void 0:e.expression,t,!0,void 0)}function aT(d,e,f,p,m){return e?y(e,null==m?void 0:m.rootOptions):p?{}:void 0;function y(e,t){switch(e.kind){case 112:return!0;case 97:return!1;case 106:return null;case 11:return v(e)||f.push(F_(d,e,mA.String_literal_with_double_quotes_expected)),e.text;case 9:return Number(e.text);case 224:if(41!==e.operator||9!==e.operand.kind)break;return-Number(e.operand.text);case 210:return function(e,t){var r,n,a,i=p?{}:void 0;try{for(var o=__values(e.properties),s=o.next();!s.done;s=o.next()){var c,u,_,l=s.value;303===l.kind?(l.questionToken&&f.push(F_(d,l.questionToken,mA.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),v(l.name)||f.push(F_(d,l.name,mA.String_literal_with_double_quotes_expected)),u=!(c=(_=ZF(l.name)?void 0:$F(l.name))&&OA(_))||null==(a=null==t?void 0:t.elementOptions)?void 0:a.get(c),_=y(l.initializer,u),void 0!==c&&(p&&(i[c]=_),null!=m&&m.onPropertySet(c,_,l,t,u))):f.push(F_(d,l,mA.Property_assignment_expected))}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return i}(e,t);case 209:return function(e,t){if(p)return nD(e.map(function(e){return y(e,t)}),function(e){return void 0!==e});e.forEach(function(e){return y(e,t)})}(e.elements,t&&t.element)}t?f.push(F_(d,e,mA.Compiler_option_0_requires_a_value_of_type_1,t.name,iT(t))):f.push(F_(d,e,mA.Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal))}function v(e){return hR(e)&&fl(e,d)}}function iT(e){return"listOrElement"===e.type?"".concat(iT(e.element)," or Array"):"list"===e.type?"Array":jD(e.type)?e.type:"string"}function oT(e,t,r){var n=KD(r.useCaseSensitiveFileNames),a=iD(nD(e.fileNames,null!=(o=null==(i=e.options.configFile)?void 0:i.configFileSpecs)&&o.validatedIncludeSpecs?function(e,t,r,n){if(!t)return ya;var t=em(e,r,t,n.useCaseSensitiveFileNames,n.getCurrentDirectory()),a=t.excludePattern&&tm(t.excludePattern,n.useCaseSensitiveFileNames),i=t.includeFilePattern&&tm(t.includeFilePattern,n.useCaseSensitiveFileNames);if(i)return a?function(e){return!(i.test(e)&&!a.test(e))}:function(e){return!i.test(e)};if(a)return function(e){return a.test(e)};return ya}(t,e.options.configFile.configFileSpecs.validatedIncludeSpecs,e.options.configFile.configFileSpecs.validatedExcludeSpecs,r):ya),function(e){return $a(fA(t,r.getCurrentDirectory()),fA(e,r.getCurrentDirectory()),n)}),i=uT(e.options,{configFilePath:fA(t,r.getCurrentDirectory()),useCaseSensitiveFileNames:r.useCaseSensitiveFileNames}),o=e.watchOptions&&_T(e.watchOptions,Zk());return __assign(__assign({compilerOptions:__assign(__assign({},sT(i)),{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:o&&sT(o),references:iD(e.projectReferences,function(e){return __assign(__assign({},e),{path:e.originalPath||"",originalPath:void 0})}),files:HN(a)?a:void 0},null!=(a=e.options.configFile)&&a.configFileSpecs?{include:!HN(a=e.options.configFile.configFileSpecs.validatedIncludeSpecs)||1===HN(a)&&a[0]===Ck?void 0:a,exclude:e.options.configFile.configFileSpecs.validatedExcludeSpecs}:{}),{compileOnSave:!!e.compileOnSave||void 0})}function sT(e){return __assign({},PD(e.entries()).reduce(function(e,t){return __assign(__assign({},e),((e={})[t[0]]=t[1],e))},{}))}function cT(r,e){return hF(e,function(e,t){if(e===r)return t})}function uT(e,t){return _T(e,Fk(),t)}function _T(a,e,i){function t(e){if(ma(a,e)){if(o.has(e)&&(o.get(e).category===mA.Command_line_Options||o.get(e).category===mA.Output_Formatting))return 1;var t,r=a[e],n=o.get(e.toLowerCase());n&&(rA.assert("listOrElement"!==n.type),(t=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}}(n))?"list"===n.type?s.set(e,r.map(function(e){return cT(e,t)})):s.set(e,cT(r,t)):i&&n.isFilePath?s.set(e,$a(i.configFilePath,fA(r,lA(i.configFilePath)),c)):s.set(e,r))}}var r,o=e.optionsNameMap,s=new Map,c=i&&KD(i.useCaseSensitiveFileNames);for(r in a)t(r);return s}function lT(e,t){var n,a,i=dT(e);return n=[],a=Array(3).join(" "),Yb.forEach(function(e){var t,r;i.has(e.name)&&((t=i.get(e.name))!==(r=GT(e))?n.push("".concat(a).concat(e.name,": ").concat(t)):ma(_k,e.name)&&n.push("".concat(a).concat(e.name,": ").concat(r)))}),n.join(t)+t}function dT(e){return uT(Y(e,_k))}function fT(e,h,x){var b=dT(e);return function(){var t,e,r,n,a=new Map;a.set(mA.Projects,[]),a.set(mA.Language_and_Environment,[]),a.set(mA.Modules,[]),a.set(mA.JavaScript_Support,[]),a.set(mA.Emit,[]),a.set(mA.Interop_Constraints,[]),a.set(mA.Type_Checking,[]),a.set(mA.Completeness,[]);try{for(var i=__values(Zb),o=i.next();!o.done;o=i.next()){var s,c=o.value;!function(e){var t=e.category,r=e.name,n=e.isCommandLineOnly,e=[mA.Command_line_Options,mA.Editor_Support,mA.Compiler_Diagnostics,mA.Backwards_Compatibility,mA.Watch_and_Build_Modes,mA.Output_Formatting];return!n&&void 0!==t&&(!e.includes(t)||b.has(r))}(c)||((s=a.get(c.category))||a.set(c.category,s=[]),s.push(c))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}var u=0,_=0,l=[];a.forEach(function(e,t){var r,n;0!==l.length&&l.push({value:""}),l.push({value:"/* ".concat(vp(t)," */")});try{for(var a=__values(e),i=a.next();!i.done;i=a.next()){var o=i.value,s=void 0,s=b.has(o.name)?'"'.concat(o.name,'": ').concat(JSON.stringify(b.get(o.name))).concat((_+=1)===b.size?"":","):'// "'.concat(o.name,'": ').concat(JSON.stringify(GT(o)),",");l.push({value:s,description:"/* ".concat(o.description&&vp(o.description)||o.name," */")}),u=Math.max(s.length,u)}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}});var d=k(2),f=[];f.push("{"),f.push("".concat(d,'"compilerOptions": {')),f.push("".concat(d).concat(d,"/* ").concat(vp(mA.Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file)," */")),f.push("");try{for(var p=__values(l),m=p.next();!m.done;m=p.next()){var y=m.value,v=y.value,y=y.description,y=void 0===y?"":y;f.push(v&&"".concat(d).concat(d).concat(v).concat(y&&k(u-v.length+2)+y))}}catch(e){r={error:e}}finally{try{m&&!m.done&&(n=p.return)&&n.call(p)}finally{if(r)throw r.error}}if(h.length){f.push("".concat(d,"},")),f.push("".concat(d,'"files": ['));for(var g=0;g<h.length;g++)f.push("".concat(d).concat(d).concat(JSON.stringify(h[g])).concat(g===h.length-1?"":","));f.push("".concat(d,"]"))}else f.push("".concat(d,"}"));return f.push("}"),f.join(x)+x}();function k(e){return Array(e+1).join(" ")}}function pT(e,t){var r,n={},a=Fk().optionsNameMap;for(r in e)ma(e,r)&&(n[r]=function(e,t,r){if(e&&!gT(t)){if("list"===e.type){var n=t;if(e.element.isFilePath&&n.length)return n.map(r)}else if(e.isFilePath)return r(t);rA.assert("listOrElement"!==e.type)}return t}(a.get(r.toLowerCase()),e[r],t));return n.configFilePath&&(n.configFilePath=t(n.configFilePath)),n}function mT(e,t,r,n,a,i,o,s,c){return xT(e,void 0,t,r,n,c,a,i,o,s)}function yT(e,t,r,n,a,i,o,s,c){null!=iA&&iA.push(iA.Phase.Parse,"parseJsonSourceFileConfigFileContent",{path:e.fileName});s=xT(void 0,e,t,r,n,c,a,i,o,s);return null!=iA&&iA.pop(),s}function vT(e,t){t&&Object.defineProperty(e,"configFile",{enumerable:!1,writable:!1,value:t})}function gT(e){return null==e}function hT(e,t){return lA(fA(e,t))}function xT(e,u,t,r,n,a,_,i,o,s){void 0===n&&(n={}),void 0===i&&(i=[]),void 0===o&&(o=[]),rA.assert(void 0===e&&void 0!==u||void 0!==e&&void 0===u);var l=[],s=wT(e,u,t,r,_,i,l,s),d=s.raw,c=Y(n,s.options||{}),a=a&&s.watchOptions?Y(a,s.watchOptions):s.watchOptions||a;c.configFilePath=_&&La(_);var f=function(){var e=y("references",function(e){return"object"==typeof e},"object"),t=p(m("files"));t&&(e="no-prop"===e||RD(e)&&0===e.length,a=ma(d,"extends"),0===t.length&&e&&!a&&(u?(s=_||"tsconfig.json",o=mA.The_files_list_in_config_file_0_is_empty,i=tl(u,"files",function(e){return e.initializer}),c=LT(u,i,o,s),l.push(c)):v(mA.The_files_list_in_config_file_0_is_empty,_||"tsconfig.json")));var r,n,a=p(m("include")),i=m("exclude"),o=!1,s=p(i);{var c;"no-prop"===i&&d.compilerOptions&&(c=d.compilerOptions.outDir,i=d.compilerOptions.declarationDir,(c||i)&&(s=[c,i].filter(function(e){return!!e})))}void 0===t&&void 0===a&&(a=[Ck],o=!0);a&&(r=WT(a,l,!0,u,"include"));s&&(n=WT(s,l,!1,u,"exclude"));return{filesSpecs:t,includeSpecs:a,excludeSpecs:s,validatedFilesSpec:nD(t,jD),validatedIncludeSpecs:r,validatedExcludeSpecs:n,pathPatterns:void 0,isDefaultIncludeSpec:o}}();u&&(u.configFileSpecs=f),vT(c,u);r=pi(_?hT(_,r):r);return{options:c,watchOptions:a,fileNames:function(e){e=JT(f,e,c,t,o);kT(e,TT(d),i)&&l.push(bT(f,_));return e}(r),projectReferences:function(e){var t,r,n,a=y("references",function(e){return"object"==typeof e},"object");if(RD(a))try{for(var i=__values(a),o=i.next();!o.done;o=i.next()){var s=o.value;"string"!=typeof s.path?v(mA.Compiler_option_0_requires_a_value_of_type_1,"reference.path","string"):(n=n||[]).push({path:fA(s.path,e),originalPath:s.path,prepend:s.prepend,circular:s.circular})}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}(r),typeAcquisition:s.typeAcquisition||PT(),raw:d,errors:l,wildcardDirectories:function(e,t,r){var n,a,i,o,s=e.validatedIncludeSpecs,e=Gp(e.validatedExcludeSpecs,t,"exclude"),c=e&&new RegExp(e,r?"":"i"),u={};if(void 0!==s){var _=[];try{for(var l=__values(s),d=l.next();!d.done;d=l.next()){var f,p=d.value,m=pi(dA(t,p));c&&c.test(m)||(p=function(e,t){var r=Dk.exec(e);if(r){var n=e.indexOf("?"),a=e.indexOf("*"),i=e.lastIndexOf(ca);return{key:t?r[0]:or(r[0]),flags:-1!==n&&n<i||-1!==a&&a<i?1:0}}if(Qp(e.substring(e.lastIndexOf(ca)+1)))return{key:za(t?e:or(e)),flags:1};return}(m,r))&&(f=p.key,m=p.flags,(void 0===(p=u[f])||p<m)&&1===(u[f]=m)&&_.push(f))}}catch(e){n={error:e}}finally{try{d&&!d.done&&(a=l.return)&&a.call(l)}finally{if(n)throw n.error}}for(f in u)if(ma(u,f))try{for(var y=(i=void 0,__values(_)),v=y.next();!v.done;v=y.next()){var g=v.value;f!==g&&Ga(g,f,t,!r)&&delete u[f]}}catch(e){i={error:e}}finally{try{v&&!v.done&&(o=y.return)&&o.call(y)}finally{if(i)throw i.error}}}return u}(f,r,t.useCaseSensitiveFileNames),compileOnSave:!!d.compileOnSave};function p(e){return RD(e)?e:void 0}function m(e){return y(e,jD,"string")}function y(e,t,r){if(!ma(d,e)||gT(d[e]))return"no-prop";if(RD(d[e])){var n=d[e];return u||XN(n,t)||l.push(ZL(mA.Compiler_option_0_requires_a_value_of_type_1,e,r)),n}return v(mA.Compiler_option_0_requires_a_value_of_type_1,e,"Array"),"not-array"}function v(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];u||l.push(ZL.apply(void 0,__spreadArray([e],__read(t),!1)))}}function bT(e,t){var r=e.includeSpecs,e=e.excludeSpecs;return ZL(mA.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2,t||"tsconfig.json",JSON.stringify(r||[]),JSON.stringify(e||[]))}function kT(e,t,r){return 0===e.length&&t&&(!r||0===r.length)}function TT(e){return!ma(e,"files")&&!ma(e,"references")}function ST(e,t,r,n,a){var i=n.length;return kT(e,a)?n.push(bT(r,t)):x(n,function(e){return e.code!==mA.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2.code}),i!==n.length}function wT(e,o,s,c,t,u,_,l){var r=fA(t||"",c=La(c));if(0<=u.indexOf(r))return _.push(ZL(mA.Circularity_detected_while_resolving_configuration_Colon_0,__spreadArray(__spreadArray([],__read(u),!1),[r],!1).join(" -> "))),{raw:e||nT(o,_)};var n,e=e?function(e,t,r,n,a){ma(e,"excludes")&&a.push(ZL(mA.Unknown_option_excludes_Did_you_mean_exclude));var i=FT(e.compilerOptions,r,a,n),o=IT(e.typeAcquisition,r,a,n),s=function(e,t,r){return OT(eT(),e,t,void 0,vk,r)}(e.watchOptions,r,a);e.compileOnSave=function(e,t,r){if(!ma(e,Ub.name))return!1;r=MT(Ub,e.compileOnSave,t,r);return"boolean"==typeof r&&r}(e,r,a);a=e.extends||""===e.extends?CT(e.extends,t,r,n,a):void 0;return{raw:e,options:i,watchOptions:s,typeAcquisition:o,extendedConfigPath:a}}(e,s,c,t,_):function(o,s,c,u,_){var l,d,f,p,m=ET(u),y=(void 0===wk&&(wk={name:void 0,type:"object",elementOptions:Yk([kk,Tk,Sk,bk,{name:"references",type:"list",element:{name:"references",type:"object"},category:mA.Projects},{name:"files",type:"list",element:{name:"files",type:"string"},category:mA.File_Management},{name:"include",type:"list",element:{name:"include",type:"string"},category:mA.File_Management,defaultValueDescription:mA.if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk},{name:"exclude",type:"list",element:{name:"exclude",type:"string"},category:mA.File_Management,defaultValueDescription:mA.node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified},Ub])}),wk),e=rT(o,_,{rootOptions:y,onPropertySet:function(t,e,r,n,a){a&&a!==bk&&(e=MT(a,e,c,_,r,r.initializer,o));{var i;null!=n&&n.name?a?(i=void 0,n===kk?i=m:n===Tk?i=null!=d?d:d={}:n===Sk?i=null!=l?l:l=PT(u):rA.fail("Unknown option"),i[a.name]=e):t&&null!=n&&n.extraKeyDiagnostics&&(n.elementOptions?_.push(Rk(t,n.extraKeyDiagnostics,void 0,r.name,o)):_.push(F_(o,r.name,n.extraKeyDiagnostics.unknownOptionDiagnostic,t))):n===y&&(a===bk?f=CT(e,s,c,u,_,r,r.initializer,o):a||("excludes"===t&&_.push(F_(o,r.name,mA.Unknown_option_excludes_Did_you_mean_exclude)),QN(Yb,function(e){return e.name===t})&&(p=vD(p,r.name))))}}});l=l||PT(u);p&&e&&void 0===e.compilerOptions&&_.push(F_(o,p[0],mA._0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file,$F(p[0])));return{raw:e,options:m,watchOptions:d,typeAcquisition:l,extendedConfigPath:f}}(o,s,c,t,_);return null!=(t=e.options)&&t.paths&&(e.options.pathsBasePath=c),e.extendedConfigPath&&(u=u.concat([r]),n={options:{}},jD(e.extendedConfigPath)?a(n,e.extendedConfigPath):e.extendedConfigPath.forEach(function(e){return a(n,e)}),!e.raw.include&&n.include&&(e.raw.include=n.include),!e.raw.exclude&&n.exclude&&(e.raw.exclude=n.exclude),!e.raw.files&&n.files&&(e.raw.files=n.files),void 0===e.raw.compileOnSave&&n.compileOnSave&&(e.raw.compileOnSave=n.compileOnSave),o&&n.extendedSourceFiles&&(o.extendedSourceFiles=PD(n.extendedSourceFiles.keys())),e.options=W(n.options,e.options),e.watchOptions=e.watchOptions&&n.watchOptions?W(n.watchOptions,e.watchOptions):e.watchOptions||n.watchOptions),e;function a(t,r){var n,a,e,i=function(e,t,r,n,a,i,o){var s,c,u,_,l,d=r.useCaseSensitiveFileNames?t:or(t);i&&(u=i.get(d))?(_=u.extendedResult,l=u.extendedConfig):((_=Xk(t,function(e){return r.readFile(e)})).parseDiagnostics.length||(l=wT(void 0,_,r,lA(t),Ea(t),n,a,i)),i&&i.set(d,{extendedResult:_,extendedConfig:l}));if(e&&((null!==(e=o.extendedSourceFiles)&&void 0!==e?e:o.extendedSourceFiles=new Set).add(_.fileName),_.extendedSourceFiles))try{for(var f=__values(_.extendedSourceFiles),p=f.next();!p.done;p=f.next()){var m=p.value;o.extendedSourceFiles.add(m)}}catch(e){s={error:e}}finally{try{p&&!p.done&&(c=f.return)&&c.call(f)}finally{if(s)throw s.error}}if(_.parseDiagnostics.length)return void a.push.apply(a,__spreadArray([],__read(_.parseDiagnostics),!1));return l}(o,r,s,u,_,l,t);i&&i.options&&(n=i.raw,(e=function(e){n[e]&&(t[e]=iD(n[e],function(e){return ka(e)?e:dA(a=a||Za(lA(r),c,KD(s.useCaseSensitiveFileNames)),e)}))})("include"),e("exclude"),e("files"),void 0!==n.compileOnSave&&(t.compileOnSave=n.compileOnSave),W(t.options,i.options),t.watchOptions=t.watchOptions&&i.watchOptions?W({},t.watchOptions,i.watchOptions):t.watchOptions||i.watchOptions)}}function CT(e,t,r,n,a,i,o,s){var c,u=n?hT(n,r):r;if(jD(e))c=NT(e,t,u,a,o,s);else if(RD(e)){c=[];for(var _=0;_<e.length;_++){var l=e[_];jD(l)?c=vD(c,NT(l,t,u,a,null==o?void 0:o.elements[_],s)):MT(bk.element,e,r,a,i,null==o?void 0:o.elements[_],s)}}else MT(bk,e,r,a,i,o,s);return c}function NT(e,t,r,n,a,i){if(ka(e=La(e))||XD(e,"./")||XD(e,"../")){var o=fA(e,r);return t.fileExists(o)||qD(o,".json")||(o="".concat(o,".json"),t.fileExists(o))?o:void n.push(LT(i,a,mA.File_0_not_found,e))}t=HS(e,dA(r,"tsconfig.json"),t);if(t.resolvedModule)return t.resolvedModule.resolvedFileName;""===e?n.push(LT(i,a,mA.Compiler_option_0_cannot_be_given_an_empty_string,"extends")):n.push(LT(i,a,mA.File_0_not_found,e))}function DT(e,t,r){var n=[];return{options:FT(e,t,n,r),errors:n}}function AT(e,t,r){var n=[];return{options:IT(e,t,n,r),errors:n}}function ET(e){return e&&"jsconfig.json"===Ea(e)?{allowJs:!0,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:!0,skipLibCheck:!0,noEmit:!0}:{}}function FT(e,t,r,n){var a=ET(n);return OT($k(),e,t,a,lk,r),n&&(a.configFilePath=La(n)),a}function PT(e){return{enable:!!e&&"jsconfig.json"===Ea(e),include:[],exclude:[]}}function IT(e,t,r,n){n=PT(n);return OT(tT(),e,t,n,mk,r),n}function OT(e,t,r,n,a,i){if(t){for(var o in t){var s=e.get(o);s?(n=n||{})[s.name]=MT(s,t[o],r,i):i.push(Rk(o,a))}return n}}function LT(e,t,r){for(var n=[],a=3;a<arguments.length;a++)n[a-3]=arguments[a];return e&&t?F_.apply(void 0,__spreadArray([e,t,r],__read(n),!1)):ZL.apply(void 0,__spreadArray([r],__read(n),!1))}function MT(e,t,r,n,a,i,o){if(e.isCommandLineOnly)n.push(LT(o,null==a?void 0:a.name,mA.Option_0_can_only_be_specified_on_command_line,e.name));else{if(function e(t,r){return!!t&&(gT(r)?!t.disallowNullOrUndefined:"list"===t.type?RD(r):"listOrElement"===t.type?RD(r)||e(t.element,r):typeof r===(jD(t.type)?t.type:"string"))}(e,t)){var s=e.type;if("list"===s&&RD(t))return BT(e,t,r,n,a,i,o);if("listOrElement"===s)return RD(t)?BT(e,t,r,n,a,i,o):MT(e.element,t,r,n,a,i,o);if(!jD(e.type))return jT(e,t,n,i,o);t=RT(e,t,n,i,o);return gT(t)?t:function(e,t,r){e.isFilePath&&""===(r=fA(r,t))&&(r=".");return r}(e,r,t)}n.push(LT(o,i,mA.Compiler_option_0_requires_a_value_of_type_1,e.name,iT(e)))}}function RT(e,t,r,n,a){var i;if(!gT(t)){e=null==(i=e.extraValidation)?void 0:i.call(e,t);if(!e)return t;r.push(LT.apply(void 0,__spreadArray([a,n],__read(e),!1)))}}function jT(e,t,r,n,a){if(!gT(t)){t=t.toLowerCase(),t=e.type.get(t);if(void 0!==t)return RT(e,t,r,n,a);r.push(Ik(e,function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return LT.apply(void 0,__spreadArray([a,n,e],__read(t),!1))}))}}function BT(r,e,n,a,i,o,s){return nD(iD(e,function(e,t){return MT(r.element,e,n,a,i,null==o?void 0:o.elements[t],s)}),function(e){return r.listPreserveFalsyValues||e})}function JT(e,n,t,a,r){var i,o,s,c;void 0===r&&(r=WN),n=pi(n);var u,_=KD(a.useCaseSensitiveFileNames),l=new Map,d=new Map,f=new Map,p=e.validatedFilesSpec,m=e.validatedIncludeSpecs,y=e.validatedExcludeSpecs,v=im(t,r),g=om(t,v);if(p)try{for(var h=__values(p),x=h.next();!x.done;x=h.next()){var b=fA(x.value,n);l.set(_(b),b)}}catch(e){i={error:e}}finally{try{x&&!x.done&&(o=h.return)&&o.call(h)}finally{if(i)throw i.error}}if(m&&0<m.length){var k=function(t){var e;if(uA(t,".json"))return u||(e=iD(Xp(m.filter(function(e){return qD(e,".json")}),n,"files"),function(e){return"^".concat(e,"$")}),u=e?e.map(function(e){return tm(e,a.useCaseSensitiveFileNames)}):WN),-1!==ZN(u,function(e){return e.test(t)})&&(r=_(t),l.has(r)||f.has(r)||f.set(r,t)),"continue";if(function(t,e,r,n,a){var i,o,s=KN(n,function(e){return _A(t,e)?e:void 0});if(!s)return!1;try{for(var c=__values(s),u=c.next();!u.done;u=c.next()){var _=u.value;if(uA(t,_))return!1;var l=a(ym(t,_));if((e.has(l)||r.has(l))&&(".d.ts"!==_||!uA(t,".js")&&!uA(t,".jsx")))return!0}}catch(e){i={error:e}}finally{try{u&&!u.done&&(o=c.return)&&o.call(c)}finally{if(i)throw i.error}}return!1}(t,l,d,v,_))return"continue";!function(t,e,r){var n=KN(v,function(e){return _A(t,e)?e:void 0});if(n)for(var a=n.length-1;0<=a;a--){var i=n[a];if(uA(t,i))return;i=r(ym(t,i));e.delete(i)}}(t,d,_);var r=_(t);l.has(r)||d.has(r)||d.set(r,t)};try{for(var T=__values(a.readDirectory(n,sD(g),y,m,void 0)),S=T.next();!S.done;S=T.next())k(b=S.value)}catch(e){s={error:e}}finally{try{S&&!S.done&&(c=T.return)&&c.call(T)}finally{if(s)throw s.error}}}r=PD(l.values()),t=PD(d.values());return r.concat(t,PD(f.values()))}function zT(e,t,r,n,a){var i,o,s=t.validatedFilesSpec,c=t.validatedIncludeSpecs,t=t.validatedExcludeSpecs;if(!HN(c)||!HN(t))return!1;r=pi(r);var u=KD(n);if(s)try{for(var _=__values(s),l=_.next();!l.done;l=_.next())if(u(fA(l.value,r))===e)return!1}catch(e){i={error:e}}finally{try{l&&!l.done&&(o=_.return)&&o.call(_)}finally{if(i)throw i.error}}return qT(e,t,n,a,r)}function UT(e){var t=XD(e,"**/")?0:e.indexOf("/**/");return-1!==t&&t<(qD(e,"/..")?e.length:e.lastIndexOf("/../"))}function VT(e,t,r,n){return qT(e,nD(t,function(e){return!UT(e)}),r,n)}function qT(e,t,r,n,a){a=Gp(t,dA(pi(n),a),"exclude"),r=a&&tm(a,r);return!!r&&(!!r.test(e)||!cA(e)&&r.test(Ua(e)))}function WT(e,t,r,n,a){return e.filter(function(e){if(!jD(e))return!1;e=HT(e,r);return void 0!==e&&t.push(function(e,t){var r=el(n,a,t);return LT(n,r,e,t)}.apply(void 0,__spreadArray([],__read(e),!1))),void 0===e})}function HT(e,t){return rA.assert("string"==typeof e),t&&Nk.test(e)?[mA.File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,e]:UT(e)?[mA.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,e]:void 0}function KT(e){var t,r,n={};for(t in e)!ma(e,t)||void 0!==(r=zk(t))&&(n[t]=function t(r,e){if(void 0===r)return r;switch(e.type){case"object":case"string":return"";case"number":return"number"==typeof r?r:"";case"boolean":return"boolean"==typeof r?r:"";case"listOrElement":if(!RD(r))return t(r,e.element);case"list":var n=e.element;return RD(r)?uD(r,function(e){return t(e,n)}):"";default:return hF(e.type,function(e,t){if(e===r)return t})}}(e[t],r));return n}function GT(e){switch(e.type){case"number":return 1;case"boolean":return!0;case"string":var t=e.defaultValueDescription;return e.isFilePath?"./".concat(t&&"string"==typeof t?t:""):"";case"list":return[];case"listOrElement":return GT(e.element);case"object":return{};default:t=TD(e.type.keys());return void 0!==t?t:rA.fail("Expected 'option.type' to have entries.")}}var XT,QT,YT,ZT,$T,eS=e({"src/compiler/commandLineParser.ts":function(){MK(),Ub={name:"compileOnSave",type:"boolean",defaultValueDescription:!1},fk=new Map(Object.entries({preserve:1,"react-native":3,react:2,"react-jsx":4,"react-jsxdev":5})),Vb=new Map(b(fk.entries(),function(e){var t=__read(e,2),e=t[0];return[""+t[1],e]})),Wb=(qb=[["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.date","lib.es2017.date.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"],["es2023.collection","lib.es2023.collection.d.ts"],["esnext.array","lib.es2023.array.d.ts"],["esnext.collection","lib.es2023.collection.d.ts"],["esnext.symbol","lib.es2019.symbol.d.ts"],["esnext.asynciterable","lib.es2018.asynciterable.d.ts"],["esnext.intl","lib.esnext.intl.d.ts"],["esnext.disposable","lib.esnext.disposable.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"],["esnext.decorators","lib.esnext.decorators.d.ts"],["decorators","lib.decorators.d.ts"],["decorators.legacy","lib.decorators.legacy.d.ts"]]).map(function(e){return e[0]}),Hb=new Map(qb),Kb=[{name:"watchFile",type:new Map(Object.entries({fixedpollinginterval:0,prioritypollinginterval:1,dynamicprioritypolling:2,fixedchunksizepolling:3,usefsevents:4,usefseventsonparentdirectory:5})),category:mA.Watch_and_Build_Modes,description:mA.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:mA.Watch_and_Build_Modes,description:mA.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:mA.Watch_and_Build_Modes,description:mA.Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers,defaultValueDescription:1},{name:"synchronousWatchDirectory",type:"boolean",category:mA.Watch_and_Build_Modes,description:mA.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:HT},category:mA.Watch_and_Build_Modes,description:mA.Remove_a_list_of_directories_from_the_watch_process},{name:"excludeFiles",type:"list",element:{name:"excludeFile",type:"string",isFilePath:!0,extraValidation:HT},category:mA.Watch_and_Build_Modes,description:mA.Remove_a_list_of_files_from_the_watch_mode_s_processing}],Gb=[{name:"help",shortName:"h",type:"boolean",showInSimplifiedHelpView:!0,isCommandLineOnly:!0,category:mA.Command_line_Options,description:mA.Print_this_message,defaultValueDescription:!1},{name:"help",shortName:"?",type:"boolean",isCommandLineOnly:!0,category:mA.Command_line_Options,defaultValueDescription:!1},{name:"watch",shortName:"w",type:"boolean",showInSimplifiedHelpView:!0,isCommandLineOnly:!0,category:mA.Command_line_Options,description:mA.Watch_input_files,defaultValueDescription:!1},{name:"preserveWatchOutput",type:"boolean",showInSimplifiedHelpView:!1,category:mA.Output_Formatting,description:mA.Disable_wiping_the_console_in_watch_mode,defaultValueDescription:!1},{name:"listFiles",type:"boolean",category:mA.Compiler_Diagnostics,description:mA.Print_all_of_the_files_read_during_the_compilation,defaultValueDescription:!1},{name:"explainFiles",type:"boolean",category:mA.Compiler_Diagnostics,description:mA.Print_files_read_during_the_compilation_including_why_it_was_included,defaultValueDescription:!1},{name:"listEmittedFiles",type:"boolean",category:mA.Compiler_Diagnostics,description:mA.Print_the_names_of_emitted_files_after_a_compilation,defaultValueDescription:!1},{name:"pretty",type:"boolean",showInSimplifiedHelpView:!0,category:mA.Output_Formatting,description:mA.Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read,defaultValueDescription:!0},{name:"traceResolution",type:"boolean",category:mA.Compiler_Diagnostics,description:mA.Log_paths_used_during_the_moduleResolution_process,defaultValueDescription:!1},{name:"diagnostics",type:"boolean",category:mA.Compiler_Diagnostics,description:mA.Output_compiler_performance_information_after_building,defaultValueDescription:!1},{name:"extendedDiagnostics",type:"boolean",category:mA.Compiler_Diagnostics,description:mA.Output_more_detailed_compiler_performance_information_after_building,defaultValueDescription:!1},{name:"generateCpuProfile",type:"string",isFilePath:!0,paramType:mA.FILE_OR_DIRECTORY,category:mA.Compiler_Diagnostics,description:mA.Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging,defaultValueDescription:"profile.cpuprofile"},{name:"generateTrace",type:"string",isFilePath:!0,isCommandLineOnly:!0,paramType:mA.DIRECTORY,category:mA.Compiler_Diagnostics,description:mA.Generates_an_event_trace_and_a_list_of_types},{name:"incremental",shortName:"i",type:"boolean",category:mA.Projects,description:mA.Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects,transpileOptionValue:void 0,defaultValueDescription:mA.false_unless_composite_is_set},{name:"declaration",shortName:"d",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:mA.Emit,transpileOptionValue:void 0,description:mA.Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project,defaultValueDescription:mA.false_unless_composite_is_set},{name:"declarationMap",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:mA.Emit,transpileOptionValue:void 0,defaultValueDescription:!1,description:mA.Create_sourcemaps_for_d_ts_files},{name:"emitDeclarationOnly",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:mA.Emit,description:mA.Only_output_d_ts_files_and_not_JavaScript_files,transpileOptionValue:void 0,defaultValueDescription:!1},{name:"sourceMap",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:mA.Emit,defaultValueDescription:!1,description:mA.Create_source_map_files_for_emitted_JavaScript_files},{name:"inlineSourceMap",type:"boolean",affectsBuildInfo:!0,category:mA.Emit,description:mA.Include_sourcemap_files_inside_the_emitted_JavaScript,defaultValueDescription:!1},{name:"assumeChangesOnlyAffectDirectDependencies",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,category:mA.Watch_and_Build_Modes,description:mA.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:mA.Command_line_Options,isCommandLineOnly:!0,description:mA.Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit,defaultValueDescription:mA.Platform_specific}],Xb={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:mA.VERSION,showInSimplifiedHelpView:!0,category:mA.Language_and_Environment,description:mA.Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations,defaultValueDescription:1},Qb={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:mA.KIND,showInSimplifiedHelpView:!0,category:mA.Modules,description:mA.Specify_what_module_code_is_generated,defaultValueDescription:void 0},Yb=[{name:"all",type:"boolean",showInSimplifiedHelpView:!0,category:mA.Command_line_Options,description:mA.Show_all_compiler_options,defaultValueDescription:!1},{name:"version",shortName:"v",type:"boolean",showInSimplifiedHelpView:!0,category:mA.Command_line_Options,description:mA.Print_the_compiler_s_version,defaultValueDescription:!1},{name:"init",type:"boolean",showInSimplifiedHelpView:!0,category:mA.Command_line_Options,description:mA.Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file,defaultValueDescription:!1},{name:"project",shortName:"p",type:"string",isFilePath:!0,showInSimplifiedHelpView:!0,category:mA.Command_line_Options,paramType:mA.FILE_OR_DIRECTORY,description:mA.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:mA.Command_line_Options,description:mA.Build_one_or_more_projects_and_their_dependencies_if_out_of_date,defaultValueDescription:!1},{name:"showConfig",type:"boolean",showInSimplifiedHelpView:!0,category:mA.Command_line_Options,isCommandLineOnly:!0,description:mA.Print_the_final_configuration_instead_of_building,defaultValueDescription:!1},{name:"listFilesOnly",type:"boolean",category:mA.Command_line_Options,isCommandLineOnly:!0,description:mA.Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing,defaultValueDescription:!1},Xb,Qb,{name:"lib",type:"list",element:{name:"lib",type:Hb,defaultValueDescription:void 0},affectsProgramStructure:!0,showInSimplifiedHelpView:!0,category:mA.Language_and_Environment,description:mA.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:mA.JavaScript_Support,description:mA.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",affectsModuleResolution:!0,showInSimplifiedHelpView:!0,category:mA.JavaScript_Support,description:mA.Enable_error_reporting_in_type_checked_JavaScript_files,defaultValueDescription:!1},{name:"jsx",type:fk,affectsSourceFile:!0,affectsEmit:!0,affectsBuildInfo:!0,affectsModuleResolution:!0,paramType:mA.KIND,showInSimplifiedHelpView:!0,category:mA.Language_and_Environment,description:mA.Specify_what_JSX_code_is_generated,defaultValueDescription:void 0},{name:"outFile",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:mA.FILE,showInSimplifiedHelpView:!0,category:mA.Emit,description:mA.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:mA.DIRECTORY,showInSimplifiedHelpView:!0,category:mA.Emit,description:mA.Specify_an_output_folder_for_all_emitted_files},{name:"rootDir",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:mA.LOCATION,category:mA.Modules,description:mA.Specify_the_root_folder_within_your_source_files,defaultValueDescription:mA.Computed_from_the_list_of_input_files},{name:"composite",type:"boolean",affectsBuildInfo:!0,isTSConfigOnly:!0,category:mA.Projects,transpileOptionValue:void 0,defaultValueDescription:!1,description:mA.Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references},{name:"tsBuildInfoFile",type:"string",affectsEmit:!0,affectsBuildInfo:!0,isFilePath:!0,paramType:mA.FILE,category:mA.Projects,transpileOptionValue:void 0,defaultValueDescription:".tsbuildinfo",description:mA.Specify_the_path_to_tsbuildinfo_incremental_compilation_file},{name:"removeComments",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:mA.Emit,defaultValueDescription:!1,description:mA.Disable_emitting_comments},{name:"noEmit",type:"boolean",showInSimplifiedHelpView:!0,category:mA.Emit,description:mA.Disable_emitting_files_from_a_compilation,transpileOptionValue:void 0,defaultValueDescription:!1},{name:"importHelpers",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:mA.Emit,description:mA.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:mA.Emit,description:mA.Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types,defaultValueDescription:0},{name:"downlevelIteration",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:mA.Emit,description:mA.Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration,defaultValueDescription:!1},{name:"isolatedModules",type:"boolean",category:mA.Interop_Constraints,description:mA.Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports,transpileOptionValue:!0,defaultValueDescription:!1},{name:"verbatimModuleSyntax",type:"boolean",category:mA.Interop_Constraints,description:mA.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:mA.Type_Checking,description:mA.Enable_all_strict_type_checking_options,defaultValueDescription:!1},{name:"noImplicitAny",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:mA.Type_Checking,description:mA.Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type,defaultValueDescription:mA.false_unless_strict_is_set},{name:"strictNullChecks",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:mA.Type_Checking,description:mA.When_type_checking_take_into_account_null_and_undefined,defaultValueDescription:mA.false_unless_strict_is_set},{name:"strictFunctionTypes",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:mA.Type_Checking,description:mA.When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible,defaultValueDescription:mA.false_unless_strict_is_set},{name:"strictBindCallApply",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:mA.Type_Checking,description:mA.Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function,defaultValueDescription:mA.false_unless_strict_is_set},{name:"strictPropertyInitialization",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:mA.Type_Checking,description:mA.Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor,defaultValueDescription:mA.false_unless_strict_is_set},{name:"noImplicitThis",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:mA.Type_Checking,description:mA.Enable_error_reporting_when_this_is_given_the_type_any,defaultValueDescription:mA.false_unless_strict_is_set},{name:"useUnknownInCatchVariables",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:mA.Type_Checking,description:mA.Default_catch_clause_variables_as_unknown_instead_of_any,defaultValueDescription:mA.false_unless_strict_is_set},{name:"alwaysStrict",type:"boolean",affectsSourceFile:!0,affectsEmit:!0,affectsBuildInfo:!0,strictFlag:!0,category:mA.Type_Checking,description:mA.Ensure_use_strict_is_always_emitted,defaultValueDescription:mA.false_unless_strict_is_set},{name:"noUnusedLocals",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:mA.Type_Checking,description:mA.Enable_error_reporting_when_local_variables_aren_t_read,defaultValueDescription:!1},{name:"noUnusedParameters",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:mA.Type_Checking,description:mA.Raise_an_error_when_a_function_parameter_isn_t_read,defaultValueDescription:!1},{name:"exactOptionalPropertyTypes",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:mA.Type_Checking,description:mA.Interpret_optional_property_types_as_written_rather_than_adding_undefined,defaultValueDescription:!1},{name:"noImplicitReturns",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:mA.Type_Checking,description:mA.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:mA.Type_Checking,description:mA.Enable_error_reporting_for_fallthrough_cases_in_switch_statements,defaultValueDescription:!1},{name:"noUncheckedIndexedAccess",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:mA.Type_Checking,description:mA.Add_undefined_to_a_type_when_accessed_using_an_index,defaultValueDescription:!1},{name:"noImplicitOverride",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:mA.Type_Checking,description:mA.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:mA.Type_Checking,description:mA.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:mA.STRATEGY,category:mA.Modules,description:mA.Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier,defaultValueDescription:mA.module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node},{name:"baseUrl",type:"string",affectsModuleResolution:!0,isFilePath:!0,category:mA.Modules,description:mA.Specify_the_base_directory_to_resolve_non_relative_module_names},{name:"paths",type:"object",affectsModuleResolution:!0,isTSConfigOnly:!0,category:mA.Modules,description:mA.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:mA.Modules,description:mA.Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules,transpileOptionValue:void 0,defaultValueDescription:mA.Computed_from_the_list_of_input_files},{name:"typeRoots",type:"list",element:{name:"typeRoots",type:"string",isFilePath:!0},affectsModuleResolution:!0,category:mA.Modules,description:mA.Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types},{name:"types",type:"list",element:{name:"types",type:"string"},affectsProgramStructure:!0,showInSimplifiedHelpView:!0,category:mA.Modules,description:mA.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:mA.Interop_Constraints,description:mA.Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export,defaultValueDescription:mA.module_system_or_esModuleInterop},{name:"esModuleInterop",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:mA.Interop_Constraints,description:mA.Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility,defaultValueDescription:!1},{name:"preserveSymlinks",type:"boolean",category:mA.Interop_Constraints,description:mA.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:mA.Modules,description:mA.Allow_accessing_UMD_globals_from_modules,defaultValueDescription:!1},{name:"moduleSuffixes",type:"list",element:{name:"suffix",type:"string"},listPreserveFalsyValues:!0,affectsModuleResolution:!0,category:mA.Modules,description:mA.List_of_file_name_suffixes_to_search_when_resolving_a_module},{name:"allowImportingTsExtensions",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:mA.Modules,description:mA.Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noEmit_or_emitDeclarationOnly_to_be_set,defaultValueDescription:!1,transpileOptionValue:void 0},{name:"resolvePackageJsonExports",type:"boolean",affectsModuleResolution:!0,category:mA.Modules,description:mA.Use_the_package_json_exports_field_when_resolving_package_imports,defaultValueDescription:mA.true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false},{name:"resolvePackageJsonImports",type:"boolean",affectsModuleResolution:!0,category:mA.Modules,description:mA.Use_the_package_json_imports_field_when_resolving_imports,defaultValueDescription:mA.true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false},{name:"customConditions",type:"list",element:{name:"condition",type:"string"},affectsModuleResolution:!0,category:mA.Modules,description:mA.Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports},{name:"sourceRoot",type:"string",affectsEmit:!0,affectsBuildInfo:!0,paramType:mA.LOCATION,category:mA.Emit,description:mA.Specify_the_root_path_for_debuggers_to_find_the_reference_source_code},{name:"mapRoot",type:"string",affectsEmit:!0,affectsBuildInfo:!0,paramType:mA.LOCATION,category:mA.Emit,description:mA.Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations},{name:"inlineSources",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:mA.Emit,description:mA.Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript,defaultValueDescription:!1},{name:"experimentalDecorators",type:"boolean",affectsEmit:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:mA.Language_and_Environment,description:mA.Enable_experimental_support_for_legacy_experimental_decorators,defaultValueDescription:!1},{name:"emitDecoratorMetadata",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,category:mA.Language_and_Environment,description:mA.Emit_design_type_metadata_for_decorated_declarations_in_source_files,defaultValueDescription:!1},{name:"jsxFactory",type:"string",category:mA.Language_and_Environment,description:mA.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:mA.Language_and_Environment,description:mA.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:mA.Language_and_Environment,description:mA.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:mA.Modules,description:mA.Enable_importing_json_files,defaultValueDescription:!1},{name:"allowArbitraryExtensions",type:"boolean",affectsProgramStructure:!0,category:mA.Modules,description:mA.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:mA.Backwards_Compatibility,paramType:mA.FILE,transpileOptionValue:void 0,description:mA.Deprecated_setting_Use_outFile_instead},{name:"reactNamespace",type:"string",affectsEmit:!0,affectsBuildInfo:!0,category:mA.Language_and_Environment,description:mA.Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit,defaultValueDescription:"`React`"},{name:"skipDefaultLibCheck",type:"boolean",affectsBuildInfo:!0,category:mA.Completeness,description:mA.Skip_type_checking_d_ts_files_that_are_included_with_TypeScript,defaultValueDescription:!1},{name:"charset",type:"string",category:mA.Backwards_Compatibility,description:mA.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:mA.Emit,description:mA.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:mA.NEWLINE,category:mA.Emit,description:mA.Set_the_newline_character_for_emitting_files,defaultValueDescription:"lf"},{name:"noErrorTruncation",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:mA.Output_Formatting,description:mA.Disable_truncating_types_in_error_messages,defaultValueDescription:!1},{name:"noLib",type:"boolean",category:mA.Language_and_Environment,affectsProgramStructure:!0,description:mA.Disable_including_any_library_files_including_the_default_lib_d_ts,transpileOptionValue:!0,defaultValueDescription:!1},{name:"noResolve",type:"boolean",affectsModuleResolution:!0,category:mA.Modules,description:mA.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:mA.Emit,description:mA.Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments,defaultValueDescription:!1},{name:"disableSizeLimit",type:"boolean",affectsProgramStructure:!0,category:mA.Editor_Support,description:mA.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:mA.Projects,description:mA.Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects,defaultValueDescription:!1},{name:"disableSolutionSearching",type:"boolean",isTSConfigOnly:!0,category:mA.Projects,description:mA.Opt_a_project_out_of_multi_project_reference_checking_when_editing,defaultValueDescription:!1},{name:"disableReferencedProjectLoad",type:"boolean",isTSConfigOnly:!0,category:mA.Projects,description:mA.Reduce_the_number_of_projects_loaded_automatically_by_TypeScript,defaultValueDescription:!1},{name:"noImplicitUseStrict",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:mA.Backwards_Compatibility,description:mA.Disable_adding_use_strict_directives_in_emitted_JavaScript_files,defaultValueDescription:!1},{name:"noEmitHelpers",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:mA.Emit,description:mA.Disable_generating_custom_helper_functions_like_extends_in_compiled_output,defaultValueDescription:!1},{name:"noEmitOnError",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:mA.Emit,transpileOptionValue:void 0,description:mA.Disable_emitting_files_if_any_type_checking_errors_are_reported,defaultValueDescription:!1},{name:"preserveConstEnums",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:mA.Emit,description:mA.Disable_erasing_const_enum_declarations_in_generated_code,defaultValueDescription:!1},{name:"declarationDir",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:mA.DIRECTORY,category:mA.Emit,transpileOptionValue:void 0,description:mA.Specify_the_output_directory_for_generated_declaration_files},{name:"skipLibCheck",type:"boolean",affectsBuildInfo:!0,category:mA.Completeness,description:mA.Skip_type_checking_all_d_ts_files,defaultValueDescription:!1},{name:"allowUnusedLabels",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:mA.Type_Checking,description:mA.Disable_error_reporting_for_unused_labels,defaultValueDescription:void 0},{name:"allowUnreachableCode",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:mA.Type_Checking,description:mA.Disable_error_reporting_for_unreachable_code,defaultValueDescription:void 0},{name:"suppressExcessPropertyErrors",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:mA.Backwards_Compatibility,description:mA.Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals,defaultValueDescription:!1},{name:"suppressImplicitAnyIndexErrors",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:mA.Backwards_Compatibility,description:mA.Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures,defaultValueDescription:!1},{name:"forceConsistentCasingInFileNames",type:"boolean",affectsModuleResolution:!0,category:mA.Interop_Constraints,description:mA.Ensure_that_casing_is_correct_in_imports,defaultValueDescription:!0},{name:"maxNodeModuleJsDepth",type:"number",affectsModuleResolution:!0,category:mA.JavaScript_Support,description:mA.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:mA.Backwards_Compatibility,description:mA.Disable_strict_checking_of_generic_signatures_in_function_types,defaultValueDescription:!1},{name:"useDefineForClassFields",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,category:mA.Language_and_Environment,description:mA.Emit_ECMAScript_standard_compliant_class_fields,defaultValueDescription:mA.true_for_ES2022_and_above_including_ESNext},{name:"preserveValueImports",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:mA.Emit,description:mA.Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed,defaultValueDescription:!1},{name:"keyofStringsOnly",type:"boolean",category:mA.Backwards_Compatibility,description:mA.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:mA.Specify_a_list_of_language_service_plugins_to_include,category:mA.Editor_Support},{name:"moduleDetection",type:new Map(Object.entries({auto:2,legacy:1,force:3})),affectsModuleResolution:!0,description:mA.Control_what_method_is_used_to_detect_module_format_JS_files,category:mA.Language_and_Environment,defaultValueDescription:mA.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}],Zb=__spreadArray(__spreadArray([],__read(Gb),!1),__read(Yb),!1),$b=Zb.filter(function(e){return!!e.affectsSemanticDiagnostics}),ek=Zb.filter(function(e){return!!e.affectsEmit}),tk=Zb.filter(function(e){return!!e.affectsDeclarationPath}),rk=Zb.filter(function(e){return!!e.affectsModuleResolution}),nk=Zb.filter(function(e){return!!e.affectsSourceFile||!!e.affectsModuleResolution||!!e.affectsBindDiagnostics}),ak=Zb.filter(function(e){return!!e.affectsProgramStructure}),ik=Zb.filter(function(e){return ma(e,"transpileOptionValue")}),ok=[{name:"verbose",shortName:"v",category:mA.Command_line_Options,description:mA.Enable_verbose_logging,type:"boolean",defaultValueDescription:!1},{name:"dry",shortName:"d",category:mA.Command_line_Options,description:mA.Show_what_would_be_built_or_deleted_if_specified_with_clean,type:"boolean",defaultValueDescription:!1},{name:"force",shortName:"f",category:mA.Command_line_Options,description:mA.Build_all_projects_including_those_that_appear_to_be_up_to_date,type:"boolean",defaultValueDescription:!1},{name:"clean",category:mA.Command_line_Options,description:mA.Delete_the_outputs_of_all_projects,type:"boolean",defaultValueDescription:!1}],sk=__spreadArray(__spreadArray([],__read(Gb),!1),__read(ok),!1),ck=[{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}],fk={diagnostic:mA.Compiler_option_0_may_only_be_used_with_build,getOptionsNameMap:Vk},_k={module:1,target:3,strict:!0,esModuleInterop:!0,forceConsistentCasingInFileNames:!0,skipLibCheck:!0},lk={alternateMode:fk,getOptionsNameMap:Fk,optionDeclarations:Zb,unknownOptionDiagnostic:mA.Unknown_compiler_option_0,unknownDidYouMeanDiagnostic:mA.Unknown_compiler_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:mA.Compiler_option_0_expects_an_argument},fk={diagnostic:mA.Compiler_option_0_may_not_be_used_with_build,getOptionsNameMap:Fk},pk={alternateMode:fk,getOptionsNameMap:Vk,optionDeclarations:sk,unknownOptionDiagnostic:mA.Unknown_build_option_0,unknownDidYouMeanDiagnostic:mA.Unknown_build_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:mA.Build_option_0_requires_a_value_of_type_1},mk={optionDeclarations:ck,unknownOptionDiagnostic:mA.Unknown_type_acquisition_option_0,unknownDidYouMeanDiagnostic:mA.Unknown_type_acquisition_option_0_Did_you_mean_1},vk={getOptionsNameMap:Zk,optionDeclarations:Kb,unknownOptionDiagnostic:mA.Unknown_watch_option_0,unknownDidYouMeanDiagnostic:mA.Unknown_watch_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:mA.Watch_option_0_requires_a_value_of_type_1},bk={name:"extends",type:"listOrElement",element:{name:"extends",type:"string"},category:mA.File_Management,disallowNullOrUndefined:!0},kk={name:"compilerOptions",type:"object",elementOptions:$k(),extraKeyDiagnostics:lk},Tk={name:"watchOptions",type:"object",elementOptions:eT(),extraKeyDiagnostics:vk},Sk={name:"typeAcquisition",type:"object",elementOptions:tT(),extraKeyDiagnostics:mk},Ck="**/*",Nk=/(^|\/)\*\*\/?$/,Dk=/^[^*?]*(?=\/[^/]*[*?])/}});function tS(e){e.trace(YL.apply(void 0,arguments))}function rS(e,t){return!!e.traceResolution&&void 0!==t.trace}function nS(e,t){var r,n;return t&&e&&("string"==typeof(n=e.contents.packageJsonContent).name&&"string"==typeof n.version&&(r={name:n.name,subModuleName:t.path.slice(e.packageDirectory.length+ca.length),version:n.version})),t&&{path:t.path,extension:t.ext,packageId:r,resolvedUsingTsExtension:t.resolvedUsingTsExtension}}function aS(e){return nS(void 0,e)}function iS(e){if(e)return rA.assert(void 0===e.packageId),{path:e.path,ext:e.extension,resolvedUsingTsExtension:e.resolvedUsingTsExtension}}function oS(e){var 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 sS(e){if(e)return rA.assert(xm(e.extension)),{fileName:e.path,packageId:e.packageId}}function cS(e,t,r,n,a,i,o,s){var c;return o.resultFromCache||o.compilerOptions.preserveSymlinks||!t||!r||t.originalPath||kA(e)||(e=(c=vS(t.path,o.host,o.traceEnabled)).resolvedFileName,(c=c.originalPath)&&(t=__assign(__assign({},t),{path:e,originalPath:c}))),uS(t,r,n,a,i,o.resultFromCache,s)}function uS(e,t,r,n,a,i,o){return i?(i.failedLookupLocations=lS(i.failedLookupLocations,r),i.affectingLocations=lS(i.affectingLocations,n),i.resolutionDiagnostics=lS(i.resolutionDiagnostics,a),i):{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:_S(r),affectingLocations:_S(n),resolutionDiagnostics:_S(a),node10Result:o}}function _S(e){return e.length?e:void 0}function lS(e,t){return null!=t&&t.length?null!=e&&e.length?(e.push.apply(e,__spreadArray([],__read(t),!1)),e):t:e}function dS(e,t,r,n){if(ma(e,t)){e=e[t];if(typeof e===r&&null!==e)return e;n.traceEnabled&&tS(n.host,mA.Expected_type_of_0_field_in_package_json_to_be_1_got_2,t,r,null===e?"null":typeof e)}else n.traceEnabled&&tS(n.host,mA.package_json_does_not_have_a_0_field,t)}function fS(e,t,r,n){e=dS(e,t,"string",n);if(void 0!==e){if(e){r=pi(dA(r,e));return n.traceEnabled&&tS(n.host,mA.package_json_has_0_field_1_that_references_2,t,e,r),r}n.traceEnabled&&tS(n.host,mA.package_json_had_a_falsy_0_field,t)}}function pS(e,t){var r=function(e,t){if(void 0!==(e=dS(e,"typesVersions","object",t)))return t.traceEnabled&&tS(t.host,mA.package_json_has_a_typesVersions_field_with_version_specific_path_mappings),e}(e,t);if(void 0!==r){if(t.traceEnabled)for(var n in r)ma(r,n)&&!tt.tryParse(n)&&tS(t.host,mA.package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range,n);var a=mS(r);if(a){var i=a.version,e=a.paths;if("object"==typeof e)return a;t.traceEnabled&&tS(t.host,mA.Expected_type_of_0_field_in_package_json_to_be_1_got_2,"typesVersions['".concat(i,"']"),"object",typeof e)}else t.traceEnabled&&tS(t.host,mA.package_json_does_not_have_a_typesVersions_entry_that_matches_version_0,er)}}function mS(e){for(var t in XT=XT||new _r(oe),e)if(ma(e,t)){var r=tt.tryParse(t);if(void 0!==r&&r.test(XT))return{version:t,paths:e[t]}}}function yS(e,t){return e.typeRoots||(e.configFilePath?r=lA(e.configFilePath):t.getCurrentDirectory&&(r=t.getCurrentDirectory()),void 0!==r?(ti(pi(r),function(e){e=dA(e,QT);(null!=n?n:n=[]).push(e)}),n):void 0);var r,n}function vS(e,t,r){r=function(e,t,r){if(!t.realpath)return e;var n=pi(t.realpath(e));r&&tS(t,mA.Resolving_real_path_for_0_result_1,e,n);return rA.assert(t.fileExists(n),"".concat(e," linked to nonexistent file ").concat(n)),n}(e,t,r),t=0===pA(e,r,!("function"==typeof(t=t).useCaseSensitiveFileNames?t.useCaseSensitiveFileNames():t.useCaseSensitiveFileNames));return{resolvedFileName:t?e:r,originalPath:t?void 0:e}}function gS(e,t,r){return dA(e,qD(e,"/node_modules/@types")||qD(e,"/node_modules/@types/")?Cw(t,r):t)}function hS(a,r,i,o,e,t,n){rA.assert("string"==typeof a,"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.");var s=rS(i,o);e&&(i=e.commandLine.options);var c=r?lA(r):void 0,u=!c||null==t?void 0:t.getFromDirectoryCache(a,n,c,e);if(u||!c||kA(a)||(u=null==t?void 0:t.getFromNonRelativeNameCache(a,n,c,e)),u)return s&&(tS(o,mA.Resolving_type_reference_directive_0_containing_file_1,a,r),e&&tS(o,mA.Using_compiler_options_of_project_reference_redirect_0,e.sourceFile.fileName),tS(o,mA.Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1,a,c),b(u)),u;var _=yS(i,o);s&&(void 0===r?void 0===_?tS(o,mA.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set,a):tS(o,mA.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1,a,_):void 0===_?tS(o,mA.Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set,a,r):tS(o,mA.Resolving_type_reference_directive_0_containing_file_1_root_directory_2,a,r,_),e&&tS(o,mA.Using_compiler_options_of_project_reference_redirect_0,e.sourceFile.fileName));var l=[],d=[],f=xS(i);99!==n||3!==iM(i)&&99!==iM(i)||(f|=32);var p,m,y=8&f?bS(i,!!(32&f)):[],v=[],g={compilerOptions:i,host:o,traceEnabled:s,failedLookupLocations:l,affectingLocations:d,packageJsonInfoCache:t,features:f,conditions:y,requestContainingDirectory:c,reportDiagnostic:function(e){v.push(e)},isConfigLookup:!1,candidateIsFromPackageJsonField:!1},h=function(){{if(_&&_.length)return s&&tS(o,mA.Resolving_with_primary_search_path_0,_.join(", ")),GN(_,function(e){var t=gS(e,a,g),r=yf(e,o);if(!r&&s&&tS(o,mA.Directory_0_does_not_exist_skipping_all_lookups_in_it,e),i.typeRoots){var n=ew(4,t,!r,g);if(n){e=YS(n.path);return sS(nS(e?lw(e,!1,g):void 0,n))}}return sS(ow(4,t,!r,g))});s&&tS(o,mA.Root_directory_cannot_be_determined_skipping_primary_search_paths)}}(),x=!0;return h||(h=function(){var e=r&&lA(r);{if(void 0!==e){var t=void 0;return i.typeRoots&&qD(r,hV)?s&&tS(o,mA.Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_node_modules_folder):(s&&tS(o,mA.Looking_up_in_node_modules_folder_initial_location_0,e),t=kA(a)?XS(4,GS(e,a).path,!1,g,!0):(e=bw(4,a,e,g,void 0,void 0))&&e.value),sS(t)}s&&tS(o,mA.Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder)}}(),x=!1),h&&(p=h.fileName,m=h.packageId,f=p,y=void 0,i.preserveSymlinks||(f=(h=vS(p,o,s)).resolvedFileName,y=h.originalPath),p={primary:x,resolvedFileName:f,originalPath:y,packageId:m,isExternalLibraryImport:QS(p)}),u={resolvedTypeReferenceDirective:p,failedLookupLocations:_S(l),affectingLocations:_S(d),resolutionDiagnostics:_S(v)},c&&(null!=t&&t.getOrCreateCacheForDirectory(c,e).set(a,n,u),kA(a)||null!=t&&t.getOrCreateCacheForNonRelativeName(a,n,e).set(c,u)),s&&b(u),u;function b(e){var t;null!=(t=e.resolvedTypeReferenceDirective)&&t.resolvedFileName?e.resolvedTypeReferenceDirective.packageId?tS(o,mA.Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3,a,e.resolvedTypeReferenceDirective.resolvedFileName,Vu(e.resolvedTypeReferenceDirective.packageId),e.resolvedTypeReferenceDirective.primary):tS(o,mA.Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2,a,e.resolvedTypeReferenceDirective.resolvedFileName,e.resolvedTypeReferenceDirective.primary):tS(o,mA.Type_reference_directive_0_was_not_resolved,a)}}function xS(e){var t=0;switch(iM(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 bS(e,t){t=t||100===iM(e)?["import"]:["require"];return e.noDtsResolution||t.push("types"),100!==iM(e)&&t.push("node"),fD(t,e.customConditions)}function kS(t,e,r,n,a){var i=cw(null==a?void 0:a.getPackageJsonInfoCache(),n,r);return ti(e,function(e){if("node_modules"!==Ea(e)){e=dA(e,"node_modules");return lw(dA(e,t),!1,i)}})}function TS(e,t){var r,n,a,i;if(e.types)return e.types;var o=[];if(t.directoryExists&&t.getDirectories){var s=yS(e,t);if(s)try{for(var c=__values(s),u=c.next();!u.done;u=c.next()){var _=u.value;if(t.directoryExists(_))try{for(var l=(a=void 0,__values(t.getDirectories(_))),d=l.next();!d.done;d=l.next()){var f=pi(d.value),p=dA(_,f,"package.json");t.fileExists(p)&&null===mf(p,t).typings||46!==(f=Ea(f)).charCodeAt(0)&&o.push(f)}}catch(e){a={error:e}}finally{try{d&&!d.done&&(i=l.return)&&i.call(l)}finally{if(a)throw a.error}}}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}}return o}function SS(t,e){return e.map(function(e){return function e(t){var r;if(null===t||"object"!=typeof t)return""+t;if(RD(t))return"[".concat(null==(r=t.map(e))?void 0:r.join(","),"]");var n,a="{";for(n in t)ma(t,n)&&(a+="".concat(n,": ").concat(e(t[n])));return a+"}"}(zp(t,e))}).join("|")+"|".concat(t.pathsBasePath)}function wS(i){var o=new Map,r=new Map,s=new Map,c=new Map;return i&&o.set(i,c),{getMapOfCacheRedirects:function(e){return e?t(e.commandLine.options,!1):c},getOrCreateMapOfCacheRedirects:function(e){return e?t(e.commandLine.options,!0):c},update:function(e){i!==e&&(i?c=t(e,!0):o.set(e,c),i=e)},clear:function(){var e=i&&r.get(i);c.clear(),o.clear(),r.clear(),s.clear(),i&&(e&&r.set(i,e),o.set(i,c))}};function t(e,t){var r=o.get(e);if(r)return r;var n,a=u(e);return(r=s.get(a))||(i&&((n=u(i))===a?r=c:s.has(n)||s.set(n,c)),t&&(null!=r||(r=new Map)),r&&s.set(a,r)),r&&o.set(e,r),r}function u(e){var t=r.get(e);return t||r.set(e,t=SS(e,rk)),t}}function CS(r,n){var a;return{getPackageJsonInfo:function(e){return null==a?void 0:a.get(Ja(e,r,n))},setPackageJsonInfo:function(e,t){(a=a||new Map).set(Ja(e,r,n),t)},clear:function(){a=void 0},entries:function(){var e=null==a?void 0:a.entries();return e?PD(e):[]},getInternalMap:function(){return a}}}function NS(e,t,r,n){e=e.getOrCreateMapOfCacheRedirects(t),t=e.get(r);return t||(t=n(),e.set(r,t)),t}function DS(a,i,e){var o=wS(e);return{getFromDirectoryCache:function(e,t,r,n){var r=Ja(r,a,i);return null==(r=null==(n=o.getMapOfCacheRedirects(n))?void 0:n.get(r))?void 0:r.get(e,t)},getOrCreateCacheForDirectory:function(e,t){e=Ja(e,a,i);return NS(o,t,e,AS)},clear:function(){o.clear()},update:function(e){o.update(e)}}}function YB(e,t){return void 0===t?e:"".concat(t,"|").concat(e)}function AS(){var a=new Map,i=new Map,n={get:function(e,t){return a.get(o(e,t))},set:function(e,t,r){return a.set(o(e,t),r),n},delete:function(e,t){return a.delete(o(e,t)),n},has:function(e,t){return a.has(o(e,t))},forEach:function(n){return a.forEach(function(e,t){var r=__read(i.get(t),2),t=r[0],r=r[1];return n(e,t,r)})},size:function(){return a.size}};return n;function o(e,t){var r=YB(e,t);return i.set(r,[e,t]),r}}function ES(e,t,r,n){rA.assert(t.length===r.length);for(var a=AS(),i=0;i<t.length;++i){var o=t[i];a.set(n.getName(o),n.getMode(o,e),r[i])}return a}function FS(e){return e.resolvedModule&&(e.resolvedModule.originalPath||e.resolvedModule.resolvedFileName)}function PS(e){return e.resolvedTypeReferenceDirective&&(e.resolvedTypeReferenceDirective.originalPath||e.resolvedTypeReferenceDirective.resolvedFileName)}function IS(s,c,e,u){var a=wS(e);return{getFromNonRelativeNameCache:function(e,t,r,n){return rA.assert(!kA(e)),null==(t=null==(n=a.getMapOfCacheRedirects(n))?void 0:n.get(YB(e,t)))?void 0:t.get(r)},getOrCreateCacheForNonRelativeName:function(e,t,r){return rA.assert(!kA(e)),NS(a,r,YB(e,t),n)},clear:function(){a.clear()},update:function(e){a.update(e)}};function n(){var o=new Map;return{get:function(e){return o.get(Ja(e,s,c))},set:function(e,t){var r=Ja(e,s,c);if(o.has(r))return;o.set(r,t);var e=u(t),n=e&&function(e,t){var r=Ja(lA(t),s,c),n=0,a=Math.min(e.length,r.length);for(;n<a&&e.charCodeAt(n)===r.charCodeAt(n);)n++;if(n===e.length&&(r.length===n||r[n]===ca))return e;var i=Aa(e);if(n<i)return;t=e.lastIndexOf(ca,n-1);return-1!==t?e.substr(0,Math.max(t,i)):void 0}(r,e),a=r;for(;a!==n;){var i=lA(a);if(i===a||o.has(i))break;o.set(i,t),a=i}}}}}function OS(e,t,r,n,a){var i=DS(e,t,r),o=IS(e,t,r,a);return null!=n||(n=CS(e,t)),__assign(__assign(__assign(__assign({},n),i),o),{clear:function(){s(),n.clear()},update:function(e){i.update(e),o.update(e)},getPackageJsonInfoCache:function(){return n},clearAllExceptPackageJsonInfoCache:s});function s(){i.clear(),o.clear()}}function LS(e,t,r,n){var a=OS(e,t,r,n,FS);return a.getOrCreateCacheForModuleName=function(e,t,r){return a.getOrCreateCacheForNonRelativeName(e,t,r)},a}function MS(e,t,r,n){return OS(e,t,r,n,PS)}function RS(e){return{moduleResolution:2,traceResolution:e.traceResolution}}function jS(e,t,r,n,a){return JS(e,t,RS(r),n,a)}function BS(e,t,r,n){t=lA(t);return r.getFromDirectoryCache(e,n,t,void 0)}function JS(e,t,r,n,a,i,o){var s=rS(r,n);i&&(r=i.commandLine.options),s&&(tS(n,mA.Resolving_module_0_from_1,e,t),i&&tS(n,mA.Using_compiler_options_of_project_reference_redirect_0,i.sourceFile.fileName));var c=lA(t),u=null==a?void 0:a.getFromDirectoryCache(e,o,c,i);if(u)s&&tS(n,mA.Resolution_for_module_0_was_found_in_cache_from_location_1,e,c);else{var _=r.moduleResolution;if(void 0===_){switch(nM(r)){case 1:_=2;break;case 100:_=3;break;case 199:_=99;break;default:_=1}s&&tS(n,mA.Module_resolution_kind_is_not_specified_using_0,Zr[_])}else s&&tS(n,mA.Explicitly_specified_module_resolution_kind_Colon_0,Zr[_]);switch(null!=St&&St.logStartResolveModule(e),_){case 3:u=VS(30,e,t,r,n,a,i,o);break;case 99:u=VS(30,e,t,r,n,a,i,o);break;case 2:u=WS(e,t,r,n,a,i);break;case 1:u=Pw(e,t,r,n,a,i);break;case 100:u=qS(e,t,r,n,a,i);break;default:return rA.fail("Unexpected moduleResolution: ".concat(_))}u&&u.resolvedModule&&null!=St&&St.logInfoEvent('Module "'.concat(e,'" resolved to "').concat(u.resolvedModule.resolvedFileName,'"')),null!=St&&St.logStopResolveModule(u&&u.resolvedModule?""+u.resolvedModule.resolvedFileName:"null"),null!=a&&a.getOrCreateCacheForDirectory(c,i).set(e,o,u),kA(e)||null!=a&&a.getOrCreateCacheForNonRelativeName(e,o,i).set(c,u)}return s&&(u.resolvedModule?u.resolvedModule.packageId?tS(n,mA.Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2,e,u.resolvedModule.resolvedFileName,Vu(u.resolvedModule.packageId)):tS(n,mA.Module_name_0_was_successfully_resolved_to_1,e,u.resolvedModule.resolvedFileName):tS(n,mA.Module_name_0_was_not_resolved,e)),u}function zS(e,t,r,n,a){var i=function(e,t,r,n){var a=n.compilerOptions,i=a.baseUrl,o=a.paths,a=a.configFile;if(o&&!sA(t)){n.traceEnabled&&(i&&tS(n.host,mA.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1,i,t),tS(n.host,mA.paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0,t));var i=Dd(n.compilerOptions,n.host),s=null!=a&&a.configFileSpecs?(s=a.configFileSpecs).pathPatterns||(s.pathPatterns=gm(o)):void 0;return ww(e,t,i,o,s,r,!1,n)}}(e,t,n,a);return i?i.value:kA(t)?function(e,t,r,n,a){var i,o,s,c;if(!a.compilerOptions.rootDirs)return;a.traceEnabled&&tS(a.host,mA.rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0,t);var u,_,l=pi(dA(r,t));try{for(var d=__values(a.compilerOptions.rootDirs),f=d.next();!f.done;f=d.next()){var p=pi(v=f.value);qD(p,ca)||(p+=ca);var m=XD(l,p)&&(void 0===_||_.length<p.length);a.traceEnabled&&tS(a.host,mA.Checking_if_0_is_the_longest_matching_prefix_for_1_2,p,l,m),m&&(_=p,u=v)}}catch(e){i={error:e}}finally{try{f&&!f.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}if(_){a.traceEnabled&&tS(a.host,mA.Longest_matching_prefix_for_0_is_1,l,_);var y=l.substr(_.length);a.traceEnabled&&tS(a.host,mA.Loading_0_from_the_root_dir_1_candidate_location_2,y,_,l);r=n(e,l,!yf(r,a.host),a);if(r)return r;a.traceEnabled&&tS(a.host,mA.Trying_other_entries_in_rootDirs);try{for(var v,g=__values(a.compilerOptions.rootDirs),h=g.next();!h.done;h=g.next())if((v=h.value)!==u){var x=dA(pi(v),y);a.traceEnabled&&tS(a.host,mA.Loading_0_from_the_root_dir_1_candidate_location_2,y,v,x);var b=lA(x),b=n(e,x,!yf(b,a.host),a);if(b)return b}}catch(e){s={error:e}}finally{try{h&&!h.done&&(c=g.return)&&c.call(g)}finally{if(s)throw s.error}}a.traceEnabled&&tS(a.host,mA.Module_resolution_using_rootDirs_has_failed)}return}(e,t,r,n,a):function(e,t,r,n){var a=n.compilerOptions.baseUrl;if(!a)return;n.traceEnabled&&tS(n.host,mA.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1,a,t);var i=pi(dA(a,t));n.traceEnabled&&tS(n.host,mA.Resolving_module_name_0_relative_to_base_url_1_2,t,a,i);return r(e,i,!yf(lA(i),n.host),n)}(e,t,n,a)}function US(e,t,r){var n=KS(0,e,t,{moduleResolution:2,allowJs:!0},r,void 0,2,!1,void 0),r=n.resolvedModule,n=n.failedLookupLocations;if(!r)throw new Error("Could not resolve JS module '".concat(e,"' starting at '").concat(t,"'. Looked in: ").concat(null==n?void 0:n.join(", ")));return r.resolvedFileName}function VS(e,t,r,n,a,i,o,s){var c=lA(r),r=99===s?32:0,s=n.noDtsResolution?3:7;return lM(n)&&(s|=8),KS(e|r,t,c,n,a,i,s,!1,o)}function qS(e,t,r,n,a,i){var o=lA(t),t=r.noDtsResolution?3:7;return lM(r)&&(t|=8),KS(xS(r),e,o,r,n,a,t,!1,i)}function WS(e,t,r,n,a,i,o){var s;return o?s=8:r.noDtsResolution?(s=3,lM(r)&&(s|=8)):s=lM(r)?15:7,KS(0,e,lA(t),r,n,a,s,!!o,i)}function HS(e,t,r){return KS(30,e,lA(t),{moduleResolution:99},r,void 0,8,!0,void 0)}function KS(a,i,o,e,s,c,t,r,u){var n,_,l,d,f=rS(e,s),p=[],m=[],y=bS(e,!!(32&a)),v=[],g={compilerOptions:e,host:s,traceEnabled:f,failedLookupLocations:p,affectingLocations:m,packageJsonInfoCache:c,features:a,conditions:y,requestContainingDirectory:o,reportDiagnostic:function(e){v.push(e)},isConfigLookup:r,candidateIsFromPackageJsonField:!1};return f&&Ip(iM(e))&&tS(s,mA.Resolving_in_0_mode_with_conditions_1,32&a?"ESM":"CJS",y.map(function(e){return"'".concat(e,"'")}).join(", ")),null!=(n=null==(_=2===iM(e)?(n=-6&t,(_=5&t)&&h(_,g)||n&&h(n,g)||void 0):h(t,g))?void 0:_.value)&&n.isExternalLibraryImport&&!r&&5&t&&8&a&&!kA(i)&&!fw(5,_.value.resolved.extension)&&-1<y.indexOf("import")&&(Mw(g,mA.Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_if_npm_library_needs_configuration_update),null!=(t=null==(d=h(5&t,__assign(__assign({},g),{features:-9&g.features,reportDiagnostic:fi})))?void 0:d.value)&&t.isExternalLibraryImport&&(l=d.value.resolved.path)),cS(i,null==(d=null==_?void 0:_.value)?void 0:d.resolved,null==(_=null==_?void 0:_.value)?void 0:_.isExternalLibraryImport,p,m,v,g,l);function h(e,t){var r=zS(e,i,o,function(e,t,r,n){return XS(e,t,r,n,!0)},t);if(r)return Lw({resolved:r,isExternalLibraryImport:QS(r.path)});if(kA(i)){var r=GS(o,i),n=r.path,r=r.parts;return(n=XS(e,n,!1,t,!0))&&Lw({resolved:n,isExternalLibraryImport:eD(r,"node_modules")})}var n=void 0;if(2&a&&XD(i,"#")&&(n=function(e,t,r,n,a,i){if("#"===t||XD(t,"#/"))return void(n.traceEnabled&&tS(n.host,mA.Invalid_import_specifier_0_has_no_possible_resolutions,t));var r=fA(dA(r,"dummy"),null==(r=(o=n.host).getCurrentDirectory)?void 0:r.call(o)),o=uw(r,n);if(!o)return void(n.traceEnabled&&tS(n.host,mA.Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve,r));if(!o.contents.packageJsonContent.imports)return void(n.traceEnabled&&tS(n.host,mA.package_json_scope_0_has_no_imports_defined,o.packageDirectory));i=gw(e,n,a,i,t,o.contents.packageJsonContent.imports,o,!0);if(i)return i;n.traceEnabled&&tS(n.host,mA.Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1,t,o.packageDirectory);return}(e,i,o,t,c,u)),!n&&4&a&&(n=function(e,t,r,n,a,i){var o,s=uw(fA(dA(r,"dummy"),null==(o=(s=n.host).getCurrentDirectory)?void 0:o.call(s)),n);if(!s||!s.contents.packageJsonContent.exports)return;if("string"!=typeof s.contents.packageJsonContent.name)return;var c=Ia(t),t=Ia(s.contents.packageJsonContent.name);if(!XN(t,function(e,t){return c[t]===e}))return;t=c.slice(t.length),t=HN(t)?".".concat(ca).concat(t.join(ca)):".";if(Rp(n.compilerOptions)&&!QS(r))return yw(s,e,t,n,a,i);r=-6&e;return yw(s,5&e,t,n,a,i)||yw(s,r,t,n,a,i)}(e,i,o,t,c,u)),!n){if(-1<i.indexOf(":"))return void(f&&tS(s,mA.Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1,i,oS(e)));f&&tS(s,mA.Loading_module_0_from_node_modules_folder_target_file_types_Colon_1,i,oS(e)),n=bw(e,i,o,t,c,u)}return 4&e&&(null!=n||(n=Iw(i,t))),n&&{value:n.value&&{resolved:n.value,isExternalLibraryImport:!0}}}}function GS(e,t){var r=dA(e,t),e=Ia(r),t=CD(e);return{path:"."===t||".."===t?Ua(pi(r)):pi(r),parts:e}}function XS(e,t,r,n,a){if(n.traceEnabled&&tS(n.host,mA.Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_types_Colon_1,t,oS(e)),!Ca(t)){r||(yf(o=lA(t),n.host)||(n.traceEnabled&&tS(n.host,mA.Directory_0_does_not_exist_skipping_all_lookups_in_it,o),r=!0));var i=ew(e,t,r,n);if(i){var o=a?YS(i.path):void 0;return nS(o?lw(o,!1,n):void 0,i)}}if(r||yf(t,n.host)||(n.traceEnabled&&tS(n.host,mA.Directory_0_does_not_exist_skipping_all_lookups_in_it,t),r=!0),!(32&n.features))return ow(e,t,r,n,a)}function QS(e){return WD(e,ZT)}function YS(e,t){var r=pi(e),n=r.lastIndexOf(ZT);if(-1!==n){e=n+ZT.length,n=ZS(r,e,t);return 64===r.charCodeAt(e)&&(n=ZS(r,n,t)),r.slice(0,n)}}function ZS(e,t,r){var n=e.indexOf(ca,t+1);return-1===n?r?e.length:t:n}function $S(e,t,r,n){return aS(ew(e,t,r,n))}function ew(e,t,r,n){var a=tw(e,t,r,n);if(a)return a;if(!(32&n.features)){n=nw(t,e,"",r,n);if(n)return n}}function tw(e,t,r,n){if(-1!==Ea(t).indexOf(".")){var a=pm(t);a===t&&(a=t.substring(0,t.lastIndexOf(".")));var i=t.substring(a.length);return n.traceEnabled&&tS(n.host,mA.File_name_0_has_a_1_extension_stripping_it,t,i),nw(a,e,i,r,n)}}function rw(e,t,r,n){return 1&e&&_A(t,Su)||4&e&&_A(t,Tu)?void 0!==aw(t,r,n)?{path:t,ext:jL(t),resolvedUsingTsExtension:void 0}:void 0:n.isConfigLookup&&8===e&&uA(t,".json")?void 0!==aw(t,r,n)?{path:t,ext:".json",resolvedUsingTsExtension:void 0}:void 0:tw(e,t,r,n)}function nw(n,e,t,a,i){var r;switch(a||(r=lA(n))&&(a=!yf(r,i.host)),t){case".mjs":case".mts":case".d.mts":return 1&e&&o(".mts",".mts"===t||".d.mts"===t)||4&e&&o(".d.mts",".mts"===t||".d.mts"===t)||2&e&&o(".mjs")||void 0;case".cjs":case".cts":case".d.cts":return 1&e&&o(".cts",".cts"===t||".d.cts"===t)||4&e&&o(".d.cts",".cts"===t||".d.cts"===t)||2&e&&o(".cjs")||void 0;case".json":return 4&e&&o(".d.json.ts")||8&e&&o(".json")||void 0;case".tsx":case".jsx":return 1&e&&(o(".tsx",".tsx"===t)||o(".ts",".tsx"===t))||4&e&&o(".d.ts",".tsx"===t)||2&e&&(o(".jsx")||o(".js"))||void 0;case".ts":case".d.ts":case".js":case"":return 1&e&&(o(".ts",".ts"===t||".d.ts"===t)||o(".tsx",".ts"===t||".d.ts"===t))||4&e&&o(".d.ts",".ts"===t||".d.ts"===t)||2&e&&(o(".js")||o(".jsx"))||i.isConfigLookup&&o(".json")||void 0;default:return 4&e&&!QB(n+t)&&o(".d".concat(t,".ts"))||void 0}function o(e,t){var r=aw(n+e,a,i);return void 0===r?void 0:{path:r,ext:e,resolvedUsingTsExtension:!i.candidateIsFromPackageJsonField&&t}}}function aw(e,t,r){var n;if(null==(n=r.compilerOptions.moduleSuffixes)||!n.length)return iw(e,t,r);var a=null!==(n=kM(e))&&void 0!==n?n:"",i=a?xM(e,a):e;return KN(r.compilerOptions.moduleSuffixes,function(e){return iw(i+e+a,t,r)})}function iw(e,t,r){if(!t){if(r.host.fileExists(e))return r.traceEnabled&&tS(r.host,mA.File_0_exists_use_it_as_a_name_resolution_result,e),e;r.traceEnabled&&tS(r.host,mA.File_0_does_not_exist,e)}null!=(r=r.failedLookupLocations)&&r.push(e)}function ow(e,t,r,n,a){void 0===a&&(a=!0);a=a?lw(t,r,n):void 0;return nS(a,dw(e,t,r,n,a&&a.contents.packageJsonContent,a&&_w(a,n)))}function sw(e,t,r,n,a){var i,o,s,c;if(!a&&void 0!==e.contents.resolvedEntrypoints)return e.contents.resolvedEntrypoints;var u=5|(a?2:0),a=xS(t),_=cw(null==n?void 0:n.getPackageJsonInfoCache(),r,t);_.conditions=bS(t),_.requestContainingDirectory=e.packageDirectory;n=dw(u,e.packageDirectory,!1,_,e.contents.packageJsonContent,_w(e,_));if(g=vD(g,null==n?void 0:n.path),8&a&&e.contents.packageJsonContent.exports){var l=mD([bS(t,!0),bS(t,!1)],nr);try{for(var d=__values(l),f=d.next();!f.done;f=d.next()){var p=f.value,p=__assign(__assign({},_),{failedLookupLocations:[],conditions:p,host:r}),m=function(s,e,c,u){var t,r,_;if(RD(e))try{for(var n=__values(e),a=n.next();!a.done;a=n.next())l(a.value)}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}else if("object"==typeof e&&null!==e&&mw(e))for(var i in e)l(e[i]);else l(e);return _;function l(t){var r,e;if("string"==typeof t&&XD(t,"./")){if(!(0<=t.indexOf("*")&&c.host.readDirectory)){var n=Ia(t).slice(2);if(0<=n.indexOf("..")||0<=n.indexOf(".")||0<=n.indexOf("node_modules"))return!1;var n=fA(dA(s.packageDirectory,t),null==(n=(a=c.host).getCurrentDirectory)?void 0:n.call(a)),a=rw(u,n,!1,c);return a?(_=xD(_,a,function(e,t){return e.path===t.path}),!0):void 0}if(t.indexOf("*")!==t.lastIndexOf("*"))return!1;c.host.readDirectory(s.packageDirectory,(n=[],1&(a=u)&&n.push.apply(n,__spreadArray([],__read(Su),!1)),2&a&&n.push.apply(n,__spreadArray([],__read(xu),!1)),4&a&&n.push.apply(n,__spreadArray([],__read(Tu),!1)),8&a&&n.push(".json"),n),void 0,[qa(t.replace("*","**/*"),Cd(t))]).forEach(function(e){_=xD(_,{path:e,ext:Pa(e),resolvedUsingTsExtension:void 0})})}else if(Array.isArray(t))try{for(var i=__values(t),o=i.next();!o.done;o=i.next())if(l(o.value))return!0}catch(e){r={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(r)throw r.error}}else if("object"==typeof t&&null!==t)return KN(G(t),function(e){if("default"===e||eD(c.conditions,e)||xw(c.conditions,e))return l(t[e]),!0})}}(e,e.contents.packageJsonContent.exports,p,u);if(m)try{for(var y=(s=void 0,__values(m)),v=y.next();!v.done;v=y.next())var g=xD(g,v.value.path)}catch(e){s={error:e}}finally{try{v&&!v.done&&(c=y.return)&&c.call(y)}finally{if(s)throw s.error}}}}catch(e){i={error:e}}finally{try{f&&!f.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}}return e.contents.resolvedEntrypoints=g||!1}function cw(e,t,r){return{host:t,compilerOptions:r,traceEnabled:rS(r,t),failedLookupLocations:void 0,affectingLocations:void 0,packageJsonInfoCache:e,features:0,conditions:WN,requestContainingDirectory:void 0,reportDiagnostic:fi,isConfigLookup:!1,candidateIsFromPackageJsonField:!1}}function uw(e,t){var r=Ia(e);for(r.pop();0<r.length;){var n=lw(Oa(r),!1,t);if(n)return n;r.pop()}}function _w(e,t){return void 0===e.contents.versionPaths&&(e.contents.versionPaths=pS(e.contents.packageJsonContent,t)||!1),e.contents.versionPaths||void 0}function lw(e,t,r){var n=r.host,a=r.traceEnabled,i=dA(e,"package.json");if(t)null!=(o=r.failedLookupLocations)&&o.push(i);else{var o=null==(t=r.packageJsonInfoCache)?void 0:t.getPackageJsonInfo(i);if(void 0!==o)return"boolean"!=typeof o?(a&&tS(n,mA.File_0_exists_according_to_earlier_cached_lookups,i),null!=(t=r.affectingLocations)&&t.push(i),o.packageDirectory===e?o:{packageDirectory:e,contents:o.contents}):(o&&a&&tS(n,mA.File_0_does_not_exist_according_to_earlier_cached_lookups,i),void(null!=(s=r.failedLookupLocations)&&s.push(i)));o=yf(e,n);if(o&&n.fileExists(i)){var s=mf(i,n);a&&tS(n,mA.Found_package_json_at_0,i);e={packageDirectory:e,contents:{packageJsonContent:s,versionPaths:void 0,resolvedEntrypoints:void 0}};return null!=(s=r.packageJsonInfoCache)&&s.setPackageJsonInfo(i,e),null!=(s=r.affectingLocations)&&s.push(i),e}o&&a&&tS(n,mA.File_0_does_not_exist,i),null!=(n=r.packageJsonInfoCache)&&n.setPackageJsonInfo(i,o),null!=(r=r.failedLookupLocations)&&r.push(i)}}function dw(e,t,r,n,u,a){var i;u&&(i=n.isConfigLookup?fS(u,"tsconfig",t,n):4&e&&(fS(s=u,"typings",c=t,_=n)||fS(s,"types",c,_))||7&e&&fS(u,"main",t,n)||void 0);function o(e,t,r,n){var a,i,o,s=aw(t,r,n);if(s){var c=(a=e,void 0!==(c=kM(i=s))&&fw(a,c)?{path:i,ext:c,resolvedUsingTsExtension:o}:void 0);if(c)return aS(c);n.traceEnabled&&tS(n.host,mA.File_0_has_an_unsupported_extension_so_skipping_it,s)}return c=4===e?5:e,s=n.features,e=n.candidateIsFromPackageJsonField,n.candidateIsFromPackageJsonField=!0,"module"!==(null==u?void 0:u.type)&&(n.features&=-33),r=XS(c,t,r,n,!1),n.features=s,n.candidateIsFromPackageJsonField=e,r}var s=i?!yf(lA(i),n.host):void 0,c=r||!yf(t,n.host),_=dA(t,n.isConfigLookup?"tsconfig":"index");if(a&&(!i||Ga(t,i))){r=Ya(t,i||_,!1);n.traceEnabled&&tS(n.host,mA.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,a.version,oe,r);a=ww(e,r,t,a.paths,void 0,o,s||c,n);if(a)return iS(a.value)}s=i&&iS(o(e,i,s,n));return s||(32&n.features?void 0:ew(e,_,c,n))}function fw(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}function pw(e){var t=e.indexOf(ca);return"@"===e[0]&&(t=e.indexOf(ca,t+1)),-1===t?{packageName:e,rest:""}:{packageName:e.slice(0,t),rest:e.slice(t+1)}}function mw(e){return XN(G(e),function(e){return XD(e,".")})}function yw(e,t,r,n,a,i){if(e.contents.packageJsonContent.exports){if("."===r){var o=void 0;if("string"==typeof e.contents.packageJsonContent.exports||Array.isArray(e.contents.packageJsonContent.exports)||"object"==typeof e.contents.packageJsonContent.exports&&!dD(G(e.contents.packageJsonContent.exports),function(e){return XD(e,".")})?o=e.contents.packageJsonContent.exports:ma(e.contents.packageJsonContent.exports,".")&&(o=e.contents.packageJsonContent.exports["."]),o)return hw(t,n,a,i,r,e,!1)(o,"",!1,".")}else if(mw(e.contents.packageJsonContent.exports)){if("object"!=typeof e.contents.packageJsonContent.exports)return void(n.traceEnabled&&tS(n.host,mA.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,r,e.packageDirectory));i=gw(t,n,a,i,r,e.contents.packageJsonContent.exports,e,!1);if(i)return i}n.traceEnabled&&tS(n.host,mA.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,r,e.packageDirectory)}}function vw(e,t){var r=e.indexOf("*"),n=t.indexOf("*"),a=-1===r?e.length:r+1,i=-1===n?t.length:n+1;return i<a?-1:a<i||-1===r?1:-1===n||e.length>t.length?-1:t.length>e.length?1:0}function gw(e,t,r,n,a,i,o,s){var c,u,_=hw(e,t,r,n,a,o,s);if(!qD(a,ca)&&-1===a.indexOf("*")&&ma(i,a))return _(m=i[a],"",!1,a);var l=M(nD(G(i),function(e){return-1!==e.indexOf("*")||qD(e,"/")}),vw);try{for(var d=__values(l),f=d.next();!f.done;f=d.next()){var p=f.value;if(16&t.features&&function(e,t){if(qD(e,"*"))return!1;var r=e.indexOf("*");return-1!==r&&(XD(t,e.substring(0,r))&&qD(t,e.substring(r+1)))}(p,a)){var m=i[p],y=p.indexOf("*");return _(m,a.substring(p.substring(0,y).length,a.length-(p.length-1-y)),!0,p)}if(qD(p,"*")&&XD(a,p.substring(0,p.length-1)))return _(m=i[p],a.substring(p.length-1),!0,p);if(XD(a,p))return _(m=i[p],a.substring(p.length),!1,p)}}catch(e){c={error:e}}finally{try{f&&!f.done&&(u=d.return)&&u.call(d)}finally{if(c)throw c.error}}}function hw(B,J,x,b,k,z,T){return function e(t,r,n,a){var i,o,s,c;{if("string"==typeof t){if(!n&&0<r.length&&!qD(t,"/"))return void(J.traceEnabled&&tS(J.host,mA.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,z.packageDirectory,k));if(!XD(t,"./")){if(!T||XD(t,"../")||XD(t,"/")||ka(t))return void(J.traceEnabled&&tS(J.host,mA.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,z.packageDirectory,k));var u=n?t.replace(/\*/g,r):t+r;Mw(J,mA.Using_0_subpath_1_with_target_2,"imports",a,u),Mw(J,mA.Resolving_module_0_from_1,u,z.packageDirectory+"/");var _=KS(J.features,u,z.packageDirectory+"/",J.compilerOptions,J.host,x,B,!1,b);return Lw(_.resolvedModule?{path:_.resolvedModule.resolvedFileName,extension:_.resolvedModule.extension,packageId:_.resolvedModule.packageId,originalPath:_.resolvedModule.originalPath,resolvedUsingTsExtension:_.resolvedModule.resolvedUsingTsExtension}:void 0)}var l=sA(t)?Ia(t).slice(1):Ia(t),u=l.slice(1);if(0<=u.indexOf("..")||0<=u.indexOf(".")||0<=u.indexOf("node_modules"))return void(J.traceEnabled&&tS(J.host,mA.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,z.packageDirectory,k));l=dA(z.packageDirectory,t),u=Ia(r);if(0<=u.indexOf("..")||0<=u.indexOf(".")||0<=u.indexOf("node_modules"))return void(J.traceEnabled&&tS(J.host,mA.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,z.packageDirectory,k));J.traceEnabled&&tS(J.host,mA.Using_0_subpath_1_with_target_2,T?"imports":"exports",a,n?t.replace(/\*/g,r):t+r);var u=R(n?l.replace(/\*/g,r):l+r),l=h(u,r,dA(z.packageDirectory,"package.json"),T);return l?l:Lw(nS(z,rw(B,u,!1,J)))}if("object"==typeof t&&null!==t){if(!Array.isArray(t)){Mw(J,mA.Entering_conditional_exports);try{for(var d=__values(G(t)),f=d.next();!f.done;f=d.next()){var p=f.value;if("default"===p||0<=J.conditions.indexOf(p)||xw(J.conditions,p)){Mw(J,mA.Matched_0_condition_1,T?"imports":"exports",p);var m=t[p],_=e(m,r,n,a);if(_)return Mw(J,mA.Resolved_under_condition_0,p),Mw(J,mA.Exiting_conditional_exports),_;Mw(J,mA.Failed_to_resolve_under_condition_0,p)}else Mw(J,mA.Saw_non_matching_condition_0,p)}}catch(e){i={error:e}}finally{try{f&&!f.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}return void Mw(J,mA.Exiting_conditional_exports)}if(!HN(t))return void(J.traceEnabled&&tS(J.host,mA.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,z.packageDirectory,k));try{for(var y=__values(t),v=y.next();!v.done;v=y.next()){var g=v.value,_=e(g,r,n,a);if(_)return _}}catch(e){s={error:e}}finally{try{v&&!v.done&&(c=y.return)&&c.call(y)}finally{if(s)throw s.error}}}else if(null===t)return void(J.traceEnabled&&tS(J.host,mA.package_json_scope_0_explicitly_maps_specifier_1_to_null,z.packageDirectory,k))}J.traceEnabled&&tS(J.host,mA.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,z.packageDirectory,k);return;function R(e){var t;return void 0===e?e:fA(e,null==(e=(t=J.host).getCurrentDirectory)?void 0:e.call(t))}function j(e,t){return Ua(dA(e,t))}function h(e,t,r,n){var a,i,o,s,c,u,_,l,d,f;if(!J.isConfigLookup&&(J.compilerOptions.declarationDir||J.compilerOptions.outDir)&&-1===e.indexOf("/node_modules/")&&(!J.compilerOptions.configFile||Ga(z.packageDirectory,R(J.compilerOptions.configFile.fileName),!Rw(J)))){var p=hd({useCaseSensitiveFileNames:function(){return Rw(J)}}),m=[];if(J.compilerOptions.rootDir||J.compilerOptions.composite&&J.compilerOptions.configFilePath){var y=R(OU(J.compilerOptions,function(){return[]},(null==(d=(f=J.host).getCurrentDirectory)?void 0:d.call(f))||"",p));m.push(y)}else if(J.requestContainingDirectory){var v=R(dA(J.requestContainingDirectory,"index.ts")),y=R(OU(J.compilerOptions,function(){return[v,R(r)]},(null==(f=(d=J.host).getCurrentDirectory)?void 0:f.call(d))||"",p));m.push(y);for(var g=Ua(y);g&&1<g.length;){var h=Ia(g);h.pop();var h=Oa(h);m.unshift(h),g=Ua(h)}}1<m.length&&J.reportDiagnostic(ZL(n?mA.The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:mA.The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate,""===t?".":t,r));try{for(var x=__values(m),b=x.next();!b.done;b=x.next()){var k=b.value,T=M(k);try{for(var S=(o=void 0,__values(T)),w=S.next();!w.done;w=S.next()){var C=w.value;if(Ga(C,e,!Rw(J))){var C=e.slice(C.length+1),N=dA(k,C),D=[".mjs",".cjs",".js",".json",".d.mts",".d.cts",".d.ts"];try{for(var A=(c=void 0,__values(D)),E=A.next();!E.done;E=A.next()){var F=E.value;if(uA(N,F)){var P=Nd(N);try{for(var I=(_=void 0,__values(P)),O=I.next();!O.done;O=I.next()){var L=O.value;if(fw(B,L)){var L=qa(N,L,F,!Rw(J));if(J.host.fileExists(L))return Lw(nS(z,rw(B,L,!1,J)))}}}catch(e){_={error:e}}finally{try{O&&!O.done&&(l=I.return)&&l.call(I)}finally{if(_)throw _.error}}}}}catch(e){c={error:e}}finally{try{E&&!E.done&&(u=A.return)&&u.call(A)}finally{if(c)throw c.error}}}}}catch(e){o={error:e}}finally{try{w&&!w.done&&(s=S.return)&&s.call(S)}finally{if(o)throw o.error}}}}catch(e){a={error:e}}finally{try{b&&!b.done&&(i=x.return)&&i.call(x)}finally{if(a)throw a.error}}}function M(e){var t,r=J.compilerOptions.configFile?(null==(t=(r=J.host).getCurrentDirectory)?void 0:t.call(r))||"":e,e=[];return J.compilerOptions.declarationDir&&e.push(R(j(r,J.compilerOptions.declarationDir))),J.compilerOptions.outDir&&J.compilerOptions.outDir!==J.compilerOptions.declarationDir&&e.push(R(j(r,J.compilerOptions.outDir))),e}}}}function xw(e,t){if(-1===e.indexOf("types"))return!1;if(!XD(t,"types@"))return!1;t=tt.tryParse(t.substring("types@".length));return!!t&&t.test(oe)}function bw(e,t,r,n,a,i){return kw(e,t,r,n,!1,a,i)}function kw(e,n,t,a,i,o,s){var c=0===a.features?void 0:32&a.features?99:1,r=5&e,e=-6&e;if(r){Mw(a,mA.Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0,oS(r));r=u(r);if(r)return r}if(e&&!i)return Mw(a,mA.Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0,oS(e)),u(e);function u(r){return ti(La(t),function(e){if("node_modules"!==Ea(e)){var t=Fw(o,n,c,e,s,a);return t?t:Lw(Tw(r,n,e,a,i,o,s))}})}}function Tw(e,t,r,n,a,i,o){var s=dA(r,"node_modules"),r=yf(s,n.host);if(!r&&n.traceEnabled&&tS(n.host,mA.Directory_0_does_not_exist_skipping_all_lookups_in_it,s),!a){a=Sw(e,t,s,r,n,i,o);if(a)return a}if(4&e){e=dA(s,"@types"),s=r;return r&&!yf(e,n.host)&&(n.traceEnabled&&tS(n.host,mA.Directory_0_does_not_exist_skipping_all_lookups_in_it,e),s=!1),Sw(4,Cw(t,n),e,s,n,i,o)}}function Sw(e,t,r,n,a,i,o){var s,c=pi(dA(r,t)),u=pw(t),t=u.packageName,_=u.rest,r=dA(r,t),l=lw(c,!n,a);if(""!==_&&l&&(!(8&a.features)||!ma(null!==(t=null==(t=s=lw(r,!n,a))?void 0:t.contents.packageJsonContent)&&void 0!==t?t:WN,"exports"))){var d=ew(e,c,!n,a);if(d)return aS(d);d=dw(e,c,!n,a,l.contents.packageJsonContent,_w(l,a));return nS(l,d)}d=function(e,t,r,n){var a=(_||!(32&n.features))&&ew(e,t,r,n)||dw(e,t,r,n,l&&l.contents.packageJsonContent,l&&_w(l,n));return!a&&l&&(void 0===l.contents.packageJsonContent.exports||null===l.contents.packageJsonContent.exports)&&32&n.features&&(a=ew(e,dA(t,"index.js"),r,n)),nS(l,a)};if(""!==_&&(l=null!=s?s:lw(r,!n,a)),l&&l.contents.packageJsonContent.exports&&8&a.features)return null==(f=yw(l,e,dA(".",_),a,i,o))?void 0:f.value;o=""!==_&&l?_w(l,a):void 0;if(o){a.traceEnabled&&tS(a.host,mA.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,o.version,oe,_);var f=n&&yf(r,a.host),f=ww(e,_,r,o.paths,void 0,d,!f,a);if(f)return f.value}return d(e,c,!n,a)}function ww(n,e,a,t,r,i,o,s){r=Tm(r=r||gm(t),e);if(r){var c=jD(r)?void 0:Oe(r,e),r=jD(r)?r:Ie(r);return s.traceEnabled&&tS(s.host,mA.Module_name_0_matched_pattern_1,e,r),{value:KN(t[r],function(e){var t=c?e.replace("*",c):e,r=pi(dA(a,t));s.traceEnabled&&tS(s.host,mA.Trying_substitution_0_candidate_module_location_Colon_1,e,t);t=kM(e);if(void 0!==t){e=aw(r,o,s);if(void 0!==e)return aS({path:e,ext:t,resolvedUsingTsExtension:void 0})}return i(n,r,o||!yf(lA(r),s.host),s)})}}}function Cw(e,t){var r=Dw(e);return t.traceEnabled&&r!==e&&tS(t.host,mA.Scoped_package_detected_looking_in_0,r),r}function Nw(e){return"@types/".concat(Dw(e))}function Dw(e){if(XD(e,"@")){var t=e.replace(ca,$T);if(t!==e)return t.slice(1)}return e}function Aw(e){var t=QD(e,"@types/");return t!==e?Ew(t):e}function Ew(e){return WD(e,$T)?"@"+e.replace($T,ca):e}function Fw(e,t,r,n,a,i){a=e&&e.getFromNonRelativeNameCache(t,r,n,a);if(a)return i.traceEnabled&&tS(i.host,mA.Resolution_for_module_0_was_found_in_cache_from_location_1,t,n),{value:(i.resultFromCache=a).resolvedModule&&{path:a.resolvedModule.resolvedFileName,originalPath:a.resolvedModule.originalPath||!0,extension:a.resolvedModule.extension,packageId:a.resolvedModule.packageId,resolvedUsingTsExtension:a.resolvedModule.resolvedUsingTsExtension}}}function Pw(n,e,t,r,a,i){var o=rS(t,r),s=[],c=[],u=lA(e),_=[],l={compilerOptions:t,host:r,traceEnabled:o,failedLookupLocations:s,affectingLocations:c,packageJsonInfoCache:a,features:0,conditions:[],requestContainingDirectory:u,reportDiagnostic:function(e){_.push(e)},isConfigLookup:!1,candidateIsFromPackageJsonField:!1},t=d(5)||d(2|(t.resolveJsonModule?8:0));return cS(n,t&&t.value,(null==t?void 0:t.value)&&QS(t.value.path),s,c,_,l);function d(r){var e=zS(r,n,u,$S,l);if(e)return{value:e};if(kA(n)){var t=pi(dA(u,n));return Lw($S(r,t,!1,l))}t=ti(u,function(e){var t=Fw(a,n,void 0,e,i,l);if(t)return t;e=pi(dA(e,n));return Lw($S(r,e,!1,l))});if(t)return t;if(5&r){t=kw(4,n,u,l,!0,void 0,void 0);return 4&r&&(null!=t||(t=Iw(n,l))),t}}}function Iw(e,t){var r,n;if(t.compilerOptions.typeRoots)try{for(var a=__values(t.compilerOptions.typeRoots),i=a.next();!i.done;i=a.next()){var o=i.value,s=gS(o,e,t),c=yf(o,t.host);!c&&t.traceEnabled&&tS(t.host,mA.Directory_0_does_not_exist_skipping_all_lookups_in_it,o);var u=ew(4,s,!c,t);if(u){o=YS(u.path);return Lw(nS(o?lw(o,!1,t):void 0,u))}c=ow(4,s,!c,t);if(c)return Lw(c)}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}function ZB(e,t){return!!e.allowImportingTsExtensions||t&&QB(t)}function Ow(e,t,r,n,a,i){var o=rS(r,n);o&&tS(n,mA.Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2,t,e,a);var s=[],t=[],c=[],i={compilerOptions:r,host:n,traceEnabled:o,failedLookupLocations:s,affectingLocations:t,packageJsonInfoCache:i,features:0,conditions:[],requestContainingDirectory:void 0,reportDiagnostic:function(e){c.push(e)},isConfigLookup:!1,candidateIsFromPackageJsonField:!1};return uS(Tw(4,e,a,i,!1,void 0,void 0),!0,s,t,c,i.resultFromCache)}function Lw(e){return void 0!==e?{value:e}:void 0}function Mw(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];e.traceEnabled&&tS.apply(void 0,__spreadArray([e.host,t],__read(r),!1))}function Rw(e){return!e.host.useCaseSensitiveFileNames||("boolean"==typeof e.host.useCaseSensitiveFileNames?e.host.useCaseSensitiveFileNames:e.host.useCaseSensitiveFileNames())}var jw,Bw,Jw,zw=e({"src/compiler/moduleNameResolver.ts":function(){MK(),QT=dA("node_modules","@types"),YT=function(e){return e[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",e}(YT||{}),ZT="/node_modules/",$T="__"}});function $B(e,t){return e.body&&!e.body.parent&&(jM(e.body,e),Fm(e.body,!1)),e.body?Uw(e.body,t):1}function Uw(e,t){void 0===t&&(t=new Map);var r=mJ(e);if(t.has(r))return t.get(r)||0;t.set(r,void 0);e=function(e,r){var t,n;switch(e.kind){case 264:case 265:return 0;case 266:if(dP(e))return 2;break;case 272:case 271:if(!_L(e,1))return 0;break;case 278:var a=e;if(a.moduleSpecifier||!a.exportClause||279!==a.exportClause.kind)break;var i=0;try{for(var o=__values(a.exportClause.elements),s=o.next();!s.done;s=o.next()){var c=function(e,t){var r,n,a=e.propertyName||e.name,i=e.parent;for(;i;){if(kj(i)||Rj(i)||uB(i)){var o=i.statements,s=void 0;try{for(var c=(r=void 0,__values(o)),u=c.next();!u.done;u=c.next()){var _=u.value;if(jA(_,a)){_.parent||(jM(_,i),Fm(_,!1));var l=Uw(_,t);if((void 0===s||s<l)&&(s=l),1===s)return s;271===_.kind&&(s=1)}}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}if(void 0!==s)return s}i=i.parent}return 1}(s.value,r);if(i<c&&(i=c),1===i)return i}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return i;case 268:var u=0;return HB(e,function(e){var t=Uw(e,r);switch(t){case 0:return;case 2:return void(u=2);case 1:return u=1,!0;default:rA.assertNever(t)}}),u;case 267:return $B(e,r);case 80:if(4096&e.flags)return 0}return 1}(e,t);return t.set(r,e),e}function Vw(e){return rA.attachFlowNodeDebugInfo(e),e}function eJ(e,t){nA("beforeBind"),null!=St&&St.logStartBindFile(""+e.fileName),Jw(e,t),null!=St&&St.logStopBindFile(),nA("afterBind"),aA("Bind","beforeBind","afterBind")}function qw(){var x,A,r,b,k,y,T,d,S,w,E,F,P,I,O,L,M,R,j,B,C,N,n,D,J=!1,a=0,z={flags:1},U={flags:1},V=zB(function(e,t){{var r;t?(t.stackIndex++,jM(e,b),r=N,Ie(e),n=b,b=e,t.skip=!1,t.inStrictModeStack[t.stackIndex]=r,t.parentStack[t.stackIndex]=n):t={stackIndex:0,skip:!1,inStrictModeStack:[void 0],parentStack:[void 0]}}var n=e.operatorToken.kind;(TL(n)||rf(n))&&(_(e)?(n=te(),g(e,n,n),E=ce(n)):g(e,O,L),t.skip=!0);return t},function(e,t,r){if(!t.skip){t=i(e);return 28===r.operatorToken.kind&&fe(e),t}},function(e,t,r){t.skip||Ee(e)},function(e,t,r){if(!t.skip){t=i(e);return 28===r.operatorToken.kind&&fe(e),t}},function(e,t){t.skip||wL(r=e.operatorToken.kind)&&!tO(e)&&(pe(e.left),64===r&&212===e.left.kind&&ee(e.left.expression)&&(E=oe(256,E,e)));var r=t.inStrictModeStack[t.stackIndex],e=t.parentStack[t.stackIndex];void 0!==r&&(N=r);void 0!==e&&(b=e);t.skip=!1,t.stackIndex--},void 0);function i(e){if(e&&mj(e)&&!sf(e))return e;Ee(e)}return function(e,t){x=e,r=rM(A=t),N=function(e,t){return!(!pM(t,"alwaysStrict")||e.isDeclarationFile)||!!e.externalModuleIndicator}(x,t),D=new Set,a=0,n=pF.getSymbolConstructor(),rA.attachFlowNodeDebugInfo(z),rA.attachFlowNodeDebugInfo(U),x.locals||(null!=(t=iA)&&t.push(iA.Phase.Bind,"bindSourceFile",{path:x.path},!0),Ee(x),null!=(t=iA)&&t.pop(),x.symbolCount=a,x.classifiableNames=D,function(){var t,e;if(S){var r=k,n=d,a=T,i=b,o=E;try{for(var s=__values(S),c=s.next();!c.done;c=s.next()){var u=c.value,_=u.parent.parent;k=KF(_)||x,T=GF(_)||x,E=Vw({flags:2}),Ee((b=u).typeExpression);var l=JA(u);if((Ph(u)||!u.fullName)&&l&&PL(l.parent)){_=We(l.parent);if(_){Ve(x.symbol,l.parent,_,!!FA(l,function(e){return aj(e)&&"prototype"===e.name.escapedText}),!1);_=k;switch(PI(l.parent)){case 1:case 2:k=_P(x)?x:void 0;break;case 4:k=l.parent.expression;break;case 3:k=l.parent.expression.name;break;case 5:k=Hw(x,l.parent.expression)?x:aj(l.parent.expression)?l.parent.expression.name:l.parent.expression;break;case 0:return rA.fail("Shouldn't have detected typedef or enum on non-assignment declaration")}k&&f(u,524288,788968),k=_}}else Ph(u)||!u.fullName||80===u.fullName.kind?(b=u.parent,Te(u,524288,788968)):Ee(u.fullName)}}catch(e){t={error:e}}finally{try{c&&!c.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}k=r,d=n,T=a,b=i,E=o}}());j=M=L=O=I=P=F=E=S=d=T=y=k=b=r=A=x=void 0,J=B=w=!1,C=0};function q(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return F_.apply(void 0,__spreadArray([CF(e)||x,e,t],__read(r),!1))}function W(e,t){return a++,new n(e,t)}function H(e,t,r){e.flags|=r,(t.symbol=e).declarations=xD(e.declarations,t),1955&r&&!e.exports&&(e.exports=vF()),6240&r&&!e.members&&(e.members=vF()),e.constEnumOnlyModule&&304&e.flags&&(e.constEnumOnlyModule=!1),111551&r&&LI(e,t)}function K(e){if(277===e.kind)return e.isExportEquals?"export=":"default";var t=JA(e);if(t){if(RF(e)){var r=AO(t);return zF(e)?"__global":'"'.concat(r,'"')}if(167===t.kind){var n=t.expression;if(SO(n))return IA(n.text);if(Ql(n))return vA(n.operator)+n.operand.text;rA.fail("Only computed properties with literal names have declaration names")}if(bR(t)){n=IP(e);return n?FO(n.symbol,t.escapedText):void 0}return rB(t)?iR(t):DO(t)?EO(t):void 0}switch(e.kind){case 176:return"__constructor";case 184:case 179:case 330:return"__call";case 185:case 180:return"__new";case 181:return"__index";case 278:return"__export";case 312:return"export=";case 226:if(2===NI(e))return"export=";rA.fail("Unknown binary declaration kind");break;case 324:return zI(e)?"__new":"__call";case 169:return rA.assert(324===e.parent.kind,"Impossible parameter parent kind",function(){return"parent is: ".concat(rA.formatSyntaxKind(e.parent.kind),", expected JSDocFunctionType")}),"arg"+e.parent.parameters.indexOf(e)}}function p(e){return BA(e)?QF(e.name):OA(rA.checkDefined(K(e)))}function G(e,t,r,n,a,i,o){rA.assert(o||!wO(r));var s,c,u,_,l,d,f=_L(r,1024)||Kj(r)&&"default"===r.name.escapedText,o=o?"__computed":f&&t?"default":K(r);if(void 0===o)s=W(0,"__missing");else if(s=e.get(o),2885600&n&&D.add(o),s){if(i&&!s.isReplaceableByMethod)return s;s.flags&a&&(s.isReplaceableByMethod?e.set(o,s=W(0,o)):3&n&&67108864&s.flags||(BA(r)&&jM(r.name,r),c=2&s.flags?mA.Cannot_redeclare_block_scoped_variable_0:mA.Duplicate_identifier_0,u=!0,(384&s.flags||384&n)&&(c=mA.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations,u=!1),_=!1,HN(s.declarations)&&(f||s.declarations&&s.declarations.length&&277===r.kind&&!r.isExportEquals)&&(c=mA.A_module_cannot_have_multiple_default_exports,_=!(u=!1)),l=[],Oj(r)&&EF(r.type)&&_L(r,1)&&2887656&s.flags&&l.push(q(r,mA.Did_you_mean_0,"export type { ".concat(OA(r.name.escapedText)," }"))),d=JA(r)||r,KN(s.declarations,function(e,t){var r=JA(e)||e,e=u?q(r,c,p(e)):q(r,c);x.bindDiagnostics.push(_?SM(e,q(d,0===t?mA.Another_export_default_is_here:mA.and_here)):e),_&&l.push(q(r,mA.The_first_export_default_is_here))}),f=u?q(d,c,p(r)):q(d,c),x.bindDiagnostics.push(SM.apply(void 0,__spreadArray([f],__read(l),!1))),s=W(0,o)))}else e.set(o,s=W(0,o)),i&&(s.isReplaceableByMethod=!0);return H(s,r,n),s.parent?rA.assert(s.parent===t,"Existing symbol parent should match new one"):s.parent=t,s}function f(e,t,r){var n=!!(1&DA(e))||function(e){e.parent&&Mj(e)&&(e=e.parent);if(!UI(e))return!1;if(!Ph(e)&&e.fullName)return!0;e=JA(e);return!!e&&(!(!PL(e.parent)||!We(e.parent))||!!(GE(e.parent)&&1&DA(e.parent)))}(e);if(2097152&t)return 281===e.kind||271===e.kind&&n?G(k.symbol.exports,k.symbol,e,t,r):(rA.assertNode(k,KE),G(k.locals,void 0,e,t,r));if(UI(e)&&rA.assert(cI(e)),RF(e)||!(n||128&k.flags))return rA.assertNode(k,KE),G(k.locals,void 0,e,t,r);if(!KE(k)||!k.locals||_L(e,1024)&&!K(e))return G(k.symbol.exports,k.symbol,e,t,r);n=111551&t?1048576:0,n=G(k.locals,void 0,e,n,r);return n.exportSymbol=G(k.symbol.exports,k.symbol,e,t,r),e.localSymbol=n}function X(e){Q(e,function(e){return 262===e.kind?Ee(e):void 0}),Q(e,function(e){return 262!==e.kind?Ee(e):void 0})}function Q(e,t){void 0===t&&(t=Ee),void 0!==e&&KN(e,t)}function Y(e){HB(e,Ee,Q)}function v(e){var t,r,n,a,i,o,s,c,u,_,l,d,f,p,m,y,v,g,h,x,b,k,T,S,w,C,N,D=J;if(J=!1,function(e){if(!(1&E.flags))return!1;{var r;E===z&&(Tc(e)&&242!==e.kind||263===e.kind||267===e.kind&&function(e){e=$B(e);return 1===e||2===e&&fM(A)}(e))&&(E=U,A.allowUnreachableCode||(r=Ep(A)&&!(33554432&e.flags)&&(!Tj(e)||!!(7&AA(e.declarationList))||e.declarationList.declarations.some(function(e){return!!e.initializer})),function(e,r){var n;XE(e)&&Ww(e)&&kj(e.parent)?Ze(n=Sm(e.parent.statements,e),Ww,function(e,t){return r(n[e],n[t-1])}):r(e,e)}(e,function(e,t){return Ae(r,e,t,mA.Unreachable_code_detected)})))}return!0}(e))return Y(e),Fe(e),void(J=D);switch(243<=e.kind&&e.kind<=259&&!A.allowUnreachableCode&&(e.flowNode=E),e.kind){case 247:w=le(S=e,re()),C=te(),N=te(),ae(w,E),E=w,ue(S.expression,C,N),E=ce(C),_e(S.statement,N,w),ae(w,E),E=ce(N);break;case 246:b=e,k=re(),N=le(b,te()),T=te(),ae(k,E),E=k,_e(b.statement,T,N),ae(N,E),E=ce(N),ue(b.expression,k,T),E=ce(T);break;case 248:k=le(b=e,re()),T=te(),x=te(),Ee(b.initializer),ae(k,E),E=k,ue(b.condition,T,x),E=ce(T),_e(b.statement,x,k),Ee(b.incrementor),ae(k,E),E=ce(x);break;case 249:case 250:g=le(x=e,re()),h=te(),Ee(x.expression),ae(g,E),E=g,250===x.kind&&Ee(x.awaitModifier),ae(h,E),Ee(x.initializer),261!==x.initializer.kind&&pe(x.initializer),_e(x.statement,h,g),ae(g,E),!void(E=ce(h));break;case 245:y=e,g=te(),h=te(),v=te(),ue(y.expression,g,h),E=ce(g),Ee(y.thenStatement),ae(v,E),E=ce(h),Ee(y.elseStatement),ae(v,E),E=ce(v);break;case 253:case 257:Ee((m=e).expression),253===m.kind&&(B=!0,I&&ae(I,E)),!void(E=z);break;case 252:case 251:Ee((f=e).label),!void(f.label?(p=function(e){for(var t=j;t;t=t.next)if(t.name===e)return t;return}(f.label.escapedText))&&(p.referenced=!0,de(f,p.breakTarget,p.continueTarget)):de(f,F,P));break;case 258:y=e,v=I,m=M,d=te(),p=te(),f=te(),y.finallyBlock&&(I=p),ae(f,E),M=f,Ee(y.tryBlock),ae(d,E),y.catchClause&&(E=ce(f),ae(f=te(),E),M=f,Ee(y.catchClause),ae(d,E)),I=v,M=m,!void(E=y.finallyBlock?((m=te()).antecedents=fD(fD(d.antecedents,f.antecedents),p.antecedents),E=m,Ee(y.finallyBlock),1&E.flags?z:(I&&p.antecedents&&ae(I,ne(m,p.antecedents,E)),M&&f.antecedents&&ae(M,ne(m,f.antecedents,E)),d.antecedents?ne(m,d.antecedents,E):z)):ce(d));break;case 255:!function(e){var t=te();Ee(e.expression);var r=F,n=R;F=t,R=E,Ee(e.caseBlock),ae(t,E);var a=KN(e.caseBlock.clauses,function(e){return 297===e.kind});e.possiblyExhaustive=!a&&!t.antecedents,a||ae(t,ie(R,e,0,0)),F=r,R=n,E=ce(t)}(e);break;case 269:!function(e){for(var t=e.clauses,r=Z(e.parent.expression),n=z,a=0;a<t.length;a++){for(var i=a;!t[a].statements.length&&a+1<t.length;)Ee(t[a]),a++;var o=te();ae(o,r?ie(R,e.parent,i,a+1):R),ae(o,n),E=ce(o);o=t[a];Ee(o),1&(n=E).flags||a===t.length-1||!A.noFallthroughCasesInSwitch||(o.fallthroughFlowNode=E)}}(e);break;case 296:d=E,E=R,Ee((l=e).expression),E=d,Q(l.statements);break;case 244:Ee((l=e).expression),fe(l.expression);break;case 256:u=e,_=te(),j={next:j,name:u.label.escapedText,breakTarget:_,continueTarget:void 0,referenced:!1},Ee(u.label),Ee(u.statement),j.referenced||A.allowUnusedLabels||function(e,t,r){Ae(e,t,t,r)}(Fp(A),u.label,mA.Unused_label),j=j.next,ae(_,E),!void(E=ce(_));break;case 224:!void(54===(u=e).operator?(_=O,O=L,L=_,Y(u),L=O,O=_):(Y(u),46!==u.operator&&47!==u.operator||pe(u.operand)));break;case 225:Y(c=e),46!==c.operator&&47!==c.operator||pe(c.operand);break;case 226:if(sf(e))return s=e,(J=D)?(J=!1,Ee(s.operatorToken),Ee(s.right),J=!0,Ee(s.left)):(J=!0,Ee(s.left),J=!1,Ee(s.operatorToken),Ee(s.right)),void pe(s.left);V(e);break;case 220:Y(o=e),211===o.expression.kind&&pe(o.expression);break;case 227:c=e,s=te(),o=te(),i=te(),ue(c.condition,s,o),E=ce(s),Ee(c.questionToken),Ee(c.whenTrue),ae(i,E),E=ce(o),Ee(c.colonToken),Ee(c.whenFalse),ae(i,E),E=ce(i);break;case 260:Y(i=e),(i.initializer||qE(i.parent.parent))&&function e(t){var r,n;var a=gj(t)?void 0:t.name;if(PE(a))try{for(var i=__values(a.elements),o=i.next();!o.done;o=i.next()){var s=o.value;e(s)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}else E=oe(16,E,t)}(i);break;case 211:case 212:(aE(a=e)?ve:Y)(a);break;case 213:aE(a=e)?ve(a):218===(n=oO(a.expression)).kind||219===n.kind?(Q(a.typeArguments),Q(a.arguments),Ee(a.expression)):(Y(a),108===a.expression.kind&&(E=se(E,a))),!void(211!==a.expression.kind||xR((n=a.expression).name)&&ee(n.expression)&&OO(n.name)&&(E=oe(256,E,a)));break;case 235:(aE(r=e)?ve:Y)(r);break;case 353:case 345:case 347:Ee((r=e).tagName),347!==r.kind&&r.fullName&&(jM(r.fullName,r),Fm(r.fullName,!1)),!void("string"!=typeof r.comment&&Q(r.comment));break;case 312:X(e.statements),Ee(e.endOfFileToken);break;case 241:case 268:X(e.statements);break;case 208:Ee((t=e).dotDotDotToken),Ee(t.propertyName),me(t.initializer),Ee(t.name);break;case 169:Q((t=e).modifiers),Ee(t.dotDotDotToken),Ee(t.questionToken),Ee(t.type),me(t.initializer),Ee(t.name);break;case 210:case 209:case 303:case 230:J=D;default:Y(e)}Fe(e),J=D}function Z(e){switch(e.kind){case 80:case 81:case 110:case 211:case 212:return o(e);case 213:return function(e){var t,r;if(e.arguments)try{for(var n=__values(e.arguments),a=n.next();!a.done;a=n.next())if(o(a.value))return!0}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}if(211===e.expression.kind&&o(e.expression.expression))return!0;return!1}(e);case 217:case 235:return Z(e.expression);case 226:return function(e){switch(e.operatorToken.kind){case 64:case 76:case 77:case 78:return o(e.left);case 35:case 36:case 37:case 38:return ee(e.left)||ee(e.right)||t(e.right,e.left)||t(e.left,e.right);case 104:return ee(e.left);case 103:case 28:return Z(e.right)}return!1}(e);case 224:return 54===e.operator&&Z(e.operand);case 221:return Z(e.expression)}return!1}function $(e){return FL(e)||(aj(e)||Rg(e)||uj(e))&&$(e.expression)||mj(e)&&28===e.operatorToken.kind&&$(e.right)||ij(e)&&(SO(e.argumentExpression)||AL(e.argumentExpression))&&$(e.expression)||NL(e)&&$(e.left)}function o(e){return $(e)||aE(e)&&o(e.expression)}function t(e,t){return dj(e)&&ee(e.expression)&&oF(t)}function ee(e){switch(e.kind){case 217:return ee(e.expression);case 226:switch(e.operatorToken.kind){case 64:return ee(e.left);case 28:return ee(e.right)}}return o(e)}function te(){return Vw({flags:4,antecedents:void 0})}function re(){return Vw({flags:8,antecedents:void 0})}function ne(e,t,r){return Vw({flags:1024,target:e,antecedents:t,antecedent:r})}function s(e){e.flags|=2048&e.flags?4096:2048}function ae(e,t){1&t.flags||eD(e.antecedents,t)||((e.antecedents||(e.antecedents=[])).push(t),s(t))}function c(e,t,r){return 1&t.flags?t:r?!(112===r.kind&&64&e||97===r.kind&&32&e)||oE(r)||cE(r.parent)?Z(r)?(s(t),Vw({flags:e,antecedent:t,node:r})):t:z:32&e?t:z}function ie(e,t,r,n){return s(e),Vw({flags:128,antecedent:e,switchStatement:t,clauseStart:r,clauseEnd:n})}function oe(e,t,r){s(t);r=Vw({flags:e,antecedent:t,node:r});return M&&ae(M,r),r}function se(e,t){return s(e),Vw({flags:512,antecedent:e,node:t})}function ce(e){var t=e.antecedents;return t?1===t.length?t[0]:e:z}function u(e){for(;;)if(217===e.kind)e=e.expression;else{if(224!==e.kind||54!==e.operator)return SL(e);e=e.operand}}function _(e){for(;uj(e.parent)||pj(e.parent)&&54===e.parent.operator;)e=e.parent;return!(function(e){var t=e.parent;switch(t.kind){case 245:case 247:case 246:return t.expression===e;case 248:case 227:return t.condition===e}}(e)||u(e.parent)||aE(e.parent)&&e.parent.expression===e)}function l(e,t,r,n){var a=O,i=L;O=r,L=n,e(t),O=a,L=i}function ue(e,t,r){l(Ee,e,t,r),e&&(nf(oO(e))||u(e)||aE(e)&&sE(e))||(ae(t,c(32,E,e)),ae(r,c(64,E,e)))}function _e(e,t,r){var n=F,a=P;F=t,P=r,Ee(e),F=n,P=a}function le(e,t){for(var r=j;r&&256===e.parent.kind;)r.continueTarget=t,r=r.next,e=e.parent;return t}function de(e,t,r){r=252===e.kind?t:r;r&&(ae(r,E),E=z)}function fe(e){213===e.kind&&108!==e.expression.kind&&FL(e.expression)&&(E=se(E,e))}function m(e){226===e.kind&&64===e.operatorToken.kind?pe(e.left):pe(e)}function pe(e){var t,r,n,a;if($(e))E=oe(16,E,e);else if(209===e.kind)try{for(var i=__values(e.elements),o=i.next();!o.done;o=i.next()){var s=o.value;230===s.kind?pe(s.expression):m(s)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}else if(210===e.kind)try{for(var c=__values(e.properties),u=c.next();!u.done;u=c.next()){var _=u.value;303===_.kind?m(_.initializer):304===_.kind?pe(_.name):305===_.kind&&pe(_.expression)}}catch(e){n={error:e}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(n)throw n.error}}}function g(e,t,r){var n=te();56===e.operatorToken.kind||77===e.operatorToken.kind?ue(e.left,n,r):ue(e.left,t,n),E=ce(n),Ee(e.operatorToken),rf(e.operatorToken.kind)?(l(Ee,e.right,t,r),pe(e.left),ae(t,c(32,E,e)),ae(r,c(64,E,e))):ue(e.right,t,r)}function me(e){var t;e&&(t=E,Ee(e),t!==z&&t!==E&&(ae(e=te(),t),ae(e,E),E=ce(e)))}function h(e){switch(e.kind){case 211:Ee(e.questionDotToken),Ee(e.name);break;case 212:Ee(e.questionDotToken),Ee(e.argumentExpression);break;case 213:Ee(e.questionDotToken),Q(e.typeArguments),Q(e.arguments)}}function ye(e,t,r){var n,a,i,o=iE(e)?te():void 0;l(Ee,n=e.expression,a=o||t,i=r),aE(n)&&!sE(n)||(ae(a,c(32,E,n)),ae(i,c(64,E,n))),o&&(E=ce(o)),l(h,e,t,r),sE(e)&&(ae(t,c(32,E,e)),ae(r,c(64,E,e)))}function ve(e){var t;_(e)?(ye(e,t=te(),t),E=ce(t)):ye(e,O,L)}function ge(e){d&&(d.nextContainer=e),d=e}function he(e,t,r){switch(k.kind){case 267:return f(e,t,r);case 312:return n=e,a=t,i=r,XB(x)?f(n,a,i):G(x.locals,void 0,n,a,i);case 231:case 263:return n=t,a=r,lL(i=e)?G(k.symbol.exports,k.symbol,i,n,a):G(k.symbol.members,k.symbol,i,n,a);case 266:return G(k.symbol.exports,k.symbol,e,t,r);case 187:case 329:case 210:case 264:case 292:return G(k.symbol.members,k.symbol,e,t,r);case 184:case 185:case 179:case 180:case 330:case 181:case 174:case 173:case 176:case 177:case 178:case 262:case 218:case 219:case 324:case 175:case 265:case 200:return k.locals&&rA.assertNode(k,KE),G(k.locals,void 0,e,t,r)}var n,a,i}function xe(e){var t;!(33554432&e.flags)||(t=uB(t=e)?t:BD(t.body,Rj))&&t.statements.some(function(e){return Wj(e)||qj(e)})?e.flags&=-129:e.flags|=128}function be(e){var t=$B(e),r=0!==t;return he(e,r?512:1024,r?110735:0),t}function ke(e,t,r){r=W(t,r);return 106508&t&&(r.parent=k.symbol),H(r,e,t),r}function Te(e,t,r){switch(T.kind){case 267:f(e,t,r);break;case 312:if(_P(k)){f(e,t,r);break}default:rA.assertNode(T,KE),T.locals||(T.locals=vF(),ge(T)),G(T.locals,void 0,e,t,r)}}function Se(e){var t;x.parseDiagnostics.length||33554432&e.flags||16777216&e.flags||Rl(e)||void 0!==(t=MA(e))&&(N&&119<=t&&t<=127?x.bindDiagnostics.push(q(e,function(e){if(IP(e))return mA.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode;if(x.externalModuleIndicator)return mA.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode;return mA.Identifier_expected_0_is_a_reserved_word_in_strict_mode}(e),QF(e))):135===t?XB(x)&&BP(e)?x.bindDiagnostics.push(q(e,mA.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module,QF(e))):65536&e.flags&&x.bindDiagnostics.push(q(e,mA.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,QF(e))):127===t&&16384&e.flags&&x.bindDiagnostics.push(q(e,mA.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,QF(e))))}function we(e,t){var r,n;t&&80===t.kind&&(!xR(n=r=t)||"eval"!==n.escapedText&&"arguments"!==n.escapedText||(t=uP(x,t),x.bindDiagnostics.push(QL(x,t.start,t.length,function(e){if(IP(e))return mA.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;if(x.externalModuleIndicator)return mA.Invalid_use_of_0_Modules_are_automatically_in_strict_mode;return mA.Invalid_use_of_0_in_strict_mode}(e),LA(r)))))}function Ce(e){N&&we(e,e.name)}function Ne(e){var t;r<2&&(312===T.kind||267===T.kind||kE(T)||(t=uP(x,e),x.bindDiagnostics.push(QL(x,t.start,t.length,IP(e)?mA.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:x.externalModuleIndicator?mA.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:mA.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5))))}function De(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];e=sP(x,e.pos);x.bindDiagnostics.push(QL.apply(void 0,__spreadArray([x,e.start,e.length,t],__read(r),!1)))}function Ae(e,t,r,n){e=e,r={pos:c_(t,x),end:r.end},n=n,n=QL(x,r.pos,r.end-r.pos,n),e?x.bindDiagnostics.push(n):x.bindSuggestionDiagnostics=vD(x.bindSuggestionDiagnostics,__assign(__assign({},n),{category:2}))}function Ee(e){var t,r,n,a,i,o,s,c,u,_,l,d,f,p,m;e&&(jM(e,b),iA&&(e.tracingPath=x.path),t=N,Ie(e),b=(165<e.kind?(r=b,0===(d=Kw(b=e))?v(e):(n=e,f=k,p=y,m=T,1&(a=d)?(219!==n.kind&&(y=k),k=T=n,32&a&&(k.locals=vF(),ge(k))):2&a&&(T=n,32&a&&(T.locals=void 0)),4&a?(i=E,o=F,s=P,c=I,u=M,_=j,l=B,(d=16&a&&!_L(n,512)&&!n.asteriskToken&&!!UP(n)||175===n.kind)||(E=Vw({flags:2}),144&a&&(E.node=n)),I=d||176===n.kind||cI(n)&&(262===n.kind||218===n.kind)?te():void 0,j=P=F=M=void 0,B=!1,v(n),n.flags&=-5633,!(1&E.flags)&&8&a&&FF(n.body)&&(n.flags|=512,B&&(n.flags|=1024),n.endFlowNode=E),312===n.kind&&(n.flags|=C,n.endFlowNode=E),I&&(ae(I,E),E=ce(I),176!==n.kind&&175!==n.kind&&(!cI(n)||262!==n.kind&&218!==n.kind)||(n.returnFlowNode=E)),d||(E=i),F=o,P=s,I=c,M=u,j=_,B=l):64&a?(w=!1,v(n),rA.assertNotNode(n,xR),n.flags=w?256|n.flags:-257&n.flags):v(n),k=f,y=p,T=m)):(r=b,1===e.kind&&(b=e),Fe(e)),r),N=t)}function Fe(e){var t,r,n,a;if(tF(e))if(cI(e))try{for(var i=__values(e.jsDoc),o=i.next();!o.done;o=i.next())Ee(s=o.value)}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}else try{for(var s,c=__values(e.jsDoc),u=c.next();!u.done;u=c.next())jM(s=u.value,e),Fm(s,!1)}catch(e){n={error:e}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(n)throw n.error}}}function Pe(e){var t,r;if(!N)try{for(var n=__values(e),a=n.next();!a.done;a=n.next()){var i=a.value;if(!J_(i))return;if(function(e){e=__(x,e.expression);return'"use strict"'===e||"'use strict'"===e}(i))return void(N=!0)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}function Ie(e){switch(e.kind){case 80:if(4096&e.flags){for(var t=e.parent;t&&!UI(t);)t=t.parent;Te(t,524288,788968);break}case 110:return E&&(jE(e)||304===b.kind)&&(e.flowNode=E),Se(e),0;case 166:E&&tI(e)&&(e.flowNode=E);break;case 236:case 108:e.flowNode=E;break;case 81:return"#constructor"===(h=e).escapedText&&(x.parseDiagnostics.length||x.bindDiagnostics.push(q(h,mA.constructor_is_a_reserved_word,QF(h)))),0;case 211:case 212:var r=e;E&&$(r)&&(r.flowNode=E),xl(r)&&(110===(h=r).expression.kind?je(h):vl(h)&&312===h.parent.parent.kind&&(OL(h.expression)?ze(h,h.parent):Ue(h))),cI(r)&&x.commonJsModuleIndicator&&CI(r)&&!Gw(T,"module")&&G(x.locals,void 0,r.expression,134217729,111550);break;case 226:switch(NI(e)){case 1:Me(e);break;case 2:!function(e){if(Le(e)){var t=pl(e.right);if(!(uf(t)||k===x&&Hw(x,t))){if(nj(t)&&XN(t.properties,oB))return KN(t.properties,Re);t=fO(e)?2097152:1049092,LI(G(x.symbol.exports,x.symbol,e,67108864|t,0),e)}}}(e);break;case 3:ze(e.left,e);break;case 6:jM((g=e).left,g),jM(g.right,g),He(g.left.expression,g.left,!1,!0);break;case 4:je(e);break;case 5:var n=e.left.expression;if(cI(e)&&xR(n)){var a=Gw(T,n.escapedText);if(WP(null==a?void 0:a.valueDeclaration)){je(e);break}}n=Ke((g=e).left.expression,k)||Ke(g.left.expression,T),!void((cI(g)||bl(n))&&(xR(a=XL(g.left))&&2097152&(null==(a=Gw(k,a.escapedText))?void 0:a.flags)||(jM(g.left,g),jM(g.right,g),xR(g.left.expression)&&k===x&&Hw(x,g.left.expression)?Me(g):wO(g)?(ke(g,67108868,"__computed"),n=Ve(n,g.left.expression,We(g.left),!1,!1),Je(g,n)):Ue(JD(g.left,EI)))));break;case 0:break;default:rA.fail("Unknown binary expression special property assignment kind")}return v=e,N&&RE(v.left)&&wL(v.operatorToken.kind)&&we(v,v.left),0;case 299:return v=e,N&&v.variableDeclaration&&we(v,v.variableDeclaration.name),0;case 220:return y=e,N&&80===y.expression.kind&&(y=uP(x,y.expression),x.bindDiagnostics.push(QL(x,y.start,y.length,mA.delete_cannot_be_called_on_an_identifier_in_strict_mode))),0;case 225:return y=e,N&&we(y,y.operand),0;case 224:return m=e,N&&(46!==m.operator&&47!==m.operator||we(m,m.operand)),0;case 254:return p=e,N&&De(p,mA.with_statements_are_not_allowed_in_strict_mode),0;case 256:return f=e,N&&2<=rM(A)&&(kc(f.statement)||Tj(f.statement))&&De(f.label,mA.A_label_is_not_allowed_here),0;case 197:return void(w=!0);case 182:break;case 168:return function(e){var t;{var r;DB(e.parent)?(r=GI(e.parent))?(rA.assertNode(r,KE),null!==(t=r.locals)&&void 0!==t||(r.locals=vF()),G(r.locals,void 0,e,262144,526824)):he(e,262144,526824):195===e.parent.kind?(r=function(e){e=FA(e,function(e){return e.parent&&kg(e.parent)&&e.parent.extendsType===e});return e&&e.parent}(e.parent))?(rA.assertNode(r,KE),null!==(t=r.locals)&&void 0!==t||(r.locals=vF()),G(r.locals,void 0,e,262144,526824)):ke(e,262144,K(e)):he(e,262144,526824)}}(e),0;case 169:return Qe(e),0;case 260:return Xe(e),0;case 208:return e.flowNode=E,Xe(e),0;case 172:case 171:return p=AE(m=e),f=p?13247:0,Ye(m,(p?98304:4)|(m.questionToken?16777216:0),f);case 303:case 304:return Ye(e,4,0);case 306:return Ye(e,8,900095);case 179:case 180:case 181:return he(e,131072,0);case 174:case 173:return Ye(e,8192|(e.questionToken?16777216:0),AP(e)?0:103359);case 262:return function(e){x.isDeclarationFile||33554432&e.flags||TO(e)&&(C|=4096);Ce(e),N?(Ne(e),Te(e,16,110991)):he(e,16,110991)}(e),0;case 176:return he(e,16384,0);case 177:return Ye(e,32768,46015);case 178:return Ye(e,65536,78783);case 184:case 324:case 330:case 185:return function(e){var t=W(131072,K(e));H(t,e,131072);var r=W(2048,"__type");H(r,e,2048),r.members=vF(),r.members.set(t.escapedName,t)}(e),0;case 187:case 329:case 200:return ke(e,2048,"__type");case 339:return Y(d=e),(d=XI(d))&&174!==d.kind&&H(d.symbol,d,32),0;case 210:return ke(e,4096,"__object");case 218:case 219:return function(e){x.isDeclarationFile||33554432&e.flags||TO(e)&&(C|=4096);E&&(e.flowNode=E);Ce(e);var t=e.name?e.name.escapedText:"__function";return ke(e,16,t)}(e);case 213:switch(NI(e)){case 7:return _=Ke((u=e).arguments[0]),l=312===u.parent.parent.kind,_=Ve(_,u.arguments[0],l,!1,!1),qe(u,_,!1),0;case 8:return function(e){if(!Le(e))return;var t=Ge(e.arguments[0],void 0,function(e,t){return t&&H(t,e,67110400),t});t&&G(t.exports,t,e,1048580,0)}(e),0;case 9:return function(e){var t=Ke(e.arguments[0].expression);t&&t.valueDeclaration&&H(t,t.valueDeclaration,32);qe(e,t,!0)}(e),0;case 0:break;default:return rA.fail("Unknown call expression assignment declaration kind")}cI(e)&&(d=e,!x.commonJsModuleIndicator&&dI(d,!1)&&Le(d));break;case 231:case 263:return N=!0,function(e){263===e.kind?Te(e,32,899503):(n=e.name?e.name.escapedText:"__class",ke(e,32,n),e.name&&D.add(e.name.escapedText));var t=e.symbol,r=W(4194308,"prototype"),n=t.exports.get(r.escapedName);n&&(e.name&&jM(e.name,e),x.bindDiagnostics.push(q(n.declarations[0],mA.Duplicate_identifier_0,RA(r)))),t.exports.set(r.escapedName,r),r.parent=t}(e),0;case 264:return Te(e,64,788872),0;case 265:return Te(e,524288,788968),0;case 266:return dP(c=e)?Te(c,128,899967):Te(c,256,899327);case 267:return xe(c=e),RF(c)?(_L(c,1)&&De(c,mA.export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible),b_(c)?be(c):(o=void 0,11!==c.name.kind||void 0===(o=vm(s=c.name.text))&&De(c.name,mA.Pattern_0_can_have_at_most_one_Asterisk_character,s),s=he(c,512,110735),x.patternAmbientModules=vD(x.patternAmbientModules,o&&!jD(o)?{pattern:o,symbol:s}:void 0))):0!==(o=be(c))&&((s=c.symbol).constEnumOnlyModule=!(304&s.flags)&&2===o&&!1!==s.constEnumOnlyModule),0;case 292:return ke(e,4096,"__jsxAttributes");case 291:return he(e,4,0);case 271:case 274:case 276:case 281:return he(e,2097152,2097152);case 270:return function(e){dD(e.modifiers)&&x.bindDiagnostics.push(q(e,mA.Modifiers_cannot_appear_here));var t=uB(e.parent)?XB(e.parent)?e.parent.isDeclarationFile?void 0:mA.Global_module_exports_may_only_appear_in_declaration_files:mA.Global_module_exports_may_only_appear_in_module_files:mA.Global_module_exports_may_only_appear_at_top_level;t?x.bindDiagnostics.push(q(e,t)):(x.symbol.globalExports=x.symbol.globalExports||vF(),G(x.symbol.globalExports,x.symbol,e,2097152,2097152))}(e),0;case 273:return(s=e).name&&he(s,2097152,2097152),0;case 278:return i=e,k.symbol&&k.symbol.exports?i.exportClause?Uj(i.exportClause)&&(jM(i.exportClause,i),G(k.symbol.exports,k.symbol,i.exportClause,2097152,2097152)):G(k.symbol.exports,k.symbol,i,8388608,0):ke(i,8388608,K(i)),0;case 277:return function(e){{var t;k.symbol&&k.symbol.exports?(t=fO(e)?2097152:4,t=G(k.symbol.exports,k.symbol,e,t,67108863),e.isExportEquals&&LI(t,e)):ke(e,111551,K(e))}}(e),0;case 312:return Pe(e.statements),xe(x),XB(x)?Oe():lP(x)&&(Oe(),i=x.symbol,G(x.symbol.exports,x.symbol,x,4,67108863),x.symbol=i),0;case 241:if(!kE(e.parent))return;case 268:return Pe(e.statements),0;case 348:if(330===e.parent.kind)return Qe(e),0;if(329!==e.parent.kind)break;case 355:return he(e,e.isBracketed||e.typeExpression&&323===e.typeExpression.type.kind?16777220:4,0);case 353:case 345:case 347:return(S=S||[]).push(e);case 346:return Ee(e.typeExpression),0}var i,o,s,c,u,_,l,d,f,p,m,y,v,g,h}function Oe(){ke(x,512,'"'.concat(pm(x.fileName),'"'))}function Le(e){return(!x.externalModuleIndicator||!0===x.externalModuleIndicator)&&(x.commonJsModuleIndicator||(x.commonJsModuleIndicator=e,x.externalModuleIndicator||Oe()),1)}function Me(e){var t,r;!Le(e)||(t=Ge(e.left.expression,void 0,function(e,t){return t&&H(t,e,67110400),t}))&&(r=dO(e.right)&&(SI(e.left.expression)||CI(e.left.expression))?2097152:1048580,jM(e.left,e),G(t.exports,t,e.left,r,0))}function Re(e){G(x.symbol.exports,x.symbol,e,69206016,0)}function je(e){if(rA.assert(cI(e)),!(mj(e)&&aj(e.left)&&bR(e.left.name)||aj(e)&&bR(e.name))){var t=RP(e,!1,!1);switch(t.kind){case 262:case 218:var r=t.symbol;!mj(t.parent)||64!==t.parent.operatorToken.kind||vl(n=t.parent.left)&&OL(n.expression)&&(r=Ke(n.expression.expression,y)),r&&r.valueDeclaration&&(r.members=r.members||vF(),wO(e)?Be(e,r,r.members):G(r.members,r,e,67108868,0),H(r,r.valueDeclaration,32));break;case 176:case 172:case 174:case 177:case 178:case 175:var n=t.parent,r=lL(t)?n.symbol.exports:n.symbol.members;wO(e)?Be(e,n.symbol,r):G(r,n.symbol,e,67108868,0,!0);break;case 312:if(wO(e))break;t.commonJsModuleIndicator?G(t.symbol.exports,t.symbol,e,1048580,0):he(e,1,111550);break;case 267:break;default:rA.failBadSyntaxKind(t)}}}function Be(e,t,r){G(r,t,e,4,0,!0,!0),Je(e,t)}function Je(e,t){t&&(t.assignmentDeclarationMembers||(t.assignmentDeclarationMembers=new Map)).set(mJ(e),e)}function ze(e,t){var r=e.expression,n=r.expression;jM(n,r),jM(r,e),jM(e,t),He(n,e,!0,!0)}function Ue(e){rA.assert(!xR(e)),jM(e.expression,e),He(e.expression,e,!1,!1)}function Ve(e,t,r,n,a){return 2097152&(null==e?void 0:e.flags)||(r&&!n&&(e=Ge(t,e,function(e,t,r){return t?(H(t,e,67110400),t):G(r?r.exports:x.jsGlobalAugmentations||(x.jsGlobalAugmentations=vF()),r,e,67110400,110735)})),a&&e&&e.valueDeclaration&&H(e,e.valueDeclaration,32)),e}function qe(e,t,r){var n,a;t&&function(e){if(1072&e.flags)return!0;var t=e.valueDeclaration;if(t&&oj(t))return!!hI(t);e=t?Aj(t)?t.initializer:mj(t)?t.right:aj(t)&&mj(t.parent)?t.parent.right:void 0:void 0;if(e=e&&pl(e)){t=OL(Aj(t)?t.name:mj(t)?t.left:t);return!!xI(!mj(e)||57!==e.operatorToken.kind&&61!==e.operatorToken.kind?e:e.right,t)}return!1}(t)&&(n=r?t.members||(t.members=vF()):t.exports||(t.exports=vF()),r=a=0,TE(hI(e))?(a=8192,r=103359):oj(e)&&DI(e)&&(dD(e.arguments[2].properties,function(e){e=JA(e);return!!e&&xR(e)&&"set"===LA(e)})&&(a|=65540,r|=78783),dD(e.arguments[2].properties,function(e){e=JA(e);return!!e&&xR(e)&&"get"===LA(e)})&&(a|=32772,r|=46015)),0===a&&(a=4,r=0),G(n,t,e,67108864|a,-67108865&r))}function We(e){return mj(e.parent)?312===function(e){for(;mj(e.parent);)e=e.parent;return e.parent}(e.parent).parent.kind:312===e.parent.parent.kind}function He(e,t,r,n){var a=Ke(e,k)||Ke(e,T),e=We(t);qe(t,a=Ve(a,t.expression,e,r,n),r)}function Ke(e,t){if(void 0===t&&(t=k),xR(e))return Gw(t,e.escapedText);t=Ke(e.expression);return t&&t.exports&&t.exports.get(FI(e))}function Ge(e,t,r){if(Hw(x,e))return x.symbol;if(xR(e))return r(e,Ke(e),t);var n=Ge(e.expression,t,r),t=gl(e);return bR(t)&&rA.fail("unexpected PrivateIdentifier"),r(t,n&&n.exports&&n.exports.get(FI(e)),n)}function Xe(e){var t;N&&we(e,e.name),PE(e.name)||(t=260===e.kind?e:e.parent.parent,!(cI(e)&&_M(A)&&fI(t))||XA(e)||1&DA(e)?LF(e)?Te(e,2,111551):LO(e)?he(e,1,111551):he(e,1,111550):he(e,2097152,2097152))}function Qe(e){var t;348===e.kind&&330!==k.kind||(!N||33554432&e.flags||we(e,e.name),PE(e.name)?ke(e,1,"__"+e.parent.parameters.indexOf(e)):he(e,1,111551),CA(e,e.parent)&&G((t=e.parent.parent).symbol.members,t.symbol,e,4|(e.questionToken?16777216:0),0))}function Ye(e,t,r){return x.isDeclarationFile||33554432&e.flags||!TO(e)||(C|=4096),E&&EP(e)&&(e.flowNode=E),wO(e)?ke(e,t,"__computed"):he(e,t,r)}}function Ww(e){return!(Fj(e)||function(e){switch(e.kind){case 264:case 265:return!0;case 267:return 1!==$B(e);case 266:return _L(e,2048);default:return!1}}(e)||Lj(e)||Tj(e)&&!(7&AA(e))&&e.declarationList.declarations.some(function(e){return!e.initializer}))}function Hw(e,t){var r,n=0,a=te();for(a.enqueue(t);!a.isEmpty()&&n<100;){if(n++,SI(t=a.dequeue())||CI(t))return!0;!xR(t)||(r=Gw(e,t.escapedText))&&r.valueDeclaration&&Aj(r.valueDeclaration)&&r.valueDeclaration.initializer&&(r=r.valueDeclaration.initializer,a.enqueue(r),NL(r,!0)&&(a.enqueue(r.left),a.enqueue(r.right)))}return!1}function Kw(e){switch(e.kind){case 231:case 263:case 266:case 210:case 187:case 329:case 292:return 1;case 264:return 65;case 267:case 265:case 200:case 181:return 33;case 312:return 37;case 177:case 178:case 174:if(EP(e))return 173;case 176:case 262:case 173:case 179:case 330:case 324:case 184:case 180:case 185:case 175:return 45;case 218:case 219:return 61;case 268:return 4;case 172:return e.initializer?4:0;case 299:case 248:case 249:case 250:case 269:return 34;case 241:return bE(e.parent)||PR(e.parent)?0:34}return 0}function Gw(e,t){var r,n,a=null==(r=null==(a=BD(e,KE))?void 0:a.locals)?void 0:r.get(t);return a?null!==(r=a.exportSymbol)&&void 0!==r?r:a:uB(e)&&e.jsGlobalAugmentations&&e.jsGlobalAugmentations.has(t)?e.jsGlobalAugmentations.get(t):!HE(e)||null==(n=null==(n=e.symbol)?void 0:n.exports)?void 0:n.get(t)}var Xw=e({"src/compiler/binder.ts":function(){MK(),An(),jw=function(e){return e[e.NonInstantiated=0]="NonInstantiated",e[e.Instantiated=1]="Instantiated",e[e.ConstEnumOnly=2]="ConstEnumOnly",e}(jw||{}),Bw=function(e){return e[e.None=0]="None",e[e.IsContainer=1]="IsContainer",e[e.IsBlockScopedContainer=2]="IsBlockScopedContainer",e[e.IsControlFlowContainer=4]="IsControlFlowContainer",e[e.IsFunctionLike=8]="IsFunctionLike",e[e.IsFunctionExpression=16]="IsFunctionExpression",e[e.HasLocals=32]="HasLocals",e[e.IsInterface=64]="IsInterface",e[e.IsObjectLiteralOrClassExpressionMethodOrAccessor=128]="IsObjectLiteralOrClassExpressionMethodOrAccessor",e}(Bw||{}),Jw=qw()}});function tJ(s,c,u,_,k,a,l,d,f,p){return function(r){void 0===r&&(r=function(){return!0});var i=[],n=[];return{walkType:function(e){try{return h(e),{visitedTypes:q(i),visitedSymbols:q(n)}}finally{aD(i),aD(n)}},walkSymbol:function(e){try{return b(e),{visitedTypes:q(i),visitedSymbols:q(n)}}finally{aD(i),aD(n)}}};function h(e){var t,r,n,a;e&&(i[e.id]||b((i[e.id]=e).symbol)||(524288&e.flags&&(4&(r=(t=e).objectFlags)&&(h((a=e).target),KN(p(a),h)),32&r&&(h((n=e).typeParameter),h(n.constraintType),h(n.templateType),h(n.modifiersType)),3&r&&(o(n=e),KN(n.typeParameters,h),KN(_(n),h),h(n.thisType)),24&r&&o(t)),262144&e.flags&&h(d(e)),3145728&e.flags&&KN(e.types,h),4194304&e.flags&&h(e.type),8388608&e.flags&&(h((e=e).objectType),h(e.indexType),h(e.constraint))))}function x(e){var t,r,n=c(e);n&&h(n.type),KN(e.typeParameters,h);try{for(var a=__values(e.parameters),i=a.next();!i.done;i=a.next())b(i.value)}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}h(s(e)),h(u(e))}function o(e){var t,r,n,a,i,o,s,c,u=k(e);try{for(var _=__values(u.indexInfos),l=_.next();!l.done;l=_.next()){var d=l.value;h(d.keyType),h(d.type)}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=_.return)&&r.call(_)}finally{if(t)throw t.error}}try{for(var f=__values(u.callSignatures),p=f.next();!p.done;p=f.next())x(p.value)}catch(e){n={error:e}}finally{try{p&&!p.done&&(a=f.return)&&a.call(f)}finally{if(n)throw n.error}}try{for(var m=__values(u.constructSignatures),y=m.next();!y.done;y=m.next())x(y.value)}catch(e){i={error:e}}finally{try{y&&!y.done&&(o=m.return)&&o.call(m)}finally{if(i)throw i.error}}try{for(var v=__values(u.properties),g=v.next();!g.done;g=v.next())b(g.value)}catch(e){s={error:e}}finally{try{g&&!g.done&&(c=v.return)&&c.call(v)}finally{if(s)throw s.error}}}function b(e){if(!e)return!1;var t=yJ(e);return!n[t]&&(n[t]=e,!r(e)||(h(a(e)),e.exports&&e.exports.forEach(b),KN(e.declarations,function(e){e.type&&186===e.type.kind&&(e=e.type,b(l(f(e.exprName))))}),!1))}}}var Qw=e({"src/compiler/symbolWalker.ts":function(){MK()}});function Yw(e,r,n,t){var a=e.importModuleSpecifierPreference,i=e.importModuleSpecifierEnding,o=function(){if(void 0!==t){if(sm(t))return 2;if(qD(t,"/index"))return 1}return _m(i,n.impliedNodeFormat,r,n)}();return{relativePreference:void 0!==t?kA(t)?0:1:"relative"===a?0:"non-relative"===a?1:"project-relative"===a?3:2,getAllowedEndingsInPreferredOrder:function(e){if(99===(null!=e?e:n.impliedNodeFormat))return ZB(r,n.fileName)?[3,2]:[2];if(1===iM(r))return 2===o?[2,1]:[1,2];var t=ZB(r,n.fileName);switch(o){case 2:return t?[2,3,0,1]:[2,0,1];case 3:return[3,0,2,1];case 1:return t?[1,0,3,2]:[1,0,2];case 0:return t?[0,1,3,2]:[0,1,2];default:rA.assertNever(o)}}}}function Zw(e,t,r,n,a,i,o){void 0===o&&(o={});o=tC(e,t,r,n,a,Yw({},e,t,i),{},o);if(o!==i)return o}function $w(e,t,r,n,a,i){return void 0===i&&(i={}),tC(e,t,r,n,a,Yw({},e,t),{},i)}function eC(t,r,e,n,a,i){void 0===i&&(i={});var o=iC(r.path,n);return GN(_C(r.path,e,n,a,i),function(e){return fC(e,o,r,n,t,a,!0,i.overrideImportMode)})}function tC(t,r,e,n,a,i,o,s){void 0===s&&(s={});var c=iC(e,a);return GN(_C(e,n,a,o,s),function(e){return fC(e,c,r,a,t,o,void 0,s.overrideImportMode)})||oC(n,c,t,a,s.overrideImportMode||r.impliedNodeFormat,i)}function rC(e,t,r,n,a){return void 0===a&&(a={}),nC(e,t,r,n,a)[0]}function nC(e,t,r,n,a){void 0===a&&(a={});var i=NF(e);if(!i)return WN;r=null==(e=r.getModuleSpecifierCache)?void 0:e.call(r),a=null==r?void 0:r.get(t.path,i.path,n,a);return[null==a?void 0:a.moduleSpecifiers,i,null==a?void 0:a.modulePaths,r]}function rJ(e,t,r,n,a,i,o){return void 0===o&&(o={}),aC(e,t,r,n,a,i,o).moduleSpecifiers}function aC(e,t,r,n,a,i,o){void 0===o&&(o={});var s=!1,c=function(e,n){var t=null==(t=e.declarations)?void 0:t.find(function(e){return h_(e)&&(!UF(e)||!kA(AO(e.name)))});if(t)return t.name.text;e=uD(e.declarations,function(e){if(Mj(e)){var t=function(e){for(;8&e.flags;)e=e.parent;return e}(e);if(null!=(r=null==t?void 0:t.parent)&&r.parent&&Rj(t.parent)&&RF(t.parent.parent)&&uB(t.parent.parent.parent)){var r=null==(r=null==(r=null==(r=t.parent.parent.symbol.exports)?void 0:r.get("export="))?void 0:r.valueDeclaration)?void 0:r.expression;if(r){r=n.getSymbolAtLocation(r);if(r)return(2097152&(null==r?void 0:r.flags)?n.getAliasedSymbol(r):r)===e.symbol?t.parent.parent:void 0}}}})[0];if(e)return e.name.text}(e,t);if(c)return{moduleSpecifiers:[c],computedWithoutCache:s};var u=__read(nC(e,n,a,i,o),4),t=u[0],c=u[1],e=u[2],u=u[3];if(t)return{moduleSpecifiers:t,computedWithoutCache:s};if(!c)return{moduleSpecifiers:WN,computedWithoutCache:s};s=!0;a=function(e,t,r,n,a,i){var o,s;void 0===i&&(i={});var c=iC(r.path,n),u=Yw(a,t,r),_=KN(e,function(e){return KN(n.getFileIncludeReasons().get(Ja(e.path,n.getCurrentDirectory(),c.getCanonicalFileName)),function(e){if(3===e.kind&&e.file===r.path&&(!r.impliedNodeFormat||r.impliedNodeFormat===zV(r,e.index))){e=yq(r,e.index).text;return 1===u.relativePreference&&sA(e)?void 0:e}})});if(_)return[_];var l,d,f,p,m=dD(e,function(e){return e.isInNodeModules});try{for(var y=__values(e),v=y.next();!v.done;v=y.next()){var g=v.value,h=g.isInNodeModules?fC(g,c,r,n,t,a,void 0,i.overrideImportMode):void 0;if(l=vD(l,h),h&&g.isRedirect)return l;h||(h=oC(g.path,c,t,n,i.overrideImportMode||r.impliedNodeFormat,u,g.isRedirect))&&(g.isRedirect?f=vD(f,h):wa(h)?d=vD(d,h):m&&!g.isInNodeModules||(p=vD(p,h)))}}catch(e){o={error:e}}finally{try{v&&!v.done&&(s=y.return)&&s.call(y)}finally{if(o)throw o.error}}return null!=d&&d.length?d:null!=f&&f.length?f:null!=l&&l.length?l:rA.checkDefined(p)}(e=e||lC(n.path,c.originalFileName,a),r,n,a,i,o);return null!=u&&u.set(n.path,c.path,i,o,e,a),{moduleSpecifiers:a,computedWithoutCache:s}}function iC(e,t){return{getCanonicalFileName:KD(!t.useCaseSensitiveFileNames||t.useCaseSensitiveFileNames()),importingSourceFileName:e,sourceDirectory:lA(e)}}function oC(e,t,r,n,a,i,o){var s=i.getAllowedEndingsInPreferredOrder,c=i.relativePreference,u=r.baseUrl,_=r.paths,l=r.rootDirs;if(!o||_){var d=t.sourceDirectory,i=t.getCanonicalFileName,s=s(a),a=l&&function(e,t,r,n,a,i){var o=pC(t,e,n);if(void 0===o)return;e=me(cD(pC(r,e,n),function(t){return iD(o,function(e){return Va(Ya(t,e,n))})}),fm);return e?mC(e,a,i):void 0}(l,e,d,i,s,r)||mC(Va(Ya(d,e,i)),s,r);if(!u&&!_||0===c)return o?void 0:a;l=hC(e,fA(Dd(r,n)||u,n.getCurrentDirectory()),i);if(!l)return o?void 0:a;_=_&&dC(l,_,s,n,r);if(o)return _;_=void 0===_&&void 0!==u?mC(l,s,r):_;if(!_)return a;if(1===c&&!sA(_))return _;if(3!==c||sA(_))return xC(_)||nJ(a)<nJ(_)?a:_;t=r.configFilePath?Ja(lA(r.configFilePath),n.getCurrentDirectory(),t.getCanonicalFileName):t.getCanonicalFileName(n.getCurrentDirectory()),e=Ja(e,t,i),i=XD(d,t),t=XD(e,t);if(i&&!t||!i&&t)return _;e=cC(n,lA(e));return cC(n,d)!==e?_:a}}function nJ(e){for(var t=0,r=XD(e,"./")?2:0;r<e.length;r++)47===e.charCodeAt(r)&&t++;return t}function sC(e,t){return Se(t.isRedirect,e.isRedirect)||fm(e.path,t.path)}function cC(t,e){return t.getNearestAncestorDirectoryWithPackageJson?t.getNearestAncestorDirectoryWithPackageJson(e):!!ti(e,function(e){return!!t.fileExists(dA(e,"package.json"))||void 0})}function uC(e,t,r,n,u){var _=hd(r),a=r.getCurrentDirectory(),l=r.isSourceOfProjectReferenceRedirect(t)?r.getProjectReferenceRedirect(t):void 0,i=Ja(t,a,_),i=r.redirectTargetsMap.get(i)||WN,o=__spreadArray(__spreadArray(__spreadArray([],__read(l?[l]:WN),!1),[t],!1),__read(i),!1).map(function(e){return fA(e,a)}),d=!XN(o,Om);if(!n){var s=KN(o,function(e){return!(d&&Om(e))&&u(e,l===e)});if(s)return s}var f=null==(s=r.getSymlinkCache)?void 0:s.call(r).getSymlinkedDirectoriesByRealpath(),t=fA(t,a);return f&&ti(lA(t),function(s){var c=f.get(Ua(Ja(s,a,_)));if(c)return!Xa(e,s,_)&&KN(o,function(e){var t,r;if(Xa(e,s,_)){var n=Ya(s,e,_);try{for(var a=__values(c),i=a.next();!i.done;i=a.next()){var o=Ra(i.value,n),o=u(o,e===l);if(d=!0,o)return o}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}})})||(n?KN(o,function(e){return d&&Om(e)?void 0:u(e,e===l)}):void 0)}function _C(e,t,r,n,a){void 0===a&&(a={});var i=Ja(t,r.getCurrentDirectory(),hd(r)),o=null==(s=r.getModuleSpecifierCache)?void 0:s.call(r);if(o){var s=o.get(e,i,n,a);if(null!=s&&s.modulePaths)return s.modulePaths}r=lC(e,t,r);return o&&o.setModulePaths(e,i,n,a,r),r}function lC(e,t,r){var n=hd(r),o=new Map;uC(e,t,r,!0,function(e,t){var r=QS(e);o.set(e,{path:n(e),isRedirect:t,isInNodeModules:r}),0});for(var s,c=[],a=lA(e);0!==o.size;){var i=function(e){var a,i=Ua(e);o.forEach(function(e,t){var r=e.path,n=e.isRedirect,e=e.isInNodeModules;XD(r,i)&&((a=a||[]).push({path:t,isRedirect:n,isInNodeModules:e}),o.delete(t))}),a&&(1<a.length&&a.sort(sC),c.push.apply(c,__spreadArray([],__read(a),!1)));var t=lA(e);if(t===e)return s=e,"break";s=e=t}(a),a=s;if("break"===i)break}return o.size&&(1<(e=PD(o.values())).length&&e.sort(sC),c.push.apply(c,__spreadArray([],__read(e),!1))),c}function dC(l,e,d,r,f){var t,n,p;for(p in e)try{for(var a=(t=void 0,__values(e[p])),i=a.next();!i.done;i=a.next()){var o=function(e){var t,r,n=pi(e),e=n.indexOf("*"),a=d.map(function(e){return{ending:e,value:mC(l,[e],f)}});if(kM(n)&&a.push({ending:void 0,value:l}),-1!==e){var i=n.substring(0,e),o=n.substring(e+1);try{for(var s=(t=void 0,__values(a)),c=s.next();!c.done;c=s.next()){var u=c.value,_=u.ending,u=u.value;if(u.length>=i.length+o.length&&XD(u,i)&&qD(u,o)&&m({ending:_,value:u})){u=u.substring(i.length,u.length-o.length);if(!sA(u))return{value:p.replace("*",u)}}}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}}else if(dD(a,function(e){return 0!==e.ending&&n===e.value})||dD(a,function(e){return 0===e.ending&&n===e.value&&m(e)}))return{value:p}}(i.value);if("object"==typeof o)return o.value}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}function m(e){var t=e.ending,e=e.value;return 0!==t||e===mC(l,[t],f,r)}}function fC(e,t,u,_,l,r,n,d){var f=e.path,e=e.isRedirect,p=t.getCanonicalFileName,t=t.sourceDirectory;if(_.fileExists&&_.readFile){var m=jm(f);if(m){var y=Yw(r,l,u).getAllowedEndingsInPreferredOrder(),a=f,i=!1;if(!n)for(var o=m.packageRootIndex,s=void 0;;){var c=function(e){var t=f.substring(0,e),r=dA(t,"package.json"),n=f,a=!1,i=null==(e=null==(i=_.getPackageJsonInfoCache)?void 0:i.call(_))?void 0:e.getPackageJsonInfo(r);if("object"==typeof i||void 0===i&&_.fileExists(r)){e=(null==i?void 0:i.contents.packageJsonContent)||JSON.parse(_.readFile(r)),i=d||u.impliedNodeFormat;if(Op(l)){r=Aw(t.substring(m.topLevelPackageNameIndex+1)),i=bS(l,99===i),i=e.exports?function n(a,i,o,s,c,u,e){var t,r;if(void 0===e&&(e=0),"string"==typeof c){var _=fA(dA(o,c),void 0),l=cm(i)?pm(i)+gC(i,a):void 0;switch(e){case 0:if(0===pA(i,_)||l&&0===pA(l,_))return{moduleFileToTry:s};break;case 1:if(Ga(_,i)){var d=Ya(_,i,!1);return{moduleFileToTry:fA(dA(dA(s,c),d),void 0)}}break;case 2:var f=_.indexOf("*"),d=_.slice(0,f),f=_.slice(f+1);if(XD(i,d)&&qD(i,f)){var p=i.slice(d.length,i.length-f.length);return{moduleFileToTry:s.replace("*",p)}}if(l&&XD(l,d)&&qD(l,f))return p=l.slice(d.length,l.length-f.length),{moduleFileToTry:s.replace("*",p)}}}else{if(Array.isArray(c))return KN(c,function(e){return n(a,i,o,s,e,u)});if("object"==typeof c&&null!==c){if(mw(c))return KN(G(c),function(e){var t=fA(dA(s,e),void 0),r=qD(e,"/")?1:WD(e,"*")?2:0;return n(a,i,o,t,c[e],u,r)});try{for(var m=__values(G(c)),y=m.next();!y.done;y=m.next()){var v=y.value;if(("default"===v||0<=u.indexOf(v)||xw(u,v))&&(v=c[v],v=n(a,i,o,s,v,u,e)))return v}}catch(e){t={error:e}}finally{try{y&&!y.done&&(r=m.return)&&r.call(m)}finally{if(t)throw t.error}}}}}(l,f,t,r,e.exports,i):void 0;if(i){var o=cm(i.moduleFileToTry)?{moduleFileToTry:pm(i.moduleFileToTry)+gC(i.moduleFileToTry,l)}:i;return __assign(__assign({},o),{verbatimFromExports:!0})}if(e.exports)return{moduleFileToTry:f,blockedByExports:!0}}o=e.typesVersions?mS(e.typesVersions):void 0;o&&(void 0===(s=dC(f.slice(t.length+1),o.paths,y,_,l))?a=!0:n=dA(t,s));var s=e.typings||e.types||e.main||"index.js";if(jD(s)&&(!a||!Tm(gm(o.paths),s))){var s=Ja(s,t,p),c=p(n);if(pm(s)===pm(c))return{packageRootPath:t,moduleFileToTry:n};if("module"!==e.type&&!_A(c,wu)&&XD(c,s)&&lA(c)===za(s)&&"index"===pm(Ea(c)))return{packageRootPath:t,moduleFileToTry:n}}}else{c=p(n.substring(m.packageRootIndex+1));if("index.d.ts"===c||"index.js"===c||"index.ts"===c||"index.tsx"===c)return{moduleFileToTry:n,packageRootPath:t}}return{moduleFileToTry:n}}(o),v=c.moduleFileToTry,g=c.packageRootPath,h=c.blockedByExports,c=c.verbatimFromExports;if(1!==iM(l)){if(h)return;if(c)return v}if(g){a=g,i=!0;break}if(s=s||v,-1===(o=f.indexOf(ca,o+1))){a=mC(s,y,l,_);break}}if(!e||i){n=_.getGlobalTypingsCacheLocation&&_.getGlobalTypingsCacheLocation(),e=p(a.substring(0,m.topLevelNodeModulesIndex));if(XD(t,e)||n&&XD(p(n),e)){n=a.substring(m.topLevelPackageNameIndex+1),e=Aw(n);return 1===iM(l)&&e===n?void 0:e}}}}}function pC(t,e,r){return uD(e,function(e){e=hC(t,e,r);return void 0!==e&&xC(e)?void 0:e})}function mC(e,t,r,n){if(_A(e,[".json",".mjs",".cjs"]))return e;var a=pm(e);if(e===a)return e;var i=t.indexOf(2),o=t.indexOf(3);if(_A(e,[".mts",".cts"])&&-1!==o&&o<i)return e;if(_A(e,[".d.mts",".mts",".d.cts",".cts"]))return a+vC(e,r);if(!_A(e,[".d.ts"])&&_A(e,[".ts"])&&WD(e,".d."))return yC(e);switch(t[0]){case 0:var s=ur(a,"/index");return n&&s!==a&&function(e,t){var r,n;if(e.fileExists){var a=sD(im({allowJs:!0},[{extension:"node",isMixedContent:!1},{extension:"json",isMixedContent:!1,scriptKind:6}]));try{for(var i=__values(a),o=i.next();!o.done;o=i.next()){var s=t+o.value;if(e.fileExists(s))return s}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}}(n,s)?a:s;case 1:return a;case 2:return a+vC(e,r);case 3:if(QB(e)){s=t.findIndex(function(e){return 0===e||1===e});return-1!==s&&s<i?a:a+vC(e,r)}return e;default:return rA.assertNever(t[0])}}function yC(e){var t=Ea(e);if(qD(e,".ts")&&WD(t,".d.")&&!_A(t,[".d.ts"])){t=xM(e,".ts"),e=t.substring(t.lastIndexOf("."));return t.substring(0,t.indexOf(".d."))+e}}function vC(e,t){return null!==(t=gC(e,t))&&void 0!==t?t:rA.fail("Extension ".concat(bm(e)," is unsupported:: FileName:: ").concat(e))}function gC(e,t){var r=kM(e);switch(r){case".ts":case".d.ts":return".js";case".tsx":return 1===t.jsx?".jsx":".js";case".js":case".jsx":case".json":return r;case".d.mts":case".mts":case".mjs":return".mjs";case".d.cts":case".cts":case".cjs":return".cjs";default:return}}function hC(e,t,r){r=ei(t,e,t,r,!1);return ka(r)?void 0:r}function xC(e){return XD(e,"..")}var bC=e({"src/compiler/moduleSpecifiers.ts":function(){MK()}}),kC={};t(kC,{countPathComponents:function(){return nJ},forEachFileNameOfModule:function(){return uC},getModuleSpecifier:function(){return $w},getModuleSpecifiers:function(){return rJ},getModuleSpecifiersWithCacheInfo:function(){return aC},getNodeModulesPackageName:function(){return eC},tryGetJSExtensionForFile:function(){return gC},tryGetModuleSpecifiersFromCache:function(){return rC},tryGetRealFileNameForNonJsDeclarationFileName:function(){return yC},updateModuleSpecifier:function(){return Zw}});var aJ,iJ,TC,SC,oJ,sJ,wC,cJ,CC,NC,uJ,_J,lJ,dJ,fJ,DC=e({"src/compiler/_namespaces/ts.moduleSpecifiers.ts":function(){bC()}});function pJ(){this.flags=0}function mJ(e){return e.id||(e.id=SC,SC++),e.id}function yJ(e){return e.id||(e.id=TC,TC++),e.id}function vJ(e,t){e=$B(e);return 1===e||t&&2===e}function AC(O){var k,d,f,w,S,r,a=[],D=function(e){a.push(e)},p=new Set,n=pF.getSymbolConstructor(),t=pF.getTypeConstructor(),c=pF.getSignatureConstructor(),i=0,o=0,s=0,u=0,_=0,L=0,B=!1,M=vF(),l=[1],ee=O.getCompilerOptions(),V=rM(ee),x=nM(ee),T=!!ee.experimentalDecorators,b=mM(ee),C=yM(ee),m=uM(ee),te=pM(ee,"strictNullChecks"),z=pM(ee,"strictFunctionTypes"),R=pM(ee,"strictBindCallApply"),v=pM(ee,"strictPropertyInitialization"),N=pM(ee,"noImplicitAny"),y=pM(ee,"noImplicitThis"),g=pM(ee,"useUnknownInCatchVariables"),h=!!ee.keyofStringsOnly,A=h?1:0,q=ee.suppressExcessPropertyErrors?0:8192,re=ee.exactOptionalPropertyTypes,E=(r=zB(function(e,t,r){t?(t.stackIndex++,t.skip=!1,P(t,void 0),j(t,void 0)):t={checkMode:r,skip:!1,stackIndex:0,typeStack:[void 0,void 0]};if(cI(e)&&hI(e))return t.skip=!0,j(t,TT(e.right,r)),t;return function(e){var t=e.left,r=e.operatorToken,e=e.right;61===r.kind&&(!mj(t)||57!==t.operatorToken.kind&&56!==t.operatorToken.kind||RN(t,mA._0_and_1_operations_cannot_be_mixed_without_parentheses,vA(t.operatorToken.kind),vA(r.kind)),!mj(e)||57!==e.operatorToken.kind&&56!==e.operatorToken.kind||RN(e,mA._0_and_1_operations_cannot_be_mixed_without_parentheses,vA(e.operatorToken.kind),vA(r.kind)))}(e),64!==e.operatorToken.kind||210!==e.left.kind&&209!==e.left.kind||(t.skip=!0,j(t,$k(e.left,TT(e.right,r),r,110===e.right.kind))),t},function(e,t,r){if(!t.skip)return F(t,e)},function(e,t,r){if(!t.skip){var n=I(t);rA.assertIsDefined(n),P(t,n),j(t,void 0);e=e.kind;if(TL(e)){for(var a=r.parent;217===a.kind||SL(a);)a=a.parent;56!==e&&!wj(a)||US(r.left,n,wj(a)?a.thenStatement:void 0),VS(n,r.left)}}},function(e,t,r){if(!t.skip)return F(t,e)},function(e,t){{var r,n;e=t.skip?I(t):(r=function(e){return e.typeStack[e.stackIndex]}(t),rA.assertIsDefined(r),n=I(t),rA.assertIsDefined(n),tT(e.left,e.operatorToken,e.right,r,n,t.checkMode,e))}return t.skip=!1,P(t,void 0),j(t,void 0),t.stackIndex--,e},function(e,t,r){return j(e,t),e}),function(e,t){t=r(e,t);return rA.assertIsDefined(t),t});function F(e,t){if(mj(t))return t;j(e,TT(t,e.checkMode))}function P(e,t){e.typeStack[e.stackIndex]=t}function I(e){return e.typeStack[e.stackIndex+1]}function j(e,t){e.typeStack[e.stackIndex+1]=t}var J=function(){var _,e=O.getResolvedTypeReferenceDirectives();e&&(_=new Map,e.forEach(function(e,t,r){e=e.resolvedTypeReferenceDirective;null!=e&&e.resolvedFileName&&(e=O.getSourceFile(e.resolvedFileName))&&function e(t,r,n){var a,i;if(_.has(t.path))return;_.set(t.path,[r,n]);try{for(var o=__values(t.referencedFiles),s=o.next();!s.done;s=o.next()){var c=s.value,u=c.fileName,c=c.resolutionMode,u=SV(u,t.fileName),u=O.getSourceFile(u);u&&e(u,r,c||t.impliedNodeFormat)}}catch(e){a={error:e}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(a)throw a.error}}}(e,t,r)}));return{getReferencedExportContainer:IC,getReferencedImportDeclaration:OC,getReferencedDeclarationWithCollidingName:MC,isDeclarationWithCollidingName:RC,isValueAliasDeclaration:function(e){e=PA(e);return!e||!Oe||jC(e)},hasGlobalName:nN,isReferencedAliasDeclaration:function(e,t){e=PA(e);return!e||!Oe||UC(e,t)},getNodeCheckFlags:function(e){e=PA(e);return e?GC(e):0},isTopLevelValueImportEqualsWithEntityName:BC,isDeclarationVisible:ls,isImplementationOfOverload:VC,isRequiredInitializedParameter:qC,isOptionalUninitializedParameterProperty:WC,isExpandoFunctionDeclaration:HC,getPropertiesOfContainerFunction:KC,createTypeOfDeclaration:eN,createReturnTypeOfSignatureDeclaration:tN,createTypeOfExpression:rN,createLiteralConstValue:cN,isSymbolAccessible:qo,isEntityNameVisible:Qo,getConstantValue:function(e){e=PA(e,QC);return e?YC(e):void 0},collectLinkedAliases:ds,getReferencedValueDeclaration:iN,getReferencedValueDeclarations:oN,getTypeReferenceSerializationKind:$C,isOptionalParameter:C_,moduleExportsSomeValue:PC,isArgumentsLocalBinding:FC,getExternalModuleFileFromDeclaration:function(e){e=PA(e,HF);return e&&lN(e)},getTypeReferenceDirectivesForEntityName:function(e){if(!_)return;var t;167===e.parent.kind?t=1160127:(t=790504,(80===e.kind&&eL(e)||211===e.kind&&!function(e){return e.parent&&233===e.parent.kind&&e.parent.parent&&298===e.parent.parent.kind}(e))&&(t=1160127));e=Yi(e,t,!0);return e&&e!==it?r(e,t):void 0},getTypeReferenceDirectivesForSymbol:r,isLiteralConstDeclaration:sN,isLateBound:function(e){e=PA(e,GE),e=e&&yo(e);return!!(e&&4096&BL(e))},getJsxFactoryEntity:uN,getJsxFragmentFactoryEntity:_N,getAllAccessorDeclarations:function(e){var t=178===(e=PA(e,rE)).kind?177:178,t=mF(yo(e),t);return{firstAccessor:t&&t.pos<e.pos?t:e,secondAccessor:t&&t.pos<e.pos?e:t,setAccessor:178===e.kind?e:t,getAccessor:177===e.kind?e:t}},getSymbolOfExternalModuleSpecifier:function(e){return eo(e,e,void 0)},isBindingCapturedByNode:function(e,t){e=PA(e),t=PA(t);return!!e&&!!t&&(Aj(t)||tj(t))&&function(e,t){e=ci(e);return!!e&&eD(e.capturedBlockScopeBindings,yo(t))}(e,t)},getDeclarationStatementsForSourceFile:function(e,t,r,n){var a=PA(e);rA.assert(a&&312===a.kind,"Non-sourcefile node passed into getDeclarationsForSourceFile");a=yo(e);return a?a.exports?U.symbolTableToDeclarationStatements(a.exports,e,t,r,n):[]:e.locals?U.symbolTableToDeclarationStatements(e.locals,e,t,r,n):[]},isImportRequiredByAugmentation:function(e){var t,r,n,a,i=CF(e);if(!i.symbol)return!1;var o=lN(e);if(!o)return!1;if(o===i)return!1;var s=lo(i.symbol);try{for(var c=__values(PD(s.values())),u=c.next();!u.done;u=c.next()){var _=u.value;if(_.mergeId){var l=mo(_);if(l.declarations)try{for(var d=(n=void 0,__values(l.declarations)),f=d.next();!f.done;f=d.next())if(CF(f.value)===o)return!0}catch(e){n={error:e}}finally{try{f&&!f.done&&(a=d.return)&&a.call(d)}finally{if(n)throw n.error}}}}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(t)throw t.error}}return!1}};function r(e,t){var r,n,a;if(_&&function(e){var t,r;if(!e.declarations)return!1;var n=e;for(;;){var a=go(n);if(!a)break;n=a}if(n.valueDeclaration&&312===n.valueDeclaration.kind&&512&n.flags)return!1;try{for(var i=__values(e.declarations),o=i.next();!o.done;o=i.next()){var s=CF(o.value);if(_.has(s.path))return!0}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return!1}(e)){try{for(var i=__values(e.declarations),o=i.next();!o.done;o=i.next()){var s=o.value;if(s.symbol&&s.symbol.flags&t){s=CF(s),s=_.get(s.path);if(!s)return;(a=a||[]).push(s)}}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a}}}(),U={typeToTypeNode:function(t,e,r,n){return W(e,r,n,function(e){return K(t,e)})},indexInfoToIndexSignatureDeclaration:function(t,e,r,n){return W(e,r,n,function(e){return Z(t,e,void 0)})},signatureToSignatureDeclaration:function(t,r,e,n,a){return W(e,n,a,function(e){return $(t,r,e)})},symbolToEntityName:function(t,r,e,n,a){return W(e,n,a,function(e){return pe(t,e,r,!1)})},symbolToExpression:function(t,r,e,n,a){return W(e,n,a,function(e){return me(t,e,r)})},symbolToTypeParameterDeclarations:function(t,e,r,n){return W(e,r,n,function(e){return ue(t,e)})},symbolToParameterDeclaration:function(t,e,r,n){return W(e,r,n,function(e){return ie(t,e)})},typeParameterToDeclaration:function(t,e,r,n){return W(e,r,n,function(e){return ae(t,e)})},symbolTableToDeclarationStatements:function(t,e,r,n,a){return W(e,r,n,function(e){return function(e,b,k){var T=r(uR.createPropertyDeclaration,174,!0),S=r(function(e,t,r,n){return uR.createPropertySignature(e,t,r,n)},173,!1),w=b.enclosingDeclaration,u=[],a=new Set,n=[],i=b;b=__assign(__assign({},i),{usedSymbolNames:new Set(i.usedSymbolNames),remappedSymbolNames:new Map,tracker:void 0});var t=__assign(__assign({},i.tracker.inner),{trackSymbol:function(e,t,r){if(0===qo(e,t,r,!1).accessibility){var n=ce(e,b,r);4&e.flags||C(n[0])}else if(null!=(n=i.tracker.inner)&&n.trackSymbol)return i.tracker.inner.trackSymbol(e,t,r);return!1}});b.tracker=new fJ(b,t,i.tracker.moduleResolverHost),hF(e,function(e,t){J(e,OA(t))});var c=!k,t=e.get("export=");t&&1<e.size&&2097152&t.flags&&(e=vF()).set("export=",t);return d(e),function(e){e=function(c){var e=ZN(c,function(e){return Wj(e)&&!e.moduleSpecifier&&!e.assertClause&&e.exportClause&&Hj(e.exportClause)});{var t,r;0<=e&&(t=c[e],r=uD(t.exportClause.elements,function(t){var r,e,n;if(!t.propertyName){var a=nD(pD(c),function(e){return jA(c[e],t.name)});if(HN(a)&&XN(a,function(e){return GM(c[e])})){try{for(var i=__values(a),o=i.next();!o.done;o=i.next()){var s=o.value;c[s]=(n=c[s],s=void 0,s=-3&(1|xL(n)),uR.updateModifiers(n,s))}}catch(e){r={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(r)throw r.error}}return}}return t}),HN(r)?c[e]=uR.updateExportDeclaration(t,t.modifiers,t.isTypeOnly,uR.updateNamedExports(t.exportClause,r),t.moduleSpecifier,t.assertClause):HD(c,e))}return c}(e=function(e){var t,r,n=nD(e,function(e){return Wj(e)&&!e.moduleSpecifier&&e.exportClause&&Hj(e.exportClause)});{var a;1<HN(n)&&(a=nD(e,function(e){return!Wj(e)||e.moduleSpecifier||!e.exportClause}),e=__spreadArray(__spreadArray([],__read(a),!1),[uR.createExportDeclaration(void 0,!1,uR.createNamedExports(cD(n,function(e){return JD(e.exportClause,Hj).elements})),void 0)],!1))}n=nD(e,function(e){return Wj(e)&&e.moduleSpecifier&&e.exportClause&&Hj(e.exportClause)});if(1<HN(n)){var i=OD(n,function(e){return hR(e.moduleSpecifier)?">"+e.moduleSpecifier.text:">"});if(i.length!==n.length)try{for(var o=__values(i),s=o.next();!s.done;s=o.next())!function(t){1<t.length&&(e=__spreadArray(__spreadArray([],__read(nD(e,function(e){return-1===t.indexOf(e)})),!1),[uR.createExportDeclaration(void 0,!1,uR.createNamedExports(cD(t,function(e){return JD(e.exportClause,Hj).elements})),t[0].moduleSpecifier)],!1))}(s.value)}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}}return e}(e=function(e){var t=QN(e,qj),r=ZN(e,Mj),n=-1!==r?e[r]:void 0;{var a,i,o,s;n&&t&&t.isExportEquals&&xR(t.expression)&&xR(n.name)&&LA(n.name)===LA(t.expression)&&n.body&&Rj(n.body)&&(a=nD(e,function(e){return 1&xL(e)}),i=n.name,o=n.body,HN(a)&&(n=uR.updateModuleDeclaration(n,n.modifiers,n.name,o=uR.updateModuleBlock(o,uR.createNodeArray(__spreadArray(__spreadArray([],__read(n.body.statements),!1),[uR.createExportDeclaration(void 0,!1,uR.createNamedExports(iD(cD(a,function(e){if(Tj(e))return nD(iD(e.declarationList.declarations,JA),_);return nD([JA(e)],_)}),function(e){return uR.createExportSpecifier(!1,void 0,e)})),void 0)],!1)))),e=__spreadArray(__spreadArray(__spreadArray([],__read(e.slice(0,r)),!1),[n],!1),__read(e.slice(r+1)),!1)),QN(e,function(e){return e!==n&&jA(e,i)})||(u=[],s=!dD(o.statements,function(e){return _L(e,1)||qj(e)||Wj(e)}),KN(o.statements,function(e){N(e,s?1:0)}),e=__spreadArray(__spreadArray([],__read(nD(e,function(e){return e!==n&&e!==t})),!1),__read(u),!1)))}return e}(e))),w&&(uB(w)&&_P(w)||Mj(w))&&(!dD(e,VE)||!zE(e)&&dD(e,UE))&&e.push(PB(uR));return e}(u);function _(e){return!!e&&80===e.kind}function l(e){var t=-2&xL(e);return uR.updateModifiers(e,t)}function d(e,t,r){t||n.push(new Map),e.forEach(function(e){o(e,!1,!!r)}),t||(n[n.length-1].forEach(function(e){o(e,!0,!!r)}),n.pop())}function o(e,t,r){var n=mo(e);a.has(yJ(n))||(a.add(yJ(n)),(!t||HN(e.declarations)&&dD(e.declarations,function(e){return!!FA(e,function(e){return e===w})}))&&(b=function(e){e=__assign({},e);e.typeParameterNames&&(e.typeParameterNames=new Map(e.typeParameterNames));e.typeParameterNamesByText&&(e.typeParameterNamesByText=new Set(e.typeParameterNamesByText));e.typeParameterSymbolList&&(e.typeParameterSymbolList=new Set(e.typeParameterSymbolList));return e.tracker=new fJ(e,e.tracker.inner,e.tracker.moduleResolverHost),e}(n=b),function(e,t,r){var n,a,i,o=OA(e.escapedName),s="default"===e.escapedName;if(t&&!(131072&b.flags)&&bO(o)&&!s)return b.encounteredError=!0;var c=s&&!!(-113&e.flags||16&e.flags&&HN(Ou(sc(e))))&&!(2097152&e.flags),u=!c&&!t&&bO(o)&&!s;(c||u)&&(t=!0);var _,l,d,f,p=(t?0:1)|(s&&!c?1024:0),m=1536&e.flags&&7&e.flags&&"export="!==e.escapedName,y=m&&O(sc(e),e);if((8208&e.flags||y)&&A(sc(e),e,J(e,o),p),524288&e.flags&&function(e,t,r){var n=Cc(e),a=iD(si(e).typeParameters,function(e){return ae(e,b)}),i=null==(c=e.declarations)?void 0:c.find(UI),o=$A(i?i.comment||i.parent.comment:void 0),s=b.flags;b.flags|=8388608;var c=b.enclosingDeclaration,n=(b.enclosingDeclaration=i)&&i.typeExpression&&_B(i.typeExpression)&&Se(b,i.typeExpression.type,C,k)||K(n,b);N(fR(uR.createTypeAliasDeclaration(void 0,J(e,t),a,n),o?[{kind:3,text:"*\n * "+o.replace(/\n/g,"\n * ")+"\n ",pos:-1,end:-1,hasTrailingNewLine:!0}]:[]),r),b.flags=s,b.enclosingDeclaration=c}(e,o,p),!(98311&e.flags&&"export="!==e.escapedName)||4194304&e.flags||32&e.flags||8192&e.flags||y||(r?I(e)&&(c=u=!1):(_=sc(e),l=J(e,o),16&e.flags||!O(_,e)?(s=2&e.flags?vg(e)?2:1:null!=(d=e.parent)&&d.valueDeclaration&&uB(null==(f=e.parent)?void 0:f.valueDeclaration)?2:void 0,r=!c&&4&e.flags?B(l,e):l,(d=e.declarations&&QN(e.declarations,Aj))&&Ej(d.parent)&&1===d.parent.declarations.length&&(d=d.parent.parent),(f=null==(f=e.declarations)?void 0:f.find(aj))&&mj(f.parent)&&xR(f.parent.right)&&null!=(i=_.symbol)&&i.valueDeclaration&&uB(_.symbol.valueDeclaration)?(f=l===f.parent.right.escapedText?void 0:f.parent.right,N(uR.createExportDeclaration(void 0,!1,uR.createNamedExports([uR.createExportSpecifier(!1,f,l)])),0),b.tracker.trackSymbol(_.symbol,b.enclosingDeclaration,111551)):(N(UB(uR.createVariableStatement(void 0,uR.createVariableDeclarationList([uR.createVariableDeclaration(r,void 0,ke(b,_,e,w,C,k))],s)),d),r!==l?-2&p:p),r===l||t||(N(uR.createExportDeclaration(void 0,!1,uR.createNamedExports([uR.createExportSpecifier(!1,r,l)])),0),c=u=!1))):A(_,e,l,p))),384&e.flags&&function(e,t,r){N(uR.createEnumDeclaration(uR.createModifiersFromModifierFlags(Xk(e)?2048:0),J(e,t),iD(nD(Ou(sc(e)),function(e){return 8&e.flags}),function(e){var t=e.declarations&&e.declarations[0]&&cB(e.declarations[0])?YC(e.declarations[0]):void 0;return uR.createEnumMember(OA(e.escapedName),void 0===t?void 0:"string"==typeof t?uR.createStringLiteral(t):uR.createNumericLiteral(t))})),r)}(e,o,p),32&e.flags&&(4&e.flags&&e.valueDeclaration&&mj(e.valueDeclaration.parent)&&vj(e.valueDeclaration.parent.right)?P:function(e,t,r){var n=null==(u=e.declarations)?void 0:u.find(NE),a=b.enclosingDeclaration;b.enclosingDeclaration=n||a;var i=iD(mc(e),function(e){return ae(e,b)}),o=Tc(f=Qc(wc(e))),s=(d=n&&gO(n))&&function(e){var t=uD(e,function(e){var t=b.enclosingDeclaration;if(AL(a=(b.enclosingDeclaration=e).expression)){if(xR(a)&&""===LA(a))return i(void 0);var r,n=(r=Te(a,b,C)).introducesError,a=r.node;if(n)return i(void 0)}return i(uR.createExpressionWithTypeArguments(a,iD(e.typeArguments,function(e){return Se(b,e,C,k)||K(Uf(e),b)})));function i(e){return b.enclosingDeclaration=t,e}});return t.length!==e.length?void 0:t}(d)||uD(function(e){var t,r,n,a,i=WN;if(e.symbol.declarations)try{for(var o=__values(e.symbol.declarations),s=o.next();!s.done;s=o.next()){var c=gO(s.value);if(c)try{for(var u=(n=void 0,__values(c)),_=u.next();!_.done;_=u.next()){var l=Uf(_.value);hs(l)||(i===WN?i=[l]:i.push(l))}}catch(e){n={error:e}}finally{try{_&&!_.done&&(a=u.return)&&a.call(u)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i}(f),j),c=sc(e),u=!(null==(l=c.symbol)||!l.valueDeclaration)&&NE(c.symbol.valueDeclaration),_=u?bc(c):ut,n=__spreadArray(__spreadArray([],__read(HN(o)?[uR.createHeritageClause(96,iD(o,function(e){return function(e,t,r){e=R(e,111551);if(e)return e;r=B("".concat(r,"_base"));return N(uR.createVariableStatement(void 0,uR.createVariableDeclarationList([uR.createVariableDeclaration(r,void 0,K(t,b))],2)),0),uR.createExpressionWithTypeArguments(uR.createIdentifier(r),void 0)}(e,_,t)}))]:[]),!1),__read(HN(s)?[uR.createHeritageClause(119,s)]:[]),!1),l=nD(d=function(e,t,r){var n,a,i,o;if(!HN(t))return r;var s=new Map;KN(r,function(e){s.set(e.escapedName,e)});try{for(var c=__values(t),u=c.next();!u.done;u=c.next()){var _=Ou(Qc(u.value,e.thisType));try{for(var l=(i=void 0,__values(_)),d=l.next();!d.done;d=l.next()){var f=d.value,p=s.get(f.escapedName);p&&f.parent===p.parent&&s.delete(f.escapedName)}}catch(e){i={error:e}}finally{try{d&&!d.done&&(o=l.return)&&o.call(l)}finally{if(i)throw i.error}}}}catch(e){n={error:e}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(n)throw n.error}}return PD(s.values())}(f,o,Ou(f)),function(e){e=e.valueDeclaration;return e&&(!BA(e)||!bR(e.name))}),s=dD(d,function(e){e=e.valueDeclaration;return!!e&&BA(e)&&bR(e.name)})?[uR.createPropertyDeclaration(void 0,uR.createPrivateIdentifier("#private"),void 0,void 0,void 0)]:WN,d=cD(l,function(e){return T(e,!1,o[0])}),l=cD(nD(Ou(c),function(e){return!(4194304&e.flags||"prototype"===e.escapedName||F(e))}),function(e){return T(e,!0,_)}),c=!u&&e.valueDeclaration&&cI(e.valueDeclaration)&&!dD(l_(c,1))?[uR.createConstructorDeclaration(uR.createModifiersFromModifierFlags(8),[],void 0)]:L(1,c,_,176),f=M(f,o[0]);b.enclosingDeclaration=a,N(UB(uR.createClassDeclaration(void 0,t,i,n,__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray([],__read(f),!1),__read(l),!1),__read(c),!1),__read(d),!1),__read(s),!1)),e.declarations&&nD(e.declarations,function(e){return Pj(e)||vj(e)})[0]),r)})(e,J(e,o),p),(1536&e.flags&&(!m||function(e){return XN(D(e),function(e){return!(111551&Vi(zi(e)))})}(e))||y)&&function(i,e,t){var o,r,n=(a=ID(D(i),function(e){return e.parent&&e.parent===i?"real":"merged"})).get("real")||WN,a=a.get("merged")||WN;HN(n)&&(r=J(i,e),E(n,r,t,!!(67108880&i.flags))),HN(a)&&(o=CF(b.enclosingDeclaration),r=J(i,e),a=uR.createModuleBlock([uR.createExportDeclaration(void 0,!1,uR.createNamedExports(uD(nD(a,function(e){return"export="!==e.escapedName}),function(e){var t=OA(e.escapedName),r=J(e,t),n=e.declarations&&ki(e);if(!o||(n?o===CF(n):dD(e.declarations,function(e){return CF(e)===o}))){var a=n&&Bi(n,!0);C(a||e);var a=a?J(a,OA(a.escapedName)):r;return uR.createExportSpecifier(!1,t===a?void 0:a,t)}null!=(t=null==(a=b.tracker)?void 0:a.reportNonlocalAugmentation)&&t.call(a,o,i,e)})))]),N(uR.createModuleDeclaration(void 0,uR.createIdentifier(r),a,32),0))}(e,o,p),64&e.flags&&!(32&e.flags)&&function(e,t,r){var n=wc(e),a=iD(mc(e),function(e){return ae(e,b)}),i=HN(u=Tc(n))?Cd(u):void 0,o=cD(Ou(n),function(e){return S(e,!1,i)}),s=L(0,n,i,179),c=L(1,n,i,180),n=M(n,i),u=HN(u)?[uR.createHeritageClause(96,uD(u,function(e){return R(e,111551)}))]:void 0;N(uR.createInterfaceDeclaration(void 0,J(e,t),a,u,__spreadArray(__spreadArray(__spreadArray(__spreadArray([],__read(n),!1),__read(c),!1),__read(s),!1),__read(o),!1)),r)}(e,o,p),2097152&e.flags&&P(e,J(e,o),p),4&e.flags&&"export="===e.escapedName&&I(e),8388608&e.flags&&e.declarations)try{for(var v=__values(e.declarations),g=v.next();!g.done;g=v.next()){var h=g.value,x=$i(h,h.moduleSpecifier);x&&N(uR.createExportDeclaration(void 0,h.isTypeOnly,void 0,uR.createStringLiteral(le(x,b))),0)}}catch(e){n={error:e}}finally{try{g&&!g.done&&(a=v.return)&&a.call(v)}finally{if(n)throw n.error}}c?N(uR.createExportAssignment(void 0,!1,uR.createIdentifier(J(e,o))),0):u&&N(uR.createExportDeclaration(void 0,!1,uR.createNamedExports([uR.createExportSpecifier(!1,J(e,o),o)])),0)}(e,t,r),b.reportedDiagnostic&&(i.reportedDiagnostic=b.reportedDiagnostic),b=n))}function C(e){var t;dD(e.declarations,LO)||(rA.assertIsDefined(n[n.length-1]),B(OA(e.escapedName),e),t=!!(2097152&e.flags)&&!dD(e.declarations,function(e){return!!FA(e,Wj)||Uj(e)||Bj(e)&&!Gj(e.moduleReference)}),n[t?0:n.length-1].set(yJ(e),e))}function N(e,t){var r,n,a;VB(e)&&(r=0,n=b.enclosingDeclaration&&(UI(b.enclosingDeclaration)?CF(b.enclosingDeclaration):b.enclosingDeclaration),1&t&&n&&(uB(a=n)&&(_P(a)||lP(a))||RF(a)&&!zF(a)||Mj(n))&&GM(e)&&(r|=1),!c||1&r||n&&33554432&n.flags||!(Lj(e)||Tj(e)||Fj(e)||Pj(e)||Mj(e))||(r|=2),1024&t&&(Pj(e)||Ij(e)||Fj(e))&&(r|=1024),r&&(e=uR.updateModifiers(e,r|xL(e)))),u.push(e)}function D(e){e=_o(e);return e?nD(PD(e.values()),function(e){return F(e)&&bA(e.escapedName,99)}):[]}function A(e,t,r,n){var a,i,o=l_(e,0);try{for(var s=__values(o),c=s.next();!c.done;c=s.next()){var u=c.value;N(UB($(u,262,b,{name:uR.createIdentifier(r),privateSymbolVisitor:C,bundledImports:k}),function(e){if(e.declaration&&e.declaration.parent){if(mj(e.declaration.parent)&&5===NI(e.declaration.parent))return e.declaration.parent;if(Aj(e.declaration.parent)&&e.declaration.parent.parent)return e.declaration.parent.parent}return e.declaration}(u)),n)}}catch(e){a={error:e}}finally{try{c&&!c.done&&(i=s.return)&&i.call(s)}finally{if(a)throw a.error}}1536&t.flags&&t.exports&&t.exports.size||E(nD(Ou(e),F),r,n,!0)}function E(e,t,r,n){var a,i,o,s;HN(e)&&(a=ID(e,function(e){return!HN(e.declarations)||dD(e.declarations,function(e){return CF(e)===CF(b.enclosingDeclaration)})?"local":"remote"}).get("local")||WN,jM(s=WB.createModuleDeclaration(void 0,uR.createIdentifier(t),uR.createModuleBlock([]),32),w),s.locals=vF(e),s.symbol=e[0].parent,i=u,o=c,c=!(u=[]),t=__assign(__assign({},b),{enclosingDeclaration:s}),e=b,b=t,d(vF(a),n,!0),b=e,c=o,o=u,u=i,o=XN(o=iD(o,function(e){return qj(e)&&!e.isExportEquals&&xR(e.expression)?uR.createExportDeclaration(void 0,!1,uR.createNamedExports([uR.createExportSpecifier(!1,e.expression,uR.createIdentifier("default"))])):e}),function(e){return _L(e,1)})?iD(o,l):o,N(s=uR.updateModuleDeclaration(s,s.modifiers,s.name,uR.createModuleBlock(o)),r))}function F(e){return!!(2887656&e.flags)||!(4194304&e.flags||"prototype"===e.escapedName||e.valueDeclaration&&lL(e.valueDeclaration)&&NE(e.valueDeclaration.parent))}function P(e,t,r){var n,a=ki(e);if(!a)return rA.fail();var i=mo(Bi(a,!0));if(i){var o=BF(i)&&GN(e.declarations,function(e){if(Vj(e)||Kj(e))return LA(e.propertyName||e.name);if(mj(e)||qj(e)){var t=qj(e)?e.expression:e.right;if(aj(t))return LA(t.name)}if(Ti(e)){e=JA(e);if(e&&xR(e))return LA(e)}})||OA(i.escapedName);"export="===o&&m&&(o="default");var s=J(i,o);switch(C(i),a.kind){case 208:if(260===(null==(n=null==(n=a.parent)?void 0:n.parent)?void 0:n.kind)){var c=le(i.parent||i,b),u=a.propertyName;N(uR.createImportDeclaration(void 0,uR.createImportClause(!1,void 0,uR.createNamedImports([uR.createImportSpecifier(!1,u&&xR(u)?uR.createIdentifier(LA(u)):void 0,uR.createIdentifier(t))])),uR.createStringLiteral(c),void 0),0);break}rA.failBadSyntaxKind((null==(u=a.parent)?void 0:u.parent)||a,"Unhandled binding element grandparent kind in declaration serialization");break;case 304:226===(null==(l=null==(l=a.parent)?void 0:l.parent)?void 0:l.kind)&&f(OA(e.escapedName),s);break;case 260:if(aj(a.initializer)){var _=a.initializer,l=uR.createUniqueName(t),c=le(i.parent||i,b);N(uR.createImportEqualsDeclaration(void 0,!1,l,uR.createExternalModuleReference(uR.createStringLiteral(c))),0),N(uR.createImportEqualsDeclaration(void 0,!1,uR.createIdentifier(t),uR.createQualifiedName(l,_.name)),r);break}case 271:if("export="===i.escapedName&&dD(i.declarations,function(e){return uB(e)&&lP(e)})){I(e);break}_=!(512&i.flags||Aj(a));N(uR.createImportEqualsDeclaration(void 0,!1,uR.createIdentifier(t),_?pe(i,b,67108863,!1):uR.createExternalModuleReference(uR.createStringLiteral(le(i,b)))),_?r:0);break;case 270:N(uR.createNamespaceExportDeclaration(LA(a.name)),0);break;case 273:var d=le(i.parent||i,b),c=k?uR.createStringLiteral(d):a.parent.moduleSpecifier;N(uR.createImportDeclaration(void 0,uR.createImportClause(!1,uR.createIdentifier(t),void 0),c,a.parent.assertClause),0);break;case 274:d=le(i.parent||i,b),c=k?uR.createStringLiteral(d):a.parent.parent.moduleSpecifier;N(uR.createImportDeclaration(void 0,uR.createImportClause(!1,void 0,uR.createNamespaceImport(uR.createIdentifier(t))),c,a.parent.parent.assertClause),0);break;case 280:N(uR.createExportDeclaration(void 0,!1,uR.createNamespaceExport(uR.createIdentifier(t)),uR.createStringLiteral(le(i,b))),0);break;case 276:d=le(i.parent||i,b),c=k?uR.createStringLiteral(d):a.parent.parent.parent.moduleSpecifier;N(uR.createImportDeclaration(void 0,uR.createImportClause(!1,void 0,uR.createNamedImports([uR.createImportSpecifier(!1,t!==o?uR.createIdentifier(o):void 0,uR.createIdentifier(t))])),c,a.parent.parent.parent.assertClause),0);break;case 281:c=a.parent.parent.moduleSpecifier;f(OA(e.escapedName),c?o:s,c&&oF(c)?uR.createStringLiteral(c.text):void 0);break;case 277:I(e);break;case 226:case 211:case 212:"default"===e.escapedName||"export="===e.escapedName?I(e):f(t,s);break;default:return rA.failBadSyntaxKind(a,"Unhandled alias declaration kind in symbol serializer!")}}}function f(e,t,r){N(uR.createExportDeclaration(void 0,!1,uR.createNamedExports([uR.createExportSpecifier(!1,e!==t?t:void 0,e)]),r),0)}function I(e){if(4194304&e.flags)return!1;var t=OA(e.escapedName),r="export="===t,n=r||"default"===t,a=e.declarations&&ki(e),i=a&&Bi(a,!0);if(i&&HN(i.declarations)&&dD(i.declarations,function(e){return CF(e)===CF(w)})){var o=a&&(qj(a)||mj(a)?pO:mO)(a),a=o&&AL(o)?function(e){switch(e.kind){case 80:return e;case 166:for(;e=e.left,80!==e.kind;);return e;case 211:do{if(CI(e.expression)&&!bR(e.name))return e.name}while(80!==(e=e.expression).kind);return e}}(o):void 0,s=a&&Yi(a,67108863,!0,!0,w);(s||i)&&C(s||i);s=b.tracker.disableTrackSymbol;return b.tracker.disableTrackSymbol=!0,n?u.push(uR.createExportAssignment(void 0,r,me(i,b,67108863))):a===o&&a?f(t,LA(a)):o&&vj(o)?f(t,J(i,RA(i))):(c=B(t,e),N(uR.createImportEqualsDeclaration(void 0,!1,uR.createIdentifier(c),pe(i,b,67108863,!1)),0),f(t,c)),b.tracker.disableTrackSymbol=s,!0}var c=B(t,e),s=xy(sc(mo(e)));return O(s,e)?A(s,e,c,n?0:1):N(uR.createVariableStatement(void 0,uR.createVariableDeclarationList([uR.createVariableDeclaration(c,void 0,ke(b,s,e,w,C,k))],267===(null==(e=b.enclosingDeclaration)?void 0:e.kind)?1:2)),i&&4&i.flags&&"export="===i.escapedName?2:t===c?1:0),n?(u.push(uR.createExportAssignment(void 0,r,uR.createIdentifier(c))),!0):t!==c&&(f(t,c),!0)}function O(e,t){var r=CF(b.enclosingDeclaration);return 48&WL(e)&&!HN(v_(e))&&!as(e)&&!(!HN(nD(Ou(e),F))&&!HN(l_(e,0)))&&!HN(l_(e,1))&&!he(t,w)&&!(e.symbol&&dD(e.symbol.declarations,function(e){return CF(e)!==r}))&&!dD(Ou(e),function(e){return Vc(e.escapedName)})&&!dD(Ou(e),function(e){return dD(e.declarations,function(e){return CF(e)!==r})})&&XN(Ou(e),function(e){return bA(RA(e),V)})}function r(y,v,g){return function(e,t,r){var n,a,i,o=JL(e),s=!!(8&o);if(t&&2887656&e.flags)return[];if(4194304&e.flags||"constructor"===e.escapedName||r&&u_(r,e.escapedName)&&jk(u_(r,e.escapedName))===jk(e)&&(16777216&e.flags)==(16777216&u_(r,e.escapedName).flags)&&Tp(sc(e),vs(r,e.escapedName)))return[];var c=-513&o|(t?32:0),u=ge(e,b),r=null==(i=e.declarations)?void 0:i.find(ZD(AR,DE,Aj,DR,mj,aj));if(98304&e.flags&&g){t=[];return 65536&e.flags&&t.push(UB(uR.createSetAccessorDeclaration(uR.createModifiersFromModifierFlags(c),u,[uR.createParameterDeclaration(void 0,void 0,"arg",void 0,s?void 0:ke(b,sc(e),e,w,C,k))],void 0),(null==(i=e.declarations)?void 0:i.find($E))||r)),32768&e.flags&&(o=8&o,t.push(UB(uR.createGetAccessorDeclaration(uR.createModifiersFromModifierFlags(c),u,[],o?void 0:ke(b,sc(e),e,w,C,k),void 0),(null==(o=e.declarations)?void 0:o.find(eF))||r))),t}if(98311&e.flags)return UB(y(uR.createModifiersFromModifierFlags((jk(e)?64:0)|c),u,16777216&e.flags?uR.createToken(58):void 0,s?void 0:ke(b,oc(e),e,w,C,k),void 0),(null==(s=e.declarations)?void 0:s.find(ZD(AR,Aj)))||r);if(8208&e.flags){var _=l_(sc(e),0);if(8&c)return UB(y(uR.createModifiersFromModifierFlags((jk(e)?64:0)|c),u,16777216&e.flags?uR.createToken(58):void 0,void 0,void 0),(null==(r=e.declarations)?void 0:r.find(TE))||_[0]&&_[0].declaration||e.declarations&&e.declarations[0]);var l=[];try{for(var d=__values(_),f=d.next();!f.done;f=d.next()){var p=f.value,m=$(p,v,b,{name:u,questionToken:16777216&e.flags?uR.createToken(58):void 0,modifiers:c?uR.createModifiersFromModifierFlags(c):void 0}),p=p.declaration&&OI(p.declaration.parent)?p.declaration.parent:p.declaration;l.push(UB(m,p))}}catch(e){n={error:e}}finally{try{f&&!f.done&&(a=d.return)&&a.call(d)}finally{if(n)throw n.error}}return l}return rA.fail("Unhandled class member kind! ".concat(e.__debugFlags||e.flags))}}function L(e,t,r,n){var a,i,o,s,c=l_(t,e);if(1===e){if(!r&&XN(c,function(e){return 0===HN(e.parameters)}))return[];if(r){var u=l_(r,1);if(!HN(u)&&XN(c,function(e){return 0===HN(e.parameters)}))return[];if(u.length===c.length){for(var _=!1,l=0;l<u.length;l++)if(!Cm(c[l],u[l],!1,!1,!0,Sp)){_=!0;break}if(!_)return[]}}var d=0;try{for(var f=__values(c),p=f.next();!p.done;p=f.next()){var m=p.value;m.declaration&&(d|=hL(m.declaration,24))}}catch(e){a={error:e}}finally{try{p&&!p.done&&(i=f.return)&&i.call(f)}finally{if(a)throw a.error}}if(d)return[UB(uR.createConstructorDeclaration(uR.createModifiersFromModifierFlags(d),[],void 0),c[0].declaration)]}var y=[];try{for(var v=__values(c),g=v.next();!g.done;g=v.next()){var h=g.value,x=$(h,n,b);y.push(UB(x,h.declaration))}}catch(e){o={error:e}}finally{try{g&&!g.done&&(s=v.return)&&s.call(v)}finally{if(o)throw o.error}}return y}function M(e,t){var r,n,a=[];try{for(var i=__values(v_(e)),o=i.next();!o.done;o=i.next()){var s=o.value;if(t){var c=g_(t,s.keyType);if(c&&Tp(s.type,c.type))continue}a.push(Z(s,b,void 0))}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a}function R(e,t){var r,n;if(e.target&&Vo(e.target.symbol,w,t)?(r=iD(ll(e),function(e){return K(e,b)}),n=me(e.target.symbol,b,788968)):e.symbol&&Vo(e.symbol,w,t)&&(n=me(e.symbol,b,788968)),n)return uR.createExpressionWithTypeArguments(n,r)}function j(e){var t=R(e,788968);return t||(e.symbol?uR.createExpressionWithTypeArguments(me(e.symbol,b,788968),void 0):void 0)}function B(e,t){var r,n=t?yJ(t):void 0;if(n&&b.remappedSymbolNames.has(n))return b.remappedSymbolNames.get(n);t&&(e=s(t,e));for(var a=0,i=e;null!=(r=b.usedSymbolNames)&&r.has(e);)a++,e="".concat(i,"_").concat(a);return null!=(t=b.usedSymbolNames)&&t.add(e),n&&b.remappedSymbolNames.set(n,e),e}function s(e,t){var r;return"default"!==t&&"__class"!==t&&"__function"!==t||(r=b.flags,b.flags|=16777216,e=_s(e,b),b.flags=r,t=0<e.length&&mI(e.charCodeAt(0))?UO(e):e),"default"===t?t="_default":"export="===t&&(t="_exports"),t=bA(t,V)&&!bO(t)?t:"_"+t.replace(/[^a-zA-Z0-9]/g,"_")}function J(e,t){var r=yJ(e);return b.remappedSymbolNames.has(r)?b.remappedSymbolNames.get(r):(t=s(e,t),b.remappedSymbolNames.set(r,t),t)}}(t,e,a)})},symbolToNode:function(t,r,e,n,a){return W(e,n,a,function(e){return function(e,t,r){if(1073741824&t.flags){if(e.valueDeclaration){var n=JA(e.valueDeclaration);if(n&&SR(n))return n}n=si(e).nameType;if(n&&9216&n.flags)return t.enclosingDeclaration=n.symbol.valueDeclaration,uR.createComputedPropertyName(me(n.symbol,t,r))}return me(e,t,r)}(t,e,r)})}};function W(e,t,r,n){rA.assert(void 0===e||0==(16&e.flags));var a,i=null!=r&&r.trackSymbol?r.moduleResolverHost:134217728&t?{getCommonSourceDirectory:(a=O).getCommonSourceDirectory?function(){return a.getCommonSourceDirectory()}:function(){return""},getCurrentDirectory:function(){return a.getCurrentDirectory()},getSymlinkCache:LD(a,a.getSymlinkCache),getPackageJsonInfoCache:function(){var e;return null==(e=a.getPackageJsonInfoCache)?void 0:e.call(a)},useCaseSensitiveFileNames:LD(a,a.useCaseSensitiveFileNames),redirectTargetsMap:a.redirectTargetsMap,getProjectReferenceRedirect:function(e){return a.getProjectReferenceRedirect(e)},isSourceOfProjectReferenceRedirect:function(e){return a.isSourceOfProjectReferenceRedirect(e)},fileExists:function(e){return a.fileExists(e)},getFileIncludeReasons:function(){return a.getFileIncludeReasons()},readFile:a.readFile?function(e){return a.readFile(e)}:void 0}:void 0,t={enclosingDeclaration:e,flags:t||0,tracker:void 0,encounteredError:!1,reportedDiagnostic:!1,visitedTypes:void 0,symbolDepth:void 0,inferTypeParameters:void 0,approximateLength:0};t.tracker=new fJ(t,r,i);n=n(t);return t.truncating&&1&t.flags&&t.tracker.reportTruncationError(),t.encounteredError?void 0:n}function H(e){return e.truncating||(e.truncating=e.approximateLength>(1&e.flags?fF:dF))}function K(e,t){var r=t.flags,e=function(e,T){k&&k.throwIfCancellationRequested&&k.throwIfCancellationRequested();var t=8388608&T.flags;if(T.flags&=-8388609,!e)return 262144&T.flags?(T.approximateLength+=3,uR.createKeywordTypeNode(133)):void(T.encounteredError=!0);536870912&T.flags||(e=n_(e));if(1&e.flags)return e.aliasSymbol?uR.createTypeReferenceNode(function e(t){var r=uR.createIdentifier(OA(t.escapedName));return t.parent?uR.createQualifiedName(e(t.parent),r):r}(e.aliasSymbol),Y(e.aliasTypeArguments,T)):e===ft?pR(uR.createKeywordTypeNode(133),3,"unresolved"):(T.approximateLength+=3,uR.createKeywordTypeNode(e===mt?141:133));if(2&e.flags)return uR.createKeywordTypeNode(159);if(4&e.flags)return T.approximateLength+=6,uR.createKeywordTypeNode(154);if(8&e.flags)return T.approximateLength+=6,uR.createKeywordTypeNode(150);if(64&e.flags)return T.approximateLength+=6,uR.createKeywordTypeNode(163);if(16&e.flags&&!e.aliasSymbol)return T.approximateLength+=7,uR.createKeywordTypeNode(136);if(1056&e.flags){if(8&e.symbol.flags){var r=go(e.symbol),n=de(r,T,788968);if(Pc(r)===e)return n;r=RA(e.symbol);return bA(r,0)?x(n,uR.createTypeReferenceNode(r,void 0)):ZR(n)?(n.isTypeOf=!0,uR.createIndexedAccessTypeNode(n,uR.createLiteralTypeNode(uR.createStringLiteral(r)))):BR(n)?uR.createIndexedAccessTypeNode(uR.createTypeQueryNode(n.typeName),uR.createLiteralTypeNode(uR.createStringLiteral(r))):rA.fail("Unhandled type node kind returned from `symbolToTypeNode`.")}return de(e.symbol,T,788968)}if(128&e.flags)return T.approximateLength+=e.value.length+2,uR.createLiteralTypeNode(lR(uR.createStringLiteral(e.value,!!(268435456&T.flags)),16777216));if(256&e.flags){r=e.value;return T.approximateLength+=(""+r).length,uR.createLiteralTypeNode(r<0?uR.createPrefixUnaryExpression(41,uR.createNumericLiteral(-r)):uR.createNumericLiteral(r))}if(2048&e.flags)return T.approximateLength+=EM(e.value).length+1,uR.createLiteralTypeNode(uR.createBigIntLiteral(e.value));if(512&e.flags)return T.approximateLength+=e.intrinsicName.length,uR.createLiteralTypeNode("true"===e.intrinsicName?uR.createTrue():uR.createFalse());if(8192&e.flags){if(!(1048576&T.flags)){if(Uo(e.symbol,T.enclosingDeclaration))return T.approximateLength+=6,de(e.symbol,T,111551);T.tracker.reportInaccessibleUniqueSymbolError&&T.tracker.reportInaccessibleUniqueSymbolError()}return T.approximateLength+=13,uR.createTypeOperatorNode(158,uR.createKeywordTypeNode(155))}if(16384&e.flags)return T.approximateLength+=4,uR.createKeywordTypeNode(116);if(32768&e.flags)return T.approximateLength+=9,uR.createKeywordTypeNode(157);if(65536&e.flags)return T.approximateLength+=4,uR.createLiteralTypeNode(uR.createNull());if(131072&e.flags)return T.approximateLength+=5,uR.createKeywordTypeNode(146);if(4096&e.flags)return T.approximateLength+=6,uR.createKeywordTypeNode(155);if(67108864&e.flags)return T.approximateLength+=6,uR.createKeywordTypeNode(151);if(HM(e))return 4194304&T.flags&&(T.encounteredError||32768&T.flags||(T.encounteredError=!0),null!=(i=(o=T.tracker).reportInaccessibleThisError)&&i.call(o)),T.approximateLength+=4,uR.createThisTypeNode();if(!t&&e.aliasSymbol&&(16384&T.flags||zo(e.aliasSymbol,T.enclosingDeclaration))){var a=Y(e.aliasTypeArguments,T);return!Po(e.aliasSymbol.escapedName)||32&e.aliasSymbol.flags?1===HN(a)&&e.aliasSymbol===kr.symbol?uR.createArrayTypeNode(a[0]):de(e.aliasSymbol,T,788968,a):uR.createTypeReferenceNode(uR.createIdentifier(""),a)}var i=WL(e);if(4&i)return rA.assert(!!(524288&e.flags)),e.node?v(e,h):h(e);if(262144&e.flags||3&i){if(262144&e.flags&&eD(T.inferTypeParameters,e)){T.approximateLength+=RA(e.symbol).length+6;var o=void 0,t=Mu(e);return t&&((a=tl(e,!0))&&Tp(t,a)||(T.approximateLength+=9,o=t&&K(t,T))),uR.createInferTypeNode(ne(e,T,o))}if(4&T.flags&&262144&e.flags&&!zo(e.symbol,T.enclosingDeclaration)){var s=fe(e,T);return T.approximateLength+=LA(s).length,uR.createTypeReferenceNode(uR.createIdentifier(LA(s)),void 0)}if(e.symbol)return de(e.symbol,T,788968);s=(e===dr||e===fr)&&S&&S.symbol?(e===fr?"sub-":"super-")+RA(S.symbol):"?";return uR.createTypeReferenceNode(uR.createIdentifier(s),void 0)}1048576&e.flags&&e.origin&&(e=e.origin);if(3145728&e.flags){s=1048576&e.flags?function(e){for(var t=[],r=0,n=0;n<e.length;n++){var a=e[n];if(r|=a.flags,!(98304&a.flags)){if(1568&a.flags){var i=512&a.flags?It:Nc(a);if(1048576&i.flags){var o=i.types.length;if(n+o<=e.length&&If(e[n+o-1])===If(i.types[o-1])){t.push(i),n+=o-1;continue}}}t.push(a)}}65536&r&&t.push(Tt);32768&r&&t.push(gt);return t||e}(e.types):e.types;if(1===HN(s))return K(s[0],T);s=Y(s,T,!0);return s&&0<s.length?1048576&e.flags?uR.createUnionTypeNode(s):uR.createIntersectionTypeNode(s):void(T.encounteredError||262144&T.flags||(T.encounteredError=!0))}if(48&i)return rA.assert(!!(524288&e.flags)),y(e);if(4194304&e.flags){var c=e.type;T.approximateLength+=6;var u=K(c,T);return uR.createTypeOperatorNode(143,u)}if(134217728&e.flags){var _=e.texts,l=e.types,i=uR.createTemplateHead(_[0]),c=uR.createNodeArray(iD(l,function(e,t){return uR.createTemplateLiteralTypeSpan(K(e,T),(t<l.length-1?uR.createTemplateMiddle:uR.createTemplateTail)(_[t+1]))}));return T.approximateLength+=2,uR.createTemplateLiteralType(i,c)}if(268435456&e.flags){var d=K(e.type,T);return de(e.symbol,T,788968,[d])}if(8388608&e.flags){d=K(e.objectType,T),u=K(e.indexType,T);return T.approximateLength+=2,uR.createIndexedAccessTypeNode(d,u)}if(16777216&e.flags)return v(e,function(e){var t=K(e.checkType,T);if(T.approximateLength+=15,4&T.flags&&e.root.isDistributive&&!(262144&e.checkType.flags)){var r=Fo(Qa(262144,"T")),n=fe(r,T),a=uR.createTypeReferenceNode(n);T.approximateLength+=37;var i=rp(e.root.checkType,r,e.mapper),o=T.inferTypeParameters;T.inferTypeParameters=e.root.inferTypeParameters;r=K(pp(e.root.extendsType,i),T);T.inferTypeParameters=o;o=f(pp(Uf(e.root.node.trueType),i)),i=f(pp(Uf(e.root.node.falseType),i));return uR.createConditionalTypeNode(t,uR.createInferTypeNode(uR.createTypeParameterDeclaration(void 0,uR.cloneNode(a.typeName))),uR.createConditionalTypeNode(uR.createTypeReferenceNode(uR.cloneNode(n)),K(e.checkType,T),uR.createConditionalTypeNode(a,r,o,i),uR.createKeywordTypeNode(146)),uR.createKeywordTypeNode(146))}o=T.inferTypeParameters;T.inferTypeParameters=e.root.inferTypeParameters;i=K(e.extendsType,T);T.inferTypeParameters=o;o=f(vf(e)),e=f(gf(e));return uR.createConditionalTypeNode(t,i,o,e)});if(33554432&e.flags)return K(e.baseType,T);return rA.fail("Should be unreachable.");function f(e){var t,r;return 1048576&e.flags?null!=(r=T.visitedTypes)&&r.has(e.id)?(131072&T.flags||(T.encounteredError=!0,null!=(r=null==(t=T.tracker)?void 0:t.reportCyclicStructureError)&&r.call(t)),G(T)):v(e,function(e){return K(e,T)}):K(e,T)}function p(e){return!!cp(e)}function m(e){return e.target&&p(e.target)&&!p(e)}function y(e){var r=e.id,n=e.symbol;if(n){var t=as(e)?788968:111551;if(Nb(n.valueDeclaration))return de(n,T,t);if(32&n.flags&&!ec(n)&&(!(n.valueDeclaration&&NE(n.valueDeclaration)&&2048&T.flags)||Pj(n.valueDeclaration)&&0===qo(n,T.enclosingDeclaration,t,!1).accessibility)||896&n.flags||function(){var e=!!(8192&n.flags)&&dD(n.declarations,lL),t=!!(16&n.flags)&&(n.parent||KN(n.declarations,function(e){return 312===e.parent.kind||268===e.parent.kind}));if(e||t)return(!!(4096&T.flags)||(null==(t=T.visitedTypes)?void 0:t.has(r)))&&(!(8&T.flags)||Uo(n,T.enclosingDeclaration))}())return de(n,T,t);if(null!=(t=T.visitedTypes)&&t.has(r)){t=function(e){if(e.symbol&&2048&e.symbol.flags&&e.symbol.declarations){e=nO(e.symbol.declarations[0].parent);if(Oj(e))return yo(e)}return}(e);return t?de(t,T,788968):G(T)}return v(e,g)}if(!(8388608&WL(e)))return g(e);if(UR(e.node)){var a=Se(T,e.node);if(a)return a}return null!=(a=T.visitedTypes)&&a.has(r)?G(T):v(e,g)}function v(e,t){var r=e.id,n=16&WL(e)&&e.symbol&&32&e.symbol.flags,a=4&WL(e)&&e.node?"N"+mJ(e.node):16777216&e.flags?"N"+mJ(e.root.node):e.symbol?(n?"+":"")+yJ(e.symbol):void 0;T.visitedTypes||(T.visitedTypes=new Set),a&&!T.symbolDepth&&(T.symbolDepth=new Map);var i=T.enclosingDeclaration&&ci(T.enclosingDeclaration),o="".concat(e.id,"|").concat(T.flags);i&&(i.serializedTypes||(i.serializedTypes=new Map));var s,n=null==(n=null==i?void 0:i.serializedTypes)?void 0:n.get(o);if(n)return n.truncating&&(T.truncating=!0),T.approximateLength+=n.addedLength,function e(t){if(!jO(t)&&PA(t)===t)return t;return UB(uR.cloneNode(wJ(t,e,iU,c)),t)}(n.node);if(a){if(10<(s=T.symbolDepth.get(a)||0))return G(T);T.symbolDepth.set(a,s+1)}T.visitedTypes.add(r);n=T.approximateLength,e=t(e),n=T.approximateLength-n;return T.reportedDiagnostic||T.encounteredError||null!=(i=null==i?void 0:i.serializedTypes)&&i.set(o,{node:e,truncating:T.truncating,addedLength:n}),T.visitedTypes.delete(r),a&&T.symbolDepth.set(a,s),e;function c(e,t,r,n,a){return e&&0===e.length?UB(uR.createNodeArray(void 0,e.hasTrailingComma),e):SJ(e,t,r,n,a)}}function g(e){if(Du(e)||e.containsError)return function(e){rA.assert(!!(524288&e.flags));var t,r=e.declaration.readonlyToken?uR.createToken(e.declaration.readonlyToken.kind):void 0,n=e.declaration.questionToken?uR.createToken(e.declaration.questionToken.kind):void 0,a=!Tu(e)&&!(2&Su(e).flags)&&4&T.flags&&!(262144&hu(e).flags&&4194304&(null==(s=Mu(hu(e)))?void 0:s.flags));s=Tu(e)?(m(e)&&4&T.flags&&(i=fe(Fo(Qa(262144,"T")),T),t=uR.createTypeReferenceNode(i)),uR.createTypeOperatorNode(143,t||K(Su(e),T))):a?(o=fe(Fo(Qa(262144,"T")),T),t=uR.createTypeReferenceNode(o)):K(hu(e),T);var i=ne(gu(e),T,s),o=e.declaration.nameType?K(xu(e),T):void 0,s=K(ly(bu(e),!!(4&wu(e))),T),n=uR.createMappedTypeNode(r,i,o,n,s,void 0);if(T.approximateLength+=10,s=lR(n,1),m(e)&&4&T.flags){n=pp(Mu(Uf(e.declaration.typeParameter.constraint.type))||yt,e.mapper);return uR.createConditionalTypeNode(K(Su(e),T),uR.createInferTypeNode(uR.createTypeParameterDeclaration(void 0,uR.cloneNode(t.typeName),2&n.flags?void 0:K(n,T))),s,uR.createKeywordTypeNode(146))}return a?uR.createConditionalTypeNode(K(hu(e),T),uR.createInferTypeNode(uR.createTypeParameterDeclaration(void 0,uR.cloneNode(t.typeName),uR.createTypeOperatorNode(143,K(Su(e),T)))),s,uR.createKeywordTypeNode(146)):s}(e);var t=Eu(e);if(!t.properties.length&&!t.indexInfos.length){if(!t.callSignatures.length&&!t.constructSignatures.length)return T.approximateLength+=2,lR(uR.createTypeLiteralNode(void 0),1);if(1===t.callSignatures.length&&!t.constructSignatures.length)return $(t.callSignatures[0],184,T);if(1===t.constructSignatures.length&&!t.callSignatures.length)return $(t.constructSignatures[0],185,T)}e=nD(t.constructSignatures,function(e){return 4&e.flags});if(dD(e)){var r=iD(e,K_);return t.callSignatures.length+(t.constructSignatures.length-e.length)+t.indexInfos.length+(2048&T.flags?rD(t.properties,function(e){return!(4194304&e.flags)}):HN(t.properties))&&r.push(function(e){if(0===e.constructSignatures.length)return e;if(e.objectTypeWithoutAbstractConstructSignatures)return e.objectTypeWithoutAbstractConstructSignatures;var t=nD(e.constructSignatures,function(e){return!(4&e.flags)});if(e.constructSignatures===t)return e;t=Mo(e.symbol,e.members,e.callSignatures,dD(t)?t:WN,e.indexInfos);return(e.objectTypeWithoutAbstractConstructSignatures=t).objectTypeWithoutAbstractConstructSignatures=t}(t)),K(Cd(r),T)}r=T.flags;T.flags|=4194304;t=function(e){var t,r,n,a,i,o,s,c;if(H(T))return[uR.createPropertySignature(void 0,"...",void 0,void 0)];var u=[];try{for(var _=__values(e.callSignatures),l=_.next();!l.done;l=_.next()){var d=l.value;u.push($(d,179,T))}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=_.return)&&r.call(_)}finally{if(t)throw t.error}}try{for(var f=__values(e.constructSignatures),p=f.next();!p.done;p=f.next())4&(d=p.value).flags||u.push($(d,180,T))}catch(e){n={error:e}}finally{try{p&&!p.done&&(a=f.return)&&a.call(f)}finally{if(n)throw n.error}}try{for(var m=__values(e.indexInfos),y=m.next();!y.done;y=m.next()){var v=y.value;u.push(Z(v,T,1024&e.objectFlags?G(T):void 0))}}catch(e){i={error:e}}finally{try{y&&!y.done&&(o=m.return)&&o.call(m)}finally{if(i)throw i.error}}var g=e.properties;if(!g)return u;var h=0;try{for(var x=__values(g),b=x.next();!b.done;b=x.next()){var k=b.value;if(h++,2048&T.flags){if(4194304&k.flags)continue;24&JL(k)&&T.tracker.reportPrivateInBaseOfClassExpression&&T.tracker.reportPrivateInBaseOfClassExpression(OA(k.escapedName))}if(H(T)&&h+2<g.length-1){u.push(uR.createPropertySignature(void 0,"... ".concat(g.length-h," more ..."),void 0,void 0)),Q(g[g.length-1],T,u);break}Q(k,T,u)}}catch(e){s={error:e}}finally{try{b&&!b.done&&(c=x.return)&&c.call(x)}finally{if(s)throw s.error}}return u.length?u:void 0}(t);T.flags=r;t=uR.createTypeLiteralNode(t);return T.approximateLength+=2,lR(t,1024&T.flags?0:1),t}function h(r){var e=ll(r);if(r.target===kr||r.target===Tr){if(2&T.flags){var t=K(e[0],T);return uR.createTypeReferenceNode(r.target===kr?"Array":"ReadonlyArray",[t])}t=K(e[0],T),t=uR.createArrayTypeNode(t);return r.target===kr?t:uR.createTypeOperatorNode(148,t)}if(!(8&r.target.objectFlags)){if(2048&T.flags&&r.symbol.valueDeclaration&&NE(r.symbol.valueDeclaration)&&!Uo(r.symbol,T.enclosingDeclaration))return y(r);var n=r.target.outerTypeParameters,a=0,i=void 0;if(n)for(var o=n.length;a<o;){for(var s,c=a,u=nl(n[a]);a++,a<o&&nl(n[a])===u;);bD(n,e,c,a)||(s=Y(e.slice(c,a),T),c=T.flags,T.flags|=16,s=de(u,T,788968,s),T.flags=c,i=i?x(i,s):s)}var _=void 0;0<e.length&&(t=(r.target.typeParameters||WN).length,_=Y(e.slice(a,t),T));f=T.flags;T.flags|=16;_=de(r.symbol,T,788968,_);return T.flags=f,i?x(i,_):_}if(0<(e=oD(e,function(e,t){return ly(e,!!(2&r.target.elementFlags[t]))})).length){var _=dl(r),l=Y(e.slice(0,_),T);if(l){for(var d=r.target.labeledElementDeclarations,a=0;a<l.length;a++){var f=r.target.elementFlags[a],p=null==d?void 0:d[a];l[a]=p?uR.createNamedTupleMember(12&f?uR.createToken(26):void 0,uR.createIdentifier(OA(Qb(p))),2&f?uR.createToken(58):void 0,4&f?uR.createArrayTypeNode(l[a]):l[a]):12&f?uR.createRestTypeNode(4&f?uR.createArrayTypeNode(l[a]):l[a]):2&f?uR.createOptionalTypeNode(l[a]):l[a]}var m=lR(uR.createTupleTypeNode(l),1);return r.target.readonly?uR.createTypeOperatorNode(148,m):m}}if(T.encounteredError||524288&T.flags){m=lR(uR.createTupleTypeNode([]),1);return r.target.readonly?uR.createTypeOperatorNode(148,m):m}T.encounteredError=!0}function x(e,t){var r,n,a,i;if(ZR(e)){var o=e.typeArguments;(l=e.qualifier)&&(xR(l)?o!==yR(l)&&(l=mR(uR.cloneNode(l),o)):o!==yR(l.right)&&(l=uR.updateQualifiedName(l,l.left,mR(uR.cloneNode(l.right),o)))),o=t.typeArguments;var s=b(t);try{for(var c=__values(s),u=c.next();!u.done;u=c.next())var _=u.value,l=l?uR.createQualifiedName(l,_):_}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}return uR.updateImportTypeNode(e,e.argument,e.assertions,l,o,e.isTypeOf)}o=e.typeArguments;xR(p=e.typeName)?o!==yR(p)&&(p=mR(uR.cloneNode(p),o)):o!==yR(p.right)&&(p=uR.updateQualifiedName(p,p.left,mR(uR.cloneNode(p.right),o))),o=t.typeArguments;s=b(t);try{for(var d=__values(s),f=d.next();!f.done;f=d.next())var _=f.value,p=uR.createQualifiedName(p,_)}catch(e){a={error:e}}finally{try{f&&!f.done&&(i=d.return)&&i.call(d)}finally{if(a)throw a.error}}return uR.updateTypeReferenceNode(e,p,o)}function b(e){for(var t=e.typeName,r=[];!xR(t);)r.unshift(t.right),t=t.left;return r.unshift(t),r}}(e,t);return t.flags=r,e}function G(e){return e.approximateLength+=3,1&e.flags?uR.createKeywordTypeNode(133):uR.createTypeReferenceNode(uR.createIdentifier("..."),void 0)}function X(e,t){return 8192&BL(e)&&(eD(t.reverseMappedStack,e)||null!=(e=t.reverseMappedStack)&&e[0]&&!(16&WL(ND(t.reverseMappedStack).links.propertyType)))}function Q(r,e,t){var n,a,i,o,s=!!(8192&BL(r)),c=X(r,e)?ut:cc(r),u=e.enclosingDeclaration;e.enclosingDeclaration=void 0,e.tracker.canTrackSymbol&&Vc(r.escapedName)&&(r.declarations?qc(i=SD(r.declarations))&&(mj(i)?(o=JA(i))&&ij(o)&&PL(o.argumentExpression)&&oe(o.argumentExpression,u,e):oe(i.name.expression,u,e)):e.tracker.reportNonSerializableProperty(Yo(r))),e.enclosingDeclaration=r.valueDeclaration||(null==(i=r.declarations)?void 0:i[0])||u;var _=ge(r,e);e.enclosingDeclaration=u,e.approximateLength+=RA(r).length+1;var l=16777216&r.flags?uR.createToken(58):void 0;if(8208&r.flags&&!Fu(c).length&&!jk(r)){var d=l_(Hv(c,function(e){return!(32768&e.flags)}),0);try{for(var f=__values(d),p=f.next();!p.done;p=f.next()){var m=$(p.value,173,e,{name:_,questionToken:l});t.push(v(m))}}catch(e){n={error:e}}finally{try{p&&!p.done&&(a=f.return)&&a.call(f)}finally{if(n)throw n.error}}if(d.length||!l)return}X(r,e)?y=G(e):(s&&(e.reverseMappedStack||(e.reverseMappedStack=[]),e.reverseMappedStack.push(r)),y=c?ke(e,c,r,u):uR.createKeywordTypeNode(133),s&&e.reverseMappedStack.pop());s=jk(r)?[uR.createToken(148)]:void 0;s&&(e.approximateLength+=9);var y=uR.createPropertySignature(s,_,l,y);function v(e){var t;return dD(r.declarations,function(e){return 355===e.kind})?(t=$A((null==(t=r.declarations)?void 0:t.find(function(e){return 355===e.kind})).comment))&&fR(e,[{kind:3,text:"*\n * "+t.replace(/\n/g,"\n * ")+"\n ",pos:-1,end:-1,hasTrailingNewLine:!0}]):r.valueDeclaration&&dR(e,r.valueDeclaration),e}t.push(v(y))}function Y(e,s,t){var r,n;if(dD(e)){if(H(s)){if(!t)return[uR.createTypeReferenceNode("...",void 0)];if(2<e.length)return[K(e[0],s),uR.createTypeReferenceNode("... ".concat(e.length-2," more ..."),void 0),K(e[e.length-1],s)]}var a=!(64&s.flags)?MD():void 0,c=[],i=0;try{for(var o=__values(e),u=o.next();!u.done;u=o.next()){var _=u.value;if(i++,H(s)&&i+2<e.length-1){c.push(uR.createTypeReferenceNode("... ".concat(e.length-i," more ..."),void 0));var l=K(e[e.length-1],s);l&&c.push(l);break}s.approximateLength+=2;l=K(_,s);l&&(c.push(l),a&&OM(l)&&a.add(l.typeName.escapedText,[_,c.length-1]))}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a&&(t=s.flags,s.flags|=64,a.forEach(function(e){var t,r;if(!LM(e,function(e,t){e=__read(e,1)[0],t=__read(t,1)[0];return(e=e)===(t=t)||!!e.symbol&&e.symbol===t.symbol||!!e.aliasSymbol&&e.aliasSymbol===t.aliasSymbol}))try{for(var n=__values(e),a=n.next();!a.done;a=n.next()){var i=__read(a.value,2),o=i[0],i=i[1];c[i]=K(o,s)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}),s.flags=t),c}}function Z(e,t,r){var n=YF(e)||"x",a=K(e.keyType,t),a=uR.createParameterDeclaration(void 0,void 0,n,void 0,a,void 0);return r=r||K(e.type||ut,t),e.type||2097152&t.flags||(t.encounteredError=!0),t.approximateLength+=n.length+4,uR.createIndexSignature(e.isReadonly?[uR.createToken(148)]:void 0,[a],r)}function $(t,r,n,a){var i,e,o,s,c,u,_=256&n.flags;_&&(n.flags&=-257),n.approximateLength+=3,32&n.flags&&t.target&&t.mapper&&t.target.typeParameters?u=t.target.typeParameters.map(function(e){return K(pp(e,t.mapper),n)}):c=t.typeParameters&&t.typeParameters.map(function(e){return ae(e,n)});var l=ru(t,!0)[0];if(n.enclosingDeclaration&&t.declaration&&t.declaration!==n.enclosingDeclaration&&!cI(t.declaration)&&dD(l)){var d=ci(n.enclosingDeclaration).fakeScopeForSignatureDeclaration?n.enclosingDeclaration:void 0;rA.assertOptionalNode(d,kj);var f,p,m,y,v=null!==(k=null==d?void 0:d.locals)&&void 0!==k?k:vF();try{for(var g=__values(l),h=g.next();!h.done;h=g.next()){var x=h.value;v.has(x.escapedName)||(f=vD(f,x.escapedName),v.set(x.escapedName,x))}}catch(e){i={error:e}}finally{try{h&&!h.done&&(e=g.return)&&e.call(g)}finally{if(i)throw i.error}}f&&(p=function(){KN(f,function(e){return v.delete(e)})},y=d?p:(ci(T=WB.createBlock(WN)).fakeScopeForSignatureDeclaration=!0,T.locals=v,jM(T,m=n.enclosingDeclaration),n.enclosingDeclaration=T,function(){n.enclosingDeclaration=m,p()}))}var b=(dD(l,function(e){return e!==l[l.length-1]&&!!(32768&BL(e))})?t.parameters:l).map(function(e){return ie(e,n,176===r,null==a?void 0:a.privateSymbolVisitor,null==a?void 0:a.bundledImports)}),k=33554432&n.flags?void 0:function(e,t){if(e.thisParameter)return ie(e.thisParameter,t);if(e.declaration&&cI(e.declaration)){e=GA(e.declaration);if(e&&e.typeExpression)return uR.createParameterDeclaration(void 0,void 0,"this",void 0,K(Uf(e.typeExpression),t))}}(t,n);k&&b.unshift(k);var T,d=M_(t);d?(T=2===d.kind||3===d.kind?uR.createToken(131):void 0,k=1===d.kind||3===d.kind?lR(uR.createIdentifier(d.parameterName),16777216):uR.createThisTypeNode(),w=d.type&&K(d.type,n),w=uR.createTypePredicateNode(T,k,w)):!(S=j_(t))||_&&gs(S)?_||(w=uR.createKeywordTypeNode(133)):w=function(e,t,r,n,a){if(!hs(t)&&e.enclosingDeclaration){var i=r.declaration&&aL(r.declaration),o=be(e.enclosingDeclaration);if(FA(i,function(e){return e===o})&&i){var s=Uf(i);if((262144&s.flags&&s.isThisType?pp(s,r.mapper):s)===t&&xe(i,t)){a=Se(e,i,n,a);if(a)return a}}}return K(t,e)}(n,S,t,null==a?void 0:a.privateSymbolVisitor,null==a?void 0:a.bundledImports);var S,_=null==a?void 0:a.modifiers;185===r&&4&t.flags&&(S=bL(_),_=uR.createModifiersFromModifierFlags(256|S));var w=179===r?uR.createCallSignature(c,b,w):180===r?uR.createConstructSignature(c,b,w):173===r?uR.createMethodSignature(_,null!==(o=null==a?void 0:a.name)&&void 0!==o?o:uR.createIdentifier(""),null==a?void 0:a.questionToken,c,b,w):174===r?uR.createMethodDeclaration(_,void 0,null!==(o=null==a?void 0:a.name)&&void 0!==o?o:uR.createIdentifier(""),void 0,c,b,w,void 0):176===r?uR.createConstructorDeclaration(_,b,void 0):177===r?uR.createGetAccessorDeclaration(_,null!==(s=null==a?void 0:a.name)&&void 0!==s?s:uR.createIdentifier(""),b,w,void 0):178===r?uR.createSetAccessorDeclaration(_,null!==(s=null==a?void 0:a.name)&&void 0!==s?s:uR.createIdentifier(""),b,void 0):181===r?uR.createIndexSignature(_,b,w):324===r?uR.createJSDocFunctionType(b,w):184===r?uR.createFunctionTypeNode(c,b,null!=w?w:uR.createTypeReferenceNode(uR.createIdentifier(""))):185===r?uR.createConstructorTypeNode(_,c,b,null!=w?w:uR.createTypeReferenceNode(uR.createIdentifier(""))):262===r?uR.createFunctionDeclaration(_,void 0,null!=a&&a.name?JD(a.name,xR):uR.createIdentifier(""),c,b,w,void 0):218===r?uR.createFunctionExpression(_,void 0,null!=a&&a.name?JD(a.name,xR):uR.createIdentifier(""),c,b,w,uR.createBlock([])):219===r?uR.createArrowFunction(_,c,b,w,void 0,uR.createBlock([])):rA.assertNever(r);return u&&(w.typeArguments=uR.createNodeArray(u)),330===(null==(u=t.declaration)?void 0:u.kind)&&346===t.declaration.parent.kind&&pR(w,3,PF(t.declaration.parent.parent,!0).slice(2,-2).split(/\r\n|\n|\r/).map(function(e){return e.replace(/^\s+/," ")}).join("\n"),!0),null!=y&&y(),w}function ne(e,t,r){var n=t.flags;t.flags&=-513;var a=uR.createModifiersFromModifierFlags(mm(e)),i=fe(e,t),e=Gu(e),e=e&&K(e,t);return t.flags=n,uR.createTypeParameterDeclaration(a,i,r,e)}function ae(e,t,r){return void 0===r&&(r=Mu(e)),ne(e,t,r&&K(r,t))}function ie(e,t,r,n,a){var i=mF(e,169);i||gF(e)||(i=mF(e,348));var o=sc(e);i&&qC(i)&&(o=iy(o));o=ke(t,o,e,t.enclosingDeclaration,n,a),n=!(8192&t.flags)&&r&&i&&VB(i)?iD(UA(i),uR.cloneNode):void 0,a=i&&uF(i)||32768&BL(e)?uR.createToken(26):void 0,r=i&&i.name?80===i.name.kind?lR(uR.cloneNode(i.name),16777216):166===i.name.kind?lR(uR.cloneNode(i.name.right),16777216):nRf(i.name):RA(e),i=i&&C_(i)||16384&BL(e)?uR.createToken(58):void 0,o=uR.createParameterDeclaration(n,a,r,i,o,void 0);return t.approximateLength+=RA(e).length+3,o}function oe(e,t,r){!r.tracker.canTrackSymbol||(e=pi(e=EL(e),e.escapedText,1160127,void 0,void 0,!0))&&r.tracker.trackSymbol(e,t,111551)}function se(e,t,r,n){return t.tracker.trackSymbol(e,t.enclosingDeclaration,r),ce(e,t,r,n)}function ce(e,y,t,v){var r;return 262144&e.flags||!(y.enclosingDeclaration||64&y.flags)||134217728&y.flags?r=[e]:(r=rA.checkDefined(function e(t,r,n){var a,i;var o=Bo(t,y.enclosingDeclaration,r,!!(128&y.flags));var s;if(!o||Jo(o[0],y.enclosingDeclaration,1===o.length?r:jo(r))){var c=ho(o?o[0]:t,y.enclosingDeclaration,r);if(HN(c)){s=c.map(function(e){return dD(e.declarations,Go)?le(e,y):void 0});var u=c.map(function(e,t){return t});u.sort(m);var _=u.map(function(e){return c[e]});try{for(var l=__values(_),d=l.next();!d.done;d=l.next()){var f=d.value,p=e(f,jo(r),!1);if(p){if(f.exports&&f.exports.get("export=")&&ko(f.exports.get("export="),t)){o=p;break}o=p.concat(o||[bo(f,t)||t]);break}}}catch(e){a={error:e}}finally{try{d&&!d.done&&(i=l.return)&&i.call(l)}finally{if(a)throw a.error}}}}if(o)return o;if((n||!(6144&t.flags))&&(n||v||!KN(t.declarations,Go)))return[t];function m(e,t){var r=s[e],e=s[t];if(r&&e){var t=sA(e);return sA(r)===t?nJ(r)-nJ(e):t?-1:1}return 0}}(e,t,!0)),rA.assert(r&&0<r.length)),r}function ue(e,t){var r;return 524384&Iw(e).flags&&(r=uR.createNodeArray(iD(mc(e),function(e){return ae(e,t)}))),r}function _e(e,t,r){var n;rA.assert(e&&0<=t&&t<e.length);var a,i,o=e[t],s=yJ(o);if(null==(n=r.typeParameterSymbolList)||!n.has(s))return(r.typeParameterSymbolList||(r.typeParameterSymbolList=new Set)).add(s),512&r.flags&&t<e.length-1&&(s=o,i=1&BL(a=e[t+1])?Y(iD(fD(pc(i=2097152&s.flags?Ui(s):s),mc(i)),function(e){return Xf(e,a.links.mapper)}),r):ue(o,r)),i}function le(t,e,r){var n,a,i=mF(t,312);if(i||(l=GN(t.declarations,function(e){return xo(e,t)}))&&(i=mF(l,312)),i&&void 0!==i.moduleName)return i.moduleName;if(!i){if(e.tracker.trackReferencedAmbientModule){var o=nD(t.declarations,RF);if(HN(o))try{for(var s=__values(o),c=s.next();!c.done;c=s.next()){var u=c.value;e.tracker.trackReferencedAmbientModule(u,t)}}catch(e){n={error:e}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(n)throw n.error}}}if(aJ.test(t.escapedName))return t.escapedName.substring(1,t.escapedName.length-1)}if(!e.enclosingDeclaration||!e.tracker.moduleResolverHost)return aJ.test(t.escapedName)?t.escapedName.substring(1,t.escapedName.length-1):CF(VF(t)).fileName;var _,l,d=CF(EA(e.enclosingDeclaration)),f=r||(null==d?void 0:d.impliedNodeFormat),p=YB(d.path,f),m=si(t),y=m.specifierCache&&m.specifierCache.get(p);return y||(_=!!GO(ee),l=e.tracker.moduleResolverHost,i=_?__assign(__assign({},ee),{baseUrl:l.getCommonSourceDirectory()}):ee,y=SD(rJ(t,Re,i,d,l,{importModuleSpecifierPreference:_?"non-relative":"project-relative",importModuleSpecifierEnding:_?"minimal":99===f?"js":void 0},{overrideImportMode:r})),null!==(r=m.specifierCache)&&void 0!==r||(m.specifierCache=new Map),m.specifierCache.set(p,y)),y}function de(e,u,t,_){var r=se(e,u,t,!(16384&u.flags)),n=111551===t;if(dD(r[0].declarations,Go)){var a,i=1<r.length?f(r,r.length-1,1):void 0,o=_||_e(r,0,u),s=CF(EA(u.enclosingDeclaration)),c=NF(r[0]),e=void 0,t=void 0;3!==iM(ee)&&99!==iM(ee)||99===(null==c?void 0:c.impliedNodeFormat)&&c.impliedNodeFormat!==(null==s?void 0:s.impliedNodeFormat)&&(e=le(r[0],u,99),t=uR.createImportTypeAssertionContainer(uR.createAssertClause(uR.createNodeArray([uR.createAssertEntry(uR.createStringLiteral("resolution-mode"),uR.createStringLiteral("import"))]))),null!=(c=(a=u.tracker).reportImportTypeNodeResolutionModeOverride)&&c.call(a)),e=e||le(r[0],u),!(67108864&u.flags)&&1!==iM(ee)&&0<=e.indexOf("/node_modules/")&&(l=e,3!==iM(ee)&&99!==iM(ee)||(a=99===(null==s?void 0:s.impliedNodeFormat)?1:99,0<=(e=le(r[0],u,a)).indexOf("/node_modules/")?e=l:(t=uR.createImportTypeAssertionContainer(uR.createAssertClause(uR.createNodeArray([uR.createAssertEntry(uR.createStringLiteral("resolution-mode"),uR.createStringLiteral(99==a?"import":"require"))]))),null!=(a=(s=u.tracker).reportImportTypeNodeResolutionModeOverride)&&a.call(s))),t||(u.encounteredError=!0,u.tracker.reportLikelyUnsafeImportRequiredError&&u.tracker.reportLikelyUnsafeImportRequiredError(l)));var l=uR.createLiteralTypeNode(uR.createStringLiteral(e));if(u.tracker.trackExternalModuleSymbolOfImportTypeNode&&u.tracker.trackExternalModuleSymbolOfImportTypeNode(r[0]),u.approximateLength+=e.length+10,!i||hE(i))return i&&mR(d=xR(i)?i:i.right,void 0),uR.createImportTypeNode(l,t,i,o,n);e=function e(t){return QR(t.objectType)?e(t.objectType):t}(i),i=e.objectType.typeName;return uR.createIndexedAccessTypeNode(uR.createImportTypeNode(l,t,i,o,n),e.indexType)}r=f(r,r.length-1,0);if(QR(r))return r;if(n)return uR.createTypeQueryNode(r);var d,n=yR(d=xR(r)?r:r.right);return mR(d,void 0),uR.createTypeReferenceNode(r,n);function f(e,t,r){var n,a=t===e.length-1?_:_e(e,t,u),i=e[t],o=e[t-1];if(0===t?(u.flags|=16777216,n=_s(i,u),u.approximateLength+=(n?n.length:0)+1,u.flags^=16777216):o&&_o(o)&&hF(_o(o),function(e,t){if(ko(e,i)&&!Vc(t)&&"export="!==t)return n=OA(t),!0}),void 0===n){var s=GN(i.declarations,JA);if(s&&SR(s)&&hE(s.expression))return hE(c=f(e,t-1,r))?uR.createIndexedAccessTypeNode(uR.createParenthesizedType(uR.createTypeQueryNode(c)),uR.createTypeQueryNode(s.expression)):c;n=_s(i,u)}if(u.approximateLength+=n.length+1,!(16&u.flags)&&o&&Gc(o)&&Gc(o).get(i.escapedName)&&ko(Gc(o).get(i.escapedName),i))return QR(c=f(e,t-1,r))?uR.createIndexedAccessTypeNode(c,uR.createLiteralTypeNode(uR.createStringLiteral(n))):uR.createIndexedAccessTypeNode(uR.createTypeReferenceNode(c,a),uR.createLiteralTypeNode(uR.createStringLiteral(n)));var c,o=lR(uR.createIdentifier(n),16777216);return a&&mR(o,uR.createNodeArray(a)),o.symbol=i,r<t?hE(c=f(e,t-1,r))?uR.createQualifiedName(c,o):rA.fail("Impossible construct - an export of an indexed access cannot be reachable"):o}}function fe(e,t){var r,n;if(4&t.flags&&t.typeParameterNames){var a=t.typeParameterNames.get(e.id);if(a)return a}if(!(80&(i=pe(e.symbol,t,788968,!0)).kind))return uR.createIdentifier("(Missing type parameter)");if(4&t.flags){for(var i,o=i.escapedText,s=(null==(a=t.typeParameterNamesByTextNextNameCount)?void 0:a.get(o))||0,c=o;null!=(n=t.typeParameterNamesByText)&&n.has(c)||(r=c,n=e,(r=pi(t.enclosingDeclaration,r,788968,void 0,r,!1))&&!(262144&r.flags&&r===n.symbol));)s++,c="".concat(o,"_").concat(s);c!==o&&(a=yR(i),mR(i=uR.createIdentifier(c),a)),(t.typeParameterNamesByTextNextNameCount||(t.typeParameterNamesByTextNextNameCount=new Map)).set(o,s),(t.typeParameterNames||(t.typeParameterNames=new Map)).set(e.id,i),(t.typeParameterNamesByText||(t.typeParameterNamesByText=new Set)).add(o)}return i}function pe(e,o,t,r){t=se(e,o,t);return!r||1===t.length||o.encounteredError||65536&o.flags||(o.encounteredError=!0),function e(t,r){var n=_e(t,r,o);var a=t[r];0===r&&(o.flags|=16777216);var i=_s(a,o);0===r&&(o.flags^=16777216);var i=lR(uR.createIdentifier(i),16777216);n&&mR(i,uR.createNodeArray(n));i.symbol=a;return 0<r?uR.createQualifiedName(e(t,r-1),i):i}(t,t.length-1)}function me(e,u,t){t=se(e,u,t);return function e(t,r){var n=_e(t,r,u);var a=t[r];0===r&&(u.flags|=16777216);var i=_s(a,u);0===r&&(u.flags^=16777216);var o=i.charCodeAt(0);if(mI(o)&&dD(a.declarations,Go))return uR.createStringLiteral(le(a,u));{if(0===r||QM(i,V)){var s=lR(uR.createIdentifier(i),16777216);return n&&mR(s,uR.createNodeArray(n)),s.symbol=a,0<r?uR.createPropertyAccessExpression(e(t,r-1),s):s}91===o&&(i=i.substring(1,i.length-1),o=i.charCodeAt(0));var c=void 0;return!mI(o)||8&a.flags?""+ +i===i&&(c=uR.createNumericLiteral(+i)):c=uR.createStringLiteral(UO(i).replace(/\\./g,function(e){return e.substring(1)}),39===o),c||(s=lR(uR.createIdentifier(i),16777216),n&&mR(s,uR.createNodeArray(n)),s.symbol=a,c=s),uR.createElementAccessExpression(e(t,r-1),c)}}(t,t.length-1)}function ye(e){e=JA(e);return!!e&&hR(e)}function ve(e){e=JA(e);return!!(e&&hR(e)&&(e.singleQuote||!jO(e)&&XD(PF(e,!1),"'")))}function ge(e,t){var r=!!HN(e.declarations)&&XN(e.declarations,ye),n=!!HN(e.declarations)&&XN(e.declarations,ve),t=function(e,t,r,n){var a=si(e).nameType;if(a){if(384&a.flags){e=""+a.value;return bA(e,rM(ee))||!n&&qM(e)?qM(e)&&XD(e,"-")?uR.createComputedPropertyName(uR.createNumericLiteral(+e)):WM(e,rM(ee)):uR.createStringLiteral(e,!!r)}if(8192&a.flags)return uR.createComputedPropertyName(me(a.symbol,t,111551))}}(e,t,n,r);return t||WM(OA(e.escapedName),rM(ee),n,r)}function he(e,t){return e.declarations&&QN(e.declarations,function(e){return nL(e)&&(!t||FA(e,function(e){return e===t}))})}function xe(e,t){return!(4&WL(t))||!BR(e)||HN(e.typeArguments)>=D_(t.target.typeParameters)}function be(e){return ci(e).fakeScopeForSignatureDeclaration?e.parent:e}function ke(t,e,r,n,a,i){if(!hs(e)&&n){var o=he(r,be(n));if(o&&!TE(o)&&!OR(o)){n=nL(o);if(function(e,t,r){e=Uf(e);if(e===r)return!0;if(CR(t)&&t.questionToken)return Cv(r,524288)===e;return!1}(n,o,e)&&xe(n,e)){var s=Se(t,n,a,i);if(s)return s}}}s=t.flags;8192&e.flags&&e.symbol===r&&(!t.enclosingDeclaration||dD(r.declarations,function(e){return CF(e)===CF(t.enclosingDeclaration)}))&&(t.flags|=1048576);e=K(e,t);return t.flags=s,e}function Te(e,t,r){var n=!1,a=EL(e);if(cI(e)&&(SI(a)||CI(a.parent)||TR(a.parent)&&wI(a.parent.left)&&SI(a.parent.right)))return{introducesError:n=!0,node:e};a=Yi(a,67108863,!0,!0);if(a&&(0!==qo(a,t.enclosingDeclaration,67108863,!1).accessibility?n=!0:(t.tracker.trackSymbol(a,t.enclosingDeclaration,67108863),null!=r&&r(a)),xR(e))){r=Pc(a),t=262144&a.flags&&!zo(r.symbol,t.enclosingDeclaration)?fe(r,t):uR.cloneNode(e);return t.symbol=a,{introducesError:n,node:lR(_R(t,e),16777216)}}return{introducesError:n,node:e}}function Se(c,e,u,_){k&&k.throwIfCancellationRequested&&k.throwIfCancellationRequested();var l=!1,d=CF(e),t=TJ(e,function n(a){if(fB(a)||326===a.kind)return uR.createKeywordTypeNode(133);if(pB(a))return uR.createKeywordTypeNode(159);if(mB(a))return uR.createUnionTypeNode([TJ(a.type,n,FE),uR.createLiteralTypeNode(uR.createNull())]);if(vB(a))return uR.createUnionTypeNode([TJ(a.type,n,FE),uR.createKeywordTypeNode(157)]);if(yB(a))return TJ(a.type,n);if(hB(a))return uR.createArrayTypeNode(TJ(a.type,n,FE));if(xB(a))return uR.createTypeLiteralNode(iD(a.jsDocPropertyTags,function(e){var t=xR(e.name)?e.name:e.name.right,r=vs(Uf(a),t.escapedText),r=r&&e.typeExpression&&Uf(e.typeExpression.type)!==r?K(r,c):void 0;return uR.createPropertySignature(void 0,t,e.isBracketed||e.typeExpression&&vB(e.typeExpression.type)?uR.createToken(58):void 0,r||e.typeExpression&&TJ(e.typeExpression.type,n,FE)||uR.createKeywordTypeNode(133))}));if(BR(a)&&xR(a.typeName)&&""===a.typeName.escapedText)return _R(uR.createKeywordTypeNode(133),a);if((hj(a)||BR(a))&&lI(a))return uR.createTypeLiteralNode([uR.createIndexSignature(void 0,[uR.createParameterDeclaration(void 0,void 0,"x",void 0,TJ(a.typeArguments[0],n,FE))],TJ(a.typeArguments[1],n,FE))]);if(gB(a)){var r;return zI(a)?uR.createConstructorTypeNode(void 0,SJ(a.typeParameters,n,wR),uD(a.parameters,function(e,t){return e.name&&xR(e.name)&&"new"===e.name.escapedText?void(r=e.type):uR.createParameterDeclaration(void 0,i(e),o(e,t),e.questionToken,TJ(e.type,n,FE),void 0)}),TJ(r||a.type,n,FE)||uR.createKeywordTypeNode(133)):uR.createFunctionTypeNode(SJ(a.typeParameters,n,wR),iD(a.parameters,function(e,t){return uR.createParameterDeclaration(void 0,i(e),o(e,t),e.questionToken,TJ(e.type,n,FE),void 0)}),TJ(a.type,n,FE)||uR.createKeywordTypeNode(133))}if(BR(a)&&_I(a)&&(!xe(a,Uf(a))||wl(a)||it===vl(a,788968,!0)))return _R(K(Uf(a),c),a);if(yP(a)){var e=ci(a).resolvedSymbol;return!_I(a)||!e||(a.isTypeOf||788968&e.flags)&&HN(a.typeArguments)>=D_(mc(e))?uR.updateImportTypeNode(a,uR.updateLiteralTypeNode(a.argument,s(a,a.argument.literal)),a.assertions,a.qualifier,SJ(a.typeArguments,n,FE),a.isTypeOf):_R(K(Uf(a),c),a)}if(hE(a)||AL(a)){var t=Te(a,c,u),e=t.introducesError,t=t.node;if(l=l||e,t!==a)return t}d&&qR(a)&&gA(d,a.pos).line===gA(d,a.end).line&&lR(a,1);return wJ(a,n,iU);function i(e){return e.dotDotDotToken||(e.type&&hB(e.type)?uR.createToken(26):void 0)}function o(e,t){return e.name&&xR(e.name)&&"this"===e.name.escapedText?"this":i(e)?"args":"arg".concat(t)}function s(e,t){if(_){if(c.tracker&&c.tracker.moduleResolverHost){var e=lN(e);if(e){var r=KD(!!O.useCaseSensitiveFileNames),r={getCanonicalFileName:r,getCurrentDirectory:function(){return c.tracker.moduleResolverHost.getCurrentDirectory()},getCommonSourceDirectory:function(){return c.tracker.moduleResolverHost.getCommonSourceDirectory()}},r=KO(r,e);return uR.createStringLiteral(r)}}}else c.tracker&&c.tracker.trackExternalModuleSymbolOfImportTypeNode&&((r=eo(t,t,void 0))&&c.tracker.trackExternalModuleSymbolOfImportTypeNode(r));return t}},FE);if(!l)return t===e?UB(uR.cloneNode(e),e):t}var we=vF(),Ce=Qa(4,"undefined");Ce.declarations=[];var Ne=Qa(1536,"globalThis",8);Ne.exports=we,Ne.declarations=[],we.set(Ne.escapedName,Ne);var De,Ae,Ee,Fe=Qa(4,"arguments"),Pe=Qa(4,"require"),Ie=ee.verbatimModuleSyntax?"verbatimModuleSyntax":"isolatedModules",Oe=!ee.verbatimModuleSyntax||!!ee.importsNotUsedAsValues,Le=0,Me=0,Re={getNodeCount:function(){return ED(O.getSourceFiles(),function(e,t){return e+t.nodeCount},0)},getIdentifierCount:function(){return ED(O.getSourceFiles(),function(e,t){return e+t.identifierCount},0)},getSymbolCount:function(){return ED(O.getSourceFiles(),function(e,t){return e+t.symbolCount},o)},getTypeCount:function(){return i},getInstantiationCount:function(){return s},getRelationCacheSizes:function(){return{assignable:Aa.size,identity:Fa.size,subtype:Na.size,strictSubtype:Da.size}},isUndefinedSymbol:function(e){return e===Ce},isArgumentsSymbol:function(e){return e===Fe},isUnknownSymbol:function(e){return e===it},getMergedSymbol:mo,getDiagnostics:fC,getGlobalDiagnostics:function(){return pC(),Sa.getGlobalDiagnostics()},getRecursionIdentity:Sm,getUnmatchedProperties:By,getTypeOfSymbolAtLocation:function(e,t){t=PA(t);return t?function(e,t){if(e=To(e),(80===t.kind||81===t.kind)&&(LL(t)&&(t=t.parent),$P(t)&&(!tO(t)||VL(t)))){var r=cy(xT(t));if(To(ci(t).resolvedSymbol)===e)return r}if(uO(t)&&$E(t.parent)&&Qs(t.parent))return $s(t.parent.symbol);return cc(e)}(e,t):dt},getTypeOfSymbol:sc,getSymbolsOfParameterPropertyDeclaration:function(e,t){e=PA(e,CR);return void 0===e?rA.fail("Cannot get symbols of a synthetic parameter that cannot be resolved to a parse-tree node."):(rA.assert(CA(e,e.parent)),function(e,t){var r=e.parent,e=e.parent.parent,r=_i(r.locals,t,111551),t=_i(Gc(e.symbol),t,111551);if(r&&t)return[r,t];return rA.fail("There should exist two symbols, one as property declaration and one as parameter declaration")}(e,IA(t)))},getDeclaredTypeOfSymbol:Pc,getPropertiesOfType:Ou,getPropertyOfType:function(e,t){return u_(e,IA(t))},getPrivateIdentifierPropertyOfType:function(e,t,r){r=PA(r);if(r){r=dx(IA(t),r);return r?mx(e,r):void 0}},getTypeOfPropertyOfType:function(e,t){return vs(e,IA(t))},getIndexInfoOfType:function(e,t){return g_(e,0===t?wt:Ct)},getIndexInfosOfType:v_,getIndexInfosOfIndexSymbol:Z_,getSignaturesOfType:l_,getIndexTypeOfType:function(e,t){return h_(e,0===t?wt:Ct)},getIndexType:function(e){return jd(e)},getBaseTypes:Tc,getBaseTypeOfLiteralType:Vm,getWidenedType:xy,getTypeFromTypeNode:function(e){e=PA(e,FE);return e?Uf(e):dt},getParameterType:ek,getParameterIdentifierInfoAtPosition:function(e,t){if(324===(null==(i=e.declaration)?void 0:i.kind))return;var r=e.parameters.length-(bJ(e)?1:0);if(t<r){var n=e.parameters[t],a=Zb(n);return a?{parameter:a,parameterName:n.escapedName,isRestParameter:!1}:void 0}var i=e.parameters[r]||it,a=Zb(i);if(!a)return;n=sc(i);if(Xm(n)){e=n.target.labeledElementDeclarations,n=t-r,e=null==e?void 0:e[n],n=!(null==e||!e.dotDotDotToken);return e?(rA.assert(xR(e.name)),{parameter:e.name,parameterName:e.name.escapedText,isRestParameter:n}):void 0}return t!==r?void 0:{parameter:a,parameterName:i.escapedName,isRestParameter:!0}},getPromisedTypeOfPromise:XT,getAwaitedType:function(e){return rS(e)},getReturnTypeOfSignature:j_,isNullableType:rx,getNullableType:ay,getNonNullableType:oy,getNonOptionalType:cy,getTypeArguments:ll,typeToTypeNode:U.typeToTypeNode,indexInfoToIndexSignatureDeclaration:U.indexInfoToIndexSignatureDeclaration,signatureToSignatureDeclaration:U.signatureToSignatureDeclaration,symbolToEntityName:U.symbolToEntityName,symbolToExpression:U.symbolToExpression,symbolToNode:U.symbolToNode,symbolToTypeParameterDeclarations:U.symbolToTypeParameterDeclarations,symbolToParameterDeclaration:U.symbolToParameterDeclaration,typeParameterToDeclaration:U.typeParameterToDeclaration,getSymbolsInScope:function(e,t){e=PA(e);return e?function(e,t){if(67108864&e.flags)return[];var r=vF(),n=!1;return function(){for(;e;){switch(KE(e)&&e.locals&&!ui(e)&&i(e.locals,t),e.kind){case 312:if(!XB(e))break;case 267:!function(e,t){t&&e.forEach(function(e){mF(e,281)||mF(e,280)||"default"===e.escapedName||a(e,t)})}(yo(e).exports,2623475&t);break;case 266:i(yo(e).exports,8&t);break;case 231:e.name&&a(e.symbol,t);case 263:case 264:n||i(Gc(yo(e)),788968&t);break;case 218:e.name&&a(e.symbol,t)}DP(e)&&a(Fe,t),n=lL(e),e=e.parent}i(we,t)}(),r.delete("this"),S_(r);function a(e,t){zL(e)&t&&(t=e.escapedName,r.has(t)||r.set(t,e))}function i(e,t){t&&e.forEach(function(e){a(e,t)})}}(e,t):[]},getSymbolAtLocation:function(e){e=PA(e);return e?kC(e,!0):void 0},getIndexInfosAtLocation:function(e){e=PA(e);return e?function(e){if(xR(e)&&aj(e.parent)&&e.parent.name===e){var t=Od(e),e=xT(e.parent.expression);return cD(1048576&e.flags?e.types:[e],function(e){return nD(v_(e),function(e){return m_(t,e.keyType)})})}return}(e):void 0},getShorthandAssignmentValueSymbol:function(e){e=PA(e);return e?function(e){if(e&&304===e.kind)return Yi(e.name,2208703);return}(e):void 0},getExportSpecifierLocalTargetSymbol:function(e){e=PA(e,Kj);return e?Kj(e=e)?e.parent.parent.moduleSpecifier?Oi(e.parent.parent,e):Yi(e.propertyName||e.name,2998271):Yi(e,2998271):void 0},getExportSymbolOfSymbol:function(e){return mo(e.exportSymbol||e)},getTypeAtLocation:function(e){e=PA(e);return e?TC(e):dt},getTypeOfAssignmentPattern:function(e){e=PA(e,IE);return e&&SC(e)||dt},getPropertySymbolOfDestructuringAssignment:function(e){var t=PA(e,xR);return t?(t=SC(JD((e=t).parent.parent,IE)))&&u_(t,e.escapedText):void 0},signatureToString:function(e,t,r,n){return Zo(e,PA(t),r,n)},typeToString:function(e,t,r){return $o(e,PA(t),r)},symbolToString:function(e,t,r,n){return Yo(e,PA(t),r,n)},typePredicateToString:function(e,t,r){return is(e,PA(t),r)},writeSignature:function(e,t,r,n,a){return Zo(e,PA(t),r,n,a)},writeType:function(e,t,r,n){return $o(e,PA(t),r,n)},writeSymbol:function(e,t,r,n,a){return Yo(e,PA(t),r,n,a)},writeTypePredicate:function(e,t,r,n){return is(e,PA(t),r,n)},getAugmentedPropertiesOfType:DC,getRootSymbols:function e(t){var r=EC(t);return r?cD(r,e):[t]},getSymbolOfExpando:Ab,getContextualType:function(e,t){var r=PA(e,jE);if(r)return 4&t?Be(r,function(){return ih(r,t)}):ih(r,t)},getContextualTypeForObjectLiteralElement:function(e){e=PA(e,EE);return e?Qg(e,void 0):void 0},getContextualTypeForArgumentAtIndex:function(e,t){e=PA(e,LE);return e&&qg(e,t)},getContextualTypeForJsxAttribute:function(e){e=PA(e,QE);return e&&$g(e,void 0)},isContextSensitive:hp,getTypeOfPropertyOfContextualType:Gg,getFullyQualifiedName:Qi,getResolvedSignature:function(e,t,r){return Je(e,t,r,0)},getResolvedSignatureForStringLiteralCompletions:function(e,t,r,n){return void 0===n&&(n=32),(32&n?Be:je)(t,function(){return Je(e,r,void 0,-33&n)})},getResolvedSignatureForSignatureHelp:function(e,t,r){return je(e,function(){return Je(e,t,r,16)})},getExpandedParameters:ru,hasEffectiveRestParameter:ik,containsArgumentsReference:P_,getConstantValue:function(e){e=PA(e,QC);return e?YC(e):void 0},isValidPropertyAccess:function(e,t){e=PA(e,OE);return!!e&&function(e,t){switch(e.kind){case 211:return Ix(e,108===e.expression.kind,t,xy(TT(e.expression)));case 166:return Ix(e,!1,t,xy(TT(e.left)));case 205:return Ix(e,!1,t,Uf(e))}}(e,IA(t))},isValidPropertyAccessForCompletions:function(e,t,r){e=PA(e,aj);return!!e&&Px(e,t,r)},getSignatureFromDeclaration:function(e){e=PA(e,bE);return e?E_(e):void 0},isImplementationOfOverload:function(e){e=PA(e,bE);return e?VC(e):void 0},getImmediateAliasedSymbol:Sh,getAliasedSymbol:Ui,getEmitResolver:function(e,t){return fC(e,t),J},getExportsOfModule:so,getExportsAndPropertiesOfModule:function(e){var t=so(e),r=no(e);r===e||uo(r=sc(r))&&gD(t,Ou(r));return t},forEachExportAndPropertyOfModule:function(e,r){lo(e).forEach(function(e,t){Po(t)||r(e,t)});var t=no(e);{var n;t!==e&&uo(n=sc(t))&&function(e,r){3670016&(e=$u(e)).flags&&Eu(e).members.forEach(function(e,t){Oo(e,t)&&r(e,t)})}(n,function(e,t){r(e,t)})}},getSymbolWalker:tJ(function(e){return z_(e)||ut},M_,j_,Tc,Eu,sc,sv,Mu,EL,ll),getAmbientModules:function(){mr||(mr=[],we.forEach(function(e,t){aJ.test(t)&&mr.push(e)}));return mr},getJsxIntrinsicTagNamesAt:function(e){e=Ih(dJ.IntrinsicElements,e);return e?Ou(e):WN},isOptionalParameter:function(e){e=PA(e,CR);return!!e&&C_(e)},tryGetMemberInModuleExports:function(e,t){return co(IA(e),t)},tryGetMemberInModuleExportsAndProperties:function(e,t){return function(e,t){var r=co(e,t);if(r)return r;r=no(t);if(r===t)return;r=sc(r);return uo(r)?u_(r,e):void 0}(IA(e),t)},tryFindAmbientModule:function(e){return w_(e,!0)},tryFindAmbientModuleWithoutAugmentations:function(e){return w_(e,!1)},getApparentType:Zu,getUnionType:hd,isTypeAssignableTo:Ap,createAnonymousType:Mo,createSignature:Zc,createSymbol:Qa,createIndexInfo:Q_,getAnyType:function(){return ut},getStringType:function(){return wt},getStringLiteralType:Lf,getNumberType:function(){return Ct},getNumberLiteralType:Mf,getBigIntType:function(){return Nt},createPromiseType:Sk,createArrayType:Yl,getElementTypeOfArrayType:Pm,getBooleanType:function(){return It},getFalseType:function(e){return e?Dt:At},getTrueType:function(e){return e?Et:Ft},getVoidType:function(){return Lt},getUndefinedType:function(){return gt},getNullType:function(){return Tt},getESSymbolType:function(){return Ot},getNeverType:function(){return Mt},getOptionalType:function(){return kt},getPromiseType:function(){return Jl(!1)},getPromiseLikeType:function(){return zl(!1)},getAsyncIterableType:function(){var e=Vl(!1);if(e!==ar)return e},isSymbolAccessible:qo,isArrayType:Dm,isTupleType:Xm,isArrayLikeType:Im,isEmptyAnonymousObjectType:Xp,isTypeInvalidDueToUnionDiscriminant:function(r,e){return e.properties.some(function(e){var t=e.name&&(rB(e.name)?Lf(aR(e.name)):Od(e.name)),t=t&&sR(t)?cR(t):void 0,t=void 0===t?void 0:vs(r,t);return!!t&&Um(t)&&!Ap(TC(e),t)})},getExactOptionalProperties:function(e){return Ou(e).filter(function(e){return dy(sc(e))})},getAllPossiblePropertiesOfTypes:function(e){var t,r,n,a,i=hd(e);if(!(1048576&i.flags))return DC(i);var o=vF();try{for(var s=__values(e),c=s.next();!c.done;c=s.next()){var u=c.value;try{for(var _=(n=void 0,__values(DC(u))),l=_.next();!l.done;l=_.next()){var d,f=l.value.escapedName;o.has(f)||(d=e_(i,f))&&o.set(f,d)}}catch(e){n={error:e}}finally{try{l&&!l.done&&(a=_.return)&&a.call(_)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}return PD(o.values())},getSuggestedSymbolForNonexistentProperty:Sx,getSuggestionForNonexistentProperty:Cx,getSuggestedSymbolForNonexistentJSXAttribute:wx,getSuggestedSymbolForNonexistentSymbol:function(e,t,r){return Nx(e,IA(t),r)},getSuggestionForNonexistentSymbol:function(e,t,r){return function(e,t,r){r=Nx(e,t,r);return r&&RA(r)}(e,IA(t),r)},getSuggestedSymbolForNonexistentModule:Dx,getSuggestionForNonexistentExport:function(e,t){t=Dx(e,t);return t&&RA(t)},getSuggestedSymbolForNonexistentClassMember:Tx,getBaseConstraintOfType:Vu,getDefaultFromTypeParameter:function(e){return e&&262144&e.flags?Gu(e):void 0},resolveName:function(e,t,r,n){return pi(t,IA(e),r,void 0,void 0,!1,n)},getJsxNamespace:function(e){return OA(Ra(e))},getJsxFragmentFactory:function(e){e=_N(e);return e&&OA(EL(e).escapedText)},getAccessibleSymbolChain:Bo,getTypePredicateOfSignature:M_,resolveExternalModuleName:function(e){e=PA(e,jE);return e&&$i(e,e,!0)},resolveExternalModuleSymbol:no,tryGetThisTypeAt:function(e,t,r){e=PA(e);return e&&Fg(e,t,r)},getTypeArgumentConstraint:function(e){e=PA(e,FE);return e&&function(e){var t=BD(e.parent,iF);if(!t)return;var r=RT(t);if(!r)return;e=Mu(r[t.typeArguments.indexOf(e)]);return e&&pp(e,Gf(r,LT(t,r)))}(e)},getSuggestionDiagnostics:function(e,t){var n,r=PA(e,uB)||rA.fail("Could not determine parsed source file.");if(DM(r,ee,O))return WN;try{return k=t,mC(r),rA.assert(!!(1&ci(r).flags)),n=gD(n,wa.getDiagnostics(r.fileName)),vS(dC(r),function(e,t,r){wF(e)||lC(t,!!(33554432&e.flags))||(n=n||[]).push(__assign(__assign({},r),{category:2}))}),n||WN}finally{k=void 0}},runWithCancellationToken:function(e,t){try{return k=e,t(Re)}finally{k=void 0}},getLocalTypeParametersOfClassOrInterfaceOrTypeAlias:mc,isDeclarationVisible:ls,isPropertyAccessible:Ox,getTypeOnlyAliasDeclaration:Hi,getMemberOverrideModifierStatus:function(e,t,r){if(!t.name)return 0;var n=yo(e),a=Pc(n),i=Qc(a),o=sc(n),s=yO(e)&&Tc(a),c=null!=s&&s.length?Qc(SD(s),a.thisType):void 0,n=bc(a),s=t.parent?fL(t):_L(t,16384);return Fw(e,o,n,c,a,i,s,pL(t),lL(t),!1,RA(r))},isTypeParameterPossiblyReferenced:sp,typeHasCallOrConstructSignatures:AC};function je(e,t){for(var r,n,a=[];e;)LE(e)&&(u=(c=ci(e)).resolvedSignature,a.push([c,u]),c.resolvedSignature=void 0),e=e.parent;t=t();try{for(var i=__values(a),o=i.next();!o.done;o=i.next()){var s=__read(o.value,2),c=s[0],u=s[1];c.resolvedSignature=u}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return t}function Be(e,t){var r=FA(e,LE);if(r)for(var n=e;ci(n).skipDirectInference=!0,n=n.parent,n&&n!==r;);B=!0;t=je(e,t);if(B=!1,r)for(n=e;ci(n).skipDirectInference=void 0,n=n.parent,n&&n!==r;);return t}function Je(e,t,r,n){e=PA(e,LE);De=r;n=e?Cb(e,t,n):void 0;return De=void 0,n}var ze=new Map,Ue=new Map,Ve=new Map,qe=new Map,We=new Map,He=new Map,Ke=new Map,Ge=new Map,Xe=new Map,Qe=new Map,Ye=new Map,Ze=new Map,$e=new Map,et=new Map,tt=new Map,rt=[],nt=new Map,at=new Set,it=Qa(4,"unknown"),ot=Qa(0,"__resolving__"),st=new Map,ct=new Map,ut=Ao(1,"any"),_t=Ao(1,"any",262144),lt=Ao(1,"any"),dt=Ao(1,"error"),ft=Ao(1,"unresolved"),pt=Ao(1,"any",65536),mt=Ao(1,"intrinsic"),yt=Ao(2,"unknown"),vt=Ao(2,"unknown"),gt=Ao(32768,"undefined"),ht=te?gt:Ao(32768,"undefined",65536),xt=Ao(32768,"undefined"),bt=re?xt:gt,kt=Ao(32768,"undefined"),Tt=Ao(65536,"null"),St=te?Tt:Ao(65536,"null",65536),wt=Ao(4,"string"),Ct=Ao(8,"number"),Nt=Ao(64,"bigint"),Dt=Ao(512,"false"),At=Ao(512,"false"),Et=Ao(512,"true"),Ft=Ao(512,"true");Et.regularType=Ft,Et.freshType=Et,(Ft.regularType=Ft).freshType=Et,Dt.regularType=At,Dt.freshType=Dt,(At.regularType=At).freshType=Dt;var Pt,It=hd([At,Ft]),Ot=Ao(4096,"symbol"),Lt=Ao(16384,"void"),Mt=Ao(131072,"never"),Rt=Ao(131072,"never",262144),jt=Ao(131072,"never"),Bt=Ao(131072,"never"),Jt=Ao(67108864,"object"),zt=hd([wt,Ct]),Ut=hd([wt,Ct,Ot]),Vt=h?wt:Ut,qt=hd([Ct,Nt]),Wt=hd([wt,Ct,It,Nt,Tt,gt]),Ht=Jd(["",""],[Ct]),Kt=Yf(function(e){return 262144&e.flags?!(t=e).constraint&&!el(t)||t.constraint===or?t:t.restrictiveInstantiation||(t.restrictiveInstantiation=Fo(t.symbol),t.restrictiveInstantiation.constraint=or,t.restrictiveInstantiation):e;var t},function(){return"(restrictive mapper)"}),Gt=Yf(function(e){return 262144&e.flags?lt:e},function(){return"(permissive mapper)"}),Xt=Ao(131072,"never"),Qt=Yf(function(e){return 262144&e.flags?Xt:e},function(){return"(unique literal mapper)"}),Yt=Yf(function(e){return!Pt||e!==ur&&e!==_r&&e!==lr||Pt(!0),e},function(){return"(unmeasurable reporter)"}),Zt=Yf(function(e){return!Pt||e!==ur&&e!==_r&&e!==lr||Pt(!1),e},function(){return"(unreliable reporter)"}),$t=Mo(void 0,M,WN,WN,WN),er=Mo(void 0,M,WN,WN,WN);er.objectFlags|=2048;var e=Qa(2048,"__type");e.members=vF();var tr=Mo(e,M,WN,WN,WN),rr=Mo(void 0,M,WN,WN,WN),nr=te?hd([gt,Tt,rr]):yt,ar=Mo(void 0,M,WN,WN,WN);ar.instantiations=new Map;var ir=Mo(void 0,M,WN,WN,WN);ir.objectFlags|=262144;var or=Mo(void 0,M,WN,WN,WN),sr=Mo(void 0,M,WN,WN,WN),cr=Mo(void 0,M,WN,WN,WN),ur=Fo(),_r=Fo();_r.constraint=ur;var lr=Fo(),dr=Fo(),fr=Fo();fr.constraint=dr;var pr,mr,yr,vr,gr,hr,xr,br,kr,Tr,Sr,wr,Cr,Nr,Dr,Ar,Er,Fr,Pr,Ir,Or,Lr,Mr,Rr,jr,Br,Jr,zr,Ur,Vr,qr,Wr,Hr,Kr,Gr,Xr,Qr,Yr,Zr,$r,en,tn,rn,nn,an,on,sn,cn,un,_n,ln,dn,fn,pn,mn,yn,vn,gn,hn,xn,bn,kn,Tn=N_(1,"<<unresolved>>",0,ut),Sn=Zc(void 0,void 0,void 0,WN,ut,void 0,0,0),wn=Zc(void 0,void 0,void 0,WN,dt,void 0,0,0),Cn=Zc(void 0,void 0,void 0,WN,ut,void 0,0,0),Nn=Zc(void 0,void 0,void 0,WN,Rt,void 0,0,0),Dn=Q_(Ct,wt,!0),An=new Map,En={get yieldType(){return rA.fail("Not supported")},get returnType(){return rA.fail("Not supported")},get nextType(){return rA.fail("Not supported")}},Fn=QS(ut,ut,ut),Pn=QS(ut,ut,yt),In=QS(Mt,ut,gt),On={iterableCacheKey:"iterationTypesOfAsyncIterable",iteratorCacheKey:"iterationTypesOfAsyncIterator",iteratorSymbolName:"asyncIterator",getGlobalIteratorType:function(e){return(Gr=Gr||Ol("AsyncIterator",3,e))||ar},getGlobalIterableType:Vl,getGlobalIterableIteratorType:function(e){return(Xr=Xr||Ol("AsyncIterableIterator",1,e))||ar},getGlobalGeneratorType:function(e){return(Qr=Qr||Ol("AsyncGenerator",3,e))||ar},resolveIterationType:function(e,t){return rS(e,t,mA.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)},mustHaveANextMethodDiagnostic:mA.An_async_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:mA.The_0_property_of_an_async_iterator_must_be_a_method,mustHaveAValueDiagnostic:mA.The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property},Ln={iterableCacheKey:"iterationTypesOfIterable",iteratorCacheKey:"iterationTypesOfIterator",iteratorSymbolName:"iterator",getGlobalIteratorType:function(e){return(Ur=Ur||Ol("Iterator",3,e))||ar},getGlobalIterableType:ql,getGlobalIterableIteratorType:function(e){return(Vr=Vr||Ol("IterableIterator",1,e))||ar},getGlobalGeneratorType:function(e){return(qr=qr||Ol("Generator",3,e))||ar},resolveIterationType:function(e,t){return e},mustHaveANextMethodDiagnostic:mA.An_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:mA.The_0_property_of_an_iterator_must_be_a_method,mustHaveAValueDiagnostic:mA.The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property},Mn=new Map,Rn=[],jn=new Map,Bn=0,Jn=0,zn=0,Un=!1,Vn=0,qn=[],Wn=[],Hn=[],Kn=0,Gn=[],Xn=[],Qn=0,Yn=Lf(""),Zn=Mf(0),$n=Rf({negative:!1,base10Value:"0"}),ea=[],ta=[],ra=[],na=0,aa=!1,ia=0,oa=10,sa=[],ca=[],ua=[],_a=[],la=[],da=[],fa=[],pa=[],ma=[],ya=[],va=[],ga=[],ha=[],xa=[],ba=[],ka=[],Ta=[],Sa=JO(),wa=JO(),Ca=hd(PD(cJ.keys(),Lf)),Na=new Map,Da=new Map,Aa=new Map,Ea=new Map,Fa=new Map,Pa=new Map,Ia=vF();Ia.set(Ce.escapedName,Ce);var Oa=[[".mts",".mjs"],[".ts",".js"],[".cts",".cjs"],[".mjs",".mjs"],[".js",".js"],[".cjs",".cjs"],[".tsx",1===ee.jsx?".jsx":".js"],[".jsx",".jsx"],[".json",".json"]];return function(){var t,e,r,n,a,i,o,s,c,u,_,l,d,f,p;try{for(var m=__values(O.getSourceFiles()),y=m.next();!y.done;y=m.next())eJ(v=y.value,ee)}catch(e){t={error:e}}finally{try{y&&!y.done&&(e=m.return)&&e.call(m)}finally{if(t)throw t.error}}pr=new Map;try{for(var v,g=__values(O.getSourceFiles()),h=g.next();!h.done;h=g.next())if(!(v=h.value).redirectInfo){if(!_P(v)){var x=v.locals.get("globalThis");if(null!=x&&x.declarations)try{for(var b=(a=void 0,__values(x.declarations)),k=b.next();!k.done;k=b.next()){var T=k.value;Sa.add(tP(T,mA.Declaration_name_conflicts_with_built_in_global_identifier_0,"globalThis"))}}catch(e){a={error:e}}finally{try{k&&!k.done&&(i=b.return)&&i.call(b)}finally{if(a)throw a.error}}ii(we,v.locals)}v.jsGlobalAugmentations&&ii(we,v.jsGlobalAugmentations),v.patternAmbientModules&&v.patternAmbientModules.length&&(yr=fD(yr,v.patternAmbientModules)),v.moduleAugmentations.length&&(p=p||[]).push(v.moduleAugmentations),v.symbol&&v.symbol.globalExports&&v.symbol.globalExports.forEach(function(e,t){we.has(t)||we.set(t,e)})}}catch(e){r={error:e}}finally{try{h&&!h.done&&(n=g.return)&&n.call(g)}finally{if(r)throw r.error}}if(p)try{for(var S=__values(p),w=S.next();!w.done;w=S.next()){var C=w.value;try{for(var N=(c=void 0,__values(C)),D=N.next();!D.done;D=N.next())zF((F=D.value).parent)&&oi(F)}catch(e){c={error:e}}finally{try{D&&!D.done&&(u=N.return)&&u.call(N)}finally{if(c)throw c.error}}}}catch(e){o={error:e}}finally{try{w&&!w.done&&(s=S.return)&&s.call(S)}finally{if(o)throw o.error}}if(function(i,o){Ia.forEach(function(e,t){var r,n,a=i.get(t);a?KN(a.declarations,(r=OA(t),n=o,function(e){return Sa.add(tP(e,n,r))})):i.set(t,e)})}(we,mA.Declaration_name_conflicts_with_built_in_global_identifier_0),si(Ce).type=ht,si(Fe).type=Ol("IArguments",0,!0),si(it).type=dt,si(Ne).type=Eo(16,Ne),kr=Ol("Array",1,!0),gr=Ol("Object",0,!0),hr=Ol("Function",0,!0),xr=R&&Ol("CallableFunction",0,!0)||hr,br=R&&Ol("NewableFunction",0,!0)||hr,Sr=Ol("String",0,!0),wr=Ol("Number",0,!0),Cr=Ol("Boolean",0,!0),Nr=Ol("RegExp",0,!0),Ar=Yl(ut),(Er=Yl(_t))===$t&&(Er=Mo(void 0,M,WN,WN,WN)),Tr=Hl("ReadonlyArray",1)||kr,Fr=Tr?Gl(Tr,[ut]):Ar,Dr=Hl("ThisType",1),p)try{for(var A=__values(p),E=A.next();!E.done;E=A.next()){C=E.value;try{for(var F,P=(d=void 0,__values(C)),I=P.next();!I.done;I=P.next())zF((F=I.value).parent)||oi(F)}catch(e){d={error:e}}finally{try{I&&!I.done&&(f=P.return)&&f.call(P)}finally{if(d)throw d.error}}}}catch(e){_={error:e}}finally{try{E&&!E.done&&(l=A.return)&&l.call(A)}finally{if(_)throw _.error}}pr.forEach(function(e){var t=e.firstFile,r=e.secondFile,e=e.conflictingSymbols;e.size<8?e.forEach(function(e,t){var r,n,a,i,o=e.isBlockScoped,s=e.firstFileLocations,c=e.secondFileLocations,u=o?mA.Cannot_redeclare_block_scoped_variable_0:mA.Duplicate_identifier_0;try{for(var _=__values(s),l=_.next();!l.done;l=_.next())ai(l.value,u,t,c)}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=_.return)&&n.call(_)}finally{if(r)throw r.error}}try{for(var d=__values(c),f=d.next();!f.done;f=d.next())ai(f.value,u,t,s)}catch(e){a={error:e}}finally{try{f&&!f.done&&(i=d.return)&&i.call(d)}finally{if(a)throw a.error}}}):(e=PD(e.keys()).join(", "),Sa.add(SM(tP(t,mA.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0,e),tP(r,mA.Conflicts_are_in_this_file))),Sa.add(SM(tP(r,mA.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0,e),tP(t,mA.Conflicts_are_in_this_file))))}),pr=void 0}(),Re;function La(e){return e?tt.get(e):void 0}function Ma(e,t){return e&&tt.set(e,t),t}function Ra(e){if(e){var t=CF(e);if(t)if(Zj(e)){if(t.localJsxFragmentNamespace)return t.localJsxFragmentNamespace;var r=t.pragmas.get("jsxfrag");if(r){var n=RD(r)?r[0]:r;if(t.localJsxFragmentFactory=GB(n.arguments.factory,V),TJ(t.localJsxFragmentFactory,Ba,hE),t.localJsxFragmentFactory)return t.localJsxFragmentNamespace=EL(t.localJsxFragmentFactory).escapedText}n=_N(e);if(n)return t.localJsxFragmentFactory=n,t.localJsxFragmentNamespace=EL(n).escapedText}else{n=ja(t);if(n)return t.localJsxNamespace=n}}return bn||(bn="React",ee.jsxFactory?(TJ(kn=GB(ee.jsxFactory,V),Ba),kn&&(bn=EL(kn).escapedText)):ee.reactNamespace&&(bn=IA(ee.reactNamespace))),kn=kn||uR.createQualifiedName(uR.createIdentifier(OA(bn)),"createElement"),bn}function ja(e){if(e.localJsxNamespace)return e.localJsxNamespace;var t=e.pragmas.get("jsx");if(t){t=RD(t)?t[0]:t;if(e.localJsxFactory=GB(t.arguments.factory,V),TJ(e.localJsxFactory,Ba,hE),e.localJsxFactory)return e.localJsxNamespace=EL(e.localJsxFactory).escapedText}}function Ba(e){return MM(e,-1,-1),wJ(e,Ba,iU)}function Ja(e,t,r){for(var n=[],a=3;a<arguments.length;a++)n[a-3]=arguments[a];r=Ua.apply(void 0,__spreadArray([t,r],__read(n),!1));return r.skippedOn=e,r}function za(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return e?tP.apply(void 0,__spreadArray([e,t],__read(r),!1)):ZL.apply(void 0,__spreadArray([t],__read(r),!1))}function Ua(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];t=za.apply(void 0,__spreadArray([e,t],__read(r),!1));return Sa.add(t),t}function Va(e,t){e?Sa.add(t):wa.add(__assign(__assign({},t),{category:2}))}function qa(e,t,r){for(var n,a=[],i=3;i<arguments.length;i++)a[i-3]=arguments[i];t.pos<0||t.end<0?e&&(n=CF(t),Va(e,"message"in r?QL.apply(void 0,__spreadArray([n,0,0,r],__read(a),!1)):iP(n,r))):Va(e,"message"in r?tP.apply(void 0,__spreadArray([t,r],__read(a),!1)):nP(CF(t),t,r))}function Wa(e,t,r){for(var n=[],a=3;a<arguments.length;a++)n[a-3]=arguments[a];r=Ua.apply(void 0,__spreadArray([e,r],__read(n),!1));return t&&SM(r,tP(e,mA.Did_you_forget_to_use_await)),r}function Ha(e,t){e=Array.isArray(e)?KN(e,HA):HA(e);return e&&SM(t,tP(e,mA.The_declaration_was_marked_as_deprecated_here)),wa.add(t),t}function Ka(e){var t=go(e);return t&&1<HN(e.declarations)?(64&t.flags?dD:XN)(e.declarations,Ga):e.valueDeclaration&&Ga(e.valueDeclaration)||HN(e.declarations)&&XN(e.declarations,Ga)}function Ga(e){return!!(536870912&VN(e))}function Xa(e,t,r){return Ha(t,tP(e,mA._0_is_deprecated,r))}function Qa(e,t,r){o++;t=new n(33554432|e,t);return t.links=new lJ,t.links.checkFlags=r||0,t}function Ya(e,t){e=Qa(1,e);return e.links.type=t,e}function Za(e,t){e=Qa(4,e);return e.links.type=t,e}function $a(e){var 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 ei(e,t){t.mergeId||(t.mergeId=oJ,oJ++),sa[t.mergeId]=e}function ti(e){var t=Qa(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)),ei(t,e),t}function ri(e,t,r){if(void 0===r&&(r=!1),!(e.flags&$a(t.flags))||67108864&(t.flags|e.flags)){if(t===e)return e;if(!(33554432&e.flags)){var n=zi(e);if(n===it)return t;e=ti(n)}512&t.flags&&512&e.flags&&e.constEnumOnlyModule&&!t.constEnumOnlyModule&&(e.constEnumOnlyModule=!1),e.flags|=t.flags,t.valueDeclaration&&LI(e,t.valueDeclaration),gD(e.declarations,t.declarations),t.members&&(e.members||(e.members=vF()),ii(e.members,t.members,r)),t.exports&&(e.exports||(e.exports=vF()),ii(e.exports,t.exports,r)),r||ei(e,t)}else{var a,i,o,s,c,u,_,l;1024&e.flags?e!==Ne&&Ua(t.declarations&&JA(t.declarations[0]),mA.Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity,Yo(e)):(a=!!(384&e.flags||384&t.flags),i=!!(2&e.flags||2&t.flags),o=a?mA.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:i?mA.Cannot_redeclare_block_scoped_variable_0:mA.Duplicate_identifier_0,l=t.declarations&&CF(t.declarations[0]),s=e.declarations&&CF(e.declarations[0]),c=DF(l,ee.checkJs),n=DF(s,ee.checkJs),r=Yo(t),l&&s&&pr&&!a&&l!==s?(u=-1===pA(l.path,s.path)?l:s,_=u===l?s:l,l=_D(pr,"".concat(u.path,"|").concat(_.path),function(){return{firstFile:u,secondFile:_,conflictingSymbols:new Map}}),l=_D(l.conflictingSymbols,r,function(){return{isBlockScoped:i,firstFileLocations:[],secondFileLocations:[]}}),c||d(l.firstFileLocations,t),n||d(l.secondFileLocations,e)):(c||ni(t,o,r,e),n||ni(e,o,r,t)))}return e;function d(e,t){var r,n;if(t.declarations)try{for(var a=__values(t.declarations),i=a.next();!i.done;i=a.next())hD(e,i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}}function ni(e,t,r,n){KN(e.declarations,function(e){ai(e,t,r,n.declarations)})}function ai(e,t,n,r){var a,i,o=(xI(e,!1)?kI:JA)(e)||e,s=function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return e=e?tP.apply(void 0,__spreadArray([e,t],__read(r),!1)):ZL.apply(void 0,__spreadArray([t],__read(r),!1)),(t=Sa.lookup(e))||(Sa.add(e),e)}(o,t,n);try{for(var c=__values(r||WN),u=c.next();!u.done;u=c.next())!function(e){var t,r;(e=(xI(e,!1)?kI:JA)(e)||e)!==o&&(s.relatedInformation=s.relatedInformation||[],t=tP(e,mA._0_was_also_declared_here,n),r=tP(e,mA.and_here),5<=HN(s.relatedInformation)||dD(s.relatedInformation,function(e){return 0===tM(e,r)||0===tM(e,t)})||SM(s,HN(s.relatedInformation)?r:t))}(u.value)}catch(e){a={error:e}}finally{try{u&&!u.done&&(i=c.return)&&i.call(c)}finally{if(a)throw a.error}}}function ii(n,e,a){void 0===a&&(a=!1),e.forEach(function(e,t){var r=n.get(t);n.set(t,r?ri(r,e,a):mo(e))})}function oi(e){var t,r,n,a,i=e.parent;if((null==(n=i.symbol.declarations)?void 0:n[0])===i)if(zF(i))ii(we,i.symbol.exports);else{var o=eo(e,e,33554432&e.parent.parent.flags?void 0:mA.Invalid_module_name_in_augmentation_module_0_cannot_be_found,!0);if(o)if(1920&(o=no(o)).flags)if(dD(yr,function(e){return o===e.symbol})){var s=ri(i.symbol,o,!0);(vr=vr||new Map).set(e.text,s)}else{if(null!=(s=o.exports)&&s.get("__export")&&null!=(a=i.symbol.exports)&&a.size){var c=Kc(o,"resolvedExports");try{for(var u=__values(PD(i.symbol.exports.entries())),_=u.next();!_.done;_=u.next()){var l=__read(_.value,2),d=l[0],l=l[1];c.has(d)&&!o.exports.has(d)&&ri(c.get(d),l)}}catch(e){t={error:e}}finally{try{_&&!_.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}}ri(o,i.symbol)}else Ua(e,mA.Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity,e.text)}else rA.assert(1<i.symbol.declarations.length)}function si(e){if(33554432&e.flags)return e.links;var t=yJ(e);return null!==(e=ca[t])&&void 0!==e?e:ca[t]=new lJ}function ci(e){e=mJ(e);return ua[e]||(ua[e]=new pJ)}function ui(e){return 312===e.kind&&!_P(e)}function _i(e,t,r){if(r){t=mo(e.get(t));if(t){if(rA.assert(0==(1&BL(t)),"Should never get an instantiated symbol here."),t.flags&r)return t;if(2097152&t.flags)if(Vi(t)&r)return t}}}function li(t,e){var r=CF(t),n=CF(e),a=GF(t);if(r!==n){if(x&&(r.externalModuleIndicator||n.externalModuleIndicator)||!GO(ee)||eL(e)||33554432&t.flags)return!0;if(o(e,t))return!0;var i=O.getSourceFiles();return i.indexOf(r)<=i.indexOf(n)}if(t.pos<=e.pos&&(!AR(t)||!qP(e.parent)||t.initializer||t.exclamationToken)){if(208!==t.kind)return 260===t.kind?!function(e,t){switch(e.parent.parent.kind){case 243:case 248:case 250:if(xi(t,e,a))return!0}var r=e.parent.parent;return qE(r)&&xi(t,r.expression,a)}(t,e):Pj(t)?!FA(e,function(e){return SR(e)&&e.parent.parent===t}):AR(t)?!s(t,e,!1):!CA(t,t.parent)||!(C&&IP(t)===IP(e)&&o(e,t));n=xO(e,208);return n?FA(n,tj)!==FA(t,tj)||t.pos<n.pos:li(xO(t,260),e)}return!!(281===e.parent.kind||277===e.parent.kind&&e.parent.isExportEquals)||(!(277!==e.kind||!e.isExportEquals)||(!!(16777216&e.flags||eL(e)||cv(e))||!!o(e,t)&&(!C||!IP(t)||!AR(t)&&!CA(t,t.parent)||!s(t,e,!0))));function o(r,n){return FA(r,function(e){if(e===a)return"quit";if(bE(e))return!0;if(PR(e))return n.pos<r.pos;var t=BD(e.parent,AR);if(t&&t.initializer===e)if(lL(e.parent)){if(174===n.kind)return!0;if(AR(n)&&IP(r)===IP(n)){t=n.name;if(xR(t)||bR(t))if(function(e,t,r,n,a){var i,o;try{for(var s=__values(r),c=s.next();!c.done;c=s.next()){var u=c.value;if(u.pos>=n&&u.pos<=a){var _=uR.createPropertyAccessExpression(uR.createThis(),e);if(jM(_.expression,_),jM(_,u),_.flowNode=u.returnFlowNode,!Qp(fg(_,t,iy(t))))return!0}}}catch(e){i={error:e}}finally{try{c&&!c.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}return!1}(t,sc(yo(n)),nD(n.parent.members,PR),n.parent.pos,e.pos))return!0}}else if(!(172===n.kind&&!lL(n))||IP(r)!==IP(n))return!0;return!1})}function s(t,e,r){return!(e.end>t.end)&&void 0===FA(e,function(e){if(e===t)return"quit";switch(e.kind){case 219:return!0;case 172:return!r||!(AR(t)&&e.parent===t.parent||CA(t,t.parent)&&e.parent===t.parent.parent)||"quit";case 241:switch(e.parent.kind){case 177:case 174:case 178:return!0;default:return!1}default:return!1}})}}function di(e,t,r){var n=rM(ee),t=t;if(CR(r)&&t.body&&e.valueDeclaration&&e.valueDeclaration.pos>=t.body.pos&&e.valueDeclaration.end<=t.body.end&&2<=n){e=ci(t);return void 0===e.declarationRequiresScopeChange&&(e.declarationRequiresScopeChange=KN(t.parameters,function(e){return a(e.name)||!!e.initializer&&a(e.initializer)})||!1),!e.declarationRequiresScopeChange}function a(e){switch(e.kind){case 219:case 218:case 262:case 176:return!1;case 174:case 177:case 178:case 303:return a(e.name);case 172:return dL(e)?!C:a(e.name);default:return cE(e)||aE(e)?n<7:tj(e)&&e.dotDotDotToken&&$R(e.parent)?n<4:!FE(e)&&HB(e,a)||!1}}}function fi(e){return BE(e)&&uE(e.type)||NB(e)&&uE(e.typeExpression)}function pi(e,t,r,n,a,i,o,s){return void 0===o&&(o=!1),void 0===s&&(s=!0),mi(e,t,r,n,a,i,o,s,_i)}function mi(e,i,o,s,c,t,r,u,a){var _,n,l,d,f,p,m=e,y=!1,v=e,g=!1;e:for(;e;){if("const"===i&&fi(e))return;if(WE(e)&&n&&e.name===n&&(e=(n=e).parent),KE(e)&&e.locals&&!ui(e)&&(_=a(e.locals,i,o))){var h=!0;if(bE(e)&&n&&n!==e.body?(o&_.flags&788968&&327!==n.kind&&(h=!!(262144&_.flags)&&(n===e.type||169===n.kind||348===n.kind||349===n.kind||168===n.kind)),o&_.flags&3&&(di(_,e,n)?h=!1:1&_.flags&&(h=169===n.kind||n===e.type&&!!FA(_.valueDeclaration,CR)))):194===e.kind&&(h=n===e.trueType),h)break e;_=void 0}switch(y=y||function(e,t){if(219!==e.kind&&218!==e.kind)return UR(e)||(TE(e)||172===e.kind&&!lL(e))&&(!t||t!==e.name);if(t&&t===e.name)return!1;if(e.asteriskToken||_L(e,512))return!0;return!UP(e)}(e,n),e.kind){case 312:if(!_P(e))break;g=!0;case 267:var x=(null==(x=yo(e))?void 0:x.exports)||M;if(312===e.kind||Mj(e)&&33554432&e.flags&&!zF(e)){if(_=x.get("default")){var b=RL(_);if(b&&_.flags&o&&b.escapedName===i)break e;_=void 0}b=x.get(i);if(b&&2097152===b.flags&&(mF(b,281)||mF(b,280)))break}if("default"!==i&&(_=a(x,i,2623475&o))){if(!uB(e)||!e.commonJsModuleIndicator||null!=(x=_.declarations)&&x.some(UI))break e;_=void 0}break;case 266:if(_=a((null==(p=yo(e))?void 0:p.exports)||M,i,8&o)){!s||!sM(ee)||33554432&e.flags||CF(e)===CF(_.valueDeclaration)||Ua(v,mA.Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead,OA(i),Ie,"".concat(OA(vo(e).escapedName),".").concat(OA(i)));break e}break;case 172:lL(e)||(p=wo(e.parent))&&p.locals&&a(p.locals,i,111551&o)&&(rA.assertNode(e,AR),d=e);break;case 263:case 231:case 264:if(_=a(yo(e).members||M,i,788968&o)){if(!function(e,t){var r,n;if(e.declarations)try{for(var a=__values(e.declarations),i=a.next();!i.done;i=a.next()){var o=i.value;if(168===o.kind)if((DB(o.parent)?YI(o.parent):o.parent)===t)return!(DB(o.parent)&&QN(o.parent.parent.tags,UI))}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return!1}(_,e)){_=void 0;break}if(n&&lL(n))return void(s&&Ua(v,mA.Static_members_cannot_reference_class_type_parameters));break e}if(vj(e)&&32&o){var k=e.name;if(k&&i===k.escapedText){_=e.symbol;break e}}break;case 233:if(n===e.expression&&96===e.parent.token){k=e.parent.parent;if(NE(k)&&(_=a(yo(k).members,i,788968&o)))return void(s&&Ua(v,mA.Base_class_expressions_cannot_reference_class_type_parameters))}break;case 167:if(T=e.parent.parent,(NE(T)||264===T.kind)&&(_=a(yo(T).members,i,788968&o)))return void(s&&Ua(v,mA.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type));break;case 219:if(2<=rM(ee))break;case 174:case 176:case 177:case 178:case 262:if(3&o&&"arguments"===i){_=Fe;break e}break;case 218:if(3&o&&"arguments"===i){_=Fe;break e}if(16&o){var T=e.name;if(T&&i===T.escapedText){_=e.symbol;break e}}break;case 170:e.parent&&169===e.parent.kind&&(e=e.parent),e.parent&&(CE(e.parent)||263===e.parent.kind)&&(e=e.parent);break;case 353:case 345:case 347:var S=ZI(e);S&&(e=S.parent);break;case 169:n&&(n===e.initializer||n===e.name&&PE(n))&&(f=f||e);break;case 208:n&&(n===e.initializer||n===e.name&&PE(n))&&LO(e)&&!f&&(f=e);break;case 195:if(262144&o){S=e.typeParameter.name;if(S&&i===S.escapedText){_=e.typeParameter.symbol;break e}}break;case 281:n&&n===e.propertyName&&e.parent.parent.moduleSpecifier&&(e=e.parent.parent.parent)}!function(e){switch(e.kind){case 262:case 263:case 264:case 266:case 265:case 267:return!0;default:return!1}}(e)||(l=e),e=DB(n=e)?GI(e)||e.parent:(wB(e)||CB(e))&&XI(e)||e.parent}if(!t||!_||l&&_===l.symbol||(_.isReferenced|=o),!_){if(n&&(rA.assertNode(n,uB),n.commonJsModuleIndicator&&"exports"===i&&o&n.symbol.flags))return n.symbol;r||(_=a(we,i,o))}if(!_&&m&&cI(m)&&m.parent&&dI(m.parent,!1))return Pe;function w(){return d&&!C&&(Ua(v,v&&d.type&&wA(d.type,v.pos)?mA.Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:mA.Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor,QF(d.name),vi(c)),1)}if(_){if(!s||!w())return s&&D(function(){var e,t,r,n;v&&(2&o||(32&o||384&o)&&111551==(111551&o))&&(2&(e=To(_)).flags||32&e.flags||384&e.flags)&&function(e,t){if(rA.assert(!!(2&e.flags||32&e.flags||384&e.flags)),!(67108881&e.flags&&32&e.flags)){var r,n,a=null==(n=e.declarations)?void 0:n.find(function(e){return LF(e)||NE(e)||266===e.kind});if(void 0===a)return rA.fail("checkResolvedBlockScopedVariable could not find block-scoped declaration");33554432&a.flags||li(a,t)||(r=void 0,n=QF(JA(a)),2&e.flags?r=Ua(t,mA.Block_scoped_variable_0_used_before_its_declaration,n):32&e.flags?r=Ua(t,mA.Class_0_used_before_its_declaration,n):256&e.flags&&(r=Ua(t,mA.Enum_0_used_before_its_declaration,n)),r&&SM(r,tP(a,mA._0_is_declared_here,n)))}}(e,v),!_||!g||111551!=(111551&o)||16777216&m.flags||HN((t=mo(_)).declarations)&&XN(t.declarations,function(e){return jj(e)||uB(e)&&e.symbol.globalExports})&&qa(!ee.allowUmdGlobalAccess,v,mA._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead,OA(i)),_&&f&&!y&&111551==(111551&o)&&(n=mo(Xc(_)),r=MO(f),n===yo(f)?Ua(v,mA.Parameter_0_cannot_reference_itself,QF(f.name)):n.valueDeclaration&&n.valueDeclaration.pos>f.pos&&r.parent.locals&&a(r.parent.locals,n.escapedName,o)===n&&Ua(v,mA.Parameter_0_cannot_reference_identifier_1_declared_after_it,QF(f.name),QF(v))),!(_&&v&&111551&o&&2097152&_.flags)||111551&_.flags||IM(v)||(t=Hi(_,111551))&&(r=281===t.kind||278===t.kind||280===t.kind?mA._0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:mA._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type,n=OA(i),yi(Ua(v,r,n),t,n))}),_}else s&&D(function(){var e,t,r,n,a;v&&(331===v.parent.kind||function(e,t,r){if(!xR(e)||e.escapedText!==t||yC(e)||eL(e))return!1;var n=RP(e,!1,!1),a=n;for(;a;){if(NE(a.parent)){var i=yo(a.parent);if(!i)break;if(u_(sc(i),t))return Ua(e,mA.Cannot_find_name_0_Did_you_mean_the_static_member_1_0,vi(r),Yo(i)),!0;if(a===n&&!lL(a))if(u_(Pc(i).thisType,t))return Ua(e,mA.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0,vi(r)),!0}a=a.parent}return!1}(v,i,c)||w()||gi(v)||function(e,t,r){var n=1920|(cI(e)?111551:0);if(r===n){var a=zi(pi(e,t,788968&~n,void 0,void 0,!1)),r=e.parent;if(a){if(TR(r)){rA.assert(r.left===e,"Should only be resolving left side of qualified name as a namespace");n=r.right.escapedText;if(u_(Pc(a),n))return Ua(r,mA.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,OA(t),OA(n)),!0}return Ua(e,mA._0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here,OA(t)),!0}}return!1}(v,i,o)||function(e,t){if(hi(t)&&281===e.parent.kind)return Ua(e,mA.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,t),!0;return!1}(v,i)||function(e,t,r){if(111127&r){if(zi(pi(e,t,1024,void 0,void 0,!1)))return Ua(e,mA.Cannot_use_namespace_0_as_a_value,OA(t)),!0}else if(788544&r)if(zi(pi(e,t,1536,void 0,void 0,!1)))return Ua(e,mA.Cannot_use_namespace_0_as_a_type,OA(t)),!0;return!1}(v,i,o)||function(e,t,r){if(111551&r){if(hi(t))return!function(e){var t=e.parent.parent,e=t.parent;if(t&&e){t=nB(t)&&96===t.token,e=Ij(e);return t&&e}return!1}(e)?Ua(e,mA._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,OA(t)):Ua(e,mA.An_interface_cannot_extend_a_primitive_type_like_0_an_interface_can_only_extend_named_types_and_classes,OA(t)),!0;var n=zi(pi(e,t,788544,void 0,void 0,!1)),r=n&&Vi(n);if(n&&void 0!==r&&!(111551&r)){r=OA(t);return!function(e){switch(e){case"Promise":case"Symbol":case"Map":case"WeakMap":case"Set":case"WeakSet":return!0}return!1}(t)?!function(e,t){e=FA(e.parent,function(e){return!SR(e)&&!DR(e)&&(VR(e)||"quit")});if(e&&1===e.members.length){t=Pc(t);return!!(1048576&t.flags)&&Kk(t,384,!0)}return!1}(e,n)?Ua(e,mA._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,r):Ua(e,mA._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"):Ua(e,mA._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),!0}}return!1}(v,i,o)||function(e,t,r){if(788584&r){r=zi(pi(e,t,111127,void 0,void 0,!1));if(r&&!(1920&r.flags))return Ua(e,mA._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,OA(t)),!0}return!1}(v,i,o))||(t=e=void 0,c&&(t=function(e){e=vi(e),e=OF().get(e);return e&&wD(e.keys())}(c))&&Ua(v,s,vi(c),t),!t&&u&&ia<oa&&((null==(e=Nx(m,i,o))?void 0:e.valueDeclaration)&&RF(e.valueDeclaration)&&zF(e.valueDeclaration)&&(e=void 0),e&&(r=Yo(e),n=gx(m,e,!1),a=1920===o||c&&"string"!=typeof c&&jO(c)?mA.Cannot_find_namespace_0_Did_you_mean_1:n?mA.Could_not_find_name_0_Did_you_mean_1:mA.Cannot_find_name_0_Did_you_mean_1,Va(!n,a=za(v,a,vi(c),r)),e.valueDeclaration&&SM(a,tP(e.valueDeclaration,mA._0_is_declared_here,r)))),e||t||!c||Ua(v,s,vi(c)),ia++)})}function yi(e,t,r){return t?SM(e,tP(t,281===t.kind||278===t.kind||280===t.kind?mA._0_was_exported_here:mA._0_was_imported_here,r)):e}function vi(e){return(jD(e)?OA:QF)(e)}function gi(e){var t=function e(t){switch(t.kind){case 80:case 211:return t.parent?e(t.parent):void 0;case 233:if(AL(t.expression))return t.expression;default:return}}(e);return t&&Yi(t,64,!0)&&(Ua(e,mA.Cannot_extend_an_interface_0_Did_you_mean_implements,PF(t)),1)}function hi(e){return"any"===e||"string"===e||"number"===e||"boolean"===e||"never"===e||"unknown"===e}function xi(e,t,r){return!!t&&!!FA(e,function(e){return e===t||!(e!==r&&(!bE(e)||UP(e)&&!TO(e)))&&"quit"})}function bi(e){switch(e.kind){case 271:return e;case 273:return e.parent;case 274:return e.parent.parent;case 276:return e.parent.parent.parent;default:return}}function ki(e){return e.declarations&&YN(e.declarations,Ti)}function Ti(e){return 271===e.kind||270===e.kind||273===e.kind&&!!e.name||274===e.kind||280===e.kind||276===e.kind||281===e.kind||277===e.kind&&fO(e)||mj(e)&&2===NI(e)&&fO(e)||GL(e)&&mj(e.parent)&&e.parent.left===e&&64===e.parent.operatorToken.kind&&Si(e.parent.right)||304===e.kind||303===e.kind&&Si(e.initializer)||260===e.kind&&fI(e)||208===e.kind&&fI(e.parent.parent)}function Si(e){return dO(e)||_j(e)&&Nb(e)}function wi(e,t){var r=Mi(e);if(r){var n=XL(r.expression).arguments[0];return xR(r.name)?zi(u_(O_(n),r.name.escapedText)):void 0}if(Aj(e)||283===e.moduleReference.kind){var a=$i(e,iI(e)||aI(e)),i=no(a);return qi(e,a,i,!1),i}n=Xi(e.moduleReference,t);return qi(r=e,void 0,a=n,!1)&&!r.isTypeOnly&&(i=Hi(yo(r)),t=281===i.kind||278===i.kind,e=t?mA.An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:mA.An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type,a=t?mA._0_was_exported_here:mA._0_was_imported_here,t=278===i.kind?"*":OA(i.name.escapedText),SM(Ua(r.moduleReference,e),tP(i,a,t))),n}function Ci(e,t,r,n){var a=e.exports.get("export="),t=a?u_(sc(a),t,!0):e.exports.get(t),n=zi(t,n);return qi(r,t,n,!1),n}function Ni(e){return qj(e)&&!e.isExportEquals||_L(e,1024)||Kj(e)}function Di(e){return oF(e)?VV(CF(e),e):void 0}function Ai(e,t){return 99===e&&1===t}function Ei(e){return 99===Di(e)&&qD(e.text,".json")}function Fi(e,t,r,n){var a=e&&Di(n);if(e&&void 0!==a){n=Ai(a,e.impliedNodeFormat);if(99===a||n)return n}if(!m)return!1;if(e&&!e.isDeclarationFile)return sI(e)?"object"!=typeof e.externalModuleIndicator&&!Ci(t,IA("__esModule"),void 0,r):oo(t);e=Ci(t,"default",void 0,!0);return(!e||!dD(e.declarations,Ni))&&!Ci(t,IA("__esModule"),void 0,r)}function Pi(e,t,r){var n=BF(e)?e:Ci(e,"default",t,r),a=null==(u=e.declarations)?void 0:u.find(uB),i=Ii(t);if(!i)return n;var o,s,c,u=Ei(i),i=Fi(a,e,r,i);if(n||i||u){if(i||u){r=no(e,r)||zi(e,r);return qi(t,e,r,!1),r}}else oo(e)&&!m?(c=5<=x?"allowSyntheticDefaultImports":"esModuleInterop",o=e.exports.get("export=").valueDeclaration,s=Ua(t.name,mA.Module_0_can_only_be_default_imported_using_the_1_flag,Yo(e),c),o&&SM(s,tP(o,mA.This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,c))):zj(t)?(s=t,null!=(c=(o=e).exports)&&c.has(s.symbol.escapedName)?Ua(s.name,mA.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead,Yo(o),Yo(s.symbol)):(s=Ua(s.name,mA.Module_0_has_no_default_export,Yo(o)),!(o=null==(o=o.exports)?void 0:o.get("__export"))||(o=null==(o=o.declarations)?void 0:o.find(function(e){var t;return!!(Wj(e)&&e.moduleSpecifier&&null!=(t=null==(t=$i(e,e.moduleSpecifier))?void 0:t.exports)&&t.has("default"))}))&&SM(s,tP(o,mA.export_Asterisk_does_not_re_export_a_default)))):Li(e,e,t,fE(t)&&t.propertyName||t.name);return qi(t,n,void 0,!1),n}function Ii(e){switch(e.kind){case 273:return e.parent.moduleSpecifier;case 271:return Gj(e.moduleReference)?e.moduleReference.expression:void 0;case 274:return e.parent.parent.moduleSpecifier;case 276:return e.parent.parent.parent.moduleSpecifier;case 281:return e.parent.parent.moduleSpecifier;default:return rA.assertNever(e)}}function Oi(e,t,r){void 0===r&&(r=!1);var n=iI(e)||e.moduleSpecifier,a=$i(e,n),i=!aj(t)&&t.propertyName||t.name;if(xR(i)){var o=ao(a,n,!1,"default"===i.escapedText&&m);if(o&&i.escapedText){if(BF(a))return a;var s=void 0,s=a&&a.exports&&a.exports.get("export=")?u_(sc(o),i.escapedText,!0):function(e,t){if(3&e.flags){e=e.valueDeclaration.type;if(e)return zi(u_(Uf(e),t))}}(o,i.escapedText);s=zi(s,r);var c=function(e,t,r,n){if(1536&e.flags){var a=_o(e).get(t.escapedText),n=zi(a,n);return qi(r,a,n,!1,null==(e=si(e).typeOnlyExportStarMap)?void 0:e.get(t.escapedText),t.escapedText),n}}(o,i,t,r);void 0===c&&"default"===i.escapedText&&(t=null==(t=a.declarations)?void 0:t.find(uB),(Ei(n)||Fi(t,a,r,n))&&(c=no(a,r)||zi(a,r)));s=c&&s&&c!==s?function(e,t){if(e===it&&t===it)return it;if(790504&e.flags)return e;var r=Qa(e.flags|t.flags,e.escapedName);return rA.assert(e.declarations||t.declarations),r.declarations=mD(fD(e.declarations,t.declarations),zD),r.parent=e.parent||t.parent,e.valueDeclaration&&(r.valueDeclaration=e.valueDeclaration),t.members&&(r.members=new Map(t.members)),e.exports&&(r.exports=new Map(e.exports)),r}(s,c):c||s;return s||Li(a,o,e,i),s}}}function Li(e,t,r,n){var a,i,o,s=Qi(e,r),c=QF(n),u=Dx(n,t);void 0!==u?(a=Yo(u),t=Ua(n,mA._0_has_no_exported_member_named_1_Did_you_mean_2,s,c,a),u.valueDeclaration&&SM(t,tP(u.valueDeclaration,mA._0_is_declared_here,a))):null!=(a=e.exports)&&a.has("default")?Ua(n,mA.Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead,s,c):(r=r,n=n,i=c,c=s,o=null==(e=null==(e=BD((s=e).valueDeclaration,KE))?void 0:e.locals)?void 0:e.get(n.escapedText),e=s.exports,o?(s=null==e?void 0:e.get("export="))?ko(s,o)?function(e,t,r,n){var a;5<=x?(a=cM(ee)?mA._0_can_only_be_imported_by_using_a_default_import:mA._0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import,Ua(t,a,r)):cI(e)?(a=cM(ee)?mA._0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:mA._0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import,Ua(t,a,r)):(a=cM(ee)?mA._0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:mA._0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import,Ua(t,a,r,r,n))}(r,n,i,c):Ua(n,mA.Module_0_has_no_exported_member_1,c,i):(e=(e=e?QN(S_(e),function(e){return ko(e,o)}):void 0)?Ua(n,mA.Module_0_declares_1_locally_but_it_is_exported_as_2,c,i,Yo(e)):Ua(n,mA.Module_0_declares_1_locally_but_it_is_not_exported,c,i),o.declarations&&SM.apply(void 0,__spreadArray([e],__read(iD(o.declarations,function(e,t){return tP(e,0===t?mA._0_is_declared_here:mA.and_here,i)})),!1))):Ua(n,mA.Module_0_has_no_exported_member_1,c,i))}function Mi(e){if(Aj(e)&&e.initializer&&aj(e.initializer))return e.initializer}function Ri(e,t,r){if("default"===LA(e.propertyName||e.name)){var n=Ii(e),n=n&&$i(e,n);if(n)return Pi(n,e,!!r)}r=e.parent.parent.moduleSpecifier?Oi(e.parent.parent,e,r):Yi(e.propertyName||e.name,t,!1,r);return qi(e,void 0,r,!1),r}function ji(e,t){if(vj(e))return iT(e).symbol;if(hE(e)||AL(e)){t=Yi(e,901119,!0,t);return t?t:(iT(e),ci(e).resolvedSymbol)}}function Bi(e,t){switch(void 0===t&&(t=!1),e.kind){case 271:case 260:return wi(e,t);case 273:return function(e,t){var r=$i(e,e.parent.moduleSpecifier);if(r)return Pi(r,e,t)}(e,t);case 274:return i=t,o=(a=e).parent.parent.moduleSpecifier,s=$i(a,o),i=ao(s,o,i,!1),qi(a,s,i,!1),i;case 280:return r=t,i=(s=e).parent.moduleSpecifier,n=i&&$i(s,i),r=i&&ao(n,i,r,!1),qi(s,n,r,!1),r;case 276:case 208:return function(e,t){if(Vj(e)&&"default"===LA(e.propertyName||e.name)){var r=Ii(e),n=r&&$i(e,r);if(n)return Pi(n,e,t)}var r=Mi(a=tj(e)?MO(e):e.parent.parent.parent),n=Oi(a,r||e,t),a=e.propertyName||e.name;return r&&n&&xR(a)?zi(u_(sc(n),a.escapedText),t):(qi(e,void 0,n,!1),n)}(e,t);case 281:return Ri(e,901119,t);case 277:case 226:return n=t,n=ji(qj(r=e)?r.expression:r.right,n),qi(r,void 0,n,!1),n;case 270:return function(e,t){if(HE(e.parent)){t=no(e.parent.symbol,t);return qi(e,void 0,t,!1),t}}(e,t);case 304:return Yi(e.name,901119,!0,t);case 303:return ji(e.initializer,t);case 212:case 211:return function(e,t){if(mj(e.parent)&&e.parent.left===e&&64===e.parent.operatorToken.kind)return ji(e.parent.right,t)}(e,t);default:return rA.fail()}var r,n,a,i,o,s}function Ji(e,t){return void 0===t&&(t=901119),e&&(2097152==(e.flags&(2097152|t))||2097152&e.flags&&67108864&e.flags)}function zi(e,t){return!t&&Ji(e)?Ui(e):e}function Ui(e){rA.assert(0!=(2097152&e.flags),"Should only get Alias here.");var t=si(e);if(t.aliasTarget)t.aliasTarget===ot&&(t.aliasTarget=it);else{t.aliasTarget=ot;var r=ki(e);if(!r)return rA.fail();var n=Bi(r);t.aliasTarget===ot?t.aliasTarget=n||it:Ua(r,mA.Circular_definition_of_import_alias_0,Yo(e))}return t.aliasTarget}function Vi(e,t,r){for(var n,t=t&&Hi(e),a=t&&Wj(t),i=t&&(a?$i(t.moduleSpecifier,t.moduleSpecifier,!0):Ui(t.symbol)),o=a&&i?lo(i):void 0,s=r?0:e.flags;2097152&e.flags;){var c=To(Ui(e));if(!a&&c===i||(null==o?void 0:o.get(c.escapedName))===c)break;if(c===it)return 67108863;if(c===e||null!=n&&n.has(c))break;2097152&c.flags&&(n?n.add(c):n=new Set([e,c])),s|=c.flags,e=c}return s}function qi(e,t,r,n,a,i){if(e&&!aj(e)){var o,s=yo(e);if(pE(e))return(o=si(s)).typeOnlyDeclaration=e,1;if(a)return(o=si(s)).typeOnlyDeclaration=a,s.escapedName!==i&&(o.typeOnlyExportStarName=i),1;s=si(s);return Wi(s,t,n)||Wi(s,r,n)}}function Wi(e,t,r){return t&&(void 0===e.typeOnlyDeclaration||r&&!1===e.typeOnlyDeclaration)&&(t=(r=null!==(r=null==(r=t.exports)?void 0:r.get("export="))&&void 0!==r?r:t).declarations&&QN(r.declarations,pE),e.typeOnlyDeclaration=null!==(r=null!=t?t:si(r).typeOnlyDeclaration)&&void 0!==r&&r),!!e.typeOnlyDeclaration}function Hi(e,t){if(2097152&e.flags){var r=si(e);return void 0===t?r.typeOnlyDeclaration||void 0:r.typeOnlyDeclaration&&Vi(278===r.typeOnlyDeclaration.kind?zi(lo(r.typeOnlyDeclaration.symbol.parent).get(r.typeOnlyExportStarName||e.escapedName)):Ui(r.typeOnlyDeclaration.symbol))&t?r.typeOnlyDeclaration:void 0}}function Ki(e){var t;!Oe||(e=Ui(t=yo(e)))&&(e===it||111551&Vi(t,!0)&&!zC(e))&&Gi(t)}function Gi(e){rA.assert(Oe);var t=si(e);if(!t.referenced){t.referenced=!0;t=ki(e);if(!t)return rA.fail();oI(t)&&111551&Vi(zi(e))&&iT(t.moduleReference)}}function Xi(e,t){return 80===e.kind&&LL(e)&&(e=e.parent),80===e.kind||166===e.parent.kind?Yi(e,1920,!1,t):(rA.assert(271===e.parent.kind),Yi(e,901119,!1,t))}function Qi(e,t){return e.parent?Qi(e.parent,t)+"."+Yo(e):Yo(e,t,void 0,36)}function Yi(e,t,r,n,a){if(!EF(e)){var i=1920|(cI(e)?111551&t:0);if(80===e.kind){var o,s=t===i||jO(e)?mA.Cannot_find_namespace_0:ov(EL(e)),c=cI(e)&&!jO(e)?function(e,t){if(Tl(e.parent)){var r=function(e){if(FA(e,function(e){return ZE(e)||16777216&e.flags?UI(e):"quit"}))return;var t=YI(e);if(t&&Sj(t)&&OI(t.expression))if(r=yo(t.expression.left))return Zi(r);if(t&&_j(t)&&OI(t.parent)&&Sj(t.parent.parent))if(r=yo(t.parent.left))return Zi(r);if(t&&(AP(t)||iB(t))&&mj(t.parent.parent)&&6===NI(t.parent.parent))if(r=yo(t.parent.parent.left))return Zi(r);e=QI(e);if(e&&bE(e)){var r;return(r=yo(e))&&r.valueDeclaration}}(e.parent);if(r)return pi(r,e.escapedText,t,void 0,e,!0)}}(e,t):void 0;if(!(o=mo(pi(a||e,e.escapedText,t,r||c?void 0:s,e,!0,!1))))return mo(c)}else if(166===e.kind||211===e.kind){s=166===e.kind?e.left:e.expression,c=166===e.kind?e.right:e.name,a=Yi(s,i,r,!1,a);if(!a||EF(c))return;if(a===it)return a;if(a.valueDeclaration&&cI(a.valueDeclaration)&&100!==iM(ee)&&Aj(a.valueDeclaration)&&a.valueDeclaration.initializer&&Rb(a.valueDeclaration.initializer)&&(!(u=$i(u=a.valueDeclaration.initializer.arguments[0],u))||(_=no(u))&&(a=_)),!(o=mo(_i(_o(a),c.escapedText,t)))&&2097152&a.flags&&(o=mo(_i(_o(Ui(a)),c.escapedText,t))),!o){if(!r){var u=Qi(a),_=QF(c),r=Dx(c,a);if(r)return void Ua(c,mA._0_has_no_exported_member_named_1_Did_you_mean_2,u,_,Yo(r));r=TR(e)&&function(e){for(;TR(e.parent);)e=e.parent;return e}(e);if(gr&&788968&t&&r&&!dj(r.parent)&&function(e){var t=EL(e),r=pi(t,t.escapedText,111551,void 0,t,!0);if(r){for(;TR(t.parent);){if(!(r=u_(sc(r),t.parent.right.escapedText)))return;t=t.parent}return r}}(r))return void Ua(r,mA._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,eP(r));if(1920&t&&TR(e.parent)){a=mo(_i(_o(a),c.escapedText,788968));if(a)return void Ua(e.parent.right,mA.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,Yo(a),OA(e.parent.right.escapedText))}Ua(c,mA.Namespace_0_has_no_exported_member_1,u,_)}return}}else rA.assertNever(e,"Unknown entity name kind.");return rA.assert(0==(1&BL(o)),"Should never get an instantiated symbol here."),!jO(e)&&hE(e)&&(2097152&o.flags||277===e.parent.kind)&&qi(lO(e),o,void 0,!0),o.flags&t||n?o:Ui(o)}}function Zi(e){e=e.parent.valueDeclaration;if(e)return(yI(e)?hI(e):aF(e)?gI(e):void 0)||e}function $i(e,t,r){var n=1===iM(ee)?mA.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_to_the_paths_option:mA.Cannot_find_module_0_or_its_corresponding_type_declarations;return eo(e,t,r?void 0:n)}function eo(e,t,r,n){return void 0===n&&(n=!1),oF(t)?to(e,t.text,r,t,n):void 0}function to(e,n,t,r,a){void 0===a&&(a=!1),XD(n,"@types/")&&Ua(r,mA.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1,QD(n,"@types/"),n);var i=w_(n,!0);if(i)return i;var o,s,c,u,_=CF(e),l=oF(e)?e:(null==(i=FA(e,mP))?void 0:i.arguments[0])||(null==(i=FA(e,Jj))?void 0:i.moduleSpecifier)||(null==(l=FA(e,nI))?void 0:l.moduleReference.expression)||(null==(f=FA(e,Wj))?void 0:f.moduleSpecifier)||(null==(p=Mj(e)?e:e.parent&&Mj(e.parent)&&e.parent.name===e?e.parent:void 0)?void 0:p.name)||(null==(m=yP(e)?e:void 0)?void 0:m.argument.literal),d=l&&oF(l)?VV(_,l):_.impliedNodeFormat,f=iM(ee),p=TF(_,n,d),m=p&&pq(ee,p,_),l=p&&(!m||m===mA.Module_0_was_resolved_to_1_but_jsx_is_not_set)&&O.getSourceFile(p.resolvedFileName);if(l)return m&&Ua(r,m,n,p.resolvedFileName),p.resolvedUsingTsExtension&&QB(n)?((c=(null==(c=FA(e,Jj))?void 0:c.importClause)||FA(e,ZD(Bj,Wj)))&&!c.isTypeOnly||FA(e,mP))&&Ua(r,mA.A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_file_0_instead,function(e){var t=xM(n,e);if(aM(x)||99===d){var r=QB(n)&&ZB(ee);return t+(".mts"===e||".d.mts"===e?r?".mts":".mjs":".cts"===e||".d.mts"===e?r?".cts":".cjs":r?".ts":".js")}return t}(rA.checkDefined(jL(n)))):p.resolvedUsingTsExtension&&!ZB(ee,_.fileName)&&(null!=(c=(null==(s=FA(e,Jj))?void 0:s.importClause)||FA(e,ZD(Bj,Wj)))&&c.isTypeOnly||FA(e,ZR)||(o=rA.checkDefined(jL(n)),Ua(r,mA.An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled,o))),l.symbol?(p.isExternalLibraryImport&&!bM(p.extension)&&ro(!1,r,_,d,p,n),3!==f&&99!==f||(s=1===_.impliedNodeFormat&&!FA(e,mP)||!!FA(e,Bj),c=(c=FA(e,function(e){return ZR(e)||Wj(e)||Jj(e)}))&&ZR(c)?null==(o=c.assertions)?void 0:o.assertClause:null==c?void 0:c.assertClause,s&&99===l.impliedNodeFormat&&!qV(c)&&(FA(e,Bj)?Ua(r,mA.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):(y=void 0,".ts"!==(c=kM(_.fileName))&&".js"!==c&&".tsx"!==c&&".jsx"!==c||(e=".ts"===c?".mts":".js"===c?".mjs":void 0,y=(c=_.packageJsonScope)&&!c.contents.packageJsonContent.type?e?$L(void 0,mA.To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Colon_module_to_1,e,dA(c.packageDirectory,"package.json")):$L(void 0,mA.To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0,dA(c.packageDirectory,"package.json")):e?$L(void 0,mA.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,e):$L(void 0,mA.To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module)),Sa.add(nP(CF(r),r,$L(y,mA.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)))))),mo(l.symbol)):void(t&&Ua(r,mA.File_0_is_not_a_module,l.fileName));if(yr){var y=GD(yr,function(e){return e.pattern},n);if(y){l=vr&&vr.get(n);return l?mo(l):mo(y.symbol)}}if(p&&!bM(p.extension)&&void 0===m||m===mA.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type)a?Ua(r,mA.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented,n,p.resolvedFileName):ro(N&&!!t,r,_,d,p,n);else if(t){if(p){a=O.getProjectReferenceRedirect(p.resolvedFileName);if(a)return void Ua(r,mA.Output_file_0_has_not_been_built_from_source_file_1,a,p.resolvedFileName)}m?Ua(r,m,n,p.resolvedFileName):(m=sA(n)&&!cA(n),p=3===f||99===f,!lM(ee)&&uA(n,".json")&&1!==f&&oM(ee)?Ua(r,mA.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension,n):99===d&&p&&m?(u=fA(n,lA(_.path)),(_=null==(_=Oa.find(function(e){var t=__read(e,2),e=t[0];t[1];return O.fileExists(u+e)}))?void 0:_[1])?Ua(r,mA.Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node16_or_nodenext_Did_you_mean_0,n+_):Ua(r,mA.Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node16_or_nodenext_Consider_adding_an_extension_to_the_import_path)):Ua(r,t,n))}}function ro(e,t,r,n,a,i){var o,s=a.packageId,a=a.resolvedFileName;!kA(i)&&s&&(o=SF(r,O,i,n,s.name)),qa(e,t,$L(o,mA.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,i,a))}function no(e,t){if(null!=e&&e.exports){t=function(e,t){if(!e||e===it||e===t||1===t.exports.size||2097152&e.flags)return e;var r=si(e);if(r.cjsExportMerged)return r.cjsExportMerged;var n=33554432&e.flags?e:ti(e);n.flags=512|n.flags,void 0===n.exports&&(n.exports=vF());t.exports.forEach(function(e,t){"export="!==t&&n.exports.set(t,n.exports.has(t)?ri(n.exports.get(t),e):e)}),n===e&&(si(n).resolvedExports=void 0,si(n).resolvedMembers=void 0);return si(n).cjsExportMerged=n,r.cjsExportMerged=n}(mo(zi(e.exports.get("export="),t)),mo(e));return mo(t)||e}}function ao(e,t,r,n){var a=no(e,r);if(!r&&a){if(!(n||1539&a.flags||mF(a,312))){var i=5<=x?"allowSyntheticDefaultImports":"esModuleInterop";return Ua(t,mA.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export,i),a}var o=t.parent;if(Jj(o)&&jI(o)||mP(o)){r=mP(o)?o.arguments[0]:o.moduleSpecifier,n=sc(a),i=Lb(n,a,e,r);if(i)return io(a,i,o);i=null==(t=null==e?void 0:e.declarations)?void 0:t.find(uB),t=i&&Ai(Di(r),i.impliedNodeFormat);if(cM(ee)||t){i=__(n,0);if(i&&i.length||(i=__(n,1)),i&&i.length||u_(n,"default",!0)||t)return io(a,3670016&n.flags?Mb(n,a,e,r):Ob(a,a.parent),o)}}}return a}function io(e,t,r){var n=Qa(e.flags,e.escapedName);n.declarations=e.declarations?e.declarations.slice():[],n.parent=e.parent,n.links.target=e,n.links.originatingImport=r,e.valueDeclaration&&(n.valueDeclaration=e.valueDeclaration),e.constEnumOnlyModule&&(n.constEnumOnlyModule=!0),e.members&&(n.members=new Map(e.members)),e.exports&&(n.exports=new Map(e.exports));t=Eu(t);return n.links.type=Mo(n,t.members,WN,WN,t.indexInfos),n}function oo(e){return void 0!==e.exports.get("export=")}function so(e){return S_(lo(e))}function co(e,t){t=lo(t);if(t)return t.get(e)}function uo(e){return!(402784252&e.flags||1&WL(e)||Dm(e)||Xm(e))}function _o(e){return 6256&e.flags?Kc(e,"resolvedExports"):1536&e.flags?lo(e):e.exports||M}function lo(e){var t,r=si(e);return r.resolvedExports||(e=(t=po(e)).exports,t=t.typeOnlyExportStarMap,r.resolvedExports=e,r.typeOnlyExportStarMap=t),r.resolvedExports}function fo(n,e,a,i){e&&e.forEach(function(e,t){var r;"default"!==t&&((r=n.get(t))?a&&i&&r&&zi(r)!==zi(e)&&((r=a.get(t)).exportsWithDuplicate?r.exportsWithDuplicate.push(i):r.exportsWithDuplicate=[i]):(n.set(t,e),a&&i&&a.set(t,{specifierText:PF(i.moduleSpecifier)})))})}function po(e){var p,m=[],y=new Set,e=function e(t,r,n){var a,i;!n&&null!=t&&t.exports&&t.exports.forEach(function(e,t){return y.add(t)});if(!(t&&t.exports&&hD(m,t)))return;var c=new Map(t.exports);var o=t.exports.get("__export");if(o){var s=vF(),u=new Map;if(o.declarations)try{for(var _=__values(o.declarations),l=_.next();!l.done;l=_.next()){var d=l.value,f=$i(d,d.moduleSpecifier),f=e(f,d,n||d.isTypeOnly);fo(s,f,u,d)}}catch(e){a={error:e}}finally{try{l&&!l.done&&(i=_.return)&&i.call(_)}finally{if(a)throw a.error}}u.forEach(function(e,t){var r,n,a=e.exportsWithDuplicate;if("export="!==t&&a&&a.length&&!c.has(t))try{for(var i=__values(a),o=i.next();!o.done;o=i.next()){var s=o.value;Sa.add(tP(s,mA.Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity,u.get(t).specifierText,OA(t)))}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}),fo(c,s)}null!=r&&r.isTypeOnly&&(null!=p||(p=new Map),c.forEach(function(e,t){return p.set(t,r)}));return c}(e=no(e))||M;return p&&y.forEach(function(e){return p.delete(e)}),{exports:e,typeOnlyExportStarMap:p}}function mo(e){var t;return e&&e.mergeId&&(t=sa[e.mergeId])?t:e}function yo(e){return mo(e.symbol&&Xc(e.symbol))}function vo(e){return HE(e)?yo(e):void 0}function go(e){return mo(e.parent&&Xc(e.parent))}function ho(t,e,r){var n=go(t);if(n&&!(262144&t.flags)){var a=uD(n.declarations,function(e){return n&&xo(e,n)}),i=e&&function(e,t){var r,n,a,i,o,s=CF(t),c=mJ(s),u=si(e);if(u.extendedContainersByFile&&(o=u.extendedContainersByFile.get(c)))return o;if(s&&s.imports){try{for(var _=__values(s.imports),l=_.next();!l.done;l=_.next()){var d=l.value;jO(d)||(d=$i(t,d,!0))&&bo(d,e)&&(o=vD(o,d))}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=_.return)&&n.call(_)}finally{if(r)throw r.error}}if(HN(o))return(u.extendedContainersByFile||(u.extendedContainersByFile=new Map)).set(c,o),o}if(u.extendedContainers)return u.extendedContainers;var f=O.getSourceFiles();try{for(var p=__values(f),m=p.next();!m.done;m=p.next()){var y=m.value;XB(y)&&(bo(y=yo(y),e)&&(o=vD(o,y)))}}catch(e){a={error:e}}finally{try{m&&!m.done&&(i=p.return)&&i.call(p)}finally{if(a)throw a.error}}return u.extendedContainers=o||WN}(t,e),o=function(e,t){e=!!HN(e.declarations)&&SD(e.declarations);if(111551&t&&e&&e.parent&&Aj(e.parent)&&(nj(e)&&e===e.parent.initializer||VR(e)&&e===e.parent.type))return yo(e.parent)}(n,r);if(e&&n.flags&jo(r)&&Bo(n,e,1920,!1))return vD(fD(fD([n],a),i),o);e=!(n.flags&jo(r))&&788968&n.flags&&524288&Pc(n).flags&&111551===r?Ro(e,function(e){return hF(e,function(e){if(e.flags&jo(r)&&sc(e)===Pc(n))return e})}):void 0,a=__spreadArray(__spreadArray(e?[e]:[],__read(a),!1),[n],!1);return a=gD(a=vD(a,o),i)}a=uD(t.declarations,function(e){if(!RF(e)&&e.parent){if(Go(e.parent))return yo(e.parent);if(Rj(e.parent)&&e.parent.parent&&no(yo(e.parent.parent))===t)return yo(e.parent.parent)}if(vj(e)&&mj(e.parent)&&64===e.parent.operatorToken.kind&&GL(e.parent.left)&&AL(e.parent.left.expression))return CI(e.parent.left)||SI(e.parent.left.expression)?yo(CF(e)):(iT(e.parent.left.expression),ci(e.parent.left.expression).resolvedSymbol)});if(HN(a))return uD(a,function(e){return bo(e,t)?e:void 0})}function xo(e,t){var r=Ho(e),e=r&&r.exports&&r.exports.get("export=");return e&&ko(e,t)?r:void 0}function bo(e,t){if(e===go(t))return t;var r=e.exports&&e.exports.get("export=");if(r&&ko(r,t))return e;r=_o(e),e=r.get(t.escapedName);return e&&ko(e,t)?e:hF(r,function(e){if(ko(e,t))return e})}function ko(e,t){return mo(zi(mo(e)))===mo(zi(mo(t)))&&e}function To(e){return mo(e&&0!=(1048576&e.flags)&&e.exportSymbol||e)}function So(e,t){return!!(111551&e.flags||2097152&e.flags&&111551&Vi(e,!t))}function wo(e){var t,r,n=e.members;try{for(var a=__values(n),i=a.next();!i.done;i=a.next()){var o=i.value;if(176===o.kind&&FF(o.body))return o}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}function Co(e){e=new t(Re,e);return i++,e.id=i,null!=iA&&iA.recordType(e),e}function No(e,t){e=Co(e);return e.symbol=t,e}function Do(e){return new t(Re,e)}function Ao(e,t,r){void 0===r&&(r=0);e=Co(e);return e.intrinsicName=t,e.objectFlags=52953088|r,e}function Eo(e,t){t=No(524288,t);return t.objectFlags=e,t.members=void 0,t.properties=void 0,t.callSignatures=void 0,t.constructSignatures=void 0,t.indexInfos=void 0,t}function Fo(e){return No(262144,e)}function Po(e){return 95===e.charCodeAt(0)&&95===e.charCodeAt(1)&&95!==e.charCodeAt(2)&&64!==e.charCodeAt(2)&&35!==e.charCodeAt(2)}function Io(e){var r;return e.forEach(function(e,t){Oo(e,t)&&(r=r||[]).push(e)}),r||WN}function Oo(e,t){return!Po(t)&&So(e)}function Lo(e,t,r,n,a){return e.members=t,e.properties=WN,e.callSignatures=r,e.constructSignatures=n,e.indexInfos=a,t!==M&&(e.properties=Io(t)),e}function Mo(e,t,r,n,a){return Lo(Eo(16,e),t,r,n,a)}function Ro(e,n){for(var a,t=e;t;t=t.parent){var r=function(e){if(KE(e)&&e.locals&&!ui(e)&&(a=n(e.locals,void 0,!0,e)))return{value:a};switch(e.kind){case 312:if(!_P(e))break;case 267:var t=yo(e);if(a=n((null==t?void 0:t.exports)||M,void 0,!0,e))return{value:a};break;case 263:case 231:case 264:var r;if((yo(e).members||M).forEach(function(e,t){788968&e.flags&&(r=r||vF()).set(t,e)}),r&&(a=n(r,void 0,!1,e)))return{value:a}}}(t);if("object"==typeof r)return r.value}return n(we,void 0,!0)}function jo(e){return 111551===e?111551:1920}function Bo(a,i,n,o,r){if(void 0===r&&(r=new Map),a&&!function(e){var t,r;if(e.declarations&&e.declarations.length){try{for(var n=__values(e.declarations),a=n.next();!a.done;a=n.next())switch(a.value.kind){case 172:case 174:case 177:case 178:continue;default:return!1}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return!0}return!1}(a)){var e=si(a),t=e.accessibleChainCache||(e.accessibleChainCache=new Map),s=Ro(i,function(e,t,r,n){return n}),e="".concat(o?0:1,"|").concat(s&&mJ(s),"|").concat(n);if(t.has(e))return t.get(e);var s=yJ(a),c=r.get(s);c||r.set(s,c=[]);s=Ro(i,u);return t.set(e,s),s}function u(e,t,r){if(hD(c,e)){r=function(e,r,n){if(l(e.get(a.escapedName),void 0,r))return[a];return hF(e,function(e){if(2097152&e.flags&&"export="!==e.escapedName&&"default"!==e.escapedName&&!(HL(e)&&i&&XB(CF(i)))&&(!o||dD(e.declarations,nI))&&(!n||!dD(e.declarations,rI))&&(r||!mF(e,281))){var t=d(e,Ui(e),r);if(t)return t}if(e.escapedName===a.escapedName&&e.exportSymbol&&l(mo(e.exportSymbol),void 0,r))return[a]})||(e===we?d(Ne,Ne,r):void 0)}(e,t,r);return c.pop(),r}}function _(e,t){return!Jo(e,i,t)||!!Bo(e.parent,i,jo(t),o,r)}function l(e,t,r){return(a===(t||e)||mo(a)===mo(t||e))&&!dD(e.declarations,Go)&&(r||_(mo(e),n))}function d(e,t,r){if(l(e,t,r))return[e];t=_o(t),t=t&&u(t,!0);return t&&_(e,jo(n))?[e].concat(t):void 0}}function Jo(r,e,n){var a=!1;return Ro(e,function(e){if(!(t=mo(e.get(r.escapedName))))return!1;if(t===r)return!0;var e=2097152&t.flags&&!mF(t,281),t=e?Ui(t):t;return!!((e?Vi(t):t.flags)&n)&&(a=!0)}),a}function zo(e,t){return 0===Wo(e,t,788968,!1,!0).accessibility}function Uo(e,t){return 0===Wo(e,t,111551,!1,!0).accessibility}function Vo(e,t,r){return 0===Wo(e,t,r,!1,!1).accessibility}function qo(e,t,r,n){return Wo(e,t,r,n,!0)}function Wo(e,t,r,n,a){if(e&&t){a=function e(t,r,n,a,i,o){var s,c;if(HN(t)){var u,_=!1;try{for(var l=__values(t),d=l.next();!d.done;d=l.next()){var f=d.value,p=Bo(f,r,a,!1);if(p&&(u=f,p=Xo(p[0],i)))return p;if(o&&dD(f.declarations,Go)){if(i){_=!0;continue}return{accessibility:0}}if(f=e(ho(f,r,a),r,n,n===f?jo(a):a,i,o))return f}}catch(e){s={error:e}}finally{try{d&&!d.done&&(c=l.return)&&c.call(l)}finally{if(s)throw s.error}}return _?{accessibility:0}:u?{accessibility:1,errorSymbolName:Yo(n,r,a),errorModuleName:u!==n?Yo(u,r,1920):void 0}:void 0}}([e],t,e,r,n,a);if(a)return a;a=KN(e.declarations,Ho);if(a)if(a!==Ho(t))return{accessibility:2,errorSymbolName:Yo(e,t,r),errorModuleName:Yo(a),errorNode:cI(t)?t:void 0};return{accessibility:1,errorSymbolName:Yo(e,t,r)}}return{accessibility:0}}function Ho(e){e=FA(e,Ko);return e&&yo(e)}function Ko(e){return RF(e)||312===e.kind&&_P(e)}function Go(e){return jF(e)||312===e.kind&&_P(e)}function Xo(a,r){var n;if(XN(nD(a.declarations,function(e){return 80!==e.kind}),function(e){var t;if(ls(e))return 1;var r=bi(e);{if(r&&!_L(r,1)&&ls(r.parent))return i(e,r);if(Aj(e)&&Tj(e.parent.parent)&&!_L(e.parent.parent,1)&&ls(e.parent.parent.parent))return i(e,e.parent.parent);if(WF(e)&&!_L(e,1)&&ls(e.parent))return i(e,e);if(tj(e)){if(2097152&a.flags&&cI(e)&&null!=(t=e.parent)&&t.parent&&Aj(e.parent.parent)&&null!=(n=e.parent.parent.parent)&&n.parent&&Tj(e.parent.parent.parent.parent)&&!_L(e.parent.parent.parent.parent,1)&&e.parent.parent.parent.parent.parent&&ls(e.parent.parent.parent.parent.parent))return i(e,e.parent.parent.parent.parent);if(2&a.flags){var n=FA(e,Tj);return _L(n,1)?1:ls(n.parent)&&i(e,n)}}}return}))return{accessibility:0,aliasesToMakeVisible:n};function i(e,t){return r&&(ci(e).isVisible=!0,n=xD(n,t)),!0}}function Qo(e,t){var r=186===e.parent.kind||233===e.parent.kind&&!vP(e.parent)||167===e.parent.kind?1160127:166===e.kind||211===e.kind||271===e.parent.kind?1920:788968,e=EL(e),t=pi(t,e.escapedText,r,void 0,void 0,!1);return t&&262144&t.flags&&788968&r||!t&&$O(e)&&0===qo(yo(RP(e,!1,!1)),e,r,!1).accessibility?{accessibility:0}:t&&Xo(t,!0)||{accessibility:1,errorSymbolName:PF(e),errorNode:e}}function Yo(a,i,o,e,t){void 0===e&&(e=4);var s=70221824;2&e&&(s|=128),1&e&&(s|=512),8&e&&(s|=16384),32&e&&(s|=134217728),16&e&&(s|=1073741824);var c=4&e?U.symbolToNode:U.symbolToEntityName;return t?r(t).getText():kF(r);function r(e){var t=c(a,o,i,s),r=(312===(null==i?void 0:i.kind)?gU:vU)(),n=i&&CF(i);return r.writeNode(4,t,n,e),e}}function Zo(a,i,o,s,e){return void 0===o&&(o=0),e?t(e).getText():kF(t);function t(e){var t=262144&o?1===s?185:184:1===s?180:179,r=U.signatureToSignatureDeclaration(a,t,i,70222336|ns(o)),n=hU(),t=i&&CF(i);return n.writeNode(4,r,t,HO(e)),e}}function $o(e,t,r,n){void 0===r&&(r=1064960),void 0===n&&(n=WO(""));var a=ee.noErrorTruncation||1&r,r=U.typeToTypeNode(e,t,70221824|ns(r)|(a?1:0));if(void 0===r)return rA.fail("should always get typenode");e=(e!==ft?vU:yU)(),t=t&&CF(t);e.writeNode(4,r,t,n);n=n.getText(),a=a?2*fF:2*dF;return a&&n&&n.length>=a?n.substr(0,a-"...".length)+"...":n}function es(e,t){var r=rs(e.symbol)?$o(e,e.symbol.valueDeclaration):$o(e),n=rs(t.symbol)?$o(t,t.symbol.valueDeclaration):$o(t);return r===n&&(r=ts(e),n=ts(t)),[r,n]}function ts(e){return $o(e,void 0,64)}function rs(e){return e&&e.valueDeclaration&&jE(e.valueDeclaration)&&!hp(e.valueDeclaration)}function ns(e){return void 0===e&&(e=0),848330091&e}function as(e){return e.symbol&&32&e.symbol.flags&&(e===wc(e.symbol)||524288&e.flags&&16777216&WL(e))}function is(a,i,o,e){return void 0===o&&(o=16384),e?t(e).getText():kF(t);function t(e){var t=uR.createTypePredicateNode(2===a.kind||3===a.kind?uR.createToken(131):void 0,1===a.kind||3===a.kind?uR.createIdentifier(a.parameterName):uR.createThisTypeNode(),a.type&&U.typeToTypeNode(a.type,i,70222336|ns(o))),r=vU(),n=i&&CF(i);return r.writeNode(4,t,n,e),e}}function os(e){return 8===e?"private":16===e?"protected":"public"}function ss(e){return e&&e.parent&&268===e.parent.kind&&UF(e.parent.parent)}function cs(e){return 312===e.kind||RF(e)}function us(e,t){var r=si(e).nameType;if(r){if(384&r.flags){e=""+r.value;return bA(e,rM(ee))||qM(e)?qM(e)&&XD(e,"-")?"[".concat(e,"]"):e:'"'.concat(zO(e,34),'"')}if(8192&r.flags)return"[".concat(_s(r.symbol,t),"]")}}function _s(e,t){if(t&&"default"===e.escapedName&&!(16384&t.flags)&&(!(16777216&t.flags)||!e.declarations||t.enclosingDeclaration&&FA(e.declarations[0],cs)!==FA(t.enclosingDeclaration,cs)))return"default";if(e.declarations&&e.declarations.length){var r=GN(e.declarations,function(e){return JA(e)?e:void 0}),n=r&&JA(r);if(r&&n){if(oj(r)&&DI(r))return RA(e);if(SR(n)&&!(4096&BL(e))){var a=si(e).nameType;if(a&&384&a.flags){a=us(e,t);if(void 0!==a)return a}}return QF(n)}if((r=r||e.declarations[0]).parent&&260===r.parent.kind)return QF(r.parent.name);switch(r.kind){case 231:case 218:case 219:return!t||t.encounteredError||131072&t.flags||(t.encounteredError=!0),231===r.kind?"(Anonymous class)":"(Anonymous function)"}}n=us(e,t);return void 0!==n?n:RA(e)}function ls(t){if(t){var e=ci(t);return void 0===e.isVisible&&(e.isVisible=!!function(){switch(t.kind){case 345:case 353:case 347:return!!(t.parent&&t.parent.parent&&t.parent.parent.parent&&uB(t.parent.parent.parent));case 208:return ls(t.parent.parent);case 260:if(PE(t.name)&&!t.name.elements.length)return!1;case 267:case 263:case 264:case 265:case 262:case 266:case 271:if(UF(t))return!0;var e=ys(t);return 1&UN(t)||271!==t.kind&&312!==e.kind&&33554432&e.flags?ls(e):ui(e);case 172:case 171:case 177:case 178:case 174:case 173:if(uL(t,24))return!1;case 176:case 180:case 179:case 181:case 169:case 268:case 184:case 185:case 187:case 183:case 188:case 189:case 192:case 193:case 196:case 202:return ls(t.parent);case 273:case 274:case 276:return!1;case 168:case 312:case 270:return!0;case 277:default:return!1}}()),e.isVisible}return!1}function ds(e,n){var t,a,i;return e.parent&&277===e.parent.kind?t=pi(e,e.escapedText,2998271,void 0,e,!1):281===e.parent.kind&&(t=Ri(e.parent,2998271)),t&&((i=new Set).add(yJ(t)),function r(e){KN(e,function(e){var t=bi(e)||e;n?ci(e).isVisible=!0:hD(a=a||[],t),oI(e)&&(t=e.moduleReference,t=EL(t),(t=pi(e,t.escapedText,901119,void 0,void 0,!1))&&i&&lD(i,yJ(t))&&r(t.declarations))})}(t.declarations)),a}function fs(e,t){var r=ps(e,t);if(!(0<=r))return ea.push(e),ta.push(!0),ra.push(t),1;for(var n=ea.length,a=r;a<n;a++)ta[a]=!1}function ps(e,t){for(var r=ea.length-1;na<=r;r--){if(function(e,t){switch(t){case 0:return!!si(e).type;case 5:return!!ci(e).resolvedEnumType;case 2:return!!si(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!!si(e).writeType;case 9:return void 0!==ci(e).parameterInitializerContainsUndefined}return rA.assertNever(t)}(ea[r],ra[r]))return-1;if(ea[r]===e&&ra[r]===t)return r}return-1}function ms(){return ea.pop(),ra.pop(),ta.pop()}function ys(e){return FA(MO(e),function(e){switch(e.kind){case 260:case 261:case 276:case 275:case 274:case 273:return!1;default:return!0}}).parent}function vs(e,t){t=u_(e,t);return t?sc(t):void 0}function gs(e){return e&&0!=(1&e.flags)}function hs(e){return e===dt||1&e.flags&&e.aliasSymbol}function xs(e,t){if(0!==t)return Ps(e,!1,t);var r=yo(e);return r&&si(r).type||Ps(e,!1,t)}function bs(e,t,r){var n,a,i,o;if(131072&(e=Hv(e,function(e){return!(98304&e.flags)})).flags)return $t;if(1048576&e.flags)return Gv(e,function(e){return bs(e,t,r)});var s=hd(iD(t,Od)),c=[],u=[];try{for(var _=__values(Ou(e)),l=_.next();!l.done;l=_.next()){var d=Ld(v=l.value,8576);Ap(d,s)||24&JL(v)||!Af(v)?u.push(d):c.push(v)}}catch(e){n={error:e}}finally{try{l&&!l.done&&(a=_.return)&&a.call(_)}finally{if(n)throw n.error}}if($d(e)||ef(s)){if(u.length&&(s=hd(__spreadArray([s],__read(u),!1))),131072&s.flags)return e;var f=(an=an||Pl("Omit",2,!0)||it)===it?void 0:an;return f?pl(f,[e,s]):dt}var p=vF();try{for(var m=__values(c),y=m.next();!y.done;y=m.next()){var v=y.value;p.set(v.escapedName,Ef(v,!1))}}catch(e){i={error:e}}finally{try{y&&!y.done&&(o=m.return)&&o.call(m)}finally{if(i)throw i.error}}f=Mo(r,p,WN,WN,v_(e));return f.objectFlags|=4194304,f}function ks(e){return!!(465829888&e.flags)&&Wk(Vu(e)||yt,32768)}function Ts(e){return Cv(qv(e,ks)?Gv(e,function(e){return 465829888&e.flags?qu(e):e}):e,524288)}function Ss(e,t){e=ws(e);return e?fg(e,t):t}function ws(e){var t=function(e){var t=e.parent.parent;switch(t.kind){case 208:case 303:return ws(t);case 209:return ws(e.parent);case 260:return t.initializer;case 226:return t.right}}(e);if(t&&WI(t)&&t.flowNode){var r=Cs(e);if(r){var n=UB(WB.createStringLiteral(r),e),a=RE(t)?t:WB.createParenthesizedExpression(t),r=UB(WB.createElementAccessExpression(a,n),e);return jM(n,r),jM(r,e),a!==t&&jM(a,r),r.flowNode=t.flowNode,r}}}function Cs(e){var t=e.parent;return 208===e.kind&&206===t.kind?Ns(e.propertyName||e.name):303===e.kind||304===e.kind?Ns(e.name):""+t.elements.indexOf(e)}function Ns(e){e=Od(e);return 384&e.flags?""+e.value:void 0}function Ds(e,t){var r,n;if(gs(t))return t;var a=e.parent;if(te&&33554432&e.flags&&LO(e)?t=oy(t):!te||!a.parent.initializer||65536&wv(Rv(a.parent.initializer))||(t=Cv(t,524288)),206===a.kind)if(e.dotDotDotToken){if(2&(t=n_(t)).flags||!Ch(t))return Ua(e,mA.Rest_types_may_only_be_created_from_object_types),dt;var i=[];try{for(var o=__values(a.elements),s=o.next();!s.done;s=o.next()){var c=s.value;c.dotDotDotToken||i.push(c.propertyName||c.name)}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}_=bs(t,i,e.symbol)}else var u=e.propertyName||e.name,_=Ss(e,sf(t,Od(u),32,u));else{var l=KS(65|(e.dotDotDotToken?0:128),t,gt,a),d=a.elements.indexOf(e);_=e.dotDotDotToken?Wv(u=Gv(t,function(e){return 58982400&e.flags?qu(e):e}),Xm)?Gv(u,function(e){return cd(e,d)}):Yl(l):Im(t)?Ss(e,uf(t,Mf(d),32|(vh(e)?16:0),e.name)||dt):l}return e.initializer?nL(NA(e))?!te||16777216&wv(sT(e,0))?_:Ts(_):cT(e,hd([Ts(_),sT(e,0)],2)):_}function As(e){e=QA(e);if(e)return Uf(e)}function Es(e){e=oO(e,!0);return 209===e.kind&&0===e.elements.length}function Fs(e,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!0),te&&r?iy(e,t):e}function Ps(e,t,r){if(Aj(e)&&249===e.parent.parent.kind){var n=jd(nx(TT(e.parent.parent.expression,r)));return 4456448&n.flags?Bd(n):wt}if(Aj(e)&&250===e.parent.parent.kind)return HS(e.parent.parent)||ut;if(PE(e.parent))return i=(a=e).dotDotDotToken?64:0,(i=xs(a.parent.parent,i))&&Ds(a,i);var a=AR(e)&&!yL(e)||DR(e)||EB(e),i=t&&ZM(e),t=Gs(e);if(MF(e))return t?gs(t)||t===yt?t:dt:g?yt:ut;if(t)return Fs(t,a,i);if((N||cI(e))&&Aj(e)&&!PE(e.name)&&!(1&UN(e))&&!(33554432&e.flags)){if(!(6&VN(e)||e.initializer&&(106!==(s=oO(s=e.initializer,!0)).kind&&(80!==s.kind||sv(s)!==Ce))))return _t;if(e.initializer&&Es(e.initializer))return Er}if(CR(e)){var o=e.parent;if(178===o.kind&&Wc(o)){var s=mF(yo(e.parent),177);if(s){var c=E_(s),s=NN(o);return s&&e===s?(rA.assert(!s.type),sc(c.thisParameter)):j_(c)}}var c=function(e,t){var r=F_(e);if(!r)return;e=e.parameters.indexOf(t);return(t.dotDotDotToken?rk:ek)(r,e)}(o,e);if(c)return c;if(c="this"===e.symbol.escapedName?Rg(o):jg(e))return Fs(c,!1,i)}if(aF(e)&&e.initializer){if(cI(e)&&!CR(e)){o=Bs(e,yo(e),gI(e));if(o)return o}return Fs(c=cT(e,sT(e,r)),a,i)}if(AR(e)&&(N||cI(e))){if(dL(e)){var u=nD(e.parent.members,PR);return(c=u.length?function(e,t){var r,n,a=XD(e.escapedName,"__#")?uR.createPrivateIdentifier(e.escapedName.split("@")[1]):OA(e.escapedName);try{for(var i=__values(t),o=i.next();!o.done;o=i.next()){var s=o.value,c=uR.createPropertyAccessExpression(uR.createThis(),a);jM(c.expression,c),jM(c,s),c.flowNode=s.returnFlowNode;c=Rs(c,e);if(!N||c!==_t&&c!==Er||Ua(e.valueDeclaration,mA.Member_0_implicitly_has_an_1_type,Yo(e),$o(c)),!Wv(c,rx))return OS(c)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}(e.symbol,u):2&xL(e)?bm(e.symbol):void 0)&&Fs(c,!0,i)}u=wo(e.parent);return(c=u?Ms(e.symbol,u):2&xL(e)?bm(e.symbol):void 0)&&Fs(c,!0,i)}return $j(e)?Et:PE(e.name)?Vs(e.name,!1,!0):void 0}function Is(t){if(t.valueDeclaration&&mj(t.valueDeclaration)){var e=si(t);return void 0===e.isConstructorDeclaredProperty&&(e.isConstructorDeclaredProperty=!1,e.isConstructorDeclaredProperty=!!Ls(t)&&XN(t.declarations,function(e){return mj(e)&&Hg(e)&&(212!==e.left.kind||SO(e.left.argumentExpression))&&!Js(void 0,e,t,e)})),e.isConstructorDeclaredProperty}return!1}function Os(e){e=e.valueDeclaration;return e&&AR(e)&&!nL(e)&&!e.initializer&&(N||cI(e))}function Ls(e){var t,r;if(e.declarations)try{for(var n=__values(e.declarations),a=n.next();!a.done;a=n.next()){var i=RP(a.value,!1,!1);if(i&&(176===i.kind||Nb(i)))return i}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}function Ms(e,t){var r=XD(e.escapedName,"__#")?uR.createPrivateIdentifier(e.escapedName.split("@")[1]):OA(e.escapedName),r=uR.createPropertyAccessExpression(uR.createThis(),r);jM(r.expression,r),jM(r,t),r.flowNode=t.returnFlowNode;r=Rs(r,e);return!N||r!==_t&&r!==Er||Ua(e.valueDeclaration,mA.Member_0_implicitly_has_an_1_type,Yo(e),$o(r)),Wv(r,rx)?void 0:OS(r)}function Rs(e,t){t=(null==t?void 0:t.valueDeclaration)&&(!Os(t)||2&xL(t.valueDeclaration))&&bm(t)||gt;return fg(e,_t,t)}function js(e,t){var r,n,a=hI(e.valueDeclaration);if(a){var i=cI(a)?XA(a):void 0;return i&&i.typeExpression?Uf(i.typeExpression):e.valueDeclaration&&Bs(e.valueDeclaration,e,a)||Wm(iT(a))}var o,s=!1,c=!1;if(Is(e)&&(v=Ms(e,Ls(e))),!v){var u=void 0;if(e.declarations){var _=void 0;try{for(var l=__values(e.declarations),d=l.next();!d.done;d=l.next()){var f,p=d.value,m=mj(p)||oj(p)?p:GL(p)?mj(p.parent)?p.parent:p:void 0;m&&((4===(f=(GL(m)?PI:NI)(m))||mj(m)&&Hg(m,f))&&(zs(m)?s=!0:c=!0),oj(m)||(_=Js(_,m,e,p)),_||(u=u||[]).push(mj(m)||oj(m)?function(e,t,r,n){if(oj(r)){if(t)return sc(t);var a=iT(r.arguments[2]),i=vs(a,"value");if(i)return i;i=vs(a,"get");if(i){i=Kx(i);if(i)return j_(i)}a=vs(a,"set");if(a){var o=Kx(a);if(o)return ck(o)}return ut}if(function(t,e){return aj(t)&&110===t.expression.kind&&KB(e,function(e){return uv(t,e)})}(r.left,r.right))return ut;a=1===n&&(aj(r.left)||ij(r.left))&&(CI(r.left.expression)||xR(r.left.expression)&&SI(r.left.expression)),o=t?sc(t):(a?If:Wm)(iT(r.right));if(524288&o.flags&&2===n&&"export="===e.escapedName){var a=Eu(o),s=vF();bF(a.members,s);n=s.size;t&&!t.exports&&(t.exports=vF()),(t||e).exports.forEach(function(e,t){var r,n,a=s.get(t);!a||a===e||2097152&e.flags?s.set(t,e):111551&e.flags&&111551&a.flags?(e.valueDeclaration&&a.valueDeclaration&&CF(e.valueDeclaration)!==CF(a.valueDeclaration)&&(n=OA(e.escapedName),r=(null==(r=BD(a.valueDeclaration,BA))?void 0:r.name)||a.valueDeclaration,SM(Ua(e.valueDeclaration,mA.Duplicate_identifier_0,n),tP(r,mA._0_was_also_declared_here,n)),SM(Ua(r,mA.Duplicate_identifier_0,n),tP(e.valueDeclaration,mA._0_was_also_declared_here,n))),(n=Qa(e.flags|a.flags,t)).links.type=hd([sc(e),sc(a)]),n.valueDeclaration=a.valueDeclaration,n.declarations=fD(a.declarations,e.declarations),s.set(t,n)):s.set(t,ri(e,a))});a=Mo(n!==s.size?void 0:a.symbol,s,a.callSignatures,a.constructSignatures,a.indexInfos);return n===s.size&&(o.aliasSymbol&&(a.aliasSymbol=o.aliasSymbol,a.aliasTypeArguments=o.aliasTypeArguments),4&WL(o)&&(a.aliasSymbol=o.symbol,n=ll(o),a.aliasTypeArguments=HN(n)?n:void 0)),a.objectFlags|=4096&WL(o),a.symbol&&32&a.symbol.flags&&o===wc(a.symbol)&&(a.objectFlags|=16777216),a}if(Mm(o))return ky(r,Ar),Ar;return o}(e,t,m,f):Mt))}}catch(e){r={error:e}}finally{try{d&&!d.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}v=_}if(!v){if(!HN(u))return dt;var y,a=s&&e.declarations?(y=u,o=e.declarations,rA.assert(y.length===o.length),y.filter(function(e,t){t=o[t],t=mj(t)?t:mj(t.parent)?t.parent:void 0;return t&&zs(t)})):void 0;!c||(y=bm(e))&&((a=a||[]).push(y),s=!0);var v=hd(dD(a,function(e){return!!(-98305&e.flags)})?a:u)}}v=xy(Fs(v,!1,c&&!s));return e.valueDeclaration&&cI(e.valueDeclaration)&&Hv(v,function(e){return!!(-98305&e.flags)})===Mt?(ky(e.valueDeclaration,ut),ut):v}function Bs(e,t,r){var n;if(cI(e)&&r&&nj(r)&&!r.properties.length){for(var a=vF();mj(e)||aj(e);){var i=vo(e);null!=(n=null==i?void 0:i.exports)&&n.size&&ii(a,i.exports),e=(mj(e)?e:e.parent).parent}var o=vo(e);null!=(r=null==o?void 0:o.exports)&&r.size&&ii(a,o.exports);t=Mo(t,a,WN,WN,WN);return t.objectFlags|=4096,t}}function Js(e,t,r,n){t=nL(t.parent);if(t){var a=xy(Uf(t));if(!e)return a;hs(e)||hs(a)||Tp(e,a)||MS(void 0,e,n,a)}if(null!=(a=r.parent)&&a.valueDeclaration){a=nL(r.parent.valueDeclaration);if(a){r=u_(Uf(a),r.escapedName);if(r)return cc(r)}}return e}function zs(e){e=RP(e,!1,!1);return 176===e.kind||262===e.kind||218===e.kind&&!OI(e.parent)}function Us(e,t,r){return e.initializer?Fs(cT(e,sT(e,0,PE(e.name)?Vs(e.name,!0,!1):yt))):PE(e.name)?Vs(e.name,t,r):(r&&!Ks(e)&&ky(e,ut),t?pt:ut)}function Vs(e,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),(206===e.kind?function(e,r,n){var a,i=vF(),o=131200;KN(e.elements,function(e){var t=e.propertyName||e.name;e.dotDotDotToken?a=Q_(wt,ut,!1):sR(t=Od(t))?(t=cR(t),(t=Qa(4|(e.initializer?16777216:0),t)).links.type=Us(e,r,n),t.links.bindingElement=e,i.set(t.escapedName,t)):o|=512});var t=Mo(void 0,i,WN,WN,a?[a]:WN);return t.objectFlags|=o,r&&(t.pattern=e,t.objectFlags|=131072),t}:function(e,t,r){var n=e.elements,a=(i=CD(n))&&208===i.kind&&i.dotDotDotToken?i:void 0;if(0===n.length||1===n.length&&a)return 2<=V?Ql(ut):Ar;var i=iD(n,function(e){return gj(e)?ut:Us(e,t,r)}),o=$N(n,function(e){return e!==a&&!gj(e)&&!vh(e)},n.length-1)+1,n=ad(i,iD(n,function(e,t){return e===a?4:o<=t?2:1}));return t&&((n=ul(n)).pattern=e,n.objectFlags|=131072),n})(e,t,r)}function qs(e,t){return Hs(Ps(e,!0,0),e,t)}function Ws(e){var t=vo(e),e=Or=Or||Fl("SymbolConstructor",!1);return e&&t&&t===e}function Hs(e,t,r){return e?(4096&e.flags&&Ws(t.parent)&&(e=jf(t)),r&&Ty(t,e),8192&e.flags&&(tj(t)||!t.type)&&e.symbol!==yo(t)&&(e=Ot),xy(e)):(e=CR(t)&&t.dotDotDotToken?Ar:ut,r&&(Ks(t)||ky(t,e)),e)}function Ks(e){e=MO(e);return qT(169===e.kind?e.parent:e)}function Gs(e){e=nL(e);if(e)return Uf(e)}function Xs(e){var t=si(e);if(t.type)return t.type;var r=function(e){if(4194304&e.flags)return function(e){return(e=Pc(go(e))).typeParameters?cl(e,iD(e.typeParameters,function(e){return ut})):e}(e);if(e===Pe)return ut;if(134217728&e.flags&&e.valueDeclaration){var t=yo(CF(e.valueDeclaration)),r=Qa(t.flags,"exports");r.declarations=t.declarations?t.declarations.slice():[],r.parent=e,(r.links.target=t).valueDeclaration&&(r.valueDeclaration=t.valueDeclaration),t.members&&(r.members=new Map(t.members)),t.exports&&(r.exports=new Map(t.exports));t=vF();return t.set("exports",r),Mo(e,t,WN,WN,WN)}rA.assertIsDefined(e.valueDeclaration);var n,t=e.valueDeclaration;if(uB(t)&&lP(t))return t.statements.length?xy(Wm(TT(t.statements[0].expression))):$t;if(DE(t))return Zs(e);if(!fs(e,0))return(512&e.flags&&!(67108864&e.flags)?tc:ac)(e);if(277===t.kind)n=Hs(Gs(t)||iT(t.expression),t);else if(mj(t)||cI(t)&&(oj(t)||(aj(t)||AI(t))&&mj(t.parent)))n=js(e);else if(aj(t)||ij(t)||xR(t)||oF(t)||gR(t)||Pj(t)||Fj(t)||FR(t)&&!AP(t)||ER(t)||uB(t)){if(9136&e.flags)return tc(e);n=mj(t.parent)?js(e):Gs(t)||ut}else if(iB(t))n=Gs(t)||dT(t);else if($j(t))n=Gs(t)||Ah(t);else if(oB(t))n=Gs(t)||lT(t.name,0);else if(AP(t))n=Gs(t)||fT(t,0);else if(CR(t)||AR(t)||DR(t)||Aj(t)||tj(t)||_E(t))n=qs(t,!0);else if(Lj(t))n=tc(e);else{if(!cB(t))return rA.fail("Unhandled declaration kind! "+rA.formatSyntaxKind(t.kind)+" for "+rA.formatSymbol(e));n=rc(e)}return ms()?n:(!(512&e.flags)||67108864&e.flags?ac:tc)(e)}(e);return t.type||(e=(e=e).valueDeclaration)&&(tj(e)&&(e=NA(e)),CR(e)&&bp(e.parent))||(t.type=r),r}function Qs(e){if(e)switch(e.kind){case 177:return aL(e);case 178:return oL(e);case 172:return rA.assert(yL(e)),nL(e)}}function Ys(e){e=Qs(e);return e&&Uf(e)}function Zs(e){var t=si(e);if(!t.type){if(!fs(e,0))return dt;var r=mF(e,177),n=mF(e,178),a=BD(mF(e,172),AE),i=r&&cI(r)&&As(r)||Ys(r)||Ys(n)||Ys(a)||r&&r.body&&Nk(r)||a&&a.initializer&&qs(a,!0);i||(n&&!qT(n)?qa(N,n,mA.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,Yo(e)):r&&!qT(r)?qa(N,r,mA.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,Yo(e)):a&&!qT(a)&&qa(N,a,mA.Member_0_implicitly_has_an_1_type,Yo(e),"any"),i=ut),ms()||(Qs(r)?Ua(r,mA._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Yo(e)):Qs(n)||Qs(a)?Ua(n,mA._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Yo(e)):r&&N&&Ua(r,mA._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,Yo(e)),i=ut),t.type=i}return t.type}function $s(e){var t=si(e);if(!t.writeType){if(!fs(e,8))return dt;var r=null!==(n=mF(e,178))&&void 0!==n?n:BD(mF(e,172),AE),n=Ys(r);ms()||(Qs(r)&&Ua(r,mA._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Yo(e)),n=ut),t.writeType=n||Zs(e)}return t.writeType}function ec(e){e=bc(wc(e));return 8650752&e.flags?e:2097152&e.flags?QN(e.types,function(e){return 8650752&e.flags}):void 0}function tc(e){var t,r=si(e),n=r;return r.type||(!(t=e.valueDeclaration&&Ab(e.valueDeclaration,!1))||(t=Db(e,t))&&(r=(e=t).links),n.type=r.type=function(e){var t=e.valueDeclaration;{if(1536&e.flags&&BF(e))return ut;if(t&&(226===t.kind||GL(t)&&226===t.parent.kind))return js(e);if(512&e.flags&&t&&uB(t)&&t.commonJsModuleIndicator){var r=no(e);if(r!==e){if(!fs(e,0))return dt;var n=mo(e.exports.get("export=")),n=js(n,n===r?void 0:r);return ms()?n:ac(e)}}}r=Eo(16,e);{if(32&e.flags){n=ec(e);return n?Cd([r,n]):r}return te&&16777216&e.flags?iy(r,!0):r}}(e)),r.type}function rc(e){var t=si(e);return t.type||(t.type=Ec(e))}function nc(e){var t,r,n,a,i,o=si(e);return o.type||(t=Ui(e),r=GN(null==(i=e.declarations&&Bi(ki(e),!0))?void 0:i.declarations,function(e){return qj(e)?Gs(e):void 0}),o.type=null!=i&&i.declarations&&aC(i.declarations)&&e.declarations.length?(a=CF((n=i).declarations[0]),i=OA(n.escapedName),i=(n=n.declarations.every(function(e){return cI(e)&&GL(e)&&CI(e.expression)}))?uR.createPropertyAccessExpression(uR.createPropertyAccessExpression(uR.createIdentifier("module"),uR.createIdentifier("exports")),i):uR.createPropertyAccessExpression(uR.createIdentifier("exports"),i),n&&jM(i.expression.expression,i.expression),jM(i.expression,i),jM(i,a),i.flowNode=a.endFlowNode,fg(i,_t,gt)):aC(e.declarations)?_t:r||(111551&Vi(t)?sc(t):dt)),o.type}function ac(e){var t=e.valueDeclaration;return nL(t)?(Ua(e.valueDeclaration,mA._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Yo(e)),dt):(N&&(169!==t.kind||t.initializer)&&Ua(e.valueDeclaration,mA._0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer,Yo(e)),ut)}function ic(e){e=si(e);return e.type||(rA.assertIsDefined(e.deferralParent),rA.assertIsDefined(e.deferralConstituents),e.type=(1048576&e.deferralParent.flags?hd:Cd)(e.deferralConstituents)),e.type}function oc(e){var t,r=BL(e);return 4&e.flags?2&r?65536&r?(!(t=si(t=e)).writeType&&t.deferralWriteConstituents&&(rA.assertIsDefined(t.deferralParent),rA.assertIsDefined(t.deferralConstituents),t.writeType=(1048576&t.deferralParent.flags?hd:Cd)(t.deferralWriteConstituents)),t.writeType||ic(e)):e.links.writeType||e.links.type:sc(e):98304&e.flags?1&r?(r=si(r=e)).writeType||(r.writeType=pp(oc(r.target),r.mapper)):$s(e):sc(e)}function sc(e){var t,r=BL(e);return 65536&r?ic(e):1&r?(t=si(t=e)).type||(t.type=pp(sc(t.target),t.mapper)):262144&r?function(e){if(!e.links.type){var t=e.links.mappedType;if(!fs(e,0))return t.containsError=!0,dt;var r=bu(t.target||t),n=np(t.mapper,gu(t),e.links.keyType),n=pp(r,n),n=te&&16777216&e.flags&&!Wk(n,49152)?iy(n,!0):524288&e.links.checkFlags?fy(n):n;ms()||(Ua(w,mA.Type_of_property_0_circularly_references_itself_in_mapped_type_1,Yo(e),$o(t)),n=dt),e.links.type=n}return e.links.type}(e):8192&r?function(e){var t=si(e);t.type||(t.type=jy(e.links.propertyType,e.links.mappedType,e.links.constraintType));return t.type}(e):7&e.flags?Xs(e):9136&e.flags?tc(e):8&e.flags?rc(e):98304&e.flags?Zs(e):2097152&e.flags?nc(e):dt}function cc(e){return ly(sc(e),!!(16777216&e.flags))}function uc(e,t){return void 0!==e&&void 0!==t&&0!=(4&WL(e))&&e.target===t}function _c(e){return 4&WL(e)?e.target:e}function lc(e,n){return function e(t){{if(7&WL(t)){var r=_c(t);return r===n||dD(Tc(r),e)}if(2097152&t.flags)return dD(t.types,e)}return!1}(e)}function dc(e,t){var r,n;try{for(var a=__values(t),i=a.next();!i.done;i=a.next())e=xD(e,Fc(yo(i.value)))}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return e}function fc(t,e){for(;;){var r;if((t=t.parent)&&mj(t)&&(6!==(r=NI(t))&&3!==r||(r=yo(t.left))&&r.parent&&!FA(r.parent.valueDeclaration,function(e){return t===e})&&(t=r.parent.valueDeclaration)),!t)return;switch(t.kind){case 263:case 231:case 264:case 179:case 180:case 173:case 184:case 185:case 324:case 262:case 174:case 218:case 219:case 265:case 352:case 353:case 347:case 345:case 200:case 194:var n=fc(t,e);if(200===t.kind)return vD(n,Fc(yo(t.typeParameter)));if(194===t.kind)return fD(n,hf(t));var a=dc(n,eE(t)),i=e&&(263===t.kind||231===t.kind||264===t.kind||Nb(t))&&wc(yo(t)).thisType;return i?vD(a,i):a;case 348:a=KI(t);a&&(t=a.valueDeclaration);break;case 327:n=fc(t,e);return t.tags?dc(n,cD(t.tags,function(e){return DB(e)?e.typeParameters:void 0})):n}}}function pc(e){var t=32&e.flags||16&e.flags?e.valueDeclaration:null==(t=e.declarations)?void 0:t.find(function(e){if(264===e.kind)return!0;if(260!==e.kind)return!1;e=e.initializer;return!!e&&(218===e.kind||219===e.kind)});return rA.assert(!!t,"Class was missing valueDeclaration -OR- non-class had no interface declarations"),fc(t)}function mc(e){var t,r;if(e.declarations){try{for(var n=__values(e.declarations),a=n.next();!a.done;a=n.next()){var i,o=a.value;(264===o.kind||263===o.kind||231===o.kind||Nb(o)||VI(o))&&(i=dc(i,eE(o)))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return i}}function yc(e){e=l_(e,1);if(1===e.length){e=e[0];if(!e.typeParameters&&1===e.parameters.length&&bJ(e)){e=Xb(e.parameters[0]);return gs(e)||Pm(e)===ut}}return!1}function vc(e){if(0<l_(e,1).length)return 1;if(8650752&e.flags){e=Vu(e);return e&&yc(e)}}function gc(e){e=qL(e.symbol);return e&&yO(e)}function hc(e,t,r){var n=HN(t),a=cI(r);return nD(l_(e,1),function(e){return(a||n>=D_(e.typeParameters))&&n<=HN(e.typeParameters)})}function xc(e,t,r){var e=hc(e,t,r),n=iD(t,Uf);return oD(e,function(e){return dD(e.typeParameters)?U_(e,n,cI(r)):e})}function bc(e){if(!e.resolvedBaseConstructorType){var t=qL(e.symbol),r=t&&yO(t),n=gc(e);if(!n)return e.resolvedBaseConstructorType=gt;if(!fs(e,1))return dt;var a=TT(n.expression);if(r&&n!==r&&(rA.assert(!r.typeArguments),TT(r.expression)),2621440&a.flags&&Eu(a),!ms())return Ua(e.symbol.valueDeclaration,mA._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,Yo(e.symbol)),e.resolvedBaseConstructorType=dt;if(!(1&a.flags||a===St||vc(a))){t=Ua(n.expression,mA.Type_0_is_not_a_constructor_function_type,$o(a));return 262144&a.flags&&(r=rl(a),n=yt,!r||(r=l_(r,1))[0]&&(n=j_(r[0])),a.symbol.declarations&&SM(t,tP(a.symbol.declarations[0],mA.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1,Yo(a.symbol),$o(n)))),e.resolvedBaseConstructorType=dt}e.resolvedBaseConstructorType=a}return e.resolvedBaseConstructorType}function kc(e,t){Ua(e,mA.Type_0_recursively_references_itself_as_a_base_type,$o(t,void 0,2))}function Tc(e){var t,r,n;if(!e.baseTypesResolved){if(fs(e,7)&&(8&e.objectFlags?e.resolvedBaseTypes=[Yl(hd(oD((n=e).typeParameters,function(e,t){return 8&n.elementFlags[t]?sf(e,Ct):e})||WN),n.readonly)]:96&e.symbol.flags?(32&e.symbol.flags&&function(e){e.resolvedBaseTypes=_F;var t=Zu(bc(e));if(!(2621441&t.flags))return e.resolvedBaseTypes=WN;var r=gc(e),n=t.symbol?Pc(t.symbol):void 0;if(t.symbol&&32&t.symbol.flags&&function(e){var t=e.outerTypeParameters;if(t){var r=t.length-1,e=ll(e);return t[r].symbol!==e[r].symbol}return!0}(n))i=fl(r,t.symbol);else if(1&t.flags)i=t;else{var a=xc(t,r.typeArguments,r);if(!a.length)return Ua(r.expression,mA.No_base_constructor_has_the_specified_number_of_type_arguments),e.resolvedBaseTypes=WN;i=j_(a[0])}if(hs(i))return e.resolvedBaseTypes=WN;if(!Sc(a=n_(i))){var i=$L(c_(void 0,i),mA.Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members,$o(a));return Sa.add(nP(CF(r.expression),r.expression,i)),e.resolvedBaseTypes=WN}if(e===a||lc(a,e))return Ua(e.symbol.valueDeclaration,mA.Type_0_recursively_references_itself_as_a_base_type,$o(e,void 0,2)),e.resolvedBaseTypes=WN;e.resolvedBaseTypes===_F&&(e.members=void 0),e.resolvedBaseTypes=[a]}(e),64&e.symbol.flags&&function(e){var t,r,n,a;if(e.resolvedBaseTypes=e.resolvedBaseTypes||WN,e.symbol.declarations)try{for(var i=__values(e.symbol.declarations),o=i.next();!o.done;o=i.next()){var s=o.value;if(264===s.kind&&hO(s))try{for(var c=(n=void 0,__values(hO(s))),u=c.next();!u.done;u=c.next()){var _=u.value,l=n_(Uf(_));hs(l)||(Sc(l)?e===l||lc(l,e)?kc(s,e):e.resolvedBaseTypes===WN?e.resolvedBaseTypes=[l]:e.resolvedBaseTypes.push(l):Ua(_,mA.An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members))}}catch(e){n={error:e}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}}(e)):rA.fail("type must be class or interface"),!ms()&&e.symbol.declarations))try{for(var a=__values(e.symbol.declarations),i=a.next();!i.done;i=a.next()){var o=i.value;263!==o.kind&&264!==o.kind||kc(o,e)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}e.baseTypesResolved=!0}return e.resolvedBaseTypes}function Sc(e){if(262144&e.flags){var t=Vu(e);if(t)return Sc(t)}return!!(67633153&e.flags&&!Du(e)||2097152&e.flags&&XN(e.types,Sc))}function wc(e){var t,r,n,a=si(e),i=a;return a.declaredType||(t=32&e.flags?1:2,(r=Db(e,e.valueDeclaration&&((n=(null==(n=null==(n=null==(n=(n=e.valueDeclaration)&&Ab(n,!0))?void 0:n.exports)?void 0:n.get("prototype"))?void 0:n.valueDeclaration)&&function(e){if(!e.parent)return!1;var t=e.parent;for(;t&&211===t.kind;)t=t.parent;if(t&&mj(t)&&OL(t.left)&&64===t.operatorToken.kind){e=II(t);return nj(e)&&e}}(n.valueDeclaration))?yo(n):void 0)))&&(a=(e=r).links),n=i.declaredType=a.declaredType=Eo(t,e),r=pc(e),i=mc(e),!r&&!i&&1!=t&&function(e){var t,r,n,a;if(!e.declarations)return 1;try{for(var i=__values(e.declarations),o=i.next();!o.done;o=i.next()){var s=o.value;if(264===s.kind){if(256&s.flags)return;var c=hO(s);if(c)try{for(var u=(n=void 0,__values(c)),_=u.next();!_.done;_=u.next()){var l=_.value;if(AL(l.expression)){l=Yi(l.expression,788968,!0);if(!l||!(64&l.flags)||wc(l).thisType)return}}}catch(e){n={error:e}}finally{try{_&&!_.done&&(a=u.return)&&a.call(u)}finally{if(n)throw n.error}}}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return 1}(e)||(n.objectFlags|=4,n.typeParameters=fD(r,i),n.outerTypeParameters=r,n.localTypeParameters=i,n.instantiations=new Map,n.instantiations.set(al(n.typeParameters),n),(n.target=n).resolvedTypeArguments=n.typeParameters,n.thisType=Fo(e),n.thisType.isThisType=!0,n.thisType.constraint=n)),a.declaredType}function Cc(e){var t=si(e);if(!t.declaredType){if(!fs(e,2))return dt;var r=rA.checkDefined(null==(a=e.declarations)?void 0:a.find(VI),"Type alias symbol with no valid declaration found"),n=UI(r)?r.typeExpression:r.type,a=n?Uf(n):dt;ms()?(n=mc(e))&&(t.typeParameters=n,t.instantiations=new Map,t.instantiations.set(al(n),a)):(a=dt,347===r.kind?Ua(r.typeExpression.type,mA.Type_alias_0_circularly_references_itself,Yo(e)):Ua(BA(r)&&r.name||r,mA.Type_alias_0_circularly_references_itself,Yo(e))),t.declaredType=a}return t.declaredType}function Nc(e){return 1056&e.flags&&8&e.symbol.flags?Pc(go(e.symbol)):e}function Dc(e){var t,r,n,a,i,o=si(e);if(!o.declaredType){var s=[];if(e.declarations)try{for(var c=__values(e.declarations),u=c.next();!u.done;u=c.next()){var _=u.value;if(266===_.kind)try{for(var l=(n=void 0,__values(_.members)),d=l.next();!d.done;d=l.next()){var f,p,m,y=d.value;Wc(y)&&(f=yo(y),m=Pf(void 0!==(p=XC(y))?(i=p,y=yJ(e),m=f,p=void 0,p="".concat(y).concat("string"==typeof i?"@":"#").concat(i),y=1024|("string"==typeof i?128:256),Ge.get(p)||(Ge.set(p,m=Ff(y,i,m)),m)):Ac(f)),si(f).declaredType=m,s.push(If(m)))}}catch(e){n={error:e}}finally{try{d&&!d.done&&(a=l.return)&&a.call(l)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(t)throw t.error}}var v=s.length?hd(s,1,e,void 0):Ac(e);1048576&v.flags&&(v.flags|=1024,v.symbol=e),o.declaredType=v}return o.declaredType}function Ac(e){var t=No(32,e),e=No(32,e);return((t.regularType=t).freshType=e).regularType=t,e.freshType=e,t}function Ec(e){var t=si(e);return t.declaredType||(e=Dc(go(e)),t.declaredType||(t.declaredType=e)),t.declaredType}function Fc(e){var t=si(e);return t.declaredType||(t.declaredType=Fo(e))}function Pc(e){return Ic(e)||dt}function Ic(e){return 96&e.flags?wc(e):524288&e.flags?Cc(e):262144&e.flags?Fc(e):384&e.flags?Dc(e):8&e.flags?Ec(e):2097152&e.flags?(e=si(t=e)).declaredType||(e.declaredType=Pc(Ui(t))):void 0;var t}function Oc(e){switch(e.kind){case 133:case 159:case 154:case 150:case 163:case 136:case 155:case 151:case 116:case 157:case 146:case 201:return!0;case 188:return Oc(e.elementType);case 183:return!e.typeArguments||e.typeArguments.every(Oc)}return!1}function Lc(e){e=tE(e);return!e||Oc(e)}function Mc(e){var t=nL(e);return t?Oc(t):!nF(e)}function Rc(e){if(e.declarations&&1===e.declarations.length){var t=e.declarations[0];if(t)switch(t.kind){case 172:case 171:return Mc(t);case 174:case 173:case 176:case 177:case 178:return n=aL(r=t),a=eE(r),(176===r.kind||!!n&&Oc(n))&&r.parameters.every(Mc)&&a.every(Lc)}}var r,n,a}function jc(e,t,r){var n,a,i=vF();try{for(var o=__values(e),s=o.next();!s.done;s=o.next()){var c=s.value;i.set(c.escapedName,r&&Rc(c)?c:op(c,t))}}catch(e){n={error:e}}finally{try{s&&!s.done&&(a=o.return)&&a.call(o)}finally{if(n)throw n.error}}return i}function Bc(e,t){var r,n;try{for(var a=__values(t),i=a.next();!i.done;i=a.next()){var o,s=i.value;Jc(s)||((o=e.get(s.escapedName))&&(!o.valueDeclaration||!mj(o.valueDeclaration)||Is(o)||OP(o.valueDeclaration))||(e.set(s.escapedName,s),e.set(s.escapedName,s)))}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}function Jc(e){return e.valueDeclaration&&yE(e.valueDeclaration)&&lL(e.valueDeclaration)}function zc(e){var t,r;return e.declaredProperties||(r=Gc(t=e.symbol),e.declaredProperties=Io(r),e.declaredCallSignatures=WN,e.declaredConstructSignatures=WN,e.declaredIndexInfos=WN,e.declaredCallSignatures=I_(r.get("__call")),e.declaredConstructSignatures=I_(r.get("__new")),e.declaredIndexInfos=Y_(t)),e}function Uc(e){if(!SR(e)&&!ij(e))return!1;var t=SR(e)?e.expression:e.argumentExpression;return AL(t)&&sR(SR(e)?bh(e):iT(t))}function Vc(e){return 95===e.charCodeAt(0)&&95===e.charCodeAt(1)&&64===e.charCodeAt(2)}function qc(e){e=JA(e);return!!e&&Uc(e)}function Wc(e){return!wO(e)||qc(e)}function Hc(e,t,r,n){rA.assert(!!n.symbol,"The member is expected to have a symbol.");var a=ci(n);if(!a.resolvedSymbol){a.resolvedSymbol=n.symbol;var i=mj(n)?n.left:n.name,o=ij(i)?iT(i.argumentExpression):bh(i);if(sR(o)){var s=cR(o),c=n.symbol.flags,u=r.get(s);u||r.set(s,u=Qa(0,s,4096));var _,t=t&&t.get(s);return(u.flags&$a(c)||t)&&(t=t?fD(t.declarations,u.declarations):u.declarations,_=!(8192&o.flags)&&OA(s)||QF(i),KN(t,function(e){return Ua(JA(e)||e,mA.Property_0_was_also_declared_here,_)}),Ua(i||n,mA.Duplicate_property_0,_),u=Qa(0,s,4096)),u.links.nameType=o,o=u,n=n,c=c,rA.assert(!!(4096&BL(o)),"Expected a late-bound symbol."),o.flags|=c,(si(n.symbol).lateSymbol=o).declarations?n.symbol.isReplaceableByMethod||o.declarations.push(n):o.declarations=[n],111551&c&&(o.valueDeclaration&&o.valueDeclaration.kind===n.kind||(o.valueDeclaration=n)),u.parent?rA.assert(u.parent===e,"Existing symbol parent should match new one"):u.parent=e,a.resolvedSymbol=u}}return a.resolvedSymbol}function Kc(e,t){var r,n,a,i,o,s,c,u=si(e);if(!u[t]){var _="resolvedExports"===t,l=_?(1536&e.flags?po(e):e).exports:e.members;u[t]=l||M;var d=vF();try{for(var f=__values(e.declarations||WN),p=f.next();!p.done;p=f.next()){var m=bP(p.value);if(m)try{for(var y=(a=void 0,__values(m)),v=y.next();!v.done;v=y.next())_===dL(k=v.value)&&qc(k)&&Hc(e,l,d,k)}catch(e){a={error:e}}finally{try{v&&!v.done&&(i=y.return)&&i.call(y)}finally{if(a)throw a.error}}}}catch(e){r={error:e}}finally{try{p&&!p.done&&(n=f.return)&&n.call(f)}finally{if(r)throw r.error}}var g=(219===(null==(c=e.valueDeclaration)?void 0:c.kind)||218===(null==(c=e.valueDeclaration)?void 0:c.kind))&&(null==(g=vo(e.valueDeclaration.parent))?void 0:g.assignmentDeclarationMembers)||e.assignmentDeclarationMembers;if(g){var h=PD(g.values());try{for(var x=__values(h),b=x.next();!b.done;b=x.next()){var k,T=NI(k=b.value);_==!(3===T||mj(k)&&Hg(k,T)||9===T||6===T)&&qc(k)&&Hc(e,l,d,k)}}catch(e){o={error:e}}finally{try{b&&!b.done&&(s=x.return)&&s.call(x)}finally{if(o)throw o.error}}}u[t]=function(e,t){if(null==e||!e.size)return t;if(null==t||!t.size)return e;var r=vF();return ii(r,e),ii(r,t),r}(l,d)||M}return u[t]}function Gc(e){return 6256&e.flags?Kc(e,"resolvedMembers"):e.members||M}function Xc(e){if(106500&e.flags&&"__computed"===e.escapedName){var t,r=si(e);return!r.lateSymbol&&dD(e.declarations,qc)&&(t=mo(e.parent),(dD(e.declarations,dL)?_o:Gc)(t)),r.lateSymbol||(r.lateSymbol=e)}return e}function Qc(e,t,r){if(4&WL(e)){var n=e.target,a=ll(e);return HN(n.typeParameters)===HN(a)?cl(n,fD(a,[t||n.thisType])):e}if(2097152&e.flags){n=oD(e.types,function(e){return Qc(e,t,r)});return n!==e.types?Cd(n):e}return r?Zu(e):e}function Yc(e,t,r,n){var a,i,o,s,c,u;m=bD(r,n,0,r.length)?(s=t.symbol?Gc(t.symbol):vF(t.declaredProperties),c=t.declaredCallSignatures,u=t.declaredConstructSignatures,t.declaredIndexInfos):(o=Gf(r,n),s=jc(t.declaredProperties,o,1===r.length),c=Hf(t.declaredCallSignatures,o),u=Hf(t.declaredConstructSignatures,o),Kf(t.declaredIndexInfos,o));var _=Tc(t);if(_.length){t.symbol&&s===Gc(t.symbol)&&(s=vF(t.declaredProperties)),Lo(e,s,c,u,m);var l=CD(n);try{for(var d=__values(_),f=d.next();!f.done;f=d.next()){var p=f.value,p=l?Qc(pp(p,o),l):p;Bc(s,Ou(p)),c=fD(c,l_(p,0)),u=fD(u,l_(p,1));var p=p!==ut?v_(p):[Q_(wt,ut,!1)],m=fD(m,nD(p,function(e){return!f_(m,e.keyType)}))}}catch(e){a={error:e}}finally{try{f&&!f.done&&(i=d.return)&&i.call(d)}finally{if(a)throw a.error}}}Lo(e,s,c,u,m)}function Zc(e,t,r,n,a,i,o,s){s=new c(Re,s);return s.declaration=e,s.typeParameters=t,s.parameters=n,s.thisParameter=r,s.resolvedReturnType=a,s.resolvedTypePredicate=i,s.minArgumentCount=o,s.resolvedMinArgumentCount=void 0,s.target=void 0,s.mapper=void 0,s.compositeSignatures=void 0,s.compositeKind=void 0,s}function $c(e){var t=Zc(e.declaration,e.typeParameters,e.thisParameter,e.parameters,void 0,void 0,e.minArgumentCount,167&e.flags);return t.target=e.target,t.mapper=e.mapper,t.compositeSignatures=e.compositeSignatures,t.compositeKind=e.compositeKind,t}function eu(e,t){e=$c(e);return e.compositeSignatures=t,e.compositeKind=1048576,e.target=void 0,e.mapper=void 0,e}function tu(e,t){if((24&e.flags)===t)return e;e.optionalCallSignatureCache||(e.optionalCallSignatureCache={});var r=8===t?"inner":"outer";return e.optionalCallSignatureCache[r]||(e.optionalCallSignatureCache[r]=function(e,t){rA.assert(8===t||16===t,"An optional call signature can either be for an inner call chain or an outer call chain, but not both.");e=$c(e);return e.flags|=t,e}(e,t))}function ru(c,e){if(bJ(c)){var t=c.parameters.length-1,r=c.parameters[t].escapedName,n=sc(c.parameters[t]);if(Xm(n))return[a(n,t,r)];if(!e&&1048576&n.flags&&XN(n.types,Xm))return iD(n.types,function(e){return a(e,t,r)})}return[c.parameters];function a(n,a,e){var t,r,i,o=ll(n),s=(t=n,r=e,i=new Map,iD(t.target.labeledElementDeclarations,function(e,t){e=Qb(e,t,r),t=i.get(e);return void 0===t?(i.set(e,1),e):(i.set(e,t+1),"".concat(e,"_").concat(t))})),o=iD(o,function(e,t){var r=s&&s[t]?s[t]:Yb(c,a+t,n),t=n.target.elementFlags[t],r=Qa(1,r,12&t?32768:2&t?16384:0);return r.links.type=4&t?Yl(e):e,r});return fD(c.parameters.slice(0,a),o)}}function nu(e,t,r,n,a){var i,o;try{for(var s=__values(e),c=s.next();!c.done;c=s.next()){var u=c.value;if(Cm(u,t,r,n,a,r?Cp:Sp))return u}}catch(e){i={error:e}}finally{try{c&&!c.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}}function au(e){for(var t,r,n,a,i,o,s=0;s<e.length;s++){if(0===e[s].length)return WN;1<e[s].length&&(o=void 0===o?s:-1);try{for(var c=(t=void 0,__values(e[s])),u=c.next();!u.done;u=c.next()){var _,l,d,f,p=u.value;i&&nu(i,p,!1,!1,!0)||(_=function(e,t,r){if(t.typeParameters){if(0<r)return;for(var n=1;n<e.length;n++)if(!nu(e[n],t,!1,!1,!1))return;return[t]}for(var a,n=0;n<e.length;n++){var i=n===r?t:nu(e[n],t,!0,!1,!0);if(!i)return;a=xD(a,i)}return a}(e,p,s))&&(l=p,1<_.length&&(f=p.thisParameter,(d=KN(_,function(e){return e.thisParameter}))&&(f=my(d,Cd(uD(_,function(e){return e.thisParameter&&sc(e.thisParameter)})))),(l=eu(p,_)).thisParameter=f),(i=i||[]).push(l))}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(t)throw t.error}}}if(!HN(i)&&-1!==o){var m=e[void 0!==o?o:0],y=m.slice(),v=function(e){if(e!==m){var t=e[0];if(rA.assert(!!t,"getUnionSignatures bails early on empty signature lists and should not have empty lists on second pass"),!(y=t.typeParameters&&dD(y,function(e){return!!e.typeParameters&&!iu(t.typeParameters,e.typeParameters)})?void 0:iD(y,function(e){return function(e,t){var r,n=e.typeParameters||t.typeParameters;e.typeParameters&&t.typeParameters&&(r=Gf(t.typeParameters,e.typeParameters));var a=e.declaration,i=function(e,t,r){for(var n=nk(e),a=nk(t),i=a<=n?e:t,o=i===e?t:e,s=i===e?n:a,c=ik(e)||ik(t),u=c&&!ik(i),_=new Array(s+(u?1:0)),l=0;l<s;l++){var d=tk(i,l);i===t&&(d=pp(d,r));var f=tk(o,l)||yt;o===t&&(f=pp(f,r));var p=Cd([d,f]),m=c&&!u&&l===s-1,y=l>=ak(i)&&l>=ak(o),d=n<=l?void 0:Yb(e,l),f=a<=l?void 0:Yb(t,l),f=Qa(1|(y&&!m?16777216:0),(d===f?d:d?f?void 0:d:f)||"arg".concat(l));f.links.type=m?Yl(p):p,_[l]=f}{var v;u&&((v=Qa(1,"args")).links.type=Yl(ek(o,s)),o===t&&(v.links.type=pp(v.links.type,r)),_[s]=v)}return _}(e,t,r),o=function(e,t,r){if(!e||!t)return e||t;r=Cd([sc(e),pp(sc(t),r)]);return my(e,r)}(e.thisParameter,t.thisParameter,r),s=Math.max(e.minArgumentCount,t.minArgumentCount),s=Zc(a,n,o,i,void 0,void 0,s,167&(e.flags|t.flags));s.compositeKind=1048576,s.compositeSignatures=fD(2097152!==e.compositeKind&&e.compositeSignatures||[e],[t]),r&&(s.mapper=2097152!==e.compositeKind&&e.mapper&&e.compositeSignatures?tp(e.mapper,r):r);return s}(e,t)})))return"break"}};try{for(var g=__values(e),h=g.next();!h.done;h=g.next())if("break"===v(h.value))break}catch(e){n={error:e}}finally{try{h&&!h.done&&(a=g.return)&&a.call(g)}finally{if(n)throw n.error}}i=y}return i||WN}function iu(e,t){if(HN(e)===HN(t)){if(!e||!t)return 1;for(var r=Gf(t,e),n=0;n<e.length;n++){var a=e[n],i=t[n];if(a!==i&&!Tp(rl(a)||yt,pp(rl(i)||yt,r)))return}return 1}}function ou(e){var t,r,n=v_(e[0]);if(n){var a=[];try{for(var i=__values(n),o=i.next();!o.done;o=i.next()){var s=o.value;!function(){var t=s.keyType;XN(e,function(e){return g_(e,t)})&&a.push(Q_(t,hd(iD(e,function(e){return h_(e,t)})),dD(e,function(e){return g_(e,t).isReadonly})))}()}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return a}return WN}function su(e,t){return e?t?Cd([e,t]):e:t}function cu(e){var t=rD(e,function(e){return 0<l_(e,1).length}),e=iD(e,yc);return 0<t&&t===rD(e,function(e){return e})&&(t=e.indexOf(!0),e[t]=!1),e}function uu(n){for(var a,i,o,s=n.types,c=cu(s),u=rD(c,function(e){return e}),e=function(r){var e,t=n.types[r];c[r]||((e=l_(t,1)).length&&0<u&&(e=iD(e,function(e){var t=$c(e);return t.resolvedReturnType=function(e,t,r,n){for(var a=[],i=0;i<t.length;i++)i===n?a.push(e):r[i]&&a.push(j_(l_(t[i],1)[0]));return Cd(a)}(j_(e),s,c,r),t})),i=_u(i,e)),a=_u(a,l_(t,0)),o=ED(v_(t),function(e,t){return lu(e,t,!1)},o)},t=0;t<s.length;t++)e(t);Lo(n,M,a||WN,i||WN,o||WN)}function _u(e,t){var r,n;try{for(var a=__values(t),i=a.next();!i.done;i=a.next())!function(t){e&&!XN(e,function(e){return!Cm(e,t,!1,!1,!1,Sp)})||(e=vD(e,t))}(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return e}function lu(e,t,r){if(e)for(var n=0;n<e.length;n++){var a=e[n];if(a.keyType===t.keyType)return e[n]=Q_(a.keyType,(r?hd:Cd)([a.type,t.type]),r?a.isReadonly||t.isReadonly:a.isReadonly&&t.isReadonly),e}return vD(e,t)}function du(e){if(e.target)return Lo(e,M,WN,WN,WN),void Lo(e,i=jc(Fu(e.target),e.mapper,!1),o=Hf(l_(e.target,0),e.mapper),u=Hf(l_(e.target,1),e.mapper),Kf(v_(e.target),e.mapper));var t,r,n,a,i,o,s,c,u,_=mo(e.symbol);2048&_.flags?(Lo(e,M,WN,WN,WN),o=I_((i=Gc(_)).get("__call")),u=I_(i.get("__new")),Lo(e,i,o,u,Y_(_))):(t=_o(_),_===Ne&&(n=new Map,t.forEach(function(e){var t;418&e.flags||512&e.flags&&null!=(t=e.declarations)&&t.length&&XN(e.declarations,RF)||n.set(e.escapedName,e)}),t=n),Lo(e,t,WN,WN,WN),32&_.flags&&(11272192&(s=bc(wc(_))).flags?Bc(t=vF((o=Io(i=t),(i=X_(i))?fD(o,[i]):o)),Ou(s)):s===ut&&(a=Q_(wt,ut,!1))),(s=X_(t))?r=Z_(s):(a&&(r=vD(r,a)),384&_.flags&&(32&Pc(_).flags||dD(e.properties,function(e){return!!(296&sc(e).flags)}))&&(r=vD(r,Dn))),Lo(e,t,WN,WN,r||WN),8208&_.flags&&(e.callSignatures=I_(_)),32&_.flags&&(c=wc(_),u=_.members?I_(_.members.get("__constructor")):WN,16&_.flags&&(u=gD(u.slice(),uD(e.callSignatures,function(e){return Nb(e.declaration)?Zc(e.declaration,e.typeParameters,e.thisParameter,e.parameters,c,void 0,e.minArgumentCount,167&e.flags):void 0}))),u.length||(u=function(e){var t,r,n=l_(bc(e),1),a=qL(e.symbol),i=!!a&&_L(a,256);if(0===n.length)return[Zc(void 0,e.localTypeParameters,void 0,WN,e,void 0,0,i?4:0)];var o=cI(a=gc(e)),s=Nl(a),c=HN(s),u=[];try{for(var _=__values(n),l=_.next();!l.done;l=_.next()){var d=l.value,f=D_(d.typeParameters),p=HN(d.typeParameters);(o||f<=c&&c<=p)&&((d=p?q_(d,A_(s,d.typeParameters,f,o)):$c(d)).typeParameters=e.localTypeParameters,d.resolvedReturnType=e,d.flags=i?4|d.flags:-5&d.flags,u.push(d))}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=_.return)&&r.call(_)}finally{if(t)throw t.error}}return u}(c)),e.constructSignatures=u))}function fu(e){var t,r,n,a,i=g_(e.source,wt),o=wu(e.mappedType),s=!(1&o),c=4&o?0:16777216,i=i?[Q_(wt,jy(i.type,e.mappedType,e.constraintType),s&&i.isReadonly)]:WN,u=vF();try{for(var _=__values(Ou(e.source)),l=_.next();!l.done;l=_.next()){var d,f=l.value,p=8192|(s&&jk(f)?8:0),m=Qa(4|f.flags&c,f.escapedName,p);m.declarations=f.declarations,m.links.nameType=si(f).nameType,m.links.propertyType=sc(f),8388608&e.constraintType.type.flags&&262144&e.constraintType.type.objectType.flags&&262144&e.constraintType.type.indexType.flags?(d=e.constraintType.type.objectType,n=e.mappedType,a=e.constraintType.type,p=d,p=pp(n,Gf([a.indexType,a.objectType],[Mf(0),ad([p])])),m.links.mappedType=p,m.links.constraintType=jd(d)):(m.links.mappedType=e.mappedType,m.links.constraintType=e.constraintType),u.set(f.escapedName,m)}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=_.return)&&r.call(_)}finally{if(t)throw t.error}}Lo(e,u,WN,WN,i)}function pu(e){if(4194304&e.flags){var t=Zu(e.type);return(Qm(t)?ud:jd)(t)}if(16777216&e.flags){if(e.root.isDistributive){var t=e.checkType,r=pu(t);if(r!==t)return fp(e,rp(e.root.checkType,r,e.mapper))}return e}if(1048576&e.flags)return Gv(e,pu,!0);if(2097152&e.flags){r=e.types;return 2===r.length&&76&r[0].flags&&r[1]===tr?e:Cd(oD(e.types,pu))}return e}function mu(e){return 4096&BL(e)}function yu(e,t,r,n){var a,i,o,s;try{for(var c=__values(Ou(e)),u=c.next();!u.done;u=c.next())n(Ld(u.value,t))}catch(e){a={error:e}}finally{try{u&&!u.done&&(i=c.return)&&i.call(c)}finally{if(a)throw a.error}}if(1&e.flags)n(wt);else try{for(var _=__values(v_(e)),l=_.next();!l.done;l=_.next()){var d=l.value;(!r||134217732&d.keyType.flags)&&n(d.keyType)}}catch(e){o={error:e}}finally{try{l&&!l.done&&(s=_.return)&&s.call(_)}finally{if(o)throw o.error}}}function vu(c){var u,_=vF();Lo(c,M,WN,WN,WN);var l=gu(c),e=hu(c),t=c.target||c,r=xu(t),d=!r||Au(t),f=bu(t),p=Zu(Su(c)),m=wu(c),t=h?128:8576;function n(t){Vv(r?pp(r,np(c.mapper,l,t)):t,function(e){return function(e,t){{var r,n,a,i,o,s;sR(t)?(r=cR(t),(o=_.get(r))?(o.links.nameType=hd([o.links.nameType,t]),o.links.keyType=hd([o.links.keyType,e])):(n=sR(e)?u_(p,cR(e)):void 0,a=!!(4&m||!(8&m)&&n&&16777216&n.flags),i=!!(1&m||!(2&m)&&n&&jk(n)),s=te&&!a&&n&&16777216&n.flags,o=n?mu(n):0,(s=Qa(4|(a?16777216:0),r,262144|o|(i?8:0)|(s?524288:0))).links.mappedType=c,s.links.nameType=t,s.links.keyType=e,n&&(s.links.syntheticOrigin=n,s.declarations=d?n.declarations:void 0),_.set(r,s))):($_(t)||33&t.flags)&&(t=5&t.flags?wt:40&t.flags?Ct:t,e=pp(f,np(c.mapper,l,e)),e=Q_(t,e,!!(1&m)),u=lu(u,e,!0))}}(t,e)})}Tu(c)?yu(p,t,h,n):Vv(pu(e),n),Lo(c,_,WN,WN,u||WN)}function gu(e){return e.typeParameter||(e.typeParameter=Fc(yo(e.declaration.typeParameter)))}function hu(e){return e.constraintType||(e.constraintType=Mu(gu(e))||dt)}function xu(e){return e.declaration.nameType?e.nameType||(e.nameType=pp(Uf(e.declaration.nameType),e.mapper)):void 0}function bu(e){return e.templateType||(e.templateType=e.declaration.type?pp(Fs(Uf(e.declaration.type),!0,!!(4&wu(e))),e.mapper):dt)}function ku(e){return tE(e.declaration.typeParameter)}function Tu(e){e=ku(e);return 198===e.kind&&143===e.operator}function Su(e){var t;return e.modifiersType||(Tu(e)?e.modifiersType=pp(Uf(ku(e).type),e.mapper):(t=(t=hu(lf(e.declaration)))&&262144&t.flags?Mu(t):t,e.modifiersType=t&&4194304&t.flags?pp(t.type,e.mapper):yt)),e.modifiersType}function wu(e){e=e.declaration;return(e.readonlyToken?41===e.readonlyToken.kind?2:1:0)|(e.questionToken?41===e.questionToken.kind?8:4:0)}function Cu(e){e=wu(e);return 8&e?-1:4&e?1:0}function Nu(e){var t=Cu(e),e=Su(e);return t||(Du(e)?Cu(e):0)}function Du(e){if(32&WL(e)){var t=hu(e);if(ef(t))return 1;var r=xu(e);if(r&&ef(pp(r,Qf(gu(e),t))))return 1}}function Au(e){var t=xu(e);return!!t&&Ap(t,gu(e))}function Eu(e){var t,r,n,a,i;return e.members||(524288&e.flags?4&e.objectFlags?(n=zc((r=e).target),a=fD(n.typeParameters,[n.thisType]),i=ll(r),Yc(r,n,a,i.length===a.length?i:fD(i,[r]))):3&e.objectFlags?Yc(t=e,zc(t),WN,WN):1024&e.objectFlags?fu(e):16&e.objectFlags?du(e):32&e.objectFlags?vu(e):rA.fail("Unhandled object type "+rA.formatObjectFlags(e.objectFlags)):1048576&e.flags?(i=au(iD((a=e).types,function(e){return e===hr?[wn]:l_(e,0)})),r=au(iD(a.types,function(e){return l_(e,1)})),t=ou(a.types),Lo(a,M,i,r,t)):2097152&e.flags?uu(e):rA.fail("Unhandled type "+rA.formatTypeFlags(e.flags))),e}function Fu(e){return 524288&e.flags?Eu(e).properties:WN}function Pu(e,t){if(524288&e.flags){t=Eu(e).members.get(t);if(t&&So(t))return t}}function Iu(e){var t,r,n,a;if(!e.resolvedProperties){var i=vF();try{for(var o=__values(e.types),s=o.next();!s.done;s=o.next()){var c=s.value;try{for(var u=(n=void 0,__values(Ou(c))),_=u.next();!_.done;_=u.next()){var l,d=_.value;i.has(d.escapedName)||(l=r_(e,d.escapedName))&&i.set(d.escapedName,l)}}catch(e){n={error:e}}finally{try{_&&!_.done&&(a=u.return)&&a.call(u)}finally{if(n)throw n.error}}if(1048576&e.flags&&0===v_(c).length)break}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}e.resolvedProperties=Io(i)}return e.resolvedProperties}function Ou(e){return(3145728&(e=$u(e)).flags?Iu:Fu)(e)}function Lu(e){return 262144&e.flags?Mu(e):8388608&e.flags?Wu(t=e)?function(e){if(Yu(e)||Du(e.objectType))return of(e.objectType,e.indexType);var t=ju(e.indexType);if(t&&t!==e.indexType){var r=uf(e.objectType,t,e.accessFlags);if(r)return r}r=ju(e.objectType);if(r&&r!==e.objectType)return uf(r,e.indexType,e.accessFlags);return}(t):void 0:(16777216&e.flags?Uu:Vu)(e);var t}function Mu(e){return Wu(e)?rl(e):void 0}function Ru(r,n){var e;return void 0===n&&(n=0),n<5&&!(!r||!(262144&r.flags&&dD(null==(e=r.symbol)?void 0:e.declarations,function(e){return _L(e,2048)})||1048576&r.flags&&dD(r.types,function(e){return Ru(e,n)})||8388608&r.flags&&Ru(r.objectType,n+1)||16777216&r.flags&&Ru(Uu(r),n+1)||33554432&r.flags&&Ru(r.baseType,n)||Qm(r)&&0<=ZN(dd(r),function(e,t){return 8&r.target.elementFlags[t]&&Ru(e,n)})))}function ju(e){var t=rf(e,!1);return t!==e?t:Lu(e)}function Bu(e){var t,r;return e.resolvedDefaultConstraint||(t=(r=e).resolvedInferredTrueType||(r.resolvedInferredTrueType=r.combinedMapper?pp(Uf(r.root.node.trueType),r.combinedMapper):vf(r)),r=gf(e),e.resolvedDefaultConstraint=gs(t)?r:gs(r)?t:hd([t,r])),e.resolvedDefaultConstraint}function Ju(e){if(void 0!==e.resolvedConstraintOfDistributive)return e.resolvedConstraintOfDistributive||void 0;if(e.root.isDistributive&&e.restrictiveInstantiation!==e){var t=rf(e.checkType,!1),t=t===e.checkType?Lu(t):t;if(t&&t!==e.checkType){t=fp(e,rp(e.root.checkType,t,e.mapper));if(!(131072&t.flags))return e.resolvedConstraintOfDistributive=t}}e.resolvedConstraintOfDistributive=!1}function zu(e){return Ju(e)||Bu(e)}function Uu(e){return Wu(e)?zu(e):void 0}function Vu(e){if(464781312&e.flags||Qm(e)){var t=Hu(e);return t!==or&&t!==sr?t:void 0}return 4194304&e.flags?Vt:void 0}function qu(e){return Vu(e)||e}function Wu(e){return Hu(e)!==sr}function Hu(e){if(e.resolvedBaseConstraint)return e.resolvedBaseConstraint;var a=[];return e.resolvedBaseConstraint=t(e);function t(e){if(!e.immediateBaseConstraint){if(!fs(e,4))return sr;var t,r=void 0,n=Sm(e);(a.length<10||a.length<50&&!eD(a,n))&&(a.push(n),r=function(r){var t,e;if(262144&r.flags){var n=rl(r);return r.isThisType||!n?n:f(n)}if(3145728&r.flags){var a=r.types,i=[],o=!1;try{for(var s=__values(a),c=s.next();!c.done;c=s.next()){var u=c.value,_=f(u);_?(_!==u&&(o=!0),i.push(_)):o=!0}}catch(e){t={error:e}}finally{try{c&&!c.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}return o?1048576&r.flags&&i.length===a.length?hd(i):2097152&r.flags&&i.length?Cd(i):void 0:r}if(4194304&r.flags)return Vt;if(134217728&r.flags){var l=uD(a=r.types,f);return l.length===a.length?Jd(r.texts,l):wt}if(268435456&r.flags)return(n=f(r.type))&&n!==r.type?Ud(r.symbol,n):wt;if(8388608&r.flags){if(Yu(r))return f(of(r.objectType,r.indexType));var d=f(r.objectType),l=f(r.indexType),l=d&&l&&uf(d,l,r.accessFlags);return l&&f(l)}if(16777216&r.flags)return(n=zu(r))&&f(n);if(33554432&r.flags)return f(xl(r));if(Qm(r))return ad(iD(dd(r),function(e,t){t=262144&e.flags&&8&r.target.elementFlags[t]&&f(e)||e;return t!==e&&Wv(t,function(e){return Em(e)&&!Qm(e)})?t:e}),r.target.elementFlags,r.target.readonly,r.target.labeledElementDeclarations);return r}(rf(e,!1)),a.pop()),ms()||(262144&e.flags&&((t=el(e))&&(n=Ua(t,mA.Type_parameter_0_has_a_circular_constraint,$o(e)),!w||cO(t,w)||cO(w,t)||SM(n,tP(w,mA.Circularity_originates_in_type_at_this_location)))),r=sr),e.immediateBaseConstraint=r||or}return e.immediateBaseConstraint}function f(e){e=t(e);return e!==or&&e!==sr?e:void 0}}function Ku(e){var t;return e.default?e.default===cr&&(e.default=sr):e.target?(t=Ku(e.target),e.default=t?pp(t,e.mapper):or):(e.default=cr,t=(t=e.symbol&&KN(e.symbol.declarations,function(e){return wR(e)&&e.default}))?Uf(t):or,e.default===cr&&(e.default=t)),e.default}function Gu(e){e=Ku(e);return e!==or&&e!==sr?e:void 0}function Xu(e){return e.symbol&&KN(e.symbol.declarations,function(e){return wR(e)&&e.default})}function Qu(e){return e.resolvedApparentType||(e.resolvedApparentType=function(e){var t=cp(e);if(t&&!e.declaration.nameType){var r=Mu(t);if(r&&Wv(r,Em))return pp(e,rp(t,r,e.mapper))}return e}(e))}function Yu(e){var t;return 8388608&e.flags&&32&WL(t=e.objectType)&&!Du(t)&&ef(e.indexType)&&!(8&wu(t))&&!t.declaration.nameType}function Zu(e){var t=465829888&e.flags?Vu(e)||yt:e,r=WL(t);return 32&r?Qu(t):4&r&&t!==e?Qc(t,e):2097152&t.flags?(r=e,(e=t).resolvedApparentType||(e.resolvedApparentType=Qc(e,r,!0))):402653316&t.flags?Sr:296&t.flags?wr:2112&t.flags?(sn=sn||Ol("BigInt",0,!1))||$t:528&t.flags?Cr:12288&t.flags?Bl():67108864&t.flags?$t:4194304&t.flags?Vt:2&t.flags&&!te?$t:t}function $u(e){return n_(Zu(n_(e)))}function e_(e,t,r){var n,a,i,o,s,c,u,_,l,d=1048576&e.flags,f=4,p=d?0:8,m=!1;try{for(var y,v,g=__values(e.types),h=g.next();!h.done;h=g.next())hs(I=Zu(h.value))||131072&I.flags||(v=(P=u_(I,t,r))?JL(P):0,P?(106500&P.flags&&(null!=l||(l=d?0:16777216),d?l|=16777216&P.flags:l&=P.flags),c?P!==c&&((Iw(P)||P)===(Iw(c)||c)&&-1===wm(c,P,function(e,t){return e===t?-1:0})?m=!!c.parent&&!!HN(mc(c.parent)):(u||(u=new Map).set(yJ(c),c),y=yJ(P),u.has(y)||u.set(y,P))):c=P,d&&jk(P)?p|=8:d||jk(P)||(p&=-9),p|=(24&v?0:256)|(16&v?512:0)|(8&v?1024:0)|(32&v?2048:0),Yh(P)||(f=2)):d&&((v=!Vc(t)&&k_(I,t))?(p|=32|(v.isReadonly?8:0),_=vD(_,Xm(I)?Zm(I)||gt:v.type)):!$y(I)||2097152&WL(I)?p|=16:(p|=32,_=vD(_,gt))))}catch(e){n={error:e}}finally{try{h&&!h.done&&(a=g.return)&&a.call(g)}finally{if(n)throw n.error}}if(c&&(!(d&&(u||48&p)&&1536&p)||u&&function(e){var t,r,n;try{for(var a=__values(e),i=a.next();!i.done;i=a.next()){var o=function(t){return t.declarations?n?(n.forEach(function(e){eD(t.declarations,e)||n.delete(e)}),0===n.size?{value:void 0}:void 0):(n=new Set(t.declarations),"continue"):{value:void 0}}(i.value);if("object"==typeof o)return o.value}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n}(u.values()))){if(!(u||16&p||_)){if(m){var x=null==(s=BD(c,gF))?void 0:s.links,b=my(c,null==x?void 0:x.type);return b.parent=null==(s=null==(s=c.valueDeclaration)?void 0:s.symbol)?void 0:s.parent,b.links.containingType=e,b.links.mapper=null==x?void 0:x.mapper,b}return c}var k,T,S,w,C,N=u?PD(u.values()):[c],D=[],A=!1;try{for(var E=__values(N),F=E.next();!F.done;F=E.next()){var P=F.value;C?P.valueDeclaration&&P.valueDeclaration!==C&&(A=!0):C=P.valueDeclaration,k=gD(k,P.declarations);var I=sc(P);T||(T=I,S=si(P).nameType);var O=oc(P);w||O!==I?w=vD(w||D.slice(),O):I!==T&&(p|=64),(Um(I)||Yd(I))&&(p|=128),131072&I.flags&&I!==Xt&&(p|=131072),D.push(I)}}catch(e){i={error:e}}finally{try{F&&!F.done&&(o=E.return)&&o.call(E)}finally{if(i)throw i.error}}gD(D,_);b=Qa(4|(null!=l?l:0),t,f|p);return b.links.containingType=e,!A&&C&&(b.valueDeclaration=C).symbol.parent&&(b.parent=C.symbol.parent),b.declarations=k,b.links.nameType=S,2<D.length?(b.links.checkFlags|=65536,b.links.deferralParent=e,b.links.deferralConstituents=D,b.links.deferralWriteConstituents=w):(b.links.type=(d?hd:Cd)(D),w&&(b.links.writeType=(d?hd:Cd)(w))),b}}function t_(e,t,r){var n,a=(null==(n=e.propertyCacheWithoutObjectFunctionPropertyAugment)||!n.get(t))&&r||null==(a=e.propertyCache)?void 0:a.get(t);return a||(a=e_(e,t,r))&&(r?e.propertyCacheWithoutObjectFunctionPropertyAugment||(e.propertyCacheWithoutObjectFunctionPropertyAugment=vF()):e.propertyCache||(e.propertyCache=vF())).set(t,a),a}function r_(e,t,r){r=t_(e,t,r);return!r||16&BL(r)?void 0:r}function n_(e){return 1048576&e.flags&&16777216&e.objectFlags?e.resolvedReducedType||(e.resolvedReducedType=function(e){var t=oD(e.types,n_);if(t===e.types)return e;t=hd(t);1048576&t.flags&&(t.resolvedReducedType=t);return t}(e)):2097152&e.flags?(16777216&e.objectFlags||(e.objectFlags|=16777216|(dD(Iu(e),a_)?33554432:0)),33554432&e.objectFlags?Mt:e):e}function a_(e){return i_(e)||o_(e)}function i_(e){return!(16777216&e.flags||192!=(131264&BL(e))||!(131072&sc(e).flags))}function o_(e){return!e.valueDeclaration&&!!(1024&BL(e))}function s_(e){return!!(1048576&e.flags&&16777216&e.objectFlags&&dD(e.types,s_)||2097152&e.flags&&function(e){e=e.uniqueLiteralFilledInstantiation||(e.uniqueLiteralFilledInstantiation=pp(e,Qt));return n_(e)!==e}(e))}function c_(e,t){if(2097152&t.flags&&33554432&WL(t)){var r=QN(Iu(t),i_);if(r)return $L(e,mA.The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents,$o(t,void 0,536870912),Yo(r));r=QN(Iu(t),o_);if(r)return $L(e,mA.The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some,$o(t,void 0,536870912),Yo(r))}return e}function u_(e,t,r,n){if(524288&(e=$u(e)).flags){var a=Eu(e),i=a.members.get(t);if(i&&So(i,n))return i;if(r)return;a=a===ir?hr:a.callSignatures.length?xr:a.constructSignatures.length?br:void 0;if(a){a=Pu(a,t);if(a)return a}return Pu(gr,t)}if(3145728&e.flags)return r_(e,t,r)}function __(e,t){if(3670016&e.flags){e=Eu(e);return 0===t?e.callSignatures:e.constructSignatures}return WN}function l_(e,t){var r,n=__($u(e),t);if(0===t&&!HN(n)&&1048576&e.flags){if(e.arrayFallbackSignatures)return e.arrayFallbackSignatures;if(Wv(e,function(e){var t;return!(null==(t=e.symbol)||!t.parent||(!((t=e.symbol.parent)&&kr.symbol&&Tr.symbol)||!ko(t,kr.symbol)&&!ko(t,Tr.symbol))||(r?r!==e.symbol.escapedName:(r=e.symbol.escapedName,0)))})){var a=Yl(Gv(e,function(e){return Xf((d_(e.symbol.parent)?Tr:kr).typeParameters[0],e.mapper)}),qv(e,function(e){return d_(e.symbol.parent)}));return e.arrayFallbackSignatures=l_(vs(a,r),t)}e.arrayFallbackSignatures=n}return n}function d_(e){return!(!e||!Tr.symbol)&&!!ko(e,Tr.symbol)}function f_(e,t){return QN(e,function(e){return e.keyType===t})}function p_(e,t){var r,n,a,i,o;try{for(var s=__values(e),c=s.next();!c.done;c=s.next()){var u=c.value;u.keyType===wt?a=u:m_(t,u.keyType)&&(i?(o=o||[i]).push(u):i=u)}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o?Q_(yt,Cd(iD(o,function(e){return e.type})),ED(o,function(e,t){return e&&t.isReadonly},!0)):i||(a&&m_(t,wt)?a:void 0)}function m_(e,t){return Ap(e,t)||t===wt&&Ap(e,Ct)||t===Ct&&(e===Ht||!!(128&e.flags)&&qM(e.value))}function y_(e){return 3670016&e.flags?Eu(e).indexInfos:WN}function v_(e){return y_($u(e))}function g_(e,t){return f_(v_(e),t)}function h_(e,t){return null==(t=g_(e,t))?void 0:t.type}function x_(e,t){return v_(e).filter(function(e){return m_(t,e.keyType)})}function b_(e,t){return p_(v_(e),t)}function k_(e,t){return b_(e,Vc(t)?Ot:Lf(OA(t)))}function T_(e){var t,r,n;try{for(var a=__values(eE(e)),i=a.next();!i.done;i=a.next())var o=xD(o,Fc(i.value.symbol))}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return null!=o&&o.length?o:!Fj(e)||null==(n=F_(e))?void 0:n.typeParameters}function S_(e){var r=[];return e.forEach(function(e,t){Po(t)||r.push(e)}),r}function w_(e,t){if(!kA(e)){e=_i(we,'"'+e+'"',512);return e&&t?mo(e):e}}function C_(e){if(JI(e)||XM(e)||YM(e))return!0;if(e.initializer){var t=E_(e.parent),r=e.parent.parameters.indexOf(e);return rA.assert(0<=r),r>=ak(t,3)}t=UP(e.parent);return!!t&&(!e.type&&!e.dotDotDotToken&&e.parent.parameters.indexOf(e)>=t.arguments.length)}function N_(e,t,r,n){return{kind:e,parameterName:t,parameterIndex:r,type:n}}function D_(e){var t=0;if(e)for(var r=0;r<e.length;r++)Xu(e[r])||(t=r+1);return t}function A_(e,t,r,n){var a=HN(t);if(!a)return[];var i=HN(e);if(n||r<=i&&i<=a){for(var o=e?e.slice():[],s=i;s<a;s++)o[s]=dt;for(var c=av(n),s=i;s<a;s++){var u=Gu(t[s]);n&&u&&(Tp(u,yt)||Tp(u,$t))&&(u=ut),o[s]=u?pp(u,Gf(t,o)):c}return o.length=t.length,o}return e&&e.slice()}function E_(e){var t=ci(e);if(!t.resolvedSignature){var r=[],n=0,a=0,i=void 0,o=!1,s=UP(e),c=zI(e);!s&&cI(e)&&rO(e)&&!qA(e)&&!QA(e)&&(n|=32);for(var u=c?1:0;u<e.parameters.length;u++){var _=e.parameters[u],l=_.symbol,d=wB(_)?_.typeExpression&&_.typeExpression.type:_.type;l&&4&l.flags&&!PE(_.name)&&(l=pi(_,l.escapedName,111551,void 0,void 0,!1)),0===u&&"this"===l.escapedName?(o=!0,i=_.symbol):r.push(l),d&&201===d.kind&&(n|=2),XM(_)||_.initializer||_.questionToken||uF(_)||s&&r.length>s.arguments.length&&!d||YM(_)||(a=r.length)}177!==e.kind&&178!==e.kind||!Wc(e)||o&&i||(c=177===e.kind?178:177,(c=mF(yo(e),c))&&(i=(c=NN(c=c))&&c.symbol)),!cI(e)||(f=GA(e))&&f.typeExpression&&(i=my(Qa(1,"this"),Uf(f.typeExpression)));var f=bB(e)?QI(e):e,f=f&&IR(f)?wc(mo(f.parent.symbol)):void 0,f=f?f.localTypeParameters:T_(e);(cF(e)||cI(e)&&function(e,t){if(bB(e)||!P_(e))return!1;var r=CD(e.parameters),r=GN(r?VA(r):YA(e).filter(wB),function(e){return e.typeExpression&&hB(e.typeExpression.type)?e.typeExpression.type:void 0}),e=Qa(3,"args",32768);r?e.links.type=Yl(Uf(r.type)):(e.links.checkFlags|=65536,e.links.deferralParent=Mt,e.links.deferralConstituents=[Ar],e.links.deferralWriteConstituents=[Ar]);r&&t.pop();return t.push(e),!0}(e,r))&&(n|=1),(zR(e)&&_L(e,256)||IR(e)&&_L(e.parent,256))&&(n|=4),t.resolvedSignature=Zc(e,f,i,r,void 0,void 0,a,n)}return t.resolvedSignature}function F_(e){if(cI(e)&&TE(e)){e=XA(e);return(null==e?void 0:e.typeExpression)&&Kx(Uf(e.typeExpression))}}function P_(e){var t=ci(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 80:return t.escapedText===Fe.escapedName&&aN(t)===Fe;case 172:case 174:case 177:case 178:return 167===t.name.kind&&e(t.name);case 211:case 212:return e(t.expression);case 303:return e(t.initializer);default:return!RO(t)&&!vP(t)&&!!HB(t,e)}}(e.body)),t.containsArgumentsReference}function I_(e){var t,r,n,a;if(!e||!e.declarations)return WN;for(var i=[],o=0;o<e.declarations.length;o++){var s=e.declarations[o];if(bE(s)){if(0<o&&s.body){var c=e.declarations[o-1];if(s.parent===c.parent&&s.kind===c.kind&&s.pos===c.end)continue}if(cI(s)&&s.jsDoc){var u=!1;try{for(var _=(t=void 0,__values(s.jsDoc)),l=_.next();!l.done;l=_.next()){var d=l.value;if(d.tags)try{for(var f=(n=void 0,__values(d.tags)),p=f.next();!p.done;p=f.next()){var m=p.value;SB(m)&&(void 0!==(m=m.typeExpression).type||IR(s)||ky(m,ut),i.push(E_(m)),u=!0)}}catch(e){n={error:e}}finally{try{p&&!p.done&&(a=f.return)&&a.call(f)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=_.return)&&r.call(_)}finally{if(t)throw t.error}}if(u)continue}i.push(!VM(s)&&!AP(s)&&F_(s)||E_(s))}}return i}function O_(e){e=$i(e,e);if(e){e=no(e);if(e)return sc(e)}return ut}function L_(e){if(e.thisParameter)return sc(e.thisParameter)}function M_(e){var t,r,n,a,i;return e.resolvedTypePredicate||(e.target?(t=M_(e.target),e.resolvedTypePredicate=t?(a=t,i=e.mapper,N_(a.kind,a.parameterName,a.parameterIndex,pp(a.type,i))):Tn):e.compositeSignatures?e.resolvedTypePredicate=function(e,t){var r,n,a,i=[];try{for(var o=__values(e),s=o.next();!s.done;s=o.next()){var c=s.value,u=M_(c);if(u){if(0!==u.kind&&1!==u.kind||a&&!bd(a,u))return;a=u,i.push(u.type)}else{c=2097152!==t?j_(c):void 0;if(c!==Dt&&c!==At)return}}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}if(!a)return;var _=R_(i,t);return N_(a.kind,a.parameterName,a.parameterIndex,_)}(e.compositeSignatures,e.compositeKind)||Tn:(t=void 0,(a=e.declaration&&aL(e.declaration))||(r=F_(e.declaration))&&e!==r&&(t=M_(r)),e.resolvedTypePredicate=a&&jR(a)?(i=e,n=(r=a).parameterName,a=r.type&&Uf(r.type),197===n.kind?N_(r.assertsModifier?2:0,void 0,void 0,a):N_(r.assertsModifier?3:1,n.escapedText,ZN(i.parameters,function(e){return e.escapedName===n.escapedText}),a)):t||Tn),rA.assert(!!e.resolvedTypePredicate)),e.resolvedTypePredicate===Tn?void 0:e.resolvedTypePredicate}function R_(e,t,r){return 2097152!==t?hd(e,r):Cd(e)}function j_(e){if(!e.resolvedReturnType){if(!fs(e,3))return dt;var t,r,n=e.target?pp(j_(e.target),e.mapper):e.compositeSignatures?pp(R_(iD(e.compositeSignatures,j_),e.compositeKind,2),e.mapper):B_(e.declaration)||(EF(e.declaration.body)?ut:Nk(e.declaration));8&e.flags?n=sy(n):16&e.flags&&(n=iy(n)),ms()||(e.declaration&&((r=aL(e.declaration))?Ua(r,mA.Return_type_annotation_circularly_references_itself):N&&((r=JA(t=e.declaration))?Ua(r,mA._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,QF(r)):Ua(t,mA.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))),n=ut),e.resolvedReturnType=n}return e.resolvedReturnType}function B_(e){if(176===e.kind)return wc(mo(e.parent.symbol));var t=aL(e);if(bB(e)){var r=ZI(e);if(r&&IR(r.parent)&&!t)return wc(mo(r.parent.parent.symbol))}if(zI(e))return Uf(e.parameters[0].type);if(t)return Uf(t);if(177===e.kind&&Wc(e)){t=cI(e)&&As(e);if(t)return t;t=Ys(mF(yo(e),178));if(t)return t}return(e=F_(e=e))&&j_(e)}function J_(e){return e.compositeSignatures&&dD(e.compositeSignatures,J_)||!e.resolvedReturnType&&0<=ps(e,3)}function z_(e){if(bJ(e)){e=sc(e.parameters[e.parameters.length-1]),e=Xm(e)?Zm(e):e;return e&&h_(e,Ct)}}function U_(e,t,r,n){e=V_(e,A_(t,e.typeParameters,D_(e.typeParameters),r));if(n){r=Gx(j_(e));if(r){r=$c(r);r.typeParameters=n;n=$c(e);return n.resolvedReturnType=K_(r),n}}return e}function V_(e,t){var r=e.instantiations||(e.instantiations=new Map),n=al(t),a=r.get(n);return a||r.set(n,a=q_(e,t)),a}function q_(e,t){return ip(e,(t=t,Gf(e.typeParameters,t)),!0)}function W_(e){return e.typeParameters?e.erasedSignatureCache||(e.erasedSignatureCache=ip(t=e,ep(t.typeParameters),!0)):e;var t}function H_(e){return e.typeParameters?e.canonicalSignatureCache||(e.canonicalSignatureCache=U_(t=e,iD(t.typeParameters,function(e){return e.target&&!Mu(e.target)?e.target:e}),cI(t.declaration))):e;var t}function K_(e){var t,r;return e.isolatedSignatureType||(t=void 0===(r=null==(t=e.declaration)?void 0:t.kind)||176===r||180===r||185===r,(r=Eo(16)).members=M,r.properties=WN,r.callSignatures=t?WN:[e],r.constructSignatures=t?[e]:WN,r.indexInfos=WN,e.isolatedSignatureType=r),e.isolatedSignatureType}function G_(e){return e.members?X_(e.members):void 0}function X_(e){return e.get("__index")}function Q_(e,t,r,n){return{keyType:e,type:t,isReadonly:r,declaration:n}}function Y_(e){e=G_(e);return e?Z_(e):WN}function Z_(e){var t,r;if(e.declarations){var n=[];try{for(var a=__values(e.declarations),i=a.next();!i.done;i=a.next())!function(t){var e;1!==t.parameters.length||(e=t.parameters[0]).type&&Vv(Uf(e.type),function(e){$_(e)&&!f_(n,e)&&n.push(Q_(e,t.type?Uf(t.type):ut,uL(t,64),t))})}(i.value)}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n}return WN}function $_(e){return!!(4108&e.flags)||Yd(e)||!!(2097152&e.flags)&&!Zd(e)&&dD(e.types,$_)}function el(e){return uD(nD(e.symbol&&e.symbol.declarations,wR),tE)[0]}function tl(o,s){var t,e,r,c;if(null!=(r=o.symbol)&&r.declarations){var n=function(e){var t,r,n,a,i;195===e.parent.kind&&(i=void 0===(t=(r=__read(iO(e.parent.parent),2))[0])?e.parent:t,183!==(t=r[1]).kind||s?169===t.kind&&t.dotDotDotToken||191===t.kind||202===t.kind&&t.dotDotDotToken?c=vD(c,Yl(yt)):204===t.kind?c=vD(c,wt):168===t.kind&&200===t.parent.kind?c=vD(c,Vt):200===t.kind&&t.type&&oO(t.type)===e.parent&&194===t.parent.kind&&t.parent.extendsType===t&&200===t.parent.checkType.kind&&t.parent.checkType.type&&(e=Uf((r=t.parent.checkType).type),c=vD(c,pp(e,Qf(Fc(yo(r.typeParameter)),r.typeParameter.constraint?Uf(r.typeParameter.constraint):Vt)))):!(a=RT(n=t))||(i=n.typeArguments.indexOf(i))<a.length&&(!(i=Mu(a[i]))||(i=pp(i,Zf(a,a.map(function(e,t){return function(){return function(e,t,r){if(e.typeArguments&&r<e.typeArguments.length)return Uf(e.typeArguments[r]);return LT(e,t)[r]}(n,a,t)}}))))!==o&&(c=vD(c,i))))};try{for(var a=__values(o.symbol.declarations),i=a.next();!i.done;i=a.next())n(i.value)}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}}return c&&Cd(c)}function rl(e){var t,r;return e.constraint||(e.target?(r=Mu(e.target),e.constraint=r?pp(r,e.mapper):or):(t=el(e))?(1&(r=Uf(t)).flags&&!hs(r)&&(r=200===t.parent.parent.kind?Vt:yt),e.constraint=r):e.constraint=tl(e)||or),e.constraint===or?void 0:e.constraint}function nl(e){e=mF(e.symbol,168),e=DB(e.parent)?GI(e.parent):e.parent;return e&&vo(e)}function al(e){var t="";if(e)for(var r=e.length,n=0;n<r;){for(var a=e[n].id,i=1;n+i<r&&e[n+i].id===a+i;)i++;t.length&&(t+=","),t+=a,1<i&&(t+=":"+i),n+=i}return t}function il(e,t){return e?"@".concat(yJ(e))+(t?":".concat(al(t)):""):""}function ol(e,t){var r,n,a=0;try{for(var i=__values(e),o=i.next();!o.done;o=i.next()){var s=o.value;void 0!==t&&s.flags&t||(a|=WL(s))}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return 458752&a}function sl(e,t){return dD(t)&&e===ar?yt:cl(e,t)}function cl(e,t){var r=al(t),n=e.instantiations.get(r);return n||(n=Eo(4,e.symbol),e.instantiations.set(r,n),n.objectFlags|=t?ol(t):0,n.target=e,n.resolvedTypeArguments=t),n}function ul(e){var t=No(e.flags,e.symbol);return t.objectFlags=e.objectFlags,t.target=e.target,t.resolvedTypeArguments=e.resolvedTypeArguments,t}function _l(e,t,r,n,a){n||(i=Sf(n=Tf(t)),a=r?Wf(i,r):i);var i=Eo(4,e.symbol);return i.target=e,i.node=t,i.mapper=r,i.aliasSymbol=n,i.aliasTypeArguments=a,i}function ll(e){if(!e.resolvedTypeArguments){if(!fs(e,6))return(null==(t=e.target.localTypeParameters)?void 0:t.map(function(){return dt}))||WN;var t=e.node,t=t?183===t.kind?fD(e.target.outerTypeParameters,LT(t,e.target.localTypeParameters)):188===t.kind?[Uf(t.elementType)]:iD(t.elements,Uf):WN;ms()?e.resolvedTypeArguments=e.mapper?Wf(t,e.mapper):t:(e.resolvedTypeArguments=(null==(t=e.target.localTypeParameters)?void 0:t.map(function(){return dt}))||WN,Ua(e.node||w,e.target.symbol?mA.Type_arguments_for_0_circularly_reference_themselves:mA.Tuple_type_arguments_circularly_reference_themselves,e.target.symbol&&Yo(e.target.symbol)))}return e.resolvedTypeArguments}function dl(e){return HN(e.target.typeParameters)}function fl(e,t){var r=Pc(mo(t)),n=r.localTypeParameters;if(n){var a=HN(e.typeArguments),i=D_(n),o=cI(e);if(!(!N&&o)&&(a<i||a>n.length)){a=o&&hj(e)&&!kB(e.parent);if(Ua(e,i===n.length?a?mA.Expected_0_type_arguments_provide_these_with_an_extends_tag:mA.Generic_type_0_requires_1_type_argument_s:a?mA.Expected_0_1_type_arguments_provide_these_with_an_extends_tag:mA.Generic_type_0_requires_between_1_and_2_type_arguments,$o(r,void 0,2),i,n.length),!o)return dt}return 183===e.kind&&rd(e,HN(e.typeArguments)!==n.length)?_l(r,e,void 0):cl(r,fD(r.outerTypeParameters,A_(Nl(e),n,i,o)))}return Sl(e,t)?r:dt}function pl(e,t,r,n){var a=Pc(e);if(a===mt&&_J.has(e.escapedName)&&t&&1===t.length)return Ud(e,t[0]);var i=si(e),o=i.typeParameters,s=al(t)+il(r,n),c=i.instantiations.get(s);return c||i.instantiations.set(s,c=mp(a,Gf(o,A_(t,o,D_(o),cI(e.valueDeclaration))),r,n)),c}function ml(e){e=null==(e=e.declarations)?void 0:e.find(VI);return e&&PP(e)}function yl(e){var t=(166===e.kind?e.right:211===e.kind?e.name:e).escapedText;if(t){var r=166===e.kind?yl(e.left):211===e.kind?yl(e.expression):void 0,n=r?"".concat(function e(t){return t.parent?"".concat(e(t.parent),".").concat(t.escapedName):t.escapedName}(r),".").concat(t):t,e=st.get(n);return e||(st.set(n,e=Qa(524288,t,1048576)),e.parent=r,e.links.declaredType=ft),e}return it}function vl(e,t,r){e=function(e){switch(e.kind){case 183:return e.typeName;case 233:var t=e.expression;if(AL(t))return t}}(e);if(!e)return it;t=Yi(e,t,r);return t&&t!==it?t:r?it:yl(e)}function gl(e,t){if(t===it)return dt;if(96&(t=function(e){var t=e.valueDeclaration;if(t&&cI(t)&&!(524288&e.flags)&&!xI(t,!1)){t=(Aj(t)?gI:hI)(t);if(t){t=vo(t);if(t)return Db(t,e)}}}(t)||t).flags)return fl(e,t);if(524288&t.flags)return function(e,t){if(1048576&BL(t)){var r=Nl(e),n=il(t,r),a=ct.get(n);return a||((a=Ao(1,"error")).aliasSymbol=t,a.aliasTypeArguments=r,ct.set(n,a)),a}var i=Pc(t),o=si(t).typeParameters;if(o){r=HN(e.typeArguments),n=D_(o);if(r<n||r>o.length)return Ua(e,n===o.length?mA.Generic_type_0_requires_1_type_argument_s:mA.Generic_type_0_requires_between_1_and_2_type_arguments,Yo(t),n,o.length),dt;a=Tf(e),r=!a||!ml(t)&&ml(a)?void 0:a,n=void 0;return r?n=Sf(r):iF(e)&&(!(a=vl(e,2097152,!0))||a===it||(a=Ui(a))&&524288&a.flags&&(r=a,n=Nl(e)||(o?[]:void 0))),pl(t,Nl(e),r,n)}return Sl(e,t)?i:dt}(e,t);var r=Ic(t);if(r)return Sl(e,t)?If(r):dt;if(111551&t.flags&&Tl(e)){r=function(e,t){var r=ci(e);{var n,a,i;r.resolvedJSDocType||(n=sc(t),a=n,t.valueDeclaration&&(i=205===e.kind&&e.qualifier,n.symbol&&n.symbol!==t&&i&&(a=gl(e,n.symbol))),r.resolvedJSDocType=a)}return r.resolvedJSDocType}(e,t);return r||(vl(e,788968),sc(t))}return dt}function hl(e,t){if(3&t.flags||t===e||1&e.flags)return e;var r="".concat(e.id,">").concat(t.id),n=Ze.get(r);if(n)return n;n=Co(33554432);return n.baseType=e,n.constraint=t,Ze.set(r,n),n}function xl(e){return Cd([e.constraint,e.baseType])}function bl(e){return 189===e.kind&&1===e.elements.length}function kl(e,t){for(var r,n=!0;t&&!XE(t)&&327!==t.kind;){var a,i,o=t.parent;169===o.kind&&(n=!n),(n||8650752&e.flags)&&194===o.kind&&t===o.trueType?(i=function e(t,r,n){return bl(r)&&bl(n)?e(t,r.elements[0],n.elements[0]):df(Uf(r))===df(t)?Uf(n):void 0}(e,o.checkType,o.extendsType))&&(r=vD(r,i)):262144&e.flags&&200===o.kind&&t===o.type&&(gu(a=Uf(o))!==df(e)||(a=cp(a))&&(i=Mu(a))&&Wv(i,Em)&&(r=vD(r,hd([Ct,Ht])))),t=o}return r?hl(e,Cd(r)):e}function Tl(e){return!!(16777216&e.flags)&&(183===e.kind||205===e.kind)}function Sl(e,t){if(!e.typeArguments)return 1;Ua(e,mA.Type_0_is_not_generic,t?Yo(t):e.typeName?QF(e.typeName):iJ)}function wl(e){if(xR(e.typeName)){var t=e.typeArguments;switch(e.typeName.escapedText){case"String":return Sl(e),wt;case"Number":return Sl(e),Ct;case"Boolean":return Sl(e),It;case"Void":return Sl(e),Lt;case"Undefined":return Sl(e),gt;case"Null":return Sl(e),Tt;case"Function":case"function":return Sl(e),hr;case"array":return t&&t.length||N?void 0:Ar;case"promise":return t&&t.length||N?void 0:Sk(ut);case"Object":if(t&&2===t.length){if(lI(e)){var r=Uf(t[0]),n=Uf(t[1]),n=r===wt||r===Ct?[Q_(r,n,!1)]:WN;return Mo(void 0,M,WN,WN,n)}return ut}return Sl(e),N?void 0:ut}}}function Cl(e){var t=ci(e);if(!t.resolvedType){if(uE(e)&&BE(e.parent))return t.resolvedSymbol=it,t.resolvedType=iT(e.parent.expression);var r=void 0,n=void 0,a=788968;Tl(e)&&((n=wl(e))||((r=vl(e,a,!0))===it?r=vl(e,900095):vl(e,a),n=gl(e,r))),n=n||gl(e,r=vl(e,a)),t.resolvedSymbol=r,t.resolvedType=n}return t.resolvedType}function Nl(e){return iD(e.typeArguments,Uf)}function Dl(e){var t=ci(e);return t.resolvedType||(e=Vb(e),t.resolvedType=If(xy(e))),t.resolvedType}function Al(e,t){function r(e){var t,r,n=e.declarations;if(n)try{for(var a=__values(n),i=a.next();!i.done;i=a.next()){var o=i.value;switch(o.kind){case 263:case 264:case 266:return o}}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}if(!e)return t?ar:$t;var n=Pc(e);return 524288&n.flags?HN(n.typeParameters)!==t?(Ua(r(e),mA.Global_type_0_must_have_1_type_parameter_s,RA(e),t),t?ar:$t):n:(Ua(r(e),mA.Global_type_0_must_be_a_class_or_interface_type,RA(e)),t?ar:$t)}function El(e,t){return Il(e,111551,t?mA.Cannot_find_global_value_0:void 0)}function Fl(e,t){return Il(e,788968,t?mA.Cannot_find_global_type_0:void 0)}function Pl(e,t,r){r=Il(e,788968,r?mA.Cannot_find_global_type_0:void 0);if(r&&(Pc(r),HN(si(r).typeParameters)!==t))return void Ua(r.declarations&&QN(r.declarations,Oj),mA.Global_type_0_must_have_1_type_parameter_s,RA(r),t);return r}function Il(e,t,r){return pi(void 0,e,t,r,e,!1,!1,!1)}function Ol(e,t,r){e=Fl(e,r);return e||r?Al(e,t):void 0}function Ll(){return Zr=Zr||(Ol("ImportMeta",0,!0)||$t)}function Ml(){var e,t,r;return $r||(e=Qa(0,"ImportMetaExpression"),t=Ll(),(r=Qa(4,"meta",8)).parent=e,r.links.type=t,r=vF([r]),e.members=r,$r=Mo(e,r,WN,WN,WN)),$r}function Rl(e){return(en=en||Ol("ImportCallOptions",0,e))||$t}function jl(e){return Ir=Ir||El("Symbol",e)}function Bl(){return(Lr=Lr||Ol("Symbol",0,!1))||$t}function Jl(e){return(Rr=Rr||Ol("Promise",1,e))||ar}function zl(e){return(jr=jr||Ol("PromiseLike",1,e))||ar}function Ul(e){return Br=Br||El("Promise",e)}function Vl(e){return(Kr=Kr||Ol("AsyncIterable",1,e))||ar}function ql(e){return(zr=zr||Ol("Iterable",1,e))||ar}function Wl(e){return(tn=tn||Ol("Disposable",0,e))||$t}function Hl(e,t){void 0===t&&(t=0);e=Il(e,788968,void 0);return e&&Al(e,t)}function Kl(e){return(on=on||(Pl("Awaited",1,e)||(e?it:void 0)))===it?void 0:on}function Gl(e,t){return e!==ar?cl(e,t):$t}function Xl(e){return Gl(Mr=Mr||Ol("TypedPropertyDescriptor",1,!0)||ar,[e])}function Ql(e){return Gl(ql(!0),[e])}function Yl(e,t){return Gl(t?Tr:kr,[e])}function Zl(e){switch(e.kind){case 190:return 2;case 191:return $l(e);case 202:return e.questionToken?2:e.dotDotDotToken?$l(e):1;default:return 1}}function $l(e){return zf(e.type)?4:8}function ed(e){var t,t=XR(t=e.parent)&&148===t.operator;return zf(e)?t?Tr:kr:id(iD(e.elements,Zl),t,iD(e.elements,td))}function td(e){return WR(e)||CR(e)?e:void 0}function rd(e,t){return Tf(e)||function e(t){var r=t.parent;switch(r.kind){case 196:case 202:case 183:case 192:case 193:case 199:case 194:case 198:case 188:case 189:return e(r);case 265:return!0}return!1}(e)&&(188===e.kind?nd(e.elementType):189===e.kind?dD(e.elements,nd):t||dD(e.typeArguments,nd))}function nd(e){switch(e.kind){case 183:return Tl(e)||!!(524288&vl(e,788968).flags);case 186:return!0;case 198:return 158!==e.operator&&nd(e.type);case 196:case 190:case 202:case 323:case 321:case 322:case 316:return nd(e.type);case 191:return 188!==e.type.kind||nd(e.type.elementType);case 192:case 193:return dD(e.types,nd);case 199:return nd(e.objectType)||nd(e.indexType);case 194:return nd(e.checkType)||nd(e.extendsType)||nd(e.trueType)||nd(e.falseType)}return!1}function ad(e,t,r,n){void 0===r&&(r=!1),void 0===n&&(n=[]);n=id(t||iD(e,function(e){return 1}),r,n);return n===ar?$t:e.length?od(n,e):n}function id(e,t,r){if(1===e.length&&4&e[0])return t?Tr:kr;var n=uD(r,function(e){return e?mJ(e):void 0}),a=iD(e,function(e){return 1&e?"#":2&e?"?":4&e?".":"*"}).join()+(t?"R":"")+(n.length?","+n.join(","):""),n=ze.get(a);return n||ze.set(a,n=function(e,t,r){var n,a=e.length,i=rD(e,function(e){return 9&e}),o=[],s=0;if(a){n=new Array(a);for(var c=0;c<a;c++){var u=n[c]=Fo(),_=e[c];12&(s|=_)||((_=Qa(4|(2&_?16777216:0),""+c,t?8:0)).links.tupleLabelDeclaration=null==r?void 0:r[c],_.links.type=u,o.push(_))}}var l=o.length,d=Qa(4,"length",t?8:0);if(12&s)d.links.type=Ct;else{for(var f=[],c=i;c<=a;c++)f.push(Mf(c));d.links.type=hd(f)}o.push(d);d=Eo(12);return d.typeParameters=n,d.outerTypeParameters=void 0,d.localTypeParameters=n,d.instantiations=new Map,d.instantiations.set(al(d.typeParameters),d),(d.target=d).resolvedTypeArguments=d.typeParameters,d.thisType=Fo(),d.thisType.isThisType=!0,(d.thisType.constraint=d).declaredProperties=o,d.declaredCallSignatures=WN,d.declaredConstructSignatures=WN,d.declaredIndexInfos=WN,d.elementFlags=e,d.minLength=i,d.fixedLength=l,d.hasRestElement=!!(12&s),d.combinedFlags=s,d.readonly=t,d.labeledElementDeclarations=r,d}(e,t,r)),n}function od(e,t){return(8&e.objectFlags?sd:cl)(e,t)}function sd(a,i){var o,s,c;if(!(14&a.combinedFlags))return cl(a,i);if(8&a.combinedFlags){var t=ZN(i,function(e,t){return 8&a.elementFlags[t]&&1179648&e.flags});if(0<=t)return Dd(iD(i,function(e,t){return 8&a.elementFlags[t]?e:yt}))?Gv(i[t],function(e){return sd(a,DD(i,t,e))}):dt}for(var u=[],n=[],_=[],l=-1,d=-1,f=-1,e=0;e<i.length;e++){var r=function(e){var r=i[e],t=a.elementFlags[e];if(8&t)if(58982400&r.flags||Du(r))m(r,8,null==(o=a.labeledElementDeclarations)?void 0:o[e]);else if(Xm(r)){var n=dd(r);if(1e4<=n.length+u.length)return Ua(w,vP(w)?mA.Type_produces_a_tuple_type_that_is_too_large_to_represent:mA.Expression_produces_a_tuple_type_that_is_too_large_to_represent),{value:dt};KN(n,function(e,t){return m(e,r.target.elementFlags[t],null==(e=r.target.labeledElementDeclarations)?void 0:e[t])})}else m(Im(r)&&h_(r,Ct)||dt,4,null==(s=a.labeledElementDeclarations)?void 0:s[e]);else m(r,t,null==(c=a.labeledElementDeclarations)?void 0:c[e])}(e);if("object"==typeof r)return r.value}for(e=0;e<l;e++)2&n[e]&&(n[e]=1);0<=d&&d<f&&(u[d]=hd(oD(u.slice(d,f+1),function(e,t){return 8&n[d+t]?sf(e,Ct):e})),u.splice(d+1,f-d),n.splice(d+1,f-d),_.splice(d+1,f-d));var p=id(n,a.readonly,_);return p===ar?$t:n.length?cl(p,u):p;function m(e,t,r){1&t&&(l=n.length),4&t&&d<0&&(d=n.length),6&t&&(f=n.length),u.push(2&t?Fs(e,!0):e),n.push(t),_.push(r)}}function cd(e,t,r){void 0===r&&(r=0);var n=e.target,r=dl(e)-r;return t>n.fixedLength?function(e){e=Zm(e);return e&&Yl(e)}(e)||ad(WN):ad(ll(e).slice(t,r),n.elementFlags.slice(t,r),!1,n.labeledElementDeclarations&&n.labeledElementDeclarations.slice(t,r))}function ud(e){return hd(vD(FD(e.target.fixedLength,function(e){return Lf(""+e)}),jd(e.target.readonly?Tr:kr)))}function _d(e,t){return e.elementFlags.length-$N(e.elementFlags,function(e){return!(e&t)})-1}function ld(e){return e.fixedLength+_d(e,3)}function dd(e){var t=ll(e),e=dl(e);return t.length===e?t:t.slice(0,e)}function fd(e){return e.id}function pd(e,t){return 0<=AD(e,t,fd,UD)}function md(e,t){var r=AD(e,t,fd,UD);return r<0&&(e.splice(~r,0,t),1)}function yd(e,t,r){var n,a,i,o,s,c,u;try{for(var _=__values(r),l=_.next();!l.done;l=_.next()){var d=l.value;d!==i&&(t=1048576&d.flags?yd(e,t|(!(1048576&(u=d).flags&&(u.aliasSymbol||u.origin))?0:1048576),d.types):(o=e,s=t,c=void 0,131072&(c=(u=d).flags)||(s|=473694207&c,465829888&c&&(s|=33554432),u===lt&&(s|=8388608),!te&&98304&c?65536&WL(u)||(s|=4194304):(c=(c=o.length)&&u.id>o[c-1].id?~c:AD(o,u,fd,UD))<0&&o.splice(~c,0,u)),s),i=d)}}catch(e){n={error:e}}finally{try{l&&!l.done&&(a=_.return)&&a.call(_)}finally{if(n)throw n.error}}return t}function vd(e){var r=nD(e,function(e){return 134217728&e.flags&&Yd(e)});if(r.length)for(var n=e.length;0<n;)!function(){var t=e[--n];128&t.flags&&dD(r,function(e){return Ky(t,e)})&&HD(e,n)}()}function gd(e,t){e=Do(e);return e.types=t,e}function hd(e,t,r,n,a){if(void 0===t&&(t=1),0===e.length)return Mt;if(1===e.length)return e[0];if(2!==e.length||a||!(1048576&e[0].flags||1048576&e[1].flags))return xd(e,t,r,n,a);var i=0===t?"N":2===t?"S":"L",a=e[0].id<e[1].id?0:1,i=e[a].id+i+e[1-a].id+il(r,n),a=Ve.get(i);return a||(a=xd(e,t,r,n,void 0),Ve.set(i,a)),a}function xd(e,t,r,n,a){var i,o,s,c,u=[],_=yd(u,0,e);if(0!==t){if(3&_)return 1&_?8388608&_?lt:ut:65536&_||pd(u,yt)?yt:vt;if(32768&_&&2<=u.length&&u[0]===gt&&u[1]===xt&&HD(u,1),(402664352&_||16384&_&&32768&_)&&function(e,t,r){for(var n=e.length;0<n;){var a=e[--n],i=a.flags;(402653312&i&&4&t||256&i&&8&t||2048&i&&64&t||8192&i&&4096&t||r&&32768&i&&16384&t||Of(a)&&pd(e,a.regularType))&&HD(e,n)}}(u,_,!!(2&t)),128&_&&134217728&_&&vd(u),2===t&&!(u=function(u,e){var _;if(u.length<2)return u;var t=al(u),r=$e.get(t);if(r)return r;for(var l=e&&dD(u,function(e){return!!(524288&e.flags)&&!Du(e)&&Kp(Eu(e))}),d=u.length,f=d,p=0;0<f;){var n=function(){var t,e,r=u[--f];if(l||469499904&r.flags){if(262144&r.flags&&1048576&qu(r).flags)return em(r,hd(iD(u,function(e){return e===r?Mt:e})),Da)&&HD(u,f),"continue";var n=61603840&r.flags?QN(Ou(r),function(e){return Jm(sc(e))}):void 0,a=n&&If(sc(n));try{for(var i=(t=void 0,__values(u)),o=i.next();!o.done;o=i.next()){var s=o.value;if(r!==s){if(1e5===p)if(1e6<p/(d-f)*d)return null!=(_=iA)&&_.instant(iA.Phase.CheckTypes,"removeSubtypes_DepthLimit",{typeIds:u.map(function(e){return e.id})}),Ua(w,mA.Expression_produces_a_union_type_that_is_too_complex_to_represent),{value:void 0};if(p++,n&&61603840&s.flags){var c=vs(s,n.escapedName);if(c&&Jm(c)&&If(c)!==a)continue}if(em(r,s,Da)&&(!(1&WL(_c(r)))||!(1&WL(_c(s)))||Ep(r,s))){HD(u,f);break}}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}}}();if("object"==typeof n)return n.value}return $e.set(t,u),u}(u,!!(524288&_))))return dt;if(0===u.length)return 65536&_?4194304&_?Tt:St:32768&_?4194304&_?gt:ht:Mt}if(!a&&1048576&_){var l=[];!function e(t,r){var n,a;try{for(var i=__values(r),o=i.next();!o.done;o=i.next()){var s,c=o.value;1048576&c.flags&&(s=c.origin,c.aliasSymbol||s&&!(1048576&s.flags)?hD(t,c):s&&1048576&s.flags&&e(t,s.types))}}catch(e){n={error:e}}finally{try{o&&!o.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}}(l,e);var d=[];try{for(var f=__values(u),p=f.next();!p.done;p=f.next())!function(t){dD(l,function(e){return pd(e.types,t)})||d.push(t)}(v=p.value)}catch(e){i={error:e}}finally{try{p&&!p.done&&(o=f.return)&&o.call(f)}finally{if(i)throw i.error}}if(!r&&1===l.length&&0===d.length)return l[0];if(ED(l,function(e,t){return e+t.types.length},0)+d.length===u.length){try{for(var m=__values(l),y=m.next();!y.done;y=m.next()){var v=y.value;md(d,v)}}catch(e){s={error:e}}finally{try{y&&!y.done&&(c=m.return)&&c.call(m)}finally{if(s)throw s.error}}a=gd(1048576,d)}}return kd(u,(36323331&_?0:32768)|(2097152&_?16777216:0),r,n,a)}function bd(e,t){return e.kind===t.kind&&e.parameterIndex===t.parameterIndex}function kd(e,t,r,n,a){if(0===e.length)return Mt;if(1===e.length)return e[0];var i=(a?1048576&a.flags?"|".concat(al(a.types)):2097152&a.flags?"&".concat(al(a.types)):"#".concat(a.type.id,"|").concat(al(e)):al(e))+il(r,n),o=Ue.get(i);return o||((o=Co(1048576)).objectFlags=t|ol(e,98304),o.types=e,o.origin=a,o.aliasSymbol=r,o.aliasTypeArguments=n,2===e.length&&512&e[0].flags&&512&e[1].flags&&(o.flags|=16,o.intrinsicName="boolean"),Ue.set(i,o)),o}function Td(e,t,r){var n,a,i,o,s;try{for(var c=__values(r),u=c.next();!u.done;u=c.next()){var _=u.value;i=e,o=t,s=If(_),_=void 0,t=2097152&(_=s.flags)?Td(i,o,s.types):(Xp(s)?16777216&o||(o|=16777216,i.set(s.id.toString(),s)):(3&_?s===lt&&(o|=8388608):!te&&98304&_||(s===xt&&(o|=262144,s=gt),i.has(s.id.toString())||(109472&s.flags&&109472&o&&(o|=67108864),i.set(s.id.toString(),s))),o|=473694207&_),o)}}catch(e){n={error:e}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(n)throw n.error}}return t}function Sd(e,t){for(var r=0;r<e.length;r++)e[r]=Hv(e[r],function(e){return!(e.flags&t)})}function wd(e){var t,r,n,a,i,o=ZN(e,function(e){return 32768&WL(e)});if(!(o<0)){for(var s=o+1;s<e.length;)32768&WL(f=e[s])?((i=i||[e[o]]).push(f),HD(e,s)):s++;if(i){var c=[],u=[];try{for(var _=__values(i),l=_.next();!l.done;l=_.next()){var d=l.value;try{for(var f,p=(n=void 0,__values(d.types)),m=p.next();!m.done;m=p.next())md(c,f=m.value)&&(!function(e,t){var r,n;try{for(var a=__values(e),i=a.next();!i.done;i=a.next()){var o=i.value;if(!pd(o.types,t)){var s=128&t.flags?wt:288&t.flags?Ct:2048&t.flags?Nt:8192&t.flags?Ot:void 0;if(!s||!pd(o.types,s))return}}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return 1}(i,f)||md(u,f))}catch(e){n={error:e}}finally{try{m&&!m.done&&(a=p.return)&&a.call(p)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=_.return)&&r.call(_)}finally{if(t)throw t.error}}return e[o]=kd(u,32768),1}}}function Cd(e,t,r,n){var a=new Map,i=Td(a,0,e),e=PD(a.values());if(131072&i)return eD(e,Rt)?Rt:Mt;if(te&&98304&i&&84410368&i||67108864&i&&402783228&i||402653316&i&&67238776&i||296&i&&469891796&i||2112&i&&469889980&i||12288&i&&469879804&i||49152&i&&469842940&i)return Mt;if(134217728&i&&128&i&&function(e){for(var t,r,n=e.length,a=nD(e,function(e){return 128&e.flags});0<n;){var i=e[--n];if(134217728&i.flags)try{for(var o=(t=void 0,__values(a)),s=o.next();!s.done;s=o.next()){if(Np(s.value,i)){HD(e,n);break}if(Yd(i))return 1}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}}}(e))return Mt;if(1&i)return 8388608&i?lt:ut;if(!te&&98304&i)return 16777216&i?Mt:32768&i?gt:Tt;if((4&i&&402653312&i||8&i&&256&i||64&i&&2048&i||4096&i&&8192&i||16384&i&&32768&i||16777216&i&&470302716&i)&&(n||function(e,t){for(var r=e.length;0<r;){var n=e[--r];(4&n.flags&&402653312&t||8&n.flags&&256&t||64&n.flags&&2048&t||4096&n.flags&&8192&t||16384&n.flags&&32768&t||Xp(n)&&470302716&t)&&HD(e,r)}}(e,i)),262144&i&&(e[e.indexOf(gt)]=xt),0===e.length)return yt;if(1===e.length)return e[0];a=al(e)+il(t,r);if(!(n=qe.get(a))){if(1048576&i)if(wd(e))n=Cd(e,t,r);else if(XN(e,function(e){return 1048576&e.flags&&32768&e.types[0].flags})){i=dD(e,dy)?xt:gt;Sd(e,32768),n=hd([Cd(e),i],1,t,r)}else if(XN(e,function(e){return 1048576&e.flags&&(65536&e.types[0].flags||65536&e.types[1].flags)}))Sd(e,65536),n=hd([Cd(e),Tt],1,t,r);else{if(!Dd(e))return dt;var o=function(e){for(var t=Nd(e),r=[],n=0;n<t;n++){for(var a,i,o=e.slice(),s=n,c=e.length-1;0<=c;c--)1048576&e[c].flags&&(a=e[c].types,i=a.length,o[c]=a[s%i],s=Math.floor(s/i));var u=Cd(o);131072&u.flags||r.push(u)}return r}(e),n=hd(o,1,t,r,dD(o,function(e){return!!(2097152&e.flags)})&&Ad(o)>Ad(e)?gd(2097152,e):void 0)}else o=e,e=t,t=r,(r=Co(2097152)).objectFlags=ol(o,98304),r.types=o,r.aliasSymbol=e,r.aliasTypeArguments=t,n=r;qe.set(a,n)}return n}function Nd(e){return ED(e,function(e,t){return 1048576&t.flags?e*t.types.length:131072&t.flags?0:e},1)}function Dd(e){var t=Nd(e);return!(1e5<=t)||(null!=iA&&iA.instant(iA.Phase.CheckTypes,"checkCrossProductUnion_DepthLimit",{typeIds:e.map(function(e){return e.id}),size:t}),void Ua(w,mA.Expression_produces_a_union_type_that_is_too_complex_to_represent))}function Ad(e){return ED(e,function(e,t){return e+function e(t){return 3145728&t.flags&&!t.aliasSymbol?1048576&t.flags&&t.origin?e(t.origin):Ad(t.types):1}(t)},0)}function Ed(e,t){return!!(76&e.flags)&&t===tr}function Fd(e,t){var r=Co(4194304);return r.type=e,r.indexFlags=t,r}function Pd(e,t){return 1&t?e.resolvedStringIndexType||(e.resolvedStringIndexType=Fd(e,1)):e.resolvedIndexType||(e.resolvedIndexType=Fd(e,0))}function Id(e){var r=gu(e);return function e(t){return!!(470810623&t.flags)||(16777216&t.flags?t.root.isDistributive&&t.checkType===r:137363456&t.flags?XN(t.types,e):8388608&t.flags?e(t.objectType)&&e(t.indexType):33554432&t.flags?e(t.baseType)&&e(t.constraint):!!(268435456&t.flags)&&e(t.type))}(xu(e)||r)}function Od(e){if(bR(e))return Mt;if(gR(e))return If(TT(e));if(SR(e))return If(bh(e));var t=NO(e);return void 0!==t?Lf(OA(t)):jE(e)?If(TT(e)):Mt}function Ld(e,t,r){if(r||!(24&JL(e))){var n=si(Xc(e)).nameType;if(n||(r=JA(e.valueDeclaration),n="default"===e.escapedName?Lf("default"):r&&Od(r)||(PO(e)?void 0:Lf(RA(e)))),n&&n.flags&t)return n}return Mt}function Md(e,t,r){var n,n=r&&(7&WL(e)||e.aliasSymbol)?(r=e,(n=Do(4194304)).type=r,n):void 0;return hd(fD(iD(Ou(e),function(e){return Ld(e,t)}),iD(v_(e),function(e){return e!==Dn&&function t(e,r){return!!(e.flags&r||2097152&e.flags&&dD(e.types,function(e){return t(e,r)}))}(e.keyType,t)?e.keyType===wt&&8&t?zt:e.keyType:Mt})),1,void 0,void 0,n)}function Rd(e,t){return void 0===t&&(t=0),58982400&e.flags||Qm(e)||Du(e)&&!Id(e)||1048576&e.flags&&!(4&t)&&s_(e)||2097152&e.flags&&Wk(e,465829888)&&dD(e.types,Xp)}function jd(e,t){return void 0===t&&(t=A),Rd(e=n_(e),t)?Pd(e,t):1048576&e.flags?Cd(iD(e.types,function(e){return jd(e,t)})):2097152&e.flags?hd(iD(e.types,function(e){return jd(e,t)})):32&WL(e)?function(t,e){var r=gu(t),n=hu(t),a=xu(t.target||t);if(!(a||2&e))return n;var i=[];if(Tu(t)){if(ef(n))return Pd(t,e);yu(Zu(Su(t)),8576,!!(1&e),o)}else Vv(pu(n),o);return ef(n)&&Vv(n,o),1048576&(e=2&e?Hv(hd(i),function(e){return!(5&e.flags)}):hd(i)).flags&&1048576&n.flags&&al(e.types)===al(n.types)?n:e;function o(e){e=a?pp(a,np(t.mapper,r,e)):e;i.push(e===wt?zt:e)}}(e,t):e===lt?lt:2&e.flags?Mt:131073&e.flags?Vt:Md(e,(2&t?128:402653316)|(1&t?0:12584),t===A)}function Bd(e){if(h)return e;var t=(nn=nn||Pl("Extract",2,!0)||it)===it?void 0:nn;return t?pl(t,[e,wt]):wt}function Jd(t,r){var n=ZN(r,function(e){return 1179648&e.flags});if(0<=n)return Dd(r)?Gv(r[n],function(e){return Jd(t,DD(r,n,e))}):dt;if(eD(r,lt))return lt;var i=[],o=[],s=t[0];if(!function e(t,r){for(var n=0;n<r.length;n++){var a=r[n];if(101248&a.flags)s+=zd(a)||"",s+=t[n+1];else if(134217728&a.flags){if(s+=a.texts[0],!e(a.texts,a.types))return!1;s+=t[n+1]}else{if(!ef(a)&&!Qd(a))return!1;i.push(a),o.push(s),s=t[n+1]}}return!0}(t,r))return wt;if(0===i.length)return Lf(s);if(o.push(s),XN(o,function(e){return""===e})){if(XN(i,function(e){return 4&e.flags}))return wt;if(1===i.length&&Yd(i[0]))return i[0]}var e,a,c="".concat(al(i),"|").concat(iD(o,function(e){return e.length}).join(","),"|").concat(o.join("")),u=Qe.get(c);return u||Qe.set(c,(e=o,a=i,(c=Co(134217728)).objectFlags=ol(a,98304),c.texts=e,c.types=a,u=c)),u}function zd(e){return 128&e.flags?e.value:256&e.flags?""+e.value:2048&e.flags?EM(e.value):98816&e.flags?e.intrinsicName:void 0}function Ud(t,e){return 1179648&e.flags?Gv(e,function(e){return Ud(t,e)}):128&e.flags?Lf(Vd(t,e.value)):134217728&e.flags?Jd.apply(void 0,__spreadArray([],__read(function(t,e,r){switch(_J.get(t.escapedName)){case 0:return[e.map(function(e){return e.toUpperCase()}),r.map(function(e){return Ud(t,e)})];case 1:return[e.map(function(e){return e.toLowerCase()}),r.map(function(e){return Ud(t,e)})];case 2:return[""===e[0]?e:__spreadArray([e[0].charAt(0).toUpperCase()+e[0].slice(1)],__read(e.slice(1)),!1),""===e[0]?__spreadArray([Ud(t,r[0])],__read(r.slice(1)),!1):r];case 3:return[""===e[0]?e:__spreadArray([e[0].charAt(0).toLowerCase()+e[0].slice(1)],__read(e.slice(1)),!1),""===e[0]?__spreadArray([Ud(t,r[0])],__read(r.slice(1)),!1):r]}return[e,r]}(t,e.texts,e.types)),!1)):268435456&e.flags&&t===e.symbol?e:268435461&e.flags||ef(e)?qd(t,e):Qd(e)?qd(t,Jd(["",""],[e])):e}function Vd(e,t){switch(_J.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 qd(e,t){var r="".concat(yJ(e),",").concat(t.id),n=Ye.get(r);return n||Ye.set(r,n=function(e,t){e=No(268435456,e);return e.type=t,e}(e,t)),n}function Wd(e){if(N)return!1;if(4096&WL(e))return!0;if(1048576&e.flags)return XN(e.types,Wd);if(2097152&e.flags)return dD(e.types,Wd);if(465829888&e.flags){var t=Hu(e);return t!==e&&Wd(t)}return!1}function Hd(e,t){return sR(e)?cR(e):t&&xE(t)?NO(t):void 0}function Kd(e,t){if(8208&t.flags){var r=FA(e.parent,function(e){return!GL(e)})||e.parent;return LE(r)?ME(r)&&xR(e)&&bv(r,e):XN(t.declarations,function(e){return!bE(e)||Ga(e)})}return 1}function Gd(e,t,r,n,a,i){var o,s=a&&212===a.kind?a:void 0,c=a&&bR(a)?void 0:Hd(r,a);if(void 0!==c){if(256&i)return Gg(t,c)||ut;var u=u_(t,c);if(u){if(64&i&&a&&u.declarations&&Ka(u)&&Kd(a,u)&&Xa(null!==(o=null==s?void 0:s.argumentExpression)&&void 0!==o?o:QR(a)?a.indexType:a,u.declarations,c),s){if(Ex(u,s,Fx(s.expression,t.symbol)),Bk(s,u,eO(s)))return void Ua(s.argumentExpression,mA.Cannot_assign_to_0_because_it_is_a_read_only_property,Yo(u));if(8&i&&(ci(a).resolvedSymbol=u),yx(s,u))return _t}u=sc(u);return s&&1!==eO(s)?fg(s,u):a&&QR(a)&&dy(u)?hd([u,gt]):u}if(Wv(t,Xm)&&qM(c)){var _=+c;if(a&&Wv(t,function(e){return!e.target.hasRestElement})&&!(16&i)){var l=Xd(a);if(Xm(t)){if(_<0)return Ua(l,mA.A_tuple_type_cannot_be_indexed_with_a_negative_value),gt;Ua(l,mA.Tuple_type_0_of_length_1_has_no_element_at_index_2,$o(t),dl(t),OA(c))}else Ua(l,mA.Property_0_does_not_exist_on_type_1,OA(c),$o(t))}if(0<=_)return f(g_(t,Ct)),$m(t,_,1&i?xt:void 0)}}if(!(98304&r.flags)&&Hk(r,402665900)){if(131073&t.flags)return t;var d,_=b_(t,r)||g_(t,wt);if(_)return 2&i&&_.keyType!==Ct?void(s&&Ua(s,mA.Type_0_cannot_be_used_to_index_type_1,$o(r),$o(e))):a&&_.keyType===wt&&!Hk(r,12)?(Ua(l=Xd(a),mA.Type_0_cannot_be_used_as_an_index_type,$o(r)),1&i?hd([_.type,xt]):_.type):(f(_),1&i&&!(t.symbol&&384&t.symbol.flags&&r.symbol&&1024&r.flags&&go(r.symbol)===t.symbol)?hd([_.type,xt]):_.type);if(131072&r.flags)return Mt;if(Wd(t))return ut;if(s&&!Gk(t)){if($y(t)){if(N&&384&r.flags)return Sa.add(tP(s,mA.Property_0_does_not_exist_on_type_1,r.value,$o(t))),gt;if(12&r.flags)return hd(vD(iD(t.properties,sc),gt))}return void(t.symbol===Ne&&void 0!==c&&Ne.exports.has(c)&&418&Ne.exports.get(c).flags?Ua(s,mA.Property_0_does_not_exist_on_type_1,OA(c),$o(t)):!N||ee.suppressImplicitAnyIndexErrors||128&i||(void 0!==c&&kx(c,t)?(d=$o(t),Ua(s,mA.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,c,d,d+"["+PF(s.argumentExpression)+"]")):h_(t,Ct)?Ua(s.argumentExpression,mA.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number):(d=void 0)!==c&&(d=Cx(c,t))?void 0!==d&&Ua(s.argumentExpression,mA.Property_0_does_not_exist_on_type_1_Did_you_mean_2,c,$o(t),d):void 0!==(c=function(t,e,r){var n=tO(e)?"set":"get";if(!function(e){if(e=Pu(t,e)){e=Kx(sc(e));return e&&1<=ak(e)&&Ap(r,ek(e,0))}}(n))return;e=IL(e.expression);void 0===e?e=n:e+="."+n;return e}(t,s,r))?Ua(s,mA.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1,$o(t),c):(d=void 0,1024&r.flags?d=$L(void 0,mA.Property_0_does_not_exist_on_type_1,"["+$o(r)+"]",$o(t)):8192&r.flags?(c=Qi(r.symbol,s),d=$L(void 0,mA.Property_0_does_not_exist_on_type_1,"["+c+"]",$o(t))):128&r.flags||256&r.flags?d=$L(void 0,mA.Property_0_does_not_exist_on_type_1,r.value,$o(t)):12&r.flags&&(d=$L(void 0,mA.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,$o(r),$o(t))),d=$L(d,mA.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1,$o(n),$o(t)),Sa.add(nP(CF(s),s,d)))))}}return Wd(t)?ut:(a&&(l=Xd(a),384&r.flags?Ua(l,mA.Property_0_does_not_exist_on_type_1,""+r.value,$o(t)):12&r.flags?Ua(l,mA.Type_0_has_no_matching_index_signature_for_type_1,$o(t),$o(r)):Ua(l,mA.Type_0_cannot_be_used_as_an_index_type,$o(r))),gs(r)?r:void 0);function f(e){e&&e.isReadonly&&s&&(tO(s)||sO(s))&&Ua(s,mA.Index_signature_in_type_0_only_permits_reading,$o(t))}}function Xd(e){return 212===e.kind?e.argumentExpression:199===e.kind?e.indexType:167===e.kind?e.expression:e}function Qd(e){return 2097152&e.flags?dD(e.types,function(e){return!!(101248&e.flags)||Qd(e)}):!!(77&e.flags)||Yd(e)}function Yd(e){return!!(134217728&e.flags)&&XN(e.types,Qd)||!!(268435456&e.flags)&&Qd(e.type)}function Zd(e){return!!tf(e)}function $d(e){return 4194304&tf(e)}function ef(e){return 8388608&tf(e)}function tf(e){return 137363456&e.flags?(2097152&e.objectFlags||(e.objectFlags|=2097152|ED(e.types,function(e,t){return e|tf(t)},0)),12582912&e.objectFlags):33554432&e.flags?(2097152&e.objectFlags||(e.objectFlags|=2097152|tf(e.baseType)|tf(e.constraint)),12582912&e.objectFlags):(58982400&e.flags||Du(e)||Qm(e)?4194304:0)|(331612160&e.flags&&!Yd(e)?8388608:0)}function rf(e,t){return 8388608&e.flags?function(e,t){var r=t?"simplifiedForWriting":"simplifiedForReading";if(e[r])return e[r]===sr?e:e[r];e[r]=sr;var n=rf(e.objectType,t),a=rf(e.indexType,t),i=function(t,e,r){if(1048576&e.flags){e=iD(e.types,function(e){return rf(sf(t,e),r)});return(r?Cd:hd)(e)}}(n,a,t);if(i)return e[r]=i;if(!(465829888&a.flags)){i=nf(n,a,t);if(i)return e[r]=i}if(Qm(n)&&296&a.flags){a=ey(n,8&a.flags?0:n.target.fixedLength,0,t);if(a)return e[r]=a}if(Du(n)&&(!xu(n)||Au(n)))return e[r]=Gv(of(n,e.indexType),function(e){return rf(e,t)});return e[r]=e}(e,t):16777216&e.flags?function(e,t){var r=e.checkType,n=e.extendsType,a=vf(e),i=gf(e);if(131072&i.flags&&df(a)===df(r)){if(1&r.flags||Ap(vp(r),vp(n)))return rf(a,t);if(af(r,n))return Mt}else if(131072&a.flags&&df(i)===df(r)){if(!(1&r.flags)&&Ap(vp(r),vp(n)))return Mt;if(1&r.flags||af(r,n))return rf(i,t)}return e}(e,t):e}function nf(e,t,r){if(1048576&e.flags||2097152&e.flags&&!Rd(e)){var n=iD(e.types,function(e){return rf(sf(e,t),r)});return(2097152&e.flags||r?Cd:hd)(n)}}function af(e,t){return 131072&hd([su(e,t),Mt]).flags}function of(e,t){t=Gf([gu(e)],[t]),t=tp(e.mapper,t);return pp(bu(e.target||e),t)}function sf(e,t,r,n,a,i){return void 0===r&&(r=0),uf(e,t,r,n,a,i)||(n?dt:yt)}function cf(e,t){return Wv(e,function(e){if(384&e.flags){e=cR(e);if(qM(e)){e=+e;return 0<=e&&e<t}}return!1})}function uf(e,t,r,n,a,i){var o,s,c,u,_,l;if(void 0===r&&(r=0),e===lt||t===lt)return lt;if(!Yp(e=n_(e))||98304&t.flags||!Hk(t,12)||(t=wt),ee.noUncheckedIndexedAccess&&32&r&&(r|=1),ef(t)||(n&&199!==n.kind?Qm(e)&&!cf(t,ld(e.target)):$d(e)&&(!Xm(e)||!cf(t,ld(e.target)))||s_(e))){if(3&e.flags)return e;var d=1&r,f=e.id+","+t.id+","+d+il(a,i),p=Xe.get(f);return p||Xe.set(f,(c=e,u=t,_=d,l=a,f=i,(d=Co(8388608)).objectType=c,d.indexType=u,d.accessFlags=_,d.aliasSymbol=l,d.aliasTypeArguments=f,p=d)),p}var m=$u(e);if(!(1048576&t.flags)||16&t.flags)return Gd(e,m,t,t,n,72|r);var y=[],v=!1;try{for(var g=__values(t.types),h=g.next();!h.done;h=g.next()){var x=Gd(e,m,h.value,t,n,r|(v?128:0));if(x)y.push(x);else{if(!n)return;v=!0}}}catch(e){o={error:e}}finally{try{h&&!h.done&&(s=g.return)&&s.call(g)}finally{if(o)throw o.error}}return v?void 0:4&r?Cd(y,a,i):hd(y,1,a,i)}function _f(e){var t,r,n,a=ci(e);return a.resolvedType||(t=Uf(e.objectType),r=Uf(e.indexType),n=Tf(e),a.resolvedType=sf(t,r,0,e,n,Sf(n))),a.resolvedType}function lf(e){var t,r=ci(e);return r.resolvedType||((t=Eo(32,e.symbol)).declaration=e,t.aliasSymbol=Tf(e),t.aliasTypeArguments=Sf(t.aliasSymbol),hu(r.resolvedType=t)),r.resolvedType}function df(e){return 33554432&e.flags?df(e.baseType):8388608&e.flags&&(33554432&e.objectType.flags||33554432&e.indexType.flags)?sf(df(e.objectType),df(e.indexType)):e}function ff(e){var t=Mu(e);return t&&($d(t)||ef(t))?ap(e):e}function pf(e){return qR(e)&&0<HN(e.elements)&&!dD(e.elements,function(e){return HR(e)||KR(e)||WR(e)&&!(!e.questionToken&&!e.dotDotDotToken)})}function mf(e,t){return Zd(e)||t&&Xm(e)&&dD(dd(e),Zd)}function yf(a,i,o,s){for(var e,t,c=0;;){if(1e3===c)return Ua(w,mA.Type_instantiation_is_excessively_deep_and_possibly_infinite),dt;var r=pp(df(a.checkType),i),n=pp(a.extendsType,i);if(r===dt||n===dt)return dt;if(r===lt||n===lt)return lt;var u=pf(a.node.checkType)&&pf(a.node.extendsType)&&HN(a.node.checkType.elements)===HN(a.node.extendsType.elements),_=mf(r,u),l=void 0;if(a.inferTypeParameters){var d=oD(a.inferTypeParameters,ff),f=d!==a.inferTypeParameters?Gf(a.inferTypeParameters,d):void 0,p=Cy(d,void 0,0);if(f)for(var m=tp(i,f),y=0;y<d.length;y++)d[y]!==a.inferTypeParameters[y]&&(d[y].mapper=m);_||Qy(p.inferences,r,pp(n,f),1536);p=tp(f,p.mapper),l=i?tp(p,i):p}n=l?pp(a.extendsType,l):n;if(!_&&!mf(n,u)){if(!(3&n.flags)&&(1&r.flags||!Ap(yp(r),yp(n)))){1&r.flags&&(t=t||[]).push(pp(Uf(a.node.trueType),l||i));_=Uf(a.node.falseType);if(16777216&_.flags){u=_.root;if(u.node.parent===a.node&&(!u.isDistributive||u.checkType===a.checkType)){a=u;continue}if(v(_,i))continue}e=pp(_,i);break}if(3&n.flags||Ap(vp(r),vp(n))){r=Uf(a.node.trueType),n=l||i;if(v(r,n))continue;e=pp(r,n);break}}(e=Co(16777216)).root=a,e.checkType=pp(a.checkType,i),e.extendsType=pp(a.extendsType,i),e.mapper=i,e.combinedMapper=l,e.aliasSymbol=o||a.aliasSymbol,e.aliasTypeArguments=o?s:Wf(a.aliasTypeArguments,i);break}return t?hd(vD(t,e)):e;function v(e,t){if(16777216&e.flags&&t){var r=e.root;if(r.outerTypeParameters){var n=tp(e.mapper,t),e=iD(r.outerTypeParameters,function(e){return Xf(e,n)}),t=Gf(r.outerTypeParameters,e),e=r.isDistributive?Xf(r.checkType,t):void 0;if(!(e&&e!==r.checkType&&1179648&e.flags))return i=t,s=o=void 0,(a=r).aliasSymbol&&c++,1}}}}function vf(e){return e.resolvedTrueType||(e.resolvedTrueType=pp(Uf(e.root.node.trueType),e.mapper))}function gf(e){return e.resolvedFalseType||(e.resolvedFalseType=pp(Uf(e.root.node.falseType),e.mapper))}function hf(e){var t;return e.locals&&e.locals.forEach(function(e){262144&e.flags&&(t=vD(t,Pc(e)))}),t}function xf(e){var t,r=ci(e);if(!r.resolvedType){if(!yP(e))return Ua(e.argument,mA.String_literal_expected),r.resolvedSymbol=it,r.resolvedType=dt;var n=e.isTypeOf?111551:16777216&e.flags?900095:788968,a=$i(e,e.argument.literal);if(!a)return r.resolvedSymbol=it,r.resolvedType=dt;var i=!(null==(t=a.exports)||!t.get("export=")),a=no(a,!1);if(EF(e.qualifier))a.flags&n?r.resolvedType=bf(e,r,a,n):(Ua(e,111551==n?mA.Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:mA.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),r.resolvedSymbol=it,r.resolvedType=dt);else{for(var o,s=function e(t){return xR(t)?[t]:vD(e(t.left),t.right)}(e.qualifier),c=a;o=s.shift();){var u=s.length?1920:n,_=mo(zi(c)),l=e.isTypeOf||cI(e)&&i?u_(sc(_),o.escapedText,!1,!0):void 0,u=e.isTypeOf?void 0:_i(_o(_),o.escapedText,u),l=null!=u?u:l;if(!l)return Ua(o,mA.Namespace_0_has_no_exported_member_1,Qi(c),QF(o)),r.resolvedType=dt;ci(o).resolvedSymbol=l,c=ci(o.parent).resolvedSymbol=l}r.resolvedType=bf(e,r,c,n)}}return r.resolvedType}function bf(e,t,r,n){var a=zi(r);return t.resolvedSymbol=a,111551===n?qb(sc(r),e):gl(e,a)}function kf(e){var t,r,n=ci(e);return n.resolvedType||(t=Tf(e),0!==Gc(e.symbol).size||t?((r=Eo(16,e.symbol)).aliasSymbol=t,r.aliasTypeArguments=Sf(t),xB(e)&&e.isArrayType&&(r=Yl(r)),n.resolvedType=r):n.resolvedType=tr),n.resolvedType}function Tf(e){for(var t=e.parent;GR(t)||_B(t)||XR(t)&&148===t.operator;)t=t.parent;return VI(t)?yo(t):void 0}function Sf(e){return e?mc(e):void 0}function wf(e){return!!(524288&e.flags)&&!Du(e)}function Cf(e){return Gp(e)||!!(474058748&e.flags)}function Nf(e,_){if(!(1048576&e.flags))return e;if(XN(e.types,Cf))return QN(e.types,Gp)||$t;var t=QN(e.types,function(e){return!Cf(e)});return!t||QN(e.types,function(e){return e!==t&&!Cf(e)})?e:function(e){var t,r,n=vF();try{for(var a=__values(Ou(e)),i=a.next();!i.done;i=a.next()){var o,s,c=i.value;24&JL(c)||Af(c)&&(o=65536&c.flags&&!(32768&c.flags),(s=Qa(16777220,c.escapedName,mu(c)|(_?8:0))).links.type=o?gt:Fs(sc(c),!0),s.declarations=c.declarations,s.links.nameType=si(c).nameType,s.links.syntheticOrigin=c,n.set(c.escapedName,s))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}var u=Mo(e.symbol,n,WN,WN,v_(e));return u.objectFlags|=131200,u}(t)}function Df(t,r,n,a,i){var o,e,s,c;if(1&t.flags||1&r.flags)return ut;if(2&t.flags||2&r.flags)return yt;if(131072&t.flags)return r;if(131072&r.flags)return t;if(1048576&(t=Nf(t,i)).flags)return Dd([t,r])?Gv(t,function(e){return Df(e,r,n,a,i)}):dt;if(1048576&(r=Nf(r,i)).flags)return Dd([t,r])?Gv(r,function(e){return Df(t,e,n,a,i)}):dt;if(473960444&r.flags)return t;if($d(t)||$d(r)){if(Gp(t))return r;if(2097152&t.flags){var u=t.types,_=u[u.length-1];if(wf(_)&&wf(r))return Cd(fD(u.slice(0,u.length-1),[Df(_,r,n,a,i)]))}return Cd([t,r])}var l=vF(),d=new Set,_=t===$t?v_(r):ou([t,r]);try{for(var f=__values(Ou(r)),p=f.next();!p.done;p=f.next())24&JL(v=p.value)?d.add(v.escapedName):Af(v)&&l.set(v.escapedName,Ef(v,i))}catch(e){o={error:e}}finally{try{p&&!p.done&&(e=f.return)&&e.call(f)}finally{if(o)throw o.error}}try{for(var m=__values(Ou(t)),y=m.next();!y.done;y=m.next()){var v,g,h,x,b,k,T=y.value;!d.has(T.escapedName)&&Af(T)&&(l.has(T.escapedName)?(k=sc(v=l.get(T.escapedName)),16777216&v.flags&&(g=fD(T.declarations,v.declarations),h=Qa(4|16777216&T.flags,T.escapedName),b=fy(x=sc(T)),k=fy(k),h.links.type=b===k?x:hd([x,k],2),h.links.leftSpread=T,h.links.rightSpread=v,h.declarations=g,h.links.nameType=si(T).nameType,l.set(T.escapedName,h))):l.set(T.escapedName,Ef(T,i)))}}catch(e){s={error:e}}finally{try{y&&!y.done&&(c=m.return)&&c.call(m)}finally{if(s)throw s.error}}_=Mo(n,l,WN,WN,oD(_,function(e){return t=i,(e=e).isReadonly!==t?Q_(e.keyType,e.type,t,e.declaration):e;var t}));return _.objectFlags|=2228352|a,_}function Af(e){var t;return!(dD(e.declarations,yE)||106496&e.flags&&null!=(t=e.declarations)&&t.some(function(e){return NE(e.parent)}))}function Ef(e,t){var r=65536&e.flags&&!(32768&e.flags);if(!r&&t===jk(e))return e;t=Qa(4|16777216&e.flags,e.escapedName,mu(e)|(t?8:0));return t.links.type=r?gt:sc(e),t.declarations=e.declarations,t.links.nameType=si(e).nameType,t.links.syntheticOrigin=e,t}function Ff(e,t,r,n){r=No(e,r);return r.value=t,r.regularType=n||r,r}function Pf(e){var t;return 2976&e.flags?(e.freshType||((t=Ff(e.flags,e.value,e.symbol,e)).freshType=t,e.freshType=t),e.freshType):e}function If(e){return 2976&e.flags?e.regularType:1048576&e.flags?e.regularType||(e.regularType=Gv(e,If)):e}function Of(e){return!!(2976&e.flags)&&e.freshType===e}function Lf(e){return We.get(e)||(We.set(e,e=Ff(128,e)),e)}function Mf(e){return He.get(e)||(He.set(e,e=Ff(256,e)),e)}function Rf(e){var t=EM(e);return Ke.get(t)||(Ke.set(t,e=Ff(2048,e)),e)}function jf(e){if(NP(e)){var t=CP(e)?vo(e.left):vo(e);if(t){e=si(t);return e.uniqueESSymbolType||(e.uniqueESSymbolType=((t=No(8192,t=t)).escapedName="__@".concat(t.symbol.escapedName,"@").concat(yJ(t.symbol)),t))}}return Ot}function Bf(e){var t,r,n=ci(e);return n.resolvedType||(n.resolvedType=(r=RP(t=e,!1,!1),!(e=r&&r.parent)||!NE(e)&&264!==e.kind||lL(r)||IR(r)&&!cO(t,r.body)?e&&nj(e)&&mj(e.parent)&&6===NI(e.parent)||(e=16777216&t.flags?XI(t):void 0)&&_j(e)&&mj(e.parent)&&3===NI(e.parent)?wc(vo(e.parent.left).parent).thisType:Nb(r)&&cO(t,r.body)?wc(yo(r)).thisType:(Ua(t,mA.A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface),dt):wc(yo(e)).thisType)),n.resolvedType}function Jf(e){return Uf(zf(e.type)||e.type)}function zf(e){switch(e.kind){case 196:return zf(e.type);case 189:if(1===e.elements.length&&(191===(e=e.elements[0]).kind||202===e.kind&&e.dotDotDotToken))return zf(e.type);break;case 188:return e.elementType}}function Uf(e){return kl(Vf(e),e)}function Vf(e){switch(e.kind){case 133:case 319:case 320:return ut;case 159:return yt;case 154:return wt;case 150:return Ct;case 163:return Nt;case 136:return It;case 155:return Ot;case 116:return Lt;case 157:return gt;case 106:return Tt;case 146:return Mt;case 151:return 524288&e.flags&&!N?ut:Jt;case 141:return mt;case 197:case 110:return Bf(e);case 201:return function(e){if(106===e.literal.kind)return Tt;var t=ci(e);return t.resolvedType||(t.resolvedType=If(TT(e.literal))),t.resolvedType}(e);case 183:return Cl(e);case 182:return e.assertsModifier?Lt:It;case 233:return Cl(e);case 186:return Dl(e);case 188:case 189:return(m=ci(d=e)).resolvedType||((f=ed(d))===ar?m.resolvedType=$t:189===d.kind&&dD(d.elements,function(e){return!!(8&Zl(e))})||!rd(d)?(p=188===d.kind?[Uf(d.elementType)]:iD(d.elements,Uf),m.resolvedType=od(f,p)):m.resolvedType=189===d.kind&&0===d.elements.length?f:_l(f,d,void 0)),m.resolvedType;case 190:return Fs(Uf(e.type),!0);case 192:return(l=ci(u=e)).resolvedType||(_=Tf(u),l.resolvedType=hd(iD(u.types,Uf),1,_,Sf(_))),l.resolvedType;case 193:return(c=ci(u=e)).resolvedType||(_=Tf(u),u=2===(l=iD(u.types,Uf)).length&&(Ed(l[0],l[1])||Ed(l[1],l[0])),c.resolvedType=Cd(l,_,Sf(_),u)),c.resolvedType;case 321:return s=Uf((s=e).type),te?ay(s,65536):s;case 323:return Fs(Uf(e.type));case 202:return(o=ci(i=e)).resolvedType||(o.resolvedType=i.dotDotDotToken?Jf(i):Fs(Uf(i.type),!0,!!i.questionToken));case 196:case 322:case 316:return Uf(e.type);case 191:return Jf(e);case 325:return function(e){var t=Uf(e.type),r=e.parent,n=e.parent.parent;if(_B(e.parent)&&wB(n)){var a=XI(n),e=TB(n.parent.parent);if(a||e){a=CD((e?n.parent.parent.typeExpression:a).parameters),n=KI(n);if(!a||n&&a.symbol===n&&uF(a))return Yl(t)}}if(CR(r)&&gB(r.parent))return Yl(t);return Fs(t)}(e);case 184:case 185:case 187:case 329:case 324:case 330:return kf(e);case 198:return function(e){var t=ci(e);if(!t.resolvedType)switch(e.operator){case 143:t.resolvedType=jd(Uf(e.type));break;case 158:t.resolvedType=155===e.type.kind?jf(nO(e.parent)):dt;break;case 148:t.resolvedType=Uf(e.type);break;default:rA.assertNever(e.operator)}return t.resolvedType}(e);case 199:return _f(e);case 200:return lf(e);case 194:return(a=ci(n=e)).resolvedType||(c=Uf(n.checkType),o=Sf(s=Tf(n)),i=fc(n,!0),i=o?i:nD(i,function(e){return sp(e,n)}),o={node:n,checkType:c,extendsType:Uf(n.extendsType),isDistributive:!!(262144&c.flags),inferTypeParameters:hf(n),outerTypeParameters:i,instantiations:void 0,aliasSymbol:s,aliasTypeArguments:o},a.resolvedType=yf(o,void 0),i&&(o.instantiations=new Map,o.instantiations.set(al(i),a.resolvedType))),a.resolvedType;case 195:return(r=ci(a=e)).resolvedType||(r.resolvedType=Fc(yo(a.typeParameter))),r.resolvedType;case 203:return(t=ci(r=e)).resolvedType||(t.resolvedType=Jd(__spreadArray([r.head.text],__read(iD(r.templateSpans,function(e){return e.literal.text})),!1),iD(r.templateSpans,function(e){return Uf(e.type)}))),t.resolvedType;case 205:return xf(e);case 80:case 166:case 211:t=kC(e);return t?Pc(t):dt;default:return dt}var t,r,n,a,i,o,s,c,u,_,l,d,f,p,m}function qf(e,t,r){if(e&&e.length)for(var n=0;n<e.length;n++){var a=e[n],i=r(a,t);if(a!==i){var o=0===n?[]:e.slice(0,n);for(o.push(i),n++;n<e.length;n++)o.push(r(e[n],t));return o}}return e}function Wf(e,t){return qf(e,t,pp)}function Hf(e,t){return qf(e,t,ip)}function Kf(e,t){return qf(e,t,gp)}function Gf(e,t){return 1===e.length?Qf(e[0],t?t[0]:ut):(e=e,t=t,rA.attachDebugPrototypeIfDebug({kind:1,sources:e,targets:t}))}function Xf(e,t){switch(t.kind){case 0:return e===t.source?t.target:e;case 1:for(var r=t.sources,n=t.targets,a=0;a<r.length;a++)if(e===r[a])return n?n[a]:ut;return e;case 2:for(r=t.sources,n=t.targets,a=0;a<r.length;a++)if(e===r[a])return n[a]();return e;case 3:return t.func(e);case 4:case 5:var i=Xf(e,t.mapper1);return(i!==e&&4===t.kind?pp:Xf)(i,t.mapper2)}}function Qf(e,t){return rA.attachDebugPrototypeIfDebug({kind:0,source:e,target:t})}function Yf(e,t){return rA.attachDebugPrototypeIfDebug({kind:3,func:e,debugInfo:rA.isDebugging?t:void 0})}function Zf(e,t){return rA.attachDebugPrototypeIfDebug({kind:2,sources:e,targets:t})}function $f(e,t,r){return rA.attachDebugPrototypeIfDebug({kind:e,mapper1:t,mapper2:r})}function ep(e){return Gf(e,void 0)}function tp(e,t){return e?$f(4,e,t):t}function rp(e,t,r){return r?$f(5,Qf(e,t),r):Qf(e,t)}function np(e,t,r){return e?$f(5,e,Qf(t,r)):Qf(t,r)}function ap(e){var t=Fo(e.symbol);return t.target=e,t}function ip(e,t,r){var n,a,i;if(e.typeParameters&&!r){i=iD(e.typeParameters,ap),t=tp(Gf(e.typeParameters,i),t);try{for(var o=__values(i),s=o.next();!s.done;s=o.next())s.value.mapper=t}catch(e){n={error:e}}finally{try{s&&!s.done&&(a=o.return)&&a.call(o)}finally{if(n)throw n.error}}}r=Zc(e.declaration,i,e.thisParameter&&op(e.thisParameter,t),qf(e.parameters,t,op),void 0,void 0,e.minArgumentCount,167&e.flags);return r.target=e,r.mapper=t,r}function op(e,t){var r=si(e);if(r.type&&!Iy(r.type))return e;1&BL(e)&&(e=r.target,t=tp(r.mapper,t));var n=Qa(e.flags,e.escapedName,1|53256&BL(e));return n.declarations=e.declarations,n.parent=e.parent,n.links.target=e,n.links.mapper=t,e.valueDeclaration&&(n.valueDeclaration=e.valueDeclaration),r.nameType&&(n.links.nameType=r.nameType),n}function sp(a,e){if(a.symbol&&a.symbol.declarations&&1===a.symbol.declarations.length){for(var t=a.symbol.declarations[0].parent,r=e;r!==t;r=r.parent)if(!r||241===r.kind||194===r.kind&&HB(r.extendsType,i))return!0;return i(e)}return!0;function i(e){switch(e.kind){case 197:return!!a.isThisType;case 80:return!a.isThisType&&vP(e)&&!(183===(r=e).parent.kind&&r.parent.typeArguments&&r===r.parent.typeName||205===r.parent.kind&&r.parent.typeArguments&&r===r.parent.qualifier)&&Vf(e)===a;case 186:var t=EL(e.exprName);if(!$O(t)){var r=sv(t),t=a.symbol.declarations[0],n=168===t.kind?t.parent:a.isThisType?t:void 0;if(r.declarations&&n)return dD(r.declarations,function(e){return cO(e,n)})||dD(e.typeArguments,i)}return!0;case 174:case 173:return!e.type&&!!e.body||dD(e.typeParameters,i)||dD(e.parameters,i)||!!e.type&&i(e.type)}var r;return!!HB(e,i)}}function cp(e){e=hu(e);if(4194304&e.flags){e=df(e.type);if(262144&e.flags)return e}}function up(d,f,e,t){var p=cp(d);if(p){var r=pp(p,f);if(p!==r)return Xv(n_(r),function(e){if(61603843&e.flags&&e!==lt&&!hs(e)){if(!d.declaration.nameType){var t=void 0;if(Dm(e)||1&e.flags&&ps(p,4)<0&&(t=Mu(p))&&Wv(t,Em))return function(e,t,r){r=lp(t,Ct,!0,r);return hs(r)?dt:Yl(r,_p(Am(e),wu(t)))}(e,d,rp(p,e,f));if(Qm(e))return s=d,c=p,u=f,_=(o=e).target.elementFlags,l=iD(dd(o),function(e,t){t=8&_[t]?e:4&_[t]?Yl(e):ad([e],[_[t]]);return t===c?s:up(s,rp(c,t,u))}),o=_p(o.target.readonly,wu(s)),ad(l,iD(l,function(e){return 8}),o);if(Xm(e))return n=d,a=rp(p,r=e,f),i=r.target.elementFlags,t=iD(dd(r),function(e,t){return lp(n,Lf(""+t),!!(2&i[t]),a)}),l=wu(n),o=4&l?iD(i,function(e){return 1&e?2:e}):8&l?iD(i,function(e){return 2&e?1:e}):i,l=_p(r.target.readonly,l),eD(t,dt)?dt:ad(t,o,l,r.target.labeledElementDeclarations)}return dp(d,rp(p,e,f))}var r,n,a,i,o,s,c,u,_,l;return e},e,t)}return pp(hu(d),f)===lt?lt:dp(d,f,e,t)}function _p(e,t){return!!(1&t)||!(2&t)&&e}function lp(e,t,r,n){t=np(n,gu(e),t),t=pp(bu(e.target||e),t),e=wu(e);return te&&4&e&&!Wk(t,49152)?iy(t,!0):te&&8&e&&r?Cv(t,524288):t}function dp(e,t,r,n){var a,i,o=Eo(-1572865&e.objectFlags|64,e.symbol);return 32&e.objectFlags&&(o.declaration=e.declaration,i=ap(a=gu(e)),t=tp(Qf(a,o.typeParameter=i),t),i.mapper=t),8388608&e.objectFlags&&(o.node=e.node),o.target=e,o.mapper=t,o.aliasSymbol=r||e.aliasSymbol,o.aliasTypeArguments=r?n:Wf(e.aliasTypeArguments,t),o.objectFlags|=o.aliasTypeArguments?ol(o.aliasTypeArguments):0,o}function fp(e,t,r,n){var a=e.root;if(a.outerTypeParameters){var i,o,s=iD(a.outerTypeParameters,function(e){return Xf(e,t)}),c=al(s)+il(r,n),u=a.instantiations.get(c);return u||(i=Gf(a.outerTypeParameters,s),o=a.checkType,u=(s=a.isDistributive?Xf(o,i):void 0)&&o!==s&&1179648&s.flags?Xv(n_(s),function(e){return yf(a,rp(o,e,i))},r,n):yf(a,i,r,n),a.instantiations.set(c,u)),u}return e}function pp(e,t){return e&&t?mp(e,t,void 0,void 0):e}function mp(e,t,r,n){if(!Iy(e))return e;if(100===_||5e6<=u)return null!=iA&&iA.instant(iA.Phase.CheckTypes,"instantiateType_DepthLimit",{typeId:e.id,instantiationDepth:_,instantiationCount:u}),Ua(w,mA.Type_instantiation_is_excessively_deep_and_possibly_infinite),dt;s++,u++,_++;n=function(e,t,r,n){var a=e.flags;if(262144&a)return Xf(e,t);if(524288&a){var i=e.objectFlags;if(52&i){if(4&i&&!e.node){var o=e.resolvedTypeArguments,s=Wf(o,t);return s!==o?od(e.target,s):e}return 1024&i?function(e,t){var r=pp(e.mappedType,t);if(!(32&WL(r)))return e;var n=pp(e.constraintType,t);if(!(4194304&n.flags))return e;n=My(pp(e.source,t),r,n);if(n)return n;return e}(e,t):function(e,t,r,n){var a,i,o=ci(_=4&e.objectFlags||8388608&e.objectFlags?e.node:e.symbol.declarations[0]),s=4&e.objectFlags?o.resolvedType:64&e.objectFlags?e.target:e,c=o.outerTypeParameters;if(c||(a=fc(_,!0),Nb(_)&&(a=gD(a,T_(_))),c=a||WN,i=8388612&e.objectFlags?[_]:e.symbol.declarations,c=(8388612&s.objectFlags||8192&s.symbol.flags||2048&s.symbol.flags)&&!s.aliasTypeArguments?nD(c,function(t){return dD(i,function(e){return sp(t,e)})}):c,o.outerTypeParameters=c),c.length){var u=tp(e.mapper,t),_=iD(c,function(e){return Xf(e,u)}),o=r||e.aliasSymbol,r=r?n:Wf(e.aliasTypeArguments,t),n=al(_)+il(o,r);s.instantiations||(s.instantiations=new Map,s.instantiations.set(al(c)+il(s.aliasSymbol,s.aliasTypeArguments),s));t=s.instantiations.get(n);return t||(c=Gf(c,_),t=4&s.objectFlags?_l(e.target,e.node,c,o,r):(32&s.objectFlags?up:dp)(s,c,o,r),s.instantiations.set(n,t),n=WL(t),138117121&t.flags&&!(524288&n)&&(_=dD(_,Iy),524288&WL(t)||(t.objectFlags|=52&n?524288|(_?1048576:0):_?0:524288))),t}return e}(e,t,r,n)}return e}if(3145728&a){var s=1048576&e.flags?e.origin:void 0,c=(s&&3145728&s.flags?s:e).types,i=Wf(c,t);if(i===c&&r===e.aliasSymbol)return e;var u=r||e.aliasSymbol,c=r?n:Wf(e.aliasTypeArguments,t);return 2097152&a||s&&2097152&s.flags?Cd(i,u,c):hd(i,1,u,c)}if(4194304&a)return jd(pp(e.type,t));if(134217728&a)return Jd(e.texts,Wf(e.types,t));if(268435456&a)return Ud(e.symbol,pp(e.type,t));if(8388608&a){u=r||e.aliasSymbol,c=r?n:Wf(e.aliasTypeArguments,t);return sf(pp(e.objectType,t),pp(e.indexType,t),e.accessFlags,void 0,u,c)}if(16777216&a)return fp(e,tp(e.mapper,t),r,n);if(33554432&a){a=pp(e.baseType,t),t=pp(e.constraint,t);return 8650752&a.flags&&Zd(t)?hl(a,t):3&t.flags||Ap(vp(a),vp(t))?a:8650752&a.flags?hl(a,t):Cd([t,a])}return e}(e,t,r,n);return _--,n}function yp(e){return 402915327&e.flags?e:e.permissiveInstantiation||(e.permissiveInstantiation=pp(e,Gt))}function vp(e){return 402915327&e.flags?e:e.restrictiveInstantiation||(e.restrictiveInstantiation=pp(e,Kt),e.restrictiveInstantiation.restrictiveInstantiation=e.restrictiveInstantiation,e.restrictiveInstantiation)}function gp(e,t){return Q_(e.keyType,pp(e.type,t),e.isReadonly,e.declaration)}function hp(e){switch(rA.assert(174!==e.kind||AP(e)),e.kind){case 218:case 219:case 174:case 262:return xp(e);case 210:return dD(e.properties,hp);case 209:return dD(e.elements,hp);case 227:return hp(e.whenTrue)||hp(e.whenFalse);case 226:return(57===e.operatorToken.kind||61===e.operatorToken.kind)&&(hp(e.left)||hp(e.right));case 303:return hp(e.initializer);case 217:return hp(e.expression);case 292:return dD(e.properties,hp)||Yj(e.parent)&&dD(e.parent.parent.children,hp);case 291:var t=e.initializer;return!!t&&hp(t);case 294:t=e.expression;return!!t&&hp(t)}return!1}function xp(e){return JM(e)||function(e){if(e.typeParameters||aL(e)||!e.body)return!1;return 241===e.body.kind?!!gP(e.body,function(e){return!!e.expression&&hp(e.expression)}):hp(e.body)}(e)}function bp(e){return(VM(e)||AP(e))&&xp(e)}function kp(e){if(524288&e.flags){var t=Eu(e);if(t.constructSignatures.length||t.callSignatures.length){var r=Eo(16,e.symbol);return r.members=t.members,r.properties=t.properties,r.callSignatures=WN,r.constructSignatures=WN,r.indexInfos=WN,r}}else if(2097152&e.flags)return Cd(iD(e.types,kp));return e}function Tp(e,t){return em(e,t,Fa)}function Sp(e,t){return em(e,t,Fa)?-1:0}function wp(e,t){return em(e,t,Aa)?-1:0}function Cp(e,t){return em(e,t,Na)?-1:0}function Np(e,t){return em(e,t,Na)}function Dp(e,t){return em(e,t,Da)}function Ap(e,t){return em(e,t,Aa)}function Ep(t,r){return 1048576&t.flags?XN(t.types,function(e){return Ep(e,r)}):1048576&r.flags?dD(r.types,function(e){return Ep(t,e)}):2097152&t.flags?dD(t.types,function(e){return Ep(e,r)}):58982400&t.flags?Ep(Vu(t)||yt,r):Xp(r)?!!(67633152&t.flags):r===gr?!!(67633152&t.flags)&&!Xp(t):r===hr?!!(524288&t.flags)&&Sv(t):lc(t,_c(r))||Dm(r)&&!Am(r)&&Ep(t,Tr)}function Fp(e,t){return em(e,t,Ea)}function Pp(e,t){return Fp(e,t)||Fp(t,e)}function Ip(e,t,r,n,a,i){return nm(e,t,Aa,r,n,a,i)}function Op(e,t,r,n,a,i){return Lp(e,t,Aa,r,n,a,i,void 0)}function Lp(e,t,r,n,a,i,o,s){return!!em(e,t,r)||(!n||!Rp(a,e,t,r,i,o,s))&&nm(e,t,r,n,i,o,s)}function Mp(e){return!!(16777216&e.flags||2097152&e.flags&&dD(e.types,Mp))}function Rp(e,t,r,n,a,i,o){if(!e||Mp(r))return!1;if(!nm(t,r,n,void 0)&&function(e,t,r,n,a,i,o){var s,c,u=l_(t,0),_=l_(t,1);try{for(var l=__values([_,u]),d=l.next();!d.done;d=l.next()){var f=d.value;if(dD(f,function(e){e=j_(e);return!(131073&e.flags)&&nm(e,r,n,void 0)})){var p=o||{};return Ip(t,r,e,a,i,p),SM(p.errors[p.errors.length-1],tP(e,f===_?mA.Did_you_mean_to_use_new_with_this_expression:mA.Did_you_mean_to_call_this_expression)),!0}}}catch(e){s={error:e}}finally{try{d&&!d.done&&(c=l.return)&&c.call(l)}finally{if(s)throw s.error}}return!1}(e,t,r,n,a,i,o))return!0;switch(e.kind){case 234:if(!fi(e))break;case 294:case 217:return Rp(e.expression,t,r,n,a,i,o);case 226:switch(e.operatorToken.kind){case 64:case 28:return Rp(e.right,t,r,n,a,i,o)}break;case 210:return s=e,c=t,_=n,l=i,d=o,!(402915324&(u=r).flags)&&Jp(function(t){var r,n,a,i,o,s;return __generator(this,function(e){switch(e.label){case 0:if(!HN(t.properties))return[2];e.label=1;case 1:e.trys.push([1,10,11,12]),r=__values(t.properties),n=r.next(),e.label=2;case 2:if(n.done)return[3,9];if(sB(a=n.value))return[3,8];if(!(i=Ld(yo(a),8576))||131072&i.flags)return[3,8];switch(a.kind){case 178:case 177:case 174:case 304:return[3,3];case 303:return[3,5]}return[3,7];case 3:return[4,{errorNode:a.name,innerExpression:void 0,nameType:i}];case 4:return e.sent(),[3,8];case 5:return[4,{errorNode:a.name,innerExpression:a.initializer,nameType:i,errorMessage:ZF(a.name)?mA.Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1:void 0}];case 6:return e.sent(),[3,8];case 7:rA.assertNever(a),e.label=8;case 8:return n=r.next(),[3,2];case 9:return[3,12];case 10:return o=e.sent(),o={error:o},[3,12];case 11:try{n&&!n.done&&(s=r.return)&&s.call(r)}finally{if(o)throw o.error}return[7];case 12:return[2]}})}(s),c,u,_,l,d);case 209:return function(e,t,r,n,a,i){if(402915324&r.flags)return!1;if(Rm(t))return Jp(Up(e,r),t,r,n,a,i);sh(e,r,!1);t=gh(e,1,!0);if(ch(),Rm(t))return Jp(Up(e,r),t,r,n,a,i);return!1}(e,t,r,n,i,o);case 292:return function(a,e,i,t,r,n){var o,s=Jp(function(t){var r,n,a,i,o;return __generator(this,function(e){switch(e.label){case 0:if(!HN(t.properties))return[2];e.label=1;case 1:e.trys.push([1,6,7,8]),r=__values(t.properties),n=r.next(),e.label=2;case 2:return n.done?[3,5]:tB(a=n.value)||Nh(aR(a.name))?[3,4]:[4,{errorNode:a.name,innerExpression:a.initializer,nameType:Lf(aR(a.name))}];case 3:e.sent(),e.label=4;case 4:return n=r.next(),[3,2];case 5:return[3,8];case 6:return i=e.sent(),i={error:i},[3,8];case 7:try{n&&!n.done&&(o=r.return)&&o.call(r)}finally{if(i)throw i.error}return[7];case 8:return[2]}})}(a),e,i,t,r,n);if(Yj(a.parent)&&Xj(a.parent.parent)){var c=a.parent.parent,u=jh(Mh(a)),_=void 0===u?"children":OA(u),l=Lf(_),d=sf(i,l),f=BO(c.children);if(!HN(f))return s;var p,m,y,v=1<HN(f),g=void 0,h=void 0,u=ql(!1);h=u!==ar?(p=Ql(ut),g=Hv(d,function(e){return Ap(e,p)}),Hv(d,function(e){return!Ap(e,p)})):(g=Hv(d,jm),Hv(d,function(e){return!jm(e)})),v?g!==Mt?(u=ad(Eh(c,0)),v=function(t,r){var n,a,i,o;return __generator(this,function(e){switch(e.label){case 0:if(!HN(t.children))return[2];a=n=0,e.label=1;case 1:return a<t.children.length?(i=t.children[a],o=Mf(a-n),(o=zp(i,o,r))?[4,o]:[3,3]):[3,5];case 2:return e.sent(),[3,4];case 3:n++,e.label=4;case 4:return a++,[3,1];case 5:return[2]}})}(c,x),s=function(e,t,r,n,a,i){for(var o=Hv(r,jm),r=Hv(r,function(e){return!jm(e)}),s=r!==Mt?XS(13,0,r,void 0):void 0,c=!1,u=e.next();!u.done;u=e.next()){var _,l=u.value,d=l.errorNode,f=l.innerExpression,p=l.nameType,m=l.errorMessage,y=s,v=o!==Mt?jp(t,o,p):void 0;!v||8388608&v.flags||(y=s?hd([s,v]):v),!y||(l=uf(t,p))&&(v=Hd(p,void 0),nm(l,y,n,void 0)||(p=f&&Rp(f,l,y,n,void 0,a,i),c=!0,p||(p=i||{},f=f?Bp(f,l):l,re&&om(f,y)?(_=tP(d,mA.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target,$o(f),$o(y)),Sa.add(_),p.errors=[_]):(_=!!(v&&16777216&(u_(o,v)||it).flags),v=!!(v&&16777216&(u_(t,v)||it).flags),y=ly(y,_),l=ly(l,_&&v),nm(f,y,n,d,m,a,p)&&f!==l&&nm(l,y,n,d,m,a,p)))))}return c}(v,u,g,t,r,n)||s):em(sf(e,l),d,t)||(s=!0,y=Ua(c.openingElement.tagName,mA.This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided,_,$o(d)),n&&n.skipLogging&&(n.errors||(n.errors=[])).push(y)):h!==Mt?(m=zp(f[0],l,x))&&(s=Jp(function(){return __generator(this,function(e){switch(e.label){case 0:return[4,m];case 1:return e.sent(),[2]}})}(),e,i,t,r,n)||s):em(sf(e,l),d,t)||(s=!0,y=Ua(c.openingElement.tagName,mA.This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided,_,$o(d)),n&&n.skipLogging&&(n.errors||(n.errors=[])).push(y))}return s;function x(){var e,t,r,n;return o||(e=PF(a.parent.tagName),t=void 0===(n=jh(Mh(a)))?"children":OA(n),r=sf(i,Lf(t)),n=mA._0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2,o=__assign(__assign({},n),{key:"!!ALREADY FORMATTED!!",message:YL(void 0,n,e,t,$o(r))})),o}}(e,t,r,n,i,o);case 219:return function(e,t,r,n,a,i){if(kj(e.body))return!1;if(dD(e.parameters,rF))return!1;var o=Kx(t);if(!o)return!1;var s=l_(r,0);if(!HN(s))return!1;var c=e.body,t=j_(o),o=hd(iD(s,j_));if(!nm(t,o,n,void 0)){s=c&&Rp(c,t,o,n,void 0,a,i);if(s)return s;i=i||{};if(nm(t,o,n,c,void 0,a,i),i.errors)return r.symbol&&HN(r.symbol.declarations)&&SM(i.errors[i.errors.length-1],tP(r.symbol.declarations[0],mA.The_expected_type_comes_from_the_return_type_of_this_signature)),0==(2&kO(e))&&!vs(t,"then")&&nm(Sk(t),o,n,void 0)&&SM(i.errors[i.errors.length-1],tP(e,mA.Did_you_mean_to_mark_this_function_as_async)),!0}return!1}(e,t,r,n,i,o)}var s,c,u,_,l,d;return!1}function jp(e,t,r){var n=uf(t,r);if(n)return n;if(1048576&t.flags){t=sm(e,t);if(t)return uf(t,r)}}function Bp(e,t){sh(e,t,!1);e=lT(e,1);return ch(),e}function Jp(e,t,r,n,a,i){var o,s,c=!1;try{for(var u=__values(e),_=u.next();!_.done;_=u.next()){var l,d,f,p=_.value,m=p.errorNode,y=p.innerExpression,v=p.nameType,g=p.errorMessage,h=jp(t,r,v);!h||8388608&h.flags||(f=uf(t,v))&&(d=Hd(v,void 0),nm(f,h,n,void 0)||(p=y&&Rp(y,f,h,n,void 0,a,i),c=!0,p||(p=i||{},y=y?Bp(y,f):f,re&&om(y,h)?(l=tP(m,mA.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target,$o(y),$o(h)),Sa.add(l),p.errors=[l]):(l=!!(d&&16777216&(u_(r,d)||it).flags),d=!!(d&&16777216&(u_(t,d)||it).flags),h=ly(h,l),f=ly(f,l&&d),nm(y,h,n,m,g,a,p)&&y!==f&&nm(f,h,n,m,g,a,p)),p.errors&&(f=p.errors[p.errors.length-1],m=void 0!==(h=sR(v)?cR(v):void 0)?u_(r,h):void 0,g=!1,m||(p=b_(r,v))&&p.declaration&&!CF(p.declaration).hasNoDefaultLib&&(g=!0,SM(f,tP(p.declaration,mA.The_expected_type_comes_from_this_index_signature))),!g&&(m&&HN(m.declarations)||r.symbol&&HN(r.symbol.declarations))&&(CF(m=(m&&HN(m.declarations)?m:r.symbol).declarations[0]).hasNoDefaultLib||SM(f,tP(m,mA.The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1,!h||8192&v.flags?$o(v):OA(h),$o(r))))))))}}catch(e){o={error:e}}finally{try{_&&!_.done&&(s=u.return)&&s.call(u)}finally{if(o)throw o.error}}return c}function zp(e,t,r){switch(e.kind){case 294:return{errorNode:e,innerExpression:e.expression,nameType:t};case 12:if(e.containsOnlyTriviaWhiteSpaces)break;return{errorNode:e,innerExpression:void 0,nameType:t,errorMessage:r()};case 284:case 285:case 288:return{errorNode:e,innerExpression:e,nameType:t};default:return rA.assertNever(e,"Found invalid jsx child")}}function Up(t,r){var n,a,i;return __generator(this,function(e){switch(e.label){case 0:if(!(i=HN(t.elements)))return[2];n=0,e.label=1;case 1:return n<i?Rm(r)&&!u_(r,""+n)||gj(a=t.elements[n])?[3,3]:(i=Mf(n),[4,{errorNode:a,innerExpression:a,nameType:i}]):[3,4];case 2:e.sent(),e.label=3;case 3:return n++,[3,1];case 4:return[2]}})}function Vp(e,t,r,n,a){return nm(e,t,Ea,r,n,a)}function qp(e){if(!e.typeParameters&&(!e.thisParameter||gs(Xb(e.thisParameter)))&&1===e.parameters.length&&bJ(e)){var t=Xb(e.parameters[0]);return 131073&(Dm(t)?ll(t)[0]:t).flags&&3&j_(e).flags}}function Wp(e,t,r,n,a,i,o,s){if(e===t)return-1;if(!(16&r&&qp(e))&&qp(t))return-1;if(16&r&&qp(e)&&!qp(t))return 0;var c=nk(t);if(!ik(t)&&(8&r?ik(e)||nk(e)>c:ak(e)>c))return!n||8&r||a(mA.Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1,ak(e),c),0;e.typeParameters&&e.typeParameters!==t.typeParameters&&(e=Qx(e,t=H_(t),void 0,o));var u=nk(e),_=sk(e),l=sk(t);(_||l)&&pp(_||l,s);var d=t.declaration?t.declaration.kind:0,f=!(3&r)&&z&&174!==d&&173!==d&&176!==d,p=-1,m=L_(e);if(m&&m!==Lt){d=L_(t);if(d){if(!(b=!f&&o(m,d,!1)||o(d,m,n)))return n&&a(mA.The_this_types_of_each_signature_are_incompatible),0;p&=b}}for(var y=_||l?Math.min(u,c):Math.max(u,c),v=_||l?y-1:-1,g=0;g<y;g++){var h=(g===v?rk:tk)(e,g),x=(g===v?rk:tk)(t,g);if(h&&x){var b,k=3&r?void 0:Kx(oy(h)),T=3&r?void 0:Kx(oy(x));if((b=k&&T&&!M_(k)&&!M_(T)&&(50331648&wv(h))==(50331648&wv(x))?Wp(T,k,8&r|(f?2:1),n,a,i,o,s):!(3&r)&&!f&&o(h,x,!1)||o(x,h,n))&&8&r&&g>=ak(e)&&g<ak(t)&&o(h,x,!1)&&(b=0),!b)return n&&a(mA.Types_of_parameters_0_and_1_are_incompatible,OA(Yb(e,g)),OA(Yb(t,g))),0;p&=b}}if(!(4&r)){u=J_(t)?ut:t.declaration&&Nb(t.declaration)?wc(mo(t.declaration.symbol)):j_(t);if(u===Lt||u===ut)return p;c=J_(e)?ut:e.declaration&&Nb(e.declaration)?wc(mo(e.declaration.symbol)):j_(e),_=M_(t);if(_){l=M_(e);if(l)p&=function(e,t,r,n,a){if(e.kind!==t.kind)return r&&(n(mA.A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard),n(mA.Type_predicate_0_is_not_assignable_to_1,is(e),is(t))),0;if((1===e.kind||3===e.kind)&&e.parameterIndex!==t.parameterIndex)return r&&(n(mA.Parameter_0_is_not_in_the_same_position_as_parameter_1,e.parameterName,t.parameterName),n(mA.Type_predicate_0_is_not_assignable_to_1,is(e),is(t))),0;a=e.type===t.type?-1:e.type&&t.type?a(e.type,t.type,r):0;0===a&&r&&n(mA.Type_predicate_0_is_not_assignable_to_1,is(e),is(t));return a}(l,_,n,a,o);else if(FP(_))return n&&a(mA.Signature_0_must_be_a_type_predicate,Zo(e)),0}else!(p&=1&r&&o(u,c,!1)||o(c,u,n))&&n&&i&&i(c,u)}return p}function Hp(e,t){var r=W_(e),n=W_(t),e=j_(r),t=j_(n);return(t===Lt||em(t,e,Aa)||em(e,t,Aa))&&0!==Wp(r,n,!0?4:0,!1,void 0,void 0,wp,void 0)}function Kp(e){return e!==ir&&0===e.properties.length&&0===e.callSignatures.length&&0===e.constructSignatures.length&&0===e.indexInfos.length}function Gp(e){return 524288&e.flags?!Du(e)&&Kp(Eu(e)):!!(67108864&e.flags)||(1048576&e.flags?dD(e.types,Gp):!!(2097152&e.flags)&&XN(e.types,Gp))}function Xp(e){return!!(16&WL(e)&&(e.members&&Kp(e)||e.symbol&&2048&e.symbol.flags&&0===Gc(e.symbol).size))}function Qp(e){return 32768&(1048576&e.flags?e.types[0]:e).flags}function Yp(e){return 524288&e.flags&&!Du(e)&&0===Ou(e).length&&1===v_(e).length&&!!g_(e,wt)||3145728&e.flags&&XN(e.types,Yp)||!1}function Zp(e,t,r){var n,a,i=8&e.flags?go(e):e,o=8&t.flags?go(t):t;if(i===o)return 1;if(i.escapedName===o.escapedName&&256&i.flags&&256&o.flags){var s=yJ(i)+","+yJ(o),t=Pa.get(s);if(void 0!==t&&(4&t||!(2&t)||!r))return 1&t;var c=sc(o);try{for(var u=__values(Ou(sc(i))),_=u.next();!_.done;_=u.next()){var l=_.value;if(8&l.flags){var d=u_(c,l.escapedName);if(!(d&&8&d.flags))return void(r?(r(mA.Property_0_is_missing_in_type_1,RA(l),$o(Pc(o),void 0,64)),Pa.set(s,6)):Pa.set(s,2))}}}catch(e){n={error:e}}finally{try{_&&!_.done&&(a=u.return)&&a.call(u)}finally{if(n)throw n.error}}return Pa.set(s,1),1}}function $p(e,t,r,n){var a=e.flags,i=t.flags;if(1&i||131072&a||e===lt)return 1;if(2&i&&!(r===Da&&1&a))return 1;if(!(131072&i)){if(402653316&a&&4&i)return 1;if(128&a&&1024&a&&128&i&&!(1024&i)&&e.value===t.value)return 1;if(296&a&&8&i)return 1;if(256&a&&1024&a&&256&i&&!(1024&i)&&e.value===t.value)return 1;if(2112&a&&64&i)return 1;if(528&a&&16&i)return 1;if(12288&a&&4096&i)return 1;if(32&a&&32&i&&e.symbol.escapedName===t.symbol.escapedName&&Zp(e.symbol,t.symbol,n))return 1;if(1024&a&&1024&i){if(1048576&a&&1048576&i&&Zp(e.symbol,t.symbol,n))return 1;if(2944&a&&2944&i&&e.value===t.value&&Zp(e.symbol,t.symbol,n))return 1}if(32768&a&&(!te&&!(3145728&i)||49152&i))return 1;if(65536&a&&(!te&&!(3145728&i)||65536&i))return 1;if(524288&a&&67108864&i&&(r!==Da||!Xp(e)||8192&WL(e)))return 1;if(r===Aa||r===Ea){if(1&a)return 1;if(8&a&&(32&i||256&i&&1024&i))return 1;if(256&a&&!(1024&a)&&(32&i||256&i&&1024&i&&e.value===t.value))return 1;if(e=t,te&&1048576&e.flags&&(33554432&e.objectFlags||(t=e.types,e.objectFlags|=33554432|(3<=t.length&&32768&t[0].flags&&65536&t[1].flags&&dD(t,Xp)?67108864:0)),67108864&e.objectFlags))return 1}}}function em(e,t,r){if(Of(e)&&(e=e.regularType),Of(t)&&(t=t.regularType),e===t)return!0;if(r!==Fa){if(r===Ea&&!(131072&t.flags)&&$p(t,e,r)||$p(e,t,r))return!0}else if(!(61865984&(e.flags|t.flags))){if(e.flags!==t.flags)return!1;if(67358815&e.flags)return!0}if(524288&e.flags&&524288&t.flags){var n=r.get(gm(e,t,0,r,!1));if(void 0!==n)return!!(1&n)}return!!(469499904&e.flags||469499904&t.flags)&&nm(e,t,r,void 0)}function tm(e,t){return 2048&WL(e)&&Nh(t.escapedName)}function rm(e,t){for(;;){var r=Of(e)?e.regularType:Qm(e)?function(e,t){var r=dd(e),n=oD(r,function(e){return 25165824&e.flags?rf(e,t):e});return r!==n?sd(e.target,n):e}(e,t):4&WL(e)?e.node?cl(e.target,ll(e)):Om(e)||e:3145728&e.flags?function(e,t){var r=n_(e);if(r!==e)return r;if(2097152&e.flags&&dD(e.types,Xp)){r=oD(e.types,function(e){return rm(e,t)});if(r!==e.types)return Cd(r)}return e}(e,t):33554432&e.flags?t?e.baseType:xl(e):25165824&e.flags?rf(e,t):e;if(r===e)return r;e=r}}function nm(e,t,z,p,U,r,n){var V,a,m,y,P,I,v,g,h=0,O=0,L=0,x=0,b=!1,q=0;rA.assert(z!==Fa||!p,"no error reporting in identity checking");var i,o,s=X(e,t,3,!!p,U);return g&&u(),b?(null!=iA&&iA.instant(iA.Phase.CheckTypes,"checkTypeRelatedTo_DepthLimit",{sourceId:e.id,targetId:t.id,depth:O,targetDepth:L}),o=Ua(p||w,mA.Excessive_stack_depth_comparing_types_0_and_1,$o(e),$o(t)),n&&(n.errors||(n.errors=[])).push(o)):V&&(!r||(i=r())&&(eM(i,V),V=i),i=void 0,U&&p&&!s&&e.symbol&&((e=si(e.symbol)).originatingImport&&!mP(e.originatingImport)&&nm(sc(e.target),t,z,void 0)&&(i=vD(i,tP(e.originatingImport,mA.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)))),o=nP(CF(p),p,V,i),a&&SM.apply(void 0,__spreadArray([o],__read(a),!1)),n&&(n.errors||(n.errors=[])).push(o),n&&n.skipLogging||Sa.add(o)),p&&n&&n.skipLogging&&0===s&&rA.assert(!!n.errors,"missed opportunity to interact with error."),0!==s;function M(e){V=e.errorInfo,v=e.lastSkippedInfo,g=e.incompatibleStack,q=e.overrideNextErrorInfo,a=e.relatedInfo}function D(){return{errorInfo:V,lastSkippedInfo:v,incompatibleStack:null==g?void 0:g.slice(),overrideNextErrorInfo:q,relatedInfo:null==a?void 0:a.slice()}}function W(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];q++,v=void 0,(g=g||[]).push(__spreadArray([e],__read(t),!1))}function u(){var t,e,r=g||[],n=v;if(v=g=void 0,1===r.length)return H.apply(void 0,__spreadArray([],__read(r[0]),!1)),void(n&&k.apply(void 0,__spreadArray([void 0],__read(n),!1)));for(var a="",i=[];r.length;){var o,s=__read(r.pop()),c=s[0],u=s.slice(1);switch(c.code){case mA.Types_of_property_0_are_incompatible.code:0===a.indexOf("new ")&&(a="(".concat(a,")"));var _=""+u[0],a=0===a.length?"".concat(_):bA(_,rM(ee))?"".concat(a,".").concat(_):"["===_[0]&&"]"===_[_.length-1]?"".concat(a).concat(_):"".concat(a,"[").concat(_,"]");break;case mA.Call_signature_return_types_0_and_1_are_incompatible.code:case mA.Construct_signature_return_types_0_and_1_are_incompatible.code:case mA.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code:case mA.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code:0===a.length?((o=c).code===mA.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?o=mA.Call_signature_return_types_0_and_1_are_incompatible:c.code===mA.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code&&(o=mA.Construct_signature_return_types_0_and_1_are_incompatible),i.unshift([o,u[0],u[1]])):(_=c.code===mA.Construct_signature_return_types_0_and_1_are_incompatible.code||c.code===mA.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?"new ":"",o=c.code===mA.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code||c.code===mA.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?"":"...",a="".concat(_).concat(a,"(").concat(o,")"));break;case mA.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target.code:i.unshift([mA.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,u[0],u[1]]);break;case mA.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target.code:i.unshift([mA.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,u[0],u[1],u[2]]);break;default:return rA.fail("Unhandled Diagnostic: ".concat(c.code))}}a?H(")"===a[a.length-1]?mA.The_types_returned_by_0_are_incompatible_between_these_types:mA.The_types_of_0_are_incompatible_between_these_types,a):i.shift();try{for(var l=__values(i),d=l.next();!d.done;d=l.next()){var f=__read(d.value),c=f[0],u=f.slice(1),f=c.elidedInCompatabilityPyramid;c.elidedInCompatabilityPyramid=!1,H.apply(void 0,__spreadArray([c],__read(u),!1)),c.elidedInCompatabilityPyramid=f}}catch(e){t={error:e}}finally{try{d&&!d.done&&(e=l.return)&&e.call(l)}finally{if(t)throw t.error}}n&&k.apply(void 0,__spreadArray([void 0],__read(n),!1))}function H(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];rA.assert(!!p),g&&u(),e.elidedInCompatabilityPyramid||(V=$L.apply(void 0,__spreadArray([V,e],__read(t),!1)))}function K(e){rA.assert(!!V),a?a.push(e):a=[e]}function k(e,t,r){g&&u();var n,a=__read(es(t,r),2),i=a[0],o=a[1],s=t,c=i;if(Um(t)&&!am(r)&&(s=Vm(t),rA.assert(!Ap(s,r),"generalized source shouldn't be assignable"),c=ts(s)),262144&(8388608&r.flags&&!(8388608&t.flags)?r.objectType:r).flags&&r!==dr&&r!==fr&&(n=void 0,(a=Vu(r))&&(Ap(s,a)||(n=Ap(t,a)))?H(mA._0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2,n?i:c,o,$o(a)):(V=void 0,H(mA._0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1,o,c))),e)e===mA.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1&&re&&im(t,r).length&&(e=mA.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(z===Ea)e=mA.Type_0_is_not_comparable_to_type_1;else if(i===o)e=mA.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated;else if(re&&im(t,r).length)e=mA.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){r=function(e,t){t=t.types.filter(function(e){return!!(128&e.flags)});return VD(e.value,t,function(e){return e.value})}(t,r);if(r)return void H(mA.Type_0_is_not_assignable_to_type_1_Did_you_mean_2,c,o,$o(r))}e=mA.Type_0_is_not_assignable_to_type_1}H(e,c,o)}function G(e,t,r){return Xm(e)?e.target.readonly&&Fm(t)?void(r&&H(mA.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1,$o(e),$o(t))):Em(t):Am(e)&&Fm(t)?void(r&&H(mA.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1,$o(e),$o(t))):!Xm(t)||Dm(e)}function R(e,t,r){return X(e,t,3,r)}function X(e,t,r,n,a,i){if(void 0===r&&(r=3),void 0===n&&(n=!1),void 0===i&&(i=0),e===t)return-1;if(524288&e.flags&&402784252&t.flags)return z===Ea&&!(131072&t.flags)&&$p(t,e,z)||$p(e,t,z,n?H:void 0)?-1:(n&&d(e,t,e,t,a),0);var o=rm(e,!1),s=rm(t,!0);if(o===s)return-1;if(z===Fa)return o.flags!==s.flags?0:67358815&o.flags?-1:(f(o,s),T(o,s,!1,0,r));if(262144&o.flags&&Lu(o)===s)return-1;if(470302716&o.flags&&1048576&s.flags){var c=s.types,u=2===c.length&&98304&c[0].flags?c[1]:3===c.length&&98304&c[0].flags&&98304&c[1].flags?c[2]:void 0;if(u&&!(98304&u.flags)&&o===(s=rm(u,!0)))return-1}if(z===Ea&&!(131072&s.flags)&&$p(s,o,z)||$p(o,s,z,n?H:void 0))return-1;if(469499904&o.flags||469499904&s.flags){var _=!(2&i)&&$y(o)&&8192&WL(o);if(_&&function(c,e,u){var t,r,_;if(!Gh(e)||!N&&4096&WL(e))return!1;var l=!!(2048&WL(c));if((z===Aa||z===Ea)&&(Uv(gr,e)||!l&&Gp(e)))return!1;var d,f=e;1048576&e.flags&&(f=zN(c,e,X)||function(e){if(Wk(e,67108864)){var t=Hv(e,function(e){return!(402784252&e.flags)});if(!(131072&t.flags))return t}return e}(e),d=1048576&f.flags?f.types:[f]);function n(e){if(o=e,s=c.symbol,o.valueDeclaration&&s.valueDeclaration&&o.valueDeclaration.parent===s.valueDeclaration&&!tm(c,e)){if(!Kh(f,e.escapedName,l)){if(u){var t,r,n,a=Hv(f,Gh);if(!p)return{value:rA.fail()};eB(p)||YE(p)||YE(p.parent)?(e.valueDeclaration&&$j(e.valueDeclaration)&&CF(p)===CF(e.valueDeclaration.name)&&(p=e.valueDeclaration.name),(r=(r=wx(n=Yo(e),a))?Yo(r):void 0)?H(mA.Property_0_does_not_exist_on_type_1_Did_you_mean_2,n,$o(a),r):H(mA.Property_0_does_not_exist_on_type_1,n,$o(a))):(t=(null==(_=c.symbol)?void 0:_.declarations)&&kD(c.symbol.declarations),r=void 0,e.valueDeclaration&&FA(e.valueDeclaration,function(e){return e===t})&&CF(t)===CF(p)&&(n=e.valueDeclaration,rA.assertNode(n,EE),n=n.name,xR(p=n)&&(r=Cx(n,a))),void 0!==r?H(mA.Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2,Yo(e),$o(a),r):H(mA.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,Yo(e),$o(a)))}return{value:!0}}if(d&&!X(sc(e),(a=d,i=e.escapedName,hd(ED(a,function(e,t){var r=(3145728&(t=Zu(t)).flags?r_:Pu)(t,i);return vD(e,r&&sc(r)||(null==(t=k_(t,i))?void 0:t.type)||gt)},void 0)||WN)),3,u))return u&&W(mA.Types_of_property_0_are_incompatible,Yo(e)),{value:!0}}var i,o,s}try{for(var a=__values(Ou(c)),i=a.next();!i.done;i=a.next()){var o=i.value,o=n(o);if("object"==typeof o)return o.value}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return!1}(o,s,n))return n&&k(a,o,t.aliasSymbol?t:s),0;var l=(z!==Ea||Jm(o))&&!(2&i)&&405405692&o.flags&&o!==gr&&2621440&s.flags&&um(s)&&(0<Ou(o).length||AC(o)),c=!!(2048&WL(o));if(l&&!function(e,t,r){var n,a;try{for(var i=__values(Ou(e)),o=i.next();!o.done;o=i.next()){var s=o.value;if(Kh(t,s.escapedName,r))return!0}}catch(e){n={error:e}}finally{try{o&&!o.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}return!1}(o,s,c))return n&&(u=$o(e.aliasSymbol?e:o),_=$o(t.aliasSymbol?t:s),l=l_(o,0),c=l_(o,1),0<l.length&&X(j_(l[0]),s,1,!1)||0<c.length&&X(j_(c[0]),s,1,!1)?H(mA.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it,u,_):H(mA.Type_0_has_no_properties_in_common_with_type_1,u,_)),0;f(o,s);r=1048576&o.flags&&o.types.length<4&&!(1048576&s.flags)||1048576&s.flags&&s.types.length<4&&!(469499904&o.flags)?j(o,s,n,i):T(o,s,n,i,r);if(r)return r}return n&&d(e,t,o,s,a),0}function d(e,t,r,n,a){var i=!!Om(e),o=!!Om(t);r=e.aliasSymbol||i?e:r,n=t.aliasSymbol||o?t:n;var s,c,o=0<q;if(o&&q--,524288&r.flags&&524288&n.flags&&(s=V,G(r,n,!0),V!==s&&(o=!!V)),524288&r.flags&&402784252&n.flags)u=n,l=rs((s=r).symbol)?$o(s,s.symbol.valueDeclaration):$o(s),_=rs(u.symbol)?$o(u,u.symbol.valueDeclaration):$o(u),(Sr===s&&wt===u||wr===s&&Ct===u||Cr===s&&It===u||Bl()===s&&Ot===u)&&H(mA._0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible,_,l);else if(r.symbol&&524288&r.flags&&gr===r)H(mA.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead);else if(2048&WL(r)&&2097152&n.flags){var u=n.types,_=Ih(dJ.IntrinsicAttributes,p),l=Ih(dJ.IntrinsicClassAttributes,p);if(!hs(_)&&!hs(l)&&(eD(u,_)||eD(u,l)))return}else V=c_(V,t);a||!o?(k(a,r,n),262144&r.flags&&null!=(c=null==(c=r.symbol)?void 0:c.declarations)&&c[0]&&!Lu(r)&&((c=ap(r)).constraint=pp(n,Qf(r,c)),Wu(c)&&(c=$o(n,r.symbol.declarations[0]),K(tP(r.symbol.declarations[0],mA.This_type_parameter_might_need_an_extends_0_constraint,c))))):v=[r,n]}function f(e,t){var r,n;iA&&3145728&e.flags&&3145728&t.flags&&(e.objectFlags&t.objectFlags&32768||1e6<(r=e.types.length)*(n=t.types.length)&&iA.instant(iA.Phase.CheckTypes,"traceUnionsOrIntersectionsTooLarge_DepthLimit",{sourceId:e.id,sourceSize:r,targetId:t.id,targetSize:n,pos:null==p?void 0:p.pos,end:null==p?void 0:p.end}))}function j(e,t,r,n){if(1048576&e.flags)return(z===Ea?c:function(e,t,r,n){for(var a=-1,i=e.types,o=function(e,t){if(1048576&e.flags&&1048576&t.flags&&!(32768&e.types[0].flags)&&32768&t.types[0].flags)return Qv(t,-32769);return t}(e,t),s=0;s<i.length;s++){var c=i[s];if(1048576&o.flags&&i.length>=o.types.length&&i.length%o.types.length==0){var u=X(c,o.types[s%o.types.length],3,!1,void 0,n);if(u){a&=u;continue}}c=X(c,t,1,r,void 0,n);if(!c)return 0;a&=c}return a})(e,t,r&&!(402784252&e.flags),n);if(1048576&t.flags)return _(yy(e),t,r&&!(402784252&e.flags)&&!(402784252&t.flags));if(2097152&t.flags)return function(e,t,r,n){var a,i,o=-1,s=t.types;try{for(var c=__values(s),u=c.next();!u.done;u=c.next()){var _=u.value,_=X(e,_,2,r,void 0,n);if(!_)return 0;o&=_}}catch(e){a={error:e}}finally{try{u&&!u.done&&(i=c.return)&&i.call(c)}finally{if(a)throw a.error}}return o}(e,t,r,2);if(z===Ea&&402784252&t.flags){r=oD(e.types,function(e){return 465829888&e.flags?Vu(e)||yt:e});if(r!==e.types){if(131072&(e=Cd(r)).flags)return 0;if(!(2097152&e.flags))return X(e,t,1,!1)||X(t,e,1,!1)}}return c(e,t,!1,1)}function B(e,t){var r,n,a=-1,i=e.types;try{for(var o=__values(i),s=o.next();!s.done;s=o.next()){var c=_(s.value,t,!1);if(!c)return 0;a&=c}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a}function _(e,t,r){var n,a,i=t.types;if(1048576&t.flags){if(pd(i,e))return-1;if(z!==Ea&&32768&WL(t)&&!(1024&e.flags)&&(2688&e.flags||(z===Na||z===Da)&&256&e.flags)){var o=e===e.regularType?e.freshType:e.regularType,s=128&e.flags?wt:256&e.flags?Ct:2048&e.flags?Nt:void 0;return s&&pd(i,s)||o&&pd(i,o)?-1:0}o=hv(t,e);if(o)if(c=X(e,o,2,!1))return c}try{for(var c,u=__values(i),_=u.next();!_.done;_=u.next())if(c=X(e,_.value,2,!1))return c}catch(e){n={error:e}}finally{try{_&&!_.done&&(a=u.return)&&a.call(u)}finally{if(n)throw n.error}}return!r||(t=sm(e,t,X))&&X(e,t,2,!0),0}function c(e,t,r,n){var a=e.types;if(1048576&e.flags&&pd(a,t))return-1;for(var i=a.length,o=0;o<i;o++){var s=X(a[o],t,1,r&&o===i-1,void 0,n);if(s)return s}return 0}function T(e,t,r,n,a){if(b)return 0;var i,o=gm(e,t,n,z,!1),s=z.get(o);if(void 0!==s&&(!(r&&2&s)||4&s))return Pt&&(8&(i=24&s)&&pp(e,Zt),16&i&&pp(e,Yt)),1&s?-1:0;if(m){if(y.has(o))return 3;var c=o.startsWith("*")?gm(e,t,n,z,!0):void 0;if(c&&y.has(c))return 3;if(100===O||100===L)return b=!0,0}else m=[],y=new Set,P=[],I=[];var u=h;m[h]=o,y.add(o),h++;var _,c=x;1&a&&(P[O]=e,O++,1&x||!Tm(e,P,O)||(x|=1)),2&a&&(I[L]=t,L++,2&x||!Tm(t,I,L)||(x|=2));var l,d=0;return Pt&&(_=Pt,Pt=function(e){return d|=e?16:8,_(e)}),3===x?(null!=iA&&iA.instant(iA.Phase.CheckTypes,"recursiveTypeRelatedTo_DepthLimit",{sourceId:e.id,sourceIdStack:P.map(function(e){return e.id}),targetId:t.id,targetIdStack:I.map(function(e){return e.id}),depth:O,targetDepth:L}),l=3):(null!=iA&&iA.push(iA.Phase.CheckTypes,"structuredTypeRelatedTo",{sourceId:e.id,targetId:t.id}),l=function(t,r,e,n){var a=D(),i=function(e,t,a,r,i){var o,s,c=!1,n=e.flags,u=t.flags;if(z===Fa){if(3145728&n)return(A=B(e,t))&&(A&=B(t,e)),A;if(4194304&n)return X(e.type,t.type,3,!1);if(8388608&n&&(o=X(e.objectType,t.objectType,3,!1))&&(o&=X(e.indexType,t.indexType,3,!1)))return o;if(16777216&n&&e.root.isDistributive===t.root.isDistributive&&(o=X(e.checkType,t.checkType,3,!1))&&(o&=X(e.extendsType,t.extendsType,3,!1))&&(o&=X(vf(e),vf(t),3,!1))&&(o&=X(gf(e),gf(t),3,!1)))return o;if(33554432&n&&(o=X(e.baseType,t.baseType,3,!1))&&(o&=X(e.constraint,t.constraint,3,!1)))return o;if(!(524288&n))return 0}else if(3145728&n||3145728&u){if(o=j(e,t,a,r))return o;if(!(465829888&n||524288&n&&1048576&u||2097152&n&&467402752&u))return 0}if(17301504&n&&e.aliasSymbol&&e.aliasTypeArguments&&e.aliasSymbol===t.aliasSymbol&&!pm(e)&&!pm(t)){if((D=lm(e.aliasSymbol))===WN)return 1;var _=si(e.aliasSymbol).typeParameters,l=D_(_),d=A_(e.aliasTypeArguments,_,l,cI(e.aliasSymbol.valueDeclaration)),l=A_(t.aliasTypeArguments,_,l,cI(e.aliasSymbol.valueDeclaration));if(void 0!==(d=F(d,l,D,r)))return d}if(Ym(e)&&!e.target.readonly&&(o=X(ll(e)[0],t,1))||Ym(t)&&(t.target.readonly||Fm(Vu(e)||e))&&(o=X(e,ll(t)[0],2)))return o;if(262144&u){if(32&WL(e)&&!e.declaration.nameType&&X(jd(t),hu(e),3)&&!(4&wu(e))){var f=bu(e),p=sf(t,gu(e));if(o=X(f,p,3,a))return o}if(z===Ea&&262144&n){if((w=Mu(e))&&Wu(e))for(;w&&qv(w,function(e){return!!(262144&e.flags)});){if(o=X(w,t,1,!1))return o;w=Mu(w)}return 0}}else if(4194304&u){var m=t.type;if(4194304&n&&(o=X(m,e.type,3,!1)))return o;if(Xm(m)){if(o=X(e,ud(m),2,a))return o}else if(w=ju(m)){if(-1===X(e,jd(w,4|t.indexFlags),2,a))return-1}else if(Du(m)){var y,v=xu(m),l=hu(m),g=void 0;if(g=v&&Tu(m)?(yu(Zu(Su(m)),8576,!(y=[]),function(e){return y.push(pp(v,np(m.mapper,gu(m),e))),0}),hd(__spreadArray(__spreadArray([],__read(y),!1),[v],!1))):v||l,-1===X(e,g,2,a))return-1}}else if(8388608&u){if(8388608&n){if((o=X(e.objectType,t.objectType,3,a))&&(o&=X(e.indexType,t.indexType,3,a)),o)return o;a&&(s=V)}if(z===Aa||z===Ea){var h=t.objectType,x=t.indexType,b=Vu(h)||h,x=Vu(x)||x;if(!$d(b)&&!ef(x))if(w=uf(b,x,4|(b!==h?2:0))){if(a&&s&&M(i),o=X(e,w,2,a,void 0,r))return o;a&&s&&V&&(V=E([s])<=E([V])?s:V)}}a&&(s=void 0)}else if(Du(t)&&z!==Fa){x=!!t.declaration.nameType,f=bu(t),b=wu(t);if(!(8&b)){if(!x&&8388608&f.flags&&f.objectType===e&&f.indexType===gu(t))return-1;if(!Du(e)){g=(x?xu:hu)(t),h=jd(e,2),f=4&b,b=f?su(g,h):void 0;if(f?!(131072&b.flags):X(g,h,3)){var k=bu(t),f=gu(t),h=Qv(k,-98305);if(!x&&8388608&h.flags&&h.indexType===f){if(o=X(e,h.objectType,2,a))return o}else{f=x?b||g:b?Cd([b,f]):f,p=sf(e,f);if(o=X(p,k,3,a))return o}}s=V,M(i)}}}else if(16777216&u){if(Tm(t,I,L,10))return 3;var T=t;if(!(T.root.inferTypeParameters||function(e){return e.isDistributive&&(sp(e.checkType,e.node.trueType)||sp(e.checkType,e.node.falseType))}(T.root)||16777216&e.flags&&e.root===T.root)){var k=!Ap(yp(T.checkType),yp(T.extendsType)),S=!k&&Ap(vp(T.checkType),vp(T.extendsType));if((o=k?-1:X(e,vf(T),2,!1,void 0,r))&&(o&=S?-1:X(e,gf(T),2,!1,void 0,r)))return o}}else if(134217728&u){if(134217728&n){if(z===Ea)return function(e,t){var r=e.texts[0],n=t.texts[0],a=e.texts[e.texts.length-1],i=t.texts[t.texts.length-1],e=Math.min(r.length,n.length),t=Math.min(a.length,i.length);return r.slice(0,e)!==n.slice(0,e)||a.slice(a.length-t)!==i.slice(i.length-t)}(e,t)?0:-1;pp(e,Yt)}if(Ky(e,t))return-1}else if(268435456&t.flags&&!(268435456&e.flags)&&Wy(e,t))return-1;if(8650752&n){if(!(8388608&n&&8388608&u)){var w=Lu(e)||yt;if(o=X(w,t,1,!1,void 0,r))return o;if(o=X(Qc(w,e),t,1,a&&w!==yt&&!(u&n&262144),void 0,r))return o;if(Yu(e)){var C=Lu(e.indexType);if(C&&(o=X(sf(e.objectType,C),t,1,a)))return o}}}else if(4194304&n){if(o=X(Vt,t,1,a))return o}else if(134217728&n&&!(524288&u)){if(!(134217728&u))if((w=Vu(e))&&w!==e&&(o=X(w,t,1,a)))return o}else if(268435456&n){if(268435456&u){if(e.symbol!==t.symbol)return 0;if(o=X(e.type,t.type,3,a))return o}else if((w=Vu(e))&&(o=X(w,t,1,a)))return o}else if(16777216&n){if(Tm(e,P,O,10))return 3;if(16777216&u){S=e.root.inferTypeParameters,T=e.extendsType,C=void 0;if(S&&(Qy((S=Cy(S,void 0,0,R)).inferences,t.extendsType,T,1536),T=pp(T,S.mapper),C=S.mapper),Tp(T,t.extendsType)&&(X(e.checkType,t.checkType,3)||X(t.checkType,e.checkType,3))&&((o=X(pp(vf(e),C),vf(t),3,a))&&(o&=X(gf(e),gf(t),3,a)),o))return o}else{var N=Wu(e)?Ju(e):void 0;if(N&&(o=X(N,t,1,a)))return o}N=Bu(e);if(N&&(o=X(N,t,1,a)))return o}else{if(z!==Na&&z!==Da&&function(e){return 32&WL(e)&&4&wu(e)}(t)&&Gp(e))return-1;if(Du(t))return Du(e)&&(o=function(e,t,r){if(z===Ea||(z===Fa?wu(e)===wu(t):Nu(e)<=Nu(t))){var n=void 0,a=hu(t),i=pp(hu(e),Nu(e)<0?Zt:Yt);if(n=X(a,i,3,r)){i=Gf([gu(e)],[gu(t)]);if(pp(xu(e),i)===pp(xu(t),i))return n&X(pp(bu(e),i),bu(t),3,r)}}return 0}(e,t,a))?o:0;var D,N=!!(402784252&n);if(z!==Fa)e=Zu(e),n=e.flags;else if(Du(e))return 0;if(4&WL(e)&&4&WL(t)&&e.target===t.target&&!Xm(e)&&!pm(e)&&!pm(t)){if(Mm(e))return-1;if((D=_m(e.target))===WN)return 1;if(void 0!==(d=F(ll(e),ll(t),D,r)))return d}else{if(Am(t)?Wv(e,Em):Dm(t)&&Wv(e,function(e){return Xm(e)&&!e.target.readonly}))return z!==Fa?X(h_(e,Ct)||ut,h_(t,Ct)||ut,3,a):0;if(Qm(e)&&Xm(t)&&!Qm(t)){if((w=qu(e))!==e)return X(w,t,1,a)}else if((z===Na||z===Da)&&Gp(t)&&8192&WL(t)&&!Gp(e))return 0}if(2621440&n&&524288&u){d=a&&V===i.errorInfo&&!N;if((o=J(e,t,d,void 0,!1,r))&&(o&=Z(e,t,0,d,r))&&(o&=Z(e,t,1,d,r))&&(o&=$(e,t,N,d,r)),c&&o)V=s||V||i.errorInfo;else if(o)return o}if(2621440&n&&1048576&u){var A,u=Qv(t,36175872);if(1048576&u.flags)if(A=function(u,_){var t,e,r,n,a,i,o,l=yv(Ou(u),_);if(!l)return 0;var s=1;try{for(var c=__values(l),d=c.next();!d.done;d=c.next()){var f=d.value;if(25<(s*=function(e){return 1048576&e.flags?e.types.length:1}(cc(f))))return null!=(o=iA)&&o.instant(iA.Phase.CheckTypes,"typeRelatedToDiscriminatedType_DepthLimit",{sourceId:u.id,targetId:_.id,numCombinations:s}),0}}catch(e){t={error:e}}finally{try{d&&!d.done&&(e=c.return)&&e.call(c)}finally{if(t)throw t.error}}for(var p=new Array(l.length),m=new Set,y=0;y<l.length;y++){var v=cc(f=l[y]);p[y]=1048576&v.flags?v.types:[v],m.add(f.escapedName)}function g(n){var t,e,r=!1;try{e:for(var a=(t=void 0,__values(_.types)),i=a.next();!i.done;i=a.next()){for(var o=i.value,s=0;s<l.length;s++){var c=function(t){var e=l[t],r=u_(o,e.escapedName);return r?e===r?"continue":Y(u,_,e,r,function(e){return n[t]},!1,0,te||z===Ea)?void 0:"continue-outer":"continue-outer"}(s);if("continue-outer"===c)continue e}hD(x,o,zD),r=!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}if(!r)return{value:0}}var h=tA(p),x=[];try{for(var b=__values(h),k=b.next();!k.done;k=b.next()){var T=k.value,T=g(T);if("object"==typeof T)return T.value}}catch(e){r={error:e}}finally{try{k&&!k.done&&(n=b.return)&&n.call(b)}finally{if(r)throw r.error}}var S=-1;try{for(var w=__values(x),C=w.next();!C.done;C=w.next()){var N=C.value;if((S&=J(u,N,!1,m,!1,0))&&(S&=Z(u,N,0,!1,0))&&(!(S&=Z(u,N,1,!1,0))||Xm(u)&&Xm(N)||(S&=$(u,N,!1,!1,0))),!S)return S}}catch(e){a={error:e}}finally{try{C&&!C.done&&(i=w.return)&&i.call(w)}finally{if(a)throw a.error}}return S}(e,u))return A}}return 0;function E(e){return e?ED(e,function(e,t){return e+1+E(t.next)},0):0}function F(e,t,r,n){if(o=function(e,t,r,n,a){if(void 0===e&&(e=WN),void 0===t&&(t=WN),void 0===r&&(r=WN),e.length!==t.length&&z===Fa)return 0;for(var i=(e.length<=t.length?e:t).length,o=-1,s=0;s<i;s++){var c=s<r.length?r[s]:1,u=7&c;if(4!=u){var _=e[s],l=t[s],d=-1;if(8&c?d=z===Fa?X(_,l,3,!1):Sp(_,l):1==u?d=X(_,l,3,n,void 0,a):2==u?d=X(l,_,3,n,void 0,a):3==u?d=(d=X(l,_,3,!1))||X(_,l,3,n,void 0,a):(d=X(_,l,3,n,void 0,a))&&(d&=X(l,_,3,n,void 0,a)),!d)return 0;o&=d}}return o}(e,t,r,a,n))return o;if(dD(r,function(e){return!!(24&e)}))return s=void 0,void M(i);t=t&&function(e,t){for(var r=0;r<t.length;r++)if(1==(7&t[r])&&16384&e[r].flags)return!0;return!1}(t,r);if(c=!t,r!==WN&&!t){if(c&&(!a||!dD(r,function(e){return 0==(7&e)})))return 0;s=V,M(i)}}}(t,r,e,n,a);{var o;z!==Fa&&(i||!(2097152&t.flags||262144&t.flags&&1048576&r.flags)||(o=function(e,t){var r,n,a,i,o,s=!1;try{for(var c=__values(e),u=c.next();!u.done;u=c.next())if(465829888&(l=u.value).flags){for(var _=Lu(l);_&&21233664&_.flags;)_=Lu(_);_&&(o=vD(o,_),t&&(o=vD(o,l)))}else(469892092&l.flags||Xp(l))&&(s=!0)}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}if(o&&(t||s)){if(s)try{for(var l,d=__values(e),f=d.next();!f.done;f=d.next())(469892092&(l=f.value).flags||Xp(l))&&(o=vD(o,l))}catch(e){a={error:e}}finally{try{f&&!f.done&&(i=d.return)&&i.call(d)}finally{if(a)throw a.error}}return rm(Cd(o),!1)}}(2097152&t.flags?t.types:[t],!!(1048576&r.flags)))&&Wv(o,function(e){return e!==t})&&(i=X(o,r,1,!1,void 0,n)),i&&!(2&n)&&2097152&r.flags&&!$d(r)&&2621440&t.flags?(i&=J(t,r,e,void 0,!1,0))&&$y(t)&&8192&WL(t)&&(i&=$(t,r,!1,e,0)):i&&wf(r)&&!Em(r)&&2097152&t.flags&&3670016&Zu(t).flags&&!dD(t.types,function(e){return e===r||!!(262144&WL(e))})&&(i&=J(t,r,e,void 0,!0,n)))}i&&M(a);return i}(e,t,r,n),null!=iA&&iA.pop()),Pt=Pt&&_,1&a&&O--,2&a&&L--,x=c,l?(-1===l||0===O&&0===L)&&f(-1===l||3===l):(z.set(o,2|(r?4:0)|d),f(!1)),l;function f(e){for(var t=u;t<h;t++)y.delete(m[t]),e&&z.set(m[t],1|d);h=u}}function Q(e,t){if(!t||0===e.length)return e;for(var r,n=0;n<e.length;n++)t.has(e[n].escapedName)?r=r||e.slice(0,n):r&&r.push(e[n]);return r||e}function Y(e,t,r,n,a,i,o,s){var c,u=JL(r),_=JL(n);if(8&u||8&_){if(r.valueDeclaration!==n.valueDeclaration)return i&&(8&u&&8&_?H(mA.Types_have_separate_declarations_of_a_private_property_0,Yo(n)):H(mA.Property_0_is_private_in_type_1_but_not_in_type_2,Yo(n),$o(8&u?e:t),$o(8&u?t:e))),0}else if(16&_){if(c=r,hm(n,function(e){return!!(16&JL(e))&&(t=c,r=xm(e),!hm(t,function(e){e=xm(e);return!!e&&lc(e,r)}));var t,r}))return i&&H(mA.Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2,Yo(n),$o(xm(r)||e),$o(xm(n)||t)),0}else if(16&u)return i&&H(mA.Property_0_is_protected_in_type_1_but_public_in_type_2,Yo(n),$o(e),$o(t)),0;if(z===Da&&jk(r)&&!jk(n))return 0;var l,d,a=(l=r,d=n,_=a,u=i,a=o,o=te&&!!(48&BL(d)),o=Fs(cc(d),!1,o),X(_(l),o,3,u,void 0,a));return a?!s&&16777216&r.flags&&106500&n.flags&&!(16777216&n.flags)?(i&&H(mA.Property_0_is_optional_in_type_1_but_required_in_type_2,Yo(n),$o(e),$o(t)),0):a:(i&&W(mA.Types_of_property_0_are_incompatible,Yo(n)),0)}function J(e,t,r,n,a,i){var o,s,c,u;if(z===Fa)return function(e,t,r){var n,a;if(!(524288&e.flags&&524288&t.flags))return 0;var i=Q(Fu(e),r),r=Q(Fu(t),r);if(i.length!==r.length)return 0;var o=-1;try{for(var s=__values(i),c=s.next();!c.done;c=s.next()){var u=c.value,_=Pu(t,u.escapedName);if(!_)return 0;_=wm(u,_,X);if(!_)return 0;o&=_}}catch(e){n={error:e}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(n)throw n.error}}return o}(e,t,n);var _,l=-1;if(Xm(t)){if(Em(e)){if(!t.target.readonly&&(Am(e)||Xm(e)&&e.target.readonly))return 0;var d=dl(e),f=dl(t),p=Xm(e)?4&e.target.combinedFlags:4,m=4&t.target.combinedFlags,y=Xm(e)?e.target.minLength:0,v=t.target.minLength;if(!p&&d<v)return r&&H(mA.Source_has_0_element_s_but_target_requires_1,d,v),0;if(!m&&f<y)return r&&H(mA.Source_has_0_element_s_but_target_allows_only_1,y,f),0;if(!m&&(p||f<d))return r&&(y<v?H(mA.Target_requires_0_element_s_but_source_may_have_fewer,v):H(mA.Target_allows_only_0_element_s_but_source_may_have_more,f)),0;for(var g=ll(e),h=ll(t),x=(y=t.target,_=11,0<=(v=ZN(y.elementFlags,function(e){return!(e&_)}))?v:y.elementFlags.length),b=_d(t.target,11),k=t.target.hasRestElement,T=!!n,S=0;S<d;S++){var w=Xm(e)?e.target.elementFlags[S]:4,C=d-1-S,N=k&&x<=S?f-1-Math.min(C,b):S,D=t.target.elementFlags[N];if(8&D&&!(8&w))return r&&H(mA.Source_provides_no_match_for_variadic_element_at_position_0_in_target,N),0;if(8&w&&!(12&D))return r&&H(mA.Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target,S,N),0;if(1&D&&!(1&w))return r&&H(mA.Source_provides_no_match_for_required_element_at_position_0_in_target,N),0;if(!(T&&((12&w||12&D)&&(T=!1),T&&null!=n&&n.has(""+S)))){var A=ly(g[S],!!(w&D&2)),E=h[N];if(!(j=X(A,8&w&&4&D?Yl(E):ly(E,!!(2&D)),3,r,void 0,i)))return r&&(1<f||1<d)&&(k&&x<=S&&b<=C&&x!==d-b-1?W(mA.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,x,d-b-1,N):W(mA.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,S,N)),0;l&=j}}return l}if(12&t.target.combinedFlags)return 0}v=!(z!==Na&&z!==Da||$y(e)||Mm(e)||Xm(e)),y=Jy(e,t,v,!1);if(y)return r&&function(e,t){var r=__(e,0),n=__(e,1),e=Fu(e);if(!r.length&&!n.length||e.length)return!0;if(l_(t,0).length&&r.length||l_(t,1).length&&n.length)return!0;return!1}(e,t)&&function(e,t,r,n){var a=!1;if(r.valueDeclaration&&BA(r.valueDeclaration)&&bR(r.valueDeclaration.name)&&e.symbol&&32&e.symbol.flags){var i=r.valueDeclaration.name.escapedText,o=FO(e.symbol,i);if(o&&u_(e,o)){var o=uR.getDeclarationName(e.symbol.valueDeclaration),s=uR.getDeclarationName(t.symbol.valueDeclaration);return H(mA.Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2,vi(i),vi(""===o.escapedText?iJ:o),vi(""===s.escapedText?iJ:s))}}s=PD(By(e,t,n,!1)),U&&(U.code===mA.Class_0_incorrectly_implements_interface_1.code||U.code===mA.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code)||(a=!0),1===s.length?(n=Yo(r,void 0,0,20),H.apply(void 0,__spreadArray([mA.Property_0_is_missing_in_type_1_but_required_in_type_2,n],__read(es(e,t)),!1)),HN(r.declarations)&&K(tP(r.declarations[0],mA._0_is_declared_here,n)),a&&V&&q++):G(e,t,!1)&&(5<s.length?H(mA.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more,$o(e),$o(t),iD(s.slice(0,4),function(e){return Yo(e)}).join(", "),s.length-4):H(mA.Type_0_is_missing_the_following_properties_from_type_1_Colon_2,$o(e),$o(t),iD(s,function(e){return Yo(e)}).join(", ")),a&&V&&q++)}(e,t,y,v),0;if($y(t))try{for(var F=__values(Q(Ou(e),n)),P=F.next();!P.done;P=F.next()){var I=P.value;if(!Pu(t,I.escapedName))if(!(32768&(A=sc(I)).flags))return r&&H(mA.Property_0_does_not_exist_on_type_1,Yo(I),$o(t)),0}}catch(e){o={error:e}}finally{try{P&&!P.done&&(s=F.return)&&s.call(F)}finally{if(o)throw o.error}}var O=Ou(t),L=Xm(e)&&Xm(t);try{for(var M=__values(Q(O,n)),R=M.next();!R.done;R=M.next()){var j,B=R.value,J=B.escapedName;if(!(4194304&B.flags)&&(!L||qM(J)||"length"===J)&&(!a||16777216&B.flags))if((I=u_(e,J))&&I!==B){if(!(j=Y(e,t,I,B,cc,r,i,z===Ea)))return 0;l&=j}}}catch(e){c={error:e}}finally{try{R&&!R.done&&(u=M.return)&&u.call(M)}finally{if(c)throw c.error}}return l}function Z(e,t,r,n,a){var i,o,s,c;if(z===Fa)return function(e,t,r){var n=l_(e,r),a=l_(t,r);if(n.length!==a.length)return 0;for(var i=-1,o=0;o<n.length;o++){var s=Cm(n[o],a[o],!1,!1,!1,X);if(!s)return 0;i&=s}return i}(e,t,r);if(t===ir||e===ir)return-1;var u=e.symbol&&Nb(e.symbol.valueDeclaration),_=t.symbol&&Nb(t.symbol.valueDeclaration),l=l_(e,u&&1===r?0:r),d=l_(t,_&&1===r?0:r);if(1===r&&l.length&&d.length){var f=!!(4&l[0].flags),p=!!(4&d[0].flags);if(f&&!p)return n&&H(mA.Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type),0;if(!function(e,t,r){if(!e.declaration||!t.declaration)return!0;e=hL(e.declaration,24),t=hL(t.declaration,24);if(8===t)return!0;if(16===t&&8!==e)return!0;if(16!==t&&!e)return!0;r&&H(mA.Cannot_assign_a_0_constructor_type_to_a_1_constructor_type,os(e),os(t));return!1}(l[0],d[0],n))return 0}var m=-1,y=1===r?E:A,u=WL(e),_=WL(t);if(64&u&&64&_&&e.symbol===t.symbol||4&u&&4&_&&e.target===t.target)for(var v=0;v<d.length;v++){if(!(C=F(l[v],d[v],!0,n,a,y(l[v],d[v]))))return 0;m&=C}else if(1===l.length&&1===d.length){f=z===Ea||!!ee.noStrictGenericChecks,p=SD(l),t=SD(d);if(!(m=F(p,t,f,n,a,y(p,t)))&&n&&1===r&&u&_&&(176===(null==(_=t.declaration)?void 0:_.kind)||176===(null==(g=p.declaration)?void 0:g.kind))){var g=function(e){return Zo(e,void 0,262144,r)};return H(mA.Type_0_is_not_assignable_to_type_1,g(p),g(t)),H(mA.Types_of_construct_signatures_are_incompatible),m}}else try{e:for(var h=__values(d),x=h.next();!x.done;x=h.next()){var b=x.value,k=D(),T=n;try{for(var S=(s=void 0,__values(l)),w=S.next();!w.done;w=S.next()){var C,N=w.value;if(C=F(N,b,!0,T,a,y(N,b))){m&=C,M(k);continue e}T=!1}}catch(e){s={error:e}}finally{try{w&&!w.done&&(c=S.return)&&c.call(S)}finally{if(s)throw s.error}}return T&&H(mA.Type_0_provides_no_match_for_the_signature_1,$o(e),Zo(b,void 0,void 0,r)),0}}catch(e){i={error:e}}finally{try{x&&!x.done&&(o=h.return)&&o.call(h)}finally{if(i)throw i.error}}return m}function A(e,t){return 0===e.parameters.length&&0===t.parameters.length?function(e,t){return W(mA.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1,$o(e),$o(t))}:function(e,t){return W(mA.Call_signature_return_types_0_and_1_are_incompatible,$o(e),$o(t))}}function E(e,t){return 0===e.parameters.length&&0===t.parameters.length?function(e,t){return W(mA.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1,$o(e),$o(t))}:function(e,t){return W(mA.Construct_signature_return_types_0_and_1_are_incompatible,$o(e),$o(t))}}function F(e,t,r,n,a,i){var o=z===Na?16:z===Da?24:0;return Wp(r?W_(e):e,r?W_(t):t,o,n,H,i,function(e,t,r){return X(e,t,3,r,void 0,a)},Yt)}function S(e,t,r,n){n=X(e.type,t.type,3,r,void 0,n);return!n&&r&&(e.keyType===t.keyType?H(mA._0_index_signatures_are_incompatible,$o(e.keyType)):H(mA._0_and_1_index_signatures_are_incompatible,$o(e.keyType),$o(t.keyType))),n}function $(e,t,r,n,a){var i,o;if(z===Fa)return function(e,t){var r,n,a=v_(e),i=v_(t);if(a.length!==i.length)return 0;try{for(var o=__values(i),s=o.next();!s.done;s=o.next()){var c=s.value,u=g_(e,c.keyType);if(!u||!X(u.type,c.type,3)||u.isReadonly!==c.isReadonly)return 0}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return-1}(e,t);var s=v_(t),c=dD(s,function(e){return e.keyType===wt}),u=-1;try{for(var _=__values(s),l=_.next();!l.done;l=_.next()){var d=l.value,d=z!==Da&&!r&&c&&1&d.type.flags?-1:Du(e)&&c?X(bu(e),d.type,3,n):function(e,t,r,n){var a=b_(e,t.keyType);if(a)return S(a,t,r,n);if(!(1&n)&&(z!==Da||8192&WL(e))&&py(e))return function(e,t,r,n){var a,i,o,s,c=-1,u=t.keyType,_=(2097152&e.flags?Iu:Fu)(e);try{for(var l=__values(_),d=l.next();!d.done;d=l.next()){var f=d.value;if(!tm(e,f)&&m_(Ld(f,8576),u)){var p=cc(f);if(!(v=X(re||32768&p.flags||u===Ct||!(16777216&f.flags)?p:Cv(p,524288),t.type,3,r,void 0,n)))return r&&H(mA.Property_0_is_incompatible_with_index_signature,Yo(f)),0;c&=v}}}catch(e){a={error:e}}finally{try{d&&!d.done&&(i=l.return)&&i.call(l)}finally{if(a)throw a.error}}try{for(var m=__values(v_(e)),y=m.next();!y.done;y=m.next()){var v,g=y.value;if(m_(g.keyType,u)){if(!(v=S(g,t,r,n)))return 0;c&=v}}}catch(e){o={error:e}}finally{try{y&&!y.done&&(s=m.return)&&s.call(m)}finally{if(o)throw o.error}}return c}(e,t,r,n);r&&H(mA.Index_signature_for_type_0_is_missing_in_type_1,$o(t.keyType),$o(e));return 0}(e,d,n,a);if(!d)return 0;u&=d}}catch(e){i={error:e}}finally{try{l&&!l.done&&(o=_.return)&&o.call(_)}finally{if(i)throw i.error}}return u}}function am(e){if(16&e.flags)return!1;if(3145728&e.flags)return!!KN(e.types,am);if(465829888&e.flags){var t=Lu(e);if(t&&t!==e)return am(t)}return Jm(e)||!!(134217728&e.flags)||!!(268435456&e.flags)}function im(t,e){return Xm(t)&&Xm(e)?WN:Ou(e).filter(function(e){return om(vs(t,e.escapedName),sc(e))})}function om(e,t){return!!e&&!!t&&Wk(e,32768)&&!!dy(t)}function sm(e,t,r){return void 0===r&&(r=wp),zN(e,t,r)||function(r,e){var n=WL(r);if(20&n&&1048576&e.flags)return QN(e.types,function(e){if(524288&e.flags){var t=n&WL(e);if(4&t)return r.target===e.target;if(16&t)return r.aliasSymbol&&r.aliasSymbol===e.aliasSymbol}})}(e,t)||function(e,t){if(128&WL(e)&&qv(t,Im))return QN(t.types,function(e){return!Im(e)})}(e,t)||function(e,t){var r=0;if(0<l_(e,r).length||0<l_(e,r=1).length)return QN(t.types,function(e){return 0<l_(e,r).length})}(e,t)||function(e,t){var r,n,a;if(!(406978556&e.flags)){var i=0;try{for(var o=__values(t.types),s=o.next();!s.done;s=o.next()){var c=s.value;if(!(406978556&c.flags)){var u=Cd([jd(e),jd(c)]);if(4194304&u.flags)return c;(Jm(u)||1048576&u.flags)&&(u=1048576&u.flags?rD(u.types,Jm):1,i<=u&&(a=c,i=u))}}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}return a}(e,t)}function cm(e,t,r){var n,a,i,o=e.types,s=o.map(function(e){return 402784252&e.flags?0:-1});try{for(var c=__values(t),u=c.next();!u.done;u=c.next()){for(var _,l=__read(u.value,2),d=l[0],f=l[1],p=!1,m=0;m<o.length;m++)s[m]&&((_=vs(i=o[m],_=f)||(_=null==(_=k_(i,_))?void 0:_.type)&&Fs(_,!0,!0))&&r(d(),_)?p=!0:s[m]=3);for(m=0;m<o.length;m++)3===s[m]&&(s[m]=p?0:-1)}}catch(e){n={error:e}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(n)throw n.error}}var y=eD(s,0)?hd(o.filter(function(e,t){return s[t]}),0):e;return 131072&y.flags?e:y}function um(e){if(524288&e.flags){var t=Eu(e);return 0===t.callSignatures.length&&0===t.constructSignatures.length&&0===t.indexInfos.length&&0<t.properties.length&&XN(t.properties,function(e){return 16777216&e.flags})}return!!(2097152&e.flags)&&XN(e.types,um)}function _m(e){return e===kr||e===Tr||8&e.objectFlags?l:dm(e.symbol,e.typeParameters)}function lm(e){return dm(e,si(e).typeParameters)}function dm(s,e){var t,r;void 0===e&&(e=WN);var n=si(s);if(!n.variances){null!=iA&&iA.push(iA.Phase.CheckTypes,"getVariancesWorker",{arity:e.length,id:Pc(s).id});var a=aa;aa||(aa=!0,na=ea.length),n.variances=WN;var c=[];try{for(var i=__values(e),o=i.next();!o.done;o=i.next())!function(e){var t,r,n,a,i=mm(e),o=65536&i?32768&i?0:1:32768&i?2:void 0;void 0===o&&(r=t=!1,n=Pt,Pt=function(e){return e?r=!0:t=!0},a=fm(s,e,ur),3===(o=(Ap(i=fm(s,e,_r),a)?1:0)|(Ap(a,i)?2:0))&&Ap(fm(s,e,lr),a)&&(o=4),Pt=n,(t||r)&&(t&&(o|=8),r&&(o|=16))),c.push(o)}(o.value)}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}a||(aa=!1,na=0),n.variances=c,null!=iA&&iA.pop({variances:c.map(rA.formatVariance)})}return n.variances}function fm(e,t,r){t=Qf(t,r),r=Pc(e);if(hs(r))return r;t=524288&e.flags?pl(e,Wf(si(e).typeParameters,t)):cl(r,Wf(r.typeParameters,t));return at.add(t.id),t}function pm(e){return at.has(e.id)}function mm(e){return 100352&ED(null==(e=e.symbol)?void 0:e.declarations,function(e,t){return e|xL(t)},0)}function ym(e){return!!(4&WL(t=e))&&!t.node&&dD(ll(e),function(e){return!!(262144&e.flags)||ym(e)});var t}function vm(e,t,r,u){var _=[],l="",e=d(e,0),t=d(t,0);return"".concat(l).concat(e,",").concat(t).concat(r);function d(e,t){var r,n;void 0===t&&(t=0);var a=""+e.target.id;try{for(var i=__values(ll(e)),o=i.next();!o.done;o=i.next()){var s=o.value;if(262144&s.flags){if(u||262144&(c=s).flags&&!Mu(c)){var c=_.indexOf(s);c<0&&(c=_.length,_.push(s)),a+="="+c;continue}l="*"}else if(t<4&&ym(s)){a+="<"+d(s,t+1)+">";continue}a+="-"+s.id}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a}}function gm(e,t,r,n,a){n===Fa&&e.id>t.id&&(n=e,e=t,t=n);r=r?":"+r:"";return ym(e)&&ym(t)?vm(e,t,r,a):"".concat(e.id,",").concat(t.id).concat(r)}function hm(e,t){var r,n;if(!(6&BL(e)))return t(e);try{for(var a=__values(e.links.containingType.types),i=a.next();!i.done;i=a.next()){var o=u_(i.value,e.escapedName),o=o&&hm(o,t);if(o)return o}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}function xm(e){return e.parent&&32&e.parent.flags?Pc(go(e)):void 0}function bm(e){var t=xm(e),t=t&&Tc(t)[0];return t&&vs(t,e.escapedName)}function km(t,e,r){return hm(e,function(e){return!!(16&JL(e,r))&&!lc(t,xm(e))})?void 0:t}function Tm(e,t,r,n){if(void 0===n&&(n=3),n<=r){if(2097152&e.flags)return dD(e.types,function(e){return Tm(e,t,r,n)});for(var a=Sm(e),i=0,o=0,s=0;s<r;s++){var c=t[s];if(2097152&c.flags?dD(c.types,function(e){return Sm(e)===a}):Sm(c)===a){if(c.id>=o&&n<=++i)return!0;o=c.id}}}return!1}function Sm(e){if(524288&e.flags&&!ev(e)){if(4&WL(e)&&e.node)return e.node;if(e.symbol&&!(16&WL(e)&&32&e.symbol.flags))return e.symbol;if(Xm(e))return e.target}if(262144&e.flags)return e.symbol;if(8388608&e.flags){for(;e=e.objectType,8388608&e.flags;);return e}return 16777216&e.flags?e.root:e}function wm(e,t,r){if(e===t)return-1;var n=24&JL(e);if(n!=(24&JL(t)))return 0;if(n){if(Iw(e)!==Iw(t))return 0}else if((16777216&e.flags)!=(16777216&t.flags))return 0;return jk(e)!==jk(t)?0:r(sc(e),sc(t))}function Cm(e,t,r,n,a,i){if(e===t)return-1;if(s=t,c=r,u=nk(o=e),_=nk(s),l=ak(o),r=ak(s),o=ik(o),s=ik(s),(u!==_||l!==r||o!==s)&&!(c&&l<=r))return 0;var o,s,c,u,_,l;if(HN(e.typeParameters)!==HN(t.typeParameters))return 0;if(t.typeParameters){for(var d=Gf(e.typeParameters,t.typeParameters),f=0;f<t.typeParameters.length;f++)if(!((x=e.typeParameters[f])===(g=t.typeParameters[f])||i(pp(rl(x),d)||yt,rl(g)||yt)&&i(pp(Gu(x),d)||yt,Gu(g)||yt)))return 0;e=ip(e,d,!0)}var p=-1;if(!n){var m=L_(e);if(m){var y=L_(t);if(y){if(!(h=i(m,y)))return 0;p&=h}}}for(var v=nk(t),f=0;f<v;f++){var g,h,x=ek(e,f);if(!(h=i(g=ek(t,f),x)))return 0;p&=h}return a||(m=M_(e),y=M_(t),p&=m||y?(a=y,y=i,(m=m)&&a&&bd(m,a)?m.type===a.type?-1:m.type&&a.type?y(m.type,a.type):0:0):i(j_(e),j_(t))),p}function Nm(e){if(1===e.length)return e[0];var t=te?oD(e,function(e){return Hv(e,function(e){return!(98304&e.flags)})}):e,r=function(e){var t,r,n;try{for(var a=__values(e),i=a.next();!i.done;i=a.next()){var o=i.value;if(!(131072&o.flags)){var s=Vm(o);if(null!=n||(n=s),s===o||s!==n)return}}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return 1}(t)?hd(t):ED(t,function(e,t){return Np(e,t)?t:e});return t===e?r:ay(r,98304&function r(e){return ED(e,function(e,t){return e|(1048576&t.flags?r(t.types):t.flags)},0)}(e))}function Dm(e){return!!(4&WL(e))&&(e.target===kr||e.target===Tr)}function Am(e){return!!(4&WL(e))&&e.target===Tr}function Em(e){return Dm(e)||Xm(e)}function Fm(e){return Dm(e)&&!Am(e)||Xm(e)&&!e.target.readonly}function Pm(e){return Dm(e)?ll(e)[0]:void 0}function Im(e){return Dm(e)||!(98304&e.flags)&&Ap(e,Fr)}function Om(e){if(4&WL(e)&&3&WL(e.target)){if(33554432&WL(e))return 67108864&WL(e)?e.cachedEquivalentBaseType:void 0;e.objectFlags|=33554432;var t=e.target;if(1&WL(t)){var r=gc(t);if(r&&80!==r.expression.kind&&211!==r.expression.kind)return}r=Tc(t);if(1===r.length&&!Gc(e.symbol).size){r=HN(t.typeParameters)?pp(r[0],Gf(t.typeParameters,ll(e).slice(0,t.typeParameters.length))):r[0];return HN(ll(e))>HN(t.typeParameters)&&(r=Qc(r,ND(ll(e)))),e.objectFlags|=67108864,e.cachedEquivalentBaseType=r}}}function Lm(e){return te?e===jt:e===ht}function Mm(e){e=Pm(e);return e&&Lm(e)}function Rm(e){var t;return Xm(e)||!!u_(e,"0")||Im(e)&&!!(t=vs(e,"length"))&&Wv(t,function(e){return!!(256&e.flags)})}function jm(e){return Im(e)||Rm(e)}function Bm(e){return!(240544&e.flags)}function Jm(e){return!!(109472&e.flags)}function zm(e){e=qu(e);return 2097152&e.flags?dD(e.types,Jm):Jm(e)}function Um(e){return!!(16&e.flags)||(1048576&e.flags?!!(1024&e.flags)||XN(e.types,Jm):Jm(e))}function Vm(e){return 1056&e.flags?Nc(e):402653312&e.flags?wt:256&e.flags?Ct:2048&e.flags?Nt:512&e.flags?It:1048576&e.flags?(n="B".concat((t=e).id),null!==(r=La(n))&&void 0!==r?r:Ma(n,Gv(t,Vm))):e;var t,r,n}function qm(e){return 402653312&e.flags?wt:288&e.flags?Ct:2048&e.flags?Nt:512&e.flags?It:1048576&e.flags?Gv(e,qm):e}function Wm(e){return 1056&e.flags&&Of(e)?Nc(e):128&e.flags&&Of(e)?wt:256&e.flags&&Of(e)?Ct:2048&e.flags&&Of(e)?Nt:512&e.flags&&Of(e)?It:1048576&e.flags?Gv(e,Wm):e}function Hm(e){return 8192&e.flags?Ot:1048576&e.flags?Gv(e,Hm):e}function Km(e,t){return uT(e,t)||(e=Hm(Wm(e))),If(e)}function Gm(e,t,r,n){return e&&Jm(e)&&(e=Km(e,t?mw(r,t,n):void 0)),e}function Xm(e){return!!(4&WL(e)&&8&e.target.objectFlags)}function Qm(e){return Xm(e)&&!!(8&e.target.combinedFlags)}function Ym(e){return Qm(e)&&1===e.target.elementFlags.length}function Zm(e){return ey(e,e.target.fixedLength)}function $m(e,r,n){return Gv(e,function(e){var t=e,e=Zm(t);return e?n&&r>=ld(t.target)?hd([e,n]):e:gt})}function ey(e,t,r,n,a){void 0===r&&(r=0),void 0===n&&(n=!1),void 0===a&&(a=!1);var i=dl(e)-r;if(t<i){for(var o=ll(e),s=[],c=t;c<i;c++){var u=o[c];s.push(8&e.target.elementFlags[c]?sf(u,Ct):u)}return n?Cd(s):hd(s,a?0:1)}}function ty(e){return"0"===e.value.base10Value}function ry(e){return Hv(e,function(e){return!!(4194304&wv(e))})}function ny(e){return 4&e.flags?Yn:8&e.flags?Zn:64&e.flags?$n:e===At||e===Dt||114691&e.flags||128&e.flags&&""===e.value||256&e.flags&&0===e.value||2048&e.flags&&ty(e)?e:Mt}function ay(e,t){t=t&~e.flags&98304;return 0==t?e:hd(32768==t?[e,gt]:65536==t?[e,Tt]:[e,gt,Tt])}function iy(e,t){void 0===t&&(t=!1),rA.assert(te);t=t?bt:gt;return e===t||1048576&e.flags&&e.types[0]===t?e:hd([e,t])}function oy(e){return te?Nv(e,2097152):e}function sy(e){return te?hd([e,kt]):e}function cy(e){return te?Kv(e,kt):e}function uy(e,t,r){return r?(sE(t)?iy:sy)(e):e}function _y(e,t){return oE(t)?oy(e):aE(t)?cy(e):e}function ly(e,t){return re&&t?Kv(e,xt):e}function dy(e){return e===xt||!!(1048576&e.flags)&&e.types[0]===xt}function fy(e){return re?Kv(e,xt):Cv(e,524288)}function py(e){var t=WL(e);return 2097152&e.flags?XN(e.types,py):!(!e.symbol||0==(7040&e.symbol.flags)||32&e.symbol.flags||AC(e))||!!(4194304&t)||!!(1024&t&&py(e.source))}function my(e,t){var r=Qa(e.flags,e.escapedName,8&BL(e));r.declarations=e.declarations,r.parent=e.parent,r.links.type=t,(r.links.target=e).valueDeclaration&&(r.valueDeclaration=e.valueDeclaration);e=si(e).nameType;return e&&(r.links.nameType=e),r}function yy(e){if(!($y(e)&&8192&WL(e)))return e;var t=e.regularType;if(t)return t;var r=e,t=function(e,t){var r,n,a=vF();try{for(var i=__values(Fu(e)),o=i.next();!o.done;o=i.next()){var s=o.value,c=sc(s),u=t(c);a.set(s.escapedName,u===c?s:my(s,u))}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a}(e,yy),t=Mo(r.symbol,t,r.callSignatures,r.constructSignatures,r.indexInfos);return t.flags=r.flags,t.objectFlags|=-8193&r.objectFlags,e.regularType=t}function vy(e,t,r){return{parent:e,propertyName:t,siblings:r,resolvedProperties:void 0}}function gy(e){var t,r,n,a;if(!e.resolvedProperties){var i=new Map;try{for(var o=__values(function e(t){var r,n;if(!t.siblings){var a=[];try{for(var i=__values(e(t.parent)),o=i.next();!o.done;o=i.next()){var s=o.value;!$y(s)||(s=Pu(s,t.propertyName))&&Vv(sc(s),function(e){a.push(e)})}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}t.siblings=a}return t.siblings}(e)),s=o.next();!s.done;s=o.next()){var c=s.value;if($y(c)&&!(2097152&WL(c)))try{for(var u=(n=void 0,__values(Ou(c))),_=u.next();!_.done;_=u.next()){var l=_.value;i.set(l.escapedName,l)}}catch(e){n={error:e}}finally{try{_&&!_.done&&(a=u.return)&&a.call(u)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}e.resolvedProperties=PD(i.values())}return e.resolvedProperties}function hy(e,t){var r,n,a,i,o,s,c=vF();try{for(var u=__values(Fu(e)),_=u.next();!_.done;_=u.next()){var l=_.value;c.set(l.escapedName,function(e,t){if(!(4&e.flags))return e;var r=sc(e);return(t=by(r,t&&vy(t,e.escapedName,void 0)))===r?e:my(e,t)}(l,t))}}catch(e){r={error:e}}finally{try{_&&!_.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}if(t)try{for(var d=__values(gy(t)),f=d.next();!f.done;f=d.next()){l=f.value;c.has(l.escapedName)||c.set(l.escapedName,(o=l,s=void 0,(s=nt.get(o.escapedName))||((s=my(o,bt)).flags|=16777216,nt.set(o.escapedName,s),s)))}}catch(e){a={error:e}}finally{try{f&&!f.done&&(i=d.return)&&i.call(d)}finally{if(a)throw a.error}}var p=Mo(e.symbol,c,WN,WN,oD(v_(e),function(e){return Q_(e.keyType,xy(e.type),e.isReadonly)}));return p.objectFlags|=266240&WL(e),p}function xy(e){return by(e,void 0)}function by(e,t){if(196608&WL(e)){if(void 0===t&&e.widened)return e.widened;var r,n,a=void 0;return 98305&e.flags?a=ut:$y(e)?a=hy(e,t):1048576&e.flags?(r=t||vy(void 0,void 0,e.types),a=hd(n=oD(e.types,function(e){return 98304&e.flags?e:by(e,r)}),dD(n,Gp)?2:1)):2097152&e.flags?a=Cd(oD(e.types,xy)):Em(e)&&(a=cl(e.target,oD(ll(e),xy))),a&&void 0===t&&(e.widened=a),a||e}return e}function ky(e,t,r){var n,a=$o(xy(t));if(!cI(e)||TM(CF(e),ee)){switch(e.kind){case 226:case 172:case 171:n=N?mA.Member_0_implicitly_has_an_1_type:mA.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 169:var i=e;if(xR(i.name)){var o=MA(i.name);if((MR(i.parent)||ER(i.parent)||JR(i.parent))&&-1<i.parent.parameters.indexOf(i)&&(pi(i,i.name.escapedText,788968,void 0,i.name.escapedText,!0)||o&&KL(o))){o="arg"+i.parent.parameters.indexOf(i),i=QF(i.name)+(i.dotDotDotToken?"[]":"");return void qa(N,e,mA.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1,o,i)}}n=e.dotDotDotToken?N?mA.Rest_parameter_0_implicitly_has_an_any_type:mA.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:N?mA.Parameter_0_implicitly_has_an_1_type:mA.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 208:if(n=mA.Binding_element_0_implicitly_has_an_1_type,!N)return;break;case 324:return void Ua(e,mA.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,a);case 330:return void(N&&SB(e.parent)&&Ua(e.parent.tagName,mA.This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation,a));case 262:case 174:case 173:case 177:case 178:case 218:case 219:if(N&&!e.name)return void Ua(e,3===r?mA.Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation:mA.Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,a);n=N?3===r?mA._0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:mA._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:mA._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage;break;case 200:return void(N&&Ua(e,mA.Mapped_object_type_implicitly_has_an_any_template_type));default:n=N?mA.Variable_0_implicitly_has_an_1_type:mA.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage}qa(N,e,n,QF(JA(e)),a)}}function Ty(e,t,r){D(function(){!(N&&65536&WL(t))||r&&mh(e)||!function e(t){var r,n,a,i,o,s,c=!1;if(65536&WL(t)){if(1048576&t.flags)if(dD(t.types,Gp))c=!0;else try{for(var u=__values(t.types),_=u.next();!_.done;_=u.next())e(m=_.value)&&(c=!0)}catch(e){r={error:e}}finally{try{_&&!_.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}if(Em(t))try{for(var l=__values(ll(t)),d=l.next();!d.done;d=l.next())e(m=d.value)&&(c=!0)}catch(e){a={error:e}}finally{try{d&&!d.done&&(i=l.return)&&i.call(l)}finally{if(a)throw a.error}}if($y(t))try{for(var f=__values(Fu(t)),p=f.next();!p.done;p=f.next()){var m,y=p.value;65536&WL(m=sc(y))&&(e(m)||Ua(y.valueDeclaration,mA.Object_literal_s_property_0_implicitly_has_an_1_type,Yo(y),$o(xy(m))),c=!0)}}catch(e){o={error:e}}finally{try{p&&!p.done&&(s=f.return)&&s.call(f)}finally{if(o)throw o.error}}}return c}(t)&&ky(e,t,r)})}function Sy(e,t,r){var n=nk(e),a=nk(t),i=ok(e),o=ok(t),a=o?a-1:a,s=i?a:Math.min(n,a),n=L_(e);!n||(a=L_(t))&&r(n,a);for(var c=0;c<s;c++)r(ek(e,c),ek(t,c));o&&r(rk(e,s),o)}function wy(e,t,r){var n=M_(e),a=M_(t);n&&a&&bd(n,a)&&n.type&&a.type?r(n.type,a.type):r(j_(e),j_(t))}function Cy(e,t,r,n){return Ny(e.map(Ey),t,r,n||wp)}function Ny(e,t,r,n){var a,i,n={inferences:e,signature:t,flags:r,compareTypes:n,mapper:Zt,nonFixingMapper:Zt};return n.mapper=Zf(iD((a=n).inferences,function(e){return e.typeParameter}),iD(a.inferences,function(e,t){return function(){return e.isFixed||(function(e){var t,r;if(e.intraExpressionInferenceSites){try{for(var n=__values(e.intraExpressionInferenceSites),a=n.next();!a.done;a=n.next()){var i=a.value,o=i.node,i=i.type,o=(174===o.kind?Xg:ih)(o,2);o&&Qy(e.inferences,i,o)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}e.intraExpressionInferenceSites=void 0}}(a),Dy(a.inferences),e.isFixed=!0),nv(a,t)}})),n.nonFixingMapper=Zf(iD((i=n).inferences,function(e){return e.typeParameter}),iD(i.inferences,function(e,t){return function(){return nv(i,t)}})),n}function Dy(e){var t,r;try{for(var n=__values(e),a=n.next();!a.done;a=n.next()){var i=a.value;i.isFixed||(i.inferredType=void 0)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}function Ay(e,t,r){var n;(null!==(n=e.intraExpressionInferenceSites)&&void 0!==n?n:e.intraExpressionInferenceSites=[]).push({node:t,type:r})}function Ey(e){return{typeParameter:e,candidates:void 0,contraCandidates:void 0,inferredType:void 0,priority:void 0,topLevel:!0,isFixed:!1,impliedArity:void 0}}function Fy(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 Py(e){return e&&e.mapper}function Iy(e){var t=WL(e);if(524288&t)return!!(1048576&t);t=!!(465829888&e.flags||524288&e.flags&&!Oy(e)&&(4&t&&(e.node||dD(ll(e),Iy))||16&t&&e.symbol&&14384&e.symbol.flags&&e.symbol.declarations||12583968&t)||137363456&e.flags&&!(1024&e.flags)&&!Oy(e)&&dD(e.types,Iy));return 138117121&e.flags&&(e.objectFlags|=524288|(t?1048576:0)),t}function Oy(e){if(e.aliasSymbol&&!e.aliasTypeArguments){e=mF(e.aliasSymbol,265);return e&&FA(e.parent,function(e){return 312===e.kind||267!==e.kind&&"quit"})}}function Ly(e,t,r){return void 0===r&&(r=0),!!(e===t||3145728&e.flags&&dD(e.types,function(e){return Ly(e,t,r)})||r<3&&16777216&e.flags&&(Ly(vf(e),t,r+1)||Ly(gf(e),t,r+1)))}function My(e,t,r){var n=e.id+","+t.id+","+r.id;if(Mn.has(n))return Mn.get(n);var a=e.id+","+(t.target||t).id;if(!eD(Rn,a)){Rn.push(a);r=function(e,t,r){if(!(g_(e,wt)||0!==Ou(e).length&&Ry(e)))return;if(Dm(e))return Yl(jy(ll(e)[0],t,r),Am(e));if(Xm(e)){var n=iD(dd(e),function(e){return jy(e,t,r)}),a=4&wu(t)?oD(e.target.elementFlags,function(e){return 2&e?1:e}):e.target.elementFlags;return ad(n,a,e.target.readonly,e.target.labeledElementDeclarations)}a=Eo(1040,void 0);return a.source=e,a.mappedType=t,a.constraintType=r,a}(e,t,r);return Rn.pop(),Mn.set(n,r),r}}function Ry(e){return!(262144&WL(e))||$y(e)&&dD(Ou(e),function(e){return Ry(sc(e))})||Xm(e)&&dD(dd(e),Ry)}function jy(e,t,r){r=sf(r.type,gu(t)),t=bu(t),r=Ey(r);return Qy([r],e,t),zy(r)||yt}function By(t,r,n,a){var i,o,s,c,u,_,l,d;return __generator(this,function(e){switch(e.label){case 0:u=Ou(r),e.label=1;case 1:e.trys.push([1,8,9,10]),i=__values(u),o=i.next(),e.label=2;case 2:return o.done?[3,7]:Jc(s=o.value)||!n&&(16777216&s.flags||48&BL(s))?[3,6]:(c=u_(t,s.escapedName))?[3,4]:[4,s];case 3:return e.sent(),[3,6];case 4:return a?!(109472&(u=sc(s)).flags)||1&(_=sc(c)).flags||If(_)===If(u)?[3,6]:[4,s]:[3,6];case 5:e.sent(),e.label=6;case 6:return o=i.next(),[3,2];case 7:return[3,10];case 8:return l=e.sent(),l={error:l},[3,10];case 9:try{o&&!o.done&&(d=i.return)&&d.call(i)}finally{if(l)throw l.error}return[7];case 10:return[2]}})}function Jy(e,t,r,n){return TD(By(e,t,r,n))}function zy(e){return e.candidates?hd(e.candidates,2):e.contraCandidates?Cd(e.contraCandidates):void 0}function Uy(e){return!!ci(e).skipDirectInference}function Vy(e){return e.symbol&&dD(e.symbol.declarations,Uy)}function qy(e,t){if(""!==e){var r=+e;return isFinite(r)&&(!t||""+r===e)}}function Wy(e,t){if(1&t.flags)return!0;if(134217732&t.flags)return Ap(e,t);if(268435456&t.flags){for(var r=[];268435456&t.flags;)r.unshift(t.symbol),t=t.type;return ED(r,function(e,t){return Ud(t,e)},e)===e&&Wy(e,t)}return!1}function Hy(e,t){return 128&e.flags?Xy([e.value],WN,t):134217728&e.flags?tD(e.texts,t.texts)?iD(e.types,Gy):Xy(e.texts,e.types,t):void 0}function Ky(e,r){e=Hy(e,r);return!!e&&XN(e,function(e,t){return function(e,t){if(e===t||5&t.flags)return 1;if(128&e.flags){var r=e.value;return!!(8&t.flags&&qy(r,!1)||64&t.flags&&PM(r,!1)||98816&t.flags&&r===t.intrinsicName||268435456&t.flags&&Wy(Lf(r),t))}if(134217728&e.flags){r=e.texts;return 2===r.length&&""===r[0]&&""===r[1]&&Ap(e.types[0],t)}return Ap(e,t)}(e,r.types[t])})}function Gy(e){return 402653317&e.flags?e:Jd(["",""],[e])}function Xy(n,a,e){var t=n.length-1,r=n[0],i=n[t],o=e.texts,s=o.length-1,c=o[0],e=o[s];if(!(0===t&&r.length<c.length+e.length)&&r.startsWith(c)&&i.endsWith(e)){for(var u=i.slice(0,i.length-e.length),_=[],l=0,d=c.length,f=1;f<s;f++){var p=o[f];if(0<p.length){for(var m=l,y=d;!(0<=(y=v(m).indexOf(p,y)));){if(++m===n.length)return;y=0}g(m,y),d+=p.length}else if(d<v(l).length)g(l,d+1);else{if(!(l<t))return;g(l+1,0)}}return g(t,v(t).length),_}function v(e){return e<t?n[e]:u}function g(e,t){var r=e===l?Lf(v(e).slice(d,t)):Jd(__spreadArray(__spreadArray([n[l].slice(d)],__read(n.slice(l+1,e)),!1),[v(e).slice(0,t)],!1),a.slice(l,e));_.push(r),l=e,d=t}}function Qy(b,e,k,S,T){void 0===S&&(S=0),void 0===T&&(T=!1);var w,s,c,u,C=!1,N=2048,D=!0,_=0;function A(n,e){var t,r,a,i,o,s;if(Iy(e)){if(n===lt){var c=w;return w=n,A(e,e),void(w=c)}if(n.aliasSymbol&&n.aliasSymbol===e.aliasSymbol)n.aliasTypeArguments&&(c=D_(o=si(n.aliasSymbol).typeParameters),I(g=A_(n.aliasTypeArguments,o,c,cI(n.aliasSymbol.valueDeclaration)),A_(e.aliasTypeArguments,o,c,cI(n.aliasSymbol.valueDeclaration)),lm(n.aliasSymbol)));else if(n===e&&3145728&n.flags)try{for(var u=__values(n.types),_=u.next();!_.done;_=u.next()){var l=_.value;A(l,l)}}catch(e){t={error:e}}finally{try{_&&!_.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}else{if(1048576&e.flags){var d=__read(P(1048576&n.flags?n.types:[n],e.types,Yy),2),f=d[0],p=d[1],d=__read(P(f,p,Zy),2),f=d[0];if(0===(p=d[1]).length)return;if(e=hd(p),0===f.length)return void E(n,e,1);n=hd(f)}else if(2097152&e.flags&&!XN(e.types,wf)){if(!(1048576&n.flags)){d=__read(P(2097152&n.flags?n.types:[n],e.types,Tp),2),f=d[0],p=d[1];if(0===f.length||0===p.length)return;n=Cd(f),e=Cd(p)}}else 41943040&e.flags&&(e=df(e));if(8650752&e.flags){if(Vy(n))return;f=L(e);if(f)return 262144&WL(n)||n===pt?void 0:(f.isFixed||((void 0===f.priority||S<f.priority)&&(f.candidates=void 0,f.contraCandidates=void 0,f.topLevel=!0,f.priority=S),S===f.priority&&(p=w||n,T&&!C?eD(f.contraCandidates,p)||(f.contraCandidates=vD(f.contraCandidates,p),Dy(b)):eD(f.candidates,p)||(f.candidates=vD(f.candidates,p),Dy(b))),!(128&S)&&262144&e.flags&&f.topLevel&&!Ly(k,e)&&(f.topLevel=!1,Dy(b))),void(N=Math.min(N,S)));var m,y,f=rf(e,!1);f!==e?A(n,f):8388608&e.flags&&(465829888&(m=rf(e.indexType,!1)).flags&&((y=nf(rf(e.objectType,!1),m,!1))&&y!==e&&A(n,y)))}if(!(4&WL(n)&&4&WL(e)&&(n.target===e.target||Dm(n)&&Dm(e)))||n.node&&e.node)if(4194304&n.flags&&4194304&e.flags)O(n.type,e.type);else if((Um(n)||4&n.flags)&&4194304&e.flags){var v=(m=n,s=vF(),Vv(m,function(e){var t,r;128&e.flags&&((r=Qa(4,t=IA(e.value))).links.type=ut,e.symbol&&(r.declarations=e.symbol.declarations,r.valueDeclaration=e.symbol.valueDeclaration),s.set(t,r))}),m=4&m.flags?[Q_(wt,$t,!1)]:WN,Mo(void 0,s,WN,WN,m));y=v,m=e.type,v=S,S|=256,O(y,m),S=v}else if(8388608&n.flags&&8388608&e.flags)A(n.objectType,e.objectType),A(n.indexType,e.indexType);else if(268435456&n.flags&&268435456&e.flags)n.symbol===e.symbol&&A(n.type,e.type);else if(33554432&n.flags)A(n.baseType,e),E(xl(n),e,4);else if(16777216&e.flags)F(n,e,R);else if(3145728&e.flags)M(n,e.types,e.flags);else if(1048576&n.flags){var g=n.types;try{for(var h=__values(g),x=h.next();!x.done;x=h.next())A(x.value,e)}catch(e){a={error:e}}finally{try{x&&!x.done&&(i=h.return)&&i.call(h)}finally{if(a)throw a.error}}}else if(134217728&e.flags)!function(e){var i=Hy(n,e),o=e.types;if(i||XN(e.texts,function(e){return 0===e.length}))for(var t=function(e){var r=i?i[e]:Mt,t=o[e];if(128&r.flags&&8650752&t.flags){e=L(t),e=e?Vu(e.typeParameter):void 0;if(e&&!gs(e)){var e=1048576&e.flags?e.types:[e],n=ED(e,function(e,t){return e|t.flags},0);if(!(4&n)){var a=r.value;296&n&&!qy(a,!0)&&(n&=-297),2112&n&&!PM(a,!0)&&(n&=-2113);e=ED(e,function(e,t){return!(t.flags&n)||4&e.flags?e:4&t.flags?r:134217728&e.flags?e:134217728&t.flags&&Ky(r,t)?r:268435456&e.flags?e:268435456&t.flags&&a===Vd(t.symbol,a)?r:128&e.flags?e:128&t.flags&&t.value===a?t:8&e.flags?e:8&t.flags?Mf(+a):32&e.flags?e:32&t.flags?Mf(+a):256&e.flags?e:256&t.flags&&t.value===+a?t:64&e.flags?e:64&t.flags?Rf(FM(a)):2048&e.flags?e:2048&t.flags&&EM(t.value)===a?t:16&e.flags?e:16&t.flags?"true"===a?Et:"false"===a?Dt:It:!(512&e.flags)&&(512&t.flags&&t.intrinsicName===a||!(32768&e.flags)&&(32768&t.flags&&t.intrinsicName===a||!(65536&e.flags)&&65536&t.flags&&t.intrinsicName===a))?t:e},Mt);if(!(131072&e.flags))return A(e,t),"continue"}}}A(r,t)},r=0;r<o.length;r++)t(r)}(e);else{if(n=n_(n),!(512&S&&467927040&n.flags)){v=Zu(n);if(v!==n&&D&&!(2621440&v.flags))return D=!1,A(v,e);n=v}2621440&n.flags&&F(n,e,j)}else I(ll(n),ll(e),_m(n.target))}}}function E(e,t,r){var n=S;S|=r,A(e,t),S=n}function F(e,t,r){var n,a,i=e.id+","+t.id,o=s&&s.get(i);N=void 0===o?((s=s||new Map).set(i,-1),n=N,N=2048,a=_,(null!=c?c:c=[]).push(e),(null!=u?u:u=[]).push(t),Tm(e,c,c.length,2)&&(_|=1),Tm(t,u,u.length,2)&&(_|=2),3!==_?r(e,t):N=-1,u.pop(),c.pop(),_=a,s.set(i,N),Math.min(N,n)):Math.min(N,o)}function P(e,t,r){var n,a,i,o,s,c;try{for(var u=__values(t),_=u.next();!_.done;_=u.next()){var l=_.value;try{for(var d=(i=void 0,__values(e)),f=d.next();!f.done;f=d.next()){var p=f.value;r(p,l)&&(A(p,l),s=xD(s,p),c=xD(c,l))}}catch(e){i={error:e}}finally{try{f&&!f.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}}}catch(e){n={error:e}}finally{try{_&&!_.done&&(a=u.return)&&a.call(u)}finally{if(n)throw n.error}}return[s?nD(e,function(e){return!eD(s,e)}):e,c?nD(t,function(e){return!eD(c,e)}):t]}function I(e,t,r){for(var n=(e.length<t.length?e:t).length,a=0;a<n;a++)(a<r.length&&2==(7&r[a])?O:A)(e[a],t[a])}function O(e,t){T=!T,A(e,t),T=!T}function f(e,t){(z||1024&S?O:A)(e,t)}function L(e){var t,r;if(8650752&e.flags)try{for(var n=__values(b),a=n.next();!a.done;a=n.next()){var i=a.value;if(e===i.typeParameter)return i}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}function M(e,t,r){var n,a,i,o,s,c,u=0;if(1048576&r){var _=void 0,l=1048576&e.flags?e.types:[e],d=new Array(l.length),f=!1;try{for(var p=__values(t),m=p.next();!m.done;m=p.next())if(L(b=m.value))_=b,u++;else for(var y=0;y<l.length;y++){var v=N;N=2048,A(l[y],b),N===S&&(d[y]=!0),f=f||-1===N,N=Math.min(N,v)}}catch(e){n={error:e}}finally{try{m&&!m.done&&(a=p.return)&&a.call(p)}finally{if(n)throw n.error}}if(0===u){var g=function(e){var t,r,n;try{for(var a=__values(e),i=a.next();!i.done;i=a.next()){var o=i.value,o=2097152&o.flags&&QN(o.types,L);if(!o||n&&o!==n)return;n=o}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n}(t);return void(g&&E(e,g,1))}if(1===u&&!f){g=cD(l,function(e,t){return d[t]?void 0:e});if(g.length)return void A(hd(g),_)}}else try{for(var h=__values(t),x=h.next();!x.done;x=h.next())L(b=x.value)?u++:A(e,b)}catch(e){i={error:e}}finally{try{x&&!x.done&&(o=h.return)&&o.call(h)}finally{if(i)throw i.error}}if(2097152&r?1===u:0<u)try{for(var b,k=__values(t),T=k.next();!T.done;T=k.next())L(b=T.value)&&E(e,b,1)}catch(e){s={error:e}}finally{try{T&&!T.done&&(c=k.return)&&c.call(k)}finally{if(s)throw s.error}}}function R(e,t){var r,n;16777216&e.flags?(A(e.checkType,t.checkType),A(e.extendsType,t.extendsType),A(vf(e),vf(t)),A(gf(e),gf(t))):(n=[vf(t),gf(t)],r=e,e=n,n=t.flags,t=S,S|=T?64:0,M(r,e,n),S=t)}function j(e,c){var t,r,n,a,i;if(4&WL(e)&&4&WL(c)&&(e.target===c.target||Dm(e)&&Dm(c)))I(ll(e),ll(c),_m(e.target));else{if(Du(e)&&Du(c)&&(A(hu(e),hu(c)),A(bu(e),bu(c)),a=xu(e),i=xu(c),a&&i&&A(a,i)),32&WL(c)&&!c.declaration.nameType)if(function e(t,r,n){var a,i;if(1048576&n.flags){var o=!1;try{for(var s=__values(n.types),c=s.next();!c.done;c=s.next())o=e(t,r,c.value)||o}catch(e){a={error:e}}finally{try{c&&!c.done&&(i=s.return)&&i.call(s)}finally{if(a)throw a.error}}return o}if(4194304&n.flags){var u,_=L(n.type);return!_||_.isFixed||Vy(t)||(u=My(t,r,n))&&E(u,_.typeParameter,262144&WL(t)?16:8),!0}if(262144&n.flags)return E(jd(t,t.pattern?2:0),n,32),(_=Lu(n))&&e(t,r,_)||A(hd(fD(iD(Ou(t),sc),iD(v_(t),function(e){return e!==Dn?e.type:Mt}))),bu(r)),!0;return!1}(e,c,hu(c)))return;if(n=c,!(Xm(x=e)&&Xm(n)?(a=x,!(8&(i=n).target.combinedFlags)&&i.target.minLength>a.target.minLength||!i.target.hasRestElement&&(a.target.hasRestElement||i.target.fixedLength<a.target.fixedLength)):Jy(x,n,!1,!0)&&Jy(n,x,!1,!1))){if(Em(e)){if(Xm(c)){var o=dl(e),s=dl(c),u=ll(c),_=c.target.elementFlags;if(Xm(e)&&(r=c,dl(m=e)===dl(r)&&XN(m.target.elementFlags,function(e,t){return(12&e)==(12&r.target.elementFlags[t])}))){for(var l=0;l<s;l++)A(ll(e)[l],u[l]);return}for(var d=Xm(e)?Math.min(e.target.fixedLength,c.target.fixedLength):0,f=Math.min(Xm(e)?_d(e.target,3):0,c.target.hasRestElement?_d(c.target,3):0),l=0;l<d;l++)A(ll(e)[l],u[l]);if(!Xm(e)||o-d-f==1&&4&e.target.elementFlags[d])for(var p=ll(e)[d],l=d;l<s-f;l++)A(8&_[l]?Yl(p):p,u[l]);else{var m,y,v,g,h,x=s-d-f;2==x?_[d]&_[d+1]&8?(m=L(u[d]))&&void 0!==m.impliedArity&&(A(cd(e,d,f+o-m.impliedArity),u[d]),A(cd(e,d+m.impliedArity,f),u[d+1])):8&_[d]&&4&_[d+1]?(g=(y=null==(t=L(u[d]))?void 0:t.typeParameter)&&Vu(y))&&Xm(g)&&!g.target.hasRestElement&&(A(cd(e,d,o-(d+(v=g.target.fixedLength))),u[d]),A(ey(e,d+v,f),u[d+1])):4&_[d]&&8&_[d+1]&&(g=(y=null==(t=L(u[d+1]))?void 0:t.typeParameter)&&Vu(y))&&Xm(g)&&!g.target.hasRestElement&&(v=g.target.fixedLength,g=(h=o-_d(c.target,3))-v,h=ad(ll(e).slice(g,h),e.target.elementFlags.slice(g,h),!1,e.target.labeledElementDeclarations&&e.target.labeledElementDeclarations.slice(g,h)),A(ey(e,d,f+v),u[d]),A(h,u[d+1])):1==x&&8&_[d]?(h=2&c.target.elementFlags[s-1],E(cd(e,d,f),u[d],h?2:0)):1==x&&4&_[d]&&(p=ey(e,d,f))&&A(p,u[d])}for(l=0;l<f;l++)A(ll(e)[o-l-1],u[s-l-1]);return}if(Dm(c))return void J(e,c)}!function(e){var t,r,n=Fu(c);try{for(var a=__values(n),i=a.next();!i.done;i=a.next()){var o=i.value,s=u_(e,o.escapedName);s&&!dD(s.declarations,Uy)&&A(sc(s),sc(o))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}(e),B(e,c,0),B(e,c,1),J(e,c)}}}function B(e,t,r){for(var n,a,i,o,s=l_(e,r),c=l_(t,r),u=s.length,_=c.length,l=u<_?u:_,d=0;d<l;d++)n=function(e){var t=e.typeParameters;if(t){if(e.baseSignatureCache)return e.baseSignatureCache;for(var r=ep(t),n=Gf(t,iD(t,function(e){return Mu(e)||yt})),a=iD(t,function(e){return pp(e,n)||yt}),i=0;i<t.length-1;i++)a=Wf(a,n);return a=Wf(a,r),e.baseSignatureCache=ip(e,Gf(t,a),!0)}return e}(s[u-l+d]),a=W_(c[_-l+d]),o=i=void 0,64&n.flags||(i=C,o=a.declaration?a.declaration.kind:0,C=C||174===o||173===o||176===o,Sy(n,a,f),C=i),!void wy(n,a,A)}function J(e,t){var r,n,a,i,o,s,c,u,_=WL(e)&WL(t)&32?8:0,l=v_(t);if(py(e))try{for(var d=__values(l),f=d.next();!f.done;f=d.next()){var p=f.value,m=[];try{for(var y=(a=void 0,__values(Ou(e))),v=y.next();!v.done;v=y.next()){var g,h=v.value;m_(Ld(h,8576),p.keyType)&&(g=sc(h),m.push(16777216&h.flags?fy(g):g))}}catch(e){a={error:e}}finally{try{v&&!v.done&&(i=y.return)&&i.call(y)}finally{if(a)throw a.error}}try{for(var x=(o=void 0,__values(v_(e))),b=x.next();!b.done;b=x.next()){var k=b.value;m_(k.keyType,p.keyType)&&m.push(k.type)}}catch(e){o={error:e}}finally{try{b&&!b.done&&(s=x.return)&&s.call(x)}finally{if(o)throw o.error}}m.length&&E(hd(m),p.type,_)}}catch(e){r={error:e}}finally{try{f&&!f.done&&(n=d.return)&&n.call(d)}finally{if(r)throw r.error}}try{for(var T=__values(l),S=T.next();!S.done;S=T.next()){var w=b_(e,(p=S.value).keyType);w&&E(w.type,p.type,_)}}catch(e){c={error:e}}finally{try{S&&!S.done&&(u=T.return)&&u.call(T)}finally{if(c)throw c.error}}}A(e,k)}function Yy(e,t){return t===xt?e===t:Tp(e,t)||!!(4&t.flags&&128&e.flags||8&t.flags&&256&e.flags)}function Zy(e,t){return!!(524288&e.flags&&524288&t.flags&&e.symbol&&e.symbol===t.symbol||e.aliasSymbol&&e.aliasTypeArguments&&e.aliasSymbol===t.aliasSymbol)}function $y(e){return!!(128&WL(e))}function ev(e){return!!(16512&WL(e))}function tv(e){return 416&e.priority?Cd(e.contraCandidates):ED(e.contraCandidates,function(e,t){return Np(t,e)?t:e})}function rv(e,t){var r,n,a=function(e){if(1<e.length){var t=nD(e,ev);if(t.length){t=hd(t,2);return fD(nD(e,function(e){return!ev(e)}),[t])}}return e}(e.candidates),i=!!(r=Mu(r=e.typeParameter))&&Wk(16777216&r.flags?Bu(r):r,406978556)||Ru(e.typeParameter),n=!i&&e.topLevel&&(e.isFixed||(r=t,n=e.typeParameter,!((t=M_(r))?t.type&&Ly(t.type,n):Ly(j_(r),n)))),a=i?oD(a,If):n?oD(a,Wm):a;return xy(416&e.priority?hd(a,2):Nm(a))}function nv(e,t){var r,n,a,i,o,s,c=e.inferences[t];return c.inferredType||(i=a=void 0,e.signature?(r=c.candidates?rv(c,e.signature):void 0,o=c.contraCandidates?tv(c):void 0,r||o?(a=(n=r&&(!o||!(131072&r.flags)&&dD(c.contraCandidates,function(e){return Np(r,e)})&&XN(e.inferences,function(e){return e!==c&&Mu(e.typeParameter)!==c.typeParameter||XN(e.candidates,function(e){return Np(e,r)})})))?r:o,i=n?o:r):1&e.flags?a=Rt:(o=Gu(c.typeParameter))&&(a=pp(o,(s=t,t=Gf(iD(s=e.inferences.slice(s),function(e){return e.typeParameter}),iD(s,function(){return yt})),s=e.nonFixingMapper,t?$f(5,t,s):s)))):a=zy(c),c.inferredType=a||av(!!(2&e.flags)),(s=Mu(c.typeParameter))&&(s=pp(s,e.nonFixingMapper),a&&a!==lt&&e.compareTypes(a,Qc(s,a))||(c.inferredType=i&&e.compareTypes(i,Qc(s,i))?i:s))),c.inferredType}function av(e){return e?ut:yt}function iv(e){for(var t=[],r=0;r<e.inferences.length;r++)t.push(nv(e,r));return t}function ov(e){switch(e.escapedText){case"document":case"console":return mA.Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom;case"$":return ee.types?mA.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:mA.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery;case"describe":case"suite":case"it":case"test":return ee.types?mA.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:mA.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;case"process":case"require":case"Buffer":case"module":return ee.types?mA.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:mA.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode;case"Map":case"Set":case"Promise":case"Symbol":case"WeakMap":case"WeakSet":case"Iterator":case"AsyncIterator":case"SharedArrayBuffer":case"Atomics":case"AsyncIterable":case"AsyncIterableIterator":case"AsyncGenerator":case"AsyncGeneratorFunction":case"BigInt":case"Reflect":case"BigInt64Array":case"BigUint64Array":return mA.Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later;case"await":if(oj(e.parent))return mA.Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function;default:return 304===e.parent.kind?mA.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:mA.Cannot_find_name_0}}function sv(e){var t=ci(e);return t.resolvedSymbol||(t.resolvedSymbol=!EF(e)&&pi(e,e.escapedText,1160127,ov(e),e,!UL(e),!1)||it),t.resolvedSymbol}function cv(e){return!!(33554432&e.flags||FA(e,function(e){return Ij(e)||Oj(e)||VR(e)}))}function uv(e,t){switch(t.kind){case 217:case 235:return uv(e,t.expression);case 226:return NL(t)&&uv(e,t.left)||mj(t)&&28===t.operatorToken.kind&&uv(e,t.right)}switch(e.kind){case 236:return 236===t.kind&&e.keywordToken===t.keywordToken&&e.name.escapedText===t.name.escapedText;case 80:case 81:return tL(e)?110===t.kind:80===t.kind&&sv(e)===sv(t)||(Aj(t)||tj(t))&&To(sv(e))===yo(t);case 110:return 110===t.kind;case 108:return 108===t.kind;case 235:case 217:return uv(e.expression,t);case 211:case 212:var r=_v(e),n=GL(t)?_v(t):void 0;return void 0!==r&&void 0!==n&&n===r&&uv(e.expression,t.expression);case 166:return GL(t)&&e.right.escapedText===_v(t)&&uv(e.left,t.expression);case 226:return mj(e)&&28===e.operatorToken.kind&&uv(e.right,t)}return!1}function _v(e){if(aj(e))return e.name.escapedText;if(ij(e))return SO((t=e).argumentExpression)?IA(t.argumentExpression.text):AL(t.argumentExpression)?dv(t.argumentExpression):void 0;if(tj(e)){var t=Cs(e);return t?IA(t):void 0}return CR(e)?""+e.parent.parameters.indexOf(e):void 0}function lv(e){return 8192&e.flags?e.escapedName:384&e.flags?IA(""+e.value):void 0}function dv(e){var t=Yi(e,111551,!0);if(t&&(vg(t)||8&t.flags)){var r=t.valueDeclaration;if(void 0!==r){t=Gs(r);if(t){t=lv(t);if(void 0!==t)return t}if(aF(r)&&li(r,e)){e=vI(r);if(e)return lv(xT(e));if(cB(r))return $F(r.name)}}}}function fv(e,t){for(;GL(e);)if(uv(e=e.expression,t))return!0;return!1}function pv(e,t){for(;aE(e);)if(uv(e=e.expression,t))return 1}function mv(e,t){if(e&&1048576&e.flags){t=t_(e,t);if(t&&2&BL(t))return void 0===t.links.isDiscriminantProperty&&(t.links.isDiscriminantProperty=192==(192&t.links.checkFlags)&&!Zd(sc(t))),!!t.links.isDiscriminantProperty}return!1}function yv(e,t){var r,n,a;try{for(var i=__values(e),o=i.next();!o.done;o=i.next()){var s=o.value;mv(t,s.escapedName)&&(a?a.push(s):a=[s])}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a}function vv(e){var t,r=e.types;if(!(r.length<10||32768&WL(e)||rD(r,function(e){return 59506688&e.flags})<10))return void 0===e.keyPropertyName&&(r=(t=KN(r,function(e){return 59506688&e.flags?KN(Ou(e),function(e){return Jm(sc(e))?e.escapedName:void 0}):void 0}))&&function(e,t){var r,n,a=new Map,i=0;try{for(var o=__values(e),s=o.next();!s.done;s=o.next()){var c=function(r){if(61603840&r.flags){var e=vs(r,t);if(e){if(!Um(e))return{value:void 0};var n=!1;Vv(e,function(e){var t=If(e).id,e=a.get(t);e?e!==yt&&(a.set(t,yt),n=!0):a.set(t,r)}),n||i++}}}(s.value);if("object"==typeof c)return c.value}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return 10<=i&&2*i>=e.length?a:void 0}(r,t),e.keyPropertyName=r?t:"",e.constituentMap=r),e.keyPropertyName.length?e.keyPropertyName:void 0}function gv(e,t){t=null==(e=e.constituentMap)?void 0:e.get(If(t).id);return t!==yt?t:void 0}function hv(e,t){var r=vv(e),r=r&&vs(t,r);return r&&gv(e,r)}function xv(e,t){return uv(e,t)||fv(e,t)}function bv(e,t){var r,n;if(e.arguments)try{for(var a=__values(e.arguments),i=a.next();!i.done;i=a.next())if(xv(t,i.value))return!0}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return!(211!==e.expression.kind||!xv(t,e.expression.expression))}function kv(e){return(!e.id||e.id<0)&&(e.id=sJ,sJ++),e.id}function Tv(e,t){var r;if(e===t)return e;if(131072&t.flags)return t;var n,a="A".concat(e.id,",").concat(t.id);return null!==(r=La(a))&&void 0!==r?r:Ma(a,(n=t,e=Hv(t=e,function(e){return function(e,t){var r,n;if(!(1048576&e.flags))return Ap(e,t);try{for(var a=__values(e.types),i=a.next();!i.done;i=a.next())if(Ap(i.value,t))return!0}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return!1}(n,e)}),e=512&n.flags&&Of(n)?Gv(e,Pf):e,Ap(n,e)?e:t))}function Sv(e){var t=Eu(e);return!!(t.callSignatures.length||t.constructSignatures.length||t.members.get("bind")&&Np(e,hr))}function wv(e){467927040&e.flags&&(e=Vu(e)||yt);var t=e.flags;if(268435460&t)return te?16317953:16776705;if(134217856&t){var r=128&t&&""===e.value;return te?r?12123649:7929345:r?12582401:16776705}if(40&t)return te?16317698:16776450;if(256&t){var n=0===e.value;return te?n?12123394:7929090:n?12582146:16776450}if(64&t)return te?16317188:16775940;if(2048&t){n=ty(e);return te?n?12122884:7928580:n?12581636:16775940}return 16&t?te?16316168:16774920:528&t?te?e===Dt||e===At?12121864:7927560:e===Dt||e===At?12580616:16774920:524288&t?16&WL(e)&&Gp(e)?te?83427327:83886079:Sv(e)?te?7880640:16728e3:te?7888800:16736160:16384&t?9830144:32768&t?26607360:65536&t?42917664:12288&t?te?7925520:16772880:67108864&t?te?7888800:16736160:131072&t?0:1048576&t?ED(e.types,function(e,t){return e|wv(t)},0):2097152&t?function(e){var t,r,n=Wk(e,402784252),a=0,i=134217727;try{for(var o=__values(e.types),s=o.next();!s.done;s=o.next()){var c=s.value;n&&524288&c.flags||(c=wv(c),a|=c,i&=c)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return 8256&a|134209471&i}(e):83886079}function Cv(e,t){return Hv(e,function(e){return 0!=(wv(e)&t)})}function Nv(e,t){var r=Dv(Cv(te&&2&e.flags?nr:e,t));if(te)switch(t){case 524288:return Gv(r,function(e){return 65536&wv(e)?Cd([e,131072&wv(e)&&!Wk(r,65536)?hd([$t,Tt]):$t]):e});case 1048576:return Gv(r,function(e){return 131072&wv(e)?Cd([e,65536&wv(e)&&!Wk(r,32768)?hd([$t,gt]):$t]):e});case 2097152:case 4194304:return Gv(r,function(e){return 262144&wv(e)?(t=e,(Pr=Pr||(Il("NonNullable",524288,void 0)||it))!==it?pl(Pr,[t]):Cd([t,$t])):e;var t})}return r}function Dv(e){return e===nr?yt:e}function Av(e,t){return t?hd([Ts(e),xT(t)]):e}function Ev(e,t){var t=Od(t);if(!sR(t))return dt;t=cR(t);return vs(e,t)||Pv(null==(t=k_(e,t))?void 0:t.type)||dt}function Fv(e,t){return Wv(e,Rm)&&(vs(r=e,""+(t=t))||(Wv(r,Xm)?$m(r,t,ee.noUncheckedIndexedAccess?gt:void 0):void 0))||Pv(KS(65,e,gt,void 0))||dt;var r}function Pv(e){return e&&(ee.noUncheckedIndexedAccess?hd([e,xt]):e)}function Iv(e){return Yl(KS(65,e,gt,void 0)||dt)}function Ov(e){return 226===e.parent.kind&&e.parent.left===e||250===e.parent.kind&&e.parent.initializer===e}function Lv(e){return Ev(Mv(e.parent),e.name)}function Mv(e){var t,r,n=e.parent;switch(n.kind){case 249:return wt;case 250:return HS(n)||dt;case 226:return 209===(r=n).parent.kind&&Ov(r.parent)||303===r.parent.kind&&Ov(r.parent.parent)?Av(Mv(r),r.right):xT(r.right);case 220:return gt;case 209:return t=e,Fv(Mv(r=n),r.elements.indexOf(t));case 230:return Iv(Mv(n.parent));case 303:return Lv(n);case 304:return Av(Lv(t=n),t.objectAssignmentInitializer)}return dt}function Rv(e){return ci(e).resolvedType||xT(e)}function jv(e){return 260===e.kind?(r=e).initializer?Rv(r.initializer):249===r.parent.parent.kind?wt:250===r.parent.parent.kind&&HS(r.parent.parent)||dt:(r=(t=e).parent,e=jv(r.parent),Av(206===r.kind?Ev(e,t.propertyName||t.name):t.dotDotDotToken?Iv(e):Fv(e,r.elements.indexOf(t)),t.initializer));var t,r}function Bv(e){switch(e.kind){case 217:return Bv(e.expression);case 226:switch(e.operatorToken.kind){case 64:case 76:case 77:case 78:return Bv(e.left);case 28:return Bv(e.right)}}return e}function Jv(e){var t,r,n=ci(e);if(!n.switchTypes){n.switchTypes=[];try{for(var a=__values(e.caseBlock.clauses),i=a.next();!i.done;i=a.next()){var o=i.value;n.switchTypes.push(296===(o=o).kind?If(xT(o.expression)):Mt)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}return n.switchTypes}function zv(e){var t,r;if(!dD(e.caseBlock.clauses,function(e){return 296===e.kind&&!oF(e.expression)})){var n=[];try{for(var a=__values(e.caseBlock.clauses),i=a.next();!i.done;i=a.next()){var o=i.value,o=296===o.kind?o.expression.text:void 0;n.push(o&&!eD(n,o)?o:void 0)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n}}function Uv(e,t){return e===t||131072&e.flags||1048576&t.flags&&function(e,t){var r,n;if(1048576&e.flags){try{for(var a=__values(e.types),i=a.next();!i.done;i=a.next()){var o=i.value;if(!pd(t.types,o))return!1}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return!0}if(1056&e.flags&&Nc(e)===t)return!0;return pd(t.types,e)}(e,t)}function Vv(e,t){return 1048576&e.flags?KN(e.types,t):t(e)}function qv(e,t){return 1048576&e.flags?dD(e.types,t):t(e)}function Wv(e,t){return 1048576&e.flags?XN(e.types,t):t(e)}function Hv(e,t){if(1048576&e.flags){var r=e.types,n=nD(r,t);if(n===r)return e;var a=e.origin,i=void 0;if(a&&1048576&a.flags){var o=a.types,a=nD(o,function(e){return 1048576&e.flags||t(e)});if(o.length-a.length==r.length-n.length){if(1===a.length)return a[0];i=gd(1048576,a)}}return kd(n,16809984&e.objectFlags,void 0,void 0,i)}return 131072&e.flags||t(e)?e:Mt}function Kv(e,t){return Hv(e,function(e){return e!==t})}function Gv(e,t,r){var n,a;if(131072&e.flags)return e;if(!(1048576&e.flags))return t(e);var i,o=e.origin,s=(o&&1048576&o.flags?o:e).types,c=!1;try{for(var u=__values(s),_=u.next();!_.done;_=u.next()){var l=_.value,d=1048576&l.flags?Gv(l,t,r):t(l),c=c||l!==d;d&&(i?i.push(d):i=[d])}}catch(e){n={error:e}}finally{try{_&&!_.done&&(a=u.return)&&a.call(u)}finally{if(n)throw n.error}}return c?i&&hd(i,r?0:1):e}function Xv(e,t,r,n){return 1048576&e.flags&&r?hd(iD(e.types,t),1,r,n):Gv(e,t)}function Qv(e,t){return Hv(e,function(e){return 0!=(e.flags&t)})}function Yv(e,t){return Wk(e,134217804)&&Wk(t,402655616)?Gv(e,function(e){return 4&e.flags?Qv(t,402653316):Yd(e)&&!Wk(t,402653188)?Qv(t,128):8&e.flags?Qv(t,264):64&e.flags?Qv(t,2112):e}):e}function Zv(e){return 0===e.flags}function $v(e){return 0===e.flags?e.type:e}function eg(e,t){return t?{flags:0,type:131072&e.flags?Rt:e}:e}function tg(e){return rt[e.id]||(rt[e.id]=(t=e,(e=Eo(256)).elementType=t,e));var t}function rg(e,t){t=yy(Vm(kT(t)));return Uv(t,e.elementType)?e:tg(hd([e.elementType,t]))}function ng(e){return e.finalArrayType||(e.finalArrayType=131072&(e=e.elementType).flags?Er:Yl(1048576&e.flags?hd(e.types,2):e))}function ag(e){return 256&WL(e)?ng(e):e}function ig(e){return 256&WL(e)?e.elementType:Mt}function og(e){var t=function e(t){var r=t.parent;return 217===r.kind||226===r.kind&&64===r.operatorToken.kind&&r.left===t||226===r.kind&&28===r.operatorToken.kind&&r.right===t?e(r):t}(e),r=t.parent,e=aj(r)&&("length"===r.name.escapedText||213===r.parent.kind&&xR(r.name)&&OO(r.name)),r=212===r.kind&&r.expression===t&&226===r.parent.kind&&64===r.parent.operatorToken.kind&&r.parent.left===r&&!tO(r.parent)&&Hk(xT(r.argumentExpression),296);return e||r}function sg(e,t){if(8752&(e=zi(e)).flags)return sc(e);if(7&e.flags){if(262144&BL(e)){var r=e.links.syntheticOrigin;if(r&&sg(r))return sc(e)}var n=e.valueDeclaration;if(n){if((Aj(a=n)||AR(a)||DR(a)||CR(a))&&(nL(a)||cI(a)&&nF(a)&&a.initializer&&VM(a.initializer)&&aL(a.initializer)))return sc(e);if(Aj(n)&&250===n.parent.parent.kind){r=n.parent.parent,a=cg(r.expression,void 0);if(a)return KS(r.awaitModifier?15:13,a,gt,void 0)}t&&SM(t,tP(n,mA._0_needs_an_explicit_type_annotation,Yo(e)))}}var a}function cg(e,t){if(!(67108864&e.flags))switch(e.kind){case 80:return sg(To(sv(e)),t);case 110:return function(e){e=RP(e,!1,!1);if(bE(e)){var t=E_(e);if(t.thisParameter)return sg(t.thisParameter)}if(NE(e.parent)){t=yo(e.parent);return lL(e)?sc(t):Pc(t).thisType}}(e);case 108:return Ig(e);case 211:var r=cg(e.expression,t);if(r){var n=e.name,a=void 0;if(bR(n)){if(!r.symbol)return;a=u_(r,FO(r.symbol,n.escapedText))}else a=u_(r,n.escapedText);return a&&sg(a,t)}return;case 217:return cg(e.expression,t)}}function ug(e){var t,r=ci(e),n=r.effectsSignature;return void 0===n&&(t=void 0,244===e.parent.kind?t=cg(e.expression,void 0):108!==e.expression.kind&&(t=aE(e)?sx(_y(TT(e.expression),e.expression),e.expression):tx(e.expression)),t=1!==(t=l_(t&&Zu(t)||yt,0)).length||t[0].typeParameters?dD(t,_g)?Cb(e):void 0:t[0],n=r.effectsSignature=t&&_g(t)?t:wn),n===wn?void 0:n}function _g(e){return!!(M_(e)||e.declaration&&131072&(B_(e.declaration)||yt).flags)}function lg(e){var t=function t(e,r){for(;;){if(e===gn)return hn;var n=e.flags;if(4096&n){if(!r){var a=kv(e),i=ya[a];return void 0!==i?i:ya[a]=t(e,!0)}r=!1}if(368&n)e=e.antecedent;else if(512&n){var o=ug(e.node);if(o){var a=M_(o);if(a&&3===a.kind&&!a.type){var s=e.node.arguments[a.parameterIndex];if(s&&dg(s))return!1}if(131072&j_(o).flags)return!1}e=e.antecedent}else{if(4&n)return dD(e.antecedents,function(e){return t(e,!1)});if(8&n){var c=e.antecedents;if(void 0===c||0===c.length)return!1;e=c[0]}else{if(!(128&n)){if(1024&n){gn=void 0;var s=e.target,o=s.antecedents;s.antecedents=e.antecedents;var c=t(e.antecedent,!1);return s.antecedents=o,c}return!(1&n)}if(e.clauseStart===e.clauseEnd&&Fk(e.switchStatement))return!1;e=e.antecedent}}}}(e,!1);return gn=e,hn=t}function dg(e){e=oO(e,!0);return 97===e.kind||226===e.kind&&(56===e.operatorToken.kind&&(dg(e.left)||dg(e.right))||57===e.operatorToken.kind&&dg(e.left)&&dg(e.right))}function fg(u,m,y,_,e){var t,r;void 0===y&&(y=m),void 0===e&&(e=null==(t=BD(u,WI))?void 0:t.flowNode);var n=!1,l=0;if(Un)return dt;if(!e)return m;Vn++;var d=zn,e=$v(g(e));zn=d;e=256&WL(e)&&og(u)?Er:ag(e);return e===Bt||u.parent&&235===u.parent.kind&&!(131072&e.flags)&&131072&Cv(e,2097152).flags?m:e===vt?yt:e;function v(){return n?r:(n=!0,r=function e(t,r,n,a){switch(t.kind){case 80:if(!tL(t)){var i=sv(t);return i!==it?"".concat(a?mJ(a):"-1","|").concat(r.id,"|").concat(n.id,"|").concat(yJ(i)):void 0}case 110:return"0|".concat(a?mJ(a):"-1","|").concat(r.id,"|").concat(n.id);case 235:case 217:return e(t.expression,r,n,a);case 166:var o=e(t.left,r,n,a);return o&&o+"."+t.right.escapedText;case 211:case 212:if(void 0===(i=_v(t)))break;return(o=e(t.expression,r,n,a))&&o+"."+i;case 206:case 207:case 262:case 218:case 219:case 174:return"".concat(mJ(t),"#").concat(r.id)}}(u,m,y,_))}function g(e){var t,r,n;if(2e3===l)return null!=iA&&iA.instant(iA.Phase.CheckTypes,"getTypeAtFlowNode_DepthLimit",{flowId:e.id}),Un=!0,r=FA(t=u,wE),r=sP(t=CF(t),r.statements.pos),Sa.add(QL(t,r.start,r.length,mA.The_containing_function_or_module_body_is_too_large_for_control_flow_analysis)),dt;for(l++;;){var a=e.flags;if(4096&a){for(var i=d;i<zn;i++)if(pa[i]===e)return l--,ma[i];n=e}var o=void 0;if(16&a){if(!(o=function(e){var t=e.node;if(uv(u,t)){if(!lg(e))return Bt;if(2===eO(t)){var r=g(e.antecedent);return eg(Vm($v(r)),Zv(r))}if(m!==_t&&m!==Er)return 1048576&m.flags?Tv(m,f(e)):m;if(function(e){return 260===e.kind&&e.initializer&&Es(e.initializer)||208!==e.kind&&226===e.parent.kind&&Es(e.parent.right)}(t))return tg(Mt);r=Wm(f(e));return Ap(r,m)?r:Ar}if(fv(u,t)){if(!lg(e))return Bt;if(Aj(t)&&(cI(t)||qN(t))){r=gI(t);if(r&&(218===r.kind||219===r.kind))return g(e.antecedent)}return m}if(Aj(t)&&249===t.parent.parent.kind&&(uv(u,t.parent.parent.expression)||pv(t.parent.parent.expression,u)))return nx(ag($v(g(e.antecedent))));return}(e))){e=e.antecedent;continue}}else if(512&a){if(!(o=function(e){var t=ug(e.node);if(t){var r=M_(t);if(r&&(2===r.kind||3===r.kind)){var n=g(e.antecedent),a=ag($v(n)),r=r.type?I(a,r,e.node,!0):3===r.kind&&0<=r.parameterIndex&&r.parameterIndex<e.node.arguments.length?function e(t,r){var r=oO(r,!0);if(97===r.kind)return Bt;if(226===r.kind){if(56===r.operatorToken.kind)return e(e(t,r.left),r.right);if(57===r.operatorToken.kind)return hd([e(t,r.left),e(t,r.right)])}return O(t,r,!0)}(a,e.node.arguments[r.parameterIndex]):a;return r===a?n:eg(r,Zv(n))}if(131072&j_(t).flags)return Bt}return}(e))){e=e.antecedent;continue}}else if(96&a)o=function(e){var t=g(e.antecedent),r=$v(t);if(131072&r.flags)return t;var n=0!=(32&e.flags),r=ag(r),n=O(r,e.node,n);return n!==r?eg(n,Zv(t)):t}(e);else if(128&a)o=function(e){var t=e.switchStatement.expression,r=g(e.antecedent),n=$v(r);uv(u,t)?n=N(n,e.switchStatement,e.clauseStart,e.clauseEnd):221===t.kind&&uv(u,t.expression)?n=function(t,e,r,n){var a=zv(e);if(!a)return t;e=ZN(e.caseBlock.clauses,function(e){return 297===e.kind});if(r===n||r<=e&&e<n){var i=Ek(r,n,a);return Hv(t,function(e){return(wv(e)&i)===i})}return hd(iD(a.slice(r,n),function(e){return e?D(t,e):Mt}))}(n,e.switchStatement,e.clauseStart,e.clauseEnd):(te&&(pv(t,u)?n=C(n,e.switchStatement,e.clauseStart,e.clauseEnd,function(e){return!(163840&e.flags)}):221===t.kind&&pv(t.expression,u)&&(n=C(n,e.switchStatement,e.clauseStart,e.clauseEnd,function(e){return!(131072&e.flags||128&e.flags&&"undefined"===e.value)}))),(t=p(t,n))&&(n=function(t,e,r,n,a){if(n<a&&1048576&t.flags&&vv(t)===_v(e)){var i=hd(iD(Jv(r).slice(n,a),function(e){return gv(t,e)||yt}));if(i!==yt)return i}return x(t,e,function(e){return N(e,r,n,a)})}(n,t,e.switchStatement,e.clauseStart,e.clauseEnd)));return eg(n,Zv(r))}(e);else if(12&a){if(1===e.antecedents.length){e=e.antecedents[0];continue}o=(4&a?function(e){var t,r,n,a=[],i=!1,o=!1;try{for(var s=__values(e.antecedents),c=s.next();!c.done;c=s.next()){var u=c.value;if(!n&&128&u.flags&&u.clauseStart===u.clauseEnd)n=u;else{var _=g(u);if((l=$v(_))===m&&m===y)return l;hD(a,l),Uv(l,y)||(i=!0),Zv(_)&&(o=!0)}}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}if(n){var l,_=g(n);if(!(131072&(l=$v(_)).flags||eD(a,l)||Fk(n.switchStatement))){if(l===m&&m===y)return l;a.push(l),Uv(l,y)||(i=!0),Zv(_)&&(o=!0)}}return eg(h(a,i?2:1),o)}:function(e){var t,r,n=kv(e),a=_a[n]||(_a[n]=new Map),i=v();if(!i)return m;n=a.get(i);if(n)return n;for(var o=Bn;o<Jn;o++)if(la[o]===e&&da[o]===i&&fa[o].length)return eg(h(fa[o],1),!0);var s,c=[],u=!1;try{for(var _=__values(e.antecedents),l=_.next();!l.done;l=_.next()){var d=l.value,f=void 0;if(s){la[Jn]=e,da[Jn]=i,fa[Jn]=c,Jn++;var p=xn;xn=void 0,f=g(d),xn=p,Jn--;p=a.get(i);if(p)return p}else f=s=g(d);f=$v(f);if(hD(c,f),Uv(f,y)||(u=!0),f===m)break}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=_.return)&&r.call(_)}finally{if(t)throw t.error}}n=h(c,u?2:1);if(Zv(s))return eg(n,!0);return a.set(i,n),n})(e)}else if(256&a){if(!(o=function(e){var t,r;if(m===_t||m===Er){var n=e.node,a=(213===n.kind?n.expression:n.left).expression;if(uv(u,Bv(a))){a=g(e.antecedent),e=$v(a);if(256&WL(e)){var i=e;if(213===n.kind)try{for(var o=__values(n.arguments),s=o.next();!s.done;s=o.next()){var c=s.value;i=rg(i,c)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}else Hk(kT(n.left.argumentExpression),296)&&(i=rg(i,n.right));return i===e?a:eg(i,Zv(a))}return a}}return}(e))){e=e.antecedent;continue}}else if(1024&a){var s=e.target,c=s.antecedents;s.antecedents=e.antecedents,o=g(e.antecedent),s.antecedents=c}else if(2&a){a=e.node;if(a&&a!==_&&211!==u.kind&&212!==u.kind&&(110!==u.kind||219===a.kind)){e=a.flowNode;continue}o=y}else o=OS(m);return n&&(pa[zn]=n,ma[zn]=o,zn++),l--,o}}function f(e){e=e.node;return bg((260===e.kind||208===e.kind?jv:Mv)(e),u)}function h(e,t){if(function(e){var t,r,n=!1;try{for(var a=__values(e),i=a.next();!i.done;i=a.next()){var o=i.value;if(!(131072&o.flags)){if(!(256&WL(o)))return;n=!0}}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n}(e))return tg(hd(iD(e,ig)));t=Dv(hd(oD(e,ag),t));return t!==m&&t.flags&m.flags&1048576&&tD(t.types,m.types)?m:t}function p(e,t){var r=1048576&m.flags?m:t;if(1048576&r.flags){t=function(e){var t;if(PE(u)||VM(u)||AP(u)){if(xR(e)&&(t=(r=sv(e)).valueDeclaration)&&(tj(t)||CR(t))&&u===t.parent&&!t.initializer&&!t.dotDotDotToken)return t}else if(GL(e)){if(uv(u,e.expression))return e}else if(xR(e))if(vg(r=sv(e))){if(Aj(t=r.valueDeclaration)&&!t.type&&t.initializer&&GL(t.initializer)&&uv(u,t.initializer.expression))return t.initializer;if(tj(t)&&!t.initializer){var r=t.parent.parent;if(Aj(r)&&!r.type&&r.initializer&&(xR(r.initializer)||GL(r.initializer))&&uv(u,r.initializer))return t}}}(e);if(t){e=_v(t);if(e&&mv(r,e))return t}}}function x(e,t,r){var n=_v(t);if(void 0===n)return e;var a=aE(t),i=te&&(a||$M(t))&&Wk(e,98304),t=vs(i?Cv(e,2097152):e,n);if(!t)return e;var o=r(t=i&&a?iy(t):t);return Hv(e,function(e){var t,e=vs(t=e,e=n)||(null==(e=k_(t,e))?void 0:e.type)||yt;return!(131072&e.flags)&&!(131072&o.flags)&&Pp(o,e)})}function c(e,t,r,n,a){if((37===r||38===r)&&1048576&e.flags){var i=vv(e);if(i&&i===_v(t)){var o=gv(e,xT(n));if(o)return r===(a?37:38)?o:Jm(vs(o,i)||yt)?Kv(e,o):e}}return x(e,t,function(e){return S(e,r,n,a)})}function b(e,t,r){if(uv(u,t))return Nv(e,r?4194304:8388608);te&&r&&pv(t,u)&&(e=Nv(e,2097152));t=p(t,e);return t?x(e,t,function(e){return Cv(e,r?4194304:8388608)}):e}function i(e,t,r){var n=u_(e,t);return n?!!(16777216&n.flags||48&BL(n))||r:!!k_(e,t)||!r}function k(e,t,r){var n=cR(t);if(qv(e,function(e){return i(e,n,!0)}))return Hv(e,function(e){return i(e,n,r)});if(r){var a=(un=un||Pl("Record",2,!0)||it)===it?void 0:un;if(a)return Cd([e,pl(a,[t,yt])])}return e}function a(e,t,r){switch(t.operatorToken.kind){case 64:case 76:case 77:case 78:return b(O(e,t.right,r),t.left,r);case 35:case 36:case 37:case 38:var n=t.operatorToken.kind,a=Bv(t.left),i=Bv(t.right);if(221===a.kind&&oF(i))return w(e,a,n,i,r);if(221===i.kind&&oF(a))return w(e,i,n,a,r);if(uv(u,a))return S(e,n,i,r);if(uv(u,i))return S(e,n,a,r);te&&(pv(a,u)?e=T(e,n,i,r):pv(i,u)&&(e=T(e,n,a,r)));var o=p(a,e);if(o)return c(e,o,n,i,r);o=p(i,e);if(o)return c(e,o,n,a,r);if(A(a))return E(e,n,i,r);if(A(i))return E(e,n,a,r);break;case 104:return function(e,t,r){var n=Bv(t.left);if(!uv(u,n))return r&&te&&pv(n,u)?Nv(e,2097152):e;t=xT(t.right);if(!Ep(t,hr))return e;t=Gv(t,F);return(!gs(e)||t!==gr&&t!==hr)&&(r||524288&t.flags&&!Xp(t))?P(e,t,r,!0):e}(e,t,r);case 103:if(bR(t.left))return function(e,t,r){var n=Bv(t.right);if(!uv(u,n))return e;rA.assertNode(t.left,bR);n=px(t.left);if(void 0===n)return e;t=n.parent,t=(dL(rA.checkDefined(n.valueDeclaration,"should always have a declaration"))?sc:Pc)(t);return P(e,t,r,!0)}(e,t,r);var s,a=Bv(t.right);if(dy(e)&&GL(u)&&uv(u.expression,a))if(sR(s=xT(t.left))&&_v(u)===cR(s))return Cv(e,r?524288:65536);if(uv(u,a))if(sR(s=xT(t.left)))return k(e,s,r);break;case 28:return O(e,t.right,r);case 56:return r?O(O(e,t.left,!0),t.right,!0):hd([O(e,t.left,!1),O(e,t.right,!1)]);case 57:return r?hd([O(e,t.left,!0),O(e,t.right,!0)]):O(O(e,t.left,!1),t.right,!1)}return e}function T(e,t,r,n){var a=35===t||37===t,i=35===t||36===t?98304:32768,r=xT(r);return a!==n&&Wv(r,function(e){return!!(e.flags&i)})||a===n&&Wv(r,function(e){return!(e.flags&(3|i))})?Nv(e,2097152):e}function S(e,t,r,n){if(1&e.flags)return e;36!==t&&38!==t||(n=!n);var a=xT(r),i=35===t||36===t;if(98304&a.flags)return te?Nv(e,i?n?262144:2097152:65536&a.flags?n?131072:1048576:n?65536:524288):e;if(n){if(!i&&(2&e.flags||qv(e,Xp))){if(469893116&a.flags||Xp(a))return a;if(524288&a.flags)return Jt}return Yv(Hv(e,function(e){return Pp(e,a)||i&&(t=a,0!=(524&e.flags)&&0!=(28&t.flags));var t}),a)}return Jm(a)?Hv(e,function(e){return!(zm(e)&&Pp(e,a))}):e}function w(e,t,r,n,a){36!==r&&38!==r||(a=!a);t=Bv(t.expression);if(uv(u,t))return o(e,n,a);te&&pv(t,u)&&a===("undefined"!==n.text)&&(e=Nv(e,2097152));t=p(t,e);return t?x(e,t,function(e){return o(e,n,a)}):e}function o(e,t,r){return r?D(e,t.text):Nv(e,cJ.get(t.text)||32768)}function C(e,t,r,n,a){return r!==n&&XN(Jv(t).slice(r,n),a)?Cv(e,2097152):e}function N(e,t,r,n){var a=Jv(t);if(!a.length)return e;var i=a.slice(r,n),r=r===n||eD(i,Mt);if(2&e.flags&&!r){for(var o=void 0,s=0;s<i.length;s+=1){var c=i[s];if(469893116&c.flags)void 0!==o&&o.push(c);else{if(!(524288&c.flags))return e;void 0===o&&(o=i.slice(0,s)),o.push(Jt)}}return hd(void 0===o?i:o)}var u=hd(i),n=131072&u.flags?Mt:Yv(Hv(e,function(e){return Pp(u,e)}),u);if(!r)return n;r=Hv(e,function(e){return!(zm(e)&&eD(a,If(2097152&(e=e).flags&&QN(e.types,Jm)||e)))});return 131072&n.flags?r:hd([n,r])}function D(e,t){switch(t){case"string":return s(e,wt,1);case"number":return s(e,Ct,2);case"bigint":return s(e,Nt,4);case"boolean":return s(e,It,8);case"symbol":return s(e,Ot,16);case"object":return 1&e.flags?e:hd([s(e,Jt,32),s(e,Tt,131072)]);case"function":return 1&e.flags?e:s(e,hr,64);case"undefined":return s(e,gt,65536)}return s(e,Jt,128)}function s(e,t,r){return Gv(e,function(e){return em(e,t,Da)?wv(e)&r?e:Mt:Np(t,e)?t:wv(e)&r?Cd([e,t]):Mt})}function A(e){return(aj(e)&&"constructor"===LA(e.name)||ij(e)&&oF(e.argumentExpression)&&"constructor"===e.argumentExpression.text)&&uv(u,e.expression)}function E(e,t,r,n){if(n?35!==t&&37!==t:36!==t&&38!==t)return e;r=xT(r);if(!ZC(r)&&!vc(r))return e;r=u_(r,"prototype");if(!r)return e;var r=sc(r),a=gs(r)?void 0:r;return a&&a!==gr&&a!==hr?gs(e)?a:Hv(e,function(e){return function(e,t){if(524288&e.flags&&1&WL(e)||524288&t.flags&&1&WL(t))return e.symbol===t.symbol;return Np(e,t)}(e,a)}):e}function F(e){var t=vs(e,"prototype");if(t&&!gs(t))return t;e=l_(e,1);return e.length?hd(iD(e,function(e){return j_(W_(e))})):$t}function P(e,t,r,n){var a,i=1048576&e.flags?"N".concat(e.id,",").concat(t.id,",").concat((r?1:0)|(n?2:0)):void 0;return null!==(a=La(i))&&void 0!==a?a:Ma(i,function(r,t,e,n){if(!e){if(n)return Hv(r,function(e){return!Ep(e,t)});var a=P(r,t,!0,!1);return Hv(r,function(e){return!Uv(e,a)})}if(3&r.flags)return t;var i=n?Ep:Np,o=1048576&r.flags?vv(r):void 0,e=Gv(t,function(t){var e=o&&vs(t,o),e=Gv(e&&gv(r,e)||r,n?function(e){return Ep(e,t)?e:Ep(t,e)?t:Mt}:function(e){return Dp(e,t)?e:Dp(t,e)?t:Np(e,t)?e:Np(t,e)?t:Mt});return 131072&e.flags?Gv(r,function(e){return Wk(e,465829888)&&i(t,Vu(e)||yt)?Cd([e,t]):Mt}):e});return 131072&e.flags?Np(t,r)?t:Ap(r,t)?r:Ap(t,r)?t:Cd([r,t]):e}(e,t,r,n))}function I(e,t,r,n){if(t.type&&(!gs(e)||t.type!==gr&&t.type!==hr)){a=(a=r,1===(r=t).kind||3===r.kind?a.arguments[r.parameterIndex]:GL(a=oO(a.expression))?oO(a.expression):void 0);if(a){if(uv(u,a))return P(e,t.type,n,!1);te&&n&&pv(a,u)&&!(65536&wv(t.type))&&(e=Nv(e,2097152));a=p(a,e);if(a)return x(e,a,function(e){return P(e,t.type,n,!1)})}}var a;return e}function O(e,t,r){if(oE(t)||mj(t.parent)&&(61===t.parent.operatorToken.kind||78===t.parent.operatorToken.kind)&&t.parent.left===t)return function(e,t,r){if(uv(u,t))return Nv(e,r?2097152:262144);t=p(t,e);if(t)return x(e,t,function(e){return Cv(e,r?2097152:262144)});return e}(e,t,r);switch(t.kind){case 80:if(!uv(u,t)&&L<5){var n=sv(t);if(vg(n)){n=n.valueDeclaration;if(n&&Aj(n)&&!n.type&&n.initializer&&function e(t){switch(t.kind){case 110:return!0;case 80:if(tL(t))break;var r=sv(t);return vg(r)||UM(r)&&!mg(r);case 211:case 212:return e(t.expression)&&jk(ci(t).resolvedSymbol||it)}return!1}(u)){L++;n=O(e,n.initializer,r);return L--,n}}}case 110:case 108:case 211:case 212:return b(e,t,r);case 213:return function(e,t,r){if(bv(t,u)){var n=r||!nE(t)?ug(t):void 0,n=n&&M_(n);if(n&&(0===n.kind||1===n.kind))return I(e,n,t,r)}if(dy(e)&&GL(u)&&aj(t.expression)){n=t.expression;if(uv(u.expression,Bv(n.expression))&&xR(n.name)&&"hasOwnProperty"===n.name.escapedText&&1===t.arguments.length){t=t.arguments[0];if(oF(t)&&_v(u)===IA(t.text))return Cv(e,r?524288:65536)}}return e}(e,t,r);case 217:case 235:return O(e,t.expression,r);case 226:return a(e,t,r);case 224:if(54===t.operator)return O(e,t.operand,!r)}return e}}function pg(e){return FA(e.parent,function(e){return bE(e)&&!UP(e)||268===e.kind||312===e.kind||172===e.kind})}function mg(e){if(e.valueDeclaration){var t=MO(e.valueDeclaration).parent,r=ci(t);return 131072&r.flags||(r.flags|=131072,FA(t.parent,function(e){return(bE(e)||aB(e))&&!!(131072&ci(e).flags)})||yg(t)),e.isAssigned}}function yg(e){var t;80===e.kind?!tO(e)||UM(t=sv(e))&&(t.isAssigned=!0):HB(e,yg)}function vg(e){return 3&e.flags&&0!=(6&Qh(e))}function gg(e,t){return te&&169===t.kind&&t.initializer&&16777216&wv(e)&&!function(e){var t=ci(e);if(void 0===t.parameterInitializerContainsUndefined){if(!fs(e,9))return ac(e.symbol),1;var r=!!(16777216&wv(sT(e,0)));if(!ms())return ac(e.symbol),1;t.parameterInitializerContainsUndefined=r}return t.parameterInitializerContainsUndefined}(t)?Cv(e,524288):e}function hg(e){return 2097152&e.flags?dD(e.types,hg):!!(465829888&e.flags&&1146880&qu(e).flags)}function xg(e){return 2097152&e.flags?dD(e.types,xg):!(!(465829888&e.flags)||Wk(qu(e),98304))}function bg(e,t,r){var n,a,i;return!(r&&2&r)&&qv(e,hg)&&(n=e,211===(i=(a=t).parent).kind||166===i.kind||213===i.kind&&i.expression===a||212===i.kind&&i.expression===a&&!(qv(n,xg)&&ef(xT(i.argumentExpression)))||(r=r,(r=(xR(t=t)||aj(t)||ij(t))&&!((Yj(t.parent)||Qj(t.parent))&&t.parent.tagName===t)&&ih(t,r&&64&r?8:void 0))&&!Zd(r)))?Gv(e,qu):e}function kg(e){return FA(e,function(e){var t=e.parent;return void 0===t?"quit":qj(t)?t.expression===e&&AL(e):!!Kj(t)&&(t.name===e||t.propertyName===e)})}function Tg(e,t){var r;Oe&&Ji(e,111551)&&!eL(t)&&(r=Ui(e),1160127&Vi(e,!0)&&(sM(ee)||fM(ee)&&kg(t)||!zC(To(r))?Gi(e):(e=si(e=e)).constEnumReferenced||(e.constEnumReferenced=!0)))}function Sg(e,t){if(tL(e))return Eg(e);var r=sv(e);if(r===it)return dt;if(r===Fe){if(xx(e))return Ua(e,mA.arguments_cannot_be_referenced_in_property_initializers),dt;var n=PP(e);return V<2&&(219===n.kind?Ua(e,mA.The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression):_L(n,512)&&Ua(e,mA.The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method)),ci(n).flags|=512,sc(r)}!function(e){var t=e.parent;if(t){if(aj(t)&&t.expression===e)return!1;if(Kj(t)&&t.isTypeOnly)return!1;t=null==(t=t.parent)?void 0:t.parent;if(t&&Wj(t)&&t.isTypeOnly)return!1}return!0}(e)||Tg(r,e);var a=To(r),i=Gw(a,e);Ka(i)&&Kd(e,i)&&i.declarations&&Xa(e,i.declarations,e.escapedText);var o,s,c=a.valueDeclaration;if(c&&32&a.flags&&NE(c)&&c.name!==e){for(n=RP(e,!1,!1);312!==n.kind&&n.parent!==c;)n=RP(n,!1,!1);312!==n.kind&&(ci(c).flags|=262144,ci(n).flags|=262144,ci(e).flags|=536870912)}m=e,g=r,2<=V||0==(34&g.flags)||!g.valueDeclaration||uB(g.valueDeclaration)||299===g.valueDeclaration.parent.kind||(y=GF(g.valueDeclaration),v=function(e,t){return!!FA(e,function(e){return e===t?"quit":bE(e)||e.parent&&AR(e.parent)&&!dL(e.parent)&&e.parent.initializer===e})}(m,y),(_=wg(y))&&(v&&(o=!0,Cj(y)&&(!(l=xO(g.valueDeclaration,261))||l.parent!==y||(s=function(e,t){return FA(e,function(e){return e===t?"quit":e===t.initializer||e===t.condition||e===t.incrementor||e===t.statement})}(m.parent,y))&&((i=ci(s)).flags|=8192,hD(i.capturedBlockScopeBindings||(i.capturedBlockScopeBindings=[]),g),s===y.initializer&&(o=!1))),o&&(ci(_).flags|=4096)),Cj(y)&&(l=xO(g.valueDeclaration,261))&&l.parent===y&&function(e,t){var r=e;for(;217===r.parent.kind;)r=r.parent;var n=!1;tO(r)?n=!0:224!==r.parent.kind&&225!==r.parent.kind||(e=r.parent,n=46===e.operator||47===e.operator);return!!n&&!!FA(r,function(e){return e===t?"quit":e===t.statement})}(m,y)&&(ci(g.valueDeclaration).flags|=65536),ci(g.valueDeclaration).flags|=32768),v&&(ci(g.valueDeclaration).flags|=16384));var u=function(e,t){var r=sc(e),n=e.valueDeclaration;if(n){if(tj(n)&&!n.initializer&&!n.dotDotDotToken&&2<=n.parent.elements.length){var a=n.parent.parent;if(260===a.kind&&6&VN(n)||169===a.kind){var i=ci(a);if(!(4194304&i.flags)){i.flags|=4194304;var o=xs(a,0),o=o&&Gv(o,qu);if(i.flags&=-4194305,o&&1048576&o.flags&&(169!==a.kind||!mg(e)))return 131072&(s=fg(n.parent,o,o,void 0,t.flowNode)).flags?Mt:Ds(n,s)}}}if(CR(n)&&!n.type&&!n.initializer&&!n.dotDotDotToken){a=n.parent;if(2<=a.parameters.length&&bp(a)){o=yh(a);if(o&&1===o.parameters.length&&bJ(o)){var s,o=$u(pp(sc(o.parameters[0]),null==(o=_h(a))?void 0:o.nonFixingMapper));if(1048576&o.flags&&Wv(o,Xm)&&!mg(e))return sf(s=fg(a,o,o,void 0,t.flowNode),Mf(a.parameters.indexOf(n)-(YO(a)?1:0)))}}}}return r}(a,e),_=eO(e);if(_){if(!(3&a.flags||cI(e)&&512&a.flags))return Ua(e,384&a.flags?mA.Cannot_assign_to_0_because_it_is_an_enum:32&a.flags?mA.Cannot_assign_to_0_because_it_is_a_class:1536&a.flags?mA.Cannot_assign_to_0_because_it_is_a_namespace:16&a.flags?mA.Cannot_assign_to_0_because_it_is_a_function:2097152&a.flags?mA.Cannot_assign_to_0_because_it_is_an_import:mA.Cannot_assign_to_0_because_it_is_not_a_variable,Yo(r)),dt;if(jk(a))return 3&a.flags?Ua(e,mA.Cannot_assign_to_0_because_it_is_a_constant,Yo(r)):Ua(e,mA.Cannot_assign_to_0_because_it_is_a_read_only_property,Yo(r)),dt}var l=2097152&a.flags;if(3&a.flags){if(1===_)return u}else{if(!l)return u;c=ki(r)}if(!c)return u;u=bg(u,e,t);for(var d=169===MO(c).kind,f=pg(c),p=pg(e),m=p!==f,y=e.parent&&e.parent.parent&&sB(e.parent)&&Ov(e.parent.parent),v=134217728&r.flags,g=u===_t||u===Er,t=g&&235===e.parent.kind;p!==f&&(218===p.kind||219===p.kind||EP(p))&&(vg(a)&&u!==Er||d&&!mg(a));)p=pg(p);v=d||l||m||y||v||function(e,t){if(tj(t)){e=FA(e,tj);return e&&MO(e)===MO(t)}}(e,c)||u!==_t&&u!==Er&&(!te||0!=(16387&u.flags)||eL(e)||cv(e)||281===e.parent.kind)||235===e.parent.kind||260===c.kind&&c.exclamationToken||33554432&c.flags,g=t?gt:v?d?gg(u,c):u:g?gt:iy(u),g=t?oy(fg(e,u,g,p)):fg(e,u,g,p);if(og(e)||u!==_t&&u!==Er){if(!v&&!Qp(u)&&Qp(g))return Ua(e,mA.Variable_0_is_used_before_being_assigned,Yo(r)),u}else if(g===_t||g===Er)return N&&(Ua(JA(c),mA.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined,Yo(r),$o(g)),Ua(e,mA.Variable_0_implicitly_has_an_1_type,Yo(r),$o(g))),OS(g);return _?Vm(g):g}function wg(e){return FA(e,function(e){return!e||RO(e)?"quit":JE(e,!1)})}function Cg(e,t){ci(e).flags|=2,172===t.kind||176===t.kind?ci(t.parent).flags|=4:ci(t).flags|=4}function Ng(e){return pP(e)?e:bE(e)?void 0:HB(e,Ng)}function Dg(e){return bc(Pc(yo(e)))===St}function Ag(e,t,r){t=t.parent;vO(t)&&!Dg(t)&&WI(e)&&e.flowNode&&!function t(e,r){for(;;){var n=e.flags;if(4096&n){if(!r){var a=kv(e),i=va[a];return void 0!==i?i:va[a]=t(e,!0)}r=!1}if(496&n)e=e.antecedent;else if(512&n){if(108===e.node.expression.kind)return!0;e=e.antecedent}else{if(4&n)return XN(e.antecedents,function(e){return t(e,!1)});if(!(8&n)){if(1024&n){var o=e.target,i=o.antecedents;return o.antecedents=e.antecedents,a=t(e.antecedent,!1),o.antecedents=i,a}return!!(1&n)}e=e.antecedents[0]}}}(e.flowNode,!1)&&Ua(e,r)}function Eg(e){var t=eL(e),r=RP(e,!0,!0),n=!1,a=!1;for(176===r.kind&&Ag(e,r,mA.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class);219===r.kind&&(r=RP(r,!1,!a),n=!0),167===r.kind;)r=RP(r,!n,!1),a=!0;if(o=e,AR(i=r)&&dL(i)&&T&&i.initializer&&wA(i.initializer,o.pos)&&gL(i.parent)&&Ua(o,mA.Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class),a)Ua(e,mA.this_cannot_be_referenced_in_a_computed_property_name);else switch(r.kind){case 267:Ua(e,mA.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 266:Ua(e,mA.this_cannot_be_referenced_in_current_location);break;case 176:Pg(e,r)&&Ua(e,mA.this_cannot_be_referenced_in_constructor_arguments)}!t&&n&&V<2&&Cg(e,r);var i,o,s=Fg(e,!0,r);return y&&(s===(i=sc(Ne))&&n?Ua(e,mA.The_containing_arrow_function_captures_the_global_value_of_this):s||(o=Ua(e,mA.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation),uB(r)||(t=Fg(r))&&t!==i&&SM(o,tP(r,mA.An_outer_value_of_this_is_shadowed_by_this_container)))),s||ut}function Fg(e,t,r){void 0===t&&(t=!0),void 0===r&&(r=RP(e,!1,!1));var n=cI(e);if(bE(r)&&(!Jg(e)||YO(r))){var a,i=L_(E_(r))||n&&function(e){var t=GA(e);if(t&&t.typeExpression)return Uf(t.typeExpression);e=F_(e);if(e)return L_(e)}(r);if(i||(a=218===(a=r).kind&&mj(a.parent)&&3===NI(a.parent)?a.parent.left.expression.expression:174===a.kind&&210===a.parent.kind&&mj(a.parent.parent)&&6===NI(a.parent.parent)?a.parent.parent.left.expression:218===a.kind&&303===a.parent.kind&&210===a.parent.parent.kind&&mj(a.parent.parent.parent)&&6===NI(a.parent.parent.parent)?a.parent.parent.parent.left.expression:218===a.kind&&iB(a.parent)&&xR(a.parent.name)&&("value"===a.parent.name.escapedText||"get"===a.parent.name.escapedText||"set"===a.parent.name.escapedText)&&nj(a.parent.parent)&&oj(a.parent.parent.parent)&&a.parent.parent.parent.arguments[2]===a.parent.parent&&9===NI(a.parent.parent.parent)?a.parent.parent.parent.arguments[0].expression:FR(a)&&xR(a.name)&&("value"===a.name.escapedText||"get"===a.name.escapedText||"set"===a.name.escapedText)&&nj(a.parent)&&oj(a.parent.parent)&&a.parent.parent.arguments[2]===a.parent&&9===NI(a.parent.parent)?a.parent.parent.arguments[0].expression:void 0,n&&a?(a=TT(a).symbol)&&a.members&&16&a.flags&&(i=Pc(a).thisType):Nb(r)&&(i=Pc(mo(r.symbol)).thisType),i=i||Rg(r)),i)return fg(e,i)}if(NE(r.parent)){var o=yo(r.parent);return fg(e,lL(r)?sc(o):Pc(o).thisType)}if(uB(r)){if(r.commonJsModuleIndicator){o=yo(r);return o&&sc(o)}return r.externalModuleIndicator?gt:t?sc(Ne):void 0}}function Pg(e,t){return FA(e,function(e){return TE(e)?"quit":169===e.kind&&e.parent===t})}function Ig(e){var t=213===e.parent.kind&&e.parent.expression===e,r=zP(e,!0),n=r,a=!1,i=!1;if(!t){for(;n&&219===n.kind;)_L(n,512)&&(i=!0),n=zP(n,!0),a=V<2;n&&_L(n,512)&&(i=!0)}var o=0;if(!n||!function(e){{if(t)return 176===e.kind;if(NE(e.parent)||210===e.parent.kind)return lL(e)?174===e.kind||173===e.kind||177===e.kind||178===e.kind||172===e.kind||175===e.kind:174===e.kind||173===e.kind||177===e.kind||178===e.kind||172===e.kind||171===e.kind||176===e.kind}return!1}(n)){var s=FA(e,function(e){return e===n?"quit":167===e.kind});return s&&167===s.kind?Ua(e,mA.super_cannot_be_referenced_in_a_computed_property_name):t?Ua(e,mA.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors):n&&n.parent&&(NE(n.parent)||210===n.parent.kind)?Ua(e,mA.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class):Ua(e,mA.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions),dt}if(t||176!==r.kind||Ag(e,n,mA.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class),lL(n)||t?(o=32,!t&&2<=V&&V<=8&&(AR(n)||PR(n))&&XF(e.parent,function(e){uB(e)&&!_P(e)||(ci(e).flags|=2097152)})):o=16,ci(e).flags|=o,174===n.kind&&i&&(VP(e.parent)&&tO(e.parent)?ci(n).flags|=256:ci(n).flags|=128),a&&Cg(e.parent,n),210===n.parent.kind)return V<2?(Ua(e,mA.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher),dt):ut;s=n.parent;if(!vO(s))return Ua(e,mA.super_can_only_be_referenced_in_a_derived_class),dt;r=Pc(yo(s)),s=r&&Tc(r)[0];return s?176===n.kind&&Pg(e,n)?(Ua(e,mA.super_cannot_be_referenced_in_constructor_arguments),dt):32===o?bc(r):Qc(s,r.thisType):dt}function Og(e){return 174!==e.kind&&177!==e.kind&&178!==e.kind||210!==e.parent.kind?218===e.kind&&303===e.parent.kind?e.parent.parent:void 0:e.parent}function Lg(e){return 4&WL(e)&&e.target===Dr?ll(e)[0]:void 0}function Mg(e,t){for(var r=e,n=t;n;){var a=Gv(n,function(e){return 2097152&e.flags?KN(e.types,Lg):Lg(e)});if(a)return a;if(303!==r.parent.kind)break;n=rh(r=r.parent.parent,void 0)}}function Rg(e){if(219!==e.kind){if(bp(e)){var t=yh(e);if(t){var r=t.thisParameter;if(r)return sc(r)}}var n=cI(e);if(y||n){var a=Og(e);if(a){t=rh(a,void 0),r=Mg(a,t);return r?pp(r,Py(_h(a))):xy(t?oy(t):iT(a))}a=aO(e.parent);if(226===a.kind&&64===a.operatorToken.kind){e=a.left;if(GL(e)){e=e.expression;if(n&&xR(e)){a=CF(a);if(a.commonJsModuleIndicator&&sv(e)===a.symbol)return}return xy(iT(e))}}}}}function jg(e){var t=e.parent;if(bp(t)){var r=UP(t);if(r&&r.arguments){var n=sb(r),a=t.parameters.indexOf(e);if(e.dotDotDotToken)return eb(n,a,n.length,ut,void 0,0);var r=ci(r),i=r.resolvedSignature;r.resolvedSignature=Sn;a=a<n.length?Wm(TT(n[a])):e.initializer?void 0:ht;return r.resolvedSignature=i,a}i=yh(t);if(i){a=t.parameters.indexOf(e)-(YO(t)?1:0);return(e.dotDotDotToken&&CD(t.parameters)===e?rk:tk)(i,a)}}}function Bg(e,t){var r=nL(e)||(cI(e)?rR(e):void 0);if(r)return Uf(r);switch(e.kind){case 169:return jg(e);case 208:return function(e,t){var r=e.parent.parent,n=e.propertyName||e.name,t=Bg(r,t)||208!==r.kind&&r.initializer&&sT(r,e.dotDotDotToken?64:0);if(!t||PE(n)||ZF(n))return;if(207===r.name.kind){e=IF(e.parent.elements,e);return e<0?void 0:Yg(t,e)}n=Od(n);if(sR(n)){n=cR(n);return vs(t,n)}}(e,t);case 172:if(lL(e))return function(e,t){t=jE(e.parent)&&ih(e.parent,t);return t?Gg(t,yo(e).escapedName):void 0}(e,t)}}function Jg(e){for(var t=!1;e.parent&&!bE(e.parent);){if(CR(e.parent)&&(t||e.parent.initializer===e))return 1;tj(e.parent)&&e.parent.initializer===e&&(t=!0),e=e.parent}}function zg(e,t){var r=!!(2&kO(t)),t=Ug(t,void 0);if(t)return mw(e,t,r)||void 0}function Ug(e,t){var r=B_(e);if(r)return r;r=mh(e);if(r&&!J_(r))return j_(r);e=UP(e);return e?ih(e,t):void 0}function Vg(e,t){t=sb(e).indexOf(t);return-1===t?void 0:qg(e,t)}function qg(e,t){if(mP(e))return 0===t?wt:1===t?Rl(!1):ut;var r=ci(e).resolvedSignature===Cn?Cn:Cb(e);if(YE(e)&&0===t)return lh(r,e);e=r.parameters.length-1;return bJ(r)&&e<=t?sf(sc(r.parameters[e]),Mf(t-e),256):ek(r,t)}function Wg(e,t){var r=e.parent,n=r.left,a=r.operatorToken,i=r.right;switch(a.kind){case 64:case 77:case 76:case 78:return e===i?function(e){var t,r=NI(e);switch(r){case 0:case 4:var n=function(e){if(HE(e)&&e.symbol)return e.symbol;if(xR(e))return sv(e);if(aj(e)){var t=xT(e.expression);return bR(e.name)?function(e,t){t=dx(t.escapedText,t);return t&&mx(e,t)}(t,e.name):u_(t,e.name.escapedText)}if(ij(e)){var r=iT(e.argumentExpression);return sR(r)?u_(t=xT(e.expression),cR(r)):void 0}return}(e.left),a=n&&n.valueDeclaration;return a&&(AR(a)||DR(a))?(o=nL(a))&&pp(Uf(o),si(n).mapper)||(AR(a)?a.initializer&&xT(e.left):void 0):0===r?xT(e.left):Kg(e);case 5:if(Hg(e,r))return Kg(e);if(HE(e.left)&&e.left.symbol){var i=e.left.symbol.valueDeclaration;if(!i)return;a=JD(e.left,GL);if(o=nL(i))return Uf(o);if(xR(a.expression)){var o=a.expression,o=pi(o,o.escapedText,111551,void 0,o.escapedText,!0);if(o){o=o.valueDeclaration&&nL(o.valueDeclaration);if(o){a=FI(a);if(void 0!==a)return Gg(Uf(o),a)}return}}return cI(i)||i===e.left?void 0:xT(e.left)}return xT(e.left);case 1:case 6:case 3:case 2:i=void 0;2!==r&&(i=!HE(e.left)||null==(t=e.left.symbol)?void 0:t.valueDeclaration);i=(i=i||(null==(t=e.symbol)?void 0:t.valueDeclaration))&&nL(i);return i?Uf(i):void 0;case 7:case 8:case 9:return rA.fail("Does not apply");default:return rA.assertNever(r)}}(r):void 0;case 57:case 61:var o=ih(r,t);return e===i&&(o&&o.pattern||!o&&!bI(r))?xT(n):o;case 56:case 28:return e===i?ih(r,t):void 0;default:return}}function Hg(e,t){if(void 0===t&&(t=NI(e)),4===t)return!0;if(!cI(e)||5!==t||!xR(e.left.expression))return!1;t=e.left.expression.escapedText,t=pi(e.left,t,111551,void 0,void 0,!0,!0);return WP(null==t?void 0:t.valueDeclaration)}function Kg(e){if(!e.symbol)return xT(e.left);if(e.symbol.valueDeclaration){var t=nL(e.symbol.valueDeclaration);if(t){var r=Uf(t);if(r)return r}}r=JD(e.left,GL);if(AP(RP(r.expression,!1,!1))){e=Eg(r.expression),r=FI(r);return void 0!==r&&Gg(e,r)||void 0}}function Gg(e,n,a){return Gv(e,function(e){if(Du(e)&&!e.declaration.nameType){var t=hu(e),r=Vu(t)||t,t=a||Lf(OA(n));if(Ap(t,r))return of(e,t)}else if(3670016&e.flags){r=u_(e,n);if(r)return 262144&BL(t=r)&&!t.links.type&&0<=ps(t,0)?void 0:sc(r);if(Xm(e)&&qM(n)&&0<=+n){r=ey(e,e.target.fixedLength,0,!1,!0);if(r)return r}return null==(e=p_(y_(e),a||Lf(OA(n))))?void 0:e.type}},!0)}function Xg(e,t){if(rA.assert(AP(e)),!(67108864&e.flags))return Qg(e,t)}function Qg(e,t){var r=e.parent,n=iB(e)&&Bg(e,t);if(n)return n;t=rh(r,t);if(t){if(Wc(e)){var a=yo(e);return Gg(t,a.escapedName,si(a).nameType)}if(wO(e)){a=JA(e);if(a&&SR(a)){a=TT(a.expression),a=sR(a)&&Gg(t,cR(a));if(a)return a}}if(e.name){var i=Od(e.name);return Gv(t,function(e){return null==(e=p_(y_(e),i))?void 0:e.type},!0)}}}function Yg(e,n,a,i,o){return e&&Gv(e,function(e){if(Xm(e)){if((void 0===i||n<i)&&n<e.target.fixedLength)return ll(e)[n];var t=void 0!==a&&(void 0===o||o<n)?a-n:0,r=0<t&&e.target.hasRestElement?_d(e.target,3):0;return 0<t&&t<=r?ll(e)[dl(e)-t]:ey(e,void 0===i?e.target.fixedLength:Math.min(e.target.fixedLength,i),void 0===a||void 0===o?r:Math.min(r,a-o),!1,!0)}return(!i||n<i)&&Gg(e,""+n)||GS(1,e,gt,void 0,!1)},!0)}function Zg(e,t){var r=e.parent;return QE(r)?ih(e,t):Xj(r)?function(e,t,r){var n=rh(e.openingElement.attributes,r),r=jh(Mh(e));if(n&&!gs(n)&&r&&""!==r){var e=BO(e.children),a=e.indexOf(t),r=Gg(n,r);return r&&(1===e.length?r:Gv(r,function(e){return Im(e)?sf(e,Mf(a)):e},!0))}}(r,e,t):void 0}function $g(e,t){if(!$j(e))return ih(e.parent,t);t=rh(e.parent,t);return t&&!gs(t)?Gg(t,nR(e.name)):void 0}function eh(e){switch(e.kind){case 11:case 9:case 10:case 15:case 228:case 112:case 97:case 106:case 80:case 157:return!0;case 211:case 217:return eh(e.expression);case 294:return!e.expression||eh(e.expression)}return!1}function th(r,n){return t=r,a=vv(e=n),(t=(t=a&&QN(t.properties,function(e){return e.symbol&&303===e.kind&&e.symbol.escapedName===a&&eh(e.initializer)}))&&kT(t.initializer))&&gv(e,t)||cm(n,fD(iD(nD(r.properties,function(e){return e.symbol&&303===e.kind&&eh(e.initializer)&&mv(n,e.symbol.escapedName)}),function(e){return[function(){return kT(e.initializer)},e.symbol.escapedName]}),iD(nD(Ou(n),function(e){var t;return 16777216&e.flags&&null!=(t=null==r?void 0:r.symbol)&&t.members&&!r.symbol.members.has(e.escapedName)&&mv(n,e.escapedName)}),function(e){return[function(){return gt},e.escapedName]})),Ap);var e,t,a}function rh(e,t){var r,n,a,i=nh((AP(e)?Xg:ih)(e,t),e,t);if(i&&!(t&&2&t&&8650752&i.flags)){i=Gv(i,function(e){return 32&WL(e)?e:Zu(e)},!0);return 1048576&i.flags&&nj(e)?th(e,i):1048576&i.flags&&eB(e)?(n=i,a=jh(Mh(r=e)),cm(n,fD(iD(nD(r.properties,function(e){return e.symbol&&291===e.kind&&mv(n,e.symbol.escapedName)&&(!e.initializer||eh(e.initializer))}),function(e){return[e.initializer?function(){return kT(e.initializer)}:function(){return Et},e.symbol.escapedName]}),iD(nD(Ou(n),function(e){if(16777216&e.flags&&null!=(t=null==r?void 0:r.symbol)&&t.members){var t=r.parent.parent;return e.escapedName===a&&Xj(t)&&BO(t.children).length?void 0:!r.symbol.members.has(e.escapedName)&&mv(n,e.escapedName)}}),function(e){return[function(){return gt},e.escapedName]})),Ap)):i}}function nh(e,t,r){if(e&&Wk(e,465829888)){t=_h(t);if(t&&1&r&&dD(t.inferences,vT))return ah(e,t.nonFixingMapper);if(null!=t&&t.returnMapper){t=ah(e,t.returnMapper);return 1048576&t.flags&&pd(t.types,At)&&pd(t.types,Ft)?Hv(t,function(e){return e!==At&&e!==Ft}):t}}return e}function ah(e,t){return 465829888&e.flags?pp(e,t):1048576&e.flags?hd(iD(e.types,function(e){return ah(e,t)}),0):2097152&e.flags?Cd(iD(e.types,function(e){return ah(e,t)})):e}function ih(e,t){if(!(67108864&e.flags)){var r=uh(e,!t);if(0<=r)return Wn[r];var n,a=e.parent;switch(a.kind){case 260:case 169:case 172:case 171:case 208:return function(e,t){var r=e.parent;if(nF(r)&&e===r.initializer){e=Bg(r,t);if(e)return e;if(!(8&t)&&PE(r.name)&&0<r.name.elements.length)return Vs(r.name,!0,!1)}}(e,t);case 219:case 253:return function(e,t){var r=PP(e);if(r){e=Ug(r,t);if(e){t=kO(r);if(1&t){var n=0!=(2&t);1048576&e.flags&&(e=Hv(e,function(e){return!!mw(1,e,n)}));r=mw(1,e,0!=(2&t));if(!r)return;e=r}if(2&t){t=Gv(e,nS);return t&&hd([t,wk(t)])}return e}}}(e,t);case 229:return function(e,t){var r=PP(e);if(r){var n=kO(r),t=Ug(r,t);if(t){var a=0!=(2&n);return!e.asteriskToken&&1048576&t.flags&&(t=Hv(t,function(e){return!!mw(1,e,a)})),e.asteriskToken?t:mw(0,t,a)}}}(a,t);case 223:return function(e,t){if(t=ih(e,t)){t=nS(t);return t&&hd([t,wk(t)])}}(a,t);case 213:case 214:return Vg(a,e);case 170:return(n=Tk(n=a))?K_(n):void 0;case 216:case 234:return uE(a.type)?ih(a,t):Uf(a.type);case 226:return Wg(e,t);case 303:case 304:return Qg(a,t);case 305:return ih(a.parent,t);case 209:var i=a,o=rh(i,t),s=IF(i.elements,e),c=null!==(n=(c=ci(i)).spreadIndices)&&void 0!==n?n:c.spreadIndices=function(e){for(var t,r,n=0;n<e.length;n++)yj(e[n])&&(null!=t||(t=n),r=n);return{first:t,last:r}}(i.elements);return Yg(o,s,i.elements.length,c.first,c.last);case 227:return u=t,c=(i=e).parent,i===c.whenTrue||i===c.whenFalse?ih(c,u):void 0;case 239:return rA.assert(228===a.parent.kind),function(e,t){if(215===e.parent.kind)return Vg(e.parent,t)}(a.parent,e);case 217:if(cI(a)){if(eR(a))return Uf(tR(a));var u=XA(a);if(u&&!uE(u.typeExpression.type))return Uf(u.typeExpression.type)}return ih(a,t);case 235:return ih(a,t);case 238:return Uf(a.type);case 277:return Gs(a);case 294:return Zg(a,t);case 291:case 293:return $g(a,t);case 286:case 285:return function(e,t){if(Yj(e)&&4!==t){t=uh(e.parent,!t);if(0<=t)return Wn[t]}return qg(e,0)}(a,t)}}}function oh(e){sh(e,ih(e,void 0),!0)}function sh(e,t,r){qn[Kn]=e,Wn[Kn]=t,Hn[Kn]=r,Kn++}function ch(){Kn--}function uh(e,t){for(var r=Kn-1;0<=r;r--)if(e===qn[r]&&(t||!Hn[r]))return r;return-1}function _h(e){for(var t=Qn-1;0<=t;t--)if(cO(e,Gn[t]))return Xn[t]}function lh(e,t){return(0!==rb(t)?function(e,t){e=uk(e,yt);e=dh(t,Mh(t),e);t=Ih(dJ.IntrinsicAttributes,t);hs(t)||(e=su(t,e));return e}:function(e,t){var r=Mh(t),n=function(e){return Rh(dJ.ElementAttributesPropertyNameContainer,e)}(r),a=void 0===n?uk(e,yt):""===n?j_(e):function(e,t){var r,n;if(e.compositeSignatures){var a=[];try{for(var i=__values(e.compositeSignatures),o=i.next();!o.done;o=i.next()){var s=j_(o.value);if(gs(s))return s;s=vs(s,t);if(!s)return;a.push(s)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return Cd(a)}var c=j_(e);return gs(c)?c:vs(c,t)}(e,n);if(!a)return n&&HN(t.attributes.properties)&&Ua(t,mA.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property,OA(n)),yt;{if(gs(a=dh(t,r,a)))return a;var i=a,n=Ih(dJ.IntrinsicClassAttributes,t);hs(n)||(r=mc(n.symbol),a=j_(e),e=void 0,e=r?(a=A_([a],r,D_(r),cI(t)),pp(n,Gf(r,a))):n,i=su(e,i));t=Ih(dJ.IntrinsicAttributes,t);return hs(t)||(i=su(t,i)),i}})(e,t)}function dh(e,t,r){t=(n=t)&&_i(n.exports,dJ.LibraryManagedAttributes,788968);if(t){var n=function(e){if(Dh(e.tagName))return K_(Tb(e,t=Jh(e)));var t,r=iT(e.tagName);return 128&r.flags?(t=Bh(r,e))?K_(Tb(e,t)):dt:r}(e),n=Wh(t,cI(e),n,r);if(n)return n}return r}function fh(e){return pM(ee,"noImplicitAny")?ED(e,function(e,t){return e!==t&&e?iu(e.typeParameters,t.typeParameters)?function(e,t){var r,n=e.typeParameters||t.typeParameters;e.typeParameters&&t.typeParameters&&(r=Gf(t.typeParameters,e.typeParameters));var a=e.declaration,i=function(e,t,r){for(var n=nk(e),a=nk(t),i=a<=n?e:t,o=i===e?t:e,s=i===e?n:a,c=ik(e)||ik(t),u=c&&!ik(i),_=new Array(s+(u?1:0)),l=0;l<s;l++){var d=tk(i,l);i===t&&(d=pp(d,r));var f=tk(o,l)||yt;o===t&&(f=pp(f,r));var p=hd([d,f]),m=c&&!u&&l===s-1,y=l>=ak(i)&&l>=ak(o),d=n<=l?void 0:Yb(e,l),f=a<=l?void 0:Yb(t,l),f=Qa(1|(y&&!m?16777216:0),(d===f?d:d?f?void 0:d:f)||"arg".concat(l));f.links.type=m?Yl(p):p,_[l]=f}{var v;u&&((v=Qa(1,"args")).links.type=Yl(ek(o,s)),o===t&&(v.links.type=pp(v.links.type,r)),_[s]=v)}return _}(e,t,r),o=function(e,t,r){if(!e||!t)return e||t;r=hd([sc(e),pp(sc(t),r)]);return my(e,r)}(e.thisParameter,t.thisParameter,r),s=Math.max(e.minArgumentCount,t.minArgumentCount),s=Zc(a,n,o,i,void 0,void 0,s,167&(e.flags|t.flags));s.compositeKind=2097152,s.compositeSignatures=fD(2097152===e.compositeKind&&e.compositeSignatures||[e],[t]),r&&(s.mapper=2097152===e.compositeKind&&e.mapper&&e.compositeSignatures?tp(e.mapper,r):r);return s}(e,t):void 0:e}):void 0}function ph(e,t){e=nD(l_(e,0),function(e){return!function(e,t){for(var r=0;r<t.parameters.length;r++){var n=t.parameters[r];if(n.initializer||n.questionToken||n.dotDotDotToken||YM(n))break}t.parameters.length&&ZO(t.parameters[0])&&r--;return!ik(e)&&nk(e)<r}(e,t)});return 1===e.length?e[0]:fh(e)}function mh(e){return VM(e)||AP(e)?yh(e):void 0}function yh(e){var t,r;rA.assert(174!==e.kind||AP(e));var n=F_(e);if(n)return n;n=rh(e,1);if(n){if(!(1048576&n.flags))return ph(n,e);var a,i=n.types;try{for(var o=__values(i),s=o.next();!s.done;s=o.next()){var c=ph(s.value,e);if(c)if(a){if(!Cm(a[0],c,!1,!0,!0,Sp))return;a.push(c)}else a=[c]}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return a?1===a.length?a[0]:eu(a[0],a):void 0}}function vh(e){return 208===e.kind&&!!e.initializer||226===e.kind&&64===e.operatorToken.kind}function gh(e,t,r){var n=e.elements,a=n.length,i=[],o=[];oh(e);for(var s,c=tO(e),u=_T(e),_=rh(e,void 0),l=yj(s=aO((s=e).parent))&&ME(s.parent)||!!_&&qv(_,Rm),d=!1,f=0;f<a;f++){var p,m,y=n[f];230===y.kind?(V<2&&dN(y,ee.downlevelIteration?1536:1024),Im(m=TT(y.expression,t,r))?(i.push(m),o.push(8)):(c?(p=h_(m,Ct)||GS(65,m,gt,void 0,!1)||yt,i.push(p)):i.push(KS(33,m,gt,y.expression)),o.push(4))):re&&232===y.kind?(d=!0,i.push(bt),o.push(2)):(p=lT(y,t,r),i.push(Fs(p,!0,d)),o.push(d?2:1),l&&t&&2&t&&!(4&t)&&hp(y)&&(m=_h(e),rA.assert(m),Ay(m,y,p)))}return ch(),c?ad(i,o):hh(r||u||l?ad(i,o,u):Yl(i.length?hd(oD(i,function(e,t){return 8&o[t]?uf(e,Ct)||ut:e}),2):te?jt:ht,u))}function hh(e){if(!(4&WL(e)))return e;var t=e.literalType;return t||((t=e.literalType=ul(e)).objectFlags|=147456),t}function xh(e){switch(e.kind){case 167:return Hk(bh(e),296);case 80:return qM(e.escapedText);case 9:case 11:return qM(e.text);default:return!1}}function bh(e){var t,r=ci(e.expression);if(!r.resolvedType){if((VR(e.parent.parent)||NE(e.parent.parent)||Ij(e.parent.parent))&&mj(e.expression)&&103===e.expression.operatorToken.kind&&177!==e.parent.kind&&178!==e.parent.kind)return r.resolvedType=dt;r.resolvedType=TT(e.expression),!AR(e.parent)||dL(e.parent)||!vj(e.parent.parent)||(t=wg(GF(e.parent.parent)))&&(ci(t).flags|=4096,ci(e).flags|=32768,ci(e.parent.parent).flags|=32768),(98304&r.resolvedType.flags||!Hk(r.resolvedType,402665900)&&!Ap(r.resolvedType,Ut))&&Ua(e,mA.A_computed_property_name_must_be_of_type_string_number_symbol_or_any)}return r.resolvedType}function kh(e){var t=null==(t=e.declarations)?void 0:t[0];return PO(e)||t&&BA(t)&&SR(t.name)&&Hk(bh(t.name),4096)}function Th(e,t,r,n){for(var a,i,o=[],s=t;s<r.length;s++){var c=r[s];(n===wt&&!kh(c)||n===Ct&&(i=void 0,i=null==(i=(a=c).declarations)?void 0:i[0],qM(a.escapedName)||i&&BA(i)&&xh(i.name))||n===Ot&&kh(c))&&o.push(sc(r[s]))}return Q_(n,o.length?hd(o,2):gt,_T(e))}function Sh(e){rA.assert(0!=(2097152&e.flags),"Should only get Alias here.");var t=si(e);if(!t.immediateTarget){e=ki(e);if(!e)return rA.fail();t.immediateTarget=Bi(e,!0)}return t.immediateTarget}function wh(t,e){var r,n,a,i,o,s,c;void 0===e&&(e=0);var u=tO(t);!function(e,t){var r,n,a,i,o,s,c=new Map;try{for(var u=__values(e.properties),_=u.next();!_.done;_=u.next()){var l=_.value;if(305!==l.kind){var d=l.name;if(167===d.kind&&kN(d),304===l.kind&&!t&&l.objectAssignmentInitializer&&RN(l.equalsToken,mA.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),81===d.kind&&RN(d,mA.Private_identifiers_are_not_allowed_outside_class_bodies),VB(l)&&l.modifiers)try{for(var f=(a=void 0,__values(l.modifiers)),p=f.next();!p.done;p=f.next())!gE(m=p.value)||134===m.kind&&174===l.kind||RN(m,mA._0_modifier_cannot_be_used_here,PF(m))}catch(e){a={error:e}}finally{try{p&&!p.done&&(i=f.return)&&i.call(f)}finally{if(a)throw a.error}}else if(JB(l)&&l.modifiers)try{for(var m,y=(o=void 0,__values(l.modifiers)),v=y.next();!v.done;v=y.next())gE(m=v.value)&&RN(m,mA._0_modifier_cannot_be_used_here,PF(m))}catch(e){o={error:e}}finally{try{v&&!v.done&&(s=y.return)&&s.call(y)}finally{if(o)throw o.error}}var g=void 0;switch(l.kind){case 304:case 303:wN(l.exclamationToken,mA.A_definite_assignment_assertion_is_not_permitted_in_this_context),SN(l.questionToken,mA.An_object_member_cannot_be_declared_optional),9===d.kind&&BN(d),g=4;break;case 174:g=8;break;case 177:g=1;break;case 178:g=2;break;default:rA.assertNever(l,"Unexpected syntax kind:"+l.kind)}if(!t){var h=function(e){var t=NO(e);return t||(SR(e)&&AL(e.expression)?dv(e.expression):void 0)}(d);if(void 0!==h){var x=c.get(h);if(x)if(8&g&&8&x)RN(d,mA.Duplicate_identifier_0,PF(d));else if(4&g&&4&x)RN(d,mA.An_object_literal_cannot_have_multiple_properties_with_the_same_name,PF(d));else{if(!(3&g&&3&x))return RN(d,mA.An_object_literal_cannot_have_property_and_accessor_with_the_same_name);if(3===x||g===x)return RN(d,mA.An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name);c.set(h,g|x)}else c.set(h,g)}}}else if(t){h=oO(l.expression);if(rj(h)||nj(h))return RN(l.expression,mA.A_rest_element_cannot_contain_a_binding_pattern)}}}catch(e){r={error:e}}finally{try{_&&!_.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}}(t,u);var _=te?vF():void 0,l=vF(),d=[],f=$t;oh(t);var p=rh(t,void 0),m=p&&p.pattern&&(206===p.pattern.kind||210===p.pattern.kind),y=_T(t),v=y?8:0,g=cI(t)&&!uI(t),h=g?KA(t):void 0,x=!p&&g&&!h,b=q,k=!1,T=!1,S=!1,w=!1;try{for(var C=__values(t.properties),N=C.next();!N.done;N=C.next()){var D=N.value;D.name&&SR(D.name)&&bh(D.name)}}catch(e){r={error:e}}finally{try{N&&!N.done&&(n=C.return)&&n.call(C)}finally{if(r)throw r.error}}var A=0;try{for(var E=__values(t.properties),F=E.next();!F.done;F=E.next()){var P=F.value,I=yo(P),O=P.name&&167===P.name.kind?bh(P.name):void 0;if(303===P.kind||304===P.kind||AP(P)){var L=303===P.kind?dT(P,e):304===P.kind?lT(!u&&P.objectAssignmentInitializer?P.objectAssignmentInitializer:P.name,e):fT(P,e);g&&((M=As(P))?(Ip(L,M,P),L=M):h&&h.typeExpression&&Ip(L,Uf(h.typeExpression),P)),b|=458752&WL(L);var M=O&&sR(O)?O:void 0,R=M?Qa(4|I.flags,cR(M),4096|v):Qa(4|I.flags,I.escapedName,v);M&&(R.links.nameType=M),u?(303===P.kind&&vh(P.initializer)||304===P.kind&&P.objectAssignmentInitializer)&&(R.flags|=16777216):!m||512&WL(p)||((M=u_(p,I.escapedName))?R.flags|=16777216&M.flags:ee.suppressExcessPropertyErrors||g_(p,wt)||Ua(P.name,mA.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,Yo(I),$o(p))),R.declarations=I.declarations,R.parent=I.parent,I.valueDeclaration&&(R.valueDeclaration=I.valueDeclaration),R.links.type=L,R.links.target=I,I=R,null!=_&&_.set(R.escapedName,R),!(p&&2&e)||4&e||303!==P.kind&&174!==P.kind||!hp(P)||(j=_h(t),rA.assert(j),Ay(j,303===P.kind?P.initializer:P,L))}else{if(305===P.kind){if(V<2&&dN(P,2),0<d.length&&(f=Df(f,U(),t.symbol,b,y),d=[],l=vF(),w=S=T=!1),Ch(L=n_(TT(P.expression,2&e)))){var j=Nf(L,y);if(_&&Fh(j,_,P),A=d.length,hs(f))continue;f=Df(f,j,t.symbol,b,y)}else Ua(P,mA.Spread_types_may_only_be_created_from_object_types),f=dt;continue}rA.assert(177===P.kind||178===P.kind),cC(P)}!O||8576&O.flags?l.set(I.escapedName,I):Ap(O,Ut)&&(Ap(O,Ct)?S=!0:Ap(O,Ot)?w=!0:T=!0,u&&(k=!0)),d.push(I)}}catch(e){a={error:e}}finally{try{F&&!F.done&&(i=E.return)&&i.call(E)}finally{if(a)throw a.error}}if(ch(),m){var B=FA(p.pattern.parent,function(e){return 260===e.kind||226===e.kind||169===e.kind});if(305!==FA(t,function(e){return e===B||305===e.kind}).kind)try{for(var J=__values(Ou(p)),z=J.next();!z.done;z=J.next()){R=z.value;l.get(R.escapedName)||u_(f,R.escapedName)||(16777216&R.flags||Ua(R.valueDeclaration||(null==(c=BD(R,gF))?void 0:c.links.bindingElement),mA.Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value),l.set(R.escapedName,R),d.push(R))}}catch(e){o={error:e}}finally{try{z&&!z.done&&(s=J.return)&&s.call(J)}finally{if(o)throw o.error}}}return hs(f)?dt:f!==$t?(0<d.length&&(f=Df(f,U(),t.symbol,b,y),d=[],l=vF(),S=T=!1),Gv(f,function(e){return e===$t?U():e})):U();function U(){var e=[];T&&e.push(Th(t,A,d,wt)),S&&e.push(Th(t,A,d,Ct)),w&&e.push(Th(t,A,d,Ot));e=Mo(t.symbol,l,WN,WN,e);return e.objectFlags|=131200|b,x&&(e.objectFlags|=4096),k&&(e.objectFlags|=512),u&&(e.pattern=t),e}}function Ch(e){e=ry(Gv(e,qu));return!!(126615553&e.flags||3145728&e.flags&&XN(e.types,Ch))}function Nh(e){return WD(e,"-")}function Dh(e){return xR(e)&&VO(e.escapedText)||rB(e)}function Ah(e,t){return e.initializer?lT(e.initializer,t):Et}function Eh(e,t){var r,n,a=[];try{for(var i=__values(e.children),o=i.next();!o.done;o=i.next()){var s=o.value;12===s.kind?s.containsOnlyTriviaWhiteSpaces||a.push(wt):294===s.kind&&!s.expression||a.push(lT(s,t))}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a}function Fh(e,t,r){var n,a;try{for(var i=__values(Ou(e)),o=i.next();!o.done;o=i.next()){var s=o.value;16777216&s.flags||(s=t.get(s.escapedName))&&SM(Ua(s.valueDeclaration,mA._0_is_specified_more_than_once_so_this_usage_will_be_overwritten,OA(s.escapedName)),tP(r,mA.This_spread_always_overwrites_this_property))}}catch(e){n={error:e}}finally{try{o&&!o.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}}function Ph(e,t){return function(e,t){var r,n;void 0===t&&(t=0);var a,i=e.attributes,o=ih(i,0),s=te?vF():void 0,c=vF(),u=er,_=!1,l=!1,d=2048,f=jh(Mh(e));try{for(var p=__values(i.properties),m=p.next();!m.done;m=p.next()){var y,v,g,h=m.value,x=h.symbol;$j(h)?(g=Ah(h,t),d|=458752&WL(g),(y=Qa(4|x.flags,x.escapedName)).declarations=x.declarations,y.parent=x.parent,x.valueDeclaration&&(y.valueDeclaration=x.valueDeclaration),y.links.type=g,y.links.target=x,c.set(y.escapedName,y),null!=s&&s.set(y.escapedName,y),nR(h.name)===f&&(l=!0),!o||(v=u_(o,x.escapedName))&&v.declarations&&Ka(v)&&xR(h.name)&&Xa(h.name,v.declarations,h.name.escapedText),o&&2&t&&!(4&t)&&hp(h)&&(v=_h(i),rA.assert(v),Ay(v,h.initializer.expression,g))):(rA.assert(293===h.kind),0<c.size&&(u=Df(u,T(),i.symbol,d,!1),c=vF()),gs(g=n_(TT(h.expression,2&t)))&&(_=!0),Ch(g)?(u=Df(u,g,i.symbol,d,!1),s&&Fh(g,s,h)):(Ua(h.expression,mA.Spread_types_may_only_be_created_from_object_types),a=a?Cd([a,g]):g))}}catch(e){r={error:e}}finally{try{m&&!m.done&&(n=p.return)&&n.call(p)}finally{if(r)throw r.error}}_||0<c.size&&(u=Df(u,T(),i.symbol,d,!1));var b,k=284===e.parent.kind?e.parent:void 0;return k&&k.openingElement===e&&0<k.children.length&&(b=Eh(k,t),!_&&f&&""!==f&&(l&&Ua(i,mA._0_are_specified_twice_The_attribute_named_0_will_be_overwritten,OA(f)),e=(k=rh(e.attributes,void 0))&&Gg(k,f),(k=Qa(4,f)).links.type=1===b.length?b[0]:e&&qv(e,Rm)?ad(b):Yl(hd(b)),k.valueDeclaration=uR.createPropertySignature(void 0,OA(f),void 0,void 0),jM(k.valueDeclaration,i),k.valueDeclaration.symbol=k,(b=vF()).set(f,k),u=Df(u,Mo(i.symbol,b,WN,WN,WN),i.symbol,d,!1))),_?ut:a&&u!==er?Cd([a,u]):a||(u===er?T():u);function T(){d|=q;var e=Mo(i.symbol,c,WN,WN,WN);return e.objectFlags|=131200|d,e}}(e.parent,t)}function Ih(e,t){t=Mh(t),t=t&&_o(t),e=t&&_i(t,e,788968);return e?Pc(e):dt}function Oh(e){var t=ci(e);if(t.resolvedSymbol)return t.resolvedSymbol;var r=Ih(dJ.IntrinsicElements,e);if(hs(r))return N&&Ua(e,mA.JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists,OA(dJ.IntrinsicElements)),t.resolvedSymbol=it;if(!xR(e.tagName)&&!rB(e.tagName))return rA.fail();var n=u_(r,rB(e.tagName)?iR(e.tagName):e.tagName.escapedText);return n?(t.jsxFlags|=1,t.resolvedSymbol=n):h_(r,wt)?(t.jsxFlags|=2,t.resolvedSymbol=r.symbol):(Ua(e,mA.Property_0_does_not_exist_on_type_1,oR(e.tagName),"JSX."+dJ.IntrinsicElements),t.resolvedSymbol=it)}function Lh(e){var t=e&&CF(e),r=t&&ci(t);if(!r||!1!==r.jsxImplicitImportContainer){if(r&&r.jsxImplicitImportContainer)return r.jsxImplicitImportContainer;t=hM(gM(ee,t),ee);if(t){e=to(e,t,1===iM(ee)?mA.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_to_the_paths_option:mA.Cannot_find_module_0_or_its_corresponding_type_declarations,e),e=e&&e!==it?mo(zi(e)):void 0;return r&&(r.jsxImplicitImportContainer=e||!1),e}}}function Mh(e){var t=e&&ci(e);if(t&&t.jsxNamespace)return t.jsxNamespace;if(!t||!1!==t.jsxNamespace){var r=Lh(e);if(r&&r!==it||(r=pi(e,e=Ra(e),1920,void 0,e,!1)),r){r=zi(_i(_o(zi(r)),dJ.JSX,1920));if(r&&r!==it)return t&&(t.jsxNamespace=r),r}t&&(t.jsxNamespace=!1)}t=zi(Il(dJ.JSX,1920,void 0));return t!==it?t:void 0}function Rh(e,t){var r=t&&_i(t.exports,e,788968),t=r&&Pc(r),t=t&&Ou(t);if(t){if(0===t.length)return"";if(1===t.length)return t[0].escapedName;1<t.length&&r.declarations&&Ua(r.declarations[0],mA.The_global_type_JSX_0_may_not_have_more_than_one_property,OA(e))}}function jh(e){return Rh(dJ.ElementChildrenAttributeNameContainer,e)}function Bh(e,t){t=Ih(dJ.IntrinsicElements,t);if(hs(t))return ut;e=u_(t,IA(e.value));if(e)return sc(e);t=h_(t,wt);return t||void 0}function Jh(e){rA.assert(Dh(e.tagName));var t=ci(e);if(t.resolvedJsxElementAttributesType)return t.resolvedJsxElementAttributesType;var r=Oh(e);return 1&t.jsxFlags?t.resolvedJsxElementAttributesType=sc(r)||dt:2&t.jsxFlags?t.resolvedJsxElementAttributesType=h_(Ih(dJ.IntrinsicElements,e),wt)||dt:t.resolvedJsxElementAttributesType=dt}function zh(e){e=Ih(dJ.ElementClass,e);if(!hs(e))return e}function Uh(e){return Ih(dJ.Element,e)}function Vh(e){e=Uh(e);if(e)return hd([e,Tt])}function qh(e){var t=Mh(e);if(t){t=(t=t)&&_i(t.exports,dJ.ElementType,788968);if(t){e=Wh(t,cI(e));if(e&&!hs(e))return e}}}function Wh(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=Pc(e);if(524288&e.flags){var i,o=si(e).typeParameters;if(HN(o)>=r.length)return 0===HN(i=A_(r,o,r.length,t))?a:pl(e,i)}if(HN(a.typeParameters)>=r.length)return cl(a,i=A_(r,a.typeParameters,r.length,t))}function Hh(e){var t,r,n,a,i,o,s,c,u,_=YE(e);function l(){var e=PF(s.tagName);return $L(void 0,mA._0_cannot_be_used_as_a_JSX_component,e)}_&&function(e){var t,r;(function(e){if(aj(e)&&rB(e.expression))return RN(e.expression,mA.JSX_property_access_expressions_cannot_include_JSX_namespace_names);if(rB(e)&&vM(ee)&&!VO(e.namespace.escapedText))RN(e,mA.React_components_cannot_include_JSX_namespace_names)})(e.tagName),hN(e,e.typeArguments);var n=new Map;try{for(var a=__values(e.attributes.properties),i=a.next();!i.done;i=a.next()){var o=i.value;if(293!==o.kind){var s=o.name,c=o.initializer,o=nR(s);if(n.get(o))return RN(s,mA.JSX_elements_cannot_have_multiple_attributes_with_the_same_name);if(n.set(o,!0),c&&294===c.kind&&!c.expression)return RN(c,mA.JSX_attributes_must_only_be_assigned_a_non_empty_expression)}}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}(e),a=e,0===(ee.jsx||0)&&Ua(a,mA.Cannot_use_JSX_unless_the_jsx_flag_is_provided),void 0===Uh(a)&&N&&Ua(a,mA.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist),Lh(e)||(t=Sa&&2===ee.jsx?mA.Cannot_find_name_0:void 0,r=Ra(e),n=_?e.tagName:e,a=void 0,Zj(e)&&"null"===r||(a=pi(n,r,111551,t,r,!0)),a&&(a.isReferenced=67108863,Oe&&2097152&a.flags&&!Hi(a)&&Gi(a)),!Zj(e)||(i=ja(CF(e)))&&pi(n,i,111551,t,i,!0)),_&&(Eb(_=Cb(i=e),e),void 0!==(e=qh(i))?nm(Dh(o=i.tagName)?Lf(oR(o)):TT(o),e,Aa,o,mA.Its_type_0_is_not_a_valid_JSX_element_type,function(){var e=PF(o);return $L(void 0,mA._0_cannot_be_used_as_a_JSX_component,e)}):(e=rb(i),_=j_(_),s=i,1===e?(c=Vh(s))&&nm(_,c,Aa,s.tagName,mA.Its_return_type_0_is_not_a_valid_JSX_element,l):0===e?(u=zh(s))&&nm(_,u,Aa,s.tagName,mA.Its_instance_type_0_is_not_a_valid_JSX_element,l):(c=Vh(s),u=zh(s),c&&u&&nm(_,hd([c,u]),Aa,s.tagName,mA.Its_element_type_0_is_not_a_valid_JSX_element,l))))}function Kh(e,t,r){var n,a;if(524288&e.flags){if(Pu(e,t)||k_(e,t)||Vc(t)&&g_(e,wt)||r&&Nh(t))return 1}else if(3145728&e.flags&&Gh(e))try{for(var i=__values(e.types),o=i.next();!o.done;o=i.next())if(Kh(o.value,t,r))return 1}catch(e){n={error:e}}finally{try{o&&!o.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}}function Gh(e){return!!(524288&e.flags&&!(512&WL(e))||67108864&e.flags||1048576&e.flags&&dD(e.types,Gh)||2097152&e.flags&&XN(e.types,Gh))}function Xh(e,t){if(!function(e){if(e.expression&&OB(e.expression))RN(e.expression,mA.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array)}(e),e.expression){t=TT(e.expression,t);return e.dotDotDotToken&&t!==ut&&!Dm(t)&&Ua(e,mA.JSX_spread_child_must_be_an_array_type),t}return dt}function Qh(e){return e.valueDeclaration?VN(e.valueDeclaration):0}function Yh(e){if(8192&e.flags||4&BL(e))return 1;if(cI(e.valueDeclaration)){e=e.valueDeclaration.parent;return e&&mj(e)&&3===NI(e)}}function Zh(e,t,r,n,a,i){return void 0===i&&(i=!0),$h(e,t,r,n,a,i?166===e.kind?e.right:205===e.kind?e:208===e.kind&&e.propertyName?e.propertyName:e.name:void 0)}function $h(e,t,r,n,a,i){var o,s=JL(a,r);if(t){if(V<2&&ex(a))return i&&Ua(i,mA.Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword),!1;if(256&s)return i&&Ua(i,mA.Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression,Yo(a),$o(xm(a))),!1}if(256&s&&ex(a)&&(qP(e)||HP(e)||$R(e.parent)&&WP(e.parent.parent))&&((o=qL(go(a)))&&!!FA(e,function(e){return!!(IR(e)&&FF(e.body)||AR(e))||!(!NE(e)&&!TE(e))&&"quit"})))return i&&Ua(i,mA.Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor,Yo(a),AO(o.name)),!1;if(!(24&s))return!0;if(8&s)return!!gC(e,o=qL(go(a)))||(i&&Ua(i,mA.Property_0_is_private_and_only_accessible_within_class_1,Yo(a),$o(xm(a))),!1);if(t)return!0;t=vC(e,function(e){return km(Pc(yo(e)),a,r)});return!t&&(t=(t=function(e){e=function(e){e=RP(e,!1,!1);return e&&bE(e)?YO(e):void 0}(e),e=(null==e?void 0:e.type)&&Uf(e.type);e&&262144&e.flags&&(e=Mu(e));if(e&&7&WL(e))return _c(e);return}(e))&&km(t,a,r),32&s||!t)?(i&&Ua(i,mA.Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses,Yo(a),$o(xm(a)||n)),!1):!!(32&s)||(262144&n.flags&&(n=(n.isThisType?Mu:Vu)(n)),!(!n||!lc(n,t))||(i&&Ua(i,mA.Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2,Yo(a),$o(t),$o(n)),!1))}function ex(e){return hm(e,function(e){return!(8192&e.flags)})}function tx(e){return sx(TT(e),e)}function rx(e){return!!(50331648&wv(e))}function nx(e){return rx(e)?oy(e):e}function ax(e,t){var r=AL(e)?eP(e):void 0;106!==e.kind?void 0!==r&&r.length<100?xR(e)&&"undefined"===r?Ua(e,mA.The_value_0_cannot_be_used_here,"undefined"):Ua(e,16777216&t?33554432&t?mA._0_is_possibly_null_or_undefined:mA._0_is_possibly_undefined:mA._0_is_possibly_null,r):Ua(e,16777216&t?33554432&t?mA.Object_is_possibly_null_or_undefined:mA.Object_is_possibly_undefined:mA.Object_is_possibly_null):Ua(e,mA.The_value_0_cannot_be_used_here,"null")}function ix(e,t){Ua(e,16777216&t?33554432&t?mA.Cannot_invoke_an_object_which_is_possibly_null_or_undefined:mA.Cannot_invoke_an_object_which_is_possibly_undefined:mA.Cannot_invoke_an_object_which_is_possibly_null)}function ox(e,t,r){if(te&&2&e.flags){if(AL(t)){var n=eP(t);if(n.length<100)return Ua(t,mA._0_is_of_type_unknown,n),dt}return Ua(t,mA.Object_is_of_type_unknown),dt}n=wv(e);if(50331648&n){r(t,n);n=oy(e);return 229376&n.flags?dt:n}return e}function sx(e,t){return ox(e,t,ax)}function cx(e,t){var r=sx(e,t);if(16384&r.flags){if(AL(t)){e=eP(t);if(xR(t)&&"undefined"===e)return Ua(t,mA.The_value_0_cannot_be_used_here,e),r;if(e.length<100)return Ua(t,mA._0_is_possibly_undefined,e),r}Ua(t,mA.Object_is_possibly_undefined)}return r}function ux(e,t,r){return 64&e.flags?(a=t,i=TT((n=e).expression),o=_y(i,n.expression),uy(vx(n,n.expression,sx(o,n.expression),n.name,a),n,o!==i)):vx(e,e.expression,tx(e.expression),e.name,t,r);var n,a,i,o}function _x(e,t){var r=tI(e)&&$O(e.left)?sx(Eg(e.left),e.left):tx(e.left);return vx(e,e.left,r,e.right,t)}function lx(e){for(;217===e.parent.kind;)e=e.parent;return ME(e.parent)&&e.parent.expression===e}function dx(e,t){for(var r=MP(t);r;r=IP(r)){var n=r.symbol,a=FO(n,e),a=n.members&&n.members.get(a)||n.exports&&n.exports.get(a);if(a)return a}}function fx(e){!function(e){if(!IP(e))return RN(e,mA.Private_identifiers_are_not_allowed_outside_class_bodies);if(!Nj(e.parent)){if(!$P(e))return RN(e,mA.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);var t=mj(e.parent)&&103===e.parent.operatorToken.kind;if(!px(e)&&!t)RN(e,mA.Cannot_find_name_0,LA(e))}}(e);e=px(e);return e&&Ex(e,void 0,!1),ut}function px(e){if($P(e)){var t=ci(e);return void 0===t.resolvedSymbol&&(t.resolvedSymbol=dx(e.escapedText,e)),t.resolvedSymbol}}function mx(e,t){return u_(e,t.escapedName)}function yx(e,t){return(Is(t)||qP(e)&&Os(t))&&RP(e,!0,!1)===Ls(t)}function vx(e,t,r,n,a,i){var o,s,c,u=ci(t).resolvedSymbol,_=eO(e),l=Zu(0!==_||lx(e)?xy(r):r),d=gs(l)||l===Rt;if(bR(n)){V<99&&(0!==_&&dN(e,1048576),1!==_&&dN(e,524288));var f=dx(n.escapedText,n);if(_&&f&&f.valueDeclaration&&FR(f.valueDeclaration)&&RN(n,mA.Cannot_assign_to_private_method_0_Private_methods_are_not_writable,LA(n)),d){if(f)return hs(l)?dt:l;if(void 0===MP(n))return RN(n,mA.Private_identifiers_are_not_allowed_outside_class_bodies),ut}if(void 0===(o=f&&mx(r,f))){if(function(e,r,t){var n,a=Ou(e);a&&KN(a,function(e){var t=e.valueDeclaration;if(t&&BA(t)&&bR(t.name)&&t.name.escapedText===r.escapedText)return n=e,!0});var i=vi(r);if(n){var o=rA.checkDefined(n.valueDeclaration),s=rA.checkDefined(IP(o));if(null!=t&&t.valueDeclaration){a=t.valueDeclaration,t=IP(a);if(rA.assert(!!t),FA(t,function(e){return s===e}))return SM(Ua(r,mA.The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling,i,$o(e)),tP(a,mA.The_shadowing_declaration_of_0_is_defined_here,i),tP(o,mA.The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here,i)),1}return Ua(r,mA.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier,i,vi(s.name||iJ)),1}}(r,n,f))return dt;var p=MP(n);p&&DF(CF(p),ee.checkJs)&&RN(n,mA.Private_field_0_must_be_declared_in_an_enclosing_class,LA(n))}else 65536&o.flags&&!(32768&o.flags)&&1!==_&&Ua(e,mA.Private_accessor_was_defined_without_a_getter)}else{if(d)return xR(t)&&u&&Tg(u,e),hs(l)?dt:l;o=u_(l,n.escapedText,!1,166===e.kind)}if(xR(t)&&u&&(sM(ee)||!o||!(zC(o)||8&o.flags&&306===e.parent.kind)||fM(ee)&&kg(e))&&Tg(u,e),o){var m=Gw(o,n);if(Ka(m)&&Kd(e,m)&&m.declarations&&Xa(n,m.declarations,n.escapedText),f=e,p=n,(m=(d=o).valueDeclaration)&&!CF(f).isDeclarationFile&&(c=LA(p),!xx(f)||function(e){return AR(e)&&!yL(e)&&e.questionToken}(m)||GL(f)&&GL(f.expression)||li(m,p)||FR(m)&&32&UN(m)||!b&&function(e){if(!(32&e.parent.flags))return!1;var t=sc(e.parent);for(;;){if(!(t=t.symbol&&function(e){e=Tc(e);return 0!==e.length?Cd(e):void 0}(t)))return!1;var r=u_(t,e.escapedName);if(r&&r.valueDeclaration)return!0}}(d)?263!==m.kind||183===f.parent.kind||33554432&m.flags||li(m,p)||(s=Ua(p,mA.Class_0_used_before_its_declaration,c)):s=Ua(p,mA.Property_0_is_used_before_its_initialization,c),s&&SM(s,tP(m,mA._0_is_declared_here,c))),Ex(o,e,Fx(t,u)),ci(e).resolvedSymbol=o,Zh(e,108===t.kind,VL(e),l,o),Bk(e,o,_))return Ua(n,mA.Cannot_assign_to_0_because_it_is_a_read_only_property,LA(n)),dt;c=yx(e,o)?_t:(i||UL(e)?oc:sc)(o)}else{i=bR(n)||0!==_&&$d(r)&&!HM(r)?void 0:k_(l,n.escapedText);if(!i||!i.type){_=gx(e,r.symbol,!0);return!_&&Wd(r)?ut:r.symbol===Ne?(Ne.exports.has(n.escapedText)&&418&Ne.exports.get(n.escapedText).flags?Ua(n,mA.Property_0_does_not_exist_on_type_1,OA(n.escapedText),$o(r)):N&&Ua(n,mA.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature,$o(r)),ut):(n.escapedText&&!gi(e)&&bx(n,HM(r)?l:r,_),dt)}i.isReadonly&&(tO(e)||sO(e))&&Ua(e,mA.Index_signature_in_type_0_only_permits_reading,$o(l)),c=ee.noUncheckedIndexedAccess&&!tO(e)?hd([i.type,xt]):i.type,ee.noPropertyAccessFromIndexSignature&&aj(e)&&Ua(n,mA.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0,OA(n.escapedText)),i.declaration&&Ga(i.declaration)&&Xa(n,[i.declaration],n.escapedText)}return hx(e,o,c,n,a)}function gx(e,t,r){var n=CF(e);if(!n||void 0!==ee.checkJs||void 0!==n.checkJsDirective||1!==n.scriptKind&&2!==n.scriptKind)return!1;var a=KN(null==t?void 0:t.declarations,CF);return!(n!==a&&a&&ui(a)||r&&t&&32&t.flags||e&&r&&aj(e)&&110===e.expression.kind)}function hx(e,t,r,n,a){var i=eO(e);if(1===i)return ly(r,!!(t&&16777216&t.flags));if(t&&!(98311&t.flags)&&!(8192&t.flags&&1048576&r.flags)&&!aC(t.declarations))return r;if(r===_t)return Rs(e,t);r=bg(r,e,a);var o,s=!1;te&&v&&GL(e)&&110===e.expression.kind?(o=t&&t.valueDeclaration)&&Mw(o)&&(lL(o)||(176!==(a=pg(e)).kind||a.parent!==o.parent||33554432&o.flags||(s=!0))):te&&t&&t.valueDeclaration&&aj(t.valueDeclaration)&&PI(t.valueDeclaration)&&pg(e)===pg(t.valueDeclaration)&&(s=!0);e=fg(e,r,s?iy(r):r);return s&&!Qp(r)&&Qp(e)?(Ua(n,mA.Property_0_is_used_before_being_assigned,Yo(t)),r):i?Vm(e):e}function xx(e){return FA(e,function(e){switch(e.kind){case 172:return!0;case 303:case 174:case 177:case 178:case 305:case 167:case 239:case 294:case 291:case 292:case 293:case 286:case 233:case 298:return!1;case 219:case 244:return!(!kj(e.parent)||!PR(e.parent.parent))||"quit";default:return!$P(e)&&"quit"}})}function bx(e,t,r){var n,a,i,o,s,c,u;if(!bR(e)&&1048576&t.flags&&!(402784252&t.flags))try{for(var _=__values(t.types),l=_.next();!l.done;l=_.next()){var d=l.value;if(!u_(d,e.escapedText)&&!k_(d,e.escapedText)){o=$L(o,mA.Property_0_does_not_exist_on_type_1,QF(e),$o(d));break}}}catch(e){n={error:e}}finally{try{l&&!l.done&&(a=_.return)&&a.call(_)}finally{if(n)throw n.error}}kx(e.escapedText,t)?(s=QF(e),c=$o(t),o=$L(o,mA.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,s,c,c+"."+s)):(c=XT(t))&&u_(c,e.escapedText)?(o=$L(o,mA.Property_0_does_not_exist_on_type_1,QF(e),$o(t)),i=tP(e,mA.Did_you_forget_to_use_await)):(s=QF(e),f=$o(t),void 0!==(c=function(e,t){var r,n,t=Zu(t).symbol;if(!t)return;var t=RA(t),a=OF().get(t);if(a)try{for(var i=__values(a),o=i.next();!o.done;o=i.next()){var s=__read(o.value,2),c=s[0];if(eD(s[1],e))return c}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}(s,t))?o=$L(o,mA.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,s,f,c):void 0!==(c=Sx(e,t))?(u=RA(c),o=$L(o,r?mA.Property_0_may_not_exist_on_type_1_Did_you_mean_2:mA.Property_0_does_not_exist_on_type_1_Did_you_mean_2,s,f,u),i=c.valueDeclaration&&tP(c.valueDeclaration,mA._0_is_declared_here,u)):(u=t,u=ee.lib&&!ee.lib.includes("dom")&&function(e,t){return 3145728&e.flags?XN(e.types,t):t(e)}(u,function(e){return e.symbol&&/^(EventTarget|Node|((HTML[a-zA-Z]*)?Element))$/.test(OA(e.symbol.escapedName))})&&Gp(u)?mA.Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom:mA.Property_0_does_not_exist_on_type_1,o=$L(c_(o,t),u,s,f)));var f=nP(CF(e),e,o);i&&SM(f,i),Va(!r||o.code!==mA.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code,f)}function kx(e,t){e=t.symbol&&u_(sc(t.symbol),e);return void 0!==e&&e.valueDeclaration&&lL(e.valueDeclaration)}function Tx(e,t){return Ax(e,Ou(t),106500)}function Sx(e,t){var r,n=Ou(t);return"string"!=typeof e&&(aj(r=e.parent)&&(n=nD(n,function(e){return Px(r,t,e)})),e=LA(e)),Ax(e,n,111551)}function wx(e,t){var r=jD(e)?e:LA(e),e=Ou(t),t="for"===r?QN(e,function(e){return"htmlFor"===RA(e)}):"class"===r?QN(e,function(e){return"className"===RA(e)}):void 0;return null!=t?t:Ax(r,e,111551)}function Cx(e,t){t=Sx(e,t);return t&&RA(t)}function Nx(e,a,t){return rA.assert(void 0!==a,"outername should always be defined"),mi(e,a,t,void 0,a,!1,!1,!0,function(t,e,r){rA.assertEqual(a,e,"name should equal outerName");var n=_i(t,e,r);return n||(n=t===we?uD(["string","number","boolean","object","bigint","symbol"],function(e){return t.has(e.charAt(0).toUpperCase()+e.slice(1))?Qa(524288,e):void 0}).concat(PD(t.values())):PD(t.values()),Ax(OA(e),n,r))})}function Dx(e,t){return t.exports&&Ax(LA(e),so(t),2623475)}function Ax(e,t,r){return VD(e,t,function(e){var t=RA(e);if(XD(t,'"'))return;if(e.flags&r)return t;if(2097152&e.flags){e=function(e){if(si(e).aliasTarget!==ot)return Ui(e)}(e);if(e&&e.flags&r)return t}return})}function Ex(e,t,r){var n=e&&106500&e.flags&&e.valueDeclaration;if(n){var a=uL(n,8),n=e.valueDeclaration&&BA(e.valueDeclaration)&&bR(e.valueDeclaration.name);if((a||n)&&(!t||!UL(t)||65536&e.flags)){if(r){t=FA(t,TE);if(t&&t.symbol===e)return}(1&BL(e)?si(e).target:e).isReferenced=67108863}}}function Fx(e,t){return 110===e.kind||!!t&&AL(e)&&t===sv(EL(e))}function Px(e,t,r){return Ox(e,211===e.kind&&108===e.expression.kind,!1,t,r)}function Ix(e,t,r,n){if(gs(n))return!0;r=u_(n,r);return!!r&&Ox(e,t,!1,n,r)}function Ox(e,t,r,n,a){if(gs(n))return!0;if(a.valueDeclaration&&yE(a.valueDeclaration)){var i=IP(a.valueDeclaration);return!aE(e)&&!!FA(e,function(e){return e===i})}return $h(e,t,r,n,a)}function Lx(e){var t,r=oO(e);if(80===r.kind){var n=sv(r);if(3&n.flags)for(var a=e,i=e.parent;i;){if(249===i.kind&&a===i.statement&&function(e){var t=e.initializer;if(261===t.kind){e=t.declarations[0];if(e&&!PE(e.name))return yo(e)}else if(80===t.kind)return sv(t)}(i)===n&&(1===v_(t=xT(i.expression)).length&&g_(t,Ct)))return 1;i=(a=i).parent}}}function Mx(e,t){return 64&e.flags?(n=t,a=TT((r=e).expression),i=_y(a,r.expression),uy(Rx(r,sx(i,r.expression),n),r,i!==a)):Rx(e,tx(e.expression),t);var r,n,a,i}function Rx(e,t,r){var n=0!==eO(e)||lx(e)?xy(t):t,a=e.argumentExpression,t=TT(a);if(hs(n)||n===Rt)return n;if(Gk(n)&&!oF(a))return Ua(a,mA.A_const_enum_member_can_only_be_accessed_using_a_string_literal),dt;n=uf(n,Lx(a)?Ct:t,tO(e)?4|($d(n)&&!HM(n)?2:0):32,e)||dt;return zT(hx(e,ci(e).resolvedSymbol,n,a,r),e)}function jx(e){return ME(e)||cj(e)||YE(e)}function Bx(e){return jx(e)&&KN(e.typeArguments,iC),215===e.kind?TT(e.template):YE(e)?TT(e.attributes):170!==e.kind&&KN(e.arguments,function(e){TT(e)}),Sn}function Jx(e){return Bx(e),wn}function zx(e){return!!e&&(230===e.kind||237===e.kind&&e.isSpread)}function Ux(e){return ZN(e,zx)}function Vx(e){return!!(16384&e.flags)}function qx(e){return!!(49155&e.flags)}function Wx(e,t,r,n){void 0===n&&(n=!1);var a=!1,i=nk(r),o=ak(r);if(215===e.kind){var s,c=t.length;a=228===e.template.kind?EF((s=ND(e.template.templateSpans)).literal)||!!s.literal.isUnterminated:(s=e.template,rA.assert(15===s.kind),!!s.isUnterminated)}else if(170===e.kind)c=cb(e,r);else if(YE(e)){if(a=e.attributes.end===e.end)return 1;c=0===o?t.length:1,i=0===t.length?i:1,o=Math.min(o,1)}else{if(!e.arguments)return rA.assert(214===e.kind),0===ak(r);c=n?t.length+1:t.length,a=e.arguments.end===e.end;t=Ux(t);if(0<=t)return t>=ak(r)&&(ik(r)||t<nk(r))}if(ik(r)||!(i<c)){if(a||o<=c)return 1;for(var u=c;u<o;u++)if(131072&Hv(ek(r,u),cI(e)&&!te?qx:Vx).flags)return;return 1}}function Hx(e,t){var r=HN(e.typeParameters),e=D_(e.typeParameters);return!dD(t)||t.length>=e&&t.length<=r}function Kx(e){return Xx(e,0,!1)}function Gx(e){return Xx(e,0,!1)||Xx(e,1,!1)}function Xx(e,t,r){if(524288&e.flags){e=Eu(e);if(r||0===e.properties.length&&0===e.indexInfos.length){if(0===t&&1===e.callSignatures.length&&0===e.constructSignatures.length)return e.callSignatures[0];if(1===t&&1===e.constructSignatures.length&&0===e.callSignatures.length)return e.constructSignatures[0]}}}function Qx(e,t,r,n){var a=Cy(e.typeParameters,e,0,n),n=ok(t),n=r&&(n&&262144&n.flags?r.nonFixingMapper:r.mapper);return Sy(n?ip(t,n):t,e,function(e,t){Qy(a.inferences,e,t)}),r||wy(t,e,function(e,t){Qy(a.inferences,e,t,128)}),U_(e,iv(a),cI(t.declaration))}function Yx(e){if(!e)return Lt;var t=TT(e);return iE(e.parent)?oy(t):aE(e.parent)?cy(t):t}function Zx(e,t,r,n,a){if(YE(e))return i=n,o=a,s=lh(s=t,c=e),i=aT(c.attributes,s,o,i),Qy(o.inferences,i,s),iv(o);var i,o,s,c,u;170!==e.kind&&(!(i=ih(e,(c=XN(t.typeParameters,Gu))?8:0))||Iy(s=j_(t))&&(o=_h(e),!c&&ih(e,8)!==i||(u=(c=Kx(u=pp(i,Py((void 0===(u=1)&&(u=0),(c=o)&&Ny(iD(c.inferences,Fy),c.signature,c.flags|u,c.compareTypes))))))&&c.typeParameters?K_(V_(c,c.typeParameters)):u,Qy(a.inferences,u,s,128)),u=Cy(t.typeParameters,t,a.flags),o=pp(i,o&&o.returnMapper),Qy(u.inferences,o,s),a.returnMapper=dD(u.inferences,yT)?Py((u=nD((s=u).inferences,yT)).length?Ny(iD(u,Fy),s.signature,s.flags,s.compareTypes):void 0):void 0));var _=sk(t),l=_?Math.min(nk(t)-1,r.length):r.length;_&&262144&_.flags&&((d=QN(a.inferences,function(e){return e.typeParameter===_}))&&(d.impliedArity=ZN(r,zx,l)<0?r.length-l:void 0));var d=L_(t);d&&Iy(d)&&(e=ib(e),Qy(a.inferences,Yx(e),d));for(var f=0;f<l;f++){var p,m=r[f];232===m.kind||Iy(p=ek(t,f))&&(m=aT(m,p,a,n),Qy(a.inferences,m,p))}return _&&Iy(_)&&(d=eb(r,l,r.length,_,a,n),Qy(a.inferences,d,_)),iv(a)}function $x(e){return 1048576&e.flags?Gv(e,$x):1&e.flags||Fm(Vu(e)||e)?e:Xm(e)?ad(dd(e),e.target.elementFlags,!1,e.target.labeledElementDeclarations):ad([e],[8])}function eb(e,t,r,n,a,i){var o=Ru(n);if(r-1<=t){var s=e[r-1];if(zx(s))return Im(c=237===s.kind?s.type:aT(s.expression,n,a,i))?$x(c):Yl(KS(33,c,gt,230===s.kind?s.expression:s),o)}for(var c,u,_,l=[],d=[],f=[],p=t;p<r;p++)zx(s=e[p])?Im(c=237===s.kind?s.type:TT(s.expression))?(l.push(c),d.push(8)):(l.push(KS(33,c,gt,230===s.kind?s.expression:s)),d.push(4)):(u=aT(s,_=Xm(n)?Yg(n,p-t,r-t)||yt:sf(n,Mf(p-t),256),a,i),_=o||Wk(_,406978556),l.push((_?If:Wm)(u)),d.push(1)),237===s.kind&&s.tupleNameSource&&f.push(s.tupleNameSource);return ad(l,d,o,HN(f)===HN(l)?f:void 0)}function tb(e,t,r,n){for(var a=cI(e.declaration),i=e.typeParameters,o=A_(iD(t,Uf),i,D_(i),a),s=0;s<t.length;s++){rA.assert(void 0!==i[s],"Should not call checkTypeArguments with too many type arguments");var c=Mu(i[s]);if(c){var u=r&&n?function(){return $L(void 0,mA.Type_0_does_not_satisfy_the_constraint_1)}:void 0,_=n||mA.Type_0_does_not_satisfy_the_constraint_1,l=l||Gf(i,o),d=o[s];if(!Ip(d,Qc(pp(c,l),d),r?t[s]:void 0,_,u))return}}return o}function rb(e){if(Dh(e.tagName))return 2;e=Zu(TT(e.tagName));return HN(l_(e,1))?0:HN(l_(e,0))?1:2}function nb(k,e,t,r,T,n,S){var a=lh(e,k),e=aT(k.attributes,a,void 0,r),e=4&r?yy(e):e;return function(){var t,e,r,n,a,i;if(Lh(k))return 1;var o=!Yj(k)&&!Qj(k)||Dh(k.tagName)||rB(k.tagName)?void 0:TT(k.tagName);if(!o)return 1;var s=l_(o,0);if(!HN(s))return 1;var c=uN(k);if(!c)return 1;o=Yi(c,111551,!0,!1,k);if(!o)return 1;var u=l_(sc(o),0);if(!HN(u))return 1;var _=!1,l=0;try{for(var d=__values(u),f=d.next();!f.done;f=d.next()){var p=l_(ek(f.value,0),0);if(HN(p))try{for(var m=(r=void 0,__values(p)),y=m.next();!y.done;y=m.next()){var v=y.value;if(_=!0,ik(v))return 1;v=nk(v);l<v&&(l=v)}}catch(e){r={error:e}}finally{try{y&&!y.done&&(n=m.return)&&n.call(m)}finally{if(r)throw r.error}}}}catch(e){t={error:e}}finally{try{f&&!f.done&&(e=d.return)&&e.call(d)}finally{if(t)throw t.error}}if(!_)return 1;var g=1/0;try{for(var h=__values(s),x=h.next();!x.done;x=h.next()){var b=ak(x.value);b<g&&(g=b)}}catch(e){a={error:e}}finally{try{x&&!x.done&&(i=h.return)&&i.call(h)}finally{if(a)throw a.error}}if(g<=l)return 1;T&&(o=tP(k.tagName,mA.Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3,eP(k.tagName),g,eP(c),l),(c=null==(c=kC(k.tagName))?void 0:c.valueDeclaration)&&SM(o,tP(c,mA._0_is_declared_here,eP(k.tagName))),S&&S.skipLogging&&(S.errors||(S.errors=[])).push(o),S.skipLogging||Sa.add(o));return}()&&Lp(e,a,t,T?k.tagName:void 0,k.attributes,void 0,n,S)}function ab(e,t,r,n,a,i,o){var s={errors:void 0,skipLogging:!0};if(YE(e))return nb(e,r,n,a,i,o,s)?void 0:(rA.assert(!i||!!s.errors,"jsx should have errors when reporting errors"),s.errors||WN);var c=L_(r);if(c&&c!==Lt&&!(sj(e)||oj(e)&&VP(e.expression))){var u=ib(e),_=Yx(u),l=i?u||e:void 0,u=mA.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1;if(!nm(_,c,n,l,u,o,s))return rA.assert(!i||!!s.errors,"this parameter should have errors when reporting errors"),s.errors||WN}for(var d=mA.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1,_=sk(r),f=_?Math.min(nk(r)-1,t.length):t.length,p=0;p<f;p++){var m=t[p];if(232!==m.kind){var y=ek(r,p),v=aT(m,y,void 0,a),v=4&a?yy(v):v;if(!Lp(v,y,n,i?m:void 0,m,d,o,s))return rA.assert(!i||!!s.errors,"parameter should have errors when reporting errors"),g(m,v,y),s.errors||WN}}if(_){c=eb(t,f,t.length,_,void 0,a),u=t.length-f,l=i?0==u?e:1==u?t[f]:MM(ob(e,c),t[f].pos,t[t.length-1].end):void 0;if(!nm(c,_,n,l,d,void 0,s))return rA.assert(!i||!!s.errors,"rest parameter should have errors when reporting errors"),g(l,c,_),s.errors||WN}function g(e,t,r){e&&i&&s.errors&&s.errors.length&&(GT(r)||(t=GT(t))&&em(t,r,n)&&SM(s.errors[0],tP(e,mA.Did_you_forget_to_use_await)))}}function ib(e){e=213===e.kind?e.expression:215===e.kind?e.tag:170!==e.kind||T?void 0:e.expression;if(e){e=RB(e);if(GL(e))return e.expression}}function ob(e,t,r,n){n=WB.createSyntheticExpression(t,r,n);return UB(n,e),jM(n,e),n}function sb(e){if(215===e.kind){var t=e.template,r=[ob(t,Yr=Yr||Ol("TemplateStringsArray",0,!0)||$t)];return 228===t.kind&&KN(t.templateSpans,function(e){r.push(e.expression)}),r}if(170===e.kind)return function(e){var t,r,n=e.expression,a=Tk(e);if(a){var i=[];try{for(var o=__values(a.parameters),s=o.next();!s.done;s=o.next()){var c=sc(s.value);i.push(ob(n,c))}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i}return rA.fail()}(e);if(YE(e))return 0<e.attributes.properties.length||Yj(e)&&0<e.parent.children.length?[e.attributes]:WN;var i=e.arguments||WN,e=Ux(i);if(0<=e){for(var o=i.slice(0,e),s=e;s<i.length;s++)!function(){var n=i[s],a=230===n.kind&&(Jn?TT:iT)(n.expression);a&&Xm(a)?KN(dd(a),function(e,t){var r=a.target.elementFlags[t],t=ob(n,4&r?Yl(e):e,!!(12&r),null==(r=a.target.labeledElementDeclarations)?void 0:r[t]);o.push(t)}):o.push(n)}();return o}return i}function cb(e,t){return ee.experimentalDecorators?function(e,t){switch(e.parent.kind){case 263:case 231:return 1;case 172:return yL(e.parent)?3:2;case 174:case 177:case 178:return 0===V||t.parameters.length<=2?2:3;case 169:return 3;default:return rA.fail()}}(e,t):2}function ub(e,t){var r,n,a=CF(e);return e=aj(e.expression)?(r=(n=uP(a,e.expression.name)).start,t?n.length:e.end-r):(r=(n=uP(a,e.expression)).start,t?n.length:e.end-r),{start:r,length:e,sourceFile:a}}function _b(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];if(oj(e)){var a=ub(e),i=a.sourceFile,o=a.start,a=a.length;return"message"in t?QL.apply(void 0,__spreadArray([i,o,a,t],__read(r),!1)):iP(i,t)}return"message"in t?tP.apply(void 0,__spreadArray([e,t],__read(r),!1)):nP(CF(e),e,t)}function lb(e,t,r,n){var a,i,o=Ux(r);if(-1<o)return tP(r[o],mA.A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter);var s,c=Number.POSITIVE_INFINITY,u=Number.NEGATIVE_INFINITY,_=Number.NEGATIVE_INFINITY,l=Number.POSITIVE_INFINITY;try{for(var d=__values(t),f=d.next();!f.done;f=d.next()){var p=f.value,m=ak(p),y=nk(p);m<c&&(c=m,s=p),u=Math.max(u,y),m<r.length&&_<m&&(_=m),r.length<y&&y<l&&(l=y)}}catch(e){a={error:e}}finally{try{f&&!f.done&&(i=d.return)&&i.call(d)}finally{if(a)throw a.error}}var v=dD(t,ik),g=!v&&c<u?c+"-"+u:c,o=!v&&1===g&&0===r.length&&function(e){if(!oj(e)||!xR(e.expression))return!1;var t=pi(e.expression,e.expression.escapedText,111551,void 0,void 0,!1);return!!((e=null==t?void 0:t.valueDeclaration)&&CR(e)&&VM(e.parent)&&sj(e.parent.parent)&&xR(e.parent.parent.expression))&&(!!(t=Ul(!1))&&kC(e.parent.parent.expression,!0)===t)}(e);if(o&&cI(e))return _b(e,mA.Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments);o=NR(e)?v?mA.The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_at_least_0:mA.The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_0:v?mA.Expected_at_least_0_arguments_but_got_1:o?mA.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise:mA.Expected_0_arguments_but_got_1;if(c<r.length&&r.length<u){if(n){var h=$L(void 0,mA.No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments,r.length,_,l);return _b(e,h=$L(h,n))}return _b(e,mA.No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments,r.length,_,l)}if(r.length<c){var x=void 0;x=n?(h=$L(void 0,o,g,r.length),_b(e,h=$L(h,n))):_b(e,o,g,r.length);var b=null==(b=null==s?void 0:s.declaration)?void 0:b.parameters[s.thisParameter?r.length+1:r.length];if(b){var k=PE(b.name)?[mA.An_argument_matching_this_binding_pattern_was_not_provided]:uF(b)?[mA.Arguments_for_the_rest_parameter_0_were_not_provided,LA(EL(b.name))]:[mA.An_argument_for_0_was_not_provided,b.name?LA(EL(b.name)):r.length];return SM(x,tP.apply(void 0,__spreadArray([b],__read(k),!1)))}return x}b=uR.createNodeArray(r.slice(u)),k=SD(b).pos,x=ND(b).end;if(x===k&&x++,MM(b,k,x),n){h=$L(void 0,o,g,r.length);return h=$L(h,n),aP(CF(e),b,h)}return rP(CF(e),b,o,g,r.length)}function db(u,e,t,r,n,a){var i,o,s,c,_,l=215===u.kind,d=170===u.kind,f=YE(u),p=!B&&!t;d||pP(u)||(_=u.typeArguments,(l||f||108!==u.expression.kind)&&KN(_,iC));var m=t||[];!function(e,t,r){var n,a,i,o,s,c,u=0,_=-1;rA.assert(!t.length);try{for(var l=__values(e),d=l.next();!d.done;d=l.next()){var f=d.value,p=f.declaration&&yo(f.declaration),m=f.declaration&&f.declaration.parent;o&&p!==o?(s=u=t.length,i=m):i&&m===i?s+=1:(i=m,s=u),o=p,kJ(f)?(c=++_,u++):c=s,t.splice(c,0,r?tu(f,r):f)}}catch(e){n={error:e}}finally{try{d&&!d.done&&(a=l.return)&&a.call(l)}finally{if(n)throw n.error}}}(e,m,n),rA.assert(m.length,"Revert #54442 and add a testcase with whatever triggered this");var y,v,g,h,x=sb(u),f=1===m.length&&!m[0].typeParameters,b=d||f||!dD(x,hp)?0:4,n=!!(16&r)&&213===u.kind&&u.arguments.hasTrailingComma;if(1<m.length&&(h=j(m,Na,f,n)),h=h||j(m,Aa,f,n))return h;if(d=u,f=m,n=x,t=!!t,r=r,rA.assert(0<f.length),cC(d),h=t||1===f.length||f.some(function(e){return!!e.typeParameters})?function(e,t,r,n){var a=function(e,t){for(var r=-1,n=-1,a=0;a<e.length;a++){var i=e[a],o=nk(i);if(ik(i)||t<=o)return a;n<o&&(n=o,r=a)}return r}(t,void 0===De?r.length:De),i=t[a],o=i.typeParameters;if(!o)return i;var s=jx(e)?e.typeArguments:void 0,n=s?q_(i,function(e,t,r){var n=e.map(TC);for(;n.length>t.length;)n.pop();for(;n.length<t.length;)n.push(Gu(t[n.length])||Mu(t[n.length])||av(r));return n}(s,o,cI(e))):function(e,t,r,n,a){t=Cy(t,r,cI(e)?2:0),t=Zx(e,r,n,12|a,t);return q_(r,t)}(e,o,i,r,n);return t[a]=n}(d,f,n,r):function(r){var e,t=uD(r,function(e){return e.thisParameter});t.length&&(e=pb(t,t.map(Xb)));for(var n=wM(r,fb),a=n.min,i=n.max,o=[],s=0;s<i;s++)!function(t){var e=uD(r,function(e){return bJ(e)?t<e.parameters.length-1?e.parameters[t]:ND(e.parameters):t<e.parameters.length?e.parameters[t]:void 0});rA.assert(0!==e.length),o.push(pb(e,uD(r,function(e){return tk(e,t)})))}(s);var c=uD(r,function(e){return bJ(e)?ND(e.parameters):void 0}),t=128;0!==c.length&&(n=Yl(hd(uD(r,z_),2)),o.push(mb(c,n)),t|=1);r.some(kJ)&&(t|=2);return Zc(r[0].declaration,void 0,e,o,Cd(r.map(j_)),void 0,a,t)}(f),ci(u).resolvedSignature=h,p)if(y)if(1===y.length||3<y.length){var k,T=y[y.length-1];3<y.length&&(k=$L(k,mA.The_last_overload_gave_the_following_error),k=$L(k,mA.No_overload_matches_this_call)),a&&(k=$L(k,a));var S=ab(u,x,T,Aa,0,!0,function(){return k});if(S)try{for(var w=__values(S),C=w.next();!C.done;C=w.next()){var N=C.value;T.declaration&&3<y.length&&SM(N,tP(T.declaration,mA.The_last_overload_is_declared_here)),R(T,N),Sa.add(N)}}catch(e){i={error:e}}finally{try{C&&!C.done&&(o=w.return)&&o.call(w)}finally{if(i)throw i.error}}else rA.fail("No error for last overload signature")}else{var D=[],A=0,E=Number.MAX_VALUE,F=0,P=0;try{for(var I=__values(y),O=I.next();!O.done;O=I.next())!function(e){var t=ab(u,x,e,Aa,0,!0,function(){return $L(void 0,mA.Overload_0_of_1_2_gave_the_following_error,P+1,m.length,Zo(e))});t?(t.length<=E&&(E=t.length,F=P),A=Math.max(A,t.length),D.push(t)):rA.fail("No error for 3 or fewer overload signatures"),P++}(O.value)}catch(e){s={error:e}}finally{try{O&&!O.done&&(c=I.return)&&c.call(I)}finally{if(s)throw s.error}}var L=1<A?D[F]:sD(D);rA.assert(0<L.length,"No errors reported for 3 or fewer overload signatures");r=$L(iD(L,oP),mA.No_overload_matches_this_call);a&&(r=$L(r,a));var f=__spreadArray([],__read(cD(L,function(e){return e.relatedInformation})),!1),M=void 0;M=XN(L,function(e){return e.start===L[0].start&&e.length===L[0].length&&e.file===L[0].file})?{file:(p=L[0]).file,start:p.start,length:p.length,code:r.code,category:r.category,messageText:r,relatedInformation:f}:nP(CF(u),u,r,f),R(y[0],M),Sa.add(M)}else v?Sa.add(lb(u,[v],x,a)):g?tb(g,u.typeArguments,!0,a):0===(M=nD(e,function(e){return Hx(e,_)})).length?Sa.add(function(e,t,r,n){var a,i,o=r.length;if(1===t.length){var s=D_((p=t[0]).typeParameters),c=HN(p.typeParameters);if(n){var u=$L(void 0,mA.Expected_0_type_arguments_but_got_1,s<c?s+"-"+c:s,o);return u=$L(u,n),aP(CF(e),r,u)}return rP(CF(e),r,mA.Expected_0_type_arguments_but_got_1,s<c?s+"-"+c:s,o)}var _=-1/0,l=1/0;try{for(var d=__values(t),f=d.next();!f.done;f=d.next()){var p,s=D_((p=f.value).typeParameters),c=HN(p.typeParameters);o<s?l=Math.min(l,s):c<o&&(_=Math.max(_,c))}}catch(e){a={error:e}}finally{try{f&&!f.done&&(i=d.return)&&i.call(d)}finally{if(a)throw a.error}}if(_!==-1/0&&l!==1/0){if(n){u=$L(void 0,mA.No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments,o,_,l);return u=$L(u,n),aP(CF(e),r,u)}return rP(CF(e),r,mA.No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments,o,_,l)}if(n){u=$L(void 0,mA.Expected_0_type_arguments_but_got_1,_===-1/0?l:_,o);return u=$L(u,n),aP(CF(e),r,u)}return rP(CF(e),r,mA.Expected_0_type_arguments_but_got_1,_===-1/0?l:_,o)}(u,e,_,a)):Sa.add(lb(u,M,x,a));return h;function R(e,t){var r,n=y,a=v,i=g,e=(null==(r=null==(o=e.declaration)?void 0:o.symbol)?void 0:r.declarations)||WN,o=1<e.length?QN(e,function(e){return TE(e)&&FF(e.body)}):void 0;o&&(e=!(r=E_(o)).typeParameters,j([r],Aa,e)&&SM(t,tP(o,mA.The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible))),y=n,v=a,g=i}function j(e,t,r,n){if(void 0===n&&(n=!1),g=v=y=void 0,r){var a=e[0];return dD(_)||!Wx(u,x,a,n)?void 0:ab(u,x,a,t,0,!1,void 0)?void(y=[a]):a}for(var i=0;i<e.length;i++)if(Hx(a=e[i],_)&&Wx(u,x,a,n)){var o=void 0,s=void 0;if(a.typeParameters){var c=void 0;if(dD(_)){if(!(c=tb(a,_,!1))){g=a;continue}}else s=Cy(a.typeParameters,a,cI(u)?2:0),c=Zx(u,a,x,8|b,s),b|=4&s.flags?8:0;if(o=U_(a,c,cI(a.declaration),s&&s.inferredTypeParameters),sk(a)&&!Wx(u,x,o,n)){v=o;continue}}else o=a;if(!ab(u,x,o,t,b,!1,void 0)){if(b){if(b=0,s){o=U_(a,c=Zx(u,a,x,b,s),cI(a.declaration),s.inferredTypeParameters);if(sk(a)&&!Wx(u,x,o,n)){v=o;continue}}if(ab(u,x,o,t,b,!1,void 0)){(y=y||[]).push(o);continue}}return e[i]=o}(y=y||[]).push(o)}}}function fb(e){var t=e.parameters.length;return bJ(e)?t-1:t}function pb(e,t){return mb(e,hd(t,2))}function mb(e,t){return my(SD(e),t)}function yb(e){return!(!e.typeParameters||!ZC(j_(e)))}function vb(e,t,r,n){return gs(e)||gs(t)&&262144&e.flags||!r&&!n&&!(1048576&t.flags)&&!(131072&n_(t).flags)&&Ap(e,hr)}function gb(e,t,r){e.arguments&&V<1&&(0<=(i=Ux(e.arguments))&&Ua(e.arguments[i],mA.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher));var n=tx(e.expression);if(n===Rt)return Nn;if(hs(n=Zu(n)))return Jx(e);if(gs(n))return e.typeArguments&&Ua(e,mA.Untyped_function_calls_may_not_accept_type_arguments),Bx(e);var a=l_(n,1);if(a.length){if(!function(e,t){if(!t||!t.declaration)return!0;var r=t.declaration,n=hL(r,24);if(!n||176!==r.kind)return!0;var a=qL(r.parent.symbol),t=Pc(r.parent.symbol);if(gC(e,a))return!0;a=IP(e);if(a&&16&n){a=TC(a);if(function e(t,r){var n,a;r=Tc(r);if(!HN(r))return!1;var i=r[0];if(2097152&i.flags){var r=i.types,o=cu(r),s=0;try{for(var c=__values(i.types),u=c.next();!u.done;u=c.next()){var _=u.value;if(!o[s]&&3&WL(_)){if(_.symbol===t)return!0;if(e(t,_))return!0}s++}}catch(e){n={error:e}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(n)throw n.error}}return!1}if(i.symbol===t)return!0;return e(t,i)}(r.parent.symbol,a))return!0}8&n&&Ua(e,mA.Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration,$o(t));16&n&&Ua(e,mA.Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration,$o(t));return!1}(e,a[0]))return Jx(e);if(function t(e,r){if(RD(e))return dD(e,function(e){return t(e,r)});return 1048576===e.compositeKind?dD(e.compositeSignatures,r):r(e)}(a,function(e){return!!(4&e.flags)}))return Ua(e,mA.Cannot_create_an_instance_of_an_abstract_class),Jx(e);var i=n.symbol&&qL(n.symbol);return i&&_L(i,256)?(Ua(e,mA.Cannot_create_an_instance_of_an_abstract_class),Jx(e)):db(e,a,t,r,0)}a=l_(n,0);if(a.length){r=db(e,a,t,r,0);return N||(r.declaration&&!Nb(r.declaration)&&j_(r)!==Lt&&Ua(e,mA.Only_a_void_function_can_be_called_with_the_new_keyword),L_(r)===Lt&&Ua(e,mA.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void)),r}return xb(e.expression,n,1),Jx(e)}function hb(e,t,r){var n,a,i,o=0===r,s=rS(t),c=s&&0<l_(s,r).length;if(1048576&t.flags){var u=t.types,_=!1;try{for(var l=__values(u),d=l.next();!d.done;d=l.next()){var f=d.value;if(0!==l_(f,r).length){if(_=!0,i)break}else if(i||(i=$L(i,o?mA.Type_0_has_no_call_signatures:mA.Type_0_has_no_construct_signatures,$o(f)),i=$L(i,o?mA.Not_all_constituents_of_type_0_are_callable:mA.Not_all_constituents_of_type_0_are_constructable,$o(t))),_)break}}catch(e){n={error:e}}finally{try{d&&!d.done&&(a=l.return)&&a.call(l)}finally{if(n)throw n.error}}_||(i=$L(void 0,o?mA.No_constituent_of_type_0_is_callable:mA.No_constituent_of_type_0_is_constructable,$o(t))),i=i||$L(i,o?mA.Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:mA.Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other,$o(t))}else i=$L(i,o?mA.Type_0_has_no_call_signatures:mA.Type_0_has_no_construct_signatures,$o(t));s=o?mA.This_expression_is_not_callable:mA.This_expression_is_not_constructable;return!oj(e.parent)||0!==e.parent.arguments.length||(e=ci(e).resolvedSymbol)&&32768&e.flags&&(s=mA.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without),{messageChain:$L(i,s),relatedMessage:c?mA.Did_you_forget_to_use_await:void 0}}function xb(e,t,r,n){var a=hb(e,t,r),i=a.messageChain,a=a.relatedMessage,i=nP(CF(e),e,i);a&&SM(i,tP(e,a)),oj(e.parent)&&(e=(a=ub(e.parent,!0)).start,a=a.length,i.start=e,i.length=a),Sa.add(i),bb(t,r,n?SM(i,n):i)}function bb(e,t,r){var n;e.symbol&&(!(n=si(e.symbol).originatingImport)||mP(n)||(t=l_(sc(si(e.symbol).target),t))&&t.length&&SM(r,tP(n,mA.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 kb(e,t,r){var n=TT(e.expression),a=Zu(n);if(hs(a))return Jx(e);var i,o=l_(a,0),s=l_(a,1).length;if(vb(n,a,o.length,s))return Bx(e);if(i=e,(s=o).length&&XN(s,function(e){return 0===e.minArgumentCount&&!bJ(e)&&e.parameters.length<cb(i,e)})&&!uj(e.expression)){var c=PF(e.expression,!1);return Ua(e,mA._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0,c),Jx(e)}c=function(e){switch(e.parent.kind){case 263:case 231:return mA.Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression;case 169:return mA.Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression;case 172:return mA.Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression;case 174:case 177:case 178:return mA.Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression;default:return rA.fail()}}(e);if(o.length)return db(e,o,t,r,0,c);r=hb(e.expression,a,0),c=$L(r.messageChain,c),c=nP(CF(e.expression),e.expression,c);return r.relatedMessage&&SM(c,tP(e.expression,r.relatedMessage)),Sa.add(c),bb(a,0,c),Jx(e)}function Tb(e,t){var r=Mh(e),n=r&&_o(r),r=n&&_i(n,dJ.Element,788968),n=r&&U.symbolToEntityName(r,788968,e),e=uR.createFunctionTypeNode(void 0,[uR.createParameterDeclaration(void 0,void 0,"props",void 0,U.typeToTypeNode(t,e))],n?uR.createTypeReferenceNode(n,void 0):uR.createKeywordTypeNode(133)),n=Qa(1,"props");return n.links.type=t,Zc(e,void 0,void 0,[n],r?Pc(r):dt,void 0,1,0)}function Sb(e,t,r){if(Dh(e.tagName)){var n=Jh(e),a=Tb(e,n);return Op(aT(e.attributes,lh(a,e),void 0,0),n,e.tagName,e.attributes),HN(e.typeArguments)&&(KN(e.typeArguments,iC),Sa.add(rP(CF(e),e.typeArguments,mA.Expected_0_type_arguments_but_got_1,0,HN(e.typeArguments)))),a}var i=TT(e.tagName),n=Zu(i);if(hs(n))return Jx(e);a=function t(e,r){if(4&e.flags)return[Sn];if(128&e.flags){var n=Bh(e,r);return n?[Tb(r,n)]:(Ua(r,mA.Property_0_does_not_exist_on_type_1,e.value,"JSX."+dJ.IntrinsicElements),WN)}n=Zu(e),e=l_(n,1);return 0===e.length&&(e=l_(n,0)),0===e.length&&1048576&n.flags&&(e=au(iD(n.types,function(e){return t(e,r)}))),e}(i,e);return vb(i,n,a.length,0)?Bx(e):0===a.length?(Ua(e.tagName,mA.JSX_element_type_0_does_not_have_any_construct_or_call_signatures,PF(e.tagName)),Jx(e)):db(e,a,t,r,0)}function wb(e,t,r){switch(e.kind){case 213:return function(e,t,r){var n,a;if(108===e.expression.kind){var i=Ig(e.expression);if(gs(i)){try{for(var o=__values(e.arguments),s=o.next();!s.done;s=o.next())TT(s.value)}catch(e){n={error:e}}finally{try{s&&!s.done&&(a=o.return)&&a.call(o)}finally{if(n)throw n.error}}return Sn}if(!hs(i)){var c=yO(IP(e));if(c)return db(e,xc(i,c.typeArguments,c),t,r,0)}return Bx(e)}var u,_=TT(e.expression);if(nE(e)?(u=(l=_y(_,e.expression))===_?0:sE(e)?16:8,_=l):u=0,(_=ox(_,e.expression,ix))===Rt)return Nn;if(hs(i=Zu(_)))return Jx(e);var c=l_(i,0),l=l_(i,1).length;return vb(_,i,c.length,l)?(!hs(_)&&e.typeArguments&&Ua(e,mA.Untyped_function_calls_may_not_accept_type_arguments),Bx(e)):c.length?8&r&&!e.typeArguments&&c.some(yb)?(mT(e,r),Cn):c.some(function(e){return cI(e.declaration)&&!!WA(e.declaration)})?(Ua(e,mA.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,$o(_)),Jx(e)):db(e,c,t,r,u):(l?Ua(e,mA.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,$o(_)):(l=void 0,1!==e.arguments.length||hA((_=CF(e).text).charCodeAt(xA(_,e.expression.end,!0)-1))&&(l=tP(e.expression,mA.Are_you_missing_a_semicolon)),xb(e.expression,i,0,l)),Jx(e))}(e,t,r);case 214:return gb(e,t,r);case 215:return function(e,t,r){var n=TT(e.tag),a=Zu(n);if(hs(a))return Jx(e);var i=l_(a,0),o=l_(a,1).length;if(vb(n,a,i.length,o))return Bx(e);if(i.length)return db(e,i,t,r,0);if(rj(e.parent)){r=tP(e.tag,mA.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 Sa.add(r),Jx(e)}return xb(e.tag,a,0),Jx(e)}(e,t,r);case 170:return kb(e,t,r);case 286:case 285:return Sb(e,t,r)}rA.assertNever(e,"Branch in 'resolveSignature' should be unreachable.")}function Cb(e,t,r){var n=ci(e),a=n.resolvedSignature;if(a&&a!==Cn&&!t)return a;n.resolvedSignature=Cn;r=wb(e,t,r||0);return r!==Cn&&(n.resolvedSignature!==Cn&&(r=n.resolvedSignature),n.resolvedSignature=Bn===Jn?r:a),r}function Nb(e){if(!e||!cI(e))return!1;var t=Fj(e)||_j(e)?e:(Aj(e)||iB(e))&&e.initializer&&_j(e.initializer)?e.initializer:void 0;if(t){if(WA(e))return!0;if(iB(aO(t.parent)))return!1;var t=yo(t);return!(null==(t=null==t?void 0:t.members)||!t.size)}return!1}function Db(e,t){if(t){var r=si(t);if(r.inferredClassSymbol&&r.inferredClassSymbol.has(yJ(e)))return r.inferredClassSymbol.get(yJ(e));var n=gF(e)?e:ti(e);return n.exports=n.exports||vF(),n.members=n.members||vF(),n.flags|=32&t.flags,null!=(e=t.exports)&&e.size&&ii(n.exports,t.exports),null!=(e=t.members)&&e.size&&ii(n.members,t.members),(r.inferredClassSymbol||(r.inferredClassSymbol=new Map)).set(yJ(n),n),n}}function Ab(e,t){if(e.parent){var r,n;if(Aj(e.parent)&&e.parent.initializer===e){if(!(cI(e)||qN(e.parent)&&TE(e)))return;r=e.parent.name,n=e.parent}else if(mj(e.parent)){var a=e.parent,i=e.parent.operatorToken.kind;if(64!==i||!t&&a.right!==e){if(!(57!==i&&61!==i||(Aj(a.parent)&&a.parent.initializer===a?(r=a.parent.name,n=a.parent):mj(a.parent)&&64===a.parent.operatorToken.kind&&(t||a.parent.right===a)&&(n=r=a.parent.left),r&&EI(r)&&TI(r,a.left))))return}else n=r=a.left}else t&&Fj(e)&&(r=e.name,n=e);if(n&&r&&(t||xI(e,OL(r))))return vo(n)}}function Eb(e,t){var r,n;128&e.flags||e.declaration&&536870912&e.declaration.flags&&(r=Fb(t),n=IL(GP(t)),t=r,r=e.declaration,n=n,e=Zo(e),Ha(r,n?tP(t,mA.The_signature_0_of_1_is_deprecated,e,n):tP(t,mA._0_is_deprecated,e)))}function Fb(e){switch((e=oO(e)).kind){case 213:case 170:case 214:return Fb(e.expression);case 215:return Fb(e.tag);case 286:case 285:return Fb(e.tagName);case 212:return e.argumentExpression;case 211:return e.name;case 183:return TR(e.typeName)?e.typeName.right:e;default:return e}}function Pb(e){if(oj(e)){var t=e.expression;if(aj(t)&&"for"===t.name.escapedText&&(t=t.expression),xR(t)&&"Symbol"===t.escapedText){e=jl(!1);return e?e===pi(t,"Symbol",111551,void 0,void 0,!1):void 0}}}function Ib(e){if(!function(e){if(ee.verbatimModuleSyntax&&1===x)return RN(e,mA.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled);if(5===x)return RN(e,mA.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 RN(e,mA.This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments);var t=e.arguments;if(99!==x&&199!==x&&100!==x)if(mN(t),1<t.length)return RN(t[1],mA.Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_or_nodenext);return 0===t.length||2<t.length?RN(e,mA.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments):(t=QN(t,yj))?RN(t,mA.Argument_of_dynamic_import_cannot_be_spread_element):void 0}(e),0===e.arguments.length)return Ck(e,ut);for(var t=e.arguments[0],r=iT(t),n=1<e.arguments.length?iT(e.arguments[1]):void 0,a=2;a<e.arguments.length;++a)iT(e.arguments[a]);(32768&r.flags||65536&r.flags||!Ap(r,wt))&&Ua(t,mA.Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0,$o(r)),!n||(i=Rl(!0))!==$t&&Ip(n,ay(i,32768),e.arguments[1]);n=$i(e,t);if(n){var i=ao(n,t,!0,!1);if(i)return Ck(e,Lb(sc(i),i,n,t)||Mb(sc(i),i,n,t))}return Ck(e,ut)}function Ob(e,t,r){var n=vF(),a=Qa(2097152,"default");return a.parent=t,a.links.nameType=Lf("default"),a.links.aliasTarget=zi(e),n.set("default",a),Mo(r,n,WN,WN,WN)}function Lb(e,t,r,n){if(Ei(n)&&e&&!hs(e)){e=e;return e.defaultOnlyType||(r=Ob(t,r),e.defaultOnlyType=r),e.defaultOnlyType}}function Mb(e,t,r,n){var a;if(m&&e&&!hs(e)){var i=e;return i.syntheticType||(Fi(null==(a=r.declarations)?void 0:a.find(uB),r,!1,n)?(r=Ob(t,r,t=Qa(2048,"__type")),t.links.type=r,i.syntheticType=Ch(e)?Df(e,r,t,0,!1):r):i.syntheticType=e),i.syntheticType}return e}function Rb(e){if(dI(e,!0)){if(!xR(e.expression))return rA.fail();var t=pi(e.expression,e.expression.escapedText,111551,void 0,void 0,!0);if(t===Pe)return 1;if(!(2097152&t.flags)){e=16&t.flags?262:3&t.flags?260:0;if(0!=e){e=mF(t,e);return e&&33554432&e.flags}}}}function jb(e){!function(e){if(e.questionDotToken||64&e.flags)return RN(e.template,mA.Tagged_template_expressions_are_not_permitted_in_an_optional_chain);return!1}(e)&&hN(e,e.typeArguments),V<2&&dN(e,262144);var t=Cb(e);return Eb(t,e),j_(t)}function Bb(e){switch(e.kind){case 11:case 15:case 9:case 10:case 112:case 97:case 209:case 210:case 228:return!0;case 217:return Bb(e.expression);case 224:var t=e.operator,r=e.operand;return 41===t&&(9===r.kind||10===r.kind)||40===t&&9===r.kind;case 211:case 212:r=oO(e.expression),r=AL(r)?Yi(r,111551,!0):void 0;return!!(r&&384&r.flags)}return!1}function Jb(e,t){var r=zb(e),n=r.type,r=r.expression,t=TT(r,t);return uE(n)?(Bb(r)||Ua(r,mA.A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals),If(t)):(ci(e).assertionExpressionType=t,iC(n),cC(e),Uf(n))}function zb(e){var t,r;switch(e.kind){case 234:case 216:t=e.type,r=e.expression;break;case 217:t=MB(e),r=e.expression}return{type:t,expression:r}}function Ub(e){return 64&e.flags?(r=TT((t=e).expression),uy(oy(n=_y(r,t.expression)),t,n!==r)):oy(TT(e.expression));var t,r,n}function Vb(e){var t;return bN(e),KN(e.typeArguments,iC),233!==e.kind||226===(t=aO(e.parent)).kind&&104===t.operatorToken.kind&&cO(e,t.right)&&Ua(e,mA.The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression),qb(233===e.kind?TT(e.expression):($O(e.exprName)?Eg:TT)(e.exprName),e)}function qb(e,u){var r=u.typeArguments;if(e===Rt||hs(e)||!dD(r))return e;var n,a=!1,t=function i(e){var o=!1;var s=!1;var t=c(e);a=a||s;o&&!s&&(null!=n||(n=e));return t;function c(e){if(524288&e.flags){var t=Eu(e),r=_(t.callSignatures),n=_(t.constructSignatures);if(o=o||(0!==t.callSignatures.length||0!==t.constructSignatures.length),s=s||(0!==r.length||0!==n.length),r!==t.callSignatures||n!==t.constructSignatures){var a=Mo(void 0,t.members,r,n,t.indexInfos);return a.objectFlags|=8388608,a.node=u,a}}else if(58982400&e.flags){var t=Vu(e);if(t){var a=c(t);if(a!==t)return a}}else{if(1048576&e.flags)return Gv(e,i);if(2097152&e.flags)return Cd(oD(e.types,c))}return e}}(e),e=a?n:e;return e&&Sa.add(rP(CF(u),r,mA.Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable,$o(e))),t;function _(e){return oD(nD(e,function(e){return e.typeParameters&&Hx(e,r)}),function(e){var t=tb(e,r,!0);return t?U_(e,t,cI(e.declaration)):e})}}function Wb(e,t,r){var n=TT(e,r),r=Uf(t);return hs(r)?r:(Op(n,r,FA(t.parent,function(e){return 238===e.kind||357===e.kind}),e,mA.Type_0_does_not_satisfy_the_expected_type_1),n)}function Hb(e){return function(e){var t=e.name.escapedText;switch(e.keywordToken){case 105:if("target"!==t)return RN(e.name,mA._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2,OA(e.name.escapedText),vA(e.keywordToken),"target");break;case 102:if("meta"!==t)RN(e.name,mA._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2,OA(e.name.escapedText),vA(e.keywordToken),"meta")}}(e),105===e.keywordToken?Gb(e):102===e.keywordToken?function(e){100===x||199===x?99!==CF(e).impliedNodeFormat&&Ua(e,mA.The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output):x<6&&4!==x&&Ua(e,mA.The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node16_or_nodenext);var t=CF(e);return rA.assert(!!(8388608&t.flags),"Containing file is missing import meta node flag."),"meta"===e.name.escapedText?Ll():dt}(e):rA.assertNever(e.keywordToken)}function Kb(e){switch(e.keywordToken){case 102:return Ml();case 105:var t=Gb(e);return hs(t)?dt:function(e){var t=Qa(0,"NewTargetExpression"),r=Qa(4,"target",8);r.parent=t,r.links.type=e;r=vF([r]);return t.members=r,Mo(t,r,WN,WN,WN)}(t);default:rA.assertNever(e.keywordToken)}}function Gb(e){var t=JP(e);return t?176!==t.kind?sc(yo(t)):sc(yo(t.parent)):(Ua(e,mA.Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor,"new.target"),dt)}function Xb(e){var t=sc(e);if(te){e=e.valueDeclaration;if(e&&nF(e))return iy(t)}return t}function Qb(e,t,r){return void 0===r&&(r="arg"),e?(rA.assert(xR(e.name)),e.name.escapedText):"".concat(r,"_").concat(t)}function Yb(e,t,r){var n=e.parameters.length-(bJ(e)?1:0);if(t<n)return e.parameters[t].escapedName;e=e.parameters[n]||it,r=r||sc(e);if(Xm(r)){r=r.target.labeledElementDeclarations,n=t-n;return Qb(null==r?void 0:r[n],n,e.escapedName)}return e.escapedName}function Zb(e){return e.valueDeclaration&&CR(e.valueDeclaration)&&xR(e.valueDeclaration.name)&&e.valueDeclaration.name}function $b(e){return 202===e.kind||CR(e)&&e.name&&xR(e.name)}function ek(e,t){return tk(e,t)||ut}function tk(e,t){var r=e.parameters.length-(bJ(e)?1:0);if(t<r)return Xb(e.parameters[t]);if(bJ(e)){e=sc(e.parameters[r]),r=t-r;if(!Xm(e)||e.target.hasRestElement||r<e.target.fixedLength)return sf(e,Mf(r))}}function rk(e,t){var r=nk(e),n=ak(e),a=ok(e);if(a&&r-1<=t)return t===r-1?a:Yl(sf(a,Ct));for(var i=[],o=[],s=[],c=t;c<r;c++){!a||c<r-1?(i.push(ek(e,c)),o.push(c<n?1:2)):(i.push(a),o.push(8));var u=function(e,t){var r=e.parameters.length-(bJ(e)?1:0);if(t<r){var n=e.parameters[t].valueDeclaration;return n&&$b(n)?n:void 0}if(n=e.parameters[r]||it,Xm(e=sc(n))){e=e.target.labeledElementDeclarations;return e&&e[t-r]}return n.valueDeclaration&&$b(n.valueDeclaration)?n.valueDeclaration:void 0}(e,c);u&&s.push(u)}return ad(i,o,!1,HN(s)===HN(i)?s:void 0)}function nk(e){var t=e.parameters.length;if(bJ(e)){e=sc(e.parameters[t-1]);if(Xm(e))return t+e.target.fixedLength-(e.target.hasRestElement?0:1)}return t}function ak(e,t){var r=1&t,n=2&t;if(n||void 0===e.resolvedMinArgumentCount){var a,i=void 0;if(bJ(e)&&(!Xm(a=sc(e.parameters[e.parameters.length-1]))||0<(t=(t=ZN(a.target.elementFlags,function(e){return!(1&e)}))<0?a.target.fixedLength:t)&&(i=e.parameters.length-1+t)),void 0===i){if(!r&&32&e.flags)return 0;i=e.minArgumentCount}if(n)return i;for(var o=i-1;0<=o;o--){if(131072&Hv(ek(e,o),Vx).flags)break;i=o}e.resolvedMinArgumentCount=i}return e.resolvedMinArgumentCount}function ik(e){if(bJ(e)){e=sc(e.parameters[e.parameters.length-1]);return!Xm(e)||e.target.hasRestElement}return!1}function ok(e){if(bJ(e)){e=sc(e.parameters[e.parameters.length-1]);if(!Xm(e))return e;if(e.target.hasRestElement)return cd(e,e.target.fixedLength)}}function sk(e){e=ok(e);return!e||Dm(e)||gs(e)?void 0:e}function ck(e){return uk(e,Mt)}function uk(e,t){return 0<e.parameters.length?ek(e,0):t}function _k(e,t,r){for(var n=e.parameters.length-(bJ(e)?1:0),a=0;a<n;a++){var i=e.parameters[a].valueDeclaration;!i.type||(i=nL(i))&&Qy(r.inferences,Uf(i),ek(t,a))}}function lk(e,t){var r,n=si(e);n.type?t&&rA.assertEqual(n.type,t,"Parameter symbol already has a cached type which differs from newly assigned type"):(r=e.valueDeclaration,n.type=t||(r?qs(r,!0):sc(e)),r&&80!==r.name.kind&&(n.type===yt&&(n.type=Vs(r.name)),function e(t,r){var n,a;try{for(var i=__values(t.elements),o=i.next();!o.done;o=i.next()){var s,c=o.value;gj(c)||(s=Ds(c,r),80===c.name.kind?si(yo(c)).type=s:e(c.name,s))}}catch(e){n={error:e}}finally{try{o&&!o.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}}(r.name,n.type)))}function dk(e){return sl((t=!0,null!==(t=null!=_n?_n:_n=Ol("ClassDecoratorContext",1,t))&&void 0!==t?t:ar),[e]);var t}function fk(e,t){return sl((r=!0,null!==(r=null!=ln?ln:ln=Ol("ClassMethodDecoratorContext",2,r))&&void 0!==r?r:ar),[e,t]);var r}function pk(e,t){return sl((r=!0,null!==(r=null!=dn?dn:dn=Ol("ClassGetterDecoratorContext",2,r))&&void 0!==r?r:ar),[e,t]);var r}function mk(e,t){return sl((r=!0,null!==(r=null!=fn?fn:fn=Ol("ClassSetterDecoratorContext",2,r))&&void 0!==r?r:ar),[e,t]);var r}function yk(e,t){return sl((r=!0,null!==(r=null!=pn?pn:pn=Ol("ClassAccessorDecoratorContext",2,r))&&void 0!==r?r:ar),[e,t]);var r}function vk(e,t){return sl((r=!0,null!==(r=null!=vn?vn:vn=Ol("ClassFieldDecoratorContext",2,r))&&void 0!==r?r:ar),[e,t]);var r}function gk(e,t,r){var n=dL(e),a=bR(e.name),i=a?Lf(LA(e.name)):Od(e.name);return Cd([FR(e)?fk(t,r):OR(e)?pk(t,r):LR(e)?mk(t,r):AE(e)?yk(t,r):AR(e)?vk(t,r):rA.failBadSyntaxKind(e),(t=i,r=n,i="".concat((e=a)?"p":"P").concat(r?"s":"S").concat(t.id),(n=et.get(i))||((a=vF()).set("name",Za("name",t)),a.set("private",Za("private",e?Et:Dt)),a.set("static",Za("static",r?Et:Dt)),n=Mo(void 0,a,WN,WN,WN),et.set(i,n)),n)])}function hk(e,t){return sl((r=!0,null!==(r=null!=mn?mn:mn=Ol("ClassAccessorDecoratorTarget",2,r))&&void 0!==r?r:ar),[e,t]);var r}function xk(e,t){return sl((r=!0,null!==(r=null!=yn?yn:yn=Ol("ClassAccessorDecoratorResult",2,r))&&void 0!==r?r:ar),[e,t]);var r}function bk(e,t,r){return aS(void 0,void 0,[Ya("target",e),Ya("context",t)],hd([r,Lt]))}function kk(e){var t=e.parent,r=ci(t);if(!r.decoratorSignature)switch(r.decoratorSignature=Sn,t.kind){case 263:case 231:var n,a=dk(s=sc(yo(n=t)));r.decoratorSignature=bk(s,a,s);break;case 174:case 177:case 178:if(!NE((n=t).parent))break;var i=FR(n)?K_(E_(n)):TC(n),o=(dL(n)?sc:wc)(yo(n.parent)),s=OR(n)?oS(i):LR(n)?sS(i):i,a=gk(n,o,i),c=OR(n)?oS(i):LR(n)?sS(i):i;r.decoratorSignature=bk(s,a,c);break;case 172:if(!NE((n=t).parent))break;var i=TC(n),o=(dL(n)?sc:wc)(yo(n.parent)),s=yL(n)?hk(o,i):gt,a=gk(n,o,i),c=yL(n)?xk(o,i):(i=i,iS(void 0,Ya("this",o),[Ya("value",i)],i,void 0,1));r.decoratorSignature=bk(s,a,c)}return r.decoratorSignature===Sn?void 0:r.decoratorSignature}function Tk(e){return(T?function(e){var t=e.parent,r=ci(t);if(!r.decoratorSignature)switch(r.decoratorSignature=Sn,t.kind){case 263:case 231:var n=Ya("target",i=sc(yo(c=t)));r.decoratorSignature=aS(void 0,void 0,[n],hd([i,Lt]));break;case 169:if(!IR((c=t).parent)&&!(FR(c.parent)||LR(c.parent)&&NE(c.parent.parent)))break;if(YO(c.parent)===c)break;var a=YO(c.parent)?c.parent.parameters.indexOf(c)-1:c.parent.parameters.indexOf(c);rA.assert(0<=a);var i=IR(c.parent)?sc(yo(c.parent.parent)):CC(c.parent),o=IR(c.parent)?gt:NC(c.parent),s=Mf(a),n=Ya("target",i),a=Ya("propertyKey",o),s=Ya("parameterIndex",s);r.decoratorSignature=aS(void 0,void 0,[n,a,s],Lt);break;case 174:case 177:case 178:case 172:if(!NE((c=t).parent))break;var c,n=Ya("target",i=CC(c)),a=Ya("propertyKey",o=NC(c)),o=AR(c)?Lt:Xl(TC(c));0!==V&&(!AR(t)||yL(t))?(c=Ya("descriptor",Xl(TC(c))),r.decoratorSignature=aS(void 0,void 0,[n,a,c],hd([o,Lt]))):r.decoratorSignature=aS(void 0,void 0,[n,a],hd([o,Lt]))}return r.decoratorSignature===Sn?void 0:r.decoratorSignature}:kk)(e)}function Sk(e){var t=Jl(!0);return t!==ar?cl(t,[e=nS($T(e))||yt]):yt}function wk(e){var t=zl(!0);return t!==ar?cl(t,[e=nS($T(e))||yt]):yt}function Ck(e,t){t=Sk(t);return t===yt?(Ua(e,mP(e)?mA.A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:mA.An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option),dt):(Ul(!0)||Ua(e,mP(e)?mA.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:mA.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),t)}function Nk(e,t){if(!e.body)return dt;var r,n,a,i,o,s=kO(e),c=0!=(2&s),u=0!=(1&s),_=Lt;if(241!==e.body.kind)r=iT(e.body,t&&-9&t),c&&(r=$T(QT(r,!1,e,mA.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)));else if(u){var l=Ik(e,t);l?0<l.length&&(r=hd(l,2)):_=Mt;var l=(n=t,a=[],i=[],o=0!=(2&kO(d=e)),hP(d.body,function(e){var t=e.expression?TT(e.expression,n):ht;hD(a,Ak(e,t,ut,o)),(e=e.asteriskToken?(t=$S(t,o?19:17,e.expression))&&t.nextType:ih(e,void 0))&&hD(i,e)}),{yieldTypes:a,nextTypes:i}),d=l.yieldTypes,l=l.nextTypes,d=dD(d)?hd(d,2):void 0,l=dD(l)?Cd(l):void 0}else{var f=Ik(e,t);if(!f)return 2&s?Ck(e,Mt):Mt;if(0===f.length){var p=Ug(e,void 0),p=p&&32768&(gw(p,s)||Lt).flags?gt:Lt;return 2&s?Ck(e,p):p}r=hd(f,2)}return(r||d||l)&&(d&&Ty(e,d,3),r&&Ty(e,r,1),l&&Ty(e,l,2),(r&&Jm(r)||d&&Jm(d)||l&&Jm(l))&&(p=(s=mh(e))?s===E_(e)?u?void 0:r:nh(j_(s),e,void 0):void 0,u?(d=Gm(d,p,0,c),r=Gm(r,p,1,c),l=Gm(l,p,2,c)):(f=p,s=c,(p=r)&&Jm(p)&&(p=Km(p,f?s?XT(f):f:void 0)),r=p)),d=d&&xy(d),r=r&&xy(r),l=l&&xy(l)),u?Dk(d||Mt,r||_,l||zg(2,e)||yt,c):c?Sk(r||_):r||_}function Dk(e,t,r,n){var a=n?On:Ln,i=a.getGlobalGeneratorType(!1);if(e=a.resolveIterationType(e,void 0)||yt,t=a.resolveIterationType(t,void 0)||yt,r=a.resolveIterationType(r,void 0)||yt,i!==ar)return Gl(i,[e,t,r]);var o=a.getGlobalIterableIteratorType(!1),n=o!==ar?nw(o,a):void 0,i=n?n.returnType:ut,n=n?n.nextType:gt;return Ap(t,i)&&Ap(n,r)?o!==ar?Gl(o,[e]):(a.getGlobalIterableIteratorType(!0),$t):(a.getGlobalGeneratorType(!0),$t)}function Ak(e,t,r,n){var a=e.expression||e,t=e.asteriskToken?KS(n?19:17,t,r,a):t;return n?rS(t,a,e.asteriskToken?mA.Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:mA.Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):t}function Ek(e,t,r){for(var n=0,a=0;a<r.length;a++){var i=a<e||t<=a?r[a]:void 0;n|=void 0!==i?cJ.get(i)||32768:0}return n}function Fk(e){var t=ci(e);return void 0===t.isExhaustive?(t.isExhaustive=0,e=function(e){if(221===e.expression.kind){var t=zv(e);if(!t)return!1;var r=qu(iT(e.expression.expression)),n=Ek(0,0,t);return 3&r.flags?556800==(556800&n):!qv(r,function(e){return(wv(e)&n)===n})}r=iT(e.expression);if(!Um(r))return!1;e=Jv(e);return!(!e.length||dD(e,Bm))&&function(e,t){return 1048576&e.flags?!KN(e.types,function(e){return!eD(t,e)}):eD(t,e)}(Gv(r,If),e)}(e),0===t.isExhaustive&&(t.isExhaustive=e)):0===t.isExhaustive&&(t.isExhaustive=!1),t.isExhaustive}function Pk(e){return e.endFlowNode&&lg(e.endFlowNode)}function Ik(t,r){var n=kO(t),a=[],i=Pk(t),o=!1;if(gP(t.body,function(e){e=e.expression;e?213!==e.kind||80!==e.expression.kind||iT(e.expression).symbol!==t.symbol?(e=iT(e,r&&-9&r),2&n&&(e=$T(QT(e,!1,t,mA.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member))),131072&e.flags&&(o=!0),hD(a,e)):o=!0:i=!0}),0!==a.length||i||!o&&!function(e){switch(e.kind){case 218:case 219:return!0;case 174:return 210===e.parent.kind;default:return!1}}(t))return!(te&&a.length&&i)||Nb(t)&&a.some(function(e){return e.symbol===t.symbol})||hD(a,gt),a}function Ok(n,a){D(function(){var e=kO(n),t=a&&gw(a,e);if(t&&(Wk(t,16384)||32769&t.flags))return;if(173===n.kind||EF(n.body)||241!==n.body.kind||!Pk(n))return;var r=1024&n.flags,e=aL(n)||n;if(t&&131072&t.flags)Ua(e,mA.A_function_returning_never_cannot_have_a_reachable_end_point);else if(t&&!r)Ua(e,mA.A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value);else if(t&&te&&!Ap(gt,t))Ua(e,mA.Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined);else if(ee.noImplicitReturns){if(!t){if(!r)return;r=j_(E_(n));if(hw(n,r))return}Ua(e,mA.Not_all_code_paths_return_a_value)}})}function Lk(e,t){if(rA.assert(174!==e.kind||AP(e)),cC(e),_j(e)&&IS(e,e.name),t&&4&t&&hp(e)){if(!aL(e)&&!JM(e)){var r=yh(e);if(r&&Iy(j_(r))){var n=ci(e);if(n.contextFreeType)return n.contextFreeType;var a=Nk(e,t),i=Zc(void 0,void 0,void 0,WN,a,void 0,0,64),o=Mo(e.symbol,M,[i],WN,WN);return o.objectFlags|=262144,n.contextFreeType=o}}return ir}var s;return gN(e)||218!==e.kind||TN(e),r=t,64&(i=ci(a=e)).flags||(n=yh(a),64&i.flags||(i.flags|=64,(o=kD(l_(sc(yo(a)),0)))&&(hp(a)?n?(s=_h(a),t=void 0,r&&2&r&&(_k(o,n,s),(i=ok(n))&&262144&i.flags&&(t=ip(n,s.nonFixingMapper))),t=t||(s?ip(n,s.mapper):n),function(e,t){if(t.typeParameters){if(e.typeParameters)return;e.typeParameters=t.typeParameters}t.thisParameter&&((r=e.thisParameter)&&(!r.valueDeclaration||r.valueDeclaration.type)||(r||(e.thisParameter=my(t.thisParameter,void 0)),lk(e.thisParameter,sc(t.thisParameter))));for(var r,n=e.parameters.length-(bJ(e)?1:0),a=0;a<n;a++)nL((r=e.parameters[a]).valueDeclaration)||lk(r,tk(t,a));bJ(e)&&((r=ND(e.parameters)).valueDeclaration?!nL(r.valueDeclaration):65536&BL(r))&&lk(r,rk(t,n))}(o,t)):function(e){var t,r;e.thisParameter&&lk(e.thisParameter);try{for(var n=__values(e.parameters),a=n.next();!a.done;a=n.next())lk(a.value)}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}(o):n&&!a.typeParameters&&n.parameters.length>a.parameters.length&&(s=_h(a),r&&2&r&&_k(o,n,s)),!n||B_(a)||o.resolvedReturnType||(r=Nk(a,r),o.resolvedReturnType||(o.resolvedReturnType=r)),NT(a)))),sc(yo(e))}function Mk(e,t,r,n){if(void 0===n&&(n=!1),Ap(t,qt))return!0;t=n&&GT(t);return Wa(e,!!t&&Ap(t,qt),r),!1}function Rk(e){if(!oj(e))return!1;if(!DI(e))return!1;var t=iT(e.arguments[2]);if(vs(t,"value")){var r=u_(t,"writable"),e=r&&sc(r);if(!e||e===Dt||e===At)return!0;if(r&&r.valueDeclaration&&iB(r.valueDeclaration)){r=TT(r.valueDeclaration.initializer);if(r===Dt||r===At)return!0}return!1}return!u_(t,"set")}function jk(e){return!!(8&BL(e)||4&e.flags&&64&JL(e)||3&e.flags&&6&Qh(e)||98304&e.flags&&!(65536&e.flags)||8&e.flags||dD(e.declarations,Rk))}function Bk(e,t,r){if(0!==r){if(jk(t)){if(4&t.flags&&GL(e)&&110===e.expression.kind){var n=PP(e);if(!n||176!==n.kind&&!Nb(n))return 1;if(t.valueDeclaration){var a=mj(t.valueDeclaration),i=n.parent===t.valueDeclaration.parent,r=n===t.valueDeclaration.parent,o=a&&(null==(o=t.parent)?void 0:o.valueDeclaration)===n.parent,n=a&&(null==(t=t.parent)?void 0:t.valueDeclaration)===n;return!(i||r||o||n)}}return 1}if(GL(e)){e=oO(e.expression);if(80===e.kind){e=ci(e).resolvedSymbol;if(2097152&e.flags){e=ki(e);return e&&274===e.kind}}}}}function Jk(e,t,r){var n=RB(e,7);if(80===n.kind||GL(n)){if(!(64&n.flags))return 1;Ua(e,r)}else Ua(e,t)}function zk(e){TT(e.expression);var t=oO(e.expression);if(!GL(t))return Ua(t,mA.The_operand_of_a_delete_operator_must_be_a_property_reference),It;aj(t)&&bR(t.name)&&Ua(t,mA.The_operand_of_a_delete_operator_cannot_be_a_private_identifier);var r=To(ci(t).resolvedSymbol);return r&&(jk(r)&&Ua(t,mA.The_operand_of_a_delete_operator_cannot_be_a_read_only_property),e=t,r=sc(t=r),!te||131075&r.flags||(re?16777216&t.flags:16777216&wv(r))||Ua(e,mA.The_operand_of_a_delete_operator_must_be_optional)),It}function Uk(e){var t,r=!1,n=LP(e);if(n&&PR(n))Ua(e,o=fj(e)?mA.await_expression_cannot_be_used_inside_a_class_static_block:mA.await_using_statements_cannot_be_used_inside_a_class_static_block),r=!0;else if(!(65536&e.flags))if(BP(e)){if(!IN(t=CF(e))){var a,i=void 0;switch(qF(t,ee)||(null!=i||(i=sP(t,e.pos)),o=fj(e)?mA.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:mA.await_using_statements_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,a=QL(t,i.start,i.length,o),Sa.add(a),r=!0),x){case 100:case 199:if(1===t.impliedNodeFormat){null!=i||(i=sP(t,e.pos)),Sa.add(QL(t,i.start,i.length,mA.The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level)),r=!0;break}case 7:case 99:case 4:if(4<=V)break;default:null!=i||(i=sP(t,e.pos));var o=fj(e)?mA.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:mA.Top_level_await_using_statements_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;Sa.add(QL(t,i.start,i.length,o)),r=!0}}}else IN(t=CF(e))||(i=sP(t,e.pos),o=fj(e)?mA.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:mA.await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules,a=QL(t,i.start,i.length,o),n&&176!==n.kind&&0==(2&kO(n))&&SM(a,tP(n,mA.Did_you_mean_to_mark_this_function_as_async)),Sa.add(a),r=!0);return fj(e)&&Jg(e)&&(Ua(e,mA.await_expressions_cannot_be_used_in_a_parameter_initializer),r=!0),r}function Vk(e){return Wk(e,2112)?Hk(e,3)||Wk(e,296)?qt:Nt:Ct}function qk(e,t){if(Wk(e,t))return 1;e=qu(e);return e&&Wk(e,t)}function Wk(e,t){var r,n;if(e.flags&t)return!0;if(3145728&e.flags){var a=e.types;try{for(var i=__values(a),o=i.next();!o.done;o=i.next())if(Wk(o.value,t))return!0}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}return!1}function Hk(e,t,r){return!!(e.flags&t)||!(r&&114691&e.flags)&&(!!(296&t)&&Ap(e,Ct)||!!(2112&t)&&Ap(e,Nt)||!!(402653316&t)&&Ap(e,wt)||!!(528&t)&&Ap(e,It)||!!(16384&t)&&Ap(e,Lt)||!!(131072&t)&&Ap(e,Mt)||!!(65536&t)&&Ap(e,Tt)||!!(32768&t)&&Ap(e,gt)||!!(4096&t)&&Ap(e,Ot)||!!(67108864&t)&&Ap(e,Jt))}function Kk(e,t,r){return 1048576&e.flags?XN(e.types,function(e){return Kk(e,t,r)}):Hk(e,t,r)}function Gk(e){return 16&WL(e)&&e.symbol&&Xk(e.symbol)}function Xk(e){return 0!=(128&e.flags)}function Qk(e,t,r,n){return r===Rt||n===Rt?Rt:(bR(e)?(V<99&&dN(e,2097152),!ci(e).resolvedSymbol&&IP(e)&&bx(e,n,gx(e,n.symbol,!0))):Ip(sx(r,e),Ut,e),Ip(sx(n,t),Jt,t)&&qv(n,function(e){return e===rr||!!(2097152&e.flags)&&Xp(qu(e))})&&Ua(t,mA.Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operator,$o(n)),It)}function Yk(e,t,r,n,a){var i,o;void 0===a&&(a=!1);var s=e.properties,c=s[r];if(303===c.kind||304===c.kind){var u=c.name,_=Od(u);!sR(_)||(e=u_(t,cR(_)))&&(Ex(e,c,a),Zh(c,!1,!0,t,e));u=Ss(c,sf(t,_,32,u));return $k(304===c.kind?c:c.initializer,u)}if(305===c.kind){if(!(r<s.length-1)){V<99&&dN(c,4);var l=[];if(n)try{for(var d=__values(n),f=d.next();!f.done;f=d.next()){var p=f.value;sB(p)||l.push(p.name)}}catch(e){i={error:e}}finally{try{f&&!f.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}u=bs(t,l,t.symbol);return mN(n,mA.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),$k(c.expression,u)}Ua(c,mA.A_rest_element_must_be_last_in_a_destructuring_pattern)}else Ua(c,mA.Property_assignment_expected)}function Zk(e,t,r,n,a){var i=e.elements,o=i[r];if(232!==o.kind){if(230!==o.kind){var s=Mf(r);if(Im(t)){s=uf(t,s,32|(vh(o)?16:0),ob(o,s))||dt;return $k(o,Ss(o,vh(o)?Cv(s,524288):s),a)}return $k(o,n,a)}if(r<i.length-1)Ua(o,mA.A_rest_element_must_be_last_in_a_destructuring_pattern);else{o=o.expression;if(226!==o.kind||64!==o.operatorToken.kind)return mN(e.elements,mA.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),$k(o,Wv(t,Xm)?Gv(t,function(e){return cd(e,r)}):Yl(n),a);Ua(o.operatorToken,mA.A_rest_element_cannot_have_an_initializer)}}}function $k(e,t,r,n){var a,e=304===e.kind?((a=e).objectAssignmentInitializer&&(!te||16777216&wv(TT(a.objectAssignmentInitializer))||(t=Cv(t,524288)),function(e,t,r,n,a){var i,o=t.kind;if(64===o&&(210===e.kind||209===e.kind))return $k(e,TT(r,n),n,110===r.kind);i=(TL(o)?qS:TT)(e,n),o=TT(r,n),tT(e,t,r,i,o,n,a)}(a.name,a.equalsToken,a.objectAssignmentInitializer,r)),e.name):e;return 226===e.kind&&64===e.operatorToken.kind&&(E(e,r),e=e.left,te&&(t=Cv(t,524288))),210===e.kind?function(e,t,r){var n=e.properties;if(te&&0===n.length)return sx(t,e);for(var a=0;a<n.length;a++)Yk(e,t,a,n,r);return t}(e,t,n):(209===e.kind?function(e,t,r){var n=e.elements;V<2&&ee.downlevelIteration&&dN(e,512);for(var a=KS(193,t,gt,e)||dt,i=ee.noUncheckedIndexedAccess?void 0:a,o=0;o<n.length;o++){var s=a;230===e.elements[o].kind&&(s=i=null!=i?i:KS(65,t,gt,e)||dt),Zk(e,t,o,s,r)}return t}:function(e,t,r){var n=TT(e,r),a=305===e.parent.kind?mA.The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:mA.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access,r=305===e.parent.kind?mA.The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access:mA.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access;Jk(e,a,r)&&Op(t,n,e,e);vE(e)&&dN(e.parent,1048576);return t})(e,t,r)}function eT(e,t){return 0!=(98304&t.flags)||Fp(e,t)}function tT(a,i,o,s,c,e,u){var t,r,n,_,l,d,f,p,m,y=i.kind;switch(y){case 42:case 43:case 67:case 68:case 44:case 69:case 45:case 70:case 41:case 66:case 48:case 71:case 49:case 72:case 50:case 73:case 52:case 75:case 53:case 79:case 51:case 74:if(s===Rt||c===Rt)return Rt;s=sx(s,a),c=sx(c,o);var v=void 0;if(528&s.flags&&528&c.flags&&void 0!==(v=function(e){switch(e){case 52:case 75:return 57;case 53:case 79:return 38;case 51:case 74:return 56;default:return}}(i.kind)))return Ua(u||i,mA.The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead,vA(i.kind),vA(v)),Ct;var g=Mk(a,s,mA.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,!0),h=Mk(o,c,mA.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,!0),v=void 0;if(Hk(s,3)&&Hk(c,3)||!Wk(s,2112)&&!Wk(c,2112))v=Ct;else if(k(s,c)){switch(y){case 50:case 73:C();break;case 43:case 68:V<3&&Ua(u,mA.Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later)}v=Nt}else C(k),v=dt;return g&&h&&S(v),v;case 40:case 65:if(s===Rt||c===Rt)return Rt;Hk(s,402653316)||Hk(c,402653316)||(s=sx(s,a),c=sx(c,o));var x=void 0;if(Hk(s,296,!0)&&Hk(c,296,!0)?x=Ct:Hk(s,2112,!0)&&Hk(c,2112,!0)?x=Nt:Hk(s,402653316,!0)||Hk(c,402653316,!0)?x=wt:(gs(s)||gs(c))&&(x=hs(s)||hs(c)?dt:ut),x&&!T(y))return x;if(x)return 65===y&&S(x),x;return C(function(e,t){return Hk(e,402655727)&&Hk(t,402655727)}),ut;case 30:case 32:case 33:case 34:return T(y)&&(s=qm(sx(s,a)),c=qm(sx(c,o)),w(function(e,t){if(gs(e)||gs(t))return!0;var r=Ap(e,qt),n=Ap(t,qt);return r&&n||!r&&!n&&Pp(e,t)})),It;case 35:case 36:case 37:case 38:return e&&128&e||(!dE(a)&&!dE(o)||cI(a)&&37!==y&&38!==y||(n=35===y||37===y,Ua(u,mA.This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value,n?"false":"true")),_=u,l=y,f=o,p=N(oO(d=a)),m=N(oO(f)),(p||m)&&(_=Ua(_,mA.This_condition_will_always_return_0,vA(37===l||35===l?97:112)),p&&m||(l=38===l||36===l?yA[54]:"",d=oO(f=p?f:d),SM(_,tP(f,mA.Did_you_mean_0,"".concat(l,"Number.isNaN(").concat(AL(d)?eP(d):"...",")"))))),w(function(e,t){return eT(e,t)||eT(t,e)})),It;case 104:return g=a,h=o,x=c,(n=s)===Rt||x===Rt?Rt:(!gs(n)&&Kk(n,402784252)&&Ua(g,mA.The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter),gs(x)||AC(x)||Np(x,hr)||Ua(h,mA.The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type),It);case 103:return Qk(a,o,s,c);case 56:case 77:v=4194304&wv(s)?hd([Gv(te?s:Vm(c),ny),c]):s;return 77===y&&S(c),v;case 57:case 76:v=8388608&wv(s)?hd([oy(ry(s)),c],2):s;return 76===y&&S(c),v;case 61:case 78:v=262144&wv(s)?hd([oy(s),c],2):s;return 78===y&&S(c),v;case 64:var b=mj(a.parent)?NI(a.parent):0;return function(e){var t,r;if(2===b)try{for(var n=__values(Fu(e)),a=n.next();!a.done;a=n.next()){var i,o=a.value,s=sc(o);s.symbol&&32&s.symbol.flags&&(i=o.escapedName,null!=(s=pi(o.valueDeclaration,i,788968,void 0,i,!1))&&s.declarations&&s.declarations.some(AB)&&(ni(s,mA.Duplicate_identifier_0,OA(i),o),ni(o,mA.Duplicate_identifier_0,OA(i),s)))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}(c),function(e){switch(e){case 2:return!0;case 1:case 5:case 6:case 3:case 4:var t=vo(a),r=hI(o);return!!r&&nj(r)&&!(null==(t=null==t?void 0:t.exports)||!t.size);default:return!1}}(b)?(524288&c.flags&&(2===b||6===b||Gp(c)||Sv(c)||1&WL(c))||S(c),s):(S(c),c);case 28:return ee.allowUnreachableCode||!function e(t){switch((t=oO(t)).kind){case 80:case 11:case 14:case 215:case 228:case 15:case 9:case 10:case 112:case 97:case 106:case 157:case 218:case 231:case 219:case 209:case 210:case 221:case 235:case 285:case 284:return!0;case 227:return e(t.whenTrue)&&e(t.whenFalse);case 226:return!wL(t.operatorToken.kind)&&(e(t.left)&&e(t.right));case 224:case 225:switch(t.operator){case 54:case 40:case 41:case 55:return!0}return!1;case 222:case 216:case 234:default:return!1}}(a)||217===(r=a.parent).parent.kind&&gR(r.left)&&"0"===r.left.text&&(oj(r.parent.parent)&&r.parent.parent.expression===r.parent||215===r.parent.parent.kind)&&(GL(r.right)||xR(r.right)&&"eval"===r.right.escapedText)||(v=CF(a),t=xA(v.text,a.pos),v.parseDiagnostics.some(function(e){return e.code===mA.JSX_expressions_must_have_one_parent_element.code&&SA(e,t)})||Ua(a,mA.Left_side_of_comma_operator_is_unused_and_has_no_side_effects)),c;default:return rA.fail()}function k(e,t){return Hk(e,2112)&&Hk(t,2112)}function T(e){var t=qk(s,12288)?a:qk(c,12288)?o:void 0;if(!t)return 1;Ua(t,mA.The_0_operator_cannot_be_applied_to_type_symbol,vA(e))}function S(n){wL(y)&&D(function(){var e=s;CJ(i.kind)&&211===a.kind&&(e=ux(a,void 0,!0));{var t,r;Jk(a,mA.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access,mA.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access)&&(t=void 0,re&&aj(a)&&Wk(n,32768)&&(r=vs(xT(a.expression),a.name.escapedText),om(n,r)&&(t=mA.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target)),Op(n,e,a,o,t))}})}function w(e){return!e(s,c)&&(C(e),1)}function C(e){var t=!1,r=u||i;e&&(n=nS(s),a=nS(c),t=!(n===s&&a===c)&&!(!n||!a)&&e(n,a));var n=s,a=c;!t&&e&&(n=(e=__read(function(e,t,r){var n=e,a=t,e=Vm(e),t=Vm(t);r(e,t)||(n=e,a=t);return[n,a]}(s,c,e),2))[0],a=e[1]);n=__read(es(n,a),2),a=n[0],n=n[1];!function(e,t,r,n){switch(i.kind){case 37:case 35:case 38:case 36:return Wa(e,t,mA.This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap,r,n);default:return}}(r,t,a,n)&&Wa(r,t,mA.Operator_0_cannot_be_applied_to_types_1_and_2,vA(i.kind),a,n)}function N(e){if(xR(e)&&"NaN"===e.escapedText){var t=cn=cn||El("NaN",!1);return!!t&&t===sv(e)}return!1}}function rT(e){var t,r,n=[e.head.text],a=[];try{for(var i=__values(e.templateSpans),o=i.next();!o.done;o=i.next()){var s=o.value,c=TT(s.expression);qk(c,12288)&&Ua(s.expression,mA.Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String),n.push(s.literal.text),a.push(Ap(c,Wt)?c:wt)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}if(_T(e)||function e(t){var r=t.parent;return uj(r)&&e(r)||ij(r)&&r.argumentExpression===t}(e)||qv(ih(e,void 0)||yt,nT))return Jd(n,a);var u=215!==e.parent.kind&&Uw(e);return u?Pf(Lf(u)):wt}function nT(e){return!!(134217856&e.flags||58982400&e.flags&&Wk(Vu(e)||yt,402653316))}function aT(e,t,r,n){var a,i=eB(a=e)&&!Qj(a.parent)?a.parent.parent:a;sh(i,t,!1),a=i,i=r,Gn[Qn]=a,Xn[Qn]=i,Qn++;n=TT(e,1|n|(r?2:0));r&&r.intraExpressionInferenceSites&&(r.intraExpressionInferenceSites=void 0);n=Wk(n,2944)&&uT(n,nh(t,e,void 0))?If(n):n;return Qn--,ch(),n}function iT(e,t){if(t)return TT(e,t);var r,n,a=ci(e);return a.resolvedType||(r=Bn,n=xn,Bn=Jn,xn=void 0,a.resolvedType=TT(e,t),xn=n,Bn=r),a.resolvedType}function oT(e){return 216===(e=oO(e,!0)).kind||234===e.kind||LB(e)}function sT(e,t,r){var n=vI(e);if(cI(e)){var a=rR(e);if(a)return Wb(n,a,t)}t=bT(n)||(r?aT(n,r,void 0,t||0):iT(n,t));return CR(e)&&207===e.name.kind&&Xm(t)&&!t.target.hasRestElement&&dl(t)<e.name.elements.length?function(e,t){for(var r=t.elements,n=dd(e).slice(),a=e.target.elementFlags.slice(),i=dl(e);i<r.length;i++){var o=r[i];(i<r.length-1||208!==o.kind||!o.dotDotDotToken)&&(n.push(!gj(o)&&vh(o)?Us(o,!1,!1):ut),a.push(2),gj(o)||vh(o)||ky(o,ut))}return ad(n,a,e.target.readonly)}(t,e.name):t}function cT(e,t){t=6&VN(e)||fP(e)?t:Wm(t);if(cI(e)){if(Lm(t))return ky(e,ut),ut;if(Mm(t))return ky(e,Ar),Ar}return t}function uT(t,e){if(e){if(3145728&e.flags)return dD(e.types,function(e){return uT(t,e)});if(58982400&e.flags){var r=Vu(e)||yt;return Wk(r,4)&&Wk(t,128)||Wk(r,8)&&Wk(t,256)||Wk(r,64)&&Wk(t,2048)||Wk(r,4096)&&Wk(t,8192)||uT(t,r)}return!!(406847616&e.flags&&Wk(t,128)||256&e.flags&&Wk(t,256)||2048&e.flags&&Wk(t,2048)||512&e.flags&&Wk(t,512)||8192&e.flags&&Wk(t,8192))}return!1}function _T(e){var t=e.parent;return BE(t)&&uE(t.type)||LB(t)&&uE(MB(t))||Bb(e)&&Ru(ih(e,0))||(uj(t)||rj(t)||yj(t))&&_T(t)||(iB(t)||oB(t)||bj(t))&&_T(t.parent)}function lT(e,t,r){r=TT(e,t,r);return _T(e)||wP(e)?If(r):oT(e)?r:Km(r,nh(ih(e,void 0),e,void 0))}function dT(e,t){return 167===e.name.kind&&bh(e.name),lT(e.initializer,t)}function fT(e,t){return AN(e),167===e.name.kind&&bh(e.name),pT(e,Lk(e,t),t)}function pT(e,t,r){if(r&&10&r){var n=Xx(t,0,!0),a=Xx(t,1,!0),i=n||a;if(i&&i.typeParameters){a=rh(e,2);if(a){a=Xx(oy(a),n?0:1,!1);if(a&&!a.typeParameters){if(8&r)return mT(e,r),ir;n=_h(e),r=n.signature&&j_(n.signature),e=r&&Gx(r);if(e&&!e.typeParameters&&!XN(n.inferences,yT)){var r=function(e,t){var r,n,a,i,o,s,c=[];try{for(var u=__values(t),_=u.next();!_.done;_=u.next()){var l=(f=_.value).symbol.escapedName;gT(e.inferredTypeParameters,l)||gT(c,l)?((l=Fo(Qa(262144,function(e,t){var r=t.length;for(;1<r&&48<=t.charCodeAt(r-1)&&t.charCodeAt(r-1)<=57;)r--;for(var n=t.slice(0,r),a=1;;a++){var i=n+a;if(!gT(e,i))return i}}(fD(e.inferredTypeParameters,c),l)))).target=f,o=vD(o,f),s=vD(s,l),c.push(l)):c.push(f)}}catch(e){r={error:e}}finally{try{_&&!_.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}if(s){var d=Gf(o,s);try{for(var f,p=__values(s),m=p.next();!m.done;m=p.next())(f=m.value).mapper=d}catch(e){a={error:e}}finally{try{m&&!m.done&&(i=p.return)&&i.call(p)}finally{if(a)throw a.error}}}return c}(n,i.typeParameters),e=V_(i,r),o=iD(n.inferences,function(e){return Ey(e.typeParameter)});if(Sy(e,a,function(e,t){Qy(o,e,t,0,!0)}),dD(o,yT)&&(wy(e,a,function(e,t){Qy(o,e,t)}),!function(e,t){for(var r=0;r<e.length;r++)if(yT(e[r])&&yT(t[r]))return!0;return!1}(n.inferences,o)))return function(e,t){for(var r=0;r<e.length;r++)!yT(e[r])&&yT(t[r])&&(e[r]=t[r])}(n.inferences,o),n.inferredTypeParameters=fD(n.inferredTypeParameters,r),K_(e)}return K_(Qx(i,a,n))}}}}return t}function mT(e,t){2&t&&(_h(e).flags|=4)}function yT(e){return!(!e.candidates&&!e.contraCandidates)}function vT(e){return!!(e.candidates||e.contraCandidates||Xu(e.typeParameter))}function gT(e,t){return dD(e,function(e){return e.symbol.escapedName===t})}function hT(e){e=Kx(e);if(e&&!e.typeParameters)return j_(e)}function xT(e){var t=bT(e);if(t)return t;if(268435456&e.flags&&xn){var r=xn[mJ(e)];if(r)return r}t=Vn,r=TT(e,128);return Vn!==t&&((xn=xn||[])[mJ(e)]=r,RM(e,268435456|e.flags)),r}function bT(e){var t,r,n,a=oO(e,!0);if(LB(a)&&!uE(n=MB(a)))return Uf(n);return fj(a=oO(e))?(n=bT(a.expression))?rS(n):void 0:!oj(a)||108===a.expression.kind||dI(a,!0)||Pb(a)?BE(a)&&!uE(a.type)?Uf(a.type):lE(e)||SE(e)?TT(e):void 0:nE(a)?(r=TT((t=a).expression),n=_y(r,t.expression),(e=hT(r))&&uy(e,t,n!==r)):hT(tx(a.expression))}function kT(e){var t=ci(e);if(t.contextFreeType)return t.contextFreeType;sh(e,ut,!1);e=t.contextFreeType=TT(e,4);return ch(),e}function TT(e,t,r){null!=iA&&iA.push(iA.Phase.Check,"checkExpression",{kind:e.kind,pos:e.pos,end:e.end,path:e.tracingPath});var n=w;u=0;r=pT(w=e,function(e,t,r){var n=e.kind;if(k)switch(n){case 231:case 218:case 219:k.throwIfCancellationRequested()}switch(n){case 80:return Sg(e,t);case 81:return fx(e);case 110:return Eg(e);case 108:return Ig(e);case 106:return St;case 15:case 11:return Uy(e)?lt:Pf(Lf(e.text));case 9:return BN(e),Pf(Mf(+e.text));case 10:return function(e){YR(e.parent)||pj(e.parent)&&YR(e.parent.parent)||!(V<7)||RN(e,mA.BigInt_literals_are_not_available_when_targeting_lower_than_ES2020)}(e),Pf(Rf({negative:!1,base10Value:AM(e.text)}));case 112:return Et;case 97:return Dt;case 228:return rT(e);case 14:return Nr;case 209:return gh(e,t,r);case 210:return wh(e,t);case 211:return ux(e,t);case 166:return _x(e,t);case 212:return Mx(e,t);case 213:if(102===e.expression.kind)return Ib(e);case 214:return function(e,t){hN(e,e.typeArguments);var r=Cb(e,void 0,t);if(r===Cn)return Rt;if(Eb(r,e),108===e.expression.kind)return Lt;if(214===e.kind){var n=r.declaration;if(n&&176!==n.kind&&180!==n.kind&&185!==n.kind&&(!bB(n)||176!==(null==(t=null==(t=ZI(n))?void 0:t.parent)?void 0:t.kind))&&!zI(n)&&!Nb(n))return N&&Ua(e,mA.new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type),ut}if(cI(e)&&_M(ee)&&Rb(e))return O_(e.arguments[0]);if(12288&(n=j_(r)).flags&&Pb(e))return jf(aO(e.parent));if(213===e.kind&&!e.questionDotToken&&244===e.parent.kind&&16384&n.flags&&M_(r)&&(FL(e.expression)?ug(e)||(a=Ua(e.expression,mA.Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation),cg(e.expression,a)):Ua(e.expression,mA.Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name)),cI(e)){var a=Ab(e,!1);if(null!=(e=null==a?void 0:a.exports)&&e.size){a=Mo(a,a.exports,WN,WN,WN);return a.objectFlags|=4096,Cd([n,a])}}return n}(e,t);case 215:return jb(e);case 217:return function(e,t){if(tF(e)){if(eR(e))return Wb(e.expression,tR(e),t);if(LB(e))return Jb(e,t)}return TT(e.expression,t)}(e,t);case 231:return function(e){return Aw(e),cC(e),function(e){var t;if(e.name)return;var r=jB(e);if(!IO(r))return;e=!T&&V<99&&QP(!1,e)?null!==(t=kD(zA(e)))&&void 0!==t?t:e:Dw(e);e&&(dN(e,8388608),(iB(r)||AR(r)||tj(r))&&SR(r.name)&&dN(e,16777216))}(e),sc(yo(e))}(e);case 218:case 219:return Lk(e,t);case 221:return function(e){return TT(e.expression),Ca}(e);case 216:case 234:return function(e,t){var r;return 216!==e.kind||(r=CF(e))&&_A(r.fileName,[".cts",".mts"])&&RN(e,mA.This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead),Jb(e,t)}(e,t);case 235:return Ub(e);case 233:return Vb(e);case 238:return function(e){return iC(e.type),Wb(e.expression,e.type)}(e);case 236:return Hb(e);case 220:return zk(e);case 222:return function(e){return TT(e.expression),ht}(e);case 223:return function(e){D(function(){return Uk(e)});var t=TT(e.expression),r=QT(t,!0,e,mA.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);return r!==t||hs(r)||3&t.flags||Va(!1,tP(e,mA.await_has_no_effect_on_the_type_of_this_expression)),r}(e);case 224:return function(e){var t=TT(e.operand);if(t===Rt)return Rt;switch(e.operand.kind){case 9:switch(e.operator){case 41:return Pf(Mf(-e.operand.text));case 40:return Pf(Mf(+e.operand.text))}break;case 10:if(41===e.operator)return Pf(Rf({negative:!0,base10Value:AM(e.operand.text)}))}switch(e.operator){case 40:case 41:case 55:return sx(t,e.operand),qk(t,12288)&&Ua(e.operand,mA.The_0_operator_cannot_be_applied_to_type_symbol,vA(e.operator)),40===e.operator?(qk(t,2112)&&Ua(e.operand,mA.Operator_0_cannot_be_applied_to_type_1,vA(e.operator),$o(Vm(t))),Ct):Vk(t);case 54:VS(t,e.operand);var r=12582912&wv(t);return 4194304==r?Dt:8388608==r?Et:It;case 46:case 47:return Mk(e.operand,sx(t,e.operand),mA.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&Jk(e.operand,mA.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,mA.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access),Vk(t)}return dt}(e);case 225:return function(e){var t=TT(e.operand);return t===Rt?Rt:(Mk(e.operand,sx(t,e.operand),mA.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&Jk(e.operand,mA.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,mA.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access),Vk(t))}(e);case 226:return E(e,t);case 227:return function(e,t){var r=qS(e.condition,t);return US(e.condition,r,e.whenTrue),hd([TT(e.whenTrue,t),TT(e.whenFalse,t)],2)}(e,t);case 230:return function(e,t){return V<2&&dN(e,ee.downlevelIteration?1536:1024),KS(33,TT(e.expression,t),gt,e.expression)}(e,t);case 232:return ht;case 229:return function(t){D(function(){16384&t.flags||ON(t,mA.A_yield_expression_is_only_allowed_in_a_generator_body);Jg(t)&&Ua(t,mA.yield_expressions_cannot_be_used_in_a_parameter_initializer)});var e=PP(t);if(!e)return ut;if(!(1&(i=kO(e))))return ut;var r=0!=(2&i);t.asteriskToken&&(r&&V<99&&dN(t,26624),!r&&V<2&&ee.downlevelIteration&&dN(t,256));var n=B_(e),a=(o=n&&yw(n,r))&&o.yieldType||ut,i=o&&o.nextType||ut,o=r?rS(i)||ut:i,i=t.expression?TT(t.expression):ht,o=Ak(t,i,o,r);return n&&o&&Op(o,a,t.expression||t,t.expression),t.asteriskToken?XS(r?19:17,1,i,t.expression)||ut:n?mw(2,n,r)||ut:((e=zg(2,e))||(e=ut,D(function(){var e;N&&!BM(t)&&((e=ih(t,void 0))&&!gs(e)||Ua(t,mA.yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation))})),e)}(e);case 237:return function(e){return e.isSpread?sf(e.type,Ct):e.type}(e);case 294:return Xh(e,t);case 284:return function(e){return cC(e),Uh(e)||ut}(e);case 285:return function(e){return cC(e),Uh(e)||ut}(e);case 288:return function(e){Hh(e.openingFragment);var t=CF(e);return!vM(ee)||!ee.jsxFactory&&!t.pragmas.has("jsx")||ee.jsxFragmentFactory||t.pragmas.has("jsxfrag")||Ua(e,ee.jsxFactory?mA.The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:mA.An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments),Eh(e),Uh(e)||ut}(e);case 292:return Ph(e,t);case 286:rA.fail("Shouldn't ever directly check a JsxOpeningElement")}return dt}(e,t,r),t);return Gk(r)&&(t=r,211===(e=e).parent.kind&&e.parent.expression===e||212===e.parent.kind&&e.parent.expression===e||(80===e.kind||166===e.kind)&&hC(e)||186===e.parent.kind&&e.parent.exprName===e||281===e.parent.kind||Ua(e,mA.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),sM(ee)&&(rA.assert(!!(128&t.symbol.flags)),33554432&t.symbol.valueDeclaration.flags&&!IM(e)&&Ua(e,mA.Cannot_access_ambient_const_enums_when_0_is_enabled,Ie))),w=n,null!=iA&&iA.pop(),r}function ST(e){fN(e),e.expression&&ON(e.expression,mA.Type_expected),iC(e.constraint),iC(e.default);var t=Fc(yo(e));Vu(t),Ku(t)===sr&&Ua(e.default,mA.Type_parameter_0_has_a_circular_default,$o(t));var r=Mu(t),n=Gu(t);r&&n&&Ip(n,Qc(pp(r,Qf(t,n)),n),e.default,mA.Type_0_does_not_satisfy_the_constraint_1),cC(e),D(function(){return Sw(e.name,mA.Type_parameter_name_cannot_be_0)})}function wT(e){fN(e),LS(e);var t=PP(e);_L(e,16476)&&(176===t.kind&&FF(t.body)||Ua(e,mA.A_parameter_property_is_only_allowed_in_a_constructor_implementation),176===t.kind&&xR(e.name)&&"constructor"===e.name.escapedText&&Ua(e.name,mA.constructor_cannot_be_used_as_a_parameter_property_name)),!e.initializer&&ZM(e)&&PE(e.name)&&t.body&&Ua(e,mA.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature),e.name&&xR(e.name)&&("this"===e.name.escapedText||"new"===e.name.escapedText)&&(0!==t.parameters.indexOf(e)&&Ua(e,mA.A_0_parameter_must_be_the_first_parameter,e.name.escapedText),176!==t.kind&&180!==t.kind&&185!==t.kind||Ua(e,mA.A_constructor_cannot_have_a_this_parameter),219===t.kind&&Ua(e,mA.An_arrow_function_cannot_have_a_this_parameter),177!==t.kind&&178!==t.kind||Ua(e,mA.get_and_set_accessors_cannot_declare_this_parameters)),!e.dotDotDotToken||PE(e.name)||Ap(n_(sc(e.symbol)),Fr)||Ua(e,mA.A_rest_parameter_must_be_of_an_array_type)}function CT(e){var t,r,n=function(e){switch(e.parent.kind){case 219:case 179:case 262:case 218:case 184:case 174:case 173:var t=e.parent;if(e===t.type)return t}}(e);if(n){var a=E_(n),i=M_(a);if(i){iC(e.type);var o=e.parameterName;if(0===i.kind||2===i.kind)Bf(o);else if(0<=i.parameterIndex)bJ(a)&&i.parameterIndex===a.parameters.length-1?Ua(o,mA.A_type_predicate_cannot_reference_a_rest_parameter):i.type&&Ip(i.type,sc(a.parameters[i.parameterIndex]),e.type,void 0,function(){return $L(void 0,mA.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type)});else if(o){var s=!1;try{for(var c=__values(n.parameters),u=c.next();!u.done;u=c.next()){var _=u.value.name;if(PE(_)&&function e(t,r,n){var a,i;try{for(var o=__values(t.elements),s=o.next();!s.done;s=o.next()){var c=s.value;if(!gj(c)){var c=c.name;if(80===c.kind&&c.escapedText===n)return Ua(r,mA.A_type_predicate_cannot_reference_element_0_in_a_binding_pattern,n),!0;if((207===c.kind||206===c.kind)&&e(c,r,n))return!0}}}catch(e){a={error:e}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(a)throw a.error}}}(_,o,i.parameterName)){s=!0;break}}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(t)throw t.error}}s||Ua(e.parameterName,mA.Cannot_find_parameter_0,i.parameterName)}}}else Ua(e,mA.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods)}function NT(s){181===s.kind?fN(t=s)||function(e){var t=e.parameters[0];if(1!==e.parameters.length)return RN(t?t.name:e,mA.An_index_signature_must_have_exactly_one_parameter);if(mN(e.parameters,mA.An_index_signature_cannot_have_a_trailing_comma),t.dotDotDotToken)return RN(t.dotDotDotToken,mA.An_index_signature_cannot_have_a_rest_parameter);if(sL(t))return RN(t.name,mA.An_index_signature_parameter_cannot_have_an_accessibility_modifier);if(t.questionToken)return RN(t.questionToken,mA.An_index_signature_parameter_cannot_have_a_question_mark);if(t.initializer)return RN(t.name,mA.An_index_signature_parameter_cannot_have_an_initializer);if(!t.type)return RN(t.name,mA.An_index_signature_parameter_must_have_a_type_annotation);var r=Uf(t.type);if(qv(r,function(e){return!!(8576&e.flags)})||Zd(r))return RN(t.name,mA.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead);Wv(r,$_)?e.type||RN(e,mA.An_index_signature_must_have_a_type_annotation):RN(t.name,mA.An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type)}(t):184!==s.kind&&262!==s.kind&&185!==s.kind&&179!==s.kind&&176!==s.kind&&180!==s.kind||gN(s);var e,n,a,i,t,r=kO(s);4&r||(3==(3&r)&&V<99&&dN(s,6144),2==(3&r)&&V<4&&dN(s,64),0!=(3&r)&&V<2&&dN(s,128)),ww(eE(s)),HN(t=nD(YA(e=s),wB))&&(n=cI(e),a=new Set,i=new Set,KN(e.parameters,function(e,t){e=e.name;xR(e)&&a.add(e.escapedText),PE(e)&&i.add(t)}),P_(e)?(r=t.length-1,e=t[r],n&&e&&xR(e.name)&&e.typeExpression&&e.typeExpression.type&&!a.has(e.name.escapedText)&&!i.has(r)&&!Dm(Uf(e.typeExpression.type))&&Ua(e.name,mA.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type,LA(e.name))):KN(t,function(e,t){var r=e.name,e=e.isNameFirst;i.has(t)||xR(r)&&a.has(r.escapedText)||(TR(r)?n&&Ua(r,mA.Qualified_name_0_is_not_allowed_without_a_leading_param_object_1,eP(r),eP(r.left)):e||qa(n,r,mA.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name,LA(r)))})),KN(s.parameters,wT),s.type&&iC(s.type),D(function(){!function(e){2<=V||!cF(e)||33554432&e.flags||EF(e.body)||KN(e.parameters,function(e){e.name&&!PE(e.name)&&e.name.escapedText===Fe.escapedName&&Ja("noEmit",e,mA.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters)})}(s);var e=aL(s),t=e;!cI(s)||(o=XA(s))&&o.typeExpression&&BR(o.typeExpression.type)&&((i=Kx(Uf(o.typeExpression)))&&i.declaration&&(e=aL(i.declaration),t=o.typeExpression.type));if(N&&!e)switch(s.kind){case 180:Ua(s,mA.Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);break;case 179:Ua(s,mA.Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type)}{var r,n,a,i,o;e&&t&&(1==(5&(r=kO(s)))?(n=Uf(e))===Lt?Ua(t,mA.A_generator_cannot_have_a_void_type_annotation):(a=mw(0,n,0!=(2&r))||ut,i=mw(1,n,0!=(2&r))||a,o=mw(2,n,0!=(2&r))||yt,Ip(Dk(a,i,o,!!(2&r)),n,t)):2==(3&r)&&function(e,t,r){var n=Uf(t);if(2<=V){if(hs(n))return;var a=Jl(!0);if(a!==ar&&!uc(n,a))return c(mA.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0,t,r,$o(nS(n)||Lt)),0}else{if(!function(e){cS(e&&KP(e),!1)}(t),hs(n))return;var i=KP(t);if(void 0===i)return c(mA.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,t,r,$o(n)),0;var o=Yi(i,111551,!0),s=o?sc(o):dt;if(hs(s))return 80===i.kind&&"Promise"===i.escapedText&&_c(n)===Jl(!1)?Ua(r,mA.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):c(mA.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,t,r,eP(i));a=(Jr=Jr||Ol("PromiseConstructorLike",0,!0))||$t;if(a===$t)return c(mA.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,t,r,eP(i)),0;o=mA.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value;if(!Ip(s,a,r,o,function(){return t===r?void 0:$L(void 0,mA.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type)}))return;a=i&&EL(i),o=_i(e.locals,a.escapedText,111551);if(o)return Ua(o.valueDeclaration,mA.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,LA(a),eP(i))}function c(e,t,r,n){t===r?Ua(r,e,n):SM(Ua(r,mA.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type),tP(t,e,n))}QT(n,!1,e,mA.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}(s,e,t))}181!==s.kind&&324!==s.kind&&yS(s)})}function DT(e){var t,r,n=new Map;try{for(var a=__values(e.members),i=a.next();!i.done;i=a.next()){var o=i.value;if(171===o.kind){var s=void 0,c=o.name;switch(c.kind){case 11:case 9:s=c.text;break;case 80:s=LA(c);break;default:continue}n.get(s)?(Ua(JA(o.symbol.valueDeclaration),mA.Duplicate_identifier_0,s),Ua(o.name,mA.Duplicate_identifier_0,s)):n.set(s,!0)}}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}function AT(e){var t,r;if(264===e.kind){var n=yo(e);if(n.declarations&&0<n.declarations.length&&n.declarations[0]!==e)return}var a=G_(yo(e));if(null!=a&&a.declarations){var i=new Map;try{for(var o=__values(a.declarations),s=o.next();!s.done;s=o.next())!function(r){1===r.parameters.length&&r.parameters[0].type&&Vv(Uf(r.parameters[0].type),function(e){var t=i.get(e.id);t?t.declarations.push(r):i.set(e.id,{type:e,declarations:[r]})})}(s.value)}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}i.forEach(function(e){var t,r;if(1<e.declarations.length)try{for(var n=__values(e.declarations),a=n.next();!a.done;a=n.next())Ua(a.value,mA.Duplicate_index_signature_for_type_0,$o(e.type))}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}})}}function ET(e){fN(e)||function(e){if(SR(e.name)&&mj(e.name.expression)&&103===e.name.expression.operatorToken.kind)return RN(e.parent.members[0],mA.A_mapped_type_may_not_declare_properties_or_methods);if(NE(e.parent)){if(hR(e.name)&&"constructor"===e.name.text)return RN(e.name,mA.Classes_may_not_have_a_field_named_constructor);if(DN(e.name,mA.A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type))return!0;if(V<2&&bR(e.name))return RN(e.name,mA.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(V<2&&AE(e))return RN(e.name,mA.Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(AE(e)&&SN(e.questionToken,mA.An_accessor_property_cannot_be_declared_optional))return!0}else if(264===e.parent.kind){if(DN(e.name,mA.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(rA.assertNode(e,DR),e.initializer)return RN(e.initializer,mA.An_interface_property_cannot_have_an_initializer)}else if(VR(e.parent)){if(DN(e.name,mA.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(rA.assertNode(e,DR),e.initializer)return RN(e.initializer,mA.A_type_literal_property_cannot_have_an_initializer)}33554432&e.flags&&FN(e);if(AR(e)&&e.exclamationToken&&(!NE(e.parent)||!e.type||e.initializer||33554432&e.flags||lL(e)||pL(e))){var t=e.initializer?mA.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:e.type?mA.A_definite_assignment_assertion_is_not_permitted_in_this_context:mA.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations;return RN(e.exclamationToken,t)}}(e)||kN(e.name),LS(e),FT(e),_L(e,256)&&172===e.kind&&e.initializer&&Ua(e,mA.Property_0_cannot_have_an_initializer_because_it_is_marked_abstract,QF(e.name))}function FT(e){if(bR(e.name)&&V<99){for(var t,r=GF(e);r;r=GF(r))ci(r).flags|=1048576;!vj(e.parent)||(t=wg(e.parent))&&(ci(e.name).flags|=32768,ci(t).flags|=4096)}}function PT(c){NT(c),function(e){var t=cI(e)?iL(e):void 0,r=e.typeParameters||t&&kD(t);if(r){t=r.pos===r.end?r.pos:xA(CF(e).text,r.pos);return LN(e,t,r.end-t,mA.Type_parameters_cannot_appear_on_a_constructor_declaration)}}(c)||function(e){if(e=e.type||aL(e))RN(e,mA.Type_annotation_cannot_appear_on_a_constructor_declaration)}(c),iC(c.body);var e=yo(c),t=mF(e,c.kind);function u(e){return!!yE(e)||172===e.kind&&!lL(e)&&!!e.initializer}c===t&&HT(e),EF(c.body)||D(function(){var t,e,r=c.parent;if(vO(r)){Cg(c.parent,r);var n=Dg(r),r=Ng(c.body);if(r){if(n&&Ua(r,mA.A_constructor_cannot_contain_a_super_call_when_its_class_extends_null),!C&&(dD(c.parent.members,u)||dD(c.parameters,function(e){return _L(e,16476)})))if(function(e,t){e=aO(e.parent);return Sj(e)&&e.parent===t}(r,c.body)){var a=void 0;try{for(var i=__values(c.body.statements),o=i.next();!o.done;o=i.next()){var s=o.value;if(Sj(s)&&pP(RB(s.expression))){a=s;break}if(IT(s))break}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}void 0===a&&Ua(c,mA.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 Ua(r,mA.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 n||Ua(c,mA.Constructors_for_derived_classes_must_contain_a_super_call)}})}function IT(e){return 108===e.kind||110===e.kind||!jP(e)&&!!HB(e,IT)}function OT(a){xR(a.name)&&"constructor"===LA(a.name)&&NE(a.parent)&&Ua(a.name,mA.Class_constructor_may_not_be_an_accessor),D(function(){gN(a)||function(e){if(!(33554432&e.flags)&&187!==e.parent.kind&&264!==e.parent.kind){if(V<1)return RN(e.name,mA.Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher);if(V<2&&bR(e.name))return RN(e.name,mA.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(void 0===e.body&&!_L(e,256))return LN(e,e.end-1,";".length,mA._0_expected,"{")}if(e.body){if(_L(e,256))return RN(e,mA.An_abstract_accessor_cannot_have_an_implementation);if(187===e.parent.kind||264===e.parent.kind)return RN(e.body,mA.An_implementation_cannot_be_declared_in_ambient_contexts)}if(e.typeParameters)return RN(e.name,mA.An_accessor_cannot_have_type_parameters);if(!function(e){return NN(e)||e.parameters.length===(177===e.kind?0:1)}(e))return RN(e.name,177===e.kind?mA.A_get_accessor_cannot_have_parameters:mA.A_set_accessor_must_have_exactly_one_parameter);if(178===e.kind){if(e.type)return RN(e.name,mA.A_set_accessor_cannot_have_a_return_type_annotation);var t=rA.checkDefined(QO(e),"Return value does not match parameter count assertion.");if(t.dotDotDotToken)return RN(t.dotDotDotToken,mA.A_set_accessor_cannot_have_rest_parameter);if(t.questionToken)return RN(t.questionToken,mA.A_set_accessor_cannot_have_an_optional_parameter);if(t.initializer)return RN(e.name,mA.A_set_accessor_parameter_cannot_have_an_initializer)}return!1}(a)||kN(a.name);fS(a),NT(a),177!==a.kind||!(33554432&a.flags)&&FF(a.body)&&512&a.flags&&(1024&a.flags||Ua(a.name,mA.A_get_accessor_must_return_a_value));167===a.name.kind&&bh(a.name);{var e,t,r;Wc(a)&&(r=yo(a),e=mF(r,177),n=mF(r,178),!e||!n||1&GC(e)||(ci(e).flags|=1,t=xL(e),r=xL(n),(256&t)!=(256&r)&&(Ua(e.name,mA.Accessors_must_both_be_abstract_or_non_abstract),Ua(n.name,mA.Accessors_must_both_be_abstract_or_non_abstract)),(16&t&&!(24&r)||8&t&&!(8&r))&&(Ua(e.name,mA.A_get_accessor_must_be_at_least_as_accessible_as_the_setter),Ua(n.name,mA.A_get_accessor_must_be_at_least_as_accessible_as_the_setter))))}var n=Zs(yo(a));177===a.kind&&Ok(a,n)}),iC(a.body),FT(a)}function LT(e,t){return A_(iD(e.typeArguments,Uf),t,D_(t),cI(e))}function MT(e,t){for(var r,n,a=!0,i=0;i<t.length;i++){var o=Mu(t[i]);o&&(r||(n=Gf(t,r=LT(e,t))),a=a&&Ip(r[i],pp(o,n),e.typeArguments[i],mA.Type_0_does_not_satisfy_the_constraint_1))}return a}function RT(e){var t=Uf(e);if(!hs(t)){e=ci(e).resolvedSymbol;if(e)return function(e,t){if(!hs(e))return 524288&t.flags&&si(t).typeParameters||(4&WL(e)?e.target.localTypeParameters:void 0)}(t,e)}}function jT(e){var t;hN(e,e.typeArguments),183!==e.kind||cI(e)||_I(e)||!e.typeArguments||e.typeName.end===e.typeArguments.pos||25===cP(t=CF(e),e.typeName.end)&&LN(e,xA(t.text,e.typeName.end),1,mA.JSDoc_types_can_only_be_used_inside_documentation_comments),KN(e.typeArguments,iC),BT(e)}function BT(t){var e;hs(Uf(t))||(t.typeArguments&&D(function(){var e=RT(t);e&&MT(t,e)}),(e=ci(t).resolvedSymbol)&&dD(e.declarations,function(e){return KM(e)&&!!(536870912&e.flags)})&&Xa(Fb(t),e.declarations,e.escapedName))}function JT(t){KN(t.members,iC),D(function(){var e=kf(t);kw(e,e.symbol),AT(t),DT(t)})}function zT(e,t){if(!(8388608&e.flags))return e;var r=e.objectType,n=e.indexType;if(Ap(n,jd(r,0)))return 212===t.kind&&tO(t)&&32&WL(r)&&1&wu(r)&&Ua(t,mA.Index_signature_in_type_0_only_permits_reading,$o(r)),e;var a=Zu(r);if(g_(a,Ct)&&Hk(n,296))return e;if($d(r)){var i=Hd(n,t);if(i){a=Vv(a,function(e){return u_(e,i)});if(a&&24&JL(a))return Ua(t,mA.Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter,OA(i)),dt}}return Ua(t,mA.Type_0_cannot_be_used_to_index_type_1,$o(n),$o(r)),dt}function UT(e){!function(e){var t;if(null!=(t=e.members)&&t.length)RN(e.members[0],mA.A_mapped_type_may_not_declare_properties_or_methods)}(e),iC(e.typeParameter),iC(e.nameType),iC(e.type),e.type||ky(e,ut);var t=lf(e),r=xu(t);r?Ip(r,Vt,e.nameType):Ip(hu(t),Vt,tE(e.typeParameter))}function VT(e){!function(e){if(158===e.operator){if(155!==e.type.kind)return RN(e.type,mA._0_expected,yA[155]);var t,r=nO(e.parent);switch(cI(r)&&_B(r)&&((t=YI(r))&&(r=qI(t)||t)),r.kind){case 260:var n=r;if(80!==n.name.kind)return RN(e,mA.unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name);if(!SP(n))return RN(e,mA.unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement);if(!(2&n.parent.flags))return RN(r.name,mA.A_variable_whose_type_is_a_unique_symbol_type_must_be_const);break;case 172:if(!lL(r)||!vL(r))return RN(r.name,mA.A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly);break;case 171:if(!_L(r,64))return RN(r.name,mA.A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly);break;default:RN(e,mA.unique_symbol_types_are_not_allowed_here)}}else if(148===e.operator&&188!==e.type.kind&&189!==e.type.kind)ON(e,mA.readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types,yA[155])}(e),iC(e.type)}function qT(e){return(uL(e,8)||yE(e))&&!!(33554432&e.flags)}function WT(e,t){var r,n=UN(e);return 264!==e.parent.kind&&263!==e.parent.kind&&231!==e.parent.kind&&33554432&e.flags&&(!((r=KF(e))&&128&r.flags)||2&n||Rj(e.parent)&&Mj(e.parent.parent)&&zF(e.parent.parent)||(n|=1),n|=2),n&t}function HT(e){D(function(){return function(r){var t,e,n,a,i,o,s,c;function u(e,t){return void 0!==t&&t.parent===e[0].parent?t:e[0]}var _,l,d,f=0,p=283,m=!1,y=!0,v=!1,g=r.declarations,h=0!=(16384&r.flags);function x(t){if(!t.name||!EF(t.name)){var r=!1,e=HB(t.parent,function(e){return r?e:void(r=e===t)});if(e&&e.pos===t.end&&e.kind===t.kind){var n=e.name||e,a=e.name;if(t.name&&a&&(bR(t.name)&&bR(a)&&t.name.escapedText===a.escapedText||SR(t.name)&&SR(a)&&Tp(bh(t.name),bh(a))||DO(t.name)&&DO(a)&&EO(t.name)===EO(a)))return void((174===t.kind||173===t.kind)&&lL(t)!==lL(e)&&Ua(n,lL(t)?mA.Function_overload_must_be_static:mA.Function_overload_must_not_be_static));if(FF(e.body))return void Ua(n,mA.Function_implementation_name_must_be_0,QF(t.name))}n=t.name||t;h?Ua(n,mA.Constructor_implementation_is_missing):_L(t,256)?Ua(n,mA.All_declarations_of_an_abstract_method_must_be_consecutive):Ua(n,mA.Function_implementation_is_missing_or_not_immediately_following_the_declaration)}}var b=!1,k=!1,T=!1,S=[];if(g)try{for(var w=__values(g),C=w.next();!C.done;C=w.next()){var N=C.value,D=N,A=33554432&D.flags,E=D.parent&&(264===D.parent.kind||187===D.parent.kind)||A;if(E&&(d=void 0),263!==D.kind&&231!==D.kind||A||(T=!0),262!==D.kind&&174!==D.kind&&173!==D.kind&&176!==D.kind||(S.push(D),A=WT(D,283),f|=A,p&=A,m=m||JI(D),y=y&&JI(D),(A=FF(D.body))&&_?h?k=!0:b=!0:(null==d?void 0:d.parent)===D.parent&&d.end!==D.pos&&x(d),A?_=_||D:v=!0,d=D,E||(l=D)),cI(N)&&bE(N)&&N.jsDoc)try{for(var F=(n=void 0,__values(N.jsDoc)),P=F.next();!P.done;P=F.next()){var I=P.value;if(I.tags)try{for(var O=(i=void 0,__values(I.tags)),L=O.next();!L.done;L=O.next())SB(L.value)&&(v=!0)}catch(e){i={error:e}}finally{try{L&&!L.done&&(o=O.return)&&o.call(O)}finally{if(i)throw i.error}}}}catch(e){n={error:e}}finally{try{P&&!P.done&&(a=F.return)&&a.call(F)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{C&&!C.done&&(e=w.return)&&e.call(w)}finally{if(t)throw t.error}}k&&KN(S,function(e){Ua(e,mA.Multiple_constructor_implementations_are_not_allowed)});b&&KN(S,function(e){Ua(JA(e)||e,mA.Duplicate_function_implementation)});{var M;T&&!h&&16&r.flags&&g&&(M=nD(g,function(e){return 263===e.kind}).map(function(e){return tP(e,mA.Consider_adding_a_declare_modifier_to_this_class)}),KN(g,function(e){var t=263===e.kind?mA.Class_declaration_cannot_implement_overload_list_for_0:262===e.kind?mA.Function_with_bodies_can_only_merge_with_classes_that_are_ambient:void 0;t&&SM.apply(void 0,__spreadArray([Ua(JA(e)||e,t,RA(r))],__read(M),!1))}))}!l||l.body||_L(l,256)||l.questionToken||x(l);if(v&&(g&&(function(e,t,r){var n;0!=(f^p)&&(n=WT(u(e,t),r),KN(e,function(e){var t=WT(e,r)^n;1&t?Ua(JA(e),mA.Overload_signatures_must_all_be_exported_or_non_exported):2&t?Ua(JA(e),mA.Overload_signatures_must_all_be_ambient_or_non_ambient):24&t?Ua(JA(e)||e,mA.Overload_signatures_must_all_be_public_private_or_protected):256&t&&Ua(JA(e),mA.Overload_signatures_must_all_be_abstract_or_non_abstract)}))}(g,_,283),function(e,t){var r;m!==y&&(r=JI(u(e,t)),KN(e,function(e){JI(e)!==r&&Ua(JA(e),mA.Overload_signatures_must_all_be_optional_or_required)}))}(g,_)),_)){var R=I_(r),j=E_(_);try{for(var B=__values(R),J=B.next();!J.done;J=B.next()){var z=J.value;if(!Hp(j,z)){SM(Ua(z.declaration&&bB(z.declaration)?z.declaration.parent.tagName:z.declaration,mA.This_overload_signature_is_not_compatible_with_its_implementation_signature),tP(_,mA.The_implementation_signature_is_declared_here));break}}}catch(e){s={error:e}}finally{try{J&&!J.done&&(c=B.return)&&c.call(B)}finally{if(s)throw s.error}}}}(e)})}function KT(e){D(function(){return function(e){var t,r,n,a,i=e.localSymbol;if(!i&&!(i=yo(e)).exportSymbol)return;if(mF(i,e.kind)!==e)return;var o=0,s=0,c=0;try{for(var u=__values(i.declarations),_=u.next();!_.done;_=u.next()){var l=h(v=_.value),d=WT(v,1025);1&d?1024&d?c|=l:o|=l:s|=l}}catch(e){t={error:e}}finally{try{_&&!_.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}var f=o&s,p=c&(o|s);if(f||p)try{for(var m=__values(i.declarations),y=m.next();!y.done;y=m.next()){var v,l=h(v=y.value),g=JA(v);l&p?Ua(g,mA.Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead,QF(g)):l&f&&Ua(g,mA.Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local,QF(g))}}catch(e){n={error:e}}finally{try{y&&!y.done&&(a=m.return)&&a.call(m)}finally{if(n)throw n.error}}function h(e){var t=e;switch(t.kind){case 264:case 265:case 353:case 345:case 347:return 2;case 267:return RF(t)||0!==$B(t)?5:4;case 263:case 266:case 306:return 3;case 312:return 7;case 277:case 226:var r=qj(t)?t.expression:t.right;if(!AL(r))return 1;t=r;case 271:case 274:case 273:var n=0;return KN(Ui(yo(t)).declarations,function(e){n|=h(e)}),n;case 260:case 208:case 262:case 276:case 80:return 1;case 173:case 171:return 2;default:return rA.failBadSyntaxKind(t)}}}(e)})}function GT(e,t,r){for(var n=[],a=3;a<arguments.length;a++)n[a-3]=arguments[a];e=XT(e,t);return e&&rS.apply(void 0,__spreadArray([e,t,r],__read(n),!1))}function XT(e,t,r){var n,a;if(!gs(e)){var i=e;if(i.promisedTypeOfPromise)return i.promisedTypeOfPromise;if(uc(e,Jl(!1)))return i.promisedTypeOfPromise=ll(e)[0];if(!Kk(qu(e),402915324)){var o=vs(e,"then");if(!gs(o)){var s,c,u=o?l_(o,0):WN;if(0!==u.length){try{for(var _=__values(u),l=_.next();!l.done;l=_.next()){var d=l.value,f=L_(d);f&&f!==Lt&&!em(e,f,Na)?s=f:c=vD(c,d)}}catch(e){n={error:e}}finally{try{l&&!l.done&&(a=_.return)&&a.call(_)}finally{if(n)throw n.error}}if(!c)return rA.assertIsDefined(s),r&&(r.value=s),void(t&&Ua(t,mA.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1,$o(e),$o(s)));r=Cv(hd(iD(c,ck)),2097152);if(!gs(r)){r=l_(r,0);if(0!==r.length)return i.promisedTypeOfPromise=hd(iD(r,ck),2);t&&Ua(t,mA.The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback)}}else t&&Ua(t,mA.A_promise_must_have_a_then_method)}}}}function QT(e,t,r,n){for(var a=[],i=4;i<arguments.length;i++)a[i-4]=arguments[i];return(t?rS:nS).apply(void 0,__spreadArray([e,r,n],__read(a),!1))||dt}function YT(e){if(Kk(qu(e),402915324))return!1;e=vs(e,"then");return!!e&&0<l_(Cv(e,2097152),0).length}function ZT(e){if(16777216&e.flags){var t=Kl(!1);return!!t&&e.aliasSymbol===t&&1===(null==(e=e.aliasTypeArguments)?void 0:e.length)}return!1}function $T(e){return 1048576&e.flags?Gv(e,$T):ZT(e)?e.aliasTypeArguments[0]:e}function eS(e){if(!gs(e)&&!ZT(e)&&$d(e)){var t=Vu(e);if(t?3&t.flags||Gp(t)||qv(t,YT):Wk(e,8650752))return 1}}function tS(e){if(eS(e)){var t=function(e){var t=Kl(!0);if(t)return pl(t,[$T(e)])}(e);if(t)return t}return rA.assert(ZT(e)||void 0===XT(e),"type provided should not be a non-generic 'promise'-like."),e}function rS(e,t,r){for(var n=[],a=3;a<arguments.length;a++)n[a-3]=arguments[a];r=nS.apply(void 0,__spreadArray([e,t,r],__read(n),!1));return r&&tS(r)}function nS(e,t,r){for(var n=[],a=3;a<arguments.length;a++)n[a-3]=arguments[a];if(gs(e))return e;if(ZT(e))return e;var i=e;if(i.awaitedTypeOfType)return i.awaitedTypeOfType;if(1048576&e.flags){if(0<=Ta.lastIndexOf(e.id))return void(t&&Ua(t,mA.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method));var o=t?function(e){return nS.apply(void 0,__spreadArray([e,t,r],__read(n),!1))}:nS;Ta.push(e.id);var s=Gv(e,o);return Ta.pop(),i.awaitedTypeOfType=s}if(eS(e))return i.awaitedTypeOfType=e;o={value:void 0},s=XT(e,void 0,o);if(s){if(e.id===s.id||0<=Ta.lastIndexOf(s.id))return void(t&&Ua(t,mA.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method));Ta.push(e.id);s=nS.apply(void 0,__spreadArray([s,t,r],__read(n),!1));return Ta.pop(),s?i.awaitedTypeOfType=s:void 0}if(!YT(e))return i.awaitedTypeOfType=e;t&&(rA.assertIsDefined(r),i=void 0,o.value&&(i=$L(i,mA.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1,$o(e),$o(o.value))),i=$L.apply(void 0,__spreadArray([i,r],__read(n),!1)),Sa.add(nP(CF(t),t,i)))}function aS(e,t,r,n,a,i,o){return void 0===i&&(i=r.length),void 0===o&&(o=0),Zc(uR.createFunctionTypeNode(void 0,WN,uR.createKeywordTypeNode(133)),e,t,r,n,a,i,o)}function iS(e,t,r,n,a,i,o){return K_(aS(e,t,r,n,a,i,o))}function oS(e){return iS(void 0,void 0,WN,e)}function sS(e){return iS(void 0,void 0,[Ya("value",e)],Lt)}function cS(e,t){var r,n;e&&(r=EL(e),n=2097152|(80===e.kind?788968:1920),(n=pi(r,r.escapedText,n,void 0,void 0,!0))&&2097152&n.flags&&(Oe&&So(n)&&!zC(Ui(n))&&!Hi(n)?Gi(n):t&&sM(ee)&&5<=nM(ee)&&!So(n)&&!dD(n.declarations,pE)&&(e=Ua(e,mA.A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled),(n=QN(n.declarations||WN,Ti))&&SM(e,tP(n,mA._0_was_imported_here,LA(r))))))}function uS(e){e=_S(e);e&&hE(e)&&cS(e,!0)}function _S(e){if(e)switch(e.kind){case 193:case 192:return lS(e.types);case 194:return lS([e.trueType,e.falseType]);case 196:case 202:return _S(e.type);case 183:return e.typeName}}function lS(e){var t,r,n;try{for(var a=__values(e),i=a.next();!i.done;i=a.next()){for(var o=i.value;196===o.kind||202===o.kind;)o=o.type;if(146!==o.kind&&(te||(201!==o.kind||106!==o.literal.kind)&&157!==o.kind)){var s=_S(o);if(!s)return;if(n){if(!xR(n)||!xR(s)||n.escapedText!==s.escapedText)return}else n=s}}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n}function dS(e){var t=nL(e);return uF(e)?xP(t):t}function fS(e){var t,r,n,a,i,o,s,c;if(qB(e)&&gL(e)&&e.modifiers&&XP(T,e,e.parent,e.parent.parent)){var u=QN(e.modifiers,NR);if(u){if(T?(dN(u,8),169===e.kind&&dN(u,32)):V<99&&(dN(u,8),Pj(e)?e.name&&!Dw(e)||dN(u,8388608):vj(e)||(bR(e.name)&&(FR(e)||DE(e)||AE(e))&&dN(u,8388608),SR(e.name)&&dN(u,16777216))),ee.emitDecoratorMetadata)switch(dN(u,16),e.kind){case 263:var _=XO(e);if(_)try{for(var l=__values(_.parameters),d=l.next();!d.done;d=l.next())uS(dS(d.value))}catch(e){t={error:e}}finally{try{d&&!d.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}break;case 177:case 178:var f=177===e.kind?178:177,f=mF(yo(e),f);uS(Qs(e)||f&&Qs(f));break;case 174:try{for(var p=__values(e.parameters),m=p.next();!m.done;m=p.next())uS(dS(m.value))}catch(e){n={error:e}}finally{try{m&&!m.done&&(a=p.return)&&a.call(p)}finally{if(n)throw n.error}}uS(aL(e));break;case 172:uS(nL(e));break;case 169:uS(dS(e));var y=e.parent;try{for(var v=__values(y.parameters),g=v.next();!g.done;g=v.next())uS(dS(g.value))}catch(e){i={error:e}}finally{try{g&&!g.done&&(o=v.return)&&o.call(v)}finally{if(i)throw i.error}}uS(aL(y))}try{for(var h=__values(e.modifiers),x=h.next();!x.done;x=h.next()){var b=x.value;NR(b)&&function(e){Eb(n=Cb(e),e);var t=j_(n);if(!(1&t.flags)){n=Tk(e);if(null!=n&&n.resolvedReturnType){var r,n=n.resolvedReturnType;switch(e.parent.kind){case 263:case 231:r=mA.Decorator_function_return_type_0_is_not_assignable_to_type_1;break;case 172:if(!T){r=mA.Decorator_function_return_type_0_is_not_assignable_to_type_1;break}case 169:r=mA.Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any;break;case 174:case 177:case 178:r=mA.Decorator_function_return_type_0_is_not_assignable_to_type_1;break;default:return rA.failBadSyntaxKind(e.parent)}Ip(t,n,e.expression,r)}}}(b)}}catch(e){s={error:e}}finally{try{x&&!x.done&&(c=h.return)&&c.call(h)}finally{if(s)throw s.error}}}}}function pS(e){switch(e.kind){case 80:return e;case 211:return e.name;default:return}}function mS(t){fS(t),NT(t);var e,r,n=kO(t);t.name&&167===t.name.kind&&bh(t.name),Wc(t)&&(a=yo(t),r=null==(r=(e=t.localSymbol||a).declarations)?void 0:r.find(function(e){return e.kind===t.kind&&!(524288&e.flags)}),t===r&&HT(e),a.parent&&HT(a));var a,i=173===t.kind?void 0:t.body;iC(i),Ok(t,B_(t)),D(function(){aL(t)||(EF(i)&&!qT(t)&&ky(t,ut),1&n&&FF(i)&&j_(E_(t)))}),!cI(t)||(a=XA(t))&&a.typeExpression&&!ph(Uf(a.typeExpression),t)&&Ua(a.typeExpression.type,mA.The_type_of_a_function_declaration_must_match_the_function_s_signature)}function yS(r){D(function(){var e=CF(r),t=jn.get(e.path);t||(t=[],jn.set(e.path,t));t.push(r)})}function vS(e,t){var r,n,a,i,o;try{for(var s=__values(e),c=s.next();!c.done;c=s.next()){var u=c.value;switch(u.kind){case 263:case 231:!function(e,t){var r,n,a,i;try{for(var o=__values(e.members),s=o.next();!s.done;s=o.next()){var c=s.value;switch(c.kind){case 174:case 172:case 177:case 178:if(178===c.kind&&32768&c.symbol.flags)break;var u=yo(c);u.isReferenced||!(uL(c,8)||BA(c)&&bR(c.name))||33554432&c.flags||t(c,0,tP(c.name,mA._0_is_declared_but_its_value_is_never_read,Yo(u)));break;case 176:try{for(var _=(a=void 0,__values(c.parameters)),l=_.next();!l.done;l=_.next()){var d=l.value;!d.symbol.isReferenced&&_L(d,8)&&t(d,0,tP(d.name,mA.Property_0_is_declared_but_its_value_is_never_read,RA(d.symbol)))}}catch(e){a={error:e}}finally{try{l&&!l.done&&(i=_.return)&&i.call(_)}finally{if(a)throw a.error}}break;case 181:case 240:case 175:break;default:rA.fail("Unexpected class member")}}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}(u,t),xS(u,t);break;case 312:case 267:case 241:case 269:case 248:case 249:case 250:SS(u,t);break;case 176:case 218:case 262:case 219:case 174:case 177:case 178:u.body&&SS(u,t),xS(u,t);break;case 173:case 179:case 180:case 184:case 185:case 265:case 264:xS(u,t);break;case 195:i=t,o=void 0,bS(o=(a=u).typeParameter)&&i(a,1,tP(a,mA._0_is_declared_but_its_value_is_never_read,LA(o.name)));break;default:rA.assertNever(u,"Node should not have been registered for unused identifiers check")}}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}}function gS(e,t,r){r(e,0,tP(JA(e)||e,KM(e)?mA._0_is_declared_but_never_used:mA._0_is_declared_but_its_value_is_never_read,t))}function hS(e){return xR(e)&&95===LA(e).charCodeAt(0)}function xS(e,t){var r,n,a=yo(e).declarations;if(a&&ND(a)===e){var i=eE(e),o=new Set;try{for(var s=__values(i),c=s.next();!c.done;c=s.next()){var u,_,l,d,f=c.value;bS(f)&&(u=LA(f.name),195!==(d=f.parent).kind&&d.typeParameters.every(bS)?lD(o,d)&&(_=CF(d),l=DB(d)?CM(d):NM(_,d.typeParameters),d=1===d.typeParameters.length?[mA._0_is_declared_but_its_value_is_never_read,u]:[mA.All_type_parameters_are_unused],t(f,1,QL.apply(void 0,__spreadArray([_,l.pos,l.end-l.pos],__read(d),!1)))):t(f,1,tP(f,mA._0_is_declared_but_its_value_is_never_read,u)))}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}}}function bS(e){return!(262144&mo(e.symbol).isReferenced||hS(e.name))}function kS(e,t,r,n){var a=String(n(t)),n=e.get(a);n?n[1].push(r):e.set(a,[t,[r]])}function TS(e){return BD(MO(e),CR)}function SS(e,u){var _=new Map,l=new Map,d=new Map;e.locals.forEach(function(e){var t,r,n;if((262144&e.flags?3&e.flags&&!(3&e.isReferenced):!e.isReferenced&&!e.exportSymbol)&&e.declarations)try{for(var a=__values(e.declarations),i=a.next();!i.done;i=a.next()){var o,s,c=i.value;(tj(n=c)?(!$R(n.parent)||n.propertyName)&&hS(n.name):RF(n)||(Aj(n)&&qE(n.parent.parent)||CS(n))&&hS(n.name))||(CS(c)?kS(_,273===(n=c).kind?n:(274===n.kind?n:n.parent).parent,c,mJ):tj(c)&&$R(c.parent)?c!==ND(c.parent.elements)&&ND(c.parent.elements).dotDotDotToken||kS(l,c.parent,c,mJ):Aj(c)?(o=7&VN(c),s=JA(c),(4==o||6==o)&&s&&hS(s)||kS(d,c.parent,c,mJ)):(o=e.valueDeclaration&&TS(e.valueDeclaration),s=e.valueDeclaration&&JA(e.valueDeclaration),o&&s?CA(o,o.parent)||ZO(o)||hS(s)||(tj(c)&&ej(c.parent)?kS(l,c.parent,c,mJ):u(o,1,tP(s,mA._0_is_declared_but_its_value_is_never_read,RA(e)))):gS(c,RA(e),u)))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}),_.forEach(function(e){var t,r,n=__read(e,2),e=n[0],a=n[1],n=e.parent;if((e.name?1:0)+(e.namedBindings?274===e.namedBindings.kind?1:e.namedBindings.elements.length:0)===a.length)u(n,0,1===a.length?tP(n,mA._0_is_declared_but_its_value_is_never_read,LA(SD(a).name)):tP(n,mA.All_imports_in_import_declaration_are_unused));else try{for(var i=__values(a),o=i.next();!o.done;o=i.next()){var s=o.value;gS(s,LA(s.name),u)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}}),l.forEach(function(e){var t,r,n=__read(e,2),e=n[0],a=n[1],i=TS(e.parent)?1:0;if(e.elements.length===a.length)1===a.length&&260===e.parent.kind&&261===e.parent.parent.kind?kS(d,e.parent.parent,e.parent,mJ):u(e,i,1===a.length?tP(e,mA._0_is_declared_but_its_value_is_never_read,wS(SD(a).name)):tP(e,mA.All_destructured_elements_are_unused));else try{for(var o=__values(a),s=o.next();!s.done;s=o.next()){var c=s.value;u(c,i,tP(c,mA._0_is_declared_but_its_value_is_never_read,wS(c.name)))}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}}),d.forEach(function(e){var t,r,n=__read(e,2),e=n[0],a=n[1];if(e.declarations.length===a.length)u(e,0,1===a.length?tP(SD(a).name,mA._0_is_declared_but_its_value_is_never_read,wS(SD(a).name)):tP(243===e.parent.kind?e.parent:e,mA.All_variables_are_unused));else try{for(var i=__values(a),o=i.next();!o.done;o=i.next()){var s=o.value;u(s,0,tP(s,mA._0_is_declared_but_its_value_is_never_read,wS(s.name)))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}})}function wS(e){switch(e.kind){case 80:return LA(e);case 207:case 206:return wS(JD(SD(e.elements),tj).name);default:return rA.assertNever(e)}}function CS(e){return 273===e.kind||276===e.kind||274===e.kind}function NS(e){var t;241===e.kind&&jN(e),wE(e)?(t=Un,KN(e.statements,iC),Un=t):KN(e.statements,iC),e.locals&&yS(e)}function DS(e,t,r){if((null==t?void 0:t.escapedText)===r&&172!==e.kind&&171!==e.kind&&174!==e.kind&&173!==e.kind&&177!==e.kind&&178!==e.kind&&303!==e.kind&&!(33554432&e.flags||(zj(e)||Bj(e)||Vj(e))&&pE(e))){e=MO(e);return CR(e)&&EF(e.parent.body)?void 0:1}}function AS(t){FA(t,function(e){return!!(4&GC(e))&&(80!==t.kind?Ua(JA(t),mA.Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference):Ua(t,mA.Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference),!0)})}function ES(t){FA(t,function(e){return!!(8&GC(e))&&(80!==t.kind?Ua(JA(t),mA.Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference):Ua(t,mA.Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference),!0)})}function FS(e){1048576&GC(GF(e))&&(rA.assert(BA(e)&&xR(e.name)&&"string"==typeof e.name.escapedText,"The target of a WeakMap/WeakSet collision check should be an identifier"),Ja("noEmit",e,mA.Compiler_reserves_name_0_when_emitting_private_identifier_downlevel,e.name.escapedText))}function PS(e){var t,r,n,a=!1;if(vj(e))try{for(var i=__values(e.members),o=i.next();!o.done;o=i.next())if(2097152&GC(o.value)){a=!0;break}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}else _j(e)?2097152&GC(e)&&(a=!0):(n=GF(e))&&2097152&GC(n)&&(a=!0);a&&(rA.assert(BA(e)&&xR(e.name),"The target of a Reflect collision check should be an identifier"),Ja("noEmit",e,mA.Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers,QF(e.name),"Reflect"))}function IS(e,t){var r,n;t&&(r=e,n=t,5<=x&&!(100<=x&&1===CF(r).impliedNodeFormat)||n&&(DS(r,n,"require")||DS(r,n,"exports"))&&(Mj(r)&&1!==$B(r)||312===(r=ys(r)).kind&&_P(r)&&Ja("noEmit",n,mA.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,QF(n),QF(n))),r=e,!(n=t)||4<=V||!DS(r,n,"Promise")||Mj(r)&&1!==$B(r)||312===(r=ys(r)).kind&&_P(r)&&4096&r.flags&&Ja("noEmit",n,mA.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,QF(n),QF(n)),r=e,n=t,V<=8&&(DS(r,n,"WeakMap")||DS(r,n,"WeakSet"))&&xa.push(r),n=e,(r=t)&&2<=V&&V<=8&&DS(n,r,"Reflect")&&ba.push(n),NE(e)?(Sw(t,mA.Class_name_cannot_be_0),33554432&e.flags||(n=t,1<=V&&"Object"===n.escapedText&&(x<5||1===CF(n).impliedNodeFormat)&&Ua(n,mA.Class_name_cannot_be_Object_when_targeting_ES5_with_module_0,oA[x]))):Lj(e)&&Sw(t,mA.Enum_name_cannot_be_0))}function OS(e){return e===_t?ut:e===Er?Ar:e}function LS(t){var e,r,n,a,i,o,s;if(fS(t),tj(t)||iC(t.type),t.name){if(167===t.name.kind&&(bh(t.name),aF(t)&&t.initializer&&iT(t.initializer)),tj(t)){if(t.propertyName&&xR(t.name)&&LO(t)&&EF(PP(t).body))return void ka.push(t);$R(t.parent)&&t.dotDotDotToken&&V<5&&dN(t,4),t.propertyName&&167===t.propertyName.kind&&bh(t.propertyName);var c=t.parent.parent,u=xs(c,t.dotDotDotToken?64:0),_=t.propertyName||t.name;u&&!PE(_)&&(!sR(_=Od(_))||(_=u_(u,cR(_)))&&(Ex(_,void 0,!1),Zh(t,!!c.initializer&&108===c.initializer.kind,!1,u,_)))}PE(t.name)&&(207===t.name.kind&&V<2&&ee.downlevelIteration&&dN(t,512),KN(t.name.elements,iC)),CR(t)&&t.initializer&&EF(PP(t).body)?Ua(t,mA.A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation):PE(t.name)?cv(t)||(e=aF(t)&&t.initializer&&249!==t.parent.parent.kind,r=!dD(t.name.elements,$D(gj)),(e||r)&&(a=qs(t),e&&(n=iT(t.initializer),te&&r?cx(n,t):Op(n,qs(t),t,t.initializer)),r&&(ej(t.name)?KS(65,a,gt,t):te&&cx(a,t)))):2097152&(e=yo(t)).flags&&(fI(t)||pI(t))?Kw(t):(r=OS(sc(e)),t===e.valueDeclaration?((s=aF(t)&&vI(t))&&(cI(t)&&nj(s)&&(0===s.properties.length||OL(t.name))&&!(null==(i=e.exports)||!i.size)||249===t.parent.parent.kind||(Op(n=iT(s),r,t,s,void 0),6==(a=7&VN(t))?(i=(rn=rn||Ol("AsyncDisposable",0,!0))||$t,o=Wl(!0),i!==$t&&o!==$t&&Ip(n,hd([i,o,Tt,gt]),s,mA.The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_Symbol_dispose_method_or_be_null_or_undefined)):4==a&&(o=Wl(!0))!==$t&&Ip(n,hd([o,Tt,gt]),s,mA.The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_null_or_undefined))),e.declarations&&1<e.declarations.length&&dD(e.declarations,function(e){return e!==t&&kP(e)&&!RS(e,t)})&&Ua(t.name,mA.All_declarations_of_0_must_have_identical_modifiers,QF(t.name))):(s=OS(qs(t)),hs(r)||hs(s)||Tp(r,s)||67108864&e.flags||MS(e.valueDeclaration,r,t,s),aF(t)&&t.initializer&&Op(iT(t.initializer),s,t,t.initializer,void 0),e.valueDeclaration&&!RS(t,e.valueDeclaration)&&Ua(t.name,mA.All_declarations_of_0_must_have_identical_modifiers,QF(t.name))),172!==t.kind&&171!==t.kind&&(KT(t),260!==t.kind&&208!==t.kind||function(e){if(0==(7&VN(e))&&!LO(e)){var t=yo(e);if(1&t.flags){if(!xR(e.name))return rA.fail();var r=pi(e,e.name.escapedText,3,void 0,void 0,!1);r&&r!==t&&2&r.flags&&7&Qh(r)&&((t=243===(t=xO(r.valueDeclaration,261)).parent.kind&&t.parent.parent?t.parent.parent:void 0)&&(241===t.kind&&bE(t.parent)||268===t.kind||267===t.kind||312===t.kind)||(r=Yo(r),Ua(e,mA.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1,r,r)))}}}(t),IS(t,t.name)))}}function MS(e,t,r,n){var a=JA(r),i=172===r.kind||171===r.kind?mA.Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:mA.Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2,r=QF(a),n=Ua(a,i,r,$o(t),$o(n));e&&SM(n,tP(e,mA._0_was_also_declared_here,r))}function RS(e,t){if(169===e.kind&&260===t.kind||260===e.kind&&169===t.kind)return 1;if(JI(e)===JI(t))return hL(e,888)===hL(t,888)}function jS(e){null!=iA&&iA.push(iA.Phase.Check,"checkVariableDeclaration",{kind:e.kind,pos:e.pos,end:e.end,path:e.tracingPath}),function(e){var t=VN(e),r=7&t;if(PE(e.name))switch(r){case 6:return RN(e,mA._0_declarations_may_not_have_binding_patterns,"await using");case 4:return RN(e,mA._0_declarations_may_not_have_binding_patterns,"using")}if(249!==e.parent.parent.kind&&250!==e.parent.parent.kind)if(33554432&t)FN(e);else if(!e.initializer){if(PE(e.name)&&!PE(e.parent))return RN(e,mA.A_destructuring_declaration_must_have_an_initializer);switch(r){case 6:return RN(e,mA._0_declarations_must_be_initialized,"await using");case 4:return RN(e,mA._0_declarations_must_be_initialized,"using");case 2:return RN(e,mA._0_declarations_must_be_initialized,"const")}}if(e.exclamationToken&&(243!==e.parent.parent.kind||!e.type||e.initializer||33554432&t)){t=e.initializer?mA.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:e.type?mA.A_definite_assignment_assertion_is_not_permitted_in_this_context:mA.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations;return RN(e.exclamationToken,t)}!(x<5||1===CF(e).impliedNodeFormat)||4===x||33554432&e.parent.parent.flags||!_L(e.parent.parent,1)||!function e(t){var r,n;if(80===t.kind){if("__esModule"===LA(t))return MN("noEmit",t,mA.Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules)}else{var a=t.elements;try{for(var i=__values(a),o=i.next();!o.done;o=i.next()){var s=o.value;if(!gj(s))return e(s.name)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}return!1}(e.name),r&&function e(t){var r,n;if(80===t.kind){if("let"===t.escapedText)return RN(t,mA.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations)}else{var a=t.elements;try{for(var i=__values(a),o=i.next();!o.done;o=i.next()){var s=o.value;gj(s)||e(s.name)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}return!1}(e.name)}(e),LS(e),null!=iA&&iA.pop()}function BS(e){return function(e){if(e.dotDotDotToken){var t=e.parent.elements;if(e!==ND(t))return RN(e,mA.A_rest_element_must_be_last_in_a_destructuring_pattern);if(mN(t,mA.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),e.propertyName)return RN(e.name,mA.A_rest_element_cannot_have_a_property_name)}if(e.dotDotDotToken&&e.initializer)LN(e,e.initializer.pos-1,1,mA.A_rest_element_cannot_have_an_initializer)}(e),LS(e)}function JS(e){var t=7&AA(e);4!=t&&6!=t||dN(e,33554432),KN(e.declarations,iC)}function zS(e){fN(e)||PN(e.declarationList)||function(e){if(!function e(t){switch(t.kind){case 245:case 246:case 247:case 254:case 248:case 249:case 250:return!1;case 256:return e(t.parent)}return!0}(e.parent)){var t=7&VN(e.declarationList);if(t){t=1==t?"let":2==t?"const":4==t?"using":6==t?"await using":rA.fail("Unknown BlockScope flag");RN(e,mA._0_declarations_can_only_be_declared_inside_a_block,t)}}}(e),JS(e.declarationList)}function US(e,_,t){function l(e,t){for(r(e=oO(e),t);mj(e)&&(57===e.operatorToken.kind||61===e.operatorToken.kind);)r(e=oO(e.left),t)}function r(e,t){var r,n,a,i,o,s,c,u=SL(e)?oO(e.right):e;CI(u)||(SL(u)?l(u,t):(r=u===e?_:qS(u),a=aj(u)&&oT(u.expression),4194304&wv(r)&&!a&&(i=l_(r,0),n=!!GT(r),0===i.length&&!n||((i=(a=xR(u)?u:aj(u)?u.name:void 0)&&kC(a))||n)&&(i&&mj(e.parent)&&function(e,n){for(;mj(e)&&56===e.operatorToken.kind;){if(HB(e.right,function e(t){if(xR(t)){var r=kC(t);if(r&&r===n)return!0}return HB(t,e)}))return!0;e=e.parent}return!1}(e.parent,i)||i&&t&&(o=e,s=a,c=i,!!HB(t,function e(t){if(xR(t)){var r=kC(t);if(r&&r===c){if(xR(o)||xR(s)&&mj(s.parent))return!0;for(var n=s.parent,a=t.parent;n&&a;){if(xR(n)&&xR(a)||110===n.kind&&110===a.kind)return kC(n)===kC(a);if(aj(n)&&aj(a)){if(kC(n.name)!==kC(a.name))return!1;a=a.expression,n=n.expression}else{if(!oj(n)||!oj(a))return!1;a=a.expression,n=n.expression}}}}return HB(t,e)}))||(n?Wa(u,!0,mA.This_condition_will_always_return_true_since_this_0_is_always_defined,ts(r)):Ua(u,mA.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead))))))}te&&l(e,t)}function VS(e,t){return 16384&e.flags&&Ua(t,mA.An_expression_of_type_void_cannot_be_tested_for_truthiness),e}function qS(e,t){return VS(TT(e,t),e)}function WS(e){CN(e);var t,r,n,a=nx(TT(e.expression));261===e.initializer.kind?((n=e.initializer.declarations[0])&&PE(n.name)&&Ua(n.name,mA.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern),JS(e.initializer)):(r=TT(t=e.initializer),209===t.kind||210===t.kind?Ua(t,mA.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern):Ap(131072&(n=Bd(jd(n=a))).flags?wt:n,r)?Jk(t,mA.The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access,mA.The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access):Ua(t,mA.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any)),a!==Mt&&Hk(a,126091264)||Ua(e.expression,mA.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,$o(a)),iC(e.statement),e.locals&&yS(e)}function HS(e){return KS(e.awaitModifier?15:13,tx(e.expression),gt,e.expression)}function KS(e,t,r,n){return gs(t)?t:GS(e,t,r,n,!0)||ut}function GS(r,n,e,t,a){var i=0!=(2&r);if(n!==Mt){var o=2<=V,s=!o&&ee.downlevelIteration,c=ee.noUncheckedIndexedAccess&&!!(128&r);if(o||s||i){var u=$S(n,r,o?t:void 0);if(a&&(!u||(_=8&r?mA.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:32&r?mA.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:64&r?mA.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:16&r?mA.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)&&Ip(e,u.nextType,t,_)),u||o)return c?Pv(u&&u.yieldType):u&&u.yieldType}var a=n,e=!1,_=!1;if(4&r)if(1048576&a.flags?(u=nD(o=n.types,function(e){return!(402653316&e.flags)}))!==o&&(a=hd(u,2)):402653316&a.flags&&(a=Mt),_=a!==n,_&&(V<1&&t&&(Ua(t,mA.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher),e=!0),131072&a.flags))return c?Pv(wt):wt;if(!Im(a))return t&&!e&&(s=(e=__read(function(e,t){if(t)return e?[mA.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0]:[mA.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0];if(XS(r,0,n,void 0))return[mA.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher,!1];if(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==(t=n.symbol)?void 0:t.escapedName))return[mA.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher,!0];return e?[mA.Type_0_is_not_an_array_type_or_a_string_type,!0]:[mA.Type_0_is_not_an_array_type,!0]}(!!(4&r)&&!_,s),2))[0],Wa(t,e[1]&&!!GT(a),s,$o(a))),_?c?Pv(wt):wt:void 0;a=h_(a,Ct);return _&&a?402653316&a.flags&&!ee.noUncheckedIndexedAccess?wt:hd(c?[a,wt,gt]:[a,wt],2):128&r?Pv(a):a}ow(t,n,i)}function XS(e,t,r,n){if(!gs(r)){n=$S(r,e,n);return n&&n[xJ(t)]}}function QS(e,t,r){if(void 0===e&&(e=Mt),void 0===t&&(t=Mt),void 0===r&&(r=yt),67359327&e.flags&&180227&t.flags&&180227&r.flags){var n=al([e,t,r]),a=An.get(n);return a||(a={yieldType:e,returnType:t,nextType:r},An.set(n,a)),a}return{yieldType:e,returnType:t,nextType:r}}function YS(e){var t,r,n,a,i;try{for(var o=__values(e),s=o.next();!s.done;s=o.next()){var c=s.value;if(void 0!==c&&c!==En){if(c===Fn)return Fn;n=vD(n,c.yieldType),a=vD(a,c.returnType),i=vD(i,c.nextType)}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return n||a||i?QS(n&&hd(n),a&&hd(a),i&&Cd(i)):En}function ZS(e,t,r){return e[t]=r}function $S(e,t,r){var n,a,i,o,s,c,u;if(gs(e))return Fn;if(!(1048576&e.flags)){var _=tw(e,t,r,h=r?{errors:void 0}:void 0);if(_===En)return void(r&&(x=ow(r,e,!!(2&t)),null!=h&&h.errors&&SM.apply(void 0,__spreadArray([x],__read(h.errors),!1))));if(null!=(y=null==h?void 0:h.errors)&&y.length)try{for(var l=__values(h.errors),d=l.next();!d.done;d=l.next()){var f=d.value;Sa.add(f)}}catch(e){n={error:e}}finally{try{d&&!d.done&&(a=l.return)&&a.call(l)}finally{if(n)throw n.error}}return _}var p,m=2&t?"iterationTypesOfAsyncIterable":"iterationTypesOfIterable",y=e[m];if(y)return y===En?void 0:y;try{for(var v=__values(e.types),g=v.next();!g.done;g=v.next()){var h,x,_=tw(g.value,t,r,h=r?{errors:void 0}:void 0);if(_===En)return r&&(x=ow(r,e,!!(2&t)),null!=h&&h.errors&&SM.apply(void 0,__spreadArray([x],__read(h.errors),!1))),void ZS(e,m,En);if(null!=(u=null==h?void 0:h.errors)&&u.length)try{for(var b=(s=void 0,__values(h.errors)),k=b.next();!k.done;k=b.next()){f=k.value;Sa.add(f)}}catch(e){s={error:e}}finally{try{k&&!k.done&&(c=b.return)&&c.call(b)}finally{if(s)throw s.error}}p=vD(p,_)}}catch(e){i={error:e}}finally{try{g&&!g.done&&(o=v.return)&&o.call(v)}finally{if(i)throw i.error}}y=p?YS(p):En;return ZS(e,m,y),y===En?void 0:y}function ew(e,t){if(e===En)return En;if(e===Fn)return Fn;var r=e.yieldType,n=e.returnType,e=e.nextType;return t&&Kl(!0),QS(rS(r,t)||ut,rS(n,t)||ut,e)}function tw(e,t,r,n){if(gs(e))return Fn;var a,i=!1;if(2&t&&(a=rw(e,On)||aw(e,On))){if(a!==En||!r)return 8&t?ew(a,r):a;i=!0}if(1&t&&(a=rw(e,Ln)||aw(e,Ln)))if(a===En&&r)i=!0;else{if(!(2&t))return a;if(a!==En)return a=ew(a,r),i?a:ZS(e,"iterationTypesOfAsyncIterable",a)}if(2&t&&(a=iw(e,On,r,n,i))!==En)return a;if(1&t&&(a=iw(e,Ln,r,n,i))!==En)return 2&t?(a=ew(a,r),i?a:ZS(e,"iterationTypesOfAsyncIterable",a)):a;return En}function rw(e,t){return e[t.iterableCacheKey]}function nw(e,t){t=rw(e,t)||iw(e,t,void 0,void 0,!1);return t===En?In:t}function aw(e,t){var r;if(uc(e,r=t.getGlobalIterableType(!1))||uc(e,r=t.getGlobalIterableIteratorType(!1))){var n=__read(ll(e),1)[0],a=nw(r,t),i=a.returnType,o=a.nextType;return ZS(e,t.iterableCacheKey,QS(t.resolveIterationType(n,void 0)||n,t.resolveIterationType(i,void 0)||i,o))}if(uc(e,t.getGlobalGeneratorType(!1))){a=__read(ll(e),3),n=a[0],i=a[1],o=a[2];return ZS(e,t.iterableCacheKey,QS(t.resolveIterationType(n,void 0)||n,t.resolveIterationType(i,void 0)||i,o))}}function iw(e,t,r,n,a){var i,o=u_(e,(o=t.iteratorSymbolName,(i=(i=jl(!1))&&vs(sc(i),IA(o)))&&sR(i)?cR(i):"__@".concat(o))),o=!o||16777216&o.flags?void 0:sc(o);if(gs(o))return a?Fn:ZS(e,t.iterableCacheKey,Fn);var o=o?l_(o,0):void 0;if(!dD(o))return a?En:ZS(e,t.iterableCacheKey,En);n=null!==(n=sw(Cd(iD(o,j_)),t,r,n,a))&&void 0!==n?n:En;return a?n:ZS(e,t.iterableCacheKey,n)}function ow(e,t,r){var n=r?mA.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:mA.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator;return Wa(e,!!GT(t)||!r&&Dj(e.parent)&&e.parent.expression===e&&Vl(!1)!==ar&&Ap(t,Vl(!1)),n,$o(t))}function sw(e,t,r,n,a){if(gs(e))return Fn;var i=cw(e,t)||function(e,t){var r=t.getGlobalIterableIteratorType(!1);if(uc(e,r)){var n=__read(ll(e),1)[0],a=cw(r,t)||pw(r,t,void 0,void 0,!1),i=a===En?In:a,o=i.returnType,a=i.nextType;return ZS(e,t.iteratorCacheKey,QS(n,o,a))}if(uc(e,t.getGlobalIteratorType(!1))||uc(e,t.getGlobalGeneratorType(!1))){i=__read(ll(e),3),n=i[0],o=i[1],a=i[2];return ZS(e,t.iteratorCacheKey,QS(n,o,a))}}(e,t);return i===En&&r&&(a=!(i=void 0)),null!=i||(i=pw(e,t,r,n,a)),i===En?void 0:i}function cw(e,t){return e[t.iteratorCacheKey]}function uw(e,t){e=vs(e,"done")||Dt;return Ap(0===t?Dt:Et,e)}function _w(e){return uw(e,0)}function lw(e){return uw(e,1)}function dw(e){if(gs(e))return Fn;var t=e.iterationTypesOfIteratorResult;if(t)return t;if(uc(e,(Wr=Wr||Ol("IteratorYieldResult",1,!1))||ar))return ZS(e,"iterationTypesOfIteratorResult",QS(ll(e)[0],void 0,void 0));if(uc(e,(Hr=Hr||Ol("IteratorReturnResult",1,!1))||ar))return ZS(e,"iterationTypesOfIteratorResult",QS(void 0,ll(e)[0],void 0));var r=Hv(e,_w),t=r!==Mt?vs(r,"value"):void 0,r=Hv(e,lw),r=r!==Mt?vs(r,"value"):void 0;return ZS(e,"iterationTypesOfIteratorResult",t||r?QS(t,r||Lt,void 0):En)}function fw(e,t,r,n,a){var i,o,s=u_(e,r);if(s||"next"===r){e=!s||"next"===r&&16777216&s.flags?void 0:"next"===r?sc(s):Cv(sc(s),2097152);if(gs(e))return"next"===r?Fn:Pn;var c,u,_,l,d,f=e?l_(e,0):WN;if(0===f.length)return n&&(m="next"===r?t.mustHaveANextMethodDiagnostic:t.mustBeAMethodDiagnostic,a?(null!==(p=a.errors)&&void 0!==p||(a.errors=[]),a.errors.push(tP(n,m,r))):Ua(n,m,r)),"next"===r?En:void 0;if(null!=e&&e.symbol&&1===f.length){var s=t.getGlobalGeneratorType(!1),p=t.getGlobalIteratorType(!1),m=(null==(m=null==(m=s.symbol)?void 0:m.members)?void 0:m.get(r))===e.symbol,y=!m&&(null==(y=null==(y=p.symbol)?void 0:y.members)?void 0:y.get(r))===e.symbol;if(m||y){p=m?s:p,e=e.mapper;return QS(Xf(p.typeParameters[0],e),Xf(p.typeParameters[1],e),"next"===r?Xf(p.typeParameters[2],e):void 0)}}try{for(var v=__values(f),g=v.next();!g.done;g=v.next()){var h=g.value;"throw"!==r&&dD(h.parameters)&&(c=vD(c,ek(h,0))),u=vD(u,j_(h))}}catch(e){i={error:e}}finally{try{g&&!g.done&&(o=v.return)&&o.call(v)}finally{if(i)throw i.error}}"throw"!==r&&(x=c?hd(c):yt,"next"===r?_=x:"return"===r&&(l=vD(l,t.resolveIterationType(x,n)||ut)));var x=u?Cd(u):Mt,x=dw(t.resolveIterationType(x,n)||ut);return l=x===En?(n&&(a?(null!==(d=a.errors)&&void 0!==d||(a.errors=[]),a.errors.push(tP(n,t.mustHaveAValueDiagnostic,r))):Ua(n,t.mustHaveAValueDiagnostic,r)),vD(l,d=ut)):(d=x.yieldType,vD(l,x.returnType)),QS(d,hd(l),_)}}function pw(e,t,r,n,a){n=YS([fw(e,t,"next",r,n),fw(e,t,"return",r,n),fw(e,t,"throw",r,n)]);return a?n:ZS(e,t.iteratorCacheKey,n)}function mw(e,t,r){if(!gs(t)){r=yw(t,r);return r&&r[xJ(e)]}}function yw(e,t){if(gs(e))return Fn;var r=t?On:Ln;return $S(e,t?2:1,void 0)||sw(e,r,void 0,void 0,!1)}function vw(e){jN(e)||function(e){for(var t=e;t;){if(kE(t))return RN(e,mA.Jump_target_cannot_cross_function_boundary);switch(t.kind){case 256:if(e.label&&t.label.escapedText===e.label.escapedText)return 251!==e.kind||JE(t.statement,!0)||RN(e,mA.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement);break;case 255:if(252===e.kind&&!e.label)return;break;default:if(JE(t,!1)&&!e.label)return}t=t.parent}if(e.label){var r=252===e.kind?mA.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:mA.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement;return RN(e,r)}r=252===e.kind?mA.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:mA.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement,RN(e,r)}(e)}function gw(e,t){var r=!!(2&t);if(!(1&t))return r?nS(e)||dt:e;e=mw(1,e,r);return e?r?nS($T(e)):e:dt}function hw(e,t){e=gw(t,kO(e));return e&&(Wk(e,16384)||32769&e.flags)}function xw(e){var r;jN(e);var n=!1,a=TT(e.expression);KN(e.caseBlock.clauses,function(e){var t;297!==e.kind||n||(void 0===r?r=e:(RN(e,mA.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement),n=!0)),296===e.kind&&D((t=e,function(){var e=TT(t.expression);eT(a,e)||Vp(e,a,t.expression,void 0)})),KN(e.statements,iC),ee.noFallthroughCasesInSwitch&&e.fallthroughFlowNode&&lg(e.fallthroughFlowNode)&&Ua(e,mA.Fallthrough_case_in_switch)}),e.caseBlock.locals&&yS(e.caseBlock)}function bw(e){jN(e)||xR(e.expression)&&!e.expression.escapedText&&function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=CF(e);IN(a)||(e=sP(a,e.pos),Sa.add(QL.apply(void 0,__spreadArray([a,TA(e),0,t],__read(r),!1))))}(e,mA.Line_break_not_permitted_here),e.expression&&TT(e.expression)}function kw(e,t,r){var n,a,i,o,s,c,u=v_(e);if(0!==u.length){try{for(var _=__values(Fu(e)),l=_.next();!l.done;l=_.next()){var d=l.value;r&&4194304&d.flags||Tw(e,d,Ld(d,8576,!0),cc(d))}}catch(e){n={error:e}}finally{try{l&&!l.done&&(a=_.return)&&a.call(_)}finally{if(n)throw n.error}}var f=t.valueDeclaration;if(f&&NE(f))try{for(var p=__values(f.members),m=p.next();!m.done;m=p.next()){var y,v=m.value;lL(v)||Wc(v)||Tw(e,y=yo(v),xT(v.name.expression),cc(y))}}catch(e){i={error:e}}finally{try{m&&!m.done&&(o=p.return)&&o.call(p)}finally{if(i)throw i.error}}if(1<u.length)try{for(var g=__values(u),h=g.next();!h.done;h=g.next())!function(r,n){var t,e,a=n.declaration,i=x_(r,n.keyType),o=2&WL(r)?mF(r.symbol,264):void 0,s=a&&go(yo(a))===r.symbol?a:void 0;try{for(var c=__values(i),u=c.next();!u.done;u=c.next())!function(t){var e;t!==n&&(e=t.declaration&&go(yo(t.declaration))===r.symbol?t.declaration:void 0,(e=s||e||(o&&!dD(Tc(r),function(e){return!!g_(e,n.keyType)&&!!h_(e,t.keyType)})?o:void 0))&&!Ap(n.type,t.type)&&Ua(e,mA._0_index_type_1_is_not_assignable_to_2_index_type_3,$o(n.keyType),$o(n.type),$o(t.keyType),$o(t.type)))}(u.value)}catch(e){t={error:e}}finally{try{u&&!u.done&&(e=c.return)&&e.call(c)}finally{if(t)throw t.error}}}(e,h.value)}catch(e){s={error:e}}finally{try{h&&!h.done&&(c=g.return)&&c.call(g)}finally{if(s)throw s.error}}}}function Tw(n,a,e,i){var t,r,o=a.valueDeclaration,s=JA(o);if(!s||!bR(s)){var c=x_(n,e),u=2&WL(n)?mF(n.symbol,264):void 0,_=o&&226===o.kind||s&&167===s.kind?o:void 0,l=go(a)===n.symbol?o:void 0;try{for(var d=__values(c),f=d.next();!f.done;f=d.next())!function(t){var e=t.declaration&&go(yo(t.declaration))===n.symbol?t.declaration:void 0,r=l||e||(u&&!dD(Tc(n),function(e){return!!Pu(e,a.escapedName)&&!!h_(e,t.keyType)})?u:void 0);r&&!Ap(i,t.type)&&(e=za(r,mA.Property_0_of_type_1_is_not_assignable_to_2_index_type_3,Yo(a),$o(i),$o(t.keyType),$o(t.type)),_&&r!==_&&SM(e,tP(_,mA._0_is_declared_here,Yo(a))),Sa.add(e))}(f.value)}catch(e){t={error:e}}finally{try{f&&!f.done&&(r=d.return)&&r.call(d)}finally{if(t)throw t.error}}}}function Sw(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":Ua(e,t,e.escapedText)}}function ww(o){var s=!1;if(o)for(var e=0;e<o.length;e++){var t=o[e];ST(t),D(function(r,n){return function(){var e,a,i;r.default?(s=!0,e=r.default,a=o,i=n,function e(t){if(183===t.kind){var r=Cl(t);if(262144&r.flags)for(var n=i;n<a.length;n++)r.symbol===yo(a[n])&&Ua(t,mA.Type_parameter_defaults_can_only_reference_previously_declared_type_parameters)}HB(t,e)}(e)):s&&Ua(r,mA.Required_type_parameters_may_not_follow_optional_type_parameters);for(var t=0;t<n;t++)o[t].symbol===r.symbol&&Ua(r.name,mA.Duplicate_identifier_0,QF(r.name))}}(t,e))}}function Cw(e){var t,r;if(!e.declarations||1!==e.declarations.length){var n=si(e);if(!n.typeParametersChecked){n.typeParametersChecked=!0;var a=nD(e.declarations,function(e){return 263===e.kind||264===e.kind});if(a&&!(a.length<=1))if(!Nw(a,Pc(e).localTypeParameters,eE)){var i=Yo(e);try{for(var o=__values(a),s=o.next();!s.done;s=o.next())Ua(s.value.name,mA.All_declarations_of_0_must_have_identical_type_parameters,i)}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}}}}}function Nw(e,t,r){var n,a,i=HN(t),o=D_(t);try{for(var s=__values(e),c=s.next();!c.done;c=s.next()){var u=r(c.value),_=u.length;if(_<o||i<_)return;for(var l=0;l<_;l++){var d=u[l],f=t[l];if(d.name.escapedText!==f.symbol.escapedName)return;var p=tE(d),m=p&&Uf(p),p=Mu(f);if(m&&p&&!Tp(m,p))return;d=d.default&&Uf(d.default),f=Gu(f);if(d&&f&&!Tp(d,f))return}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(n)throw n.error}}return 1}function Dw(e){var t,r,n,a=!T&&V<99&&QP(!1,e),i=V<=9,o=!C;if(a||i)try{for(var s=__values(e.members),c=s.next();!c.done;c=s.next()){var u=c.value;if(a&&YP(!1,u,e))return null!==(n=kD(zA(e)))&&void 0!==n?n:e;if(i){if(PR(u))return u;if(lL(u)&&(yE(u)||o&&NJ(u)))return u}}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}}function Aw(l){var t,e,r;a=CF(r=l),function(e){var t,r,n=!1,a=!1;if(!fN(e)&&e.heritageClauses)try{for(var i=__values(e.heritageClauses),o=i.next();!o.done;o=i.next()){var s=o.value;if(96===s.token){if(n)return ON(s,mA.extends_clause_already_seen);if(a)return ON(s,mA.extends_clause_must_precede_implements_clause);if(1<s.types.length)return ON(s.types[1],mA.Classes_can_only_extend_a_single_class);n=!0}else{if(rA.assert(119===s.token),a)return ON(s,mA.implements_clause_already_seen);a=!0}xN(s)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}}(r)||yN(r.typeParameters,a),fS(l),IS(l,l.name),ww(eE(l)),KT(l);var n=yo(l),d=Pc(n),f=Qc(d),p=sc(n);Cw(n),HT(n),function(e){var t,r,n,a,i=new Map,o=new Map,s=new Map;try{for(var c=__values(e.members),u=c.next();!u.done;u=c.next()){var _=u.value;if(176===_.kind)try{for(var l=(n=void 0,__values(_.parameters)),d=l.next();!d.done;d=l.next()){var f=d.value;CA(f,_)&&!PE(f.name)&&x(i,f.name,f.name.escapedText,3)}}catch(e){n={error:e}}finally{try{d&&!d.done&&(a=l.return)&&a.call(l)}finally{if(n)throw n.error}}else{var p=lL(_),m=_.name;if(m){var y=bR(m),v=y&&p?16:0,g=y?s:p?o:i,h=m&&NO(m);if(h)switch(_.kind){case 177:x(g,m,h,1|v);break;case 178:x(g,m,h,2|v);break;case 172:x(g,m,h,3|v);break;case 174:x(g,m,h,8|v)}}}}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(t)throw t.error}}function x(e,t,r,n){var a,i,o=e.get(r);o?(16&o)!=(16&n)?Ua(t,mA.Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name,PF(t)):(i=!!(8&n),(a=!!(8&o))||i?a!=i&&Ua(t,mA.Duplicate_identifier_0,PF(t)):o&n&-17?Ua(t,mA.Duplicate_identifier_0,PF(t)):e.set(r,o|n)):e.set(r,n)}}(l),33554432&l.flags||function(e){var t,r;try{for(var n=__values(e.members),a=n.next();!a.done;a=n.next()){var i=a.value,o=i.name;if(lL(i)&&o){var s=NO(o);switch(s){case"name":case"length":case"caller":case"arguments":if(b)break;case"prototype":Ua(o,mA.Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1,s,_s(yo(e)))}}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}(l);var a,m,y=yO(l);y&&(KN(y.typeArguments,iC),V<2&&dN(y.parent,1),(a=vO(l))&&a!==y&&TT(a.expression),(m=Tc(d)).length&&D(function(){var t,e,r,n,a=m[0],i=bc(d),o=Zu(i);if(r=y,!(n=l_(_=o,1)).length||(n=n[0].declaration)&&uL(n,8)&&(n=qL(_.symbol),gC(r,n)||Ua(r,mA.Cannot_extend_a_class_0_Class_constructor_is_marked_as_private,Qi(_.symbol))),iC(y.expression),dD(y.typeArguments)){KN(y.typeArguments,iC);try{for(var s=__values(hc(o,y.typeArguments,y)),c=s.next();!c.done;c=s.next()){var u=c.value;if(!MT(y,u.typeParameters))break}}catch(e){t={error:e}}finally{try{c&&!c.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}}var _=Qc(a,d.thisType);Ip(f,_,void 0)?Ip(p,kp(o),l.name||l,mA.Class_static_side_0_incorrectly_extends_base_class_static_side_1):Pw(l,f,_,mA.Class_0_incorrectly_extends_base_class_1),8650752&i.flags&&(yc(p)?l_(i,1).some(function(e){return 4&e.flags})&&!_L(l,256)&&Ua(l.name||l,mA.A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract):Ua(l.name||l,mA.A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any)),o.symbol&&32&o.symbol.flags||8650752&i.flags||KN(xc(o,y.typeArguments,y),function(e){return!Nb(e.declaration)&&!Tp(j_(e),a)})&&Ua(y.expression,mA.Base_constructors_must_all_have_the_same_return_type),function(p,m){var t,e,y,v,g,h,r=Ou(m);try{for(var n=__values(r),a=n.next();!a.done;a=n.next())(function(e){var t,r,n=Iw(e);if(4194304&n.flags)return;var a=Pu(p,n.escapedName);if(!a)return;var i=Iw(a),o=JL(n);if(rA.assert(!!i,"derived should point to something, even if it is the base class' declaration."),i===n){var s=qL(p.symbol);if(256&o&&(!s||!_L(s,256))){try{for(var c=(t=void 0,__values(Tc(p))),u=c.next();!u.done;u=c.next()){var _=u.value;if(_!==m){_=Pu(_,n.escapedName),_=_&&Iw(_);if(_&&_!==n)return}}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(t)throw t.error}}h=h||Ua(s,mA.Non_abstract_class_0_does_not_implement_all_abstract_members_of_1,$o(p),$o(m)),231===s.kind?SM(h,tP(null!==(y=null!==(y=e.valueDeclaration)&&void 0!==y?y:e.declarations&&SD(e.declarations))&&void 0!==y?y:s,mA.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1,Yo(e),$o(m))):SM(h,tP(null!==(v=null!==(v=e.valueDeclaration)&&void 0!==v?v:e.declarations&&SD(e.declarations))&&void 0!==v?v:s,mA.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2,$o(p),Yo(e),$o(m)))}}else{var l=JL(i);if(8&o||8&l)return;var d=void 0,a=98308&n.flags,s=98308&i.flags;if(a&&s){if((6&BL(n)?null!=(v=n.declarations)&&v.some(function(e){return Ow(e,o)}):null!=(g=n.declarations)&&g.every(function(e){return Ow(e,o)}))||262144&BL(n)||i.valueDeclaration&&mj(i.valueDeclaration))return;var f,e=4!=a&&4==s;return e||4==a&&4!=s?(f=e?mA._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:mA._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor,Ua(JA(i.valueDeclaration)||i.valueDeclaration,f,Yo(n),$o(m),$o(p))):b&&(!(s=null==(g=i.declarations)?void 0:g.find(function(e){return 172===e.kind&&!e.initializer}))||33554432&i.flags||256&o||256&l||null!=(g=i.declarations)&&g.some(function(e){return!!(33554432&e.flags)})||(e=wo(qL(p.symbol)),l=s.name,!s.exclamationToken&&e&&xR(l)&&te&&Rw(l,p,e)||(f=mA.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,Ua(JA(i.valueDeclaration)||i.valueDeclaration,f,Yo(n),$o(m)))))}if(Yh(n)){if(Yh(i)||4&i.flags)return;rA.assert(!!(98304&i.flags)),d=mA.Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor}else d=98304&n.flags?mA.Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:mA.Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function;Ua(JA(i.valueDeclaration)||i.valueDeclaration,d,$o(m),Yo(n),$o(p))}})(a.value)}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}(d,a)})),function(r,n,a,i){var t,e,o=yO(r)&&Tc(n),s=null!=o&&o.length?Qc(SD(o),n.thisType):void 0,c=bc(n);try{for(var u=__values(r.members),_=u.next();!_.done;_=u.next())!function(t){mL(t)||(IR(t)&&KN(t.parameters,function(e){CA(e,t)&&Ew(r,i,c,s,n,a,e,!0)}),Ew(r,i,c,s,n,a,t,!1))}(_.value)}catch(e){t={error:e}}finally{try{_&&!_.done&&(e=u.return)&&e.call(u)}finally{if(t)throw t.error}}}(l,d,f,p);var i=gO(l);if(i)try{for(var o=__values(i),s=o.next();!s.done;s=o.next()){var c=s.value;AL(c.expression)&&!aE(c.expression)||Ua(c.expression,mA.A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments),jT(c),D(function(r){return function(){var e,t=n_(Uf(r));hs(t)||(Sc(t)?(e=t.symbol&&32&t.symbol.flags?mA.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:mA.Class_0_incorrectly_implements_interface_1,t=Qc(t,d.thisType),Ip(f,t,void 0)||Pw(l,f,t,e)):Ua(r,mA.A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members))}}(c))}}catch(e){t={error:e}}finally{try{s&&!s.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}D(function(){kw(d,n),kw(p,n,!0),AT(l),function(e){var t,r;if(te&&v&&!(33554432&e.flags)){var n=wo(e);try{for(var a=__values(e.members),i=a.next();!i.done;i=a.next()){var o,s,c=i.value;2&xL(c)||lL(c)||!Mw(c)||(xR(o=c.name)||bR(o)||SR(o))&&(3&(s=sc(yo(c))).flags||Qp(s)||n&&Rw(o,s,n)||Ua(c.name,mA.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor,QF(o)))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}}(l)})}function Ew(e,t,r,n,a,i,o,s,c){void 0===c&&(c=!0);var u=o.name&&kC(o.name)||kC(o);return u&&Fw(e,t,r,n,a,i,fL(o),pL(o),lL(o),s,RA(u),c?o:void 0)}function Fw(e,t,r,n,a,i,o,s,c,u,_,l){var d=cI(e),f=!!(33554432&e.flags);if(n&&(o||ee.noImplicitOverride)){e=IA(_),r=c?r:n,i=u_(c?t:i,e),e=u_(r,e),n=$o(n);if(i&&!e&&o)return l&&((r=Tx(_,r))?Ua(l,d?mA.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:mA.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1,n,Yo(r)):Ua(l,d?mA.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0:mA.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0,n)),2;if(i&&null!=e&&e.declarations&&ee.noImplicitOverride&&!f){e=dD(e.declarations,pL);if(o)return 0;if(!e)return l&&Ua(l,u?d?mA.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:mA.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0:d?mA.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:mA.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0,n),1;if(s&&e)return l&&Ua(l,mA.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0,n),1}}else if(o)return l&&(a=$o(a),Ua(l,d?mA.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class:mA.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class,a)),2;return 0}function Pw(e,a,i,t){function r(e){if(lL(e))return 1;var t,r,n=e.name&&kC(e.name)||kC(e);n&&(t=u_(a,n.escapedName),r=u_(i,n.escapedName),t&&r&&(Ip(sc(t),sc(r),e.name||e,void 0,function(){return $L(void 0,mA.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2,Yo(n),$o(a),$o(i))})||(s=!0)))}var n,o,s=!1;try{for(var c=__values(e.members),u=c.next();!u.done;u=c.next())r(u.value)}catch(e){n={error:e}}finally{try{u&&!u.done&&(o=c.return)&&o.call(c)}finally{if(n)throw n.error}}s||Ip(a,i,e.name||e,t)}function Iw(e){return 1&BL(e)?e.links.target:e}function Ow(e,t){return 256&t&&(!AR(e)||!e.initializer)||Ij(e.parent)}function Lw(t,e){var r,n,a,i,o=Tc(t);if(o.length<2)return 1;var s=new Map;KN(zc(t).declaredProperties,function(e){s.set(e.escapedName,{prop:e,containingType:t})});var c=!0;try{for(var u=__values(o),_=u.next();!_.done;_=u.next()){var l=_.value,d=Ou(Qc(l,t.thisType));try{for(var f=(a=void 0,__values(d)),p=f.next();!p.done;p=f.next()){var m,y,v=p.value,g=s.get(v.escapedName);g?g.containingType!==t&&0===wm(g.prop,v,Sp)&&(c=!1,m=$o(g.containingType),y=$o(l),g=$L(void 0,mA.Named_property_0_of_types_1_and_2_are_not_identical,Yo(v),m,y),g=$L(g,mA.Interface_0_cannot_simultaneously_extend_types_1_and_2,$o(t),m,y),Sa.add(nP(CF(e),e,g))):s.set(v.escapedName,{prop:v,containingType:l})}}catch(e){a={error:e}}finally{try{p&&!p.done&&(i=f.return)&&i.call(f)}finally{if(a)throw a.error}}}}catch(e){r={error:e}}finally{try{_&&!_.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}return c}function Mw(e){return 172===e.kind&&!pL(e)&&!e.exclamationToken&&!e.initializer}function Rw(e,t,r){e=SR(e)?uR.createElementAccessExpression(uR.createThis(),e.expression):uR.createPropertyAccessExpression(uR.createThis(),e);return jM(e.expression,e),jM(e,r),e.flowNode=r.returnFlowNode,!Qp(fg(e,t,iy(t)))}function jw(c){fN(c)||function(e){var t,r,n=!1;if(e.heritageClauses)try{for(var a=__values(e.heritageClauses),i=a.next();!i.done;i=a.next()){var o=i.value;if(96!==o.token)return rA.assert(119===o.token),ON(o,mA.Interface_declaration_cannot_have_implements_clause);if(n)return ON(o,mA.extends_clause_already_seen);n=!0,xN(o)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}(c),ww(c.typeParameters),D(function(){var t,e;Sw(c.name,mA.Interface_name_cannot_be_0),KT(c);var r=yo(c);Cw(r);var n=mF(r,264);if(c===n){var a=Pc(r),i=Qc(a);if(Lw(a,c.name)){try{for(var o=__values(Tc(a)),s=o.next();!s.done;s=o.next())Ip(i,Qc(s.value,a.thisType),c.name,mA.Interface_0_incorrectly_extends_interface_1)}catch(e){t={error:e}}finally{try{s&&!s.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}kw(a,r)}}DT(c)}),KN(hO(c),function(e){AL(e.expression)&&!aE(e.expression)||Ua(e.expression,mA.An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments),jT(e)}),KN(c.members,iC),D(function(){AT(c),yS(c)})}function Bw(e){var t,r,n=ci(e);if(!(1024&n.flags)){n.flags|=1024;var a=0;try{for(var i=__values(e.members),o=i.next();!o.done;o=i.next())var s=o.value,c=function(e,t){{var r;ZF(e.name)?Ua(e.name,mA.Computed_property_names_are_not_allowed_in_enums):qM(r=$F(e.name))&&!zM(r)&&Ua(e.name,mA.An_enum_member_cannot_have_a_numeric_name)}if(e.initializer)return function(e){var t=dP(e.parent),r=e.initializer,n=Jw(r,e);void 0!==n?t&&"number"==typeof n&&!isFinite(n)&&Ua(r,isNaN(n)?mA.const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:mA.const_enum_member_initializer_was_evaluated_to_a_non_finite_value):t?Ua(r,mA.const_enum_member_initializers_must_be_constant_expressions):33554432&e.parent.flags?Ua(r,mA.In_ambient_enum_declarations_member_initializer_must_be_constant_expression):Ip(TT(r),Ct,r,mA.Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values);return n}(e);if(33554432&e.parent.flags&&!dP(e.parent))return;return void 0===t?void Ua(e.name,mA.Enum_member_must_have_initializer):t}(s,a),a="number"==typeof(ci(s).enumMemberValue=c)?c+1:void 0}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}}}function Jw(e,t){switch(e.kind){case 224:var r=Jw(e.operand,t);if("number"==typeof r)switch(e.operator){case 40:return r;case 41:return-r;case 55:return~r}break;case 226:var n=Jw(e.left,t),a=Jw(e.right,t);if("number"==typeof n&&"number"==typeof a)switch(e.operatorToken.kind){case 52:return n|a;case 51:return n&a;case 49:return n>>a;case 50:return n>>>a;case 48:return n<<a;case 53:return n^a;case 42:return n*a;case 44:return n/a;case 40:return n+a;case 41:return n-a;case 45:return n%a;case 43:return Math.pow(n,a)}else if(!("string"!=typeof n&&"number"!=typeof n||"string"!=typeof a&&"number"!=typeof a||40!==e.operatorToken.kind))return""+n+a;break;case 11:case 15:return e.text;case 228:return Uw(e,t);case 9:return BN(e),+e.text;case 217:return Jw(e.expression,t);case 80:var i=e;if(zM(i.escapedText)&&Yi(i,111551,!0)===Il(i.escapedText,111551,void 0))return+i.escapedText;case 211:if(AL(e)){var o=Yi(e,111551,!0);if(o){if(8&o.flags)return t?zw(e,o,t):XC(o.valueDeclaration);if(vg(o)){var s=o.valueDeclaration;if(s&&!s.type&&s.initializer&&(!t||s!==t&&li(s,t)))return Jw(s.initializer,s)}}}break;case 212:o=e.expression;if(AL(o)&&oF(e.argumentExpression)){s=Yi(o,111551,!0);if(s&&384&s.flags){o=IA(e.argumentExpression.text),o=s.exports.get(o);if(o)return t?zw(e,o,t):XC(o.valueDeclaration)}}}}function zw(e,t,r){var n=t.valueDeclaration;if(n&&n!==r)return li(n,r)?XC(n):(Ua(e,mA.A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums),0);Ua(e,mA.Property_0_is_used_before_being_assigned,Yo(t))}function Uw(e,t){var r,n,a=e.head.text;try{for(var i=__values(e.templateSpans),o=i.next();!o.done;o=i.next()){var s=o.value,c=Jw(s.expression,t);if(void 0===c)return;a+=c,a+=s.literal.text}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a}function Vw(e){D(function(){return function(e){fN(e),IS(e,e.name),KT(e),e.members.forEach(qw),Bw(e);var t=yo(e),r=mF(t,e.kind);{var n,a;e===r&&(t.declarations&&1<t.declarations.length&&(n=dP(e),KN(t.declarations,function(e){Lj(e)&&dP(e)!==n&&Ua(JA(e),mA.Enum_declarations_must_all_be_const_or_non_const)})),a=!1,KN(t.declarations,function(e){if(266!==e.kind)return!1;if(!e.members.length)return!1;e=e.members[0];e.initializer||(a?Ua(e.name,mA.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element):a=!0)}))}}(e)})}function qw(e){bR(e.name)&&Ua(e,mA.An_enum_member_cannot_be_named_with_a_private_identifier),e.initializer&&TT(e.initializer)}function Ww(u){u.body&&(iC(u.body),zF(u)||yS(u)),D(function(){var t,e,r=zF(u),n=33554432&u.flags;r&&!n&&Ua(u.name,mA.Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context);var a=RF(u),i=a?mA.An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:mA.A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module;if($w(u,i))return;fN(u)||n||11!==u.name.kind||RN(u.name,mA.Only_ambient_modules_can_use_quoted_names);xR(u.name)&&IS(u,u.name);KT(u);i=yo(u);{var o;512&i.flags&&!n&&vJ(u,fM(ee))&&(sM(ee)&&!CF(u).externalModuleIndicator&&Ua(u.name,mA.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,Ie),1<(null==(n=i.declarations)?void 0:n.length)&&((o=function(e){var t,r,n=e.declarations;if(n)try{for(var a=__values(n),i=a.next();!i.done;i=a.next()){var o=i.value;if((263===o.kind||262===o.kind&&FF(o.body))&&!(33554432&o.flags))return o}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}(i))&&(CF(u)!==CF(o)?Ua(u.name,mA.A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged):u.pos<o.pos&&Ua(u.name,mA.A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged)),(o=mF(i,263))&&function(e,t){return e=GF(e),t=GF(t),ui(e)?ui(t):!ui(t)&&e===t}(u,o)&&(ci(u).flags|=2048)),!ee.verbatimModuleSyntax||312!==u.parent.kind||1!==x&&1!==u.parent.impliedNodeFormat||(o=null==(o=u.modifiers)?void 0:o.find(function(e){return 95===e.kind}))&&Ua(o,mA.A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled))}if(a)if(UF(u)){if((r||33554432&yo(u).flags)&&u.body)try{for(var s=__values(u.body.statements),c=s.next();!c.done;c=s.next())!function e(t,r){var n,a,i,o;switch(t.kind){case 243:try{for(var s=__values(t.declarationList.declarations),c=s.next();!c.done;c=s.next()){var u=c.value;e(u,r)}}catch(e){n={error:e}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(n)throw n.error}}break;case 277:case 278:ON(t,mA.Exports_and_export_assignments_are_not_permitted_in_module_augmentations);break;case 271:case 272:ON(t,mA.Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module);break;case 208:case 260:var _=t.name;if(PE(_)){try{for(var l=__values(_.elements),d=l.next();!d.done;d=l.next()){var f=d.value;e(f,r)}}catch(e){i={error:e}}finally{try{d&&!d.done&&(o=l.return)&&o.call(l)}finally{if(i)throw i.error}}break}case 263:case 266:case 262:case 264:case 267:case 265:if(r)return}}(c.value,r)}catch(e){t={error:e}}finally{try{c&&!c.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}}else ui(u.parent)?r?Ua(u.name,mA.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations):kA(AO(u.name))&&Ua(u.name,mA.Ambient_module_declaration_cannot_specify_relative_module_name):Ua(u.name,r?mA.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations:mA.Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces)})}function Hw(e){var t,r,n=RI(e);if(n&&!EF(n))if(hR(n)){var a=268===e.parent.kind&&RF(e.parent.parent);if(312===e.parent.kind||a){if(!a||!kA(n.text)||ss(e)){if(Bj(e)||!e.assertClause)return 1;var i=!1;try{for(var o=__values(e.assertClause.elements),s=o.next();!s.done;s=o.next()){var c=s.value;hR(c.value)||(i=!0,Ua(c.value,mA.Import_assertion_values_must_be_string_literal_expressions))}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return!i}Ua(e,mA.Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name)}else Ua(n,278===e.kind?mA.Export_declarations_are_not_permitted_in_a_namespace:mA.Import_declarations_in_a_namespace_cannot_reference_a_module)}else Ua(n,mA.String_literal_expected)}function Kw(e){var t=yo(e),r=Ui(t);if(r!==it){if(t=mo(t.exportSymbol||t),cI(e)&&!(111551&r.flags)&&!pE(e)){var n,a,i,o,s=fE(e)?e.propertyName||e.name:BA(e)?e.name:e;return rA.assert(280!==e.kind),void(281===e.kind?(n=Ua(s,mA.Types_cannot_appear_in_export_declarations_in_JavaScript_files),(o=null==(a=null==(o=CF(e).symbol)?void 0:o.exports)?void 0:a.get((e.propertyName||e.name).escapedText))!==r||(a=null==(a=o.declarations)?void 0:a.find(ZE))&&SM(n,tP(a,mA._0_is_automatically_exported_here,OA(o.escapedName)))):(rA.assert(260!==e.kind),i=null!==(o=(o=FA(e,ZD(Jj,Bj)))&&(null==(i=MI(o))?void 0:i.text))&&void 0!==o?o:"...",o=OA(xR(s)?s.escapedText:t.escapedName),Ua(s,mA._0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation,o,'import("'.concat(i,'").').concat(o))))}r=Vi(r);if(r&((1160127&t.flags?111551:0)|(788968&t.flags?788968:0)|(1920&t.flags?1920:0))&&Ua(e,281===e.kind?mA.Export_declaration_conflicts_with_exported_declaration_of_0:mA.Import_declaration_conflicts_with_local_declaration_of_0,Yo(t)),sM(ee)&&!pE(e)&&!(33554432&e.flags)){var c=Hi(t),u=!(111551&r);if(u||c)switch(e.kind){case 273:case 276:case 271:(ee.preserveValueImports||ee.verbatimModuleSyntax)&&(rA.assertIsDefined(e.name,"An ImportClause with a symbol should have a name"),yi(Ua(e,ee.verbatimModuleSyntax&&oI(e)?mA.An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabled:u?ee.verbatimModuleSyntax?mA._0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:mA._0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:ee.verbatimModuleSyntax?mA._0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:mA._0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled,_=LA(276===e.kind&&e.propertyName||e.name)),u?void 0:c,_)),u&&271===e.kind&&uL(e,1)&&Ua(e,mA.Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled,Ie);break;case 281:if(ee.verbatimModuleSyntax||CF(c)!==CF(e)){var _=LA(e.propertyName||e.name);yi(u?Ua(e,mA.Re_exporting_a_type_when_0_is_enabled_requires_using_export_type,Ie):Ua(e,mA._0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_enabled,_,Ie),u?void 0:c,_);break}}!ee.verbatimModuleSyntax||271===e.kind||cI(e)||1!==x&&1!==CF(e).impliedNodeFormat||Ua(e,mA.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled)}!Vj(e)||Ka(t=Gw(t,e))&&t.declarations&&Xa(e,t.declarations,t.escapedName)}}function Gw(e,t){if(!(2097152&e.flags)||Ka(e)||!ki(e))return e;var r=Ui(e);if(r===it)return r;for(;2097152&e.flags;){var n=Sh(e);if(!n)break;if(n===r)break;if(n.declarations&&HN(n.declarations)){if(Ka(n)){Xa(t,n.declarations,n.escapedName);break}if(e===r)break;e=n}}return r}function Xw(e){IS(e,e.name),Kw(e),276===e.kind&&"default"===LA(e.propertyName||e.name)&&cM(ee)&&4!==x&&(x<5||1===CF(e).impliedNodeFormat)&&dN(e,131072)}function Qw(e){if(e.assertClause){var t=UV(e),r=qV(e.assertClause,t?RN:void 0);return t&&r?(qO()||RN(e.assertClause,mA.resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next),3!==iM(ee)&&99!==iM(ee)?RN(e.assertClause,mA.resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext):void 0):99!==(199===x&&e.moduleSpecifier&&Di(e.moduleSpecifier))&&99!==x?RN(e.assertClause,199===x?mA.Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls:mA.Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext):(Jj(e)?null!=(t=e.importClause)&&t.isTypeOnly:e.isTypeOnly)?RN(e.assertClause,mA.Import_assertions_cannot_be_used_with_type_only_imports_or_exports):r&&RN(e.assertClause,mA.resolution_mode_can_only_be_set_for_type_only_imports)}}function Yw(e){var t;$w(e,cI(e)?mA.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module:mA.An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)||(!fN(e)&&sL(e)&&ON(e,mA.An_import_declaration_cannot_have_modifiers),!Hw(e)||(t=e.importClause)&&!function(e){var t;if(e.isTypeOnly&&e.name&&e.namedBindings)return RN(e,mA.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both);if(e.isTypeOnly&&275===(null==(t=e.namedBindings)?void 0:t.kind))return JN(e.namedBindings);return!1}(t)&&(t.name&&Xw(t),t.namedBindings&&(274===t.namedBindings.kind?(Xw(t.namedBindings),4!==x&&(x<5||1===CF(e).impliedNodeFormat)&&cM(ee)&&dN(e,65536)):$i(e,e.moduleSpecifier)&&KN(t.namedBindings.elements,Xw))),Qw(e))}function Zw(e){var t,r,n;$w(e,cI(e)?mA.An_export_declaration_can_only_be_used_at_the_top_level_of_a_module:mA.An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)||(!fN(e)&&cL(e)&&ON(e,mA.An_export_declaration_cannot_have_modifiers),e.moduleSpecifier&&e.exportClause&&Hj(e.exportClause)&&HN(e.exportClause.elements)&&0===V&&dN(e,4194304),(r=e).isTypeOnly&&279===(null==(t=r.exportClause)?void 0:t.kind)&&JN(r.exportClause),e.moduleSpecifier&&!Hw(e)||(e.exportClause&&!Uj(e.exportClause)?(KN(e.exportClause.elements,rC),n=!(r=268===e.parent.kind&&RF(e.parent.parent))&&268===e.parent.kind&&!e.moduleSpecifier&&33554432&e.flags,312===e.parent.kind||r||n||Ua(e,mA.Export_declarations_are_not_permitted_in_a_namespace)):((n=$i(e,e.moduleSpecifier))&&oo(n)?Ua(e.moduleSpecifier,mA.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk,Yo(n)):e.exportClause&&Kw(e.exportClause),4!==x&&(x<5||1===CF(e).impliedNodeFormat)&&(e.exportClause?cM(ee)&&dN(e,65536):dN(e,32768)))),Qw(e))}function $w(e,t){var r=312===e.parent.kind||268===e.parent.kind||267===e.parent.kind;return r||ON(e,t),!r}function eC(e){return Jj(e)&&e.importClause&&!e.importClause.isTypeOnly&&BI(e.importClause,function(e){return!!yo(e).isReferenced})&&!UC(e.importClause,!0)&&!BI(e.importClause,function(e){return!!si(yo(e)).constEnumReferenced})}function tC(e){var t,r,n;if(Oe)try{for(var a=__values(e.statements),i=a.next();!i.done;i=a.next()){var o=i.value;!eC(o)&&(!Bj(n=o)||!Gj(n.moduleReference)||n.isTypeOnly||!yo(n).isReferenced||UC(n,!1)||si(yo(n)).constEnumReferenced)||Ua(o,mA.This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}function rC(e){var t,r;Kw(e),dM(ee)&&ds(e.propertyName||e.name,!0),e.parent.parent.moduleSpecifier?cM(ee)&&4!==x&&(x<5||1===CF(e).impliedNodeFormat)&&"default"===LA(e.propertyName||e.name)&&dN(e,131072):(r=pi(t=e.propertyName||e.name,t.escapedText,2998271,void 0,void 0,!0))&&(r===Ce||r===Ne||r.declarations&&ui(ys(r.declarations[0])))?Ua(t,mA.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,LA(t)):(e.isTypeOnly||e.parent.parent.isTypeOnly||Ki(e),(!(r=r&&(2097152&r.flags?Ui(r):r))||111551&Vi(r))&&iT(e.propertyName||e.name))}function nC(e){var t=yo(e),r=si(t);r.exportsChecked||((e=t.exports.get("export="))&&hF(t.exports,function(e,t){return"export="!==t})&&(!(e=ki(e)||e.valueDeclaration)||ss(e)||cI(e)||Ua(e,mA.An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements)),(t=lo(t))&&t.forEach(function(e,t){var r,n,a=e.declarations,i=e.flags;if("__export"!==t&&!(1920&i)){e=rD(a,YD(uJ,$D(Ij)));if(!(524288&i&&e<=2)&&1<e&&!aC(a))try{for(var o=__values(a),s=o.next();!s.done;s=o.next()){var c=s.value;gJ(c)&&Sa.add(tP(c,mA.Cannot_redeclare_exported_variable_0,OA(t)))}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}}),r.exportsChecked=!0)}function aC(e){return e&&1<e.length&&e.every(function(e){return cI(e)&&GL(e)&&(SI(e.expression)||CI(e.expression))})}function iC(e){var t;e&&(t=w,u=0,function(r){HI(r)&&KN(r.jsDoc,function(e){var t=e.comment,e=e.tags;oC(t),KN(e,function(e){oC(e.comment),cI(r)&&iC(e)})});var e=r.kind;if(k)switch(e){case 267:case 263:case 264:case 262:k.throwIfCancellationRequested()}switch(243<=e&&e<=259&&WI(r)&&r.flowNode&&!lg(r.flowNode)&&qa(!1===ee.allowUnreachableCode,r,mA.Unreachable_code_detected),e){case 168:return ST(r);case 169:return wT(r);case 172:return ET(r);case 171:return function(e){bR(e.name)&&Ua(e,mA.Private_identifiers_are_not_allowed_outside_class_bodies),ET(e)}(r);case 185:case 184:case 179:case 180:case 181:return NT(r);case 174:case 173:return function(e){AN(e)||kN(e.name),FR(e)&&e.asteriskToken&&xR(e.name)&&"constructor"===LA(e.name)&&Ua(e.name,mA.Class_constructor_may_not_be_a_generator),mS(e),_L(e,256)&&174===e.kind&&e.body&&Ua(e,mA.Method_0_cannot_have_an_implementation_because_it_is_marked_abstract,QF(e.name)),bR(e.name)&&!IP(e)&&Ua(e,mA.Private_identifiers_are_not_allowed_outside_class_bodies),FT(e)}(r);case 175:return function(e){fN(e),HB(e,iC)}(r);case 176:return PT(r);case 177:case 178:return OT(r);case 183:return jT(r);case 182:return CT(r);case 186:return function(e){Dl(e)}(r);case 187:return JT(r);case 188:return function(e){iC(e.elementType)}(r);case 189:return function(e){var t,r,n=e.elements,a=!1,i=!1;try{for(var o=__values(n),s=o.next();!s.done;s=o.next()){var c=s.value,u=Zl(c);if(8&u){var _=Uf(c.type);if(!Im(_)){Ua(c,mA.A_rest_element_type_must_be_an_array_type);break}(Dm(_)||Xm(_)&&4&_.target.combinedFlags)&&(i=!0)}else if(4&u){if(i){RN(c,mA.A_rest_element_cannot_follow_another_rest_element);break}i=!0}else if(2&u){if(i){RN(c,mA.An_optional_element_cannot_follow_a_rest_element);break}a=!0}else if(a){RN(c,mA.A_required_element_cannot_follow_an_optional_element);break}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}KN(e.elements,iC),Uf(e)}(r);case 192:case 193:return function(e){KN(e.types,iC),Uf(e)}(r);case 196:case 190:case 191:return iC(r.type);case 197:return function(e){Bf(e)}(r);case 198:return VT(r);case 194:return function(e){HB(e,iC)}(r);case 195:return function(e){var t,r;FA(e,function(e){return e.parent&&194===e.parent.kind&&e.parent.extendsType===e})||RN(e,mA.infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type),iC(e.typeParameter);var n=yo(e.typeParameter);if(n.declarations&&1<n.declarations.length){var a=si(n);if(!a.typeParametersChecked){a.typeParametersChecked=!0;var a=Fc(n),i=yF(n,168);if(!Nw(i,[a],function(e){return[e]})){var o=Yo(n);try{for(var s=__values(i),c=s.next();!c.done;c=s.next())Ua(c.value.name,mA.All_declarations_of_0_must_have_identical_constraints,o)}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}}}}yS(e)}(r);case 203:return function(e){var t,r;try{for(var n=__values(e.templateSpans),a=n.next();!a.done;a=n.next()){var i=a.value;iC(i.type),Ip(Uf(i.type),Wt,i.type)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}Uf(e)}(r);case 205:return function(e){iC(e.argument),e.assertions&&qV(e.assertions.assertClause,RN)&&(qO()||RN(e.assertions.assertClause,mA.resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next),3!==iM(ee)&&99!==iM(ee)&&RN(e.assertions.assertClause,mA.resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext)),BT(e)}(r);case 202:return function(e){e.dotDotDotToken&&e.questionToken&&RN(e,mA.A_tuple_member_cannot_be_both_optional_and_rest),190===e.type.kind&&RN(e.type,mA.A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type),191===e.type.kind&&RN(e.type,mA.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type),iC(e.type),Uf(e)}(r);case 335:return function(e){var t,r,n=QI(e);n&&(Pj(n)||vj(n))?(r=YA(n).filter(kB),rA.assert(0<r.length),1<r.length&&Ua(r[1],mA.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag),t=pS(e.class.expression),!(r=vO(n))||(r=pS(r.expression))&&t.escapedText!==r.escapedText&&Ua(t,mA.JSDoc_0_1_does_not_match_the_extends_2_clause,LA(e.tagName),LA(t),LA(r))):Ua(n,mA.JSDoc_0_is_not_attached_to_a_class,LA(e.tagName))}(r);case 336:return function(e){var t=QI(e);t&&(Pj(t)||vj(t))||Ua(t,mA.JSDoc_0_is_not_attached_to_a_class,LA(e.tagName))}(r);case 353:case 345:case 347:return function(e){e.typeExpression||Ua(e.name,mA.JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags),e.name&&Sw(e.name,mA.Type_alias_name_cannot_be_0),iC(e.typeExpression),ww(eE(e))}(r);case 352:return function(e){var t,r;iC(e.constraint);try{for(var n=__values(e.typeParameters),a=n.next();!a.done;a=n.next())iC(a.value)}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}(r);case 351:return function(e){iC(e.typeExpression)}(r);case 331:case 332:case 333:return function(e){e.name&&bC(e.name,!0)}(r);case 348:return function(e){iC(e.typeExpression)}(r);case 355:return function(e){iC(e.typeExpression)}(r);case 324:!function(e){D(function(){e.type||zI(e)||ky(e,ut)}),NT(e)}(r);case 322:case 321:case 319:case 320:case 329:return sC(r),HB(r,iC);case 325:return function(e){sC(e),iC(e.type);var t=e.parent;if(CR(t)&&gB(t.parent))return ND(t.parent.parameters)!==t&&Ua(e,mA.A_rest_parameter_must_be_last_in_a_parameter_list);_B(t)||Ua(e,mA.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);var r=e.parent.parent;if(!wB(r))return Ua(e,mA.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);(t=KI(r))&&((r=XI(r))&&ND(r.parameters).symbol===t||Ua(e,mA.A_rest_parameter_must_be_last_in_a_parameter_list))}(r);case 316:return iC(r.type);case 340:case 342:case 341:return function(e){var t=YI(e);t&&yE(t)&&Ua(e,mA.An_accessibility_modifier_cannot_be_used_with_a_private_identifier)}(r);case 357:return function(e){if(iC(e.typeExpression),e=QI(e)){var t=ZA(e,FB);if(1<HN(t))for(var r=1;r<HN(t);r++){var n=t[r].tagName;Ua(n,mA._0_tag_already_specified,LA(n))}}}(r);case 199:return function(e){iC(e.objectType),iC(e.indexType),zT(_f(e),e)}(r);case 200:return UT(r);case 262:return function(e){D(function(){mS(e),TN(e),IS(e,e.name)})}(r);case 241:case 268:return NS(r);case 243:return zS(r);case 244:return function(e){jN(e),TT(e.expression)}(r);case 245:return function(e){jN(e);var t=qS(e.expression);US(e.expression,t,e.thenStatement),iC(e.thenStatement),242===e.thenStatement.kind&&Ua(e.thenStatement,mA.The_body_of_an_if_statement_cannot_be_the_empty_statement),iC(e.elseStatement)}(r);case 246:return function(e){jN(e),iC(e.statement),qS(e.expression)}(r);case 247:return function(e){jN(e),qS(e.expression),iC(e.statement)}(r);case 248:return function(e){jN(e)||e.initializer&&261===e.initializer.kind&&PN(e.initializer),e.initializer&&(261===e.initializer.kind?JS:TT)(e.initializer),e.condition&&qS(e.condition),e.incrementor&&TT(e.incrementor),iC(e.statement),e.locals&&yS(e)}(r);case 249:return WS(r);case 250:return function(e){CN(e);var t,r,n=LP(e);e.awaitModifier?n&&PR(n)?RN(e.awaitModifier,mA.for_await_loops_cannot_be_used_inside_a_class_static_block):2==(6&kO(n))&&V<99&&dN(e,16384):ee.downlevelIteration&&V<2&&dN(e,256),261===e.initializer.kind?JS(e.initializer):(t=e.initializer,r=HS(e),209===t.kind||210===t.kind?$k(t,r||dt):(n=TT(t),Jk(t,mA.The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access,mA.The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access),r&&Op(r,n,t,e.expression))),iC(e.statement),e.locals&&yS(e)}(r);case 251:case 252:return vw(r);case 253:return function(e){var t,r,n,a,i;jN(e)||((t=LP(e))&&PR(t)?ON(e,mA.A_return_statement_cannot_be_used_inside_a_class_static_block):t?(r=j_(E_(t)),n=kO(t),te||e.expression||131072&r.flags?(i=e.expression?iT(e.expression):gt,178===t.kind?e.expression&&Ua(e,mA.Setters_cannot_return_a_value):176===t.kind?e.expression&&!Op(i,r,e,e.expression)&&Ua(e,mA.Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class):B_(t)&&(a=null!==(a=gw(r,n))&&void 0!==a?a:r,i=2&n?QT(i,!1,e,mA.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):i,a&&Op(i,a,e,e.expression))):176!==t.kind&&ee.noImplicitReturns&&!hw(t,r)&&Ua(e,mA.Not_all_code_paths_return_a_value)):ON(e,mA.A_return_statement_can_only_be_used_within_a_function_body))}(r);case 254:return function(e){jN(e)||65536&e.flags&&ON(e,mA.with_statements_are_not_allowed_in_an_async_function_block),TT(e.expression);var t=CF(e);IN(t)||LN(t,t=sP(t,e.pos).start,e.statement.pos-t,mA.The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any)}(r);case 255:return xw(r);case 256:return function(t){jN(t)||FA(t.parent,function(e){return bE(e)?"quit":256===e.kind&&e.label.escapedText===t.label.escapedText&&(RN(t.label,mA.Duplicate_label_0,PF(t.label)),!0)}),iC(t.statement)}(r);case 257:return bw(r);case 258:return function(e){jN(e),NS(e.tryBlock);var t,r,n,a,i=e.catchClause;i&&(i.variableDeclaration&&(LS(t=i.variableDeclaration),(r=nL(t))?!(n=Uf(r))||3&n.flags||ON(r,mA.Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified):t.initializer?ON(t.initializer,mA.Catch_clause_variable_cannot_have_an_initializer):(a=i.block.locals)&&xF(i.locals,function(e){var t=a.get(e);null!=t&&t.valueDeclaration&&0!=(2&t.flags)&&RN(t.valueDeclaration,mA.Cannot_redeclare_identifier_0_in_catch_clause,OA(e))})),NS(i.block)),e.finallyBlock&&NS(e.finallyBlock)}(r);case 260:return jS(r);case 208:return BS(r);case 263:return function(e){var t=QN(e.modifiers,NR);T&&t&&dD(e.members,function(e){return dL(e)&&yE(e)})&&RN(t,mA.Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator),e.name||_L(e,1024)||ON(e,mA.A_class_declaration_without_the_default_modifier_must_have_a_name),Aw(e),KN(e.members,iC),yS(e)}(r);case 264:return jw(r);case 265:return function(e){fN(e),Sw(e.name,mA.Type_alias_name_cannot_be_0),KT(e),ww(e.typeParameters),141===e.type.kind?_J.has(e.name.escapedText)&&1===HN(e.typeParameters)||Ua(e.type,mA.The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types):(iC(e.type),yS(e))}(r);case 266:return Vw(r);case 267:return Ww(r);case 272:return Yw(r);case 271:return function(e){var t,r;$w(e,cI(e)?mA.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module:mA.An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)||(fN(e),(oI(e)||Hw(e))&&(Xw(e),_L(e,1)&&Ki(e),283!==e.moduleReference.kind?((r=Ui(yo(e)))!==it&&(111551&(t=Vi(r))&&(1920&Yi(r=EL(e.moduleReference),112575).flags||Ua(r,mA.Module_0_is_hidden_by_a_local_declaration_with_the_same_name,QF(r))),788968&t&&Sw(e.name,mA.Import_name_cannot_be_0)),e.isTypeOnly&&RN(e,mA.An_import_alias_cannot_use_import_type)):!(5<=x&&void 0===CF(e).impliedNodeFormat)||e.isTypeOnly||33554432&e.flags||RN(e,mA.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)))}(r);case 278:return Zw(r);case 277:return function(e){var t,r,n,a;$w(e,e.isExportEquals?mA.An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration:mA.A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration)||(267!==(t=(312===e.parent.kind?e:e.parent).parent).kind||RF(t)?(!fN(e)&&sL(e)&&ON(e,mA.An_export_assignment_cannot_have_modifiers),(a=nL(e))&&Ip(iT(e.expression),Uf(a),e.expression),r=!e.isExportEquals&&!(33554432&e.flags)&&ee.verbatimModuleSyntax&&(1===x||1===CF(e).impliedNodeFormat),80===e.expression.kind?((a=To(Yi(n=e.expression,67108863,!0,!0,e)))?(Tg(a,n),111551&Vi(a)?(iT(n),r||33554432&e.flags||!ee.verbatimModuleSyntax||!Hi(a,111551)||Ua(n,e.isExportEquals?mA.An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration:mA.An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration,LA(n))):r||33554432&e.flags||!ee.verbatimModuleSyntax||Ua(n,e.isExportEquals?mA.An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type:mA.An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type,LA(n))):iT(n),dM(ee)&&ds(n,!0)):iT(e.expression),r&&Ua(e,mA.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled),nC(t),33554432&e.flags&&!AL(e.expression)&&RN(e.expression,mA.The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context),e.isExportEquals&&(5<=x&&(33554432&e.flags&&99===CF(e).impliedNodeFormat||!(33554432&e.flags)&&1!==CF(e).impliedNodeFormat)?RN(e,mA.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead):4!==x||33554432&e.flags||RN(e,mA.Export_assignment_is_not_supported_when_module_flag_is_system))):e.isExportEquals?Ua(e,mA.An_export_assignment_cannot_be_used_in_a_namespace):Ua(e,mA.A_default_export_can_only_be_used_in_an_ECMAScript_style_module))}(r);case 242:case 259:return jN(r);case 282:(function(e){fS(e)})(r)}}(w=e),w=t)}function oC(e){RD(e)&&KN(e,function(e){sF(e)&&iC(e)})}function sC(e){var t,r,n;cI(e)||(yB(e)||mB(e)?(t=vA(yB(e)?54:58),r=e.postfix?mA._0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1:mA._0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1,n=Uf(e.type),RN(e,r,t,$o(mB(e)&&n!==Mt&&n!==Lt?hd(vD([n,gt],e.postfix?void 0:Tt)):n))):RN(e,mA.JSDoc_types_can_only_be_used_inside_documentation_comments))}function cC(e){var t=ci(CF(e));1&t.flags?rA.assert(!t.deferredNodes,"A type-checked file should have no deferred nodes."):(t.deferredNodes||(t.deferredNodes=new Set),t.deferredNodes.add(e))}function uC(e){null!=iA&&iA.push(iA.Phase.Check,"checkDeferredNode",{kind:e.kind,pos:e.pos,end:e.end,path:e.tracingPath});var t,r,n,a,i,o=w;switch(u=0,(w=e).kind){case 213:case 214:case 215:case 170:case 286:Bx(e);break;case 218:case 219:case 174:case 173:!function(e){rA.assert(174!==e.kind||AP(e));var t,r=kO(e),n=B_(e);Ok(e,n),e.body&&(aL(e)||j_(E_(e)),241===e.body.kind?iC(e.body):(t=TT(e.body),(n=n&&gw(n,r))&&Op(2==(3&r)?QT(t,!1,e.body,mA.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):t,n,e.body,e.body)))}(e);break;case 177:case 178:OT(e);break;case 231:KN((i=e).members,iC),yS(i);break;case 168:!(Ij((t=e).parent)||NE(t.parent)||Oj(t.parent))||(n=98304&mm(a=Fc(yo(t))))&&(r=yo(t.parent),!Oj(t.parent)||48&WL(Pc(r))?32768!=n&&65536!=n||(null!=iA&&iA.push(iA.Phase.CheckTypes,"checkTypeParameterDeferred",{parent:Pc(r).id,id:a.id}),i=fm(r,a,65536==n?fr:dr),n=fm(r,a,65536==n?dr:fr),S=a=a,Ip(i,n,t,mA.Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation),S=a,null!=iA&&iA.pop()):Ua(t,mA.Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_types));break;case 285:Hh(e);break;case 284:Hh((t=e).openingElement),Dh(t.closingElement.tagName)?Oh(t.closingElement):TT(t.closingElement.tagName),Eh(t);break;case 216:case 234:case 217:!function(e){var t=zb(e).type,r=uj(e)?t:e,e=ci(e);rA.assertIsDefined(e.assertionExpressionType);var n=yy(Vm(e.assertionExpressionType)),a=Uf(t);hs(a)||D(function(){var e=xy(n);Fp(a,e)||Vp(n,a,r,mA.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)})}(e)}w=o,null!=iA&&iA.pop()}function _C(e){var t;null!=iA&&iA.push(iA.Phase.Check,"checkSourceFile",{path:e.path},!0),nA("beforeCheck"),1&(e=ci(t=e)).flags||DM(t,ee,O)||(function(e){33554432&e.flags&&function(e){var t,r;try{for(var n=__values(e.statements),a=n.next();!a.done;a=n.next()){var i=a.value;if((GE(i)||243===i.kind)&&function(e){if(264===e.kind||265===e.kind||272===e.kind||271===e.kind||278===e.kind||277===e.kind||270===e.kind||_L(e,1027))return!1;return ON(e,mA.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier)}(i))return}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}(e)}(t),aD(ga),aD(ha),aD(xa),aD(ba),aD(ka),KN(t.statements,iC),iC(t.endOfFileToken),function(e){(e=ci(e)).deferredNodes&&e.deferredNodes.forEach(uC),e.deferredNodes=void 0}(t),_P(t)&&yS(t),D(function(){t.isDeclarationFile||!ee.noUnusedLocals&&!ee.noUnusedParameters||vS(dC(t),function(e,t,r){!wF(e)&&lC(t,!!(33554432&e.flags))&&Sa.add(r)}),t.isDeclarationFile||function(){var t,e;try{for(var r=__values(ka),n=r.next();!n.done;n=r.next()){var a,i,o=n.value;null!=(i=yo(o))&&i.isReferenced||(a=NA(o),rA.assert(LO(a),"Only parameter declaration should be checked here"),i=tP(o.name,mA._0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation,QF(o.name),QF(o.propertyName)),a.type||SM(i,QL(CF(a),a.end,1,mA.We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here,QF(o.propertyName))),Sa.add(i))}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}()}),2===ee.importsNotUsedAsValues&&!t.isDeclarationFile&&XB(t)&&tC(t),_P(t)&&nC(t),ga.length&&(KN(ga,AS),aD(ga)),ha.length&&(KN(ha,ES),aD(ha)),xa.length&&(KN(xa,FS),aD(xa)),ba.length&&(KN(ba,PS),aD(ba)),e.flags|=1),nA("afterCheck"),aA("Check","beforeCheck","afterCheck"),null!=iA&&iA.pop()}function lC(e,t){if(!t)switch(e){case 0:return ee.noUnusedLocals;case 1:return ee.noUnusedParameters;default:return rA.assertNever(e)}}function dC(e){return jn.get(e.path)||WN}function fC(e,t){try{return k=t,function(e){if(e){pC();var t=Sa.getGlobalDiagnostics(),r=t.length;mC(e);var n=Sa.getDiagnostics(e.fileName),e=Sa.getGlobalDiagnostics();return e!==t?fD(yD(t,e,tM),n):0===r&&0<e.length?fD(e,n):n}return KN(O.getSourceFiles(),mC),Sa.getDiagnostics()}(e)}finally{k=void 0}}function pC(){var t,e;try{for(var r=__values(a),n=r.next();!n.done;n=r.next())(0,n.value)()}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}a=[]}function mC(e){pC();var t=D;D=function(e){return e()},_C(e),D=t}function yC(e){for(;166===e.parent.kind;)e=e.parent;return 183===e.parent.kind}function vC(e,t){for(var r,n=IP(e);n&&!(r=t(n));)n=IP(n);return r}function gC(e,t){return vC(e,function(e){return e===t})}function hC(e){return void 0!==function(e){for(;166===e.parent.kind;)e=e.parent;return 271===e.parent.kind?e.parent.moduleReference===e?e.parent:void 0:277===e.parent.kind&&e.parent.expression===e?e.parent:void 0}(e)}function xC(e){if(uO(e))return vo(e.parent);if(cI(e)&&211===e.parent.kind&&e.parent===e.parent.parent.left&&!bR(e)&&!dB(e)&&!function(e){if(110===e.expression.kind){e=RP(e,!1,!1);if(bE(e)){e=Og(e);if(e){e=Mg(e,rh(e,void 0));return e&&!gs(e)}}}}(e.parent)){var t=function(e){switch(NI(e.parent.parent)){case 1:case 3:return vo(e.parent);case 4:case 2:case 5:return yo(e.parent.parent)}}(e);if(t)return t}if(277===e.parent.kind&&AL(e)){t=Yi(e,2998271,!0);if(t&&t!==it)return t}else if(hE(e)&&hC(e)){var r=xO(e,271);return rA.assert(void 0!==r),Xi(e,!0)}if(hE(e)){var n=function(e){for(var t=e.parent;TR(t);)t=(e=t).parent;if(t&&205===t.kind&&t.qualifier===e)return t}(e);if(n){Uf(n);var a=ci(e).resolvedSymbol;return a===it?void 0:a}}for(;ML(e);)e=e.parent;if(function(e){for(;211===e.parent.kind;)e=e.parent;return 233===e.parent.kind}(e)){var i=0;233===e.parent.kind?(i=vP(e)?788968:111551,DL(e.parent)&&(i|=111551)):i=1920,i|=2097152;var o=AL(e)?Yi(e,i,!0):void 0;if(o)return o}if(348===e.parent.kind)return KI(e.parent);if(168===e.parent.kind&&352===e.parent.parent.kind){rA.assert(!cI(e));var s=$I(e.parent);return s&&s.symbol}if($P(e)){if(EF(e))return;r=FA(e,ZD(sF,lB,dB)),i=r?901119:111551;if(80===e.kind){if(ZP(e)&&Dh(e))return(_=Oh(e.parent))===it?void 0:_;var c=Yi(e,i,!0,!0,XI(e));if(!c&&r)if(u=FA(e,ZD(NE,Ij)))return bC(e,!0,yo(u));if(c&&r)if((u=YI(e))&&cB(u)&&u===c.valueDeclaration)return Yi(e,i,!0,!0,CF(u))||c;return c}if(bR(e))return px(e);if(211===e.kind||166===e.kind){var u,n=ci(e);return n.resolvedSymbol?n.resolvedSymbol:(211===e.kind?(ux(e,0),n.resolvedSymbol||(o=x_(a=iT(e.expression),Od(e.name))).length&&a.members&&(_=Eu(a).members.get("__index"),o===v_(a)?n.resolvedSymbol=_:_&&(s=si(_),u=iD(uD(o,function(e){return e.declaration}),mJ).join(","),s.filteredIndexSymbolCache||(s.filteredIndexSymbolCache=new Map),s.filteredIndexSymbolCache.has(u)||((c=Qa(131072,"__index")).declarations=uD(o,function(e){return e.declaration}),c.parent=a.aliasSymbol||a.symbol||kC(c.declarations[0].parent),s.filteredIndexSymbolCache.set(u,c)),n.resolvedSymbol=s.filteredIndexSymbolCache.get(u)))):_x(e,0),!n.resolvedSymbol&&r&&TR(e)?bC(e):n.resolvedSymbol)}if(dB(e))return bC(e)}else if(yC(e)){var _;return(_=Yi(e,i=183===e.parent.kind?788968:1920,!1,!0))&&_!==it?_:yl(e)}return 182===e.parent.kind?Yi(e,1):void 0}function bC(e,t,r){if(hE(e)){var n=Yi(e,901119,t,!0,XI(e));if(!n&&xR(e)&&r&&(n=mo(_i(_o(r),e.escapedText,901119))),n)return n}t=xR(e)?r:bC(e.left,t,r),r=(xR(e)?e:e.right).escapedText;if(t){e=111551&t.flags&&u_(sc(t),"prototype");return u_(e?sc(e):Pc(t),r)}}function kC(e,t){if(uB(e))return XB(e)?mo(e.symbol):void 0;var r=e.parent,n=r.parent;if(!(67108864&e.flags)){if(hJ(e)){var a=yo(r);return fE(e.parent)&&e.parent.propertyName===e?Sh(a):a}if(_O(e))return yo(r.parent);if(80===e.kind){if(hC(e))return xC(e);if(208===r.kind&&206===n.kind&&e===r.propertyName){a=u_(TC(n),e.escapedText);if(a)return a}else if(xj(r)&&r.name===e)return 105===r.keywordToken&&"target"===LA(e)?Gb(r).symbol:102===r.keywordToken&&"meta"===LA(e)?Ml().members.get("meta"):void 0}switch(e.kind){case 80:case 81:case 211:case 166:if(!tL(e))return xC(e);case 110:var i=RP(e,!1,!1);if(bE(i)){var o=E_(i);if(o.thisParameter)return o.thisParameter}if(eI(e))return TT(e).symbol;case 197:return Bf(e).symbol;case 108:return TT(e).symbol;case 137:o=e.parent;return o&&176===o.kind?o.parent.symbol:void 0;case 11:case 15:if(nI(e.parent.parent)&&aI(e.parent.parent)===e||(272===e.parent.kind||278===e.parent.kind)&&e.parent.moduleSpecifier===e||cI(e)&&100!==iM(ee)&&dI(e.parent,!1)||mP(e.parent)||YR(e.parent)&&yP(e.parent.parent)&&e.parent.parent.argument===e.parent)return $i(e,e,t);if(oj(r)&&DI(r)&&r.arguments[1]===e)return yo(r);case 9:var s=ij(r)?r.argumentExpression===e?xT(r.expression):void 0:YR(r)&&QR(n)?Uf(n.objectType):void 0;return s&&u_(s,IA(e.text));case 90:case 100:case 39:case 86:return vo(e.parent);case 205:return yP(e)?kC(e.argument.literal,t):void 0;case 95:return qj(e.parent)?rA.checkDefined(e.parent.symbol):void 0;case 102:case 105:return xj(e.parent)?Kb(e.parent).symbol:void 0;case 236:return TT(e).symbol;case 295:if(ZP(e)&&Dh(e)){s=Oh(e.parent);return s===it?void 0:s}default:return}}}function TC(e){if(uB(e)&&!XB(e))return dt;if(67108864&e.flags)return dt;var t,r=CL(e),n=r&&wc(yo(r.class));if(vP(e)){var a=Uf(e);return n?Qc(a,n.thisType):a}if($P(e))return wC(e);if(n&&!r.isImplements){r=kD(Tc(n));return r?Qc(r,n.thisType):dt}if(KM(e))return Pc(t=yo(e));if(n=e,80===n.kind&&KM(n.parent)&&JA(n.parent)===n)return(t=kC(e))?Pc(t):dt;if(tj(e))return Ps(e,!0,0)||dt;if(GE(e))return(t=yo(e))?sc(t):dt;if(hJ(e))return(t=kC(e))?sc(t):dt;if(PE(e))return Ps(e.parent,!0,0)||dt;if(hC(e)&&(t=kC(e))){n=Pc(t);return hs(n)?sc(t):n}return xj(e.parent)&&e.parent.keywordToken===e.kind?Kb(e.parent):dt}function SC(e){if(rA.assert(210===e.kind||209===e.kind),250===e.parent.kind)return $k(e,HS(e.parent)||dt);if(226===e.parent.kind)return $k(e,xT(e.parent.right)||dt);if(303===e.parent.kind){var t=JD(e.parent.parent,nj);return Yk(t,SC(t)||dt,IF(t.properties,e.parent))}var r=JD(e.parent,rj),n=SC(r)||dt,t=KS(65,n,gt,e.parent)||dt;return Zk(r,n,r.elements.indexOf(e),t)}function wC(e){return LL(e)&&(e=e.parent),If(xT(e))}function CC(e){var t=vo(e.parent);return(lL(e)?sc:Pc)(t)}function NC(e){var t=e.name;switch(t.kind){case 80:return Lf(LA(t));case 9:case 11:return Lf(t.text);case 167:var r=bh(t);return Hk(r,12288)?r:wt;default:return rA.fail("Unsupported property name.")}}function DC(e){var t=vF(Ou(e=Zu(e))),e=l_(e,0).length?xr:l_(e,1).length?br:void 0;return e&&KN(Ou(e),function(e){t.has(e.escapedName)||t.set(e.escapedName,e)}),Io(t)}function AC(e){return 0!==l_(e,0).length||0!==l_(e,1).length}function EC(t){if(6&BL(t))return uD(si(t).containingType.types,function(e){return u_(e,t.escapedName)});if(33554432&t.flags){var e=t.links,r=e.leftSpread,n=e.rightSpread,e=e.syntheticOrigin;return r?[r,n]:e?[e]:eA(function(e){var t,r=e;for(;r=si(r).target;)t=r;return t}(t))}}function FC(e){if(mE(e))return!1;var t=PA(e,xR);if(!t)return!1;e=t.parent;return!!e&&(!((aj(e)||iB(e))&&e.name===t)&&aN(t)===Fe)}function PC(e){var t=$i(e.parent,e);if(!t||BF(t))return!0;var r=oo(t),e=si(t=no(t));return void 0===e.exportsSomeValue&&(e.exportsSomeValue=r?!!(111551&t.flags):hF(lo(t),function(e){return(e=zi(e))&&!!(111551&Vi(e))})),e.exportsSomeValue}function IC(e,t){var r=PA(e,xR);if(r){e=aN(r,WE((n=r).parent)&&n===n.parent.name);if(e){if(1048576&e.flags){var n=mo(e.exportSymbol);if(!t&&944&n.flags&&!(3&n.flags))return;e=n}var a=go(e);if(a){if(512&a.flags&&312===(null==(i=a.valueDeclaration)?void 0:i.kind)){var i=a.valueDeclaration;return i!==CF(r)?void 0:i}return FA(r.parent,function(e){return WE(e)&&yo(e)===a})}}}}function OC(e){var t=vR(e);if(t)return t;e=PA(e,xR);if(e){e=function(e){var t=ci(e).resolvedSymbol;if(t&&t!==it)return t;return pi(e,e.escapedText,3257279,void 0,void 0,!0,void 0,void 0)}(e);if(Ji(e,111551)&&!Hi(e,111551))return ki(e)}}function LC(e){if(418&e.flags&&e.valueDeclaration&&!uB(e.valueDeclaration)){var t,r,n=si(e);return void 0!==n.isDeclarationWithCollidingName||(AF(t=GF(e.valueDeclaration))||(a=e).valueDeclaration&&tj(a.valueDeclaration)&&299===NA(a.valueDeclaration).parent.kind)&&(r=ci(e.valueDeclaration),pi(t.parent,e.escapedName,111551,void 0,void 0,!1)?n.isDeclarationWithCollidingName=!0:16384&r.flags?(a=32768&r.flags,e=JE(t,!1),r=241===t.kind&&JE(t.parent,!1),n.isDeclarationWithCollidingName=!(JF(t)||a&&(e||r))):n.isDeclarationWithCollidingName=!1),n.isDeclarationWithCollidingName}var a;return!1}function MC(e){if(!mE(e)){e=PA(e,xR);if(e){e=aN(e);if(e&&LC(e))return e.valueDeclaration}}}function RC(e){e=PA(e,GE);if(e){e=yo(e);if(e)return LC(e)}return!1}function jC(e){switch(rA.assert(Oe),e.kind){case 271:return JC(yo(e));case 273:case 274:case 276:case 281:var t=yo(e);return!!t&&JC(t,!0);case 278:t=e.exportClause;return!!t&&(Uj(t)||dD(t.elements,jC));case 277:return!e.expression||80!==e.expression.kind||JC(yo(e))}return!1}function BC(e){e=PA(e,Bj);return!(void 0===e||312!==e.parent.kind||!oI(e))&&(JC(yo(e))&&e.moduleReference&&!EF(e.moduleReference))}function JC(e,t){if(!e)return!1;var r=To(Ui(e));return r===it||!!(111551&Vi(e,t,!0))&&(fM(ee)||!zC(r))}function zC(e){return Xk(e)||e.constEnumOnlyModule}function UC(e,t){if(rA.assert(Oe),Ti(e)){var r=yo(e),n=r&&si(r);if(null!=n&&n.referenced)return!0;r=si(r).aliasTarget;if(r&&1&xL(e)&&111551&Vi(r)&&(fM(ee)||!zC(r)))return!0}return!!t&&!!HB(e,function(e){return UC(e,t)})}function VC(e){if(FF(e.body)){if(eF(e)||$E(e))return!1;var t=I_(yo(e));return 1<t.length||1===t.length&&t[0].declaration!==e}return!1}function qC(e){return!(!te||C_(e)||wB(e)||!e.initializer||_L(e,16476))}function WC(e){return te&&C_(e)&&!e.initializer&&_L(e,16476)}function HC(e){e=PA(e,Fj);if(!e)return!1;e=yo(e);return!!(e&&16&e.flags)&&!!hF(_o(e),function(e){return 111551&e.flags&&e.valueDeclaration&&aj(e.valueDeclaration)})}function KC(e){e=PA(e,Fj);if(!e)return WN;e=yo(e);return e&&Ou(sc(e))||WN}function GC(e){var e=e.id||0;return!(e<0||e>=ua.length)&&(null==(e=ua[e])?void 0:e.flags)||0}function XC(e){return Bw(e.parent),ci(e).enumMemberValue}function QC(e){switch(e.kind){case 306:case 211:case 212:return!0}return!1}function YC(e){if(306===e.kind)return XC(e);e=ci(e).resolvedSymbol;if(e&&8&e.flags){e=e.valueDeclaration;if(dP(e.parent))return XC(e)}}function ZC(e){return 524288&e.flags&&0<l_(e,0).length}function $C(e,t){var r=PA(e,hE);if(!r)return 0;if(t&&!(t=PA(t)))return 0;e=!1;TR(r)&&(e=!(null==(a=null==(n=Yi(EL(r),111551,!0,!0,t))?void 0:n.declarations)||!a.every(pE)));var n=Yi(r,111551,!0,!0,t),a=n&&2097152&n.flags?Ui(n):n;e=e||!(!n||!Hi(n,111551));r=Yi(r,788968,!0,!1,t);if(a&&a===r){t=Ul(!1);if(t&&a===t)return 9;a=sc(a);if(a&&vc(a))return e?10:1}if(!r)return e?11:0;r=Pc(r);return hs(r)?e?11:0:3&r.flags?11:Hk(r,245760)?2:Hk(r,528)?6:Hk(r,296)?3:Hk(r,2112)?4:Hk(r,402653316)?5:Xm(r)?7:Hk(r,12288)?8:ZC(r)?10:Dm(r)?7:11}function eN(e,t,r,n,a){var i=PA(e,TP);if(!i)return uR.createToken(133);e=yo(i),i=!e||133120&e.flags?dt:Wm(sc(e));return 8192&i.flags&&i.symbol===e&&(r|=1048576),a&&(i=iy(i)),U.typeToTypeNode(i,t,1024|r,n)}function tN(e,t,r,n){e=PA(e,bE);if(!e)return uR.createToken(133);e=E_(e);return U.typeToTypeNode(j_(e),t,1024|r,n)}function rN(e,t,r,n){e=PA(e,jE);if(!e)return uR.createToken(133);e=xy(wC(e));return U.typeToTypeNode(e,t,1024|r,n)}function nN(e){return we.has(IA(e))}function aN(e,t){var r=ci(e).resolvedSymbol;if(r)return r;r=e;return!t||GE(t=e.parent)&&e===t.name&&(r=ys(t)),pi(r,e.escapedText,3257279,void 0,void 0,!0)}function iN(e){if(!mE(e)){e=PA(e,xR);if(e){e=aN(e);if(e)return To(e).valueDeclaration}}}function oN(e){if(!mE(e)){e=PA(e,xR);if(e){e=aN(e);if(e)return nD(To(e).declarations,function(e){switch(e.kind){case 260:case 169:case 208:case 172:case 303:case 304:case 306:case 210:case 262:case 218:case 219:case 263:case 231:case 266:case 174:case 177:case 178:case 267:return 1}})}}}function sN(e){return!!(fP(e)||Aj(e)&&qN(e))&&Of(sc(yo(e)))}function cN(e,t){var r=sc(yo(e));return e=e,t=t,(t=1056&(r=r).flags?U.symbolToExpression(r.symbol,111551,e,void 0,t):r===Et?uR.createTrue():r===Dt&&uR.createFalse())?t:"object"==typeof(r=r.value)?uR.createBigIntLiteral(r):"number"==typeof r?uR.createNumericLiteral(r):uR.createStringLiteral(r)}function uN(e){return e?(Ra(e),CF(e).localJsxFactory||kn):kn}function _N(e){if(e){var t=CF(e);if(t){if(t.localJsxFragmentFactory)return t.localJsxFragmentFactory;e=t.pragmas.get("jsxfrag"),e=RD(e)?e[0]:e;if(e)return t.localJsxFragmentFactory=GB(e.arguments.factory,V),t.localJsxFragmentFactory}}if(ee.jsxFragmentFactory)return GB(ee.jsxFragmentFactory,V)}function lN(e){e=267===e.kind?BD(e.name,hR):RI(e),e=eo(e,e,void 0);if(e)return mF(e,312)}function dN(e,t){var r,n;if((d&t)!==t&&ee.importHelpers){var a=CF(e);if(qF(a,ee)&&!(33554432&e.flags)){var i=function(e,t){f=f||(to(e,lF,mA.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,t)||it);return f}(a,e);if(i!==it)for(var o=t&~d,s=1;s<=33554432;s<<=1)if(o&s)try{for(var c=(r=void 0,__values(function(e){switch(e){case 1:return["__extends"];case 2:return["__assign"];case 4:return["__rest"];case 8:return T?["__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"];case 33554432:return["__addDisposableResource","__disposeResources"];default:return rA.fail("Unrecognized helper")}}(s))),u=c.next();!u.done;u=c.next()){var _,l=u.value;p.has(l)||(p.add(l),(_=zi(_i(lo(i),IA(l),111551)))?524288&s?dD(I_(_),function(e){return 3<nk(e)})||Ua(e,mA.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,lF,l,4):1048576&s?dD(I_(_),function(e){return 4<nk(e)})||Ua(e,mA.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,lF,l,5):1024&s&&(dD(I_(_),function(e){return 2<nk(e)})||Ua(e,mA.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,lF,l,3)):Ua(e,mA.This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0,lF,l))}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}d|=t}}}function fN(e){var t,r,n=function(e){e=function(e){return BB(e)?QN(e.modifiers,NR):void 0}(e);return e&&ON(e,mA.Decorators_are_not_valid_here)}(e)||function(e){if(!e.modifiers)return!1;e=function(e){switch(e.kind){case 177:case 178:case 176:case 172:case 171:case 174:case 173:case 181:case 267:case 272:case 271:case 278:case 277:case 218:case 219:case 169:case 168:return;case 175:case 303:case 304:case 270:case 282:return QN(e.modifiers,gE);default:if(268===e.parent.kind||312===e.parent.kind)return;switch(e.kind){case 262:return pN(e,134);case 263:case 185:return pN(e,128);case 231:case 264:case 265:return QN(e.modifiers,gE);case 243:return 4&e.declarationList.flags?pN(e,135):QN(e.modifiers,gE);case 266:return pN(e,87);default:rA.assertNever(e)}}}(e);return e&&ON(e,mA.Modifiers_cannot_appear_here)}(e);if(void 0!==n)return n;if(CR(e)&&ZO(e))return ON(e,mA.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters);var a,i,o,s,c,u=Tj(e)?7&e.declarationList.flags:0,_=0,l=!1,d=!1;try{for(var f=__values(e.modifiers),p=f.next();!p.done;p=f.next()){var m=p.value;if(NR(m)){if(!XP(T,e,e.parent,e.parent.parent))return 174!==e.kind||FF(e.body)?ON(e,mA.Decorators_are_not_valid_here):ON(e,mA.A_decorator_can_only_decorate_a_method_implementation_not_an_overload);if(T&&(177===e.kind||178===e.kind)){var y=rL(e.parent.members,e);if(gL(y.firstAccessor)&&e===y.secondAccessor)return ON(e,mA.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name)}if(-132098&_)return RN(m,mA.Decorators_are_not_valid_here);if(d&&126975&_)return rA.assertIsDefined(c),!IN(CF(m))&&(SM(Ua(m,mA.Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export),tP(c,mA.Decorator_used_before_export_here)),!0);126975&(_|=131072)?1&_&&(l=!0):d=!0,null!=c||(c=m)}else{if(148!==m.kind){if(171===e.kind||173===e.kind)return RN(m,mA._0_modifier_cannot_appear_on_a_type_member,vA(m.kind));if(181===e.kind&&(126!==m.kind||!NE(e.parent)))return RN(m,mA._0_modifier_cannot_appear_on_an_index_signature,vA(m.kind))}if(103!==m.kind&&147!==m.kind&&87!==m.kind&&168===e.kind)return RN(m,mA._0_modifier_cannot_appear_on_a_type_parameter,vA(m.kind));switch(m.kind){case 87:if(266!==e.kind&&168!==e.kind)return RN(e,mA.A_class_member_cannot_have_the_0_keyword,yA[87]);var v=e.parent;if(168===e.kind&&!(TE(v)||NE(v)||JR(v)||zR(v)||MR(v)||RR(v)||ER(v)))return RN(m,mA._0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class,vA(m.kind));break;case 164:if(16384&_)return RN(m,mA._0_modifier_already_seen,"override");if(2&_)return RN(m,mA._0_modifier_cannot_be_used_with_1_modifier,"override","declare");if(64&_)return RN(m,mA._0_modifier_must_precede_1_modifier,"override","readonly");if(128&_)return RN(m,mA._0_modifier_must_precede_1_modifier,"override","accessor");if(512&_)return RN(m,mA._0_modifier_must_precede_1_modifier,"override","async");_|=16384,s=m;break;case 125:case 124:case 123:var g=os(kL(m.kind));if(28&_)return RN(m,mA.Accessibility_modifier_already_seen);if(16384&_)return RN(m,mA._0_modifier_must_precede_1_modifier,g,"override");if(32&_)return RN(m,mA._0_modifier_must_precede_1_modifier,g,"static");if(128&_)return RN(m,mA._0_modifier_must_precede_1_modifier,g,"accessor");if(64&_)return RN(m,mA._0_modifier_must_precede_1_modifier,g,"readonly");if(512&_)return RN(m,mA._0_modifier_must_precede_1_modifier,g,"async");if(268===e.parent.kind||312===e.parent.kind)return RN(m,mA._0_modifier_cannot_appear_on_a_module_or_namespace_element,g);if(256&_)return 123===m.kind?RN(m,mA._0_modifier_cannot_be_used_with_1_modifier,g,"abstract"):RN(m,mA._0_modifier_must_precede_1_modifier,g,"abstract");if(yE(e))return RN(m,mA.An_accessibility_modifier_cannot_be_used_with_a_private_identifier);_|=kL(m.kind);break;case 126:if(32&_)return RN(m,mA._0_modifier_already_seen,"static");if(64&_)return RN(m,mA._0_modifier_must_precede_1_modifier,"static","readonly");if(512&_)return RN(m,mA._0_modifier_must_precede_1_modifier,"static","async");if(128&_)return RN(m,mA._0_modifier_must_precede_1_modifier,"static","accessor");if(268===e.parent.kind||312===e.parent.kind)return RN(m,mA._0_modifier_cannot_appear_on_a_module_or_namespace_element,"static");if(169===e.kind)return RN(m,mA._0_modifier_cannot_appear_on_a_parameter,"static");if(256&_)return RN(m,mA._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");if(16384&_)return RN(m,mA._0_modifier_must_precede_1_modifier,"static","override");_|=32,a=m;break;case 129:if(128&_)return RN(m,mA._0_modifier_already_seen,"accessor");if(64&_)return RN(m,mA._0_modifier_cannot_be_used_with_1_modifier,"accessor","readonly");if(2&_)return RN(m,mA._0_modifier_cannot_be_used_with_1_modifier,"accessor","declare");if(172!==e.kind)return RN(m,mA.accessor_modifier_can_only_appear_on_a_property_declaration);_|=128;break;case 148:if(64&_)return RN(m,mA._0_modifier_already_seen,"readonly");if(172!==e.kind&&171!==e.kind&&181!==e.kind&&169!==e.kind)return RN(m,mA.readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature);if(128&_)return RN(m,mA._0_modifier_cannot_be_used_with_1_modifier,"readonly","accessor");_|=64;break;case 95:if(ee.verbatimModuleSyntax&&!(33554432&e.flags)&&265!==e.kind&&264!==e.kind&&267!==e.kind&&312===e.parent.kind&&(1===x||1===CF(e).impliedNodeFormat))return RN(m,mA.A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled);if(1&_)return RN(m,mA._0_modifier_already_seen,"export");if(2&_)return RN(m,mA._0_modifier_must_precede_1_modifier,"export","declare");if(256&_)return RN(m,mA._0_modifier_must_precede_1_modifier,"export","abstract");if(512&_)return RN(m,mA._0_modifier_must_precede_1_modifier,"export","async");if(NE(e.parent))return RN(m,mA._0_modifier_cannot_appear_on_class_elements_of_this_kind,"export");if(169===e.kind)return RN(m,mA._0_modifier_cannot_appear_on_a_parameter,"export");if(4==u)return RN(m,mA._0_modifier_cannot_appear_on_a_using_declaration,"export");if(6==u)return RN(m,mA._0_modifier_cannot_appear_on_an_await_using_declaration,"export");_|=1;break;case 90:var h=(312===e.parent.kind?e:e.parent).parent;if(267===h.kind&&!RF(h))return RN(m,mA.A_default_export_can_only_be_used_in_an_ECMAScript_style_module);if(4==u)return RN(m,mA._0_modifier_cannot_appear_on_a_using_declaration,"default");if(6==u)return RN(m,mA._0_modifier_cannot_appear_on_an_await_using_declaration,"default");if(!(1&_))return RN(m,mA._0_modifier_must_precede_1_modifier,"export","default");if(l)return RN(c,mA.Decorators_are_not_valid_here);_|=1024;break;case 138:if(2&_)return RN(m,mA._0_modifier_already_seen,"declare");if(512&_)return RN(m,mA._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(16384&_)return RN(m,mA._0_modifier_cannot_be_used_in_an_ambient_context,"override");if(NE(e.parent)&&!AR(e))return RN(m,mA._0_modifier_cannot_appear_on_class_elements_of_this_kind,"declare");if(169===e.kind)return RN(m,mA._0_modifier_cannot_appear_on_a_parameter,"declare");if(4==u)return RN(m,mA._0_modifier_cannot_appear_on_a_using_declaration,"declare");if(6==u)return RN(m,mA._0_modifier_cannot_appear_on_an_await_using_declaration,"declare");if(33554432&e.parent.flags&&268===e.parent.kind)return RN(m,mA.A_declare_modifier_cannot_be_used_in_an_already_ambient_context);if(yE(e))return RN(m,mA._0_modifier_cannot_be_used_with_a_private_identifier,"declare");if(128&_)return RN(m,mA._0_modifier_cannot_be_used_with_1_modifier,"declare","accessor");_|=2,i=m;break;case 128:if(256&_)return RN(m,mA._0_modifier_already_seen,"abstract");if(263!==e.kind&&185!==e.kind){if(174!==e.kind&&172!==e.kind&&177!==e.kind&&178!==e.kind)return RN(m,mA.abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration);if(263!==e.parent.kind||!_L(e.parent,256))return RN(m,172===e.kind?mA.Abstract_properties_can_only_appear_within_an_abstract_class:mA.Abstract_methods_can_only_appear_within_an_abstract_class);if(32&_)return RN(m,mA._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");if(8&_)return RN(m,mA._0_modifier_cannot_be_used_with_1_modifier,"private","abstract");if(512&_&&o)return RN(o,mA._0_modifier_cannot_be_used_with_1_modifier,"async","abstract");if(16384&_)return RN(m,mA._0_modifier_must_precede_1_modifier,"abstract","override");if(128&_)return RN(m,mA._0_modifier_must_precede_1_modifier,"abstract","accessor")}if(BA(e)&&81===e.name.kind)return RN(m,mA._0_modifier_cannot_be_used_with_a_private_identifier,"abstract");_|=256;break;case 134:if(512&_)return RN(m,mA._0_modifier_already_seen,"async");if(2&_||33554432&e.parent.flags)return RN(m,mA._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(169===e.kind)return RN(m,mA._0_modifier_cannot_appear_on_a_parameter,"async");if(256&_)return RN(m,mA._0_modifier_cannot_be_used_with_1_modifier,"async","abstract");_|=512,o=m;break;case 103:case 147:g=103===m.kind?32768:65536,h=103===m.kind?"in":"out";if(168!==e.kind||!(Ij(e.parent)||NE(e.parent)||Oj(e.parent)))return RN(m,mA._0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias,h);if(_&g)return RN(m,mA._0_modifier_already_seen,h);if(32768&g&&65536&_)return RN(m,mA._0_modifier_must_precede_1_modifier,"in","out");_|=g}}}}catch(e){t={error:e}}finally{try{p&&!p.done&&(r=f.return)&&r.call(f)}finally{if(t)throw t.error}}return 176===e.kind?32&_?RN(a,mA._0_modifier_cannot_appear_on_a_constructor_declaration,"static"):16384&_?RN(s,mA._0_modifier_cannot_appear_on_a_constructor_declaration,"override"):!!(512&_)&&RN(o,mA._0_modifier_cannot_appear_on_a_constructor_declaration,"async"):(272===e.kind||271===e.kind)&&2&_?RN(i,mA.A_0_modifier_cannot_be_used_with_an_import_declaration,"declare"):169===e.kind&&16476&_&&PE(e.name)?RN(e,mA.A_parameter_property_may_not_be_declared_using_a_binding_pattern):169===e.kind&&16476&_&&e.dotDotDotToken?RN(e,mA.A_parameter_property_cannot_be_declared_using_a_rest_parameter):!!(512&_)&&function(e,t){switch(e.kind){case 174:case 262:case 218:case 219:return!1}return RN(t,mA._0_modifier_cannot_be_used_here,"async")}(e,o)}function pN(e,t){e=QN(e.modifiers,gE);return e&&e.kind!==t?e:void 0}function mN(e,t){return void 0===t&&(t=mA.Trailing_comma_not_allowed),!(!e||!e.hasTrailingComma)&&LN(e[0],e.end-",".length,",".length,t)}function yN(e,t){if(e&&0===e.length){var r=e.pos-"<".length;return LN(t,r,xA(t.text,e.end)+">".length-r,mA.Type_parameter_list_cannot_be_empty)}return!1}function vN(e){if(3<=V){var t=e.body&&kj(e.body)&&IB(e.body.statements);if(t){e=nD(e.parameters,function(e){return e.initializer||PE(e.name)||uF(e)});if(HN(e)){KN(e,function(e){SM(Ua(e,mA.This_parameter_is_not_allowed_with_use_strict_directive),tP(t,mA.use_strict_directive_used_here))});e=e.map(function(e,t){return tP(e,0===t?mA.Non_simple_parameter_declared_here:mA.and_here)});return SM.apply(void 0,__spreadArray([Ua(t,mA.use_strict_directive_cannot_be_used_with_non_simple_parameter_list)],__read(e),!1)),!0}}}return!1}function gN(e){var t=CF(e);return fN(e)||yN(e.typeParameters,t)||function(e){for(var t=!1,r=e.length,n=0;n<r;n++){var a=e[n];if(a.dotDotDotToken){if(n!==r-1)return RN(a.dotDotDotToken,mA.A_rest_parameter_must_be_last_in_a_parameter_list);if(33554432&a.flags||mN(e,mA.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),a.questionToken)return RN(a.questionToken,mA.A_rest_parameter_cannot_be_optional);if(a.initializer)return RN(a.name,mA.A_rest_parameter_cannot_have_an_initializer)}else if(C_(a)){if(t=!0,a.questionToken&&a.initializer)return RN(a.name,mA.Parameter_cannot_have_question_mark_and_initializer)}else if(t&&!a.initializer)return RN(a.name,mA.A_required_parameter_cannot_follow_an_optional_parameter)}}(e.parameters)||function(e,t){if(!lj(e))return!1;e.typeParameters&&!(1<HN(e.typeParameters)||e.typeParameters.hasTrailingComma||e.typeParameters[0].constraint)&&t&&_A(t.fileName,[".mts",".cts"])&&RN(e.typeParameters[0],mA.This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint);var r=e.equalsGreaterThanToken,e=gA(t,r.pos).line,t=gA(t,r.end).line;return e!==t&&RN(r,mA.Line_terminator_not_permitted_before_arrow)}(e,t)||TE(e)&&vN(e)}function hN(e,t){return mN(t)||function(e,t){if(t&&0===t.length){var r=CF(e),e=t.pos-"<".length;return LN(r,e,xA(r.text,t.end)+">".length-e,mA.Type_argument_list_cannot_be_empty)}return!1}(e,t)}function xN(e){var t=e.types;if(mN(t))return 1;if(t&&0===t.length){var r=vA(e.token);return LN(e,t.pos,0,mA._0_list_cannot_be_empty,r)}return dD(t,bN)}function bN(e){return hj(e)&&kR(e.expression)&&e.typeArguments?RN(e,mA.This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments):hN(e,e.typeArguments)}function kN(e){return 167===e.kind&&(226===e.expression.kind&&28===e.expression.operatorToken.kind&&RN(e.expression,mA.A_comma_expression_is_not_allowed_in_a_computed_property_name))}function TN(e){return e.asteriskToken&&(rA.assert(262===e.kind||218===e.kind||174===e.kind),33554432&e.flags?RN(e.asteriskToken,mA.Generators_are_not_allowed_in_an_ambient_context):!e.body&&RN(e.asteriskToken,mA.An_overload_signature_cannot_be_declared_as_a_generator))}function SN(e,t){return e&&RN(e,t)}function wN(e,t){return e&&RN(e,t)}function CN(e){if(jN(e))return 1;if(250!==e.kind||!e.awaitModifier||65536&e.flags)if(!Dj(e)||65536&e.flags||!xR(e.initializer)||"async"!==e.initializer.escapedText){if(261===e.initializer.kind){var t=e.initializer;if(!PN(t)){var r=t.declarations;if(!r.length)return;if(1<r.length){n=249===e.kind?mA.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:mA.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement;return ON(t.declarations[1],n)}r=r[0];if(r.initializer){var n=249===e.kind?mA.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:mA.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer;return RN(r.name,n)}if(r.type)return RN(r,n=249===e.kind?mA.The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:mA.The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation)}}}else RN(e.initializer,mA.The_left_hand_side_of_a_for_of_statement_may_not_be_async);else{var a=CF(e);if(BP(e)){if(!IN(a))switch(qF(a,ee)||Sa.add(tP(e.awaitModifier,mA.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)),x){case 100:case 199:if(1===a.impliedNodeFormat){Sa.add(tP(e.awaitModifier,mA.The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level));break}case 7:case 99:case 4:if(4<=V)break;default:Sa.add(tP(e.awaitModifier,mA.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(!IN(a)){var n=tP(e.awaitModifier,mA.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules),r=PP(e);return r&&176!==r.kind&&(rA.assert(0==(2&kO(r)),"Enclosing function should never be an async function."),SM(n,tP(r,mA.Did_you_mean_to_mark_this_function_as_async))),Sa.add(n),1}}}function NN(e){if(e.parameters.length===(177===e.kind?1:2))return YO(e)}function DN(e,t){if(CO(r=e)&&!Uc(r))return RN(e,t);var r}function AN(e){if(gN(e))return 1;if(174===e.kind){if(210===e.parent.kind){if(e.modifiers&&(1!==e.modifiers.length||134!==SD(e.modifiers).kind))return ON(e,mA.Modifiers_cannot_appear_here);if(SN(e.questionToken,mA.An_object_member_cannot_be_declared_optional))return 1;if(wN(e.exclamationToken,mA.A_definite_assignment_assertion_is_not_permitted_in_this_context))return 1;if(void 0===e.body)return LN(e,e.end-1,";".length,mA._0_expected,"{")}if(TN(e))return 1}return NE(e.parent)?V<2&&bR(e.name)?RN(e.name,mA.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher):33554432&e.flags?DN(e.name,mA.A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type):174===e.kind&&!e.body&&DN(e.name,mA.A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type):264===e.parent.kind?DN(e.name,mA.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type):187===e.parent.kind&&DN(e.name,mA.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 EN(e){return SO(e)||224===e.kind&&41===e.operator&&9===e.operand.kind}function FN(e){var t,r=e.initializer;if(r){var n=!(EN(r)||(aj(t=r)||ij(t)&&EN(t.argumentExpression))&&AL(t.expression)&&1056&iT(t).flags||112===r.kind||97===r.kind||(10===(n=r).kind||224===n.kind&&41===n.operator&&10===n.operand.kind));return(fP(e)||Aj(e)&&qN(e))&&!e.type?n&&RN(r,mA.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference):RN(r,mA.Initializers_are_not_allowed_in_ambient_contexts)}}function PN(e){var t=e.declarations;if(mN(e.declarations))return 1;if(!e.declarations.length)return LN(e,t.pos,t.end-t.pos,mA.Variable_declaration_list_cannot_be_empty);t=7&e.flags;return 4!=t&&6!=t||!Nj(e.parent)?6==t&&Uk(e):RN(e,4==t?mA.The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration:mA.The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration)}function IN(e){return 0<e.parseDiagnostics.length}function ON(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=CF(e);if(IN(a))return!1;e=sP(a,e.pos);return Sa.add(QL.apply(void 0,__spreadArray([a,e.start,e.length,t],__read(r),!1))),!0}function LN(e,t,r,n){for(var a=[],i=4;i<arguments.length;i++)a[i-4]=arguments[i];e=CF(e);return!IN(e)&&(Sa.add(QL.apply(void 0,__spreadArray([e,t,r,n],__read(a),!1))),!0)}function MN(e,t,r){for(var n=[],a=3;a<arguments.length;a++)n[a-3]=arguments[a];return!IN(CF(t))&&(Ja.apply(void 0,__spreadArray([e,t,r],__read(n),!1)),!0)}function RN(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return!IN(CF(e))&&(Sa.add(tP.apply(void 0,__spreadArray([e,t],__read(r),!1))),!0)}function jN(e){if(33554432&e.flags){if(!ci(e).hasReportedStatementInAmbientContext&&(bE(e.parent)||DE(e.parent)))return ci(e).hasReportedStatementInAmbientContext=ON(e,mA.An_implementation_cannot_be_declared_in_ambient_contexts);if(241===e.parent.kind||268===e.parent.kind||312===e.parent.kind){var t=ci(e.parent);if(!t.hasReportedStatementInAmbientContext)return t.hasReportedStatementInAmbientContext=ON(e,mA.Statements_are_not_allowed_in_ambient_contexts)}}}function BN(e){var t=-1!==PF(e).indexOf("."),r=16&e.numericLiteralFlags;t||r||+e.text<=Math.pow(2,53)-1||Va(!1,tP(e,mA.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers))}function JN(e){return!!KN(e.elements,function(e){if(e.isTypeOnly)return ON(e,276===e.kind?mA.The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement:mA.The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement)})}function zN(e,t,r){if(1048576&t.flags&&2621440&e.flags){var n=hv(t,e);if(n)return n;e=Ou(e);if(e){e=yv(e,t);if(e){r=cm(t,iD(e,function(e){return[function(){return sc(e)},e.escapedName]}),r);if(r!==t)return r}}}}function UN(e){return Ee===e?Me:Me=DA(Ee=e)}function VN(e){return Ae===e?Le:Le=AA(Ae=e)}function qN(e){e=7&VN(e);return 2==e||4==e||6==e}}function EC(e){return!DE(e)}function gJ(e){return 262!==e.kind&&174!==e.kind||!!e.body}function hJ(e){switch(e.parent.kind){case 276:case 281:return xR(e);default:return uO(e)}}function xJ(e){switch(e){case 0:return"yieldType";case 1:return"returnType";case 2:return"nextType"}}function bJ(e){return!!(1&e.flags)}function kJ(e){return!!(2&e.flags)}var FC,PC=e({"src/compiler/checker.ts":function(){var e;function n(e,t,r){for(this.moduleResolverHost=void 0,this.inner=void 0,this.disableTrackSymbol=!1;t instanceof n;)t=t.inner;this.inner=t,this.moduleResolverHost=r,this.context=e,this.canTrackSymbol=!(null==(e=this.inner)||!e.trackSymbol)}MK(),DC(),An(),aJ=/^".+"$/,iJ="(anonymous)",sJ=oJ=SC=TC=1,wC=function(e){return e[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",e}(wC||{}),cJ=new Map(Object.entries({string:256,number:512,bigint:1024,boolean:2048,symbol:4096,undefined:524288,object:8192,function:16384})),CC=function(e){return e[e.Normal=0]="Normal",e[e.Contextual=1]="Contextual",e[e.Inferential=2]="Inferential",e[e.SkipContextSensitive=4]="SkipContextSensitive",e[e.SkipGenericFunctions=8]="SkipGenericFunctions",e[e.IsForSignatureHelp=16]="IsForSignatureHelp",e[e.IsForStringLiteralArgumentCompletions=32]="IsForStringLiteralArgumentCompletions",e[e.RestBindingElement=64]="RestBindingElement",e[e.TypeOnly=128]="TypeOnly",e}(CC||{}),NC=function(e){return e[e.None=0]="None",e[e.BivariantCallback=1]="BivariantCallback",e[e.StrictCallback=2]="StrictCallback",e[e.IgnoreReturnTypes=4]="IgnoreReturnTypes",e[e.StrictArity=8]="StrictArity",e[e.StrictTopSignature=16]="StrictTopSignature",e[e.Callback=3]="Callback",e}(NC||{}),uJ=YD(gJ,EC),_J=new Map(Object.entries({Uppercase:0,Lowercase:1,Capitalize:2,Uncapitalize:3})),lJ=function(){},(e=dJ=dJ||{}).JSX="JSX",e.IntrinsicElements="IntrinsicElements",e.ElementClass="ElementClass",e.ElementAttributesPropertyNameContainer="ElementAttributesProperty",e.ElementChildrenAttributeNameContainer="ElementChildrenAttribute",e.Element="Element",e.ElementType="ElementType",e.IntrinsicAttributes="IntrinsicAttributes",e.IntrinsicClassAttributes="IntrinsicClassAttributes",e.LibraryManagedAttributes="LibraryManagedAttributes",n.prototype.trackSymbol=function(e,t,r){var n;return!(null==(n=this.inner)||!n.trackSymbol||this.disableTrackSymbol||!this.inner.trackSymbol(e,t,r))&&(this.onDiagnosticReported(),!0)},n.prototype.reportInaccessibleThisError=function(){var e;null!=(e=this.inner)&&e.reportInaccessibleThisError&&(this.onDiagnosticReported(),this.inner.reportInaccessibleThisError())},n.prototype.reportPrivateInBaseOfClassExpression=function(e){var t;null!=(t=this.inner)&&t.reportPrivateInBaseOfClassExpression&&(this.onDiagnosticReported(),this.inner.reportPrivateInBaseOfClassExpression(e))},n.prototype.reportInaccessibleUniqueSymbolError=function(){var e;null!=(e=this.inner)&&e.reportInaccessibleUniqueSymbolError&&(this.onDiagnosticReported(),this.inner.reportInaccessibleUniqueSymbolError())},n.prototype.reportCyclicStructureError=function(){var e;null!=(e=this.inner)&&e.reportCyclicStructureError&&(this.onDiagnosticReported(),this.inner.reportCyclicStructureError())},n.prototype.reportLikelyUnsafeImportRequiredError=function(e){var t;null!=(t=this.inner)&&t.reportLikelyUnsafeImportRequiredError&&(this.onDiagnosticReported(),this.inner.reportLikelyUnsafeImportRequiredError(e))},n.prototype.reportTruncationError=function(){var e;null!=(e=this.inner)&&e.reportTruncationError&&(this.onDiagnosticReported(),this.inner.reportTruncationError())},n.prototype.trackReferencedAmbientModule=function(e,t){var r;null!=(r=this.inner)&&r.trackReferencedAmbientModule&&(this.onDiagnosticReported(),this.inner.trackReferencedAmbientModule(e,t))},n.prototype.trackExternalModuleSymbolOfImportTypeNode=function(e){var t;null!=(t=this.inner)&&t.trackExternalModuleSymbolOfImportTypeNode&&(this.onDiagnosticReported(),this.inner.trackExternalModuleSymbolOfImportTypeNode(e))},n.prototype.reportNonlocalAugmentation=function(e,t,r){var n;null!=(n=this.inner)&&n.reportNonlocalAugmentation&&(this.onDiagnosticReported(),this.inner.reportNonlocalAugmentation(e,t,r))},n.prototype.reportNonSerializableProperty=function(e){var t;null!=(t=this.inner)&&t.reportNonSerializableProperty&&(this.onDiagnosticReported(),this.inner.reportNonSerializableProperty(e))},n.prototype.reportImportTypeNodeResolutionModeOverride=function(){var e;null!=(e=this.inner)&&e.reportImportTypeNodeResolutionModeOverride&&(this.onDiagnosticReported(),this.inner.reportImportTypeNodeResolutionModeOverride())},n.prototype.onDiagnosticReported=function(){this.context.reportedDiagnostic=!0},fJ=n}});function TJ(e,t,r,n){if(void 0===e)return e;e=t(e);return void 0!==e?(e=RD(e)?(n||function(e){return rA.assert(e.length<=1,"Too many nodes written to output."),pa(e)})(e):e,rA.assertNode(e,r),e):void 0}function SJ(e,t,r,n,a){if(void 0===e)return e;var i=e.length;(void 0===n||n<0)&&(n=0),(void 0===a||i-n<a)&&(a=i-n);var o=-1,s=-1,i=0<n||a<i?e.hasTrailingComma&&n+a===i:(o=e.pos,s=e.end,e.hasTrailingComma),a=OC(e,t,r,n,a);if(a===e)return e;i=uR.createNodeArray(a,i);return MM(i,o,s),i}function IC(e,t,r,n,a){if(void 0===e)return e;var i=e.length;return(void 0===n||n<0)&&(n=0),(void 0===a||i-n<a)&&(a=i-n),OC(e,t,r,n,a)}function OC(e,t,r,n,a){var i,o,s,c=e.length;(0<n||a<c)&&(s=[]);for(var u=0;u<a;u++){var _=e[u+n],l=void 0!==_?t?t(_):_:void 0;if((void 0!==s||void 0===l||l!==_)&&(void 0===s&&(s=e.slice(0,u),rA.assertEachNode(s,r)),l))if(RD(l))try{for(var d=(i=void 0,__values(l)),f=d.next();!f.done;f=d.next()){var p=f.value;rA.assertNode(p,r),s.push(p)}}catch(e){i={error:e}}finally{try{f&&!f.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}else rA.assertNode(l,r),s.push(l)}return s||(rA.assertEachNode(e,r),e)}function LC(e,t,r,n,a,i){return void 0===i&&(i=SJ),r.startLexicalEnvironment(),e=i(e,t,XE,n),a&&(e=r.factory.ensureUseStrict(e)),uR.mergeLexicalEnvironment(e,r.endLexicalEnvironment())}function MC(e,t,r,n){var a;return void 0===n&&(n=SJ),r.startLexicalEnvironment(),e&&(r.setLexicalEnvironmentFlags(1,!0),a=n(e,t,CR),2&r.getLexicalEnvironmentFlags()&&2<=rM(r.getCompilerOptions())&&(a=function(e,t){for(var r,n=0;n<e.length;n++){var a=e[n],i=function(e,t){return e.dotDotDotToken?e:PE(e.name)?function(e,t){var r=t.factory;return t.addInitializationStatement(r.createVariableStatement(void 0,r.createVariableDeclarationList([r.createVariableDeclaration(e.name,void 0,e.type,e.initializer?r.createConditionalExpression(r.createStrictEquality(r.getGeneratedNameForNode(e),r.createVoidZero()),void 0,e.initializer,void 0,r.getGeneratedNameForNode(e)):r.getGeneratedNameForNode(e))]))),r.updateParameterDeclaration(e,e.modifiers,e.dotDotDotToken,r.getGeneratedNameForNode(e),e.questionToken,e.type,void 0)}(e,t):e.initializer?function(e,t,r,n){var a=n.factory;return n.addInitializationStatement(a.createIfStatement(a.createTypeCheck(a.cloneNode(t),"undefined"),lR(UB(a.createBlock([a.createExpressionStatement(lR(UB(a.createAssignment(lR(a.cloneNode(t),96),lR(r,3168|p_(r))),e),3072))]),e),3905))),a.updateParameterDeclaration(e,e.modifiers,e.dotDotDotToken,e.name,e.questionToken,e.type,void 0)}(e,e.name,e.initializer,t):e}(a,t);!r&&i===a||((r=r||e.slice(0,n))[n]=i)}if(r)return UB(t.factory.createNodeArray(r,e.hasTrailingComma),e);return e}(a,r)),r.setLexicalEnvironmentFlags(1,!1)),r.suspendLexicalEnvironment(),a}function RC(e,t,r,n){void 0===n&&(n=TJ),r.resumeLexicalEnvironment();n=n(e,t,fc),e=r.endLexicalEnvironment();if(dD(e)){if(!n)return r.factory.createBlock(e);t=r.factory.converters.convertToFunctionBlock(n),e=uR.mergeLexicalEnvironment(t.statements,e);return r.factory.updateBlock(t,e)}return n}function jC(e,t,r,n){void 0===n&&(n=TJ),r.startBlockScope();e=n(e,t,XE,r.factory.liftToBlock);rA.assert(e);t=r.endBlockScope();return dD(t)?kj(e)?(t.push.apply(t,__spreadArray([],__read(e.statements),!1)),r.factory.updateBlock(e,t)):(t.push(e),r.factory.createBlock(t)):e}function BC(e,r,n){if(void 0===n&&(n=r),n===r||e.length<=1)return SJ(e,r,jE);var a=0,i=e.length;return SJ(e,function(e){var t=a<i-1;return a++,(t?n:r)(e)},jE)}function wJ(e,t,r,n,a,i){if(void 0===n&&(n=SJ),void 0===i&&(i=TJ),void 0!==e){var o=FC[e.kind];return void 0===o?e:o(e,t,r,n,i,a)}}var JC,zC,UC,VC,qC=e({"src/compiler/visitorPublic.ts":function(){MK(),FC={166:function(e,t,r,n,a,i){return r.factory.updateQualifiedName(e,rA.checkDefined(a(e.left,t,hE)),rA.checkDefined(a(e.right,t,xR)))},167:function(e,t,r,n,a,i){return r.factory.updateComputedPropertyName(e,rA.checkDefined(a(e.expression,t,jE)))},168:function(e,t,r,n,a,i){return r.factory.updateTypeParameterDeclaration(e,n(e.modifiers,t,gE),rA.checkDefined(a(e.name,t,xR)),a(e.constraint,t,FE),a(e.default,t,FE))},169:function(e,t,r,n,a,i){return r.factory.updateParameterDeclaration(e,n(e.modifiers,t,Hs),i?a(e.dotDotDotToken,i,Qv):e.dotDotDotToken,rA.checkDefined(a(e.name,t,zs)),i?a(e.questionToken,i,rg):e.questionToken,a(e.type,t,FE),a(e.initializer,t,jE))},170:function(e,t,r,n,a,i){return r.factory.updateDecorator(e,rA.checkDefined(a(e.expression,t,jE)))},171:function(e,t,r,n,a,i){return r.factory.updatePropertySignature(e,n(e.modifiers,t,gE),rA.checkDefined(a(e.name,t,xE)),i?a(e.questionToken,i,rg):e.questionToken,a(e.type,t,FE))},172:function(e,t,r,n,a,i){return r.factory.updatePropertyDeclaration(e,n(e.modifiers,t,Hs),rA.checkDefined(a(e.name,t,xE)),i?a(null!==(n=e.questionToken)&&void 0!==n?n:e.exclamationToken,i,wx):null!==(i=e.questionToken)&&void 0!==i?i:e.exclamationToken,a(e.type,t,FE),a(e.initializer,t,jE))},173:function(e,t,r,n,a,i){return r.factory.updateMethodSignature(e,n(e.modifiers,t,gE),rA.checkDefined(a(e.name,t,xE)),i?a(e.questionToken,i,rg):e.questionToken,n(e.typeParameters,t,wR),n(e.parameters,t,CR),a(e.type,t,FE))},174:function(e,t,r,n,a,i){return r.factory.updateMethodDeclaration(e,n(e.modifiers,t,Hs),i?a(e.asteriskToken,i,eg):e.asteriskToken,rA.checkDefined(a(e.name,t,xE)),i?a(e.questionToken,i,rg):e.questionToken,n(e.typeParameters,t,wR),MC(e.parameters,t,r,n),a(e.type,t,FE),RC(e.body,t,r,a))},176:function(e,t,r,n,a,i){return r.factory.updateConstructorDeclaration(e,n(e.modifiers,t,Hs),MC(e.parameters,t,r,n),RC(e.body,t,r,a))},177:function(e,t,r,n,a,i){return r.factory.updateGetAccessorDeclaration(e,n(e.modifiers,t,Hs),rA.checkDefined(a(e.name,t,xE)),MC(e.parameters,t,r,n),a(e.type,t,FE),RC(e.body,t,r,a))},178:function(e,t,r,n,a,i){return r.factory.updateSetAccessorDeclaration(e,n(e.modifiers,t,Hs),rA.checkDefined(a(e.name,t,xE)),MC(e.parameters,t,r,n),RC(e.body,t,r,a))},175:function(e,t,r,n,a,i){return r.startLexicalEnvironment(),r.suspendLexicalEnvironment(),r.factory.updateClassStaticBlockDeclaration(e,RC(e.body,t,r,a))},179:function(e,t,r,n,a,i){return r.factory.updateCallSignature(e,n(e.typeParameters,t,wR),n(e.parameters,t,CR),a(e.type,t,FE))},180:function(e,t,r,n,a,i){return r.factory.updateConstructSignature(e,n(e.typeParameters,t,wR),n(e.parameters,t,CR),a(e.type,t,FE))},181:function(e,t,r,n,a,i){return r.factory.updateIndexSignature(e,n(e.modifiers,t,Hs),n(e.parameters,t,CR),rA.checkDefined(a(e.type,t,FE)))},182:function(e,t,r,n,a,i){return r.factory.updateTypePredicateNode(e,a(e.assertsModifier,t,ug),rA.checkDefined(a(e.parameterName,t,Cx)),a(e.type,t,FE))},183:function(e,t,r,n,a,i){return r.factory.updateTypeReferenceNode(e,rA.checkDefined(a(e.typeName,t,hE)),n(e.typeArguments,t,FE))},184:function(e,t,r,n,a,i){return r.factory.updateFunctionTypeNode(e,n(e.typeParameters,t,wR),n(e.parameters,t,CR),rA.checkDefined(a(e.type,t,FE)))},185:function(e,t,r,n,a,i){return r.factory.updateConstructorTypeNode(e,n(e.modifiers,t,gE),n(e.typeParameters,t,wR),n(e.parameters,t,CR),rA.checkDefined(a(e.type,t,FE)))},186:function(e,t,r,n,a,i){return r.factory.updateTypeQueryNode(e,rA.checkDefined(a(e.exprName,t,hE)),n(e.typeArguments,t,FE))},187:function(e,t,r,n,a,i){return r.factory.updateTypeLiteralNode(e,n(e.members,t,Ks))},188:function(e,t,r,n,a,i){return r.factory.updateArrayTypeNode(e,rA.checkDefined(a(e.elementType,t,FE)))},189:function(e,t,r,n,a,i){return r.factory.updateTupleTypeNode(e,n(e.elements,t,FE))},190:function(e,t,r,n,a,i){return r.factory.updateOptionalTypeNode(e,rA.checkDefined(a(e.type,t,FE)))},191:function(e,t,r,n,a,i){return r.factory.updateRestTypeNode(e,rA.checkDefined(a(e.type,t,FE)))},192:function(e,t,r,n,a,i){return r.factory.updateUnionTypeNode(e,n(e.types,t,FE))},193:function(e,t,r,n,a,i){return r.factory.updateIntersectionTypeNode(e,n(e.types,t,FE))},194:function(e,t,r,n,a,i){return r.factory.updateConditionalTypeNode(e,rA.checkDefined(a(e.checkType,t,FE)),rA.checkDefined(a(e.extendsType,t,FE)),rA.checkDefined(a(e.trueType,t,FE)),rA.checkDefined(a(e.falseType,t,FE)))},195:function(e,t,r,n,a,i){return r.factory.updateInferTypeNode(e,rA.checkDefined(a(e.typeParameter,t,wR)))},205:function(e,t,r,n,a,i){return r.factory.updateImportTypeNode(e,rA.checkDefined(a(e.argument,t,FE)),a(e.assertions,t,th),a(e.qualifier,t,hE),n(e.typeArguments,t,FE),e.isTypeOf)},302:function(e,t,r,n,a,i){return r.factory.updateImportTypeAssertionContainer(e,rA.checkDefined(a(e.assertClause,t,rh)),e.multiLine)},202:function(e,t,r,n,a,i){return r.factory.updateNamedTupleMember(e,i?a(e.dotDotDotToken,i,Qv):e.dotDotDotToken,rA.checkDefined(a(e.name,t,xR)),i?a(e.questionToken,i,rg):e.questionToken,rA.checkDefined(a(e.type,t,FE)))},196:function(e,t,r,n,a,i){return r.factory.updateParenthesizedType(e,rA.checkDefined(a(e.type,t,FE)))},198:function(e,t,r,n,a,i){return r.factory.updateTypeOperatorNode(e,rA.checkDefined(a(e.type,t,FE)))},199:function(e,t,r,n,a,i){return r.factory.updateIndexedAccessTypeNode(e,rA.checkDefined(a(e.objectType,t,FE)),rA.checkDefined(a(e.indexType,t,FE)))},200:function(e,t,r,n,a,i){return r.factory.updateMappedTypeNode(e,i?a(e.readonlyToken,i,Nx):e.readonlyToken,rA.checkDefined(a(e.typeParameter,t,wR)),a(e.nameType,t,FE),i?a(e.questionToken,i,Dx):e.questionToken,a(e.type,t,FE),n(e.members,t,Ks))},201:function(e,t,r,n,a,i){return r.factory.updateLiteralTypeNode(e,rA.checkDefined(a(e.literal,t,_c)))},203:function(e,t,r,n,a,i){return r.factory.updateTemplateLiteralType(e,rA.checkDefined(a(e.head,t,Kv)),n(e.templateSpans,t,Cg))},204:function(e,t,r,n,a,i){return r.factory.updateTemplateLiteralTypeSpan(e,rA.checkDefined(a(e.type,t,FE)),rA.checkDefined(a(e.literal,t,Fs)))},206:function(e,t,r,n,a,i){return r.factory.updateObjectBindingPattern(e,n(e.elements,t,tj))},207:function(e,t,r,n,a,i){return r.factory.updateArrayBindingPattern(e,n(e.elements,t,Qs))},208:function(e,t,r,n,a,i){return r.factory.updateBindingElement(e,i?a(e.dotDotDotToken,i,Qv):e.dotDotDotToken,a(e.propertyName,t,xE),rA.checkDefined(a(e.name,t,zs)),a(e.initializer,t,jE))},209:function(e,t,r,n,a,i){return r.factory.updateArrayLiteralExpression(e,n(e.elements,t,jE))},210:function(e,t,r,n,a,i){return r.factory.updateObjectLiteralExpression(e,n(e.properties,t,EE))},211:function(e,t,r,n,a,i){return ms(e)?r.factory.updatePropertyAccessChain(e,rA.checkDefined(a(e.expression,t,jE)),i?a(e.questionDotToken,i,ag):e.questionDotToken,rA.checkDefined(a(e.name,t,ps))):r.factory.updatePropertyAccessExpression(e,rA.checkDefined(a(e.expression,t,jE)),rA.checkDefined(a(e.name,t,ps)))},212:function(e,t,r,n,a,i){return ys(e)?r.factory.updateElementAccessChain(e,rA.checkDefined(a(e.expression,t,jE)),i?a(e.questionDotToken,i,ag):e.questionDotToken,rA.checkDefined(a(e.argumentExpression,t,jE))):r.factory.updateElementAccessExpression(e,rA.checkDefined(a(e.expression,t,jE)),rA.checkDefined(a(e.argumentExpression,t,jE)))},213:function(e,t,r,n,a,i){return nE(e)?r.factory.updateCallChain(e,rA.checkDefined(a(e.expression,t,jE)),i?a(e.questionDotToken,i,ag):e.questionDotToken,n(e.typeArguments,t,FE),n(e.arguments,t,jE)):r.factory.updateCallExpression(e,rA.checkDefined(a(e.expression,t,jE)),n(e.typeArguments,t,FE),n(e.arguments,t,jE))},214:function(e,t,r,n,a,i){return r.factory.updateNewExpression(e,rA.checkDefined(a(e.expression,t,jE)),n(e.typeArguments,t,FE),n(e.arguments,t,jE))},215:function(e,t,r,n,a,i){return r.factory.updateTaggedTemplateExpression(e,rA.checkDefined(a(e.tag,t,jE)),n(e.typeArguments,t,FE),rA.checkDefined(a(e.template,t,ic)))},216:function(e,t,r,n,a,i){return r.factory.updateTypeAssertion(e,rA.checkDefined(a(e.type,t,FE)),rA.checkDefined(a(e.expression,t,jE)))},217:function(e,t,r,n,a,i){return r.factory.updateParenthesizedExpression(e,rA.checkDefined(a(e.expression,t,jE)))},218:function(e,t,r,n,a,i){return r.factory.updateFunctionExpression(e,n(e.modifiers,t,gE),i?a(e.asteriskToken,i,eg):e.asteriskToken,a(e.name,t,xR),n(e.typeParameters,t,wR),MC(e.parameters,t,r,n),a(e.type,t,FE),RC(e.body,t,r,a))},219:function(e,t,r,n,a,i){return r.factory.updateArrowFunction(e,n(e.modifiers,t,gE),n(e.typeParameters,t,wR),MC(e.parameters,t,r,n),a(e.type,t,FE),i?rA.checkDefined(a(e.equalsGreaterThanToken,i,ig)):e.equalsGreaterThanToken,RC(e.body,t,r,a))},220:function(e,t,r,n,a,i){return r.factory.updateDeleteExpression(e,rA.checkDefined(a(e.expression,t,jE)))},221:function(e,t,r,n,a,i){return r.factory.updateTypeOfExpression(e,rA.checkDefined(a(e.expression,t,jE)))},222:function(e,t,r,n,a,i){return r.factory.updateVoidExpression(e,rA.checkDefined(a(e.expression,t,jE)))},223:function(e,t,r,n,a,i){return r.factory.updateAwaitExpression(e,rA.checkDefined(a(e.expression,t,jE)))},224:function(e,t,r,n,a,i){return r.factory.updatePrefixUnaryExpression(e,rA.checkDefined(a(e.operand,t,jE)))},225:function(e,t,r,n,a,i){return r.factory.updatePostfixUnaryExpression(e,rA.checkDefined(a(e.operand,t,jE)))},226:function(e,t,r,n,a,i){return r.factory.updateBinaryExpression(e,rA.checkDefined(a(e.left,t,jE)),i?rA.checkDefined(a(e.operatorToken,i,Px)):e.operatorToken,rA.checkDefined(a(e.right,t,jE)))},227:function(e,t,r,n,a,i){return r.factory.updateConditionalExpression(e,rA.checkDefined(a(e.condition,t,jE)),i?rA.checkDefined(a(e.questionToken,i,rg)):e.questionToken,rA.checkDefined(a(e.whenTrue,t,jE)),i?rA.checkDefined(a(e.colonToken,i,ng)):e.colonToken,rA.checkDefined(a(e.whenFalse,t,jE)))},228:function(e,t,r,n,a,i){return r.factory.updateTemplateExpression(e,rA.checkDefined(a(e.head,t,Kv)),n(e.templateSpans,t,bj))},229:function(e,t,r,n,a,i){return r.factory.updateYieldExpression(e,i?a(e.asteriskToken,i,eg):e.asteriskToken,a(e.expression,t,jE))},230:function(e,t,r,n,a,i){return r.factory.updateSpreadElement(e,rA.checkDefined(a(e.expression,t,jE)))},231:function(e,t,r,n,a,i){return r.factory.updateClassExpression(e,n(e.modifiers,t,Hs),a(e.name,t,xR),n(e.typeParameters,t,wR),n(e.heritageClauses,t,nB),n(e.members,t,CE))},233:function(e,t,r,n,a,i){return r.factory.updateExpressionWithTypeArguments(e,rA.checkDefined(a(e.expression,t,jE)),n(e.typeArguments,t,FE))},234:function(e,t,r,n,a,i){return r.factory.updateAsExpression(e,rA.checkDefined(a(e.expression,t,jE)),rA.checkDefined(a(e.type,t,FE)))},238:function(e,t,r,n,a,i){return r.factory.updateSatisfiesExpression(e,rA.checkDefined(a(e.expression,t,jE)),rA.checkDefined(a(e.type,t,FE)))},235:function(e,t,r,n,a,i){return aE(e)?r.factory.updateNonNullChain(e,rA.checkDefined(a(e.expression,t,jE))):r.factory.updateNonNullExpression(e,rA.checkDefined(a(e.expression,t,jE)))},236:function(e,t,r,n,a,i){return r.factory.updateMetaProperty(e,rA.checkDefined(a(e.name,t,xR)))},239:function(e,t,r,n,a,i){return r.factory.updateTemplateSpan(e,rA.checkDefined(a(e.expression,t,jE)),rA.checkDefined(a(e.literal,t,Fs)))},241:function(e,t,r,n,a,i){return r.factory.updateBlock(e,n(e.statements,t,XE))},243:function(e,t,r,n,a,i){return r.factory.updateVariableStatement(e,n(e.modifiers,t,Hs),rA.checkDefined(a(e.declarationList,t,Ej)))},244:function(e,t,r,n,a,i){return r.factory.updateExpressionStatement(e,rA.checkDefined(a(e.expression,t,jE)))},245:function(e,t,r,n,a,i){return r.factory.updateIfStatement(e,rA.checkDefined(a(e.expression,t,jE)),rA.checkDefined(a(e.thenStatement,t,XE,r.factory.liftToBlock)),a(e.elseStatement,t,XE,r.factory.liftToBlock))},246:function(e,t,r,n,a,i){return r.factory.updateDoStatement(e,jC(e.statement,t,r,a),rA.checkDefined(a(e.expression,t,jE)))},247:function(e,t,r,n,a,i){return r.factory.updateWhileStatement(e,rA.checkDefined(a(e.expression,t,jE)),jC(e.statement,t,r,a))},248:function(e,t,r,n,a,i){return r.factory.updateForStatement(e,a(e.initializer,t,mc),a(e.condition,t,jE),a(e.incrementor,t,jE),jC(e.statement,t,r,a))},249:function(e,t,r,n,a,i){return r.factory.updateForInStatement(e,rA.checkDefined(a(e.initializer,t,mc)),rA.checkDefined(a(e.expression,t,jE)),jC(e.statement,t,r,a))},250:function(e,t,r,n,a,i){return r.factory.updateForOfStatement(e,i?a(e.awaitModifier,i,_g):e.awaitModifier,rA.checkDefined(a(e.initializer,t,mc)),rA.checkDefined(a(e.expression,t,jE)),jC(e.statement,t,r,a))},251:function(e,t,r,n,a,i){return r.factory.updateContinueStatement(e,a(e.label,t,xR))},252:function(e,t,r,n,a,i){return r.factory.updateBreakStatement(e,a(e.label,t,xR))},253:function(e,t,r,n,a,i){return r.factory.updateReturnStatement(e,a(e.expression,t,jE))},254:function(e,t,r,n,a,i){return r.factory.updateWithStatement(e,rA.checkDefined(a(e.expression,t,jE)),rA.checkDefined(a(e.statement,t,XE,r.factory.liftToBlock)))},255:function(e,t,r,n,a,i){return r.factory.updateSwitchStatement(e,rA.checkDefined(a(e.expression,t,jE)),rA.checkDefined(a(e.caseBlock,t,eh)))},256:function(e,t,r,n,a,i){return r.factory.updateLabeledStatement(e,rA.checkDefined(a(e.label,t,xR)),rA.checkDefined(a(e.statement,t,XE,r.factory.liftToBlock)))},257:function(e,t,r,n,a,i){return r.factory.updateThrowStatement(e,rA.checkDefined(a(e.expression,t,jE)))},258:function(e,t,r,n,a,i){return r.factory.updateTryStatement(e,rA.checkDefined(a(e.tryBlock,t,kj)),a(e.catchClause,t,aB),a(e.finallyBlock,t,kj))},260:function(e,t,r,n,a,i){return r.factory.updateVariableDeclaration(e,rA.checkDefined(a(e.name,t,zs)),i?a(e.exclamationToken,i,tg):e.exclamationToken,a(e.type,t,FE),a(e.initializer,t,jE))},261:function(e,t,r,n,a,i){return r.factory.updateVariableDeclarationList(e,n(e.declarations,t,Aj))},262:function(e,t,r,n,a,i){return r.factory.updateFunctionDeclaration(e,n(e.modifiers,t,gE),i?a(e.asteriskToken,i,eg):e.asteriskToken,a(e.name,t,xR),n(e.typeParameters,t,wR),MC(e.parameters,t,r,n),a(e.type,t,FE),RC(e.body,t,r,a))},263:function(e,t,r,n,a,i){return r.factory.updateClassDeclaration(e,n(e.modifiers,t,Hs),a(e.name,t,xR),n(e.typeParameters,t,wR),n(e.heritageClauses,t,nB),n(e.members,t,CE))},264:function(e,t,r,n,a,i){return r.factory.updateInterfaceDeclaration(e,n(e.modifiers,t,Hs),rA.checkDefined(a(e.name,t,xR)),n(e.typeParameters,t,wR),n(e.heritageClauses,t,nB),n(e.members,t,Ks))},265:function(e,t,r,n,a,i){return r.factory.updateTypeAliasDeclaration(e,n(e.modifiers,t,Hs),rA.checkDefined(a(e.name,t,xR)),n(e.typeParameters,t,wR),rA.checkDefined(a(e.type,t,FE)))},266:function(e,t,r,n,a,i){return r.factory.updateEnumDeclaration(e,n(e.modifiers,t,Hs),rA.checkDefined(a(e.name,t,xR)),n(e.members,t,cB))},267:function(e,t,r,n,a,i){return r.factory.updateModuleDeclaration(e,n(e.modifiers,t,Hs),rA.checkDefined(a(e.name,t,Ax)),a(e.body,t,yc))},268:function(e,t,r,n,a,i){return r.factory.updateModuleBlock(e,n(e.statements,t,XE))},269:function(e,t,r,n,a,i){return r.factory.updateCaseBlock(e,n(e.clauses,t,Ac))},270:function(e,t,r,n,a,i){return r.factory.updateNamespaceExportDeclaration(e,rA.checkDefined(a(e.name,t,xR)))},271:function(e,t,r,n,a,i){return r.factory.updateImportEqualsDeclaration(e,n(e.modifiers,t,Hs),e.isTypeOnly,rA.checkDefined(a(e.name,t,xR)),rA.checkDefined(a(e.moduleReference,t,wc)))},272:function(e,t,r,n,a,i){return r.factory.updateImportDeclaration(e,n(e.modifiers,t,Hs),a(e.importClause,t,zj),rA.checkDefined(a(e.moduleSpecifier,t,jE)),a(e.assertClause,t,rh))},300:function(e,t,r,n,a,i){return r.factory.updateAssertClause(e,n(e.elements,t,nh),e.multiLine)},301:function(e,t,r,n,a,i){return r.factory.updateAssertEntry(e,rA.checkDefined(a(e.name,t,Os)),rA.checkDefined(a(e.value,t,jE)))},273:function(e,t,r,n,a,i){return r.factory.updateImportClause(e,e.isTypeOnly,a(e.name,t,xR),a(e.namedBindings,t,hc))},274:function(e,t,r,n,a,i){return r.factory.updateNamespaceImport(e,rA.checkDefined(a(e.name,t,xR)))},280:function(e,t,r,n,a,i){return r.factory.updateNamespaceExport(e,rA.checkDefined(a(e.name,t,xR)))},275:function(e,t,r,n,a,i){return r.factory.updateNamedImports(e,n(e.elements,t,Vj))},276:function(e,t,r,n,a,i){return r.factory.updateImportSpecifier(e,e.isTypeOnly,a(e.propertyName,t,xR),rA.checkDefined(a(e.name,t,xR)))},277:function(e,t,r,n,a,i){return r.factory.updateExportAssignment(e,n(e.modifiers,t,Hs),rA.checkDefined(a(e.expression,t,jE)))},278:function(e,t,r,n,a,i){return r.factory.updateExportDeclaration(e,n(e.modifiers,t,Hs),e.isTypeOnly,a(e.exportClause,t,xs),a(e.moduleSpecifier,t,jE),a(e.assertClause,t,rh))},279:function(e,t,r,n,a,i){return r.factory.updateNamedExports(e,n(e.elements,t,Kj))},281:function(e,t,r,n,a,i){return r.factory.updateExportSpecifier(e,e.isTypeOnly,a(e.propertyName,t,xR),rA.checkDefined(a(e.name,t,xR)))},283:function(e,t,r,n,a,i){return r.factory.updateExternalModuleReference(e,rA.checkDefined(a(e.expression,t,jE)))},284:function(e,t,r,n,a,i){return r.factory.updateJsxElement(e,rA.checkDefined(a(e.openingElement,t,Yj)),n(e.children,t,Nc),rA.checkDefined(a(e.closingElement,t,uh)))},285:function(e,t,r,n,a,i){return r.factory.updateJsxSelfClosingElement(e,rA.checkDefined(a(e.tagName,t,Cc)),n(e.typeArguments,t,FE),rA.checkDefined(a(e.attributes,t,eB)))},286:function(e,t,r,n,a,i){return r.factory.updateJsxOpeningElement(e,rA.checkDefined(a(e.tagName,t,Cc)),n(e.typeArguments,t,FE),rA.checkDefined(a(e.attributes,t,eB)))},287:function(e,t,r,n,a,i){return r.factory.updateJsxClosingElement(e,rA.checkDefined(a(e.tagName,t,Cc)))},295:function(e,t,r,n,a,i){return r.factory.updateJsxNamespacedName(e,rA.checkDefined(a(e.namespace,t,xR)),rA.checkDefined(a(e.name,t,xR)))},288:function(e,t,r,n,a,i){return r.factory.updateJsxFragment(e,rA.checkDefined(a(e.openingFragment,t,Zj)),n(e.children,t,Nc),rA.checkDefined(a(e.closingFragment,t,lh)))},291:function(e,t,r,n,a,i){return r.factory.updateJsxAttribute(e,rA.checkDefined(a(e.name,t,zm)),a(e.initializer,t,Dc))},292:function(e,t,r,n,a,i){return r.factory.updateJsxAttributes(e,n(e.properties,t,QE))},293:function(e,t,r,n,a,i){return r.factory.updateJsxSpreadAttribute(e,rA.checkDefined(a(e.expression,t,jE)))},294:function(e,t,r,n,a,i){return r.factory.updateJsxExpression(e,a(e.expression,t,jE))},296:function(e,t,r,n,a,i){return r.factory.updateCaseClause(e,rA.checkDefined(a(e.expression,t,jE)),n(e.statements,t,XE))},297:function(e,t,r,n,a,i){return r.factory.updateDefaultClause(e,n(e.statements,t,XE))},298:function(e,t,r,n,a,i){return r.factory.updateHeritageClause(e,n(e.types,t,hj))},299:function(e,t,r,n,a,i){return r.factory.updateCatchClause(e,a(e.variableDeclaration,t,Aj),rA.checkDefined(a(e.block,t,kj)))},303:function(e,t,r,n,a,i){return r.factory.updatePropertyAssignment(e,rA.checkDefined(a(e.name,t,xE)),rA.checkDefined(a(e.initializer,t,jE)))},304:function(e,t,r,n,a,i){return r.factory.updateShorthandPropertyAssignment(e,rA.checkDefined(a(e.name,t,xR)),a(e.objectAssignmentInitializer,t,jE))},305:function(e,t,r,n,a,i){return r.factory.updateSpreadAssignment(e,rA.checkDefined(a(e.expression,t,jE)))},306:function(e,t,r,n,a,i){return r.factory.updateEnumMember(e,rA.checkDefined(a(e.name,t,xE)),a(e.initializer,t,jE))},312:function(e,t,r,n,a,i){return r.factory.updateSourceFile(e,LC(e.statements,t,r))},360:function(e,t,r,n,a,i){return r.factory.updatePartiallyEmittedExpression(e,rA.checkDefined(a(e.expression,t,jE)))},361:function(e,t,r,n,a,i){return r.factory.updateCommaListExpression(e,n(e.elements,t,jE))}}}});function WC(n,e,t,a,r){var i,o,r=r.extendedDiagnostics?Lt("Source Map","beforeSourcemap","afterSourcemap"):Nt,x=r.enter,b=r.exit,s=[],c=[],u=new Map,_=[],l=[],d="",f=0,p=0,m=0,y=0,v=0,g=0,h=!1,k=0,T=0,S=0,w=0,C=0,N=0,D=!1,A=!1,E=!1;return{getSources:function(){return s},addSource:F,setSourceContent:P,addName:I,addMapping:O,appendSourceMap:function(e,t,r,n,a,i){var o,s;rA.assert(k<=e,"generatedLine cannot backtrack"),rA.assert(0<=t,"generatedCharacter cannot be negative"),x();var c,u=[],_=YC(r.mappings);try{for(var l=__values(_),d=l.next();!d.done;d=l.next()){var f,p,m,y,v,g,h=d.value;if(i&&(h.generatedLine>i.line||h.generatedLine===i.line&&h.generatedCharacter>i.character))break;a&&(h.generatedLine<a.line||a.line===h.generatedLine&&h.generatedCharacter<a.character)||((y=m=p=f=void 0)!==h.sourceIndex&&(void 0===(f=u[h.sourceIndex])&&(g=r.sources[h.sourceIndex],v=r.sourceRoot?dA(r.sourceRoot,g):g,g=dA(lA(n),v),u[h.sourceIndex]=f=F(g),r.sourcesContent&&"string"==typeof r.sourcesContent[h.sourceIndex]&&P(f,r.sourcesContent[h.sourceIndex])),p=h.sourceLine,m=h.sourceCharacter,r.names&&void 0!==h.nameIndex&&void 0===(y=(c=c||[])[h.nameIndex])&&(c[h.nameIndex]=y=I(r.names[h.nameIndex]))),v=h.generatedLine-(a?a.line:0),g=v+e,h=a&&a.line===h.generatedLine?h.generatedCharacter-a.character:h.generatedCharacter,O(g,0==v?h+t:h,f,p,m,y))}}catch(e){o={error:e}}finally{try{d&&!d.done&&(s=l.return)&&s.call(l)}finally{if(o)throw o.error}}b()},toJSON:j,toString:function(){return JSON.stringify(j())}};function F(e){x();var t=ei(a,e,n.getCurrentDirectory(),n.getCanonicalFileName,!0),r=u.get(t);return void 0===r&&(r=c.length,c.push(t),s.push(e),u.set(t,r)),b(),r}function P(e,t){if(x(),null!==t){for(i=i||[];i.length<e;)i.push(null);i[e]=t}b()}function I(e){x();var t=(o=o||new Map).get(e);return void 0===t&&(t=_.length,_.push(e),o.set(e,t)),b(),t}function O(e,t,r,n,a,i){var o,s,c;rA.assert(k<=e,"generatedLine cannot backtrack"),rA.assert(0<=t,"generatedCharacter cannot be negative"),rA.assert(void 0===r||0<=r,"sourceIndex cannot be negative"),rA.assert(void 0===n||0<=n,"sourceLine cannot be negative"),rA.assert(void 0===a||0<=a,"sourceCharacter cannot be negative"),x(),D&&k===e&&T===t&&(s=n,c=a,void 0===(o=r)||void 0===s||void 0===c||S!==o||!(s<w||w===s&&c<C))||(M(),k=e,T=t,D=!(E=A=!1)),void 0!==r&&void 0!==n&&void 0!==a&&(S=r,w=n,C=a,A=!0,void 0!==i&&(N=i,E=!0)),b()}function L(e){l.push(e),1024<=l.length&&R()}function M(){if(D&&(!h||f!==k||p!==T||m!==S||y!==w||v!==C||g!==N)){if(x(),f<k){for(;L(59),f++,f<k;);p=0}else rA.assertEqual(f,k,"generatedLine cannot backtrack"),h&&L(44);B(T-p),p=T,A&&(B(S-m),m=S,B(w-y),y=w,B(C-v),v=C,E&&(B(N-g),g=N)),h=!0,b()}}function R(){0<l.length&&(d+=String.fromCharCode.apply(void 0,l),l.length=0)}function j(){return M(),R(),{version:3,file:e,sourceRoot:t,sources:c,names:_,mappings:d,sourcesContent:i}}function B(e){e<0?e=1+(-e<<1):e<<=1;do{var t=31&e;0<(e>>=5)&&(t|=32),L(0<=(t=t)&&t<26?65+t:26<=t&&t<52?97+t-26:52<=t&&t<62?48+t-52:62===t?43:63===t?47:rA.fail("".concat(t,": not a base64 value")))}while(0<e)}}function HC(t,r){return{getLineCount:function(){return r.length},getLineText:function(e){return t.substring(r[e],r[e+1])}}}function KC(e){for(var t=e.getLineCount()-1;0<=t;t--){var r=e.getLineText(t),n=zC.exec(r);if(n)return di(n[1]);if(!r.match(UC))break}}function GC(e){return"string"==typeof e||null===e}function XC(e){return null!==e&&"object"==typeof e&&3===e.version&&"string"==typeof e.file&&"string"==typeof e.mappings&&RD(e.sources)&&XN(e.sources,jD)&&(void 0===e.sourceRoot||null===e.sourceRoot||"string"==typeof e.sourceRoot)&&(void 0===e.sourcesContent||null===e.sourcesContent||RD(e.sourcesContent)&&XN(e.sourcesContent,GC))&&(void 0===e.names||null===e.names||RD(e.names)&&XN(e.names,jD))}function QC(e){try{var t=JSON.parse(e);if(XC(t))return t}catch(e){}}function YC(a){var t,r=!1,i=0,n=0,o=0,s=0,c=0,u=0,_=0,e={get pos(){return i},get error(){return t},get state(){return l(!0,!0)},next:function(){for(;!r&&i<a.length;){var e=a.charCodeAt(i);if(59!==e){if(44!==e){var t=!1,e=!1;if(o+=v(),m())return d();if(o<0)return p("Invalid generatedCharacter found");if(!y()){if(t=!0,s+=v(),m())return d();if(s<0)return p("Invalid sourceIndex found");if(y())return p("Unsupported Format: No entries after sourceIndex");if(c+=v(),m())return d();if(c<0)return p("Invalid sourceLine found");if(y())return p("Unsupported Format: No entries after sourceLine");if(u+=v(),m())return d();if(u<0)return p("Invalid sourceCharacter found");if(!y()){if(e=!0,_+=v(),m())return d();if(_<0)return p("Invalid nameIndex found");if(!y())return p("Unsupported Error Format: Entries after nameIndex")}}return{value:l(t,e),done:r}}i++}else n++,o=0,i++}return d()}};return e[Symbol.iterator]=function(){return this},e;function l(e,t){return{generatedLine:n,generatedCharacter:o,sourceIndex:e?s:void 0,sourceLine:e?c:void 0,sourceCharacter:e?u:void 0,nameIndex:t?_:void 0}}function d(){return{value:void 0,done:r=!0}}function f(e){void 0===t&&(t=e)}function p(e){return f(e),d()}function m(){return void 0!==t}function y(){return i===a.length||44===a.charCodeAt(i)||59===a.charCodeAt(i)}function v(){for(var e=!0,t=0,r=0;e;i++){if(i>=a.length)return f("Error in decoding base64VLQFormatDecode, past the mapping string"),-1;var n=65<=(n=a.charCodeAt(i))&&n<=90?n-65:97<=n&&n<=122?n-97+26:48<=n&&n<=57?n-48+52:43===n?62:47===n?63:-1;if(-1==n)return f("Invalid character in VLQ"),-1;e=0!=(32&n),r|=(31&n)<<t,t+=5}return 0==(1&r)?r>>=1:r=-(r>>=1),r}}function ZC(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 $C(e){return void 0!==e.sourceIndex&&void 0!==e.sourceLine&&void 0!==e.sourceCharacter}function eN(e){return void 0!==e.sourceIndex&&void 0!==e.sourcePosition}function tN(e,t){return e.generatedPosition===t.generatedPosition&&e.sourceIndex===t.sourceIndex&&e.sourcePosition===t.sourcePosition}function rN(e,t){return rA.assert(e.sourceIndex===t.sourceIndex),UD(e.sourcePosition,t.sourcePosition)}function nN(e,t){return UD(e.generatedPosition,t.generatedPosition)}function aN(e){return e.sourcePosition}function iN(e){return e.generatedPosition}function oN(a,i,e){var r,o,c,e=lA(e),t=i.sourceRoot?fA(i.sourceRoot,e):e,s=fA(i.file,e),u=a.getSourceFileLike(s),_=i.sources.map(function(e){return fA(e,t)}),l=new Map(_.map(function(e,t){return[a.getCanonicalFileName(e),t]}));return{getSourcePosition:function(e){var t=function(){var t,e;if(void 0===o){var r=[];try{for(var n=__values(d()),a=n.next();!a.done;a=n.next()){var i=a.value;r.push(i)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}o=E(r,nN,tN)}return o}();if(!dD(t))return e;var r=B(t,e.pos,iN,UD);r<0&&(r=~r);r=t[r];return void 0!==r&&eN(r)?{fileName:_[r.sourceIndex],pos:r.sourcePosition}:e},getGeneratedPosition:function(e){var t=l.get(a.getCanonicalFileName(e.fileName));if(void 0===t)return e;var r=function(e){var t,r;if(void 0===c){var n=[];try{for(var a=__values(d()),i=a.next();!i.done;i=a.next()){var o,s=i.value;eN(s)&&((o=n[s.sourceIndex])||(n[s.sourceIndex]=o=[]),o.push(s))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}c=n.map(function(e){return E(e,rN,tN)})}return c[e]}(t);if(!dD(r))return e;var n=B(r,e.pos,aN,UD);n<0&&(n=~n);n=r[n];return void 0!==n&&n.sourceIndex===t?{fileName:s,pos:n.generatedPosition}:e}};function n(e){var t,r,n=void 0!==u?Fi(u,e.generatedLine,e.generatedCharacter,!0):-1;return $C(e)&&(r=a.getSourceFileLike(_[e.sourceIndex]),t=i.sources[e.sourceIndex],r=void 0!==r?Fi(r,e.sourceLine,e.sourceCharacter,!0):-1),{generatedPosition:n,source:t,sourceIndex:e.sourceIndex,sourcePosition:r,nameIndex:e.nameIndex}}function d(){var e,t;return void 0===r&&(t=PD(e=YC(i.mappings),n),r=void 0!==e.error?(a.log&&a.log("Encountered error while decoding sourcemap: ".concat(e.error)),WN):t),r}}var sN,cN,uN=e({"src/compiler/sourcemap.ts":function(){MK(),An(),JC=/\/\/[@#] source[M]appingURL=(.+)\r?\n?$/,zC=/^\/\/[@#] source[M]appingURL=(.+)\r?\n?$/,UC=/^\s*(\/\/[@#] .*)?$/,VC={getSourcePosition:ir,getGeneratedPosition:ir}}});function _N(e){return(e=EA(e))?mJ(e):0}function lN(e){return void 0!==e.propertyName&&"default"===e.propertyName.escapedText}function dN(t,r){return function(e){return(312===e.kind?r:function(e){return t.factory.createBundle(iD(e.sourceFiles,r),e.prepends)})(e)}}function fN(e){return!!jI(e)}function pN(e){var t,r;if(jI(e))return!0;var n=e.importClause&&e.importClause.namedBindings;if(!n)return!1;if(!ih(n))return!1;var a=0;try{for(var i=__values(n.elements),o=i.next();!o.done;o=i.next())lN(o.value)&&a++}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return 0<a&&a!==n.elements.length||!!(n.elements.length-a)&&Sl(e)}function mN(e){return!pN(e)&&(Sl(e)||!!e.importClause&&ih(e.importClause.namedBindings)&&(!!(e=e.importClause.namedBindings)&&(!!ih(e)&&dD(e.elements,lN))))}function yN(e,t){var r,n,a,i,o,s=e.getEmitResolver(),c=e.getCompilerOptions(),u=[],_=new cN,l=[],d=new Map,f=!1,p=!1,m=!1,y=!1;try{for(var v=__values(t.statements),g=v.next();!g.done;g=v.next()){var h,x,b=g.value;switch(b.kind){case 272:u.push(b),!m&&pN(b)&&(m=!0),!y&&mN(b)&&(y=!0);break;case 271:283===b.moduleReference.kind&&u.push(b);break;case 278:b.moduleSpecifier?b.exportClause?(u.push(b),Hj(b.exportClause)?w(b):(h=b.exportClause.name,d.get(LA(h))||(vN(l,_N(b),h),d.set(LA(h),!0),S=vD(S,h)),m=!0)):(u.push(b),p=!0):w(b);break;case 277:b.isExportEquals&&!o&&(o=b);break;case 243:if(_L(b,1))try{for(var k=(a=void 0,__values(b.declarationList.declarations)),T=k.next();!T.done;T=k.next())var S=function e(t,r,n,a){var i,o;if(PE(t.name))try{for(var s=__values(t.name.elements),c=s.next();!c.done;c=s.next()){var u=c.value;gj(u)||(n=e(u,r,n,a))}}catch(e){i={error:e}}finally{try{c&&!c.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}else{var _;mE(t.name)||(_=LA(t.name),r.get(_)||(r.set(_,!0),n=vD(n,t.name),ex(t.name)&&vN(a,_N(t),t.name)))}return n}(T.value,d,S,l)}catch(e){a={error:e}}finally{try{T&&!T.done&&(i=k.return)&&i.call(k)}finally{if(a)throw a.error}}break;case 262:_L(b,1)&&(_L(b,1024)?f||(vN(l,_N(b),e.factory.getDeclarationName(b)),f=!0):(x=b.name,d.get(LA(x))||(vN(l,_N(b),x),d.set(LA(x),!0),S=vD(S,x))));break;case 263:_L(b,1)&&(_L(b,1024)?f||(vN(l,_N(b),e.factory.getDeclarationName(b)),f=!0):(x=b.name)&&!d.get(LA(x))&&(vN(l,_N(b),x),d.set(LA(x),!0),S=vD(S,x)))}}}catch(e){r={error:e}}finally{try{g&&!g.done&&(n=v.return)&&n.call(v)}finally{if(r)throw r.error}}c=_x(e.factory,e.getEmitHelperFactory(),t,c,p,m,y);return c&&u.unshift(c),{externalImports:u,exportSpecifiers:_,exportEquals:o,hasExportStarsToExportValues:p,exportedBindings:l,exportedNames:S,externalHelpersImportDeclaration:c};function w(e){var t,r;try{for(var n=__values(JD(e.exportClause,Hj).elements),a=n.next();!a.done;a=n.next()){var i,o=a.value;d.get(LA(o.name))||(i=o.propertyName||o.name,e.moduleSpecifier||_.add(i,o),(i=s.getReferencedImportDeclaration(i)||s.getReferencedValueDeclaration(i))&&vN(l,_N(i),o.name),d.set(LA(o.name),!0),S=vD(S,o.name))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}}function vN(e,t,r){var n=e[t];return n?n.push(r):e[t]=n=[r],n}function gN(e){return oF(e)||9===e.kind||zl(e.kind)||xR(e)}function hN(e){return!xR(e)&&gN(e)}function CJ(e){return 65<=e&&e<=79}function xN(e){switch(e){case 65:return 40;case 66:return 41;case 67:return 42;case 68:return 43;case 69:return 44;case 70:return 45;case 71:return 48;case 72:return 49;case 73:return 50;case 74:return 51;case 75:return 52;case 79:return 53;case 76:return 57;case 77:return 56;case 78:return 61}}function bN(e){if(Sj(e)){e=oO(e.expression);return pP(e)?e:void 0}}function kN(e,t){var r=[];return function e(t,r,n){for(var a=r;a<t.length;a+=1){var i=t[a];if(bN(i))return n.unshift(a),1;if(Zg(i)&&e(i.tryBlock.statements,0,n))return n.unshift(a),1}}(e,t,r),r}function TN(e,n,a){return nD(e.members,function(e){return t=n,r=a,AR(e=e)&&(e.initializer||!t)&&dL(e)===r;var t,r})}function SN(e){return AR(t=e)&&dL(t)||PR(e);var t}function wN(e){return nD(e.members,SN)}function NJ(e){return 172===e.kind&&void 0!==e.initializer}function CN(e){return!lL(e)&&(qs(e)||AE(e))&&bR(e.name)}function NN(e){var t;if(e)for(var r=e.parameters,e=0<r.length&&ZO(r[0]),n=e?1:0,a=e?r.length-1:r.length,i=0;i<a;i++){var o=r[i+n];(t||gL(o))&&((t=t||new Array(a))[i]=zA(o))}return t}function DN(e){var t=zA(e),e=NN(XO(e));if(dD(t)||dD(e))return{decorators:t,parameters:e}}function AN(e,t,r){switch(e.kind){case 177:case 178:return r?function(e,t){if(!e.body)return;var r=rL(t.members,e),n=r.firstAccessor,a=r.secondAccessor,t=r.getAccessor,r=r.setAccessor,a=gL(n)?n:a&&gL(a)?a:void 0;if(!a||e!==a)return;e=zA(a),a=NN(r);return dD(e)||dD(a)?{decorators:e,parameters:a,getDecorators:t&&zA(t),setDecorators:r&&zA(r)}:void 0}(e,t):EN(e);case 174:return EN(e);case 172:return function(e){e=zA(e);return dD(e)?{decorators:e}:void 0}(e);default:return}}function EN(e){if(e.body){var t=zA(e),e=NN(e);if(dD(t)||dD(e))return{decorators:t,parameters:e}}}function FN(e,t){for(;e;){var r=t(e);if(void 0!==r)return r;e=e.previous}}function PN(e){return{data:e}}function IN(e,t){var r;return Ms(t)?null==(r=null==e?void 0:e.generatedIdentifiers)?void 0:r.get(Rx(t)):null==(e=null==e?void 0:e.identifiers)?void 0:e.get(t.escapedText)}function ON(e,t,r){var n;Ms(t)?(null!==(n=e.generatedIdentifiers)&&void 0!==n||(e.generatedIdentifiers=new Map),e.generatedIdentifiers.set(Rx(t),r)):(null!==(n=e.identifiers)&&void 0!==n||(e.identifiers=new Map),e.identifiers.set(t.escapedText,r))}function LN(e,t){return FN(e,function(e){return IN(e.privateEnv,t)})}var MN,RN=e({"src/compiler/transformers/utilities.ts":function(){function n(){this._map=new Map}function e(){return null!==t&&t.apply(this,arguments)||this}var t;MK(),Object.defineProperty(n.prototype,"size",{get:function(){return this._map.size},enumerable:!1,configurable:!0}),n.prototype.has=function(e){return this._map.has(n.toKey(e))},n.prototype.get=function(e){return this._map.get(n.toKey(e))},n.prototype.set=function(e,t){return this._map.set(n.toKey(e),t),this},n.prototype.delete=function(e){var t;return null!==(e=null==(t=this._map)?void 0:t.delete(n.toKey(e)))&&void 0!==e&&e},n.prototype.clear=function(){this._map.clear()},n.prototype.values=function(){return this._map.values()},n.toKey=function(e){if(Ms(e)||mE(e)){var t=e.emitNode.autoGenerate;if(4==(7&t.flags)){var r=Rx(e),r=ps(r)&&r!==e?n.toKey(r):"(generated@".concat(mJ(r),")");return Jx(!1,t.prefix,r,t.suffix,n.toKey)}r="(auto@".concat(t.id,")");return Jx(!1,t.prefix,r,t.suffix,n.toKey)}return bR(e)?LA(e).slice(1):LA(e)},__extends(e,t=sN=n),e.prototype.add=function(e,t){var r=this.get(e);return r?r.push(t):this.set(e,r=[t]),r},e.prototype.remove=function(e,t){var r=this.get(e);r&&(Pe(r,t),r.length||this.delete(e))},cN=e}});function jN(e,a,i,t,r,o){var n,s,c=e;if(sf(e))for(n=e.right;_f(e.left)||uf(e.left);){if(!sf(n))return rA.checkDefined(TJ(n,a,jE));c=e=n,n=e.right}t={context:i,level:t,downlevelIteration:!!i.getCompilerOptions().downlevelIteration,hoistTempVariables:!0,emitExpression:u,emitBindingOrAssignment:function(e,t,r,n){rA.assertNode(e,o?xR:jE);r=o?o(e,t,r):UB(i.factory.createAssignment(rA.checkDefined(TJ(e,a,jE)),t),r);r.original=n,u(r)},createArrayBindingOrAssignmentPattern:function(e){return t=i.factory,e=e,rA.assertEachNode(e,nc),t.createArrayLiteralExpression(iD(e,t.converters.convertToArrayAssignmentElement));var t},createObjectBindingOrAssignmentPattern:function(e){return t=i.factory,e=e,rA.assertEachNode(e,tc),t.createObjectLiteralExpression(iD(e,t.converters.convertToObjectAssignmentElement));var t},createArrayBindingOrAssignmentElement:DJ,visitor:a};if(n&&(n=TJ(n,a,jE),rA.assert(n),xR(n)&&BN(e,n.escapedText)||JN(e)?n=qN(t,n,!1,c):r?n=qN(t,n,!0,c):jO(e)&&(c=n)),UN(t,e,n,c,sf(e)),n&&r){if(!dD(s))return n;s.push(n)}return i.factory.inlineExpressions(s)||i.factory.createOmittedExpression();function u(e){s=vD(s,e)}}function BN(e,t){e=yx(e);return $s(e)?function(e,t){var r,n,a=bx(e);try{for(var i=__values(a),o=i.next();!o.done;o=i.next())if(BN(o.value,t))return 1}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return}(e,t):xR(e)&&e.escapedText===t}function JN(e){var t=hx(e);if(t&&SR(t)&&!lE(t.expression))return!0;e=yx(e);return!!e&&$s(e)&&!!KN(bx(e),JN)}function zN(e,t,a,r,n,i,o){var s,c;void 0===i&&(i=!1);var u,_=[],l=[],r={context:a,level:r,downlevelIteration:!!a.getCompilerOptions().downlevelIteration,hoistTempVariables:i,emitExpression:function(e){u=vD(u,e)},emitBindingOrAssignment:h,createArrayBindingOrAssignmentPattern:function(e){return t=a.factory,e=e,rA.assertEachNode(e,Qs),t.createArrayBindingPattern(e);var t},createObjectBindingOrAssignmentPattern:function(e){return t=a.factory,e=e,rA.assertEachNode(e,tj),t.createObjectBindingPattern(e);var t},createArrayBindingOrAssignmentElement:function(e){return t=a.factory,e=e,t.createBindingElement(void 0,void 0,e);var t},visitor:t};!Aj(e)||(t=mx(e))&&(xR(t)&&BN(e,t.escapedText)||JN(e))&&(t=qN(r,rA.checkDefined(TJ(t,r.visitor,jE)),!1,t),e=a.factory.updateVariableDeclaration(e,e.name,void 0,void 0,t)),UN(r,e,n,e,o),u&&(o=a.factory.createTempVariable(void 0),i?h(o,v=a.factory.inlineExpressions(u),u=void 0,void 0):(a.hoistVariableDeclaration(o),(i=ND(_)).pendingExpressions=vD(i.pendingExpressions,a.factory.createAssignment(o,i.value)),gD(i.pendingExpressions,u),i.value=o));try{for(var d=__values(_),f=d.next();!f.done;f=d.next()){var p=f.value,m=p.pendingExpressions,y=p.name,v=p.value,g=p.location,p=p.original,m=a.factory.createVariableDeclaration(y,void 0,void 0,m?a.factory.inlineExpressions(vD(m,v)):v);m.original=p,UB(m,g),l.push(m)}}catch(e){s={error:e}}finally{try{f&&!f.done&&(c=d.return)&&c.call(d)}finally{if(s)throw s.error}}return l;function h(e,t,r,n){rA.assertNode(e,zs),u&&(t=a.factory.inlineExpressions(vD(u,t)),u=void 0),_.push({pendingExpressions:u,name:e,value:t,location:r,original:n})}}function UN(e,t,r,n,a){var i,o,s,c=yx(t);a||((i=TJ(mx(t),e.visitor,jE))?r?(s=i,a=qN(o=e,a=r,!0,n),r=o.context.factory.createConditionalExpression(o.context.factory.createTypeCheck(a,"undefined"),void 0,s,void 0,a),!hN(i)&&$s(c)&&(r=qN(e,r,!0,n))):r=i:r=r||e.context.factory.createVoidZero()),ec(c)?function(e,t,r,n,a){var i,o,s=bx(r),c=s.length;1!==c&&(t=!Ys(t)||0!==c,n=qN(e,n,t,a));for(var u=0;u<c;u++){var _,l,d=s[u];vx(d)?u===c-1&&(i&&(e.emitBindingOrAssignment(e.createObjectBindingOrAssignmentPattern(i),n,a,r),i=void 0),l=e.context.getEmitHelperFactory().createRestHelper(n,s,o,r),UN(e,d,l,d)):(_=gx(d),!(1<=e.level)||98304&d.transformFlags||98304&yx(d).transformFlags||SR(_)?(i&&(e.emitBindingOrAssignment(e.createObjectBindingOrAssignmentPattern(i),n,a,r),i=void 0),l=function(e,t,r){var n=e.context.factory;{if(SR(r)){var a=qN(e,rA.checkDefined(TJ(r.expression,e.visitor,jE)),!1,r);return e.context.factory.createElementAccessExpression(t,a)}if(SO(r)){a=n.cloneNode(r);return e.context.factory.createElementAccessExpression(t,a)}r=e.context.factory.createIdentifier(LA(r));return e.context.factory.createPropertyAccessExpression(t,r)}}(e,n,_),SR(_)&&(o=vD(o,l.argumentExpression)),UN(e,d,l,d)):i=vD(i,TJ(d,e.visitor,Zs)))}i&&e.emitBindingOrAssignment(e.createObjectBindingOrAssignmentPattern(i),n,a,r)}(e,t,c,r,n):rc(c)?function(e,t,r,n,a){var i,o,s,c,u=bx(r),_=u.length;e.level<1&&e.downlevelIteration?n=qN(e,UB(e.context.getEmitHelperFactory().createReadHelper(n,0<_&&vx(u[_-1])?void 0:_),a),!1,a):(1!==_&&(e.level<1||0===_)||XN(u,gj))&&(t=!Ys(t)||0!==_,n=qN(e,n,t,a));for(var l=0;l<_;l++){var d,f,p=u[l];1<=e.level?s=65536&p.transformFlags||e.hasTransformedPriorElement&&!VN(p)?(e.hasTransformedPriorElement=!0,d=e.context.factory.createTempVariable(void 0),e.hoistTempVariables&&e.context.hoistVariableDeclaration(d),c=vD(c,[d,p]),vD(s,e.createArrayBindingOrAssignmentElement(d))):vD(s,p):gj(p)||(vx(p)?l===_-1&&(f=e.context.factory.createArraySliceCall(n,l),UN(e,p,f,p)):(f=e.context.factory.createElementAccessExpression(n,l),UN(e,p,f,p)))}if(s&&e.emitBindingOrAssignment(e.createArrayBindingOrAssignmentPattern(s),n,a,r),c)try{for(var m=__values(c),y=m.next();!y.done;y=m.next()){var v=__read(y.value,2),g=v[0],p=v[1];UN(e,p,g,p)}}catch(e){i={error:e}}finally{try{y&&!y.done&&(o=m.return)&&o.call(m)}finally{if(i)throw i.error}}}(e,t,c,r,n):e.emitBindingOrAssignment(c,r,n,t)}function VN(e){var t=yx(e);if(!t||gj(t))return!0;var r=hx(e);if(r&&!DO(r))return!1;e=mx(e);return!(e&&!hN(e))&&($s(t)?XN(bx(t),VN):xR(t))}function qN(e,t,r,n){if(xR(t)&&r)return t;r=e.context.factory.createTempVariable(void 0);return e.hoistTempVariables?(e.context.hoistVariableDeclaration(r),e.emitExpression(UB(e.context.factory.createAssignment(r,t),n))):e.emitBindingOrAssignment(r,t,n,void 0),r}function DJ(e){return e}var AJ=e({"src/compiler/transformers/destructuring.ts":function(){MK(),MN=function(e){return e[e.All=0]="All",e[e.ObjectRest=1]="ObjectRest",e}(MN||{})}});function EJ(e,t,r){void 0===r&&(r=e.createThis());r=e.createAssignment(t,r),r=e.createExpressionStatement(r),r=e.createBlock([r],!1),r=e.createClassStaticBlockDeclaration(r);return Ty(r).classThis=t,r}function FJ(e){if(!PR(e)||1!==e.body.statements.length)return!1;var t=e.body.statements[0];return Sj(t)&&NL(t.expression,!0)&&xR(t.expression.left)&&(null==(e=e.emitNode)?void 0:e.classThis)===t.expression.left&&110===t.expression.right.kind}function PJ(e){var t;return!(null==(t=e.emitNode)||!t.classThis)&&dD(e.members,FJ)}function IJ(e,t,r,n){if(PJ(t))return t;n=EJ(e,r,n);t.name&&Ey(n.body.statements[0],t.name);n=e.createNodeArray(__spreadArray([n],__read(t.members),!1));UB(n,t.members);n=Pj(t)?e.updateClassDeclaration(t,t.modifiers,t.name,t.typeParameters,t.heritageClauses,n):e.updateClassExpression(t,t.modifiers,t.name,t.typeParameters,t.heritageClauses,n);return Ty(n).classThis=r,n}var OJ=e({"src/compiler/transformers/classThis.ts":function(){MK()}});function LJ(e,t,r){r=EA(RB(r));return(Pj(r)||Fj(r))&&!r.name&&_L(r,1024)?e.createStringLiteral("default"):e.createStringLiteralFromNode(t)}function MJ(e,t,r){var n=e.factory;if(void 0!==r)return{assignedName:n.createStringLiteral(r),name:t};if(DO(t)||bR(t))return{assignedName:n.createStringLiteralFromNode(t),name:t};if(DO(t.expression)&&!xR(t.expression))return{assignedName:n.createStringLiteralFromNode(t.expression),name:t};r=n.getGeneratedNameForNode(t);e.hoistVariableDeclaration(r);e=e.getEmitHelperFactory().createPropKeyHelper(t.expression),e=n.createAssignment(r,e);return{assignedName:r,name:n.updateComputedPropertyName(t,e)}}function RJ(e,t,r){void 0===r&&(r=e.factory.createThis());var n=e.factory,r=e.getEmitHelperFactory().createSetFunctionNameHelper(r,t),r=n.createExpressionStatement(r),r=n.createBlock([r],!1),r=n.createClassStaticBlockDeclaration(r);return Ty(r).assignedName=t,r}function jJ(e){if(!PR(e)||1!==e.body.statements.length)return!1;var t=e.body.statements[0];return Sj(t)&&zv(t.expression,"___setFunctionName")&&2<=t.expression.arguments.length&&t.expression.arguments[1]===(null==(e=e.emitNode)?void 0:e.assignedName)}function BJ(e){var t;return!(null==(t=e.emitNode)||!t.assignedName)&&dD(e.members,jJ)}function JJ(e){return!!e.name||BJ(e)}function zJ(e,t,r,n){if(BJ(t))return t;var a=e.factory,i=RJ(e,r,n);t.name&&Ey(i.body.statements[0],t.name);e=ZN(t.members,FJ)+1,n=t.members.slice(0,e),e=t.members.slice(e),e=a.createNodeArray(__spreadArray(__spreadArray(__spreadArray([],__read(n),!1),[i],!1),__read(e),!1));return UB(e,t.members),Ty(t=Pj(t)?a.updateClassDeclaration(t,t.modifiers,t.name,t.typeParameters,t.heritageClauses,e):a.updateClassExpression(t,t.modifiers,t.name,t.typeParameters,t.heritageClauses,e)).assignedName=r,t}function UJ(e,t,r,n){if(n&&hR(r)&&sl(r))return t;var a=e.factory,n=RB(t),r=vj(n)?JD(zJ(e,n,r),vj):e.getEmitHelperFactory().createSetFunctionNameHelper(n,r);return a.restoreOuterExpressions(t,r)}function VJ(e,t,r,n){switch(t.kind){case 303:return b=t,k=r,T=n,S=(x=e).factory,T=(w=MJ(x,b.name,T)).assignedName,w=w.name,k=UJ(x,b.initializer,T,k),S.updatePropertyAssignment(b,w,k);case 304:return S=t,h=r,b=n,k=(w=e).factory,b=void 0!==b?k.createStringLiteral(b):LJ(k,S.name,S.objectAssignmentInitializer),h=UJ(w,S.objectAssignmentInitializer,b,h),k.updateShorthandPropertyAssignment(S,S.name,h);case 260:return m=t,y=r,v=n,g=(h=e).factory,v=void 0!==v?g.createStringLiteral(v):LJ(g,m.name,m.initializer),y=UJ(h,m.initializer,v,y),g.updateVariableDeclaration(m,m.name,m.exclamationToken,m.type,y);case 169:return v=t,p=r,g=n,y=(m=e).factory,g=void 0!==g?y.createStringLiteral(g):LJ(y,v.name,v.initializer),p=UJ(m,v.initializer,g,p),y.updateParameterDeclaration(v,v.modifiers,v.dotDotDotToken,v.name,v.questionToken,v.type,p);case 208:return _=t,l=r,d=n,f=(u=e).factory,d=void 0!==d?f.createStringLiteral(d):LJ(f,_.name,_.initializer),l=UJ(u,_.initializer,d,l),f.updateBindingElement(_,_.dotDotDotToken,_.propertyName,_.name,l);case 172:return p=t,u=r,d=n,_=(f=e).factory,d=(l=MJ(f,p.name,d)).assignedName,l=l.name,u=UJ(f,p.initializer,d,u),_.updatePropertyDeclaration(p,p.modifiers,l,null!==(l=p.questionToken)&&void 0!==l?l:p.exclamationToken,p.type,u);case 226:return i=t,o=r,s=n,c=(a=e).factory,s=void 0!==s?c.createStringLiteral(s):LJ(c,i.left,i.right),o=UJ(a,i.right,s,o),c.updateBinaryExpression(i,i.left,i.operatorToken,o);case 277:return a=t,s=r,c=n,o=(i=e).factory,c=void 0!==c?o.createStringLiteral(c):o.createStringLiteral(a.isExportEquals?"":"default"),s=UJ(i,a.expression,c,s),o.updateExportAssignment(a,a.modifiers,s)}var a,i,o,s,c,u,_,l,d,f,p,m,y,v,g,h,x,b,k,T,S,w}var qJ,WJ=e({"src/compiler/transformers/namedEvaluation.ts":function(){MK()}});function HJ(e,t,r,n,a,i){var o,s,c=TJ(t.tag,r,jE);rA.assert(c);var u=[void 0],_=[],l=[],d=t.template;if(0===i&&!_d(d))return wJ(t,r,e);var f=e.factory;if(Hv(d))_.push(KJ(f,d)),l.push(GJ(f,d,n));else{_.push(KJ(f,d.head)),l.push(GJ(f,d.head,n));try{for(var p=__values(d.templateSpans),m=p.next();!m.done;m=p.next()){var y=m.value;_.push(KJ(f,y.literal)),l.push(GJ(f,y.literal,n)),u.push(rA.checkDefined(TJ(y.expression,r,jE)))}}catch(e){o={error:e}}finally{try{m&&!m.done&&(s=p.return)&&s.call(p)}finally{if(o)throw o.error}}}e=e.getEmitHelperFactory().createTemplateObjectHelper(f.createArrayLiteralExpression(_),f.createArrayLiteralExpression(l));return XB(n)?(a(a=f.createUniqueName("templateObject")),u[0]=f.createLogicalOr(a,f.createAssignment(a,e))):u[0]=e,f.createCallExpression(c,void 0,u)}function KJ(e,t){return 26656&t.templateFlags?e.createVoidZero():e.createStringLiteral(t.text)}function GJ(e,t,r){var n=t.rawText;return void 0===n&&(rA.assertIsDefined(r,"Template literal node is missing 'rawText' and does not have a source file. Possibly bad transform."),n=__(r,t),r=15===t.kind||18===t.kind,n=n.substring(1,n.length-(r?1:2))),n=n.replace(/\r\n?/g,"\n"),UB(e.createStringLiteral(n),t)}var XJ,QJ=e({"src/compiler/transformers/taggedTemplate.ts":function(){MK(),qJ=function(e){return e[e.LiftRestriction=0]="LiftRestriction",e[e.All=1]="All",e}(qJ||{})}});function YJ(u){var _,l,d,f,c,i,p,o,m=u.factory,a=u.getEmitHelperFactory,y=u.startLexicalEnvironment,s=u.resumeLexicalEnvironment,v=u.endLexicalEnvironment,n=u.hoistVariableDeclaration,g=u.getEmitResolver(),h=u.getCompilerOptions(),x=rM(h),b=nM(h),k=!!h.experimentalDecorators,T=h.emitDecoratorMetadata?rz(u):void 0,S=u.onEmitNode,r=u.onSubstituteNode;return u.onEmitNode=function(e,t,r){var n=o,a=_;uB(t)&&(_=t);2&p&&function(e){return 267===EA(e).kind}(t)&&(o|=2);8&p&&function(e){return 266===EA(e).kind}(t)&&(o|=8);S(e,t,r),o=n,_=a},u.onSubstituteNode=function(e,t){{if(t=r(e,t),1===e)return function(e){switch(e.kind){case 80:return function(e){return he(e)||e}(e);case 211:case 212:return xe(e)}return e}(t);if(oB(t))return function(e){if(2&p){var t=e.name,r=he(t);if(r){if(e.objectAssignmentInitializer){var n=m.createAssignment(r,e.objectAssignmentInitializer);return UB(m.createPropertyAssignment(t,n),e)}return UB(m.createPropertyAssignment(t,r),e)}}return e}(t)}return t},u.enableSubstitution(211),u.enableSubstitution(212),function(e){return(313!==e.kind?t:function(e){return m.createBundle(e.sourceFiles.map(t),uD(e.prepends,function(e){return 315===e.kind?vy(e,"js"):e}))})(e)};function t(e){if(e.isDeclarationFile)return e;e=w(_=e,j);return qy(e,u.readEmitHelpers()),_=void 0,e}function w(e,t){var r=f,n=c,a=i;!function(e){switch(e.kind){case 312:case 269:case 268:case 241:f=e,c=void 0;break;case 263:case 262:if(_L(e,2))break;e.name?re(e):rA.assert(263===e.kind||_L(e,1024))}}(e);e=t(e);return f!==r&&(c=n),f=r,i=a,e}function C(e){return w(e,N)}function N(e){return 1&e.transformFlags?R(e):e}function D(e){return w(e,A)}function A(e){switch(e.kind){case 272:case 271:case 277:case 278:return function(e){if(PA(e)!==e)return 1&e.transformFlags?wJ(e,C,u):e;switch(e.kind){case 272:return function(e){if(!e.importClause)return e;if(e.importClause.isTypeOnly)return;var t=TJ(e.importClause,oe,zj);return t||1===h.importsNotUsedAsValues||2===h.importsNotUsedAsValues?m.updateImportDeclaration(e,void 0,t,e.moduleSpecifier,e.assertClause):void 0}(e);case 271:return _e(e);case 277:return function(e){return h.verbatimModuleSyntax||g.isValueAliasDeclaration(e)?wJ(e,C,u):void 0}(e);case 278:return function(e){if(e.isTypeOnly)return;if(!e.exportClause||Uj(e.exportClause))return e;var r=h.verbatimModuleSyntax||!!e.moduleSpecifier&&(1===h.importsNotUsedAsValues||2===h.importsNotUsedAsValues),t=TJ(e.exportClause,function(e){return t=r,Uj(e=e)?function(e){return m.updateNamespaceExport(e,rA.checkDefined(TJ(e.name,C,xR)))}(e):function(e,t){var r=SJ(e.elements,ue,Kj);return t||dD(r)?m.updateNamedExports(e,r):void 0}(e,t);var t},xs);return t?m.updateExportDeclaration(e,void 0,e.isTypeOnly,t,e.moduleSpecifier,e.assertClause):void 0}(e);default:rA.fail("Unhandled ellided statement")}}(e);default:return N(e)}}function E(e){return w(e,F)}function F(e){if(278!==e.kind&&272!==e.kind&&273!==e.kind&&(271!==e.kind||283!==e.moduleReference.kind))return 1&e.transformFlags||_L(e,1)?R(e):e}function P(t){return function(e){return w(e,function(e){return function(e,t){switch(e.kind){case 176:return function(e){return G(e)?m.updateConstructorDeclaration(e,void 0,MC(e.parameters,C,u),function(e,t){var r=t&&nD(t.parameters,function(e){return CA(e,t)});if(!dD(r))return RC(e,C,u);var n=[];s();var a=m.copyPrologue(e.statements,n,!1,C),i=kN(e.statements,a),r=uD(r,X);i.length?function e(t,r,n,a,i,o){var s=a[i];var c=r[s];gD(t,SJ(r,C,XE,n,s-n));Zg(c)?(e(n=[],c.tryBlock.statements,0,a,i+1,o),UB(m.createNodeArray(n),c.tryBlock.statements),t.push(m.updateTryStatement(c,m.updateBlock(c.tryBlock,n),TJ(c.catchClause,C,aB),TJ(c.finallyBlock,C,kj)))):(gD(t,SJ(r,C,XE,s,1)),gD(t,o));gD(t,SJ(r,C,XE,s+1))}(n,e.statements,a,i,0,r):(gD(n,r),gD(n,SJ(e.statements,C,XE,a)));n=m.mergeLexicalEnvironment(n,v());n=m.createBlock(UB(m.createNodeArray(n),e.statements),!0);return UB(n,e),_R(n,e),n}(e.body,e)):void 0}(e);case 172:return function(e,t){var r=33554432&e.flags||_L(e,256);if(r&&(!k||!gL(e)))return;var n=NE(t)?SJ(e.modifiers,r?L:C,Hs):SJ(e.modifiers,O,Hs);if(n=U(n,e,t),r)return m.updatePropertyDeclaration(e,fD(n,m.createModifiersFromModifierFlags(2)),rA.checkDefined(TJ(e.name,C,xE)),void 0,void 0,void 0);return m.updatePropertyDeclaration(e,n,K(e),void 0,void 0,TJ(e.initializer,C,jE))}(e,t);case 177:return Z(e,t);case 178:return $(e,t);case 174:return Q(e,t);case 175:return wJ(e,C,u);case 240:return e;case 181:return;default:return rA.failBadSyntaxKind(e)}}(e,t)})}}function I(t){return function(e){return w(e,function(e){return function(e,t){switch(e.kind){case 303:case 304:case 305:return C(e);case 177:return Z(e,t);case 178:return $(e,t);case 174:return Q(e,t);default:return rA.failBadSyntaxKind(e)}}(e,t)})}}function O(e){return NR(e)?void 0:C(e)}function L(e){return gE(e)?void 0:C(e)}function M(e){if(!NR(e)&&!(117086&kL(e.kind)||l&&95===e.kind))return e}function R(e){if(XE(e)&&_L(e,2))return m.createNotEmittedStatement(e);switch(e.kind){case 95:case 90:return l?void 0:e;case 125:case 123:case 124:case 128:case 164:case 87:case 138:case 148:case 103:case 147:case 188:case 189:case 190:case 191:case 187:case 182:case 168:case 133:case 159:case 136:case 154:case 150:case 146:case 116:case 155:case 185:case 184:case 186:case 183:case 192:case 193:case 194:case 196:case 197:case 198:case 199:case 200:case 201:case 181:return;case 265:return m.createNotEmittedStatement(e);case 270:return;case 264:return m.createNotEmittedStatement(e);case 263:return function(e){var t=function(e){var t=0;dD(TN(e,!0,!0))&&(t|=1);var r=yO(e);r&&106!==RB(r.expression).kind&&(t|=64);QP(k,e)&&(t|=2);ol(k,e)&&(t|=4);le(e)?t|=8:!function(e){return de(e)&&_L(e,1024)}(e)?fe(e)&&(t|=16):t|=32;return t}(e),r=x<=1&&!!(7&t);if(!function(e){return gL(e)||dD(e.typeParameters)||dD(e.heritageClauses,B)||dD(e.members,B)}(e)&&!QP(k,e)&&!le(e))return m.updateClassDeclaration(e,SJ(e.modifiers,M,gE),e.name,void 0,SJ(e.heritageClauses,C,nB),SJ(e.members,P(e),CE));r&&u.startLexicalEnvironment();var n=r||8&t,a=SJ(e.modifiers,n?L:C,Hs);2&t&&(a=z(a,e));var i=n&&!e.name||4&t||1&t?null!==(o=e.name)&&void 0!==o?o:m.getGeneratedNameForNode(e):e.name,o=m.updateClassDeclaration(e,a,i,void 0,SJ(e.heritageClauses,C,nB),J(e)),a=p_(e);1&t&&(a|=64);lR(o,a),o=r?(i=[o],a=Sf(xA(_.text,e.members.end),20),r=m.getInternalName(e),Dm(r=m.createPartiallyEmittedExpression(r),a.end),lR(r,3072),Nm(r=m.createReturnStatement(r),a.pos),lR(r,3840),i.push(r),t_(i,u.endLexicalEnvironment()),Ny(i=m.createImmediatelyInvokedArrowFunction(i),1),_R(i=m.createVariableDeclaration(m.getLocalName(e,!1,!1),void 0,void 0,i),e),_R(i=m.createVariableStatement(void 0,m.createVariableDeclarationList([i],1)),e),dR(i,e),Ey(i,bf(e)),sx(i),i):o;if(n){if(8&t)return[o,pe(e)];if(32&t)return[o,m.createExportDefault(m.getLocalName(e,!1,!0))];if(16&t)return[o,m.createExternalModuleExport(m.getDeclarationName(e,!1,!0))]}return o}(e);case 231:return function(e){var t=SJ(e.modifiers,L,Hs);QP(k,e)&&(t=z(t,e));return m.updateClassExpression(e,t,e.name,void 0,SJ(e.heritageClauses,C,nB),J(e))}(e);case 298:return 119!==(c=e).token?wJ(c,C,u):void 0;case 233:return c=e,m.updateExpressionWithTypeArguments(c,rA.checkDefined(TJ(c.expression,C,RE)),void 0);case 210:return s=e,m.updateObjectLiteralExpression(s,SJ(s.properties,I(s),EE));case 176:case 172:case 174:case 177:case 178:case 175:return rA.fail("Class and object literal elements must be visited with their respective visitors");case 262:return function(e){if(!G(e))return m.createNotEmittedStatement(e);var t=m.updateFunctionDeclaration(e,SJ(e.modifiers,M,gE),e.asteriskToken,e.name,void 0,MC(e.parameters,C,u),void 0,RC(e.body,C,u)||m.createBlock([]));if(le(e)){var r=[t];return r.push(pe(e)),r}return t}(e);case 218:return G(s=e)?m.updateFunctionExpression(s,SJ(s.modifiers,M,gE),s.asteriskToken,s.name,void 0,MC(s.parameters,C,u),void 0,RC(s.body,C,u)||m.createBlock([])):m.createOmittedExpression();case 219:return o=e,m.updateArrowFunction(o,SJ(o.modifiers,M,gE),void 0,MC(o.parameters,C,u),void 0,o.equalsGreaterThanToken,RC(o.body,C,u));case 169:return function(e){if(ZO(e))return;var t=m.updateParameterDeclaration(e,SJ(e.modifiers,function(e){return NR(e)?C(e):void 0},Hs),e.dotDotDotToken,rA.checkDefined(TJ(e.name,C,zs)),void 0,void 0,TJ(e.initializer,C,jE));t!==e&&(dR(t,e),UB(t,kf(e)),Ey(t,kf(e)),lR(t.name,64));return t}(e);case 217:return function(e){if(BE(RB(e.expression,-7))){var t=TJ(e.expression,C,jE);return rA.assert(t),m.createPartiallyEmittedExpression(t,e)}return wJ(e,C,u)}(e);case 216:case 234:return o=TJ((i=e).expression,C,jE),rA.assert(o),m.createPartiallyEmittedExpression(o,i);case 238:return i=TJ((a=e).expression,C,jE),rA.assert(i),m.createPartiallyEmittedExpression(i,a);case 213:return a=e,m.updateCallExpression(a,rA.checkDefined(TJ(a.expression,C,jE)),void 0,SJ(a.arguments,C,jE));case 214:return n=e,m.updateNewExpression(n,rA.checkDefined(TJ(n.expression,C,jE)),void 0,SJ(n.arguments,C,jE));case 215:return r=e,m.updateTaggedTemplateExpression(r,rA.checkDefined(TJ(r.tag,C,jE)),void 0,rA.checkDefined(TJ(r.template,C,ic)));case 235:return r=TJ((n=e).expression,C,RE),rA.assert(r),m.createPartiallyEmittedExpression(r,n);case 266:return function(e){if(!function(e){return!dP(e)||fM(h)}(e))return m.createNotEmittedStatement(e);var t=[],r=4,n=ae(t,e);n&&(4===b&&f===_||(r|=1024));var a=ve(e),i=ge(e),o=le(e)?m.getExternalModuleOrNamespaceExportName(d,e,!1,!0):m.getDeclarationName(e,!1,!0),s=m.createLogicalOr(o,m.createAssignment(o,m.createObjectLiteralExpression()));le(e)&&(o=m.getLocalName(e,!1,!0),s=m.createAssignment(o,s));s=m.createExpressionStatement(m.createCallExpression(m.createFunctionExpression(void 0,void 0,void 0,void 0,[m.createParameterDeclaration(void 0,void 0,a)],void 0,function(e,t){var r=d;d=t;var n=[];y();t=iD(e.members,te);return t_(n,v()),gD(n,t),d=r,m.createBlock(UB(m.createNodeArray(n),e.members),!0)}(e,i)),void 0,[s]));_R(s,e),n&&(fR(s,void 0),jy(s,void 0));return UB(s,e),Cy(s,r),t.push(s),t}(e);case 243:return function(e){{if(!le(e))return wJ(e,C,u);var t=jf(e.declarationList);if(0!==t.length)return UB(m.createExpressionStatement(m.inlineExpressions(iD(t,ee))),e)}}(e);case 260:return function(e){var t=m.updateVariableDeclaration(e,rA.checkDefined(TJ(e.name,C,zs)),void 0,void 0,TJ(e.initializer,C,jE));e.type&&Yy(t.name,e.type);return t}(e);case 267:return ie(e);case 271:return _e(e);case 285:return t=e,m.updateJsxSelfClosingElement(t,rA.checkDefined(TJ(t.tagName,C,Cc)),void 0,rA.checkDefined(TJ(t.attributes,C,eB)));case 286:return t=e,m.updateJsxOpeningElement(t,rA.checkDefined(TJ(t.tagName,C,Cc)),void 0,rA.checkDefined(TJ(t.attributes,C,eB)));default:return wJ(e,C,u)}var t,r,n,a,i,o,s,c}function j(e){var t=pM(h,"alwaysStrict")&&!(XB(e)&&5<=b)&&!lP(e);return m.updateSourceFile(e,LC(e.statements,D,u,0,t))}function B(e){return!!(8192&e.transformFlags)}function J(e){var t,r,n,a=SJ(e.members,P(e),CE),i=XO(e),o=i&&nD(i.parameters,function(e){return CA(e,i)});if(o)try{for(var s=__values(o),c=s.next();!c.done;c=s.next()){var u=c.value,_=m.createPropertyDeclaration(void 0,u.name,void 0,void 0,void 0);_R(_,u),n=vD(n,_)}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}return n?(n=gD(n,a),UB(m.createNodeArray(n),e.members)):a}function z(e,t){var r=V(t,t);return dD(r)&&(gD(t=[],Ue(e,Ox)),gD(t,nD(e,NR)),gD(t,r),gD(t,nD(Ve(e,Ox),gE)),e=UB(m.createNodeArray(t),e)),e}function U(e,t,r){return NE(r)&&YP(k,t,r)&&(dD(t=V(t,r))&&(gD(r=[],nD(e,NR)),gD(r,t),gD(r,nD(e,gE)),e=UB(m.createNodeArray(r),e))),e}function V(e,t){if(k)return(XJ?function(e,t){if(T){var r,n=void 0;if(q(e)&&(r=m.createPropertyAssignment("type",m.createArrowFunction(void 0,void 0,[],void 0,m.createToken(39),T.serializeTypeOfNode({currentLexicalScope:f,currentNameScope:t},e))),n=vD(n,r)),H(e)&&(r=m.createPropertyAssignment("paramTypes",m.createArrowFunction(void 0,void 0,[],void 0,m.createToken(39),T.serializeParameterTypesOfNode({currentLexicalScope:f,currentNameScope:t},e,t))),n=vD(n,r)),W(e)&&(e=m.createPropertyAssignment("returnType",m.createArrowFunction(void 0,void 0,[],void 0,m.createToken(39),T.serializeReturnTypeOfNode({currentLexicalScope:f,currentNameScope:t},e))),n=vD(n,e)),n){n=a().createMetadataHelper("design:typeinfo",m.createObjectLiteralExpression(n,!0));return[m.createDecorator(n)]}}}:function(e,t){if(T){var r,n=void 0;return q(e)&&(r=a().createMetadataHelper("design:type",T.serializeTypeOfNode({currentLexicalScope:f,currentNameScope:t},e)),n=vD(n,m.createDecorator(r))),H(e)&&(r=a().createMetadataHelper("design:paramtypes",T.serializeParameterTypesOfNode({currentLexicalScope:f,currentNameScope:t},e,t)),n=vD(n,m.createDecorator(r))),W(e)&&(e=a().createMetadataHelper("design:returntype",T.serializeReturnTypeOfNode({currentLexicalScope:f,currentNameScope:t},e)),n=vD(n,m.createDecorator(e))),n}})(e,t)}function q(e){e=e.kind;return 174===e||177===e||178===e||172===e}function W(e){return 174===e.kind}function H(e){switch(e.kind){case 263:case 231:return void 0!==XO(e);case 174:case 177:case 178:return 1}}function K(e){var t=e.name;if(SR(t)&&(!dL(e)&&i||gL(e)&&k)){var r=TJ(t.expression,C,jE);if(rA.assert(r),!hN(vs(r))){e=m.getGeneratedNameForNode(t);return n(e),m.updateComputedPropertyName(t,m.createAssignment(e,r))}}return rA.checkDefined(TJ(t,C,xE))}function G(e){return!EF(e.body)}function X(e){var t=e.name;if(xR(t)){var r=jM(UB(m.cloneNode(t),t),t.parent);lR(r,3168);t=jM(UB(m.cloneNode(t),t),t.parent);return lR(t,3072),sx(wy(UB(_R(m.createExpressionStatement(m.createAssignment(UB(m.createPropertyAccessExpression(m.createThis(),r),e.name),t)),e),xf(e,-1))))}}function Q(e,t){if(!(1&e.transformFlags))return e;if(G(e)){var r=U(r=NE(t)?SJ(e.modifiers,C,Hs):SJ(e.modifiers,O,Hs),e,t);return m.updateMethodDeclaration(e,r,e.asteriskToken,K(e),void 0,void 0,MC(e.parameters,C,u),void 0,RC(e.body,C,u))}}function Y(e){return!EF(e.body)||!_L(e,256)}function Z(e,t){if(!(1&e.transformFlags))return e;if(Y(e)){var r=U(r=NE(t)?SJ(e.modifiers,C,Hs):SJ(e.modifiers,O,Hs),e,t);return m.updateGetAccessorDeclaration(e,r,K(e),MC(e.parameters,C,u),void 0,RC(e.body,C,u)||m.createBlock([]))}}function $(e,t){if(!(1&e.transformFlags))return e;if(Y(e)){var r=U(r=NE(t)?SJ(e.modifiers,C,Hs):SJ(e.modifiers,O,Hs),e,t);return m.updateSetAccessorDeclaration(e,r,K(e),MC(e.parameters,C,u),RC(e.body,C,u)||m.createBlock([]))}}function ee(e){var t=e.name;return PE(t)?jN(e,C,u,0,!1,me):UB(m.createAssignment(ye(t),rA.checkDefined(TJ(e.initializer,C,jE))),e)}function te(e){var t,r=(n=!1,bR(t=(t=e).name)?m.createIdentifier(""):SR(t)?n&&!hN(t.expression)?m.getGeneratedNameForNode(t):t.expression:xR(t)?m.createStringLiteral(LA(t)):m.cloneNode(t)),t=(n=e,void 0!==(t=g.getConstantValue(n))?"string"==typeof t?m.createStringLiteral(t):m.createNumericLiteral(t):(0==(8&p)&&(p|=8,u.enableSubstitution(80)),n.initializer?rA.checkDefined(TJ(n.initializer,C,jE)):m.createVoidZero())),n=m.createAssignment(m.createElementAccessExpression(d,r),t),r=11===t.kind?n:m.createAssignment(m.createElementAccessExpression(d,n),r);return UB(m.createExpressionStatement(UB(r,e)),e)}function re(e){c=c||new Map;var t=ne(e);c.has(t)||c.set(t,e)}function ne(e){return rA.assertNode(e.name,xR),e.name.escapedText}function ae(e,t){var r=m.createVariableDeclaration(m.getLocalName(t,!1,!0)),n=312===f.kind?0:1,n=m.createVariableStatement(SJ(t.modifiers,M,gE),m.createVariableDeclarationList([r],n));return _R(r,t),fR(r,void 0),jy(r,void 0),_R(n,t),re(t),!!function(e){if(c){var t=ne(e);return c.get(t)===e}return 1}(t)&&(266===t.kind?Ey(n.declarationList,t):Ey(n,t),dR(n,t),Cy(n,2048),e.push(n),!0)}function ie(e){if((s=PA(s=e,Mj))&&!vJ(s,fM(h)))return m.createNotEmittedStatement(e);rA.assertNode(e.name,xR,"A TypeScript namespace should have an Identifier name."),0==(2&p)&&(p|=2,u.enableSubstitution(80),u.enableSubstitution(304),u.enableEmitNotification(267));var t=[],r=4,n=ae(t,e);n&&(4===b&&f===_||(r|=1024));var a=ve(e),i=ge(e),o=le(e)?m.getExternalModuleOrNamespaceExportName(d,e,!1,!0):m.getDeclarationName(e,!1,!0),s=m.createLogicalOr(o,m.createAssignment(o,m.createObjectLiteralExpression()));le(e)&&(o=m.getLocalName(e,!1,!0),s=m.createAssignment(o,s));s=m.createExpressionStatement(m.createCallExpression(m.createFunctionExpression(void 0,void 0,void 0,void 0,[m.createParameterDeclaration(void 0,void 0,a)],void 0,function(e,t){var r=d,n=l,a=c;d=t,l=e,c=void 0;var i,o=[];y(),e.body&&(268===e.body.kind?(w(e.body,function(e){return gD(o,SJ(e.statements,E,XE))}),s=e.body.statements,i=e.body):((t=ie(e.body))&&(RD(t)?gD(o,t):o.push(t)),t=function e(t){if(267===t.body.kind){var r=e(t.body);return r||t.body}}(e).body,s=xf(t.statements,-1)));t_(o,v()),d=r,l=n,c=a;var s=m.createBlock(UB(m.createNodeArray(o),s),!0);UB(s,i),e.body&&268===e.body.kind||lR(s,3072|p_(s));return s}(e,i)),void 0,[s]));return _R(s,e),n&&(fR(s,void 0),jy(s,void 0)),UB(s,e),Cy(s,r),t.push(s),t}function oe(e){rA.assert(!e.isTypeOnly);var t=be(e)?e.name:void 0,r=TJ(e.namedBindings,se,hc);return t||r?m.updateImportClause(e,!1,t,r):void 0}function se(e){if(274===e.kind)return be(e)?e:void 0;var t=h.verbatimModuleSyntax||h.preserveValueImports&&(1===h.importsNotUsedAsValues||2===h.importsNotUsedAsValues),r=SJ(e.elements,ce,Vj);return t||dD(r)?m.updateNamedImports(e,r):void 0}function ce(e){return!e.isTypeOnly&&be(e)?e:void 0}function ue(e){return e.isTypeOnly||!h.verbatimModuleSyntax&&!g.isValueAliasDeclaration(e)?void 0:e}function _e(e){if(!e.isTypeOnly){if(nI(e)){var t=be(e);return t||1!==h.importsNotUsedAsValues?t?wJ(e,C,u):void 0:_R(UB(m.createImportDeclaration(void 0,void 0,e.moduleReference.expression,void 0),e),e)}if(be(r=e)||!XB(_)&&g.isTopLevelValueImportEqualsWithEntityName(r)){var r,n=Xh(m,e.moduleReference);return lR(n,7168),fe(e)||!le(e)?_R(UB(m.createVariableStatement(SJ(e.modifiers,M,gE),m.createVariableDeclarationList([_R(m.createVariableDeclaration(e.name,void 0,void 0,n),e)])),e),e):_R((t=e.name,r=n,n=e,UB(m.createExpressionStatement(m.createAssignment(m.getNamespaceMemberName(d,t,!1,!0),r)),n)),e)}}}function le(e){return void 0!==l&&_L(e,1)}function de(e){return void 0===l&&_L(e,1)}function fe(e){return de(e)&&!_L(e,1024)}function pe(e){var t=m.createAssignment(m.getExternalModuleOrNamespaceExportName(d,e,!1,!0),m.getLocalName(e));Ey(t,gf((e.name||e).pos,e.end));t=m.createExpressionStatement(t);return Ey(t,gf(-1,e.end)),t}function me(e,t,r){return UB(m.createAssignment(ye(e),t),r)}function ye(e){return m.getNamespaceMemberName(d,e,!1,!0)}function ve(e){var t=m.getGeneratedNameForNode(e);return Ey(t,e.name),t}function ge(e){return m.getGeneratedNameForNode(e)}function he(e){if(p&o&&!mE(e)&&!ex(e)){var t=g.getReferencedExportContainer(e,!1);if(t&&312!==t.kind)if(2&o&&267===t.kind||8&o&&266===t.kind)return UB(m.createPropertyAccessExpression(m.getGeneratedNameForNode(t),e),e)}}function xe(e){var t=function(e){if(sM(h))return;return aj(e)||ij(e)?g.getConstantValue(e):void 0}(e);if(void 0===t)return e;Uy(e,t);t="string"==typeof t?m.createStringLiteral(t):t<0?m.createPrefixUnaryExpression(41,m.createNumericLiteral(Math.abs(t))):m.createNumericLiteral(t);return h.removeComments||(e=EA(e,GL),By(t,3," ".concat(PF(e).replace(/\*\//g,"*_/")," "))),t}function be(e){return h.verbatimModuleSyntax||cI(e)||(h.preserveValueImports?g.isValueAliasDeclaration(e):g.isReferencedAliasDeclaration(e))}}var ZJ=e({"src/compiler/transformers/ts.ts":function(){MK(),XJ=!1}});function $J(l){var h=l.factory,s=l.getEmitHelperFactory,x=l.hoistVariableDeclaration,d=l.endLexicalEnvironment,r=l.startLexicalEnvironment,f=l.resumeLexicalEnvironment,p=l.addBlockScopedVariable,m=l.getEmitResolver(),e=l.getCompilerOptions(),c=rM(e),y=mM(e),v=!!e.experimentalDecorators,g=!y,b=y&&c<9,k=g||b,T=c<9,S=c<99?-1:y?0:3,w=c<9,C=w&&2<=c,t=k||T||-1===S,n=l.onSubstituteNode;l.onSubstituteNode=function(e,t){return t=n(e,t),1!==e?t:function(e){switch(e.kind){case 80:return function(e){return function(e){if(1&u&&536870912&m.getNodeCheckFlags(e)){var t=m.getReferencedValueDeclaration(e);if(t){t=N[t.id];if(t){t=h.cloneNode(t);return Ey(t,e),dR(t,e),t}}}return}(e)||e}(e);case 110:return function(e){if(2&u&&null!=_&&_.data&&!a.has(e)){var t=_.data,r=t.facts,n=t.classConstructor,t=t.classThis,n=L&&null!=t?t:n;if(n)return UB(_R(h.cloneNode(n),e),e);if(1&r&&v)return h.createParenthesizedExpression(h.createVoidZero())}return e}(e)}return e}(t)};var u,N,D,A,_,E,F,P=l.onEmitNode,I=!(l.onEmitNode=function(e,t,r){var n=EA(t),a=O.get(n);if(a){var i=_,o=M;return _=a,M=L,L=!(PR(n)&&32&m_(n)),P(e,t,r),L=M,M=o,void(_=i)}switch(t.kind){case 218:if(lj(n)||524288&p_(t))break;case 262:case 176:case 177:case 178:case 174:case 172:i=_,o=M;return _=void 0,M=L,L=!1,P(e,t,r),L=M,M=o,void(_=i);case 167:var i=_,s=L;return _=null==_?void 0:_.previous,L=M,P(e,t,r),L=s,void(_=i)}P(e,t,r)}),O=new Map,a=new Set,L=!1,M=!1;return dN(l,function(e){if(e.isDeclarationFile)return e;if(_=void 0,I=!!(32&m_(e)),!t&&!I)return e;e=wJ(e,j,l);return qy(e,l.readEmitHelpers()),e});function R(e){return 129!==e.kind?BD(e,gE):Z()?void 0:e}function j(e){if(!(16777216&e.transformFlags||134234112&e.transformFlags))return e;switch(e.kind){case 129:return rA.fail("Use `modifierVisitor` instead.");case 263:return le(e,de);case 231:return le(e,fe);case 175:case 172:return rA.fail("Use `classElementVisitor` instead.");case 303:return function(e){rd(e,oe)&&(e=VJ(l,e));return wJ(e,j,l)}(e);case 243:return function(e){var t=A;A=[];e=wJ(e,j,l),e=dD(A)?__spreadArray([e],__read(A),!1):e;return A=t,e}(e);case 260:return function(e){rd(e,oe)&&(e=VJ(l,e));return wJ(e,j,l)}(e);case 169:return function(e){rd(e,oe)&&(e=VJ(l,e));return wJ(e,j,l)}(e);case 208:return function(e){rd(e,oe)&&(e=VJ(l,e));return wJ(e,j,l)}(e);case 277:return function(e){rd(e,oe)&&(e=VJ(l,e,!0,e.isExportEquals?"":"default"));return wJ(e,j,l)}(e);case 81:return function(e){if(!T)return e;if(XE(e.parent))return e;return _R(h.createIdentifier(""),e)}(e);case 211:return function(e){if(bR(e.name)){var t=Ee(e.name);if(t)return UB(_R(te(t,e.expression),e),e)}if(C&&F&&VP(e)&&xR(e.name)&&ez(F)&&null!=_&&_.data){var r=_.data,n=r.classConstructor,t=r.superClassReference;if(1&r.facts)return be(e);if(n&&t){n=h.createReflectGetCall(t,h.createStringLiteralFromNode(e.name),n);return _R(n,e.expression),UB(n,e.expression),n}}return wJ(e,j,l)}(e);case 212:return function(e){if(C&&F&&VP(e)&&ez(F)&&null!=_&&_.data){var t=_.data,r=t.classConstructor,n=t.superClassReference;if(1&t.facts)return be(e);if(r&&n){r=h.createReflectGetCall(n,TJ(e.argumentExpression,j,jE),r);return _R(r,e.expression),UB(r,e.expression),r}}return wJ(e,j,l)}(e);case 224:case 225:return ne(e,!1);case 226:return se(e,!1);case 217:return ce(e,!1);case 213:return function(e){if(vE(e.expression)&&Ee(e.expression.name)){var t=h.createCallBinding(e.expression,x,c),r=t.thisArg,t=t.target;return nE(e)?h.updateCallChain(e,h.createPropertyAccessChain(TJ(t,j,jE),e.questionDotToken,"call"),void 0,void 0,__spreadArray([TJ(r,j,jE)],__read(SJ(e.arguments,j,jE)),!1)):h.updateCallExpression(e,h.createPropertyAccessExpression(TJ(t,j,jE),"call"),void 0,__spreadArray([TJ(r,j,jE)],__read(SJ(e.arguments,j,jE)),!1))}if(C&&F&&VP(e.expression)&&ez(F)&&null!=(n=null==_?void 0:_.data)&&n.classConstructor){var n=h.createFunctionCallCall(TJ(e.expression,j,jE),_.data.classConstructor,SJ(e.arguments,j,jE));return _R(n,e),UB(n,e),n}return wJ(e,j,l)}(e);case 244:return t=e,h.updateExpressionStatement(t,TJ(t.expression,o,jE));case 215:return function(e){if(vE(e.tag)&&Ee(e.tag.name)){var t=h.createCallBinding(e.tag,x,c),r=t.thisArg,t=t.target;return h.updateTaggedTemplateExpression(e,h.createCallExpression(h.createPropertyAccessExpression(TJ(t,j,jE),"bind"),void 0,[TJ(r,j,jE)]),void 0,TJ(e.template,j,ic))}if(C&&F&&VP(e.tag)&&ez(F)&&null!=(n=null==_?void 0:_.data)&&n.classConstructor){var n=h.createFunctionBindCall(TJ(e.tag,j,jE),_.data.classConstructor,[]);return _R(n,e),UB(n,e),h.updateTaggedTemplateExpression(e,n,void 0,TJ(e.template,j,ic))}return wJ(e,j,l)}(e);case 248:return t=e,h.updateForStatement(t,TJ(t.initializer,o,mc),TJ(t.condition,j,jE),TJ(t.incrementor,o,jE),jC(t.statement,j,l));case 110:return function(e){if(w&&F&&PR(F)&&null!=_&&_.data){var t=_.data,r=t.classThis,t=t.classConstructor;return null!==(t=null!=r?r:t)&&void 0!==t?t:e}return e}(e);case 262:case 218:return G(void 0,i,e);case 176:case 174:case 177:case 178:return G(e,i,e);default:return i(e)}var t}function i(e){return wJ(e,j,l)}function o(e){switch(e.kind){case 224:case 225:return ne(e,!0);case 226:return se(e,!0);case 361:return function(e,t){t=t?BC(e.elements,o):BC(e.elements,j,o);return h.updateCommaListExpression(e,t)}(e,!0);case 217:return ce(e,!0);default:return j(e)}}function B(e){switch(e.kind){case 298:return wJ(e,B,l);case 233:return function(e){if(4&((null==(t=null==_?void 0:_.data)?void 0:t.facts)||0)){var t=h.createTempVariable(x,!0);return ke().superClassReference=t,h.updateExpressionWithTypeArguments(e,h.createAssignment(t,TJ(e.expression,j,jE)),void 0)}return wJ(e,j,l)}(e);default:return j(e)}}function J(e){switch(e.kind){case 210:case 209:return Le(e);default:return j(e)}}function z(e){switch(e.kind){case 176:return G(e,W,e);case 177:case 178:case 174:return G(e,K,e);case 172:return G(e,$,e);case 175:return G(e,pe,e);case 167:return q(e);case 240:return e;default:return(Hs(e)?R:j)(e)}}function U(e){return(167!==e.kind?j:q)(e)}function V(e){switch(e.kind){case 172:return Y(e);case 177:case 178:return z(e);default:rA.assertMissingNode(e,"Expected node to either be a PropertyDeclaration, GetAccessorDeclaration, or SetAccessorDeclaration")}}function q(e){var t=TJ(e.expression,j,jE);return h.updateComputedPropertyName(e,(t=t,dD(D)&&(t=uj(t)?(D.push(t.expression),h.updateParenthesizedExpression(t,h.inlineExpressions(D))):(D.push(t),h.inlineExpressions(D)),D=void 0),t))}function W(e){return E?ye(e,E):i(e)}function H(e){return T||!!(dL(e)&&32&m_(e))}function K(e){if(rA.assert(!gL(e)),!yE(e)||!H(e))return wJ(e,z,l);var t=Ee(e.name);if(rA.assert(t,"Undeclared private name for property declaration."),!t.isValid)return e;t=function(e){rA.assert(bR(e.name));var t=Ee(e.name);if(rA.assert(t,"Undeclared private name for property declaration."),"m"===t.kind)return t.methodName;if("a"===t.kind)return eF(e)?t.getterName:$E(e)?t.setterName:void 0}(e);t&&Se().push(h.createAssignment(t,h.createFunctionExpression(nD(e.modifiers,function(e){return gE(e)&&!dg(e)&&!mg(e)}),e.asteriskToken,t,void 0,MC(e.parameters,j,l),void 0,RC(e.body,j,l))))}function G(e,t,r){if(e===F)return t(r);var n=F;F=e;r=t(r);return F=n,r}function X(e){var t,r=Ly(e),n=Ay(e),a=e.name,i=a,o=a;SR(a)&&!hN(a.expression)&&(o=(t=qx(a))?(i=h.updateComputedPropertyName(a,TJ(a.expression,j,jE)),h.updateComputedPropertyName(a,t.left)):(Ey(c=h.createTempVariable(x),a.expression),s=TJ(a.expression,j,jE),Ey(s=h.createAssignment(c,s),a.expression),i=h.updateComputedPropertyName(a,s),h.updateComputedPropertyName(a,c)));var s=SJ(e.modifiers,R,gE),a=zx(h,e,s,e.initializer);_R(a,e),lR(a,3072),Ey(a,n);var c,u=lL(e)?(u=ke(),u=null!==(u=null!==(c=u.classThis)&&void 0!==c?c:u.classConstructor)&&void 0!==u?u:null==E?void 0:E.name,rA.checkDefined(u)):h.createThis(),i=Ux(h,e,s,i,u);_R(i,e),dR(i,r),Ey(i,n);var s=h.createModifiersFromModifierFlags(bL(s)),u=Vx(h,e,s,o,u);return _R(u,e),lR(u,3072),Ey(u,n),IC([a,i,u],V,CE)}function Q(e){if(!k||AE(e))return h.updatePropertyDeclaration(e,SJ(e.modifiers,R,gE),TJ(e.name,U,xE),void 0,void 0,TJ(e.initializer,j,jE));var t=function(e,t){if(SR(e)){var r=qx(e),n=TJ(e.expression,j,jE),a=vs(n),i=hN(a);if(!!r||NL(a)&&mE(a.left)||i||!t)return i||xR(a)?void 0:n;a=h.getGeneratedNameForNode(e);return(32768&m.getNodeCheckFlags(e)?p:x)(a),h.createAssignment(a,n)}}(e.name,!!e.initializer||y);if(t&&(r=Se()).push.apply(r,__spreadArray([],__read(Hx(t)),!1)),lL(e)&&!T){var r=ge(e,h.createThis());if(r){t=h.createClassStaticBlockDeclaration(h.createBlock([r]));return _R(t,e),dR(t,e),dR(r,{pos:-1,end:-1}),fR(r,void 0),jy(r,void 0),t}}}function Y(e){return rA.assert(!gL(e),"Decorators should already have been transformed and elided."),(yE(e)?function(e){if(!H(e))return g&&!lL(e)&&null!=_&&_.data&&16&_.data.facts?h.updatePropertyDeclaration(e,SJ(e.modifiers,j,Hs),e.name,void 0,void 0,void 0):(rd(e,oe)&&(e=VJ(l,e)),h.updatePropertyDeclaration(e,SJ(e.modifiers,R,gE),TJ(e.name,U,xE),void 0,void 0,TJ(e.initializer,j,jE)));var t=Ee(e.name);if(rA.assert(t,"Undeclared private name for property declaration."),!t.isValid)return e;if(t.isStatic&&!T){e=ge(e,h.createThis());if(e)return h.createClassStaticBlockDeclaration(h.createBlock([e],!0))}}:Q)(e)}function Z(){return-1===S||3===S&&null!=_&&_.data&&16&_.data.facts}function $(e){return(AE(e)&&(Z()||dL(e)&&32&m_(e))?X:Y)(e)}function ee(e){F&&dL(F)&&DE(F)&&AE(EA(F))&&(110===(e=RB(e)).kind&&a.add(e))}function te(e,t){return ee(t=TJ(t,j,jE)),re(e,t)}function re(e,t){switch(dR(t,xf(t,-1)),e.kind){case"a":return s().createClassPrivateFieldGetHelper(t,e.brandCheckIdentifier,e.kind,e.getterName);case"m":return s().createClassPrivateFieldGetHelper(t,e.brandCheckIdentifier,e.kind,e.methodName);case"f":return s().createClassPrivateFieldGetHelper(t,e.brandCheckIdentifier,e.kind,e.isStatic?e.variableName:void 0);case"untransformed":return rA.fail("Access helpers should not be created for untransformed private elements");default:rA.assertNever(e,"Unknown private element type")}}function ne(e,t){if(46===e.operator||47===e.operator){var r=oO(e.operand);if(vE(r)){if(c=Ee(r.name)){var n=TJ(r.expression,j,jE);ee(n);var a=ae(n),i=a.readExpression,o=a.initializeExpression,s=te(c,i),n=pj(e)||t?void 0:h.createTempVariable(x);return _R(s=ue(c,o||i,s=Zh(h,e,s,x,n),64),e),UB(s,e),n&&UB(s=h.createComma(s,n),e),s}}else if(C&&F&&VP(r)&&ez(F)&&null!=_&&_.data){var a=_.data,c=a.classConstructor,o=a.superClassReference;if(1&a.facts){s=be(r);return pj(e)?h.updatePrefixUnaryExpression(e,s):h.updatePostfixUnaryExpression(e,s)}if(c&&o){i=void 0,a=void 0;if(aj(r)?xR(r.name)&&(a=i=h.createStringLiteralFromNode(r.name)):hN(r.argumentExpression)?a=i=r.argumentExpression:(a=h.createTempVariable(x),i=h.createAssignment(a,TJ(r.argumentExpression,j,jE))),i&&a){UB(s=h.createReflectGetCall(o,a,c),r);n=t?void 0:h.createTempVariable(x);return s=Zh(h,e,s,x,n),_R(s=h.createReflectSetCall(o,i,s,c),e),UB(s,e),n&&UB(s=h.createComma(s,n),e),s}}}}return wJ(e,j,l)}function ae(e){var t=jO(e)?e:h.cloneNode(e);if(110===e.kind&&a.has(e)&&a.add(t),hN(e))return{readExpression:t,initializeExpression:void 0};e=h.createTempVariable(x);return{readExpression:e,initializeExpression:h.createAssignment(e,t)}}function ie(e){if(_&&O.set(EA(e),_),T){if(FJ(e)){var t=TJ(e.body.statements[0].expression,j,jE);return NL(t,!0)&&t.left===t.right?void 0:t}if(jJ(e))return TJ(e.body.statements[0].expression,j,jE);r();t=G(e,function(e){return SJ(e,j,XE)},e.body.statements),t=h.mergeLexicalEnvironment(t,d()),t=h.createImmediatelyInvokedArrowFunction(t);return _R(oO(t.expression),e),Cy(oO(t.expression),4),_R(t,e),UB(t,e),t}}function oe(e){if(!vj(e)||e.name)return!1;var t=wN(e);return!dD(t,jJ)&&((T||!!m_(e))&&dD(t,function(e){return PR(e)||yE(e)||k&&NJ(e)}))}function se(e,t){if(sf(e)){var r=D;D=void 0,e=h.updateBinaryExpression(e,TJ(e.left,J,jE),e.operatorToken,TJ(e.right,j,jE));var n=dD(D)?h.inlineExpressions(Me(__spreadArray(__spreadArray([],__read(D),!1),[e],!1))):e;return D=r,n}if(NL(e)){rd(e,oe)&&(e=VJ(l,e),rA.assertNode(e,NL));var a=RB(e.left,9);if(vE(a)){var i=Ee(a.name);if(i)return UB(_R(ue(i,a.expression,e.right,e.operatorToken.kind),e),e)}else if(C&&F&&VP(e.left)&&ez(F)&&null!=_&&_.data){r=_.data,n=r.classConstructor,i=r.superClassReference;if(1&r.facts)return h.updateBinaryExpression(e,be(e.left),e.operatorToken,TJ(e.right,j,jE));if(n&&i){a=ij(e.left)?TJ(e.left.argumentExpression,j,jE):xR(e.left.name)?h.createStringLiteralFromNode(e.left.name):void 0;if(a){var o=TJ(e.right,j,jE);CJ(e.operatorToken.kind)&&(hN(r=a)||(r=h.createTempVariable(x),a=h.createAssignment(r,a)),_R(r=h.createReflectGetCall(i,r,n),e.left),UB(r,e.left),UB(o=h.createBinaryExpression(r,xN(e.operatorToken.kind),o),e));t=t?void 0:h.createTempVariable(x);return t&&(o=h.createAssignment(t,o),UB(t,e)),_R(o=h.createReflectSetCall(i,a,o,n),e),UB(o,e),t&&UB(o=h.createComma(o,t),e),o}}}}return bR((o=e).left)&&103===o.operatorToken.kind?function(e){var t=Ee(e.left);if(t){var r=TJ(e.right,j,jE);return _R(s().createClassPrivateFieldInHelper(t.brandCheckIdentifier,r),e)}return wJ(e,j,l)}(e):wJ(e,j,l)}function ce(e,t){t=t?o:j,t=TJ(e.expression,t,jE);return h.updateParenthesizedExpression(e,t)}function ue(e,t,r,n){var a,i;switch(t=TJ(t,j,jE),r=TJ(r,j,jE),ee(t),CJ(n)&&(i=(a=ae(t)).readExpression,t=a.initializeExpression||i,r=h.createBinaryExpression(re(e,i),xN(n),r)),dR(t,xf(t,-1)),e.kind){case"a":return s().createClassPrivateFieldSetHelper(t,e.brandCheckIdentifier,r,e.kind,e.setterName);case"m":return s().createClassPrivateFieldSetHelper(t,e.brandCheckIdentifier,r,e.kind,void 0);case"f":return s().createClassPrivateFieldSetHelper(t,e.brandCheckIdentifier,r,e.kind,e.isStatic?e.variableName:void 0);case"untransformed":return rA.fail("Access helpers should not be created for untransformed private elements");default:rA.assertNever(e,"Unknown private element type")}}function _e(e){return nD(e.members,CN)}function le(e,t){var r=E,n=D,a=_;_={previous:_,data:D=void 0};var i=32&m_(E=e);(T||i)&&((i=JA(e))&&xR(i)?Te().data.className=i:null!=(i=e.emitNode)&&i.assignedName&&hR(e.emitNode.assignedName)&&(e.emitNode.assignedName.textSourceNode&&xR(e.emitNode.assignedName.textSourceNode)?Te().data.className=e.emitNode.assignedName.textSourceNode:bA(e.emitNode.assignedName.text,c)&&(i=h.createIdentifier(e.emitNode.assignedName.text),Te().data.className=i))),!T||dD(o=_e(e))&&(Te().data.weakSetName=De("instances",o[0].name));var o=function(e){var t,r,n,a=0,i=EA(e);Pj(i)&&QP(v,i)&&(a|=1),T&&(PJ(e)||BJ(e))&&(a|=2);var o=!1,s=!1,c=!1,u=!1;try{for(var _=__values(e.members),l=_.next();!l.done;l=_.next()){var d=l.value;lL(d)?((d.name&&(bR(d.name)||AE(d))&&T||!(!AE(d)||-1!==S||e.name||null!=(n=e.emitNode)&&n.classThis))&&(a|=2),(AR(d)||PR(d))&&(w&&16384&d.transformFlags&&(1&(a|=8)||(a|=2)),C&&134217728&d.transformFlags&&(1&a||(a|=6)))):pL(EA(d))||(AE(d)?(u=!0,c=c||yE(d)):yE(d)?(c=!0,262144&m.getNodeCheckFlags(d)&&(a|=2)):AR(d)&&(o=!0,s=s||!!d.initializer))}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=_.return)&&r.call(_)}finally{if(t)throw t.error}}return(b&&o||g&&s||T&&c||T&&u&&-1===S)&&(a|=16),a}(e);o&&(ke().facts=o),8&o&&0==(2&u)&&(u|=2,l.enableSubstitution(110),l.enableEmitNotification(262),l.enableEmitNotification(218),l.enableEmitNotification(176),l.enableEmitNotification(177),l.enableEmitNotification(178),l.enableEmitNotification(174),l.enableEmitNotification(172),l.enableEmitNotification(167));o=t(e,o);return _=null==_?void 0:_.previous,rA.assert(_===a),E=r,D=n,o}function de(e,t){2&t&&(r=T&&null!=(s=e.emitNode)&&s.classThis?(ke().classConstructor=e.emitNode.classThis,h.createAssignment(e.emitNode.classThis,h.getInternalName(e))):(c=h.createTempVariable(x,!0),ke().classConstructor=h.cloneNode(c),h.createAssignment(c,h.getInternalName(e)))),null!=(u=e.emitNode)&&u.classThis&&(ke().classThis=e.emitNode.classThis);var r,n=262144&m.getNodeCheckFlags(e),a=_L(e,1),i=_L(e,1024),o=SJ(e.modifiers,R,gE),t=SJ(e.heritageClauses,B,nB),s=me(e),c=s.members,u=s.prologue,s=[];r&&Se().unshift(r),dD(D)&&s.push(h.createExpressionStatement(h.inlineExpressions(D))),!(g||T||32&m_(e))||dD(r=wN(e))&&ve(s,r,h.getInternalName(e)),0<s.length&&a&&i&&(o=SJ(o,function(e){return Ox(e)?void 0:e},gE),s.push(h.createExportAssignment(void 0,!1,h.getLocalName(e,!1,!0))));i=ke().classConstructor;n&&i&&(xe(),N[_N(e)]=i);c=h.updateClassDeclaration(e,o,e.name,void 0,t,c);return s.unshift(c),u&&s.unshift(h.createExpressionStatement(u)),s}function fe(t,e){var r,n,a=!!(1&e),i=wN(t),o=m.getNodeCheckFlags(t),s=262144&o;function c(){if(T&&null!=(e=t.emitNode)&&e.classThis)return ke().classConstructor=t.emitNode.classThis;var e=32768&o,e=h.createTempVariable(e?p:x,!0);return ke().classConstructor=h.cloneNode(e),e}null!=(l=t.emitNode)&&l.classThis&&(ke().classThis=t.emitNode.classThis),2&e&&(null!=n||(n=c()));var u=SJ(t.modifiers,R,gE),_=SJ(t.heritageClauses,B,nB),l=me(t),e=l.members,l=l.prologue,_=h.updateClassExpression(t,u,t.name,void 0,_,e),e=[];return l&&e.push(l),(T||32&m_(t))&&dD(i,function(e){return PR(e)||yE(e)||k&&NJ(e)})||dD(D)?a?(rA.assertIsDefined(A,"Decorated classes transformed by TypeScript are expected to be within a variable declaration."),dD(D)&&gD(A,iD(D,h.createExpressionStatement)),dD(i)&&ve(A,i,null!==(a=null==(a=t.emitNode)?void 0:a.classThis)&&void 0!==a?a:h.getInternalName(t)),n?e.push(h.createAssignment(n,_)):T&&null!=(r=t.emitNode)&&r.classThis?e.push(h.createAssignment(t.emitNode.classThis,_)):e.push(_)):(null!=n||(n=c()),s&&(xe(),(s=h.cloneNode(n)).emitNode.autoGenerate.flags&=-9,N[_N(t)]=s),e.push(h.createAssignment(n,_)),gD(e,D),gD(e,function(e,r){var t,n,a=[];try{for(var i=__values(e),o=i.next();!o.done;o=i.next())!function(e){var t=PR(e)?G(e,ie,e):G(e,function(){return he(e,r)},void 0);t&&(sx(t),_R(t,e),Cy(t,3072&p_(e)),Ey(t,kf(e)),dR(t,e),a.push(t))}(o.value)}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return a}(i,n)),e.push(h.cloneNode(n))):e.push(_),1<e.length&&(Cy(_,131072),e.forEach(sx)),h.inlineExpressions(e)}function pe(e){if(!T)return wJ(e,j,l)}function me(e){var t,r,n,a,i=!!(32&m_(e));if(T||I){try{for(var o=__values(e.members),s=o.next();!s.done;s=o.next())yE(c=s.value)&&(H(c)?Ne(c,c.name,we):ON(Te(),c.name,{kind:"untransformed"}))}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}if(T&&dD(_e(e))&&(g=Te().data.weakSetName,rA.assert(g,"weakSetName should be set in private identifier environment"),Se().push(h.createAssignment(g,h.createNewExpression(h.createIdentifier("WeakSet"),void 0,[])))),Z())try{for(var c,u,_=__values(e.members),l=_.next();!l.done;l=_.next())AE(c=l.value)&&(u=h.getGeneratedPrivateNameForNode(c.name,void 0,"_accessor_storage"),T||i&&dL(c)?Ne(c,u,Ce):ON(Te(),u,{kind:"untransformed"}))}catch(e){n={error:e}}finally{try{l&&!l.done&&(a=_.return)&&a.call(_)}finally{if(n)throw n.error}}}var d,f,p,m,y,v,g=SJ(e.members,z,CE);return dD(g,IR)||(d=ye(void 0,e)),!T&&dD(D)&&(134234112&(p=h.createExpressionStatement(h.inlineExpressions(D))).transformFlags&&(v=h.createTempVariable(x),f=h.createArrowFunction(void 0,void 0,[],void 0,void 0,h.createBlock([p])),f=h.createAssignment(v,f),p=h.createExpressionStatement(h.createCallExpression(v,void 0,[]))),v=h.createBlock([p]),p=h.createClassStaticBlockDeclaration(v),D=void 0),(d||p)&&(v=void 0,m=QN(g,FJ),y=QN(g,jJ),v=vD(void 0,m),v=vD(v,y),v=vD(v,d),v=gD(v=vD(v,p),m||y?nD(g,function(e){return e!==m&&e!==y}):g),g=UB(h.createNodeArray(v),e.members)),{members:g,prologue:f}}function ye(e,t){if(e=TJ(e,j,IR),!(null!=_&&_.data&&16&_.data.facts))return e;var r=yO(t),n=!(!r||106===RB(r.expression).kind),r=MC(e?e.parameters:void 0,j,l),n=function(e,t,r){var n=TN(e,!1,!1),a=n;y||(a=nD(a,function(e){return e.initializer||bR(e.name)||yL(e)}));var i=_e(e),o=dD(a)||dD(i);if(!t&&!o)return RC(void 0,j,l);f();var s=!t&&r,c=0,u=[],o=[],r=h.createThis();(function(e,t,r){T&&dD(t)&&(t=Te().data.weakSetName,rA.assert(t,"weakSetName should be set in private identifier environment"),e.push(h.createExpressionStatement(function(e,t,r){return e.createCallExpression(e.createPropertyAccessExpression(r,"add"),void 0,[t])}(h,r,t))))})(o,i,r),t?(i=nD(n,function(e){return CA(EA(e),t)}),n=nD(a,function(e){return!CA(EA(e),t)}),ve(o,i,r),ve(o,n,r)):ve(o,a,r);if(null!=t&&t.body){c=h.copyPrologue(t.body.statements,u,!1,j);r=kN(t.body.statements,c);if(r.length)!function e(t,r,n,a,i,o,s){var c=a[i];var u=r[c];gD(t,SJ(r,j,XE,n,c-n));n=c+1;if(Zg(u)){var _=[];e(_,u.tryBlock.statements,0,a,i+1,o,s);var i=h.createNodeArray(_);UB(i,u.tryBlock.statements),t.push(h.updateTryStatement(u,h.updateBlock(u.tryBlock,_),TJ(u.catchClause,j,aB),TJ(u.finallyBlock,j,kj)))}else{for(gD(t,SJ(r,j,XE,c,1));n<r.length;){var l=r[n];if(!CA(EA(l),s))break;n++}gD(t,o)}gD(t,SJ(r,j,XE,n))}(u,t.body.statements,c,r,0,o,t);else{for(;c<t.body.statements.length;){if(!CA(EA(t.body.statements[c]),t))break;c++}gD(u,o),gD(u,SJ(t.body.statements,j,XE,c))}}else s&&u.push(h.createExpressionStatement(h.createCallExpression(h.createSuper(),void 0,[h.createSpreadElement(h.createIdentifier("arguments"))]))),gD(u,o);if(0===(u=h.mergeLexicalEnvironment(u,d())).length&&!t)return;var _=null!=t&&t.body&&t.body.statements.length>=u.length&&null!==(_=t.body.multiLine)&&void 0!==_?_:0<u.length;return UB(h.createBlock(UB(h.createNodeArray(u),t?t.body.statements:e.members),_),t?t.body:void 0)}(t,e,n);return n?e?(rA.assert(r),h.updateConstructorDeclaration(e,void 0,r,n)):sx(_R(UB(h.createConstructorDeclaration(void 0,null!=r?r:[],n),e||t),e)):e}function ve(e,t,r){var n,a;try{for(var i=__values(t),o=i.next();!o.done;o=i.next()){var s=o.value;lL(s)&&!T||(s=ge(s,r))&&e.push(s)}}catch(e){n={error:e}}finally{try{o&&!o.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}}function ge(e,t){var r=PR(e)?G(e,ie,e):he(e,t);if(r){var n=h.createExpressionStatement(r);_R(n,e),Cy(n,3072&p_(e)),dR(n,e);t=EA(e);return CR(t)?(Ey(n,t),wy(n)):Ey(n,kf(e)),fR(r,void 0),jy(r,void 0),yL(t)&&Cy(n,3072),n}}function he(e,t){var r,n=F,t=function(e,t){var r=!y;rd(e,oe)&&(e=VJ(l,e));var n=yL(e)?h.getGeneratedPrivateNameForNode(e.name):SR(e.name)&&!hN(e.name.expression)?h.updateComputedPropertyName(e.name,h.getGeneratedNameForNode(e.name)):e.name;dL(e)&&(F=e);if(bR(n)&&H(e)){var a=Ee(n);if(a)return"f"===a.kind?a.isStatic?function(e,t,r){return e.createAssignment(t,e.createObjectLiteralExpression([e.createPropertyAssignment("value",r||e.createVoidZero())]))}(h,a.variableName,TJ(e.initializer,j,jE)):function(e,t,r,n){return e.createCallExpression(e.createPropertyAccessExpression(n,"set"),void 0,[t,r||e.createVoidZero()])}(h,t,TJ(e.initializer,j,jE),a.brandCheckIdentifier):void 0;rA.fail("Undeclared private name for property declaration.")}if((bR(n)||dL(e))&&!e.initializer)return;var i=EA(e);if(_L(i,256))return;a=TJ(e.initializer,j,jE);CA(i,i.parent)&&xR(n)?(e=h.cloneNode(n),a=a?(uj(a)&&ax(a.expression)&&zv(a.expression.left,"___runInitializers")&&Eg(a.expression.right)&&gR(a.expression.right.expression)&&(a=a.expression.left),h.inlineExpressions([a,e])):e,lR(n,3168),Ey(e,i.name),lR(e,3072)):null!=a||(a=h.createVoidZero());{if(r||bR(n)){r=zh(h,t,n,n);return Cy(r,1024),h.createAssignment(r,a)}n=SR(n)?n.expression:xR(n)?h.createStringLiteral(OA(n.escapedText)):n,a=h.createPropertyDescriptor({value:a,configurable:!0,writable:!0,enumerable:!0});return h.createObjectDefinePropertyCall(t,n,a)}}(e,t);return t&&dL(e)&&null!=(r=null==_?void 0:_.data)&&r.facts&&(_R(t,e),Cy(t,4),Ey(t,Ay(e.name)),O.set(EA(e),_)),F=n,t}function xe(){0==(1&u)&&(u|=1,l.enableSubstitution(80),N=[])}function be(e){return aj(e)?h.updatePropertyAccessExpression(e,h.createVoidZero(),e.name):h.updateElementAccessExpression(e,h.createVoidZero(),TJ(e.argumentExpression,j,jE))}function ke(){var e;return rA.assert(_),null!==(e=_.data)&&void 0!==e?e:_.data={facts:0,classConstructor:void 0,classThis:void 0,superClassReference:void 0}}function Te(){var e;return rA.assert(_),null!==(e=_.privateEnv)&&void 0!==e?e:_.privateEnv=PN({className:void 0,weakSetName:void 0})}function Se(){return null!=D?D:D=[]}function we(e,t,r,n,a,i,o){var s,c,u,_,l,d,f,p,m,y,v,g,h,x,b,k;AE(e)?(y=r,v=n,g=a,h=i,b=Ae(m=t,"_get"),k=Ae(m,"_set"),y=g?rA.checkDefined(null!==(x=y.classThis)&&void 0!==x?x:y.classConstructor,"classConstructor should be set in private identifier environment"):rA.checkDefined(v.data.weakSetName,"weakSetName should be set in private identifier environment"),ON(v,m,{kind:"a",getterName:b,setterName:k,brandCheckIdentifier:y,isStatic:g,isValid:h})):AR(e)?Ce(0,t,r,n,a,i):FR(e)?(u=r,_=n,l=a,d=i,p=Ae(c=t),u=l?rA.checkDefined(null!==(f=u.classThis)&&void 0!==f?f:u.classConstructor,"classConstructor should be set in private identifier environment"):rA.checkDefined(_.data.weakSetName,"weakSetName should be set in private identifier environment"),ON(_,c,{kind:"m",methodName:p,brandCheckIdentifier:u,isStatic:l,isValid:d})):OR(e)?(f=r,_=n,c=a,p=i,u=o,s=Ae(l=t,"_get"),f=c?rA.checkDefined(null!==(d=f.classThis)&&void 0!==d?d:f.classConstructor,"classConstructor should be set in private identifier environment"):rA.checkDefined(_.data.weakSetName,"weakSetName should be set in private identifier environment"),"a"!==(null==u?void 0:u.kind)||u.isStatic!==c||u.getterName?ON(_,l,{kind:"a",getterName:s,setterName:void 0,brandCheckIdentifier:f,isStatic:c,isValid:p}):u.getterName=s):LR(e)&&(s=r,e=n,r=a,n=i,a=o,o=Ae(i=t,"_set"),s=r?rA.checkDefined(null!==(t=s.classThis)&&void 0!==t?t:s.classConstructor,"classConstructor should be set in private identifier environment"):rA.checkDefined(e.data.weakSetName,"weakSetName should be set in private identifier environment"),"a"!==(null==a?void 0:a.kind)||a.isStatic!==r||a.setterName?ON(e,i,{kind:"a",getterName:void 0,setterName:o,brandCheckIdentifier:s,isStatic:r,isValid:n}):a.setterName=o)}function Ce(e,t,r,n,a,i,o){a?ON(n,t,{kind:"f",isStatic:!0,brandCheckIdentifier:rA.checkDefined(null!==(a=r.classThis)&&void 0!==a?a:r.classConstructor,"classConstructor should be set in private identifier environment"),variableName:Ae(t),isValid:i}):(ON(n,t,{kind:"f",isStatic:!1,brandCheckIdentifier:t=Ae(t),isValid:i}),Se().push(h.createAssignment(t,h.createNewExpression(h.createIdentifier("WeakMap"),void 0,[]))))}function Ne(e,t,r){var n=ke(),a=Te(),i=IN(a,t);r(e,t,n,a,dL(e),!(!Ms(t=t)&&"#constructor"===t.escapedText)&&void 0===i,i)}function De(e,t,r){var n=Te().data.className,n=n?{prefix:"_",node:n,suffix:"_"}:"_",r="object"==typeof e?h.getGeneratedNameForNode(e,24,n,r):"string"==typeof e?h.createUniqueName(e,16,n,r):h.createTempVariable(void 0,!0,n,r);return(32768&m.getNodeCheckFlags(t)?p:x)(r),r}function Ae(e,t){var r=E_(e);return De(null!==(r=null==r?void 0:r.substring(1))&&void 0!==r?r:e,e,t)}function Ee(e){e=LN(_,e);return"untransformed"===(null==e?void 0:e.kind)?void 0:e}function Fe(e){if(nj(e)||rj(e))return Le(e);if(vE(e))return function(e){var t=h.getGeneratedNameForNode(e),r=Ee(e.name);if(!r)return wJ(e,j,l);var n=e.expression;return!qP(e)&&!VP(e)&&gN(e.expression)||(n=h.createTempVariable(x,!0),Se().push(h.createBinaryExpression(n,64,TJ(e.expression,j,jE)))),h.createAssignmentTargetWrapper(t,ue(r,n,t,64))}(e);if(C&&F&&VP(e)&&ez(F)&&null!=_&&_.data){var t=_.data,r=t.classConstructor,n=t.superClassReference;if(1&t.facts)return be(e);if(r&&n){var a=ij(e)?TJ(e.argumentExpression,j,jE):xR(e.name)?h.createStringLiteralFromNode(e.name):void 0;if(a){t=h.createTempVariable(void 0);return h.createAssignmentTargetWrapper(t,h.createReflectSetCall(n,a,t,r))}}}return wJ(e,j,l)}function Pe(e){if(rd(e,oe)&&(e=VJ(l,e)),NL(e,!0)){var t=Fe(e.left),r=TJ(e.right,j,jE);return h.updateBinaryExpression(e,t,e.operatorToken,r)}return Fe(e)}function Ie(e){if(nc(e)){if(yj(e))return function(e){if(RE(e.expression)){var t=Fe(e.expression);return h.updateSpreadElement(e,t)}return wJ(e,j,l)}(e);if(!gj(e))return Pe(e)}return wJ(e,j,l)}function Oe(e){return rA.assertNode(e,tc),sB(e)?function(e){if(RE(e.expression)){var t=Fe(e.expression);return h.updateSpreadAssignment(e,t)}return wJ(e,j,l)}(e):oB(e)?(rd(t=e,oe)&&(t=VJ(l,t)),wJ(t,j,l)):iB(e)?function(e){var t=TJ(e.name,j,xE);if(NL(e.initializer,!0)){var r=Pe(e.initializer);return h.updatePropertyAssignment(e,t,r)}if(RE(e.initializer)){r=Fe(e.initializer);return h.updatePropertyAssignment(e,t,r)}return wJ(e,j,l)}(e):wJ(e,j,l);var t}function Le(e){return rj(e)?h.updateArrayLiteralExpression(e,SJ(e.elements,Ie,jE)):h.updateObjectLiteralExpression(e,SJ(e.properties,Oe,EE))}}function ez(e){return PR(e)||AR(e=e)&&dL(e)}var tz=e({"src/compiler/transformers/classFields.ts":function(){MK()}});function rz(e){var o,s,c=e.factory,a=e.hoistVariableDeclaration,i=e.getEmitResolver(),e=e.getCompilerOptions(),r=rM(e),u=pM(e,"strictNullChecks");return{serializeTypeNode:function(e,t){return n(e,f,t)},serializeTypeOfNode:function(e,t){return n(e,_,t)},serializeParameterTypesOfNode:function(e,t,r){return n(e,l,t,r)},serializeReturnTypeOfNode:function(e,t){return n(e,d,t)}};function n(e,t,r,n){var a=o,i=s;o=e.currentLexicalScope,s=e.currentNameScope;n=void 0===n?t(r):t(r,n);return o=a,s=i,n}function _(e){switch(e.kind){case 172:case 169:return f(e.type);case 178:case 177:return f((t=e,(t=i.getAllAccessorDeclarations(t)).setAccessor&&Rd(t.setAccessor)||t.getAccessor&&aL(t.getAccessor)));case 263:case 231:case 174:return c.createIdentifier("Function");default:return c.createVoidZero()}var t}function l(e,t){var e=NE(e)?XO(e):bE(e)&&FF(e.body)?e:void 0,r=[];if(e)for(var n=function(e,t){if(t&&177===e.kind){t=rL(t.members,e).setAccessor;if(t)return t.parameters}return e.parameters}(e,t),a=n.length,i=0;i<a;i++){var o=n[i];0===i&&xR(o.name)&&"this"===o.name.escapedText||(o.dotDotDotToken?r.push(f(xP(o.type))):r.push(_(o)))}return c.createArrayLiteralExpression(r)}function d(e){return bE(e)&&e.type?f(e.type):TO(e)?c.createIdentifier("Promise"):c.createVoidZero()}function f(e){if(void 0===e)return c.createIdentifier("Object");switch((e=Ll(e)).kind){case 116:case 157:case 146:return c.createVoidZero();case 184:case 185:return c.createIdentifier("Function");case 188:case 189:return c.createIdentifier("Array");case 182:return e.assertsModifier?c.createVoidZero():c.createIdentifier("Boolean");case 136:return c.createIdentifier("Boolean");case 203:case 154:return c.createIdentifier("String");case 151:return c.createIdentifier("Object");case 201:return function e(t){switch(t.kind){case 11:case 15:return c.createIdentifier("String");case 224:var r=t.operand;switch(r.kind){case 9:case 10:return e(r);default:return rA.failBadSyntaxKind(r)}case 9:return c.createIdentifier("Number");case 10:return y("BigInt",7);case 112:case 97:return c.createIdentifier("Boolean");case 106:return c.createVoidZero();default:return rA.failBadSyntaxKind(t)}}(e.literal);case 150:return c.createIdentifier("Number");case 163:return y("BigInt",7);case 155:return y("Symbol",2);case 183:return function(e){var t=i.getTypeReferenceSerializationKind(e.typeName,null!=s?s:o);switch(t){case 0:if(FA(e,function(e){return e.parent&&kg(e.parent)&&(e.parent.trueType===e||e.parent.falseType===e)}))return c.createIdentifier("Object");var r=function e(t){if(80===t.kind){var r=m(t);return p(r,r)}if(80===t.left.kind)return p(m(t.left),m(t));var n=e(t.left);var r=c.createTempVariable(a);return c.createLogicalAnd(c.createLogicalAnd(n.left,c.createStrictInequality(c.createAssignment(r,n.right),c.createVoidZero())),c.createPropertyAccessExpression(r,t.right))}(e.typeName),n=c.createTempVariable(a);return c.createConditionalExpression(c.createTypeCheck(c.createAssignment(n,r),"function"),void 0,n,void 0,c.createIdentifier("Object"));case 1:return m(e.typeName);case 2:return c.createVoidZero();case 4:return y("BigInt",7);case 6:return c.createIdentifier("Boolean");case 3:return c.createIdentifier("Number");case 5:return c.createIdentifier("String");case 7:return c.createIdentifier("Array");case 8:return y("Symbol",2);case 10:return c.createIdentifier("Function");case 9:return c.createIdentifier("Promise");case 11:return c.createIdentifier("Object");default:return rA.assertNever(t)}}(e);case 193:return t(e.types,!0);case 192:return t(e.types,!1);case 194:return t([e.trueType,e.falseType],!1);case 198:if(148===e.operator)return f(e.type);break;case 186:case 199:case 200:case 187:case 133:case 159:case 197:case 205:break;case 319:case 320:case 324:case 325:case 326:break;case 321:case 322:case 323:return f(e.type);default:return rA.failBadSyntaxKind(e)}return c.createIdentifier("Object")}function t(e,t){var r,n,a;try{for(var i=__values(e),o=i.next();!o.done;o=i.next()){var s=o.value;if(146!==(s=Ll(s)).kind){if(159!==s.kind){if(133===s.kind)return c.createIdentifier("Object");if(u||!(YR(s)&&106===s.literal.kind||157===s.kind)){s=f(s);if(xR(s)&&"Object"===s.escapedText)return s;if(a){if(!function e(t,r){return mE(t)?mE(r):xR(t)?xR(r)&&t.escapedText===r.escapedText:aj(t)?aj(r)&&e(t.expression,r.expression)&&e(t.name,r.name):Eg(t)?Eg(r)&&gR(t.expression)&&"0"===t.expression.text&&gR(r.expression)&&"0"===r.expression.text:hR(t)?hR(r)&&t.text===r.text:dj(t)?dj(r)&&e(t.expression,r.expression):uj(t)?uj(r)&&e(t.expression,r.expression):Pg(t)?Pg(r)&&e(t.condition,r.condition)&&e(t.whenTrue,r.whenTrue)&&e(t.whenFalse,r.whenFalse):!!mj(t)&&(mj(r)&&t.operatorToken.kind===r.operatorToken.kind&&e(t.left,r.left)&&e(t.right,r.right))}(a,s))return c.createIdentifier("Object")}else a=s}}else if(!t)return c.createIdentifier("Object")}else if(t)return c.createVoidZero()}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return null!=a?a:c.createVoidZero()}function p(e,t){return c.createLogicalAnd(c.createStrictInequality(c.createTypeOfExpression(e),c.createStringLiteral("undefined")),t)}function m(e){switch(e.kind){case 80:var t=jM(UB(WB.cloneNode(e),e),e.parent);return t.original=void 0,jM(t,PA(o)),t;case 166:return t=e,c.createPropertyAccessExpression(m(t.left),t.right)}}function y(e,t){return r<t?(t=e,c.createConditionalExpression(c.createTypeCheck(c.createIdentifier(t),"function"),void 0,c.createIdentifier(t),void 0,c.createIdentifier("Object"))):c.createIdentifier(e)}}var nz=e({"src/compiler/transformers/typeSerializer.ts":function(){MK()}});function az(d){var f,p=d.factory,m=d.getEmitHelperFactory,y=d.hoistVariableDeclaration,v=d.getEmitResolver(),g=rM(d.getCompilerOptions()),r=d.onSubstituteNode;return d.onSubstituteNode=function(e,t){return t=r(e,t),1!==e?t:function(e){if(80===e.kind)return function(e){var t;return null!==(t=function(e){if(f&&536870912&v.getNodeCheckFlags(e)){var t=v.getReferencedValueDeclaration(e);if(t){t=f[t.id];if(t){t=p.cloneNode(t);return Ey(t,e),dR(t,e),t}}}return}(e))&&void 0!==t?t:e}(e);return e}(t)},dN(d,function(e){e=wJ(e,h,d);return qy(e,d.readEmitHelpers()),e});function s(e){return NR(e)?void 0:e}function h(e){if(!(33554432&e.transformFlags))return e;switch(e.kind){case 170:return;case 263:return QP(!0,n=e)||ol(!0,n)?Ee((QP(!0,n)?function(e,t){var r=_L(e,1),n=_L(e,1024),a=SJ(e.modifiers,function(e){return Ox(e)||NR(e)?void 0:e},Hs),i=kf(e),o=function(e){if(262144&v.getNodeCheckFlags(e)){f||(d.enableSubstitution(80),f=[]);var t=p.createUniqueName(e.name&&!mE(e.name)?LA(e.name):"default");return f[_N(e)]=t,y(t),t}}(e),s=g<2?p.getInternalName(e,!1,!0):p.getLocalName(e,!1,!0),c=SJ(e.heritageClauses,h,nB),u=SJ(e.members,h,CE),_=[];l=x(e,u),u=l.members,_=l.decorationStatements;var l=9<=g&&!!o&&dD(u,function(e){return AR(e)&&_L(e,32)||PR(e)});l&&(u=UB(p.createNodeArray(__spreadArray([p.createClassStaticBlockDeclaration(p.createBlock([p.createExpressionStatement(p.createAssignment(o,p.createThis()))]))],__read(u),!1)),u));u=p.createClassExpression(a,t&&mE(t)?void 0:t,void 0,c,u);_R(u,e),UB(u,i);u=o&&!l?p.createAssignment(o,u):u,u=p.createVariableDeclaration(s,void 0,void 0,u);_R(u,e);u=p.createVariableDeclarationList([u],1),u=p.createVariableStatement(void 0,u);_R(u,e),UB(u,i),dR(u,e);u=[u];gD(u,_),function(e,t){var r=function(e){var t=b(DN(e));if(!t)return;var r=f&&f[_N(e)],n=g<2?p.getInternalName(e,!1,!0):p.getDeclarationName(e,!1,!0),t=m().createDecorateHelper(t,n),t=p.createAssignment(n,r?p.createAssignment(r,t):t);return lR(t,3072),Ey(t,kf(e)),t}(t);r&&e.push(_R(p.createExpressionStatement(r),t))}(u,e),r&&(e=n?p.createExportDefault(s):p.createExternalModuleExport(p.getDeclarationName(e)),u.push(e));return u}:function(e,t){var r,n=SJ(e.modifiers,s,gE),a=SJ(e.heritageClauses,h,nB),i=SJ(e.members,h,CE),o=[];return r=x(e,i),i=r.members,o=r.decorationStatements,gD([p.updateClassDeclaration(e,n,t,void 0,a,i)],o)})(n,n.name)):wJ(n,h,d);case 231:return n=e,p.updateClassExpression(n,SJ(n.modifiers,s,gE),n.name,void 0,SJ(n.heritageClauses,h,nB),SJ(n.members,h,CE));case 176:return r=e,p.updateConstructorDeclaration(r,SJ(r.modifiers,s,gE),SJ(r.parameters,h,CR),TJ(r.body,h,kj));case 174:return r=e,a(p.updateMethodDeclaration(r,SJ(r.modifiers,s,gE),r.asteriskToken,rA.checkDefined(TJ(r.name,h,xE)),void 0,void 0,SJ(r.parameters,h,CR),void 0,TJ(r.body,h,kj)),r);case 178:return t=e,a(p.updateSetAccessorDeclaration(t,SJ(t.modifiers,s,gE),rA.checkDefined(TJ(t.name,h,xE)),SJ(t.parameters,h,CR),TJ(t.body,h,kj)),t);case 177:return t=e,a(p.updateGetAccessorDeclaration(t,SJ(t.modifiers,s,gE),rA.checkDefined(TJ(t.name,h,xE)),SJ(t.parameters,h,CR),void 0,TJ(t.body,h,kj)),t);case 172:return function(e){if(33554432&e.flags||_L(e,2))return;return a(p.updatePropertyDeclaration(e,SJ(e.modifiers,s,gE),rA.checkDefined(TJ(e.name,h,xE)),void 0,void 0,TJ(e.initializer,h,jE)),e)}(e);case 169:return function(e){var t=p.updateParameterDeclaration(e,Mx(p,e.modifiers),e.dotDotDotToken,rA.checkDefined(TJ(e.name,h,zs)),void 0,void 0,TJ(e.initializer,h,jE));t!==e&&(dR(t,e),UB(t,kf(e)),Ey(t,kf(e)),lR(t.name,64));return t}(e);default:return wJ(e,h,d)}var t,r,n}function o(e){return!!(536870912&e.transformFlags)}function c(e){return dD(e,o)}function x(e,t){var r=[];return n(r,e,!1),n(r,e,!0),function(e){var t,r;try{for(var n=__values(e.members),a=n.next();!a.done;a=n.next()){var i=a.value;if(qB(i)){i=AN(i,e,!0);if(dD(null==i?void 0:i.decorators,o))return 1;if(dD(null==i?void 0:i.parameters,c))return 1}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}(e)&&(t=UB(p.createNodeArray(__spreadArray(__spreadArray([],__read(t),!1),[p.createClassStaticBlockDeclaration(p.createBlock(r,!0))],!1)),t),r=void 0),{decorationStatements:r,members:t}}function a(e,t){return e!==t&&(dR(e,t),Ey(e,kf(t))),e}function i(e){return zv(e.expression,"___metadata")}function b(e){if(e){var t=X(e.decorators,i),r=t.false,n=t.true,t=[];return gD(t,iD(r,u)),gD(t,cD(e.parameters,_)),gD(t,iD(n,u)),t}}function n(e,t,r){gD(e,iD(function(e,t){var r,n,a,i=function(r,n){return nD(r.members,function(e){return t=n,il(!0,e=e,r)&&t===lL(e);var t})}(e,t);try{for(var o=__values(i),s=o.next();!s.done;s=o.next()){var c=s.value;a=vD(a,function(e,t){var r=b(AN(t,e,!0));if(!r)return;var n=function(e,t){return lL(t)?p.getDeclarationName(e):function(e){return p.createPropertyAccessExpression(p.getDeclarationName(e),"prototype")}(e)}(e,t),a=function(e,t){e=e.name;return bR(e)?p.createIdentifier(""):SR(e)?t&&!hN(e.expression)?p.getGeneratedNameForNode(e):e.expression:xR(e)?p.createStringLiteral(LA(e)):p.cloneNode(e)}(t,!_L(t,2)),e=0<g?AR(t)&&!yL(t)?p.createVoidZero():p.createNull():void 0,e=m().createDecorateHelper(r,n,a,e);return lR(e,3072),Ey(e,kf(t)),e}(e,c))}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a}(t,r),function(e){return p.createExpressionStatement(e)}))}function u(e){return rA.checkDefined(TJ(e.expression,h,jE))}function _(e,t){var r,n,a;if(e){a=[];try{for(var i=__values(e),o=i.next();!o.done;o=i.next()){var s=o.value,c=m().createParamHelper(u(s),t);UB(c,s.expression),lR(c,3072),a.push(c)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}return a}}var iz=e({"src/compiler/transformers/legacyDecorators.ts":function(){MK()}});function oz(P){var n,d,s,c,I,O,L=P.factory,M=P.getEmitHelperFactory,R=P.startLexicalEnvironment,j=P.endLexicalEnvironment,k=P.hoistVariableDeclaration,a=rM(P.getCompilerOptions());return dN(P,function(e){n=void 0,O=!1;e=wJ(e,z,P);qy(e,P.readEmitHelpers()),O&&(Dy(e,32),O=!1);return e});function i(){switch(c=s=d=void 0,null==n?void 0:n.kind){case"class":d=n.classInfo;break;case"class-element":d=n.next.classInfo,s=n.classThis,c=n.classSuper;break;case"name":var e=n.next.next.next;"class-element"===(null==e?void 0:e.kind)&&(d=e.next.classInfo,s=e.classThis,c=e.classSuper)}}function B(e){n={kind:"class",next:n,classInfo:e,savedPendingExpressions:I},I=void 0,i()}function J(){rA.assert("class"===(null==n?void 0:n.kind),"Incorrect value for top.kind.",function(){return"Expected top.kind to be 'class' but got '".concat(null==n?void 0:n.kind,"' instead.")}),I=n.savedPendingExpressions,n=n.next,i()}function f(e){rA.assert("class"===(null==n?void 0:n.kind),"Incorrect value for top.kind.",function(){return"Expected top.kind to be 'class' but got '".concat(null==n?void 0:n.kind,"' instead.")}),n={kind:"class-element",next:n},(PR(e)||AR(e)&&dL(e))&&(n.classThis=null==(e=n.next.classInfo)?void 0:e.classThis,n.classSuper=null==(e=n.next.classInfo)?void 0:e.classSuper),i()}function p(){var e;rA.assert("class-element"===(null==n?void 0:n.kind),"Incorrect value for top.kind.",function(){return"Expected top.kind to be 'class-element' but got '".concat(null==n?void 0:n.kind,"' instead.")}),rA.assert("class"===(null==(e=n.next)?void 0:e.kind),"Incorrect value for top.next.kind.",function(){var e;return"Expected top.next.kind to be 'class' but got '".concat(null==(e=n.next)?void 0:e.kind,"' instead.")}),n=n.next,i()}function T(){rA.assert("class-element"===(null==n?void 0:n.kind),"Incorrect value for top.kind.",function(){return"Expected top.kind to be 'class-element' but got '".concat(null==n?void 0:n.kind,"' instead.")}),n={kind:"name",next:n},i()}function S(){rA.assert("name"===(null==n?void 0:n.kind),"Incorrect value for top.kind.",function(){return"Expected top.kind to be 'name' but got '".concat(null==n?void 0:n.kind,"' instead.")}),n=n.next,i()}function z(e){if(!(33554432&(t=e).transformFlags||s&&16384&t.transformFlags||s&&c&&134217728&t.transformFlags))return e;var t;switch(e.kind){case 170:return rA.fail("Use `modifierVisitor` instead.");case 263:return function(e){{if(m(e)){var t,r,n,a,i=[],o=null!==(c=EA(e,NE))&&void 0!==c?c:e,s=o.name?L.createStringLiteralFromNode(o.name):L.createStringLiteral("default"),c=_L(e,1),o=_L(e,1024);return e.name||(e=zJ(P,e,s)),c&&o?(t=l(e),e.name?(_R(r=L.createVariableDeclaration(L.getLocalName(e),void 0,void 0,t),e),n=L.createVariableDeclarationList([r],1),a=L.createVariableStatement(void 0,n),i.push(a),_R(_=L.createExportDefault(L.getDeclarationName(e)),e)):_R(_=L.createExportDefault(t),e),dR(_,Ly(e)),Ey(_,bf(e)),i.push(_)):(rA.assertIsDefined(e.name,"A class declaration that is not a default export must have a name."),t=l(e),o=c?function(e){return og(e)?void 0:w(e)}:w,u=SJ(e.modifiers,o,gE),o=L.getLocalName(e,!1,!0),_R(r=L.createVariableDeclaration(o,void 0,void 0,t),e),n=L.createVariableDeclarationList([r],1),_R(a=L.createVariableStatement(u,n),e),dR(a,Ly(e)),i.push(a),c&&(_R(_=L.createExternalModuleExport(o),e),i.push(_))),Ee(i)}var u=SJ(e.modifiers,w,gE),_=SJ(e.heritageClauses,z,nB);B(void 0);i=SJ(e.members,U,CE);return J(),L.updateClassDeclaration(e,u,e.name,void 0,_,i)}}(e);case 231:return function(e){{if(m(e)){var t=l(e);return _R(t,e),t}var r=SJ(e.modifiers,w,gE),n=SJ(e.heritageClauses,z,nB);B(void 0);t=SJ(e.members,U,CE);return J(),L.updateClassExpression(e,r,e.name,void 0,n,t)}}(e);case 176:case 172:case 175:return rA.fail("Not supported outside of a class. Use 'classElementVisitor' instead.");case 169:return function(e){rd(e,g)&&(e=VJ(P,e,h(e.initializer)));var t=L.updateParameterDeclaration(e,void 0,e.dotDotDotToken,TJ(e.name,z,zs),void 0,void 0,TJ(e.initializer,z,jE));t!==e&&(dR(t,e),UB(t,kf(e)),Ey(t,kf(e)),lR(t.name,64));return t}(e);case 226:return _(e,!1);case 303:return function(e){rd(e,g)&&(e=VJ(P,e,h(e.initializer)));return wJ(e,z,P)}(e);case 260:return function(e){rd(e,g)&&(e=VJ(P,e,h(e.initializer)));return wJ(e,z,P)}(e);case 208:return function(e){rd(e,g)&&(e=VJ(P,e,h(e.initializer)));return wJ(e,z,P)}(e);case 277:return function(e){rd(e,g)&&(e=VJ(P,e,h(e.expression)));return wJ(e,z,P)}(e);case 110:return null!=s?s:e;case 248:return r=e,L.updateForStatement(r,TJ(r.initializer,u,mc),TJ(r.condition,z,jE),TJ(r.incrementor,u,jE),jC(r.statement,z,P));case 244:return wJ(e,u,P);case 361:return b(e,!1);case 217:return H(e,!1);case 360:return function(e,t){t=t?u:z,t=TJ(e.expression,t,jE);return L.updatePartiallyEmittedExpression(e,t)}(e,!1);case 213:return function(e){if(VP(e.expression)&&s){var t=TJ(e.expression,z,jE),r=SJ(e.arguments,z,jE),r=L.createFunctionCallCall(t,s,r);return _R(r,e),UB(r,e),r}return wJ(e,z,P)}(e);case 215:return function(e){if(VP(e.tag)&&s){var t=TJ(e.tag,z,jE),r=L.createFunctionBindCall(t,s,[]);_R(r,e),UB(r,e);t=TJ(e.template,z,ic);return L.updateTaggedTemplateExpression(e,r,void 0,t)}return wJ(e,z,P)}(e);case 224:case 225:return x(e,!1);case 211:return function(e){if(VP(e)&&xR(e.name)&&s&&c){var t=L.createStringLiteralFromNode(e.name),t=L.createReflectGetCall(c,t,s);return _R(t,e.expression),UB(t,e.expression),t}return wJ(e,z,P)}(e);case 212:return function(e){if(VP(e)&&s&&c){var t=TJ(e.argumentExpression,z,jE),t=L.createReflectGetCall(c,t,s);return _R(t,e.expression),UB(t,e.expression),t}return wJ(e,z,P)}(e);case 167:return D(e);case 174:case 178:case 177:case 218:case 262:"other"===(null==n?void 0:n.kind)?(rA.assert(!I),n.depth++):(n={kind:"other",next:n,depth:0,savedPendingExpressions:I},I=void 0,i());var r=wJ(e,o,P);return rA.assert("other"===(null==n?void 0:n.kind),"Incorrect value for top.kind.",function(){return"Expected top.kind to be 'other' but got '".concat(null==n?void 0:n.kind,"' instead.")}),0<n.depth?(rA.assert(!I),n.depth--):(I=n.savedPendingExpressions,n=n.next,i()),r;default:return wJ(e,o,P)}}function o(e){return 170!==e.kind?z(e):void 0}function w(e){return 170!==e.kind?e:void 0}function U(e){switch(e.kind){case 176:return function(e){f(e);var t=SJ(e.modifiers,w,gE),r=SJ(e.parameters,z,CR);{var n,a,i,o;e.body&&d&&((n=q(d.class,d))&&(a=[],i=L.copyPrologue(e.body.statements,a,!1,z),0<(o=kN(e.body.statements,i)).length?function e(t,r,n,a,i,o){var s=a[i];var c=r[s];gD(t,SJ(r,z,XE,n,s-n));Zg(c)?(e(n=[],c.tryBlock.statements,0,a,i+1,o),UB(L.createNodeArray(n),c.tryBlock.statements),t.push(L.updateTryStatement(c,L.updateBlock(c.tryBlock,n),TJ(c.catchClause,z,aB),TJ(c.finallyBlock,z,kj)))):(gD(t,SJ(r,z,XE,s,1)),gD(t,o));gD(t,SJ(r,z,XE,s+1))}(a,e.body.statements,i,o,0,n):(gD(a,n),gD(a,SJ(e.body.statements,z,XE))),_R(a=L.createBlock(a,!0),e.body),UB(a,e.body)))}return null!=a||(a=TJ(e.body,z,kj)),p(),L.updateConstructorDeclaration(e,t,r,a)}(e);case 174:return function(e){f(e);var t=v(e,d,Y),r=t.modifiers,n=t.name,a=t.descriptorName;{if(a)return p(),y(function(e,t,r){return e=SJ(e,function(e){return dg(e)?e:void 0},gE),L.createGetAccessorDeclaration(e,t,[],void 0,L.createBlock([L.createReturnStatement(L.createPropertyAccessExpression(r,L.createIdentifier("value")))]))}(r,n,a),e);t=SJ(e.parameters,z,CR),a=TJ(e.body,z,kj);return p(),y(L.updateMethodDeclaration(e,r,e.asteriskToken,n,void 0,void 0,t,void 0,a),e)}}(e);case 177:return function(e){f(e);var t=v(e,d,Z),r=t.modifiers,n=t.name,a=t.descriptorName;{if(a)return p(),y(te(r,n,a),e);t=SJ(e.parameters,z,CR),a=TJ(e.body,z,kj);return p(),y(L.updateGetAccessorDeclaration(e,r,n,t,void 0,a),e)}}(e);case 178:return function(e){f(e);var t=v(e,d,$),r=t.modifiers,n=t.name,a=t.descriptorName;{if(a)return p(),y(re(r,n,a),e);t=SJ(e.parameters,z,CR),a=TJ(e.body,z,kj);return p(),y(L.updateSetAccessorDeclaration(e,r,n,t,a),e)}}(e);case 172:return function(e){rd(e,g)&&(e=VJ(P,e,h(e.initializer)));f(e),rA.assert(!T_(e),"Not yet implemented.");var t=v(e,d,yL(e)?ee:void 0),r=t.modifiers,n=t.name,a=t.initializersName,i=t.descriptorName,o=t.thisArg;R();var s=TJ(e.initializer,z,jE);a&&(s=M().createRunInitializersHelper(null!=o?o:L.createThis(),a,null!=s?s:L.createVoidZero()));lL(e)||null==d||!d.instanceExtraInitializersName||null!=d&&d.hasInjectedInstanceInitializers||(d.hasInjectedInstanceInitializers=!0,null!=s||(s=L.createVoidZero()),s=L.createParenthesizedExpression(L.createComma(M().createRunInitializersHelper(L.createThis(),d.instanceExtraInitializersName),s)));lL(e)&&d&&s&&(d.hasStaticInitializers=!0);var c=j();dD(c)&&(s=L.createImmediatelyInvokedArrowFunction(__spreadArray(__spreadArray([],__read(c),!1),[L.createReturnStatement(s)],!1)));if(p(),yL(e)&&i){var u=Ly(e),_=Ay(e),t=e.name,o=t,a=t;SR(t)&&!hN(t.expression)&&(c=qx(t),a=c?(o=L.updateComputedPropertyName(t,TJ(t.expression,z,jE)),L.updateComputedPropertyName(t,c.left)):(Ey(l=L.createTempVariable(k),t.expression),c=TJ(t.expression,z,jE),Ey(c=L.createAssignment(l,c),t.expression),o=L.updateComputedPropertyName(t,c),L.updateComputedPropertyName(t,l)));var t=SJ(r,function(e){return 129!==e.kind?e:void 0},gE),l=zx(L,e,t,s);_R(l,e),lR(l,3072),Ey(l,_),Ey(l.name,e.name);o=te(t,o,i);_R(o,e),dR(o,u),Ey(o,_);i=re(t,a,i);return _R(i,e),lR(i,3072),Ey(i,_),[l,o,i]}return y(L.updatePropertyDeclaration(e,r,n,void 0,void 0,s),e)}(e);case 175:return function(e){var t;{var r;f(e),jJ(e)?t=wJ(e,z,P):FJ(e)?(r=s,s=void 0,t=wJ(e,z,P),s=r):(d&&(d.hasStaticInitializers=!0),t=wJ(e,z,P))}return p(),t}(e);default:return z(e)}}function u(e){switch(e.kind){case 224:case 225:return x(e,!0);case 226:return _(e,!0);case 361:return b(e,!0);case 217:return H(e,!0);default:return z(e)}}function C(e,t){return L.createUniqueName("".concat((e=(r=e).name&&xR(r.name)&&!mE(r.name)?LA(r.name):r.name&&bR(r.name)&&!mE(r.name)?LA(r.name).slice(1):r.name&&hR(r.name)&&bA(r.name.text,99)?r.name.text:NE(r)?"class":"member",eF(r)&&(e="get_".concat(e)),$E(r)&&(e="set_".concat(e)),r.name&&bR(r.name)&&(e="private_".concat(e)),lL(r)&&(e="static_".concat(e)),"_"+e),"_").concat(t),24);var r}function V(e,t){return L.createVariableStatement(void 0,L.createVariableDeclarationList([L.createVariableDeclaration(e,void 0,void 0,t)],1))}function l(e){var t,r,n,a;R(),!JJ(e)&&QP(!1,e)&&(e=zJ(P,e,L.createStringLiteral("")));var i=L.getLocalName(e,!1,!1,!0),o=function(e){var t,r,n,a,i=L.createUniqueName("_metadata",48),o=!1,s=!1,c=!1;try{for(var u=__values(e.members),_=u.next();!_.done;_=u.next()){var l=_.value;if(Ws(l)&&il(!1,l,e)&&(dL(l)?null!=a||(a=L.createUniqueName("_staticExtraInitializers",48)):null!=n||(n=L.createUniqueName("_instanceExtraInitializers",48))),PR(l)?jJ(l)||(o=!0):AR(l)&&(dL(l)?o=o||(!!l.initializer||gL(l)):s=s||!T_(l)),(yE(l)||AE(l))&&dL(l)&&(c=!0),a&&n&&o&&s&&c)break}}catch(e){t={error:e}}finally{try{_&&!_.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}return{class:e,metadataReference:i,instanceExtraInitializersName:n,staticExtraInitializersName:a,hasStaticInitializers:o,hasNonAmbientInstanceFields:s,hasStaticPrivateClassElements:c}}(e),s=[],c=!1,u=G(DN(e));u&&(o.classDecoratorsName=L.createUniqueName("_classDecorators",48),o.classDescriptorName=L.createUniqueName("_classDescriptor",48),o.classExtraInitializersName=L.createUniqueName("_classExtraInitializers",48),f=dD(e.members,function(e){return(yE(e)||AE(e))&&dL(e)}),o.classThis=L.createUniqueName("_classThis",f?24:48),s.push(V(o.classDecoratorsName,L.createArrayLiteralExpression(u)),V(o.classDescriptorName),V(o.classExtraInitializersName,L.createArrayLiteralExpression()),V(o.classThis)),o.hasStaticPrivateClassElements&&(O=c=!0));var _,l=Jl(e.heritageClauses,96),d=l&&kD(l.types),f=d&&TJ(d.expression,z,jE);f&&(o.classSuper=L.createUniqueName("_classSuper",48),_=vj(m=RB(f))&&!m.name||_j(m)&&!m.name||lj(m)?L.createComma(L.createNumericLiteral(0),f):f,s.push(V(o.classSuper,_)),h=L.updateExpressionWithTypeArguments(d,o.classSuper,void 0),m=L.updateHeritageClause(l,[h]),_=L.createNodeArray([m]));l=null!==(d=o.classThis)&&void 0!==d?d:L.createThis();B(o),T=vD(T,function(e,t){t=L.createVariableDeclaration(e,void 0,void 0,L.createConditionalExpression(L.createLogicalAnd(L.createTypeCheck(L.createIdentifier("Symbol"),"function"),L.createPropertyAccessExpression(L.createIdentifier("Symbol"),"metadata")),L.createToken(58),L.createCallExpression(L.createPropertyAccessExpression(L.createIdentifier("Object"),"create"),void 0,[t?function(e){return L.createBinaryExpression(L.createElementAccessExpression(e,L.createPropertyAccessExpression(L.createIdentifier("Symbol"),"metadata")),61,L.createNull())}(t):L.createNull()]),L.createToken(59),L.createVoidZero()));return L.createVariableStatement(void 0,L.createVariableDeclarationList([t],2))}(o.metadataReference,o.classSuper));var p,m,y,v,g,h=SJ(e.members,U,CE);if(I){try{for(var x=__values(I),b=x.next();!b.done;b=x.next())var k=TJ(k=b.value,function e(t){return 16384&t.transformFlags?110!==t.kind?wJ(t,e,P):(p||(p=L.createUniqueName("_outerThis",16),s.unshift(V(p,L.createThis()))),p):t},jE),T=vD(T,L.createExpressionStatement(k))}catch(e){t={error:e}}finally{try{b&&!b.done&&(r=x.return)&&r.call(x)}finally{if(t)throw t.error}}I=void 0}J(),!o.instanceExtraInitializersName||XO(e)||(m=q(0,o))&&(y=[],(d=yO(e))&&106!==RB(d.expression).kind&&(d=L.createSpreadElement(L.createIdentifier("arguments")),d=L.createCallExpression(L.createSuper(),void 0,[d]),y.push(L.createExpressionStatement(d))),gD(y,m),y=L.createBlock(y,!0),y=L.createConstructorDeclaration(void 0,[],y)),o.staticExtraInitializersName&&s.push(V(o.staticExtraInitializersName,L.createArrayLiteralExpression())),o.instanceExtraInitializersName&&s.push(V(o.instanceExtraInitializersName,L.createArrayLiteralExpression())),o.memberInfos&&hF(o.memberInfos,function(e,t){lL(t)&&(s.push(V(e.memberDecoratorsName)),e.memberInitializersName&&s.push(V(e.memberInitializersName,L.createArrayLiteralExpression())),e.memberDescriptorName&&s.push(V(e.memberDescriptorName)))}),o.memberInfos&&hF(o.memberInfos,function(e,t){lL(t)||(s.push(V(e.memberDecoratorsName)),e.memberInitializersName&&s.push(V(e.memberInitializersName,L.createArrayLiteralExpression())),e.memberDescriptorName&&s.push(V(e.memberDescriptorName)))}),T=gD(T,o.staticNonFieldDecorationStatements),T=gD(T,o.nonStaticNonFieldDecorationStatements),T=gD(T,o.staticFieldDecorationStatements),T=gD(T,o.nonStaticFieldDecorationStatements),o.classDescriptorName&&o.classDecoratorsName&&o.classExtraInitializersName&&o.classThis&&(null!=T||(T=[]),g=L.createPropertyAssignment("value",l),v=L.createObjectLiteralExpression([g]),g=L.createAssignment(o.classDescriptorName,v),v=L.createPropertyAccessExpression(l,"name"),g=M().createESDecorateHelper(L.createNull(),g,o.classDecoratorsName,{kind:"class",name:v,metadata:o.metadataReference},L.createNull(),o.classExtraInitializersName),Ey(v=L.createExpressionStatement(g),bf(e)),T.push(v),g=L.createPropertyAccessExpression(o.classDescriptorName,"value"),v=L.createAssignment(o.classThis,g),g=L.createAssignment(i,v),T.push(L.createExpressionStatement(g))),T.push(function(e,t){e=L.createObjectDefinePropertyCall(e,L.createPropertyAccessExpression(L.createIdentifier("Symbol"),"metadata"),L.createPropertyDescriptor({configurable:!0,writable:!0,enumerable:!0,value:t},!0));return lR(L.createIfStatement(t,L.createExpressionStatement(e)),1)}(l,o.metadataReference)),o.staticExtraInitializersName&&(v=M().createRunInitializersHelper(l,o.staticExtraInitializersName),Ey(g=L.createExpressionStatement(v),null!==(v=e.name)&&void 0!==v?v:bf(e)),T=vD(T,g)),o.classExtraInitializersName&&(S=M().createRunInitializersHelper(l,o.classExtraInitializersName),Ey(C=L.createExpressionStatement(S),null!==(S=e.name)&&void 0!==S?S:bf(e)),w=vD(w,C)),T&&w&&!o.hasStaticInitializers&&(gD(T,w),w=void 0);var S=T&&L.createClassStaticBlockDeclaration(L.createBlock(T,!0));S&&c&&Ny(S,32);var w,C=w&&L.createClassStaticBlockDeclaration(L.createBlock(w,!0));(S||y||C)&&(D=[],w=h.findIndex(jJ),S?(gD(D,h,0,w+1),D.push(S),gD(D,h,w+1)):gD(D,h),y&&D.push(y),C&&D.push(C),h=UB(L.createNodeArray(D),h));var N,D=j();if(u?(N=L.createClassExpression(void 0,void 0,void 0,_,h),o.classThis&&(N=IJ(L,N,o.classThis)),u=L.createVariableDeclaration(i,void 0,void 0,N),u=L.createVariableDeclarationList([u]),i=o.classThis?L.createAssignment(i,o.classThis):i,s.push(L.createVariableStatement(void 0,u),L.createReturnStatement(i))):(N=L.createClassExpression(void 0,e.name,void 0,_,h),s.push(L.createReturnStatement(N))),c){Dy(N,32);try{for(var A=__values(N.members),E=A.next();!E.done;E=A.next()){var F=E.value;(yE(F)||AE(F))&&dL(F)&&Dy(F,32)}}catch(e){n={error:e}}finally{try{E&&!E.done&&(a=A.return)&&a.call(A)}finally{if(n)throw n.error}}}return _R(N,e),L.createImmediatelyInvokedArrowFunction(L.mergeLexicalEnvironment(s,D))}function m(e){return QP(!1,e)||ol(!1,e)}function q(e,t){if(t.instanceExtraInitializersName&&!t.hasNonAmbientInstanceFields){var r=[];return r.push(L.createExpressionStatement(M().createRunInitializersHelper(L.createThis(),t.instanceExtraInitializersName))),r}}function y(e,t){return e!==t&&(dR(e,t),Ey(e,bf(t))),e}function v(e,t,r){var n,a,i,o,s,c;if(!t){var u=SJ(e.modifiers,w,gE);return T(),i=N(e.name),S(),{modifiers:u,referencedName:a,name:i,initializersName:o,descriptorName:c,thisArg:s}}var _,l,d,f,p,m,y,v,g,h,x=G(AN(e,t.class,!1)),b=SJ(e.modifiers,w,gE);return x&&(_=C(e,"decorators"),l=L.createArrayLiteralExpression(x),u=L.createAssignment(_,l),x={memberDecoratorsName:_},null!==(l=t.memberInfos)&&void 0!==l||(t.memberInfos=new Map),t.memberInfos.set(e,x),null!=I||(I=[]),I.push(u),d=qs(e)||AE(e)?lL(e)?null!==(d=t.staticNonFieldDecorationStatements)&&void 0!==d?d:t.staticNonFieldDecorationStatements=[]:null!==(f=t.nonStaticNonFieldDecorationStatements)&&void 0!==f?f:t.nonStaticNonFieldDecorationStatements=[]:AR(e)&&!AE(e)?lL(e)?null!==(m=t.staticFieldDecorationStatements)&&void 0!==m?m:t.staticFieldDecorationStatements=[]:null!==(p=t.nonStaticFieldDecorationStatements)&&void 0!==p?p:t.nonStaticFieldDecorationStatements=[]:rA.fail(),f=OR(e)?"getter":LR(e)?"setter":FR(e)?"method":AE(e)?"accessor":AR(e)?"field":rA.fail(),m=void 0,xR(e.name)||bR(e.name)?m={computed:!1,name:e.name}:DO(e.name)?m={computed:!0,name:L.createStringLiteralFromNode(e.name)}:DO(p=e.name.expression)&&!xR(p)?m={computed:!0,name:L.createStringLiteralFromNode(p)}:(T(),a=(p=function(e){if(DO(e)||bR(e)){var t=L.createStringLiteralFromNode(e),r=TJ(e,z,xE);return{referencedName:t,name:r}}if(DO(e.expression)&&!xR(e.expression)){t=L.createStringLiteralFromNode(e.expression),r=TJ(e,z,xE);return{referencedName:t,name:r}}t=L.getGeneratedNameForNode(e);k(t);r=M().createPropKeyHelper(TJ(e.expression,z,jE)),r=L.createAssignment(t,r),r=L.updateComputedPropertyName(e,K(r));return{referencedName:t,name:r}}(e.name)).referencedName,i=p.name,m={computed:!0,name:a},S()),m={kind:f,name:m,static:lL(e),private:bR(e.name),access:{get:AR(e)||OR(e)||FR(e),set:AR(e)||LR(e)},metadata:t.metadataReference},y=lL(e)?null!==(y=t.staticExtraInitializersName)&&void 0!==y?y:t.staticExtraInitializersName=L.createUniqueName("_staticExtraInitializers",48):null!==(n=t.instanceExtraInitializersName)&&void 0!==n?n:t.instanceExtraInitializersName=L.createUniqueName("_instanceExtraInitializers",48),qs(e)?(v=void 0,yE(e)&&r&&(v=r(e,SJ(b,function(e){return BD(e,cg)},gE)),x.memberDescriptorName=c=C(e,"descriptor"),v=L.createAssignment(c,v)),g=M().createESDecorateHelper(L.createThis(),null!=v?v:L.createNull(),_,m,L.createNull(),y),Ey(h=L.createExpressionStatement(g),bf(e)),d.push(h)):AR(e)&&(o=null!==(n=x.memberInitializersName)&&void 0!==n?n:x.memberInitializersName=C(e,"initializers"),lL(e)&&(s=t.classThis),v=void 0,yE(e)&&yL(e)&&r&&(v=r(e,void 0),x.memberDescriptorName=c=C(e,"descriptor"),v=L.createAssignment(c,v)),g=M().createESDecorateHelper(AE(e)?L.createThis():L.createNull(),null!=v?v:L.createNull(),_,m,o,y),Ey(h=L.createExpressionStatement(g),bf(e)),d.push(h))),void 0===i&&(T(),i=N(e.name),S()),dD(b)||!FR(e)&&!AR(e)||lR(i,1024),{modifiers:b,referencedName:a,name:i,initializersName:o,descriptorName:c,thisArg:s}}function g(e){return vj(e)&&!e.name&&m(e)}function h(e){e=RB(e);return vj(e)&&!e.name&&!QP(!1,e)}function _(e,t){if(sf(e)){var r=W(e.left),n=TJ(e.right,z,jE);return L.updateBinaryExpression(e,r,e.operatorToken,n)}if(NL(e)){if(rd(e,g))return wJ(e=VJ(P,e,h(e.right)),z,P);if(VP(e.left)&&s&&c){var a=ij(e.left)?TJ(e.left.argumentExpression,z,jE):xR(e.left.name)?L.createStringLiteralFromNode(e.left.name):void 0;if(a){var i=TJ(e.right,z,jE);CJ(e.operatorToken.kind)&&(hN(o=a)||(o=L.createTempVariable(k),a=L.createAssignment(o,a)),_R(o=L.createReflectGetCall(c,o,s),e.left),UB(o,e.left),UB(i=L.createBinaryExpression(o,xN(e.operatorToken.kind),i),e));var o=t?void 0:L.createTempVariable(k);return o&&(i=L.createAssignment(o,i),UB(o,e)),_R(i=L.createReflectSetCall(c,a,i,s),e),UB(i,e),o&&UB(i=L.createComma(i,o),e),i}}}if(28!==e.operatorToken.kind)return wJ(e,z,P);r=TJ(e.left,u,jE),n=TJ(e.right,t?u:z,jE);return L.updateBinaryExpression(e,r,e.operatorToken,n)}function x(e,t){if(46===e.operator||47===e.operator){var r=oO(e.operand);if(VP(r)&&s&&c){var n=ij(r)?TJ(r.argumentExpression,z,jE):xR(r.name)?L.createStringLiteralFromNode(r.name):void 0;if(n){r=n;hN(n)||(r=L.createTempVariable(k),n=L.createAssignment(r,n)),_R(r=L.createReflectGetCall(c,r,s),e),UB(r,e);t=t?void 0:L.createTempVariable(k),r=Zh(L,e,r,k,t);return _R(r=L.createReflectSetCall(c,n,r,s),e),UB(r,e),t&&UB(r=L.createComma(r,t),e),r}}}return wJ(e,z,P)}function b(e,t){t=t?BC(e.elements,u):BC(e.elements,z,u);return L.updateCommaListExpression(e,t)}function N(e){return SR(e)?D(e):TJ(e,z,xE)}function D(e){var t=TJ(e.expression,z,jE);return hN(t)||(t=K(t)),L.updateComputedPropertyName(e,t)}function A(e){if(nj(e)||rj(e))return W(e);if(VP(e)&&s&&c){var t=ij(e)?TJ(e.argumentExpression,z,jE):xR(e.name)?L.createStringLiteralFromNode(e.name):void 0;if(t){var r=L.createTempVariable(void 0),r=L.createAssignmentTargetWrapper(r,L.createReflectSetCall(c,t,r,s));return _R(r,e),UB(r,e),r}}return wJ(e,z,P)}function E(e){if(NL(e,!0)){rd(e,g)&&(e=VJ(P,e,h(e.right)));var t=A(e.left),r=TJ(e.right,z,jE);return L.updateBinaryExpression(e,t,e.operatorToken,r)}return A(e)}function r(e){return rA.assertNode(e,nc),yj(e)?function(e){if(RE(e.expression)){var t=A(e.expression);return L.updateSpreadElement(e,t)}return wJ(e,z,P)}(e):gj(e)?wJ(e,z,P):E(e)}function F(e){return rA.assertNode(e,tc),sB(e)?function(e){if(RE(e.expression)){var t=A(e.expression);return L.updateSpreadAssignment(e,t)}return wJ(e,z,P)}(e):oB(e)?(rd(t=e,g)&&(t=VJ(P,t,h(t.objectAssignmentInitializer))),wJ(t,z,P)):iB(e)?function(e){var t=TJ(e.name,z,xE);if(NL(e.initializer,!0)){var r=E(e.initializer);return L.updatePropertyAssignment(e,t,r)}if(RE(e.initializer)){r=A(e.initializer);return L.updatePropertyAssignment(e,t,r)}return wJ(e,z,P)}(e):wJ(e,z,P);var t}function W(e){if(rj(e)){var t=SJ(e.elements,r,jE);return L.updateArrayLiteralExpression(e,t)}t=SJ(e.properties,F,EE);return L.updateObjectLiteralExpression(e,t)}function H(e,t){t=t?u:z,t=TJ(e.expression,t,jE);return L.updateParenthesizedExpression(e,t)}function K(e){return dD(I)&&(e=uj(e)?(I.push(e.expression),L.updateParenthesizedExpression(e,L.inlineExpressions(I))):(I.push(e),L.inlineExpressions(I)),I=void 0),e}function G(e){if(e){var t=[];return gD(t,iD(e.decorators,X)),t}}function X(e){var t=TJ(e.expression,z,jE);if(lR(t,3072),GL(RB(t))){var r=L.createCallBinding(t,k,a,!0),e=r.target,r=r.thisArg;return L.restoreOuterExpressions(t,L.createFunctionBindCall(e,r,[]))}return t}function Q(e,t,r,n,a,i,o){i=L.createFunctionExpression(r,n,void 0,void 0,i,void 0,null!=o?o:L.createBlock([]));_R(i,e),Ey(i,bf(e)),lR(i,3072);o="get"===a||"set"===a?a:void 0,t=L.createStringLiteralFromNode(t,void 0),o=M().createSetFunctionNameHelper(i,t,o),o=L.createPropertyAssignment(L.createIdentifier(a),o);return _R(o,e),Ey(o,bf(e)),lR(o,3072),o}function Y(e,t){return L.createObjectLiteralExpression([Q(e,e.name,t,e.asteriskToken,"value",SJ(e.parameters,z,CR),TJ(e.body,z,kj))])}function Z(e,t){return L.createObjectLiteralExpression([Q(e,e.name,t,void 0,"get",[],TJ(e.body,z,kj))])}function $(e,t){return L.createObjectLiteralExpression([Q(e,e.name,t,void 0,"set",SJ(e.parameters,z,CR),TJ(e.body,z,kj))])}function ee(e,t){return L.createObjectLiteralExpression([Q(e,e.name,t,void 0,"get",[],L.createBlock([L.createReturnStatement(L.createPropertyAccessExpression(L.createThis(),L.getGeneratedPrivateNameForNode(e.name)))])),Q(e,e.name,t,void 0,"set",[L.createParameterDeclaration(void 0,void 0,"value")],L.createBlock([L.createExpressionStatement(L.createAssignment(L.createPropertyAccessExpression(L.createThis(),L.getGeneratedPrivateNameForNode(e.name)),L.createIdentifier("value")))]))])}function te(e,t,r){return e=SJ(e,function(e){return dg(e)?e:void 0},gE),L.createGetAccessorDeclaration(e,t,[],void 0,L.createBlock([L.createReturnStatement(L.createFunctionCallCall(L.createPropertyAccessExpression(r,L.createIdentifier("get")),L.createThis(),[]))]))}function re(e,t,r){return e=SJ(e,function(e){return dg(e)?e:void 0},gE),L.createSetAccessorDeclaration(e,t,[L.createParameterDeclaration(void 0,void 0,"value")],L.createBlock([L.createReturnStatement(L.createFunctionCallCall(L.createPropertyAccessExpression(r,L.createIdentifier("set")),L.createThis(),[L.createIdentifier("value")]))]))}}var sz=e({"src/compiler/transformers/esDecorators.ts":function(){MK()}});function cz(o){var i,p,m,y,v=o.factory,g=o.getEmitHelperFactory,h=o.resumeLexicalEnvironment,x=o.endLexicalEnvironment,s=o.hoistVariableDeclaration,b=o.getEmitResolver(),t=o.getCompilerOptions(),k=rM(t),c=0,T=[],a=0,u=o.onEmitNode,r=o.onSubstituteNode;return o.onEmitNode=function(e,t,r){if(1&i&&function(e){e=e.kind;return 263===e||176===e||174===e||177===e||178===e}(t)){var n=384&b.getNodeCheckFlags(t);if(n!==c){var a=c;return c=n,u(e,t,r),void(c=a)}}else if(i&&T[mJ(t)]){a=c;return c=0,u(e,t,r),void(c=a)}u(e,t,r)},o.onSubstituteNode=function(e,t){if(t=r(e,t),1===e&&c)return function(e){switch(e.kind){case 211:return V(e);case 212:return q(e);case 213:return function(e){var t=e.expression;if(VP(t)){t=(aj(t)?V:q)(t);return v.createCallExpression(v.createPropertyAccessExpression(t,"call"),void 0,__spreadArray([v.createThis()],__read(e.arguments),!1))}return e}(e)}return e}(t);return t},dN(o,function(e){if(e.isDeclarationFile)return e;_(1,!1),_(2,!k_(e,t));e=wJ(e,w,o);return qy(e,o.readEmitHelpers()),e});function _(e,t){a=t?a|e:a&~e}function n(e){return 0!=(a&e)}function S(){return n(2)}function l(e,t,r){var n=e&~a;if(n){_(n,!0);e=t(r);return _(n,!1),e}return t(r)}function d(e){return wJ(e,w,o)}function w(e){if(0==(256&e.transformFlags))return e;switch(e.kind){case 134:return;case 223:return function(e){if(!n(1))return wJ(e,w,o);return _R(UB(v.createYieldExpression(void 0,TJ(e.expression,w,jE)),e),e)}(e);case 174:return l(3,N,e);case 262:return l(3,E,e);case 218:return l(3,F,e);case 219:return l(1,P,e);case 211:return m&&aj(e)&&108===e.expression.kind&&m.add(e.name.escapedText),wJ(e,w,o);case 212:return m&&108===e.expression.kind&&(y=!0),wJ(e,w,o);case 177:return l(3,D,e);case 178:return l(3,A,e);case 176:return l(3,C,e);case 263:case 231:return l(3,d,e);default:return wJ(e,w,o)}}function f(e){if(Il(e))switch(e.kind){case 243:return function(e){if(O(e.declarationList)){var t=L(e.declarationList,!1);return t?v.createExpressionStatement(t):void 0}return wJ(e,w,o)}(e);case 248:return n=(r=e).initializer,v.updateForStatement(r,O(n)?L(n,!1):TJ(r.initializer,w,mc),TJ(r.condition,w,jE),TJ(r.incrementor,w,jE),jC(r.statement,f,o));case 249:return t=e,v.updateForInStatement(t,O(t.initializer)?L(t.initializer,!0):rA.checkDefined(TJ(t.initializer,w,mc)),rA.checkDefined(TJ(t.expression,w,jE)),jC(t.statement,f,o));case 250:return t=e,v.updateForOfStatement(t,TJ(t.awaitModifier,w,_g),O(t.initializer)?L(t.initializer,!0):rA.checkDefined(TJ(t.initializer,w,mc)),rA.checkDefined(TJ(t.expression,w,jE)),jC(t.statement,f,o));case 299:return function(e){var r,t=new Set;{if(I(e.variableDeclaration,t),t.forEach(function(e,t){p.has(t)&&(r=r||new Set(p)).delete(t)}),r){var n=p;p=r;t=wJ(e,f,o);return p=n,t}return wJ(e,f,o)}}(e);case 241:case 255:case 269:case 296:case 297:case 258:case 246:case 247:case 245:case 254:case 256:return wJ(e,f,o);default:return rA.assertNever(e,"Unhandled node.")}var t,r,n;return w(e)}function C(e){return v.updateConstructorDeclaration(e,SJ(e.modifiers,w,gE),MC(e.parameters,w,o),B(e))}function N(e){return v.updateMethodDeclaration(e,SJ(e.modifiers,w,Hs),e.asteriskToken,e.name,void 0,void 0,MC(e.parameters,w,o),void 0,(2&kO(e)?J:B)(e))}function D(e){return v.updateGetAccessorDeclaration(e,SJ(e.modifiers,w,Hs),e.name,MC(e.parameters,w,o),void 0,B(e))}function A(e){return v.updateSetAccessorDeclaration(e,SJ(e.modifiers,w,Hs),e.name,MC(e.parameters,w,o),B(e))}function E(e){return v.updateFunctionDeclaration(e,SJ(e.modifiers,w,Hs),e.asteriskToken,e.name,void 0,MC(e.parameters,w,o),void 0,2&kO(e)?J(e):RC(e.body,w,o))}function F(e){return v.updateFunctionExpression(e,SJ(e.modifiers,w,gE),e.asteriskToken,e.name,void 0,MC(e.parameters,w,o),void 0,2&kO(e)?J(e):RC(e.body,w,o))}function P(e){return v.updateArrowFunction(e,SJ(e.modifiers,w,gE),void 0,MC(e.parameters,w,o),void 0,e.equalsGreaterThanToken,2&kO(e)?J(e):RC(e.body,w,o))}function I(e,t){var r,n,a=e.name;if(xR(a))t.add(a.escapedText);else try{for(var i=__values(a.elements),o=i.next();!o.done;o=i.next()){var s=o.value;gj(s)||I(s,t)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function O(e){return e&&Ej(e)&&!(7&e.flags)&&e.declarations.some(j)}function L(e,t){KN(e.declarations,M);var r=jf(e);return 0===r.length?t?TJ(v.converters.convertToAssignmentElementTarget(e.declarations[0].name),w,jE):void 0:v.inlineExpressions(iD(r,R))}function M(e){var t,r,n=e.name;if(xR(n))s(n);else try{for(var a=__values(n.elements),i=a.next();!i.done;i=a.next()){var o=i.value;gj(o)||M(o)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}function R(e){e=Ey(v.createAssignment(v.converters.convertToAssignmentElementTarget(e.name),e.initializer),e);return rA.checkDefined(TJ(e,w,jE))}function j(e){var t,r,n=e.name;if(xR(n))return p.has(n.escapedText);try{for(var a=__values(n.elements),i=a.next();!i.done;i=a.next()){var o=i.value;if(!gj(o)&&j(o))return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return!1}function B(e){rA.assertIsDefined(e.body);var t=m,r=y;m=new Set,y=!1;var n,a=RC(e.body,w,o),i=EA(e,TE);return 2<=k&&384&b.getNodeCheckFlags(e)&&3!=(3&kO(i))&&(U(),m.size&&(n=uz(v,b,e,m),T[mJ(n)]=!0,t_(i=a.statements.slice(),[n]),a=v.updateBlock(a,i)),y&&(256&b.getNodeCheckFlags(e)?Vy(a,Lv):128&b.getNodeCheckFlags(e)&&Vy(a,Ov))),m=t,y=r,a}function J(e){var t,r;h();var n=EA(e,bE).type,a=k<2?function(e){var t=e&&KP(e);if(t&&hE(t)){e=b.getTypeReferenceSerializationKind(t);if(1===e||0===e)return t}return}(n):void 0,i=219===e.kind,o=0!=(512&b.getNodeCheckFlags(e)),s=p;p=new Set;try{for(var c=__values(e.parameters),u=c.next();!u.done;u=c.next())I(u.value,p)}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(t)throw t.error}}var _,l,d,f=m,n=y;return i||(m=new Set,y=!1),d=i?(l=g().createAwaiterHelper(S(),o,a,z(e.body)),dD(_=x())?(d=v.converters.convertToFunctionBlock(l),v.updateBlock(d,UB(v.createNodeArray(fD(_,d.statements)),d.statements))):l):(_=[],l=v.copyPrologue(e.body.statements,_,!1,w),_.push(v.createReturnStatement(g().createAwaiterHelper(S(),o,a,z(e.body,l)))),t_(_,x()),(a=2<=k&&384&b.getNodeCheckFlags(e))&&(U(),m.size&&(l=uz(v,b,e,m),T[mJ(l)]=!0,t_(_,[l]))),UB(d=v.createBlock(_,!0),e.body),a&&y&&(256&b.getNodeCheckFlags(e)?Vy(d,Lv):128&b.getNodeCheckFlags(e)&&Vy(d,Ov)),d),p=s,i||(m=f,y=n),d}function z(e,t){return kj(e)?v.updateBlock(e,SJ(e.statements,f,XE,t)):v.converters.convertToFunctionBlock(rA.checkDefined(TJ(e,f,fc)))}function U(){0==(1&i)&&(i|=1,o.enableSubstitution(213),o.enableSubstitution(211),o.enableSubstitution(212),o.enableEmitNotification(263),o.enableEmitNotification(174),o.enableEmitNotification(177),o.enableEmitNotification(178),o.enableEmitNotification(176),o.enableEmitNotification(243))}function V(e){return 108===e.expression.kind?UB(v.createPropertyAccessExpression(v.createUniqueName("_super",48),e.name),e):e}function q(e){return 108===e.expression.kind?(t=e.argumentExpression,r=e,UB(256&c?v.createPropertyAccessExpression(v.createCallExpression(v.createUniqueName("_superIndex",48),void 0,[t]),"value"):v.createCallExpression(v.createUniqueName("_superIndex",48),void 0,[t]),r)):e;var t,r}}function uz(n,e,t,r){var a=0!=(256&e.getNodeCheckFlags(t)),i=[];return r.forEach(function(e,t){var r=OA(t),t=[];t.push(n.createPropertyAssignment("get",n.createArrowFunction(void 0,void 0,[],void 0,void 0,lR(n.createPropertyAccessExpression(lR(n.createSuper(),8),r),8)))),a&&t.push(n.createPropertyAssignment("set",n.createArrowFunction(void 0,void 0,[n.createParameterDeclaration(void 0,void 0,"v",void 0,void 0,void 0)],void 0,void 0,n.createAssignment(lR(n.createPropertyAccessExpression(lR(n.createSuper(),8),r),8),n.createIdentifier("v"))))),i.push(n.createPropertyAssignment(r,n.createObjectLiteralExpression(t)))}),n.createVariableStatement(void 0,n.createVariableDeclarationList([n.createVariableDeclaration(n.createUniqueName("_super",48),void 0,void 0,n.createCallExpression(n.createPropertyAccessExpression(n.createIdentifier("Object"),"create"),void 0,[n.createNull(),n.createObjectLiteralExpression(i,!0)]))],2))}var _z=e({"src/compiler/transformers/es2017.ts":function(){MK()}});function lz(m){var y=m.factory,v=m.getEmitHelperFactory,s=m.resumeLexicalEnvironment,c=m.endLexicalEnvironment,g=m.hoistVariableDeclaration,u=m.getEmitResolver(),a=m.getCompilerOptions(),_=rM(a),i=m.onEmitNode;m.onEmitNode=function(e,t,r){if(1&l&&function(e){e=e.kind;return 263===e||176===e||174===e||177===e||178===e}(t)){var n=384&u.getNodeCheckFlags(t);if(n!==b){var a=b;return b=n,i(e,t,r),void(b=a)}}else if(l&&T[mJ(t)]){a=b;return b=0,i(e,t,r),void(b=a)}i(e,t,r)};var l,n,o,r,d,f,p,h=m.onSubstituteNode,x=!(m.onSubstituteNode=function(e,t){if(t=h(e,t),1===e&&b)return function(e){switch(e.kind){case 211:return X(e);case 212:return Q(e);case 213:return function(e){var t=e.expression;if(VP(t)){t=(aj(t)?X:Q)(t);return y.createCallExpression(y.createPropertyAccessExpression(t,"call"),void 0,__spreadArray([y.createThis()],__read(e.arguments),!1))}return e}(e)}return e}(t);return t}),b=0,k=0,T=[];return dN(m,function(e){if(e.isDeclarationFile)return e;e=function(e){var t=S(2,k_(e,a)?0:1);x=!1;var r=wJ(e,N,m),n=fD(r.statements,d&&[y.createVariableStatement(void 0,y.createVariableDeclarationList(d))]),e=y.updateSourceFile(r,UB(y.createNodeArray(n),e.statements));return w(t),e}(r=e);return qy(e,m.readEmitHelpers()),d=r=void 0,e});function S(e,t){var r=k;return k=3&(k&~e|t),r}function w(e){k=e}function C(e){d=vD(d,y.createVariableDeclaration(e))}function N(e){return t(e,!1)}function D(e){return t(e,!0)}function A(e){if(134!==e.kind)return e}function E(e,t,r,n){if(k===(k&~r|n))return e(t);n=S(r,n),t=e(t);return w(n),t}function F(e){return wJ(e,N,m)}function t(e,t){if(0==(128&e.transformFlags))return e;switch(e.kind){case 223:return function(e){if(2&n&&1&n)return _R(UB(y.createYieldExpression(void 0,v().createAwaitHelper(TJ(e.expression,N,jE))),e),e);return wJ(e,N,m)}(e);case 229:return function(e){if(2&n&&1&n){if(e.asteriskToken){var t=TJ(rA.checkDefined(e.expression),N,jE);return _R(UB(y.createYieldExpression(void 0,v().createAwaitHelper(y.updateYieldExpression(e,e.asteriskToken,UB(v().createAsyncDelegatorHelper(UB(v().createAsyncValuesHelper(t),t)),t)))),e),e)}return _R(UB(y.createYieldExpression(void 0,L(e.expression?TJ(e.expression,N,jE):y.createVoidZero())),e),e)}return wJ(e,N,m)}(e);case 253:return function(e){if(2&n&&1&n)return y.updateReturnStatement(e,L(e.expression?TJ(e.expression,N,jE):y.createVoidZero()));return wJ(e,N,m)}(e);case 256:return function(e){if(2&n){var t=G_(e);return 250===t.kind&&t.awaitModifier?O(t,e):y.restoreEnclosingLabel(TJ(t,N,XE,y.liftToBlock),e)}return wJ(e,N,m)}(e);case 210:return function(e){if(65536&e.transformFlags){var t=function(e){var t,r,n,a=[];try{for(var i=__values(e),o=i.next();!o.done;o=i.next()){var s,c=o.value;305===c.kind?(n&&(a.push(y.createObjectLiteralExpression(n)),n=void 0),s=c.expression,a.push(TJ(s,N,jE))):n=vD(n,303===c.kind?y.createPropertyAssignment(c.name,TJ(c.initializer,N,jE)):TJ(c,N,EE))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}n&&a.push(y.createObjectLiteralExpression(n));return a}(e.properties);t.length&&210!==t[0].kind&&t.unshift(y.createObjectLiteralExpression());var r=t[0];if(1<t.length){for(var n=1;n<t.length;n++)r=v().createAssignHelper([r,t[n]]);return r}return v().createAssignHelper(t)}return wJ(e,N,m)}(e);case 226:return function(e,t){if(sf(e)&&Kx(e.left))return jN(e,N,m,1,!t);return 28!==e.operatorToken.kind?wJ(e,N,m):y.updateBinaryExpression(e,TJ(e.left,D,jE),e.operatorToken,TJ(e.right,t?D:N,jE))}(e,t);case 361:return function(e,t){if(t)return wJ(e,D,m);for(var r,n=0;n<e.elements.length;n++){var a=e.elements[n],i=TJ(a,n<e.elements.length-1?D:N,jE);!r&&i===a||(r=r||e.elements.slice(0,n)).push(i)}t=r?UB(y.createNodeArray(r),e.elements):e.elements;return y.updateCommaListExpression(e,t)}(e,t);case 299:return function(e){if(e.variableDeclaration&&PE(e.variableDeclaration.name)&&65536&e.variableDeclaration.name.transformFlags){var t=y.getGeneratedNameForNode(e.variableDeclaration.name),r=zN(y.updateVariableDeclaration(e.variableDeclaration,e.variableDeclaration.name,void 0,void 0,t),N,m,1),n=TJ(e.block,N,kj);return dD(r)&&(n=y.updateBlock(n,__spreadArray([y.createVariableStatement(void 0,r)],__read(n.statements),!1))),y.updateCatchClause(e,y.updateVariableDeclaration(e.variableDeclaration,t,void 0,void 0,void 0),n)}return wJ(e,N,m)}(e);case 243:return function(e){if(_L(e,1)){var t=x;x=!0;var r=wJ(e,N,m);return x=t,r}return wJ(e,N,m)}(e);case 260:return function(e){if(x){var t=x,r=P(e,!(x=!1));return x=t,r}return P(e,!1)}(e);case 246:case 247:case 249:return E(F,e,0,2);case 250:return O(e,void 0);case 248:return E(I,e,0,2);case 222:return wJ(e,D,m);case 176:return E(B,e,2,1);case 174:return E(U,e,2,1);case 177:return E(J,e,2,1);case 178:return E(z,e,2,1);case 262:return E(V,e,2,1);case 218:return E(W,e,2,1);case 219:return E(q,e,2,0);case 169:return R(e);case 244:return wJ(e,D,m);case 217:return wJ(e,t?D:N,m);case 215:return HJ(m,e,N,r,C,0);case 211:return f&&aj(e)&&108===e.expression.kind&&f.add(e.name.escapedText),wJ(e,N,m);case 212:return f&&108===e.expression.kind&&(p=!0),wJ(e,N,m);case 263:case 231:return E(F,e,2,1);default:return wJ(e,N,m)}}function P(e,t){return PE(e.name)&&65536&e.name.transformFlags?zN(e,N,m,1,void 0,t):wJ(e,N,m)}function I(e){return y.updateForStatement(e,TJ(e.initializer,D,mc),TJ(e.condition,N,jE),TJ(e.incrementor,D,jE),jC(e.statement,N,m))}function O(e,t){var r=S(0,2);(65536&e.initializer.transformFlags||IE(e.initializer)&&Kx(e.initializer))&&(e=function(e){var t=oO(e.initializer);if(Ej(t)||IE(t)){var r=void 0,n=void 0,a=y.createTempVariable(void 0),t=[Kh(y,t,a)];return kj(e.statement)?(gD(t,e.statement.statements),r=e.statement,n=e.statement.statements):e.statement&&(vD(t,e.statement),r=e.statement,n=e.statement),y.updateForOfStatement(e,e.awaitModifier,UB(y.createVariableDeclarationList([UB(y.createVariableDeclaration(a),e.initializer)],1),e.initializer),e.expression,UB(y.createBlock(UB(y.createNodeArray(t),n),!0),r))}return e}(e));t=e.awaitModifier?function(e,t,r){var n=TJ(e.expression,N,jE),a=xR(n)?y.getGeneratedNameForNode(n):y.createTempVariable(void 0),i=xR(n)?y.getGeneratedNameForNode(a):y.createTempVariable(void 0),o=y.createTempVariable(void 0),s=y.createTempVariable(g),c=y.createUniqueName("e"),u=y.getGeneratedNameForNode(c),_=y.createTempVariable(void 0),l=UB(v().createAsyncValuesHelper(n),e.expression),d=y.createCallExpression(y.createPropertyAccessExpression(a,"next"),void 0,[]),f=y.createPropertyAccessExpression(i,"done"),p=y.createPropertyAccessExpression(i,"value"),n=y.createFunctionCallCall(_,a,[]);g(c),g(_);l=2&r?y.inlineExpressions([y.createAssignment(c,y.createVoidZero()),l]):l,p=lR(UB(y.createForStatement(lR(UB(y.createVariableDeclarationList([y.createVariableDeclaration(o,void 0,void 0,y.createTrue()),UB(y.createVariableDeclaration(a,void 0,void 0,l),e.expression),y.createVariableDeclaration(i)]),e.expression),4194304),y.inlineExpressions([y.createAssignment(i,L(d)),y.createAssignment(s,f),y.createLogicalNot(s)]),y.createAssignment(o,y.createTrue()),function(e,t,r){var n=y.createTempVariable(g),t=y.createAssignment(n,t),t=y.createExpressionStatement(t);Ey(t,e.expression);r=y.createAssignment(r,y.createFalse()),r=y.createExpressionStatement(r);Ey(r,e.expression);var a,i,r=[t,r],n=Kh(y,e.initializer,n);r.push(TJ(n,N,XE));e=jC(e.statement,N,m);kj(e)?(gD(r,e.statements),i=(a=e).statements):r.push(e);return UB(y.createBlock(UB(y.createNodeArray(r),i),!0),a)}(e,p,o)),e),512);return _R(p,e),y.createTryStatement(y.createBlock([y.restoreEnclosingLabel(p,t)]),y.createCatchClause(y.createVariableDeclaration(u),lR(y.createBlock([y.createExpressionStatement(y.createAssignment(c,y.createObjectLiteralExpression([y.createPropertyAssignment("error",u)])))]),1)),y.createBlock([y.createTryStatement(y.createBlock([lR(y.createIfStatement(y.createLogicalAnd(y.createLogicalAnd(y.createLogicalNot(o),y.createLogicalNot(s)),y.createAssignment(_,y.createPropertyAccessExpression(a,"return"))),y.createExpressionStatement(L(n))),1)]),void 0,lR(y.createBlock([lR(y.createIfStatement(c,y.createThrowStatement(y.createPropertyAccessExpression(c,"error"))),1)]),1))]))}(e,t,r):y.restoreEnclosingLabel(wJ(e,N,m),t);return w(r),t}function L(e){return 1&n?y.createYieldExpression(void 0,v().createAwaitHelper(e)):y.createAwaitExpression(e)}function M(e){return rA.assertNode(e,CR),R(e)}function R(e){return null!=o&&o.has(e)?y.updateParameterDeclaration(e,void 0,e.dotDotDotToken,PE(e.name)?y.getGeneratedNameForNode(e):e.name,void 0,void 0,void 0):65536&e.transformFlags?y.updateParameterDeclaration(e,void 0,e.dotDotDotToken,y.getGeneratedNameForNode(e),void 0,void 0,TJ(e.initializer,N,jE)):wJ(e,N,m)}function j(e){var t,r,n;try{for(var a=__values(e.parameters),i=a.next();!i.done;i=a.next()){var o=i.value;n?n.add(o):65536&o.transformFlags&&(n=new Set)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n}function B(e){var t=n,r=o;n=kO(e),o=j(e);e=y.updateConstructorDeclaration(e,e.modifiers,MC(e.parameters,M,m),K(e));return n=t,o=r,e}function J(e){var t=n,r=o;n=kO(e),o=j(e);e=y.updateGetAccessorDeclaration(e,e.modifiers,TJ(e.name,N,xE),MC(e.parameters,M,m),void 0,K(e));return n=t,o=r,e}function z(e){var t=n,r=o;n=kO(e),o=j(e);e=y.updateSetAccessorDeclaration(e,e.modifiers,TJ(e.name,N,xE),MC(e.parameters,M,m),K(e));return n=t,o=r,e}function U(e){var t=n,r=o;n=kO(e),o=j(e);e=y.updateMethodDeclaration(e,1&n?SJ(e.modifiers,A,Hs):e.modifiers,2&n?void 0:e.asteriskToken,TJ(e.name,N,xE),TJ(void 0,N,rg),void 0,MC(e.parameters,M,m),void 0,(2&n&&1&n?H:K)(e));return n=t,o=r,e}function V(e){var t=n,r=o;n=kO(e),o=j(e);e=y.updateFunctionDeclaration(e,1&n?SJ(e.modifiers,A,gE):e.modifiers,2&n?void 0:e.asteriskToken,e.name,void 0,MC(e.parameters,M,m),void 0,(2&n&&1&n?H:K)(e));return n=t,o=r,e}function q(e){var t=n,r=o;n=kO(e),o=j(e);e=y.updateArrowFunction(e,e.modifiers,void 0,MC(e.parameters,M,m),void 0,e.equalsGreaterThanToken,K(e));return n=t,o=r,e}function W(e){var t=n,r=o;n=kO(e),o=j(e);e=y.updateFunctionExpression(e,1&n?SJ(e.modifiers,A,gE):e.modifiers,2&n?void 0:e.asteriskToken,e.name,void 0,MC(e.parameters,M,m),void 0,(2&n&&1&n?H:K)(e));return n=t,o=r,e}function H(e){s();var t=[],r=y.copyPrologue(e.body.statements,t,!1,N);G(t,e);var n=f,a=p;f=new Set,p=!1;var i=y.createReturnStatement(v().createAsyncGeneratorHelper(y.createFunctionExpression(void 0,y.createToken(42),e.name&&y.getGeneratedNameForNode(e.name),void 0,[],void 0,y.updateBlock(e.body,LC(e.body.statements,N,m,r))),!!(1&k))),o=2<=_&&384&u.getNodeCheckFlags(e);o&&(0==(1&l)&&(l|=1,m.enableSubstitution(213),m.enableSubstitution(211),m.enableSubstitution(212),m.enableEmitNotification(263),m.enableEmitNotification(174),m.enableEmitNotification(177),m.enableEmitNotification(178),m.enableEmitNotification(176),m.enableEmitNotification(243)),r=uz(y,u,e,f),T[mJ(r)]=!0,t_(t,[r])),t.push(i),t_(t,c());t=y.updateBlock(e.body,t);return o&&p&&(256&u.getNodeCheckFlags(e)?Vy(t,Lv):128&u.getNodeCheckFlags(e)&&Vy(t,Ov)),f=n,p=a,t}function K(e){s();var t=0,r=[],n=null!==(a=TJ(e.body,N,fc))&&void 0!==a?a:y.createBlock([]);kj(n)&&(t=y.copyPrologue(n.statements,r,!1,N)),gD(r,G(void 0,e));var a=c();if(0<t||dD(r)||dD(a)){e=y.converters.convertToFunctionBlock(n,!0);return t_(r,a),gD(r,e.statements.slice(t)),y.updateBlock(e,UB(y.createNodeArray(r),e.statements))}return n}function G(e,t){var r,n,a=!1;try{for(var i=__values(t.parameters),o=i.next();!o.done;o=i.next()){var s,c,u,_,l,d,f,p=o.value;a?PE(p.name)?0<p.name.elements.length?dD(l=zN(p,N,m,0,y.getGeneratedNameForNode(p)))&&(d=y.createVariableDeclarationList(l),lR(f=y.createVariableStatement(void 0,d),2097152),e=vD(e,f)):p.initializer&&(u=y.getGeneratedNameForNode(p),s=TJ(p.initializer,N,jE),c=y.createAssignment(u,s),lR(f=y.createExpressionStatement(c),2097152),e=vD(e,f)):p.initializer&&(UB(_=y.cloneNode(p.name),p.name),lR(_,96),Cy(s=TJ(p.initializer,N,jE),3168),UB(c=y.createAssignment(_,s),p),lR(c,3072),UB(u=y.createBlock([y.createExpressionStatement(c)]),p),lR(u,3905),_=y.createTypeCheck(y.cloneNode(p.name),"undefined"),sx(f=y.createIfStatement(_,u)),UB(f,p),lR(f,2101056),e=vD(e,f)):65536&p.transformFlags&&(a=!0,dD(l=zN(p,N,m,1,y.getGeneratedNameForNode(p),!1,!0))&&(d=y.createVariableDeclarationList(l),lR(f=y.createVariableStatement(void 0,d),2097152),e=vD(e,f)))}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return e}function X(e){return 108===e.expression.kind?UB(y.createPropertyAccessExpression(y.createUniqueName("_super",48),e.name),e):e}function Q(e){return 108===e.expression.kind?(t=e.argumentExpression,r=e,UB(256&b?y.createPropertyAccessExpression(y.createCallExpression(y.createIdentifier("_superIndex"),void 0,[t]),"value"):y.createCallExpression(y.createIdentifier("_superIndex"),void 0,[t]),r)):e;var t,r}}var dz=e({"src/compiler/transformers/es2018.ts":function(){MK()}});function fz(t){var r=t.factory;return dN(t,function(e){if(e.isDeclarationFile)return e;return wJ(e,n,t)});function n(e){return 0==(64&e.transformFlags)?e:299!==e.kind?wJ(e,n,t):(e=e).variableDeclaration?wJ(e,n,t):r.updateCatchClause(e,r.createVariableDeclaration(r.createTempVariable(void 0)),TJ(e.block,n,kj))}}var pz=e({"src/compiler/transformers/es2019.ts":function(){MK()}});function mz(n){var l=n.factory,d=n.hoistVariableDeclaration;return dN(n,function(e){if(e.isDeclarationFile)return e;return wJ(e,f,n)});function f(e){if(0==(32&e.transformFlags))return e;switch(e.kind){case 213:var t=i(e,!1);return rA.assertNotNode(t,ch),t;case 211:case 212:if(aE(e)){t=o(e,!1,!1);return rA.assertNotNode(t,ch),t}return wJ(e,f,n);case 226:return 61===e.operatorToken.kind?function(e){var t=TJ(e.left,f,jE),r=t;gN(t)||(r=l.createTempVariable(d),t=l.createAssignment(r,t));return UB(l.createConditionalExpression(m(t,r),void 0,r,void 0,TJ(e.right,f,jE)),e)}(e):wJ(e,f,n);case 220:return aE(oO((t=e).expression))?_R(p(t.expression,!1,!0),t):l.updateDeleteExpression(t,TJ(t.expression,f,jE));default:return wJ(e,f,n)}}function a(e,t,r){r=p(e.expression,t,r);return ch(r)?l.createSyntheticReferenceExpression(l.updateParenthesizedExpression(e,r.expression),r.thisArg):l.updateParenthesizedExpression(e,r)}function i(e,t){if(aE(e))return o(e,t,!1);if(uj(e.expression)&&aE(oO(e.expression))){var r=a(e.expression,!0,!1),t=SJ(e.arguments,f,jE);return ch(r)?UB(l.createFunctionCallCall(r.expression,r.thisArg,t),e):l.updateCallExpression(e,r,void 0,t)}return wJ(e,f,n)}function p(e,t,r){switch(e.kind){case 217:return a(e,t,r);case 211:case 212:return function(e,t,r){if(aE(e))return o(e,t,r);var n,r=TJ(e.expression,f,jE);return rA.assertNotNode(r,ch),t&&(gN(r)?n=r:(n=l.createTempVariable(d),r=l.createAssignment(n,r))),r=211===e.kind?l.updatePropertyAccessExpression(e,r,TJ(e.name,f,xR)):l.updateElementAccessExpression(e,r,TJ(e.argumentExpression,f,jE)),n?l.createSyntheticReferenceExpression(r,n):r}(e,t,r);case 213:return i(e,t);default:return TJ(e,f,jE)}}function o(e,t,r){var n=function(e){rA.assertNotNode(e,gs);for(var t=[e];!e.questionDotToken&&!cj(e);)e=JD(vs(e.expression),aE),rA.assertNotNode(e,gs),t.unshift(e);return{expression:e.expression,chain:t}}(e),a=n.expression,i=n.chain,n=p(vs(a),nE(i[0]),!1),o=ch(n)?n.thisArg:void 0,n=ch(n)?n.expression:n,a=l.restoreOuterExpressions(a,n,8);gN(n)||(n=l.createTempVariable(d),a=l.createAssignment(n,a));for(var s,c=n,u=0;u<i.length;u++){var _=i[u];switch(_.kind){case 211:case 212:u===i.length-1&&t&&(gN(c)?s=c:(s=l.createTempVariable(d),c=l.createAssignment(s,c))),c=211===_.kind?l.createPropertyAccessExpression(c,TJ(_.name,f,xR)):l.createElementAccessExpression(c,TJ(_.argumentExpression,f,jE));break;case 213:c=0===u&&o?(mE(o)||Cy(o=l.cloneNode(o),3072),l.createFunctionCallCall(c,108===o.kind?l.createThis():o,SJ(_.arguments,f,jE))):l.createCallExpression(c,void 0,SJ(_.arguments,f,jE))}_R(c,_)}n=r?l.createConditionalExpression(m(a,n,!0),void 0,l.createTrue(),void 0,l.createDeleteExpression(c)):l.createConditionalExpression(m(a,n,!0),void 0,l.createVoidZero(),void 0,c);return UB(n,e),s?l.createSyntheticReferenceExpression(n,s):n}function m(e,t,r){return l.createBinaryExpression(l.createBinaryExpression(e,l.createToken(r?37:38),l.createNull()),l.createToken(r?57:56),l.createBinaryExpression(t,l.createToken(r?37:38),l.createVoidZero()))}}var yz=e({"src/compiler/transformers/es2020.ts":function(){MK()}});function vz(t){var c=t.hoistVariableDeclaration,u=t.factory;return dN(t,function(e){if(e.isDeclarationFile)return e;return wJ(e,_,t)});function _(e){return 0==(16&e.transformFlags)?e:nf(e)?function(e){var t=xN(e.operatorToken.kind),r=oO(TJ(e.left,_,RE)),n=r,a=oO(TJ(e.right,_,jE));{var i,o,s;GL(r)&&(s=gN(r.expression),i=s?r.expression:u.createTempVariable(c),o=s?r.expression:u.createAssignment(i,r.expression),r=aj(r)?(n=u.createPropertyAccessExpression(i,r.name),u.createPropertyAccessExpression(o,r.name)):(e=gN(r.argumentExpression),s=e?r.argumentExpression:u.createTempVariable(c),n=u.createElementAccessExpression(i,s),u.createElementAccessExpression(o,e?r.argumentExpression:u.createAssignment(s,r.argumentExpression))))}return u.createBinaryExpression(r,t,u.createParenthesizedExpression(u.createAssignment(n,a)))}(e):wJ(e,_,t)}}var gz=e({"src/compiler/transformers/es2021.ts":function(){MK()}});function hz(g){var s,c,h,x,b=g.factory,k=g.getEmitHelperFactory,T=g.hoistVariableDeclaration,u=g.startLexicalEnvironment,_=g.endLexicalEnvironment;return dN(g,function(e){if(e.isDeclarationFile)return e;e=TJ(e,S,uB);return qy(e,g.readEmitHelpers()),h=s=c=void 0,e});function S(e){if(0==(4&e.transformFlags))return e;switch(e.kind){case 312:return function(e){var t=Sz(e.statements);if(t){u(),s=new sN,c=[];var r=xz(e.statements),n=[];gD(n,IC(e.statements,S,XE,0,r));for(var a=r;a<e.statements.length;){if(0!==Tz(e.statements[a])){r<a&&gD(n,SJ(e.statements,S,XE,r,a-r));break}a++}rA.assert(a<e.statements.length,"Should have encountered at least one 'using' statement.");var i=d(),o=l(e.statements,a,e.statements.length,i,n);return s.size&&vD(n,b.createExportDeclaration(void 0,!1,b.createNamedExports(PD(s.values())))),gD(n,_()),c.length&&n.push(b.createVariableStatement(b.createModifiersFromModifierFlags(1),b.createVariableDeclarationList(c,1))),gD(n,f(o,i,2===t)),x&&n.push(b.createExportAssignment(void 0,!0,x)),b.updateSourceFile(e,n)}return wJ(e,S,g)}(e);case 241:return function(e){var t=Sz(e.statements);if(t){var r=xz(e.statements),n=d();return b.updateBlock(e,__spreadArray(__spreadArray([],__read(IC(e.statements,S,XE,0,r)),!1),__read(f(l(e.statements,r,e.statements.length,n,void 0),n,2===t)),!1))}return wJ(e,S,g)}(e);case 248:return function(e){if(e.initializer&&bz(e.initializer))return TJ(b.createBlock([b.createVariableStatement(void 0,e.initializer),b.updateForStatement(e,void 0,e.condition,e.incrementor,e.statement)]),S,XE);return wJ(e,S,g)}(e);case 250:return function(e){if(bz(e.initializer)){var t=e.initializer;rA.assertNode(t,bz),rA.assert(1===t.declarations.length,"ForInitializer may only have one declaration");var r=t.declarations[0];rA.assert(!r.initializer,"ForInitializer may not have an initializer");var n=2===kz(t),t=b.getGeneratedNameForNode(r.name),r=b.updateVariableDeclaration(r,r.name,void 0,void 0,t),n=b.createVariableDeclarationList([r],n?6:4),n=b.createVariableStatement(void 0,n);return TJ(b.updateForOfStatement(e,e.awaitModifier,b.createVariableDeclarationList([b.createVariableDeclaration(t)],2),e.expression,kj(e.statement)?b.updateBlock(e.statement,__spreadArray([n],__read(e.statement.statements),!1)):b.createBlock([n,e.statement],!0)),S,XE)}return wJ(e,S,g)}(e);case 255:return function(e){var t=function(e){var t,r,n=0;try{for(var a=__values(e),i=a.next();!i.done;i=a.next()){var o=Sz(i.value.statements);if(2===o)return 2;n<o&&(n=o)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n}(e.caseBlock.clauses);if(t){var r=d();return f([b.updateSwitchStatement(e,TJ(e.expression,S,jE),b.updateCaseBlock(e.caseBlock,e.caseBlock.clauses.map(function(e){return function(e,t){if(0===Sz(e.statements))return wJ(e,S,g);return fh(e)?b.updateCaseClause(e,TJ(e.expression,S,jE),l(e.statements,0,e.statements.length,t,void 0)):b.updateDefaultClause(e,l(e.statements,0,e.statements.length,t,void 0))}(e,r)})))],r,2===t)}return wJ(e,S,g)}(e);default:return wJ(e,S,g)}}function l(e,t,r,n,a){for(var i,o,s=[],c=t;c<r;c++){var u=e[c],_=Tz(u);if(_){rA.assertNode(u,Tj);var l=[];try{for(var d=(i=void 0,__values(u.declarationList.declarations)),f=d.next();!f.done;f=d.next()){var p=f.value;if(!xR(p.name)){l.length=0;break}rd(p)&&(p=VJ(g,p));var m=null!==(m=TJ(p.initializer,S,jE))&&void 0!==m?m:b.createVoidZero();l.push(b.updateVariableDeclaration(p,p.name,void 0,void 0,k().createAddDisposableResourceHelper(n,m,2===_)))}}catch(e){i={error:e}}finally{try{f&&!f.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}if(l.length){var y=b.createVariableDeclarationList(l,2);_R(y,u.declarationList),UB(y,u.declarationList),v(b.updateVariableStatement(u,void 0,y));continue}}y=S(u);RD(y)?y.forEach(v):y&&v(y)}return s;function v(e){rA.assertNode(e,XE),vD(s,function(e){if(!a)return e;switch(e.kind){case 272:case 271:case 278:case 262:return function(e,t){return void t.push(e)}(e,a);case 277:return function(e){return(e.isExportEquals?function(e){if(x)return e;x=b.createUniqueName("_default",56),T(x);e=b.createAssignment(x,e.expression);return b.createExpressionStatement(e)}:function(e){if(h)return e;w(h=b.createUniqueName("_default",56),!0,"default",e);var t=e.expression,e=RB(t);rd(e)&&(e=VJ(g,e,!1,"default"),t=b.restoreOuterExpressions(t,e));t=b.createAssignment(h,t);return b.createExpressionStatement(t)})(e)}(e);case 263:return function(e){if(!e.name&&h)return e;var t=_L(e,1),r=_L(e,1024),n=b.converters.convertToClassExpression(e);e.name&&(w(b.getLocalName(e),t&&!r,void 0,e),rd(n=b.createAssignment(b.getDeclarationName(e),n))&&(n=VJ(g,n,!1)),_R(n,e),Ey(n,e),dR(n,e));r&&!h&&(w(h=b.createUniqueName("_default",56),!0,"default",e),rd(n=b.createAssignment(h,n))&&(n=VJ(g,n,!1,"default")),_R(n,e));return b.createExpressionStatement(n)}(e);case 243:return function(e){var t,r,n,a=_L(e,1);try{for(var i=__values(e.declarationList.declarations),o=i.next();!o.done;o=i.next()){var s=o.value;!function e(t,r,n){var a,i;if(PE(t.name))try{for(var o=__values(t.name.elements),s=o.next();!s.done;s=o.next()){var c=s.value;gj(c)||e(c,r,n)}}catch(e){a={error:e}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(a)throw a.error}}else w(t.name,r,void 0,n)}(s,a,s),s.initializer&&(n=vD(n,function(e){rA.assertIsDefined(e.initializer),xR(e.name)?lR(t=b.cloneNode(e.name),-114689&p_(t)):t=b.converters.convertToAssignmentPattern(e.name);var t=b.createAssignment(t,e.initializer);return _R(t,e),dR(t,e),Ey(t,e),t}(s)))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}if(n){var c=b.createExpressionStatement(b.inlineExpressions(n));return _R(c,e),dR(c,e),Ey(c,e),c}return}(e)}return e}(e))}}function w(e,t,r,n){e=mE(e)?e:b.cloneNode(e);if(t){if(void 0===r&&!ex(e)){var a=b.createVariableDeclaration(e);return n&&_R(a,n),void c.push(a)}a=void 0!==r?e:void 0,r=void 0!==r?r:e,r=b.createExportSpecifier(!1,a,r);n&&_R(r,n),s.set(e,r)}T(e)}function d(){return b.createUniqueName("env")}function f(e,t,r){var n=[],a=b.createObjectLiteralExpression([b.createPropertyAssignment("stack",b.createArrayLiteralExpression()),b.createPropertyAssignment("error",b.createVoidZero()),b.createPropertyAssignment("hasError",b.createFalse())]),a=b.createVariableDeclaration(t,void 0,void 0,a),a=b.createVariableDeclarationList([a],2),a=b.createVariableStatement(void 0,a);n.push(a);a=b.createBlock(e,!0),e=b.createUniqueName("e"),e=b.createCatchClause(e,b.createBlock([b.createExpressionStatement(b.createAssignment(b.createPropertyAccessExpression(t,"error"),e)),b.createExpressionStatement(b.createAssignment(b.createPropertyAccessExpression(t,"hasError"),b.createTrue()))],!0));t=r?(r=b.createUniqueName("result"),b.createBlock([b.createVariableStatement(void 0,b.createVariableDeclarationList([b.createVariableDeclaration(r,void 0,void 0,k().createDisposeResourcesHelper(t))],2)),b.createIfStatement(r,b.createExpressionStatement(b.createAwaitExpression(r)))],!0)):b.createBlock([b.createExpressionStatement(k().createDisposeResourcesHelper(t))],!0);t=b.createTryStatement(a,e,t);return n.push(t),n}}function xz(e){for(var t=0;t<e.length;t++)if(!J_(e[t])&&!z_(e[t]))return t;return 0}function bz(e){return Ej(e)&&0!==kz(e)}function kz(e){return 6==(7&e.flags)?2:4==(7&e.flags)?1:0}function Tz(e){return Tj(e)?kz(e.declarationList):0}function Sz(e){var t,r,n=0;try{for(var a=__values(e),i=a.next();!i.done;i=a.next()){var o=Tz(i.value);if(2===o)return 2;n<o&&(n=o)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n}var wz,Cz=e({"src/compiler/transformers/esnext.ts":function(){MK()}});function Nz(_){var l,d,m=_.factory,y=_.getEmitHelperFactory,f=_.getCompilerOptions();return dN(_,function(e){var t,r;if(e.isDeclarationFile)return e;(d={}).importSpecifier=gM(f,l=e);var n=wJ(e,v,_);qy(n,_.readEmitHelpers());var a=n.statements;d.filenameDeclaration&&(a=a_(a.slice(),m.createVariableStatement(void 0,m.createVariableDeclarationList([d.filenameDeclaration],2))));if(d.utilizedImplicitRuntimeImports)try{for(var i=__values(PD(d.utilizedImplicitRuntimeImports.entries())),o=i.next();!o.done;o=i.next()){var s=__read(o.value,2),c=s[0],u=s[1];XB(e)?(Fm(s=m.createImportDeclaration(void 0,m.createImportClause(!1,void 0,m.createNamedImports(PD(u.values()))),m.createStringLiteral(c),void 0),!1),a=a_(a.slice(),s)):_P(e)&&(Fm(c=m.createVariableStatement(void 0,m.createVariableDeclarationList([m.createVariableDeclaration(m.createObjectBindingPattern(PD(u.values(),function(e){return m.createBindingElement(void 0,e.propertyName,e.name)})),void 0,void 0,m.createCallExpression(m.createIdentifier("require"),void 0,[m.createStringLiteral(c)]))],2)),!1),a=a_(a.slice(),c))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}a!==n.statements&&(n=m.updateSourceFile(n,a));return d=void 0,n});function s(e){return o((e=e,5===f.jsx?"jsxDEV":e?"jsxs":"jsx"))}function o(e){var t="createElement"===e?d.importSpecifier:hM(d.importSpecifier,f),r=null==(n=null==(r=d.utilizedImplicitRuntimeImports)?void 0:r.get(t))?void 0:n.get(e);if(r)return r.name;d.utilizedImplicitRuntimeImports||(d.utilizedImplicitRuntimeImports=new Map);var n=d.utilizedImplicitRuntimeImports.get(t);n||(n=new Map,d.utilizedImplicitRuntimeImports.set(t,n));r=m.createUniqueName("_".concat(e),112),t=m.createImportSpecifier(!1,m.createIdentifier(e),r);return tv(r,t),n.set(e,t),r}function v(e){return 2&e.transformFlags?function(e){switch(e.kind){case 284:return a(e,!1);case 285:return i(e,!1);case 288:return u(e,!1);case 294:return t(e);default:return wJ(e,v,_)}}(e):e}function c(e){switch(e.kind){case 12:return function(e){e=function(e){for(var t,r=0,n=-1,a=0;a<e.length;a++){var i=e.charCodeAt(a);hA(i)?(-1!==r&&-1!==n&&(t=C(t,e.substr(r,n-r+1))),r=-1):ji(i)||(n=a,-1===r&&(r=a))}return-1!==r?C(t,e.substr(r)):t}(e.text);return void 0===e?void 0:m.createStringLiteral(e)}(e);case 294:return t(e);case 284:return a(e,!0);case 285:return i(e,!0);case 288:return u(e,!0);default:return rA.failBadSyntaxKind(e)}}function g(e){return e.properties.some(function(e){return iB(e)&&(xR(e.name)&&"__proto__"===LA(e.name)||hR(e.name)&&"__proto__"===e.name.text)})}function r(e){return void 0===d.importSpecifier||function(e){var t,r,n=!1;try{for(var a=__values(e.attributes.properties),i=a.next();!i.done;i=a.next()){var o=i.value;if(!tB(o)||nj(o.expression)&&!o.expression.properties.some(sB)){if(n&&$j(o)&&xR(o.name)&&"key"===o.name.escapedText)return 1}else n=!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return}(e)}function a(e,t){return(r(e.openingElement)?x:n)(e.openingElement,e.children,t,e)}function i(e,t){return(r(e)?x:n)(e,void 0,t,e)}function u(e,t){return(void 0===d.importSpecifier?k:b)(e.openingFragment,e.children,t,e)}function p(e){var t=BO(e);if(1===HN(t)&&!t[0].dotDotDotToken){t=c(t[0]);return t&&m.createPropertyAssignment("children",t)}e=uD(e,c);return HN(e)?m.createPropertyAssignment("children",m.createArrayLiteralExpression(e)):void 0}function n(e,t,r,n){var a=D(e),i=t&&t.length?p(t):void 0,o=QN(e.attributes.properties,function(e){return e.name&&xR(e.name)&&"key"===e.name.escapedText}),e=o?nD(e.attributes.properties,function(e){return e!==o}):e.attributes.properties;return h(a,HN(e)?T(e,i):m.createObjectLiteralExpression(i?[i]:WN),o,t||WN,r,n)}function h(e,t,r,n,a,i){var n=BO(n),o=1<HN(n)||!(null==(o=n[0])||!o.dotDotDotToken),e=[e,t];r&&e.push(w(r.initializer)),5!==f.jsx||(t=EA(l))&&uB(t)&&(void 0===r&&e.push(m.createVoidZero()),e.push(o?m.createTrue():m.createFalse()),t=gA(t,i.pos),e.push(m.createObjectLiteralExpression([m.createPropertyAssignment("fileName",function(){if(d.filenameDeclaration)return d.filenameDeclaration.name;var e=m.createVariableDeclaration(m.createUniqueName("_jsxFileName",48),void 0,void 0,m.createStringLiteral(l.fileName));return d.filenameDeclaration=e,d.filenameDeclaration.name}()),m.createPropertyAssignment("lineNumber",m.createNumericLiteral(t.line+1)),m.createPropertyAssignment("columnNumber",m.createNumericLiteral(t.character+1))])),e.push(m.createThis()));i=UB(m.createCallExpression(s(o),void 0,e),i);return a&&sx(i),i}function x(e,t,r,n){var a=D(e),i=e.attributes.properties,i=HN(i)?T(i):m.createNull(),e=void 0===d.importSpecifier?qh(m,_.getEmitResolver().getJsxFactoryEntity(l),f.reactNamespace,e):o("createElement"),n=Wh(m,e,a,i,uD(t,c),n);return r&&sx(n),n}function b(e,t,r,n){var a,i;return t&&t.length&&((i=(i=p(i=t))&&m.createObjectLiteralExpression([i]))&&(a=i)),h(o("Fragment"),a||m.createObjectLiteralExpression([]),void 0,t,r,n)}function k(e,t,r,n){n=Hh(m,_.getEmitResolver().getJsxFactoryEntity(l),_.getEmitResolver().getJsxFragmentFactoryEntity(l),f.reactNamespace,uD(t,c),e,n);return r&&sx(n),n}function T(e,t){var r=rM(f);return r&&5<=r?m.createObjectLiteralExpression(function(e,t){e=sD(Ae(e,tB,function(e,r){return sD(iD(e,function(e){return r?nj((t=e).expression)&&!g(t.expression)?t.expression.properties:m.createSpreadAssignment(rA.checkDefined(TJ(t.expression,v,jE))):S(e);var t}))}));t&&e.push(t);return e}(e,t)):function(e,t){var r,n,a,i,o=[],s=[];try{for(var c=__values(e),u=c.next();!u.done;u=c.next()){var _=u.value;if(tB(_))if(!nj(_.expression)||g(_.expression))p(),o.push(rA.checkDefined(TJ(_.expression,v,jE)));else try{for(var l=(a=void 0,__values(_.expression.properties)),d=l.next();!d.done;d=l.next()){var f=d.value;sB(f)?(p(),o.push(rA.checkDefined(TJ(f.expression,v,jE)))):s.push(rA.checkDefined(TJ(f,v)))}}catch(e){a={error:e}}finally{try{d&&!d.done&&(i=l.return)&&i.call(l)}finally{if(a)throw a.error}}else s.push(S(_))}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}t&&s.push(t);p(),o.length&&!nj(o[0])&&o.unshift(m.createObjectLiteralExpression());return pa(o)||y().createAssignHelper(o);function p(){s.length&&(o.push(m.createObjectLiteralExpression(s)),s=[])}}(e,t)}function S(e){var t=function(e){var t=e.name;if(xR(t)){e=LA(t);return/^[A-Za-z_]\w*$/.test(e)?t:m.createStringLiteral(e)}return m.createStringLiteral(LA(t.namespace)+":"+LA(t.name))}(e),e=w(e.initializer);return m.createPropertyAssignment(t,e)}function w(e){if(void 0===e)return m.createTrue();if(11!==e.kind)return 294===e.kind?void 0===e.expression?m.createTrue():rA.checkDefined(TJ(e.expression,v,jE)):Xj(e)?a(e,!1):Qj(e)?i(e,!1):_h(e)?u(e,!1):rA.failBadSyntaxKind(e);var t,r,n=void 0!==e.singleQuote?e.singleQuote:!fl(e,l);return UB(m.createStringLiteral((t=e.text,((r=N(t))===t?void 0:r)||e.text),n),e)}function C(e,t){t=N(t);return void 0===e?t:e+" "+t}function N(e){return e.replace(/&((#((\d+)|x([\da-fA-F]+)))|(\w+));/g,function(e,t,r,n,a,i,o){if(a)return so(parseInt(a,10));if(i)return so(parseInt(i,16));o=wz.get(o);return o?so(o):e})}function D(e){if(284===e.kind)return D(e.openingElement);e=e.tagName;return xR(e)&&VO(e.escapedText)?m.createStringLiteral(LA(e)):rB(e)?m.createStringLiteral(LA(e.namespace)+":"+LA(e.name)):Xh(m,e)}function t(e){var t=TJ(e.expression,v,jE);return e.dotDotDotToken?m.createSpreadElement(t):t}}var Dz=e({"src/compiler/transformers/jsx.ts":function(){MK(),wz=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 Az(t){var o=t.factory,s=t.hoistVariableDeclaration;return dN(t,function(e){if(e.isDeclarationFile)return e;return wJ(e,c,t)});function c(e){return 0==(512&e.transformFlags)?e:226!==e.kind?wJ(e,c,t):function(e){switch(e.operatorToken.kind){case 68:return function(e){var t,r=TJ(e.left,c,jE),n=TJ(e.right,c,jE);{var a,i;r=ij(r)?(i=o.createTempVariable(s),a=o.createTempVariable(s),t=UB(o.createElementAccessExpression(UB(o.createAssignment(i,r.expression),r.expression),UB(o.createAssignment(a,r.argumentExpression),r.argumentExpression)),r),UB(o.createElementAccessExpression(i,a),r)):aj(r)?(i=o.createTempVariable(s),t=UB(o.createPropertyAccessExpression(UB(o.createAssignment(i,r.expression),r.expression),r.name),r),UB(o.createPropertyAccessExpression(i,r.name),r)):t=r}return UB(o.createAssignment(t,UB(o.createGlobalMethodCall("Math","pow",[r,n]),e)),e)}(e);case 43:return function(e){var t=TJ(e.left,c,jE),r=TJ(e.right,c,jE);return UB(o.createGlobalMethodCall("Math","pow",[t,r]),e)}(e);default:return wJ(e,c,t)}}(e)}}var Ez=e({"src/compiler/transformers/es2016.ts":function(){MK()}});function Fz(e,t){return{kind:e,expression:t}}function Pz(l){var u,a,v,i,h,o,x=l.factory,d=l.getEmitHelperFactory,_=l.startLexicalEnvironment,f=l.resumeLexicalEnvironment,p=l.endLexicalEnvironment,m=l.hoistVariableDeclaration,y=l.getCompilerOptions(),g=l.getEmitResolver(),r=l.onSubstituteNode,s=l.onEmitNode;function c(e){i=vD(i,x.createVariableDeclaration(e))}return l.onEmitNode=function(e,t,r){if(1&o&&bE(t)){var n=b(32670,16&p_(t)?81:65);return s(e,t,r),void k(n,0,0)}s(e,t,r)},l.onSubstituteNode=function(e,t){if(t=r(e,t),1===e)return function(e){switch(e.kind){case 80:return function(e){if(2&o&&!$h(e)){var t=g.getReferencedDeclarationWithCollidingName(e);if(t&&(!NE(t)||!function(e,t){var r=PA(t);if(!r||r===e||r.end<=e.pos||r.pos>=e.end)return!1;var n=GF(e);for(;r;){if(r===n||r===e)return!1;if(CE(r)&&r.parent===e)return!0;r=r.parent}return!1}(t,e)))return UB(x.getGeneratedNameForNode(JA(t)),e)}return e}(e);case 110:return function(e){if(1&o&&16&v)return UB(x.createUniqueName("_this",48),e);return e}(e)}return e}(t);if(xR(t))return function(e){if(2&o&&!$h(e)){var t=PA(e,xR);if(t&&function(e){switch(e.parent.kind){case 208:case 263:case 266:case 260:return e.parent.name===e&&g.isDeclarationWithCollidingName(e.parent)}return!1}(t))return UB(x.getGeneratedNameForNode(t),e)}return e}(t);return t},dN(l,function(e){if(e.isDeclarationFile)return e;a=(u=e).text;e=function(e){var t=b(8064,64),r=[],n=[];_();var a=x.copyPrologue(e.statements,r,!1,S);gD(n,SJ(e.statements,S,XE,a)),i&&n.push(x.createVariableStatement(void 0,x.createVariableDeclarationList(i)));return x.mergeLexicalEnvironment(r,p()),B(r,e),k(t,0,0),x.updateSourceFile(e,UB(x.createNodeArray(fD(r,n)),e.statements))}(e);return qy(e,l.readEmitHelpers()),i=a=u=void 0,v=0,e});function b(e,t){var r=v;return v=32767&(v&~e|t),r}function k(e,t,r){v=-32768&(v&~t|r)|e}function T(e){return 0!=(8192&v)&&253===e.kind&&!e.expression}function n(e){return 0!=(1024&e.transformFlags)||void 0!==h||8192&v&&(4194304&(t=e).transformFlags&&(Kg(t)||wj(t)||Gg(t)||Xg(t)||eh(t)||fh(t)||ph(t)||Zg(t)||aB(t)||Qg(t)||JE(t,!1)||kj(t)))||JE(e,!1)&&_e(e)||0!=(1&m_(e));var t}function S(e){return n(e)?D(e,!1):e}function w(e){return n(e)?D(e,!0):e}function C(e){if(n(e)){var t=EA(e);if(AR(t)&&dL(t)){var r=b(32670,16449),t=D(e,!1);return k(r,98304,0),t}return D(e,!1)}return e}function N(e){return 108===e.kind?Se(!0):S(e)}function D(e,t){switch(e.kind){case 126:return;case 263:return function(e){var t=x.createVariableDeclaration(x.getLocalName(e,!0),void 0,void 0,F(e));_R(t,e);var r=[],t=x.createVariableStatement(void 0,x.createVariableDeclarationList([t]));_R(t,e),UB(t,e),sx(t),r.push(t),_L(e,1)&&(_R(e=_L(e,1024)?x.createExportDefault(x.getLocalName(e)):x.createExternalModuleExport(x.getLocalName(e)),t),r.push(e));return Ee(r)}(e);case 231:return F(e);case 169:return function(e){if(!e.dotDotDotToken)return PE(e.name)?_R(UB(x.createParameterDeclaration(void 0,void 0,x.getGeneratedNameForNode(e),void 0,void 0,void 0),e),e):e.initializer?_R(UB(x.createParameterDeclaration(void 0,void 0,e.name,void 0,void 0,void 0),e),e):e}(e);case 262:return function(e){var t=h;h=void 0;var r=b(32670,65),n=MC(e.parameters,S,l),a=W(e),i=32768&v?x.getLocalName(e):e.name;return k(r,98304,0),h=t,x.updateFunctionDeclaration(e,SJ(e.modifiers,S,gE),e.asteriskToken,i,void 0,n,void 0,a)}(e);case 219:return function(e){16384&e.transformFlags&&!(16384&v)&&(v|=65536);var t=h;h=void 0;var r=b(15232,66),n=x.createFunctionExpression(void 0,void 0,void 0,void 0,MC(e.parameters,S,l),void 0,W(e));return UB(n,e),_R(n,e),lR(n,16),k(r,0,0),h=t,n}(e);case 218:return function(e){var t=524288&p_(e)?b(32662,69):b(32670,65),r=h;h=void 0;var n=MC(e.parameters,S,l),a=W(e),i=32768&v?x.getLocalName(e):e.name;return k(t,98304,0),h=r,x.updateFunctionExpression(e,void 0,e.asteriskToken,i,void 0,n,void 0,a)}(e);case 260:return G(e);case 80:return E(e);case 261:return function(e){if(7&e.flags||524288&e.transformFlags){7&e.flags&&we();var t=SJ(e.declarations,1&e.flags?K:G,Aj),r=x.createVariableDeclarationList(t);return _R(r,e),UB(r,e),dR(r,e),524288&e.transformFlags&&(PE(e.declarations[0].name)||PE(ND(e.declarations).name))&&Ey(r,function(e){var t,r,n=-1,a=-1;try{for(var i=__values(e),o=i.next();!o.done;o=i.next()){var s=o.value;n=-1===n?s.pos:-1===s.pos?n:Math.min(n,s.pos),a=Math.max(a,s.end)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return gf(n,a)}(t)),r}return wJ(e,S,l)}(e);case 255:return function(e){if(void 0===h)return wJ(e,S,l);var t=h.allowedNonLabeledJumps;h.allowedNonLabeledJumps|=2;e=wJ(e,S,l);return h.allowedNonLabeledJumps=t,e}(e);case 269:return a=b(7104,0),n=wJ(n=e,S,l),k(a,0,0),n;case 241:return function(e,t){if(t)return wJ(e,S,l);t=256&v?b(7104,512):b(6976,128),e=wJ(e,S,l);return k(t,0,0),e}(e,!1);case 252:case 251:return function(e){if(h){var t=252===e.kind?2:4;if(!(e.label&&h.labels&&h.labels.get(LA(e.label))||!e.label&&h.allowedNonLabeledJumps&t)){var r=void 0,t=e.label;t?252===e.kind?(r="break-".concat(t.escapedText),ye(h,!0,LA(t),r)):(r="continue-".concat(t.escapedText),ye(h,!1,LA(t),r)):r=252===e.kind?(h.nonLocalJumps|=2,"break"):(h.nonLocalJumps|=4,"continue");r=x.createStringLiteral(r);if(h.loopOutParameters.length){for(var n=h.loopOutParameters,a=void 0,i=0;i<n.length;i++){var o=pe(n[i],1);a=0===i?o:x.createBinaryExpression(a,28,o)}r=x.createBinaryExpression(a,28,r)}return x.createReturnStatement(r)}}return wJ(e,S,l)}(e);case 256:return function(e){h&&!h.labels&&(h.labels=new Map);var t=G_(e,h&&X);return JE(t,!1)?function(e,t){switch(e.kind){case 246:case 247:return Z(e,t);case 248:return $(e,t);case 249:return ee(e,t);case 250:return te(e,t)}}(t,e):x.restoreEnclosingLabel(rA.checkDefined(TJ(t,S,XE,x.liftToBlock)),e,h&&Q)}(e);case 246:case 247:return Z(e,void 0);case 248:return $(e,void 0);case 249:return ee(e,void 0);case 250:return te(e,void 0);case 244:return wJ(e,w,l);case 210:return function(e){for(var t=e.properties,r=-1,n=!1,a=0;a<t.length;a++){var i=t[a];if(1048576&i.transformFlags&&4&v||(n=167===rA.checkDefined(i.name).kind)){r=a;break}}if(r<0)return wJ(e,S,l);var o=x.createTempVariable(m),s=[],c=x.createAssignment(o,lR(x.createObjectLiteralExpression(SJ(t,S,EE,0,r),e.multiLine),n?131072:0));e.multiLine&&sx(c);return s.push(c),function(e,t,r,n){for(var a=t.properties,i=a.length,o=n;o<i;o++){var s=a[o];switch(s.kind){case 177:case 178:var c=rL(t.properties,s);s===c.firstAccessor&&e.push(V(r,c,t,!!t.multiLine));break;case 174:e.push(function(e,t,r,n){r=x.createAssignment(zh(x,t,rA.checkDefined(TJ(e.name,S,xE))),q(e,e,void 0,r));UB(r,e),n&&sx(r);return r}(s,r,t,t.multiLine));break;case 303:e.push(function(e,t,r){t=x.createAssignment(zh(x,t,rA.checkDefined(TJ(e.name,S,xE))),rA.checkDefined(TJ(e.initializer,S,jE)));UB(t,e),r&&sx(t);return t}(s,r,t.multiLine));break;case 304:e.push(function(e,t,r){t=x.createAssignment(zh(x,t,rA.checkDefined(TJ(e.name,S,xE))),x.cloneNode(e.name));UB(t,e),r&&sx(t);return t}(s,r,t.multiLine));break;default:rA.failBadSyntaxKind(t)}}}(s,e,o,r),s.push(e.multiLine?sx(jM(UB(x.cloneNode(o),o),o.parent)):o),x.inlineExpressions(s)}(e);case 299:return function(e){var t=b(7104,0);{var r,n;rA.assert(!!e.variableDeclaration,"Catch clause variable should always be present when downleveling ES2015."),e=PE(e.variableDeclaration.name)?(n=x.createTempVariable(void 0),UB(r=x.createVariableDeclaration(n),e.variableDeclaration),n=zN(e.variableDeclaration,S,l,0,n),UB(n=x.createVariableDeclarationList(n),e.variableDeclaration),n=x.createVariableStatement(void 0,n),x.updateCatchClause(e,r,function(e,t){var r=SJ(e.statements,S,XE);return x.updateBlock(e,__spreadArray([t],__read(r),!1))}(e.block,n))):wJ(e,S,l)}return k(t,0,0),e}(e);case 304:return n=e,UB(x.createPropertyAssignment(n.name,E(x.cloneNode(n.name))),n);case 167:return wJ(e,S,l);case 209:return function(e){if(dD(e.elements,yj))return xe(e.elements,!1,!!e.multiLine,!!e.elements.hasTrailingComma);return wJ(e,S,l)}(e);case 213:return function(e){if(1&m_(e))return function(e){function t(e){return Tj(e)&&!!SD(e.declarationList.declarations).initializer}var r,n,a=JD(JD(RB(e.expression),lj).body,kj),i=h;h=void 0;var o=SJ(a.statements,C,XE);h=i;var s=nD(o,t),c=nD(o,function(e){return!t(e)}),u=JD(SD(s),Tj).declarationList.declarations[0],_=RB(u.initializer),l=BD(_,NL);!l&&mj(_)&&28===_.operatorToken.kind&&(l=BD(_.left,NL));var a=JD(l?RB(l.right):_,oj),i=JD(RB(a.expression),_j),d=i.body.statements,o=0,f=-1,p=[];l&&((_=BD(d[o],Sj))&&(p.push(_),o++),p.push(d[o]),o++,p.push(x.createExpressionStatement(x.createAssignment(l.left,JD(u.name,xR)))));for(;!Kg(De(d,f));)f--;gD(p,d,o,f),f<-1&&gD(p,d,f+1);var m=BD(De(d,f),Kg);try{for(var y=__values(c),v=y.next();!v.done;v=y.next()){var g=v.value;Kg(g)&&null!=m&&m.expression&&!xR(m.expression)?p.push(m):p.push(g)}}catch(e){r={error:e}}finally{try{v&&!v.done&&(n=y.return)&&n.call(y)}finally{if(r)throw r.error}}return gD(p,s,1),x.restoreOuterExpressions(e.expression,x.restoreOuterExpressions(u.initializer,x.restoreOuterExpressions(l&&l.right,x.updateCallExpression(a,x.restoreOuterExpressions(a.expression,x.updateFunctionExpression(i,void 0,void 0,void 0,void 0,i.parameters,void 0,x.updateBlock(i.body,p))),void 0,a.arguments))))}(e);var t=RB(e.expression);if(108===t.kind||VP(t)||dD(e.arguments,yj))return he(e,!0);return x.updateCallExpression(e,rA.checkDefined(TJ(e.expression,N,jE)),void 0,SJ(e.arguments,S,jE))}(e);case 214:return function(e){if(dD(e.arguments,yj)){var t=x.createCallBinding(x.createPropertyAccessExpression(e.expression,"bind"),m),r=t.target,t=t.thisArg;return x.createNewExpression(x.createFunctionApplyCall(rA.checkDefined(TJ(r,S,jE)),t,xe(x.createNodeArray(__spreadArray([x.createVoidZero()],__read(e.arguments),!1)),!0,!1,!1)),void 0,[])}return wJ(e,S,l)}(e);case 217:return wJ(e,t?w:S,l);case 226:return H(e,t);case 361:return function(e,t){if(t)return wJ(e,w,l);for(var r,n=0;n<e.elements.length;n++){var a=e.elements[n],i=TJ(a,n<e.elements.length-1?w:S,jE);!r&&i===a||(r=r||e.elements.slice(0,n),rA.assert(i),r.push(i))}t=r?UB(x.createNodeArray(r),e.elements):e.elements;return x.updateCommaListExpression(e,t)}(e,t);case 15:case 16:case 17:case 18:return r=e,UB(x.createStringLiteral(r.text),r);case 11:return function(e){if(e.hasExtendedUnicodeEscape)return UB(x.createStringLiteral(e.text),e);return e}(e);case 9:return function(e){if(384&e.numericLiteralFlags)return UB(x.createNumericLiteral(e.text),e);return e}(e);case 215:return HJ(l,e,S,u,c,1);case 228:return function(e){var t,r,n=x.createStringLiteral(e.head.text);try{for(var a=__values(e.templateSpans),i=a.next();!i.done;i=a.next()){var o=i.value,s=[rA.checkDefined(TJ(o.expression,S,jE))];0<o.literal.text.length&&s.push(x.createStringLiteral(o.literal.text)),n=x.createCallExpression(x.createPropertyAccessExpression(n,"concat"),void 0,s)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return UB(n,e)}(e);case 229:return wJ(e,S,l);case 230:return TJ(e.expression,S,jE);case 108:return Se(!1);case 110:return function(e){2&v&&!(16384&v)&&(v|=65536);if(h)return 2&v?(h.containsLexicalThis=!0,e):h.thisName||(h.thisName=x.createUniqueName("this"));return e}(e);case 236:return 105!==(r=e).keywordToken||"target"!==r.name.escapedText?r:(v|=32768,x.createUniqueName("_newTarget",48));case 174:return function(e){rA.assert(!SR(e.name));var t=q(e,xf(e,-1),void 0,void 0);return lR(t,1024|p_(t)),UB(x.createPropertyAssignment(e.name,t),e)}(e);case 177:case 178:return function(e){rA.assert(!SR(e.name));var t=h;h=void 0;var r=b(32670,65),n=MC(e.parameters,S,l),a=W(e);a=177===e.kind?x.updateGetAccessorDeclaration(e,e.modifiers,e.name,n,e.type,a):x.updateSetAccessorDeclaration(e,e.modifiers,e.name,n,a);return k(r,98304,0),h=t,a}(e);case 243:return function(e){var t,r,n,a=b(0,_L(e,1)?32:0);if(h&&0==(7&e.declarationList.flags)&&!function(e){return 1===e.declarationList.declarations.length&&!!e.declarationList.declarations[0].initializer&&!!(1&m_(e.declarationList.declarations[0].initializer))}(e)){var i=void 0;try{for(var o=__values(e.declarationList.declarations),s=o.next();!s.done;s=o.next()){var c,u=s.value;!function(s,e){s.hoistedLocalVariables||(s.hoistedLocalVariables=[]),function e(t){var r,n;if(80===t.kind)s.hoistedLocalVariables.push(t);else try{for(var a=__values(t.elements),i=a.next();!i.done;i=a.next()){var o=i.value;gj(o)||e(o.name)}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}(e.name)}(h,u),u.initializer&&(c=void 0,PE(u.name)?c=jN(u,S,l,0):UB(c=x.createBinaryExpression(u.name,64,rA.checkDefined(TJ(u.initializer,S,jE))),u),i=vD(i,c))}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}n=i?UB(x.createExpressionStatement(x.inlineExpressions(i)),e):void 0}else n=wJ(e,S,l);return k(a,0,0),n}(e);case 253:return function(e){{if(h)return h.nonLocalJumps|=8,T(e)&&(e=A(e)),x.createReturnStatement(x.createObjectLiteralExpression([x.createPropertyAssignment(x.createIdentifier("value"),e.expression?rA.checkDefined(TJ(e.expression,S,jE)):x.createVoidZero())]));if(T(e))return A(e)}return wJ(e,S,l)}(e);case 222:return wJ(e,w,l);default:return wJ(e,S,l)}var r,n,a}function A(e){return _R(x.createReturnStatement(x.createUniqueName("_this",48)),e)}function E(e){return h&&g.isArgumentsLocalBinding(e)?h.argumentsName||(h.argumentsName=x.createUniqueName("arguments")):256&e.flags?_R(UB(x.createIdentifier(OA(e.escapedText)),e),e):e}function F(e){e.name&&we();var t=vO(e),r=x.createFunctionExpression(void 0,void 0,void 0,void 0,t?[x.createParameterDeclaration(void 0,void 0,x.createUniqueName("_super",48))]:[],void 0,function(e,t){var r=[],n=x.getInternalName(e),n=Gl(n)?x.getGeneratedNameForNode(n):n;_(),function(e,t,r){r&&e.push(UB(x.createExpressionStatement(d().createExtendsHelper(x.getInternalName(t))),r))}(r,e,t),function(e,t,r,n){var a=h;h=void 0;var i=b(32662,73),o=XO(t),s=function(e,t){if(!e||!t)return!1;if(dD(e.parameters))return!1;t=kD(e.body.statements);if(!t||!jO(t)||244!==t.kind)return!1;e=t.expression;if(!jO(e)||213!==e.kind)return!1;t=e.expression;if(!jO(t)||108!==t.kind)return!1;e=pa(e.arguments);if(!e||!jO(e)||230!==e.kind)return!1;e=e.expression;return xR(e)&&"arguments"===e.escapedText}(o,void 0!==n),s=x.createFunctionDeclaration(void 0,void 0,r,void 0,function(e,t){return MC(e&&!t?e.parameters:void 0,S,l)||[]}(o,s),void 0,function(e,t,r,n){var a=!!r&&106!==RB(r.expression).kind;if(!e)return function(e,t){var r=[];f(),x.mergeLexicalEnvironment(r,p()),t&&r.push(x.createReturnStatement(L()));r=x.createNodeArray(r);UB(r,e.members);r=x.createBlock(r,!0);return UB(r,e),lR(r,3072),r}(t,a);var i=[],o=[];f();r=x.copyStandardPrologue(e.body.statements,i,0),t=kN(e.body.statements,r);(n||0<t.length)&&(v|=8192);a=function e(t,r,n,a,i,o,s,c,u,_){var l=!1;var d=o<i.length?i[o]:-1;var f=0<=d?d:n.length;if(_&&0<=d){for(var p=a;_&&p<d;){var m=s.body.statements[p];if(!P(m)&&!I(m))break;p++}_=d===p}gD(r,SJ(n,S,XE,a,f-a));a=0<=d?n[d]:void 0;if(a&&Zg(a)){var y=[];l=e(t,y,a.tryBlock.statements,0,i,o+1,s,c,u,_);var o=x.createNodeArray(y);UB(o,a.tryBlock.statements),r.push(x.updateTryStatement(a,x.updateBlock(a.tryBlock,y),TJ(a.catchClause,S,aB),TJ(a.finallyBlock,S,kj)))}else{var y=a&&bN(a),a=void 0;if(u?(a=L(),v|=8192):y&&(a=ge(y),v|=8192),c||a){if(a&&d===n.length-1&&!(16384&s.body.transformFlags)){var y=JD(JD(a,mj).left,oj),c=x.createReturnStatement(a);return dR(c,Ly(y)),lR(y,3072),r.push(c),!1}_?z(r,s,a||O()):(z(t,s,O()),a&&J(r,a)),l=!0}else B(t,s)}0<=d&&gD(r,SJ(n,S,XE,d+1));return l}(i,o,e.body.statements,r,t,0,e,a,n,!0);R(i,e),j(i,e,n),U(i,e),x.mergeLexicalEnvironment(i,p()),a&&!function e(t){{if(253===t.kind)return!0;if(245===t.kind){var r=t;if(r.elseStatement)return e(r.thenStatement)&&e(r.elseStatement)}else if(241===t.kind){var t=CD(t.statements);if(t&&e(t))return!0}}return!1}(e.body)&&o.push(x.createReturnStatement(x.createUniqueName("_this",48)));o=x.createBlock(UB(x.createNodeArray(__spreadArray(__spreadArray([],__read(i),!1),__read(o),!1)),e.body.statements),!0);return UB(o,e.body),o}(o,t,n,s));UB(s,o||t),n&&lR(s,16),e.push(s),k(i,98304,0),h=a}(r,e,n,t),function(e,t){var r,n;try{for(var a=__values(t.members),i=a.next();!i.done;i=a.next()){var o=i.value;switch(o.kind){case 240:e.push(function(e){return UB(x.createEmptyStatement(),e)}(o));break;case 174:e.push(function(e,t,r){var n=Ly(t),a=Ay(t),i=q(t,t,void 0,r),o=TJ(t.name,S,xE);rA.assert(o),s=!bR(o)&&mM(l.getCompilerOptions())?(r=SR(o)?o.expression:xR(o)?x.createStringLiteral(OA(o.escapedText)):o,x.createObjectDefinePropertyCall(e,r,x.createPropertyDescriptor({value:i,enumerable:!1,writable:!0,configurable:!0}))):(s=zh(x,e,o,t.name),x.createAssignment(s,i));lR(i,3072),Ey(i,a);var s=UB(x.createExpressionStatement(s),t);return _R(s,t),dR(s,n),lR(s,96),s}(Ne(t,o),o,t));break;case 177:case 178:var s=rL(t.members,o);o===s.firstAccessor&&e.push(function(e,t,r){r=x.createExpressionStatement(V(e,t,r,!1));return lR(r,3072),Ey(r,Ay(t.firstAccessor)),r}(Ne(t,o),s,t));break;case 176:case 175:break;default:rA.failBadSyntaxKind(o,u&&u.fileName)}}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}(r,e);t=Sf(xA(a,e.members.end),20),n=x.createPartiallyEmittedExpression(n);Dm(n,t.end),lR(n,3072);n=x.createReturnStatement(n);Nm(n,t.pos),lR(n,3840),r.push(n),t_(r,p());e=x.createBlock(UB(x.createNodeArray(r),e.members),!0);return lR(e,3072),e}(e,t));lR(r,131072&p_(e)|1048576);r=x.createPartiallyEmittedExpression(r);Dm(r,e.end),lR(r,3072);r=x.createPartiallyEmittedExpression(r);Dm(r,xA(a,e.pos)),lR(r,3072);t=x.createParenthesizedExpression(x.createCallExpression(r,void 0,t?[rA.checkDefined(TJ(t.expression,S,jE))]:[]));return pR(t,3,"* @class "),t}function P(e){return Tj(e)&&XN(e.declarationList.declarations,function(e){return xR(e.name)&&!e.initializer})}function I(e){if(Tj(e)&&1===e.declarationList.declarations.length){var t=e.declarationList.declarations[0];if(xR(t.name)&&t.initializer){var r=t.initializer;if(nj(r)&&3===r.properties.length){e=__read(r.properties,3),t=e[0],r=e[1],e=e[2];return iB(t)&&xR(t.name)&&"stack"===LA(t.name)&&rj(t.initializer)?iB(r)&&xR(r.name)&&"error"===LA(r.name)&&Eg(r.initializer)&&gR(r.initializer.expression)&&!(!iB(e)||!xR(e.name)||"hasError"!==LA(e.name)||97!==e.initializer.kind):void 0}}}}function O(){return lR(x.createThis(),8)}function L(){return x.createLogicalOr(x.createLogicalAnd(x.createStrictInequality(x.createUniqueName("_super",48),x.createNull()),x.createFunctionApplyCall(x.createUniqueName("_super",48),O(),x.createIdentifier("arguments"))),O())}function M(e){return void 0!==e.initializer||PE(e.name)}function R(e,t){var r,n;if(!dD(t.parameters,M))return!1;var a,i=!1;try{for(var o=__values(t.parameters),s=o.next();!s.done;s=o.next()){var c=s.value,u=c.name,_=c.initializer;c.dotDotDotToken||(PE(u)?i=function(e,t,r,n){{if(0<r.elements.length)return a_(e,lR(x.createVariableStatement(void 0,x.createVariableDeclarationList(zN(t,S,l,0,x.getGeneratedNameForNode(t)))),2097152)),!0;if(n)return a_(e,lR(x.createExpressionStatement(x.createAssignment(x.getGeneratedNameForNode(t),rA.checkDefined(TJ(n,S,jE)))),2097152)),!0}return!1}(e,c,u,_)||i:_&&(a=e,c=c,u=u,_=_,_=rA.checkDefined(TJ(_,S,jE)),sx(_=x.createIfStatement(x.createTypeCheck(x.cloneNode(u),"undefined"),lR(UB(x.createBlock([x.createExpressionStatement(lR(UB(x.createAssignment(lR(jM(UB(x.cloneNode(u),u),u.parent),96),lR(_,3168|p_(_))),c),3072))]),c),3905))),UB(_,c),lR(_,2101056),a_(a,_),i=!0))}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return i}function j(e,t,r){var n=[],a=CD(t.parameters);if(o=r,!(i=a)||!i.dotDotDotToken||o)return!1;r=80===a.name.kind?jM(UB(x.cloneNode(a.name),a.name),a.name.parent):x.createTempVariable(void 0);lR(r,96);var i=80===a.name.kind?x.cloneNode(a.name):r,o=t.parameters.length-1,t=x.createLoopVariable();n.push(lR(UB(x.createVariableStatement(void 0,x.createVariableDeclarationList([x.createVariableDeclaration(r,void 0,void 0,x.createArrayLiteralExpression([]))])),a),2097152));t=x.createForStatement(UB(x.createVariableDeclarationList([x.createVariableDeclaration(t,void 0,void 0,x.createNumericLiteral(o))]),a),UB(x.createLessThan(t,x.createPropertyAccessExpression(x.createIdentifier("arguments"),"length")),a),UB(x.createPostfixIncrement(t),a),x.createBlock([sx(UB(x.createExpressionStatement(x.createAssignment(x.createElementAccessExpression(i,0==o?t:x.createSubtract(t,x.createNumericLiteral(o))),x.createElementAccessExpression(x.createIdentifier("arguments"),t))),a))]));return lR(t,2097152),sx(t),n.push(t),80!==a.name.kind&&n.push(lR(UB(x.createVariableStatement(void 0,x.createVariableDeclarationList(zN(a,S,l,0,i))),a),2097152)),r_(e,n),!0}function B(e,t){return 65536&v&&219!==t.kind&&(z(e,t,x.createThis()),1)}function J(e,t){Ce();var r=x.createExpressionStatement(x.createBinaryExpression(x.createThis(),64,t));e.push(r),dR(r,EA(t).parent)}function z(e,t,r){Ce();r=x.createVariableStatement(void 0,x.createVariableDeclarationList([x.createVariableDeclaration(x.createUniqueName("_this",48),void 0,void 0,r)]));lR(r,2100224),Ey(r,t),a_(e,r)}function U(e,t){if(32768&v){var r=void 0;switch(t.kind){case 219:return e;case 174:case 177:case 178:r=x.createVoidZero();break;case 176:r=x.createPropertyAccessExpression(lR(x.createThis(),8),"constructor");break;case 262:case 218:r=x.createConditionalExpression(x.createLogicalAnd(lR(x.createThis(),8),x.createBinaryExpression(lR(x.createThis(),8),104,x.getLocalName(t))),void 0,x.createPropertyAccessExpression(lR(x.createThis(),8),"constructor"),void 0,x.createVoidZero());break;default:return rA.failBadSyntaxKind(t)}var n=x.createVariableStatement(void 0,x.createVariableDeclarationList([x.createVariableDeclaration(x.createUniqueName("_newTarget",48),void 0,void 0,r)]));lR(n,2100224),a_(e,n)}return e}function V(e,t,r,n){var a=t.firstAccessor,i=t.getAccessor,o=t.setAccessor,s=jM(UB(x.cloneNode(e),e),e.parent);lR(s,3136),Ey(s,a.name);t=TJ(a.name,S,xE);if(rA.assert(t),bR(t))return rA.failBadSyntaxKind(t,"Encountered unhandled private identifier while transforming ES2015.");e=Qh(x,t);lR(e,3104),Ey(e,a.name);t=[];i&&(Ey(a=q(i,void 0,void 0,r),Ay(i)),lR(a,1024),dR(a=x.createPropertyAssignment("get",a),Ly(i)),t.push(a)),o&&(Ey(r=q(o,void 0,void 0,r),Ay(o)),lR(r,1024),dR(r=x.createPropertyAssignment("set",r),Ly(o)),t.push(r)),t.push(x.createPropertyAssignment("enumerable",i||o?x.createFalse():x.createTrue()),x.createPropertyAssignment("configurable",x.createTrue()));t=x.createCallExpression(x.createPropertyAccessExpression(x.createIdentifier("Object"),"defineProperty"),void 0,[s,e,x.createObjectLiteralExpression(t,!0)]);return n&&sx(t),t}function q(e,t,r,n){var a=h;h=void 0;var i=n&&NE(n)&&!lL(e)?b(32670,73):b(32670,65),o=MC(e.parameters,S,l),n=W(e);return 32768&v&&!r&&(262===e.kind||218===e.kind)&&(r=x.getGeneratedNameForNode(e)),k(i,98304,0),h=a,_R(UB(x.createFunctionExpression(void 0,e.asteriskToken,r,void 0,o,void 0,n),t),e)}function W(e){var t,r,n=!1,a=!1,i=[],o=[],s=e.body;if(f(),kj(s)&&(t=x.copyStandardPrologue(s.statements,i,0,!1),t=x.copyCustomPrologue(s.statements,o,t,S,U_),t=x.copyCustomPrologue(s.statements,o,t,S,q_)),n=R(o,e)||n,n=j(o,e,!1)||n,kj(s)?(t=x.copyCustomPrologue(s.statements,o,t,S),c=s.statements,gD(o,SJ(s.statements,S,XE,t)),!n&&s.multiLine&&(n=!0)):(rA.assert(219===e.kind),c=hf(s,-1),jO(r=e.equalsGreaterThanToken)||jO(s)||(Af(r,s,u)?a=!0:n=!0),r=TJ(s,S,jE),UB(r=x.createReturnStatement(r),s),Jy(r,s),lR(r,2880),o.push(r),r=s),x.mergeLexicalEnvironment(i,p()),U(i,e),B(i,e),dD(i)&&(n=!0),o.unshift.apply(o,__spreadArray([],__read(i),!1)),kj(s)&&nr(o,s.statements))return s;var c=x.createBlock(UB(x.createNodeArray(o),c),n);return UB(c,e.body),!n&&a&&lR(c,1),r&&Py(c,20,r),_R(c,e.body),c}function H(e,t){return sf(e)?jN(e,S,l,0,!t):28===e.operatorToken.kind?x.updateBinaryExpression(e,rA.checkDefined(TJ(e.left,w,jE)),e.operatorToken,rA.checkDefined(TJ(e.right,t?w:S,jE))):wJ(e,S,l)}function K(e){var t,r,n;return PE(e.name)?G(e):e.initializer||(t=e,r=16384&(n=g.getNodeCheckFlags(t)),n&=32768,0!=(64&v)||r&&n&&0!=(512&v)||0!=(4096&v)||g.isDeclarationWithCollidingName(t)&&(!n||r||0!=(6144&v)))?wJ(e,S,l):x.updateVariableDeclaration(e,e.name,void 0,void 0,x.createVoidZero())}function G(e){var t=b(32,0),e=PE(e.name)?zN(e,S,l,0,void 0,0!=(32&t)):wJ(e,S,l);return k(t,0,0),e}function X(e){h.labels.set(LA(e.label),!0)}function Q(e){h.labels.set(LA(e.label),!1)}function Y(e,t,r,n,a){t=b(e,t),a=function(e,t,r,n){if(!_e(e)){var a=void 0;h&&(a=h.allowedNonLabeledJumps,h.allowedNonLabeledJumps=6);var i=n?n(e,t,void 0,r):x.restoreEnclosingLabel(Cj(e)?function(e){return x.updateForStatement(e,TJ(e.initializer,w,mc),TJ(e.condition,S,jE),TJ(e.incrementor,w,jE),rA.checkDefined(TJ(e.statement,S,XE,x.liftToBlock)))}(e):wJ(e,S,l),t,h&&Q);return h&&(h.allowedNonLabeledJumps=a),i}var o=function(e){var t,r,n;switch(e.kind){case 248:case 249:case 250:var a=e.initializer;a&&261===a.kind&&(n=a)}var i=[],o=[];if(n&&7&AA(n)){var s=se(e)||ce(e)||ue(e);try{for(var c=__values(n.declarations),u=c.next();!u.done;u=c.next()){var _=u.value;!function e(t,r,n,a,i){var o,s;var c=r.name;if(PE(c))try{for(var u=__values(c.elements),_=u.next();!_.done;_=u.next()){var l=_.value;gj(l)||e(t,l,n,a,i)}}catch(e){o={error:e}}finally{try{_&&!_.done&&(s=u.return)&&s.call(u)}finally{if(o)throw o.error}}else{n.push(x.createParameterDeclaration(void 0,void 0,c));var d,f,p=g.getNodeCheckFlags(r);(65536&p||i)&&(d=x.createUniqueName("out_"+LA(c)),f=0,65536&p&&(f|=1),Cj(t)&&(t.initializer&&g.isBindingCapturedByNode(t.initializer,r)&&(f|=2),(t.condition&&g.isBindingCapturedByNode(t.condition,r)||t.incrementor&&g.isBindingCapturedByNode(t.incrementor,r))&&(f|=1)),a.push({flags:f,originalName:c,outParamName:d}))}}(e,_,i,o,s)}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(t)throw t.error}}}var l={loopParameters:i,loopOutParameters:o};h&&(h.argumentsName&&(l.argumentsName=h.argumentsName),h.thisName&&(l.thisName=h.thisName),h.hoistedLocalVariables&&(l.hoistedLocalVariables=h.hoistedLocalVariables));return l}(e),s=[],c=h;h=o;a=se(e)?function(e,t){var r=x.createUniqueName("_loop_init"),n=0!=(1048576&e.initializer.transformFlags),a=0;t.containsLexicalThis&&(a|=16);n&&4&v&&(a|=524288);var i=[];i.push(x.createVariableStatement(void 0,e.initializer)),me(t.loopOutParameters,2,1,i);a=x.createVariableStatement(void 0,lR(x.createVariableDeclarationList([x.createVariableDeclaration(r,void 0,void 0,lR(x.createFunctionExpression(void 0,n?x.createToken(42):void 0,void 0,void 0,void 0,void 0,rA.checkDefined(TJ(x.createBlock(i,!0),S,kj))),a))]),4194304)),t=x.createVariableDeclarationList(iD(t.loopOutParameters,fe));return{functionName:r,containsYield:n,functionDeclaration:a,part:t}}(e,o):void 0,i=le(e)?function(e,t,r){var n=x.createUniqueName("_loop");_();var a=TJ(e.statement,S,XE,x.liftToBlock),i=p(),o=[];(ce(e)||ue(e))&&(t.conditionVariable=x.createUniqueName("inc"),e.incrementor?o.push(x.createIfStatement(t.conditionVariable,x.createExpressionStatement(rA.checkDefined(TJ(e.incrementor,S,jE))),x.createExpressionStatement(x.createAssignment(t.conditionVariable,x.createTrue())))):o.push(x.createIfStatement(x.createLogicalNot(t.conditionVariable),x.createExpressionStatement(x.createAssignment(t.conditionVariable,x.createTrue())))),ce(e)&&o.push(x.createIfStatement(x.createPrefixUnaryExpression(54,rA.checkDefined(TJ(e.condition,S,jE))),rA.checkDefined(TJ(x.createBreakStatement(),S,XE)))));rA.assert(a),kj(a)?gD(o,a.statements):o.push(a);me(t.loopOutParameters,1,1,o),t_(o,i);o=x.createBlock(o,!0);kj(a)&&_R(o,a);a=0!=(1048576&e.statement.transformFlags),e=1048576;t.containsLexicalThis&&(e|=16);a&&0!=(4&v)&&(e|=524288);e=x.createVariableStatement(void 0,lR(x.createVariableDeclarationList([x.createVariableDeclaration(n,void 0,void 0,lR(x.createFunctionExpression(void 0,a?x.createToken(42):void 0,void 0,void 0,t.loopParameters,void 0,o),e))]),4194304)),r=function(e,t,r,n){var a=[],i=!(-5&t.nonLocalJumps||t.labeledNonLocalBreaks||t.labeledNonLocalContinues),e=x.createCallExpression(e,void 0,iD(t.loopParameters,function(e){return e.name})),e=n?x.createYieldExpression(x.createToken(42),lR(e,8388608)):e;{var o;i?(a.push(x.createExpressionStatement(e)),me(t.loopOutParameters,1,0,a)):(i=x.createUniqueName("state"),e=x.createVariableStatement(void 0,x.createVariableDeclarationList([x.createVariableDeclaration(i,void 0,void 0,e)])),a.push(e),me(t.loopOutParameters,1,0,a),8&t.nonLocalJumps&&(o=void 0,o=r?(r.nonLocalJumps|=8,x.createReturnStatement(i)):x.createReturnStatement(x.createPropertyAccessExpression(i,"value")),a.push(x.createIfStatement(x.createTypeCheck(i,"object"),o))),2&t.nonLocalJumps&&a.push(x.createIfStatement(x.createStrictEquality(i,x.createStringLiteral("break")),x.createBreakStatement())),(t.labeledNonLocalBreaks||t.labeledNonLocalContinues)&&(o=[],ve(t.labeledNonLocalBreaks,!0,i,r,o),ve(t.labeledNonLocalContinues,!1,i,r,o),a.push(x.createSwitchStatement(i,x.createCaseBlock(o)))))}return a}(n,t,r,a);return{functionName:n,containsYield:a,functionDeclaration:e,part:r}}(e,o,c):void 0;h=c,a&&s.push(a.functionDeclaration);i&&s.push(i.functionDeclaration);(function(e,t,r){var n,a,i,o,s;if(t.argumentsName&&(r?r.argumentsName=t.argumentsName:(s=s||[]).push(x.createVariableDeclaration(t.argumentsName,void 0,void 0,x.createIdentifier("arguments")))),t.thisName&&(r?r.thisName=t.thisName:(s=s||[]).push(x.createVariableDeclaration(t.thisName,void 0,void 0,x.createIdentifier("this")))),t.hoistedLocalVariables)if(r)r.hoistedLocalVariables=t.hoistedLocalVariables;else{s=s||[];try{for(var c=__values(t.hoistedLocalVariables),u=c.next();!u.done;u=c.next()){var _=u.value;s.push(x.createVariableDeclaration(_))}}catch(e){n={error:e}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(n)throw n.error}}}if(t.loopOutParameters.length){s=s||[];try{for(var l=__values(t.loopOutParameters),d=l.next();!d.done;d=l.next()){var f=d.value;s.push(x.createVariableDeclaration(f.outParamName))}}catch(e){i={error:e}}finally{try{d&&!d.done&&(o=l.return)&&o.call(l)}finally{if(i)throw i.error}}}t.conditionVariable&&(s=s||[]).push(x.createVariableDeclaration(t.conditionVariable,void 0,void 0,x.createFalse())),s&&e.push(x.createVariableStatement(void 0,x.createVariableDeclarationList(s)))})(s,o,c),a&&s.push(function(e,t){e=x.createCallExpression(e,void 0,[]),e=t?x.createYieldExpression(x.createToken(42),lR(e,8388608)):e;return x.createExpressionStatement(e)}(a.functionName,a.containsYield));{var u;t=i?n?n(e,t,i.part,r):(u=de(e,a,x.createBlock(i.part,!0)),x.restoreEnclosingLabel(u,t,h&&Q)):(u=de(e,a,rA.checkDefined(TJ(e.statement,S,XE,x.liftToBlock))),x.restoreEnclosingLabel(u,t,h&&Q))}return s.push(t),s}(r,n,t,a);return k(t,0,0),a}function Z(e,t){return Y(0,1280,e,t)}function $(e,t){return Y(5056,3328,e,t)}function ee(e,t){return Y(3008,5376,e,t)}function te(e,t){return Y(3008,5376,e,t,y.downlevelIteration?ie:ae)}function re(e,t,r){var n,a,i,o=[],s=e.initializer;if(Ej(s)?(7&e.initializer.flags&&we(),(n=kD(s.declarations))&&PE(n.name)?(a=zN(n,S,l,0,t),_R(i=UB(x.createVariableDeclarationList(a),e.initializer),e.initializer),Ey(i,gf(a[0].pos,ND(a).end)),o.push(x.createVariableStatement(void 0,i))):o.push(UB(x.createVariableStatement(void 0,_R(UB(x.createVariableDeclarationList([x.createVariableDeclaration(n?n.name:x.createTempVariable(void 0),void 0,void 0,t)]),xf(s,-1)),s)),hf(s,-1)))):sf(t=x.createAssignment(s,t))?o.push(x.createExpressionStatement(H(t,!0))):(Dm(t,s.end),o.push(UB(x.createExpressionStatement(rA.checkDefined(TJ(t,S,jE))),hf(s,-1)))),r)return ne(gD(o,r));e=TJ(e.statement,S,XE,x.liftToBlock);return rA.assert(e),kj(e)?x.updateBlock(e,UB(x.createNodeArray(fD(o,e.statements)),e.statements)):(o.push(e),ne(o))}function ne(e){return lR(x.createBlock(x.createNodeArray(e),!0),864)}function ae(e,t,r){var n=TJ(e.expression,S,jE);rA.assert(n);var a=x.createLoopVariable(),i=xR(n)?x.getGeneratedNameForNode(n):x.createTempVariable(void 0);lR(n,96|p_(n));r=UB(x.createForStatement(lR(UB(x.createVariableDeclarationList([UB(x.createVariableDeclaration(a,void 0,void 0,x.createNumericLiteral(0)),xf(e.expression,-1)),UB(x.createVariableDeclaration(i,void 0,void 0,n),e.expression)]),e.expression),4194304),UB(x.createLessThan(a,x.createPropertyAccessExpression(i,"length")),e.expression),UB(x.createPostfixIncrement(a),e.expression),re(e,x.createElementAccessExpression(i,a),r)),e);return lR(r,512),UB(r,e),x.restoreEnclosingLabel(r,t,h&&Q)}function ie(e,t,r,n){var a=TJ(e.expression,S,jE);rA.assert(a);var i=xR(a)?x.getGeneratedNameForNode(a):x.createTempVariable(void 0),o=xR(a)?x.getGeneratedNameForNode(i):x.createTempVariable(void 0),s=x.createUniqueName("e"),c=x.getGeneratedNameForNode(s),u=x.createTempVariable(void 0),_=UB(d().createValuesHelper(a),e.expression),a=x.createCallExpression(x.createPropertyAccessExpression(i,"next"),void 0,[]);m(s),m(u);_=1024&n?x.inlineExpressions([x.createAssignment(s,x.createVoidZero()),_]):_,e=lR(UB(x.createForStatement(lR(UB(x.createVariableDeclarationList([UB(x.createVariableDeclaration(i,void 0,void 0,_),e.expression),x.createVariableDeclaration(o,void 0,void 0,a)]),e.expression),4194304),x.createLogicalNot(x.createPropertyAccessExpression(o,"done")),x.createAssignment(o,a),re(e,x.createPropertyAccessExpression(o,"value"),r)),e),512);return x.createTryStatement(x.createBlock([x.restoreEnclosingLabel(e,t,h&&Q)]),x.createCatchClause(x.createVariableDeclaration(c),lR(x.createBlock([x.createExpressionStatement(x.createAssignment(s,x.createObjectLiteralExpression([x.createPropertyAssignment("error",c)])))]),1)),x.createBlock([x.createTryStatement(x.createBlock([lR(x.createIfStatement(x.createLogicalAnd(x.createLogicalAnd(o,x.createLogicalNot(x.createPropertyAccessExpression(o,"done"))),x.createAssignment(u,x.createPropertyAccessExpression(i,"return"))),x.createExpressionStatement(x.createFunctionCallCall(u,i,[]))),1)]),void 0,lR(x.createBlock([lR(x.createIfStatement(s,x.createThrowStatement(x.createPropertyAccessExpression(s,"error"))),1)]),1))]))}function oe(e){return 0!=(8192&g.getNodeCheckFlags(e))}function se(e){return Cj(e)&&!!e.initializer&&oe(e.initializer)}function ce(e){return Cj(e)&&!!e.condition&&oe(e.condition)}function ue(e){return Cj(e)&&!!e.incrementor&&oe(e.incrementor)}function _e(e){return le(e)||se(e)}function le(e){return 0!=(4096&g.getNodeCheckFlags(e))}function de(e,t,r){switch(e.kind){case 248:return c=t,u=r,_=(s=e).condition&&oe(s.condition),l=_||s.incrementor&&oe(s.incrementor),x.updateForStatement(s,TJ(c?c.part:s.initializer,w,mc),TJ(_?void 0:s.condition,S,jE),TJ(l?void 0:s.incrementor,w,jE),u);case 249:return i=e,o=r,x.updateForInStatement(i,rA.checkDefined(TJ(i.initializer,S,mc)),rA.checkDefined(TJ(i.expression,S,jE)),o);case 250:return i=e,o=r,x.updateForOfStatement(i,void 0,rA.checkDefined(TJ(i.initializer,S,mc)),rA.checkDefined(TJ(i.expression,S,jE)),o);case 246:return n=e,a=r,x.updateDoStatement(n,a,rA.checkDefined(TJ(n.expression,S,jE)));case 247:return a=e,n=r,x.updateWhileStatement(a,rA.checkDefined(TJ(a.expression,S,jE)),n);default:return rA.failBadSyntaxKind(e,"IterationStatement expected")}var n,a,i,o,s,c,u,_,l}function fe(e){return x.createVariableDeclaration(e.originalName,void 0,void 0,e.outParamName)}function pe(e,t){var r=0===t?e.outParamName:e.originalName,e=0===t?e.originalName:e.outParamName;return x.createBinaryExpression(e,64,r)}function me(e,t,r,n){var a,i;try{for(var o=__values(e),s=o.next();!s.done;s=o.next()){var c=s.value;c.flags&t&&n.push(x.createExpressionStatement(pe(c,r)))}}catch(e){a={error:e}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(a)throw a.error}}}function ye(e,t,r,n){t?(e.labeledNonLocalBreaks||(e.labeledNonLocalBreaks=new Map),e.labeledNonLocalBreaks.set(r,n)):(e.labeledNonLocalContinues||(e.labeledNonLocalContinues=new Map),e.labeledNonLocalContinues.set(r,n))}function ve(e,a,i,o,s){e&&e.forEach(function(e,t){var r,n=[];!o||o.labels&&o.labels.get(t)?(r=x.createIdentifier(t),n.push(a?x.createBreakStatement(r):x.createContinueStatement(r))):(ye(o,a,t,e),n.push(x.createReturnStatement(i))),s.push(x.createCaseClause(x.createStringLiteral(e),n))})}function ge(e){return he(e,!1)}function he(e,t){if(32768&e.transformFlags||108===e.expression.kind||VP(RB(e.expression))){var r=x.createCallBinding(e.expression,m),n=r.target,a=r.thisArg;108===e.expression.kind&&lR(a,8);r=void 0;return r=32768&e.transformFlags?x.createFunctionApplyCall(rA.checkDefined(TJ(n,N,jE)),108===e.expression.kind?a:rA.checkDefined(TJ(a,S,jE)),xe(e.arguments,!0,!1,!1)):UB(x.createFunctionCallCall(rA.checkDefined(TJ(n,N,jE)),108===e.expression.kind?a:rA.checkDefined(TJ(a,S,jE)),SJ(e.arguments,S,jE)),e),108===e.expression.kind&&(a=x.createLogicalOr(r,O()),r=t?x.createAssignment(x.createUniqueName("_this",48),a):a),_R(r,e)}return wJ(e,S,l)}function xe(e,t,a,i){var o=e.length,r=sD(Ae(e,be,function(e,t,r,n){return t(e,a,i&&n===o)}));if(1===r.length){var n=r[0];if(t&&!y.downlevelIteration||Im(n.expression)||zv(n.expression,"___spreadArray"))return n.expression}for(var s=d(),n=0!==r[0].kind,c=n?x.createArrayLiteralExpression():r[0].expression,u=n?0:1;u<r.length;u++)var _=r[u],c=s.createSpreadArrayHelper(c,_.expression,1===_.kind&&!t);return c}function be(e){return yj(e)?t:Te}function t(e){return iD(e,ke)}function ke(e){rA.assertNode(e,yj);var t=TJ(e.expression,S,jE);rA.assert(t);var r=zv(t,"___read"),e=r||Im(t)?2:1;return!y.downlevelIteration||1!==e||rj(t)||r||(t=d().createReadHelper(t,void 0),e=2),Fz(e,t)}function Te(e,t,r){return Fz(0,x.createArrayLiteralExpression(SJ(x.createNodeArray(e,r),S,jE),t))}function Se(e){return 8&v&&!e?x.createPropertyAccessExpression(x.createUniqueName("_super",48),"prototype"):x.createUniqueName("_super",48)}function we(){0==(2&o)&&(o|=2,l.enableSubstitution(80))}function Ce(){0==(1&o)&&(o|=1,l.enableSubstitution(110),l.enableEmitNotification(176),l.enableEmitNotification(174),l.enableEmitNotification(177),l.enableEmitNotification(178),l.enableEmitNotification(219),l.enableEmitNotification(218),l.enableEmitNotification(262))}function Ne(e,t){return lL(t)?x.getInternalName(e):x.createPropertyAccessExpression(x.getInternalName(e),"prototype")}}var Iz=e({"src/compiler/transformers/es2015.ts":function(){MK()}});function Oz(e){var a,i,r=e.factory,t=e.getCompilerOptions();1!==t.jsx&&3!==t.jsx||(a=e.onEmitNode,e.onEmitNode=function(e,t,r){switch(t.kind){case 286:case 287:case 285:var n=t.tagName;i[_N(n)]=!0}a(e,t,r)},e.enableEmitNotification(286),e.enableEmitNotification(287),e.enableEmitNotification(285),i=[]);var n=e.onSubstituteNode;return e.onSubstituteNode=function(e,t){if(t.id&&i&&i[t.id])return n(e,t);{if(aj(t=n(e,t)))return function(e){if(bR(e.name))return e;var t=o(e.name);if(t)return UB(r.createElementAccessExpression(e.expression,t),e);return e}(t);if(iB(t))return function(e){var t=xR(e.name)&&o(e.name);if(t)return r.updatePropertyAssignment(e,t,e.initializer);return e}(t)}return t},e.enableSubstitution(211),e.enableSubstitution(303),dN(e,function(e){return e});function o(e){var t=MA(e);if(void 0!==t&&83<=t&&t<=118)return UB(r.createStringLiteralFromNode(e),e)}}var Lz=e({"src/compiler/transformers/es5.ts":function(){MK()}});function Mz(c){var n,a,y,v,g,h,x,b,k,T,S=c.factory,w=c.getEmitHelperFactory,C=c.resumeLexicalEnvironment,N=c.endLexicalEnvironment,i=c.hoistFunctionDeclaration,p=c.hoistVariableDeclaration,o=rM(c.getCompilerOptions()),r=c.getEmitResolver(),s=c.onSubstituteNode;c.onSubstituteNode=function(e,t){return t=s(e,t),1!==e?t:function(e){if(xR(e))return function(e){if(!mE(e)&&n&&n.has(LA(e))){var t=EA(e);if(xR(t)&&t.parent){t=r.getReferencedValueDeclaration(t);if(t){t=a[_N(t)];if(t){t=jM(UB(S.cloneNode(t),t),t.parent);return Ey(t,e),dR(t,e),t}}}}return e}(e);return e}(t)};var D,A,E,F,P,I,O,L,M,R,j,B,J=1,z=0,U=0;return dN(c,function(e){if(e.isDeclarationFile||0==(2048&e.transformFlags))return e;e=wJ(e,V,c);return qy(e,c.readEmitHelpers()),e});function V(e){var t=e.transformFlags;return v?function(e){switch(e.kind){case 246:return function(e){return v?(ie(),e=wJ(e,V,c),se(),e):wJ(e,V,c)}(e);case 247:return function(e){return v?(ie(),e=wJ(e,V,c),se(),e):wJ(e,V,c)}(e);case 255:return function(e){v&&te({kind:2,isScript:!0,breakLabel:-1});e=wJ(e,V,c),v&&ce();return e}(e);case 256:return function(e){v&&te({kind:4,isScript:!0,labelText:LA(e.label),breakLabel:-1});e=wJ(e,V,c),v&&ue();return e}(e);default:return u(e)}}(e):y?u(e):TE(e)&&e.asteriskToken?function(e){switch(e.kind){case 262:return _(e);case 218:return l(e);default:return rA.failBadSyntaxKind(e)}}(e):2048&t?wJ(e,V,c):e}function u(e){switch(e.kind){case 262:return _(e);case 218:return l(e);case 177:case 178:return r=y,n=v,v=y=!1,t=wJ(t=e,V,c),y=r,v=n,t;case 243:return function(e){var t,r;{if(!(1048576&e.transformFlags)){if(2097152&p_(e))return e;try{for(var n=__values(e.declarationList.declarations),a=n.next();!a.done;a=n.next()){var i=a.value;p(i.name)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}var o=jf(e.declarationList);return 0!==o.length?Ey(S.createExpressionStatement(S.inlineExpressions(iD(o,G))),e):void 0}K(e.declarationList)}}(e);case 248:return function(e){var t,r;v&&ie();var n=e.initializer;if(n&&Ej(n)){try{for(var a=__values(n.declarations),i=a.next();!i.done;i=a.next()){var o=i.value;p(o.name)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}var s=jf(n);e=S.updateForStatement(e,0<s.length?S.inlineExpressions(iD(s,G)):void 0,TJ(e.condition,V,jE),TJ(e.incrementor,V,jE),jC(e.statement,V,c))}else e=wJ(e,V,c);v&&se();return e}(e);case 249:return function(e){var t,r;v&&ie();var n=e.initializer;if(Ej(n)){try{for(var a=__values(n.declarations),i=a.next();!i.done;i=a.next()){var o=i.value;p(o.name)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}e=S.updateForInStatement(e,n.declarations[0].name,rA.checkDefined(TJ(e.expression,V,jE)),rA.checkDefined(TJ(e.statement,V,XE,S.liftToBlock)))}else e=wJ(e,V,c);v&&se();return e}(e);case 252:return function(e){if(v){var t=pe(e.label&&LA(e.label));if(0<t)return ge(t,e)}return wJ(e,V,c)}(e);case 251:return function(e){if(v){var t=me(e.label&&LA(e.label));if(0<t)return ge(t,e)}return wJ(e,V,c)}(e);case 253:return function(e,t){return UB(S.createReturnStatement(S.createArrayLiteralExpression(e?[ve(2),e]:[ve(2)])),t)}(TJ((t=e).expression,V,jE),t);default:return 1048576&e.transformFlags?function(e){switch(e.kind){case 226:return function(e){var t=ad(e);switch(t){case 0:return function(e){if(X(e.right))return tf(e.operatorToken.kind)?function(e){var t=$(),r=Z();be(r,rA.checkDefined(TJ(e.left,V,jE)),e.left),(56===e.operatorToken.kind?Se:Te)(t,r,e.left);return be(r,rA.checkDefined(TJ(e.right,V,jE)),e.right),ee(t),r}(e):28===e.operatorToken.kind?f(e):S.updateBinaryExpression(e,Y(rA.checkDefined(TJ(e.left,V,jE))),e.operatorToken,rA.checkDefined(TJ(e.right,V,jE)));return wJ(e,V,c)}(e);case 1:return function(e){var t=e.left,r=e.right;if(X(r)){var n=void 0;switch(t.kind){case 211:n=S.updatePropertyAccessExpression(t,Y(rA.checkDefined(TJ(t.expression,V,RE))),t.name);break;case 212:n=S.updateElementAccessExpression(t,Y(rA.checkDefined(TJ(t.expression,V,RE))),Y(rA.checkDefined(TJ(t.argumentExpression,V,jE))));break;default:n=rA.checkDefined(TJ(t,V,jE))}var a=e.operatorToken.kind;return CJ(a)?UB(S.createAssignment(n,UB(S.createBinaryExpression(Y(n),xN(a),rA.checkDefined(TJ(r,V,jE))),e)),e):S.updateBinaryExpression(e,n,e.operatorToken,rA.checkDefined(TJ(r,V,jE)))}return wJ(e,V,c)}(e);default:return rA.assertNever(t)}}(e);case 361:return function(e){var t,r,n=[];try{for(var a=__values(e.elements),i=a.next();!i.done;i=a.next()){var o=i.value;mj(o)&&28===o.operatorToken.kind?n.push(f(o)):(X(o)&&0<n.length&&(we(1,[S.createExpressionStatement(S.inlineExpressions(n))]),n=[]),n.push(rA.checkDefined(TJ(o,V,jE))))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return S.inlineExpressions(n)}(e);case 227:return function(e){if(X(e.whenTrue)||X(e.whenFalse)){var t=$(),r=$(),n=Z();return Se(t,rA.checkDefined(TJ(e.condition,V,jE)),e.condition),be(n,rA.checkDefined(TJ(e.whenTrue,V,jE)),e.whenTrue),ke(r),ee(t),be(n,rA.checkDefined(TJ(e.whenFalse,V,jE)),e.whenFalse),ee(r),n}return wJ(e,V,c)}(e);case 229:return function(e){var t=$(),r=TJ(e.expression,V,jE);e.asteriskToken?we(7,[0==(8388608&p_(e.expression))?UB(w().createValuesHelper(r),e):r],e):we(6,[r],e);return ee(t),function(e){return UB(S.createCallExpression(S.createPropertyAccessExpression(F,"sent"),void 0,[]),e)}(e)}(e);case 209:return function(e){return m(e.elements,void 0,void 0,e.multiLine)}(e);case 210:return function(r){var e=r.properties,n=r.multiLine,t=Q(e),a=Z();be(a,S.createObjectLiteralExpression(SJ(e,V,EE,0,t),n));t=ED(e,function(e,t){X(t)&&0<e.length&&(xe(S.createExpressionStatement(S.inlineExpressions(e))),e=[]);t=TJ(Yh(S,r,t,a),V,jE);t&&(n&&sx(t),e.push(t));return e},[],t);return t.push(n?sx(jM(UB(S.cloneNode(a),a),a.parent)):a),S.inlineExpressions(t)}(e);case 212:return function(e){if(X(e.argumentExpression))return S.updateElementAccessExpression(e,Y(rA.checkDefined(TJ(e.expression,V,RE))),rA.checkDefined(TJ(e.argumentExpression,V,jE)));return wJ(e,V,c)}(e);case 213:return function(e){if(mP(e)||!KN(e.arguments,X))return wJ(e,V,c);var t=S.createCallBinding(e.expression,p,o,!0),r=t.target,t=t.thisArg;return _R(UB(S.createFunctionApplyCall(Y(rA.checkDefined(TJ(r,V,RE))),t,m(e.arguments)),e),e)}(e);case 214:return function(e){if(KN(e.arguments,X)){var t=S.createCallBinding(S.createPropertyAccessExpression(e.expression,"bind"),p),r=t.target,t=t.thisArg;return _R(UB(S.createNewExpression(S.createFunctionApplyCall(Y(rA.checkDefined(TJ(r,V,jE))),t,m(e.arguments,S.createVoidZero())),void 0,[]),e),e)}return wJ(e,V,c)}(e);default:return wJ(e,V,c)}}(e):4196352&e.transformFlags?wJ(e,V,c):e}var t,r,n}function _(e){var t,r;if(e.asteriskToken?e=_R(UB(S.createFunctionDeclaration(e.modifiers,void 0,e.name,void 0,MC(e.parameters,V,c),void 0,d(e.body)),e),e):(t=y,r=v,v=y=!1,e=wJ(e,V,c),y=t,v=r),!y)return e;i(e)}function l(e){var t,r;return e.asteriskToken?e=_R(UB(S.createFunctionExpression(void 0,void 0,e.name,void 0,MC(e.parameters,V,c),void 0,d(e.body)),e),e):(t=y,r=v,v=y=!1,e=wJ(e,V,c),y=t,v=r),e}function d(e){var t=[],r=y,n=v,a=g,i=h,o=x,s=b,c=k,u=T,_=J,l=D,d=A,f=E,p=F;v=!(y=!0),J=1,E=A=D=T=k=b=x=h=g=void 0,F=S.createTempVariable(void 0),C();var m=S.copyPrologue(e.statements,t,!1,V);q(e.statements,m);m=function(){O=I=!1,B=j=R=M=L=P=void(U=z=0);var e=function(){if(D){for(var e=0;e<D.length;e++)!function(e){if(De(e),function(e){if(g)for(;z<x.length&&h[z]<=e;z++){var t=g[z],r=x[z];switch(t.kind){case 0:0===r?(M=M||[],(R=R||[]).push(j),j=t):1===r&&(j=R.pop());break;case 1:0===r?(B=B||[]).push(t):1===r&&B.pop()}}}(e),!I){O=I=!1;var t=D[e];if(0!==t){if(10===t)return I=!0,Ae(S.createReturnStatement(S.createArrayLiteralExpression([ve(7)]))),0;var r=A[e];if(1===t)return Ae(r[0]),0;var n=E[e];switch(t){case 2:return function(e,t,r){Ae(UB(S.createExpressionStatement(S.createAssignment(e,t)),r))}(r[0],r[1],n),0;case 3:return function(e,t){I=!0,Ae(lR(UB(S.createReturnStatement(S.createArrayLiteralExpression([ve(3),ye(e)])),t),768))}(r[0],n),0;case 4:return function(e,t,r){Ae(lR(S.createIfStatement(t,lR(UB(S.createReturnStatement(S.createArrayLiteralExpression([ve(3),ye(e)])),r),768)),1))}(r[0],r[1],n),0;case 5:return function(e,t,r){Ae(lR(S.createIfStatement(S.createLogicalNot(t),lR(UB(S.createReturnStatement(S.createArrayLiteralExpression([ve(3),ye(e)])),r),768)),1))}(r[0],r[1],n),0;case 6:return function(e,t){I=!0,Ae(lR(UB(S.createReturnStatement(S.createArrayLiteralExpression(e?[ve(4),e]:[ve(4)])),t),768))}(r[0],n),0;case 7:return function(e,t){I=!0,Ae(lR(UB(S.createReturnStatement(S.createArrayLiteralExpression([ve(5),e])),t),768))}(r[0],n),0;case 8:return Ee(r[0],n),0;case 9:(function(e,t){O=I=!0,Ae(UB(S.createThrowStatement(e),t))})(r[0],n)}}}}(e);Ce(D.length)}else Ce(0);if(L){var t=S.createPropertyAccessExpression(F,"label");return[sx(S.createSwitchStatement(t,S.createCaseBlock(L)))]}if(M)return M;return[]}();return w().createGeneratorHelper(lR(S.createFunctionExpression(void 0,void 0,void 0,void 0,[S.createParameterDeclaration(void 0,void 0,F)],void 0,S.createBlock(e,0<e.length)),1048576))}();return t_(t,N()),t.push(S.createReturnStatement(m)),y=r,v=n,g=a,h=i,x=o,b=s,k=c,T=u,J=_,D=l,A=d,E=f,F=p,UB(S.createBlock(t,e.multiLine),e)}function f(e){var t=[];return r(e.left),r(e.right),S.inlineExpressions(t);function r(e){mj(e)&&28===e.operatorToken.kind?(r(e.left),r(e.right)):(X(e)&&0<t.length&&(we(1,[S.createExpressionStatement(S.inlineExpressions(t))]),t=[]),t.push(rA.checkDefined(TJ(e,V,jE))))}}function m(e,n,t,a){var i,r,o=Q(e);0<o&&(i=Z(),r=SJ(e,V,jE,0,o),be(i,S.createArrayLiteralExpression(n?__spreadArray([n],__read(r),!1):r)),n=void 0);o=ED(e,function(e,t){{var r;X(t)&&0<e.length&&(r=void 0!==i,be(i=i||Z(),r?S.createArrayConcatCall(i,[S.createArrayLiteralExpression(e,a)]):S.createArrayLiteralExpression(n?__spreadArray([n],__read(e),!1):e,a)),n=void 0,e=[])}return e.push(rA.checkDefined(TJ(t,V,jE))),e},[],o);return i?S.createArrayConcatCall(i,[S.createArrayLiteralExpression(o,a)]):UB(S.createArrayLiteralExpression(n?__spreadArray([n],__read(o),!1):o,a),t)}function q(e,t){void 0===t&&(t=0);for(var r=e.length,n=t;n<r;n++)H(e[n])}function W(e){kj(e)?q(e.statements):H(e)}function H(e){var t=v;v=v||X(e),function(e){switch(e.kind){case 241:return function(e){X(e)?q(e.statements):xe(TJ(e,V,XE))}(e);case 244:return function(e){xe(TJ(e,V,XE))}(e);case 245:return function(e){{var t,r;X(e)&&(X(e.thenStatement)||X(e.elseStatement))?(t=$(),r=e.elseStatement?$():void 0,Se(e.elseStatement?r:t,rA.checkDefined(TJ(e.expression,V,jE)),e.expression),W(e.thenStatement),e.elseStatement&&(ke(t),ee(r),W(e.elseStatement)),ee(t)):xe(TJ(e,V,XE))}}(e);case 246:return function(e){{var t,r;X(e)?(t=$(),r=$(),oe(t),ee(r),W(e.statement),ee(t),Te(r,rA.checkDefined(TJ(e.expression,V,jE))),se()):xe(TJ(e,V,XE))}}(e);case 247:return function(e){{var t,r;X(e)?(t=$(),r=oe(t),ee(t),Se(r,rA.checkDefined(TJ(e.expression,V,jE))),W(e.statement),ke(t),se()):xe(TJ(e,V,XE))}}(e);case 248:return function(e){{var t,r,n,a;X(e)?(t=$(),r=$(),n=oe(r),e.initializer&&(Ej(a=e.initializer)?K(a):xe(UB(S.createExpressionStatement(rA.checkDefined(TJ(a,V,jE))),a))),ee(t),e.condition&&Se(n,rA.checkDefined(TJ(e.condition,V,jE))),W(e.statement),ee(r),e.incrementor&&xe(UB(S.createExpressionStatement(rA.checkDefined(TJ(e.incrementor,V,jE))),e.incrementor)),ke(t),se()):xe(TJ(e,V,XE))}}(e);case 249:return function(e){var t,r;if(X(e)){var n=Z(),a=Z(),i=Z(),o=S.createLoopVariable(),s=e.initializer;p(o),be(n,rA.checkDefined(TJ(e.expression,V,jE))),be(a,S.createArrayLiteralExpression()),xe(S.createForInStatement(i,n,S.createExpressionStatement(S.createCallExpression(S.createPropertyAccessExpression(a,"push"),void 0,[i])))),be(o,S.createNumericLiteral(0));var c=$(),u=$(),_=oe(u);ee(c),Se(_,S.createLessThan(o,S.createPropertyAccessExpression(a,"length"))),be(i,S.createElementAccessExpression(a,o)),Se(u,S.createBinaryExpression(i,103,n));n=void 0;if(Ej(s)){try{for(var l=__values(s.declarations),d=l.next();!d.done;d=l.next()){var f=d.value;p(f.name)}}catch(e){t={error:e}}finally{try{d&&!d.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}n=S.cloneNode(s.declarations[0].name)}else n=rA.checkDefined(TJ(s,V,jE)),rA.assert(RE(n));be(n,i),W(e.statement),ee(u),xe(S.createExpressionStatement(S.createPostfixIncrement(o))),ke(c),se()}else xe(TJ(e,V,XE))}(e);case 251:return function(e){var t=me(e.label?LA(e.label):void 0);0<t?ke(t,e):xe(e)}(e);case 252:return function(e){var t=pe(e.label?LA(e.label):void 0);0<t?ke(t,e):xe(e)}(e);case 253:return function(t){!function(e){we(8,[e],t)}(TJ(t.expression,V,jE))}(e);case 254:return function(e){X(e)?(function(e){var t=$(),r=$();ee(t),te({kind:1,expression:e,startLabel:t,endLabel:r})}(Y(rA.checkDefined(TJ(e.expression,V,jE)))),W(e.statement),rA.assert(1===ae()),ee(re().endLabel)):xe(TJ(e,V,XE))}(e);case 255:return function(e){if(X(e.caseBlock)){for(var t=e.caseBlock,r=t.clauses.length,n=function(){var e=$();return te({kind:2,isScript:!1,breakLabel:e}),e}(),a=Y(rA.checkDefined(TJ(e.expression,V,jE))),i=[],o=-1,s=0;s<r;s++){var c=t.clauses[s];i.push($()),297===c.kind&&-1===o&&(o=s)}for(var u=0,_=[];u<r;){for(var l=0,s=u;s<r;s++)if(296===(c=t.clauses[s]).kind){if(X(c.expression)&&0<_.length)break;_.push(S.createCaseClause(rA.checkDefined(TJ(c.expression,V,jE)),[ge(i[s],c.expression)]))}else l++;_.length&&(xe(S.createSwitchStatement(a,S.createCaseBlock(_))),u+=_.length,_=[]),0<l&&(u+=l,l=0)}ke(0<=o?i[o]:n);for(s=0;s<r;s++)ee(i[s]),q(t.clauses[s].statements);ce()}else xe(TJ(e,V,XE))}(e);case 256:return function(e){X(e)?(function(e){var t=$();te({kind:4,isScript:!1,labelText:e,breakLabel:t})}(LA(e.label)),W(e.statement),ue()):xe(TJ(e,V,XE))}(e);case 257:return function(t){var e;!function(e){we(9,[e],t)}(rA.checkDefined(TJ(null!==(e=t.expression)&&void 0!==e?e:S.createVoidZero(),V,jE)))}(e);case 258:return function(e){X(e)?(function(){var e=$(),t=$();ee(e),te({kind:0,state:0,startLabel:e,endLabel:t}),he()}(),W(e.tryBlock),e.catchClause&&(function(e){var t;rA.assert(0===ae()),mE(e.name)?(t=e.name,p(e.name)):(r=LA(e.name),t=Z(r),n||(n=new Map,a=[],c.enableSubstitution(80)),n.set(r,!0),a[_N(e)]=t);var r=ne();rA.assert(r.state<1),ke(r.endLabel),ee(e=$()),r.state=1,r.catchVariable=t,r.catchLabel=e,be(t,S.createCallExpression(S.createPropertyAccessExpression(F,"sent"),void 0,[])),he()}(e.catchClause.variableDeclaration),W(e.catchClause.block)),e.finallyBlock&&(function(){rA.assert(0===ae());var e=ne();rA.assert(e.state<2),ke(e.endLabel);var t=$();ee(t),e.state=2,e.finallyLabel=t}(),W(e.finallyBlock)),function(){rA.assert(0===ae());var e=re();e.state<2?ke(e.endLabel):we(10),ee(e.endLabel),he(),e.state=3}()):xe(wJ(e,V,c))}(e);default:xe(TJ(e,V,XE))}}(e),v=t}function K(e){var t,r;try{for(var n=__values(e.declarations),a=n.next();!a.done;a=n.next()){var i=a.value,o=S.cloneNode(i.name);dR(o,i.name),p(o)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}for(var s=jf(e),c=s.length,u=0,_=[];u<c;){for(var l=u;l<c;l++){if(X((i=s[l]).initializer)&&0<_.length)break;_.push(G(i))}_.length&&(xe(S.createExpressionStatement(S.inlineExpressions(_))),u+=_.length,_=[])}}function G(e){return Ey(S.createAssignment(Ey(S.cloneNode(e.name),e.name),rA.checkDefined(TJ(e.initializer,V,jE))),e)}function X(e){return!!e&&0!=(1048576&e.transformFlags)}function Q(e){for(var t=e.length,r=0;r<t;r++)if(X(e[r]))return r;return-1}function Y(e){if(mE(e)||8192&p_(e))return e;var t=S.createTempVariable(p);return be(t,e,e),t}function Z(e){e=e?S.createUniqueName(e):S.createTempVariable(void 0);return p(e),e}function $(){var e=J;return J++,(k=k||[])[e]=-1,e}function ee(e){rA.assert(void 0!==k,"No labels were defined."),k[e]=D?D.length:0}function te(e){g||(g=[],x=[],h=[],b=[]);var t=x.length;return x[t]=0,h[t]=D?D.length:0,g[t]=e,b.push(e),t}function re(){var e=ne();if(void 0===e)return rA.fail("beginBlock was never called.");var t=x.length;return x[t]=1,h[t]=D?D.length:0,g[t]=e,b.pop(),e}function ne(){return CD(b)}function ae(){var e=ne();return e&&e.kind}function ie(){te({kind:3,isScript:!0,breakLabel:-1,continueLabel:-1})}function oe(e){var t=$();return te({kind:3,isScript:!1,breakLabel:t,continueLabel:e}),t}function se(){rA.assert(3===ae());var e=re(),t=e.breakLabel;e.isScript||ee(t)}function ce(){rA.assert(2===ae());var e=re(),t=e.breakLabel;e.isScript||ee(t)}function ue(){rA.assert(4===ae());var e=re();e.isScript||ee(e.breakLabel)}function _e(e){return 2===e.kind||3===e.kind}function le(e){return 4===e.kind}function de(e){return 3===e.kind}function fe(e,t){for(var r=t;0<=r;r--){var n=b[r];if(!le(n))break;if(n.labelText===e)return 1}}function pe(e){if(b)if(e)for(var t=b.length-1;0<=t;t--){if(le(r=b[t])&&r.labelText===e)return r.breakLabel;if(_e(r)&&fe(e,t-1))return r.breakLabel}else for(var r,t=b.length-1;0<=t;t--)if(_e(r=b[t]))return r.breakLabel;return 0}function me(e){if(b)if(e){for(var t=b.length-1;0<=t;t--)if(de(r=b[t])&&fe(e,t-1))return r.continueLabel}else for(var r,t=b.length-1;0<=t;t--)if(de(r=b[t]))return r.continueLabel;return 0}function ye(e){if(void 0!==e&&0<e){void 0===T&&(T=[]);var t=S.createNumericLiteral(-1);return void 0===T[e]?T[e]=[t]:T[e].push(t),t}return S.createOmittedExpression()}function ve(e){var t=S.createNumericLiteral(e);return By(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 ge(e,t){return rA.assertLessThan(0,e,"Invalid label"),UB(S.createReturnStatement(S.createArrayLiteralExpression([ve(3),ye(e)])),t)}function he(){we(0)}function xe(e){e?we(1,[e]):he()}function be(e,t,r){we(2,[e,t],r)}function ke(e,t){we(3,[e],t)}function Te(e,t,r){we(4,[e,t],r)}function Se(e,t,r){we(5,[e,t],r)}function we(e,t,r){void 0===D&&(D=[],A=[],E=[]),void 0===k&&ee($());var n=D.length;D[n]=e,A[n]=t,E[n]=r}function Ce(e){!function(e){if(!O)return!0;if(!k||!T)return!1;for(var t=0;t<k.length;t++)if(k[t]===e&&T[t])return!0;return!1}(e)||(De(e),Ee(B=void 0,void 0)),M&&L&&Ne(!1),function(){var t,e,r,n;if(void 0!==T&&void 0!==P)for(var a=0;a<P.length;a++){var i=P[a];if(void 0!==i)try{for(var o=(t=void 0,__values(i)),s=o.next();!s.done;s=o.next()){var c=s.value,u=T[c];if(void 0!==u)try{for(var _=(r=void 0,__values(u)),l=_.next();!l.done;l=_.next())l.value.text=String(a)}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=_.return)&&n.call(_)}finally{if(r)throw r.error}}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}}}()}function Ne(e){if(L=L||[],M){if(B)for(var t=B.length-1;0<=t;t--){var r=B[t];M=[S.createWithStatement(r.expression,S.createBlock(M))]}var n,a,i,o;j&&(n=j.startLabel,a=j.catchLabel,i=j.finallyLabel,o=j.endLabel,M.unshift(S.createExpressionStatement(S.createCallExpression(S.createPropertyAccessExpression(S.createPropertyAccessExpression(F,"trys"),"push"),void 0,[S.createArrayLiteralExpression([ye(n),ye(a),ye(i),ye(o)])]))),j=void 0),e&&M.push(S.createExpressionStatement(S.createAssignment(S.createPropertyAccessExpression(F,"label"),S.createNumericLiteral(U+1))))}L.push(S.createCaseClause(S.createNumericLiteral(U),M||[])),M=void 0}function De(e){if(k)for(var t=0;t<k.length;t++)k[t]===e&&(M&&(Ne(!I),O=I=!1,U++),void 0===P&&(P=[]),void 0===P[U]?P[U]=[t]:P[U].push(t))}function Ae(e){e&&(M?M.push(e):M=[e])}function Ee(e,t){O=I=!0,Ae(lR(UB(S.createReturnStatement(S.createArrayLiteralExpression(e?[ve(2),e]:[ve(2)])),t),768))}}var Rz,jz=e({"src/compiler/transformers/generators.ts":function(){MK()}});function Bz(p){var y=p.factory,u=p.getEmitHelperFactory,a=p.startLexicalEnvironment,i=p.endLexicalEnvironment,_=p.hoistVariableDeclaration,v=p.getCompilerOptions(),k=p.getEmitResolver(),g=p.getEmitHost(),l=rM(v),d=nM(v),r=p.onSubstituteNode,n=p.onEmitNode;p.onSubstituteNode=function(e,t){if((t=r(e,t)).id&&f[t.id])return t;{if(1===e)return function(e){switch(e.kind){case 80:return H(e);case 213:return function(e){if(xR(e.expression)){var t=H(e.expression);if(f[mJ(t)]=!0,!(xR(t)||8192&p_(e.expression)))return Dy(y.updateCallExpression(e,t,void 0,e.arguments),16)}return e}(e);case 215:return function(e){if(xR(e.tag)){var t=H(e.tag);if(f[mJ(t)]=!0,!(xR(t)||8192&p_(e.tag)))return Dy(y.updateTaggedTemplateExpression(e,t,void 0,e.template),16)}return e}(e);case 226:return function(e){var t,r;if(wL(e.operatorToken.kind)&&xR(e.left)&&(!mE(e.left)||Rs(e.left))&&!ex(e.left)){var n=K(e.left);if(n){var a=e;try{for(var i=__values(n),o=i.next();!o.done;o=i.next()){var s=o.value;f[mJ(a)]=!0,a=q(s,a,e)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return a}}return e}(e)}return e}(t);if(oB(t))return function(e){var t=e.name,r=H(t);if(r===t)return e;if(e.objectAssignmentInitializer){var n=y.createAssignment(r,e.objectAssignmentInitializer);return UB(y.createPropertyAssignment(t,n),e)}return UB(y.createPropertyAssignment(t,r),e)}(t)}return t},p.onEmitNode=function(e,t,r){312===t.kind?(T=s[_N(h=t)],n(e,t,r),T=h=void 0):n(e,t,r)},p.enableSubstitution(213),p.enableSubstitution(215),p.enableSubstitution(80),p.enableSubstitution(226),p.enableSubstitution(304),p.enableEmitNotification(312);var h,T,o,s=[],f=[];return dN(p,function(e){if(e.isDeclarationFile||!(qF(e,v)||8388608&e.transformFlags||lP(e)&&oM(v)&&GO(v)))return e;T=yN(p,h=e),s[_N(e)]=T;e=function(e){switch(e){case 2:return m;case 3:return x;default:return t}}(d)(e);return T=h=void 0,o=!1,e});function c(){return!(T.exportEquals||!XB(h))}function t(e){a();var t=[],r=pM(v,"alwaysStrict")||!v.noImplicitUseStrict&&XB(h),r=y.copyPrologue(e.statements,t,r&&!lP(e),N);if(c()&&vD(t,U()),HN(T.exportedNames))for(var n=0;n<T.exportedNames.length;n+=50)vD(t,y.createExpressionStatement(ED(T.exportedNames.slice(n,n+50),function(e,t){return y.createAssignment(y.createPropertyAccessExpression(y.createIdentifier("exports"),y.createIdentifier(LA(t))),e)},y.createVoidZero())));vD(t,TJ(T.externalHelpersImportDeclaration,N,XE)),gD(t,SJ(e.statements,N,XE,r)),C(t,!1),t_(t,i());e=y.updateSourceFile(e,UB(y.createNodeArray(t),e.statements));return qy(e,p.readEmitHelpers()),e}function m(e){var t=y.createIdentifier("define"),r=px(y,e,g,v),n=lP(e)&&e,a=b(e,!0),i=a.aliasedModuleNames,o=a.unaliasedModuleNames,a=a.importAliasNames,e=y.updateSourceFile(e,UB(y.createNodeArray([y.createExpressionStatement(y.createCallExpression(t,void 0,__spreadArray(__spreadArray([],__read(r?[r]:[]),!1),[y.createArrayLiteralExpression(n?WN:__spreadArray(__spreadArray([y.createStringLiteral("require"),y.createStringLiteral("exports")],__read(i),!1),__read(o),!1)),n?n.statements.length?n.statements[0].expression:y.createObjectLiteralExpression():y.createFunctionExpression(void 0,void 0,void 0,void 0,__spreadArray([y.createParameterDeclaration(void 0,void 0,"require"),y.createParameterDeclaration(void 0,void 0,"exports")],__read(a),!1),void 0,w(e))],!1)))]),e.statements));return qy(e,p.readEmitHelpers()),e}function x(e){var t=b(e,!1),r=t.aliasedModuleNames,n=t.unaliasedModuleNames,a=t.importAliasNames,t=px(y,e,g,v),n=y.createFunctionExpression(void 0,void 0,void 0,void 0,[y.createParameterDeclaration(void 0,void 0,"factory")],void 0,UB(y.createBlock([y.createIfStatement(y.createLogicalAnd(y.createTypeCheck(y.createIdentifier("module"),"object"),y.createTypeCheck(y.createPropertyAccessExpression(y.createIdentifier("module"),"exports"),"object")),y.createBlock([y.createVariableStatement(void 0,[y.createVariableDeclaration("v",void 0,void 0,y.createCallExpression(y.createIdentifier("factory"),void 0,[y.createIdentifier("require"),y.createIdentifier("exports")]))]),lR(y.createIfStatement(y.createStrictInequality(y.createIdentifier("v"),y.createIdentifier("undefined")),y.createExpressionStatement(y.createAssignment(y.createPropertyAccessExpression(y.createIdentifier("module"),"exports"),y.createIdentifier("v")))),1)]),y.createIfStatement(y.createLogicalAnd(y.createTypeCheck(y.createIdentifier("define"),"function"),y.createPropertyAccessExpression(y.createIdentifier("define"),"amd")),y.createBlock([y.createExpressionStatement(y.createCallExpression(y.createIdentifier("define"),void 0,__spreadArray(__spreadArray([],__read(t?[t]:[]),!1),[y.createArrayLiteralExpression(__spreadArray(__spreadArray([y.createStringLiteral("require"),y.createStringLiteral("exports")],__read(r),!1),__read(n),!1)),y.createIdentifier("factory")],!1)))])))],!0),void 0)),e=y.updateSourceFile(e,UB(y.createNodeArray([y.createExpressionStatement(y.createCallExpression(n,void 0,[y.createFunctionExpression(void 0,void 0,void 0,void 0,__spreadArray([y.createParameterDeclaration(void 0,void 0,"require"),y.createParameterDeclaration(void 0,void 0,"exports")],__read(a),!1),void 0,w(e))]))]),e.statements));return qy(e,p.readEmitHelpers()),e}function b(e,t){var r,n,a,i,o=[],s=[],c=[];try{for(var u=__values(e.amdDependencies),_=u.next();!_.done;_=u.next()){var l=_.value;l.name?(o.push(y.createStringLiteral(l.path)),c.push(y.createParameterDeclaration(void 0,void 0,l.name))):s.push(y.createStringLiteral(l.path))}}catch(e){r={error:e}}finally{try{_&&!_.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}try{for(var d=__values(T.externalImports),f=d.next();!f.done;f=d.next()){var p=f.value,m=fx(y,p,h,g,k,v),p=dx(y,p,h);m&&(t&&p?(lR(p,8),o.push(m),c.push(y.createParameterDeclaration(void 0,void 0,p))):s.push(m))}}catch(e){a={error:e}}finally{try{f&&!f.done&&(i=d.return)&&i.call(d)}finally{if(a)throw a.error}}return{aliasedModuleNames:o,unaliasedModuleNames:s,importAliasNames:c}}function S(e){if(!Bj(e)&&!Wj(e)&&fx(y,e,h,g,k,v)){var t=dx(y,e,h),e=L(e,t);if(e!==t)return y.createExpressionStatement(y.createAssignment(t,e))}}function w(e){a();var t=[],r=y.copyPrologue(e.statements,t,!v.noImplicitUseStrict,N);c()&&vD(t,U()),HN(T.exportedNames)&&vD(t,y.createExpressionStatement(ED(T.exportedNames,function(e,t){return y.createAssignment(y.createPropertyAccessExpression(y.createIdentifier("exports"),y.createIdentifier(LA(t))),e)},y.createVoidZero()))),vD(t,TJ(T.externalHelpersImportDeclaration,N,XE)),2===d&&gD(t,uD(T.externalImports,S)),gD(t,SJ(e.statements,N,XE,r)),C(t,!0),t_(t,i());t=y.createBlock(t,!0);return o&&Vy(t,Rz),t}function C(e,t){var r,n;!T.exportEquals||(r=TJ(T.exportEquals.expression,E,jE))&&(t?(UB(n=y.createReturnStatement(r),T.exportEquals),lR(n,3840)):(UB(n=y.createExpressionStatement(y.createAssignment(y.createPropertyAccessExpression(y.createIdentifier("module"),"exports"),r)),T.exportEquals),lR(n,3072)),e.push(n))}function N(e){switch(e.kind){case 272:return function(e){var t,r=jI(e);if(2!==d){if(!e.importClause)return _R(UB(y.createExpressionStatement(M(e)),e),e);var n=[];r&&!Sl(e)?n.push(y.createVariableDeclaration(y.cloneNode(r.name),void 0,void 0,L(e,M(e)))):(n.push(y.createVariableDeclaration(y.getGeneratedNameForNode(e),void 0,void 0,L(e,M(e)))),r&&Sl(e)&&n.push(y.createVariableDeclaration(y.cloneNode(r.name),void 0,void 0,y.getGeneratedNameForNode(e)))),t=vD(t,_R(UB(y.createVariableStatement(void 0,y.createVariableDeclarationList(n,2<=l?2:0)),e),e))}else r&&Sl(e)&&(t=vD(t,y.createVariableStatement(void 0,y.createVariableDeclarationList([_R(UB(y.createVariableDeclaration(y.cloneNode(r.name),void 0,void 0,y.getGeneratedNameForNode(e)),e),e)],2<=l?2:0))));return Ee(t=function(e,t){var r,n;if(T.exportEquals)return e;t=t.importClause;if(!t)return e;var a=new sN;t.name&&(e=J(e,a,t));var i=t.namedBindings;if(i)switch(i.kind){case 274:e=J(e,a,i);break;case 275:try{for(var o=__values(i.elements),s=o.next();!s.done;s=o.next()){var c=s.value;e=J(e,a,c,!0)}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}return e}(t,e))}(e);case 271:return function(e){var t;rA.assert(nI(e),"import= for internal module references should be handled in an earlier transformer."),2!==d?t=_L(e,1)?vD(t,_R(UB(y.createExpressionStatement(q(e.name,M(e))),e),e)):vD(t,_R(UB(y.createVariableStatement(void 0,y.createVariableDeclarationList([y.createVariableDeclaration(y.cloneNode(e.name),void 0,void 0,M(e))],2<=l?2:0)),e),e)):_L(e,1)&&(t=vD(t,_R(UB(y.createExpressionStatement(q(y.getExportName(e),y.getLocalName(e))),e),e)));return Ee(t=function(e,t){if(T.exportEquals)return e;return J(e,new sN,t)}(t,e))}(e);case 278:return function(e){var t,r;if(!e.moduleSpecifier)return;var n=y.getGeneratedNameForNode(e);{if(e.exportClause&&Hj(e.exportClause)){var a=[];2!==d&&a.push(_R(UB(y.createVariableStatement(void 0,y.createVariableDeclarationList([y.createVariableDeclaration(n,void 0,void 0,M(e))])),e),e));try{for(var i=__values(e.exportClause.elements),o=i.next();!o.done;o=i.next()){var s,c=o.value;0===l?a.push(_R(UB(y.createExpressionStatement(u().createCreateBindingHelper(n,y.createStringLiteralFromNode(c.propertyName||c.name),c.propertyName?y.createStringLiteralFromNode(c.name):void 0)),c),c)):(s=!(!cM(v)||2&m_(e)||"default"!==LA(c.propertyName||c.name)),s=y.createPropertyAccessExpression(s?u().createImportDefaultHelper(n):n,c.propertyName||c.name),a.push(_R(UB(y.createExpressionStatement(q(y.getExportName(c),s,void 0,!0)),c),c)))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return Ee(a)}return e.exportClause?((a=[]).push(_R(UB(y.createExpressionStatement(q(y.cloneNode(e.exportClause.name),function(e,t){if(!cM(v)||2&m_(e))return t;if(fN(e))return u().createImportStarHelper(t);return t}(e,2!==d?M(e):l_(e)?n:y.createIdentifier(LA(e.exportClause.name))))),e),e)),Ee(a)):_R(UB(y.createExpressionStatement(u().createExportStarHelper(2!==d?M(e):n)),e),e)}}(e);case 277:return function(e){if(e.isExportEquals)return;return V(y.createIdentifier("default"),TJ(e.expression,E,jE),e,!0)}(e);default:return D(e)}}function D(e){switch(e.kind){case 243:return function(e){var t,r,n,a,i;if(_L(e,1)){var o,s=void 0,c=!1;try{for(var u=__values(e.declarationList.declarations),_=u.next();!_.done;_=u.next()){var l,d,f=_.value;xR(f.name)&&ex(f.name)?(s=s||SJ(e.modifiers,W,gE),a=f.initializer?(d=y.updateVariableDeclaration(f,f.name,void 0,void 0,q(f.name,TJ(f.initializer,E,jE))),vD(a,d)):vD(a,f)):f.initializer&&(!PE(f.name)&&(lj(f.initializer)||_j(f.initializer)||vj(f.initializer))?(l=y.createAssignment(UB(y.createPropertyAccessExpression(y.createIdentifier("exports"),f.name),f.name),y.createIdentifier(AO(f.name))),d=y.createVariableDeclaration(f.name,f.exclamationToken,f.type,TJ(f.initializer,E,jE)),a=vD(a,d),i=vD(i,l),c=!0):i=vD(i,function(e){return PE(e.name)?jN(TJ(e,E,Bf),E,p,0,!1,R):y.createAssignment(UB(y.createPropertyAccessExpression(y.createIdentifier("exports"),e.name),e.name),e.initializer?TJ(e.initializer,E,jE):y.createVoidZero())}(f)))}}catch(e){t={error:e}}finally{try{_&&!_.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}a&&(n=vD(n,y.updateVariableStatement(e,s,y.updateVariableDeclarationList(e.declarationList,a)))),i&&(o=_R(UB(y.createExpressionStatement(y.inlineExpressions(i)),e),e),c&&wy(o),n=vD(n,o))}else n=vD(n,wJ(e,E,p));return Ee(n=function(e,t){return j(e,t.declarationList,!1)}(n,e))}(e);case 262:return function(e){var t;t=_L(e,1)?vD(t,_R(UB(y.createFunctionDeclaration(SJ(e.modifiers,W,gE),e.asteriskToken,y.getDeclarationName(e,!0,!0),void 0,SJ(e.parameters,E,CR),void 0,wJ(e.body,E,p)),e),e)):vD(t,wJ(e,E,p));return Ee(t=B(t,e))}(e);case 263:return function(e){var t;t=_L(e,1)?vD(t,_R(UB(y.createClassDeclaration(SJ(e.modifiers,W,Hs),y.getDeclarationName(e,!0,!0),void 0,SJ(e.heritageClauses,E,nB),SJ(e.members,E,CE)),e),e)):vD(t,wJ(e,E,p));return Ee(t=B(t,e))}(e);case 248:return P(e,!0);case 249:return function(e){if(Ej(e.initializer)&&!(7&e.initializer.flags)){var t=j(void 0,e.initializer,!0);if(dD(t)){var r=TJ(e.initializer,F,mc),n=TJ(e.expression,E,jE),a=jC(e.statement,D,p),a=kj(a)?y.updateBlock(a,__spreadArray(__spreadArray([],__read(t),!1),__read(a.statements),!1)):y.createBlock(__spreadArray(__spreadArray([],__read(t),!1),[a],!1),!0);return y.updateForInStatement(e,r,n,a)}}return y.updateForInStatement(e,TJ(e.initializer,F,mc),TJ(e.expression,E,jE),jC(e.statement,D,p))}(e);case 250:return function(e){if(!Ej(e.initializer)||7&e.initializer.flags)return y.updateForOfStatement(e,e.awaitModifier,TJ(e.initializer,F,mc),TJ(e.expression,E,jE),jC(e.statement,D,p));var t=j(void 0,e.initializer,!0),r=TJ(e.initializer,F,mc),n=TJ(e.expression,E,jE),a=jC(e.statement,D,p);dD(t)&&(a=kj(a)?y.updateBlock(a,__spreadArray(__spreadArray([],__read(t),!1),__read(a.statements),!1)):y.createBlock(__spreadArray(__spreadArray([],__read(t),!1),[a],!1),!0));return y.updateForOfStatement(e,e.awaitModifier,r,n,a)}(e);case 246:return i=e,y.updateDoStatement(i,jC(i.statement,D,p),TJ(i.expression,E,jE));case 247:return a=e,y.updateWhileStatement(a,TJ(a.expression,E,jE),jC(a.statement,D,p));case 256:return a=e,y.updateLabeledStatement(a,a.label,rA.checkDefined(TJ(a.statement,D,XE,y.liftToBlock)));case 254:return n=e,y.updateWithStatement(n,TJ(n.expression,E,jE),rA.checkDefined(TJ(n.statement,D,XE,y.liftToBlock)));case 245:return n=e,y.updateIfStatement(n,TJ(n.expression,E,jE),rA.checkDefined(TJ(n.thenStatement,D,XE,y.liftToBlock)),TJ(n.elseStatement,D,XE,y.liftToBlock));case 255:return r=e,y.updateSwitchStatement(r,TJ(r.expression,E,jE),rA.checkDefined(TJ(r.caseBlock,D,eh)));case 269:return r=e,y.updateCaseBlock(r,SJ(r.clauses,D,Ac));case 296:return t=e,y.updateCaseClause(t,TJ(t.expression,E,jE),SJ(t.statements,D,XE));case 297:return wJ(e,D,p);case 258:return wJ(e,D,p);case 299:return t=e,y.updateCatchClause(t,t.variableDeclaration,rA.checkDefined(TJ(t.block,D,kj)));case 241:return wJ(e,D,p);default:return E(e)}var t,r,n,a,i}function A(e,t){if(!(276828160&e.transformFlags))return e;switch(e.kind){case 248:return P(e,!1);case 244:return a=e,y.updateExpressionStatement(a,TJ(a.expression,F,jE));case 217:return r=e,n=t,y.updateParenthesizedExpression(r,TJ(r.expression,n?F:E,jE));case 360:return r=e,n=t,y.updatePartiallyEmittedExpression(r,TJ(r.expression,n?F:E,jE));case 213:if(mP(e)&&void 0===h.impliedNodeFormat)return function(e){if(0===d&&7<=l)return wJ(e,E,p);var t=fx(y,e,h,g,k,v),r=TJ(kD(e.arguments),E,jE),n=!t||r&&hR(r)&&r.text===t.text?r:t,a=!!(16384&e.transformFlags);switch(v.module){case 2:return I(n,a);case 3:return function(e,t){{if(o=!0,gN(e)){var r=mE(e)?e:hR(e)?y.createStringLiteralFromNode(e):lR(UB(y.cloneNode(e),e),3072);return y.createConditionalExpression(y.createIdentifier("__syncRequire"),void 0,O(e),void 0,I(r,t))}r=y.createTempVariable(_);return y.createComma(y.createAssignment(r,e),y.createConditionalExpression(y.createIdentifier("__syncRequire"),void 0,O(r,!0),void 0,I(r,t)))}}(null!=n?n:y.createVoidZero(),a);case 1:default:return O(n)}}(e);break;case 226:if(sf(e))return function(e,t){if(function e(t){var r,n,a,i;if(nj(t))try{for(var o=__values(t.properties),s=o.next();!s.done;s=o.next()){var c=s.value;switch(c.kind){case 303:if(e(c.initializer))return!0;break;case 304:if(e(c.name))return!0;break;case 305:if(e(c.expression))return!0;break;case 174:case 177:case 178:return!1;default:rA.assertNever(c,"Unhandled object member kind")}}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}else if(rj(t))try{for(var u=__values(t.elements),_=u.next();!_.done;_=u.next()){var c=_.value;if(yj(c)){if(e(c.expression))return!0}else if(e(c))return!0}}catch(e){a={error:e}}finally{try{_&&!_.done&&(i=u.return)&&i.call(u)}finally{if(a)throw a.error}}else if(xR(t))return HN(K(t))>(tx(t)?1:0);return!1}(e.left))return jN(e,E,p,0,!t,R);return wJ(e,E,p)}(e,t);break;case 224:case 225:return function(e,t){var r,n;if((46===e.operator||47===e.operator)&&xR(e.operand)&&!mE(e.operand)&&!ex(e.operand)&&!Rf(e.operand)){var a=K(e.operand);if(a){var i=void 0,o=TJ(e.operand,E,jE);pj(e)?o=y.updatePrefixUnaryExpression(e,o):(o=y.updatePostfixUnaryExpression(e,o),t||(i=y.createTempVariable(_),UB(o=y.createAssignment(i,o),e)),UB(o=y.createComma(o,y.cloneNode(e.operand)),e));try{for(var s=__values(a),c=s.next();!c.done;c=s.next()){var u=c.value;f[mJ(o)]=!0,UB(o=q(u,o),e)}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return i&&(f[mJ(o)]=!0,UB(o=y.createComma(o,i),e)),o}}return wJ(e,E,p)}(e,t)}var r,n,a;return wJ(e,E,p)}function E(e){return A(e,!1)}function F(e){return A(e,!0)}function P(e,t){if(t&&e.initializer&&Ej(e.initializer)&&!(7&e.initializer.flags)){var r=j(void 0,e.initializer,!1);if(r){var n=[],a=TJ(e.initializer,F,Ej),i=y.createVariableStatement(void 0,a);n.push(i),gD(n,r);a=TJ(e.condition,E,jE),i=TJ(e.incrementor,F,jE),r=jC(e.statement,t?D:E,p);return n.push(y.updateForStatement(e,void 0,a,i,r)),n}}return y.updateForStatement(e,TJ(e.initializer,F,mc),TJ(e.condition,E,jE),TJ(e.incrementor,F,jE),jC(e.statement,t?D:E,p))}function I(e,t){var r=y.createUniqueName("resolve"),n=y.createUniqueName("reject"),a=[y.createParameterDeclaration(void 0,void 0,r),y.createParameterDeclaration(void 0,void 0,n)],n=y.createBlock([y.createExpressionStatement(y.createCallExpression(y.createIdentifier("require"),void 0,[y.createArrayLiteralExpression([e||y.createOmittedExpression()]),r,n]))]);2<=l?i=y.createArrowFunction(void 0,void 0,a,void 0,void 0,n):(i=y.createFunctionExpression(void 0,void 0,void 0,void 0,a,void 0,n),t&&lR(i,16));var i=y.createNewExpression(y.createIdentifier("Promise"),void 0,[i]);return cM(v)?y.createCallExpression(y.createPropertyAccessExpression(i,y.createIdentifier("then")),void 0,[u().createImportStarCallbackHelper()]):i}function O(e,t){var r=e&&!hN(e)&&!t,t=y.createCallExpression(y.createPropertyAccessExpression(y.createIdentifier("Promise"),"resolve"),void 0,r?2<=l?[y.createTemplateExpression(y.createTemplateHead(""),[y.createTemplateSpan(e,y.createTemplateTail(""))])]:[y.createCallExpression(y.createPropertyAccessExpression(y.createStringLiteral(""),"concat"),void 0,[e])]:[]),e=y.createCallExpression(y.createIdentifier("require"),void 0,r?[y.createIdentifier("s")]:e?[e]:[]);cM(v)&&(e=u().createImportStarHelper(e));r=r?[y.createParameterDeclaration(void 0,void 0,"s")]:[],e=2<=l?y.createArrowFunction(void 0,void 0,r,void 0,void 0,e):y.createFunctionExpression(void 0,void 0,void 0,void 0,r,void 0,y.createBlock([y.createReturnStatement(e)]));return y.createCallExpression(y.createPropertyAccessExpression(t,"then"),void 0,[e])}function L(e,t){return!cM(v)||2&m_(e)?t:pN(e)?u().createImportStarHelper(t):mN(e)?u().createImportDefaultHelper(t):t}function M(e){var t=fx(y,e,h,g,k,v),e=[];return t&&e.push(t),y.createCallExpression(y.createIdentifier("require"),void 0,e)}function R(e,t,r){var n,a,i=K(e);if(i){var o=tx(e)?t:y.createAssignment(e,t);try{for(var s=__values(i),c=s.next();!c.done;c=s.next()){var u=c.value;lR(o,8),o=q(u,o,r)}}catch(e){n={error:e}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(n)throw n.error}}return o}return y.createAssignment(e,t)}function j(e,t,r){var n,a;if(T.exportEquals)return e;try{for(var i=__values(t.declarations),o=i.next();!o.done;o=i.next())e=function e(t,r,n){var a,i;if(T.exportEquals)return t;if(PE(r.name))try{for(var o=__values(r.name.elements),s=o.next();!s.done;s=o.next()){var c=s.value;gj(c)||(t=e(t,c,n))}}catch(e){a={error:e}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(a)throw a.error}}else mE(r.name)||Aj(r)&&!r.initializer&&!n||(t=J(t,new sN,r));return t}(e,o.value,r)}catch(e){n={error:e}}finally{try{o&&!o.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}return e}function B(e,t){if(T.exportEquals)return e;var r=new sN;return _L(t,1)&&(e=z(e,r,_L(t,1024)?y.createIdentifier("default"):y.getDeclarationName(t),y.getLocalName(t),t)),t.name&&(e=J(e,r,t)),e}function J(e,t,r,n){var a,i,o=y.getDeclarationName(r),s=T.exportSpecifiers.get(o);if(s)try{for(var c=__values(s),u=c.next();!u.done;u=c.next()){var _=u.value;e=z(e,t,_.name,o,_.name,void 0,n)}}catch(e){a={error:e}}finally{try{u&&!u.done&&(i=c.return)&&i.call(c)}finally{if(a)throw a.error}}return e}function z(e,t,r,n,a,i,o){return t.has(r)||(t.set(r,!0),e=vD(e,V(r,n,a,i,o))),e}function U(){var e=0===l?y.createExpressionStatement(q(y.createIdentifier("__esModule"),y.createTrue())):y.createExpressionStatement(y.createCallExpression(y.createPropertyAccessExpression(y.createIdentifier("Object"),"defineProperty"),void 0,[y.createIdentifier("exports"),y.createStringLiteral("__esModule"),y.createObjectLiteralExpression([y.createPropertyAssignment("value",y.createTrue())])]));return lR(e,2097152),e}function V(e,t,r,n,a){r=UB(y.createExpressionStatement(q(e,t,void 0,a)),r);return sx(r),n||lR(r,3072),r}function q(e,t,r,n){return UB(n&&0!==l?y.createCallExpression(y.createPropertyAccessExpression(y.createIdentifier("Object"),"defineProperty"),void 0,[y.createIdentifier("exports"),y.createStringLiteralFromNode(e),y.createObjectLiteralExpression([y.createPropertyAssignment("enumerable",y.createTrue()),y.createPropertyAssignment("get",y.createFunctionExpression(void 0,void 0,void 0,void 0,[],void 0,y.createBlock([y.createReturnStatement(t)])))])]):y.createAssignment(y.createPropertyAccessExpression(y.createIdentifier("exports"),y.cloneNode(e)),t),r)}function W(e){switch(e.kind){case 95:case 90:return}return e}function H(e){if(8192&p_(e)){var t=cx(h);return t?y.createPropertyAccessExpression(t,e):e}if((!mE(e)||64&e.emitNode.autoGenerate.flags)&&!ex(e)){var r=k.getReferencedExportContainer(e,tx(e));if(r&&312===r.kind)return UB(y.createPropertyAccessExpression(y.createIdentifier("exports"),y.cloneNode(e)),e);var n=k.getReferencedImportDeclaration(e);if(n){if(zj(n))return UB(y.createPropertyAccessExpression(y.getGeneratedNameForNode(n.parent),y.createIdentifier("default")),e);if(Vj(n)){t=n.propertyName||n.name;return UB(y.createPropertyAccessExpression(y.getGeneratedNameForNode((null==(r=null==(r=n.parent)?void 0:r.parent)?void 0:r.parent)||n),y.cloneNode(t)),e)}}}return e}function K(e){var t,r,n,a,i,o;if(mE(e)){if(Rs(e)){var s=null==T?void 0:T.exportSpecifiers.get(e);if(s){var c=[];try{for(var u=__values(s),_=u.next();!_.done;_=u.next()){var l=_.value;c.push(l.name)}}catch(e){i={error:e}}finally{try{_&&!_.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}return c}}}else{var d=k.getReferencedImportDeclaration(e);if(d)return null==T?void 0:T.exportedBindings[_N(d)];var f=new Set,p=k.getReferencedValueDeclarations(e);if(p){try{for(var m=__values(p),y=m.next();!y.done;y=m.next()){var v=y.value,g=null==T?void 0:T.exportedBindings[_N(v)];if(g)try{for(var h=(n=void 0,__values(g)),x=h.next();!x.done;x=h.next()){var b=x.value;f.add(b)}}catch(e){n={error:e}}finally{try{x&&!x.done&&(a=h.return)&&a.call(h)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{y&&!y.done&&(r=m.return)&&r.call(m)}finally{if(t)throw t.error}}if(f.size)return PD(f)}}}}var Jz=e({"src/compiler/transformers/module/module.ts":function(){MK(),Rz={name:"typescript:dynamicimport-sync-require",scoped:!0,text:'\n            var __syncRequire = typeof module === "object" && typeof module.exports === "object";'}}});function zz(l){var T=l.factory,o=l.startLexicalEnvironment,s=l.endLexicalEnvironment,d=l.hoistVariableDeclaration,f=l.getCompilerOptions(),p=l.getEmitResolver(),m=l.getEmitHost(),r=l.onSubstituteNode,a=l.onEmitNode;l.onSubstituteNode=function(e,t){if(function(e){return u&&e.id&&u[e.id]}(t=r(e,t)))return t;{if(1===e)return function(e){switch(e.kind){case 80:return function(e){if(8192&p_(e)){var t=cx(S);return t?T.createPropertyAccessExpression(t,e):e}if(!mE(e)&&!ex(e)){var r=p.getReferencedImportDeclaration(e);if(r){if(zj(r))return UB(T.createPropertyAccessExpression(T.getGeneratedNameForNode(r.parent),T.createIdentifier("default")),e);if(Vj(r))return UB(T.createPropertyAccessExpression(T.getGeneratedNameForNode((null==(t=null==(t=r.parent)?void 0:t.parent)?void 0:t.parent)||r),T.cloneNode(r.propertyName||r.name)),e)}}return e}(e);case 226:return function(e){var t,r;if(wL(e.operatorToken.kind)&&xR(e.left)&&(!mE(e.left)||Rs(e.left))&&!ex(e.left)){var n=q(e.left);if(n){var a=e;try{for(var i=__values(n),o=i.next();!o.done;o=i.next()){var s=o.value;a=M(s,W(a))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return a}}return e}(e);case 236:return function(e){if(B_(e))return T.createPropertyAccessExpression(c,T.createIdentifier("meta"));return e}(e)}return e}(t);if(4===e)return function(e){if(304===e.kind)return function(e){var t=e.name;if(!mE(t)&&!ex(t)){var r=p.getReferencedImportDeclaration(t);if(r){if(zj(r))return UB(T.createPropertyAssignment(T.cloneNode(t),T.createPropertyAccessExpression(T.getGeneratedNameForNode(r.parent),T.createIdentifier("default"))),e);if(Vj(r))return UB(T.createPropertyAssignment(T.cloneNode(t),T.createPropertyAccessExpression(T.getGeneratedNameForNode((null==(t=null==(t=r.parent)?void 0:t.parent)?void 0:t.parent)||r),T.cloneNode(r.propertyName||r.name))),e)}}return e}(e);return e}(t)}return t},l.onEmitNode=function(e,t,r){{var n;312===t.kind?(n=_N(t),S=t,y=_[n],w=h[n],u=x[n],c=b[n],u&&delete x[n],a(e,t,r),u=c=w=y=S=void 0):a(e,t,r)}},l.enableSubstitution(80),l.enableSubstitution(304),l.enableSubstitution(226),l.enableSubstitution(236),l.enableEmitNotification(312);var S,y,w,c,v,g,u,_=[],h=[],x=[],b=[];return dN(l,function(e){if(e.isDeclarationFile||!(qF(e,f)||8388608&e.transformFlags))return e;var t=_N(e);g=S=e,y=_[t]=yN(l,e),w=T.createUniqueName("exports"),h[t]=w,c=b[t]=T.createUniqueName("context");var r=function(e){var t,r,n=new Map,a=[];try{for(var i=__values(e),o=i.next();!o.done;o=i.next()){var s,c,u=o.value,_=fx(T,u,S,m,p,f);_&&(s=_.text,void 0!==(c=n.get(s))?a[c].externalImports.push(u):(n.set(s,a.length),a.push({name:_,externalImports:[u]})))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return a}(y.externalImports),n=function(e,t){var r=[];o();var n=pM(f,"alwaysStrict")||!f.noImplicitUseStrict&&XB(S),a=T.copyPrologue(e.statements,r,n,C);r.push(T.createVariableStatement(void 0,T.createVariableDeclarationList([T.createVariableDeclaration("__moduleName",void 0,void 0,T.createLogicalAnd(c,T.createPropertyAccessExpression(c,"id")))]))),TJ(y.externalHelpersImportDeclaration,C,XE);n=SJ(e.statements,C,XE,a);gD(r,v),t_(r,s());a=function(e){var t,r,n,a;if(!y.hasExportStarsToExportValues)return;if(!y.exportedNames&&0===y.exportSpecifiers.size){var i=!1;try{for(var o=__values(y.externalImports),s=o.next();!s.done;s=o.next()){var c=s.value;if(278===c.kind&&c.exportClause){i=!0;break}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}if(!i){var u=k(void 0);return e.push(u),u.name}}var _=[];if(y.exportedNames)try{for(var l=__values(y.exportedNames),d=l.next();!d.done;d=l.next()){var f=d.value;"default"!==f.escapedText&&_.push(T.createPropertyAssignment(T.createStringLiteralFromNode(f),T.createTrue()))}}catch(e){n={error:e}}finally{try{d&&!d.done&&(a=l.return)&&a.call(l)}finally{if(n)throw n.error}}u=T.createUniqueName("exportedNames");e.push(T.createVariableStatement(void 0,T.createVariableDeclarationList([T.createVariableDeclaration(u,void 0,void 0,T.createObjectLiteralExpression(_,!0))])));u=k(u);return e.push(u),u.name}(r),e=2097152&e.transformFlags?T.createModifiersFromModifierFlags(512):void 0,n=T.createObjectLiteralExpression([T.createPropertyAssignment("setters",function(e,t){var r,n,a,i,o,s,c=[];try{for(var u=__values(t),_=u.next();!_.done;_=u.next()){var l=_.value,d=KN(l.externalImports,function(e){return dx(T,e,S)}),f=d?T.getGeneratedNameForNode(d):T.createUniqueName(""),p=[];try{for(var m=(a=void 0,__values(l.externalImports)),y=m.next();!y.done;y=m.next()){var v=y.value,g=dx(T,v,S);switch(v.kind){case 272:if(!v.importClause)break;case 271:rA.assert(void 0!==g),p.push(T.createExpressionStatement(T.createAssignment(g,f))),_L(v,1)&&p.push(T.createExpressionStatement(T.createCallExpression(w,void 0,[T.createStringLiteral(LA(g)),f])));break;case 278:if(rA.assert(void 0!==g),v.exportClause)if(Hj(v.exportClause)){var h=[];try{for(var x=(o=void 0,__values(v.exportClause.elements)),b=x.next();!b.done;b=x.next()){var k=b.value;h.push(T.createPropertyAssignment(T.createStringLiteral(LA(k.name)),T.createElementAccessExpression(f,T.createStringLiteral(LA(k.propertyName||k.name)))))}}catch(e){o={error:e}}finally{try{b&&!b.done&&(s=x.return)&&s.call(x)}finally{if(o)throw o.error}}p.push(T.createExpressionStatement(T.createCallExpression(w,void 0,[T.createObjectLiteralExpression(h,!0)])))}else p.push(T.createExpressionStatement(T.createCallExpression(w,void 0,[T.createStringLiteral(LA(v.exportClause.name)),f])));else p.push(T.createExpressionStatement(T.createCallExpression(e,void 0,[f])))}}}catch(e){a={error:e}}finally{try{y&&!y.done&&(i=m.return)&&i.call(m)}finally{if(a)throw a.error}}c.push(T.createFunctionExpression(void 0,void 0,void 0,void 0,[T.createParameterDeclaration(void 0,void 0,f)],void 0,T.createBlock(p,!0)))}}catch(e){r={error:e}}finally{try{_&&!_.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}return T.createArrayLiteralExpression(c,!0)}(a,t)),T.createPropertyAssignment("execute",T.createFunctionExpression(e,void 0,void 0,void 0,[],void 0,T.createBlock(n,!0)))],!0);return r.push(T.createReturnStatement(n)),T.createBlock(r,!0)}(e,r),a=T.createFunctionExpression(void 0,void 0,void 0,void 0,[T.createParameterDeclaration(void 0,void 0,w),T.createParameterDeclaration(void 0,void 0,c)],void 0,n),i=px(T,e,m,f),r=T.createArrayLiteralExpression(iD(r,function(e){return e.name})),e=lR(T.updateSourceFile(e,UB(T.createNodeArray([T.createExpressionStatement(T.createCallExpression(T.createPropertyAccessExpression(T.createIdentifier("System"),"register"),void 0,i?[i,r,a]:[r,a]))]),e.statements)),2048);GO(f)||Ky(e,n,function(e){return!e.scoped});u&&(x[t]=u,u=void 0);return g=v=c=w=y=S=void 0,e});function k(e){var t=T.createUniqueName("exportStar"),r=T.createIdentifier("m"),n=T.createIdentifier("n"),a=T.createIdentifier("exports"),i=T.createStrictInequality(n,T.createStringLiteral("default"));return e&&(i=T.createLogicalAnd(i,T.createLogicalNot(T.createCallExpression(T.createPropertyAccessExpression(e,"hasOwnProperty"),void 0,[n])))),T.createFunctionDeclaration(void 0,void 0,t,void 0,[T.createParameterDeclaration(void 0,void 0,r)],void 0,T.createBlock([T.createVariableStatement(void 0,T.createVariableDeclarationList([T.createVariableDeclaration(a,void 0,void 0,T.createObjectLiteralExpression([]))])),T.createForInStatement(T.createVariableDeclarationList([T.createVariableDeclaration(n)]),r,T.createBlock([lR(T.createIfStatement(i,T.createExpressionStatement(T.createAssignment(T.createElementAccessExpression(a,n),T.createElementAccessExpression(r,n)))),1)])),T.createExpressionStatement(T.createCallExpression(w,void 0,[a]))],!0))}function C(e){switch(e.kind){case 272:return function(e){e.importClause&&d(dx(T,e,S));return Ee(function(e,t){var r,n;if(y.exportEquals)return e;t=t.importClause;if(!t)return e;t.name&&(e=I(e,t));var a=t.namedBindings;if(a)switch(a.kind){case 274:e=I(e,a);break;case 275:try{for(var i=__values(a.elements),o=i.next();!o.done;o=i.next()){var s=o.value;e=I(e,s)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}return e}(void 0,e))}(e);case 271:return t=e,rA.assert(nI(t),"import= for internal module references should be handled in an earlier transformer."),d(dx(T,t,S)),Ee(function(e,t){if(y.exportEquals)return e;return I(e,t)}(void 0,t));case 278:return t=e,void rA.assertIsDefined(t);case 277:return function(e){if(e.isExportEquals)return;e=TJ(e.expression,J,jE);return L(T.createIdentifier("default"),e,!0)}(e);default:return R(e)}var t}function N(e){var t,r,n,a;if(!A(e.declarationList))return TJ(e,J,XE);if(M_(e.declarationList)||L_(e.declarationList)){var i=SJ(e.modifiers,V,Hs),o=[];try{for(var s=__values(e.declarationList.declarations),c=s.next();!c.done;c=s.next()){var u=c.value;o.push(T.updateVariableDeclaration(u,T.getGeneratedNameForNode(u.name),void 0,void 0,E(u,!1)))}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}var _=T.updateVariableDeclarationList(e.declarationList,o),l=vD(l,T.updateVariableStatement(e,i,_))}else{var d=void 0,f=_L(e,1);try{for(var p=__values(e.declarationList.declarations),m=p.next();!m.done;m=p.next())(u=m.value).initializer?d=vD(d,E(u,f)):D(u)}catch(e){n={error:e}}finally{try{m&&!m.done&&(a=p.return)&&a.call(p)}finally{if(n)throw n.error}}d&&(l=vD(l,UB(T.createExpressionStatement(T.inlineExpressions(d)),e)))}return Ee(l=function(e,t,r){var n,a;if(y.exportEquals)return e;try{for(var i=__values(t.declarationList.declarations),o=i.next();!o.done;o=i.next()){var s=o.value;(s.initializer||r)&&(e=function e(t,r,n){var a,i;if(y.exportEquals)return t;if(PE(r.name))try{for(var o=__values(r.name.elements),s=o.next();!s.done;s=o.next()){var c=s.value;gj(c)||(t=e(t,c,n))}}catch(e){a={error:e}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(a)throw a.error}}else{var u;mE(r.name)||(u=void 0,n&&(t=O(t,r.name,T.getLocalName(r)),u=LA(r.name)),t=I(t,r,u))}return t}(e,s,r))}}catch(e){n={error:e}}finally{try{o&&!o.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}return e}(l,e,!1))}function D(e){var t,r;if(PE(e.name))try{for(var n=__values(e.name.elements),a=n.next();!a.done;a=n.next()){var i=a.value;gj(i)||D(i)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}else d(T.cloneNode(e.name))}function A(e){return 0==(4194304&p_(e))&&(312===g.kind||0==(7&EA(e).flags))}function E(e,t){t=t?n:i;return PE(e.name)?jN(e,J,l,0,!1,t):e.initializer?t(e.name,TJ(e.initializer,J,jE)):e.name}function n(e,t,r){return F(e,t,r,!0)}function i(e,t,r){return F(e,t,r,!1)}function F(e,t,r,n){return d(T.cloneNode(e)),n?M(e,W(UB(T.createAssignment(e,t),r))):W(UB(T.createAssignment(e,t),r))}function P(e,t){return y.exportEquals||(_L(t,1)&&(e=O(e,r=_L(t,1024)?T.createStringLiteral("default"):t.name,T.getLocalName(t)),r=AO(r)),t.name&&(e=I(e,t,r))),e;var r}function I(e,t,r){var n,a;if(y.exportEquals)return e;var i=T.getDeclarationName(t),o=y.exportSpecifiers.get(i);if(o)try{for(var s=__values(o),c=s.next();!c.done;c=s.next()){var u=c.value;u.name.escapedText!==r&&(e=O(e,u.name,i))}}catch(e){n={error:e}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(n)throw n.error}}return e}function O(e,t,r,n){return e=vD(e,L(t,r,n))}function L(e,t,r){t=T.createExpressionStatement(M(e,t));return sx(t),r||lR(t,3072),t}function M(e,t){e=xR(e)?T.createStringLiteralFromNode(e):e;return lR(t,3072|p_(t)),dR(T.createCallExpression(w,void 0,[e,t]),t)}function R(e){switch(e.kind){case 243:return N(e);case 262:return void(v=P(v=_L(_=e,1)?vD(v,T.updateFunctionDeclaration(_,SJ(_.modifiers,V,Hs),_.asteriskToken,T.getDeclarationName(_,!0,!0),void 0,SJ(_.parameters,J,CR),void 0,TJ(_.body,J,kj))):vD(v,wJ(_,J,l)),_));case 263:return u=e,_=T.getLocalName(u),d(_),Ee(P(vD(void 0,UB(T.createExpressionStatement(T.createAssignment(_,UB(T.createClassExpression(SJ(u.modifiers,V,Hs),u.name,void 0,SJ(u.heritageClauses,J,nB),SJ(u.members,J,CE)),u))),u)),u));case 248:return j(e,!0);case 249:return u=g,g=c=e,c=T.updateForInStatement(c,B(c.initializer),TJ(c.expression,J,jE),jC(c.statement,R,l)),g=u,c;case 250:return c=g,g=s=e,s=T.updateForOfStatement(s,s.awaitModifier,B(s.initializer),TJ(s.expression,J,jE),jC(s.statement,R,l)),g=c,s;case 246:return s=e,T.updateDoStatement(s,jC(s.statement,R,l),TJ(s.expression,J,jE));case 247:return o=e,T.updateWhileStatement(o,TJ(o.expression,J,jE),jC(o.statement,R,l));case 256:return o=e,T.updateLabeledStatement(o,o.label,rA.checkDefined(TJ(o.statement,R,XE,T.liftToBlock)));case 254:return i=e,T.updateWithStatement(i,TJ(i.expression,J,jE),rA.checkDefined(TJ(i.statement,R,XE,T.liftToBlock)));case 245:return i=e,T.updateIfStatement(i,TJ(i.expression,J,jE),rA.checkDefined(TJ(i.thenStatement,R,XE,T.liftToBlock)),TJ(i.elseStatement,R,XE,T.liftToBlock));case 255:return a=e,T.updateSwitchStatement(a,TJ(a.expression,J,jE),rA.checkDefined(TJ(a.caseBlock,R,eh)));case 269:return a=g,g=n=e,n=T.updateCaseBlock(n,SJ(n.clauses,R,Ac)),g=a,n;case 296:return n=e,T.updateCaseClause(n,TJ(n.expression,J,jE),SJ(n.statements,R,XE));case 297:return wJ(e,R,l);case 258:return wJ(e,R,l);case 299:return r=g,g=t=e,t=T.updateCatchClause(t,t.variableDeclaration,rA.checkDefined(TJ(t.block,R,kj))),g=r,t;case 241:return r=g,t=wJ(g=t=e,R,l),g=r,t;default:return J(e)}var t,r,n,a,i,o,s,c,u,_}function j(e,t){var r=g;return g=e,e=T.updateForStatement(e,TJ(e.initializer,t?B:z,mc),TJ(e.condition,J,jE),TJ(e.incrementor,z,jE),jC(e.statement,t?R:J,l)),g=r,e}function B(e){var t,r,n;if(Ej(n=e)&&A(n)){var a=void 0;try{for(var i=__values(e.declarations),o=i.next();!o.done;o=i.next()){var s=o.value,a=vD(a,E(s,!1));s.initializer||D(s)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return a?T.inlineExpressions(a):T.createOmittedExpression()}return TJ(e,z,mc)}function t(e,t){if(!(276828160&e.transformFlags))return e;switch(e.kind){case 248:return j(e,!1);case 244:return i=e,T.updateExpressionStatement(i,TJ(i.expression,z,jE));case 217:return a=e,i=t,T.updateParenthesizedExpression(a,TJ(a.expression,i?z:J,jE));case 360:return r=e,n=t,T.updatePartiallyEmittedExpression(r,TJ(r.expression,n?z:J,jE));case 226:if(sf(e))return function(e,t){if(U(e.left))return jN(e,J,l,0,!t);return wJ(e,J,l)}(e,t);break;case 213:if(mP(e))return n=fx(T,r=e,S,m,p,f),r=TJ(kD(r.arguments),J,jE),n=!n||r&&hR(r)&&r.text===n.text?r:n,T.createCallExpression(T.createPropertyAccessExpression(c,T.createIdentifier("import")),void 0,n?[n]:[]);break;case 224:case 225:return function(e,t){var r,n;if((46===e.operator||47===e.operator)&&xR(e.operand)&&!mE(e.operand)&&!ex(e.operand)&&!Rf(e.operand)){var a=q(e.operand);if(a){var i=void 0,o=TJ(e.operand,J,jE);pj(e)?o=T.updatePrefixUnaryExpression(e,o):(o=T.updatePostfixUnaryExpression(e,o),t||(i=T.createTempVariable(d),UB(o=T.createAssignment(i,o),e)),UB(o=T.createComma(o,T.cloneNode(e.operand)),e));try{for(var s=__values(a),c=s.next();!c.done;c=s.next()){var u=c.value;o=M(u,W(o))}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return i&&UB(o=T.createComma(o,i),e),o}}return wJ(e,J,l)}(e,t)}var r,n,a,i;return wJ(e,J,l)}function J(e){return t(e,!1)}function z(e){return t(e,!0)}function U(e){if(NL(e,!0))return U(e.left);if(yj(e))return U(e.expression);if(nj(e))return dD(e.properties,U);if(rj(e))return dD(e.elements,U);if(oB(e))return U(e.name);if(iB(e))return U(e.initializer);if(xR(e)){e=p.getReferencedExportContainer(e);return void 0!==e&&312===e.kind}return!1}function V(e){switch(e.kind){case 95:case 90:return}return e}function q(e){var t,r,n,a=function(e){var t,r;if(!mE(e)){var n=p.getReferencedImportDeclaration(e);if(n)return n;var a=p.getReferencedValueDeclaration(e);if(a&&null!=y&&y.exportedBindings[_N(a)])return a;var i=p.getReferencedValueDeclarations(e);if(i)try{for(var o=__values(i),s=o.next();!s.done;s=o.next()){var c=s.value;if(c!==a&&null!=y&&y.exportedBindings[_N(c)])return c}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return a}}(e);if(a){var i=p.getReferencedExportContainer(e,!1);i&&312===i.kind&&(n=vD(n,T.getDeclarationName(a))),n=gD(n,null==y?void 0:y.exportedBindings[_N(a)])}else if(mE(e)&&Rs(e)){var o=null==y?void 0:y.exportSpecifiers.get(e);if(o){var s=[];try{for(var c=__values(o),u=c.next();!u.done;u=c.next()){var _=u.value;s.push(_.name)}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(t)throw t.error}}return s}}return n}function W(e){return void 0===u&&(u=[]),u[mJ(e)]=!0,e}}var Uz=e({"src/compiler/transformers/module/system.ts":function(){MK()}});function Vz(a){var n,i,o,s=a.factory,c=a.getEmitHelperFactory,u=a.getEmitHost(),_=a.getEmitResolver(),l=a.getCompilerOptions(),d=rM(l),f=a.onEmitNode,r=a.onSubstituteNode;return a.onEmitNode=function(e,t,r){uB(t)?((XB(t)||sM(l))&&l.importHelpers&&(n=new Map),f(e,t,r),n=void 0):f(e,t,r)},a.onSubstituteNode=function(e,t){if(t=r(e,t),n&&xR(t)&&8192&p_(t))return function(e){var t=LA(e),e=n.get(t);e||n.set(t,e=s.createUniqueName(t,48));return e}(t);return t},a.enableEmitNotification(312),a.enableSubstitution(80),dN(a,function(e){if(e.isDeclarationFile)return e;if(XB(e)||sM(l)){o=void 0;var t=function(e){var t=_x(s,c(),e,l);{if(t){var r=[],n=s.copyPrologue(e.statements,r);return vD(r,t),gD(r,SJ(e.statements,p,XE,n)),s.updateSourceFile(e,UB(s.createNodeArray(r),e.statements))}return wJ(e,p,a)}}(i=e);return i=void 0,o&&(t=s.updateSourceFile(t,UB(s.createNodeArray(r_(t.statements.slice(),o)),t.statements))),!XB(e)||dD(t.statements,VE)?t:s.updateSourceFile(t,UB(s.createNodeArray(__spreadArray(__spreadArray([],__read(t.statements),!1),[PB(s)],!1)),t.statements))}return e});function p(e){switch(e.kind){case 271:return 100<=nM(l)?(t=e,rA.assert(nI(t),"import= for internal module references should be handled in an earlier transformer."),Ee(function(e,t){_L(t,1)&&(e=vD(e,s.createExportDeclaration(void 0,t.isTypeOnly,s.createNamedExports([s.createExportSpecifier(!1,void 0,LA(t.name))]))));return e}(vD(void 0,_R(UB(s.createVariableStatement(void 0,s.createVariableDeclarationList([s.createVariableDeclaration(s.cloneNode(t.name),void 0,void 0,function(e){var t=fx(s,e,rA.checkDefined(i),u,_,l),r=[];t&&r.push(t);o||(n=s.createUniqueName("_createRequire",48),e=s.createImportDeclaration(void 0,s.createImportClause(!1,void 0,s.createNamedImports([s.createImportSpecifier(!1,s.createIdentifier("createRequire"),n)])),s.createStringLiteral("module")),t=s.createUniqueName("__require",48),n=s.createVariableStatement(void 0,s.createVariableDeclarationList([s.createVariableDeclaration(t,void 0,void 0,s.createCallExpression(s.cloneNode(n),void 0,[s.createPropertyAccessExpression(s.createMetaProperty(102,s.createIdentifier("meta")),s.createIdentifier("url"))]))],2<=d?2:0)),o=[e,n]);var n=o[1].declarationList.declarations[0].name;return rA.assertNode(n,xR),s.createCallExpression(s.cloneNode(n),void 0,r)}(t))],2<=d?2:0)),t),t)),t))):void 0;case 277:return(t=e).isExportEquals?void 0:t;case 278:return function(e){if(void 0!==l.module&&5<l.module)return e;if(!e.exportClause||!Uj(e.exportClause)||!e.moduleSpecifier)return e;var t=e.exportClause.name,r=s.getGeneratedNameForNode(t),n=s.createImportDeclaration(void 0,s.createImportClause(!1,void 0,s.createNamespaceImport(r)),e.moduleSpecifier,e.assertClause);_R(n,e.exportClause);t=l_(e)?s.createExportDefault(r):s.createExportDeclaration(void 0,!1,s.createNamedExports([s.createExportSpecifier(!1,r,t)]));return _R(t,e),[n,t]}(e)}var t;return e}}var qz=e({"src/compiler/transformers/module/esnextAnd2015.ts":function(){MK()}});function Wz(t){var r=t.onSubstituteNode,n=t.onEmitNode,a=Vz(t),i=t.onSubstituteNode,o=t.onEmitNode;t.onSubstituteNode=r,t.onEmitNode=n;var s,c=Bz(t),u=t.onSubstituteNode,_=t.onEmitNode;return t.onSubstituteNode=function(e,t){return uB(t)?r(e,s=t):(s?99===s.impliedNodeFormat?i:u:r)(e,t)},t.onEmitNode=function(e,t,r){uB(t)&&(s=t);return(s?99!==s.impliedNodeFormat?_:o:n)(e,t,r)},t.enableSubstitution(312),t.enableEmitNotification(312),function(e){return(312===e.kind?l:function(e){return t.factory.createBundle(iD(e.sourceFiles,l),e.prepends)})(e)};function l(e){if(e.isDeclarationFile)return e;e=(99===(s=e).impliedNodeFormat?a:c)(e);return s=void 0,rA.assert(uB(e)),e}}var Hz=e({"src/compiler/transformers/module/node.ts":function(){MK()}});function Kz(e){return Aj(e)||AR(e)||DR(e)||tj(e)||$E(e)||eF(e)||RR(e)||MR(e)||FR(e)||ER(e)||Fj(e)||CR(e)||wR(e)||hj(e)||Bj(e)||Oj(e)||IR(e)||gg(e)||aj(e)||ij(e)||mj(e)||UI(e)}function Gz(t){return $E(t)||eF(t)?function(e){e=function(e){return lL(t)?e.errorModuleName?2===e.accessibility?mA.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:mA.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:mA.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:263===t.parent.kind?e.errorModuleName?2===e.accessibility?mA.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:mA.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:mA.Public_property_0_of_exported_class_has_or_is_using_private_name_1:e.errorModuleName?mA.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:mA.Property_0_of_exported_interface_has_or_is_using_private_name_1}(e);return void 0!==e?{diagnosticMessage:e,errorNode:t,typeName:t.name}:void 0}:ER(t)||FR(t)?function(e){e=function(e){return lL(t)?e.errorModuleName?2===e.accessibility?mA.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:mA.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:mA.Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:263===t.parent.kind?e.errorModuleName?2===e.accessibility?mA.Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:mA.Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:mA.Public_method_0_of_exported_class_has_or_is_using_private_name_1:e.errorModuleName?mA.Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:mA.Method_0_of_exported_interface_has_or_is_using_private_name_1}(e);return void 0!==e?{diagnosticMessage:e,errorNode:t,typeName:t.name}:void 0}:Xz(t)}function Xz(r){return Aj(r)||AR(r)||DR(r)||aj(r)||ij(r)||mj(r)||tj(r)||IR(r)?e:$E(r)||eF(r)?function(e){e=178===r.kind?lL(r)?e.errorModuleName?mA.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:mA.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:e.errorModuleName?mA.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:mA.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:lL(r)?e.errorModuleName?2===e.accessibility?mA.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:mA.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:mA.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:e.errorModuleName?2===e.accessibility?mA.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:mA.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:mA.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1;return{diagnosticMessage:e,errorNode:r.name,typeName:r.name}}:RR(r)||MR(r)||FR(r)||ER(r)||Fj(r)||gg(r)?function(e){var t;switch(r.kind){case 180:t=e.errorModuleName?mA.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:mA.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 179:t=e.errorModuleName?mA.Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:mA.Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 181:t=e.errorModuleName?mA.Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:mA.Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 174:case 173:t=lL(r)?e.errorModuleName?2===e.accessibility?mA.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:mA.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:mA.Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:263===r.parent.kind?e.errorModuleName?2===e.accessibility?mA.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:mA.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:mA.Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:e.errorModuleName?mA.Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:mA.Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0;break;case 262:t=e.errorModuleName?2===e.accessibility?mA.Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:mA.Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:mA.Return_type_of_exported_function_has_or_is_using_private_name_0;break;default:return rA.fail("This is unknown kind for signature: "+r.kind)}return{diagnosticMessage:t,errorNode:r.name||r}}:CR(r)?CA(r,r.parent)&&_L(r.parent,8)?e:function(e){e=function(e){switch(r.parent.kind){case 176:return e.errorModuleName?2===e.accessibility?mA.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:mA.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:mA.Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1;case 180:case 185:return e.errorModuleName?mA.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:mA.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;case 179:return e.errorModuleName?mA.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:mA.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;case 181:return e.errorModuleName?mA.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:mA.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1;case 174:case 173:return lL(r.parent)?e.errorModuleName?2===e.accessibility?mA.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:mA.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:mA.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:263===r.parent.parent.kind?e.errorModuleName?2===e.accessibility?mA.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:mA.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:mA.Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:e.errorModuleName?mA.Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:mA.Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;case 262:case 184:return e.errorModuleName?2===e.accessibility?mA.Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:mA.Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:mA.Parameter_0_of_exported_function_has_or_is_using_private_name_1;case 178:case 177:return e.errorModuleName?2===e.accessibility?mA.Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:mA.Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:mA.Parameter_0_of_accessor_has_or_is_using_private_name_1;default:return rA.fail("Unknown parent for parameter: ".concat(rA.formatSyntaxKind(r.parent.kind)))}}(e);return void 0!==e?{diagnosticMessage:e,errorNode:r,typeName:r.name}:void 0}:wR(r)?function(){var e;switch(r.parent.kind){case 263:e=mA.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;break;case 264:e=mA.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;break;case 200:e=mA.Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1;break;case 185:case 180:e=mA.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 179:e=mA.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 174:case 173:e=lL(r.parent)?mA.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:263===r.parent.parent.kind?mA.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:mA.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;break;case 184:case 262:e=mA.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;break;case 195:e=mA.Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1;break;case 265:e=mA.Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1;break;default:return rA.fail("This is unknown parent for type parameter: "+r.parent.kind)}return{diagnosticMessage:e,errorNode:r,typeName:r.name}}:hj(r)?function(){var e;e=Pj(r.parent.parent)?nB(r.parent)&&119===r.parent.token?mA.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:r.parent.parent.name?mA.extends_clause_of_exported_class_0_has_or_is_using_private_name_1:mA.extends_clause_of_exported_class_has_or_is_using_private_name_0:mA.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1;return{diagnosticMessage:e,errorNode:r,typeName:JA(r.parent.parent)}}:Bj(r)?function(){return{diagnosticMessage:mA.Import_declaration_0_is_using_private_name_1,errorNode:r,typeName:r.name}}:Oj(r)||UI(r)?function(e){return{diagnosticMessage:e.errorModuleName?mA.Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:mA.Exported_type_alias_0_has_or_is_using_private_name_1,errorNode:UI(r)?rA.checkDefined(r.typeExpression):r.type,typeName:UI(r)?JA(r):r.name}}:rA.assertNever(r,"Attempted to set a declaration diagnostic context for unhandled node kind: ".concat(rA.formatSyntaxKind(r.kind)));function e(e){e=e,e=260===r.kind||208===r.kind?e.errorModuleName?2===e.accessibility?mA.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:mA.Exported_variable_0_has_or_is_using_name_1_from_private_module_2:mA.Exported_variable_0_has_or_is_using_private_name_1:172===r.kind||211===r.kind||212===r.kind||226===r.kind||171===r.kind||169===r.kind&&_L(r.parent,8)?lL(r)?e.errorModuleName?2===e.accessibility?mA.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:mA.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:mA.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:263===r.parent.kind||169===r.kind?e.errorModuleName?2===e.accessibility?mA.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:mA.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:mA.Public_property_0_of_exported_class_has_or_is_using_private_name_1:e.errorModuleName?mA.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:mA.Property_0_of_exported_interface_has_or_is_using_private_name_1:void 0;return void 0!==e?{diagnosticMessage:e,errorNode:r,typeName:r.name}:void 0}}var Qz,Yz=e({"src/compiler/transformers/declarations/diagnostics.ts":function(){MK()}});function Zz(e,t,r){var n=e.getCompilerOptions();return fU(t,e,uR,n,r?[r]:nD(e.getSourceFiles(),ul),[tU],!1).diagnostics}function $z(e,t){return WD(t.text.substring(e.pos,e.end),"@internal")}function eU(e,t){var r=PA(e);if(r&&169===r.kind){var n=r.parent.parameters.indexOf(r),a=0<n?r.parent.parameters[n-1]:void 0,n=t.text,e=a?fD(eo(n,xA(n,a.end+1,!1,!0)),$i(n,e.pos)):eo(n,xA(n,e.pos,!1,!0));return e&&e.length&&$z(ND(e),t)}return!!KN(r&&W_(r,t),function(e){return $z(e,t)})}function tU(l){function _(){return rA.fail("Diagnostic emitted without context")}var x,d,b,k,f,p,T,S,m,y,v,g,w=_,C=!0,h=!1,N=!1,D=!1,A=!1,E=l.factory,F=l.getEmitHost(),P={trackSymbol:function(e,t,r){if(262144&e.flags)return!1;t=n(I.isSymbolAccessible(e,t,r,!0));return M(I.getTypeReferenceDirectivesForSymbol(e,r)),t},reportInaccessibleThisError:function(){(T||S)&&l.addDiagnostic(tP(T||S,mA.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,t(),"this"))},reportInaccessibleUniqueSymbolError:function(){(T||S)&&l.addDiagnostic(tP(T||S,mA.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,t(),"unique symbol"))},reportCyclicStructureError:function(){(T||S)&&l.addDiagnostic(tP(T||S,mA.The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary,t()))},reportPrivateInBaseOfClassExpression:function(e){(T||S)&&l.addDiagnostic(tP(T||S,mA.Property_0_of_exported_class_expression_may_not_be_private_or_protected,e))},reportLikelyUnsafeImportRequiredError:function(e){(T||S)&&l.addDiagnostic(tP(T||S,mA.The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary,t(),e))},reportTruncationError:function(){(T||S)&&l.addDiagnostic(tP(T||S,mA.The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed))},moduleResolverHost:F,trackReferencedAmbientModule:function(e,t){t=I.getTypeReferenceDirectivesForSymbol(t,67108863);if(HN(t))return M(t);e=CF(e);y.set(_N(e),e)},trackExternalModuleSymbolOfImportTypeNode:function(e){h||(p=p||[]).push(e)},reportNonlocalAugmentation:function(t,e,r){var n,a,i=null==(e=e.declarations)?void 0:e.find(function(e){return CF(e)===t}),o=nD(r.declarations,function(e){return CF(e)!==t});if(i&&o)try{for(var s=__values(o),c=s.next();!c.done;c=s.next()){var u=c.value;l.addDiagnostic(SM(tP(u,mA.Declaration_augments_declaration_in_another_file_This_cannot_be_serialized),tP(i,mA.This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file)))}}catch(e){n={error:e}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(n)throw n.error}}},reportNonSerializableProperty:function(e){(T||S)&&l.addDiagnostic(tP(T||S,mA.The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized,e))},reportImportTypeNodeResolutionModeOverride:function(){qO()||!T&&!S||l.addDiagnostic(tP(T||S,mA.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))}},I=l.getEmitResolver(),O=l.getCompilerOptions(),e=O.noResolve,L=O.stripInternal;return function(i){if(312===i.kind&&i.isDeclarationFile)return i;if(313===i.kind){h=!0,y=new Map,v=new Map;var r=!1,e=E.createBundle(iD(i.sourceFiles,function(e){if(!e.isDeclarationFile){if(r=r||e.hasNoDefaultLib,x=m=e,b=void 0,f=!1,k=new Map,w=_,A=D=!1,j(e,y),B(e,v),_P(e)||lP(e)){C=N=!1;var t=sI(e)?E.createNodeArray(R(e,!0)):SJ(e.statements,ee,XE);return E.updateSourceFile(e,[E.createModuleDeclaration([E.createModifier(138)],E.createStringLiteral(KO(l.getEmitHost(),e)),E.createModuleBlock(UB(E.createNodeArray(Z(t)),e.statements)))],!0,[],[],!1,[])}C=!0;t=sI(e)?E.createNodeArray(R(e)):SJ(e.statements,ee,XE);return E.updateSourceFile(e,Z(t),!0,[],[],!1,[])}}),uD(i.prepends,function(e){if(315!==e.kind)return e;e=vy(e,"dts",L);return r=r||!!e.hasNoDefaultLib,j(e,y),M(iD(e.typeReferenceDirectives,function(e){return[e.fileName,e.resolutionMode]})),B(e,v),e}));e.syntheticFileReferences=[],e.syntheticTypeReferences=s(),e.syntheticLibReferences=o(),e.hasNoDefaultLib=r;var t=lA(La(wU(i,F,!0).declarationFilePath)),n=u(e.syntheticFileReferences,t);return y.forEach(n),e}C=!0,m=x=i,w=_,f=N=h=A=D=!1,b=void 0,k=new Map,d=void 0,y=j(m,new Map),v=B(m,new Map);var a,t=[],n=lA(La(wU(i,F,!0).declarationFilePath)),e=u(t,n);sI(m)?(a=E.createNodeArray(R(i)),y.forEach(e),g=nD(a,N_)):(n=SJ(i.statements,ee,XE),a=UB(E.createNodeArray(Z(n)),i.statements),y.forEach(e),g=nD(a,N_),XB(i)&&(!N||D&&!A)&&(a=UB(E.createNodeArray(__spreadArray(__spreadArray([],__read(a),!1),[PB(E)],!1)),a)));t=E.updateSourceFile(i,a,!0,t,s(),i.hasNoDefaultLib,o());return t.exportedModulesFromDeclarationEmit=p,t;function o(){return PD(v.keys(),function(e){return{fileName:e,pos:-1,end:-1}})}function s(){return d?uD(PD(d.keys()),c):[]}function c(e){var t,r,e=__read(e,2),n=e[0],e=e[1];if(g)try{for(var a=__values(g),i=a.next();!i.done;i=a.next()){var o=i.value;if(Bj(o)&&Gj(o.moduleReference)){var s=o.moduleReference.expression;if(oF(s)&&s.text===n)return}else if(Jj(o)&&hR(o.moduleSpecifier)&&o.moduleSpecifier.text===n)return}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return __assign({fileName:n,pos:-1,end:-1},e?{resolutionMode:e}:void 0)}function u(n,a){return function(e){if(e.isDeclarationFile)r=e.fileName;else{if(h&&eD(i.sourceFiles,e))return;var t=wU(e,F,!0),r=t.declarationFilePath||t.jsFilePath||e.fileName}r&&(sA(e=$w(O,m,Ja(a,F.getCurrentDirectory(),F.getCanonicalFileName),Ja(r,F.getCurrentDirectory(),F.getCanonicalFileName),F))?(XD(r=ei(a,r,F.getCurrentDirectory(),F.getCanonicalFileName,!1),"./")&&cA(r)&&(r=r.substring(2)),XD(r,"node_modules/")||QS(r)||n.push({pos:-1,end:-1,fileName:r})):M([[e,void 0]]))}}};function M(e){var t,r;if(e){d=d||new Set;try{for(var n=__values(e),a=n.next();!a.done;a=n.next()){var i=a.value;d.add(i)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}}function n(e){var t,r;if(0===e.accessibility){if(e&&e.aliasesToMakeVisible)if(b)try{for(var n=__values(e.aliasesToMakeVisible),a=n.next();!a.done;a=n.next()){var i=a.value;hD(b,i)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}else b=e.aliasesToMakeVisible}else{var o=w(e);if(o)return o.typeName?l.addDiagnostic(tP(e.errorNode||o.errorNode,o.diagnosticMessage,PF(o.typeName),e.errorSymbolName,e.errorModuleName)):l.addDiagnostic(tP(e.errorNode||o.errorNode,o.diagnosticMessage,e.errorSymbolName,e.errorModuleName)),!0}return!1}function t(){return T?QF(T):S&&JA(S)?QF(JA(S)):S&&qj(S)?S.isExportEquals?"export=":"default":"(Missing)"}function R(t,e){var r=w;w=function(e){return e.errorNode&&Kz(e.errorNode)?Xz(e.errorNode)(e):{diagnosticMessage:e.errorModuleName?mA.Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:mA.Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit,errorNode:e.errorNode||t}};e=I.getDeclarationStatementsForSourceFile(t,Qz,P,e);return w=r,e}function j(t,r){return e||!vh(t)&&sI(t)||KN(t.referencedFiles,function(e){e=F.getSourceFileFromReference(t,e);e&&r.set(_N(e),e)}),r}function B(e,t){return KN(e.libReferenceDirectives,function(e){F.getLibFileFromReference(e)&&t.set(or(e.fileName),!0)}),t}function a(e,t,r){var n;f||(n=w,w=Xz(e));var a,i,e=E.updateParameterDeclaration(e,(a=e,t=t,E.createModifiersFromModifierFlags(rU(a,t,i))),e.dotDotDotToken,function t(e){return 80===e.kind?e:207===e.kind?E.updateArrayBindingPattern(e,SJ(e.elements,r,Qs)):E.updateObjectBindingPattern(e,SJ(e.elements,r,tj));function r(e){return 232===e.kind?e:e.propertyName&&xR(e.propertyName)&&xR(e.name)&&!e.symbol.isReferenced&&!Gl(e.propertyName)?E.updateBindingElement(e,e.dotDotDotToken,void 0,e.propertyName,o(e)?e.initializer:void 0):E.updateBindingElement(e,e.dotDotDotToken,e.propertyName,t(e.name),o(e)?e.initializer:void 0)}}(e.name),I.isOptionalParameter(e)?e.questionToken||E.createToken(58):void 0,z(e,r||e.type,!0),J(e));return f||(w=n),e}function o(e){return function(e){switch(e.kind){case 172:case 171:return!uL(e,8);case 169:case 260:return 1}return}(e)&&I.isLiteralConstDeclaration(PA(e))}function J(e){if(o(e))return I.createLiteralConstValue(PA(e),P)}function z(e,t,r){if((r||!uL(e,8))&&!o(e)){var n,r=169===e.kind&&(I.isRequiredInitializedParameter(e)||I.isOptionalUninitializedParameterProperty(e));return t&&!r?TJ(t,$,FE):PA(e)?178===e.kind?E.createKeywordTypeNode(133):(T=e.name,f||(n=w,w=Xz(e)),260===e.kind||208===e.kind?a(I.createTypeOfDeclaration(e,x,Qz,P)):169===e.kind||172===e.kind||171===e.kind?DR(e)||!e.initializer?a(I.createTypeOfDeclaration(e,x,Qz,P,r)):a(I.createTypeOfDeclaration(e,x,Qz,P,r)||I.createTypeOfExpression(e.initializer,x,Qz,P)):a(I.createReturnTypeOfSignatureDeclaration(e,x,Qz,P))):t?TJ(t,$,FE):E.createKeywordTypeNode(133)}function a(e){return T=void 0,f||(w=n),e||E.createKeywordTypeNode(133)}}function U(e){switch((e=PA(e)).kind){case 262:case 267:case 264:case 263:case 265:case 266:return!I.isDeclarationVisible(e);case 260:return!V(e);case 271:case 272:case 278:case 277:return;case 175:return 1}}function V(e){return!gj(e)&&(PE(e.name)?dD(e.name.elements,V):I.isDeclarationVisible(e))}function q(e,t,r){if(uL(e,8))return E.createNodeArray();e=iD(t,function(e){return a(e,r)});return e?E.createNodeArray(e,t.hasTrailingComma):E.createNodeArray()}function W(e,t){var r,n;return t||(n=YO(e))&&(r=[a(n)]),LR(e)&&(n=void 0,t||(t=QO(e))&&(n=a(t,void 0,se(e,I.getAllAccessorDeclarations(e)))),r=vD(r,n=n||E.createParameterDeclaration(void 0,void 0,"value"))),E.createNodeArray(r||WN)}function H(e,t){return uL(e,8)?void 0:SJ(t,$,wR)}function K(e){return uB(e)||Oj(e)||Mj(e)||Pj(e)||Ij(e)||bE(e)||gg(e)||wg(e)}function G(e,t){n(I.isEntityNameVisible(e,t)),M(I.getTypeReferenceDirectivesForEntityName(e))}function X(e,t){return tF(e)&&tF(t)&&(e.jsDoc=t.jsDoc),dR(e,Ly(t))}function Q(e,t){if(t){if(N=N||267!==e.kind&&205!==e.kind,oF(t))if(h){var r=bd(l.getEmitHost(),I,e);if(r)return E.createStringLiteral(r)}else{r=I.getSymbolOfExternalModuleSpecifier(t);r&&(p=p||[]).push(r)}return t}}function Y(e){if(void 0!==qV(e))return qO()||l.addDiagnostic(tP(e,mA.resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next)),e}function Z(e){for(;HN(b);){var t=b.shift();if(!WF(t))return rA.fail("Late replaced statement was found which is not handled by the declaration transformer!: ".concat(rA.formatSyntaxKind(t.kind)));var r=C;C=t.parent&&uB(t.parent)&&!(XB(t.parent)&&h);var n=i(t);C=r,k.set(_N(t),n)}return SJ(e,function(e){if(WF(e)){var t=_N(e);if(k.has(t)){var r=k.get(t);return k.delete(t),r&&((RD(r)?dD(r,UE):UE(r))&&(D=!0),uB(e.parent)&&(RD(r)?dD(r,VE):VE(r))&&(N=!0)),r}}return e},XE)}function $(n){if(!ae(n)){if(GE(n)){if(U(n))return;if(wO(n)&&!I.isLateBound(PA(n)))return}if(!(bE(n)&&I.isImplementationOfOverload(n)||zg(n))){var a;K(n)&&(a=x,x=n);var i=w,o=Kz(n),s=f,c=(187===n.kind||200===n.kind)&&265!==n.parent.kind;if((FR(n)||ER(n))&&uL(n,8))return n.symbol&&n.symbol.declarations&&n.symbol.declarations[0]!==n?void 0:_(E.createPropertyDeclaration(oe(n),n.name,void 0,void 0,void 0));if(o&&!f&&(w=Xz(n)),UR(n)&&G(n.exprName,x),c&&(f=!0),function(e){switch(e.kind){case 180:case 176:case 174:case 177:case 178:case 172:case 171:case 173:case 179:case 181:case 260:case 168:case 233:case 183:case 194:case 184:case 185:case 205:return!0}return!1}(n))switch(n.kind){case 233:(hE(n.expression)||AL(n.expression))&&G(n.expression,x);var e=wJ(n,$,l);return _(E.updateExpressionWithTypeArguments(e,e.expression,e.typeArguments));case 183:G(n.typeName,x);e=wJ(n,$,l);return _(E.updateTypeReferenceNode(e,e.typeName,e.typeArguments));case 180:return _(E.updateConstructSignature(n,H(n,n.typeParameters),q(n,n.parameters),z(n,n.type)));case 176:return _(E.createConstructorDeclaration(oe(n),q(n,n.parameters,0),void 0));case 174:return bR(n.name)?_(void 0):_(E.createMethodDeclaration(oe(n),void 0,n.name,n.questionToken,H(n,n.typeParameters),q(n,n.parameters),z(n,n.type),void 0));case 177:if(bR(n.name))return _(void 0);var t=se(n,I.getAllAccessorDeclarations(n));return _(E.updateGetAccessorDeclaration(n,oe(n),n.name,W(n,uL(n,8)),z(n,t),void 0));case 178:return bR(n.name)?_(void 0):_(E.updateSetAccessorDeclaration(n,oe(n),n.name,W(n,uL(n,8)),void 0));case 172:return bR(n.name)?_(void 0):_(E.updatePropertyDeclaration(n,oe(n),n.name,n.questionToken,z(n,n.type),J(n)));case 171:return bR(n.name)?_(void 0):_(E.updatePropertySignature(n,oe(n),n.name,n.questionToken,z(n,n.type)));case 173:return bR(n.name)?_(void 0):_(E.updateMethodSignature(n,oe(n),n.name,n.questionToken,H(n,n.typeParameters),q(n,n.parameters),z(n,n.type)));case 179:return _(E.updateCallSignature(n,H(n,n.typeParameters),q(n,n.parameters),z(n,n.type)));case 181:return _(E.updateIndexSignature(n,oe(n),q(n,n.parameters),TJ(n.type,$,FE)||E.createKeywordTypeNode(133)));case 260:return PE(n.name)?ne(n.name):(f=c=!0,_(E.updateVariableDeclaration(n,n.name,void 0,z(n,n.type),J(n))));case 168:return 174===(u=n).parent.kind&&uL(u.parent,8)&&(n.default||n.constraint)?_(E.updateTypeParameterDeclaration(n,n.modifiers,n.name,void 0,void 0)):_(wJ(n,$,l));case 194:var r=TJ(n.checkType,$,FE),e=TJ(n.extendsType,$,FE),t=x;x=n.trueType;var u=TJ(n.trueType,$,FE);x=t;t=TJ(n.falseType,$,FE);return rA.assert(r),rA.assert(e),rA.assert(u),rA.assert(t),_(E.updateConditionalTypeNode(n,r,e,u,t));case 184:return _(E.updateFunctionTypeNode(n,SJ(n.typeParameters,$,wR),q(n,n.parameters),rA.checkDefined(TJ(n.type,$,FE))));case 185:return _(E.updateConstructorTypeNode(n,oe(n),SJ(n.typeParameters,$,wR),q(n,n.parameters),rA.checkDefined(TJ(n.type,$,FE))));case 205:return yP(n)?_(E.updateImportTypeNode(n,E.updateLiteralTypeNode(n.argument,Q(n,n.argument.literal)),n.assertions,n.qualifier,SJ(n.typeArguments,$,FE),n.isTypeOf)):_(n);default:rA.assertNever(n,"Attempted to process unhandled node kind: ".concat(rA.formatSyntaxKind(n.kind)))}return qR(n)&&gA(m,n.pos).line===gA(m,n.end).line&&lR(n,1),_(wJ(n,$,l))}}function _(e){var t,r;return e&&o&&wO(n)&&(t=n,f||(r=w,w=Gz(t)),T=t.name,rA.assert(I.isLateBound(PA(t))),G(t.name.expression,x),f||(w=r),T=void 0),K(n)&&(x=a),o&&!f&&(w=i),c&&(f=s),e===n?e:e&&_R(X(e,n),n)}}function ee(e){if(function(e){switch(e.kind){case 262:case 267:case 271:case 264:case 263:case 265:case 266:case 243:case 272:case 278:case 277:return!0}return!1}(e)&&!ae(e)){switch(e.kind){case 278:return uB(e.parent)&&(N=!0),A=!0,E.updateExportDeclaration(e,e.modifiers,e.isTypeOnly,e.exportClause,Q(e,e.moduleSpecifier),qV(e.assertClause)?e.assertClause:void 0);case 277:if(uB(e.parent)&&(N=!0),A=!0,80===e.expression.kind)return e;var t=E.createUniqueName("_default",16);w=function(){return{diagnosticMessage:mA.Default_export_of_the_module_has_or_is_using_private_name_0,errorNode:e}},S=e;var r=E.createVariableDeclaration(t,void 0,I.createTypeOfExpression(e.expression,e,Qz,P),void 0);S=void 0;r=E.createVariableStatement(C?[E.createModifier(138)]:[],E.createVariableDeclarationList([r],2));return X(r,e),wy(e),[r,E.updateExportAssignment(e,e.modifiers,t)]}var n=i(e);return k.set(_N(e),n),e}}function te(e){if(Bj(e)||uL(e,1024)||!VB(e))return e;var t=E.createModifiersFromModifierFlags(258046&xL(e));return E.updateModifiers(e,t)}function re(e,t,r,n){r=E.updateModuleDeclaration(e,t,r,n);if(RF(r)||32&r.flags)return r;n=E.createModuleDeclaration(r.modifiers,r.name,r.body,32|r.flags);return _R(n,r),UB(n,r),n}function i(t){if(b)for(;Ne(b,t););if(!ae(t)){switch(t.kind){case 271:return function(e){if(I.isDeclarationVisible(e)){if(283===e.moduleReference.kind){var t=aI(e);return E.updateImportEqualsDeclaration(e,e.modifiers,e.isTypeOnly,e.name,E.updateExternalModuleReference(e.moduleReference,Q(e,t)))}t=w;return w=Xz(e),G(e.moduleReference,x),w=t,e}}(t);case 272:return function(e){if(!e.importClause)return E.updateImportDeclaration(e,e.modifiers,e.importClause,Q(e,e.moduleSpecifier),Y(e.assertClause));var t=e.importClause&&e.importClause.name&&I.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),Y(e.assertClause));if(274!==e.importClause.namedBindings.kind)return(r=uD(e.importClause.namedBindings.elements,function(e){return I.isDeclarationVisible(e)?e:void 0}))&&r.length||t?E.updateImportDeclaration(e,e.modifiers,E.updateImportClause(e.importClause,e.importClause.isTypeOnly,t,r&&r.length?E.updateNamedImports(e.importClause.namedBindings,r):void 0),Q(e,e.moduleSpecifier),Y(e.assertClause)):I.isImportRequiredByAugmentation(e)?E.updateImportDeclaration(e,e.modifiers,void 0,Q(e,e.moduleSpecifier),Y(e.assertClause)):void 0;var r=I.isDeclarationVisible(e.importClause.namedBindings)?e.importClause.namedBindings:void 0;return t||r?E.updateImportDeclaration(e,e.modifiers,E.updateImportClause(e.importClause,e.importClause.isTypeOnly,t,r),Q(e,e.moduleSpecifier),Y(e.assertClause)):void 0}(t)}if(!(GE(t)&&U(t)||bE(t)&&I.isImplementationOfOverload(t))){var r;K(t)&&(r=x,x=t);var n=Kz(t),a=w;n&&(w=Xz(t));var i=C;switch(t.kind){case 265:C=!1;var e=h(E.updateTypeAliasDeclaration(t,oe(t),t.name,SJ(t.typeParameters,$,wR),rA.checkDefined(TJ(t.type,$,FE))));return C=i,e;case 264:return h(E.updateInterfaceDeclaration(t,oe(t),t.name,H(t,t.typeParameters),ce(t.heritageClauses),SJ(t.members,$,Ks)));case 262:if((e=h(E.updateFunctionDeclaration(t,oe(t),void 0,t.name,H(t,t.typeParameters),q(t,t.parameters),z(t,t.type),void 0)))&&I.isExpandoFunctionDeclaration(t)&&function(e){if(e.body)return 1;var t=null==(t=e.symbol.declarations)?void 0:t.filter(function(e){return Fj(e)&&!e.body});return!t||t.indexOf(e)===t.length-1}(t)){var o=I.getPropertiesOfContainerFunction(t),s=WB.createModuleDeclaration(void 0,e.name||E.createIdentifier("_default"),E.createModuleBlock([]),32);jM(s,x),s.locals=vF(o),s.symbol=o[0].parent;var c=[],u=uD(o,function(e){if(e.valueDeclaration&&(aj(e.valueDeclaration)||ij(e.valueDeclaration)||mj(e.valueDeclaration))){var t=OA(e.escapedName);if(bA(t,99)){w=Xz(e.valueDeclaration);var r=I.createTypeOfDeclaration(e.valueDeclaration,s,Qz,P);w=a;var n=bO(t),e=n?E.getGeneratedNameForNode(e.valueDeclaration):E.createIdentifier(t);n&&c.push([e,t]);r=E.createVariableDeclaration(e,void 0,r,void 0);return E.createVariableStatement(n?void 0:[E.createToken(95)],E.createVariableDeclarationList([r]))}}});c.length?u.push(E.createExportDeclaration(void 0,!1,E.createNamedExports(iD(c,function(e){var t=__read(e,2),e=t[0],t=t[1];return E.createExportSpecifier(!1,e,t)})))):u=uD(u,function(e){return E.updateModifiers(e,0)});var _=E.createModuleDeclaration(oe(t),t.name,E.createModuleBlock(u),32);if(!uL(e,1024))return[e,_];var l=E.createModifiersFromModifierFlags(-1026&xL(e)|2),o=E.updateFunctionDeclaration(e,l,void 0,e.name,e.typeParameters,e.parameters,e.type,void 0),u=E.updateModuleDeclaration(_,l,_.name,_.body),_=E.createExportAssignment(void 0,!1,_.name);return uB(t.parent)&&(N=!0),A=!0,[o,u,_]}return e;case 267:C=!1;var d=t.body;if(d&&268===d.kind){var e=D,f=A;D=A=!1;var p=Z(SJ(d.statements,ee,XE));33554432&t.flags&&(D=!1),zF(t)||dD(p,ie)||A||(p=D?E.createNodeArray(__spreadArray(__spreadArray([],__read(p),!1),[PB(E)],!1)):SJ(p,te,XE));p=E.updateModuleBlock(d,p);C=i,D=e,A=f;f=oe(t);return h(re(t,f,UF(t)?Q(t,t.name):t.name,p))}C=i;f=oe(t);C=!1,TJ(d,ee);d=_N(d),p=k.get(d);return k.delete(d),h(re(t,f,t.name,p));case 263:T=t.name,S=t;l=E.createNodeArray(oe(t)),d=H(t,t.typeParameters),f=XO(t),p=void 0;f&&(m=w,p=Me(cD(f.parameters,function(c){if(_L(c,16476)&&!ae(c))return w=Xz(c),80===c.name.kind?X(E.createPropertyDeclaration(oe(c),c.name,c.questionToken,z(c,c.type),J(c)),c):function e(t){var r,n;var a;try{for(var i=__values(t.elements),o=i.next();!o.done;o=i.next()){var s=o.value;gj(s)||(PE(s.name)&&(a=fD(a,e(s.name))),(a=a||[]).push(E.createPropertyDeclaration(oe(c),s.name,void 0,z(s,void 0),void 0)))}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a}(c.name)})),w=m);var m=fD(fD(dD(t.members,function(e){return!!e.name&&bR(e.name)})?[E.createPropertyDeclaration(void 0,E.createPrivateIdentifier("#private"),void 0,void 0,void 0)]:void 0,p),SJ(t.members,$,CE)),p=E.createNodeArray(m),y=yO(t);if(y&&!AL(y.expression)&&106!==y.expression.kind){var m=t.name?OA(t.name.escapedText):"default",v=E.createUniqueName("".concat(m,"_base"),16);w=function(){return{diagnosticMessage:mA.extends_clause_of_exported_class_0_has_or_is_using_private_name_1,errorNode:y,typeName:t.name}};var g=E.createVariableDeclaration(v,void 0,I.createTypeOfExpression(y.expression,t,Qz,P),void 0),m=E.createVariableStatement(C?[E.createModifier(138)]:[],E.createVariableDeclarationList([g],2)),g=E.createNodeArray(iD(t.heritageClauses,function(e){if(96!==e.token)return E.updateHeritageClause(e,SJ(E.createNodeArray(nD(e.types,function(e){return AL(e.expression)||106===e.expression.kind})),$,hj));var t=w;w=Xz(e.types[0]);e=E.updateHeritageClause(e,iD(e.types,function(e){return E.updateExpressionWithTypeArguments(e,v,SJ(e.typeArguments,$,FE))}));return w=t,e}));return[m,h(E.updateClassDeclaration(t,l,t.name,d,g,p))]}g=ce(t.heritageClauses);return h(E.updateClassDeclaration(t,l,t.name,d,g,p));case 243:return h(function(e){if(!KN(e.declarationList.declarations,V))return;var t=SJ(e.declarationList.declarations,$,Aj);if(!HN(t))return;var r,n=E.createNodeArray(oe(e));M_(e.declarationList)||L_(e.declarationList)?(_R(r=E.createVariableDeclarationList(t,2),e.declarationList),UB(r,e.declarationList),dR(r,e.declarationList)):r=E.updateVariableDeclarationList(e.declarationList,t);return E.updateVariableStatement(e,n,r)}(t));case 266:return h(E.updateEnumDeclaration(t,E.createNodeArray(oe(t)),t.name,E.createNodeArray(uD(t.members,function(e){if(!ae(e)){var t=I.getConstantValue(e);return X(E.updateEnumMember(e,e.name,void 0!==t?"string"==typeof t?E.createStringLiteral(t):E.createNumericLiteral(t):void 0),e)}}))))}return rA.assertNever(t,"Unhandled top-level node in declaration emit: ".concat(rA.formatSyntaxKind(t.kind)))}}function h(e){return K(t)&&(x=r),n&&(w=a),267===t.kind&&(C=i),e===t?e:(T=S=void 0,e&&_R(X(e,t),t))}}function ne(e){return sD(uD(e.elements,function(e){if(232===e.kind)return;if(e.name&&V(e))return PE(e.name)?ne(e.name):E.createVariableDeclaration(e.name,void 0,z(e,void 0),void 0)}))}function ae(e){return L&&e&&eU(e,m)}function ie(e){return qj(e)||Wj(e)}function oe(e){var t=xL(e),r=function(e){var t=241147,r=C&&264!==e.kind?2:0,n=312===e.parent.kind;(!n||h&&n&&XB(e.parent))&&(t^=2,r=0);return rU(e,t,r)}(e);return t===r?IC(e.modifiers,function(e){return BD(e,gE)},gE):E.createModifiersFromModifierFlags(r)}function se(e,t){var r=nU(e);return r||e===t.firstAccessor||(r=nU(t.firstAccessor),w=Xz(t.firstAccessor)),!r&&t.secondAccessor&&e!==t.secondAccessor&&(r=nU(t.secondAccessor),w=Xz(t.secondAccessor)),r}function ce(e){return E.createNodeArray(nD(iD(e,function(t){return E.updateHeritageClause(t,SJ(E.createNodeArray(nD(t.types,function(e){return AL(e.expression)||96===t.token&&106===e.expression.kind})),$,hj))}),function(e){return e.types&&e.types.length}))}}function rU(e,t,r){void 0===t&&(t=258043),void 0===r&&(r=0);r=xL(e)&t|r;return 1024&r&&!(1&r)&&(r^=1),1024&r&&2&r&&(r^=2),r}function nU(e){if(e)return 177===e.kind?e.type:0<e.parameters.length?e.parameters[0].type:void 0}var aU,iU,oU=e({"src/compiler/transformers/declarations.ts":function(){MK(),DC(),Qz=531469}});function sU(e,t,r){return{scriptTransformers:function(e,t,r){if(r)return WN;var n=rM(e),a=nM(e),i=mM(e),r=[];gD(r,t&&iD(t.before,uU)),r.push(YJ),e.experimentalDecorators&&r.push(az);vM(e)&&r.push(Nz);n<99&&r.push(hz);e.experimentalDecorators||!(n<99)&&i||r.push(oz);r.push($J),n<8&&r.push(vz);n<7&&r.push(mz);n<6&&r.push(fz);n<5&&r.push(lz);n<4&&r.push(cz);n<3&&r.push(Az);n<2&&(r.push(Pz),r.push(Mz));r.push(function(e){switch(e){case 99:case 7:case 6:case 5:return Vz;case 4:return zz;case 100:case 199:return Wz;default:return Bz}}(a)),n<1&&r.push(Oz);return gD(r,t&&iD(t.after,uU)),r}(e,t,r),declarationTransformers:(r=t,(t=[]).push(tU),gD(t,r&&iD(r.afterDeclarations,_U)),t)}}function cU(n,a){return function(e){var t,r=n(e);return"function"==typeof r?a(e,r):(t=r,function(e){return yh(e)?t.transformBundle(e):t.transformSourceFile(e)})}}function uU(e){return cU(e,dN)}function _U(e){return cU(e,function(e,t){return t})}function lU(e,t){return t}function dU(e,t,r){r(e,t)}function fU(e,t,r,n,a,i,o){var s,c,u,_,l,d,f,p,m,y=new Array(363),v=0,g=[],h=[],x=[],b=[],k=0,T=!1,S=[],w=0,C=lU,N=dU,D=0,A=[],E={factory:r,getCompilerOptions:function(){return n},getEmitResolver:function(){return e},getEmitHost:function(){return t},getEmitHelperFactory:va(function(){return Rv(E)}),startLexicalEnvironment:function(){rA.assert(0<D,"Cannot modify the lexical environment during initialization."),rA.assert(D<2,"Cannot modify the lexical environment after transformation has completed."),rA.assert(!T,"Lexical environment is suspended."),g[k]=l,h[k]=d,x[k]=f,b[k]=v,k++,f=d=l=void 0,v=0},suspendLexicalEnvironment:function(){rA.assert(0<D,"Cannot modify the lexical environment during initialization."),rA.assert(D<2,"Cannot modify the lexical environment after transformation has completed."),rA.assert(!T,"Lexical environment is already suspended."),T=!0},resumeLexicalEnvironment:function(){rA.assert(0<D,"Cannot modify the lexical environment during initialization."),rA.assert(D<2,"Cannot modify the lexical environment after transformation has completed."),rA.assert(T,"Lexical environment is not suspended."),T=!1},endLexicalEnvironment:function(){var e;{var t;rA.assert(0<D,"Cannot modify the lexical environment during initialization."),rA.assert(D<2,"Cannot modify the lexical environment after transformation has completed."),rA.assert(!T,"Lexical environment is suspended."),(l||d||f)&&(d&&(e=__spreadArray([],__read(d),!1)),l&&(lR(t=r.createVariableStatement(void 0,r.createVariableDeclarationList(l)),2097152),e?e.push(t):e=[t]),f&&(e=__spreadArray(e?__spreadArray([],__read(e),!1):[],__read(f),!1)))}l=g[--k],d=h[k],f=x[k],v=b[k],0===k&&(g=[],h=[],x=[],b=[]);return e},setLexicalEnvironmentFlags:function(e,t){v=t?v|e:v&~e},getLexicalEnvironmentFlags:function(){return v},hoistVariableDeclaration:function(e){rA.assert(0<D,"Cannot modify the lexical environment during initialization."),rA.assert(D<2,"Cannot modify the lexical environment after transformation has completed.");e=lR(r.createVariableDeclaration(e),128);l?l.push(e):l=[e];1&v&&(v|=2)},hoistFunctionDeclaration:function(e){rA.assert(0<D,"Cannot modify the lexical environment during initialization."),rA.assert(D<2,"Cannot modify the lexical environment after transformation has completed."),lR(e,2097152),d?d.push(e):d=[e]},addInitializationStatement:function(e){rA.assert(0<D,"Cannot modify the lexical environment during initialization."),rA.assert(D<2,"Cannot modify the lexical environment after transformation has completed."),lR(e,2097152),f?f.push(e):f=[e]},startBlockScope:function(){rA.assert(0<D,"Cannot start a block scope during initialization."),rA.assert(D<2,"Cannot start a block scope after transformation has completed."),S[w]=p,w++,p=void 0},endBlockScope:function(){rA.assert(0<D,"Cannot end a block scope during initialization."),rA.assert(D<2,"Cannot end a block scope after transformation has completed.");var e=dD(p)?[r.createVariableStatement(void 0,r.createVariableDeclarationList(p.map(function(e){return r.createVariableDeclaration(e)}),1))]:void 0;p=S[--w],0===w&&(S=[]);return e},addBlockScopedVariable:function(e){rA.assert(0<w,"Cannot add a block scoped variable outside of an iteration body."),(p=p||[]).push(e)},requestEmitHelper:function e(t){var r,n;rA.assert(0<D,"Cannot modify the transformation context during initialization.");rA.assert(D<2,"Cannot modify the transformation context after transformation has completed.");rA.assert(!t.scoped,"Cannot request a scoped emit helper.");if(t.dependencies)try{for(var a=__values(t.dependencies),i=a.next();!i.done;i=a.next()){var o=i.value;e(o)}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}m=vD(m,t)},readEmitHelpers:function(){rA.assert(0<D,"Cannot modify the transformation context during initialization."),rA.assert(D<2,"Cannot modify the transformation context after transformation has completed.");var e=m;return m=void 0,e},enableSubstitution:function(e){rA.assert(D<2,"Cannot modify the transformation context after transformation has completed."),y[e]|=1},enableEmitNotification:function(e){rA.assert(D<2,"Cannot modify the transformation context after transformation has completed."),y[e]|=2},isSubstitutionEnabled:J,isEmitNotificationEnabled:z,get onSubstituteNode(){return C},set onSubstituteNode(e){rA.assert(D<1,"Cannot modify transformation hooks after initialization has completed."),rA.assert(void 0!==e,"Value must not be 'undefined'"),C=e},get onEmitNode(){return N},set onEmitNode(e){rA.assert(D<1,"Cannot modify transformation hooks after initialization has completed."),rA.assert(void 0!==e,"Value must not be 'undefined'"),N=e},addDiagnostic:function(e){A.push(e)}};try{for(var F=__values(a),P=F.next();!P.done;P=F.next())Sy(CF(PA(j=P.value)))}catch(e){s={error:e}}finally{try{P&&!P.done&&(c=F.return)&&c.call(F)}finally{if(s)throw s.error}}nA("beforeTransform");var I=i.map(function(e){return e(E)}),O=function(e){var t,r;try{for(var n=__values(I),a=n.next();!a.done;a=n.next())e=(0,a.value)(e)}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return e},D=1,L=[];try{for(var M=__values(a),R=M.next();!R.done;R=M.next()){var j=R.value;null!=iA&&iA.push(iA.Phase.Emit,"transformNodes",312===j.kind?{path:j.path}:{kind:j.kind,pos:j.pos,end:j.end}),L.push((o?O:B)(j)),null!=iA&&iA.pop()}}catch(e){u={error:e}}finally{try{R&&!R.done&&(_=M.return)&&_.call(M)}finally{if(u)throw u.error}}return D=2,nA("afterTransform"),aA("transformTime","beforeTransform","afterTransform"),{transformed:L,substituteNode:function(e,t){return rA.assert(D<3,"Cannot substitute a node after the result is disposed."),t&&J(t)&&C(e,t)||t},emitNodeWithNotification:function(e,t,r){rA.assert(D<3,"Cannot invoke TransformationResult callbacks after the result is disposed."),t&&(z(t)?N(e,t,r):r(e,t))},isEmitNotificationEnabled:z,dispose:function(){var t,e;if(D<3){try{for(var r=__values(a),n=r.next();!n.done;n=r.next())Sy(CF(PA(n.value)))}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}m=N=C=h=d=g=l=void 0,D=3}},diagnostics:A};function B(e){return!e||uB(e)&&e.isDeclarationFile?e:O(e)}function J(e){return 0!=(1&y[e.kind])&&0==(8&p_(e))}function z(e){return 0!=(2&y[e.kind])||0!=(4&p_(e))}}var pU,mU,yU,vU,gU,hU,xU=e({"src/compiler/transformer.ts":function(){MK(),An(),aU={scriptTransformers:WN,declarationTransformers:WN},iU={factory:uR,getCompilerOptions:function(){return{}},getEmitResolver:ue,getEmitHost:ue,getEmitHelperFactory:ue,startLexicalEnvironment:fi,resumeLexicalEnvironment:fi,suspendLexicalEnvironment:fi,endLexicalEnvironment:se,setLexicalEnvironmentFlags:fi,getLexicalEnvironmentFlags:function(){return 0},hoistVariableDeclaration:fi,hoistFunctionDeclaration:fi,addInitializationStatement:fi,startBlockScope:fi,endBlockScope:se,addBlockScopedVariable:fi,requestEmitHelper:fi,readEmitHelpers:ue,enableSubstitution:fi,enableEmitNotification:fi,isSubstitutionEnabled:ue,isEmitNotificationEnabled:ue,onSubstituteNode:lU,onEmitNode:dU,addDiagnostic:fi}}});function bU(e){return uA(e,".tsbuildinfo")}function kU(e,t,r,n,a,i){var o,s;void 0===n&&(n=!1);var c=RD(r)?r:Ad(e,r,n),u=e.getCompilerOptions();if(GO(u)){r=e.getPrependNodes();if(c.length||r.length){r=uR.createBundle(c,r);if(d=t(wU(r,e,n),r))return d}}else{if(!a)try{for(var _=__values(c),l=_.next();!l.done;l=_.next()){var d,f=l.value;if(d=t(wU(f,e,n),f))return d}}catch(e){o={error:e}}finally{try{l&&!l.done&&(s=_.return)&&s.call(_)}finally{if(o)throw o.error}}if(i){u=TU(u);if(u)return t({buildInfoPath:u},void 0)}}}function TU(e){var t=e.configFilePath;if(Mp(e)){if(e.tsBuildInfoFile)return e.tsBuildInfoFile;var r=GO(e);if(r)n=pm(r);else{if(!t)return;var t=pm(t),n=e.outDir?e.rootDir?Ra(e.outDir,Ya(e.rootDir,t,!0)):dA(e.outDir,Ea(t)):t}return n+".tsbuildinfo"}}function SU(e,t){var r=GO(e),n=e.emitDeclarationOnly?void 0:r,a=n&&CU(n,e),r=t||dM(e)?pm(r)+".d.ts":void 0;return{jsFilePath:n,sourceMapFilePath:a,declarationFilePath:r,declarationMapPath:r&&Pp(e)?r+".map":void 0,buildInfoPath:TU(e)}}function wU(e,t,r){var n=t.getCompilerOptions();if(313===e.kind)return SU(n,r);var a=Td(e.fileName,t,NU(e.fileName,n)),i=lP(e),o=i&&0===pA(e.fileName,a,t.getCurrentDirectory(),!t.useCaseSensitiveFileNames()),o=n.emitDeclarationOnly||o?void 0:a,a=!o||lP(e)?void 0:CU(o,n),t=r||dM(n)&&!i?Sd(e.fileName,t):void 0;return{jsFilePath:o,sourceMapFilePath:a,declarationFilePath:t,declarationMapPath:t&&Pp(n)?t+".map":void 0,buildInfoPath:void 0}}function CU(e,t){return t.sourceMap&&!t.inlineSourceMap?e+".map":void 0}function NU(e,t){return uA(e,".json")?".json":1===t.jsx&&_A(e,[".jsx",".tsx"])?".jsx":_A(e,[".mts",".mjs"])?".mjs":_A(e,[".cts",".cjs"])?".cjs":".js"}function DU(e,t,r,n,a){return n?Ra(n,Ya(a?a():LU(t,r),e,r)):e}function AU(e,t,r,n){return ym(DU(e,t,r,t.options.declarationDir||t.options.outDir,n),Cd(e))}function EU(e,t,r,n){if(!t.options.emitDeclarationOnly){var a=uA(e,".json"),n=ym(DU(e,t,r,t.options.outDir,n),NU(e,t.options));return a&&0===pA(e,n,rA.checkDefined(t.options.configFilePath),r)?void 0:n}}function FU(){var t;return{addOutput:function(e){e&&(t=t||[]).push(e)},getOutputs:function(){return t||WN}}}function PU(e,t){var r=SU(e.options,!1),n=r.jsFilePath,a=r.sourceMapFilePath,i=r.declarationFilePath,e=r.declarationMapPath,r=r.buildInfoPath;t(n),t(a),t(i),t(e),t(r)}function IU(e,t,r,n,a){var i;QB(t)||(n(i=EU(t,e,r,a)),uA(t,".json")||(i&&e.options.sourceMap&&n("".concat(i,".map")),dM(e.options)&&(n(a=AU(t,e,r,a)),e.options.declarationMap&&n("".concat(a,".map")))))}function OU(e,t,r,n,a){var i;return e.rootDir?(i=fA(e.rootDir,r),null!=a&&a(e.rootDir)):e.composite&&e.configFilePath?(i=lA(La(e.configFilePath)),null!=a&&a(i)):i=wV(t(),r,n),i&&i[i.length-1]!==ca&&(i+=ca),i}function LU(e,t){var r=e.options,n=e.fileNames;return OU(r,function(){return nD(n,function(e){return!(r.noEmitForJsFiles&&_A(e,xu)||QB(e))})},lA(La(rA.checkDefined(r.configFilePath))),KD(!t))}function MU(e,t){var r,n,a=FU(),i=a.addOutput,a=a.getOutputs;if(GO(e.options))PU(e,i);else{var o=va(function(){return LU(e,t)});try{for(var s=__values(e.fileNames),c=s.next();!c.done;c=s.next()){var u=c.value;IU(e,u,t,i,o)}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}i(TU(e.options))}return a()}function RU(e,t,r){t=pi(t),rA.assert(eD(e.fileNames,t),"Expected fileName to be present in command line");var n=FU(),a=n.addOutput,n=n.getOutputs;return GO(e.options)?PU(e,a):IU(e,t,r,a),n()}function jU(e,t){var r,n;if(GO(e.options)){var a=SU(e.options,!1),i=a.jsFilePath,a=a.declarationFilePath;return rA.checkDefined(i||a,"project ".concat(e.options.configFilePath," expected to have at least one output"))}var o=va(function(){return LU(e,t)});try{for(var s=__values(e.fileNames),c=s.next();!c.done;c=s.next()){var u=c.value;if(!QB(u)){if(i=EU(u,e,t,o))return i;if(!uA(u,".json")&&dM(e.options))return AU(u,e,t,o)}}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}a=TU(e.options);return a||rA.fail("project ".concat(e.options.configFilePath," expected to have at least one output"))}function BU(l,f,u,e,d,t,p){var m,_=e.scriptTransformers,y=e.declarationTransformers,v=f.getCompilerOptions(),g=v.sourceMap||v.inlineSourceMap||Pp(v)?[]:void 0,h=v.listEmittedFiles?[]:void 0,x=JO(),b=vf(v),k=WO(b),r=Lt("printTime","beforePrint","afterPrint"),e=r.enter,r=r.exit,T=!1;return e(),kU(f,function(e,t){var r,n=e.jsFilePath,a=e.sourceMapFilePath,i=e.declarationFilePath,o=e.declarationMapPath,s=e.buildInfoPath;s&&t&&yh(t)&&(r=lA(fA(s,f.getCurrentDirectory())),m={commonSourceDirectory:c(f.getCommonSourceDirectory()),sourceFiles:t.sourceFiles.map(function(e){return c(fA(e.fileName,f.getCurrentDirectory()))})});null!=(e=iA)&&e.push(iA.Phase.Emit,"emitJsFileOrBundle",{jsFilePath:n}),function(e,t,r,n){if(e&&!d&&t){if(f.isEmitBlocked(t)||v.noEmit)return T=!0;e=fU(l,f,uR,v,[e],_,!1),n=qU({removeComments:v.removeComments,newLine:v.newLine,noEmitHelpers:v.noEmitHelpers,module:v.module,target:v.target,sourceMap:v.sourceMap,inlineSourceMap:v.inlineSourceMap,inlineSources:v.inlineSources,extendedDiagnostics:v.extendedDiagnostics,writeBundleFileInfo:!!m,relativeToBuildInfo:n},{hasGlobalName:l.hasGlobalName,onEmitNode:e.emitNodeWithNotification,isEmitNotificationEnabled:e.isEmitNotificationEnabled,substituteNode:e.substituteNode}),rA.assert(1===e.transformed.length,"Should only see one output from the transform"),w(t,r,e,n,v),e.dispose(),m&&(m.js=n.bundleFileInfo)}}(t,n,a,c),null==(e=iA)||e.pop(),null==(e=iA)||e.push(iA.Phase.Emit,"emitDeclarationFileOrBundle",{declarationFilePath:i}),function(e,t,r,n){var a,i;if(e&&0!==d){if(!t)return(d||v.emitDeclarationOnly)&&(T=!0);var o=uB(e)?[e]:e.sourceFiles,o=p?o:nD(o,ul),e=GO(v)?[uR.createBundle(o,uB(e)?void 0:e.prepends)]:o;d&&!dM(v)&&o.forEach(S);var s=fU(l,f,uR,v,e,y,!1);if(HN(s.diagnostics))try{for(var c=__values(s.diagnostics),u=c.next();!u.done;u=c.next()){var _=u.value;x.add(_)}}catch(e){a={error:e}}finally{try{u&&!u.done&&(i=c.return)&&i.call(c)}finally{if(a)throw a.error}}o={removeComments:v.removeComments,newLine:v.newLine,noEmitHelpers:!0,module:v.module,target:v.target,sourceMap:!p&&v.declarationMap,inlineSourceMap:v.inlineSourceMap,extendedDiagnostics:v.extendedDiagnostics,onlyPrintJsDocStyle:!0,writeBundleFileInfo:!!m,recordInternalSection:!!m,relativeToBuildInfo:n},e=qU(o,{hasGlobalName:l.hasGlobalName,onEmitNode:s.emitNodeWithNotification,isEmitNotificationEnabled:s.isEmitNotificationEnabled,substituteNode:s.substituteNode}),n=!!s.diagnostics&&!!s.diagnostics.length||!!f.isEmitBlocked(t)||!!v.noEmit,T=T||n,n&&!p||(rA.assert(1===s.transformed.length,"Should only see one output from the decl transform"),w(t,r,s,e,{sourceMap:o.sourceMap,sourceRoot:v.sourceRoot,mapRoot:v.mapRoot,extendedDiagnostics:v.extendedDiagnostics})),s.dispose(),m&&(m.dts=e.bundleFileInfo)}}(t,i,o,c),null==(t=iA)||t.pop(),null==(t=iA)||t.push(iA.Phase.Emit,"emitBuildInfo",{buildInfoPath:s}),function(e,t){if(t&&!u&&!T){if(f.isEmitBlocked(t))return T=!0;e=f.getBuildInfo(e)||JU(void 0,e),Id(f,x,t,zU(e),!1,void 0,{buildInfo:e})}}(m,s),null==(t=iA)||t.pop(),!T&&h&&(d||(n&&h.push(n),a&&h.push(a),s&&h.push(s)),0!==d&&(i&&h.push(i),o&&h.push(o)));function c(e){return Va(Ya(r,e,f.getCanonicalFileName))}},Ad(f,u,p),p,t,!u),r(),{emitSkipped:T,diagnostics:x.getDiagnostics(),emittedFiles:h,sourceMaps:g};function S(e){qj(e)?80===e.expression.kind&&l.collectLinkedAliases(e.expression,!0):Kj(e)?l.collectLinkedAliases(e.propertyName||e.name,!0):HB(e,S)}function w(e,t,r,n,a){var i,o,s,c=r.transformed[0],u=313===c.kind?c:void 0,_=312===c.kind?c:void 0,l=u?u.sourceFiles:[_];o=c,!(c=a).sourceMap&&!c.inlineSourceMap||312===o.kind&&uA(o.fileName,".json")||(i=WC(f,Ea(La(e)),function(e){e=La(e.sourceRoot||"");return e&&Ua(e)}(a),function(e,t,r){if(e.sourceRoot)return f.getCommonSourceDirectory();if(e.mapRoot){e=La(e.mapRoot);return r&&(e=lA(Fd(r.fileName,f,e))),0===Aa(e)&&(e=dA(f.getCommonSourceDirectory(),e)),e}return lA(pi(t))}(a,e,_),a)),u?n.writeBundle(u,k,i):n.writeFile(_,k,i),i?(g&&g.push({inputSourceFileNames:i.getSources(),sourceMap:i.toJSON()}),(_=function(e,t,r,n,a){if(e.inlineSourceMap){t=t.toString(),t=df(zn,t);return"data:application/json;base64,".concat(t)}n=Ea(La(rA.checkDefined(n)));if(e.mapRoot){e=La(e.mapRoot);return a&&(e=lA(Fd(a.fileName,f,e))),0===Aa(e)?(e=dA(f.getCommonSourceDirectory(),e),encodeURI(ei(lA(pi(r)),dA(e,n),f.getCurrentDirectory(),f.getCanonicalFileName,!0))):encodeURI(dA(e,n))}return encodeURI(n)}(a,i,e,t,_))&&(k.isAtStartOfLine()||k.rawWrite(b),s=k.getTextPos(),k.writeComment("//# ".concat("sourceMappingURL","=").concat(_))),t&&(d=i.toString(),Id(f,x,t,d,!1,l),n.bundleFileInfo&&(n.bundleFileInfo.mapHash=Gq(d,f)))):k.writeLine();var d=k.getText();Id(f,x,e,d,!!v.emitBOM,l,{sourceMapUrlPos:s,diagnostics:r.diagnostics}),n.bundleFileInfo&&(n.bundleFileInfo.hash=Gq(d,f)),k.clear()}}function JU(e,t){return{bundle:t,program:e,version:oe}}function zU(e){return JSON.stringify(e)}function UU(e,t){return pf(e,t)}function VU(e,t,r,n){null!=iA&&iA.push(iA.Phase.Emit,"emitUsingBuildInfo",{},!0),nA("beforeEmit");n=function(i,o,e,t){var r=SU(i.options,!1),s=r.buildInfoPath,c=r.jsFilePath,u=r.sourceMapFilePath,_=r.declarationFilePath,l=r.declarationMapPath,d=o.getBuildInfo(s,i.options.configFilePath);if(!d)return s;if(!d.bundle||!d.bundle.js||_&&!d.bundle.dts)return s;var f=o.readFile(rA.checkDefined(c));if(!f)return c;if(Gq(f,o)!==d.bundle.js.hash)return c;var p=u&&o.readFile(u);if(u&&!p||i.options.inlineSourceMap)return u||"inline sourcemap decoding";if(u&&Gq(p,o)!==d.bundle.js.mapHash)return u;var m=_&&o.readFile(_);if(_&&!m)return _;if(_&&Gq(m,o)!==d.bundle.dts.hash)return _;var y=l&&o.readFile(l);if(l&&!y||i.options.inlineSourceMap)return l||"inline sourcemap decoding";if(l&&Gq(y,o)!==d.bundle.dts.mapHash)return l;var v,g,n=lA(fA(s,o.getCurrentDirectory())),a=xy(c,f,u,p,_,m,l,y,s,d,!0),h=[],x=dq(i.projectReferences,e,function(e){return o.readFile(e)},o),b=function(e,a,i){var t,r=rA.checkDefined(e.js),o=(null==(t=r.sources)?void 0:t.prologues)&&ie(r.sources.prologues,function(e){return e.file});return e.sourceFiles.map(function(e,t){var r=null==o?void 0:o.get(t),n=null==r?void 0:r.directives.map(function(e){var t=UB(uR.createStringLiteral(e.expression.text),e.expression),e=UB(uR.createExpressionStatement(t),e);return jM(t,e),e}),t=uR.createToken(1),n=uR.createSourceFile(null!=n?n:[],t,0);return n.fileName=Ya(i.getCurrentDirectory(),fA(e,a),!i.useCaseSensitiveFileNames()),n.text=null!==(e=null==r?void 0:r.text)&&void 0!==e?e:"",Am(n,0,null!==(r=null==r?void 0:r.text.length)&&void 0!==r?r:0),Em(n.statements,n),Am(t,n.end,0),jM(t,n),n})}(d.bundle,n,o),e={getPrependNodes:va(function(){return __spreadArray(__spreadArray([],__read(x),!1),[a],!1)}),getCanonicalFileName:o.getCanonicalFileName,getCommonSourceDirectory:function(){return fA(d.bundle.commonSourceDirectory,n)},getCompilerOptions:function(){return i.options},getCurrentDirectory:function(){return o.getCurrentDirectory()},getSourceFile:se,getSourceFileByPath:se,getSourceFiles:function(){return b},getLibFileFromReference:ue,isSourceFileFromExternalLibrary:ar,getResolvedProjectReferenceToRedirect:se,getProjectReferenceRedirect:se,isSourceOfProjectReferenceRedirect:ar,writeFile:function(e,t,r,n,a,i){switch(e){case c:if(f===t)return;break;case u:if(p===t)return;break;case s:break;case _:if(m===t)return;v=t,g=i;break;case l:if(y===t)return;break;default:rA.fail("Unexpected path: ".concat(e))}h.push({name:e,text:t,writeByteOrderMark:r,data:i})},isEmitBlocked:ar,readFile:function(e){return o.readFile(e)},fileExists:function(e){return o.fileExists(e)},useCaseSensitiveFileNames:function(){return o.useCaseSensitiveFileNames()},getBuildInfo:function(e){var t=d.program;t&&void 0!==v&&i.options.composite&&(t.outSignature=Gq(v,o,g));var r=d.bundle,n=r.js,a=r.dts,r=r.sourceFiles;return e.js.sources=n.sources,a&&(e.dts.sources=a.sources),e.sourceFiles=r,JU(t,e)},getSourceFileFromReference:se,redirectTargetsMap:MD(),getFileIncludeReasons:ue,createHash:LD(o,o.createHash)};return BU(mU,e,void 0,sU(i.options,t)),h}(e,t,r,n);return nA("afterEmit"),aA("Emit","beforeEmit","afterEmit"),null!=iA&&iA.pop(),n}function qU(v,e){void 0===v&&(v={}),void 0===e&&(e={});var me,s,c,r,u,t,_,n,ye,a,l,i,o,d,ve,h,ge,f,g,p,m,y,x,b,k,he,T=e.hasGlobalName,S=e.onEmitNode,w=void 0===S?dU:S,C=e.isEmitNotificationEnabled,S=e.substituteNode,xe=void 0===S?lU:S,N=e.onBeforeEmitNode,D=e.onAfterEmitNode,A=e.onBeforeEmitNodeArray,E=e.onAfterEmitNodeArray,F=e.onBeforeEmitToken,P=e.onAfterEmitToken,e=!!v.extendedDiagnostics,I=vf(v),O=nM(v),L=new Map,be=v.preserveSourceNewlines,ke=function(e){ge.write(e)},Te=v.writeBundleFileInfo?{sections:[]}:void 0,M=Te?rA.checkDefined(v.relativeToBuildInfo):void 0,R=v.recordInternalSection,j=0,B="text",J=!0,z=-1,U=-1,V=-1,q=-1,W=-1,H=!1,Se=!!v.removeComments,e=Tn(e,"commentTime","beforeComment","afterComment"),K=e.enter,G=e.exit,we=uR.parenthesizer,X={select:function(e){return 0===e?we.parenthesizeLeadingTypeArgument:void 0}},Ce=zB(function(e,t){{var r,n;t?(t.stackIndex++,t.preserveSourceNewlinesStack[t.stackIndex]=be,t.containerPosStack[t.stackIndex]=V,t.containerEndStack[t.stackIndex]=q,t.declarationListContainerEndStack[t.stackIndex]=W,r=t.shouldEmitCommentsStack[t.stackIndex]=Oe(e),n=t.shouldEmitSourceMapsStack[t.stackIndex]=Le(e),null!=N&&N(e),r&&Wr(e),n&&pn(e),fe(e)):t={stackIndex:0,preserveSourceNewlinesStack:[void 0],containerPosStack:[-1],containerEndStack:[-1],declarationListContainerEndStack:[-1],shouldEmitCommentsStack:[!1],shouldEmitSourceMapsStack:[!1]}}return t},function(e,t,r){return Q(e,r,"left")},function(e,t,r){var n=28!==e.kind,a=vr(r,r.left,e),r=vr(r,e,r.right);cr(a,n),nn(e.pos),ar(e,103===e.kind?Kt:Gt),on(e.end,!0),cr(r,!0)},function(e,t,r){return Q(e,r,"right")},function(e,t){var r=vr(e,e.left,e.operatorToken),n=vr(e,e.operatorToken,e.right);{var a,i,o,s;ur(r,n),0<t.stackIndex&&(a=t.preserveSourceNewlinesStack[t.stackIndex],i=t.containerPosStack[t.stackIndex],o=t.containerEndStack[t.stackIndex],s=t.declarationListContainerEndStack[t.stackIndex],r=t.shouldEmitCommentsStack[t.stackIndex],n=t.shouldEmitSourceMapsStack[t.stackIndex],pe(a),n&&mn(e),r&&Hr(e,i,o,s),null!=D&&D(e),t.stackIndex--)}},void 0);function Q(e,t,r){r="left"===r?we.getParenthesizeLeftSideOfBinaryForOperator(t.operatorToken.kind):we.getParenthesizeRightSideOfBinaryForOperator(t.operatorToken.kind),t=Me(0,1,e);if(t===ze&&(rA.assertIsDefined(k),t=Re(1,1,e=r(JD(k,jE))),k=void 0),(t===qr||t===fn||t===Be)&&mj(e))return e;he=r,t(1,e)}return le(),{printNode:function(e,t,r){switch(e){case 0:rA.assert(uB(t),"Expected a SourceFile node.");break;case 2:rA.assert(xR(t),"Expected an Identifier node.");break;case 1:rA.assert(jE(t),"Expected an Expression node.")}switch(t.kind){case 312:return Z(t);case 313:return Y(t);case 314:return function(e){return function(e,t){var r=ge;_e(t,void 0),ce(4,e,void 0),le(),ge=r}(e,oe()),se()}(t)}return $(e,t,r,oe()),se()},printList:function(e,t,r){return ee(e,t,r,oe()),se()},printFile:Z,printBundle:Y,writeNode:$,writeList:ee,writeFile:ie,writeBundle:ae,bundleFileInfo:Te};function Y(e){return ae(e,oe(),void 0),se()}function Z(e){return ie(e,oe(),void 0),se()}function $(e,t,r,n){var a=ge;_e(n,void 0),ce(e,t,r),le(),ge=a}function ee(e,t,r,n){var a=ge;_e(n,void 0),r&&ue(r),Bt(void 0,t,e),le(),ge=a}function Ne(){return ge.getTextPosWithWriteLine?ge.getTextPosWithWriteLine():ge.getTextPos()}function De(e,t,r){var n=CD(Te.sections);n&&n.kind===r?n.end=t:Te.sections.push({pos:e,end:t,kind:r})}function te(e){if(R&&Te&&me&&(GE(e)||Tj(e))&&eU(e,me)&&"internal"!==B){e=B;return ne(ge.getTextPos()),j=Ne(),B="internal",e}}function re(e){e&&(ne(ge.getTextPos()),j=Ne(),B=e)}function ne(e){return j<e&&(De(j,e,B),1)}function ae(e,t,r){var n,a,i,o;g=!1;var s=ge;_e(t,r),wt(e),St(e),Ue(e),function(e){var t,r,n,a;bt(!!e.hasNoDefaultLib,e.syntheticFileReferences||[],e.syntheticTypeReferences||[],e.syntheticLibReferences||[]);try{for(var i=__values(e.prepends),o=i.next();!o.done;o=i.next()){var s=o.value;if(vh(s)&&s.syntheticReferences)try{for(var c=(n=void 0,__values(s.syntheticReferences)),u=c.next();!u.done;u=c.next())Ae(u.value),er()}catch(e){n={error:e}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}}(e);try{for(var c=__values(e.prepends),u=c.next();!u.done;u=c.next()){var _=u.value;er();var l,d=ge.getTextPos(),f=Te&&Te.sections;f&&(Te.sections=[]),ce(4,_,void 0),Te&&(l=Te.sections,Te.sections=f,_.oldFileOfCurrentEmit?(f=Te.sections).push.apply(f,__spreadArray([],__read(l),!1)):(l.forEach(function(e){return rA.assert(tp(e))}),Te.sections.push({pos:d,end:ge.getTextPos(),kind:"prepend",data:M(_.fileName),texts:l})))}}catch(e){n={error:e}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(n)throw n.error}}j=Ne();try{for(var p=__values(e.sourceFiles),m=p.next();!m.done;m=p.next()){var y=m.value;ce(0,y,y)}}catch(e){i={error:e}}finally{try{m&&!m.done&&(o=p.return)&&o.call(p)}finally{if(i)throw i.error}}Te&&e.sourceFiles.length&&ne(ge.getTextPos())&&((r=function(e){for(var t,r,n,a=new Set,i=0;i<e.sourceFiles.length;i++){var o=e.sourceFiles[i],s=void 0,c=0;try{for(var u=(t=void 0,__values(o.statements)),_=u.next();!_.done;_=u.next()){var l=_.value;if(!J_(l))break;a.has(l.expression.text)||(a.add(l.expression.text),(s=s||[]).push({pos:l.pos,end:l.end,expression:{pos:l.expression.pos,end:l.expression.end,text:l.expression.text}}),c=c<l.end?l.end:c)}}catch(e){t={error:e}}finally{try{_&&!_.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}s&&(n=n||[]).push({file:i,text:o.text.substring(0,c),directives:s})}return n}(e))&&(Te.sources||(Te.sources={}),Te.sources.prologues=r),(r=function(e){var t,r,n,a,i;if(0===O||v.noEmitHelpers)return;var o=new Map;try{for(var s=__values(e.sourceFiles),c=s.next();!c.done;c=s.next()){var u=c.value,_=void 0!==cx(u),l=Ve(u);if(l)try{for(var d=(n=void 0,__values(l)),f=d.next();!f.done;f=d.next()){var p=f.value;p.scoped||_||o.get(p.name)||(o.set(p.name,!0),(i=i||[]).push(p.name))}}catch(e){n={error:e}}finally{try{f&&!f.done&&(a=d.return)&&a.call(d)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}return i}(e))&&(Te.sources||(Te.sources={}),Te.sources.helpers=r)),le(),ge=s}function ie(e,t,r){g=!0;var n=ge;_e(t,r),wt(e),St(e),ce(0,e,e),le(),ge=n}function oe(){return f=f||WO(I)}function se(){var e=f.getText();return f.clear(),e}function ce(e,t,r){r&&ue(r),Ie(e,t,void 0)}function ue(e){b=x=void 0,(me=e)&&hn(e)}function _e(e,t){e&&v.omitTrailingSemicolon&&(e=HO(e)),p=t,J=!(ge=e)||!p}function le(){s=[],c=[],r=[],u=new Set,t=[],_=new Map,n=[],a=[],i=[],d=[],_e(b=x=me=ve=o=void(l=ye=0),void 0)}function de(){return x=x||Ii(rA.checkDefined(me))}function Ae(e,t){var r;void 0!==e&&(r=te(e),Ie(4,e,t),re(r))}function Ee(e){void 0!==e&&Ie(2,e,void 0)}function Fe(e,t){void 0!==e&&Ie(1,e,t)}function Pe(e){Ie(hR(e)?6:4,e)}function fe(e){be&&4&m_(e)&&(be=!1)}function pe(e){be=e}function Ie(e,t,r){he=r,Me(0,e,t)(e,t),he=void 0}function Oe(e){return!Se&&!uB(e)}function Le(e){return!(J||uB(e)||uI(e)||vh(e)||mh(e))}function Me(e,t,r){switch(e){case 0:if(w!==dU&&(!C||C(r)))return je;case 1:if(xe!==lU&&(k=xe(t,r)||r)!==r)return he&&(k=he(k)),ze;case 2:if(Oe(r))return qr;case 3:if(Le(r))return fn;case 4:return Be;default:return rA.assertNever(e)}}function Re(e,t,r){return Me(e+1,t,r)}function je(e,t){var r=Re(0,e,t);w(e,t,r)}function Be(e,t){var r;null!=N&&N(t),be?(r=be,fe(t),Je(e,t),pe(r)):Je(e,t),null!=D&&D(t),he=void 0}function Je(e,t,r){if(void 0===r&&(r=!0),r){r=Gy(t);if(r)return function(e,r,n){switch(n.kind){case 1:!function(e,t){$t("${".concat(n.order,":")),Je(e,t,!1),$t("}")}(e,r);break;case 0:!function(e,t){rA.assert(242===r.kind,"A tab stop cannot be attached to a node of kind ".concat(rA.formatSyntaxKind(r.kind),".")),rA.assert(5!==e,"A tab stop cannot be attached to an embedded statement."),$t("$".concat(t.order))}(e,n)}}(e,t,r),0}if(0===e)return xt(JD(t,uB)),0;if(2===e)return He(JD(t,xR)),0;if(6===e)return qe(JD(t,hR),!0),0;if(3===e)return Ae((n=JD(t,wR)).name),Yt(),Kt("in"),Yt(),Ae(n.constraint),0;var n,a,i,o,s,c,u,_,l,d,f,p,m,y,v,g,h,x,b,k,T,S,w,C,N,D,A,E,F,P,I,O,L,M,R,j,B,J,z,U,V,q,W,H,K,G,X,Q,Y,Z,$,ee,te,re,ne,ae,ie,oe,se,ce,ue,_e,le,de,fe,pe;if(5===e)return rA.assertNode(t,Ug),Ye(!0),0;if(4===e){switch(t.kind){case 16:case 17:case 18:return qe(t,!1),0;case 80:return He(t),0;case 81:return Ke(t),0;case 166:return function(e){(80===e.kind?Fe:Ae)(e)}((Y=t).left),Wt("."),Ae(Y.right),0;case 167:return X=t,Y=ye,Q=ve,Cr(),Wt("["),Fe(X.expression,we.parenthesizeExpressionOfComputedPropertyName),Wt("]"),wr(Y,Q),0;case 168:return function(e){Dt(e,e.modifiers),Ae(e.name),e.constraint&&(Yt(),Kt("extends"),Yt(),Ae(e.constraint));e.default&&(Yt(),Gt("="),Yt(),Ae(e.default))}(t),0;case 169:return function(e){Nt(e,e.modifiers,!0),Ae(e.dotDotDotToken),Ct(e.name,Xt),Ae(e.questionToken),(e.parent&&324===e.parent.kind&&!e.name?Ae:At)(e.type);Et(e.initializer,e.type?e.type.end:e.questionToken?e.questionToken.end:e.name?e.name.end:e.modifiers?e.modifiers.end:e.pos,e,we.parenthesizeExpressionForDisallowedComma)}(t),0;case 170:return Q=t,Wt("@"),Fe(Q.expression,we.parenthesizeLeftSideOfAccess),0;case 171:return Dt(G=t,G.modifiers),Ct(G.name,Zt),Ae(G.questionToken),At(G.type),Ht(),0;case 172:return Nt(G=t,G.modifiers,!0),Ae(G.name),Ae(G.questionToken),Ae(G.exclamationToken),At(G.type),Et(G.initializer,(G.type||G.questionToken||G.name).end,G),Ht(),0;case 173:return kr(K=t),Dt(K,K.modifiers),Ae(K.name),Ae(K.questionToken),Lt(K,K.typeParameters),Mt(K,K.parameters),At(K.type),Ht(),Tr(K),0;case 174:return Nt(K=t,K.modifiers,!0),Ae(K.asteriskToken),Ae(K.name),Ae(K.questionToken),it(K,ot),0;case 175:return H=t,Kt("static"),st(H.body),0;case 176:return Nt(W=t,W.modifiers,!1),Kt("constructor"),it(W,ot),0;case 177:case 178:return W=Nt(H=t,H.modifiers,!0),et(177===H.kind?139:153,W,Kt,H),Yt(),Ae(H.name),it(H,ot),0;case 179:return kr(q=t),Lt(q,q.typeParameters),Mt(q,q.parameters),At(q.type),Ht(),Tr(q),0;case 180:return kr(q=t),Kt("new"),Yt(),Lt(q,q.typeParameters),Mt(q,q.parameters),At(q.type),Ht(),Tr(q),0;case 181:return Nt(V=t,V.modifiers,!1),function(e){Bt(V,e,8848)}(V.parameters),At(V.type),Ht(),0;case 182:return function(e){e.assertsModifier&&(Ae(e.assertsModifier),Yt());Ae(e.parameterName),e.type&&(Yt(),Kt("is"),Yt(),Ae(e.type))}(t),0;case 183:return Ae((U=t).typeName),Ot(U,U.typeArguments),0;case 184:return kr(U=t),Lt(U,U.typeParameters),Rt(U,U.parameters),Yt(),Wt("=>"),Yt(),Ae(U.type),Tr(U),0;case 185:return kr(z=t),Dt(z,z.modifiers),Kt("new"),Yt(),Lt(z,z.typeParameters),Mt(z,z.parameters),Yt(),Wt("=>"),Yt(),Ae(z.type),Tr(z),0;case 186:return z=t,Kt("typeof"),Yt(),Ae(z.exprName),Ot(z,z.typeArguments),0;case 187:return function(e){wr(0,void 0),Wt("{");var t=1&p_(e)?768:32897;Bt(e,e.members,524288|t),Wt("}"),Cr()}(t),0;case 188:return Ae(t.elementType,we.parenthesizeNonArrayTypeOfPostfixType),Wt("["),Wt("]"),0;case 189:return function(e){et(23,e.pos,Wt,e);var t=1&p_(e)?528:657;Bt(e,e.elements,524288|t,we.parenthesizeElementTypeOfTupleType),et(24,e.elements.end,Wt,e)}(t),0;case 190:return Ae(t.type,we.parenthesizeTypeOfOptionalType),Wt("?"),0;case 192:return Bt(J=t,J.types,516,we.parenthesizeConstituentTypeOfUnionType),0;case 193:return Bt(J=t,J.types,520,we.parenthesizeConstituentTypeOfIntersectionType),0;case 194:return Ae((B=t).checkType,we.parenthesizeCheckTypeOfConditionalType),Yt(),Kt("extends"),Yt(),Ae(B.extendsType,we.parenthesizeExtendsTypeOfConditionalType),Yt(),Wt("?"),Yt(),Ae(B.trueType),Yt(),Wt(":"),Yt(),Ae(B.falseType),0;case 195:return B=t,Kt("infer"),Yt(),Ae(B.typeParameter),0;case 196:return j=t,Wt("("),Ae(j.type),Wt(")"),0;case 233:return Xe(t),0;case 197:return Kt("this"),0;case 198:return function(e){ir(e.operator,Kt),Yt();var t=148===e.operator?we.parenthesizeOperandOfReadonlyTypeOperator:we.parenthesizeOperandOfTypeOperator;Ae(e.type,t)}(t),0;case 199:return Ae((j=t).objectType,we.parenthesizeNonArrayTypeOfPostfixType),Wt("["),Ae(j.indexType),Wt("]"),0;case 200:return function(e){var t=p_(e);Wt("{"),1&t?Yt():(er(),tr());e.readonlyToken&&(Ae(e.readonlyToken),148!==e.readonlyToken.kind&&Kt("readonly"),Yt());Wt("["),Ie(3,e.typeParameter),e.nameType&&(Yt(),Kt("as"),Yt(),Ae(e.nameType));Wt("]"),e.questionToken&&(Ae(e.questionToken),58!==e.questionToken.kind&&Wt("?"));Wt(":"),Yt(),Ae(e.type),Ht(),1&t?Yt():(er(),rr());Bt(e,e.members,2),Wt("}")}(t),0;case 201:return Fe(t.literal),0;case 202:return Ae((R=t).dotDotDotToken),Ae(R.name),Ae(R.questionToken),et(59,R.name.end,Wt,R),Yt(),Ae(R.type),0;case 203:return Ae((R=t).head),Bt(R,R.templateSpans,262144),0;case 204:return Ae((M=t).type),Ae(M.literal),0;case 205:return function(e){e.isTypeOf&&(Kt("typeof"),Yt());{var t;Kt("import"),Wt("("),Ae(e.argument),e.assertions&&(Wt(","),Yt(),Wt("{"),Yt(),Kt("assert"),Wt(":"),Yt(),t=e.assertions.assertClause.elements,Bt(e.assertions.assertClause,t,526226),Yt(),Wt("}"))}Wt(")"),e.qualifier&&(Wt("."),Ae(e.qualifier));Ot(e,e.typeArguments)}(t),0;case 206:return M=t,Wt("{"),Bt(M,M.elements,525136),Wt("}"),0;case 207:return L=t,Wt("["),Bt(L,L.elements,524880),Wt("]"),0;case 208:return function(e){Ae(e.dotDotDotToken),e.propertyName&&(Ae(e.propertyName),Wt(":"),Yt());Ae(e.name),Et(e.initializer,e.name.end,e,we.parenthesizeExpressionForDisallowedComma)}(t),0;case 239:return Fe((L=t).expression),Ae(L.literal),0;case 240:return Ht(),0;case 241:return Qe(O=t,!O.multiLine&&gr(O)),0;case 243:return Nt(O=t,O.modifiers,!1),Ae(O.declarationList),Ht(),0;case 242:return Ye(!1),0;case 244:return Fe((I=t).expression,we.parenthesizeExpressionOfExpressionStatement),me&&lP(me)&&!jO(I.expression)||Ht(),0;case 245:return I=et(101,(P=t).pos,Kt,P),Yt(),et(21,I,Wt,P),Fe(P.expression),et(22,P.expression.end,Wt,P),It(P,P.thenStatement),P.elseStatement&&(or(P,P.thenStatement,P.elseStatement),et(93,P.thenStatement.end,Kt,P),245===P.elseStatement.kind?(Yt(),Ae(P.elseStatement)):It(P,P.elseStatement)),0;case 246:return function(e){et(92,e.pos,Kt,e),It(e,e.statement),kj(e.statement)&&!be?Yt():or(e,e.statement,e.expression);Ze(e,e.statement.end),Ht()}(t),0;case 247:return Ze(P=t,P.pos),It(P,P.statement),0;case 248:return function(e){var t=et(99,e.pos,Kt,e);Yt();t=et(21,t,Wt,e);$e(e.initializer),t=et(27,e.initializer?e.initializer.end:t,Wt,e),Pt(e.condition),t=et(27,e.condition?e.condition.end:t,Wt,e),Pt(e.incrementor),et(22,e.incrementor?e.incrementor.end:t,Wt,e),It(e,e.statement)}(t),0;case 249:return F=et(99,(E=t).pos,Kt,E),Yt(),et(21,F,Wt,E),$e(E.initializer),Yt(),et(103,E.initializer.end,Kt,E),Yt(),Fe(E.expression),et(22,E.expression.end,Wt,E),It(E,E.statement),0;case 250:return E=et(99,(F=t).pos,Kt,F),Yt(),function(e){e&&(Ae(e),Yt())}(F.awaitModifier),et(21,E,Wt,F),$e(F.initializer),Yt(),et(165,F.initializer.end,Kt,F),Yt(),Fe(F.expression),et(22,F.expression.end,Wt,F),It(F,F.statement),0;case 251:return et(88,(A=t).pos,Kt,A),Ft(A.label),Ht(),0;case 252:return et(83,(A=t).pos,Kt,A),Ft(A.label),Ht(),0;case 253:return et(107,(D=t).pos,Kt,D),Pt(D.expression&&rt(D.expression),rt),Ht(),0;case 254:return D=et(118,(N=t).pos,Kt,N),Yt(),et(21,D,Wt,N),Fe(N.expression),et(22,N.expression.end,Wt,N),It(N,N.statement),0;case 255:return N=et(109,(C=t).pos,Kt,C),Yt(),et(21,N,Wt,C),Fe(C.expression),et(22,C.expression.end,Wt,C),Yt(),Ae(C.caseBlock),0;case 256:return Ae((C=t).label),et(59,C.label.end,Wt,C),Yt(),Ae(C.statement),0;case 257:return et(111,(w=t).pos,Kt,w),Pt(rt(w.expression),rt),Ht(),0;case 258:return function(e){et(113,e.pos,Kt,e),Yt(),Ae(e.tryBlock),e.catchClause&&(or(e,e.tryBlock,e.catchClause),Ae(e.catchClause));e.finallyBlock&&(or(e,e.catchClause||e.tryBlock,e.finallyBlock),et(98,(e.catchClause||e.tryBlock).end,Kt,e),Yt(),Ae(e.finallyBlock))}(t),0;case 259:return nr(89,t.pos,Kt),Ht(),0;case 260:return Ae((T=t).name),Ae(T.exclamationToken),At(T.type),Et(T.initializer,null!==(S=null!==(w=null==(w=T.type)?void 0:w.end)&&void 0!==w?w:null==(S=null==(S=T.name.emitNode)?void 0:S.typeNode)?void 0:S.end)&&void 0!==S?S:T.name.end,T,we.parenthesizeExpressionForDisallowedComma),0;case 261:return function(e){L_(e)?(Kt("await"),Yt(),Kt("using")):Kt(j_(e)?"let":R_(e)?"const":M_(e)?"using":"var");Yt(),Bt(e,e.declarations,528)}(t),0;case 262:return at(t),0;case 263:return _t(t),0;case 264:return T=t,wr(0,void 0),Nt(T,T.modifiers,!1),Kt("interface"),Yt(),Ae(T.name),Lt(T,T.typeParameters),Bt(T,T.heritageClauses,512),Yt(),Wt("{"),Bt(T,T.members,129),Wt("}"),Cr(),0;case 265:return Nt(k=t,k.modifiers,!1),Kt("type"),Yt(),Ae(k.name),Lt(k,k.typeParameters),Yt(),Wt("="),Yt(),Ae(k.type),Ht(),0;case 266:return Nt(k=t,k.modifiers,!1),Kt("enum"),Yt(),Ae(k.name),Yt(),Wt("{"),Bt(k,k.members,145),Wt("}"),0;case 267:return function(e){Nt(e,e.modifiers,!1),2048&~e.flags&&(Kt(32&e.flags?"namespace":"module"),Yt());Ae(e.name);var t=e.body;if(!t)return Ht();for(;t&&Mj(t);)Wt("."),Ae(t.name),t=t.body;Yt(),Ae(t)}(t),0;case 268:return kr(b=t),KN(b.statements,Dr),Qe(b,gr(b)),Tr(b),0;case 269:return et(19,(x=t).pos,Wt,x),Bt(x,x.clauses,129),et(20,x.clauses.end,Wt,x,!0),0;case 270:return x=et(95,(b=t).pos,Kt,b),Yt(),x=et(130,x,Kt,b),Yt(),x=et(145,x,Kt,b),Yt(),Ae(b.name),Ht(),0;case 271:return function(e){Nt(e,e.modifiers,!1),et(102,e.modifiers?e.modifiers.end:e.pos,Kt,e),Yt(),e.isTypeOnly&&(et(156,e.pos,Kt,e),Yt());Ae(e.name),Yt(),et(64,e.name.end,Wt,e),Yt(),function(e){(80===e.kind?Fe:Ae)(e)}(e.moduleReference),Ht()}(t),0;case 272:return function(e){Nt(e,e.modifiers,!1),et(102,e.modifiers?e.modifiers.end:e.pos,Kt,e),Yt(),e.importClause&&(Ae(e.importClause),Yt(),et(161,e.importClause.end,Kt,e),Yt());Fe(e.moduleSpecifier),e.assertClause&&Ft(e.assertClause);Ht()}(t),0;case 273:return function(e){e.isTypeOnly&&(et(156,e.pos,Kt,e),Yt());Ae(e.name),e.name&&e.namedBindings&&(et(28,e.name.end,Wt,e),Yt());Ae(e.namedBindings)}(t),0;case 274:return h=et(42,(g=t).pos,Wt,g),Yt(),et(130,h,Kt,g),Yt(),Ae(g.name),0;case 280:return g=et(42,(h=t).pos,Wt,h),Yt(),et(130,g,Kt,h),Yt(),Ae(h.name),0;case 275:return lt(t),0;case 276:return dt(t),0;case 277:return function(e){var t=et(95,e.pos,Kt,e);Yt(),e.isExportEquals?et(64,t,Gt,e):et(90,t,Kt,e);Yt(),Fe(e.expression,e.isExportEquals?we.getParenthesizeRightSideOfBinaryForOperator(64):we.parenthesizeExpressionOfExportDefault),Ht()}(t),0;case 278:return function(e){Nt(e,e.modifiers,!1);var t=et(95,e.pos,Kt,e);Yt(),e.isTypeOnly&&(t=et(156,t,Kt,e),Yt());e.exportClause?Ae(e.exportClause):t=et(42,t,Wt,e);e.moduleSpecifier&&(Yt(),et(161,e.exportClause?e.exportClause.end:t,Kt,e),Yt(),Fe(e.moduleSpecifier));e.assertClause&&Ft(e.assertClause);Ht()}(t),0;case 279:return lt(t),0;case 281:return dt(t),0;case 300:return function(e){et(132,e.pos,Kt,e),Yt();var t=e.elements;Bt(e,t,526226)}(t),0;case 301:return function(e){Ae(e.name),Wt(":"),Yt();e=e.value;0==(1024&p_(e))&&on(Ly(e).pos);Ae(e)}(t),0;case 282:return;case 283:return v=t,Kt("require"),Wt("("),Fe(v.expression),Wt(")"),0;case 12:return v=t,ge.writeLiteral(v.text),0;case 286:case 289:return function(e){{var t;Wt("<"),Yj(e)&&(t=pr(e.tagName,e),ft(e.tagName),Ot(e,e.typeArguments),e.attributes.properties&&0<e.attributes.properties.length&&Yt(),Ae(e.attributes),mr(e.attributes,e),ur(t))}Wt(">")}(t),0;case 287:case 290:return function(e){Wt("</"),uh(e)&&ft(e.tagName);Wt(">")}(t),0;case 291:return Ae((y=t).name),function(e,t,r,n){r&&(t(e),n(r))}("=",Wt,y.initializer,Pe),0;case 292:return Bt(y=t,y.properties,262656),0;case 293:return m=t,Wt("{..."),Fe(m.expression),Wt("}"),0;case 294:return function(e){var t;{var r,n;(e.expression||!Se&&!jO(e)&&function(e){return function(e){var t=!1;return Xi((null==me?void 0:me.text)||"",e+1,function(){return t=!0}),t}(e)||function(e){var t=!1;return Gi((null==me?void 0:me.text)||"",e+1,function(){return t=!0}),t}(e)}(e.pos))&&((r=me&&!jO(e)&&gA(me,e.pos).line!==gA(me,e.end).line)&&ge.increaseIndent(),n=et(19,e.pos,Wt,e),Ae(e.dotDotDotToken),Fe(e.expression),et(20,(null==(t=e.expression)?void 0:t.end)||n,Wt,e),r&&ge.decreaseIndent())}}(t),0;case 295:return Ee((m=t).namespace),Wt(":"),Ee(m.name),0;case 296:return et(84,(p=t).pos,Kt,p),Yt(),Fe(p.expression,we.parenthesizeExpressionForDisallowedComma),pt(p,p.statements,p.expression.end),0;case 297:return f=et(90,(p=t).pos,Kt,p),pt(p,p.statements,f),0;case 298:return f=t,Yt(),ir(f.token,Kt),Yt(),Bt(f,f.types,528),0;case 299:return function(e){var t=et(85,e.pos,Kt,e);Yt(),e.variableDeclaration&&(et(21,t,Wt,e),Ae(e.variableDeclaration),et(22,e.variableDeclaration.end,Wt,e),Yt());Ae(e.block)}(t),0;case 303:return function(e){Ae(e.name),Wt(":"),Yt();e=e.initializer;0==(1024&p_(e))&&on(Ly(e).pos);Fe(e,we.parenthesizeExpressionForDisallowedComma)}(t),0;case 304:return Ae((d=t).name),d.objectAssignmentInitializer&&(Yt(),Wt("="),Yt(),Fe(d.objectAssignmentInitializer,we.parenthesizeExpressionForDisallowedComma)),0;case 305:return(d=t).expression&&(et(26,d.pos,Wt,d),Fe(d.expression,we.parenthesizeExpressionForDisallowedComma)),0;case 306:return Ae((l=t).name),Et(l.initializer,l.name.end,l,we.parenthesizeExpressionForDisallowedComma),0;case 307:return We(t),0;case 314:case 308:return function(e){var t,r;try{for(var n=__values(e.texts),a=n.next();!a.done;a=n.next()){var i=a.value;er(),Ae(i)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}(t),0;case 309:case 310:return _=t,l=Ne(),We(_),Te&&De(l,ge.getTextPos(),309===_.kind?"text":"internal"),0;case 311:return u=t,_=Ne(),We(u),Te&&((u=kn(u.section)).pos=_,u.end=ge.getTextPos(),Te.sections.push(u)),0;case 312:return xt(t),0;case 313:return rA.fail("Bundles should be printed using printBundle");case 315:return rA.fail("InputFiles should not be printed");case 316:return ht(t),0;case 317:return u=t,Yt(),Wt("{"),Ae(u.name),Wt("}"),0;case 319:return Wt("*"),0;case 320:return Wt("?"),0;case 321:return c=t,Wt("?"),Ae(c.type),0;case 322:return c=t,Wt("!"),Ae(c.type),0;case 323:return Ae(t.type),Wt("="),0;case 324:return s=t,Kt("function"),Mt(s,s.parameters),Wt(":"),Ae(s.type),0;case 191:case 325:return s=t,Wt("..."),Ae(s.type),0;case 326:return;case 327:return function(e){var t,r;if(ke("/**"),e.comment){var n=$A(e.comment);if(n){var a=n.split(/\r\n?|\n/g);try{for(var i=__values(a),o=i.next();!o.done;o=i.next()){var s=o.value;er(),Yt(),Wt("*"),Yt(),ke(s)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}}}e.tags&&(1!==e.tags.length||351!==e.tags[0].kind||e.comment?Bt(e,e.tags,33):(Yt(),Ae(e.tags[0])));Yt(),ke("*/")}(t),0;case 329:return mt(t),0;case 330:return yt(t),0;case 334:case 339:case 344:return vt((o=t).tagName),gt(o.comment),0;case 335:case 336:return vt((o=t).tagName),Yt(),Wt("{"),Ae(o.class),Wt("}"),gt(o.comment),0;case 337:case 338:return;case 340:case 341:case 342:case 343:return;case 345:return function(e){vt(e.tagName),e.name&&(Yt(),Ae(e.name));gt(e.comment),yt(e.typeExpression)}(t),0;case 346:return gt((i=t).comment),yt(i.typeExpression),0;case 348:case 355:return function(e){vt(e.tagName),ht(e.typeExpression),Yt(),e.isBracketed&&Wt("[");Ae(e.name),e.isBracketed&&Wt("]");gt(e.comment)}(t),0;case 347:case 349:case 350:case 351:case 356:case 357:return vt((i=t).tagName),ht(i.typeExpression),gt(i.comment),0;case 352:return vt((a=t).tagName),ht(a.constraint),Yt(),Bt(a,a.typeParameters,528),gt(a.comment),0;case 353:return function(e){vt(e.tagName),e.typeExpression&&(316===e.typeExpression.kind?ht(e.typeExpression):(Yt(),Wt("{"),ke("Object"),e.typeExpression.isArrayType&&(Wt("["),Wt("]")),Wt("}")));e.fullName&&(Yt(),Ae(e.fullName));gt(e.comment),e.typeExpression&&329===e.typeExpression.kind&&mt(e.typeExpression)}(t),0;case 354:return vt((a=t).tagName),Ae(a.name),gt(a.comment),0;case 359:return}jE(t)&&(e=1,xe===lU||(n=xe(e,t)||t)!==t&&(t=n,he&&(t=he(t))))}if(1===e)switch(t.kind){case 9:case 10:return qe(t,!1),0;case 11:case 14:case 15:return qe(t,!1),0;case 80:return He(t),0;case 81:return Ke(t),0;case 209:return fe=(de=t).elements,pe=de.multiLine?65536:0,Jt(de,fe,8914|pe,we.parenthesizeExpressionForDisallowedComma),0;case 210:return function(e){wr(0,void 0),KN(e.properties,Ar);var t=131072&p_(e);t&&tr();var r=e.multiLine?65536:0,n=me&&1<=me.languageVersion&&!lP(me)?64:0;Bt(e,e.properties,526226|n|r),t&&rr();Cr()}(t),0;case 211:return function(e){Fe(e.expression,we.parenthesizeLeftSideOfAccess);var t=e.questionDotToken||MM(uR.createToken(25),e.expression.end,e.name.pos),r=vr(e,e.expression,t),n=vr(e,t,e.name);cr(r,!1),29===t.kind||!function(e){{if(gR(e=vs(e))){var t=br(e,!0,!1);return!(448&e.numericLiteralFlags||WD(t,yA[25])||WD(t,String.fromCharCode(69))||WD(t,String.fromCharCode(101)))}if(GL(e)){e=zy(e);return"number"==typeof e&&isFinite(e)&&0<=e&&Math.floor(e)===e}}}(e.expression)||ge.hasTrailingComment()||ge.hasTrailingWhitespace()||Wt(".");e.questionDotToken?Ae(t):et(t.kind,e.expression.end,Wt,e);cr(n,!1),Ae(e.name),ur(r,n)}(t),0;case 212:return Fe((pe=t).expression,we.parenthesizeLeftSideOfAccess),Ae(pe.questionDotToken),et(23,pe.expression.end,Wt,pe),Fe(pe.argumentExpression),et(24,pe.argumentExpression.end,Wt,pe),0;case 213:return function(e){var t=16&m_(e);t&&(Wt("("),Vt("0"),Wt(","),Yt());Fe(e.expression,we.parenthesizeLeftSideOfAccess),t&&Wt(")");Ae(e.questionDotToken),Ot(e,e.typeArguments),Jt(e,e.arguments,2576,we.parenthesizeExpressionForDisallowedComma)}(t),0;case 214:return et(105,(le=t).pos,Kt,le),Yt(),Fe(le.expression,we.parenthesizeExpressionOfNew),Ot(le,le.typeArguments),Jt(le,le.arguments,18960,we.parenthesizeExpressionForDisallowedComma),0;case 215:return function(e){var t=16&m_(e);t&&(Wt("("),Vt("0"),Wt(","),Yt());Fe(e.tag,we.parenthesizeLeftSideOfAccess),t&&Wt(")");Ot(e,e.typeArguments),Yt(),Fe(e.template)}(t),0;case 216:return _e=t,Wt("<"),Ae(_e.type),Wt(">"),Fe(_e.expression,we.parenthesizeOperandOfPrefixUnary),0;case 217:return le=et(21,(ue=t).pos,Wt,ue),_e=pr(ue.expression,ue),Fe(ue.expression,void 0),mr(ue.expression,ue),ur(_e),et(22,ue.expression?ue.expression.end:le,Wt,ue),0;case 218:return Er((ue=t).name),at(ue),0;case 219:return Dt(ce=t,ce.modifiers),it(ce,Ge),0;case 220:return et(91,(ce=t).pos,Kt,ce),Yt(),Fe(ce.expression,we.parenthesizeOperandOfPrefixUnary),0;case 221:return et(114,(se=t).pos,Kt,se),Yt(),Fe(se.expression,we.parenthesizeOperandOfPrefixUnary),0;case 222:return et(116,(oe=t).pos,Kt,oe),Yt(),Fe(oe.expression,we.parenthesizeOperandOfPrefixUnary),0;case 223:return et(135,(ie=t).pos,Kt,ie),Yt(),Fe(ie.expression,we.parenthesizeOperandOfPrefixUnary),0;case 224:return function(e){ir(e.operator,Gt),function(e){var t=e.operand;return 224===t.kind&&(40===e.operator&&(40===t.operator||46===t.operator)||41===e.operator&&(41===t.operator||47===t.operator))}(e)&&Yt();Fe(e.operand,we.parenthesizeOperandOfPrefixUnary)}(t),0;case 225:return Fe((ae=t).operand,we.parenthesizeOperandOfPostfixUnary),ir(ae.operator,Gt),0;case 226:return Ce(t);case 227:return oe=vr(se=t,se.condition,se.questionToken),ie=vr(se,se.questionToken,se.whenTrue),ae=vr(se,se.whenTrue,se.colonToken),ne=vr(se,se.colonToken,se.whenFalse),Fe(se.condition,we.parenthesizeConditionOfConditionalExpression),cr(oe,!0),Ae(se.questionToken),cr(ie,!0),Fe(se.whenTrue,we.parenthesizeBranchOfConditionalExpression),ur(oe,ie),cr(ae,!0),Ae(se.colonToken),cr(ne,!0),Fe(se.whenFalse,we.parenthesizeBranchOfConditionalExpression),ur(ae,ne),0;case 228:return Ae((ne=t).head),Bt(ne,ne.templateSpans,262144),0;case 229:return et(127,(re=t).pos,Kt,re),Ae(re.asteriskToken),Pt(re.expression&&rt(re.expression),nt),0;case 230:return et(26,(re=t).pos,Wt,re),Fe(re.expression,we.parenthesizeExpressionForDisallowedComma),0;case 231:return Er((te=t).name),_t(te),0;case 232:return;case 234:return Fe((te=t).expression,void 0),te.type&&(Yt(),Kt("as"),Yt(),Ae(te.type)),0;case 235:return Fe(t.expression,we.parenthesizeLeftSideOfAccess),Gt("!"),0;case 233:return Xe(t),0;case 238:return Fe((ee=t).expression,void 0),ee.type&&(Yt(),Kt("satisfies"),Yt(),Ae(ee.type)),0;case 236:return nr((ee=t).keywordToken,ee.pos,Wt),Wt("."),Ae(ee.name),0;case 237:return rA.fail("SyntheticExpression should never be printed.");case 282:return;case 284:return Ae(($=t).openingElement),Bt($,$.children,262144),Ae($.closingElement),0;case 285:return $=t,Wt("<"),ft($.tagName),Ot($,$.typeArguments),Yt(),Ae($.attributes),Wt("/>"),0;case 288:return Ae((Z=t).openingFragment),Bt(Z,Z.children,262144),Ae(Z.closingFragment),0;case 358:return rA.fail("SyntaxList should not be printed");case 359:return;case 360:return function(e){var t=p_(e);1024&t||e.pos===e.expression.pos||on(e.expression.pos);Fe(e.expression),2048&t||e.end===e.expression.end||nn(e.expression.end)}(t),0;case 361:return Jt(Z=t,Z.elements,528,void 0),0;case 362:return rA.fail("SyntheticReferenceExpression should not be printed")}return zl(t.kind)?(ar(t,Kt),0):ws(t.kind)?(ar(t,Wt),0):void rA.fail("Unhandled SyntaxKind: ".concat(rA.formatSyntaxKind(t.kind),"."))}function ze(e,t){var r=Re(1,e,t);rA.assertIsDefined(k),t=k,k=void 0,r(e,t)}function Ue(e){var t,r,n=!1,a=313===e.kind?e:void 0;if(!a||0!==O){for(var i=a?a.prepends.length:0,o=a?a.sourceFiles.length+i:1,s=0;s<o;s++){var c=a?s<i?a.prepends[s]:a.sourceFiles[s-i]:e,u=uB(c)?c:vh(c)?void 0:me,_=v.noEmitHelpers||!!u&&ux(u),l=(uB(c)||vh(c))&&!g,d=vh(c)?c.helpers:Ve(c);if(d)try{for(var f=(t=void 0,__values(d)),p=f.next();!p.done;p=f.next()){var m=p.value;if(m.scoped){if(a)continue}else{if(_)continue;if(l){if(L.get(m.name))continue;L.set(m.name,!0)}}var y=Ne();"string"==typeof m.text?sr(m.text):sr(m.text(jr)),Te&&Te.sections.push({pos:y,end:ge.getTextPos(),kind:"emitHelpers",data:m.name}),n=!0}}catch(e){t={error:e}}finally{try{p&&!p.done&&(r=f.return)&&r.call(f)}finally{if(t)throw t.error}}}return n}}function Ve(e){e=Hy(e);return e&&bn(e,jv)}function qe(e,t){t=br(e,v.neverAsciiEscape,t);!v.sourceMap&&!v.inlineSourceMap||11!==e.kind&&!As(e.kind)?(e=t,ge.writeStringLiteral(e)):Vt(t)}function We(e){ge.rawWrite(e.parent.text.substring(e.pos,e.end))}function He(e){(e.symbol?qt:ke)(xr(e,!1),e.symbol),Bt(e,yR(e),53776)}function Ke(e){ke(xr(e,!1))}function Ge(e){Lt(e,e.typeParameters),Rt(e,e.parameters),At(e.type),Yt(),Ae(e.equalsGreaterThanToken)}function Xe(e){Fe(e.expression,we.parenthesizeLeftSideOfAccess),Ot(e,e.typeArguments)}function Qe(e,t){et(19,e.pos,Wt,e);t=t||1&p_(e)?768:129;Bt(e,e.statements,t),et(20,e.statements.end,Wt,e,!!(1&t))}function Ye(e){e?Wt(";"):Ht()}function Ze(e,t){t=et(117,t,Kt,e);Yt(),et(21,t,Wt,e),Fe(e.expression),et(22,e.expression.end,Wt,e)}function $e(e){void 0!==e&&(261===e.kind?Ae:Fe)(e)}function et(e,t,r,n,a){var i=PA(n),o=i&&i.kind===n.kind,i=t;return o&&me&&(t=xA(me.text,t)),o&&n.pos!==i&&((a=a&&me&&!If(i,t,me))&&tr(),nn(i),a&&rr()),t=ir(e,r,t),o&&n.end!==t&&on(t,!(n=294===n.kind),n),t}function tt(e){return 2===e.kind||!!e.hasTrailingNewLine}function rt(e){if(!Se&&Bg(e)&&function e(t){return!!me&&(!!dD($i(me.text,t.pos),tt)||!!dD(My(t),tt)||!!Bg(t)&&(!(t.pos===t.expression.pos||!dD(eo(me.text,t.expression.pos),tt))||e(t.expression)))}(e)){var t=PA(e);if(t&&uj(t)){var r=uR.createParenthesizedExpression(e.expression);return _R(r,e),UB(r,t),r}return uR.createParenthesizedExpression(e)}return e}function nt(e){return rt(we.parenthesizeExpressionForDisallowedComma(e))}function at(e){Nt(e,e.modifiers,!1),Kt("function"),Ae(e.asteriskToken),Yt(),Ee(e.name),it(e,ot)}function it(e,t){var r,n=e.body;n?kj(n)?((r=131072&p_(e))&&tr(),kr(e),KN(e.parameters,Dr),Dr(e.body),t(e),st(n),Tr(e),r&&rr()):(t(e),Yt(),Fe(n,we.parenthesizeConciseBodyOfArrowFunction)):(t(e),Ht())}function ot(e){Lt(e,e.typeParameters),Mt(e,e.parameters),At(e.type)}function st(e){null!=N&&N(e),Yt(),Wt("{"),tr();var t=function(e){var t,r,n;if(1&p_(e))return 1;if(!e.multiLine&&(jO(e)||!me||wf(e,me))&&!_r(e,kD(e.statements),2)&&!dr(e,CD(e.statements),2,e.statements)){try{for(var a=__values(e.statements),i=a.next();!i.done;i=a.next()){var o=i.value;if(0<lr(n,o,2))return;n=o}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return 1}}(e)?ct:ut;Yr(e,e.statements,t),rr(),nr(20,e.statements.end,Wt,e),null!=D&&D(e)}function ct(e){ut(e,!0)}function ut(e,t){var r=Tt(e.statements),n=ge.getTextPos();Ue(e),0===r&&n===ge.getTextPos()&&t?(rr(),Bt(e,e.statements,768),tr()):Bt(e,e.statements,1,void 0,r)}function _t(e){wr(0,void 0),KN(e.members,Ar),Nt(e,e.modifiers,!0),et(86,kf(e).pos,Kt,e),e.name&&(Yt(),Ee(e.name));var t=131072&p_(e);t&&tr(),Lt(e,e.typeParameters),Bt(e,e.heritageClauses,0),Yt(),Wt("{"),Bt(e,e.members,129),Wt("}"),t&&rr(),Cr()}function lt(e){Wt("{"),Bt(e,e.elements,525136),Wt("}")}function dt(e){e.isTypeOnly&&(Kt("type"),Yt()),e.propertyName&&(Ae(e.propertyName),Yt(),et(130,e.propertyName.end,Kt,e),Yt()),Ae(e.name)}function ft(e){(80===e.kind?Fe:Ae)(e)}function pt(e,t,r){var n=163969;1===t.length&&(!me||jO(e)||jO(t[0])||Cf(e,t[0],me))?(nr(59,r,Wt,e),Yt(),n&=-130):et(59,r,Wt,e),Bt(e,t,n)}function mt(e){Bt(e,uR.createNodeArray(e.jsDocPropertyTags),33)}function yt(e){e.typeParameters&&Bt(e,uR.createNodeArray(e.typeParameters),33),e.parameters&&Bt(e,uR.createNodeArray(e.parameters),33),e.type&&(er(),Yt(),Wt("*"),Yt(),Ae(e.type))}function vt(e){Wt("@"),Ae(e)}function gt(e){e=$A(e);e&&(Yt(),ke(e))}function ht(e){e&&(Yt(),Wt("{"),Ae(e.type),Wt("}"))}function xt(e){er();var t=e.statements;0===t.length||!J_(t[0])||jO(t[0])?Yr(e,t,kt):kt(e)}function bt(e,t,r,n){var a,i,o,s,c,u,_,l;if(e&&(g=ge.getTextPos(),Qt('/// <reference no-default-lib="true"/>'),Te&&Te.sections.push({pos:g,end:ge.getTextPos(),kind:"no-default-lib"}),er()),me&&me.moduleName&&(Qt('/// <amd-module name="'.concat(me.moduleName,'" />')),er()),me&&me.amdDependencies)try{for(var d=__values(me.amdDependencies),f=d.next();!f.done;f=d.next()){var p=f.value;p.name?Qt('/// <amd-dependency name="'.concat(p.name,'" path="').concat(p.path,'" />')):Qt('/// <amd-dependency path="'.concat(p.path,'" />')),er()}}catch(e){a={error:e}}finally{try{f&&!f.done&&(i=d.return)&&i.call(d)}finally{if(a)throw a.error}}try{for(var m=__values(t),y=m.next();!y.done;y=m.next()){var v=y.value,g=ge.getTextPos();Qt('/// <reference path="'.concat(v.fileName,'" />')),Te&&Te.sections.push({pos:g,end:ge.getTextPos(),kind:"reference",data:v.fileName}),er()}}catch(e){o={error:e}}finally{try{y&&!y.done&&(s=m.return)&&s.call(m)}finally{if(o)throw o.error}}try{for(var h=__values(r),x=h.next();!x.done;x=h.next()){var v=x.value,g=ge.getTextPos(),b=v.resolutionMode&&v.resolutionMode!==(null==me?void 0:me.impliedNodeFormat)?'resolution-mode="'.concat(99===v.resolutionMode?"import":"require",'"'):"";Qt('/// <reference types="'.concat(v.fileName,'" ').concat(b,"/>")),Te&&Te.sections.push({pos:g,end:ge.getTextPos(),kind:v.resolutionMode?99===v.resolutionMode?"type-import":"type-require":"type",data:v.fileName}),er()}}catch(e){c={error:e}}finally{try{x&&!x.done&&(u=h.return)&&u.call(h)}finally{if(c)throw c.error}}try{for(var k=__values(n),T=k.next();!T.done;T=k.next()){v=T.value,g=ge.getTextPos();Qt('/// <reference lib="'.concat(v.fileName,'" />')),Te&&Te.sections.push({pos:g,end:ge.getTextPos(),kind:"lib",data:v.fileName}),er()}}catch(e){_={error:e}}finally{try{T&&!T.done&&(l=k.return)&&l.call(k)}finally{if(_)throw _.error}}}function kt(e){var t=e.statements;kr(e),KN(e.statements,Dr),Ue(e);var r,n=ZN(t,function(e){return!J_(e)});(r=e).isDeclarationFile&&bt(r.hasNoDefaultLib,r.referencedFiles,r.typeReferenceDirectives,r.libReferenceDirectives),Bt(e,t,1,void 0,-1===n?t.length:n),Tr(e)}function Tt(e,t,r,n){for(var a=!!t,i=0;i<e.length;i++){var o,s=e[i];if(!J_(s))return i;r&&r.has(s.expression.text)||(a&&(a=!1,ue(t)),er(),o=ge.getTextPos(),Ae(s),n&&Te&&Te.sections.push({pos:o,end:ge.getTextPos(),kind:"prologue",data:s.expression.text}),r&&r.add(s.expression.text))}return e.length}function St(e){var t,r,n,a;if(uB(e))Tt(e.statements,e);else{var i=new Set;try{for(var o=__values(e.prepends),s=o.next();!s.done;s=o.next())!function(e,t){var r,n;try{for(var a=__values(e),i=a.next();!i.done;i=a.next()){var o,s=i.value;t.has(s.data)||(er(),o=ge.getTextPos(),Ae(s),Te&&Te.sections.push({pos:o,end:ge.getTextPos(),kind:"prologue",data:s.data}),t&&t.add(s.data))}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}(s.value.prologues,i)}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}try{for(var c=__values(e.sourceFiles),u=c.next();!u.done;u=c.next()){var _=u.value;Tt(_.statements,_,i,!0)}}catch(e){n={error:e}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(n)throw n.error}}ue(void 0)}}function wt(e){var t,r,n,a;if(uB(e)||vh(e)){var i=to(e.text);return i?(Qt(i),er(),1):void 0}try{for(var o=__values(e.prepends),s=o.next();!s.done;s=o.next()){var c=s.value;if(rA.assertNode(c,vh),wt(c))return 1}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}try{for(var u=__values(e.sourceFiles),_=u.next();!_.done;_=u.next())if(wt(_.value))return 1}catch(e){n={error:e}}finally{try{_&&!_.done&&(a=u.return)&&a.call(u)}finally{if(n)throw n.error}}}function Ct(e,t){var r;e&&(r=ke,ke=t,Ae(e),ke=r)}function Nt(e,t,r){if(null!=t&&t.length){if(XN(t,gE))return Dt(e,t);if(XN(t,NR))return r?function(e,t){Bt(e,t,2146305);t=CD(t);return t&&!hm(t.end)?t.end:e.pos}(e,t):e.pos;null!=A&&A(t);for(var n=void 0,a=void 0,i=0,o=0,s=void 0;i<t.length;){for(;o<t.length;){if(a=NR(s=t[o])?"decorators":"modifiers",void 0===n)n=a;else if(a!==n)break;o++}var c={pos:-1,end:-1};0===i&&(c.pos=t.pos),o===t.length-1&&(c.end=t.end),"modifiers"!==n&&!r||Ut(Ae,e,t,"modifiers"===n?2359808:2146305,void 0,i,o-i,!1,c),i=o,n=a,o++}if(null!=E&&E(t),s&&!hm(s.end))return s.end}return e.pos}function Dt(e,t){Bt(e,t,2359808);t=CD(t);return t&&!hm(t.end)?t.end:e.pos}function At(e){e&&(Wt(":"),Yt(),Ae(e))}function Et(e,t,r,n){e&&(Yt(),et(64,t,Gt,r),Yt(),Fe(e,n))}function Ft(e){e&&(Yt(),Ae(e))}function Pt(e,t){e&&(Yt(),Fe(e,t))}function It(e,t){kj(t)||1&p_(e)||be&&!_r(e,t,0)?(Yt(),Ae(t)):(er(),tr(),Ug(t)?Ie(5,t):Ae(t),rr())}function Ot(e,t){Bt(e,t,53776,X)}function Lt(e,t){if(bE(e)&&e.typeArguments)return Ot(e,e.typeArguments),0;Bt(e,t,53776)}function Mt(e,t){Bt(e,t,2576)}function Rt(e,t){var r,n;r=e,!(n=pa(n=t))||n.pos!==r.pos||!lj(r)||r.type||dD(r.modifiers)||dD(r.typeParameters)||dD(n.modifiers)||n.dotDotDotToken||n.questionToken||n.type||n.initializer||!xR(n.name)?Mt(e,t):Bt(e,t,528)}function jt(e){switch(60&e){case 0:break;case 16:Wt(",");break;case 4:Yt(),Wt("|");break;case 32:Yt(),Wt("*"),Yt();break;case 8:Yt(),Wt("&")}}function Bt(e,t,r,n,a,i){zt(Ae,e,t,r|(e&&2&p_(e)?65536:0),n,a,i)}function Jt(e,t,r,n,a,i){zt(Fe,e,t,r,n,a,i)}function zt(e,t,r,n,a,i,o){if(void 0===i&&(i=0),void 0===o&&(o=r?r.length-i:0),!(void 0===r&&16384&n)){var s=void 0===r||i>=r.length||0===o;if(s&&32768&n)return null!=A&&A(r),void(null!=E&&E(r));15360&n&&(Wt(pU[15360&n][0]),s&&r&&on(r.pos,!0)),null!=A&&A(r),s?!(1&n)||be&&(!t||me&&wf(t,me))?256&n&&!(524288&n)&&Yt():er():Ut(e,t,r,n,a,i,o,r.hasTrailingComma,r),null!=E&&E(r),15360&n&&(s&&r&&nn(r.end),Wt(pU[15360&n][1]))}}function Ut(e,t,r,n,a,i,o,s,c){var u=0==(262144&n),_=u,l=_r(t,r[i],n);l?(er(l),_=!1):256&n&&Yt(),128&n&&tr();for(var d,f,p=(l=a,1===e.length?WU:"object"==typeof l?HU:KU),m=!1,y=0;y<o;y++){var v,g=r[i+y];32&n?(er(),jt(n)):d&&(60&n&&d.end!==(t?t.end:-1)&&(2048&p_(d)||nn(d.end)),jt(n),re(f),0<(v=lr(d,g,n))?(0==(131&n)&&(tr(),m=!0),er(v),_=!1):d&&512&n&&Yt()),f=te(g),_?on(Ly(g).pos):_=u,h=g.pos,p(g,e,a,y),m&&(rr(),m=!1),d=g}l=d?p_(d):0,l=Se||!!(2048&l),s=s&&64&n&&16&n;s&&(d&&!l?et(28,d.end,Wt,d):Wt(",")),d&&(t?t.end:-1)!==d.end&&60&n&&!l&&nn((s&&null!=c&&c.end?c:d).end),128&n&&rr(),re(f);c=dr(t,r[i+o-1],n,c);c?er(c):2097408&n&&Yt()}function Vt(e){ge.writeLiteral(e)}function qt(e,t){ge.writeSymbol(e,t)}function Wt(e){ge.writePunctuation(e)}function Ht(){ge.writeTrailingSemicolon(";")}function Kt(e){ge.writeKeyword(e)}function Gt(e){ge.writeOperator(e)}function Xt(e){ge.writeParameter(e)}function Qt(e){ge.writeComment(e)}function Yt(){ge.writeSpace(" ")}function Zt(e){ge.writeProperty(e)}function $t(e){ge.nonEscapingWrite?ge.nonEscapingWrite(e):ge.write(e)}function er(e){void 0===e&&(e=1);for(var t=0;t<e;t++)ge.writeLine(0<t)}function tr(){ge.increaseIndent()}function rr(){ge.decreaseIndent()}function nr(e,t,r,n){return J?ir(e,r,t):function(e,t,r,n,a){if(J||e&&uI(e))return a(t,r,n);var i=e&&e.emitNode,o=i&&i.flags||0,e=i&&i.tokenSourceMapRanges&&i.tokenSourceMapRanges[t],i=e&&e.source||m;n=yn(i,e?e.pos:n),0==(256&o)&&0<=n&&gn(i,n);n=a(t,r,n),e&&(n=e.end);0==(512&o)&&0<=n&&gn(i,n);return n}(n,e,r,t,ir)}function ar(e,t){F&&F(e),t(vA(e.kind)),P&&P(e)}function ir(e,t,r){e=vA(e);return t(e),r<0?r:r+e.length}function or(e,t,r){1&p_(e)?Yt():be?(r=vr(e,t,r))?er(r):Yt():er()}function sr(e){var t,r,n=e.split(/\r\n?|\n/g),a=Ic(n);try{for(var i=__values(n),o=i.next();!o.done;o=i.next()){var s=o.value,s=a?s.slice(a):s;s.length&&(er(),ke(s))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}}function cr(e,t){e?(tr(),er(e)):t&&Yt()}function ur(e,t){e&&rr(),t&&rr()}function _r(t,r,e){if(2&e||be){if(65536&e)return 1;if(void 0===r)return!t||me&&wf(t,me)?0:1;if(r.pos===h)return 0;if(12===r.kind)return 0;if(me&&t&&!hm(t.pos)&&!jO(r)&&(!r.parent||EA(r.parent)===EA(t)))return be?fr(function(e){return Lf(r.pos,t.pos,me,e)}):Cf(t,r,me)?0:1;if(yr(r,e))return 1}return 1&e?1:0}function lr(t,r,e){if(2&e||be){if(void 0===t||void 0===r)return 0;if(12===r.kind)return 0;if(me&&!jO(t)&&!jO(r))return be&&function(e,t){if(t.pos<e.end)return!1;e=EA(e),t=EA(t);var r=e.parent;if(!r||r!==t.parent)return!1;r=Lm(e),e=null==r?void 0:r.indexOf(e);return void 0!==e&&-1<e&&r.indexOf(t)===e+1}(t,r)?fr(function(e){return Ef(t,r,me,e)}):!be&&(a=r,(n=EA(n=t)).parent&&n.parent===EA(a).parent)?Af(t,r,me)?0:1:65536&e?1:0;if(yr(t,e)||yr(r,e))return 1}else if(Iy(r))return 1;var n,a;return 1&e?1:0}function dr(t,e,r,n){if(2&r||be){if(65536&r)return 1;if(void 0===e)return!t||me&&wf(t,me)?0:1;if(me&&t&&!hm(t.pos)&&!jO(e)&&(!e.parent||e.parent===t)){if(be){var a=(n&&!hm(n.end)?n:e).end;return fr(function(e){return Mf(a,t.end,me,e)})}return Nf(t,e,me)?0:1}if(yr(e,r))return 1}return 1&r&&!(131072&r)?1:0}function fr(e){rA.assert(!!be);var t=e(!0);return 0===t?e(!1):t}function pr(e,t){e=be&&_r(t,e,0);return e&&cr(e,!1),!!e}function mr(e,t){e=be&&dr(t,e,0,void 0);e&&er(e)}function yr(e,t){if(jO(e)){e=Iy(e);return void 0===e?0!=(65536&t):e}return 0!=(65536&t)}function vr(e,t,r){return 262144&p_(e)?0:(e=hr(e),t=hr(t),Iy(r=hr(r))?1:!me||jO(e)||jO(t)||jO(r)?0:be?fr(function(e){return Ef(t,r,me,e)}):Af(t,r,me)?0:1)}function gr(e){return 0===e.statements.length&&(!me||Af(e,e,me))}function hr(e){for(;217===e.kind&&jO(e);)e=e.expression;return e}function xr(e,t){if(mE(e)||Ms(e))return Fr(e);if(hR(e)&&e.textSourceNode)return xr(e.textSourceNode,t);var r=me,n=!!r&&!!e.parent&&!jO(e);if(ps(e)){if(!n||CF(e)!==EA(r))return LA(e)}else if(rB(e)){if(!n||CF(e)!==EA(r))return Um(e)}else if(rA.assertNode(e,lE),!n)return e.text;return __(r,e,t)}function br(e,t,r){if(11===e.kind&&e.textSourceNode){var n=e.textSourceNode;if(xR(n)||bR(n)||gR(n)||rB(n)){var a=gR(n)?n.text:xr(n);return r?'"'.concat(md(a),'"'):t||16777216&p_(e)?'"'.concat(zO(a),'"'):'"'.concat(fd(a),'"')}return br(n,t,r)}r=(t?1:0)|(r?2:0)|(v.terminateUnterminatedLiterals?4:0)|(v.target&&99===v.target?8:0);return y_(e,me,r)}function kr(e){e&&1048576&p_(e)||(a.push(l),l=0,t.push(_),_=void 0,i.push(o))}function Tr(e){e&&1048576&p_(e)||(l=a.pop(),_=t.pop(),o=i.pop())}function Sr(e){o&&o!==CD(i)||(o=new Set),o.add(e)}function wr(e,t){n.push(ye),ye=e,d.push(o),ve=t}function Cr(){ye=n.pop(),ve=d.pop()}function Nr(e){ve&&ve!==CD(d)||(ve=new Set),ve.add(e)}function Dr(e){if(e)switch(e.kind){case 241:KN(e.statements,Dr);break;case 256:case 254:case 246:case 247:Dr(e.statement);break;case 245:Dr(e.thenStatement),Dr(e.elseStatement);break;case 248:case 250:case 249:Dr(e.initializer),Dr(e.statement);break;case 255:Dr(e.caseBlock);break;case 269:KN(e.clauses,Dr);break;case 296:case 297:KN(e.statements,Dr);break;case 258:Dr(e.tryBlock),Dr(e.catchClause),Dr(e.finallyBlock);break;case 299:Dr(e.variableDeclaration),Dr(e.block);break;case 243:Dr(e.declarationList);break;case 261:KN(e.declarations,Dr);break;case 260:case 169:case 208:case 263:Er(e.name);break;case 262:Er(e.name),1048576&p_(e)&&(KN(e.parameters,Dr),Dr(e.body));break;case 206:case 207:KN(e.elements,Dr);break;case 272:Dr(e.importClause);break;case 273:Er(e.name),Dr(e.namedBindings);break;case 274:case 280:Er(e.name);break;case 275:KN(e.elements,Dr);break;case 276:Er(e.propertyName||e.name)}}function Ar(e){if(e)switch(e.kind){case 303:case 304:case 172:case 174:case 177:case 178:Er(e.name)}}function Er(e){e&&(mE(e)||Ms(e)?Fr(e):PE(e)&&Dr(e))}function Fr(e){var t=e.emitNode.autoGenerate;if(4==(7&t.flags))return Pr(Rx(e),bR(e),t.flags,t.prefix,t.suffix);t=t.id;return r[t]||(r[t]=function(e){var t=e.emitNode.autoGenerate,r=jx(t.prefix,Fr),n=jx(t.suffix);switch(7&t.flags){case 1:return Mr(0,!!(8&t.flags),bR(e),r,n);case 2:return rA.assertNode(e,xR),Mr(268435456,!!(8&t.flags),!1,r,n);case 3:return Rr(LA(e),32&t.flags?Or:Ir,!!(16&t.flags),!!(8&t.flags),bR(e),r,n)}return rA.fail("Unsupported GeneratedIdentifierKind: ".concat(rA.formatEnum(7&t.flags,Sn,!0),"."))}(e))}function Pr(e,t,r,n,a){var i=mJ(e),o=t?c:s;return o[i]||(o[i]=function e(t,r,n,a,i){switch(t.kind){case 80:case 81:return Rr(xr(t),Ir,!!(16&n),!!(8&n),r,a,i);case 267:case 266:return rA.assert(!a&&!i&&!r),Br(t);case 272:case 278:return rA.assert(!a&&!i&&!r),Jr(t);case 262:case 263:rA.assert(!a&&!i&&!r);var o=t.name;return o&&!mE(o)?e(o,!1,n,a,i):zr();case 277:return rA.assert(!a&&!i&&!r),zr();case 231:return rA.assert(!a&&!i&&!r),Ur();case 174:case 177:case 178:return Vr(t,r,a,i);case 167:return Mr(0,!0,r,a,i);default:return Mr(0,!1,r,a,i)}}(e,t,null!=r?r:0,jx(n,Fr),jx(a)))}function Ir(e,t){return Or(e)&&(r=e,!(t?!(null==ve||!ve.has(r)):!(null==o||!o.has(r))))&&!u.has(e);var r}function Or(e,t){return!me||Xu(me,e,T)}function Lr(e,t){switch(e){case"":l=t;break;case"#":ye=t;break;default:null!=_||(_=new Map),_.set(e,t)}}function Mr(e,t,r,n,a){0<n.length&&35===n.charCodeAt(0)&&(n=n.slice(1));var i=Jx(r,n,"",a),o=function(e){var t;switch(e){case"":return l;case"#":return ye;default:return null!==(t=null==_?void 0:_.get(e))&&void 0!==t?t:0}}(i);if(e&&!(o&e)&&Ir(s=Jx(r,n,268435456===e?"_i":"_n",a),r))return o|=e,r?Nr(s):t&&Sr(s),Lr(i,o),s;for(;;){var s,c=268435455&o;if(o++,8!=c&&13!=c)if(Ir(s=Jx(r,n,c<26?"_"+String.fromCharCode(97+c):"_"+(c-26),a),r))return r?Nr(s):t&&Sr(s),Lr(i,o),s}}function Rr(e,t,r,n,a,i,o){if((void 0===t&&(t=Ir),0<e.length&&35===e.charCodeAt(0)&&(e=e.slice(1)),0<i.length&&35===i.charCodeAt(0)&&(i=i.slice(1)),r)&&t(s=Jx(a,i,e,o),a))return a?Nr(s):n?Sr(s):u.add(s),s;95!==e.charCodeAt(e.length-1)&&(e+="_");for(var s,c=1;;){if(t(s=Jx(a,i,e+c,o),a))return a?Nr(s):n?Sr(s):u.add(s),s;c++}}function jr(e){return Rr(e,Or,!0,!1,!1,"","")}function Br(e){var t=xr(e.name);return function(e,t){for(var r=t;r&&cO(r,t);r=r.nextContainer)if(KE(r)&&r.locals){var n=r.locals.get(IA(e));if(n&&3257279&n.flags)return}return 1}(t,BD(e,KE))?t:Rr(t,Ir,!1,!1,!1,"","")}function Jr(e){e=RI(e);return Rr(hR(e)?g_(e.text):"module",Ir,!1,!1,!1,"","")}function zr(){return Rr("default",Ir,!1,!1,!1,"","")}function Ur(){return Rr("class",Ir,!1,!1,!1,"","")}function Vr(e,t,r,n){return xR(e.name)?Pr(e.name,t):Mr(0,!1,t,r,n)}function qr(e,t){var r=Re(2,e,t),n=V,a=q,i=W;Wr(t),r(e,t),Hr(t,n,a,i)}function Wr(e){var t=p_(e),r=Ly(e);!function(e,t,r,n){K(),H=!1;var a=r<0||0!=(1024&t)||12===e.kind,i=n<0||0!=(2048&t)||12===e.kind;(0<r||0<n)&&r!==n&&(a||Zr(r,359!==e.kind),(!a||0<=r&&0!=(1024&t))&&(V=r),(!i||0<=n&&0!=(2048&t))&&(q=n,261===e.kind&&(W=n))),KN(My(e),Gr),G()}(e,t,r.pos,r.end),4096&t&&(Se=!0)}function Hr(e,t,r,n){var a=p_(e),i=Ly(e);4096&a&&(Se=!1),Kr(e,a,i.pos,i.end,t,r,n);i=Zy(e);i&&Kr(e,a,i.pos,i.end,t,r,n)}function Kr(e,t,r,n,a,i,o){K();t=n<0||0!=(2048&t)||12===e.kind;KN(Ry(e),Xr),(0<r||0<n)&&r!==n&&(V=a,q=i,W=o,t||359===e.kind||_n(n,an)),G()}function Gr(e){!e.hasLeadingNewline&&2!==e.kind||ge.writeLine(),Qr(e),e.hasTrailingNewLine||2===e.kind?ge.writeLine():ge.writeSpace(" ")}function Xr(e){ge.isAtStartOfLine()||ge.writeSpace(" "),Qr(e),e.hasTrailingNewLine&&ge.writeLine()}function Qr(e){var t,t=3===(t=e).kind?"/*".concat(t.text,"*/"):"//".concat(t.text);Wd(t,3===e.kind?Ei(t):void 0,ge,0,t.length,I)}function Yr(e,t,r){K();var n=t.pos,a=t.end,i=p_(e),a=Se||a<0||0!=(2048&i);n<0||0!=(1024&i)||(n=t,(n=me&&qd(me.text,de(),ge,ln,n,I,Se))&&(b?b.push(n):b=[n])),G(),4096&i&&!Se?(Se=!0,r(e),Se=!1):r(e),K(),a||(Zr(t.end,!0),H&&!ge.isAtStartOfLine()&&ge.writeLine()),G()}function Zr(e,t){H=!1,t?0===e&&null!=me&&me.isDeclarationFile?un(e,en):un(e,rn):0===e&&un(e,$r)}function $r(e,t,r,n,a){dn(e,t)&&rn(e,t,r,n,a)}function en(e,t,r,n,a){dn(e,t)||rn(e,t,r,n,a)}function tn(e,t){return!v.onlyPrintJsDocStyle||(_b(e,t)||o_(e,t))}function rn(e,t,r,n,a){me&&tn(me.text,e)&&(H||(Ud(de(),ge,a,e),H=!0),vn(e),Wd(me.text,de(),ge,e,t,I),vn(t),n?ge.writeLine():3===r&&ge.writeSpace(" "))}function nn(e){Se||-1===e||Zr(e,!0)}function an(e,t,r,n){me&&tn(me.text,e)&&(ge.isAtStartOfLine()||ge.writeSpace(" "),vn(e),Wd(me.text,de(),ge,e,t,I),vn(t),n&&ge.writeLine())}function on(e,t,r){Se||(K(),_n(e,t?an:r?sn:cn),G())}function sn(e,t,r){me&&(vn(e),Wd(me.text,de(),ge,e,t,I),vn(t),2===r&&ge.writeLine())}function cn(e,t,r,n){me&&(vn(e),Wd(me.text,de(),ge,e,t,I),vn(t),n?ge.writeLine():ge.writeSpace(" "))}function un(e,t){var r,n;!me||-1!==V&&e===V||(n=e,void 0!==b&&ND(b).nodePos===n?(r=t,me&&(n=ND(b).detachedCommentEndPos,b.length-1?b.pop():b=void 0,Gi(me.text,n,r,n))):Gi(me.text,e,t,e))}function _n(e,t){me&&(-1===q||e!==q&&e!==W)&&Xi(me.text,e,t)}function ln(e,t,r,n,a,i){me&&tn(me.text,n)&&(vn(n),Wd(e,t,r,n,a,i),vn(a))}function dn(e,t){return me&&i_(me.text,e,t)}function fn(e,t){var r=Re(3,e,t);pn(t),r(e,t),mn(t)}function pn(e){var t,r=p_(e),n=Ay(e);ks(e)?(rA.assertIsDefined(e.parent,"UnparsedNodes must have parent pointers"),(t=(void 0===(t=e.parent).parsedSourceMap&&void 0!==t.sourceMapText&&(t.parsedSourceMap=QC(t.sourceMapText)||!1),t.parsedSourceMap||void 0))&&p&&p.appendSourceMap(ge.getLine(),ge.getColumn(),t,e.parent.sourceMapPath,e.parent.getLineAndCharacterOfPosition(e.pos),e.parent.getLineAndCharacterOfPosition(e.end))):(t=n.source||m,359!==e.kind&&0==(32&r)&&0<=n.pos&&gn(n.source||m,yn(t,n.pos)),128&r&&(J=!0))}function mn(e){var t=p_(e),r=Ay(e);ks(e)||(128&t&&(J=!1),359!==e.kind&&0==(64&t)&&0<=r.end&&gn(r.source||m,r.end))}function yn(e,t){return e.skipTrivia?e.skipTrivia(t):xA(e.text,t)}function vn(e){var t;J||hm(e)||xn(m)||(e=(t=gA(m,e)).line,t=t.character,p.addMapping(ge.getLine(),ge.getColumn(),z,e,t,void 0))}function gn(e,t){var r,n;e!==m?(r=m,n=z,hn(e),vn(t),m=r,z=n):vn(t)}function hn(e){J||((m=e)!==y?xn(e)||(z=p.addSource(e.fileName),v.inlineSources&&p.setSourceContent(z,e.text),y=e,U=z):z=U)}function xn(e){return uA(e.fileName,".json")}}function WU(e,t,r,n){t(e)}function HU(e,t,r,n){t(e,r.select(n))}function KU(e,t,r,n){t(e,r)}var GU,XU,QU=e({"src/compiler/emitter.ts":function(){var e;MK(),MK(),An(),(e=[])[1024]=["{","}"],e[2048]=["(",")"],e[4096]=["<",">"],e[8192]=["[","]"],pU=e,mU={hasGlobalName:ue,getReferencedExportContainer:ue,getReferencedImportDeclaration:ue,getReferencedDeclarationWithCollidingName:ue,isDeclarationWithCollidingName:ue,isValueAliasDeclaration:ue,isReferencedAliasDeclaration:ue,isTopLevelValueImportEqualsWithEntityName:ue,getNodeCheckFlags:ue,isDeclarationVisible:ue,isLateBound:function(e){return!1},collectLinkedAliases:ue,isImplementationOfOverload:ue,isRequiredInitializedParameter:ue,isOptionalUninitializedParameterProperty:ue,isExpandoFunctionDeclaration:ue,getPropertiesOfContainerFunction:ue,createTypeOfDeclaration:ue,createReturnTypeOfSignatureDeclaration:ue,createTypeOfExpression:ue,createLiteralConstValue:ue,isSymbolAccessible:ue,isEntityNameVisible:ue,getConstantValue:ue,getReferencedValueDeclaration:ue,getReferencedValueDeclarations:ue,getTypeReferenceSerializationKind:ue,isOptionalParameter:ue,moduleExportsSomeValue:ue,isArgumentsLocalBinding:ue,getExternalModuleFileFromDeclaration:ue,getTypeReferenceDirectivesForEntityName:ue,getTypeReferenceDirectivesForSymbol:ue,isLiteralConstDeclaration:ue,getJsxFactoryEntity:ue,getJsxFragmentFactoryEntity:ue,getAllAccessorDeclarations:ue,getSymbolOfExternalModuleSpecifier:ue,isBindingCapturedByNode:ue,getDeclarationStatementsForSourceFile:ue,isImportRequiredByAugmentation:ue},yU=va(function(){return qU({})}),vU=va(function(){return qU({removeComments:!0})}),gU=va(function(){return qU({removeComments:!0,neverAsciiEscape:!0})}),hU=va(function(){return qU({removeComments:!0,omitTrailingSemicolon:!0})})}});function YU(u,_,l){if(u.getDirectories&&u.readDirectory){var n=new Map,i=KD(l);return{useCaseSensitiveFileNames:l,fileExists:function(e){var t=o(d(e));return t&&s(t.sortedAndCanonicalizedFiles,i(f(e)))||u.fileExists(e)},readFile:function(e,t){return u.readFile(e,t)},directoryExists:u.directoryExists&&function(e){var t=d(e);return n.has(Ua(t))||u.directoryExists(e)},getDirectories:function(e){var t=d(e),t=p(e,t);if(t)return t.directories.slice();return u.getDirectories(e)},readDirectory:function(e,t,r,n,a){var i,o=d(e),s=p(e,o);return void 0===s?u.readDirectory(e,t,r,n,a):rm(e,t,r,n,l,_,a,function(e){var t=d(e);if(t===o)return s||c(e,t);var r=p(e,t);return void 0!==r?r||c(e,t):Du},m);function c(e,t){if(i&&t===o)return i;e={files:iD(u.readDirectory(e,void 0,void 0,["*.*"]),f)||WN,directories:u.getDirectories(e)||WN};return t===o&&(i=e),e}},createDirectory:u.createDirectory&&function(e){var t=o(d(e));{var r,n;t&&(r=f(e),n=i(r),Q(t.sortedAndCanonicalizedDirectories,n,ge)&&t.directories.push(r))}u.createDirectory(e)},writeFile:u.writeFile&&function(e,t,r){var n=o(d(e));n&&c(n,f(e),!0);return u.writeFile(e,t,r)},addOrDeleteFileOrDirectory:function(e,t){if(void 0!==a(t))return void y();var r=o(t);if(!r)return;if(!u.directoryExists)return void y();e=f(e),t={fileExists:u.fileExists(t),directoryExists:u.directoryExists(t)};t.directoryExists||s(r.sortedAndCanonicalizedDirectories,i(e))?y():c(r,e,t.fileExists);return t},addOrDeleteFile:function(e,t,r){if(1===r)return;t=o(t);t&&c(t,f(e),0===r)},clearCache:y,realpath:u.realpath&&m}}function d(e){return Ja(e,_,i)}function a(e){return n.get(Ua(e))}function o(e){e=a(lA(e));return e&&(e.sortedAndCanonicalizedFiles||(e.sortedAndCanonicalizedFiles=e.files.map(i).sort(),e.sortedAndCanonicalizedDirectories=e.directories.map(i).sort()),e)}function f(e){return Ea(pi(e))}function p(e,t){var r=a(t=Ua(t));if(r)return r;try{return function(e,t){if(!u.realpath||Ua(d(u.realpath(e)))===t){var r={files:iD(u.readDirectory(e,void 0,void 0,["*.*"]),f)||[],directories:u.getDirectories(e)||[]};return n.set(Ua(t),r),r}if(null!=(r=u.directoryExists)&&r.call(u,e))return n.set(t,!1),!1}(e,t)}catch(e){return void rA.assert(!n.has(Ua(t)))}}function s(e,t){return 0<=AD(e,t,ir,ge)}function m(e){return u.realpath?u.realpath(e):e}function c(e,t,r){var n=e.sortedAndCanonicalizedFiles,a=i(t);r?Q(n,a,ge)&&e.files.push(t):0<=(t=AD(n,a,ir,ge))&&(n.splice(t,1),t=e.files.findIndex(function(e){return i(e)===a}),e.files.splice(t,1))}function y(){n.clear()}}function ZU(n,e,a,i,t){var r=ie((null==(e=null==e?void 0:e.configFile)?void 0:e.extendedSourceFiles)||WN,t);a.forEach(function(e,t){r.has(t)||(e.projects.delete(n),e.close())}),r.forEach(function(e,t){var r=a.get(t);r?r.projects.add(n):a.set(t,{projects:new Set([n]),watcher:i(e,t),close:function(){var e=a.get(t);e&&0===e.projects.size&&(e.watcher.close(),a.delete(t))}})})}function $U(t,e){e.forEach(function(e){e.projects.delete(t)&&e.close()})}function eV(r,n,a){r.delete(n)&&r.forEach(function(e,t){null!=(e=e.extendedResult.extendedSourceFiles)&&e.some(function(e){return a(e)===n})&&eV(r,t,a)})}function tV(e,t,r){Kf(t,new Map(e),{createNewValue:r,onDeleteValue:zf})}function rV(e,t,r){Kf(t,ie(e.getMissingFilePaths(),ir,ya),{createNewValue:r,onDeleteValue:zf})}function nV(n,e,r){function a(e,t){return{watcher:r(e,t),flags:t}}Kf(n,e,{createNewValue:a,onDeleteValue:cV,onExistingValue:function(e,t,r){if(e.flags===t)return;e.watcher.close(),n.set(r,a(r,t))}})}function aV(e){var t=e.watchedDirPath,r=e.fileOrDirectory,n=e.fileOrDirectoryPath,a=e.configFileName,i=e.options,o=e.program,s=e.extraFileExtensions,c=e.currentDirectory,u=e.useCaseSensitiveFileNames,_=e.writeLog,l=e.toPath,e=cW(n);if(!e)return _("Project: ".concat(a," Detected ignored path: ").concat(r)),!0;if((n=e)===t)return!1;if(cA(n)&&!lm(r,i,s))return _("Project: ".concat(a," Detected file add/remove of non supported extension: ").concat(r)),!0;if(zT(r,i.configFile.configFileSpecs,fA(lA(a),c),u,c))return _("Project: ".concat(a," Detected excluded file: ").concat(r)),!0;if(!o)return!1;if(GO(i)||i.outDir)return!1;if(QB(n)){if(i.declarationDir)return!1}else if(!_A(n,xu))return!1;var n=pm(n),d=RD(o)?void 0:o.getState?o.getProgramOrUndefined():o,f=d||RD(o)?void 0:o;return!(!p(n+".ts")&&!p(n+".tsx"))&&(_("Project: ".concat(a," Detected output file: ").concat(r)),!0);function p(t){return d?d.getSourceFileByPath(t):f?f.getState().fileInfos.has(t):QN(o,function(e){return l(e)===t})}}function iV(e,t){return!!e&&e.isEmittedFile(t)}function oV(c,e,l,d){ta(2===e?l:fi);var t={watchFile:function(e,t,r,n){return c.watchFile(e,t,r,n)},watchDirectory:function(e,t,r,n){return c.watchDirectory(e,t,0!=(1&r),n)}},u=0!==e?{watchFile:n("watchFile"),watchDirectory:n("watchDirectory")}:void 0,_=2===e?{watchFile:function(e,t,r,n,a,i){l("FileWatcher:: Added:: ".concat(p(e,r,n,a,i,d)));var o=u.watchFile(e,t,r,n,a,i);return{close:function(){l("FileWatcher:: Close:: ".concat(p(e,r,n,a,i,d))),o.close()}}},watchDirectory:function(r,e,n,a,i,o){var t="DirectoryWatcher:: Added:: ".concat(p(r,n,a,i,o,d));l(t);var s=ht(),c=u.watchDirectory(r,e,n,a,i,o),s=ht()-s;return l("Elapsed:: ".concat(s,"ms ").concat(t)),{close:function(){var e="DirectoryWatcher:: Close:: ".concat(p(r,n,a,i,o,d));l(e);var t=ht();c.close();t=ht()-t;l("Elapsed:: ".concat(t,"ms ").concat(e))}}}}:u||t,f=2===e?function(e,t,r,n,a){return l("ExcludeWatcher:: Added:: ".concat(p(e,t,r,n,a,d))),{close:function(){return l("ExcludeWatcher:: Close:: ".concat(p(e,t,r,n,a,d)))}}}:wW;return{watchFile:r("watchFile"),watchDirectory:r("watchDirectory")};function r(s){return function(e,t,r,n,a,i){var o;return VT(e,"watchFile"===s?null==n?void 0:n.excludeFiles:null==n?void 0:n.excludeDirectories,"boolean"==typeof c.useCaseSensitiveFileNames?c.useCaseSensitiveFileNames:c.useCaseSensitiveFileNames(),(null==(o=c.getCurrentDirectory)?void 0:o.call(c))||"")?f(e,r,n,a,i):_[s].call(void 0,e,t,r,n,a,i)}}function n(_){return function(a,i,o,s,c,u){return t[_].call(void 0,a,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r="".concat("watchFile"===_?"FileWatcher":"DirectoryWatcher",":: Triggered with ").concat(e[0]," ").concat(void 0!==e[1]?e[1]:"",":: ").concat(p(a,o,s,c,u,d));l(r);var n=ht();i.call.apply(i,__spreadArray([void 0],__read(e),!1));n=ht()-n;l("Elapsed:: ".concat(n,"ms ").concat(r))},o,s,c,u)}}function p(e,t,r,n,a,i){return"WatchInfo: ".concat(e," ").concat(t," ").concat(JSON.stringify(r)," ").concat(i?i(n,a):void 0===a?n:"".concat(n," ").concat(a))}}function sV(e){e=null==e?void 0:e.fallbackPolling;return{watchFile:void 0!==e?e:1}}function cV(e){e.watcher.close()}var uV,_V,lV,dV,fV,pV,mV,yV,vV,gV,hV,xV,bV,kV=e({"src/compiler/watchUtilities.ts":function(){MK(),GU=function(e){return e[e.None=0]="None",e[e.Partial=1]="Partial",e[e.Full=2]="Full",e}(GU||{}),XU=function(e){return e[e.None=0]="None",e[e.TriggerOnly=1]="TriggerOnly",e[e.Verbose=2]="Verbose",e}(XU||{})}});function TV(e,t,r){return void 0===r&&(r="tsconfig.json"),ti(e,function(e){e=dA(e,r);return t(e)?e:void 0})}function SV(e,t){t=lA(t);return pi(ka(e)?e:dA(t,e))}function wV(e,a,i){var o;return KN(e,function(e){var t=ja(e,a);if(t.pop(),o){for(var r=Math.min(o.length,t.length),n=0;n<r;n++)if(i(o[n])!==i(t[n])){if(0===n)return!0;o.length=n;break}t.length<o.length&&(o.length=t.length)}else o=t})?"":o?Oa(o):a}function CV(e,t){return AV(e,t)}function NV(a,i,o){return function(e,t,r){var n;try{nA("beforeIORead"),n=a(e,i().charset),nA("afterIORead"),aA("I/O Read","beforeIORead","afterIORead")}catch(e){r&&r(e.message),n=""}return void 0!==n?Ib(e,n,t,o):void 0}}function DV(a,i,o){return function(e,t,r,n){try{nA("beforeIOWrite"),Od(e,t,r,a,i,o),nA("afterIOWrite"),aA("I/O Write","beforeIOWrite","afterIOWrite")}catch(e){n&&n(e.message)}}}function AV(e,t,i){void 0===i&&(i=zn);var r=new Map,n=KD(i.useCaseSensitiveFileNames);function a(){return lA(pi(i.getExecutingFilePath()))}var o=vf(e),s={getSourceFile:NV(function(e){return s.readFile(e)},function(){return e},t),getDefaultLibLocation:a,getDefaultLibFileName:function(e){return dA(a(),po(e))},writeFile:DV(function(e,t,r){return i.writeFile(e,t,r)},function(e){return(s.createDirectory||i.createDirectory)(e)},function(e){return e=e,!!r.has(e)||!!(s.directoryExists||i.directoryExists)(e)&&(r.set(e,!0),!0)}),getCurrentDirectory:va(function(){return i.getCurrentDirectory()}),useCaseSensitiveFileNames:function(){return i.useCaseSensitiveFileNames},getCanonicalFileName:n,getNewLine:function(){return o},fileExists:function(e){return i.fileExists(e)},readFile:function(e){return i.readFile(e)},trace:function(e){return i.write(e+o)},directoryExists:function(e){return i.directoryExists(e)},getEnvironmentVariable:function(e){return i.getEnvironmentVariable?i.getEnvironmentVariable(e):""},getDirectories:function(e){return i.getDirectories(e)},realpath:i.realpath&&function(e){return i.realpath(e)},readDirectory:function(e,t,r,n,a){return i.readDirectory(e,t,r,n,a)},createDirectory:function(e){return i.createDirectory(e)},createHash:LD(i,i.createHash)};return s}function EV(o,c,u){var n=o.readFile,a=o.fileExists,i=o.directoryExists,r=o.createDirectory,s=o.writeFile,_=new Map,l=new Map,d=new Map,f=new Map,p=function(e,t){t=n.call(o,t);return _.set(e,void 0!==t&&t),t};o.readFile=function(e){var t=c(e),r=_.get(t);return void 0!==r?!1!==r?r:void 0:uA(e,".json")||bU(e)?p(t,e):n.call(o,e)};var m=u?function(e,t,r,n){var a=c(e),i="object"==typeof t?t.impliedNodeFormat:void 0,o=f.get(i),s=null==o?void 0:o.get(a);if(s)return s;n=u(e,t,r,n);return n&&(QB(e)||uA(e,".json"))&&f.set(i,(o||new Map).set(a,n)),n}:void 0;return o.fileExists=function(e){var t=c(e),r=l.get(t);if(void 0!==r)return r;e=a.call(o,e);return l.set(t,!!e),e},s&&(o.writeFile=function(e,r){for(var t=[],n=2;n<arguments.length;n++)t[n-2]=arguments[n];var a=c(e);l.delete(a);var i=_.get(a);void 0!==i&&i!==r?(_.delete(a),f.forEach(function(e){return e.delete(a)})):m&&f.forEach(function(e){var t=e.get(a);t&&t.text!==r&&e.delete(a)}),s.call.apply(s,__spreadArray([o,e,r],__read(t),!1))}),i&&(o.directoryExists=function(e){var t=c(e),r=d.get(t);if(void 0!==r)return r;e=i.call(o,e);return d.set(t,!!e),e},r&&(o.createDirectory=function(e){var t=c(e);d.delete(t),r.call(o,e)})),{originalReadFile:n,originalFileExists:a,originalDirectoryExists:i,originalCreateDirectory:r,originalWriteFile:s,getSourceFileWithCache:m,readFileWithCache:function(e){var t=c(e),r=_.get(t);return void 0!==r?!1!==r?r:void 0:p(t,e)}}}function FV(e,t,r){var n=gD(n,e.getConfigFileParsingDiagnostics());return n=gD(n,e.getOptionsDiagnostics(r)),n=gD(n,e.getSyntacticDiagnostics(t,r)),n=gD(n,e.getGlobalDiagnostics(r)),n=gD(n,e.getSemanticDiagnostics(t,r)),dM(e.getCompilerOptions())&&(n=gD(n,e.getDeclarationDiagnostics(t,r))),fo(n||WN)}function PV(e,t){var r,n,a="";try{for(var i=__values(e),o=i.next();!o.done;o=i.next())a+=IV(o.value,t)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a}function IV(e,t){var r="".concat(Fn(e)," TS").concat(e.code,": ").concat(BV(e.messageText,t.getNewLine())).concat(t.getNewLine());if(e.file){var n=gA(e.file,e.start),a=n.line,n=n.character,e=Za(e.file.fileName,t.getCurrentDirectory(),function(e){return t.getCanonicalFileName(e)});return"".concat(e,"(").concat(a+1,",").concat(n+1,"): ")+r}return r}function OV(e){switch(e){case 1:return"[91m";case 0:return"[93m";case 2:return rA.fail("Should never get an Info diagnostic on the command line.");case 3:return"[94m"}}function LV(e,t){return t+e+dV}function MV(e,t,r,n,a,i){var o=gA(e,t),s=o.line,c=o.character,r=gA(e,t+r),u=r.line,_=r.character,l=gA(e,e.text.length).line,d=4<=u-s,f=(u+1+"").length;d&&(f=Math.max(fV.length,f));for(var p="",m=s;m<=u;m++){p+=i.getNewLine(),d&&s+1<m&&m<u-1&&(p+=n+LV(Je(fV,f),_V)+lV+i.getNewLine(),m=u-1);var y=Fi(e,m,0),v=m<l?Fi(e,m+1,0):e.text.length,y=e.text.slice(y,v);y=(y=di(y)).replace(/\t/g," "),p+=n+LV(Je(m+1+"",f),_V)+lV,p+=y+i.getNewLine(),p+=n+LV(Je("",f),_V)+lV,p+=a,m===s?(v=m===u?_:void 0,p+=y.slice(0,c).replace(/\S/g," "),p+=y.slice(c,v).replace(/./g,"~")):p+=(m===u?y.slice(0,_):y).replace(/./g,"~"),p+=dV}return p}function RV(e,t,r,n){void 0===n&&(n=LV);var a=gA(e,t),i=a.line,t=a.character,a="";return a+=n(r?Za(e.fileName,r.getCurrentDirectory(),function(e){return r.getCanonicalFileName(e)}):e.fileName,"[96m"),a+=":",a+=n("".concat(i+1),"[93m"),a+=":",a+=n("".concat(t+1),"[93m")}function jV(e,t){var r,n,a,i,o="";try{for(var s=__values(e),c=s.next();!c.done;c=s.next()){var u=c.value;if(u.file&&(o+=RV(f=u.file,p=u.start,t),o+=" - "),o+=LV(Fn(u),OV(u.category)),o+=LV(" TS".concat(u.code,": "),"[90m"),o+=BV(u.messageText,t.getNewLine()),u.file&&u.code!==mA.File_appears_to_be_binary.code&&(o+=t.getNewLine(),o+=MV(u.file,u.start,u.length,"",OV(u.category),t)),u.relatedInformation){o+=t.getNewLine();try{for(var _=(a=void 0,__values(u.relatedInformation)),l=_.next();!l.done;l=_.next()){var d=l.value,f=d.file,p=d.start,m=d.length,d=d.messageText;f&&(o+=t.getNewLine(),o+=pV+RV(f,p,t),o+=MV(f,p,m,mV,"[96m",t)),o+=t.getNewLine(),o+=mV+BV(d,t.getNewLine())}}catch(e){a={error:e}}finally{try{l&&!l.done&&(i=_.return)&&i.call(_)}finally{if(a)throw a.error}}}o+=t.getNewLine()}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o}function BV(e,t,r){var n,a;if(void 0===r&&(r=0),jD(e))return e;if(void 0===e)return"";var i="";if(r){i+=t;for(var o=0;o<r;o++)i+="  "}if(i+=e.messageText,r++,e.next)try{for(var s=__values(e.next),c=s.next();!c.done;c=s.next())i+=BV(c.value,t,r)}catch(e){n={error:e}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(n)throw n.error}}return i}function JV(e,t){return(jD(e)?t:e.resolutionMode)||t}function zV(e,t){if(void 0!==e.impliedNodeFormat)return VV(e,yq(e,t))}function UV(e){return Wj(e)?e.isTypeOnly:!(null==(e=e.importClause)||!e.isTypeOnly)}function VV(e,t){if(void 0!==e.impliedNodeFormat){if(Jj(t.parent)||Wj(t.parent)){var r,n=UV(t.parent);if(n)if(r=qV(t.parent.assertClause))return r}if(t.parent.parent&&ZR(t.parent.parent))if(r=qV(null==(n=t.parent.parent.assertions)?void 0:n.assertClause))return r;if(99!==e.impliedNodeFormat)return mP(aO(t.parent))?99:1;t=null==(t=aO(t.parent))?void 0:t.parent;return t&&Bj(t)?1:99}}function qV(e,t){if(e)if(1===HN(e.elements)){var r=e.elements[0];if(oF(r.name))if("resolution-mode"===r.name.text){if(oF(r.value)){if("import"===r.value.text||"require"===r.value.text)return"import"===r.value.text?99:1;null!=t&&t(r.value,mA.resolution_mode_should_be_either_require_or_import)}}else null!=t&&t(r.name,mA.resolution_mode_is_the_only_valid_key_for_type_import_assertions)}else null!=t&&t(e,mA.Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require)}function WV(e){return e.text}function HV(r,n,a,i,o){return{nameAndMode:vV,resolve:function(e,t){return JS(e,r,a,i,o,n,t)}}}function KV(e){return jD(e)?e:or(e.fileName)}function GV(r,n,a,i,o){return{nameAndMode:gV,resolve:function(e,t){return hS(e,r,a,i,n,o,t)}}}function XV(e,t,r,n,a,i,o,s){var c,u;if(0===e.length)return WN;var _=[],l=new Map,d=s(t,r,n,i,o);try{for(var f=__values(e),p=f.next();!p.done;p=f.next()){var m=p.value,y=d.nameAndMode.getName(m),v=d.nameAndMode.getMode(m,a),g=YB(y,v),m=l.get(g);m||l.set(g,m=d.resolve(y,v)),_.push(m)}}catch(e){c={error:e}}finally{try{p&&!p.done&&(u=f.return)&&u.call(f)}finally{if(c)throw c.error}}return _}function QV(e,r){return YV(void 0,e,function(e,t){return e&&r(e,t)})}function YV(e,t,a,i){var o;return function r(e,t,n){if(i){var e=i(e,n);if(e)return e}return KN(t,function(e,t){if(!e||null==o||!o.has(e.sourceFile.path)){var t=a(e,n,t);return t||!e?t:((o=o||new Set).add(e.sourceFile.path),r(e.commandLine.projectReferences,e.references,e))}})}(e,t,void 0)}function ZV(e,t,r){return dA(e.configFilePath?lA(e.configFilePath):t,"__lib_node_modules_lookup_".concat(r,"__.ts"))}function $V(e){for(var t=e.split("."),r=t[1],n=2;t[n]&&"d"!==t[n];)r+=(2===n?"/":"-")+t[n],n++;return"@typescript/lib-"+r}function eq(e){e=or(e.fileName);return{libName:e,libFileName:Hb.get(e)}}function tq(e){switch(null==e?void 0:e.kind){case 3:case 4:case 5:case 7:return!0;default:return!1}}function rq(e){return void 0!==e.pos}function nq(e,t){var r,n,a,i,o,s=rA.checkDefined(e(t.file)),c=t.kind,u=t.index;switch(c){case 3:var _=yq(s,u),l=null==(r=null==(r=null==(r=s.resolvedModules)?void 0:r.get(_.text,zV(s,u)))?void 0:r.resolvedModule)?void 0:r.packageId;if(-1===_.pos)return{file:s,packageId:l,text:_.text};a=xA(s.text,_.pos),i=_.end;break;case 4:a=(n=s.referencedFiles[u]).pos,i=n.end;break;case 5:a=(n=s.typeReferenceDirectives[u]).pos,i=n.end,o=n.resolutionMode,l=null==(o=null==(o=null==(n=s.resolvedTypeReferenceDirectiveNames)?void 0:n.get(or(s.typeReferenceDirectives[u].fileName),o||s.impliedNodeFormat))?void 0:o.resolvedTypeReferenceDirective)?void 0:o.packageId;break;case 7:a=(o=s.libReferenceDirectives[u]).pos,i=o.end;break;default:return rA.assertNever(c)}return{file:s,pos:a,end:i,packageId:l}}function aq(n,e,t,r,a,i,o,s,c,u){if(!n||null!=s&&s())return!1;if(!nr(n.getRootFileNames(),e))return!1;var _;if(!nr(n.getProjectReferences(),u,function(e,t,r){return Ju(e,t)&&function r(n,e){if(n){if(eD(_,n))return!0;var t=fq(e),t=c(t);return t?n.commandLine.options.configFile===t.options.configFile&&(!!nr(n.commandLine.fileNames,t.fileNames)&&((_=_||[]).push(n),!KN(n.references,function(e,t){return!r(e,n.commandLine.projectReferences[t])}))):!1}var e=fq(e);return!c(e)}(n.getResolvedProjectReferences()[r],e)}))return!1;if(n.getSourceFiles().some(function(e){return!function(e){return e.version===r(e.resolvedPath,e.fileName)}(e)||i(e.path)}))return!1;if(n.getMissingFilePaths().some(a))return!1;a=n.getCompilerOptions();return!!qf(a,t)&&((!n.resolvedLibReferences||!hF(n.resolvedLibReferences,function(e,t){return o(t)}))&&(!a.configFile||!t.configFile||a.configFile.text===t.configFile.text))}function iq(e){return e.options.configFile?__spreadArray(__spreadArray([],__read(e.options.configFile.parseDiagnostics),!1),__read(e.errors),!1):e.errors}function oq(e,t,r,n){n=sq(e,t,r,n);return"object"==typeof n?n.impliedNodeFormat:n}function sq(r,n,a,i){switch(iM(i)){case 3:case 99:return _A(r,[".d.mts",".mts",".mjs"])?99:_A(r,[".d.cts",".cts",".cjs"])?1:_A(r,[".d.ts",".ts",".tsx",".js",".jsx"])?function(){var e=cw(n,a,i),t=[];e.failedLookupLocations=t,e.affectingLocations=t;e=uw(r,e);return{impliedNodeFormat:"module"===(null==e?void 0:e.contents.packageJsonContent.type)?99:1,packageJsonLocations:t,packageJsonScope:e}}():void 0;default:return}}function cq(e,t,r,n,a){var i,o,s,p,m,M,c,u,_,l,R,j,B,J,d,z,r=RD(e)?{rootNames:e,options:t,host:r,oldProgram:n,configFileParsingDiagnostics:a,typeScriptVersion:void 0}:e,U=r.rootNames,V=r.options,f=r.configFileParsingDiagnostics,q=r.projectReferences,y=r.typeScriptVersion,W=r.oldProgram,v=va(function(){return Wt("ignoreDeprecations",mA.Invalid_value_for_ignoreDeprecations)}),H=new Map,K=MD(),g={},h={},G=AS(),x="number"==typeof V.maxNodeModuleJsDepth?V.maxNodeModuleJsDepth:0,b=0,k=new Map,X=new Map;null!=iA&&iA.push(iA.Phase.Program,"createProgram",{configFilePath:V.configFilePath,rootDir:V.rootDir},!0),nA("beforeProgram");var T,Q,S,w,C,Y=r.host||CV(V),N=lq(Y),D=V.noLib,A=va(function(){return Y.getDefaultLibFileName(V)}),E=Y.getDefaultLibLocation?Y.getDefaultLibLocation():lA(A()),F=JO(),P=Y.getCurrentDirectory(),I=im(V),O=om(V,I),L=new Map,Z=Y.hasInvalidatedResolutions||ar;Y.resolveModuleNameLiterals?(S=Y.resolveModuleNameLiterals.bind(Y),Q=null==(pe=Y.getModuleResolutionCache)?void 0:pe.call(Y)):Y.resolveModuleNames?(S=function(e,t,r,n,a,i){return Y.resolveModuleNames(e.map(WV),t,null==i?void 0:i.map(WV),r,n,a).map(function(e){return e?void 0!==e.extension?{resolvedModule:e}:{resolvedModule:__assign(__assign({},e),{extension:bm(e.resolvedFileName)})}:yV})},Q=null==(me=Y.getModuleResolutionCache)?void 0:me.call(Y)):(Q=LS(P,Pt,V),S=function(e,t,r,n,a){return XV(e,t,r,n,a,Y,Q,HV)}),C=Y.resolveTypeReferenceDirectiveReferences?Y.resolveTypeReferenceDirectiveReferences.bind(Y):Y.resolveTypeReferenceDirectives?function(e,t,r,n,a){return Y.resolveTypeReferenceDirectives(e.map(KV),t,r,n,null==a?void 0:a.impliedNodeFormat).map(function(e){return{resolvedTypeReferenceDirective:e}})}:(w=MS(P,Pt,void 0,null==Q?void 0:Q.getPackageJsonInfoCache()),function(e,t,r,n,a){return XV(e,t,r,n,a,Y,w,GV)});var $,ee,te=Y.hasInvalidatedLibResolutions||ar;ee=Y.resolveLibrary?Y.resolveLibrary.bind(Y):($=LS(P,Pt,V,null==Q?void 0:Q.getPackageJsonInfoCache()),function(e,t,r){return jS(e,t,r,Y,$)});var re,ne,ae,ie,oe,se=new Map,ce=new Map,ue=MD(),_e=!1,le=new Map,de=Y.useCaseSensitiveFileNames()?new Map:void 0,fe=!(null==(n=Y.useSourceOfProjectReferenceRedirect)||!n.call(Y)||V.disableSourceOfProjectReferenceRedirect),a=function(u){var n,e,r=u.compilerHost.fileExists,t=u.compilerHost.directoryExists,a=u.compilerHost.getDirectories,i=u.compilerHost.realpath;if(!u.useSourceOfProjectReferenceRedirect)return{onProgramCreateComplete:fi,fileExists:o};u.compilerHost.fileExists=o,t&&(e=u.compilerHost.directoryExists=function(e){return t.call(u.compilerHost,e)?(function(e){if(u.getResolvedProjectReferences()&&!Om(e)&&i&&WD(e,ZT)){var t=u.getSymlinkCache(),r=Ua(u.toPath(e));if(null==(a=t.getSymlinkedDirectories())||!a.has(r)){var n,a=pi(i.call(u.compilerHost,e));if(a===e||(n=Ua(u.toPath(a)))===r)return t.setSymlinkedDirectory(r,!1);t.setSymlinkedDirectory(e,{real:Ua(a),realPath:n})}}}(e),!0):!!u.getResolvedProjectReferences()&&(n||(n=new Set,u.forEachResolvedProjectReference(function(e){var t=GO(e.commandLine.options);t?n.add(lA(u.toPath(t))):(e=e.commandLine.options.declarationDir||e.commandLine.options.outDir)&&n.add(u.toPath(e))})),s(e,!1))});a&&(u.compilerHost.getDirectories=function(e){return!u.getResolvedProjectReferences()||t&&t.call(u.compilerHost,e)?a.call(u.compilerHost,e):[]});i&&(u.compilerHost.realpath=function(e){var t;return(null==(t=u.getSymlinkCache().getSymlinkedFiles())?void 0:t.get(u.toPath(e)))||i.call(u.compilerHost,e)});return{onProgramCreateComplete:function(){u.compilerHost.fileExists=r,u.compilerHost.directoryExists=t,u.compilerHost.getDirectories=a},fileExists:o,directoryExists:e};function o(e){return!!r.call(u.compilerHost,e)||!!u.getResolvedProjectReferences()&&(!!QB(e)&&s(e,!0))}function s(a,i){var e,o=i?function(e){return e=e,void 0!==(e=u.getSourceOfProjectReferenceRedirect(u.toPath(e)))?!jD(e)||r.call(u.compilerHost,e):void 0}:function(e){return e=e,t=u.toPath(e),r="".concat(t).concat(ca),xF(n,function(e){return t===e||XD(e,r)||XD(t,"".concat(e,"/"))});var t,r},t=o(a);if(void 0!==t)return t;var s=u.getSymlinkCache(),t=s.getSymlinkedDirectories();if(!t)return!1;var c=u.toPath(a);return!!WD(c,ZT)&&(!(!i||null==(e=s.getSymlinkedFiles())||!e.has(c))||(tr(t.entries(),function(e){var t=__read(e,2),r=t[0],n=t[1];if(n&&XD(c,r)){e=o(c.replace(r,n.realPath));return i&&e&&(t=fA(a,u.compilerHost.getCurrentDirectory()),s.setSymlinkedFile(c,"".concat(n.real).concat(t.replace(new RegExp(r,"i"),"")))),e}})||!1))}}({compilerHost:Y,getSymlinkCache:$t,useSourceOfProjectReferenceRedirect:fe,toPath:Oe,getResolvedProjectReferences:Je,getSourceOfProjectReferenceRedirect:Tt,forEachResolvedProjectReference:kt}),e=a.onProgramCreateComplete,r=a.fileExists,pe=a.directoryExists,me=Y.readFile.bind(Y);null!=iA&&iA.push(iA.Phase.Program,"shouldProgramCreateNewSourceFiles",{hasOldProgram:!!W});var ye,ve=(n=V,!!(a=W)&&Ou(a.getCompilerOptions(),n,nk));if(null!=iA&&iA.pop(),null!=iA&&iA.push(iA.Phase.Program,"tryReuseStructureFromOldProgram",{}),ye=function(){var t,e,r,n,a,i,o,s,c,u;if(!W)return 0;var _=W.getCompilerOptions();if(Fu(_,V))return 0;if(!nr(W.getRootFileNames(),U))return 0;if(YV(W.getProjectReferences(),W.getResolvedProjectReferences(),function(e,t,r){r=Ot((t?t.commandLine.projectReferences:q)[r]);return e?!r||r.sourceFile!==e.sourceFile||!nr(e.commandLine.fileNames,r.commandLine.fileNames):void 0!==r},function(e,t){return!nr(e,t?wt(t.sourceFile.path).commandLine.projectReferences:q,Ju)}))return 0;q&&(ne=q.map(Ot));var l=[],d=[];if(ye=2,W.getMissingFilePaths().some(function(e){return Y.fileExists(e)}))return 0;var f=W.getSourceFiles();!function(e){e[e.Exists=0]="Exists",e[e.Modified=1]="Modified"}({});var p=new Map;try{for(var m=__values(f),y=m.next();!y.done;y=m.next()){var v=mt((F=y.value).fileName,Q,Y,V);if(!(L=Y.getSourceFileByPath?Y.getSourceFileByPath(F.fileName,F.resolvedPath,v,void 0,ve):Y.getSourceFile(F.fileName,v,void 0,ve)))return 0;L.packageJsonLocations=null!=(x=v.packageJsonLocations)&&x.length?v.packageJsonLocations:void 0,L.packageJsonScope=v.packageJsonScope,rA.assert(!L.redirectInfo,"Host should not return a redirect source file from `getSourceFile`");var g=void 0;if(F.redirectInfo){if(L!==F.redirectInfo.unredirected)return 0;g=!1,L=F}else if(W.redirectTargetsMap.has(F.path)){if(L!==F)return 0;g=!1}else g=L!==F;L.path=F.path,L.originalFileName=F.originalFileName,L.resolvedPath=F.resolvedPath,L.fileName=F.fileName;var h=W.sourceFileToPackageName.get(F.path);if(void 0!==h){var x=p.get(h),v=g?1:0;if(void 0!==x&&1==v||1===x)return 0;p.set(h,v)}g?(F.impliedNodeFormat===L.impliedNodeFormat&&nr(F.libReferenceDirectives,L.libReferenceDirectives,ot)&&F.hasNoDefaultLib===L.hasNoDefaultLib&&nr(F.referencedFiles,L.referencedFiles,ot)?(ut(L),nr(F.imports,L.imports,st)&&nr(F.moduleAugmentations,L.moduleAugmentations,st)&&(12582912&F.flags)==(12582912&L.flags)&&nr(F.typeReferenceDirectives,L.typeReferenceDirectives,ot)||(ye=1)):ye=1,d.push({oldFile:F,newFile:L})):Z(F.path)&&(ye=1,d.push({oldFile:F,newFile:L})),l.push(L)}}catch(e){t={error:e}}finally{try{y&&!y.done&&(e=m.return)&&e.call(m)}finally{if(t)throw t.error}}if(2!==ye)return ye;var b=d.map(function(e){return e.oldFile});try{for(var k=__values(f),T=k.next();!T.done;T=k.next()){var S=T.value;if(!eD(b,S))try{for(var w=(a=void 0,__values(S.ambientModuleNames)),C=w.next();!C.done;C=w.next()){var N=C.value;H.set(N,S.fileName)}}catch(e){a={error:e}}finally{try{C&&!C.done&&(i=w.return)&&i.call(w)}finally{if(a)throw a.error}}}}catch(e){r={error:e}}finally{try{T&&!T.done&&(n=k.return)&&n.call(k)}finally{if(r)throw r.error}}try{for(var D=__values(d),A=D.next();!A.done;A=D.next()){var E=A.value,F=E.oldFile,P=mq(L=E.newFile),E=Me(P,L);Wu(P,L,E,F.resolvedModules,zu,vV)?(ye=1,L.resolvedModules=ES(L,P,E,vV)):L.resolvedModules=F.resolvedModules;P=L.typeReferenceDirectives,E=Re(P,L);Wu(P,L,E,F.resolvedTypeReferenceDirectiveNames,qu,gV)?(ye=1,L.resolvedTypeReferenceDirectiveNames=ES(L,P,E,gV)):L.resolvedTypeReferenceDirectiveNames=F.resolvedTypeReferenceDirectiveNames}}catch(e){o={error:e}}finally{try{A&&!A.done&&(s=D.return)&&s.call(D)}finally{if(o)throw o.error}}if(2!==ye)return ye;if(Iu(_,V))return 1;if(W.resolvedLibReferences&&hF(W.resolvedLibReferences,function(e,t){return Et(t).actual!==e.actual}))return 1;if(Y.hasChangedAutomaticTypeDirectiveNames){if(Y.hasChangedAutomaticTypeDirectiveNames())return 1}else if(j=TS(V,Y),!nr(W.getAutomaticTypeDirectiveNames(),j))return 1;re=W.getMissingFilePaths(),rA.assert(l.length===W.getSourceFiles().length);try{for(var I=__values(l),O=I.next();!O.done;O=I.next()){var L=O.value;le.set(L.path,L)}}catch(e){c={error:e}}finally{try{O&&!O.done&&(u=I.return)&&u.call(I)}finally{if(c)throw c.error}}return W.getFilesByNameMap().forEach(function(e,t){e?e.path!==t?le.set(t,le.get(e.path)):W.isSourceFileFromExternalLibrary(e)&&X.set(e.path,!0):le.set(t,e)}),M=l,K=W.getFileIncludeReasons(),R=W.getFileProcessingDiagnostics(),G=W.getResolvedTypeReferenceDirectives(),j=W.getAutomaticTypeDirectiveNames(),B=W.getAutomaticTypeDirectiveResolutions(),ce=W.sourceFileToPackageName,ue=W.redirectTargetsMap,_e=W.usesUriStyleNodeCoreModules,J=W.resolvedLibReferences,z=W.getCurrentPackagesMap(),2}(),null!=iA&&iA.pop(),2!==ye){if(p=[],m=[],q&&(ne=ne||q.map(Ot),U.length&&null!=ne&&ne.forEach(function(e,t){var r,n,a,i;if(e){var o=GO(e.commandLine.options);if(fe){if(o||0===nM(e.commandLine.options))try{for(var s=__values(e.commandLine.fileNames),c=s.next();!c.done;c=s.next())dt(_=c.value,{kind:1,index:t})}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}}else if(o)dt(ym(o,".d.ts"),{kind:2,index:t});else if(0===nM(e.commandLine.options)){var u=va(function(){return LU(e.commandLine,!Y.useCaseSensitiveFileNames())});try{for(var _,l=__values(e.commandLine.fileNames),d=l.next();!d.done;d=l.next())QB(_=d.value)||uA(_,".json")||dt(AU(_,e.commandLine,!Y.useCaseSensitiveFileNames(),u),{kind:2,index:t})}catch(e){a={error:e}}finally{try{d&&!d.done&&(i=l.return)&&i.call(l)}finally{if(a)throw a.error}}}}})),null!=iA&&iA.push(iA.Phase.Program,"processRootFiles",{count:U.length}),KN(U,function(e,t){return it(e,!1,!1,{kind:0,index:t})}),null!=iA&&iA.pop(),null!=j||(j=U.length?TS(V,Y):WN),B=AS(),j.length){null!=iA&&iA.push(iA.Phase.Program,"processTypeReferences",{count:j.length});for(var ge=dA(V.configFilePath?lA(V.configFilePath):P,hV),he=Re(j,ge),xe=0;xe<j.length;xe++)B.set(j[xe],void 0,he[xe]),Dt(j[xe],void 0,he[xe],{kind:8,typeReference:j[xe],packageId:null==(s=null==(s=he[xe])?void 0:s.resolvedTypeReferenceDirective)?void 0:s.packageId});null!=iA&&iA.pop()}U.length&&!D&&(ge=A(),!V.lib&&ge?it(ge,!0,!1,{kind:6}):KN(V.lib,function(e,t){it(At(e),!0,!1,{kind:6,index:t})})),re=PD(rr(le.entries(),function(e){var t=__read(e,2),e=t[0];return void 0===t[1]?e:void 0})),M=bn(p,function(e,t){return UD(Ie(e),Ie(t))}).concat(m),m=p=void 0}if(rA.assert(!!re),W&&Y.onReleaseOldSourceFile){var be=W.getSourceFiles();try{for(var ke=__values(be),Te=ke.next();!Te.done;Te=ke.next()){var Se=Te.value,we=He(Se.resolvedPath);(ve||!we||we.impliedNodeFormat!==Se.impliedNodeFormat||Se.resolvedPath===Se.path&&we.resolvedPath!==Se.path)&&Y.onReleaseOldSourceFile(Se,W.getCompilerOptions(),!!He(Se.path))}}catch(e){i={error:e}}finally{try{Te&&!Te.done&&(o=ke.return)&&o.call(ke)}finally{if(i)throw i.error}}Y.getParsedCommandLine||W.forEachResolvedProjectReference(function(e){wt(e.sourceFile.path)||Y.onReleaseOldSourceFile(e.sourceFile,W.getCompilerOptions(),!1)})}W&&Y.onReleaseParsedCommandLine&&YV(W.getProjectReferences(),W.getResolvedProjectReferences(),function(e,t,r){r=fq((null==t?void 0:t.commandLine.projectReferences[r])||W.getProjectReferences()[r]);null!=ae&&ae.has(Oe(r))||Y.onReleaseParsedCommandLine(r,e,W.getCompilerOptions())}),d=W=void 0;var Ce={getRootFileNames:function(){return U},getSourceFile:We,getSourceFileByPath:He,getSourceFiles:function(){return M},getMissingFilePaths:function(){return re},getModuleResolutionCache:function(){return Q},getFilesByNameMap:function(){return le},getCompilerOptions:function(){return V},getSyntacticDiagnostics:function(e,t){return Ke(e,Xe,t)},getOptionsDiagnostics:function(){return fo(fD(F.getGlobalDiagnostics(),function(){if(!V.configFile)return WN;var t=F.getDiagnostics(V.configFile.fileName);return kt(function(e){t=fD(t,F.getDiagnostics(e.sourceFile.fileName))}),t}()))},getGlobalDiagnostics:function(){return U.length?fo(Ve().getGlobalDiagnostics().slice()):WN},getSemanticDiagnostics:function(e,t){return Ke(e,Ye,t)},getCachedSemanticDiagnostics:function(e){var t;return e?null==(t=g.perFile)?void 0:t.get(e.path):g.allDiagnostics},getSuggestionDiagnostics:function(e,t){return Qe(function(){return Ve().getSuggestionDiagnostics(e,t)})},getDeclarationDiagnostics:function(e,t){var r=Ce.getCompilerOptions();return!e||GO(r)?tt(e,t):Ke(e,at,t)},getBindAndCheckDiagnostics:Ze,getProgramDiagnostics:Ge,getTypeChecker:Ve,getClassifiableNames:function(){var t,e;if(!l){Ve(),l=new Set;try{for(var r=__values(M),n=r.next();!n.done;n=r.next()){var a=n.value;null!=(a=a.classifiableNames)&&a.forEach(function(e){return l.add(e)})}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}return l},getCommonSourceDirectory:Le,emit:function(e,t,r,n,a,i){var o;null!=(o=iA)&&o.push(iA.Phase.Emit,"emit",{path:null==e?void 0:e.path},!0);var s=Qe(function(){return function(e,t,r,n,a,i,o){if(!o){e=uq(e,t,r,n);if(e)return e}n=Ve().getEmitResolver(GO(V)?void 0:t,n);nA("beforeEmit");o=BU(n,je(r),t,sU(V,i,a),a,!1,o);return nA("afterEmit"),aA("Emit","beforeEmit","afterEmit"),o}(Ce,e,t,r,n,a,i)});return null!=(o=iA)&&o.pop(),s},getCurrentDirectory:function(){return P},getNodeCount:function(){return Ve().getNodeCount()},getIdentifierCount:function(){return Ve().getIdentifierCount()},getSymbolCount:function(){return Ve().getSymbolCount()},getTypeCount:function(){return Ve().getTypeCount()},getInstantiationCount:function(){return Ve().getInstantiationCount()},getRelationCacheSizes:function(){return Ve().getRelationCacheSizes()},getFileProcessingDiagnostics:function(){return R},getResolvedTypeReferenceDirectives:function(){return G},getAutomaticTypeDirectiveNames:function(){return j},getAutomaticTypeDirectiveResolutions:function(){return B},isSourceFileFromExternalLibrary:Ue,isSourceFileDefaultLibrary:function(t){if(!t.isDeclarationFile)return!1;if(t.hasNoDefaultLib)return!0;if(!V.noLib)return!1;var r=Y.useCaseSensitiveFileNames()?cr:sr;return V.lib?dD(V.lib,function(e){return r(t.fileName,J.get(e).actual)}):r(t.fileName,A())},getSourceFileFromReference:function(e,t){return _t(SV(t.fileName,e.fileName),We)},getLibFileFromReference:function(e){var e=eq(e).libFileName,t=e&&(null==(t=null==J?void 0:J.get(e))?void 0:t.actual);return void 0!==t?We(t):void 0},sourceFileToPackageName:ce,redirectTargetsMap:ue,usesUriStyleNodeCoreModules:_e,resolvedLibReferences:J,getCurrentPackagesMap:function(){return z},typesPackageExists:function(e){return Ne().has(Nw(e))},packageBundlesTypes:function(e){return!!Ne().get(e)},isEmittedFile:function(e){if(V.noEmit)return!1;var t=Oe(e);if(He(t))return!1;e=GO(V);if(e)return Zt(t,e)||Zt(t,pm(e)+".d.ts");if(V.declarationDir&&Ga(V.declarationDir,t,P,!Y.useCaseSensitiveFileNames()))return!0;if(V.outDir)return Ga(V.outDir,t,P,!Y.useCaseSensitiveFileNames());if(_A(t,xu)||QB(t)){t=pm(t);return!!He(t+".ts")||!!He(t+".tsx")}return!1},getConfigFileParsingDiagnostics:function(){return f||WN},getProjectReferences:function(){return q},getResolvedProjectReferences:Je,getProjectReferenceRedirect:gt,getResolvedProjectReferenceToRedirect:bt,getResolvedProjectReferenceByPath:wt,forEachResolvedProjectReference:kt,isSourceOfProjectReferenceRedirect:St,emitBuildInfo:function(e){rA.assert(!GO(V)),null==(t=iA)||t.push(iA.Phase.Emit,"emitBuildInfo",{},!0),nA("beforeEmit");var t=BU(mU,je(e),void 0,aU,!1,!0);return nA("afterEmit"),aA("Emit","beforeEmit","afterEmit"),null==(e=iA)||e.pop(),t},fileExists:r,readFile:me,directoryExists:pe,getSymlinkCache:$t,realpath:null==(pe=Y.realpath)?void 0:pe.bind(Y),useCaseSensitiveFileNames:function(){return Y.useCaseSensitiveFileNames()},getCanonicalFileName:Pt,getFileIncludeReasons:function(){return K},structureIsReused:ye,writeFile:Be};return e(),null!=R&&R.forEach(function(e){switch(e.kind){case 1:return F.add(Mt(e.file&&He(e.file),e.fileProcessingReason,e.diagnostic,e.args||WN));case 0:var t=nq(He,e.reason),r=t.file,n=t.pos,t=t.end;return F.add(QL.apply(void 0,__spreadArray([r,rA.checkDefined(n),rA.checkDefined(t)-n,e.diagnostic],__read(e.args||WN),!1)));case 2:return e.diagnostics.forEach(function(e){return F.add(e)});default:rA.assertNever(e)}}),function(){var t,e;V.strictPropertyInitialization&&!pM(V,"strictNullChecks")&&qt(mA.Option_0_cannot_be_specified_without_specifying_option_1,"strictPropertyInitialization","strictNullChecks"),V.exactOptionalPropertyTypes&&!pM(V,"strictNullChecks")&&qt(mA.Option_0_cannot_be_specified_without_specifying_option_1,"exactOptionalPropertyTypes","strictNullChecks"),(V.isolatedModules||V.verbatimModuleSyntax)&&(V.out&&qt(mA.Option_0_cannot_be_specified_with_option_1,"out",V.verbatimModuleSyntax?"verbatimModuleSyntax":"isolatedModules"),V.outFile&&qt(mA.Option_0_cannot_be_specified_with_option_1,"outFile",V.verbatimModuleSyntax?"verbatimModuleSyntax":"isolatedModules")),V.inlineSourceMap&&(V.sourceMap&&qt(mA.Option_0_cannot_be_specified_with_option_1,"sourceMap","inlineSourceMap"),V.mapRoot&&qt(mA.Option_0_cannot_be_specified_with_option_1,"mapRoot","inlineSourceMap")),V.composite&&(!1===V.declaration&&qt(mA.Composite_projects_may_not_disable_declaration_emit,"declaration"),!1===V.incremental&&qt(mA.Composite_projects_may_not_disable_incremental_compilation,"declaration"));var r=GO(V);if(V.tsBuildInfoFile?Mp(V)||qt(mA.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"tsBuildInfoFile","incremental","composite"):!V.incremental||r||V.configFilePath||F.add(ZL(mA.Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified)),Lt("5.0","5.5",function(e,t,r,n){for(var a=[],i=4;i<arguments.length;i++)a[i-4]=arguments[i];r?(r=$L(void 0,mA.Use_0_instead,r),Kt(!t,e,void 0,$L.apply(void 0,__spreadArray([r,n],__read(a),!1)))):Kt.apply(void 0,__spreadArray([!t,e,void 0,n],__read(a),!1))},function(e){0===V.target&&e("target","ES3"),V.noImplicitUseStrict&&e("noImplicitUseStrict"),V.keyofStringsOnly&&e("keyofStringsOnly"),V.suppressExcessPropertyErrors&&e("suppressExcessPropertyErrors"),V.suppressImplicitAnyIndexErrors&&e("suppressImplicitAnyIndexErrors"),V.noStrictGenericChecks&&e("noStrictGenericChecks"),V.charset&&e("charset"),V.out&&e("out",void 0,"outFile"),V.importsNotUsedAsValues&&e("importsNotUsedAsValues",void 0,"verbatimModuleSyntax"),V.preserveValueImports&&e("preserveValueImports",void 0,"verbatimModuleSyntax")}),function(){var u=V.suppressOutputPathCheck?void 0:TU(V);YV(q,ne,function(e,t,r){var n,o,s,a,i=(t?t.commandLine.projectReferences:q)[r],c=t&&t.sourceFile;n=i,o=c,s=r,Lt("5.0","5.5",function(e,t,r,n){for(var a=[],i=4;i<arguments.length;i++)a[i-4]=arguments[i];Ht.apply(void 0,__spreadArray([o,s,n],__read(a),!1))},function(e){n.prepend&&e("prepend")}),e?((a=e.commandLine.options).composite&&!a.noEmit||(t?t.commandLine.fileNames:U).length&&(a.composite||Ht(c,r,mA.Referenced_project_0_must_have_setting_composite_Colon_true,i.path),a.noEmit&&Ht(c,r,mA.Referenced_project_0_may_not_disable_emit,i.path)),i.prepend&&((e=GO(a))?Y.fileExists(e)||Ht(c,r,mA.Output_file_0_from_project_1_does_not_exist,e,i.path):Ht(c,r,mA.Cannot_prepend_project_0_because_it_does_not_have_outFile_set,i.path)),!t&&u&&u===TU(a)&&(Ht(c,r,mA.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1,u,i.path),L.set(Oe(u),!0))):Ht(c,r,mA.File_0_not_found,i.path)})}(),V.composite){var n=new Set(U.map(Oe));try{for(var a=__values(M),i=a.next();!i.done;i=a.next()){var o=i.value;Ed(o,Ce)&&!n.has(o.path)&&jt(o,mA.File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern,[o.fileName,V.configFilePath||""])}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}}if(V.paths)for(var s in V.paths)if(ma(V.paths,s))if(Up(s)||Jt(!0,s,mA.Pattern_0_can_have_at_most_one_Asterisk_character,s),RD(V.paths[s])){var c=V.paths[s].length;0===c&&Jt(!1,s,mA.Substitutions_for_pattern_0_shouldn_t_be_an_empty_array,s);for(var u=0;u<c;u++){var _=V.paths[s][u],l=typeof _;"string"==l?(Up(_)||Bt(s,u,mA.Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character,_,s),V.baseUrl||sA(_)||Sa(_)||Bt(s,u,mA.Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash)):Bt(s,u,mA.Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2,_,s,l)}}else Jt(!1,s,mA.Substitutions_for_pattern_0_should_be_an_array,s);V.sourceMap||V.inlineSourceMap||(V.inlineSources&&qt(mA.Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided,"inlineSources"),V.sourceRoot&&qt(mA.Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided,"sourceRoot")),V.out&&V.outFile&&qt(mA.Option_0_cannot_be_specified_with_option_1,"out","outFile"),!V.mapRoot||V.sourceMap||V.declarationMap||qt(mA.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"mapRoot","sourceMap","declarationMap"),V.declarationDir&&(dM(V)||qt(mA.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"declarationDir","declaration","composite"),r&&qt(mA.Option_0_cannot_be_specified_with_option_1,"declarationDir",V.out?"out":"outFile")),V.declarationMap&&!dM(V)&&qt(mA.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"declarationMap","declaration","composite"),V.lib&&V.noLib&&qt(mA.Option_0_cannot_be_specified_with_option_1,"lib","noLib"),V.noImplicitUseStrict&&pM(V,"alwaysStrict")&&qt(mA.Option_0_cannot_be_specified_with_option_1,"noImplicitUseStrict","alwaysStrict");var d=rM(V),f=QN(M,function(e){return XB(e)&&!e.isDeclarationFile});V.isolatedModules||V.verbatimModuleSyntax?(0===V.module&&d<2&&V.isolatedModules&&qt(mA.Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher,"isolatedModules","target"),!1===V.preserveConstEnums&&qt(mA.Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled,V.verbatimModuleSyntax?"verbatimModuleSyntax":"isolatedModules","preserveConstEnums")):f&&d<2&&0===V.module&&(p=uP(f,"boolean"==typeof f.externalModuleIndicator?f:f.externalModuleIndicator),F.add(QL(f,p.start,p.length,mA.Cannot_use_imports_exports_or_module_augmentations_when_module_is_none))),r&&!V.emitDeclarationOnly&&(V.module&&2!==V.module&&4!==V.module?qt(mA.Only_amd_and_system_modules_are_supported_alongside_0,V.out?"out":"outFile","module"):void 0===V.module&&f&&(p=uP(f,"boolean"==typeof f.externalModuleIndicator?f:f.externalModuleIndicator),F.add(QL(f,p.start,p.length,mA.Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system,V.out?"out":"outFile")))),lM(V)&&(1===iM(V)?qt(mA.Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic,"resolveJsonModule"):oM(V)||qt(mA.Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext,"resolveJsonModule","module")),(V.outDir||V.rootDir||V.sourceRoot||V.mapRoot)&&(v=Le(),V.outDir&&""===v&&M.some(function(e){return 1<Aa(e.fileName)})&&qt(mA.Cannot_find_the_common_subdirectory_path_for_the_input_files,"outDir")),V.useDefineForClassFields&&0===d&&qt(mA.Option_0_cannot_be_specified_when_option_target_is_ES3,"useDefineForClassFields"),V.checkJs&&!Rp(V)&&F.add(ZL(mA.Option_0_cannot_be_specified_without_specifying_option_1,"checkJs","allowJs")),V.emitDeclarationOnly&&(dM(V)||qt(mA.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"emitDeclarationOnly","declaration","composite"),V.noEmit&&qt(mA.Option_0_cannot_be_specified_with_option_1,"emitDeclarationOnly","noEmit")),V.emitDecoratorMetadata&&!V.experimentalDecorators&&qt(mA.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators"),V.jsxFactory?(V.reactNamespace&&qt(mA.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory"),4!==V.jsx&&5!==V.jsx||qt(mA.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFactory",Vb.get(""+V.jsx)),GB(V.jsxFactory,d)||Wt("jsxFactory",mA.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,V.jsxFactory)):V.reactNamespace&&!bA(V.reactNamespace,d)&&Wt("reactNamespace",mA.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,V.reactNamespace),V.jsxFragmentFactory&&(V.jsxFactory||qt(mA.Option_0_cannot_be_specified_without_specifying_option_1,"jsxFragmentFactory","jsxFactory"),4!==V.jsx&&5!==V.jsx||qt(mA.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFragmentFactory",Vb.get(""+V.jsx)),GB(V.jsxFragmentFactory,d)||Wt("jsxFragmentFactory",mA.Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name,V.jsxFragmentFactory)),V.reactNamespace&&(4!==V.jsx&&5!==V.jsx||qt(mA.Option_0_cannot_be_specified_when_option_jsx_is_1,"reactNamespace",Vb.get(""+V.jsx))),V.jsxImportSource&&2===V.jsx&&qt(mA.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxImportSource",Vb.get(""+V.jsx)),V.preserveValueImports&&nM(V)<5&&qt(mA.Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later,"preserveValueImports");var p=nM(V);V.verbatimModuleSyntax&&(2!==p&&3!==p&&4!==p||qt(mA.Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System,"verbatimModuleSyntax"),V.preserveValueImports&&Qt("preserveValueImports","verbatimModuleSyntax"),V.importsNotUsedAsValues&&Qt("importsNotUsedAsValues","verbatimModuleSyntax")),!V.allowImportingTsExtensions||V.noEmit||V.emitDeclarationOnly||Wt("allowImportingTsExtensions",mA.Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set);var m,y,v=iM(V);function g(e,t){var r,n;e&&(n=Oe(e),le.has(n)&&(r=void 0,V.configFilePath||(r=$L(void 0,mA.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)),Yt(e,xp(r=$L(r,mA.Cannot_write_file_0_because_it_would_overwrite_input_file,e)))),n=Y.useCaseSensitiveFileNames()?n:or(n),t.has(n)?Yt(e,ZL(mA.Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files,e)):t.add(n))}V.resolvePackageJsonExports&&!Ip(v)&&qt(mA.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler,"resolvePackageJsonExports"),V.resolvePackageJsonImports&&!Ip(v)&&qt(mA.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler,"resolvePackageJsonImports"),V.customConditions&&!Ip(v)&&qt(mA.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler,"customConditions"),100!==v||aM(p)||Wt("moduleResolution",mA.Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later,"bundler"),oA[p]&&100<=p&&p<=199&&!(3<=v&&v<=99)?(d=oA[p],Wt("moduleResolution",mA.Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1,d,d)):Zr[v]&&3<=v&&v<=99&&!(100<=p&&p<=199)&&(m=Zr[v],Wt("module",mA.Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1,m,m)),V.noEmit||V.suppressOutputPathCheck||(m=je(),y=new Set,kU(m,function(e){V.emitDeclarationOnly||g(e.jsFilePath,y),g(e.declarationFilePath,y)}))}(),nA("afterProgram"),aA("Program","beforeProgram","afterProgram"),null!=iA&&iA.pop(),Ce;function Ne(){return z||(z=new Map,M.forEach(function(e){e.resolvedModules&&e.resolvedModules.forEach(function(e){e=e.resolvedModule;null!=e&&e.packageId&&z.set(e.packageId.name,".d.ts"===e.extension||!!z.get(e.packageId.name))})}),z)}function De(e){var t;null!=(t=e.resolutionDiagnostics)&&t.length&&(null!=R?R:R=[]).push({kind:2,diagnostics:e.resolutionDiagnostics})}function Ae(e,t,r){if(!e.length)return WN;var n=fA(t.originalFileName,P),a=Fe(t);null!=iA&&iA.push(iA.Phase.Program,"resolveModuleNamesWorker",{containingFileName:n}),nA("beforeResolveModule");r=S(e,n,a,V,t,r);return nA("afterResolveModule"),aA("ResolveModule","beforeResolveModule","afterResolveModule"),null!=iA&&iA.pop(),r}function Ee(e,t,r){if(!e.length)return[];var n=jD(t)?void 0:t,a=jD(t)?t:fA(t.originalFileName,P),t=n&&Fe(n);null!=iA&&iA.push(iA.Phase.Program,"resolveTypeReferenceDirectiveNamesWorker",{containingFileName:a}),nA("beforeResolveTypeReference");r=C(e,a,t,V,n,r);return nA("afterResolveTypeReference"),aA("ResolveTypeReference","beforeResolveTypeReference","afterResolveTypeReference"),null!=iA&&iA.pop(),r}function Fe(e){var t=bt(e.originalFileName);if(t||!QB(e.originalFileName))return t;t=Pe(e.path);if(t)return t;if(Y.realpath&&V.preserveSymlinks&&WD(e.originalFileName,ZT)){t=Oe(Y.realpath(e.originalFileName));return t===e.path?void 0:Pe(t)}}function Pe(r){var e=Tt(r);return jD(e)?bt(e):e?kt(function(e){var t=GO(e.commandLine.options);if(t)return Oe(t)===r?e:void 0}):void 0}function Ie(e){if(Ga(E,e.fileName,!1)){e=Ea(e.fileName);if("lib.d.ts"===e||"lib.es6.d.ts"===e)return 0;e=ur(QD(e,"lib."),".d.ts"),e=Wb.indexOf(e);if(-1!==e)return e+1}return Wb.length+2}function Oe(e){return Ja(e,P,Pt)}function Le(){var t;return void 0===u&&(t=nD(M,function(e){return Ed(e,Ce)}),u=OU(V,function(){return uD(t,function(e){return e.isDeclarationFile?void 0:e.fileName})},P,Pt,function(e){return function(e,t){var r,n,a=!0,i=Y.getCanonicalFileName(fA(t,P));try{for(var o=__values(e),s=o.next();!s.done;s=o.next()){var c=s.value;c.isDeclarationFile||0!==Y.getCanonicalFileName(fA(c.fileName,P)).indexOf(i)&&(jt(c,mA.File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files,[c.fileName,t]),a=!1)}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a}(t,e)})),u}function Me(e,n){var t,r,a;if(0===ye&&!n.ambientModuleNames.length)return Ae(e,n,void 0);var i,o,s,c=W&&W.getSourceFile(n.fileName);if(c!==n&&n.resolvedModules){var u=[];try{for(var _=__values(e),l=_.next();!l.done;l=_.next()){var d=l.value,f=n.resolvedModules.get(d.text,VV(n,d));u.push(f)}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=_.return)&&r.call(_)}finally{if(t)throw t.error}}return u}for(var p=yV,m=0;m<e.length;m++){d=e[m];if(n===c&&!Z(c.path)){var y=VV(n,d),y=null==(a=c.resolvedModules)?void 0:a.get(d.text,y);if(null!=y&&y.resolvedModule){rS(V,Y)&&tS(Y,y.resolvedModule.packageId?mA.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:mA.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2,d.text,fA(n.originalFileName,P),y.resolvedModule.resolvedFileName,y.resolvedModule.packageId&&Vu(y.resolvedModule.packageId)),(null!=o?o:o=new Array(e.length))[m]=y,(null!=s?s:s=[]).push(d);continue}}y=!1;eD(n.ambientModuleNames,d.text)?(y=!0,rS(V,Y)&&tS(Y,mA.Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1,d.text,fA(n.originalFileName,P))):y=function(e){var t=TF(c,e.text,VV(n,e)),r=t&&W.getSourceFile(t.resolvedFileName);if(t&&r)return!1;r=H.get(e.text);if(!r)return!1;rS(V,Y)&&tS(Y,mA.Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified,e.text,r);return!0}(d),y?(o=o||new Array(e.length))[m]=p:(null!=i?i:i=[]).push(d)}var v=i&&i.length?Ae(i,n,s):WN;if(!o)return rA.assert(v.length===e.length),v;for(var g=0,m=0;m<o.length;m++)o[m]||(o[m]=v[g],g++);return rA.assert(g===v.length),o}function Re(e,t){var r,n,a;if(0===ye)return Ee(e,t,void 0);var i,o,s,c=jD(t)?void 0:W&&W.getSourceFile(t.fileName);if(!jD(t)&&c!==t&&t.resolvedTypeReferenceDirectiveNames){var u=[];try{for(var _=__values(e),l=_.next();!l.done;l=_.next()){var d=l.value,f=t.resolvedTypeReferenceDirectiveNames.get(KV(d),JV(d,t.impliedNodeFormat));u.push(f)}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=_.return)&&n.call(_)}finally{if(r)throw r.error}}return u}for(var p=jD(t)?void 0:t,m=jD(t)?!Z(Oe(t)):t===c&&!Z(c.path),y=0;y<e.length;y++){var v=e[y];if(m){var d=KV(v),g=JV(v,null==p?void 0:p.impliedNodeFormat),g=null==(a=jD(t)?null==W?void 0:W.getAutomaticTypeDirectiveResolutions():null==c?void 0:c.resolvedTypeReferenceDirectiveNames)?void 0:a.get(d,g);if(null!=g&&g.resolvedTypeReferenceDirective){rS(V,Y)&&tS(Y,g.resolvedTypeReferenceDirective.packageId?mA.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:mA.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2,d,jD(t)?t:fA(t.originalFileName,P),g.resolvedTypeReferenceDirective.resolvedFileName,g.resolvedTypeReferenceDirective.packageId&&Vu(g.resolvedTypeReferenceDirective.packageId)),(null!=o?o:o=new Array(e.length))[y]=g,(null!=s?s:s=[]).push(v);continue}}(null!=i?i:i=[]).push(v)}if(!i)return o||WN;var h=Ee(i,t,s);if(!o)return rA.assert(h.length===e.length),h;for(var x=0,y=0;y<o.length;y++)o[y]||(o[y]=h[x],x++);return rA.assert(x===h.length),o}function je(e){return{getPrependNodes:ze,getCanonicalFileName:Pt,getCommonSourceDirectory:Ce.getCommonSourceDirectory,getCompilerOptions:Ce.getCompilerOptions,getCurrentDirectory:function(){return P},getSourceFile:Ce.getSourceFile,getSourceFileByPath:Ce.getSourceFileByPath,getSourceFiles:Ce.getSourceFiles,getLibFileFromReference:Ce.getLibFileFromReference,isSourceFileFromExternalLibrary:Ue,getResolvedProjectReferenceToRedirect:bt,getProjectReferenceRedirect:gt,isSourceOfProjectReferenceRedirect:St,getSymlinkCache:$t,writeFile:e||Be,isEmitBlocked:qe,readFile:function(e){return Y.readFile(e)},fileExists:function(e){var t=Oe(e);return!!He(t)||!eD(re,t)&&Y.fileExists(e)},useCaseSensitiveFileNames:function(){return Y.useCaseSensitiveFileNames()},getBuildInfo:function(e){var t;return null==(t=Ce.getBuildInfo)?void 0:t.call(Ce,e)},getSourceFileFromReference:function(e,t){return Ce.getSourceFileFromReference(e,t)},redirectTargetsMap:ue,getFileIncludeReasons:Ce.getFileIncludeReasons,createHash:LD(Y,Y.createHash)}}function Be(e,t,r,n,a,i){Y.writeFile(e,t,r,n,a,i)}function Je(){return ne}function ze(){return dq(q,function(e,t){return null==(t=ne[t])?void 0:t.commandLine},function(e){var t=Oe(e),e=He(t);return e?e.text:le.has(t)?void 0:Y.readFile(t)},Y)}function Ue(e){return!!X.get(e.path)}function Ve(){return _=_||AC(Ce)}function qe(e){return L.has(Oe(e))}function We(e){return He(Oe(e))}function He(e){return le.get(e)||void 0}function Ke(e,t,r){return fo(e?t(e,r):cD(Ce.getSourceFiles(),function(e){return r&&r.throwIfCancellationRequested(),t(e,r)}))}function Ge(e){var t;if(DM(e,V,Ce))return WN;var r=F.getDiagnostics(e.fileName);return null!=(t=e.commentDirectives)&&t.length?et(e,e.commentDirectives,r).diagnostics:r}function Xe(e){return sI(e)?(e.additionalSyntacticDiagnostics||(e.additionalSyntacticDiagnostics=(i=e,Qe(function(){var _=[];return e(i,i),KB(i,e,function(e,t){var r,n;{var a,i,o;BB(t)?(i=QN(t.modifiers,NR))&&_.push(d(i,mA.Decorators_are_not_valid_here)):qB(t)&&t.modifiers&&(0<=(a=ZN(t.modifiers,NR))&&(CR(t)&&!V.experimentalDecorators?_.push(d(t.modifiers[a],mA.Decorators_are_not_valid_here)):!Pj(t)||0<=(o=ZN(t.modifiers,og))&&(i=ZN(t.modifiers,sg),o<a&&0<=i&&a<i?_.push(d(t.modifiers[a],mA.Decorators_are_not_valid_here)):0<=o&&a<o&&(0<=(o=ZN(t.modifiers,NR,o))&&_.push(SM(d(t.modifiers[o],mA.Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export),d(t.modifiers[a],mA.Decorator_used_before_export_here)))))))}switch(t.kind){case 263:case 231:case 174:case 176:case 177:case 178:case 218:case 262:case 219:if(e===t.typeParameters)return _.push(l(e,mA.Type_parameter_declarations_can_only_be_used_in_TypeScript_files)),"skip";case 243:if(e===t.modifiers)return function(e,t){var r,n;try{for(var a=__values(e),i=a.next();!i.done;i=a.next()){var o=i.value;switch(o.kind){case 87:if(t)continue;case 125:case 123:case 124:case 148:case 138:case 128:case 164:case 103:case 147:_.push(d(o,mA.The_0_modifier_can_only_be_used_in_TypeScript_files,vA(o.kind)))}}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}(t.modifiers,243===t.kind),"skip";break;case 172:if(e!==t.modifiers)break;try{for(var s=__values(e),c=s.next();!c.done;c=s.next()){var u=c.value;gE(u)&&126!==u.kind&&129!==u.kind&&_.push(d(u,mA.The_0_modifier_can_only_be_used_in_TypeScript_files,vA(u.kind)))}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return"skip";case 169:if(e===t.modifiers&&dD(e,gE))return _.push(l(e,mA.Parameter_modifiers_can_only_be_used_in_TypeScript_files)),"skip";break;case 213:case 214:case 233:case 285:case 286:case 215:if(e===t.typeArguments)return _.push(l(e,mA.Type_arguments_can_only_be_used_in_TypeScript_files)),"skip"}}),_;function e(e,t){switch(t.kind){case 169:case 172:case 174:if(t.questionToken===e)return _.push(d(e,mA.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),"skip";case 173:case 176:case 177:case 178:case 218:case 262:case 219:case 260:if(t.type===e)return _.push(d(e,mA.Type_annotations_can_only_be_used_in_TypeScript_files)),"skip"}switch(e.kind){case 273:if(e.isTypeOnly)return _.push(d(t,mA._0_declarations_can_only_be_used_in_TypeScript_files,"import type")),"skip";break;case 278:if(e.isTypeOnly)return _.push(d(e,mA._0_declarations_can_only_be_used_in_TypeScript_files,"export type")),"skip";break;case 276:case 281:if(e.isTypeOnly)return _.push(d(e,mA._0_declarations_can_only_be_used_in_TypeScript_files,Vj(e)?"import...type":"export...type")),"skip";break;case 271:return _.push(d(e,mA.import_can_only_be_used_in_TypeScript_files)),"skip";case 277:if(e.isExportEquals)return _.push(d(e,mA.export_can_only_be_used_in_TypeScript_files)),"skip";break;case 298:if(119===e.token)return _.push(d(e,mA.implements_clauses_can_only_be_used_in_TypeScript_files)),"skip";break;case 264:var r=yA[120];return rA.assertIsDefined(r),_.push(d(e,mA._0_declarations_can_only_be_used_in_TypeScript_files,r)),"skip";case 267:var n=32&e.flags?yA[145]:yA[144];return rA.assertIsDefined(n),_.push(d(e,mA._0_declarations_can_only_be_used_in_TypeScript_files,n)),"skip";case 265:return _.push(d(e,mA.Type_aliases_can_only_be_used_in_TypeScript_files)),"skip";case 176:case 174:case 262:return e.body?void 0:(_.push(d(e,mA.Signature_declarations_can_only_be_used_in_TypeScript_files)),"skip");case 266:n=rA.checkDefined(yA[94]);return _.push(d(e,mA._0_declarations_can_only_be_used_in_TypeScript_files,n)),"skip";case 235:return _.push(d(e,mA.Non_null_assertions_can_only_be_used_in_TypeScript_files)),"skip";case 234:return _.push(d(e.type,mA.Type_assertion_expressions_can_only_be_used_in_TypeScript_files)),"skip";case 238:return _.push(d(e.type,mA.Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files)),"skip";case 216:rA.fail()}}function l(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=e.pos;return QL.apply(void 0,__spreadArray([i,a,e.end-a,t],__read(r),!1))}function d(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return F_.apply(void 0,__spreadArray([i,e,t],__read(r),!1))}}))),fD(e.additionalSyntacticDiagnostics,e.parseDiagnostics)):e.parseDiagnostics;var i}function Qe(e){try{return e()}catch(e){throw e instanceof mr&&(_=void 0),e}}function Ye(e,t){return fD(_q(Ze(e,t),V),Ge(e))}function Ze(e,t){return nt(e,t,g,$e)}function $e(i,o){return Qe(function(){if(DM(i,V,Ce))return WN;var e=Ve();rA.assert(!!i.bindDiagnostics);var t=(1===i.scriptKind||2===i.scriptKind)&&TM(i,V),r=DF(i,V.checkJs),n=!(!!i.checkJsDirective&&!1===i.checkJsDirective.enabled)&&(3===i.scriptKind||4===i.scriptKind||5===i.scriptKind||r||t||7===i.scriptKind),a=n?i.bindDiagnostics:WN,e=n?e.getDiagnostics(i,o):WN;return r&&(a=nD(a,function(e){return xV.has(e.code)}),e=nD(e,function(e){return xV.has(e.code)})),function(e,t){for(var r,n,a,i=[],o=2;o<arguments.length;o++)i[o-2]=arguments[o];var s=sD(i);if(!t||null==(a=e.commentDirectives)||!a.length)return s;var s=et(e,e.commentDirectives,s),c=s.diagnostics,u=s.directives;try{for(var _=__values(u.getUnusedExpectations()),l=_.next();!l.done;l=_.next()){var d=l.value;c.push(O_(e,d.range,mA.Unused_ts_expect_error_directive))}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=_.return)&&n.call(_)}finally{if(r)throw r.error}}return c}(i,n&&!r,a,e,t?i.jsDocDiagnostics:void 0)})}function et(e,t,r){var n=s_(e,t);return{diagnostics:r.filter(function(e){return-1===function(e,t){var r=e.file,e=e.start;if(!r)return-1;var n=Ii(r),a=Oi(n,e).line-1;for(;0<=a;){if(t.markUsed(a))return a;var i=r.text.slice(n[a],n[a+1]).trim();if(""!==i&&!/^(\s*)\/\/(.*)$/.test(i))return-1;a--}return-1}(e,n)}),directives:n}}function tt(e,t){return nt(e,t,h,rt)}function rt(t,r){return Qe(function(){var e=Ve().getEmitResolver(t,r);return Zz(je(fi),e,t)||WN})}function nt(e,t,r,n){var a=e?null==(a=r.perFile)?void 0:a.get(e.path):r.allDiagnostics;if(a)return a;t=n(e,t);return e?(r.perFile||(r.perFile=new Map)).set(e.path,t):r.allDiagnostics=t,t}function at(e,t){return e.isDeclarationFile?[]:tt(e,t)}function it(e,t,r,n){lt(pi(e),t,r,void 0,n)}function ot(e,t){return e.fileName===t.fileName}function st(e,t){return 80===e.kind?80===t.kind&&e.escapedText===t.escapedText:11===t.kind&&e.text===t.text}function ct(e,t){var r=uR.createStringLiteral(e),e=uR.createImportDeclaration(void 0,void 0,r,void 0);return Dy(e,2),jM(r,e),jM(e,t),r.flags&=-17,e.flags&=-17,r}function ut(_){var t,e;if(!_.imports){var l,d,f,r,i=sI(_),p=XB(_);!sM(V)&&!p||_.isDeclarationFile||(V.importHelpers&&(l=[ct(lF,_)]),(r=hM(gM(V,_),V))&&(l=l||[]).push(ct(r,_)));try{for(var n=__values(_.statements),a=n.next();!a.done;a=n.next())!function e(t,r){var n,a;if(A_(t)){var i=RI(t);!(i&&hR(i)&&i.text)||r&&kA(i.text)||(Fm(t,!1),l=vD(l,i),_e||0!==b||_.isDeclarationFile||(_e=XD(i.text,"node:")))}else if(Mj(t)&&RF(t)&&(r||_L(t,2)||_.isDeclarationFile)){var i=AO((t.name.parent=t).name);if(p||r&&!kA(i))(d=d||[]).push(t.name);else if(!r){_.isDeclarationFile&&(f=f||[]).push(i);var o=t.body;if(o)try{for(var s=__values(o.statements),c=s.next();!c.done;c=s.next()){var u=c.value;e(u,!0)}}catch(e){n={error:e}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(n)throw n.error}}}}}(a.value,!1)}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}var o=i&&_M(V);(4194304&_.flags||o)&&function(e){for(var t=/import|require/g;null!==t.exec(e.text);){var r=function(e,t){function r(e){if(e.pos<=t&&(t<e.end||t===e.end&&1===e.kind))return e}var n=e;for(;;){var a=i&&tF(n)&&KN(n.jsDoc,r)||HB(n,r);if(!a)return n;n=a}}(e,t.lastIndex);o&&dI(r,!0)||mP(r)&&1<=r.arguments.length&&oF(r.arguments[0])?(Fm(r,!1),l=vD(l,r.arguments[0])):yP(r)&&(Fm(r,!1),l=vD(l,r.argument.literal))}}(_),_.imports=l||WN,_.moduleAugmentations=d||WN,_.ambientModuleNames=f||WN}}function _t(t,r,e,n){if(cA(t)){var a=Y.getCanonicalFileName(t);if(V.allowNonTsExtensions||KN(sD(O),function(e){return uA(a,e)})){var i=r(t);return e&&(i?tq(n)&&a===Y.getCanonicalFileName(He(n.file).fileName)&&e(mA.A_file_cannot_have_a_reference_to_itself):(n=gt(t))?e(mA.Output_file_0_has_not_been_built_from_source_file_1,n,t):e(mA.File_0_not_found,t)),i}e&&(sm(a)?e(mA.File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option,t):e(mA.File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1,t,"'"+sD(I).join("', '")+"'"))}else{i=V.allowNonTsExtensions&&r(t);if(i)return i;if(!e||!V.allowNonTsExtensions){i=KN(I[0],function(e){return r(t+e)});return e&&!i&&e(mA.Could_not_resolve_the_path_0_with_the_extensions_Colon_1,t,"'"+sD(I).join("', '")+"'"),i}e(mA.File_0_not_found,t)}}function lt(e,t,r,n,a){_t(e,function(e){return pt(e,t,r,a,n)},function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return Rt(void 0,a,e,t)},a)}function dt(e,t){return lt(e,!1,!1,void 0,t),0}function ft(e,t,r){!tq(r)&&dD(K.get(t.path),tq)?Rt(t,r,mA.Already_included_file_name_0_differs_from_file_name_1_only_in_casing,[t.fileName,e]):Rt(t,r,mA.File_name_0_differs_from_already_included_file_name_1_only_in_casing,[e,t.fileName])}function pt(e,t,r,n,a){null!=iA&&iA.push(iA.Phase.Program,"findSourceFile",{fileName:e,isDefaultLib:t||void 0,fileIncludeKind:yr[n.kind]});a=function(t,e,r,n,a){var i=Oe(t);if(fe){var o,s=Tt(i);if(!s&&Y.realpath&&V.preserveSymlinks&&QB(t)&&WD(t,ZT)&&((o=Oe(Y.realpath(t)))!==i&&(s=Tt(o))),s)return(f=jD(s)?pt(s,e,r,n,a):void 0)&&vt(f,i,void 0),f}var c,s=t;if(le.has(i))return yt((f=le.get(i))||void 0,n),f&&!1!==V.forceConsistentCasingInFileNames&&(Oe(d=f.fileName)!==Oe(t)&&(t=gt(t)||t),l=Ba(d,P),d=Ba(t,P),l!==d&&ft(t,f,n)),f&&X.get(f.path)&&0===b?(X.set(f.path,!1),V.noResolve||(Ct(f,e),Nt(f)),V.noLib||Ft(f),k.set(f.path,!1),It(f)):f&&k.get(f.path)&&b<x&&(k.set(f.path,!1),It(f)),f||void 0;if(tq(n)&&!fe){var u=ht(t);if(u){if(GO(u.commandLine.options))return;var _=xt(u,t);c=Oe(t=_)}}var l=mt(t,Q,Y,V),d=Y.getSourceFile(t,l,function(e){return Rt(void 0,n,mA.Cannot_read_file_0_Colon_1,[t,e])},ve);if(a){var f=Vu(a),u=se.get(f);if(u){_=function(e,t,r,n,a,i,o){return(t=WB.createRedirectedSourceFile({redirectTarget:e,unredirected:t})).fileName=r,t.path=n,t.resolvedPath=a,t.originalFileName=i,t.packageJsonLocations=null!=(i=o.packageJsonLocations)&&i.length?o.packageJsonLocations:void 0,t.packageJsonScope=o.packageJsonScope,X.set(n,0<b),t}(u,d,t,i,Oe(t),s,l);return ue.add(u.path,t),vt(_,i,c),yt(_,n),ce.set(i,Uu(a)),m.push(_),_}d&&(se.set(f,d),ce.set(i,Uu(a)))}vt(d,i,c),d&&(X.set(i,0<b),d.fileName=t,d.path=i,d.resolvedPath=Oe(t),d.originalFileName=s,d.packageJsonLocations=null!=(s=l.packageJsonLocations)&&s.length?l.packageJsonLocations:void 0,d.packageJsonScope=l.packageJsonScope,yt(d,n),Y.useCaseSensitiveFileNames()&&(l=or(i),(i=de.get(l))?ft(t,i,n):de.set(l,d)),D=D||d.hasNoDefaultLib&&!r,V.noResolve||(Ct(d,e),Nt(d)),V.noLib||Ft(d),It(d),(e?p:m).push(d));return d}(e,t,r,n,a);return null!=iA&&iA.pop(),a}function mt(e,t,r,n){t=sq(fA(e,P),null==t?void 0:t.getPackageJsonInfoCache(),r,n),r=rM(n),n=Np(n);return"object"==typeof t?__assign(__assign({},t),{languageVersion:r,setExternalModuleIndicator:n}):{languageVersion:r,impliedNodeFormat:t,setExternalModuleIndicator:n}}function yt(e,t){e&&K.add(e.path,t)}function vt(e,t,r){r?(le.set(r,e),le.set(t,e||!1)):le.set(t,e)}function gt(e){var t=ht(e);return t&&xt(t,e)}function ht(e){if(ne&&ne.length&&!QB(e)&&!uA(e,".json"))return bt(e)}function xt(e,t){var r=GO(e.commandLine.options);return r?ym(r,".d.ts"):AU(t,e.commandLine,!Y.useCaseSensitiveFileNames())}function bt(e){void 0===ie&&(ie=new Map,kt(function(t){Oe(V.configFilePath)!==t.sourceFile.path&&t.commandLine.fileNames.forEach(function(e){return ie.set(Oe(e),t.sourceFile.path)})}));e=ie.get(Oe(e));return e&&wt(e)}function kt(e){return QV(ne,e)}function Tt(e){if(QB(e))return void 0===oe&&(oe=new Map,kt(function(r){var n,e=GO(r.commandLine.options);e?(e=ym(e,".d.ts"),oe.set(Oe(e),!0)):(n=va(function(){return LU(r.commandLine,!Y.useCaseSensitiveFileNames())}),KN(r.commandLine.fileNames,function(e){var t;QB(e)||uA(e,".json")||(t=AU(e,r.commandLine,!Y.useCaseSensitiveFileNames(),n),oe.set(Oe(t),e))}))})),oe.get(e)}function St(e){return fe&&!!bt(e)}function wt(e){if(ae)return ae.get(e)||void 0}function Ct(r,n){KN(r.referencedFiles,function(e,t){lt(SV(e.fileName,r.fileName),n,!1,void 0,{kind:4,file:r.path,index:t})})}function Nt(e){var t=e.typeReferenceDirectives;if(t.length)for(var r=Re(t,e),n=0;n<t.length;n++){var a=e.typeReferenceDirectives[n],i=r[n],o=or(a.fileName);ju(e,o,i,JV(a,e.impliedNodeFormat));var s=a.resolutionMode||e.impliedNodeFormat;s&&3!==iM(V)&&99!==iM(V)&&(null!=R?R:R=[]).push({kind:2,diagnostics:[O_(e,a,mA.resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext)]}),Dt(o,s,i,{kind:5,file:e.path,index:n})}else e.resolvedTypeReferenceDirectiveNames=void 0}function Dt(e,t,r,n){null!=iA&&iA.push(iA.Phase.Program,"processTypeReferenceDirective",{directive:e,hasResolved:!!r.resolvedTypeReferenceDirective,refKind:n.kind,refPath:tq(n)?n.file:void 0}),function(e,t,r,n){De(r);var a,i,o,s,c=null==(s=G.get(e,t))?void 0:s.resolvedTypeReferenceDirective;c&&c.primary||(a=!0,(i=r.resolvedTypeReferenceDirective)?(i.isExternalLibraryImport&&b++,!i.primary&&c?(i.resolvedFileName!==c.resolvedFileName&&(o=Y.readFile(i.resolvedFileName),s=We(c.resolvedFileName),o!==s.text&&Rt(s,n,mA.Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict,[e,i.resolvedFileName,c.resolvedFileName])),a=!1):lt(i.resolvedFileName,!1,!1,i.packageId,n),i.isExternalLibraryImport&&b--):Rt(void 0,n,mA.Cannot_find_type_definition_file_for_0,[e]),a&&G.set(e,t,r))}(e,t,r,n),null!=iA&&iA.pop()}function At(e){var t=null==J?void 0:J.get(e);if(t)return t.actual;t=Et(e);return(null!=J?J:J=new Map).set(e,t),t.actual}function Et(e){var t=null==d?void 0:d.get(e);if(t)return t;if(0!==ye&&W&&!te(e)){var r=null==(t=W.resolvedLibReferences)?void 0:t.get(e);if(r)return r.resolution&&rS(V,Y)&&(t=$V(e),n=ZV(V,P,e),tS(Y,r.resolution.resolvedModule?r.resolution.resolvedModule.packageId?mA.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:mA.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:mA.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved,t,fA(n,P),null==(n=r.resolution.resolvedModule)?void 0:n.resolvedFileName,(null==(n=r.resolution.resolvedModule)?void 0:n.packageId)&&Vu(r.resolution.resolvedModule.packageId))),(null!=d?d:d=new Map).set(e,r),r}var n=$V(e),r=ZV(V,P,e);null!=iA&&iA.push(iA.Phase.Program,"resolveLibrary",{resolveFrom:r}),nA("beforeResolveLibrary");r=ee(n,r,V,e);nA("afterResolveLibrary"),aA("ResolveLibrary","beforeResolveLibrary","afterResolveLibrary"),null!=iA&&iA.pop();r={resolution:r,actual:r.resolvedModule?r.resolvedModule.resolvedFileName:dA(E,e)};return(null!=d?d:d=new Map).set(e,r),r}function Ft(a){KN(a.libReferenceDirectives,function(e,t){var r=eq(e),n=r.libName,e=r.libFileName;e?it(At(e),!0,!0,{kind:7,file:a.path,index:t}):(e=(r=VD(ur(QD(n,"lib."),".d.ts"),Wb,ir))?mA.Cannot_find_lib_definition_for_0_Did_you_mean_1:mA.Cannot_find_lib_definition_for_0,n=r?[n,r]:[n],(R=R||[]).push({kind:0,reason:{kind:7,file:a.path,index:t},diagnostic:e,args:n}))})}function Pt(e){return Y.getCanonicalFileName(e)}function It(e){var t;if(ut(e),e.imports.length||e.moduleAugmentations.length){var r=mq(e),n=Me(r,e);rA.assert(n.length===r.length);for(var a=(!fe||null==(t=Fe(e))?void 0:t.commandLine.options)||V,i=0;i<r.length;i++){var o,s,c=n[i].resolvedModule,u=r[i].text,_=VV(e,r[i]);Ru(e,u,n[i],_),s=e,o=u,u=n[i],_=_,Y.resolveModuleNameLiterals||!Y.resolveModuleNames?De(u):Q&&!kA(o)&&(u=lA(fA(s.originalFileName,P)),s=Fe(s),(s=Q.getFromNonRelativeNameCache(o,_,u,s))&&De(s)),c&&(o=c.isExternalLibraryImport,_=!bM(c.extension),u=o&&_,s=c.resolvedFileName,o&&b++,u=u&&x<b,_=s&&!pq(a,c,e)&&!a.noResolve&&i<e.imports.length&&!u&&!(_&&!Rp(a))&&(cI(e.imports[i])||!(16777216&e.imports[i].flags)),u?k.set(e.path,!0):_&&pt(s,!1,!1,{kind:3,file:e.path,index:i},c.packageId),o&&b--)}}else e.resolvedModules=void 0}function Ot(e){ae=ae||new Map;var t,r=fq(e),n=Oe(r),e=ae.get(n);if(void 0!==e)return e||void 0;if(Y.getParsedCommandLine){if(!(t=Y.getParsedCommandLine(r)))return vt(void 0,n,void 0),void ae.set(n,!1);a=rA.checkDefined(t.options.configFile),rA.assert(!a.path||a.path===n),vt(a,n,void 0)}else{e=fA(lA(r),P);if(vt(a=Y.getSourceFile(r,100),n,void 0),void 0===a)return void ae.set(n,!1);t=yT(a,N,e,void 0,r)}a.fileName=r,a.path=n,a.resolvedPath=n,a.originalFileName=r;var a={commandLine:t,sourceFile:a};return ae.set(n,a),t.projectReferences&&(a.references=t.projectReferences.map(Ot)),a}function Lt(n,a,i,e){var t=new _r(n),r=new _r(a),o=new _r(y||er),s=function(){var e=V.ignoreDeprecations;if(e){if("5.0"===e)return new _r(e);v()}return _r.zero}(),c=!(1===r.compareTo(o)),t=!c&&-1===s.compareTo(t);(c||t)&&e(function(e,t,r){c?void 0===t?i(e,t,r,mA.Option_0_has_been_removed_Please_remove_it_from_your_configuration,e):i(e,t,r,mA.Option_0_1_has_been_removed_Please_remove_it_from_your_configuration,e,t):void 0===t?i(e,t,r,mA.Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprecations_Colon_2_to_silence_this_error,e,a,n):i(e,t,r,mA.Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDeprecations_Colon_3_to_silence_this_error,e,t,a,n)})}function Mt(e,t,r,n){var a,i,o=tq(t)?t:void 0;e&&null!=(c=K.get(e.path))&&c.forEach(u),t&&u(t),o&&1===(null==a?void 0:a.length)&&(a=void 0);var s=o&&nq(He,o),c=a&&$L(a,mA.The_file_is_in_the_program_because_Colon),e=e&&zW(e),n=$L.apply(void 0,__spreadArray([e?c?__spreadArray([c],__read(e),!1):e:c,r],__read(n||WN),!1));return s&&rq(s)?I_(s.file,s.pos,s.end-s.pos,n,i):xp(n,i);function u(e){(a=a||[]).push(qW(Ce,e)),!o&&tq(e)?o=e:o!==e&&(i=vD(i,function(e){if(tq(e)){var t=nq(He,e),r=void 0;switch(e.kind){case 3:r=mA.File_is_included_via_import_here;break;case 4:r=mA.File_is_included_via_reference_here;break;case 5:r=mA.File_is_included_via_type_library_reference_here;break;case 7:r=mA.File_is_included_via_library_reference_here;break;default:rA.assertNever(e)}return rq(t)?QL(t.file,t.pos,t.end-t.pos,r):void 0}if(!V.configFile)return;var n,a;switch(e.kind){case 0:if(!V.configFile.configFileSpecs)return;var i=fA(U[e.index],P),o=UW(Ce,i);if(o){n=el(V.configFile,"files",o),a=mA.File_is_matched_by_files_list_specified_here;break}var s=VW(Ce,i);if(!s||!jD(s))return;n=el(V.configFile,"include",s),a=mA.File_is_matched_by_include_pattern_specified_here;break;case 1:case 2:var c=rA.checkDefined(null==ne?void 0:ne[e.index]),i=YV(q,ne,function(e,t,r){return e===c?{sourceFile:(null==t?void 0:t.sourceFile)||V.configFile,index:r}:void 0});if(!i)return;var s=i.sourceFile,u=i.index,i=tl(s,"references",function(e){return rj(e.initializer)?e.initializer:void 0});return i&&i.elements.length>u?F_(s,i.elements[u],2===e.kind?mA.File_is_output_from_referenced_project_specified_here:mA.File_is_source_from_referenced_project_specified_here):void 0;case 8:if(!V.types)return;n=Vt("types",e.typeReference),a=mA.File_is_entry_point_of_type_library_specified_here;break;case 6:if(void 0!==e.index){n=Vt("lib",V.lib[e.index]),a=mA.File_is_library_specified_here;break}u=hF(Xb.type,function(e,t){return e===rM(V)?t:void 0});n=u?function(e,t){return zt(e,function(e){return hR(e.initializer)&&e.initializer.text===t?e.initializer:void 0})}("target",u):void 0,a=mA.File_is_default_library_for_target_specified_here;break;default:rA.assertNever(e)}return n&&F_(V.configFile,n,a)}(e))),e===t&&(t=void 0)}}function Rt(e,t,r,n){(R=R||[]).push({kind:1,file:e&&e.path,fileProcessingReason:t,diagnostic:r,args:n})}function jt(e,t,r){F.add(Mt(e,void 0,t,r))}function Bt(t,r,n){for(var a=[],e=3;e<arguments.length;e++)a[e-3]=arguments[e];var i=!0;Ut(function(e){nj(e.initializer)&&Y_(e.initializer,t,function(e){e=e.initializer;rj(e)&&e.elements.length>r&&(F.add(F_.apply(void 0,__spreadArray([V.configFile,e.elements[r],n],__read(a),!1))),i=!1)})}),i&&F.add(ZL.apply(void 0,__spreadArray([n],__read(a),!1)))}function Jt(t,r,n){for(var a=[],e=3;e<arguments.length;e++)a[e-3]=arguments[e];var i=!0;Ut(function(e){nj(e.initializer)&&Xt.apply(void 0,__spreadArray([e.initializer,t,r,void 0,n],__read(a),!1))&&(i=!1)}),i&&F.add(ZL.apply(void 0,__spreadArray([n],__read(a),!1)))}function zt(e,t){return Y_(Gt(),e,t)}function Ut(e){return zt("paths",e)}function Vt(e,t){var r=Gt();return r&&Z_(r,e,t)}function qt(e,t,r,n){Kt(!0,t,r,e,t,r,n)}function Wt(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];Kt.apply(void 0,__spreadArray([!1,e,void 0,t],__read(r),!1))}function Ht(e,t,r){for(var n=[],a=3;a<arguments.length;a++)n[a-3]=arguments[a];var i=tl(e||V.configFile,"references",function(e){return rj(e.initializer)?e.initializer:void 0});i&&i.elements.length>t?F.add(F_.apply(void 0,__spreadArray([e||V.configFile,i.elements[t],r],__read(n),!1))):F.add(ZL.apply(void 0,__spreadArray([r],__read(n),!1)))}function Kt(e,t,r,n){for(var a=[],i=4;i<arguments.length;i++)a[i-4]=arguments[i];var o=Gt();o&&Xt.apply(void 0,__spreadArray([o,e,t,r,n],__read(a),!1))||("messageText"in n?F.add(xp(n)):F.add(ZL.apply(void 0,__spreadArray([n],__read(a),!1))))}function Gt(){return void 0===T&&(T=Y_($_(V.configFile),"compilerOptions",function(e){return nj(e.initializer)?e.initializer:void 0})||!1),T||void 0}function Xt(e,t,r,n,a){for(var i=[],o=5;o<arguments.length;o++)i[o-5]=arguments[o];var s=!1;return Y_(e,r,function(e){"messageText"in a?F.add(nP(V.configFile,t?e.name:e.initializer,a)):F.add(F_.apply(void 0,__spreadArray([V.configFile,t?e.name:e.initializer,a],__read(i),!1))),s=!0},n),s}function Qt(e,t){var r=Gt();r?Xt(r,!0,e,void 0,mA.Option_0_is_redundant_and_cannot_be_specified_with_option_1,e,t):qt(mA.Option_0_is_redundant_and_cannot_be_specified_with_option_1,e,t)}function Yt(e,t){L.set(Oe(e),!0),F.add(t)}function Zt(e,t){return 0===pA(e,t,P,!Y.useCaseSensitiveFileNames())}function $t(){return Y.getSymlinkCache?Y.getSymlinkCache():(c=c||Vp(P,Pt),M&&B&&!c.hasProcessedResolutions()&&c.setSymlinksFromResolutions(M,B),c)}}function uq(e,t,r,n){var a=e.getCompilerOptions();if(a.noEmit)return e.getSemanticDiagnostics(t,n),t||GO(a)?bV:e.emitBuildInfo(r,n);if(a.noEmitOnError){var i,o=__spreadArray(__spreadArray(__spreadArray(__spreadArray([],__read(e.getOptionsDiagnostics(n)),!1),__read(e.getSyntacticDiagnostics(t,n)),!1),__read(e.getGlobalDiagnostics(n)),!1),__read(e.getSemanticDiagnostics(t,n)),!1);if(0===o.length&&dM(e.getCompilerOptions())&&(o=e.getDeclarationDiagnostics(void 0,n)),o.length)return t||GO(a)||((i=e.emitBuildInfo(r,n)).diagnostics&&(o=__spreadArray(__spreadArray([],__read(o),!1),__read(i.diagnostics),!1)),i=i.emittedFiles),{diagnostics:o,sourceMaps:void 0,emittedFiles:i,emitSkipped:!0}}}function _q(e,t){return nD(e,function(e){return!e.skippedOn||!t[e.skippedOn]})}function lq(t,i){return void 0===i&&(i=t),{fileExists:function(e){return i.fileExists(e)},readDirectory:function(e,t,r,n,a){return rA.assertIsDefined(i.readDirectory,"'CompilerHost.readDirectory' must be implemented to correctly process 'projectReferences'"),i.readDirectory(e,t,r,n,a)},readFile:function(e){return i.readFile(e)},directoryExists:LD(i,i.directoryExists),getDirectories:LD(i,i.getDirectories),realpath:LD(i,i.realpath),useCaseSensitiveFileNames:t.useCaseSensitiveFileNames(),getCurrentDirectory:function(){return t.getCurrentDirectory()},onUnRecoverableConfigFileDiagnostic:t.onUnRecoverableConfigFileDiagnostic||se,trace:t.trace?function(e){return t.trace(e)}:void 0}}function dq(e,t,r,n){if(!e)return WN;for(var a,i=0;i<e.length;i++){var o=e[i],s=t(o,i);o.prepend&&s&&s.options&&GO(s.options)&&(s=hy(r,(o=SU(s.options,!0)).jsFilePath,o.sourceMapFilePath,o.declarationFilePath,o.declarationMapPath,o.buildInfoPath,n,s.options),(a=a||[]).push(s))}return a||WN}function fq(e){return fH(e.path)}function pq(e,t,r){var t=t.extension,n=r.isDeclarationFile;switch(t){case".ts":case".d.ts":case".mts":case".d.mts":case".cts":case".d.cts":return;case".tsx":return a();case".jsx":return a()||i();case".js":case".mjs":case".cjs":return i();case".json":return lM(e)?void 0:mA.Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used;default:return n||e.allowArbitraryExtensions?void 0:mA.Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set}function a(){return e.jsx?void 0:mA.Module_0_was_resolved_to_1_but_jsx_is_not_set}function i(){return Rp(e)||!pM(e,"noImplicitAny")?void 0:mA.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type}}function mq(e){var t,r,n=e.imports,a=e.moduleAugmentations,i=n.map(function(e){return e});try{for(var o=__values(a),s=o.next();!s.done;s=o.next()){var c=s.value;11===c.kind&&i.push(c)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i}function yq(e,t){var r,n,a=e.imports,i=e.moduleAugmentations;if(t<a.length)return a[t];var o=a.length;try{for(var s=__values(i),c=s.next();!c.done;c=s.next()){var u=c.value;if(11===u.kind){if(t===o)return u;o++}}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}rA.fail("should never ask for module name at index higher than possible module name")}var vq,gq=e({"src/compiler/program.ts":function(){MK(),An(),uV=function(e){return e.Grey="[90m",e.Red="[91m",e.Yellow="[93m",e.Blue="[94m",e.Cyan="[96m",e}(uV||{}),_V="[7m",lV=" ",dV="[0m",fV="...",pV="  ",mV="    ",yV={resolvedModule:void 0,resolvedTypeReferenceDirective:void 0},vV={getName:WV,getMode:function(e,t){return VV(t,e)}},gV={getName:KV,getMode:function(e,t){return JV(e,null==t?void 0:t.impliedNodeFormat)}},hV="__inferred type names__.ts",xV=new Set([mA.Cannot_redeclare_block_scoped_variable_0.code,mA.A_module_cannot_have_multiple_default_exports.code,mA.Another_export_default_is_here.code,mA.The_first_export_default_is_here.code,mA.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module.code,mA.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode.code,mA.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here.code,mA.constructor_is_a_reserved_word.code,mA.delete_cannot_be_called_on_an_identifier_in_strict_mode.code,mA.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,mA.Invalid_use_of_0_Modules_are_automatically_in_strict_mode.code,mA.Invalid_use_of_0_in_strict_mode.code,mA.A_label_is_not_allowed_here.code,mA.with_statements_are_not_allowed_in_strict_mode.code,mA.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement.code,mA.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement.code,mA.A_class_declaration_without_the_default_modifier_must_have_a_name.code,mA.A_class_member_cannot_have_the_0_keyword.code,mA.A_comma_expression_is_not_allowed_in_a_computed_property_name.code,mA.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement.code,mA.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement.code,mA.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement.code,mA.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement.code,mA.A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration.code,mA.A_definite_assignment_assertion_is_not_permitted_in_this_context.code,mA.A_destructuring_declaration_must_have_an_initializer.code,mA.A_get_accessor_cannot_have_parameters.code,mA.A_rest_element_cannot_contain_a_binding_pattern.code,mA.A_rest_element_cannot_have_a_property_name.code,mA.A_rest_element_cannot_have_an_initializer.code,mA.A_rest_element_must_be_last_in_a_destructuring_pattern.code,mA.A_rest_parameter_cannot_have_an_initializer.code,mA.A_rest_parameter_must_be_last_in_a_parameter_list.code,mA.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma.code,mA.A_return_statement_cannot_be_used_inside_a_class_static_block.code,mA.A_set_accessor_cannot_have_rest_parameter.code,mA.A_set_accessor_must_have_exactly_one_parameter.code,mA.An_export_declaration_can_only_be_used_at_the_top_level_of_a_module.code,mA.An_export_declaration_cannot_have_modifiers.code,mA.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module.code,mA.An_import_declaration_cannot_have_modifiers.code,mA.An_object_member_cannot_be_declared_optional.code,mA.Argument_of_dynamic_import_cannot_be_spread_element.code,mA.Cannot_assign_to_private_method_0_Private_methods_are_not_writable.code,mA.Cannot_redeclare_identifier_0_in_catch_clause.code,mA.Catch_clause_variable_cannot_have_an_initializer.code,mA.Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator.code,mA.Classes_can_only_extend_a_single_class.code,mA.Classes_may_not_have_a_field_named_constructor.code,mA.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,mA.Duplicate_label_0.code,mA.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments.code,mA.for_await_loops_cannot_be_used_inside_a_class_static_block.code,mA.JSX_attributes_must_only_be_assigned_a_non_empty_expression.code,mA.JSX_elements_cannot_have_multiple_attributes_with_the_same_name.code,mA.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array.code,mA.JSX_property_access_expressions_cannot_include_JSX_namespace_names.code,mA.Jump_target_cannot_cross_function_boundary.code,mA.Line_terminator_not_permitted_before_arrow.code,mA.Modifiers_cannot_appear_here.code,mA.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement.code,mA.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement.code,mA.Private_identifiers_are_not_allowed_outside_class_bodies.code,mA.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,mA.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier.code,mA.Tagged_template_expressions_are_not_permitted_in_an_optional_chain.code,mA.The_left_hand_side_of_a_for_of_statement_may_not_be_async.code,mA.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer.code,mA.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer.code,mA.Trailing_comma_not_allowed.code,mA.Variable_declaration_list_cannot_be_empty.code,mA._0_and_1_operations_cannot_be_mixed_without_parentheses.code,mA._0_expected.code,mA._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2.code,mA._0_list_cannot_be_empty.code,mA._0_modifier_already_seen.code,mA._0_modifier_cannot_appear_on_a_constructor_declaration.code,mA._0_modifier_cannot_appear_on_a_module_or_namespace_element.code,mA._0_modifier_cannot_appear_on_a_parameter.code,mA._0_modifier_cannot_appear_on_class_elements_of_this_kind.code,mA._0_modifier_cannot_be_used_here.code,mA._0_modifier_must_precede_1_modifier.code,mA._0_declarations_can_only_be_declared_inside_a_block.code,mA._0_declarations_must_be_initialized.code,mA.extends_clause_already_seen.code,mA.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations.code,mA.Class_constructor_may_not_be_a_generator.code,mA.Class_constructor_may_not_be_an_accessor.code,mA.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,mA.await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,mA.Private_field_0_must_be_declared_in_an_enclosing_class.code,mA.This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value.code]),bV={diagnostics:WN,sourceMaps:void 0,emittedFiles:void 0,emitSkipped:!0}}}),hq=e({"src/compiler/builderStatePublic.ts":function(){}});function xq(e,t,r,n,a,i){var o=[],a=e.emit(t,function(e,t,r){o.push({name:e,writeByteOrderMark:r,text:t})},n,r,a,i),i=a.emitSkipped,a=a.diagnostics;return{outputFiles:o,emitSkipped:i,diagnostics:a}}var bq,kq,Tq=e({"src/compiler/builderState.ts":function(){function h(){return r=new Map,o=new Map,n=void 0,e={getKeys:function(e){return o.get(e)},getValues:function(e){return r.get(e)},keys:function(){return r.keys()},deleteKey:function(t){(n=n||new Set).add(t);var e=r.get(t);return!!e&&(e.forEach(function(e){return s(o,e,t)}),r.delete(t),!0)},set:function(a,t){null!=n&&n.delete(a);var i=r.get(a);return r.set(a,t),null!=i&&i.forEach(function(e){t.has(e)||s(o,e,a)}),t.forEach(function(e){var t,r,n;null!=i&&i.has(e)||(r=e,n=a,(e=(t=o).get(r))||(e=new Set,t.set(r,e)),e.add(n))}),e}};var r,o,n,e}function s(e,t,r){var n=e.get(t);return!(null==n||!n.delete(r))&&(n.size||e.delete(t),!0)}function D(e){return uD(e.declarations,function(e){return null==(e=CF(e))?void 0:e.resolvedPath})}function A(e,t,r,n){return Ja(e.getProjectReferenceRedirect(t)||t,r,n)}function x(t,o,r){var n,e,a,i,s,c,u,_,l;if(o.imports&&0<o.imports.length){var d=t.getTypeChecker();try{for(var f=__values(o.imports),p=f.next();!p.done;p=f.next()){var m=p.value,m=(m=m,(m=d.getSymbolAtLocation(m))&&D(m));null!=m&&m.forEach(N)}}catch(e){n={error:e}}finally{try{p&&!p.done&&(e=f.return)&&e.call(f)}finally{if(n)throw n.error}}}var y=lA(o.resolvedPath);if(o.referencedFiles&&0<o.referencedFiles.length)try{for(var v=__values(o.referencedFiles),g=v.next();!g.done;g=v.next()){var h=g.value;N(A(t,h.fileName,y,r))}}catch(e){a={error:e}}finally{try{g&&!g.done&&(i=v.return)&&i.call(v)}finally{if(a)throw a.error}}if(o.resolvedTypeReferenceDirectiveNames&&o.resolvedTypeReferenceDirectiveNames.forEach(function(e){e=e.resolvedTypeReferenceDirective;e&&(e=e.resolvedFileName,N(A(t,e,y,r)))}),o.moduleAugmentations.length){d=t.getTypeChecker();try{for(var x=__values(o.moduleAugmentations),b=x.next();!b.done;b=x.next()){var k=b.value;hR(k)&&((k=d.getSymbolAtLocation(k))&&C(k))}}catch(e){s={error:e}}finally{try{b&&!b.done&&(c=x.return)&&c.call(x)}finally{if(s)throw s.error}}}try{for(var T=__values(t.getTypeChecker().getAmbientModules()),S=T.next();!S.done;S=T.next()){var w=S.value;w.declarations&&1<w.declarations.length&&C(w)}}catch(e){u={error:e}}finally{try{S&&!S.done&&(_=T.return)&&_.call(T)}finally{if(u)throw u.error}}return l;function C(e){var t,r;if(e.declarations)try{for(var n=__values(e.declarations),a=n.next();!a.done;a=n.next()){var i=CF(a.value);i&&i!==o&&N(i.resolvedPath)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}function N(e){(l=l||new Set).add(e)}}function b(e,t){return t&&!t.referencedMap==!e}function i(e,t,r,n,a){r=t.getSourceFileByPath(r);return r?_(e,t,r,n,a)?(e.referencedMap?function(e,t,r,n,a){if(k(r))return p(e,t,r);var i=t.getCompilerOptions();if(i&&(sM(i)||GO(i)))return[r];var o=new Map;o.set(r.resolvedPath,r);var s=f(e,r.resolvedPath);for(;0<s.length;){var c,u=s.pop();o.has(u)||(c=t.getSourceFileByPath(u),o.set(u,c),c&&_(e,t,c,n,a)&&s.push.apply(s,__spreadArray([],__read(f(e,c.resolvedPath)),!1)))}return PD(rr(o.values(),function(e){return e}))}:function(e,t,r){var n=t.getCompilerOptions();if(n&&GO(n))return[r];return p(e,t,r)})(e,t,r,n,a):[r]:WN}function u(o,s,e,c,u){o.emit(s,function(e,t,r,n,a,i){rA.assert(QB(e),"File extension for signature expected to be dts: Got:: ".concat(e)),u(Kq(o,s,t,c,i),a)},e,!0,void 0,!0)}function _(r,e,n,t,a,i){if(void 0===i&&(i=r.useFileVersionAsSignature),null!=(s=r.hasCalledUpdateShapeSignature)&&s.has(n.resolvedPath))return!1;var o,s=r.fileInfos.get(n.resolvedPath),c=s.signature;return n.isDeclarationFile||i||u(e,n,t,a,function(e,t){(o=e)!==c&&l(r,n,t[0].exportedModulesFromDeclarationEmit)}),void 0===o&&(o=n.version,r.exportedModulesMap&&o!==c&&((r.oldExportedModulesMap||(r.oldExportedModulesMap=new Map)).set(n.resolvedPath,r.exportedModulesMap.getValues(n.resolvedPath)||!1),(a=r.referencedMap?r.referencedMap.getValues(n.resolvedPath):void 0)?r.exportedModulesMap.set(n.resolvedPath,a):r.exportedModulesMap.deleteKey(n.resolvedPath))),(r.oldSignatures||(r.oldSignatures=new Map)).set(n.resolvedPath,c||!1),(r.hasCalledUpdateShapeSignature||(r.hasCalledUpdateShapeSignature=new Set)).add(n.resolvedPath),(s.signature=o)!==c}function l(e,t,r){e.exportedModulesMap&&((e.oldExportedModulesMap||(e.oldExportedModulesMap=new Map)).set(t.resolvedPath,e.exportedModulesMap.getValues(t.resolvedPath)||!1),(r=n(r))?e.exportedModulesMap.set(t.resolvedPath,r):e.exportedModulesMap.deleteKey(t.resolvedPath))}function n(e){var t;return null!=e&&e.forEach(function(e){return D(e).forEach(function(e){return(null!=t?t:t=new Set).add(e)})}),t}function d(e,t){return e.allFileNames||(t=t.getSourceFiles(),e.allFileNames=t===WN?WN:t.map(function(e){return e.fileName})),e.allFileNames}function f(e,t){t=e.referencedMap.getKeys(t);return t?PD(t.keys()):[]}function k(e){return dD(e.moduleAugmentations,function(e){return zF(e.parent)})||!_P(e)&&!lP(e)&&!function(e){var t,r;try{for(var n=__values(e.statements),a=n.next();!a.done;a=n.next())if(!jF(a.value))return}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return 1}(e)}function p(e,t,r){var n,a,i;if(e.allFilesExcludingDefaultLibraryFile)return e.allFilesExcludingDefaultLibraryFile;r&&u(r);try{for(var o=__values(t.getSourceFiles()),s=o.next();!s.done;s=o.next()){var c=s.value;c!==r&&u(c)}}catch(e){n={error:e}}finally{try{s&&!s.done&&(a=o.return)&&a.call(o)}finally{if(n)throw n.error}}return e.allFilesExcludingDefaultLibraryFile=i||WN,e.allFilesExcludingDefaultLibraryFile;function u(e){t.isSourceFileDefaultLibrary(e)||(i=i||[]).push(e)}}var e;MK(),(e=vq=vq||{}).createManyToManyPathMap=h,e.canReuseOldState=b,e.create=function(e,t,r){var n,a,i,o,s=new Map,c=e.getCompilerOptions(),u=GO(c),_=0===c.module||u?void 0:h(),l=_?h():void 0,d=b(_,t);e.getTypeChecker();try{for(var f=__values(e.getSourceFiles()),p=f.next();!p.done;p=f.next()){var m=p.value,y=rA.checkDefined(m.version,"Program intended to be used with Builder should have source files with versions set"),v=!d||null==(i=t.oldSignatures)?void 0:i.get(m.resolvedPath),g=void 0===v?!d||null==(o=t.fileInfos.get(m.resolvedPath))?void 0:o.signature:v||void 0;_&&((v=x(e,m,e.getCanonicalFileName))&&_.set(m.resolvedPath,v),!d||(v=void 0===(v=null==(v=t.oldExportedModulesMap)?void 0:v.get(m.resolvedPath))?t.exportedModulesMap.getValues(m.resolvedPath):v||void 0)&&l.set(m.resolvedPath,v)),s.set(m.resolvedPath,{version:y,signature:g,affectsGlobalScope:!u&&k(m)||void 0,impliedFormat:m.impliedNodeFormat})}}catch(e){n={error:e}}finally{try{p&&!p.done&&(a=f.return)&&a.call(f)}finally{if(n)throw n.error}}return{fileInfos:s,referencedMap:_,exportedModulesMap:l,useFileVersionAsSignature:!r&&!d}},e.releaseCache=function(e){e.allFilesExcludingDefaultLibraryFile=void 0,e.allFileNames=void 0},e.getFilesAffectedBy=function(e,t,r,n,a){return n=i(e,t,r,n,a),null!=(a=e.oldSignatures)&&a.clear(),null!=(e=e.oldExportedModulesMap)&&e.clear(),n},e.getFilesAffectedByWithOldState=i,e.updateSignatureOfFile=function(e,t,r){e.fileInfos.get(r).signature=t,(e.hasCalledUpdateShapeSignature||(e.hasCalledUpdateShapeSignature=new Set)).add(r)},e.computeDtsSignature=u,e.updateShapeSignature=_,e.updateExportedModules=l,e.getExportedModules=n,e.getAllDependencies=function(e,r,t){var n,a;if(GO(r.getCompilerOptions()))return d(e,r);if(!e.referencedMap||k(t))return d(e,r);for(var i=new Set,o=[t.resolvedPath];o.length;){var s=o.pop();if(!i.has(s)){i.add(s);var c=e.referencedMap.getValues(s);if(c)try{for(var u=(n=void 0,__values(c.keys())),_=u.next();!_.done;_=u.next()){var l=_.value;o.push(l)}}catch(e){n={error:e}}finally{try{_&&!_.done&&(a=u.return)&&a.call(u)}finally{if(n)throw n.error}}}}return PD(rr(i.keys(),function(e){var t;return null!==(t=null==(t=r.getSourceFileByPath(e))?void 0:t.fileName)&&void 0!==t?t:e}))},e.getReferencedByPaths=f,e.getAllFilesExcludingDefaultLibraryFile=p}});function Sq(e){var t=1;return e.sourceMap&&(t|=2),e.inlineSourceMap&&(t|=4),dM(e)&&(t|=8),e.declarationMap&&(t|=16),e.emitDeclarationOnly&&(t&=24),t}function wq(e,t){var r=t&&(ae(t)?t:Sq(t)),t=ae(e)?e:Sq(e);if(r===t)return 0;if(!r||!t)return t;e=r^t,r=7&e?7&t:0;return 24&e&&(r|=24&t),r}function Cq(l,d){var e,t,f=vq.create(l,d,!1),p=(f.program=l).getCompilerOptions(),r=GO(f.compilerOptions=p);r?p.composite&&null!=d&&d.outSignature&&r===GO(null==d?void 0:d.compilerOptions)&&(f.outSignature=d.outSignature&&Dq(p,d.compilerOptions,d.outSignature)):f.semanticDiagnosticsPerFile=new Map,f.changedFilesSet=new Set,f.latestChangedDtsFile=!p.composite||null==d?void 0:d.latestChangedDtsFile;var m=vq.canReuseOldState(f.referencedMap,d),n=m?d.compilerOptions:void 0,y=m&&d.semanticDiagnosticsPerFile&&!!f.semanticDiagnosticsPerFile&&!jp(p,n),v=p.composite&&(null==d?void 0:d.emitSignatures)&&!r&&!Jp(p,d.compilerOptions);m?(null!=(e=d.changedFilesSet)&&e.forEach(function(e){return f.changedFilesSet.add(e)}),!r&&null!=(t=d.affectedFilesPendingEmit)&&t.size&&(f.affectedFilesPendingEmit=new Map(d.affectedFilesPendingEmit),f.seenAffectedFiles=new Set),f.programEmitPending=d.programEmitPending):f.buildInfoEmitPending=!0;var a,g=f.referencedMap,h=m?d.referencedMap:void 0,x=y&&!p.skipLibCheck==!n.skipLibCheck,b=x&&!p.skipDefaultLibCheck==!n.skipDefaultLibCheck;return f.fileInfos.forEach(function(e,t){var r,n,a,i,o,s;if(!m||!(r=d.fileInfos.get(t))||r.version!==e.version||r.impliedFormat!==e.impliedFormat||(e=c=g&&g.getValues(t),s=h&&h.getValues(t),e!==s&&(void 0===e||void 0===s||e.size!==s.size||xF(e,function(e){return!s.has(e)})))||c&&xF(c,function(e){return!f.fileInfos.has(e)&&d.fileInfos.has(e)}))Nq(f,t);else if(y){var c=l.getSourceFileByPath(t);if(c.isDeclarationFile&&!x)return;if(c.hasNoDefaultLib&&!b)return;var u=d.semanticDiagnosticsPerFile.get(t);u&&(f.semanticDiagnosticsPerFile.set(t,d.hasReusableDiagnostic?(i=l,(c=u).length?c.map(function(e){var t=Fq(e,i,_);t.reportsUnnecessary=e.reportsUnnecessary,t.reportsDeprecated=e.reportDeprecated,t.source=e.source,t.skippedOn=e.skippedOn;e=e.relatedInformation;return t.relatedInformation=e?e.length?e.map(function(e){return Fq(e,i,_)}):[]:void 0,t}):WN):(a=l,(n=u).length?oD(n,function(e){if(jD(e.messageText))return e;var t=Aq(e.messageText,e.file,a,function(e){var t;return null==(t=e.repopulateInfo)?void 0:t.call(e)});return t===e.messageText?e:__assign(__assign({},e),{messageText:t})}):n)),f.semanticDiagnosticsFromOldState||(f.semanticDiagnosticsFromOldState=new Set),f.semanticDiagnosticsFromOldState.add(t))}function _(e){return null!=o||(o=lA(fA(TU(i.getCompilerOptions()),i.getCurrentDirectory()))),Ja(e,o,i.getCanonicalFileName)}!v||(u=d.emitSignatures.get(t))&&(null!==(n=f.emitSignatures)&&void 0!==n?n:f.emitSignatures=new Map).set(t,Dq(p,d.compilerOptions,u))}),m&&hF(d.fileInfos,function(e,t){return!f.fileInfos.has(t)&&(!(!r&&!e.affectsGlobalScope)||!(f.buildInfoEmitPending=!0))})?vq.getAllFilesExcludingDefaultLibraryFile(f,l,void 0).forEach(function(e){return Nq(f,e.resolvedPath)}):!n||0!==(a=Bp(p,n)?Sq(p):wq(p,n))&&(r?f.programEmitPending=f.programEmitPending?f.programEmitPending|a:a:(l.getSourceFiles().forEach(function(e){f.changedFilesSet.has(e.resolvedPath)||Qq(f,e.resolvedPath,a)}),rA.assert(!f.seenAffectedFiles||!f.seenAffectedFiles.size),f.seenAffectedFiles=f.seenAffectedFiles||new Set,f.buildInfoEmitPending=!0)),r&&!f.changedFilesSet.size&&(m&&(f.bundle=d.bundle),dD(l.getProjectReferences(),function(e){return!!e.prepend})&&(f.programEmitPending=Sq(p))),f}function Nq(e,t){e.changedFilesSet.add(t),e.buildInfoEmitPending=!0,e.programEmitPending=void 0}function Dq(e,t,r){return!!e.declarationMap==!!t.declarationMap?r:jD(r)?[r]:r[0]}function Aq(e,t,r,n){var a=n(e);if(a)return __assign(__assign({},SF(t,r,a.moduleReference,a.mode,a.packageName||a.moduleReference)),{next:Eq(e.next,t,r,n)});n=Eq(e.next,t,r,n);return n===e.next?e:__assign(__assign({},e),{next:n})}function Eq(e,t,r,n){return oD(e,function(e){return Aq(e,t,r,n)})}function Fq(e,t,r){var n=e.file,n=n?t.getSourceFileByPath(r(n)):void 0;return __assign(__assign({},e),{file:n,messageText:jD(e.messageText)?e.messageText:Aq(e.messageText,n,t,function(e){return e.info})})}function Pq(e,t){rA.assert(!t||!e.affectedFiles||e.affectedFiles[e.affectedFilesIndex-1]!==t||!e.semanticDiagnosticsPerFile.has(t.resolvedPath))}function Iq(e,t,r){for(var n,a,i,o;;){var s=e.affectedFiles;if(s){for(var c=e.seenAffectedFiles,u=e.affectedFilesIndex;u<s.length;){var _=s[u];if(!c.has(_.resolvedPath))return e.affectedFilesIndex=u,Qq(e,_.resolvedPath,Sq(e.compilerOptions)),i=t,o=r,Mq(n=e,(a=_).resolvedPath),n.allFilesExcludingDefaultLibraryFile===n.affectedFiles?(Oq(n),vq.updateShapeSignature(n,rA.checkDefined(n.program),a,i,o)):n.compilerOptions.assumeChangesOnlyAffectDirectDependencies||function(t,e,r,n){if(t.exportedModulesMap&&t.changedFilesSet.has(e.resolvedPath)&&Rq(t,e.resolvedPath)){if(sM(t.compilerOptions)){var a=new Map;a.set(e.resolvedPath,!0);for(var i=vq.getReferencedByPaths(t,e.resolvedPath);0<i.length;){var o=i.pop();if(!a.has(o)){if(a.set(o,!0),jq(t,o,r,n))return;Lq(t,o,r,n),Rq(t,o)&&(o=rA.checkDefined(t.program).getSourceFileByPath(o),i.push.apply(i,__spreadArray([],__read(vq.getReferencedByPaths(t,o.resolvedPath)),!1)))}}}var s=new Set;null!=(e=t.exportedModulesMap.getKeys(e.resolvedPath))&&e.forEach(function(e){if(jq(t,e,r,n))return!0;e=t.referencedMap.getKeys(e);return e&&xF(e,function(e){return function t(r,e,n,a,i){var o;if(!lD(n,e))return;if(jq(r,e,a,i))return!0;Lq(r,e,a,i);null!=(o=r.exportedModulesMap.getKeys(e))&&o.forEach(function(e){return t(r,e,n,a,i)});null!=(e=r.referencedMap.getKeys(e))&&e.forEach(function(e){return!n.has(e)&&Lq(r,e,a,i)});return}(t,e,s,r,n)})})}}(n,a,i,o),_;u++}e.changedFilesSet.delete(e.currentChangedFilePath),e.currentChangedFilePath=void 0,null!=(l=e.oldSignatures)&&l.clear(),null!=(d=e.oldExportedModulesMap)&&d.clear(),e.affectedFiles=void 0}var l=e.changedFilesSet.keys().next();if(l.done)return;var d=rA.checkDefined(e.program);if(GO(d.getCompilerOptions()))return rA.assert(!e.semanticDiagnosticsPerFile),d;e.affectedFiles=vq.getFilesAffectedByWithOldState(e,d,l.value,t,r),e.currentChangedFilePath=l.value,e.affectedFilesIndex=0,e.seenAffectedFiles||(e.seenAffectedFiles=new Set)}}function Oq(t){var r,n;t.cleanedDiagnosticsOfLibFiles||(t.cleanedDiagnosticsOfLibFiles=!0,r=rA.checkDefined(t.program),n=r.getCompilerOptions(),KN(r.getSourceFiles(),function(e){return r.isSourceFileDefaultLibrary(e)&&!DM(e,n,r)&&Mq(t,e.resolvedPath)}))}function Lq(e,t,r,n){var a,i;Mq(e,t),e.changedFilesSet.has(t)||(i=(a=rA.checkDefined(e.program)).getSourceFileByPath(t))&&(vq.updateShapeSignature(e,a,i,r,n,!0),dM(e.compilerOptions)&&Qq(e,t,e.compilerOptions.declarationMap?24:8))}function Mq(e,t){return!e.semanticDiagnosticsFromOldState||(e.semanticDiagnosticsFromOldState.delete(t),e.semanticDiagnosticsPerFile.delete(t),!e.semanticDiagnosticsFromOldState.size)}function Rq(e,t){var r=rA.checkDefined(e.oldSignatures).get(t)||void 0;return rA.checkDefined(e.fileInfos.get(t)).signature!==r}function jq(t,e,r,n){return null!=(e=t.fileInfos.get(e))&&e.affectsGlobalScope&&(vq.getAllFilesExcludingDefaultLibraryFile(t,t.program,void 0).forEach(function(e){return Lq(t,e.resolvedPath,r,n)}),Oq(t),1)}function Bq(e,t,r){return fD(function(e,t,r){var n=t.resolvedPath;if(e.semanticDiagnosticsPerFile){var a=e.semanticDiagnosticsPerFile.get(n);if(a)return _q(a,e.compilerOptions)}r=rA.checkDefined(e.program).getBindAndCheckDiagnostics(t,r);e.semanticDiagnosticsPerFile&&e.semanticDiagnosticsPerFile.set(n,r);return _q(r,e.compilerOptions)}(e,t,r),rA.checkDefined(e.program).getProgramDiagnostics(t))}function Jq(e){return!!GO(e.options||{})}function zq(o,e){var t,r,n,a,i,s,c,u,_,l,d=rA.checkDefined(o.program).getCurrentDirectory(),f=lA(fA(TU(o.compilerOptions),d)),p=o.latestChangedDtsFile?U(o.latestChangedDtsFile):void 0,m=[],y=new Map,v=[];if(GO(o.compilerOptions)){var g=PD(o.fileInfos.entries(),function(e){var t=__read(e,2),e=t[0],t=t[1];return H(e,q(e)),t.impliedFormat?{version:t.version,impliedFormat:t.impliedFormat,signature:void 0,affectsGlobalScope:void 0}:t.version}),h={fileNames:m,fileInfos:g,root:v,options:K(o.compilerOptions),outSignature:o.outSignature,latestChangedDtsFile:p,pendingEmit:o.programEmitPending?o.programEmitPending!==Sq(o.compilerOptions)&&o.programEmitPending:void 0},x=e.js,b=e.dts,k=e.commonSourceDirectory,g=e.sourceFiles;return o.bundle=e={commonSourceDirectory:k,sourceFiles:g,js:x||(o.compilerOptions.emitDeclarationOnly||null==(c=o.bundle)?void 0:c.js),dts:b||(!dM(o.compilerOptions)||null==(D=o.bundle)?void 0:D.dts)},JU(h,e)}var T,S,w,C,N,D=PD(o.fileInfos.entries(),function(e){var t=__read(e,2),r=t[0],n=t[1],a=q(r);H(r,a),rA.assert(m[a-1]===V(r));var i,e=null==(i=o.oldSignatures)?void 0:i.get(r),t=void 0!==e?e||void 0:n.signature;return o.compilerOptions.composite&&(lP(i=o.program.getSourceFileByPath(r))||!Ed(i,o.program)||(r=null==(i=o.emitSignatures)?void 0:i.get(r))!==t&&(l=l||[]).push(void 0===r?a:[a,jD(r)||r[0]!==t?r:WN])),n.version===t?n.affectsGlobalScope||n.impliedFormat?{version:n.version,signature:void 0,affectsGlobalScope:n.affectsGlobalScope,impliedFormat:n.impliedFormat}:n.version:void 0!==t?void 0===e?n:{version:n.version,signature:t,affectsGlobalScope:n.affectsGlobalScope,impliedFormat:n.impliedFormat}:{version:n.version,signature:!1,affectsGlobalScope:n.affectsGlobalScope,impliedFormat:n.impliedFormat}});if(o.referencedMap&&(T=PD(o.referencedMap.keys()).sort(ge).map(function(e){return[q(e),W(o.referencedMap.getValues(e))]})),o.exportedModulesMap&&(S=uD(PD(o.exportedModulesMap.keys()).sort(ge),function(e){var t=null==(t=o.oldExportedModulesMap)?void 0:t.get(e);return void 0===t?[q(e),W(o.exportedModulesMap.getValues(e))]:t?[q(e),W(t)]:void 0})),o.semanticDiagnosticsPerFile)try{for(var A=__values(PD(o.semanticDiagnosticsPerFile.keys()).sort(ge)),E=A.next();!E.done;E=A.next()){var F=E.value,P=o.semanticDiagnosticsPerFile.get(F);(w=w||[]).push(P.length?[q(F),function(e,r){return rA.assert(!!e.length),e.map(function(e){var t=Uq(e,r);t.reportsUnnecessary=e.reportsUnnecessary,t.reportDeprecated=e.reportsDeprecated,t.source=e.source,t.skippedOn=e.skippedOn;e=e.relatedInformation;return t.relatedInformation=e?e.length?e.map(function(e){return Uq(e,r)}):[]:void 0,t})}(P,V)]:q(F))}}catch(e){t={error:e}}finally{try{E&&!E.done&&(r=A.return)&&r.call(A)}finally{if(t)throw t.error}}if(null!=(h=o.affectedFilesPendingEmit)&&h.size){var I=Sq(o.compilerOptions),O=new Set;try{for(var L,M,R=__values(PD(o.affectedFilesPendingEmit.keys()).sort(ge)),j=R.next();!j.done;j=R.next())!lD(O,z=j.value)||(M=o.program.getSourceFileByPath(z))&&Ed(M,o.program)&&(L=q(z),M=o.affectedFilesPendingEmit.get(z),(C=C||[]).push(M===I?L:8===M?[L]:[L,M]))}catch(e){n={error:e}}finally{try{j&&!j.done&&(a=R.return)&&a.call(R)}finally{if(n)throw n.error}}}if(o.changedFilesSet.size)try{for(var B=__values(PD(o.changedFilesSet.keys()).sort(ge)),J=B.next();!J.done;J=B.next()){var z=J.value;(N=N||[]).push(q(z))}}catch(e){i={error:e}}finally{try{J&&!J.done&&(s=B.return)&&s.call(B)}finally{if(i)throw i.error}}return JU({fileNames:m,fileInfos:D,root:v,options:K(o.compilerOptions),fileIdsList:u,referencedMap:T,exportedModulesMap:S,semanticDiagnosticsPerFile:w,affectedFilesPendingEmit:C,changeFileSet:N,emitSignatures:l,latestChangedDtsFile:p},e);function U(e){return V(fA(e,d))}function V(e){return Va(Ya(f,e,o.program.getCanonicalFileName))}function q(e){var t=y.get(e);return void 0===t&&(m.push(V(e)),y.set(e,t=m.length)),t}function W(e){var t=PD(e.keys(),q).sort(UD),r=t.join(),e=null==_?void 0:_.get(r);return void 0===e&&((u=u||[]).push(t),(_=_||new Map).set(r,e=u.length)),e}function H(e,t){var r=o.program.getSourceFile(e);if(o.program.getFileIncludeReasons().get(r.path).some(function(e){return 0===e.kind})){if(!v.length)return v.push(t);e=v[v.length-1],r=RD(e);if(r&&e[1]===t-1)return e[1]=t;if(r||1===v.length||e!==t-1)return v.push(t);r=v[v.length-2];return ae(r)&&r===e-1?(v[v.length-2]=[r,t],v.length=v.length-1):v.push(t)}}function K(e){var t,r,n,a=Fk().optionsNameMap;try{for(var i=__values(G(e).sort(ge)),o=i.next();!o.done;o=i.next()){var s=o.value,c=a.get(s.toLowerCase());null!=c&&c.affectsBuildInfo&&((n=n||{})[s]=function(e,t,r){if(e)if(rA.assert("listOrElement"!==e.type),"list"===e.type){var n=t;if(e.element.isFilePath&&n.length)return n.map(r)}else if(e.isFilePath)return r(t);return t}(c,e[s],U))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}}function Uq(e,t){var r=e.file;return __assign(__assign({},e),{file:r?t(r.resolvedPath):void 0,messageText:jD(e.messageText)?e.messageText:Vq(e.messageText)})}function Vq(e){if(e.repopulateInfo)return{info:e.repopulateInfo(),next:qq(e.next)};var t=qq(e.next);return t===e.next?e:__assign(__assign({},e),{next:t})}function qq(i){return i&&(KN(i,function(e,t){var r=Vq(e);if(e!==r){var n=0<t?i.slice(0,t-1):[];n.push(r);for(var a=t+1;a<i.length;a++)n.push(Vq(i[a]));return n}})||i)}function Wq(e,t,r,n,a,i){var o,s,c;return void 0===e?(rA.assert(void 0===t),o=r,c=n,rA.assert(!!c),s=c.getProgram()):RD(e)?(s=cq({rootNames:e,options:t,host:r,oldProgram:(c=n)&&c.getProgramOrUndefined(),configFileParsingDiagnostics:a,projectReferences:i}),o=r):(s=e,o=t,c=r,a=n),{host:o,newProgram:s,oldProgram:c,configFileParsingDiagnostics:a||WN}}function Hq(e,t){return void 0!==(null==t?void 0:t.sourceMapUrlPos)?e.substring(0,t.sourceMapUrlPos):e}function Kq(t,r,e,n,a){var i,o;return e=Hq(e,a),null!=(i=null==a?void 0:a.diagnostics)&&i.length&&(e+=a.diagnostics.map(function(e){return"".concat(function(e){if(e.file.resolvedPath===r.resolvedPath)return"(".concat(e.start,",").concat(e.length,")");void 0===o&&(o=lA(r.resolvedPath));return"".concat(Va(Ya(o,e.file.resolvedPath,t.getCanonicalFileName)),"(").concat(e.start,",").concat(e.length,")")}(e)).concat(Yr[e.category]).concat(e.code,": ").concat(s(e.messageText))}).join("\n")),(null!==(n=n.createHash)&&void 0!==n?n:Vn)(e);function s(e){return jD(e)?e:void 0===e?"":e.next?e.messageText+e.next.map(s).join("\n"):e.messageText}}function Gq(e,t,r){return(null!==(t=t.createHash)&&void 0!==t?t:Vn)(Hq(e,r))}function Xq(l,e){var t=e.newProgram,y=e.host,r=e.oldProgram,n=e.configFileParsingDiagnostics,e=r&&r.getState();if(e&&t===e.program&&n===t.getConfigFileParsingDiagnostics())return e=t=void 0,r;var v=Cq(t,e);t.getBuildInfo=function(e){return zq(v,e)},e=r=t=void 0;var e=function(){return v},d=rW(e,n);return d.getState=e,d.saveEmitState=function(){return t=GO((e=v).compilerOptions),rA.assert(!e.changedFilesSet.size||t),{affectedFilesPendingEmit:e.affectedFilesPendingEmit&&new Map(e.affectedFilesPendingEmit),seenEmittedFiles:e.seenEmittedFiles&&new Map(e.seenEmittedFiles),programEmitPending:e.programEmitPending,emitSignatures:e.emitSignatures&&new Map(e.emitSignatures),outSignature:e.outSignature,latestChangedDtsFile:e.latestChangedDtsFile,hasChangedEmitSignature:e.hasChangedEmitSignature,changedFilesSet:t?new Set(e.changedFilesSet):void 0};var e,t},d.restoreEmitState=function(e){return t=e,(e=v).affectedFilesPendingEmit=t.affectedFilesPendingEmit,e.seenEmittedFiles=t.seenEmittedFiles,e.programEmitPending=t.programEmitPending,e.emitSignatures=t.emitSignatures,e.outSignature=t.outSignature,e.latestChangedDtsFile=t.latestChangedDtsFile,e.hasChangedEmitSignature=t.hasChangedEmitSignature,void(t.changedFilesSet&&(e.changedFilesSet=t.changedFilesSet));var t},d.hasChangedEmitSignature=function(){return!!v.hasChangedEmitSignature},d.getAllDependencies=function(e){return vq.getAllDependencies(v,rA.checkDefined(v.program),e)},d.getSemanticDiagnostics=function(e,t){var r,n,a;if(Pq(v,e),GO(rA.checkDefined(v.program).getCompilerOptions()))return rA.assert(!v.semanticDiagnosticsPerFile),rA.checkDefined(v.program).getSemanticDiagnostics(e,t);if(e)return Bq(v,e,t);for(;c(t););try{for(var i=__values(rA.checkDefined(v.program).getSourceFiles()),o=i.next();!o.done;o=i.next()){var s=o.value;a=gD(a,Bq(v,s,t))}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a||WN},d.emit=function(e,t,r,n,a){1===l&&Pq(v,e);var i=uq(d,e,t,r);if(i)return i;if(!e){if(1===l){for(var o=[],s=!1,c=void 0,u=[],_=void 0;_=f(t,r,n,a);)s=s||_.result.emitSkipped,c=gD(c,_.result.diagnostics),u=gD(u,_.result.emittedFiles),o=gD(o,_.result.sourceMaps);return{emitSkipped:s,diagnostics:c||WN,emittedFiles:u,sourceMaps:o}}!function(r,e){var t;null!=(t=r.affectedFilesPendingEmit)&&t.size&&(e?r.affectedFilesPendingEmit.forEach(function(e,t){e&=7;e?r.affectedFilesPendingEmit.set(t,e):r.affectedFilesPendingEmit.delete(t)}):r.affectedFilesPendingEmit=void 0)}(v,n)}return rA.checkDefined(v.program).emit(e,p(t,a),r,n,a)},d.releaseProgram=function(){return e=v,vq.releaseCache(e),void(e.program=void 0);var e},0===l?d.getSemanticDiagnosticsOfNextAffectedFile=c:1===l?(d.getSemanticDiagnosticsOfNextAffectedFile=c,d.emitNextAffectedFile=f,d.emitBuildInfo=function(e,t){if(v.buildInfoEmitPending){t=rA.checkDefined(v.program).emitBuildInfo(e||LD(y,y.writeFile),t);return v.buildInfoEmitPending=!1,t}return bV}):ue(),d;function f(e,t,r,n){var a,i=Iq(v,t,y),o=Sq(v.compilerOptions),s=r?24&o:o;if(!i)if(GO(v.compilerOptions)){if(!v.programEmitPending)return;if(s=v.programEmitPending,r&&(s&=24),!s)return;i=v.program}else{var c=function(n,a){var e;if(null!=(e=n.affectedFilesPendingEmit)&&e.size)return hF(n.affectedFilesPendingEmit,function(e,t){var r=n.program.getSourceFileByPath(t);if(r&&Ed(r,n.program)){e=wq(e,null==(e=n.seenEmittedFiles)?void 0:e.get(r.resolvedPath));return a&&(e&=24),e?{affectedFile:r,emitKind:e}:void 0}n.affectedFilesPendingEmit.delete(t)})}(v,r);if(!c){if(!v.buildInfoEmitPending)return;var u=v.program,r=u.emitBuildInfo(e||LD(y,y.writeFile),t);return v.buildInfoEmitPending=!1,{result:r,affected:u}}i=c.affectedFile,s=c.emitKind}7&s&&(a=0),24&s&&(a=void 0===a?1:void 0),i===v.program&&(v.programEmitPending=v.changedFilesSet.size?wq(o,s):v.programEmitPending?wq(v.programEmitPending,s):void 0);e=v.program.emit(i===v.program?void 0:i,p(e,n),t,a,n);return i!==v.program?(t=i,v.seenAffectedFiles.add(t.resolvedPath),void 0!==v.affectedFilesIndex&&v.affectedFilesIndex++,v.buildInfoEmitPending=!0,n=(null==(a=v.seenEmittedFiles)?void 0:a.get(t.resolvedPath))||0,(null!==(a=v.seenEmittedFiles)&&void 0!==a?a:v.seenEmittedFiles=new Map).set(t.resolvedPath,s|n),(s=wq((null==(a=v.affectedFilesPendingEmit)?void 0:a.get(t.resolvedPath))||o,s|n))?(null!==(n=v.affectedFilesPendingEmit)&&void 0!==n?n:v.affectedFilesPendingEmit=new Map).set(t.resolvedPath,s):null!=(s=v.affectedFilesPendingEmit)&&s.delete(t.resolvedPath)):v.changedFilesSet.clear(),{result:e,affected:i}}function p(p,m){return dM(v.compilerOptions)?function(n,a,e,t,r,i){var o,s;if(QB(n))if(GO(v.compilerOptions)){if(v.compilerOptions.composite){var c=f(v.outSignature,void 0);if(!c)return;v.outSignature=c}}else{rA.assert(1===(null==r?void 0:r.length));var u,_,l=void 0;if(m||(u=r[0],(_=v.fileInfos.get(u.resolvedPath)).signature===u.version&&(d=Kq(v.program,u,a,y,i),null!=(c=null==i?void 0:i.diagnostics)&&c.length||(l=d),d!==u.version&&(y.storeFilesChangingSignatureDuringEmit&&(null!==(o=v.filesChangingSignature)&&void 0!==o?o:v.filesChangingSignature=new Set).add(u.resolvedPath),v.exportedModulesMap&&vq.updateExportedModules(v,u,u.exportedModulesFromDeclarationEmit),v.affectedFiles?(void 0===(null==(o=v.oldSignatures)?void 0:o.get(u.resolvedPath))&&(null!==(o=v.oldSignatures)&&void 0!==o?o:v.oldSignatures=new Map).set(u.resolvedPath,_.signature||!1),_.signature=d):(_.signature=d,null!=(s=v.oldExportedModulesMap)&&s.clear())))),v.compilerOptions.composite){var d=r[0].resolvedPath;if(!(l=f(null==(s=v.emitSignatures)?void 0:s.get(d),l)))return;(null!==(s=v.emitSignatures)&&void 0!==s?s:v.emitSignatures=new Map).set(d,l)}}function f(e,t){var r=!e||jD(e)?e:e[0];if(null!=t||(t=Gq(a,y,i)),t===r){if(e===r)return;i?i.differsOnlyInMap=!0:i={differsOnlyInMap:!0}}else v.hasChangedEmitSignature=!0,v.latestChangedDtsFile=n;return t}p?p(n,a,e,t,r,i):(y.writeFile?y:v.program).writeFile(n,a,e,t,r,i)}:p||LD(y,y.writeFile)}function c(e,t){for(;;){var r=Iq(v,e,y),n=void 0;if(!r)return;if(r!==v.program){var a=r;if(t&&t(a)||(n=Bq(v,a,e)),v.seenAffectedFiles.add(a.resolvedPath),v.affectedFilesIndex++,v.buildInfoEmitPending=!0,!n)continue}else n=v.program.getSemanticDiagnostics(void 0,e),v.changedFilesSet.clear(),v.programEmitPending=Sq(v.compilerOptions);return{result:n,affected:r}}}}function Qq(e,t,r){var n,a=(null==(n=e.affectedFilesPendingEmit)?void 0:n.get(t))||0;(null!==(n=e.affectedFilesPendingEmit)&&void 0!==n?n:e.affectedFilesPendingEmit=new Map).set(t,a|r)}function Yq(e){return jD(e)?{version:e,signature:e,affectsGlobalScope:void 0,impliedFormat:void 0}:jD(e.signature)?e:{version:e.version,signature:!1===e.signature?void 0:e.version,affectsGlobalScope:e.affectsGlobalScope,impliedFormat:e.impliedFormat}}function Zq(e,t){return ae(e)?t:e[1]||8}function $q(e,t){return e||Sq(t||{})}function eW(e,t,r){var n,a,i,o,s,c,u=e.program,_=lA(fA(t,r.getCurrentDirectory())),l=KD(r.useCaseSensitiveFileNames()),d=null==(r=u.fileNames)?void 0:r.map(function(e){return Ja(e,_,l)}),r=u.latestChangedDtsFile?f(u.latestChangedDtsFile):void 0;return c=Jq(u)?(a=new Map,u.fileInfos.forEach(function(e,t){t=p(t+1);a.set(t,jD(e)?{version:e,signature:void 0,affectsGlobalScope:void 0,impliedFormat:void 0}:e)}),{fileInfos:a,compilerOptions:u.options?pT(u.options,f):{},latestChangedDtsFile:r,outSignature:u.outSignature,programEmitPending:void 0===u.pendingEmit?void 0:$q(u.pendingEmit,u.options),bundle:e.bundle}):(n=null==(e=u.fileIdsList)?void 0:e.map(function(e){return new Set(e.map(p))}),i=new Map,o=null!=(e=u.options)&&e.composite&&!GO(u.options)?new Map:void 0,u.fileInfos.forEach(function(e,t){t=p(t+1),e=Yq(e);i.set(t,e),o&&e.signature&&o.set(t,e.signature)}),null!=(e=u.emitSignatures)&&e.forEach(function(e){var t;ae(e)?o.delete(p(e)):(t=p(e[0]),o.set(t,jD(e[1])||e[1].length?e[1]:[o.get(t)]))}),s=u.affectedFilesPendingEmit?Sq(u.options||{}):void 0,{fileInfos:i,compilerOptions:u.options?pT(u.options,f):{},referencedMap:m(u.referencedMap),exportedModulesMap:m(u.exportedModulesMap),semanticDiagnosticsPerFile:u.semanticDiagnosticsPerFile&&ie(u.semanticDiagnosticsPerFile,function(e){return p(ae(e)?e:e[0])},function(e){return ae(e)?WN:e[1]}),hasReusableDiagnostic:!0,affectedFilesPendingEmit:u.affectedFilesPendingEmit&&ie(u.affectedFilesPendingEmit,function(e){return p(ae(e)?e:e[0])},function(e){return Zq(e,s)}),changedFilesSet:new Set(iD(u.changeFileSet,p)),latestChangedDtsFile:r,emitSignatures:null!=o&&o.size?o:void 0}),{getState:function(){return c},saveEmitState:fi,restoreEmitState:fi,getProgram:ue,getProgramOrUndefined:se,releaseProgram:fi,getCompilerOptions:function(){return c.compilerOptions},getSourceFile:ue,getSourceFiles:ue,getOptionsDiagnostics:ue,getGlobalDiagnostics:ue,getConfigFileParsingDiagnostics:ue,getSyntacticDiagnostics:ue,getDeclarationDiagnostics:ue,getSemanticDiagnostics:ue,emit:ue,getAllDependencies:ue,getCurrentDirectory:ue,emitNextAffectedFile:ue,getSemanticDiagnosticsOfNextAffectedFile:ue,emitBuildInfo:ue,close:fi,hasChangedEmitSignature:ar};function f(e){return fA(e,_)}function p(e){return d[e-1]}function m(e){if(e){var r=vq.createManyToManyPathMap();return e.forEach(function(e){var t=__read(e,2),e=t[0],t=t[1];return r.set(p(e),n[t-1])}),r}}}function tW(n,e,t){var a=lA(fA(e,t.getCurrentDirectory())),i=KD(t.useCaseSensitiveFileNames()),o=new Map,s=0,c=[];return n.fileInfos.forEach(function(e,t){var r=Ja(n.fileNames[t],a,i),e=jD(e)?e:e.version;o.set(r,e),s<n.root.length&&(e=t+1,RD(t=n.root[s])?t[0]<=e&&e<=t[1]&&(c.push(r),t[1]===e&&s++):t===e&&(c.push(r),s++))}),{fileInfos:o,roots:c}}function rW(e,t){return{getState:ue,saveEmitState:fi,restoreEmitState:fi,getProgram:i,getProgramOrUndefined:function(){return e().program},releaseProgram:function(){return e().program=void 0},getCompilerOptions:function(){return e().compilerOptions},getSourceFile:function(e){return i().getSourceFile(e)},getSourceFiles:function(){return i().getSourceFiles()},getOptionsDiagnostics:function(e){return i().getOptionsDiagnostics(e)},getGlobalDiagnostics:function(e){return i().getGlobalDiagnostics(e)},getConfigFileParsingDiagnostics:function(){return t},getSyntacticDiagnostics:function(e,t){return i().getSyntacticDiagnostics(e,t)},getDeclarationDiagnostics:function(e,t){return i().getDeclarationDiagnostics(e,t)},getSemanticDiagnostics:function(e,t){return i().getSemanticDiagnostics(e,t)},emit:function(e,t,r,n,a){return i().emit(e,t,r,n,a)},emitBuildInfo:function(e,t){return i().emitBuildInfo(e,t)},getAllDependencies:ue,getCurrentDirectory:function(){return i().getCurrentDirectory()},close:fi};function i(){return rA.checkDefined(e().program)}}var nW=e({"src/compiler/builder.ts":function(){MK(),bq=function(e){return e[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",e}(bq||{}),kq=function(e){return e[e.SemanticDiagnosticsBuilderProgram=0]="SemanticDiagnosticsBuilderProgram",e[e.EmitAndSemanticDiagnosticsBuilderProgram=1]="EmitAndSemanticDiagnosticsBuilderProgram",e}(kq||{})}});function aW(e,t,r,n,a,i){return Xq(0,Wq(e,t,r,n,a,i))}function iW(e,t,r,n,a,i){return Xq(1,Wq(e,t,r,n,a,i))}function oW(e,t,r,n,a,i){var i=Wq(e,t,r,n,a,i),o=i.newProgram;return rW(function(){return{program:o,compilerOptions:o.getCompilerOptions()}},i.configFileParsingDiagnostics)}var sW=e({"src/compiler/builderPublic.ts":function(){MK()}});function cW(t){return qD(t,"/node_modules/.staging")?ur(t,"/.staging"):dD(jn,function(e){return WD(t,e)})?void 0:t}function uW(e,t){if(t<=1)return 1;var r=1,n=0===e[0].search(/[a-zA-Z]:/);if(e[0]!==ca&&!n&&0===e[1].search(/[a-zA-Z]\$$/)){if(2===t)return 2;r=2,n=!0}return n&&!e[r].match(/^users$/i)?r:r+2}function _W(e,t){return void 0===t&&(t=e.length),!(t<=2)&&uW(e,t)+1<t}function lW(e){return fW(lA(e))}function dW(e,t){if(!(t.length<t.length)){for(var r=0;r<e.length;r++)if(t[r]!==e[r])return;return 1}}function fW(e){return _W(Ia(e))}function pW(e){return fW(e)}function mW(e,t,r,n,a,i){var o=Ia(t),t=Ia(e=ka(e)?pi(e):fA(e,i())),i=uW(o,o.length);if(!(o.length<=i+1)){e=o.indexOf("node_modules");if(!(-1!==e&&e+1<=i+1))return dW(a,o)?o.length>a.length+1?vW(t,o,Math.max(a.length+1,i+1)):{dir:r,dirPath:n,nonRecursive:!0}:yW(t,o,o.length-1,i,e,a)}}function yW(e,t,r,n,a,i){if(-1!==a)return vW(e,t,a+1);for(var o=!0,s=r,c=0;c<r;c++)if(t[c]!==i[c]){o=!1,s=Math.max(c+1,n+1);break}return vW(e,t,s,o)}function vW(e,t,r,n){return{dir:Oa(e,r),dirPath:Oa(t,r),nonRecursive:n}}function gW(e,t,r,n,a,i){t=Ia(t);if(dW(n,t))return r;n=yW(Ia(e=ka(e)?pi(e):fA(e,a())),t,t.length,uW(t,t.length),t.indexOf("node_modules"),n);return n&&i(n.dirPath)?n.dirPath:void 0}function hW(e,t){t=fA(e,t());return Ta(t)?t:za(t)}function xW(e){return e.split(ca).length-(Ca(e)?1:0)}function bW(A,e,o){var E,c,t,s,u,n,a,i,_=MD(),y=new Set,v=new Set,g=new Map,l=new Map,d=!1,F=!1,f=va(function(){return A.getCurrentDirectory()}),p=A.getCachedDirectoryStructureHost(),P=new Map,m=LS(f(),A.getCanonicalFileName,A.getCompilationSettings()),h=new Map,x=MS(f(),A.getCanonicalFileName,A.getCompilationSettings(),m.getPackageJsonInfoCache()),b=new Map,k=LS(f(),A.getCanonicalFileName,RS(A.getCompilationSettings()),m.getPackageJsonInfoCache()),T=new Map,S=new Map,w=hW(e,f),C=A.toPath(w),N=Ia(C),r=new Map;return{getModuleResolutionCache:function(){return m},startRecordingFilesWithChangedResolutions:function(){E=[]},finishRecordingFilesWithChangedResolutions:function(){var e=E;return E=void 0,e},startCachingPerDirectoryResolution:function(){m.clearAllExceptPackageJsonInfoCache(),x.clearAllExceptPackageJsonInfoCache(),k.clearAllExceptPackageJsonInfoCache(),_.forEach(V),_.clear()},finishCachingPerDirectoryResolution:function(r,e){t=void 0,F=!1,_.forEach(V),_.clear(),r!==e&&(function(n){b.forEach(function(e,t){var r;null!=(r=null==n?void 0:n.resolvedLibReferences)&&r.has(t)||(H(e,A.toPath(ZV(n.getCompilerOptions(),f(),t)),D),b.delete(t))})}(r),null!=r&&r.getSourceFiles().forEach(function(e){for(var t,r=_P(e)&&null!==(t=null==(t=e.packageJsonLocations)?void 0:t.length)&&void 0!==t?t:0,n=null!==(t=l.get(e.path))&&void 0!==t?t:WN,a=n.length;a<r;a++)U(e.packageJsonLocations[a],!1);if(n.length>r)for(a=r;a<n.length;a++)S.get(n[a]).files--;r?l.set(e.path,e.packageJsonLocations):l.delete(e.path)}),l.forEach(function(e,t){null!=r&&r.getSourceFileByPath(t)||(e.forEach(function(e){return S.get(e).files--}),l.delete(t))}));T.forEach(function(e,t){0===e.refCount&&(T.delete(t),e.watcher.close())}),S.forEach(function(e,t){0===e.files&&0===e.resolutions&&(S.delete(t),e.watcher.close())}),d=!1},resolveModuleNameLiterals:function(e,t,r,n,a,i){return M({entries:e,containingFile:t,containingSourceFile:a,redirectedReference:r,options:n,reusedNames:i,perFileCache:P,loader:function(r,n,a){return{nameAndMode:vV,resolve:function(e,t){return L(e,r,a,n,t)}}}(t,r,n),getResolutionWithResolvedFileName:D,shouldRetryResolution:function(e){return!e.resolvedModule||!bM(e.resolvedModule.extension)},logChanges:o,deferWatchingNonRelativeResolution:!0})},resolveTypeReferenceDirectiveReferences:function(e,t,r,n,a,i){return M({entries:e,containingFile:t,containingSourceFile:a,redirectedReference:r,options:n,reusedNames:i,perFileCache:h,loader:GV(t,r,n,(null==(n=A.getCompilerHost)?void 0:n.call(A))||A,x),getResolutionWithResolvedFileName:I,shouldRetryResolution:function(e){return void 0===e.resolvedTypeReferenceDirective},deferWatchingNonRelativeResolution:!1})},resolveLibrary:function(e,t,r,n){var a=(null==(s=A.getCompilerHost)?void 0:s.call(A))||A,i=null==b?void 0:b.get(n);{var o,s;!i||i.isInvalidated?(o=i,i=jS(e,t,r,a,k),s=A.toPath(t),j(e,i,s,D,!1),b.set(n,i),o&&H(o,s,D)):rS(r,a)&&(r=D(i),tS(a,null!=r&&r.resolvedFileName?r.packageId?mA.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:mA.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:mA.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved,e,t,null==r?void 0:r.resolvedFileName,(null==r?void 0:r.packageId)&&Vu(r.packageId)))}return i},resolveSingleModuleNameWithoutWatching:function(e,t){var r=A.toPath(t),r=P.get(r),r=null==r?void 0:r.get(e,void 0);return r&&!r.isInvalidated?r:L(e,t,A.getCompilationSettings())},removeResolutionsFromProjectReferenceRedirects:function(e){if(!uA(e,".json"))return;var t=A.getCurrentProgram();if(!t)return;e=t.getResolvedProjectReferenceByPath(e);if(!e)return;e.commandLine.fileNames.forEach(function(e){return X(A.toPath(e))})},removeResolutionsOfFile:X,hasChangedAutomaticTypeDirectiveNames:function(){return d},invalidateResolutionOfFile:function(e){X(e);var t=d;Q(g.get(e),ya)&&d&&!t&&A.onChangedAutomaticTypeDirectiveNames()},invalidateResolutionsOfFailedLookupLocations:$,setFilesWithInvalidatedNonRelativeUnresolvedImports:function(e){rA.assert(t===e||void 0===t),t=e},createHasInvalidatedResolutions:function(t,r){$();var n=c;return c=void 0,{hasInvalidatedResolutions:function(e){return t(e)||F||!(null==n||!n.has(e))||O(e)},hasInvalidatedLibResolutions:function(e){return r(e)||!(null==(e=null==b?void 0:b.get(e))||!e.isInvalidated)}}},isFileWithInvalidatedNonRelativeUnresolvedImports:O,updateTypeRootsWatch:function(){var e=A.getCompilationSettings();if(e.types)return void ne();e=yS(e,{getCurrentDirectory:f});e?Kf(r,ie(e,function(e){return A.toPath(e)}),{createNewValue:ae,onDeleteValue:zf}):ne()},closeTypeRootsWatch:ne,clear:function(){Wf(T,cV),Wf(S,cV),_.clear(),ne(),P.clear(),h.clear(),g.clear(),y.clear(),v.clear(),s=u=i=a=n=void 0,F=!1,m.clear(),x.clear(),m.update(A.getCompilationSettings()),x.update(A.getCompilationSettings()),k.clear(),l.clear(),b.clear(),d=!1},onChangesAffectModuleResolution:function(){F=!0,m.clearAllExceptPackageJsonInfoCache(),x.clearAllExceptPackageJsonInfoCache(),m.update(A.getCompilationSettings()),x.update(A.getCompilationSettings())}};function D(e){return e.resolvedModule}function I(e){return e.resolvedTypeReferenceDirective}function O(e){if(!t)return!1;e=t.get(e);return!!e&&!!e.length}function L(e,t,r,n,a){var i=(null==(i=A.getCompilerHost)?void 0:i.call(A))||A,n=JS(e,t,r,i,m,n,a);if(!A.getGlobalCache)return n;a=A.getGlobalCache();if(!(void 0===a||kA(e)||n.resolvedModule&&xm(n.resolvedModule.extension))){e=Ow(rA.checkDefined(A.globalCacheResolutionModuleName)(e),A.projectName,r,i,a,m),r=e.resolvedModule,i=e.failedLookupLocations,a=e.affectingLocations,e=e.resolutionDiagnostics;if(r)return n.resolvedModule=r,n.failedLookupLocations=lS(n.failedLookupLocations,i),n.affectingLocations=lS(n.affectingLocations,a),n.resolutionDiagnostics=lS(n.resolutionDiagnostics,e),n}return n}function M(e){var t,r,n=e.entries,a=e.containingFile,i=e.containingSourceFile,o=e.redirectedReference,s=e.options,c=e.perFileCache,u=e.reusedNames,_=e.loader,l=e.getResolutionWithResolvedFileName,d=e.deferWatchingNonRelativeResolution,f=e.shouldRetryResolution,p=e.logChanges,m=A.toPath(a),y=c.get(m)||c.set(m,AS()).get(m),v=[],g=p&&O(m),e=A.getCurrentProgram(),e=e&&e.getResolvedProjectReferenceToRedirect(a),h=e?!o||o.sourceFile.path!==e.sourceFile.path:!!o,x=AS();try{for(var b=__values(n),k=b.next();!k.done;k=b.next()){var T,S,w=k.value,C=_.nameAndMode.getName(w),N=_.nameAndMode.getMode(w,i),D=y.get(C,N);!x.has(C,N)&&(F||h||!D||D.isInvalidated||g&&!kA(C)&&f(D))?(T=D,D=_.resolve(C,N),A.onDiscoveredSymlink&&(w=void 0,!!(null!=(w=(S=D).resolvedModule)&&w.originalPath||null!=(S=S.resolvedTypeReferenceDirective)&&S.originalPath))&&A.onDiscoveredSymlink(),y.set(C,N,D),j(C,D,m,l,d),T&&H(T,m,l),p&&E&&!function(e,t){if(e===t)return!0;if(!e||!t)return!1;e=l(e),t=l(t);return e===t||!(!e||!t)&&e.resolvedFileName===t.resolvedFileName}(T,D)&&(E.push(m),p=!1)):rS(s,T=(null==(S=A.getCompilerHost)?void 0:S.call(A))||A)&&!x.has(C,N)&&(S=l(D),tS(T,c===P?null!=S&&S.resolvedFileName?S.packageId?mA.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:mA.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:mA.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved:null!=S&&S.resolvedFileName?S.packageId?mA.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:mA.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2:mA.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved,C,a,null==S?void 0:S.resolvedFileName,(null==S?void 0:S.packageId)&&Vu(S.packageId))),rA.assert(void 0!==D&&!D.isInvalidated),x.set(C,N,!0),v.push(D)}}catch(e){t={error:e}}finally{try{k&&!k.done&&(r=b.return)&&r.call(b)}finally{if(t)throw t.error}}return null!=u&&u.forEach(function(e){return x.set(_.nameAndMode.getName(e),_.nameAndMode.getMode(e,i),!0)}),y.size()!==x.size()&&y.forEach(function(e,t,r){x.has(t,r)||(H(e,m,l),y.delete(t,r))}),v}function R(e){return qD(e,"/node_modules/@types")}function j(e,t,r,n,a){var i,o;t.refCount?(t.refCount++,rA.assertIsDefined(t.files)):(t.refCount=1,rA.assert(!(null!=(i=t.files)&&i.size)),!a||kA(e)?J(t):_.add(e,t),(n=n(t))&&n.resolvedFileName&&(n=A.toPath(n.resolvedFileName),(o=g.get(n))||g.set(n,o=new Set),o.add(t))),(null!==(o=t.files)&&void 0!==o?o:t.files=new Set).add(r)}function B(e,t){var r,n=mW(e,A.toPath(e),w,C,N,f);return n&&(r=n.dir,e=n.dirPath,n=n.nonRecursive,e===C?(rA.assert(n),t=!0):q(r,e,n)),t}function J(e){var t,r;rA.assert(!!e.refCount);var n=e.failedLookupLocations,a=e.affectingLocations,i=e.node10Result;if(null!=n&&n.length||null!=a&&a.length||i){(null!=n&&n.length||i)&&y.add(e);var o=!1;if(n)try{for(var s=__values(n),c=s.next();!c.done;c=s.next())o=B(c.value,o)}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}i&&(o=B(i,o)),o&&q(w,C,!0),z(e,!(null!=n&&n.length||i))}}function z(e,t){var r,n;rA.assert(!!e.refCount);var a=e.affectingLocations;if(null!=a&&a.length){t&&v.add(e);try{for(var i=__values(a),o=i.next();!o.done;o=i.next())U(o.value,!0)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}}function U(e,t){var r=S.get(e);if(r)t?r.resolutions++:r.files++;else{var n=e;if(A.realpath&&e!==(n=A.realpath(e))){r=S.get(n);if(r)return t?r.resolutions++:r.files++,r.paths.add(e),void S.set(e,r)}var a=new Set;a.add(n);var i=pW(A.toPath(n))?A.watchAffectingFileLocation(n,function(e,t){null!=p&&p.addOrDeleteFile(e,A.toPath(n),t);var r=m.getPackageJsonInfoCache().getInternalMap();a.forEach(function(e){o.resolutions&&(null!=u?u:u=new Set).add(e),o.files&&(null!=s?s:s=new Set).add(e),null!=r&&r.delete(A.toPath(e))}),A.scheduleInvalidateResolutionsOfFailedLookupLocations()}):SW,o={watcher:i!==SW?{close:function(){i.close(),i=SW}}:i,resolutions:t?1:0,files:t?0:1,paths:a};S.set(n,o),e!==n&&(S.set(e,o),a.add(e))}}function V(e,t){var r=A.getCurrentProgram();r&&r.getTypeChecker().tryFindAmbientModuleWithoutAugmentations(t)?e.forEach(function(e){return z(e,!0)}):e.forEach(J)}function q(e,t,r){var n,a=T.get(t);a?(rA.assert(!!r==!!a.nonRecursive),a.refCount++):T.set(t,{watcher:(e=e,n=t,t=r,A.watchDirectoryOfFailedLookupLocation(e,function(e){var t=A.toPath(e);p&&p.addOrDeleteFileOrDirectory(e,t),Y(t,n===t)},t?0:1)),refCount:1,nonRecursive:r})}function W(e,t){e=mW(e,A.toPath(e),w,C,N,f);return e&&((e=e.dirPath)===C?t=!0:K(e)),t}function H(e,t,r){var n,a,i,o;if(rA.checkDefined(e.files).delete(t),e.refCount--,!e.refCount){r=r(e);r&&r.resolvedFileName&&(u=A.toPath(r.resolvedFileName),null!=(r=g.get(u))&&r.delete(e)&&!r.size&&g.delete(u));var s=e.failedLookupLocations,c=e.affectingLocations,u=e.node10Result;if(y.delete(e)){var _=!1;if(s)try{for(var l=__values(s),d=l.next();!d.done;d=l.next())_=W(d.value,_)}catch(e){n={error:e}}finally{try{d&&!d.done&&(a=l.return)&&a.call(l)}finally{if(n)throw n.error}}u&&(_=W(u,_)),_&&K(C)}else null!=c&&c.length&&v.delete(e);if(c)try{for(var f=__values(c),p=f.next();!p.done;p=f.next()){var m=p.value;S.get(m).resolutions--}}catch(e){i={error:e}}finally{try{p&&!p.done&&(o=f.return)&&o.call(f)}finally{if(i)throw i.error}}}}function K(e){T.get(e).refCount--}function G(e,t,r){var n=e.get(t);n&&(n.forEach(function(e){return H(e,t,r)}),e.delete(t))}function X(e){G(P,e,D),G(h,e,I)}function Q(e,o){if(!e)return!1;var s=!1;return e.forEach(function(e){var t,r;if(!e.isInvalidated&&o(e)){e.isInvalidated=s=!0;try{for(var n=__values(rA.checkDefined(e.files)),a=n.next();!a.done;a=n.next()){var i=a.value;(null!=c?c:c=new Set).add(i),d=d||qD(i,hV)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}}),s}function Y(e,t){if(t)(i=i||new Set).add(e);else{t=cW(e);if(!t)return;if(e=t,A.fileIsOpen(e))return;t=lA(e);if(R(e)||ri(e)||R(t)||ri(t))(n=n||new Set).add(e),(a=a||new Set).add(e);else{if(iV(A.getCurrentProgram(),e))return;if(uA(e,".map"))return;(n=n||new Set).add(e);e=YS(e,!0);e&&(a=a||new Set).add(e)}}A.scheduleInvalidateResolutionsOfFailedLookupLocations()}function Z(){var r=m.getPackageJsonInfoCache().getInternalMap();r&&(n||a||i)&&r.forEach(function(e,t){return te(t)?r.delete(t):void 0})}function $(){var e;if(F)return s=void 0,Z(),(n||a||i||u)&&Q(b,ee),!(u=i=a=n=void 0);var t=!1;return s&&(null!=(e=A.getCurrentProgram())&&e.getSourceFiles().forEach(function(e){dD(e.packageJsonLocations,function(e){return s.has(e)})&&((null!=c?c:c=new Set).add(e.path),t=!0)}),s=void 0),(n||a||i||u)&&(t=Q(y,ee)||t,Z(),i=a=n=void 0,t=Q(v,re)||t,u=void 0),t}function ee(e){var t;return!!re(e)||!!(n||a||i)&&((null==(t=e.failedLookupLocations)?void 0:t.some(function(e){return te(A.toPath(e))}))||!!e.node10Result&&te(A.toPath(e.node10Result)))}function te(t){return(null==n?void 0:n.has(t))||tr((null==a?void 0:a.keys())||[],function(e){return!!XD(t,e)||void 0})||tr((null==i?void 0:i.keys())||[],function(e){return!(!(t.length>e.length&&XD(t,e))||!Ta(e)&&t[e.length]!==ca)||void 0})}function re(e){return!!u&&(null==(e=e.affectingLocations)?void 0:e.some(function(e){return u.has(e)}))}function ne(){Wf(r,zf)}function ae(r,n){return e=r,!!A.getCompilationSettings().typeRoots||lW(A.toPath(e))?A.watchTypeRootsDirectory(n,function(e){var t=A.toPath(e);p&&p.addOrDeleteFileOrDirectory(e,t),d=!0,A.onChangedAutomaticTypeDirectiveNames();e=gW(n,r,C,N,f,function(e){return T.has(e)});e&&Y(t,e===t)},1):SW;var e}}var kW,TW,SW,wW,CW,NW=e({"src/compiler/resolutionCache.ts":function(){MK()}});function DW(t,e){var r=t===zn&&kW?kW:{getCurrentDirectory:function(){return t.getCurrentDirectory()},getNewLine:function(){return t.newLine},getCanonicalFileName:KD(t.useCaseSensitiveFileNames)};if(!e)return function(e){return t.write(IV(e,r))};var n=new Array(1);return function(e){n[0]=e,t.write(jV(n,r)+r.getNewLine()),n[0]=void 0}}function AW(e,t,r){return e.clearScreen&&!r.preserveWatchOutput&&!r.extendedDiagnostics&&!r.diagnostics&&eD(TW,t.code)&&(e.clearScreen(),1)}function EW(e){return e.now?e.now().toLocaleTimeString("en-US",{timeZone:"UTC"}).replace(" "," "):(new Date).toLocaleTimeString()}function FW(a,e){return e?function(e,t,r){AW(a,e,r);r="[".concat(LV(EW(a),"[90m"),"] ");r+="".concat(BV(e.messageText,a.newLine)).concat(t+t),a.write(r)}:function(e,t,r){var n="";AW(a,e,r)||(n+=t),n+="".concat(EW(a)," - "),n+="".concat(BV(e.messageText,a.newLine)).concat((t=t,eD(TW,e.code)?t+t:t)),a.write(n)}}function PW(e,t,r,n,a,i){var o=a;o.onUnRecoverableConfigFileDiagnostic=function(e){return tH(a,i,e)};n=Hk(e,t,o,r,n);return o.onUnRecoverableConfigFileDiagnostic=void 0,n}function IW(e){return rD(e,function(e){return 1===e.category})}function OW(r){return nD(r,function(e){return 1===e.category}).map(function(e){if(void 0!==e.file)return"".concat(e.file.fileName)}).map(function(t){if(void 0!==t){var e=QN(r,function(e){return void 0!==e.file&&e.file.fileName===t});if(void 0!==e){e=gA(e.file,e.start).line;return{fileName:t,line:e+1}}}})}function LW(e){return 1===e?mA.Found_1_error_Watching_for_file_changes:mA.Found_0_errors_Watching_for_file_changes}function MW(e,t){var r=LV(":"+e.line,"[90m");return Sa(e.fileName)&&Sa(t)?Ya(t,e.fileName,!1)+r:e.fileName+r}function RW(e,t,r,n){if(0===e)return"";var a=t.filter(function(e){return void 0!==e}),i=a.map(function(e){return"".concat(e.fileName,":").concat(e.line)}).filter(function(e,t,r){return r.indexOf(e)===t}),o=a[0]&&MW(a[0],n.getCurrentDirectory()),e=1===e?void 0!==t[0]?[mA.Found_1_error_in_0,o]:[mA.Found_1_error]:0===i.length?[mA.Found_0_errors,e]:1===i.length?[mA.Found_0_errors_in_the_same_file_starting_at_Colon_1,e,o]:[mA.Found_0_errors_in_1_files,e,i.length],e=ZL.apply(void 0,__spreadArray([],__read(e),!1)),n=1<i.length?function(e,n){var t=e.filter(function(t,e,r){return e===r.findIndex(function(e){return(null==e?void 0:e.fileName)===(null==t?void 0:t.fileName)})});if(0===t.length)return"";function r(e){return Math.log(e)*Math.LOG10E+1}var a=t.map(function(t){return[t,rD(e,function(e){return e.fileName===t.fileName})]}),i=a.reduce(function(e,t){return Math.max(e,t[1]||0)},0),o=mA.Errors_Files.message,t=o.split(" ")[0].length,s=Math.max(t,r(i)),t=Math.max(r(i)-t,0),c="";return c+=" ".repeat(t)+o+"\n",a.forEach(function(e){var t=__read(e,2),r=t[0],e=t[1],t=Math.log(e)*Math.LOG10E+1|0,t=t<s?" ".repeat(s-t):"",r=MW(r,n.getCurrentDirectory());c+="".concat(t).concat(e,"  ").concat(r,"\n")}),c}(a,n):"";return"".concat(r).concat(BV(e.messageText,r)).concat(r).concat(r).concat(n)}function jW(e){return!!e.getState}function BW(e,t){var r=e.getCompilerOptions();r.explainFiles?JW(jW(e)?e.getProgram():e,t):(r.listFiles||r.listFilesOnly)&&KN(e.getSourceFiles(),function(e){t(e.fileName)})}function JW(t,r){function n(e){return Za(e,t.getCurrentDirectory(),t.getCanonicalFileName)}var a,e,i,o=t.getFileIncludeReasons();try{for(var s=__values(t.getSourceFiles()),c=s.next();!c.done;c=s.next()){var u=c.value;r("".concat(WW(u,n))),null!=(i=o.get(u.path))&&i.forEach(function(e){return r("  ".concat(qW(t,e,n).messageText))}),null!=(u=zW(u,n))&&u.forEach(function(e){return r("  ".concat(e.messageText))})}}catch(e){a={error:e}}finally{try{c&&!c.done&&(e=s.return)&&e.call(s)}finally{if(a)throw a.error}}}function zW(e,t){var r,n;if(e.path!==e.resolvedPath&&(null!=n?n:n=[]).push($L(void 0,mA.File_is_output_of_project_reference_source_0,WW(e.originalFileName,t))),e.redirectInfo&&(null!=n?n:n=[]).push($L(void 0,mA.File_redirects_to_file_0,WW(e.redirectInfo.redirectTarget,t))),_P(e))switch(e.impliedNodeFormat){case 99:e.packageJsonScope&&(null!=n?n:n=[]).push($L(void 0,mA.File_is_ECMAScript_module_because_0_has_field_type_with_value_module,WW(ND(e.packageJsonLocations),t)));break;case 1:e.packageJsonScope?(null!=n?n:n=[]).push($L(void 0,e.packageJsonScope.contents.packageJsonContent.type?mA.File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module:mA.File_is_CommonJS_module_because_0_does_not_have_field_type,WW(ND(e.packageJsonLocations),t))):null!=(r=e.packageJsonLocations)&&r.length&&(null!=n?n:n=[]).push($L(void 0,mA.File_is_CommonJS_module_because_package_json_was_not_found))}return n}function UW(t,e){var r,n=t.getCompilerOptions().configFile;if(null!=(r=null==n?void 0:n.configFileSpecs)&&r.validatedFilesSpec){var a=t.getCanonicalFileName(e),i=lA(fA(n.fileName,t.getCurrentDirectory()));return QN(n.configFileSpecs.validatedFilesSpec,function(e){return t.getCanonicalFileName(fA(e,i))===a})}}function VW(e,t){var r,n=e.getCompilerOptions().configFile;if(null!=(r=null==n?void 0:n.configFileSpecs)&&r.validatedIncludeSpecs){if(n.configFileSpecs.isDefaultIncludeSpec)return!0;var a=uA(t,".json"),i=lA(fA(n.fileName,e.getCurrentDirectory())),o=e.useCaseSensitiveFileNames();return QN(null==(n=null==n?void 0:n.configFileSpecs)?void 0:n.validatedIncludeSpecs,function(e){if(!a||qD(e,".json")){e=Yp(e,i,"files");return e&&tm("(".concat(e,")$"),o).test(t)}})}}function qW(t,e,r){var n=t.getCompilerOptions();if(tq(e)){var a=nq(function(e){return t.getSourceFileByPath(e)},e),i=rq(a)?a.file.text.substring(a.pos,a.end):'"'.concat(a.text,'"'),o=void 0;switch(rA.assert(rq(a)||3===e.kind,"Only synthetic references are imports"),e.kind){case 3:o=rq(a)?a.packageId?mA.Imported_via_0_from_file_1_with_packageId_2:mA.Imported_via_0_from_file_1:a.text===lF?a.packageId?mA.Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions:mA.Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions:a.packageId?mA.Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions:mA.Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions;break;case 4:rA.assert(!a.packageId),o=mA.Referenced_via_0_from_file_1;break;case 5:o=a.packageId?mA.Type_library_referenced_via_0_from_file_1_with_packageId_2:mA.Type_library_referenced_via_0_from_file_1;break;case 7:rA.assert(!a.packageId),o=mA.Library_referenced_via_0_from_file_1;break;default:rA.assertNever(e)}return $L(void 0,o,i,WW(a.file,r),a.packageId&&Vu(a.packageId))}switch(e.kind){case 0:if(null==(s=n.configFile)||!s.configFileSpecs)return $L(void 0,mA.Root_file_specified_for_compilation);var s=fA(t.getRootFileNames()[e.index],t.getCurrentDirectory());if(UW(t,s))return $L(void 0,mA.Part_of_files_list_in_tsconfig_json);s=VW(t,s);return jD(s)?$L(void 0,mA.Matched_by_include_pattern_0_in_1,s,WW(n.configFile,r)):$L(void 0,s?mA.Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk:mA.Root_file_specified_for_compilation);case 1:case 2:var s=2===e.kind,c=rA.checkDefined(null==(c=t.getResolvedProjectReferences())?void 0:c[e.index]);return $L(void 0,GO(n)?s?mA.Output_from_referenced_project_0_included_because_1_specified:mA.Source_from_referenced_project_0_included_because_1_specified:s?mA.Output_from_referenced_project_0_included_because_module_is_specified_as_none:mA.Source_from_referenced_project_0_included_because_module_is_specified_as_none,WW(c.sourceFile.fileName,r),n.outFile?"--outFile":"--out");case 8:var u=n.types?e.packageId?[mA.Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1,e.typeReference,Vu(e.packageId)]:[mA.Entry_point_of_type_library_0_specified_in_compilerOptions,e.typeReference]:e.packageId?[mA.Entry_point_for_implicit_type_library_0_with_packageId_1,e.typeReference,Vu(e.packageId)]:[mA.Entry_point_for_implicit_type_library_0,e.typeReference];return $L.apply(void 0,__spreadArray([void 0],__read(u),!1));case 6:if(void 0!==e.index)return $L(void 0,mA.Library_0_specified_in_compilerOptions,n.lib[e.index]);c=hF(Xb.type,function(e,t){return e===rM(n)?t:void 0}),u=c?[mA.Default_library_for_target_0,c]:[mA.Default_library];return $L.apply(void 0,__spreadArray([void 0],__read(u),!1));default:rA.assertNever(e)}}function WW(e,t){e=jD(e)?e:e.fileName;return t?t(e):e}function HW(e,t,r,n,a,i,o,s){var c=!!e.getCompilerOptions().listFilesOnly,u=e.getConfigFileParsingDiagnostics().slice(),_=u.length;gD(u,e.getSyntacticDiagnostics(void 0,i)),u.length===_&&(gD(u,e.getOptionsDiagnostics(i)),c||(gD(u,e.getGlobalDiagnostics(i)),u.length===_&&gD(u,e.getSemanticDiagnostics(void 0,i))));o=c?{emitSkipped:!0,diagnostics:WN}:e.emit(void 0,a,i,o,s),s=o.emittedFiles;gD(u,o.diagnostics);var l,u=fo(u);return u.forEach(t),r&&(l=e.getCurrentDirectory(),KN(s,function(e){e=fA(e,l);r("TSFILE: ".concat(e))}),BW(e,r)),n&&n(IW(u),OW(u)),{emitResult:o,diagnostics:u}}function KW(e,t,r,n,a,i,o,s){o=HW(e,t,r,n,a,i,o,s),s=o.emitResult,o=o.diagnostics;return s.emitSkipped&&0<o.length?1:0<o.length?2:0}function GW(e,t){return void 0===e&&(e=zn),{onWatchStatusChange:t||FW(e),watchFile:LD(e,e.watchFile)||wW,watchDirectory:LD(e,e.watchDirectory)||wW,setTimeout:LD(e,e.setTimeout)||fi,clearTimeout:LD(e,e.clearTimeout)||fi}}function XW(t,e){var r=t.trace?e.extendedDiagnostics?2:e.diagnostics?1:0:0,e=0!=r?function(e){return t.trace(e)}:fi,r=oV(t,r,e);return r.writeLog=e,r}function QW(n,e,t){void 0===t&&(t=n);var r=n.useCaseSensitiveFileNames(),a={getSourceFile:NV(function(e,t){return t?n.readFile(e,t):a.readFile(e)},e,void 0),getDefaultLibLocation:LD(n,n.getDefaultLibLocation),getDefaultLibFileName:function(e){return n.getDefaultLibFileName(e)},writeFile:DV(function(e,t,r){return n.writeFile(e,t,r)},function(e){return n.createDirectory(e)},function(e){return n.directoryExists(e)}),getCurrentDirectory:va(function(){return n.getCurrentDirectory()}),useCaseSensitiveFileNames:function(){return r},getCanonicalFileName:KD(r),getNewLine:function(){return vf(e())},fileExists:function(e){return n.fileExists(e)},readFile:function(e){return n.readFile(e)},trace:LD(n,n.trace),directoryExists:LD(t,t.directoryExists),getDirectories:LD(t,t.getDirectories),realpath:LD(n,n.realpath),getEnvironmentVariable:LD(n,n.getEnvironmentVariable)||function(){return""},createHash:LD(n,n.createHash),readDirectory:LD(n,n.readDirectory),storeFilesChangingSignatureDuringEmit:n.storeFilesChangingSignatureDuringEmit};return a}function YW(e,t){if(t.match(JC))for(var r=t.length,n=r,a=r-1;0<=a;a--){var i=t.charCodeAt(a);switch(i){case 10:a&&13===t.charCodeAt(a-1)&&a--;case 13:break;default:if(i<127||!hA(i)){n=a;continue}}var o=t.substring(n,r);if(o.match(zC)){t=t.substring(0,n);break}if(!o.match(UC))break;r=n}return(e.createHash||Vn)(t)}function ZW(n){var a=n.getSourceFile;n.getSourceFile=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=a.call.apply(a,__spreadArray([n],__read(e),!1));return r&&(r.version=YW(n,r.text)),r}}function $W(i,e){var t=va(function(){return lA(pi(i.getExecutingFilePath()))});return{useCaseSensitiveFileNames:function(){return i.useCaseSensitiveFileNames},getNewLine:function(){return i.newLine},getCurrentDirectory:va(function(){return i.getCurrentDirectory()}),getDefaultLibLocation:t,getDefaultLibFileName:function(e){return dA(t(),po(e))},fileExists:function(e){return i.fileExists(e)},readFile:function(e,t){return i.readFile(e,t)},directoryExists:function(e){return i.directoryExists(e)},getDirectories:function(e){return i.getDirectories(e)},readDirectory:function(e,t,r,n,a){return i.readDirectory(e,t,r,n,a)},realpath:LD(i,i.realpath),getEnvironmentVariable:LD(i,i.getEnvironmentVariable),trace:function(e){return i.write(e+i.newLine)},createDirectory:function(e){return i.createDirectory(e)},writeFile:function(e,t,r){return i.writeFile(e,t,r)},createHash:LD(i,i.createHash),createProgram:e||iW,storeFilesChangingSignatureDuringEmit:i.storeFilesChangingSignatureDuringEmit,now:LD(i,i.now)}}function eH(t,e,n,r){void 0===t&&(t=zn);function a(e){return t.write(e+t.newLine)}var i=$W(t,e);return Z(i,GW(t,r)),i.afterProgramCreate=function(e){var t=e.getCompilerOptions(),r=vf(t);HW(e,n,a,function(e){return i.onWatchStatusChange(ZL(LW(e),e),r,t,e)})},i}function tH(e,t,r){t(r),e.exit(1)}function rH(e){var t=e.configFileName,r=e.optionsToExtend,n=e.watchOptionsToExtend,a=e.extraFileExtensions,i=e.system,o=e.createProgram,s=e.reportDiagnostic,e=e.reportWatchStatus,c=s||DW(i),e=eH(i,o,c,e);return e.onUnRecoverableConfigFileDiagnostic=function(e){return tH(i,c,e)},e.configFileName=t,e.optionsToExtend=r,e.watchOptionsToExtend=n,e.extraFileExtensions=a,e}function nH(e){var t=e.rootFiles,r=e.options,n=e.watchOptions,a=e.projectReferences,i=e.system,o=e.createProgram,s=e.reportDiagnostic,e=e.reportWatchStatus,e=eH(i,o,s||DW(i),e);return e.rootFiles=t,e.options=r,e.watchOptions=n,e.projectReferences=a,e}function aH(e){var r=e.system||zn,n=e.host||(e.host=sH(e.options,r)),t=cH(e),a=KW(t,e.reportDiagnostic||DW(r),function(e){return n.trace&&n.trace(e)},e.reportErrorSummary||e.options.pretty?function(e,t){return r.write(RW(e,t,r.newLine,n))}:void 0);return e.afterProgramEmitAndDiagnostics&&e.afterProgramEmitAndDiagnostics(t),a}var iH=e({"src/compiler/watch.ts":function(){MK(),kW=zn?{getCurrentDirectory:function(){return zn.getCurrentDirectory()},getNewLine:function(){return zn.newLine},getCanonicalFileName:KD(zn.useCaseSensitiveFileNames)}:void 0,TW=[mA.Starting_compilation_in_watch_mode.code,mA.File_change_detected_Starting_incremental_compilation.code],SW={close:fi},wW=function(){return SW},CW={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",TypingInstallerLocationFile:"File location for typing installer",TypingInstallerLocationDirectory:"Directory location for typing installer"}}});function oH(e,t){var r,n=TU(e);if(n){if(t.getBuildInfo)r=t.getBuildInfo(n,e.configFilePath);else{e=t.readFile(n);if(!e)return;r=UU(n,e)}if(r&&r.version===oe&&r.program)return eW(r,n,t)}}function sH(e,t){void 0===t&&(t=zn);var r=AV(e,void 0,t);return r.createHash=LD(t,t.createHash),r.storeFilesChangingSignatureDuringEmit=t.storeFilesChangingSignatureDuringEmit,ZW(r),EV(r,function(e){return Ja(e,r.getCurrentDirectory(),r.getCanonicalFileName)}),r}function cH(e){var t=e.rootNames,r=e.options,n=e.configFileParsingDiagnostics,a=e.projectReferences,i=e.host;return(e.createProgram||iW)(t,r,i=i||sH(r),oH(r,i),n,a)}function uH(e,t,r,n,a,i,o,s){return RD(e)?nH({rootFiles:e,options:t,watchOptions:s,projectReferences:o,system:r,createProgram:n,reportDiagnostic:a,reportWatchStatus:i}):rH({configFileName:e,optionsToExtend:t,watchOptionsToExtend:o,extraFileExtensions:s,system:r,createProgram:n,reportDiagnostic:a,reportWatchStatus:i})}function _H(_){var o,l,e,t,r,u,s,d,n,f,p=_.extendedConfigCache,m=!1,y=new Map,v=!1,g=_.useCaseSensitiveFileNames(),h=_.getCurrentDirectory(),c=_.configFileName,a=_.optionsToExtend,i=void 0===a?{}:a,x=_.watchOptionsToExtend,b=_.extraFileExtensions,k=_.createProgram,T=_.rootFiles,S=_.options,w=_.watchOptions,C=_.projectReferences,N=!1,D=!1,A=void 0===c?void 0:YU(_,h,g),E=A||_,F=lq(_,E),P=G();c&&_.configFileParsingResult&&(se(_.configFileParsingResult),P=G()),$(mA.Starting_compilation_in_watch_mode),c&&!_.configFileParsingResult&&(P=vf(i),rA.assert(!T),oe(),P=G()),rA.assert(S),rA.assert(T);var I,a=XW(_,S),O=a.watchFile,L=a.watchDirectory,M=a.writeLog,R=KD(g);M("Current directory: ".concat(h," CaseSensitiveFileNames: ").concat(g)),c&&(I=O(c,function(){rA.assert(!!c),o=2,ne()},2e3,w,CW.ConfigFile));var j=QW(_,function(){return S},E);ZW(j);var B=j.getSourceFile;j.getSourceFile=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return Y.apply(void 0,__spreadArray([e,X(e)],__read(t),!1))},j.getSourceFileByPath=Y,j.getNewLine=function(){return P},j.fileExists=function(e){var t=X(e);if(Q(y.get(t)))return!1;return E.fileExists(e)},j.onReleaseOldSourceFile=function(e,t,r){var n=y.get(e.resolvedPath);void 0!==n&&(Q(n)?(d=d||[]).push(e.path):n.sourceFile===e&&(n.fileWatcher&&n.fileWatcher.close(),y.delete(e.resolvedPath),r||J.removeResolutionsOfFile(e.path)))},j.onReleaseParsedCommandLine=function(e){var t=X(e),e=null==u?void 0:u.get(t);if(!e)return;u.delete(t),e.watchedDirectories&&Wf(e.watchedDirectories,cV);null!=(e=e.watcher)&&e.close(),$U(t,s)},j.toPath=X,j.getCompilationSettings=function(){return S},j.useSourceOfProjectReferenceRedirect=LD(_,_.useSourceOfProjectReferenceRedirect),j.watchDirectoryOfFailedLookupLocation=function(e,t,r){return L(e,t,r,w,CW.FailedLookupLocations)},j.watchAffectingFileLocation=function(e,t){return O(e,t,2e3,w,CW.AffectingFileLocation)},j.watchTypeRootsDirectory=function(e,t,r){return L(e,t,r,w,CW.TypeRoots)},j.getCachedDirectoryStructureHost=function(){return A},j.scheduleInvalidateResolutionsOfFailedLookupLocations=function(){if(!_.setTimeout||!_.clearTimeout)return J.invalidateResolutionsOfFailedLookupLocations();var e=te();M("Scheduling invalidateFailedLookup".concat(e?", Cancelled earlier one":"")),r=_.setTimeout(re,250,"timerToInvalidateFailedLookupResolutions")},j.onInvalidatedResolution=ne,j.onChangedAutomaticTypeDirectiveNames=ne,j.fileIsOpen=ar,j.getCurrentProgram=H,j.writeLog=M,j.getParsedCommandLine=ce;var J=bW(j,c?lA(fA(c,h)):h,!1);j.resolveModuleNameLiterals=LD(_,_.resolveModuleNameLiterals),j.resolveModuleNames=LD(_,_.resolveModuleNames),j.resolveModuleNameLiterals||j.resolveModuleNames||(j.resolveModuleNameLiterals=J.resolveModuleNameLiterals.bind(J)),j.resolveTypeReferenceDirectiveReferences=LD(_,_.resolveTypeReferenceDirectiveReferences),j.resolveTypeReferenceDirectives=LD(_,_.resolveTypeReferenceDirectives),j.resolveTypeReferenceDirectiveReferences||j.resolveTypeReferenceDirectives||(j.resolveTypeReferenceDirectiveReferences=J.resolveTypeReferenceDirectiveReferences.bind(J)),j.resolveLibrary=_.resolveLibrary?_.resolveLibrary.bind(_):J.resolveLibrary.bind(J),j.getModuleResolutionCache=_.resolveModuleNameLiterals||_.resolveModuleNames?LD(_,_.getModuleResolutionCache):function(){return J.getModuleResolutionCache()};var z=!!(_.resolveModuleNameLiterals||_.resolveTypeReferenceDirectiveReferences||_.resolveModuleNames||_.resolveTypeReferenceDirectives)?LD(_,_.hasInvalidatedResolutions)||ya:ar,U=_.resolveLibrary?LD(_,_.hasInvalidatedLibResolutions)||ya:ar,V=oH(S,j);return K(),pe(),c&&ye(X(c),S,w,CW.ExtendedConfigFile),c?{getCurrentProgram:W,getProgram:ie,close:q}:{getCurrentProgram:W,getProgram:ie,updateRootFileNames:function(e){rA.assert(!c,"Cannot update root file names with config file watch mode"),T=e,ne()},close:q};function q(){te(),J.clear(),Wf(y,function(e){e&&e.fileWatcher&&(e.fileWatcher.close(),e.fileWatcher=void 0)}),I&&(I.close(),I=void 0),null!=p&&p.clear(),p=void 0,s&&(Wf(s,cV),s=void 0),e&&(Wf(e,cV),e=void 0),l&&(Wf(l,zf),l=void 0),u&&(Wf(u,function(e){var t;null!=(t=e.watcher)&&t.close(),e.watcher=void 0,e.watchedDirectories&&Wf(e.watchedDirectories,cV),e.watchedDirectories=void 0}),u=void 0)}function W(){return V}function H(){return V&&V.getProgramOrUndefined()}function K(){M("Synchronizing program"),rA.assert(S),rA.assert(T),te();var e=V;v&&(P=G(),e&&Fu(e.getCompilerOptions(),S)&&J.onChangesAffectModuleResolution());var t=J.createHasInvalidatedResolutions(z,U),r=t.hasInvalidatedResolutions,n=t.hasInvalidatedLibResolutions,a=EV(j,X),i=a.originalReadFile,o=a.originalFileExists,s=a.originalDirectoryExists,c=a.originalCreateDirectory,t=a.originalWriteFile,u=a.readFileWithCache;return aq(H(),T,S,function(e){return function(e,t){var r=y.get(e);if(!r)return;if(r.version)return r.version;e=t(e);return void 0!==e?YW(j,e):void 0}(e,u)},function(e){return j.fileExists(e)},r,n,ee,ce,C)?D&&(m&&$(mA.File_change_detected_Starting_incremental_compilation),V=k(void 0,void 0,j,V,f,C),D=!1):(m&&$(mA.File_change_detected_Starting_incremental_compilation),function(e,t){var r,n;M("CreatingProgramWith::"),M("  roots: ".concat(JSON.stringify(T))),M("  options: ".concat(JSON.stringify(S))),C&&M("  projectReferences: ".concat(JSON.stringify(C)));var a=v||!H();if(D=v=!1,J.startCachingPerDirectoryResolution(),j.hasInvalidatedResolutions=e,j.hasInvalidatedLibResolutions=t,j.hasChangedAutomaticTypeDirectiveNames=ee,t=H(),V=k(T,S,j,V,f,C),J.finishCachingPerDirectoryResolution(V.getProgram(),t),rV(V.getProgram(),l=l||new Map,de),a&&J.updateTypeRootsWatch(),d){try{for(var i=__values(d),o=i.next();!o.done;o=i.next()){var s=o.value;l.has(s)||y.delete(s)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}d=void 0}}(r,n)),m=!1,_.afterProgramCreate&&e!==V&&_.afterProgramCreate(V),j.readFile=i,j.fileExists=o,j.directoryExists=s,j.createDirectory=c,j.writeFile=t,V}function G(){return vf(S||i)}function X(e){return Ja(e,h,R)}function Q(e){return"boolean"==typeof e}function Y(e,t,r,n,a){var i=y.get(t);if(!Q(i)){var o="object"==typeof r?r.impliedNodeFormat:void 0;if(void 0===i||a||"boolean"==typeof i.version||i.sourceFile.impliedNodeFormat!==o){n=B(e,r,n);return i?n?(i.sourceFile=n,i.version=n.version,i.fileWatcher||(i.fileWatcher=ue(t,e,_e,250,w,CW.SourceFile))):(i.fileWatcher&&i.fileWatcher.close(),y.set(t,!1)):n?(e=ue(t,e,_e,250,w,CW.SourceFile),y.set(t,{sourceFile:n,version:n.version,fileWatcher:e})):y.set(t,!1),n}return i.sourceFile}}function Z(e){var t=y.get(e);void 0!==t&&(Q(t)?y.set(e,{version:!1}):t.version=!1)}function $(e){_.onWatchStatusChange&&_.onWatchStatusChange(ZL(e),P,S||i)}function ee(){return J.hasChangedAutomaticTypeDirectiveNames()}function te(){return!!r&&(_.clearTimeout(r),!(r=void 0))}function re(){r=void 0,J.invalidateResolutionsOfFailedLookupLocations()&&ne()}function ne(){_.setTimeout&&_.clearTimeout&&(t&&_.clearTimeout(t),M("Scheduling update"),t=_.setTimeout(ae,250,"timerToUpdateProgram"))}function ae(){m=!(t=void 0),ie()}function ie(){switch(o){case 1:null!=St&&St.logStartUpdateProgram("PartialConfigReload"),M("Reloading new file names and options"),rA.assert(S),rA.assert(c),o=0,ST(T=JT(S.configFile.configFileSpecs,fA(lA(c),h),S,F,b),fA(c,h),S.configFile.configFileSpecs,f,N)&&(D=!0),K();break;case 2:null!=St&&St.logStartUpdateProgram("FullConfigReload"),rA.assert(c),M("Reloading config file: ".concat(c)),o=0,A&&A.clearCache(),oe(),v=!0,K(),pe(),ye(X(c),S,w,CW.ExtendedConfigFile);break;default:null!=St&&St.logStartUpdateProgram("SynchronizeProgram"),K()}return null!=St&&St.logStopUpdateProgram("Done"),V}function oe(){rA.assert(c),se(Hk(c,i,F,p=p||new Map,x,b))}function se(e){T=e.fileNames,S=e.options,w=e.watchOptions,C=e.projectReferences,n=e.wildcardDirectories,f=iq(e).slice(),N=TT(e.raw),D=!0}function ce(e){var t=X(e),r=null==u?void 0:u.get(t);if(r){if(!r.reloadLevel)return r.parsedCommandLine;if(r.parsedCommandLine&&1===r.reloadLevel&&!_.getParsedCommandLine){M("Reloading new file names and options"),rA.assert(S);var n=JT(r.parsedCommandLine.options.configFile.configFileSpecs,fA(lA(e),h),S,F);return r.parsedCommandLine=__assign(__assign({},r.parsedCommandLine),{fileNames:n}),r.reloadLevel=void 0,r.parsedCommandLine}}M("Loading config file: ".concat(e));var a,i,o,s,c,n=_.getParsedCommandLine?_.getParsedCommandLine(e):function(e){var t=F.onUnRecoverableConfigFileDiagnostic;F.onUnRecoverableConfigFileDiagnostic=fi;e=Hk(e,void 0,F,p=p||new Map,x);return F.onUnRecoverableConfigFileDiagnostic=t,e}(e);return r?(r.parsedCommandLine=n,r.reloadLevel=void 0):(u=u||new Map).set(t,r={parsedCommandLine:n}),a=e,i=t,(o=r).watcher||(o.watcher=O(a,function(e,t){le(a,i,t);t=null==u?void 0:u.get(i);t&&(t.reloadLevel=2),J.removeResolutionsFromProjectReferenceRedirects(i),ne()},2e3,(null==(s=o.parsedCommandLine)?void 0:s.watchOptions)||w,CW.ConfigFileOfReferencedProject)),null!=(s=o.parsedCommandLine)&&s.wildcardDirectories?nV(o.watchedDirectories||(o.watchedDirectories=new Map),new Map(Object.entries(null==(c=o.parsedCommandLine)?void 0:c.wildcardDirectories)),function(n,e){return L(n,function(e){var t=X(e);A&&A.addOrDeleteFileOrDirectory(e,t),Z(t);var r=null==u?void 0:u.get(i);null!=r&&r.parsedCommandLine&&(aV({watchedDirPath:X(n),fileOrDirectory:e,fileOrDirectoryPath:t,configFileName:a,options:r.parsedCommandLine.options,program:r.parsedCommandLine.fileNames,currentDirectory:h,useCaseSensitiveFileNames:g,writeLog:M,toPath:X})||2!==r.reloadLevel&&(r.reloadLevel=1,ne()))},e,(null==(e=o.parsedCommandLine)?void 0:e.watchOptions)||w,CW.WildcardDirectoryOfReferencedProject)}):o.watchedDirectories&&(Wf(o.watchedDirectories,cV),o.watchedDirectories=void 0),ye(i,null==(c=o.parsedCommandLine)?void 0:c.options,(null==(c=o.parsedCommandLine)?void 0:c.watchOptions)||w,CW.ExtendedConfigOfReferencedProject),n}function ue(r,e,n,t,a,i){return O(e,function(e,t){return n(e,t,r)},t,a,i)}function _e(e,t,r){le(e,r,t),2===t&&y.has(r)&&J.invalidateResolutionOfFile(r),Z(r),ne()}function le(e,t,r){A&&A.addOrDeleteFile(e,t,r)}function de(e){return null!=u&&u.has(e)?SW:ue(e,e,fe,500,w,CW.MissingFile)}function fe(e,t,r){le(e,r,t),0===t&&l.has(r)&&(l.get(r).close(),l.delete(r),Z(r),ne())}function pe(){n?nV(e=e||new Map,new Map(Object.entries(n)),me):e&&Wf(e,cV)}function me(r,e){return L(r,function(e){rA.assert(c),rA.assert(S);var t=X(e);A&&A.addOrDeleteFileOrDirectory(e,t),Z(t),aV({watchedDirPath:X(r),fileOrDirectory:e,fileOrDirectoryPath:t,configFileName:c,extraFileExtensions:b,options:S,program:V||T,currentDirectory:h,useCaseSensitiveFileNames:g,writeLog:M,toPath:X})||2!==o&&(o=1,ne())},e,w,CW.WildcardDirectory)}function ye(e,t,a,i){ZU(e,t,s=s||new Map,function(r,n){return O(r,function(e,t){le(r,n,t),p&&eV(p,n,X);t=null==(t=s.get(n))?void 0:t.projects;null!=t&&t.size&&t.forEach(function(e){var t;c&&X(c)===e?o=2:((t=null==u?void 0:u.get(e))&&(t.reloadLevel=2),J.removeResolutionsFromProjectReferenceRedirects(e)),ne()})},2e3,a,i)},X)}}var lH,dH=e({"src/compiler/watchPublic.ts":function(){MK()}});function fH(e){return uA(e,".json")?e:dA(e,"tsconfig.json")}var pH,mH,yH,vH=e({"src/compiler/tsbuild.ts":function(){MK(),lH=function(e){return e[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",e}(lH||{})}});function gH(e,t){return r=t,n=function(){return new Map},(e=(t=e).get(r))||(a=n(),t.set(r,a)),e||a;var r,n,a}function hH(e){return e.now?e.now():new Date}function xH(e){return!!e&&!!e.buildOrder}function bH(e){return xH(e)?e.buildOrder:e}function kH(r,n){return function(e){var t=n?"[".concat(LV(EW(r),"[90m"),"] "):"".concat(EW(r)," - ");t+="".concat(BV(e.messageText,r.newLine)).concat(r.newLine+r.newLine),r.write(t)}}function TH(r,e,t,n){e=$W(r,e);return e.getModifiedTime=r.getModifiedTime?function(e){return r.getModifiedTime(e)}:se,e.setModifiedTime=r.setModifiedTime?function(e,t){return r.setModifiedTime(e,t)}:fi,e.deleteFile=r.deleteFile?function(e){return r.deleteFile(e)}:fi,e.reportDiagnostic=t||DW(r),e.reportSolutionBuilderStatus=n||kH(r),e.now=LD(r,r.now),e}function SH(e,t,r,n,a){void 0===e&&(e=zn);n=TH(e,t,r,n);return n.reportErrorSummary=a,n}function wH(e,t,r,n,a){void 0===e&&(e=zn);n=TH(e,t,r,n);return Z(n,GW(e,a)),n}function CH(e,t,r){return hK(!1,e,t,r)}function NH(e,t,r,n){return hK(!0,e,t,r,n)}function DH(e,t,r,n,a){var i,o,s,c,u,_=t,l=t,d=(i=n,o={},Gb.forEach(function(e){ma(i,e.name)&&(o[e.name]=i[e.name])}),o),f=QW(_,function(){return y.projectCompilerOptions});ZW(f),f.getParsedCommandLine=function(e){return PH(y,e,EH(y,e))},f.resolveModuleNameLiterals=LD(_,_.resolveModuleNameLiterals),f.resolveTypeReferenceDirectiveReferences=LD(_,_.resolveTypeReferenceDirectiveReferences),f.resolveLibrary=LD(_,_.resolveLibrary),f.resolveModuleNames=LD(_,_.resolveModuleNames),f.resolveTypeReferenceDirectives=LD(_,_.resolveTypeReferenceDirectives),f.getModuleResolutionCache=LD(_,_.getModuleResolutionCache),f.resolveModuleNameLiterals||f.resolveModuleNames||(s=LS(f.getCurrentDirectory(),f.getCanonicalFileName),f.resolveModuleNameLiterals=function(e,t,r,n,a){return XV(e,t,r,n,a,_,s,HV)},f.getModuleResolutionCache=function(){return s}),f.resolveTypeReferenceDirectiveReferences||f.resolveTypeReferenceDirectives||(c=MS(f.getCurrentDirectory(),f.getCanonicalFileName,void 0,null==s?void 0:s.getPackageJsonInfoCache()),f.resolveTypeReferenceDirectiveReferences=function(e,t,r,n,a){return XV(e,t,r,n,a,_,c,GV)}),f.resolveLibrary||(u=LS(f.getCurrentDirectory(),f.getCanonicalFileName,void 0,null==s?void 0:s.getPackageJsonInfoCache()),f.resolveLibrary=function(e,t,r){return jS(e,t,r,_,u)}),f.getBuildInfo=function(e,t){return rK(y,e,EH(y,t),void 0)};var p=XW(l,n),m=p.watchFile,t=p.watchDirectory,p=p.writeLog,y={host:_,hostWithWatch:l,parseConfigFileHost:lq(_),write:LD(_,_.trace),options:n,baseCompilerOptions:d,rootNames:r,baseWatchOptions:a,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:f,moduleResolutionCache:s,typeReferenceDirectiveResolutionCache:c,libraryResolutionCache:u,buildOrder:void 0,readFileWithCache:function(e){return _.readFile(e)},projectCompilerOptions:d,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:m,watchDirectory:t,writeLog:p};return y}function AH(e,t){return Ja(t,e.compilerHost.getCurrentDirectory(),e.compilerHost.getCanonicalFileName)}function EH(e,t){var r=e.resolvedConfigFilePaths,n=r.get(t);if(void 0!==n)return n;e=AH(e,t);return r.set(t,e),e}function FH(e){return e.options}function PH(e,t,r){var n,a=e.configFileCache,i=a.get(r);if(i)return FH(i)?i:void 0;nA("SolutionBuilder::beforeConfigFileParsing");var o,s=e.parseConfigFileHost,c=e.baseCompilerOptions,u=e.baseWatchOptions,i=e.extendedConfigCache,e=e.host;return e.getParsedCommandLine?(o=e.getParsedCommandLine(t))||(n=ZL(mA.File_0_not_found,t)):(s.onUnRecoverableConfigFileDiagnostic=function(e){return n=e},o=Hk(t,c,s,i,u),s.onUnRecoverableConfigFileDiagnostic=fi),a.set(r,o||n),nA("SolutionBuilder::afterConfigFileParsing"),aA("SolutionBuilder::Config file parsing","SolutionBuilder::beforeConfigFileParsing","SolutionBuilder::afterConfigFileParsing"),o}function IH(e,t){return fH(Ra(e.compilerHost.getCurrentDirectory(),t))}function OH(l,e){var t,r,d,f,p=new Map,m=new Map,y=[];try{for(var n=__values(e),a=n.next();!a.done;a=n.next())!function e(t,r){var n,a;var i=EH(l,t);if(m.has(i))return;if(p.has(i))return void(r||(f=f||[]).push(ZL(mA.Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0,y.join("\r\n"))));p.set(i,!0);y.push(t);var o=PH(l,t,i);if(o&&o.projectReferences)try{for(var s=__values(o.projectReferences),c=s.next();!c.done;c=s.next()){var u=c.value,_=IH(l,u.path);e(_,r||u.circular)}}catch(e){n={error:e}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(n)throw n.error}}y.pop();m.set(i,!0);(d=d||[]).push(t)}(a.value)}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return f?{buildOrder:d||WN,circularDiagnostics:f}:d||WN}function LH(e){return e.buildOrder||function(t){var e=OH(t,t.rootNames.map(function(e){return IH(t,e)}));t.resolvedConfigFilePaths.clear();var r=new Map(bH(e).map(function(e){return[EH(t,e),!0]})),n={onDeleteValue:fi};Hf(t.configFileCache,r,n),Hf(t.projectStatus,r,n),Hf(t.builderPrograms,r,n),Hf(t.diagnostics,r,n),Hf(t.projectPendingBuild,r,n),Hf(t.projectErrorsReported,r,n),Hf(t.buildInfoCache,r,n),Hf(t.outputTimeStamps,r,n),t.watch&&(Hf(t.allWatchedConfigFiles,r,{onDeleteValue:zf}),t.allWatchedExtendedConfigFiles.forEach(function(t){t.projects.forEach(function(e){r.has(e)||t.projects.delete(e)}),t.close()}),Hf(t.allWatchedWildcardDirectories,r,{onDeleteValue:function(e){return e.forEach(cV)}}),Hf(t.allWatchedInputFiles,r,{onDeleteValue:function(e){return e.forEach(zf)}}),Hf(t.allWatchedPackageJsonFiles,r,{onDeleteValue:function(e){return e.forEach(zf)}}));return t.buildOrder=e}(e)}function MH(t,e,r){var n=e&&IH(t,e),e=LH(t);if(xH(e))return e;if(n){var a=EH(t,n);if(-1===ZN(e,function(e){return EH(t,e)===a}))return}e=n?OH(t,[n]):e;return rA.assert(!xH(e)),rA.assert(!r||void 0!==n),rA.assert(!r||e[e.length-1]===n),r?e.slice(0,e.length-1):e}function RH(t){t.cache&&jH(t);var r=t.compilerHost,e=t.host,n=t.readFileWithCache,a=r.getSourceFile,i=EV(e,function(e){return AH(t,e)},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a.call.apply(a,__spreadArray([r],__read(e),!1))}),o=i.originalReadFile,s=i.originalFileExists,c=i.originalDirectoryExists,u=i.originalCreateDirectory,_=i.originalWriteFile,e=i.getSourceFileWithCache,i=i.readFileWithCache;t.readFileWithCache=i,r.getSourceFile=e,t.cache={originalReadFile:o,originalFileExists:s,originalDirectoryExists:c,originalCreateDirectory:u,originalWriteFile:_,originalReadFileWithCache:n,originalGetSourceFile:a}}function jH(e){var t,r,n,a,i,o,s;e.cache&&(t=e.cache,r=e.host,n=e.compilerHost,a=e.extendedConfigCache,i=e.moduleResolutionCache,o=e.typeReferenceDirectiveResolutionCache,s=e.libraryResolutionCache,r.readFile=t.originalReadFile,r.fileExists=t.originalFileExists,r.directoryExists=t.originalDirectoryExists,r.createDirectory=t.originalCreateDirectory,r.writeFile=t.originalWriteFile,n.getSourceFile=t.originalGetSourceFile,e.readFileWithCache=t.originalReadFileWithCache,a.clear(),null!=i&&i.clear(),null!=o&&o.clear(),null!=s&&s.clear(),e.cache=void 0)}function BH(e,t){e.projectStatus.delete(t),e.diagnostics.delete(t)}function JH(e,t,r){var n=e.projectPendingBuild,e=n.get(t);(void 0===e||e<r)&&n.set(t,r)}function zH(t,e){t.allProjectBuildPending&&(t.allProjectBuildPending=!1,t.options.watch&&kK(t,mA.Starting_compilation_in_watch_mode),RH(t),bH(LH(t)).forEach(function(e){return t.projectPendingBuild.set(EH(t,e),0)}),e&&e.throwIfCancellationRequested())}function UH(e,t){return e.projectPendingBuild.delete(t),e.diagnostics.has(t)?1:0}function VH(a,y,v,g,l,h,d){var x,b,f,k=0===a?0:4;return 0===a?{kind:a,project:v,projectPath:g,buildOrder:d,getCompilerOptions:function(){return h.options},getCurrentDirectory:function(){return y.compilerHost.getCurrentDirectory()},getBuilderProgram:function(){return s(ir)},getProgram:function(){return s(function(e){return e.getProgramOrUndefined()})},getSourceFile:function(t){return s(function(e){return e.getSourceFile(t)})},getSourceFiles:function(){return n(function(e){return e.getSourceFiles()})},getOptionsDiagnostics:function(t){return n(function(e){return e.getOptionsDiagnostics(t)})},getGlobalDiagnostics:function(t){return n(function(e){return e.getGlobalDiagnostics(t)})},getConfigFileParsingDiagnostics:function(){return n(function(e){return e.getConfigFileParsingDiagnostics()})},getSyntacticDiagnostics:function(t,r){return n(function(e){return e.getSyntacticDiagnostics(t,r)})},getAllDependencies:function(t){return n(function(e){return e.getAllDependencies(t)})},getSemanticDiagnostics:function(t,r){return n(function(e){return e.getSemanticDiagnostics(t,r)})},getSemanticDiagnosticsOfNextAffectedFile:function(t,r){return s(function(e){return e.getSemanticDiagnosticsOfNextAffectedFile&&e.getSemanticDiagnosticsOfNextAffectedFile(t,r)})},emit:function(r,n,a,i,o){return r||i?s(function(e){var t;return e.emit(r,n,a,i,o||(null==(e=(t=y.host).getCustomTransformers)?void 0:e.call(t,v)))}):(m(2,a),5===k?_(n,a):3===k?u(n,a,o):void 0)},done:e}:{kind:a,project:v,projectPath:g,buildOrder:d,getCompilerOptions:function(){return h.options},getCurrentDirectory:function(){return y.compilerHost.getCurrentDirectory()},emit:function(e,t){return 4!==k?f:p(e,t)},done:e};function e(e,t,r){return m(8,e,t,r),nA(0===a?"SolutionBuilder::Projects built":"SolutionBuilder::Bundles updated"),UH(y,g)}function s(e){return m(0),x&&e(x)}function n(e){return s(e)||WN}function o(){var e;if(rA.assert(void 0===x),y.options.dry)return bK(y,mA.A_non_dry_build_would_build_project_0,v),b=1,void(k=7);if(y.options.verbose&&bK(y,mA.Building_project_0,v),0===h.fileNames.length)return SK(y,g,iq(h)),b=0,void(k=7);var t=y.host,r=y.compilerHost;y.projectCompilerOptions=h.options,null!=(e=y.moduleResolutionCache)&&e.update(h.options),null!=(e=y.typeReferenceDirectiveResolutionCache)&&e.update(h.options),x=t.createProgram(h.fileNames,h.options,r,function(e,t,r){var n=e.options,a=e.builderPrograms,e=e.compilerHost;if(n.force)return;t=a.get(t);return t||oH(r.options,e)}(y,g,h),iq(h),h.projectReferences),y.watch&&(y.lastCachedPackageJsonLookups.set(g,y.moduleResolutionCache&&iD(y.moduleResolutionCache.getPackageJsonInfoCache().entries(),function(e){var t=__read(e,2),e=t[0],t=t[1];return[y.host.realpath&&t?AH(y,y.host.realpath(e)):e,t]})),y.builderPrograms.set(g,x)),k++}function c(e,t,r){e.length?(r=XH(y,g,x,h,e,t,r),b=r.buildResult,k=r.step):k++}function u(o,e,t){var r;rA.assertIsDefined(x),rA.assert(3===k);var n,a=x.saveEmitState(),s=[],i=HW(x,function(e){return(n=n||[]).push(e)},void 0,void 0,function(e,t,r,n,a,i){return s.push({name:e,text:t,writeByteOrderMark:r,data:i})},e,!1,t||(null==(t=(i=y.host).getCustomTransformers)?void 0:t.call(i,v))).emitResult;if(n)return x.restoreEmitState(a),r=XH(y,g,x,h,n,32,"Declaration file"),b=r.buildResult,k=r.step,{emitSkipped:!0,diagnostics:i.diagnostics};var c,u,a=y.host,_=y.compilerHost,l=null!=(r=x.hasChangedEmitSignature)&&r.call(x)?0:2,d=JO(),f=new Map,p=x.getCompilerOptions(),m=Mp(p);return s.forEach(function(e){var t=e.name,r=e.text,n=e.writeByteOrderMark,a=e.data,i=AH(y,t);f.set(AH(y,t),t),null!=a&&a.buildInfo&&eK(y,a.buildInfo,g,p,l);e=null!=a&&a.differsOnlyInMap?Wn(y.host,t):void 0;Id(o?{writeFile:o}:_,d,t,r,n),null!=a&&a.differsOnlyInMap?y.host.setModifiedTime(t,e):!m&&y.watch&&(c=c||$H(y,g)).set(i,u=u||hH(y.host))}),T(d,f,s.length?s[0].name:jU(h,!a.useCaseSensitiveFileNames()),l),i}function _(o,e){rA.assertIsDefined(x),rA.assert(5===k);e=x.emitBuildInfo(function(e,t,r,n,a,i){null!=i&&i.buildInfo&&eK(y,i.buildInfo,g,x.getCompilerOptions(),2),o?o(e,t,r,n,a,i):y.compilerHost.writeFile(e,t,r,n,a,i)},e);return e.diagnostics.length&&(TK(y,e.diagnostics),y.diagnostics.set(g,__spreadArray(__spreadArray([],__read(y.diagnostics.get(g)),!1),__read(e.diagnostics),!1)),b&=64),e.emittedFiles&&y.write&&e.emittedFiles.forEach(function(e){return KH(y,h,e)}),GH(y,x,h),k=7,e}function T(e,t,r,n){var a=e.getDiagnostics();return a.length?(e=XH(y,g,x,h,a,64,"Emit"),b=e.buildResult,k=e.step):(y.write&&t.forEach(function(e){return KH(y,h,e)}),oK(y,h,g,mA.Updating_unchanged_output_timestamps_of_project_0,t),y.diagnostics.delete(g),y.projectStatus.set(g,{type:1,oldestOutputFileName:r}),GH(y,x,h),k=7,b=n),a}function p(i,e){var t,r;if(rA.assert(1===a),y.options.dry)return bK(y,mA.A_non_dry_build_would_update_output_of_project_0,v),b=1,void(k=7);y.options.verbose&&bK(y,mA.Updating_output_of_project_0,v);var o=y.compilerHost;y.projectCompilerOptions=h.options,null!=(r=(t=y.host).beforeEmitBundle)&&r.call(t,h);var n=VU(h,o,function(e){e=IH(y,e.path);return PH(y,e,EH(y,e))},e||(null==(e=(n=y.host).getCustomTransformers)?void 0:e.call(n,v)));if(jD(n))return bK(y,mA.Cannot_update_output_of_project_0_because_there_was_error_reading_file_1,v,xK(y,n)),k=6,f=VH(0,y,v,g,l,h,d);rA.assert(!!n.length);var s=JO(),c=new Map,u=2,_=y.buildInfoCache.get(g).buildInfo||void 0;return n.forEach(function(e){var t=e.name,r=e.text,n=e.writeByteOrderMark,a=e.data;c.set(AH(y,t),t),null!=a&&a.buildInfo&&((null==(e=a.buildInfo.program)?void 0:e.outSignature)!==(null==(e=null==_?void 0:_.program)?void 0:e.outSignature)&&(u&=-3),eK(y,a.buildInfo,g,h.options,u)),Id(i?{writeFile:i}:o,s,t,r,n)}),{emitSkipped:!1,diagnostics:T(s,c,n[0].name,u)}}function m(e,t,r,n){for(;k<=e&&k<8;){var a=k;switch(k){case 0:o();break;case 1:i=t,rA.assertIsDefined(x),c(__spreadArray(__spreadArray(__spreadArray(__spreadArray([],__read(x.getConfigFileParsingDiagnostics()),!1),__read(x.getOptionsDiagnostics(i)),!1),__read(x.getGlobalDiagnostics(i)),!1),__read(x.getSyntacticDiagnostics(void 0,i)),!1),8,"Syntactic");break;case 2:i=t,c(rA.checkDefined(x).getSemanticDiagnostics(void 0,i),16,"Semantic");break;case 3:u(r,t,n);break;case 5:_(r,t);break;case 4:p(r,n);break;case 6:rA.checkDefined(f).done(t,r,n),k=8;break;case 7:!function(e,t,r,n,a,i,o){var s,c;if(!(124&o)&&a.options.composite)for(var u=n+1;u<i.length;u++){var _=i[u],l=EH(e,_);if(!e.projectPendingBuild.has(l)){var d=PH(e,_,l);if(d&&d.projectReferences)try{for(var f=(s=void 0,__values(d.projectReferences)),p=f.next();!p.done;p=f.next()){var m=p.value,y=IH(e,m.path);if(EH(e,y)===r){var v=e.projectStatus.get(l);if(v)switch(v.type){case 1:if(2&o){m.prepend?e.projectStatus.set(l,{type:3,outOfDateOutputFileName:v.oldestOutputFileName,newerProjectName:t}):v.type=2;break}case 15:case 2:case 3:2&o||e.projectStatus.set(l,{type:7,outOfDateOutputFileName:3===v.type?v.outOfDateOutputFileName:v.oldestOutputFileName,newerProjectName:t});break;case 12:EH(e,IH(e,v.upstreamProjectName))===r&&BH(e,l)}JH(e,l,0);break}}}catch(e){s={error:e}}finally{try{p&&!p.done&&(c=f.return)&&c.call(f)}finally{if(s)throw s.error}}}}}(y,v,g,l,h,d,rA.checkDefined(b)),k++}rA.assert(a<k)}var i}}function qH(e,t,r){if(e.projectPendingBuild.size&&!xH(t))for(var n,a,i=e.options,o=e.projectPendingBuild,s=0;s<t.length;s++){var c=t[s],u=EH(e,c),_=e.projectPendingBuild.get(u);if(void 0!==_){r&&(r=!1,NK(e,t));var l=PH(e,c,u);if(l){2===_?(pK(e,c,u,l),mK(e,u,l),yK(e,c,u,l),vK(e,c,u,l),gK(e,c,u,l)):1===_&&(l.fileNames=JT(l.options.configFile.configFileSpecs,lA(c),l.options,e.parseConfigFileHost),ST(l.fileNames,c,l.options.configFile.configFileSpecs,l.errors,TT(l.raw)),vK(e,c,u,l),gK(e,c,u,l));var d=iK(e,l,u);if(!i.force){if(1===d.type){DK(e,c,d),SK(e,u,iq(l)),o.delete(u),i.dry&&bK(e,mA.Project_0_is_up_to_date,c);continue}if(2===d.type||15===d.type)return SK(e,u,iq(l)),{kind:2,status:d,project:c,projectPath:u,projectIndex:s,config:l}}if(12!==d.type){if(16!==d.type)return{kind:(n=d,a=l,_=(_=e).options,3!==n.type||_.force||(0===a.fileNames.length||iq(a).length||!Mp(a.options))?0:1),status:d,project:c,projectPath:u,projectIndex:s,config:l};DK(e,c,d),SK(e,u,iq(l)),o.delete(u)}else DK(e,c,d),SK(e,u,iq(l)),o.delete(u),i.verbose&&bK(e,d.upstreamProjectBlocked?mA.Skipping_build_of_project_0_because_its_dependency_1_was_not_built:mA.Skipping_build_of_project_0_because_its_dependency_1_has_errors,c,d.upstreamProjectName)}else wK(e,u),o.delete(u)}}}function WH(e,t,r){return DK(e,t.project,t.status),2!==t.kind?VH(t.kind,e,t.project,t.projectPath,t.projectIndex,t.config,r):(n=e,e=t.project,a=t.projectPath,i=t.config,o=!0,{kind:2,project:e,projectPath:a,buildOrder:r,getCompilerOptions:function(){return i.options},getCurrentDirectory:function(){return n.compilerHost.getCurrentDirectory()},updateOutputFileStatmps:function(){sK(n,i,a),o=!1},done:function(){return o&&sK(n,i,a),nA("SolutionBuilder::Timestamps only updates"),UH(n,a)}});var n,a,i,o}function HH(e,t,r){r=qH(e,t,r);return r&&WH(e,r,t)}function KH(e,t,r){e=e.write;e&&t.options.listEmittedFiles&&e("TSFILE: ".concat(r))}function GH(e,t,r){t?(e.write&&BW(t,e.write),e.host.afterProgramEmitAndDiagnostics&&e.host.afterProgramEmitAndDiagnostics(t),t.releaseProgram()):e.host.afterEmitBundle&&e.host.afterEmitBundle(r),e.projectCompilerOptions=e.baseCompilerOptions}function XH(e,t,r,n,a,i,o){var s=r&&!GO(r.getCompilerOptions());return SK(e,t,a),e.projectStatus.set(t,{type:0,reason:"".concat(o," errors")}),s?{buildResult:i,step:5}:(GH(e,r,n),{buildResult:i,step:7})}function QH(e){return!!e.watcher}function YH(e,t){var r=AH(e,t),n=e.filesWatched.get(r);if(e.watch&&n){if(!QH(n))return n;if(n.modifiedTime)return n.modifiedTime}t=Wn(e.host,t);return e.watch&&(n?n.modifiedTime=t:e.filesWatched.set(r,t)),t}function ZH(a,e,t,r,n,i,o){var s=AH(a,e),c=a.filesWatched.get(s);return c&&QH(c)?c.callbacks.push(t):(o=a.watchFile(e,function(t,r,n){var e=rA.checkDefined(a.filesWatched.get(s));rA.assert(QH(e)),e.modifiedTime=n,e.callbacks.forEach(function(e){return e(t,r,n)})},r,n,i,o),a.filesWatched.set(s,{callbacks:[t],watcher:o,modifiedTime:c})),{close:function(){var e=rA.checkDefined(a.filesWatched.get(s));rA.assert(QH(e)),1===e.callbacks.length?(a.filesWatched.delete(s),cV(e)):Pe(e.callbacks,t)}}}function $H(e,t){if(e.watch){var r=e.outputTimeStamps.get(t);return r||e.outputTimeStamps.set(t,r=new Map),r}}function eK(e,t,r,n,a){var i=TU(n),o=tK(e,i,r),n=hH(e.host);o?(o.buildInfo=t,o.modifiedTime=n,2&a||(o.latestChangedDtsTime=n)):e.buildInfoCache.set(r,{path:AH(e,i),buildInfo:t,modifiedTime:n,latestChangedDtsTime:2&a?void 0:n})}function tK(e,t,r){t=AH(e,t),r=e.buildInfoCache.get(r);return(null==r?void 0:r.path)===t?r:void 0}function rK(e,t,r,n){var a=AH(e,t),i=e.buildInfoCache.get(r);if(void 0!==i&&i.path===a)return i.buildInfo||void 0;i=e.readFileWithCache(t),i=i?UU(t,i):void 0;return e.buildInfoCache.set(r,{path:a,buildInfo:i||!1,modifiedTime:n||On}),i}function nK(e,t,r,n){if(r<YH(e,t))return{type:6,outOfDateOutputFileName:n,newerInputFileName:t}}function aK(t,e,r){var n,a,i,o,s,c,u,_,l,d,f;if(!e.fileNames.length&&!TT(e.raw))return{type:16};var p=!!t.options.force;if(e.projectReferences){t.projectStatus.set(r,{type:13});try{for(var m=__values(e.projectReferences),y=m.next();!y.done;y=m.next()){var v=fq(ne=y.value),g=EH(t,v),h=PH(t,v,g);if(13!==(ae=iK(t,h,g)).type&&16!==ae.type){if(0===ae.type||12===ae.type)return{type:12,upstreamProjectName:ne.path,upstreamProjectBlocked:12===ae.type};if(1!==ae.type)return{type:11,upstreamProjectName:ne.path};p||(f=f||[]).push({ref:ne,refStatus:ae,resolvedRefPath:g,resolvedConfig:h})}}}catch(e){n={error:e}}finally{try{y&&!y.done&&(a=m.return)&&a.call(m)}finally{if(n)throw n.error}}}if(p)return{type:17};var x,b,k,T=t.host,S=TU(e.options),w=mH;if(S){var C,N=tK(t,S,r);if((C=(null==N?void 0:N.modifiedTime)||Wn(T,S))===On)return N||t.buildInfoCache.set(r,{path:AH(t,S),buildInfo:!1,modifiedTime:C}),{type:4,missingOutputFileName:S};var D=rK(t,S,r,C);if(!D)return{type:5,fileName:S};if((D.bundle||D.program)&&D.version!==oe)return{type:14,version:D.version};if(D.program){if(null!=(N=D.program.changeFileSet)&&N.length||(e.options.noEmit?dD(D.program.semanticDiagnosticsPerFile,RD):null!=(N=D.program.affectedFilesPendingEmit)&&N.length))return{type:8,buildInfoFile:S};if(!e.options.noEmit&&wq(e.options,D.program.options||{}))return{type:9,buildInfoFile:S};b=D.program}w=C,x=S}var A=void 0,E=pH,F=!1,P=new Set;try{for(var I=__values(e.fileNames),O=I.next();!O.done;O=I.next()){var L=O.value,M=YH(t,L);if(M===On)return{type:0,reason:"".concat(L," does not exist")};if(C&&C<M){var R,j=void 0,B=void 0;if(b&&(B=void 0!==(R=(j=(k=k||tW(b,S,T)).fileInfos.get(AH(t,L)))?t.readFileWithCache(L):void 0)?YW(T,R):void 0,j&&j===B&&(F=!0)),!j||j!==B)return{type:6,outOfDateOutputFileName:S,newerInputFileName:L}}E<M&&(A=L,E=M),b&&P.add(AH(t,L))}}catch(e){i={error:e}}finally{try{O&&!O.done&&(o=I.return)&&o.call(I)}finally{if(i)throw i.error}}if(b){k=k||tW(b,S,T);try{for(var J=__values(k.roots),z=J.next();!z.done;z=J.next()){var U=z.value;if(!P.has(U))return{type:10,buildInfoFile:S,inputFile:U}}}catch(e){s={error:e}}finally{try{z&&!z.done&&(c=J.return)&&c.call(J)}finally{if(s)throw s.error}}}if(!S){var V=MU(e,!T.useCaseSensitiveFileNames()),q=$H(t,r);try{for(var W=__values(V),H=W.next();!H.done;H=W.next()){var K=H.value,G=AH(t,K),X=null==q?void 0:q.get(G);if(X||(X=Wn(t.host,K),null!=q&&q.set(G,X)),X===On)return{type:4,missingOutputFileName:K};if(X<E)return{type:6,outOfDateOutputFileName:K,newerInputFileName:A};X<w&&(w=X,x=K)}}catch(e){u={error:e}}finally{try{H&&!H.done&&(_=W.return)&&_.call(W)}finally{if(u)throw u.error}}}var Q,Y=t.buildInfoCache.get(r),Z=!1,$=!1;if(f)try{for(var ee=__values(f),te=ee.next();!te.done;te=ee.next()){var re=te.value,ne=re.ref,ae=re.refStatus,h=re.resolvedConfig,g=re.resolvedRefPath,$=$||!!ne.prepend;if(!(ae.newestInputFileTime&&ae.newestInputFileTime<=w)){if(Y&&(ie=Y,re=g,t.buildInfoCache.get(re).path===ie.path))return{type:7,outOfDateOutputFileName:S,newerProjectName:ne.path};var ie=function(e,t,r){if(!t.composite)return;r=rA.checkDefined(e.buildInfoCache.get(r));if(void 0!==r.latestChangedDtsTime)return r.latestChangedDtsTime||void 0;e=r.buildInfo&&r.buildInfo.program&&r.buildInfo.program.latestChangedDtsFile?e.host.getModifiedTime(fA(r.buildInfo.program.latestChangedDtsFile,lA(r.path))):void 0;return r.latestChangedDtsTime=e||!1,e}(t,h.options,g);if(!(ie&&ie<=w))return rA.assert(void 0!==x,"Should have an oldest output filename here"),{type:7,outOfDateOutputFileName:x,newerProjectName:ne.path};Z=!0,Q=ne.path}}}catch(e){l={error:e}}finally{try{te&&!te.done&&(d=ee.return)&&d.call(ee)}finally{if(l)throw l.error}}D=nK(t,e.options.configFilePath,w,x);if(D)return D;D=KN(e.options.configFile.extendedSourceFiles||WN,function(e){return nK(t,e,w,x)});if(D)return D;r=KN(t.lastCachedPackageJsonLookups.get(r)||WN,function(e){e=__read(e,1)[0];return nK(t,e,w,x)});return r||($&&Z?{type:3,outOfDateOutputFileName:x,newerProjectName:Q}:{type:Z?2:F?15:1,newestInputFileTime:E,newestInputFileName:A,oldestOutputFileName:x})}function iK(e,t,r){if(void 0===t)return{type:0,reason:"File deleted mid-build"};var n=e.projectStatus.get(r);if(void 0!==n)return n;nA("SolutionBuilder::beforeUpToDateCheck");t=aK(e,t,r);return nA("SolutionBuilder::afterUpToDateCheck"),aA("SolutionBuilder::Up-to-date check","SolutionBuilder::beforeUpToDateCheck","SolutionBuilder::afterUpToDateCheck"),e.projectStatus.set(r,t),t}function oK(e,t,r,n,a){var i,o;if(!t.options.noEmit){var s,c=TU(t.options);if(c)return null!=a&&a.has(AH(e,c))||(e.options.verbose&&bK(e,n,t.options.configFilePath),e.host.setModifiedTime(c,s=hH(e.host)),tK(e,c,r).modifiedTime=s),void e.outputTimeStamps.delete(r);var u=e.host,_=MU(t,!u.useCaseSensitiveFileNames()),l=$H(e,r),d=l?new Set:void 0;if(!a||_.length!==a.size){var f=!!e.options.verbose;try{for(var p=__values(_),m=p.next();!m.done;m=p.next()){var y=m.value,v=AH(e,y);null!=a&&a.has(v)||(f&&(f=!1,bK(e,n,t.options.configFilePath)),u.setModifiedTime(y,s=s||hH(e.host)),l&&(l.set(v,s),d.add(v)))}}catch(e){i={error:e}}finally{try{m&&!m.done&&(o=p.return)&&o.call(p)}finally{if(i)throw i.error}}}null!=l&&l.forEach(function(e,t){null!=a&&a.has(t)||d.has(t)||l.delete(t)})}}function sK(e,t,r){if(e.options.dry)return bK(e,mA.A_non_dry_build_would_update_timestamps_for_output_of_project_0,t.options.configFilePath),0;oK(e,t,r,mA.Updating_output_timestamps_of_project_0),e.projectStatus.set(r,{type:1,oldestOutputFileName:jU(t,!e.host.useCaseSensitiveFileNames())})}function cK(e,t,r,n,a,i){nA("SolutionBuilder::beforeBuild");i=function(t,e,r,n,a,i){var o=MH(t,e,i);if(!o)return 3;zH(t,r);var s=!0,c=0;for(;;){var u=HH(t,o,s);if(!u)break;s=!1,u.done(r,n,null==a?void 0:a(u.project)),t.diagnostics.has(u.projectPath)||c++}return jH(t),CK(t,o),function(e,t){var r,n;if(!e.watchAllProjectsPending)return;nA("SolutionBuilder::beforeWatcherCreation"),e.watchAllProjectsPending=!1;try{for(var a=__values(bH(t)),i=a.next();!i.done;i=a.next()){var o=i.value,s=EH(e,o),c=PH(e,o,s);pK(e,o,s,c),mK(e,s,c),c&&(yK(e,o,s,c),vK(e,o,s,c),gK(e,o,s,c))}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}nA("SolutionBuilder::afterWatcherCreation"),aA("SolutionBuilder::Watcher creation","SolutionBuilder::beforeWatcherCreation","SolutionBuilder::afterWatcherCreation")}(t,o),xH(o)?4:o.some(function(e){return t.diagnostics.has(EH(t,e))})?c?2:1:0}(e,t,r,n,a,i);return nA("SolutionBuilder::afterBuild"),aA("SolutionBuilder::Build","SolutionBuilder::beforeBuild","SolutionBuilder::afterBuild"),i}function uK(e,t,r){nA("SolutionBuilder::beforeClean");r=function(t,e,r){var n,a,i,o,s=MH(t,e,r);if(!s)return 3;if(xH(s))return TK(t,s.circularDiagnostics),4;var r=t.options,c=t.host,u=r.dry?[]:void 0;try{for(var _=__values(s),l=_.next();!l.done;l=_.next()){var d=l.value,f=EH(t,d),d=PH(t,d,f);if(void 0!==d){var p=MU(d,!c.useCaseSensitiveFileNames());if(p.length){var m=new Set(d.fileNames.map(function(e){return AH(t,e)}));try{for(var y=(i=void 0,__values(p)),v=y.next();!v.done;v=y.next()){var g=v.value;m.has(AH(t,g))||c.fileExists(g)&&(u?u.push(g):(c.deleteFile(g),_K(t,f,0)))}}catch(e){i={error:e}}finally{try{v&&!v.done&&(o=y.return)&&o.call(y)}finally{if(i)throw i.error}}}}else wK(t,f)}}catch(e){n={error:e}}finally{try{l&&!l.done&&(a=_.return)&&a.call(_)}finally{if(n)throw n.error}}u&&bK(t,mA.A_non_dry_build_would_delete_the_following_files_Colon_0,u.map(function(e){return"\r\n * ".concat(e)}).join(""));return 0}(e,t,r);return nA("SolutionBuilder::afterClean"),aA("SolutionBuilder::Clean","SolutionBuilder::beforeClean","SolutionBuilder::afterClean"),r}function _K(e,t,r){e.host.getParsedCommandLine&&1===r&&(r=2),2===r&&(e.configFileCache.delete(t),e.buildOrder=void 0),e.needsSummary=!0,BH(e,t),JH(e,t,r),RH(e)}function lK(e,t,r){e.reportFileChangeDetected=!0,_K(e,t,r),dK(e,250,!0)}function dK(e,t,r){var n=e.hostWithWatch;n.setTimeout&&n.clearTimeout&&(e.timerToBuildInvalidatedProject&&n.clearTimeout(e.timerToBuildInvalidatedProject),e.timerToBuildInvalidatedProject=n.setTimeout(fK,t,"timerToBuildInvalidatedProject",e,r))}function fK(e,t,r){nA("SolutionBuilder::beforeBuild");r=function(e,t){e.timerToBuildInvalidatedProject=void 0,e.reportFileChangeDetected&&(e.reportFileChangeDetected=!1,e.projectErrorsReported.clear(),kK(e,mA.File_change_detected_Starting_incremental_compilation));var r=0,n=LH(e),a=HH(e,n,!1);if(a)for(a.done(),r++;e.projectPendingBuild.size;){if(e.timerToBuildInvalidatedProject)return;var i=qH(e,n,!1);if(!i)break;if(2!==i.kind&&(t||5===r))return void dK(e,100,!1);WH(e,i,n).done(),2!==i.kind&&r++}return jH(e),n}(t,r);nA("SolutionBuilder::afterBuild"),aA("SolutionBuilder::Build","SolutionBuilder::beforeBuild","SolutionBuilder::afterBuild"),r&&CK(t,r)}function pK(e,t,r,n){e.watch&&!e.allWatchedConfigFiles.has(r)&&e.allWatchedConfigFiles.set(r,ZH(e,t,function(){return lK(e,r,2)},2e3,null==n?void 0:n.watchOptions,CW.ConfigFile,t))}function mK(r,e,n){ZU(e,null==n?void 0:n.options,r.allWatchedExtendedConfigFiles,function(e,t){return ZH(r,e,function(){var e;return null==(e=r.allWatchedExtendedConfigFiles.get(t))?void 0:e.projects.forEach(function(e){return lK(r,e,2)})},2e3,null==n?void 0:n.watchOptions,CW.ExtendedConfigFile)},function(e){return AH(r,e)})}function yK(r,n,a,i){r.watch&&nV(gH(r.allWatchedWildcardDirectories,a),new Map(Object.entries(i.wildcardDirectories)),function(t,e){return r.watchDirectory(t,function(e){aV({watchedDirPath:AH(r,t),fileOrDirectory:e,fileOrDirectoryPath:AH(r,e),configFileName:n,currentDirectory:r.compilerHost.getCurrentDirectory(),options:i.options,program:r.builderPrograms.get(a)||(null==(e=a,e=(e=r.configFileCache.get(e))&&FH(e)?e:void 0)?void 0:e.fileNames),useCaseSensitiveFileNames:r.parseConfigFileHost.useCaseSensitiveFileNames,writeLog:function(e){return r.writeLog(e)},toPath:function(e){return AH(r,e)}})||lK(r,a,1)},e,null==i?void 0:i.watchOptions,CW.WildcardDirectory,n)})}function vK(r,n,a,i){r.watch&&Kf(gH(r.allWatchedInputFiles,a),ie(i.fileNames,function(e){return AH(r,e)}),{createNewValue:function(e,t){return ZH(r,t,function(){return lK(r,a,0)},250,null==i?void 0:i.watchOptions,CW.SourceFile,n)},onDeleteValue:zf})}function gK(r,n,a,i){r.watch&&r.lastCachedPackageJsonLookups&&Kf(gH(r.allWatchedPackageJsonFiles,a),new Map(r.lastCachedPackageJsonLookups.get(a)),{createNewValue:function(e,t){return ZH(r,e,function(){return lK(r,a,0)},2e3,null==i?void 0:i.watchOptions,CW.PackageJson,n)},onDeleteValue:zf})}function hK(e,t,r,n,a){var i=DH(e,t,r,n,a);return{build:function(e,t,r,n){return cK(i,e,t,r,n)},clean:function(e){return uK(i,e)},buildReferences:function(e,t,r,n){return cK(i,e,t,r,n,!0)},cleanReferences:function(e){return uK(i,e,!0)},getNextInvalidatedProject:function(e){return zH(i,e),HH(i,LH(i),!1)},getBuildOrder:function(){return LH(i)},getUpToDateStatusOfProject:function(e){var t=IH(i,e),e=EH(i,t);return iK(i,PH(i,t,e),e)},invalidateProject:function(e,t){return _K(i,e,t||0)},close:function(){return Wf((e=i).allWatchedConfigFiles,zf),Wf(e.allWatchedExtendedConfigFiles,cV),Wf(e.allWatchedWildcardDirectories,function(e){return Wf(e,cV)}),Wf(e.allWatchedInputFiles,function(e){return Wf(e,zf)}),void Wf(e.allWatchedPackageJsonFiles,function(e){return Wf(e,zf)});var e}}}function xK(e,t){return Za(t,e.compilerHost.getCurrentDirectory(),e.compilerHost.getCanonicalFileName)}function bK(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];e.host.reportSolutionBuilderStatus(ZL.apply(void 0,__spreadArray([t],__read(r),!1)))}function kK(e,t){for(var r,n,a=[],i=2;i<arguments.length;i++)a[i-2]=arguments[i];null!=(n=(r=e.hostWithWatch).onWatchStatusChange)&&n.call(r,ZL.apply(void 0,__spreadArray([t],__read(a),!1)),e.host.getNewLine(),e.baseCompilerOptions)}function TK(e,t){var r=e.host;t.forEach(function(e){return r.reportDiagnostic(e)})}function SK(e,t,r){TK(e,r),e.projectErrorsReported.set(t,!0),r.length&&e.diagnostics.set(t,r)}function wK(e,t){SK(e,t,[e.configFileCache.get(t)])}function CK(t,e){var r,n,a,i;t.needsSummary&&(t.needsSummary=!1,r=t.watch||!!t.host.reportErrorSummary,n=t.diagnostics,a=0,i=[],xH(e)?(NK(t,e.buildOrder),TK(t,e.circularDiagnostics),r&&(a+=IW(e.circularDiagnostics)),r&&(i=__spreadArray(__spreadArray([],__read(i),!1),__read(OW(e.circularDiagnostics)),!1))):(e.forEach(function(e){e=EH(t,e);t.projectErrorsReported.has(e)||TK(t,n.get(e)||WN)}),r&&n.forEach(function(e){return a+=IW(e)}),r&&n.forEach(function(e){return __spreadArray(__spreadArray([],__read(i),!1),__read(OW(e)),!1)})),t.watch?kK(t,LW(a),a):t.host.reportErrorSummary&&t.host.reportErrorSummary(a,i))}function NK(t,e){t.options.verbose&&bK(t,mA.Projects_in_this_build_Colon_0,e.map(function(e){return"\r\n    * "+xK(t,e)}).join(""))}function DK(e,t,r){e.options.verbose&&function(e,t,r){switch(r.type){case 6:return bK(e,mA.Project_0_is_out_of_date_because_output_1_is_older_than_input_2,xK(e,t),xK(e,r.outOfDateOutputFileName),xK(e,r.newerInputFileName)),0;case 7:return bK(e,mA.Project_0_is_out_of_date_because_output_1_is_older_than_input_2,xK(e,t),xK(e,r.outOfDateOutputFileName),xK(e,r.newerProjectName)),0;case 4:return bK(e,mA.Project_0_is_out_of_date_because_output_file_1_does_not_exist,xK(e,t),xK(e,r.missingOutputFileName)),0;case 5:return bK(e,mA.Project_0_is_out_of_date_because_there_was_error_reading_file_1,xK(e,t),xK(e,r.fileName)),0;case 8:return bK(e,mA.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitted,xK(e,t),xK(e,r.buildInfoFile)),0;case 9:return bK(e,mA.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions,xK(e,t),xK(e,r.buildInfoFile)),0;case 10:return bK(e,mA.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_but_not_any_more,xK(e,t),xK(e,r.buildInfoFile),xK(e,r.inputFile)),0;case 1:if(void 0!==r.newestInputFileTime)return bK(e,mA.Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2,xK(e,t),xK(e,r.newestInputFileName||""),xK(e,r.oldestOutputFileName||"")),0;break;case 3:return bK(e,mA.Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed,xK(e,t),xK(e,r.newerProjectName)),0;case 2:return bK(e,mA.Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies,xK(e,t)),0;case 15:return bK(e,mA.Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_files,xK(e,t)),0;case 11:return bK(e,mA.Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date,xK(e,t),xK(e,r.upstreamProjectName)),0;case 12:return bK(e,r.upstreamProjectBlocked?mA.Project_0_can_t_be_built_because_its_dependency_1_was_not_built:mA.Project_0_can_t_be_built_because_its_dependency_1_has_errors,xK(e,t),xK(e,r.upstreamProjectName)),0;case 0:return bK(e,mA.Failed_to_parse_file_0_Colon_1,xK(e,t),r.reason),0;case 14:return bK(e,mA.Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2,xK(e,t),r.version,oe),0;case 17:bK(e,mA.Project_0_is_being_forcibly_rebuilt,xK(e,t))}}(e,t,r)}var AK,EK,FK,PK,IK,OK,LK=e({"src/compiler/tsbuildPublic.ts":function(){MK(),An(),pH=new Date(-864e13),mH=new Date(864e13),yH=function(e){return e[e.Build=0]="Build",e[e.UpdateBundle=1]="UpdateBundle",e[e.UpdateOutputFileStamps=2]="UpdateOutputFileStamps",e}(yH||{})}}),MK=e({"src/compiler/_namespaces/ts.ts":function(){f(),st(),ct(),xt(),It(),Ot(),En(),Un(),ha(),ni(),Si(),lo(),Au(),Vm(),Hm(),Xm(),ay(),ky(),Mv(),Uv(),Jh(),Gx(),sb(),Ak(),eS(),zw(),Xw(),Qw(),PC(),qC(),uN(),RN(),AJ(),OJ(),WJ(),QJ(),ZJ(),tz(),nz(),iz(),sz(),_z(),dz(),pz(),yz(),gz(),Cz(),Dz(),Ez(),Iz(),Lz(),jz(),Jz(),Uz(),qz(),Hz(),Yz(),oU(),xU(),QU(),kV(),gq(),hq(),Tq(),nW(),sW(),NW(),iH(),dH(),vH(),LK(),DC(),An()}});function RK(e,t){return new _r(J(t,"ts".concat(er))||J(t,"latest")).compareTo(e.version)<=0}function jK(e){return PK.has(e)?"node":e}function BK(t,e){e=Kk(e,function(e){return t.readFile(e)});return new Map(Object.entries(e.config))}function JK(t,e){var r=Kk(e,function(e){return t.readFile(e)});if(null!=(e=r.config)&&e.simpleMap)return new Map(Object.entries(r.config.simpleMap))}function zK(y,v,e,t,r,n,a,i,o,s){var c,u;if(!a||!a.enable)return{cachedTypingPaths:[],newTypingNames:[],filesToWatch:[]};var g=new Map;e=uD(e,function(e){e=pi(e);if(sm(e))return e});var _=[];a.include&&T(a.include,"Explicitly included types");var l,d,f=a.exclude||[];s.types||((s=new Set(e.map(lA))).add(t),s.forEach(function(e){S(e,"bower.json","bower_components",_),S(e,"package.json","node_modules",_)})),a.disableFilenameBasedTypeAcquisition||((d=uD(l=e,function(e){if(sm(e)){e=Ce(pm(or(Ea(e))));return r.get(e)}})).length&&T(d,"Inferred typings from file names"),dD(l,function(e){return uA(e,".jsx")})&&(v&&v("Inferred 'react' typings due to presence of '.jsx' extension"),k("react"))),i&&T(mD(i.map(jK),cr,ge),"Inferred typings from unresolved imports"),n.forEach(function(e,t){var r=o.get(t);g.has(t)&&void 0===g.get(t)&&void 0!==r&&RK(e,r)&&g.set(t,e.typingLocation)});try{for(var p=__values(f),m=p.next();!m.done;m=p.next()){var h=m.value;g.delete(h)&&v&&v("Typing for ".concat(h," is in exclude list, will be ignored."))}}catch(e){c={error:e}}finally{try{m&&!m.done&&(u=p.return)&&u.call(p)}finally{if(c)throw c.error}}var x=[],b=[];g.forEach(function(e,t){void 0!==e?b.push(e):x.push(t)});n={cachedTypingPaths:b,newTypingNames:x,filesToWatch:_};return v&&v("Result: ".concat(JSON.stringify(n))),n;function k(e){g.has(e)||g.set(e,void 0)}function T(e,t){v&&v("".concat(t,": ").concat(JSON.stringify(e))),KN(e,k)}function S(e,r,n,t){var a,i,o,s=dA(e,r);y.fileExists(s)&&(t.push(s),T(o=cD([(o=Kk(s,function(e){return y.readFile(e)}).config).dependencies,o.devDependencies,o.optionalDependencies,o.peerDependencies],G),"Typing names in '".concat(s,"' dependencies")));var c=dA(e,n);if(t.push(c),y.directoryExists(c)){var u=[],_=o?o.map(function(e){return dA(c,e,r)}):y.readDirectory(c,[".json"],void 0,void 0,3).filter(function(e){if(Ea(e)!==r)return!1;var t=Ia(pi(e)),e="@"===t[t.length-3][0];return e&&or(t[t.length-4])===n||!e&&or(t[t.length-3])===n});v&&v("Searching for typing names in ".concat(c,"; all files: ").concat(JSON.stringify(_)));try{for(var l=__values(_),d=l.next();!d.done;d=l.next()){var f,p=pi(d.value),m=Kk(p,function(e){return y.readFile(e)}).config;m.name&&((f=m.types||m.typings)?(p=fA(f,lA(p)),y.fileExists(p)?(v&&v("    Package '".concat(m.name,"' provides its own types.")),g.set(m.name,p)):v&&v("    Package '".concat(m.name,"' provides its own types but they are missing."))):u.push(m.name))}}catch(e){a={error:e}}finally{try{d&&!d.done&&(i=l.return)&&i.call(l)}finally{if(a)throw a.error}}T(u,"    Found package names")}}}function UK(e){return function e(t,r){if(!t)return 1;if(t.length>OK)return 2;if(46===t.charCodeAt(0))return 3;if(95===t.charCodeAt(0))return 4;if(r){var n=/^@([^/]+)\/([^/]+)$/.exec(t);if(n){r=e(n[1],!1);if(0!==r)return{name:n[1],isScopeName:!0,result:r};var r=e(n[2],!1);return 0!==r?{name:n[2],isScopeName:!1,result:r}:0}}if(encodeURIComponent(t)!==t)return 5;return 0}(e,!0)}function VK(e,t){return"object"==typeof e?qK(t,e.result,e.name,e.isScopeName):qK(t,e,t,!1)}function qK(e,t,r,n){var a=n?"Scope":"Package";switch(t){case 1:return"'".concat(e,"':: ").concat(a," name '").concat(r,"' cannot be empty");case 2:return"'".concat(e,"':: ").concat(a," name '").concat(r,"' should be less than ").concat(OK," characters");case 3:return"'".concat(e,"':: ").concat(a," name '").concat(r,"' cannot start with '.'");case 4:return"'".concat(e,"':: ").concat(a," name '").concat(r,"' cannot start with '_'");case 5:return"'".concat(e,"':: ").concat(a," name '").concat(r,"' contains non URI safe characters");case 0:return rA.fail();default:rA.assertNever(t)}}var WK=e({"src/jsTyping/jsTyping.ts":function(){IG(),EK=(AK=["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(function(e){return"node:".concat(e)}),FK=__spreadArray(__spreadArray([],__read(AK),!1),__read(EK),!1),PK=new Set(FK),IK=function(e){return e[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",e}(IK||{}),OK=214}}),HK={};t(HK,{NameValidationResult:function(){return IK},discoverTypings:function(){return zK},isTypingUpToDate:function(){return RK},loadSafeList:function(){return BK},loadTypesMap:function(){return JK},nodeCoreModuleList:function(){return FK},nodeCoreModules:function(){return PK},nonRelativeModuleNameForTypingCache:function(){return jK},prefixedNodeCoreModuleList:function(){return EK},renderPackageNameValidationFailure:function(){return VK},validatePackageName:function(){return UK}});var KK,GK,XK,QK,YK,ZK,$K,eG,tG,rG=e({"src/jsTyping/_namespaces/ts.JsTyping.ts":function(){WK()}});function nG(e){return 0<=zn.args.indexOf(e)}function aG(e){e=zn.args.indexOf(e);return 0<=e&&e<zn.args.length-1?zn.args[e+1]:void 0}function iG(){var e=new Date;return"".concat(Je(e.getHours().toString(),2,"0"),":").concat(Je(e.getMinutes().toString(),2,"0"),":").concat(Je(e.getSeconds().toString(),2,"0"),".").concat(Je(e.getMilliseconds().toString(),3,"0"))}var oG=e({"src/jsTyping/shared.ts":function(){var e;IG(),KK="action::set",GK="action::invalidate",XK="action::packageInstalled",QK="event::typesRegistry",YK="event::beginInstallTypes",ZK="event::endInstallTypes",$K="event::initializationFailed",eG="action::watchTypingLocations",(e=tG=tG||{}).GlobalCacheLocation="--globalTypingsCacheLocation",e.LogFile="--logFile",e.EnableTelemetry="--enableTelemetry",e.TypingSafeListLocation="--typingSafeListLocation",e.TypesMapLocation="--typesMapLocation",e.NpmLocation="--npmLocation",e.ValidateDefaultNpmLocation="--validateDefaultNpmLocation"}}),sG=e({"src/jsTyping/types.ts":function(){}}),cG={};t(cG,{ActionInvalidate:function(){return GK},ActionPackageInstalled:function(){return XK},ActionSet:function(){return KK},ActionWatchTypingLocations:function(){return eG},Arguments:function(){return tG},EventBeginInstallTypes:function(){return YK},EventEndInstallTypes:function(){return ZK},EventInitializationFailed:function(){return $K},EventTypesRegistry:function(){return QK},findArgument:function(){return aG},hasArgument:function(){return nG},nowString:function(){return iG}});var uG,_G,lG,dG,fG,pG,mG,yG,vG,gG,hG,xG,bG,kG,TG,SG,wG,CG,NG,DG,AG,EG,FG,PG=e({"src/jsTyping/_namespaces/ts.server.ts":function(){oG(),sG()}}),IG=e({"src/jsTyping/_namespaces/ts.ts":function(){MK(),rG(),PG()}});function OG(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,indentSwitchCase:!0}}var LG,MG,RG,jG,BG,JG,zG,UG,VG,qG=e({"src/services/types.ts":function(){function e(e){this.text=e}var t,r;t=uG=uG||{},e.prototype.getText=function(e,t){return 0===e&&t===this.text.length?this.text:this.text.substring(e,t)},e.prototype.getLength=function(){return this.text.length},e.prototype.getChangeRange=function(){},r=e,t.fromString=function(e){return new r(e)},_G=function(e){return e[e.Dependencies=1]="Dependencies",e[e.DevDependencies=2]="DevDependencies",e[e.PeerDependencies=4]="PeerDependencies",e[e.OptionalDependencies=8]="OptionalDependencies",e[e.All=15]="All",e}(_G||{}),lG=function(e){return e[e.Off=0]="Off",e[e.On=1]="On",e[e.Auto=2]="Auto",e}(lG||{}),dG=function(e){return e[e.Semantic=0]="Semantic",e[e.PartialSemantic=1]="PartialSemantic",e[e.Syntactic=2]="Syntactic",e}(dG||{}),fG={},pG=function(e){return e.Original="original",e.TwentyTwenty="2020",e}(pG||{}),mG=function(e){return e.All="All",e.SortAndCombine="SortAndCombine",e.RemoveUnused="RemoveUnused",e}(mG||{}),yG=function(e){return e[e.Invoked=1]="Invoked",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=3]="TriggerForIncompleteCompletions",e}(yG||{}),vG=function(e){return e.Type="Type",e.Parameter="Parameter",e.Enum="Enum",e}(vG||{}),gG=function(e){return e.none="none",e.definition="definition",e.reference="reference",e.writtenReference="writtenReference",e}(gG||{}),hG=function(e){return e[e.None=0]="None",e[e.Block=1]="Block",e[e.Smart=2]="Smart",e}(hG||{}),xG=function(e){return e.Ignore="ignore",e.Insert="insert",e.Remove="remove",e}(xG||{}),bG=OG("\n"),kG=function(e){return e[e.aliasName=0]="aliasName",e[e.className=1]="className",e[e.enumName=2]="enumName",e[e.fieldName=3]="fieldName",e[e.interfaceName=4]="interfaceName",e[e.keyword=5]="keyword",e[e.lineBreak=6]="lineBreak",e[e.numericLiteral=7]="numericLiteral",e[e.stringLiteral=8]="stringLiteral",e[e.localName=9]="localName",e[e.methodName=10]="methodName",e[e.moduleName=11]="moduleName",e[e.operator=12]="operator",e[e.parameterName=13]="parameterName",e[e.propertyName=14]="propertyName",e[e.punctuation=15]="punctuation",e[e.space=16]="space",e[e.text=17]="text",e[e.typeParameterName=18]="typeParameterName",e[e.enumMemberName=19]="enumMemberName",e[e.functionName=20]="functionName",e[e.regularExpressionLiteral=21]="regularExpressionLiteral",e[e.link=22]="link",e[e.linkName=23]="linkName",e[e.linkText=24]="linkText",e}(kG||{}),TG=function(e){return e[e.None=0]="None",e[e.MayIncludeAutoImports=1]="MayIncludeAutoImports",e[e.IsImportStatementCompletion=2]="IsImportStatementCompletion",e[e.IsContinuation=4]="IsContinuation",e[e.ResolvedModuleSpecifiers=8]="ResolvedModuleSpecifiers",e[e.ResolvedModuleSpecifiersBeyondLimit=16]="ResolvedModuleSpecifiersBeyondLimit",e[e.MayIncludeMethodSnippets=32]="MayIncludeMethodSnippets",e}(TG||{}),SG=function(e){return e.Comment="comment",e.Region="region",e.Code="code",e.Imports="imports",e}(SG||{}),wG=function(e){return e[e.JavaScript=0]="JavaScript",e[e.SourceMap=1]="SourceMap",e[e.Declaration=2]="Declaration",e}(wG||{}),CG=function(e){return e[e.None=0]="None",e[e.InMultiLineCommentTrivia=1]="InMultiLineCommentTrivia",e[e.InSingleQuoteStringLiteral=2]="InSingleQuoteStringLiteral",e[e.InDoubleQuoteStringLiteral=3]="InDoubleQuoteStringLiteral",e[e.InTemplateHeadOrNoSubstitutionTemplate=4]="InTemplateHeadOrNoSubstitutionTemplate",e[e.InTemplateMiddleOrTail=5]="InTemplateMiddleOrTail",e[e.InTemplateSubstitutionPosition=6]="InTemplateSubstitutionPosition",e}(CG||{}),NG=function(e){return e[e.Punctuation=0]="Punctuation",e[e.Keyword=1]="Keyword",e[e.Operator=2]="Operator",e[e.Comment=3]="Comment",e[e.Whitespace=4]="Whitespace",e[e.Identifier=5]="Identifier",e[e.NumberLiteral=6]="NumberLiteral",e[e.BigIntLiteral=7]="BigIntLiteral",e[e.StringLiteral=8]="StringLiteral",e[e.RegExpLiteral=9]="RegExpLiteral",e}(NG||{}),DG=function(e){return e.unknown="",e.warning="warning",e.keyword="keyword",e.scriptElement="script",e.moduleElement="module",e.classElement="class",e.localClassElement="local class",e.interfaceElement="interface",e.typeElement="type",e.enumElement="enum",e.enumMemberElement="enum member",e.variableElement="var",e.localVariableElement="local var",e.variableUsingElement="using",e.variableAwaitUsingElement="await using",e.functionElement="function",e.localFunctionElement="local function",e.memberFunctionElement="method",e.memberGetAccessorElement="getter",e.memberSetAccessorElement="setter",e.memberVariableElement="property",e.memberAccessorVariableElement="accessor",e.constructorImplementationElement="constructor",e.callSignatureElement="call",e.indexSignatureElement="index",e.constructSignatureElement="construct",e.parameterElement="parameter",e.typeParameterElement="type parameter",e.primitiveType="primitive type",e.label="label",e.alias="alias",e.constElement="const",e.letElement="let",e.directory="directory",e.externalModuleName="external module name",e.jsxAttribute="JSX attribute",e.string="string",e.link="link",e.linkName="link name",e.linkText="link text",e}(DG||{}),AG=function(e){return e.none="",e.publicMemberModifier="public",e.privateMemberModifier="private",e.protectedMemberModifier="protected",e.exportedModifier="export",e.ambientModifier="declare",e.staticModifier="static",e.abstractModifier="abstract",e.optionalModifier="optional",e.deprecatedModifier="deprecated",e.dtsModifier=".d.ts",e.tsModifier=".ts",e.tsxModifier=".tsx",e.jsModifier=".js",e.jsxModifier=".jsx",e.jsonModifier=".json",e.dmtsModifier=".d.mts",e.mtsModifier=".mts",e.mjsModifier=".mjs",e.dctsModifier=".d.cts",e.ctsModifier=".cts",e.cjsModifier=".cjs",e}(AG||{}),EG=function(e){return e.comment="comment",e.identifier="identifier",e.keyword="keyword",e.numericLiteral="number",e.bigintLiteral="bigint",e.operator="operator",e.stringLiteral="string",e.whiteSpace="whitespace",e.text="text",e.punctuation="punctuation",e.className="class name",e.enumName="enum name",e.interfaceName="interface name",e.moduleName="module name",e.typeParameterName="type parameter name",e.typeAliasName="type alias name",e.parameterName="parameter name",e.docCommentTagName="doc comment tag name",e.jsxOpenTagName="jsx open tag name",e.jsxCloseTagName="jsx close tag name",e.jsxSelfClosingTagName="jsx self closing tag name",e.jsxAttribute="jsx attribute",e.jsxText="jsx text",e.jsxAttributeStringLiteralValue="jsx attribute string literal value",e}(EG||{}),FG=function(e){return e[e.comment=1]="comment",e[e.identifier=2]="identifier",e[e.keyword=3]="keyword",e[e.numericLiteral=4]="numericLiteral",e[e.operator=5]="operator",e[e.stringLiteral=6]="stringLiteral",e[e.regularExpressionLiteral=7]="regularExpressionLiteral",e[e.whiteSpace=8]="whiteSpace",e[e.text=9]="text",e[e.punctuation=10]="punctuation",e[e.className=11]="className",e[e.enumName=12]="enumName",e[e.interfaceName=13]="interfaceName",e[e.moduleName=14]="moduleName",e[e.typeParameterName=15]="typeParameterName",e[e.typeAliasName=16]="typeAliasName",e[e.parameterName=17]="parameterName",e[e.docCommentTagName=18]="docCommentTagName",e[e.jsxOpenTagName=19]="jsxOpenTagName",e[e.jsxCloseTagName=20]="jsxCloseTagName",e[e.jsxSelfClosingTagName=21]="jsxSelfClosingTagName",e[e.jsxAttribute=22]="jsxAttribute",e[e.jsxText=23]="jsxText",e[e.jsxAttributeStringLiteralValue=24]="jsxAttributeStringLiteralValue",e[e.bigintLiteral=25]="bigintLiteral",e}(FG||{})}});function WG(e){switch(e.kind){case 260:return cI(e)&&KA(e)?7:1;case 169:case 208:case 172:case 171:case 303:case 304:case 174:case 173:case 176:case 177:case 178:case 262:case 218:case 219:case 299:case 291:return 1;case 168:case 264:case 265:case 187:return 2;case 353:return void 0===e.name?3:2;case 306:case 263:return 3;case 267:return RF(e)||1===$B(e)?5:4;case 266:case 275:case 276:case 271:case 272:case 277:case 278:return 7;case 312:return 5}return 7}function HG(e){var t=(e=HX(e)).parent;return 312===e.kind?1:qj(t)||Kj(t)||Gj(t)||Vj(t)||zj(t)||Bj(t)&&e===t.name?7:KG(e)?function(e){e=166===e.kind?e:TR(e.parent)&&e.parent.right===e?e.parent:void 0;return e&&271===e.parent.kind?7:4}(e):uO(e)?WG(t):hE(e)&&FA(e,ZD(lB,sF,dB))?7:function(e){LL(e)&&(e=e.parent);switch(e.kind){case 110:return!$P(e);case 197:return!0}switch(e.parent.kind){case 183:return!0;case 205:return!e.parent.isTypeOf;case 233:return vP(e.parent)}return!1}(e)?2:function(e){var t=e,r=!0;if(166===t.parent.kind){for(;t.parent&&166===t.parent.kind;)t=t.parent;r=t.right===e}return 183===t.parent.kind&&!r}(e=e)||function(e){var t=e,r=!0;if(211===t.parent.kind){for(;t.parent&&211===t.parent.kind;)t=t.parent;r=t.name===e}if(r||233!==t.parent.kind||298!==t.parent.parent.kind)return!1;r=t.parent.parent.parent;return 263===r.kind&&119===t.parent.parent.token||264===r.kind&&96===t.parent.parent.token}(e)?4:wR(t)?(rA.assert(DB(t.parent)),2):YR(t)?3:1}function KG(e){for(;166===e.parent.kind;)e=e.parent;return oI(e.parent)&&e.parent.moduleReference===e}function GG(e,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),nX(e,oj,eX,t,r)}function XG(e,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),nX(e,sj,eX,t,r)}function QG(e,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),nX(e,ME,eX,t,r)}function YG(e,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),nX(e,cj,tX,t,r)}function ZG(e,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),nX(e,NR,eX,t,r)}function $G(e,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),nX(e,YE,rX,t,r)}function eX(e){return e.expression}function tX(e){return e.tag}function rX(e){return e.tagName}function nX(e,t,r,n,a){e=(n?iX:aX)(e);return a&&(e=RB(e)),!!e&&!!e.parent&&t(e.parent)&&r(e.parent)===e}function aX(e){return fX(e)?e.parent:e}function iX(e){return fX(e)||pX(e)?e.parent:e}function oX(e,t){for(;e;){if(256===e.kind&&e.label.escapedText===t)return e.label;e=e.parent}}function sX(e,t){return!!aj(e.expression)&&e.expression.name.text===t}function cX(e){var t;return xR(e)&&(null==(t=BD(e.parent,hs))?void 0:t.label)===e}function uX(e){var t;return xR(e)&&(null==(t=BD(e.parent,Qg))?void 0:t.label)===e}function _X(e){return uX(e)||cX(e)}function lX(e){var t;return(null==(t=BD(e.parent,Fc))?void 0:t.tagName)===e}function dX(e){var t;return(null==(t=BD(e.parent,TR))?void 0:t.right)===e}function fX(e){var t;return(null==(t=BD(e.parent,aj))?void 0:t.name)===e}function pX(e){var t;return(null==(t=BD(e.parent,ij))?void 0:t.argumentExpression)===e}function mX(e){var t;return(null==(t=BD(e.parent,Mj))?void 0:t.name)===e}function yX(e){var t;return xR(e)&&(null==(t=BD(e.parent,bE))?void 0:t.name)===e}function vX(e){switch(e.parent.kind){case 172:case 171:case 303:case 306:case 174:case 173:case 177:case 178:case 267:return JA(e.parent)===e;case 212:return e.parent.argumentExpression===e;case 167:return!0;case 201:return 199===e.parent.parent.kind;default:return!1}}function gX(e){return nI(e.parent.parent)&&aI(e.parent.parent)===e}function hX(e){for(UI(e)&&(e=e.parent.parent);;){if(!(e=e.parent))return;switch(e.kind){case 312:case 174:case 173:case 262:case 218:case 177:case 178:case 263:case 264:case 266:case 267:return e}}}function xX(e){switch(e.kind){case 312:return XB(e)?"module":"script";case 267:return"module";case 263:case 231:return"class";case 264:return"interface";case 265:case 345:case 353:return"type";case 266:return"enum";case 260:return a(e);case 208:return a(MO(e));case 219:case 262:case 218:return"function";case 177:return"getter";case 178:return"setter";case 174:case 173:return"method";case 303:return bE(e.initializer)?"method":"property";case 172:case 171:case 304:case 305:return"property";case 181:return"index";case 180:return"construct";case 179:return"call";case 176:case 175:return"constructor";case 168:return"type parameter";case 306:return"enum member";case 169:return _L(e,16476)?"property":"parameter";case 271:case 276:case 281:case 274:case 280:return"alias";case 226:var t=NI(e),r=e.right;switch(t){case 7:case 8:case 9:case 0:return"";case 1:case 2:var n=xX(r);return""===n?"const":n;case 3:return _j(r)?"method":"property";case 4:return"property";case 5:return _j(r)?"method":"property";case 6:return"local class";default:return""}case 80:return zj(e.parent)?"alias":"";case 277:t=xX(e.expression);return""===t?"const":t;default:return""}function a(e){return R_(e)?"const":j_(e)?"let":"var"}}function bX(e){switch(e.kind){case 110:return!0;case 80:return jd(e)&&169===e.parent.kind;default:return!1}}function kX(e,t){return Ii(t)[t.getLineAndCharacterOfPosition(e).line]}function TX(e,t){return NX(e.pos,e.end,t)}function SX(e,t){return CX(e,t.pos)&&CX(e,t.end)}function wX(e,t){return e.pos<=t&&t<=e.end}function CX(e,t){return e.pos<t&&t<e.end}function NX(e,t,r){return e<=r.pos&&t>=r.end}function DX(e,t,r){return e.pos<=t&&e.end>=r}function AX(e,t,r){return FX(e.pos,e.end,t,r)}function EX(e,t,r,n){return FX(e.getStart(t),e.end,r,n)}function FX(e,t,r,n){return Math.max(e,r)<Math.min(t,n)}function PX(e,t,r){return rA.assert(e.pos<=t),t<e.end||!function e(t,r){if(void 0===t||EF(t))return!1;switch(t.kind){case 263:case 264:case 266:case 210:case 206:case 187:case 241:case 268:case 269:case 275:case 279:return IX(t,20,r);case 299:return e(t.block,r);case 214:if(!t.arguments)return!0;case 213:case 217:case 196:return IX(t,22,r);case 184:case 185:return e(t.type,r);case 176:case 177:case 178:case 262:case 218:case 174:case 173:case 180:case 179:case 219:return t.body?e(t.body,r):t.type?e(t.type,r):LX(t,22,r);case 267:return!!t.body&&e(t.body,r);case 245:return t.elseStatement?e(t.elseStatement,r):e(t.thenStatement,r);case 244:return e(t.expression,r)||LX(t,27,r);case 209:case 207:case 212:case 167:case 189:return IX(t,24,r);case 181:return t.type?e(t.type,r):LX(t,24,r);case 296:case 297:return!1;case 248:case 249:case 250:case 247:return e(t.statement,r);case 246:return LX(t,117,r)?IX(t,22,r):e(t.statement,r);case 186:return e(t.exprName,r);case 221:case 220:case 222:case 229:case 230:var n=t;return e(n.expression,r);case 215:return e(t.template,r);case 228:var n=CD(t.templateSpans);return e(n,r);case 239:return FF(t.literal);case 278:case 272:return FF(t.moduleSpecifier);case 224:return e(t.operand,r);case 226:return e(t.right,r);case 227:return e(t.whenFalse,r);default:return!0}}(e,r)}function IX(e,t,r){e=e.getChildren(r);if(e.length){r=ND(e);if(r.kind===t)return!0;if(27===r.kind&&1!==e.length)return e[e.length-2].kind===t}return!1}function OX(e){var t=RX(e);if(t)return{listItemIndex:IF(t.getChildren(),e),list:t}}function LX(e,t,r){return!!MX(e,t,r)}function MX(e,t,r){return QN(e.getChildren(r),function(e){return e.kind===t})}function RX(t){var e=QN(t.parent.getChildren(),function(e){return Rh(e)&&TX(e,t)});return rA.assert(!e||eD(e.getChildren(),t)),e}function jX(e){return 90===e.kind}function BX(e){return 86===e.kind}function JX(e){return 100===e.kind}function zX(e,t){if(!(16777216&e.flags)){var r=gZ(e,t);if(r)return r;var n,e=(FA(e,function(e){return FE(e)&&(n=e),!TR(e.parent)&&!FE(e.parent)&&!Ks(e.parent)}),n);return e&&t.getTypeAtLocation(e)}}function UX(e,t){if(!t)switch(e.kind){case 263:case 231:return function(e){if(BA(e))return e.name;if(Pj(e)){var t=e.modifiers&&QN(e.modifiers,jX);if(t)return t}if(vj(e)){e=QN(e.getChildren(),BX);if(e)return e}}(e);case 262:case 218:return function(e){if(BA(e))return e.name;if(Fj(e)){var t=QN(e.modifiers,jX);if(t)return t}if(_j(e)){e=QN(e.getChildren(),JX);if(e)return e}}(e);case 176:return e}if(BA(e))return e.name}function VX(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(ih(e.importClause.namedBindings)){var r=pa(e.importClause.namedBindings.elements);return r?r.name:void 0}if(ah(e.importClause.namedBindings))return e.importClause.namedBindings.name}}if(!t)return e.moduleSpecifier}function qX(e,t){if(e.exportClause){if(Hj(e.exportClause))return pa(e.exportClause.elements)?e.exportClause.elements[0].name:void 0;if(Uj(e.exportClause))return e.exportClause.name}if(!t)return e.moduleSpecifier}function WX(e,t){var r=e.parent;if(gE(e)&&(t||90!==e.kind)?VB(r)&&eD(r.modifiers,e):86===e.kind?Pj(r)||vj(e):100===e.kind?Fj(r)||_j(e):120===e.kind?Ij(r):94===e.kind?Lj(r):156===e.kind?Oj(r):145===e.kind||144===e.kind?Mj(r):102===e.kind?Bj(r):139===e.kind?OR(r):153===e.kind&&LR(r)){var n=UX(r,t);if(n)return n}if((115===e.kind||87===e.kind||121===e.kind)&&Ej(r)&&1===r.declarations.length){var a=r.declarations[0];if(xR(a.name))return a.name}if(156===e.kind){if(zj(r)&&r.isTypeOnly){a=VX(r.parent,t);if(a)return a}if(Wj(r)&&r.isTypeOnly){var i=qX(r,t);if(i)return i}}if(130===e.kind){if(Vj(r)&&r.propertyName||Kj(r)&&r.propertyName||ah(r)||Uj(r))return r.name;if(Wj(r)&&r.exportClause&&Uj(r.exportClause))return r.exportClause.name}if(102===e.kind&&Jj(r)){i=VX(r,t);if(i)return i}if(95===e.kind){if(Wj(r)){var o=qX(r,t);if(o)return o}if(qj(r))return RB(r.expression)}if(149===e.kind&&Gj(r))return r.expression;if(161===e.kind&&(Jj(r)||Wj(r))&&r.moduleSpecifier)return r.moduleSpecifier;if((96===e.kind||119===e.kind)&&nB(r)&&r.token===e.kind){o=function(e){if(1===e.types.length)return e.types[0].expression}(r);if(o)return o}if(96===e.kind){if(wR(r)&&r.constraint&&BR(r.constraint))return r.constraint.typeName;if(kg(r)&&BR(r.extendsType))return r.extendsType.typeName}if(140===e.kind&&Tg(r))return r.typeParameter.name;if(103===e.kind&&wR(r)&&wg(r.parent))return r.name;if(143===e.kind&&XR(r)&&143===r.operator&&BR(r.type))return r.type.typeName;if(148===e.kind&&XR(r)&&148===r.operator&&hg(r.type)&&BR(r.type.elementType))return r.type.elementType.typeName;if(!t){if((105===e.kind&&sj(r)||116===e.kind&&Eg(r)||114===e.kind&&dj(r)||135===e.kind&&fj(r)||127===e.kind&&Og(r)||91===e.kind&&Ag(r))&&r.expression)return RB(r.expression);if((103===e.kind||104===e.kind)&&mj(r)&&r.operatorToken===e)return RB(r.right);if(130===e.kind&&Lg(r)&&BR(r.type))return r.type.typeName;if(103===e.kind&&Nj(r)||165===e.kind&&Dj(r))return RB(r.expression)}return e}function HX(e){return WX(e,!1)}function KX(e){return WX(e,!0)}function GX(e,t){return XX(e,t,function(e){return DO(e)||zl(e.kind)||bR(e)})}function XX(e,t,r){return YX(e,t,!1,r,!1)}function QX(e,t){return YX(e,t,!0,void 0,!1)}function YX(i,o,s,c,n){for(var u,t=i;;){var e=function(){var a=t.getChildren(i),e=B(a,o,function(e,t){return t},function(e,t){var r=a[e].getEnd();if(r<o)return-1;var n=s?a[e].getFullStart():a[e].getStart(i,!0);return o<n?1:_(a[e],n,r)?a[e-1]&&_(a[e-1])?1:0:c&&n===o&&a[e-1]&&a[e-1].getEnd()===o&&_(a[e-1])?1:-1});return u?{value:u}:0<=e&&a[e]?(t=a[e],"continue-outer"):{value:t}}();if("object"==typeof e)return e.value}function _(e,t,r){if(null!=r||(r=e.getEnd()),!(r<o||(null!=t||(t=s?e.getFullStart():e.getStart(i,!0)),o<t))){if(o<r||o===r&&(1===e.kind||n))return 1;if(c&&r===o){e=tQ(o,i,e);if(e&&c(e))return u=e,1}}}}function ZX(e,t){for(var r=QX(e,t);sQ(r);){var n=eQ(r,r.parent,e);if(!n)return;r=n}return r}function $X(e,t){var r=QX(e,t);return Cs(r)&&t>r.getStart(e)&&t<r.getEnd()?r:tQ(t,e)}function eQ(n,e,a){return function r(e){if(Cs(e)&&e.pos===n.end)return e;return GN(e.getChildren(a),function(e){var t=e.pos<=n.pos&&e.end>n.end||e.pos===n.end;return t&&gQ(e,a)?r(e):void 0})}(e)}function tQ(o,s,c,u){var e=function e(t){if(rQ(t)&&1!==t.kind)return t;var r=t.getChildren(s);var n=B(r,o,function(e,t){return t},function(e,t){return o<r[e].end?!r[e-1]||o>=r[e-1].end?0:1:-1});if(0<=n&&r[n]){var a=r[n];if(o<a.end){var i=a.getStart(s,!u),i=o<=i||!gQ(a,s)||sQ(a);if(i){var n=aQ(r,n,s,t.kind);return n?!u&&Ec(n)&&n.getChildren(s).length?e(n):nQ(n,s):void 0}return e(a)}}rA.assert(void 0!==c||312===t.kind||1===t.kind||Ec(t));var t=aQ(r,r.length,s,t.kind);return t&&nQ(t,s)}(c||s);return rA.assert(!(e&&sQ(e))),e}function rQ(e){return Cs(e)&&!sQ(e)}function nQ(e,t){if(rQ(e))return e;var r=e.getChildren(t);if(0===r.length)return e;e=aQ(r,r.length,t,e.kind);return e&&nQ(e,t)}function aQ(e,t,r,n){for(var a=t-1;0<=a;a--)if(sQ(e[a]))0!==a||12!==n&&285!==n||rA.fail("`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`");else if(gQ(e[a],r))return e[a]}function iQ(e,t,r){if(void 0===r&&(r=tQ(t,e)),r&&Ls(r)){var n=r.getStart(e),e=r.getEnd();if(n<t&&t<e)return!0;if(t===e)return!!r.isUnterminated}return!1}function oQ(e,t){t=QX(e,t);return!!t&&(12===t.kind||(30===t.kind&&12===t.parent.kind||(30===t.kind&&294===t.parent.kind||(!(!t||20!==t.kind||294!==t.parent.kind)||30===t.kind&&287===t.parent.kind))))}function sQ(e){return qv(e)&&e.containsOnlyTriviaWhiteSpaces}function cQ(e,t){var r=QX(e,t);return As(r.kind)&&t>r.getStart(e)}function uQ(e,t){t=QX(e,t);return!!qv(t)||(!(19!==t.kind||!dh(t.parent)||!Xj(t.parent.parent))||!(30!==t.kind||!YE(t.parent)||!Xj(t.parent.parent)))}function _Q(t,r){return function(e){for(;e;)if(285<=e.kind&&e.kind<=294||12===e.kind||30===e.kind||32===e.kind||80===e.kind||20===e.kind||19===e.kind||44===e.kind)e=e.parent;else{if(284!==e.kind)return!1;if(r>e.getStart(t))return!0;e=e.parent}return!1}(QX(t,r))}function lQ(e,t,r){var n=vA(e.kind),a=vA(t),i=e.getFullStart(),a=r.text.lastIndexOf(a,i);if(-1!==a){if(r.text.lastIndexOf(n,i-1)<a){a=tQ(a+1,r);if(a&&a.kind===t)return a}for(var o=e.kind,s=0;;){var c=tQ(e.getFullStart(),r);if(!c)return;if((e=c).kind===t){if(0===s)return e;s--}else e.kind===o&&s++}}}function dQ(e,t,r){return t?e.getNonNullableType():r?e.getNonOptionalType():e}function fQ(e,t,r){e=mQ(e,t);return void 0!==e&&(vP(e.called)||0!==pQ(e.called,e.nTypeArguments,r).length||fQ(e.called,t,r))}function pQ(e,t,r){r=r.getTypeAtLocation(e);return aE(e.parent)&&(r=dQ(r,iE(e.parent),!0)),(sj(e.parent)?r.getConstructSignatures():r.getCallSignatures()).filter(function(e){return!!e.typeParameters&&e.typeParameters.length>=t})}function mQ(e,t){if(-1!==t.text.lastIndexOf("<",e?e.pos:t.text.length))for(var r=e,n=0,a=0;r;){switch(r.kind){case 30:if((r=tQ(r.getFullStart(),t))&&29===r.kind&&(r=tQ(r.getFullStart(),t)),!r||!xR(r))return;if(!n)return uO(r)?void 0:{called:r,nTypeArguments:a};n--;break;case 50:n=3;break;case 49:n=2;break;case 32:n++;break;case 20:if(!(r=lQ(r,19,t)))return;break;case 22:if(!(r=lQ(r,21,t)))return;break;case 24:if(!(r=lQ(r,23,t)))return;break;case 28:a++;break;case 39:case 80:case 11:case 9:case 10:case 112:case 97:case 114:case 96:case 143:case 25:case 52:case 58:case 59:break;default:if(FE(r))break;return}r=tQ(r.getFullStart(),t)}}function yQ(e,t,r){return upe.getRangeOfEnclosingComment(e,t,void 0,r)}function vQ(e,t){return!!FA(QX(e,t),kh)}function gQ(e,t){return 1===e.kind?e.jsDoc:0!==e.getWidth(t)}function hQ(e,t){void 0===t&&(t=0);var r=[],t=GE(e)?Oo(e)&~t:0;return 8&t&&r.push("private"),16&t&&r.push("protected"),4&t&&r.push("public"),(32&t||PR(e))&&r.push("static"),256&t&&r.push("abstract"),1&t&&r.push("export"),8192&t&&r.push("deprecated"),33554432&e.flags&&r.push("declare"),277===e.kind&&r.push("export"),0<r.length?r.join(","):""}function xQ(e){return 183===e.kind||213===e.kind?e.typeArguments:bE(e)||263===e.kind||264===e.kind?e.typeParameters:void 0}function bQ(e){return 2===e||3===e}function kQ(e){return!(11!==e&&14!==e&&!As(e))}function TQ(e,t,r){return!!(4&t.flags)&&e.isEmptyAnonymousObjectType(r)}function SQ(e){if(!e.isIntersection())return!1;var t=e.types,e=e.checker;return 2===t.length&&(TQ(e,t[0],t[1])||TQ(e,t[1],t[0]))}function wQ(e,t,r){return As(e.kind)&&e.getStart(r)<t&&t<e.end||!!e.isUnterminated&&t===e.end}function CQ(e){switch(e){case 125:case 123:case 124:return!0}return!1}function NQ(e){var t=kn(e);return vT(t,e&&e.configFile),t}function DQ(e){if(209===e.kind||210===e.kind){if(226===e.parent.kind&&e.parent.left===e&&64===e.parent.operatorToken.kind)return!0;if(250===e.parent.kind&&e.parent.initializer===e)return!0;if(DQ((303===e.parent.kind?e.parent:e).parent))return!0}return!1}function AQ(e,t){return FQ(e,t,!0)}function EQ(e,t){return FQ(e,t,!1)}function FQ(e,t,r){t=yQ(e,t,void 0);return!!t&&r===RG.test(e.text.substring(t.pos,t.end))}function PQ(e){if(e)switch(e.kind){case 11:case 15:return OQ(e);default:return IQ(e)}}function IQ(e,t,r){return wo(e.getStart(t),(r||e).getEnd())}function OQ(e){if(!e.isUnterminated)return wo(e.getStart()+1,e.getEnd()-1)}function LQ(e,t){return gf(e.getStart(t),e.end)}function MQ(e){return wo(e.pos,e.end)}function RQ(e){return gf(e.start,e.start+e.length)}function jQ(e,t,r){return BQ(So(e,t),r)}function BQ(e,t){return{span:e,newText:t}}function JQ(e){return eD(jG,e)}function zQ(e){return 156===e.kind}function UQ(e){return zQ(e)||xR(e)&&"type"===e.text}function VQ(e){return!!(1536&e.flags)&&34===e.name.charCodeAt(0)}function qQ(){var t=[];return function(e){e=mJ(e);return!t[e]&&(t[e]=!0)}}function WQ(e){return e.getText(0,e.getLength())}function HQ(e,t){for(var r="",n=0;n<t;n++)r+=e;return r}function KQ(e){return e.isTypeParameter()&&e.getConstraint()||e}function GQ(e){return 167===e.kind?SO(e.expression)?e.expression.text:void 0:(bR(e)?LA:AO)(e)}function XQ(t){return t.getSourceFiles().some(function(e){return!(e.isDeclarationFile||t.isSourceFileFromExternalLibrary(e)||!e.externalModuleIndicator&&!e.commonJsModuleIndicator)})}function QQ(t){return t.getSourceFiles().some(function(e){return!e.isDeclarationFile&&!t.isSourceFileFromExternalLibrary(e)&&!!e.externalModuleIndicator})}function YQ(e){return!!e.module||2<=rM(e)||!!e.noEmit}function ZQ(t,e){return{fileExists:function(e){return t.fileExists(e)},getCurrentDirectory:function(){return e.getCurrentDirectory()},readFile:LD(e,e.readFile),useCaseSensitiveFileNames:LD(e,e.useCaseSensitiveFileNames),getSymlinkCache:LD(e,e.getSymlinkCache)||t.getSymlinkCache,getModuleSpecifierCache:LD(e,e.getModuleSpecifierCache),getPackageJsonInfoCache:function(){var e;return null==(e=t.getModuleResolutionCache())?void 0:e.getPackageJsonInfoCache()},getGlobalTypingsCacheLocation:LD(e,e.getGlobalTypingsCacheLocation),redirectTargetsMap:t.redirectTargetsMap,getProjectReferenceRedirect:function(e){return t.getProjectReferenceRedirect(e)},isSourceOfProjectReferenceRedirect:function(e){return t.isSourceOfProjectReferenceRedirect(e)},getNearestAncestorDirectoryWithPackageJson:LD(e,e.getNearestAncestorDirectoryWithPackageJson),getFileIncludeReasons:function(){return t.getFileIncludeReasons()}}}function $Q(e,t){return __assign(__assign({},ZQ(e,t)),{getCommonSourceDirectory:function(){return e.getCommonSourceDirectory()}})}function eY(e){return 2===e||3<=e&&e<=99||100===e}function tY(e,t,r,n){return e||t&&t.length?rY(e,t,r,n):void 0}function rY(e,t,r,n,a){return uR.createImportDeclaration(void 0,e||t?uR.createImportClause(!!a,e,t&&t.length?uR.createNamedImports(t):void 0):void 0,"string"==typeof r?nY(r,n):r,void 0)}function nY(e,t){return uR.createStringLiteral(e,0===t)}function aY(e,t){return fl(e,t)?1:0}function iY(e,t){if(t.quotePreference&&"auto"!==t.quotePreference)return"single"===t.quotePreference?0:1;t=e.imports&&QN(e.imports,function(e){return hR(e)&&!jO(e.parent)});return t?aY(t,e):1}function oY(e){switch(e){case 0:return"'";case 1:return'"';default:return rA.assertNever(e)}}function sY(e){e=cY(e);return void 0===e?void 0:OA(e)}function cY(e){return"default"!==e.escapedName?e.escapedName:GN(e.declarations,function(e){e=JA(e);return e&&80===e.kind?e.escapedText:void 0})}function uY(e){return oF(e)&&(Gj(e.parent)||Jj(e.parent)||dI(e.parent,!1)&&e.parent.arguments[0]===e||mP(e.parent)&&e.parent.arguments[0]===e)}function _Y(e){return tj(e)&&$R(e.parent)&&xR(e.name)&&!e.propertyName}function lY(e,t){var r=e.getTypeAtLocation(t.parent);return r&&e.getPropertyOfType(r,t.name.text)}function dY(e,t,r){var n,a,i;if(e)for(;e.parent;){if(uB(e.parent)||(n=r,a=e.parent,i=t,!(SA(n,a.getStart(i))&&a.getEnd()<=TA(n))))return e;e=e.parent}}function fY(e,t){return VB(e)?QN(e.modifiers,function(e){return e.kind===t}):void 0}function pY(e,t,r,n,a){var i,o,s=243===(RD(r)?r[0]:r).kind?dl:N_,c=nD(t.statements,s),s=RD(r)?F_e.detectImportDeclarationSorting(r,a):3,u=F_e.getOrganizeImportsComparer(a,2===s),_=RD(r)?bn(r,function(e,t){return F_e.compareImportsOrRequireStatements(e,t,u)}):[r];if(c.length)if(c&&(s=F_e.detectImportDeclarationSorting(c,a))){var l=F_e.getOrganizeImportsComparer(a,2===s);try{for(var d=__values(_),f=d.next();!f.done;f=d.next()){var p,m=f.value,y=F_e.getImportDeclarationInsertionIndex(c,m,l);0===y?(p=c[0]===t.statements[0]?{leadingTriviaOption:ode.LeadingTriviaOption.Exclude}:{},e.insertNodeBefore(t,c[0],m,!1,p)):(y=c[y-1],e.insertNodeAfter(t,y,m))}}catch(e){i={error:e}}finally{try{f&&!f.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}}else{s=CD(c);s?e.insertNodesAfter(t,s,_):e.insertNodesAtTopOfFile(t,_,n)}else e.insertNodesAtTopOfFile(t,_,n)}function mY(e,t){return rA.assert(e.isTypeOnly),JD(e.getChildAt(0,t),zQ)}function yY(e,t){return!!e&&!!t&&e.start===t.start&&e.length===t.length}function vY(e,t){return e.fileName===t.fileName&&yY(e.textSpan,t.textSpan)}function gY(e,t){if(e)for(var r=0;r<e.length;r++)if(e.indexOf(e[r])===r){var n=t(e[r],r);if(n)return n}}function hY(e,t,r){for(var n=t;n<r;n++)if(!Ri(e.charCodeAt(n)))return!1;return!0}function xY(e,t,r){e=t.tryGetSourcePosition(e);return e&&(!r||r(pi(e.fileName))?e:void 0)}function bY(e,t,r){var n=e.fileName,a=e.textSpan,i=xY({fileName:n,pos:a.start},t,r);if(i){n=xY({fileName:n,pos:a.start+a.length},t,r),a=n?n.pos-i.pos:a.length;return{fileName:i.fileName,textSpan:{start:i.pos,length:a},originalFileName:e.fileName,originalTextSpan:e.textSpan,contextSpan:kY(e,t,r),originalContextSpan:e.contextSpan}}}function kY(e,t,r){var n=e.contextSpan&&xY({fileName:e.fileName,pos:e.contextSpan.start},t,r),r=e.contextSpan&&xY({fileName:e.fileName,pos:e.contextSpan.start+e.contextSpan.length},t,r);return n&&r?{start:n.pos,length:r.pos-n.pos}:void 0}function TY(e){return!!FA(e.declarations?kD(e.declarations):void 0,function(e){return!!CR(e)||!(tj(e)||$R(e)||ej(e))&&"quit"})}function SY(){var r,t,n,a,i=10*dF;c();function e(e){return s(e,17)}return{displayParts:function(){var e=r.length&&r[r.length-1].text;return i<a&&e&&"..."!==e&&(Ri(e.charCodeAt(e.length-1))||r.push(CY(" ",16)),r.push(CY("...",15))),r},writeKeyword:function(e){return s(e,5)},writeOperator:function(e){return s(e,12)},writePunctuation:function(e){return s(e,15)},writeTrailingSemicolon:function(e){return s(e,15)},writeSpace:function(e){return s(e,16)},writeStringLiteral:function(e){return s(e,8)},writeParameter:function(e){return s(e,13)},writeProperty:function(e){return s(e,14)},writeLiteral:function(e){return s(e,8)},writeSymbol:function(e,t){if(i<a)return;o(),a+=e.length,r.push(wY(e,t))},writeLine:function(){if(i<a)return;a+=1,r.push(UY()),t=!0},write:e,writeComment:e,getText:function(){return""},getTextPos:function(){return 0},getColumn:function(){return 0},getLine:function(){return 0},isAtStartOfLine:function(){return!1},hasTrailingWhitespace:function(){return!1},hasTrailingComment:function(){return!1},rawWrite:ue,getIndent:function(){return n},increaseIndent:function(){n++},decreaseIndent:function(){n--},clear:c};function o(){var e;i<a||t&&((e=yd(n))&&(a+=e.length,r.push(CY(e,16))),t=!1)}function s(e,t){i<a||(o(),a+=e.length,r.push(CY(e,t)))}function c(){r=[],t=!0,a=n=0}}function wY(e,t){return CY(e,function(e){var t=e.flags;if(3&t)return TY(e)?13:9;return 4&t||32768&t||65536&t?14:8&t?19:16&t?20:32&t?1:64&t?4:384&t?2:1536&t?11:8192&t?10:262144&t?18:524288&t||2097152&t?0:17}(t))}function CY(e,t){return{text:e,kind:kG[t]}}function NY(){return CY(" ",16)}function DY(e){return CY(vA(e),5)}function AY(e){return CY(vA(e),15)}function EY(e){return CY(vA(e),12)}function FY(e){return CY(e,13)}function PY(e){return CY(e,14)}function IY(e){var t=Ai(e);return void 0===t?OY(e):DY(t)}function OY(e){return CY(e,17)}function LY(e){return CY(e,0)}function MY(e){return CY(e,18)}function RY(e){return CY(e,24)}function jY(e,t){return{text:e,kind:kG[23],target:{fileName:CF(t).fileName,textSpan:IQ(t)}}}function BY(e){return CY(e,22)}function JY(e,t){var r,n,a,i=gh(e)?"link":hh(e)?"linkcode":"linkplain",o=[BY("{@".concat(i," "))];return e.name?(r=null==t?void 0:t.getSymbolAtLocation(e.name),n=function(e){var t=e.indexOf("://");if(0===t){for(;t<e.length&&124!==e.charCodeAt(t);)t++;return t}if(0===e.indexOf("()"))return 2;if("<"===e.charAt(0))for(var r=0,n=0;n<e.length;)if("<"===e[n]&&r++,">"===e[n]&&r--,n++,!r)return n;return 0}(e.text),i=PF(e.name)+e.text.slice(0,n),t=function(e){var t=0;if(124!==e.charCodeAt(t++))return e;for(;t<e.length&&32===e.charCodeAt(t);)t++;return e.slice(t)}(e.text.slice(n)),(a=(null==r?void 0:r.valueDeclaration)||(null==(a=null==r?void 0:r.declarations)?void 0:a[0]))?(o.push(jY(i,a)),t&&o.push(RY(t))):o.push(RY(i+(n?"":" ")+t))):e.text&&o.push(RY(e.text)),o.push(BY("}")),o}function zY(e,t){return(null==t?void 0:t.newLineCharacter)||(null==(t=e.getNewLine)?void 0:t.call(e))||zG}function UY(){return CY("\n",6)}function VY(e){try{return e(JG),JG.displayParts()}finally{JG.clear()}}function qY(t,r,n,a){return void 0===a&&(a=0),VY(function(e){t.writeType(r,n,17408|a,e)})}function WY(t,r,n,a,i){return void 0===i&&(i=0),VY(function(e){t.writeSymbol(r,n,a,8|i,e)})}function HY(t,r,n,a){return void 0===a&&(a=0),a|=25632,VY(function(e){t.writeSignature(r,n,a,void 0,e)})}function KY(t,e){var r=e.getSourceFile();return VY(function(e){hU().writeNode(4,t,r,e)})}function GY(e){return!!e.parent&&fE(e.parent)&&e.parent.propertyName===e}function XY(e,t){return nm(e,t.getScriptKind&&t.getScriptKind(e))}function QY(e,t){for(var r=e;0!=(2097152&r.flags)||gF(r)&&r.links.target;)r=gF(r)&&r.links.target?r.links.target:Uf(r,t);return r}function YY(e,t){return yJ(Uf(e,t))}function ZY(e,t){for(;Ri(e.charCodeAt(t));)t+=1;return t}function $Y(e,t){for(;-1<t&&ji(e.charCodeAt(t));)--t;return t+1}function eZ(e,t){void 0===t&&(t=!0);e=e&&rZ(e);return e&&!t&&iZ(e),e}function tZ(e,t,r){var n=r(e);return n?_R(n,e):n=rZ(e,r),n&&!t&&iZ(n),n}function rZ(e,t){var r=t?function(e){return tZ(e,!0,t)}:eZ,r=wJ(e,r,iU,t?function(e){return e&&aZ(e,!0,t)}:function(e){return e&&nZ(e)},r);return r===e?UB(hR(e)?_R(uR.createStringLiteralFromNode(e),e):gR(e)?_R(uR.createNumericLiteral(e.text,e.numericLiteralFlags),e):uR.cloneNode(e),e):(r.parent=void 0,r)}function nZ(e,t){if(void 0===t&&(t=!0),e){var r=uR.createNodeArray(e.map(function(e){return eZ(e,t)}),e.hasTrailingComma);return UB(r,e),r}return e}function aZ(e,t,r){return uR.createNodeArray(e.map(function(e){return tZ(e,t,r)}),e.hasTrailingComma)}function iZ(e){oZ(e),sZ(e)}function oZ(e){uZ(e,1024,_Z)}function sZ(e){uZ(e,2048,Yf)}function cZ(e,t){var r=e.getSourceFile();(!function(e,t){for(var r=e.getFullStart(),n=e.getStart(),a=r;a<n;a++)if(10===t.charCodeAt(a))return!0;return!1}(e,r.text)?mZ:fZ)(e,t,r),pZ(e,t,r)}function uZ(e,t,r){Cy(e,t);e=r(e);e&&uZ(e,t,r)}function _Z(e){return e.forEachChild(function(e){return e})}function lZ(e,t){for(var r=e,n=1;!Xu(t,r);n++)r="".concat(e,"_").concat(n);return r}function dZ(e,t,r,n){var a,i,o,s,c=0,u=-1;try{for(var _=__values(e),l=_.next();!l.done;l=_.next()){var d=l.value,f=d.fileName,p=d.textChanges;rA.assert(f===t);try{for(var m=(o=void 0,__values(p)),y=m.next();!y.done;y=m.next()){var v=y.value,g=v.span,h=v.newText,v=function(e,t){if(XD(e,t))return 0;var r=e.indexOf(" "+t);-1===r&&(r=e.indexOf("."+t));-1===r&&(r=e.indexOf('"'+t));return-1===r?-1:r+1}(h,zO(r));if(-1!==v&&(u=g.start+c+v,!n))return u;c+=h.length-g.length}}catch(e){o={error:e}}finally{try{y&&!y.done&&(s=m.return)&&s.call(m)}finally{if(o)throw o.error}}}}catch(e){a={error:e}}finally{try{l&&!l.done&&(i=_.return)&&i.call(_)}finally{if(a)throw a.error}}return rA.assert(n),rA.assert(0<=u),u}function fZ(e,t,r,n,a){Gi(r.text,e.pos,yZ(t,r,n,a,pR))}function pZ(e,t,r,n,a){Xi(r.text,e.end,yZ(t,r,n,a,By))}function mZ(e,t,r,n,a){Xi(r.text,e.pos,yZ(t,r,n,a,pR))}function yZ(a,i,o,s,c){return function(e,t,r,n){3===r?(e+=2,t-=2):e+=2,c(a,o||r,i.text.slice(e,t),void 0!==s?s:n)}}function vZ(e){return mj(e)&&28===e.operatorToken.kind||nj(e)||Lg(e)&&nj(e.expression)}function gZ(e,t,r){var n=aO(e.parent);switch(n.kind){case 214:return t.getContextualType(n,r);case 226:var a=n.left,i=n.operatorToken,o=n.right;return xZ(i.kind)?t.getTypeAtLocation(e===o?a:o):t.getContextualType(e,r);case 296:return TZ(n,t);default:return t.getContextualType(e,r)}}function hZ(e,t,r){t=iY(e,t),r=JSON.stringify(r);return 0===t?"'".concat(UO(r).replace(/'/g,"\\'").replace(/\\"/g,'"'),"'"):r}function xZ(e){switch(e){case 37:case 35:case 38:case 36:return!0;default:return!1}}function bZ(e){switch(e.kind){case 11:case 15:case 228:case 215:return!0;default:return!1}}function kZ(e){return!!e.getStringIndexType()||!!e.getNumberIndexType()}function TZ(e,t){return t.getTypeAtLocation(e.parent.parent.expression)}function SZ(e,t,r,n){function a(){return o=!1}var i=r.getTypeChecker(),o=!0,n=i.typeToTypeNode(e,t,1,{trackSymbol:function(e,t,r){return!(o=o&&0===i.isSymbolAccessible(e,t,r,!1).accessibility)},reportInaccessibleThisError:a,reportPrivateInBaseOfClassExpression:a,reportInaccessibleUniqueSymbolError:a,moduleResolverHost:$Q(r,n)});return o?n:void 0}function wZ(e){return 179===e||180===e||181===e||171===e||173===e}function CZ(e){return 262===e||176===e||174===e||177===e||178===e}function NZ(e){return 267===e}function DZ(e){return 243===e||244===e||246===e||251===e||252===e||253===e||257===e||259===e||172===e||265===e||272===e||271===e||278===e||270===e||277===e}function AZ(t,e,r){e=FA(e,function(e){return e.end!==t?"quit":VG(e.kind)});return!!e&&function(e,t){var r=e.getLastToken(t);if(r&&27===r.kind)return!1;if(wZ(e.kind)){if(r&&28===r.kind)return!1}else if(NZ(e.kind)){if((n=ND(e.getChildren(t)))&&Rj(n))return!1}else if(CZ(e.kind)){if((n=ND(e.getChildren(t)))&&X_(n))return!1}else if(!DZ(e.kind))return!1;if(246===e.kind)return!0;var n=eQ(e,FA(e,function(e){return!e.parent}),t);return!n||20===n.kind||t.getLineAndCharacterOfPosition(e.getEnd()).line!==t.getLineAndCharacterOfPosition(n.getStart(t)).line}(e,r)}function EZ(n){var a=0,i=0;return HB(n,function e(t){var r;return DZ(t.kind)?27===(null==(r=t.getLastToken(n))?void 0:r.kind)?a++:i++:wZ(t.kind)&&(27===(null==(r=t.getLastToken(n))?void 0:r.kind)?a++:r&&28!==r.kind&&gA(n,r.getStart(n)).line!==gA(n,sP(n,r.end).start).line&&i++),5<=a+i||HB(t,e)}),0===a&&i<=1||.2<a/i}function FZ(e,t){return MZ(e,e.getDirectories,t)||[]}function PZ(e,t,r,n,a){return MZ(e,e.readDirectory,t,r,n,a)||WN}function IZ(e,t){return MZ(e,e.fileExists,t)}function OZ(e,t){return LZ(function(){return yf(t,e)})||!1}function LZ(e){try{return e()}catch(e){return}}function MZ(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return LZ(function(){return t&&t.apply(e,r)})}function RZ(e,t,r){var n=[];return ti(e,function(e){if(e===r)return!0;e=dA(e,"package.json");IZ(t,e)&&n.push(e)}),n}function jZ(e,t){var r;return ti(e,function(e){return"node_modules"===e||(!!(r=TV(e,function(e){return IZ(t,e)},"package.json"))||void 0)}),r}function BZ(e,t){if(!t.fileExists)return[];var r=[];return ti(lA(e),function(e){e=dA(e,"package.json");!t.fileExists(e)||(e=JZ(e,t))&&r.push(e)}),r}function JZ(e,t){var r,n;if(t.readFile){var a=function(e){try{return JSON.parse(e)}catch(e){return}}(t.readFile(e)||""),i={};if(a)try{for(var o=__values(["dependencies","devDependencies","optionalDependencies","peerDependencies"]),s=o.next();!s.done;s=o.next()){var c=s.value,u=a[c];if(u){var _,l=new Map;for(_ in u)l.set(_,u[_]);i[c]=l}}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}var d=[[1,i.dependencies],[2,i.devDependencies],[8,i.optionalDependencies],[4,i.peerDependencies]];return __assign(__assign({},i),{parseable:!!a,fileName:e,get:f,has:function(e,t){return!!f(e,t)}})}function f(e,t){var r,n;void 0===t&&(t=15);try{for(var a=__values(d),i=a.next();!i.done;i=a.next()){var o=__read(i.value,2),s=o[0],o=o[1];if(o&&t&s){o=o.get(e);if(void 0!==o)return o}}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}}function zZ(r,n,a){var t,i,o,s=(a.getPackageJsonsVisibleToFile&&a.getPackageJsonsVisibleToFile(r.fileName)||BZ(r.fileName,a)).filter(function(e){return e.parseable});return{allowsImportingAmbientModule:function(e,t){if(!s.length||!e.valueDeclaration)return!0;if(i){var r=i.get(e);if(void 0!==r)return r}else i=new Map;r=UO(e.getName());if(u(r))return i.set(e,!0),!0;t=_(e.valueDeclaration.getSourceFile().fileName,t);if(void 0===t)return i.set(e,!0),!0;r=c(t)||c(r);return i.set(e,r),r},allowsImportingSourceFile:function(e,t){if(!s.length)return!0;if(o){var r=o.get(e);if(void 0!==r)return r}else o=new Map;t=_(e.fileName,t);if(!t)return o.set(e,!0),!0;t=c(t);return o.set(e,t),t},allowsImportingSpecifier:function(e){if(!s.length||u(e))return!0;if(sA(e)||ka(e))return!0;return c(e)}};function c(e){var t,r,n=l(e);try{for(var a=__values(s),i=a.next();!i.done;i=a.next()){var o=i.value;if(o.has(n)||o.has(Nw(n)))return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return!1}function u(e){return!!(sI(r)&&HK.nodeCoreModules.has(e)&&(void 0===t&&(t=UZ(r)),t))}function _(e,t){if(WD(e,"node_modules")){t=kC.getNodeModulesPackageName(a.getCompilationSettings(),r,e,t,n);if(t)return sA(t)||ka(t)?void 0:l(t)}}function l(e){e=Ia(Aw(e)).slice(1);return XD(e[0],"@")?"".concat(e[0],"/").concat(e[1]):e[0]}}function UZ(e){return dD(e.imports,function(e){e=e.text;return HK.nodeCoreModules.has(e)})}function VZ(e){return eD(Ia(e),"node_modules")}function qZ(e){return void 0!==e.file&&void 0!==e.start&&void 0!==e.length}function WZ(e,t){var r=B(t,IQ(e),ir,pe);if(0<=r){r=t[r];return rA.assertEqual(r.file,e.getSourceFile(),"Diagnostics proided to 'findDiagnosticForNode' must be from a single SourceFile"),JD(r,qZ)}}function HZ(e,t){var r,n=B(t,e.start,function(e){return e.start},UD);for(n<0&&(n=~n);(null==(r=t[n-1])?void 0:r.start)===e.start;)n--;for(var a=[],i=TA(e);;){var o=BD(t[n],qZ);if(!o||o.start>i)break;yo(e,o)&&a.push(o),n++}return a}function KZ(e){var t=e.startPosition,e=e.endPosition;return wo(t,void 0===e?t:e)}function GZ(t,r){return FA(QX(t,r.start),function(e){return e.getStart(t)<r.start||e.getEnd()>TA(r)?"quit":jE(e)&&yY(r,IQ(e,t))})}function XZ(e,t,r){return void 0===r&&(r=ir),e?RD(e)?r(iD(e,t)):t(e,0):void 0}function QZ(e){return RD(e)?SD(e):e}function YZ(e,t){if($Z(e)){var r=e$(e);if(r)return r;r=Roe.moduleSymbolToValidIdentifier(t$(e),t,!1),t=Roe.moduleSymbolToValidIdentifier(t$(e),t,!0);return r===t?r:[r,t]}return e.name}function ZZ(e,t,r){return $Z(e)?e$(e)||Roe.moduleSymbolToValidIdentifier(t$(e),t,!!r):e.name}function $Z(e){return!(33554432&e.flags||"export="!==e.escapedName&&"default"!==e.escapedName)}function e$(e){return GN(e.declarations,function(e){var t;return qj(e)?null==(t=BD(RB(e.expression),xR))?void 0:t.text:Kj(e)&&2097152===e.symbol.flags?null==(t=BD(e.propertyName,xR))?void 0:t.text:null==(e=BD(JA(e),xR))?void 0:e.text})}function t$(e){return rA.checkDefined(e.parent,"Symbol parent was undefined. Flags: ".concat(rA.formatSymbolFlags(e.flags),". Declarations: ").concat(null==(e=e.declarations)?void 0:e.map(function(e){var t=rA.formatSyntaxKind(e.kind),r=cI(e),e=e.expression;return(r?"[JS]":"")+t+(e?" (expression: ".concat(rA.formatSyntaxKind(e.kind),")"):"")}).join(", "),"."))}function r$(e,t,r){var n=t.length;if(n+r>e.length)return!1;for(var a=0;a<n;a++)if(t.charCodeAt(a)!==e.charCodeAt(a+r))return!1;return!0}function n$(e){return 95===e.charCodeAt(0)}function a$(e){return!i$(e)}function i$(e){var t=e.getSourceFile();return!(!t.externalModuleIndicator&&!t.commonJsModuleIndicator)&&(cI(e)||!FA(e,function(e){return Mj(e)&&zF(e)}))}function o$(e){return!!(8192&Oo(e))}function s$(e,t){e=GN(e.imports,function(e){if(HK.nodeCoreModules.has(e.text))return XD(e.text,"node:")});return null!=e?e:t.usesUriStyleNodeCoreModules}function c$(e){return"\n"===e?1:0}function u$(e){return RD(e)?pp(vp(e[0]),e.slice(1)):vp(e)}function _$(e,t){var r=e.options,e=!r.semicolons||"ignore"===r.semicolons,t="remove"===r.semicolons||e&&!EZ(t);return __assign(__assign({},r),{semicolons:t?"remove":"ignore"})}function l$(e){return 2===e||3===e}function d$(e,t){return e.isSourceFileFromExternalLibrary(t)||e.isSourceFileDefaultLibrary(t)}function f$(e,t){var r,n,a=new Set,i=new Set,o=new Set;try{for(var s=__values(t),c=s.next();!c.done;c=s.next()){var u=c.value;if(!ph(u)){var _=oO(u.expression);if(lE(_))switch(_.kind){case 15:case 11:a.add(_.text);break;case 9:i.add(parseInt(_.text));break;case 10:var l=Cm(qD(_.text,"n")?_.text.slice(0,-1):_.text);l&&o.add(EM(l))}else{u=e.getSymbolAtLocation(u.expression);u&&u.valueDeclaration&&cB(u.valueDeclaration)&&(void 0!==(u=e.getConstantValue(u.valueDeclaration))&&d(u))}}}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return{addValue:d,hasValue:function(e){switch(typeof e){case"string":return a.has(e);case"number":return i.has(e);case"object":return o.has(EM(e))}}};function d(e){switch(typeof e){case"string":a.add(e);break;case"number":i.add(e)}}}function p$(e,t,r,n){var a;if(!sm("string"==typeof e?e:e.fileName))return!1;var i=t.getCompilerOptions(),o=nM(i),r="string"==typeof e?oq(Ja(e,r.getCurrentDirectory(),hd(r)),null==(a=t.getPackageJsonInfoCache)?void 0:a.call(t),r,i):e.impliedNodeFormat;if(99===r)return!1;if(1===r)return!0;if(i.verbatimModuleSyntax&&1===o)return!0;if(i.verbatimModuleSyntax&&aM(o))return!1;if("object"==typeof e){if(e.commonJsModuleIndicator)return!0;if(e.externalModuleIndicator)return!1}return n}var m$,y$,v$=e({"src/services/utilities.ts":function(){fpe(),LG=ao(99,!0),MG=function(e){return e[e.None=0]="None",e[e.Value=1]="Value",e[e.Type=2]="Type",e[e.Namespace=4]="Namespace",e[e.All=7]="All",e}(MG||{}),RG=/^\/\/\/\s*</,jG=[133,131,163,136,97,140,143,146,106,150,151,148,154,155,114,112,116,157,158,159],BG=function(e){return e[e.Single=0]="Single",e[e.Double=1]="Double",e}(BG||{}),JG=SY(),zG="\n",UG="anonymous function",VG=ZD(wZ,CZ,NZ,DZ)}});function g$(u){var m,y=1,v=MD(),g=new Map,h=new Map,x={isUsableByFile:function(e){return e===m},isEmpty:function(){return!v.size},clear:function(){v.clear(),g.clear(),m=void 0},add:function(e,t,r,n,a,i,o,s){var c;e!==m&&(x.clear(),m=e),!a||(u=jm(a.fileName))&&(f=u.topLevelNodeModulesIndex,l=u.topLevelPackageNameIndex,_=u.packageRootIndex,c=Ew(Aw(a.fileName.substring(l+1,_))),XD(e,a.path.substring(0,f))&&(d=h.get(c),p=a.fileName.substring(0,l+1),(!d||d.indexOf(ZT)<f)&&h.set(c,p)));var u=1===i&&RL(t)||t,_=0===i||VQ(u)?OA(r):YZ(u,void 0),e="string"==typeof _?_:_[0],l="string"==typeof _?void 0:_[1],d=UO(n.name),f=y++,p=Uf(t,s),u=33554432&t.flags?void 0:t,_=33554432&n.flags?void 0:n;u&&_||g.set(f,[t,n]),v.add(function(e,t,r,n){r=r||"";return"".concat(e,"|").concat(yJ(Uf(t,n)),"|").concat(r)}(e,t,kA(d)?void 0:d,s),{id:f,symbolTableKey:r,symbolName:e,capitalizedSymbolName:l,moduleName:d,moduleFile:a,moduleFileName:null==a?void 0:a.fileName,packageName:c,exportKind:i,targetFlags:p.flags,isFromPackageJson:o,symbol:u,moduleSymbol:_})},get:function(e,t){if(e===m){t=v.get(t);return null==t?void 0:t.map(c)}},search:function(e,i,o,s){if(e===m)return hF(v,function(r,e){var t,n=(a=(t=e).substring(0,t.indexOf("|")),t=t.substring(t.lastIndexOf("|")+1),{symbolName:a,ambientModuleName:""===t?void 0:t}),a=n.symbolName,t=n.ambientModuleName,n=i&&r[0].capitalizedSymbolName||a;if(o(n,r[0].targetFlags)){var a=r.map(c).filter(function(e,t){return function(e,t){if(!t||!e.moduleFileName)return!0;var r=u.getGlobalTypingsCacheLocation();if(r&&XD(e.moduleFileName,r))return!0;t=h.get(t);return!t||XD(e.moduleFileName,t)}(e,r[t].packageName)});if(a.length){e=s(a,n,!!t,e);if(void 0!==e)return e}}})},releaseSymbols:function(){g.clear()},onFileChanged:function(e,t,r){return(!n(e)||!n(t))&&(m&&m!==t.path||r&&UZ(e)!==UZ(t)||!nr(e.moduleAugmentations,t.moduleAugmentations)||!function(r,n){var t,e;if(!nr(r.ambientModuleNames,n.ambientModuleNames))return!1;var a=-1,i=-1;try{for(var o=__values(n.ambientModuleNames),s=o.next();!s.done;s=o.next()){var c=function(t){function e(e){return h_(e)&&e.name.text===t}if(a=ZN(r.statements,e,a+1),i=ZN(n.statements,e,i+1),r.statements[a]!==n.statements[i])return{value:!1}}(s.value);if("object"==typeof c)return c.value}}catch(e){t={error:e}}finally{try{s&&!s.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}return!0}(e,t)?(x.clear(),!0):(m=t.path,!1))}};return rA.isDebugging&&Object.defineProperty(x,"__cache",{get:function(){return v}}),x;function c(e){if(e.symbol&&e.moduleSymbol)return e;var t=e.id,r=e.exportKind,n=e.targetFlags,a=e.isFromPackageJson,i=e.moduleFileName,o=__read(g.get(t)||WN,2),s=o[0],c=o[1];if(s&&c)return{symbol:s,moduleSymbol:c,moduleFileName:i,exportKind:r,targetFlags:n,isFromPackageJson:a};o=(a?u.getPackageJsonAutoImportProvider():u.getCurrentProgram()).getTypeChecker(),c=e.moduleSymbol||c||rA.checkDefined(e.moduleFile?o.getMergedSymbol(e.moduleFile.symbol):o.tryFindAmbientModule(e.moduleName)),e=e.symbol||s||rA.checkDefined(2===r?o.resolveExternalModuleSymbol(c):o.tryGetMemberInModuleExportsAndProperties(OA(e.symbolTableKey),c),"Could not find symbol '".concat(e.symbolName,"' by key '").concat(e.symbolTableKey,"' in module ").concat(c.name));return g.set(t,[e,c]),{symbol:e,moduleSymbol:c,moduleFileName:i,exportKind:r,targetFlags:n,isFromPackageJson:a}}function n(e){return!(e.commonJsModuleIndicator||e.externalModuleIndicator||e.moduleAugmentations||e.ambientModuleNames)}}function h$(r,n,a,e,t,i,o){if(n===a)return!1;var s=null==o?void 0:o.get(n.path,a.path,e,{});if(void 0!==(null==s?void 0:s.isBlockedByPackageJsonDependencies))return!s.isBlockedByPackageJsonDependencies;var c=hd(i),u=null==(s=i.getGlobalTypingsCacheLocation)?void 0:s.call(i),s=!!kC.forEachFileNameOfModule(n.fileName,a.fileName,i,!1,function(e){var t=r.getSourceFile(e);return(t===a||!t)&&function(e,t,r,n){t=ti(t,function(e){return"node_modules"===Ea(e)?e:void 0}),t=t&&lA(r(t));return void 0===t||XD(r(e),t)||!!n&&XD(r(n),t)}(n.fileName,e,c,u)});if(t){i=s&&t.allowsImportingSourceFile(a,i);return null!=o&&o.setBlockedByPackageJsonDependencies(n.path,a.path,e,{},!i),i}return s}function x$(r,e,t,n,a){var i=gd(e),t=t.autoImportFileExcludePatterns&&uD(t.autoImportFileExcludePatterns,function(e){e=Yp(e,"","exclude");return e?tm(e,i):void 0});b$(r.getTypeChecker(),r.getSourceFiles(),t,function(e,t){return a(e,t,r,!1)});var o,s,c=n&&(null==(o=e.getPackageJsonAutoImportProvider)?void 0:o.call(e));c&&(o=ht(),s=r.getTypeChecker(),b$(c.getTypeChecker(),c.getSourceFiles(),t,function(e,t){(t&&!r.getSourceFile(t.fileName)||!t&&!s.resolveName(e.name,void 0,1536,!1))&&a(e,t,c,!0)}),null!=(t=e.log)&&t.call(e,"forEachExternalModuleToImportFrom autoImportProvider: ".concat(ht()-o)))}function b$(e,t,r,n){var a,i,o,s,c,u=r&&function(t){return r.some(function(e){return e.test(t)})};try{for(var _=__values(e.getAmbientModules()),l=_.next();!l.done;l=_.next()){var d=l.value;WD(d.name,"*")||r&&null!=(c=d.declarations)&&c.every(function(e){return u(e.getSourceFile().fileName)})||n(d,void 0)}}catch(e){a={error:e}}finally{try{l&&!l.done&&(i=_.return)&&i.call(_)}finally{if(a)throw a.error}}try{for(var f=__values(t),p=f.next();!p.done;p=f.next()){var m=p.value;!_P(m)||null!=u&&u(m.fileName)||n(e.getMergedSymbol(m.symbol),m)}}catch(e){o={error:e}}finally{try{p&&!p.done&&(s=f.return)&&s.call(f)}finally{if(o)throw o.error}}}function k$(c,t,e,r,u){var n,a,i=ht();null!=(n=t.getPackageJsonAutoImportProvider)&&n.call(t);var _=(null==(n=t.getCachedExportInfoMap)?void 0:n.call(t))||g$({getCurrentProgram:function(){return e},getPackageJsonAutoImportProvider:function(){var e;return null==(e=t.getPackageJsonAutoImportProvider)?void 0:e.call(t)},getGlobalTypingsCacheLocation:function(){var e;return null==(e=t.getGlobalTypingsCacheLocation)?void 0:e.call(t)}});if(_.isUsableByFile(c.path))return null!=(a=t.log)&&a.call(t,"getExportInfoMap: cache hit"),_;null!=(a=t.log)&&a.call(t,"getExportInfoMap: cache miss or empty; calculating new results");var l=e.getCompilerOptions(),d=0;try{x$(e,t,r,!0,function(r,n,e,a){++d%100==0&&null!=u&&u.throwIfCancellationRequested();var i=new Map,o=e.getTypeChecker(),s=T$(r,o,l);s&&S$(s.symbol,o)&&_.add(c.path,s.symbol,1===s.exportKind?"default":"export=",r,n,s.exportKind,a,o),o.forEachExportAndPropertyOfModule(r,function(e,t){e!==(null==s?void 0:s.symbol)&&S$(e,o)&&Zf(i,t)&&_.add(c.path,e,t,r,n,0,a,o)})})}catch(e){throw _.clear(),e}return null!=(a=t.log)&&a.call(t,"getExportInfoMap: done in ".concat(ht()-i," ms")),_}function T$(e,t,r){var n=function(e,t){var r=t.resolveExternalModuleSymbol(e);if(r!==e)return{symbol:r,exportKind:2};e=t.tryGetMemberInModuleExports("default",e);if(e)return{symbol:e,exportKind:1}}(e,t);if(n){e=n.symbol,n=n.exportKind,r=w$(e,t,r);return r&&__assign({symbol:e,exportKind:n},r)}}function S$(e,t){return!(t.isUndefinedSymbol(e)||t.isUnknownSymbol(e)||PO(e)||Zl(e))}function w$(e,t,r){var n=RL(e);if(n)return{resolvedSymbol:n,name:n.name};n=(n=e).declarations&&GN(n.declarations,function(e){var t;return qj(e)?null==(t=BD(RB(e.expression),xR))?void 0:t.text:Kj(e)?(rA.assert("default"===e.name.text,"Expected the specifier to be a default export"),e.propertyName&&e.propertyName.text):void 0});if(void 0!==n)return{resolvedSymbol:e,name:n};if(2097152&e.flags){n=t.getImmediateAliasedSymbol(e);if(n&&n.parent)return w$(n,t,r)}return"default"!==e.escapedName&&"export="!==e.escapedName?{resolvedSymbol:e,name:e.getName()}:{resolvedSymbol:e,name:ZZ(e,r.target)}}var C$,N$=e({"src/services/exportInfoMap.ts":function(){fpe(),m$=function(e){return e[e.Named=0]="Named",e[e.Default=1]="Default",e[e.Namespace=2]="Namespace",e[e.CommonJS=3]="CommonJS",e}(m$||{}),y$=function(e){return e[e.Named=0]="Named",e[e.Default=1]="Default",e[e.ExportEquals=2]="ExportEquals",e[e.UMD=3]="UMD",e}(y$||{})}});function D$(){var v=ao(99,!1);function n(e,t,r){var n=0,a=0,i=[],o=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 rA.assertNever(e)}}(t),t=o.prefix,o=o.pushTemplate;e=t+e;var s=t.length;o&&i.push(16),v.setText(e);var c,u,_,l,d,f=0,p=[],m=0;do{Xl(n=v.scan())||(function(){switch(n){case 44:case 69:C$[a]||14!==v.reScanSlashToken()||(n=14);break;case 30:80===a&&m++;break;case 32:0<m&&m--;break;case 133:case 154:case 150:case 136:case 155:0<m&&!r&&(n=80);break;case 16:i.push(n);break;case 19:0<i.length&&i.push(n);break;case 20:var e;0<i.length&&(16===(e=CD(i))?18===(n=v.reScanTemplateToken(!1))?i.pop():rA.assertEqual(n,17,"Should have been a template middle."):(rA.assertEqual(e,19,"Should have been an open brace"),i.pop()));break;default:if(!zl(n))break;(25===a||zl(a)&&zl(n)&&!function(e,t){if(!CQ(e))return!0;switch(t){case 139:case 153:case 137:case 126:case 129:return!0;default:return!1}}(a,n))&&(n=80)}}(),a=n);var y=v.getTokenEnd();c=v.getTokenStart(),u=y,_=s,l=function(e){{if(zl(e))return 3;if(function(e){switch(e){case 42:case 44:case 45:case 40:case 41:case 48:case 49:case 50:case 30:case 32:case 33:case 34:case 104:case 103:case 130:case 152:case 35:case 36:case 37:case 38:case 51:case 53:case 52:case 56:case 57:case 75:case 74:case 79:case 71:case 72:case 73:case 65:case 66:case 67:case 69:case 70:case 64:case 28:case 61:case 76:case 77:case 78:return!0;default:return!1}}(e)||function(e){switch(e){case 40:case 41:case 55:case 54:case 46:case 47:return!0;default:return!1}}(e))return 5;if(19<=e&&e<=79)return 10}switch(e){case 9:return 4;case 10:return 25;case 11:return 6;case 14:return 7;case 7:case 3:case 2:return 1;case 5:case 4:return 8;case 80:default:return As(e)?6:2}}(n),d=p,!void(8!==l&&(0===c&&0<_&&(c+=_),0<(u-=c)&&d.push(c-_,u,l))),y>=e.length&&(void 0!==(y=function(e,t,r){switch(t){case 11:if(!e.isUnterminated())return;for(var n=e.getTokenText(),a=n.length-1,i=0;92===n.charCodeAt(a-i);)i++;return 0==(1&i)?void 0:34===n.charCodeAt(0)?3:2;case 3:return e.isUnterminated()?1:void 0;default:if(As(t)){if(!e.isUnterminated())return;switch(t){case 18:return 5;case 15:return 4;default:return rA.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+t)}}return 16===r?6:void 0}}(v,n,CD(i)))&&(f=y))}while(1!==n);return{endOfLineState:f,spans:p}}return{getClassificationsForLine:function(e,t,r){return function(e,t){for(var r=[],n=e.spans,a=0,i=0;i<n.length;i+=3){var o,s=n[i],c=n[i+1],u=n[i+2];0<=a&&(0<(o=s-a)&&r.push({length:o,classification:4})),r.push({length:c,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}}(u)}),a=s+c}t=t.length-a;0<t&&r.push({length:t,classification:4});return{entries:r,finalLexState:e.endOfLineState}}(n(e,t,r),e)},getEncodedLexicalClassifications:n}}function A$(e,t,r,n,a){return I$(F$(e,t,r,n,a))}function E$(e,t){switch(t){case 267:case 263:case 264:case 262:case 231:case 218:case 219:e.throwIfCancellationRequested()}}function F$(i,o,s,c,u){var _=[];return s.forEachChild(function e(t){var r,n,a;t&&xo(u,t.pos,t.getFullWidth())&&(E$(o,t.kind),!xR(t)||EF(t)||!c.has(t.escapedText)||(a=(n=i.getSymbolAtLocation(t))&&function e(t,r,n){var a=t.getFlags();if(0!=(2885600&a))return 32&a?11:384&a?12:524288&a?16:1536&a?4&r||1&r&&P$(t)?14:void 0:2097152&a?e(n.getAliasedSymbol(t),r,n):2&r?64&a?13:262144&a?15:void 0:void 0}(n,HG(t),i))&&(r=t.getStart(s),n=t.getEnd(),a=a,n-=r,rA.assert(0<n,"Classification had non-positive length of ".concat(n)),_.push(r),_.push(n),_.push(a)),t.forEachChild(e))}),{spans:_,endOfLineState:0}}function P$(e){return dD(e.declarations,function(e){return Mj(e)&&1===$B(e)})}function I$(e){rA.assert(e.spans.length%3==0);for(var t=e.spans,r=[],n=0;n<t.length;n+=3)r.push({textSpan:So(t[n],t[n+1]),classificationType:function(e){switch(e){case 1:return"comment";case 2:return"identifier";case 3:return"keyword";case 4:return"number";case 25:return"bigint";case 5:return"operator";case 6:return"string";case 8:return"whitespace";case 9:return"text";case 10:return"punctuation";case 11:return"class name";case 12:return"enum name";case 13:return"interface name";case 14:return"module name";case 15:return"type parameter name";case 16:return"type alias name";case 17:return"parameter name";case 18:return"doc comment tag name";case 19:return"jsx open tag name";case 20:return"jsx close tag name";case 21:return"jsx self closing tag name";case 22:return"jsx attribute";case 23:return"jsx text";case 24:return"jsx attribute string literal value";default:return}}(t[n+2])});return r}function O$(e,t,r){return I$(L$(e,t,r))}function L$(o,u,e){var s=e.start,c=e.length,_=ao(99,!1,u.languageVariant,u.text),l=ao(99,!1,u.languageVariant,u.text),n=[];return y(u),{spans:n,endOfLineState:0};function p(e,t,r){n.push(e),n.push(t),n.push(r)}function a(e){for(_.resetTokenState(e.pos);;){var t=_.getTokenEnd();if(!Ui(u.text,t))return t;var r=_.scan(),n=_.getTokenEnd(),a=n-t;if(!Xl(r))return t;switch(r){case 4:case 5:continue;case 2:case 3:!function(e,t,r,n){if(3===t){var a=Mb(u.text,r,n);if(a&&a.jsDoc)return jM(a.jsDoc,e),function(e){var t,r,n,a,i,o=e.pos;if(e.tags)try{for(var s=__values(e.tags),c=s.next();!c.done;c=s.next()){var u=c.value;u.pos!==o&&m(o,u.pos-o),p(u.pos,1,10),p(u.tagName.pos,u.tagName.end-u.tagName.pos,18),o=u.tagName.end;var _=u.tagName.end;switch(u.kind){case 348:var l=u;!function(e){e.isNameFirst&&(m(o,e.name.pos-o),p(e.name.pos,e.name.end-e.name.pos,17),o=e.name.end),e.typeExpression&&(m(o,e.typeExpression.pos-o),y(e.typeExpression),o=e.typeExpression.end),e.isNameFirst||(m(o,e.name.pos-o),p(e.name.pos,e.name.end-e.name.pos,17),o=e.name.end)}(l),_=l.isNameFirst&&(null==(n=l.typeExpression)?void 0:n.end)||l.name.end;break;case 355:var d=u;_=d.isNameFirst&&(null==(f=d.typeExpression)?void 0:f.end)||d.name.end;break;case 352:!function(e){var t,r;try{for(var n=__values(e.getChildren()),a=n.next();!a.done;a=n.next())y(a.value)}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}(u),o=u.end,_=u.typeParameters.end;break;case 353:var f=u;_=316===(null==(d=f.typeExpression)?void 0:d.kind)&&(null==(d=f.fullName)?void 0:d.end)||(null==(a=f.typeExpression)?void 0:a.end)||_;break;case 345:_=u.typeExpression.end;break;case 351:y(u.typeExpression),o=u.end,_=u.typeExpression.end;break;case 350:case 347:_=u.typeExpression.end;break;case 349:y(u.typeExpression),o=u.end,_=(null==(a=u.typeExpression)?void 0:a.end)||_;break;case 354:_=(null==(i=u.name)?void 0:i.end)||_;break;case 335:case 336:_=u.class.end;break;case 356:y(u.typeExpression),o=u.end,_=(null==(i=u.typeExpression)?void 0:i.end)||_}"object"==typeof u.comment?m(u.comment.pos,u.comment.end-u.comment.pos):"string"==typeof u.comment&&m(_,u.end-_)}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}o!==e.end&&m(o,e.end-o)}(a.jsDoc),0}else if(2===t&&function(e,t){var r=/(\s)(\S+)(\s*)(=)(\s*)('[^']+'|"[^"]+")/gim,n=u.text.substr(e,t),n=/^(\/\/\/\s*)(<)(?:(\S+)((?:[^/]|\/[^>])*)(\/>)?)?/im.exec(n);if(!n)return!1;if(!(n[3]&&n[3]in Dn))return!1;var a=e;m(a,n[1].length),p(a+=n[1].length,n[2].length,10),p(a+=n[2].length,n[3].length,21),a+=n[3].length;var i=n[4],o=a;for(;;){var s=r.exec(i);if(!s)break;var c=a+s.index+s[1].length;o<c&&(m(o,c-o),o=c),p(o,s[2].length,22),o+=s[2].length,s[3].length&&(m(o,s[3].length),o+=s[3].length),p(o,s[4].length,5),o+=s[4].length,s[5].length&&(m(o,s[5].length),o+=s[5].length),p(o,s[6].length,24),o+=s[6].length}(a+=n[4].length)>o&&m(o,a-o);n[5]&&(p(a,n[5].length,10),a+=n[5].length);t=e+t;a<t&&m(a,t-a);return!0}(r,n))return;m(r,n)}(e,r,t,a),_.resetTokenState(n);continue;case 7:var i=u.text,o=i.charCodeAt(t);if(60===o||62===o){p(t,a,1);continue}rA.assert(124===o||61===o),function(e,t,r){var n;for(n=t;n<r&&!hA(e.charCodeAt(n));n++);for(p(t,n-t,1),l.resetTokenState(n);l.getTokenEnd()<r;)!function(){var e=l.getTokenEnd(),t=l.scan(),r=l.getTokenEnd();(t=f(t))&&p(e,r-e,t)}()}(i,t,n);break;case 6:break;default:rA.assertNever(r)}}}function m(e,t){p(e,t,1)}function d(e){if(kh(e))return 1;if(EF(e))return 1;var t=function(e){switch(e.parent&&e.parent.kind){case 286:if(e.parent.tagName===e)return 19;break;case 287:if(e.parent.tagName===e)return 20;break;case 285:if(e.parent.tagName===e)return 21;break;case 291:if(e.parent.name===e)return 22}return}(e);if(Cs(e)||12===e.kind||void 0!==t){var r=12===e.kind?e.pos:a(e),n=e.end-r;return rA.assert(0<=n),0<n&&((e=t||f(e.kind,e))&&p(r,n,e)),1}}function f(e,t){if(zl(e))return 3;if((30===e||32===e)&&t&&xQ(t.parent))return 10;if(Ul(e)){if(t){var r=t.parent;if(64===e&&(260===r.kind||172===r.kind||169===r.kind||291===r.kind))return 5;if(226===r.kind||224===r.kind||225===r.kind||227===r.kind)return 5}return 10}if(9===e)return 4;if(10===e)return 25;if(11===e)return t&&291===t.parent.kind?24:6;if(14===e)return 6;if(As(e))return 6;if(12===e)return 23;if(80===e){if(t){switch(t.parent.kind){case 263:return t.parent.name===t?11:void 0;case 168:return t.parent.name===t?15:void 0;case 264:return t.parent.name===t?13:void 0;case 266:return t.parent.name===t?12:void 0;case 267:return t.parent.name===t?14:void 0;case 169:return t.parent.name===t?$O(t)?3:17:void 0}if(uE(t.parent))return 3}return 2}}function y(e){var t,r;if(e&&bo(s,c,e.pos,e.getFullWidth())){E$(o,e.kind);try{for(var n=__values(e.getChildren(u)),a=n.next();!a.done;a=n.next()){var i=a.value;d(i)||y(i)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}}}var M$,R$=e({"src/services/classifier.ts":function(){fpe(),C$=K([80,11,9,10,14,110,46,47,22,24,20,112,97],function(e){return e},function(){return!0})}}),j$=e({"src/services/documentHighlights.ts":function(){function u(e,t){return{fileName:t.fileName,textSpan:IQ(e,t),kind:"none"}}function n(e){return Yg(e)?[e]:Zg(e)?fD(e.catchClause?n(e.catchClause):e.tryBlock&&n(e.tryBlock),e.finallyBlock&&n(e.finallyBlock)):bE(e)?void 0:t(e,n)}function a(e){return hs(e)?[e]:bE(e)?void 0:t(e,a)}function t(e,t){var r=[];return e.forEachChild(function(e){e=t(e);void 0!==e&&r.push.apply(r,__spreadArray([],__read(ne(e)),!1))}),r}function i(e,t){t=r(t);return t&&t===e}function r(n){return FA(n,function(e){switch(e.kind){case 255:if(251===n.kind)return!1;case 248:case 249:case 250:case 247:case 246:return!n.label||(t=e,r=n.label.escapedText,!!FA(t.parent,function(e){return Qg(e)?e.label.escapedText===r:"quit"}));default:return bE(e)&&"quit"}var t,r})}function _(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return t&&eD(r,t.kind)&&(e.push(t),1)}function s(t){var r=[];if(_(r,t.getFirstToken(),99,117,92)&&246===t.kind)for(var e=t.getChildren(),n=e.length-1;0<=n&&!_(r,e[n],117);n--);return KN(a(t.statement),function(e){i(t,e)&&_(r,e.getFirstToken(),83,88)}),r}function c(e){var t=r(e);if(t)switch(t.kind){case 248:case 249:case 250:case 246:case 247:return s(t);case 255:return l(t)}}function l(t){var r=[];return _(r,t.getFirstToken(),109),KN(t.caseBlock.clauses,function(e){_(r,e.getFirstToken(),84,90),KN(a(e),function(e){i(t,e)&&_(r,e.getFirstToken(),83)})}),r}function d(e,t){var r=[];return _(r,e.getFirstToken(),113),e.catchClause&&_(r,e.catchClause.getFirstToken(),85),e.finallyBlock&&_(r,MX(e,98,t),98),r}function f(e,t){e=function(e){for(var t=e;t.parent;){var r=t.parent;if(X_(r)||312===r.kind)return r;if(Zg(r)&&r.tryBlock===t&&r.catchClause)return t;t=r}}(e);if(e){var r=[];return KN(n(e),function(e){r.push(MX(e,111,t))}),X_(e)&&gP(e,function(e){r.push(MX(e,107,t))}),r}}function p(e,t){e=PP(e);if(e){var r=[];return gP(JD(e.body,kj),function(e){r.push(MX(e,107,t))}),KN(n(e.body),function(e){r.push(MX(e,111,t))}),r}}function m(e){e=PP(e);if(e){var t=[];return e.modifiers&&e.modifiers.forEach(function(e){_(t,e,134)}),HB(e,function(e){y(e,function(e){fj(e)&&_(t,e.getFirstToken(),135)})}),t}}function y(e,t){t(e),bE(e)||NE(e)||Ij(e)||Mj(e)||Oj(e)||FE(e)||HB(e,function(e){return y(e,t)})}fpe(),(M$||(M$={})).getDocumentHighlights=function(e,t,r,n,a){var i=GX(r,n);if(i.parent&&(Yj(i.parent)&&i.parent.tagName===i||uh(i.parent))){var o=i.parent.parent,o=[o.openingElement,o.closingElement].map(function(e){return u(e.tagName,r)});return[{fileName:r.fileName,highlightSpans:o}]}return function(e,t,n,r,a){var i=new Set(a.map(function(e){return e.fileName})),r=pue.getReferenceEntriesForNode(e,t,n,a,r,void 0,i);if(!r)return;var r=ID(r.map(pue.toHighlightSpan),function(e){return e.fileName},function(e){return e.span}),o=KD(n.useCaseSensitiveFileNames());return PD(rr(r.entries(),function(e){var t=__read(e,2),e=t[0],t=t[1];if(!i.has(e)){if(!n.redirectTargetsMap.has(Ja(e,n.getCurrentDirectory(),o)))return;var r=n.getSourceFile(e),e=QN(a,function(e){return e.redirectInfo&&e.redirectInfo.redirectTarget===r}).fileName;rA.assert(i.has(e))}return{fileName:e,highlightSpans:t}}))}(n,i,e,t,a)||function(e,t){e=function(e,n){switch(e.kind){case 101:case 93:return wj(e.parent)?function(e,t){for(var r=function(e,t){var r=[];for(;wj(e.parent)&&e.parent.elseStatement===e;)e=e.parent;for(;;){var n=e.getChildren(t);_(r,n[0],101);for(var a=n.length-1;0<=a&&!_(r,n[a],93);a--);if(!e.elseStatement||!wj(e.elseStatement))break;e=e.elseStatement}return r}(e,t),n=[],a=0;a<r.length;a++){if(93===r[a].kind&&a<r.length-1){for(var i=r[a],o=r[a+1],s=!0,c=o.getStart(t)-1;c>=i.end;c--)if(!ji(t.text.charCodeAt(c))){s=!1;break}if(s){n.push({fileName:t.fileName,textSpan:wo(i.getStart(),o.end),kind:"reference"}),a++;continue}}n.push(u(r[a],t))}return n}(e.parent,n):void 0;case 107:return a(e.parent,Kg,p);case 111:return a(e.parent,Yg,f);case 113:case 85:case 98:return a((85===e.kind?e.parent:e).parent,Zg,d);case 109:return a(e.parent,Xg,l);case 84:case 90:return ph(e.parent)||fh(e.parent)?a(e.parent.parent.parent,Xg,l):void 0;case 83:case 88:return a(e.parent,hs,c);case 99:case 117:case 92:return a(e.parent,function(e){return JE(e,!0)},s);case 137:return t(IR,[137]);case 139:case 153:return t(DE,[139,153]);case 135:return a(e.parent,fj,m);case 134:return i(m(e));case 127:return i(function(e){e=PP(e);if(!e)return;var t=[];return HB(e,function(e){y(e,function(e){Og(e)&&_(t,e.getFirstToken(),127)})}),t}(e));case 103:return;default:return js(e.kind)&&(GE(e.parent)||Tj(e.parent))?i(function(t,e){return uD(function(e,t){var r=e.parent;switch(r.kind){case 268:case 312:case 241:case 296:case 297:return 256&t&&Pj(e)?__spreadArray(__spreadArray([],__read(e.members),!1),[e],!1):r.statements;case 176:case 174:case 262:return __spreadArray(__spreadArray([],__read(r.parameters),!1),__read(NE(r.parent)?r.parent.members:[]),!1);case 263:case 231:case 264:case 187:var n=r.members;if(92&t){var a=QN(r.members,IR);if(a)return __spreadArray(__spreadArray([],__read(n),!1),__read(a.parameters),!1)}else if(256&t)return __spreadArray(__spreadArray([],__read(n),!1),[r],!1);return n;case 210:return;default:rA.assertNever(r,"Invalid container kind.")}}(e,kL(t)),function(e){return fY(e,t)})}(e.kind,e.parent)):void 0}function t(t,r){return a(e.parent,t,function(e){return uD(null==(e=BD(e,HE))?void 0:e.symbol.declarations,function(e){return t(e)?QN(e.getChildren(n),function(e){return eD(r,e.kind)}):void 0})})}function a(e,t,r){return t(e)?i(r(e,n)):void 0}function i(e){return e&&e.map(function(e){return u(e,n)})}}(e,t);return e&&[{fileName:t.fileName,highlightSpans:e}]}(i,r)}}});function B$(e){return!!e.sourceFile}function J$(e,t){return z$(e,t)}function z$(e,o,g){void 0===o&&(o="");var h=new Map,s=KD(!!e);function x(e){return"function"==typeof e.getCompilationSettings?e.getCompilationSettings():e}function c(e,t,r,n,a,i,o,s){return _(e,t,r,n,a,i,!0,o,s)}function u(e,t,r,n,a,i,o,s){return _(e,t,x(r),n,a,i,!1,o,s)}function b(e,t){e=B$(e)?e:e.get(rA.checkDefined(t,"If there are more than one scriptKind's for same document the scriptKind should be provided"));return rA.assert(void 0===t||!e||e.sourceFile.scriptKind===t,"Script kind should match provided ScriptKind:".concat(t," and sourceFile.scriptKind: ").concat(null==e?void 0:e.sourceFile.scriptKind,", !entry: ").concat(!e)),e}function _(e,r,t,n,a,i,o,s,c){s=nm(e,s);var u=x(t),_=t===u?void 0:t,l=6===s?100:rM(u),_="object"==typeof c?c:{languageVersion:l,impliedNodeFormat:_&&oq(r,null==(c=null==(t=null==(c=null==(t=_.getCompilerHost)?void 0:t.call(_))?void 0:c.getModuleResolutionCache)?void 0:t.call(c))?void 0:c.getPackageJsonInfoCache(),_,u),setExternalModuleIndicator:Np(u)};_.languageVersion=l;var l=h.size,d=V$(n,_.impliedNodeFormat),f=_D(h,d,function(){return new Map});iA&&(h.size>l&&iA.instant(iA.Phase.Session,"createdDocumentRegistryBucket",{configFilePath:u.configFilePath,key:d}),(u=!QB(r)&&hF(h,function(e,t){return t!==d&&e.has(r)&&t}))&&iA.instant(iA.Phase.Session,"documentRegistryBucketOverlap",{path:r,key1:u,key2:d}));var p,m=f.get(r),y=m&&b(m,s);return!y&&g&&(p=g.getDocument(d,r))&&(rA.assert(o),y={sourceFile:p,languageServiceRefCount:0},v()),y?(y.sourceFile.version!==i&&(y.sourceFile=b8(y.sourceFile,a,i,a.getChangeRange(y.sourceFile.scriptSnapshot)),g&&g.setDocument(d,r,y.sourceFile)),o&&y.languageServiceRefCount++):(p=x8(e,a,_,i,!1,s),g&&g.setDocument(d,r,p),y={sourceFile:p,languageServiceRefCount:1},v()),rA.assert(0!==y.languageServiceRefCount),y.sourceFile;function v(){var e;m?B$(m)?((e=new Map).set(m.sourceFile.scriptKind,m),e.set(s,y),f.set(r,e)):m.set(s,y):f.set(r,y)}}function a(e,t,r,n){var a=rA.checkDefined(h.get(V$(t,n))),t=a.get(e),n=b(t,r);n.languageServiceRefCount--,rA.assert(0<=n.languageServiceRefCount),0===n.languageServiceRefCount&&(B$(t)?a.delete(e):(t.delete(r),1===t.size&&a.set(e,tr(t.values(),ir))))}return{acquireDocument:function(e,t,r,n,a,i){return c(e,Ja(e,o,s),t,U$(x(t)),r,n,a,i)},acquireDocumentWithKey:c,updateDocument:function(e,t,r,n,a,i){return u(e,Ja(e,o,s),t,U$(x(t)),r,n,a,i)},updateDocumentWithKey:u,releaseDocument:function(e,t,r,n){return a(Ja(e,o,s),U$(t),r,n)},releaseDocumentWithKey:a,getKeyForCompilationSettings:U$,getDocumentRegistryBucketKeyWithMode:V$,reportStats:function(){var e=PD(h.keys()).filter(function(e){return e&&"_"===e.charAt(0)}).map(function(e){var t=h.get(e),n=[];return t.forEach(function(e,r){B$(e)?n.push({name:r,scriptKind:e.sourceFile.scriptKind,refCount:e.languageServiceRefCount}):e.forEach(function(e,t){return n.push({name:r,scriptKind:t,refCount:e.languageServiceRefCount})})}),n.sort(function(e,t){return t.refCount-e.refCount}),{bucket:e,sourceFiles:n}});return JSON.stringify(e,void 0,2)},getBuckets:function(){return h}}}function U$(e){return SS(e,nk)}function V$(e,t){return t?"".concat(e,"|").concat(t):e}var q$=e({"src/services/documentRegistry.ts":function(){fpe()}});function W$(f,p,m,y,e,t,r){var v=gd(y),g=KD(v),h=H$(p,m,g,r),x=H$(m,p,g,r);return ode.ChangeTracker.with({host:y,formatContext:e,preferences:t},function(e){function n(e){var t,r,n=rj(e.initializer)?e.initializer.elements:[e.initializer],a=!1;try{for(var i=__values(n),o=i.next();!o.done;o=i.next())a=s(o.value)||a}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return a}function s(e){if(!hR(e))return!1;var t=K$(l,e.text),t=r(t);return void 0!==t&&(i.replaceRangeWithText(d,X$(e,d),a(t)),!0)}function a(e){return Ya(l,e,!_)}var t,i,r,o,c,u,_,l,d;t=f,i=e,r=h,o=p,c=m,u=y.getCurrentDirectory(),_=v,(d=t.getCompilerOptions().configFile)&&(l=lA(d.fileName),(t=$_(d))&&Q$(t,function(e,t){switch(t){case"files":case"include":case"exclude":if(n(e)||"include"!==t||!rj(e.initializer))return;var r=uD(e.initializer.elements,function(e){return hR(e)?e.text:void 0});if(0===r.length)return;r=em(l,[],r,_,u);return void(tm(rA.checkDefined(r.includeFilePattern),_).test(o)&&!tm(rA.checkDefined(r.includeFilePattern),_).test(c)&&i.insertNodeAfter(d,ND(e.initializer.elements),uR.createStringLiteral(a(c))));case"compilerOptions":return void Q$(e.initializer,function(e,t){var r=zk(t);rA.assert("listOrElement"!==(null==r?void 0:r.type)),r&&(r.isFilePath||"list"===r.type&&r.element.isFilePath)?n(e):"paths"===t&&Q$(e.initializer,function(e){var t,r;if(rj(e.initializer))try{for(var n=__values(e.initializer.elements),a=n.next();!a.done;a=n.next())s(a.value)}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}})})}})),function(c,u,_,l,d,f){function e(r){var e=_(r.fileName),n=null!=e?e:r.fileName,t=lA(n),a=l(r.fileName),i=a||r.fileName,o=lA(i),s=void 0!==e||void 0!==a;!function(e,t,r,n){var a,i,o,s;try{for(var c=__values(e.referencedFiles||WN),u=c.next();!u.done;u=c.next()){var _=u.value;void 0!==(f=r(_.fileName))&&f!==e.text.slice(_.pos,_.end)&&t.replaceRangeWithText(e,_,f)}}catch(e){a={error:e}}finally{try{u&&!u.done&&(i=c.return)&&i.call(c)}finally{if(a)throw a.error}}try{for(var l=__values(e.imports),d=l.next();!d.done;d=l.next()){var f,p=d.value;void 0!==(f=n(p))&&f!==p.text&&t.replaceRangeWithText(e,X$(p,e),f)}}catch(e){o={error:e}}finally{try{d&&!d.done&&(s=l.return)&&s.call(l)}finally{if(o)throw o.error}}}(r,u,function(e){if(sA(e)){e=K$(o,e),e=_(e);return void 0===e?void 0:Va(Ya(t,e,f))}},function(e){var t=c.getTypeChecker().getSymbolAtLocation(e);if(null==t||!t.declarations||!t.declarations.some(RF)){t=void 0!==a?G$(e,JS(e.text,i,c.getCompilerOptions(),d),_,p):function(e,t,r,n,a,i){{if(e){var o=QN(e.declarations,uB).fileName,s=i(o);return void 0===s?{newFileName:o,updated:!1}:{newFileName:s,updated:!0}}o=VV(r,t),o=a.resolveModuleNameLiterals||!a.resolveModuleNames?null==(s=r.resolvedModules)?void 0:s.get(t.text,o):a.getResolvedModuleWithFailedLookupLocationsFromCache&&a.getResolvedModuleWithFailedLookupLocationsFromCache(t.text,r.fileName,o);return G$(t,o,i,n.getSourceFiles())}}(t,e,r,c,d,_);return void 0!==t&&(t.updated||s&&sA(e.text))?kC.updateModuleSpecifier(c.getCompilerOptions(),r,f(n),t.newFileName,ZQ(c,d),e.text):void 0}})}var t,r,p=c.getSourceFiles();try{for(var n=__values(p),a=n.next();!a.done;a=n.next()){var i=a.value;e(i)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}(f,e,h,x,y,g)})}function H$(e,n,a,i){var o=a(e);return function(e){var t=i&&i.tryGetSourcePosition({fileName:e,pos:0}),r=function(e){if(a(e)===o)return n;e=Wp(e,o,a);return void 0===e?void 0:n+"/"+e}(t?t.fileName:e);return t?void 0===r?void 0:function(e,t,r,n){n=$a(e,t,n);return K$(lA(r),n)}(t.fileName,r,e,a):r}}function K$(e,t){return Va(pi(dA(e,t)))}function G$(e,t,r,n){if(t){if(t.resolvedModule){var a=o(t.resolvedModule.resolvedFileName);if(a)return a}e=KN(t.failedLookupLocations,function(e){var t=r(e);return t&&QN(n,function(e){return e.fileName===t})?i(e):void 0})||sA(e.text)&&KN(t.failedLookupLocations,i);return e||t.resolvedModule&&{newFileName:t.resolvedModule.resolvedFileName,updated:!1}}function i(e){return qD(e,"/package.json")?void 0:o(e)}function o(e){e=r(e);return e&&{newFileName:e,updated:!0}}}function X$(e,t){return gf(e.getStart(t)+1,e.end-1)}function Q$(e,t){var r,n;if(nj(e))try{for(var a=__values(e.properties),i=a.next();!i.done;i=a.next()){var o=i.value;iB(o)&&hR(o.name)&&t(o,o.name.text)}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}var Y$,Z$=e({"src/services/getEditsForFileRename.ts":function(){fpe()}});function $$(e,t){return{kind:e,isCaseSensitive:t}}function e0(e){var r=new Map,n=e.trim().split(".").map(function(e){return{totalTextChunk:d0(e=e.trim()),subWordTextChunks:function(e){for(var t=[],r=0,n=0,a=0;a<e.length;a++)!function(e){return c0(e)||u0(e)||l0(e)||95===e||36===e}(e.charCodeAt(a))?0<n&&(t.push(d0(e.substr(r,n))),n=0):(0===n&&(r=a),n++);0<n&&t.push(d0(e.substr(r,n)));return t}(e)}});if(!n.some(function(e){return!e.subWordTextChunks.length}))return{getFullMatch:function(e,t){return function(e,t,r,n){var a;if(!n0(t,ND(r),n))return;if(r.length-1>e.length)return;for(var i=r.length-2,o=e.length-1;0<=i;--i,--o)a=a0(a,n0(e[o],r[i],n));return a}(e,t,n,r)},getMatchForLastSegmentOfPattern:function(e){return n0(e,ND(n),r)},patternContainsDots:1<n.length}}function t0(e,t){var r=t.get(e);return r||t.set(e,r=p0(e)),r}function r0(e,t,r){var n,a,i=function(n,e){for(var t=n.length-e.length,r=0;r<=t;r++){var a=function(r){if(h0(e,function(e,t){return _0(n.charCodeAt(t+r))===e}))return{value:r}}(r);if("object"==typeof a)return a.value}return-1}(e,t.textLowerCase);if(0===i)return $$(t.text.length===e.length?0:1,XD(e,t.text));if(t.isLowerCase){if(-1!==i){var o=t0(e,r);try{for(var s=__values(o),c=s.next();!c.done;c=s.next()){var u=c.value;if(o0(e,u,t.text,!0))return $$(2,o0(e,u,t.text,!1))}}catch(e){n={error:e}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(n)throw n.error}}return t.text.length<e.length&&c0(e.charCodeAt(i))?$$(2,!1):void 0}}else{if(0<e.indexOf(t.text))return $$(2,!0);if(0<t.characterSpans.length){r=t0(e,r),r=!!s0(e,r,t,!1)||!s0(e,r,t,!0)&&void 0;if(void 0!==r)return $$(3,r)}}}function n0(e,t,r){var n,a;if(h0(t.totalTextChunk.text,function(e){return 32!==e&&42!==e})){var i=r0(e,t.totalTextChunk,r);if(i)return i}var o=t.subWordTextChunks;try{for(var s=__values(o),c=s.next();!c.done;c=s.next())var u=a0(u,r0(e,c.value,r))}catch(e){n={error:e}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(n)throw n.error}}return u}function a0(e,t){return me([e,t],i0)}function i0(e,t){return void 0===e?1:void 0===t?-1:UD(e.kind,t.kind)||Se(!e.isCaseSensitive,!t.isCaseSensitive)}function o0(r,n,a,i,o){return void 0===o&&(o={start:0,length:a.length}),o.length<=n.length&&g0(0,o.length,function(e){return t=a.charCodeAt(o.start+e),e=r.charCodeAt(n.start+e),i?_0(t)===_0(e):t===e;var t})}function s0(e,t,r,n){for(var a,i=r.characterSpans,o=0,s=0;;){if(s===i.length)return 1;if(o===t.length)return;for(var c=t[o],u=!1;s<i.length;s++){var _=i[s];if(u&&(!c0(r.text.charCodeAt(i[s-1].start))||!c0(r.text.charCodeAt(i[s].start))))break;if(!o0(e,c,r.text,n,_))break;u=!0,a=void 0===a||a,c=So(c.start+_.length,c.length-_.length)}u||void 0===a||(a=!1),o++}}function c0(e){if(65<=e&&e<=90)return!0;if(e<127||!Di(e,99))return!1;e=String.fromCharCode(e);return e===e.toUpperCase()}function u0(e){if(97<=e&&e<=122)return!0;if(e<127||!Di(e,99))return!1;e=String.fromCharCode(e);return e===e.toLowerCase()}function _0(e){return 65<=e&&e<=90?e-65+97:e<127?e:String.fromCharCode(e).toLowerCase().charCodeAt(0)}function l0(e){return 48<=e&&e<=57}function d0(e){var t=e.toLowerCase();return{text:e,textLowerCase:t,isLowerCase:e===t,characterSpans:f0(e)}}function f0(e){return m0(e,!1)}function p0(e){return m0(e,!0)}function m0(e,t){for(var r,n,a,i=[],o=0,s=1;s<e.length;s++){var c=l0(e.charCodeAt(s-1)),u=l0(e.charCodeAt(s)),_=(n=t,_=s,a=void 0,a=c0((r=e).charCodeAt(_-1)),c0(r.charCodeAt(_))&&(!n||!a)),l=t&&(n=e,(l=s)!==(a=o)&&l+1<n.length&&c0(n.charCodeAt(l))&&u0(n.charCodeAt(l+1))&&h0(n,c0,a,l));(y0(e.charCodeAt(s-1))||y0(e.charCodeAt(s))||c!==u||_||l)&&(v0(e,o,s)||i.push(So(o,s-o)),o=s)}return v0(e,o,e.length)||i.push(So(o,e.length-o)),i}function y0(e){switch(e){case 33:case 34:case 35:case 37:case 38:case 39:case 40:case 41:case 42:case 44:case 45:case 46:case 47:case 58:case 59:case 63:case 64:case 91:case 92:case 93:case 95:case 123:case 125:return!0}return!1}function v0(e,t,r){return h0(e,function(e){return y0(e)&&95!==e},t,r)}function g0(e,t,r){for(var n=e;n<t;n++)if(!r(n))return!1;return!0}function h0(t,r,e,n){return void 0===e&&(e=0),void 0===n&&(n=t.length),g0(e,n,function(e){return r(t.charCodeAt(e),e)})}var x0=e({"src/services/patternMatcher.ts":function(){fpe(),Y$=function(e){return e[e.exact=0]="exact",e[e.prefix=1]="prefix",e[e.substring=2]="substring",e[e.camelCase=3]="camelCase",e}(Y$||{})}});function b0(r,e,n){var t,a,i,o;void 0===e&&(e=!0),void 0===n&&(n=!1);var s,c,u,_={languageVersion:1,pragmas:void 0,checkJsDirective:void 0,referencedFiles:[],typeReferenceDirectives:[],libReferenceDirectives:[],amdDependencies:[],hasNoDefaultLib:void 0,moduleName:void 0},l=[],d=0,f=!1;function p(){return c=u,19===(u=LG.scan())?d++:20===u&&d--,u}function m(){var e=LG.getTokenValue(),t=LG.getTokenStart();return{fileName:e,pos:t,end:t+e.length}}function y(){l.push(m()),v()}function v(){0===d&&(f=!0)}function g(){var e=LG.getToken();return 138===e&&(144===p()&&11===p()&&(s=s||[]).push({ref:m(),depth:d}),1)}function h(){if(25!==c){var e=LG.getToken();if(102===e){if(21===(e=p())){if(11===(e=p())||15===e)return y(),1}else{if(11===e)return y(),1;if(156===e&&LG.lookAhead(function(){var e=LG.scan();return 161!==e&&(42===e||19===e||80===e||zl(e))})&&(e=p()),80===e||zl(e))if(161===(e=p())){if(11===(e=p()))return y(),1}else if(64===e){if(x(!0))return 1}else{if(28!==e)return 1;e=p()}if(19===e){for(e=p();20!==e&&1!==e;)e=p();20===e&&161===(e=p())&&11===(e=p())&&y()}else 42===e&&130===(e=p())&&(80!==(e=p())&&!zl(e)||161!==(e=p())||11!==(e=p())||y())}return 1}}}function x(e,t){void 0===t&&(t=!1);e=e?p():LG.getToken();return 149===e&&(21===(e=p())&&(11===(e=p())||t&&15===e)&&y(),1)}if(e&&function(){for(LG.setText(r),p();1!==LG.getToken();){if(16===LG.getToken()){var e=[LG.getToken()];e:for(;HN(e);){var t=LG.scan();switch(t){case 1:break e;case 102:h();break;case 16:e.push(t);break;case 19:HN(e)&&e.push(t);break;case 20:!HN(e)||16===CD(e)&&18!==LG.reScanTemplateToken(!1)||e.pop()}}p()}g()||h()||function(){if(95===(e=LG.getToken())){if(v(),156===(e=p())&&LG.lookAhead(function(){var e=LG.scan();return 42===e||19===e})&&(e=p()),19===e){for(e=p();20!==e&&1!==e;)e=p();20===e&&161===(e=p())&&11===(e=p())&&y()}else if(42===e)161===(e=p())&&11===(e=p())&&y();else if(102===e){var e=p();if(156===e&&LG.lookAhead(function(){var e=LG.scan();return 80===e||zl(e)})&&(e=p()),(80===e||zl(e))&&(e=p(),64===e&&x(!0)))return 1}return 1}}()||n&&(x(!1,!0)||function(){var e=LG.getToken();if(80===e&&"define"===LG.getTokenValue()){if(21!==(e=p()))return 1;if(11===(e=p())||15===e){if(28!==(e=p()))return 1;e=p()}if(23!==e)return 1;for(e=p();24!==e&&1!==e;)11!==e&&15!==e||y(),e=p();return 1}}())||p()}LG.setText(void 0)}(),jb(_,r),Bb(_,fi),f){if(s)try{for(var b=__values(s),k=b.next();!k.done;k=b.next()){var T=k.value;l.push(T.ref)}}catch(e){t={error:e}}finally{try{k&&!k.done&&(a=b.return)&&a.call(b)}finally{if(t)throw t.error}}return{referencedFiles:_.referencedFiles,typeReferenceDirectives:_.typeReferenceDirectives,libReferenceDirectives:_.libReferenceDirectives,importedFiles:l,isLibFile:!!_.hasNoDefaultLib,ambientExternalModules:void 0}}var S=void 0;if(s)try{for(var w=__values(s),C=w.next();!C.done;C=w.next())0===(T=C.value).depth?(S=S||[]).push(T.ref.fileName):l.push(T.ref)}catch(e){i={error:e}}finally{try{C&&!C.done&&(o=w.return)&&o.call(w)}finally{if(i)throw i.error}}return{referencedFiles:_.referencedFiles,typeReferenceDirectives:_.typeReferenceDirectives,libReferenceDirectives:_.libReferenceDirectives,importedFiles:l,isLibFile:!!_.hasNoDefaultLib,ambientExternalModules:S}}var k0,T0=e({"src/services/preProcess.ts":function(){fpe()}});function S0(i){var o=KD(i.useCaseSensitiveFileNames()),n=i.getCurrentDirectory(),a=new Map,s=new Map;return{tryGetSourcePosition:function e(t){if(!QB(t.fileName))return;var r=_(t.fileName);if(!r)return;var r=u(t.fileName).getSourcePosition(t);return r&&r!==t?e(r)||r:void 0},tryGetGeneratedPosition:function(e){if(QB(e.fileName))return;var t=_(e.fileName);if(!t)return;var r=i.getProgram();if(r.isSourceOfProjectReferenceRedirect(t.fileName))return;t=GO(r.getCompilerOptions()),r=t?pm(t)+".d.ts":wd(e.fileName,r.getCompilerOptions(),n,r.getCommonSourceDirectory(),o);if(void 0===r)return;r=u(r,e.fileName).getGeneratedPosition(e);return r===e?void 0:r},toLineColumnOffset:function(e,t){return l(e).getLineAndCharacterOfPosition(t)},clearCache:function(){a.clear(),s.clear()}};function c(e){return Ja(e,n,o)}function u(e,t){var r,n=c(e),a=s.get(n);return a||(i.getDocumentPositionMapper?r=i.getDocumentPositionMapper(e,t):i.readFile&&(r=(t=l(e))&&w0({getSourceFileLike:l,getCanonicalFileName:o,log:function(e){return i.log(e)}},e,HC(t.text,Ii(t)),function(e){return!i.fileExists||i.fileExists(e)?i.readFile(e):void 0})),s.set(n,r||VC),r||VC)}function _(e){var t=i.getProgram();if(t){e=c(e),t=t.getSourceFileByPath(e);return t&&t.resolvedPath===e?t:void 0}}function t(e){var t=c(e),e=a.get(t);if(void 0!==e)return e||void 0;if(i.readFile&&(!i.fileExists||i.fileExists(t))){var r,e=i.readFile(t),r=!!e&&{text:e,lineMap:r,getLineAndCharacterOfPosition:function(e){return Oi(Ii(this),e)}};return a.set(t,r),r||void 0}a.set(t,!1)}function l(e){return i.getSourceFileLike?i.getSourceFileLike(e):_(e)||t(e)}}function w0(e,t,r,n){var a,i,o=KC(r);if(o){r=k0.exec(o);if(r){if(r[1]){r=r[1];return C0(e,ff(zn,r),t)}o=void 0}}var s=[];o&&s.push(o),s.push(t+".map");var c=o&&fA(o,lA(t));try{for(var u=__values(s),_=u.next();!_.done;_=u.next()){var l=fA(_.value,lA(t)),d=n(l,c);if(jD(d))return C0(e,d,l);if(void 0!==d)return d||void 0}}catch(e){a={error:e}}finally{try{_&&!_.done&&(i=u.return)&&i.call(u)}finally{if(a)throw a.error}}}function C0(e,t,r){t=QC(t);if(t&&t.sources&&t.file&&t.mappings&&(!t.sourcesContent||!t.sourcesContent.some(jD)))return oN(e,t,r)}var N0,D0=e({"src/services/sourcemaps.ts":function(){fpe(),k0=/^data:(?:application\/json(?:;charset=[uU][tT][fF]-8);base64,([A-Za-z0-9+/=]+)$)?/}});function A0(u,e,t){var r,n;e.getSemanticDiagnostics(u,t);var a,_=[],l=e.getTypeChecker();1===u.impliedNodeFormat||_A(u.fileName,[".cts",".cjs"])||!u.commonJsModuleIndicator||!QQ(e)&&!YQ(e.getCompilerOptions())||!u.statements.some(function(e){switch(e.kind){case 243:return e.declarationList.declarations.some(function(e){return!!e.initializer&&dI(function e(t){return aj(t)?e(t.expression):t}(e.initializer),!0)});case 244:var t=e.expression;if(!mj(t))return dI(t,!0);t=NI(t);return 1===t||2===t;default:return!1}})||_.push(tP(mj(a=u.commonJsModuleIndicator)?a.left:a,mA.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module));var d=sI(u);if(N0.clear(),function e(t){var r,n;if(d)j0(t,l)&&_.push(tP(Aj(t.parent)?t.parent.name:t,mA.This_constructor_function_may_be_converted_to_a_class_declaration));else{var a;Tj(t)&&t.parent===u&&2&t.declarationList.flags&&1===t.declarationList.declarations.length&&((a=t.declarationList.declarations[0].initializer)&&dI(a,!0)&&_.push(tP(a,mA.require_call_may_be_converted_to_an_import)));var i=Roe.getJSDocTypedefNodes(t);try{for(var o=__values(i),s=o.next();!s.done;s=o.next()){var c=s.value;_.push(tP(c,mA.JSDoc_typedef_may_be_converted_to_TypeScript_type))}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}Roe.parameterShouldGetTypeFromJSDoc(t)&&_.push(tP(t.name||t,mA.JSDoc_types_may_be_moved_to_TypeScript_types))}B0(t)&&E0(t,l,_);t.forEachChild(e)}(u),uM(e.getCompilerOptions()))try{for(var i=__values(u.imports),o=i.next();!o.done;o=i.next()){var s=o.value,c=function(e){switch(e.kind){case 272:var t=e.importClause,r=e.moduleSpecifier;return t&&!t.name&&t.namedBindings&&274===t.namedBindings.kind&&hR(r)?t.namedBindings.name:void 0;case 271:return e.name;default:return}}(kl(s));c&&((s=(s=TF(u,s.text,VV(u,s)))&&e.getSourceFile(s.resolvedFileName))&&s.externalModuleIndicator&&!0!==s.externalModuleIndicator&&qj(s.externalModuleIndicator)&&s.externalModuleIndicator.isExportEquals&&_.push(tP(c,mA.Import_may_be_converted_to_a_default_import)))}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return gD(_,u.bindSuggestionDiagnostics),gD(_,e.getSuggestionDiagnostics(u,t)),_.sort(function(e,t){return e.start-t.start})}function E0(e,t,r){var n;n=t,!TO(t=e)&&t.body&&kj(t.body)&&function(e,t){return!!gP(e,function(e){return P0(e,t)})}(t.body,n)&&F0(t,n)&&!N0.has(R0(e))&&r.push(tP(!e.name&&Aj(e.parent)&&xR(e.parent.name)?e.parent.name:e,mA.This_may_be_converted_to_an_async_function))}function F0(e,t){e=t.getSignatureFromDeclaration(e),e=e?t.getReturnTypeOfSignature(e):void 0;return!!e&&!!t.getPromisedTypeOfPromise(e)}function P0(e,t){return Kg(e)&&!!e.expression&&I0(e.expression,t)}function I0(e,t){if(!O0(e)||!L0(e)||!e.arguments.every(function(e){return M0(e,t)}))return!1;for(var r=e.expression.expression;O0(r)||aj(r);)if(oj(r)){if(!L0(r)||!r.arguments.every(function(e){return M0(e,t)}))return!1;r=r.expression.expression}else r=r.expression;return!0}function O0(e){return oj(e)&&(sX(e,"then")||sX(e,"catch")||sX(e,"finally"))}function L0(e){var t=e.expression.name.text,t="then"===t?2:"catch"===t||"finally"===t?1:0;return!(e.arguments.length>t)&&(e.arguments.length<t||(1==t||dD(e.arguments,function(e){return 106===e.kind||xR(e)&&"undefined"===e.text})))}function M0(e,t){switch(e.kind){case 262:case 218:if(1&kO(e))return!1;case 219:N0.set(R0(e),!0);case 106:return!0;case 80:case 211:var r=t.getSymbolAtLocation(e);return r?t.isUndefinedSymbol(r)||dD(Uf(r,t).declarations,function(e){return bE(e)||nF(e)&&!!e.initializer&&bE(e.initializer)}):!1;default:return!1}}function R0(e){return"".concat(e.pos.toString(),":").concat(e.end.toString())}function j0(e,t){if(_j(e)){if(Aj(e.parent)&&null!=(r=e.symbol.members)&&r.size)return 1;var r=t.getSymbolOfExpando(e,!1);return r&&(null!=(t=r.exports)&&t.size||null!=(r=r.members)&&r.size)}return Fj(e)&&(null!=(e=e.symbol.members)&&e.size)}function B0(e){switch(e.kind){case 262:case 174:case 218:case 219:return!0;default:return!1}}var J0,z0,U0=e({"src/services/suggestionDiagnostics.ts":function(){fpe(),N0=new Map}});function V0(e,t){var r,n,a,i=[],o=t.compilerOptions?W0(t.compilerOptions,i):{},s=v8();for(a in s)ma(s,a)&&void 0===o[a]&&(o[a]=s[a]);try{for(var c=__values(ik),u=c.next();!u.done;u=c.next()){var _=u.value;o.verbatimModuleSyntax&&J0.has(_.name)||(o[_.name]=_.transpileOptionValue)}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}o.suppressOutputPathCheck=!0,o.allowNonTsExtensions=!0;var l,d,f=vf(o),p={getSourceFile:function(e){return e===pi(m)?y:void 0},writeFile:function(e,t){uA(e,".map")?(rA.assertEqual(d,void 0,"Unexpected multiple source map outputs, file:",e),d=t):(rA.assertEqual(l,void 0,"Unexpected multiple outputs, file:",e),l=t)},getDefaultLibFileName:function(){return"lib.d.ts"},useCaseSensitiveFileNames:function(){return!1},getCanonicalFileName:function(e){return e},getCurrentDirectory:function(){return""},getNewLine:function(){return f},fileExists:function(e){return e===m},readFile:function(){return""},directoryExists:function(){return!0},getDirectories:function(){return[]}},m=t.fileName||(t.compilerOptions&&t.compilerOptions.jsx?"module.tsx":"module.ts"),y=Ib(m,e,{languageVersion:rM(o),impliedNodeFormat:oq(Ja(m,"",p.getCanonicalFileName),void 0,p,o),setExternalModuleIndicator:Np(o)});t.moduleName&&(y.moduleName=t.moduleName),t.renamedDependencies&&(y.renamedDependencies=new Map(Object.entries(t.renamedDependencies)));p=cq([m],o,p);return t.reportDiagnostics&&(gD(i,p.getSyntacticDiagnostics(y)),gD(i,p.getOptionsDiagnostics())),p.emit(void 0,void 0,void 0,void 0,t.transformers),void 0===l?rA.fail("Output generation failed"):{outputText:l,diagnostics:i,sourceMapText:d}}function q0(e,t,r,n,a){a=V0(e,{compilerOptions:t,fileName:r,reportDiagnostics:!!n,moduleName:a});return gD(n,a.diagnostics),a.outputText}function W0(r,n){var t,e;z0=z0||nD(Zb,function(e){return"object"==typeof e.type&&!hF(e.type,function(e){return"number"!=typeof e})}),r=NQ(r);try{for(var a=__values(z0),i=a.next();!i.done;i=a.next())!function(e){var t;ma(r,e.name)&&(jD(t=r[e.name])?r[e.name]=Ok(e,t,n):hF(e.type,function(e){return e===t})||n.push(Pk(e)))}(i.value)}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}return r}var H0=e({"src/services/transpile.ts":function(){fpe(),J0=new Set(["isolatedModules","preserveValueImports","importsNotUsedAsValues"])}});function K0(e,n,t,r,a,i){var o,s,c=e0(r);if(!c)return WN;function u(r){if(t.throwIfCancellationRequested(),i&&r.isDeclarationFile)return 1;r.getNamedDeclarations().forEach(function(e,t){!function(e,t,r,n,a,i){var o,s,c=e.getMatchForLastSegmentOfPattern(t);if(c)try{for(var u=__values(r),_=u.next();!_.done;_=u.next()){var l,d=_.value;!function(e,t){switch(e.kind){case 273:case 276:case 271:var r=t.getSymbolAtLocation(e.name),n=t.getAliasedSymbol(r);return r.escapedName!==n.escapedName;default:return!0}}(d,n)||(e.patternContainsDots?(l=e.getFullMatch(function(e){var t=[],r=JA(e);if(r&&167===r.kind&&!G0(r.expression,t))return WN;t.shift();var n=hX(e);for(;n;){if(!function(e,t){e=JA(e);return!!e&&(X0(e,t)||167===e.kind&&G0(e.expression,t))}(n,t))return WN;n=hX(n)}return t.reverse()}(d),t))&&i.push({name:t,fileName:a,matchKind:l.kind,isCaseSensitive:l.isCaseSensitive,declaration:d}):i.push({name:t,fileName:a,matchKind:c.kind,isCaseSensitive:c.isCaseSensitive,declaration:d}))}}catch(e){o={error:e}}finally{try{_&&!_.done&&(s=u.return)&&s.call(u)}finally{if(o)throw o.error}}}(c,t,e,n,r.fileName,_)})}var _=[];try{for(var l=__values(e),d=l.next();!d.done;d=l.next())u(d.value)}catch(e){o={error:e}}finally{try{d&&!d.done&&(s=l.return)&&s.call(l)}finally{if(o)throw o.error}}return _.sort(Q0),(void 0===a?_:_.slice(0,a)).map(Y0)}function G0(e,t){return X0(e,t)||aj(e)&&(t.push(e.name.text),!0)&&G0(e.expression,t)}function X0(e,t){return DO(e)&&(t.push(AO(e)),!0)}function Q0(e,t){return UD(e.matchKind,t.matchKind)||ke(e.name,t.name)}function Y0(e){var t=e.declaration,r=hX(t),n=r&&JA(r);return{name:e.name,kind:xX(t),kindModifiers:hQ(t),matchKind:Y$[e.matchKind],isCaseSensitive:e.isCaseSensitive,fileName:e.fileName,textSpan:IQ(t),containerName:n?n.text:"",containerKind:n?xX(r):""}}var Z0=e({"src/services/navigateTo.ts":function(){fpe()}}),$0={};t($0,{getNavigateToItems:function(){return K0}});var e1,t1,r1,n1,a1,i1,o1,s1,c1,u1,_1=e({"src/services/_namespaces/ts.NavigateTo.ts":function(){Z0()}});function l1(e,t){r1=t,n1=e;try{return iD((r=v1(e),c=[],function e(t){var r,n;if(s(t)&&(c.push(t),t.children))try{for(var a=__values(t.children),i=a.next();!i.done;i=a.next()){var o=i.value;e(o)}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}(r),c),j1)}finally{f1()}function s(e){if(e.children)return 1;switch(m1(e)){case 263:case 231:case 266:case 264:case 267:case 312:case 265:case 353:case 345:return 1;case 219:case 262:case 218:return function(e){if(!e.node.body)return;switch(m1(e.parent)){case 268:case 312:case 174:case 176:return 1;default:return}}(e);default:return}}var r,c}function d1(e,t){r1=t,n1=e;try{return R1(v1(e))}finally{f1()}}function f1(){a1=[],i1=r1=n1=void 0,c1=[]}function p1(e){return W1(e.getText(n1))}function m1(e){return e.node.kind}function y1(e,t){e.children?e.children.push(t):e.children=[t]}function v1(e){var t,r;rA.assert(!a1.length);var n={node:e,name:void 0,additionalNodes:void 0,parent:void 0,children:void 0,indent:0};i1=n;try{for(var a=__values(e.statements),i=a.next();!i.done;i=a.next())D1(i.value)}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return S1(),rA.assert(!i1&&!a1.length),n}function g1(e,t){y1(i1,h1(e,t))}function h1(e,t){return{node:e,name:t||(GE(e)||jE(e)?JA(e):void 0),additionalNodes:void 0,parent:i1,children:void 0,indent:i1.indent+1}}function x1(e){(s1=s1||new Map).set(e,!0)}function b1(e){for(var t=0;t<e;t++)S1()}function k1(e,t){for(var r=[];!DO(t);){var n=gl(t),a=FI(t);t=t.expression,"prototype"===a||bR(n)||r.push(n)}r.push(t);for(var i=r.length-1;0<i;i--)T1(e,r[i]);return[r.length-1,r[0]]}function T1(e,t){t=h1(e,t);y1(i1,t),a1.push(i1),o1.push(s1),s1=void 0,i1=t}function S1(){i1.children&&(A1(i1.children,i1),I1(i1.children)),i1=a1.pop(),s1=o1.pop()}function w1(e,t,r){T1(e,r),D1(t),S1()}function C1(e){e.initializer&&function(e){switch(e.kind){case 219:case 218:case 231:return!0;default:return!1}}(e.initializer)?(T1(e),HB(e.initializer,D1),S1()):w1(e,e.initializer)}function N1(e){return!wO(e)||226!==e.kind&&aj(e.name.expression)&&xR(e.name.expression.expression)&&"Symbol"===LA(e.name.expression.expression)}function D1(e){var t,r,n,a,i,o,s,c,u;if(r1.throwIfCancellationRequested(),e&&!Cs(e))switch(e.kind){case 176:var _=e;w1(_,_.body);try{for(var l=__values(_.parameters),d=l.next();!d.done;d=l.next()){var f=d.value;CA(f,_)&&g1(f)}}catch(e){t={error:e}}finally{try{d&&!d.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}break;case 174:case 177:case 178:case 173:N1(e)&&w1(e,e.body);break;case 172:N1(e)&&C1(e);break;case 171:N1(e)&&g1(e);break;case 273:var p=e;p.name&&g1(p.name);var m=p.namedBindings;if(m)if(274===m.kind)g1(m);else try{for(var y=__values(m.elements),v=y.next();!v.done;v=y.next())g1(v.value)}catch(e){n={error:e}}finally{try{v&&!v.done&&(a=y.return)&&a.call(y)}finally{if(n)throw n.error}}break;case 304:w1(e,e.name);break;case 305:p=e.expression;xR(p)?g1(e,p):g1(e);break;case 208:case 303:case 260:PE((S=e).name)?D1(S.name):C1(S);break;case 262:var g=e.name;g&&xR(g)&&x1(g.text),w1(e,e.body);break;case 219:case 218:w1(e,e.body);break;case 266:T1(e);try{for(var h=__values(e.members),x=h.next();!x.done;x=h.next()){var b=x.value;(u=b).name&&167!==u.name.kind&&g1(b)}}catch(e){i={error:e}}finally{try{x&&!x.done&&(o=h.return)&&o.call(h)}finally{if(i)throw i.error}}S1();break;case 263:case 231:case 264:T1(e);try{for(var k=__values(e.members),T=k.next();!T.done;T=k.next())D1(b=T.value)}catch(e){s={error:e}}finally{try{T&&!T.done&&(c=k.return)&&c.call(k)}finally{if(s)throw s.error}}S1();break;case 267:w1(e,function e(t){return t.body&&Mj(t.body)?e(t.body):t}(e).body);break;case 277:var S,g=e.expression;(S=nj(g)||oj(g)?g:lj(g)||_j(g)?g.body:void 0)?(T1(e),D1(S),S1()):g1(e);break;case 281:case 271:case 181:case 179:case 180:case 265:g1(e);break;case 213:case 226:var w=NI(e);switch(w){case 1:case 2:return void w1(e,e.right);case 6:case 3:var C=(F=e).left,N=3===w?C.expression:C,D=0,A=void 0;return A=xR(N.expression)?(x1(N.expression.text),N.expression):(D=(E=__read(k1(F,N.expression),2))[0],E[1]),6===w?nj(F.right)&&0<F.right.properties.length&&(T1(F,A),HB(F.right,D1),S1()):_j(F.right)||lj(F.right)?w1(e,F.right,A):(T1(F,A),w1(e,F.right,C.name),S1()),void b1(D);case 7:case 9:var A=7===w?e.arguments[0]:e.arguments[0].expression,E=e.arguments[1],A=__read(k1(e,A),2),D=A[0];return T1(e,A[1]),T1(e,UB(uR.createIdentifier(E.text),E)),D1(e.arguments[2]),S1(),S1(),void b1(D);case 5:var F,D=(C=(F=e).left).expression;if(xR(D)&&"prototype"!==FI(C)&&s1&&s1.has(D.text))return void(_j(F.right)||lj(F.right)?w1(e,F.right,D):vl(C)&&(T1(F,D),w1(F.left,F.right,gl(C)),S1()));break;case 4:case 0:case 8:break;default:rA.assertNever(w)}default:tF(e)&&KN(e.jsDoc,function(e){KN(e.tags,function(e){UI(e)&&g1(e)})}),HB(e,D1)}}function A1(e,u){var _=new Map;x(e,function(e,t){var r,n,a=e.name||JA(e.node),a=a&&p1(a);if(!a)return 1;var i=_.get(a);if(!i)return _.set(a,e),1;if(i instanceof Array){try{for(var o,s=__values(i),c=s.next();!c.done;c=s.next())if(E1(o=c.value,e,t,u))return}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return i.push(e),1}return!E1(o=i,e,t,u)&&(_.set(a,[o,e]),1)})}function E1(e,t,r,n){return function(e,t,r,n){function a(e){return _j(e)||Fj(e)||Aj(e)}var i=mj(t.node)||oj(t.node)?NI(t.node):0,o=mj(e.node)||oj(e.node)?NI(e.node):0;if(u1[i]&&u1[o]||a(e.node)&&u1[i]||a(t.node)&&u1[o]||Pj(e.node)&&F1(e.node)&&u1[i]||Pj(t.node)&&u1[o]||Pj(e.node)&&F1(e.node)&&a(t.node)||Pj(t.node)&&a(e.node)&&F1(e.node)){var s=e.additionalNodes&&CD(e.additionalNodes)||e.node;!Pj(e.node)&&!Pj(t.node)||a(e.node)||a(t.node)?(void 0!==(o=a(e.node)?e.node:a(t.node)?t.node:void 0)?((c=h1(UB(uR.createConstructorDeclaration(void 0,[],void 0),o))).indent=e.indent+1,c.children=(e.node===o?e:t).children,e.children=e.node===o?fD([c],t.children||[t]):fD(e.children||[__assign({},e)],[c])):(e.children||t.children)&&(e.children=fD(e.children||[__assign({},e)],t.children||[t]),e.children&&(A1(e.children,e),I1(e.children))),s=e.node=UB(uR.createClassDeclaration(void 0,e.name||uR.createIdentifier("__class__"),void 0,void 0,[]),e.node)):(e.children=fD(e.children,t.children),e.children&&A1(e.children,e));var c=t.node;return n.children[r-1].node.end===s.end?UB(s,{pos:s.pos,end:c.end}):(e.additionalNodes||(e.additionalNodes=[]),e.additionalNodes.push(UB(uR.createClassDeclaration(void 0,e.name||uR.createIdentifier("__class__"),void 0,void 0,[]),t.node))),1}return 0!==i}(e,t,r,n)||function(e,t,r){if(e.kind!==t.kind||e.parent!==t.parent&&(!P1(e,r)||!P1(t,r)))return!1;switch(e.kind){case 172:case 174:case 177:case 178:return lL(e)===lL(t);case 267:return function e(t,r){if(!t.body||!r.body)return t.body===r.body;return t.body.kind===r.body.kind&&(267!==t.body.kind||e(t.body,r.body))}(e,t)&&z1(e)===z1(t);default:return!0}}(e.node,t.node,n)&&(n=t,(t=e).additionalNodes=t.additionalNodes||[],t.additionalNodes.push(n.node),n.additionalNodes&&(e=t.additionalNodes).push.apply(e,__spreadArray([],__read(n.additionalNodes),!1)),t.children=fD(t.children,n.children),t.children&&(A1(t.children,t),I1(t.children)),1)}function F1(e){return 16&e.flags}function P1(e,t){e=(Rj(e.parent)?e.parent:e).parent;return e===t.node||eD(t.additionalNodes,e)}function I1(e){e.sort(O1)}function O1(e,t){return ke(L1(e.node),L1(t.node))||UD(m1(e),m1(t))}function L1(e){if(267===e.kind)return J1(e);var t=JA(e);if(t&&xE(t)){t=NO(t);return t&&OA(t)}switch(e.kind){case 218:case 219:case 231:return q1(e);default:return}}function M1(e,t){if(267===e.kind)return W1(J1(e));if(t){t=xR(t)?t.text:ij(t)?"[".concat(p1(t.argumentExpression),"]"):p1(t);if(0<t.length)return W1(t)}switch(e.kind){case 312:return XB(e)?'"'.concat(zO(Ea(pm(pi(e.fileName)))),'"'):"<global>";case 277:return qj(e)&&e.isExportEquals?"export=":"default";case 219:case 262:case 218:case 263:case 231:return 1024&Qd(e)?"default":q1(e);case 176:return"constructor";case 180:return"new()";case 179:return"()";case 181:return"[]";default:return"<unknown>"}}function R1(e){return{text:M1(e.node,e.name),kind:xX(e.node),kindModifiers:V1(e.node),spans:B1(e),nameSpan:e.name&&U1(e.name),childItems:iD(e.children,R1)}}function j1(e){return{text:M1(e.node,e.name),kind:xX(e.node),kindModifiers:V1(e.node),spans:B1(e),childItems:iD(e.children,function(e){return{text:M1(e.node,e.name),kind:xX(e.node),kindModifiers:hQ(e.node),spans:B1(e),childItems:c1,indent:0,bolded:!1,grayed:!1}})||c1,indent:e.indent,bolded:!1,grayed:!1}}function B1(e){var t,r,n=[U1(e.node)];if(e.additionalNodes)try{for(var a=__values(e.additionalNodes),i=a.next();!i.done;i=a.next()){var o=i.value;n.push(U1(o))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n}function J1(e){return RF(e)?PF(e.name):z1(e)}function z1(e){for(var t=[AO(e.name)];e.body&&267===e.body.kind;)e=e.body,t.push(AO(e.name));return t.join(".")}function U1(e){return 312===e.kind?MQ(e):IQ(e,n1)}function V1(e){return e.parent&&260===e.parent.kind&&(e=e.parent),hQ(e)}function q1(e){var t=e.parent;if(e.name&&0<Mu(e.name))return W1(QF(e.name));if(Aj(t))return W1(QF(t.name));if(mj(t)&&64===t.operatorToken.kind)return p1(t.left).replace(e1,"");if(iB(t))return p1(t.name);if(1024&Qd(e))return"default";if(NE(e))return"<class>";if(oj(t)){e=function e(t){{if(xR(t))return t.text;if(aj(t)){var r=e(t.expression),t=t.name.text;return void 0===r?t:"".concat(r,".").concat(t)}}}(t.expression);if(void 0!==e){if((e=W1(e)).length>t1)return"".concat(e," callback");t=W1(uD(t.arguments,function(e){return oF(e)?e.getText(n1):void 0}).join(", "));return"".concat(e,"(").concat(t,") callback")}}return"<function>"}function W1(e){return(e=e.length>t1?e.substring(0,t1)+"...":e).replace(/\\?(\r?\n|\r|\u2028|\u2029)/g,"")}var H1=e({"src/services/navigationBar.ts":function(){fpe(),u1={5:!0,3:!0,7:!0,9:!0,0:!(c1=[]),1:!(o1=[]),2:!(a1=[]),8:!(t1=150),6:!0,4:!(e1=/\s+/g)}}}),K1={};t(K1,{getNavigationBarItems:function(){return l1},getNavigationTree:function(){return d1}});var G1,X1=e({"src/services/_namespaces/ts.NavigationBar.ts":function(){H1()}});function Q1(e,t){G1.set(e,t)}function Y1(r,n){return PD(w(G1.values(),function(e){var t;return r.cancellationToken&&r.cancellationToken.isCancellationRequested()||null==(t=e.kinds)||!t.some(function(e){return w2(e,r.kind)})?void 0:e.getAvailableActions(r,n)}))}function Z1(e,t,r,n){t=G1.get(t);return t&&t.getEditsForAction(e,r,n)}var $1,e2,t2,r2=e({"src/services/refactorProvider.ts":function(){fpe(),j4(),G1=new Map}});function n2(e,t){void 0===t&&(t=!0);var r=e.file,n=e.program,a=KZ(e),e=QX(r,a.start),i=e.parent&&1&Qd(e.parent)&&t?e.parent:dY(e,r,a);if(!(i&&(uB(i.parent)||Rj(i.parent)&&RF(i.parent.parent))))return{error:vp(mA.Could_not_find_export_statement)};var o=n.getTypeChecker(),s=function(e,t){if(uB(e))return e.symbol;e=e.parent.symbol;if(e.valueDeclaration&&UF(e.valueDeclaration))return t.getMergedSymbol(e);return e}(i.parent,o),n=Qd(i)||(qj(i)&&!i.isExportEquals?1025:0),c=!!(1024&n);if(!(1&n)||!c&&s.exports.has("default"))return{error:vp(mA.This_file_already_has_a_default_export)};function u(e){return xR(e)&&o.getSymbolAtLocation(e)?void 0:{error:vp(mA.Can_only_convert_named_export)}}var _;switch(i.kind){case 262:case 263:case 264:case 266:case 265:case 267:return(_=i).name?u(_.name)||{exportNode:_,exportName:_.name,wasDefault:c,exportingModuleSymbol:s}:void 0;case 243:var l=i;if(!(2&l.declarationList.flags)||1!==l.declarationList.declarations.length)return;var d=SD(l.declarationList.declarations);return d.initializer?(rA.assert(!c,"Can't have a default flag here"),u(d.name)||{exportNode:l,exportName:d.name,wasDefault:c,exportingModuleSymbol:s}):void 0;case 277:return(_=i).isExportEquals?void 0:u(_.expression)||{exportNode:_,exportName:_.expression,wasDefault:c,exportingModuleSymbol:s};default:return}}function a2(e,t,r,n,a){var i,o,s;!function(e,t,r,n){var a=t.wasDefault,i=t.exportNode,o=t.exportName;if(a)qj(i)&&!i.isExportEquals?(a=o2((a=i.expression).text,a.text),r.replaceNode(e,i,uR.createExportDeclaration(void 0,!1,uR.createNamedExports([a])))):r.delete(e,rA.checkDefined(fY(i,90),"Should find a default keyword in modifier list"));else{var s=rA.checkDefined(fY(i,95),"Should find an export keyword in modifier list");switch(i.kind){case 262:case 263:case 264:r.insertNodeAfter(e,s,uR.createToken(90));break;case 243:var c=SD(i.declarationList.declarations);if(!pue.Core.isSymbolReferencedInFile(o,n,e)&&!c.type){r.replaceNode(e,i,uR.createExportDefault(rA.checkDefined(c.initializer,"Initializer was previously known to be present")));break}case 266:case 265:case 267:r.deleteModifier(e,s),r.insertNodeAfter(e,i,uR.createExportDefault(uR.createIdentifier(o.text)));break;default:rA.fail("Unexpected exportNode kind ".concat(i.kind))}}}(e,r,n,t.getTypeChecker()),e=t,i=n,t=a,o=(n=r).wasDefault,s=n.exportName,a=n.exportingModuleSymbol,r=e.getTypeChecker(),n=rA.checkDefined(r.getSymbolAtLocation(s),"Export name should resolve to a symbol"),pue.Core.eachExportReference(e.getSourceFiles(),r,t,n,a,s.text,o,function(e){var t;s!==e&&(t=e.getSourceFile(),o?function(e,t,r,n){var a=t.parent;switch(a.kind){case 211:r.replaceNode(e,t,uR.createIdentifier(n));break;case 276:case 281:var i=a;r.replaceNode(e,i,i2(n,i.name.text));break;case 273:var o=a;rA.assert(o.name===t,"Import clause name should match provided ref");var s,i=i2(n,t.text),c=o.namedBindings;c?274===c.kind?(r.deleteRange(e,{pos:t.getStart(e),end:c.getStart(e)}),s=hR(o.parent.moduleSpecifier)?aY(o.parent.moduleSpecifier,e):1,s=rY(void 0,[i2(n,t.text)],o.parent.moduleSpecifier,s),r.insertNodeAfter(e,o.parent,s)):(r.delete(e,t),r.insertNodeAtEndOfList(e,c.elements,i)):r.replaceNode(e,t,uR.createNamedImports([i]));break;case 205:i=a;r.replaceNode(e,a,uR.createImportTypeNode(i.argument,i.assertions,uR.createIdentifier(n),i.typeArguments,i.isTypeOf));break;default:rA.failBadSyntaxKind(a)}}(t,e,i,s.text):function(e,t,r){var n=t.parent;switch(n.kind){case 211:r.replaceNode(e,t,uR.createIdentifier("default"));break;case 276:var a=uR.createIdentifier(n.name.text);1===n.parent.elements.length?r.replaceNode(e,n.parent,a):(r.delete(e,n),r.insertNodeBefore(e,n.parent,a));break;case 281:r.replaceNode(e,n,o2("default",n.name.text));break;default:rA.assertNever(n,"Unexpected parent kind ".concat(n.kind))}}(t,e,i))})}function i2(e,t){return uR.createImportSpecifier(!1,e===t?void 0:uR.createIdentifier(e),uR.createIdentifier(t))}function o2(e,t){return uR.createExportSpecifier(!1,e===t?void 0:uR.createIdentifier(e),uR.createIdentifier(t))}var s2,c2,u2=e({"src/services/refactors/convertExport.ts":function(){fpe(),j4(),$1="Convert export",e2={name:"Convert default export to named export",description:vp(mA.Convert_default_export_to_named_export),kind:"refactor.rewrite.export.named"},t2={name:"Convert named export to default export",description:vp(mA.Convert_named_export_to_default_export),kind:"refactor.rewrite.export.default"},Q1($1,{kinds:[e2.kind,t2.kind],getAvailableActions:function(e){var t=n2(e,"invoked"===e.triggerReason);if(!t)return WN;if(S2(t))return e.preferences.provideRefactorNotApplicableReason?[{name:$1,description:vp(mA.Convert_default_export_to_named_export),actions:[__assign(__assign({},e2),{notApplicableReason:t.error}),__assign(__assign({},t2),{notApplicableReason:t.error})]}]:WN;t=t.wasDefault?e2:t2;return[{name:$1,description:t.description,actions:[t]}]},getEditsForAction:function(t,e){rA.assert(e===e2.name||e===t2.name,"Unexpected action name");var r=n2(t);return rA.assert(r&&!S2(r),"Expected applicable refactor info"),{edits:ode.ChangeTracker.with(t,function(e){return a2(t.file,t.program,r,e,t.cancellationToken)}),renameFilename:void 0,renameLocation:void 0}}})}});function _2(e,t){void 0===t&&(t=!0);var r=e.file,n=KZ(e),a=QX(r,n.start),a=t?FA(a,Jj):dY(a,r,n);if(!a||!Jj(a))return{error:"Selection is not an import declaration."};n=n.start+n.length,r=eQ(a,a.parent,r);if(!(r&&n>r.getStart())){a=a.importClause;return a?a.namedBindings?274===a.namedBindings.kind?{convertTo:0,import:a.namedBindings}:l2(e.program,a)?{convertTo:1,import:a.namedBindings}:{convertTo:2,import:a.namedBindings}:{error:vp(mA.Could_not_find_namespace_import_or_named_imports)}:{error:vp(mA.Could_not_find_import_clause)}}}function l2(e,t){return uM(e.getCompilerOptions())&&function(e,t){e=t.resolveExternalModuleName(e);if(!e)return!1;t=t.resolveExternalModuleSymbol(e);return e!==t}(t.parent.moduleSpecifier,e.getTypeChecker())}function d2(e,t,r,n){var a=t.getTypeChecker();0===n.convertTo?function(e,r,t,n,a){var i,o,s=!1,c=[],u=new Map;pue.Core.eachSymbolReferenceInFile(n.name,r,e,function(e){var t;ac(e.parent)?(t=f2(e.parent).text,r.resolveName(t,e,67108863,!0)&&u.set(t,!0),rA.assert((aj(t=e.parent)?t.expression:t.left)===e,"Parent expression should match id"),c.push(e.parent)):s=!0});var _=new Map;try{for(var l=__values(c),d=l.next();!d.done;d=l.next()){var f=d.value,p=f2(f).text,m=_.get(p);void 0===m&&_.set(p,m=u.has(p)?lZ(p,e):p),t.replaceNode(e,f,uR.createIdentifier(m))}}catch(e){i={error:e}}finally{try{d&&!d.done&&(o=l.return)&&o.call(l)}finally{if(i)throw i.error}}var y=[];_.forEach(function(e,t){y.push(uR.createImportSpecifier(!1,e===t?void 0:uR.createIdentifier(t),uR.createIdentifier(e)))});var v=n.parent.parent;s&&!a?t.insertNodeAfter(e,v,m2(v,void 0,y)):t.replaceNode(e,v,m2(v,s?uR.createIdentifier(n.name.text):void 0,y))}(e,a,r,n.import,uM(t.getCompilerOptions())):p2(e,t,r,n.import,1===n.convertTo)}function f2(e){return aj(e)?e.name:e.right}function p2(a,e,i,t,r){var n,o;void 0===r&&(r=l2(e,t.parent));var s=e.getTypeChecker(),c=t.parent.parent,e=c.moduleSpecifier,u=new Set;t.elements.forEach(function(e){e=s.getSymbolAtLocation(e.name);e&&u.add(e)});var _=e&&hR(e)?Roe.moduleSpecifierToValidIdentifier(e.text,99):"module";var l=t.elements.some(function(e){return!!pue.Core.eachSymbolReferenceInFile(e.name,s,a,function(e){var t=s.resolveName(_,e,67108863,!0);return!!t&&(!u.has(t)||Kj(e.parent))})})?lZ(_,a):_,d=new Set;try{for(var f=__values(t.elements),p=f.next();!p.done;p=f.next())!function(r){var n=(r.propertyName||r.name).text;pue.Core.eachSymbolReferenceInFile(r.name,s,a,function(e){var t=uR.createPropertyAccessExpression(uR.createIdentifier(l),n);oB(e.parent)?i.replaceNode(a,e.parent,uR.createPropertyAssignment(e.text,t)):Kj(e.parent)?d.add(r):i.replaceNode(a,e,t)})}(p.value)}catch(e){n={error:e}}finally{try{p&&!p.done&&(o=f.return)&&o.call(f)}finally{if(n)throw n.error}}i.replaceNode(a,t,r?uR.createIdentifier(l):uR.createNamespaceImport(uR.createIdentifier(l))),d.size&&(r=PD(d.values(),function(e){return uR.createImportSpecifier(e.isTypeOnly,e.propertyName&&uR.createIdentifier(e.propertyName.text),uR.createIdentifier(e.name.text))}),i.insertNodeAfter(a,t.parent.parent,m2(c,void 0,r)))}function m2(e,t,r){return uR.createImportDeclaration(void 0,uR.createImportClause(!1,t,r&&r.length?uR.createNamedImports(r):void 0),e.moduleSpecifier,void 0)}var y2,v2,g2,h2,x2=e({"src/services/refactors/convertImport.ts":function(){var e;fpe(),j4(),s2="Convert import",(e={})[0]={name:"Convert namespace import to named imports",description:vp(mA.Convert_namespace_import_to_named_imports),kind:"refactor.rewrite.import.named"},e[2]={name:"Convert named imports to namespace import",description:vp(mA.Convert_named_imports_to_namespace_import),kind:"refactor.rewrite.import.namespace"},e[1]={name:"Convert named imports to default import",description:vp(mA.Convert_named_imports_to_default_import),kind:"refactor.rewrite.import.default"},Q1(s2,{kinds:q(c2=e).map(function(e){return e.kind}),getAvailableActions:function(e){var t=_2(e,"invoked"===e.triggerReason);if(!t)return WN;if(S2(t))return e.preferences.provideRefactorNotApplicableReason?q(c2).map(function(e){return{name:s2,description:e.description,actions:[__assign(__assign({},e),{notApplicableReason:t.error})]}}):WN;e=c2[t.convertTo];return[{name:s2,description:e.description,actions:[e]}]},getEditsForAction:function(t,r){rA.assert(dD(q(c2),function(e){return e.name===r}),"Unexpected action name");var n=_2(t);return rA.assert(n&&!S2(n),"Expected applicable refactor info"),{edits:ode.ChangeTracker.with(t,function(e){return d2(t.file,t.program,e,n)}),renameFilename:void 0,renameLocation:void 0}}})}});function b2(e,t){void 0===t&&(t=!0);var r=e.file,n=e.startPosition,a=sI(r),i=QX(r,n),o=RQ(KZ(e)),s=o.pos===o.end&&t,c=FA(i,function(e){return e.parent&&FE(e)&&!k2(o,e.parent,r)&&(s||EX(i,r,o.pos,o.end))});if(!c||!FE(c))return{error:vp(mA.Selection_is_not_a_valid_type_node)};n=e.program.getTypeChecker(),t=a,t=FA(e=c,XE)||(t?FA(e,kh):void 0);if(void 0===t)return{error:vp(mA.No_type_could_be_extracted_from_this_type_node)};var _,l,d,f,p,e=(_=n,d=t,f=r,p=[],function e(t){var r,n;if(BR(t)){if(xR(t.typeName)){var a=t.typeName,i=_.resolveName(a.text,a,262144,!0);try{for(var o=__values((null==i?void 0:i.declarations)||WN),s=o.next();!s.done;s=o.next()){var c=s.value;if(wR(c)&&c.getSourceFile()===f){if(c.name.escapedText===a.escapedText&&k2(c,l,f))return!0;if(k2(d,c,f)&&!k2(l,c,f)){hD(p,c);break}}}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}}else if(Tg(t)){var u=FA(t,function(e){return kg(e)&&k2(e.extendsType,t,f)});if(!u||!k2(l,u,f))return!0}else if(jR(t)||Sg(t)){var u=FA(t.parent,bE);if(u&&u.type&&k2(u.type,t,f)&&!k2(l,u,f))return!0}else if(UR(t))if(xR(t.exprName)){var i=_.resolveName(t.exprName.text,t.exprName,111551,!1);if(null!=i&&i.valueDeclaration&&k2(d,i.valueDeclaration,f)&&!k2(l,i.valueDeclaration,f))return!0}else if($O(t.exprName.left)&&!k2(l,t.parent,f))return!0;f&&qR(t)&&gA(f,t.pos).line===gA(f,t.end).line&&lR(t,1);return HB(t,e)}(l=c)?void 0:p);return e?{isJS:a,selection:c,enclosingNode:t,typeParameters:e,typeElements:function e(t,r){var n,a;if(!r)return;{if(bg(r)){var i=[],o=new Map;try{for(var s=__values(r.types),c=s.next();!c.done;c=s.next()){var u=c.value,u=e(t,u);if(!u||!u.every(function(e){return e.name&&Zf(o,GQ(e.name))}))return;gD(i,u)}}catch(e){n={error:e}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(n)throw n.error}}return i}if(GR(r))return e(t,r.type);if(VR(r))return r.members}return}(n,c)}:{error:vp(mA.No_type_could_be_extracted_from_this_type_node)}}function k2(e,t,r){return DX(e,xA(r.text,t.pos),t.end)}var T2=e({"src/services/refactors/extractType.ts":function(){fpe(),j4(),y2="Extract type",v2={name:"Extract to type alias",description:vp(mA.Extract_to_type_alias),kind:"refactor.extract.type"},g2={name:"Extract to interface",description:vp(mA.Extract_to_interface),kind:"refactor.extract.interface"},h2={name:"Extract to typedef",description:vp(mA.Extract_to_typedef),kind:"refactor.extract.typedef"},Q1(y2,{kinds:[v2.kind,g2.kind,h2.kind],getAvailableActions:function(e){var t=b2(e,"invoked"===e.triggerReason);return t?S2(t)?e.preferences.provideRefactorNotApplicableReason?[{name:y2,description:vp(mA.Extract_type),actions:[__assign(__assign({},h2),{notApplicableReason:t.error}),__assign(__assign({},v2),{notApplicableReason:t.error}),__assign(__assign({},g2),{notApplicableReason:t.error})]}]:WN:[{name:y2,description:vp(mA.Extract_type),actions:t.isJS?[h2]:vD([v2],t.typeElements&&g2)}]:WN},getEditsForAction:function(u,_){var l=u.file,d=b2(u);rA.assert(d&&!S2(d),"Expected to find a range to extract");var f=lZ("NewType",l),e=ode.ChangeTracker.with(u,function(e){switch(_){case v2.name:return rA.assert(!d.isJS,"Invalid actionName/JS combo"),r=e,n=l,a=f,o=(i=d).enclosingNode,s=i.selection,c=i.typeParameters,i=uR.createTypeAliasDeclaration(void 0,a,c.map(function(e){return uR.updateTypeParameterDeclaration(e,e.modifiers,e.name,e.constraint,void 0)}),s),r.insertNodeBefore(n,o,Qy(i),!0),void r.replaceNode(n,s,uR.createTypeReferenceNode(a,c.map(function(e){return uR.createTypeReferenceNode(e.name,void 0)})),{leadingTriviaOption:ode.LeadingTriviaOption.Exclude,trailingTriviaOption:ode.TrailingTriviaOption.ExcludeWhitespace});case h2.name:return rA.assert(d.isJS,"Invalid actionName/JS combo"),function(e,t,r,n,a){var i=a.enclosingNode,o=a.selection,s=a.typeParameters;lR(o,7168);var c=uR.createJSDocTypedefTag(uR.createIdentifier("typedef"),uR.createJSDocTypeExpression(o),uR.createIdentifier(n)),u=[];KN(s,function(e){var t=tE(e),e=uR.createTypeParameterDeclaration(void 0,e.name),e=uR.createJSDocTemplateTag(uR.createIdentifier("template"),t&&JD(t,_B),[e]);u.push(e)}),a=uR.createJSDocComment(void 0,uR.createNodeArray(fD(u,[c]))),kh(i)?(c=i.getStart(r),t=zY(t.host,null==(t=t.formatContext)?void 0:t.options),e.insertNodeAt(r,i.getStart(r),a,{suffix:t+t+r.text.slice($Y(r.text,c-1),c)})):e.insertNodeBefore(r,i,a,!0),e.replaceNode(r,o,uR.createTypeReferenceNode(n,s.map(function(e){return uR.createTypeReferenceNode(e.name,void 0)})))}(e,u,l,f,d);case g2.name:return rA.assert(!d.isJS&&!!d.typeElements,"Invalid actionName/JS combo"),t=e,o=l,i=f,n=(r=d).enclosingNode,s=r.selection,a=r.typeParameters,c=r.typeElements,UB(r=uR.createInterfaceDeclaration(void 0,i,a,void 0,c),null==(c=c[0])?void 0:c.parent),t.insertNodeBefore(o,n,Qy(r),!0),void t.replaceNode(o,s,uR.createTypeReferenceNode(i,a.map(function(e){return uR.createTypeReferenceNode(e.name,void 0)})),{leadingTriviaOption:ode.LeadingTriviaOption.Exclude,trailingTriviaOption:ode.TrailingTriviaOption.ExcludeWhitespace});default:rA.fail("Unexpected action name")}var t,r,n,a,i,o,s,c}),t=l.fileName;return{edits:e,renameFilename:t,renameLocation:dZ(e,t,f,!1)}}})}});function S2(e){return void 0!==e.error}function w2(e,t){return!t||e.substr(0,t.length)===t}var C2,N2,D2,A2=e({"src/services/refactors/helpers.ts":function(){}});function E2(e,t,r,n){var a=n.getTypeChecker(),i=GX(e,t),n=i.parent;if(xR(i)){if(Bf(n)&&SP(n)&&xR(n.name))return 1!==(null==(t=a.getMergedSymbol(n.symbol).declarations)?void 0:t.length)?{error:vp(mA.Variables_with_multiple_declarations_cannot_be_inlined)}:F2(n)?void 0:(o=P2(n,a,e))&&{references:o,declaration:n,replacement:n.initializer};if(r){r=a.resolveName(i.text,i,111551,!1);if(1!==(null==(i=null==(r=r&&a.getMergedSymbol(r))?void 0:r.declarations)?void 0:i.length))return{error:vp(mA.Variables_with_multiple_declarations_cannot_be_inlined)};var o,r=r.declarations[0];return Bf(r)&&SP(r)&&xR(r.name)?F2(r)?void 0:(o=P2(r,a,e))&&{references:o,declaration:r,replacement:r.initializer}:void 0}return{error:vp(mA.Could_not_find_variable_to_inline)}}}function F2(e){return dD(JD(e.parent.parent,Tj).modifiers,og)}function P2(t,e,r){var n=[],r=pue.Core.eachSymbolReferenceInFile(t.name,e,r,function(e){return!!pue.isWriteAccessForReference(e)||(!(!Kj(e.parent)&&!qj(e.parent))||(!!UR(e.parent)||(!!wA(t,e.pos)||void n.push(e))))});return 0===n.length||r?void 0:n}var I2,O2,L2,M2=e({"src/services/refactors/inlineVariable.ts":function(){fpe(),j4(),C2="Inline variable",N2=vp(mA.Inline_variable),Q1(C2,{kinds:[(D2={name:C2,description:N2,kind:"refactor.inline.variable"}).kind],getAvailableActions:function(e){var t=e.file,r=e.program,n=e.preferences,r=E2(t,e.startPosition,"invoked"===e.triggerReason,r);return r?I4.isRefactorErrorInfo(r)?n.provideRefactorNotApplicableReason?[{name:C2,description:N2,actions:[__assign(__assign({},D2),{notApplicableReason:r.error})]}]:WN:[{name:C2,description:N2,actions:[D2]}]:WN},getEditsForAction:function(e,t){rA.assert(t===C2,"Unexpected refactor invoked");var s=e.file,r=e.program,t=e.startPosition,r=E2(s,t,!0,r);if(r&&!I4.isRefactorErrorInfo(r)){var c=r.references,u=r.declaration,_=r.replacement;return{edits:ode.ChangeTracker.with(e,function(e){var t,r,n;try{for(var a=__values(c),i=a.next();!i.done;i=a.next()){var o=i.value;e.replaceNode(s,o,(n=o,o=eZ(o=_),jE(n=n.parent)&&(od(o)<od(n)||vZ(n))||bE(o)&&(LE(n)||aj(n))||aj(n)&&(gR(o)||nj(o))?uR.createParenthesizedExpression(o):o))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}e.delete(s,u)})}}}})}});function R2(e,t,r,n,a,i,o){var s=t.getTypeChecker(),s=f6(e,r.all,s),o=_6(e,t,o,a);n.createNewFile(e,o,function(e,t,r,n,a,i,o,s){var c=a.getTypeChecker(),u=Ue(e.statements,J_);if(void 0===e.externalModuleIndicator&&void 0===e.commonJsModuleIndicator&&0===t.oldImportsNeededByTargetFile.size)return W2(e,n.ranges,r),__spreadArray(__spreadArray([],__read(u),!1),__read(n.all),!1);var _=!p$(o,a,i,!!e.commonJsModuleIndicator),l=iY(e,s),d=Y2(e,t.oldFileImportsFromTargetFile,o,a,i,_,l);d&&pY(r,e,d,!0,s);H2(e,n.all,r,t.unusedImportsFromOldFile,c),W2(e,n.ranges,r),K2(r,a,i,e,t.movedSymbols,o,l);l=function(c,t,e,u,r,n,a,_,i){var o,s,l,d=[];try{for(var f=__values(c.statements),p=f.next();!p.done;p=f.next())Q2(p.value,function(e){vD(d,o6(e,X2(e),function(e){return t.has(r.getSymbolAtLocation(e))}))})}catch(e){o={error:e}}finally{try{p&&!p.done&&(s=f.return)&&s.call(f)}finally{if(o)throw o.error}}var m=[],y=qQ();return e.forEach(function(e){var t,r;if(e.declarations)try{for(var n=__values(e.declarations),a=n.next();!a.done;a=n.next()){var i,o,s=a.value;g6(s)&&((i=s6(s))&&(o=c6(s),y(o)&&u6(c,o,i,u,_),_L(s,1024)?l=i:m.push(i.text)))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}),vD(d,Z2(c,l,m,Ea(c.fileName),n,a,_,i)),d}(e,t.oldImportsNeededByTargetFile,t.targetFileImportsFromOldFile,r,c,a,i,_,l),_=e6(e,n.all,t.oldFileImportsFromTargetFile,_);if(l.length&&_.length)return __spreadArray(__spreadArray(__spreadArray(__spreadArray([],__read(u),!1),__read(l),!1),[4],!1),__read(_),!1);return __spreadArray(__spreadArray(__spreadArray([],__read(u),!1),__read(l),!1),__read(_),!1)}(e,s,n,r,t,a,o,i)),q2(t,n,e.fileName,o,hd(a))}var j2,B2,J2,z2=e({"src/services/refactors/moveToNewFile.ts":function(){fpe(),j4(),I2="Move to a new file",O2=vp(mA.Move_to_a_new_file),Q1(I2,{kinds:[(L2={name:I2,description:O2,kind:"refactor.move.newFile"}).kind],getAvailableActions:function(e){var t=l6(e);return e.preferences.allowTextChangesInNewFiles&&t?[{name:I2,description:O2,actions:[L2]}]:e.preferences.provideRefactorNotApplicableReason?[{name:I2,description:O2,actions:[__assign(__assign({},L2),{notApplicableReason:vp(mA.Selection_is_not_a_valid_statement_or_statements)})]}]:WN},getEditsForAction:function(t,e){rA.assert(e===I2,"Wrong refactor invoked");var r=rA.checkDefined(l6(t));return{edits:ode.ChangeTracker.with(t,function(e){return R2(t.file,t.program,r,e,t.host,t.preferences,t)}),renameFilename:void 0,renameLocation:void 0}}})}});function U2(e){return{edits:[],renameFilename:void 0,renameLocation:void 0,notApplicableReason:e}}function V2(e,t,r,n,a,i,o,s,c){var u=i.getTypeChecker(),_=Ue(e.statements,J_);if(void 0===e.externalModuleIndicator&&void 0===e.commonJsModuleIndicator&&0===r.oldImportsNeededByTargetFile.size&&0===r.targetFileImportsFromOldFile.size&&"string"==typeof t)return W2(e,a.ranges,n),__spreadArray(__spreadArray([],__read(_),!1),__read(a.all),!1);var l="string"==typeof t?t:t.fileName,d=!p$(l,i,o,!!e.commonJsModuleIndicator),f=iY(e,s),p=Y2(e,r.oldFileImportsFromTargetFile,l,i,o,d,f);p&&pY(n,e,p,!0,s),H2(e,a.all,n,r.unusedImportsFromOldFile,u),W2(e,a.ranges,n),K2(n,i,o,e,r.movedSymbols,l,f);o=function(c,e,o,t,u,_,n,a,l,i,d){var r,s,f=[];if(d)o.forEach(function(e,t){var r,n;try{d.addImportFromExportedSymbol(Uf(t,_),e)}catch(e){try{for(var a=__values(c.statements),i=a.next();!i.done;i=a.next())Q2(i.value,function(e){vD(f,o6(e,uR.createStringLiteral(X2(e).text),function(e){return o.has(_.getSymbolAtLocation(e))}))})}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}});else{var p=n.getSourceFile(e);try{for(var m=__values(c.statements),y=m.next();!y.done;y=m.next())Q2(y.value,function(e){var t,r=X2(e),r=null==(t=c.resolvedModules)?void 0:t.get(r.text,VV(c,r)),r=null==(r=null==r?void 0:r.resolvedModule)?void 0:r.resolvedFileName;r&&p?(r=$w(n.getCompilerOptions(),p,p.path,r,ZQ(n,a)),vD(f,o6(e,nY(r,i),function(e){return o.has(_.getSymbolAtLocation(e))}))):vD(f,o6(e,uR.createStringLiteral(X2(e).text),function(e){return o.has(_.getSymbolAtLocation(e))}))})}catch(e){r={error:e}}finally{try{y&&!y.done&&(s=m.return)&&s.call(m)}finally{if(r)throw r.error}}}var v,e=n.getSourceFile(e),g=[],h=qQ();return t.forEach(function(e){var t,r;if(e.declarations)try{for(var n=__values(e.declarations),a=n.next();!a.done;a=n.next()){var i,o,s=a.value;g6(s)&&((i=s6(s))&&(o=c6(s),h(o)&&u6(c,o,i,u,l),d&&_.isUnknownSymbol(e)?d.addImportFromExportedSymbol(Uf(e,_)):_L(s,1024)?v=i:g.push(i.text)))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}),vD(f,Z2(e||c,v,g,c.fileName,n,a,l,i))}(e,l,r.oldImportsNeededByTargetFile,r.targetFileImportsFromOldFile,n,u,i,o,d,f,c),d=e6(e,a.all,r.oldFileImportsFromTargetFile,d);return"string"!=typeof t&&(0<t.statements.length?function(a,e,t,i,r){var n,o,s,c,u,_=new Set,l=null==(u=i.symbol)?void 0:u.exports;if(l){var d=e.getTypeChecker(),f=new Map;try{for(var p=__values(r.all),m=p.next();!m.done;m=p.next()){var y=m.value;n6(y)&&_L(y,1)&&m6(y,function(e){var t=GN(!HE(e)||null==(t=l.get(e.symbol.escapedName))?void 0:t.declarations,function(e){return Wj(e)?e:Kj(e)?BD(e.parent.parent,Wj):void 0});t&&t.moduleSpecifier&&f.set(t,(f.get(t)||new Set).add(e))})}}catch(e){n={error:e}}finally{try{m&&!m.done&&(o=p.return)&&o.call(p)}finally{if(n)throw n.error}}try{for(var v=__values(PD(f)),g=v.next();!g.done;g=v.next()){var h=__read(g.value,2),x=h[0],h=h[1];!function(e,t){if(e.exportClause&&Hj(e.exportClause)&&HN(e.exportClause.elements)){var r=e.exportClause.elements,n=nD(r,function(e){return void 0===QN(Uf(e.symbol,d).declarations,function(e){return g6(e)&&t.has(e)})});if(0===HN(n))return a.deleteNode(i,e),_.add(e);HN(n)<HN(r)&&a.replaceNode(i,e,uR.updateExportDeclaration(e,e.modifiers,e.isTypeOnly,uR.updateNamedExports(e.exportClause,uR.createNodeArray(n,r.hasTrailingComma)),e.moduleSpecifier,e.assertClause))}}(x,h)}}catch(e){s={error:e}}finally{try{g&&!g.done&&(c=v.return)&&c.call(v)}finally{if(s)throw s.error}}}(e=YN(i.statements,function(e){return Wj(e)&&e.moduleSpecifier&&!_.has(e)}))?a.insertNodesBefore(i,e,t,!0):a.insertNodesAfter(i,i.statements[i.statements.length-1],t)}(n,i,d,t,a):n.insertNodesAtEndOfFile(t,d,!1),0<o.length&&pY(n,t,o,!0,s)),c&&c.writeFixes(n,f),o.length&&d.length?__spreadArray(__spreadArray(__spreadArray(__spreadArray([],__read(_),!1),__read(o),!1),[4],!1),__read(d),!1):__spreadArray(__spreadArray(__spreadArray([],__read(_),!1),__read(o),!1),__read(d),!1)}function q2(e,t,r,n,a){e=e.getCompilerOptions().configFile;e&&(n=pi(dA(r,"..",n)),n=$a(e.fileName,n,a),(a=(a=e.statements[0]&&BD(e.statements[0].expression,nj))&&QN(a.properties,function(e){return iB(e)&&hR(e.name)&&"files"===e.name.text}))&&rj(a.initializer)&&t.insertNodeInListAfter(e,ND(a.initializer.elements),uR.createStringLiteral(n),a.initializer.elements))}function W2(e,t,r){var n,a;try{for(var i=__values(t),o=i.next();!o.done;o=i.next()){var s=o.value,c=s.first,s=s.afterLast;r.deleteNodeRangeExcludingEnd(e,c,s)}}catch(e){n={error:e}}finally{try{o&&!o.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}}function H2(t,e,r,n,a){var i,o;try{for(var s=__values(t.statements),c=s.next();!c.done;c=s.next()){var u=c.value;eD(e,u)||Q2(u,function(e){return r6(t,e,r,function(e){return n.has(a.getSymbolAtLocation(e))}),0})}}catch(e){i={error:e}}finally{try{c&&!c.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}}function K2(o,s,c,u,_,l,d){function e(a){var t,e;if(a===u)return 1;function r(n){Q2(n,function(e){var t,r;f.getSymbolAtLocation(X2(e))===u.symbol&&(r6(a,e,o,r=function(e){e=tj(e.parent)?lY(f,e.parent):Uf(f.getSymbolAtLocation(e),f);return!!e&&_.has(e)}),t=Ra(lA(u.path),l),(r=o6(e,nY(t=$w(s.getCompilerOptions(),a,a.path,t,ZQ(s,c)),d),r))&&o.insertNodeAfter(a,n,r),(r=function(e){switch(e.kind){case 272:return e.importClause&&e.importClause.namedBindings&&274===e.importClause.namedBindings.kind?e.importClause.namedBindings.name:void 0;case 271:return e.name;case 260:return BD(e.name,xR);default:return rA.assertNever(e,"Unexpected node kind ".concat(e.kind))}}(e))&&function(e,t,r,n,a,i,o,s){var c,u,_=Roe.moduleSpecifierToValidIdentifier(a,99),l=!1,d=[];if(pue.Core.eachSymbolReferenceInFile(i,r,t,function(e){aj(e.parent)&&(l=l||!!r.resolveName(_,e,67108863,!0),n.has(r.getSymbolAtLocation(e.parent.name))&&d.push(e))}),d.length){var f=l?lZ(_,t):_;try{for(var p=__values(d),m=p.next();!m.done;m=p.next()){var y=m.value;e.replaceNode(t,y,uR.createIdentifier(f))}}catch(e){c={error:e}}finally{try{m&&!m.done&&(u=p.return)&&u.call(p)}finally{if(c)throw c.error}}e.insertNodeAfter(t,o,function(e,t,r,n){var a=uR.createIdentifier(t),i=nY(r,n);switch(e.kind){case 272:return uR.createImportDeclaration(void 0,uR.createImportClause(!1,void 0,uR.createNamespaceImport(a)),i,void 0);case 271:return uR.createImportEqualsDeclaration(void 0,!1,a,uR.createExternalModuleReference(i));case 260:return uR.createVariableDeclaration(a,void 0,void 0,G2(i));default:return rA.assertNever(e,"Unexpected node kind ".concat(e.kind))}}(o,_,a,s))}}(o,a,f,_,t,r,e,d))})}try{for(var n=(t=void 0,__values(a.statements)),i=n.next();!i.done;i=n.next())r(i.value)}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}var t,r,f=s.getTypeChecker();try{for(var n=__values(s.getSourceFiles()),a=n.next();!a.done;a=n.next())e(a.value)}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}function G2(e){return uR.createCallExpression(uR.createIdentifier("require"),void 0,[e])}function X2(e){return 272===e.kind?e.moduleSpecifier:271===e.kind?e.moduleReference.expression:e.initializer.arguments[0]}function Q2(e,t){var r,n;if(Jj(e))hR(e.moduleSpecifier)&&t(e);else if(Bj(e))Gj(e.moduleReference)&&oF(e.moduleReference.expression)&&t(e);else if(Tj(e))try{for(var a=__values(e.declarationList.declarations),i=a.next();!i.done;i=a.next()){var o=i.value;o.initializer&&dI(o.initializer,!0)&&t(o)}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}function Y2(e,t,r,n,a,i,o){var s,c=[];return t.forEach(function(e){"default"===e.escapedName?s=uR.createIdentifier(sY(e)):c.push(e.name)}),Z2(e,s,c,r,n,a,i,o)}function Z2(e,t,r,n,a,i,o,s){n=Ra(lA(e.path),n),i=$w(a.getCompilerOptions(),e,e.path,n,ZQ(a,i));if(o)return tY(t,r.map(function(e){return uR.createImportSpecifier(!1,void 0,uR.createIdentifier(e))}),i,s);rA.assert(!t,"No default import should exist");r=r.map(function(e){return uR.createBindingElement(void 0,void 0,e)});return r.length?$2(uR.createObjectBindingPattern(r),void 0,G2(nY(i,s))):void 0}function $2(e,t,r,n){return void 0===n&&(n=2),uR.createVariableStatement(void 0,uR.createVariableDeclarationList([uR.createVariableDeclaration(e,void 0,t,r)],n))}function e6(r,e,n,a){return cD(e,function(e){if(n6(e)&&!t6(r,e,a)&&m6(e,function(e){return n.has(rA.checkDefined(null==(e=BD(e,HE))?void 0:e.symbol))})){t=(t=eZ(e),a?[function(e){var t=VB(e)?fD([uR.createModifier(95)],UA(e)):void 0;switch(e.kind){case 262:return uR.updateFunctionDeclaration(e,t,e.asteriskToken,e.name,e.typeParameters,e.parameters,e.type,e.body);case 263:var r=qB(e)?zA(e):void 0;return uR.updateClassDeclaration(e,fD(r,t),e.name,e.typeParameters,e.heritageClauses,e.members);case 243:return uR.updateVariableStatement(e,t,e.declarationList);case 267:return uR.updateModuleDeclaration(e,t,e.name,e.body);case 266:return uR.updateEnumDeclaration(e,t,e.name,e.members);case 265:return uR.updateTypeAliasDeclaration(e,t,e.name,e.typeParameters,e.type);case 264:return uR.updateInterfaceDeclaration(e,t,e.name,e.typeParameters,e.heritageClauses,e.members);case 271:return uR.updateImportEqualsDeclaration(e,t,e.isTypeOnly,e.name,e.moduleReference);case 244:return rA.fail();default:return rA.assertNever(e,"Unexpected declaration kind ".concat(e.kind))}}(t)]:function(e){return __spreadArray([e],__read(i6(e).map(a6)),!1)}(t));if(t)return t}var t;return eZ(e)})}function t6(t,e,r,n){var a;return r?!Sj(e)&&_L(e,1)||n&&t.symbol&&null!=(a=t.symbol.exports)&&a.has(n.escapedText):t.symbol&&t.symbol.exports&&i6(e).some(function(e){return t.symbol.exports.has(IA(e))})}function r6(e,t,r,n){switch(t.kind){case 272:!function(e,t,r,n){var a,i;if(t.importClause){var o=(u=t.importClause).name,s=u.namedBindings,c=!o||n(o),u=!s||(274===s.kind?n(s.name):0!==s.elements.length&&s.elements.every(function(e){return n(e.name)}));if(c&&u)r.delete(e,t);else if(o&&c&&r.delete(e,o),s)if(u)r.replaceNode(e,t.importClause,uR.updateImportClause(t.importClause,t.importClause.isTypeOnly,o,void 0));else if(275===s.kind)try{for(var _=__values(s.elements),l=_.next();!l.done;l=_.next()){var d=l.value;n(d.name)&&r.delete(e,d)}}catch(e){a={error:e}}finally{try{l&&!l.done&&(i=_.return)&&i.call(_)}finally{if(a)throw a.error}}}}(e,t,r,n);break;case 271:n(t.name)&&r.delete(e,t);break;case 260:!function(e,t,r,n){var a,i,o=t.name;switch(o.kind){case 80:n(o)&&(t.initializer&&dI(t.initializer,!0)?r.delete(e,Ej(t.parent)&&1===HN(t.parent.declarations)?t.parent.parent:t):r.delete(e,o));break;case 207:break;case 206:if(o.elements.every(function(e){return xR(e.name)&&n(e.name)}))r.delete(e,Ej(t.parent)&&1===t.parent.declarations.length?t.parent.parent:t);else try{for(var s=__values(o.elements),c=s.next();!c.done;c=s.next()){var u=c.value;xR(u.name)&&n(u.name)&&r.delete(e,u.name)}}catch(e){a={error:e}}finally{try{c&&!c.done&&(i=s.return)&&i.call(s)}finally{if(a)throw a.error}}}}(e,t,r,n);break;default:rA.assertNever(t,"Unexpected import decl kind ".concat(t.kind))}}function n6(e){return rA.assert(uB(e.parent),"Node parent should be a SourceFile"),h6(e)||Tj(e)}function a6(e){return uR.createExpressionStatement(uR.createBinaryExpression(uR.createPropertyAccessExpression(uR.createIdentifier("exports"),uR.createIdentifier(e)),64,uR.createIdentifier(e)))}function i6(e){switch(e.kind){case 262:case 263:return[e.name.text];case 243:return uD(e.declarationList.declarations,function(e){return xR(e.name)?e.name.text:void 0});case 267:case 266:case 265:case 264:case 271:return WN;case 244:return rA.fail("Can't export an ExpressionStatement");default:return rA.assertNever(e,"Unexpected decl kind ".concat(e.kind))}}function o6(e,t,r){switch(e.kind){case 272:var n=e.importClause;if(!n)return;var a=n.name&&r(n.name)?n.name:void 0,i=n.namedBindings&&function(e,t){{if(274===e.kind)return t(e.name)?e:void 0;e=e.elements.filter(function(e){return t(e.name)});return e.length?uR.createNamedImports(e):void 0}}(n.namedBindings,r);return a||i?uR.createImportDeclaration(void 0,uR.createImportClause(n.isTypeOnly,a,i),eZ(t),void 0):void 0;case 271:return r(e.name)?e:void 0;case 260:i=function(e,t){switch(e.kind){case 80:return t(e)?e:void 0;case 207:return e;case 206:var r=e.elements.filter(function(e){return e.propertyName||!xR(e.name)||t(e.name)});return r.length?uR.createObjectBindingPattern(r):void 0}}(e.name,r);return i?$2(i,e.type,G2(t),e.parent.flags):void 0;default:return rA.assertNever(e,"Unexpected import kind ".concat(e.kind))}}function s6(e){return Sj(e)?BD(e.expression.left.name,xR):BD(e.name,xR)}function c6(e){switch(e.kind){case 260:return e.parent.parent;case 208:return c6(JD(e.parent.parent,function(e){return Aj(e)||tj(e)}));default:return e}}function u6(e,t,r,n,a){t6(e,t,a,r)||(a?Sj(t)||n.insertExportModifier(e,t):0!==(a=i6(t)).length&&n.insertNodesAfter(e,t,a.map(a6)))}function _6(e,t,r,n){var a=t.getTypeChecker(),t=l6(r);if(t){r=f6(e,t.all,a);t=lA(e.fileName),a=bm(e.fileName);return dA(t,function(e,t,r,n){for(var a=e,i=1;;i++){var o=dA(r,a+t);if(!n.fileExists(o))return a;a="".concat(e,".").concat(i)}}((e=r.oldFileImportsFromTargetFile,r=r.movedSymbols,xF(e,sY)||xF(r,sY)||"newFile"),a,t,n))+a}return""}function l6(e){e=function(e){var t=e.file,r=RQ(KZ(e)),n=t.statements,a=ZN(n,function(e){return e.end>r.pos});if(-1!==a){e=x6(t,n[a]);e&&(a=e.start);e=ZN(n,function(e){return e.end>=r.end},a);-1!==e&&r.end<=n[e].getStart()&&e--;t=x6(t,n[e]);return t&&(e=t.end),{toMove:n.slice(a,-1===e?n.length:e+1),afterLast:-1===e?void 0:n[e+1]}}}(e);if(void 0!==e){var n=[],a=[],i=e.toMove,o=e.afterLast;return Ze(i,d6,function(e,t){for(var r=e;r<t;r++)n.push(i[r]);a.push({first:i[e],afterLast:o})}),0===n.length?void 0:{all:n,ranges:a}}}function d6(e){return!function(e){switch(e.kind){case 272:return!0;case 271:return!_L(e,1);case 243:return e.declarationList.declarations.every(function(e){return!!e.initializer&&dI(e.initializer,!0)});default:return!1}}(e)&&!J_(e)}function f6(c,e,r){var t,n,a,i,o,s,u=new Set,_=new Map,l=new Set,d=function(e){if(void 0===e)return;var t=r.getJsxNamespace(e),e=r.resolveName(t,e,1920,!0);return e&&dD(e.declarations,y6)?e:void 0}(QN(e,function(e){return 2&e.transformFlags}));d&&_.set(d,!1);try{for(var f=__values(e),p=f.next();!p.done;p=f.next())m6(h=p.value,function(e){u.add(rA.checkDefined(Sj(e)?r.getSymbolAtLocation(e.expression.left):e.symbol,"Need a symbol here"))})}catch(e){t={error:e}}finally{try{p&&!p.done&&(n=f.return)&&n.call(f)}finally{if(t)throw t.error}}try{for(var m=__values(e),y=m.next();!y.done;y=m.next())p6(h=y.value,r,function(e,t){var r,n;if(e.declarations)try{for(var a=(r=void 0,__values(e.declarations)),i=a.next();!i.done;i=a.next()){var o,s=i.value;y6(s)?(o=_.get(e),_.set(e,(void 0===o||o)&&t)):g6(s)&&(Aj(s=s)?s.parent.parent:s).parent===c&&!u.has(e)&&l.add(e)}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}})}catch(e){a={error:e}}finally{try{y&&!y.done&&(i=m.return)&&i.call(m)}finally{if(a)throw a.error}}var v=new Set(_.keys()),g=new Set;try{for(var h,x=__values(c.statements),b=x.next();!b.done;b=x.next())eD(e,h=b.value)||(d&&2&h.transformFlags&&v.delete(d),p6(h,r,function(e){u.has(e)&&g.add(e),v.delete(e)}))}catch(e){o={error:e}}finally{try{b&&!b.done&&(s=x.return)&&s.call(x)}finally{if(o)throw o.error}}return{movedSymbols:u,targetFileImportsFromOldFile:l,oldFileImportsFromTargetFile:g,oldImportsNeededByTargetFile:_,unusedImportsFromOldFile:v}}function p6(e,n,a){e.forEachChild(function e(t){var r;xR(t)&&!uO(t)?(r=n.getSymbolAtLocation(t))&&a(r,IM(t)):t.forEachChild(e)})}function m6(e,t){switch(e.kind){case 262:case 263:case 267:case 266:case 265:case 264:case 271:return t(e);case 243:return GN(e.declarationList.declarations,function(e){return function t(e,r){switch(e.kind){case 80:return r(JD(e.parent,function(e){return Aj(e)||tj(e)}));case 207:case 206:return GN(e.elements,function(e){return gj(e)?void 0:t(e.name,r)});default:return rA.assertNever(e,"Unexpected name kind ".concat(e.kind))}}(e.name,t)});case 244:var r=e.expression;return mj(r)&&1===NI(r)&&t(e)}}function y6(e){switch(e.kind){case 271:case 276:case 273:case 274:return!0;case 260:return v6(e);case 208:return Aj(e.parent.parent)&&v6(e.parent.parent);default:return!1}}function v6(e){return uB(e.parent.parent.parent)&&!!e.initializer&&dI(e.initializer,!0)}function g6(e){return h6(e)&&uB(e.parent)||Aj(e)&&uB(e.parent.parent.parent)}function h6(e){switch(e.kind){case 262:case 263:case 267:case 266:case 265:case 264:case 271:return!0;default:return!1}}function x6(t,e){if(TE(e)){var r=e.symbol.declarations;if(void 0===r||HN(r)<=1||!eD(r,e))return;var n=r[0],a=r[HN(r)-1],e=uD(r,function(e){return CF(e)===t&&XE(e)?e:void 0}),r=ZN(t.statements,function(e){return e.end>=a.end});return{toMove:e,start:ZN(t.statements,function(e){return e.end>=n.end}),end:r}}}var b6,k6,T6,S6=e({"src/services/refactors/moveToFile.ts":function(){bC(),fpe(),r2(),j2="Move to file",B2=vp(mA.Move_to_file),Q1(j2,{kinds:[(J2={name:"Move to file",description:B2,kind:"refactor.move.file"}).kind],getAvailableActions:function(e,t){var r=l6(e);return t?e.preferences.allowTextChangesInNewFiles&&r?[{name:j2,description:B2,actions:[J2]}]:e.preferences.provideRefactorNotApplicableReason?[{name:j2,description:B2,actions:[__assign(__assign({},J2),{notApplicableReason:vp(mA.Selection_is_not_a_valid_statement_or_statements)})]}]:WN:WN},getEditsForAction:function(_,e,l){rA.assert(e===j2,"Wrong refactor invoked");var d=rA.checkDefined(l6(_)),t=_.host,r=_.program;rA.assert(l,"No interactive refactor arguments available");e=l.targetFile;return sm(e)||cm(e)?t.fileExists(e)&&void 0===r.getSourceFile(e)?U2(vp(mA.Cannot_move_statements_to_the_selected_file)):{edits:ode.ChangeTracker.with(_,function(e){return r=(t=_).file,n=l.targetFile,a=_.program,i=d,o=e,s=_.host,c=_.preferences,u=a.getTypeChecker(),e=f6(r,i.all,u),void(s.fileExists(n)?V2(r,u=rA.checkDefined(a.getSourceFile(n)),e,o,i,a,s,c,Roe.createImportAdder(u,t.program,t.preferences,t.host)):(o.createNewFile(r,n,V2(r,n,e,o,i,a,s,c)),q2(a,o,r.fileName,n,hd(s))));var t,r,n,a,i,o,s,c,u}),renameFilename:void 0,renameLocation:void 0}:U2(vp(mA.Cannot_move_to_file_selected_file_is_invalid))}})}});function w6(e){return D6(e.file,e.startPosition,e.program)?[{name:b6,description:k6,actions:[T6]}]:WN}function C6(e){var t=e.file,r=e.startPosition,n=e.program,a=D6(t,r,n);if(a){var i=n.getTypeChecker(),o=a[a.length-1],s=o;switch(o.kind){case 173:s=uR.updateMethodSignature(o,o.modifiers,o.name,o.questionToken,o.typeParameters,c(a),o.type);break;case 174:s=uR.updateMethodDeclaration(o,o.modifiers,o.asteriskToken,o.name,o.questionToken,o.typeParameters,c(a),o.type,o.body);break;case 179:s=uR.updateCallSignature(o,o.typeParameters,c(a),o.type);break;case 176:s=uR.updateConstructorDeclaration(o,o.modifiers,c(a),o.body);break;case 180:s=uR.updateConstructSignature(o,o.typeParameters,c(a),o.type);break;case 262:s=uR.updateFunctionDeclaration(o,o.modifiers,o.asteriskToken,o.name,o.typeParameters,c(a),o.type,o.body);break;default:return rA.failBadSyntaxKind(o,"Unhandled signature kind in overload list conversion refactoring")}if(s!==o)return{renameFilename:void 0,renameLocation:void 0,edits:ode.ChangeTracker.with(e,function(e){e.replaceNodeRange(t,a[0],a[a.length-1],s)})}}function c(e){var t=e[e.length-1];return TE(t)&&t.body&&(e=e.slice(0,e.length-1)),uR.createNodeArray([uR.createParameterDeclaration(void 0,uR.createToken(26),"args",void 0,uR.createUnionTypeNode(iD(e,u)))])}function u(e){e=iD(e.parameters,_);return lR(uR.createTupleTypeNode(e),dD(e,function(e){return!!HN(My(e))})?0:1)}function _(e){rA.assert(xR(e.name));var t=UB(uR.createNamedTupleMember(e.dotDotDotToken,e.name,e.questionToken,e.type||uR.createKeywordTypeNode(133)),e),e=e.symbol&&e.symbol.getDocumentationComment(i);return!e||(e=y8(e)).length&&fR(t,[{text:"*\n".concat(e.split("\n").map(function(e){return" * ".concat(e)}).join("\n"),"\n "),kind:3,pos:-1,end:-1,hasTrailingNewLine:!0,hasLeadingNewline:!0}]),t}}function N6(e){switch(e.kind){case 173:case 174:case 179:case 176:case 180:case 262:return!0}return!1}function D6(t,e,r){var n=FA(QX(t,e),N6);if(n&&!(TE(n)&&n.body&&wX(n.body,e))){var a=r.getTypeChecker(),e=n.symbol;if(e){r=e.declarations;if(!(HN(r)<=1)&&XN(r,function(e){return CF(e)===t})&&N6(r[0])){var i=r[0].kind;if(XN(r,function(e){return e.kind===i})){n=r;if(!dD(n,function(e){return!!e.typeParameters||dD(e.parameters,function(e){return!!e.modifiers||!xR(e.name)})})){e=uD(n,function(e){return a.getSignatureFromDeclaration(e)});if(HN(e)===HN(r)){var o=a.getReturnTypeOfSignature(e[0]);if(XN(e,function(e){return a.getReturnTypeOfSignature(e)===o}))return n}}}}}}}var A6,E6,F6,P6,I6=e({"src/services/refactors/convertOverloadListToSingleSignature.ts":function(){fpe(),j4(),b6="Convert overload list to single signature",k6=vp(mA.Convert_overload_list_to_single_signature),Q1(b6,{kinds:[(T6={name:b6,description:k6,kind:"refactor.rewrite.function.overloadList"}).kind],getEditsForAction:C6,getAvailableActions:w6})}});function O6(e){var t=M6(e.file,e.startPosition,"invoked"===e.triggerReason);return t?S2(t)?e.preferences.provideRefactorNotApplicableReason?[{name:A6,description:E6,actions:[__assign(__assign({},F6),{notApplicableReason:t.error}),__assign(__assign({},P6),{notApplicableReason:t.error})]}]:WN:[{name:A6,description:E6,actions:[t.addBraces?F6:P6]}]:WN}function L6(e,t){var r=e.file,n=e.startPosition,a=M6(r,n);rA.assert(a&&!S2(a),"Expected applicable refactor info");var i,o=a.expression,n=a.returnStatement,s=a.func;return t===F6.name?(a=uR.createReturnStatement(o),i=uR.createBlock([a],!0),fZ(o,a,r,3,!0)):t===P6.name&&n?(o=o||uR.createVoidZero(),mZ(n,i=vZ(o)?uR.createParenthesizedExpression(o):o,r,3,!1),fZ(n,i,r,3,!1),pZ(n,i,r,3,!1)):rA.fail("invalid action"),{renameFilename:void 0,renameLocation:void 0,edits:ode.ChangeTracker.with(e,function(e){e.replaceNode(r,s.body,i)})}}function M6(e,t,r,n){void 0===r&&(r=!0);e=QX(e,t),t=PP(e);if(!t)return{error:vp(mA.Could_not_find_a_containing_arrow_function)};if(!lj(t))return{error:vp(mA.Containing_function_is_not_an_arrow_function)};if(TX(t,e)&&(!TX(t.body,e)||r)){if(w2(F6.kind,n)&&jE(t.body))return{func:t,addBraces:!0,expression:t.body};if(w2(P6.kind,n)&&kj(t.body)&&1===t.body.statements.length){n=SD(t.body.statements);if(Kg(n))return{func:t,addBraces:!1,expression:n.expression,returnStatement:n}}}}var R6,j6,B6,J6,z6,U6=e({"src/services/refactors/addOrRemoveBracesToArrowFunction.ts":function(){fpe(),j4(),A6="Add or remove braces in an arrow function",E6=vp(mA.Add_or_remove_braces_in_an_arrow_function),F6={name:"Add braces to arrow function",description:vp(mA.Add_braces_to_arrow_function),kind:"refactor.rewrite.arrow.braces.add"},P6={name:"Remove braces from arrow function",description:vp(mA.Remove_braces_from_arrow_function),kind:"refactor.rewrite.arrow.braces.remove"},Q1(A6,{kinds:[P6.kind],getEditsForAction:L6,getAvailableActions:O6})}}),V6={},q6=e({"src/services/_namespaces/ts.refactor.addOrRemoveBracesToArrowFunction.ts":function(){I6(),U6()}});function W6(e){var t=e.file,r=e.startPosition,n=e.program,a=e.kind,i=G6(t,r,n);if(!i)return WN;var o,t=i.selectedVariableDeclaration,r=i.func,n=[],i=[];return w2(J6.kind,a)&&((o=t||lj(r)&&Aj(r.parent)?void 0:vp(mA.Could_not_convert_to_named_function))?i.push(__assign(__assign({},J6),{notApplicableReason:o})):n.push(J6)),w2(B6.kind,a)&&((o=!t&&lj(r)?void 0:vp(mA.Could_not_convert_to_anonymous_function))?i.push(__assign(__assign({},B6),{notApplicableReason:o})):n.push(B6)),w2(z6.kind,a)&&((o=_j(r)?void 0:vp(mA.Could_not_convert_to_arrow_function))?i.push(__assign(__assign({},z6),{notApplicableReason:o})):n.push(z6)),[{name:R6,description:j6,actions:0===n.length&&e.preferences.provideRefactorNotApplicableReason?i:n}]}function H6(e,t){var r=G6(e.file,e.startPosition,e.program);if(r){var n,a,i,o,s=r.func,c=[];switch(t){case B6.name:c.push.apply(c,__spreadArray([],__read((n=s,a=(u=e).file,i=X6(n.body),o=uR.createFunctionExpression(n.modifiers,n.asteriskToken,void 0,n.typeParameters,n.parameters,n.type,i),ode.ChangeTracker.with(u,function(e){return e.replaceNode(a,n,o)}))),!1));break;case J6.name:var u=function(e){var t=e.parent;if(!Aj(t)||!SP(t))return;var r=t.parent,e=r.parent;return Ej(r)&&Tj(e)&&xR(t.name)?{variableDeclaration:t,variableDeclarationList:r,statement:e,name:t.name}:void 0}(s);if(!u)return;c.push.apply(c,__spreadArray([],__read(function(e,t,r){var n=e.file,a=X6(t.body),i=r.variableDeclaration,o=r.variableDeclarationList,s=r.statement,c=r.name;oZ(s);var r=1&DA(i)|xL(t),r=uR.createModifiersFromModifierFlags(r),u=uR.createFunctionDeclaration(HN(r)?r:void 0,t.asteriskToken,c,t.typeParameters,t.parameters,t.type,a);return 1===o.declarations.length?ode.ChangeTracker.with(e,function(e){return e.replaceNode(n,s,u)}):ode.ChangeTracker.with(e,function(e){e.delete(n,i),e.insertNodeAfter(n,s,u)})}(e,s,u)),!1));break;case z6.name:if(!_j(s))return;c.push.apply(c,__spreadArray([],__read(function(e,t){var r,n=e.file,a=t.body.statements[0];!function(e,t){return 1===e.statements.length&&Kg(t)&&!!t.expression}(t.body,a)?r=t.body:(iZ(r=a.expression),cZ(a,r));var i=uR.createArrowFunction(t.modifiers,t.typeParameters,t.parameters,t.type,uR.createToken(39),r);return ode.ChangeTracker.with(e,function(e){return e.replaceNode(n,t,i)})}(e,s)),!1));break;default:return rA.fail("invalid action")}return{renameFilename:void 0,renameLocation:void 0,edits:c}}}function K6(e){var r=!1;return e.forEachChild(function e(t){bX(t)?r=!0:NE(t)||Fj(t)||_j(t)||HB(t,e)}),r}function G6(e,t,r){var n=QX(e,t),t=r.getTypeChecker(),r=function(e,t,r){if(!function(e){return Aj(e)||Ej(e)&&1===e.declarations.length}(r))return;r=(Aj(r)?r:SD(r.declarations)).initializer;if(r&&(lj(r)||_j(r)&&!Q6(e,t,r)))return r;return}(e,t,n.parent);if(r&&!K6(r.body)&&!t.containsArgumentsReference(r))return{selectedVariableDeclaration:!0,func:r};r=PP(n);return!r||!_j(r)&&!lj(r)||TX(r.body,n)||K6(r.body)||t.containsArgumentsReference(r)||_j(r)&&Q6(e,t,r)?void 0:{selectedVariableDeclaration:!1,func:r}}function X6(e){if(jE(e)){var t=uR.createReturnStatement(e),r=e.getSourceFile();return UB(t,e),iZ(t),mZ(e,t,r,void 0,!0),uR.createBlock([t],!0)}return e}function Q6(e,t,r){return r.name&&pue.Core.isSymbolReferencedInFile(r.name,t,e)}var Y6,Z6,$6,e3,t3=e({"src/services/refactors/convertArrowFunctionOrFunctionExpression.ts":function(){fpe(),j4(),R6="Convert arrow function or function expression",j6=vp(mA.Convert_arrow_function_or_function_expression),B6={name:"Convert to anonymous function",description:vp(mA.Convert_to_anonymous_function),kind:"refactor.rewrite.function.anonymous"},J6={name:"Convert to named function",description:vp(mA.Convert_to_named_function),kind:"refactor.rewrite.function.named"},z6={name:"Convert to arrow function",description:vp(mA.Convert_to_arrow_function),kind:"refactor.rewrite.function.arrow"},Q1(R6,{kinds:[B6.kind,J6.kind,z6.kind],getEditsForAction:H6,getAvailableActions:W6})}}),r3={},n3=e({"src/services/_namespaces/ts.refactor.convertArrowFunctionOrFunctionExpression.ts":function(){t3()}});function a3(e){var t=e.file,r=e.startPosition;return!sI(t)&&_3(t,r,e.program.getTypeChecker())?[{name:Y6,description:$6,actions:[e3]}]:WN}function i3(e,t){rA.assert(t===Y6,"Unexpected action name");var r=e.file,n=e.startPosition,a=e.program,t=e.cancellationToken,i=e.host,o=_3(r,n,a.getTypeChecker());if(o&&t){var s=function(m,t,r){var y=function(e){switch(e.kind){case 262:return e.name?[e.name]:[rA.checkDefined(fY(e,90),"Nameless function declaration should be a default export")];case 174:return[e.name];case 176:var t=rA.checkDefined(MX(e,137,e.getSourceFile()),"Constructor declaration should have constructor keyword");return 231!==e.parent.kind?[t]:[e.parent.parent.name,t];case 219:return[e.parent.name];case 218:return e.name?[e.name,e.parent.name]:[e.parent.name];default:return rA.assertNever(e,"Unexpected function declaration kind ".concat(e.kind))}}(m),v=IR(m)?function(e){switch(e.parent.kind){case 263:var t=e.parent;return t.name?[t.name]:[rA.checkDefined(fY(t,90),"Nameless class declaration should be a default export")];case 231:var r=e.parent,t=e.parent.parent,r=r.name;return r?[r,t.name]:[t.name]}}(m):[],n=mD(__spreadArray(__spreadArray([],__read(y),!1),__read(v),!1),zD),g=t.getTypeChecker(),e=function(e){var t,r,n={accessExpressions:[],typeUsages:[]},a={functionCalls:[],declarations:[],classReferences:n,valid:!0},i=iD(y,h),o=iD(v,h),s=IR(m),c=iD(y,function(e){return o3(e,g)});try{for(var u=__values(e),_=u.next();!_.done;_=u.next()){var l=_.value;if(l.kind!==pue.EntryKind.Span){if(eD(c,h(l.node))){if(function(e){return ER(e)&&(Ij(e.parent)||VR(e.parent))}(l.node.parent)){a.signature=l.node.parent;continue}if(d=u3(l)){a.functionCalls.push(d);continue}}var d,f,p=o3(l.node,g);if(p&&eD(c,p))if(f=c3(l)){a.declarations.push(f);continue}if(eD(i,h(l.node))||XG(l.node)){if(s3(l))continue;if(f=c3(l)){a.declarations.push(f);continue}if(d=u3(l)){a.functionCalls.push(d);continue}}if(s&&eD(o,h(l.node))){if(s3(l))continue;if(f=c3(l)){a.declarations.push(f);continue}p=function(e){if(e.node.parent){var t=e.node,r=t.parent;switch(r.kind){case 211:var n=BD(r,aj);if(n&&n.expression===t)return n;break;case 212:n=BD(r,ij);if(n&&n.expression===t)return n}}return}(l);if(p){n.accessExpressions.push(p);continue}if(Pj(m.parent)){l=function(e){e=e.node;if(2===HG(e)||DL(e.parent))return e;return}(l);if(l){n.typeUsages.push(l);continue}}}a.valid=!1}else a.valid=!1}}catch(e){t={error:e}}finally{try{_&&!_.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}return a}(cD(n,function(e){return pue.getReferenceEntriesForNode(-1,e,t,t.getSourceFiles(),r)}));XN(e.declarations,function(e){return eD(n,e)})||(e.valid=!1);return e;function h(e){e=g.getSymbolAtLocation(e);return e&&QY(e,g)}}(o,a,t);return s.valid?{renameFilename:void 0,renameLocation:void 0,edits:ode.ChangeTracker.with(e,function(e){return function(r,e,t,n,a,i){var o,s,c=i.signature,u=iD(y3(a,e,t),function(e){return eZ(e)});c&&(t=iD(y3(c,e,t),function(e){return eZ(e)}),m(c,t));m(a,u);var _=E(i.functionCalls,function(e,t){return UD(e.pos,t.pos)});try{for(var l=__values(_),d=l.next();!d.done;d=l.next()){var f,p=d.value;p.arguments&&p.arguments.length&&(f=eZ(function(e,t){var r=m3(e.parameters),n=uF(ND(r)),e=iD(n?t.slice(0,r.length-1):t,function(e,t){t=function(e,t){if(xR(t)&&AO(t)===e)return uR.createShorthandPropertyAssignment(e);return uR.createPropertyAssignment(e,t)}(v3(r[t]),e);return iZ(t.name),iB(t)&&iZ(t.initializer),cZ(e,t),t});n&&t.length>=r.length&&(t=t.slice(r.length-1),t=uR.createPropertyAssignment(v3(ND(r)),uR.createArrayLiteralExpression(t)),e.push(t));return uR.createObjectLiteralExpression(e,!1)}(a,p.arguments),!0),n.replaceNodeRange(CF(p),SD(p.arguments),ND(p.arguments),f,{leadingTriviaOption:ode.LeadingTriviaOption.IncludeAll,trailingTriviaOption:ode.TrailingTriviaOption.Include}))}}catch(e){o={error:e}}finally{try{d&&!d.done&&(s=l.return)&&s.call(l)}finally{if(o)throw o.error}}function m(e,t){n.replaceNodeRangeWithNodes(r,SD(e.parameters),ND(e.parameters),t,{joiner:", ",indentation:0,leadingTriviaOption:ode.LeadingTriviaOption.IncludeAll,trailingTriviaOption:ode.TrailingTriviaOption.Include})}}(r,a,i,e,o,s)})}:{edits:[]}}}function o3(e,t){e=S8(e);if(e){e=t.getContextualTypeForObjectLiteralElement(e),e=null==e?void 0:e.getSymbol();if(e&&!(6&BL(e)))return e}}function s3(e){e=e.node;return Vj(e.parent)||zj(e.parent)||Bj(e.parent)||ah(e.parent)||Kj(e.parent)||qj(e.parent)?e:void 0}function c3(e){if(GE(e.node.parent))return e.node}function u3(e){if(e.node.parent){var t=e.node,r=t.parent;switch(r.kind){case 213:case 214:var n=BD(r,ME);if(n&&n.expression===t)return n;break;case 211:var a=BD(r,aj);if(a&&a.parent&&a.name===t)if((i=BD(a.parent,ME))&&i.expression===a)return i;break;case 212:var i,a=BD(r,ij);if(a&&a.parent&&a.argumentExpression===t)if((i=BD(a.parent,ME))&&i.expression===a)return i}}}function _3(e,t,r){e=XX(e,t),t=rl(e);if(!function(e){e=FA(e,ZE);if(e){e=FA(e,function(e){return!ZE(e)});return!!e&&TE(e)}return!1}(e))return!(t&&function(e,t){if(!function(e,t){return function(e){if(p3(e))return e.length-1;return e.length}(e)>=Z6&&XN(e,function(e){return function(e,t){if(uF(e)){var r=t.getTypeAtLocation(e);if(!t.isArrayType(r)&&!t.isTupleType(r))return}return!e.modifiers&&xR(e.name)}(e,t)})}(e.parameters,t))return!1;switch(e.kind){case 262:return d3(e)&&l3(e,t);case 174:if(nj(e.parent)){var r=o3(e.name,t);return 1===(null==(r=null==r?void 0:r.declarations)?void 0:r.length)&&l3(e,t)}return l3(e,t);case 176:return Pj(e.parent)?d3(e.parent)&&l3(e,t):f3(e.parent.parent)&&l3(e,t);case 218:case 219:return f3(e.parent)}return!1}(t,r)&&TX(t,e))||t.body&&TX(t.body,e)?void 0:t}function l3(e,t){return!!e.body&&!t.isImplementationOfOverload(e)}function d3(e){return!!e.name||!!fY(e,90)}function f3(e){return Aj(e)&&R_(e)&&xR(e.name)&&!e.type}function p3(e){return 0<e.length&&bX(e[0].name)}function m3(e){return p3(e)&&(e=uR.createNodeArray(e.slice(1),e.hasTrailingComma)),e}function y3(e,n,a){var i=n.getTypeChecker(),t=m3(e.parameters),r=iD(t,function(e){var t=uR.createBindingElement(void 0,void 0,v3(e),uF(e)&&u(e)?uR.createArrayLiteralExpression():e.initializer);iZ(t),e.initializer&&t.initializer&&cZ(e.initializer,t.initializer);return t}),o=uR.createObjectBindingPattern(r),r=function(e){e=iD(e,c);return Cy(uR.createTypeLiteralNode(e),1)}(t);XN(t,u)&&(s=uR.createObjectLiteralExpression());r=uR.createParameterDeclaration(void 0,void 0,o,void 0,r,s);if(p3(e.parameters)){var s=e.parameters[0],e=uR.createParameterDeclaration(void 0,void 0,s.name,void 0,s.type);return iZ(e.name),cZ(s.name,e.name),s.type&&(iZ(e.type),cZ(s.type,e.type)),uR.createNodeArray([e,r])}return uR.createNodeArray([r]);function c(e){var t,r=e.type;r||!e.initializer&&!uF(e)||(t=e,r=SZ(i.getTypeAtLocation(t),t,n,a));r=uR.createPropertySignature(void 0,v3(e),u(e)?uR.createToken(58):e.questionToken,r);return iZ(r),cZ(e.name,r.name),e.type&&r.type&&cZ(e.type,r.type),r}function u(e){if(uF(e)){var t=i.getTypeAtLocation(e);return!i.isTupleType(t)}return i.isOptionalParameter(e)}}function v3(e){return AO(e.name)}var g3,h3,x3,b3,k3,T3=e({"src/services/refactors/convertParamsToDestructuredObject.ts":function(){fpe(),j4(),Y6="Convert parameters to destructured object",Z6=1,$6=vp(mA.Convert_parameters_to_destructured_object),Q1(Y6,{kinds:[(e3={name:Y6,description:$6,kind:"refactor.rewrite.parameters.toDestructured"}).kind],getEditsForAction:i3,getAvailableActions:a3})}}),S3={},w3=e({"src/services/_namespaces/ts.refactor.convertParamsToDestructuredObject.ts":function(){T3()}});function C3(e){var t=A3(N3(e.file,e.startPosition)),r={name:g3,description:h3,actions:[]};return mj(t)&&E3(t).isValidConcatenation?(r.actions.push(x3),[r]):e.preferences.provideRefactorNotApplicableReason?(r.actions.push(__assign(__assign({},x3),{notApplicableReason:vp(mA.Can_only_convert_string_concatenation)})),[r]):WN}function N3(e,t){e=QX(e,t),t=A3(e);return!E3(t).isValidConcatenation&&uj(t.parent)&&mj(t.parent.parent)?t.parent.parent:e}function D3(e,t){var r=N3(e.file,e.startPosition);return t!==h3?rA.fail("invalid action"):{edits:function(e,t){var r=A3(t),n=e.file,a=function(e,t){var c=e.nodes,r=e.operators,u=b3(r,t),_=k3(c,t,u),n=__read(P3(0,c),4),a=n[0],e=n[1],r=n[2],t=n[3];if(a===c.length){n=uR.createNoSubstitutionTemplateLiteral(e,r);return _(t,n),n}var l=[],r=uR.createTemplateHead(e,r);_(t,r);for(var d,i=function(e){var a=function(e){uj(e)&&(I3(e),e=e.expression);return e}(c[e]);u(e,a);var t,r=__read(P3(e+1,c),4),n=r[0],i=r[1],o=r[2],r=r[3],s=(e=n-1)===c.length-1;Ig(a)?(t=iD(a.templateSpans,function(e,t){I3(e);var r=t===a.templateSpans.length-1,n=e.literal.text+(r?i:""),t=F3(e.literal)+(r?o:"");return uR.createTemplateSpan(e.expression,s&&r?uR.createTemplateTail(n,t):uR.createTemplateMiddle(n,t))}),l.push.apply(l,__spreadArray([],__read(t),!1))):(t=s?uR.createTemplateTail(i,o):uR.createTemplateMiddle(i,o),_(r,t),l.push(uR.createTemplateSpan(a,t))),d=e},o=a;o<c.length;o++)i(o),o=d;return uR.createTemplateExpression(r,l)}(E3(r),n),i=eo(n.text,r.end);{if(i){var t=i[i.length-1],o={pos:i[0].pos,end:t.end};return ode.ChangeTracker.with(e,function(e){e.deleteRange(n,o),e.replaceNode(n,r,a)})}return ode.ChangeTracker.with(e,function(e){return e.replaceNode(n,r,a)})}}(e,r)}}function A3(e){return FA(e.parent,function(e){switch(e.kind){case 211:case 212:return!1;case 228:case 226:return!(mj(e.parent)&&(64!==(t=e.parent).operatorToken.kind&&65!==t.operatorToken.kind));default:return"quit"}var t})||e}function E3(e){var i=function(e){if(!mj(e))return{nodes:[e],operators:[],validOperators:!0,hasString:hR(e)||Hv(e)};var t=i(e.left),r=t.nodes,n=t.operators,a=t.hasString,t=t.validOperators;if(!(a||hR(e.right)||Ig(e.right)))return{nodes:[e],operators:[],hasString:!1,validOperators:!0};a=40===e.operatorToken.kind,a=t&&a;return r.push(e.right),n.push(e.operatorToken),{nodes:r,operators:n,hasString:!0,validOperators:a}},t=i(e),r=t.nodes,n=t.operators,e=t.validOperators,t=t.hasString;return{nodes:r,operators:n,isValidConcatenation:e&&t}}function F3(e){var t=Kv(e)||Gv(e)?-2:-1;return PF(e).slice(1,t)}function P3(e,t){for(var r=[],n="",a="";e<t.length;){var i=t[e];if(!oF(i)){if(Ig(i)){n+=i.head.text,a+=F3(i.head);break}break}n+=i.text,a+=PF(i).slice(1,-1).replace(/\\.|[$`]/g,function(e){return"\\"===e[0]?e:"\\"+e}),r.push(e),e++}return[e,n,a,r]}function I3(e){var t=e.getSourceFile();pZ(e,e.expression,t,3,!1),mZ(e.expression,e.expression,t,3,!1)}var O3,L3,M3,R3=e({"src/services/refactors/convertStringOrTemplateLiteral.ts":function(){fpe(),j4(),g3="Convert to template string",h3=vp(mA.Convert_to_template_string),Q1(g3,{kinds:[(x3={name:g3,description:h3,kind:"refactor.rewrite.string"}).kind],getEditsForAction:D3,getAvailableActions:C3}),b3=function(r,n){return function(e,t){e<r.length&&pZ(r[e],t,n,3,!1)}},k3=function(n,a,i){return function(e,t){for(;0<e.length;){var r=e.shift();pZ(n[r],t,a,3,!1),i(r,t)}}}}}),j3={},B3=e({"src/services/_namespaces/ts.refactor.convertStringOrTemplateLiteral.ts":function(){R3()}});function J3(e){var t=q3(e,"invoked"===e.triggerReason);return t?S2(t)?e.preferences.provideRefactorNotApplicableReason?[{name:O3,description:L3,actions:[__assign(__assign({},M3),{notApplicableReason:t.error})]}]:WN:[{name:O3,description:L3,actions:[M3]}]:WN}function z3(s,e){var c=q3(s);return rA.assert(c&&!S2(c),"Expected applicable refactor info"),{edits:ode.ChangeTracker.with(s,function(e){return t=s.file,r=s.program.getTypeChecker(),n=e,i=(a=c).finalExpression,o=a.occurrences,e=a.expression,a=o[o.length-1],void((o=function e(t,r,n){if(aj(r)||ij(r)||oj(r)){var a=e(t,r.expression,n),t=0<n.length?n[n.length-1]:void 0,t=(null==t?void 0:t.getText())===r.expression.getText();if(t&&n.pop(),oj(r))return t?uR.createCallChain(a,uR.createToken(29),r.typeArguments,r.arguments):uR.createCallChain(a,r.questionDotToken,r.typeArguments,r.arguments);if(aj(r))return t?uR.createPropertyAccessChain(a,uR.createToken(29),r.name):uR.createPropertyAccessChain(a,r.questionDotToken,r.name);if(ij(r))return t?uR.createElementAccessChain(a,uR.createToken(29),r.argumentExpression):uR.createElementAccessChain(a,r.questionDotToken,r.argumentExpression)}return r}(r,i,o))&&(aj(o)||ij(o)||oj(o))&&(mj(e)?n.replaceNodeRange(t,a,i,o):Pg(e)&&n.replaceNode(t,e,uR.createBinaryExpression(o,uR.createToken(61),e.whenFalse))));var t,r,n,a,i,o}),renameFilename:void 0,renameLocation:void 0}}function U3(e){return mj(e)||Pg(e)}function V3(e){return U3(e)||(Sj(e=e)||Kg(e)||Tj(e))}function q3(e,t){void 0===t&&(t=!0);var r=e.file,n=e.program,a=KZ(e),e=0===a.length;if(!e||t){t=QX(r,a.start),a=$X(r,a.start+a.length),a=wo(t.pos,(a&&a.end>=t.pos?a:t).getEnd()),a=e?function(e){for(;e.parent;){if(V3(e)&&!V3(e.parent))return e;e=e.parent}return}(t):function(e,t){for(;e.parent;){if(V3(e)&&0!==t.length&&e.end>=t.start+t.length)return e;e=e.parent}return}(t,a),a=a&&V3(a)?function(e){if(U3(e))return e;if(Tj(e)){var t=qI(e),t=null==t?void 0:t.initializer;return t&&U3(t)?t:void 0}return e.expression&&U3(e.expression)?e.expression:void 0}(a):void 0;if(!a)return{error:vp(mA.Could_not_find_convertible_access_expression)};n=n.getTypeChecker();return Pg(a)?function(e,t){var r=e.condition,n=G3(e.whenTrue);if(!n||t.isNullableType(t.getTypeAtLocation(n)))return{error:vp(mA.Could_not_find_convertible_access_expression)};{if((aj(r)||xR(r))&&H3(r,n.expression))return{finalExpression:n,occurrences:[r],expression:e};if(mj(r)){r=W3(n.expression,r);return r?{finalExpression:n,occurrences:r,expression:e}:{error:vp(mA.Could_not_find_matching_access_expressions)}}}}(a,n):function(e){if(56!==e.operatorToken.kind)return{error:vp(mA.Can_only_convert_logical_AND_access_chains)};var t=G3(e.right);if(!t)return{error:vp(mA.Could_not_find_convertible_access_expression)};var r=W3(t.expression,e.left);return r?{finalExpression:t,occurrences:r,expression:e}:{error:vp(mA.Could_not_find_matching_access_expressions)}}(a)}}function W3(e,t){for(var r=[];mj(t)&&56===t.operatorToken.kind;){var n=H3(oO(e),oO(t.right));if(!n)break;r.push(n),e=n,t=t.left}var a=H3(e,t);return a&&r.push(a),0<r.length?r:void 0}function H3(e,t){if(xR(t)||aj(t)||ij(t))return function(e,t){for(;(oj(e)||aj(e)||ij(e))&&K3(e)!==K3(t);)e=e.expression;for(;aj(e)&&aj(t)||ij(e)&&ij(t);){if(K3(e)!==K3(t))return!1;e=e.expression,t=t.expression}return xR(e)&&xR(t)&&e.getText()===t.getText()}(e,t)?t:void 0}function K3(e){return xR(e)||SO(e)?e.getText():aj(e)?K3(e.name):ij(e)?K3(e.argumentExpression):void 0}function G3(e){return mj(e=oO(e))?G3(e.left):(aj(e)||ij(e)||oj(e))&&!aE(e)?e:void 0}var X3,Q3,Y3,Z3,$3,e4=e({"src/services/refactors/convertToOptionalChainExpression.ts":function(){fpe(),j4(),O3="Convert to optional chain expression",L3=vp(mA.Convert_to_optional_chain_expression),Q1(O3,{kinds:[(M3={name:O3,description:L3,kind:"refactor.rewrite.expression.optionalChain"}).kind],getEditsForAction:z3,getAvailableActions:J3})}}),t4={},r4=e({"src/services/_namespaces/ts.refactor.convertToOptionalChainExpression.ts":function(){e4()}});function n4(e){var t,r,n=e.kind,a=i4(e.file,KZ(e),"invoked"===e.triggerReason),i=a.targetRange;if(void 0===i){if(!a.errors||0===a.errors.length||!e.preferences.provideRefactorNotApplicableReason)return WN;var o=[];return w2(Y3.kind,n)&&o.push({name:X3,description:Y3.description,actions:[__assign(__assign({},Y3),{notApplicableReason:k(a.errors)})]}),w2(Q3.kind,n)&&o.push({name:X3,description:Q3.description,actions:[__assign(__assign({},Q3),{notApplicableReason:k(a.errors)})]}),o}var s,c,u=(i=(o=s4(o=i,i=e)).scopes,o=o.readsAndWrites,s=o.functionErrorsPerScope,c=o.constantErrorsPerScope,i.map(function(e,t){var r,n,a=TE(r=e)?"inner function":NE(r)?"method":"function",i=NE(e)?"readonly field":"constant",o=TE(e)?function(e){switch(e.kind){case 176:return"constructor";case 218:case 262:return e.name?"function '".concat(e.name.text,"'"):UG;case 219:return"arrow function";case 174:return"method '".concat(e.name.getText(),"'");case 177:return"'get ".concat(e.name.getText(),"'");case 178:return"'set ".concat(e.name.getText(),"'");default:rA.assertNever(e,"Unexpected scope kind ".concat(e.kind))}}(e):NE(e)?263===(r=e).kind?r.name?"class '".concat(r.name.text,"'"):"anonymous class declaration":r.name?"class expression '".concat(r.name.text,"'"):"anonymous class expression":268===(o=e).kind?"namespace '".concat(o.parent.name.getText(),"'"):o.externalModuleIndicator?0:1,o=1===o?(n=pp(vp(mA.Extract_to_0_in_1_scope),[a,"global"]),pp(vp(mA.Extract_to_0_in_1_scope),[i,"global"])):0===o?(n=pp(vp(mA.Extract_to_0_in_1_scope),[a,"module"]),pp(vp(mA.Extract_to_0_in_1_scope),[i,"module"])):(n=pp(vp(mA.Extract_to_0_in_1),[a,o]),pp(vp(mA.Extract_to_0_in_1),[i,o]));return 0!==t||NE(e)||(o=pp(vp(mA.Extract_to_0_in_enclosing_scope),[i])),{functionExtraction:{description:n,errors:s[t]},constantExtraction:{description:o,errors:c[t]}}}));if(void 0===u)return WN;var _,l,d=[],f=new Map,p=[],m=new Map,y=0;try{for(var v=__values(u),g=v.next();!g.done;g=v.next()){var h,x=g.value,b=x.functionExtraction,x=x.constantExtraction;w2(Y3.kind,n)&&(h=b.description,0===b.errors.length?f.has(h)||(f.set(h,!0),d.push({description:h,name:"function_scope_".concat(y),kind:Y3.kind})):_=_||{description:h,name:"function_scope_".concat(y),notApplicableReason:k(b.errors),kind:Y3.kind}),w2(Q3.kind,n)&&(h=x.description,0===x.errors.length?m.has(h)||(m.set(h,!0),p.push({description:h,name:"constant_scope_".concat(y),kind:Q3.kind})):l=l||{description:h,name:"constant_scope_".concat(y),notApplicableReason:k(x.errors),kind:Q3.kind}),y++}}catch(e){t={error:e}}finally{try{g&&!g.done&&(r=v.return)&&r.call(v)}finally{if(t)throw t.error}}i=[];return d.length?i.push({name:X3,description:vp(mA.Extract_function),actions:d}):e.preferences.provideRefactorNotApplicableReason&&_&&i.push({name:X3,description:vp(mA.Extract_function),actions:[_]}),p.length?i.push({name:X3,description:vp(mA.Extract_constant),actions:p}):e.preferences.provideRefactorNotApplicableReason&&l&&i.push({name:X3,description:vp(mA.Extract_constant),actions:[l]}),i.length?i:WN;function k(e){e=e[0].messageText;return"string"!=typeof e&&(e=e.messageText),e}}function a4(e,t){var r,n,a,i=i4(e.file,KZ(e)).targetRange,o=/^function_scope_(\d+)$/.exec(t);if(o){var s=+o[1];return rA.assert(isFinite(s),"Expected to parse a finite number from the function scope index"),l=s,r=s4(c=i,u=e),n=r.scopes,_=r.readsAndWrites,a=_.target,o=_.usagesPerScope,r=_.functionErrorsPerScope,_=_.exposedVariableDeclarations,rA.assert(!r[l].length,"The extraction went missing? How?"),u.cancellationToken.throwIfCancellationRequested(),function(e,n,t,r,a,i){var o,s,c,u,_,l=t.usages,d=t.typeParameterUsages,f=t.substitutions,p=i.program.getTypeChecker(),m=rM(i.program.getCompilerOptions()),y=Roe.createImportAdder(i.file,i.program,i.preferences,i.host),v=n.getSourceFile(),g=lZ(NE(n)?"newMethod":"newFunction",v),h=cI(n),x=uR.createIdentifier(g),b=[],k=[];l.forEach(function(e,t){h||(r=p.getTypeOfSymbolAtLocation(e.symbol,e.node),r=p.getBaseTypeOfLiteralType(r),r=Roe.typeToAutoImportableTypeNode(p,y,r,n,m,1));var r=uR.createParameterDeclaration(void 0,void 0,t,void 0,r);b.push(r),2===e.usage&&(_=_||[]).push(e),k.push(uR.createIdentifier(t))});t=PD(d.values(),function(e){return{type:e,declaration:function(e,t){var r,n,a,i=e.symbol;if(i&&i.declarations)try{for(var o=__values(i.declarations),s=o.next();!s.done;s=o.next()){var c=s.value;(void 0===a||c.pos<a.pos)&&c.pos<t&&(a=c)}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a}(e,i.startPosition)}}).sort(c4),v=0===t.length?void 0:uD(t,function(e){return e.declaration}),l=void 0!==v?v.map(function(e){return uR.createTypeReferenceNode(e.name,void 0)}):void 0;jE(e)&&!h&&(T=p.getContextualType(e),M=p.typeToTypeNode(T,n,1));var d=function(e,a,i,o,t){var s,c=void 0!==i||0<a.length;if(kj(e)&&!c&&0===o.size)return{body:uR.createBlock(e.statements,!0),returnValueProperty:void 0};var u=!1,r=uR.createNodeArray(kj(e)?e.statements.slice(0):[XE(e)?e:uR.createReturnStatement(oO(e))]);{if(c||o.size){var n=SJ(r,function e(t){{if(!u&&Kg(t)&&c){var r=u4(a,i);return t.expression&&(s=s||"__return",r.unshift(uR.createPropertyAssignment(s,TJ(t.expression,e,jE)))),1===r.length?uR.createReturnStatement(r[0].name):uR.createReturnStatement(uR.createObjectLiteralExpression(r))}var n=u;u=u||TE(t)||NE(t);var r=o.get(mJ(t).toString()),t=r?eZ(r):wJ(t,e,iU);return u=n,t}},XE).slice();return c&&!t&&XE(e)&&(1===(e=u4(a,i)).length?n.push(uR.createReturnStatement(e[0].name)):n.push(uR.createReturnStatement(uR.createObjectLiteralExpression(e)))),{body:uR.createBlock(n,!0),returnValueProperty:s}}return{body:uR.createBlock(r,!0),returnValueProperty:void 0}}}(e,r,_,f,!!(1&a.facts)),t=d.body,T=d.returnValueProperty;iZ(t);f=!!(16&a.facts);x=NE(n)?(d=h?[]:[uR.createModifier(123)],32&a.facts&&d.push(uR.createModifier(126)),4&a.facts&&d.push(uR.createModifier(134)),uR.createMethodDeclaration(d.length?d:void 0,2&a.facts?uR.createToken(42):void 0,x,void 0,v,b,M,t)):(f&&b.unshift(uR.createParameterDeclaration(void 0,void 0,"this",void 0,p.typeToTypeNode(p.getTypeAtLocation(a.thisNode),n,1),void 0)),uR.createFunctionDeclaration(4&a.facts?[uR.createToken(134)]:void 0,2&a.facts?uR.createToken(42):void 0,x,v,b,M,t));v=ode.ChangeTracker.fromContext(i),t=function(t,e){return QN(function(e){if(TE(e)){var t=e.body;if(kj(t))return t.statements}else{if(Rj(e)||uB(e))return e.statements;if(NE(e))return e.members}return WN}(e),function(e){return e.pos>=t&&TE(e)&&!IR(e)})}((_4(a.range)?ND(a.range):a.range).end,n);t?v.insertNodeBefore(i.file,t,x,!0):v.insertNodeAtEndOfScope(i.file,n,x);y.writeFixes(v);var S=[],x=function(e,t,r){r=uR.createIdentifier(r);{if(NE(e)){e=32&t.facts?uR.createIdentifier(e.name.text):uR.createThis();return uR.createPropertyAccessExpression(e,r)}return r}}(n,a,g);f&&k.unshift(uR.createIdentifier("this"));l=uR.createCallExpression(f?uR.createPropertyAccessExpression(x,"call"):x,l,k);2&a.facts&&(l=uR.createYieldExpression(uR.createToken(42),l));4&a.facts&&(l=uR.createAwaitExpression(l));f4(e)&&(l=uR.createJsxExpression(void 0,l));if(r.length&&!_)if(rA.assert(!T,"Expected no returnValueProperty"),rA.assert(!(1&a.facts),"Expected RangeFacts.HasReturn flag to be unset"),1===r.length){var w=r[0];S.push(uR.createVariableStatement(void 0,uR.createVariableDeclarationList([uR.createVariableDeclaration(eZ(w.name),void 0,eZ(w.type),l)],w.parent.flags)))}else{var C=[],N=[],D=r[0].parent.flags,A=!1;try{for(var E=__values(r),F=E.next();!F.done;F=E.next()){w=F.value;C.push(uR.createBindingElement(void 0,void 0,eZ(w.name)));var P=p.typeToTypeNode(p.getBaseTypeOfLiteralType(p.getTypeAtLocation(w)),n,1);N.push(uR.createPropertySignature(void 0,w.symbol.name,void 0,P)),A=A||void 0!==w.type,D&=w.parent.flags}}catch(e){o={error:e}}finally{try{F&&!F.done&&(s=E.return)&&s.call(E)}finally{if(o)throw o.error}}e=A?uR.createTypeLiteralNode(N):void 0;e&&lR(e,1),S.push(uR.createVariableStatement(void 0,uR.createVariableDeclarationList([uR.createVariableDeclaration(uR.createObjectBindingPattern(C),void 0,e,l)],D)))}else if(r.length||_){if(r.length)try{for(var I=__values(r),O=I.next();!O.done;O=I.next()){var L=(w=O.value).parent.flags;2&L&&(L=-3&L|1),S.push(uR.createVariableStatement(void 0,uR.createVariableDeclarationList([uR.createVariableDeclaration(w.symbol.name,void 0,R(w.type))],L)))}}catch(e){c={error:e}}finally{try{O&&!O.done&&(u=I.return)&&u.call(I)}finally{if(c)throw c.error}}T&&S.push(uR.createVariableStatement(void 0,uR.createVariableDeclarationList([uR.createVariableDeclaration(T,void 0,R(M))],1)));var M=u4(r,_);T&&M.unshift(uR.createShorthandPropertyAssignment(T)),1===M.length?(rA.assert(!T,"Shouldn't have returnValueProperty here"),S.push(uR.createExpressionStatement(uR.createAssignment(M[0].name,l))),1&a.facts&&S.push(uR.createReturnStatement())):(S.push(uR.createExpressionStatement(uR.createAssignment(uR.createObjectLiteralExpression(M),l))),T&&S.push(uR.createReturnStatement(uR.createIdentifier(T))))}else 1&a.facts?S.push(uR.createReturnStatement(l)):_4(a.range)?S.push(uR.createExpressionStatement(l)):S.push(l);_4(a.range)?v.replaceNodeRangeWithNodes(i.file,SD(a.range),ND(a.range),S):v.replaceNodeWithNodes(i.file,a.range,S);v=v.getChanges(),a=(_4(a.range)?SD(a.range):a.range).getSourceFile().fileName,g=dZ(v,a,g,!1);return{renameFilename:a,renameLocation:g,edits:v};function R(e){if(void 0!==e){for(var e=eZ(e),t=e;GR(t);)t=t.type;return xg(t)&&QN(t.types,function(e){return 157===e.kind})?e:uR.createUnionTypeNode([e,uR.createKeywordTypeNode(157)])}}}(a,n[l],o[l],_,c,u)}var c,u,_,l=/^constant_scope_(\d+)$/.exec(t);if(l){var s=+l[1];return rA.assert(isFinite(s),"Expected to parse a finite number from the constant scope index"),_=s,t=s4(c=i,u=e),l=t.scopes,s=t.readsAndWrites,i=s.target,e=s.usagesPerScope,t=s.constantErrorsPerScope,s=s.exposedVariableDeclarations,rA.assert(!t[_].length,"The extraction went missing? How?"),rA.assert(0===s.length,"Extract constant accepted a range containing a variable declaration?"),u.cancellationToken.throwIfCancellationRequested(),function(d,f,e,t,r){var n=e.substitutions,p=r.program.getTypeChecker(),a=f.getSourceFile(),i=!aj(d)||NE(f)||p.resolveName(d.name.text,d,111551,!1)||bR(d.name)||MA(d.name)?lZ(NE(f)?"newProperty":"newLocal",a):d.name.text,o=cI(f),e=o||!p.isContextSensitive(d)?void 0:p.typeToTypeNode(p.getContextualType(d),f,1),a=function(e,n){return n.size?function e(t){var r=n.get(mJ(t).toString());return r?eZ(r):wJ(t,e,iU)}(e):e}(oO(d),n);n=function(e,t){var r,n;if(void 0===e)return{variableType:e,initializer:t};if(!_j(t)&&!lj(t)||t.typeParameters)return{variableType:e,initializer:t};var a=p.getTypeAtLocation(d),i=pa(p.getSignaturesOfType(a,0));if(!i)return{variableType:e,initializer:t};if(i.getTypeParameters())return{variableType:e,initializer:t};var o=[],s=!1;try{for(var c=__values(t.parameters),u=c.next();!u.done;u=c.next()){var _,l=u.value;l.type?o.push(l):((_=p.getTypeAtLocation(l))===p.getAnyType()&&(s=!0),o.push(uR.updateParameterDeclaration(l,l.modifiers,l.dotDotDotToken,l.name,l.questionToken,l.type||p.typeToTypeNode(_,f,1),l.initializer)))}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}if(s)return{variableType:e,initializer:t};e=void 0,t=lj(t)?uR.updateArrowFunction(t,VB(d)?UA(d):void 0,t.typeParameters,o,t.type||p.typeToTypeNode(i.getReturnType(),f,1),t.equalsGreaterThanToken,t.body):(i&&i.thisParameter&&((!(a=kD(o))||xR(a.name)&&"this"!==a.name.escapedText)&&(a=p.getTypeOfSymbolAtLocation(i.thisParameter,d),o.splice(0,0,uR.createParameterDeclaration(void 0,void 0,"this",void 0,p.typeToTypeNode(a,f,1))))),uR.updateFunctionExpression(t,VB(d)?UA(d):void 0,t.asteriskToken,t.name,t.typeParameters,o,t.type||p.typeToTypeNode(i.getReturnType(),f,1),t.body));return{variableType:e,initializer:t}}(e,a),e=n.variableType,iZ(a=n.initializer);n=ode.ChangeTracker.fromContext(r);{var s,c;NE(f)?(rA.assert(!o,"Cannot extract to a JS class"),(c=[]).push(uR.createModifier(123)),32&t&&c.push(uR.createModifier(126)),c.push(uR.createModifier(148)),o=uR.createPropertyDeclaration(c,i,void 0,e,a),u=uR.createPropertyAccessExpression(32&t?uR.createIdentifier(f.name.getText()):uR.createThis(),uR.createIdentifier(i)),f4(d)&&(u=uR.createJsxExpression(void 0,u)),c=function(e,t){var r,n,a,i=t.members;rA.assert(0<i.length,"Found no members");var o=!0;try{for(var s=__values(i),c=s.next();!c.done;c=s.next()){var u=c.value;if(u.pos>e)return a||i[0];if(o&&!AR(u)){if(void 0!==a)return u;o=!1}a=u}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return void 0===a?rA.fail():a}(d.pos,f),n.insertNodeBefore(r.file,c,o,!0),n.replaceNode(r.file,d,u)):(e=uR.createVariableDeclaration(i,void 0,e,a),(a=function(e,t){var r;for(;void 0!==e&&e!==t;){if(Aj(e)&&e.initializer===r&&Ej(e.parent)&&1<e.parent.declarations.length)return e;e=(r=e).parent}}(d,f))?(n.insertNodeBefore(r.file,a,e),u=uR.createIdentifier(i),n.replaceNode(r.file,d,u)):244===d.parent.kind&&f===FA(d,o4)?(s=uR.createVariableStatement(void 0,uR.createVariableDeclarationList([e],2)),n.replaceNode(r.file,d.parent,s)):(s=uR.createVariableStatement(void 0,uR.createVariableDeclarationList([e],2)),0===(c=function(e,t){var r,n,a;rA.assert(!NE(t));for(var i=e;i!==t;i=i.parent)o4(i)&&(a=i);for(i=(a||e).parent;;i=i.parent){if(d4(i)){var o=void 0;try{for(var s=(r=void 0,__values(i.statements)),c=s.next();!c.done;c=s.next()){var u=c.value;if(u.pos>e.pos)break;o=u}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return!o&&fh(i)?(rA.assert(Xg(i.parent.parent),"Grandparent isn't a switch statement"),i.parent.parent):rA.checkDefined(o,"prevStatement failed to get set")}rA.assert(i!==t,"Didn't encounter a block-like before encountering scope")}}(d,f)).pos?n.insertNodeAtTopOfFile(r.file,s,!1):n.insertNodeBefore(r.file,c,s,!1),244===d.parent.kind?n.delete(r.file,d.parent):(u=uR.createIdentifier(i),f4(d)&&(u=uR.createJsxExpression(void 0,u)),n.replaceNode(r.file,d,u))))}var u=n.getChanges(),n=d.getSourceFile().fileName,i=dZ(u,n,i,!0);return{renameFilename:n,renameLocation:i,edits:u}}(jE(i)?i:i.statements[0].expression,l[_],e[_],c.facts,u)}rA.fail("Unrecognized action name")}function i4(e,c,t){var r,n;void 0===t&&(t=!0);var a=c.length;if(0===a&&!t)return{errors:[QL(e,c.start,a,Z3.cannotExtractEmpty)]};var u,i=0===a&&t,o=ZX(e,c.start),s=$X(e,TA(c)),t=o&&s&&t?function(e,t,r){e=e.getStart(r),t=t.getEnd();59===r.text.charCodeAt(t)&&t++;return{start:e,length:t-e}}(o,s,e):c,_=i?FA(o,function(e){return e.parent&&l4(e)&&!mj(e.parent)}):dY(o,e,t),l=i?_:dY(s,e,t),d=0;if(!_||!l)return{errors:[QL(e,c.start,a,Z3.cannotExtractRange)]};if(16777216&_.flags)return{errors:[QL(e,c.start,a,Z3.cannotExtractJSDoc)]};if(_.parent!==l.parent)return{errors:[QL(e,c.start,a,Z3.cannotExtractRange)]};if(_!==l){if(!d4(_.parent))return{errors:[QL(e,c.start,a,Z3.cannotExtractRange)]};var f=[];try{for(var p=__values(_.parent.statements),m=p.next();!m.done;m=p.next()){var y=m.value;if(y===_||f.length){var v=g(y);if(v)return{errors:v};f.push(y)}if(y===l)break}}catch(e){r={error:e}}finally{try{m&&!m.done&&(n=p.return)&&n.call(p)}finally{if(r)throw r.error}}return f.length?{targetRange:{range:f,facts:d,thisNode:u}}:{errors:[QL(e,c.start,a,Z3.cannotExtractRange)]}}if(Kg(_)&&!_.expression)return{errors:[QL(e,c.start,a,Z3.cannotExtractRange)]};e=function(e){var t,r;if(Kg(e)){if(e.expression)return e.expression}else if(Tj(e)||Ej(e)){var n=(Tj(e)?e.declarationList:e).declarations,a=0,i=void 0;try{for(var o=__values(n),s=o.next();!s.done;s=o.next()){var c=s.value;c.initializer&&(a++,i=c.initializer)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}if(1===a)return i}else if(Aj(e)&&e.initializer)return e.initializer;return e}(_),a=function(e){if(xR(Sj(e)?e.expression:e))return[tP(e,Z3.cannotExtractIdentifier)];return}(e)||g(e);return a?{errors:a}:{targetRange:{range:function(e){if(XE(e))return[e];if($P(e))return Sj(e.parent)?[e.parent]:e;if(p4(e))return e;return}(e),facts:d,thisNode:u}};function g(r){if((e={})[e.None=0]="None",e[e.Break=1]="Break",e[e.Continue=2]="Continue",e[e.Return=4]="Return",rA.assert(r.pos<=r.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (1)"),rA.assert(!hm(r.pos),"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (2)"),!(XE(r)||$P(r)&&l4(r)||p4(r)))return[tP(r,Z3.statementOrExpressionExpected)];if(33554432&r.flags)return[tP(r,Z3.cannotExtractAmbientBlock)];var i,e=IP(r);e&&function(e){for(var t=r;t!==e;){if(172===t.kind){lL(t)&&(d|=32);break}if(169===t.kind){176===PP(t).kind&&(d|=32);break}174===t.kind&&lL(t)&&(d|=32),t=t.parent}}(e);var o,s=4;return function e(r){if(i)return!0;if(GE(r)){var t=260===r.kind?r.parent.parent:r;if(_L(t,1))return(i=i||[]).push(tP(r,Z3.cannotExtractExportedEntity)),!0}switch(r.kind){case 272:return(i=i||[]).push(tP(r,Z3.cannotExtractImport)),!0;case 277:return(i=i||[]).push(tP(r,Z3.cannotExtractExportedEntity)),!0;case 108:if(213===r.parent.kind){var n=IP(r);if(void 0===n||n.pos<c.start||n.end>=c.start+c.length)return(i=i||[]).push(tP(r,Z3.cannotExtractSuper)),!0}else d|=8,u=r;break;case 219:HB(r,function e(t){if(bX(t))d|=8,u=r;else{if(NE(t)||bE(t)&&!lj(t))return!1;HB(t,e)}});case 263:case 262:uB(r.parent)&&void 0===r.parent.externalModuleIndicator&&(i=i||[]).push(tP(r,Z3.functionWillNotBeVisibleInTheNewScope));case 231:case 218:case 174:case 176:case 177:case 178:return!1}var t=s;switch(r.kind){case 245:s&=-5;break;case 258:s=0;break;case 241:r.parent&&258===r.parent.kind&&r.parent.finallyBlock===r&&(s=4);break;case 297:case 296:s|=1;break;default:JE(r,!1)&&(s|=3)}switch(r.kind){case 197:case 110:d|=8,u=r;break;case 256:var a=r.label;(o=o||[]).push(a.escapedText),HB(r,e),o.pop();break;case 252:case 251:var a=r.label;a?eD(o,a.escapedText)||(i=i||[]).push(tP(r,Z3.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange)):s&(252===r.kind?1:2)||(i=i||[]).push(tP(r,Z3.cannotExtractRangeContainingConditionalBreakOrContinueStatements));break;case 223:d|=4;break;case 229:d|=2;break;case 253:4&s?d|=1:(i=i||[]).push(tP(r,Z3.cannotExtractRangeContainingConditionalReturnStatement));break;default:HB(r,e)}s=t}(r),8&d&&((262===(e=RP(r,!1,!1)).kind||174===e.kind&&210===e.parent.kind||218===e.kind)&&(d|=16)),i}}function o4(e){return lj(e)?pc(e.body):TE(e)||uB(e)||Rj(e)||NE(e)}function s4(e,t){var r=t.file,n=function(e){var t=_4(e.range)?SD(e.range):e.range;if(8&e.facts&&!(16&e.facts)){var r=IP(t);if(r){e=FA(t,TE);return e?[e,r]:[r]}}for(var n=[];;)if(t=t.parent,169===t.kind&&(t=FA(t,TE).parent),o4(t)&&(n.push(t),312===t.kind))return n}(e);return{scopes:n,readsAndWrites:function(k,T,S,w,C,s){var t,e,r,n,i,a,c=new Map,N=[],D=[],A=[],E=[],o=[],u=new Map,_=[],l=_4(k.range)?1===k.range.length&&Sj(k.range[0])?k.range[0].expression:void 0:k.range;{var d;void 0===l?(d=k.range,v=SD(d).getStart(),d=ND(d).end,a=QL(w,v,d-v,Z3.expressionExpected)):147456&C.getTypeAtLocation(l).flags&&(a=tP(l,Z3.uselessConstantType))}try{for(var f=__values(T),p=f.next();!p.done;p=f.next()){var m=p.value;N.push({usages:new Map,typeParameterUsages:new Map,substitutions:new Map}),D.push(new Map),A.push([]);var y=[];a&&y.push(a),NE(m)&&cI(m)&&y.push(tP(m,Z3.cannotExtractToJSClass)),lj(m)&&!kj(m.body)&&y.push(tP(m,Z3.cannotExtractToExpressionArrowFunction)),E.push(y)}}catch(e){t={error:e}}finally{try{p&&!p.done&&(e=f.return)&&e.call(f)}finally{if(t)throw t.error}}var F=new Map,v=_4(k.range)?uR.createBlock(k.range):k.range,l=_4(k.range)?SD(k.range):k.range,g=function(e){return!!FA(e,function(e){return w_(e)&&0!==eE(e).length})}(l);(function e(t,r){void 0===r&&(r=1);g&&M(C.getTypeAtLocation(t));GE(t)&&t.symbol&&o.push(t);NL(t)?(e(t.left,2),e(t.right)):uc(t)?e(t.operand,2):!aj(t)&&!ij(t)&&xR(t)?t.parent&&(TR(t.parent)&&t!==t.parent.left||aj(t.parent)&&t!==t.parent.expression||R(t,r,vP(t))):HB(t,e)})(v),!g||_4(k.range)||$j(k.range)||M(C.getContextualType(k.range));if(0<c.size){for(var h=new Map,x=0,b=l;void 0!==b&&x<T.length;b=b.parent)if(b===T[x]&&(h.forEach(function(e,t){N[x].typeParameterUsages.set(t,e)}),x++),w_(b))try{for(var P=(r=void 0,__values(eE(b))),I=P.next();!I.done;I=P.next()){var O=I.value,O=C.getTypeAtLocation(O);c.has(O.id.toString())&&h.set(O.id.toString(),O)}}catch(e){r={error:e}}finally{try{I&&!I.done&&(n=P.return)&&n.call(P)}finally{if(r)throw r.error}}rA.assert(x===T.length,"Should have iterated all scopes")}o.length&&HB(S_(T[0],T[0].parent)?T[0]:GF(T[0]),function e(t){if(t===k.range||_4(k.range)&&0<=k.range.indexOf(t))return;var r=xR(t)?j(t):C.getSymbolAtLocation(t);{var n,a;!r||(n=QN(o,function(e){return e.symbol===r}))&&(Aj(n)?(a=n.symbol.id.toString(),u.has(a)||(_.push(n),u.set(a,!0))):i=i||n)}HB(t,e)});for(var L=0;L<T.length;L++)!function(e){var t=N[e];0<e&&(0<t.usages.size||0<t.typeParameterUsages.size)&&(t=_4(k.range)?k.range[0]:k.range,E[e].push(tP(t,Z3.cannotAccessVariablesFromNestedScopes))),16&k.facts&&NE(T[e])&&A[e].push(tP(k.thisNode,Z3.cannotExtractFunctionsContainingThisToMethod));var r,n,a=!1;N[e].usages.forEach(function(e){2===e.usage&&(a=!0,106500&e.symbol.flags&&e.symbol.valueDeclaration&&uL(e.symbol.valueDeclaration,64)&&(r=e.symbol.valueDeclaration))}),rA.assert(_4(k.range)||0===_.length,"No variable declarations expected if something was extracted"),a&&!_4(k.range)?(n=tP(k.range,Z3.cannotWriteInExpression),A[e].push(n),E[e].push(n)):r&&0<e?(n=tP(r,Z3.cannotExtractReadonlyPropertyInitializerOutsideConstructor),A[e].push(n),E[e].push(n)):i&&(n=tP(i,Z3.cannotExtractExportedEntity),A[e].push(n),E[e].push(n))}(L);return{target:v,usagesPerScope:N,functionErrorsPerScope:A,constantErrorsPerScope:E,exposedVariableDeclarations:_};function M(e){var t,r,n=C.getSymbolWalker(function(){return s.throwIfCancellationRequested(),!0}).walkType(e).visitedTypes;try{for(var a=__values(n),i=a.next();!i.done;i=a.next()){var o=i.value;o.isTypeParameter()&&c.set(o.id.toString(),o)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}function R(e,t,r){var n=function(e,t,r){var n,a,i,o,s,c,u=j(e);if(!u)return;var _=yJ(u).toString(),l=F.get(_);if(l&&t<=l)return _;if(F.set(_,t),l){try{for(var d=__values(N),f=d.next();!f.done;f=d.next()){var p=f.value;p.usages.get(e.text)&&p.usages.set(e.text,{usage:t,symbol:u,node:e})}}catch(e){n={error:e}}finally{try{f&&!f.done&&(a=d.return)&&a.call(d)}finally{if(n)throw n.error}}return _}l=u.getDeclarations(),l=l&&QN(l,function(e){return e.getSourceFile()===w});if(!l)return;if(DX(S,l.getStart(),l.end))return;if(2&k.facts&&2===t){var m=tP(e,Z3.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators);try{for(var y=__values(A),v=y.next();!v.done;v=y.next())v.value.push(m)}catch(e){i={error:e}}finally{try{v&&!v.done&&(o=y.return)&&o.call(y)}finally{if(i)throw i.error}}try{for(var g=__values(E),h=g.next();!h.done;h=g.next())h.value.push(m)}catch(e){s={error:e}}finally{try{h&&!h.done&&(c=g.return)&&c.call(g)}finally{if(s)throw s.error}}}for(var x=0;x<T.length;x++){var b=T[x];C.resolveName(u.name,b,u.flags,!1)!==u&&(D[x].has(_)||((b=function e(t,r,n){if(!t)return;var a=t.getDeclarations();if(a&&a.some(function(e){return e.parent===r}))return uR.createIdentifier(t.name);var a=e(t.parent,r,n);if(void 0===a)return;return n?uR.createQualifiedName(a,uR.createIdentifier(t.name)):uR.createPropertyAccessExpression(a,t.name)}(u.exportSymbol||u,b,r))?D[x].set(_,b):r?262144&u.flags||(m=tP(e,Z3.typeWillNotBeVisibleInTheNewScope),A[x].push(m),E[x].push(m)):N[x].usages.set(e.text,{usage:t,symbol:u,node:e})))}return _}(e,t,r);if(n)for(var a=0;a<T.length;a++){var i=D[a].get(n);i&&N[a].substitutions.set(mJ(e).toString(),i)}}function j(e){return e.parent&&oB(e.parent)&&e.parent.name===e?C.getShorthandAssignmentValueSymbol(e.parent):C.getSymbolAtLocation(e)}}(e,n,(n=r,_4((e=e).range)?{pos:SD(e.range).getStart(n),end:ND(e.range).getEnd()}:e.range),r,t.program.getTypeChecker(),t.cancellationToken)}}function c4(e,t){var r=e.type,n=e.declaration,e=t.type;return Te(n,t.declaration,"pos",UD)||ge(r.symbol?r.symbol.getName():"",e.symbol?e.symbol.getName():"")||UD(r.id,e.id)}function u4(e,t){e=iD(e,function(e){return uR.createShorthandPropertyAssignment(e.symbol.name)}),t=iD(t,function(e){return uR.createShorthandPropertyAssignment(e.symbol.name)});return void 0===e?t:void 0===t?e:e.concat(t)}function _4(e){return RD(e)}function l4(e){var t=e.parent;if(306===t.kind)return!1;switch(e.kind){case 11:return 272!==t.kind&&276!==t.kind;case 230:case 206:case 208:return!1;case 80:return 208!==t.kind&&276!==t.kind&&281!==t.kind}return!0}function d4(e){switch(e.kind){case 241:case 312:case 268:case 296:return 1;default:return}}function f4(e){return p4(e)||(Xj(e)||Qj(e)||_h(e))&&(Xj(e.parent)||_h(e.parent))}function p4(e){return hR(e)&&e.parent&&$j(e.parent)}var m4=e({"src/services/refactors/extractSymbol.ts":function(){function e(e){return{message:e,code:0,category:3,key:e}}var t;fpe(),j4(),X3="Extract Symbol",Q3={name:"Extract Constant",description:vp(mA.Extract_constant),kind:"refactor.extract.constant"},Y3={name:"Extract Function",description:vp(mA.Extract_function),kind:"refactor.extract.function"},Q1(X3,{kinds:[Q3.kind,Y3.kind],getEditsForAction:a4,getAvailableActions:n4}),(t=Z3=Z3||{}).cannotExtractRange=e("Cannot extract range."),t.cannotExtractImport=e("Cannot extract import statement."),t.cannotExtractSuper=e("Cannot extract super call."),t.cannotExtractJSDoc=e("Cannot extract JSDoc."),t.cannotExtractEmpty=e("Cannot extract empty range."),t.expressionExpected=e("expression expected."),t.uselessConstantType=e("No reason to extract constant of type."),t.statementOrExpressionExpected=e("Statement or expression expected."),t.cannotExtractRangeContainingConditionalBreakOrContinueStatements=e("Cannot extract range containing conditional break or continue statements."),t.cannotExtractRangeContainingConditionalReturnStatement=e("Cannot extract range containing conditional return statement."),t.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange=e("Cannot extract range containing labeled break or continue with target outside of the range."),t.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators=e("Cannot extract range containing writes to references located outside of the target range in generators."),t.typeWillNotBeVisibleInTheNewScope=e("Type will not visible in the new scope."),t.functionWillNotBeVisibleInTheNewScope=e("Function will not visible in the new scope."),t.cannotExtractIdentifier=e("Select more than a single identifier."),t.cannotExtractExportedEntity=e("Cannot extract exported declaration"),t.cannotWriteInExpression=e("Cannot write back side-effects when extracting an expression"),t.cannotExtractReadonlyPropertyInitializerOutsideConstructor=e("Cannot move initialization of read-only class property outside of the constructor"),t.cannotExtractAmbientBlock=e("Cannot extract code from ambient contexts"),t.cannotAccessVariablesFromNestedScopes=e("Cannot access variables from nested scopes"),t.cannotExtractToJSClass=e("Cannot extract constant to a class scope in JS"),t.cannotExtractToExpressionArrowFunction=e("Cannot extract constant to an arrow function without a block"),t.cannotExtractFunctionsContainingThisToMethod=e("Cannot extract functions containing this to method"),$3=function(e){return e[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",e}($3||{})}}),y4={};t(y4,{Messages:function(){return Z3},RangeFacts:function(){return $3},getRangeToExtract:function(){return i4},getRefactorActionsToExtractSymbol:function(){return n4},getRefactorEditsToExtractSymbol:function(){return a4}});var v4,g4,h4,x4,b4,k4,T4=e({"src/services/_namespaces/ts.refactor.extractSymbol.ts":function(){m4()}}),S4=e({"src/services/refactors/generateGetAccessorAndSetAccessor.ts":function(){fpe(),j4(),v4="Generate 'get' and 'set' accessors",g4=vp(mA.Generate_get_and_set_accessors),Q1(v4,{kinds:[(h4={name:v4,description:g4,kind:"refactor.rewrite.property.generateAccessors"}).kind],getEditsForAction:function(e,t){if(e.endPosition){var r=Roe.getAccessorConvertiblePropertyAtPosition(e.file,e.program,e.startPosition,e.endPosition);rA.assert(r&&!S2(r),"Expected applicable refactor info");var n=Roe.generateAccessorFromProperty(e.file,e.program,e.startPosition,e.endPosition,e,t);if(n){t=e.file.fileName,e=r.renameAccessor?r.accessorName:r.fieldName;return{renameFilename:t,renameLocation:(xR(e)?0:-1)+dZ(n,t,e.text,CR(r.declaration)),edits:n}}}},getAvailableActions:function(e){if(!e.endPosition)return WN;var t=Roe.getAccessorConvertiblePropertyAtPosition(e.file,e.program,e.startPosition,e.endPosition,"invoked"===e.triggerReason);return t?S2(t)?e.preferences.provideRefactorNotApplicableReason?[{name:v4,description:g4,actions:[__assign(__assign({},h4),{notApplicableReason:t.error})]}]:WN:[{name:v4,description:g4,actions:[h4]}]:WN}})}}),w4={},C4=e({"src/services/_namespaces/ts.refactor.generateGetAccessorAndSetAccessor.ts":function(){S4()}});function N4(o){var s=A4(o);if(s&&!S2(s))return{renameFilename:void 0,renameLocation:void 0,edits:ode.ChangeTracker.with(o,function(e){return t=o.file,r=e,n=s.declaration,a=s.returnTypeNode,i=MX(n,22,t),e=lj(n)&&void 0===i,void((i=e?SD(n.parameters):i)&&(e&&(r.insertNodeBefore(t,i,uR.createToken(21)),r.insertNodeAfter(t,i,uR.createToken(22))),r.insertNodeAt(t,i.end,a,{prefix:": "})));var t,r,n,a,i})}}function D4(e){var t=A4(e);return t?S2(t)?e.preferences.provideRefactorNotApplicableReason?[{name:x4,description:b4,actions:[__assign(__assign({},k4),{notApplicableReason:t.error})]}]:WN:[{name:x4,description:b4,actions:[k4]}]:WN}function A4(e){if(!cI(e.file)&&w2(k4.kind,e.kind)){var t=FA(QX(e.file,e.startPosition),function(e){return kj(e)||e.parent&&lj(e.parent)&&(39===e.kind||e.parent.body===e)?"quit":function(e){switch(e.kind){case 262:case 218:case 219:case 174:return!0;default:return!1}}(e)});if(!t||!t.body||t.type)return{error:vp(mA.Return_type_must_be_inferred_from_a_function)};var r=e.program.getTypeChecker(),e=function(e,t){if(e.isImplementationOfOverload(t)){var r=e.getTypeAtLocation(t).getCallSignatures();if(1<r.length)return e.getUnionType(uD(r,function(e){return e.getReturnType()}))}t=e.getSignatureFromDeclaration(t);if(t)return e.getReturnTypeOfSignature(t)}(r,t);if(!e)return{error:vp(mA.Could_not_determine_function_return_type)};e=r.typeToTypeNode(e,t,1);return e?{declaration:t,returnTypeNode:e}:void 0}}var E4=e({"src/services/refactors/inferFunctionReturnType.ts":function(){fpe(),j4(),x4="Infer function return type",b4=vp(mA.Infer_function_return_type),Q1(x4,{kinds:[(k4={name:x4,description:b4,kind:"refactor.rewrite.function.returnType"}).kind],getEditsForAction:N4,getAvailableActions:D4})}}),F4={},P4=e({"src/services/_namespaces/ts.refactor.inferFunctionReturnType.ts":function(){E4()}}),I4={};t(I4,{addExportToChanges:function(){return u6},addExports:function(){return e6},addNewFileToTsconfig:function(){return q2},addOrRemoveBracesToArrowFunction:function(){return V6},convertArrowFunctionOrFunctionExpression:function(){return r3},convertParamsToDestructuredObject:function(){return S3},convertStringOrTemplateLiteral:function(){return j3},convertToOptionalChainExpression:function(){return t4},createNewFileName:function(){return _6},createOldFileImportsFromTargetFile:function(){return Y2},deleteMovedStatements:function(){return W2},deleteUnusedImports:function(){return r6},deleteUnusedOldImports:function(){return H2},doChangeNamedToNamespaceOrDefault:function(){return p2},extractSymbol:function(){return y4},filterImport:function(){return o6},forEachImportInStatement:function(){return Q2},generateGetAccessorAndSetAccessor:function(){return w4},getApplicableRefactors:function(){return Y1},getEditsForRefactor:function(){return Z1},getStatementsToMove:function(){return l6},getTopLevelDeclarationStatement:function(){return c6},getUsageInfo:function(){return f6},inferFunctionReturnType:function(){return F4},isRefactorErrorInfo:function(){return S2},isTopLevelDeclaration:function(){return g6},makeImportOrRequire:function(){return Z2},moduleSpecifierFromImport:function(){return X2},nameOfTopLevelDeclaration:function(){return s6},refactorKindBeginsWith:function(){return w2},registerRefactor:function(){return Q1},updateImportsInOtherFiles:function(){return K2}});var O4,L4,M4,R4,j4=e({"src/services/_namespaces/ts.refactor.ts":function(){r2(),u2(),x2(),T2(),A2(),M2(),z2(),S6(),q6(),n3(),w3(),B3(),r4(),T4(),C4(),P4()}});function B4(e,t,r,n){n=J4(e,t,r,n);rA.assert(n.spans.length%3==0);for(var a=n.spans,i=[],o=0;o<a.length;o+=3)i.push({textSpan:So(a[o],a[o+1]),classificationType:a[o+2]});return i}function J4(e,t,r,n){return{spans:function(e,n,t,r){var a=[];e&&n&&function(u,_,l,d,f){var p=u.getTypeChecker(),m=!1;!function e(t){switch(t.kind){case 267:case 263:case 264:case 262:case 231:case 218:case 219:f.throwIfCancellationRequested()}var r,n,a,i,o,s,c;t&&xo(l,t.pos,t.getFullWidth())&&0!==t.getFullWidth()&&(r=m,(Xj(t)||Qj(t))&&(m=!0),dh(t)&&(m=!1),!xR(t)||m||function(e){return(e=e.parent)&&(zj(e)||Vj(e)||ah(e))}(t)||zM(t.escapedText)||(n=p.getSymbolAtLocation(t))&&(2097152&n.flags&&(n=p.getAliasedSymbol(n)),void 0!==(a=function(e,t){var r=e.getFlags();if(32&r)return 0;if(384&r)return 1;if(524288&r)return 5;if(64&r){if(2&t)return 2}else if(262144&r)return 4;return(e=e.valueDeclaration||e.declarations&&e.declarations[0])&&tj(e)&&(e=z4(e)),e&&R4.get(e.kind)}(n,HG(t)))&&(i=0,t.parent&&(tj(t.parent)||R4.get(t.parent.kind)===a)&&t.parent.name===t&&(i=1),6===a&&U4(t)&&(a=9),a=function(e,t,r){if(7===r||9===r||6===r){var n=e.getTypeAtLocation(t);if(n){if(e=function(e){return e(n)||n.isUnion()&&n.types.some(e)},6!==r&&e(function(e){return 0<e.getConstructSignatures().length}))return 0;if(e(function(e){return 0<e.getCallSignatures().length})&&!e(function(e){return 0<e.getProperties().length})||function(e){for(;U4(e);)e=e.parent;return oj(e.parent)&&e.parent.expression===e}(t))return 9===r?11:10}}return r}(p,t,a),(o=n.valueDeclaration)?(s=DA(o),c=AA(o),32&s&&(i|=2),512&s&&(i|=4),0!==a&&2!==a&&(64&s||2&c||8&n.getFlags())&&(i|=8),7!==a&&10!==a||!function(e,t){return tj(e)&&(e=z4(e)),Aj(e)?(!uB(e.parent.parent.parent)||aB(e.parent))&&e.getSourceFile()===t:Fj(e)&&(!uB(e.parent)&&e.getSourceFile()===t)}(o,_)||(i|=32),u.isSourceFileDefaultLibrary(o.getSourceFile())&&(i|=16)):n.declarations&&n.declarations.some(function(e){return u.isSourceFileDefaultLibrary(e.getSourceFile())})&&(i|=16),d(t,a,i))),HB(t,e),m=r)}(_)}(e,n,t,function(e,t,r){a.push(e.getStart(n),e.getWidth(n),(t+1<<8)+r)},r);return a}(e,r,n,t),endOfLineState:0}}function z4(e){for(;;){if(!tj(e.parent.parent))return e.parent.parent;e=e.parent.parent}}function U4(e){return TR(e.parent)&&e.parent.right===e||aj(e.parent)&&e.parent.name===e}var V4,q4,W4,H4,K4,G4,X4,Q4,Y4,Z4,$4,e8,t8,r8,n8,a8,i8,o8=e({"src/services/classifier2020.ts":function(){fpe(),O4=function(e){return e[e.typeOffset=8]="typeOffset",e[e.modifierMask=255]="modifierMask",e}(O4||{}),L4=function(e){return e[e.class=0]="class",e[e.enum=1]="enum",e[e.interface=2]="interface",e[e.namespace=3]="namespace",e[e.typeParameter=4]="typeParameter",e[e.type=5]="type",e[e.parameter=6]="parameter",e[e.variable=7]="variable",e[e.enumMember=8]="enumMember",e[e.property=9]="property",e[e.function=10]="function",e[e.member=11]="member",e}(L4||{}),M4=function(e){return e[e.declaration=0]="declaration",e[e.static=1]="static",e[e.async=2]="async",e[e.readonly=3]="readonly",e[e.defaultLibrary=4]="defaultLibrary",e[e.local=5]="local",e}(M4||{}),R4=new Map([[260,7],[169,6],[172,9],[267,3],[266,1],[306,8],[263,0],[174,11],[262,10],[218,10],[173,11],[177,9],[178,9],[171,9],[264,2],[265,5],[168,4],[303,9],[304,9]])}});function s8(e,t,r,n){r=Ss(e)?new q4(e,t,r):80===e?new G4(80,t,r):81===e?new X4(81,t,r):new K4(e,t,r);return r.parent=n,r.flags=101441536&n.flags,r}function c8(t,e){if(!Ss(t.kind))return WN;var r=[];if(Ec(t))return t.forEachChild(function(e){r.push(e)}),r;LG.setText((e||t.getSourceFile()).text);var n=t.pos,e=function(e){u8(r,n,e.pos,t),r.push(e),n=e.end};return KN(t.jsDoc,e),n=t.pos,t.forEachChild(e,function(e){u8(r,n,e.pos,t),r.push(function(e,t){var r,n,a=s8(358,e.pos,e.end,t);a._children=[];var i=e.pos;try{for(var o=__values(e),s=o.next();!s.done;s=o.next()){var c=s.value;u8(a._children,i,c.pos,t),a._children.push(c),i=c.end}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return u8(a._children,i,e.end,t),a}(e,t)),n=e.end}),u8(r,n,t.end,t),LG.setText(void 0),r}function u8(e,t,r,n){for(LG.resetTokenState(t);t<r;){var a=LG.scan(),i=LG.getTokenEnd();if(i<=r){if(80===a){if(Jm(n))continue;rA.fail("Did not expect ".concat(rA.formatSyntaxKind(n.kind)," to have an Identifier in its trivia"))}e.push(s8(a,t,i,n))}if(t=i,1===a)break}}function _8(e){return YA(e).some(function(e){return"inheritDoc"===e.tagName.text||"inheritdoc"===e.tagName.text})}function l8(e,n){var t,r;if(!e)return WN;var a=a_e.getJsDocTagsFromDeclarations(e,n);if(n&&(0===a.length||e.some(_8))){var i=new Set;try{for(var o=__values(e),s=o.next();!s.done;s=o.next())!function(r){var e=f8(n,r,function(e){var t;if(!i.has(e))return i.add(e),177===r.kind||178===r.kind?e.getContextualJsDocTags(r,n):1===(null==(t=e.declarations)?void 0:t.length)?e.getJsDocTags():void 0});e&&(a=__spreadArray(__spreadArray([],__read(e),!1),__read(a),!1))}(s.value)}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}}return a}function d8(e,r){var t,n;if(!e)return WN;var a=a_e.getJsDocCommentsFromDeclarations(e,r);if(r&&(0===a.length||e.some(_8))){var i=new Set;try{for(var o=__values(e),s=o.next();!s.done;s=o.next())!function(t){var e=f8(r,t,function(e){if(!i.has(e))return i.add(e),177===t.kind||178===t.kind?e.getContextualDocumentationComment(t,r):e.getDocumentationComment(r)});e&&(a=0===a.length?e.slice():e.concat(UY(),a))}(s.value)}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}}return a}function f8(t,r,n){var e=(176===(null==(e=r.parent)?void 0:e.kind)?r.parent:r).parent;if(e){var a=dL(r);return GN(Bl(e),function(e){e=t.getTypeAtLocation(e),e=a&&e.symbol?t.getTypeOfSymbol(e.symbol):e,e=t.getPropertyOfType(e,r.symbol.name);return e?n(e):void 0})}}function p8(e){var t=!0;for(r in e)if(ma(e,r)&&!m8(r)){t=!1;break}if(t)return e;var r,n={};for(r in e)ma(e,r)&&(n[m8(r)?r:r.charAt(0).toLowerCase()+r.substr(1)]=e[r]);return n}function m8(e){return!e.length||e.charAt(0)===e.charAt(0).toLowerCase()}function y8(e){return e?iD(e,function(e){return e.text}).join(""):""}function v8(){return{target:1,jsx:1}}function g8(){return Roe.getSupportedErrorCodes()}function h8(e,t,r){e.version=r,e.scriptSnapshot=t}function x8(e,t,r,n,a,i){i=Ib(e,WQ(t),r,a,i);return h8(i,t,n),i}function b8(e,t,r,n,a){if(n&&r!==e.version){var i,o=0!==n.span.start?e.text.substr(0,n.span.start):"",s=TA(n.span)!==e.text.length?e.text.substr(TA(n.span)):"",s=Lb(e,0===n.newLength?o&&s?o+s:o||s:(i=t.getText(n.span.start,n.span.start+n.newLength),o&&s?o+i+s:o?o+i:i+s),n,a);return h8(s,t,r),s.nameTable=void 0,e!==s&&e.scriptSnapshot&&(e.scriptSnapshot.dispose&&e.scriptSnapshot.dispose(),e.scriptSnapshot=void 0),s}s={languageVersion:e.languageVersion,impliedNodeFormat:e.impliedNodeFormat,setExternalModuleIndicator:e.setExternalModuleIndicator};return x8(e.fileName,t,s,r,!0,e.scriptKind)}function k8(v,g,e){var h;void 0===g&&(g=J$(v.useCaseSensitiveFileNames&&v.useCaseSensitiveFileNames(),v.getCurrentDirectory())),h=void 0===e?0:"boolean"==typeof e?e?2:0:e;var x,b,w=new e8(v),k=0,T=v.getCancellationToken?new r8(v.getCancellationToken()):t8,S=v.getCurrentDirectory();function C(e){v.log&&v.log(e)}yp(null==(e=v.getLocalizedDiagnosticMessages)?void 0:e.bind(v));var N=gd(v),D=KD(N),A=S0({useCaseSensitiveFileNames:function(){return N},getCurrentDirectory:function(){return S},getProgram:o,fileExists:LD(v,v.fileExists),readFile:LD(v,v.readFile),getDocumentPositionMapper:LD(v,v.getDocumentPositionMapper),getSourceFileLike:LD(v,v.getSourceFileLike),log:C});function f(e){var t=x.getSourceFile(e);if(t)return t;e=new Error("Could not find source file: '".concat(e,"'."));throw e.ProgramFiles=x.getSourceFiles().map(function(e){return e.fileName}),e}function p(){if(rA.assert(2!==h),v.getProjectVersion){var e=v.getProjectVersion();if(e){if(b===e&&(null==(s=v.hasChangedAutomaticTypeDirectiveNames)||!s.call(v)))return;b=e}}var t=v.getTypeRootsVersion?v.getTypeRootsVersion():0;k!==t&&(C("TypeRoots version has changed; provide new program"),x=void 0,k=t);var a,r=v.getScriptFileNames().slice(),n=v.getCompilationSettings()||v8(),i=v.hasInvalidatedResolutions||ar,o=LD(v,v.hasInvalidatedLibResolutions)||ar,s=LD(v,v.hasChangedAutomaticTypeDirectiveNames),t=null==(e=v.getProjectReferences)?void 0:e.call(v),c={getSourceFile:m,getSourceFileByPath:y,getCancellationToken:function(){return T},getCanonicalFileName:D,useCaseSensitiveFileNames:function(){return N},getNewLine:function(){return vf(n)},getDefaultLibFileName:function(e){return v.getDefaultLibFileName(e)},writeFile:fi,getCurrentDirectory:function(){return S},fileExists:function(e){return v.fileExists(e)},readFile:function(e){return v.readFile&&v.readFile(e)},getSymlinkCache:LD(v,v.getSymlinkCache),realpath:LD(v,v.realpath),directoryExists:function(e){return yf(e,v)},getDirectories:function(e){return v.getDirectories?v.getDirectories(e):[]},readDirectory:function(e,t,r,n,a){return rA.checkDefined(v.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'"),v.readDirectory(e,t,r,n,a)},onReleaseOldSourceFile:p,onReleaseParsedCommandLine:function(e,t,r){var n;v.getParsedCommandLine?null!=(n=v.onReleaseParsedCommandLine)&&n.call(v,e,t,r):t&&p(t.sourceFile,r)},hasInvalidatedResolutions:i,hasInvalidatedLibResolutions:o,hasChangedAutomaticTypeDirectiveNames:s,trace:LD(v,v.trace),resolveModuleNames:LD(v,v.resolveModuleNames),getModuleResolutionCache:LD(v,v.getModuleResolutionCache),createHash:LD(v,v.createHash),resolveTypeReferenceDirectives:LD(v,v.resolveTypeReferenceDirectives),resolveModuleNameLiterals:LD(v,v.resolveModuleNameLiterals),resolveTypeReferenceDirectiveReferences:LD(v,v.resolveTypeReferenceDirectiveReferences),resolveLibrary:LD(v,v.resolveLibrary),useSourceOfProjectReferenceRedirect:LD(v,v.useSourceOfProjectReferenceRedirect),getParsedCommandLine:f},u=c.getSourceFile,e=EV(c,function(e){return Ja(e,S,D)},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return u.call.apply(u,__spreadArray([c],__read(e),!1))}).getSourceFileWithCache;c.getSourceFile=e,null!=(e=v.setCompilerHost)&&e.call(v,c);var _={useCaseSensitiveFileNames:N,fileExists:function(e){return c.fileExists(e)},readFile:function(e){return c.readFile(e)},directoryExists:function(e){return c.directoryExists(e)},getDirectories:function(e){return c.getDirectories(e)},realpath:c.realpath,readDirectory:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return c.readDirectory.apply(c,__spreadArray([],__read(e),!1))},trace:c.trace,getCurrentDirectory:c.getCurrentDirectory,onUnRecoverableConfigFileDiagnostic:fi},l=g.getKeyForCompilationSettings(n),d=new Set;function f(e){var t=Ja(e,S,D),r=null==a?void 0:a.get(t);if(void 0!==r)return r||void 0;var n,n=v.getParsedCommandLine?v.getParsedCommandLine(e):(e=m(n=e,100))?(e.path=Ja(n,S,D),e.resolvedPath=e.path,e.originalFileName=e.fileName,yT(e,_,fA(lA(n),S),void 0,fA(n,S))):void 0;return(a=a||new Map).set(t,n||!1),n}function p(e,t){t=g.getKeyForCompilationSettings(t);g.releaseDocumentWithKey(e.resolvedPath,t,e.scriptKind,e.impliedNodeFormat)}function m(e,t,r,n){return y(e,Ja(e,S,D),t,0,n)}function y(e,t,r,n,a){rA.assert(c,"getOrCreateSourceFileByPath called after typical CompilerHost lifetime, check the callstack something with a reference to an old host.");var i=v.getScriptSnapshot(e);if(i){var o=XY(e,v),s=v.getScriptVersion(e);if(!a){a=x&&x.getSourceFileByPath(t);if(a){if(o===a.scriptKind||d.has(a.resolvedPath))return g.updateDocumentWithKey(e,t,v,l,i,s,o,r);g.releaseDocumentWithKey(a.resolvedPath,g.getKeyForCompilationSettings(x.getCompilerOptions()),a.scriptKind,a.impliedNodeFormat),d.add(a.resolvedPath)}}return g.acquireDocumentWithKey(e,t,v,l,i,s,o,r)}}aq(x,r,n,function(e,t){return v.getScriptVersion(t)},function(e){return c.fileExists(e)},i,o,s,f,t)?d=a=c=void 0:(x=cq({rootNames:r,options:n,host:c,oldProgram:x,projectReferences:t}),d=a=c=void 0,A.clearCache(),x.getTypeChecker())}function o(){if(2!==h)return p(),x;rA.assert(void 0===x)}function t(){var t;x&&(t=g.getKeyForCompilationSettings(x.getCompilerOptions()),KN(x.getSourceFiles(),function(e){return g.releaseDocumentWithKey(e.resolvedPath,t,e.scriptKind,e.impliedNodeFormat)}),x=void 0)}function u(e,t,r,n){p();var a=r&&r.use===pue.FindReferencesUse.Rename?x.getSourceFiles().filter(function(e){return!x.isSourceFileDefaultLibrary(e)}):x.getSourceFiles();return pue.findReferenceOrRenameEntries(x,T,a,e,t,r,n)}var n=new Map(Object.entries(((e={})[19]=20,e[21]=22,e[23]=24,e[32]=30,e)));function r(e){return rA.assertEqual(e.type,"install package"),v.installPackage?v.installPackage({fileName:Ja(e.file,S,D),packageName:e.packageName}):Promise.reject("Host does not implement `installPackage`")}function E(e,t){return{lineStarts:e.getLineStarts(),firstLine:e.getLineAndCharacterOfPosition(t.pos).line,lastLine:e.getLineAndCharacterOfPosition(t.end).line}}function c(e,t,r){for(var n=w.getCurrentSourceFile(e),a=[],i=E(n,t),o=i.lineStarts,s=i.firstLine,c=i.lastLine,u=r||!1,_=Number.MAX_VALUE,l=new Map,d=new RegExp(/\S/),f=_Q(n,o[s]),p=f?"{/*":"//",m=s;m<=c;m++){var y=n.text.substring(o[m],n.getLineEndOfPosition(o[m])),v=d.exec(y);v&&(_=Math.min(_,v.index),l.set(m.toString(),v.index),y.substr(v.index,p.length)!==p&&(u=void 0===r||r))}for(var g,m=s;m<=c;m++)s!==c&&o[m]===t.end||void 0!==(g=l.get(m.toString()))&&(f?a.push.apply(a,F(e,{pos:o[m]+_,end:n.getLineEndOfPosition(o[m])},u,f)):u?a.push({newText:p,span:{length:0,start:o[m]+_}}):n.text.substr(o[m]+g,p.length)===p&&a.push({newText:"",span:{length:p.length,start:o[m]+g}}));return a}function F(e,t,r,n){for(var a,i,o=w.getCurrentSourceFile(e),s=[],c=o.text,u=!1,_=r||!1,l=[],d=t.pos,f=void 0!==n?n:_Q(o,d),p=f?"{/*":"/*",m=f?"*/}":"*/",y=f?"\\{\\/\\*":"\\/\\*",v=f?"\\*\\/\\}":"\\*\\/";d<=t.end;){var g=yQ(o,d+(S=c.substr(d,p.length)===p?p.length:0));d=g?(f&&(g.pos--,g.end++),l.push(g.pos),3===g.kind&&l.push(g.end),u=!0,g.end+1):(g=c.substring(d,t.end).search("(".concat(y,")|(").concat(v,")")),_=void 0!==r?r:_||!hY(c,d,-1===g?t.end:d+g),-1===g?t.end+1:d+g+m.length)}if(_||!u){2!==(null==(n=yQ(o,t.pos))?void 0:n.kind)&&Q(l,t.pos,UD),Q(l,t.end,UD);n=l[0];c.substr(n,p.length)!==p&&s.push({newText:p,span:{length:0,start:n}});for(var h=1;h<l.length-1;h++)c.substr(l[h]-m.length,m.length)!==m&&s.push({newText:m,span:{length:0,start:l[h]}}),c.substr(l[h],p.length)!==p&&s.push({newText:p,span:{length:0,start:l[h]}});s.length%2!=0&&s.push({newText:m,span:{length:0,start:l[l.length-1]}})}else try{for(var x=__values(l),b=x.next();!b.done;b=x.next()){var k=b.value,T=0<k-m.length?k-m.length:0,S=c.substr(T,m.length)===m?m.length:0;s.push({newText:"",span:{length:p.length,start:k-S}})}}catch(e){a={error:e}}finally{try{b&&!b.done&&(i=x.return)&&i.call(x)}finally{if(a)throw a.error}}return s}function s(e,t,r,n,a,i){t=__read("number"==typeof t?[t,void 0]:[t.pos,t.end],2);return{file:e,startPosition:t[0],endPosition:t[1],program:o(),host:v,formatContext:upe.getFormatContext(n,v),cancellationToken:T,preferences:r,triggerReason:a,kind:i}}n.forEach(function(e,t){return n.set(e.toString(),Number(t))});var a={dispose:function(){t(),v=void 0},cleanupSemanticCache:t,getSyntacticDiagnostics:function(e){return p(),x.getSyntacticDiagnostics(f(e),T).slice()},getSemanticDiagnostics:function(e){p();var t=f(e),e=x.getSemanticDiagnostics(t,T);return dM(x.getCompilerOptions())?(t=x.getDeclarationDiagnostics(t,T),__spreadArray(__spreadArray([],__read(e),!1),__read(t),!1)):e.slice()},getSuggestionDiagnostics:function(e){return p(),A0(f(e),x,T)},getCompilerOptionsDiagnostics:function(){return p(),__spreadArray(__spreadArray([],__read(x.getOptionsDiagnostics(T)),!1),__read(x.getGlobalDiagnostics(T)),!1)},getSyntacticClassifications:function(e,t){return O$(T,w.getCurrentSourceFile(e),t)},getSemanticClassifications:function(e,t,r){return p(),"2020"===(r||"original")?B4(x,T,f(e),t):A$(x.getTypeChecker(),T,f(e),x.getClassifiableNames(),t)},getEncodedSyntacticClassifications:function(e,t){return L$(T,w.getCurrentSourceFile(e),t)},getEncodedSemanticClassifications:function(e,t,r){return p(),"original"===(r||"original")?F$(x.getTypeChecker(),T,f(e),x.getClassifiableNames(),t):J4(x,T,f(e),t)},getCompletionsAtPosition:function(e,t,r,n){void 0===r&&(r=fG);var a=__assign(__assign({},r),{includeCompletionsForModuleExports:r.includeCompletionsForModuleExports||r.includeExternalModuleExports,includeCompletionsWithInsertText:r.includeCompletionsWithInsertText||r.includeInsertTextCompletions});return p(),Dce.getCompletionsAtPosition(v,x,C,f(e),t,a,r.triggerCharacter,r.triggerKind,T,n&&upe.getFormatContext(n,v),r.includeSymbol)},getCompletionEntryDetails:function(e,t,r,n,a,i,o){return void 0===i&&(i=fG),p(),Dce.getCompletionEntryDetails(x,C,f(e),t,{name:r,source:a,data:o},v,n&&upe.getFormatContext(n,v),i,T)},getCompletionEntrySymbol:function(e,t,r,n,a){return void 0===a&&(a=fG),p(),Dce.getCompletionEntrySymbol(x,C,f(e),t,{name:r,source:n},v,a)},getSignatureHelpItems:function(e,t,r){return r=(void 0===r?fG:r).triggerReason,p(),e=f(e),dle.getSignatureHelpItems(x,e,t,r,T)},getQuickInfoAtPosition:function(e,t){p();var r=f(e);if((c=GX(r,t))!==r){var n=x.getTypeChecker(),a=function(e){if(sj(e.parent)&&e.pos===e.parent.pos)return e.parent.expression;if(WR(e.parent)&&e.pos===e.parent.pos)return e.parent;if(B_(e.parent)&&e.parent.name===e)return e.parent;if(rB(e.parent))return e.parent;return e}(c),i=function(e,t){var r=S8(e);if(r){var n=t.getContextualType(r.parent),n=n&&w8(r,t,n,!1);if(n&&1===n.length)return SD(n)}return t.getSymbolAtLocation(e)}(a,n);if(!i||n.isUnknownSymbol(i)){var o=function(e,t,r){switch(t.kind){case 80:return!_X(t)&&!lX(t)&&!uE(t.parent);case 211:case 166:return!yQ(e,r);case 110:case 197:case 108:case 202:return!0;case 236:return B_(t);default:return!1}}(r,a,t)?n.getTypeAtLocation(a):void 0;return o&&{kind:"",kindModifiers:"",textSpan:IQ(a,r),displayParts:n.runWithCancellationToken(T,function(e){return qY(e,o,hX(a))}),documentation:o.symbol?o.symbol.getDocumentationComment(n):void 0,tags:o.symbol?o.symbol.getJsDocTags(n):void 0}}var s=n.runWithCancellationToken(T,function(e){return Ele.getSymbolDisplayPartsDocumentationAndSymbolKind(e,i,r,hX(a),a)}),e=s.symbolKind,c=s.displayParts,t=s.documentation,s=s.tags;return{kind:e,kindModifiers:Ele.getSymbolModifiers(n,i),textSpan:IQ(a,r),displayParts:c,documentation:t,tags:s}}},getDefinitionAtPosition:function(e,t,r,n){return p(),Pue.getDefinitionAtPosition(x,f(e),t,r,n)},getDefinitionAndBoundSpan:function(e,t){return p(),Pue.getDefinitionAndBoundSpan(x,f(e),t)},getImplementationAtPosition:function(e,t){return p(),pue.getImplementationsAtPosition(x,T,x.getSourceFiles(),f(e),t)},getTypeDefinitionAtPosition:function(e,t){return p(),Pue.getTypeDefinitionAtPosition(x.getTypeChecker(),f(e),t)},getReferencesAtPosition:function(e,t){return p(),u(GX(f(e),t),t,{use:pue.FindReferencesUse.References},pue.toReferenceEntry)},findReferences:function(e,t){return p(),pue.findReferencedSymbols(x,T,x.getSourceFiles(),f(e),t)},getFileReferences:function(e){return p(),pue.Core.getReferencesForFileName(e,x,x.getSourceFiles()).map(pue.toReferenceEntry)},getDocumentHighlights:function(e,t,r){var n=pi(e);return rA.assert(r.some(function(e){return pi(e)===n})),p(),r=uD(r,function(e){return x.getSourceFile(e)}),e=f(e),M$.getDocumentHighlights(x,T,e,t,r)},getNameOrDottedNameSpan:function(e,t,r){if(e=w.getCurrentSourceFile(e),(t=GX(e,t))!==e){switch(t.kind){case 211:case 166:case 11:case 97:case 112:case 106:case 108:case 110:case 197:case 80:break;default:return}for(var n=t;;)if(fX(n)||dX(n))n=n.parent;else{if(!mX(n))break;if(267!==n.parent.parent.kind||n.parent.parent.body!==n.parent)break;n=n.parent.parent.name}return wo(n.getStart(),t.getEnd())}},getBreakpointStatementAtPosition:function(e,t){return e=w.getCurrentSourceFile(e),K8.spanInSourceFileAtLocation(e,t)},getNavigateToItems:function(e,t,r,n){return void 0===n&&(n=!1),p(),K0(r?[f(r)]:x.getSourceFiles(),x.getTypeChecker(),T,e,t,n)},getRenameInfo:function(e,t,r){return p(),Q_e.getRenameInfo(x,f(e),t,r||{})},getSmartSelectionRange:function(e,t){return xle.getSmartSelectionRange(t,w.getCurrentSourceFile(e))},findRenameLocations:function(e,t,r,n,a){p();var i=f(e),o=KX(GX(i,t));if(Q_e.nodeIsEligibleForRename(o)){if(xR(o)&&(Yj(o.parent)||uh(o.parent))&&VO(o.escapedText)){e=o.parent.parent;return[e.openingElement,e.closingElement].map(function(e){var t=IQ(e.tagName,i);return __assign({fileName:i.fileName,textSpan:t},pue.toContextSpan(t,i,e.parent))})}var s=iY(i,null!=a?a:fG),c="boolean"==typeof a?a:null==a?void 0:a.providePrefixAndSuffixTextForRename;return u(o,t,{findInStrings:r,findInComments:n,providePrefixAndSuffixTextForRename:c,use:pue.FindReferencesUse.Rename},function(e,t,r){return pue.toRenameLocation(e,t,r,c||!1,s)})}},getNavigationBarItems:function(e){return l1(w.getCurrentSourceFile(e),T)},getNavigationTree:function(e){return d1(w.getCurrentSourceFile(e),T)},getOutliningSpans:function(e){return e=w.getCurrentSourceFile(e),U_e.collectElements(e,T)},getTodoComments:function(e,t){p();var r=f(e);T.throwIfCancellationRequested();var n,a,i=r.text,o=[];if(0<t.length&&!WD(r.fileName,"/node_modules/"))for(var s,c=(a="("+/(?:^(?:\s|\*)*)/.source+"|"+/(?:\/\/+\s*)/.source+"|"+/(?:\/\*+\s*)/.source+")",e="(?:"+iD(t,function(e){return"("+e.text.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")+")"}).join("|")+")",new RegExp(a+"("+e+/(?:.*?)/.source+")"+/(?:$|\*\/)/.source,"gim"));s=c.exec(i);){T.throwIfCancellationRequested();rA.assert(s.length===t.length+3);var u=s[1],_=s.index+u.length;if(yQ(r,_)){for(var l=void 0,d=0;d<t.length;d++)s[d+3]&&(l=t[d]);if(void 0===l)return rA.fail();97<=(n=i.charCodeAt(_+l.text.length))&&n<=122||65<=n&&n<=90||48<=n&&n<=57||(u=s[2],o.push({descriptor:l,message:u,position:_}))}}return o},getBraceMatchingAtPosition:function(e,t){var r=w.getCurrentSourceFile(e),e=XX(r,t);return(t=(t=e.getStart(r)===t?n.get(e.kind.toString()):void 0)&&MX(e.parent,t,r))?[IQ(e,r),IQ(t,r)].sort(function(e,t){return e.start-t.start}):WN},getIndentationAtPosition:function(e,t,r){var n=ht(),r=p8(r),e=w.getCurrentSourceFile(e);return C("getIndentationAtPosition: getCurrentSourceFile: "+(ht()-n)),n=ht(),r=upe.SmartIndenter.getIndentation(t,e,r),C("getIndentationAtPosition: computeIndentation  : "+(ht()-n)),r},getFormattingEditsForRange:function(e,t,r,n){return e=w.getCurrentSourceFile(e),upe.formatSelection(t,r,e,upe.getFormatContext(p8(n),v))},getFormattingEditsForDocument:function(e,t){return upe.formatDocument(w.getCurrentSourceFile(e),upe.getFormatContext(p8(t),v))},getFormattingEditsAfterKeystroke:function(e,t,r,n){var a=w.getCurrentSourceFile(e),i=upe.getFormatContext(p8(n),v);if(!yQ(a,t))switch(r){case"{":return upe.formatOnOpeningCurly(t,a,i);case"}":return upe.formatOnClosingCurly(t,a,i);case";":return upe.formatOnSemicolon(t,a,i);case"\n":return upe.formatOnEnter(t,a,i)}return[]},getDocCommentTemplateAtPosition:function(e,t,r,n){return n=n?upe.getFormatContext(n,v).options:void 0,a_e.getDocCommentTemplateAtPosition(zY(v,n),w.getCurrentSourceFile(e),t,r)},isValidBraceCompletionAtPosition:function(e,t,r){if(60===r)return!1;var n=w.getCurrentSourceFile(e);if(iQ(n,t))return!1;if(oQ(n,t))return 123===r;if(cQ(n,t))return!1;switch(r){case 39:case 34:case 96:return!yQ(n,t)}return!0},getJsxClosingTagAtPosition:function(e,t){var r=w.getCurrentSourceFile(e);if(e=tQ(t,r)){t=32===e.kind&&Yj(e.parent)?e.parent.parent:qv(e)&&Xj(e.parent)?e.parent:void 0;if(t&&function e(t){var r=t.openingElement,n=t.closingElement,t=t.parent;return!zb(r.tagName,n.tagName)||Xj(t)&&zb(r.tagName,t.openingElement.tagName)&&e(t)}(t))return{newText:"</".concat(t.openingElement.tagName.getText(r),">")};e=32===e.kind&&Zj(e.parent)?e.parent.parent:qv(e)&&_h(e.parent)?e.parent:void 0;return e&&function e(t){var r=t.closingFragment,t=t.parent;return!!(262144&r.flags)||_h(t)&&e(t)}(e)?{newText:"</>"}:void 0}},getLinkedEditingRangeAtPosition:function(e,t){var r=w.getCurrentSourceFile(e),n=tQ(t,r);if(n&&312!==n.parent.kind){var a="[a-zA-Z0-9:\\-\\._$]*";if(_h(n.parent.parent)){var i=n.parent.parent.openingFragment,o=n.parent.parent.closingFragment;if(!wF(i)&&!wF(o)){var s=i.getStart(r)+1,c=o.getStart(r)+2;if(t===s||t===c)return{ranges:[{start:s,length:0},{start:c,length:0}],wordPattern:a}}}else{e=FA(n.parent,function(e){return!(!Yj(e)&&!uh(e))});if(e){rA.assert(Yj(e)||uh(e),"tag should be opening or closing element");i=e.parent.openingElement,o=e.parent.closingElement,s=i.tagName.getStart(r),c=i.tagName.end,n=o.tagName.getStart(r),e=o.tagName.end;if(s<=t&&t<=c||n<=t&&t<=e)if(i.tagName.getText(r)===o.tagName.getText(r))return{ranges:[{start:s,length:c-s},{start:n,length:e-n}],wordPattern:a}}}}},getSpanOfEnclosingComment:function(e,t,r){return e=w.getCurrentSourceFile(e),!(t=upe.getRangeOfEnclosingComment(e,t))||r&&3!==t.kind?void 0:MQ(t)},getCodeFixesAtPosition:function(e,t,r,n,a,i){void 0===i&&(i=fG),p();var o=f(e),s=wo(t,r),c=upe.getFormatContext(a,v);return cD(mD(n,zD,UD),function(e){return T.throwIfCancellationRequested(),Roe.getFixes({errorCode:e,sourceFile:o,span:s,program:x,host:v,cancellationToken:T,formatContext:c,preferences:i})})},getCombinedCodeFix:function(e,t,r,n){return void 0===n&&(n=fG),p(),rA.assert("file"===e.type),e=f(e.fileName),r=upe.getFormatContext(r,v),Roe.getAllFixes({fixId:t,sourceFile:e,program:x,host:v,cancellationToken:T,formatContext:r,preferences:n})},applyCodeActionCommand:function(e,t){return RD(e="string"==typeof e?t:e)?Promise.all(e.map(r)):r(e)},organizeImports:function(e,t,r){void 0===r&&(r=fG),p(),rA.assert("file"===e.type);var n=f(e.fileName),a=upe.getFormatContext(t,v),e=null!==(t=e.mode)&&void 0!==t?t:e.skipDestructiveCodeActions?"SortAndCombine":"All";return F_e.organizeImports(n,a,v,x,r,e)},getEditsForFileRename:function(e,t,r,n){return void 0===n&&(n=fG),W$(o(),e,t,v,upe.getFormatContext(r,v),n,A)},getEmitOutput:function(e,t,r){p();var n=f(e),e=v.getCustomTransformers&&v.getCustomTransformers();return xq(x,n,!!t,T,e,r)},getNonBoundSourceFile:function(e){return w.getCurrentSourceFile(e)},getProgram:o,getCurrentProgram:function(){return x},getAutoImportProvider:function(){var e;return null==(e=v.getPackageJsonAutoImportProvider)?void 0:e.call(v)},updateIsDefinitionOfReferencedSymbols:function(l,d){var t,e,r,n,f=x.getTypeChecker(),a=function(){var t,e,r,n;try{for(var a=__values(l),i=a.next();!i.done;i=a.next()){var o=i.value;try{for(var s=(r=void 0,__values(o.references)),c=s.next();!c.done;c=s.next()){var u=c.value;if(d.has(u)){var _=m(u);return rA.assertIsDefined(_),f.getSymbolAtLocation(_)}u=bY(u,A,LD(v,v.fileExists));if(u&&d.has(u))if(_=m(u))return f.getSymbolAtLocation(_)}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}return}();if(!a)return!1;try{for(var i=__values(l),o=i.next();!o.done;o=i.next()){var s=o.value;try{for(var c=(r=void 0,__values(s.references)),u=c.next();!u.done;u=c.next()){var _=u.value,p=m(_);rA.assertIsDefined(p),d.has(_)||pue.isDeclarationOfSymbol(p,a)?(d.add(_),_.isDefinition=!0,(p=bY(_,A,LD(v,v.fileExists)))&&d.add(p)):_.isDefinition=!1}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return!0;function m(e){var t=x.getSourceFile(e.fileName);if(t){e=GX(t,e.textSpan.start);return pue.Core.getAdjustedNode(e,{use:pue.FindReferencesUse.References})}}},getApplicableRefactors:function(e,t,r,n,a,i){return void 0===r&&(r=fG),p(),e=f(e),I4.getApplicableRefactors(s(e,t,r,fG,n,a),i)},getEditsForRefactor:function(e,t,r,n,a,i,o){return void 0===i&&(i=fG),p(),e=f(e),I4.getEditsForRefactor(s(e,r,i,t),n,a,o)},getMoveToRefactoringFileSuggestions:function(e,t,r){void 0===r&&(r=fG),p();var n=f(e),a=rA.checkDefined(x.getSourceFiles()),i=bm(e),a=uD(a,function(e){return null!=x&&x.isSourceFileFromExternalLibrary(n)||n===f(e.fileName)||".ts"===i&&".d.ts"===bm(e.fileName)||".d.ts"===i&&XD(Ea(e.fileName),"lib.")&&".d.ts"===bm(e.fileName)||i!==bm(e.fileName)?void 0:e.fileName});return{newFileName:_6(n,x,s(n,t,r,fG),v),files:a}},toLineColumnOffset:function(e,t){return 0===t?{line:0,character:0}:A.toLineColumnOffset(e,t)},getSourceMapper:function(){return A},clearSourceMapperCache:function(){return A.clearCache()},prepareCallHierarchy:function(e,t){return p(),(t=p7.resolveCallHierarchyDeclaration(x,GX(f(e),t)))&&XZ(t,function(e){return p7.createCallHierarchyItem(x,e)})},provideCallHierarchyIncomingCalls:function(e,t){return p(),e=f(e),(t=QZ(p7.resolveCallHierarchyDeclaration(x,0===t?e:GX(e,t))))?p7.getIncomingCalls(x,t,T):[]},provideCallHierarchyOutgoingCalls:function(e,t){return p(),e=f(e),(t=QZ(p7.resolveCallHierarchyDeclaration(x,0===t?e:GX(e,t))))?p7.getOutgoingCalls(x,t):[]},toggleLineComment:c,toggleMultilineComment:F,commentSelection:function(e,t){var r=E(w.getCurrentSourceFile(e),t);return(r.firstLine===r.lastLine&&t.pos!==t.end?F:c)(e,t,!0)},uncommentSelection:function(e,t){var r=w.getCurrentSourceFile(e),n=[],a=t.pos,i=t.end;a===i&&(i+=_Q(r,a)?2:1);for(var o=a;o<=i;o++){var s=yQ(r,o);if(s){switch(s.kind){case 2:n.push.apply(n,c(e,{end:s.end,pos:s.pos+1},!1));break;case 3:n.push.apply(n,F(e,{end:s.end,pos:s.pos+1},!1))}o=s.end+1}}return n},provideInlayHints:function(e,t,r){return void 0===r&&(r=fG),p(),e=f(e),Bue.provideInlayHints((t=t,r=r,{file:e,program:o(),host:v,span:t,preferences:r,cancellationToken:T}))},getSupportedCodeFixes:g8};switch(h){case 0:break;case 1:a8.forEach(function(e){return a[e]=function(){throw new Error("LanguageService Operation: ".concat(e," not allowed in LanguageServiceMode.PartialSemantic"))}});break;case 2:i8.forEach(function(e){return a[e]=function(){throw new Error("LanguageService Operation: ".concat(e," not allowed in LanguageServiceMode.Syntactic"))}});break;default:rA.assertNever(h)}return a}function T8(e){var t,c;return e.nameTable||(c=(t=e).nameTable=new Map,t.forEachChild(function e(t){var r,n,a,i;if(xR(t)&&!lX(t)&&t.escapedText||SO(t)&&(uO(i=t)||283===i.parent.kind||function(e){return e&&e.parent&&212===e.parent.kind&&e.parent.argumentExpression===e}(i)||_O(i))?(a=EO(t),c.set(a,void 0===c.get(a)?t.pos:-1)):bR(t)&&(a=t.escapedText,c.set(a,void 0===c.get(a)?t.pos:-1)),HB(t,e),tF(t))try{for(var o=__values(t.jsDoc),s=o.next();!s.done;s=o.next())HB(s.value,e)}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}})),e.nameTable}function S8(e){e=function(e){switch(e.kind){case 11:case 15:case 9:if(167===e.parent.kind)return Pc(e.parent.parent)?e.parent.parent:void 0;case 80:return!Pc(e.parent)||210!==e.parent.parent.kind&&292!==e.parent.parent.kind||e.parent.name!==e?void 0:e.parent}return}(e);return e&&(nj(e.parent)||eB(e.parent))?e:void 0}function w8(t,r,e,n){var a=GQ(t.name);if(!a)return WN;if(!e.isUnion())return(i=e.getProperty(a))?[i]:WN;var i,o=uD(e.types,function(e){return(nj(t.parent)||eB(t.parent))&&r.isTypeInvalidDueToUnionDiscriminant(e,t.parent)?void 0:e.getProperty(a)});if(n&&(0===o.length||o.length===e.types.length)&&(i=e.getProperty(a)))return[i];return 0===o.length?uD(e.types,function(e){return e.getProperty(a)}):o}function C8(e){if(zn)return dA(lA(pi(zn.getExecutingFilePath())),po(e));throw new Error("getDefaultLibFilePath is only supported when consumed as a node module. ")}var N8=e({"src/services/services.ts":function(){function e(e,t,r){this.pos=t,this.end=r,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.kind=e}function t(e,t){this.pos=e,this.end=t,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0}function r(e,t){this.id=0,this.mergeId=0,this.flags=e,this.escapedName=t}function n(e,t,r){r=a.call(this,t,r)||this;return r.kind=e,r}var a,i,o,s;function c(e,t,r){r=i.call(this,t,r)||this;return r.kind=80,r}function u(e,t,r){r=o.call(this,t,r)||this;return r.kind=81,r}function _(e,t){this.checker=e,this.flags=t}function l(e,t){this.checker=e,this.flags=t}function d(e,t,r){r=s.call(this,e,t,r)||this;return r.kind=312,r}function f(e,t,r){this.fileName=e,this.text=t,this.skipTrivia=r}function p(e){this.host=e}function m(e){this.cancellationToken=e}function y(e,t){void 0===t&&(t=20),this.hostCancellationToken=e,this.throttleWaitMilliseconds=t,this.lastCancellationCheckTime=0}fpe(),_1(),X1(),j4(),R$(),o8(),V4="0.8",e.prototype.assertHasRealPosition=function(e){rA.assert(!hm(this.pos)&&!hm(this.end),e||"Node must have a real position for this operation")},e.prototype.getSourceFile=function(){return CF(this)},e.prototype.getStart=function(e,t){return this.assertHasRealPosition(),c_(this,e,t)},e.prototype.getFullStart=function(){return this.assertHasRealPosition(),this.pos},e.prototype.getEnd=function(){return this.assertHasRealPosition(),this.end},e.prototype.getWidth=function(e){return this.assertHasRealPosition(),this.getEnd()-this.getStart(e)},e.prototype.getFullWidth=function(){return this.assertHasRealPosition(),this.end-this.pos},e.prototype.getLeadingTriviaWidth=function(e){return this.assertHasRealPosition(),this.getStart(e)-this.pos},e.prototype.getFullText=function(e){return this.assertHasRealPosition(),(e||this.getSourceFile()).text.substring(this.pos,this.end)},e.prototype.getText=function(e){return this.assertHasRealPosition(),(e=e||this.getSourceFile()).text.substring(this.getStart(e),this.getEnd())},e.prototype.getChildCount=function(e){return this.getChildren(e).length},e.prototype.getChildAt=function(e,t){return this.getChildren(t)[e]},e.prototype.getChildren=function(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=c8(this,e))},e.prototype.getFirstToken=function(e){this.assertHasRealPosition();var t=this.getChildren(e);if(t.length){t=QN(t,function(e){return e.kind<316||357<e.kind});return t.kind<166?t:t.getFirstToken(e)}},e.prototype.getLastToken=function(e){this.assertHasRealPosition();var t=CD(this.getChildren(e));if(t)return t.kind<166?t:t.getLastToken(e)},e.prototype.forEachChild=function(e,t){return HB(this,e,t)},q4=e,t.prototype.getSourceFile=function(){return CF(this)},t.prototype.getStart=function(e,t){return c_(this,e,t)},t.prototype.getFullStart=function(){return this.pos},t.prototype.getEnd=function(){return this.end},t.prototype.getWidth=function(e){return this.getEnd()-this.getStart(e)},t.prototype.getFullWidth=function(){return this.end-this.pos},t.prototype.getLeadingTriviaWidth=function(e){return this.getStart(e)-this.pos},t.prototype.getFullText=function(e){return(e||this.getSourceFile()).text.substring(this.pos,this.end)},t.prototype.getText=function(e){return(e=e||this.getSourceFile()).text.substring(this.getStart(e),this.getEnd())},t.prototype.getChildCount=function(){return this.getChildren().length},t.prototype.getChildAt=function(e){return this.getChildren()[e]},t.prototype.getChildren=function(){return 1===this.kind&&this.jsDoc||WN},t.prototype.getFirstToken=function(){},t.prototype.getLastToken=function(){},t.prototype.forEachChild=function(){},W4=t,r.prototype.getFlags=function(){return this.flags},Object.defineProperty(r.prototype,"name",{get:function(){return RA(this)},enumerable:!1,configurable:!0}),r.prototype.getEscapedName=function(){return this.escapedName},r.prototype.getName=function(){return this.name},r.prototype.getDeclarations=function(){return this.declarations},r.prototype.getDocumentationComment=function(e){var t;return this.documentationComment||(this.documentationComment=WN,!this.declarations&&gF(this)&&this.links.target&&gF(this.links.target)&&this.links.target.links.tupleLabelDeclaration?(t=this.links.target.links.tupleLabelDeclaration,this.documentationComment=d8([t],e)):this.documentationComment=d8(this.declarations,e)),this.documentationComment},r.prototype.getContextualDocumentationComment=function(e,t){if(e){if(eF(e)&&(this.contextualGetAccessorDocumentationComment||(this.contextualGetAccessorDocumentationComment=d8(nD(this.declarations,eF),t)),HN(this.contextualGetAccessorDocumentationComment)))return this.contextualGetAccessorDocumentationComment;if($E(e)&&(this.contextualSetAccessorDocumentationComment||(this.contextualSetAccessorDocumentationComment=d8(nD(this.declarations,$E),t)),HN(this.contextualSetAccessorDocumentationComment)))return this.contextualSetAccessorDocumentationComment}return this.getDocumentationComment(t)},r.prototype.getJsDocTags=function(e){return void 0===this.tags&&(this.tags=l8(this.declarations,e)),this.tags},r.prototype.getContextualJsDocTags=function(e,t){if(e){if(eF(e)&&(this.contextualGetAccessorTags||(this.contextualGetAccessorTags=l8(nD(this.declarations,eF),t)),HN(this.contextualGetAccessorTags)))return this.contextualGetAccessorTags;if($E(e)&&(this.contextualSetAccessorTags||(this.contextualSetAccessorTags=l8(nD(this.declarations,$E),t)),HN(this.contextualSetAccessorTags)))return this.contextualSetAccessorTags}return this.getJsDocTags(t)},H4=r,__extends(n,a=W4),K4=n,__extends(c,i=W4),Object.defineProperty(c.prototype,"text",{get:function(){return LA(this)},enumerable:!1,configurable:!0}),(G4=c).prototype.kind=80,__extends(u,o=W4),Object.defineProperty(u.prototype,"text",{get:function(){return LA(this)},enumerable:!1,configurable:!0}),(X4=u).prototype.kind=81,_.prototype.getFlags=function(){return this.flags},_.prototype.getSymbol=function(){return this.symbol},_.prototype.getProperties=function(){return this.checker.getPropertiesOfType(this)},_.prototype.getProperty=function(e){return this.checker.getPropertyOfType(this,e)},_.prototype.getApparentProperties=function(){return this.checker.getAugmentedPropertiesOfType(this)},_.prototype.getCallSignatures=function(){return this.checker.getSignaturesOfType(this,0)},_.prototype.getConstructSignatures=function(){return this.checker.getSignaturesOfType(this,1)},_.prototype.getStringIndexType=function(){return this.checker.getIndexTypeOfType(this,0)},_.prototype.getNumberIndexType=function(){return this.checker.getIndexTypeOfType(this,1)},_.prototype.getBaseTypes=function(){return this.isClassOrInterface()?this.checker.getBaseTypes(this):void 0},_.prototype.isNullableType=function(){return this.checker.isNullableType(this)},_.prototype.getNonNullableType=function(){return this.checker.getNonNullableType(this)},_.prototype.getNonOptionalType=function(){return this.checker.getNonOptionalType(this)},_.prototype.getConstraint=function(){return this.checker.getBaseConstraintOfType(this)},_.prototype.getDefault=function(){return this.checker.getDefaultFromTypeParameter(this)},_.prototype.isUnion=function(){return!!(1048576&this.flags)},_.prototype.isIntersection=function(){return!!(2097152&this.flags)},_.prototype.isUnionOrIntersection=function(){return!!(3145728&this.flags)},_.prototype.isLiteral=function(){return!!(2432&this.flags)},_.prototype.isStringLiteral=function(){return!!(128&this.flags)},_.prototype.isNumberLiteral=function(){return!!(256&this.flags)},_.prototype.isTypeParameter=function(){return!!(262144&this.flags)},_.prototype.isClassOrInterface=function(){return!!(3&WL(this))},_.prototype.isClass=function(){return!!(1&WL(this))},_.prototype.isIndexType=function(){return!!(4194304&this.flags)},Object.defineProperty(_.prototype,"typeArguments",{get:function(){if(4&WL(this))return this.checker.getTypeArguments(this)},enumerable:!1,configurable:!0}),Q4=_,l.prototype.getDeclaration=function(){return this.declaration},l.prototype.getTypeParameters=function(){return this.typeParameters},l.prototype.getParameters=function(){return this.parameters},l.prototype.getReturnType=function(){return this.checker.getReturnTypeOfSignature(this)},l.prototype.getTypeParameterAtPosition=function(e){var t=this.checker.getParameterType(this,e);if(t.isIndexType()&&HM(t.type)){e=t.type.getConstraint();if(e)return this.checker.getIndexType(e)}return t},l.prototype.getDocumentationComment=function(){return this.documentationComment||(this.documentationComment=d8(eA(this.declaration),this.checker))},l.prototype.getJsDocTags=function(){return this.jsDocTags||(this.jsDocTags=l8(eA(this.declaration),this.checker))},Y4=l,__extends(d,s=q4),d.prototype.update=function(e,t){return Lb(this,e,t)},d.prototype.getLineAndCharacterOfPosition=function(e){return gA(this,e)},d.prototype.getLineStarts=function(){return Ii(this)},d.prototype.getPositionOfLineAndCharacter=function(e,t,r){return Pi(Ii(this),e,t,this.text,r)},d.prototype.getLineEndOfPosition=function(e){var t,r=this.getLineAndCharacterOfPosition(e).line,e=this.getLineStarts();r+1>=e.length&&(t=this.getEnd()),t=t||e[r+1]-1;r=this.getFullText();return"\n"===r[t]&&"\r"===r[t-1]?t-1:t},d.prototype.getNamedDeclarations=function(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations},d.prototype.computeNamedDeclarations=function(){var r=MD();return this.forEachChild(function e(t){switch(t.kind){case 262:case 218:case 174:case 173:var r,n=t,a=c(n);a&&(r=s(a),(a=CD(r))&&n.parent===a.parent&&n.symbol===a.symbol?n.body&&!a.body&&(r[r.length-1]=n):r.push(n)),HB(t,e);break;case 263:case 231:case 264:case 265:case 266:case 267:case 271:case 281:case 276:case 273:case 274:case 177:case 178:case 187:o(t),HB(t,e);break;case 169:if(!_L(t,16476))break;case 260:case 208:var n=t;if(PE(n.name)){HB(n.name,e);break}n.initializer&&e(n.initializer);case 306:case 172:case 171:o(t);break;case 278:var i=t;i.exportClause&&(Hj(i.exportClause)?KN(i.exportClause.elements,e):e(i.exportClause.name));break;case 272:var i=t.importClause;i&&(i.name&&o(i.name),i.namedBindings&&(274===i.namedBindings.kind?o(i.namedBindings):KN(i.namedBindings.elements,e)));break;case 226:0!==NI(t)&&o(t);default:HB(t,e)}}),r;function o(e){var t=c(e);t&&r.add(t,e)}function s(e){var t=r.get(e);return t||r.set(e,t=[]),t}function c(e){e=zo(e);return e&&(SR(e)&&aj(e.expression)?e.expression.name.text:xE(e)?GQ(e):void 0)}},Z4=d,f.prototype.getLineAndCharacterOfPosition=function(e){return gA(this,e)},$4=f,p.prototype.getCurrentSourceFile=function(e){var t,r=this.host.getScriptSnapshot(e);if(!r)throw new Error("Could not find file: '"+e+"'.");var n,a=XY(e,this.host),i=this.host.getScriptVersion(e);return this.currentFileName!==e?n=x8(e,r,{languageVersion:99,impliedNodeFormat:oq(Ja(e,this.host.getCurrentDirectory(),(null==(n=null==(n=(t=this.host).getCompilerHost)?void 0:n.call(t))?void 0:n.getCanonicalFileName)||hd(this.host)),null==(n=null==(t=null==(n=null==(n=(t=this.host).getCompilerHost)?void 0:n.call(t))?void 0:n.getModuleResolutionCache)?void 0:t.call(n))?void 0:n.getPackageJsonInfoCache(),this.host,this.host.getCompilationSettings()),setExternalModuleIndicator:Np(this.host.getCompilationSettings())},i,!0,a):this.currentFileVersion!==i&&(a=r.getChangeRange(this.currentFileScriptSnapshot),n=b8(this.currentSourceFile,r,i,a)),n&&(this.currentFileVersion=i,this.currentFileName=e,this.currentFileScriptSnapshot=r,this.currentSourceFile=n),this.currentSourceFile},e8=p,t8={isCancellationRequested:ar,throwIfCancellationRequested:fi},m.prototype.isCancellationRequested=function(){return this.cancellationToken.isCancellationRequested()},m.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested())throw null!=iA&&iA.instant(iA.Phase.Session,"cancellationThrown",{kind:"CancellationTokenObject"}),new mr},r8=m,y.prototype.isCancellationRequested=function(){var e=ht();return Math.abs(e-this.lastCancellationCheckTime)>=this.throttleWaitMilliseconds&&(this.lastCancellationCheckTime=e,this.hostCancellationToken.isCancellationRequested())},y.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested())throw null!=iA&&iA.instant(iA.Phase.Session,"cancellationThrown",{kind:"ThrottledCancellationToken"}),new mr},n8=y,i8=__spreadArray(__spreadArray([],__read(a8=["getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","provideInlayHints","getSupportedCodeFixes"]),!1),["getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors"],!1),fp({getNodeConstructor:function(){return q4},getTokenConstructor:function(){return K4},getIdentifierConstructor:function(){return G4},getPrivateIdentifierConstructor:function(){return X4},getSourceFileConstructor:function(){return Z4},getSymbolConstructor:function(){return H4},getTypeConstructor:function(){return Q4},getSignatureConstructor:function(){return Y4},getSourceMapSourceConstructor:function(){return $4}})}});function D8(e,t,r){var n=[];r=W0(r,n);e=RD(e)?e:[e],t=fU(void 0,void 0,uR,r,e,t,!0);return t.diagnostics=fD(t.diagnostics,n),t}var A8,E8,F8,P8,I8,O8,L8,M8,R8,j8=e({"src/services/transform.ts":function(){fpe()}});function B8(e,t){e&&e.log("*INTERNAL ERROR* - Exception in typescript services: "+t.message)}function J8(e,t,r,n){return z8(e,t,!0,r,n)}function z8(t,r,e,n,a){try{var i=function(e,t,r,n){n&&(e.log(t),a=ht());var a,r=r();return n&&(n=ht(),e.log("".concat(t," completed in ").concat(n-a," msec")),jD(r)&&(128<(a=r).length&&(a=a.substring(0,128)+"..."),e.log("  result.length=".concat(a.length,", result='").concat(JSON.stringify(a),"'")))),r}(t,r,n,a);return e?JSON.stringify({result:i}):i}catch(e){return e instanceof mr?JSON.stringify({canceled:!0}):(B8(t,e),e.description=r,JSON.stringify({error:e}))}}function U8(e,r){return e.map(function(e){return t=r,{message:BV((e=e).messageText,t),start:e.start,length:e.length,category:Fn(e),code:e.code,reportsUnnecessary:e.reportsUnnecessary,reportsDeprecated:e.reportsDeprecated};var t})}function V8(e){return{spans:e.spans.join(","),endOfLineState:e.endOfLineState}}var q8=e({"src/services/shims.ts":function(){function e(e){this.scriptSnapshotShim=e}function t(e){var n=this;this.shimHost=e,this.loggingEnabled=!1,this.tracingEnabled=!1,"getModuleResolutionsForFile"in this.shimHost&&(this.resolveModuleNames=function(e,t){var r=JSON.parse(n.shimHost.getModuleResolutionsForFile(t));return iD(e,function(e){e=J(r,e);return e?{resolvedFileName:e,extension:bm(e),isExternalLibraryImport:!1}:void 0})}),"directoryExists"in this.shimHost&&(this.directoryExists=function(e){return n.shimHost.directoryExists(e)}),"getTypeReferenceDirectiveResolutionsForFile"in this.shimHost&&(this.resolveTypeReferenceDirectives=function(e,t){var r=JSON.parse(n.shimHost.getTypeReferenceDirectiveResolutionsForFile(t));return iD(e,function(e){return J(r,jD(e)?e:or(e.fileName))})})}function r(e){var t=this;this.shimHost=e,this.useCaseSensitiveFileNames=!!this.shimHost.useCaseSensitiveFileNames&&this.shimHost.useCaseSensitiveFileNames(),"directoryExists"in this.shimHost?this.directoryExists=function(e){return t.shimHost.directoryExists(e)}:this.directoryExists=void 0,"realpath"in this.shimHost?this.realpath=function(e){return t.shimHost.realpath(e)}:this.realpath=void 0}function n(e){(this.factory=e).registerShim(this)}function a(e,t,r){e=i.call(this,e)||this;return e.host=t,e.languageService=r,e.logPerformance=!1,e.logger=e.host,e}var i,o,s;function c(e,t){e=o.call(this,e)||this;return e.logger=t,e.logPerformance=!1,e.classifier=D$(),e}function u(e,t,r){e=s.call(this,e)||this;return e.logger=t,e.host=r,e.logPerformance=!1,e}function _(){this._shims=[]}fpe(),A8=function(){return this}(),e.prototype.getText=function(e,t){return this.scriptSnapshotShim.getText(e,t)},e.prototype.getLength=function(){return this.scriptSnapshotShim.getLength()},e.prototype.getChangeRange=function(e){e=this.scriptSnapshotShim.getChangeRange(e.scriptSnapshotShim);if(null===e)return null;e=JSON.parse(e);return Do(So(e.span.start,e.span.length),e.newLength)},e.prototype.dispose=function(){"dispose"in this.scriptSnapshotShim&&this.scriptSnapshotShim.dispose()},E8=e,t.prototype.log=function(e){this.loggingEnabled&&this.shimHost.log(e)},t.prototype.trace=function(e){this.tracingEnabled&&this.shimHost.trace(e)},t.prototype.error=function(e){this.shimHost.error(e)},t.prototype.getProjectVersion=function(){if(this.shimHost.getProjectVersion)return this.shimHost.getProjectVersion()},t.prototype.getTypeRootsVersion=function(){return this.shimHost.getTypeRootsVersion?this.shimHost.getTypeRootsVersion():0},t.prototype.useCaseSensitiveFileNames=function(){return!!this.shimHost.useCaseSensitiveFileNames&&this.shimHost.useCaseSensitiveFileNames()},t.prototype.getCompilationSettings=function(){var e=this.shimHost.getCompilationSettings();if(null===e||""===e)throw Error("LanguageServiceShimHostAdapter.getCompilationSettings: empty compilationSettings");e=JSON.parse(e);return e.allowNonTsExtensions=!0,e},t.prototype.getScriptFileNames=function(){var e=this.shimHost.getScriptFileNames();return JSON.parse(e)},t.prototype.getScriptSnapshot=function(e){e=this.shimHost.getScriptSnapshot(e);return e&&new E8(e)},t.prototype.getScriptKind=function(e){return"getScriptKind"in this.shimHost?this.shimHost.getScriptKind(e):0},t.prototype.getScriptVersion=function(e){return this.shimHost.getScriptVersion(e)},t.prototype.getLocalizedDiagnosticMessages=function(){var 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}},t.prototype.getCancellationToken=function(){var e=this.shimHost.getCancellationToken();return new n8(e)},t.prototype.getCurrentDirectory=function(){return this.shimHost.getCurrentDirectory()},t.prototype.getDirectories=function(e){return JSON.parse(this.shimHost.getDirectories(e))},t.prototype.getDefaultLibFileName=function(e){return this.shimHost.getDefaultLibFileName(JSON.stringify(e))},t.prototype.readDirectory=function(e,t,r,n,a){n=em(e,r,n,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(e,JSON.stringify(t),JSON.stringify(n.basePaths),n.excludePattern,n.includeFilePattern,n.includeDirectoryPattern,a))},t.prototype.readFile=function(e,t){return this.shimHost.readFile(e,t)},t.prototype.fileExists=function(e){return this.shimHost.fileExists(e)},F8=t,r.prototype.readDirectory=function(e,t,r,n,a){n=em(e,r,n,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(e,JSON.stringify(t),JSON.stringify(n.basePaths),n.excludePattern,n.includeFilePattern,n.includeDirectoryPattern,a))},r.prototype.fileExists=function(e){return this.shimHost.fileExists(e)},r.prototype.readFile=function(e){return this.shimHost.readFile(e)},r.prototype.getDirectories=function(e){return JSON.parse(this.shimHost.getDirectories(e))},P8=r,n.prototype.dispose=function(e){this.factory.unregisterShim(this)},__extends(a,i=I8=n),a.prototype.forwardJSONCall=function(e,t){return J8(this.logger,e,t,this.logPerformance)},a.prototype.dispose=function(e){this.logger.log("dispose()"),this.languageService.dispose(),this.languageService=null,A8&&A8.CollectGarbage&&(A8.CollectGarbage(),this.logger.log("CollectGarbage()")),this.logger=null,i.prototype.dispose.call(this,e)},a.prototype.refresh=function(e){this.forwardJSONCall("refresh(".concat(e,")"),function(){return null})},a.prototype.cleanupSemanticCache=function(){var e=this;this.forwardJSONCall("cleanupSemanticCache()",function(){return e.languageService.cleanupSemanticCache(),null})},a.prototype.realizeDiagnostics=function(e){return U8(e,zY(this.host,void 0))},a.prototype.getSyntacticClassifications=function(e,t,r){var n=this;return this.forwardJSONCall("getSyntacticClassifications('".concat(e,"', ").concat(t,", ").concat(r,")"),function(){return n.languageService.getSyntacticClassifications(e,So(t,r))})},a.prototype.getSemanticClassifications=function(e,t,r){var n=this;return this.forwardJSONCall("getSemanticClassifications('".concat(e,"', ").concat(t,", ").concat(r,")"),function(){return n.languageService.getSemanticClassifications(e,So(t,r))})},a.prototype.getEncodedSyntacticClassifications=function(e,t,r){var n=this;return this.forwardJSONCall("getEncodedSyntacticClassifications('".concat(e,"', ").concat(t,", ").concat(r,")"),function(){return V8(n.languageService.getEncodedSyntacticClassifications(e,So(t,r)))})},a.prototype.getEncodedSemanticClassifications=function(e,t,r){var n=this;return this.forwardJSONCall("getEncodedSemanticClassifications('".concat(e,"', ").concat(t,", ").concat(r,")"),function(){return V8(n.languageService.getEncodedSemanticClassifications(e,So(t,r)))})},a.prototype.getSyntacticDiagnostics=function(t){var r=this;return this.forwardJSONCall("getSyntacticDiagnostics('".concat(t,"')"),function(){var e=r.languageService.getSyntacticDiagnostics(t);return r.realizeDiagnostics(e)})},a.prototype.getSemanticDiagnostics=function(t){var r=this;return this.forwardJSONCall("getSemanticDiagnostics('".concat(t,"')"),function(){var e=r.languageService.getSemanticDiagnostics(t);return r.realizeDiagnostics(e)})},a.prototype.getSuggestionDiagnostics=function(e){var t=this;return this.forwardJSONCall("getSuggestionDiagnostics('".concat(e,"')"),function(){return t.realizeDiagnostics(t.languageService.getSuggestionDiagnostics(e))})},a.prototype.getCompilerOptionsDiagnostics=function(){var t=this;return this.forwardJSONCall("getCompilerOptionsDiagnostics()",function(){var e=t.languageService.getCompilerOptionsDiagnostics();return t.realizeDiagnostics(e)})},a.prototype.getQuickInfoAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getQuickInfoAtPosition('".concat(e,"', ").concat(t,")"),function(){return r.languageService.getQuickInfoAtPosition(e,t)})},a.prototype.getNameOrDottedNameSpan=function(e,t,r){var n=this;return this.forwardJSONCall("getNameOrDottedNameSpan('".concat(e,"', ").concat(t,", ").concat(r,")"),function(){return n.languageService.getNameOrDottedNameSpan(e,t,r)})},a.prototype.getBreakpointStatementAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getBreakpointStatementAtPosition('".concat(e,"', ").concat(t,")"),function(){return r.languageService.getBreakpointStatementAtPosition(e,t)})},a.prototype.getSignatureHelpItems=function(e,t,r){var n=this;return this.forwardJSONCall("getSignatureHelpItems('".concat(e,"', ").concat(t,")"),function(){return n.languageService.getSignatureHelpItems(e,t,r)})},a.prototype.getDefinitionAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getDefinitionAtPosition('".concat(e,"', ").concat(t,")"),function(){return r.languageService.getDefinitionAtPosition(e,t)})},a.prototype.getDefinitionAndBoundSpan=function(e,t){var r=this;return this.forwardJSONCall("getDefinitionAndBoundSpan('".concat(e,"', ").concat(t,")"),function(){return r.languageService.getDefinitionAndBoundSpan(e,t)})},a.prototype.getTypeDefinitionAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getTypeDefinitionAtPosition('".concat(e,"', ").concat(t,")"),function(){return r.languageService.getTypeDefinitionAtPosition(e,t)})},a.prototype.getImplementationAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getImplementationAtPosition('".concat(e,"', ").concat(t,")"),function(){return r.languageService.getImplementationAtPosition(e,t)})},a.prototype.getRenameInfo=function(e,t,r){var n=this;return this.forwardJSONCall("getRenameInfo('".concat(e,"', ").concat(t,")"),function(){return n.languageService.getRenameInfo(e,t,r)})},a.prototype.getSmartSelectionRange=function(e,t){var r=this;return this.forwardJSONCall("getSmartSelectionRange('".concat(e,"', ").concat(t,")"),function(){return r.languageService.getSmartSelectionRange(e,t)})},a.prototype.findRenameLocations=function(e,t,r,n,a){var i=this;return this.forwardJSONCall("findRenameLocations('".concat(e,"', ").concat(t,", ").concat(r,", ").concat(n,")"),function(){return i.languageService.findRenameLocations(e,t,r,n,a)})},a.prototype.getBraceMatchingAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getBraceMatchingAtPosition('".concat(e,"', ").concat(t,")"),function(){return r.languageService.getBraceMatchingAtPosition(e,t)})},a.prototype.isValidBraceCompletionAtPosition=function(e,t,r){var n=this;return this.forwardJSONCall("isValidBraceCompletionAtPosition('".concat(e,"', ").concat(t,", ").concat(r,")"),function(){return n.languageService.isValidBraceCompletionAtPosition(e,t,r)})},a.prototype.getSpanOfEnclosingComment=function(e,t,r){var n=this;return this.forwardJSONCall("getSpanOfEnclosingComment('".concat(e,"', ").concat(t,")"),function(){return n.languageService.getSpanOfEnclosingComment(e,t,r)})},a.prototype.getIndentationAtPosition=function(t,r,n){var a=this;return this.forwardJSONCall("getIndentationAtPosition('".concat(t,"', ").concat(r,")"),function(){var e=JSON.parse(n);return a.languageService.getIndentationAtPosition(t,r,e)})},a.prototype.getReferencesAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getReferencesAtPosition('".concat(e,"', ").concat(t,")"),function(){return r.languageService.getReferencesAtPosition(e,t)})},a.prototype.findReferences=function(e,t){var r=this;return this.forwardJSONCall("findReferences('".concat(e,"', ").concat(t,")"),function(){return r.languageService.findReferences(e,t)})},a.prototype.getFileReferences=function(e){var t=this;return this.forwardJSONCall("getFileReferences('".concat(e,")"),function(){return t.languageService.getFileReferences(e)})},a.prototype.getDocumentHighlights=function(r,n,a){var i=this;return this.forwardJSONCall("getDocumentHighlights('".concat(r,"', ").concat(n,")"),function(){var e=i.languageService.getDocumentHighlights(r,n,JSON.parse(a)),t=or(La(r));return nD(e,function(e){return or(La(e.fileName))===t})})},a.prototype.getCompletionsAtPosition=function(e,t,r,n){var a=this;return this.forwardJSONCall("getCompletionsAtPosition('".concat(e,"', ").concat(t,", ").concat(r,", ").concat(n,")"),function(){return a.languageService.getCompletionsAtPosition(e,t,r,n)})},a.prototype.getCompletionEntryDetails=function(t,r,n,a,i,o,s){var c=this;return this.forwardJSONCall("getCompletionEntryDetails('".concat(t,"', ").concat(r,", '").concat(n,"')"),function(){var e=void 0===a?void 0:JSON.parse(a);return c.languageService.getCompletionEntryDetails(t,r,n,e,i,o,s)})},a.prototype.getFormattingEditsForRange=function(t,r,n,a){var i=this;return this.forwardJSONCall("getFormattingEditsForRange('".concat(t,"', ").concat(r,", ").concat(n,")"),function(){var e=JSON.parse(a);return i.languageService.getFormattingEditsForRange(t,r,n,e)})},a.prototype.getFormattingEditsForDocument=function(t,r){var n=this;return this.forwardJSONCall("getFormattingEditsForDocument('".concat(t,"')"),function(){var e=JSON.parse(r);return n.languageService.getFormattingEditsForDocument(t,e)})},a.prototype.getFormattingEditsAfterKeystroke=function(t,r,n,a){var i=this;return this.forwardJSONCall("getFormattingEditsAfterKeystroke('".concat(t,"', ").concat(r,", '").concat(n,"')"),function(){var e=JSON.parse(a);return i.languageService.getFormattingEditsAfterKeystroke(t,r,n,e)})},a.prototype.getDocCommentTemplateAtPosition=function(e,t,r,n){var a=this;return this.forwardJSONCall("getDocCommentTemplateAtPosition('".concat(e,"', ").concat(t,")"),function(){return a.languageService.getDocCommentTemplateAtPosition(e,t,r,n)})},a.prototype.getNavigateToItems=function(e,t,r){var n=this;return this.forwardJSONCall("getNavigateToItems('".concat(e,"', ").concat(t,", ").concat(r,")"),function(){return n.languageService.getNavigateToItems(e,t,r)})},a.prototype.getNavigationBarItems=function(e){var t=this;return this.forwardJSONCall("getNavigationBarItems('".concat(e,"')"),function(){return t.languageService.getNavigationBarItems(e)})},a.prototype.getNavigationTree=function(e){var t=this;return this.forwardJSONCall("getNavigationTree('".concat(e,"')"),function(){return t.languageService.getNavigationTree(e)})},a.prototype.getOutliningSpans=function(e){var t=this;return this.forwardJSONCall("getOutliningSpans('".concat(e,"')"),function(){return t.languageService.getOutliningSpans(e)})},a.prototype.getTodoComments=function(e,t){var r=this;return this.forwardJSONCall("getTodoComments('".concat(e,"')"),function(){return r.languageService.getTodoComments(e,JSON.parse(t))})},a.prototype.prepareCallHierarchy=function(e,t){var r=this;return this.forwardJSONCall("prepareCallHierarchy('".concat(e,"', ").concat(t,")"),function(){return r.languageService.prepareCallHierarchy(e,t)})},a.prototype.provideCallHierarchyIncomingCalls=function(e,t){var r=this;return this.forwardJSONCall("provideCallHierarchyIncomingCalls('".concat(e,"', ").concat(t,")"),function(){return r.languageService.provideCallHierarchyIncomingCalls(e,t)})},a.prototype.provideCallHierarchyOutgoingCalls=function(e,t){var r=this;return this.forwardJSONCall("provideCallHierarchyOutgoingCalls('".concat(e,"', ").concat(t,")"),function(){return r.languageService.provideCallHierarchyOutgoingCalls(e,t)})},a.prototype.provideInlayHints=function(e,t,r){var n=this;return this.forwardJSONCall("provideInlayHints('".concat(e,"', '").concat(JSON.stringify(t),"', ").concat(JSON.stringify(r),")"),function(){return n.languageService.provideInlayHints(e,t,r)})},a.prototype.getEmitOutput=function(r){var n=this;return this.forwardJSONCall("getEmitOutput('".concat(r,"')"),function(){var e=n.languageService.getEmitOutput(r),t=e.diagnostics,e=__rest(e,["diagnostics"]);return __assign(__assign({},e),{diagnostics:n.realizeDiagnostics(t)})})},a.prototype.getEmitOutputObject=function(e){var t=this;return z8(this.logger,"getEmitOutput('".concat(e,"')"),!1,function(){return t.languageService.getEmitOutput(e)},this.logPerformance)},a.prototype.toggleLineComment=function(e,t){var r=this;return this.forwardJSONCall("toggleLineComment('".concat(e,"', '").concat(JSON.stringify(t),"')"),function(){return r.languageService.toggleLineComment(e,t)})},a.prototype.toggleMultilineComment=function(e,t){var r=this;return this.forwardJSONCall("toggleMultilineComment('".concat(e,"', '").concat(JSON.stringify(t),"')"),function(){return r.languageService.toggleMultilineComment(e,t)})},a.prototype.commentSelection=function(e,t){var r=this;return this.forwardJSONCall("commentSelection('".concat(e,"', '").concat(JSON.stringify(t),"')"),function(){return r.languageService.commentSelection(e,t)})},a.prototype.uncommentSelection=function(e,t){var r=this;return this.forwardJSONCall("uncommentSelection('".concat(e,"', '").concat(JSON.stringify(t),"')"),function(){return r.languageService.uncommentSelection(e,t)})},O8=a,__extends(c,o=I8),c.prototype.getEncodedLexicalClassifications=function(e,t,r){var n=this;return void 0===r&&(r=!1),J8(this.logger,"getEncodedLexicalClassifications",function(){return V8(n.classifier.getEncodedLexicalClassifications(e,t,r))},this.logPerformance)},c.prototype.getClassificationsForLine=function(e,t,r){var n,a;void 0===r&&(r=!1);var i=this.classifier.getClassificationsForLine(e,t,r),o="";try{for(var s=__values(i.entries),c=s.next();!c.done;c=s.next()){var u=c.value;o+=u.length+"\n",o+=u.classification+"\n"}}catch(e){n={error:e}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(n)throw n.error}}return o+=i.finalLexState},L8=c,__extends(u,s=I8),u.prototype.forwardJSONCall=function(e,t){return J8(this.logger,e,t,this.logPerformance)},u.prototype.resolveModuleName=function(r,n,a){var i=this;return this.forwardJSONCall("resolveModuleName('".concat(r,"')"),function(){var e=JSON.parse(a),t=JS(n,La(r),e,i.host),e=t.resolvedModule?t.resolvedModule.resolvedFileName:void 0;return t.resolvedModule&&".ts"!==t.resolvedModule.extension&&".tsx"!==t.resolvedModule.extension&&".d.ts"!==t.resolvedModule.extension&&(e=void 0),{resolvedFileName:e,failedLookupLocations:t.failedLookupLocations,affectingLocations:t.affectingLocations}})},u.prototype.resolveTypeReferenceDirective=function(t,r,n){var a=this;return this.forwardJSONCall("resolveTypeReferenceDirective(".concat(t,")"),function(){var e=JSON.parse(n),e=hS(r,La(t),e,a.host);return{resolvedFileName:e.resolvedTypeReferenceDirective?e.resolvedTypeReferenceDirective.resolvedFileName:void 0,primary:!e.resolvedTypeReferenceDirective||e.resolvedTypeReferenceDirective.primary,failedLookupLocations:e.failedLookupLocations}})},u.prototype.getPreProcessedFileInfo=function(e,t){var r=this;return this.forwardJSONCall("getPreProcessedFileInfo('".concat(e,"')"),function(){var e=b0(WQ(t),!0,!0);return{referencedFiles:r.convertFileReferences(e.referencedFiles),importedFiles:r.convertFileReferences(e.importedFiles),ambientExternalModules:e.ambientExternalModules,isLibFile:e.isLibFile,typeReferenceDirectives:r.convertFileReferences(e.typeReferenceDirectives),libReferenceDirectives:r.convertFileReferences(e.libReferenceDirectives)}})},u.prototype.getAutomaticTypeDirectiveNames=function(e){var t=this;return this.forwardJSONCall("getAutomaticTypeDirectiveNames('".concat(e,"')"),function(){return TS(JSON.parse(e),t.host)})},u.prototype.convertFileReferences=function(e){var t,r;if(e){var n=[];try{for(var a=__values(e),i=a.next();!i.done;i=a.next()){var o=i.value;n.push({path:La(o.fileName),position:o.pos,length:o.end-o.pos})}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n}},u.prototype.getTSConfigFileInfo=function(r,n){var a=this;return this.forwardJSONCall("getTSConfigFileInfo('".concat(r,"')"),function(){var e=Ob(r,WQ(n)),t=La(r),t=yT(e,a.host,lA(t),{},t);return{options:t.options,typeAcquisition:t.typeAcquisition,files:t.fileNames,raw:t.raw,errors:U8(__spreadArray(__spreadArray([],__read(e.parseDiagnostics),!1),__read(t.errors),!1),"\r\n")}})},u.prototype.getDefaultCompilationSettings=function(){return this.forwardJSONCall("getDefaultCompilationSettings()",v8)},u.prototype.discoverTypings=function(t){var r=this,n=or;return this.forwardJSONCall("discoverTypings()",function(){var e=JSON.parse(t);return void 0===r.safeList&&(r.safeList=HK.loadSafeList(r.host,Ja(e.safeListPath,e.safeListPath,n))),HK.discoverTypings(r.host,function(e){return r.logger.log(e)},e.fileNames,Ja(e.projectRootPath,e.projectRootPath,n),r.safeList,e.packageNameToTypingLocation,e.typeAcquisition,e.unresolvedImports,e.typesRegistry,fG)})},M8=u,_.prototype.getServicesVersion=function(){return V4},_.prototype.createLanguageServiceShim=function(t){try{void 0===this.documentRegistry&&(this.documentRegistry=J$(t.useCaseSensitiveFileNames&&t.useCaseSensitiveFileNames(),t.getCurrentDirectory()));var e=k8(new F8(t),this.documentRegistry,!1);return new O8(this,t,e)}catch(e){throw B8(t,e),e}},_.prototype.createClassifierShim=function(t){try{return new L8(this,t)}catch(e){throw B8(t,e),e}},_.prototype.createCoreServicesShim=function(t){try{var e=new P8(t);return new M8(this,t,e)}catch(e){throw B8(t,e),e}},_.prototype.close=function(){aD(this._shims),this.documentRegistry=void 0},_.prototype.registerShim=function(e){this._shims.push(e)},_.prototype.unregisterShim=function(e){for(var t=0;t<this._shims.length;t++)if(this._shims[t]===e)return void delete this._shims[t];throw new Error("Invalid operation")},R8=_}});function W8(g,e){if(!g.isDeclarationFile){var t=QX(g,e),r=g.getLineAndCharacterOfPosition(e).line;if(g.getLineAndCharacterOfPosition(t.getStart(g)).line>r){e=tQ(t.pos,g);if(!e||g.getLineAndCharacterOfPosition(e.getEnd()).line!==r)return;t=e}if(!(33554432&t.flags))return S(t)}function h(e,t){var r=qB(e)?YN(e.modifiers,NR):void 0;return wo(r?xA(g.text,r.end):e.getStart(g),(t||e).getEnd())}function x(e,t){return h(e,eQ(t,t.parent,g))}function b(e,t){return e&&r===g.getLineAndCharacterOfPosition(e.getStart(g)).line?S(e):S(t)}function k(e){return S(tQ(e.pos,g))}function T(e){return S(eQ(e,e.parent,g))}function S(e){if(e){var t=e.parent;switch(e.kind){case 243:return l(e.declarationList.declarations[0]);case 260:case 172:case 171:return l(e);case 169:return function e(t){{if(PE(t.name))return y(t.name);if(d(t))return h(t);var r=t.parent,t=r.parameters.indexOf(t);return rA.assert(-1!==t),0!==t?e(r.parameters[t-1]):S(r.body)}}(e);case 262:case 174:case 173:case 177:case 178:case 176:case 218:case 219:return function(e){if(!e.body)return;if(f(e))return h(e);return S(e.body)}(e);case 241:if(X_(e))return function(e){var t=e.statements.length?e.statements[0]:e.getLastToken();if(f(e.parent))return b(e.parent,t);return S(t)}(e);case 268:return p(e);case 299:return p(e.block);case 244:return h(e.expression);case 253:return h(e.getChildAt(0),e.expression);case 247:return x(e,e.expression);case 246:return S(e.statement);case 259:return h(e.getChildAt(0));case 245:return x(e,e.expression);case 256:return S(e.statement);case 252:case 251:return h(e.getChildAt(0),e.label);case 248:return function(e){if(e.initializer)return m(e);if(e.condition)return h(e.condition);if(e.incrementor)return h(e.incrementor)}(e);case 249:return x(e,e.expression);case 250:return m(e);case 255:return x(e,e.expression);case 296:case 297:return S(e.statements[0]);case 258:return p(e.tryBlock);case 257:case 277:return h(e,e.expression);case 271:return h(e,e.moduleReference);case 272:case 278:return h(e,e.moduleSpecifier);case 267:if(1!==$B(e))return;case 263:case 266:case 306:case 208:return h(e);case 254:return S(e.statement);case 170:return function(e,t,r){if(e){var n=e.indexOf(t);if(0<=n){for(var a=n,i=n+1;0<a&&r(e[a-1]);)a--;for(;i<e.length&&r(e[i]);)i++;return wo(xA(g.text,e[a].pos),e[i-1].end)}}return h(t)}(t.modifiers,e,NR);case 206:case 207:return y(e);case 264:case 265:return;case 27:case 1:return b(tQ(e.pos,g));case 28:return k(e);case 19:return function(e){switch(e.parent.kind){case 266:var t=e.parent;return b(tQ(e.pos,g,e.parent),t.members.length?t.members[0]:t.getLastToken(g));case 263:t=e.parent;return b(tQ(e.pos,g,e.parent),t.members.length?t.members[0]:t.getLastToken(g));case 269:return b(e.parent.parent,e.parent.clauses[0])}return S(e.parent)}(e);case 20:return function(e){switch(e.parent.kind){case 268:if(1!==$B(e.parent.parent))return;case 266:case 263:return h(e);case 241:if(X_(e.parent))return h(e);case 299:return S(CD(e.parent.statements));case 269:var t=CD(e.parent.clauses);return t?S(CD(t.statements)):void 0;case 206:var r=e.parent;return S(CD(r.elements)||r);default:if(DQ(e.parent)){r=e.parent;return h(CD(r.properties)||r)}return S(e.parent)}}(e);case 24:return function(e){{if(207===e.parent.kind){var t=e.parent;return h(CD(t.elements)||t)}if(DQ(e.parent)){t=e.parent;return h(CD(t.elements)||t)}return S(e.parent)}}(e);case 21:return 246!==(u=e).parent.kind&&213!==u.parent.kind&&214!==u.parent.kind?217!==u.parent.kind?S(u.parent):T(u):k(u);case 22:return function(e){switch(e.parent.kind){case 218:case 262:case 219:case 174:case 173:case 177:case 178:case 176:case 247:case 246:case 248:case 250:case 213:case 214:case 217:return k(e);default:return S(e.parent)}}(e);case 59:return function(e){if(bE(e.parent)||303===e.parent.kind||169===e.parent.kind)return k(e);return S(e.parent)}(e);case 32:case 30:return 216!==(c=e).parent.kind?S(c.parent):T(c);case 117:return 246!==(s=e).parent.kind?S(s.parent):x(s,s.parent.expression);case 93:case 85:case 98:return T(e);case 165:return 250!==(o=e).parent.kind?S(o.parent):T(o);default:if(DQ(e))return v(e);if((80===e.kind||230===e.kind||303===e.kind||304===e.kind)&&DQ(t))return h(e);if(226===e.kind){var r=e.left,n=e.operatorToken;if(DQ(r))return v(r);if(64===n.kind&&DQ(e.parent))return h(e);if(28===n.kind)return S(r)}if($P(e))switch(t.kind){case 246:return k(e);case 170:return S(e.parent);case 248:case 250:return h(e);case 226:if(28===e.parent.operatorToken.kind)return h(e);break;case 219:if(e.parent.body===e)return h(e)}switch(e.parent.kind){case 303:if(e.parent.name===e&&!DQ(e.parent.parent))return S(e.parent.initializer);break;case 216:if(e.parent.type===e)return T(e.parent.type);break;case 260:case 169:var a=e.parent,i=a.initializer,a=a.type;if(i===e||a===e||wL(e.kind))return k(e);break;case 226:if(DQ(r=e.parent.left)&&e!==r)return k(e);break;default:if(bE(e.parent)&&e.parent.type===e)return k(e)}return S(e.parent)}}var o,s,c,u;function _(e){return Ej(e.parent)&&e.parent.declarations[0]===e?h(tQ(e.pos,g,e.parent),e):h(e)}function l(e){if(249===e.parent.parent.kind)return S(e.parent.parent);var t=e.parent;return PE(e.name)?y(e.name):aF(e)&&e.initializer||_L(e,1)||250===t.parent.kind?_(e):Ej(e.parent)&&e.parent.declarations[0]!==e?S(tQ(e.pos,g,e.parent)):void 0}function d(e){return e.initializer||void 0!==e.dotDotDotToken||_L(e,12)}function f(e){return _L(e,1)||263===e.parent.kind&&176!==e.kind}function p(e){switch(e.parent.kind){case 267:if(1!==$B(e.parent))return;case 247:case 245:case 249:return b(e.parent,e.statements[0]);case 248:case 250:return b(tQ(e.pos,g,e.parent),e.statements[0])}return S(e.statements[0])}function m(e){if(261!==e.initializer.kind)return S(e.initializer);e=e.initializer;return 0<e.declarations.length?S(e.declarations[0]):void 0}function y(e){var t=KN(e.elements,function(e){return 232!==e.kind?e:void 0});return t?S(t):(208===e.parent.kind?h:_)(e.parent)}function v(e){rA.assert(207!==e.kind&&206!==e.kind);var t=KN(209===e.kind?e.elements:e.properties,function(e){return 232!==e.kind?e:void 0});return t?S(t):h(226===e.parent.kind?e.parent:e)}}}var H8=e({"src/services/breakpoints.ts":function(){fpe()}}),K8={};t(K8,{spanInSourceFileAtLocation:function(){return W8}});var G8=e({"src/services/_namespaces/ts.BreakpointResolver.ts":function(){H8()}});function X8(e){return(_j(e)||lj(e)||vj(e))&&Aj(e.parent)&&e===e.parent.initializer&&xR(e.parent.name)&&!!(2&AA(e.parent))}function Q8(e){return uB(e)||Mj(e)||Fj(e)||_j(e)||Pj(e)||vj(e)||PR(e)||FR(e)||ER(e)||OR(e)||LR(e)}function Y8(e){return uB(e)||Mj(e)&&xR(e.name)||Fj(e)||Pj(e)||PR(e)||FR(e)||ER(e)||OR(e)||LR(e)||(_j(t=e)||vj(t))&&BA(t)||X8(e);var t}function Z8(e){return uB(e)?e:BA(e)?e.name:X8(e)?e.parent.name:rA.checkDefined(e.modifiers&&QN(e.modifiers,$8))}function $8(e){return 90===e.kind}function e7(e,t){t=Z8(t);return t&&e.getSymbolAtLocation(t)}function t7(e,t){if(t.body)return t;if(IR(t))return XO(t.parent);if(Fj(t)||FR(t)){e=e7(e,t);return e&&e.valueDeclaration&&TE(e.valueDeclaration)&&e.valueDeclaration.body?e.valueDeclaration:void 0}return t}function r7(e,t){var r,n,a,i=e7(e,t);if(i&&i.declarations){var t=pD(i.declarations),o=iD(i.declarations,function(e){return{file:e.getSourceFile().fileName,pos:e.pos}});t.sort(function(e,t){return ge(o[e].file,o[t].file)||o[e].pos-o[t].pos});var s=iD(t,function(e){return i.declarations[e]}),c=void 0;try{for(var u=__values(s),_=u.next();!_.done;_=u.next()){var l=_.value;Y8(l)&&(c&&c.parent===l.parent&&c.end===l.pos||(a=vD(a,l)),c=l)}}catch(e){r={error:e}}finally{try{_&&!_.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}}return a}function n7(e,t){var r;return PR(t)?t:TE(t)?null!==(r=null!==(r=t7(e,t))&&void 0!==r?r:r7(e,t))&&void 0!==r?r:t:null!==(e=r7(e,t))&&void 0!==e?e:t}function a7(e,t){for(var r,n=e.getTypeChecker(),a=!1;;){if(Y8(t))return n7(n,t);if(Q8(t))return(r=FA(t,Y8))&&n7(n,r);if(uO(t))return Y8(t.parent)?n7(n,t.parent):Q8(t.parent)?(r=FA(t.parent,Y8))&&n7(n,r):Aj(t.parent)&&t.parent.initializer&&X8(t.parent.initializer)?t.parent.initializer:void 0;if(IR(t))return Y8(t.parent)?t.parent:void 0;if(126!==t.kind||!PR(t.parent)){if(Aj(t)&&t.initializer&&X8(t.initializer))return t.initializer;if(!a){var i=n.getSymbolAtLocation(t);if(i&&(2097152&i.flags&&(i=n.getAliasedSymbol(i)),i.valueDeclaration)){a=!0,t=i.valueDeclaration;continue}}return}t=t.parent}}function i7(e,t){var r=t.getSourceFile(),n=function(e,t){if(uB(t))return{text:t.fileName,pos:0,end:0};if((Fj(t)||Pj(t))&&!BA(t)){var r=t.modifiers&&QN(t.modifiers,$8);if(r)return{text:"default",pos:r.getStart(),end:r.getEnd()}}if(PR(t)){var n=xA(t.getSourceFile().text,kf(t).pos),a=n+6,r=(o=(i=e.getTypeChecker()).getSymbolAtLocation(t.parent))?"".concat(i.symbolToString(o,t.parent)," "):"";return{text:"".concat(r,"static {}"),pos:n,end:a}}var i,o,s,n=X8(t)?t.parent.name:rA.checkDefined(JA(t),"Expected call hierarchy item to have a name");return void 0===(a=xR(n)?LA(n):SO(n)?n.text:SR(n)&&SO(n.expression)?n.expression.text:void 0)&&(o=(i=e.getTypeChecker()).getSymbolAtLocation(n))&&(a=i.symbolToString(o,t)),void 0===a&&(s=hU(),a=kF(function(e){return s.writeNode(4,t,t.getSourceFile(),e)})),{text:a,pos:n.getStart(),end:n.getEnd()}}(e,t),a=function(e){var t;if(X8(e))return Rj(e.parent.parent.parent.parent)&&xR(e.parent.parent.parent.parent.parent.name)?e.parent.parent.parent.parent.parent.name.getText():void 0;switch(e.kind){case 177:case 178:case 174:return 210===e.parent.kind?null==(t=Uo(e.parent))?void 0:t.getText():null==(t=JA(e.parent))?void 0:t.getText();case 262:case 263:case 267:if(Rj(e.parent)&&xR(e.parent.parent.name))return e.parent.parent.name.getText()}}(t),i=xX(t),o=hQ(t),e=wo(xA(r.text,t.getFullStart(),!1,!0),t.getEnd()),t=wo(n.pos,n.end);return{file:r.fileName,kind:i,kindModifiers:o,name:n.text,containerName:a,span:e,selectionSpan:t}}function o7(e){return void 0!==e}function s7(e){if(e.kind===pue.EntryKind.Node){var t=e.node;if(QG(t,!0,!0)||YG(t,!0,!0)||ZG(t,!0,!0)||$G(t,!0,!0)||fX(t)||pX(t)){e=t.getSourceFile();return{declaration:FA(t,Y8)||e,range:LQ(t,e)}}}}function c7(e){return mJ(e.declaration)}function u7(t,e,r){if(uB(e)||Mj(e)||PR(e))return[];e=Z8(e),e=nD(pue.findReferenceOrRenameEntries(t,r,t.getSourceFiles(),e,0,{use:pue.FindReferencesUse.References},s7),o7);return e?OD(e,c7,function(e){return{from:i7(t,(e=e)[0].declaration),fromSpans:iD(e,function(e){return MQ(e.range)})}}):[]}function _7(u,_){function s(e){var t,r,n=cj(e)?e.tag:YE(e)?e.tagName:GL(e)||PR(e)?e:e.expression,a=a7(u,n);if(a){var i=LQ(n,e.getSourceFile());if(RD(a))try{for(var o=__values(a),s=o.next();!s.done;s=o.next()){var c=s.value;_.push({declaration:c,range:i})}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}else _.push({declaration:a,range:i})}}return function e(t){var r,n;if(t&&!(33554432&t.flags))if(Y8(t)){if(NE(t))try{for(var a=__values(t.members),i=a.next();!i.done;i=a.next()){var o=i.value;o.name&&SR(o.name)&&e(o.name.expression)}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}else{switch(t.kind){case 80:case 271:case 272:case 278:case 264:case 265:return;case 175:return void s(t);case 216:case 234:return void e(t.expression);case 260:case 169:return e(t.name),void e(t.initializer);case 213:case 214:return s(t),e(t.expression),void KN(t.arguments,e);case 215:return s(t),e(t.tag),void e(t.template);case 286:case 285:return s(t),e(t.tagName),void e(t.attributes);case 170:return s(t),void e(t.expression);case 211:case 212:s(t),HB(t,e);break;case 238:return void e(t.expression)}vP(t)||HB(t,e)}}}function l7(e,t){var r,n,a,i=[],o=_7(e,i);switch(t.kind){case 312:a=o,KN(t.statements,a);break;case 267:n=o,!_L(r=t,2)&&r.body&&Rj(r.body)&&KN(r.body.statements,n);break;case 262:case 218:case 219:case 174:case 177:case 178:r=e.getTypeChecker(),n=o,(r=t7(r,r=t))&&(KN(r.parameters,n),n(r.body));break;case 263:case 231:!function(e,t){var r,n;KN(e.modifiers,t);var a=vO(e);a&&t(a.expression);try{for(var i=__values(e.members),o=i.next();!o.done;o=i.next()){var s=o.value;VB(s)&&KN(s.modifiers,t),AR(s)?t(s.initializer):IR(s)&&s.body?(KN(s.parameters,t),t(s.body)):PR(s)&&t(s)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}(t,o);break;case 175:o(t.body);break;default:rA.assertNever(t)}return i}function d7(t,e){return 33554432&e.flags||ER(e)?[]:OD(l7(t,e),c7,function(e){return{to:i7(t,(e=e)[0].declaration),fromSpans:iD(e,function(e){return MQ(e.range)})}})}var f7=e({"src/services/callHierarchy.ts":function(){fpe()}}),p7={};t(p7,{createCallHierarchyItem:function(){return i7},getIncomingCalls:function(){return u7},getOutgoingCalls:function(){return d7},resolveCallHierarchyDeclaration:function(){return a7}});var m7=e({"src/services/_namespaces/ts.CallHierarchy.ts":function(){f7()}}),y7={};t(y7,{TokenEncodingConsts:function(){return O4},TokenModifier:function(){return M4},TokenType:function(){return L4},getEncodedSemanticClassifications:function(){return J4},getSemanticClassifications:function(){return B4}});var v7=e({"src/services/_namespaces/ts.classifier.v2020.ts":function(){o8()}}),g7={};t(g7,{v2020:function(){return y7}});var h7,x7,b7,k7=e({"src/services/_namespaces/ts.classifier.ts":function(){v7()}});function T7(e,t,r){return C7(e,u$(r),t,void 0,void 0)}function S7(e,t,r,n,a,i){return C7(e,u$(r),t,n,u$(a),i)}function w7(e,t,r,n,a,i){return C7(e,u$(r),t,n,a&&u$(a),i)}function C7(e,t,r,n,a,i){return{fixName:e,description:t,changes:r,fixId:n,fixAllDescription:a,commands:i?[i]:void 0}}function N7(e){var t,r,n,a;try{for(var i=__values(e.errorCodes),o=i.next();!o.done;o=i.next()){var s=o.value;b7=void 0,h7.add(String(s),e)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}if(e.fixIds)try{for(var c=__values(e.fixIds),u=c.next();!u.done;u=c.next()){var _=u.value;rA.assert(!x7.has(_)),x7.set(_,e)}}catch(e){n={error:e}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(n)throw n.error}}}function D7(){return null!=b7?b7:b7=PD(h7.keys())}function A7(t){var r=L7(t);return cD(h7.get(String(t.errorCode)),function(e){return iD(e.getCodeActions(t),function(e,t){var r,n,a=e.errorCodes,i=0;try{for(var o=__values(t),s=o.next();!s.done;s=o.next())if(eD(a,s.value.code)&&i++,1<i)break}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}var c=i<2;return function(e){var t=e.fixId,r=e.fixAllDescription,e=__rest(e,["fixId","fixAllDescription"]);return c?e:__assign(__assign({},e),{fixId:t,fixAllDescription:r})}}(e,r))})}function E7(e){return x7.get(JD(e.fixId,jD)).getAllCodeActions(e)}function F7(e,t){return{changes:e,commands:t}}function P7(e,t){return{fileName:e,textChanges:t}}function I7(e,r,n){var a=[];return F7(ode.ChangeTracker.with(e,function(t){return O7(e,r,function(e){return n(t,e,a)})}),0===a.length?void 0:a)}function O7(e,t,r){var n,a;try{for(var i=__values(L7(e)),o=i.next();!o.done;o=i.next()){var s=o.value;eD(t,s.code)&&r(s)}}catch(e){n={error:e}}finally{try{o&&!o.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}}function L7(e){var t=e.program,r=e.sourceFile,e=e.cancellationToken;return __spreadArray(__spreadArray(__spreadArray([],__read(t.getSemanticDiagnostics(r,e)),!1),__read(t.getSyntacticDiagnostics(r,e)),!1),__read(A0(r,t,e)),!1)}var M7,R7,j7=e({"src/services/codeFixProvider.ts":function(){fpe(),h7=MD(),x7=new Map}});function B7(e,t,r){var n=Lg(r)?uR.createAsExpression(r.expression,uR.createKeywordTypeNode(159)):uR.createTypeAssertion(uR.createKeywordTypeNode(159),r.expression);e.replaceNode(t,r.expression,n)}function J7(e,t){if(!cI(e))return FA(QX(e,t),function(e){return Lg(e)||Dg(e)})}var z7,U7,V7=e({"src/services/codefixes/addConvertToUnknownForNonOverlappingTypes.ts":function(){fpe(),Hoe(),M7="addConvertToUnknownForNonOverlappingTypes",N7({errorCodes:R7=[mA.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(t){var r=J7(t.sourceFile,t.span.start);if(void 0!==r){var e=ode.ChangeTracker.with(t,function(e){return B7(e,t.sourceFile,r)});return[S7(M7,e,mA.Add_unknown_conversion_for_non_overlapping_types,M7,mA.Add_unknown_to_all_conversions_of_non_overlapping_types)]}},fixIds:[M7],getAllCodeActions:function(e){return I7(e,R7,function(e,t){var r=J7(t.file,t.start);r&&B7(e,t.file,r)})}})}}),q7=e({"src/services/codefixes/addEmptyExportDeclaration.ts":function(){fpe(),Hoe(),N7({errorCodes:[mA.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,mA.await_using_statements_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,mA.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){var r=e.sourceFile;return[T7("addEmptyExportDeclaration",ode.ChangeTracker.with(e,function(e){var t=uR.createExportDeclaration(void 0,!1,uR.createNamedExports([]),void 0);e.insertNodeAtEndOfScope(r,r,t)}),mA.Add_export_to_make_this_file_into_a_module)]}})}});function W7(t,r,e,n){e=e(function(e){return function(e,t,r,n){if(n&&n.has(mJ(r)))return;null!=n&&n.add(mJ(r));n=uR.updateModifiers(eZ(r,!0),uR.createNodeArray(uR.createModifiersFromModifierFlags(512|Qd(r))));e.replaceNode(t,r,n)}(e,t.sourceFile,r,n)});return S7(z7,e,mA.Add_async_modifier_to_containing_function,z7,mA.Add_all_missing_async_modifiers)}function H7(t,r){if(r)return FA(QX(t,r.start),function(e){return e.getStart(t)<r.start||e.getEnd()>TA(r)?"quit":(lj(e)||FR(e)||_j(e)||Fj(e))&&yY(r,IQ(e,t))})}var K7,G7,X7,Q7,Y7=e({"src/services/codefixes/addMissingAsync.ts":function(){fpe(),Hoe(),z7="addMissingAsync",U7=[mA.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,mA.Type_0_is_not_assignable_to_type_1.code,mA.Type_0_is_not_comparable_to_type_1.code],N7({fixIds:[z7],errorCodes:U7,getCodeActions:function(t){var a,i,e=t.sourceFile,r=t.errorCode,n=t.cancellationToken,o=t.program,s=t.span,r=QN(o.getTypeChecker().getDiagnostics(e,n),(a=s,i=r,function(e){var t=e.start,r=e.length,n=e.relatedInformation,e=e.code;return ae(t)&&ae(r)&&yY({start:t,length:r},a)&&e===i&&!!n&&dD(n,function(e){return e.code===mA.Did_you_mean_to_mark_this_function_as_async.code})})),r=H7(e,r&&r.relatedInformation&&QN(r.relatedInformation,function(e){return e.code===mA.Did_you_mean_to_mark_this_function_as_async.code}));if(r)return[W7(t,r,function(e){return ode.ChangeTracker.with(t,e)})]},getAllCodeActions:function(r){var n=r.sourceFile,a=new Set;return I7(r,U7,function(t,e){e=e.relatedInformation&&QN(e.relatedInformation,function(e){return e.code===mA.Did_you_mean_to_mark_this_function_as_async.code}),e=H7(n,e);if(e)return W7(r,e,function(e){return e(t),[]},a)})}})}});function Z7(e,t,r,n,a){var i,o,s=GZ(e,r);return s&&(e=e,i=t,o=r,n=n,dD(a.getTypeChecker().getDiagnostics(e,n),function(e){var t=e.start,r=e.length,n=e.relatedInformation,e=e.code;return ae(t)&&ae(r)&&yY({start:t,length:r},o)&&e===i&&!!n&&dD(n,function(e){return e.code===mA.Did_you_forget_to_use_await.code})}))&&t5(s)?s:void 0}function $7(e,r,n,a,t,i){var o=e.sourceFile,s=e.program,e=e.cancellationToken,c=function(e,s,a,c,u){var t,r,n=function(e,t){var r,n;if(aj(e.parent)&&xR(e.parent.expression))return{identifiers:[e.parent.expression],isCompleteFix:!0};if(xR(e))return{identifiers:[e],isCompleteFix:!0};if(mj(e)){var a=void 0,i=!0;try{for(var o=__values([e.left,e.right]),s=o.next();!s.done;s=o.next()){var c=s.value,u=t.getTypeAtLocation(c);t.getPromisedTypeOfPromise(u)&&(xR(c)?(a=a||[]).push(c):i=!1)}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a&&{identifiers:a,isCompleteFix:i}}}(e,u);if(!n)return;function i(i){var e=u.getSymbolAtLocation(i);if(!e)return 1;var t=BD(e.valueDeclaration,Aj),r=t&&BD(t.name,xR),n=xO(t,243);if(!t||!n||t.type||!t.initializer||n.getSourceFile()!==s||_L(n,1)||!r||!t5(t.initializer))return l=!1,1;var o=c.getSemanticDiagnostics(s,a);if(pue.Core.eachSymbolReferenceInFile(r,u,s,function(e){return i!==e&&(t=o,r=s,n=u,a=aj((e=e).parent)?e.parent.name:mj(e.parent)?e.parent:e,!((t=QN(t,function(e){return e.start===a.getStart(r)&&e.start+e.length===a.getEnd()}))&&eD(Q7,t.code)||1&n.getTypeAtLocation(a).flags));var t,r,n,a}))return l=!1,1;(_=_||[]).push({expression:t.initializer,declarationSymbol:e})}var _,l=n.isCompleteFix;try{for(var o=__values(n.identifiers),d=o.next();!d.done;d=o.next()){var f=d.value;i(f)}}catch(e){t={error:e}}finally{try{d&&!d.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return _&&{initializers:_,needsSecondPassForFixAll:!l}}(r,o,e,s,a);if(c)return T7("addMissingAwaitToInitializer",t(function(t){KN(c.initializers,function(e){e=e.expression;return r5(t,n,o,a,e,i)}),i&&c.needsSecondPassForFixAll&&r5(t,n,o,a,r,i)}),1===c.initializers.length?[mA.Add_await_to_initializer_for_0,c.initializers[0].declarationSymbol.name]:mA.Add_await_to_initializers)}function e5(t,r,n,a,e,i){e=e(function(e){return r5(e,n,t.sourceFile,a,r,i)});return S7(K7,e,mA.Add_await,K7,mA.Fix_all_expressions_possibly_missing_await)}function t5(e){return 65536&e.kind||FA(e,function(e){return e.parent&&lj(e.parent)&&e.parent.body===e||kj(e)&&(262===e.parent.kind||218===e.parent.kind||219===e.parent.kind||174===e.parent.kind)})}function r5(e,t,r,n,a,i){var o,s;if(Dj(a.parent)&&!a.parent.awaitModifier){var c=n.getTypeAtLocation(a),u=n.getAsyncIterableType();if(u&&n.isTypeAssignableTo(c,u)){u=a.parent;return void e.replaceNode(r,u,uR.updateForOfStatement(u,uR.createToken(135),u.initializer,u.expression,u.statement))}}if(mj(a))try{for(var _=__values([a.left,a.right]),l=_.next();!l.done;l=_.next()){var d,f=l.value;if(i&&xR(f))if((d=n.getSymbolAtLocation(f))&&i.has(yJ(d)))continue;var p=n.getTypeAtLocation(f),p=n.getPromisedTypeOfPromise(p)?uR.createAwaitExpression(f):f;e.replaceNode(r,f,p)}}catch(e){o={error:e}}finally{try{l&&!l.done&&(s=_.return)&&s.call(_)}finally{if(o)throw o.error}}else if(t===G7&&aj(a.parent)){if(i&&xR(a.parent.expression))if((d=n.getSymbolAtLocation(a.parent.expression))&&i.has(yJ(d)))return;e.replaceNode(r,a.parent.expression,uR.createParenthesizedExpression(uR.createAwaitExpression(a.parent.expression))),n5(e,a.parent.expression,r)}else if(eD(X7,t)&&ME(a.parent)){if(i&&xR(a))if((d=n.getSymbolAtLocation(a))&&i.has(yJ(d)))return;e.replaceNode(r,a,uR.createParenthesizedExpression(uR.createAwaitExpression(a))),n5(e,a,r)}else{if(i&&Aj(a.parent)&&xR(a.parent.name))if((d=n.getSymbolAtLocation(a.parent.name))&&!lD(i,yJ(d)))return;e.replaceNode(r,a,uR.createAwaitExpression(a))}}function n5(e,t,r){var n=tQ(t.pos,r);n&&AZ(n.end,n.parent,r)&&e.insertText(r,t.getStart(r),";")}var a5,i5,o5=e({"src/services/codefixes/addMissingAwait.ts":function(){fpe(),Hoe(),K7="addMissingAwait",G7=mA.Property_0_does_not_exist_on_type_1.code,X7=[mA.This_expression_is_not_callable.code,mA.This_expression_is_not_constructable.code],Q7=__spreadArray([mA.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type.code,mA.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,mA.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,mA.Operator_0_cannot_be_applied_to_type_1.code,mA.Operator_0_cannot_be_applied_to_types_1_and_2.code,mA.This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap.code,mA.This_condition_will_always_return_true_since_this_0_is_always_defined.code,mA.Type_0_is_not_an_array_type.code,mA.Type_0_is_not_an_array_type_or_a_string_type.code,mA.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher.code,mA.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,mA.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,mA.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator.code,mA.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator.code,mA.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,G7],__read(X7),!1),N7({fixIds:[K7],errorCodes:Q7,getCodeActions:function(t){var e=t.sourceFile,r=t.errorCode,n=Z7(e,r,t.span,t.cancellationToken,t.program);if(n){var a=t.program.getTypeChecker(),e=function(e){return ode.ChangeTracker.with(t,e)};return Me([$7(t,n,r,a,e),e5(t,n,r,a,e)])}},getAllCodeActions:function(a){var i=a.sourceFile,o=a.program,s=a.cancellationToken,c=a.program.getTypeChecker(),u=new Set;return I7(a,Q7,function(t,e){var r=Z7(i,e.code,e,s,o);if(r){var n=function(e){return e(t),[]};return $7(a,r,e.code,c,n,u)||e5(a,r,e.code,c,n,u)}})}})}});function s5(e,t,r,n,a){var i=QX(t,r),r=FA(i,function(e){return qE(e.parent)?e.parent.initializer===e:!function(e){switch(e.kind){case 80:case 209:case 210:case 303:case 304:return!0;default:return!1}}(e)&&"quit"});if(r)return c5(e,r,t,a);r=i.parent;if(mj(r)&&64===r.operatorToken.kind&&Sj(r.parent))return c5(e,i,t,a);if(rj(r)){var o=n.getTypeChecker();return XN(r.elements,function(e){return function(e,t){e=xR(e)?e:NL(e,!0)&&xR(e.left)?e.left:void 0;return e&&!t.getSymbolAtLocation(e)}(e,o)})?c5(e,r,t,a):void 0}i=FA(i,function(e){return!!Sj(e.parent)||!function(e){switch(e.kind){case 80:case 226:case 28:return!0;default:return!1}}(e)&&"quit"});if(i&&function t(e,r){if(!mj(e))return!1;if(28===e.operatorToken.kind)return XN([e.left,e.right],function(e){return t(e,r)});return 64===e.operatorToken.kind&&xR(e.left)&&!r.getSymbolAtLocation(e.left)}(i,n.getTypeChecker()))return c5(e,i,t,a)}function c5(e,t,r,n){n&&!lD(n,t)||e.insertModifierBefore(r,87,t)}var u5,_5,l5=e({"src/services/codefixes/addMissingConst.ts":function(){fpe(),Hoe(),a5="addMissingConst",N7({errorCodes:i5=[mA.Cannot_find_name_0.code,mA.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer.code],getCodeActions:function(t){var e=ode.ChangeTracker.with(t,function(e){return s5(e,t.sourceFile,t.span.start,t.program)});if(0<e.length)return[S7(a5,e,mA.Add_const_to_unresolved_variable,a5,mA.Add_const_to_all_unresolved_variables)]},fixIds:[a5],getAllCodeActions:function(r){var n=new Set;return I7(r,i5,function(e,t){return s5(e,t.file,t.start,r.program,n)})}})}});function d5(e,t,r,n){r=QX(t,r);xR(r)&&(172!==(r=r.parent).kind||n&&!lD(n,r)||e.insertModifierBefore(t,138,r))}var f5,p5,m5=e({"src/services/codefixes/addMissingDeclareProperty.ts":function(){fpe(),Hoe(),u5="addMissingDeclareProperty",N7({errorCodes:_5=[mA.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(t){var e=ode.ChangeTracker.with(t,function(e){return d5(e,t.sourceFile,t.span.start)});if(0<e.length)return[S7(u5,e,mA.Prefix_with_declare,u5,mA.Prefix_all_incorrect_property_declarations_with_declare)]},fixIds:[u5],getAllCodeActions:function(e){var r=new Set;return I7(e,_5,function(e,t){return d5(e,t.file,t.start,r)})}})}});function y5(e,t,r){var n=FA(QX(t,r),NR);rA.assert(!!n,"Expected position to be owned by a decorator.");r=uR.createCallExpression(n.expression,void 0,void 0);e.replaceNode(t,n.expression,r)}var v5,g5,h5=e({"src/services/codefixes/addMissingInvocationForDecorator.ts":function(){fpe(),Hoe(),f5="addMissingInvocationForDecorator",N7({errorCodes:p5=[mA._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(t){var e=ode.ChangeTracker.with(t,function(e){return y5(e,t.sourceFile,t.span.start)});return[S7(f5,e,mA.Call_decorator_expression,f5,mA.Add_to_all_uncalled_decorators)]},fixIds:[f5],getAllCodeActions:function(e){return I7(e,p5,function(e,t){return y5(e,t.file,t.start)})}})}});function x5(e,t,r){var n=QX(t,r),a=n.parent;if(!CR(a))return rA.fail("Tried to add a parameter name to a non-parameter: "+rA.formatSyntaxKind(n.kind));r=a.parent.parameters.indexOf(a);rA.assert(!a.type,"Tried to add a parameter name to a parameter that already had one."),rA.assert(-1<r,"Parameter not found in parent parameter list.");n=uR.createTypeReferenceNode(a.name,void 0),n=uR.createParameterDeclaration(a.modifiers,a.dotDotDotToken,"arg"+r,a.questionToken,a.dotDotDotToken?uR.createArrayTypeNode(n):n,a.initializer);e.replaceNode(t,a,n)}var b5,k5=e({"src/services/codefixes/addNameToNamelessParameter.ts":function(){fpe(),Hoe(),v5="addNameToNamelessParameter",N7({errorCodes:g5=[mA.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1.code],getCodeActions:function(t){var e=ode.ChangeTracker.with(t,function(e){return x5(e,t.sourceFile,t.span.start)});return[S7(v5,e,mA.Add_parameter_name,v5,mA.Add_names_to_all_parameters_without_names)]},fixIds:[v5],getAllCodeActions:function(e){return I7(e,g5,function(e,t){return x5(e,t.file,t.start)})}})}});function T5(e,t,r){var n=function e(t,r){{if(!t)return;if(mj(t.parent)&&64===t.parent.operatorToken.kind)return{source:t.parent.right,target:t.parent.left};if(Aj(t.parent)&&t.parent.initializer)return{source:t.parent.initializer,target:t.parent.name};if(oj(t.parent)){var n=r.getSymbolAtLocation(t.parent.expression);if(null==n||!n.valueDeclaration||!Vs(n.valueDeclaration.kind))return;if(!jE(t))return;var a=t.parent.arguments.indexOf(t);if(-1===a)return;var a=n.valueDeclaration.parameters[a].name;if(xR(a))return{source:t,target:a}}else if(iB(t.parent)&&xR(t.parent.name)||oB(t.parent)){a=e(t.parent.parent,r);if(!a)return;var a=r.getPropertyOfType(r.getTypeAtLocation(a.target),t.parent.name.text),a=null==(a=null==a?void 0:a.declarations)?void 0:a[0];return a?{source:iB(t.parent)?t.parent.initializer:t.parent.name,target:a}:void 0}}return}(GZ(e,t),r);if(!n)return WN;var a=n.source,e=n.target,n=(t=a,n=r,aj(a=e)&&!!n.getExactOptionalProperties(n.getTypeAtLocation(a.expression)).length&&n.getTypeAtLocation(t)===n.getUndefinedType()?r.getTypeAtLocation(e.expression):r.getTypeAtLocation(e));return null!=(e=null==(e=n.symbol)?void 0:e.declarations)&&e.some(function(e){return CF(e).fileName.match(/\.d\.ts$/)})?WN:r.getExactOptionalProperties(n)}var S5,w5,C5=e({"src/services/codefixes/addOptionalPropertyUndefined.ts":function(){fpe(),Hoe(),b5="addOptionalPropertyUndefined",N7({errorCodes:[mA.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target.code,mA.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,mA.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:function(e){var t=e.program.getTypeChecker(),r=T5(e.sourceFile,e.span,t);if(r.length){e=ode.ChangeTracker.with(e,function(e){return function(e,t){var r,n;try{for(var a=__values(t),i=a.next();!i.done;i=a.next()){var o,s=i.value.valueDeclaration;s&&(DR(s)||AR(s))&&s.type&&(o=uR.createUnionTypeNode(__spreadArray(__spreadArray([],__read(192===s.type.kind?s.type.types:[s.type]),!1),[uR.createTypeReferenceNode("undefined")],!1)),e.replaceNode(s.getSourceFile(),s.type,o))}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}(e,r)});return[T7(b5,e,mA.Add_undefined_to_optional_property_type)]}},fixIds:[b5]})}});function N5(e,t){t=QX(e,t);return BD((CR(t.parent)?t.parent:t).parent,D5)}function D5(e){return(TE(t=e)||260===t.kind||171===t.kind||172===t.kind)&&A5(e);var t}function A5(e){return TE(e)?e.parameters.some(A5)||!e.type&&!!us(e):!e.type&&!!QA(e)}function E5(e,t,r){var n,a;if(TE(r)&&(us(r)||r.parameters.some(function(e){return!!QA(e)}))){r.typeParameters||(i=iL(r)).length&&e.insertTypeParameters(t,r,i);var i=lj(r)&&!MX(r,21,t);i&&e.insertNodeBefore(t,SD(r.parameters),uR.createToken(21));try{for(var o=__values(r.parameters),s=o.next();!s.done;s=o.next()){var c,u=s.value;u.type||(c=QA(u))&&e.tryInsertTypeAnnotation(t,u,TJ(c,F5,FE))}}catch(e){n={error:e}}finally{try{s&&!s.done&&(a=o.return)&&a.call(o)}finally{if(n)throw n.error}}i&&e.insertNodeAfter(t,ND(r.parameters),uR.createToken(22)),r.type||(_=us(r))&&e.tryInsertTypeAnnotation(t,r,TJ(_,F5,FE))}else{var _=rA.checkDefined(QA(r),"A JSDocType for this declaration should exist");rA.assert(!r.type,"The JSDocType decl should have a type"),e.tryInsertTypeAnnotation(t,r,TJ(_,F5,FE))}}function F5(e){switch(e.kind){case 319:case 320:return uR.createTypeReferenceNode("any",WN);case 323:return n=e,uR.createUnionTypeNode([TJ(n.type,F5,FE),uR.createTypeReferenceNode("undefined",WN)]);case 322:return F5(e.type);case 321:return r=e,uR.createUnionTypeNode([TJ(r.type,F5,FE),uR.createTypeReferenceNode("null",WN)]);case 325:return r=e,uR.createArrayTypeNode(TJ(r.type,F5,FE));case 324:return t=e,uR.createFunctionTypeNode(WN,t.parameters.map(P5),null!==(t=t.type)&&void 0!==t?t:uR.createKeywordTypeNode(133));case 183:return function(e){var t=e.typeName,r=e.typeArguments;if(xR(e.typeName)){if(lI(e))return function(e){var t=uR.createParameterDeclaration(void 0,void 0,150===e.typeArguments[0].kind?"n":"s",void 0,uR.createTypeReferenceNode(150===e.typeArguments[0].kind?"number":"string",[]),void 0),e=uR.createTypeLiteralNode([uR.createIndexSignature(void 0,[t],e.typeArguments[1])]);return lR(e,1),e}(e);var n=e.typeName.text;switch(e.typeName.text){case"String":case"Boolean":case"Object":case"Number":n=n.toLowerCase();break;case"array":case"date":case"promise":n=n[0].toUpperCase()+n.slice(1)}t=uR.createIdentifier(n),r="Array"!==n&&"Promise"!==n||e.typeArguments?SJ(e.typeArguments,F5,FE):uR.createNodeArray([uR.createTypeReferenceNode("any",WN)])}return uR.createTypeReferenceNode(t,r)}(e);case 329:return function(e){e=uR.createTypeLiteralNode(iD(e.jsDocPropertyTags,function(e){return uR.createPropertySignature(void 0,xR(e.name)?e.name:e.name.right,XM(e)?uR.createToken(58):void 0,e.typeExpression&&TJ(e.typeExpression.type,F5,FE)||uR.createKeywordTypeNode(133))}));return lR(e,1),e}(e);default:t=wJ(e,F5,iU);return lR(t,1),t}var t,r,n}function P5(e){var t=e.parent.parameters.indexOf(e),r=325===e.type.kind&&t===e.parent.parameters.length-1,t=e.name||(r?"rest":"arg"+t),r=r?uR.createToken(26):e.dotDotDotToken;return uR.createParameterDeclaration(e.modifiers,r,t,e.questionToken,TJ(e.type,F5,FE),e.initializer)}var I5,O5,L5=e({"src/services/codefixes/annotateWithTypeFromJSDoc.ts":function(){fpe(),Hoe(),S5="annotateWithTypeFromJSDoc",N7({errorCodes:w5=[mA.JSDoc_types_may_be_moved_to_TypeScript_types.code],getCodeActions:function(t){var r=N5(t.sourceFile,t.span.start);if(r){var e=ode.ChangeTracker.with(t,function(e){return E5(e,t.sourceFile,r)});return[S7(S5,e,mA.Annotate_with_type_from_JSDoc,S5,mA.Annotate_everything_with_types_from_JSDoc)]}},fixIds:[S5],getAllCodeActions:function(e){return I7(e,w5,function(e,t){var r=N5(t.file,t.start);r&&E5(e,t.file,r)})}})}});function M5(u,_,e,t,l,d){var r,n=t.getSymbolAtLocation(QX(_,e));function a(r){var n=[];return r.exports&&r.exports.forEach(function(e){var t;"prototype"===e.name&&e.declarations?(t=e.declarations[0],1===e.declarations.length&&aj(t)&&mj(t.parent)&&64===t.parent.operatorToken.kind&&nj(t.parent.right)&&a(t.parent.right.symbol,void 0,n)):a(e,[uR.createToken(126)],n)}),r.members&&r.members.forEach(function(e,t){"constructor"===t&&e.valueDeclaration?(t=null==(t=null==(t=null==(t=null==(t=r.exports)?void 0:t.get("prototype"))?void 0:t.declarations)?void 0:t[0])?void 0:t.parent)&&mj(t)&&nj(t.right)&&dD(t.right.properties,j5)||u.delete(_,e.valueDeclaration.parent):a(e,void 0,n)}),n;function a(t,s,r){var e,c,n,a,i;function o(e,t,r){return _j(t)?(n=e,i=r,o=fD(s,R5(a=t,134)),a=uR.createMethodDeclaration(o,void 0,i,void 0,void 0,a.parameters,void 0,a.body),fZ(c,a,_),n.push(a)):function(e,t,r){var n=t.body;a=241===n.kind?n:uR.createBlock([uR.createReturnStatement(n)]);var n=fD(s,R5(t,134)),a=uR.createMethodDeclaration(n,void 0,r,void 0,void 0,t.parameters,void 0,a);fZ(c,a,_),e.push(a)}(e,t,r),0;var n,a,i,o}(8192&t.flags||4096&t.flags)&&(e=t.valueDeclaration,i=(c=e.parent).right,n=i,(GL(a=e)?aj(a)&&j5(a)||bE(n):XN(a.properties,function(e){return FR(e)||rE(e)||(iB(e)&&_j(e.initializer)&&e.name||!!j5(e))}))&&(dD(r,function(e){e=JA(e);return!(!e||!xR(e)||LA(e)!==RA(t))})||(a=c.parent&&244===c.parent.kind?c.parent:c,u.delete(_,a),i?GL(e)&&(_j(i)||lj(i))?(a=iY(_,l),(a=function(e,t,r){if(aj(e))return e.name;e=e.argumentExpression;if(gR(e))return e;if(oF(e))return bA(e.text,rM(t))?uR.createIdentifier(e.text):Hv(e)?uR.createStringLiteral(e.text,0===r):e;return}(e,d,a))&&o(r,i,a)):nj(i)?KN(i.properties,function(e){(FR(e)||rE(e))&&r.push(e),iB(e)&&_j(e.initializer)&&o(r,e.initializer,e.name),j5(e)}):sI(_)||aj(e)&&(i=uR.createPropertyDeclaration(s,e.name,void 0,void 0,i),fZ(c.parent,i,_),r.push(i)):r.push(uR.createPropertyDeclaration(s,t.name,void 0,void 0,void 0)))))}}n&&n.valueDeclaration&&19&n.flags&&(Fj(r=n.valueDeclaration)||_j(r)?u.replaceNode(_,r,function(e){var t=a(n);e.body&&t.unshift(uR.createConstructorDeclaration(void 0,e.parameters,e.body));var r=R5(e,95);return uR.createClassDeclaration(r,e.name,void 0,void 0,t)}(r)):!Aj(r)||(t=function(e){var t=e.initializer;if(!t||!_j(t)||!xR(e.name))return;var r=a(e.symbol);t.body&&r.unshift(uR.createConstructorDeclaration(void 0,t.parameters,t.body));t=R5(e.parent.parent,95);return uR.createClassDeclaration(t,e.name,void 0,void 0,r)}(r))&&(e=r.parent.parent,Ej(r.parent)&&1<r.parent.declarations.length?(u.delete(_,r),u.insertNodeAfter(_,e,t)):u.replaceNode(_,e,t)))}function R5(e,t){return VB(e)?nD(e.modifiers,function(e){return e.kind===t}):void 0}function j5(e){return!!e.name&&!(!xR(e.name)||"constructor"!==e.name.text)}var B5,J5,z5,U5=e({"src/services/codefixes/convertFunctionToEs6Class.ts":function(){fpe(),Hoe(),I5="convertFunctionToEs6Class",N7({errorCodes:O5=[mA.This_constructor_function_may_be_converted_to_a_class_declaration.code],getCodeActions:function(t){var e=ode.ChangeTracker.with(t,function(e){return M5(e,t.sourceFile,t.span.start,t.program.getTypeChecker(),t.preferences,t.program.getCompilerOptions())});return[S7(I5,e,mA.Convert_function_to_an_ES2015_class,I5,mA.Convert_all_constructor_functions_to_classes)]},fixIds:[I5],getAllCodeActions:function(r){return I7(r,O5,function(e,t){return M5(e,t.file,t.start,r.program.getTypeChecker(),r.preferences,r.program.getCompilerOptions())})}})}});function V5(a,i,e,t){var r,n,o=QX(i,e),s=xR(o)&&Aj(o.parent)&&o.parent.initializer&&TE(o.parent.initializer)?o.parent.initializer:BD(PP(QX(i,e)),B0);if(s){var c,u,_,l,d=new Map,f=cI(s),o=function(e,r){if(!e.body)return new Set;var n=new Set;return HB(e.body,function e(t){q5(t,r,"then")?(n.add(mJ(t)),KN(t.arguments,e)):q5(t,r,"catch")||q5(t,r,"finally")?(n.add(mJ(t)),HB(t,e)):K5(t,r)?n.add(mJ(t)):HB(t,e)}),n}(s,t),e=(e=s,c=t,u=d,_=new Map,l=MD(),HB(e,function e(t){var r,n,a,i,o,s;xR(t)?(r=c.getSymbolAtLocation(t))&&(o=i9(c.getTypeAtLocation(t),c),n=yJ(r).toString(),!o||CR(t.parent)||TE(t.parent)||u.has(n)?t.parent&&(CR(t.parent)||Aj(t.parent)||tj(t.parent))&&(s=t.text,(a=l.get(s))&&a.some(function(e){return e!==r})?(i=G5(t,l),_.set(n,i.identifier),u.set(n,i)):(i=eZ(t),u.set(n,u9(i))),l.add(s,r)):(s=G5(o=(null==(s=kD(o.parameters))?void 0:s.valueDeclaration)&&CR(s.valueDeclaration)&&BD(s.valueDeclaration.name,xR)||uR.createUniqueName("result",16),l),u.set(n,s),l.add(o.text,r))):HB(t,e)}),tZ(e,!0,function(e){var t,r;if(tj(e)&&xR(e.name)&&$R(e.parent)){if((r=(t=c.getSymbolAtLocation(e.name))&&_.get(String(yJ(t))))&&r.text!==(e.name||e.propertyName).getText())return uR.createBindingElement(e.dotDotDotToken,e.propertyName||e.name,r,e.initializer)}else if(xR(e))if(r=(t=c.getSymbolAtLocation(e))&&_.get(String(yJ(t))))return uR.createIdentifier(r.text)}));if(F0(e,t)){var p,m,y=e.body&&kj(e.body)?(e=e.body,p=t,m=[],gP(e,function(e){P0(e,p)&&m.push(e)}),m):WN,v={checker:t,synthNamesMap:d,setOfExpressionsToReturn:o,isInJSFile:f};if(y.length){s=xA(i.text,kf(s).pos);a.insertModifierAt(i,s,134,{suffix:" "});try{for(var g=__values(y),h=g.next();!h.done;h=g.next()){var x=function(n){if(HB(n,function e(t){if(oj(t)){var r=Q5(t,t,v,!1);if(!z5)return!0;a.replaceNodeWithNodes(i,n,r)}else if(!bE(t)&&(HB(t,e),!z5))return!0}),!z5)return{value:void 0}}(h.value);if("object"==typeof x)return x.value}}catch(e){r={error:e}}finally{try{h&&!h.done&&(n=g.return)&&n.call(g)}finally{if(r)throw r.error}}}}}}function q5(e,t,r){if(oj(e)){e=sX(e,r)&&t.getTypeAtLocation(e);return e&&t.getPromisedTypeOfPromise(e)}}function W5(e,t){return 0!=(4&WL(e))&&e.target===t}function H5(e,t,r){if("finally"!==e.expression.name.escapedText){var n=r.getTypeAtLocation(e.expression.expression);return W5(n,r.getPromiseType())||W5(n,r.getPromiseLikeType())?"then"!==e.expression.name.escapedText||t===De(e.arguments,0)?De(e.typeArguments,0):t===De(e.arguments,1)?De(e.typeArguments,1):void 0:void 0}}function K5(e,t){return jE(e)&&t.getPromisedTypeOfPromise(t.getTypeAtLocation(e))}function G5(e,t){t=(t.get(e.text)||WN).length;return u9(0===t?e:uR.createIdentifier(e.text+"_"+t))}function X5(){return z5=!1,WN}function Q5(e,t,r,n,a){if(q5(t,r.checker,"then"))return function(e,t,r,n,a,i){if(!t||Y5(n,t))return e9(e,r,n,a,i);if(r&&!Y5(n,r))return X5();var o=s9(t,n),r=Q5(e.expression.expression,e.expression.expression,n,!0,o);if(!z5)return X5();n=n9(t,a,i,o,e,n);return z5?fD(r,n):X5()}(t,De(t.arguments,0),De(t.arguments,1),r,n,a);if(q5(t,r.checker,"catch"))return e9(t,De(t.arguments,0),r,n,a);if(q5(t,r.checker,"finally"))return function(e,t,r,n,a){if(!t||Y5(r,t))return Q5(e,e.expression.expression,r,n,a);var i=Z5(e,r,a),o=Q5(e,e.expression.expression,r,!0,i);if(!z5)return X5();n=n9(t,n,void 0,void 0,e,r);if(!z5)return X5();o=uR.createBlock(o),n=uR.createBlock(n),n=uR.createTryStatement(o,void 0,n);return $5(e,r,n,i,a)}(t,De(t.arguments,0),r,n,a);if(aj(t))return Q5(e,t.expression,r,n,a);var i=r.checker.getTypeAtLocation(t);return i&&r.checker.getPromisedTypeOfPromise(i)?(rA.assertNode(EA(t).parent,aj),function(e,t,r,n,a){if(y9(e,r)){r=eZ(t);return n&&(r=uR.createAwaitExpression(r)),[uR.createReturnStatement(r)]}return t9(a,uR.createAwaitExpression(t),void 0)}(e,t,r,n,a)):X5()}function Y5(e,t){e=e.checker;if(106===t.kind)return 1;if(xR(t)&&!mE(t)&&"undefined"===LA(t)){t=e.getSymbolAtLocation(t);return!t||e.isUndefinedSymbol(t)}}function Z5(e,r,n){var t;return n&&!y9(e,r)&&(m9(n)?(t=n,r.synthNamesMap.forEach(function(e,t){e.identifier.text===n.identifier.text&&(e=n,e=u9(uR.createUniqueName(e.identifier.text,16)),r.synthNamesMap.set(t,e))})):t=u9(uR.createUniqueName("result",16),n.types),p9(t)),t}function $5(e,t,r,n,a){var i,o=[];return n&&!y9(e,t)&&(i=eZ(p9(n)),n=n.types,n=t.checker.getUnionType(n,2),n=t.isInJSFile?void 0:t.checker.typeToTypeNode(n,void 0,void 0),n=[uR.createVariableDeclaration(i,void 0,n)],n=uR.createVariableStatement(void 0,uR.createVariableDeclarationList(n,1)),o.push(n)),o.push(r),a&&i&&1===a.kind&&o.push(uR.createVariableStatement(void 0,uR.createVariableDeclarationList([uR.createVariableDeclaration(eZ(f9(a)),void 0,void 0,i)],2))),o}function e9(e,t,r,n,a){if(!t||Y5(r,t))return Q5(e,e.expression.expression,r,n,a);var i=s9(t,r),o=Z5(e,r,a),s=Q5(e,e.expression.expression,r,!0,o);if(!z5)return X5();n=n9(t,n,o,i,e,r);if(!z5)return X5();s=uR.createBlock(s),n=uR.createCatchClause(i&&eZ(d9(i)),uR.createBlock(n));return $5(e,r,uR.createTryStatement(s,n,void 0),o,a)}function t9(e,t,r){return!e||c9(e)?[uR.createExpressionStatement(t)]:m9(e)&&e.hasBeenDeclared?[uR.createExpressionStatement(uR.createAssignment(eZ(l9(e)),t))]:[uR.createVariableStatement(void 0,uR.createVariableDeclarationList([uR.createVariableDeclaration(eZ(d9(e)),void 0,r,t)],2))]}function r9(e,t){if(t&&e){var r=uR.createUniqueName("result",16);return __spreadArray(__spreadArray([],__read(t9(u9(r),e,t)),!1),[uR.createReturnStatement(r)],!1)}return[uR.createReturnStatement(e)]}function n9(e,t,r,n,a,i){var o,s;switch(e.kind){case 106:break;case 211:case 80:if(!n)break;var c=uR.createCallExpression(eZ(e),void 0,m9(n)?[l9(n)]:[]);if(y9(a,i))return r9(c,H5(a,e,i.checker));var u=i.checker.getTypeAtLocation(e),u=i.checker.getSignaturesOfType(u,0);if(!u.length)return X5();var u=u[0].getReturnType(),c=t9(r,uR.createAwaitExpression(c),H5(a,e,i.checker));return r&&r.types.push(i.checker.getAwaitedType(u)||u),c;case 218:case 219:var _=e.body,l=null==(c=i9(i.checker.getTypeAtLocation(e),i.checker))?void 0:c.getReturnType();if(kj(_)){var d=[],f=!1;try{for(var p=__values(_.statements),m=p.next();!m.done;m=p.next()){var y=m.value;if(Kg(y)){f=!0;P0(y,i.checker)?d=d.concat(o9(i,y,t,r)):(v=l&&y.expression?a9(i.checker,l,y.expression):y.expression,d.push.apply(d,__spreadArray([],__read(r9(v,H5(a,e,i.checker))),!1)))}else{if(t&&gP(y,ya))return X5();d.push(y)}}}catch(e){o={error:e}}finally{try{m&&!m.done&&(s=p.return)&&s.call(p)}finally{if(o)throw o.error}}return y9(a,i)?d.map(function(e){return eZ(e)}):function(e,t,r,n){var a,i,o=[];try{for(var s=__values(e),c=s.next();!c.done;c=s.next()){var u,_=c.value;Kg(_)?_.expression&&(u=K5(_.expression,r.checker)?uR.createAwaitExpression(_.expression):_.expression,void 0===t?o.push(uR.createExpressionStatement(u)):m9(t)&&t.hasBeenDeclared?o.push(uR.createExpressionStatement(uR.createAssignment(l9(t),u))):o.push(uR.createVariableStatement(void 0,uR.createVariableDeclarationList([uR.createVariableDeclaration(d9(t),void 0,void 0,u)],2)))):o.push(eZ(_))}}catch(e){a={error:e}}finally{try{c&&!c.done&&(i=s.return)&&i.call(s)}finally{if(a)throw a.error}}n||void 0===t||o.push(uR.createVariableStatement(void 0,uR.createVariableDeclarationList([uR.createVariableDeclaration(d9(t),void 0,void 0,uR.createIdentifier("undefined"))],2)));return o}(d,r,i,f)}c=I0(_,i.checker)?o9(i,uR.createReturnStatement(_),t,r):WN;if(0<c.length)return c;if(l){var v=a9(i.checker,l,_);if(y9(a,i))return r9(v,H5(a,e,i.checker));c=t9(r,v,void 0);return r&&r.types.push(i.checker.getAwaitedType(l)||l),c}return X5();default:return X5()}return WN}function a9(e,t,r){r=eZ(r);return e.getPromisedTypeOfPromise(t)?uR.createAwaitExpression(r):r}function i9(e,t){return CD(t.getSignaturesOfType(e,0))}function o9(n,e,a,i){var o=[];return HB(e,function e(t){var r;oj(t)?(r=Q5(t,t,n,a,i),(o=o.concat(r)).length):bE(t)||HB(t,e)}),o}function s9(e,n){var t,a=[];if(TE(e)?0<e.parameters.length&&(t=function t(e){if(xR(e))return i(e);var r=cD(e.elements,function(e){return gj(e)?[]:[t(e.name)]});return _9(e,r)}(e.parameters[0].name)):xR(e)?t=i(e):aj(e)&&xR(e.name)&&(t=i(e.name)),t&&!("identifier"in t&&"undefined"===t.identifier.text))return t;function i(e){var t,r=(t=e).original||t,t=null!==(r=null==(r=BD(t=r,HE))?void 0:r.symbol)&&void 0!==r?r:n.checker.getSymbolAtLocation(t);return t&&n.synthNamesMap.get(yJ(t).toString())||u9(e,a)}}function c9(e){return!e||(m9(e)?!e.identifier.text:XN(e.elements,c9))}function u9(e,t){return void 0===t&&(t=[]),{kind:0,identifier:e,types:t,hasBeenDeclared:!1,hasBeenReferenced:!1}}function _9(e,t,r){return void 0===t&&(t=WN),void 0===r&&(r=[]),{kind:1,bindingPattern:e,elements:t,types:r}}function l9(e){return e.hasBeenReferenced=!0,e.identifier}function d9(e){return(m9(e)?p9:f9)(e)}function f9(e){var t,r;try{for(var n=__values(e.elements),a=n.next();!a.done;a=n.next())d9(a.value)}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return e.bindingPattern}function p9(e){return e.hasBeenDeclared=!0,e.identifier}function m9(e){return 0===e.kind}function y9(e,t){return e.original&&t.setOfExpressionsToReturn.has(mJ(e.original))}var v9=e({"src/services/codefixes/convertToAsyncFunction.ts":function(){fpe(),Hoe(),B5="convertToAsyncFunction",J5=[mA.This_may_be_converted_to_an_async_function.code],z5=!0,N7({errorCodes:J5,getCodeActions:function(t){z5=!0;var e=ode.ChangeTracker.with(t,function(e){return V5(e,t.sourceFile,t.span.start,t.program.getTypeChecker())});return z5?[S7(B5,e,mA.Convert_to_async_function,B5,mA.Convert_all_to_async_functions)]:[]},fixIds:[B5],getAllCodeActions:function(r){return I7(r,J5,function(e,t){return V5(e,t.file,t.start,r.program.getTypeChecker())})}})}});function g9(r,e,n,t,a){var i,o,s,c,u,_,l,d,f,p,m,y,v={original:(_=r,u=MD(),function t(e,r){xR(e)&&w9(e)&&r(e);e.forEachChild(function(e){return t(e,r)})}(_,function(e){return u.add(e.text,e)}),u),additional:new Set},g=(_=r,l=e,d=v,f=new Map,h9(_,function(e){var t=e.name.text;f.has(t)||!Gl(e.name)&&!l.resolveName(t,e,111551,!0)||f.set(t,S9("_".concat(t),d))}),f);m=g,y=n,h9(p=r,function(e,t){t||(t=e.name.text,y.replaceNode(p,e,uR.createIdentifier(m.get(t)||t)))});var h,x=!1;try{for(var b=__values(nD(r.statements,Tj)),k=b.next();!k.done;k=b.next()){var T=k.value,S=x9(r,T,n,e,v,t,a);S&&bF(S,null!=h?h:h=new Map)}}catch(e){i={error:e}}finally{try{k&&!k.done&&(o=b.return)&&o.call(b)}finally{if(i)throw i.error}}try{for(var w=__values(nD(r.statements,function(e){return!Tj(e)})),C=w.next();!C.done;C=w.next())var T=C.value,N=function(e,t,r,n,a,i,o,s,c){switch(t.kind){case 243:return x9(e,t,n,r,a,i,c),!1;case 244:var u=t.expression;switch(u.kind){case 213:return dI(u,!0)&&n.replaceNode(e,t,rY(void 0,void 0,u.arguments[0],c)),!1;case 226:return 64===u.operatorToken.kind&&function(e,t,r,n,a,i){var o=r.left,s=r.right;if(!aj(o))return!1;if(Hw(e,o)){if(!Hw(e,s)){t=nj(s)?function(e,t){e=D(e.properties,function(e){switch(e.kind){case 177:case 178:case 304:case 305:return;case 303:return xR(e.name)?function(e,t,r){var n=[uR.createToken(95)];switch(t.kind){case 218:var a=t.name;if(a&&a.text!==e)return i();case 219:return C9(e,n,t,r);case 231:return function(e,t,r,n){return uR.createClassDeclaration(fD(t,nZ(r.modifiers)),e,nZ(r.typeParameters),nZ(r.heritageClauses),T9(r.members,n))}(e,n,t,r);default:return i()}function i(){return A9(n,uR.createIdentifier(e),T9(t,r))}}(e.name.text,e.initializer,t):void 0;case 174:return xR(e.name)?C9(e.name.text,[uR.createToken(95)],e,t):void 0;default:rA.assertNever(e,"Convert to ES6 got invalid prop kind ".concat(e.kind))}});return e&&[e,!1]}(s,i):dI(s,!0)?function(e,t){var r=e.text,e=t.getSymbolAtLocation(e),e=e?e.exports:li;return e.has("export=")?[[k9(r)],!0]:e.has("default")?1<e.size?[[b9(r),k9(r)],!0]:[[k9(r)],!0]:[[b9(r)],!1]}(s.arguments[0],t):void 0;return t?(n.replaceNodeWithNodes(e,r.parent,t[0]),t[1]):(n.replaceRangeWithText(e,gf(o.getStart(e),s.pos),"export default"),!0)}n.delete(e,r.parent)}else Hw(e,o.expression)&&function(e,t,r,n){var a=t.left.name.text;void 0!==(n=n.get(a))?(a=[A9(void 0,n,t.right),E9([uR.createExportSpecifier(!1,n,a)])],r.replaceNodeWithNodes(e,t.parent,a)):function(e,t,r){var n=e.left,a=e.right,i=e.parent,e=n.name.text;!(_j(a)||lj(a)||vj(a))||a.name&&a.name.text!==e?r.replaceNodeRangeWithNodes(t,n.expression,MX(n,25,t),[uR.createToken(95),uR.createToken(87)],{joiner:" ",suffix:" "}):(r.replaceRange(t,{pos:n.getStart(t),end:a.getStart(t)},uR.createToken(95),{suffix:" "}),a.name||r.insertName(t,a,e),(i=MX(i,27,t))&&r.delete(t,i))}(t,e,r)}(e,r,n,a);return!1}(e,r,u,n,o,s)}default:return!1}}(r,T,e,n,v,t,g,h,a),x=x||N}catch(e){s={error:e}}finally{try{C&&!C.done&&(c=w.return)&&c.call(w)}finally{if(s)throw s.error}}return null!=h&&h.forEach(function(e,t){n.replaceNode(r,t,e)}),x}function h9(n,a){n.forEachChild(function e(t){var r;aj(t)&&Hw(n,t.expression)&&xR(t.name)&&(r=t.parent,a(t,mj(r)&&r.left===t&&64===r.operatorToken.kind)),t.forEachChild(e)})}function x9(n,e,t,a,i,o,s){var r,c=e.declarationList,u=!1,_=iD(c.declarations,function(e){var t=e.name,r=e.initializer;if(r){if(Hw(n,r))return u=!0,F9([]);if(dI(r,!0))return u=!0,function(e,t,r,n,a,i){switch(e.kind){case 206:var o=D(e.elements,function(e){return e.dotDotDotToken||e.initializer||e.propertyName&&!xR(e.propertyName)||!xR(e.name)?void 0:D9(e.propertyName&&e.propertyName.text,e.name.text)});if(o)return F9([rY(void 0,o,t,i)]);case 207:o=S9(Gee(t.text,a),n);return F9([rY(uR.createIdentifier(o),void 0,t,i),A9(void 0,eZ(e),uR.createIdentifier(o))]);case 80:return function(e,t,r,n,a){var i,o,s,c=r.getSymbolAtLocation(e),u=new Map,_=!1;try{for(var l=__values(n.original.get(e.text)),d=l.next();!d.done;d=l.next()){var f,p,m,y=d.value;r.getSymbolAtLocation(y)===c&&y!==e&&(aj(f=y.parent)?"default"===(p=f.name.text)?(_=!0,m=y.getText(),(null!=s?s:s=new Map).set(f,uR.createIdentifier(m))):(rA.assert(f.expression===y,"Didn't expect expression === use"),void 0===(y=u.get(p))&&(y=S9(p,n),u.set(p,y)),(null!=s?s:s=new Map).set(f,uR.createIdentifier(y))):_=!0)}}catch(e){i={error:e}}finally{try{d&&!d.done&&(o=l.return)&&o.call(l)}finally{if(i)throw i.error}}var v=0===u.size?void 0:PD(b(u.entries(),function(e){var t=__read(e,2),e=t[0],t=t[1];return uR.createImportSpecifier(!1,e===t?void 0:uR.createIdentifier(e),uR.createIdentifier(t))}));v||(_=!0);return F9([rY(_?eZ(e):void 0,v,t,a)],s)}(e,t,r,n,i);default:return rA.assertNever(e,"Convert to ES module got invalid name kind ".concat(e.kind))}}(t,r.arguments[0],a,i,o,s);if(aj(r)&&dI(r.expression,!0))return u=!0,function(e,t,r,n,a){switch(e.kind){case 206:case 207:var i=S9(t,n);return F9([N9(i,t,r,a),A9(void 0,e,uR.createIdentifier(i))]);case 80:return F9([N9(e.text,t,r,a)]);default:return rA.assertNever(e,"Convert to ES module got invalid syntax form ".concat(e.kind))}}(t,r.name.text,r.expression.arguments[0],i,s)}return F9([uR.createVariableStatement(void 0,uR.createVariableDeclarationList([e],c.flags))])});if(u)return t.replaceNodeWithNodes(n,e,cD(_,function(e){return e.newImports})),KN(_,function(e){e.useSitesToUnqualify&&bF(e.useSitesToUnqualify,null!=r?r:r=new Map)}),r}function b9(e){return E9(void 0,e)}function k9(e){return E9([uR.createExportSpecifier(!1,void 0,"default")],e)}function T9(t,r){return r&&dD(PD(r.keys()),function(e){return TX(t,e)})?(RD(t)?aZ:tZ)(t,!0,e):t;function e(e){if(211===e.kind){var t=r.get(e);return r.delete(e),t}}}function S9(e,t){for(;t.original.has(e)||t.additional.has(e);)e="_".concat(e);return t.additional.add(e),e}function w9(e){var t=e.parent;switch(t.kind){case 211:return t.name!==e;case 208:case 276:return t.propertyName!==e;default:return 1}}function C9(e,t,r,n){return uR.createFunctionDeclaration(fD(t,nZ(r.modifiers)),eZ(r.asteriskToken),e,nZ(r.typeParameters),nZ(r.parameters),eZ(r.type),uR.converters.convertToFunctionBlock(T9(r.body,n)))}function N9(e,t,r,n){return"default"===t?rY(uR.createIdentifier(e),void 0,r,n):rY(void 0,[D9(t,e)],r,n)}function D9(e,t){return uR.createImportSpecifier(!1,void 0!==e&&e!==t?uR.createIdentifier(e):void 0,uR.createIdentifier(t))}function A9(e,t,r){return uR.createVariableStatement(e,uR.createVariableDeclarationList([uR.createVariableDeclaration(t,void 0,void 0,r)],2))}function E9(e,t){return uR.createExportDeclaration(void 0,!1,e&&uR.createNamedExports(e),void 0===t?void 0:uR.createStringLiteral(t))}function F9(e,t){return{newImports:e,useSitesToUnqualify:t}}var P9,I9,O9=e({"src/services/codefixes/convertToEsModule.ts":function(){fpe(),Hoe(),N7({errorCodes:[mA.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module.code],getCodeActions:function(e){var o=e.sourceFile,s=e.program,c=e.preferences;return[T7("convertToEsModule",ode.ChangeTracker.with(e,function(e){var t,r;if(g9(o,s.getTypeChecker(),e,rM(s.getCompilerOptions()),iY(o,c)))try{for(var n=__values(s.getSourceFiles()),a=n.next();!a.done;a=n.next()){var i=a.value;!function(e,t,r,n){var a,i;try{for(var o=__values(e.imports),s=o.next();!s.done;s=o.next()){var c=s.value,u=TF(e,c.text,VV(e,c));if(u&&u.resolvedFileName===t.fileName){var _=kl(c);switch(_.kind){case 271:r.replaceNode(e,_,rY(_.name,void 0,c,n));break;case 213:dI(_,!1)&&r.replaceNode(e,_,uR.createPropertyAccessExpression(eZ(_),"default"))}}}}catch(e){a={error:e}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(a)throw a.error}}}(i,o,e,iY(i,c))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}),mA.Convert_to_ES_module)]}})}});function L9(e,t){t=FA(QX(e,t),TR);return rA.assert(!!t,"Expected position to be owned by a qualified name."),xR(t.left)?t:void 0}function M9(e,t,r){var n=r.right.text,n=uR.createIndexedAccessTypeNode(uR.createTypeReferenceNode(r.left,void 0),uR.createLiteralTypeNode(uR.createStringLiteral(n)));e.replaceNode(t,r,n)}var R9,j9,B9=e({"src/services/codefixes/correctQualifiedNameToIndexedAccessType.ts":function(){fpe(),Hoe(),P9="correctQualifiedNameToIndexedAccessType",N7({errorCodes:I9=[mA.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:function(t){var r=L9(t.sourceFile,t.span.start);if(r){var e=ode.ChangeTracker.with(t,function(e){return M9(e,t.sourceFile,r)}),n="".concat(r.left.text,'["').concat(r.right.text,'"]');return[S7(P9,e,[mA.Rewrite_as_the_indexed_access_type_0,n],P9,mA.Rewrite_all_as_indexed_access_types)]}},fixIds:[P9],getAllCodeActions:function(e){return I7(e,I9,function(e,t){var r=L9(t.file,t.start);r&&M9(e,t.file,r)})}})}});function J9(e,t){return BD(QX(t,e.start).parent,Kj)}function z9(e,t,r){var n,a,i;t&&(n=(i=t.parent).parent,(a=function(t,e){var r=t.parent;if(1===r.elements.length)return r.elements;var n=HZ(IQ(r),e.program.getSemanticDiagnostics(e.sourceFile,e.cancellationToken));return nD(r.elements,function(e){return e===t||(null==(e=WZ(e,n))?void 0:e.code)===R9[0]})}(t,r)).length===i.elements.length?e.insertModifierBefore(r.sourceFile,156,i):(t=uR.updateExportDeclaration(n,n.modifiers,!1,uR.updateNamedExports(i,nD(i.elements,function(e){return!eD(a,e)})),n.moduleSpecifier,void 0),i=uR.createExportDeclaration(void 0,!0,uR.createNamedExports(a),n.moduleSpecifier,void 0),e.replaceNode(r.sourceFile,n,t,{leadingTriviaOption:ode.LeadingTriviaOption.IncludeAll,trailingTriviaOption:ode.TrailingTriviaOption.Exclude}),e.insertNodeAfter(r.sourceFile,n,i)))}var U9,V9,q9=e({"src/services/codefixes/convertToTypeOnlyExport.ts":function(){fpe(),Hoe(),N7({errorCodes:R9=[mA.Re_exporting_a_type_when_0_is_enabled_requires_using_export_type.code],getCodeActions:function(t){var e=ode.ChangeTracker.with(t,function(e){return z9(e,J9(t.span,t.sourceFile),t)});if(e.length)return[S7(j9,e,mA.Convert_to_type_only_export,j9,mA.Convert_all_re_exported_types_to_type_only_exports)]},fixIds:[j9="convertToTypeOnlyExport"],getAllCodeActions:function(r){var n=new Map;return I7(r,R9,function(e,t){t=J9(t,r.sourceFile);t&&Zf(n,mJ(t.parent.parent))&&z9(e,t,r)})}})}});function W9(e,t){t=QX(e,t).parent;return Vj(t)||Jj(t)&&t.importClause?t:void 0}function H9(e,t,r){var n,a;if(!e.parent.parent.name){var i=e.parent.elements.filter(function(e){return!e.isTypeOnly});if(1===i.length)return 1;var o=r.getTypeChecker();try{for(var s=__values(i),c=s.next();!c.done;c=s.next()){var u=c.value;if(pue.Core.eachSymbolReferenceInFile(u.name,o,t,function(e){return!IM(e)}))return}}catch(e){n={error:e}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(n)throw n.error}}return 1}}function K9(e,t,r){var n,a;Vj(r)?e.replaceNode(t,r,uR.updateImportSpecifier(r,!0,r.propertyName,r.name)):(n=r.importClause).name&&n.namedBindings?e.replaceNodeWithNodes(t,r,[uR.createImportDeclaration(nZ(r.modifiers,!0),uR.createImportClause(!0,eZ(n.name,!0),void 0),eZ(r.moduleSpecifier,!0),eZ(r.assertClause,!0)),uR.createImportDeclaration(nZ(r.modifiers,!0),uR.createImportClause(!0,void 0,eZ(n.namedBindings,!0)),eZ(r.moduleSpecifier,!0),eZ(r.assertClause,!0))]):(a=275===(null==(a=n.namedBindings)?void 0:a.kind)?uR.updateNamedImports(n.namedBindings,oD(n.namedBindings.elements,function(e){return uR.updateImportSpecifier(e,!1,e.propertyName,e.name)})):n.namedBindings,a=uR.updateImportDeclaration(r,r.modifiers,uR.updateImportClause(n,!0,n.name,a),r.moduleSpecifier,r.assertClause),e.replaceNode(t,r,a))}var G9,X9,Q9=e({"src/services/codefixes/convertToTypeOnlyImport.ts":function(){fpe(),Hoe(),N7({errorCodes:U9=[mA.This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error.code,mA._0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled.code],getCodeActions:function(t){var r=W9(t.sourceFile,t.span.start);if(r){var e=ode.ChangeTracker.with(t,function(e){return K9(e,t.sourceFile,r)}),n=276===r.kind&&H9(r,t.sourceFile,t.program)?ode.ChangeTracker.with(t,function(e){return K9(e,t.sourceFile,r.parent.parent.parent)}):void 0,a=S7(V9,e,276===r.kind?[mA.Use_type_0,null!==(a=null==(a=r.propertyName)?void 0:a.text)&&void 0!==a?a:r.name.text]:mA.Use_import_type,V9,mA.Fix_all_with_type_only_imports);return dD(n)?[T7(V9,n,mA.Use_import_type),a]:[a]}},fixIds:[V9="convertToTypeOnlyImport"],getAllCodeActions:function(n){var a=new Set;return I7(n,U9,function(e,t){var r=W9(t.file,t.start);272!==(null==r?void 0:r.kind)||a.has(r)?276===(null==r?void 0:r.kind)&&!a.has(r.parent.parent.parent)&&H9(r,t.file,n.program)?(K9(e,t.file,r.parent.parent.parent),a.add(r.parent.parent.parent)):276===(null==r?void 0:r.kind)&&K9(e,t.file,r):(K9(e,t.file,r),a.add(r))})}})}});function Y9(e,t,r,n,a){var i,o,s,c,u,_,l;void 0===a&&(a=!1),!AB(t)||(i=function(e){var t=e.typeExpression;if(!t)return;e=null==(e=e.name)?void 0:e.getText();if(!e)return;if(329===t.kind)return function(e,t){t=function a(e){var t=e.jsDocPropertyTags;if(!dD(t))return;var e=function(e){var t,r=$9(e),n=null==(n=e.typeExpression)?void 0:n.type,e=e.isBracketed;if(n&&xB(n)?(t=a(n),t=uR.createTypeLiteralNode(t)):n&&(t=eZ(n)),t&&r){var e=e?uR.createToken(58):void 0;return uR.createPropertySignature(void 0,r,e,t)}};return uD(t,e)}(t);return dD(t)?uR.createInterfaceDeclaration(void 0,e,void 0,void 0,t):void 0}(e,t);if(316===t.kind)return function(e,t){t=eZ(t.type);return t?uR.createTypeAliasDeclaration(void 0,uR.createIdentifier(e),void 0,t):void 0}(e,t)}(t))&&(l=t.parent,s=(o=t).parent,_=s.getChildCount()-1,u=s.getChildren().findIndex(function(e){return e.getStart()===o.getStart()&&e.getEnd()===o.getEnd()}),c=0<u?s.getChildAt(u-1):void 0,u=u<_?s.getChildAt(u+1):void 0,s=(_={leftSibling:c,rightSibling:u}).leftSibling,c=_.rightSibling,u=l.getStart(),_="",!s&&l.comment&&(u=Z9(l,l.getStart(),t.getStart()),_="".concat(n," */").concat(n)),s&&(_=a&&AB(s)?(u=t.getStart(),""):(u=Z9(l,s.getStart(),t.getStart()),"".concat(n," */").concat(n))),t=l.getEnd(),l="",c&&(l=a&&AB(c)?(t=c.getStart(),"".concat(n).concat(n)):(t=c.getStart(),"".concat(n,"/**").concat(n," * "))),e.replaceRange(r,{pos:u,end:t},i,{prefix:_,suffix:l}))}function Z9(e,t,r){for(var n=e.getText().substring(t-e.getStart(),r-e.getStart()),a=n.length;0<a;a--)if(!/[*/\s]/g.test(n.substring(a-1,a)))return t+a;return r}function $9(e){return(80===e.name.kind?e.name:e.name.right).text}function eee(e){return tF(e)?cD(e.jsDoc,function(e){return null==(e=e.tags)?void 0:e.filter(AB)}):[]}var tee,ree,nee=e({"src/services/codefixes/convertTypedefToType.ts":function(){fpe(),Hoe(),G9="convertTypedefToType",X9=[mA.JSDoc_typedef_may_be_converted_to_TypeScript_type.code],N7({fixIds:[G9],errorCodes:X9,getCodeActions:function(t){var r=zY(t.host,t.formatContext.options),n=QX(t.sourceFile,t.span.start);if(n){var e=ode.ChangeTracker.with(t,function(e){return Y9(e,n,t.sourceFile,r)});return 0<e.length?[S7(G9,e,mA.Convert_typedef_to_TypeScript_type,G9,mA.Convert_all_typedef_to_TypeScript_types)]:void 0}},getAllCodeActions:function(a){return I7(a,X9,function(e,t){var r=zY(a.host,a.formatContext.options),n=QX(t.file,t.start);n&&Y9(e,n,t.file,r,!0)})}})}});function aee(e,t){var r=QX(e,t);if(xR(r)){t=JD(r.parent.parent,DR),e=r.getText(e);return{container:JD(t.parent,VR),typeNode:t.type,constraint:e,name:"K"===e?"P":"K"}}}function iee(e,t,r){var n=r.container,a=r.typeNode,i=r.constraint,r=r.name;e.replaceNode(t,n,uR.createMappedTypeNode(void 0,uR.createTypeParameterDeclaration(void 0,r,uR.createTypeReferenceNode(i)),void 0,void 0,a,void 0))}var oee,see,cee=e({"src/services/codefixes/convertLiteralTypeToMappedType.ts":function(){fpe(),Hoe(),tee="convertLiteralTypeToMappedType",N7({errorCodes:ree=[mA._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){var t=e.sourceFile,r=e.span,n=aee(t,r.start);if(n){var a=n.name,r=n.constraint,e=ode.ChangeTracker.with(e,function(e){return iee(e,t,n)});return[S7(tee,e,[mA.Convert_0_to_1_in_0,r,a],tee,mA.Convert_all_type_literals_to_mapped_type)]}},fixIds:[tee],getAllCodeActions:function(e){return I7(e,ree,function(e,t){var r=aee(t.file,t.start);r&&iee(e,t.file,r)})}})}});function uee(e,t){return rA.checkDefined(IP(QX(e,t)),"There should be a containing class")}function _ee(e){return!(e.valueDeclaration&&8&xL(e.valueDeclaration))}function lee(r,e,n,a,i,t){var o=r.program.getTypeChecker(),s=function(e,t){e=yO(e);if(!e)return vF();e=t.getTypeAtLocation(e);return vF(t.getPropertiesOfType(e).filter(_ee))}(a,o),c=o.getTypeAtLocation(e),u=o.getPropertiesOfType(c).filter(YD(_ee,function(e){return!s.has(e.escapedName)})),e=o.getTypeAtLocation(a),_=QN(a.members,IR);e.getNumberIndexType()||l(c,1),e.getStringIndexType()||l(c,0);c=yee(n,r.program,t,r.host);function l(e,t){t=o.getIndexInfoOfType(e,t);t&&d(n,a,o.indexInfoToIndexSignatureDeclaration(t,a,void 0,Wae(r)))}function d(e,t,r){_?i.insertNodeAfter(e,_,r):i.insertMemberAtStart(e,t,r)}qae(a,u,n,r,t,c,function(e){return d(n,a,e)}),c.writeFixes(i)}var dee,fee,pee,mee=e({"src/services/codefixes/fixClassIncorrectlyImplementsInterface.ts":function(){fpe(),Hoe(),N7({errorCodes:oee=[mA.Class_0_incorrectly_implements_interface_1.code,mA.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code],getCodeActions:function(r){var n=r.sourceFile,e=r.span,a=uee(n,e.start);return uD(gO(a),function(t){var e=ode.ChangeTracker.with(r,function(e){return lee(r,t,n,a,e,r.preferences)});return 0===e.length?void 0:S7(see,e,[mA.Implement_interface_0,t.getText(n)],see,mA.Implement_all_unimplemented_interfaces)})},fixIds:[see="fixClassIncorrectlyImplementsInterface"],getAllCodeActions:function(c){var u=new Map;return I7(c,oee,function(e,t){var r,n,a=uee(t.file,t.start);if(Zf(u,mJ(a)))try{for(var i=__values(gO(a)),o=i.next();!o.done;o=i.next()){var s=o.value;lee(c,s,t.file,a,e,c.preferences)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}})}})}});function yee(e,t,r,n,a){return vee(e,t,!1,r,n,a)}function vee(f,i,r,p,o,s){var m=i.getCompilerOptions(),y=[],v=[],g=new Map,h=new Map;return{addImportFromDiagnostic:function(e,t){e=Aee(t,e.code,e.start,r);if(!e||!e.length)return;c(SD(e))},addImportFromExportedSymbol:function(e,t){var r=rA.checkDefined(e.parent),n=ZZ(e,rM(m)),a=i.getTypeChecker(),a=a.getMergedSymbol(Uf(e,a)),a=Tee(f,a,n,r,!1,i,o,p,s),r=Nee(f,i),r=bee(f,rA.checkDefined(a),i,void 0,!!t,r,o,p);r&&c({fix:r,symbolName:n,errorIdentifierText:void 0})},writeFixes:function(n,e){var t,r,a,i,o,s;o=0===f.imports.length&&void 0!==e?e:iY(f,p);try{for(var c=__values(y),u=c.next();!u.done;u=c.next()){var _=u.value;Bee(n,f,_)}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(t)throw t.error}}try{for(var l=__values(v),d=l.next();!d.done;d=l.next()){_=d.value;Jee(n,f,_,o)}}catch(e){a={error:e}}finally{try{d&&!d.done&&(i=l.return)&&i.call(l)}finally{if(a)throw a.error}}g.forEach(function(e){var t=e.importClauseOrBindingPattern,r=e.defaultImport,e=e.namedImports;jee(n,f,t,r,PD(e.entries(),function(e){var t=__read(e,2),e=t[0];return{addAsTypeOnly:t[1],name:e}}),p)}),h.forEach(function(e,t){var r=e.useRequire,n=e.defaultImport,a=e.namedImports,e=e.namespaceLikeImport,e=(r?qee:Vee)(t.slice(2),o,n,a&&PD(a.entries(),function(e){var t=__read(e,2),e=t[0];return{addAsTypeOnly:t[1],name:e}}),e,m);s=U(s,e)}),s&&pY(n,f,s,!0,p)},hasFixes:function(){return 0<y.length||0<v.length||0<g.size||0<h.size}};function c(e){var t,r=e.fix,n=e.symbolName;switch(r.kind){case 0:y.push(r);break;case 1:v.push(r);break;case 2:var a=r.importClauseOrBindingPattern,i=r.importKind,o=r.addAsTypeOnly,s=String(mJ(a));(u=g.get(s))||g.set(s,u={importClauseOrBindingPattern:a,defaultImport:void 0,namedImports:new Map}),0===i?(_=null==u?void 0:u.namedImports.get(n),u.namedImports.set(n,l(_,o))):(rA.assert(void 0===u.defaultImport||u.defaultImport.name===n,"(Add to Existing) Default import should be missing or match symbolName"),u.defaultImport={name:n,addAsTypeOnly:l(null==(c=u.defaultImport)?void 0:c.addAsTypeOnly,o)});break;case 3:var a=r.moduleSpecifier,i=r.importKind,c=r.useRequire,u=function(e,t,r,n){var a=d(e,!0),i=d(e,!1),o=h.get(a),e=h.get(i),r={defaultImport:void 0,namedImports:void 0,namespaceLikeImport:void 0,useRequire:r};if(1===t&&2===n)return o||(h.set(a,r),r);if(1===n&&(o||e))return o||e;if(e)return e;return h.set(i,r),r}(a,i,c,o=r.addAsTypeOnly);switch(rA.assert(u.useRequire===c,"(Add new) Tried to add an `import` and a `require` for the same module"),i){case 1:rA.assert(void 0===u.defaultImport||u.defaultImport.name===n,"(Add new) Default import should be missing or match symbolName"),u.defaultImport={name:n,addAsTypeOnly:l(null==(t=u.defaultImport)?void 0:t.addAsTypeOnly,o)};break;case 0:var _=(u.namedImports||(u.namedImports=new Map)).get(n);u.namedImports.set(n,l(_,o));break;case 3:case 2:rA.assert(void 0===u.namespaceLikeImport||u.namespaceLikeImport.name===n,"Namespacelike import shoudl be missing or match symbolName"),u.namespaceLikeImport={importKind:i,name:n,addAsTypeOnly:o}}break;case 4:break;default:rA.assertNever(r,"fix wasn't never - got kind ".concat(r.kind))}function l(e,t){return Math.max(null!=e?e:0,t)}function d(e,t){return"".concat(t?1:0,"|").concat(e)}}}function gee(a,i,o,s){var c=zZ(a,s,o),u=Cee(i.getTypeChecker(),a,i.getCompilerOptions());return{getModuleSpecifierForBestExportInfo:function(e,t,r,n){r=See(e,t,r,!1,i,a,o,s,u,n),n=r.fixes,r=r.computedWithoutCacheCount,n=Eee(n,a,i,c,o);return n&&__assign(__assign({},n),{computedWithoutCacheCount:r})}}}function hee(e,t,r,n,a,i,o,s,c,u,_,l){var d,f=s.getCompilerOptions();r?(d=k$(n,o,s,_,l).get(n.path,r),rA.assertIsDefined(d,"Some exportInfo should match the specified exportMapKey")):(d=wa(UO(t.name))?[function(n,a,i,e,t){var o=e.getCompilerOptions(),e=r(e.getTypeChecker(),!1);if(e)return e;t=null==(t=null==(e=t.getPackageJsonAutoImportProvider)?void 0:e.call(t))?void 0:t.getTypeChecker();return rA.checkDefined(t&&r(t,!0),"Could not find symbol in specified module for code actions");function r(e,t){var r=T$(i,e,o);if(r&&Uf(r.symbol,e)===n)return{symbol:r.symbol,moduleSymbol:i,moduleFileName:void 0,exportKind:r.exportKind,targetFlags:Uf(n,e).flags,isFromPackageJson:t};r=e.tryGetMemberInModuleExportsAndProperties(a,i);return r&&Uf(r,e)===n?{symbol:r,moduleSymbol:i,moduleFileName:void 0,exportKind:0,targetFlags:Uf(n,e).flags,isFromPackageJson:t}:void 0}}(e,a,t,s,o)]:Tee(n,e,a,t,i,s,o,_,l),rA.assertIsDefined(d,"Some exportInfo should match the specified symbol / moduleSymbol"));i=Nee(n,s),l=IM(QX(n,u)),i=rA.checkDefined(bee(n,d,s,u,l,i,o,_));return{moduleSpecifier:i.moduleSpecifier,codeAction:kee(Mee({host:o,formatContext:c,preferences:_},n,a,i,!1,f,_))}}function xee(e,t,r,n,a,i){var o=r.getCompilerOptions(),s=j(Lee(e,r.getTypeChecker(),t,o)),r=Oee(e,t,s,r),t=s!==t.text;return r&&kee(Mee({host:n,formatContext:a,preferences:i},e,s,r,t,o,i))}function bee(e,t,r,n,a,i,o,s){var c=zZ(e,s,o);return Eee(See(t,n,a,i,r,e,o,s).fixes,e,r,c,o)}function kee(e){return{description:e.description,changes:e.changes,commands:e.commands}}function Tee(e,t,r,n,a,i,o,s,c){var u=Dee(i,o);return k$(e,o,i,s,c).search(e.path,a,function(e){return e===r},function(e){if(Uf(e[0].symbol,u(e[0].isFromPackageJson))===t&&e.some(function(e){return e.moduleSymbol===n||e.symbol.parent===n}))return e})}function See(e,t,r,n,a,i,o,s,c,u){void 0===c&&(c=Cee(a.getTypeChecker(),i,a.getCompilerOptions()));var _,l=a.getTypeChecker(),d=cD(e,c.getImportsForExportInfo),c=void 0!==t&&(_=t,GN(d,function(e){var t=e.declaration;if(0===e.importKind){var e=function(e){var t;switch(e.kind){case 260:return null==(t=BD(e.name,xR))?void 0:t.text;case 271:return e.name.text;case 272:return null==(t=BD(null==(t=e.importClause)?void 0:t.namedBindings,ah))?void 0:t.name.text;default:return rA.assertNever(e)}}(t),r=e&&(null==(r=MI(t))?void 0:r.text);return r?{kind:0,namespacePrefix:e,usagePosition:_,moduleSpecifier:r}:void 0}})),l=function(e,s,c,u){var t,r,n;try{for(var a=__values(e),i=a.next();!i.done;i=a.next()){var o=function(e){var t=e.declaration,r=e.importKind,n=e.symbol,a=e.targetFlags;if(3===r||2===r||271===t.kind)return;if(260===t.kind)return 0!==r&&1!==r||206!==t.name.kind?void 0:{kind:2,importClauseOrBindingPattern:t.name,importKind:r,moduleSpecifier:t.initializer.arguments[0].text,addAsTypeOnly:4};var i=t.importClause;if(!i||!oF(t.moduleSpecifier))return;var o=i.name,e=i.namedBindings;if(i.isTypeOnly&&(0!==r||!e))return;a=wee(s,!1,n,a,c,u);if(1===r&&(o||2===a&&e))return;return 0!==r||274!==(null==e?void 0:e.kind)?{kind:2,importClauseOrBindingPattern:i,importKind:r,moduleSpecifier:t.moduleSpecifier.text,addAsTypeOnly:a}:void 0}(i.value);if(o){var _=Ps(o.importClauseOrBindingPattern);if(4!==o.addAsTypeOnly&&_||4===o.addAsTypeOnly&&!_)return o;null!=n||(n=o)}}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n}(d,r,l,a.getCompilerOptions());if(l)return{computedWithoutCacheCount:0,fixes:__spreadArray(__spreadArray([],__read(c?[c]:WN),!1),[l],!1)};s=function(e,t,r,n,a,i,o,s,c,u){t=GN(t,function(e){return function(e,t,r,n,a){var i=e.declaration,o=e.importKind,s=e.symbol,e=e.targetFlags,i=null==(i=MI(i))?void 0:i.text;if(i){a=r?4:wee(t,!0,s,e,n,a);return{kind:3,moduleSpecifier:i,importKind:o,addAsTypeOnly:a,useRequire:r}}}(e,i,o,r.getTypeChecker(),r.getCompilerOptions())});return t?{fixes:[t]}:function(e,u,_,r,l,t,n,a,i){var d=sI(u),f=e.getCompilerOptions(),o=ZQ(e,n),p=Dee(e,n),m=eY(iM(f)),y=i?function(e){return{moduleSpecifiers:kC.tryGetModuleSpecifiersFromCache(e,u,o,a),computedWithoutCache:!1}}:function(e,t){return kC.getModuleSpecifiersWithCacheInfo(e,t,f,u,o,a)},v=0,t=cD(t,function(a,i){var o=p(a.isFromPackageJson),e=y(a.moduleSymbol,o),t=e.computedWithoutCache,e=e.moduleSpecifiers,s=!!(111551&a.targetFlags),c=wee(r,!0,a.symbol,a.targetFlags,o,f);return v+=t?1:0,uD(e,function(e){if(!m||!QS(e)){if(!s&&d&&void 0!==_)return{kind:1,moduleSpecifier:e,usagePosition:_,exportInfo:a,isReExport:0<i};var t,r,n=Iee(u,a.exportKind,f);return void 0!==_&&3===n&&0===a.exportKind&&(r=void 0,(t=o.resolveExternalModuleSymbol(a.moduleSymbol))!==a.moduleSymbol&&(r=null==(t=w$(t,o,f))?void 0:t.name),r={namespacePrefix:r=r||Kee(a.moduleSymbol,rM(f),!1),usagePosition:_}),{kind:3,moduleSpecifier:e,importKind:n,useRequire:l,addAsTypeOnly:c,exportInfo:a,isReExport:0<i,qualification:r}}})});return{computedWithoutCacheCount:v,fixes:t}}(r,n,a,i,o,e,s,c,u)}(e,d,a,i,t,r,n,o,s,u),u=s.fixes,s=s.computedWithoutCacheCount;return{computedWithoutCacheCount:void 0===s?0:s,fixes:__spreadArray(__spreadArray([],__read(c?[c]:WN),!1),__read(u),!1)}}function wee(e,t,r,n,a,i){return e?(!t||2!==i.importsNotUsedAsValues)&&(!Ap(i)||111551&n&&!a.getTypeOnlyAliasDeclaration(r))?1:2:4}function Cee(e,o,s){var t,r,c;try{for(var n=__values(o.imports),a=n.next();!a.done;a=n.next()){var i,u=a.value,_=kl(u);_l(_.parent)?(i=e.resolveExternalModuleName(u))&&(c=c||MD()).add(yJ(i),_.parent):272!==_.kind&&271!==_.kind||(i=e.getSymbolAtLocation(u))&&(c=c||MD()).add(yJ(i),_)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return{getImportsForExportInfo:function(e){var t=e.moduleSymbol,r=e.exportKind,n=e.targetFlags,a=e.symbol;if(!(111551&n)&&sI(o))return WN;t=null==c?void 0:c.get(yJ(t));if(!t)return WN;var i=Iee(o,r,s);return t.map(function(e){return{declaration:e,importKind:i,symbol:a,targetFlags:n}})}}}function Nee(e,t){var r,n;if(!sI(e))return!1;if(e.commonJsModuleIndicator&&!e.externalModuleIndicator)return!0;if(e.externalModuleIndicator&&!e.commonJsModuleIndicator)return!1;var a=t.getCompilerOptions();if(a.configFile)return nM(a)<5;if(1===e.impliedNodeFormat)return!0;if(99===e.impliedNodeFormat)return!1;try{for(var i=__values(t.getSourceFiles()),o=i.next();!o.done;o=i.next()){var s=o.value;if(s!==e&&sI(s)&&!t.isSourceFileFromExternalLibrary(s)){if(s.commonJsModuleIndicator&&!s.externalModuleIndicator)return!0;if(s.externalModuleIndicator&&!s.commonJsModuleIndicator)return!1}}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return!0}function Dee(t,r){return ga(function(e){return(e?r.getPackageJsonAutoImportProvider():t).getTypeChecker()})}function Aee(e,t,r,n){var g,h,x,b,k,T,S,r=QX(e.sourceFile,r);if(t===mA._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code)i=function(e,t){var r=e.sourceFile,n=e.program,a=e.host,i=e.preferences,o=n.getTypeChecker(),e=function(e,t){var r=xR(e)?t.getSymbolAtLocation(e):void 0;if(HL(r))return r;r=e.parent;if(YE(r)&&r.tagName===e||Zj(r)){r=t.resolveName(t.getJsxNamespace(r),YE(r)?e:r,111551,!1);if(HL(r))return r}return}(t,o);if(!e)return;var o=o.getAliasedSymbol(e),s=e.name,e=[{symbol:e,moduleSymbol:o,moduleFileName:void 0,exportKind:3,targetFlags:o.flags,isFromPackageJson:!1}],o=Nee(r,n);return See(e,void 0,!1,o,n,r,a,i).fixes.map(function(e){return{fix:e,symbolName:s,errorIdentifierText:null==(e=BD(t,xR))?void 0:e.text}})}(e,r);else{if(!xR(r))return;if(t===mA._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type.code){var a=j(Lee(e.sourceFile,e.program.getTypeChecker(),r,e.program.getCompilerOptions())),t=Oee(e.sourceFile,r,a,e.program);return t&&[{fix:t,symbolName:a,errorIdentifierText:r.text}]}g=r,h=n,x=(a=e).sourceFile,b=a.program,k=a.cancellationToken,T=a.host,S=a.preferences,n=b.getTypeChecker(),a=b.getCompilerOptions(),i=cD(Lee(x,n,g,a),function(t){if("default"!==t){var s,c,u,_,l,r,e,n,d,a,f,p,m,y,i=IM(g),o=Nee(x,b);return PD(w((s=t,c=ZP(g),u=HG(g),_=k,l=x,r=b,e=h,n=T,d=S,f=MD(),p=zZ(l,d,n),m=null==(a=n.getModuleSpecifierCache)?void 0:a.call(n),y=ga(function(e){return ZQ(e?n.getPackageJsonAutoImportProvider():r,n)}),x$(r,n,d,e,function(e,t,r,n){var a=r.getTypeChecker();_.throwIfCancellationRequested();var i=r.getCompilerOptions(),o=T$(e,a,i);o&&(o.name===s||Kee(e,rM(i),c)===s)&&Hee(o.resolvedSymbol,u)&&v(e,t,o.symbol,o.exportKind,r,n);a=a.tryGetMemberInModuleExportsAndProperties(s,e);a&&Hee(a,u)&&v(e,t,a,0,r,n)}),f).values(),function(e){return See(e,g.getStart(x),i,o,b,x,T,S).fixes}),function(e){return{fix:e,symbolName:t,errorIdentifierText:g.text,isJsxNamespaceFix:t!==g.text}})}function v(e,t,r,n,a,i){var o=y(i);(t&&h$(a,l,t,d,p,o,m)||!t&&p.allowsImportingAmbientModule(e,o))&&(a=a.getTypeChecker(),f.add(YY(r,a).toString(),{symbol:r,moduleSymbol:e,moduleFileName:null==t?void 0:t.fileName,exportKind:n,targetFlags:Uf(r,a).flags,isFromPackageJson:i}))}})}var i,o,s,c,u,a=zZ(e.sourceFile,e.preferences,e.host);return i&&(i=i,o=e.sourceFile,s=e.program,c=a,u=e.host,M(i,function(e,t){return Se(!!e.isJsxNamespaceFix,!!t.isJsxNamespaceFix)||UD(e.fix.kind,t.fix.kind)||Fee(e.fix,t.fix,o,s,c.allowsImportingSpecifier,_)}));function _(e){return Ja(e,u.getCurrentDirectory(),hd(u))}}function Eee(e,r,n,a,i){if(dD(e))return 0===e[0].kind||2===e[0].kind?e[0]:e.reduce(function(e,t){return-1===Fee(t,e,r,n,a.allowsImportingSpecifier,function(e){return Ja(e,i.getCurrentDirectory(),hd(i))})?t:e})}function Fee(e,t,r,n,a,i){return 0!==e.kind&&0!==t.kind?Se(a(t.moduleSpecifier),a(e.moduleSpecifier))||(o=e.moduleSpecifier,s=t.moduleSpecifier,c=r,a=n,XD(o,"node:")&&!XD(s,"node:")?s$(c,a)?-1:1:XD(s,"node:")&&!XD(o,"node:")?s$(c,a)?1:-1:0)||Se(Pee(e,r,n.getCompilerOptions(),i),Pee(t,r,n.getCompilerOptions(),i))||fm(e.moduleSpecifier,t.moduleSpecifier):0;var o,s,c}function Pee(e,t,r,n){var a;if(e.isReExport&&null!=(a=e.exportInfo)&&a.moduleFileName&&2===iM(r)&&"index"===Ea(e.exportInfo.moduleFileName,[".js",".jsx",".d.ts",".ts",".tsx"],!0)){e=n(lA(e.exportInfo.moduleFileName));return XD(t.path,e)}return!1}function Iee(e,t,r,n){if(r.verbatimModuleSyntax&&(1===nM(r)||1===e.impliedNodeFormat))return 3;switch(t){case 0:return 0;case 1:return 1;case 2:return function(e,t,r){var n,a,i=uM(t),o=cI(e);if(!o&&5<=nM(t))return i?1:2;if(o)return XB(e)||r?i?1:2:3;try{for(var s=__values(e.statements),c=s.next();!c.done;c=s.next()){var u=c.value;if(Bj(u)&&!EF(u.moduleReference))return 3}}catch(e){n={error:e}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(n)throw n.error}}return i?1:3}(e,r,!!n);case 3:return function(e,t,r){if(uM(t))return 1;var n=nM(t);switch(n){case 2:case 1:case 3:return cI(e)?XB(e)||r?2:3: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 rA.assertNever(n,"Unexpected moduleKind ".concat(n))}}(e,r,!!n);default:return rA.assertNever(t)}}function Oee(e,t,r,n){n=n.getTypeChecker(),t=n.resolveName(r,t,111551,!0);if(t){t=n.getTypeOnlyAliasDeclaration(t);if(t&&CF(t)===e)return{kind:4,typeOnlyAliasDeclaration:t}}}function Lee(e,t,r,n){var a=r.parent;if((YE(a)||uh(a))&&a.tagName===r&&l$(n.jsx)){e=t.getJsxNamespace(e);if(function(e,t,r){if(VO(t.text))return!0;t=r.resolveName(e,t,111551,!0);return!t||dD(t.declarations,pE)&&!(111551&t.flags)}(e,r,t))return!VO(r.text)&&!t.resolveName(r.text,r,111551,!1)?[r.text,e]:[e]}return[r.text]}function Mee(e,t,r,n,a,i,o){var s,e=ode.ChangeTracker.with(e,function(e){s=function(e,t,r,n,a,i,o){var s=iY(t,o);switch(n.kind){case 0:return Bee(e,t,n),[mA.Change_0_to_1,r,"".concat(n.namespacePrefix,".").concat(r)];case 1:return Jee(e,t,n,s),[mA.Change_0_to_1,r,zee(n.moduleSpecifier,s)+r];case 2:var c=n.importClauseOrBindingPattern,u=n.importKind,_=n.addAsTypeOnly,l=n.moduleSpecifier;jee(e,t,c,1===u?{name:r,addAsTypeOnly:_}:void 0,0===u?[{name:r,addAsTypeOnly:_}]:WN,o);var d=UO(l);return a?[mA.Import_0_from_1,r,d]:[mA.Update_import_from_0,d];case 3:var u=n.importKind,l=n.moduleSpecifier,_=n.addAsTypeOnly,f=n.useRequire,p=n.qualification,c=f?qee:Vee,d=1===u?{name:r,addAsTypeOnly:_}:void 0,f=0===u?[{name:r,addAsTypeOnly:_}]:void 0,_=2===u||3===u?{importKind:u,name:(null==p?void 0:p.namespacePrefix)||r,addAsTypeOnly:_}:void 0;return pY(e,t,c(l,s,d,f,_,i),!0,o),p&&Bee(e,t,p),a?[mA.Import_0_from_1,r,l]:[mA.Add_import_from_0,l];case 4:l=n.typeOnlyAliasDeclaration,l=function(u,_,l,d,f){var p=Ap(l);switch(_.kind){case 276:if(_.isTypeOnly){var e,t=F_e.detectImportSpecifierSorting(_.parent.elements,f);return 1<_.parent.elements.length&&t?(u.delete(d,_),e=uR.updateImportSpecifier(_,!1,_.propertyName,_.name),t=F_e.getOrganizeImportsComparer(f,2===t),t=F_e.getImportSpecifierInsertionIndex(_.parent.elements,e,t),u.insertImportSpecifierAtIndex(d,e,_.parent,t)):u.deleteRange(d,_.getFirstToken()),_}return rA.assert(_.parent.parent.isTypeOnly),r(_.parent.parent),_.parent.parent;case 273:return r(_),_;case 274:return r(_.parent),_.parent;case 271:return u.deleteRange(d,_.getChildAt(1)),_;default:rA.failBadSyntaxKind(_)}function r(e){var t,r,n,a;if(u.delete(d,mY(e,d)),l.allowImportingTsExtensions||null!=(a=(n=MI(e.parent))&&TF(d,n.text,VV(d,n)))&&a.resolvedUsingTsExtension&&(a=qa(n.text,NU(n.text,l)),u.replaceNode(d,n,uR.createStringLiteral(a))),p){var i=BD(e.namedBindings,ih);if(i&&1<i.elements.length){F_e.detectImportSpecifierSorting(i.elements,f)&&276===_.kind&&0!==i.elements.indexOf(_)&&(u.delete(d,_),u.insertImportSpecifierAtIndex(d,_,i,0));try{for(var o=__values(i.elements),s=o.next();!s.done;s=o.next()){var c=s.value;c===_||c.isTypeOnly||u.insertModifierBefore(d,156,c)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}}}}}(e,l,i,t,o);return 276===l.kind?[mA.Remove_type_from_import_of_0_from_1,r,Ree(l.parent.parent)]:[mA.Remove_type_from_import_declaration_from_0,Ree(l)];default:return rA.assertNever(n,"Unexpected fix kind ".concat(n.kind))}}(e,t,r,n,a,i,o)});return S7(dee,e,s,fee,mA.Add_all_missing_imports)}function Ree(e){var t;return 271===e.kind?(null==(t=BD(null==(t=BD(e.moduleReference,Gj))?void 0:t.expression,oF))?void 0:t.text)||e.moduleReference.getText():JD(e.parent.moduleSpecifier,hR).text}function jee(n,a,t,e,r,i){var o,s,c,u,_,l,d,f;if(206!==t.kind){var p=t.isTypeOnly&&dD(__spreadArray([e],__read(r),!1),function(e){return 4===(null==e?void 0:e.addAsTypeOnly)}),m=t.namedBindings&&(null==(y=BD(t.namedBindings,ih))?void 0:y.elements);if(e&&(rA.assert(!t.name,"Cannot add a default import to an import clause that already has one"),n.insertNodeAt(a,t.getStart(a),uR.createIdentifier(e.name),{suffix:", "})),r.length){var y,v=void 0;"boolean"==typeof i.organizeImportsIgnoreCase?v=i.organizeImportsIgnoreCase:!m||3!==(y=F_e.detectImportSpecifierSorting(m,i))&&(v=2===y),void 0===v&&(v=2===F_e.detectSorting(a,i));var g=F_e.getOrganizeImportsComparer(i,v),h=bn(r.map(function(e){return uR.createImportSpecifier((!t.isTypeOnly||p)&&Uee(e),void 0,uR.createIdentifier(e.name))}),function(e,t){return F_e.compareImportOrExportSpecifiers(e,t,g)}),i=(null==m?void 0:m.length)&&F_e.detectImportSpecifierSorting(m,i);if(!i||v&&1===i)if(null!=m&&m.length)try{for(var x=__values(h),b=x.next();!b.done;b=x.next()){S=b.value;n.insertNodeInListAfter(a,ND(m),S,m)}}catch(e){_={error:e}}finally{try{b&&!b.done&&(l=x.return)&&l.call(x)}finally{if(_)throw _.error}}else h.length&&(i=uR.createNamedImports(h),t.namedBindings?n.replaceNode(a,t.namedBindings,i):n.insertNodeAfter(a,rA.checkDefined(t.name,"Import clause must have either named imports or a default import"),i));else try{for(var k=__values(h),T=k.next();!T.done;T=k.next()){var S=T.value,w=p&&!S.isTypeOnly?0:F_e.getImportSpecifierInsertionIndex(m,S,g);n.insertImportSpecifierAtIndex(a,S,t.namedBindings,w)}}catch(e){c={error:e}}finally{try{T&&!T.done&&(u=k.return)&&u.call(k)}finally{if(c)throw c.error}}}if(p&&(n.delete(a,mY(t,a)),m))try{for(var C=__values(m),N=C.next();!N.done;N=C.next()){E=N.value;n.insertModifierBefore(a,156,E)}}catch(e){d={error:e}}finally{try{N&&!N.done&&(f=C.return)&&f.call(C)}finally{if(d)throw d.error}}}else{e&&F(t,e.name,"default");try{for(var D=__values(r),A=D.next();!A.done;A=D.next()){var E=A.value;F(t,E.name,void 0)}}catch(e){o={error:e}}finally{try{A&&!A.done&&(s=D.return)&&s.call(D)}finally{if(o)throw o.error}}}function F(e,t,r){t=uR.createBindingElement(void 0,r,t);e.elements.length?n.insertNodeInListAfter(a,ND(e.elements),t):n.replaceNode(a,e,uR.createObjectBindingPattern([t]))}}function Bee(e,t,r){var n=r.namespacePrefix,r=r.usagePosition;e.insertText(t,r,n+".")}function Jee(e,t,r,n){var a=r.moduleSpecifier,r=r.usagePosition;e.insertText(t,r,zee(a,n))}function zee(e,t){t=oY(t);return"import(".concat(t).concat(e).concat(t,").")}function Uee(e){return 2===e.addAsTypeOnly}function Vee(e,t,r,n,a,i){var o,s,c=nY(e,t);return(void 0!==r||null!=n&&n.length)&&(o=(!r||Uee(r))&&XN(n,Uee)||i.verbatimModuleSyntax&&4!==(null==r?void 0:r.addAsTypeOnly)&&!dD(n,function(e){return 4===e.addAsTypeOnly}),s=U(s,rY(r&&uR.createIdentifier(r.name),null==n?void 0:n.map(function(e){var t=e.addAsTypeOnly,e=e.name;return uR.createImportSpecifier(!o&&2===t,void 0,uR.createIdentifier(e))}),e,t,o))),a&&(s=U(s,3===a.importKind?uR.createImportEqualsDeclaration(void 0,Uee(a),uR.createIdentifier(a.name),uR.createExternalModuleReference(c)):uR.createImportDeclaration(void 0,uR.createImportClause(Uee(a),void 0,uR.createNamespaceImport(uR.createIdentifier(a.name))),c,void 0))),rA.checkDefined(s)}function qee(e,t,r,n,a){var i,t=nY(e,t);return(r||null!=n&&n.length)&&(n=(null==n?void 0:n.map(function(e){e=e.name;return uR.createBindingElement(void 0,void 0,e)}))||[],r&&n.unshift(uR.createBindingElement(void 0,"default",r.name)),i=U(i,Wee(uR.createObjectBindingPattern(n),t))),a&&(i=U(i,Wee(a.name,t))),rA.checkDefined(i)}function Wee(e,t){return uR.createVariableStatement(void 0,uR.createVariableDeclarationList([uR.createVariableDeclaration("string"==typeof e?uR.createIdentifier(e):e,void 0,void 0,uR.createCallExpression(uR.createIdentifier("require"),void 0,[t]))],2))}function Hee(e,t){return dD(e.declarations,function(e){return!!(WG(e)&t)})}function Kee(e,t,r){return Gee(pm(UO(e.name)),t,r)}function Gee(e,t,r){var n=Ea(ur(e,"/index")),a="",i=!0,e=n.charCodeAt(0);ro(e,t)?(a+=String.fromCharCode(e),r&&(a=a.toUpperCase())):i=!1;for(var o=1;o<n.length;o++){var s=n.charCodeAt(o),c=no(s,t);c&&(s=String.fromCharCode(s),i||(s=s.toUpperCase()),a+=s),i=c}return bO(a)?"_".concat(a):a||"_"}var Xee,Qee,Yee=e({"src/services/codefixes/importFixes.ts":function(){fpe(),Hoe(),dee="import",fee="fixMissingImport",N7({errorCodes:pee=[mA.Cannot_find_name_0.code,mA.Cannot_find_name_0_Did_you_mean_1.code,mA.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,mA.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,mA.Cannot_find_namespace_0.code,mA._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code,mA._0_only_refers_to_a_type_but_is_being_used_as_a_value_here.code,mA.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer.code,mA._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type.code],getCodeActions:function(n){var e=n.errorCode,a=n.preferences,i=n.sourceFile,t=n.span,o=n.program,t=Aee(n,e,t.start,!0);if(t)return t.map(function(e){var t=e.fix,r=e.symbolName,e=e.errorIdentifierText;return Mee(n,i,r,t,r!==e,o.getCompilerOptions(),a)})},fixIds:[fee],getAllCodeActions:function(t){var r=vee(t.sourceFile,t.program,!0,t.preferences,t.host,t.cancellationToken);return O7(t,pee,function(e){return r.addImportFromDiagnostic(e,t)}),F7(ode.ChangeTracker.with(t,r.writeFixes))}})}});function Zee(e,t,r){var n=QN(e.getSemanticDiagnostics(t),function(e){return e.start===r.start&&e.length===r.length});if(void 0!==n&&void 0!==n.relatedInformation){var a=QN(n.relatedInformation,function(e){return e.code===mA.This_type_parameter_might_need_an_extends_0_constraint.code});if(void 0!==a&&void 0!==a.file&&void 0!==a.start&&void 0!==a.length){n=uie(a.file,So(a.start,a.length));if(void 0!==n&&(xR(n)&&wR(n.parent)&&(n=n.parent),wR(n))){if(wg(n.parent))return;t=QX(t,r.start);return{constraint:function(e,t){if(FE(t.parent))return e.getTypeArgumentConstraint(t.parent);return(jE(t)?e.getContextualType(t):void 0)||e.getTypeAtLocation(t)}(e.getTypeChecker(),t)||function(e){e=__read(BV(e,"\n",0).match(/`extends (.*)`/)||[],2),e[0];return e[1]}(a.messageText),declaration:n,token:t}}}}}function $ee(e,t,r,n,a,i){var o,s=i.declaration,c=i.constraint,u=t.getTypeChecker();jD(c)?e.insertText(a,s.name.end," extends ".concat(c)):(o=rM(t.getCompilerOptions()),i=Wae({program:t,host:n}),(i=Qae(u,n=yee(a,t,r,n),c,void 0,o,void 0,i))&&(e.replaceNode(a,s,uR.updateTypeParameterDeclaration(s,void 0,s.name,i,s.default)),n.writeFixes(e)))}var ete,tte,rte,nte,ate,ite=e({"src/services/codefixes/fixAddMissingConstraint.ts":function(){fpe(),Hoe(),Xee="addMissingConstraint",N7({errorCodes:Qee=[mA.Type_0_is_not_comparable_to_type_1.code,mA.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated.code,mA.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,mA.Type_0_is_not_assignable_to_type_1.code,mA.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,mA.Property_0_is_incompatible_with_index_signature.code,mA.Property_0_in_type_1_is_not_assignable_to_type_2.code,mA.Type_0_does_not_satisfy_the_constraint_1.code],getCodeActions:function(e){var t=e.sourceFile,r=e.span,n=e.program,a=e.preferences,i=e.host,o=Zee(n,t,r);if(void 0!==o){e=ode.ChangeTracker.with(e,function(e){return $ee(e,n,a,i,t,o)});return[S7(Xee,e,mA.Add_extends_constraint,Xee,mA.Add_extends_constraint_to_all_type_parameters)]}},fixIds:[Xee],getAllCodeActions:function(e){var n=e.program,a=e.preferences,i=e.host,o=new Map;return F7(ode.ChangeTracker.with(e,function(r){O7(e,Qee,function(e){var t=Zee(n,e.file,So(e.start,e.length));return t&&Zf(o,mJ(t.declaration))&&($ee(r,n,a,i,e.file,t),0)})}))}})}});function ote(e,t,r,n){switch(r){case mA.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code:case mA.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code:case mA.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code:case mA.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code:case mA.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,r){var n=cte(t,r);if(sI(t))return void e.addJSDocTags(t,n,[uR.createJSDocOverrideTag(uR.createIdentifier("override"))]);var a=n.modifiers||WN,i=QN(a,dg),o=QN(a,fg),r=QN(a,function(e){return CQ(e.kind)}),a=YN(a,NR),n=o?o.end:i?i.end:r?r.end:a?xA(t.text,a.end):n.getStart(t),o=r||i||o?{prefix:" "}:{suffix:" "};e.insertModifierAt(t,n,164,o)}(e,t.sourceFile,n);case mA.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code:case mA.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code:case mA.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code:case mA.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,r){r=cte(t,r);if(sI(t))return void e.filterJSDocTags(t,r,$D(Ah));r=QN(r.modifiers,pg);rA.assertIsDefined(r),e.deleteModifier(t,r)}(e,t.sourceFile,n);default:rA.fail("Unexpected error code: "+r)}}function ste(e){switch(e.kind){case 176:case 172:case 174:case 177:case 178:return!0;case 169:return CA(e,e.parent);default:return!1}}function cte(e,t){t=FA(QX(e,t),function(e){return NE(e)?"quit":ste(e)});return rA.assert(t&&ste(t)),t}var ute,_te,lte=e({"src/services/codefixes/fixOverrideModifier.ts":function(){var e;fpe(),Hoe(),ete="fixOverrideModifier",tte="fixAddOverrideModifier",rte="fixRemoveOverrideModifier",nte=[mA.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code,mA.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code,mA.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code,mA.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code,mA.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code,mA.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code,mA.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code,mA.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code,mA.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code],(e={})[mA.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code]={descriptions:mA.Add_override_modifier,fixId:tte,fixAllDescriptions:mA.Add_all_missing_override_modifiers},e[mA.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code]={descriptions:mA.Add_override_modifier,fixId:tte,fixAllDescriptions:mA.Add_all_missing_override_modifiers},e[mA.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code]={descriptions:mA.Remove_override_modifier,fixId:rte,fixAllDescriptions:mA.Remove_all_unnecessary_override_modifiers},e[mA.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code]={descriptions:mA.Remove_override_modifier,fixId:rte,fixAllDescriptions:mA.Remove_override_modifier},e[mA.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code]={descriptions:mA.Add_override_modifier,fixId:tte,fixAllDescriptions:mA.Add_all_missing_override_modifiers},e[mA.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code]={descriptions:mA.Add_override_modifier,fixId:tte,fixAllDescriptions:mA.Add_all_missing_override_modifiers},e[mA.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code]={descriptions:mA.Add_override_modifier,fixId:tte,fixAllDescriptions:mA.Remove_all_unnecessary_override_modifiers},e[mA.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code]={descriptions:mA.Remove_override_modifier,fixId:rte,fixAllDescriptions:mA.Remove_all_unnecessary_override_modifiers},e[mA.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code]={descriptions:mA.Remove_override_modifier,fixId:rte,fixAllDescriptions:mA.Remove_all_unnecessary_override_modifiers},ate=e,N7({errorCodes:nte,getCodeActions:function(t){var r=t.errorCode,n=t.span,e=ate[r];if(!e)return WN;var a=e.descriptions,i=e.fixId,o=e.fixAllDescriptions,e=ode.ChangeTracker.with(t,function(e){return ote(e,t,r,n.start)});return[w7(ete,e,a,i,o)]},fixIds:[ete,tte,rte],getAllCodeActions:function(a){return I7(a,nte,function(e,t){var r=t.code,n=t.start,t=ate[r];t&&t.fixId===a.fixId&&ote(e,a,r,n)})}})}});function dte(e,t,r,n){n=iY(t,n),n=uR.createStringLiteral(r.name.text,0===n);e.replaceNode(t,r,ms(r)?uR.createElementAccessChain(r.expression,r.questionDotToken,n):uR.createElementAccessExpression(r.expression,n))}function fte(e,t){return JD(QX(e,t).parent,aj)}var pte,mte,yte=e({"src/services/codefixes/fixNoPropertyAccessFromIndexSignature.ts":function(){fpe(),Hoe(),ute="fixNoPropertyAccessFromIndexSignature",N7({errorCodes:_te=[mA.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0.code],fixIds:[ute],getCodeActions:function(t){var e=t.sourceFile,r=t.span,n=t.preferences,a=fte(e,r.start),r=ode.ChangeTracker.with(t,function(e){return dte(e,t.sourceFile,a,n)});return[S7(ute,r,[mA.Use_element_access_for_0,a.name.text],ute,mA.Use_element_access_for_all_undeclared_properties)]},getAllCodeActions:function(r){return I7(r,_te,function(e,t){return dte(e,t.file,fte(t.file,t.start),r.preferences)})}})}});function vte(e,t,r,n){var a=QX(t,r);if(bX(a)){var i=RP(a,!1,!1);if((Fj(i)||_j(i))&&!uB(RP(i,!1,!1))){var o=rA.checkDefined(MX(i,100,t)),r=i.name,a=rA.checkDefined(i.body);return _j(i)?r&&pue.Core.isSymbolReferencedInFile(r,n,t,a)?void 0:(e.delete(t,o),r&&e.delete(t,r),e.insertText(t,a.pos," =>"),[mA.Convert_function_expression_0_to_arrow_function,r?r.text:UG]):(e.replaceNode(t,o,uR.createToken(87)),e.insertText(t,r.end," = "),e.insertText(t,a.pos," =>"),[mA.Convert_function_declaration_0_to_arrow_function,r.text])}}}var gte,hte,xte=e({"src/services/codefixes/fixImplicitThis.ts":function(){fpe(),Hoe(),pte="fixImplicitThis",N7({errorCodes:mte=[mA.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code],getCodeActions:function(e){var t,r=e.sourceFile,n=e.program,a=e.span,e=ode.ChangeTracker.with(e,function(e){t=vte(e,r,a.start,n.getTypeChecker())});return t?[S7(pte,e,t,pte,mA.Fix_all_implicit_this_errors)]:WN},fixIds:[pte],getAllCodeActions:function(r){return I7(r,mte,function(e,t){vte(e,t.file,t.start,r.program.getTypeChecker())})}})}});function bte(e,t,r){var n=QX(e,t);if(xR(n)){t=FA(n,Jj);if(void 0===t)return;t=hR(t.moduleSpecifier)?t.moduleSpecifier.text:void 0;if(void 0===t)return;e=TF(e,t,void 0);if(void 0===e)return;e=r.getSourceFile(e.resolvedFileName);if(void 0===e||d$(r,e))return;r=null==(r=BD(e.symbol.valueDeclaration,KE))?void 0:r.locals;if(void 0===r)return;r=r.get(n.escapedText);if(void 0===r)return;r=function(e){if(void 0===e.valueDeclaration)return kD(e.declarations);var t=e.valueDeclaration,e=Aj(t)?BD(t.parent.parent,Tj):void 0;return e&&1===HN(e.declarationList.declarations)?e:t}(r);return void 0===r?void 0:{exportName:{node:n,isTypeOnly:KM(r)},node:r,moduleSourceFile:e,moduleSpecifier:t}}}function kte(e,t,r,n,a){HN(n)&&(a?Ste(e,t,r,a,n):wte(e,t,r,n))}function Tte(e,t){return YN(e.statements,function(e){return Wj(e)&&(t&&e.isTypeOnly||!e.isTypeOnly)})}function Ste(e,t,r,n,a){var i=n.exportClause&&Hj(n.exportClause)?n.exportClause.elements:uR.createNodeArray([]),t=!(n.isTypeOnly||!sM(t.getCompilerOptions())&&!QN(i,function(e){return e.isTypeOnly}));e.replaceNode(r,n,uR.updateExportDeclaration(n,n.modifiers,n.isTypeOnly,uR.createNamedExports(uR.createNodeArray(__spreadArray(__spreadArray([],__read(i),!1),__read(Cte(a,t)),!1),i.hasTrailingComma)),n.moduleSpecifier,n.assertClause))}function wte(e,t,r,n){e.insertNodeAtEndOfScope(r,r,uR.createExportDeclaration(void 0,!1,uR.createNamedExports(Cte(n,sM(t.getCompilerOptions()))),void 0,void 0))}function Cte(e,t){return uR.createNodeArray(iD(e,function(e){return uR.createExportSpecifier(t&&e.isTypeOnly,void 0,e.node)}))}var Nte,Dte=e({"src/services/codefixes/fixImportNonExportedMember.ts":function(){fpe(),Hoe(),gte="fixImportNonExportedMember",N7({errorCodes:hte=[mA.Module_0_declares_1_locally_but_it_is_not_exported.code],fixIds:[gte],getCodeActions:function(e){var t=e.sourceFile,r=e.span,o=e.program,s=bte(t,r.start,o);if(void 0!==s){e=ode.ChangeTracker.with(e,function(e){return t=e,r=o,a=(n=s).exportName,i=n.node,e=n.moduleSourceFile,void((n=Tte(e,a.isTypeOnly))?Ste(t,r,e,n,[a]):GM(i)?t.insertExportModifier(e,i):wte(t,r,e,[a]));var t,r,n,a,i});return[S7(gte,e,[mA.Export_0_from_module_1,s.exportName.node.text,s.moduleSpecifier],gte,mA.Export_all_referenced_locals)]}},getAllCodeActions:function(e){var i=e.program;return F7(ode.ChangeTracker.with(e,function(n){var a=new Map;O7(e,hte,function(e){var t,r=bte(e.file,e.start,i);void 0!==r&&(t=r.exportName,e=r.node,void 0===Tte(r=r.moduleSourceFile,t.isTypeOnly)&&GM(e)?n.insertExportModifier(r,e):(e=a.get(r)||{typeOnlyExports:[],exports:[]},(t.isTypeOnly?e.typeOnlyExports:e.exports).push(t),a.set(r,e)))}),a.forEach(function(e,t){var r=Tte(t,!0);r&&r.isTypeOnly?(kte(n,i,t,e.typeOnlyExports,r),kte(n,i,t,e.exports,Tte(t,!1))):kte(n,i,t,__spreadArray(__spreadArray([],__read(e.exports),!1),__read(e.typeOnlyExports),!1),r)})}))}})}});var Ate,Ete,Fte=e({"src/services/codefixes/fixIncorrectNamedTupleSyntax.ts":function(){fpe(),Hoe(),Nte="fixIncorrectNamedTupleSyntax",N7({errorCodes:[mA.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,mA.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type.code],getCodeActions:function(e){var t,r=e.sourceFile,n=e.span,a=(t=r,n=n.start,FA(QX(t,n),function(e){return 202===e.kind})),e=ode.ChangeTracker.with(e,function(e){return function(e,t,r){if(r){for(var n=r.type,a=!1,i=!1;190===n.kind||191===n.kind||196===n.kind;)190===n.kind?a=!0:191===n.kind&&(i=!0),n=n.type;var o=uR.updateNamedTupleMember(r,r.dotDotDotToken||(i?uR.createToken(26):void 0),r.name,r.questionToken||(a?uR.createToken(58):void 0),n);o!==r&&e.replaceNode(t,r,o)}}(e,r,a)});return[S7(Nte,e,mA.Move_labeled_tuple_element_modifiers_to_labels,Nte,mA.Move_labeled_tuple_element_modifiers_to_labels)]},fixIds:[Nte]})}});function Pte(e,t,r,n){var a=QX(e,t),t=a.parent;if(n!==mA.No_overload_matches_this_call.code&&n!==mA.Type_0_is_not_assignable_to_type_1.code||$j(t)){var i,o,s,c,u,n=r.program.getTypeChecker();return aj(t)&&t.name===a?(rA.assert(ps(a),"Expected an identifier for spelling (property access)"),i=n.getTypeAtLocation(t.expression),64&t.flags&&(i=n.getNonNullableType(i)),i=n.getSuggestedSymbolForNonexistentProperty(a,i)):mj(t)&&103===t.operatorToken.kind&&t.left===a&&bR(a)?(o=n.getTypeAtLocation(t.right),i=n.getSuggestedSymbolForNonexistentProperty(a,o)):TR(t)&&t.right===a?(o=n.getSymbolAtLocation(t.left))&&1536&o.flags&&(i=n.getSuggestedSymbolForNonexistentModule(t.right,o)):Vj(t)&&t.name===a?(rA.assertNode(a,xR,"Expected an identifier for spelling (import)"),(s=function(e,t,r){if(!r||!oF(r.moduleSpecifier))return;r=TF(e,r.moduleSpecifier.text,VV(e,r.moduleSpecifier));return r?t.program.getSourceFile(r.resolvedFileName):void 0}(e,r,FA(a,Jj)))&&s.symbol&&(i=n.getSuggestedSymbolForNonexistentModule(a,s.symbol))):$j(t)&&t.name===a?(rA.assertNode(a,xR,"Expected an identifier for JSX attribute"),s=FA(a,YE),s=n.getContextualTypeForArgumentAtIndex(s,0),i=n.getSuggestedSymbolForNonexistentJSXAttribute(a,s)):_L(t,16384)&&CE(t)&&t.name===a?(u=(c=(u=FA(a,NE))?yO(u):void 0)?n.getTypeAtLocation(c):void 0)&&(i=n.getSuggestedSymbolForNonexistentClassMember(PF(a),u)):(c=HG(a),u=PF(a),rA.assert(void 0!==u,"name should be defined"),i=n.getSuggestedSymbolForNonexistentSymbol(a,u,function(e){var t=0;4&e&&(t|=1920);2&e&&(t|=788968);1&e&&(t|=111551);return t}(c))),void 0===i?void 0:{node:a,suggestedSymbol:i}}}function Ite(e,t,r,n,a){var i=RA(n);bA(i,a)||!aj(r.parent)||(n=n.valueDeclaration)&&BA(n)&&bR(n.name)?e.replaceNode(t,r,uR.createIdentifier(i)):e.replaceNode(t,r.parent,uR.createElementAccessExpression(r.parent.expression,uR.createStringLiteral(i)))}var Ote,Lte,Mte,Rte,jte,Bte=e({"src/services/codefixes/fixSpelling.ts":function(){fpe(),Hoe(),Ate="fixSpelling",N7({errorCodes:Ete=[mA.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,mA.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code,mA.Cannot_find_name_0_Did_you_mean_1.code,mA.Could_not_find_name_0_Did_you_mean_1.code,mA.Cannot_find_namespace_0_Did_you_mean_1.code,mA.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,mA.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,mA._0_has_no_exported_member_named_1_Did_you_mean_2.code,mA.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,mA.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,mA.No_overload_matches_this_call.code,mA.Type_0_is_not_assignable_to_type_1.code],getCodeActions:function(e){var t=e.sourceFile,r=e.errorCode,r=Pte(t,e.span.start,e,r);if(r){var n=r.node,a=r.suggestedSymbol,i=rM(e.host.getCompilationSettings());return[S7("spelling",ode.ChangeTracker.with(e,function(e){return Ite(e,t,n,a,i)}),[mA.Change_spelling_to_0,RA(a)],Ate,mA.Fix_all_detected_spelling_errors)]}},fixIds:[Ate],getAllCodeActions:function(n){return I7(n,Ete,function(e,t){var r=Pte(t.file,t.start,n,t.code),t=rM(n.host.getCompilationSettings());r&&Ite(e,n.sourceFile,r.node,r.suggestedSymbol,t)})}})}});function Jte(e,t,r){t=e.createSymbol(4,t.escapedText);t.links.type=e.getTypeAtLocation(r);t=vF([t]);return e.createAnonymousType(void 0,t,[],[],[])}function zte(e,t,r,n){if(t.body&&kj(t.body)&&1===HN(t.body.statements)){var a=SD(t.body.statements);if(Sj(a)&&Ute(e,t,e.getTypeAtLocation(a.expression),r,n))return{declaration:t,kind:0,expression:a.expression,statement:a,commentSource:a.expression};if(Qg(a)&&Sj(a.statement)){var i=uR.createObjectLiteralExpression([uR.createPropertyAssignment(a.label,a.statement.expression)]);if(Ute(e,t,Jte(e,a.label,a.statement.expression),r,n))return lj(t)?{declaration:t,kind:1,expression:i,statement:a,commentSource:a.statement.expression}:{declaration:t,kind:0,expression:i,statement:a,commentSource:a.statement.expression}}else if(kj(a)&&1===HN(a.statements)){var o=SD(a.statements);if(Qg(o)&&Sj(o.statement)){i=uR.createObjectLiteralExpression([uR.createPropertyAssignment(o.label,o.statement.expression)]);if(Ute(e,t,Jte(e,o.label,o.statement.expression),r,n))return{declaration:t,kind:0,expression:i,statement:a,commentSource:o}}}}}function Ute(e,t,r,n,a){return a&&(r=(a=e.getSignatureFromDeclaration(t))?(_L(t,512)&&(r=e.createPromiseType(r)),a=e.createSignature(t,a.typeParameters,a.thisParameter,a.parameters,r,void 0,a.minArgumentCount,a.flags),e.createAnonymousType(void 0,vF(),[a],[],[])):e.getAnyType()),e.isTypeAssignableTo(r,n)}function Vte(e,t,r,n){var a=QX(t,r);if(a.parent){var i=FA(a.parent,TE);switch(n){case mA.A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value.code:return i&&i.body&&i.type&&TX(i.type,a)?zte(e,i,e.getTypeFromTypeNode(i.type),!1):void 0;case mA.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code:if(!i||!oj(i.parent)||!i.body)return;var o=i.parent.arguments.indexOf(i);if(-1===o)return;o=e.getContextualTypeForArgumentAtIndex(i.parent,o);return o?zte(e,i,o,!0):void 0;case mA.Type_0_is_not_assignable_to_type_1.code:if(!uO(a)||!kP(a.parent)&&!$j(a.parent))return;o=function(e){switch(e.kind){case 260:case 169:case 208:case 172:case 303:return e.initializer;case 291:return e.initializer&&(dh(e.initializer)?e.initializer.expression:void 0);case 304:case 171:case 306:case 355:case 348:return}}(a.parent);return o&&TE(o)&&o.body?zte(e,o,e.getTypeAtLocation(a.parent),!0):void 0}}}function qte(e,t,r,n){iZ(r);var a=EZ(t);e.replaceNode(t,n,uR.createReturnStatement(r),{leadingTriviaOption:ode.LeadingTriviaOption.Exclude,trailingTriviaOption:ode.TrailingTriviaOption.Exclude,suffix:a?";":void 0})}function Wte(e,t,r,n,a,i){n=i||vZ(n)?uR.createParenthesizedExpression(n):n;iZ(a),cZ(a,n),e.replaceNode(t,r.body,n)}function Hte(e,t,r,n){e.replaceNode(t,r.body,uR.createParenthesizedExpression(n))}var Kte,Gte,Xte,Qte,Yte,Zte=e({"src/services/codefixes/returnValueCorrect.ts":function(){fpe(),Hoe(),Ote="returnValueCorrect",Lte="fixAddReturnStatement",Mte="fixRemoveBracesFromArrowFunctionBody",Rte="fixWrapTheBlockWithParen",N7({errorCodes:jte=[mA.A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value.code,mA.Type_0_is_not_assignable_to_type_1.code,mA.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code],fixIds:[Lte,Mte,Rte],getCodeActions:function(e){var t,r,n,a,i,o,s,c,u,_,l=e.program,d=e.sourceFile,f=e.span.start,p=e.errorCode,f=Vte(l.getTypeChecker(),d,f,p);if(f)return 0===f.kind?vD([(c=e,u=f.expression,_=f.statement,p=ode.ChangeTracker.with(c,function(e){return qte(e,c.sourceFile,u,_)}),S7(Ote,p,mA.Add_a_return_statement,Lte,mA.Add_all_missing_return_statement))],lj(f.declaration)?(a=e,i=f.declaration,o=f.expression,s=f.commentSource,p=ode.ChangeTracker.with(a,function(e){return Wte(e,a.sourceFile,i,o,s,!1)}),S7(Ote,p,mA.Remove_braces_from_arrow_function_body,Mte,mA.Remove_braces_from_all_arrow_function_bodies_with_relevant_issues)):void 0):[(t=e,r=f.declaration,n=f.expression,f=ode.ChangeTracker.with(t,function(e){return Hte(e,t.sourceFile,r,n)}),S7(Ote,f,mA.Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal,Rte,mA.Wrap_all_object_literal_with_parentheses))]},getAllCodeActions:function(n){return I7(n,jte,function(e,t){var r=Vte(n.program.getTypeChecker(),t.file,t.start,t.code);if(r)switch(n.fixId){case Lte:qte(e,t.file,r.expression,r.statement);break;case Mte:if(!lj(r.declaration))return;Wte(e,t.file,r.declaration,r.expression,r.commentSource,!1);break;case Rte:if(!lj(r.declaration))return;Hte(e,t.file,r.declaration,r.expression);break;default:rA.fail(JSON.stringify(n.fixId))}})}})}});function $te(e,t,r,n,a){var t=QX(e,t),i=t.parent;if(r===mA.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code){if(19!==t.kind||!nj(i)||!oj(i.parent))return;r=ZN(i.parent.arguments,function(e){return e===i});if(r<0)return;if(!((u=n.getResolvedSignature(i.parent))&&u.declaration&&u.parameters[r]))return;var o=u.parameters[r].valueDeclaration;return o&&CR(o)&&xR(o.name)?HN(s=PD(n.getUnmatchedProperties(n.getTypeAtLocation(i),n.getParameterType(u,r),!1,!1)))?{kind:3,token:o.name,properties:s,parentDeclaration:i}:void 0:void 0}if(ps(t)){if(xR(t)&&nF(i)&&i.initializer&&nj(i.initializer)){o=n.getContextualType(t)||n.getTypeAtLocation(t);return HN(s=PD(n.getUnmatchedProperties(n.getTypeAtLocation(i.initializer),o,!1,!1)))?{kind:3,token:t,properties:s,parentDeclaration:i.initializer}:void 0}if(xR(t)&&YE(t.parent)){var s=function(e,t,r){var n,a,i,o,s=e.getContextualType(r.attributes);if(void 0===s)return WN;s=s.getProperties();if(!HN(s))return WN;var c=new Set;try{for(var u=__values(r.attributes.properties),_=u.next();!_.done;_=u.next()){var l=_.value;if($j(l)&&c.add(nR(l.name)),tB(l)){var d=e.getTypeAtLocation(l.expression);try{for(var f=(i=void 0,__values(d.getProperties())),p=f.next();!p.done;p=f.next()){var m=p.value;c.add(m.escapedName)}}catch(e){i={error:e}}finally{try{p&&!p.done&&(o=f.return)&&o.call(f)}finally{if(i)throw i.error}}}}}catch(e){n={error:e}}finally{try{_&&!_.done&&(a=u.return)&&a.call(u)}finally{if(n)throw n.error}}return nD(s,function(e){return bA(e.name,t,1)&&!(16777216&e.flags||48&BL(e)||c.has(e.escapedName))})}(n,rM(a.getCompilerOptions()),t.parent);return HN(s)?{kind:4,token:t,attributes:s,parentDeclaration:t.parent}:void 0}if(xR(t)){var c=null==(c=n.getContextualType(t))?void 0:c.getNonNullableType();if(c&&16&WL(c))return void 0===(u=kD(n.getSignaturesOfType(c,0)))?void 0:{kind:5,token:t,signature:u,sourceFile:e,parentDeclaration:fre(t)};if(oj(i)&&i.expression===t)return{kind:2,token:t,call:i,sourceFile:e,modifierFlags:0,parentDeclaration:fre(t)}}if(aj(i)){var c=KQ(n.getTypeAtLocation(i.expression)),u=c.symbol;if(u&&u.declarations){if(xR(t)&&oj(i.parent)){var _=QN(u.declarations,Mj),l=null==_?void 0:_.getSourceFile();if(_&&l&&!d$(a,l))return{kind:2,token:t,call:i.parent,sourceFile:e,modifierFlags:1,parentDeclaration:_};l=QN(u.declarations,uB);if(e.commonJsModuleIndicator)return;if(l&&!d$(a,l))return{kind:2,token:t,call:i.parent,sourceFile:l,modifierFlags:1,parentDeclaration:l}}_=QN(u.declarations,NE);if(_||!bR(t)){e=_||QN(u.declarations,function(e){return Ij(e)||VR(e)});if(e&&!d$(a,e.getSourceFile())){l=!VR(e)&&(c.target||c)!==n.getDeclaredTypeOfSymbol(u);if(l&&(bR(t)||Ij(e)))return;_=e.getSourceFile(),n=VR(e)?0:(l?32:0)|(n$(t.text)?8:0),l=sI(_);return{kind:0,token:t,call:BD(i.parent,oj),modifierFlags:n,parentDeclaration:e,declSourceFile:_,isJSFile:l}}u=QN(u.declarations,Lj);return!u||1056&c.flags||bR(t)||d$(a,u.getSourceFile())?void 0:{kind:1,token:t,parentDeclaration:u}}}}}}function ere(e,t){return t.isJSFile?eA(function(e,t){var r=t.parentDeclaration,n=t.declSourceFile,a=t.modifierFlags,i=t.token;if(Ij(r)||VR(r))return;t=ode.ChangeTracker.with(e,function(e){return tre(e,n,r,i,!!(32&a))});if(0===t.length)return;e=32&a?mA.Initialize_static_property_0:bR(i)?mA.Declare_a_private_field_named_0:mA.Initialize_property_0_in_the_constructor;return S7(Kte,t,[e,i.text],Kte,mA.Add_all_missing_members)}(e,t)):function(e,t){function r(t){return ode.ChangeTracker.with(e,function(e){return are(e,a,n,s,u,t)})}var n=t.parentDeclaration,a=t.declSourceFile,i=t.modifierFlags,o=t.token,s=o.text,c=32&i,u=nre(e.program.getTypeChecker(),n,o),t=[S7(Kte,r(32&i),[c?mA.Declare_static_property_0:mA.Declare_property_0,s],Kte,mA.Add_all_missing_members)];if(c||bR(o))return t;8&i&&t.unshift(T7(Kte,r(8),[mA.Declare_private_property_0,s]));return t.push(function(e,t,r,n,a){var i=uR.createKeywordTypeNode(154),i=uR.createParameterDeclaration(void 0,void 0,"x",void 0,i,void 0),o=uR.createIndexSignature(void 0,[i],a),e=ode.ChangeTracker.with(e,function(e){return e.insertMemberAtStart(t,r,o)});return T7(Kte,e,[mA.Add_index_signature_for_property_0,n])}(e,a,n,o.text,u)),t}(e,t)}function tre(e,t,r,n,a){var i,o=n.text;a?231!==r.kind&&(i=r.name.getText(),i=rre(uR.createIdentifier(i),o),e.insertNodeAfter(t,r,i)):bR(n)?(i=uR.createPropertyDeclaration(void 0,o,void 0,void 0,void 0),(n=ire(r))?e.insertNodeAfter(t,n,i):e.insertMemberAtStart(t,r,i)):(r=XO(r))&&(o=rre(uR.createThis(),o),e.insertNodeAtConstructorEnd(t,r,o))}function rre(e,t){return uR.createExpressionStatement(uR.createAssignment(uR.createPropertyAccessExpression(e,t),dre()))}function nre(e,t,r){var n;return(226===r.parent.parent.kind?(n=r.parent.parent,n=r.parent===n.left?n.right:n.left,n=e.getWidenedType(e.getBaseTypeOfLiteralType(e.getTypeAtLocation(n))),e.typeToTypeNode(n,t,1)):(r=e.getContextualType(r.parent))?e.typeToTypeNode(r,void 0,1):void 0)||uR.createKeywordTypeNode(133)}function are(e,t,r,n,a,i){i=i?uR.createNodeArray(uR.createModifiersFromModifierFlags(i)):void 0,n=NE(r)?uR.createPropertyDeclaration(i,n,void 0,a,void 0):uR.createPropertySignature(void 0,n,void 0,a),a=ire(r);a?e.insertNodeAfter(t,a,n):e.insertMemberAtStart(t,r,n)}function ire(e){var t,r,n;try{for(var a=__values(e.members),i=a.next();!i.done;i=a.next()){var o=i.value;if(!AR(o))break;n=o}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n}function ore(e,t,r,n,a,i,o){var s=yee(o,e.program,e.preferences,e.host),a=Gae(NE(i)?174:173,e,s,r,n,a,i),r=function(e,t){if(VR(e))return;t=FA(t,function(e){return FR(e)||IR(e)});return t&&t.parent===e?t:void 0}(i,r);r?t.insertNodeAfter(o,r,a):t.insertMemberAtStart(o,i,a),s.writeFixes(t)}function sre(e,t,r){var n=r.token,a=r.parentDeclaration,r=dD(a.members,function(e){e=t.getTypeAtLocation(e);return!!(e&&402653316&e.flags)}),n=uR.createEnumMember(n,r?uR.createStringLiteral(n.text):void 0);e.replaceNode(a.getSourceFile(),a,uR.updateEnumDeclaration(a,a.modifiers,a.name,fD(a.members,eA(n))),{leadingTriviaOption:ode.LeadingTriviaOption.IncludeAll,trailingTriviaOption:ode.TrailingTriviaOption.Exclude})}function cre(e,t,r){var n=iY(t.sourceFile,t.preferences),a=yee(t.sourceFile,t.program,t.preferences,t.host),n=2===r.kind?Gae(262,t,a,r.call,LA(r.token),r.modifierFlags,r.parentDeclaration):Kae(262,t,n,r.signature,tie(mA.Function_not_implemented.message,n),r.token,void 0,void 0,void 0,a);void 0===n&&rA.fail("fixMissingFunctionDeclaration codefix got unexpected error."),Kg(r.parentDeclaration)?e.insertNodeBefore(r.sourceFile,r.parentDeclaration,n,!0):e.insertNodeAtEndOfScope(r.sourceFile,r.parentDeclaration,n),a.writeFixes(e)}function ure(e,r,n){var a=yee(r.sourceFile,r.program,r.preferences,r.host),i=iY(r.sourceFile,r.preferences),o=r.program.getTypeChecker(),t=n.parentDeclaration.attributes,s=dD(t.properties,tB),c=iD(n.attributes,function(e){var t=lre(r,o,a,i,o.getTypeOfSymbol(e),n.parentDeclaration),e=uR.createIdentifier(e.name),t=uR.createJsxAttribute(e,uR.createJsxExpression(void 0,t));return jM(e,t),t}),s=uR.createJsxAttributes(s?__spreadArray(__spreadArray([],__read(c),!1),__read(t.properties),!1):__spreadArray(__spreadArray([],__read(t.properties),!1),__read(c),!1)),c={prefix:t.pos===t.end?" ":void 0};e.replaceNode(r.sourceFile,t,s,c),a.writeFixes(e)}function _re(e,r,n){var a=yee(r.sourceFile,r.program,r.preferences,r.host),i=iY(r.sourceFile,r.preferences),o=rM(r.program.getCompilerOptions()),s=r.program.getTypeChecker(),t=iD(n.properties,function(e){var t=lre(r,s,a,i,s.getTypeOfSymbol(e),n.parentDeclaration);return uR.createPropertyAssignment(function(e,t,r,n){if(gF(e)){n=n.symbolToNode(e,111551,void 0,1073741824);if(n&&SR(n))return n}return WM(e.name,t,0===r)}(e,o,i,s),t)}),c={leadingTriviaOption:ode.LeadingTriviaOption.Exclude,trailingTriviaOption:ode.TrailingTriviaOption.Exclude,indentation:n.indentation};e.replaceNode(r.sourceFile,n.parentDeclaration,uR.createObjectLiteralExpression(__spreadArray(__spreadArray([],__read(n.parentDeclaration.properties),!1),__read(t),!1),!0),c),a.writeFixes(e)}function lre(r,n,a,i,e,o){if(3&e.flags)return dre();if(134217732&e.flags)return uR.createStringLiteral("",0===i);if(8&e.flags)return uR.createNumericLiteral(0);if(64&e.flags)return uR.createBigIntLiteral("0n");if(16&e.flags)return uR.createFalse();if(1056&e.flags){var t=e.symbol.exports?TD(e.symbol.exports.values()):e.symbol,s=n.symbolToExpression(e.symbol.parent||e.symbol,111551,void 0,void 0);return void 0===t||void 0===s?uR.createNumericLiteral(0):uR.createPropertyAccessExpression(s,n.symbolToString(t))}if(256&e.flags)return uR.createNumericLiteral(e.value);if(2048&e.flags)return uR.createBigIntLiteral(e.value);if(128&e.flags)return uR.createStringLiteral(e.value,0===i);if(512&e.flags)return e===n.getFalseType()||e===n.getFalseType(!0)?uR.createFalse():uR.createTrue();if(65536&e.flags)return uR.createNull();if(1048576&e.flags){var c=GN(e.types,function(e){return lre(r,n,a,i,e,o)});return null!=c?c:dre()}if(n.isArrayLikeType(e))return uR.createArrayLiteralExpression();if(524288&(c=e).flags&&(128&WL(c)||c.symbol&&BD(pa(c.symbol.declarations),VR))){c=iD(n.getPropertiesOfType(e),function(e){var t=lre(r,n,a,i,n.getTypeOfSymbol(e),o);return uR.createPropertyAssignment(e.name,t)});return uR.createObjectLiteralExpression(c,!0)}if(16&WL(e)){if(void 0===QN(e.symbol.declarations||WN,ZD(JR,ER,FR)))return dre();var u=n.getSignaturesOfType(e,0);if(void 0===u)return dre();u=Kae(218,r,i,u[0],tie(mA.Function_not_implemented.message,i),void 0,void 0,void 0,o,a);return null!=u?u:dre()}if(1&WL(e)){u=qL(e.symbol);if(void 0===u||pL(u))return dre();u=XO(u);return u&&HN(u.parameters)?dre():uR.createNewExpression(uR.createIdentifier(e.symbol.name),void 0,void 0)}return dre()}function dre(){return uR.createIdentifier("undefined")}function fre(e){if(FA(e,dh)){var t=FA(e.parent,Kg);if(t)return t}return CF(e)}var pre,mre,yre=e({"src/services/codefixes/fixAddMissingMember.ts":function(){fpe(),Hoe(),Kte="fixMissingMember",Gte="fixMissingProperties",Xte="fixMissingAttributes",Qte="fixMissingFunctionDeclaration",N7({errorCodes:Yte=[mA.Property_0_does_not_exist_on_type_1.code,mA.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,mA.Property_0_is_missing_in_type_1_but_required_in_type_2.code,mA.Type_0_is_missing_the_following_properties_from_type_1_Colon_2.code,mA.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more.code,mA.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,mA.Cannot_find_name_0.code],getCodeActions:function(t){var e=t.program.getTypeChecker(),r=$te(t.sourceFile,t.span.start,t.errorCode,e,t.program);if(r){if(3===r.kind){var n=ode.ChangeTracker.with(t,function(e){return _re(e,t,r)});return[S7(Gte,n,mA.Add_missing_properties,Gte,mA.Add_all_missing_properties)]}if(4===r.kind){n=ode.ChangeTracker.with(t,function(e){return ure(e,t,r)});return[S7(Xte,n,mA.Add_missing_attributes,Xte,mA.Add_all_missing_attributes)]}if(2===r.kind||5===r.kind){n=ode.ChangeTracker.with(t,function(e){return cre(e,t,r)});return[S7(Qte,n,[mA.Add_missing_function_declaration_0,r.token.text],Qte,mA.Add_all_missing_function_declarations)]}if(1!==r.kind)return fD(function(r,e){var n=e.parentDeclaration,a=e.declSourceFile,t=e.modifierFlags,i=e.token,o=e.call;if(void 0!==o){var s=i.text,c=function(t){return ode.ChangeTracker.with(r,function(e){return ore(r,e,o,i,t,n,a)})},e=[S7(Kte,c(32&t),[32&t?mA.Declare_static_method_0:mA.Declare_method_0,s],Kte,mA.Add_all_missing_members)];return 8&t&&e.unshift(T7(Kte,c(8),[mA.Declare_private_method_0,s])),e}}(t,r),ere(t,r));n=ode.ChangeTracker.with(t,function(e){return sre(e,t.program.getTypeChecker(),r)});return[S7(Kte,n,[mA.Add_missing_enum_member_0,r.token.text],Kte,mA.Add_all_missing_members)]}},fixIds:[Kte,Qte,Gte,Xte],getAllCodeActions:function(u){var e=u.program,n=u.fixId,_=e.getTypeChecker(),a=new Map,l=new Map;return F7(ode.ChangeTracker.with(u,function(c){O7(u,Yte,function(e){var t,r=$te(e.file,e.start,e.code,_,u.program);r&&Zf(a,mJ(r.parentDeclaration)+"#"+r.token.text)&&(n!==Qte||2!==r.kind&&5!==r.kind?n===Gte&&3===r.kind?_re(c,u,r):n===Xte&&4===r.kind?ure(c,u,r):(1===r.kind&&sre(c,_,r),0===r.kind&&(e=r.parentDeclaration,t=r.token,(e=_D(l,e,function(){return[]})).some(function(e){return e.token.text===t.text})||e.push(r))):cre(c,u,r))}),l.forEach(function(e,t){var r,n,s=VR(t)?void 0:vie(t,_);try{for(var a=__values(e),i=a.next();!i.done;i=a.next())!function(t){var e,r,n,a,i,o;null!=s&&s.some(function(e){e=l.get(e);return!!e&&e.some(function(e){return e.token.text===t.token.text})})||(e=t.parentDeclaration,r=t.declSourceFile,n=t.modifierFlags,a=t.token,i=t.call,o=t.isJSFile,i&&!bR(a)?ore(u,c,i,a,32&n,e,r):!o||Ij(e)||VR(e)?(o=nre(_,e,a),are(c,r,e,a.text,o,32&n)):tre(c,r,e,a,!!(32&n)))}(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}})}))}})}});function vre(e,t,r){var n=JD(function(e,t){var r=QX(e,t.start),n=TA(t);for(;r.end<n;)r=r.parent;return r}(t,r),oj),r=uR.createNewExpression(n.expression,n.typeArguments,n.arguments);e.replaceNode(t,n,r)}var gre,hre,xre,bre=e({"src/services/codefixes/fixAddMissingNewOperator.ts":function(){fpe(),Hoe(),pre="addMissingNewOperator",N7({errorCodes:mre=[mA.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new.code],getCodeActions:function(e){var t=e.sourceFile,r=e.span,e=ode.ChangeTracker.with(e,function(e){return vre(e,t,r)});return[S7(pre,e,mA.Add_missing_new_operator_to_call,pre,mA.Add_missing_new_operator_to_all_calls)]},fixIds:[pre],getAllCodeActions:function(r){return I7(r,mre,function(e,t){return vre(e,r.sourceFile,t)})}})}});function kre(e,t){return{type:"install package",file:e,packageName:t}}function Tre(e,t){t=BD(QX(e,t),hR);if(t){t=pw(t.text).packageName;return kA(t)?void 0:t}}function Sre(e,t,r){return r===hre?HK.nodeCoreModules.has(e)?"@types/node":void 0:null!=(r=t.isKnownTypesPackageName)&&r.call(t,e)?Nw(e):void 0}var wre,Cre,Nre=e({"src/services/codefixes/fixCannotFindModule.ts":function(){fpe(),Hoe(),gre="installTypesPackage",hre=mA.Cannot_find_module_0_or_its_corresponding_type_declarations.code,N7({errorCodes:xre=[hre,mA.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type.code],getCodeActions:function(e){var t=e.host,r=e.sourceFile,n=Tre(r,e.span.start);if(void 0!==n){e=Sre(n,t,e.errorCode);return void 0===e?[]:[S7("fixCannotFindModule",[],[mA.Install_0,e],gre,mA.Install_all_missing_types_packages,kre(r.fileName,e))]}},fixIds:[gre],getAllCodeActions:function(a){return I7(a,xre,function(e,t,r){var n=Tre(t.file,t.start);void 0!==n&&(a.fixId===gre?(n=Sre(n,a.host,t.code))&&r.push(kre(t.file.fileName,n)):rA.fail("Bad fixId: ".concat(a.fixId)))})}})}});function Dre(e,t){return JD(QX(e,t).parent,NE)}function Are(t,r,e,n,a){var i=yO(t),o=e.program.getTypeChecker(),i=o.getTypeAtLocation(i),o=o.getPropertiesOfType(i).filter(Ere),i=yee(r,e.program,a,e.host);qae(t,o,r,e,a,i,function(e){return n.insertMemberAtStart(r,t,e)}),i.writeFixes(n)}function Ere(e){e=Qd(SD(e.getDeclarations()));return!(8&e||!(256&e))}var Fre,Pre,Ire=e({"src/services/codefixes/fixClassDoesntImplementInheritedAbstractMember.ts":function(){fpe(),Hoe(),N7({errorCodes:wre=[mA.Non_abstract_class_0_does_not_implement_all_abstract_members_of_1.code],getCodeActions:function(t){var r=t.sourceFile,n=t.span,e=ode.ChangeTracker.with(t,function(e){return Are(Dre(r,n.start),r,t,e,t.preferences)});return 0===e.length?void 0:[S7(Cre,e,mA.Implement_inherited_abstract_class,Cre,mA.Implement_all_inherited_abstract_classes)]},fixIds:[Cre="fixClassDoesntImplementInheritedAbstractMember"],getAllCodeActions:function(r){var n=new Map;return I7(r,wre,function(e,t){t=Dre(t.file,t.start);Zf(n,mJ(t))&&Are(t,r.sourceFile,r,e,r.preferences)})}})}});function Ore(e,t,r,n){e.insertNodeAtConstructorStart(t,r,n),e.delete(t,n)}function Lre(e,t){var r=QX(e,t);if(110===r.kind){e=PP(r),t=Mre(e.body);return t&&!t.expression.arguments.some(function(e){return aj(e)&&e.expression===r})?{constructor:e,superCall:t}:void 0}}function Mre(e){return Sj(e)&&pP(e.expression)?e:bE(e)?void 0:HB(e,Mre)}var Rre,jre,Bre=e({"src/services/codefixes/fixClassSuperMustPrecedeThisAccess.ts":function(){fpe(),Hoe(),Fre="classSuperMustPrecedeThisAccess",N7({errorCodes:Pre=[mA.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class.code],getCodeActions:function(e){var t=e.sourceFile,r=e.span,r=Lre(t,r.start);if(r){var n=r.constructor,a=r.superCall,e=ode.ChangeTracker.with(e,function(e){return Ore(e,t,n,a)});return[S7(Fre,e,mA.Make_super_call_the_first_statement_in_the_constructor,Fre,mA.Make_all_super_calls_the_first_statement_in_their_constructor)]}},fixIds:[Fre],getAllCodeActions:function(e){var n=e.sourceFile,a=new Map;return I7(e,Pre,function(e,t){var r=Lre(t.file,t.start);r&&(t=r.constructor,r=r.superCall,Zf(a,mJ(t.parent))&&Ore(e,n,t,r))})}})}});function Jre(e,t){t=QX(e,t);return rA.assert(IR(t.parent),"token should be at the constructor declaration"),t.parent}function zre(e,t,r){var n=uR.createExpressionStatement(uR.createCallExpression(uR.createSuper(),void 0,WN));e.insertNodeAtConstructorStart(t,r,n)}var Ure,Vre,qre=e({"src/services/codefixes/fixConstructorForDerivedNeedSuperCall.ts":function(){fpe(),Hoe(),Rre="constructorForDerivedNeedSuperCall",N7({errorCodes:jre=[mA.Constructors_for_derived_classes_must_contain_a_super_call.code],getCodeActions:function(e){var t=e.sourceFile,r=e.span,n=Jre(t,r.start),e=ode.ChangeTracker.with(e,function(e){return zre(e,t,n)});return[S7(Rre,e,mA.Add_missing_super_call,Rre,mA.Add_all_missing_super_calls)]},fixIds:[Rre],getAllCodeActions:function(r){return I7(r,jre,function(e,t){return zre(e,r.sourceFile,Jre(t.file,t.start))})}})}});function Wre(e,t){nie(e,t,"jsx",uR.createStringLiteral("react"))}var Hre,Kre,Gre=e({"src/services/codefixes/fixEnableJsxFlag.ts":function(){fpe(),Hoe(),Ure="fixEnableJsxFlag",N7({errorCodes:Vre=[mA.Cannot_use_JSX_unless_the_jsx_flag_is_provided.code],getCodeActions:function(e){var t=e.program.getCompilerOptions().configFile;if(void 0!==t){e=ode.ChangeTracker.with(e,function(e){return Wre(e,t)});return[T7(Ure,e,mA.Enable_the_jsx_flag_in_your_configuration_file)]}},fixIds:[Ure],getAllCodeActions:function(r){return I7(r,Vre,function(e){var t=r.program.getCompilerOptions().configFile;void 0!==t&&Wre(e,t)})}})}});function Xre(e,t,r){e=QN(e.getSemanticDiagnostics(t),function(e){return e.start===r.start&&e.length===r.length});if(void 0!==e&&void 0!==e.relatedInformation){t=QN(e.relatedInformation,function(e){return e.code===mA.Did_you_mean_0.code});if(void 0!==t&&void 0!==t.file&&void 0!==t.start&&void 0!==t.length){e=uie(t.file,So(t.start,t.length));if(void 0!==e)return jE(e)&&mj(e.parent)?{suggestion:function(e){e=__read(BV(e,"\n",0).match(/'(.*)'/)||[],2),e[0];return e[1]}(t.messageText),expression:e.parent,arg:e}:void 0}}}function Qre(e,t,r,n){var a=uR.createCallExpression(uR.createPropertyAccessExpression(uR.createIdentifier("Number"),uR.createIdentifier("isNaN")),void 0,[r]),r=n.operatorToken.kind;e.replaceNode(t,n,38===r||36===r?uR.createPrefixUnaryExpression(54,a):a)}var Yre,Zre,$re=e({"src/services/codefixes/fixNaNEquality.ts":function(){fpe(),Hoe(),Hre="fixNaNEquality",N7({errorCodes:Kre=[mA.This_condition_will_always_return_0.code],getCodeActions:function(e){var t=e.sourceFile,r=e.span,n=Xre(e.program,t,r);if(void 0!==n){var r=n.suggestion,a=n.expression,i=n.arg,e=ode.ChangeTracker.with(e,function(e){return Qre(e,t,i,a)});return[S7(Hre,e,[mA.Use_0,r],Hre,mA.Use_Number_isNaN_in_all_conditions)]}},fixIds:[Hre],getAllCodeActions:function(n){return I7(n,Kre,function(e,t){var r=Xre(n.program,t.file,So(t.start,t.length));r&&Qre(e,t.file,r.arg,r.expression)})}})}}),ene=e({"src/services/codefixes/fixModuleAndTargetOptions.ts":function(){fpe(),Hoe(),N7({errorCodes:[mA.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,mA.Top_level_await_using_statements_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,mA.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){var t=e.program.getCompilerOptions(),r=t.configFile;if(void 0!==r){var n=[],a=nM(t);5<=a&&a<99&&(i=ode.ChangeTracker.with(e,function(e){nie(e,r,"module",uR.createStringLiteral("esnext"))}),n.push(T7("fixModuleOption",i,[mA.Set_the_module_option_in_your_configuration_file_to_0,"esnext"])));var i,t=rM(t);return(t<4||99<t)&&(i=ode.ChangeTracker.with(e,function(e){var t;$_(r)&&(t=[["target",uR.createStringLiteral("es2017")]],1===a&&t.push(["module",uR.createStringLiteral("commonjs")]),rie(e,r,t))}),n.push(T7("fixTargetOption",i,[mA.Set_the_target_option_in_your_configuration_file_to_0,"es2017"]))),n.length?n:void 0}}})}});function tne(e,t,r){e.replaceNode(t,r,uR.createPropertyAssignment(r.name,r.objectAssignmentInitializer))}function rne(e,t){return JD(QX(e,t).parent,oB)}var nne,ane,ine=e({"src/services/codefixes/fixPropertyAssignment.ts":function(){fpe(),Hoe(),Yre="fixPropertyAssignment",N7({errorCodes:Zre=[mA.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:[Yre],getCodeActions:function(t){var r=rne(t.sourceFile,t.span.start),e=ode.ChangeTracker.with(t,function(e){return tne(e,t.sourceFile,r)});return[S7(Yre,e,[mA.Change_0_to_1,"=",":"],Yre,[mA.Switch_each_misused_0_to_1,"=",":"])]},getAllCodeActions:function(e){return I7(e,Zre,function(e,t){return tne(e,t.file,rne(t.file,t.start))})}})}});function one(e,t){e=IP(QX(e,t)).heritageClauses,t=e[0].getFirstToken();return 96===t.kind?{extendsToken:t,heritageClauses:e}:void 0}function sne(e,t,r,n){if(e.replaceNode(t,r,uR.createToken(119)),2===n.length&&96===n[0].token&&119===n[1].token){r=n[1].getFirstToken(),n=r.getFullStart();e.replaceRange(t,{pos:n,end:n},uR.createToken(28));for(var a=t.text,i=r.end;i<a.length&&ji(a.charCodeAt(i));)i++;e.deleteRange(t,{pos:r.getStart(),end:i})}}var cne,une,_ne,lne=e({"src/services/codefixes/fixExtendsInterfaceBecomesImplements.ts":function(){fpe(),Hoe(),nne="extendsInterfaceBecomesImplements",N7({errorCodes:ane=[mA.Cannot_extend_an_interface_0_Did_you_mean_implements.code],getCodeActions:function(e){var t=e.sourceFile,r=one(t,e.span.start);if(r){var n=r.extendsToken,a=r.heritageClauses,e=ode.ChangeTracker.with(e,function(e){return sne(e,t,n,a)});return[S7(nne,e,mA.Change_extends_to_implements,nne,mA.Change_all_extended_interfaces_to_implements)]}},fixIds:[nne],getAllCodeActions:function(e){return I7(e,ane,function(e,t){var r=one(t.file,t.start);r&&sne(e,t.file,r.extendsToken,r.heritageClauses)})}})}});function dne(e,t,r){t=QX(e,t);if(xR(t)||bR(t))return{node:t,className:r===une?IP(t).name.text:void 0}}function fne(e,t,r){var n=r.node,r=r.className;iZ(n),e.replaceNode(t,n,uR.createPropertyAccessExpression(r?uR.createIdentifier(r):uR.createThis(),n))}var pne,mne,yne,vne,gne=e({"src/services/codefixes/fixForgottenThisPropertyAccess.ts":function(){fpe(),Hoe(),cne="forgottenThisPropertyAccess",une=mA.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,N7({errorCodes:_ne=[mA.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,mA.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,une],getCodeActions:function(e){var t=e.sourceFile,r=dne(t,e.span.start,e.errorCode);if(r){e=ode.ChangeTracker.with(e,function(e){return fne(e,t,r)});return[S7(cne,e,[mA.Add_0_to_unresolved_variable,r.className||"this"],cne,mA.Add_qualifier_to_all_unresolved_variables_matching_a_member_name)]}},fixIds:[cne],getAllCodeActions:function(r){return I7(r,_ne,function(e,t){t=dne(t.file,t.start,t.code);t&&fne(e,r.sourceFile,t)})}})}});function hne(e,t,r,n,a){var i=r.getText()[n];ma(vne,i)&&(i=a?vne[i]:"{".concat(hZ(r,t,i),"}"),e.replaceRangeWithText(r,{pos:n,end:n+1},i))}var xne,bne,kne,Tne=e({"src/services/codefixes/fixInvalidJsxCharacters.ts":function(){fpe(),Hoe(),pne="fixInvalidJsxCharacters_expression",mne="fixInvalidJsxCharacters_htmlEntity",N7({errorCodes:yne=[mA.Unexpected_token_Did_you_mean_or_gt.code,mA.Unexpected_token_Did_you_mean_or_rbrace.code],fixIds:[pne,mne],getCodeActions:function(e){var t=e.sourceFile,r=e.preferences,n=e.span,a=ode.ChangeTracker.with(e,function(e){return hne(e,r,t,n.start,!1)}),e=ode.ChangeTracker.with(e,function(e){return hne(e,r,t,n.start,!0)});return[S7(pne,a,mA.Wrap_invalid_character_in_an_expression_container,pne,mA.Wrap_all_invalid_characters_in_an_expression_container),S7(mne,e,mA.Convert_invalid_character_to_its_html_entity_code,mne,mA.Convert_all_invalid_characters_to_HTML_entity_code)]},getAllCodeActions:function(r){return I7(r,yne,function(e,t){return hne(e,r.preferences,t.file,t.start,r.fixId===mne)})}}),vne={">":"&gt;","}":"&rbrace;"}}});function Sne(e,t){var r=QX(e,t);if(r.parent&&wB(r.parent)&&xR(r.parent.name)){var n=r.parent,e=YI(n),t=XI(n);if(e&&t)return{jsDocHost:e,signature:t,name:r.parent.name,jsDocParameterTag:n}}}var wne,Cne=e({"src/services/codefixes/fixUnmatchedParameter.ts":function(){fpe(),Hoe(),xne="deleteUnmatchedParameter",bne="renameUnmatchedParameter",kne=[mA.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name.code],N7({fixIds:[xne,bne],errorCodes:kne,getCodeActions:function(e){var t,r,n,a,i,o=[],s=Sne(e.sourceFile,e.span.start);if(s)return vD(o,(t=e,n=(r=s).name,a=r.jsDocHost,i=r.jsDocParameterTag,r=ode.ChangeTracker.with(t,function(e){return e.filterJSDocTags(t.sourceFile,a,function(e){return e!==i})}),S7(xne,r,[mA.Delete_unused_param_tag_0,n.getText(t.sourceFile)],xne,mA.Delete_all_unused_param_tags))),vD(o,function(e,t){var r,n,a=t.name,i=t.jsDocHost,o=t.signature,s=t.jsDocParameterTag;if(HN(o.parameters)){var c=e.sourceFile,u=YA(o),_=new Set;try{for(var l=__values(u),d=l.next();!d.done;d=l.next()){var f=d.value;wB(f)&&xR(f.name)&&_.add(f.name.escapedText)}}catch(e){r={error:e}}finally{try{d&&!d.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}o=GN(o.parameters,function(e){return xR(e.name)&&!_.has(e.name.escapedText)?e.name.getText(c):void 0});if(void 0!==o){var p=uR.updateJSDocParameterTag(s,s.tagName,uR.createIdentifier(o),s.isBracketed,s.typeExpression,s.isNameFirst,s.comment),e=ode.ChangeTracker.with(e,function(e){return e.replaceJSDocComment(c,i,iD(u,function(e){return e===s?p:e}))});return T7(bne,e,[mA.Rename_param_tag_name_0_to_1,a.getText(c),o])}}}(e,s)),o},getAllCodeActions:function(a){var t=new Map;return F7(ode.ChangeTracker.with(a,function(n){O7(a,kne,function(e){e=Sne(e.file,e.start);e&&t.set(e.signature,vD(t.get(e.signature),e.jsDocParameterTag))}),t.forEach(function(e,t){var r;a.fixId===xne&&(r=new Set(e),n.filterJSDocTags(t.getSourceFile(),t,function(e){return!r.has(e)}))})}))}})}});var Nne,Dne,Ane,Ene,Fne,Pne,Ine=e({"src/services/codefixes/fixUnreferenceableDecoratorMetadata.ts":function(){fpe(),Hoe(),wne="fixUnreferenceableDecoratorMetadata",N7({errorCodes:[mA.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:function(o){var s=function(e,t,r){if((r=BD(QX(e,r),xR))&&183===r.parent.kind){r=t.getTypeChecker().getSymbolAtLocation(r);return QN((null==r?void 0:r.declarations)||WN,ZD(zj,Vj,Bj))}}(o.sourceFile,o.program,o.span.start);if(s){var e,t=ode.ChangeTracker.with(o,function(e){return 276===s.kind&&(t=e,r=o.sourceFile,n=s,e=o.program,void I4.doChangeNamedToNamespaceOrDefault(r,e,t,n.parent));var t,r,n}),r=ode.ChangeTracker.with(o,function(e){return t=e,r=o.sourceFile,n=s,a=o.program,void(271!==n.kind?(e=273===n.kind?n:n.parent.parent).name&&e.namedBindings||(i=a.getTypeChecker(),BI(e,function(e){if(111551&Uf(e.symbol,i).flags)return!0})||t.insertModifierBefore(r,156,e)):t.insertModifierBefore(r,156,n.name));var t,r,n,a,i});return t.length&&(e=vD(e,T7(wne,t,mA.Convert_named_imports_to_namespace_import))),r.length&&(e=vD(e,T7(wne,r,mA.Use_import_type))),e}},fixIds:[wne]})}});function One(e,t,r){e.replaceNode(t,r.parent,uR.createKeywordTypeNode(159))}function Lne(e,t){return S7(Nne,e,t,Ane,mA.Delete_all_unused_declarations)}function Mne(e,t,r){e.delete(t,rA.checkDefined(JD(r.parent,C_).typeParameters,"The type parameter to delete should exist"))}function Rne(e){return 102===e.kind||80===e.kind&&(276===e.parent.kind||273===e.parent.kind)}function jne(e){return 102===e.kind?BD(e.parent,Jj):void 0}function Bne(e,t){return Ej(t.parent)&&SD(t.parent.getChildren(e))===t}function Jne(e,t,r){e.delete(t,243===r.parent.kind?r.parent:r)}function zne(t,e,r,n){e!==mA.Property_0_is_declared_but_its_value_is_never_read.code&&(140===n.kind&&(n=JD(n.parent,Tg).typeParameter.name),xR(n)&&function(e){switch(e.parent.kind){case 169:case 168:return!0;case 260:switch(e.parent.parent.parent.kind){case 250:case 249:return!0}}return!1}(n)&&(t.replaceNode(r,n,uR.createIdentifier("_".concat(n.text))),CR(n.parent)&&VA(n.parent).forEach(function(e){xR(e.name)&&t.replaceNode(r,e.name,uR.createIdentifier("_".concat(e.name.text)))})))}function Une(r,e,n,t,a,i,o,s){var c,u,_,l,d,f;c=n,u=r,_=t,l=a,d=i,f=o,a=s,CR(o=(i=e).parent)?function(e,t,r,n,a,i){var o,s;if(void 0===i&&(i=!1),function(e,t,r,n,a,i,o){var s,c,u,_,l=r.parent;switch(l.kind){case 174:case 176:var d=l.parameters.indexOf(r),f=FR(l)?l.name:l,p=pue.Core.getReferencedSymbolsForNode(l.pos,f,a,n,i);if(p)try{for(var m=__values(p),y=m.next();!y.done;y=m.next()){var v=y.value;try{for(var g=(u=void 0,__values(v.references)),h=g.next();!h.done;h=g.next()){var x=h.value;if(x.kind===pue.EntryKind.Node){var b=yg(x.node)&&oj(x.node.parent)&&x.node.parent.arguments.length>d,k=aj(x.node.parent)&&yg(x.node.parent.expression)&&oj(x.node.parent.parent)&&x.node.parent.parent.arguments.length>d,x=(FR(x.node.parent)||ER(x.node.parent))&&x.node.parent!==r.parent&&x.node.parent.parameters.length>d;if(b||k||x)return!1}}}catch(e){u={error:e}}finally{try{h&&!h.done&&(_=g.return)&&_.call(g)}finally{if(u)throw u.error}}}}catch(e){s={error:e}}finally{try{y&&!y.done&&(c=m.return)&&c.call(m)}finally{if(s)throw s.error}}return!0;case 262:return!l.name||!function(e,t,r){return!!pue.Core.eachSymbolReferenceInFile(r,e,t,function(e){return xR(e)&&oj(e.parent)&&0<=e.parent.arguments.indexOf(e)})}(e,t,l.name)||qne(l,r,o);case 218:case 219:return qne(l,r,o);case 178:return!1;case 177:return!0;default:return rA.failBadSyntaxKind(l)}}(n,t,r,a,d,f,i))if(r.modifiers&&0<r.modifiers.length&&(!xR(r.name)||pue.Core.isSymbolReferencedInFile(r.name,n,t)))try{for(var c=__values(r.modifiers),u=c.next();!u.done;u=c.next()){var _=u.value;gE(_)&&e.deleteModifier(t,_)}}catch(e){o={error:e}}finally{try{u&&!u.done&&(s=c.return)&&s.call(c)}finally{if(o)throw o.error}}else!r.initializer&&Vne(r,n,a)&&e.delete(t,r)}(c,u,o,_,l,a):a&&xR(i)&&pue.Core.isSymbolReferencedInFile(i,_,u)||(o=zj(o)?i:SR(o)?o.parent:o,rA.assert(o!==u,"should not delete whole source file"),c.delete(u,o)),xR(e)&&pue.Core.eachSymbolReferenceInFile(e,t,r,function(e){var t;aj(e.parent)&&e.parent.name===e&&(e=e.parent),!s&&((mj((t=e).parent)&&t.parent.left===t||(Fg(t.parent)||pj(t.parent))&&t.parent.operand===t)&&Sj(t.parent.parent))&&n.delete(r,e.parent.parent)})}function Vne(e,t,r){var n=e.parent.parameters.indexOf(e);return!pue.Core.someSignatureUsage(e.parent,r,t,function(e,t){return!t||t.arguments.length>n})}function qne(e,t,r){e=e.parameters,t=e.indexOf(t);return rA.assert(-1!==t,"The parameter should already be in the list"),r?e.slice(t+1).every(function(e){return xR(e.name)&&!e.symbol.isReferenced}):t===e.length-1}var Wne,Hne,Kne=e({"src/services/codefixes/fixUnusedIdentifier.ts":function(){fpe(),Hoe(),Nne="unusedIdentifier",Dne="unusedIdentifier_prefix",Ane="unusedIdentifier_delete",Ene="unusedIdentifier_deleteImports",Fne="unusedIdentifier_infer",N7({errorCodes:Pne=[mA._0_is_declared_but_its_value_is_never_read.code,mA._0_is_declared_but_never_used.code,mA.Property_0_is_declared_but_its_value_is_never_read.code,mA.All_imports_in_import_declaration_are_unused.code,mA.All_destructured_elements_are_unused.code,mA.All_variables_are_unused.code,mA.All_type_parameters_are_unused.code],getCodeActions:function(o){var t=o.errorCode,s=o.sourceFile,r=o.program,n=o.cancellationToken,a=r.getTypeChecker(),i=r.getSourceFiles(),c=QX(s,o.span.start);if(DB(c))return[Lne(ode.ChangeTracker.with(o,function(e){return e.delete(s,c)}),mA.Remove_template_tag)];if(30===c.kind)return[Lne(e=ode.ChangeTracker.with(o,function(e){return Mne(e,s,c)}),mA.Remove_type_parameters)];var u=jne(c);if(u){var e=ode.ChangeTracker.with(o,function(e){return e.delete(s,u)});return[S7(Nne,e,[mA.Remove_import_from_0,Qf(u)],Ene,mA.Delete_all_unused_imports)]}if(Rne(c)&&(d=ode.ChangeTracker.with(o,function(e){return Une(s,c,e,a,i,r,n,!1)})).length)return[S7(Nne,d,[mA.Remove_unused_declaration_for_Colon_0,c.getText(s)],Ene,mA.Delete_all_unused_imports)];if($R(c.parent)||ej(c.parent)){if(CR(c.parent.parent)){var _=c.parent.elements,l=[1<_.length?mA.Remove_unused_declarations_for_Colon_0:mA.Remove_unused_declaration_for_Colon_0,iD(_,function(e){return e.getText(s)}).join(", ")];return[Lne(ode.ChangeTracker.with(o,function(e){return t=e,r=s,void KN(c.parent.elements,function(e){return t.delete(r,e)});var t,r}),l)]}return[Lne(ode.ChangeTracker.with(o,function(e){return t=o,r=e,n=s,a=c.parent,void(Aj(i=a.parent)&&i.initializer&&LE(i.initializer)?Ej(i.parent)&&1<HN(i.parent.declarations)?(a=(e=i.parent.parent).getStart(n),e=e.end,r.delete(n,i),r.insertNodeAt(n,e,i.initializer,{prefix:zY(t.host,t.formatContext.options)+n.text.slice($Y(n.text,a-1),a),suffix:EZ(n)?";":""})):r.replaceNode(n,i.parent,i.initializer):r.delete(n,i));var t,r,n,a,i}),mA.Remove_unused_destructuring_declaration)]}if(Bne(s,c))return[Lne(ode.ChangeTracker.with(o,function(e){return Jne(e,s,c.parent)}),mA.Remove_variable_statement)];var d,_=[];140===c.kind?(e=ode.ChangeTracker.with(o,function(e){return One(e,s,c)}),l=JD(c.parent,Tg).typeParameter.name.text,_.push(S7(Nne,e,[mA.Replace_infer_0_with_unknown,l],Fne,mA.Replace_all_unused_infer_with_unknown))):(d=ode.ChangeTracker.with(o,function(e){return Une(s,c,e,a,i,r,n,!1)})).length&&(f=SR(c.parent)?c.parent:c,_.push(Lne(d,[mA.Remove_unused_declaration_for_Colon_0,f.getText(s)])));var f=ode.ChangeTracker.with(o,function(e){return zne(e,t,s,c)});return f.length&&_.push(S7(Nne,f,[mA.Prefix_0_with_an_underscore,c.getText(s)],Dne,mA.Prefix_all_unused_declarations_with_where_possible)),_},fixIds:[Dne,Ane,Ene,Fne],getAllCodeActions:function(a){var i=a.sourceFile,o=a.program,s=a.cancellationToken,c=o.getTypeChecker(),u=o.getSourceFiles();return I7(a,Pne,function(e,t){var r=QX(i,t.start);switch(a.fixId){case Dne:zne(e,t.code,i,r);break;case Ene:var n=jne(r);n?e.delete(i,n):Rne(r)&&Une(i,r,e,c,u,o,s,!0);break;case Ane:if(140===r.kind||Rne(r))break;if(DB(r))e.delete(i,r);else if(30===r.kind)Mne(e,i,r);else if($R(r.parent)){if(r.parent.parent.initializer)break;CR(r.parent.parent)&&!Vne(r.parent.parent,c,u)||e.delete(i,r.parent.parent)}else{if(ej(r.parent.parent)&&r.parent.parent.parent.initializer)break;Bne(i,r)?Jne(e,i,r.parent):Une(i,r,e,c,u,o,s,!0)}break;case Fne:140===r.kind&&One(e,i,r);break;default:rA.fail(JSON.stringify(a.fixId))}})}})}});function Gne(e,t,r,n,a){var i=QX(t,r),o=FA(i,XE);o.getStart(t)!==i.getStart(t)&&(a=JSON.stringify({statementKind:rA.formatSyntaxKind(o.kind),tokenKind:rA.formatSyntaxKind(i.kind),errorCode:a,start:r,length:n}),rA.fail("Token and statement should start at the same point. "+a));var s,c=(kj(o.parent)?o.parent:o).parent;if(!kj(o.parent)||o===SD(o.parent.statements))switch(c.kind){case 245:if(c.elseStatement){if(kj(o.parent))break;return void e.replaceNode(t,o,uR.createBlock(WN))}case 247:case 248:return void e.delete(t,c)}kj(o.parent)?(s=r+n,n=rA.checkDefined(function(e,t){var r,n,a;try{for(var i=__values(e),o=i.next();!o.done;o=i.next()){var s=o.value;if(!t(s))break;a=s}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a}(Sm(o.parent.statements,o),function(e){return e.pos<s}),"Some statement should be last"),e.deleteNodeRange(t,o,n)):e.delete(t,o)}var Xne,Qne,Yne=e({"src/services/codefixes/fixUnreachableCode.ts":function(){fpe(),Hoe(),Wne="fixUnreachableCode",N7({errorCodes:Hne=[mA.Unreachable_code_detected.code],getCodeActions:function(t){if(!t.program.getSyntacticDiagnostics(t.sourceFile,t.cancellationToken).length){var e=ode.ChangeTracker.with(t,function(e){return Gne(e,t.sourceFile,t.span.start,t.span.length,t.errorCode)});return[S7(Wne,e,mA.Remove_unreachable_code,Wne,mA.Remove_all_unreachable_code)]}},fixIds:[Wne],getAllCodeActions:function(e){return I7(e,Hne,function(e,t){return Gne(e,t.file,t.start,t.length,t.code)})}})}});function Zne(e,t,r){var n=QX(t,r),a=JD(n.parent,Qg),r=n.getStart(t),n=a.statement.getStart(t),a=If(r,n,t)?n:xA(t.text,MX(a,59,t).end,!0);e.deleteRange(t,{pos:r,end:a})}var $ne,eae,tae,rae=e({"src/services/codefixes/fixUnusedLabel.ts":function(){fpe(),Hoe(),Xne="fixUnusedLabel",N7({errorCodes:Qne=[mA.Unused_label.code],getCodeActions:function(t){var e=ode.ChangeTracker.with(t,function(e){return Zne(e,t.sourceFile,t.span.start)});return[S7(Xne,e,mA.Remove_unused_label,Xne,mA.Remove_all_unused_labels)]},fixIds:[Xne],getAllCodeActions:function(e){return I7(e,Qne,function(e,t){return Zne(e,t.file,t.start)})}})}});function nae(e,t,r,n,a){e.replaceNode(t,r,a.typeToTypeNode(n,r,void 0))}function aae(e,t,r){t=FA(QX(e,t),iae),t=t&&t.type;return t&&{typeNode:t,type:function(e,t){if(mB(t)){var r=e.getTypeFromTypeNode(t.type);return r===e.getNeverType()||r===e.getVoidType()?r:e.getUnionType(vD([r,e.getUndefinedType()],t.postfix?void 0:e.getNullType()))}return e.getTypeFromTypeNode(t)}(r,t)}}function iae(e){switch(e.kind){case 234:case 179:case 180:case 262:case 177:case 181:case 200:case 174:case 173:case 169:case 172:case 171:case 178:case 265:case 216:case 260:return!0;default:return!1}}var oae,sae,cae=e({"src/services/codefixes/fixJSDocTypes.ts":function(){fpe(),Hoe(),$ne="fixJSDocTypes_plain",eae="fixJSDocTypes_nullable",N7({errorCodes:tae=[mA.JSDoc_types_can_only_be_used_inside_documentation_comments.code,mA._0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1.code,mA._0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1.code],getCodeActions:function(n){var a=n.sourceFile,i=n.program.getTypeChecker(),e=aae(a,n.span.start,i);if(e){var o=e.typeNode,t=e.type,s=o.getText(a),e=[r(t,$ne,mA.Change_all_jsdoc_style_types_to_TypeScript)];return 321===o.kind&&e.push(r(t,eae,mA.Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types)),e}function r(t,e,r){return S7("jdocTypes",ode.ChangeTracker.with(n,function(e){return nae(e,a,o,t,i)}),[mA.Change_0_to_1,s,i.typeToString(t)],e,r)}},fixIds:[$ne,eae],getAllCodeActions:function(e){var n=e.fixId,t=e.program,a=e.sourceFile,i=t.getTypeChecker();return I7(e,tae,function(e,t){var r=aae(t.file,t.start,i);r&&(t=r.typeNode,r=r.type,r=321===t.kind&&n===eae?i.getNullableType(r,32768):r,nae(e,a,t,r,i))})}})}});function uae(e,t,r){e.replaceNodeWithText(t,r,"".concat(r.text,"()"))}function _ae(e,t){t=QX(e,t);if(aj(t.parent)){for(var r=t.parent;aj(r.parent);)r=r.parent;return r.name}if(xR(t))return t}var lae,dae,fae=e({"src/services/codefixes/fixMissingCallParentheses.ts":function(){fpe(),Hoe(),oae="fixMissingCallParentheses",N7({errorCodes:sae=[mA.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead.code],fixIds:[oae],getCodeActions:function(t){var r=_ae(t.sourceFile,t.span.start);if(r){var e=ode.ChangeTracker.with(t,function(e){return uae(e,t.sourceFile,r)});return[S7(oae,e,mA.Add_missing_call_parentheses,oae,mA.Add_all_missing_call_parentheses)]}},getAllCodeActions:function(e){return I7(e,sae,function(e,t){var r=_ae(t.file,t.start);r&&uae(e,t.file,r)})}})}});function pae(e,t){var r=PP(QX(e,t));if(r){switch(r.kind){case 174:n=r.name;break;case 262:case 218:n=MX(r,100,e);break;case 219:var n=MX(r,r.typeParameters?30:21,e)||SD(r.parameters);break;default:return}return n&&{insertBefore:n,returnType:(t=r).type||(Aj(t.parent)&&t.parent.type&&JR(t.parent.type)?t.parent.type.type:void 0)}}}function mae(e,t,r){var n=r.insertBefore,a=r.returnType;a&&((r=KP(a))&&80===r.kind&&"Promise"===r.text||e.replaceNode(t,a,uR.createTypeReferenceNode("Promise",uR.createNodeArray([a])))),e.insertModifierBefore(t,134,n)}var yae,vae,gae=e({"src/services/codefixes/fixAwaitInSyncFunction.ts":function(){fpe(),Hoe(),lae="fixAwaitInSyncFunction",N7({errorCodes:dae=[mA.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,mA.await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,mA.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,mA.Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function.code],getCodeActions:function(e){var t=e.sourceFile,r=e.span,n=pae(t,r.start);if(n){e=ode.ChangeTracker.with(e,function(e){return mae(e,t,n)});return[S7(lae,e,mA.Add_async_modifier_to_containing_function,lae,mA.Add_all_missing_async_modifiers)]}},fixIds:[lae],getAllCodeActions:function(r){var n=new Map;return I7(r,dae,function(e,t){t=pae(t.file,t.start);t&&Zf(n,mJ(t.insertBefore))&&mae(e,r.sourceFile,t)})}})}});function hae(e,t,r,n,a){var i,o;if(n===mA._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code)o=(i=t)+r;else if(n===mA._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code){var s=a.program.getTypeChecker(),r=QX(e,t).parent;rA.assert(DE(r),"error span of fixPropertyOverrideAccessor should only be on an accessor");t=r.parent;rA.assert(NE(t),"erroneous accessors should only be inside classes");t=pa(vie(t,s));if(!t)return[];r=OA($F(r.name)),r=s.getPropertyOfType(s.getTypeAtLocation(t),r);if(!r||!r.valueDeclaration)return[];i=r.valueDeclaration.pos,o=r.valueDeclaration.end,e=CF(r.valueDeclaration)}else rA.fail("fixPropertyOverrideAccessor codefix got unexpected error code "+n);return lie(e,a.program,i,o,a,mA.Generate_get_and_set_accessors.message)}var xae,bae,kae=e({"src/services/codefixes/fixPropertyOverrideAccessor.ts":function(){fpe(),Hoe(),N7({errorCodes:yae=[mA._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code,mA._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code],getCodeActions:function(e){e=hae(e.sourceFile,e.span.start,e.span.length,e.errorCode,e);if(e)return[S7(vae,e,mA.Generate_get_and_set_accessors,vae,mA.Generate_get_and_set_accessors_for_all_overriding_properties)]},fixIds:[vae="fixPropertyOverrideAccessor"],getAllCodeActions:function(c){return I7(c,yae,function(e,t){var r,n,a=hae(t.file,t.start,t.length,t.code,c);if(a)try{for(var i=__values(a),o=i.next();!o.done;o=i.next()){var s=o.value;e.pushRaw(c.sourceFile,s)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}})}})}});function Tae(e,t,r,n,a,i,o,s,c){if(Bs(r.kind)||80===r.kind||26===r.kind||110===r.kind){var u=r.parent,_=yee(t,a,c,s);switch(n=function(e){switch(e){case mA.Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage.code:return mA.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code;case mA.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return mA.Variable_0_implicitly_has_an_1_type.code;case mA.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return mA.Parameter_0_implicitly_has_an_1_type.code;case mA.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code:return mA.Rest_parameter_0_implicitly_has_an_any_type.code;case mA.Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage.code:return mA.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code;case mA._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage.code:return mA._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code;case mA.Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage.code:return mA.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code;case mA.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return mA.Member_0_implicitly_has_an_1_type.code}return e}(n)){case mA.Member_0_implicitly_has_an_1_type.code:case mA.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code:if(Aj(u)&&o(u)||AR(u)||DR(u))return Sae(e,_,t,u,a,s,i),_.writeFixes(e),u;if(aj(u)){var l=SZ(Aae(u.name,a,i),u,a,s);return l&&(d=uR.createJSDocTypeTag(void 0,uR.createJSDocTypeExpression(l),void 0),e.addJSDocTags(t,JD(u.parent.parent,Sj),[d])),_.writeFixes(e),u}return;case mA.Variable_0_implicitly_has_an_1_type.code:var d=a.getTypeChecker().getSymbolAtLocation(r);return d&&d.valueDeclaration&&Aj(d.valueDeclaration)&&o(d.valueDeclaration)?(Sae(e,_,CF(d.valueDeclaration),d.valueDeclaration,a,s,i),_.writeFixes(e),d.valueDeclaration):void 0}var f,p,m,y,v,g,h,x,b,k=PP(r);if(void 0!==k){switch(n){case mA.Parameter_0_implicitly_has_an_1_type.code:if(LR(k)){wae(e,_,t,k,a,s,i),f=k;break}case mA.Rest_parameter_0_implicitly_has_an_any_type.code:o(k)&&(p=JD(u,CR),function(e,t,r,n,a,i,o){var s,c;if(xR(p.name)){var u=function(e,t,r,n){t=Eae(e,t,r,n);return t&&Fae(r,t,n).parameters(e)||e.parameters.map(function(e){return{declaration:e,type:xR(e.name)?Aae(e.name,r,n):r.getTypeChecker().getAnyType()}})}(n,r,a,o);if(rA.assert(n.parameters.length===u.length,"Parameter count and inference count should match"),cI(n))Nae(e,r,u,a,i);else{o=lj(n)&&!MX(n,21,r);o&&e.insertNodeBefore(r,SD(n.parameters),uR.createToken(21));try{for(var _=__values(u),l=_.next();!l.done;l=_.next()){var d=l.value,f=d.declaration,d=d.type;!f||f.type||f.initializer||Cae(e,t,r,f,d,a,i)}}catch(e){s={error:e}}finally{try{l&&!l.done&&(c=_.return)&&c.call(_)}finally{if(s)throw s.error}}o&&e.insertNodeAfter(r,ND(n.parameters),uR.createToken(22))}}}(e,_,t,k,a,s,i),f=p);break;case mA.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code:case mA._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code:OR(k)&&xR(k.name)&&(Cae(e,_,t,k,Aae(k.name,a,i),a,s),f=k);break;case mA.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code:LR(k)&&(wae(e,_,t,k,a,s,i),f=k);break;case mA.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:ode.isThisTypeAnnotatable(k)&&o(k)&&(m=e,h=s,(b=Eae(v=k,y=t,g=a,x=i))&&b.length&&(h=SZ(Fae(g,b,x).thisParameter(),v,g,h))&&(cI(v)?m.addJSDocTags(y,v,[uR.createJSDocThisTag(void 0,uR.createJSDocTypeExpression(h))]):m.tryInsertThisTypeAnnotation(y,v,h)),f=k);break;default:return rA.fail(String(n))}return _.writeFixes(e),f}}}function Sae(e,t,r,n,a,i,o){xR(n.name)&&Cae(e,t,r,n,Aae(n.name,a,o),a,i)}function wae(e,t,r,n,a,i,o){var s,c=kD(n.parameters);c&&xR(n.name)&&xR(c.name)&&((s=Aae(n.name,a,o))===a.getTypeChecker().getAnyType()&&(s=Aae(c.name,a,o)),cI(n)?Nae(e,r,[{declaration:c,type:s}],a,i):Cae(e,t,r,c,s,a,i))}function Cae(e,t,r,n,a,i,o){var s=SZ(a,n,i,o);s&&(cI(r)&&171!==n.kind?(a=Aj(n)?BD(n.parent.parent,Tj):n)&&(o=uR.createJSDocTypeExpression(s),o=OR(n)?uR.createJSDocReturnTag(void 0,o,void 0):uR.createJSDocTypeTag(void 0,o,void 0),e.addJSDocTags(r,a,[o])):function(e,t,r,n,a,i){i=oie(e,i);if(i&&n.tryInsertTypeAnnotation(r,t,i.typeNode))return KN(i.symbols,function(e){return a.addImportFromExportedSymbol(e,!0)}),!0;return!1}(s,n,r,e,t,rM(i.getCompilerOptions()))||e.tryInsertTypeAnnotation(r,n,s))}function Nae(r,n,e,a,i){var t,o=e.length&&e[0].declaration.parent;!o||(t=uD(e,function(e){var t=e.declaration;if(!t.initializer&&!QA(t)&&xR(t.name)){var r=e.type&&SZ(e.type,t,a,i);if(r)return lR(uR.cloneNode(t.name),7168),{name:uR.cloneNode(t.name),param:t,isOptional:!!e.isOptional,typeNode:r}}})).length&&(lj(o)||_j(o)?((e=lj(o)&&!MX(o,21,n))&&r.insertNodeBefore(n,SD(o.parameters),uR.createToken(21)),KN(t,function(e){var t=e.typeNode,e=e.param,t=uR.createJSDocTypeTag(void 0,uR.createJSDocTypeExpression(t)),t=uR.createJSDocComment(void 0,[t]);r.insertNodeAt(n,e.getStart(n),t,{suffix:" "})}),e&&r.insertNodeAfter(n,ND(o.parameters),uR.createToken(22))):(t=iD(t,function(e){var t=e.name,r=e.typeNode,e=e.isOptional;return uR.createJSDocParameterTag(void 0,t,!!e,uR.createJSDocTypeExpression(r),!1,void 0)}),r.addJSDocTags(n,o,t)))}function Dae(e,t,r){return uD(pue.getReferenceEntriesForNode(-1,e,t,t.getSourceFiles(),r),function(e){return e.kind!==pue.EntryKind.Span?BD(e.node,xR):void 0})}function Aae(e,t,r){return Fae(t,Dae(e,t,r),r).single()}function Eae(e,t,r,n){switch(e.kind){case 176:i=MX(e,137,t);break;case 219:case 218:var a=e.parent,i=((Aj(a)||AR(a))&&xR(a.name)?a:e).name;break;case 262:case 174:case 173:i=e.name}if(i)return Dae(i,r,n)}function Fae(p,o,m){var b=p.getTypeChecker(),i={string:function(){return b.getStringType()},number:function(){return b.getNumberType()},Array:function(e){return b.createArrayType(e)},Promise:function(e){return b.createPromiseType(e)}},a=[b.getStringType(),b.getNumberType(),b.createArrayType(b.getAnyType()),b.createPromiseType(b.getAnyType())];return{single:function(){return v(y(o))},parameters:function(d){var t,e;if(0===o.length||!d.parameters)return;var r=c();try{for(var n=__values(o),a=n.next();!a.done;a=n.next()){var i=a.value;m.throwIfCancellationRequested(),u(i,r)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}var f=__spreadArray(__spreadArray([],__read(r.constructs||[]),!1),__read(r.calls||[]),!1);return d.parameters.map(function(e,t){var r,n,a=[],i=uF(e),o=!1;try{for(var s=__values(f),c=s.next();!c.done;c=s.next()){var u=c.value;if(u.argumentTypes.length<=t)o=cI(d),a.push(b.getUndefinedType());else if(i)for(var _=t;_<u.argumentTypes.length;_++)a.push(b.getBaseTypeOfLiteralType(u.argumentTypes[_]));else a.push(b.getBaseTypeOfLiteralType(u.argumentTypes[t]))}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}xR(e.name)&&(l=y(Dae(e.name,p,m)),a.push.apply(a,__spreadArray([],__read(i?uD(l,b.getElementTypeOfArrayType):l),!1)));var l=v(a);return{type:i?b.createArrayType(l):l,isOptional:o&&!i,declaration:e}})},thisParameter:function(){var t,e,r=c();try{for(var n=__values(o),a=n.next();!a.done;a=n.next()){var i=a.value;m.throwIfCancellationRequested(),u(i,r)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return v(r.candidateThisTypes||WN)}};function c(){return{isNumber:void 0,isString:void 0,isNumberOrString:void 0,candidateTypes:void 0,properties:void 0,calls:void 0,constructs:void 0,numberIndex:void 0,stringIndex:void 0,candidateThisTypes:void 0,inferredTypes:void 0}}function y(e){var t,r,n=c();try{for(var a=__values(e),i=a.next();!i.done;i=a.next()){var o=i.value;m.throwIfCancellationRequested(),u(o,n)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return l(n)}function u(e,t){for(;LL(e);)e=e.parent;switch(e.parent.kind){case 244:h(t,oj(e)?b.getVoidType():b.getAnyType());break;case 225:t.isNumber=!0;break;case 224:!function(e,t){switch(e.operator){case 46:case 47:case 41:case 55:t.isNumber=!0;break;case 40:t.isNumberOrString=!0}}(e.parent,t);break;case 226:!function(e,t,r){switch(t.operatorToken.kind){case 43:case 42:case 44:case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 66:case 68:case 67:case 69:case 70:case 74:case 75:case 79:case 71:case 73:case 72:case 41:case 30:case 33:case 32:case 34:var n=b.getTypeAtLocation(t.left===e?t.right:t.left);1056&n.flags?h(r,n):r.isNumber=!0;break;case 65:case 40:n=b.getTypeAtLocation(t.left===e?t.right:t.left);1056&n.flags?h(r,n):296&n.flags?r.isNumber=!0:402653316&n.flags?r.isString=!0:1&n.flags||(r.isNumberOrString=!0);break;case 64:case 35:case 37:case 38:case 36:case 77:case 78:case 76:h(r,b.getTypeAtLocation(t.left===e?t.right:t.left));break;case 103:e===t.left&&(r.isString=!0);break;case 57:case 61:e!==t.left||260!==e.parent.parent.kind&&!NL(e.parent.parent,!0)||h(r,b.getTypeAtLocation(t.right))}}(e,e.parent,t);break;case 296:case 297:s=e.parent,h(t,b.getTypeAtLocation(s.parent.parent.expression));break;case 213:case 214:e.parent.expression===e?function(e,t){var r,n,a={argumentTypes:[],return_:c()};if(e.arguments)try{for(var i=__values(e.arguments),o=i.next();!o.done;o=i.next()){var s=o.value;a.argumentTypes.push(b.getTypeAtLocation(s))}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}u(e,a.return_),(213===e.kind?t.calls||(t.calls=[]):t.constructs||(t.constructs=[])).push(a)}(e.parent,t):_(e,t);break;case 211:!function(e,t){var r=IA(e.name.text);t.properties||(t.properties=new Map);var n=t.properties.get(r)||c();u(e,n),t.properties.set(r,n)}(e.parent,t);break;case 212:a=e.parent,o=t,!void((i=e)===a.argumentExpression?o.isNumberOrString=!0:(s=b.getTypeAtLocation(a.argumentExpression),i=c(),u(a,i),296&s.flags?o.numberIndex=i:o.stringIndex=i));break;case 303:case 304:n=(Aj((n=e.parent).parent.parent)?n.parent:n).parent,!void x(t,b.getTypeAtLocation(n));break;case 172:r=e.parent,x(t,b.getTypeAtLocation(r.parent));break;case 260:n=e.parent,r=n.name,n=n.initializer;if(e===r){n&&h(t,b.getTypeAtLocation(n));break}default:return _(e,t),0}var r,n,a,i,o,s}function _(e,t){$P(e)&&h(t,b.getContextualType(e))}function s(e){return v(l(e))}function v(e){if(!e.length)return b.getAnyType();var t=b.getUnionType([b.getStringType(),b.getNumberType()]),r=function(e,t){var r,n,a,i,o=[];try{for(var s=__values(e),c=s.next();!c.done;c=s.next()){var u=c.value;try{for(var _=(a=void 0,__values(t)),l=_.next();!l.done;l=_.next()){var d=l.value,f=d.high,d=d.low;f(u)&&(rA.assert(!d(u),"Priority can't have both low and high"),o.push(d))}}catch(e){a={error:e}}finally{try{l&&!l.done&&(i=_.return)&&i.call(_)}finally{if(a)throw a.error}}}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return e.filter(function(t){return o.every(function(e){return!e(t)})})}(e,[{high:function(e){return e===b.getStringType()||e===b.getNumberType()},low:function(e){return e===t}},{high:function(e){return!(16385&e.flags)},low:function(e){return!!(16385&e.flags)}},{high:function(e){return!(114689&e.flags||16&WL(e))},low:function(e){return!!(16&WL(e))}}]),e=r.filter(function(e){return 16&WL(e)});return e.length&&(r=r.filter(function(e){return!(16&WL(e))})).push(function(n){var t,e,r,a;if(1===n.length)return n[0];var i=[],o=[],s=[],c=[],u=!1,_=!1,l=MD();try{for(var d=__values(n),f=d.next();!f.done;f=d.next()){var p=f.value;try{for(var m=(r=void 0,__values(b.getPropertiesOfType(p))),y=m.next();!y.done;y=m.next()){var v=y.value;l.add(v.escapedName,v.valueDeclaration?b.getTypeOfSymbolAtLocation(v,v.valueDeclaration):b.getAnyType())}}catch(e){r={error:e}}finally{try{y&&!y.done&&(a=m.return)&&a.call(m)}finally{if(r)throw r.error}}i.push.apply(i,__spreadArray([],__read(b.getSignaturesOfType(p,0)),!1)),o.push.apply(o,__spreadArray([],__read(b.getSignaturesOfType(p,1)),!1));var g=b.getIndexInfoOfType(p,0);g&&(s.push(g.type),u=u||g.isReadonly);g=b.getIndexInfoOfType(p,1);g&&(c.push(g.type),_=_||g.isReadonly)}}catch(e){t={error:e}}finally{try{f&&!f.done&&(e=d.return)&&e.call(d)}finally{if(t)throw t.error}}var h=C(l,function(e,t){var r=t.length<n.length?16777216:0,r=b.createSymbol(4|r,e);return r.links.type=b.getUnionType(t),[e,r]}),x=[];s.length&&x.push(b.createIndexInfo(b.getStringType(),b.getUnionType(s),u));c.length&&x.push(b.createIndexInfo(b.getNumberType(),b.getUnionType(c),_));return b.createAnonymousType(n[0].symbol,h,i,o,x)}(e)),b.getWidenedType(b.getUnionType(r.map(b.getBaseTypeOfLiteralType),2))}function l(e){var t=[];e.isNumber&&t.push(b.getNumberType()),e.isString&&t.push(b.getStringType()),e.isNumberOrString&&t.push(b.getUnionType([b.getStringType(),b.getNumberType()])),e.numberIndex&&t.push(b.createArrayType(s(e.numberIndex))),(null!=(r=e.properties)&&r.size||null!=(n=e.constructs)&&n.length||e.stringIndex)&&t.push(d(e));var r=(e.candidateTypes||[]).map(function(e){return b.getBaseTypeOfLiteralType(e)}),n=null!=(n=e.calls)&&n.length?d(e):void 0;return n&&r?t.push(b.getUnionType(__spreadArray([n],__read(r),!1),2)):(n&&t.push(n),HN(r)&&t.push.apply(t,__spreadArray([],__read(r),!1))),t.push.apply(t,__spreadArray([],__read(function(t){if(!t.properties||!t.properties.size)return[];var e=a.filter(function(e){return n=e,!!(e=t).properties&&!hF(e.properties,function(e,t){var r=b.getTypeOfPropertyOfType(n,t);return!r||(e.calls?!b.getSignaturesOfType(r,0).length||!b.isTypeAssignableTo(r,(t=e.calls,b.createAnonymousType(void 0,vF(),[g(t)],WN,WN))):!b.isTypeAssignableTo(r,s(e)))});var n});if(0<e.length&&e.length<3)return e.map(function(e){return function(e,t){if(!(4&WL(e)&&t.properties))return e;var r=e.target,n=pa(r.typeParameters);if(!n)return e;var a=[];return t.properties.forEach(function(e,t){t=b.getTypeOfPropertyOfType(r,t);rA.assert(!!t,"generic should have all the properties of its reference."),a.push.apply(a,__spreadArray([],__read(f(t,s(e),n)),!1))}),i[e.symbol.escapedName](v(a))}(e,t)});return[]}(e)),!1)),t}function d(e){var n=new Map;e.properties&&e.properties.forEach(function(e,t){var r=b.createSymbol(4,t);r.links.type=s(e),n.set(t,r)});var t=e.calls?[g(e.calls)]:[],r=e.constructs?[g(e.constructs)]:[],e=e.stringIndex?[b.createIndexInfo(b.getStringType(),s(e.stringIndex),!1)]:[];return b.createAnonymousType(void 0,n,t,r,e)}function f(e,t,r){if(e===r)return[t];if(3145728&e.flags)return cD(e.types,function(e){return f(e,t,r)});if(4&WL(e)&&4&WL(t)){var n=b.getTypeArguments(e),a=b.getTypeArguments(t),i=[];if(n&&a)for(var o=0;o<n.length;o++)a[o]&&i.push.apply(i,__spreadArray([],__read(f(n[o],a[o],r)),!1));return i}var s=b.getSignaturesOfType(e,0),e=b.getSignaturesOfType(t,0);return 1===s.length&&1===e.length?function(e,t,r){for(var n=[],a=0;a<e.parameters.length;a++){var i=e.parameters[a],o=t.parameters[a],s=e.declaration&&uF(e.declaration.parameters[a]);if(!o)break;var i=i.valueDeclaration?b.getTypeOfSymbolAtLocation(i,i.valueDeclaration):b.getAnyType(),s=s&&b.getElementTypeOfArrayType(i);s&&(i=s);o=(null==(s=BD(o,gF))?void 0:s.links.type)||(o.valueDeclaration?b.getTypeOfSymbolAtLocation(o,o.valueDeclaration):b.getAnyType());n.push.apply(n,__spreadArray([],__read(f(i,o,r)),!1))}var c=b.getReturnTypeOfSignature(e),u=b.getReturnTypeOfSignature(t);return n.push.apply(n,__spreadArray([],__read(f(c,u,r)),!1)),n}(s[0],e[0],r):[]}function g(r){for(var n=[],e=Math.max.apply(Math,__spreadArray([],__read(r.map(function(e){return e.argumentTypes.length})),!1)),t=0;t<e;t++)!function(t){var e=b.createSymbol(1,IA("arg".concat(t)));e.links.type=v(r.map(function(e){return e.argumentTypes[t]||b.getUndefinedType()})),r.some(function(e){return void 0===e.argumentTypes[t]})&&(e.flags|=16777216),n.push(e)}(t);var a=s(function r(e){var t,n,a=new Map;try{for(var i=__values(e),o=i.next();!o.done;o=i.next()){var s=o.value;s.properties&&s.properties.forEach(function(e,t){a.has(t)||a.set(t,[]),a.get(t).push(e)})}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}var c=new Map;return a.forEach(function(e,t){c.set(t,r(e))}),{isNumber:e.some(function(e){return e.isNumber}),isString:e.some(function(e){return e.isString}),isNumberOrString:e.some(function(e){return e.isNumberOrString}),candidateTypes:cD(e,function(e){return e.candidateTypes}),properties:c,calls:cD(e,function(e){return e.calls}),constructs:cD(e,function(e){return e.constructs}),numberIndex:KN(e,function(e){return e.numberIndex}),stringIndex:KN(e,function(e){return e.stringIndex}),candidateThisTypes:cD(e,function(e){return e.candidateThisTypes}),inferredTypes:void 0}}(r.map(function(e){return e.return_})));return b.createSignature(void 0,void 0,void 0,n,a,void 0,e,0)}function h(e,t){!t||1&t.flags||131072&t.flags||(e.candidateTypes||(e.candidateTypes=[])).push(t)}function x(e,t){!t||1&t.flags||131072&t.flags||(e.candidateThisTypes||(e.candidateThisTypes=[])).push(t)}}var Pae,Iae,Oae=e({"src/services/codefixes/inferFromUsage.ts":function(){fpe(),Hoe(),xae="inferFromUsage",N7({errorCodes:bae=[mA.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code,mA.Variable_0_implicitly_has_an_1_type.code,mA.Parameter_0_implicitly_has_an_1_type.code,mA.Rest_parameter_0_implicitly_has_an_any_type.code,mA.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code,mA._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code,mA.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code,mA.Member_0_implicitly_has_an_1_type.code,mA.Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage.code,mA.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,mA.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,mA.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code,mA.Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage.code,mA._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage.code,mA.Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage.code,mA.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,mA.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code],getCodeActions:function(e){var t,r=e.sourceFile,n=e.program,a=e.span.start,i=e.errorCode,o=e.cancellationToken,s=e.host,c=e.preferences,u=QX(r,a),a=ode.ChangeTracker.with(e,function(e){t=Tae(e,r,u,i,n,o,ya,s,c)}),e=t&&JA(t);return e&&0!==a.length?[S7(xae,a,[function(e,t){switch(e){case mA.Parameter_0_implicitly_has_an_1_type.code:case mA.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return LR(PP(t))?mA.Infer_type_of_0_from_usage:mA.Infer_parameter_types_from_usage;case mA.Rest_parameter_0_implicitly_has_an_any_type.code:case mA.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code:return mA.Infer_parameter_types_from_usage;case mA.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:return mA.Infer_this_type_of_0_from_usage;default:return mA.Infer_type_of_0_from_usage}}(i,u),PF(e)],xae,mA.Infer_all_types_from_usage)]:void 0},fixIds:[xae],getAllCodeActions:function(e){var r=e.sourceFile,n=e.program,a=e.cancellationToken,i=e.host,o=e.preferences,s=qQ();return I7(e,bae,function(e,t){Tae(e,r,QX(t.file,t.start),t.code,n,a,s,i,o)})}})}});function Lae(e,t,r){if(!cI(e)){var n=FA(QX(e,r),TE),e=null==n?void 0:n.type;if(e){r=t.getTypeFromTypeNode(e),n=t.getAwaitedType(r)||t.getVoidType(),t=t.typeToTypeNode(n,e,void 0);return t?{returnTypeNode:e,returnType:r,promisedTypeNode:t,promisedType:n}:void 0}}}function Mae(e,t,r,n){e.replaceNode(t,r,uR.createTypeReferenceNode("Promise",[n]))}var Rae,jae,Bae,Jae=e({"src/services/codefixes/fixReturnTypeInAsyncFunction.ts":function(){fpe(),Hoe(),Pae="fixReturnTypeInAsyncFunction",N7({errorCodes:Iae=[mA.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:[Pae],getCodeActions:function(e){var t=e.sourceFile,r=e.program,n=e.span,a=r.getTypeChecker(),r=Lae(t,r.getTypeChecker(),n.start);if(r){var i=r.returnTypeNode,n=r.returnType,o=r.promisedTypeNode,r=r.promisedType,e=ode.ChangeTracker.with(e,function(e){return Mae(e,t,i,o)});return[S7(Pae,e,[mA.Replace_0_with_Promise_1,a.typeToString(n),a.typeToString(r)],Pae,mA.Fix_all_incorrect_return_type_of_an_async_functions)]}},getAllCodeActions:function(n){return I7(n,Iae,function(e,t){var r=Lae(t.file,n.program.getTypeChecker(),t.start);r&&Mae(e,t.file,r.returnTypeNode,r.promisedTypeNode)})}})}});function zae(e,t,r,n){var a=gA(t,r).line;n&&!lD(n,a)||e.insertCommentBeforeLine(t,a,r," @ts-ignore")}var Uae,Vae=e({"src/services/codefixes/disableJsDiagnostics.ts":function(){fpe(),Hoe(),jae=Rae="disableJsDiagnostics",N7({errorCodes:Bae=uD(Object.keys(mA),function(e){e=mA[e];return 1===e.category?e.code:void 0}),getCodeActions:function(e){var t=e.sourceFile,r=e.program,n=e.span,a=e.host,i=e.formatContext;if(cI(t)&&TM(t,r.getCompilerOptions())){i=t.checkJsDirective?"":zY(a,i.options),i=[T7(Rae,[P7(t.fileName,[BQ(t.checkJsDirective?wo(t.checkJsDirective.pos,t.checkJsDirective.end):So(0,0),"// @ts-nocheck".concat(i))])],mA.Disable_checking_for_this_file)];return ode.isValidLocationToAddComment(t,n.start)&&i.unshift(S7(Rae,ode.ChangeTracker.with(e,function(e){return zae(e,t,n.start)}),mA.Ignore_this_error_message,jae,mA.Add_ts_ignore_to_all_error_messages)),i}},fixIds:[jae],getAllCodeActions:function(e){var r=new Set;return I7(e,Bae,function(e,t){ode.isValidLocationToAddComment(t.file,t.start)&&zae(e,t.file,t.start,r)})}})}});function qae(e,t,r,n,a,i,o){var s,c,u=e.symbol.members;try{for(var _=__values(t),l=_.next();!l.done;l=_.next()){var d=l.value;u.has(d.escapedName)||Hae(d,e,r,n,a,i,o,void 0)}}catch(e){s={error:e}}finally{try{l&&!l.done&&(c=_.return)&&c.call(_)}finally{if(s)throw s.error}}}function Wae(e){return{trackSymbol:function(){return!1},moduleResolverHost:$Q(e.program,e.host)}}function Hae(e,i,t,o,r,s,c,n,u,a){var _,l,d,f;void 0===u&&(u=3),void 0===a&&(a=!1);var p=e.getDeclarations(),m=kD(p),y=o.program.getTypeChecker(),v=rM(o.program.getCompilerOptions()),g=null!==(x=null==m?void 0:m.kind)&&void 0!==x?x:171,h=function(e,t){if(262144&BL(e)){e=e.links.nameType;if(e&&sR(e))return uR.createIdentifier(OA(cR(e)))}return eZ(JA(t),!1)}(e,m),x=m?xL(m):0,b=32&x;b|=4&x?4:16&x?16:0,m&&AE(m)&&(b|=128);var k=function(){var e;b&&(e=U(e,uR.createModifiersFromModifierFlags(b)));o.program.getCompilerOptions().noImplicitOverride&&m&&pL(m)&&(e=vD(e,uR.createToken(164)));return e&&uR.createNodeArray(e)}(),T=y.getWidenedType(y.getTypeOfSymbolAtLocation(e,i)),S=!!(16777216&e.flags),w=!!(33554432&i.flags)||a,C=iY(t,r);switch(g){case 171:case 172:var N=0===C?268435456:void 0,N=y.typeToTypeNode(T,i,N,Wae(o));s&&(D=oie(N,v))&&(N=D.typeNode,cie(s,D.symbols)),c(uR.createPropertyDeclaration(k,m?B(h):e.getName(),S&&2&u?uR.createToken(58):void 0,N,void 0));break;case 177:case 178:rA.assertIsDefined(p);var D,A=y.typeToTypeNode(T,i,void 0,Wae(o)),N=rL(p,m),E=N.secondAccessor?[N.firstAccessor,N.secondAccessor]:[N.firstAccessor];s&&(D=oie(A,v))&&(A=D.typeNode,cie(s,D.symbols));try{for(var F=__values(E),P=F.next();!P.done;P=F.next()){var I=P.value;OR(I)?c(uR.createGetAccessorDeclaration(k,B(h),WN,z(A),J(n,C,w))):(rA.assertNode(I,LR,"The counterpart to a getter should be a setter"),I=(I=QO(I))&&xR(I.name)?LA(I.name):void 0,c(uR.createSetAccessorDeclaration(k,B(h),$ae(1,[I],[z(A)],1,!1),J(n,C,w))))}}catch(e){_={error:e}}finally{try{P&&!P.done&&(l=F.return)&&l.call(F)}finally{if(_)throw _.error}}break;case 173:case 174:rA.assertIsDefined(p);var O=T.isUnion()?cD(T.types,function(e){return e.getCallSignatures()}):T.getCallSignatures();if(!dD(O))break;if(1===p.length){rA.assert(1===O.length,"One declaration implies one signature");var L=O[0];j(C,L,k,B(h),J(n,C,w));break}try{for(var M=__values(O),R=M.next();!R.done;R=M.next()){var L=R.value;j(C,L,k,B(h))}}catch(e){d={error:e}}finally{try{R&&!R.done&&(f=M.return)&&f.call(M)}finally{if(d)throw d.error}}w||(p.length>O.length?(L=y.getSignatureFromDeclaration(p[p.length-1]),j(C,L,k,B(h),J(n,C))):(rA.assert(p.length===O.length,"Declarations and signatures should match count"),c(function(e,t,r,n,a,i,o,s,c){var u,_,l=n[0],d=n[0].minArgumentCount,f=!1;try{for(var p=__values(n),m=p.next();!m.done;m=p.next()){var y=m.value;d=Math.min(y.minArgumentCount,d),bJ(y)&&(f=!0),y.parameters.length>=l.parameters.length&&(!bJ(y)||bJ(l))&&(l=y)}}catch(e){u={error:e}}finally{try{m&&!m.done&&(_=p.return)&&_.call(p)}finally{if(u)throw u.error}}var v=l.parameters.length-(bJ(l)?1:0),g=l.parameters.map(function(e){return e.name}),h=$ae(v,g,void 0,d,!1);f&&(v=uR.createParameterDeclaration(void 0,uR.createToken(26),g[v]||"rest",d<=v?uR.createToken(58):void 0,uR.createArrayTypeNode(uR.createKeywordTypeNode(159)),void 0),h.push(v));return function(e,t,r,n,a,i,o,s){return uR.createMethodDeclaration(e,void 0,t,r?uR.createToken(58):void 0,n,a,i,s||eie(o))}(o,a,i,void 0,h,function(e,t,r,n){if(HN(e)){e=t.getUnionType(iD(e,t.getReturnTypeOfSignature));return t.typeToTypeNode(e,n,1,Wae(r))}}(n,e,t,r),s,c)}(y,o,i,O,B(h),S&&!!(1&u),k,C,n))))}function j(e,t,r,n,a){r=Kae(174,o,e,t,a,n,r,S&&!!(1&u),i,s);r&&c(r)}function B(e){return xR(e)&&"constructor"===e.escapedText?uR.createComputedPropertyName(uR.createStringLiteral(LA(e),0===C)):eZ(e,!1)}function J(e,t,r){return r?void 0:eZ(e,!1)||eie(t)}function z(e){return eZ(e,!1)}}function Kae(e,t,r,n,a,i,o,s,c,u){var _=t.program,l=_.getTypeChecker(),d=rM(_.getCompilerOptions()),f=cI(c),r=524545|(0===r?268435456:0),e=l.signatureToSignatureDeclaration(n,e,c,r,Wae(t));if(e){var p,c=f?void 0:e.typeParameters,r=e.parameters,t=f?void 0:e.type;u&&(!c||c!==(p=oD(c,function(e){var t,r=e.constraint,n=e.default;return r&&(t=oie(r,d))&&(r=t.typeNode,cie(u,t.symbols)),n&&(t=oie(n,d))&&(n=t.typeNode,cie(u,t.symbols)),uR.updateTypeParameterDeclaration(e,e.modifiers,e.name,r,n)}))&&(c=UB(uR.createNodeArray(p,c.hasTrailingComma),c)),r!==(p=oD(r,function(e){var t,r=f?void 0:e.type;return!r||(t=oie(r,d))&&(r=t.typeNode,cie(u,t.symbols)),uR.updateParameterDeclaration(e,e.modifiers,e.dotDotDotToken,e.name,f?void 0:e.questionToken,r,e.initializer)}))&&(r=UB(uR.createNodeArray(p,r.hasTrailingComma),r)),!t||(m=oie(t,d))&&(t=m.typeNode,cie(u,m.symbols)));var m=s?uR.createToken(58):void 0,s=e.asteriskToken;return _j(e)?uR.updateFunctionExpression(e,o,e.asteriskToken,BD(i,xR),c,r,t,null!=a?a:e.body):lj(e)?uR.updateArrowFunction(e,o,c,r,t,e.equalsGreaterThanToken,null!=a?a:e.body):FR(e)?uR.updateMethodDeclaration(e,o,s,null!=i?i:uR.createIdentifier(""),m,c,r,t,a):Fj(e)?uR.updateFunctionDeclaration(e,o,e.asteriskToken,BD(i,xR),c,r,t,null!=a?a:e.body):void 0}}function Gae(e,t,r,n,a,i,o){var s=iY(t.sourceFile,t.preferences),c=rM(t.program.getCompilerOptions()),u=Wae(t),_=t.program.getTypeChecker(),l=cI(o),d=n.typeArguments,f=n.arguments,p=n.parent,m=l?void 0:_.getContextualType(n),t=iD(f,function(e){return xR(e)?e.text:aj(e)&&xR(e.name)?e.name.text:void 0}),n=l?[]:iD(f,function(e){return _.getTypeAtLocation(e)}),n=Zae(_,r,n,o,c,1,u),c=n.argumentTypeNodes,n=n.argumentTypeParameters,y=i?uR.createNodeArray(uR.createModifiersFromModifierFlags(i)):void 0,v=Og(p)?uR.createToken(42):void 0,g=l?void 0:function(r,e,t){var n=new Set(e.map(function(e){return e[0]})),a=new Map(e);if(t)for(var t=t.filter(function(t){return!e.some(function(e){return r.getTypeAtLocation(t)===(null==(e=e[1])?void 0:e.argumentType)})}),i=n.size+t.length,o=0;n.size<i;o+=1)n.add(Xae(o));return PD(n.values(),function(e){return uR.createTypeParameterDeclaration(void 0,e,null==(e=a.get(e))?void 0:e.constraint)})}(_,n,d),h=$ae(f.length,t,c,void 0,l),x=l||void 0===m?void 0:_.typeToTypeNode(m,o,void 0,u);switch(e){case 174:return uR.createMethodDeclaration(y,v,a,void 0,g,h,x,eie(s));case 173:return uR.createMethodSignature(y,a,void 0,g,h,void 0===x?uR.createKeywordTypeNode(159):x);case 262:return rA.assert("string"==typeof a||xR(a),"Unexpected name"),uR.createFunctionDeclaration(y,v,a,g,h,x,tie(mA.Function_not_implemented.message,s));default:rA.fail("Unexpected kind")}}function Xae(e){return 84+e<=90?String.fromCharCode(84+e):"T".concat(e)}function Qae(e,t,r,n,a,i,o){o=e.typeToTypeNode(r,n,i,o);return o&&ZR(o)&&((a=oie(o,a))&&(cie(t,a.symbols),o=a.typeNode)),eZ(o)}function Yae(e){return e.isUnionOrIntersection()?e.types.some(Yae):262144&e.flags}function Zae(e,t,r,n,a,i,o){for(var s=[],c=new Map,u=0;u<r.length;u+=1){var _,l,d=r[u];d.isUnionOrIntersection()&&d.types.some(Yae)?(_=Xae(u),s.push(uR.createTypeReferenceNode(_)),c.set(_,void 0)):(_=e.getBaseTypeOfLiteralType(d),(_=Qae(e,t,_,n,a,i,o))&&(s.push(_),_=function e(t){var r,n;var a;if(3145728&t.flags)try{for(var i=__values(t.types),o=i.next();!o.done;o=i.next()){var s=o.value,s=e(s);if(s)return s}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return!(262144&t.flags)||null==(a=t.getSymbol())?void 0:a.getName()}(d),l=!d.isTypeParameter()||!d.constraint||524288&(l=d.constraint).flags&&16===l.objectFlags?void 0:Qae(e,t,d.constraint,n,a,i,o),_&&c.set(_,{argumentType:d,constraint:l})))}return{argumentTypeNodes:s,argumentTypeParameters:PD(c.entries())}}function $ae(e,t,r,n,a){for(var i=[],o=new Map,s=0;s<e;s++){var c=(null==t?void 0:t[s])||"arg".concat(s),u=o.get(c);o.set(c,(u||0)+1);u=uR.createParameterDeclaration(void 0,void 0,c+(u||""),void 0!==n&&n<=s?uR.createToken(58):void 0,a?void 0:(null==r?void 0:r[s])||uR.createKeywordTypeNode(159),void 0);i.push(u)}return i}function eie(e){return tie(mA.Method_not_implemented.message,e)}function tie(e,t){return uR.createBlock([uR.createThrowStatement(uR.createNewExpression(uR.createIdentifier("Error"),void 0,[uR.createStringLiteral(e,0===t)]))],!0)}function rie(e,t,r){var n,a,i=$_(t);if(i){var o=iie(i,"compilerOptions");if(void 0!==o){var s=o.initializer;if(nj(s))try{for(var c=__values(r),u=c.next();!u.done;u=c.next()){var _=__read(u.value,2),l=_[0],d=_[1],_=iie(s,l);void 0===_?e.insertNodeAtObjectStart(t,s,aie(l,d)):e.replaceNode(t,_.initializer,d)}}catch(e){n={error:e}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(n)throw n.error}}}else e.insertNodeAtObjectStart(t,i,aie("compilerOptions",uR.createObjectLiteralExpression(r.map(function(e){e=__read(e,2);return aie(e[0],e[1])}),!0)))}}function nie(e,t,r,n){rie(e,t,[[r,n]])}function aie(e,t){return uR.createPropertyAssignment(uR.createStringLiteral(e),t)}function iie(e,t){return QN(e.properties,function(e){return iB(e)&&e.name&&hR(e.name)&&e.name.text===t})}function oie(e,a){var i,e=TJ(e,function e(t){if(yP(t)&&t.qualifier){var r=EL(t.qualifier),n=ZZ(r.symbol,a),n=n!==r.text?sie(t.qualifier,uR.createIdentifier(n)):t.qualifier;i=vD(i,r.symbol);var r=SJ(t.typeArguments,e,FE);return uR.createTypeReferenceNode(n,r)}return wJ(t,e,iU)},FE);if(i&&e)return{typeNode:e,symbols:i}}function sie(e,t){return 80===e.kind?t:uR.createQualifiedName(sie(e.left,t),e.right)}function cie(t,e){e.forEach(function(e){return t.addImportFromExportedSymbol(e,!0)})}function uie(e,t){for(var r=TA(t),n=QX(e,t.start);n.end<r;)n=n.parent;return n}var _ie=e({"src/services/codefixes/helpers.ts":function(){fpe(),Uae=function(e){return e[e.Method=1]="Method",e[e.Property=2]="Property",e[e.All=3]="All",e}(Uae||{})}});function lie(e,t,r,n,a,i){var o=mie(e,t,r,n);if(o&&!I4.isRefactorErrorInfo(o)){var s,c,u=ode.ChangeTracker.fromContext(a),_=o.isStatic,l=o.isReadonly,d=o.fieldName,f=o.accessorName,p=o.originalName,m=o.type,t=o.container,r=o.declaration;iZ(d),iZ(f),iZ(r),iZ(t),NE(t)&&(g=xL(r),v=sI(e)?h=uR.createModifiersFromModifierFlags(g):(h=uR.createModifiersFromModifierFlags(function(e){e&=-65,16&(e&=-9)||(e|=4);return e}(g)),uR.createModifiersFromModifierFlags((y=g,y&=-5,y&=-17,y|=8))),qB(r)&&(v=fD(zA(r),v))),n=u,a=e,o=m,s=d,c=v,AR(g=r)?function(e,t,r,n){n=uR.updatePropertyDeclaration(r,c,s,r.questionToken||r.exclamationToken,n,r.initializer),e.replaceNode(t,r,n)}(n,a,g,o):iB(g)?function(e,t,r,n){((n=uR.updatePropertyAssignment(r,n,r.initializer)).modifiers||n.questionToken||n.exclamationToken)&&(n===r&&(n=uR.cloneNode(n)),n.modifiers=void 0,n.questionToken=void 0,n.exclamationToken=void 0),e.replacePropertyAssignment(t,r,n)}(n,a,g,s):n.replaceNode(a,g,uR.updateParameterDeclaration(g,c,g.dotDotDotToken,JD(s,xR),g.questionToken,g.type,g.initializer));var y,v,g,h,x,b,k,T,S,g=(y=d,v=f,o=m,n=h,a=_,g=t,uR.createGetAccessorDeclaration(n,v,[],o,uR.createBlock([uR.createReturnStatement(pie(y,a,g))],!0)));return iZ(g),yie(u,e,g,r,t),l?(l=XO(t))&&(x=u,b=e,k=l,T=d.text,S=p,k.body&&k.body.forEachChild(function e(t){ij(t)&&110===t.expression.kind&&hR(t.argumentExpression)&&t.argumentExpression.text===S&&VL(t)&&x.replaceNode(b,t.argumentExpression,uR.createStringLiteral(T)),aj(t)&&110===t.expression.kind&&t.name.text===S&&VL(t)&&x.replaceNode(b,t.name,uR.createIdentifier(T)),bE(t)||NE(t)||t.forEachChild(e)})):(iZ(_=(k=d,d=f,f=m,m=h,h=_,_=t,uR.createSetAccessorDeclaration(m,d,[uR.createParameterDeclaration(void 0,void 0,uR.createIdentifier("value"),void 0,f)],uR.createBlock([uR.createExpressionStatement(uR.createAssignment(pie(k,h,_),uR.createIdentifier("value")))],!0)))),yie(u,e,_,r,t)),u.getChanges()}}function die(e){return CA(e,e.parent)||AR(e)||iB(e)}function fie(e,t){return xR(t)?uR.createIdentifier(e):uR.createStringLiteral(e)}function pie(e,t,r){r=t?r.name:uR.createThis();return xR(e)?uR.createPropertyAccessExpression(r,e):uR.createElementAccessExpression(r,uR.createStringLiteralFromNode(e))}function mie(e,t,r,n,a){void 0===a&&(a=!0);var i=r===n&&a,a=FA(QX(e,r).parent,die);if(!a||!EX(a.name,e,r,n)&&!i)return{error:vp(mA.Could_not_find_property_for_which_to_generate_accessor)};if(!xR(r=a.name)&&!hR(r))return{error:vp(mA.Name_is_not_valid)};if(124!=(126975&xL(a)|124))return{error:vp(mA.Can_only_convert_property_with_modifier)};n=a.name.text,i=n$(n),r=fie(i?n:lZ("_".concat(n),e),a.name),n=fie(i?lZ(n.substring(1),e):n,a.name);return{isStatic:dL(a),isReadonly:vL(a),type:function(e,t){var r=Bd(e);if(AR(e)&&r&&e.questionToken){e=t.getTypeChecker(),t=e.getTypeFromTypeNode(r);if(!e.isTypeAssignableTo(e.getUndefinedType(),t)){t=xg(r)?r.types:[r];return uR.createUnionTypeNode(__spreadArray(__spreadArray([],__read(t),!1),[uR.createKeywordTypeNode(157)],!1))}}return r}(a,t),container:(169===a.kind?a.parent:a).parent,originalName:a.name.text,declaration:a,fieldName:r,accessorName:n,renameAccessor:i}}function yie(e,t,r,n,a){CA(n,n.parent)?e.insertMemberAtStart(t,a,r):iB(n)?e.insertNodeAfterComma(t,n,r):e.insertNodeAfter(t,n,r)}function vie(e,t){for(var r=[];e;){var n=vO(e),n=n&&t.getSymbolAtLocation(n.expression);if(!n)break;n=2097152&n.flags?t.getAliasedSymbol(n):n,n=n.declarations&&QN(n.declarations,NE);if(!n)break;r.push(n),e=n}return r}var gie,hie=e({"src/services/codefixes/generateAccessors.ts":function(){fpe()}});function xie(e,t,r,n){e=ode.ChangeTracker.with(e,function(e){return e.replaceNode(t,r,n)});return T7(gie,e,[mA.Replace_import_with_0,e[0].textChanges[0].newText])}function bie(e){var t=e.sourceFile,r=mA.This_expression_is_not_callable.code===e.errorCode?213:214,t=FA(QX(t,e.span.start),function(e){return e.kind===r});return t?Tie(e,t.expression):[]}function kie(t){var e=FA(QX(t.sourceFile,t.span.start),function(e){return e.getStart()===t.span.start&&e.getEnd()===t.span.start+t.span.length});return e?Tie(t,e):[]}function Tie(e,t){var r=e.program.getTypeChecker().getTypeAtLocation(t);if(!(r.symbol&&gF(r.symbol)&&r.symbol.links.originatingImport))return[];var n,a,i,o,s,c=[],u=r.symbol.links.originatingImport;return mP(u)||gD(c,(n=e,i=CF(a=u),o=jI(a),r=n.program.getCompilerOptions(),(u=[]).push(xie(n,i,a,rY(o.name,void 0,a.moduleSpecifier,iY(i,n.preferences)))),1===nM(r)&&u.push(xie(n,i,a,uR.createImportEqualsDeclaration(void 0,!1,o.name,uR.createExternalModuleReference(a.moduleSpecifier)))),u)),!jE(t)||BA(t.parent)&&t.parent.name===t||(s=e.sourceFile,e=ode.ChangeTracker.with(e,function(e){return e.replaceNode(s,t,uR.createPropertyAccessExpression(t,"default"),{})}),c.push(T7(gie,e,mA.Use_synthetic_default_member))),c}var Sie,wie,Cie,Nie,Die,Aie=e({"src/services/codefixes/fixInvalidImportSyntax.ts":function(){fpe(),Hoe(),gie="invalidImportSyntax",N7({errorCodes:[mA.This_expression_is_not_callable.code,mA.This_expression_is_not_constructable.code],getCodeActions:bie}),N7({errorCodes:[mA.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,mA.Type_0_does_not_satisfy_the_constraint_1.code,mA.Type_0_is_not_assignable_to_type_1.code,mA.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated.code,mA.Type_predicate_0_is_not_assignable_to_1.code,mA.Property_0_of_type_1_is_not_assignable_to_2_index_type_3.code,mA._0_index_type_1_is_not_assignable_to_2_index_type_3.code,mA.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2.code,mA.Property_0_in_type_1_is_not_assignable_to_type_2.code,mA.Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property.code,mA.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1.code],getCodeActions:kie})}});function Eie(e,t){e=QX(e,t);if(xR(e)&&AR(e.parent)){t=nL(e.parent);if(t)return{type:t,prop:e.parent,isJs:cI(e.parent)}}}function Fie(e,t,r){iZ(r);var n=uR.updatePropertyDeclaration(r,r.modifiers,r.name,uR.createToken(54),r.type,r.initializer);e.replaceNode(t,r,n)}function Pie(e,t,r){var n=uR.createKeywordTypeNode(157),n=xg(r.type)?r.type.types.concat(n):[r.type,n],n=uR.createUnionTypeNode(n);r.isJs?e.addJSDocTags(t,r.prop,[uR.createJSDocTypeTag(void 0,uR.createJSDocTypeExpression(n))]):e.replaceNode(t,r.type,n)}function Iie(e,t,r,n){iZ(r);n=uR.updatePropertyDeclaration(r,r.modifiers,r.name,r.questionToken,r.type,n);e.replaceNode(t,r,n)}function Oie(e,t){return function t(r,e){{if(512&e.flags)return e===r.getFalseType()||e===r.getFalseType(!0)?uR.createFalse():uR.createTrue();if(e.isStringLiteral())return uR.createStringLiteral(e.value);if(e.isNumberLiteral())return uR.createNumericLiteral(e.value);if(2048&e.flags)return uR.createBigIntLiteral(e.value);if(e.isUnion())return GN(e.types,function(e){return t(r,e)});if(e.isClass()){var n=qL(e.symbol);if(!n||_L(n,256))return;var n=XO(n);return n&&n.parameters.length?void 0:uR.createNewExpression(uR.createIdentifier(e.symbol.name),void 0,void 0)}if(r.isArrayLikeType(e))return uR.createArrayLiteralExpression()}return}(e,e.getTypeFromTypeNode(t.type))}var Lie,Mie,Rie=e({"src/services/codefixes/fixStrictClassInitialization.ts":function(){fpe(),Hoe(),Sie="strictClassInitialization",wie="addMissingPropertyDefiniteAssignmentAssertions",Cie="addMissingPropertyUndefinedType",Nie="addMissingPropertyInitializer",N7({errorCodes:Die=[mA.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor.code],getCodeActions:function(e){var t=Eie(e.sourceFile,e.span.start);if(t){var r,n,a,i=[];return vD(i,(r=e,n=t,a=ode.ChangeTracker.with(r,function(e){return Pie(e,r.sourceFile,n)}),S7(Sie,a,[mA.Add_undefined_type_to_property_0,n.prop.name.getText()],Cie,mA.Add_undefined_type_to_all_uninitialized_properties))),vD(i,function(t,r){if(!r.isJs){var e=ode.ChangeTracker.with(t,function(e){return Fie(e,t.sourceFile,r.prop)});return S7(Sie,e,[mA.Add_definite_assignment_assertion_to_property_0,r.prop.getText()],wie,mA.Add_definite_assignment_assertions_to_all_uninitialized_properties)}}(e,t)),vD(i,function(t,r){if(!r.isJs){var n=Oie(t.program.getTypeChecker(),r.prop);if(n){var e=ode.ChangeTracker.with(t,function(e){return Iie(e,t.sourceFile,r.prop,n)});return S7(Sie,e,[mA.Add_initializer_to_property_0,r.prop.name.getText()],Nie,mA.Add_initializers_to_all_uninitialized_properties)}}}(e,t)),i}},fixIds:[wie,Cie,Nie],getAllCodeActions:function(a){return I7(a,Die,function(e,t){var r=Eie(t.file,t.start);if(r)switch(a.fixId){case wie:Fie(e,t.file,r.prop);break;case Cie:Pie(e,t.file,r);break;case Nie:var n=Oie(a.program.getTypeChecker(),r.prop);if(!n)return;Iie(e,t.file,r.prop,n);break;default:rA.fail(JSON.stringify(a.fixId))}})}})}});function jie(e,t,r){var n=r.allowSyntheticDefaults,a=r.defaultImportName,i=r.namedImports,o=r.statement,r=r.required;e.replaceNode(t,o,a&&!n?uR.createImportEqualsDeclaration(void 0,!1,a,uR.createExternalModuleReference(r)):uR.createImportDeclaration(void 0,uR.createImportClause(!1,a,i),r,void 0))}function Bie(e,t,r){var n=QX(e,r).parent;dI(n,!0)||rA.failBadSyntaxKind(n);var a=JD(n.parent,Aj),e=BD(a.name,xR),r=$R(a.name)?function(e){var t,r,n=[];try{for(var a=__values(e.elements),i=a.next();!i.done;i=a.next()){var o=i.value;if(!xR(o.name)||o.initializer)return;n.push(uR.createImportSpecifier(!1,BD(o.propertyName,xR),o.name))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}if(n.length)return uR.createNamedImports(n)}(a.name):void 0;if(e||r)return{allowSyntheticDefaults:uM(t.getCompilerOptions()),defaultImportName:e,namedImports:r,statement:JD(a.parent.parent,Tj),required:SD(n.arguments)}}var Jie,zie,Uie=e({"src/services/codefixes/requireInTs.ts":function(){fpe(),Hoe(),Lie="requireInTs",N7({errorCodes:Mie=[mA.require_call_may_be_converted_to_an_import.code],getCodeActions:function(t){var r=Bie(t.sourceFile,t.program,t.span.start);if(r){var e=ode.ChangeTracker.with(t,function(e){return jie(e,t.sourceFile,r)});return[S7(Lie,e,mA.Convert_require_to_import,Lie,mA.Convert_all_require_to_import)]}},fixIds:[Lie],getAllCodeActions:function(r){return I7(r,Mie,function(e,t){t=Bie(t.file,r.program,t.start);t&&jie(e,r.sourceFile,t)})}})}});function Vie(e,t){e=QX(e,t);if(xR(e)){t=e.parent;if(Bj(t)&&Gj(t.moduleReference))return{importNode:t,name:e,moduleSpecifier:t.moduleReference.expression};if(ah(t)){t=t.parent.parent;return{importNode:t,name:e,moduleSpecifier:t.moduleSpecifier}}}}function qie(e,t,r,n){e.replaceNode(t,r.importNode,rY(r.name,void 0,r.moduleSpecifier,iY(t,n)))}var Wie,Hie,Kie=e({"src/services/codefixes/useDefaultImport.ts":function(){fpe(),Hoe(),Jie="useDefaultImport",N7({errorCodes:zie=[mA.Import_may_be_converted_to_a_default_import.code],getCodeActions:function(t){var r=t.sourceFile,e=t.span.start,n=Vie(r,e);if(n){e=ode.ChangeTracker.with(t,function(e){return qie(e,r,n,t.preferences)});return[S7(Jie,e,mA.Convert_to_default_import,Jie,mA.Convert_all_to_default_imports)]}},fixIds:[Jie],getAllCodeActions:function(n){return I7(n,zie,function(e,t){var r=Vie(t.file,t.start);r&&qie(e,t.file,r,n.preferences)})}})}});function Gie(e,t,r){var n=BD(QX(t,r.start),gR);n&&(r=n.getText(t)+"n",e.replaceNode(t,n,uR.createBigIntLiteral(r)))}var Xie,Qie,Yie=e({"src/services/codefixes/useBigintLiteral.ts":function(){fpe(),Hoe(),Wie="useBigintLiteral",N7({errorCodes:Hie=[mA.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers.code],getCodeActions:function(t){var e=ode.ChangeTracker.with(t,function(e){return Gie(e,t.sourceFile,t.span)});if(0<e.length)return[S7(Wie,e,mA.Convert_to_a_bigint_numeric_literal,Wie,mA.Convert_all_to_bigint_numeric_literals)]},fixIds:[Wie],getAllCodeActions:function(e){return I7(e,Hie,function(e,t){return Gie(e,t.file,t)})}})}});function Zie(e,t){t=QX(e,t);return rA.assert(102===t.kind,"This token should be an ImportKeyword"),rA.assert(205===t.parent.kind,"Token parent should be an ImportType"),t.parent}function $ie(e,t,r){var n=uR.updateImportTypeNode(r,r.argument,r.assertions,r.qualifier,r.typeArguments,!0);e.replaceNode(t,r,n)}var eoe,toe,roe=e({"src/services/codefixes/fixAddModuleReferTypeMissingTypeof.ts":function(){fpe(),Hoe(),Xie="fixAddModuleReferTypeMissingTypeof",N7({errorCodes:Qie=[mA.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){var t=e.sourceFile,r=e.span,n=Zie(t,r.start),e=ode.ChangeTracker.with(e,function(e){return $ie(e,t,n)});return[S7(Xie,e,mA.Add_missing_typeof,Xie,mA.Add_missing_typeof)]},fixIds:[Xie],getAllCodeActions:function(r){return I7(r,Qie,function(e,t){return $ie(e,r.sourceFile,Zie(t.file,t.start))})}})}});function noe(e,t){t=QX(e,t).parent.parent;if((mj(t)||mj(t=t.parent))&&EF(t.operatorToken))return t}function aoe(e,t,r){var n=function(e){var t=[],r=e;for(;;){if(!mj(r)||!EF(r.operatorToken)||28!==r.operatorToken.kind)return;if(t.push(r.left),Nc(r.right))return t.push(r.right),t;if(!mj(r.right))return;r=r.right}}(r);n&&e.replaceNode(t,r,uR.createJsxFragment(uR.createJsxOpeningFragment(),n,uR.createJsxJsxClosingFragment()))}var ioe,ooe,soe=e({"src/services/codefixes/wrapJsxInFragment.ts":function(){fpe(),Hoe(),eoe="wrapJsxInFragment",N7({errorCodes:toe=[mA.JSX_expressions_must_have_one_parent_element.code],getCodeActions:function(e){var t=e.sourceFile,r=e.span,n=noe(t,r.start);if(n){e=ode.ChangeTracker.with(e,function(e){return aoe(e,t,n)});return[S7(eoe,e,mA.Wrap_in_JSX_fragment,eoe,mA.Wrap_all_unparented_JSX_in_JSX_fragment)]}},fixIds:[eoe],getAllCodeActions:function(r){return I7(r,toe,function(e,t){t=noe(r.sourceFile,t.start);t&&aoe(e,r.sourceFile,t)})}})}});function coe(e,t){e=BD(QX(e,t).parent.parent,gg);if(e){t=Ij(e.parent)?e.parent:BD(e.parent.parent,Oj);if(t)return{indexSignature:e,container:t}}}function uoe(e,t,r){var n=r.indexSignature,a=r.container,i=(Ij(a)?a:a.type).members.filter(function(e){return!gg(e)}),r=SD(n.parameters),r=uR.createTypeParameterDeclaration(void 0,JD(r.name,xR),r.type),n=uR.createMappedTypeNode(vL(n)?uR.createModifier(148):void 0,r,void 0,n.questionToken,n.type,void 0),i=uR.createIntersectionTypeNode(__spreadArray(__spreadArray(__spreadArray([],__read(Bl(a)),!1),[n],!1),__read(i.length?[uR.createTypeLiteralNode(i)]:WN),!1));e.replaceNode(t,a,(a=a,i=i,uR.createTypeAliasDeclaration(a.modifiers,a.name,a.typeParameters,i)))}var _oe,loe,doe,foe=e({"src/services/codefixes/convertToMappedObjectType.ts":function(){fpe(),Hoe(),ioe="fixConvertToMappedObjectType",N7({errorCodes:ooe=[mA.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead.code],getCodeActions:function(e){var t=e.sourceFile,r=e.span,n=coe(t,r.start);if(n){r=ode.ChangeTracker.with(e,function(e){return uoe(e,t,n)}),e=LA(n.container.name);return[S7(ioe,r,[mA.Convert_0_to_mapped_object_type,e],ioe,[mA.Convert_0_to_mapped_object_type,e])]}},fixIds:[ioe],getAllCodeActions:function(e){return I7(e,ooe,function(e,t){var r=coe(t.file,t.start);r&&uoe(e,t.file,r)})}})}}),poe=e({"src/services/codefixes/removeAccidentalCallParentheses.ts":function(){fpe(),Hoe(),_oe="removeAccidentalCallParentheses",N7({errorCodes:[mA.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without.code],getCodeActions:function(t){var r=FA(QX(t.sourceFile,t.span.start),oj);if(r){var e=ode.ChangeTracker.with(t,function(e){e.deleteRange(t.sourceFile,{pos:r.expression.end,end:r.end})});return[T7(_oe,e,mA.Remove_parentheses)]}},fixIds:[_oe]})}});function moe(e,t,r){var n=BD(QX(t,r.start),function(e){return 135===e.kind}),a=n&&BD(n.parent,fj);a&&(uj((r=a).parent)&&(!xR(ap(a.expression,!1))||(n=tQ(a.parent.pos,t))&&105!==n.kind&&(r=a.parent)),e.replaceNode(t,r,a.expression))}var yoe,voe,goe=e({"src/services/codefixes/removeUnnecessaryAwait.ts":function(){fpe(),Hoe(),loe="removeUnnecessaryAwait",N7({errorCodes:doe=[mA.await_has_no_effect_on_the_type_of_this_expression.code],getCodeActions:function(t){var e=ode.ChangeTracker.with(t,function(e){return moe(e,t.sourceFile,t.span)});if(0<e.length)return[S7(loe,e,mA.Remove_unnecessary_await,loe,mA.Remove_all_unnecessary_uses_of_await)]},fixIds:[loe],getAllCodeActions:function(e){return I7(e,doe,function(e,t){return moe(e,t.file,t)})}})}});function hoe(e,t){return FA(QX(e,t.start),Jj)}function xoe(e,t,r){var n;t&&(n=rA.checkDefined(t.importClause),e.replaceNode(r.sourceFile,t,uR.updateImportDeclaration(t,t.modifiers,uR.updateImportClause(n,n.isTypeOnly,n.name,void 0),t.moduleSpecifier,t.assertClause)),e.insertNodeAfter(r.sourceFile,t,uR.createImportDeclaration(void 0,uR.updateImportClause(n,n.isTypeOnly,void 0,n.namedBindings),t.moduleSpecifier,t.assertClause)))}var boe,koe,Toe=e({"src/services/codefixes/splitTypeOnlyImport.ts":function(){fpe(),Hoe(),N7({errorCodes:yoe=[mA.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both.code],fixIds:[voe="splitTypeOnlyImport"],getCodeActions:function(t){var e=ode.ChangeTracker.with(t,function(e){return xoe(e,hoe(t.sourceFile,t.span),t)});if(e.length)return[S7(voe,e,mA.Split_into_two_separate_import_declarations,voe,mA.Split_all_invalid_type_only_imports)]},getAllCodeActions:function(r){return I7(r,yoe,function(e,t){xoe(e,hoe(r.sourceFile,t),r)})}})}});function Soe(e,t,r){r=r.getTypeChecker().getSymbolAtLocation(QX(e,t));if(void 0!==r){t=BD(null==(t=null==r?void 0:r.valueDeclaration)?void 0:t.parent,Ej);if(void 0!==t){e=MX(t,87,e);if(void 0!==e)return{symbol:r,token:e}}}}function woe(e,t,r){e.replaceNode(t,r,uR.createToken(121))}var Coe,Noe,Doe,Aoe=e({"src/services/codefixes/convertConstToLet.ts":function(){fpe(),Hoe(),boe="fixConvertConstToLet",N7({errorCodes:koe=[mA.Cannot_assign_to_0_because_it_is_a_constant.code],getCodeActions:function(e){var t=e.sourceFile,r=e.span,n=e.program,a=Soe(t,r.start,n);if(void 0!==a){e=ode.ChangeTracker.with(e,function(e){return woe(e,t,a.token)});return[w7(boe,e,mA.Convert_const_to_let,boe,mA.Convert_all_const_to_let)]}},getAllCodeActions:function(e){var n=e.program,a=new Map;return F7(ode.ChangeTracker.with(e,function(r){O7(e,koe,function(e){var t=Soe(e.file,e.start,n);return t&&Zf(a,yJ(t.symbol))&&(woe(r,e.file,t.token),0)})}))},fixIds:[boe]})}});function Eoe(e,t){t=QX(e,t);return 27===t.kind&&t.parent&&(nj(t.parent)||rj(t.parent))?{node:t}:void 0}function Foe(e,t,r){var n=r.node,r=uR.createToken(28);e.replaceNode(t,n,r)}var Poe,Ioe,Ooe=e({"src/services/codefixes/fixExpectedComma.ts":function(){fpe(),Hoe(),Coe="fixExpectedComma",Noe=mA._0_expected.code,N7({errorCodes:Doe=[Noe],getCodeActions:function(e){var t=e.sourceFile,r=Eoe(t,e.span.start,e.errorCode);if(r){e=ode.ChangeTracker.with(e,function(e){return Foe(e,t,r)});return[S7(Coe,e,[mA.Change_0_to_1,";",","],Coe,[mA.Change_0_to_1,";",","])]}},fixIds:[Coe],getAllCodeActions:function(r){return I7(r,Doe,function(e,t){t=Eoe(t.file,t.start,t.code);t&&Foe(e,r.sourceFile,t)})}})}});function Loe(e,t,r,n,a){var i,o=QX(t,r.start);xR(o)&&oj(o.parent)&&o.parent.expression===o&&0===o.parent.arguments.length&&((n=null==(r=(i=n.getTypeChecker()).getSymbolAtLocation(o))?void 0:r.valueDeclaration)&&CR(n)&&sj(n.parent.parent)&&(null!=a&&a.has(n)||(null!=a&&a.add(n),dD(r=function(e){{if(!cI(e))return e.typeArguments;if(uj(e.parent)){e=null==(e=XA(e.parent))?void 0:e.typeExpression.type;if(e&&BR(e)&&xR(e.typeName)&&"Promise"===LA(e.typeName))return e.typeArguments}}}(n.parent.parent))?((r=!xg(a=r[0])&&!GR(a)&&GR(uR.createUnionTypeNode([a,uR.createKeywordTypeNode(116)]).types[0]))&&e.insertText(t,a.pos,"("),e.insertText(t,a.end,r?") | void":" | void")):(o=(o=null==(o=i.getResolvedSignature(o.parent))?void 0:o.parameters[0])&&i.getTypeOfSymbolAtLocation(o,n.parent.parent),cI(n)?(!o||3&o.flags)&&(e.insertText(t,n.parent.parent.end,")"),e.insertText(t,xA(t.text,n.parent.parent.pos),"/** @type {Promise<void>} */(")):(!o||2&o.flags)&&e.insertText(t,n.parent.parent.expression.end,"<void>")))))}var Moe=e({"src/services/codefixes/fixAddVoidToPromise.ts":function(){fpe(),Hoe(),Poe="addVoidToPromise",N7({errorCodes:Ioe=[mA.Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments.code,mA.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise.code],fixIds:[Poe],getCodeActions:function(t){var e=ode.ChangeTracker.with(t,function(e){return Loe(e,t.sourceFile,t.span,t.program)});if(0<e.length)return[S7("addVoidToPromise",e,mA.Add_void_to_Promise_resolved_without_a_value,Poe,mA.Add_void_to_all_Promises_resolved_without_a_value)]},getAllCodeActions:function(r){return I7(r,Ioe,function(e,t){return Loe(e,t.file,t,r.program,new Set)})}})}}),Roe={};t(Roe,{PreserveOptionalFlags:function(){return Uae},addNewNodeForMemberSymbol:function(){return Hae},codeFixAll:function(){return I7},createCodeFixAction:function(){return S7},createCodeFixActionMaybeFixAll:function(){return w7},createCodeFixActionWithoutFixAll:function(){return T7},createCombinedCodeActions:function(){return F7},createFileTextChanges:function(){return P7},createImportAdder:function(){return yee},createImportSpecifierResolver:function(){return gee},createJsonPropertyAssignment:function(){return aie},createMissingMemberNodes:function(){return qae},createSignatureDeclarationFromCallExpression:function(){return Gae},createSignatureDeclarationFromSignature:function(){return Kae},createStubbedBody:function(){return tie},eachDiagnostic:function(){return O7},findAncestorMatchingSpan:function(){return uie},findJsonProperty:function(){return iie},generateAccessorFromProperty:function(){return lie},getAccessorConvertiblePropertyAtPosition:function(){return mie},getAllFixes:function(){return E7},getAllSupers:function(){return vie},getArgumentTypesAndTypeParameters:function(){return Zae},getFixes:function(){return A7},getImportCompletionAction:function(){return hee},getImportKind:function(){return Iee},getJSDocTypedefNodes:function(){return eee},getNoopSymbolTrackerWithResolver:function(){return Wae},getPromoteTypeOnlyCompletionAction:function(){return xee},getSupportedErrorCodes:function(){return D7},importFixName:function(){return dee},importSymbols:function(){return cie},moduleSpecifierToValidIdentifier:function(){return Gee},moduleSymbolToValidIdentifier:function(){return Kee},parameterShouldGetTypeFromJSDoc:function(){return D5},registerCodeFix:function(){return N7},setJsonCompilerOptionValue:function(){return nie},setJsonCompilerOptionValues:function(){return rie},tryGetAutoImportableReferenceFromTypeNode:function(){return oie},typeToAutoImportableTypeNode:function(){return Qae}});var joe,Boe,Joe,zoe,Uoe,Voe,qoe,Woe,Hoe=e({"src/services/_namespaces/ts.codefix.ts":function(){j7(),V7(),q7(),Y7(),o5(),l5(),m5(),h5(),k5(),C5(),L5(),U5(),v9(),O9(),B9(),q9(),Q9(),nee(),cee(),mee(),Yee(),ite(),lte(),yte(),xte(),Dte(),Fte(),Bte(),Zte(),yre(),bre(),Nre(),Ire(),Bre(),qre(),Gre(),$re(),ene(),ine(),lne(),gne(),Tne(),Cne(),Ine(),Kne(),Yne(),rae(),cae(),fae(),gae(),kae(),Oae(),Jae(),Vae(),_ie(),hie(),Aie(),Rie(),Uie(),Kie(),Yie(),roe(),soe(),foe(),poe(),goe(),Toe(),Aoe(),Ooe(),Moe()}});function Koe(e){return!!(e&&4&e.kind)}function Goe(e){return!(!e||32!==e.kind)}function Xoe(e){return!!(e&&64&e.kind)}function Qoe(e){return e&&128&e.kind}function Yoe(e){return!!(e&&512&e.kind)}function Zoe(e,t,a,r,i,o,n,s,c){var u=ht(),_=n||Ip(iM(r.getCompilerOptions())),l=!1,d=0,f=0,p=0,m=0,n=c({tryResolve:function(e,t){if(t){var r=a.getModuleSpecifierForBestExportInfo(e,i,s);return r&&d++,r||"failed"}var n=_||o.allowIncompleteCompletions&&f<joe,t=!n&&o.allowIncompleteCompletions&&m<Boe,r=n||t?a.getModuleSpecifierForBestExportInfo(e,i,s,t):void 0;(!n&&!t||t&&!r)&&(l=!0);f+=(null==r?void 0:r.computedWithoutCacheCount)||0,p+=e.length-((null==r?void 0:r.computedWithoutCacheCount)||0),t&&m++;return r||(_?"failed":"skipped")},skippedAny:function(){return l},resolvedAny:function(){return 0<f},resolvedBeyondLimit:function(){return joe<f}}),r=m?" (".concat((p/m*100).toFixed(1),"% hit rate)"):"";return null!=(c=t.log)&&c.call(t,"".concat(e,": resolved ").concat(f," module specifiers, plus ").concat(d," ambient and ").concat(p," from cache").concat(r)),null!=(r=t.log)&&r.call(t,"".concat(e,": response is ").concat(l?"incomplete":"complete")),null!=(r=t.log)&&r.call(t,"".concat(e,": ").concat(ht()-u)),n}function $oe(e,t,r,n,a,i,o,s,c,u,_){var l;void 0===_&&(_=!1);var d=Dse(a,n).previousToken;if(!o||iQ(n,a,d)||function(e,t,r,n){switch(t){case".":case"@":return!0;case'"':case"'":case"`":return!!r&&bZ(r)&&n===r.getStart(e)+1;case"#":return!!r&&bR(r)&&!!IP(r);case"<":return!!r&&30===r.kind&&(!mj(r.parent)||zse(r.parent));case"/":return!!r&&(oF(r)?!!Tl(r):44===r.kind&&uh(r.parent));case" ":return!!r&&kR(r)&&312===r.parent.kind;default:return rA.assertNever(t)}}(n,o,d,a)){if(" "===o)return i.includeCompletionsForImportStatements&&i.includeCompletionsWithInsertText?{isGlobalCompletion:!0,isMemberCompletion:!1,isNewIdentifierLocation:!0,isIncomplete:!0,entries:[]}:void 0;var f=t.getCompilerOptions(),p=t.getTypeChecker(),m=!i.allowIncompleteCompletions||null==(l=e.getIncompleteCompletionsCache)?void 0:l.call(e);if(m&&3===s&&d&&xR(d)){var y=function(e,i,t,o,s,r,n,a){var c=e.get();if(!c)return;var a=GX(i,a),u=t.text.toLowerCase(),_=k$(i,s,o,r,n),t=Zoe("continuePreviousIncompleteResponse",s,Roe.createImportSpecifierResolver(i,o,s,r),o,t.getStart(),r,!1,IM(t),function(a){var e=uD(c.entries,function(e){if(!e.hasAction||!e.source||!e.data||tse(e.data))return e;if(Xse(e.name,u)){var t=rA.checkDefined(Ase(e.name,e.data,o,s)).origin,r=_.get(i.path,e.data.exportMapKey),r=r&&a.tryResolve(r,!kA(UO(t.moduleSymbol.name)));if("skipped"===r)return e;if(r&&"failed"!==r){var n=__assign(__assign({},t),{kind:32,moduleSpecifier:r.moduleSpecifier});return e.data=yse(n),e.source=gse(n),e.sourceDisplay=[OY(n.moduleSpecifier)],e}null!=(n=s.log)&&n.call(s,"Unexpected failure resolving auto import for '".concat(e.name,"' from '").concat(e.source,"'"))}});return a.skippedAny()||(c.isIncomplete=void 0),e});return c.entries=t,c.flags=4|(c.flags||0),c.optionalReplacementSpan=sse(a),c}(m,n,d,t,e,i,c,a);if(y)return y}else null!=m&&m.clear();y=Cce.getStringLiteralCompletions(n,a,d,f,e,t,r,i,_);if(y)return y;if(d&&hs(d.parent)&&(83===d.kind||88===d.kind||80===d.kind))return function(e){e=function(e){var t=[],r=new Map,n=e;for(;n&&!bE(n);){var a;Qg(n)&&(a=n.label.text,r.has(a)||(r.set(a,!0),t.push({name:a,kindModifiers:"",kind:"label",sortText:Joe.LocationPriority}))),n=n.parent}return t}(e);if(e.length)return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:e}}(d.parent);var v=Nse(t,r,n,f,a,i,void 0,e,u,c);if(v)switch(v.kind){case 0:var g=function(e,t,r,n,a,i,o,s,c,u){var _,l,d,f,p,m,y=i.symbols,v=i.contextToken,g=i.completionKind,h=i.isInSnippetScope,x=i.isNewIdentifierLocation,b=i.location,k=i.propertyAccessToConvert,T=i.keywordFilters,S=i.symbolToOriginInfoMap,w=i.recommendedCompletion,C=i.isJsxInitializer,N=i.isTypeOnlyLocation,D=i.isJsxIdentifierExpected,A=i.isRightOfOpenTag,E=i.isRightOfDotOrQuestionDot,F=i.importStatementCompletion,P=i.insideJsDocTagTypeExpression,I=i.symbolToSortTextMap,O=i.hasUnresolvedAutoImports,L=i.literals,M=r.getTypeChecker();if(1===Tp(e.scriptKind)){var R=function(e,t){var r=FA(e,function(e){switch(e.kind){case 287:return!0;case 44:case 32:case 80:case 211:return!1;default:return"quit"}});if(r){e=!!MX(r,32,t),e=r.parent.openingElement.tagName.getText(t)+(e?"":">"),r=IQ(r.tagName),e={name:e,kind:"class",kindModifiers:void 0,sortText:Joe.LocationPriority};return{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:!1,optionalReplacementSpan:r,entries:[e]}}return}(b,e);if(R)return R}R=FA(v,fh);{var j;R&&(vg(v)||cO(v,R.expression))&&(j=f$(M,R.parent.clauses),L=L.filter(function(e){return!j.hasValue(e)}),y.forEach(function(e,t){e.valueDeclaration&&cB(e.valueDeclaration)&&(void 0!==(e=M.getConstantValue(e.valueDeclaration))&&j.hasValue(e)&&(S[t]={kind:256}))}))}var B=[],R=cse(e,n);if(R&&!x&&(!y||0===y.length)&&0===T)return;var J,z=hse(y,B,void 0,v,b,c,e,t,r,rM(n),a,g,o,n,s,N,k,D,C,F,w,S,I,D,A,u);if(0!==T)try{for(var U=__values(Fse(T,!P&&sI(e))),V=U.next();!V.done;V=U.next()){var q=V.value;(N&&JQ(Ai(q.name))||!z.has(q.name))&&(z.add(q.name),Q(B,q,ese,!0))}}catch(e){_={error:e}}finally{try{V&&!V.done&&(l=U.return)&&l.call(U)}finally{if(_)throw _.error}}try{for(var W=__values(function(e,t){var r=[];{var n,a,i;e&&(n=e.getSourceFile(),a=e.parent,i=n.getLineAndCharacterOfPosition(e.end).line,t=n.getLineAndCharacterOfPosition(t).line,(Jj(a)||Wj(a)&&a.moduleSpecifier)&&e===a.moduleSpecifier&&i===t&&r.push({name:yA[132],kind:"keyword",kindModifiers:"",sortText:Joe.GlobalsOrKeywords}))}return r}(v,c)),H=W.next();!H.done;H=W.next()){q=H.value;z.has(q.name)||(z.add(q.name),Q(B,q,ese,!0))}}catch(e){d={error:e}}finally{try{H&&!H.done&&(f=W.return)&&f.call(W)}finally{if(d)throw d.error}}try{for(var K=__values(L),G=K.next();!G.done;G=K.next()){var X=G.value,X=function(e,t,r){return{name:lse(e,t,r),kind:"string",kindModifiers:"",sortText:Joe.LocationPriority}}(e,o,X);z.add(X.name),Q(B,X,ese,!0)}}catch(e){p={error:e}}finally{try{G&&!G.done&&(m=K.return)&&m.call(K)}finally{if(p)throw p.error}}R||function(r,n,a,i){T8(e).forEach(function(e,t){e!==r&&(t=OA(t),!n.has(t)&&bA(t,a)&&(n.add(t),Q(i,{name:t,kind:"warning",kindModifiers:"",sortText:Joe.JavascriptIdentifiers,isFromUncheckedFile:!0},ese)))})}(b.pos,z,rM(n),B);!o.includeCompletionsWithInsertText||!v||A||E||!(J=FA(v,eh))||(s=use(J,e,o,n,t,r,s))&&B.push(s.entry);return{flags:i.flags,isGlobalCompletion:h,isIncomplete:!(!o.allowIncompleteCompletions||!O)||void 0,isMemberCompletion:function(e){switch(e){case 0:case 3:case 2:return!0;default:return!1}}(g),isNewIdentifierLocation:x,optionalReplacementSpan:sse(b),entries:B}}(n,e,t,f,r,v,i,u,a,_);return null!=g&&g.isIncomplete&&null!=m&&m.set(g),g;case 1:return rse(__spreadArray(__spreadArray([],__read(a_e.getJSDocTagNameCompletions()),!1),__read(nse(n,a,p,f,i,!0)),!1));case 2:return rse(__spreadArray(__spreadArray([],__read(a_e.getJSDocTagCompletions()),!1),__read(nse(n,a,p,f,i,!1)),!1));case 3:return rse(a_e.getJSDocParameterNameCompletions(v.tag));case 4:return g=v.keywordCompletions,{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:v.isNewIdentifierLocation,entries:g.slice()};default:return rA.assertNever(v)}}}function ese(e,t){var r,n,a=ke(e.sortText,t.sortText);return 0===a&&(a=ke(e.name,t.name)),0===a&&null!=(r=e.data)&&r.moduleSpecifier&&null!=(n=t.data)&&n.moduleSpecifier&&(a=fm(e.data.moduleSpecifier,t.data.moduleSpecifier)),0===a?-1:a}function tse(e){return null!=e&&e.moduleSpecifier}function rse(e){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:e}}function nse(e,t,i,o,s,c){var r=QX(e,t);if(!Fc(r)&&!kh(r))return[];var n=kh(r)?r:r.parent;if(!kh(n))return[];r=n.parent;if(!bE(r))return[];var u=sI(e),_=s.includeCompletionsWithSnippetText||void 0,l=rD(n.tags,function(e){return wB(e)&&e.getEnd()<=t});return uD(r.parameters,function(e){if(!VA(e).length){if(xR(e.name)){var t=e.name.text,r=ise(t,e.initializer,e.dotDotDotToken,u,!1,!1,i,o,s),n=_?ise(t,e.initializer,e.dotDotDotToken,u,!1,!0,i,o,s,{tabstop:1}):void 0;return c&&(r=r.slice(1),n=n&&n.slice(1)),{name:r,kind:"parameter",sortText:Joe.LocationPriority,insertText:_?n:void 0,isSnippet:_}}if(e.parent.parameters.indexOf(e)===l){var a="param".concat(l),t=ase(a,e.name,e.initializer,e.dotDotDotToken,u,!1,i,o,s),e=_?ase(a,e.name,e.initializer,e.dotDotDotToken,u,!0,i,o,s):void 0,r=t.join(vf(o)+"* "),n=null==e?void 0:e.join(vf(o)+"* ");return c&&(r=r.slice(1),n=n&&n.slice(1)),{name:r,kind:"parameter",sortText:Joe.LocationPriority,insertText:_?n:void 0,isSnippet:_}}}})}function ase(e,t,r,n,f,p,m,y,v){return f?g(e,t,r,n,{tabstop:1}):[ise(e,r,n,f,!1,p,m,y,v,{tabstop:1})];function g(e,t,r,n,a){var i,o;if($R(t)&&!n){var s={tabstop:a.tabstop},c=ise(e,r,n,f,!0,p,m,y,v,s),u=[];try{for(var _=__values(t.elements),l=_.next();!l.done;l=_.next()){var d=function(e,t,r){{var n;if(!t.propertyName&&xR(t.name)||xR(t.name))return(n=t.propertyName?E_(t.propertyName):t.name.text)?[ise("".concat(e,".").concat(n),t.initializer,t.dotDotDotToken,f,!1,p,m,y,v,r)]:void 0;if(t.propertyName)return(n=E_(t.propertyName))&&g("".concat(e,".").concat(n),t.name,t.initializer,t.dotDotDotToken,r)}return}(e,l.value,s);if(!d){u=void 0;break}u.push.apply(u,__spreadArray([],__read(d),!1))}}catch(e){i={error:e}}finally{try{l&&!l.done&&(o=_.return)&&o.call(_)}finally{if(i)throw i.error}}if(u)return a.tabstop=s.tabstop,__spreadArray([c],__read(u),!1)}return[ise(e,r,n,f,!1,p,m,y,v,a)]}}function ise(e,t,r,n,a,i,o,s,c,u){if(i&&rA.assertIsDefined(u),t&&(e=function(e,t){t=t.getText().trim();if(t.includes("\n")||80<t.length)return"[".concat(e,"]");return"[".concat(e,"=").concat(t,"]")}(e,t)),i&&(e=Rm(e)),n){var _="*";a?(rA.assert(!r,"Cannot annotate a rest parameter with type 'Object'."),_="Object"):(t&&(16385&(n=o.getTypeAtLocation(t.parent)).flags||(c=0===iY(l=t.getSourceFile(),c)?268435456:0,(c=o.typeToTypeNode(n,FA(t,bE),c))&&(s=(i?mse:qU)({removeComments:!0,module:s.module,target:s.target}),lR(c,1),_=s.printNode(4,c,l)))),i&&"*"===_&&(_="${".concat(u.tabstop++,":").concat(_,"}")));var r=!a&&r?"...":"",l=i?"${".concat(u.tabstop++,"}"):"";return"@param {".concat(r).concat(_,"} ").concat(e," ").concat(l)}l=i?"${".concat(u.tabstop++,"}"):"";return"@param ".concat(e," ").concat(l)}function ose(e,t,r){return{kind:4,keywordCompletions:Fse(e,t),isNewIdentifierLocation:r}}function sse(e){return 80===(null==e?void 0:e.kind)?IQ(e):void 0}function cse(e,t){return!sI(e)||!!TM(e,t)}function use(e,t,r,n,a,i,o){var s,c,u=e.clauses,_=i.getTypeChecker(),l=_.getTypeAtLocation(e.parent.expression);if(l&&l.isUnion()&&XN(l.types,function(e){return e.isLiteral()})){var d=f$(_,u),f=rM(n),p=iY(t,r),m=Roe.createImportAdder(t,i,r,a),y=[];try{for(var v=__values(l.types),g=v.next();!g.done;g=v.next()){var h=g.value;if(1024&h.flags){rA.assert(h.symbol,"An enum member type should have a symbol"),rA.assert(h.symbol.parent,"An enum member type should have a parent symbol (the enum symbol)");var x=h.symbol.valueDeclaration&&_.getConstantValue(h.symbol.valueDeclaration);if(void 0!==x){if(d.hasValue(x))continue;d.addValue(x)}x=Roe.typeToAutoImportableTypeNode(_,m,h,e,f);if(!x)return;x=function e(t,r,n){switch(t.kind){case 183:var a=t.typeName;return _se(a,r,n);case 199:var a=e(t.objectType,r,n),i=e(t.indexType,r,n);return a&&i&&uR.createElementAccessExpression(a,i);case 201:var o=t.literal;switch(o.kind){case 11:return uR.createStringLiteral(o.text,0===n);case 9:return uR.createNumericLiteral(o.text,o.numericLiteralFlags)}return;case 196:var i=e(t.type,r,n);return i&&(xR(i)?i:uR.createParenthesizedExpression(i));case 186:return _se(t.exprName,r,n);case 205:rA.fail("We should not get an import type after calling 'codefix.typeToAutoImportableTypeNode'.")}return}(x,f,p);if(!x)return;y.push(x)}else if(!d.hasValue(h.value))switch(typeof h.value){case"object":y.push(h.value.negative?uR.createPrefixUnaryExpression(41,uR.createBigIntLiteral({negative:!1,base10Value:h.value.base10Value})):uR.createBigIntLiteral(h.value));break;case"number":y.push(h.value<0?uR.createPrefixUnaryExpression(41,uR.createNumericLiteral(-h.value)):uR.createNumericLiteral(h.value));break;case"string":y.push(uR.createStringLiteral(h.value,0===p))}}}catch(e){s={error:e}}finally{try{g&&!g.done&&(c=v.return)&&c.call(v)}finally{if(s)throw s.error}}if(0===y.length)return;var i=iD(y,function(e){return uR.createCaseClause(e,[])}),a=zY(a,null==o?void 0:o.options),b=mse({removeComments:!0,module:n.module,target:n.target,newLine:c$(a)}),k=o?function(e){return b.printAndFormatNode(4,e,t,o)}:function(e){return b.printNode(4,e,t)},a=iD(i,function(e,t){return r.includeCompletionsWithSnippetText?"".concat(k(e),"$").concat(t+1):"".concat(k(e))}).join(a),i=b.printNode(4,i[0],t);return{entry:{name:"".concat(i," ..."),kind:"",sortText:Joe.GlobalsOrKeywords,insertText:a,hasAction:m.hasFixes()||void 0,source:"SwitchCases/",isSnippet:!!r.includeCompletionsWithSnippetText||void 0},importAdder:m}}}function _se(e,t,r){if(xR(e))return e;var n=OA(e.right.escapedText);return QM(n,t)?uR.createPropertyAccessExpression(_se(e.left,t,r),n):uR.createElementAccessExpression(_se(e.left,t,r),uR.createStringLiteral(n,0===r))}function lse(e,t,r){return"object"==typeof r?EM(r)+"n":jD(r)?hZ(e,t,r):JSON.stringify(r)}function dse(e,t,r,n,a,i,o,s,c,u,_,l,d,f,p,m,y,v,g,h,x,b,k,T){var S,w,C,N,D,A,E,F=PQ(r),P=gse(l),I=c.getTypeChecker(),O=l&&!!(16&l.kind),r=l&&!!(2&l.kind)||_;if(l&&1&l.kind)w=_?"this".concat(O?"?.":"","[").concat(vse(o,g,u),"]"):"this".concat(O?"?.":".").concat(u);else if((r||O)&&f){w=r?"[".concat(_?vse(o,g,u):u,"]"):u,(O||f.questionDotToken)&&(w="?.".concat(w));r=MX(f,25,o)||MX(f,29,o);if(!r)return;var L=(XD(u,f.name.text)?f.name:r).end,F=wo(r.getStart(o),L)}if(p&&(void 0===w&&(w=u),w="{".concat(w,"}"),"boolean"!=typeof p&&(F=IQ(p,o))),l&&8&l.kind&&f&&(void 0===w&&(w=u),L="",(p=tQ(f.pos,o))&&AZ(p.end,p.parent,o)&&(L=";"),L+="(await ".concat(f.expression.getText(),")"),w=(_?"".concat(L):"".concat(L).concat(O?"?.":".")).concat(w),F=wo((BD(f.parent,fj)?f.parent:f.expression).getStart(o),f.end)),Goe(l)&&(A=[OY(l.moduleSpecifier)],m&&(w=(D=function(e,t,r,n,a,i,o){var s=t.replacementSpan,c=Rm(hZ(a,o,r.moduleSpecifier)),r=r.isDefaultExport?1:"export="===r.exportName?2:0,u=o.includeCompletionsWithSnippetText?"$1":"",r=Roe.getImportKind(a,r,i,!0),i=t.couldBeTypeOnlyImportSpecifier,_=t.isTopLevelTypeOnly?" ".concat(yA[156]," "):" ",l=i?"".concat(yA[156]," "):"",d=n?";":"";switch(r){case 3:return{replacementSpan:s,insertText:"import".concat(_).concat(Rm(e)).concat(u," = require(").concat(c,")").concat(d)};case 1:return{replacementSpan:s,insertText:"import".concat(_).concat(Rm(e)).concat(u," from ").concat(c).concat(d)};case 2:return{replacementSpan:s,insertText:"import".concat(_,"* as ").concat(Rm(e)," from ").concat(c).concat(d)};case 0:return{replacementSpan:s,insertText:"import".concat(_,"{ ").concat(l).concat(Rm(e)).concat(u," } from ").concat(c).concat(d)}}}(u,m,l,y,o,v,g)).insertText,F=D.replacementSpan,D=!!g.includeCompletionsWithSnippetText||void 0)),64===(null==l?void 0:l.kind)&&(M=!0),0===h&&n&&28!==(null==(S=tQ(n.pos,o,n))?void 0:S.kind)&&(FR(n.parent.parent)||OR(n.parent.parent)||LR(n.parent.parent)||sB(n.parent)||(null==(S=FA(n.parent,iB))?void 0:S.getLastToken(o))===n||oB(n.parent)&&gA(o,n.getEnd()).line!==gA(o,i).line)&&(P="ObjectLiteralMemberWithComma/",M=!0),g.includeCompletionsWithClassMemberSnippets&&g.includeCompletionsWithInsertText&&3===h&&function(e,t,r){if(cI(t))return!1;return!!(106500&e.flags)&&(NE(t)||t.parent&&t.parent.parent&&CE(t.parent)&&t===t.parent.name&&t.parent.getLastToken(r)===t.parent.name&&NE(t.parent.parent)||t.parent&&Rh(t)&&NE(t.parent))}(e,a,o)){h=void 0,x=fse(s,c,v,g,u,e,a,i,n,x);if(!x)return;w=x.insertText,C=x.filterText,D=x.isSnippet,null!=(h=x.importAdder)&&h.hasFixes()&&(M=!0,P="ClassMemberSnippet/")}if(l&&Qoe(l)&&(w=l.insertText,D=l.isSnippet,E=l.labelDetails,g.useLabelDetailsInCompletionEntries||(u+=E.detail,E=void 0),P="ObjectLiteralMethodSnippet/",t=Joe.SortBelow(t)),!b||k||!g.includeCompletionsWithSnippetText||!g.jsxAttributeCompletionStyle||"none"===g.jsxAttributeCompletionStyle||$j(a.parent)&&a.parent.initializer||(R="braces"===g.jsxAttributeCompletionStyle,k=I.getTypeOfSymbolAtLocation(e,a),"auto"!==g.jsxAttributeCompletionStyle||528&k.flags||1048576&k.flags&&QN(k.types,function(e){return 528&e.flags})||(402653316&k.flags||1048576&k.flags&&XN(k.types,function(e){return 402686084&e.flags||SQ(e)})?(w="".concat(Rm(u),"=").concat(hZ(o,g,"$1")),D=!0):R=!0),R&&(w="".concat(Rm(u),"={$1}"),D=!0)),void 0===w||g.includeCompletionsWithInsertText){(Koe(l)||Goe(l))&&(N=yse(l),M=!m);var M,R=FA(a,rp);return 275===(null==R?void 0:R.kind)&&(g=Ai(u),R&&g&&(135===g||Wl(g))&&(w="".concat(u," as ").concat(u,"_"))),__assign({name:u,kind:Ele.getSymbolKind(I,e,a),kindModifiers:Ele.getSymbolModifiers(I,e),sortText:t,source:P,hasAction:!!M||void 0,isRecommended:(M=I,(I=e)===(d=d)||!!(1048576&I.flags)&&M.getExportSymbolOfSymbol(I)===d||void 0),insertText:w,filterText:C,replacementSpan:F,sourceDisplay:A,labelDetails:E,isSnippet:D,isPackageJsonImport:(Koe(l=l)||Goe(l))&&!!l.isFromPackageJson||void 0,isImportStatementCompletion:!!m||void 0,data:N},T?{symbol:e}:void 0)}}function fse(e,t,r,n,a,i,o,s,c,u){var _=FA(o,NE);if(_){var l,d=a,f=a,p=t.getTypeChecker(),a=o.getSourceFile(),o=mse({removeComments:!0,module:r.module,target:r.target,omitTrailingSemicolon:!1,newLine:c$(zY(e,null==u?void 0:u.options))}),r=Roe.createImportAdder(a,t,n,e);n.includeCompletionsWithSnippetText?(l=!0,y=uR.createEmptyStatement(),h=uR.createBlock([y],!0),Xy(y,{kind:0,order:0})):h=uR.createBlock([],!0);var m=0,y=function(e,t,r){if(!e||gA(t,r).line>gA(t,e.getEnd()).line)return{modifiers:0};var n,a=0,i={pos:r,end:r};AR(e.parent)&&e.parent.modifiers&&(a|=126975&bL(e.parent.modifiers),n=e.parent.modifiers.filter(NR)||[],i.pos=Math.min(i.pos,e.parent.modifiers.pos));(t=function(e){if(gE(e))return e.kind;if(xR(e)){e=MA(e);if(e&&js(e))return e}return}(e))&&(t=kL(t),a&t||(a|=t,i.pos=Math.min(i.pos,e.pos)));return{modifiers:a,decorators:n,range:i.pos!==r?i:void 0}}(c,a,s),c=y.modifiers,s=y.range,y=y.decorators,v=256&c&&256&_.modifierFlagsCache,g=[];if(Roe.addNewNodeForMemberSymbol(i,_,a,{program:t,host:e},n,r,function(e){var t=0;v&&(t|=256),CE(e)&&1===p.getMemberOverrideModifierStatus(_,e,i)&&(t|=16384),g.length||(m=e.modifierFlagsCache|t),e=uR.updateModifiers(e,m),g.push(e)},h,Roe.PreserveOptionalFlags.Property,!!v),g.length){var n=8192&i.flags,h=16388|m,n=c&(h|=n?512:66);if(c&~h)return;16&m&&4&n&&(m&=-17),0==n||4&n||(m&=-5),m|=n,g=g.map(function(e){return uR.updateModifiers(e,m)}),null==y||!y.length||qB(n=g[g.length-1])&&(g[g.length-1]=uR.updateModifierLike(n,y.concat(UA(n)||[])));d=u?o.printAndFormatSnippetList(131073,uR.createNodeArray(g),a,u):o.printSnippetList(131073,uR.createNodeArray(g),a)}return{insertText:d,filterText:f,isSnippet:l,importAdder:r,eraseRange:s}}}function pse(e,t,r,n,a,i,o,s){var c=o.includeCompletionsWithSnippetText||void 0,u=t,t=r.getSourceFile(),o=function(e,t,r,n,a,i){var o=e.getDeclarations();if(!o||!o.length)return;var s=n.getTypeChecker(),o=o[0],c=eZ(JA(o),!1),u=s.getWidenedType(s.getTypeOfSymbolAtLocation(e,t)),_=33554432|(0===iY(r,i)?268435456:0);switch(o.kind){case 171:case 172:case 173:case 174:var l=1048576&u.flags&&u.types.length<10?s.getUnionType(u.types,2):u;if(1048576&l.flags){var d=nD(l.types,function(e){return 0<s.getSignaturesOfType(e,0).length});if(1!==d.length)return;l=d[0]}if(1!==s.getSignaturesOfType(l,0).length)return;var f=s.typeToTypeNode(l,t,_,Roe.getNoopSymbolTrackerWithResolver({program:n,host:a}));if(!f||!JR(f))return;d=void 0;i.includeCompletionsWithSnippetText?(l=uR.createEmptyStatement(),d=uR.createBlock([l],!0),Xy(l,{kind:0,order:0})):d=uR.createBlock([],!0);f=f.parameters.map(function(e){return uR.createParameterDeclaration(void 0,e.dotDotDotToken,e.name,void 0,void 0,e.initializer)});return uR.createMethodDeclaration(void 0,void 0,c,void 0,void 0,f,void 0,d);default:return}}(e,r,t,n,a,o);if(o){a=mse({removeComments:!0,module:i.module,target:i.target,omitTrailingSemicolon:!1,newLine:c$(zY(a,null==s?void 0:s.options))}),u=s?a.printAndFormatSnippetList(80,uR.createNodeArray([o],!0),t,s):a.printSnippetList(80,uR.createNodeArray([o],!0),t),i=qU({removeComments:!0,module:i.module,target:i.target,omitTrailingSemicolon:!0}),o=uR.createMethodSignature(void 0,"",o.questionToken,o.typeParameters,o.parameters,o.type);return{isSnippet:c,insertText:u,labelDetails:{detail:i.printNode(4,o,t)}}}}function mse(e){var o,a=ode.createWriter(vf(e)),n=qU(e,a),i=__assign(__assign({},a),{write:function(e){return r(e,function(){return a.write(e)})},nonEscapingWrite:a.write,writeLiteral:function(e){return r(e,function(){return a.writeLiteral(e)})},writeStringLiteral:function(e){return r(e,function(){return a.writeStringLiteral(e)})},writeSymbol:function(e,t){return r(e,function(){return a.writeSymbol(e,t)})},writeParameter:function(e){return r(e,function(){return a.writeParameter(e)})},writeComment:function(e){return r(e,function(){return a.writeComment(e)})},writeProperty:function(e){return r(e,function(){return a.writeProperty(e)})}});return{printSnippetList:function(e,t,r){r=s(e,t,r);return o?ode.applyChanges(r,o):r},printAndFormatSnippetList:function(e,t,r,n){var a={text:s(e,t,r),getLineAndCharacterOfPosition:function(e){return gA(this,e)}},i=_$(n,r),t=cD(t,function(e){e=ode.assignPositionsToNode(e);return upe.formatNodeGivenIndentation(e,a,r.languageVariant,0,0,__assign(__assign({},n),{options:i}))}),t=o?bn(fD(t,o),function(e,t){return pe(e.span,t.span)}):t;return ode.applyChanges(a.text,t)},printNode:function(e,t,r){r=c(e,t,r);return o?ode.applyChanges(r,o):r},printAndFormatNode:function(e,t,r,n){var a={text:c(e,t,r),getLineAndCharacterOfPosition:function(e){return gA(this,e)}},e=_$(n,r),t=ode.assignPositionsToNode(t),e=upe.formatNodeGivenIndentation(t,a,r.languageVariant,0,0,__assign(__assign({},n),{options:e})),e=o?bn(fD(e,o),function(e,t){return pe(e.span,t.span)}):e;return ode.applyChanges(a.text,e)}};function r(e,t){var r,n=Rm(e);n!==e?(r=a.getTextPos(),t(),e=a.getTextPos(),o=vD(o=o||[],{newText:n,span:{start:r,length:e-r}})):t()}function s(e,t,r){return o=void 0,i.clear(),n.writeList(e,t,r,i),i.getText()}function c(e,t,r){return o=void 0,i.clear(),n.writeNode(e,t,r,i),i.getText()}}function yse(e){var t=e.fileName?void 0:UO(e.moduleSymbol.name),r=!!e.isFromPackageJson||void 0;return Goe(e)?{exportName:e.exportName,exportMapKey:e.exportMapKey,moduleSpecifier:e.moduleSpecifier,ambientModuleName:t,fileName:e.fileName,isPackageJsonImport:r}:{exportName:e.exportName,exportMapKey:e.exportMapKey,fileName:e.fileName,ambientModuleName:e.fileName?void 0:UO(e.moduleSymbol.name),isPackageJsonImport:!!e.isFromPackageJson||void 0}}function vse(e,t,r){return/^\d+$/.test(r)?r:hZ(e,t,r)}function gse(e){return Koe(e)?UO(e.moduleSymbol.name):Goe(e)?e.moduleSpecifier:1===(null==e?void 0:e.kind)?"ThisProperty/":64===(null==e?void 0:e.kind)?"TypeOnlyAlias/":void 0}function hse(e,t,r,n,o,a,s,i,c,u,_,l,d,f,p,m,y,v,g,h,x,b,k,T,S,w){void 0===w&&(w=!1);for(var C=ht(),N=function(e,t){if(!e)return;e=FA(e,function(e){return X_(e)||Kse(e)||PE(e)?"quit":(CR(e)||wR(e))&&!gg(e.parent)}),t=FA(t,function(e){return X_(e)||Kse(e)||PE(e)?"quit":Aj(e)});return e||t}(n,o),D=EZ(s),A=c.getTypeChecker(),E=new Map,F=0;F<e.length;F++){var P,I,O=e[F],L=null==b?void 0:b[F],M=Ese(O,u,L,l,!!v);M&&(!E.get(M.name)||L&&Qoe(L))&&(1!==l||!k||function(e,t){var r,n=e.flags;if(!uB(o)){if(qj(o.parent))return!0;if(BD(N,Aj)&&e.valueDeclaration===N)return!1;var a=null!==(r=e.valueDeclaration)&&void 0!==r?r:null==(a=e.declarations)?void 0:a[0];if(N&&a&&(wR(N)&&wR(a)||CR(N)&&CR(a))){var a=a.pos,i=CR(N)?N.parent.parameters:Tg(N.parent)?void 0:N.parent.typeParameters;if(a>=N.pos&&i&&a<i.end)return!1}i=Uf(e,A);if(s.externalModuleIndicator&&!f.allowUmdGlobalAccess&&t[yJ(e)]===Joe.GlobalsOrKeywords&&(t[yJ(i)]===Joe.AutoImportSuggestions||t[yJ(i)]===Joe.LocationPriority))return!1;if(n|=zL(i),KG(o))return!!(1920&n);if(m)return Gse(e,A)}return!!(111551&n)}(O,k))&&(P=M.name,I=M.needsConvertPropertyAccess,M=null!==(M=null==k?void 0:k[yJ(O)])&&void 0!==M?M:Joe.LocationPriority,(I=dse(O,function(e,t){t=Uf(e,t).declarations;return!!HN(t)&&XN(t,o$)}(O,A)?Joe.Deprecated(M):M,r,n,o,a,s,i,c,P,I,L,x,y,g,h,D,f,d,l,p,T,S,w))&&(O=(!L||Xoe(L))&&!(void 0===O.parent&&!dD(O.declarations,function(e){return e.getSourceFile()===o.getSourceFile()})),E.set(P,O),Q(t,I,ese,!0)))}return _("getCompletionsAtPosition: getCompletionEntriesFromSymbols: "+(ht()-C)),{has:function(e){return E.has(e)},add:function(e){return E.set(e,!0)}}}function xse(e,t,r,n,a,i,o){if("SwitchCases/"===a.source)return{type:"cases"};if(a.data){var s=Ase(a.name,a.data,e,i);if(s){var c=Dse(n,r),u=c.contextToken,c=c.previousToken;return{type:"symbol",symbol:s.symbol,location:GX(r,n),previousToken:c,contextToken:u,isJsxInitializer:!1,isTypeOnlyLocation:!1,origin:s.origin}}}var _=e.getCompilerOptions(),l=Nse(e,t,r,_,n,{includeCompletionsForModuleExports:!0,includeCompletionsWithInsertText:!0},a,i,void 0);if(!l)return{type:"none"};if(0!==l.kind)return{type:"request",request:l};var n=l.symbols,i=l.literals,d=l.location,f=l.completionKind,p=l.symbolToOriginInfoMap,m=l.contextToken,y=l.previousToken,v=l.isJsxInitializer,g=l.isTypeOnlyLocation,i=QN(i,function(e){return lse(r,o,e)===a.name});return void 0!==i?{type:"literal",literal:i}:GN(n,function(e,t){var r=p[t],t=Ese(e,rM(_),r,f,l.isJsxIdentifierExpected);return t&&t.name===a.name&&("ClassMemberSnippet/"===a.source&&106500&e.flags||"ObjectLiteralMethodSnippet/"===a.source&&8196&e.flags||gse(r)===a.source||"ObjectLiteralMemberWithComma/"===a.source)?{type:"symbol",symbol:e,location:d,origin:r,contextToken:m,previousToken:y,isJsxInitializer:v,isTypeOnlyLocation:g}:void 0})||{type:"none"}}function bse(e,t,r,n,a,i,o,s,c){var u=e.getTypeChecker(),_=e.getCompilerOptions(),l=a.name,d=a.source,f=a.data,p=Dse(n,r),m=p.previousToken,y=p.contextToken;if(iQ(r,n,m))return Cce.getStringLiteralCompletionDetails(l,r,n,m,u,_,i,c,s);var v=xse(e,t,r,n,a,i,s);switch(v.type){case"request":var g=v.request;switch(g.kind){case 1:return a_e.getJSDocTagNameCompletionDetails(l);case 2:return a_e.getJSDocTagCompletionDetails(l);case 3:return a_e.getJSDocParameterNameCompletionDetails(l);case 4:return dD(g.keywordCompletions,function(e){return e.name===l})?kse(l,"keyword",5):void 0;default:return rA.assertNever(g)}case"symbol":var h=v.symbol,x=v.location,b=v.contextToken,k=v.origin,T=v.previousToken,b=function(e,t,r,n,a,i,o,s,c,u,_,l,d,f,p,m){if(null!=f&&f.moduleSpecifier&&_&&Use(r||_,c).replacementSpan)return{codeActions:void 0,sourceDisplay:[OY(f.moduleSpecifier)]};if("ClassMemberSnippet/"===p){var y=fse(o,i,s,d,e,a,t,u,r,l),v=y.importAdder,g=y.eraseRange;if(v||g)return{sourceDisplay:void 0,codeActions:[{changes:h=ode.ChangeTracker.with({host:o,formatContext:l,preferences:d},function(e){v&&v.writeFixes(e),g&&e.deleteRange(c,g)}),description:u$([mA.Includes_imports_of_types_referenced_by_0,e])}]}}if(Xoe(n)){y=Roe.getPromoteTypeOnlyCompletionAction(c,n.declaration.name,i,o,l,d);return rA.assertIsDefined(y,"Expected to have a code action for promoting type-only alias"),{codeActions:[y],sourceDisplay:void 0}}if("ObjectLiteralMemberWithComma/"===p&&r)if(h=ode.ChangeTracker.with({host:o,formatContext:l,preferences:d},function(e){return e.insertText(c,r.end,",")}))return{sourceDisplay:void 0,codeActions:[{changes:h,description:u$([mA.Add_missing_comma_for_object_member_completion_0,e])}]};if(!n||!Koe(n)&&!Goe(n))return{codeActions:void 0,sourceDisplay:void 0};var h=(n.isFromPackageJson?o.getPackageJsonAutoImportProvider():i).getTypeChecker(),n=n.moduleSymbol,a=h.getMergedSymbol(Uf(a.exportSymbol||a,h)),h=30===(null==r?void 0:r.kind)&&YE(r.parent),d=Roe.getImportCompletionAction(a,n,null==f?void 0:f.exportMapKey,c,e,h,o,i,l,_&&xR(_)?_.getStart(c):u,d,m),m=d.moduleSpecifier,d=d.codeAction;return rA.assert(!(null!=f&&f.moduleSpecifier)||m===f.moduleSpecifier),{sourceDisplay:[OY(m)],codeActions:[d]}}(l,x,b,k,h,e,i,_,r,n,T,o,s,f,d,c),T=b.codeActions,b=b.sourceDisplay;return Tse(h,Yoe(k)?k.symbolName:h.name,u,r,x,c,T,b);case"literal":var S=v.literal;return kse(lse(r,s,S),"string","string"==typeof S?8:7);case"cases":b=use(y.parent,r,s,e.getCompilerOptions(),i,e,void 0),S=b.entry,b=b.importAdder;if(b.hasFixes()){b=ode.ChangeTracker.with({host:i,formatContext:o,preferences:s},b.writeFixes);return{name:S.name,kind:"",kindModifiers:"",displayParts:[],sourceDisplay:void 0,codeActions:[{changes:b,description:u$([mA.Includes_imports_of_types_referenced_by_0,l])}]}}return{name:S.name,kind:"",kindModifiers:"",displayParts:[],sourceDisplay:void 0};case"none":return Woe().some(function(e){return e.name===l})?kse(l,"keyword",5):void 0;default:rA.assertNever(v)}}function kse(e,t,r){return Sse(e,"",t,[CY(e,r)])}function Tse(t,e,r,n,a,i,o,s){var c=r.runWithCancellationToken(i,function(e){return Ele.getSymbolDisplayPartsDocumentationAndSymbolKind(e,t,n,a,a,7)}),u=c.displayParts,_=c.documentation,i=c.symbolKind,c=c.tags;return Sse(e,Ele.getSymbolModifiers(r,t),i,u,_,c,o,s)}function Sse(e,t,r,n,a,i,o,s){return{name:e,kindModifiers:t,kind:r,displayParts:n,documentation:a,tags:i,codeActions:o,source:s,sourceDisplay:s}}function wse(e,t,r,n,a,i,o){o=xse(e,t,r,n,a,i,o);return"symbol"===o.type?o.symbol:void 0}function Cse(e,t,r){var n=r.getAccessibleSymbolChain(e,t,67108863,!1);return n?SD(n):e.parent&&(null==(n=(n=e.parent).declarations)||!n.some(function(e){return 312===e.kind})?Cse(e.parent,t,r):e)}function Nse(d,e,v,s,f,g,u,p,c,o){var h=d.getTypeChecker(),m=cse(v,s),t=ht(),r=QX(v,f);e("getCompletionData: Get current token: "+(ht()-t)),t=ht();var n=yQ(v,f,r);e("getCompletionData: Is inside comment: "+(ht()-t));var a,x=!1,l=!1;if(n){if(vQ(v,f)){if(64===v.text.charCodeAt(f-1))return{kind:1};var i=kX(f,v);if(!/[^*|\s(/)]/.test(v.text.substring(i,f)))return{kind:2}}i=(a=f,FA(r,function(e){return!(!Fc(e)||!wX(e,a))||!!kh(e)&&"quit"}));if(i){if(i.tagName.pos<=f&&f<=i.tagName.end)return{kind:1};var _=function(e){if(function(e){switch(e.kind){case 348:case 355:case 349:case 351:case 353:case 356:case 357:return!0;case 352:return!!e.constraint;default:return!1}}(e)){var t=DB(e)?e.constraint:e.typeExpression;return t&&316===t.kind?t:void 0}if(kB(e)||Lh(e))return e.class;return}(i);if(_&&((r=QX(v,f))&&(uO(r)||355===r.parent.kind&&r.parent.name===r)||(x=ue(_))),!x&&wB(i)&&(EF(i.name)||i.name.pos<=f&&f<=i.name.end))return{kind:3,tag:i}}if(!x)return void e("Returning an empty list because completion was inside a regular comment or plain text part of a JsDoc comment.")}t=ht();var _=!x&&sI(v),i=Dse(f,v),y=i.previousToken,b=i.contextToken;e("getCompletionData: Get previous token: "+(ht()-t));var k,T,S,w,C=r,N=!1,D=!1,A=!1,E=!1,F=!1,P=!1,I=GX(v,f),O=0,L=!1,M=0;if(b){var R=Use(b,v);if(R.keywordCompletion){if(R.isKeywordOnlyCompletion)return{kind:4,keywordCompletions:[{name:vA(R.keywordCompletion),kind:"keyword",kindModifiers:"",sortText:Joe.GlobalsOrKeywords}],isNewIdentifierLocation:R.isNewIdentifierLocation};O=function(e){if(156===e)return 8;rA.fail("Unknown mapping from SyntaxKind to KeywordCompletionFilters")}(R.keywordCompletion)}if(R.replacementSpan&&g.includeCompletionsForImportStatements&&g.includeCompletionsWithInsertText&&(M|=2,L=(T=R).isNewIdentifierLocation),!R.replacementSpan&&(S=b,w=ht(),S=function(e){return(Wv(e)||Ls(e))&&(CX(e,f)||f===e.end&&(!!e.isUnterminated||Wv(e)))}(S)||function(e){var t=e.parent,r=t.kind;switch(e.kind){case 28:return 260===r||function(e){return 261===e.parent.kind&&!fQ(e,v,h)}(e)||243===r||266===r||ie(r)||264===r||207===r||265===r||NE(t)&&!!t.typeParameters&&t.typeParameters.end>=e.pos;case 25:return 207===r;case 59:return 208===r;case 23:return 207===r;case 21:return 299===r||ie(r);case 19:return 266===r;case 30:return 263===r||231===r||264===r||265===r||Vs(r);case 126:return 172===r&&!NE(t.parent);case 26:return 169===r||!!t.parent&&207===t.parent.kind;case 125:case 123:case 124:return 169===r&&!IR(t.parent);case 130:return 276===r||281===r||274===r;case 139:case 153:return!Jse(e);case 80:if(276===r&&e===t.name&&"type"===e.text)return!1;break;case 86:case 94:case 120:case 100:case 115:case 102:case 121:case 87:case 140:return!0;case 156:return 276!==r;case 42:return bE(e.parent)&&!FR(e.parent)}if(Ose(Mse(e))&&Jse(e))return!1;if(ne(e)&&(!xR(e)||Bs(Mse(e))||ue(e)))return!1;switch(Mse(e)){case 128:case 86:case 87:case 138:case 94:case 100:case 120:case 121:case 123:case 124:case 125:case 126:case 115:return!0;case 134:return AR(e.parent)}if(FA(e.parent,NE)&&e===y&&ae(e,f))return!1;var n=xO(e.parent,172);if(n&&e!==y&&NE(y.parent.parent)&&f<=y.end){if(ae(e,y.end))return!1;if(64!==e.kind&&(NJ(n)||rF(n)))return!0}return uO(e)&&!oB(e.parent)&&!$j(e.parent)&&!((NE(e.parent)||Ij(e.parent)||wR(e.parent))&&(e!==y||f>y.end))}(S)||function(e){if(9!==e.kind)return!1;e=e.getFullText();return"."===e.charAt(e.length-1)}(S)||function(e){if(12===e.kind)return!0;if(32===e.kind&&e.parent){if(I===e.parent&&(286===I.kind||285===I.kind))return!1;if(286===e.parent.kind)return 286!==I.parent.kind;if(287===e.parent.kind||285===e.parent.kind)return!!e.parent.parent&&284===e.parent.parent.kind}return!1}(S)||Vv(S),e("getCompletionsAtPosition: isCompletionListBlocker: "+(ht()-w)),S))return e("Returning an empty list because completion was requested in an invalid position."),O?ose(O,_,re()):void 0;var j=b.parent;if(25===b.kind||29===b.kind)switch(N=25===b.kind,D=29===b.kind,j.kind){case 211:C=(k=j).expression;if(EF(XL(k))||(oj(C)||bE(C))&&C.end===b.pos&&C.getChildCount(v)&&22!==ND(C.getChildren(v)).kind)return;break;case 166:C=j.left;break;case 267:C=j.name;break;case 205:C=j;break;case 236:C=j.getFirstToken(v),rA.assert(102===C.kind||105===C.kind);break;default:return}else if(!T){if(j&&211===j.kind&&(j=(b=j).parent),r.parent===I)switch(r.kind){case 32:284!==r.parent.kind&&286!==r.parent.kind||(I=r);break;case 44:285===r.parent.kind&&(I=r)}switch(j.kind){case 287:44===b.kind&&(E=!0,I=b);break;case 226:if(!zse(j))break;case 285:case 284:case 286:P=!0,30===b.kind&&(A=!0,I=b);break;case 294:case 293:(20===y.kind||80===y.kind&&291===y.parent.kind)&&(P=!0);break;case 291:if(j.initializer===y&&y.end<f){P=!0;break}switch(y.kind){case 64:F=!0;break;case 80:P=!0,j!==y.parent&&!j.initializer&&MX(j,64,v)&&(F=y)}}}}var B,t=ht(),J=5,z=!1,U=!1,V=[],q=[],W=[],H=new Map,K=x||!!T&&pE(I.parent)||!function(e){return e&&(114===e.kind&&(186===e.parent.kind||dj(e.parent))||131===e.kind&&182===e.parent.kind)}(b)&&(fQ(b,v,h)||vP(I)||function(e){if(e){var t=e.parent.kind;switch(e.kind){case 59:return 172===t||171===t||169===t||260===t||Vs(t);case 64:return 265===t;case 130:return 234===t;case 30:return 183===t||216===t;case 96:return 168===t;case 152:return 238===t}}return!1}(b)),G=ga(function(e){return ZQ(e?p.getPackageJsonAutoImportProvider():d,p)});if(N||D)!function(){var t,e;J=2;var r,n,a,i=yP(C),o=i&&!C.isTypeOf||vP(C.parent)||fQ(b,v,h),s=KG(C);if(hE(C)||i||aj(C)){var c=Mj(C.parent);c&&(L=!0);var u=h.getSymbolAtLocation(C);if(u&&1920&(u=Uf(u,h)).flags){var _=h.getExportsOfModule(u);rA.assertEachIsDefined(_,"getExportsOfModule() should all be defined");var l=function(e){return h.isValidPropertyAccess(i?C:C.parent,e.name)},d=function(e){return Gse(e,h)},f=c?function(e){return!(!(1920&e.flags)||null!=(e=e.declarations)&&e.every(function(e){return e.parent===C.parent}))}:s?function(e){return d(e)||l(e)}:o||x?d:l;try{for(var p=__values(_),m=p.next();!m.done;m=p.next()){var y=m.value;f(y)&&V.push(y)}}catch(e){t={error:e}}finally{try{m&&!m.done&&(e=p.return)&&e.call(p)}finally{if(t)throw t.error}}return!o&&!x&&u.declarations&&u.declarations.some(function(e){return 312!==e.kind&&267!==e.kind&&266!==e.kind})&&(r=h.getTypeOfSymbolAtLocation(u,C).getNonOptionalType(),n=!1,r.isNullableType()&&((a=N&&!D&&!1!==g.includeAutomaticOptionalChainCompletions)||D)&&(r=r.getNonNullableType(),a&&(n=!0)),Z(r,!!(65536&C.flags),n))}}o&&!eL(C)||(h.tryGetThisTypeAt(C,!1),r=h.getTypeAtLocation(C).getNonOptionalType(),o?Z(r.getNonNullableType(),!1,!1):(n=!1,r.isNullableType()&&((a=N&&!D&&!1!==g.includeAutomaticOptionalChainCompletions)||D)&&(r=r.getNonNullableType(),a&&(n=!0)),Z(r,!!(65536&C.flags),n)))}();else if(A)V=h.getJsxIntrinsicTagNamesAt(I),rA.assertEachIsDefined(V,"getJsxIntrinsicTagNames() should all be defined"),ee(),J=1,O=0;else if(E){R=b.parent.parent.openingElement.tagName,R=h.getSymbolAtLocation(R);R&&(V=[R]),J=1,O=0}else if(!ee())return O?ose(O,_,L):void 0;e("getCompletionData: Semantic work: "+(ht()-t));var X,Q,Y,_=y&&function(e,t,r,n){var a=e.parent;switch(e.kind){case 80:return gZ(e,n);case 64:switch(a.kind){case 260:return n.getContextualType(a.initializer);case 226:return n.getTypeAtLocation(a.left);case 291:return n.getContextualTypeForJsxAttribute(a);default:return}case 105:return n.getContextualType(a);case 84:var i=BD(a,fh);return i?TZ(i,n):void 0;case 19:return!dh(a)||Xj(a.parent)||_h(a.parent)?void 0:n.getContextualTypeForJsxAttribute(a.parent);default:i=dle.getArgumentInfoForCompletions(e,t,r);return i?n.getContextualTypeForArgumentAtIndex(i.invocation,i.argumentIndex+(28===e.kind?1:0)):xZ(e.kind)&&mj(a)&&xZ(a.operatorToken.kind)?n.getTypeAtLocation(a.left):n.getContextualType(e,4)||n.getContextualType(e)}}(y,f,v,h),t=!BD(y,oF)&&!P?uD(_&&(_.isUnion()?_.types:[_]),function(e){return!e.isLiteral()||1024&e.flags?void 0:e.value}):[],Q=y&&_&&(X=y,Y=h,GN((Q=_)&&(Q.isUnion()?Q.types:[Q]),function(e){e=e&&e.symbol;return e&&424&e.flags&&!Gf(e)?Cse(e,X,Y):void 0}));return{kind:0,symbols:V,completionKind:J,isInSnippetScope:l,propertyAccessToConvert:k,isNewIdentifierLocation:L,location:I,keywordFilters:O,literals:t,symbolToOriginInfoMap:q,recommendedCompletion:Q,previousToken:y,contextToken:b,isJsxInitializer:F,insideJsDocTagTypeExpression:x,symbolToSortTextMap:W,isTypeOnlyLocation:K,isJsxIdentifierExpected:P,isRightOfOpenTag:A,isRightOfDotOrQuestionDot:N||D,importStatementCompletion:T,hasUnresolvedAutoImports:U,flags:M};function Z(t,e,r){var n,a,i,o;L=!!t.getStringIndexType(),D&&dD(t.getCallSignatures())&&(L=!0);var s=205===C.kind?C:C.parent;if(m)try{for(var c=__values(t.getApparentProperties()),u=c.next();!u.done;u=c.next()){var _=u.value;h.isValidPropertyAccessForCompletions(s,t,_)&&$(_,!1,r)}}catch(e){n={error:e}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(n)throw n.error}}else V.push.apply(V,__spreadArray([],__read(nD(Bse(t,h),function(e){return h.isValidPropertyAccessForCompletions(s,t,e)})),!1));if(e&&g.includeCompletionsWithInsertText){var l=h.getPromisedTypeOfPromise(t);if(l)try{for(var d=__values(l.getApparentProperties()),f=d.next();!f.done;f=d.next()){_=f.value;h.isValidPropertyAccessForCompletions(s,l,_)&&$(_,!0,r)}}catch(e){i={error:e}}finally{try{f&&!f.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}}}function $(e,t,r){var n,a,i,o,s,c=GN(e.declarations,function(e){return BD(JA(e),SR)});function u(e){var t;(t=e).valueDeclaration&&32&xL(t.valueDeclaration)&&NE(t.valueDeclaration.parent)&&(W[yJ(e)]=Joe.LocalDeclarationPriority)}function _(e){g.includeCompletionsWithInsertText&&(t&&Zf(H,yJ(e))?q[V.length]={kind:l(8)}:r&&(q[V.length]={kind:16}))}function l(e){return r?16|e:e}c?(a=(n=(o=(i=function e(t){return xR(t)?t:aj(t)?e(t.expression):void 0}(c.expression))&&h.getSymbolAtLocation(i))&&Cse(o,b,h))&&yJ(n))&&Zf(H,a)?(c=V.length,V.push(n),(i=n.parent)&&VQ(i)&&h.tryGetMemberInModuleExportsAndProperties(n.name,i)===n?(o=!kA(UO(i.name))||null==(s=NF(i))?void 0:s.fileName,(s=((B=B||Roe.createImportSpecifierResolver(v,d,p,g)).getModuleSpecifierForBestExportInfo([{exportKind:0,moduleFileName:o,isFromPackageJson:!1,moduleSymbol:i,symbol:n,targetFlags:Uf(n,h).flags}],f,IM(I))||{}).moduleSpecifier)&&(s={kind:l(6),moduleSymbol:i,isDefaultExport:!1,symbolName:n.name,exportName:n.name,fileName:o,moduleSpecifier:s},q[c]=s)):q[c]={kind:l(2)}):g.includeCompletionsWithInsertText&&(a&&H.has(a)||(_(e),u(e),V.push(e))):(_(e),u(e),V.push(e))}function ee(){return 1===(function(){var e=function(e){if(!e)return;var t=e.parent;switch(e.kind){case 19:if(VR(t))return t;break;case 27:case 28:case 80:if(171===t.kind&&VR(t.parent))return t.parent}return}(b);if(!e)return 0;var t=(bg(e.parent)?e.parent:void 0)||e,e=function e(t,r){if(!t)return;if(FE(t)&&iF(t.parent))return r.getTypeArgumentConstraint(t);var n=e(t.parent,r);if(!n)return;switch(t.kind){case 171:return r.getTypeOfPropertyOfContextualType(n,t.symbol.escapedName);case 193:case 187:case 192:return n}}(t,h);if(!e)return 0;var t=h.getTypeFromTypeNode(t),e=Bse(e,h),t=Bse(t,h),r=new Set;return t.forEach(function(e){return r.add(e.escapedName)}),V=fD(V,nD(e,function(e){return!r.has(e.escapedName)})),L=!(J=0),1}()||function(){var i=V.length,t=function(e,t,r){if(e){var n=e.parent;switch(e.kind){case 19:case 28:if(nj(n)||$R(n))return n;break;case 42:return FR(n)?BD(n.parent,nj):void 0;case 134:return BD(n.parent,nj);case 80:if("async"===e.text&&oB(e.parent))return e.parent.parent;if(nj(e.parent.parent)&&(sB(e.parent)||oB(e.parent)&&gA(r,e.getEnd()).line!==gA(r,t).line))return e.parent.parent;var a=FA(n,iB);if((null==a?void 0:a.getLastToken(r))===e&&nj(a.parent))return a.parent;break;default:if(null!=(a=n.parent)&&a.parent&&(FR(n.parent)||OR(n.parent)||LR(n.parent))&&nj(n.parent.parent))return n.parent.parent;if(sB(n)&&nj(n.parent))return n.parent;a=FA(n,iB);if(59!==e.kind&&(null==a?void 0:a.getLastToken(r))===e&&nj(a.parent))return a.parent}}return}(b,f,v);if(!t)return 0;if(J=0,210===t.kind){var e=function(e,t){var r=t.getContextualType(e);if(r)return r;r=aO(e.parent);if(mj(r)&&64===r.operatorToken.kind&&e===r.left)return t.getTypeAtLocation(r);if(jE(r))return t.getContextualType(r);return}(t,h);if(void 0===e)return 67108864&t.flags?2:(z=!0,0);var r=h.getContextualType(t,4),n=(r||e).getStringIndexType(),a=(r||e).getNumberIndexType();if(L=!!n||!!a,n=Rse(e,r,t,h),e=t.properties,0===n.length&&!a)return z=!0,0}else{rA.assert(206===t.kind),L=!1;r=MO(t.parent);if(!kP(r))return rA.fail("Root declaration is not variable-like.");a=nF(r)||!!nL(r)||250===r.parent.parent.kind;if(a||169!==r.kind||(jE(r.parent)?a=!!h.getContextualType(r.parent):174!==r.parent.kind&&178!==r.parent.kind||(a=jE(r.parent.parent)&&!!h.getContextualType(r.parent.parent))),a){var o=h.getTypeAtLocation(t);if(!o)return 2;n=h.getPropertiesOfType(o).filter(function(e){return h.isPropertyAccessible(t,!1,!1,o,e)}),e=t.elements}}n&&0<n.length&&(e=function(e,t){var r,n;if(0===t.length)return e;var a=new Set,i=new Set;try{for(var o=__values(t),s=o.next();!s.done;s=o.next()){var c,u=s.value;303!==u.kind&&304!==u.kind&&208!==u.kind&&174!==u.kind&&177!==u.kind&&178!==u.kind&&305!==u.kind||ue(u)||(c=void 0,sB(u)?oe(u,a):tj(u)&&u.propertyName?80===u.propertyName.kind&&(c=u.propertyName.escapedText):(u=JA(u),c=u&&DO(u)?EO(u):void 0),void 0!==c&&i.add(c))}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}e=e.filter(function(e){return!i.has(e.escapedName)});return ce(a,e),e}(n,rA.checkDefined(e)),V=fD(V,e),se(),210===t.kind&&g.includeCompletionsWithObjectLiteralMethodSnippets&&g.includeCompletionsWithInsertText&&(function(){for(var e=i;e<V.length;e++){var t=V[e],r=yJ(t),n=null==q?void 0:q[e],a=rM(s),a=Ese(t,a,n,0,!1);a&&(n=null!==(n=W[r])&&void 0!==n?n:Joe.LocationPriority,a=a.name,W[r]=Joe.ObjectLiteralProperty(n,a))}}(),function(e,r){cI(I)||e.forEach(function(e){var t;8196&e.flags&&(!(t=Ese(e,rM(s),void 0,0,!1))||(t=pse(e,t.name,r,d,p,s,g,c))&&(t=__assign({kind:128},t),M|=32,q[V.length]=t,V.push(e)))})}(e,t)));return 1}()||(T?(L=!0,te(),1):0)||function(){if(!b)return 0;var e=19===b.kind||28===b.kind?BD(b.parent,rp):UQ(b)?BD(b.parent.parent,rp):void 0;if(!e)return 0;UQ(b)||(O=8);var t=(275===e.kind?e.parent:e).parent.moduleSpecifier;if(!t)return L=!0,275===e.kind?2:0;t=h.getSymbolAtLocation(t);if(!t)return L=!0,2;J=3,L=!1;var t=h.getExportsAndPropertiesOfModule(t),r=new Set(e.elements.filter(function(e){return!ue(e)}).map(function(e){return(e.propertyName||e.name).escapedText})),t=t.filter(function(e){return"default"!==e.escapedName&&!r.has(e.escapedName)});V=fD(V,t),t.length||(O=0);return 1}()||function(){var e=!b||19!==b.kind&&28!==b.kind?void 0:BD(b.parent,Hj);if(!e)return 0;var n=FA(e,ZD(uB,Mj));return L=!(J=5),null==(e=n.locals)||e.forEach(function(e,t){var r;V.push(e),null!=(r=null==(r=n.symbol)?void 0:r.exports)&&r.has(t)&&(W[yJ(e)]=Joe.OptionalMember)}),1}()||(function(e){if(e){var t=e.parent;switch(e.kind){case 21:case 28:return IR(e.parent)?e.parent:void 0;default:if(ne(e))return t.parent}}return}(b)?(J=5,L=!0,O=4,1):0)||function(){var t=function(e,t,r,n){switch(r.kind){case 358:return BD(r.parent,$f);case 1:var a=BD(CD(JD(r.parent,uB).statements),$f);if(a&&!MX(a,20,e))return a;break;case 81:if(BD(r.parent,AR))return FA(r,NE);break;case 80:if(MA(r))return;if(AR(r.parent)&&r.parent.initializer===r)return;if(Jse(r))return FA(r,$f)}if(!t)return;if(137===r.kind||xR(t)&&AR(t.parent)&&NE(r))return FA(t,NE);switch(t.kind){case 64:return;case 27:case 20:return Jse(r)&&r.parent.name===r?r.parent.parent:BD(r,$f);case 19:case 28:return BD(t.parent,$f);default:if($f(r)){if(gA(e,t.getEnd()).line!==gA(e,n).line)return r;var i=NE(t.parent.parent)?Ose:Ise;return i(t.kind)||42===t.kind||xR(t)&&i(null!==(i=MA(t))&&void 0!==i?i:0)?t.parent.parent:void 0}return}}(v,b,I,f);if(!t)return 0;if(J=3,L=!0,O=42===b.kind?0:NE(t)?2:3,!NE(t))return 1;var e=(27===b.kind?b.parent:b).parent,r=CE(e)?xL(e):0;if(80===b.kind&&!ue(b))switch(b.getText()){case"private":r|=8;break;case"static":r|=32;break;case"override":r|=16384}PR(e)&&(r|=32);8&r||(e=cD(NE(t)&&16384&r?eA(yO(t)):Bl(t),function(e){e=h.getTypeAtLocation(e);return 32&r?(null==e?void 0:e.symbol)&&h.getPropertiesOfType(h.getTypeOfSymbolAtLocation(e.symbol,t)):e&&h.getPropertiesOfType(e)}),KN(V=fD(V,function(e,t,r){var n,a,i=new Set;try{for(var o=__values(t),s=o.next();!s.done;s=o.next()){var c=s.value;172!==c.kind&&174!==c.kind&&177!==c.kind&&178!==c.kind||ue(c)||uL(c,8)||lL(c)!==!!(32&r)||(c=NO(c.name))&&i.add(c)}}catch(e){n={error:e}}finally{try{s&&!s.done&&(a=o.return)&&a.call(o)}finally{if(n)throw n.error}}return e.filter(function(e){return!(i.has(e.escapedName)||!e.declarations||8&JL(e)||e.valueDeclaration&&yE(e.valueDeclaration))})}(e,t.members,r)),function(e,t){var r=null==e?void 0:e.valueDeclaration;r&&CE(r)&&r.name&&SR(r.name)&&(e={kind:512,symbolName:h.symbolToString(e)},q[t]=e)}));return 1}()||function(){var e=function(e){if(e){var t=e.parent;switch(e.kind){case 32:case 31:case 44:case 80:case 211:case 292:case 291:case 293:if(t&&(285===t.kind||286===t.kind)){if(32===e.kind){var r=tQ(e.pos,v,void 0);if(!t.typeArguments||r&&44===r.kind)break}return t}if(291===t.kind)return t.parent.parent;break;case 11:if(t&&(291===t.kind||293===t.kind))return t.parent.parent;break;case 20:if(t&&294===t.kind&&t.parent&&291===t.parent.kind)return t.parent.parent.parent;if(t&&293===t.kind)return t.parent.parent}}return}(b),t=e&&h.getContextualType(e.attributes);if(!t)return 0;var r=e&&h.getContextualType(e.attributes,4);return V=fD(V,function(e,t){var r,n,a=new Set,i=new Set;try{for(var o=__values(t),s=o.next();!s.done;s=o.next()){var c=s.value;ue(c)||(291===c.kind?a.add(nR(c.name)):tB(c)&&oe(c,i))}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}e=e.filter(function(e){return!a.has(e.escapedName)});return ce(i,e),e}(Rse(t,r,e.attributes,h),e.attributes.properties)),se(),L=!(J=3),1}()||(function(){var t,e;O=function(e){if(e){var t,e=FA(e.parent,function(e){return NE(e)?"quit":!(!TE(e)||t!==e.body)||(t=e,!1)});return e&&e}}(b)?5:1,J=1,L=re(),y!==b&&rA.assert(!!y,"Expected 'contextToken' to be defined when different from 'previousToken'.");var r=y!==b?y.getStart():f,n=function(e,t,r){var n=e;for(;n&&!PX(n,t,r);)n=n.parent;return n}(b,r,v)||v;l=function(e){switch(e.kind){case 312:case 228:case 294:case 241:return!0;default:return XE(e)}}(n);var r=2887656|(K?0:111551),a=y&&!IM(y);V=fD(V,h.getSymbolsInScope(n,r)),rA.assertEachIsDefined(V,"getSymbolsInScope() should all be defined");for(var i=0;i<V.length;i++){var o,s=V[i];h.isArgumentsSymbol(s)||dD(s.declarations,function(e){return e.getSourceFile()===v})||(W[yJ(s)]=Joe.GlobalsOrKeywords),!a||111551&s.flags||(o=s.declarations&&QN(s.declarations,Ps))&&(o={kind:64,declaration:o},q[i]=o)}if(g.includeCompletionsWithInsertText&&312!==n.kind){var c=h.tryGetThisTypeAt(n,!1,NE(n.parent)?n:void 0);if(c&&!function(e,t,r){var n=r.resolveName("self",void 0,111551,!1);if(n&&r.getTypeOfSymbolAtLocation(n,t)===e)return!0;n=r.resolveName("global",void 0,111551,!1);if(n&&r.getTypeOfSymbolAtLocation(n,t)===e)return!0;n=r.resolveName("globalThis",void 0,111551,!1);if(n&&r.getTypeOfSymbolAtLocation(n,t)===e)return!0;return!1}(c,v,h))try{for(var u=__values(Bse(c,h)),_=u.next();!_.done;_=u.next()){s=_.value;q[V.length]={kind:1},V.push(s),W[yJ(s)]=Joe.SuggestedClassMembers}}catch(e){t={error:e}}finally{try{_&&!_.done&&(e=u.return)&&e.call(u)}finally{if(t)throw t.error}}}te(),K&&(O=b&&BE(b.parent)?6:7)}(),1))}function te(){var e,r,n,t,a,i;function c(e){var t=BD(e.moduleSymbol.valueDeclaration,uB);if(t)return h$(e.isFromPackageJson?a:d,v,t,g,i,G(e.isFromPackageJson),n);t=UO(e.moduleSymbol.name);return(!HK.nodeCoreModules.has(t)||XD(t,"node:")===s$(v,d))&&(!i||i.allowsImportingAmbientModule(e.moduleSymbol,G(e.isFromPackageJson)))}(T||!z&&g.includeCompletionsForModuleExports&&(v.externalModuleIndicator||v.commonJsModuleIndicator||YQ(d.getCompilerOptions())||XQ(d)))&&(rA.assert(!(null!=u&&u.data),"Should not run 'collectAutoImports' when faster path is available via `data`"),u&&!u.source||(M|=1,r=!(y===b&&T)&&y&&xR(y)?y.text.toLowerCase():"",n=null==(e=p.getModuleSpecifierCache)?void 0:e.call(p),t=k$(v,p,d,g,o),a=null==(e=p.getPackageJsonAutoImportProvider)?void 0:e.call(p),i=u?void 0:zZ(v,g,p),Zoe("collectAutoImports",p,B=B||Roe.createImportSpecifierResolver(v,d,p,g),d,f,g,!!T,IM(I),function(s){t.search(v.path,A,function(e,t){if(!bA(e,rM(p.getCompilationSettings())))return!1;if(!u&&bO(e))return!1;if(!(K||T||111551&t))return!1;if(K&&!(790504&t))return!1;t=e.charCodeAt(0);return(!A||!(t<65||90<t))&&(!!u||Xse(e,r))},function(e,t,r,n){var a,i,o;u&&!dD(e,function(e){return u.source===UO(e.moduleSymbol.name)})||!(e=nD(e,c)).length||"failed"!==(i=s.tryResolve(e,r)||{})&&(r=e[0],"skipped"!==i&&(r=void 0===(o=i.exportInfo)?e[0]:o,a=i.moduleSpecifier),i=(o=1===r.exportKind)&&RL(r.symbol)||r.symbol,i=i,o={kind:a?32:4,moduleSpecifier:a,symbolName:t,exportMapKey:n,exportName:2===r.exportKind?"export=":r.symbol.name,fileName:r.moduleFileName,isDefaultExport:o,moduleSymbol:r.moduleSymbol,isFromPackageJson:r.isFromPackageJson},r=yJ(i),W[r]!==Joe.GlobalsOrKeywords&&(q[V.length]=o,W[r]=T?Joe.LocationPriority:Joe.AutoImportSuggestions,V.push(i)))}),U=s.skippedAny(),M|=s.resolvedAny()?8:0,M|=s.resolvedBeyondLimit()?16:0})))}function re(){if(b){var e=b.parent.kind,t=Mse(b);switch(t){case 28:return 213===e||176===e||214===e||209===e||226===e||184===e||210===e;case 21:return 213===e||176===e||214===e||217===e||196===e;case 23:return 209===e||181===e||167===e;case 144:case 145:case 102:return!0;case 25:return 267===e;case 19:return 263===e||210===e;case 64:return 260===e||226===e;case 16:return 228===e;case 17:return 239===e;case 134:return 174===e||304===e;case 42:return 174===e}if(Ose(t))return!0}return!1}function ne(e){return e.parent&&CR(e.parent)&&IR(e.parent.parent)&&(Bs(e.kind)||uO(e))}function ae(e,t){return 64!==e.kind&&(27===e.kind||!If(e.end,t,v))}function ie(e){return Vs(e)&&176!==e}function oe(e,t){var r=e.expression,e=h.getSymbolAtLocation(r),r=e&&h.getTypeOfSymbolAtLocation(e,r),r=r&&r.properties;r&&r.forEach(function(e){t.add(e.name)})}function se(){V.forEach(function(e){16777216&e.flags&&(e=yJ(e),W[e]=null!==(e=W[e])&&void 0!==e?e:Joe.OptionalMember)})}function ce(e,t){var r,n;if(0!==e.size)try{for(var a=__values(t),i=a.next();!i.done;i=a.next()){var o=i.value;e.has(o.name)&&(W[yJ(o)]=Joe.MemberDeclaredBySpreadAssignment)}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}function ue(e){return e.getStart(v)<=f&&f<=e.getEnd()}}function Dse(e,t){var r=tQ(e,t);return r&&e<=r.end&&(ps(r)||zl(r.kind))?{contextToken:tQ(r.getFullStart(),t,void 0),previousToken:r}:{contextToken:r,previousToken:r}}function Ase(e,t,r,n){var a=t.isPackageJsonImport?n.getPackageJsonAutoImportProvider():r,n=a.getTypeChecker(),r=t.ambientModuleName?n.tryFindAmbientModule(t.ambientModuleName):t.fileName?n.getMergedSymbol(rA.checkDefined(a.getSourceFile(t.fileName)).symbol):void 0;if(r){a="export="===t.exportName?n.resolveExternalModuleSymbol(r):n.tryGetMemberInModuleExportsAndProperties(t.exportName,r);if(a)return{symbol:a="default"===t.exportName&&RL(a)||a,origin:(n=e,a=r,r="default"===(e=t).exportName,t=!!e.isPackageJsonImport,tse(e)?{kind:32,exportName:e.exportName,exportMapKey:e.exportMapKey,moduleSpecifier:e.moduleSpecifier,symbolName:n,fileName:e.fileName,moduleSymbol:a,isDefaultExport:r,isFromPackageJson:t}:{kind:4,exportName:e.exportName,exportMapKey:e.exportMapKey,symbolName:n,fileName:e.fileName,moduleSymbol:a,isDefaultExport:r,isFromPackageJson:t})}}}function Ese(e,t,r,n,a){if(!((i=r)&&256&i.kind)){var i,o=Koe(i=r)||Goe(i)||Yoe(i)?r.symbolName:e.name;if(!(void 0===o||1536&e.flags&&mI(o.charCodeAt(0))||PO(e))){var s={name:o,needsConvertPropertyAccess:!1};if(bA(o,t,a?1:0)||e.valueDeclaration&&yE(e.valueDeclaration))return s;switch(n){case 3:return Yoe(r)?{name:r.symbolName,needsConvertPropertyAccess:!1}:void 0;case 0:return{name:JSON.stringify(o),needsConvertPropertyAccess:!1};case 2:case 1:return 32===o.charCodeAt(0)?void 0:{name:o,needsConvertPropertyAccess:!0};case 5:case 4:return s;default:rA.assertNever(n)}}}}function Fse(e,t){if(!t)return Pse(e);t=e+8+1;return qoe[t]||(qoe[t]=Pse(e).filter(function(e){return!function(e){switch(e){case 128:case 133:case 163:case 136:case 138:case 94:case 162:case 119:case 140:case 120:case 142:case 143:case 144:case 145:case 146:case 150:case 151:case 164:case 123:case 124:case 125:case 148:case 154:case 155:case 156:case 158:case 159:return!0;default:return!1}}(Ai(e.name))}))}function Pse(r){return qoe[r]||(qoe[r]=Woe().filter(function(e){var t=Ai(e.name);switch(r){case 0:return!1;case 1:return Lse(t)||138===t||144===t||156===t||145===t||128===t||JQ(t)&&157!==t;case 5:return Lse(t);case 2:return Ose(t);case 3:return Ise(t);case 4:return Bs(t);case 6:return JQ(t)||87===t;case 7:return JQ(t);case 8:return 156===t;default:return rA.assertNever(r)}}))}function Ise(e){return 148===e}function Ose(e){switch(e){case 128:case 129:case 137:case 139:case 153:case 134:case 138:case 164:return!0;default:return Js(e)}}function Lse(e){return 134===e||135===e||130===e||152===e||156===e||!ql(e)&&!Ose(e)}function Mse(e){var t;return xR(e)?null!==(t=MA(e))&&void 0!==t?t:0:e.kind}function Rse(e,t,r,n){var a,i,o=t&&t!==e,t=!o||3&t.flags?e:n.getUnionType([e,t]),n=(a=r,i=n,(n=t).isUnion()?i.getAllPossiblePropertiesOfTypes(nD(n.types,function(e){return!(402784252&e.flags||i.isArrayLikeType(e)||i.isTypeInvalidDueToUnionDiscriminant(e,a)||i.typeHasCallOrConstructSignatures(e)||e.isClass()&&jse(e.getApparentProperties()))})):n.getApparentProperties());return t.isClass()&&jse(n)?[]:o?nD(n,function(e){return!HN(e.declarations)||dD(e.declarations,function(e){return e.parent!==r})}):n}function jse(e){return dD(e,function(e){return!!(24&JL(e))})}function Bse(e,t){return e.isUnion()?rA.checkEachDefined(t.getAllPossiblePropertiesOfTypes(e.types),"getAllPossiblePropertiesOfTypes() should all be defined"):rA.checkEachDefined(e.getApparentProperties(),"getApparentProperties() should all be defined")}function Jse(e){return e.parent&&Gs(e.parent)&&$f(e.parent.parent)}function zse(e){return EF(e.left)}function Use(r,n){var e,a,i=!1,t=function(){var e=r.parent;if(Bj(e)){var t=e.getLastToken(n);return xR(r)&&t!==r?(a=161,void(i=!0)):(a=156===r.kind?void 0:156,Hse(e.moduleReference)?e:void 0)}if(qse(e,r)&&Wse(e.parent))return e;if(ih(e)||ah(e)){if(e.parent.isTypeOnly||19!==r.kind&&102!==r.kind&&28!==r.kind||(a=156),Wse(e)){if(20!==r.kind&&80!==r.kind)return e.parent.parent;i=!0,a=161}return}if(kR(r)&&uB(e))return a=156,r;if(kR(r)&&Jj(e))return a=156,Hse(e.moduleSpecifier)?e:void 0;return}();return{isKeywordOnlyCompletion:i,keywordCompletion:a,isNewIdentifierLocation:!(!t&&156!==a),isTopLevelTypeOnly:!(null==(e=null==(e=BD(t,Jj))?void 0:e.importClause)||!e.isTypeOnly)||!(null==(e=BD(t,Bj))||!e.isTypeOnly),couldBeTypeOnlyImportSpecifier:!!t&&qse(t,r),replacementSpan:function(e){if(!e)return;var t=null!==(t=FA(e,ZD(Jj,Bj)))&&void 0!==t?t:e,e=t.getSourceFile();if(wf(t,e))return IQ(t,e);rA.assert(102!==t.kind&&276!==t.kind);var r=272===t.kind?null!==(r=Vse(null==(r=t.importClause)?void 0:r.namedBindings))&&void 0!==r?r:t.moduleSpecifier:t.moduleReference,r={pos:t.getFirstToken().getStart(),end:r.pos};if(wf(r,e))return MQ(r)}(t)}}function Vse(t){var e;return QN(null==(e=BD(t,ih))?void 0:e.elements,function(e){return!e.propertyName&&bO(e.name.text)&&28!==(null==(e=tQ(e.name.pos,t.getSourceFile(),t))?void 0:e.kind)})}function qse(e,t){return Vj(e)&&(e.isTypeOnly||t===e.name&&UQ(t))}function Wse(e){if(Hse(e.parent.parent.moduleSpecifier)&&!e.parent.name){if(ih(e)){var t=Vse(e);return(t?e.elements.indexOf(t):e.elements.length)<2}return 1}}function Hse(e){return EF(e)||(null==(e=BD(Gj(e)?e.expression:e,oF))||!e.text)}function Kse(e){return e.parent&&lj(e.parent)&&(e.parent.body===e||39===e.kind)}function Gse(e,t,r){return void 0===r&&(r=new Map),n(e)||n(Uf(e.exportSymbol||e,t));function n(e){return!!(788968&e.flags)||t.isUnknownSymbol(e)||!!(1536&e.flags)&&Zf(r,yJ(e))&&t.getExportsOfModule(e).some(function(e){return Gse(e,t,r)})}}function Xse(e,t){if(0===t.length)return!0;for(var r,n=!1,a=0,i=e.length,o=0;o<i;o++){var s=e.charCodeAt(o),c=t.charCodeAt(a);if((s===c||s===function(e){if(97<=e&&e<=122)return e-32;return e}(c))&&((n=n||(void 0===r||97<=r&&r<=122&&65<=s&&s<=90||95===r&&95!==s))&&a++,a===t.length))return!0;r=s}return!1}var Qse,Yse,Zse,$se=e({"src/services/completions.ts":function(){fpe(),Fce(),joe=100,Boe=1e3,Joe={LocalDeclarationPriority:"10",LocationPriority:"11",OptionalMember:"12",MemberDeclaredBySpreadAssignment:"13",SuggestedClassMembers:"14",GlobalsOrKeywords:"15",AutoImportSuggestions:"16",ClassMemberSnippets:"17",JavascriptIdentifiers:"18",Deprecated:function(e){return"z"+e},ObjectLiteralProperty:function(e,t){return"".concat(e,"\0").concat(t,"\0")},SortBelow:function(e){return e+"1"}},zoe=function(e){return e.ThisProperty="ThisProperty/",e.ClassMemberSnippet="ClassMemberSnippet/",e.TypeOnlyAlias="TypeOnlyAlias/",e.ObjectLiteralMethodSnippet="ObjectLiteralMethodSnippet/",e.SwitchCases="SwitchCases/",e.ObjectLiteralMemberWithComma="ObjectLiteralMemberWithComma/",e}(zoe||{}),Uoe=function(e){return e[e.ThisType=1]="ThisType",e[e.SymbolMember=2]="SymbolMember",e[e.Export=4]="Export",e[e.Promise=8]="Promise",e[e.Nullable=16]="Nullable",e[e.ResolvedExport=32]="ResolvedExport",e[e.TypeOnlyAlias=64]="TypeOnlyAlias",e[e.ObjectLiteralMethod=128]="ObjectLiteralMethod",e[e.Ignore=256]="Ignore",e[e.ComputedPropertyName=512]="ComputedPropertyName",e[e.SymbolMemberNoExport=2]="SymbolMemberNoExport",e[e.SymbolMemberExport=6]="SymbolMemberExport",e}(Uoe||{}),Voe=function(e){return e[e.ObjectPropertyDeclaration=0]="ObjectPropertyDeclaration",e[e.Global=1]="Global",e[e.PropertyAccess=2]="PropertyAccess",e[e.MemberLike=3]="MemberLike",e[e.String=4]="String",e[e.None=5]="None",e}(Voe||{}),qoe=[],Woe=va(function(){for(var e=[],t=83;t<=165;t++)e.push({name:vA(t),kind:"keyword",kindModifiers:"",sortText:Joe.GlobalsOrKeywords});return e})}});function ece(){var r=new Map;return{add:function(e){var t=r.get(e.name);(!t||Qse[t.kind]<Qse[e.kind])&&r.set(e.name,e)},has:r.has.bind(r),values:r.values.bind(r)}}function tce(e,t,r,n,a,i,o,s,c){var u;if(AQ(e,t))return(u=function(e,t,r,n){var a=QX(e,t),i=$i(e.text,a.pos),o=i&&QN(i,function(e){return t>=e.pos&&t<=e.end});if(!o)return;var s=e.text.slice(o.pos,t),c=Yse.exec(s);if(!c)return;a=__read(c,4),i=a[1],s=a[2],c=a[3],a=lA(e.path),e="path"===s?yce(c,a,mce(r,0,e),n,!0,e.path):"types"===s?Tce(n,r,a,xce(c),mce(r,1,e)):rA.fail();return fce(c,o.pos+i.length,PD(e.values()))}(e,t,n,a))&&nce(u);if(iQ(e,t,r)&&(r&&oF(r)))return function(e,t,r,n,a,i,o,s,c,u){if(void 0===e)return;var _=OQ(t);switch(e.kind){case 0:return nce(e.paths);case 1:var l=[];return hse(e.symbols,l,t,t,r,c,r,n,a,99,i,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,u),{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:e.hasIndexSignature,optionalReplacementSpan:_,entries:l};case 2:l=e.types.map(function(e){return{name:e.value,kindModifiers:"",kind:"string",sortText:Joe.LocationPriority,replacementSpan:PQ(t)}});return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:e.isNewIdentifier,optionalReplacementSpan:_,entries:l};default:return rA.assertNever(e)}}(u=ice(e,r,t,i.getTypeChecker(),n,a,s),r,e,a,i,o,n,s,t,c)}function rce(e,t,r,n,a,i,o,s,c){if(n&&oF(n)){c=ice(t,n,r,a,i,o,c);return c&&function(t,e,r,n,a,i){switch(r.kind){case 0:return(o=QN(r.paths,function(e){return e.name===t}))&&Sse(t,ace(o.extension),o.kind,[OY(t)]);case 1:var o;return(o=QN(r.symbols,function(e){return e.name===t}))&&Tse(o,o.name,a,n,e,i);case 2:return QN(r.types,function(e){return e.value===t})?Sse(t,"","string",[OY(t)]):void 0;default:return rA.assertNever(r)}}(e,n,c,t,a,s)}}function nce(e){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!0,entries:e.map(function(e){var t=e.name,r=e.kind,n=e.span;return{name:t,kind:r,kindModifiers:ace(e.extension),sortText:Joe.LocationPriority,replacementSpan:n}})}}function ace(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 rA.fail("Extension ".concat(".tsbuildinfo"," is unsupported."));case void 0:return"";default:return rA.assertNever(e)}}function ice(e,t,i,o,r,n,a){var s=oce(t.parent);switch(s.kind){case 201:var c=oce(s.parent);return 205===c.kind?{kind:0,paths:pce(e,t,r,n,o,a)}:function e(t){switch(t.kind){case 233:case 183:var r=FA(s,function(e){return e.parent===t});return r?{kind:2,types:_ce(o.getTypeArgumentConstraint(r)),isNewIdentifier:!1}:void 0;case 199:var r=t.indexType,n=t.objectType;return wX(r,i)?uce(o.getTypeFromTypeNode(n)):void 0;case 192:var n=e(oce(t.parent));if(!n)return;var a=sce(t,s);return 1===n.kind?{kind:1,symbols:n.symbols.filter(function(e){return!eD(a,e.name)}),hasIndexSignature:n.hasIndexSignature}:{kind:2,types:n.types.filter(function(e){return!eD(a,e.value)}),isNewIdentifier:!1};default:return}}(c);case 303:return nj(s.parent)&&s.name===t?function(e,t){var r=e.getContextualType(t);if(!r)return;var n=e.getContextualType(t,4);return{kind:1,symbols:Rse(r,n,t,e),hasIndexSignature:kZ(r)}}(o,s.parent):d()||d(0);case 212:var u=s.expression,c=s.argumentExpression;return t===oO(c)?uce(o.getTypeAtLocation(u)):void 0;case 213:case 214:case 291:if(!(oj((u=t).parent)&&kD(u.parent.arguments)===u&&xR(u.parent.expression)&&"require"===u.parent.expression.escapedText||mP(s))){var _=dle.getArgumentInfoForCompletions(291===s.kind?s.parent:t,i,e);return _&&(cce(_.invocation,t,_,o)||cce(_.invocation,t,_,o,0))||d(0)}case 272:case 278:case 283:return{kind:0,paths:pce(e,t,r,n,o,a)};case 296:var l=f$(o,s.parent.clauses),_=d();return _?{kind:2,types:_.types.filter(function(e){return!l.hasValue(e.value)}),isNewIdentifier:!1}:void 0;default:return d()||d(0)}function d(e){void 0===e&&(e=4);e=_ce(gZ(t,o,e));if(e.length)return{kind:2,types:e,isNewIdentifier:!1}}}function oce(e){switch(e.kind){case 196:return nO(e);case 217:return aO(e);default:return e}}function sce(e,t){return uD(e.types,function(e){return e!==t&&YR(e)&&hR(e.literal)?e.literal.text:void 0})}function cce(r,e,n,a,t){void 0===t&&(t=32);var i=!1,o=new Map,s=[],c=YE(r)?rA.checkDefined(FA(e.parent,$j)):e;a.getResolvedSignatureForStringLiteralCompletions(r,c,s,t);s=cD(s,function(e){if(bJ(e)||!(n.argumentCount>e.parameters.length)){var t=e.getTypeParameterAtPosition(n.argumentIndex);return!YE(r)||(e=a.getTypeOfPropertyOfType(t,aR(c.name)))&&(t=e),i=i||!!(4&t.flags),_ce(t,o)}});return HN(s)?{kind:2,types:s,isNewIdentifier:i}:void 0}function uce(e){return e&&{kind:1,symbols:nD(e.getApparentProperties(),function(e){return!e.valueDeclaration||!yE(e.valueDeclaration)}),hasIndexSignature:kZ(e)}}function _ce(e,t){return void 0===t&&(t=new Map),e?(e=KQ(e)).isUnion()?cD(e.types,function(e){return _ce(e,t)}):!e.isStringLiteral()||1024&e.flags||!Zf(t,e.value)?WN:[e]:WN}function lce(e,t,r){return{name:e,kind:t,extension:r}}function dce(e){return lce(e,"directory",void 0)}function fce(e,t,r){var n,a,i,o,s=(n=e,a=t,i=Math.max(n.lastIndexOf(ca),n.lastIndexOf(ua)),o=-1!==i?i+1:0,0==(i=n.length-o)||bA(n.substr(o,i),99)?void 0:So(a+o,i)),c=0===e.length?void 0:So(t,e.length);return r.map(function(e){var t=e.name,r=e.kind,e=e.extension;return-1!==Math.max(t.indexOf(ca),t.indexOf(ua))?{name:t,kind:r,extension:e,span:c}:{name:t,kind:r,extension:e,span:s}})}function pce(e,t,r,n,a,i){return fce(t.text,t.getStart(e)+1,(o=e,s=r,c=n,e=a,r=i,a=La((n=t).text),i=oF(n)?VV(o,n):void 0,t=o.path,n=lA(t),r=mce(s,1,o,e,r,i),function(e){if(e&&2<=e.length&&46===e.charCodeAt(0)){var t=3<=e.length&&46===e.charCodeAt(1)?2:1,t=e.charCodeAt(t);return 47===t||92===t}return!1}(a)||!s.baseUrl&&!s.paths&&(ka(a)||ba(a))?function(e,t,r,n,a,i){return r.rootDirs?function(e,t,r,n,a,i,o){var s=a.project||i.getCurrentDirectory(),a=!(i.useCaseSensitiveFileNames&&i.useCaseSensitiveFileNames());return cD(function(e,t,r,n){var a=GN(e=e.map(function(e){return pi(ka(e)?e:dA(t,e))}),function(e){return Ga(e,r,t,n)?r.substr(e.length):void 0});return mD(__spreadArray(__spreadArray([],__read(e.map(function(e){return dA(e,a)})),!1),[r],!1),cr,ge)}(e,s,r,a),function(e){return PD(yce(t,e,n,i,!0,o).values())})}(r.rootDirs,e,t,i,r,n,a):PD(yce(e,t,i,n,!0,a).values())}(a,n,s,c,t,r):function(o,e,s,c,u,_,t){var r,n,a,i,l=c.baseUrl,d=c.paths,f=ece(),p=iM(c);l&&(m=pi(dA(u.getCurrentDirectory(),l)),yce(o,m,_,u,!1,void 0,f));{var m;d&&(m=Dd(c,u),gce(f,o,m,_,u,d))}var y=xce(o);try{for(var v=__values(function(t,e,r){r=r.getAmbientModules().map(function(e){return UO(e.name)}).filter(function(e){return XD(e,t)&&e.indexOf("*")<0});if(void 0===e)return r;var n=Ua(e);return r.map(function(e){return QD(e,n)})}(o,y,t)),g=v.next();!g.done;g=v.next()){var h=g.value;f.add(lce(h,"external module name",void 0))}}catch(e){r={error:e}}finally{try{g&&!g.done&&(n=v.return)&&n.call(v)}finally{if(r)throw r.error}}if(Tce(u,c,e,y,_,f),eY(p)){var x,b=!1;if(void 0===y)try{for(var k=__values(function(e,t){var r,n,a,i;if(!e.readFile||!e.fileExists)return WN;var o=[];try{for(var s=__values(RZ(t,e)),c=s.next();!c.done;c=s.next()){var u=mf(c.value,e);try{for(var _=(a=void 0,__values(Zse)),l=_.next();!l.done;l=_.next()){var d=l.value,f=u[d];if(f)for(var p in f)ma(f,p)&&!XD(p,"@types/")&&o.push(p)}}catch(e){a={error:e}}finally{try{l&&!l.done&&(i=_.return)&&i.call(_)}finally{if(a)throw a.error}}}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o}(u,e)),T=k.next();!T.done;T=k.next()){var S=lce(T.value,"external module name",void 0);f.has(S.name)||(b=!0,f.add(S))}}catch(e){a={error:e}}finally{try{T&&!T.done&&(i=k.return)&&i.call(k)}finally{if(a)throw a.error}}b||(p=function(e){e=dA(e,"node_modules");OZ(u,e)&&yce(o,e,_,u,!1,void 0,f)},y&&Op(c)&&(x=p,p=function(e){var t=Ia(o);t.shift();var r=t.shift();if(!r)return x(e);if(XD(r,"@")){var n=t.shift();if(!n)return x(e);r=dA(r,n)}n=dA(e,"node_modules",r),r=dA(n,"package.json");if(IZ(u,r)){var a=mf(r,u).exports;if(a){if("object"!=typeof a||null===a)return;var r=G(a),t=t.join("/")+(t.length&&Ca(o)?"/":""),i=bS(c,99===s);return void hce(f,t,n,_,u,r,function(e){return eA(function e(t,r){if("string"==typeof t)return t;if(t&&"object"==typeof t&&!RD(t))for(var n in t)if("default"===n||-1<r.indexOf(n)||xw(r,n)){var a=t[n];return e(a,r)}}(a[e],i))},vw)}}return x(e)}),ti(e,p))}return PD(f.values())}(a,n,i,s,c,r,e)));var o,s,c}function mce(e,t,r,n,a,i){return{extensionsToSearch:sD(function(e,t){t=t?uD(t.getAmbientModules(),function(e){e=e.name.slice(1,-1);if(e.startsWith("*.")&&!e.includes("/"))return e.slice(1)}):[],t=__spreadArray(__spreadArray([],__read(im(e)),!1),[t],!1);return eY(iM(e))?om(e,t):t}(e,n)),referenceKind:t,importingSourceFile:r,endingPreference:null==a?void 0:a.importModuleSpecifierEnding,resolutionMode:i}}function yce(e,t,r,n,a,i,o){var s,c,u,_;void 0===o&&(o=ece()),void 0===e&&(e=""),Ca(e=La(e))||(e=lA(e)),""===e&&(e="."+ca);var l=Ra(t,e=Ua(e)),d=Ca(l)?l:lA(l);if(!a){e=jZ(d,n);if(e){var a=mf(e,n).typesVersions;if("object"==typeof a){a=null==(a=mS(a))?void 0:a.paths;if(a){e=lA(e);if(gce(o,l.slice(Ua(e).length),e,r,n,a))return o}}}}var f=!(n.useCaseSensitiveFileNames&&n.useCaseSensitiveFileNames());if(!OZ(n,d))return o;var p=PZ(n,d,r.extensionsToSearch,void 0,["./*"]);if(p)try{for(var m=__values(p),y=m.next();!y.done;y=m.next()){var v,g=pi(g=y.value);i&&0===pA(g,i,t,f)||(g=(v=vce(Ea(g),n.getCompilationSettings(),r)).name,v=v.extension,o.add(lce(g,"script",v)))}}catch(e){s={error:e}}finally{try{y&&!y.done&&(c=m.return)&&c.call(m)}finally{if(s)throw s.error}}var h=FZ(n,d);if(h)try{for(var x=__values(h),b=x.next();!b.done;b=x.next()){var k=Ea(pi(b.value));"@types"!==k&&o.add(dce(k))}}catch(e){u={error:e}}finally{try{b&&!b.done&&(_=x.return)&&_.call(x)}finally{if(u)throw u.error}}return o}function vce(e,t,r){var n=kC.tryGetRealFileNameForNonJsDeclarationFileName(e);if(n)return{name:n,extension:kM(n)};if(0===r.referenceKind)return{name:e,extension:kM(e)};n=_m(r.endingPreference,r.resolutionMode,t,r.importingSourceFile);if(3===n){if(_A(e,Su))return{name:e,extension:kM(e)};r=kC.tryGetJSExtensionForFile(e,t);return r?{name:ym(e,r),extension:r}:{name:e,extension:kM(e)}}if((0===n||1===n)&&_A(e,[".js",".jsx",".ts",".tsx",".d.ts"]))return{name:pm(e),extension:kM(e)};t=kC.tryGetJSExtensionForFile(e,t);return t?{name:ym(e,t),extension:t}:{name:e,extension:kM(e)}}function gce(e,t,r,n,a,i){return hce(e,t,r,n,a,G(i),function(e){return i[e]},function(e,t){var r=vm(e),n=vm(t),e=("object"==typeof r?r.prefix:e).length;return UD(("object"==typeof n?n.prefix:t).length,e)})}function hce(t,e,r,n,a,i,o,s){var c,u,_,l=[];try{for(var d=__values(i),f=d.next();!f.done;f=d.next()){var p,m,y,v,g=f.value;"."!==g&&(p=g.replace(/^\.\//,""),!(m=o(g))||(y=vm(p))&&(!(v="object"==typeof y&&Re(y,e))||void 0!==_&&-1!==s(g,_)||(_=g,l=l.filter(function(e){return!e.matchedPattern})),"string"!=typeof y&&void 0!==_&&1===s(g,_)||l.push({matchedPattern:v,results:function(e,t,r,n,a,i){if(!qD(e,"*"))return WD(e,"*")?WN:c(e,"script");var o=e.slice(0,e.length-1),s=Le(r,o);return void 0!==s?cD(t,function(e){return bce(s,n,e,a,i)}):"/"===e[e.length-2]?c(o,"directory"):cD(t,function(e){return null==(e=bce("",n,e,a,i))?void 0:e.map(function(e){var t=e.name,e=__rest(e,["name"]);return __assign({name:o+t},e)})});function c(e,t){return XD(e,r)?[{name:za(e),kind:t,extension:void 0}]:WN}}(p,m,e,r,n,a).map(function(e){return lce(e.name,e.kind,e.extension)})})))}}catch(e){c={error:e}}finally{try{f&&!f.done&&(u=d.return)&&u.call(d)}finally{if(c)throw c.error}}return l.forEach(function(e){return e.results.forEach(function(e){return t.add(e)})}),void 0!==_}function xce(e){return Sce(e)?Ca(e)?e:lA(e):void 0}function bce(e,t,r,a,i){if(i.readDirectory){var n=vm(r);if(void 0!==n&&!jD(n)){var o=Ra(n.prefix),s=Ca(n.prefix)?o:lA(o),r=Ca(n.prefix)?"":Ea(o),o=Sce(e),e=o?Ca(e)?e:lA(e):void 0,e=o?dA(s,r+e):s,s=pi(n.suffix),n=s&&Cd("_"+s),c=n?[ym(s,n),s]:[s],e=pi(dA(t,e)),u=o?e:Ua(e)+r,r=s?c.map(function(e){return"**/*"+e}):["./*"],r=uD(PZ(i,e,a.extensionsToSearch,void 0,r),function(e){var n,e=(n=e,GN(c,function(e){var t,r,r=(t=pi(n),r=e,XD(t,e=u)&&qD(t,r)?t.slice(e.length,t.length-r.length):void 0);return void 0===r?void 0:kce(r)}));if(e){if(Sce(e))return dce(Ia(kce(e))[1]);e=vce(e,i.getCompilationSettings(),a);return lce(e.name,"script",e.extension)}}),e=s?WN:uD(FZ(i,e),function(e){return"node_modules"===e?void 0:dce(e)});return __spreadArray(__spreadArray([],__read(r),!1),__read(e),!1)}}}function kce(e){return e[0]===ca?e.slice(1):e}function Tce(s,c,e,u,_,l){var t,r,n,a;void 0===l&&(l=ece());var d=new Map,i=LZ(function(){return yS(c,s)})||WN;try{for(var o=__values(i),f=o.next();!f.done;f=o.next())y(f.value)}catch(e){t={error:e}}finally{try{f&&!f.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}try{for(var p=__values(RZ(e,s)),m=p.next();!m.done;m=p.next())y(dA(lA(m.value),"node_modules/@types"))}catch(e){n={error:e}}finally{try{m&&!m.done&&(a=p.return)&&a.call(p)}finally{if(n)throw n.error}}return l;function y(e){var t,r;if(OZ(s,e))try{for(var n=__values(FZ(s,e)),a=n.next();!a.done;a=n.next()){var i=a.value,o=Ew(i);c.types&&!eD(c.types,o)||(void 0===u?d.has(o)||(l.add(lce(o,"external module name",void 0)),d.set(o,!0)):(i=dA(e,i),void 0!==(o=Wp(u,o,hd(s)))&&yce(o,i,_,s,!1,void 0,l)))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}}function Sce(e){return WD(e,ca)}var wce=e({"src/services/stringCompletions.ts":function(){fpe(),Fce(),Qse={directory:0,script:1,"external module name":2},Yse=/^(\/\/\/\s*<reference\s+(path|types)\s*=\s*(?:'|"))([^\3"]*)$/,Zse=["dependencies","devDependencies","peerDependencies","optionalDependencies"]}}),Cce={};t(Cce,{getStringLiteralCompletionDetails:function(){return rce},getStringLiteralCompletions:function(){return tce}});var Nce=e({"src/services/_namespaces/ts.Completions.StringCompletions.ts":function(){wce()}}),Dce={};t(Dce,{CompletionKind:function(){return Voe},CompletionSource:function(){return zoe},SortText:function(){return Joe},StringCompletions:function(){return Cce},SymbolOriginInfoKind:function(){return Uoe},createCompletionDetails:function(){return Sse},createCompletionDetailsForSymbol:function(){return Tse},getCompletionEntriesFromSymbols:function(){return hse},getCompletionEntryDetails:function(){return bse},getCompletionEntrySymbol:function(){return wse},getCompletionsAtPosition:function(){return $oe},getPropertiesForObjectExpression:function(){return Rse},moduleSpecifierResolutionCacheAttemptLimit:function(){return Boe},moduleSpecifierResolutionLimit:function(){return joe}});var Ace,Ece,Fce=e({"src/services/_namespaces/ts.Completions.ts":function(){$se(),Nce()}});function Pce(c,k,T,S){var w=function(e,n,t){var r,a,i=new Map;try{for(var o=__values(e),s=o.next();!s.done;s=o.next()){var c=s.value;t&&t.throwIfCancellationRequested(),Lce(c,function(e,t){var r=n.getSymbolAtLocation(t);r&&(t=yJ(r).toString(),(r=i.get(t))||i.set(t,r=[]),r.push(e))})}}catch(e){r={error:e}}finally{try{s&&!s.done&&(a=o.return)&&a.call(o)}finally{if(r)throw r.error}}return i}(c,T,S);return function(e,t,r){var i,o,n,a,_,l,s,d,f,u,p,m,y,a=(i=c,o=k,n=w,_=T,l=S,s=(a=t).exportingModuleSymbol,d=a.exportKind,f=qQ(),u=qQ(),p=[],m=!!s.globalExports,y=m?void 0:[],function e(t){var r,n;var a=b(t);if(a)try{for(var i=__values(a),o=i.next();!o.done;o=i.next()){var s=o.value;if(f(s))switch(l&&l.throwIfCancellationRequested(),s.kind){case 213:if(mP(s)){v(s);break}if(!m){var c=s.parent;if(2===d&&260===c.kind){var u=c.name;if(80===u.kind){p.push(u);break}}}break;case 80:break;case 271:h(s,s.name,_L(s,1),!1);break;case 272:p.push(s);var u=s.importClause&&s.importClause.namedBindings;u&&274===u.kind?h(s,u.name,!1,!0):!m&&Sl(s)&&x(Bce(s));break;case 278:s.exportClause?280===s.exportClause.kind?x(Bce(s),!0):p.push(s):e(jce(s,_));break;case 205:!m&&s.isTypeOf&&!s.qualifier&&g(s)&&x(s.getSourceFile(),!0),p.push(s);break;default:rA.failBadSyntaxKind(s,"Unexpected import kind.")}}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}(s),{directImports:p,indirectUsers:function(){var t,e;if(m)return i;if(s.declarations)try{for(var r=__values(s.declarations),n=r.next();!n.done;n=r.next()){var a=n.value;UF(a)&&o.has(a.getSourceFile().fileName)&&x(a)}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}return y.map(CF)}()});function v(e){x(FA(e,Jce)||e.getSourceFile(),!!g(e,!0))}function g(e,t){return void 0===t&&(t=!1),FA(e,function(e){return t&&Jce(e)?"quit":VB(e)&&dD(e.modifiers,og)})}function h(e,t,r,n){var a,i;2===d?n||p.push(e):m||(e=Bce(e),rA.assert(312===e.kind||267===e.kind),r||(r=e,t=t,i=(a=_).getSymbolAtLocation(t),!!Oce(r,function(e){if(Wj(e)){var t=e.exportClause;return!e.moduleSpecifier&&t&&Hj(t)&&t.elements.some(function(e){return a.getExportSpecifierLocalTargetSymbol(e)===i})}}))?x(e,!0):x(e))}function x(e,t){var r,n;void 0===t&&(t=!1),rA.assert(!m);var a=u(e);if(a&&(y.push(e),t)){e=_.getMergedSymbol(e.symbol);if(e){rA.assert(!!(1536&e.flags));var i=b(e);if(i)try{for(var o=__values(i),s=o.next();!s.done;s=o.next()){var c=s.value;ZR(c)||x(Bce(c),!0)}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}}}function b(e){return n.get(yJ(e).toString())}return __assign({indirectUsers:a.indirectUsers},function(e,c,n,u,_){var t,r,a=[],l=[];function d(e,t){a.push([e,t])}if(e)try{for(var i=__values(e),o=i.next();!o.done;o=i.next())!function(e){if(271===e.kind)return zce(e)&&s(e.name);if(80===e.kind)return s(e),0;if(205===e.kind)return e.qualifier?(t=EL(e.qualifier)).escapedText===RA(c)&&l.push(t):2===n&&l.push(e.argument.literal);if(11===e.moduleSpecifier.kind){if(278===e.kind)return e.exportClause&&Hj(e.exportClause)&&f(e.exportClause);var t=e.importClause||{name:void 0,namedBindings:void 0},e=t.name,r=t.namedBindings;if(r)switch(r.kind){case 274:s(r.name);break;case 275:0!==n&&1!==n||f(r);break;default:rA.assertNever(r)}!e||1!==n&&2!==n||_&&e.escapedText!==cY(c)||(t=u.getSymbolAtLocation(e),d(e,t))}}(o.value)}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return{importSearches:a,singleReferences:l};function s(e){2!==n||_&&!p(e.escapedText)||d(e,u.getSymbolAtLocation(e))}function f(e){var t,r;if(e)try{for(var n=__values(e.elements),a=n.next();!a.done;a=n.next()){var i=a.value,o=i.name,s=i.propertyName;p((s||o).escapedText)&&(s?(l.push(s),_&&o.escapedText!==c.escapedName||d(o,u.getSymbolAtLocation(o))):d(o,281===i.kind&&i.propertyName?u.getExportSpecifierLocalTargetSymbol(i):u.getSymbolAtLocation(o)))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}function p(e){return e===c.escapedName||0!==n&&"default"===e}}(a.directImports,e,t.exportKind,T,r))}}function Ice(d,e,f){var t,r,p,m=[],y=d.getTypeChecker();try{for(var n=__values(e),a=n.next();!a.done;a=n.next())!function(r){var t,e,n,a,i=f.valueDeclaration;if(312===(null==i?void 0:i.kind)){try{for(var o=(t=void 0,__values(r.referencedFiles)),s=o.next();!s.done;s=o.next()){var c=s.value;d.getSourceFileFromReference(r,c)===i&&m.push({kind:"reference",referencingFile:r,ref:c})}}catch(e){t={error:e}}finally{try{s&&!s.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}try{for(var u=(n=void 0,__values(r.typeReferenceDirectives)),_=u.next();!_.done;_=u.next()){var c=_.value,l=null==(p=d.getResolvedTypeReferenceDirectives().get(c.fileName,c.resolutionMode||r.impliedNodeFormat))?void 0:p.resolvedTypeReferenceDirective;void 0!==l&&l.resolvedFileName===i.fileName&&m.push({kind:"reference",referencingFile:r,ref:c})}}catch(e){n={error:e}}finally{try{_&&!_.done&&(a=u.return)&&a.call(u)}finally{if(n)throw n.error}}}Lce(r,function(e,t){y.getSymbolAtLocation(t)===f&&m.push(jO(e)?{kind:"implicit",literal:t,referencingFile:r}:{kind:"import",literal:t})})}(a.value)}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return m}function Oce(e,t){return KN((312===e.kind?e:e.body).statements,function(e){return t(e)||Jce(e)&&KN(e.body&&e.body.statements,t)})}function Lce(e,r){var t,n;if(e.externalModuleIndicator||void 0!==e.imports)try{for(var a=__values(e.imports),i=a.next();!i.done;i=a.next()){var o=i.value;r(kl(o),o)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}else Oce(e,function(e){switch(e.kind){case 278:case 272:(t=e).moduleSpecifier&&hR(t.moduleSpecifier)&&r(t,t.moduleSpecifier);break;case 271:var t;zce(t=e)&&r(t,t.moduleReference.expression)}})}function Mce(s,c,u,_){return _?e():e()||function(){if(!function(e){var t=e.parent;switch(t.kind){case 271:return t.name===e&&zce(t);case 276:return!t.propertyName;case 273:case 274:return rA.assert(t.name===e),1;case 208:return cI(e)&&fI(t.parent.parent);default:return}}(s))return;var e=u.getImmediateAliasedSymbol(c);if(!e)return;if("export="===(e=function(e,t){var r,n;if(e.declarations)try{for(var a=__values(e.declarations),i=a.next();!i.done;i=a.next()){var o=i.value;if(Kj(o)&&!o.propertyName&&!o.parent.parent.moduleSpecifier)return t.getExportSpecifierLocalTargetSymbol(o)||e;if(aj(o)&&CI(o.expression)&&!bR(o.name))return t.getSymbolAtLocation(o);if(oB(o)&&mj(o.parent.parent)&&2===NI(o.parent.parent))return t.getExportSpecifierLocalTargetSymbol(o.name)}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return e}(e,u)).escapedName&&void 0===(e=function(e,t){var r;if(2097152&e.flags)return t.getImmediateAliasedSymbol(e);e=rA.checkDefined(e.valueDeclaration);{if(qj(e))return null==(r=BD(e.expression,HE))?void 0:r.symbol;if(mj(e))return null==(r=BD(e.right,HE))?void 0:r.symbol;if(uB(e))return e.symbol}return}(e,u)))return;var t=cY(e);if(void 0===t||"default"===t||t===c.escapedName)return{kind:0,symbol:e}}();function e(){var t=s.parent,e=t.parent;if(c.exportSymbol)return 211===t.kind?null!=(a=c.declarations)&&a.some(function(e){return e===t})&&mj(e)?o(e,!1):void 0:l(c.exportSymbol,d(t));var r,n,a,r=(n=s,(a=Aj(r=t)?r:tj(r)?NA(r):void 0)?r.name===n&&!aB(a.parent)&&Tj(a.parent.parent)?a.parent.parent:void 0:r);return r&&_L(r,1)?Bj(r)&&r.moduleReference===s?_?void 0:{kind:0,symbol:u.getSymbolAtLocation(r.name)}:l(c,d(r)):Uj(t)?l(c,0):qj(t)?i(t):qj(e)?i(e):mj(t)?o(t,!0):mj(e)?o(e,!0):AB(t)||TB(t)?l(c,0):void 0;function i(e){if(e.symbol.parent){var t=e.isExportEquals?2:1;return{kind:1,symbol:c,exportInfo:{exportingModuleSymbol:e.symbol.parent,exportKind:t}}}}function o(e,t){var r;switch(NI(e)){case 1:r=0;break;case 2:r=2;break;default:return}e=t?u.getSymbolAtLocation(ep(JD(e.left,GL))):c;return e&&l(e,r)}}function l(e,t){t=Rce(e,t,u);return t&&{kind:1,symbol:e,exportInfo:t}}function d(e){return _L(e,1024)?1:0}}function Rce(e,t,r){e=e.parent;if(e){e=r.getMergedSymbol(e);return VQ(e)?{exportingModuleSymbol:e,exportKind:t}:void 0}}function jce(e,t){return t.getMergedSymbol(Bce(e).symbol)}function Bce(e){if(213===e.kind)return e.getSourceFile();e=e.parent;return 312===e.kind?e:(rA.assert(268===e.kind),JD(e.parent,Jce))}function Jce(e){return 267===e.kind&&11===e.name.kind}function zce(e){return 283===e.moduleReference.kind&&11===e.moduleReference.expression.kind}var Uce,Vce,qce,Wce,Hce=e({"src/services/importTracker.ts":function(){fpe(),Ace=function(e){return e[e.Named=0]="Named",e[e.Default=1]="Default",e[e.ExportEquals=2]="ExportEquals",e}(Ace||{}),Ece=function(e){return e[e.Import=0]="Import",e[e.Export=1]="Export",e}(Ece||{})}});function Kce(e,t){return void 0===t&&(t=1),{kind:t,node:e.name||e,context:function(e){if(GE(e))return Xce(e);if(!e.parent)return;if(!GE(e.parent)&&!qj(e.parent)){if(cI(e)){var t=mj(e.parent)?e.parent:GL(e.parent)&&mj(e.parent.parent)&&e.parent.parent.left===e.parent?e.parent.parent:void 0;if(t&&0!==NI(t))return Xce(t)}if(Yj(e.parent)||uh(e.parent))return e.parent.parent;if(Qj(e.parent)||Qg(e.parent)||hs(e.parent))return e.parent;if(oF(e)){t=Tl(e);if(t){var r=FA(t,function(e){return GE(e)||XE(e)||Fc(e)});return GE(r)?Xce(r):r}}r=FA(e,SR);return r?Xce(r.parent):void 0}if(e.parent.name===e||IR(e.parent)||qj(e.parent)||(fE(e.parent)||tj(e.parent))&&e.parent.propertyName===e||90===e.kind&&_L(e.parent,1025))return Xce(e.parent);return}(e)}}function Gce(e){return e&&void 0===e.kind}function Xce(e){if(e)switch(e.kind){case 260:return Ej(e.parent)&&1===e.parent.declarations.length?Tj(e.parent.parent)?e.parent.parent:qE(e.parent.parent)?Xce(e.parent.parent):e.parent:e;case 208:return Xce(e.parent.parent);case 276:return e.parent.parent.parent;case 281:case 274:return e.parent.parent;case 273:case 280:return e.parent;case 226:return Sj(e.parent)?e.parent:e;case 250:case 249:return{start:e.initializer,end:e.expression};case 303:case 304:return DQ(e.parent)?Xce(FA(e.parent,function(e){return mj(e)||qE(e)})):e;default:return e}}function Qce(e,t,r){if(r){t=Gce(r)?uue(r.start,t,r.end):uue(r,t);return t.start!==e.start||t.length!==e.length?{contextSpan:t}:void 0}}function Yce(e,t,r,n,a){var _=GX(n,a),n={use:1},r=Wce.getReferencedSymbolsForNode(a,_,e,r,t,n),i=e.getTypeChecker(),e=Wce.getAdjustedNode(_,n),o=90===(n=e).kind||!!Ml(n)||_O(n)||137===n.kind&&IR(n.parent)?i.getSymbolAtLocation(e):void 0;return r&&r.length?uD(r,function(e){var u=e.definition,e=e.references;return u&&{definition:i.runWithCancellationToken(t,function(e){return o=u,s=e,c=_,t=function(){switch(o.type){case 0:var e=aue(i=o.symbol,s,c),t=e.displayParts,r=e.kind,n=t.map(function(e){return e.text}).join(""),a=i.declarations&&kD(i.declarations),e=a?JA(a)||a:c;return __assign(__assign({},nue(e)),{name:n,kind:r,displayParts:t,context:Xce(a)});case 1:e=o.node;return __assign(__assign({},nue(e)),{name:e.text,kind:"label",displayParts:[CY(e.text,17)]});case 2:n=vA((e=o.node).kind);return __assign(__assign({},nue(e)),{name:n,kind:"keyword",displayParts:[{text:n,kind:"keyword"}]});case 3:var i,e=o.node,t=(i=s.getSymbolAtLocation(e))&&Ele.getSymbolDisplayPartsDocumentationAndSymbolKind(s,i,e.getSourceFile(),hX(e),e).displayParts||[OY("this")];return __assign(__assign({},nue(e)),{name:"this",kind:"var",displayParts:t});case 4:e=o.node;return __assign(__assign({},nue(e)),{name:e.text,kind:"var",displayParts:[CY(PF(e),8)]});case 5:return{textSpan:MQ(o.reference),sourceFile:o.file,name:o.reference.fileName,kind:"string",displayParts:[CY('"'.concat(o.reference.fileName,'"'),8)]};default:return rA.assertNever(o)}}(),r=t.sourceFile,n=t.textSpan,a=t.name,i=t.kind,e=t.displayParts,t=t.context,__assign({containerKind:"",containerName:"",fileName:r.fileName,kind:i,name:a,textSpan:n,displayParts:e},Qce(n,r,t));var o,s,c,t,r,n,a,i}),references:e.map(function(e){return r=o,e=oue(t=e),r?__assign(__assign({},e),{isDefinition:0!==t.kind&&due(t.node,r)}):e;var t,r})}}):void 0}function Zce(e,t,r,n,a){var i,n=GX(n,a),a=$ce(e,t,r,n,a);if(211===n.parent.kind||208===n.parent.kind||212===n.parent.kind||108===n.kind)i=a&&__spreadArray([],__read(a),!1);else if(a)for(var o=te(a),s=new Map;!o.isEmpty();){var c=o.dequeue();Zf(s,mJ(c.node))&&(i=vD(i,c),(c=$ce(e,t,r,c.node,c.node.pos))&&o.enqueue.apply(o,__spreadArray([],__read(c),!1)))}var u=e.getTypeChecker();return iD(i,function(e){return function(e,t){var r=sue(e);{if(0===e.kind)return __assign(__assign({},r),{kind:"",displayParts:[]});e=e.node;return __assign(__assign({},r),function(e,t){var r=t.getSymbolAtLocation(GE(e)&&e.name?e.name:e);return r?aue(r,t,e):210===e.kind?{kind:"interface",displayParts:[AY(21),OY("object literal"),AY(22)]}:231===e.kind?{kind:"local class",displayParts:[AY(21),OY("anonymous local class"),AY(22)]}:{kind:xX(e),displayParts:[]}}(e,t))}}(e,u)})}function $ce(e,t,r,n,a){if(312!==n.kind){var i=e.getTypeChecker();if(304===n.parent.kind){var o=[];return Wce.getReferenceEntriesForShorthandPropertyAssignment(n,i,function(e){return o.push(Kce(e))}),o}if(108===n.kind||VP(n.parent)){i=i.getSymbolAtLocation(n);return i.valueDeclaration&&[Kce(i.valueDeclaration)]}return tue(a,n,e,r,t,{implementations:!0,use:1})}}function eue(t,e,r,n,a,i,o){return iD(rue(Wce.getReferencedSymbolsForNode(a,n,t,r,e,i)),function(e){return o(e,n,t.getTypeChecker())})}function tue(e,t,r,n,a,i,o){return void 0===i&&(i={}),void 0===o&&(o=new Set(n.map(function(e){return e.fileName}))),rue(Wce.getReferencedSymbolsForNode(e,t,r,n,a,i,o))}function rue(e){return e&&cD(e,function(e){return e.references})}function nue(e){var t=e.getSourceFile();return{sourceFile:t,textSpan:uue(SR(e)?e.expression:e,t)}}function aue(e,t,r){var n=Wce.getIntersectingMeaningFromDeclarations(r,e),r=e.declarations&&kD(e.declarations)||r,n=Ele.getSymbolDisplayPartsDocumentationAndSymbolKind(t,e,r.getSourceFile(),r,r,n);return{displayParts:n.displayParts,kind:n.symbolKind}}function iue(e,t,r,n,a){return __assign(__assign({},sue(e)),n&&function(e,t,r,n){if(0!==e.kind&&xR(t)){var a=e.node,i=e.kind,o=a.parent,s=t.text,c=oB(o);if(c||_Y(o)&&o.name===a&&void 0===o.dotDotDotToken){var u={prefixText:s+": "},a={suffixText:": "+s};if(3===i)return u;if(4===i)return a;if(c){c=o.parent;return nj(c)&&mj(c.parent)&&CI(c.parent.left)?u:a}return u}if(Vj(o)&&!o.propertyName)return eD((Kj(t.parent)?r.getExportSpecifierLocalTargetSymbol(t.parent):r.getSymbolAtLocation(t)).declarations,o)?{prefixText:s+" as "}:fG;if(Kj(o)&&!o.propertyName)return t===e.node||r.getSymbolAtLocation(t)===r.getSymbolAtLocation(e.node)?{prefixText:s+" as "}:{suffixText:" as "+s}}if(0!==e.kind&&gR(e.node)&&GL(e.node.parent)){n=oY(n);return{prefixText:n,suffixText:n}}return fG}(e,t,r,a))}function oue(e){var t=sue(e);if(0===e.kind)return __assign(__assign({},t),{isWriteAccess:!1});var r=e.kind,e=e.node;return __assign(__assign({},t),{isWriteAccess:lue(e),isInString:2===r||void 0})}function sue(e){if(0===e.kind)return{textSpan:e.textSpan,fileName:e.fileName};var t=e.node.getSourceFile(),r=uue(e.node,t);return __assign({textSpan:r,fileName:t.fileName},Qce(r,t,e.context))}function cue(e){var t=sue(e);if(0===e.kind)return{fileName:t.fileName,span:{textSpan:t.textSpan,kind:"reference"}};var r=lue(e.node),e=__assign({textSpan:t.textSpan,kind:r?"writtenReference":"reference",isInString:2===e.kind||void 0},t.contextSpan&&{contextSpan:t.contextSpan});return{fileName:t.fileName,span:e}}function uue(e,t,r){var n=e.getStart(t),t=(r||e).getEnd();return oF(e)&&2<t-n&&(rA.assert(void 0===r),n+=1,--t),wo(n,t)}function _ue(e){return 0===e.kind?e.textSpan:uue(e.node,e.node.getSourceFile())}function lue(e){var t=Ml(e);return!!t&&function(e){if(33554432&e.flags)return!0;switch(e.kind){case 226:case 208:case 263:case 231:case 90:case 266:case 306:case 281:case 273:case 271:case 276:case 264:case 345:case 353:case 291:case 267:case 270:case 274:case 280:case 169:case 304:case 265:case 168:return!0;case 303:return!DQ(e.parent);case 262:case 218:case 176:case 174:case 177:case 178:return!!e.body;case 260:case 172:return!!e.initializer||aB(e.parent);case 173:case 171:case 355:case 348:return!1;default:return rA.failBadSyntaxKind(e)}}(t)||90===e.kind||VL(e)}function due(e,t){var r;if(!t)return!1;var n=Ml(e)||(90===e.kind?e.parent:_O(e)||137===e.kind&&IR(e.parent)?e.parent.parent:void 0),a=n&&mj(n)?n.left:void 0;return!(!n||null==(r=t.declarations)||!r.some(function(e){return e===n||e===a}))}var fue=e({"src/services/findAllReferences.ts":function(){fpe(),yue(),Uce=function(e){return e[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",e}(Uce||{}),Vce=function(e){return e[e.Span=0]="Span",e[e.Node=1]="Node",e[e.StringLiteral=2]="StringLiteral",e[e.SearchedLocalFoundProperty=3]="SearchedLocalFoundProperty",e[e.SearchedPropertyFoundLocal=4]="SearchedPropertyFoundLocal",e}(Vce||{}),qce=function(e){return e[e.Other=0]="Other",e[e.References=1]="References",e[e.Rename=2]="Rename",e}(qce||{}),function(e){function m(e,t){return 1===t.use?e=HX(e):2===t.use&&(e=KX(e)),e}function y(e,t,r){var n,a,i,o=t.get(e.path)||WN;try{for(var s=__values(o),c=s.next();!c.done;c=s.next()){var u,_=c.value;tq(_)&&(u=r.getSourceFileByPath(_.file),rq(_=nq(r.getSourceFileByPath,_))&&(i=vD(i,{kind:0,fileName:u.fileName,textSpan:MQ(_)})))}}catch(e){n={error:e}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(n)throw n.error}}return i}function v(e,t,r){if(e.parent&&jj(e.parent)){t=r.getAliasedSymbol(t),r=r.getMergedSymbol(t);if(t!==r)return r}}function g(e,t,r,n,a,i){var o=1536&e.flags&&e.declarations&&QN(e.declarations,uB);if(o){var s=e.exports.get("export="),c=x(t,e,!!s,r,i);if(!s||!i.has(o.fileName))return c;o=t.getTypeChecker();return h(t,c,k(e=Uf(s,o),void 0,r,i,o,n,a))}}function h(a){for(var t,e,r,n,i,o=[],s=1;s<arguments.length;s++)o[s-1]=arguments[s];try{for(var c=__values(o),u=c.next();!u.done;u=c.next()){var _=u.value;if(_&&_.length)if(i)try{for(var l=(r=void 0,__values(_)),d=l.next();!d.done;d=l.next())!function(e){if(!e.definition||0!==e.definition.type)return i.push(e);var t=e.definition.symbol,r=ZN(i,function(e){return e.definition&&0===e.definition.type&&e.definition.symbol===t});if(-1===r)return i.push(e);var n=i[r];i[r]={definition:n.definition,references:n.references.concat(e.references).sort(function(e,t){var r=f(a,e),n=f(a,t);if(r!==n)return UD(r,n);e=_ue(e),t=_ue(t);return e.start!==t.start?UD(e.start,t.start):UD(e.length,t.length)})}}(d.value)}catch(e){r={error:e}}finally{try{d&&!d.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}else i=_}}catch(e){t={error:e}}finally{try{u&&!u.done&&(e=c.return)&&e.call(c)}finally{if(t)throw t.error}}return i}function f(e,t){t=0===t.kind?e.getSourceFile(t.fileName):t.node.getSourceFile();return e.getSourceFiles().indexOf(t)}function x(e,t,r,n,a){var i,o,s,c;rA.assert(!!t.valueDeclaration);var u=uD(Ice(e,n,t),function(e){if("import"!==e.kind)return"implicit"!==e.kind?{kind:0,fileName:e.referencingFile.fileName,textSpan:MQ(e.ref)}:Kce(e.literal.text!==lF&&KB(e.referencingFile,function(e){return 2&e.transformFlags?Xj(e)||Qj(e)||_h(e)?e:void 0:"skip"})||e.referencingFile.statements[0]||e.referencingFile);var t=e.literal.parent;if(YR(t)){t=JD(t.parent,ZR);if(r&&!t.qualifier)return}return Kce(e.literal)});if(t.declarations)try{for(var _=__values(t.declarations),l=_.next();!l.done;l=_.next())switch((m=l.value).kind){case 312:break;case 267:a.has(m.getSourceFile().fileName)&&u.push(Kce(m.name));break;default:rA.assert(!!(33554432&t.flags),"Expected a module symbol to be declared by a SourceFile or ModuleDeclaration.")}}catch(e){i={error:e}}finally{try{l&&!l.done&&(o=_.return)&&o.call(_)}finally{if(i)throw i.error}}var d=t.exports.get("export=");if(null!=d&&d.declarations)try{for(var f=__values(d.declarations),p=f.next();!p.done;p=f.next()){var m,y=(m=p.value).getSourceFile();a.has(y.fileName)&&(y=mj(m)&&aj(m.left)?m.left.expression:qj(m)?rA.checkDefined(MX(m,95,y)):JA(m)||m,u.push(Kce(y)))}}catch(e){s={error:e}}finally{try{p&&!p.done&&(c=f.return)&&c.call(f)}finally{if(s)throw s.error}}return u.length?[{definition:{type:0,symbol:t},references:u}]:WN}function b(e){return 148===e.kind&&XR(e.parent)&&148===e.parent.operator}function k(e,t,r,n,a,i,o){var s,c,u,_,l=t&&function(t,r,n,e){var a=r.parent;if(Kj(a)&&e)return E(r,t,a,n);return GN(t.declarations,function(e){if(!e.parent){if(33554432&t.flags)return;rA.fail("Unexpected symbol at ".concat(rA.formatSyntaxKind(r.kind),": ").concat(rA.formatSymbol(t)))}return VR(e.parent)&&xg(e.parent.parent)?n.getPropertyOfType(n.getTypeFromTypeNode(e.parent.parent),t.name):void 0})}(e,t,a,!R(o))||e,d=t?M(t,l):7,f=[],i=new T(r,n,t?function(e){switch(e.kind){case 176:case 137:return 1;case 80:if(NE(e.parent))return rA.assert(e.parent.name===e),2;default:return 0}}(t):0,a,i,d,o,f),d=R(o)&&l.declarations?QN(l.declarations,Kj):void 0;return d?C(d.name,l,d,i.createSearch(t,e,void 0),i,!0,!0):t&&90===t.kind&&"default"===l.escapedName&&l.parent?(F(t,l,i),S(t,l,{exportingModuleSymbol:l.parent,exportKind:1},i)):(c=i.createSearch(t,l,void 0,{allSearchSymbols:t?(s=l,e=t,t=a,a=2===o.use,c=!!o.providePrefixAndSuffixTextForRename,u=!!o.implementations,_=[],O(s,e,t,a,!(a&&c),function(e,t,r){r&&L(s)!==L(r)&&(r=void 0),_.push(r||t||e)},function(){return!u}),_):[l]}),p(l,i,c)),f}function p(e,t,r){var n,a,e=function(e){var t,r,n=e.declarations,a=e.flags,i=e.parent,o=e.valueDeclaration;if(o&&(218===o.kind||231===o.kind))return o;if(!n)return;if(8196&a){a=QN(n,function(e){return uL(e,8)||yE(e)});return a?xO(a,263):void 0}if(n.some(_Y))return;var s,e=i&&!(262144&e.flags);if(e&&(!VQ(i)||i.globalExports))return;try{for(var c=__values(n),u=c.next();!u.done;u=c.next()){var _=hX(u.value);if(s&&s!==_)return;if(!_||312===_.kind&&!_P(_))return;if(_j(s=_))for(var l=void 0;l=Fl(s);)s=l}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(t)throw t.error}}return e?s.getSourceFile():s}(e);if(e)c(e,e.getSourceFile(),r,t,!(uB(e)&&!eD(t.sourceFiles,e)));else try{for(var i=__values(t.sourceFiles),o=i.next();!o.done;o=i.next()){var s=o.value;t.cancellationToken.throwIfCancellationRequested(),N(s,r,t)}}catch(e){n={error:e}}finally{try{o&&!o.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}}var t;e.getReferencedSymbolsForNode=function(e,t,r,n,a,i,o){if(void 0===i&&(i={}),void 0===o&&(o=new Set(n.map(function(e){return e.fileName}))),uB(t=m(t,i))){var s=Pue.getReferenceAtPosition(t,e,r);if(null==s||!s.file)return;e=r.getTypeChecker().getMergedSymbol(s.file.symbol);return e?x(r,e,!1,n,o):(f=r.getFileIncludeReasons())?[{definition:{type:5,reference:s.reference,file:t},references:y(s.file,f,r)||WN}]:void 0}if(!i.implementations){var c=function(e,t,r){if(JQ(e.kind))return(116!==e.kind||!Eg(e.parent))&&(148!==e.kind||b(e))?function(e,t,r,n){e=cD(e,function(e){return r.throwIfCancellationRequested(),uD(P(e,vA(t),e),function(e){if(e.kind===t&&(!n||n(e)))return Kce(e)})});return e.length?[{definition:{type:2,node:e[0].node},references:e}]:void 0}(t,e.kind,r,148===e.kind?b:void 0):void 0;if(B_(e.parent)&&e.parent.name===e)return function(e,t){e=cD(e,function(e){return t.throwIfCancellationRequested(),uD(P(e,"meta",e),function(e){e=e.parent;if(B_(e))return Kce(e)})});return e.length?[{definition:{type:2,node:e[0].node},references:e}]:void 0}(t,r);if(dg(e)&&PR(e.parent))return[{definition:{type:2,node:e},references:[Kce(e)]}];{if(cX(e)){var n=oX(e.parent,e.text);return n&&w(n.parent,n)}if(uX(e))return w(e.parent,e)}if(bX(e))return function(e,t,r){var n=RP(e,!1,!1),a=32;switch(n.kind){case 174:case 173:if(AP(n)){a&=Qd(n),n=n.parent;break}case 172:case 171:case 176:case 177:case 178:a&=Qd(n),n=n.parent;break;case 312:if(XB(n)||I(e))return;case 262:case 218:break;default:return}t=cD(312===n.kind?t:[n.getSourceFile()],function(e){return r.throwIfCancellationRequested(),P(e,"this",uB(n)?e:n).filter(function(e){if(!bX(e))return!1;var t=RP(e,!1,!1);if(!HE(t))return!1;switch(n.kind){case 218:case 262:return n.symbol===t.symbol;case 174:case 173:return AP(n)&&n.symbol===t.symbol;case 231:case 263:case 210:return t.parent&&HE(t.parent)&&n.symbol===t.parent.symbol&&lL(t)===!!a;case 312:return 312===t.kind&&!XB(t)&&!I(e)}})}).map(function(e){return Kce(e)});return[{definition:{type:3,node:GN(t,function(e){return CR(e.node.parent)?e.node:void 0})||e},references:t}]}(e,t,r);return 108!==e.kind?void 0:function(e){var r=zP(e,!1);if(!r)return;var n=32;switch(r.kind){case 172:case 171:case 174:case 173:case 176:case 177:case 178:n&=Qd(r),r=r.parent;break;default:return}e=uD(P(r.getSourceFile(),"super",r),function(e){if(108===e.kind){var t=zP(e,!1);return t&&lL(t)===!!n&&t.parent.symbol===r.symbol?Kce(e):void 0}});return[{definition:{type:0,symbol:r.symbol},references:e}]}(e)}(t,n,a);if(c)return c}var u,_,l,d,s=r.getTypeChecker();if(c=s.getSymbolAtLocation(IR(t)&&t.parent.name||t))return"export="===c.escapedName?x(r,c.parent,!1,n,o):!(f=g(c,r,n,a,i,o))||33554432&c.flags?(p=(p=v(t,c,s))&&g(p,r,n,a,i,o),h(r,f,k(c,t,n,o,s,a,i),p)):f;if(i.implementations||!oF(t))return;if(uY(t)){var f=r.getFileIncludeReasons(),p=null==(p=null==(p=null==(p=t.getSourceFile().resolvedModules)?void 0:p.get(t.text,VV(t.getSourceFile(),t)))?void 0:p.resolvedModule)?void 0:p.resolvedFileName,p=p?r.getSourceFile(p):void 0;if(p)return[{definition:{type:4,node:t},references:y(p,f,r)||WN}]}return p=n,l=a,d=zX(u=t,_=s),p=cD(p,function(r){return l.throwIfCancellationRequested(),uD(P(r,u.text),function(e){if(oF(e)&&e.text===u.text){if(!d)return Hv(e)&&!wf(e,r)?void 0:Kce(e,2);var t=zX(e,_);return d!==_.getStringType()&&d===t?Kce(e,2):void 0}})}),[{definition:{type:4,node:u},references:p}]},e.getAdjustedNode=m,e.getReferencesForFileName=function(e,t,r,n){void 0===n&&(n=new Set(r.map(function(e){return e.fileName})));var a=null==(a=t.getSourceFile(e))?void 0:a.symbol;if(a)return(null==(i=x(t,a,!1,r,n)[0])?void 0:i.references)||WN;var i=t.getFileIncludeReasons();return(e=t.getSourceFile(e))&&i&&y(e,i,t)||WN},(t={})[t.None=0]="None",t[t.Constructor=1]="Constructor",t[t.Class=2]="Class";var T=(r.prototype.includesSourceFile=function(e){return this.sourceFilesSet.has(e.fileName)},r.prototype.getImportSearches=function(e,t){return this.importTracker||(this.importTracker=Pce(this.sourceFiles,this.sourceFilesSet,this.checker,this.cancellationToken)),this.importTracker(e,t,2===this.options.use)},r.prototype.createSearch=function(e,t,r,n){void 0===n&&(n={});var a=n.text,a=void 0===a?UO(RA(RL(t)||function(e){if(33555968&e.flags){e=e.declarations&&QN(e.declarations,function(e){return!uB(e)&&!Mj(e)});return e&&e.symbol}}(t)||t)):a,n=n.allSearchSymbols,i=void 0===n?[t]:n;return{symbol:t,comingFrom:r,text:a,escapedText:IA(a),parents:this.options.implementations&&e?function(e,t,r){e=fX(e)?e.parent:void 0,e=e&&r.getTypeAtLocation(e.expression),e=uD(e&&(e.isUnionOrIntersection()?e.types:e.symbol===t.parent?void 0:[e]),function(e){return e.symbol&&96&e.symbol.flags?e.symbol:void 0});return 0===e.length?void 0:e}(e,t,this.checker):void 0,allSearchSymbols:i,includes:function(e){return eD(i,e)}}},r.prototype.referenceAdder=function(e){var t=yJ(e),r=this.symbolIdToReferences[t];return r||(r=this.symbolIdToReferences[t]=[],this.result.push({definition:{type:0,symbol:e},references:r})),function(e,t){return r.push(Kce(e,t))}},r.prototype.addStringOrCommentReference=function(e,t){this.result.push({definition:void 0,references:[{kind:0,fileName:e,textSpan:t}]})},r.prototype.markSearchedSymbols=function(e,t){var r,n,e=mJ(e),a=this.sourceFileToSeenSymbols[e]||(this.sourceFileToSeenSymbols[e]=new Set),i=!1;try{for(var o=__values(t),s=o.next();!s.done;s=o.next())i=lD(a,yJ(s.value))||i}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return i},r);function r(e,t,r,n,a,i,o,s){this.sourceFiles=e,this.sourceFilesSet=t,this.specialSearchKind=r,this.checker=n,this.cancellationToken=a,this.searchMeaning=i,this.options=o,this.result=s,this.inheritsFromCache=new Map,this.markSeenContainingTypeReference=qQ(),this.markSeenReExportRHS=qQ(),this.symbolIdToReferences=[],this.sourceFileToSeenSymbols=[]}function S(e,t,r,n){var a,i,o,s,c,u,_,l,d=n.getImportSearches(t,r),f=d.importSearches,p=d.singleReferences,m=d.indirectUsers;if(p.length){var y=n.referenceAdder(t);try{for(var v=__values(p),g=v.next();!g.done;g=v.next()){var h=g.value;!A(_=h,l=n)||2===l.options.use&&(!xR(_)||fE(_.parent)&&"default"===_.escapedText)||y(h)}}catch(e){a={error:e}}finally{try{g&&!g.done&&(i=v.return)&&i.call(v)}finally{if(a)throw a.error}}}try{for(var x=__values(f),b=x.next();!b.done;b=x.next()){var k=__read(b.value,2),T=k[0],k=k[1];D(T.getSourceFile(),n.createSearch(T,k,1),n)}}catch(e){o={error:e}}finally{try{b&&!b.done&&(s=x.return)&&s.call(x)}finally{if(o)throw o.error}}if(m.length){var S=void 0;switch(r.exportKind){case 0:S=n.createSearch(e,t,1);break;case 1:S=2===n.options.use?void 0:n.createSearch(e,t,1,{text:"default"})}if(S)try{for(var w=__values(m),C=w.next();!C.done;C=w.next())N(C.value,S,n)}catch(e){c={error:e}}finally{try{C&&!C.done&&(u=w.return)&&u.call(w)}finally{if(c)throw c.error}}}}function d(e,t){var r,n;if(e.declarations)try{for(var a=__values(e.declarations),i=a.next();!i.done;i=a.next()){var o=i.value,s=o.getSourceFile();D(s,t.createSearch(o,e,0),t,t.includesSourceFile(s))}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}function N(e,t,r){void 0!==T8(e).get(t.escapedText)&&D(e,t,r)}function a(e,t,r,n,a){var i,o;void 0===a&&(a=r);var s=CA(e.parent,e.parent.parent)?SD(t.getSymbolsOfParameterPropertyDeclaration(e.parent,e.text)):t.getSymbolAtLocation(e);if(s)try{for(var c=__values(P(r,s.name,a)),u=c.next();!u.done;u=c.next()){var _=u.value;if(xR(_)&&_!==e&&_.escapedText===e.escapedText){var l=t.getSymbolAtLocation(_);if(l===s||t.getShorthandAssignmentValueSymbol(_.parent)===s||Kj(_.parent)&&E(_,l,_.parent,t)===s){_=n(_);if(_)return _}}}}catch(e){i={error:e}}finally{try{u&&!u.done&&(o=c.return)&&o.call(c)}finally{if(i)throw i.error}}}function P(t,e,r){return void 0===r&&(r=t),uD(u(t,e,r),function(e){e=GX(t,e);return e===t?void 0:e})}function u(e,t,r){void 0===r&&(r=e);var n=[];if(!t||!t.length)return n;for(var a=e.text,i=a.length,o=t.length,s=a.indexOf(t,r.pos);0<=s&&!(s>r.end);){var c=s+o;0!==s&&no(a.charCodeAt(s-1),99)||c!==i&&no(a.charCodeAt(c),99)||n.push(s),s=a.indexOf(t,s+o+1)}return n}function w(e,t){var r=e.getSourceFile(),n=t.text,e=uD(P(r,n,e),function(e){return e===t||cX(e)&&oX(e,n)===t?Kce(e):void 0});return[{definition:{type:1,node:t},references:e}]}function D(e,t,r,n){return void 0===n&&(n=!0),r.cancellationToken.throwIfCancellationRequested(),c(e,e,t,r,n),0}function c(e,t,r,n,a){var i,o;if(n.markSearchedSymbols(t,r.allSearchSymbols))try{for(var s=__values(u(t,r.text,e)),c=s.next();!c.done;c=s.next())!function(e,t,r,n,a){var i=GX(e,t);if(!function(e,t){switch(e.kind){case 81:if(dB(e.parent))return 1;case 80:return e.text.length===t.length;case 15:case 11:var r=e;return(vX(r)||mX(e)||gX(e)||oj(e.parent)&&DI(e.parent)&&e.parent.arguments[1]===e)&&r.text.length===t.length;case 9:return vX(e)&&e.text.length===t.length;case 90:return"default".length===t.length;default:return}}(i,r.text))return!n.options.implementations&&(n.options.findInStrings&&iQ(e,t)||n.options.findInComments&&EQ(e,t))&&n.addStringOrCommentReference(e.fileName,So(t,r.text.length));if(A(i,n)){var o=n.checker.getSymbolAtLocation(i);if(o&&(!Vj(t=i.parent)||t.propertyName!==i)){if(Kj(t))return rA.assert(80===i.kind),C(i,o,t,r,n,a),0;var s=function(a,i,e,r){var n=r.checker;return O(i,e,n,!1,2!==r.options.use||!!r.options.providePrefixAndSuffixTextForRename,function(e,t,r,n){return r&&L(i)!==L(r)&&(r=void 0),a.includes(r||t||e)?{symbol:!t||6&BL(e)?e:t,kind:n}:void 0},function(t){return!a.parents||a.parents.some(function(e){return function t(e,r,n,a){if(e===r)return!0;var i=yJ(e)+","+yJ(r);var o=n.get(i);if(void 0!==o)return o;n.set(i,!1);var e=!!e.declarations&&e.declarations.some(function(e){return Bl(e).some(function(e){var e=a.getTypeAtLocation(e);return!!e&&!!e.symbol&&t(e.symbol,r,n,a)})});n.set(i,e);return e}(t.parent,e,r.inheritsFromCache,n)})})}(r,o,i,n);if(!s)return function(e,t,r){var n=e.flags,a=e.valueDeclaration,e=r.checker.getShorthandAssignmentValueSymbol(a),a=a&&JA(a);33554432&n||!a||!t.includes(e)||F(a,e,r)}(o,r,n),0;switch(n.specialSearchKind){case 0:a&&F(i,s,n);break;case 1:!function(e,t,r,n){function a(){return n.referenceAdder(r.symbol)}XG(e)&&F(e,r.symbol,n),NE(e.parent)?(rA.assert(90===e.kind||e.parent.name===e),function(e,t,r){var n,a,i=_(e);if(i&&i.declarations)try{for(var o=__values(i.declarations),s=o.next();!s.done;s=o.next()){var c=s.value,u=MX(c,137,t);rA.assert(176===c.kind&&!!u),r(u)}}catch(e){n={error:e}}finally{try{s&&!s.done&&(a=o.return)&&a.call(o)}finally{if(n)throw n.error}}e.exports&&e.exports.forEach(function(e){e=e.valueDeclaration;!e||174!==e.kind||(e=e.body)&&l(e,110,function(e){XG(e)&&r(e)})})}(r.symbol,t,a())):(e=function(e){return af(aX(e).parent)}(e))&&(function(e,t){var r,n,a=_(e.symbol);if(a&&a.declarations)try{for(var i=__values(a.declarations),o=i.next();!o.done;o=i.next()){var s=o.value;rA.assert(176===s.kind);s=s.body;s&&l(s,108,function(e){GG(e)&&t(e)})}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}(e,a()),function(e,t){var r;!function(e){return!!_(e.symbol)}(e)&&(r=e.symbol,e=t.createSearch(void 0,r,void 0),p(r,t,e))}(e,n))}(i,e,r,n);break;case 2:!function(e,t,r){var n,a;F(e,t.symbol,r);var i=e.parent;if(2!==r.options.use&&NE(i)){rA.assert(i.name===e);var o=r.referenceAdder(t.symbol);try{for(var s=__values(i.members),c=s.next();!c.done;c=s.next()){var u=c.value;qs(u)&&lL(u)&&u.body&&u.body.forEachChild(function e(t){110===t.kind?o(t):bE(t)||NE(t)||t.forEachChild(e)})}}catch(e){n={error:e}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(n)throw n.error}}}}(i,r,n);break;default:rA.assertNever(n.specialSearchKind)}cI(i)&&tj(i.parent)&&fI(i.parent.parent.parent)&&!(o=i.parent.symbol)||function(e,t,r,n){(t=Mce(e,t,n.checker,1===r.comingFrom))&&(r=t.symbol,0===t.kind?R(n.options)||d(r,n):S(e,r,t.exportInfo,n))}(i,o,r,n)}}}(t,c.value,r,n,a)}catch(e){i={error:e}}finally{try{c&&!c.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}}function A(e,t){return HG(e)&t.searchMeaning}function C(e,t,r,n,a,i,o){rA.assert(!o||!!a.options.providePrefixAndSuffixTextForRename,"If alwaysGetReferences is true, then prefix/suffix text must be enabled");var s=r.parent,c=r.propertyName,u=r.name,s=s.parent,_=E(e,t,r,a.checker);function l(){i&&F(e,_,a)}(o||n.includes(_))&&(c?e===c?(s.moduleSpecifier||l(),i&&2!==a.options.use&&a.markSeenReExportRHS(u)&&F(u,rA.checkDefined(r.symbol),a)):a.markSeenReExportRHS(e)&&l():2===a.options.use&&"default"===u.escapedText||l(),R(a.options)&&!o||(u="default"===e.escapedText||"default"===r.name.escapedText?1:0,(u=Rce(o=rA.checkDefined(r.symbol),u,a.checker))&&S(e,o,u,a)),1===n.comingFrom||!s.moduleSpecifier||c||R(a.options)||(r=a.checker.getExportSpecifierLocalTargetSymbol(r))&&d(r,a))}function E(e,t,r,n){return a=e,o=(i=r).parent,e=i.propertyName,i=i.name,rA.assert(e===a||i===a),(e?e===a:!o.parent.moduleSpecifier)&&n.getExportSpecifierLocalTargetSymbol(r)||t;var a,i,o}function F(e,t,r){var n="kind"in t?t:{kind:void 0,symbol:t},t=n.kind,n=n.symbol;2===r.options.use&&90===e.kind||(n=r.referenceAdder(n),r.options.implementations?function(e,t,r){if(uO(e)&&function(e){return 33554432&e.flags?!(Ij(e)||Oj(e)):kP(e)?nF(e):TE(e)?!!e.body:NE(e)||WE(e)}(e.parent))return t(e);if(80===e.kind){304===e.parent.kind&&i(e,r.checker,t);var n=function e(t){return xR(t)||aj(t)?e(t.parent):hj(t)?BD(t.parent.parent,ZD(NE,Ij)):void 0}(e);if(n)return t(n);n=FA(e,function(e){return!TR(e.parent)&&!FE(e.parent)&&!Ks(e.parent)}),rF(e=n.parent)&&e.type===n&&r.markSeenContainingTypeReference(e)&&(nF(e)?a(e.initializer):bE(e)&&e.body?241===(r=e.body).kind?gP(r,function(e){e.expression&&a(e.expression)}):a(r):BE(e)&&a(e.expression))}function a(e){!function e(t){switch(t.kind){case 217:return e(t.expression);case 219:case 218:case 210:case 231:case 209:return!0;default:return!1}}(e)||t(e)}}(e,n,r):n(e,t))}function _(e){return e.members&&e.members.get("__constructor")}function I(e){return 80===e.kind&&169===e.parent.kind&&e.parent.name===e}function O(e,t,c,r,n,u,_){var a=S8(t);if(a){var i=c.getShorthandAssignmentValueSymbol(t.parent);if(i&&r)return u(i,void 0,void 0,3);var o=c.getContextualType(a.parent);if(l=o&&GN(w8(a,c,o,!0),function(e){return f(e,4)}))return l;o=(a=c,DQ((o=t).parent.parent)?a.getPropertySymbolOfDestructuringAssignment(o):void 0),o=o&&u(o,void 0,void 0,4);if(o)return o;i=i&&u(i,void 0,void 0,3);if(i)return i}i=v(t,e,c);if(i&&(l=u(i,void 0,void 0,1)))return l;i=f(e);if(i)return i;if(e.valueDeclaration&&CA(e.valueDeclaration,e.valueDeclaration.parent)){var s=c.getSymbolsOfParameterPropertyDeclaration(JD(e.valueDeclaration,CR),e.name);return rA.assert(2===s.length&&!!(1&s[0].flags)&&!!(4&s[1].flags)),f(1&e.flags?s[1]:s[0])}s=mF(e,281);if(!r||s&&!s.propertyName){var l,s=s&&c.getExportSpecifierLocalTargetSymbol(s);if(s)if(l=u(s,void 0,void 0,1))return l}if(r)return rA.assert(r),n?(d=p(e,c))&&f(d,4):void 0;var d=void 0;return(d=n?_Y(t.parent)?lY(c,t.parent):void 0:p(e,c))&&f(d,4);function f(r,s){return GN(c.getRootSymbols(r),function(t){return u(r,t,void 0,s)||(t.parent&&96&t.parent.flags&&_(t)?(e=t.parent,n=t.name,a=c,i=function(e){return u(r,t,e,s)},o=new Map,function r(e){if(!(96&e.flags&&Zf(o,yJ(e))))return;return GN(e.declarations,function(e){return GN(Bl(e),function(e){var t=a.getTypeAtLocation(e),e=t&&t.symbol&&a.getPropertyOfType(t,n);return t&&e&&(GN(a.getRootSymbols(e),i)||r(t.symbol))})})}(e)):void 0);var e,n,a,i,o})}function p(e,t){e=mF(e,208);if(e&&_Y(e))return lY(t,e)}}function L(e){return!!e.valueDeclaration&&!!(32&xL(e.valueDeclaration))}function M(e,t){var r,n,a=HG(e),i=t.declarations;if(i){var o;do{o=a;try{for(var s=(r=void 0,__values(i)),c=s.next();!c.done;c=s.next()){var u=WG(c.value);u&a&&(a|=u)}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}}while(a!==o)}return a}function i(e,t,r){var n,a,e=t.getSymbolAtLocation(e),i=t.getShorthandAssignmentValueSymbol(e.valueDeclaration);if(i)try{for(var o=__values(i.getDeclarations()),s=o.next();!s.done;s=o.next()){var c=s.value;1&WG(c)&&r(c)}}catch(e){n={error:e}}finally{try{s&&!s.done&&(a=o.return)&&a.call(o)}finally{if(n)throw n.error}}}function l(e,t,r){HB(e,function(e){e.kind===t&&r(e),l(e,t,r)})}function R(e){return 2===e.use&&e.providePrefixAndSuffixTextForRename}e.eachExportReference=function(e,t,r,n,a,i,o,s){var c,u,_,l,d,f,p,m,y=(a=Pce(e,new Set(e.map(function(e){return e.fileName})),t,r)(n,{exportKind:o?1:0,exportingModuleSymbol:a},!1)).importSearches,v=a.indirectUsers,g=a.singleReferences;try{for(var h=__values(y),x=h.next();!x.done;x=h.next())s(__read(x.value,1)[0])}catch(e){c={error:e}}finally{try{x&&!x.done&&(u=h.return)&&u.call(h)}finally{if(c)throw c.error}}try{for(var b=__values(g),k=b.next();!k.done;k=b.next()){var T=k.value;xR(T)&&ZR(T.parent)&&s(T)}}catch(e){_={error:e}}finally{try{k&&!k.done&&(l=b.return)&&l.call(b)}finally{if(_)throw _.error}}try{for(var S=__values(v),w=S.next();!w.done;w=S.next()){var C=w.value;try{for(var N=(p=void 0,__values(P(C,o?"default":i))),D=N.next();!D.done;D=N.next()){var A=D.value,E=t.getSymbolAtLocation(A),F=dD(null==E?void 0:E.declarations,function(e){return!!BD(e,qj)});!xR(A)||fE(A.parent)||E!==n&&!F||s(A)}}catch(e){p={error:e}}finally{try{D&&!D.done&&(m=N.return)&&m.call(N)}finally{if(p)throw p.error}}}}catch(e){d={error:e}}finally{try{w&&!w.done&&(f=S.return)&&f.call(S)}finally{if(d)throw d.error}}},e.isSymbolReferencedInFile=function(e,t,r,n){return void 0===n&&(n=r),a(e,t,r,function(){return!0},n)||!1},e.eachSymbolReferenceInFile=a,e.getTopMostDeclarationNamesInFile=function(e,t){return nD(P(t,e),Ml).reduce(function(e,t){var r=function(e){var t=0;for(;e;)e=hX(e),t++;return t}(t);return dD(e.declarationNames)&&r!==e.depth?r<e.depth&&(e.declarationNames=[t],e.depth=r):(e.declarationNames.push(t),e.depth=r),e},{depth:1/0,declarationNames:[]}).declarationNames},e.someSignatureUsage=function(e,t,r,n){var a,i,o,s;if(!e.name||!xR(e.name))return!1;var c=rA.checkDefined(r.getSymbolAtLocation(e.name));try{for(var u=__values(t),_=u.next();!_.done;_=u.next()){var l=_.value;try{for(var d=(o=void 0,__values(P(l,c.name))),f=d.next();!f.done;f=d.next()){var p=f.value;if(xR(p)&&p!==e.name&&p.escapedText===e.name.escapedText){var m=aX(p),y=oj(m.parent)&&m.parent.expression===m?m.parent:void 0,m=r.getSymbolAtLocation(p);if(m&&r.getRootSymbols(m).some(function(e){return e===c})&&n(p,y))return!0}}}catch(e){o={error:e}}finally{try{f&&!f.done&&(s=d.return)&&s.call(d)}finally{if(o)throw o.error}}}}catch(e){a={error:e}}finally{try{_&&!_.done&&(i=u.return)&&i.call(u)}finally{if(a)throw a.error}}return!1},e.getIntersectingMeaningFromDeclarations=M,e.getReferenceEntriesForShorthandPropertyAssignment=i}(Wce=Wce||{})}}),pue={};t(pue,{Core:function(){return Wce},DefinitionKind:function(){return Uce},EntryKind:function(){return Vce},ExportKind:function(){return Ace},FindReferencesUse:function(){return qce},ImportExport:function(){return Ece},createImportTracker:function(){return Pce},findModuleReferences:function(){return Ice},findReferenceOrRenameEntries:function(){return eue},findReferencedSymbols:function(){return Yce},getContextNode:function(){return Xce},getExportInfo:function(){return Rce},getImplementationsAtPosition:function(){return Zce},getImportOrExportSymbol:function(){return Mce},getReferenceEntriesForNode:function(){return tue},getTextSpanOfEntry:function(){return _ue},isContextWithStartAndEndNode:function(){return Gce},isDeclarationOfSymbol:function(){return due},isWriteAccessForReference:function(){return lue},nodeEntry:function(){return Kce},toContextSpan:function(){return Qce},toHighlightSpan:function(){return cue},toReferenceEntry:function(){return oue},toRenameLocation:function(){return iue}});var mue,yue=e({"src/services/_namespaces/ts.FindAllReferences.ts":function(){Hce(),fue()}});function vue(e,t,r,n,a){var i,o,s,c=hue(t,r,e),s=c?[(i=c.reference.fileName,o=c.fileName,s=c.unverified,{fileName:o,textSpan:wo(0,0),kind:"script",name:i,containerName:void 0,containerKind:void 0,unverified:s})]:WN;if(null!=c&&c.file)return s;var u=GX(t,r);if(u!==t){var r=u.parent,_=e.getTypeChecker();if(164===u.kind||xR(u)&&Ah(r)&&r.tagName===u)return function(e,t){var r=FA(t,CE);if(!r||!r.name)return;var n=FA(r,NE);if(!n)return;var a=yO(n);if(!a)return;n=oO(a.expression),a=vj(n)?n.symbol:e.getSymbolAtLocation(n);if(!a)return;n=OA($F(r.name)),n=dL(r)?e.getPropertyOfType(e.getTypeOfSymbol(a),n):e.getPropertyOfType(e.getDeclaredTypeOfSymbol(a),n);return n?Cue(e,n,t):void 0}(_,u)||WN;if(cX(u)){e=oX(u.parent,u.text);return e?[Due(_,e,"label",u.text,void 0)]:void 0}if(107===u.kind)return(f=FA(u.parent,function(e){return PR(e)?"quit":TE(e)}))?[Aue(_,f)]:void 0;if(135===u.kind)return(f=FA(u,TE))&&dD(f.modifiers,function(e){return 134===e.kind})?[Aue(_,f)]:void 0;if(127===u.kind)return(f=FA(u,TE))&&f.asteriskToken?[Aue(_,f)]:void 0;if(dg(u)&&PR(u.parent)){var l=u.parent.parent,d=wue(l,_,a),f=d.symbol,p=d.failedAliasResolution,d=nD(l.members,PR),m=f?_.symbolToString(f,l):"",y=u.getSourceFile();return iD(d,function(e){var t=kf(e).pos,t=xA(y.text,t);return Due(_,e,"constructor","static {}",m,!1,p,{start:t,length:"static".length})})}var v,l=wue(u,_,a),d=l.symbol,g=l.failedAliasResolution,l=u;if(n&&g&&((h=(h=KN(__spreadArray([u],__read((null==d?void 0:d.declarations)||WN),!1),function(e){return FA(e,D_)}))&&MI(h))&&(d=(a=wue(h,_,a)).symbol,g=a.failedAliasResolution,l=h)),!d&&uY(l)){var h=null==(h=null==(h=t.resolvedModules)?void 0:h.get(l.text,VV(t,l)))?void 0:h.resolvedModule;if(h)return[{name:l.text,fileName:h.resolvedFileName,containerName:void 0,containerKind:void 0,kind:"script",textSpan:So(0,0),failedAliasResolution:g,isAmbient:QB(h.resolvedFileName),unverified:l!==u}]}if(!d)return fD(s,(b=u,uD((v=_).getIndexInfosAtLocation(b),function(e){return e.declaration&&Aue(v,e.declaration)})));if(!n||!XN(d.declarations,function(e){return e.getSourceFile().fileName===t.fileName})){var x=function(e,t){t=function(e){var t=FA(e,function(e){return!fX(e)}),e=null==t?void 0:t.parent;return e&&LE(e)&&GP(e)===t?e:void 0}(t),t=t&&e.getResolvedSignature(t);return BD(t&&t.declaration,function(e){return bE(e)&&!JR(e)})}(_,u);if(x&&(!YE(u.parent)||!function(e){switch(e.kind){case 176:case 185:case 180:return!0;default:return!1}}(x))){var b=Aue(_,x,g);if(_.getRootSymbols(d).some(function(e){return(t=e)===(e=x).symbol||t===e.symbol.parent||NL(e.parent)||!LE(e.parent)&&t===(null==(e=BD(e.parent,HE))?void 0:e.symbol);var t}))return[b];n=Cue(_,d,u,g,x)||WN;return 108===u.kind?__spreadArray([b],__read(n),!1):__spreadArray(__spreadArray([],__read(n),!1),[b],!1)}if(304===u.parent.kind){var k=_.getShorthandAssignmentValueSymbol(d.valueDeclaration);return fD(null!=k&&k.declarations?k.declarations.map(function(e){return Nue(e,_,k,u,!1,g)}):WN,gue(_,u))}if(xE(u)&&tj(r)&&$R(r.parent)&&u===(r.propertyName||r.name)){var T=GQ(u),S=_.getTypeAtLocation(r.parent);return void 0===T?WN:cD(S.isUnion()?S.types:[S],function(e){e=e.getProperty(T);return e&&Cue(_,e,u)})}S=gue(_,u);return fD(s,S.length?S:Cue(_,d,u,g))}}}function gue(t,r){var e=S8(r);if(e){var n=e&&t.getContextualType(e.parent);if(n)return cD(w8(e,t,n,!1),function(e){return Cue(t,e,r)})}return WN}function hue(e,t,r){var n=Eue(e.referencedFiles,t);if(n)return(i=r.getSourceFileFromReference(e,n))&&{reference:n,fileName:i.fileName,file:i,unverified:!1};var a=Eue(e.typeReferenceDirectives,t);if(a){n=null==(n=r.getResolvedTypeReferenceDirectives().get(a.fileName,a.resolutionMode||e.impliedNodeFormat))?void 0:n.resolvedTypeReferenceDirective;return(i=n&&r.getSourceFile(n.resolvedFileName))&&{reference:a,fileName:i.fileName,file:i,unverified:!1}}a=Eue(e.libReferenceDirectives,t);if(a)return(i=r.getLibFileFromReference(a))&&{reference:a,fileName:i.fileName,file:i,unverified:!1};if(null!=(i=e.resolvedModules)&&i.size()){var i=XX(e,t);if(uY(i)&&kA(i.text)&&e.resolvedModules.has(i.text,VV(e,i))){t=null==(t=null==(t=e.resolvedModules.get(i.text,VV(e,i)))?void 0:t.resolvedModule)?void 0:t.resolvedFileName,e=t||Ra(lA(e.fileName),i.text);return{file:r.getSourceFile(e),fileName:e,reference:{pos:i.getStart(),end:i.getEnd(),fileName:i.text},unverified:!t}}}}function xue(e,t){if(t.aliasSymbol){var r=t.aliasSymbol.name;if(mue.has(r)){r=e.resolveName(r,void 0,788968,!1);return r&&r===t.aliasSymbol}}}function bue(e,t,r,n){if(4&WL(t)&&function(e,t){var r=t.symbol.name;if(mue.has(r)){r=e.resolveName(r,void 0,788968,!1);return r&&r===t.target.symbol}}(e,t))return Tue(e.getTypeArguments(t)[0],e,r,n);if(xue(e,t)&&t.aliasTypeArguments)return Tue(t.aliasTypeArguments[0],e,r,n);if(32&WL(t)&&t.target&&xue(e,t.target)){t=null==(t=null==(t=t.aliasSymbol)?void 0:t.declarations)?void 0:t[0];if(t&&Oj(t)&&BR(t.type)&&t.type.typeArguments)return Tue(e.getTypeAtLocation(t.type.typeArguments[0]),e,r,n)}return[]}function kue(e,t,r){var n=GX(t,r);if(n!==t){if(B_(n.parent)&&n.parent.name===n)return Tue(e.getTypeAtLocation(n.parent),e,n.parent,!1);var a=wue(n,e,!1),i=a.symbol,o=a.failedAliasResolution;if(i){r=e.getTypeOfSymbolAtLocation(i,n),t=function(e,t,r){if(t.symbol===e||e.valueDeclaration&&t.symbol&&Aj(e.valueDeclaration)&&e.valueDeclaration.initializer===t.symbol.valueDeclaration){t=t.getCallSignatures();if(1===t.length)return r.getReturnTypeOfSignature(SD(t))}return}(i,r,e),a=t&&Tue(t,e,n,o),a=__read(a&&0!==a.length?[t,a]:[r,Tue(r,e,n,o)],2),r=a[0],a=a[1];return a.length?__spreadArray(__spreadArray([],__read(bue(e,r,n,o)),!1),__read(a),!1):!(111551&i.flags)&&788968&i.flags?Cue(e,Uf(i,e),n,o):void 0}}}function Tue(e,t,r,n){return cD(!e.isUnion()||32&e.flags?[e]:e.types,function(e){return e.symbol&&Cue(t,e.symbol,r,n)})}function Sue(e,t,r){var n=vue(e,t,r);if(n&&0!==n.length){e=Eue(t.referencedFiles,r)||Eue(t.typeReferenceDirectives,r)||Eue(t.libReferenceDirectives,r);if(e)return{definitions:n,textSpan:MQ(e)};r=GX(t,r);return{definitions:n,textSpan:So(r.getStart(),r.getWidth())}}}function wue(e,t,r){var n=t.getSymbolAtLocation(e),a=!1;if(null!=n&&n.declarations&&2097152&n.flags&&!r&&(r=e,e=n.declarations[0],80===r.kind&&(r.parent===e||274!==e.kind))){t=t.getAliasedSymbol(n);if(t.declarations)return{symbol:t};a=!0}return{symbol:n,failedAliasResolution:a}}function Cue(r,n,a,i,t){var e=nD(n.declarations,function(e){return e!==t}),o=nD(e,function(e){return!function(e){if(yI(e)){e=FA(e,function(e){return!!NL(e)||!yI(e)&&"quit"});return e&&5===NI(e)}}(e)}),o=dD(o)?o:e;return function(){if(32&n.flags&&!(19&n.flags)&&(XG(a)||137===a.kind))return s((QN(e,NE)||rA.fail("Expected declaration to have at least one class-like declaration")).members,!0)}()||(QG(a)||yX(a)?s(e,!1):void 0)||iD(o,function(e){return Nue(e,r,n,a,!1,i)});function s(e,t){if(e){e=e.filter(t?IR:bE),t=e.filter(function(e){return!!e.body});return e.length?0!==t.length?t.map(function(e){return Nue(e,r,n,a)}):[Nue(ND(e),r,n,a,!1,i)]:void 0}}}function Nue(e,t,r,n,a,i){var o=t.symbolToString(r),s=Ele.getSymbolKind(t,r,n),n=r.parent?t.symbolToString(r.parent,n):"";return Due(t,e,s,o,n,a,i)}function Due(e,t,r,n,a,i,o,s){var c=t.getSourceFile();return s=s||IQ(JA(t)||t,c),__assign(__assign({fileName:c.fileName,textSpan:s,kind:r,name:n,containerKind:void 0,containerName:a},pue.toContextSpan(s,c,pue.getContextNode(t))),{isLocal:!function e(t,r){if(t.isDeclarationVisible(r))return!0;if(!r.parent)return!1;if(nF(r.parent)&&r.parent.initializer===r)return e(t,r.parent);switch(r.kind){case 172:case 177:case 178:case 174:if(uL(r,8))return!1;case 176:case 303:case 304:case 210:case 231:case 219:case 218:return e(t,r.parent);default:return!1}}(e,t),isAmbient:!!(33554432&t.flags),unverified:i,failedAliasResolution:o})}function Aue(e,t,r){return Nue(t,e,t.symbol,t,!1,r)}function Eue(e,t){return QN(e,function(e){return wA(e,t)})}var Fue=e({"src/services/goToDefinition.ts":function(){fpe(),mue=new Set(["Array","ArrayLike","ReadonlyArray","Promise","PromiseLike","Iterable","IterableIterator","AsyncIterable","Set","WeakSet","ReadonlySet","Map","WeakMap","ReadonlyMap","Partial","Required","Readonly","Pick","Omit"])}}),Pue={};t(Pue,{createDefinitionInfo:function(){return Nue},findReferenceInPosition:function(){return Eue},getDefinitionAndBoundSpan:function(){return Sue},getDefinitionAtPosition:function(){return vue},getReferenceAtPosition:function(){return hue},getTypeDefinitionAtPosition:function(){return kue}});var Iue,Oue,Lue=e({"src/services/_namespaces/ts.GoToDefinition.ts":function(){Fue()}});function Mue(e){return"literals"===e.includeInlayParameterNameHints||"all"===e.includeInlayParameterNameHints}function Rue(e){var y=e.file,t=e.program,r=e.span,n=e.cancellationToken,v=e.preferences,g=y.text,h=t.getCompilerOptions(),x=t.getTypeChecker(),i=[];return function e(t){if(!t||0===t.getFullWidth())return;switch(t.kind){case 267:case 263:case 264:case 262:case 231:case 218:case 174:case 219:n.throwIfCancellationRequested()}if(!xo(r,t.pos,t.getFullWidth()))return;if(FE(t)&&!hj(t))return;v.includeInlayVariableTypeHints&&Aj(t)||v.includeInlayPropertyDeclarationTypeHints&&AR(t)?u(t):v.includeInlayEnumMemberValueHints&&cB(t)?s(t):Mue(v)&&(oj(t)||sj(t))?_(t):(v.includeInlayFunctionParameterTypeHints&&TE(t)&&JM(t)&&d(t),v.includeInlayFunctionLikeReturnTypeHints&&a(t)&&l(t));return HB(t,e)}(y),i;function a(e){return lj(e)||_j(e)||Fj(e)||FR(e)||OR(e)}function b(e,t,r,n){var a,n="".concat(n?"...":"").concat(e);!0===v.interactiveInlayHints?(a=[(e=n,a=(t=t).getSourceFile(),{text:e,span:IQ(t,a),file:a.fileName}),{text:":"}],n=""):n+=":",i.push({text:n,position:r,kind:"Parameter",whitespaceAfter:!0,displayParts:a})}function o(e,t){i.push({text:": ".concat(e.length>Iue?e.substr(0,Iue-"...".length)+"...":e),position:t,kind:"Type",whitespaceBefore:!0})}function s(e){var t;e.initializer||void 0!==(t=x.getConstantValue(e))&&(t=t.toString(),e=e.end,i.push({text:"= ".concat(t),position:e,kind:"Enum",whitespaceBefore:!0}))}function c(e){return e.symbol&&1536&e.symbol.flags}function u(e){var t;!e.initializer||PE(e.name)||Aj(e)&&!p(e)||nL(e)||(c(t=x.getTypeAtLocation(e))||(t=f(t))&&(!1===v.includeInlayVariableTypeHintsWhenTypeMatchesName&&sr(e.name.getText(),t)||o(t,e.name.end)))}function _(e){var t,r,n=e.arguments;if(n&&n.length){var a=[],i=x.getResolvedSignatureForSignatureHelp(e,a);if(i&&a.length){var o=0;try{for(var s=__values(n),c=s.next();!c.done;c=s.next()){var u=c.value,_=oO(u);if("literals"!==v.includeInlayParameterNameHints||k(_)){var l=0;if(yj(_)){var d=x.getTypeAtLocation(_.expression);if(x.isTupleType(d)){var f=d.target,p=f.elementFlags,f=f.fixedLength;if(0===f)continue;p=ZN(p,function(e){return!(1&e)});0<(p<0?f:p)&&(l=p<0?f:p)}}var m,f=x.getParameterIdentifierInfoAtPosition(i,o);o+=l||1,f&&(p=f.parameter,l=f.parameterName,f=f.isRestParameter,!v.includeInlayParameterNameHintsWhenArgumentMatchesName&&function(e,t){if(xR(e))return e.text===t;if(aj(e))return e.name.text===t;return!1}(_,l)&&!f||function(e,t){if(!bA(t,h.target,Tp(y.scriptKind)))return!1;e=$i(g,e.pos);if(null==e||!e.length)return!1;var r=Oue(t);return dD(e,function(e){return r.test(g.substring(e.pos,e.end))})}(_,m=OA(l))||b(m,p,u.getStart(),f))}}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}}}}function k(e){switch(e.kind){case 224:var t=e.operand;return lE(t)||xR(t)&&zM(t.escapedText);case 112:case 97:case 106:case 15:case 228:return 1;case 80:t=e.escapedText;return"undefined"===t||zM(t)}return lE(e)}function l(e){var t;lj(e)&&!MX(e,21,y)||aL(e)||!e.body||(t=x.getSignatureFromDeclaration(e))&&(c(t=x.getReturnTypeOfSignature(t))||(t=f(t))&&o(t,function(e){var t=MX(e,22,y);if(t)return t.end;return e.parameters.end}(e)))}function d(e){var t=x.getSignatureFromDeclaration(e);if(t)for(var r=0;r<e.parameters.length&&r<t.parameters.length;++r){var n,a=e.parameters[r];p(a)&&(nL(a)||(n=function(e){var t=e.valueDeclaration;if(!t||!CR(t))return;t=x.getTypeOfSymbolAtLocation(e,t);if(c(t))return;return f(t)}(t.parameters[r]))&&o(n,(a.questionToken||a.name).end))}}function f(r){var n=vU();return kF(function(e){var t=x.typeToTypeNode(r,void 0,71286784);rA.assertIsDefined(t,"should always get typenode"),n.writeNode(4,t,y,e)})}function p(e){if((LO(e)||Aj(e)&&R_(e))&&e.initializer){e=oO(e.initializer);return!(k(e)||sj(e)||nj(e)||BE(e))}return 1}}var jue=e({"src/services/inlayHints.ts":function(){fpe(),Iue=30,Oue=function(e){return new RegExp("^\\s?/\\*\\*?\\s?".concat(e,"\\s?\\*\\/\\s?$"))}}}),Bue={};t(Bue,{provideInlayHints:function(){return Rue}});var Jue,zue,Uue,Vue,que=e({"src/services/_namespaces/ts.InlayHints.ts":function(){jue()}});function Wue(e,s){var c=[];return gY(e,function(e){var t,r;try{for(var n=__values(function(e){switch(e.kind){case 348:case 355:return[e];case 345:case 353:return[e,e.parent];default:return Dl(e)}}(e)),a=n.next();!a.done;a=n.next()){var i=a.value,o=kh(i)&&i.tags&&QN(i.tags,function(e){return 334===e.kind&&("inheritDoc"===e.tagName.escapedText||"inheritdoc"===e.tagName.escapedText)});void 0===i.comment&&!o||kh(i)&&353!==e.kind&&345!==e.kind&&i.tags&&i.tags.some(function(e){return 353===e.kind||345===e.kind})&&!i.tags.some(function(e){return 348===e.kind||349===e.kind})||(i=i.comment?Gue(i.comment,s):[],o&&o.comment&&(i=i.concat(Gue(o.comment,s))),eD(c,i,Hue)||c.push(i))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}),sD(y(c,[UY()]))}function Hue(e,t){return tD(e,t,function(e,t){return e.kind===t.kind&&e.text===t.text})}function Kue(e,s){var c=[];return gY(e,function(e){var t,r,n=YA(e);if(!n.some(function(e){return 353===e.kind||345===e.kind})||n.some(function(e){return 348===e.kind||349===e.kind}))try{for(var a=__values(n),i=a.next();!i.done;i=a.next()){var o=i.value;c.push({name:o.tagName.text,text:function(e,t){var r=e.comment,n=e.kind,a=function(e){switch(e){case 348:return FY;case 355:return PY;case 352:return MY;case 353:case 345:return LY;default:return OY}}(n);switch(n){case 356:var i=e.typeExpression;return i?u(i):void 0===r?void 0:Gue(r,t);case 336:case 335:return u(e.class);case 352:var o,s=e,c=[];return s.constraint&&c.push(OY(s.constraint.getText())),HN(s.typeParameters)&&(HN(c)&&c.push(NY()),o=s.typeParameters[s.typeParameters.length-1],KN(s.typeParameters,function(e){c.push(a(e.getText())),o!==e&&c.push.apply(c,[AY(28),NY()])})),r&&c.push.apply(c,__spreadArray([],__read(__spreadArray([NY()],__read(Gue(r,t)),!1)),!1)),c;case 351:case 357:return u(e.typeExpression);case 353:case 345:case 355:case 348:case 354:s=e.name;return s?u(s):void 0===r?void 0:Gue(r,t);default:return void 0===r?void 0:Gue(r,t)}function u(e){return e=e.getText(),r?e.match(/^https?$/)?__spreadArray([OY(e)],__read(Gue(r,t)),!1):__spreadArray([a(e),NY()],__read(Gue(r,t)),!1):[OY(e)]}}(o,s)})}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}),c}function Gue(e,t){return"string"==typeof e?[OY(e)]:cD(e,function(e){return 328===e.kind?[OY(e.text)]:JY(e,t)})}function Xue(){return zue=zue||iD(Jue,function(e){return{name:e,kind:"keyword",kindModifiers:"",sortText:Dce.SortText.LocationPriority}})}function Que(){return Uue=Uue||iD(Jue,function(e){return{name:"@".concat(e),kind:"keyword",kindModifiers:"",sortText:Dce.SortText.LocationPriority}})}function Yue(e){return{name:e,kind:"",kindModifiers:"",displayParts:[OY(e)],documentation:WN,tags:void 0,codeActions:void 0}}function Zue(r){if(!xR(r.name))return WN;var n=r.name.text,a=r.parent,e=a.parent;return bE(e)?uD(e.parameters,function(e){if(xR(e.name)){var t=e.name.text;if(!a.tags.some(function(e){return e!==r&&wB(e)&&xR(e.name)&&e.name.escapedText===t})&&(void 0===n||XD(t,n)))return{name:t,kind:"parameter",kindModifiers:"",sortText:Dce.SortText.LocationPriority}}}):[]}function $ue(e){return{name:e,kind:"parameter",kindModifiers:"",displayParts:[OY(e)],documentation:WN,tags:void 0,codeActions:void 0}}function e_e(e,t,r,n){var a=QX(t,r),i=FA(a,kh);if(!i||void 0===i.comment&&!HN(i.tags)){var o=a.getStart(t);if(i||!(o<r)){var s,c=(s=n,Lu(a,function(e){return function e(t,r){switch(t.kind){case 262:case 218:case 174:case 176:case 173:case 219:var n=t;return{commentOwner:t,parameters:n.parameters,hasReturn:t_e(n,r)};case 303:return e(t.initializer,r);case 263:case 264:case 266:case 306:case 265:return{commentOwner:t};case 171:var a=t;return a.type&&JR(a.type)?{commentOwner:t,parameters:a.type.parameters,hasReturn:t_e(a.type,r)}:{commentOwner:t};case 243:var n=t,n=n.declarationList.declarations,a=1===n.length&&n[0].initializer?r_e(n[0].initializer):void 0;return a?{commentOwner:t,parameters:a.parameters,hasReturn:t_e(a,r)}:{commentOwner:t};case 312:return"quit";case 267:return 267===t.parent.kind?void 0:{commentOwner:t};case 244:return e(t.expression,r);case 226:var i=t;return 0===NI(i)?"quit":bE(i.right)?{commentOwner:t,parameters:i.right.parameters,hasReturn:t_e(i.right,r)}:{commentOwner:t};case 172:var i=t.initializer;if(i&&(_j(i)||lj(i)))return{commentOwner:t,parameters:i.parameters,hasReturn:t_e(i,r)}}}(e,s)}));if(c){var u=c.commentOwner,n=c.parameters,a=c.hasReturn,c=CD(tF(u)&&u.jsDoc?u.jsDoc:void 0);if(!(u.getStart(t)<r||c&&i&&c!==i)){var _,l,d,f,i=function(e,t){for(var r=e.text,e=kX(t,e),n=e;n<=t&&ji(r.charCodeAt(n));n++);return r.slice(e,n)}(t,r),t=sm(t.fileName),_=(n?(l=t,d=i,f=e,(n||[]).map(function(e,t){var r=e.name,e=e.dotDotDotToken,t=80===r.kind?r.text:"param"+t,e=l?e?"{...any} ":"{any} ":"";return"".concat(d," * @param ").concat(e).concat(t).concat(f)}).join("")):"")+(a?(_=e,"".concat(i," * @returns").concat(_)):""),u=0<HN(YA(u));if(!_||u)return{newText:"/** */",caretOffset:3};u="/**"+e+i+" * ";return{newText:u+e+_+i+" */"+(o===r?e+i:""),caretOffset:u.length}}}}}}function t_e(e,t){return!(null==t||!t.generateReturnInDocTemplate)&&(JR(e)||lj(e)&&jE(e.body)||TE(e)&&e.body&&kj(e.body)&&!!gP(e.body,function(e){return e}))}function r_e(e){for(;217===e.kind;)e=e.expression;switch(e.kind){case 218:case 219:return e;case 231:return QN(e.members,IR)}}var n_e=e({"src/services/jsDoc.ts":function(){fpe(),Jue=["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"],Vue=Yue}}),a_e={};t(a_e,{getDocCommentTemplateAtPosition:function(){return e_e},getJSDocParameterNameCompletionDetails:function(){return $ue},getJSDocParameterNameCompletions:function(){return Zue},getJSDocTagCompletionDetails:function(){return Yue},getJSDocTagCompletions:function(){return Que},getJSDocTagNameCompletionDetails:function(){return Vue},getJSDocTagNameCompletions:function(){return Xue},getJsDocCommentsFromDeclarations:function(){return Wue},getJsDocTagsFromDeclarations:function(){return Kue}});var i_e,o_e=e({"src/services/_namespaces/ts.JsDoc.ts":function(){n_e()}});function s_e(a,i,o,t,e,r){function n(e){return m&&(e=function(e,t,r){var n,a,i=r.getTypeChecker(),o=r.getCompilerOptions(),s=i.getJsxNamespace(t),c=i.getJsxFragmentFactory(t),u=!!(2&t.transformFlags),_=[];try{for(var l=__values(e),d=l.next();!d.done;d=l.next()){var f,p,m=d.value,y=m.importClause,v=m.moduleSpecifier;y?(f=y.name,p=y.namedBindings,f&&!g(f)&&(f=void 0),p&&(ah(p)?g(p.name)||(p=void 0):(y=p.elements.filter(function(e){return g(e.name)})).length<p.elements.length&&(p=y.length?uR.updateNamedImports(p,y):void 0)),f||p?_.push(p_e(m,f,p)):function(e,t){var r=hR(t)&&t.text;return jD(r)&&dD(e.moduleAugmentations,function(e){return hR(e)&&e.text===r})}(t,v)&&(t.isDeclarationFile?_.push(uR.createImportDeclaration(m.modifiers,void 0,v,void 0)):_.push(m))):_.push(m)}}catch(e){n={error:e}}finally{try{d&&!d.done&&(a=l.return)&&a.call(l)}finally{if(n)throw n.error}}return _;function g(e){return u&&(e.text===s||c&&e.text===c)&&l$(o.jsx)||pue.Core.isSymbolReferencedInFile(e,i,t)}}(e,a,t)),p&&(e=l_e(e,v,a)),f&&(e=bn(e,function(e,t){return w_e(e,t,v)})),e}var s,c,u,_,l,d=ode.ChangeTracker.fromContext({host:o,formatContext:i,preferences:e}),f="SortAndCombine"===r||"All"===r,p=f,m="RemoveUnused"===r||"All"===r,y=c_e(a,a.statements.filter(Jj)),v=(_=f?function(){return 2===b_e(y,e)}:void 0,l="boolean"==typeof(u=e).organizeImportsIgnoreCase?u.organizeImportsIgnoreCase:null!==(l=null==_?void 0:_())&&void 0!==l&&l,A_e(u,l));y.forEach(function(e){return b(e,n)}),"RemoveUnused"!==r&&function(t){var e=[],r=t.statements,n=HN(r),a=0,i=0;for(;a<n;)if(Wj(r[a])){void 0===e[i]&&(e[i]=[]);var o=r[a];if(o.moduleSpecifier)e[i].push(o),a++;else{for(;a<n&&Wj(r[a]);)e[i].push(r[a++]);i++}}else a++;return cD(e,function(e){return c_e(t,e)})}(a).forEach(function(e){return b(e,function(e){return f_e(e,v)})});try{for(var g=__values(a.statements.filter(RF)),h=g.next();!h.done;h=g.next()){var x=h.value;x.body&&(c_e(a,x.body.statements.filter(Jj)).forEach(function(e){return b(e,n)}),"RemoveUnused"!==r&&b(x.body.statements.filter(Wj),function(e){return f_e(e,v)}))}}catch(e){s={error:e}}finally{try{h&&!h.done&&(c=g.return)&&c.call(g)}finally{if(s)throw s.error}}return d.getChanges();function b(e,t){var r,n;0!==HN(e)&&(lR(e[0],1024),n=p?OD(e,function(e){return u_e(e.moduleSpecifier)}):[e],0===(r=cD(f?bn(n,function(e,t){return g_e(e[0].moduleSpecifier,t[0].moduleSpecifier,v)}):n,function(e){return u_e(e[0].moduleSpecifier)||void 0===e[0].moduleSpecifier?t(e):e})).length?d.deleteNodes(a,e,{leadingTriviaOption:ode.LeadingTriviaOption.Exclude,trailingTriviaOption:ode.TrailingTriviaOption.Include},!0):(n={leadingTriviaOption:ode.LeadingTriviaOption.Exclude,trailingTriviaOption:ode.TrailingTriviaOption.Include,suffix:zY(o,i.options)},d.replaceNodeWithNodes(a,e[0],r,n),n=d.nodeHasTrailingComment(a,e[0],n),d.deleteNodes(a,e.slice(1),{trailingTriviaOption:ode.TrailingTriviaOption.Include},n)))}}function c_e(e,t){var r,n,a=ao(e.languageVersion,!1,e.languageVariant),i=[],o=0;try{for(var s=__values(t),c=s.next();!c.done;c=s.next()){var u=c.value;i[o]&&function(e,t,r){var n=t.getFullStart(),a=t.getStart();r.setText(e.text,n,a-n);var i=0;for(;r.getTokenStart()<a;){var o=r.scan();if(4===o&&2<=++i)return!0}return!1}(e,u,a)&&o++,i[o]||(i[o]=[]),i[o].push(u)}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return i}function u_e(e){return void 0!==e&&oF(e)?e.text:void 0}function __e(e,t,r){return l_e(e,N_e(t),r)}function l_e(e,r,t){var n,a,i,o,s,c;if(0===e.length)return e;var u=function(e){var t,r,n,a={defaultImports:[],namespaceImports:[],namedImports:[]},i={defaultImports:[],namespaceImports:[],namedImports:[]};try{for(var o=__values(e),s=o.next();!s.done;s=o.next()){var c,u,_,l=s.value;void 0!==l.importClause?(c=l.importClause.isTypeOnly?a:i,_=l.importClause,u=_.name,_=_.namedBindings,u&&c.defaultImports.push(l),_&&(ah(_)?c.namespaceImports:c.namedImports).push(l)):n=n||l}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return{importWithoutClause:n,typeOnlyImports:a,regularImports:i}}(e),e=u.importWithoutClause,_=u.typeOnlyImports,l=u.regularImports,d=[];e&&d.push(e);try{for(var f=__values([l,_]),p=f.next();!p.done;p=f.next()){var m=p.value,y=m===_,v=m.defaultImports,g=m.namespaceImports,h=m.namedImports;if(y||1!==v.length||1!==g.length||0!==h.length){var x=bn(g,function(e,t){return r(e.importClause.namedBindings.name.text,t.importClause.namedBindings.name.text)});try{for(var b=(i=void 0,__values(x)),k=b.next();!k.done;k=b.next()){var T=k.value;d.push(p_e(T,void 0,T.importClause.namedBindings))}}catch(e){i={error:e}}finally{try{k&&!k.done&&(o=b.return)&&o.call(b)}finally{if(i)throw i.error}}var S=kD(v),w=kD(h),m=null!=S?S:w;if(m){var S=void 0,C=[];if(1===v.length)S=v[0].importClause.name;else try{for(var N=(s=void 0,__values(v)),D=N.next();!D.done;D=N.next()){A=D.value;C.push(uR.createImportSpecifier(!1,uR.createIdentifier("default"),A.importClause.name))}}catch(e){s={error:e}}finally{try{D&&!D.done&&(c=N.return)&&c.call(N)}finally{if(s)throw s.error}}C.push.apply(C,__spreadArray([],__read(cD(h,function(e){return iD(null!=(e=(t=e).importClause)&&e.namedBindings&&ih(t.importClause.namedBindings)?t.importClause.namedBindings.elements:void 0,function(e){return e.name&&e.propertyName&&e.name.escapedText===e.propertyName.escapedText?uR.updateImportSpecifier(e,e.isTypeOnly,void 0,e.name):e});var t})),!1));h=uR.createNodeArray(m_e(C,r),null==w?void 0:w.importClause.namedBindings.elements.hasTrailingComma),h=0===h.length?S?void 0:uR.createNamedImports(WN):w?uR.updateNamedImports(w.importClause.namedBindings,h):uR.createNamedImports(h);t&&h&&null!=w&&w.importClause.namedBindings&&!wf(w.importClause.namedBindings,t)&&lR(h,2),y&&S&&h?(d.push(p_e(m,S,void 0)),d.push(p_e(null!=w?w:m,void 0,h))):d.push(p_e(m,S,h))}}else{var A=v[0];d.push(p_e(A,A.importClause.name,g[0].importClause.namedBindings))}}}catch(e){n={error:e}}finally{try{p&&!p.done&&(a=f.return)&&a.call(f)}finally{if(n)throw n.error}}return d}function d_e(e,t){return f_e(e,N_e(t))}function f_e(e,t){var r,n;if(0===e.length)return e;var a=function(e){var t,r,n,a=[],i=[];try{for(var o=__values(e),s=o.next();!s.done;s=o.next()){var c=s.value;void 0===c.exportClause?n=n||c:(c.isTypeOnly?i:a).push(c)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return{exportWithoutClause:n,namedExports:a,typeOnlyExports:i}}(e),e=a.exportWithoutClause,i=a.namedExports,o=a.typeOnlyExports,s=[];e&&s.push(e);try{for(var c=__values([i,o]),u=c.next();!u.done;u=c.next()){var _,l=u.value;0!==l.length&&((_=[]).push.apply(_,__spreadArray([],__read(cD(l,function(e){return e.exportClause&&Hj(e.exportClause)?e.exportClause.elements:WN})),!1)),_=m_e(_,t),l=l[0],s.push(uR.updateExportDeclaration(l,l.modifiers,l.isTypeOnly,l.exportClause&&(Hj(l.exportClause)?uR.updateNamedExports(l.exportClause,_):uR.updateNamespaceExport(l.exportClause,l.exportClause.name)),l.moduleSpecifier,l.assertClause)))}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}return s}function p_e(e,t,r){return uR.updateImportDeclaration(e,e.modifiers,uR.updateImportClause(e.importClause,e.importClause.isTypeOnly,t,r),e.moduleSpecifier,e.assertClause)}function m_e(e,r){return bn(e,function(e,t){return y_e(e,t,r)})}function y_e(e,t,r){return Se(e.isTypeOnly,t.isTypeOnly)||r(e.name.text,t.name.text)}function v_e(e,t,r){return g_e(e,t,!r?ge:ve)}function g_e(e,t,r){e=void 0===e?void 0:u_e(e),t=void 0===t?void 0:u_e(t);return Se(void 0===e,void 0===t)||Se(kA(e),kA(t))||r(e,t)}function h_e(e){var t;switch(e.kind){case 271:return null==(t=BD(e.moduleReference,Gj))?void 0:t.expression;case 272:return e.moduleSpecifier;case 243:return e.declarationList.declarations[0].initializer.arguments[0]}}function x_e(e,t){return b_e(c_e(e,e.statements.filter(Jj)),t)}function b_e(e,t){var r,n,a=A_e(t,!1),i=A_e(t,!0),o=3,s=!1;try{for(var c=__values(e),u=c.next();!u.done;u=c.next()){var _=u.value;if(1<_.length){var l=P(_,function(e){return null!==(e=null==(e=BD(e.moduleSpecifier,hR))?void 0:e.text)&&void 0!==e?e:""},a,i);if(l&&(o&=l,s=!0),!o)return o}_=QN(_,function(e){return 1<(null==(e=BD(null==(e=e.importClause)?void 0:e.namedBindings,ih))?void 0:e.elements.length)});if(_){_=i_e(_.importClause.namedBindings.elements,t);if(_&&(o&=_,s=!0),!o)return o}if(3!==o)return o}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}return s?0:o}function k_e(e,t){return P(e,function(e){return u_e(h_e(e))||""},A_e(t,!1),A_e(t,!0))}function T_e(e,t,r){t=AD(e,t,ir,function(e,t){return w_e(e,t,r)});return t<0?~t:t}function S_e(e,t,r){t=AD(e,t,ir,function(e,t){return y_e(e,t,r)});return t<0?~t:t}function w_e(e,t,r){return g_e(h_e(e),h_e(t),r)||(t=t,UD(C_e(e),C_e(t)))}function C_e(e){var t;switch(e.kind){case 272:return e.importClause?e.importClause.isTypeOnly?1:274===(null==(t=e.importClause.namedBindings)?void 0:t.kind)?2:e.importClause.name?3:4:0;case 271:return 5;case 243:return 6}}function N_e(e){return e?ve:ge}function D_e(e,t){var r=function(e){e=e.organizeImportsLocale;"auto"===e&&(e=i);void 0===e&&(e="en");e=Intl.Collator.supportedLocalesOf(e);return e.length?e[0]:"en"}(t),n=null!==(a=t.organizeImportsCaseFirst)&&void 0!==a&&a,a=null!==(a=t.organizeImportsNumericCollation)&&void 0!==a&&a,t=null===(t=t.organizeImportsAccentCollation)||void 0===t||t,t=e?t?"accent":"base":t?"variant":"case";return new Intl.Collator(r,{usage:"sort",caseFirst:n||"false",sensitivity:t,numeric:a}).compare}function A_e(e,t){var r;return"unicode"===(null!==(r=e.organizeImportsCollation)&&void 0!==r?r:"ordinal")?D_e(t,e):N_e(t)}var E_e=e({"src/services/organizeImports.ts":function(){function e(){}fpe(),e.prototype.has=function(e){var t=__read(e,2),e=t[0],t=t[1];return!(this._lastPreferences!==t||!this._cache)&&this._cache.has(e)},e.prototype.get=function(e){var t=__read(e,2),e=t[0],t=t[1];if(this._lastPreferences===t&&this._cache)return this._cache.get(e)},e.prototype.set=function(e,t){var r=__read(e,2),e=r[0],r=r[1];this._lastPreferences!==r&&(this._lastPreferences=r,this._cache=void 0),null!==(r=this._cache)&&void 0!==r||(this._cache=new WeakMap),this._cache.set(e,t)},i_e=le(function(e,t){return F(e,function(e,t){return Se(e.isTypeOnly,t.isTypeOnly)})?P(e,function(e){return e.name.text},A_e(t,!1),A_e(t,!0)):0},new e)}}),F_e={};t(F_e,{coalesceExports:function(){return d_e},coalesceImports:function(){return __e},compareImportOrExportSpecifiers:function(){return y_e},compareImportsOrRequireStatements:function(){return w_e},compareModuleSpecifiers:function(){return v_e},detectImportDeclarationSorting:function(){return k_e},detectImportSpecifierSorting:function(){return i_e},detectSorting:function(){return x_e},getImportDeclarationInsertionIndex:function(){return T_e},getImportSpecifierInsertionIndex:function(){return S_e},getOrganizeImportsComparer:function(){return A_e},organizeImports:function(){return s_e}});var P_e,I_e=e({"src/services/_namespaces/ts.OrganizeImports.ts":function(){E_e()}});function O_e(e,t){var r=[];return function(r,n,a){for(var i=40,e=0,t=__spreadArray(__spreadArray([],__read(r.statements),!1),[r.endOfFileToken],!1),o=t.length;e<o;){for(;e<o&&!N_(t[e]);)u(t[e]),e++;if(e===o)break;for(var s=e;e<o&&N_(t[e]);)u(t[e]),e++;var c=e-1;c!==s&&a.push(j_e(MX(t[s],102,r).getStart(r),t[c].getEnd(),"imports"))}function u(e){var t;0!==i&&(n.throwIfCancellationRequested(),(GE(e)||Tj(e)||Kg(e)||ME(e)||1===e.kind)&&R_e(e,r,n,a),bE(e)&&mj(e.parent)&&aj(e.parent.left)&&R_e(e.parent.left,r,n,a),(kj(e)||Rj(e))&&M_e(e.statements.end,r,n,a),(NE(e)||Ij(e))&&M_e(e.members.end,r,n,a),(t=function(i,o){switch(i.kind){case 241:if(bE(i.parent))return function(e,t,r){var n=function(e,t,r){if(Pf(e.parameters,r)){e=MX(e,21,r);if(e)return e}return MX(t,19,r)}(e,t,r),t=MX(t,20,r);return n&&t&&B_e(n,t,e,r,219!==e.kind)}(i.parent,i,o);switch(i.parent.kind){case 246:case 249:case 250:case 248:case 245:case 247:case 254:case 299:return r(i.parent);case 258:var e=i.parent;if(e.tryBlock===i)return r(i.parent);if(e.finallyBlock===i){e=MX(e,98,o);if(e)return r(e)}default:return J_e(IQ(i,o),"code")}case 268:return r(i.parent);case 263:case 231:case 264:case 266:case 269:case 187:case 206:return r(i);case 189:return r(i,!1,!qR(i.parent),23);case 296:case 297:return function(e){return e.length?J_e(MQ(e),"code"):void 0}(i.statements);case 210:return t(i);case 209:return t(i,23);case 284:return function(e){var t=wo(e.openingElement.getStart(o),e.closingElement.getEnd()),e=e.openingElement.tagName.getText(o);return J_e(t,"code",t,!1,"<"+e+">...</"+e+">")}(i);case 288:return function(e){e=wo(e.openingFragment.getStart(o),e.closingFragment.getEnd());return J_e(e,"code",e,!1,"<>...</>")}(i);case 285:case 286:return function(e){return 0!==e.properties.length?j_e(e.getStart(o),e.getEnd(),"code"):void 0}(i.attributes);case 228:case 15:return function(e){return 15!==e.kind||0!==e.text.length?j_e(e.getStart(o),e.getEnd(),"code"):void 0}(i);case 207:return r(i,!1,!tj(i.parent),23);case 219:return function(e){if(kj(e.body)||uj(e.body)||If(e.body.getFullStart(),e.body.getEnd(),o))return;return J_e(wo(e.body.getFullStart(),e.body.getEnd()),"code",IQ(e))}(i);case 213:return function(e){if(!e.arguments.length)return;var t=MX(e,21,o),r=MX(e,22,o);return t&&r&&!If(t.pos,r.pos,o)?B_e(t,r,e,o,!1,!0):void 0}(i);case 217:return function(e){return If(e.getStart(),e.getEnd(),o)?void 0:J_e(wo(e.getStart(),e.getEnd()),"code",IQ(e))}(i);case 275:case 279:case 300:return function(e){if(!e.elements.length)return;var t=MX(e,19,o),r=MX(e,20,o);return t&&r&&!If(t.pos,r.pos,o)?B_e(t,r,e,o,!1,!1):void 0}(i)}function t(e,t){return void 0===t&&(t=19),r(e,!1,!rj(e.parent)&&!oj(e.parent),t)}function r(e,t,r,n,a){void 0===t&&(t=!1),void 0===r&&(r=!0),void 0===n&&(n=19),void 0===a&&(a=19===n?20:24);n=MX(i,n,o),a=MX(i,a,o);return n&&a&&B_e(n,a,e,o,t,r)}}(e,r))&&a.push(t),i--,oj(e)?(i++,u(e.expression),i--,e.arguments.forEach(u),null!=(t=e.typeArguments)&&t.forEach(u)):wj(e)&&e.elseStatement&&wj(e.elseStatement)?(u(e.expression),u(e.thenStatement),i++,u(e.elseStatement),i--):e.forEachChild(u),i++)}}(e,t,r),function(e,t){var r,n,a=[],i=e.getLineStarts();try{for(var o=__values(i),s=o.next();!s.done;s=o.next()){var c,u=s.value,_=e.getLineEndOfPosition(u),l=L_e(e.text.substring(u,_));l&&!yQ(e,u)&&(l[1]?(c=a.pop())&&(c.textSpan.length=_-c.textSpan.start,c.hintSpan.length=_-c.textSpan.start,t.push(c)):(_=wo(e.text.indexOf("//",u),_),a.push(J_e(_,"region",_,!1,l[2]||"#region"))))}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}(e,r),r.sort(function(e,t){return e.textSpan.start-t.textSpan.start})}function L_e(e){return XD(e=V(e),"//")?(e=h(e.slice(2)),P_e.exec(e)):null}function M_e(e,t,r,n){var a,i,o=$i(t.text,e);if(o){var s=-1,c=-1,u=0,_=t.getFullText();try{for(var l=__values(o),d=l.next();!d.done;d=l.next()){var f=d.value,p=f.kind,m=f.pos,y=f.end;switch(r.throwIfCancellationRequested(),p){case 2:if(L_e(_.slice(m,y))){v(),u=0;break}0===u&&(s=m),c=y,u++;break;case 3:v(),n.push(j_e(m,y,"comment")),u=0;break;default:rA.assertNever(p)}}}catch(e){a={error:e}}finally{try{d&&!d.done&&(i=l.return)&&i.call(l)}finally{if(a)throw a.error}}v()}function v(){1<u&&n.push(j_e(s,c,"comment"))}}function R_e(e,t,r,n){qv(e)||M_e(e.pos,t,r,n)}function j_e(e,t,r){return J_e(wo(e,t),r)}function B_e(e,t,r,n,a,i){return void 0===a&&(a=!1),void 0===i&&(i=!0),J_e(wo(i?e.getFullStart():e.getStart(n),t.getEnd()),"code",IQ(r,n),a)}function J_e(e,t,r,n,a){return void 0===r&&(r=e),void 0===n&&(n=!1),void 0===a&&(a="..."),{textSpan:e,kind:t,hintSpan:r,bannerText:a,autoCollapse:n}}var z_e=e({"src/services/outliningElementsCollector.ts":function(){fpe(),P_e=/^#(end)?region(?:\s+(.*))?(?:\r)?$/}}),U_e={};t(U_e,{collectElements:function(){return O_e}});var V_e=e({"src/services/_namespaces/ts.OutliningElementsCollector.ts":function(){z_e()}});function q_e(e,t,r,n){r=KX(GX(t,r));if(G_e(r)){n=function(e,t,r,n,a){var i=t.getSymbolAtLocation(e);if(!i){if(oF(e)){var o=zX(e,t);if(o&&(128&o.flags||1048576&o.flags&&XN(o.types,function(e){return 128&e.flags})))return H_e(e.text,e.text,"string","",e,r)}else if(_X(e)){var s=PF(e);return H_e(s,s,"label","",e,r)}return}o=i.declarations;if(!o||0===o.length)return;if(o.some(function(e){return function(e,t){t=t.getSourceFile();return e.isSourceFileDefaultLibrary(t)&&uA(t.fileName,".d.ts")}(n,e)}))return K_e(mA.You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library);if(xR(e)&&"default"===e.escapedText&&i.parent&&1536&i.parent.flags)return;if(oF(e)&&Tl(e))return a.allowRenameOfImportPath?function(e,t,r){if(!kA(e.text))return K_e(mA.You_cannot_rename_a_module_via_a_global_import);var n=r.declarations&&QN(r.declarations,uB);if(!n)return;var a=qD(e.text,"/index")||qD(e.text,"/index.js")?void 0:we(pm(n.fileName),"/index"),r=void 0===a?n.fileName:a,n=void 0===a?"module":"directory",a=e.text.lastIndexOf("/")+1,a=So(e.getStart(t)+1+a,e.text.length-a);return{canRename:!0,fileToRename:r,kind:n,displayName:r,fullDisplayName:r,kindModifiers:"",triggerSpan:a}}(e,r,i):void 0;s=function(e,t,r,n){var a,i;!n.providePrefixAndSuffixTextForRename&&2097152&t.flags&&((n=t.declarations&&QN(t.declarations,Vj))&&!n.propertyName&&(t=r.getAliasedSymbol(t)));var o=t.declarations;if(!o)return;var s=W_e(e.path);if(void 0===s)return dD(o,function(e){return VZ(e.getSourceFile().path)})?mA.You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder:void 0;try{for(var c=__values(o),u=c.next();!u.done;u=c.next()){var _=W_e(u.value.getSourceFile().path);if(_)for(var l=Math.min(s.length,_.length),d=0;d<=l;d++)if(0!==ge(s[d],_[d]))return mA.You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder}}catch(e){a={error:e}}finally{try{u&&!u.done&&(i=c.return)&&i.call(c)}finally{if(a)throw a.error}}return}(r,i,t,a);if(s)return K_e(s);o=Ele.getSymbolKind(t,i,e),a=GY(e)||SO(e)&&167===e.parent.kind?UO(AO(e)):void 0,s=a||t.symbolToString(i),a=a||t.getFullyQualifiedName(i);return H_e(s,a,o,Ele.getSymbolModifiers(t,i),e,r)}(r,e.getTypeChecker(),t,e,n);if(n)return n}return K_e(mA.You_cannot_rename_this_element)}function W_e(e){var t=Ia(e),e=t.lastIndexOf("node_modules");if(-1!==e)return t.slice(0,e+2)}function H_e(e,t,r,n,a,i){return{canRename:!0,fileToRename:void 0,kind:r,displayName:e,fullDisplayName:t,kindModifiers:n,triggerSpan:function(e,t){var r=e.getStart(t),t=e.getWidth(t);oF(e)&&(r+=1,t-=2);return So(r,t)}(a,i)}}function K_e(e){return{canRename:!1,localizedErrorMessage:vp(e)}}function G_e(e){switch(e.kind){case 80:case 81:case 11:case 15:case 110:return!0;case 9:return vX(e);default:return!1}}var X_e=e({"src/services/rename.ts":function(){fpe()}}),Q_e={};t(Q_e,{getRenameInfo:function(){return q_e},nodeIsEligibleForRename:function(){return G_e}});var Y_e,Z_e,$_e=e({"src/services/_namespaces/ts.Rename.ts":function(){X_e()}});function ele(e,c,t,r,n){var a=e.getTypeChecker(),i=$X(c,t);if(i){var o=!!r&&"characterTyped"===r.kind;if(!o||!iQ(c,t,i)&&!yQ(c,t)){var r=!!r&&"invoked"===r.kind,u=function(e,a,i,o,t){for(var r=function(e){rA.assert(TX(e.parent,e),"Not a subspan",function(){return"Child: ".concat(rA.formatSyntaxKind(e.kind),", parent: ").concat(rA.formatSyntaxKind(e.parent.kind))});var t,r,n,n=function(e,t,r,n){var a=function(e){switch(e.kind){case 21:case 28:return e;default:return FA(e.parent,function(e){return!!CR(e)||!(tj(e)||$R(e)||ej(e))&&"quit"})}}(e);if(void 0===a)return;var i=function(e,t,r,n){var a=e.parent;switch(a.kind){case 217:case 174:case 218:case 219:var i=nle(e,r,t);if(!i)return;var o=i.argumentIndex,s=i.argumentCount,c=i.argumentsSpan,i=FR(a)?n.getContextualTypeForObjectLiteralElement(a):n.getContextualType(a);return i&&{contextualType:i,argumentIndex:o,argumentCount:s,argumentsSpan:c};case 226:o=function e(t){return mj(t.parent)?e(t.parent):t}(a),s=n.getContextualType(o),c=21===e.kind?0:ile(a)-1,o=ile(o);return s&&{contextualType:s,argumentIndex:c,argumentCount:o,argumentsSpan:IQ(a)};default:return}}(a,r,t,n);if(void 0===i)return;a=i.contextualType,r=i.argumentIndex,t=i.argumentCount,n=i.argumentsSpan,i=a.getNonNullableType(),a=i.symbol;if(void 0===a)return;i=CD(i.getCallSignatures());return void 0===i?void 0:{isTypeParameterList:!1,invocation:{kind:2,signature:i,node:e,symbol:function(e){return"__type"===e.name&&GN(e.declarations,function(e){var t;return!JR(e)||null==(t=BD(e.parent,HE))?void 0:t.symbol})||e}(a)},argumentsSpan:n,argumentIndex:r,argumentCount:t}}(t=e,r=a,n=i,o)||ale(t,r,n);if(n)return{value:n}},n=e;!uB(n)&&(t||!kj(n));n=n.parent){var s=r(n);if("object"==typeof s)return s.value}return}(i,t,c,a,r);if(u){n.throwIfCancellationRequested();var _=function(e,t,r,n,a){var i=e.invocation,o=e.argumentCount;switch(i.kind){case 0:if(a&&!function(e,t,r){if(!ME(t))return!1;var n=t.getChildren(r);switch(e.kind){case 21:return eD(n,e);case 28:var a=RX(e);return!!a&&eD(n,a);case 30:return tle(e,r,t.expression);default:return!1}}(n,i.node,r))return;var s=[],c=t.getResolvedSignatureForSignatureHelp(i.node,s,o);return 0===s.length?void 0:{kind:0,candidates:s,resolvedSignature:c};case 1:c=i.called;if(a&&!tle(n,r,xR(c)?c.parent:c))return;if(0!==(s=pQ(c,o,t)).length)return{kind:0,candidates:s,resolvedSignature:SD(s)};c=t.getSymbolAtLocation(c);return c&&{kind:1,symbol:c};case 2:return{kind:0,candidates:[i.signature],resolvedSignature:i.signature};default:return rA.assertNever(i)}}(u,a,c,i,o);return n.throwIfCancellationRequested(),_?a.runWithCancellationToken(n,function(e){return 0===_.kind?ule(_.candidates,_.resolvedSignature,u,c,e):(t=_.symbol,n=c,a=e,i=(r=u).argumentCount,o=r.argumentsSpan,s=r.invocation,e=r.argumentIndex,(r=a.getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(t))?{items:[function(e,t,r,n,a){var i=WY(r,e),o=vU(),s=t.map(function(e){return _le(e,r,n,a,o)}),t=e.getDocumentationComment(r),e=e.getJsDocTags(r);return{isVariadic:!1,prefixDisplayParts:__spreadArray(__spreadArray([],__read(i),!1),[AY(30)],!1),suffixDisplayParts:[AY(32)],separatorDisplayParts:Z_e,parameters:s,documentation:t,tags:e}}(t,r,a,cle(s),n)],applicableSpan:o,selectedItemIndex:0,argumentIndex:e,argumentCount:i}:void 0);var t,r,n,a,i,o,s}):sI(c)?function(n,e,a){if(2===n.invocation.kind)return;var t=sle(n.invocation),i=aj(t)?t.name.text:void 0,o=e.getTypeChecker();return void 0===i?void 0:GN(e.getSourceFiles(),function(r){return GN(r.getNamedDeclarations().get(i),function(e){var e=e.symbol&&o.getTypeOfSymbolAtLocation(e.symbol,e),t=e&&e.getCallSignatures();if(t&&t.length)return o.runWithCancellationToken(a,function(e){return ule(t,t[0],n,r,e,!0)})})})}(u,e,n):void 0}}}}function tle(e,t,r){for(var n=e.getFullStart(),a=e.parent;a;){var i=tQ(n,t,a,!0);if(i)return TX(r,i);a=a.parent}return rA.fail("Could not find preceding token")}function rle(e,t,r){r=ale(e,t,r);return!r||r.isTypeParameterList||0!==r.invocation.kind?void 0:{invocation:r.invocation.node,argumentCount:r.argumentCount,argumentIndex:r.argumentIndex}}function nle(e,t,r){var n=function(e,t){{if(30===e.kind||21===e.kind)return{list:function(e,t,r){r=e.getChildren(r),t=r.indexOf(t);return rA.assert(0<=t&&r.length>t+1),r[t+1]}(e.parent,e,t),argumentIndex:0};t=RX(e);return t&&{list:t,argumentIndex:function(e,t){var r,n,a=0;try{for(var i=__values(e.getChildren()),o=i.next();!o.done;o=i.next()){var s=o.value;if(s===t)break;28!==s.kind&&a++}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a}(t,e)}}}(e,r);if(n){var a=n.list,n=n.argumentIndex,e=function(e,t){var r=e.getChildren(),e=rD(r,function(e){return 28!==e.kind});!t&&0<r.length&&28===ND(r).kind&&e++;return e}(a,iQ(r,t,e));return 0!==n&&rA.assertLessThan(n,e),{list:a,argumentIndex:n,argumentCount:e,argumentsSpan:(e=r,a=(r=a).getFullStart(),r=xA(e.text,r.getEnd(),!1),So(a,r-a))}}}function ale(e,t,r){var n=e.parent;if(ME(n)){var a=n,i=nle(e,t,r);if(i){var o=i.list,s=i.argumentIndex,c=i.argumentCount,u=i.argumentsSpan;return{isTypeParameterList:!!n.typeArguments&&n.typeArguments.pos===o.pos,invocation:{kind:0,node:a},argumentsSpan:u,argumentIndex:s,argumentCount:c}}}else if(Hv(e)&&cj(n)){if(wQ(e,t,r))return ole(n,0,r)}else{if(Kv(e)&&215===n.parent.kind){var _=n.parent;return rA.assert(228===n.kind),ole(_,s=wQ(e,t,r)?0:1,r)}if(bj(n)&&cj(n.parent.parent)){c=n,_=n.parent.parent;if(!Xv(e)||wQ(e,t,r))return ole(_,s=function(e,t,r,n){if(rA.assert(r>=t.getStart(),"Assumed 'position' could not occur before node."),Es(t))return wQ(t,r,n)?0:e+2;return e+1}(c.parent.templateSpans.indexOf(c),e,t,r),r)}else{if(YE(n)){var l=n.attributes.pos;return{isTypeParameterList:!1,invocation:{kind:0,node:n},argumentsSpan:So(l,xA(r.text,n.attributes.end,!1)-l),argumentIndex:0,argumentCount:1}}n=mQ(e,r);if(n){l=n.called,n=n.nTypeArguments;return{isTypeParameterList:!0,invocation:a={kind:1,called:l},argumentsSpan:u=wo(l.getStart(r),e.end),argumentIndex:n,argumentCount:n+1}}}}}function ile(e){return mj(e.left)?ile(e.left)+1:2}function ole(e,t,r){var n=Hv(e.template)?1:e.template.templateSpans.length+1;return 0!==t&&rA.assertLessThan(t,n),{isTypeParameterList:!1,invocation:{kind:0,node:e},argumentsSpan:function(e,t){var r=e.template,n=r.getStart(),e=r.getEnd();228===r.kind&&0===ND(r.templateSpans).literal.getFullWidth()&&(e=xA(t.text,e,!1));return So(n,e-n)}(e,r),argumentIndex:t,argumentCount:n}}function sle(e){return 0===e.kind?GP(e.node):e.called}function cle(e){return 0!==e.kind&&1===e.kind?e.called:e.node}function ule(e,t,r,n,a,i){var o,s,c=r.isTypeParameterList,u=r.argumentCount,_=r.argumentsSpan,l=r.invocation,r=r.argumentIndex,f=cle(l),d=2===l.kind?l.symbol:a.getSymbolAtLocation(sle(l))||i&&(null==(d=t.declaration)?void 0:d.symbol),p=d?WY(a,d,i?n:void 0,void 0):WN,m=iD(e,function(e){return _=p,iD((c?function(e,r,n,a){var t=(e.target||e).typeParameters,i=vU(),o=(t||WN).map(function(e){return _le(e,r,n,a,i)}),s=e.thisParameter?[r.symbolToParameterDeclaration(e.thisParameter,n,Y_e)]:[];return r.getExpandedParameters(e).map(function(e){var t=uR.createNodeArray(__spreadArray(__spreadArray([],__read(s),!1),__read(iD(e,function(e){return r.symbolToParameterDeclaration(e,n,Y_e)})),!1)),e=VY(function(e){i.writeList(2576,t,a,e)});return{isVariadic:!1,parameters:o,prefix:[AY(30)],suffix:__spreadArray([AY(32)],__read(e),!1)}})}:function(r,c,u,_){var l=vU(),t=VY(function(e){var t;r.typeParameters&&r.typeParameters.length&&(t=uR.createNodeArray(r.typeParameters.map(function(e){return c.typeParameterToDeclaration(e,u,Y_e)})),l.writeList(53776,t,_,e))}),e=c.getExpandedParameters(r),n=c.hasEffectiveRestParameter(r)?1===e.length?function(e){return!0}:function(e){return!!(e.length&&32768&(null==(e=BD(e[e.length-1],gF))?void 0:e.links.checkFlags))}:function(e){return!1};return e.map(function(e){return{isVariadic:n(e),parameters:e.map(function(e){return r=e,n=c,a=u,i=_,o=l,t=VY(function(e){var t=n.symbolToParameterDeclaration(r,a,Y_e);o.writeNode(4,t,i,e)}),s=n.isOptionalParameter(r.valueDeclaration),e=gF(r)&&!!(32768&r.links.checkFlags),{name:r.name,documentation:r.getDocumentationComment(n),displayParts:t,isOptional:s,isRest:e};var r,n,a,i,o,t,s}),prefix:__spreadArray(__spreadArray([],__read(t),!1),[AY(21)],!1),suffix:[AY(22)]}})})(u=e,l=a,d=f,n),function(e){var r,n,a,t=e.isVariadic,i=e.parameters,o=e.prefix,s=e.suffix,c=__spreadArray(__spreadArray([],__read(_),!1),__read(o),!1),e=__spreadArray(__spreadArray([],__read(s),!1),__read((r=u,n=d,a=l,VY(function(e){e.writePunctuation(":"),e.writeSpace(" ");var t=a.getTypePredicateOfSignature(r);t?a.writeTypePredicate(t,n,void 0,e):a.writeType(a.getReturnTypeOfSignature(r),n,void 0,e)}))),!1),o=u.getDocumentationComment(l),s=u.getJsDocTags();return{isVariadic:t,prefixDisplayParts:c,suffixDisplayParts:e,separatorDisplayParts:Z_e,parameters:i,documentation:o,tags:s}});var u,_,l,d});0!==r&&rA.assertLessThan(r,u);for(var y=0,v=0,g=0;g<m.length;g++){var h=m[g];if(e[g]===t&&(y=v,1<h.length)){var x=0;try{for(var b=(o=void 0,__values(h)),k=b.next();!k.done;k=b.next()){var T=k.value;if(T.isVariadic||T.parameters.length>=u){y=v+x;break}x++}}catch(e){o={error:e}}finally{try{k&&!k.done&&(s=b.return)&&s.call(b)}finally{if(o)throw o.error}}}v+=h.length}rA.assert(-1!==y);i={items:S(m,ir),applicableSpan:_,selectedItemIndex:y,argumentIndex:r,argumentCount:u},_=i.items[y];return _.isVariadic&&(-1<(r=ZN(_.parameters,function(e){return e.isRest}))&&r<_.parameters.length-1?i.argumentIndex=_.parameters.length:i.argumentIndex=Math.min(i.argumentIndex,_.parameters.length-1)),i}function _le(r,n,a,i,o){var e=VY(function(e){var t=n.typeParameterToDeclaration(r,a,Y_e);o.writeNode(4,t,i,e)});return{name:r.symbol.name,documentation:r.symbol.getDocumentationComment(n),displayParts:e,isOptional:!1,isRest:!1}}var lle=e({"src/services/signatureHelp.ts":function(){fpe(),Y_e=70246400,Z_e=[AY(28),NY()]}}),dle={};t(dle,{getArgumentInfoForCompletions:function(){return rle},getSignatureHelpItems:function(){return ele}});var fle,ple=e({"src/services/_namespaces/ts.SignatureHelp.ts":function(){lle()}});function mle(r,n){var e,t,a={textSpan:wo(n.getFullStart(),n.getEnd())},i=n;e:for(;;){var o=function(t){if(uB(t))return yle(t.getChildAt(0).getChildren(),fle);if(wg(t)){var e=__read(t.getChildren()),r=e[0],n=e.slice(1),a=rA.checkDefined(n.pop());rA.assertEqual(r.kind,19),rA.assertEqual(a.kind,20);e=yle(n,function(e){return e===t.readonlyToken||148===e.kind||e===t.questionToken||58===e.kind}),e=yle(e,function(e){e=e.kind;return 23===e||168===e||24===e});return[r,gle(vle(e,function(e){return 59===e.kind})),a]}if(DR(t)){n=yle(t.getChildren(),function(e){return e===t.name||eD(t.modifiers,e)}),a=327===(null==(a=n[0])?void 0:a.kind)?n[0]:void 0,n=vle(a?n.slice(1):n,function(e){return 59===e.kind});return a?[a,gle(n)]:n}if(CR(t)){var i=yle(t.getChildren(),function(e){return e===t.dotDotDotToken||e===t.name});return vle(yle(i,function(e){return e===i[0]||e===t.questionToken}),function(e){return 64===e.kind})}if(tj(t))return vle(t.getChildren(),function(e){return 64===e.kind});return t.getChildren()}(i);if(!o.length)break;for(var s=0;s<o.length;s++){var c=o[s-1],u=o[s],_=o[s+1];if(c_(u,n,!0)>r)break e;var l=pa(eo(n.text,u.end));if(l&&2===l.kind&&function(e,t){d(e,t);for(var r=e;47===n.text.charCodeAt(r);)r++;d(r,t)}(l.pos,l.end),function(e,t,r){if(rA.assert(r.pos<=t),t<r.end)return!0;return r.getEnd()===t&&GX(e,t).pos<r.end}(n,r,u)){if(pc(u)&&TE(i)&&!If(u.getStart(n),u.getEnd(),n)&&d(u.getStart(n),u.getEnd()),kj(u)||bj(u)||Kv(u)||Xv(u)||c&&Kv(c)||Ej(u)&&Tj(i)||Rh(u)&&Ej(i)||Aj(u)&&Rh(i)&&1===o.length||_B(u)||bB(u)||xB(u)){i=u;break}bj(i)&&_&&Fs(_)&&d(u.getFullStart()-"${".length,_.getStart()+"}".length);l=Rh(u)&&function(e){e=e&&e.kind;return 19===e||23===e||21===e||286===e}(c)&&function(e){e=e&&e.kind;return 20===e||24===e||22===e||287===e}(_)&&!If(c.getStart(),_.getStart(),n),c=l?c.getEnd():u.getStart(),l=l?_.getStart():function(e,t){switch(t.kind){case 348:case 345:case 355:case 353:case 350:return e.getLineEndOfPosition(t.getStart());default:return t.getEnd()}}(n,u);tF(u)&&null!=(e=u.jsDoc)&&e.length&&d(SD(u.jsDoc).getStart(),l),!Rh(u)||(_=u.getChildren()[0])&&tF(_)&&null!=(t=_.jsDoc)&&t.length&&_.getStart()!==u.pos&&(c=Math.min(c,SD(_.jsDoc).getStart())),d(c,l),(hR(u)||ic(u))&&d(c+1,l-1),i=u;break}if(s===o.length-1)break e}}return a;function d(e,t){e!==t&&(t=wo(e,t),a&&(yY(t,a.textSpan)||!ko(t,r))||(a=__assign({textSpan:t},a&&{parent:a})))}}function yle(e,t){var r,n,a,i=[];try{for(var o=__values(e),s=o.next();!s.done;s=o.next()){var c=s.value;t(c)?(a=a||[]).push(c):(a&&(i.push(gle(a)),a=void 0),i.push(c))}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a&&i.push(gle(a)),i}function vle(e,t,r){if(void 0===r&&(r=!0),e.length<2)return e;var n=ZN(e,t);if(-1===n)return e;var a=e.slice(0,n),i=e[n],t=ND(e),r=r&&27===t.kind,e=e.slice(n+1,r?e.length-1:void 0),e=Me([a.length?gle(a):void 0,i,e.length?gle(e):void 0]);return r?e.concat(t):e}function gle(e){return rA.assertGreaterThanOrEqual(e.length,1),MM(WB.createSyntaxList(e),e[0].pos,ND(e).end)}var hle=e({"src/services/smartSelection.ts":function(){fpe(),fle=ZD(Jj,Bj)}}),xle={};t(xle,{getSmartSelectionRange:function(){return mle}});var ble,kle=e({"src/services/_namespaces/ts.SmartSelectionRange.ts":function(){hle()}});function Tle(e,t,r){e=Sle(e,t,r);if(""!==e)return e;r=zL(t);return 32&r?mF(t,231)?"local class":"class":384&r?"enum":524288&r?"type":64&r?"interface":262144&r?"type parameter":8&r?"enum member":2097152&r?"alias":1536&r?"module":e}function Sle(e,t,r){var n=e.getRootSymbols(t);if(1===n.length&&8192&SD(n).flags&&0!==e.getTypeOfSymbolAtLocation(t,r).getNonNullableType().getCallSignatures().length)return"method";if(e.isUndefinedSymbol(t))return"var";if(e.isArgumentsSymbol(t))return"local var";if(110===r.kind&&jE(r)||tL(r))return"parameter";n=zL(t);if(3&n)return TY(t)?"parameter":t.valueDeclaration&&R_(t.valueDeclaration)?"const":t.valueDeclaration&&M_(t.valueDeclaration)?"using":t.valueDeclaration&&L_(t.valueDeclaration)?"await using":KN(t.declarations,j_)?"let":Dle(t)?"local var":"var";if(16&n)return Dle(t)?"local function":"function";if(32768&n)return"getter";if(65536&n)return"setter";if(8192&n)return"method";if(16384&n)return"constructor";if(131072&n)return"index";if(4&n){if(33554432&n&&6&t.links.checkFlags){n=KN(e.getRootSymbols(t),function(e){if(98311&e.getFlags())return"property"});return n?n:e.getTypeOfSymbolAtLocation(t,r).getCallSignatures().length?"method":"property"}return"property"}return""}function wle(e){if(e.declarations&&e.declarations.length){var t=__read(e.declarations),e=t[0],t=t.slice(1),t=hQ(e,HN(t)&&o$(e)&&dD(t,function(e){return!o$(e)})?8192:0);if(t)return t.split(",")}return[]}function Cle(e,t){if(!t)return"";var r=new Set(wle(t));return 2097152&t.flags&&((e=e.getAliasedSymbol(t))!==t&&KN(wle(e),function(e){r.add(e)})),16777216&t.flags&&r.add("optional"),0<r.size?PD(r.values()).join(","):""}function Nle(e,t,r,n,a,i,o){return void 0===i&&(i=HG(a)),function e(a,i,o,n,t,r,s,c){var u,_,l,d,f,p,m,y,v=[],g=[],h=[],x=zL(i),b=1&s?Sle(a,i,t):"",k=!1,T=110===t.kind&&eI(t)||tL(t),S=!1;if(110===t.kind&&!T)return{displayParts:[DY(110)],documentation:[],symbolKind:"primitive type",tags:void 0};if(""!==b||32&x||2097152&x){if("getter"===b||"setter"===b)if(F=QN(i.declarations,function(e){return e.name===t}))switch(F.kind){case 177:b="getter";break;case 178:b="setter";break;case 172:b="accessor";break;default:rA.assertNever(F)}else b="property";var w=void 0;null!=r||(r=T?a.getTypeAtLocation(t):a.getTypeOfSymbolAtLocation(i,t)),!t.parent||211!==t.parent.kind||((N=t.parent.name)===t||N&&0===N.getFullWidth())&&(t=t.parent);var C,N=void 0;if(ME(t)?N=t:(GG(t)||XG(t)||t.parent&&(YE(t.parent)||cj(t.parent))&&bE(i.valueDeclaration))&&(N=t.parent),N){w=a.getResolvedSignature(N);var D=214===N.kind||oj(N)&&108===N.expression.kind,A=D?r.getConstructSignatures():r.getCallSignatures();if(!w||eD(A,w.target)||eD(A,w)||(w=A.length?A[0]:void 0),w){switch(D&&32&x?(b="constructor",B(r.symbol,b)):2097152&x?(J(b="alias"),v.push(NY()),D&&(4&w.flags&&(v.push(DY(128)),v.push(NY())),v.push(DY(105)),v.push(NY())),j(i)):B(i,b),b){case"JSX attribute":case"property":case"var":case"const":case"let":case"parameter":case"local var":v.push(AY(59)),v.push(NY()),16&WL(r)||!r.symbol||(gD(v,WY(a,r.symbol,n,void 0,5)),v.push(UY())),D&&(4&w.flags&&(v.push(DY(128)),v.push(NY())),v.push(DY(105)),v.push(NY())),z(w,A,262144);break;default:z(w,A)}k=!0,S=1<A.length}}else(yX(t)&&!(98304&x)||137===t.kind&&176===t.parent.kind)&&(C=t.parent,i.declarations&&QN(i.declarations,function(e){return e===(137===t.kind?C.parent:C)})&&(A=176===C.kind?r.getNonNullableType().getConstructSignatures():r.getNonNullableType().getCallSignatures(),w=a.isImplementationOfOverload(C)?A[0]:a.getSignatureFromDeclaration(C),176===C.kind?(b="constructor",B(r.symbol,b)):B(179!==C.kind||2048&r.symbol.flags||4096&r.symbol.flags?i:r.symbol,b),w&&z(w,A),k=!0,S=1<A.length))}if(32&x&&!k&&!T&&(M(),mF(i,231)?J("local class"):v.push(DY(86)),v.push(NY()),j(i),U(i,o)),64&x&&2&s&&(L(),v.push(DY(120)),v.push(NY()),j(i),U(i,o)),524288&x&&2&s&&(L(),v.push(DY(156)),v.push(NY()),j(i),U(i,o),v.push(NY()),v.push(EY(64)),v.push(NY()),gD(v,qY(a,t.parent&&uE(t.parent)?a.getTypeAtLocation(t.parent):a.getDeclaredTypeOfSymbol(i),n,8388608))),384&x&&(L(),dD(i.declarations,function(e){return Lj(e)&&dP(e)})&&(v.push(DY(87)),v.push(NY())),v.push(DY(94)),v.push(NY()),j(i)),1536&x&&!T&&(L(),E=(F=mF(i,267))&&F.name&&80===F.name.kind,v.push(DY(E?145:144)),v.push(NY()),j(i)),262144&x&&2&s)if(L(),v.push(AY(21)),v.push(OY("type parameter")),v.push(AY(22)),v.push(NY()),j(i),i.parent)R(),j(i.parent,n),U(i.parent,n);else{var E=mF(i,168);if(void 0===E)return rA.fail();(F=E.parent)&&(bE(F)?(R(),w=a.getSignatureFromDeclaration(F),180===F.kind?(v.push(DY(105)),v.push(NY())):179!==F.kind&&F.name&&j(F.symbol),gD(v,HY(a,w,o,32))):Oj(F)&&(R(),v.push(DY(156)),v.push(NY()),j(F.symbol),U(F.symbol,o)))}if(8&x&&(B(i,b="enum member"),306!==(null==(F=null==(l=i.declarations)?void 0:l[0])?void 0:F.kind)||void 0!==(d=a.getConstantValue(F))&&(v.push(NY()),v.push(EY(64)),v.push(NY()),v.push(CY(v_(d),"number"==typeof d?7:8)))),2097152&i.flags){if(L(),k&&(0!==g.length||0!==h.length)||(l=a.getAliasedSymbol(i))!==i&&l.declarations&&0<l.declarations.length&&(p=(d=JA(p=l.declarations[0]))&&!k?(f=jF(p)&&_L(p,2),f="default"!==i.name&&!f,s=e(a,l,CF(p),p,d,r,s,f?i:l),v.push.apply(v,__spreadArray([],__read(s.displayParts),!1)),v.push(UY()),f=s.documentation,s.tags):(f=l.getContextualDocumentationComment(p,a),l.getJsDocTags(a))),i.declarations)switch(i.declarations[0].kind){case 270:v.push(DY(95)),v.push(NY()),v.push(DY(145));break;case 277:v.push(DY(95)),v.push(NY()),v.push(DY(i.declarations[0].isExportEquals?64:90));break;case 281:v.push(DY(95));break;default:v.push(DY(102))}v.push(NY()),j(i),KN(i.declarations,function(e){if(271===e.kind)return nI(e)?(v.push(NY()),v.push(EY(64)),v.push(NY()),v.push(DY(149)),v.push(AY(21)),v.push(CY(PF(aI(e)),8)),v.push(AY(22))):(e=a.getSymbolAtLocation(e.moduleReference))&&(v.push(NY()),v.push(EY(64)),v.push(NY()),j(e,n)),!0})}if(k||(""!==b?r&&(T?(L(),v.push(DY(110))):B(i,b),"property"===b||"accessor"===b||"getter"===b||"setter"===b||"JSX attribute"===b||3&x||"local var"===b||"index"===b||"using"===b||"await using"===b||T?(v.push(AY(59)),v.push(NY()),r.symbol&&262144&r.symbol.flags&&"index"!==b?(m=VY(function(e){var t=a.typeParameterToDeclaration(r,n,ble);vU().writeNode(4,t,CF(PA(n)),e)}),gD(v,m)):gD(v,qY(a,r,n)),gF(i)&&i.links.target&&gF(i.links.target)&&i.links.target.links.tupleLabelDeclaration&&(m=i.links.target.links.tupleLabelDeclaration,rA.assertNode(m.name,xR),v.push(NY()),v.push(AY(21)),v.push(OY(LA(m.name))),v.push(AY(22)))):(16&x||8192&x||16384&x||131072&x||98304&x||"method"===b)&&(A=r.getNonNullableType().getCallSignatures()).length&&(z(A[0],A),S=1<A.length)):b=Tle(a,i,t)),0!==g.length||S||(g=i.getContextualDocumentationComment(n,a)),0===g.length&&4&x&&i.parent&&i.declarations&&KN(i.parent.declarations,function(e){return 312===e.kind}))try{for(var F,P=__values(i.declarations),I=P.next();!I.done;I=P.next())if((F=I.value).parent&&226===F.parent.kind){var O=a.getSymbolAtLocation(F.parent.right);if(O&&(g=O.getDocumentationComment(a),h=O.getJsDocTags(a),0<g.length))break}}catch(e){u={error:e}}finally{try{I&&!I.done&&(_=P.return)&&_.call(P)}finally{if(u)throw u.error}}return 0===g.length&&xR(t)&&i.valueDeclaration&&tj(i.valueDeclaration)&&(x=(F=i.valueDeclaration).parent,xR(F.name)&&$R(x)&&(y=AO(F.name),x=a.getTypeAtLocation(x),g=GN(x.isUnion()?x.types:[x],function(e){return(e=e.getProperty(y))?e.getDocumentationComment(a):void 0})||WN)),0!==h.length||S||(h=i.getContextualJsDocTags(n,a)),0===g.length&&f&&(g=f),0===h.length&&p&&(h=p),{displayParts:v,documentation:g,symbolKind:b,tags:0===h.length?void 0:h};function L(){v.length&&v.push(UY()),M()}function M(){c&&(J("alias"),v.push(NY()))}function R(){v.push(NY()),v.push(DY(103)),v.push(NY())}function j(e,t){var r;c&&e===i&&(e=c),"index"===b&&(r=a.getIndexInfosOfIndexSymbol(e));var n=[];131072&e.flags&&r?(e.parent&&(n=WY(a,e.parent)),n.push(AY(23)),r.forEach(function(e,t){n.push.apply(n,__spreadArray([],__read(qY(a,e.keyType)),!1)),t!==r.length-1&&(n.push(NY()),n.push(AY(52)),n.push(NY()))}),n.push(AY(24))):n=WY(a,e,t||o,void 0,7),gD(v,n),16777216&i.flags&&v.push(AY(58))}function B(e,t){L(),t&&(J(t),e&&!dD(e.declarations,function(e){return lj(e)||(_j(e)||vj(e))&&!e.name})&&(v.push(NY()),j(e)))}function J(e){switch(e){case"var":case"function":case"let":case"const":case"constructor":case"using":case"await using":return void v.push(IY(e));default:return v.push(AY(21)),v.push(IY(e)),void v.push(AY(22))}}function z(e,t,r){void 0===r&&(r=0),gD(v,HY(a,e,n,32|r)),1<t.length&&(v.push(NY()),v.push(AY(21)),v.push(EY(40)),v.push(CY((t.length-1).toString(),7)),v.push(NY()),v.push(OY(2===t.length?"overload":"overloads")),v.push(AY(22))),g=e.getDocumentationComment(a),h=e.getJsDocTags(),1<t.length&&0===g.length&&0===h.length&&(g=t[0].getDocumentationComment(a),h=t[0].getJsDocTags().filter(function(e){return"deprecated"!==e.name}))}function U(r,n){var e=VY(function(e){var t=a.symbolToTypeParameterDeclarations(r,n,ble);vU().writeList(53776,t,CF(PA(n)),e)});gD(v,e)}}(e,t,r,n,a,void 0,i,o)}function Dle(e){return!e.parent&&KN(e.declarations,function(e){if(218===e.kind)return!0;if(260!==e.kind&&262!==e.kind)return!1;for(var t=e.parent;!X_(t);t=t.parent)if(312===t.kind||268===t.kind)return!1;return!0})}var Ale=e({"src/services/symbolDisplay.ts":function(){fpe(),ble=70246400}}),Ele={};t(Ele,{getSymbolDisplayPartsDocumentationAndSymbolKind:function(){return Nle},getSymbolKind:function(){return Tle},getSymbolModifiers:function(){return Cle}});var Fle,Ple,Ile,Ole,Lle,Mle,Rle,jle=e({"src/services/_namespaces/ts.SymbolDisplay.ts":function(){Ale()}});function Ble(e){e=e.__pos;return rA.assert("number"==typeof e),e}function Jle(e,t){rA.assert("number"==typeof t),e.__pos=t}function zle(e){e=e.__end;return rA.assert("number"==typeof e),e}function Ule(e,t){rA.assert("number"==typeof t),e.__end=t}function Vle(e,t){return xA(e,t,!1,!0)}function qle(e,t,r,n){return{pos:Wle(e,t,n),end:Kle(e,r,n)}}function Wle(e,t,r,n){void 0===n&&(n=!1);var a=r.leadingTriviaOption;if(0===a)return t.getStart(e);if(3===a){var i=t.getStart(e),r=kX(i,e);return wX(t,r)?r:i}if(2===a){var o=H_(t,e.text);if(null!=o&&o.length)return kX(o[0].pos,e)}i=t.getFullStart(),o=t.getStart(e);if(i===o)return o;t=kX(i,e);if(kX(o,e)===t)return 1===a?i:o;if(n){var s=(null==(n=$i(e.text,i))?void 0:n[0])||(null==(s=eo(e.text,i))?void 0:s[0]);if(s)return xA(e.text,s.end,!0,!0)}i=0<i?1:0,i=Hu(Ld(e,t)+i,e);return Hu(Ld(e,i=Vle(e.text,i)),e)}function Hle(e,t,r){var n,a,i=t.end;if(2===r.trailingTriviaOption){var o=eo(e.text,i);if(o){var s=Ld(e,t.end);try{for(var c=__values(o),u=c.next();!u.done;u=c.next()){var _=u.value;if(2===_.kind||Ld(e,_.pos)>s)break;if(s<Ld(e,_.end))return xA(e.text,_.end,!0,!0)}}catch(e){n={error:e}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(n)throw n.error}}}}}function Kle(e,t,r){var n=t.end,a=r.trailingTriviaOption;if(0===a)return n;if(1===a){var i=fD(eo(e.text,n),$i(e.text,n)),i=null==(i=null==i?void 0:i[i.length-1])?void 0:i.end;return i?i:n}r=Hle(e,t,r);if(r)return r;r=xA(e.text,n,!0);return r===n||2!==a&&!hA(e.text.charCodeAt(r-1))?n:r}function Gle(e,t){return t&&e.parent&&(28===t.kind||27===t.kind&&210===e.parent.kind)}function Xle(e){return _j(e)||Fj(e)}function Qle(e,t){return xA(e.text,Wle(e,t,{leadingTriviaOption:1}),!1,!0)}function Yle(e){return nj(e)?e.properties:e.members}function Zle(e,t){for(var r=t.length-1;0<=r;r--){var n=t[r],a=n.span,n=n.newText;e="".concat(e.substring(0,a.start)).concat(n).concat(e.substring(TA(a)))}return e}function $le(e){var t=wJ(e,$le,Mle,ede,$le),t=jO(t)?t:Object.create(t);return MM(t,Ble(e),zle(e)),t}function ede(e,t,r,n,a){a=SJ(e,t,r,n,a);if(!a)return a;rA.assert(e);a=a===e?uR.createNodeArray(a.slice(0)):a;return MM(a,Ble(e),zle(e)),a}function tde(e){var n=0,a=WO(e);function r(e,t){if(t||xA(t=e,0)!==t.length){n=a.getTextPos();for(var r=0;Ri(e.charCodeAt(e.length-r-1));)r++;n-=r}}return{onBeforeEmitNode:function(e){e&&Jle(e,n)},onAfterEmitNode:function(e){e&&Ule(e,n)},onBeforeEmitNodeArray:function(e){e&&Jle(e,n)},onAfterEmitNodeArray:function(e){e&&Ule(e,n)},onBeforeEmitToken:function(e){e&&Jle(e,n)},onAfterEmitToken:function(e){e&&Ule(e,n)},write:function(e){a.write(e),r(e,!1)},writeComment:function(e){a.writeComment(e)},writeKeyword:function(e){a.writeKeyword(e),r(e,!1)},writeOperator:function(e){a.writeOperator(e),r(e,!1)},writePunctuation:function(e){a.writePunctuation(e),r(e,!1)},writeTrailingSemicolon:function(e){a.writeTrailingSemicolon(e),r(e,!1)},writeParameter:function(e){a.writeParameter(e),r(e,!1)},writeProperty:function(e){a.writeProperty(e),r(e,!1)},writeSpace:function(e){a.writeSpace(e),r(e,!1)},writeStringLiteral:function(e){a.writeStringLiteral(e),r(e,!1)},writeSymbol:function(e,t){a.writeSymbol(e,t),r(e,!1)},writeLine:function(e){a.writeLine(e)},increaseIndent:function(){a.increaseIndent()},decreaseIndent:function(){a.decreaseIndent()},getText:function(){return a.getText()},rawWrite:function(e){a.rawWrite(e),r(e,!1)},writeLiteral:function(e){a.writeLiteral(e),r(e,!0)},getTextPos:function(){return a.getTextPos()},getLine:function(){return a.getLine()},getColumn:function(){return a.getColumn()},getIndent:function(){return a.getIndent()},isAtStartOfLine:function(){return a.isAtStartOfLine()},hasTrailingComment:function(){return a.hasTrailingComment()},hasTrailingWhitespace:function(){return a.hasTrailingWhitespace()},clear:function(){a.clear(),n=0}}}function rde(e,t){return!(yQ(e,t)||iQ(e,t)||cQ(e,t)||uQ(e,t))}function nde(e,t,r,n){void 0===n&&(n={leadingTriviaOption:1});var a=Wle(t,r,n),n=Kle(t,r,n);e.deleteRange(t,{pos:a,end:n})}function ade(e,t,r,n){var a=rA.checkDefined(upe.SmartIndenter.getContainingList(n,r)),i=IF(a,n);rA.assert(-1!==i),1!==a.length?(rA.assert(!t.has(n),"Deleting a node twice"),t.add(n),e.deleteRange(r,{pos:Qle(r,n),end:i===a.length-1?Kle(r,n,{}):function(e,t,r,n){var a=Qle(e,n);if(void 0===r||If(Kle(e,t,{}),a,e))return a;if(n=tQ(n.getStart(e),e),Gle(t,n)){t=tQ(t.getStart(e),e);if(Gle(r,t)){r=xA(e.text,n.getEnd(),!0,!0);if(If(t.getStart(e),n.getStart(e),e))return hA(e.text.charCodeAt(r-1))?r-1:r;if(hA(e.text.charCodeAt(r)))return r}}return a}(r,n,a[i-1],a[i+1])})):nde(e,r,n)}var ide=e({"src/services/textChanges.ts":function(){function r(e,t){this.newLineCharacter=e,this.formatContext=t,this.changes=[],this.classesWithNodesInsertedAtStart=new Map,this.deletedNodes=[]}function a(e,t,r,n){t=cD(t,function(t){return t.statements.map(function(e){return 4===e?"":d(e,t.oldFile,r).text})}).join(r),e=Ib("any file name",t,99,!0,e);return Zle(t,upe.formatDocument(e,n))+r}function d(e,t,r){var n=tde(r);return qU({newLine:c$(r),neverAsciiEscape:!0,preserveSourceNewlines:!0,terminateUnterminatedLiterals:!0},n).writeNode(4,e,t,n),{text:n.getText(),node:$le(e)}}var e;function u(e,t,r){var n;r.parent.name?(n=rA.checkDefined(QX(t,r.pos-1)),e.deleteRange(t,{pos:n.getStart(t),end:r.end})):nde(e,t,xO(r,272))}fpe(),Fle=function(e){return e[e.Exclude=0]="Exclude",e[e.IncludeAll=1]="IncludeAll",e[e.JSDoc=2]="JSDoc",e[e.StartLine=3]="StartLine",e}(Fle||{}),Ple=function(e){return e[e.Exclude=0]="Exclude",e[e.ExcludeWhitespace=1]="ExcludeWhitespace",e[e.Include=2]="Include",e}(Ple||{}),Ile={leadingTriviaOption:0,trailingTriviaOption:0},r.fromContext=function(e){return new r(zY(e.host,e.formatContext.options),e.formatContext)},r.with=function(e,t){e=r.fromContext(e);return t(e),e.getChanges()},r.prototype.pushRaw=function(e,t){var r,n;rA.assertEqual(e.fileName,t.fileName);try{for(var a=__values(t.textChanges),i=a.next();!i.done;i=a.next()){var o=i.value;this.changes.push({kind:3,sourceFile:e,text:o.newText,range:RQ(o.span)})}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}},r.prototype.deleteRange=function(e,t){this.changes.push({kind:0,sourceFile:e,range:t})},r.prototype.delete=function(e,t){this.deletedNodes.push({sourceFile:e,node:t})},r.prototype.deleteNode=function(e,t,r){void 0===r&&(r={leadingTriviaOption:1}),this.deleteRange(e,qle(e,t,t,r))},r.prototype.deleteNodes=function(e,t,r,n){var a,i;void 0===r&&(r={leadingTriviaOption:1});try{for(var o=__values(t),s=o.next();!s.done;s=o.next()){var c=s.value,u=Wle(e,c,r,n),_=Kle(e,c,r);this.deleteRange(e,{pos:u,end:_}),n=!!Hle(e,c,r)}}catch(e){a={error:e}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(a)throw a.error}}},r.prototype.deleteModifier=function(e,t){this.deleteRange(e,{pos:t.getStart(e),end:xA(e.text,t.end,!0)})},r.prototype.deleteNodeRange=function(e,t,r,n){void 0===n&&(n={leadingTriviaOption:1});t=Wle(e,t,n),n=Kle(e,r,n);this.deleteRange(e,{pos:t,end:n})},r.prototype.deleteNodeRangeExcludingEnd=function(e,t,r,n){void 0===n&&(n={leadingTriviaOption:1});t=Wle(e,t,n),n=void 0===r?e.text.length:Wle(e,r,n);this.deleteRange(e,{pos:t,end:n})},r.prototype.replaceRange=function(e,t,r,n){void 0===n&&(n={}),this.changes.push({kind:1,sourceFile:e,range:t,options:n,node:r})},r.prototype.replaceNode=function(e,t,r,n){void 0===n&&(n=Ile),this.replaceRange(e,qle(e,t,t,n),r,n)},r.prototype.replaceNodeRange=function(e,t,r,n,a){void 0===a&&(a=Ile),this.replaceRange(e,qle(e,t,r,a),n,a)},r.prototype.replaceRangeWithNodes=function(e,t,r,n){void 0===n&&(n={}),this.changes.push({kind:2,sourceFile:e,range:t,options:n,nodes:r})},r.prototype.replaceNodeWithNodes=function(e,t,r,n){void 0===n&&(n=Ile),this.replaceRangeWithNodes(e,qle(e,t,t,n),r,n)},r.prototype.replaceNodeWithText=function(e,t,r){this.replaceRangeWithText(e,qle(e,t,t,Ile),r)},r.prototype.replaceNodeRangeWithNodes=function(e,t,r,n,a){void 0===a&&(a=Ile),this.replaceRangeWithNodes(e,qle(e,t,r,a),n,a)},r.prototype.nodeHasTrailingComment=function(e,t,r){return void 0===r&&(r=Ile),!!Hle(e,t,r)},r.prototype.nextCommaToken=function(e,t){e=eQ(t,t.parent,e);return e&&28===e.kind?e:void 0},r.prototype.replacePropertyAssignment=function(e,t,r){var n=this.nextCommaToken(e,t)?"":","+this.newLineCharacter;this.replaceNode(e,t,r,{suffix:n})},r.prototype.insertNodeAt=function(e,t,r,n){void 0===n&&(n={}),this.replaceRange(e,gf(t),r,n)},r.prototype.insertNodesAt=function(e,t,r,n){void 0===n&&(n={}),this.replaceRangeWithNodes(e,gf(t),r,n)},r.prototype.insertNodeAtTopOfFile=function(e,t,r){this.insertAtTopOfFile(e,t,r)},r.prototype.insertNodesAtTopOfFile=function(e,t,r){this.insertAtTopOfFile(e,t,r)},r.prototype.insertAtTopOfFile=function(e,t,r){var n=function(e){var t,r,n,a,i;try{for(var o=__values(e.statements),s=o.next();!s.done;s=o.next()){var c=s.value;if(!J_(c))break;i=c}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}var u=0,_=e.text;if(i)return u=i.end,h(),u;var l=to(_);void 0!==l&&(u=l.length,h());var d,f,p=$i(_,u);if(!p)return u;try{for(var m=__values(p),y=m.next();!y.done;y=m.next()){var v=y.value;if(3===v.kind){if(o_(_,v.pos)){d={range:v,pinnedOrTripleSlash:!0};continue}}else if(i_(_,v.pos,v.end)){d={range:v,pinnedOrTripleSlash:!0};continue}if(d){if(d.pinnedOrTripleSlash)break;var g=e.getLineAndCharacterOfPosition(v.pos).line;if(e.getLineAndCharacterOfPosition(d.range.end).line+2<=g)break}if(e.statements.length)if(void 0===f&&(f=e.getLineAndCharacterOfPosition(e.statements[0].getStart()).line),f<e.getLineAndCharacterOfPosition(v.end).line+2)break;d={range:v,pinnedOrTripleSlash:!1}}}catch(e){n={error:e}}finally{try{y&&!y.done&&(a=m.return)&&a.call(m)}finally{if(n)throw n.error}}return d&&(u=d.range.end,h()),u;function h(){var e;u<_.length&&(hA(e=_.charCodeAt(u))&&++u<_.length&&13===e&&10===_.charCodeAt(u)&&u++)}}(e),r={prefix:0===n?void 0:this.newLineCharacter,suffix:(hA(e.text.charCodeAt(n))?"":this.newLineCharacter)+(r?this.newLineCharacter:"")};RD(t)?this.insertNodesAt(e,n,t,r):this.insertNodeAt(e,n,t,r)},r.prototype.insertNodesAtEndOfFile=function(e,t,r){this.insertAtEndOfFile(e,t,r)},r.prototype.insertAtEndOfFile=function(e,t,r){var n=e.end+1,r={prefix:this.newLineCharacter,suffix:this.newLineCharacter+(r?this.newLineCharacter:"")};this.insertNodesAt(e,n,t,r)},r.prototype.insertStatementsInNewFile=function(e,t,r){this.newFileChanges||(this.newFileChanges=MD()),this.newFileChanges.add(e,{oldFile:r,statements:t})},r.prototype.insertFirstParameter=function(e,t,r){var n=kD(t);n?this.insertNodeBefore(e,n,r):this.insertNodeAt(e,t.pos,r)},r.prototype.insertNodeBefore=function(e,t,r,n,a){void 0===n&&(n=!1),void 0===a&&(a={}),this.insertNodeAt(e,Wle(e,t,a),r,this.getOptionsForInsertNodeBefore(t,r,n))},r.prototype.insertNodesBefore=function(e,t,r,n,a){void 0===n&&(n=!1),void 0===a&&(a={}),this.insertNodesAt(e,Wle(e,t,a),r,this.getOptionsForInsertNodeBefore(t,SD(r),n))},r.prototype.insertModifierAt=function(e,t,r,n){void 0===n&&(n={}),this.insertNodeAt(e,t,uR.createToken(r),n)},r.prototype.insertModifierBefore=function(e,t,r){return this.insertModifierAt(e,r.getStart(e),t,{suffix:" "})},r.prototype.insertCommentBeforeLine=function(e,t,r,n){var a=Hu(t,e),i=ZY(e.text,a),t=rde(e,i),r=XX(e,t?i:r),i=e.text.slice(a,i),i="".concat(t?"":this.newLineCharacter,"//").concat(n).concat(this.newLineCharacter).concat(i);this.insertText(e,r.getStart(e),i)},r.prototype.insertJsdocCommentBefore=function(e,t,r){var n,a,i=t.getStart(e);if(t.jsDoc)try{for(var o=__values(t.jsDoc),s=o.next();!s.done;s=o.next()){var c=s.value;this.deleteRange(e,{pos:kX(c.getStart(e),e),end:Kle(e,c,{})})}}catch(e){n={error:e}}finally{try{s&&!s.done&&(a=o.return)&&a.call(o)}finally{if(n)throw n.error}}var u=$Y(e.text,i-1),u=e.text.slice(u,i);this.insertNodeAt(e,i,r,{suffix:this.newLineCharacter+u})},r.prototype.createJSDocText=function(e,t){var r=cD(t.jsDoc,function(e){return jD(e.comment)?uR.createJSDocText(e.comment):e.comment}),t=pa(t.jsDoc);return t&&If(t.pos,t.end,e)&&0===HN(r)?void 0:uR.createNodeArray(y(r,uR.createJSDocText("\n")))},r.prototype.replaceJSDocComment=function(e,t,r){this.insertJsdocCommentBefore(e,function(e){if(219!==e.kind)return e;var t=(172===e.parent.kind?e:e.parent).parent;return t.jsDoc=e.jsDoc,t}(t),uR.createJSDocComment(this.createJSDocText(e,t),uR.createNodeArray(r)))},r.prototype.addJSDocTags=function(e,t,r){var n=S(t.jsDoc,function(e){return e.tags}),r=r.filter(function(r){return!n.some(function(e,t){e=function(e,t){if(e.kind===t.kind)switch(e.kind){case 348:return xR(e.name)&&xR(t.name)&&e.name.escapedText===t.name.escapedText?uR.createJSDocParameterTag(void 0,t.name,!1,t.typeExpression,t.isNameFirst,e.comment):void 0;case 349:return uR.createJSDocReturnTag(void 0,t.typeExpression,e.comment);case 351:return uR.createJSDocTypeTag(void 0,t.typeExpression,e.comment)}}(e,r);return e&&(n[t]=e),!!e})});this.replaceJSDocComment(e,t,__spreadArray(__spreadArray([],__read(n),!1),__read(r),!1))},r.prototype.filterJSDocTags=function(e,t,r){this.replaceJSDocComment(e,t,nD(S(t.jsDoc,function(e){return e.tags}),r))},r.prototype.replaceRangeWithText=function(e,t,r){this.changes.push({kind:3,sourceFile:e,range:t,text:r})},r.prototype.insertText=function(e,t,r){this.replaceRangeWithText(e,gf(t),r)},r.prototype.tryInsertTypeAnnotation=function(e,t,r){var n,a;if(bE(t)){if(!(a=MX(t,22,e))){if(!lj(t))return!1;a=SD(t.parameters)}}else a=null!==(n=260===t.kind?t.exclamationToken:t.questionToken)&&void 0!==n?n:t.name;return this.insertNodeAt(e,a.end,r,{prefix:": "}),!0},r.prototype.tryInsertThisTypeAnnotation=function(e,t,r){var n=MX(t,21,e).getStart(e)+1,t=t.parameters.length?", ":"";this.insertNodeAt(e,n,r,{prefix:"this: ",suffix:t})},r.prototype.insertTypeParameters=function(e,t,r){t=(MX(t,21,e)||SD(t.parameters)).getStart(e);this.insertNodesAt(e,t,r,{prefix:"<",suffix:">",joiner:", "})},r.prototype.getOptionsForInsertNodeBefore=function(e,t,r){return XE(e)||CE(e)?{suffix:r?this.newLineCharacter+this.newLineCharacter:this.newLineCharacter}:Aj(e)?{suffix:", "}:CR(e)?CR(t)?{suffix:", "}:{}:hR(e)&&Jj(e.parent)||ih(e)?{suffix:", "}:Vj(e)?{suffix:","+(r?this.newLineCharacter:" ")}:rA.failBadSyntaxKind(e)},r.prototype.insertNodeAtConstructorStart=function(e,t,r){var n=kD(t.body.statements);n&&t.body.multiLine?this.insertNodeBefore(e,n,r):this.replaceConstructorBody(e,t,__spreadArray([r],__read(t.body.statements),!1))},r.prototype.insertNodeAtConstructorStartAfterSuperCall=function(e,t,r){var n=QN(t.body.statements,function(e){return Sj(e)&&pP(e.expression)});n&&t.body.multiLine?this.insertNodeAfter(e,n,r):this.replaceConstructorBody(e,t,__spreadArray(__spreadArray([],__read(t.body.statements),!1),[r],!1))},r.prototype.insertNodeAtConstructorEnd=function(e,t,r){var n=CD(t.body.statements);n&&t.body.multiLine?this.insertNodeAfter(e,n,r):this.replaceConstructorBody(e,t,__spreadArray(__spreadArray([],__read(t.body.statements),!1),[r],!1))},r.prototype.replaceConstructorBody=function(e,t,r){this.replaceNode(e,t.body,uR.createBlock(r,!0))},r.prototype.insertNodeAtEndOfScope=function(e,t,r){var n=Wle(e,t.getLastToken(),{});this.insertNodeAt(e,n,r,{prefix:hA(e.text.charCodeAt(t.getLastToken().pos))?this.newLineCharacter:this.newLineCharacter+this.newLineCharacter,suffix:this.newLineCharacter})},r.prototype.insertMemberAtStart=function(e,t,r){this.insertNodeAtStartWorker(e,t,r)},r.prototype.insertNodeAtObjectStart=function(e,t,r){this.insertNodeAtStartWorker(e,t,r)},r.prototype.insertNodeAtStartWorker=function(e,t,r){var n=null!==(n=this.guessIndentationFromExistingMembers(e,t))&&void 0!==n?n:this.computeIndentationForNewMember(e,t);this.insertNodeAt(e,Yle(t).pos,r,this.getInsertNodeAtStartInsertOptions(e,t,n))},r.prototype.guessIndentationFromExistingMembers=function(e,t){var r,n,a,i=t;try{for(var o=__values(Yle(t)),s=o.next();!s.done;s=o.next()){var c=s.value;if(Cf(i,c,e))return;var u=c.getStart(e),u=upe.SmartIndenter.findFirstNonWhitespaceColumn(kX(u,e),u,e,this.formatContext.options);if(void 0===a)a=u;else if(u!==a)return;i=c}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a},r.prototype.computeIndentationForNewMember=function(e,t){t=t.getStart(e);return upe.SmartIndenter.findFirstNonWhitespaceColumn(kX(t,e),t,e,this.formatContext.options)+(null!==(e=this.formatContext.options.indentSize)&&void 0!==e?e:4)},r.prototype.getInsertNodeAtStartInsertOptions=function(e,t,r){var n=0===Yle(t).length,a=Zf(this.classesWithNodesInsertedAtStart,mJ(t),{node:t,sourceFile:e}),i=nj(t)&&(!lP(e)||!n);return{indentation:r,prefix:(nj(t)&&lP(e)&&n&&!a?",":"")+this.newLineCharacter,suffix:i?",":Ij(t)&&n?";":""}},r.prototype.insertNodeAfterComma=function(e,t,r){var n=this.insertNodeAfterWorker(e,this.nextCommaToken(e,t)||t,r);this.insertNodeAt(e,n,r,this.getInsertNodeAfterOptions(e,t))},r.prototype.insertNodeAfter=function(e,t,r){var n=this.insertNodeAfterWorker(e,t,r);this.insertNodeAt(e,n,r,this.getInsertNodeAfterOptions(e,t))},r.prototype.insertNodeAtEndOfList=function(e,t,r){this.insertNodeAt(e,t.end,r,{prefix:", "})},r.prototype.insertNodesAfter=function(e,t,r){var n=this.insertNodeAfterWorker(e,t,SD(r));this.insertNodesAt(e,n,r,this.getInsertNodeAfterOptions(e,t))},r.prototype.insertNodeAfterWorker=function(e,t,r){var n;return n=r,!((DR(r=t)||AR(r))&&Gs(n)&&167===n.name.kind||Tc(r)&&Tc(n))||59!==e.text.charCodeAt(t.end-1)&&this.replaceRange(e,gf(t.end),uR.createToken(27)),Kle(e,t,{})},r.prototype.getInsertNodeAfterOptions=function(e,t){var r=this.getInsertNodeAfterOptionsWorker(t);return __assign(__assign({},r),{prefix:t.end===e.end&&XE(t)?r.prefix?"\n".concat(r.prefix):"\n":r.prefix})},r.prototype.getInsertNodeAfterOptionsWorker=function(e){switch(e.kind){case 263:case 267:return{prefix:this.newLineCharacter,suffix:this.newLineCharacter};case 260:case 11:case 80:return{prefix:", "};case 303:return{suffix:","+this.newLineCharacter};case 95:return{prefix:" "};case 169:return{};default:return rA.assert(XE(e)||Gs(e)),{suffix:this.newLineCharacter}}},r.prototype.insertName=function(e,t,r){var n,a;rA.assert(!t.name),219===t.kind?(n=MX(t,39,e),(a=MX(t,21,e))?(this.insertNodesAt(e,a.getStart(e),[uR.createToken(100),uR.createIdentifier(r)],{joiner:" "}),nde(this,e,n)):(this.insertText(e,SD(t.parameters).getStart(e),"function ".concat(r,"(")),this.replaceRange(e,n,uR.createToken(22))),241!==t.body.kind&&(this.insertNodesAt(e,t.body.getStart(e),[uR.createToken(19),uR.createToken(107)],{joiner:" ",suffix:" "}),this.insertNodesAt(e,t.body.end,[uR.createToken(27),uR.createToken(20)],{joiner:" "}))):(t=MX(t,218===t.kind?100:86,e).end,this.insertNodeAt(e,t,uR.createIdentifier(r),{prefix:" "}))},r.prototype.insertExportModifier=function(e,t){this.insertText(e,t.getStart(e),"export ")},r.prototype.insertImportSpecifierAtIndex=function(e,t,r,n){n=r.elements[n-1];n?this.insertNodeInListAfter(e,n,t):this.insertNodeBefore(e,r.elements[0],t,!If(r.elements[0].getStart(),r.parent.parent.getStart(),e))},r.prototype.insertNodeInListAfter=function(e,t,r,n){if(void 0===n&&(n=upe.SmartIndenter.getContainingList(t,e)),n){var a=IF(n,t);if(!(a<0)){var i=t.getEnd();if(a!==n.length-1){var o=QX(e,t.end);o&&Gle(t,o)&&(u=n[a+1],_=Vle(e.text,u.getFullStart()),s="".concat(vA(o.kind)).concat(e.text.substring(o.end,_)),this.insertNodesAt(e,_,[r],{suffix:s}))}else{var s,c=t.getStart(e),u=kX(c,e),o=void 0,_=!1;if(1===n.length?o=28:(o=Gle(t,s=tQ(t.pos,e))?s.kind:28,_=kX(n[a-1].getStart(e),e)!==u),function(e,t){for(var r=t;r<e.length;){var n=e.charCodeAt(r);if(!ji(n))return 47===n;r++}}(e.text,t.end)&&(_=!0),_){this.replaceRange(e,gf(i),uR.createToken(o));for(var c=upe.SmartIndenter.findFirstNonWhitespaceColumn(u,c,e,this.formatContext.options),l=xA(e.text,i,!0,!1);l!==i&&hA(e.text.charCodeAt(l-1));)l--;this.replaceRange(e,gf(l),r,{indentation:c,prefix:this.newLineCharacter})}else this.replaceRange(e,gf(i),r,{prefix:"".concat(vA(o)," ")})}}}else rA.fail("node is not a list element")},r.prototype.parenthesizeExpression=function(e,t){this.replaceRange(e,CM(t),uR.createParenthesizedExpression(t))},r.prototype.finishClassesWithNodesInsertedAtStart=function(){var i=this;this.classesWithNodesInsertedAtStart.forEach(function(e){var t,r,n=e.node,a=e.sourceFile,r=__read((e=MX(r=n,19,t=a),t=MX(r,20,t),[null==e?void 0:e.end,null==t?void 0:t.end]),2),e=r[0],t=r[1];void 0!==e&&void 0!==t&&(r=0===Yle(n).length,n=If(e,t,a),r&&n&&e!==t-1&&i.deleteRange(a,gf(e,t-1)),n&&i.insertText(a,t-1,i.newLineCharacter))})},r.prototype.finishDeleteDeclarations=function(){var t,e,n=this,a=new Set,i=this;try{for(var r=__values(this.deletedNodes),o=r.next();!o.done;o=r.next()){var s=o.value;!function(t,r){i.deletedNodes.some(function(e){return e.sourceFile===t&&SX(e.node,r)})||(RD(r)?i.deleteRange(t,NM(t,r)):Rle.deleteDeclaration(i,a,t,r))}(s.sourceFile,s.node)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}a.forEach(function(e){var t=e.getSourceFile(),r=upe.SmartIndenter.getContainingList(e,t);e!==ND(r)||-1!==(e=$N(r,function(e){return!a.has(e)},r.length-2))&&n.deleteRange(t,{pos:r[e].end,end:Qle(t,r[e+1])})})},r.prototype.getChanges=function(e){var r=this;this.finishDeleteDeclarations(),this.finishClassesWithNodesInsertedAtStart();var n=Lle.getTextChangesFromChanges(this.changes,this.newLineCharacter,this.formatContext,e);return this.newFileChanges&&this.newFileChanges.forEach(function(e,t){n.push(Lle.newFileChanges(t,e,r.newLineCharacter,r.formatContext))}),n},r.prototype.createNewFile=function(e,t,r){this.insertStatementsInNewFile(t,r,e)},Ole=r,(e=Lle=Lle||{}).getTextChangesFromChanges=function(e,i,o,s){return uD(OD(e,function(e){return e.sourceFile.path}),function(e){for(var a=e[0].sourceFile,t=bn(e,function(e,t){return e.range.pos-t.range.pos||e.range.end-t.range.end}),r=0;r<t.length-1;r++)!function(e){rA.assert(t[e].range.end<=t[e+1].range.pos,"Changes overlap",function(){return"".concat(JSON.stringify(t[e].range)," and ").concat(JSON.stringify(t[e+1].range))})}(r);e=uD(t,function(e){var t,r=MQ(e.range),n=1===e.kind?null!==(t=CF(EA(e.node)))&&void 0!==t?t:e.sourceFile:2===e.kind&&null!==(n=CF(EA(e.nodes[0])))&&void 0!==n?n:e.sourceFile,e=function(e,t,r,n,a,i){if(0===e.kind)return"";if(3===e.kind)return e.text;function o(e){return function(e,t,r,n,a,i,o,s){var c=a.indentation,u=a.prefix,_=a.delta,l=d(e,t,i),a=l.node,l=l.text;s&&s(a,l);s=_$(o,t),n=void 0!==c?c:upe.SmartIndenter.getIndentation(n,r,s,u===i||kX(n,t)===n);void 0===_&&(_=upe.SmartIndenter.shouldIndentChildNode(s,e)&&s.indentSize||0);e={text:l,getLineAndCharacterOfPosition:function(e){return gA(this,e)}},s=upe.formatNodeGivenIndentation(a,e,t.languageVariant,n,_,__assign(__assign({},o),{options:s}));return Zle(l,s)}(e,t,r,u,c,n,a,i)}var s=e.options,c=void 0===s?{}:s,u=e.range.pos,e=2===e.kind?e.nodes.map(function(e){return ur(o(e),n)}).join((null==(s=e.options)?void 0:s.joiner)||n):o(e.node),e=void 0!==c.indentation||kX(u,t)===u?e:e.replace(/^\s+/,"");return(c.prefix||"")+e+(!c.suffix||qD(e,c.suffix)?"":c.suffix)}(e,n,a,i,o,s);if(r.length!==e.length||!r$(n.text,e,r.start))return BQ(r,e)});return 0<e.length?{fileName:a.fileName,textChanges:e}:void 0})},e.newFileChanges=function(e,t,r,n){return n=a(am(e),t,r,n),{fileName:e,textChanges:[BQ(So(0,0),n)],isNewFile:!0}},e.newFileChangesWorker=a,e.getNonformattedText=d,Mle=__assign(__assign({},iU),{factory:oy(1|iU.factory.flags,iU.factory.baseFactory)}),(Rle||(Rle={})).deleteDeclaration=function(e,t,r,n){switch(n.kind){case 169:var a=n.parent;lj(a)&&1===a.parameters.length&&!MX(a,21,r)?e.replaceNodeWithText(r,n,"()"):ade(e,t,r,n);break;case 272:case 271:nde(e,r,n,{leadingTriviaOption:r.imports.length&&n===SD(r.imports).parent||n===QN(r.statements,N_)?0:tF(n)?2:3});break;case 208:var i=n.parent;207===i.kind&&n!==ND(i.elements)?nde(e,r,n):ade(e,t,r,n);break;case 260:!function(e,t,r,n){var a=n.parent;if(299===a.kind)return e.deleteNodeRange(r,MX(a,21,r),MX(a,22,r));if(1!==a.declarations.length)return ade(e,t,r,n),0;var i=a.parent;switch(i.kind){case 250:case 249:e.replaceNode(r,n,uR.createObjectLiteralExpression());break;case 248:nde(e,r,a);break;case 243:nde(e,r,i,{leadingTriviaOption:tF(i)?2:3});break;default:rA.assertNever(i)}}(e,t,r,n);break;case 168:ade(e,t,r,n);break;case 276:var o=n.parent;1===o.elements.length?u(e,r,o):ade(e,t,r,n);break;case 274:u(e,r,n);break;case 27:nde(e,r,n,{trailingTriviaOption:0});break;case 100:nde(e,r,n,{leadingTriviaOption:0});break;case 263:case 262:nde(e,r,n,{leadingTriviaOption:tF(n)?2:3});break;default:n.parent?zj(n.parent)&&n.parent.name===n?(s=e,c=r,(a=n.parent).namedBindings?(i=a.name.getStart(c),(o=QX(c,a.name.end))&&28===o.kind?(o=xA(c.text,o.end,!1,!0),s.deleteRange(c,{pos:i,end:o})):nde(s,c,a.name)):nde(s,c,a.parent)):oj(n.parent)&&eD(n.parent.arguments,n)?ade(e,t,r,n):nde(e,r,n):nde(e,r,n)}var s,c}}}),ode={};t(ode,{ChangeTracker:function(){return Ole},LeadingTriviaOption:function(){return Fle},TrailingTriviaOption:function(){return Ple},applyChanges:function(){return Zle},assignPositionsToNode:function(){return $le},createWriter:function(){return tde},deleteNode:function(){return nde},isThisTypeAnnotatable:function(){return Xle},isValidLocationToAddComment:function(){return rde}});var sde,cde,ude,_de,lde=e({"src/services/_namespaces/ts.textChanges.ts":function(){ide()}}),dde=e({"src/services/formatting/formattingContext.ts":function(){function e(e,t,r){this.sourceFile=e,this.formattingRequestKind=t,this.options=r}fpe(),sde=function(e){return e[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",e}(sde||{}),e.prototype.updateContext=function(e,t,r,n,a){this.currentTokenSpan=rA.checkDefined(e),this.currentTokenParent=rA.checkDefined(t),this.nextTokenSpan=rA.checkDefined(r),this.nextTokenParent=rA.checkDefined(n),this.contextNode=rA.checkDefined(a),this.contextNodeAllOnSameLine=void 0,this.nextNodeAllOnSameLine=void 0,this.tokensAreOnSameLine=void 0,this.contextNodeBlockIsOnOneLine=void 0,this.nextNodeBlockIsOnOneLine=void 0},e.prototype.ContextNodeAllOnSameLine=function(){return void 0===this.contextNodeAllOnSameLine&&(this.contextNodeAllOnSameLine=this.NodeIsOnOneLine(this.contextNode)),this.contextNodeAllOnSameLine},e.prototype.NextNodeAllOnSameLine=function(){return void 0===this.nextNodeAllOnSameLine&&(this.nextNodeAllOnSameLine=this.NodeIsOnOneLine(this.nextTokenParent)),this.nextNodeAllOnSameLine},e.prototype.TokensAreOnSameLine=function(){var e,t;return void 0===this.tokensAreOnSameLine&&(e=this.sourceFile.getLineAndCharacterOfPosition(this.currentTokenSpan.pos).line,t=this.sourceFile.getLineAndCharacterOfPosition(this.nextTokenSpan.pos).line,this.tokensAreOnSameLine=e===t),this.tokensAreOnSameLine},e.prototype.ContextNodeBlockIsOnOneLine=function(){return void 0===this.contextNodeBlockIsOnOneLine&&(this.contextNodeBlockIsOnOneLine=this.BlockIsOnOneLine(this.contextNode)),this.contextNodeBlockIsOnOneLine},e.prototype.NextNodeBlockIsOnOneLine=function(){return void 0===this.nextNodeBlockIsOnOneLine&&(this.nextNodeBlockIsOnOneLine=this.BlockIsOnOneLine(this.nextTokenParent)),this.nextNodeBlockIsOnOneLine},e.prototype.NodeIsOnOneLine=function(e){return this.sourceFile.getLineAndCharacterOfPosition(e.getStart(this.sourceFile)).line===this.sourceFile.getLineAndCharacterOfPosition(e.getEnd()).line},e.prototype.BlockIsOnOneLine=function(e){var t=MX(e,19,this.sourceFile),e=MX(e,20,this.sourceFile);return!(!t||!e)&&this.sourceFile.getLineAndCharacterOfPosition(t.getEnd()).line===this.sourceFile.getLineAndCharacterOfPosition(e.getStart(this.sourceFile)).line},cde=e}});function fde(e,t,r,a,n){var i=1===t?_de:ude;i.setText(e),i.resetTokenState(r);var o,s,c,u,_=!0,n=n({advance:function(){l=void 0,i.getTokenFullStart()!==r?_=!!s&&4===ND(s).kind:i.scan();s=o=void 0;var e=i.getTokenFullStart();for(;e<a;){var t=i.getToken();if(!Xl(t))break;i.scan();t={pos:e,end:i.getTokenFullStart(),kind:t};e=i.getTokenFullStart(),o=vD(o,t)}c=i.getTokenFullStart()},readTokenInfo:function(e){rA.assert(d());var t=function(e){switch(e.kind){case 34:case 72:case 73:case 50:case 49:return!0}return!1}(e)?1:14===e.kind?2:function(e){return 17===e.kind||18===e.kind}(e)?3:function(e){if(e.parent)switch(e.parent.kind){case 291:case 286:case 287:case 285:return zl(e.kind)||80===e.kind}return!1}(e)?4:function(e){return qv(e)||Xj(e)&&12===(null==l?void 0:l.token.kind)}(e)?5:function(e){return e.parent&&$j(e.parent)&&e.parent.initializer===e}(e)?6:0;if(l&&t===u)return p(l,e);i.getTokenFullStart()!==c&&(rA.assert(void 0!==l),i.resetTokenState(c),i.scan());var r=function(e,t){var r=i.getToken();switch(u=0,t){case 1:if(32!==r)break;u=1;var n=i.reScanGreaterToken();return rA.assert(e.kind===n),n;case 2:if(function(e){return 44===e||69===e}(r)){u=2;n=i.reScanSlashToken();return rA.assert(e.kind===n),n}break;case 3:if(20===r)return u=3,i.reScanTemplateToken(!1);break;case 4:return u=4,i.scanJsxIdentifier();case 5:return u=5,i.reScanJsxToken(!1);case 6:return u=6,i.reScanJsxAttributeValue();case 0:break;default:rA.assertNever(t)}return r}(e,t),t=Ufe(i.getTokenFullStart(),i.getTokenEnd(),r);s=s&&void 0;for(;i.getTokenFullStart()<a&&Xl(r=i.scan());){var n=Ufe(i.getTokenFullStart(),i.getTokenEnd(),r);if((s=s||[]).push(n),4===r){i.scan();break}}return p(l={leadingTrivia:o,trailingTrivia:s,token:t},e)},readEOFTokenRange:function(){return rA.assert(f()),Ufe(i.getTokenFullStart(),i.getTokenEnd(),1)},isOnToken:d,isOnEOF:f,getCurrentLeadingTrivia:function(){return o},lastTrailingTriviaWasNewLine:function(){return _},skipToEndOf:function(e){i.resetTokenState(e.end),c=i.getTokenFullStart(),_=!1,s=o=l=u=void 0},skipToStartOf:function(e){i.resetTokenState(e.pos),c=i.getTokenFullStart(),_=!1,s=o=l=u=void 0},getTokenFullStart:function(){var e;return null!==(e=null==l?void 0:l.token.pos)&&void 0!==e?e:i.getTokenStart()},getStartPos:function(){var e;return null!==(e=null==l?void 0:l.token.pos)&&void 0!==e?e:i.getTokenStart()}}),l=void 0;return i.setText(void 0),n;function d(){var e=l?l.token.kind:i.getToken();return 1!==e&&!Xl(e)}function f(){return 1===(l?l.token.kind:i.getToken())}function p(e,t){return Cs(t)&&e.token.kind!==t.kind&&(e.token.kind=t.kind),e}}var pde,mde,yde,vde=e({"src/services/formatting/formattingScanner.ts":function(){fpe(),dpe(),ude=ao(99,!1,0),_de=ao(99,!1,1)}}),gde=e({"src/services/formatting/rule.ts":function(){fpe(),pde=WN,mde=function(e){return e[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",e}(mde||{}),yde=function(e){return e[e.None=0]="None",e[e.CanDeleteNewLines=1]="CanDeleteNewLines",e}(yde||{})}});function hde(){for(var r=[],e=0;e<=165;e++)1!==e&&r.push(e);function t(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return{tokens:r.filter(function(t){return!e.some(function(e){return e===t})}),isSpecific:!1}}var n={tokens:r,isSpecific:!1},a=bde(__spreadArray(__spreadArray([],__read(r),!1),[3],!1)),i=bde(__spreadArray(__spreadArray([],__read(r),!1),[1],!1)),o=Tde(83,165),s=Tde(30,79),c=[103,104,165,130,142,152],u=__spreadArray([80],__read(jG),!1),_=a,l=bde([80,3,86,95,102]),d=bde([22,3,92,113,98,93]),u=[xde("IgnoreBeforeComment",n,[2,3],pde,1),xde("IgnoreAfterLineComment",2,n,pde,1),xde("NotSpaceBeforeColon",n,59,[afe,Ide,Ode],16),xde("SpaceAfterColon",59,n,[afe,Ide],4),xde("NoSpaceBeforeQuestionMark",n,58,[afe,Ide,Ode],16),xde("SpaceAfterQuestionMarkInConditionalOperator",58,n,[afe,Mde],4),xde("NoSpaceAfterQuestionMark",58,n,[afe],16),xde("NoSpaceBeforeDot",n,[25,29],[afe,Afe],16),xde("NoSpaceAfterDot",[25,29],n,[afe],16),xde("NoSpaceBetweenImportParenInImportType",102,21,[afe,nfe],16),xde("NoSpaceAfterUnaryPrefixOperator",[46,47,55,54],[9,10,80,21,23,19,110,105],[afe,Ide],16),xde("NoSpaceAfterUnaryPreincrementOperator",46,[80,21,110,105],[afe],16),xde("NoSpaceAfterUnaryPredecrementOperator",47,[80,21,110,105],[afe],16),xde("NoSpaceBeforeUnaryPostincrementOperator",[80,22,24,105],46,[afe,Cfe],16),xde("NoSpaceBeforeUnaryPostdecrementOperator",[80,22,24,105],47,[afe,Cfe],16),xde("SpaceAfterPostincrementWhenFollowedByAdd",46,40,[afe,Pde],4),xde("SpaceAfterAddWhenFollowedByUnaryPlus",40,40,[afe,Pde],4),xde("SpaceAfterAddWhenFollowedByPreincrement",40,46,[afe,Pde],4),xde("SpaceAfterPostdecrementWhenFollowedBySubtract",47,41,[afe,Pde],4),xde("SpaceAfterSubtractWhenFollowedByUnaryMinus",41,41,[afe,Pde],4),xde("SpaceAfterSubtractWhenFollowedByPredecrement",41,47,[afe,Pde],4),xde("NoSpaceAfterCloseBrace",20,[28,27],[afe],16),xde("NewLineBeforeCloseBraceInBlockContext",a,20,[Jde],8),xde("SpaceAfterCloseBrace",20,t(22),[afe,Xde],4),xde("SpaceBetweenCloseBraceAndElse",20,93,[afe],4),xde("SpaceBetweenCloseBraceAndWhile",20,117,[afe],4),xde("NoSpaceBetweenEmptyBraceBrackets",19,20,[afe,Yde],16),xde("SpaceAfterConditionalClosingParen",22,23,[Qde],4),xde("NoSpaceBetweenFunctionKeywordAndStar",100,42,[Hde],16),xde("SpaceAfterStarInGeneratorDeclaration",42,80,[Hde],4),xde("SpaceAfterFunctionInFuncDecl",100,n,[qde],4),xde("NewLineAfterOpenBraceInBlockContext",19,n,[Jde],8),xde("SpaceAfterGetSetInMember",[139,153],80,[qde],4),xde("NoSpaceBetweenYieldKeywordAndStar",127,42,[afe,Sfe],16),xde("SpaceBetweenYieldOrYieldStarAndOperand",[127,42],n,[afe,Sfe],4),xde("NoSpaceBetweenReturnAndSemicolon",107,27,[afe],16),xde("SpaceAfterCertainKeywords",[115,111,105,91,107,114,135],n,[afe],4),xde("SpaceAfterLetConstInVariableDeclaration",[121,87],n,[afe,pfe],4),xde("NoSpaceBeforeOpenParenInFuncCall",n,21,[afe,Zde,$de],16),xde("SpaceBeforeBinaryKeywordOperator",n,c,[afe,Pde],4),xde("SpaceAfterBinaryKeywordOperator",c,n,[afe,Pde],4),xde("SpaceAfterVoidOperator",116,n,[afe,Tfe],4),xde("SpaceBetweenAsyncAndOpenParen",134,21,[rfe,afe],4),xde("SpaceBetweenAsyncAndFunctionKeyword",134,[100,80],[afe],4),xde("NoSpaceBetweenTagAndTemplateString",[80,22],[15,16],[afe],16),xde("SpaceBeforeJsxAttribute",n,80,[cfe,afe],4),xde("SpaceBeforeSlashInJsxOpeningElement",n,44,[_fe,afe],4),xde("NoSpaceBeforeGreaterThanTokenInJsxOpeningElement",44,32,[_fe,afe],16),xde("NoSpaceBeforeEqualInJsxAttribute",n,64,[ufe,afe],16),xde("NoSpaceAfterEqualInJsxAttribute",64,n,[ufe,afe],16),xde("NoSpaceAfterModuleImport",[144,149],21,[afe],16),xde("SpaceAfterCertainTypeScriptKeywords",[128,129,86,138,90,94,95,96,139,119,102,120,144,145,123,125,124,148,153,126,156,161,143,140],n,[afe],4),xde("SpaceBeforeCertainTypeScriptKeywords",n,[96,119,161],[afe],4),xde("SpaceAfterModuleName",11,19,[yfe],4),xde("SpaceBeforeArrow",n,39,[afe],4),xde("SpaceAfterArrow",39,n,[afe],4),xde("NoSpaceAfterEllipsis",26,80,[afe],16),xde("NoSpaceAfterOptionalParameters",58,[22,28],[afe,Ide],16),xde("NoSpaceBetweenEmptyInterfaceBraceBrackets",19,20,[afe,vfe],16),xde("NoSpaceBeforeOpenAngularBracket",u,30,[afe,xfe],16),xde("NoSpaceBetweenCloseParenAndAngularBracket",22,30,[afe,xfe],16),xde("NoSpaceAfterOpenAngularBracket",30,n,[afe,xfe],16),xde("NoSpaceBeforeCloseAngularBracket",n,32,[afe,xfe],16),xde("NoSpaceAfterCloseAngularBracket",32,[21,23,32,28],[afe,xfe,Wde,kfe],16),xde("SpaceBeforeAt",[22,80],60,[afe],4),xde("NoSpaceAfterAt",60,n,[afe],16),xde("SpaceAfterDecorator",n,[128,80,95,90,86,126,125,123,124,139,153,23,42],[dfe],4),xde("NoSpaceBeforeNonNullAssertionOperator",n,54,[afe,wfe],16),xde("NoSpaceAfterNewKeywordOnConstructorSignature",105,21,[afe,gfe],16),xde("SpaceLessThanAndNonJSXTypeAnnotation",30,30,[afe],4)],i=[xde("SpaceAfterConstructor",137,21,[wde("insertSpaceAfterConstructor"),afe],4),xde("NoSpaceAfterConstructor",137,21,[Nde("insertSpaceAfterConstructor"),afe],16),xde("SpaceAfterComma",28,n,[wde("insertSpaceAfterCommaDelimiter"),afe,ofe,efe,tfe],4),xde("NoSpaceAfterComma",28,n,[Nde("insertSpaceAfterCommaDelimiter"),afe,ofe],16),xde("SpaceAfterAnonymousFunctionKeyword",[100,42],21,[wde("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),qde],4),xde("NoSpaceAfterAnonymousFunctionKeyword",[100,42],21,[Nde("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),qde],16),xde("SpaceAfterKeywordInControl",o,21,[wde("insertSpaceAfterKeywordsInControlFlowStatements"),Qde],4),xde("NoSpaceAfterKeywordInControl",o,21,[Nde("insertSpaceAfterKeywordsInControlFlowStatements"),Qde],16),xde("SpaceAfterOpenParen",21,n,[wde("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),afe],4),xde("SpaceBeforeCloseParen",n,22,[wde("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),afe],4),xde("SpaceBetweenOpenParens",21,21,[wde("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),afe],4),xde("NoSpaceBetweenParens",21,22,[afe],16),xde("NoSpaceAfterOpenParen",21,n,[Nde("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),afe],16),xde("NoSpaceBeforeCloseParen",n,22,[Nde("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),afe],16),xde("SpaceAfterOpenBracket",23,n,[wde("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),afe],4),xde("SpaceBeforeCloseBracket",n,24,[wde("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),afe],4),xde("NoSpaceBetweenBrackets",23,24,[afe],16),xde("NoSpaceAfterOpenBracket",23,n,[Nde("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),afe],16),xde("NoSpaceBeforeCloseBracket",n,24,[Nde("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),afe],16),xde("SpaceAfterOpenBrace",19,n,[Ade("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),jde],4),xde("SpaceBeforeCloseBrace",n,20,[Ade("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),jde],4),xde("NoSpaceBetweenEmptyBraceBrackets",19,20,[afe,Yde],16),xde("NoSpaceAfterOpenBrace",19,n,[Cde("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),afe],16),xde("NoSpaceBeforeCloseBrace",n,20,[Cde("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),afe],16),xde("SpaceBetweenEmptyBraceBrackets",19,20,[wde("insertSpaceAfterOpeningAndBeforeClosingEmptyBraces")],4),xde("NoSpaceBetweenEmptyBraceBrackets",19,20,[Cde("insertSpaceAfterOpeningAndBeforeClosingEmptyBraces"),afe],16),xde("SpaceAfterTemplateHeadAndMiddle",[16,17],n,[wde("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),ife],4,1),xde("SpaceBeforeTemplateMiddleAndTail",n,[17,18],[wde("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),afe],4),xde("NoSpaceAfterTemplateHeadAndMiddle",[16,17],n,[Nde("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),ife],16,1),xde("NoSpaceBeforeTemplateMiddleAndTail",n,[17,18],[Nde("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),afe],16),xde("SpaceAfterOpenBraceInJsxExpression",19,n,[wde("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),afe,sfe],4),xde("SpaceBeforeCloseBraceInJsxExpression",n,20,[wde("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),afe,sfe],4),xde("NoSpaceAfterOpenBraceInJsxExpression",19,n,[Nde("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),afe,sfe],16),xde("NoSpaceBeforeCloseBraceInJsxExpression",n,20,[Nde("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),afe,sfe],16),xde("SpaceAfterSemicolonInFor",27,n,[wde("insertSpaceAfterSemicolonInForStatements"),afe,Ede],4),xde("NoSpaceAfterSemicolonInFor",27,n,[Nde("insertSpaceAfterSemicolonInForStatements"),afe,Ede],16),xde("SpaceBeforeBinaryOperator",n,s,[wde("insertSpaceBeforeAndAfterBinaryOperators"),afe,Pde],4),xde("SpaceAfterBinaryOperator",s,n,[wde("insertSpaceBeforeAndAfterBinaryOperators"),afe,Pde],4),xde("NoSpaceBeforeBinaryOperator",n,s,[Nde("insertSpaceBeforeAndAfterBinaryOperators"),afe,Pde],16),xde("NoSpaceAfterBinaryOperator",s,n,[Nde("insertSpaceBeforeAndAfterBinaryOperators"),afe,Pde],16),xde("SpaceBeforeOpenParenInFuncDecl",n,21,[wde("insertSpaceBeforeFunctionParenthesis"),afe,qde],4),xde("NoSpaceBeforeOpenParenInFuncDecl",n,21,[Nde("insertSpaceBeforeFunctionParenthesis"),afe,qde],16),xde("NewLineBeforeOpenBraceInControl",d,19,[wde("placeOpenBraceOnNewLineForControlBlocks"),Qde,Bde],8,1),xde("NewLineBeforeOpenBraceInFunction",_,19,[wde("placeOpenBraceOnNewLineForFunctions"),qde,Bde],8,1),xde("NewLineBeforeOpenBraceInTypeScriptDeclWithBlock",l,19,[wde("placeOpenBraceOnNewLineForFunctions"),Kde,Bde],8,1),xde("SpaceAfterTypeAssertion",32,n,[wde("insertSpaceAfterTypeAssertion"),afe,bfe],4),xde("NoSpaceAfterTypeAssertion",32,n,[Nde("insertSpaceAfterTypeAssertion"),afe,bfe],16),xde("SpaceBeforeTypeAnnotation",n,[58,59],[wde("insertSpaceBeforeTypeAnnotation"),afe,Lde],4),xde("NoSpaceBeforeTypeAnnotation",n,[58,59],[Nde("insertSpaceBeforeTypeAnnotation"),afe,Lde],16),xde("NoOptionalSemicolon",27,i,[Sde("semicolons","remove"),Nfe],32),xde("OptionalSemicolon",n,i,[Sde("semicolons","insert"),Dfe],64)],n=[xde("NoSpaceBeforeSemicolon",n,27,[afe],16),xde("SpaceBeforeOpenBraceInControl",d,19,[Dde("placeOpenBraceOnNewLineForControlBlocks"),Qde,mfe,Rde],4,1),xde("SpaceBeforeOpenBraceInFunction",_,19,[Dde("placeOpenBraceOnNewLineForFunctions"),qde,Ude,mfe,Rde],4,1),xde("SpaceBeforeOpenBraceInTypeScriptDeclWithBlock",l,19,[Dde("placeOpenBraceOnNewLineForFunctions"),Kde,mfe,Rde],4,1),xde("NoSpaceBeforeComma",n,28,[afe],16),xde("NoSpaceBeforeOpenBracket",t(134,84),23,[afe],16),xde("NoSpaceAfterCloseBracket",24,n,[afe,lfe],16),xde("SpaceAfterSemicolon",27,n,[afe],4),xde("SpaceBetweenForAndAwaitKeyword",99,135,[afe],4),xde("SpaceBetweenStatements",[22,92,93,84],n,[afe,ofe,Fde],4),xde("SpaceAfterTryCatchFinally",[113,85,98],19,[afe],4)];return __spreadArray(__spreadArray(__spreadArray([],__read(u),!1),__read(i),!1),__read(n),!1)}function xde(e,t,r,n,a,i){return void 0===i&&(i=0),{leftTokenRange:kde(t),rightTokenRange:kde(r),rule:{debugName:e,context:n,action:a,flags:i}}}function bde(e){return{tokens:e,isSpecific:!0}}function kde(e){return"number"==typeof e?bde([e]):RD(e)?bde(e):e}function Tde(e,t,r){void 0===r&&(r=[]);for(var n=[],a=e;a<=t;a++)eD(r,a)||n.push(a);return bde(n)}function Sde(t,r){return function(e){return e.options&&e.options[t]===r}}function wde(t){return function(e){return e.options&&ma(e.options,t)&&!!e.options[t]}}function Cde(t){return function(e){return e.options&&ma(e.options,t)&&!e.options[t]}}function Nde(t){return function(e){return!e.options||!ma(e.options,t)||!e.options[t]}}function Dde(t){return function(e){return!e.options||!ma(e.options,t)||!e.options[t]||e.TokensAreOnSameLine()}}function Ade(t){return function(e){return!e.options||!ma(e.options,t)||!!e.options[t]}}function Ede(e){return 248===e.contextNode.kind}function Fde(e){return!Ede(e)}function Pde(e){switch(e.contextNode.kind){case 226:return 28!==e.contextNode.operatorToken.kind;case 227:case 194:case 234:case 281:case 276:case 182:case 192:case 193:case 238:return!0;case 208:case 265:case 271:case 277:case 260:case 169:case 306:case 172:case 171:return 64===e.currentTokenSpan.kind||64===e.nextTokenSpan.kind;case 249:case 168:return 103===e.currentTokenSpan.kind||103===e.nextTokenSpan.kind||64===e.currentTokenSpan.kind||64===e.nextTokenSpan.kind;case 250:return 165===e.currentTokenSpan.kind||165===e.nextTokenSpan.kind}return!1}function Ide(e){return!Pde(e)}function Ode(e){return!Lde(e)}function Lde(e){e=e.contextNode.kind;return 172===e||171===e||169===e||260===e||Vs(e)}function Mde(e){return 227===e.contextNode.kind||194===e.contextNode.kind}function Rde(e){return e.TokensAreOnSameLine()||Ude(e)}function jde(e){return 206===e.contextNode.kind||200===e.contextNode.kind||zde(e=e)&&(e.ContextNodeAllOnSameLine()||e.ContextNodeBlockIsOnOneLine())}function Bde(e){return Ude(e)&&!(e.NextNodeAllOnSameLine()||e.NextNodeBlockIsOnOneLine())}function Jde(e){return zde(e)&&!(e.ContextNodeAllOnSameLine()||e.ContextNodeBlockIsOnOneLine())}function zde(e){return Vde(e.contextNode)}function Ude(e){return Vde(e.nextTokenParent)}function Vde(e){if(Gde(e))return!0;switch(e.kind){case 241:case 269:case 210:case 268:return!0}return!1}function qde(e){switch(e.contextNode.kind){case 262:case 174:case 173:case 177:case 178:case 179:case 218:case 176:case 219:case 264:return!0}return!1}function Wde(e){return!qde(e)}function Hde(e){return 262===e.contextNode.kind||218===e.contextNode.kind}function Kde(e){return Gde(e.contextNode)}function Gde(e){switch(e.kind){case 263:case 231:case 264:case 266:case 187:case 267:case 278:case 279:case 272:case 275:return!0}return!1}function Xde(e){switch(e.currentTokenParent.kind){case 263:case 267:case 266:case 299:case 268:case 255:return!0;case 241:var t=e.currentTokenParent.parent;if(!t||219!==t.kind&&218!==t.kind)return!0}return!1}function Qde(e){switch(e.contextNode.kind){case 245:case 255:case 248:case 249:case 250:case 247:case 258:case 246:case 254:case 299:return!0;default:return!1}}function Yde(e){return 210===e.contextNode.kind}function Zde(e){return 213===e.contextNode.kind||214===e.contextNode.kind}function $de(e){return 28!==e.currentTokenSpan.kind}function efe(e){return 24!==e.nextTokenSpan.kind}function tfe(e){return 22!==e.nextTokenSpan.kind}function rfe(e){return 219===e.contextNode.kind}function nfe(e){return 205===e.contextNode.kind}function afe(e){return e.TokensAreOnSameLine()&&12!==e.contextNode.kind}function ife(e){return 12!==e.contextNode.kind}function ofe(e){return 284!==e.contextNode.kind&&288!==e.contextNode.kind}function sfe(e){return 294===e.contextNode.kind||293===e.contextNode.kind}function cfe(e){return 291===e.nextTokenParent.kind}function ufe(e){return 291===e.contextNode.kind}function _fe(e){return 285===e.contextNode.kind}function lfe(e){return!qde(e)&&!Ude(e)}function dfe(e){return e.TokensAreOnSameLine()&&gL(e.contextNode)&&ffe(e.currentTokenParent)&&!ffe(e.nextTokenParent)}function ffe(e){for(;e&&jE(e);)e=e.parent;return e&&170===e.kind}function pfe(e){return 261===e.currentTokenParent.kind&&e.currentTokenParent.getStart(e.sourceFile)===e.currentTokenSpan.pos}function mfe(e){return 2!==e.formattingRequestKind}function yfe(e){return 267===e.contextNode.kind}function vfe(e){return 187===e.contextNode.kind}function gfe(e){return 180===e.contextNode.kind}function hfe(e,t){if(30!==e.kind&&32!==e.kind)return!1;switch(t.kind){case 183:case 216:case 265:case 263:case 231:case 264:case 262:case 218:case 219:case 174:case 173:case 179:case 180:case 213:case 214:case 233:return!0;default:return!1}}function xfe(e){return hfe(e.currentTokenSpan,e.currentTokenParent)||hfe(e.nextTokenSpan,e.nextTokenParent)}function bfe(e){return 216===e.contextNode.kind}function kfe(e){return!bfe(e)}function Tfe(e){return 116===e.currentTokenSpan.kind&&222===e.currentTokenParent.kind}function Sfe(e){return 229===e.contextNode.kind&&void 0!==e.contextNode.expression}function wfe(e){return 235===e.contextNode.kind}function Cfe(e){return!function(e){switch(e.contextNode.kind){case 245:case 248:case 249:case 250:case 246:case 247:return!0;default:return!1}}(e)}function Nfe(e){var t=e.nextTokenSpan.kind,r=e.nextTokenSpan.pos;if(Xl(t)){var n=e.nextTokenParent===e.currentTokenParent?eQ(e.currentTokenParent,FA(e.currentTokenParent,function(e){return!e.parent}),e.sourceFile):e.nextTokenParent.getFirstToken(e.sourceFile);if(!n)return!0;t=n.kind,r=n.getStart(e.sourceFile)}return e.sourceFile.getLineAndCharacterOfPosition(e.currentTokenSpan.pos).line===e.sourceFile.getLineAndCharacterOfPosition(r).line?20===t||1===t:240!==t&&27!==t&&(264===e.contextNode.kind||265===e.contextNode.kind?!DR(e.currentTokenParent)||!!e.currentTokenParent.type||21!==t:AR(e.currentTokenParent)?!e.currentTokenParent.initializer:248!==e.currentTokenParent.kind&&242!==e.currentTokenParent.kind&&240!==e.currentTokenParent.kind&&23!==t&&21!==t&&40!==t&&41!==t&&44!==t&&14!==t&&28!==t&&228!==t&&16!==t&&15!==t&&25!==t)}function Dfe(e){return AZ(e.currentTokenSpan.end,e.currentTokenParent,e.sourceFile)}function Afe(e){return!aj(e.contextNode)||!gR(e.contextNode.expression)||-1!==e.contextNode.expression.getText().indexOf(".")}var Efe,Ffe,Pfe,Ife,Ofe,Lfe=e({"src/services/formatting/rules.ts":function(){fpe(),dpe()}});function Mfe(e,t){return{options:e,getRules:function(){void 0===Efe&&(Efe=function(e){var _=function(e){var t,r,n,a,i,o,s=new Array(Ife*Ife),c=new Array(s.length);try{for(var u=__values(e),_=u.next();!_.done;_=u.next()){var l=_.value,d=l.leftTokenRange.isSpecific&&l.rightTokenRange.isSpecific;try{for(var f=(n=void 0,__values(l.leftTokenRange.tokens)),p=f.next();!p.done;p=f.next()){var m=p.value;try{for(var y=(i=void 0,__values(l.rightTokenRange.tokens)),v=y.next();!v.done;v=y.next()){var g=v.value,g=Rfe(m,g),h=s[g];void 0===h&&(h=s[g]=[]),function(e,t,r,n){var a=3&e.action?t?0:Ofe.StopRulesAny:e.context!==pde?t?Ofe.ContextRulesSpecific:Ofe.ContextRulesAny:t?Ofe.NoContextRulesSpecific:Ofe.NoContextRulesAny,t=r[n]||0;h.splice(function(e,t){for(var r=0,n=0;n<=t;n+=Ffe)r+=e&Pfe,e>>=Ffe;return r}(t,a),0,e),r[n]=function(e,t){var r=1+(e>>t&Pfe);return rA.assert((r&Pfe)==r,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules."),e&~(Pfe<<t)|r<<t}(t,a)}(l.rule,d,c,g)}}catch(e){i={error:e}}finally{try{v&&!v.done&&(o=y.return)&&o.call(y)}finally{if(i)throw i.error}}}}catch(e){n={error:e}}finally{try{p&&!p.done&&(a=f.return)&&a.call(f)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{_&&!_.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}return s}(e);return function(t){var r,e,n=_[Rfe(t.currentTokenSpan.kind,t.nextTokenSpan.kind)];if(n){var a=[],i=0;try{for(var o=__values(n),s=o.next();!s.done;s=o.next()){var c=s.value,u=~function(e){var t=0;1&e&&(t|=28);2&e&&(t|=96);28&e&&(t|=28);96&e&&(t|=96);return t}(i);c.action&u&&XN(c.context,function(e){return e(t)})&&(a.push(c),i|=c.action)}}catch(e){r={error:e}}finally{try{s&&!s.done&&(e=o.return)&&e.call(o)}finally{if(r)throw r.error}}if(a.length)return a}}}(hde()));return Efe}(),host:t}}function Rfe(e,t){return rA.assert(e<=165&&t<=165,"Must compute formatting context from tokens"),e*Ife+t}var jfe,Bfe,Jfe,zfe=e({"src/services/formatting/rulesMap.ts":function(){var e;fpe(),dpe(),Ffe=5,Pfe=31,Ife=166,(e=Ofe||{})[e.StopRulesSpecific=0]="StopRulesSpecific",e[e.StopRulesAny=+Ffe]="StopRulesAny",e[e.ContextRulesSpecific=2*Ffe]="ContextRulesSpecific",e[e.ContextRulesAny=3*Ffe]="ContextRulesAny",e[e.NoContextRulesSpecific=4*Ffe]="NoContextRulesSpecific",e[e.NoContextRulesAny=5*Ffe]="NoContextRulesAny",Ofe=e}});function Ufe(e,t,r){t={pos:e,end:t,kind:r};return rA.isDebugging&&Object.defineProperty(t,"__debugKind",{get:function(){return rA.formatSyntaxKind(r)}}),t}function Vfe(e,t,r){e=t.getLineAndCharacterOfPosition(e).line;if(0===e)return[];for(var n=Gu(e,t);ji(t.text.charCodeAt(n));)n--;return hA(t.text.charCodeAt(n))&&n--,epe({pos:Hu(e-1,t),end:n+1},t,r,2)}function qfe(e,t,r){return $fe(Qfe(Xfe(e,27,t)),t,r,3)}function Wfe(e,t,r){var n=Xfe(e,19,t);return n?epe({pos:kX(Qfe(n.parent).getStart(t),t),end:e},t,r,4):[]}function Hfe(e,t,r){return $fe(Qfe(Xfe(e,20,t)),t,r,5)}function Kfe(e,t){return epe({pos:0,end:e.text.length},e,t,0)}function Gfe(e,t,r,n){return epe({pos:kX(e,r),end:t},r,n,1)}function Xfe(e,t,r){r=tQ(e,r);return r&&r.kind===t&&e===r.getEnd()?r:void 0}function Qfe(e){for(var t=e;t&&t.parent&&t.parent.end===e.end&&!function(e,t){switch(e.kind){case 263:case 264:return TX(e.members,t);case 267:var r=e.body;return!!r&&268===r.kind&&TX(r.statements,t);case 312:case 241:case 268:return TX(e.statements,t);case 299:return TX(e.block.statements,t)}return!1}(t.parent,t);)t=t.parent;return t}function Yfe(n,a){return function e(t){var r=HB(t,function(e){return NX(e.getStart(a),e.end,n)&&e});if(r){var r=e(r);if(r)return r}return t}(a)}function Zfe(t,r,e,n,a,i){var o={pos:t.pos,end:t.end};return fde(r.text,e,o.pos,o.end,function(e){return tpe(o,t,n,a,e,i,1,function(e){return!1},r)})}function $fe(e,t,r,n){return e?epe({pos:kX(e.getStart(t),t),end:e.end},t,r,n):[]}function epe(t,r,n,a){var e,i,o,s,c=Yfe(t,r);return fde(r.text,r.languageVariant,(i=t,o=r,(s=(e=c).getStart(o))===i.pos&&e.end===i.end?s:!(o=tQ(i.pos,o))||o.end>=i.pos?e.pos:o.end),t.end,function(e){return tpe(t,c,ope.getIndentationForNode(c,t,r,n.options),function(e,t,r){for(var n,a=-1;e;){var i=r.getLineAndCharacterOfPosition(e.getStart(r)).line;if(-1!==a&&i!==a)break;if(ope.shouldIndentChildNode(t,e,n,r))return t.indentSize;a=i,e=(n=e).parent}return 0}(c,n.options,r),e,n,a,function(e,t){if(!e.length)return a;var r=e.filter(function(e){return AX(t,e.start,e.start+e.length)}).sort(function(e,t){return e.start-t.start});if(!r.length)return a;var n=0;return function(e){for(;;){if(n>=r.length)return!1;var t=r[n];if(e.end<=t.start)return!1;if(FX(e.pos,e.end,t.start,t.start+t.length))return!0;n++}};function a(){return!1}}(r.parseDiagnostics,t),r)})}function tpe(g,t,e,r,h,n,a,x,b){var k,T,o,s,S,w=n.options,_=n.getRules,l=n.host,d=new cde(b,a,w),C=-1,f=[];h.advance(),h.isOnToken()&&(a=n=b.getLineAndCharacterOfPosition(t.getStart(b)).line,gL(t)&&(a=b.getLineAndCharacterOfPosition(u_(t,b)).line),function f(p,e,t,r,n,a){if(!AX(g,p.getStart(b),p.getEnd()))return;var i=A(p,t,n,a);var m=e;HB(p,function(e){y(e,-1,p,i,t,r,!1)},function(e){s(e,p,t,i)});for(;h.isOnToken()&&h.getTokenFullStart()<g.end;){var o=h.readTokenInfo(p);if(o.token.end>Math.min(p.end,g.end))break;v(o,p,i,p)}function y(e,t,r,n,a,i,o,s){if(rA.assert(!jO(e)),EF(e)||Qu(r,e))return t;var c=e.getStart(b),u=b.getLineAndCharacterOfPosition(c).line,_=u;gL(e)&&(_=b.getLineAndCharacterOfPosition(u_(e,b)).line);var l=-1;if(o&&TX(g,r)&&-1!==(l=N(c,e.end,a,g,t))&&(t=l),!AX(g,e.pos,e.end))return e.end<g.pos&&h.skipToEndOf(e),t;if(0===e.getFullWidth())return t;for(;h.isOnToken()&&h.getTokenFullStart()<g.end;){var d=h.readTokenInfo(p);if(d.token.end>g.end)return t;if(d.token.end>c){d.token.pos>c&&h.skipToStartOf(e);break}v(d,p,n,p)}if(!h.isOnToken()||h.getTokenFullStart()>=g.end)return t;if(Cs(e)){var d=h.readTokenInfo(e);if(12!==e.kind)return rA.assert(d.token.end===e.end,"Token end is child end"),v(d,p,n,e),t}var i=170===e.kind?u:i,i=D(e,u,l,p,n,i);return f(e,m,u,_,i.indentation,i.delta),m=p,s&&209===r.kind&&-1===t&&(t=i.indentation),t}function s(e,t,r,n){rA.assert(Ns(e)),rA.assert(!jO(e));var a=npe(t,e),i=n,o=r;if(AX(g,e.pos,e.end)){if(0!==a)for(;h.isOnToken()&&h.getTokenFullStart()<g.end;){var s,c,u=h.readTokenInfo(t);if(u.token.end>e.pos)break;u.token.kind===a?(o=b.getLineAndCharacterOfPosition(u.token.pos).line,v(u,t,n,t),s=void 0,s=-1!==C?C:(c=kX(u.token.pos,b),ope.findFirstNonWhitespaceColumn(c,u.token.pos,b,w)),i=A(t,r,s,w.indentSize)):v(u,t,n,t)}for(var _=-1,l=0;l<e.length;l++){var d=e[l];_=y(d,_,p,i,o,o,!0,0===l)}var f=ape(a);0!==f&&h.isOnToken()&&h.getTokenFullStart()<g.end&&(28===(u=h.readTokenInfo(t)).token.kind&&(v(u,t,i,t),u=h.isOnToken()?h.readTokenInfo(t):void 0),u&&u.token.kind===f&&TX(t,u.token)&&v(u,t,i,t,!0))}else e.end<g.pos&&h.skipToEndOf(e)}function v(e,t,r,n,a){rA.assert(TX(t,e.token));var i=h.lastTrailingTriviaWasNewLine(),o=!1;e.leadingTrivia&&F(e.leadingTrivia,t,m,r);var s,c,u,_=0,l=TX(g,e.token),d=b.getLineAndCharacterOfPosition(e.token.pos);l&&(s=x(e.token),c=T,_=P(e.token,d,t,m,r),s||(o=0===_?(c=c&&b.getLineAndCharacterOfPosition(c.end).line,i&&d.line!==c):1===_)),e.trailingTrivia&&(k=ND(e.trailingTrivia).end,F(e.trailingTrivia,t,m,r)),o&&(l=l&&!x(e.token)?r.getIndentationForToken(d.line,e.token.kind,n,!!a):-1,a=!0,e.leadingTrivia&&(u=r.getIndentationForComment(e.token.kind,l,n),a=E(e.leadingTrivia,u,a,function(e){return I(e.pos,u,!1),0})),-1!==l&&a&&(I(e.token.pos,l,1===_),S=d.line,C=l)),h.advance(),m=t}}(t,t,n,a,e,r));var i,r=h.getCurrentLeadingTrivia();return r&&(E(r,i=ope.nodeWillIndentChild(w,t,void 0,b,!1)?e+w.indentSize:e,!0,function(e){P(e,b.getLineAndCharacterOfPosition(e.pos),t,t,void 0),I(e.pos,i,!1)}),!1!==w.trimTrailingWhitespace&&function(e){var t,r,n=T?T.end:g.pos;try{for(var a=__values(e),i=a.next();!i.done;i=a.next()){var o=i.value;bQ(o.kind)&&(n<o.pos&&u(n,o.pos-1,T),n=o.end+1)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}n<g.end&&u(n,g.end,T)}(r)),T&&h.getTokenFullStart()>=g.end&&((e=h.isOnEOF()?h.readEOFTokenRange():h.isOnToken()?h.readTokenInfo(t).token:void 0)&&e.pos===k&&(r=(null==(r=tQ(e.end,b,t))?void 0:r.parent)||o,c(e,b.getLineAndCharacterOfPosition(e.pos).line,r,T,s,o,r,void 0))),f;function N(e,t,r,n,a){if(AX(n,e,t)||DX(n,e,t)){if(-1!==a)return a}else{t=b.getLineAndCharacterOfPosition(e).line,a=kX(e,b),a=ope.findFirstNonWhitespaceColumn(a,e,b,w);if(t!==r||e===a){e=ope.getBaseIndentation(w);return a<e?e:a}}return-1}function D(e,t,r,n,a,i){var o=ope.shouldIndentChildNode(w,e)?w.indentSize:0;return i===t?{indentation:t===S?C:a.getIndentation(),delta:Math.min(w.indentSize,a.getDelta(e)+o)}:-1===r?21===e.kind&&t===S?{indentation:C,delta:a.getDelta(e)}:ope.childStartsOnTheSameLineWithElseInIfStatement(n,e,t,b)||ope.childIsUnindentedBranchOfConditionalExpression(n,e,t,b)||ope.argumentStartsOnSameLineAsPreviousArgument(n,e,t,b)?{indentation:a.getIndentation(),delta:o}:{indentation:a.getIndentation()+a.getDelta(e),delta:o}:{indentation:r,delta:o}}function A(a,i,o,r){return{getIndentationForComment:function(e,t,r){switch(e){case 20:case 24:case 22:return o+s(r)}return-1!==t?t:o},getIndentationForToken:function(e,t,r,n){return!n&&function(e,t,r){switch(t){case 19:case 20:case 22:case 93:case 117:case 60:return!1;case 44:case 32:switch(r.kind){case 286:case 287:case 285:return!1}break;case 23:case 24:if(200!==r.kind)return!1}return i!==e&&!(gL(a)&&t===function(e){if(VB(e)){var t=QN(e.modifiers,gE,ZN(e.modifiers,NR));if(t)return t.kind}switch(e.kind){case 263:return 86;case 264:return 120;case 262:return 100;case 266:return 266;case 177:return 139;case 178:return 153;case 174:if(e.asteriskToken)return 42;case 172:case 169:var r=JA(e);if(r)return r.kind}}(a))}(e,t,r)?o+s(r):o},getIndentation:function(){return o},getDelta:s,recomputeIndentation:function(e,t){ope.shouldIndentChildNode(w,t,a,b)&&(o+=e?w.indentSize:-w.indentSize,r=ope.shouldIndentChildNode(w,a)?w.indentSize:0)}};function s(e){return ope.nodeWillIndentChild(w,a,e,b,!0)?r:0}}function E(e,t,r,n){var a,i;try{for(var o=__values(e),s=o.next();!s.done;s=o.next()){var c=s.value,u=TX(g,c);switch(c.kind){case 3:u&&function(e,t,r,n){void 0===n&&(n=!0);var a=b.getLineAndCharacterOfPosition(e.pos).line,i=b.getLineAndCharacterOfPosition(e.end).line;if(a===i)return r||I(e.pos,t,!1);for(var o=[],s=e.pos,c=a;c<i;c++){var u=Gu(c,b);o.push({pos:s,end:u}),s=Hu(c+1,b)}if(n&&o.push({pos:s,end:e.end}),0!==o.length){var e=Hu(a,b),_=ope.findFirstNonWhitespaceCharacterAndColumn(e,o[0].pos,b,w),e=0;r&&(e=1,a++);for(var l=t-_.column,d=e;d<o.length;d++,a++){var f=Hu(a,b),p=0===d?_:ope.findFirstNonWhitespaceCharacterAndColumn(o[d].pos,o[d].end,b,w),m=p.column+l;0<m?(m=ipe(m,w),v(f,p.character,m)):y(f,p.character)}}}(c,t,!r),r=!1;break;case 2:r&&u&&n(c),r=!1;break;case 4:r=!0}}}catch(e){a={error:e}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(a)throw a.error}}return r}function F(e,t,r,n){var a,i;try{for(var o=__values(e),s=o.next();!s.done;s=o.next()){var c=s.value;bQ(c.kind)&&TX(g,c)&&P(c,b.getLineAndCharacterOfPosition(c.pos),t,r,n)}}catch(e){a={error:e}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(a)throw a.error}}}function P(e,t,r,n,a){var i=0;return x(e)||(T?i=c(e,t.line,r,T,s,o,n,a):p(b.getLineAndCharacterOfPosition(g.pos).line,t.line)),k=(T=e).end,o=r,s=t.line,i}function c(t,r,n,a,i,e,o,s){d.updateContext(a,e,t,n,o);var e=_(d),c=!1!==d.options.trimTrailingWhitespace,u=0;return e?m(e,function(e){if(u=function(e,t,r,n,a){var i=a!==r;switch(e.action){case 1:return 0;case 16:if(t.end!==n.pos)return y(t.end,n.pos-t.end),i?2:0;break;case 32:y(t.pos,t.end-t.pos);break;case 8:if(1!==e.flags&&r!==a)return 0;if(1!=a-r)return v(t.end,n.pos-t.end,zY(l,w)),i?0:1;break;case 4:if(1!==e.flags&&r!==a)return 0;if(1!=n.pos-t.end||32!==b.text.charCodeAt(t.end))return v(t.end,n.pos-t.end," "),i?2:0;break;case 64:!function(e,t){t&&f.push(jQ(e,0,t))}(t.end,";")}return 0}(e,a,i,t,r),s)switch(u){case 2:n.getStart(b)===t.pos&&s.recomputeIndentation(!1,o);break;case 1:n.getStart(b)===t.pos&&s.recomputeIndentation(!0,o);break;default:rA.assert(0===u)}c=c&&!(16&e.action)&&1!==e.flags}):c=c&&1!==t.kind,r!==i&&c&&p(i,r,a),u}function I(e,t,r){var n,a=ipe(t,w);r?v(e,0,a):t===function(e,t){for(var r=0,n=0;n<t;n++)9===b.text.charCodeAt(e+n)?r+=w.tabSize-r%w.tabSize:r++;return r}(r=Hu((n=b.getLineAndCharacterOfPosition(e)).line,b),n.character)&&(t=r,(e=a)===b.text.substr(t,e.length))||v(r,n.character,a)}function p(e,t,r){for(var n=e;n<t;n++){var a,i=Hu(n,b),o=Gu(n,b);r&&(bQ(r.kind)||kQ(r.kind))&&r.pos<=o&&r.end>o||-1!==(a=function(e,t){var r=t;for(;e<=r&&ji(b.text.charCodeAt(r));)r--;return r===t?-1:r+1}(i,o))&&(rA.assert(a===i||!ji(b.text.charCodeAt(a-1))),y(a,o+1-a))}}function u(e,t,r){p(b.getLineAndCharacterOfPosition(e).line,b.getLineAndCharacterOfPosition(t).line+1,r)}function y(e,t){t&&f.push(jQ(e,t,""))}function v(e,t,r){(t||r)&&f.push(jQ(e,t,r))}}function rpe(t,r,e,n){void 0===n&&(n=QX(t,r));var a=FA(n,kh);if(a&&(n=a.parent),!(n.getStart(t)<=r&&r<n.getEnd())){n=fD((e=null===e?void 0:void 0===e?tQ(r,t):e)&&eo(t.text,e.end),W_(n,t));return n&&QN(n,function(e){return CX(e,r)||r===e.end&&(2===e.kind||r===t.getFullWidth())})}}function npe(e,t){switch(e.kind){case 176:case 262:case 218:case 174:case 173:case 219:case 179:case 180:case 184:case 185:case 177:case 178:if(e.typeParameters===t)return 30;if(e.parameters===t)return 21;break;case 213:case 214:if(e.typeArguments===t)return 30;if(e.arguments===t)return 21;break;case 263:case 231:case 264:case 265:if(e.typeParameters===t)return 30;break;case 183:case 215:case 186:case 233:case 205:if(e.typeArguments===t)return 30;break;case 187:return 19}return 0}function ape(e){switch(e){case 21:return 22;case 30:return 32;case 19:return 20}return 0}function ipe(e,t){if((!jfe||jfe.tabSize!==t.tabSize||jfe.indentSize!==t.indentSize)&&(jfe={tabSize:t.tabSize,indentSize:t.indentSize},Bfe=Jfe=void 0),t.convertTabsToSpaces){var r=void 0,n=Math.floor(e/t.indentSize),a=e%t.indentSize;return void 0===(Jfe=Jfe||[])[n]?(r=HQ(" ",t.indentSize*n),Jfe[n]=r):r=Jfe[n],a?r+HQ(" ",a):r}r=Math.floor(e/t.tabSize),e-=r*t.tabSize,t=void 0;return void 0===(Bfe=Bfe||[])[r]?Bfe[r]=t=HQ("\t",r):t=Bfe[r],e?t+HQ(" ",e):t}var ope,spe=e({"src/services/formatting/formatting.ts":function(){fpe(),dpe()}}),cpe=e({"src/services/formatting/smartIndenter.ts":function(){function v(e){return e.baseIndentSize||0}function _(e,t,r,n,a,i,o){for(var s,c,u,_=e.parent;_;){var l,d=!0;r&&(d=(l=e.getStart(a))<r.pos||l>r.end);var f=function(e,t,r){t=b(t,r),e=t?t.pos:e.getStart(r);return r.getLineAndCharacterOfPosition(e)}(_,e,a),p=f.line===t.line||x(_,e,t.line,a);if(d){var m=null==(u=b(e,a))?void 0:u[0],y=k(e,a,o,!!m&&g(m,a).line>f.line);if(-1!==y)return y+n;if(s=_,c=t,l=p,d=a,u=o,-1!==(y=!GE(m=e)&&!Tc(m)||312!==s.kind&&l?-1:T(c,d,u)))return y+n}S(o,_,e,a,i)&&!p&&(n+=o.indentSize);p=h(_,e,t.line,a),_=(e=_).parent;t=p?a.getLineAndCharacterOfPosition(e.getStart(a)):f}return n+v(o)}function g(e,t){return t.getLineAndCharacterOfPosition(e.getStart(t))}function h(e,t,r,n){return!(!oj(e)||!eD(e.arguments,t))&&gA(n,e.expression.getEnd()).line===r}function x(e,t,r,n){if(245!==e.kind||e.elseStatement!==t)return!1;e=MX(e,93,n);return rA.assert(void 0!==e),g(e,n).line===r}function b(e,t){return e.parent&&l(e.getStart(t),e.getEnd(),e.parent,t)}function l(t,r,n,a){switch(n.kind){case 183:return e(n.typeArguments);case 210:return e(n.properties);case 209:return e(n.elements);case 187:return e(n.members);case 262:case 218:case 219:case 174:case 173:case 179:case 176:case 185:case 180:return e(n.typeParameters)||e(n.parameters);case 177:return e(n.parameters);case 263:case 231:case 264:case 265:case 352:return e(n.typeParameters);case 214:case 213:return e(n.typeArguments)||e(n.arguments);case 261:return e(n.declarations);case 275:case 279:return e(n.elements);case 206:case 207:return e(n.elements)}function e(e){return e&&DX(function(e,t,r){for(var n=e.getChildren(r),a=1;a<n.length-1;a++)if(n[a].pos===t.pos&&n[a].end===t.end)return{pos:n[a-1].end,end:n[a+1].getStart(r)};return t}(n,e,a),t,r)?e:void 0}}function d(e,t,r){return e?T(t.getLineAndCharacterOfPosition(e.pos),t,r):-1}function k(e,t,r,n){if(e.parent&&261===e.parent.kind)return-1;var a=b(e,t);if(a){e=a.indexOf(e);if(-1!==e){e=f(a,e,t,r);if(-1!==e)return e}return d(a,t,r)+(n?r.indentSize:0)}return-1}function f(e,t,r,n){rA.assert(0<=t&&t<e.length);for(var a=g(e[t],r),i=t-1;0<=i;i--)if(28!==e[i].kind){if(r.getLineAndCharacterOfPosition(e[i].end).line!==a.line)return T(a,r,n);a=g(e[i],r)}return-1}function T(e,t,r){var n=t.getPositionOfLineAndCharacter(e.line,0);return m(n,n+e.character,t,r)}function p(e,t,r,n){for(var a=0,i=0,o=e;o<t;o++){var s=r.text.charCodeAt(o);if(!ji(s))break;9===s?i+=n.tabSize+i%n.tabSize:i++,a++}return{column:i,character:a}}function m(e,t,r,n){return p(e,t,r,n).column}function i(e,t,r,n,a){var i,o=r?r.kind:0;switch(t.kind){case 244:case 263:case 231:case 264:case 266:case 265:case 209:case 241:case 268:case 210:case 187:case 200:case 189:case 217:case 211:case 213:case 214:case 243:case 277:case 253:case 227:case 207:case 206:case 286:case 289:case 285:case 294:case 173:case 179:case 180:case 169:case 184:case 185:case 196:case 215:case 223:case 279:case 275:case 281:case 276:case 172:case 296:case 297:return!0;case 269:return null===(i=e.indentSwitchCase)||void 0===i||i;case 260:case 303:case 226:if(!e.indentMultiLineObjectLiteralBeginningOnBlankLine&&n&&210===o)return s(n,r);if(226===t.kind&&n&&r&&284===o)return n.getLineAndCharacterOfPosition(xA(n.text,t.pos)).line!==n.getLineAndCharacterOfPosition(xA(n.text,r.pos)).line;if(226!==t.kind)return!0;break;case 246:case 247:case 249:case 250:case 248:case 245:case 262:case 218:case 174:case 176:case 177:case 178:return 241!==o;case 219:return n&&217===o?s(n,r):241!==o;case 278:return 279!==o;case 272:return 273!==o||!!r.namedBindings&&275!==r.namedBindings.kind;case 284:return 287!==o;case 288:return 290!==o;case 193:case 192:if(187===o||189===o)return!1}return a}function S(e,t,r,n,a){return void 0===a&&(a=!1),i(e,t,r,n,!1)&&!(a&&r&&function(e,t){switch(e){case 253:case 257:case 251:case 252:return 241!==t.kind;default:return}}(r.kind,t))}function s(e,t){var r=xA(e.text,t.pos);return e.getLineAndCharacterOfPosition(r).line===e.getLineAndCharacterOfPosition(t.end).line}var e,t;fpe(),dpe(),e=ope=ope||{},(t={})[t.Unknown=-1]="Unknown",e.getIndentation=function(e,t,r,n){if(void 0===n&&(n=!1),e>t.text.length)return v(r);if(0===r.indentStyle)return 0;var a,i=tQ(e,t,void 0,!0);if((a=rpe(t,e,i||null))&&3===a.kind)return function(e,t,r,n){var a=gA(e,t).line-1,n=gA(e,n.pos).line;if(rA.assert(0<=n),a<=n)return m(Hu(n,e),t,e,r);a=Hu(a,e),t=p(a,t,e,r),r=t.column,t=t.character;return 0!==r&&42===e.text.charCodeAt(a+t)?r-1:r}(t,e,r,a);if(!i)return v(r);if(kQ(i.kind)&&i.getStart(t)<=e&&e<i.end)return 0;var o=t.getLineAndCharacterOfPosition(e).line,s=QX(t,e),c=19===s.kind&&210===s.parent.kind;if(1===r.indentStyle||c)return function(e,t,r){var n=t;for(;0<n;){if(!Ri(e.text.charCodeAt(n)))break;n--}return m(kX(n,e),n,e,r)}(t,e,r);if(28===i.kind&&226!==i.parent.kind){var u=function(e,t,r){e=OX(e);return e&&0<e.listItemIndex?f(e.list.getChildren(),e.listItemIndex-1,t,r):-1}(i,t,r);if(-1!==u)return u}return a=e,c=i.parent,u=t,!(u=c&&l(a,a,c,u))||TX(u,i)?function(e,t,r,n,a,i){var o,s=r;for(;s;){if(PX(s,t,e)&&S(i,s,o,e,!0)){var c=g(s,e),u=function(e,t,r,n){t=eQ(e,t,n);if(!t)return 0;{if(19===t.kind)return 1;if(20===t.kind){n=g(t,n).line;return r===n?2:0}}return 0}(r,s,n,e),u=0!==u?a&&2===u?i.indentSize:0:n!==c.line?i.indentSize:0;return _(s,c,void 0,u,e,!0,i)}u=k(s,e,i,!0);if(-1!==u)return u;s=(o=s).parent}return v(i)}(t,e,i,o,n,r):(s=-1!==[218,219].indexOf(s.parent.kind)?0:r.indentSize,d(u,t,r)+s)},e.getIndentationForNode=function(e,t,r,n){var a=r.getLineAndCharacterOfPosition(e.getStart(r));return _(e,a,t,0,r,!1,n)},e.getBaseIndentation=v,(t={})[t.Unknown=0]="Unknown",t[t.OpenBrace=1]="OpenBrace",t[t.CloseBrace=2]="CloseBrace",e.isArgumentAndStartLineOverlapsExpressionBeingCalled=h,e.childStartsOnTheSameLineWithElseInIfStatement=x,e.childIsUnindentedBranchOfConditionalExpression=function(e,t,r,n){if(!Pg(e)||t!==e.whenTrue&&t!==e.whenFalse)return!1;var a=gA(n,e.condition.end).line;return t===e.whenTrue?r===a:(t=g(e.whenTrue,n).line,e=gA(n,e.whenTrue.end).line,a===t&&e===r)},e.argumentStartsOnSameLineAsPreviousArgument=function(e,t,r,n){if(ME(e)){if(!e.arguments)return!1;var a=QN(e.arguments,function(e){return e.pos===t.pos});if(!a)return!1;a=e.arguments.indexOf(a);if(0===a)return!1;if(r===gA(n,e.arguments[a-1].getEnd()).line)return!0}return!1},e.getContainingList=b,e.findFirstNonWhitespaceCharacterAndColumn=p,e.findFirstNonWhitespaceColumn=m,e.nodeWillIndentChild=i,e.shouldIndentChildNode=S}}),upe={};t(upe,{FormattingContext:function(){return cde},FormattingRequestKind:function(){return sde},RuleAction:function(){return mde},RuleFlags:function(){return yde},SmartIndenter:function(){return ope},anyContext:function(){return pde},createTextRangeWithKind:function(){return Ufe},formatDocument:function(){return Kfe},formatNodeGivenIndentation:function(){return Zfe},formatOnClosingCurly:function(){return Hfe},formatOnEnter:function(){return Vfe},formatOnOpeningCurly:function(){return Wfe},formatOnSemicolon:function(){return qfe},formatSelection:function(){return Gfe},getAllRules:function(){return hde},getFormatContext:function(){return Mfe},getFormattingScanner:function(){return fde},getIndentationString:function(){return ipe},getRangeOfEnclosingComment:function(){return rpe}});var _pe,lpe,dpe=e({"src/services/_namespaces/ts.formatting.ts":function(){dde(),vde(),gde(),Lfe(),zfe(),spe(),cpe()}}),fpe=e({"src/services/_namespaces/ts.ts":function(){MK(),IG(),qG(),v$(),N$(),R$(),j$(),q$(),Z$(),x0(),T0(),D0(),U0(),H0(),N8(),j8(),q8(),G8(),m7(),k7(),Hoe(),Fce(),yue(),Lue(),que(),o_e(),_1(),X1(),I_e(),V_e(),j4(),$_e(),ple(),kle(),jle(),lde(),dpe()}});function ppe(e,t,r,n,a){var i=t?"DeprecationError: ":"DeprecationWarning: ";return i+="'".concat(e,"' "),i+=n?"has been deprecated since v".concat(n):"is deprecated",i+=t?" and can no longer be used.":r?" and will no longer be usable after v".concat(r,"."):".",i+=a?" ".concat(pp(a,[e],0)):""}function mpe(e,t){void 0===t&&(t={});var r,n,a,i,o,s,c,u="string"==typeof t.typeScriptVersion?new _r(t.typeScriptVersion):null!==(p=t.typeScriptVersion)&&void 0!==p?p:null!=lpe?lpe:lpe=new _r(oe),_="string"==typeof t.errorAfter?new _r(t.errorAfter):t.errorAfter,l="string"==typeof t.warnAfter?new _r(t.warnAfter):t.warnAfter,d="string"==typeof t.since?new _r(t.since):null!==(s=t.since)&&void 0!==s?s:l,f=t.error||_&&0<=u.compareTo(_),p=!l||0<=u.compareTo(l);return f?(s=e,u=_,l=d,f=t.message,c=ppe(s,!0,u,l,f),function(){throw new TypeError(c)}):p?(r=e,n=_,a=d,i=t.message,o=!1,function(){_pe&&!o&&(rA.log.warn(ppe(r,!1,n,a,i)),o=!0)}):fi}function ype(e,t){var r,n,a,t=mpe(null!==(r=null==t?void 0:t.name)&&void 0!==r?r:rA.getFunctionName(e),t);return n=t,a=e,function(){return n(),a.apply(this,arguments)}}var vpe=e({"src/deprecatedCompat/deprecate.ts":function(){kpe(),_pe=!0}});function gpe(e,n,t,r){var a,i;if(Object.defineProperty(d,"name",__assign(__assign({},Object.getOwnPropertyDescriptor(d,"name")),{value:e})),r)try{for(var o=__values(Object.keys(r)),s=o.next();!s.done;s=o.next()){var c=+s.value;!isNaN(c)&&ma(n,"".concat(c))&&(n[c]=ype(n[c],__assign(__assign({},r[c]),{name:e})))}}catch(e){a={error:e}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(a)throw a.error}}var u,_,l=(u=n,_=t,function(e){for(var t=0;ma(u,"".concat(t))&&ma(_,"".concat(t));t++)if((0,_[t])(e))return t});return d;function d(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=l(e),r=void 0!==r?n[r]:void 0;if("function"==typeof r)return r.apply(void 0,__spreadArray([],__read(e),!1));throw new TypeError("Invalid arguments")}}function hpe(n){return{overload:function(r){return{bind:function(t){return{finish:function(){return gpe(n,r,t)},deprecate:function(e){return{finish:function(){return gpe(n,r,t,e)}}}}}}}}}var xpe=e({"src/deprecatedCompat/deprecations.ts":function(){kpe(),vpe()}}),bpe=e({"src/deprecatedCompat/5.0/identifierProperties.ts":function(){kpe(),vpe(),dp(function(e){e=e.getIdentifierConstructor();ma(e.prototype,"originalKeywordKind")||Object.defineProperty(e.prototype,"originalKeywordKind",{get:ype(function(){return MA(this)},{name:"originalKeywordKind",since:"5.0",warnAfter:"5.1",errorAfter:"5.2",message:"Use 'identifierToKeywordKind(identifier)' instead."})}),ma(e.prototype,"isInJSDocNamespace")||Object.defineProperty(e.prototype,"isInJSDocNamespace",{get:ype(function(){return!!(4096&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."})})})}}),kpe=e({"src/deprecatedCompat/_namespaces/ts.ts":function(){MK(),xpe(),bpe()}}),Tpe={};t(Tpe,{ANONYMOUS:function(){return UG},AccessFlags:function(){return Jr},AssertionLevel:function(){return l},AssignmentDeclarationKind:function(){return Qr},AssignmentKind:function(){return Uc},Associativity:function(){return qc},BreakpointResolver:function(){return K8},BuilderFileEmit:function(){return bq},BuilderProgramKind:function(){return kq},BuilderState:function(){return vq},BundleFileSectionKind:function(){return wn},CallHierarchy:function(){return p7},CharacterCodes:function(){return ln},CheckFlags:function(){return Ir},CheckMode:function(){return CC},ClassificationType:function(){return FG},ClassificationTypeNames:function(){return EG},CommentDirectiveType:function(){return pr},Comparison:function(){return r},CompletionInfoFlags:function(){return TG},CompletionTriggerKind:function(){return yG},Completions:function(){return Dce},ConfigFileProgramReloadLevel:function(){return GU},ContainerFlags:function(){return Bw},ContextFlags:function(){return Tr},CoreServicesShimHostAdapter:function(){return P8},Debug:function(){return rA},DiagnosticCategory:function(){return Yr},Diagnostics:function(){return mA},DocumentHighlights:function(){return M$},ElementFlags:function(){return Br},EmitFlags:function(){return mn},EmitHint:function(){return gn},EmitOnly:function(){return gr},EndOfLineState:function(){return CG},EnumKind:function(){return Pr},ExitStatus:function(){return xr},ExportKind:function(){return y$},Extension:function(){return dn},ExternalEmitHelpers:function(){return vn},FileIncludeKind:function(){return yr},FilePreprocessingDiagnosticsKind:function(){return vr},FileSystemEntryKind:function(){return Jn},FileWatcherEventKind:function(){return Pn},FindAllReferences:function(){return pue},FlattenLevel:function(){return MN},FlowFlags:function(){return fr},ForegroundColorEscapeSequences:function(){return uV},FunctionFlags:function(){return Vc},GeneratedIdentifierFlags:function(){return Sn},GetLiteralTextFlags:function(){return Lc},GoToDefinition:function(){return Pue},HighlightSpanKind:function(){return gG},IdentifierNameMap:function(){return sN},IdentifierNameMultiMap:function(){return cN},ImportKind:function(){return m$},ImportsNotUsedAsValues:function(){return an},IndentStyle:function(){return hG},IndexFlags:function(){return zr},IndexKind:function(){return Wr},InferenceFlags:function(){return Gr},InferencePriority:function(){return Kr},InlayHintKind:function(){return vG},InlayHints:function(){return Bue},InternalEmitFlags:function(){return yn},InternalSymbolName:function(){return Or},InvalidatedProjectKind:function(){return yH},JsDoc:function(){return a_e},JsTyping:function(){return HK},JsxEmit:function(){return nn},JsxFlags:function(){return $t},JsxReferenceKind:function(){return Ur},LanguageServiceMode:function(){return dG},LanguageServiceShimHostAdapter:function(){return F8},LanguageVariant:function(){return un},LexicalEnvironmentFlags:function(){return xn},ListFormat:function(){return Cn},LogLevel:function(){return He},MemberOverrideStatus:function(){return br},ModifierFlags:function(){return Zt},ModuleDetectionKind:function(){return $r},ModuleInstanceState:function(){return jw},ModuleKind:function(){return oA},ModuleResolutionKind:function(){return Zr},ModuleSpecifierEnding:function(){return Cu},NavigateTo:function(){return $0},NavigationBar:function(){return K1},NewLineKind:function(){return on},NodeBuilderFlags:function(){return Sr},NodeCheckFlags:function(){return Lr},NodeFactoryFlags:function(){return Zm},NodeFlags:function(){return Yt},NodeResolutionFeatures:function(){return YT},ObjectFlags:function(){return Rr},OperationCanceledException:function(){return mr},OperatorPrecedence:function(){return Wc},OrganizeImports:function(){return F_e},OrganizeImportsMode:function(){return mG},OuterExpressionKinds:function(){return hn},OutliningElementsCollector:function(){return U_e},OutliningSpanKind:function(){return SG},OutputFileType:function(){return wG},PackageJsonAutoImportPreference:function(){return lG},PackageJsonDependencyGroup:function(){return _G},PatternMatchKind:function(){return Y$},PollingInterval:function(){return In},PollingWatchKind:function(){return rn},PragmaKindFlags:function(){return Nn},PrivateIdentifierKind:function(){return rv},ProcessLevel:function(){return qJ},QuotePreference:function(){return BG},RelationComparisonResult:function(){return lr},Rename:function(){return Q_e},ScriptElementKind:function(){return DG},ScriptElementKindModifier:function(){return AG},ScriptKind:function(){return sn},ScriptSnapshot:function(){return uG},ScriptTarget:function(){return cn},SemanticClassificationFormat:function(){return pG},SemanticMeaning:function(){return MG},SemicolonPreference:function(){return xG},SignatureCheckMode:function(){return NC},SignatureFlags:function(){return qr},SignatureHelp:function(){return dle},SignatureKind:function(){return Vr},SmartSelectionRange:function(){return xle},SnippetKind:function(){return pn},SortKind:function(){return c},StructureIsReused:function(){return hr},SymbolAccessibility:function(){return Nr},SymbolDisplay:function(){return Ele},SymbolDisplayPartKind:function(){return kG},SymbolFlags:function(){return Fr},SymbolFormatFlags:function(){return Cr},SyntaxKind:function(){return Qt},SyntheticSymbolKind:function(){return Dr},Ternary:function(){return Xr},ThrottledCancellationToken:function(){return n8},TokenClass:function(){return NG},TokenFlags:function(){return dr},TransformFlags:function(){return fn},TypeFacts:function(){return wC},TypeFlags:function(){return Mr},TypeFormatFlags:function(){return wr},TypeMapKind:function(){return Hr},TypePredicateKind:function(){return Ar},TypeReferenceSerializationKind:function(){return Er},TypeScriptServicesFactory:function(){return R8},UnionReduction:function(){return kr},UpToDateStatusType:function(){return lH},VarianceFlags:function(){return jr},Version:function(){return _r},VersionRange:function(){return tt},WatchDirectoryFlags:function(){return _n},WatchDirectoryKind:function(){return tn},WatchFileKind:function(){return en},WatchLogLevel:function(){return XU},WatchType:function(){return CW},accessPrivateIdentifier:function(){return LN},addDisposableResourceHelper:function(){return Fv},addEmitFlags:function(){return Cy},addEmitHelper:function(){return Vy},addEmitHelpers:function(){return qy},addInternalEmitFlags:function(){return Dy},addNodeFactoryPatcher:function(){return iy},addObjectAllocatorPatcher:function(){return dp},addRange:function(){return gD},addRelatedInfo:function(){return SM},addSyntheticLeadingComment:function(){return pR},addSyntheticTrailingComment:function(){return By},addToSeen:function(){return Zf},advancedAsyncSuperHelper:function(){return Lv},affectsDeclarationPathOptionDeclarations:function(){return tk},affectsEmitOptionDeclarations:function(){return ek},allKeysStartWithDot:function(){return mw},altDirectorySeparator:function(){return ua},and:function(){return YD},append:function(){return vD},appendIfUnique:function(){return xD},arrayFrom:function(){return PD},arrayIsEqualTo:function(){return nr},arrayIsHomogeneous:function(){return LM},arrayIsSorted:function(){return F},arrayOf:function(){return FD},arrayReverseIterator:function(){return R},arrayToMap:function(){return ie},arrayToMultiMap:function(){return ID},arrayToNumericMap:function(){return K},arraysEqual:function(){return tD},assertType:function(){return je},assign:function(){return W},assignHelper:function(){return cv},asyncDelegator:function(){return lv},asyncGeneratorHelper:function(){return _v},asyncSuperHelper:function(){return Ov},asyncValues:function(){return dv},attachFileToDiagnostics:function(){return hp},awaitHelper:function(){return uv},awaiterHelper:function(){return pv},base64decode:function(){return ff},base64encode:function(){return df},binarySearch:function(){return AD},binarySearchKey:function(){return B},bindSourceFile:function(){return eJ},breakIntoCharacterSpans:function(){return f0},breakIntoWordSpans:function(){return p0},buildLinkParts:function(){return JY},buildOpts:function(){return sk},buildOverload:function(){return hpe},bundlerModuleNameResolver:function(){return qS},canBeConvertedToAsync:function(){return B0},canHaveDecorators:function(){return qB},canHaveExportModifier:function(){return GM},canHaveFlowNode:function(){return WI},canHaveIllegalDecorators:function(){return BB},canHaveIllegalModifiers:function(){return JB},canHaveIllegalType:function(){return Tx},canHaveIllegalTypeParameters:function(){return Sx},canHaveJSDoc:function(){return HI},canHaveLocals:function(){return KE},canHaveModifiers:function(){return VB},canHaveSymbol:function(){return HE},canJsonReportNoInputFiles:function(){return TT},canProduceDiagnostics:function(){return Kz},canUsePropertyAccess:function(){return QM},canWatchAffectingLocation:function(){return pW},canWatchAtTypes:function(){return lW},canWatchDirectoryOrFile:function(){return _W},cartesianProduct:function(){return tA},cast:function(){return JD},chainBundle:function(){return dN},chainDiagnosticMessages:function(){return $L},changeAnyExtension:function(){return qa},changeCompilerHostLikeToUseCache:function(){return EV},changeExtension:function(){return ym},changesAffectModuleResolution:function(){return Fu},changesAffectingProgramStructure:function(){return Iu},childIsDecorated:function(){return ol},classElementOrClassElementParameterIsDecorated:function(){return YP},classHasClassThisAssignment:function(){return PJ},classHasDeclaredOrExplicitlyAssignedName:function(){return JJ},classHasExplicitlyAssignedName:function(){return BJ},classOrConstructorParameterIsDecorated:function(){return QP},classPrivateFieldGetHelper:function(){return Dv},classPrivateFieldInHelper:function(){return Ev},classPrivateFieldSetHelper:function(){return Av},classicNameResolver:function(){return Pw},classifier:function(){return g7},cleanExtendedConfigCache:function(){return eV},clear:function(){return aD},clearMap:function(){return Wf},clearSharedExtendedConfigFileWatcher:function(){return $U},climbPastPropertyAccess:function(){return aX},climbPastPropertyOrElementAccess:function(){return iX},clone:function(){return kn},cloneCompilerOptions:function(){return NQ},closeFileWatcher:function(){return zf},closeFileWatcherOf:function(){return cV},codefix:function(){return Roe},collapseTextChangeRangesAcrossMultipleVersions:function(){return Ao},collectExternalModuleInfo:function(){return yN},combine:function(){return U},combinePaths:function(){return dA},commentPragmas:function(){return Dn},commonOptionsWithBuild:function(){return Gb},commonPackageFolders:function(){return uu},compact:function(){return Me},compareBooleans:function(){return Se},compareDataObjects:function(){return qf},compareDiagnostics:function(){return tM},compareDiagnosticsSkipRelatedInformation:function(){return kp},compareEmitHelpers:function(){return jv},compareNumberOfDirectorySeparators:function(){return fm},comparePaths:function(){return pA},comparePathsCaseInsensitive:function(){return Ka},comparePathsCaseSensitive:function(){return Ha},comparePatternKeys:function(){return vw},compareProperties:function(){return Te},compareStringsCaseInsensitive:function(){return ye},compareStringsCaseInsensitiveEslintCompatible:function(){return ve},compareStringsCaseSensitive:function(){return ge},compareStringsCaseSensitiveUI:function(){return ke},compareTextSpans:function(){return pe},compareValues:function(){return UD},compileOnSaveCommandLineOption:function(){return Ub},compilerOptionsAffectDeclarationPath:function(){return Jp},compilerOptionsAffectEmit:function(){return Bp},compilerOptionsAffectSemanticDiagnostics:function(){return jp},compilerOptionsDidYouMeanDiagnostics:function(){return lk},compilerOptionsIndicateEsModules:function(){return YQ},compose:function(){return de},computeCommonSourceDirectoryOfFilenames:function(){return wV},computeLineAndCharacterOfPosition:function(){return Oi},computeLineOfPosition:function(){return Li},computeLineStarts:function(){return Ei},computePositionOfLineAndCharacter:function(){return Pi},computeSignature:function(){return Gq},computeSignatureWithDiagnostics:function(){return Kq},computeSuggestionDiagnostics:function(){return A0},concatenate:function(){return fD},concatenateDiagnosticMessageChains:function(){return eM},consumesNodeCoreModules:function(){return UZ},contains:function(){return eD},containsIgnoredPath:function(){return Om},containsObjectRestOrSpread:function(){return Kx},containsParseError:function(){return wF},containsPath:function(){return Ga},convertCompilerOptionsForTelemetry:function(){return KT},convertCompilerOptionsFromJson:function(){return DT},convertJsonOption:function(){return MT},convertToBase64:function(){return lf},convertToJson:function(){return aT},convertToObject:function(){return nT},convertToOptionsWithAbsolutePaths:function(){return pT},convertToRelativePath:function(){return Za},convertToTSConfig:function(){return oT},convertTypeAcquisitionFromJson:function(){return AT},copyComments:function(){return cZ},copyEntries:function(){return bF},copyLeadingComments:function(){return fZ},copyProperties:function(){return Z},copyTrailingAsLeadingComments:function(){return mZ},copyTrailingComments:function(){return pZ},couldStartTrivia:function(){return Ui},countWhere:function(){return rD},createAbstractBuilder:function(){return oW},createAccessorPropertyBackingField:function(){return zx},createAccessorPropertyGetRedirector:function(){return Ux},createAccessorPropertySetRedirector:function(){return Vx},createBaseNodeFactory:function(){return qm},createBinaryExpressionTrampoline:function(){return zB},createBindingHelper:function(){return Tv},createBuildInfo:function(){return JU},createBuilderProgram:function(){return Xq},createBuilderProgramUsingProgramBuildInfo:function(){return eW},createBuilderStatusReporter:function(){return kH},createCacheWithRedirects:function(){return wS},createCacheableExportInfoMap:function(){return g$},createCachedDirectoryStructureHost:function(){return YU},createClassNamedEvaluationHelperBlock:function(){return RJ},createClassThisAssignmentBlock:function(){return EJ},createClassifier:function(){return D$},createCommentDirectivesMap:function(){return s_},createCompilerDiagnostic:function(){return ZL},createCompilerDiagnosticForInvalidCustomType:function(){return Pk},createCompilerDiagnosticFromMessageChain:function(){return xp},createCompilerHost:function(){return CV},createCompilerHostFromProgramHost:function(){return QW},createCompilerHostWorker:function(){return AV},createDetachedDiagnostic:function(){return gp},createDiagnosticCollection:function(){return JO},createDiagnosticForFileFromMessageChain:function(){return iP},createDiagnosticForNode:function(){return tP},createDiagnosticForNodeArray:function(){return rP},createDiagnosticForNodeArrayFromMessageChain:function(){return aP},createDiagnosticForNodeFromMessageChain:function(){return nP},createDiagnosticForNodeInSourceFile:function(){return F_},createDiagnosticForRange:function(){return O_},createDiagnosticMessageChainFromDiagnostic:function(){return oP},createDiagnosticReporter:function(){return DW},createDocumentPositionMapper:function(){return oN},createDocumentRegistry:function(){return J$},createDocumentRegistryInternal:function(){return z$},createEmitAndSemanticDiagnosticsBuilderProgram:function(){return iW},createEmitHelperFactory:function(){return Rv},createEmptyExports:function(){return PB},createExpressionForJsxElement:function(){return Wh},createExpressionForJsxFragment:function(){return Hh},createExpressionForObjectLiteralElementLike:function(){return Yh},createExpressionForPropertyName:function(){return Qh},createExpressionFromEntityName:function(){return Xh},createExternalHelpersImportDeclarationIfNeeded:function(){return _x},createFileDiagnostic:function(){return QL},createFileDiagnosticFromMessageChain:function(){return I_},createForOfBindingStatement:function(){return Kh},createGetCanonicalFileName:function(){return KD},createGetSourceFile:function(){return NV},createGetSymbolAccessibilityDiagnosticForNode:function(){return Xz},createGetSymbolAccessibilityDiagnosticForNodeName:function(){return Gz},createGetSymbolWalker:function(){return tJ},createIncrementalCompilerHost:function(){return sH},createIncrementalProgram:function(){return cH},createInputFiles:function(){return gy},createInputFilesWithFilePaths:function(){return hy},createInputFilesWithFileTexts:function(){return xy},createJsxFactoryExpression:function(){return qh},createLanguageService:function(){return k8},createLanguageServiceSourceFile:function(){return x8},createMemberAccessForPropertyName:function(){return zh},createModeAwareCache:function(){return AS},createModeAwareCacheKey:function(){return YB},createModuleNotFoundChain:function(){return SF},createModuleResolutionCache:function(){return LS},createModuleResolutionLoader:function(){return HV},createModuleSpecifierResolutionHost:function(){return ZQ},createMultiMap:function(){return MD},createNodeConverters:function(){return Qm},createNodeFactory:function(){return oy},createOptionNameMap:function(){return Ek},createOverload:function(){return gpe},createPackageJsonImportFilter:function(){return zZ},createPackageJsonInfo:function(){return JZ},createParenthesizerRules:function(){return Km},createPatternMatcher:function(){return e0},createPrependNodes:function(){return dq},createPrinter:function(){return qU},createPrinterWithDefaults:function(){return yU},createPrinterWithRemoveComments:function(){return vU},createPrinterWithRemoveCommentsNeverAsciiEscape:function(){return gU},createPrinterWithRemoveCommentsOmitTrailingSemicolon:function(){return hU},createProgram:function(){return cq},createProgramHost:function(){return $W},createPropertyNameNodeForIdentifierOrLiteral:function(){return WM},createQueue:function(){return te},createRange:function(){return gf},createRedirectedBuilderProgram:function(){return rW},createResolutionCache:function(){return bW},createRuntimeTypeSerializer:function(){return rz},createScanner:function(){return ao},createSemanticDiagnosticsBuilderProgram:function(){return aW},createSet:function(){return re},createSolutionBuilder:function(){return CH},createSolutionBuilderHost:function(){return SH},createSolutionBuilderWithWatch:function(){return NH},createSolutionBuilderWithWatchHost:function(){return wH},createSortedArray:function(){return A},createSourceFile:function(){return Ib},createSourceMapGenerator:function(){return WC},createSourceMapSource:function(){return by},createSuperAccessVariableStatement:function(){return uz},createSymbolTable:function(){return vF},createSymlinkCache:function(){return Vp},createSystemWatchFunctions:function(){return ia},createTextChange:function(){return BQ},createTextChangeFromStartLength:function(){return jQ},createTextChangeRange:function(){return Do},createTextRangeFromNode:function(){return LQ},createTextRangeFromSpan:function(){return RQ},createTextSpan:function(){return So},createTextSpanFromBounds:function(){return wo},createTextSpanFromNode:function(){return IQ},createTextSpanFromRange:function(){return MQ},createTextSpanFromStringLiteralLikeContent:function(){return OQ},createTextWriter:function(){return WO},createTokenRange:function(){return Sf},createTypeChecker:function(){return AC},createTypeReferenceDirectiveResolutionCache:function(){return MS},createTypeReferenceResolutionLoader:function(){return GV},createUnparsedSourceFile:function(){return vy},createWatchCompilerHost:function(){return uH},createWatchCompilerHostOfConfigFile:function(){return rH},createWatchCompilerHostOfFilesAndCompilerOptions:function(){return nH},createWatchFactory:function(){return XW},createWatchHost:function(){return GW},createWatchProgram:function(){return _H},createWatchStatusReporter:function(){return FW},createWriteFileMeasuringIO:function(){return DV},declarationNameToString:function(){return QF},decodeMappings:function(){return YC},decodedTextSpanIntersectsWith:function(){return bo},decorateHelper:function(){return nv},deduplicate:function(){return mD},defaultIncludeSpec:function(){return Ck},defaultInitCompilerOptions:function(){return _k},defaultMaximumTruncationLength:function(){return dF},detectSortCaseSensitivity:function(){return P},diagnosticCategoryName:function(){return Fn},diagnosticToString:function(){return u$},directoryProbablyExists:function(){return yf},directorySeparator:function(){return ca},displayPart:function(){return CY},displayPartsToString:function(){return y8},disposeEmitNodes:function(){return Sy},disposeResourcesHelper:function(){return Pv},documentSpansEqual:function(){return vY},dumpTracingLegend:function(){return Xt},elementAt:function(){return De},elideNodes:function(){return Mx},emitComments:function(){return Vd},emitDetachedComments:function(){return qd},emitFiles:function(){return BU},emitFilesAndReportErrors:function(){return HW},emitFilesAndReportErrorsAndGetExitStatus:function(){return KW},emitModuleKindIsNonNodeESM:function(){return aM},emitNewLineBeforeLeadingCommentOfPosition:function(){return Ud},emitNewLineBeforeLeadingComments:function(){return Jd},emitNewLineBeforeLeadingCommentsOfPosition:function(){return zd},emitSkippedWithNoDiagnostics:function(){return bV},emitUsingBuildInfo:function(){return VU},emptyArray:function(){return WN},emptyFileSystemEntries:function(){return Du},emptyMap:function(){return li},emptyOptions:function(){return fG},emptySet:function(){return s},endsWith:function(){return qD},ensurePathIsNonModuleName:function(){return Va},ensureScriptKind:function(){return nm},ensureTrailingDirectorySeparator:function(){return Ua},entityNameToString:function(){return eP},enumerateInsertsAndDeletes:function(){return Be},equalOwnProperties:function(){return H},equateStringsCaseInsensitive:function(){return sr},equateStringsCaseSensitive:function(){return cr},equateValues:function(){return zD},esDecorateHelper:function(){return ov},escapeJsxAttributeString:function(){return md},escapeLeadingUnderscores:function(){return IA},escapeNonAsciiString:function(){return fd},escapeSnippetText:function(){return Rm},escapeString:function(){return zO},every:function(){return XN},expandPreOrPostfixIncrementOrDecrementExpression:function(){return Zh},explainFiles:function(){return JW},explainIfFileIsRedirectAndImpliedFormat:function(){return zW},exportAssignmentIsAlias:function(){return fO},exportStarHelper:function(){return Nv},expressionResultIsUnused:function(){return BM},extend:function(){return Y},extendsHelper:function(){return mv},extensionFromPath:function(){return bm},extensionIsTS:function(){return xm},extensionsNotSupportingExtensionlessResolution:function(){return wu},externalHelpersModuleNameText:function(){return lF},factory:function(){return uR},fileExtensionIs:function(){return uA},fileExtensionIsOneOf:function(){return _A},fileIncludeReasonToDiagnostics:function(){return qW},fileShouldUseJavaScriptRequire:function(){return p$},filter:function(){return nD},filterMutate:function(){return x},filterSemanticDiagnostics:function(){return _q},find:function(){return QN},findAncestor:function(){return FA},findBestPatternMatch:function(){return GD},findChildOfKind:function(){return MX},findComputedPropertyNameCacheAssignment:function(){return qx},findConfigFile:function(){return TV},findContainingList:function(){return RX},findDiagnosticForNode:function(){return WZ},findFirstNonJsxWhitespaceToken:function(){return ZX},findIndex:function(){return ZN},findLast:function(){return YN},findLastIndex:function(){return $N},findListItemInfo:function(){return OX},findMap:function(){return v},findModifier:function(){return fY},findNextToken:function(){return eQ},findPackageJson:function(){return jZ},findPackageJsons:function(){return RZ},findPrecedingMatchingToken:function(){return lQ},findPrecedingToken:function(){return tQ},findSuperStatementIndexPath:function(){return kN},findTokenOnLeftOfPosition:function(){return $X},findUseStrictPrologue:function(){return IB},first:function(){return SD},firstDefined:function(){return GN},firstDefinedIterator:function(){return tr},firstIterator:function(){return wD},firstOrOnly:function(){return QZ},firstOrUndefined:function(){return kD},firstOrUndefinedIterator:function(){return TD},fixupCompilerOptions:function(){return W0},flatMap:function(){return cD},flatMapIterator:function(){return w},flatMapToMutable:function(){return S},flatten:function(){return sD},flattenCommaList:function(){return Hx},flattenDestructuringAssignment:function(){return jN},flattenDestructuringBinding:function(){return zN},flattenDiagnosticMessageText:function(){return BV},forEach:function(){return KN},forEachAncestor:function(){return Lu},forEachAncestorDirectory:function(){return ti},forEachChild:function(){return HB},forEachChildRecursively:function(){return KB},forEachEmittedFile:function(){return kU},forEachEnclosingBlockScopeContainer:function(){return XF},forEachEntry:function(){return hF},forEachExternalModuleToImportFrom:function(){return x$},forEachImportClauseDeclaration:function(){return BI},forEachKey:function(){return xF},forEachLeadingCommentRange:function(){return Gi},forEachNameInAccessChainWalkingLeft:function(){return np},forEachPropertyAssignment:function(){return Y_},forEachResolvedProjectReference:function(){return QV},forEachReturnStatement:function(){return gP},forEachRight:function(){return m},forEachTrailingCommentRange:function(){return Xi},forEachTsConfigPropArray:function(){return tl},forEachUnique:function(){return gY},forEachYieldExpression:function(){return hP},forSomeAncestorDirectory:function(){return Xf},formatColorAndReset:function(){return LV},formatDiagnostic:function(){return IV},formatDiagnostics:function(){return PV},formatDiagnosticsWithColorAndContext:function(){return jV},formatGeneratedName:function(){return Jx},formatGeneratedNamePart:function(){return jx},formatLocation:function(){return RV},formatMessage:function(){return YL},formatStringFromArgs:function(){return pp},formatting:function(){return upe},fullTripleSlashAMDReferencePathRegEx:function(){return Bc},fullTripleSlashReferencePathRegEx:function(){return Mc},generateDjb2Hash:function(){return Vn},generateTSConfig:function(){return fT},generatorHelper:function(){return kv},getAdjustedReferenceLocation:function(){return HX},getAdjustedRenameLocation:function(){return KX},getAliasDeclarationFromName:function(){return lO},getAllAccessorDeclarations:function(){return rL},getAllDecoratorsOfClass:function(){return DN},getAllDecoratorsOfClassElement:function(){return AN},getAllJSDocTags:function(){return ZA},getAllJSDocTagsOfKind:function(){return fs},getAllKeys:function(){return z},getAllProjectOutputs:function(){return MU},getAllSuperTypeNodes:function(){return Bl},getAllUnscopedEmitHelpers:function(){return Jv},getAllowJSCompilerOption:function(){return Rp},getAllowSyntheticDefaultImports:function(){return uM},getAncestor:function(){return xO},getAnyExtensionFromPath:function(){return Pa},getAreDeclarationMapsEnabled:function(){return Pp},getAssignedExpandoInitializer:function(){return hI},getAssignedName:function(){return Uo},getAssignedNameOfIdentifier:function(){return LJ},getAssignmentDeclarationKind:function(){return NI},getAssignmentDeclarationPropertyAccessKind:function(){return PI},getAssignmentTargetKind:function(){return eO},getAutomaticTypeDirectiveNames:function(){return TS},getBaseFileName:function(){return Ea},getBinaryOperatorPrecedence:function(){return ud},getBuildInfo:function(){return UU},getBuildInfoFileVersionMap:function(){return tW},getBuildInfoText:function(){return zU},getBuildOrderFromAnyBuildOrder:function(){return bH},getBuilderCreationParameters:function(){return Wq},getBuilderFileEmit:function(){return Sq},getCheckFlags:function(){return BL},getClassExtendsHeritageElement:function(){return vO},getClassLikeDeclarationOfSymbol:function(){return qL},getCombinedLocalAndExportSymbolFlags:function(){return zL},getCombinedModifierFlags:function(){return DA},getCombinedNodeFlags:function(){return AA},getCombinedNodeFlagsAlwaysIncludeJSDoc:function(){return Oo},getCommentRange:function(){return Ly},getCommonSourceDirectory:function(){return OU},getCommonSourceDirectoryOfConfig:function(){return LU},getCompilerOptionValue:function(){return zp},getCompilerOptionsDiffValue:function(){return lT},getConditions:function(){return bS},getConfigFileParsingDiagnostics:function(){return iq},getConstantValue:function(){return zy},getContainerFlags:function(){return Kw},getContainerNode:function(){return hX},getContainingClass:function(){return IP},getContainingClassExcludingClassDecorators:function(){return MP},getContainingClassStaticBlock:function(){return OP},getContainingFunction:function(){return PP},getContainingFunctionDeclaration:function(){return rl},getContainingFunctionOrClassStaticBlock:function(){return LP},getContainingNodeArray:function(){return Lm},getContainingObjectLiteralElement:function(){return S8},getContextualTypeFromParent:function(){return gZ},getContextualTypeFromParentOrAncestorTypeNode:function(){return zX},getCurrentTime:function(){return hH},getDeclarationDiagnostics:function(){return Zz},getDeclarationEmitExtensionForPath:function(){return Cd},getDeclarationEmitOutputFilePath:function(){return Sd},getDeclarationEmitOutputFilePathWorker:function(){return wd},getDeclarationFromName:function(){return Ml},getDeclarationModifierFlagsFromSymbol:function(){return JL},getDeclarationOfKind:function(){return mF},getDeclarationsOfKind:function(){return yF},getDeclaredExpandoInitializer:function(){return gI},getDecorators:function(){return zA},getDefaultCompilerOptions:function(){return v8},getDefaultExportInfoWorker:function(){return w$},getDefaultFormatCodeSettings:function(){return OG},getDefaultLibFileName:function(){return po},getDefaultLibFilePath:function(){return C8},getDefaultLikeExportInfo:function(){return T$},getDiagnosticText:function(){return Wk},getDiagnosticsWithinSpan:function(){return HZ},getDirectoryPath:function(){return lA},getDirectoryToWatchFailedLookupLocation:function(){return mW},getDirectoryToWatchFailedLookupLocationFromTypeRoot:function(){return gW},getDocumentPositionMapper:function(){return w0},getESModuleInterop:function(){return cM},getEditsForFileRename:function(){return W$},getEffectiveBaseTypeNode:function(){return yO},getEffectiveConstraintOfTypeParameter:function(){return tE},getEffectiveContainerForJSDocTemplateTag:function(){return GI},getEffectiveImplementsTypeNodes:function(){return gO},getEffectiveInitializer:function(){return vI},getEffectiveJSDocHost:function(){return QI},getEffectiveModifierFlags:function(){return xL},getEffectiveModifierFlagsAlwaysIncludeJSDoc:function(){return Xd},getEffectiveModifierFlagsNoCache:function(){return Zd},getEffectiveReturnTypeNode:function(){return aL},getEffectiveSetAccessorTypeAnnotationNode:function(){return oL},getEffectiveTypeAnnotationNode:function(){return nL},getEffectiveTypeParameterDeclarations:function(){return eE},getEffectiveTypeRoots:function(){return yS},getElementOrPropertyAccessArgumentExpressionOrName:function(){return hl},getElementOrPropertyAccessName:function(){return FI},getElementsOfBindingOrAssignmentPattern:function(){return bx},getEmitDeclarations:function(){return dM},getEmitFlags:function(){return p_},getEmitHelpers:function(){return Hy},getEmitModuleDetectionKind:function(){return Dp},getEmitModuleKind:function(){return nM},getEmitModuleResolutionKind:function(){return iM},getEmitScriptTarget:function(){return rM},getEmitStandardClassFields:function(){return yM},getEnclosingBlockScopeContainer:function(){return GF},getEnclosingContainer:function(){return KF},getEncodedSemanticClassifications:function(){return F$},getEncodedSyntacticClassifications:function(){return L$},getEndLinePosition:function(){return Gu},getEntityNameFromTypeNode:function(){return KP},getEntrypointsFromPackageJsonInfo:function(){return sw},getErrorCountForSummary:function(){return IW},getErrorSpanForNode:function(){return uP},getErrorSummaryText:function(){return RW},getEscapedTextOfIdentifierOrLiteral:function(){return EO},getEscapedTextOfJsxAttributeName:function(){return nR},getEscapedTextOfJsxNamespacedName:function(){return iR},getExpandoInitializer:function(){return xI},getExportAssignmentExpression:function(){return pO},getExportInfoMap:function(){return k$},getExportNeedsImportStarHelper:function(){return fN},getExpressionAssociativity:function(){return ad},getExpressionPrecedence:function(){return od},getExternalHelpersModuleName:function(){return cx},getExternalModuleImportEqualsDeclarationExpression:function(){return aI},getExternalModuleName:function(){return RI},getExternalModuleNameFromDeclaration:function(){return bd},getExternalModuleNameFromPath:function(){return kd},getExternalModuleNameLiteral:function(){return fx},getExternalModuleRequireArgument:function(){return iI},getFallbackOptions:function(){return sV},getFileEmitOutput:function(){return xq},getFileMatcherPatterns:function(){return em},getFileNamesFromConfigSpecs:function(){return JT},getFileWatcherEventKind:function(){return $n},getFilesInErrorForSummary:function(){return OW},getFirstConstructorWithBody:function(){return XO},getFirstIdentifier:function(){return EL},getFirstNonSpaceCharacterPosition:function(){return ZY},getFirstProjectOutput:function(){return jU},getFixableErrorSpanExpression:function(){return GZ},getFormatCodeSettingsForWriting:function(){return _$},getFullWidth:function(){return Mu},getFunctionFlags:function(){return kO},getHeritageClause:function(){return Jl},getHostSignatureFromJSDoc:function(){return XI},getIdentifierAutoGenerate:function(){return ev},getIdentifierGeneratedImportReference:function(){return vR},getIdentifierTypeArguments:function(){return yR},getImmediatelyInvokedFunctionExpression:function(){return UP},getImpliedNodeFormatForFile:function(){return oq},getImpliedNodeFormatForFileWorker:function(){return sq},getImportNeedsImportDefaultHelper:function(){return mN},getImportNeedsImportStarHelper:function(){return pN},getIndentSize:function(){return vd},getIndentString:function(){return yd},getInferredLibraryNameResolveFrom:function(){return ZV},getInitializedVariables:function(){return jf},getInitializerOfBinaryExpression:function(){return II},getInitializerOfBindingOrAssignmentElement:function(){return mx},getInterfaceBaseTypeNodes:function(){return hO},getInternalEmitFlags:function(){return m_},getInvokedExpression:function(){return GP},getIsolatedModules:function(){return sM},getJSDocAugmentsTag:function(){return Go},getJSDocClassTag:function(){return WA},getJSDocCommentRanges:function(){return H_},getJSDocCommentsAndTags:function(){return Dl},getJSDocDeprecatedTag:function(){return HA},getJSDocDeprecatedTagNoCache:function(){return is},getJSDocEnumTag:function(){return KA},getJSDocHost:function(){return YI},getJSDocImplementsTags:function(){return Xo},getJSDocOverrideTagNoCache:function(){return as},getJSDocParameterTags:function(){return VA},getJSDocParameterTagsNoCache:function(){return qo},getJSDocPrivateTag:function(){return Zo},getJSDocPrivateTagNoCache:function(){return $o},getJSDocProtectedTag:function(){return es},getJSDocProtectedTagNoCache:function(){return ts},getJSDocPublicTag:function(){return Qo},getJSDocPublicTagNoCache:function(){return Yo},getJSDocReadonlyTag:function(){return rs},getJSDocReadonlyTagNoCache:function(){return ns},getJSDocReturnTag:function(){return os},getJSDocReturnType:function(){return us},getJSDocRoot:function(){return ZI},getJSDocSatisfiesExpressionType:function(){return tR},getJSDocSatisfiesTag:function(){return cs},getJSDocTags:function(){return YA},getJSDocTagsNoCache:function(){return ls},getJSDocTemplateTag:function(){return ss},getJSDocThisTag:function(){return GA},getJSDocType:function(){return QA},getJSDocTypeAliasName:function(){return kx},getJSDocTypeAssertionType:function(){return MB},getJSDocTypeParameterDeclarations:function(){return iL},getJSDocTypeParameterTags:function(){return Ho},getJSDocTypeParameterTagsNoCache:function(){return Ko},getJSDocTypeTag:function(){return XA},getJSXImplicitImportBase:function(){return gM},getJSXRuntimeImport:function(){return hM},getJSXTransformEnabled:function(){return vM},getKeyForCompilerOptions:function(){return SS},getLanguageVariant:function(){return Tp},getLastChild:function(){return Yf},getLeadingCommentRanges:function(){return $i},getLeadingCommentRangesOfNode:function(){return W_},getLeftmostAccessExpression:function(){return XL},getLeftmostExpression:function(){return ap},getLineAndCharacterOfPosition:function(){return gA},getLineInfo:function(){return HC},getLineOfLocalPosition:function(){return Ld},getLineOfLocalPositionFromLineMap:function(){return Md},getLineStartPositionForPosition:function(){return kX},getLineStarts:function(){return Ii},getLinesBetweenPositionAndNextNonWhitespaceCharacter:function(){return Mf},getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter:function(){return Lf},getLinesBetweenPositions:function(){return Mi},getLinesBetweenRangeEndAndRangeStart:function(){return Ef},getLinesBetweenRangeEndPositions:function(){return Ff},getLiteralText:function(){return y_},getLocalNameForExternalImport:function(){return dx},getLocalSymbolForExportDefault:function(){return RL},getLocaleSpecificMessage:function(){return vp},getLocaleTimeString:function(){return EW},getMappedContextSpan:function(){return kY},getMappedDocumentSpan:function(){return bY},getMappedLocation:function(){return xY},getMatchedFileSpec:function(){return UW},getMatchedIncludeSpec:function(){return VW},getMeaningFromDeclaration:function(){return WG},getMeaningFromLocation:function(){return HG},getMembersOfDeclaration:function(){return bP},getModeForFileReference:function(){return JV},getModeForResolutionAtIndex:function(){return zV},getModeForUsageLocation:function(){return VV},getModifiedTime:function(){return Wn},getModifiers:function(){return UA},getModuleInstanceState:function(){return $B},getModuleNameStringLiteralAt:function(){return yq},getModuleSpecifierEndingPreference:function(){return _m},getModuleSpecifierResolverHost:function(){return $Q},getNameForExportedSymbol:function(){return ZZ},getNameFromIndexInfo:function(){return YF},getNameFromPropertyName:function(){return GQ},getNameOfAccessExpression:function(){return ep},getNameOfCompilerOptionValue:function(){return cT},getNameOfDeclaration:function(){return JA},getNameOfExpando:function(){return kI},getNameOfJSDocTypedef:function(){return Jo},getNameOrArgument:function(){return gl},getNameTable:function(){return T8},getNamesForExportedSymbol:function(){return YZ},getNamespaceDeclarationNode:function(){return jI},getNewLineCharacter:function(){return vf},getNewLineKind:function(){return c$},getNewLineOrDefaultFromHost:function(){return zY},getNewTargetContainer:function(){return JP},getNextJSDocCommentLocation:function(){return Fl},getNodeForGeneratedName:function(){return Rx},getNodeId:function(){return mJ},getNodeKind:function(){return xX},getNodeModifiers:function(){return hQ},getNodeModulePathParts:function(){return jm},getNonAssignedNameOfDeclaration:function(){return zo},getNonAssignmentOperatorForCompoundAssignment:function(){return xN},getNonAugmentationDeclaration:function(){return VF},getNonDecoratorTokenPosOfNode:function(){return u_},getNormalizedAbsolutePath:function(){return fA},getNormalizedAbsolutePathWithoutRoot:function(){return Ba},getNormalizedPathComponents:function(){return ja},getObjectFlags:function(){return WL},getOperator:function(){return sd},getOperatorAssociativity:function(){return id},getOperatorPrecedence:function(){return cd},getOptionFromName:function(){return zk},getOptionsForLibraryResolution:function(){return RS},getOptionsNameMap:function(){return Fk},getOrCreateEmitNode:function(){return Ty},getOrCreateExternalHelpersModuleNameIfNeeded:function(){return lx},getOrUpdate:function(){return _D},getOriginalNode:function(){return EA},getOriginalNodeId:function(){return _N},getOriginalSourceFile:function(){return nd},getOutputDeclarationFileName:function(){return AU},getOutputExtension:function(){return NU},getOutputFileNames:function(){return RU},getOutputPathsFor:function(){return wU},getOutputPathsForBundle:function(){return SU},getOwnEmitOutputFilePath:function(){return Td},getOwnKeys:function(){return G},getOwnValues:function(){return q},getPackageJsonInfo:function(){return lw},getPackageJsonTypesVersionsPaths:function(){return mS},getPackageJsonsVisibleToFile:function(){return BZ},getPackageNameFromTypesPackageName:function(){return Aw},getPackageScopeForPath:function(){return uw},getParameterSymbolFromJSDoc:function(){return KI},getParameterTypeNode:function(){return Bm},getParentNodeInSpan:function(){return dY},getParseTreeNode:function(){return PA},getParsedCommandLineOfConfigFile:function(){return Hk},getPathComponents:function(){return Ia},getPathComponentsRelativeTo:function(){return Qa},getPathFromPathComponents:function(){return Oa},getPathUpdater:function(){return H$},getPathsBasePath:function(){return Dd},getPatternFromSpec:function(){return Yp},getPendingEmitKind:function(){return wq},getPositionOfLineAndCharacter:function(){return Fi},getPossibleGenericSignatures:function(){return pQ},getPossibleOriginalInputExtensionForExtension:function(){return Nd},getPossibleTypeArgumentsInfo:function(){return mQ},getPreEmitDiagnostics:function(){return FV},getPrecedingNonSpaceCharacterPosition:function(){return $Y},getPrivateIdentifier:function(){return IN},getProperties:function(){return TN},getProperty:function(){return J},getPropertyArrayElementValue:function(){return Z_},getPropertyAssignmentAliasLikeExpression:function(){return mO},getPropertyNameForPropertyNameNode:function(){return NO},getPropertyNameForUniqueESSymbol:function(){return Yl},getPropertyNameFromType:function(){return cR},getPropertyNameOfBindingOrAssignmentElement:function(){return gx},getPropertySymbolFromBindingElement:function(){return lY},getPropertySymbolsFromContextualType:function(){return w8},getQuoteFromPreference:function(){return oY},getQuotePreference:function(){return iY},getRangesWhere:function(){return Ze},getRefactorContextSpan:function(){return KZ},getReferencedFileLocation:function(){return nq},getRegexFromPattern:function(){return tm},getRegularExpressionForWildcard:function(){return Gp},getRegularExpressionsForWildcards:function(){return Xp},getRelativePathFromDirectory:function(){return Ya},getRelativePathFromFile:function(){return $a},getRelativePathToDirectoryOrUrl:function(){return ei},getRenameLocation:function(){return dZ},getReplacementSpanForContextToken:function(){return PQ},getResolutionDiagnostic:function(){return pq},getResolutionModeOverrideForClause:function(){return qV},getResolveJsonModule:function(){return lM},getResolvePackageJsonExports:function(){return Op},getResolvePackageJsonImports:function(){return Lp},getResolvedExternalModuleName:function(){return KO},getResolvedModule:function(){return TF},getResolvedTypeReferenceDirective:function(){return Bu},getRestIndicatorOfBindingOrAssignmentElement:function(){return vx},getRestParameterElementType:function(){return xP},getRightMostAssignedExpression:function(){return pl},getRootDeclaration:function(){return MO},getRootDirectoryOfResolutionCache:function(){return hW},getRootLength:function(){return Aa},getRootPathSplitLength:function(){return xW},getScriptKind:function(){return XY},getScriptKindFromFileName:function(){return am},getScriptTargetFeatures:function(){return OF},getSelectedEffectiveModifierFlags:function(){return hL},getSelectedSyntacticModifierFlags:function(){return Kd},getSemanticClassifications:function(){return A$},getSemanticJsxChildren:function(){return BO},getSetAccessorTypeAnnotationNode:function(){return Rd},getSetAccessorValueParameter:function(){return QO},getSetExternalModuleIndicator:function(){return Np},getShebang:function(){return to},getSingleInitializerOfVariableStatementOrPropertyDeclaration:function(){return Cl},getSingleVariableOfVariableStatement:function(){return qI},getSnapshotText:function(){return WQ},getSnippetElement:function(){return Gy},getSourceFileOfModule:function(){return NF},getSourceFileOfNode:function(){return CF},getSourceFilePathInNewDir:function(){return Fd},getSourceFilePathInNewDirWorker:function(){return Pd},getSourceFileVersionAsHashFromText:function(){return YW},getSourceFilesToEmit:function(){return Ad},getSourceMapRange:function(){return Ay},getSourceMapper:function(){return S0},getSourceTextOfNodeFromSourceFile:function(){return __},getSpanOfTokenAtPosition:function(){return sP},getSpellingSuggestion:function(){return VD},getStartPositionOfLine:function(){return Hu},getStartPositionOfRange:function(){return Of},getStartsOnNewLine:function(){return Iy},getStaticPropertiesAndClassStaticBlock:function(){return wN},getStrictOptionValue:function(){return pM},getStringComparer:function(){return he},getSuperCallFromStatement:function(){return bN},getSuperContainer:function(){return zP},getSupportedCodeFixes:function(){return g8},getSupportedExtensions:function(){return im},getSupportedExtensionsWithJsonIfResolveJsonModule:function(){return om},getSwitchedType:function(){return TZ},getSymbolId:function(){return yJ},getSymbolNameForPrivateIdentifier:function(){return FO},getSymbolTarget:function(){return QY},getSyntacticClassifications:function(){return O$},getSyntacticModifierFlags:function(){return Qd},getSyntacticModifierFlagsNoCache:function(){return $d},getSynthesizedDeepClone:function(){return eZ},getSynthesizedDeepCloneWithReplacements:function(){return tZ},getSynthesizedDeepClones:function(){return nZ},getSynthesizedDeepClonesWithReplacements:function(){return aZ},getSyntheticLeadingComments:function(){return My},getSyntheticTrailingComments:function(){return Ry},getTargetLabel:function(){return oX},getTargetOfBindingOrAssignmentElement:function(){return yx},getTemporaryModuleResolutionState:function(){return cw},getTextOfConstantValue:function(){return v_},getTextOfIdentifierOrLiteral:function(){return AO},getTextOfJSDocComment:function(){return $A},getTextOfJsxAttributeName:function(){return aR},getTextOfJsxNamespacedName:function(){return Um},getTextOfNode:function(){return PF},getTextOfNodeFromSourceText:function(){return d_},getTextOfPropertyName:function(){return $F},getThisContainer:function(){return RP},getThisParameter:function(){return YO},getTokenAtPosition:function(){return QX},getTokenPosOfNode:function(){return c_},getTokenSourceMapRange:function(){return Fy},getTouchingPropertyName:function(){return GX},getTouchingToken:function(){return XX},getTrailingCommentRanges:function(){return eo},getTrailingSemicolonDeferringWriter:function(){return HO},getTransformFlagsSubtreeExclusions:function(){return my},getTransformers:function(){return sU},getTsBuildInfoEmitOutputFilePath:function(){return TU},getTsConfigObjectLiteralExpression:function(){return $_},getTsConfigPropArrayElementValue:function(){return el},getTypeAnnotationNode:function(){return Bd},getTypeArgumentOrTypeParameterList:function(){return xQ},getTypeKeywordOfTypeOnlyImport:function(){return mY},getTypeNode:function(){return Zy},getTypeNodeIfAccessible:function(){return SZ},getTypeParameterFromJsDoc:function(){return $I},getTypeParameterOwner:function(){return Eo},getTypesPackageName:function(){return Nw},getUILocale:function(){return xe},getUniqueName:function(){return lZ},getUniqueSymbolId:function(){return YY},getUseDefineForClassFields:function(){return mM},getWatchErrorSummaryDiagnosticMessage:function(){return LW},getWatchFactory:function(){return oV},group:function(){return OD},groupBy:function(){return X},guessIndentation:function(){return Ic},handleNoEmitOptions:function(){return uq},hasAbstractModifier:function(){return pL},hasAccessorModifier:function(){return yL},hasAmbientModifier:function(){return mL},hasChangesInResolutions:function(){return Wu},hasChildOfKind:function(){return LX},hasContextSensitiveParameters:function(){return JM},hasDecorators:function(){return gL},hasDocComment:function(){return vQ},hasDynamicName:function(){return wO},hasEffectiveModifier:function(){return uL},hasEffectiveModifiers:function(){return sL},hasEffectiveReadonlyModifier:function(){return vL},hasExtension:function(){return cA},hasIndexSignature:function(){return kZ},hasInitializer:function(){return nF},hasInvalidEscape:function(){return _d},hasJSDocNodes:function(){return tF},hasJSDocParameterTags:function(){return qA},hasJSFileExtension:function(){return sm},hasJsonModuleEmitEnabled:function(){return oM},hasOnlyExpressionInitializer:function(){return aF},hasOverrideModifier:function(){return fL},hasPossibleExternalModuleReference:function(){return HF},hasProperty:function(){return ma},hasPropertyAccessExpressionWithName:function(){return sX},hasQuestionToken:function(){return JI},hasRecordedExternalHelpers:function(){return ux},hasRestParameter:function(){return cF},hasScopeMarker:function(){return zE},hasStaticModifier:function(){return dL},hasSyntacticModifier:function(){return _L},hasSyntacticModifiers:function(){return cL},hasTSFileExtension:function(){return cm},hasTabstop:function(){return Jm},hasTrailingDirectorySeparator:function(){return Ca},hasType:function(){return rF},hasTypeArguments:function(){return Pl},hasZeroOrOneAsteriskCharacter:function(){return Up},helperString:function(){return Bv},hostGetCanonicalFileName:function(){return hd},hostUsesCaseSensitiveFileNames:function(){return gd},idText:function(){return LA},identifierIsThisKeyword:function(){return jd},identifierToKeywordKind:function(){return MA},identity:function(){return ir},identitySourceMapConsumer:function(){return VC},ignoreSourceNewlines:function(){return Qy},ignoredPaths:function(){return jn},importDefaultHelper:function(){return Cv},importFromModuleSpecifier:function(){return kl},importNameElisionDisabled:function(){return Ap},importStarHelper:function(){return wv},indexOfAnyCharCode:function(){return g},indexOfNode:function(){return IF},indicesOf:function(){return pD},inferredTypesContainingFile:function(){return hV},injectClassNamedEvaluationHelperBlockIfMissing:function(){return zJ},injectClassThisAssignmentIfMissing:function(){return IJ},insertImports:function(){return pY},insertLeadingStatement:function(){return Gh},insertSorted:function(){return Q},insertStatementAfterCustomPrologue:function(){return a_},insertStatementAfterStandardPrologue:function(){return n_},insertStatementsAfterCustomPrologue:function(){return r_},insertStatementsAfterStandardPrologue:function(){return t_},intersperse:function(){return y},intrinsicTagNameToString:function(){return oR},introducesArgumentsExoticObject:function(){return DP},inverseJsxOptionMap:function(){return Vb},isAbstractConstructorSymbol:function(){return Gf},isAbstractModifier:function(){return fg},isAccessExpression:function(){return GL},isAccessibilityModifier:function(){return CQ},isAccessor:function(){return DE},isAccessorModifier:function(){return mg},isAliasSymbolDeclaration:function(){return jl},isAliasableExpression:function(){return dO},isAmbientModule:function(){return RF},isAmbientPropertyDeclaration:function(){return T_},isAnonymousFunctionDefinition:function(){return td},isAnyDirectorySeparator:function(){return xa},isAnyImportOrBareOrAccessedRequire:function(){return D_},isAnyImportOrReExport:function(){return A_},isAnyImportSyntax:function(){return N_},isAnySupportedFileExtension:function(){return km},isApplicableVersionedTypesKey:function(){return xw},isArgumentExpressionOfElementAccess:function(){return pX},isArray:function(){return RD},isArrayBindingElement:function(){return Qs},isArrayBindingOrAssignmentElement:function(){return nc},isArrayBindingOrAssignmentPattern:function(){return rc},isArrayBindingPattern:function(){return ej},isArrayLiteralExpression:function(){return rj},isArrayLiteralOrObjectLiteralDestructuringPattern:function(){return DQ},isArrayTypeNode:function(){return hg},isArrowFunction:function(){return lj},isAsExpression:function(){return Lg},isAssertClause:function(){return rh},isAssertEntry:function(){return nh},isAssertionExpression:function(){return BE},isAssertionKey:function(){return Os},isAssertsKeyword:function(){return ug},isAssignmentDeclaration:function(){return yI},isAssignmentExpression:function(){return NL},isAssignmentOperator:function(){return wL},isAssignmentPattern:function(){return IE},isAssignmentTarget:function(){return tO},isAsteriskToken:function(){return eg},isAsyncFunction:function(){return TO},isAsyncModifier:function(){return cg},isAutoAccessorPropertyDeclaration:function(){return AE},isAwaitExpression:function(){return fj},isAwaitKeyword:function(){return _g},isBigIntLiteral:function(){return Vv},isBinaryExpression:function(){return mj},isBinaryOperatorToken:function(){return Px},isBindableObjectDefinePropertyCall:function(){return DI},isBindableStaticAccessExpression:function(){return vl},isBindableStaticElementAccessExpression:function(){return AI},isBindableStaticNameExpression:function(){return EI},isBindingElement:function(){return tj},isBindingElementOfBareOrAccessedRequire:function(){return pI},isBindingName:function(){return zs},isBindingOrAssignmentElement:function(){return Zs},isBindingOrAssignmentPattern:function(){return $s},isBindingPattern:function(){return PE},isBlock:function(){return kj},isBlockOrCatchScoped:function(){return LF},isBlockScope:function(){return S_},isBlockScopedContainerTopLevel:function(){return JF},isBooleanLiteral:function(){return SE},isBreakOrContinueStatement:function(){return hs},isBreakStatement:function(){return Hg},isBuildInfoFile:function(){return bU},isBuilderProgram:function(){return jW},isBundle:function(){return yh},isBundleFileTextLike:function(){return tp},isCallChain:function(){return nE},isCallExpression:function(){return oj},isCallExpressionTarget:function(){return GG},isCallLikeExpression:function(){return LE},isCallOrNewExpression:function(){return ME},isCallOrNewExpressionTarget:function(){return QG},isCallSignatureDeclaration:function(){return MR},isCallToHelper:function(){return zv},isCaseBlock:function(){return eh},isCaseClause:function(){return fh},isCaseKeyword:function(){return vg},isCaseOrDefaultClause:function(){return Ac},isCatchClause:function(){return aB},isCatchClauseVariableDeclaration:function(){return Mm},isCatchClauseVariableDeclarationOrBindingElement:function(){return MF},isCheckJsEnabledForFile:function(){return TM},isChildOfNodeWithKind:function(){return K_},isCircularBuildOrder:function(){return xH},isClassDeclaration:function(){return Pj},isClassElement:function(){return CE},isClassExpression:function(){return vj},isClassLike:function(){return NE},isClassMemberModifier:function(){return Js},isClassNamedEvaluationHelperBlock:function(){return jJ},isClassOrTypeElement:function(){return Gs},isClassStaticBlockDeclaration:function(){return PR},isClassThisAssignmentBlock:function(){return FJ},isCollapsedRange:function(){return Tf},isColonToken:function(){return ng},isCommaExpression:function(){return ax},isCommaListExpression:function(){return Jg},isCommaSequence:function(){return OB},isCommaToken:function(){return Yv},isComment:function(){return bQ},isCommonJsExportPropertyAssignment:function(){return CP},isCommonJsExportedExpression:function(){return wP},isCompoundAssignment:function(){return CJ},isComputedNonLiteralName:function(){return ZF},isComputedPropertyName:function(){return SR},isConciseBody:function(){return fc},isConditionalExpression:function(){return Pg},isConditionalTypeNode:function(){return kg},isConstTypeReference:function(){return uE},isConstructSignatureDeclaration:function(){return RR},isConstructorDeclaration:function(){return IR},isConstructorTypeNode:function(){return zR},isContextualKeyword:function(){return ql},isContinueStatement:function(){return Wg},isCustomPrologue:function(){return z_},isDebuggerStatement:function(){return $g},isDeclaration:function(){return GE},isDeclarationBindingElement:function(){return Ys},isDeclarationFileName:function(){return QB},isDeclarationName:function(){return uO},isDeclarationNameOfEnumOrNamespace:function(){return Rf},isDeclarationReadonly:function(){return fP},isDeclarationStatement:function(){return kc},isDeclarationWithTypeParameterChildren:function(){return C_},isDeclarationWithTypeParameters:function(){return w_},isDecorator:function(){return NR},isDecoratorTarget:function(){return ZG},isDefaultClause:function(){return ph},isDefaultImport:function(){return Sl},isDefaultModifier:function(){return sg},isDefaultedExpandoInitializer:function(){return bI},isDeleteExpression:function(){return Ag},isDeleteTarget:function(){return sO},isDeprecatedDeclaration:function(){return o$},isDestructuringAssignment:function(){return sf},isDiagnosticWithLocation:function(){return qZ},isDiskPathRoot:function(){return Ta},isDoStatement:function(){return Vg},isDocumentRegistryEntry:function(){return B$},isDotDotDotToken:function(){return Qv},isDottedName:function(){return FL},isDynamicName:function(){return CO},isESSymbolIdentifier:function(){return $l},isEffectiveExternalModule:function(){return qF},isEffectiveModuleDeclaration:function(){return x_},isEffectiveStrictModeSourceFile:function(){return k_},isElementAccessChain:function(){return ys},isElementAccessExpression:function(){return ij},isEmittedFileOfProgram:function(){return iV},isEmptyArrayLiteral:function(){return _f},isEmptyBindingElement:function(){return Po},isEmptyBindingPattern:function(){return Fo},isEmptyObjectLiteral:function(){return uf},isEmptyStatement:function(){return Ug},isEmptyStringLiteral:function(){return sl},isEntityName:function(){return hE},isEntityNameExpression:function(){return AL},isEnumConst:function(){return dP},isEnumDeclaration:function(){return Lj},isEnumMember:function(){return cB},isEqualityOperatorKind:function(){return xZ},isEqualsGreaterThanToken:function(){return ig},isExclamationToken:function(){return tg},isExcludedFile:function(){return zT},isExclusivelyTypeOnlyImportOrExport:function(){return UV},isExportAssignment:function(){return qj},isExportDeclaration:function(){return Wj},isExportModifier:function(){return og},isExportName:function(){return tx},isExportNamespaceAsDefaultDeclaration:function(){return l_},isExportOrDefaultModifier:function(){return Ox},isExportSpecifier:function(){return Kj},isExportsIdentifier:function(){return SI},isExportsOrModuleExportsOrAlias:function(){return Hw},isExpression:function(){return jE},isExpressionNode:function(){return $P},isExpressionOfExternalModuleImportEqualsDeclaration:function(){return gX},isExpressionOfOptionalChainRoot:function(){return oE},isExpressionStatement:function(){return Sj},isExpressionWithTypeArguments:function(){return hj},isExpressionWithTypeArgumentsInClassExtendsClause:function(){return DL},isExternalModule:function(){return XB},isExternalModuleAugmentation:function(){return UF},isExternalModuleImportEqualsDeclaration:function(){return nI},isExternalModuleIndicator:function(){return VE},isExternalModuleNameRelative:function(){return kA},isExternalModuleReference:function(){return Gj},isExternalModuleSymbol:function(){return VQ},isExternalOrCommonJsModule:function(){return _P},isFileLevelReservedGeneratedIdentifier:function(){return Rs},isFileLevelUniqueName:function(){return Xu},isFileProbablyExternalModule:function(){return lb},isFirstDeclarationOfSymbolParameter:function(){return TY},isFixablePromiseHandler:function(){return I0},isForInOrOfStatement:function(){return qE},isForInStatement:function(){return Nj},isForInitializer:function(){return mc},isForOfStatement:function(){return Dj},isForStatement:function(){return Cj},isFunctionBlock:function(){return X_},isFunctionBody:function(){return pc},isFunctionDeclaration:function(){return Fj},isFunctionExpression:function(){return _j},isFunctionExpressionOrArrowFunction:function(){return VM},isFunctionLike:function(){return bE},isFunctionLikeDeclaration:function(){return TE},isFunctionLikeKind:function(){return Vs},isFunctionLikeOrClassStaticBlockDeclaration:function(){return kE},isFunctionOrConstructorTypeNode:function(){return Xs},isFunctionOrModuleBlock:function(){return wE},isFunctionSymbol:function(){return bl},isFunctionTypeNode:function(){return JR},isFutureReservedKeyword:function(){return Hl},isGeneratedIdentifier:function(){return mE},isGeneratedPrivateIdentifier:function(){return Ms},isGetAccessor:function(){return eF},isGetAccessorDeclaration:function(){return OR},isGetOrSetAccessorDeclaration:function(){return rE},isGlobalDeclaration:function(){return a$},isGlobalScopeAugmentation:function(){return zF},isGrammarError:function(){return Qu},isHeritageClause:function(){return nB},isHoistedFunction:function(){return U_},isHoistedVariableStatement:function(){return q_},isIdentifier:function(){return xR},isIdentifierANonContextualKeyword:function(){return Gl},isIdentifierName:function(){return Rl},isIdentifierOrThisTypeNode:function(){return Cx},isIdentifierPart:function(){return no},isIdentifierStart:function(){return ro},isIdentifierText:function(){return bA},isIdentifierTypePredicate:function(){return FP},isIdentifierTypeReference:function(){return OM},isIfStatement:function(){return wj},isIgnoredFileFromWildCardWatching:function(){return aV},isImplicitGlob:function(){return Qp},isImportCall:function(){return mP},isImportClause:function(){return zj},isImportDeclaration:function(){return Jj},isImportEqualsDeclaration:function(){return Bj},isImportKeyword:function(){return kR},isImportMeta:function(){return B_},isImportOrExportSpecifier:function(){return fE},isImportOrExportSpecifierName:function(){return GY},isImportSpecifier:function(){return Vj},isImportTypeAssertionContainer:function(){return th},isImportTypeNode:function(){return ZR},isImportableFile:function(){return h$},isInComment:function(){return yQ},isInExpressionContext:function(){return eI},isInJSDoc:function(){return _I},isInJSFile:function(){return cI},isInJSXText:function(){return uQ},isInJsonFile:function(){return uI},isInNonReferenceComment:function(){return EQ},isInReferenceComment:function(){return AQ},isInRightSideOfInternalImportEqualsDeclaration:function(){return KG},isInString:function(){return iQ},isInTemplateString:function(){return cQ},isInTopLevelContext:function(){return BP},isInTypeQuery:function(){return eL},isIncrementalCompilation:function(){return Mp},isIndexSignatureDeclaration:function(){return gg},isIndexedAccessTypeNode:function(){return QR},isInferTypeNode:function(){return Tg},isInfinityOrNaNString:function(){return zM},isInitializedProperty:function(){return NJ},isInitializedVariable:function(){return Bf},isInsideJsxElement:function(){return _Q},isInsideJsxElementOrAttribute:function(){return oQ},isInsideNodeModules:function(){return VZ},isInsideTemplateLiteral:function(){return wQ},isInstantiatedModule:function(){return vJ},isInterfaceDeclaration:function(){return Ij},isInternalDeclaration:function(){return eU},isInternalModuleImportEqualsDeclaration:function(){return oI},isInternalName:function(){return $h},isIntersectionTypeNode:function(){return bg},isIntrinsicJsxName:function(){return VO},isIterationStatement:function(){return JE},isJSDoc:function(){return kh},isJSDocAllType:function(){return fB},isJSDocAugmentsTag:function(){return kB},isJSDocAuthorTag:function(){return Th},isJSDocCallbackTag:function(){return TB},isJSDocClassTag:function(){return Sh},isJSDocCommentContainingNode:function(){return Ec},isJSDocConstructSignature:function(){return zI},isJSDocDeprecatedTag:function(){return Eh},isJSDocEnumTag:function(){return Ph},isJSDocFunctionType:function(){return gB},isJSDocImplementsTag:function(){return Lh},isJSDocIndexSignature:function(){return lI},isJSDocLikeText:function(){return _b},isJSDocLink:function(){return gh},isJSDocLinkCode:function(){return hh},isJSDocLinkLike:function(){return sF},isJSDocLinkPlain:function(){return xh},isJSDocMemberName:function(){return dB},isJSDocNameReference:function(){return lB},isJSDocNamepathType:function(){return bh},isJSDocNamespaceBody:function(){return gc},isJSDocNode:function(){return ZE},isJSDocNonNullableType:function(){return yB},isJSDocNullableType:function(){return mB},isJSDocOptionalParameter:function(){return YM},isJSDocOptionalType:function(){return vB},isJSDocOverloadTag:function(){return SB},isJSDocOverrideTag:function(){return Ah},isJSDocParameterTag:function(){return wB},isJSDocPrivateTag:function(){return Ch},isJSDocPropertyLikeTag:function(){return _E},isJSDocPropertyTag:function(){return EB},isJSDocProtectedTag:function(){return Nh},isJSDocPublicTag:function(){return wh},isJSDocReadonlyTag:function(){return Dh},isJSDocReturnTag:function(){return CB},isJSDocSatisfiesExpression:function(){return eR},isJSDocSatisfiesTag:function(){return FB},isJSDocSeeTag:function(){return Fh},isJSDocSignature:function(){return bB},isJSDocTag:function(){return Fc},isJSDocTemplateTag:function(){return DB},isJSDocThisTag:function(){return Ih},isJSDocThrowsTag:function(){return Mh},isJSDocTypeAlias:function(){return UI},isJSDocTypeAssertion:function(){return LB},isJSDocTypeExpression:function(){return _B},isJSDocTypeLiteral:function(){return xB},isJSDocTypeTag:function(){return NB},isJSDocTypedefTag:function(){return AB},isJSDocUnknownTag:function(){return Oh},isJSDocUnknownType:function(){return pB},isJSDocVariadicType:function(){return hB},isJSXTagName:function(){return ZP},isJsonEqual:function(){return wm},isJsonSourceFile:function(){return lP},isJsxAttribute:function(){return $j},isJsxAttributeLike:function(){return QE},isJsxAttributeName:function(){return zm},isJsxAttributes:function(){return eB},isJsxChild:function(){return Nc},isJsxClosingElement:function(){return uh},isJsxClosingFragment:function(){return lh},isJsxElement:function(){return Xj},isJsxExpression:function(){return dh},isJsxFragment:function(){return _h},isJsxNamespacedName:function(){return rB},isJsxOpeningElement:function(){return Yj},isJsxOpeningFragment:function(){return Zj},isJsxOpeningLikeElement:function(){return YE},isJsxOpeningLikeElementTagName:function(){return $G},isJsxSelfClosingElement:function(){return Qj},isJsxSpreadAttribute:function(){return tB},isJsxTagNameExpression:function(){return Cc},isJsxText:function(){return qv},isJumpStatementTarget:function(){return cX},isKeyword:function(){return zl},isKeywordOrPunctuation:function(){return Vl},isKnownSymbol:function(){return PO},isLabelName:function(){return _X},isLabelOfLabeledStatement:function(){return uX},isLabeledStatement:function(){return Qg},isLateVisibilityPaintedStatement:function(){return WF},isLeftHandSideExpression:function(){return RE},isLeftHandSideOfAssignment:function(){return of},isLet:function(){return j_},isLineBreak:function(){return hA},isLiteralComputedPropertyDeclarationName:function(){return _O},isLiteralExpression:function(){return lE},isLiteralExpressionOfObject:function(){return dE},isLiteralImportTypeNode:function(){return yP},isLiteralKind:function(){return Ds},isLiteralLikeAccess:function(){return ml},isLiteralLikeElementAccess:function(){return yl},isLiteralNameOfPropertyDeclarationOrIndexAccess:function(){return vX},isLiteralTypeLikeExpression:function(){return Ex},isLiteralTypeLiteral:function(){return _c},isLiteralTypeNode:function(){return YR},isLocalName:function(){return ex},isLogicalOperator:function(){return tf},isLogicalOrCoalescingAssignmentExpression:function(){return nf},isLogicalOrCoalescingAssignmentOperator:function(){return rf},isLogicalOrCoalescingBinaryExpression:function(){return SL},isLogicalOrCoalescingBinaryOperator:function(){return TL},isMappedTypeNode:function(){return wg},isMemberName:function(){return ps},isMetaProperty:function(){return xj},isMethodDeclaration:function(){return FR},isMethodOrAccessor:function(){return qs},isMethodSignature:function(){return ER},isMinusToken:function(){return $v},isMissingDeclaration:function(){return oh},isModifier:function(){return gE},isModifierKind:function(){return js},isModifierLike:function(){return Hs},isModuleAugmentationExternal:function(){return b_},isModuleBlock:function(){return Rj},isModuleBody:function(){return yc},isModuleDeclaration:function(){return Mj},isModuleExportsAccessExpression:function(){return CI},isModuleIdentifier:function(){return wI},isModuleName:function(){return Ax},isModuleOrEnumDeclaration:function(){return WE},isModuleReference:function(){return wc},isModuleSpecifierLike:function(){return uY},isModuleWithStringLiteralName:function(){return jF},isNameOfFunctionDeclaration:function(){return yX},isNameOfModuleDeclaration:function(){return mX},isNamedClassElement:function(){return Ws},isNamedDeclaration:function(){return BA},isNamedEvaluation:function(){return rd},isNamedEvaluationSource:function(){return IO},isNamedExportBindings:function(){return xs},isNamedExports:function(){return Hj},isNamedImportBindings:function(){return hc},isNamedImports:function(){return ih},isNamedImportsOrExports:function(){return rp},isNamedTupleMember:function(){return WR},isNamespaceBody:function(){return vc},isNamespaceExport:function(){return Uj},isNamespaceExportDeclaration:function(){return jj},isNamespaceImport:function(){return ah},isNamespaceReexportDeclaration:function(){return rI},isNewExpression:function(){return sj},isNewExpressionTarget:function(){return XG},isNightly:function(){return qO},isNoSubstitutionTemplateLiteral:function(){return Hv},isNode:function(){return Ts},isNodeArray:function(){return Ns},isNodeArrayMultiLine:function(){return Pf},isNodeDescendantOf:function(){return cO},isNodeKind:function(){return Ss},isNodeLikeSystem:function(){return We},isNodeModulesDirectory:function(){return ri},isNodeWithPossibleHoistedDeclaration:function(){return Il},isNonContextualKeyword:function(){return Wl},isNonExportDefaultModifier:function(){return Lx},isNonGlobalAmbientModule:function(){return h_},isNonGlobalDeclaration:function(){return i$},isNonNullAccess:function(){return $M},isNonNullChain:function(){return gs},isNonNullExpression:function(){return Rg},isNonStaticMethodOrAccessorWithPrivateName:function(){return CN},isNotEmittedOrPartiallyEmittedNode:function(){return lc},isNotEmittedStatement:function(){return sh},isNullishCoalesce:function(){return cE},isNumber:function(){return ae},isNumericLiteral:function(){return gR},isNumericLiteralName:function(){return qM},isObjectBindingElementWithoutPropertyName:function(){return _Y},isObjectBindingOrAssignmentElement:function(){return tc},isObjectBindingOrAssignmentPattern:function(){return ec},isObjectBindingPattern:function(){return $R},isObjectLiteralElement:function(){return Pc},isObjectLiteralElementLike:function(){return EE},isObjectLiteralExpression:function(){return nj},isObjectLiteralMethod:function(){return AP},isObjectLiteralOrClassExpressionMethodOrAccessor:function(){return EP},isObjectTypeDeclaration:function(){return $f},isOctalDigit:function(){return zi},isOmittedExpression:function(){return gj},isOptionalChain:function(){return aE},isOptionalChainRoot:function(){return iE},isOptionalDeclaration:function(){return ZM},isOptionalJSDocPropertyLikeTag:function(){return XM},isOptionalTypeNode:function(){return HR},isOuterExpression:function(){return ix},isOutermostOptionalChain:function(){return sE},isOverrideModifier:function(){return pg},isPackedArrayLiteral:function(){return Im},isParameter:function(){return CR},isParameterDeclaration:function(){return LO},isParameterOrCatchClauseVariable:function(){return UM},isParameterPropertyDeclaration:function(){return CA},isParameterPropertyModifier:function(){return Bs},isParenthesizedExpression:function(){return uj},isParenthesizedTypeNode:function(){return GR},isParseTreeNode:function(){return Ro},isPartOfTypeNode:function(){return vP},isPartOfTypeQuery:function(){return tI},isPartiallyEmittedExpression:function(){return Bg},isPatternMatch:function(){return Re},isPinnedComment:function(){return o_},isPlainJsFile:function(){return DF},isPlusToken:function(){return Zv},isPossiblyTypeArgumentPosition:function(){return fQ},isPostfixUnaryExpression:function(){return Fg},isPrefixUnaryExpression:function(){return pj},isPrivateIdentifier:function(){return bR},isPrivateIdentifierClassElementDeclaration:function(){return yE},isPrivateIdentifierPropertyAccessExpression:function(){return vE},isPrivateIdentifierSymbol:function(){return Zl},isProgramBundleEmitBuildInfo:function(){return Jq},isProgramUptoDate:function(){return aq},isPrologueDirective:function(){return J_},isPropertyAccessChain:function(){return ms},isPropertyAccessEntityNameExpression:function(){return PL},isPropertyAccessExpression:function(){return aj},isPropertyAccessOrQualifiedName:function(){return ac},isPropertyAccessOrQualifiedNameOrImportTypeNode:function(){return OE},isPropertyAssignment:function(){return iB},isPropertyDeclaration:function(){return AR},isPropertyName:function(){return xE},isPropertyNameLiteral:function(){return DO},isPropertySignature:function(){return DR},isProtoSetter:function(){return ed},isPrototypeAccess:function(){return OL},isPrototypePropertyAssignment:function(){return OI},isPunctuation:function(){return Ul},isPushOrUnshiftIdentifier:function(){return OO},isQualifiedName:function(){return TR},isQuestionDotToken:function(){return ag},isQuestionOrExclamationToken:function(){return wx},isQuestionOrPlusOrMinusToken:function(){return Dx},isQuestionToken:function(){return rg},isRawSourceMap:function(){return XC},isReadonlyKeyword:function(){return lg},isReadonlyKeywordOrPlusOrMinusToken:function(){return Nx},isRecognizedTripleSlashComment:function(){return i_},isReferenceFileLocation:function(){return rq},isReferencedFile:function(){return tq},isRegularExpressionLiteral:function(){return Wv},isRequireCall:function(){return dI},isRequireVariableStatement:function(){return dl},isRestParameter:function(){return uF},isRestTypeNode:function(){return KR},isReturnStatement:function(){return Kg},isReturnStatementWithFixablePromiseHandler:function(){return P0},isRightSideOfAccessExpression:function(){return cf},isRightSideOfPropertyAccess:function(){return fX},isRightSideOfQualifiedName:function(){return dX},isRightSideOfQualifiedNameOrPropertyAccess:function(){return LL},isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName:function(){return ML},isRootedDiskPath:function(){return ka},isSameEntityName:function(){return TI},isSatisfiesExpression:function(){return Mg},isScopeMarker:function(){return dc},isSemicolonClassElement:function(){return zg},isSetAccessor:function(){return $E},isSetAccessorDeclaration:function(){return LR},isShebangTrivia:function(){return Wi},isShorthandAmbientModuleSymbol:function(){return BF},isShorthandPropertyAssignment:function(){return oB},isSignedNumericLiteral:function(){return Ql},isSimpleCopiableExpression:function(){return gN},isSimpleInlineableExpression:function(){return hN},isSingleOrDoubleQuote:function(){return mI},isSourceFile:function(){return uB},isSourceFileFromLibrary:function(){return d$},isSourceFileJS:function(){return sI},isSourceFileNotJS:function(){return cl},isSourceFileNotJson:function(){return ul},isSourceMapping:function(){return $C},isSpecialPropertyDeclaration:function(){return xl},isSpreadAssignment:function(){return sB},isSpreadElement:function(){return yj},isStatement:function(){return XE},isStatementButNotDeclaration:function(){return Tc},isStatementOrBlock:function(){return Sc},isStatementWithLocals:function(){return AF},isStatic:function(){return lL},isStaticModifier:function(){return dg},isString:function(){return jD},isStringAKeyword:function(){return Kl},isStringANonContextualKeyword:function(){return bO},isStringAndEmptyAnonymousObjectIntersection:function(){return SQ},isStringDoubleQuoted:function(){return fl},isStringLiteral:function(){return hR},isStringLiteralLike:function(){return oF},isStringLiteralOrJsxExpression:function(){return Dc},isStringLiteralOrTemplate:function(){return bZ},isStringOrNumericLiteralLike:function(){return SO},isStringOrRegularExpressionOrTemplateLiteral:function(){return kQ},isStringTextContainingNode:function(){return Ls},isSuperCall:function(){return pP},isSuperKeyword:function(){return yg},isSuperOrSuperProperty:function(){return nl},isSuperProperty:function(){return VP},isSupportedSourceFileName:function(){return lm},isSwitchStatement:function(){return Xg},isSyntaxList:function(){return Rh},isSyntheticExpression:function(){return jg},isSyntheticReference:function(){return ch},isTagName:function(){return lX},isTaggedTemplateExpression:function(){return cj},isTaggedTemplateTag:function(){return YG},isTemplateExpression:function(){return Ig},isTemplateHead:function(){return Kv},isTemplateLiteral:function(){return ic},isTemplateLiteralKind:function(){return As},isTemplateLiteralToken:function(){return Es},isTemplateLiteralTypeNode:function(){return Ng},isTemplateLiteralTypeSpan:function(){return Cg},isTemplateMiddle:function(){return Gv},isTemplateMiddleOrTemplateTail:function(){return Fs},isTemplateSpan:function(){return bj},isTemplateTail:function(){return Xv},isTextWhiteSpaceLike:function(){return hY},isThis:function(){return bX},isThisContainerOrFunctionBlock:function(){return jP},isThisIdentifier:function(){return $O},isThisInTypeQuery:function(){return tL},isThisInitializedDeclaration:function(){return WP},isThisInitializedObjectBindingExpression:function(){return HP},isThisProperty:function(){return qP},isThisTypeNode:function(){return Sg},isThisTypeParameter:function(){return HM},isThisTypePredicate:function(){return Q_},isThrowStatement:function(){return Yg},isToken:function(){return Cs},isTokenKind:function(){return ws},isTraceEnabled:function(){return rS},isTransientSymbol:function(){return gF},isTrivia:function(){return Xl},isTryStatement:function(){return Zg},isTupleTypeNode:function(){return qR},isTypeAlias:function(){return VI},isTypeAliasDeclaration:function(){return Oj},isTypeAssertionExpression:function(){return Dg},isTypeDeclaration:function(){return KM},isTypeElement:function(){return Ks},isTypeKeyword:function(){return JQ},isTypeKeywordToken:function(){return zQ},isTypeKeywordTokenOrIdentifier:function(){return UQ},isTypeLiteralNode:function(){return VR},isTypeNode:function(){return FE},isTypeNodeKind:function(){return KL},isTypeOfExpression:function(){return dj},isTypeOnlyExportDeclaration:function(){return Is},isTypeOnlyImportDeclaration:function(){return Ps},isTypeOnlyImportOrExportDeclaration:function(){return pE},isTypeOperatorNode:function(){return XR},isTypeParameterDeclaration:function(){return wR},isTypePredicateNode:function(){return jR},isTypeQueryNode:function(){return UR},isTypeReferenceNode:function(){return BR},isTypeReferenceType:function(){return iF},isTypeUsableAsPropertyName:function(){return sR},isUMDExportSymbol:function(){return HL},isUnaryExpression:function(){return sc},isUnaryExpressionWithWrite:function(){return uc},isUnicodeIdentifierStart:function(){return Di},isUnionTypeNode:function(){return xg},isUnparsedNode:function(){return ks},isUnparsedPrepend:function(){return mh},isUnparsedSource:function(){return vh},isUnparsedTextLike:function(){return bs},isUrl:function(){return ba},isValidBigIntString:function(){return PM},isValidESSymbolDeclaration:function(){return NP},isValidTypeOnlyAliasUseSite:function(){return IM},isValueSignatureDeclaration:function(){return rO},isVarAwaitUsing:function(){return L_},isVarConst:function(){return R_},isVarUsing:function(){return M_},isVariableDeclaration:function(){return Aj},isVariableDeclarationInVariableStatement:function(){return SP},isVariableDeclarationInitializedToBareOrAccessedRequire:function(){return fI},isVariableDeclarationInitializedToRequire:function(){return _l},isVariableDeclarationList:function(){return Ej},isVariableLike:function(){return kP},isVariableLikeOrAccessor:function(){return TP},isVariableStatement:function(){return Tj},isVoidExpression:function(){return Eg},isWatchSet:function(){return Jf},isWhileStatement:function(){return qg},isWhiteSpaceLike:function(){return Ri},isWhiteSpaceSingleLine:function(){return ji},isWithStatement:function(){return Gg},isWriteAccess:function(){return VL},isWriteOnlyAccess:function(){return UL},isYieldExpression:function(){return Og},jsxModeNeedsExplicitImport:function(){return l$},keywordPart:function(){return DY},last:function(){return ND},lastOrUndefined:function(){return CD},length:function(){return HN},libMap:function(){return Hb},libs:function(){return Wb},lineBreakPart:function(){return UY},linkNamePart:function(){return jY},linkPart:function(){return BY},linkTextPart:function(){return RY},listFiles:function(){return BW},loadModuleFromGlobalCache:function(){return Ow},loadWithModeAwareCache:function(){return XV},makeIdentifierFromModuleName:function(){return g_},makeImport:function(){return rY},makeImportIfNecessary:function(){return tY},makeStringLiteral:function(){return nY},mangleScopedPackageName:function(){return Dw},map:function(){return iD},mapAllOrFail:function(){return D},mapDefined:function(){return uD},mapDefinedEntries:function(){return k},mapDefinedIterator:function(){return rr},mapEntries:function(){return C},mapIterator:function(){return b},mapOneOrMany:function(){return XZ},mapToDisplayParts:function(){return VY},matchFiles:function(){return rm},matchPatternOrExact:function(){return Tm},matchedText:function(){return Oe},matchesExclude:function(){return VT},maybeBind:function(){return LD},maybeSetLocalizedDiagnosticMessages:function(){return yp},memoize:function(){return va},memoizeCached:function(){return le},memoizeOne:function(){return ga},memoizeWeak:function(){return _e},metadataHelper:function(){return av},min:function(){return me},minAndMax:function(){return wM},missingFileModifiedTime:function(){return On},modifierToFlag:function(){return kL},modifiersToFlags:function(){return bL},moduleOptionDeclaration:function(){return Qb},moduleResolutionIsEqualTo:function(){return zu},moduleResolutionNameAndModeGetter:function(){return vV},moduleResolutionOptionDeclarations:function(){return rk},moduleResolutionSupportsPackageJsonExportsAndImports:function(){return Ip},moduleResolutionUsesNodeModules:function(){return eY},moduleSpecifiers:function(){return kC},moveEmitHelpers:function(){return Ky},moveRangeEnd:function(){return hf},moveRangePastDecorators:function(){return bf},moveRangePastModifiers:function(){return kf},moveRangePos:function(){return xf},moveSyntheticComments:function(){return Jy},mutateMap:function(){return Kf},mutateMapSkippingNewValues:function(){return Hf},needsParentheses:function(){return vZ},needsScopeMarker:function(){return UE},newCaseClauseTracker:function(){return f$},newPrivateEnvironment:function(){return PN},noEmitNotification:function(){return dU},noEmitSubstitution:function(){return lU},noTransformers:function(){return aU},noTruncationMaximumTruncationLength:function(){return fF},nodeCanBeDecorated:function(){return XP},nodeHasName:function(){return jA},nodeIsDecorated:function(){return al},nodeIsMissing:function(){return EF},nodeIsPresent:function(){return FF},nodeIsSynthesized:function(){return jO},nodeModuleNameResolver:function(){return WS},nodeModulesPathPart:function(){return ZT},nodeNextJsonConfigResolver:function(){return HS},nodeOrChildIsDecorated:function(){return il},nodeOverlapsWithStartEnd:function(){return EX},nodePosToString:function(){return Ku},nodeSeenTracker:function(){return qQ},nodeStartsNewLexicalEnvironment:function(){return RO},nodeToDisplayParts:function(){return KY},noop:function(){return fi},noopFileWatcher:function(){return SW},normalizePath:function(){return pi},normalizeSlashes:function(){return La},not:function(){return $D},notImplemented:function(){return ue},notImplementedResolver:function(){return mU},nullNodeConverters:function(){return Gm},nullParenthesizerRules:function(){return Wm},nullTransformationContext:function(){return iU},objectAllocator:function(){return pF},operatorPart:function(){return EY},optionDeclarations:function(){return Zb},optionMapToObject:function(){return sT},optionsAffectingProgramStructure:function(){return ak},optionsForBuild:function(){return ok},optionsForWatch:function(){return Kb},optionsHaveChanges:function(){return Ou},optionsHaveModuleResolutionChanges:function(){return Pu},or:function(){return ZD},orderedRemoveItem:function(){return Ne},orderedRemoveItemAt:function(){return HD},outFile:function(){return GO},packageIdToPackageName:function(){return Uu},packageIdToString:function(){return Vu},padLeft:function(){return Je},padRight:function(){return ze},paramHelper:function(){return iv},parameterIsThisKeyword:function(){return ZO},parameterNamePart:function(){return FY},parseBaseNodeFactory:function(){return eb},parseBigInt:function(){return Cm},parseBuildCommand:function(){return qk},parseCommandLine:function(){return Jk},parseCommandLineWorker:function(){return jk},parseConfigFileTextToJson:function(){return Gk},parseConfigFileWithSystem:function(){return PW},parseConfigHostFromCompilerHostLike:function(){return lq},parseCustomTypeOption:function(){return Ok},parseIsolatedEntityName:function(){return GB},parseIsolatedJSDocComment:function(){return Mb},parseJSDocTypeExpressionForTests:function(){return Rb},parseJsonConfigFileContent:function(){return mT},parseJsonSourceFileConfigFileContent:function(){return yT},parseJsonText:function(){return Ob},parseListTypeOption:function(){return Lk},parseNodeFactory:function(){return WB},parseNodeModuleFromPath:function(){return YS},parsePackageName:function(){return pw},parsePseudoBigInt:function(){return AM},parseValidBigInt:function(){return FM},patchWriteFileEnsuringDirectory:function(){return oa},pathContainsNodeModules:function(){return QS},pathIsAbsolute:function(){return Sa},pathIsBareSpecifier:function(){return wa},pathIsRelative:function(){return sA},patternText:function(){return Ie},perfLogger:function(){return St},performIncrementalCompilation:function(){return aH},performance:function(){return Ht},plainJSErrors:function(){return xV},positionBelongsToNode:function(){return PX},positionIsASICandidate:function(){return AZ},positionIsSynthesized:function(){return hm},positionsAreOnSameLine:function(){return If},preProcessFile:function(){return b0},probablyUsesSemicolons:function(){return EZ},processCommentPragmas:function(){return jb},processPragmasIntoFields:function(){return Bb},processTaggedTemplateExpression:function(){return HJ},programContainsEsModules:function(){return QQ},programContainsModules:function(){return XQ},projectReferenceIsEqualTo:function(){return Ju},propKeyHelper:function(){return hv},propertyNamePart:function(){return PY},pseudoBigIntToString:function(){return EM},punctuationPart:function(){return AY},pushIfUnique:function(){return hD},quote:function(){return hZ},quotePreferenceFromString:function(){return aY},rangeContainsPosition:function(){return wX},rangeContainsPositionExclusive:function(){return CX},rangeContainsRange:function(){return TX},rangeContainsRangeExclusive:function(){return SX},rangeContainsStartEnd:function(){return DX},rangeEndIsOnSameLineAsRangeStart:function(){return Af},rangeEndPositionsAreOnSameLine:function(){return Nf},rangeEquals:function(){return bD},rangeIsOnSingleLine:function(){return wf},rangeOfNode:function(){return CM},rangeOfTypeParameters:function(){return NM},rangeOverlapsWithStartEnd:function(){return AX},rangeStartIsOnSameLineAsRangeEnd:function(){return Df},rangeStartPositionsAreOnSameLine:function(){return Cf},readBuilderProgram:function(){return oH},readConfigFile:function(){return Kk},readHelper:function(){return vv},readJson:function(){return mf},readJsonConfigFile:function(){return Xk},readJsonOrUndefined:function(){return pf},realizeDiagnostics:function(){return U8},reduceEachLeadingCommentRange:function(){return Qi},reduceEachTrailingCommentRange:function(){return Yi},reduceLeft:function(){return ED},reduceLeftIterator:function(){return p},reducePathComponents:function(){return Ma},refactor:function(){return I4},regExpEscape:function(){return Hp},relativeComplement:function(){return yD},removeAllComments:function(){return wy},removeEmitHelper:function(){return Wy},removeExtension:function(){return xM},removeFileExtension:function(){return pm},removeIgnoredPath:function(){return cW},removeMinAndVersionNumbers:function(){return Ce},removeOptionality:function(){return dQ},removePrefix:function(){return QD},removeSuffix:function(){return ur},removeTrailingDirectorySeparator:function(){return za},repeatString:function(){return HQ},replaceElement:function(){return DD},resolutionExtensionIsTSOrJson:function(){return bM},resolveConfigFileProjectName:function(){return fH},resolveJSModule:function(){return US},resolveLibrary:function(){return jS},resolveModuleName:function(){return JS},resolveModuleNameFromCache:function(){return BS},resolvePackageNameToPackageJson:function(){return kS},resolvePath:function(){return Ra},resolveProjectReferencePath:function(){return fq},resolveTripleslashReference:function(){return SV},resolveTypeReferenceDirective:function(){return hS},resolvingEmptyArray:function(){return _F},restHelper:function(){return fv},returnFalse:function(){return ar},returnNoopFileWatcher:function(){return wW},returnTrue:function(){return ya},returnUndefined:function(){return se},returnsPromise:function(){return F0},runInitializersHelper:function(){return sv},sameFlatMap:function(){return fa},sameMap:function(){return oD},sameMapping:function(){return ZC},scanShebangTrivia:function(){return Hi},scanTokenAtPosition:function(){return cP},scanner:function(){return LG},screenStartingMessageCodes:function(){return TW},semanticDiagnosticsOptionDeclarations:function(){return $b},serializeCompilerOptions:function(){return uT},server:function(){return cG},servicesVersion:function(){return V4},setCommentRange:function(){return dR},setConfigFileInOptions:function(){return vT},setConstantValue:function(){return Uy},setEachParent:function(){return Em},setEmitFlags:function(){return lR},setFunctionNameHelper:function(){return xv},setGetSourceFileAsHashVersioned:function(){return ZW},setIdentifierAutoGenerate:function(){return $y},setIdentifierGeneratedImportReference:function(){return tv},setIdentifierTypeArguments:function(){return mR},setInternalEmitFlags:function(){return Ny},setLocalizedDiagnosticMessages:function(){return mp},setModuleDefaultHelper:function(){return Sv},setNodeFlags:function(){return RM},setObjectAllocator:function(){return fp},setOriginalNode:function(){return _R},setParent:function(){return jM},setParentRecursive:function(){return Fm},setPrivateIdentifier:function(){return ON},setResolvedModule:function(){return Ru},setResolvedTypeReferenceDirective:function(){return ju},setSnippetElement:function(){return Xy},setSourceMapRange:function(){return Ey},setStackTraceLimit:function(){return qn},setStartsOnNewLine:function(){return Oy},setSyntheticLeadingComments:function(){return fR},setSyntheticTrailingComments:function(){return jy},setSys:function(){return sa},setSysLog:function(){return ta},setTextRange:function(){return UB},setTextRangeEnd:function(){return Dm},setTextRangePos:function(){return Nm},setTextRangePosEnd:function(){return MM},setTextRangePosWidth:function(){return Am},setTokenSourceMapRange:function(){return Py},setTypeNode:function(){return Yy},setUILocale:function(){return be},setValueDeclaration:function(){return LI},shouldAllowImportingTsExtension:function(){return ZB},shouldPreserveConstEnums:function(){return fM},shouldResolveJsRequire:function(){return _M},shouldUseUriStyleNodeCoreModules:function(){return s$},showModuleSpecifier:function(){return Qf},signatureHasLiteralTypes:function(){return kJ},signatureHasRestParameter:function(){return bJ},signatureToDisplayParts:function(){return HY},single:function(){return j},singleElementArray:function(){return eA},singleIterator:function(){return T},singleOrMany:function(){return Ee},singleOrUndefined:function(){return pa},skipAlias:function(){return Uf},skipAssertions:function(){return ox},skipConstraint:function(){return KQ},skipOuterExpressions:function(){return RB},skipParentheses:function(){return oO},skipPartiallyEmittedExpressions:function(){return vs},skipTrivia:function(){return xA},skipTypeChecking:function(){return DM},skipTypeParentheses:function(){return Ll},skipWhile:function(){return Ve},sliceAfter:function(){return Sm},some:function(){return dD},sort:function(){return M},sortAndDeduplicate:function(){return E},sortAndDeduplicateDiagnostics:function(){return fo},sourceFileAffectingCompilerOptions:function(){return nk},sourceFileMayBeEmitted:function(){return Ed},sourceMapCommentRegExp:function(){return zC},sourceMapCommentRegExpDontCareLineStart:function(){return JC},spacePart:function(){return NY},spanMap:function(){return Ae},spreadArrayHelper:function(){return gv},stableSort:function(){return bn},startEndContainsRange:function(){return NX},startEndOverlapsWithStartEnd:function(){return FX},startOnNewLine:function(){return sx},startTracing:function(){return Gt},startsWith:function(){return XD},startsWithDirectory:function(){return Xa},startsWithUnderscore:function(){return n$},startsWithUseStrict:function(){return nx},stringContains:function(){return WD},stringContainsAt:function(){return r$},stringToToken:function(){return Ai},stripQuotes:function(){return UO},supportedDeclarationExtensions:function(){return Tu},supportedJSExtensions:function(){return hu},supportedJSExtensionsFlat:function(){return xu},supportedLocaleDirectories:function(){return uo},supportedTSExtensions:function(){return mu},supportedTSExtensionsFlat:function(){return yu},supportedTSImplementationExtensions:function(){return Su},suppressLeadingAndTrailingTrivia:function(){return iZ},suppressLeadingTrivia:function(){return oZ},suppressTrailingTrivia:function(){return sZ},symbolEscapedNameNoDefault:function(){return cY},symbolName:function(){return RA},symbolNameNoDefault:function(){return sY},symbolPart:function(){return wY},symbolToDisplayParts:function(){return WY},syntaxMayBeASICandidate:function(){return VG},syntaxRequiresTrailingSemicolonOrASI:function(){return DZ},sys:function(){return zn},sysLog:function(){return ea},tagNamesAreEquivalent:function(){return zb},takeWhile:function(){return Ue},targetOptionDeclaration:function(){return Xb},templateObjectHelper:function(){return yv},testFormatSettings:function(){return bG},textChangeRangeIsUnchanged:function(){return No},textChangeRangeNewSpan:function(){return Co},textChanges:function(){return ode},textOrKeywordPart:function(){return IY},textPart:function(){return OY},textRangeContainsPositionInclusive:function(){return wA},textSpanContainsPosition:function(){return SA},textSpanContainsTextSpan:function(){return yo},textSpanEnd:function(){return TA},textSpanIntersection:function(){return To},textSpanIntersectsWith:function(){return xo},textSpanIntersectsWithPosition:function(){return ko},textSpanIntersectsWithTextSpan:function(){return ho},textSpanIsEmpty:function(){return mo},textSpanOverlap:function(){return go},textSpanOverlapsWith:function(){return vo},textSpansEqual:function(){return yY},textToKeywordObj:function(){return mi},timestamp:function(){return ht},toArray:function(){return ne},toBuilderFileEmit:function(){return Zq},toBuilderStateFileInfoForMultiEmit:function(){return Yq},toEditorSettings:function(){return p8},toFileNameLowerCase:function(){return or},toLowerCase:function(){return ce},toPath:function(){return Ja},toProgramEmitPending:function(){return $q},tokenIsIdentifierOrKeyword:function(){return wi},tokenIsIdentifierOrKeywordOrGreaterThan:function(){return Ci},tokenToString:function(){return vA},trace:function(){return tS},tracing:function(){return iA},tracingEnabled:function(){return Kt},transform:function(){return D8},transformClassFields:function(){return $J},transformDeclarations:function(){return tU},transformECMAScriptModule:function(){return Vz},transformES2015:function(){return Pz},transformES2016:function(){return Az},transformES2017:function(){return cz},transformES2018:function(){return lz},transformES2019:function(){return fz},transformES2020:function(){return mz},transformES2021:function(){return vz},transformES5:function(){return Oz},transformESDecorators:function(){return oz},transformESNext:function(){return hz},transformGenerators:function(){return Mz},transformJsx:function(){return Nz},transformLegacyDecorators:function(){return az},transformModule:function(){return Bz},transformNamedEvaluation:function(){return VJ},transformNodeModule:function(){return Wz},transformNodes:function(){return fU},transformSystemModule:function(){return zz},transformTypeScript:function(){return YJ},transpile:function(){return q0},transpileModule:function(){return V0},transpileOptionValueCompilerOptions:function(){return ik},trimString:function(){return h},trimStringEnd:function(){return di},trimStringStart:function(){return V},tryAddToSet:function(){return lD},tryAndIgnoreErrors:function(){return LZ},tryCast:function(){return BD},tryDirectoryExists:function(){return OZ},tryExtractTSExtension:function(){return jL},tryFileExists:function(){return IZ},tryGetClassExtendingExpressionWithTypeArguments:function(){return af},tryGetClassImplementingOrExtendingExpressionWithTypeArguments:function(){return CL},tryGetDirectories:function(){return FZ},tryGetExtensionFromPath:function(){return kM},tryGetImportFromModuleSpecifier:function(){return Tl},tryGetJSDocSatisfiesTypeNode:function(){return rR},tryGetModuleNameFromFile:function(){return px},tryGetModuleSpecifierFromDeclaration:function(){return MI},tryGetNativePerformanceHooks:function(){return kt},tryGetPropertyAccessOrIdentifierToString:function(){return IL},tryGetPropertyNameOfBindingOrAssignmentElement:function(){return hx},tryGetSourceMappingURL:function(){return KC},tryGetTextOfPropertyName:function(){return E_},tryIOAndConsumeErrors:function(){return MZ},tryParsePattern:function(){return vm},tryParsePatterns:function(){return gm},tryParseRawSourceMap:function(){return QC},tryReadDirectory:function(){return PZ},tryReadFile:function(){return Qk},tryRemoveDirectoryPrefix:function(){return Wp},tryRemoveExtension:function(){return mm},tryRemovePrefix:function(){return Le},tryRemoveSuffix:function(){return we},typeAcquisitionDeclarations:function(){return ck},typeAliasNamePart:function(){return LY},typeDirectiveIsEqualTo:function(){return qu},typeKeywords:function(){return jG},typeParameterNamePart:function(){return MY},typeReferenceResolutionNameAndModeGetter:function(){return gV},typeToDisplayParts:function(){return qY},unchangedPollThresholds:function(){return Rn},unchangedTextChangeRange:function(){return co},unescapeLeadingUnderscores:function(){return OA},unmangleScopedPackageName:function(){return Ew},unorderedRemoveItem:function(){return Pe},unorderedRemoveItemAt:function(){return Fe},unreachableCodeIsError:function(){return Ep},unusedLabelIsError:function(){return Fp},unwrapInnermostStatementOfLabel:function(){return G_},updateErrorForNoInputFiles:function(){return ST},updateLanguageServiceSourceFile:function(){return b8},updateMissingFilePathsWatch:function(){return rV},updatePackageJsonWatch:function(){return tV},updateResolutionField:function(){return lS},updateSharedExtendedConfigFileWatcher:function(){return ZU},updateSourceFile:function(){return Lb},updateWatchingWildcardDirectories:function(){return nV},usesExtensionsOnImports:function(){return um},usingSingleLineStringWriter:function(){return kF},utf16EncodeAsString:function(){return so},validateLocaleAndSetLanguage:function(){return Mo},valuesHelper:function(){return bv},version:function(){return oe},versionMajorMinor:function(){return er},visitArray:function(){return IC},visitCommaListElements:function(){return BC},visitEachChild:function(){return wJ},visitFunctionBody:function(){return RC},visitIterationBody:function(){return jC},visitLexicalEnvironment:function(){return LC},visitNode:function(){return TJ},visitNodes:function(){return SJ},visitParameterList:function(){return MC},walkUpBindingElementsAndPatterns:function(){return NA},walkUpLexicalEnvironments:function(){return FN},walkUpOuterExpressions:function(){return jB},walkUpParenthesizedExpressions:function(){return aO},walkUpParenthesizedTypes:function(){return nO},walkUpParenthesizedTypesAndGetParentAndChild:function(){return iO},whitespaceOrMapCommentRegExp:function(){return UC},writeCommentRange:function(){return Wd},writeFile:function(){return Id},writeFileEnsuringDirectories:function(){return Od},zipToModeAwareCache:function(){return ES},zipWith:function(){return L}});var Spe,wpe,Cpe=e({"src/typescript/_namespaces/ts.ts":function(){MK(),IG(),fpe(),kpe()}});return(Spe={"src/typescript/typescript.ts":function(e,t){Cpe(),Cpe(),"undefined"!=typeof console&&(rA.loggingHost={log:function(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=Tpe}},function(){return wpe||(0,Spe[o(Spe)[0]])((wpe={exports:{}}).exports,wpe),wpe.exports})()}();